@fluid-topics/ft-typography
Version:
Typography components
106 lines (105 loc) • 138 kB
JavaScript
"use strict";(()=>{var Ct=Object.create;var Ce=Object.defineProperty;var St=Object.getOwnPropertyDescriptor;var Ot=Object.getOwnPropertyNames;var vt=Object.getPrototypeOf,It=Object.prototype.hasOwnProperty;var ae=(a,r)=>()=>(r||a((r={exports:{}}).exports,r),r.exports);var kt=(a,r,d,c)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Ot(r))!It.call(a,n)&&n!==d&&Ce(a,n,{get:()=>r[n],enumerable:!(c=St(r,n))||c.enumerable});return a};var C=(a,r,d)=>(d=a!=null?Ct(vt(a)):{},kt(r||!a||!a.__esModule?Ce(d,"default",{value:a,enumerable:!0}):d,a));var M=ae((Pt,Se)=>{Se.exports=ftGlobals.wcUtils});var ue=ae((Dt,Ae)=>{Ae.exports=ftGlobals.litDecorators});var oe=ae((_t,$e)=>{$e.exports=ftGlobals.lit});var xe=C(M());var pe=globalThis,X=pe.trustedTypes,Oe=X?X.createPolicy("lit-html",{createHTML:a=>a}):void 0,Be="$lit$",I=`lit$${Math.random().toFixed(9).slice(2)}$`,Ne="?"+I,wt=`<${Ne}>`,B=document,J=()=>B.createComment(""),Y=a=>a===null||typeof a!="object"&&typeof a!="function",fe=Array.isArray,Lt=a=>fe(a)||typeof a?.[Symbol.iterator]=="function",ne=`[
\f\r]`,V=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ve=/-->/g,Ie=/>/g,w=RegExp(`>|${ne}(?:([^\\s"'>=/]+)(${ne}*=${ne}*(?:[^
\f\r"'\`<>=]|("|')|))|$)`,"g"),ke=/'/g,we=/"/g,Re=/^(?:script|style|textarea|title)$/i,ye=a=>(r,...d)=>({_$litType$:a,strings:r,values:d}),ze=ye(1),Ee=ye(2),Fe=ye(3),j=Symbol.for("lit-noChange"),b=Symbol.for("lit-nothing"),Le=new WeakMap,L=B.createTreeWalker(B,129);function Pe(a,r){if(!fe(a)||!a.hasOwnProperty("raw"))throw Error("invalid template strings array");return Oe!==void 0?Oe.createHTML(r):r}var Bt=(a,r)=>{let d=a.length-1,c=[],n,l=r===2?"<svg>":r===3?"<math>":"",i=V;for(let f=0;f<d;f++){let y=a[f],g,h,u=-1,x=0;for(;x<y.length&&(i.lastIndex=x,h=i.exec(y),h!==null);)x=i.lastIndex,i===V?h[1]==="!--"?i=ve:h[1]!==void 0?i=Ie:h[2]!==void 0?(Re.test(h[2])&&(n=RegExp("</"+h[2],"g")),i=w):h[3]!==void 0&&(i=w):i===w?h[0]===">"?(i=n??V,u=-1):h[1]===void 0?u=-2:(u=i.lastIndex-h[2].length,g=h[1],i=h[3]===void 0?w:h[3]==='"'?we:ke):i===we||i===ke?i=w:i===ve||i===Ie?i=V:(i=w,n=void 0);let v=i===w&&a[f+1].startsWith("/>")?" ":"";l+=i===V?y+wt:u>=0?(c.push(g),y.slice(0,u)+Be+y.slice(u)+I+v):y+I+(u===-2?f:v)}return[Pe(a,l+(a[d]||"<?>")+(r===2?"</svg>":r===3?"</math>":"")),c]},q=class a{constructor({strings:r,_$litType$:d},c){let n;this.parts=[];let l=0,i=0,f=r.length-1,y=this.parts,[g,h]=Bt(r,d);if(this.el=a.createElement(g,c),L.currentNode=this.el.content,d===2||d===3){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(n=L.nextNode())!==null&&y.length<f;){if(n.nodeType===1){if(n.hasAttributes())for(let u of n.getAttributeNames())if(u.endsWith(Be)){let x=h[i++],v=n.getAttribute(u).split(I),Q=/([.?@])?(.*)/.exec(x);y.push({type:1,index:l,name:Q[2],strings:v,ctor:Q[1]==="."?ce:Q[1]==="?"?ie:Q[1]==="@"?le:E}),n.removeAttribute(u)}else u.startsWith(I)&&(y.push({type:6,index:l}),n.removeAttribute(u));if(Re.test(n.tagName)){let u=n.textContent.split(I),x=u.length-1;if(x>0){n.textContent=X?X.emptyScript:"";for(let v=0;v<x;v++)n.append(u[v],J()),L.nextNode(),y.push({type:2,index:++l});n.append(u[x],J())}}}else if(n.nodeType===8)if(n.data===Ne)y.push({type:2,index:l});else{let u=-1;for(;(u=n.data.indexOf(I,u+1))!==-1;)y.push({type:7,index:l}),u+=I.length-1}l++}}static createElement(r,d){let c=B.createElement("template");return c.innerHTML=r,c}};function z(a,r,d=a,c){if(r===j)return r;let n=c!==void 0?d._$Co?.[c]:d._$Cl,l=Y(r)?void 0:r._$litDirective$;return n?.constructor!==l&&(n?._$AO?.(!1),l===void 0?n=void 0:(n=new l(a),n._$AT(a,d,c)),c!==void 0?(d._$Co??=[])[c]=n:d._$Cl=n),n!==void 0&&(r=z(a,n._$AS(a,r.values),n,c)),r}var de=class{constructor(r,d){this._$AV=[],this._$AN=void 0,this._$AD=r,this._$AM=d}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(r){let{el:{content:d},parts:c}=this._$AD,n=(r?.creationScope??B).importNode(d,!0);L.currentNode=n;let l=L.nextNode(),i=0,f=0,y=c[0];for(;y!==void 0;){if(i===y.index){let g;y.type===2?g=new ee(l,l.nextSibling,this,r):y.type===1?g=new y.ctor(l,y.name,y.strings,this,r):y.type===6&&(g=new se(l,this,r)),this._$AV.push(g),y=c[++f]}i!==y?.index&&(l=L.nextNode(),i++)}return L.currentNode=B,n}p(r){let d=0;for(let c of this._$AV)c!==void 0&&(c.strings!==void 0?(c._$AI(r,c,d),d+=c.strings.length-2):c._$AI(r[d])),d++}},ee=class a{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(r,d,c,n){this.type=2,this._$AH=b,this._$AN=void 0,this._$AA=r,this._$AB=d,this._$AM=c,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let r=this._$AA.parentNode,d=this._$AM;return d!==void 0&&r?.nodeType===11&&(r=d.parentNode),r}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(r,d=this){r=z(this,r,d),Y(r)?r===b||r==null||r===""?(this._$AH!==b&&this._$AR(),this._$AH=b):r!==this._$AH&&r!==j&&this._(r):r._$litType$!==void 0?this.$(r):r.nodeType!==void 0?this.T(r):Lt(r)?this.k(r):this._(r)}O(r){return this._$AA.parentNode.insertBefore(r,this._$AB)}T(r){this._$AH!==r&&(this._$AR(),this._$AH=this.O(r))}_(r){this._$AH!==b&&Y(this._$AH)?this._$AA.nextSibling.data=r:this.T(B.createTextNode(r)),this._$AH=r}$(r){let{values:d,_$litType$:c}=r,n=typeof c=="number"?this._$AC(r):(c.el===void 0&&(c.el=q.createElement(Pe(c.h,c.h[0]),this.options)),c);if(this._$AH?._$AD===n)this._$AH.p(d);else{let l=new de(n,this),i=l.u(this.options);l.p(d),this.T(i),this._$AH=l}}_$AC(r){let d=Le.get(r.strings);return d===void 0&&Le.set(r.strings,d=new q(r)),d}k(r){fe(this._$AH)||(this._$AH=[],this._$AR());let d=this._$AH,c,n=0;for(let l of r)n===d.length?d.push(c=new a(this.O(J()),this.O(J()),this,this.options)):c=d[n],c._$AI(l),n++;n<d.length&&(this._$AR(c&&c._$AB.nextSibling,n),d.length=n)}_$AR(r=this._$AA.nextSibling,d){for(this._$AP?.(!1,!0,d);r&&r!==this._$AB;){let c=r.nextSibling;r.remove(),r=c}}setConnected(r){this._$AM===void 0&&(this._$Cv=r,this._$AP?.(r))}},E=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(r,d,c,n,l){this.type=1,this._$AH=b,this._$AN=void 0,this.element=r,this.name=d,this._$AM=n,this.options=l,c.length>2||c[0]!==""||c[1]!==""?(this._$AH=Array(c.length-1).fill(new String),this.strings=c):this._$AH=b}_$AI(r,d=this,c,n){let l=this.strings,i=!1;if(l===void 0)r=z(this,r,d,0),i=!Y(r)||r!==this._$AH&&r!==j,i&&(this._$AH=r);else{let f=r,y,g;for(r=l[0],y=0;y<l.length-1;y++)g=z(this,f[c+y],d,y),g===j&&(g=this._$AH[y]),i||=!Y(g)||g!==this._$AH[y],g===b?r=b:r!==b&&(r+=(g??"")+l[y+1]),this._$AH[y]=g}i&&!n&&this.j(r)}j(r){r===b?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,r??"")}},ce=class extends E{constructor(){super(...arguments),this.type=3}j(r){this.element[this.name]=r===b?void 0:r}},ie=class extends E{constructor(){super(...arguments),this.type=4}j(r){this.element.toggleAttribute(this.name,!!r&&r!==b)}},le=class extends E{constructor(r,d,c,n,l){super(r,d,c,n,l),this.type=5}_$AI(r,d=this){if((r=z(this,r,d,0)??b)===j)return;let c=this._$AH,n=r===b&&c!==b||r.capture!==c.capture||r.once!==c.once||r.passive!==c.passive,l=r!==b&&(c===b||n);n&&this.element.removeEventListener(this.name,this,c),l&&this.element.addEventListener(this.name,this,r),this._$AH=r}handleEvent(r){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,r):this._$AH.handleEvent(r)}},se=class{constructor(r,d,c){this.element=r,this.type=6,this._$AN=void 0,this._$AM=d,this.options=c}get _$AU(){return this._$AM._$AU}_$AI(r){z(this,r)}};var Nt=pe.litHtmlPolyfillSupport;Nt?.(q,ee),(pe.litHtmlVersions??=[]).push("3.3.0");var We=Symbol.for(""),Rt=a=>{if(a?.r===We)return a?._$litStatic$},F=a=>({_$litStatic$:a,r:We});var Ge=new Map,ge=a=>(r,...d)=>{let c=d.length,n,l,i=[],f=[],y,g=0,h=!1;for(;g<c;){for(y=r[g];g<c&&(l=d[g],(n=Rt(l))!==void 0);)y+=n+r[++g],h=!0;g!==c&&f.push(l),i.push(y),g++}if(g===c&&i.push(r[c]),h){let u=i.join("$$lit$$");(r=Ge.get(u))===void 0&&(i.raw=i,Ge.set(u,r=i)),d=f}return a(r,...d)},P=ge(ze),At=ge(Ee),$t=ge(Fe);var he=C(ue()),Xe=C(M());var te;(function(a){a.title="title",a.title_dense="title-dense",a.subtitle1="subtitle1",a.subtitle2="subtitle2",a.body1="body1",a.body2="body2",a.caption="caption",a.breadcrumb="breadcrumb",a.overline="overline",a.button="button"})(te||(te={}));var m=C(oe()),s=C(M()),He=s.FtCssVariableFactory.extend("--ft-typography-font-family","",s.designSystemVariables.titleFont),S=s.FtCssVariableFactory.extend("--ft-typography-font-family","",s.designSystemVariables.contentFont),p={fontFamily:S,fontSize:s.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:s.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:s.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:s.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:s.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},G={fontFamily:s.FtCssVariableFactory.extend("--ft-typography-title-font-family","",He),fontSize:s.FtCssVariableFactory.extend("--ft-typography-title-font-size","",p.fontSize,"20px"),fontWeight:s.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",p.fontWeight,"normal"),letterSpacing:s.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",p.letterSpacing,"0.15px"),lineHeight:s.FtCssVariableFactory.extend("--ft-typography-title-line-height","",p.lineHeight,"1.2"),textTransform:s.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",p.textTransform,"inherit")},W={fontFamily:s.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",He),fontSize:s.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",p.fontSize,"14px"),fontWeight:s.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",p.fontWeight,"normal"),letterSpacing:s.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",p.letterSpacing,"0.105px"),lineHeight:s.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",p.lineHeight,"1.7"),textTransform:s.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",p.textTransform,"inherit")},A={fontFamily:s.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",S),fontSize:s.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",p.fontSize,"16px"),fontWeight:s.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",p.fontWeight,"600"),letterSpacing:s.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",p.letterSpacing,"0.144px"),lineHeight:s.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",p.lineHeight,"1.5"),textTransform:s.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",p.textTransform,"inherit")},$={fontFamily:s.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",S),fontSize:s.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",p.fontSize,"14px"),fontWeight:s.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",p.fontWeight,"normal"),letterSpacing:s.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",p.letterSpacing,"0.098px"),lineHeight:s.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",p.lineHeight,"1.7"),textTransform:s.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",p.textTransform,"inherit")},H={fontFamily:s.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",S),fontSize:s.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",p.fontSize,"16px"),fontWeight:s.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",p.fontWeight,"normal"),letterSpacing:s.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",p.letterSpacing,"0.496px"),lineHeight:s.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",p.lineHeight,"1.5"),textTransform:s.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",p.textTransform,"inherit")},U={fontFamily:s.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",S),fontSize:s.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",p.fontSize,"14px"),fontWeight:s.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",p.fontWeight,"normal"),letterSpacing:s.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",p.letterSpacing,"0.252px"),lineHeight:s.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",p.lineHeight,"1.4"),textTransform:s.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",p.textTransform,"inherit")},Z={fontFamily:s.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",S),fontSize:s.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",p.fontSize,"12px"),fontWeight:s.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",p.fontWeight,"normal"),letterSpacing:s.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",p.letterSpacing,"0.396px"),lineHeight:s.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",p.lineHeight,"1.33"),textTransform:s.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",p.textTransform,"inherit")},D={fontFamily:s.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",S),fontSize:s.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",p.fontSize,"10px"),fontWeight:s.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",p.fontWeight,"normal"),letterSpacing:s.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",p.letterSpacing,"0.33px"),lineHeight:s.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",p.lineHeight,"1.6"),textTransform:s.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",p.textTransform,"inherit")},T={fontFamily:s.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",S),fontSize:s.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",p.fontSize,"10px"),fontWeight:s.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",p.fontWeight,"normal"),letterSpacing:s.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",p.letterSpacing,"1.5px"),lineHeight:s.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",p.lineHeight,"1.6"),textTransform:s.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",p.textTransform,"uppercase")},_={fontFamily:s.FtCssVariableFactory.extend("--ft-typography-button-font-family","",S),fontSize:s.FtCssVariableFactory.extend("--ft-typography-button-font-size","",p.fontSize,"14px"),fontWeight:s.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",p.fontWeight,"600"),letterSpacing:s.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",p.letterSpacing,"1.246px"),lineHeight:s.FtCssVariableFactory.extend("--ft-typography-button-line-height","",p.lineHeight,"1.15"),textTransform:s.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",p.textTransform,"uppercase")},Ue=m.css`
.ft-typography--title {
font-family: ${G.fontFamily};
font-size: ${G.fontSize};
font-weight: ${G.fontWeight};
letter-spacing: ${G.letterSpacing};
line-height: ${G.lineHeight};
text-transform: ${G.textTransform};
}
`,Ze=m.css`
.ft-typography--title-dense {
font-family: ${W.fontFamily};
font-size: ${W.fontSize};
font-weight: ${W.fontWeight};
letter-spacing: ${W.letterSpacing};
line-height: ${W.lineHeight};
text-transform: ${W.textTransform};
}
`,De=m.css`
.ft-typography--subtitle1 {
font-family: ${A.fontFamily};
font-size: ${A.fontSize};
font-weight: ${A.fontWeight};
letter-spacing: ${A.letterSpacing};
line-height: ${A.lineHeight};
text-transform: ${A.textTransform};
}
`,Te=m.css`
.ft-typography--subtitle2 {
font-family: ${$.fontFamily};
font-size: ${$.fontSize};
font-weight: ${$.fontWeight};
letter-spacing: ${$.letterSpacing};
line-height: ${$.lineHeight};
text-transform: ${$.textTransform};
}
`,_e=m.css`
.ft-typography--body1 {
font-family: ${H.fontFamily};
font-size: ${H.fontSize};
font-weight: ${H.fontWeight};
letter-spacing: ${H.letterSpacing};
line-height: ${H.lineHeight};
text-transform: ${H.textTransform};
}
`,Ke=m.css`
.ft-typography--body2 {
font-family: ${U.fontFamily};
font-size: ${U.fontSize};
font-weight: ${U.fontWeight};
letter-spacing: ${U.letterSpacing};
line-height: ${U.lineHeight};
text-transform: ${U.textTransform};
}
`,Me=m.css`
.ft-typography--caption {
font-family: ${Z.fontFamily};
font-size: ${Z.fontSize};
font-weight: ${Z.fontWeight};
letter-spacing: ${Z.letterSpacing};
line-height: ${Z.lineHeight};
text-transform: ${Z.textTransform};
}
`,Ve=m.css`
.ft-typography--breadcrumb {
font-family: ${D.fontFamily};
font-size: ${D.fontSize};
font-weight: ${D.fontWeight};
letter-spacing: ${D.letterSpacing};
line-height: ${D.lineHeight};
text-transform: ${D.textTransform};
}
`,Ye=m.css`
.ft-typography--overline {
font-family: ${T.fontFamily};
font-size: ${T.fontSize};
font-weight: ${T.fontWeight};
letter-spacing: ${T.letterSpacing};
line-height: ${T.lineHeight};
text-transform: ${T.textTransform};
}
`,je=m.css`
.ft-typography--button {
font-family: ${_.fontFamily};
font-size: ${_.fontSize};
font-weight: ${_.fontWeight};
letter-spacing: ${_.letterSpacing};
line-height: ${_.lineHeight};
text-transform: ${_.textTransform};
}
`,qe=m.css`
.ft-typography {
vertical-align: inherit;
}
`;var Qe=function(a,r,d,c){var n=arguments.length,l=n<3?r:c===null?c=Object.getOwnPropertyDescriptor(r,d):c,i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(a,r,d,c);else for(var f=a.length-1;f>=0;f--)(i=a[f])&&(l=(n<3?i(l):n>3?i(r,d,l):i(r,d))||l);return n>3&&l&&Object.defineProperty(r,d,l),l},N=class extends Xe.FtLitElement{constructor(){super(...arguments),this.variant=te.body1}render(){return this.element?P`
<${F(this.element)}
part="text"
class="ft-typography ft-typography--${this.variant}">
<slot></slot>
</${F(this.element)}>
`:P`
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
`}};N.styles=[Ue,Ze,De,Te,_e,Ke,Me,Ve,Ye,je,qe];Qe([(0,he.property)()],N.prototype,"element",void 0);Qe([(0,he.property)()],N.prototype,"variant",void 0);var me=C(ue()),xt=C(M());var re;(function(a){a.display="display",a.title1="title-1",a.title2="title-2",a.title3="title-3",a.body1regular="body-1-regular",a.body1medium="body-1-medium",a.body1semibold="body-1-semibold",a.body2regular="body-2-regular",a.body2medium="body-2-medium",a.body2semibold="body-2-semibold",a.caption1medium="caption-1-medium",a.caption1semibold="caption-1-semibold",a.caption2medium="caption-2-medium",a.caption2semibold="caption-2-semibold",a.caption2bold="caption-2-bold"})(re||(re={}));var O=C(oe(),1),k=a=>typeof a=="string"?(0,O.unsafeCSS)(a):a,e=class{static create(r,d,c,n){let l=f=>k(f??n),i=O.css`var(${k(r)}, ${l(n)})`;return i.name=r,i.description=d,i.category=c,i.defaultValue=n,i.defaultCssValue=l,i.set=f=>Je(i,f??l(n)),i.get=f=>O.css`var(${k(r)}, ${l(f)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>n,i}static extend(r,d,c,n){let l=f=>c.get(f??n),i=O.css`var(${k(r)}, ${l(n)})`;return i.name=r,i.description=d,i.category=c.category,i.fallbackVariable=c,i.defaultValue=n,i.defaultCssValue=l,i.set=f=>Je(i,f??l(n)),i.get=f=>O.css`var(${k(r)}, ${l(f)})`,i.breadcrumb=()=>[c.name,...c.breadcrumb()],i.lastResortDefaultValue=()=>n??c.lastResortDefaultValue(),i}static external(r,d){let c=l=>r.defaultCssValue(l),n=O.css`var(${k(r.name)}, ${c(r.defaultValue)})`;return n.name=r.name,n.category=r.category,n.fallbackVariable=r.fallbackVariable,n.defaultValue=r.defaultValue,n.context=d,n.defaultCssValue=c,n.set=l=>r.set(l),n.get=l=>O.css`var(${k(r.name)}, ${c(l)})`,n.breadcrumb=()=>r.breadcrumb(),n.lastResortDefaultValue=()=>r.lastResortDefaultValue(),n}};function Je(a,r){return k(`${a.name}: ${r}`)}var t={colorWhite:e.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:e.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:e.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:e.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:e.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:e.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:e.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:e.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:e.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:e.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:e.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:e.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:e.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:e.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:e.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:e.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:e.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:e.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:e.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:e.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:e.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:e.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:e.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:e.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:e.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:e.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:e.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:e.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:e.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:e.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:e.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:e.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:e.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:e.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:e.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:e.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:e.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:e.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:e.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:e.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:e.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:e.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:e.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:e.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:e.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:e.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:e.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:e.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:e.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:e.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:e.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:e.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:e.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:e.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:e.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:e.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:e.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:e.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:e.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:e.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:e.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:e.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:e.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:e.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:e.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:e.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:e.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:e.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:e.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:e.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:e.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:e.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:e.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:e.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:e.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:e.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:e.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:e.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:e.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:e.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:e.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:e.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:e.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:e.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:e.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:e.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:e.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:e.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:e.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:e.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:e.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:e.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:e.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:e.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:e.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:e.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:e.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:e.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:e.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:e.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:e.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:e.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:e.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:e.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:e.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:e.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:e.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:e.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:e.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:e.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:e.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:e.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:e.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:e.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:e.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:e.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:e.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:e.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:e.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:e.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:e.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:e.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:e.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:e.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:e.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:e.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:e.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:e.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:e.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:e.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:e.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:e.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:e.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:e.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:e.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:e.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:e.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:e.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:e.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:e.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:e.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:e.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:e.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:e.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:e.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:e.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:e.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:e.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:e.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:e.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:e.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:e.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:e.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:e.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:e.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:e.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:e.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:e.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:e.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:e.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:e.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:e.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:e.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:e.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:e.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:e.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:e.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:e.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:e.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:e.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:e.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:e.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:e.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:e.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:e.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:e.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:e.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:e.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:e.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:e.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:e.create("--ftds-opacity-0","","NUMBER","0"),opacity8:e.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:e.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:e.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:e.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:e.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:e.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:e.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:e.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:e.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:e.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:e.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:e.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:e.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:e.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:e.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:e.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:e.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},et={fontFamily:e.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:e.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-display-text-case","","UNKNOWN","none")},tt={fontFamily:e.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:e.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},ot={fontFamily:e.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:e.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},rt={fontFamily:e.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:e.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},at={fontFamily:e.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:e.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:e.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},nt={fontFamily:e.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:e.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},dt={fontFamily:e.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:e.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},ct={fontFamily:e.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:e.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},it={fontFamily:e.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},zt={fontFamily:e.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:e.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:e.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},lt={fontFamily:e.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},st={fontFamily:e.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},pt={fontFamily:e.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},ft={fontFamily:e.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},yt={fontFamily:e.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},gt={fontFamily:e.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},be={display:et,"title-1":tt,"title-2":ot,"title-3":rt,"body-1-regular":at,"body-1-medium":nt,"body-1-semibold":dt,"body-2-regular":ct,"body-2-medium":it,"body-2-medium-underline":zt,"body-2-semibold":lt,"caption-1-medium":st,"caption-1-semibold":pt,"caption-2-medium":ft,"caption-2-semibold":yt,"caption-2-bold":gt};var o={backgroundActionPrimary:e.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",t.colorBrand0),backgroundErrorSubtle:e.extend("--ftds-background-error-subtle","Used as background of subtle error components.",t.colorRed10),backgroundInfoSubtle:e.extend("--ftds-background-info-subtle","Used as background of subtle information components.",t.colorCyan10),backgroundWarningSubtle:e.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",t.colorOrange10),backgroundSuccessSubtle:e.extend("--ftds-background-success-subtle","Used as background of subtle success components.",t.colorGreen10),backgroundGlobalSurface:e.extend("--ftds-background-global-surface","Used as app background.",t.colorWhite),backgroundGlobalOnSurface:e.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",t.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",t.colorGray30),contentActionPrimary:e.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",t.colorBrand0),contentWarningPrimary:e.extend("--ftds-content-warning-primary","Used on label of warning messages on l