"use strict";(()=>{var Dt=Object.defineProperty,Pt=Object.defineProperties;var Mt=Object.getOwnPropertyDescriptors;var ft=Object.getOwnPropertySymbols;var Tt=Object.prototype.hasOwnProperty,Ct=Object.prototype.propertyIsEnumerable;var vt=(n,f,e)=>f in n?Dt(n,f,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[f]=e,U=(n,f)=>{for(var e in f||(f={}))Tt.call(f,e)&&vt(n,e,f[e]);if(ft)for(var e of ft(f))Ct.call(f,e)&&vt(n,e,f[e]);return n},nt=(n,f)=>Pt(n,Mt(f));var ct=(n,f,e)=>new Promise((u,O)=>{var T=v=>{try{d(e.next(v))}catch(p){O(p)}},D=v=>{try{d(e.throw(v))}catch(p){O(p)}},d=v=>v.done?u(v.value):Promise.resolve(v.value).then(T,D);d((e=e.apply(n,f)).next())});(self.webpackChunkecom_website=self.webpackChunkecom_website||[]).push([[69882],{31623:n=>{var f=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],e=["address","article","aside","blockquote","canvas","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","section","table","tfoot","ul","video"],u=10,O=33,T=34,D=38,d=39,v=47,p=59,C=60,F=61,g=62,G=/[<&\n\ud800-\udbff]/,N=/\s+$/;n.exports=function(i,a){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return i?(i=i.toString(),l.indicator===void 0&&(l.indicator="\u2026"),l.html?X(i,a,l):z(i,a,l)):""};function X(t,i,a){for(var l=a.imageWeight,_=l===void 0?2:l,E=a.indicator,A=a.maxLines,o=E.length,P=1,r=0,M=!1,h=[],y=t.length;r-1?L:R.length;if(r+=q,!M&&(o+=q,o>i)){r=Math.max(r-o+i,0);break}if(L===-1)break;var Q=t.charCodeAt(r);if(Q===C){var ht=t.charCodeAt(r+1),x=ht===O;if(x&&t.substr(r+2,2)==="--"){var ut=t.indexOf("-->",r+4)+3;r=ut-1}else if(x&&t.substr(r+2,7)==="[CDATA["){var pt=t.indexOf("]]>",r+9)+3;r=pt-1}else{if(o===i&&t.charCodeAt(r+1)!==v){o++;break}for(var w=0,m=r,S=!1;;){if(m++,m>=y)throw new Error("Invalid HTML: "+t);var W=t.charCodeAt(m);if(S)w?W===w&&(S=!1):b(W)?S=!1:W===g&&(S=!1,m--);else if(W===F){for(;b(t.charCodeAt(m+1));)m++;S=!0;var Y=t.charCodeAt(m+1);Y===T||Y===d?(w=Y,m++):w=0}else if(W===g){var tt=t.charCodeAt(r+1)===v,et=r+(tt?2:1),dt=Math.min(J(t,et),m),c=t.slice(et,dt).toLowerCase();if(c.charCodeAt(c.length-1)===v&&(c=c.slice(0,c.length-1)),tt){var At=h.pop();if(At!==c)throw new Error("Invalid HTML: "+t);if((c==="math"||c==="svg")&&(M=h.indexOf("math")!==-1||h.indexOf("svg")!==-1,!M&&(o+=_,o>i)))break;if(e.indexOf(c)!==-1&&!M&&(P++,P>A)){h.push(c);break}}else if(f.indexOf(c)!==-1||t.charCodeAt(m-1)===v){if(c==="br"){if(P++,P>A)break}else if(c==="img"&&(o+=_,o>i))break}else h.push(c),(c==="math"||c==="svg")&&(M=!0);r=m;break}}if(o>i||P>A)break}}else if(Q===D){for(var Z=r+1,rt=!0;;){var it=t.charCodeAt(Z);if(K(it))Z++;else{if(it===p)break;rt=!1;break}}if(!M&&(o++,o>i))break;rt&&(r=Z)}else if(Q===u){if(!M&&(o++,o>i||(P++,P>A)))break}else{if(!M&&(o++,o>i))break;var Et=t.charCodeAt(r+1);(Et&64512)===56320&&r++}}if(o>i){var B=s(t,r);if(E){for(var H=r+B.length;t.charCodeAt(H)===C&&t.charCodeAt(H+1)===v;){var at=t.indexOf(">",H+2)+1;if(at)H=at;else break}H&&(H===t.length||I(t,H))&&(r+=B.length,B=t.charAt(r))}for(;B==="<"&&t.charCodeAt(r+1)===v;){var lt=h.pop(),j=lt?t.indexOf(">",r+2):-1;if(j===-1||t.replace(N,"").slice(r+2,j)!==lt)throw new Error("Invalid HTML: "+t);r=j+1,B=t.charAt(r)}if(r=0;$--){var k=t.charCodeAt($);if(k===g||k===p)break;if(k===u||k===C){r=$;break}else if(b(k)){r=$+(E?1:0);break}}for(var ot=t.slice(0,r)+(I(t,r)?"":E);h.length;){var mt=h.pop();ot+=""}return ot}}else if(P>A){for(var st=t.slice(0,r);h.length;){var Ot=h.pop();st+=""}return st}return t}function z(t,i,a){for(var l=a.indicator,_=a.maxLines,E=l.length,A=1,o=0,P=t.length;oi));o++){var r=t.charCodeAt(o);if(r===u){if(A++,A>_)break}else if((r&64512)===55296){var M=t.charCodeAt(o+1);(M&64512)===56320&&o++}}if(E>i){var h=V(t,o);if(l){var y=o+h.length;if(y===t.length)return t;if(t.charCodeAt(y)===u)return t.slice(0,o+h.length)}if(!a.breakWords)for(var R=o-l.length;R>=0;R--){var L=t.charCodeAt(R);if(L===u){o=R,h=` `;break}else if(b(L)){o=R+(l?1:0);break}}return t.slice(0,o)+(h===` `?"":l)}else if(A>_)return t.slice(0,o);return t}function J(t,i){for(var a=t.length,l=i;l=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}function I(t,i){var a=t.charCodeAt(i);if(a===u)return!0;if(a===C){var l="("+e.join("|")+"|br)",_=new RegExp("^<"+l+`[ \f\r ]*/?>`,"i");return _.test(t.slice(i))}else return!1}function b(t){return t===9||t===10||t===12||t===13||t===32}function V(t,i){var a=t.charCodeAt(i);if((a&64512)===55296){var l=t.charCodeAt(i+1);if((l&64512)===56320)return String.fromCharCode(a,l)}return String.fromCharCode(a)}function s(t,i){var a=V(t,i);if(a==="&")for(;;){i++;var l=t.charCodeAt(i);if(K(l))a+=String.fromCharCode(l);else if(l===p){a+=String.fromCharCode(l);break}else break}return a}},33481:(n,f,e)=>{e.d(f,{A:()=>d});var u=e(94336),O=e(7842),T=e.n(O),D=e(6870);function d(v){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!v)return"";const C=new u.Ss(v.ops,U({urlSanitizer:D.J},p));return T()(C.convert())}},10279:(n,f,e)=>{e.d(f,{A:()=>v});var u=e(67716),O=e.n(u),T=e(31623),D=e.n(T),d=e(33481);function v(p){return O()(p,"content.content.quill")?D()((0,d.A)(p.content.content.quill,{encodeHtml:!1}),200,{maxLines:5}):""}},69882:(n,f,e)=>{e.r(f),e.d(f,{default:()=>b});var u=e(29421),O=e.n(u),T=e(76872),D=e(50204),d=e(27581),v=e(85874),p=e(50960),C=e(10279),F=e(83378),g=e(29835),G=e(85119);const X={name:"BlogPage",extends:G.A,metaData(){return{title:this.title,link:this.metaLink,meta:[{name:"description",content:this.description},...this.openGraphMeta],script:[this.blogMeta]}},setup(){(0,p.cH)((0,d.A)().getTemplateId(g.GW))},asyncData(s){return ct(this,null,function*(){let{store:t,route:i}=s;const a=(0,d.A)().getTemplateId(g.GW),{id:l}=i.params,{isPublishedSite:_,isDraft:E}=t.getters;let A;_||E?A=yield(0,v.Ay)().fetchPublishedPost({slug:l}):A=yield(0,v.Ay)().fetchDraftPost({id:l}),yield O().all([t.dispatch("fetchPage",{id:a,resourceId:A.draft_id}),G.A.asyncData({store:t})])})},computed:nt(U(U(U({},(0,T.mapGetters)(["isPublishedSite","getResourceId"])),(0,D.aH)(v.Ay,{post:"getPost"})),(0,D.aH)(d.A,["getTemplateId","getProperty"])),{id(){return this.getTemplateId(g.GW)},postImage(){var s,t;return(s=(t=this.post)===null||t===void 0||(t=t.image)===null||t===void 0||(t=t.image)===null||t===void 0?void 0:t.source)!==null&&s!==void 0?s:""},openGraphMeta(){var s,t,i,a;return[{property:"og:image",content:this.postImage},{property:"og:site_name",content:this.siteTitle},{property:"og:title",content:(s=(t=this.post)===null||t===void 0?void 0:t.og_title)!==null&&s!==void 0?s:this.title},{property:"og:description",content:(i=(a=this.post)===null||a===void 0?void 0:a.og_description)!==null&&i!==void 0?i:this.description},{property:"og:url",content:""}]},title(){var s,t;return(s=(t=this.post)===null||t===void 0?void 0:t.name)!==null&&s!==void 0?s:""},description(){var s;return(0,F.A)(((s=this.post)===null||s===void 0?void 0:s.seo_page_description)||this.post&&(0,C.A)(this.post)||"")},blogMeta(){const s={"@context":"http://schema.org/","@type":"WebPage",mainEntity:{"@type":"BlogPosting",name:this.title,image:this.postImage,description:this.post?(0,C.A)(this.post):""}};return{innerHTML:JSON.stringify(s),type:"application/ld+json"}},siteTitle(){return this.getProperty("title")},page(){const s=this.id,t=this.getResourceId(s);return this.getFullPage(s,t)}})};var z=e(14486),J,K,I=(0,z.A)(X,J,K,!1,null,null,null);const b=I.exports}}]);})();