@fluid-topics/ft-toggle 2.2.4 → 2.2.6

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,11 +1,11 @@
1
- "use strict";(()=>{var re=Object.create;var ct=Object.defineProperty;var se=Object.getOwnPropertyDescriptor;var ae=Object.getOwnPropertyNames;var le=Object.getPrototypeOf,pe=Object.prototype.hasOwnProperty;var G=(i,t)=>()=>{try{return t||i((t={exports:{}}).exports,t),t.exports}catch(e){throw t=0,e}};var he=(i,t,e,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of ae(t))!pe.call(i,n)&&n!==e&&ct(i,n,{get:()=>t[n],enumerable:!(o=se(t,n))||o.enumerable});return i};var d=(i,t,e)=>(e=i!=null?re(le(i)):{},he(t||!i||!i.__esModule?ct(e,"default",{value:i,enumerable:!0}):e,i));var v=G((xe,dt)=>{dt.exports=ftGlobals.wcUtils});var Z=G(($e,mt)=>{mt.exports=ftGlobals.lit});var Y=G((ue,xt)=>{xt.exports=ftGlobals.litDecorators});var ut=G((be,$t)=>{$t.exports=ftGlobals.litClassMap});var ne=d(v());var ee=d(Z()),yt=d(Y()),X=d(v()),oe=d(ut());var x=d(v()),bt=d(Z()),K={textColor:x.FtCssVariableFactory.extend("--ft-toggle-text-color","",x.designSystemVariables.colorOnSurfaceHigh),onColor:x.FtCssVariableFactory.extend("--ft-toggle-on-color","",x.designSystemVariables.colorPrimary),offColor:x.FtCssVariableFactory.create("--ft-toggle-off-color","","COLOR","#e0e0e0"),handleColor:x.FtCssVariableFactory.extend("--ft-toggle-handle-color","",x.designSystemVariables.colorOnPrimary)},_t=bt.css`
1
+ "use strict";(()=>{var re=Object.create;var ct=Object.defineProperty;var se=Object.getOwnPropertyDescriptor;var ae=Object.getOwnPropertyNames;var le=Object.getPrototypeOf,pe=Object.prototype.hasOwnProperty;var G=(n,t)=>()=>{try{return t||n((t={exports:{}}).exports,t),t.exports}catch(e){throw t=0,e}};var he=(n,t,e,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of ae(t))!pe.call(n,r)&&r!==e&&ct(n,r,{get:()=>t[r],enumerable:!(i=se(t,r))||i.enumerable});return n};var d=(n,t,e)=>(e=n!=null?re(le(n)):{},he(t||!n||!n.__esModule?ct(e,"default",{value:n,enumerable:!0}):e,n));var S=G((me,dt)=>{dt.exports=ftGlobals.wcUtils});var K=G(($e,xt)=>{xt.exports=ftGlobals.lit});var Y=G((ue,mt)=>{mt.exports=ftGlobals.litDecorators});var ut=G((be,$t)=>{$t.exports=ftGlobals.litClassMap});var ne=d(S());var ee=d(K()),yt=d(Y()),X=d(S()),oe=d(ut());var m=d(S()),bt=d(K()),Z={textColor:m.FtCssVariableFactory.extend("--ft-toggle-text-color","",m.designSystemVariables.colorOnSurfaceHigh),onColor:m.FtCssVariableFactory.extend("--ft-toggle-on-color","",m.designSystemVariables.colorPrimary),offColor:m.FtCssVariableFactory.create("--ft-toggle-off-color","","COLOR","#e0e0e0"),handleColor:m.FtCssVariableFactory.extend("--ft-toggle-handle-color","",m.designSystemVariables.colorOnPrimary)},_t=bt.css`
2
2
  .ft-toggle {
3
3
  cursor: pointer;
4
4
  position: relative;
5
5
  display: flex;
6
6
  align-items: center;
7
7
  gap: 8px;
8
- color: ${K.textColor};
8
+ color: ${Z.textColor};
9
9
  }
10
10
 
11
11
  .ft-toggle.ft-toggle--disabled {
@@ -17,7 +17,7 @@
17
17
  }
18
18
 
19
19
  .ft-toggle-background {
20
- background-color: ${K.offColor};
20
+ background-color: ${Z.offColor};
21
21
  border-radius: 1.25rem;
22
22
  width: 44px;
23
23
  height: 24px;
@@ -27,16 +27,16 @@
27
27
  }
28
28
 
29
29
  input:focus-visible ~ .ft-toggle-background {
30
- outline: 2px solid ${x.designSystemVariables.colorPrimary};
30
+ outline: 2px solid ${m.designSystemVariables.colorPrimary};
31
31
  outline-offset: 2px;
32
32
  }
33
33
 
34
34
  .ft-toggle--checked .ft-toggle-background {
35
- background-color: ${K.onColor};
35
+ background-color: ${Z.onColor};
36
36
  }
37
37
 
38
38
  .ft-toggle-handle {
39
- background-color: ${K.handleColor};
39
+ background-color: ${Z.handleColor};
40
40
  border-radius: 1.25rem;
41
41
  width: 20px;
42
42
  height: 20px;
@@ -50,104 +50,114 @@
50
50
  .ft-toggle--checked .ft-toggle-handle {
51
51
  margin-left: 22px;
52
52
  }
53
- `;var st=globalThis,At=i=>i,q=st.trustedTypes,St=q?q.createPolicy("lit-html",{createHTML:i=>i}):void 0,Ct="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,wt="?"+A,fe=`<${wt}>`,F=document,J=()=>F.createComment(""),j=i=>i===null||typeof i!="object"&&typeof i!="function",at=Array.isArray,ge=i=>at(i)||typeof i?.[Symbol.iterator]=="function",tt=`[
54
- \f\r]`,U=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,vt=/-->/g,Tt=/>/g,T=RegExp(`>|${tt}(?:([^\\s"'>=/]+)(${tt}*=${tt}*(?:[^
55
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Ht=/'/g,Ft=/"/g,Wt=/^(?:script|style|textarea|title)$/i,lt=i=>(t,...e)=>({_$litType$:i,strings:t,values:e}),Nt=lt(1),Bt=lt(2),Et=lt(3),D=Symbol.for("lit-noChange"),c=Symbol.for("lit-nothing"),zt=new WeakMap,H=F.createTreeWalker(F,129);function Mt(i,t){if(!at(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return St!==void 0?St.createHTML(t):t}var ye=(i,t)=>{let e=i.length-1,o=[],n,s=t===2?"<svg>":t===3?"<math>":"",a=U;for(let g=0;g<e;g++){let p=i[g],h,y,f=-1,$=0;for(;$<p.length&&(a.lastIndex=$,y=a.exec(p),y!==null);)$=a.lastIndex,a===U?y[1]==="!--"?a=vt:y[1]!==void 0?a=Tt:y[2]!==void 0?(Wt.test(y[2])&&(n=RegExp("</"+y[2],"g")),a=T):y[3]!==void 0&&(a=T):a===T?y[0]===">"?(a=n??U,f=-1):y[1]===void 0?f=-2:(f=a.lastIndex-y[2].length,h=y[1],a=y[3]===void 0?T:y[3]==='"'?Ft:Ht):a===Ft||a===Ht?a=T:a===vt||a===Tt?a=U:(a=T,n=void 0);let _=a===T&&i[g+1].startsWith("/>")?" ":"";s+=a===U?p+fe:f>=0?(o.push(h),p.slice(0,f)+Ct+p.slice(f)+A+_):p+A+(f===-2?g:_)}return[Mt(i,s+(i[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},I=class i{constructor({strings:t,_$litType$:e},o){let n;this.parts=[];let s=0,a=0,g=t.length-1,p=this.parts,[h,y]=ye(t,e);if(this.el=i.createElement(h,o),H.currentNode=this.el.content,e===2||e===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(n=H.nextNode())!==null&&p.length<g;){if(n.nodeType===1){if(n.hasAttributes())for(let f of n.getAttributeNames())if(f.endsWith(Ct)){let $=y[a++],_=n.getAttribute(f).split(A),L=/([.?@])?(.*)/.exec($);p.push({type:1,index:s,name:L[2],strings:_,ctor:L[1]==="."?ot:L[1]==="?"?it:L[1]==="@"?nt:C}),n.removeAttribute(f)}else f.startsWith(A)&&(p.push({type:6,index:s}),n.removeAttribute(f));if(Wt.test(n.tagName)){let f=n.textContent.split(A),$=f.length-1;if($>0){n.textContent=q?q.emptyScript:"";for(let _=0;_<$;_++)n.append(f[_],J()),H.nextNode(),p.push({type:2,index:++s});n.append(f[$],J())}}}else if(n.nodeType===8)if(n.data===wt)p.push({type:2,index:s});else{let f=-1;for(;(f=n.data.indexOf(A,f+1))!==-1;)p.push({type:7,index:s}),f+=A.length-1}s++}}static createElement(t,e){let o=F.createElement("template");return o.innerHTML=t,o}};function z(i,t,e=i,o){if(t===D)return t;let n=o!==void 0?e._$Co?.[o]:e._$Cl,s=j(t)?void 0:t._$litDirective$;return n?.constructor!==s&&(n?._$AO?.(!1),s===void 0?n=void 0:(n=new s(i),n._$AT(i,e,o)),o!==void 0?(e._$Co??=[])[o]=n:e._$Cl=n),n!==void 0&&(t=z(i,n._$AS(i,t.values),n,o)),t}var et=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:o}=this._$AD,n=(t?.creationScope??F).importNode(e,!0);H.currentNode=n;let s=H.nextNode(),a=0,g=0,p=o[0];for(;p!==void 0;){if(a===p.index){let h;p.type===2?h=new Q(s,s.nextSibling,this,t):p.type===1?h=new p.ctor(s,p.name,p.strings,this,t):p.type===6&&(h=new rt(s,this,t)),this._$AV.push(h),p=o[++g]}a!==p?.index&&(s=H.nextNode(),a++)}return H.currentNode=F,n}p(t){let e=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},Q=class i{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,n){this.type=2,this._$AH=c,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=z(this,t,e),j(t)?t===c||t==null||t===""?(this._$AH!==c&&this._$AR(),this._$AH=c):t!==this._$AH&&t!==D&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):ge(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==c&&j(this._$AH)?this._$AA.nextSibling.data=t:this.T(F.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:o}=t,n=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=I.createElement(Mt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===n)this._$AH.p(e);else{let s=new et(n,this),a=s.u(this.options);s.p(e),this.T(a),this._$AH=s}}_$AC(t){let e=zt.get(t.strings);return e===void 0&&zt.set(t.strings,e=new I(t)),e}k(t){at(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,o,n=0;for(let s of t)n===e.length?e.push(o=new i(this.O(J()),this.O(J()),this,this.options)):o=e[n],o._$AI(s),n++;n<e.length&&(this._$AR(o&&o._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let o=At(t).nextSibling;At(t).remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},C=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,n,s){this.type=1,this._$AH=c,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=s,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=c}_$AI(t,e=this,o,n){let s=this.strings,a=!1;if(s===void 0)t=z(this,t,e,0),a=!j(t)||t!==this._$AH&&t!==D,a&&(this._$AH=t);else{let g=t,p,h;for(t=s[0],p=0;p<s.length-1;p++)h=z(this,g[o+p],e,p),h===D&&(h=this._$AH[p]),a||=!j(h)||h!==this._$AH[p],h===c?t=c:t!==c&&(t+=(h??"")+s[p+1]),this._$AH[p]=h}a&&!n&&this.j(t)}j(t){t===c?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ot=class extends C{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===c?void 0:t}},it=class extends C{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==c)}},nt=class extends C{constructor(t,e,o,n,s){super(t,e,o,n,s),this.type=5}_$AI(t,e=this){if((t=z(this,t,e,0)??c)===D)return;let o=this._$AH,n=t===c&&o!==c||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==c&&(o===c||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},rt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){z(this,t)}};var ce=st.litHtmlPolyfillSupport;ce?.(I,Q),(st.litHtmlVersions??=[]).push("3.3.3");var kt=Symbol.for(""),de=i=>{if(i?.r===kt)return i?._$litStatic$},pt=i=>({_$litStatic$:i,r:kt});var Ot=new Map,ht=i=>(t,...e)=>{let o=e.length,n,s,a=[],g=[],p,h=0,y=!1;for(;h<o;){for(p=t[h];h<o&&(s=e[h],(n=de(s))!==void 0);)p+=n+t[++h],y=!0;h!==o&&g.push(s),a.push(p),h++}if(h===o&&a.push(t[o]),y){let f=a.join("$$lit$$");(t=Ot.get(f))===void 0&&(a.raw=a,Ot.set(f,t=a)),e=g}return i(t,...e)},ft=ht(Nt),ve=ht(Bt),Te=ht(Et);var gt=d(Y()),Qt=d(v());var w;(function(i){i.title="title",i.title_dense="title-dense",i.subtitle1="subtitle1",i.subtitle2="subtitle2",i.body1="body1",i.body2="body2",i.caption="caption",i.breadcrumb="breadcrumb",i.overline="overline",i.button="button"})(w||(w={}));var m=d(Z()),r=d(v()),Pt=r.FtCssVariableFactory.extend("--ft-typography-font-family","",r.designSystemVariables.titleFont),u=r.FtCssVariableFactory.extend("--ft-typography-font-family","",r.designSystemVariables.contentFont),l={fontFamily:u,fontSize:r.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:r.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:r.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:r.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:r.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},W={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Pt),fontSize:r.FtCssVariableFactory.extend("--ft-typography-title-font-size","",l.fontSize,"20px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",l.letterSpacing,"0.15px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-title-line-height","",l.lineHeight,"1.2"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",l.textTransform,"inherit")},N={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Pt),fontSize:r.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",l.fontSize,"14px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",l.letterSpacing,"0.105px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",l.lineHeight,"1.7"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",l.textTransform,"inherit")},B={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",u),fontSize:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",l.fontSize,"16px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",l.fontWeight,"600"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",l.letterSpacing,"0.144px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",l.lineHeight,"1.5"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",l.textTransform,"inherit")},E={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",u),fontSize:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",l.fontSize,"14px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",l.letterSpacing,"0.098px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",l.lineHeight,"1.7"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",l.textTransform,"inherit")},M={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",u),fontSize:r.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",l.fontSize,"16px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",l.letterSpacing,"0.496px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",l.lineHeight,"1.5"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",l.textTransform,"inherit")},O={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",u),fontSize:r.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",l.fontSize,"14px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",l.letterSpacing,"0.252px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",l.lineHeight,"1.4"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",l.textTransform,"inherit")},k={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",u),fontSize:r.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",l.fontSize,"12px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",l.letterSpacing,"0.396px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",l.lineHeight,"1.33"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",l.textTransform,"inherit")},P={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",u),fontSize:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",l.fontSize,"10px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",l.letterSpacing,"0.33px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",l.lineHeight,"1.6"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",l.textTransform,"inherit")},V={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",u),fontSize:r.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",l.fontSize,"10px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",l.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",l.letterSpacing,"1.5px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",l.lineHeight,"1.6"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",l.textTransform,"uppercase")},R={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-button-font-family","",u),fontSize:r.FtCssVariableFactory.extend("--ft-typography-button-font-size","",l.fontSize,"14px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",l.fontWeight,"600"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",l.letterSpacing,"1.246px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-button-line-height","",l.lineHeight,"1.15"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",l.textTransform,"uppercase")},Vt=m.css`
53
+ `;var st=globalThis,At=n=>n,q=st.trustedTypes,vt=q?q.createPolicy("lit-html",{createHTML:n=>n}):void 0,Ct="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,wt="?"+A,fe=`<${wt}>`,F=document,J=()=>F.createComment(""),U=n=>n===null||typeof n!="object"&&typeof n!="function",at=Array.isArray,ge=n=>at(n)||typeof n?.[Symbol.iterator]=="function",tt=`[
54
+ \f\r]`,R=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,St=/-->/g,Tt=/>/g,T=RegExp(`>|${tt}(?:([^\\s"'>=/]+)(${tt}*=${tt}*(?:[^
55
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Ht=/'/g,Ft=/"/g,Dt=/^(?:script|style|textarea|title)$/i,lt=n=>(t,...e)=>({_$litType$:n,strings:t,values:e}),Wt=lt(1),Nt=lt(2),Bt=lt(3),j=Symbol.for("lit-noChange"),c=Symbol.for("lit-nothing"),zt=new WeakMap,H=F.createTreeWalker(F,129);function Ot(n,t){if(!at(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return vt!==void 0?vt.createHTML(t):t}var ye=(n,t)=>{let e=n.length-1,i=[],r,a=t===2?"<svg>":t===3?"<math>":"",l=R;for(let g=0;g<e;g++){let p=n[g],h,y,f=-1,$=0;for(;$<p.length&&(l.lastIndex=$,y=l.exec(p),y!==null);)$=l.lastIndex,l===R?y[1]==="!--"?l=St:y[1]!==void 0?l=Tt:y[2]!==void 0?(Dt.test(y[2])&&(r=RegExp("</"+y[2],"g")),l=T):y[3]!==void 0&&(l=T):l===T?y[0]===">"?(l=r??R,f=-1):y[1]===void 0?f=-2:(f=l.lastIndex-y[2].length,h=y[1],l=y[3]===void 0?T:y[3]==='"'?Ft:Ht):l===Ft||l===Ht?l=T:l===St||l===Tt?l=R:(l=T,r=void 0);let _=l===T&&n[g+1].startsWith("/>")?" ":"";a+=l===R?p+fe:f>=0?(i.push(h),p.slice(0,f)+Ct+p.slice(f)+A+_):p+A+(f===-2?g:_)}return[Ot(n,a+(n[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]},I=class n{constructor({strings:t,_$litType$:e},i){let r;this.parts=[];let a=0,l=0,g=t.length-1,p=this.parts,[h,y]=ye(t,e);if(this.el=n.createElement(h,i),H.currentNode=this.el.content,e===2||e===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(r=H.nextNode())!==null&&p.length<g;){if(r.nodeType===1){if(r.hasAttributes())for(let f of r.getAttributeNames())if(f.endsWith(Ct)){let $=y[l++],_=r.getAttribute(f).split(A),L=/([.?@])?(.*)/.exec($);p.push({type:1,index:a,name:L[2],strings:_,ctor:L[1]==="."?ot:L[1]==="?"?it:L[1]==="@"?nt:P}),r.removeAttribute(f)}else f.startsWith(A)&&(p.push({type:6,index:a}),r.removeAttribute(f));if(Dt.test(r.tagName)){let f=r.textContent.split(A),$=f.length-1;if($>0){r.textContent=q?q.emptyScript:"";for(let _=0;_<$;_++)r.append(f[_],J()),H.nextNode(),p.push({type:2,index:++a});r.append(f[$],J())}}}else if(r.nodeType===8)if(r.data===wt)p.push({type:2,index:a});else{let f=-1;for(;(f=r.data.indexOf(A,f+1))!==-1;)p.push({type:7,index:a}),f+=A.length-1}a++}}static createElement(t,e){let i=F.createElement("template");return i.innerHTML=t,i}};function k(n,t,e=n,i){if(t===j)return t;let r=i!==void 0?e._$Co?.[i]:e._$Cl,a=U(t)?void 0:t._$litDirective$;return r?.constructor!==a&&(r?._$AO?.(!1),a===void 0?r=void 0:(r=new a(n),r._$AT(n,e,i)),i!==void 0?(e._$Co??=[])[i]=r:e._$Cl=r),r!==void 0&&(t=k(n,r._$AS(n,t.values),r,i)),t}var et=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:i}=this._$AD,r=(t?.creationScope??F).importNode(e,!0);H.currentNode=r;let a=H.nextNode(),l=0,g=0,p=i[0];for(;p!==void 0;){if(l===p.index){let h;p.type===2?h=new Q(a,a.nextSibling,this,t):p.type===1?h=new p.ctor(a,p.name,p.strings,this,t):p.type===6&&(h=new rt(a,this,t)),this._$AV.push(h),p=i[++g]}l!==p?.index&&(a=H.nextNode(),l++)}return H.currentNode=F,r}p(t){let e=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}},Q=class n{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,r){this.type=2,this._$AH=c,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=k(this,t,e),U(t)?t===c||t==null||t===""?(this._$AH!==c&&this._$AR(),this._$AH=c):t!==this._$AH&&t!==j&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):ge(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==c&&U(this._$AH)?this._$AA.nextSibling.data=t:this.T(F.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:i}=t,r=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=I.createElement(Ot(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===r)this._$AH.p(e);else{let a=new et(r,this),l=a.u(this.options);a.p(e),this.T(l),this._$AH=a}}_$AC(t){let e=zt.get(t.strings);return e===void 0&&zt.set(t.strings,e=new I(t)),e}k(t){at(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,i,r=0;for(let a of t)r===e.length?e.push(i=new n(this.O(J()),this.O(J()),this,this.options)):i=e[r],i._$AI(a),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let i=At(t).nextSibling;At(t).remove(),t=i}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},P=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,r,a){this.type=1,this._$AH=c,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=c}_$AI(t,e=this,i,r){let a=this.strings,l=!1;if(a===void 0)t=k(this,t,e,0),l=!U(t)||t!==this._$AH&&t!==j,l&&(this._$AH=t);else{let g=t,p,h;for(t=a[0],p=0;p<a.length-1;p++)h=k(this,g[i+p],e,p),h===j&&(h=this._$AH[p]),l||=!U(h)||h!==this._$AH[p],h===c?t=c:t!==c&&(t+=(h??"")+a[p+1]),this._$AH[p]=h}l&&!r&&this.j(t)}j(t){t===c?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ot=class extends P{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===c?void 0:t}},it=class extends P{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==c)}},nt=class extends P{constructor(t,e,i,r,a){super(t,e,i,r,a),this.type=5}_$AI(t,e=this){if((t=k(this,t,e,0)??c)===j)return;let i=this._$AH,r=t===c&&i!==c||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,a=t!==c&&(i===c||r);r&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},rt=class{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){k(this,t)}};var ce=st.litHtmlPolyfillSupport;ce?.(I,Q),(st.litHtmlVersions??=[]).push("3.3.3");var Mt=Symbol.for(""),de=n=>{if(n?.r===Mt)return n?._$litStatic$},pt=n=>({_$litStatic$:n,r:Mt});var Et=new Map,ht=n=>(t,...e)=>{let i=e.length,r,a,l=[],g=[],p,h=0,y=!1;for(;h<i;){for(p=t[h];h<i&&(a=e[h],(r=de(a))!==void 0);)p+=r+t[++h],y=!0;h!==i&&g.push(a),l.push(p),h++}if(h===i&&l.push(t[i]),y){let f=l.join("$$lit$$");(t=Et.get(f))===void 0&&(l.raw=l,Et.set(f,t=l)),e=g}return n(t,...e)},ft=ht(Wt),Se=ht(Nt),Te=ht(Bt);var gt=d(Y()),Qt=d(S());var V;(function(n){n.title="title",n.title_dense="title-dense",n.subtitle1="subtitle1",n.subtitle2="subtitle2",n.body1="body1",n.body2="body2",n.caption="caption",n.breadcrumb="breadcrumb",n.overline="overline",n.button="button"})(V||(V={}));var x=d(K()),o=d(S()),kt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),u=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),s={fontFamily:u,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"),textDecoration:o.FtCssVariableFactory.create("--ft-typography-text-decoration","","UNKNOWN","inherit")},z={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",kt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",s.fontSize,"20px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",s.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",s.letterSpacing,"0.15px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",s.lineHeight,"1.2"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",s.textTransform,"inherit"),textDecoration:o.FtCssVariableFactory.extend("--ft-typography-title-text-decoration","",s.textDecoration,"inherit")},C={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",kt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",s.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",s.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",s.letterSpacing,"0.105px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",s.lineHeight,"1.7"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",s.textTransform,"inherit"),textDecoration:o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-decoration","",s.textDecoration,"inherit")},w={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",u),fontSize:o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",s.fontSize,"16px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",s.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",s.letterSpacing,"0.144px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",s.lineHeight,"1.5"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",s.textTransform,"inherit"),textDecoration:o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-decoration","",s.textDecoration,"inherit")},D={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",u),fontSize:o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",s.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",s.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",s.letterSpacing,"0.098px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",s.lineHeight,"1.7"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",s.textTransform,"inherit"),textDecoration:o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-decoration","",s.textDecoration,"inherit")},W={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",u),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",s.fontSize,"16px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",s.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",s.letterSpacing,"0.496px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",s.lineHeight,"1.5"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",s.textTransform,"inherit"),textDecoration:o.FtCssVariableFactory.extend("--ft-typography-body1-text-decoration","",s.textDecoration,"inherit")},N={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",u),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",s.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",s.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",s.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",s.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",s.textTransform,"inherit"),textDecoration:o.FtCssVariableFactory.extend("--ft-typography-body2-text-decoration","",s.textDecoration,"inherit")},B={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",u),fontSize:o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",s.fontSize,"12px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",s.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",s.letterSpacing,"0.396px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",s.lineHeight,"1.33"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",s.textTransform,"inherit"),textDecoration:o.FtCssVariableFactory.extend("--ft-typography-caption-text-decoration","",s.textDecoration,"inherit")},O={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",u),fontSize:o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",s.fontSize,"10px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",s.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",s.letterSpacing,"0.33px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",s.lineHeight,"1.6"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",s.textTransform,"inherit"),textDecoration:o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-decoration","",s.textDecoration,"inherit")},E={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",u),fontSize:o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",s.fontSize,"10px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",s.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",s.letterSpacing,"1.5px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",s.lineHeight,"1.6"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",s.textTransform,"uppercase"),textDecoration:o.FtCssVariableFactory.extend("--ft-typography-overline-text-decoration","",s.textDecoration,"inherit")},M={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",u),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",s.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",s.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",s.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",s.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",s.textTransform,"uppercase"),textDecoration:o.FtCssVariableFactory.extend("--ft-typography-button-text-decoration","",s.textDecoration,"inherit")},Pt=x.css`
56
56
  .ft-typography--title {
57
+ font-family: ${z.fontFamily};
58
+ font-size: ${z.fontSize};
59
+ font-weight: ${z.fontWeight};
60
+ letter-spacing: ${z.letterSpacing};
61
+ line-height: ${z.lineHeight};
62
+ text-transform: ${z.textTransform};
63
+ text-decoration: ${z.textDecoration};
64
+ }
65
+ `,Vt=x.css`
66
+ .ft-typography--title-dense {
67
+ font-family: ${C.fontFamily};
68
+ font-size: ${C.fontSize};
69
+ font-weight: ${C.fontWeight};
70
+ letter-spacing: ${C.letterSpacing};
71
+ line-height: ${C.lineHeight};
72
+ text-transform: ${C.textTransform};
73
+ text-decoration: ${C.textDecoration};
74
+ }
75
+ `,Rt=x.css`
76
+ .ft-typography--subtitle1 {
77
+ font-family: ${w.fontFamily};
78
+ font-size: ${w.fontSize};
79
+ font-weight: ${w.fontWeight};
80
+ letter-spacing: ${w.letterSpacing};
81
+ line-height: ${w.lineHeight};
82
+ text-transform: ${w.textTransform};
83
+ text-decoration: ${w.textDecoration};
84
+ }
85
+ `,Ut=x.css`
86
+ .ft-typography--subtitle2 {
87
+ font-family: ${D.fontFamily};
88
+ font-size: ${D.fontSize};
89
+ font-weight: ${D.fontWeight};
90
+ letter-spacing: ${D.letterSpacing};
91
+ line-height: ${D.lineHeight};
92
+ text-transform: ${D.textTransform};
93
+ text-decoration: ${D.textDecoration};
94
+ }
95
+
96
+ `,jt=x.css`
97
+ .ft-typography--body1 {
57
98
  font-family: ${W.fontFamily};
58
99
  font-size: ${W.fontSize};
59
100
  font-weight: ${W.fontWeight};
60
101
  letter-spacing: ${W.letterSpacing};
61
102
  line-height: ${W.lineHeight};
62
103
  text-transform: ${W.textTransform};
104
+ text-decoration: ${W.textDecoration};
63
105
  }
64
- `,Rt=m.css`
65
- .ft-typography--title-dense {
106
+ `,It=x.css`
107
+ .ft-typography--body2 {
66
108
  font-family: ${N.fontFamily};
67
109
  font-size: ${N.fontSize};
68
110
  font-weight: ${N.fontWeight};
69
111
  letter-spacing: ${N.letterSpacing};
70
112
  line-height: ${N.lineHeight};
71
113
  text-transform: ${N.textTransform};
114
+ text-decoration: ${N.textDecoration};
72
115
  }
73
- `,Ut=m.css`
74
- .ft-typography--subtitle1 {
116
+ `,Lt=x.css`
117
+ .ft-typography--caption {
75
118
  font-family: ${B.fontFamily};
76
119
  font-size: ${B.fontSize};
77
120
  font-weight: ${B.fontWeight};
78
121
  letter-spacing: ${B.letterSpacing};
79
122
  line-height: ${B.lineHeight};
80
123
  text-transform: ${B.textTransform};
124
+ text-decoration: ${B.textDecoration};
81
125
  }
82
- `,jt=m.css`
83
- .ft-typography--subtitle2 {
126
+ `,Gt=x.css`
127
+ .ft-typography--breadcrumb {
128
+ font-family: ${O.fontFamily};
129
+ font-size: ${O.fontSize};
130
+ font-weight: ${O.fontWeight};
131
+ letter-spacing: ${O.letterSpacing};
132
+ line-height: ${O.lineHeight};
133
+ text-transform: ${O.textTransform};
134
+ text-decoration: ${O.textDecoration};
135
+ }
136
+ `,Kt=x.css`
137
+ .ft-typography--overline {
84
138
  font-family: ${E.fontFamily};
85
139
  font-size: ${E.fontSize};
86
140
  font-weight: ${E.fontWeight};
87
141
  letter-spacing: ${E.letterSpacing};
88
142
  line-height: ${E.lineHeight};
89
143
  text-transform: ${E.textTransform};
144
+ text-decoration: ${E.textDecoration};
90
145
  }
91
-
92
- `,Dt=m.css`
93
- .ft-typography--body1 {
146
+ `,Zt=x.css`
147
+ .ft-typography--button {
94
148
  font-family: ${M.fontFamily};
95
149
  font-size: ${M.fontSize};
96
150
  font-weight: ${M.fontWeight};
97
151
  letter-spacing: ${M.letterSpacing};
98
152
  line-height: ${M.lineHeight};
99
153
  text-transform: ${M.textTransform};
154
+ text-decoration: ${M.textDecoration};
100
155
  }
101
- `,It=m.css`
102
- .ft-typography--body2 {
103
- font-family: ${O.fontFamily};
104
- font-size: ${O.fontSize};
105
- font-weight: ${O.fontWeight};
106
- letter-spacing: ${O.letterSpacing};
107
- line-height: ${O.lineHeight};
108
- text-transform: ${O.textTransform};
109
- }
110
- `,Lt=m.css`
111
- .ft-typography--caption {
112
- font-family: ${k.fontFamily};
113
- font-size: ${k.fontSize};
114
- font-weight: ${k.fontWeight};
115
- letter-spacing: ${k.letterSpacing};
116
- line-height: ${k.lineHeight};
117
- text-transform: ${k.textTransform};
118
- }
119
- `,Gt=m.css`
120
- .ft-typography--breadcrumb {
121
- font-family: ${P.fontFamily};
122
- font-size: ${P.fontSize};
123
- font-weight: ${P.fontWeight};
124
- letter-spacing: ${P.letterSpacing};
125
- line-height: ${P.lineHeight};
126
- text-transform: ${P.textTransform};
127
- }
128
- `,Zt=m.css`
129
- .ft-typography--overline {
130
- font-family: ${V.fontFamily};
131
- font-size: ${V.fontSize};
132
- font-weight: ${V.fontWeight};
133
- letter-spacing: ${V.letterSpacing};
134
- line-height: ${V.lineHeight};
135
- text-transform: ${V.textTransform};
136
- }
137
- `,Kt=m.css`
138
- .ft-typography--button {
139
- font-family: ${R.fontFamily};
140
- font-size: ${R.fontSize};
141
- font-weight: ${R.fontWeight};
142
- letter-spacing: ${R.letterSpacing};
143
- line-height: ${R.lineHeight};
144
- text-transform: ${R.textTransform};
145
- }
146
- `,qt=m.css`
156
+ `,qt=x.css`
147
157
  .ft-typography {
148
158
  vertical-align: inherit;
149
159
  }
150
- `;var Jt=function(i,t,e,o){var n=arguments.length,s=n<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,e):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(i,t,e,o);else for(var g=i.length-1;g>=0;g--)(a=i[g])&&(s=(n<3?a(s):n>3?a(t,e,s):a(t,e))||s);return n>3&&s&&Object.defineProperty(t,e,s),s},b=class extends Qt.FtLitElement{constructor(){super(...arguments),this.variant=w.body1}render(){return this.element?ft`
160
+ `;var Jt=function(n,t,e,i){var r=arguments.length,a=r<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,e):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(n,t,e,i);else for(var g=n.length-1;g>=0;g--)(l=n[g])&&(a=(r<3?l(a):r>3?l(t,e,a):l(t,e))||a);return r>3&&a&&Object.defineProperty(t,e,a),a},b=class extends Qt.FtLitElement{constructor(){super(...arguments),this.variant=V.body1}render(){return this.element?ft`
151
161
  <${pt(this.element)}
152
162
  part="text"
153
163
  class="ft-typography ft-typography--${this.variant}">
@@ -155,7 +165,7 @@
155
165
  </${pt(this.element)}>
156
166
  `:ft`
157
167
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
158
- `}};b.styles=[Vt,Rt,Ut,jt,Dt,It,Lt,Gt,Zt,Kt,qt];Jt([(0,gt.property)()],b.prototype,"element",void 0);Jt([(0,gt.property)()],b.prototype,"variant",void 0);var Yt=d(v());var Xt={"ft-typography":b};(0,Yt.customElements)(Xt);var te=function(i,t,e,o){var n=arguments.length,s=n<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,e):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(i,t,e,o);else for(var g=i.length-1;g>=0;g--)(a=i[g])&&(s=(n<3?a(s):n>3?a(t,e,s):a(t,e))||s);return n>3&&s&&Object.defineProperty(t,e,s),s},S=class extends X.FtLitElement{constructor(){super(...arguments),this.checked=!1,this.disabled=!1}render(){let t={"ft-toggle":!0,"ft-toggle--checked":this.checked,"ft-toggle--disabled":this.disabled};return ee.html`
168
+ `}};b.styles=[Pt,Vt,Rt,Ut,jt,It,Lt,Gt,Kt,Zt,qt];Jt([(0,gt.property)()],b.prototype,"element",void 0);Jt([(0,gt.property)()],b.prototype,"variant",void 0);var Yt=d(S());var Xt={"ft-typography":b};(0,Yt.customElements)(Xt);var te=function(n,t,e,i){var r=arguments.length,a=r<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,e):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(n,t,e,i);else for(var g=n.length-1;g>=0;g--)(l=n[g])&&(a=(r<3?l(a):r>3?l(t,e,a):l(t,e))||a);return r>3&&a&&Object.defineProperty(t,e,a),a},v=class extends X.FtLitElement{constructor(){super(...arguments),this.checked=!1,this.disabled=!1}render(){let t={"ft-toggle":!0,"ft-toggle--checked":this.checked,"ft-toggle--disabled":this.disabled};return ee.html`
159
169
  <label class="${(0,oe.classMap)(t)}" for="toggle-input">
160
170
  <input type="checkbox"
161
171
  role="switch"
@@ -167,11 +177,11 @@
167
177
  <div class="ft-toggle-background">
168
178
  <div class="ft-toggle-handle"></div>
169
179
  </div>
170
- <ft-typography variant="${w.body2}">
180
+ <ft-typography variant="${V.body2}">
171
181
  <slot></slot>
172
182
  </ft-typography>
173
183
  </label>
174
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}};S.elementDefinitions={"ft-typography":b};S.styles=[_t,X.screenReaderStyles];te([(0,yt.property)({type:Boolean,reflect:!0})],S.prototype,"checked",void 0);te([(0,yt.property)({type:Boolean})],S.prototype,"disabled",void 0);var ie={"ft-toggle":S};(0,ne.customElements)(ie);})();
184
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}};v.elementDefinitions={"ft-typography":b};v.styles=[_t,X.screenReaderStyles];te([(0,yt.property)({type:Boolean,reflect:!0})],v.prototype,"checked",void 0);te([(0,yt.property)({type:Boolean})],v.prototype,"disabled",void 0);var ie={"ft-toggle":v};(0,ne.customElements)(ie);})();
175
185
  /*! Bundled license information:
176
186
 
177
187
  lit-html/lit-html.js: