← Back
Editing: boot.js
(function(){ (function(){"use strict";function G($){return $&&$.__esModule&&Object.prototype.hasOwnProperty.call($,"default")?$.default:$}var K={exports:{}},yt=K.exports,it;function Dt(){return it||(it=1,(function($,o){(function(r,t){$.exports=t()})(yt,(function(){var r=1e3,t=6e4,u=36e5,v="millisecond",c="second",p="minute",f="hour",M="day",_="week",x="month",D="quarter",S="year",m="date",s="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,Y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(l){var i=["th","st","nd","rd"],e=l%100;return"["+l+(i[(e-20)%10]||i[e]||i[0])+"]"}},O=function(l,i,e){var a=String(l);return!a||a.length>=i?l:""+Array(i+1-a.length).join(e)+l},U={s:O,z:function(l){var i=-l.utcOffset(),e=Math.abs(i),a=Math.floor(e/60),n=e%60;return(i<=0?"+":"-")+O(a,2,"0")+":"+O(n,2,"0")},m:function l(i,e){if(i.date()<e.date())return-l(e,i);var a=12*(e.year()-i.year())+(e.month()-i.month()),n=i.clone().add(a,x),h=e-n<0,d=i.clone().add(a+(h?-1:1),x);return+(-(a+(e-n)/(h?n-d:d-n))||0)},a:function(l){return l<0?Math.ceil(l)||0:Math.floor(l)},p:function(l){return{M:x,y:S,w:_,d:M,D:m,h:f,m:p,s:c,ms:v,Q:D}[l]||String(l||"").toLowerCase().replace(/s$/,"")},u:function(l){return l===void 0}},H="en",L={};L[H]=Y;var V="$isDayjsObject",I=function(l){return l instanceof Z||!(!l||!l[V])},j=function l(i,e,a){var n;if(!i)return H;if(typeof i=="string"){var h=i.toLowerCase();L[h]&&(n=h),e&&(L[h]=e,n=h);var d=i.split("-");if(!n&&d.length>1)return l(d[0])}else{var w=i.name;L[w]=i,n=w}return!a&&n&&(H=n),n||!a&&H},F=function(l,i){if(I(l))return l.clone();var e=typeof i=="object"?i:{};return e.date=l,e.args=arguments,new Z(e)},g=U;g.l=j,g.i=I,g.w=function(l,i){return F(l,{locale:i.$L,utc:i.$u,x:i.$x,$offset:i.$offset})};var Z=(function(){function l(e){this.$L=j(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[V]=!0}var i=l.prototype;return i.parse=function(e){this.$d=(function(a){var n=a.date,h=a.utc;if(n===null)return new Date(NaN);if(g.u(n))return new Date;if(n instanceof Date)return new Date(n);if(typeof n=="string"&&!/Z$/i.test(n)){var d=n.match(y);if(d){var w=d[2]-1||0,A=(d[7]||"0").substring(0,3);return h?new Date(Date.UTC(d[1],w,d[3]||1,d[4]||0,d[5]||0,d[6]||0,A)):new Date(d[1],w,d[3]||1,d[4]||0,d[5]||0,d[6]||0,A)}}return new Date(n)})(e),this.init()},i.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},i.$utils=function(){return g},i.isValid=function(){return this.$d.toString()!==s},i.isSame=function(e,a){var n=F(e);return this.startOf(a)<=n&&n<=this.endOf(a)},i.isAfter=function(e,a){return F(e)<this.startOf(a)},i.isBefore=function(e,a){return this.endOf(a)<F(e)},i.$g=function(e,a,n){return g.u(e)?this[a]:this.set(n,e)},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this.$d.getTime()},i.startOf=function(e,a){var n=this,h=!!g.u(a)||a,d=g.p(e),w=function(R,C){var E=g.w(n.$u?Date.UTC(n.$y,C,R):new Date(n.$y,C,R),n);return h?E:E.endOf(M)},A=function(R,C){return g.w(n.toDate()[R].apply(n.toDate("s"),(h?[0,0,0,0]:[23,59,59,999]).slice(C)),n)},T=this.$W,z=this.$M,k=this.$D,P="set"+(this.$u?"UTC":"");switch(d){case S:return h?w(1,0):w(31,11);case x:return h?w(1,z):w(0,z+1);case _:var W=this.$locale().weekStart||0,B=(T<W?T+7:T)-W;return w(h?k-B:k+(6-B),z);case M:case m:return A(P+"Hours",0);case f:return A(P+"Minutes",1);case p:return A(P+"Seconds",2);case c:return A(P+"Milliseconds",3);default:return this.clone()}},i.endOf=function(e){return this.startOf(e,!1)},i.$set=function(e,a){var n,h=g.p(e),d="set"+(this.$u?"UTC":""),w=(n={},n[M]=d+"Date",n[m]=d+"Date",n[x]=d+"Month",n[S]=d+"FullYear",n[f]=d+"Hours",n[p]=d+"Minutes",n[c]=d+"Seconds",n[v]=d+"Milliseconds",n)[h],A=h===M?this.$D+(a-this.$W):a;if(h===x||h===S){var T=this.clone().set(m,1);T.$d[w](A),T.init(),this.$d=T.set(m,Math.min(this.$D,T.daysInMonth())).$d}else w&&this.$d[w](A);return this.init(),this},i.set=function(e,a){return this.clone().$set(e,a)},i.get=function(e){return this[g.p(e)]()},i.add=function(e,a){var n,h=this;e=Number(e);var d=g.p(a),w=function(z){var k=F(h);return g.w(k.date(k.date()+Math.round(z*e)),h)};if(d===x)return this.set(x,this.$M+e);if(d===S)return this.set(S,this.$y+e);if(d===M)return w(1);if(d===_)return w(7);var A=(n={},n[p]=t,n[f]=u,n[c]=r,n)[d]||1,T=this.$d.getTime()+e*A;return g.w(T,this)},i.subtract=function(e,a){return this.add(-1*e,a)},i.format=function(e){var a=this,n=this.$locale();if(!this.isValid())return n.invalidDate||s;var h=e||"YYYY-MM-DDTHH:mm:ssZ",d=g.z(this),w=this.$H,A=this.$m,T=this.$M,z=n.weekdays,k=n.months,P=n.meridiem,W=function(C,E,Q,rt){return C&&(C[E]||C(a,h))||Q[E].slice(0,rt)},B=function(C){return g.s(w%12||12,C,"0")},R=P||function(C,E,Q){var rt=C<12?"AM":"PM";return Q?rt.toLowerCase():rt};return h.replace(b,(function(C,E){return E||(function(Q){switch(Q){case"YY":return String(a.$y).slice(-2);case"YYYY":return g.s(a.$y,4,"0");case"M":return T+1;case"MM":return g.s(T+1,2,"0");case"MMM":return W(n.monthsShort,T,k,3);case"MMMM":return W(k,T);case"D":return a.$D;case"DD":return g.s(a.$D,2,"0");case"d":return String(a.$W);case"dd":return W(n.weekdaysMin,a.$W,z,2);case"ddd":return W(n.weekdaysShort,a.$W,z,3);case"dddd":return z[a.$W];case"H":return String(w);case"HH":return g.s(w,2,"0");case"h":return B(1);case"hh":return B(2);case"a":return R(w,A,!0);case"A":return R(w,A,!1);case"m":return String(A);case"mm":return g.s(A,2,"0");case"s":return String(a.$s);case"ss":return g.s(a.$s,2,"0");case"SSS":return g.s(a.$ms,3,"0");case"Z":return d}return null})(C)||d.replace(":","")}))},i.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},i.diff=function(e,a,n){var h,d=this,w=g.p(a),A=F(e),T=(A.utcOffset()-this.utcOffset())*t,z=this-A,k=function(){return g.m(d,A)};switch(w){case S:h=k()/12;break;case x:h=k();break;case D:h=k()/3;break;case _:h=(z-T)/6048e5;break;case M:h=(z-T)/864e5;break;case f:h=z/u;break;case p:h=z/t;break;case c:h=z/r;break;default:h=z}return n?h:g.a(h)},i.daysInMonth=function(){return this.endOf(x).$D},i.$locale=function(){return L[this.$L]},i.locale=function(e,a){if(!e)return this.$L;var n=this.clone(),h=j(e,a,!0);return h&&(n.$L=h),n},i.clone=function(){return g.w(this.$d,this)},i.toDate=function(){return new Date(this.valueOf())},i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toISOString=function(){return this.$d.toISOString()},i.toString=function(){return this.$d.toUTCString()},l})(),J=Z.prototype;return F.prototype=J,[["$ms",v],["$s",c],["$m",p],["$H",f],["$W",M],["$M",x],["$y",S],["$D",m]].forEach((function(l){J[l[1]]=function(i){return this.$g(i,l[0],l[1])}})),F.extend=function(l,i){return l.$i||(l(i,Z,F),l.$i=!0),F},F.locale=j,F.isDayjs=I,F.unix=function(l){return F(1e3*l)},F.en=L[H],F.Ls=L,F.p={},F}))})(K)),K.exports}var _t=Dt();const q=G(_t);var X={exports:{}},St=X.exports,st;function wt(){return st||(st=1,(function($,o){(function(r,t){$.exports=t()})(St,(function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(t,u,v){var c=u.prototype,p=c.format;v.en.formats=r,c.format=function(f){f===void 0&&(f="YYYY-MM-DDTHH:mm:ssZ");var M=this.$locale().formats,_=(function(x,D){return x.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(S,m,s){var y=s&&s.toUpperCase();return m||D[s]||r[s]||D[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(b,Y,O){return Y||O.slice(1)}))}))})(f,M===void 0?{}:M);return p.call(this,_)}}}))})(X)),X.exports}var Ot=wt();const xt=G(Ot);var N={exports:{}},Yt=N.exports,ut;function Ft(){return ut||(ut=1,(function($,o){(function(r,t){$.exports=t()})(Yt,(function(){var r="minute",t=/[+-]\d\d(?::?\d\d)?/g,u=/([+-]|\d\d)/g;return function(v,c,p){var f=c.prototype;p.utc=function(s){var y={date:s,utc:!0,args:arguments};return new c(y)},f.utc=function(s){var y=p(this.toDate(),{locale:this.$L,utc:!0});return s?y.add(this.utcOffset(),r):y},f.local=function(){return p(this.toDate(),{locale:this.$L,utc:!1})};var M=f.parse;f.parse=function(s){s.utc&&(this.$u=!0),this.$utils().u(s.$offset)||(this.$offset=s.$offset),M.call(this,s)};var _=f.init;f.init=function(){if(this.$u){var s=this.$d;this.$y=s.getUTCFullYear(),this.$M=s.getUTCMonth(),this.$D=s.getUTCDate(),this.$W=s.getUTCDay(),this.$H=s.getUTCHours(),this.$m=s.getUTCMinutes(),this.$s=s.getUTCSeconds(),this.$ms=s.getUTCMilliseconds()}else _.call(this)};var x=f.utcOffset;f.utcOffset=function(s,y){var b=this.$utils().u;if(b(s))return this.$u?0:b(this.$offset)?x.call(this):this.$offset;if(typeof s=="string"&&(s=(function(H){H===void 0&&(H="");var L=H.match(t);if(!L)return null;var V=(""+L[0]).match(u)||["-",0,0],I=V[0],j=60*+V[1]+ +V[2];return j===0?0:I==="+"?j:-j})(s),s===null))return this;var Y=Math.abs(s)<=16?60*s:s;if(Y===0)return this.utc(y);var O=this.clone();if(y)return O.$offset=Y,O.$u=!1,O;var U=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(O=this.local().add(Y+U,r)).$offset=Y,O.$x.$localOffset=U,O};var D=f.format;f.format=function(s){var y=s||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return D.call(this,y)},f.valueOf=function(){var s=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*s},f.isUTC=function(){return!!this.$u},f.toISOString=function(){return this.toDate().toISOString()},f.toString=function(){return this.toDate().toUTCString()};var S=f.toDate;f.toDate=function(s){return s==="s"&&this.$offset?p(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():S.call(this)};var m=f.diff;f.diff=function(s,y,b){if(s&&this.$u===s.$u)return m.call(this,s,y,b);var Y=this.local(),O=p(s).local();return m.call(Y,O,y,b)}}}))})(N)),N.exports}var At=Ft();const Ht=G(At);var tt={exports:{}},bt=tt.exports,ot;function Tt(){return ot||(ot=1,(function($,o){(function(r,t){$.exports=t()})(bt,(function(){var r={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(u,v,c){var p,f=function(D,S,m){m===void 0&&(m={});var s=new Date(D),y=(function(b,Y){Y===void 0&&(Y={});var O=Y.timeZoneName||"short",U=b+"|"+O,H=t[U];return H||(H=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:b,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:O}),t[U]=H),H})(S,m);return y.formatToParts(s)},M=function(D,S){for(var m=f(D,S),s=[],y=0;y<m.length;y+=1){var b=m[y],Y=b.type,O=b.value,U=r[Y];U>=0&&(s[U]=parseInt(O,10))}var H=s[3],L=H===24?0:H,V=s[0]+"-"+s[1]+"-"+s[2]+" "+L+":"+s[4]+":"+s[5]+":000",I=+D;return(c.utc(V).valueOf()-(I-=I%1e3))/6e4},_=v.prototype;_.tz=function(D,S){if(D===void 0&&(D=p),!this.isValid())return this;var m,s=this.utcOffset(),y=this.toDate(),b=y.toLocaleString("en-US",{timeZone:D}),Y=M(+y,D);if(!Number(Y))m=this.utcOffset(0,S);else if(m=c(b,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(Y,!0),S){var O=m.utcOffset();m=m.add(s-O,"minute")}return m.$x.$timezone=D,m},_.offsetName=function(D){var S=this.$x.$timezone||c.tz.guess(),m=f(this.valueOf(),S,{timeZoneName:D}).find((function(s){return s.type.toLowerCase()==="timezonename"}));return m&&m.value};var x=_.startOf;_.startOf=function(D,S){if(!this.$x||!this.$x.$timezone)return x.call(this,D,S);var m=c(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return x.call(m,D,S).tz(this.$x.$timezone,!0)},c.tz=function(D,S,m){var s=m&&S,y=m||S||p,b=M(+c(),y);if(typeof D!="string")return c(D).tz(y);var Y=c.utc(D,s).valueOf();if(Number.isNaN(Y)){var O=c(NaN);return O.$x.$timezone=y,O}var U=(function(I,j,F){var g=I-60*j*1e3,Z=M(g,F);if(j===Z)return[g,j];var J=M(g-=60*(Z-j)*1e3,F);return Z===J?[g,Z]:[I-60*Math.min(Z,J)*1e3,Math.max(Z,J)]})(Y,b,y),H=U[0],L=U[1],V=c(H).utcOffset(L);return V.$x.$timezone=y,V},c.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},c.tz.setDefault=function(D){p=D}}}))})(tt)),tt.exports}var zt=Tt();const Lt=G(zt);function at($){return typeof $!="string"||$===""?(console.error("The namespace must be a non-empty string."),!1):/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test($)?!0:(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)}function nt($){return typeof $!="string"||$===""?(console.error("The hook name must be a non-empty string."),!1):/^__/.test($)?(console.error("The hook name cannot begin with `__`."),!1):/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test($)?!0:(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)}function ct($,o){return function(t,u,v,c=10){const p=$[o];if(!nt(t)||!at(u))return;if(typeof v!="function"){console.error("The hook callback must be a function.");return}if(typeof c!="number"){console.error("If specified, the hook priority must be a number.");return}const f={callback:v,priority:c,namespace:u};if(p[t]){const M=p[t].handlers;let _;for(_=M.length;_>0&&!(c>=M[_-1].priority);_--);_===M.length?M[_]=f:M.splice(_,0,f),p.__current.forEach(x=>{x.name===t&&x.currentIndex>=_&&x.currentIndex++})}else p[t]={handlers:[f],runs:0};t!=="hookAdded"&&$.doAction("hookAdded",t,u,v,c)}}function et($,o,r=!1){return function(u,v){const c=$[o];if(!nt(u)||!r&&!at(v))return;if(!c[u])return 0;let p=0;if(r)p=c[u].handlers.length,c[u]={runs:c[u].runs,handlers:[]};else{const f=c[u].handlers;for(let M=f.length-1;M>=0;M--)f[M].namespace===v&&(f.splice(M,1),p++,c.__current.forEach(_=>{_.name===u&&_.currentIndex>=M&&_.currentIndex--}))}return u!=="hookRemoved"&&$.doAction("hookRemoved",u,v),p}}function ft($,o){return function(t,u){const v=$[o];return typeof u!="undefined"?t in v&&v[t].handlers.some(c=>c.namespace===u):t in v}}function lt($,o,r=!1){return function(u,...v){const c=$[o];c[u]||(c[u]={handlers:[],runs:0}),c[u].runs++;const p=c[u].handlers;if(!p||!p.length)return r?v[0]:void 0;const f={name:u,currentIndex:0};for(c.__current.push(f);f.currentIndex<p.length;){const _=p[f.currentIndex].callback.apply(null,v);r&&(v[0]=_),f.currentIndex++}if(c.__current.pop(),r)return v[0]}}function ht($,o){return function(){var v;var t;const u=$[o];return(t=(v=u.__current[u.__current.length-1])==null?void 0:v.name)!==null&&t!==void 0?t:null}}function dt($,o){return function(t){const u=$[o];return typeof t=="undefined"?typeof u.__current[0]!="undefined":u.__current[0]?t===u.__current[0].name:!1}}function $t($,o){return function(t){const u=$[o];if(nt(t))return u[t]&&u[t].runs?u[t].runs:0}}class Ct{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=ct(this,"actions"),this.addFilter=ct(this,"filters"),this.removeAction=et(this,"actions"),this.removeFilter=et(this,"filters"),this.hasAction=ft(this,"actions"),this.hasFilter=ft(this,"filters"),this.removeAllActions=et(this,"actions",!0),this.removeAllFilters=et(this,"filters",!0),this.doAction=lt(this,"actions"),this.applyFilters=lt(this,"filters",!0),this.currentAction=ht(this,"actions"),this.currentFilter=ht(this,"filters"),this.doingAction=dt(this,"actions"),this.doingFilter=dt(this,"filters"),this.didAction=$t(this,"actions"),this.didFilter=$t(this,"filters")}}function Ut(){return new Ct}const jt=Ut(),{addAction:pt,addFilter:mt,removeAction:Vt,removeFilter:It,hasAction:Zt,hasFilter:qt,removeAllActions:vt,removeAllFilters:Et,doAction:gt,applyFilters:Mt,currentAction:Wt,currentFilter:Rt,doingAction:Jt,doingFilter:Pt,didAction:Bt,didFilter:Qt,actions:Gt,filters:Kt}=jt;q.extend(xt),q.extend(Ht),q.extend(Lt);class kt{constructor(){this.doAction=gt,this.addFilter=mt,this.addAction=pt,this.applyFilters=Mt,this.removeAllActions=vt,this.appVars=window.FluentMailAdmin}appMixin(){const o=this;return{data(){return{appVars:o.appVars,settings:o.appVars.settings}},methods:{addFilter:mt,applyFilters:Mt,doAction:gt,addAction:pt,removeAllActions:vt,$dateFormat:o.dateFormat,ucFirst:o.ucFirst,ucWords:o.ucWords,slugify:o.slugify,dayjs:q,escapeHtml:o.escapeHtml,hasPro:()=>!!window.FluentMail.appVars.has_pro,$siteNow:o.siteNow,$siteCalendarDate(r=0){const t=this.$siteNow().subtract(r,"day");return new Date(t.year(),t.month(),t.date())},$errorMessage(r,t=""){const u=r&&r.responseJSON&&r.responseJSON.data;return u&&u.message?u.message:this.$isAuthError(r)?this.$t("Security check failed. Please reload the page."):t||this.$t("__REQUEST_FAILED")},$isAuthError(r){return!!(r&&(r.status===403||r.status===401))},$t(r,...t){const u=window.FluentMailAdmin.trans[r]||r;if(!t.length)return u;const[v]=t;if(v&&typeof v=="object")return u.replace(/{(\w+)}/g,(p,f)=>f in v?v[f]:p);let c=0;return u.replace(/%s/g,()=>c<t.length?t[c++]:"%s")},formatCount(r){const t=Number(r);return Number.isFinite(t)?t.toLocaleString():"0"}}}}siteNow(){const o=window.FluentMail.appVars&&window.FluentMail.appVars.site_timezone;if(!o)return q();try{return/^[+-]\d{2}:\d{2}$/.test(o)?q().utcOffset(o):q().tz(o)}catch(r){return q()}}registerBlock(o,r,t){this.addFilter(o,this.appVars.slug,function(u){return u[r]=t,u})}registerTopMenu(o,r){!o||!r.name||!r.path||!r.component||(this.addFilter("fluent_mail_top_menus",this.appVars.slug,function(t){return t=t.filter(u=>u.route!==r.name),t.push({route:r.name,title:o}),t}),this.addFilter("fluent_mail_global_routes",this.appVars.slug,function(t){return t=t.filter(u=>u.name!==r.name),t.push(r),t}))}request(o,r){return window.jQuery[o](window.ajaxurl,r)}$get(o,r={}){return r.action=this.appVars.slug+"-get-"+o,r.nonce=this.appVars.nonce,window.FluentMail.request("get",r)}$post(o,r={}){return r.action=this.appVars.slug+"-post-"+o,r.nonce=this.appVars.nonce,window.FluentMail.request("post",r)}dateFormat(o,r){const u=q(o===void 0?null:o);return u.isValid()?u.format(r):null}ucFirst(o){return o[0].toUpperCase()+o.slice(1).toLowerCase()}ucWords(o){return(o+"").replace(/^(.)|\s+(.)/g,function(r){return r.toUpperCase()})}slugify(o){return o.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w\\-]+/g,"").replace(/\\-\\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}escapeHtml(o){if(!o)return o;const r={"&":"&","<":"<",">":">",'"':""","'":"'"};return o.replace(/[&<>"']/g,t=>r[t])}}window.FluentMail=new kt})(); })();
Save File
Cancel