@fluid-topics/ft-search-result-abstract 1.0.59 → 1.0.60
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,7 +1,7 @@
|
|
|
1
|
-
!function(t,
|
|
2
|
-
`,
|
|
1
|
+
!function(t,o,e,r,a){const n=e.css`
|
|
2
|
+
`,i=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},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:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class l{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=i.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?l.build(t):null!==(o=l.API)&&void 0!==o?o:l.API=l.build()}static await(t){return new Promise((o=>{let e=l.get(t);if(e)o(e);else{const r=i.subscribe((()=>{e=l.get(t),e&&(r(),o(e))}))}}))}}var c;const p=Symbol("clearAfterUnitTest");class f{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[c]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=i.getState().uiLocale,i.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=i.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var 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)))))}}c=p,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new f((async(t,o)=>(await l.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new f((async(t,o)=>(await l.await()).getCustomMessageContext(t,o))));const s=window.FluidTopicsI18nService;var y=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 g extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>l.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
|
|
3
3
|
<slot></slot>
|
|
4
|
-
`}update(t){super.update(t),t.has("baseUrl")&&
|
|
4
|
+
`}update(t){super.update(t),t.has("baseUrl")&&i.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&i.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&i.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&i.actions.setNoCustom(this.noCustom),t.has("editorMode")&&i.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&i.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&i.actions.setSession(this.session),t.has("availableUiLocales")&&i.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>s.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()))))}}g.elementDefinitions={},g.styles=n,y([r.property()],g.prototype,"baseUrl",void 0),y([r.property()],g.prototype,"apiIntegrationIdentifier",void 0),y([r.property()],g.prototype,"uiLocale",void 0),y([o.jsonProperty([])],g.prototype,"availableUiLocales",void 0),y([r.property({type:Boolean})],g.prototype,"editorMode",void 0),y([r.property({type:Boolean})],g.prototype,"noCustom",void 0),y([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],g.prototype,"noCustomComponent",void 0),y([r.property({type:Boolean})],g.prototype,"withManualResources",void 0),y([o.jsonProperty([])],g.prototype,"messageContexts",void 0),y([o.jsonProperty(void 0)],g.prototype,"session",void 0),y([r.property({type:Object})],g.prototype,"apiProvider",void 0);class h{async listMySearches(){var t;return(null===(t=i.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await l.await()).listMySearches(i.getState().session.profile.userId):[]}}const d=new o.CacheRegistry;class b{async listMyBookmarks(){return d.get("bookmarks",(async()=>(await l.await()).listMyBookmarks(i.getState().session.profile.userId)))}clearCache(){d.clear("bookmarks")}}const u=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=i.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new b,i.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=i.getState();o.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){u.actions.savedSearches(void 0)}clearMyBookmarks(){u.actions.bookmarks(void 0)}async reloadMySearches(){const t=new h,o=await t.listMySearches();u.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;u.actions.bookmarks(o)}}},o.customElement("ft-app-context")(g);class m extends Event{constructor(){super(m.eventName)}}m.eventName="search-context-clear-all-filters";var O=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 N extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const S=Symbol("registerInterval");class C 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[S]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[S]):this.dispatchEvent(new N)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=S,O([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}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 I=Symbol("registerInterval");class w extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}connectedCallback(){super.connectedCallback(),this[I]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[I]):this.dispatchEvent(new x)}disconnectedCallback(){super.disconnectedCallback(),this.result=void 0}}return o=I,v([r.property({attribute:!1})],e.prototype,"result",void 0),e}(C)){}const U=e.css`
|
|
5
5
|
.kwicmatch {
|
|
6
6
|
font-weight: 700;
|
|
7
7
|
}
|
|
@@ -10,120 +10,127 @@
|
|
|
10
10
|
* @license
|
|
11
11
|
* Copyright 2017 Google LLC
|
|
12
12
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13
|
-
*/;var
|
|
13
|
+
*/;var R;const W=window,L=W.trustedTypes,E=L?L.createPolicy("lit-html",{createHTML:t=>t}):void 0,K="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,$="?"+Z,k=`<${$}>`,z=document,F=()=>z.createComment(""),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,A="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,G=/-->/g,M=/>/g,P=RegExp(`>|${A}(?:([^\\s"'>=/]+)(${A}*=${A}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),j=/'/g,Y=/"/g,_=/^(?:script|style|textarea|title)$/i,T=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),X=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),J=new WeakMap,Q=z.createTreeWalker(z,129,null,!1),V=(t,o)=>{const e=t.length-1,r=[];let a,n=2===o?"<svg>":"",i=H;for(let o=0;o<e;o++){const e=t[o];let l,c,p=-1,f=0;for(;f<e.length&&(i.lastIndex=f,c=i.exec(e),null!==c);)f=i.lastIndex,i===H?"!--"===c[1]?i=G:void 0!==c[1]?i=M:void 0!==c[2]?(_.test(c[2])&&(a=RegExp("</"+c[2],"g")),i=P):void 0!==c[3]&&(i=P):i===P?">"===c[0]?(i=null!=a?a:H,p=-1):void 0===c[1]?p=-2:(p=i.lastIndex-c[2].length,l=c[1],i=void 0===c[3]?P:'"'===c[3]?Y:j):i===Y||i===j?i=P:i===G||i===M?i=H:(i=P,a=void 0);const s=i===P&&t[o+1].startsWith("/>")?" ":"";n+=i===H?e+k:p>=0?(r.push(l),e.slice(0,p)+K+e.slice(p)+Z+s):e+Z+(-2===p?(r.push(void 0),o):s)}const l=n+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==E?E.createHTML(l):l,r]};class tt{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let a=0,n=0;const i=t.length-1,l=this.parts,[c,p]=V(t,o);if(this.el=tt.createElement(c,e),Q.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=Q.nextNode())&&l.length<i;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(K)||o.startsWith(Z)){const e=p[n++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+K).split(Z),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:a,name:o[2],strings:t,ctor:"."===o[1]?nt:"?"===o[1]?lt:"@"===o[1]?ct:at})}else l.push({type:6,index:a})}for(const o of t)r.removeAttribute(o)}if(_.test(r.tagName)){const t=r.textContent.split(Z),o=t.length-1;if(o>0){r.textContent=L?L.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],F()),Q.nextNode(),l.push({type:2,index:++a});r.append(t[o],F())}}}else if(8===r.nodeType)if(r.data===$)l.push({type:2,index:a});else{let t=-1;for(;-1!==(t=r.data.indexOf(Z,t+1));)l.push({type:7,index:a}),t+=Z.length-1}a++}}static createElement(t,o){const e=z.createElement("template");return e.innerHTML=t,e}}function ot(t,o,e=t,r){var a,n,i,l;if(o===X)return o;let c=void 0!==r?null===(a=e._$Co)||void 0===a?void 0:a[r]:e._$Cl;const p=D(o)?void 0:o._$litDirective$;return(null==c?void 0:c.constructor)!==p&&(null===(n=null==c?void 0:c._$AO)||void 0===n||n.call(c,!1),void 0===p?c=void 0:(c=new p(t),c._$AT(t,e,r)),void 0!==r?(null!==(i=(l=e)._$Co)&&void 0!==i?i:l._$Co=[])[r]=c:e._$Cl=c),void 0!==c&&(o=ot(t,c._$AS(t,o.values),c,r)),o}class et{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){var o;const{el:{content:e},parts:r}=this._$AD,a=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:z).importNode(e,!0);Q.currentNode=a;let n=Q.nextNode(),i=0,l=0,c=r[0];for(;void 0!==c;){if(i===c.index){let o;2===c.type?o=new rt(n,n.nextSibling,this,t):1===c.type?o=new c.ctor(n,c.name,c.strings,this,t):6===c.type&&(o=new pt(n,this,t)),this._$AV.push(o),c=r[++l]}i!==(null==c?void 0:c.index)&&(n=Q.nextNode(),i++)}return a}v(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 rt{constructor(t,o,e,r){var a;this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(a=null==r?void 0:r.isConnected)||void 0===a||a}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ot(this,t,o),D(t)?t===q||null==t||""===t?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==X&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>B(t)||"function"==typeof(null==t?void 0: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!==q&&D(this._$AH)?this._$AA.nextSibling.data=t:this.$(z.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,a="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=tt.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===a)this._$AH.v(e);else{const t=new et(a,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=J.get(t.strings);return void 0===o&&J.set(t.strings,o=new tt(t)),o}T(t){B(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 rt(this.k(F()),this.k(F()),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){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class at{constructor(t,o,e,r,a){this.type=1,this._$AH=q,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=q}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const a=this.strings;let n=!1;if(void 0===a)t=ot(this,t,o,0),n=!D(t)||t!==this._$AH&&t!==X,n&&(this._$AH=t);else{const r=t;let i,l;for(t=a[0],i=0;i<a.length-1;i++)l=ot(this,r[e+i],o,i),l===X&&(l=this._$AH[i]),n||(n=!D(l)||l!==this._$AH[i]),l===q?t=q:t!==q&&(t+=(null!=l?l:"")+a[i+1]),this._$AH[i]=l}n&&!r&&this.j(t)}j(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class nt extends at{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===q?void 0:t}}const it=L?L.emptyScript:"";class lt extends at{constructor(){super(...arguments),this.type=4}j(t){t&&t!==q?this.element.setAttribute(this.name,it):this.element.removeAttribute(this.name)}}class ct extends at{constructor(t,o,e,r,a){super(t,o,e,r,a),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=ot(this,t,o,0))&&void 0!==e?e:q)===X)return;const r=this._$AH,a=t===q&&r!==q||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==q&&(r===q||a);a&&this.element.removeEventListener(this.name,this,r),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class pt{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){ot(this,t)}}const ft=W.litHtmlPolyfillSupport;null==ft||ft(tt,rt),(null!==(R=W.litHtmlVersions)&&void 0!==R?R:W.litHtmlVersions=[]).push("2.7.3");
|
|
14
14
|
/**
|
|
15
15
|
* @license
|
|
16
16
|
* Copyright 2020 Google LLC
|
|
17
17
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
18
18
|
*/
|
|
19
|
-
const ft=Symbol.for(""),yt=t=>{if((null==t?void 0:t.r)===ft)return null==t?void 0:t._$litStatic$},ct=t=>({_$litStatic$:t,r:ft}),ut=new Map,dt=(t=>(i,...e)=>{const s=e.length;let o,n;const r=[],a=[];let h,l=0,p=!1;for(;l<s;){for(h=i[l];l<s&&void 0!==(n=e[l],o=yt(n));)h+=o+i[++l],p=!0;l!==s&&a.push(n),r.push(h),l++}if(l===s&&r.push(i[s]),p){const t=r.join("$$lit$$");void 0===(i=ut.get(t))&&(r.raw=r,ut.set(t,i=r)),e=a}return t(i,...e)})(q);var gt;!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"}(gt||(gt={}));const vt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),mt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),bt={fontFamily:mt,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},$t=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",vt),wt=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",bt.fontSize,"20px"),xt=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",bt.fontWeight,"normal"),Ct=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",bt.letterSpacing,"0.15px"),St=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",bt.lineHeight,"1.2"),zt=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",bt.textTransform,"inherit"),At=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",vt),Ut=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",bt.fontSize,"14px"),kt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",bt.fontWeight,"normal"),Mt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",bt.letterSpacing,"0.105px"),It=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",bt.lineHeight,"1.7"),Nt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",bt.textTransform,"inherit"),jt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",mt),Ot=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",bt.fontSize,"16px"),_t=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",bt.fontWeight,"600"),Tt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",bt.letterSpacing,"0.144px"),Et=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",bt.lineHeight,"1.5"),Lt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",bt.textTransform,"inherit"),Bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",mt),Rt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",bt.fontSize,"14px"),Pt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",bt.fontWeight,"normal"),Wt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",bt.letterSpacing,"0.098px"),Gt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",bt.lineHeight,"1.7"),Zt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",bt.textTransform,"inherit"),Ht=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",mt),Kt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",bt.fontSize,"16px"),Dt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",bt.fontWeight,"normal"),Ft=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",bt.letterSpacing,"0.496px"),qt=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",bt.lineHeight,"1.5"),Jt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",bt.textTransform,"inherit"),Qt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",mt),Vt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",bt.fontSize,"14px"),Xt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",bt.fontWeight,"normal"),Yt=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",bt.letterSpacing,"0.252px"),ti=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",bt.lineHeight,"1.4"),ii=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",bt.textTransform,"inherit"),ei=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",mt),si=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",bt.fontSize,"12px"),oi=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",bt.fontWeight,"normal"),ni=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",bt.letterSpacing,"0.396px"),ri=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",bt.lineHeight,"1.33"),ai=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",bt.textTransform,"inherit"),hi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",mt),li=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",bt.fontSize,"10px"),pi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",bt.fontWeight,"normal"),fi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",bt.letterSpacing,"0.33px"),yi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",bt.lineHeight,"1.6"),ci=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",bt.textTransform,"inherit"),ui=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",mt),di=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",bt.fontSize,"10px"),gi=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",bt.fontWeight,"normal"),vi=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",bt.letterSpacing,"1.5px"),mi=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",bt.lineHeight,"1.6"),bi=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",bt.textTransform,"uppercase"),$i=i.FtCssVariableFactory.extend("--ft-typography-button-font-family",mt),wi=i.FtCssVariableFactory.extend("--ft-typography-button-font-size",bt.fontSize,"14px"),xi=i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",bt.fontWeight,"600"),Ci=i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",bt.letterSpacing,"1.246px"),Si=i.FtCssVariableFactory.extend("--ft-typography-button-line-height",bt.lineHeight,"1.15"),zi=i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",bt.textTransform,"uppercase"),Ai=e.css`
|
|
19
|
+
const st=Symbol.for(""),yt=t=>{if((null==t?void 0:t.r)===st)return null==t?void 0:t._$litStatic$},gt=t=>({_$litStatic$:t,r:st}),ht=new Map,dt=(t=>(o,...e)=>{const r=e.length;let a,n;const i=[],l=[];let c,p=0,f=!1;for(;p<r;){for(c=o[p];p<r&&void 0!==(n=e[p],a=yt(n));)c+=a+o[++p],f=!0;p!==r&&l.push(n),i.push(c),p++}if(p===r&&i.push(o[r]),f){const t=i.join("$$lit$$");void 0===(o=ht.get(t))&&(i.raw=i,ht.set(t,o=i)),e=l}return t(o,...e)})(T);var bt;!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"}(bt||(bt={}));const ut=t=>"string"==typeof t?e.unsafeCSS(t):t;class mt{static create(t,o,r,a){const n=t=>ut(null!=t?t:a),i=e.css`var(${ut(t)}, ${n(a)})`;return i.name=t,i.description=t,i.category=r,i.defaultValue=a,i.defaultCssValue=n,i.get=o=>e.css`var(${ut(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(${ut(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(${ut(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):ut(null!=o?o:t.lastResortDefaultValue()),a=e.css`var(${ut(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(${ut(t.name)}, ${r(o)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}}const Ot={colorWhite:mt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:mt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:mt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:mt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:mt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:mt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:mt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:mt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:mt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:mt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:mt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:mt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:mt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:mt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:mt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:mt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:mt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:mt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:mt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:mt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:mt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:mt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:mt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:mt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:mt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:mt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:mt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:mt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:mt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:mt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:mt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:mt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:mt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:mt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:mt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:mt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:mt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:mt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:mt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:mt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:mt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:mt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:mt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:mt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:mt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:mt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:mt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:mt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:mt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:mt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:mt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:mt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:mt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:mt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:mt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:mt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:mt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:mt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:mt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:mt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:mt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:mt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:mt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:mt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:mt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:mt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:mt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:mt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:mt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:mt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:mt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:mt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:mt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:mt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:mt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:mt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:mt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:mt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:mt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:mt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:mt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:mt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:mt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:mt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:mt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:mt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:mt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:mt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:mt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:mt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:mt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:mt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:mt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:mt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:mt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:mt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:mt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:mt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:mt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:mt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:mt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:mt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:mt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:mt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:mt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:mt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:mt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:mt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:mt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:mt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:mt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:mt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:mt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:mt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:mt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:mt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:mt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:mt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:mt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:mt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:mt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:mt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:mt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:mt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:mt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:mt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:mt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:mt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:mt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:mt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:mt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:mt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:mt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:mt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:mt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:mt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:mt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:mt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:mt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:mt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:mt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:mt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:mt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:mt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:mt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:mt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:mt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:mt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:mt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:mt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:mt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:mt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:mt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:mt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:mt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:mt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:mt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:mt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:mt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:mt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:mt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:mt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:mt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:mt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:mt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:mt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:mt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:mt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:mt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:mt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:mt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:mt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:mt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:mt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:mt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:mt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:mt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:mt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:mt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:mt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:mt.create("--ft-opacity-0","","NUMBER","0"),opacity8:mt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:mt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:mt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:mt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:mt.create("--ft-opacity-80","","NUMBER","0.8")},Nt={display:{fontFamily:mt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:mt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:mt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:mt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:mt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:mt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:mt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:mt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:mt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:mt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:mt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:mt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:mt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:mt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:mt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:mt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:mt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:mt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:mt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:mt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:mt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:mt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:mt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:mt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:mt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:mt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:mt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:mt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:mt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:mt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:mt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:mt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:mt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:mt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:mt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:mt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:mt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:mt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:mt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:mt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:mt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:mt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:mt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:mt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:mt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:mt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},St={backgroundActionPrimary:mt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ot.colorBrand0),backgroundErrorPrimary:mt.extend("--ft-background-error-primary","Used as background of error components.",Ot.colorRed0),backgroundErrorSubtle:mt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ot.colorRed10),backgroundInfoPrimary:mt.extend("--ft-background-info-primary","Used as background of information components.",Ot.colorCyan200),backgroundInfoSubtle:mt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ot.colorCyan10),backgroundWarningPrimary:mt.extend("--ft-background-warning-primary","Used as background of warning components.",Ot.colorOrange300),backgroundWarningSubtle:mt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ot.colorOrange10),backgroundSuccessPrimary:mt.extend("--ft-background-success-primary","Used as background of success components.",Ot.colorGreen200),backgroundSuccessSubtle:mt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ot.colorGreen10),backgroundGlobalSurface:mt.extend("--ft-background-global-surface","Used as app background.",Ot.colorWhite),backgroundGlobalOnSurface:mt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ot.colorGray10),backgroundGlobalOnSurfaceDark:mt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ot.colorGray30),contentActionPrimary:mt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ot.colorBrand0),contentWarningPrimary:mt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ot.colorOrange300),contentWarningIconOnly:mt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ot.colorOrange0),contentErrorPrimary:mt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ot.colorRed0),contentErrorIconOnly:mt.extend("--ft-content-error-icon-only","Used on error status icons alone",Ot.colorRed0),contentInfoPrimary:mt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ot.colorCyan200),contentInfoIconOnly:mt.extend("--ft-content-info-icon-only","Used on info status icons alone",Ot.colorCyan0),contentSuccessIconOnly:mt.extend("--ft-content-success-icon-only","Used on success status icons alone",Ot.colorGreen0),contentSuccessPrimary:mt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ot.colorGreen200),contentGlobalPrimary:mt.extend("--ft-content-global-primary","Used for main content on the page.",Ot.colorGray500),contentGlobalSecondary:mt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ot.colorGray200),contentGlobalSubtle:mt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ot.colorGray0),contentGlobalOnColor:mt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ot.colorWhite),borderActionPrimary:mt.extend("--ft-border-action-primary","Used as border for primary action components.",Ot.colorBrand0),borderActionFocusRing:mt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ot.colorCyan0),borderWarningPrimary:mt.extend("--ft-border-warning-primary","Used as border for warning components.",Ot.colorOrange30),borderSuccessPrimary:mt.extend("--ft-border-success-primary","Used as border for success components.",Ot.colorGreen30),borderErrorPrimary:mt.extend("--ft-border-error-primary","Used as border for error components.",Ot.colorRed30),borderInfoPrimary:mt.extend("--ft-border-info-primary","Used as border for information components.",Ot.colorCyan30),borderGlobalSubtle:mt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ot.colorGray30),borderGlobalPrimary:mt.extend("--ft-border-global-primary","Used as border for element like input.",Ot.colorGray50),borderInputPrimary:mt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ot.colorGray80)};mt.create("--ft-button-large-height","","SIZE","40px"),mt.extend("--ft-button-large-horizontal-padding","",Ot.spacing4),mt.extend("--ft-button-large-gap","",Ot.spacing2),mt.extend("--ft-button-large-border-radius","",Ot.borderRadiusS),mt.extend("--ft-button-large-icon-size","",Ot.iconSize3),mt.create("--ft-button-large-border-width","","SIZE","1px"),mt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),mt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),mt.create("--ft-button-large-icon-only-width","","SIZE","40px"),mt.create("--ft-button-small-height","","SIZE","30px"),mt.extend("--ft-button-small-horizontal-padding","",Ot.spacing3),mt.extend("--ft-button-small-gap","",Ot.spacing2),mt.extend("--ft-button-small-border-radius","",Ot.borderRadiusS),mt.extend("--ft-button-small-icon-size","",Ot.iconSize2),mt.create("--ft-button-small-border-width","","SIZE","1px"),mt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),mt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),mt.create("--ft-button-small-icon-only-width","","SIZE","30px"),mt.extend("--ft-button-primary-background-color","",St.backgroundActionPrimary),mt.extend("--ft-button-primary-color","",St.contentGlobalOnColor),mt.extend("--ft-button-primary-icon-color","",St.contentGlobalOnColor),mt.extend("--ft-button-primary-state-layer-color","",St.contentGlobalOnColor),mt.extend("--ft-button-primary-state-layer-opacity-hover","",Ot.opacity16),mt.extend("--ft-button-primary-state-layer-opacity-focus","",Ot.opacity16),mt.extend("--ft-button-primary-state-layer-opacity-active","",Ot.opacity24),mt.extend("--ft-button-primary-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-button-focus-focus-ring-color","",St.borderActionFocusRing),mt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),mt.extend("--ft-button-tertiary-color","",St.contentActionPrimary),mt.extend("--ft-button-tertiary-icon-color","",St.contentActionPrimary),mt.extend("--ft-button-tertiary-state-layer-color","",St.contentActionPrimary),mt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ot.opacity8),mt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ot.opacity8),mt.extend("--ft-button-tertiary-state-layer-opacity-active","",Ot.opacity16),mt.extend("--ft-button-tertiary-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-button-secondary-background-color","",Ot.colorWhite),mt.extend("--ft-button-secondary-color","",St.contentActionPrimary),mt.extend("--ft-button-secondary-icon-color","",St.contentActionPrimary),mt.extend("--ft-button-secondary-state-layer-color","",St.contentActionPrimary),mt.extend("--ft-button-secondary-state-layer-opacity-hover","",Ot.opacity8),mt.extend("--ft-button-secondary-state-layer-opacity-focus","",Ot.opacity8),mt.extend("--ft-button-secondary-state-layer-opacity-active","",Ot.opacity16),mt.extend("--ft-button-secondary-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-button-secondary-border-color","",St.borderActionPrimary),mt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),mt.extend("--ft-button-neutral-icon-color","",St.contentGlobalSecondary),mt.extend("--ft-button-neutral-color","",St.contentGlobalSecondary),mt.extend("--ft-button-neutral-state-layer-color","",St.contentGlobalSecondary),mt.extend("--ft-button-neutral-state-layer-opacity-hover","",Ot.opacity8),mt.extend("--ft-button-neutral-state-layer-opacity-focus","",Ot.opacity8),mt.extend("--ft-button-neutral-state-layer-opacity-active","",Ot.opacity16),mt.extend("--ft-button-neutral-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-tabs-top-left-border-radius","",Ot.borderRadiusS),mt.extend("--ft-tabs-top-right-border-radius","",Ot.borderRadiusS),mt.extend("--ft-tabs-label-horizontal-padding","",Ot.spacing4),mt.extend("--ft-tabs-label-vertical-padding","",Ot.spacing3),mt.extend("--ft-tabs-label-gap","",Ot.spacing1),mt.extend("--ft-switch-group-horizontal-padding","",Ot.spacing1),mt.extend("--ft-switch-group-vertical-padding","",Ot.spacing1),mt.extend("--ft-switch-group-gap","",Ot.spacing1),mt.extend("--ft-switch-group-background-color","",St.backgroundGlobalSurface),mt.extend("--ft-switch-group-border-color","",St.borderGlobalSubtle),mt.create("--ft-switch-group-border-radius","","SIZE","6px"),mt.extend("--ft-switch-label-horizontal-padding","",Ot.spacing2),mt.extend("--ft-switch-label-vertical-padding","",Ot.spacing1),mt.extend("--ft-switch-icon-horizontal-padding","",Ot.spacing1),mt.extend("--ft-switch-icon-vertical-padding","",Ot.spacing1),mt.create("--ft-switch-focus-outline-width","","SIZE","2px"),mt.extend("--ft-switch-focus-focus-ring-color","",St.borderActionFocusRing),mt.extend("--ft-switch-option-border-radius","",Ot.borderRadiusS),mt.extend("--ft-switch-off-state-layer-opacity-hover","",Ot.opacity8),mt.extend("--ft-switch-off-state-layer-opacity-focus","",Ot.opacity8),mt.extend("--ft-switch-off-state-layer-opacity-active","",Ot.opacity16),mt.extend("--ft-switch-off-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-switch-off-color","",St.contentGlobalSubtle),mt.extend("--ft-switch-off-state-layer-color","",St.contentGlobalSubtle),mt.extend("--ft-chart-1-light","for area color charts",Ot.colorBrand40),mt.extend("--ft-chart-1-base","for line charts",Ot.colorBrand0),mt.extend("--ft-chart-2-light","for area color charts",Ot.colorYellow60),mt.extend("--ft-chart-2-base","for line charts",Ot.colorYellow100),mt.extend("--ft-chart-3-light","",Ot.colorUltramarine40),mt.extend("--ft-chart-3-base","",Ot.colorUltramarine70),mt.extend("--ft-chart-4-light","",Ot.colorCyan50),mt.extend("--ft-chart-4-base","",Ot.colorCyan100),mt.extend("--ft-chart-5-light","",Ot.colorRed40),mt.extend("--ft-chart-5-base","",Ot.colorRed60),mt.extend("--ft-chart-6-light","",Ot.colorGreen40),mt.extend("--ft-chart-6-base","",Ot.colorGreen70),mt.extend("--ft-chart-7-light","",Ot.colorOrange70),mt.extend("--ft-chart-7-base","",Ot.colorOrange100),mt.extend("--ft-chart-8-light","",Ot.colorAvocado70),mt.extend("--ft-chart-8-base","",Ot.colorAvocado200),mt.extend("--ft-chart-9-light","",Ot.colorBrown50),mt.extend("--ft-chart-9-base","",Ot.colorBrown200),mt.extend("--ft-chart-10-light","",Ot.colorGray50),mt.extend("--ft-chart-10-base","",Ot.colorGray80),mt.extend("--ft-chart-monochrome-10","",Ot.colorBrand10),mt.extend("--ft-chart-monochrome-20","",Ot.colorBrand20),mt.extend("--ft-chart-monochrome-30","",Ot.colorBrand40),mt.extend("--ft-chart-monochrome-40","",Ot.colorBrand60),mt.extend("--ft-chart-monochrome-50","",Ot.colorBrand0),mt.extend("--ft-chart-monochrome-60","",Ot.colorBrand200),mt.extend("--ft-chip-large-horizontal-padding","",Ot.spacing4),mt.extend("--ft-chip-large-vertical-padding","",Ot.spacing2),mt.extend("--ft-chip-large-gap","",Ot.spacing1),mt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),mt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),mt.extend("--ft-chip-large-border-radius","",Ot.borderRadiusPill),mt.create("--ft-chip-large-border-width","","SIZE","1px"),mt.extend("--ft-chip-large-icon-size","",Ot.iconSize3),mt.extend("--ft-chip-medium-horizontal-padding","",Ot.spacing3),mt.extend("--ft-chip-medium-vertical-padding","",Ot.spacing1),mt.extend("--ft-chip-medium-gap","",Ot.spacing1),mt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mt.extend("--ft-chip-medium-border-radius","",Ot.borderRadiusPill),mt.create("--ft-chip-medium-border-width","","SIZE","1px"),mt.extend("--ft-chip-medium-icon-size","",Ot.iconSize2),mt.extend("--ft-chip-small-horizontal-padding","",Ot.spacing2),mt.extend("--ft-chip-small-vertical-padding","",Ot.spacing05),mt.extend("--ft-chip-small-gap","",Ot.spacing1),mt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),mt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),mt.extend("--ft-chip-small-border-radius","",Ot.borderRadiusPill),mt.create("--ft-chip-small-border-width","","SIZE","1px"),mt.extend("--ft-chip-small-icon-size","",Ot.iconSize1),mt.extend("--ft-chip-neutral-background-color","",St.backgroundGlobalOnSurface),mt.extend("--ft-chip-neutral-color","",St.contentGlobalPrimary),mt.extend("--ft-chip-neutral-border-color","",St.borderGlobalSubtle),mt.extend("--ft-chip-info-background-color","",St.backgroundInfoSubtle),mt.extend("--ft-chip-info-color","",St.contentInfoPrimary),mt.extend("--ft-chip-info-border-color","",St.borderInfoPrimary),mt.extend("--ft-chip-success-background-color","",St.backgroundSuccessSubtle),mt.extend("--ft-chip-success-color","",St.contentSuccessPrimary),mt.extend("--ft-chip-success-border-color","",St.borderSuccessPrimary),mt.extend("--ft-chip-warning-background-color","",St.backgroundWarningSubtle),mt.extend("--ft-chip-warning-color","",St.contentWarningPrimary),mt.extend("--ft-chip-warning-border-color","",St.borderWarningPrimary),mt.extend("--ft-chip-error-background-color","",St.backgroundErrorSubtle),mt.extend("--ft-chip-error-color","",St.contentErrorPrimary),mt.extend("--ft-chip-error-border-color","",St.borderErrorPrimary),mt.create("--ft-notice-border-width","","SIZE","1px"),mt.extend("--ft-notice-horizontal-padding","",Ot.spacing2),mt.extend("--ft-notice-vertical-padding","",Ot.spacing1),mt.extend("--ft-notice-border-radius","",Ot.borderRadiusS),mt.extend("--ft-notice-gap","",Ot.spacing2),mt.extend("--ft-notice-icon-size","",Ot.iconSize3),mt.extend("--ft-notice-info-background-color","",St.backgroundInfoSubtle),mt.extend("--ft-notice-info-border-color","",St.borderInfoPrimary),mt.extend("--ft-notice-info-color","",St.contentInfoPrimary),mt.extend("--ft-notice-warning-background-color","",St.backgroundWarningSubtle),mt.extend("--ft-notice-warning-border-color","",St.borderWarningPrimary),mt.extend("--ft-notice-warning-color","",St.contentWarningPrimary),mt.extend("--ft-checkbox-label-color","",St.contentGlobalPrimary),mt.extend("--ft-checkbox-checked-background-color","",St.contentActionPrimary),mt.extend("--ft-checkbox-checked-state-layer-color","",St.contentActionPrimary),mt.extend("--ft-checkbox-checked-color","",St.contentGlobalOnColor),mt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ot.opacity16),mt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ot.opacity16),mt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ot.opacity24),mt.extend("--ft-checkbox-checked-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-checkbox-unchecked-border-color","",Ot.colorGray80),mt.extend("--ft-checkbox-unchecked-state-layer-color","",Ot.colorGray80),mt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ot.opacity16),mt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ot.opacity16),mt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ot.opacity24),mt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-checkbox-focus-focus-ring-color","",St.borderActionFocusRing),mt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),mt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),mt.extend("--ft-checkbox-gap","",Ot.spacing3),mt.extend("--ft-toggle-off-state-layer-opacity-hover","",Ot.opacity16),mt.extend("--ft-toggle-off-state-layer-opacity-focus","",Ot.opacity16),mt.extend("--ft-toggle-off-state-layer-opacity-active","",Ot.opacity24),mt.extend("--ft-toggle-off-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-toggle-off-background-color","",St.contentGlobalSubtle),mt.extend("--ft-toggle-off-icon-color","",St.contentGlobalSubtle),mt.extend("--ft-toggle-off-state-layer-color","",St.contentGlobalSubtle),mt.extend("--ft-toggle-on-state-layer-opacity-hover","",Ot.opacity16),mt.extend("--ft-toggle-on-state-layer-opacity-focus","",Ot.opacity16),mt.extend("--ft-toggle-on-state-layer-opacity-active","",Ot.opacity24),mt.extend("--ft-toggle-on-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-toggle-on-background-color","",St.contentActionPrimary),mt.extend("--ft-toggle-on-icon-color","",St.contentActionPrimary),mt.extend("--ft-toggle-on-state-layer-color","",St.contentActionPrimary),mt.extend("--ft-toggle-label-color","",St.contentGlobalPrimary),mt.extend("--ft-toggle-focus-focus-ring-color","",St.borderActionFocusRing),mt.extend("--ft-toggle-gap","",Ot.spacing3),mt.extend("--ft-radio-label-color","",St.contentGlobalPrimary),mt.extend("--ft-radio-selected-color","",St.contentActionPrimary),mt.extend("--ft-radio-selected-state-layer-color","",St.contentActionPrimary),mt.extend("--ft-radio-selected-state-layer-opacity-hover","",Ot.opacity16),mt.extend("--ft-radio-selected-state-layer-opacity-focus","",Ot.opacity16),mt.extend("--ft-radio-selected-state-layer-opacity-active","",Ot.opacity24),mt.extend("--ft-radio-selected-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-radio-unselected-state-layer-color","",Ot.colorGray80),mt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ot.opacity16),mt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ot.opacity16),mt.extend("--ft-radio-unselected-state-layer-opacity-active","",Ot.opacity24),mt.extend("--ft-radio-unselected-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-radio-focus-focus-ring-color","",St.borderActionFocusRing),mt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),mt.create("--ft-radio-focus-outline-width","","SIZE","2px"),mt.extend("--ft-radio-gap","",Ot.spacing3),mt.extend("--ft-notification-icon-size","",Ot.iconSize4),mt.extend("--ft-notification-horizontal-padding","",Ot.spacing4),mt.extend("--ft-notification-vertical-padding","",Ot.spacing4),mt.extend("--ft-notification-info-background-color","",St.backgroundInfoSubtle),mt.extend("--ft-notification-info-color","",St.contentInfoPrimary),mt.extend("--ft-notification-info-border-color","",St.borderInfoPrimary),mt.extend("--ft-notification-success-background-color","",St.backgroundSuccessSubtle),mt.extend("--ft-notification-success-color","",St.contentSuccessPrimary),mt.extend("--ft-notification-success-border-color","",St.borderSuccessPrimary),mt.extend("--ft-notification-warning-background-color","",St.backgroundWarningSubtle),mt.extend("--ft-notification-warning-color","",St.contentWarningPrimary),mt.extend("--ft-notification-warning-border-color","",St.borderWarningPrimary),mt.extend("--ft-notification-error-background-color","",St.backgroundErrorSubtle),mt.extend("--ft-notification-error-color","",St.contentErrorPrimary),mt.extend("--ft-notification-error-border-color","",St.borderErrorPrimary),mt.extend("--ft-notification-border-radius","",Ot.borderRadiusPill),mt.create("--ft-notification-border-width","","SIZE","1px"),mt.extend("--ft-notification-gap-leading","",Ot.spacing2),mt.extend("--ft-notification-gap-trailing","",Ot.spacing8);const Ct=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")},It=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Ct),wt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",xt.fontSize,"20px"),Ut=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",xt.fontWeight,"normal"),Rt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",xt.letterSpacing,"0.15px"),Wt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",xt.lineHeight,"1.2"),Lt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",xt.textTransform,"inherit"),Et=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Ct),Kt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",xt.fontSize,"14px"),Zt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",xt.fontWeight,"normal"),$t=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",xt.letterSpacing,"0.105px"),kt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",xt.lineHeight,"1.7"),zt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",xt.textTransform,"inherit"),Ft=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",vt),Dt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",xt.fontSize,"16px"),Bt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",xt.fontWeight,"600"),At=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",xt.letterSpacing,"0.144px"),Ht=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",xt.lineHeight,"1.5"),Gt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",xt.textTransform,"inherit"),Mt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",vt),Pt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",xt.fontSize,"14px"),jt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",xt.fontWeight,"normal"),Yt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",xt.letterSpacing,"0.098px"),_t=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",xt.lineHeight,"1.7"),Tt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",xt.textTransform,"inherit"),Xt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",vt),qt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",xt.fontSize,"16px"),Jt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",xt.fontWeight,"normal"),Qt=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",xt.letterSpacing,"0.496px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",xt.lineHeight,"1.5"),to=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",xt.textTransform,"inherit"),oo=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",vt),eo=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",xt.fontSize,"14px"),ro=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",xt.fontWeight,"normal"),ao=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",xt.letterSpacing,"0.252px"),no=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",xt.lineHeight,"1.4"),io=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",xt.textTransform,"inherit"),lo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",vt),co=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",xt.fontSize,"12px"),po=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",xt.fontWeight,"normal"),fo=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",xt.letterSpacing,"0.396px"),so=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",xt.lineHeight,"1.33"),yo=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",xt.textTransform,"inherit"),go=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",vt),ho=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",xt.fontSize,"10px"),bo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",xt.fontWeight,"normal"),uo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",xt.letterSpacing,"0.33px"),mo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",xt.lineHeight,"1.6"),Oo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",xt.textTransform,"inherit"),No=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",vt),So=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",xt.fontSize,"10px"),Co=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"),Io=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",xt.textTransform,"uppercase"),wo=o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",vt),Uo=o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",xt.fontSize,"14px"),Ro=o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",xt.fontWeight,"600"),Wo=o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",xt.letterSpacing,"1.246px"),Lo=o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",xt.lineHeight,"1.15"),Eo=o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",xt.textTransform,"uppercase"),Ko=e.css`
|
|
20
20
|
.ft-typography--title {
|
|
21
|
-
font-family: ${
|
|
21
|
+
font-family: ${It};
|
|
22
22
|
font-size: ${wt};
|
|
23
|
-
font-weight: ${
|
|
24
|
-
letter-spacing: ${
|
|
25
|
-
line-height: ${
|
|
26
|
-
text-transform: ${
|
|
23
|
+
font-weight: ${Ut};
|
|
24
|
+
letter-spacing: ${Rt};
|
|
25
|
+
line-height: ${Wt};
|
|
26
|
+
text-transform: ${Lt};
|
|
27
27
|
}
|
|
28
|
-
`,
|
|
28
|
+
`,Zo=e.css`
|
|
29
29
|
.ft-typography--title-dense {
|
|
30
|
-
font-family: ${
|
|
31
|
-
font-size: ${
|
|
32
|
-
font-weight: ${
|
|
33
|
-
letter-spacing: ${
|
|
34
|
-
line-height: ${
|
|
35
|
-
text-transform: ${
|
|
30
|
+
font-family: ${Et};
|
|
31
|
+
font-size: ${Kt};
|
|
32
|
+
font-weight: ${Zt};
|
|
33
|
+
letter-spacing: ${$t};
|
|
34
|
+
line-height: ${kt};
|
|
35
|
+
text-transform: ${zt};
|
|
36
36
|
}
|
|
37
|
-
|
|
37
|
+
`,$o=e.css`
|
|
38
38
|
.ft-typography--subtitle1 {
|
|
39
|
-
font-family: ${
|
|
40
|
-
font-size: ${
|
|
41
|
-
font-weight: ${
|
|
42
|
-
letter-spacing: ${
|
|
43
|
-
line-height: ${
|
|
44
|
-
text-transform: ${
|
|
39
|
+
font-family: ${Ft};
|
|
40
|
+
font-size: ${Dt};
|
|
41
|
+
font-weight: ${Bt};
|
|
42
|
+
letter-spacing: ${At};
|
|
43
|
+
line-height: ${Ht};
|
|
44
|
+
text-transform: ${Gt};
|
|
45
45
|
}
|
|
46
|
-
`,
|
|
46
|
+
`,ko=e.css`
|
|
47
47
|
.ft-typography--subtitle2 {
|
|
48
|
-
font-family: ${
|
|
49
|
-
font-size: ${
|
|
50
|
-
font-weight: ${
|
|
51
|
-
letter-spacing: ${
|
|
52
|
-
line-height: ${
|
|
53
|
-
text-transform: ${
|
|
48
|
+
font-family: ${Mt};
|
|
49
|
+
font-size: ${Pt};
|
|
50
|
+
font-weight: ${jt};
|
|
51
|
+
letter-spacing: ${Yt};
|
|
52
|
+
line-height: ${_t};
|
|
53
|
+
text-transform: ${Tt};
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
`,
|
|
56
|
+
`,zo=e.css`
|
|
57
57
|
.ft-typography--body1 {
|
|
58
|
-
font-family: ${
|
|
59
|
-
font-size: ${
|
|
60
|
-
font-weight: ${
|
|
61
|
-
letter-spacing: ${
|
|
62
|
-
line-height: ${
|
|
63
|
-
text-transform: ${
|
|
58
|
+
font-family: ${Xt};
|
|
59
|
+
font-size: ${qt};
|
|
60
|
+
font-weight: ${Jt};
|
|
61
|
+
letter-spacing: ${Qt};
|
|
62
|
+
line-height: ${Vt};
|
|
63
|
+
text-transform: ${to};
|
|
64
64
|
}
|
|
65
|
-
`,
|
|
65
|
+
`,Fo=e.css`
|
|
66
66
|
.ft-typography--body2 {
|
|
67
|
-
font-family: ${
|
|
68
|
-
font-size: ${
|
|
69
|
-
font-weight: ${
|
|
70
|
-
letter-spacing: ${
|
|
71
|
-
line-height: ${
|
|
72
|
-
text-transform: ${
|
|
67
|
+
font-family: ${oo};
|
|
68
|
+
font-size: ${eo};
|
|
69
|
+
font-weight: ${ro};
|
|
70
|
+
letter-spacing: ${ao};
|
|
71
|
+
line-height: ${no};
|
|
72
|
+
text-transform: ${io};
|
|
73
73
|
}
|
|
74
|
-
`,
|
|
74
|
+
`,Do=e.css`
|
|
75
75
|
.ft-typography--caption {
|
|
76
|
-
font-family: ${
|
|
77
|
-
font-size: ${
|
|
78
|
-
font-weight: ${
|
|
79
|
-
letter-spacing: ${
|
|
80
|
-
line-height: ${
|
|
81
|
-
text-transform: ${
|
|
76
|
+
font-family: ${lo};
|
|
77
|
+
font-size: ${co};
|
|
78
|
+
font-weight: ${po};
|
|
79
|
+
letter-spacing: ${fo};
|
|
80
|
+
line-height: ${so};
|
|
81
|
+
text-transform: ${yo};
|
|
82
82
|
}
|
|
83
|
-
`,
|
|
83
|
+
`,Bo=e.css`
|
|
84
84
|
.ft-typography--breadcrumb {
|
|
85
|
-
font-family: ${
|
|
86
|
-
font-size: ${
|
|
87
|
-
font-weight: ${
|
|
88
|
-
letter-spacing: ${
|
|
89
|
-
line-height: ${
|
|
90
|
-
text-transform: ${
|
|
85
|
+
font-family: ${go};
|
|
86
|
+
font-size: ${ho};
|
|
87
|
+
font-weight: ${bo};
|
|
88
|
+
letter-spacing: ${uo};
|
|
89
|
+
line-height: ${mo};
|
|
90
|
+
text-transform: ${Oo};
|
|
91
91
|
}
|
|
92
|
-
`,
|
|
92
|
+
`,Ao=e.css`
|
|
93
93
|
.ft-typography--overline {
|
|
94
|
-
font-family: ${
|
|
95
|
-
font-size: ${
|
|
96
|
-
font-weight: ${
|
|
97
|
-
letter-spacing: ${
|
|
98
|
-
line-height: ${
|
|
99
|
-
text-transform: ${
|
|
94
|
+
font-family: ${No};
|
|
95
|
+
font-size: ${So};
|
|
96
|
+
font-weight: ${Co};
|
|
97
|
+
letter-spacing: ${vo};
|
|
98
|
+
line-height: ${xo};
|
|
99
|
+
text-transform: ${Io};
|
|
100
100
|
}
|
|
101
|
-
`,
|
|
101
|
+
`,Ho=e.css`
|
|
102
102
|
.ft-typography--button {
|
|
103
|
-
font-family: ${
|
|
104
|
-
font-size: ${
|
|
105
|
-
font-weight: ${
|
|
106
|
-
letter-spacing: ${
|
|
107
|
-
line-height: ${
|
|
108
|
-
text-transform: ${
|
|
103
|
+
font-family: ${wo};
|
|
104
|
+
font-size: ${Uo};
|
|
105
|
+
font-weight: ${Ro};
|
|
106
|
+
letter-spacing: ${Wo};
|
|
107
|
+
line-height: ${Lo};
|
|
108
|
+
text-transform: ${Eo};
|
|
109
109
|
}
|
|
110
|
-
`,
|
|
110
|
+
`,Go=e.css`
|
|
111
111
|
.ft-typography {
|
|
112
112
|
vertical-align: inherit;
|
|
113
113
|
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
114
|
+
`,Mo=[Object.keys(Nt).map((t=>function(t){const o=Nt[t];return e.css`
|
|
115
|
+
font-family: ${o.fontFamily};
|
|
116
|
+
font-size: ${o.fontSize};
|
|
117
|
+
font-weight: ${o.fontWeight};
|
|
118
|
+
letter-spacing: ${o.letterSpacing};
|
|
119
|
+
line-height: ${o.lineHeight};
|
|
120
|
+
text-transform: ${o.textCase};
|
|
121
|
+
`}(t)))];var Po=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 jo extends o.FtLitElement{constructor(){super(...arguments),this.variant=bt.body1}render(){return this.element?dt`
|
|
122
|
+
<${gt(this.element)}
|
|
123
|
+
class="ft-typography ft-typography--${this.variant}">
|
|
117
124
|
<slot></slot>
|
|
118
|
-
</${
|
|
125
|
+
</${gt(this.element)}>
|
|
119
126
|
`:dt`
|
|
120
127
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
121
|
-
`}}
|
|
122
|
-
<ft-typography variant="body1" part="text">${
|
|
128
|
+
`}}jo.styles=[Ko,Zo,$o,ko,zo,Fo,Do,Bo,Ao,Ho,Go,...Mo],Po([r.property()],jo.prototype,"element",void 0),Po([r.property()],jo.prototype,"variant",void 0),o.customElement("ft-typography")(jo);class Yo extends w{render(){let t=this.result?this.selectAbstract(this.result):void 0;return t?e.html`
|
|
129
|
+
<ft-typography variant="body1" part="text">${a.unsafeHTML(t)}</ft-typography>
|
|
123
130
|
`:e.html`
|
|
124
131
|
<style>
|
|
125
132
|
:host {
|
|
126
133
|
display: none !important;
|
|
127
134
|
}
|
|
128
135
|
</style>
|
|
129
|
-
`}selectAbstract(t){switch(t.type){case"MAP":return t.map.htmlExcerpt;case"DOCUMENT":return t.document.htmlExcerpt;case"TOPIC":return t.topic.htmlExcerpt}return""}}
|
|
136
|
+
`}selectAbstract(t){switch(t.type){case"MAP":return t.map.htmlExcerpt;case"DOCUMENT":return t.document.htmlExcerpt;case"TOPIC":return t.topic.htmlExcerpt}return""}}Yo.elementDefinitions={"ft-typography":jo},Yo.styles=U,o.customElement("ft-search-result-abstract")(Yo),t.FtSearchResultAbstract=Yo,t.FtSearchResultAbstractCssVariables={},t.styles=U}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML);
|