@unlayer/exporters 1.398.0 → 1.400.0
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.
- package/index.cjs +77 -60
- package/index.js +77 -60
- package/package.json +2 -3
package/index.cjs
CHANGED
|
@@ -1,12 +1,29 @@
|
|
|
1
|
-
// @unlayer/exporters — generated 2026-04-
|
|
1
|
+
// @unlayer/exporters — generated 2026-04-12T13:28:22.591Z
|
|
2
2
|
|
|
3
|
-
var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDescriptor;var Gt=Object.getOwnPropertyNames;var qt=Object.getPrototypeOf,Xt=Object.prototype.hasOwnProperty;var Yt=(e,t)=>{for(var o in t)le(e,o,{get:t[o],enumerable:!0})},pt=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Gt(t))!Xt.call(e,i)&&i!==o&&le(e,i,{get:()=>t[i],enumerable:!(r=Zt(t,i))||r.enumerable});return e};var y=(e,t,o)=>(o=e!=null?Qt(qt(e)):{},pt(t||!e||!e.__esModule?le(o,"default",{value:e,enumerable:!0}):o,e)),Kt=e=>pt(le({},"__esModule",{value:!0}),e);var Ir={};Yt(Ir,{BodyDefaults:()=>Ar,BodyExporters:()=>tt,BodyHead:()=>ot,ButtonDefaults:()=>mr,ButtonExporters:()=>se,ButtonHead:()=>Te,ColumnDefaults:()=>Tr,ColumnExporters:()=>q,ColumnHead:()=>lt,ContentExporters:()=>at,ContentHead:()=>st,DividerDefaults:()=>fr,DividerExporters:()=>O,HeadingDefaults:()=>gr,HeadingExporters:()=>de,HeadingHead:()=>De,HtmlDefaults:()=>hr,HtmlExporters:()=>Ve,ImageDefaults:()=>br,ImageExporters:()=>pe,ImageHead:()=>ze,MenuDefaults:()=>_r,MenuExporters:()=>Re,ParagraphDefaults:()=>yr,ParagraphExporters:()=>me,ParagraphHead:()=>je,RowDefaults:()=>Sr,RowExporters:()=>X,RowHead:()=>ct,SocialDefaults:()=>xr,SocialExporters:()=>ie,TableDefaults:()=>kr,TableExporters:()=>fe,TableHead:()=>Oe,TextDefaults:()=>vr,TextExporters:()=>ge,TextHead:()=>Ze,TimerDefaults:()=>wr,TimerExporters:()=>Ge,TimerHead:()=>qe,VideoDefaults:()=>Cr,VideoExporters:()=>be,VideoHead:()=>et,exporters:()=>Hr,heads:()=>Wr,schemaVersion:()=>ur});module.exports=Kt(Ir);var Se=y(require("lodash/template")),Ce=y(require("lodash/unescape"));var eo=y(require("lodash/isPlainObject"));var ut=(e,t,o,r)=>{let i=[e,t,o,r];return Array.from(new Set(i)).length==1};function W(e){let o=(typeof e=="string"||typeof e=="number"?`${e||"0px"}`:"0px").trim().split(/\s+/).map(r=>parseFloat(r));return o.length===0?{top:void 0,right:void 0,bottom:void 0,left:void 0}:o.length===1?{top:o[0],right:o[0],bottom:o[0],left:o[0]}:o.length===2?{top:o[0],right:o[1],bottom:o[0],left:o[1]}:o.length===3?{top:o[0],right:o[1],bottom:o[2],left:o[1]}:{top:o[0],right:o[1],bottom:o[2],left:o[3]}}function mt(e,t){if(!e)return 0;let{top:o,right:r,bottom:i,left:n}=W(e),l=o||0,s=r||0,a=n||0,d=i||0;if(ut(l,s,a,d))return Math.round(l/(t/2)*100)/2;let m=(l+s+a+d)/4;return Math.round(m/(t/2)*100)/2}function ae(e,t){if(!e)return"";let o=t?" !important":"";return`-webkit-border-radius: ${e+o}; -moz-border-radius: ${e+o};`}var K=require("lodash");var ft=require("lodash");function Y(e,t={}){let{deep:o}=t||{};return Object.keys(e).reduce((r,i)=>{if(e[i]===void 0)return r;let n=o&&(0,ft.isPlainObject)(e[i])?Y(e[i],t):e[i];return{...r,[i]:n}},{})}function I(e,{escapeAndOperator:t=!1,escapeLT:o=!0,escapeGT:r=!0,escapeDoubleQuotes:i=!0,escapeSingleQuotes:n=!0}={}){if(!(e&&typeof e=="string"))return"";let l=e;return t&&(l=l.replace(/&/g,"&")),o&&(l=l.replace(/</g,"<")),r&&(l=l.replace(/>/g,">")),i&&(l=l.replace(/"/g,""")),n&&(l=l.replace(/'/g,"'")),l}function M(e){return!e||typeof e!="string"?"":e.replace(/\s+/g," ").trim()}function ke(e,t={}){return I(e,{escapeAndOperator:!1,escapeDoubleQuotes:!0,escapeGT:!0,escapeLT:!0,escapeSingleQuotes:!1,...t})}function gt(e,{shouldEscapeHtml:t=!0,isJSDOM:o=!1}={}){let r=t?ke:i=>i;return typeof e=="string"||!e?{href:r(e||""),target:"_blank"}:"url"in e?{href:r(e.url||""),target:e.target||"_blank"}:(()=>{let{attrs:i,values:n}=e,l=F("onClick",i,n)||void 0;if(typeof l=="function"&&(l=`${l}`),l&&!(l.startsWith("function")||l.match(/\(([a-zA-Z0-9_,=\'\"\`\{\}:\s]?)+\)\s+=>/)||l.match(/[a-zA-Z0-9_]+\(([a-zA-Z0-9_,=\'\"\`\{\}:\s]?)+\)\s+\{/)||l.match(/[a-zA-Z0-9]+\s+=>/))&&Object.keys(e.values||{}).length&&Object.keys(e.values||{}).some(c=>l?.includes(c))&&!i?.onClick?.match(/\{\{[a-zA-Z_]+\}\}/)&&(l=`function({${Object.keys(e.values||{}).join(",")}}) {${l}}`),l&&!l.startsWith("function")&&l.match(/[a-zA-Z0-9_]+\s*\(([a-zA-Z0-9_,=\'\"\`\{\}:\s]?)+\)\s*\{/)&&(l=l.replace(/([a-zA-Z0-9_]+\s*)(\(([a-zA-Z0-9_,=\'\"\`\{\}:\s]?)+\)\s*\{)/,"function$2")),l&&l.startsWith("function")&&l.match(/[a-zA-Z0-9_]+\s*\([\s\{\,}]*\)\s*\{/)&&(l=l.replace(/([a-zA-Z0-9_]+\s*\([\s\{\,}]*\)\s*\{\s*)(.+)(\s*\}[\s;]*)/,"$2").trim()),l&&(l.startsWith("function")||l.match(/\(([a-zA-Z0-9_,=\'\"\`\{\}:\s]?)+\)\s+=>/)||l.match(/[a-zA-Z0-9]+\s+=>/))){let c=Object.keys(e.values||{}).map(u=>{let f=u==="class"?" ":",",g=e.values[u],h=Array.isArray(g)?g.map(j).join(f):j(g);return`${u}:"${h}"`}).join(",");l=`(${l})({${c}})`}let s=F("href",i,n)||"",a=ro(i,n);if(Object.keys(i||{}).some(c=>ve(c)&&c.startsWith("data-")&&!c.startsWith("+"))&&Object.keys(a).every(u=>{let f=a[u];if(!f)return!0;if(typeof f!="string")return!1;let g=f.trim();return g===""||g.match(/^\{\{[^}]+\}\}$/)})&&!s&&!l)return{};let p={...a,href:r(s)||(l?"#":void 0),target:r(F("target",i,n))||(l?void 0:"_blank"),onClick:oo(r(l))||void 0,[o?"className":"class"]:r(F("class",i,n))||void 0,download:F("download",i,n)==="true"||F("download",i,n)===!0?"true":void 0};return Object.keys(i||{}).some(c=>ve(c)&&c.startsWith("data-")&&!c.startsWith("+"))&&Object.keys(a).every(u=>!a[u]||a[u].trim()==="")&&!s&&!l?{}:Y(p)})()}function x(e,t={href:""},{isJSDOM:o=!1}={}){let r={...(0,K.omit)(e?.customAttrs,["onClick"]),href:e?.url||void 0,target:e?.target||void 0,onclick:e?.onClick||void 0,[o?"className":"class"]:e?.class||void 0};return e?.customAttrs&&Object.keys(e.customAttrs).length>0&&Object.keys(e.customAttrs).every(l=>!e.customAttrs[l]||e.customAttrs[l].trim()==="")&&!e?.url&&!e?.onClick?{}:{...t,...Y(r)}}function S(e){if(!e)return!0;let t=(0,K.omit)({...e},["target"]);return t.href||delete t.href,t.onclick||delete t.onclick,t.onClick||delete t.onClick,!!(0,K.isEmpty)(Y(t))}function F(e,t,o){let r=`${(t&&t[e])??""}`,i=t&&t[`+${e}`];if(i){let l=r.startsWith("#")&&(i.startsWith("?")||i.startsWith("&"))?"":i.startsWith("?")&&r.includes("?")?i.replace("?","&"):i.startsWith("&")&&!r.includes("?")?i.replace("&","?"):i;r=`${r??""}${l??""}`}if(!r)return`${o&&o[e]||""}`;let n=r;if(Object.entries(o||{}).forEach(([l,s])=>{let a=(u,f=["{","}"])=>Array.from(u).map(g=>f.includes(g)?g:encodeURIComponent(g)).join(""),d=u=>a(u,["{","}"]),p=e==="class"?" ":",",m=Array.isArray(s)?s.map(j).map(d).join(p):j(s),c=Array.isArray(s)?s.map(j).map(d).join(p):d(j(s));n=n.replace(new RegExp(`{{${l}}}`,"g"),(u,f)=>r.indexOf("?")>=0&&f>r.indexOf("?")||f>(r.match(/&(?!amp;)/)?.index??1/0)?c:m)}),!(e==="href"&&(n.startsWith("mailto:")&&(n=n.replace(/([\?&]?)([\w]+)=(&|$)/gi,"$1")),n=n.replace(/[?&]$/,""),!n||n.trim()===""||n==="{{href}}"||n==="{{url}}"||n==="{{custom}}")))return n}function to(e){return`${e||""}`.replace(/(^|\s)+\/\*[\s\S]*?\*\/|(^|\s)+\/\/.*/g,"")}function oo(e){return M(to(e))}function ve(e){return!["href","target","class","onClick"].includes(e)}function ro(e,t){return e?Object.keys(e).reduce((o,r)=>ve(r)&&r.startsWith("data-")&&!r.startsWith("+")?{...o,[ke(r)]:ke(`${F(r,e,t)||t[r]||""}`)}:o,{}):{}}var j=e=>typeof e=="number"?`${e}`:`${(e&&typeof e=="object"&&"value"in e?e?.value:void 0)??e??""}`;var ht=y(require("lodash/kebabCase"));function v(e,{kebab:t=!1}={}){return e?Object.entries(e).reduce((o,[r,i])=>{if(i==null)return o;let n=t?(0,ht.default)(r):r;return`${o} ${n}="${i}"`.trim()},""):""}var bt=y(require("lodash/kebabCase"));function N(e){return e?Object.entries(e).reduce((t,[o,r])=>r==null?t:`${t} ${(0,bt.default)(o)}: ${r};`.trim(),""):""}function we(e){let t=e.toString(16);return t.length==1?`0${t}`:t}function io(e,t,o){return`#${we(e)}${we(t)}${we(o)}`}function no(e){let t=100;if(e.indexOf("rgba")>-1){let o=e.replace("rgba(","").replace(")","").split(",");t=parseFloat(o[3])*100}return t}function B(e){if(!e||typeof e!="string"||!e.includes("rgb"))return e;if(no(e)<100)return"";let t=e.replace("rgba(","").replace(")","").split(",");return io(parseFloat(t[0]),parseFloat(t[1]),parseFloat(t[2]))}function P(e,t){return e?["heading","button","paragraph"].includes(e)&&typeof t?.textJson=="string":!1}var _t=(0,Se.default)(`
|
|
3
|
+
var rp=Object.create;var Xe=Object.defineProperty;var op=Object.getOwnPropertyDescriptor;var np=Object.getOwnPropertyNames;var ip=Object.getPrototypeOf,ap=Object.prototype.hasOwnProperty;var l=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),lp=(e,t)=>{for(var r in t)Xe(e,r,{get:t[r],enumerable:!0})},fo=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of np(t))!ap.call(e,n)&&n!==r&&Xe(e,n,{get:()=>t[n],enumerable:!(o=op(t,n))||o.enumerable});return e};var y=(e,t,r)=>(r=e!=null?rp(ip(e)):{},fo(t||!e||!e.__esModule?Xe(r,"default",{value:e,enumerable:!0}):r,e)),sp=e=>fo(Xe({},"__esModule",{value:!0}),e);var Bt=l((ST,mo)=>{var up=typeof global=="object"&&global&&global.Object===Object&&global;mo.exports=up});var B=l((AT,go)=>{var cp=Bt(),dp=typeof self=="object"&&self&&self.Object===Object&&self,pp=cp||dp||Function("return this")();go.exports=pp});var N=l((TT,ho)=>{var fp=B(),mp=fp.Symbol;ho.exports=mp});var vo=l((qT,yo)=>{var bo=N(),xo=Object.prototype,gp=xo.hasOwnProperty,hp=xo.toString,Te=bo?bo.toStringTag:void 0;function bp(e){var t=gp.call(e,Te),r=e[Te];try{e[Te]=void 0;var o=!0}catch{}var n=hp.call(e);return o&&(t?e[Te]=r:delete e[Te]),n}yo.exports=bp});var wo=l((IT,_o)=>{var xp=Object.prototype,yp=xp.toString;function vp(e){return yp.call(e)}_o.exports=vp});var L=l((HT,So)=>{var ko=N(),_p=vo(),wp=wo(),kp="[object Null]",Cp="[object Undefined]",Co=ko?ko.toStringTag:void 0;function Sp(e){return e==null?e===void 0?Cp:kp:Co&&Co in Object(e)?_p(e):wp(e)}So.exports=Sp});var $=l((PT,Ao)=>{function Ap(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}Ao.exports=Ap});var Ft=l((ET,To)=>{var Tp=L(),qp=$(),Ip="[object AsyncFunction]",Hp="[object Function]",Pp="[object GeneratorFunction]",Ep="[object Proxy]";function Wp(e){if(!qp(e))return!1;var t=Tp(e);return t==Hp||t==Pp||t==Ip||t==Ep}To.exports=Wp});var Io=l((WT,qo)=>{var Bp=B(),Fp=Bp["__core-js_shared__"];qo.exports=Fp});var Eo=l((BT,Po)=>{var Ot=Io(),Ho=(function(){var e=/[^.]+$/.exec(Ot&&Ot.keys&&Ot.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function Op(e){return!!Ho&&Ho in e}Po.exports=Op});var Dt=l((FT,Wo)=>{var Dp=Function.prototype,Rp=Dp.toString;function Lp(e){if(e!=null){try{return Rp.call(e)}catch{}try{return e+""}catch{}}return""}Wo.exports=Lp});var Fo=l((OT,Bo)=>{var $p=Ft(),jp=Eo(),zp=$(),Mp=Dt(),Up=/[\\^$.*+?()[\]{}|]/g,Vp=/^\[object .+?Constructor\]$/,Np=Function.prototype,Gp=Object.prototype,Kp=Np.toString,Zp=Gp.hasOwnProperty,Jp=RegExp("^"+Kp.call(Zp).replace(Up,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Qp(e){if(!zp(e)||jp(e))return!1;var t=$p(e)?Jp:Vp;return t.test(Mp(e))}Bo.exports=Qp});var Do=l((DT,Oo)=>{function Yp(e,t){return e?.[t]}Oo.exports=Yp});var j=l((RT,Ro)=>{var Xp=Fo(),ef=Do();function tf(e,t){var r=ef(e,t);return Xp(r)?r:void 0}Ro.exports=tf});var Rt=l((LT,Lo)=>{var rf=j(),of=(function(){try{var e=rf(Object,"defineProperty");return e({},"",{}),e}catch{}})();Lo.exports=of});var Lt=l(($T,jo)=>{var $o=Rt();function nf(e,t,r){t=="__proto__"&&$o?$o(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}jo.exports=nf});var ne=l((jT,zo)=>{function af(e,t){return e===t||e!==e&&t!==t}zo.exports=af});var $t=l((zT,Mo)=>{var lf=Lt(),sf=ne(),uf=Object.prototype,cf=uf.hasOwnProperty;function df(e,t,r){var o=e[t];(!(cf.call(e,t)&&sf(o,r))||r===void 0&&!(t in e))&&lf(e,t,r)}Mo.exports=df});var G=l((MT,Uo)=>{var pf=$t(),ff=Lt();function mf(e,t,r,o){var n=!r;r||(r={});for(var i=-1,a=t.length;++i<a;){var u=t[i],s=o?o(r[u],e[u],u,r,e):void 0;s===void 0&&(s=e[u]),n?ff(r,u,s):pf(r,u,s)}return r}Uo.exports=mf});var qe=l((UT,Vo)=>{function gf(e){return e}Vo.exports=gf});var jt=l((VT,No)=>{function hf(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}No.exports=hf});var zt=l((NT,Ko)=>{var bf=jt(),Go=Math.max;function xf(e,t,r){return t=Go(t===void 0?e.length-1:t,0),function(){for(var o=arguments,n=-1,i=Go(o.length-t,0),a=Array(i);++n<i;)a[n]=o[t+n];n=-1;for(var u=Array(t+1);++n<t;)u[n]=o[n];return u[t]=r(a),bf(e,this,u)}}Ko.exports=xf});var Jo=l((GT,Zo)=>{function yf(e){return function(){return e}}Zo.exports=yf});var Xo=l((KT,Yo)=>{var vf=Jo(),Qo=Rt(),_f=qe(),wf=Qo?function(e,t){return Qo(e,"toString",{configurable:!0,enumerable:!1,value:vf(t),writable:!0})}:_f;Yo.exports=wf});var tn=l((ZT,en)=>{var kf=800,Cf=16,Sf=Date.now;function Af(e){var t=0,r=0;return function(){var o=Sf(),n=Cf-(o-r);if(r=o,n>0){if(++t>=kf)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}en.exports=Af});var Mt=l((JT,rn)=>{var Tf=Xo(),qf=tn(),If=qf(Tf);rn.exports=If});var et=l((QT,on)=>{var Hf=qe(),Pf=zt(),Ef=Mt();function Wf(e,t){return Ef(Pf(e,t,Hf),e+"")}on.exports=Wf});var tt=l((YT,nn)=>{var Bf=9007199254740991;function Ff(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Bf}nn.exports=Ff});var K=l((XT,an)=>{var Of=Ft(),Df=tt();function Rf(e){return e!=null&&Df(e.length)&&!Of(e)}an.exports=Rf});var rt=l((e1,ln)=>{var Lf=9007199254740991,$f=/^(?:0|[1-9]\d*)$/;function jf(e,t){var r=typeof e;return t=t??Lf,!!t&&(r=="number"||r!="symbol"&&$f.test(e))&&e>-1&&e%1==0&&e<t}ln.exports=jf});var ot=l((t1,sn)=>{var zf=ne(),Mf=K(),Uf=rt(),Vf=$();function Nf(e,t,r){if(!Vf(r))return!1;var o=typeof t;return(o=="number"?Mf(r)&&Uf(t,r.length):o=="string"&&t in r)?zf(r[t],e):!1}sn.exports=Nf});var cn=l((r1,un)=>{var Gf=et(),Kf=ot();function Zf(e){return Gf(function(t,r){var o=-1,n=r.length,i=n>1?r[n-1]:void 0,a=n>2?r[2]:void 0;for(i=e.length>3&&typeof i=="function"?(n--,i):void 0,a&&Kf(r[0],r[1],a)&&(i=n<3?void 0:i,n=1),t=Object(t);++o<n;){var u=r[o];u&&e(t,u,o,i)}return t})}un.exports=Zf});var pn=l((o1,dn)=>{function Jf(e,t){for(var r=-1,o=Array(e);++r<e;)o[r]=t(r);return o}dn.exports=Jf});var F=l((n1,fn)=>{function Qf(e){return e!=null&&typeof e=="object"}fn.exports=Qf});var gn=l((i1,mn)=>{var Yf=L(),Xf=F(),em="[object Arguments]";function tm(e){return Xf(e)&&Yf(e)==em}mn.exports=tm});var Ie=l((a1,xn)=>{var hn=gn(),rm=F(),bn=Object.prototype,om=bn.hasOwnProperty,nm=bn.propertyIsEnumerable,im=hn((function(){return arguments})())?hn:function(e){return rm(e)&&om.call(e,"callee")&&!nm.call(e,"callee")};xn.exports=im});var q=l((l1,yn)=>{var am=Array.isArray;yn.exports=am});var _n=l((s1,vn)=>{function lm(){return!1}vn.exports=lm});var Pe=l((He,ie)=>{var sm=B(),um=_n(),Cn=typeof He=="object"&&He&&!He.nodeType&&He,wn=Cn&&typeof ie=="object"&&ie&&!ie.nodeType&&ie,cm=wn&&wn.exports===Cn,kn=cm?sm.Buffer:void 0,dm=kn?kn.isBuffer:void 0,pm=dm||um;ie.exports=pm});var An=l((u1,Sn)=>{var fm=L(),mm=tt(),gm=F(),hm="[object Arguments]",bm="[object Array]",xm="[object Boolean]",ym="[object Date]",vm="[object Error]",_m="[object Function]",wm="[object Map]",km="[object Number]",Cm="[object Object]",Sm="[object RegExp]",Am="[object Set]",Tm="[object String]",qm="[object WeakMap]",Im="[object ArrayBuffer]",Hm="[object DataView]",Pm="[object Float32Array]",Em="[object Float64Array]",Wm="[object Int8Array]",Bm="[object Int16Array]",Fm="[object Int32Array]",Om="[object Uint8Array]",Dm="[object Uint8ClampedArray]",Rm="[object Uint16Array]",Lm="[object Uint32Array]",w={};w[Pm]=w[Em]=w[Wm]=w[Bm]=w[Fm]=w[Om]=w[Dm]=w[Rm]=w[Lm]=!0;w[hm]=w[bm]=w[Im]=w[xm]=w[Hm]=w[ym]=w[vm]=w[_m]=w[wm]=w[km]=w[Cm]=w[Sm]=w[Am]=w[Tm]=w[qm]=!1;function $m(e){return gm(e)&&mm(e.length)&&!!w[fm(e)]}Sn.exports=$m});var Ee=l((c1,Tn)=>{function jm(e){return function(t){return e(t)}}Tn.exports=jm});var nt=l((We,ae)=>{var zm=Bt(),qn=typeof We=="object"&&We&&!We.nodeType&&We,Be=qn&&typeof ae=="object"&&ae&&!ae.nodeType&&ae,Mm=Be&&Be.exports===qn,Ut=Mm&&zm.process,Um=(function(){try{var e=Be&&Be.require&&Be.require("util").types;return e||Ut&&Ut.binding&&Ut.binding("util")}catch{}})();ae.exports=Um});var it=l((d1,Pn)=>{var Vm=An(),Nm=Ee(),In=nt(),Hn=In&&In.isTypedArray,Gm=Hn?Nm(Hn):Vm;Pn.exports=Gm});var Vt=l((p1,En)=>{var Km=pn(),Zm=Ie(),Jm=q(),Qm=Pe(),Ym=rt(),Xm=it(),eg=Object.prototype,tg=eg.hasOwnProperty;function rg(e,t){var r=Jm(e),o=!r&&Zm(e),n=!r&&!o&&Qm(e),i=!r&&!o&&!n&&Xm(e),a=r||o||n||i,u=a?Km(e.length,String):[],s=u.length;for(var c in e)(t||tg.call(e,c))&&!(a&&(c=="length"||n&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Ym(c,s)))&&u.push(c);return u}En.exports=rg});var Fe=l((f1,Wn)=>{var og=Object.prototype;function ng(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||og;return e===r}Wn.exports=ng});var Fn=l((m1,Bn)=>{function ig(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}Bn.exports=ig});var Dn=l((g1,On)=>{var ag=$(),lg=Fe(),sg=Fn(),ug=Object.prototype,cg=ug.hasOwnProperty;function dg(e){if(!ag(e))return sg(e);var t=lg(e),r=[];for(var o in e)o=="constructor"&&(t||!cg.call(e,o))||r.push(o);return r}On.exports=dg});var Oe=l((h1,Rn)=>{var pg=Vt(),fg=Dn(),mg=K();function gg(e){return mg(e)?pg(e,!0):fg(e)}Rn.exports=gg});var $n=l((b1,Ln)=>{var hg=G(),bg=cn(),xg=Oe(),yg=bg(function(e,t,r,o){hg(t,xg(t),e,o)});Ln.exports=yg});var Nt=l((x1,jn)=>{function vg(e,t){return function(r){return e(t(r))}}jn.exports=vg});var at=l((y1,zn)=>{var _g=Nt(),wg=_g(Object.getPrototypeOf,Object);zn.exports=wg});var le=l((v1,Un)=>{var kg=L(),Cg=at(),Sg=F(),Ag="[object Object]",Tg=Function.prototype,qg=Object.prototype,Mn=Tg.toString,Ig=qg.hasOwnProperty,Hg=Mn.call(Object);function Pg(e){if(!Sg(e)||kg(e)!=Ag)return!1;var t=Cg(e);if(t===null)return!0;var r=Ig.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Mn.call(r)==Hg}Un.exports=Pg});var Gt=l((_1,Vn)=>{var Eg=L(),Wg=F(),Bg=le(),Fg="[object DOMException]",Og="[object Error]";function Dg(e){if(!Wg(e))return!1;var t=Eg(e);return t==Og||t==Fg||typeof e.message=="string"&&typeof e.name=="string"&&!Bg(e)}Vn.exports=Dg});var Gn=l((w1,Nn)=>{var Rg=jt(),Lg=et(),$g=Gt(),jg=Lg(function(e,t){try{return Rg(e,void 0,t)}catch(r){return $g(r)?r:new Error(r)}});Nn.exports=jg});var De=l((k1,Kn)=>{function zg(e,t){for(var r=-1,o=e==null?0:e.length,n=Array(o);++r<o;)n[r]=t(e[r],r,e);return n}Kn.exports=zg});var Jn=l((C1,Zn)=>{var Mg=De();function Ug(e,t){return Mg(t,function(r){return e[r]})}Zn.exports=Ug});var Xn=l((S1,Yn)=>{var Vg=ne(),Qn=Object.prototype,Ng=Qn.hasOwnProperty;function Gg(e,t,r,o){return e===void 0||Vg(e,Qn[r])&&!Ng.call(o,r)?t:e}Yn.exports=Gg});var ti=l((A1,ei)=>{var Kg={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function Zg(e){return"\\"+Kg[e]}ei.exports=Zg});var oi=l((T1,ri)=>{var Jg=Nt(),Qg=Jg(Object.keys,Object);ri.exports=Qg});var Kt=l((q1,ni)=>{var Yg=Fe(),Xg=oi(),eh=Object.prototype,th=eh.hasOwnProperty;function rh(e){if(!Yg(e))return Xg(e);var t=[];for(var r in Object(e))th.call(e,r)&&r!="constructor"&&t.push(r);return t}ni.exports=rh});var z=l((I1,ii)=>{var oh=Vt(),nh=Kt(),ih=K();function ah(e){return ih(e)?oh(e):nh(e)}ii.exports=ah});var Zt=l((H1,ai)=>{var lh=/<%=([\s\S]+?)%>/g;ai.exports=lh});var lt=l((P1,li)=>{function sh(e){return function(t){return e?.[t]}}li.exports=sh});var ui=l((E1,si)=>{var uh=lt(),ch={"&":"&","<":"<",">":">",'"':""","'":"'"},dh=uh(ch);si.exports=dh});var Re=l((W1,ci)=>{var ph=L(),fh=F(),mh="[object Symbol]";function gh(e){return typeof e=="symbol"||fh(e)&&ph(e)==mh}ci.exports=gh});var hi=l((B1,gi)=>{var di=N(),hh=De(),bh=q(),xh=Re(),yh=1/0,pi=di?di.prototype:void 0,fi=pi?pi.toString:void 0;function mi(e){if(typeof e=="string")return e;if(bh(e))return hh(e,mi)+"";if(xh(e))return fi?fi.call(e):"";var t=e+"";return t=="0"&&1/e==-yh?"-0":t}gi.exports=mi});var Z=l((F1,bi)=>{var vh=hi();function _h(e){return e==null?"":vh(e)}bi.exports=_h});var vi=l((O1,yi)=>{var wh=ui(),kh=Z(),xi=/[&<>"']/g,Ch=RegExp(xi.source);function Sh(e){return e=kh(e),e&&Ch.test(e)?e.replace(xi,wh):e}yi.exports=Sh});var wi=l((D1,_i)=>{var Ah=/<%-([\s\S]+?)%>/g;_i.exports=Ah});var Ci=l((R1,ki)=>{var Th=/<%([\s\S]+?)%>/g;ki.exports=Th});var Ai=l((L1,Si)=>{var qh=vi(),Ih=wi(),Hh=Ci(),Ph=Zt(),Eh={escape:Ih,evaluate:Hh,interpolate:Ph,variable:"",imports:{_:{escape:qh}}};Si.exports=Eh});var k=l(($1,Pi)=>{var Ti=$n(),Wh=Gn(),Bh=Jn(),qi=Xn(),Fh=ti(),Oh=Gt(),Dh=ot(),Rh=z(),Lh=Zt(),Ii=Ai(),$h=Z(),jh="Invalid `variable` option passed into `_.template`",zh=/\b__p \+= '';/g,Mh=/\b(__p \+=) '' \+/g,Uh=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Vh=/[()=,{}\[\]\/\s]/,Nh=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,st=/($^)/,Gh=/['\n\r\u2028\u2029\\]/g,Kh=Object.prototype,Hi=Kh.hasOwnProperty;function Zh(e,t,r){var o=Ii.imports._.templateSettings||Ii;r&&Dh(e,t,r)&&(t=void 0),e=$h(e),t=Ti({},t,o,qi);var n=Ti({},t.imports,o.imports,qi),i=Rh(n),a=Bh(n,i),u,s,c=0,f=t.interpolate||st,p="__p += '",d=RegExp((t.escape||st).source+"|"+f.source+"|"+(f===Lh?Nh:st).source+"|"+(t.evaluate||st).source+"|$","g"),g=Hi.call(t,"sourceURL")?"//# sourceURL="+(t.sourceURL+"").replace(/\s/g," ")+`
|
|
4
|
+
`:"";e.replace(d,function(b,x,v,C,S,H){return v||(v=C),p+=e.slice(c,H).replace(Gh,Fh),x&&(u=!0,p+=`' +
|
|
5
|
+
__e(`+x+`) +
|
|
6
|
+
'`),S&&(s=!0,p+=`';
|
|
7
|
+
`+S+`;
|
|
8
|
+
__p += '`),v&&(p+=`' +
|
|
9
|
+
((__t = (`+v+`)) == null ? '' : __t) +
|
|
10
|
+
'`),c=H+b.length,b}),p+=`';
|
|
11
|
+
`;var m=Hi.call(t,"variable")&&t.variable;if(!m)p=`with (obj) {
|
|
12
|
+
`+p+`
|
|
13
|
+
}
|
|
14
|
+
`;else if(Vh.test(m))throw new Error(jh);p=(s?p.replace(zh,""):p).replace(Mh,"$1").replace(Uh,"$1;"),p="function("+(m||"obj")+`) {
|
|
15
|
+
`+(m?"":`obj || (obj = {});
|
|
16
|
+
`)+"var __t, __p = ''"+(u?", __e = _.escape":"")+(s?`, __j = Array.prototype.join;
|
|
17
|
+
function print() { __p += __j.call(arguments, '') }
|
|
18
|
+
`:`;
|
|
19
|
+
`)+p+`return __p
|
|
20
|
+
}`;var h=Wh(function(){return Function(i,g+"return "+p).apply(void 0,a)});if(h.source=p,Oh(h))throw h;return h}Pi.exports=Zh});var Wi=l((j1,Ei)=>{var Jh=lt(),Qh={"&":"&","<":"<",">":">",""":'"',"'":"'"},Yh=Jh(Qh);Ei.exports=Yh});var Oi=l((z1,Fi)=>{var Xh=Z(),eb=Wi(),Bi=/&(?:amp|lt|gt|quot|#39);/g,tb=RegExp(Bi.source);function rb(e){return e=Xh(e),e&&tb.test(e)?e.replace(Bi,eb):e}Fi.exports=rb});var $i=l((K1,Li)=>{var nb=j(),ib=B(),ab=nb(ib,"DataView");Li.exports=ab});var ct=l((Z1,ji)=>{var lb=j(),sb=B(),ub=lb(sb,"Map");ji.exports=ub});var Mi=l((J1,zi)=>{var cb=j(),db=B(),pb=cb(db,"Promise");zi.exports=pb});var Jt=l((Q1,Ui)=>{var fb=j(),mb=B(),gb=fb(mb,"Set");Ui.exports=gb});var Ni=l((Y1,Vi)=>{var hb=j(),bb=B(),xb=hb(bb,"WeakMap");Vi.exports=xb});var ue=l((X1,Xi)=>{var Qt=$i(),Yt=ct(),Xt=Mi(),er=Jt(),tr=Ni(),Yi=L(),se=Dt(),Gi="[object Map]",yb="[object Object]",Ki="[object Promise]",Zi="[object Set]",Ji="[object WeakMap]",Qi="[object DataView]",vb=se(Qt),_b=se(Yt),wb=se(Xt),kb=se(er),Cb=se(tr),J=Yi;(Qt&&J(new Qt(new ArrayBuffer(1)))!=Qi||Yt&&J(new Yt)!=Gi||Xt&&J(Xt.resolve())!=Ki||er&&J(new er)!=Zi||tr&&J(new tr)!=Ji)&&(J=function(e){var t=Yi(e),r=t==yb?e.constructor:void 0,o=r?se(r):"";if(o)switch(o){case vb:return Qi;case _b:return Gi;case wb:return Ki;case kb:return Zi;case Cb:return Ji}return t});Xi.exports=J});var ta=l((eq,ea)=>{var Sb=Kt(),Ab=ue(),Tb=Ie(),qb=q(),Ib=K(),Hb=Pe(),Pb=Fe(),Eb=it(),Wb="[object Map]",Bb="[object Set]",Fb=Object.prototype,Ob=Fb.hasOwnProperty;function Db(e){if(e==null)return!0;if(Ib(e)&&(qb(e)||typeof e=="string"||typeof e.splice=="function"||Hb(e)||Eb(e)||Tb(e)))return!e.length;var t=Ab(e);if(t==Wb||t==Bb)return!e.size;if(Pb(e))return!Sb(e).length;for(var r in e)if(Ob.call(e,r))return!1;return!0}ea.exports=Db});var oa=l((tq,ra)=>{function Rb(){this.__data__=[],this.size=0}ra.exports=Rb});var Le=l((rq,na)=>{var Lb=ne();function $b(e,t){for(var r=e.length;r--;)if(Lb(e[r][0],t))return r;return-1}na.exports=$b});var aa=l((oq,ia)=>{var jb=Le(),zb=Array.prototype,Mb=zb.splice;function Ub(e){var t=this.__data__,r=jb(t,e);if(r<0)return!1;var o=t.length-1;return r==o?t.pop():Mb.call(t,r,1),--this.size,!0}ia.exports=Ub});var sa=l((nq,la)=>{var Vb=Le();function Nb(e){var t=this.__data__,r=Vb(t,e);return r<0?void 0:t[r][1]}la.exports=Nb});var ca=l((iq,ua)=>{var Gb=Le();function Kb(e){return Gb(this.__data__,e)>-1}ua.exports=Kb});var pa=l((aq,da)=>{var Zb=Le();function Jb(e,t){var r=this.__data__,o=Zb(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}da.exports=Jb});var $e=l((lq,fa)=>{var Qb=oa(),Yb=aa(),Xb=sa(),ex=ca(),tx=pa();function ce(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}ce.prototype.clear=Qb;ce.prototype.delete=Yb;ce.prototype.get=Xb;ce.prototype.has=ex;ce.prototype.set=tx;fa.exports=ce});var ga=l((sq,ma)=>{var rx=$e();function ox(){this.__data__=new rx,this.size=0}ma.exports=ox});var ba=l((uq,ha)=>{function nx(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}ha.exports=nx});var ya=l((cq,xa)=>{function ix(e){return this.__data__.get(e)}xa.exports=ix});var _a=l((dq,va)=>{function ax(e){return this.__data__.has(e)}va.exports=ax});var je=l((pq,wa)=>{var lx=j(),sx=lx(Object,"create");wa.exports=sx});var Sa=l((fq,Ca)=>{var ka=je();function ux(){this.__data__=ka?ka(null):{},this.size=0}Ca.exports=ux});var Ta=l((mq,Aa)=>{function cx(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}Aa.exports=cx});var Ia=l((gq,qa)=>{var dx=je(),px="__lodash_hash_undefined__",fx=Object.prototype,mx=fx.hasOwnProperty;function gx(e){var t=this.__data__;if(dx){var r=t[e];return r===px?void 0:r}return mx.call(t,e)?t[e]:void 0}qa.exports=gx});var Pa=l((hq,Ha)=>{var hx=je(),bx=Object.prototype,xx=bx.hasOwnProperty;function yx(e){var t=this.__data__;return hx?t[e]!==void 0:xx.call(t,e)}Ha.exports=yx});var Wa=l((bq,Ea)=>{var vx=je(),_x="__lodash_hash_undefined__";function wx(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=vx&&t===void 0?_x:t,this}Ea.exports=wx});var Fa=l((xq,Ba)=>{var kx=Sa(),Cx=Ta(),Sx=Ia(),Ax=Pa(),Tx=Wa();function de(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}de.prototype.clear=kx;de.prototype.delete=Cx;de.prototype.get=Sx;de.prototype.has=Ax;de.prototype.set=Tx;Ba.exports=de});var Ra=l((yq,Da)=>{var Oa=Fa(),qx=$e(),Ix=ct();function Hx(){this.size=0,this.__data__={hash:new Oa,map:new(Ix||qx),string:new Oa}}Da.exports=Hx});var $a=l((vq,La)=>{function Px(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}La.exports=Px});var ze=l((_q,ja)=>{var Ex=$a();function Wx(e,t){var r=e.__data__;return Ex(t)?r[typeof t=="string"?"string":"hash"]:r.map}ja.exports=Wx});var Ma=l((wq,za)=>{var Bx=ze();function Fx(e){var t=Bx(this,e).delete(e);return this.size-=t?1:0,t}za.exports=Fx});var Va=l((kq,Ua)=>{var Ox=ze();function Dx(e){return Ox(this,e).get(e)}Ua.exports=Dx});var Ga=l((Cq,Na)=>{var Rx=ze();function Lx(e){return Rx(this,e).has(e)}Na.exports=Lx});var Za=l((Sq,Ka)=>{var $x=ze();function jx(e,t){var r=$x(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}Ka.exports=jx});var dt=l((Aq,Ja)=>{var zx=Ra(),Mx=Ma(),Ux=Va(),Vx=Ga(),Nx=Za();function pe(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}pe.prototype.clear=zx;pe.prototype.delete=Mx;pe.prototype.get=Ux;pe.prototype.has=Vx;pe.prototype.set=Nx;Ja.exports=pe});var Ya=l((Tq,Qa)=>{var Gx=$e(),Kx=ct(),Zx=dt(),Jx=200;function Qx(e,t){var r=this.__data__;if(r instanceof Gx){var o=r.__data__;if(!Kx||o.length<Jx-1)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new Zx(o)}return r.set(e,t),this.size=r.size,this}Qa.exports=Qx});var pt=l((qq,Xa)=>{var Yx=$e(),Xx=ga(),ey=ba(),ty=ya(),ry=_a(),oy=Ya();function fe(e){var t=this.__data__=new Yx(e);this.size=t.size}fe.prototype.clear=Xx;fe.prototype.delete=ey;fe.prototype.get=ty;fe.prototype.has=ry;fe.prototype.set=oy;Xa.exports=fe});var tl=l((Iq,el)=>{function ny(e,t){for(var r=-1,o=e==null?0:e.length;++r<o&&t(e[r],r,e)!==!1;);return e}el.exports=ny});var ol=l((Hq,rl)=>{var iy=G(),ay=z();function ly(e,t){return e&&iy(t,ay(t),e)}rl.exports=ly});var il=l((Pq,nl)=>{var sy=G(),uy=Oe();function cy(e,t){return e&&sy(t,uy(t),e)}nl.exports=cy});var cl=l((Me,me)=>{var dy=B(),ul=typeof Me=="object"&&Me&&!Me.nodeType&&Me,al=ul&&typeof me=="object"&&me&&!me.nodeType&&me,py=al&&al.exports===ul,ll=py?dy.Buffer:void 0,sl=ll?ll.allocUnsafe:void 0;function fy(e,t){if(t)return e.slice();var r=e.length,o=sl?sl(r):new e.constructor(r);return e.copy(o),o}me.exports=fy});var pl=l((Eq,dl)=>{function my(e,t){var r=-1,o=e.length;for(t||(t=Array(o));++r<o;)t[r]=e[r];return t}dl.exports=my});var ml=l((Wq,fl)=>{function gy(e,t){for(var r=-1,o=e==null?0:e.length,n=0,i=[];++r<o;){var a=e[r];t(a,r,e)&&(i[n++]=a)}return i}fl.exports=gy});var rr=l((Bq,gl)=>{function hy(){return[]}gl.exports=hy});var ft=l((Fq,bl)=>{var by=ml(),xy=rr(),yy=Object.prototype,vy=yy.propertyIsEnumerable,hl=Object.getOwnPropertySymbols,_y=hl?function(e){return e==null?[]:(e=Object(e),by(hl(e),function(t){return vy.call(e,t)}))}:xy;bl.exports=_y});var yl=l((Oq,xl)=>{var wy=G(),ky=ft();function Cy(e,t){return wy(e,ky(e),t)}xl.exports=Cy});var mt=l((Dq,vl)=>{function Sy(e,t){for(var r=-1,o=t.length,n=e.length;++r<o;)e[n+r]=t[r];return e}vl.exports=Sy});var or=l((Rq,_l)=>{var Ay=mt(),Ty=at(),qy=ft(),Iy=rr(),Hy=Object.getOwnPropertySymbols,Py=Hy?function(e){for(var t=[];e;)Ay(t,qy(e)),e=Ty(e);return t}:Iy;_l.exports=Py});var kl=l((Lq,wl)=>{var Ey=G(),Wy=or();function By(e,t){return Ey(e,Wy(e),t)}wl.exports=By});var nr=l(($q,Cl)=>{var Fy=mt(),Oy=q();function Dy(e,t,r){var o=t(e);return Oy(e)?o:Fy(o,r(e))}Cl.exports=Dy});var ir=l((jq,Sl)=>{var Ry=nr(),Ly=ft(),$y=z();function jy(e){return Ry(e,$y,Ly)}Sl.exports=jy});var ar=l((zq,Al)=>{var zy=nr(),My=or(),Uy=Oe();function Vy(e){return zy(e,Uy,My)}Al.exports=Vy});var ql=l((Mq,Tl)=>{var Ny=Object.prototype,Gy=Ny.hasOwnProperty;function Ky(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&Gy.call(e,"index")&&(r.index=e.index,r.input=e.input),r}Tl.exports=Ky});var lr=l((Uq,Il)=>{var Zy=B(),Jy=Zy.Uint8Array;Il.exports=Jy});var gt=l((Vq,Pl)=>{var Hl=lr();function Qy(e){var t=new e.constructor(e.byteLength);return new Hl(t).set(new Hl(e)),t}Pl.exports=Qy});var Wl=l((Nq,El)=>{var Yy=gt();function Xy(e,t){var r=t?Yy(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}El.exports=Xy});var Fl=l((Gq,Bl)=>{var ev=/\w*$/;function tv(e){var t=new e.constructor(e.source,ev.exec(e));return t.lastIndex=e.lastIndex,t}Bl.exports=tv});var $l=l((Kq,Ll)=>{var Ol=N(),Dl=Ol?Ol.prototype:void 0,Rl=Dl?Dl.valueOf:void 0;function rv(e){return Rl?Object(Rl.call(e)):{}}Ll.exports=rv});var zl=l((Zq,jl)=>{var ov=gt();function nv(e,t){var r=t?ov(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}jl.exports=nv});var Ul=l((Jq,Ml)=>{var iv=gt(),av=Wl(),lv=Fl(),sv=$l(),uv=zl(),cv="[object Boolean]",dv="[object Date]",pv="[object Map]",fv="[object Number]",mv="[object RegExp]",gv="[object Set]",hv="[object String]",bv="[object Symbol]",xv="[object ArrayBuffer]",yv="[object DataView]",vv="[object Float32Array]",_v="[object Float64Array]",wv="[object Int8Array]",kv="[object Int16Array]",Cv="[object Int32Array]",Sv="[object Uint8Array]",Av="[object Uint8ClampedArray]",Tv="[object Uint16Array]",qv="[object Uint32Array]";function Iv(e,t,r){var o=e.constructor;switch(t){case xv:return iv(e);case cv:case dv:return new o(+e);case yv:return av(e,r);case vv:case _v:case wv:case kv:case Cv:case Sv:case Av:case Tv:case qv:return uv(e,r);case pv:return new o;case fv:case hv:return new o(e);case mv:return lv(e);case gv:return new o;case bv:return sv(e)}}Ml.exports=Iv});var Gl=l((Qq,Nl)=>{var Hv=$(),Vl=Object.create,Pv=(function(){function e(){}return function(t){if(!Hv(t))return{};if(Vl)return Vl(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}})();Nl.exports=Pv});var Zl=l((Yq,Kl)=>{var Ev=Gl(),Wv=at(),Bv=Fe();function Fv(e){return typeof e.constructor=="function"&&!Bv(e)?Ev(Wv(e)):{}}Kl.exports=Fv});var Ql=l((Xq,Jl)=>{var Ov=ue(),Dv=F(),Rv="[object Map]";function Lv(e){return Dv(e)&&Ov(e)==Rv}Jl.exports=Lv});var ts=l((eI,es)=>{var $v=Ql(),jv=Ee(),Yl=nt(),Xl=Yl&&Yl.isMap,zv=Xl?jv(Xl):$v;es.exports=zv});var os=l((tI,rs)=>{var Mv=ue(),Uv=F(),Vv="[object Set]";function Nv(e){return Uv(e)&&Mv(e)==Vv}rs.exports=Nv});var ls=l((rI,as)=>{var Gv=os(),Kv=Ee(),ns=nt(),is=ns&&ns.isSet,Zv=is?Kv(is):Gv;as.exports=Zv});var ps=l((oI,ds)=>{var Jv=pt(),Qv=tl(),Yv=$t(),Xv=ol(),e_=il(),t_=cl(),r_=pl(),o_=yl(),n_=kl(),i_=ir(),a_=ar(),l_=ue(),s_=ql(),u_=Ul(),c_=Zl(),d_=q(),p_=Pe(),f_=ts(),m_=$(),g_=ls(),h_=z(),b_=Oe(),x_=1,y_=2,v_=4,ss="[object Arguments]",__="[object Array]",w_="[object Boolean]",k_="[object Date]",C_="[object Error]",us="[object Function]",S_="[object GeneratorFunction]",A_="[object Map]",T_="[object Number]",cs="[object Object]",q_="[object RegExp]",I_="[object Set]",H_="[object String]",P_="[object Symbol]",E_="[object WeakMap]",W_="[object ArrayBuffer]",B_="[object DataView]",F_="[object Float32Array]",O_="[object Float64Array]",D_="[object Int8Array]",R_="[object Int16Array]",L_="[object Int32Array]",$_="[object Uint8Array]",j_="[object Uint8ClampedArray]",z_="[object Uint16Array]",M_="[object Uint32Array]",_={};_[ss]=_[__]=_[W_]=_[B_]=_[w_]=_[k_]=_[F_]=_[O_]=_[D_]=_[R_]=_[L_]=_[A_]=_[T_]=_[cs]=_[q_]=_[I_]=_[H_]=_[P_]=_[$_]=_[j_]=_[z_]=_[M_]=!0;_[C_]=_[us]=_[E_]=!1;function ht(e,t,r,o,n,i){var a,u=t&x_,s=t&y_,c=t&v_;if(r&&(a=n?r(e,o,n,i):r(e)),a!==void 0)return a;if(!m_(e))return e;var f=d_(e);if(f){if(a=s_(e),!u)return r_(e,a)}else{var p=l_(e),d=p==us||p==S_;if(p_(e))return t_(e,u);if(p==cs||p==ss||d&&!n){if(a=s||d?{}:c_(e),!u)return s?n_(e,e_(a,e)):o_(e,Xv(a,e))}else{if(!_[p])return n?e:{};a=u_(e,p,u)}}i||(i=new Jv);var g=i.get(e);if(g)return g;i.set(e,a),g_(e)?e.forEach(function(b){a.add(ht(b,t,r,b,e,i))}):f_(e)&&e.forEach(function(b,x){a.set(x,ht(b,t,r,x,e,i))});var m=c?s?a_:i_:s?b_:h_,h=f?void 0:m(e);return Qv(h||e,function(b,x){h&&(x=b,b=e[x]),Yv(a,x,ht(b,t,r,x,e,i))}),a}ds.exports=ht});var bt=l((nI,fs)=>{var U_=q(),V_=Re(),N_=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,G_=/^\w*$/;function K_(e,t){if(U_(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||V_(e)?!0:G_.test(e)||!N_.test(e)||t!=null&&e in Object(t)}fs.exports=K_});var hs=l((iI,gs)=>{var ms=dt(),Z_="Expected a function";function sr(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Z_);var r=function(){var o=arguments,n=t?t.apply(this,o):o[0],i=r.cache;if(i.has(n))return i.get(n);var a=e.apply(this,o);return r.cache=i.set(n,a)||i,a};return r.cache=new(sr.Cache||ms),r}sr.Cache=ms;gs.exports=sr});var xs=l((aI,bs)=>{var J_=hs(),Q_=500;function Y_(e){var t=J_(e,function(o){return r.size===Q_&&r.clear(),o}),r=t.cache;return t}bs.exports=Y_});var vs=l((lI,ys)=>{var X_=xs(),e0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,t0=/\\(\\)?/g,r0=X_(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(e0,function(r,o,n,i){t.push(n?i.replace(t0,"$1"):o||r)}),t});ys.exports=r0});var Ue=l((sI,_s)=>{var o0=q(),n0=bt(),i0=vs(),a0=Z();function l0(e,t){return o0(e)?e:n0(e,t)?[e]:i0(a0(e))}_s.exports=l0});var ks=l((uI,ws)=>{function s0(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}ws.exports=s0});var ge=l((cI,Cs)=>{var u0=Re(),c0=1/0;function d0(e){if(typeof e=="string"||u0(e))return e;var t=e+"";return t=="0"&&1/e==-c0?"-0":t}Cs.exports=d0});var Ve=l((dI,Ss)=>{var p0=Ue(),f0=ge();function m0(e,t){t=p0(t,e);for(var r=0,o=t.length;e!=null&&r<o;)e=e[f0(t[r++])];return r&&r==o?e:void 0}Ss.exports=m0});var Ts=l((pI,As)=>{function g0(e,t,r){var o=-1,n=e.length;t<0&&(t=-t>n?0:n+t),r=r>n?n:r,r<0&&(r+=n),n=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(n);++o<n;)i[o]=e[o+t];return i}As.exports=g0});var Is=l((fI,qs)=>{var h0=Ve(),b0=Ts();function x0(e,t){return t.length<2?e:h0(e,b0(t,0,-1))}qs.exports=x0});var Ps=l((mI,Hs)=>{var y0=Ue(),v0=ks(),_0=Is(),w0=ge(),k0=Object.prototype,C0=k0.hasOwnProperty;function S0(e,t){t=y0(t,e);var r=-1,o=t.length;if(!o)return!0;for(var n=e==null||typeof e!="object"&&typeof e!="function";++r<o;){var i=t[r];if(typeof i=="string"){if(i==="__proto__"&&!C0.call(e,"__proto__"))return!1;if(i==="constructor"&&r+1<o&&typeof t[r+1]=="string"&&t[r+1]==="prototype"){if(n&&r===0)continue;return!1}}}var a=_0(e,t);return a==null||delete a[w0(v0(t))]}Hs.exports=S0});var Ws=l((gI,Es)=>{var A0=le();function T0(e){return A0(e)?void 0:e}Es.exports=T0});var Ds=l((hI,Os)=>{var Bs=N(),q0=Ie(),I0=q(),Fs=Bs?Bs.isConcatSpreadable:void 0;function H0(e){return I0(e)||q0(e)||!!(Fs&&e&&e[Fs])}Os.exports=H0});var ur=l((bI,Ls)=>{var P0=mt(),E0=Ds();function Rs(e,t,r,o,n){var i=-1,a=e.length;for(r||(r=E0),n||(n=[]);++i<a;){var u=e[i];t>0&&r(u)?t>1?Rs(u,t-1,r,o,n):P0(n,u):o||(n[n.length]=u)}return n}Ls.exports=Rs});var js=l((xI,$s)=>{var W0=ur();function B0(e){var t=e==null?0:e.length;return t?W0(e,1):[]}$s.exports=B0});var Ms=l((yI,zs)=>{var F0=js(),O0=zt(),D0=Mt();function R0(e){return D0(O0(e,void 0,F0),e+"")}zs.exports=R0});var Vs=l((vI,Us)=>{var L0=De(),$0=ps(),j0=Ps(),z0=Ue(),M0=G(),U0=Ws(),V0=Ms(),N0=ar(),G0=1,K0=2,Z0=4,J0=V0(function(e,t){var r={};if(e==null)return r;var o=!1;t=L0(t,function(i){return i=z0(i,e),o||(o=i.length>1),i}),M0(e,N0(e),r),o&&(r=$0(r,G0|K0|Z0,U0));for(var n=t.length;n--;)j0(r,t[n]);return r});Us.exports=J0});var Js=l((qI,Zs)=>{function ew(e,t,r,o){var n=-1,i=e==null?0:e.length;for(o&&i&&(r=e[++n]);++n<i;)r=t(r,e[n],n,e);return r}Zs.exports=ew});var Ys=l((II,Qs)=>{var tw=lt(),rw={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},ow=tw(rw);Qs.exports=ow});var eu=l((HI,Xs)=>{var nw=Ys(),iw=Z(),aw=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,lw="\\u0300-\\u036f",sw="\\ufe20-\\ufe2f",uw="\\u20d0-\\u20ff",cw=lw+sw+uw,dw="["+cw+"]",pw=RegExp(dw,"g");function fw(e){return e=iw(e),e&&e.replace(aw,nw).replace(pw,"")}Xs.exports=fw});var ru=l((PI,tu)=>{var mw=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function gw(e){return e.match(mw)||[]}tu.exports=gw});var nu=l((EI,ou)=>{var hw=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function bw(e){return hw.test(e)}ou.exports=bw});var ku=l((WI,wu)=>{var uu="\\ud800-\\udfff",xw="\\u0300-\\u036f",yw="\\ufe20-\\ufe2f",vw="\\u20d0-\\u20ff",_w=xw+yw+vw,cu="\\u2700-\\u27bf",du="a-z\\xdf-\\xf6\\xf8-\\xff",ww="\\xac\\xb1\\xd7\\xf7",kw="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Cw="\\u2000-\\u206f",Sw=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pu="A-Z\\xc0-\\xd6\\xd8-\\xde",Aw="\\ufe0e\\ufe0f",fu=ww+kw+Cw+Sw,mu="['\u2019]",iu="["+fu+"]",Tw="["+_w+"]",gu="\\d+",qw="["+cu+"]",hu="["+du+"]",bu="[^"+uu+fu+gu+cu+du+pu+"]",Iw="\\ud83c[\\udffb-\\udfff]",Hw="(?:"+Tw+"|"+Iw+")",Pw="[^"+uu+"]",xu="(?:\\ud83c[\\udde6-\\uddff]){2}",yu="[\\ud800-\\udbff][\\udc00-\\udfff]",xe="["+pu+"]",Ew="\\u200d",au="(?:"+hu+"|"+bu+")",Ww="(?:"+xe+"|"+bu+")",lu="(?:"+mu+"(?:d|ll|m|re|s|t|ve))?",su="(?:"+mu+"(?:D|LL|M|RE|S|T|VE))?",vu=Hw+"?",_u="["+Aw+"]?",Bw="(?:"+Ew+"(?:"+[Pw,xu,yu].join("|")+")"+_u+vu+")*",Fw="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ow="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Dw=_u+vu+Bw,Rw="(?:"+[qw,xu,yu].join("|")+")"+Dw,Lw=RegExp([xe+"?"+hu+"+"+lu+"(?="+[iu,xe,"$"].join("|")+")",Ww+"+"+su+"(?="+[iu,xe+au,"$"].join("|")+")",xe+"?"+au+"+"+lu,xe+"+"+su,Ow,Fw,gu,Rw].join("|"),"g");function $w(e){return e.match(Lw)||[]}wu.exports=$w});var Su=l((BI,Cu)=>{var jw=ru(),zw=nu(),Mw=Z(),Uw=ku();function Vw(e,t,r){return e=Mw(e),t=r?void 0:t,t===void 0?zw(e)?Uw(e):jw(e):e.match(t)||[]}Cu.exports=Vw});var Tu=l((FI,Au)=>{var Nw=Js(),Gw=eu(),Kw=Su(),Zw="['\u2019]",Jw=RegExp(Zw,"g");function Qw(e){return function(t){return Nw(Kw(Gw(t).replace(Jw,"")),e,"")}}Au.exports=Qw});var xt=l((OI,qu)=>{var Yw=Tu(),Xw=Yw(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()});qu.exports=Xw});var nc=l((qP,oc)=>{function Yk(e){return e&&e.length?e[0]:void 0}oc.exports=Yk});var ac=l((IP,ic)=>{ic.exports=nc()});var sc=l((HP,lc)=>{var Xk="__lodash_hash_undefined__";function eC(e){return this.__data__.set(e,Xk),this}lc.exports=eC});var cc=l((PP,uc)=>{function tC(e){return this.__data__.has(e)}uc.exports=tC});var Kr=l((EP,dc)=>{var rC=dt(),oC=sc(),nC=cc();function It(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new rC;++t<r;)this.add(e[t])}It.prototype.add=It.prototype.push=oC;It.prototype.has=nC;dc.exports=It});var fc=l((WP,pc)=>{function iC(e,t){for(var r=-1,o=e==null?0:e.length;++r<o;)if(t(e[r],r,e))return!0;return!1}pc.exports=iC});var Zr=l((BP,mc)=>{function aC(e,t){return e.has(t)}mc.exports=aC});var Jr=l((FP,gc)=>{var lC=Kr(),sC=fc(),uC=Zr(),cC=1,dC=2;function pC(e,t,r,o,n,i){var a=r&cC,u=e.length,s=t.length;if(u!=s&&!(a&&s>u))return!1;var c=i.get(e),f=i.get(t);if(c&&f)return c==t&&f==e;var p=-1,d=!0,g=r&dC?new lC:void 0;for(i.set(e,t),i.set(t,e);++p<u;){var m=e[p],h=t[p];if(o)var b=a?o(h,m,p,t,e,i):o(m,h,p,e,t,i);if(b!==void 0){if(b)continue;d=!1;break}if(g){if(!sC(t,function(x,v){if(!uC(g,v)&&(m===x||n(m,x,r,o,i)))return g.push(v)})){d=!1;break}}else if(!(m===h||n(m,h,r,o,i))){d=!1;break}}return i.delete(e),i.delete(t),d}gc.exports=pC});var bc=l((OP,hc)=>{function fC(e){var t=-1,r=Array(e.size);return e.forEach(function(o,n){r[++t]=[n,o]}),r}hc.exports=fC});var Ht=l((DP,xc)=>{function mC(e){var t=-1,r=Array(e.size);return e.forEach(function(o){r[++t]=o}),r}xc.exports=mC});var kc=l((RP,wc)=>{var yc=N(),vc=lr(),gC=ne(),hC=Jr(),bC=bc(),xC=Ht(),yC=1,vC=2,_C="[object Boolean]",wC="[object Date]",kC="[object Error]",CC="[object Map]",SC="[object Number]",AC="[object RegExp]",TC="[object Set]",qC="[object String]",IC="[object Symbol]",HC="[object ArrayBuffer]",PC="[object DataView]",_c=yc?yc.prototype:void 0,Qr=_c?_c.valueOf:void 0;function EC(e,t,r,o,n,i,a){switch(r){case PC:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case HC:return!(e.byteLength!=t.byteLength||!i(new vc(e),new vc(t)));case _C:case wC:case SC:return gC(+e,+t);case kC:return e.name==t.name&&e.message==t.message;case AC:case qC:return e==t+"";case CC:var u=bC;case TC:var s=o&yC;if(u||(u=xC),e.size!=t.size&&!s)return!1;var c=a.get(e);if(c)return c==t;o|=vC,a.set(e,t);var f=hC(u(e),u(t),o,n,i,a);return a.delete(e),f;case IC:if(Qr)return Qr.call(e)==Qr.call(t)}return!1}wc.exports=EC});var Ac=l((LP,Sc)=>{var Cc=ir(),WC=1,BC=Object.prototype,FC=BC.hasOwnProperty;function OC(e,t,r,o,n,i){var a=r&WC,u=Cc(e),s=u.length,c=Cc(t),f=c.length;if(s!=f&&!a)return!1;for(var p=s;p--;){var d=u[p];if(!(a?d in t:FC.call(t,d)))return!1}var g=i.get(e),m=i.get(t);if(g&&m)return g==t&&m==e;var h=!0;i.set(e,t),i.set(t,e);for(var b=a;++p<s;){d=u[p];var x=e[d],v=t[d];if(o)var C=a?o(v,x,d,t,e,i):o(x,v,d,e,t,i);if(!(C===void 0?x===v||n(x,v,r,o,i):C)){h=!1;break}b||(b=d=="constructor")}if(h&&!b){var S=e.constructor,H=t.constructor;S!=H&&"constructor"in e&&"constructor"in t&&!(typeof S=="function"&&S instanceof S&&typeof H=="function"&&H instanceof H)&&(h=!1)}return i.delete(e),i.delete(t),h}Sc.exports=OC});var Bc=l(($P,Wc)=>{var Yr=pt(),DC=Jr(),RC=kc(),LC=Ac(),Tc=ue(),qc=q(),Ic=Pe(),$C=it(),jC=1,Hc="[object Arguments]",Pc="[object Array]",Pt="[object Object]",zC=Object.prototype,Ec=zC.hasOwnProperty;function MC(e,t,r,o,n,i){var a=qc(e),u=qc(t),s=a?Pc:Tc(e),c=u?Pc:Tc(t);s=s==Hc?Pt:s,c=c==Hc?Pt:c;var f=s==Pt,p=c==Pt,d=s==c;if(d&&Ic(e)){if(!Ic(t))return!1;a=!0,f=!1}if(d&&!f)return i||(i=new Yr),a||$C(e)?DC(e,t,r,o,n,i):RC(e,t,s,r,o,n,i);if(!(r&jC)){var g=f&&Ec.call(e,"__wrapped__"),m=p&&Ec.call(t,"__wrapped__");if(g||m){var h=g?e.value():e,b=m?t.value():t;return i||(i=new Yr),n(h,b,r,o,i)}}return d?(i||(i=new Yr),LC(e,t,r,o,n,i)):!1}Wc.exports=MC});var Xr=l((jP,Dc)=>{var UC=Bc(),Fc=F();function Oc(e,t,r,o,n){return e===t?!0:e==null||t==null||!Fc(e)&&!Fc(t)?e!==e&&t!==t:UC(e,t,r,o,Oc,n)}Dc.exports=Oc});var Lc=l((zP,Rc)=>{var VC=pt(),NC=Xr(),GC=1,KC=2;function ZC(e,t,r,o){var n=r.length,i=n,a=!o;if(e==null)return!i;for(e=Object(e);n--;){var u=r[n];if(a&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++n<i;){u=r[n];var s=u[0],c=e[s],f=u[1];if(a&&u[2]){if(c===void 0&&!(s in e))return!1}else{var p=new VC;if(o)var d=o(c,f,s,e,t,p);if(!(d===void 0?NC(f,c,GC|KC,o,p):d))return!1}}return!0}Rc.exports=ZC});var eo=l((MP,$c)=>{var JC=$();function QC(e){return e===e&&!JC(e)}$c.exports=QC});var zc=l((UP,jc)=>{var YC=eo(),XC=z();function eS(e){for(var t=XC(e),r=t.length;r--;){var o=t[r],n=e[o];t[r]=[o,n,YC(n)]}return t}jc.exports=eS});var to=l((VP,Mc)=>{function tS(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}Mc.exports=tS});var Vc=l((NP,Uc)=>{var rS=Lc(),oS=zc(),nS=to();function iS(e){var t=oS(e);return t.length==1&&t[0][2]?nS(t[0][0],t[0][1]):function(r){return r===e||rS(r,e,t)}}Uc.exports=iS});var Gc=l((GP,Nc)=>{var aS=Ve();function lS(e,t,r){var o=e==null?void 0:aS(e,t);return o===void 0?r:o}Nc.exports=lS});var Zc=l((KP,Kc)=>{function sS(e,t){return e!=null&&t in Object(e)}Kc.exports=sS});var Qc=l((ZP,Jc)=>{var uS=Ue(),cS=Ie(),dS=q(),pS=rt(),fS=tt(),mS=ge();function gS(e,t,r){t=uS(t,e);for(var o=-1,n=t.length,i=!1;++o<n;){var a=mS(t[o]);if(!(i=e!=null&&r(e,a)))break;e=e[a]}return i||++o!=n?i:(n=e==null?0:e.length,!!n&&fS(n)&&pS(a,n)&&(dS(e)||cS(e)))}Jc.exports=gS});var Xc=l((JP,Yc)=>{var hS=Zc(),bS=Qc();function xS(e,t){return e!=null&&bS(e,t,hS)}Yc.exports=xS});var td=l((QP,ed)=>{var yS=Xr(),vS=Gc(),_S=Xc(),wS=bt(),kS=eo(),CS=to(),SS=ge(),AS=1,TS=2;function qS(e,t){return wS(e)&&kS(t)?CS(SS(e),t):function(r){var o=vS(r,e);return o===void 0&&o===t?_S(r,e):yS(t,o,AS|TS)}}ed.exports=qS});var od=l((YP,rd)=>{function IS(e){return function(t){return t?.[e]}}rd.exports=IS});var id=l((XP,nd)=>{var HS=Ve();function PS(e){return function(t){return HS(t,e)}}nd.exports=PS});var ld=l((eE,ad)=>{var ES=od(),WS=id(),BS=bt(),FS=ge();function OS(e){return BS(e)?ES(FS(e)):WS(e)}ad.exports=OS});var ro=l((tE,sd)=>{var DS=Vc(),RS=td(),LS=qe(),$S=q(),jS=ld();function zS(e){return typeof e=="function"?e:e==null?LS:typeof e=="object"?$S(e)?RS(e[0],e[1]):DS(e):jS(e)}sd.exports=zS});var cd=l((rE,ud)=>{function MS(e){return function(t,r,o){for(var n=-1,i=Object(t),a=o(t),u=a.length;u--;){var s=a[e?u:++n];if(r(i[s],s,i)===!1)break}return t}}ud.exports=MS});var pd=l((oE,dd)=>{var US=cd(),VS=US();dd.exports=VS});var md=l((nE,fd)=>{var NS=pd(),GS=z();function KS(e,t){return e&&NS(e,t,GS)}fd.exports=KS});var hd=l((iE,gd)=>{var ZS=K();function JS(e,t){return function(r,o){if(r==null)return r;if(!ZS(r))return e(r,o);for(var n=r.length,i=t?n:-1,a=Object(r);(t?i--:++i<n)&&o(a[i],i,a)!==!1;);return r}}gd.exports=JS});var xd=l((aE,bd)=>{var QS=md(),YS=hd(),XS=YS(QS);bd.exports=XS});var vd=l((lE,yd)=>{var eA=xd(),tA=K();function rA(e,t){var r=-1,o=tA(e)?Array(e.length):[];return eA(e,function(n,i,a){o[++r]=t(n,i,a)}),o}yd.exports=rA});var wd=l((sE,_d)=>{function oA(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}_d.exports=oA});var Sd=l((uE,Cd)=>{var kd=Re();function nA(e,t){if(e!==t){var r=e!==void 0,o=e===null,n=e===e,i=kd(e),a=t!==void 0,u=t===null,s=t===t,c=kd(t);if(!u&&!c&&!i&&e>t||i&&a&&s&&!u&&!c||o&&a&&s||!r&&s||!n)return 1;if(!o&&!i&&!c&&e<t||c&&r&&n&&!o&&!i||u&&r&&n||!a&&n||!s)return-1}return 0}Cd.exports=nA});var Td=l((cE,Ad)=>{var iA=Sd();function aA(e,t,r){for(var o=-1,n=e.criteria,i=t.criteria,a=n.length,u=r.length;++o<a;){var s=iA(n[o],i[o]);if(s){if(o>=u)return s;var c=r[o];return s*(c=="desc"?-1:1)}}return e.index-t.index}Ad.exports=aA});var Id=l((dE,qd)=>{var oo=De(),lA=Ve(),sA=ro(),uA=vd(),cA=wd(),dA=Ee(),pA=Td(),fA=qe(),mA=q();function gA(e,t,r){t.length?t=oo(t,function(i){return mA(i)?function(a){return lA(a,i.length===1?i[0]:i)}:i}):t=[fA];var o=-1;t=oo(t,dA(sA));var n=uA(e,function(i,a,u){var s=oo(t,function(c){return c(i)});return{criteria:s,index:++o,value:i}});return cA(n,function(i,a){return pA(i,a,r)})}qd.exports=gA});var Ed=l((pE,Pd)=>{var hA=ur(),bA=Id(),xA=et(),Hd=ot(),yA=xA(function(e,t){if(e==null)return[];var r=t.length;return r>1&&Hd(e,t[0],t[1])?t=[]:r>2&&Hd(t[0],t[1],t[2])&&(t=[t[0]]),bA(e,hA(t,1),[])});Pd.exports=yA});var Bd=l((fE,Wd)=>{function vA(e,t,r,o){for(var n=e.length,i=r+(o?1:-1);o?i--:++i<n;)if(t(e[i],i,e))return i;return-1}Wd.exports=vA});var Od=l((mE,Fd)=>{function _A(e){return e!==e}Fd.exports=_A});var Rd=l((gE,Dd)=>{function wA(e,t,r){for(var o=r-1,n=e.length;++o<n;)if(e[o]===t)return o;return-1}Dd.exports=wA});var $d=l((hE,Ld)=>{var kA=Bd(),CA=Od(),SA=Rd();function AA(e,t,r){return t===t?SA(e,t,r):kA(e,CA,r)}Ld.exports=AA});var zd=l((bE,jd)=>{var TA=$d();function qA(e,t){var r=e==null?0:e.length;return!!r&&TA(e,t,0)>-1}jd.exports=qA});var Ud=l((xE,Md)=>{function IA(e,t,r){for(var o=-1,n=e==null?0:e.length;++o<n;)if(r(t,e[o]))return!0;return!1}Md.exports=IA});var Nd=l((yE,Vd)=>{function HA(){}Vd.exports=HA});var Kd=l((vE,Gd)=>{var no=Jt(),PA=Nd(),EA=Ht(),WA=1/0,BA=no&&1/EA(new no([,-0]))[1]==WA?function(e){return new no(e)}:PA;Gd.exports=BA});var Jd=l((_E,Zd)=>{var FA=Kr(),OA=zd(),DA=Ud(),RA=Zr(),LA=Kd(),$A=Ht(),jA=200;function zA(e,t,r){var o=-1,n=OA,i=e.length,a=!0,u=[],s=u;if(r)a=!1,n=DA;else if(i>=jA){var c=t?null:LA(e);if(c)return $A(c);a=!1,n=RA,s=new FA}else s=t?[]:u;e:for(;++o<i;){var f=e[o],p=t?t(f):f;if(f=r||f!==0?f:0,a&&p===p){for(var d=s.length;d--;)if(s[d]===p)continue e;t&&s.push(p),u.push(f)}else n(s,p,r)||(s!==u&&s.push(p),u.push(f))}return u}Zd.exports=zA});var Yd=l((wE,Qd)=>{var MA=ro(),UA=Jd();function VA(e,t){return e&&e.length?UA(e,MA(t,2)):[]}Qd.exports=VA});var kT={};lp(kT,{BodyDefaults:()=>vT,BodyExporters:()=>Vr,BodyHead:()=>Nr,ButtonDefaults:()=>aT,ButtonExporters:()=>yt,ButtonHead:()=>hr,ColumnDefaults:()=>yT,ColumnExporters:()=>Se,ColumnHead:()=>lo,ContentExporters:()=>so,ContentHead:()=>uo,DividerDefaults:()=>lT,DividerExporters:()=>ve,HeadingDefaults:()=>sT,HeadingExporters:()=>vt,HeadingHead:()=>kr,HtmlDefaults:()=>uT,HtmlExporters:()=>Ar,ImageDefaults:()=>cT,ImageExporters:()=>wt,ImageHead:()=>qr,MenuDefaults:()=>dT,MenuExporters:()=>Ir,ParagraphDefaults:()=>pT,ParagraphExporters:()=>Ct,ParagraphHead:()=>Wr,RowDefaults:()=>xT,RowExporters:()=>Ae,RowHead:()=>po,SocialDefaults:()=>fT,SocialExporters:()=>Qe,TableDefaults:()=>mT,TableExporters:()=>St,TableHead:()=>Fr,TextDefaults:()=>gT,TextExporters:()=>At,TextHead:()=>Rr,TimerDefaults:()=>hT,TimerExporters:()=>Lr,TimerHead:()=>$r,VideoDefaults:()=>bT,VideoExporters:()=>qt,VideoHead:()=>Ur,exporters:()=>_T,heads:()=>wT,schemaVersion:()=>iT});module.exports=sp(kT);var gr=y(k()),mr=y(Oi());var ob=y(le());var Di=(e,t,r,o)=>{let n=[e,t,r,o];return Array.from(new Set(n)).length==1};function D(e){let r=(typeof e=="string"||typeof e=="number"?`${e||"0px"}`:"0px").trim().split(/\s+/).map(o=>parseFloat(o));return r.length===0?{top:void 0,right:void 0,bottom:void 0,left:void 0}:r.length===1?{top:r[0],right:r[0],bottom:r[0],left:r[0]}:r.length===2?{top:r[0],right:r[1],bottom:r[0],left:r[1]}:r.length===3?{top:r[0],right:r[1],bottom:r[2],left:r[1]}:{top:r[0],right:r[1],bottom:r[2],left:r[3]}}function Ri(e,t){if(!e)return 0;let{top:r,right:o,bottom:n,left:i}=D(e),a=r||0,u=o||0,s=i||0,c=n||0;if(Di(a,u,s,c))return Math.round(a/(t/2)*100)/2;let p=(a+u+s+c)/4;return Math.round(p/(t/2)*100)/2}function ut(e,t){if(!e)return"";let r=t?" !important":"";return`-webkit-border-radius: ${e+r}; -moz-border-radius: ${e+r};`}var Gs=y(ta()),pr=y(Vs());var Ns=y(le());function Ne(e,t={}){let{deep:r}=t||{};return Object.keys(e).reduce((o,n)=>{if(e[n]===void 0)return o;let i=r&&(0,Ns.default)(e[n])?Ne(e[n],t):e[n];return{...o,[n]:i}},{})}function R(e,{escapeAndOperator:t=!1,escapeLT:r=!0,escapeGT:o=!0,escapeDoubleQuotes:n=!0,escapeSingleQuotes:i=!0}={}){if(!(e&&typeof e=="string"))return"";let a=e;return t&&(a=a.replace(/&/g,"&")),r&&(a=a.replace(/</g,"<")),o&&(a=a.replace(/>/g,">")),n&&(a=a.replace(/"/g,""")),i&&(a=a.replace(/'/g,"'")),a}function he(e){return!e||typeof e!="string"?"":e.replace(/\s+/g," ").trim()}function cr(e,t={}){return R(e,{escapeAndOperator:!1,escapeDoubleQuotes:!0,escapeGT:!0,escapeLT:!0,escapeSingleQuotes:!1,...t})}function Ks(e,{shouldEscapeHtml:t=!0,isJSDOM:r=!1}={}){let o=t?cr:n=>n;return typeof e=="string"||!e?{href:o(e||""),target:"_blank"}:"url"in e?{href:o(e.url||""),target:e.target||"_blank"}:(()=>{let{attrs:n,values:i}=e,a=Q("onClick",n,i)||void 0;if(typeof a=="function"&&(a=`${a}`),a&&!(a.startsWith("function")||a.match(/\(([a-zA-Z0-9_,=\'\"\`\{\}:\s]?)+\)\s+=>/)||a.match(/[a-zA-Z0-9_]+\(([a-zA-Z0-9_,=\'\"\`\{\}:\s]?)+\)\s+\{/)||a.match(/[a-zA-Z0-9]+\s+=>/))&&Object.keys(e.values||{}).length&&Object.keys(e.values||{}).some(d=>a?.includes(d))&&!n?.onClick?.match(/\{\{[a-zA-Z_]+\}\}/)&&(a=`function({${Object.keys(e.values||{}).join(",")}}) {${a}}`),a&&!a.startsWith("function")&&a.match(/[a-zA-Z0-9_]+\s*\(([a-zA-Z0-9_,=\'\"\`\{\}:\s]?)+\)\s*\{/)&&(a=a.replace(/([a-zA-Z0-9_]+\s*)(\(([a-zA-Z0-9_,=\'\"\`\{\}:\s]?)+\)\s*\{)/,"function$2")),a&&a.startsWith("function")&&a.match(/[a-zA-Z0-9_]+\s*\([\s\{\,}]*\)\s*\{/)&&(a=a.replace(/([a-zA-Z0-9_]+\s*\([\s\{\,}]*\)\s*\{\s*)(.+)(\s*\}[\s;]*)/,"$2").trim()),a&&(a.startsWith("function")||a.match(/\(([a-zA-Z0-9_,=\'\"\`\{\}:\s]?)+\)\s+=>/)||a.match(/[a-zA-Z0-9]+\s+=>/))){let d=Object.keys(e.values||{}).map(g=>{let m=g==="class"?" ":",",h=e.values[g],b=Array.isArray(h)?h.map(be).join(m):be(h);return`${g}:"${b}"`}).join(",");a=`(${a})({${d}})`}let u=Q("href",n,i)||"",s=X0(n,i);if(Object.keys(n||{}).some(d=>dr(d)&&d.startsWith("data-")&&!d.startsWith("+"))&&Object.keys(s).every(g=>{let m=s[g];if(!m)return!0;if(typeof m!="string")return!1;let h=m.trim();return h===""||h.match(/^\{\{[^}]+\}\}$/)})&&!u&&!a)return{};let f={...s,href:o(u)||(a?"#":void 0),target:o(Q("target",n,i))||(a?void 0:"_blank"),onClick:Y0(o(a))||void 0,[r?"className":"class"]:o(Q("class",n,i))||void 0,download:Q("download",n,i)==="true"||Q("download",n,i)===!0?"true":void 0};return Object.keys(n||{}).some(d=>dr(d)&&d.startsWith("data-")&&!d.startsWith("+"))&&Object.keys(s).every(g=>!s[g]||s[g].trim()==="")&&!u&&!a?{}:Ne(f)})()}function A(e,t={href:""},{isJSDOM:r=!1}={}){let o={...(0,pr.default)(e?.customAttrs,["onClick"]),href:e?.url||void 0,target:e?.target||void 0,onclick:e?.onClick||void 0,[r?"className":"class"]:e?.class||void 0};return e?.customAttrs&&Object.keys(e.customAttrs).length>0&&Object.keys(e.customAttrs).every(a=>!e.customAttrs[a]||e.customAttrs[a].trim()==="")&&!e?.url&&!e?.onClick?{}:{...t,...Ne(o)}}function P(e){if(!e)return!0;let t=(0,pr.default)({...e},["target"]);return t.href||delete t.href,t.onclick||delete t.onclick,t.onClick||delete t.onClick,!!(0,Gs.default)(Ne(t))}function Q(e,t,r){let o=`${(t&&t[e])??""}`,n=t&&t[`+${e}`];if(n){let a=o.startsWith("#")&&(n.startsWith("?")||n.startsWith("&"))?"":n.startsWith("?")&&o.includes("?")?n.replace("?","&"):n.startsWith("&")&&!o.includes("?")?n.replace("&","?"):n;o=`${o??""}${a??""}`}if(!o)return`${r&&r[e]||""}`;let i=o;if(Object.entries(r||{}).forEach(([a,u])=>{let s=(g,m=["{","}"])=>Array.from(g).map(h=>m.includes(h)?h:encodeURIComponent(h)).join(""),c=g=>s(g,["{","}"]),f=e==="class"?" ":",",p=Array.isArray(u)?u.map(be).map(c).join(f):be(u),d=Array.isArray(u)?u.map(be).map(c).join(f):c(be(u));i=i.replace(new RegExp(`{{${a}}}`,"g"),(g,m)=>o.indexOf("?")>=0&&m>o.indexOf("?")||m>(o.match(/&(?!amp;)/)?.index??1/0)?d:p)}),!(e==="href"&&(i.startsWith("mailto:")&&(i=i.replace(/([\?&]?)([\w]+)=(&|$)/gi,"$1")),i=i.replace(/[?&]$/,""),!i||i.trim()===""||i==="{{href}}"||i==="{{url}}"||i==="{{custom}}")))return i}function Q0(e){return`${e||""}`.replace(/(^|\s)+\/\*[\s\S]*?\*\/|(^|\s)+\/\/.*/g,"")}function Y0(e){return he(Q0(e))}function dr(e){return!["href","target","class","onClick"].includes(e)}function X0(e,t){return e?Object.keys(e).reduce((r,o)=>dr(o)&&o.startsWith("data-")&&!o.startsWith("+")?{...r,[cr(o)]:cr(`${Q(o,e,t)||t[o]||""}`)}:r,{}):{}}var be=e=>typeof e=="number"?`${e}`:`${(e&&typeof e=="object"&&"value"in e?e?.value:void 0)??e??""}`;var Iu=y(xt());function T(e,{kebab:t=!1}={}){return e?Object.entries(e).reduce((r,[o,n])=>{if(n==null)return r;let i=t?(0,Iu.default)(o):o;return`${r} ${i}="${n}"`.trim()},""):""}var Hu=y(xt());function ye(e){return e?Object.entries(e).reduce((t,[r,o])=>o==null?t:`${t} ${(0,Hu.default)(r)}: ${o};`.trim(),""):""}function fr(e){let t=e.toString(16);return t.length==1?`0${t}`:t}function ek(e,t,r){return`#${fr(e)}${fr(t)}${fr(r)}`}function tk(e){let t=100;if(e.indexOf("rgba")>-1){let r=e.replace("rgba(","").replace(")","").split(",");t=parseFloat(r[3])*100}return t}function M(e){if(!e||typeof e!="string"||!e.includes("rgb"))return e;if(tk(e)<100)return"";let t=e.replace("rgba(","").replace(")","").split(",");return ek(parseFloat(t[0]),parseFloat(t[1]),parseFloat(t[2]))}function Y(e,t){return e?["heading","button","paragraph"].includes(e)&&typeof t?.textJson=="string":!1}var Pu=(0,gr.default)(`
|
|
4
21
|
<div class="v-text-align" style="text-align: <%= values.textAlign %>;">
|
|
5
22
|
<a <%= objectToHtmlAttrs(linkAttrs) %> class="v-size-width v-line-height v-padding v-button-colors v-border v-border-radius v-font-family v-font-size v-font-weight v-letter-spacing" style="color:<%= values.buttonColors.color %>;background-color:<%= bgcolor %>;<% if (borderRadius) { %><%= borderRadius %><% } %>line-height:<%= values.lineHeight %>;display:inline-block;text-decoration:none;text-align:center;padding:<%= values.padding %>;width:<%= width || 'auto' %>;max-width:100%;word-wrap:break-word;<% if (border) { %><%= border %><% } %><% if (values.fontFamily) { %>font-family: <%= values.fontFamily?.value %>; <% } %>font-size: <%= values.fontSize %>;<% if (values.fontWeight) { %>font-weight: <%= values.fontWeight %>; <% } %><% if (values.letterSpacing) { %>letter-spacing: <%= values.letterSpacing %>; <% } %>">
|
|
6
23
|
<%= text %>
|
|
7
24
|
</a>
|
|
8
25
|
</div>
|
|
9
|
-
`,{imports:{objectToHtmlAttrs:
|
|
26
|
+
`,{imports:{objectToHtmlAttrs:T}}),rk=(0,gr.default)(`
|
|
10
27
|
<!--[if mso]><style>.v-button {background: transparent !important;}</style><![endif]-->
|
|
11
28
|
<div class="v-text-align" align="<%= values.textAlign %>">
|
|
12
29
|
<% if (parentHasBackgroundImage) { %><!--[if mso]><table role="presentation" border="0" cellspacing="0" cellpadding="0"><tr><td align="center" bgcolor="<%= values.buttonColors.backgroundColor %>" style="padding:<%= values.padding %>;" valign="top"><![endif]--><% } else { %><!--[if mso]><v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="<%= linkAttrs.href || '' %>" style="height:<%= calculatedHeight %>px; v-text-anchor:middle; width:<%= calculatedWidth %>px;" arcsize="<%= arcsize %>%" <% if (borderTopColor && borderTopWidth > 0) { %> strokecolor="<%= borderTopColor %>" strokeweight="<%= borderTopWidth %>px"<% } else { %> stroke="f"<% } %> fillcolor="<%= bgcolor %>"><w:anchorlock/><center style="color:<%= values.buttonColors.color %>;<% if (values.fontFamily) { %>font-family: <%= values.fontFamily?.value %>; <% } %>"><![endif]--><% } %>
|
|
@@ -15,7 +32,7 @@ var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDe
|
|
|
15
32
|
</a>
|
|
16
33
|
<% if (parentHasBackgroundImage) { %><!--[if mso]></td></tr></table><![endif]--><% } else { %><!--[if mso]></center></v:roundrect><![endif]--><% } %>
|
|
17
34
|
</div>
|
|
18
|
-
`,{imports:{objectToHtmlAttrs:
|
|
35
|
+
`,{imports:{objectToHtmlAttrs:T}}),yt={web(e,t,r,o,n,i,a,u){let{exporterConfig:s}=u||{};e.border=e.border||{},e.buttonColors=e.buttonColors||{},e.size=e.size||{};let c=e.buttonColors.backgroundColor,f=ye(e.border),p=e.borderRadius&&`border-radius: ${e.borderRadius};`,g=Y("button",e)?s?.generateHtmlFromTextJson?.(e.textJson)||"":(0,mr.default)(e.text),m=e?._processedText||(s?.toSafeHtml?s.toSafeHtml(g):g)||"",h=e.size.width&&!e.size.autoWidth?e.size.width:"auto",b=A(e.href);return Pu({bgcolor:c,border:f,borderRadius:p,linkAttrs:b,text:m,values:e,width:h})},email(e,t,r,o,n,i,a,u){let{exporterConfig:s}=u||{};e.border=e.border||{},e.buttonColors=e.buttonColors||{},e.size=e.size||{};let c=M(e.buttonColors.backgroundColor),f=ye(e.border),p=M(e.border.borderTopColor),d=parseInt(e.border.borderTopWidth)||0,g=e.calculatedWidth||120,m=e.calculatedHeight||45,h=e.borderRadius&&`border-radius: ${e.borderRadius};`+ut(e.borderRadius),b=Ri(e.borderRadius,m),v=Y("button",e)?s?.generateHtmlFromTextJson?.(e.textJson)||"":(0,mr.default)(e.text),C=(s?.toSafeHtml?s.toSafeHtml(v):v)||"",S=e.size.width&&!e.size.autoWidth?e.size.width:"auto",H=i?.backgroundImage?.url,Ye=A(e.href);delete Ye.onclick;let tp=C.includes('dir="')?void 0:s?.textDirection;return rk({arcsize:b,bgcolor:c,border:f,borderRadius:h,borderTopColor:p,borderTopWidth:d,calculatedHeight:m,calculatedWidth:g,linkAttrs:Ye,text:C,values:e,width:S,parentHasBackgroundImage:H,textDirection:tp})},classic(e,t,r,o,n,i,a,u){let{exporterConfig:s}=u||{},c=e.buttonColors.backgroundColor,f=ye(e.border),p=Y("button",e)?s?.generateHtmlFromTextJson?.(e.textJson)||"":e.text||"",d=e?._processedText||(s?.toSafeHtml?s.toSafeHtml(p):p)||"",g=e.size.width&&!e.size.autoWidth?e.size.width:"auto",m=A(e.href);return Pu({bgcolor:c,border:f,linkAttrs:m,text:d,values:e,width:g})},document(...e){return yt.web?.(...e)||""}};var Eu=y(k()),ok=(0,Eu.default)(`
|
|
19
36
|
<% if (hoverColor || hoverBackgroundColor) { %>
|
|
20
37
|
#<%= values._meta.htmlID %> a:hover {
|
|
21
38
|
<% if (hoverColor) { %>
|
|
@@ -27,7 +44,7 @@ var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDe
|
|
|
27
44
|
<% } %>
|
|
28
45
|
}
|
|
29
46
|
<% } %>
|
|
30
|
-
`),
|
|
47
|
+
`),hr={css(e,t,{displayMode:r,headConfig:o}){let n=!o?.hasFeature?.("legacy.disableHoverButtonColors")&&r!=="email";return ok({values:e,hoverColor:n?e.buttonColors.hoverColor:void 0,hoverBackgroundColor:n?e.buttonColors.hoverBackgroundColor:void 0})}};var yr=y(require("react")),vr=y(require("react-dom/server")),Wu=y(k());var br=y(require("react")),xr=e=>{let{values:{border:t,width:r,textAlign:o}}=e,n={width:r,display:"inline-block"};return t&&(n={...t?typeof t=="object"?t:{borderTop:t}:{},...n,lineHeight:t?.borderTopWidth??1,height:"0px",verticalAlign:"middle"}),br.default.createElement("div",{style:{textAlign:o,lineHeight:0},"aria-label":"divider"},br.default.createElement("div",{style:n}," "))};var nk=(0,Wu.default)(`
|
|
31
48
|
<table role="presentation" aria-label="divider" align="<%= values.textAlign %>" border="0" cellpadding="0" cellspacing="0" width="<%= values.width %>" style="border-collapse: collapse;table-layout: fixed;border-spacing: 0;mso-table-lspace: 0pt;mso-table-rspace: 0pt;vertical-align: top;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">
|
|
32
49
|
<tbody>
|
|
33
50
|
<tr style="vertical-align: top">
|
|
@@ -37,38 +54,38 @@ var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDe
|
|
|
37
54
|
</tr>
|
|
38
55
|
</tbody>
|
|
39
56
|
</table>
|
|
40
|
-
`),
|
|
57
|
+
`),ve={web(e){return vr.default.renderToStaticMarkup(yr.default.createElement(xr,{values:e,displayMode:"web"}))},email(e){return e.border=e.border&&typeof e.border=="object"?e.border:{},nk({values:e})},ampWeb(...e){return ve.ampEmail?.(...e)||""},ampEmail(...e){return ve.web?.(...e)||""},classic(...e){return ve.email?.(...e)||""},document(e){return vr.default.renderToStaticMarkup(yr.default.createElement(xr,{values:e,displayMode:"document"}))}};var _r=y(k());function W(e){return`${e||""}`.replace(/([^\s<>]) (<)/,"$1 $2")}var ik=(0,_r.default)(`
|
|
41
58
|
<<%= values.headingType %> class="v-color v-text-align v-line-height v-font-size v-font-weight v-letter-spacing" style="margin: 0px; <% if (values.color) { %>color: <%= values.color %>; <% } %>line-height: <%= values.lineHeight %>; text-align: <%= values.textAlign %>; word-wrap: break-word; <% if (values.fontFamily) { %>font-family: <%= values.fontFamily?.value %>; <% } %><% if (values.letterSpacing) { %>letter-spacing: <%= values.letterSpacing %>; <% } %>font-size: <%= values.fontSize %>; font-weight: <%= values.fontWeight || '400' %>;"><%= text %></<%= values.headingType %>>
|
|
42
|
-
`),
|
|
59
|
+
`),ak=(0,_r.default)(`
|
|
43
60
|
<!--[if mso]><table role="presentation" width="100%"><tr><td><![endif]-->
|
|
44
61
|
<<%= values.headingType %> class="v-color v-text-align v-line-height v-font-size v-font-weight v-letter-spacing" style="margin: 0px; <% if (values.color) { %>color: <%= values.color %>; <% } %>line-height: <%= values.lineHeight %>; text-align: <%= values.textAlign %>; word-wrap: break-word; <% if (values.fontFamily) { %>font-family: <%= values.fontFamily?.value %>; <% } %><% if (values.letterSpacing) { %>letter-spacing: <%= values.letterSpacing %>; <% } %>font-size: <%= values.fontSize %>; font-weight: <%= values.fontWeight || '400' %>;"<% if (textDirection) { %> dir="<%= textDirection %>" <% } %>><%= text %></<%= values.headingType %>>
|
|
45
62
|
<!--[if mso]></td></tr></table><![endif]-->
|
|
46
|
-
`),
|
|
63
|
+
`),vt={web(e,t,r,o,n,i,a,u){let{exporterConfig:s}=u||{},c=Y("heading",e)?s?.generateHtmlFromTextJson?.(e.textJson)||"":e.text||"",f=W(s?.toSafeHtml?s.toSafeHtml(c):c||"");return ik({values:e,text:f})},email(e,t,r,o,n,i,a,u){let{exporterConfig:s}=u||{},c=Y("heading",e)?s?.generateHtmlFromTextJson?.(e.textJson)||"":e.text||"",f=W(s?.toSafeHtml?s.toSafeHtml(c):c||""),p=f.includes('dir="')?void 0:s?.textDirection;return ak({values:e,text:f,textDirection:p})},document(...e){return vt.web?.(...e)||""}};var wr=y(k()),lk=(0,wr.default)(`
|
|
47
64
|
#<%= values._meta.htmlID %> a {
|
|
48
65
|
<% if (linkColorChanged) { %>color: <%= values.linkStyle.linkColor %>;<% } %>
|
|
49
66
|
<% if (linkUnderlineChanged) { %>text-decoration: <%= values.linkStyle.linkUnderline ? 'underline' : 'none' %>;<% } %>
|
|
50
67
|
}
|
|
51
|
-
`),
|
|
68
|
+
`),sk=(0,wr.default)(`
|
|
52
69
|
#<%= values._meta.htmlID %> a:hover {
|
|
53
70
|
<% if (linkHoverColorChanged) { %>color: <%= values.linkStyle.linkHoverColor %>;<% } %>
|
|
54
71
|
<% if (linkHoverUnderlineChanged) { %>text-decoration: <%= values.linkStyle.linkHoverUnderline ? 'underline' : 'none' %>;<% } %>
|
|
55
72
|
}
|
|
56
|
-
`),
|
|
57
|
-
`)}};var
|
|
73
|
+
`),kr={css(e,t,{displayMode:r}){let o={...e},n={...t};n.linkStyle=n.linkStyle||{},o.linkStyle=o.linkStyle||{};let{linkStyle:i}=o;if(i.inherit)return;let a=!!i.linkColor&&i.linkColor!=n.linkStyle.linkColor,u=i.linkUnderline!==null&&i.linkUnderline!==n.linkStyle.linkUnderline,s=a||u,c=!!i.linkHoverColor&&i.linkHoverColor!=n.linkStyle.linkHoverColor,f=i.linkHoverUnderline!==null&&i.linkHoverUnderline!==i.linkUnderline,p=c||f,d=[];if(s&&d.push(lk({values:o,linkColorChanged:a,linkUnderlineChanged:u})),r=="web"&&p&&d.push(sk({values:o,linkHoverColorChanged:c,linkHoverUnderlineChanged:f})),d.length>0)return d.join(`
|
|
74
|
+
`)}};var _t=y(require("react")),Sr=y(k()),Cr=y(require("react-dom/server")),Bu=e=>{let{values:t,exporterConfig:r}=e,n={__html:r?.toSafeHtml?r.toSafeHtml(t.html):t.html};return _t.default.createElement("div",{dangerouslySetInnerHTML:n})},uk=(0,Sr.default)(`
|
|
58
75
|
<div>
|
|
59
76
|
<%= html %>
|
|
60
77
|
</div>
|
|
61
|
-
`),
|
|
78
|
+
`),ck=(0,Sr.default)(`
|
|
62
79
|
<div>
|
|
63
80
|
<%= html %>
|
|
64
81
|
</div>
|
|
65
|
-
`),
|
|
82
|
+
`),Ar={web(e,t,r,o,n,i,a,u){let{exporterConfig:s}=u||{};return Cr.default.renderToStaticMarkup(_t.default.createElement(Bu,{values:e,exporterConfig:s}))},email(e,t,r,o,n,i,a,u){let{exporterConfig:s}=u||{},c=s?.toSafeHtml?s?.toSafeHtml(e.html):e.html;return uk({values:e,html:c})},classic(e,t,r,o,n,i,a,u){let{exporterConfig:s}=u||{},c=s?.toSafeHtml?s.toSafeHtml(e.html):e.html;return ck({values:e,html:c})},document(e,t,r,o,n,i,a,u){let{exporterConfig:s}=u||{};return Cr.default.renderToStaticMarkup(_t.default.createElement(Bu,{values:e,exporterConfig:s}))}};var _e=y(k());var Tr=y(xt());var Fu=y(q()),dk=!1;function E(e,t=2){if(!(typeof e=="number"||typeof e=="string"))return;let r=parseFloat(`${e}`);if(!Number.isNaN(r))return parseFloat(r.toFixed(t))}function Ge(e,{decimalsPlace:t=2}={}){let r=E(e,t);if(typeof r=="number"&&!Number.isNaN(r)){if(typeof e=="number")return`${r}px`;if(typeof e=="string"&&e.endsWith("px"))return`${r}px`;if(typeof e=="string"&&e.endsWith("%"))return`${r}%`}}function X(e,t,r={}){let{decimalsPlace:o=2,ifNumberConsiderAsPercentage:n=!1}=r;if(typeof e=="number")return n?X(`${e*100}%`,t,{decimalsPlace:o}):E(Math.min(e,t??1/0),o);if(typeof e=="string"&&e.endsWith("px"))return X(parseFloat(e),t,r);if(t&&typeof e=="string"&&e.endsWith("%")){let i=parseFloat(e),a=t*i/100;return X(a,void 0,r)}}function ee(e,{displayMode:t}){if(t==="email"&&!dk)return;let{size:r,customSize:o}=e||{};if(r==="contain")return"contain";if(r==="cover")return"cover";if(r==="custom"&&(0,Fu.default)(o))return o.map(n=>n??"auto").join(" ")}var Ou=y(le());function Ke(e){let r=(typeof e=="string"||typeof e=="number"?`${e||"0px"}`.trim():e&&(0,Ou.default)(e)?[`${e.borderTopWidth||"0px"}`.trim(),`${e.borderRightWidth||"0px"}`.trim(),`${e.borderBottomWidth||"0px"}`.trim(),`${e.borderLeftWidth||"0px"}`.trim()].join(" "):"0px").split(/\s+/).map(o=>parseFloat(o));return r.length===0?{top:void 0,right:void 0,bottom:void 0,left:void 0}:r.length===1?{top:r[0],right:r[0],bottom:r[0],left:r[0]}:r.length===2?{top:r[0],right:r[1],bottom:r[0],left:r[1]}:r.length===3?{top:r[0],right:r[1],bottom:r[2],left:r[1]}:{top:r[0],right:r[1],bottom:r[2],left:r[3]}}function U(e){return!`${e?.contentWidth}`.endsWith("%")}function pk({body:e,fallbackBodyContentWidth:t=500}){let r=parseFloat(`${e?.values?.contentWidth||0}`)==e?.values?.contentWidth||`${e?.values?.contentWidth}`.endsWith("px")?parseFloat(`${e?.values?.contentWidth||0}`):t,o=D(e?.values?.padding),n=Ke(e?.values?.border);return r-(o.left||0)-(o.right||0)-(n.left||0)-(n.right||0)}function fk({body:e,row:t}){let r=pk({body:e}),o=D(t?.values?.padding),n=Ke(t?.values?.border);return r-(o.left||0)-(o.right||0)-(n.left||0)-(n.right||0)}function mk({body:e,row:t,column:r}){let o=fk({body:e,row:t}),n=t?.cells?.reduce((c,f)=>c+f,0)||1,a=(t?.cells?.[r?.index]||1)/n*o,u=D(r?.values?.padding),s=Ke(r?.values?.border);return a-(u.left||0)-(u.right||0)-(s.left||0)-(s.right||0)}function gk({body:e,row:t,column:r,item:o}){let n=mk({body:e,row:t,column:r}),i=D(o?.values?.containerPadding),a=Ke(o?.values?.border);return n-(i.left||0)-(i.right||0)-(a.left||0)-(a.right||0)}function I({values:e,columnIndex:t,columnValues:r,rowCells:o,rowValues:n,bodyValues:i}){return gk({body:{values:i},row:{cells:o,values:n},column:{index:t,values:r},item:{values:e}})}function hk(e,t){let{autoWidth:r=!0,maxWidth:o,width:n}=e||{},i=r?void 0:Ge(o)||void 0,a=i||"100%",u=i&&t?Ge(X(i,t)):Ge(i||(t&&n&&n>t?t:n)||"100%");return{width:a,maxWidth:u}}function O(e,t,r="src"){let{width:o,maxWidth:n}=hk(e,t);return{imageCSSClassName:[r==="width"?"v-width":`v-${r}-width`,(0,Tr.default)(r)==="max-width"?"v-max-width":`v-${(0,Tr.default)(r)}-max-width`].filter(Boolean).join(" "),imageStyleObj:{width:o,maxWidth:n},imageCSSStyle:[o&&`width: ${o};`,n&&`max-width: ${n};`].filter(Boolean).join("")}}function Ze(e,t){if(!(e&&typeof e=="string")||!t.dynamic)return e;let r=typeof t.resizeWidth=="number"||typeof t.resizeWidth=="string"&&t.resizeWidth.endsWith("px")?E(t.resizeWidth):void 0;if(!(r&&r>0))return e;let o=typeof t.originalWidth=="number"||typeof t.originalWidth=="string"&&t.originalWidth.endsWith("px")?E(t.originalWidth):void 0,n=t.allowUpscale===!0,i=r*2,a=i&&o?n?i:Math.min(i,o):i;if(a===o)return e;try{let u=new URL(e),s=Ge(a);return u.searchParams.set("w",s),u.toString()}catch{return e}}var bk=(0,_e.default)(`
|
|
66
83
|
<div class="v-text-align" style="position:relative;line-height:0px;text-align:<%= values.textAlign %>">
|
|
67
84
|
<% if (!isLinkAttrEmpty(linkAttrs)) { %><a <%= objectToHtmlAttrs(linkAttrs) %>><% } %>
|
|
68
85
|
<img alt="<%= altText %>" class="<%= imageCSSClassName %>" src="<%= src %>" style="<%= imageCSSStyle %>" title="<%= altText %>"/>
|
|
69
86
|
<% if (!isLinkAttrEmpty(linkAttrs)) { %></a><% } %>
|
|
70
87
|
</div>
|
|
71
|
-
`,{imports:{isLinkAttrEmpty:
|
|
88
|
+
`,{imports:{isLinkAttrEmpty:P,objectToHtmlAttrs:T}}),xk=(0,_e.default)(`
|
|
72
89
|
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
73
90
|
<tr>
|
|
74
91
|
<td class="v-text-align" style="padding-right: 0px;padding-left: 0px;" align="<%= values.textAlign %>">
|
|
@@ -78,7 +95,7 @@ var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDe
|
|
|
78
95
|
</td>
|
|
79
96
|
</tr>
|
|
80
97
|
</table>
|
|
81
|
-
`,{imports:{isLinkAttrEmpty:
|
|
98
|
+
`,{imports:{isLinkAttrEmpty:P,objectToHtmlAttrs:T}}),yk=(0,_e.default)(`
|
|
82
99
|
<div style="position:relative;line-height:0px;text-align:<%= values.textAlign %>">
|
|
83
100
|
<% if (!isLinkAttrEmpty(linkAttrs)) { %><a <%= objectToHtmlAttrs(linkAttrs) %>><% } %>
|
|
84
101
|
<amp-img
|
|
@@ -92,7 +109,7 @@ var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDe
|
|
|
92
109
|
</amp-img>
|
|
93
110
|
<% if (!isLinkAttrEmpty(linkAttrs)) { %></a><% } %>
|
|
94
111
|
</div>
|
|
95
|
-
`,{imports:{isLinkAttrEmpty:
|
|
112
|
+
`,{imports:{isLinkAttrEmpty:P,objectToHtmlAttrs:T}}),vk=(0,_e.default)(`
|
|
96
113
|
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
97
114
|
<tr>
|
|
98
115
|
<td style="padding-right: 0px;padding-left: 0px;" align="<%= values.textAlign %>">
|
|
@@ -110,18 +127,18 @@ var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDe
|
|
|
110
127
|
</td>
|
|
111
128
|
</tr>
|
|
112
129
|
</table>
|
|
113
|
-
`,{imports:{isLinkAttrEmpty:
|
|
130
|
+
`,{imports:{isLinkAttrEmpty:P,objectToHtmlAttrs:T}}),_k=(0,_e.default)(`
|
|
114
131
|
<div class="v-text-align" style="position:relative;line-height:0px;text-align:<%= values.textAlign %>">
|
|
115
132
|
<% if (!isLinkAttrEmpty(linkAttrs)) { %><a <%= objectToHtmlAttrs(linkAttrs) %>><% } %>
|
|
116
133
|
<img alt="<%= altText %>" class="<%= imageCSSClassName %>" src="<%= src %>" style="<%= imageCSSStyle %>" title="<%= altText %>"/>
|
|
117
134
|
<% if (!isLinkAttrEmpty(linkAttrs)) { %></a><% } %>
|
|
118
135
|
</div>
|
|
119
|
-
`),
|
|
136
|
+
`),wt={web(e,t,r,o,n,i,a,u){let{columnIndex:s,columnValues:c,rowCells:f,rowValues:p,bodyValues:d}=u||{},g=U(d),m=I({values:e,columnIndex:s,columnValues:c,rowCells:f,rowValues:p,bodyValues:d}),{imageCSSClassName:h,imageStyleObj:b,imageCSSStyle:x}=O(e.src,g?m:0),v=Ze(e?.src?.url,{dynamic:e?.src?.dynamic,resizeWidth:b?.maxWidth,originalWidth:e?.src?.width});return v?bk({values:e,imageCSSClassName:h,imageCSSStyle:x,linkAttrs:A(e.action),src:R(v),altText:R(e.altText),width:E(b.maxWidth)}):""},email(e,t,r,o,n,i,a,u){let{columnIndex:s,columnValues:c,rowCells:f,rowValues:p,bodyValues:d}=u||{},g=I({values:e,columnIndex:s,columnValues:c,rowCells:f,rowValues:p,bodyValues:d}),{imageCSSClassName:m,imageCSSStyle:h,imageStyleObj:b}=O(e.src,g),x=A(e.action);delete x.onclick;let v=Ze(e?.src?.url,{dynamic:e?.src?.dynamic,resizeWidth:b?.maxWidth,originalWidth:e?.src?.width});if(!v)return"";let C=E(b.maxWidth),S=e?.src?.width,H=e?.src?.height,Ye=C&&S&&H?Math.round(C/S*H):void 0;return xk({imageCSSClassName:m,imageCSSStyle:h,linkAttrs:x,values:e,src:R(v),altText:R(e.altText),width:C,height:Ye})},ampWeb(e,t,r,o,n,i,a,u){let{columnIndex:s,columnValues:c,rowCells:f,rowValues:p,bodyValues:d}=u||{},g=U(d),m=I({values:e,columnIndex:s,columnValues:c,rowCells:f,rowValues:p,bodyValues:d}),{imageCSSClassName:h,imageStyleObj:b}=O(e.src,g?m:0),x=A(e.action);delete x.onclick;let v=Ze(e?.src?.url,{dynamic:e?.src?.dynamic,resizeWidth:b?.maxWidth,originalWidth:e?.src?.width});return yk({imageCSSClassName:h,linkAttrs:x,values:{...e,src:{...e?.src,url:v}}})},ampEmail(e,t,r,o,n,i,a,u){let{columnIndex:s,columnValues:c,rowCells:f,rowValues:p,bodyValues:d}=u||{},g=I({values:e,columnIndex:s,columnValues:c,rowCells:f,rowValues:p,bodyValues:d}),{imageCSSClassName:m,imageStyleObj:h}=O(e.src,g),b=Ze(e?.src?.url,{dynamic:e?.src?.dynamic,resizeWidth:h?.maxWidth,originalWidth:e?.src?.width});return vk({imageCSSClassName:m,linkAttrs:A(e.action),values:{...e,src:{...e?.src,url:b}}})},classic(e){let{imageCSSClassName:t,imageStyleObj:r,imageCSSStyle:o}=O(e.src);return _k({values:e,imageCSSClassName:t,imageCSSStyle:o,linkAttrs:A(e.action),src:R(e.src?.url),altText:R(e.altText),width:E(r.maxWidth)})},document(...e){return wt.web?.(...e)||""}};var Du=y(k());var wk=(0,Du.default)(`
|
|
120
137
|
#<%= htmlID %> amp-img {
|
|
121
138
|
display: inline-block;
|
|
122
139
|
<%= imageCSSStyle %>
|
|
123
140
|
}
|
|
124
|
-
`),
|
|
141
|
+
`),qr={css(e,t,{columnIndex:r,columnValues:o,rowCells:n,rowValues:i,bodyValues:a,variant:u,isViewer:s}){if(!s&&u==="amp"){let c=U(a),f=I({values:e,columnIndex:r,columnValues:o,rowCells:n,rowValues:i,bodyValues:a}),{imageCSSStyle:p}=O(e?.src,c?f:0);if(!p)return;let d=wk({htmlID:e._meta.htmlID,imageCSSStyle:p}).trim();return d?he(d):void 0}}};var $u=y(require("react")),ju=y(require("react-dom/server")),zu=y(k());function Ru(e){return e!=null}function V(e){return e?Array.isArray(e)?e.filter(Ru):[]:[]}var kt=y(require("react"));var Lu=e=>{let{values:t,exporter:r}=e,{menu:{items:o},fontFamily:n,fontSize:i,linkColor:a,align:u,separator:s,textColor:c,padding:f,layout:p,fontWeight:d,letterSpacing:g}=t,m=V(o);return m.length===0?null:kt.default.createElement("div",{style:{textAlign:u,letterSpacing:g},"aria-label":"menu"},m.map((h,b)=>{let x=A(h.link);r&&typeof x.onclick=="string"&&(x["data-onclick-encoded"]=typeof globalThis<"u"&&typeof globalThis.btoa=="function"?globalThis.btoa(x.onclick):Buffer.from(x.onclick,"utf8").toString("base64"),delete x.onclick);let v=[kt.default.createElement("a",{...x,"aria-label":`Menu item - ${h?.text||b}`,key:`menu-item-${b}`,className:"v-padding v-font-size v-layout-display v-font-weight v-letter-spacing",style:{display:p==="horizontal"?"inline-block":"block",padding:f,fontSize:i,fontFamily:n?.value,color:x.href?a:c,textDecoration:"none",fontWeight:d}},h.text)];return s&&p!=="vertical"&&b+1<m.length&&v.push(kt.default.createElement("span",{"aria-label":"menu separator",className:"v-padding v-font-size v-letter-spacing hide-mobile",key:`menu-separator-${b}`,style:{display:"inline-block",padding:f,fontSize:i,fontFamily:n?.value,color:c,fontWeight:d}},s)),v}))};var kk=(0,zu.default)(`
|
|
125
142
|
<div aria-label="menu" class="menu" style="text-align:<%= values.align %>;<% if (values.letterSpacing) { %>letter-spacing: <%= values.letterSpacing %>; <% } %>">
|
|
126
143
|
<!--[if (mso)|(IE)]><table role="presentation" border="0" cellpadding="0" cellspacing="0" align="<%= values.align %>" style="<% if (values.letterSpacing) { %>letter-spacing: <%= values.letterSpacing %>; <% } %>"><tr><![endif]-->
|
|
127
144
|
<% (values.items || []).forEach(function(item, index) { %>
|
|
@@ -146,30 +163,30 @@ var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDe
|
|
|
146
163
|
<% }); %>
|
|
147
164
|
<!--[if (mso)|(IE)]></tr></table><![endif]-->
|
|
148
165
|
</div>
|
|
149
|
-
`,{imports:{isLinkAttrEmpty:
|
|
166
|
+
`,{imports:{isLinkAttrEmpty:P,objectToHtmlAttrs:T}}),Ir={web(e){let t={...e,menu:{...e?.menu,items:V(e?.menu?.items||[])}},r=ju.default.renderToStaticMarkup($u.default.createElement(Lu,{values:t,exporter:!0}));return r=r.replace(/data-onclick-encoded="([^\"]+)"/gi,(o,n)=>`onclick="${typeof globalThis<"u"&&typeof globalThis.atob=="function"?globalThis.atob(n):Buffer.from(n,"base64").toString("utf8")}"`),r},email(e){let{menu:{items:t=[]},fontFamily:r,layout:o}=e,n=o=="horizontal"?"inline-block":"block",a=V(t).map((u,s)=>{let c=A(u?.link);return delete c.onclick,{text:u?.text,linkAttrs:c,ariaLabel:`Menu item - ${u?.text||s}`}});return kk({values:{...e,items:a,display:n,fontFamily:r?.value}})}};var Pr=y(k());function Hr(e){return e?.endsWith?.("%")?`${parseFloat(e)/100}`:e}var Ck=(0,Pr.default)(`
|
|
150
167
|
<div class="v-color v-line-height v-font-weight v-font-family v-font-size v-letter-spacing v-text-align" style="<% if (values.fontFamily) { %>font-family: <%= values.fontFamily?.value %>; <% } %><% if (values.fontSize) { %>font-size: <%= values.fontSize %>; <% } %><% if (values.fontWeight) { %>font-weight: <%= values.fontWeight %>; <% } %><% if (values.color) { %>color: <%= values.color %>; <% } %><% if (values.letterSpacing) { %>letter-spacing: <%= values.letterSpacing %>; <% } %>line-height: <%= lineHeight %>; text-align: <%= values.textAlign %>; word-wrap: break-word;">
|
|
151
168
|
<%= text %>
|
|
152
169
|
</div>
|
|
153
|
-
`),
|
|
170
|
+
`),Sk=(0,Pr.default)(`
|
|
154
171
|
<div class="v-color v-line-height v-font-weight v-font-family v-font-size v-letter-spacing v-text-align" style="<% if (values.fontFamily) { %>font-family: <%= values.fontFamily?.value %>; <% } %><% if (values.fontSize) { %>font-size: <%= values.fontSize %>; <% } %><% if (values.fontWeight) { %>font-weight: <%= values.fontWeight %>; <% } %><% if (values.color) { %>color: <%= values.color %>; <% } %><% if (values.letterSpacing) { %>letter-spacing: <%= values.letterSpacing %>; <% } %>line-height: <%= lineHeight %>; text-align: <%= values.textAlign %>; word-wrap: break-word;"<% if (textDirection) { %> dir="<%= textDirection %>"<% } %>>
|
|
155
172
|
<%= text %>
|
|
156
173
|
</div>
|
|
157
|
-
`),
|
|
174
|
+
`),Ct={web(e,t,r,o,n,i,a,u){let{exporterConfig:s}=u||{},c=s?.generateHtmlFromTextJson?.(e.textJson)||"",f=W(s?.toSafeHtml?s.toSafeHtml(c,{allowOnClick:!0}):c||""),p=Hr(e.lineHeight);return Ck({values:e,text:f,lineHeight:p})},email(e,t,r,o,n,i,a,u){let{exporterConfig:s}=u||{},c=s?.generateHtmlFromTextJson?.(e.textJson)||"",f=W(s?.toSafeHtml?s.toSafeHtml(c):c||""),p=f.includes('dir="')?void 0:s?.textDirection,d=Hr(e.lineHeight);return Sk({values:e,text:f,textDirection:p,lineHeight:d})},document(...e){return Ct.web?.(...e)||""}};var Er=y(k()),Ak=(0,Er.default)(`
|
|
158
175
|
<% if (linkColor || linkUnderline) { %>
|
|
159
176
|
#<%= htmlID %> a {
|
|
160
177
|
<% if (linkColor) { %>color: <%= linkColor %>;<% } %>
|
|
161
178
|
<% if (linkUnderline) { %>text-decoration: <%= linkUnderline %>;<% } %>
|
|
162
179
|
}
|
|
163
180
|
<% } %>
|
|
164
|
-
`)
|
|
181
|
+
`),Tk=(0,Er.default)(`
|
|
165
182
|
<% if (linkHoverColor || linkHoverUnderline) { %>
|
|
166
183
|
#<%= htmlID %> a:hover {
|
|
167
184
|
<% if (linkHoverColor) { %>color: <%= linkHoverColor %>;<% } %>
|
|
168
185
|
<% if (linkHoverUnderline) { %>text-decoration: <%= linkHoverUnderline %>;<% } %>
|
|
169
186
|
}
|
|
170
187
|
<% } %>
|
|
171
|
-
`),
|
|
172
|
-
`).trim()||void 0}};var
|
|
188
|
+
`),Wr={css(e,t,{displayMode:r}){e.linkStyle=e.linkStyle||{};let{linkStyle:o}=e;if(o.inherit)return;let n=!o.inherit&&o.linkColor&&o.linkColor!==t.linkStyle.linkColor?o.linkColor:void 0,i=!o.inherit&&typeof o.linkUnderline=="boolean"&&o.linkUnderline!==t.linkStyle.linkUnderline?o.linkUnderline?"underline":"none":void 0,a=!o.inherit&&o.linkHoverColor&&o.linkHoverColor!==(n||t.linkStyle.linkHoverColor)?o.linkHoverColor:void 0,u=!o.inherit&&typeof o.linkHoverUnderline=="boolean"&&o.linkHoverUnderline!==o.linkUnderline?o.linkHoverUnderline?"underline":"none":void 0,s=[];return(n||i)&&s.push(Ak({htmlID:e._meta.htmlID,linkColor:n,linkUnderline:i}).trim()),r!=="email"&&(a||u)&&s.push(Tk({htmlID:e._meta.htmlID,linkHoverColor:a,linkHoverUnderline:u}).trim()),s.filter(Boolean).join(`
|
|
189
|
+
`).trim()||void 0}};var Uu=y(require("react")),Vu=y(require("react-dom/server")),Nu=y(k());function Br({icons:e,customIcons:t,iconType:r}){return e.map(n=>{if(!n)return;let i=t?.find(a=>a&&a.name===n.name);return{...n,imgUrl:i?i.icons[r]:void 0}}).filter(Boolean)}function Je(e){return e?.name!=="Email"||e?.url?.includes("mailto")?e?.url:`mailto:${e?.url}`}var we=y(require("react"));function Mu(e){let{icons:t,iconType:r,iconSize:o,align:n,spacing:i,cdnBaseUrl:a}=e;return t?.length?we.default.createElement("div",{style:{textAlign:n,lineHeight:"0px",direction:"ltr"},"aria-label":"social"},t.map((u,s)=>{if(!u)return null;let c=u?.imgUrl||`${a}/social/icons/${r}/${u.name.toLowerCase()}.png`;return we.default.createElement("a",{key:`icon-${s}`,href:Je(u),target:"_blank","aria-label":`${u.name} icon`,style:{display:"inline-block",width:`${o}px`,height:`${o}px`,marginRight:`${s==t.length-1?0:i}px`}},we.default.createElement("img",{alt:`${u?.name} icon`,src:c,width:o,height:o}))})):we.default.createElement("div",{style:{textAlign:n,lineHeight:"0px"}},we.default.createElement("img",{src:`${a}/social/icons/default.png`,height:o,alt:"social icon"}))}var qk=(0,Nu.default)(`
|
|
173
190
|
<div align="<%= align %>" style="direction: ltr;" aria-label="social">
|
|
174
191
|
<div style="display: table; max-width:<%= maxWidth %>px;">
|
|
175
192
|
<!--[if (mso)|(IE)]><table role="presentation" width="<%= maxWidth %>" cellpadding="0" cellspacing="0" border="0"><tr><td style="border-collapse:collapse;" align="<%= align %>"><table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse; mso-table-lspace: 0pt;mso-table-rspace: 0pt; width:<%= maxWidth %>px;"><tr><![endif]-->
|
|
@@ -189,7 +206,7 @@ var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDe
|
|
|
189
206
|
<!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]-->
|
|
190
207
|
</div>
|
|
191
208
|
</div>
|
|
192
|
-
`),
|
|
209
|
+
`),Qe={web(e,t,r,o,n,i,a,u){let{exporterConfig:s}=u||{},{icons:{editor:{data:c}={},iconType:f,icons:p}={},align:d,spacing:g,iconSize:m}=e,h=s?.cdnBaseUrl||"",b=Br({icons:V(p),customIcons:c?.customIcons,iconType:f}).map(x=>({...x,url:Je(x)}));return Vu.default.renderToStaticMarkup(Uu.default.createElement(Mu,{icons:b,iconType:f,iconSize:m,align:d,spacing:g,cdnBaseUrl:h}))},email(e,t,r,o,n,i,a,u){let{exporterConfig:s}=u||{},{icons:{editor:{data:c}={},iconType:f,icons:p}={},align:d,spacing:g,iconSize:m}=e,h=Br({icons:V(p),customIcons:c?.customIcons,iconType:f}).map(v=>({...v,url:Je(v)})),b=m*h.length+g*(h.length-1),x=s?.cdnBaseUrl||"";return qk({values:e,icons:h,iconType:f,iconSize:m,maxWidth:b,align:d,spacing:g,cdnBaseUrl:x})},ampEmail(...e){return Qe.web(...e)},ampWeb(...e){return Qe.ampEmail(...e)}};var Zu=y(k());var Ik=e=>(e??"").trim()===""?"\u200B":e,Gu=(0,Zu.default)(`
|
|
193
210
|
<table class="v-background-color v-border-border" style="<%= tableStyle %>">
|
|
194
211
|
<colgroup>
|
|
195
212
|
<% (values?.table?.headers?.[0]?.cells || values?.table?.rows?.[0]?.cells || []).forEach(cell => { %>
|
|
@@ -240,17 +257,17 @@ var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDe
|
|
|
240
257
|
</tfoot>
|
|
241
258
|
<% } %>
|
|
242
259
|
</table>
|
|
243
|
-
`,{imports:{cleanupSpaceCharactersFromText:
|
|
260
|
+
`,{imports:{cleanupSpaceCharactersFromText:W,formatTableText:Ik}}),Ku=e=>{let t="";e?.border&&(t+=ye(e?.border));let r=`width: 100%; border-collapse: collapse; table-layout: fixed; ${t}`;return{borderStyle:t,tableStyle:r}},St={web(e,t,r,o,n,i,a,u){let{mergeTagState:s}=u||{},{borderStyle:c,tableStyle:f}=Ku(e),p="",d="";if(s){let{mergeTagGroup:g,mergeTagRule:m,mergeTags:h}=s,b=h?.[g]?.rules?.[m];b&&(p=b.before,d=b.after)}return Gu({values:e,borderStyle:c,tableStyle:f,mergeTagBefore:p,mergeTagAfter:d})},email(e,t,r,o,n,i,a,u){let{exporterConfig:s,mergeTagState:c}=u||{},{borderStyle:f,tableStyle:p}=Ku(e),g=W(s?.toSafeHtml?s.toSafeHtml(e?.text):e?.text||"").includes('dir="')?void 0:s?.textDirection,m="",h="";if(c){let{mergeTagGroup:b,mergeTagRule:x,mergeTags:v}=c,C=v?.[b]?.rules?.[x];C&&(m=C.before,h=C.after)}return Gu({values:e,textDirection:g,borderStyle:f,tableStyle:p,mergeTagBefore:m,mergeTagAfter:h})},document(...e){return St.web(...e)}};var ke=y(k()),Hk=(0,ke.default)(`
|
|
244
261
|
#<%= values?._meta?.htmlID %> a:hover {
|
|
245
262
|
<% if (linkHoverColorChanged) { %>color: <%= values?.linkStyle?.linkHoverColor %>;<% } %>
|
|
246
263
|
<% if (linkHoverUnderlineChanged) { %>text-decoration: <%= values?.linkStyle?.linkHoverUnderline ? 'underline' : 'none' %>;<% } %>
|
|
247
264
|
}
|
|
248
|
-
`),
|
|
265
|
+
`),Pk=(0,ke.default)(`
|
|
249
266
|
#<%= values?._meta?.htmlID %> a {
|
|
250
267
|
<% if (linkColorChanged) { %>color: <%= values?.linkStyle?.linkColor %>;<% } %>
|
|
251
268
|
<% if (linkUnderlineChanged) { %>text-decoration: <%= values?.linkStyle?.linkUnderline ? 'underline' : 'none' %>;<% } %>
|
|
252
269
|
}
|
|
253
|
-
`),
|
|
270
|
+
`),Ek=(0,ke.default)(`
|
|
254
271
|
#<%= values?._meta?.htmlID %> table thead th {
|
|
255
272
|
vertical-align: <%= values?.headerVerticalAlign %>;
|
|
256
273
|
<% if (values?.headerPadding) { %>padding: <%= values?.headerPadding %>;<% } %>
|
|
@@ -261,7 +278,7 @@ var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDe
|
|
|
261
278
|
<% if (values?.headerTextAlign) { %>text-align: <%= values?.headerTextAlign %>;<% } %>
|
|
262
279
|
<% if (values?.headerColor) { %>color: <%= values?.headerColor %>;<% } %>
|
|
263
280
|
}
|
|
264
|
-
`),
|
|
281
|
+
`),Wk=(0,ke.default)(`
|
|
265
282
|
#<%= values?._meta?.htmlID %> table tfoot tr td {
|
|
266
283
|
vertical-align: <%= values?.footerVerticalAlign %>;
|
|
267
284
|
<% if (values?.footerPadding) { %>padding: <%= values?.footerPadding %>;<% } %>
|
|
@@ -272,7 +289,7 @@ var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDe
|
|
|
272
289
|
<% if (values?.footerTextAlign) { %>text-align: <%= values?.footerTextAlign %>;<% } %>
|
|
273
290
|
<% if (values?.footerColor) { %>color: <%= values?.footerColor %>;<% } %>
|
|
274
291
|
}
|
|
275
|
-
`),
|
|
292
|
+
`),Bk=(0,ke.default)(`
|
|
276
293
|
#<%= values?._meta?.htmlID %> table tbody td {
|
|
277
294
|
vertical-align: <%= values?.contentVerticalAlign %>;
|
|
278
295
|
<% if (values?.contentPadding) { %>padding: <%= values?.contentPadding %>;<% } %>
|
|
@@ -285,31 +302,31 @@ var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDe
|
|
|
285
302
|
<% if (values?.contentLetterSpacing) { %>letter-spacing: <%= values?.contentLetterSpacing %>;<% } %>
|
|
286
303
|
<% if (values?.contentLineHeight) { %>line-height: <%= values?.contentLineHeight %>;<% } %>
|
|
287
304
|
}
|
|
288
|
-
`),
|
|
289
|
-
`).trim()}};var
|
|
305
|
+
`),Fr={css(e,t,{displayMode:r}){let o=[];e?.enableHeader&&(e?.headerPadding||e?.headerFontFamily?.value||e?.headerBackgroundColor||e?.headerFontSize||e?.headerFontWeight||e?.headerTextAlign||e?.headerColor)&&o.push(Ek({values:e})),e?.enableFooter&&(e?.footerPadding||e?.footerFontFamily?.value||e?.footerBackgroundColor||e?.footerFontSize||e?.footerFontWeight||e?.footerTextAlign||e?.footerColor)&&o.push(Wk({values:e})),(e?.contentPadding||e?.contentFontFamily?.value||e?.contentBackgroundColor||e?.contentFontSize||e?.contentFontWeight||e?.contentTextAlign||e?.contentColor||e?.contentLetterSpacing||e?.contentLineHeight)&&o.push(Bk({values:e}));let{linkStyle:i}=e;if(!i?.inherit){let a=!!i?.linkColor&&i?.linkColor!==t?.linkStyle?.linkColor,u=i?.linkUnderline!==null&&i?.linkUnderline!==t?.linkStyle?.linkUnderline,s=a||u,c=!!i?.linkHoverColor&&i?.linkHoverColor!==t?.linkStyle?.linkHoverColor,f=i?.linkHoverUnderline!==null&&i?.linkHoverUnderline!==i?.linkUnderline,p=c||f;s&&o.push(Pk({values:e,linkColorChanged:a,linkUnderlineChanged:u})),r==="web"&&p&&o.push(Hk({values:e,linkHoverColorChanged:c,linkHoverUnderlineChanged:f}))}return o.join(`
|
|
306
|
+
`).trim()}};var Or=y(k());var Fk=(0,Or.default)(`
|
|
290
307
|
<div class="v-color v-text-align v-line-height v-font-weight v-font-family v-font-size v-letter-spacing" style="<% if (values.fontFamily) { %>font-family: <%= values.fontFamily?.value %>; <% } %><% if (values.fontSize) { %>font-size: <%= values.fontSize %>; <% } %><% if (values.fontWeight) { %>font-weight: <%= values.fontWeight %>; <% } %><% if (values.color) { %>color: <%= values.color %>; <% } %><% if (values.letterSpacing) { %>letter-spacing: <%= values.letterSpacing %>; <% } %>line-height: <%= values.lineHeight %>; text-align: <%= values.textAlign %>; word-wrap: break-word;">
|
|
291
308
|
<%= text %>
|
|
292
309
|
</div>
|
|
293
|
-
`),
|
|
310
|
+
`),Ok=(0,Or.default)(`
|
|
294
311
|
<div class="v-color v-text-align v-line-height v-font-weight v-font-family v-font-size v-letter-spacing" style="<% if (values.fontFamily) { %>font-family: <%= values.fontFamily?.value %>; <% } %><% if (values.fontSize) { %>font-size: <%= values.fontSize %>; <% } %><% if (values.fontWeight) { %>font-weight: <%= values.fontWeight %>; <% } %><% if (values.color) { %>color: <%= values.color %>; <% } %><% if (values.letterSpacing) { %>letter-spacing: <%= values.letterSpacing %>; <% } %>line-height: <%= values.lineHeight %>; text-align: <%= values.textAlign %>; word-wrap: break-word;"<% if (textDirection) { %> dir="<%= textDirection %>"<% } %>>
|
|
295
312
|
<%= text %>
|
|
296
313
|
</div>
|
|
297
|
-
`),
|
|
314
|
+
`),At={web(e,t,r,o,n,i,a,u){let{exporterConfig:s}=u||{},c=W(s?.toSafeHtml?s.toSafeHtml(e.text,{allowOnClick:!0}):e.text||"");return Fk({values:e,text:c})},email(e,t,r,o,n,i,a,u){let{exporterConfig:s}=u||{},c=W(s?.toSafeHtml?s.toSafeHtml(e.text):e.text||""),f=c.includes('dir="')?void 0:s?.textDirection;return Ok({values:e,text:c,textDirection:f})},document(...e){return At.web?.(...e)||""}};var Dr=y(k()),Dk=(0,Dr.default)(`
|
|
298
315
|
<% if (linkColor || linkUnderline) { %>
|
|
299
316
|
#<%= htmlID %> a {
|
|
300
317
|
<% if (linkColor) { %>color: <%= linkColor %>;<% } %>
|
|
301
318
|
<% if (linkUnderline) { %>text-decoration: <%= linkUnderline %>;<% } %>
|
|
302
319
|
}
|
|
303
320
|
<% } %>
|
|
304
|
-
`),
|
|
321
|
+
`),Rk=(0,Dr.default)(`
|
|
305
322
|
<% if (linkHoverColor || linkHoverUnderline) { %>
|
|
306
323
|
#<%= htmlID %> a:hover {
|
|
307
324
|
<% if (linkHoverColor) { %>color: <%= linkHoverColor %>;<% } %>
|
|
308
325
|
<% if (linkHoverUnderline) { %>text-decoration: <%= linkHoverUnderline %>;<% } %>
|
|
309
326
|
}
|
|
310
327
|
<% } %>
|
|
311
|
-
`),
|
|
312
|
-
`).trim()||void 0}};var
|
|
328
|
+
`),Rr={css(e,t,{displayMode:r}){e.linkStyle=e.linkStyle||{};let{linkStyle:o}=e;if(o.inherit)return;let n=!o.inherit&&o.linkColor&&o.linkColor!==t.linkStyle.linkColor?o.linkColor:void 0,i=!o.inherit&&typeof o.linkUnderline=="boolean"&&o.linkUnderline!==t.linkStyle.linkUnderline?o.linkUnderline?"underline":"none":void 0,a=!o.inherit&&o.linkHoverColor&&o.linkHoverColor!==(n||t.linkStyle.linkHoverColor)?o.linkHoverColor:void 0,u=!o.inherit&&typeof o.linkHoverUnderline=="boolean"&&o.linkHoverUnderline!==o.linkUnderline?o.linkHoverUnderline?"underline":"none":void 0,s=[];return(n||i)&&s.push(Dk({htmlID:e._meta.htmlID,linkColor:n,linkUnderline:i}).trim()),r!=="email"&&(a||u)&&s.push(Rk({htmlID:e._meta.htmlID,linkHoverColor:a,linkHoverUnderline:u}).trim()),s.filter(Boolean).join(`
|
|
329
|
+
`).trim()||void 0}};var Tt=y(k());function te(e,t){return O({...e.width,autoWidth:e?.width?.autoWidth,maxWidth:e?.width?.width,width:e?.countdown?.width,height:e?.countdown?.height},t,"width")}var Lk=(0,Tt.default)(`
|
|
313
330
|
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
314
331
|
<tr>
|
|
315
332
|
<td style="padding-right: 0px;padding-left: 0px;" align="<%= values.textAlign %>">
|
|
@@ -319,13 +336,13 @@ var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDe
|
|
|
319
336
|
</td>
|
|
320
337
|
</tr>
|
|
321
338
|
</table>
|
|
322
|
-
`,{imports:{isLinkAttrEmpty:
|
|
339
|
+
`,{imports:{isLinkAttrEmpty:P,objectToHtmlAttrs:T}}),$k=(0,Tt.default)(`
|
|
323
340
|
<div style="position:relative;line-height:0px;text-align:<%= values.textAlign %>">
|
|
324
341
|
<% if (!isLinkAttrEmpty(linkAttrs)) { %><a <%= objectToHtmlAttrs(linkAttrs) %>><% } %>
|
|
325
342
|
<img alt="<%= values.altText %>" class="<%= imageCSSClassName %>" src="<%= values.countdown.countdownUrl %>" style="<%= imageCSSStyle %>" title="<%= values.altText %>"/>
|
|
326
343
|
<% if (!isLinkAttrEmpty(linkAttrs)) { %></a><% } %>
|
|
327
344
|
</div>
|
|
328
|
-
`,{imports:{isLinkAttrEmpty:
|
|
345
|
+
`,{imports:{isLinkAttrEmpty:P,objectToHtmlAttrs:T}}),Ju=(0,Tt.default)(`
|
|
329
346
|
<div style="position:relative;line-height:0px;text-align:<%= values.textAlign %>">
|
|
330
347
|
<% if (!isLinkAttrEmpty(linkAttrs)) { %><a <%= objectToHtmlAttrs(linkAttrs) %>><% } %>
|
|
331
348
|
<amp-img
|
|
@@ -340,13 +357,13 @@ var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDe
|
|
|
340
357
|
></amp-img>
|
|
341
358
|
<% if (!isLinkAttrEmpty(linkAttrs)) { %></a><% } %>
|
|
342
359
|
</div>
|
|
343
|
-
`,{imports:{isLinkAttrEmpty:
|
|
360
|
+
`,{imports:{isLinkAttrEmpty:P,objectToHtmlAttrs:T}}),Lr={web(e,t,r,o,n,i,a,u){let{columnIndex:s,columnValues:c,rowCells:f,rowValues:p,bodyValues:d}=u||{},{countdown:{loading:g,countdownUrl:m}}=e;if(g||!m)return"";let h=U(d),b=I({values:e,columnIndex:s,columnValues:c,rowCells:f,rowValues:p,bodyValues:d}),{imageCSSClassName:x,imageCSSStyle:v}=te(e,h?b:0);return $k({values:e,imageCSSClassName:x,imageCSSStyle:v,linkAttrs:A(e.action)})},email(e,t,r,o,n,i,a,u){let{columnIndex:s,columnValues:c,rowCells:f,rowValues:p,bodyValues:d}=u||{},{countdown:{loading:g,countdownUrl:m}}=e;if(g||!m)return"";let h=I({values:e,columnIndex:s,columnValues:c,rowCells:f,rowValues:p,bodyValues:d}),{imageCSSClassName:b,imageStyleObj:x,imageCSSStyle:v}=te(e,h);return Lk({imageCSSClassName:b,imageCSSStyle:v,linkAttrs:A(e.action),values:e,width:X(x.maxWidth||x.width,h)})},ampWeb(e,t,r,o,n,i,a,u){let{columnIndex:s,columnValues:c,rowCells:f,rowValues:p,bodyValues:d}=u||{},{countdown:g}=e;if(g?.loading||!g?.countdownUrl||!g?.width||!g?.height)return"";let m=U(d),h=I({values:e,columnIndex:s,columnValues:c,rowCells:f,rowValues:p,bodyValues:d}),{imageCSSClassName:b}=te(e,m?h:0);return Ju({values:e,imageCSSClassName:b,linkAttrs:A(e.action)})},ampEmail(e,t,r,o,n,i,a,u){let{columnIndex:s,columnValues:c,rowCells:f,rowValues:p,bodyValues:d}=u||{},{countdown:g}=e;if(g?.loading||!g?.countdownUrl||!g?.width||!g?.height)return"";let m=I({values:e,columnIndex:s,columnValues:c,rowCells:f,rowValues:p,bodyValues:d}),{imageCSSClassName:h}=te(e,m);return Ju({values:e,imageCSSClassName:h,linkAttrs:A(e.action)})}};var Qu=y(k());var jk=(0,Qu.default)(`
|
|
344
361
|
<% if (imageCSSStyle) { %>
|
|
345
362
|
#<%= htmlID %> amp-img {
|
|
346
363
|
<%= imageCSSStyle %>
|
|
347
364
|
}
|
|
348
365
|
<% } %>
|
|
349
|
-
`)
|
|
366
|
+
`),$r={css(e,t,{variant:r,isViewer:o}){if(!o&&r==="amp"){let{imageCSSStyle:n}=te(e);if(!n)return;let i=jk({htmlID:e._meta.htmlID,imageCSSStyle:n}).trim();return i?he(i):void 0}}};var Mr=y(k());var jr=315/560;function zr(e,t="0px"){let{left:r,right:o}=D(t),n=parseInt(`${e||0}`,10)-(r||0)-(o||0),i=jr*n;return{embedWidth:n,embedHeight:i}}var zk=(0,Mr.default)(`
|
|
350
367
|
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
351
368
|
<tr>
|
|
352
369
|
<td style="padding-right: 0px; padding-left: 0px;" align="center">
|
|
@@ -356,8 +373,8 @@ var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDe
|
|
|
356
373
|
</td>
|
|
357
374
|
</tr>
|
|
358
375
|
</table>
|
|
359
|
-
`,{imports:{objectToHtmlAttrs:
|
|
360
|
-
<div style="position: relative; padding-bottom: ${
|
|
376
|
+
`,{imports:{objectToHtmlAttrs:T,isLinkAttrEmpty:P}}),Mk=(0,Mr.default)(`
|
|
377
|
+
<div style="position: relative; padding-bottom: ${E(jr*100,2)}%; height: 0; overflow: hidden; max-width: 100%;">
|
|
361
378
|
<% if (video.loading || !video.videoId) { %>
|
|
362
379
|
<img
|
|
363
380
|
aria-label="video placeholder"
|
|
@@ -373,11 +390,11 @@ var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDe
|
|
|
373
390
|
<iframe style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;" width="<%= embedWidth %>" height="<%= embedHeight %>" src="https://player.vimeo.com/video/<%= video.videoId %>" frameBorder="0" allowfullscreen></iframe>
|
|
374
391
|
<% } %>
|
|
375
392
|
</div>
|
|
376
|
-
`),
|
|
393
|
+
`),Yu={_email:(e,t,r,o,n,i,a,u)=>{let{bodyValues:s,columnIndex:c,columnValues:f,exporterConfig:p,rowCells:d,rowValues:g}=u||{},m=I({values:e,columnIndex:c,columnValues:f,rowCells:d,rowValues:g,bodyValues:s}),h=p?.cdnBaseUrl||"",{embedWidth:b,embedHeight:x}=zr(m),v=A(e.href);return zk({cdnBaseUrl:h,embedWidth:b,embedHeight:x,video:e.video,linkAttrs:{...v,href:e?.href?.url||e.video.url}})}},qt={web(e,t,r,o,n,i,a,u){let{bodyValues:s,columnIndex:c,columnValues:f,exporterConfig:p,rowCells:d,rowValues:g}=u||{},m=I({values:e,columnIndex:c,columnValues:f,rowCells:d,rowValues:g,bodyValues:s}),h=p?.cdnBaseUrl||"",{embedWidth:b,embedHeight:x}=zr(m);return Mk({cdnBaseUrl:h,embedHeight:x,embedWidth:b,video:e.video})},email(...e){return Yu._email(...e).replace(/\s+height="[\d.]+"/g,"")},ampWeb(...e){return qt.web(...e).replace(/<iframe(\s)/g,'<amp-iframe sandbox="allow-scripts allow-same-origin" layout="responsive"$1').replace(/<\/iframe>/g,"</amp-iframe>").replace(/<img(\s)/g,'<amp-img layout="responsive"$1')},ampEmail(...e){return Yu._email(...e).replace(/(<img\s+)align="center"\s+border="0"\s*/g,"$1").replace(/<img(\s)/g,'<amp-img layout="responsive"$1')}};var Ur={tags(e,t,{displayMode:r,isViewer:o,variant:n}){let i=[];return n==="amp"&&r==="web"&&!o&&i.push('<script async custom-element="amp-iframe" src="https://cdn.ampproject.org/v0/amp-iframe-0.1.js"></script>'),i}};var Ce=y(k());var Xu=y(q()),Uk=!0;function ec(e){switch(tc(e)){case"top-left":return[0,"auto","auto",0];case"top-center":return[0,"auto","auto","auto"];case"top-right":return[0,0,"auto","auto"];case"center-left":return["auto","auto","auto",0];case"center":return["auto"];case"center-right":return["auto",0,"auto","auto"];case"bottom-left":return["auto","auto",0,0];case"bottom-center":return["auto","auto",0,"auto"];case"bottom-right":return["auto",0,0,"auto"];default:return["auto"]}}function Vk(e){let t=tc(e);switch(t){case"top-left":case"top-center":case"top-right":case"center-left":case"center-right":case"bottom-left":case"bottom-center":case"bottom-right":return t.split("-").reverse().join(" ");case"center":return"center center";default:return"auto auto"}}function re(e,{displayMode:t}){if(t==="email"&&!Uk)return;let{position:r,customPosition:o}=e||{};if(r!=="custom")return Vk(r);if(r==="custom"&&(0,Xu.default)(o))return o.map(n=>n??"auto").join(" ")}function tc(e){switch(e){case"top":case"top-left":case"left":case"left-top":return"top-left";case"top-center":case"center-top":return"top-center";case"top-right":case"right":case"right-top":return"top-right";case"center":case"center-center":return"center";case"center-left":case"left-center":return"center-left";case"center-right":case"right-center":return"center-right";case"bottom":case"bottom-left":case"left-bottom":return"bottom-left";case"bottom-center":case"center-bottom":return"bottom-center";case"bottom-right":case"right-bottom":return"bottom-right";default:return}}var Nk=(0,Ce.default)(`
|
|
377
394
|
<div id="<%= values._meta.htmlID %>" class="<%= values._meta.htmlClassNames %>"<% if (style) { %> style="<%= style %>"<% } %>>
|
|
378
395
|
<%= innerHTML %>
|
|
379
396
|
</div>
|
|
380
|
-
`),
|
|
397
|
+
`),Gk=(0,Ce.default)(`
|
|
381
398
|
<body id="<%= values._meta.htmlID %>" class="<%= values._meta.htmlClassNames %>">
|
|
382
399
|
<div class="<%= values._meta.htmlClassNames %> content<%= type === "headers" ? "-header" : type === "footers" ? "-footer" : "" %>"<% if (style) { %> style="<%= style %>"<% } %>>
|
|
383
400
|
<%= innerHTML %>
|
|
@@ -387,7 +404,7 @@ var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDe
|
|
|
387
404
|
<% } %>
|
|
388
405
|
</div>
|
|
389
406
|
</body>
|
|
390
|
-
`),
|
|
407
|
+
`),Kk=(0,Ce.default)(`
|
|
391
408
|
<body class="clean-body <%= values._meta.htmlClassNames %>" style="<%= style %>">
|
|
392
409
|
<!--[if IE]><div class="ie-container"><![endif]-->
|
|
393
410
|
<!--[if mso]><div class="mso-container"><![endif]-->
|
|
@@ -411,7 +428,7 @@ var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDe
|
|
|
411
428
|
<!--[if mso]></div><![endif]-->
|
|
412
429
|
<!--[if IE]></div><![endif]-->
|
|
413
430
|
</body>
|
|
414
|
-
`),
|
|
431
|
+
`),Zk=(0,Ce.default)(`
|
|
415
432
|
<div class="u-popup-main">
|
|
416
433
|
<% if (closeButton.html && closeButton.placement === 'header') { %>
|
|
417
434
|
<div class="u-popup-header">
|
|
@@ -434,11 +451,11 @@ var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDe
|
|
|
434
451
|
</div>
|
|
435
452
|
<% } %>
|
|
436
453
|
</div>
|
|
437
|
-
`),
|
|
454
|
+
`),Vr={web(e,t){return Nk({innerHTML:e,values:t,style:"min-height: 100vh; display: flex; flex-direction: column;".trim()})},email(e,t,{bodyValues:r}){let{backgroundColor:o,textColor:n}=t,i=M(o),a=r?.contentAlign||"center",u=parseFloat(`${r?.contentWidth||600}`),s="margin: 0;padding: 0;-webkit-text-size-adjust: 100%;";return o&&(s+=`background-color: ${o};`),n&&(s+=`color: ${n}`),Kk({innerHTML:e,values:t,bgcolor:i,contentAlign:a,contentWidthNumber:u,preheaderText:t.preheaderText,style:s.trim()})},popup(e,t){let{borderRadius:r,contentVerticalAlign:o,fontFamily:n,popupBackgroundColor:i,popupBackgroundImage:a,popupCloseButton_action:u,popupCloseButton_position:s,popupHeight:c,textColor:f,fontWeight:p}=t,d="";if(o)switch(d+=" display: flex;",d+=" flex-direction: column;",o){case"top":{d+=" justify-content: flex-start;";break}case"bottom":{d+=" justify-content: flex-end;";break}default:{d+=" justify-content: center;";break}}c!=="auto"&&(d+=" min-height: 100%;".trim()),f&&(d+=` color: ${f};`.trim()),i&&(d+=` background-color: ${i};`.trim()),n&&(d+=` font-family: ${n?.value};`.trim()),p&&(d+=` font-weight: ${p};`.trim());let g=`${a?.url||""}`.trim().replace(/ /g,"%20");if(g){d+=` background-image: url('${g}');`,d+=` background-repeat: ${a?.repeat||"no-repeat"};`.trim();let b=re(a,{displayMode:"popup"});b&&(d+=` background-position: ${b};`.trim());let x=ee(a,{displayMode:"popup"});x&&(d+=` background-size: ${x};`.trim())}r&&(d+=` border-radius: ${r};`);let h={html:Jk({values:{linkAttrs:Ks(u)}}),placement:s?.startsWith("bottom")?"footer":"header"};return Zk({closeButton:h,innerHTML:e,style:d.trim(),values:t})},document(e,t,{type:r}){return Gk({innerHTML:e,values:t,type:r,style:`${r!=="headers"&&r!=="footers"?"min-height: 100vh;":""}`})}},Jk=(0,Ce.default)(`
|
|
438
455
|
<a <%= objectToHtmlAttrs(values.linkAttrs) %> class="u-close-button">
|
|
439
456
|
<span class="icon-cross"></span>
|
|
440
457
|
</a>
|
|
441
|
-
`,{imports:{objectToHtmlAttrs:
|
|
458
|
+
`,{imports:{objectToHtmlAttrs:T}});var rc=y(k());var Qk=(0,rc.default)(`
|
|
442
459
|
<% if (displayMode === "web") { %>
|
|
443
460
|
body {
|
|
444
461
|
font-family: <%= (fontFamily?.value) || 'Arial, Helvetica, sans-serif' %>;
|
|
@@ -606,23 +623,23 @@ var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDe
|
|
|
606
623
|
<% } %>
|
|
607
624
|
<%= containerStyle %>
|
|
608
625
|
<% } %>
|
|
609
|
-
`),
|
|
626
|
+
`),Nr={css(e,t,{displayMode:r,type:o,isViewer:n,headConfig:i}){let a=i?.getInitialValues?.("bodies")||{},{backgroundColor:u,backgroundImage:s,fontFamily:c,fontSize:f,lineHeight:p,popupCloseButton_backgroundColor:d,popupCloseButton_borderRadius:g,popupCloseButton_iconColor:m,popupCloseButton_margin:h,popupCloseButton_position:b,textColor:x,popupDisplayDelay:v}=e,C="",S={...a.linkStyle,...e.linkStyle||{}};S.linkColor=S.linkColor||void 0,S.linkUnderline=S.linkUnderline||void 0,S.linkHoverColor=S.linkHoverColor||void 0,S.linkHoverUnderline=S.linkHoverUnderline||void 0;let H=o==="headers"?"header":o==="footers"?"footer":"";return!n&&v>0&&(C+=`
|
|
610
627
|
.u-popup-container {
|
|
611
628
|
display: none;
|
|
612
629
|
}
|
|
613
|
-
`),
|
|
630
|
+
`),Qk({values:e,displayMode:r,type:H,backgroundColor:u,backgroundImage:s,backgroundPosition:re(s,{displayMode:r}),backgroundSize:ee(s,{displayMode:r}),fontFamily:c||{},fontSize:f,lineHeight:p,textColor:x,popupMargin:ec(e.popupPosition).join(" "),...S,closeButton:{backgroundColor:d,borderRadius:g,iconColor:m,margin:h,position:b},containerStyle:C})},tags({popupDisplayDelay:e=0},t,{isViewer:r,variant:o}){let n=[];return o==="amp"&&!r&&n.push('<script async src="https://cdn.ampproject.org/v0.js"></script>'),o==="amp"&&r&&n.push('<script async src="https://cdn.ampproject.org/v0/validator_wasm.js"></script>'),!r&&e>0&&n.push(`
|
|
614
631
|
<script>
|
|
615
632
|
setTimeout(() => {
|
|
616
633
|
document.querySelector('.u-popup-container').style.display = 'flex';
|
|
617
634
|
}, ${e} * 1000);
|
|
618
635
|
</script>
|
|
619
|
-
`),
|
|
636
|
+
`),n}};var ao=y(k());function Gr(e={},{important:t=!1}={}){let{borderTopWidth:r,borderTopStyle:o,borderTopColor:n,borderLeftWidth:i,borderLeftStyle:a,borderLeftColor:u,borderRightWidth:s,borderRightStyle:c,borderRightColor:f,borderBottomWidth:p,borderBottomStyle:d,borderBottomColor:g}=e,m=parseInt(r||"0px")>0,h=parseInt(i||"0px")>0,b=parseInt(s||"0px")>0,x=parseInt(p||"0px")>0,v=t?" !important":"",C="";return C+=`border-top: ${r||"0px"} ${o||"solid"} ${m&&n||"transparent"}${v};`,C+=`border-left: ${i||"0px"} ${a||"solid"} ${h&&u||"transparent"}${v};`,C+=`border-right: ${s||"0px"} ${c||"solid"} ${b&&f||"transparent"}${v};`,C+=`border-bottom: ${p||"0px"} ${d||"solid"} ${x&&g||"transparent"}${v};`,C}var NA=y(ac()),GA=y(z()),KA=y(Ed()),ZA=y(Yd());var FE=typeof process<"u"&&process?.env?.JEST_WORKER_ID!==void 0;function io({rowSpan:e,colSpan:t}){let r=Xd(t/e*100);return{value:r,className:JA(r)}}function Xd(e){return Math.round(e*100)/100}function JA(e){return`${Xd(e)}`.replace(/\./g,"p")}var QA=(0,ao.default)(`
|
|
620
637
|
<div id="<%= values._meta.htmlID %>" class="<%= colClass %> <%= values._meta.htmlClassNames %> v-row-align-items v-col-background-color v-col-border v-col-border-radius" style="display:flex;<% if (rowValues.alignItems) { %>align-items:<%= rowValues.alignItems %>;<% } %><% if (values.backgroundColor) { %>background-color:<%= values.backgroundColor %>;<% } %><% if (border) { %><%= border %><% } %><% if (borderRadius) { %><%= borderRadius %><% } %>">
|
|
621
638
|
<div class="v-col-padding" style="width: 100%;padding:<%= padding %>;">
|
|
622
639
|
<%= innerHTML %>
|
|
623
640
|
</div>
|
|
624
641
|
</div>
|
|
625
|
-
`),
|
|
642
|
+
`),YA=(0,ao.default)(`
|
|
626
643
|
<!--[if (mso)|(IE)]><td align="center" width="<%= tableWidth %>" class="v-col-background-color v-col-border v-col-border-radius" style="<% if (values.backgroundColor) { %>background-color: <%= values.backgroundColor %>;<% } %>width: <%= tableWidth %>px;<% if (border) { %><%= border %><% } %><% if (borderRadius) { %><%= borderRadius %><% } %>" valign="top"><table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td class="v-col-padding" style="padding: <%= padding %>;"><![endif]-->
|
|
627
644
|
<div id="<%= values._meta.htmlID %>" class="u-col u-col-<%= widthPercent %> <%= values._meta.htmlClassNames %>" style="max-width: 320px;min-width: <%= width %>px;display: table-cell;vertical-align: top;">
|
|
628
645
|
<div class="v-col-background-color v-col-border-radius" style="<% if (values.backgroundColor) { %>background-color: <%= values.backgroundColor %>;<% } %>height: 100%;width: 100% !important;<% if (borderRadius) { %><%= borderRadius %><% } %>">
|
|
@@ -631,15 +648,15 @@ var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDe
|
|
|
631
648
|
<!--[if (!mso)&(!IE)]><!--></div><!--<![endif]-->
|
|
632
649
|
</div>
|
|
633
650
|
</div>
|
|
634
|
-
<!--[if (mso)|(IE)]></td></tr></table></td><![endif]-->`),
|
|
651
|
+
<!--[if (mso)|(IE)]></td></tr></table></td><![endif]-->`),Se={web(e,t,r,o,n,i){let a=o.reduce((g,m)=>g+m,0),u=o[r],c=`u-col u-col-${io({rowSpan:a,colSpan:u}).className}`,f=Gr(t.border),p=t.borderRadius&&`border-radius: ${t.borderRadius};`,d=t.padding||"0px";return QA({innerHTML:e,values:t,rowValues:i,colClass:c,border:f,padding:d,borderRadius:p})},email(e,t,r,o,n,i){let a=o.reduce((x,v)=>x+v,0),u=o[r],s=parseFloat(`${n.contentWidth||0}`),c=u/a*s,f=io({rowSpan:a,colSpan:u}).className,p=Gr(t.border),d=t.border&&t.border.borderLeftWidth?parseInt(t.border.borderLeftWidth):0,g=t.border&&t.border.borderRightWidth?parseInt(t.border.borderRightWidth):0,m=Math.floor(c-d-g),h=t.padding||"0px",b=t.borderRadius&&`border-radius: ${t.borderRadius};`+ut(t.borderRadius);return YA({innerHTML:e,values:t,width:E(c,2),tableWidth:m,widthPercent:f,border:p,padding:h,borderRadius:b})},ampWeb(...e){return Se.web?.(...e)||""},ampEmail(...e){return Se.ampWeb?.(...e)||""},document(...e){return Se.web?.(...e)||""}};var lo={};var Wt=y(k());function Et(e,{amp:t=!1,defaultDevice:r="desktop"}={}){if(t)return!1;let o=e?._override?.desktop||{},n=e?._override?.tablet||{},i=e?._override?.mobile||{};switch(r){case"desktop":return!!o.hideDesktop;case"tablet":return!!n.hideTablet;case"mobile":return!!i.hideMobile;default:return!1}}var XA=y(require("react"));function oe(e,t){return e&&!t?`<a name="${e}"></a>`:""}var eT=(0,Wt.default)(`<%= anchor %>
|
|
635
652
|
<div id="<%= values._meta.htmlID %>" class="<%= values._meta.htmlClassNames %> v-container-padding-padding<% if (desktop.hideDesktop) { %> hide-desktop<% } %><% if (tablet.hideTablet) { %> hide-tablet<% } %><% if (mobile.hideMobile) { %> hide-mobile<% } %>" style="overflow-wrap: break-word;padding: <%= values.containerPadding %>;">
|
|
636
653
|
<%= innerHTML %>
|
|
637
654
|
</div>
|
|
638
|
-
`),
|
|
655
|
+
`),tT=(0,Wt.default)(`<%= anchor %>
|
|
639
656
|
<div id="<%= values._meta.htmlID %>" class="<%= values._meta.htmlClassNames %> v-container-padding" style="overflow-wrap: break-word;<% if (values.containerPadding) { %>padding: <%= values.containerPadding %>;<% } %>">
|
|
640
657
|
<%= innerHTML %>
|
|
641
658
|
</div>
|
|
642
|
-
`),
|
|
659
|
+
`),rT=(0,Wt.default)(`<% if (anchor) { %><%= anchor %>
|
|
643
660
|
<% } %><% if (shouldHideByDefault) { %><!--[if !mso]><!--><% } %>
|
|
644
661
|
<table id="<%= values._meta.htmlID %>" class="<%= values._meta.htmlClassNames %><% if (shouldHideByDefault) { %> hide-default__display-table<% } %><% if (desktop.hideDesktop) { %> hide-desktop<% } %><% if (tablet.hideTablet) { %> hide-tablet<% } %><% if (mobile.hideMobile) { %> hide-mobile<% } %>" style="<% if (shouldHideByDefault) { %>display: none;mso-hide: all;<% } %>font-family:<%= bodyValues.fontFamily?.value %>;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0">
|
|
645
662
|
<tbody>
|
|
@@ -650,7 +667,7 @@ var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDe
|
|
|
650
667
|
</tr>
|
|
651
668
|
</tbody>
|
|
652
669
|
</table>
|
|
653
|
-
<% if (shouldHideByDefault) { %><!--<![endif]--><% } %>`),
|
|
670
|
+
<% if (shouldHideByDefault) { %><!--<![endif]--><% } %>`),so={web(e,t,r,{variant:o}){return eT({innerHTML:e,values:t,anchor:oe(t?.anchor,o==="amp"),desktop:t?._override?.desktop||{},tablet:t?._override?.tablet||{},mobile:t?._override?.mobile||{}})},email(e,t,r,o){let{defaultDevice:n,variant:i}=o;return rT({innerHTML:e,values:t,bodyValues:r,anchor:oe(t?.anchor,i==="amp"),shouldHideByDefault:Et(t,{amp:i==="amp",defaultDevice:n}),desktop:t?._override?.desktop||{},tablet:t?._override?.tablet||{},mobile:t?._override?.mobile||{}})},document(e,t){return tT({innerHTML:e,values:t,anchor:oe(t?.anchor)})}};var uo={};var co=y(k());var oT=(0,co.default)(`<%= anchor %>
|
|
654
671
|
<<%= wrapperTag %> id="<%= values._meta.htmlID %>" class="<%= values._meta.htmlClassNames %> v-row-padding v-row-background-image--outer v-row-background-color<% if (desktop.hideDesktop) { %> hide-desktop<% } %><% if (tablet.hideTablet) { %> hide-tablet<% } %><% if (mobile.hideMobile) { %> hide-mobile<% } %>" style="<%= containerStyle %>">
|
|
655
672
|
<div class="container v-row-background-image--inner v-row-columns-background-color-background-color" style="<%= innerContainerStyle %>">
|
|
656
673
|
<div class="u-row<% if (mobile.noStackMobile) { %> no-stack<% } %> v-row-align-items"<% if (rowStyle) { %> style="<%= rowStyle %>"<% } %>>
|
|
@@ -658,7 +675,7 @@ var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDe
|
|
|
658
675
|
</div>
|
|
659
676
|
</div>
|
|
660
677
|
</<%= wrapperTag %>>
|
|
661
|
-
`),
|
|
678
|
+
`),nT=(0,co.default)(`<%= anchor %>
|
|
662
679
|
<% if (shouldHideByDefault) { %><!--[if !mso]><!--><% } %>
|
|
663
680
|
<% if (hasBackgroundImageURL) { %>
|
|
664
681
|
<!--[if gte mso 9]>
|
|
@@ -689,4 +706,4 @@ var Qt=Object.create;var le=Object.defineProperty;var Zt=Object.getOwnPropertyDe
|
|
|
689
706
|
<![endif]-->
|
|
690
707
|
<% } %>
|
|
691
708
|
<% if (shouldHideByDefault) { %><!--<![endif]--><% } %>
|
|
692
|
-
`),
|
|
709
|
+
`),Ae={web(e,t,r,{collection:o,variant:n}){let{backgroundColor:i,backgroundImage:a,padding:u,columnsBackgroundColor:s,alignItems:c}=t,f=parseFloat(`${r.contentWidth||0}`)==r.contentWidth?`${parseFloat(`${r.contentWidth||0}`)}px`:r.contentWidth,p=r.contentAlign==="left"?"0 auto 0 0":r.contentAlign==="right"?"0 0 0 auto":"0 auto",d=re(a,{displayMode:"web"}),g=ee(a,{displayMode:"web"}),m="";i&&(m+=`background-color: ${i};`),u&&(m+=` padding: ${u};`),a?.url&&a?.fullWidth&&(m+=`background-image: url('${a.url}');`,m+=`background-repeat: ${a?.repeat||"no-repeat"};`,d&&(m+=`background-position: ${d};`),g&&(m+=`background-size: ${g};`)),o==="footers"&&(m+="margin-top: auto");let h=`max-width: ${f};margin: ${p};`;s&&(h+=`background-color: ${s};`),a?.url&&!a?.fullWidth&&(h+=`background-image: url('${a.url}');`,h+=`background-repeat: ${a?.repeat||"no-repeat"};`,d&&(h+=`background-position: ${d};`),g&&(h+=`background-size: ${g};`));let b="";c&&(b+=` align-items: ${c};`),m=m.trim(),h=h.trim(),b=b.trim();let x=oe(t.anchor,n==="amp");return oT({innerHTML:e,values:t,containerStyle:m,innerContainerStyle:h,rowStyle:b,anchor:x,wrapperTag:ep(o),desktop:t?._override?.desktop||{},tablet:t?._override?.tablet||{},mobile:t?._override?.mobile||{}})},email(e,t,r,o){let{defaultDevice:n,variant:i,collection:a}=o,u=M(t.backgroundColor),s=M(t.columnsBackgroundColor),c=parseFloat(`${r.contentWidth||0}`),f=c==r.contentWidth?`${c}px`:r.contentWidth,p=r.contentAlign==="left"?"0 auto 0 0":r.contentAlign==="right"?"0 0 0 auto":"0 auto",{padding:d}=t,g=oe(t.anchor,i==="amp");return nT({innerHTML:e,values:t,bgcolor:u,columnsBgcolor:s,contentWidthNumber:c,contentWidthWithUnit:f,hasBackgroundImageURL:!!t?.backgroundImage?.url,backgroundImage:t.backgroundImage,backgroundPosition:re(t.backgroundImage,{displayMode:"email"}),backgroundSize:ee(t.backgroundImage,{displayMode:"email"}),margin:p,padding:d,shouldHideByDefault:Et(t,{amp:i==="amp",defaultDevice:n}),anchor:g,backgroundImageRepeat:typeof t?.backgroundImage?.repeat=="string"?t?.backgroundImage?.repeat.includes("repeat")&&t?.backgroundImage?.repeat!=="no-repeat":t?.backgroundImage?.repeat,desktop:t?._override?.desktop||{},tablet:t?._override?.tablet||{},mobile:t?._override?.mobile||{},wrapperTag:ep(a)})},ampWeb(...e){return Ae.web?.(...e)||""},ampEmail(...e){return Ae.ampWeb?.(...e)||""},document(...e){return Ae.web?.(...e)||""}},ep=e=>e==="headers"?"header":e==="footers"?"footer":"div";var po={};var iT=24,aT={href:{name:"web",values:{href:"",target:"_blank"}},buttonColors:{color:"#FFFFFF",backgroundColor:"#0879A1",hoverColor:"#FFFFFF",hoverBackgroundColor:"#0879A1"},size:{autoWidth:!0,width:"100%"},fontSize:"14px",lineHeight:"120%",textAlign:"center",padding:"10px 20px",border:{},borderRadius:"4px"},lT={width:"100%",border:{borderTopWidth:"1px",borderTopStyle:"solid",borderTopColor:"#BBBBBB"},textAlign:"center"},sT={headingType:"h1",fontSize:"22px",textAlign:"left",lineHeight:"140%",linkStyle:{inherit:!0,linkColor:"#0000ee",linkHoverColor:"#0000ee",linkUnderline:!0,linkHoverUnderline:!0}},uT={html:"<strong>Hello, world!</strong>"},cT={src:{url:"https://cdn.tools.unlayer.com/image/placeholder.png",width:1600,height:400},textAlign:"center",altText:"",action:{name:"web",values:{href:"",target:"_blank"}}},dT={menu:{items:[]},fontSize:"14px",textColor:"#444444",linkColor:"#0068A5",align:"center",layout:"horizontal",separator:"",padding:"5px 15px"},pT={fontSize:"14px",textAlign:"left",lineHeight:"140%",linkStyle:{inherit:!0,linkColor:"#0000ee",linkHoverColor:"#0000ee",linkUnderline:!0,linkHoverUnderline:!0}},fT={icons:{iconType:"circle",icons:[]},align:"center",iconSize:32,spacing:5},mT={columns:2,rows:2,border:{borderTopWidth:"1px",borderTopStyle:"solid",borderTopColor:"#CCC",borderLeftWidth:"1px",borderLeftStyle:"solid",borderLeftColor:"#CCC",borderRightWidth:"1px",borderRightStyle:"solid",borderRightColor:"#CCC",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:"#CCC"},stripedRows:!1,stripedRowsBackgroundColor:"#CCC",enableHeader:!0,headerBackgroundColor:"#DDDDDD",headerFontWeight:700,headerFontSize:"14px",headerTextAlign:"left",headerVerticalAlign:"middle",headerPadding:"10px",contentBackgroundColor:"#FFFFFF",contentFontSize:"14px",contentTextAlign:"left",contentVerticalAlign:"middle",contentLineHeight:"140%",contentPadding:"10px",enableFooter:!1,footerBackgroundColor:"#DDDDDD",footerFontWeight:700,footerFontSize:"14px",footerTextAlign:"left",footerVerticalAlign:"middle",footerPadding:"10px",linkStyle:{body:!0,linkColor:"#0000ee",linkHoverColor:"#0000ee",linkUnderline:!0,linkHoverUnderline:!0}},gT={fontSize:"14px",textAlign:"left",lineHeight:"140%",linkStyle:{inherit:!0,linkColor:"#0000ee",linkHoverColor:"#0000ee",linkUnderline:!0,linkHoverUnderline:!0}},hT={countdown:{countdownUrl:"https://cdn.tools.unlayer.com/countdown/countdown.gif",endTime:"",backgroundColor:"#FFFFFF",labelColor:"#A3A3A3",labelFontFamily:"Open Sans",labelFontSize:16,digitColor:"#404040",digitFontFamily:"Open Sans",digitFontSize:40,timezone:"America/Los_Angeles",locale:null,showLabels:!0,width:660,height:147},width:{autoWidth:!0,width:"100%"},textAlign:"center",altText:"Countdown",action:{name:"web",values:{href:"",target:"_blank"}}},bT={video:{}},xT={displayCondition:null,columns:!1,_styleGuide:null,backgroundColor:"",columnsBackgroundColor:"",backgroundImage:{url:"",fullWidth:!0,repeat:"no-repeat",size:"custom",position:"center"},padding:"0px",anchor:"",noStackMobile:!1,_meta:{},selectable:!0,draggable:!0,duplicatable:!0,deletable:!0,hideable:!0,locked:!1},yT={backgroundColor:"",padding:"0px",border:{},borderRadius:"0px",_meta:{},deletable:!0,locked:!1},vT={_styleGuide:null,popupPosition:"center",popupDisplayDelay:0,popupWidth:"600px",popupHeight:"auto",borderRadius:"10px",contentAlign:"center",contentVerticalAlign:"middle",contentWidth:"500px",fontFamily:{label:"Arial",value:"arial,helvetica,sans-serif"},textColor:"#000000",popupBackgroundColor:"#FFFFFF",popupBackgroundImage:{url:"",fullWidth:!0,repeat:"no-repeat",size:"cover",position:"center"},popupOverlay_backgroundColor:"rgba(0, 0, 0, 0.1)",popupCloseButton_position:"top-right",popupCloseButton_backgroundColor:"#DDDDDD",popupCloseButton_iconColor:"#000000",popupCloseButton_borderRadius:"0px",popupCloseButton_margin:"0px",popupCloseButton_action:{name:"close_popup",attrs:{onClick:"document.querySelector('.u-popup-container').style.display = 'none';"}},language:{},backgroundColor:"#F7F8F9",preheaderText:"",linkStyle:{body:!0,linkColor:"#0000ee",linkHoverColor:"#0000ee",linkUnderline:!0,linkHoverUnderline:!0},backgroundImage:{url:"",fullWidth:!0,repeat:"no-repeat",size:"custom",position:"center"},accessibilityTitle:"",_meta:{}},_T={Button:yt,Divider:ve,Heading:vt,Html:Ar,Image:wt,Menu:Ir,Paragraph:Ct,Social:Qe,Table:St,Text:At,Timer:Lr,Video:qt,Body:Vr,Column:Se,Content:so,Row:Ae},wT={Button:hr||void 0,Divider:void 0,Heading:kr||void 0,Html:void 0,Image:qr||void 0,Menu:void 0,Paragraph:Wr||void 0,Social:void 0,Table:Fr||void 0,Text:Rr||void 0,Timer:$r||void 0,Video:Ur||void 0,Body:Nr||void 0,Column:lo||void 0,Content:uo||void 0,Row:po||void 0};0&&(module.exports={BodyDefaults,BodyExporters,BodyHead,ButtonDefaults,ButtonExporters,ButtonHead,ColumnDefaults,ColumnExporters,ColumnHead,ContentExporters,ContentHead,DividerDefaults,DividerExporters,HeadingDefaults,HeadingExporters,HeadingHead,HtmlDefaults,HtmlExporters,ImageDefaults,ImageExporters,ImageHead,MenuDefaults,MenuExporters,ParagraphDefaults,ParagraphExporters,ParagraphHead,RowDefaults,RowExporters,RowHead,SocialDefaults,SocialExporters,TableDefaults,TableExporters,TableHead,TextDefaults,TextExporters,TextHead,TimerDefaults,TimerExporters,TimerHead,VideoDefaults,VideoExporters,VideoHead,exporters,heads,schemaVersion});
|