@fluid-topics/ft-content-watermark 2.1.12 → 2.1.14

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 ne=Object.getOwnPropertyDescriptor;var re=Object.getOwnPropertyNames;var se=Object.getPrototypeOf,ae=Object.prototype.hasOwnProperty;var Z=(o,t)=>()=>{try{return t||o((t={exports:{}}).exports,t),t.exports}catch(e){throw t=0,e}};var pe=(o,t,e,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of re(t))!ae.call(o,n)&&n!==e&&ct(o,n,{get:()=>t[n],enumerable:!(i=ne(t,n))||i.enumerable});return o};var m=(o,t,e)=>(e=o!=null?oe(se(o)):{},pe(t||!o||!o.__esModule?ct(e,"default",{value:o,enumerable:!0}):e,o));var v=Z((de,mt)=>{mt.exports=ftGlobals.wcUtils});var G=Z((xe,dt)=>{dt.exports=ftGlobals.lit});var tt=Z(($e,xt)=>{xt.exports=ftGlobals.litDecorators});var vt=Z((be,_t)=>{_t.exports=ftGlobals.litRepeat});var ie=m(v());var P=m(G()),H=m(tt());var $t=m(G()),ut=m(v()),he={position:ut.FtCssVariableFactory.create("--ft-content-watermark-position","Position property of the watermark container","POSITION","sticky")},bt=$t.css`
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`
2
2
  :host {
3
3
  position: absolute;
4
4
  top: 0;
@@ -9,7 +9,7 @@
9
9
  }
10
10
 
11
11
  .ft-watermark-container {
12
- position: ${he.position};
12
+ position: ${le.position};
13
13
  top: 0;
14
14
  text-align: center;
15
15
  }
@@ -17,9 +17,9 @@
17
17
  .ft-watermark {
18
18
  z-index: 79;
19
19
  }
20
- `;var Yt=m(vt()),te=m(v());var at=globalThis,K=at.trustedTypes,At=K?K.createPolicy("lit-html",{createHTML:o=>o}):void 0,zt="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,Wt="?"+_,le=`<${Wt}>`,T=document,q=()=>T.createComment(""),U=o=>o===null||typeof o!="object"&&typeof o!="function",pt=Array.isArray,fe=o=>pt(o)||typeof o?.[Symbol.iterator]=="function",et=`[
21
- \f\r]`,V=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,St=/-->/g,Tt=/>/g,A=RegExp(`>|${et}(?:([^\\s"'>=/]+)(${et}*=${et}*(?:[^
22
- \f\r"'\`<>=]|("|')|))|$)`,"g"),wt=/'/g,Ht=/"/g,Ct=/^(?:script|style|textarea|title)$/i,ht=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),Nt=ht(1),Bt=ht(2),Ot=ht(3),j=Symbol.for("lit-noChange"),c=Symbol.for("lit-nothing"),Ft=new WeakMap,S=T.createTreeWalker(T,129);function Rt(o,t){if(!pt(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return At!==void 0?At.createHTML(t):t}var ge=(o,t)=>{let e=o.length-1,i=[],n,s=t===2?"<svg>":t===3?"<math>":"",a=V;for(let g=0;g<e;g++){let h=o[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=St:y[1]!==void 0?a=Tt:y[2]!==void 0?(Ct.test(y[2])&&(n=RegExp("</"+y[2],"g")),a=A):y[3]!==void 0&&(a=A):a===A?y[0]===">"?(a=n??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]==='"'?Ht:wt):a===Ht||a===wt?a=A:a===St||a===Tt?a=V:(a=A,n=void 0);let b=a===A&&o[g+1].startsWith("/>")?" ":"";s+=a===V?h+le:f>=0?(i.push(l),h.slice(0,f)+zt+h.slice(f)+_+b):h+_+(f===-2?g:b)}return[Rt(o,s+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]},D=class o{constructor({strings:t,_$litType$:e},i){let n;this.parts=[];let s=0,a=0,g=t.length-1,h=this.parts,[l,y]=ge(t,e);if(this.el=o.createElement(l,i),S.currentNode=this.el.content,e===2||e===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(n=S.nextNode())!==null&&h.length<g;){if(n.nodeType===1){if(n.hasAttributes())for(let f of n.getAttributeNames())if(f.endsWith(zt)){let x=y[a++],b=n.getAttribute(f).split(_),L=/([.?@])?(.*)/.exec(x);h.push({type:1,index:s,name:L[2],strings:b,ctor:L[1]==="."?ot:L[1]==="?"?nt:L[1]==="@"?rt:z}),n.removeAttribute(f)}else f.startsWith(_)&&(h.push({type:6,index:s}),n.removeAttribute(f));if(Ct.test(n.tagName)){let f=n.textContent.split(_),x=f.length-1;if(x>0){n.textContent=K?K.emptyScript:"";for(let b=0;b<x;b++)n.append(f[b],q()),S.nextNode(),h.push({type:2,index:++s});n.append(f[x],q())}}}else if(n.nodeType===8)if(n.data===Wt)h.push({type:2,index:s});else{let f=-1;for(;(f=n.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(o,t,e=o,i){if(t===j)return t;let n=i!==void 0?e._$Co?.[i]:e._$Cl,s=U(t)?void 0:t._$litDirective$;return n?.constructor!==s&&(n?._$AO?.(!1),s===void 0?n=void 0:(n=new s(o),n._$AT(o,e,i)),i!==void 0?(e._$Co??=[])[i]=n:e._$Cl=n),n!==void 0&&(t=F(o,n._$AS(o,t.values),n,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,n=(t?.creationScope??T).importNode(e,!0);S.currentNode=n;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,n}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 o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,n){this.type=2,this._$AH=c,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,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=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):fe(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,n=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===n)this._$AH.p(e);else{let s=new it(n,this),a=s.u(this.options);s.p(e),this.T(a),this._$AH=s}}_$AC(t){let e=Ft.get(t.strings);return e===void 0&&Ft.set(t.strings,e=new D(t)),e}k(t){pt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,i,n=0;for(let s of t)n===e.length?e.push(i=new o(this.O(q()),this.O(q()),this,this.options)):i=e[n],i._$AI(s),n++;n<e.length&&(this._$AR(i&&i._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let i=t.nextSibling;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,n,s){this.type=1,this._$AH=c,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,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,n){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&&!n&&this.j(t)}j(t){t===c?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ot=class extends z{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===c?void 0:t}},nt=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,n,s){super(t,e,i,n,s),this.type=5}_$AI(t,e=this){if((t=F(this,t,e,0)??c)===j)return;let i=this._$AH,n=t===c&&i!==c||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,s=t!==c&&(i===c||n);n&&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 ye=at.litHtmlPolyfillSupport;ye?.(D,J),(at.litHtmlVersions??=[]).push("3.3.0");var Mt=Symbol.for(""),ce=o=>{if(o?.r===Mt)return o?._$litStatic$},lt=o=>({_$litStatic$:o,r:Mt});var Et=new Map,ft=o=>(t,...e)=>{let i=e.length,n,s,a=[],g=[],h,l=0,y=!1;for(;l<i;){for(h=t[l];l<i&&(s=e[l],(n=ce(s))!==void 0);)h+=n+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 o(t,...e)},gt=ft(Nt),Ae=ft(Bt),Se=ft(Ot);var yt=m(tt()),Jt=m(v());var Q;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button"})(Q||(Q={}));var d=m(G()),r=m(v()),kt=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","",kt),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","",kt),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")},R={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")},E={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")},M={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")},It=d.css`
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`
23
23
  .ft-typography--title {
24
24
  font-family: ${W.fontFamily};
25
25
  font-size: ${W.fontSize};
@@ -28,7 +28,7 @@
28
28
  line-height: ${W.lineHeight};
29
29
  text-transform: ${W.textTransform};
30
30
  }
31
- `,Pt=d.css`
31
+ `,Vt=d.css`
32
32
  .ft-typography--title-dense {
33
33
  font-family: ${C.fontFamily};
34
34
  font-size: ${C.fontSize};
@@ -37,7 +37,7 @@
37
37
  line-height: ${C.lineHeight};
38
38
  text-transform: ${C.textTransform};
39
39
  }
40
- `,Vt=d.css`
40
+ `,Ut=d.css`
41
41
  .ft-typography--subtitle1 {
42
42
  font-family: ${N.fontFamily};
43
43
  font-size: ${N.fontSize};
@@ -46,7 +46,7 @@
46
46
  line-height: ${N.lineHeight};
47
47
  text-transform: ${N.textTransform};
48
48
  }
49
- `,Ut=d.css`
49
+ `,jt=d.css`
50
50
  .ft-typography--subtitle2 {
51
51
  font-family: ${B.fontFamily};
52
52
  font-size: ${B.fontSize};
@@ -65,8 +65,17 @@
65
65
  line-height: ${O.lineHeight};
66
66
  text-transform: ${O.textTransform};
67
67
  }
68
- `,jt=d.css`
68
+ `,Dt=d.css`
69
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 {
70
79
  font-family: ${R.fontFamily};
71
80
  font-size: ${R.fontSize};
72
81
  font-weight: ${R.fontWeight};
@@ -74,8 +83,8 @@
74
83
  line-height: ${R.lineHeight};
75
84
  text-transform: ${R.textTransform};
76
85
  }
77
- `,Dt=d.css`
78
- .ft-typography--caption {
86
+ `,Gt=d.css`
87
+ .ft-typography--breadcrumb {
79
88
  font-family: ${E.fontFamily};
80
89
  font-size: ${E.fontSize};
81
90
  font-weight: ${E.fontWeight};
@@ -83,15 +92,6 @@
83
92
  line-height: ${E.lineHeight};
84
93
  text-transform: ${E.textTransform};
85
94
  }
86
- `,Lt=d.css`
87
- .ft-typography--breadcrumb {
88
- font-family: ${M.fontFamily};
89
- font-size: ${M.fontSize};
90
- font-weight: ${M.fontWeight};
91
- letter-spacing: ${M.letterSpacing};
92
- line-height: ${M.lineHeight};
93
- text-transform: ${M.textTransform};
94
- }
95
95
  `,Zt=d.css`
96
96
  .ft-typography--overline {
97
97
  font-family: ${k.fontFamily};
@@ -101,7 +101,7 @@
101
101
  line-height: ${k.lineHeight};
102
102
  text-transform: ${k.textTransform};
103
103
  }
104
- `,Gt=d.css`
104
+ `,Kt=d.css`
105
105
  .ft-typography--button {
106
106
  font-family: ${I.fontFamily};
107
107
  font-size: ${I.fontSize};
@@ -110,11 +110,11 @@
110
110
  line-height: ${I.lineHeight};
111
111
  text-transform: ${I.textTransform};
112
112
  }
113
- `,Kt=d.css`
113
+ `,qt=d.css`
114
114
  .ft-typography {
115
115
  vertical-align: inherit;
116
116
  }
117
- `;var qt=function(o,t,e,i){var n=arguments.length,s=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,e):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,t,e,i);else for(var g=o.length-1;g>=0;g--)(a=o[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},w=class extends Jt.FtLitElement{constructor(){super(...arguments),this.variant=Q.body1}render(){return this.element?gt`
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`
118
118
  <${lt(this.element)}
119
119
  part="text"
120
120
  class="ft-typography ft-typography--${this.variant}">
@@ -122,7 +122,7 @@
122
122
  </${lt(this.element)}>
123
123
  `:gt`
124
124
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
125
- `}};w.styles=[It,Pt,Vt,Ut,X,jt,Dt,Lt,Zt,Gt,Kt];qt([(0,yt.property)()],w.prototype,"element",void 0);qt([(0,yt.property)()],w.prototype,"variant",void 0);var Xt=m(v());var Qt={"ft-typography":w};(0,Xt.customElements)(Qt);var Y=function(o,t,e,i){var n=arguments.length,s=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,e):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(o,t,e,i);else for(var g=o.length-1;g>=0;g--)(a=o[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},u=class extends te.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`
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`
126
126
  <style>
127
127
  .ft-watermark {
128
128
  height: ${this.height}px;
@@ -137,11 +137,11 @@
137
137
  transform="rotate(-45)"
138
138
  fill="${(t=this.watermark)===null||t===void 0?void 0:t.color}"
139
139
  fill-opacity="${(e=this.watermark)===null||e===void 0?void 0:e.opacity}%">
140
- ${(0,Yt.repeat)(((i=this.watermark)===null||i===void 0?void 0:i.text)||[],n=>P.svg`<tspan x="0" dy="1.2em">${n}</tspan>`)}
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>`)}
141
141
  </text>
142
142
  </svg>
143
143
  </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 ee={"ft-content-watermark":u};(0,ie.customElements)(ee);})();
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);})();
145
145
  /*! Bundled license information:
146
146
 
147
147
  lit-html/lit-html.js: