@fluid-topics/ft-content-watermark 2.2.5 → 2.2.7

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,4 +1,4 @@
1
- "use strict";(()=>{var oe=Object.create;var ct=Object.defineProperty;var re=Object.getOwnPropertyDescriptor;var se=Object.getOwnPropertyNames;var ae=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 o of se(t))!pe.call(n,o)&&o!==e&&ct(n,o,{get:()=>t[o],enumerable:!(i=re(t,o))||i.enumerable});return n};var m=(n,t,e)=>(e=n!=null?oe(ae(n)):{},he(t||!n||!n.__esModule?ct(e,"default",{value:n,enumerable:!0}):e,n));var v=G((xe,mt)=>{mt.exports=ftGlobals.wcUtils});var Z=G(($e,dt)=>{dt.exports=ftGlobals.lit});var tt=G((ue,xt)=>{xt.exports=ftGlobals.litDecorators});var vt=G((_e,_t)=>{_t.exports=ftGlobals.litRepeat});var ne=m(v());var P=m(Z()),H=m(tt());var $t=m(Z()),ut=m(v()),le={position:ut.FtCssVariableFactory.create("--ft-content-watermark-position","Position property of the watermark container","POSITION","sticky")},bt=$t.css`
1
+ "use strict";(()=>{var ne=Object.create;var ct=Object.defineProperty;var re=Object.getOwnPropertyDescriptor;var se=Object.getOwnPropertyNames;var ae=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 se(t))!pe.call(n,r)&&r!==e&&ct(n,r,{get:()=>t[r],enumerable:!(i=re(t,r))||i.enumerable});return n};var x=(n,t,e)=>(e=n!=null?ne(ae(n)):{},he(t||!n||!n.__esModule?ct(e,"default",{value:n,enumerable:!0}):e,n));var v=G((me,xt)=>{xt.exports=ftGlobals.wcUtils});var K=G(($e,dt)=>{dt.exports=ftGlobals.lit});var tt=G((ue,mt)=>{mt.exports=ftGlobals.litDecorators});var vt=G((_e,_t)=>{_t.exports=ftGlobals.litRepeat});var oe=x(v());var I=x(K()),R=x(tt());var $t=x(K()),ut=x(v()),le={position:ut.FtCssVariableFactory.create("--ft-content-watermark-position","Position property of the watermark container","POSITION","sticky")},bt=$t.css`
2
2
  :host {
3
3
  position: absolute;
4
4
  top: 0;
@@ -17,112 +17,122 @@
17
17
  .ft-watermark {
18
18
  z-index: 79;
19
19
  }
20
- `;var te=m(vt()),ee=m(v());var at=globalThis,At=n=>n,K=at.trustedTypes,St=K?K.createPolicy("lit-html",{createHTML:n=>n}):void 0,Wt="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,Ct="?"+_,fe=`<${Ct}>`,T=document,q=()=>T.createComment(""),U=n=>n===null||typeof n!="object"&&typeof n!="function",pt=Array.isArray,ge=n=>pt(n)||typeof n?.[Symbol.iterator]=="function",et=`[
21
- \f\r]`,V=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Tt=/-->/g,wt=/>/g,A=RegExp(`>|${et}(?:([^\\s"'>=/]+)(${et}*=${et}*(?:[^
22
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Ht=/'/g,Ft=/"/g,Nt=/^(?:script|style|textarea|title)$/i,ht=n=>(t,...e)=>({_$litType$:n,strings:t,values:e}),Bt=ht(1),Ot=ht(2),Mt=ht(3),j=Symbol.for("lit-noChange"),c=Symbol.for("lit-nothing"),zt=new WeakMap,S=T.createTreeWalker(T,129);function Rt(n,t){if(!pt(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return St!==void 0?St.createHTML(t):t}var ye=(n,t)=>{let e=n.length-1,i=[],o,s=t===2?"<svg>":t===3?"<math>":"",a=V;for(let g=0;g<e;g++){let h=n[g],l,y,f=-1,x=0;for(;x<h.length&&(a.lastIndex=x,y=a.exec(h),y!==null);)x=a.lastIndex,a===V?y[1]==="!--"?a=Tt:y[1]!==void 0?a=wt:y[2]!==void 0?(Nt.test(y[2])&&(o=RegExp("</"+y[2],"g")),a=A):y[3]!==void 0&&(a=A):a===A?y[0]===">"?(a=o??V,f=-1):y[1]===void 0?f=-2:(f=a.lastIndex-y[2].length,l=y[1],a=y[3]===void 0?A:y[3]==='"'?Ft:Ht):a===Ft||a===Ht?a=A:a===Tt||a===wt?a=V:(a=A,o=void 0);let b=a===A&&n[g+1].startsWith("/>")?" ":"";s+=a===V?h+fe:f>=0?(i.push(l),h.slice(0,f)+Wt+h.slice(f)+_+b):h+_+(f===-2?g:b)}return[Rt(n,s+(n[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]},D=class n{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,a=0,g=t.length-1,h=this.parts,[l,y]=ye(t,e);if(this.el=n.createElement(l,i),S.currentNode=this.el.content,e===2||e===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(o=S.nextNode())!==null&&h.length<g;){if(o.nodeType===1){if(o.hasAttributes())for(let f of o.getAttributeNames())if(f.endsWith(Wt)){let x=y[a++],b=o.getAttribute(f).split(_),L=/([.?@])?(.*)/.exec(x);h.push({type:1,index:s,name:L[2],strings:b,ctor:L[1]==="."?nt:L[1]==="?"?ot:L[1]==="@"?rt:z}),o.removeAttribute(f)}else f.startsWith(_)&&(h.push({type:6,index:s}),o.removeAttribute(f));if(Nt.test(o.tagName)){let f=o.textContent.split(_),x=f.length-1;if(x>0){o.textContent=K?K.emptyScript:"";for(let b=0;b<x;b++)o.append(f[b],q()),S.nextNode(),h.push({type:2,index:++s});o.append(f[x],q())}}}else if(o.nodeType===8)if(o.data===Ct)h.push({type:2,index:s});else{let f=-1;for(;(f=o.data.indexOf(_,f+1))!==-1;)h.push({type:7,index:s}),f+=_.length-1}s++}}static createElement(t,e){let i=T.createElement("template");return i.innerHTML=t,i}};function F(n,t,e=n,i){if(t===j)return t;let o=i!==void 0?e._$Co?.[i]:e._$Cl,s=U(t)?void 0:t._$litDirective$;return o?.constructor!==s&&(o?._$AO?.(!1),s===void 0?o=void 0:(o=new s(n),o._$AT(n,e,i)),i!==void 0?(e._$Co??=[])[i]=o:e._$Cl=o),o!==void 0&&(t=F(n,o._$AS(n,t.values),o,i)),t}var it=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,o=(t?.creationScope??T).importNode(e,!0);S.currentNode=o;let s=S.nextNode(),a=0,g=0,h=i[0];for(;h!==void 0;){if(a===h.index){let l;h.type===2?l=new J(s,s.nextSibling,this,t):h.type===1?l=new h.ctor(s,h.name,h.strings,this,t):h.type===6&&(l=new st(s,this,t)),this._$AV.push(l),h=i[++g]}a!==h?.index&&(s=S.nextNode(),a++)}return S.currentNode=T,o}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++}},J=class n{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,o){this.type=2,this._$AH=c,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cv=o?.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=F(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(T.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:i}=t,o=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=D.createElement(Rt(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===o)this._$AH.p(e);else{let s=new it(o,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 D(t)),e}k(t){pt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,i,o=0;for(let s of t)o===e.length?e.push(i=new n(this.O(q()),this.O(q()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$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))}},z=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,o,s){this.type=1,this._$AH=c,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,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,o){let s=this.strings,a=!1;if(s===void 0)t=F(this,t,e,0),a=!U(t)||t!==this._$AH&&t!==j,a&&(this._$AH=t);else{let g=t,h,l;for(t=s[0],h=0;h<s.length-1;h++)l=F(this,g[i+h],e,h),l===j&&(l=this._$AH[h]),a||=!U(l)||l!==this._$AH[h],l===c?t=c:t!==c&&(t+=(l??"")+s[h+1]),this._$AH[h]=l}a&&!o&&this.j(t)}j(t){t===c?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},nt=class extends z{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===c?void 0:t}},ot=class extends z{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==c)}},rt=class extends z{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){if((t=F(this,t,e,0)??c)===j)return;let i=this._$AH,o=t===c&&i!==c||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,s=t!==c&&(i===c||o);o&&this.element.removeEventListener(this.name,this,i),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)}},st=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){F(this,t)}};var ce=at.litHtmlPolyfillSupport;ce?.(D,J),(at.litHtmlVersions??=[]).push("3.3.3");var kt=Symbol.for(""),me=n=>{if(n?.r===kt)return n?._$litStatic$},lt=n=>({_$litStatic$:n,r:kt});var Et=new Map,ft=n=>(t,...e)=>{let i=e.length,o,s,a=[],g=[],h,l=0,y=!1;for(;l<i;){for(h=t[l];l<i&&(s=e[l],(o=me(s))!==void 0);)h+=o+t[++l],y=!0;l!==i&&g.push(s),a.push(h),l++}if(l===i&&a.push(t[i]),y){let f=a.join("$$lit$$");(t=Et.get(f))===void 0&&(a.raw=a,Et.set(f,t=a)),e=g}return n(t,...e)},gt=ft(Bt),Se=ft(Ot),Te=ft(Mt);var yt=m(tt()),Qt=m(v());var Q;(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"})(Q||(Q={}));var d=m(Z()),r=m(v()),It=r.FtCssVariableFactory.extend("--ft-typography-font-family","",r.designSystemVariables.titleFont),$=r.FtCssVariableFactory.extend("--ft-typography-font-family","",r.designSystemVariables.contentFont),p={fontFamily:$,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","",It),fontSize:r.FtCssVariableFactory.extend("--ft-typography-title-font-size","",p.fontSize,"20px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",p.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",p.letterSpacing,"0.15px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-title-line-height","",p.lineHeight,"1.2"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",p.textTransform,"inherit")},C={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",It),fontSize:r.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",p.fontSize,"14px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",p.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",p.letterSpacing,"0.105px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",p.lineHeight,"1.7"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",p.textTransform,"inherit")},N={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",$),fontSize:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",p.fontSize,"16px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",p.fontWeight,"600"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",p.letterSpacing,"0.144px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",p.lineHeight,"1.5"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",p.textTransform,"inherit")},B={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",$),fontSize:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",p.fontSize,"14px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",p.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",p.letterSpacing,"0.098px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",p.lineHeight,"1.7"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",p.textTransform,"inherit")},O={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",$),fontSize:r.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",p.fontSize,"16px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",p.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",p.letterSpacing,"0.496px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",p.lineHeight,"1.5"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",p.textTransform,"inherit")},M={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",$),fontSize:r.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",p.fontSize,"14px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",p.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",p.letterSpacing,"0.252px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",p.lineHeight,"1.4"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",p.textTransform,"inherit")},R={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",$),fontSize:r.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",p.fontSize,"12px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",p.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",p.letterSpacing,"0.396px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",p.lineHeight,"1.33"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",p.textTransform,"inherit")},E={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",$),fontSize:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",p.fontSize,"10px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",p.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",p.letterSpacing,"0.33px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",p.lineHeight,"1.6"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",p.textTransform,"inherit")},k={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",$),fontSize:r.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",p.fontSize,"10px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",p.fontWeight,"normal"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",p.letterSpacing,"1.5px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",p.lineHeight,"1.6"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",p.textTransform,"uppercase")},I={fontFamily:r.FtCssVariableFactory.extend("--ft-typography-button-font-family","",$),fontSize:r.FtCssVariableFactory.extend("--ft-typography-button-font-size","",p.fontSize,"14px"),fontWeight:r.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",p.fontWeight,"600"),letterSpacing:r.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",p.letterSpacing,"1.246px"),lineHeight:r.FtCssVariableFactory.extend("--ft-typography-button-line-height","",p.lineHeight,"1.15"),textTransform:r.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",p.textTransform,"uppercase")},Pt=d.css`
20
+ `;var te=x(vt()),ee=x(v());var at=globalThis,At=n=>n,Z=at.trustedTypes,St=Z?Z.createPolicy("lit-html",{createHTML:n=>n}):void 0,Dt="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,Wt="?"+_,fe=`<${Wt}>`,T=document,q=()=>T.createComment(""),U=n=>n===null||typeof n!="object"&&typeof n!="function",pt=Array.isArray,ye=n=>pt(n)||typeof n?.[Symbol.iterator]=="function",et=`[
21
+ \f\r]`,P=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Tt=/-->/g,wt=/>/g,A=RegExp(`>|${et}(?:([^\\s"'>=/]+)(${et}*=${et}*(?:[^
22
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Ht=/'/g,Ft=/"/g,Ct=/^(?:script|style|textarea|title)$/i,ht=n=>(t,...e)=>({_$litType$:n,strings:t,values:e}),Nt=ht(1),Bt=ht(2),Ot=ht(3),V=Symbol.for("lit-noChange"),c=Symbol.for("lit-nothing"),zt=new WeakMap,S=T.createTreeWalker(T,129);function Mt(n,t){if(!pt(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return St!==void 0?St.createHTML(t):t}var ge=(n,t)=>{let e=n.length-1,i=[],r,a=t===2?"<svg>":t===3?"<math>":"",p=P;for(let y=0;y<e;y++){let h=n[y],l,g,f=-1,m=0;for(;m<h.length&&(p.lastIndex=m,g=p.exec(h),g!==null);)m=p.lastIndex,p===P?g[1]==="!--"?p=Tt:g[1]!==void 0?p=wt:g[2]!==void 0?(Ct.test(g[2])&&(r=RegExp("</"+g[2],"g")),p=A):g[3]!==void 0&&(p=A):p===A?g[0]===">"?(p=r??P,f=-1):g[1]===void 0?f=-2:(f=p.lastIndex-g[2].length,l=g[1],p=g[3]===void 0?A:g[3]==='"'?Ft:Ht):p===Ft||p===Ht?p=A:p===Tt||p===wt?p=P:(p=A,r=void 0);let b=p===A&&n[y+1].startsWith("/>")?" ":"";a+=p===P?h+fe:f>=0?(i.push(l),h.slice(0,f)+Dt+h.slice(f)+_+b):h+_+(f===-2?y:b)}return[Mt(n,a+(n[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]},j=class n{constructor({strings:t,_$litType$:e},i){let r;this.parts=[];let a=0,p=0,y=t.length-1,h=this.parts,[l,g]=ge(t,e);if(this.el=n.createElement(l,i),S.currentNode=this.el.content,e===2||e===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(r=S.nextNode())!==null&&h.length<y;){if(r.nodeType===1){if(r.hasAttributes())for(let f of r.getAttributeNames())if(f.endsWith(Dt)){let m=g[p++],b=r.getAttribute(f).split(_),L=/([.?@])?(.*)/.exec(m);h.push({type:1,index:a,name:L[2],strings:b,ctor:L[1]==="."?ot:L[1]==="?"?nt:L[1]==="@"?rt:k}),r.removeAttribute(f)}else f.startsWith(_)&&(h.push({type:6,index:a}),r.removeAttribute(f));if(Ct.test(r.tagName)){let f=r.textContent.split(_),m=f.length-1;if(m>0){r.textContent=Z?Z.emptyScript:"";for(let b=0;b<m;b++)r.append(f[b],q()),S.nextNode(),h.push({type:2,index:++a});r.append(f[m],q())}}}else if(r.nodeType===8)if(r.data===Wt)h.push({type:2,index:a});else{let f=-1;for(;(f=r.data.indexOf(_,f+1))!==-1;)h.push({type:7,index:a}),f+=_.length-1}a++}}static createElement(t,e){let i=T.createElement("template");return i.innerHTML=t,i}};function E(n,t,e=n,i){if(t===V)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=E(n,r._$AS(n,t.values),r,i)),t}var it=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??T).importNode(e,!0);S.currentNode=r;let a=S.nextNode(),p=0,y=0,h=i[0];for(;h!==void 0;){if(p===h.index){let l;h.type===2?l=new J(a,a.nextSibling,this,t):h.type===1?l=new h.ctor(a,h.name,h.strings,this,t):h.type===6&&(l=new st(a,this,t)),this._$AV.push(l),h=i[++y]}p!==h?.index&&(a=S.nextNode(),p++)}return S.currentNode=T,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++}},J=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=E(this,t,e),U(t)?t===c||t==null||t===""?(this._$AH!==c&&this._$AR(),this._$AH=c):t!==this._$AH&&t!==V&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):ye(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(T.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=j.createElement(Mt(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===r)this._$AH.p(e);else{let a=new it(r,this),p=a.u(this.options);a.p(e),this.T(p),this._$AH=a}}_$AC(t){let e=zt.get(t.strings);return e===void 0&&zt.set(t.strings,e=new j(t)),e}k(t){pt(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(q()),this.O(q()),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))}},k=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,p=!1;if(a===void 0)t=E(this,t,e,0),p=!U(t)||t!==this._$AH&&t!==V,p&&(this._$AH=t);else{let y=t,h,l;for(t=a[0],h=0;h<a.length-1;h++)l=E(this,y[i+h],e,h),l===V&&(l=this._$AH[h]),p||=!U(l)||l!==this._$AH[h],l===c?t=c:t!==c&&(t+=(l??"")+a[h+1]),this._$AH[h]=l}p&&!r&&this.j(t)}j(t){t===c?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ot=class extends k{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===c?void 0:t}},nt=class extends k{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==c)}},rt=class extends k{constructor(t,e,i,r,a){super(t,e,i,r,a),this.type=5}_$AI(t,e=this){if((t=E(this,t,e,0)??c)===V)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)}},st=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){E(this,t)}};var ce=at.litHtmlPolyfillSupport;ce?.(j,J),(at.litHtmlVersions??=[]).push("3.3.3");var Et=Symbol.for(""),xe=n=>{if(n?.r===Et)return n?._$litStatic$},lt=n=>({_$litStatic$:n,r:Et});var Rt=new Map,ft=n=>(t,...e)=>{let i=e.length,r,a,p=[],y=[],h,l=0,g=!1;for(;l<i;){for(h=t[l];l<i&&(a=e[l],(r=xe(a))!==void 0);)h+=r+t[++l],g=!0;l!==i&&y.push(a),p.push(h),l++}if(l===i&&p.push(t[i]),g){let f=p.join("$$lit$$");(t=Rt.get(f))===void 0&&(p.raw=p,Rt.set(f,t=p)),e=y}return n(t,...e)},yt=ft(Nt),Se=ft(Bt),Te=ft(Ot);var gt=x(tt()),Qt=x(v());var Q;(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"})(Q||(Q={}));var d=x(K()),o=x(v()),kt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),$=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),s={fontFamily:$,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")},w={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")},H={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")},F={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",$),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")},z={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",$),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")},D={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",$),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")},W={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",$),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")},C={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",$),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")},N={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",$),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")},B={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",$),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")},O={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",$),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")},It=d.css`
23
23
  .ft-typography--title {
24
+ font-family: ${w.fontFamily};
25
+ font-size: ${w.fontSize};
26
+ font-weight: ${w.fontWeight};
27
+ letter-spacing: ${w.letterSpacing};
28
+ line-height: ${w.lineHeight};
29
+ text-transform: ${w.textTransform};
30
+ text-decoration: ${w.textDecoration};
31
+ }
32
+ `,Pt=d.css`
33
+ .ft-typography--title-dense {
34
+ font-family: ${H.fontFamily};
35
+ font-size: ${H.fontSize};
36
+ font-weight: ${H.fontWeight};
37
+ letter-spacing: ${H.letterSpacing};
38
+ line-height: ${H.lineHeight};
39
+ text-transform: ${H.textTransform};
40
+ text-decoration: ${H.textDecoration};
41
+ }
42
+ `,Ut=d.css`
43
+ .ft-typography--subtitle1 {
44
+ font-family: ${F.fontFamily};
45
+ font-size: ${F.fontSize};
46
+ font-weight: ${F.fontWeight};
47
+ letter-spacing: ${F.letterSpacing};
48
+ line-height: ${F.lineHeight};
49
+ text-transform: ${F.textTransform};
50
+ text-decoration: ${F.textDecoration};
51
+ }
52
+ `,Vt=d.css`
53
+ .ft-typography--subtitle2 {
54
+ font-family: ${z.fontFamily};
55
+ font-size: ${z.fontSize};
56
+ font-weight: ${z.fontWeight};
57
+ letter-spacing: ${z.letterSpacing};
58
+ line-height: ${z.lineHeight};
59
+ text-transform: ${z.textTransform};
60
+ text-decoration: ${z.textDecoration};
61
+ }
62
+
63
+ `,X=d.css`
64
+ .ft-typography--body1 {
65
+ font-family: ${D.fontFamily};
66
+ font-size: ${D.fontSize};
67
+ font-weight: ${D.fontWeight};
68
+ letter-spacing: ${D.letterSpacing};
69
+ line-height: ${D.lineHeight};
70
+ text-transform: ${D.textTransform};
71
+ text-decoration: ${D.textDecoration};
72
+ }
73
+ `,jt=d.css`
74
+ .ft-typography--body2 {
24
75
  font-family: ${W.fontFamily};
25
76
  font-size: ${W.fontSize};
26
77
  font-weight: ${W.fontWeight};
27
78
  letter-spacing: ${W.letterSpacing};
28
79
  line-height: ${W.lineHeight};
29
80
  text-transform: ${W.textTransform};
81
+ text-decoration: ${W.textDecoration};
30
82
  }
31
- `,Vt=d.css`
32
- .ft-typography--title-dense {
83
+ `,Lt=d.css`
84
+ .ft-typography--caption {
33
85
  font-family: ${C.fontFamily};
34
86
  font-size: ${C.fontSize};
35
87
  font-weight: ${C.fontWeight};
36
88
  letter-spacing: ${C.letterSpacing};
37
89
  line-height: ${C.lineHeight};
38
90
  text-transform: ${C.textTransform};
91
+ text-decoration: ${C.textDecoration};
39
92
  }
40
- `,Ut=d.css`
41
- .ft-typography--subtitle1 {
93
+ `,Gt=d.css`
94
+ .ft-typography--breadcrumb {
42
95
  font-family: ${N.fontFamily};
43
96
  font-size: ${N.fontSize};
44
97
  font-weight: ${N.fontWeight};
45
98
  letter-spacing: ${N.letterSpacing};
46
99
  line-height: ${N.lineHeight};
47
100
  text-transform: ${N.textTransform};
101
+ text-decoration: ${N.textDecoration};
48
102
  }
49
- `,jt=d.css`
50
- .ft-typography--subtitle2 {
103
+ `,Kt=d.css`
104
+ .ft-typography--overline {
51
105
  font-family: ${B.fontFamily};
52
106
  font-size: ${B.fontSize};
53
107
  font-weight: ${B.fontWeight};
54
108
  letter-spacing: ${B.letterSpacing};
55
109
  line-height: ${B.lineHeight};
56
110
  text-transform: ${B.textTransform};
111
+ text-decoration: ${B.textDecoration};
57
112
  }
58
-
59
- `,X=d.css`
60
- .ft-typography--body1 {
113
+ `,Zt=d.css`
114
+ .ft-typography--button {
61
115
  font-family: ${O.fontFamily};
62
116
  font-size: ${O.fontSize};
63
117
  font-weight: ${O.fontWeight};
64
118
  letter-spacing: ${O.letterSpacing};
65
119
  line-height: ${O.lineHeight};
66
120
  text-transform: ${O.textTransform};
67
- }
68
- `,Dt=d.css`
69
- .ft-typography--body2 {
70
- font-family: ${M.fontFamily};
71
- font-size: ${M.fontSize};
72
- font-weight: ${M.fontWeight};
73
- letter-spacing: ${M.letterSpacing};
74
- line-height: ${M.lineHeight};
75
- text-transform: ${M.textTransform};
76
- }
77
- `,Lt=d.css`
78
- .ft-typography--caption {
79
- font-family: ${R.fontFamily};
80
- font-size: ${R.fontSize};
81
- font-weight: ${R.fontWeight};
82
- letter-spacing: ${R.letterSpacing};
83
- line-height: ${R.lineHeight};
84
- text-transform: ${R.textTransform};
85
- }
86
- `,Gt=d.css`
87
- .ft-typography--breadcrumb {
88
- font-family: ${E.fontFamily};
89
- font-size: ${E.fontSize};
90
- font-weight: ${E.fontWeight};
91
- letter-spacing: ${E.letterSpacing};
92
- line-height: ${E.lineHeight};
93
- text-transform: ${E.textTransform};
94
- }
95
- `,Zt=d.css`
96
- .ft-typography--overline {
97
- font-family: ${k.fontFamily};
98
- font-size: ${k.fontSize};
99
- font-weight: ${k.fontWeight};
100
- letter-spacing: ${k.letterSpacing};
101
- line-height: ${k.lineHeight};
102
- text-transform: ${k.textTransform};
103
- }
104
- `,Kt=d.css`
105
- .ft-typography--button {
106
- font-family: ${I.fontFamily};
107
- font-size: ${I.fontSize};
108
- font-weight: ${I.fontWeight};
109
- letter-spacing: ${I.letterSpacing};
110
- line-height: ${I.lineHeight};
111
- text-transform: ${I.textTransform};
121
+ text-decoration: ${O.textDecoration};
112
122
  }
113
123
  `,qt=d.css`
114
124
  .ft-typography {
115
125
  vertical-align: inherit;
116
126
  }
117
- `;var Jt=function(n,t,e,i){var o=arguments.length,s=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,e):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(n,t,e,i);else for(var g=n.length-1;g>=0;g--)(a=n[g])&&(s=(o<3?a(s):o>3?a(t,e,s):a(t,e))||s);return o>3&&s&&Object.defineProperty(t,e,s),s},w=class extends Qt.FtLitElement{constructor(){super(...arguments),this.variant=Q.body1}render(){return this.element?gt`
127
+ `;var Jt=function(n,t,e,i){var r=arguments.length,a=r<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,e):i,p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(n,t,e,i);else for(var y=n.length-1;y>=0;y--)(p=n[y])&&(a=(r<3?p(a):r>3?p(t,e,a):p(t,e))||a);return r>3&&a&&Object.defineProperty(t,e,a),a},M=class extends Qt.FtLitElement{constructor(){super(...arguments),this.variant=Q.body1}render(){return this.element?yt`
118
128
  <${lt(this.element)}
119
129
  part="text"
120
130
  class="ft-typography ft-typography--${this.variant}">
121
131
  <slot></slot>
122
132
  </${lt(this.element)}>
123
- `:gt`
133
+ `:yt`
124
134
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
125
- `}};w.styles=[Pt,Vt,Ut,jt,X,Dt,Lt,Gt,Zt,Kt,qt];Jt([(0,yt.property)()],w.prototype,"element",void 0);Jt([(0,yt.property)()],w.prototype,"variant",void 0);var Yt=m(v());var Xt={"ft-typography":w};(0,Yt.customElements)(Xt);var Y=function(n,t,e,i){var o=arguments.length,s=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,e):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(n,t,e,i);else for(var g=n.length-1;g>=0;g--)(a=n[g])&&(s=(o<3?a(s):o>3?a(t,e,s):a(t,e))||s);return o>3&&s&&Object.defineProperty(t,e,s),s},u=class extends ee.FtLitElement{constructor(){super(...arguments),this.height=0,this.resizeObserver=new ResizeObserver(([t])=>{this.height=Math.min(t.contentRect.height,t.contentRect.width)})}render(){var t,e,i;return this.watermark?P.html`
135
+ `}};M.styles=[It,Pt,Ut,Vt,X,jt,Lt,Gt,Kt,Zt,qt];Jt([(0,gt.property)()],M.prototype,"element",void 0);Jt([(0,gt.property)()],M.prototype,"variant",void 0);var Yt=x(v());var Xt={"ft-typography":M};(0,Yt.customElements)(Xt);var Y=function(n,t,e,i){var r=arguments.length,a=r<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,e):i,p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(n,t,e,i);else for(var y=n.length-1;y>=0;y--)(p=n[y])&&(a=(r<3?p(a):r>3?p(t,e,a):p(t,e))||a);return r>3&&a&&Object.defineProperty(t,e,a),a},u=class extends ee.FtLitElement{constructor(){super(...arguments),this.height=0,this.resizeObserver=new ResizeObserver(([t])=>{this.height=Math.min(t.contentRect.height,t.contentRect.width)})}render(){var t,e,i;return this.watermark?I.html`
126
136
  <style>
127
137
  .ft-watermark {
128
138
  height: ${this.height}px;
@@ -137,11 +147,11 @@
137
147
  transform="rotate(-45)"
138
148
  fill="${(t=this.watermark)===null||t===void 0?void 0:t.color}"
139
149
  fill-opacity="${(e=this.watermark)===null||e===void 0?void 0:e.opacity}%">
140
- ${(0,te.repeat)(((i=this.watermark)===null||i===void 0?void 0:i.text)||[],o=>P.svg`<tspan x="0" dy="1.2em">${o}</tspan>`)}
150
+ ${(0,te.repeat)(((i=this.watermark)===null||i===void 0?void 0:i.text)||[],r=>I.svg`<tspan x="0" dy="1.2em">${r}</tspan>`)}
141
151
  </text>
142
152
  </svg>
143
153
  </div>
144
- `:P.nothing}updated(t){if(super.updated(t),t.has("watermark")&&this.watermark){let e=this.svg.getBBox({stroke:!0});this.svg.setAttribute("viewBox",e.x+" "+e.y+" "+e.width+" "+e.height)}t.has("heightReference")&&this.heightReference&&(this.resizeObserver.disconnect(),this.resizeObserver.observe(this.heightReference))}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.disconnect()}};u.styles=[bt,X];Y([(0,H.query)(".ft-watermark")],u.prototype,"svg",void 0);Y([(0,H.property)({attribute:!1})],u.prototype,"watermark",void 0);Y([(0,H.property)({attribute:!1})],u.prototype,"heightReference",void 0);Y([(0,H.state)()],u.prototype,"height",void 0);var ie={"ft-content-watermark":u};(0,ne.customElements)(ie);})();
154
+ `:I.nothing}updated(t){if(super.updated(t),t.has("watermark")&&this.watermark){let e=this.svg.getBBox({stroke:!0});this.svg.setAttribute("viewBox",e.x+" "+e.y+" "+e.width+" "+e.height)}t.has("heightReference")&&this.heightReference&&(this.resizeObserver.disconnect(),this.resizeObserver.observe(this.heightReference))}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.disconnect()}};u.styles=[bt,X];Y([(0,R.query)(".ft-watermark")],u.prototype,"svg",void 0);Y([(0,R.property)({attribute:!1})],u.prototype,"watermark",void 0);Y([(0,R.property)({attribute:!1})],u.prototype,"heightReference",void 0);Y([(0,R.state)()],u.prototype,"height",void 0);var ie={"ft-content-watermark":u};(0,oe.customElements)(ie);})();
145
155
  /*! Bundled license information:
146
156
 
147
157
  lit-html/lit-html.js: