@emailmaker/emailmaker 1.0.20 → 1.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[1795],{13329:(e,t,i)=>{i.d(t,{D3:()=>u,RS:()=>l});var n=i(45934),s=i(92810),o=i(41664),a=i(23397),r=i(23580),c=i(95152);const d=(0,o.Q)();function l(e,t,i){e instanceof c.m||(e=(0,r.My)(e));e.getOrCreateInstance(d,(()=>new a.v)).fire({id:t,payload:i})}const u=(e,t)=>{const i=function(e,t){return(0,r.My)(e).getOrCreateInstance(d,(()=>new a.v)).addEventListener}((0,n.Pj)());(0,s.useEffect)((()=>{const n=i((({id:i,payload:n})=>{i===e&&t(n)}));return()=>n.dispose()}),[i,e,t])}},95152:(e,t,i)=>{i.d(t,{m:()=>a});var n=i(23397),s=i(77509);function o(e){return`service_container_${e}`}class a extends s.j{constructor(e){super(),this._parent=e,this._injections=Object.create(null),this._emitter=this.addDisposable(new n.v)}inject(e,t,i){if("function"===typeof t){let n=this._injections[e],s="function"===typeof n?n():n;const o=this._injections[e]=()=>(s=t(this,s),s);i&&o()}else this._injections[e]=()=>t;this._emitter.fire(e)}_find(e){var t;return this._injections[e]||(null===(t=this._parent)||void 0===t?void 0:t._find(e))}_onInject(e,t,i=new s.j){return i.addDisposable(this._emitter.addEventListener((n=>{e===n&&(i.dispose(),t(this.getInstance(n)))}))),this._parent&&i.addDisposable(this._parent._onInject(e,t,i)),this.addDisposable(i),i}getInstance(e){const t=this._find(e);if("function"===typeof t)return t()}getOrCreateInstance(e,t){const i=this._find(e);if("function"===typeof i)return i();{const i=t(this);return this.inject(e,i),i}}getInstanceAsync(e){const t=this._find(e);return"function"===typeof t?Promise.resolve(t()):new Promise((t=>this._onInject(e,(()=>t(this.getInstance(e))))))}addService(e,t){const i=o(e);this.inject(i,((e,i=[])=>i.indexOf(t)<0?[...i,t]:i));const n=new s.j;return n.addDispose((()=>{this.inject(i,((e,i=[])=>i.filter((e=>e!==t))))})),n}getServices(e){var t;const i=o(e);return[...this.getInstance(i)||[],...(null===(t=this._parent)||void 0===t?void 0:t.getServices(e))||[]]}createChild(){return new a(this)}dispose(){this._injections=Object.create(null)}}},23397:(e,t,i)=>{i.d(t,{v:()=>s});var n=i(77509);class s extends n.j{constructor(e){super(),this._options=e,this._listeners=[],this.fire=e=>{if(!this.isDisposed()){let t;const i=this._listeners;for(const n of i){if(!1===t)return!1;t=t instanceof Promise?t.then((e=>!1!==e&&!this.isDisposed()&&n(e))).catch((e=>console.log(e))):n(e)}return t}},this.addEventListener=e=>{const t=this._listeners;var i;(t.push(e),1===t.length)&&((null===(i=this._options)||void 0===i?void 0:i.onFirstListenerAdd)&&this._options.onFirstListenerAdd());return{dispose:()=>{const i=t.indexOf(e);var n;i>=0&&(t.splice(i),t.length||(null===(n=this._options)||void 0===n?void 0:n.onFirstListenerAdd)&&this._options.onLastListenerRemove())}}},this.event=this.addEventListener}}let o;!function(e){function t(e){let t;const i=new s({onFirstListenerAdd(){t=e(i.fire)},onLastListenerRemove(){t.dispose()}});return i.event}e.snapshot=t,e.filter=function(e,i){return t((t=>e((e=>i(e)&&t(e)))))},e.map=function(e,i){return t((t=>e((e=>t(i(e))))))}}(o||(o={}))},93982:(e,t,i)=>{i.d(t,{Zc:()=>d,_q:()=>l,cZ:()=>r,dB:()=>c,ml:()=>u});var n=i(45934),s=i(41664),o=i(23580),a=i(55654);function r(e){return(0,s.Q)(e)}function c(e,t){return(0,o.My)(e).getOrCreateInstance(t,(()=>new a.lt))}function d(e,t){return(0,o.My)(e).getOrCreateInstance(t,(()=>new a.lt)).event}function l(e){return u(e).event}function u(e){return c((0,n.Pj)(),e)}},32269:(e,t,i)=>{i.d(t,{Cb:()=>W,Cl:()=>m,DI:()=>L,Dx:()=>k,EU:()=>B,HT:()=>X,Hy:()=>$,Id:()=>p,Np:()=>O,Qi:()=>z,Tr:()=>G,X7:()=>F,XZ:()=>x,Yq:()=>v,Z1:()=>H,_9:()=>U,_q:()=>Z,au:()=>T,d_:()=>P,el:()=>E,ez:()=>S,fq:()=>g,gq:()=>D,i0:()=>N,iV:()=>R,jG:()=>d.j,p6:()=>C,sh:()=>V,vl:()=>l.v,wB:()=>A});var n=i(74267),s=i(92810),o=i(85163),a=i(1741),r=i.n(a),c=i(45695),d=i(77509),l=i(23397),u=i(71210),h=i(70082);const p=e=>{Object.keys(o.A9).forEach((t=>{"onboarding_success"!==e.get(o.A9[t])&&e.remove(o.A9[t])}))};function m(e){const t=(0,n.A)(e);return isNaN(t)?new Date(e):t}const v=(e,t,i=!1)=>{Date;const n=new Date,s=e.getDate()===n.getDate()&&e.getMonth()===n.getMonth()&&e.getFullYear()===n.getFullYear();if(i&&s){const i=Math.floor((n-e)/1e3),s=Math.floor(i/60),o=Math.floor(s/60);if(i<60)return t("Just now");if(o>0){const e=s%60;return`${o} ${t("hour","hours",o)} ${e} ${t("minute","minutes",e)}`}return`${s} ${t("minute","minutes",s)}`}{const t=new Intl.DateTimeFormat(navigator.language,{dateStyle:"short"}),i=new Intl.DateTimeFormat(navigator.language,{timeStyle:"short"});return t.format(e)+" "+i.format(e)}},g=e=>{const t=e.match(/(\(copy\))( \d+)?$/),i=null===t||void 0===t?void 0:t[1],n=null===t||void 0===t?void 0:t[2];return i?n?`${e.slice(0,-n.length)} ${+n.slice(1)+1}`:`${e} 2`:`${e} (copy)`};function f(e,t,i){const n=new Map,s=new RegExp(`(${t})(.*?)(${i})`,"gis");return e=e.replaceAll(s,((e,t,i,s)=>{const o=(0,u.l)();return n.set(o,i),t+o+s})),{escapes:n,html:e}}function _(e,t){let i=[];for(const[n,s]of t){const{escapes:t,html:o}=f(e,n,s);e=o,i.push([n,s,t])}return{escapes:i,html:e}}function y(e,t,i,n){const s=new RegExp(`(${t})(.*?)(${i})`,"gis");return e.replaceAll(s,((e,t,i,s)=>{const o=n.get(i);return"string"===typeof o?t+o+s:e}))}const w=/<title>(.*)<\/title>/gm,E=(e,t)=>{let{escapes:i,html:n}=_(e,[["<style.*?>","<\\/style>"],["<script.*?>","<\\/script>"],["<\\!--","--\x3e"]]);return n=n.replaceAll(w,((e,i)=>i===t?`<title>${g(i)}</title>`:e)),function(e,t){for(const[i,n,s]of t)e=y(e,i,n,s);return e}(n,i.reverse())};function S(e){let{html:t}=_(e,[["<style.*?>","<\\/style>"],["<script.*?>","<\\/script>"],["<\\!--","--\x3e"]]);return[...t.matchAll(w)].map((e=>e[1])).find((e=>!!e))}const b="bottomRight",C=(e,t,i=b)=>{var n,s,o;t.error({innerException:e.error instanceof Error?e.error:void 0,message:(0,h.jsx)("div",{dangerouslySetInnerHTML:{__html:(null===(n=e.error)||void 0===n||null===(s=n.data)||void 0===s?void 0:s.code)||e.error.status||e.error}}),description:(0,h.jsx)("div",{dangerouslySetInnerHTML:{__html:(null===(o=e.error.data)||void 0===o?void 0:o.message)||e.error.error}}),placement:i})},A=(e,t,i=b)=>{t.success({message:e,placement:i})},I="ascend",j="descend",M="desc",D=e=>{switch(e){case I:return"asc";case j:return M;default:return""}},O=e=>{switch(e){case"asc":return I;case M:return j;default:return""}},k=e=>{const t=document.createElement("div");return t.className=e||"resizer",t},T=/[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/,L=e=>new Promise(((t,i)=>{let n=new Image;n.src=e,n.addEventListener("load",(()=>{t("success")})),n.addEventListener("error",(()=>{i("error")})),n=null})),B=(e,t)=>{for(const i of t)"object"===typeof e.properties&&(e=e.properties[i]);return e},P=e=>e instanceof Array?e.map((e=>({label:e,value:e}))):Object.keys(e).map((t=>({label:e[t],value:t}))),N=(e,t,i=!0)=>{const n=Object.keys(t);for(const s of n){const n=t[s];void 0!==n&&null!==n&&(e[s]=i&&"object"===typeof n?N(e[s]||{},n,!0):n)}return e},R=e=>new Promise(((t,i)=>{r().load({google:{families:[e]},classes:!1,active:t,inactive:i})})),x=(e,t)=>{t&&e(t)},U=()=>{const e=(0,c.XW)();return(0,s.useCallback)(((t,i)=>{document.querySelectorAll(".block-search__preview").forEach((e=>e.remove()));const n=document.getElementById("iframe-scroll-top"),s=document.getElementById("iframe-scroll-bottom"),a=document.getElementById("email_iframe"),r=document.body.getBoundingClientRect().height,c=a.getClientRects()[0];c.top<0&&(n.style.display="block"),c.top+c.height>r&&(s.style.display="block");const d={operation:o.Ru.SANDBOX_BLOCK_INSERT,settings:{blockHTML:i||null,targetBlock:null,project:"emailmaker"}};t.dataTransfer.setData("Text",JSON.stringify(d)),e(d)}),[e])},z=()=>{const e=(0,c.XW)();return(0,s.useCallback)(((t,i,n)=>{const s=document.getElementById("iframe-scroll-top"),a=document.getElementById("iframe-scroll-bottom"),r=document.getElementById("email_iframe"),c=document.body.getBoundingClientRect().height,d=r.getClientRects()[0];d.top<0&&(s.style.display="block"),d.top+d.height>c&&(a.style.display="block");const l={operation:o.Ru.SANDBOX_ATOM_INSERT,settings:{atomHTML:i.html||null,targetBlock:null}};n(i)&&t.dataTransfer.setData("Text",JSON.stringify(l)),e(l)}),[e])},V=()=>{const e=(0,c.XW)();return(0,s.useCallback)(((t,i)=>{e({operation:o.Ru.SANDBOX_BLOCK_INSERT,action:"insert",settings:{blockHTML:i}})}),[e])},F=()=>{const e=(0,c.XW)();return(0,s.useCallback)(((t,i)=>{e({operation:o.Ru.SANDBOX_ATOM_INSERT,action:"insert",settings:{atomHTML:i}})}),[e])},H=(e,t)=>{t.success({maskClosable:!0,centered:!0,title:e("Coming soon"),content:e("The feature is under development."),okText:e("Ok. I'll be waiting"),onOk:()=>{}})},W=()=>{const e=(0,c.XW)();return(t,i)=>{e({operation:o.Ru.SANDBOX_ELEMENT_SETTINGS_SET,settings:t,type:i})}},Z=(e,t="")=>{var i,n;const s=[];return null===(i=e._embedded)||void 0===i||null===(n=i["wp:term"])||void 0===n||n.filter((e=>{var i;return!!e.length&&(!t||(null===(i=e[0])||void 0===i?void 0:i.taxonomy)===t)})).forEach((e=>{const t=e[0].taxonomy;s[t]||(s[t]=[]),s[t]=e.map((e=>({id:e.id,name:e.name,children:e.children}))),s[s.length]=s[t]})),""!==t&&s.length?s[t]:s},X=(e,t="")=>{var i,n,s,o,a;return(null===(i=e._embedded)||void 0===i||null===(n=i["wp:term"])||void 0===n||null===(s=n.find((e=>{var i;return!!e.length&&(!t||(null===(i=e[0])||void 0===i?void 0:i.taxonomy)===t)})))||void 0===s||null===(o=s.find((e=>{var t;return null===e||void 0===e||null===(t=e.name)||void 0===t?void 0:t.startsWith("project_")})))||void 0===o||null===(a=o.children)||void 0===a?void 0:a.map((e=>({id:e.id,name:e.name,count:e.count}))))||null},$=(e,t)=>{const i=e.target,n=t.getBoundingClientRect().height,s=i.getBoundingClientRect().height-n,o=e.clientY-t.getBoundingClientRect().top-30,a=-s*(Math.min(Math.max(o,0),n-60)/(n-60));i.style.transform=`translateY(${a}px)`},G=({target:e})=>{e.style.transform="translateY(0)"}},20116:(e,t,i)=>{function n(e){return t=>{const i=t.query,n=t.queryFn||((e,t,n,s)=>s(i(e)));n&&(t.query=void 0,t.queryFn=async(t,i,s,o)=>{try{let a=await e(t);return"function"===typeof a&&(a=await a((async(e,t=i,a=s,r=o)=>{const c=await n(e,t,a,r);if(c.error)throw c.error;return c.data}))),{data:a,error:null}}catch(a){return{error:a}}})}}function s(){return n((()=>{}))}function o(e,t){const i={},s=Object.keys(t);for(const o of s)i[o]=n(t[o]);e.enhanceEndpoints({endpoints:i})}function a(e,t){for(const i of Object.keys(t))t[i](e)}i.d(t,{BD:()=>a,BX:()=>o,nM:()=>n,pl:()=>s})},98589:(e,t,i)=>{function n(e,t){if(e===t)return!0;if("object"===typeof e&&e&&"object"===typeof t&&t){const i=Object.keys(e),s=Object.keys(t);if(i.length!==s.length)return!1;for(const o of i)if(!n(e[o],t[o]))return!1;return!0}return!1}function s(e,t){if(!e)return t;const i={};for(const s of Object.keys(t))n(t[s],e[s])||(i[s]=t[s]);return i}i.d(t,{g:()=>s})},91738:(e,t,i)=>{i.d(t,{AU:()=>l});var n=i(90854),s=i(58689),o=i(44824),a=i(85974),r=i(91391);const c=e=>function(e){var t;return function(e){return"___SCRIPT"===e.tagName}(e)&&(null===(t=e.src)||void 0===t?void 0:t.startsWith(r.gP))}(e)||(0,a.Nh)(e)||(0,n.BF)(e),d=e=>{if(c(e))return!0;if((0,n.vq)(e)||(0,n.wz)(e))for(const t of e.querySelectorAll("*"))if(c(t))return!0;return!1};async function l(e,t){"string"===typeof e&&(e={code:e});const i=e.code?await(0,s.PJ)(e.code||"",[s.qy],e.utm_parameters,(async e=>{void 0===t&&(t=d(e)),t&&await(0,o.e)(e,"html")})):"",n=e.code&&t?await(0,s.PJ)(e.code||"",[s.qy],e.utm_parameters,(async e=>{await(0,o.e)(e,"amp")})):"";return{...e,compiled:{html:i,ampHtml:n}}}},91366:(e,t,i)=>{i.d(t,{Qq:()=>v,PL:()=>f,KA:()=>g,wz:()=>_});var n=i(33288),s=i(41664),o=i(15230),a=i(32269),r=i(55654);class c extends r.IO{async execute([e],t){for(const i of t){const t=await i(e);t&&(void 0===t.id&&(t.id=e.value.id),e.value=t)}return e.value}}var d=i(98589);class l extends r.lt{}var u=i(56991);class h extends a.jG{constructor(...e){super(...e),this._items=new Map,this._onChangeEmitter=new r.HN,this.onChange=this._onChangeEmitter.event}async _getOrCreate(e,t){const i=this._items;let n;if(i.has(e))try{n=await i.get(e)}catch{t&&(n=await t())}else t&&(n=await t(),n&&this._onChangeEmitter.fire());return n}async _addOrUpdate(e,t){let i;const n=this._items;if(n.has(e))try{i=await n.get(e)}catch{}const s=await t(i);return(0,u.bD)(i,s)||this._onChangeEmitter.fire(),s}entries(){return Promise.all([...this._items.entries()].map((([e,t])=>t.then((t=>[e,t]))))).then((e=>e.filter((([e,t])=>!!t))))}values(){return Promise.all([...this._items.values()].map((e=>e)).filter((e=>!!e)))}getOrCreate(e,t){let i=this._getOrCreate(e,(()=>t(e)));return this._items.set(e,i),i}addOrUpdate(e,t){let i=this._addOrUpdate(e,t);return this._items.set(e,i),i}add(e,t){const i=Promise.resolve(t);return this._items.set(e,i),i}remove(e){if(this._items.has(e)){const t=this._items.get(e);return this._items.delete(e),this._onChangeEmitter.fire(),t}return Promise.resolve(void 0)}async setAll(e){try{this.suspendChange();const t=[],i=new Set(Array.from(e).map((([e,t])=>e))),n=(await this.entries()).filter((([e,t])=>!i.has(e)));for(const[s,o]of e)t.push(this.addOrUpdate(s,(()=>o))),i.add(s);for(const[e]of n)t.push(this.remove(e));return await Promise.all(t),n}finally{this.resumeChange()}}clear(){this._items.clear(),this._onChangeEmitter.fire()}suspendChange(){this._onChangeEmitter.suspend()}resumeChange(){this._onChangeEmitter.resume()}}var p=i(71210);class m extends a.jG{constructor(...e){super(...e),this._cache=new h,this._readEmitter=new r.lt,this._saveEmitter=this.addDisposable(new c),this._removeEmitter=this.addDisposable(new l),this._foreignCache=Object.create(null),this.handlerRead=this._readEmitter.event,this.onSave=this._saveEmitter.event,this.onRemove=this._removeEmitter.event,this.onChange=this._cache.onChange}async get(e){return this._cache.getOrCreate(e,(async t=>Object.assign({id:e},...(await this._readEmitter.fire(e)).filter((e=>!!e)))))}get cache(){return this._cache}byForeignKey(e){let t=this._foreignCache[e];if(!t){const i=this.addDisposable(new a.jG);i.addDispose((()=>delete this._foreignCache[e]));const n=i.addDisposable(new h),s=i.addDisposable(new r.lt);t=this._foreignCache[e]={get:async(t,i={})=>(await n.getOrCreate(t,(async()=>{try{const i=function(e=[]){if((e=e.filter((e=>e))).length<=1)return e[0];let t=new Map;for(const i of e)for(const e of i)if(void 0!==e.id){let i=t.get(e.id)||{};t.set(e.id,{...i,...e})}return[...t].map((([e,t])=>t))}(await s.fire(t))||[];for(const n of i)n[e]=t,await this._cache.add(n.id,n);return i}catch{return[]}})),function(e,{filter:t,order:i="asc",orderBy:n,page:s,pageSize:o=20}={}){const a=e.length;let r=e.length;if(void 0!==t){const i=Object.keys(t);r=(e=e.filter((e=>{for(const n of i){const i=e[n],s=t[n];return"id"===n||"string"!==typeof i?i===s:"string"===typeof s&&i.startsWith(s)}return!0}))).length}return n&&(e=e.sort(((e,t)=>(e[n]>t[n]?1:t[n]>e[n]?-1:0)*("asc"===i?1:-1)))),void 0!==s&&(e=e.slice(o*(s-1),o*s-1)),{data:e,filteredTotal:r,total:a,totalPages:Math.floor(a/o)}}(await this._cache.values(),i)),first:(e,i={})=>t.get(e,{...i,page:1,pageSize:1}).then((e=>e[0])),handleRead:s.event,clear(){n.clear()},dispose(){i.dispose()}}}return t}async create(e,{source:t="",silent:i}={}){let n=e;return i||(n=await this._saveEmitter.fire({prev:void 0,patch:e,value:n,source:t})),void 0===n.id&&(n.id=(0,p.l)()),await this._cache.addOrUpdate(n.id,(()=>n))}async update(e,t,{source:i="",silent:n}={}){return this._cache.addOrUpdate(e,(async e=>{let s=e?{...e,...t}:t;if(!n)return t=e?(0,d.g)(e,t):t,await this._saveEmitter.fire({prev:e,patch:t,value:s,source:i})}))}async remove(e,{source:t="",silent:i}={}){const n=await this._cache.remove(e);return i||await this._removeEmitter.fire({value:n,source:t}),n}refresh(){this._cache.clear();for(const e of Object.values(this._foreignCache))e.clear()}suspendChange(){this._cache.suspendChange()}resumeChange(){this._cache.resumeChange()}}i(18398);function v(){const e=(0,s.Q)();return t=>n.di.getOrCreateInstance(t,e,(()=>new m))}function g(e){const t=n.di.getInstance(e,o.ax);if(!t)throw new Error("Failed");return t}function f(e){const t=n.di.getInstance(e,o.Lz);if(!t)throw new Error("Failed");return t}function _(e){return g(e).getState().userSlice.currentUser}},13437:(e,t,i)=>{i.d(t,{A:()=>a,i:()=>o});var n=i(71210),s=i(814);function o({code:e,...t},i){var s,o;const a=i.getState();return{...t,...e?{html:e}:{},renderGuid:(0,n.l)(),project:null===(s=a.projectSlice)||void 0===s||null===(o=s.project)||void 0===o?void 0:o.id}}function a({html:e,renderGuid:t,...i},n){const o=n.getState(),{project:a}=o.configSlice;return(0,s.TB)({...i,code:e,project:void 0===a?i.project:a,guid:void 0,link:void 0,status:void 0,slug:void 0,password:void 0,comment_status:void 0,template:void 0,blocktags:void 0,project_title:void 0,ping_status:void 0,lock:void 0,tag:void 0,is_template:void 0})}},91253:(e,t,i)=>{i.d(t,{I:()=>o,y:()=>s});var n=i(814);function s(e,t,i){const n=t.getState();var s,o;void 0===i&&(i=void 0===e.post?null===(s=n.emailSlice)||void 0===s||null===(o=s.email)||void 0===o?void 0:o.id:e.post);return{...e,content:e.content?`<p>${e.content}</p>`:"",post:i}}function o(e,t){return(0,n.TB)({...e,link:void 0,comment_status:void 0})}},81304:(e,t,i)=>{i.d(t,{E:()=>a,I:()=>o});var n=i(71210),s=i(814);function o({code:e,...t},i){var s,o;const a=i.getState();return{...t,...e?{html:e}:{},renderGuid:(0,n.l)(),project:null===(s=a.projectSlice)||void 0===s||null===(o=s.project)||void 0===o?void 0:o.id,utm_parameters:t.utm_parameters||{},_embedded:void 0}}function a({html:e,renderGuid:t,...i},n){const o=n.getState(),{project:a,config:r}=o.configSlice;return(0,s.TB)({...i,code:e,project:void 0===a?i.project:a,utm_parameters:r.UTMEnabled?i.utm_parameters:void 0,tags:void 0,template:void 0,guid:void 0,emailtags:void 0,project_title:void 0,project_author:void 0,is_template:void 0,is_inited:void 0,compiled:(0,s.TB)({html:e,ampHtml:e&&""})})}},4453:(e,t,i)=>{i.d(t,{E:()=>o,_:()=>s});var n=i(814);function s({code:e,...t},i,n){const s=i.getState();var o,a;void 0===n&&(n=void 0===t.parent?null===(o=s.emailSlice)||void 0===o||null===(a=o.email)||void 0===a?void 0:a.id:t.parent);return{...t,...e?{html:e}:{},parent:n}}function o({html:e,...t},i){return(0,n.TB)({...t,code:e,guid:void 0,compiled:(0,n.TB)({html:e,ampHtml:e&&""})})}},23036:(e,t,i)=>{i.d(t,{Xy:()=>a,bg:()=>c,yc:()=>r});var n=i(20116),s=i(55701),o=i(91366);const a=(0,o.Qq)(),r=(0,o.Qq)();function c(e){const t=a(e),i=t.byForeignKey("project"),c=r(e),d=c.byForeignKey("parent"),{dispatch:l,getState:u}=(0,o.KA)(e),h=(0,o.PL)(e);h.addDisposable(t.onChange((()=>l(s.VM.util.invalidateTags(["Blocks"]))))),h.addDisposable(t.onSave((({prev:e,patch:t,value:i})=>{(e=e?{...e,...t}:t)&&i.html===e.html&&i.title===e.title&&(i.renderGuid=e.renderGuid)}),Number.MIN_VALUE)),(0,n.BX)(s.VM,{async getBlocks(e){const t={};e.name&&(t.title=e.name),e.type&&(t.type=e.type);return await i.get(e.projectId,{filter:t,page:e.page,pageSize:e.pageSize,order:e.order,orderBy:e.orderby}).then((({data:e})=>e))},getBlocksSchema:()=>e=>e({}),getParentEmailBlocks:e=>t=>t(e),getTemplateBlocks:e=>t=>t(e),async getBlock(e){const t=u().projectSlice.project.id;return i.first(t,{filter:{id:e}})},getBlockHistory:async({blockId:e,page:t=1})=>({...await d.get(e,{page:t}),args:{blockId:e,page:t}}),addBlock:e=>async i=>{const n=await t.create(e);return u().configSlice.config.preventSendDataToEM||i(n).catch((e=>console.log(e))),n},editBlock:({blockId:e,...i})=>t.update(e,i),deleteBlock:e=>t.remove("object"===typeof e?e.id:e),addTag:e=>e,getDeletableTag:([e,t])=>[],autoSaveBlock:({blockId:e,body:t})=>c.create({...t,parent:e})})}},72788:(e,t,i)=>{i.d(t,{B:()=>c,D:()=>r});var n=i(18777),s=i(91366),o=i(68415),a=i(20116);const r=(0,s.Qq)();function c(e){const t=r(e),i=t.byForeignKey("post"),{dispatch:c}=(0,s.KA)(e);(0,s.PL)(e).addDisposable(t.onChange((()=>c(n.Jg.util.invalidateTags(["Comments"]))))),(0,a.BX)(n.Jg,{getComments:e=>i.get(e).then((({data:e})=>e)),addComment({subjectId:e,author:i,parent:n,content:s,author_name:a,author_email:r,targetId:c}){const d={post:e,author:i,author_name:a,author_email:r,content:s,parent:n,target_id:c,date:(0,o.A)(new Date),author_avatar_urls:{}};return t.create(d)},deleteComment:e=>t.remove(e),editComment:({commentId:e,...i})=>t.update(e,i),deleteTarget:e=>t.update(e,{target_id:""})})}},87265:(e,t,i)=>{i.d(t,{Av:()=>r,jw:()=>c,sE:()=>d});var n=i(17581),s=i(91366),o=i(71210),a=i(20116);const r=(0,s.Qq)(),c=(0,s.Qq)();function d(e){const t=r(e),i=c(e),d=i.byForeignKey("parent"),{dispatch:l}=(0,s.KA)(e),u=(0,s.PL)(e);u.addDisposable(t.onChange((async()=>{l(n.GY.util.invalidateTags(["Email"]))}))),u.addDisposable(i.onChange((()=>{l(n.GY.util.invalidateTags(["EmailAutosaves"]))}))),u.addDisposable(t.onSave((({prev:e,patch:t,value:i})=>{(e=e?{...e,...t}:t)&&i.subject===e.subject&&i.html===e.html&&i.preheader===e.preheader&&i.title===e.title&&(i.renderGuid=e.renderGuid)}),Number.MIN_VALUE)),(0,a.BX)(n.GY,{getEmails:e=>[],getTemplateEmails:e=>t=>t(e),getEmail:async e=>await t.get(e),getEmailHistory:async({emailId:e,page:t=1})=>({...await d.get(e,{page:t}),args:{emailId:e,page:t}}),async addEmail({source:e,...i}){const n=await t.create(i,{source:e});return n.renderGuid||(n.renderGuid=(0,o.l)()),n},editEmail:({emailId:e,source:i,...n})=>t.update(e,n,{source:i}),deleteEmail:e=>t.remove("object"===typeof e?e.id:e),addTag:e=>e,getDeletableTag:([e,t])=>[],autoSaveEmail:async({emailId:e,body:t})=>await i.create({...t,parent:e,modified:(new Date).toString()})})}},43347:(e,t,i)=>{i.d(t,{Ri:()=>u,uS:()=>h});var n=i(15230),s=i(63531),o=i(33288),a=i(55654),r=i(93982),c=i(13522),d=i(20116);const l="tmp",u=o.di.createIdentifier();o.di.createIdentifier();function h(e){const t=o.di.getInstance(e,n.Lz);if(!t)throw new Error("Something was wrong");const i=t.addDisposable(new a.lt);o.di.inject(e,u,i);const h=(0,r.dB)(e,c.A.ON_SEND_TESTEMAIL_ID),p=(0,r.dB)(e,c.A.ON_SEND_LIVEPREVIEW_ID);(0,d.BX)(s.yH,{uploadImage:t=>async s=>{const a=e.getState(),{project:r}=a.configSlice,c=t.folder===l?null:await i.fire({file:t.file,project:r}),d=c?c.find((e=>e)):null;return d?[{file_url:d,project:r}]:s({...t,user_id:String((await o.di.getInstanceAsync(e,n.sZ)).app_id)})},sendTestEmail:t=>async i=>{const s=e.getState(),{project:a}=s.configSlice;(await h.fire({project:a,email_id:t.email_id,subject:t.subject,email:t.email,html:t.html,from_name:t.from_name})).some((e=>!1===e))&&await i({...t,user_id:String((await o.di.getInstanceAsync(e,n.sZ)).app_id)})},async sendLivePreview(t){const i=e.getState(),{project:n}=i.configSlice;(await p.fire({project:n,id:t.email,subject:t.subject,html:t.content})).some((e=>!1===e))},sendShortLink:e=>t=>t(e)})}},14999:(e,t,i)=>{i.d(t,{A:()=>b});var n=i(20116),s=i(53200);var o=i(84612);var a=i(91366),r=i(39990);var c=i(15230),d=i(47036);var l=i(95679);var u=i(62689);var h=i(84568);var p=i(46312);var m=i(65119);var v=i(43347),g=i(83351);var f=i(23036),_=i(72788),y=i(13522),w=i(93982),E=i(94381);var S=i(87265);const b={addUserToProjectApiMock:function(){s.B.enhanceEndpoints({endpoints:{addUserToProject:(0,n.pl)()}})},AiApiMock:function(){(0,n.BX)(o.Zs,{sendMessage:({body:e})=>t=>t({body:e}),getDialog:e=>t=>t(e)})},authorizationApiMock:function(e){let t={id:"0",username:"",email:"",password:"",code_editor:{},theme:"light",locale:(0,a.wz)(e).locale||"ru_RU",counters:{},avatar_urls:{},autosaves:!0};r.Q2.enhanceEndpoints({endpoints:{userRegistration:(0,n.pl)(),getSchema:(0,n.nM)((()=>e=>e({}))),getMe:(0,n.nM)((()=>t)),editMe:(0,n.nM)((e=>t={...t,...e})),getSubscriptions:(0,n.nM)((()=>[]))}})},blocksApiMock:f.bg,commentsApiMock:_.B,emailsApiMock:S.sE,emailRawApiMock:function(){(0,n.BX)(d.f,{getEmailRaw({emailId:e,secret_hash:t}){throw new Error(c.f5)}})},imageApiMock:function(){(0,n.BX)(l.CL,{sendAiImageRequest:function({body:e}){return t=>t({body:e})},getAiImage:e=>t=>t(e)})},localesApiMock:function(e){const t=(0,w.dB)(e,y.A.READ_LOCALE);(0,n.BX)(E.Ad,{async getLocale({id:e}){const i=await t.fire(e);return i.length?i[i.length-1]:t=>t({id:e})},getLocales:()=>async i=>{const n=await(0,a.wz)(e);return t.hasListeners()&&n.locale?[[n.locale,Date.now()]]:i({})}})},notificationsApiMock:function(){(0,n.BX)(u.vx,{getNotifications:e=>[],notificationShown({id:e,datetime:t}){throw new Error(c.f5)}})},projectsApiMock:function(e){let t;(0,n.BX)(h.Nq,{getProjects:(e={page:1})=>[],getProject:e=>i=>t||(t=i(e).then((t=>({...t,id:e})))),addProject(e){throw new Error},editProject:({projectId:e,...i})=>t=t.then((t=>({...t,...i,id:e}))),deleteProject(e){throw new Error}})},proxyApiMock:function(){(0,n.BX)(p.Z8,{getFile({url:e,tryFetch:t=!0,type:i}){throw new Error(c.f5)}})},recoverPasswordApiMock:function(){(0,n.BX)(m.yR,{resetPassword(e){throw new Error(c.f5)},setPassword(e){throw new Error(c.f5)},validateRecoverPasswordCode(e){throw new Error(c.f5)}})},saveFileApiMock:v.uS,tokenApiMock:function(){(0,n.BX)(g.OV,{tokenCreate:e=>t=>t(e),tokenValidate:()=>e=>e({})})}}},62410:(e,t,i)=>{i.d(t,{r:()=>_});var n=i(33288),s=i(14386),o=i(18398),a=i(47358),r=i(86286),c=i(99751),d=i(39990),l=i(15230),u=i(13652);var h=i(39217),p=i(32269),m=i(91366),v=i(93982),g=i(13522),f=i(48802);const _=(0,s.l)((e=>{const t=(0,m.PL)(e),i=(0,f.m)((0,v.Zc)(e,g.A.READ_LOCALE)),s=t.addDisposable(new f.U(i)),_=e.dispatch,y=n.di.getInstanceAsync(e,l.sZ).then((e=>(null===e||void 0===e?void 0:e.app_config)||{}),(e=>(console.log(e),{}))),w=(0,u.y)(),E=async(...t)=>{const i=Object.assign({},...t),{locale:n,theme:s,editor:c,codeModeDirection:l,...u}=i;if(c){const e=function(e){return{font_size:e.fontSize,font_family:e.fontFamily,tab_size:e.tabSize,word_wrap:e.wordWrap,minimap:e.minimap,insert_spaces:e.insertSpaces,indentSize:e.indentSize}}(c);await _((0,r.ww)(e))}if(void 0!==l&&("none"===l?_((0,a.N6)(!1)):(_((0,a.N6)(!0)),_((0,a.Uf)(l)))),"string"===typeof n){const t=(0,m.wz)(e);_(d.Q2.endpoints.editMe.initiate({...t,locale:n}))}"string"===typeof s&&_((0,r.Yl)(s)),_((0,o._R)(u))};let S;return{setOptions:w.decorate((async({config:i={},project:a,user:d,handleReadLocale:l})=>{var u;s.setListener(l);let m=null===(u=(0,c.$)((null===i||void 0===i?void 0:i.mode)||"editor"))||void 0===u?void 0:u.config;if(m={...m,configSwither:i.configSwither||!1},await E(m,await y,i),_((0,o.bn)(String(a))),S&&S.dispose(),S=new p.jG,d){let i={email:"",password:"",...d,id:"number"===typeof d.id?String(d.id):d.id};void 0===d.id&&delete i.id,_((0,r.gV)(i)),d.id&&t.addDisposable(n.di.addService(e,h.jY,{execute(e){e.headers.append("user_id",i.id)}}))}a&&t.addDisposable(n.di.addService(e,h.jY,{execute(e){e.headers.append("project_id",String(a))}}))})),instance:{setConfig:w.decorate((async e=>{var t;let i=null===(t=(0,c.$)((null===e||void 0===e?void 0:e.mode)||"editor"))||void 0===t?void 0:t.config;await E(i,await y,e)})),getConfig:()=>function(e){var t,i;const n=e.getState(),s=n[r.Ay.name],c=n[o.Ay.name],d=n[a.Ay.name];return{...c.config,theme:null===(t=s.currentUser)||void 0===t?void 0:t.theme,locale:null===(i=s.currentUser)||void 0===i?void 0:i.locale,codeModeDirection:d.isCodeMode?d.codeModeDirection:"none",editor:(l=s.monacoOptions,{fontSize:l.font_size,fontFamily:l.font_family,tabSize:l.tab_size,wordWrap:l.word_wrap,minimap:l.minimap,insertSpaces:l.insert_spaces,indentSize:l.indentSize})};var l}(e),updateConfig:w.decorate((e=>E(e))),handleReadLocale:i}}}))},33746:(e,t,i)=>{i.d(t,{F:()=>c});var n=i(44141),s=i(33288),o=i(15230),a=i(14386),r=i(39217);const c=(0,a.l)((e=>{let t=!0;return{setOptions(i){if(i.hasOwnProperty("baseUrl")){const n=s.di.getInstance(e,r.eT),o=n.getOptions(),a=(0,r.qT)(i.baseUrl);o.baseUrl!==a&&(n.setOptions({baseUrl:a}),t=!0)}if(t){const i=s.di.getInstance(e,n.Pz);s.di.inject(e,o.sZ,(async(e,t)=>t||i.app.app_init_create({}).then((({data:e})=>e))),!0),t=!0}}}}))},19209:(e,t,i)=>{i.d(t,{F:()=>h});var n=i(14386),s=i(14315),o=i(33288),a=i(41664),r=i(39217),c=i(13652),d=i(85163);const l=(0,a.Q)(),u=(0,a.Q)(),h=(0,n.l)((e=>({setOptions(t){const i=(0,c.y)(),n=(0,r.mg)(e);o.di.addService(e,r.jY,{execute:i.decorate((async i=>{if(t.jwtAuth){let a=o.di.getInstance(e,l),r=o.di.getInstance(e,u);if(!r&&!a){const i=await n.jwtAuth.token_create({body:t.jwtAuth,type:s.cM.Json});if(i.error)throw r=d.ff,o.di.inject(e,u,d.ff),new Error(d.ff);a=i.data.token,o.di.inject(e,l,a)}r||i.headers.append("authorization",`Bearer ${a}`)}}))})}})))},91514:(e,t,i)=>{i.d(t,{h:()=>d});var n=i(14386),s=i(41664),o=i(33288),a=i(39217),r=i(47271);const c=(0,s.Q)(),d=(0,n.l)((e=>{let t;return o.di.addService(e,a.jY,{execute:async i=>{if(t){const t=await o.di.getInstanceAsync(e,c);t&&i.headers.append("authorization",`Bearer ${t}`)}}}),{setOptions(i){t!==i.getAuthToken&&(t=i.getAuthToken,o.di.inject(e,c,void 0),o.di.inject(e,c,(async(e,i)=>{try{let e=await i;var n;return t?e&&1e3*(null===(n=(0,r.iU)(e))||void 0===n?void 0:n.exp)>function(){const e=new Date;return e.valueOf()-60*e.getTimezoneOffset()*1e3}()?e:await t(e):""}catch(s){return console.log(s),""}}),!0))}}}))},14386:(e,t,i)=>{function n(e){return async function(t){return{setOptions:()=>{},instance:{},dispose:()=>{},...await e(t)||{}}}}function s(e){return async t=>{const i={},n=[];for(const s of e)n.push(await s(t));for(const e of n)Object.assign(i,e.instance);return{instance:i,setOptions:e=>{const t=n.map((t=>t.setOptions(e)));return t.some((e=>e instanceof Promise))?Promise.all(t).then((()=>{})):void 0},dispose:()=>{for(const e of n)e.dispose()}}}}i.d(t,{E:()=>s,l:()=>n})},893:(e,t,i)=>{i.d(t,{m:()=>c});var n=i(17126),s=i(92810),o=i(45934),a=i(18398),r=i(70082);const c=({children:e})=>{const[t,i]=(0,s.useState)(),c=(0,o.d4)(a.p5);return(0,r.jsxs)("div",{className:"App blocks-app blocks-plugin",children:[c&&(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:c}}),(0,r.jsx)(n.fh.Provider,{value:t,children:e}),(0,r.jsx)("div",{ref:i,className:"blocks-modal-container"})]})}},97001:(e,t,i)=>{i.d(t,{P:()=>C});var n=i(32269),s=i(93556),o=i(23580),a=i(71210),r=i(56991),c=i(13329),d=i(28316),l=i(18398),u=i(13437),h=i(81304),p=i(4453),m=i(91253),v=i(33288),g=i(15230),f=i(13652),_=i(13522),y=i(93982),w=i(91738),E=i(17581),S=i(39217);const b="EXTERNAL";class C extends n.jG{constructor(e){super(),this._store=e,this._emailTemplateCache=Object.create(null),this._prevCommand=void 0,this._prevContent=void 0,this._dataSources=void 0,this._eventLock=void 0,this._queue=(0,f.y)(),this._model=void 0,this._currentEmail=void 0,this.show=this._queue.decorate(this._show,this),this.save=this._queue.decorate(this._save,this);const t=(0,o.My)(e);this._dataSources=(0,s.zC)(t),this._eventLock=(0,s.QQ)(t);const i=(0,y.Zc)(e,_.A.ON_MODEL_CHANGE),n=(0,y.Zc)(e,_.A.ON_EMAIL_CHANGED_ID);this.addDisposable(i((e=>{this._model=e}))),this.addDisposable(n((e=>{this._currentEmail=e}))),this.addDisposable(v.di.addService(e,S.jY,{execute:e=>{var t;null!==(t=this._currentEmail)&&void 0!==t&&t.id&&!this._currentEmail.isNew&&e.headers.append("email_id",this._currentEmail.id)}}))}async getProject(){const e=await v.di.getInstanceAsync(this._store,g.sZ);return null===e||void 0===e?void 0:e.project}async getTemplateEmail(e){e=String(e);let t=this._emailTemplateCache[e];if(!t){const i=await this._store.dispatch(E.GY.endpoints.getTemplateEmail.initiate(e));i.error?console.log(i.error):(t={...i.data,lock:!1,parent_email:e},delete t.id)}return t}async getBlocks(){const{cache:e}=this._dataSources.blocks,t=await this.getProject();return(await e.values()).filter((e=>e.project===t)).map((e=>(0,u.A)(e,this._store)))}async getComments(){const{cache:e}=this._dataSources.comments,t=await this.getEmail();return(await e.values()).filter((e=>e.post===t.id)).map((e=>(0,m.I)(e,this._store)))}async getEmailRevisions(){const{cache:e}=this._dataSources.emailRevisions,t=await this.getEmail();return(await e.values()).filter((e=>e.parent===t.id)).map((e=>(0,p.E)(e,this._store)))}async setBlocks(e=[]){const{cache:t}=this._dataSources.blocks;await t.setAll(e.filter((e=>void 0!==e.id)).map((e=>[e.id,(0,u.i)(e,this._store)])))}async setEmailRevisions(e=[],t){const{cache:i}=this._dataSources.emailRevisions,n=e.filter((e=>void 0!==e.id)).map((e=>[e.id,(0,p._)(e,this._store,t)]));await i.setAll(n)}async setComments(e=[],t){const{cache:i}=this._dataSources.comments,n=e.filter((e=>void 0!==e.id)).map((e=>[e.id,(0,m.y)(e,this._store,t)]));await i.setAll(n)}async getEmail(){const e=this._store.getState(),t=e.emailSlice.email.id?e.emailSlice.email:e.newEmailSlice.email,i=(0,h.E)({...t,html:this._model?this._model.getValue():t.html},this._store);return(0,w.AU)(i,t.isAmp)}async compileEmail(){const e=this._store.getState(),t=e.emailSlice.email.id?e.emailSlice.email:e.newEmailSlice.email,i=(0,h.E)({...t,html:this._model?this._model.getValue():t.html},this._store);return(0,w.AU)(i,t.isAmp)}async setEmail(e,t,i=!1){const n=this._dataSources.emails,s=n.cache,o=await this.getProject();e="string"===typeof e?{code:e}:{...e};let r=(0,h.I)(e,this._store);const c=r.id;let d=c;if(void 0!==c?r={...await n.get(c),...r,project:o}:(r={...r,project:o},d=(0,a.l)(),delete r.project),t){const e=await this.getTemplateEmail(String(t));e&&(r={...e,id:String(t),...r})}await s.setAll([[d,r]]),i&&this._runShowCommand({isNew:void 0===c,id:d,project:o})}_runShowCommand(e){const t={...e,type:"email"};this._prevCommand&&!(0,r.bD)(this._prevCommand,e)?(0,c.RS)(this._store,d._1,t):this._store.dispatch((0,l.Ir)(t)),this._prevCommand=e}async _show(e){try{if(this._eventLock.suspendChange(),e!==this._prevContent){this._prevContent=e;const{email:t,blocks:i,autosaves:n,comments:o,templateId:a}=(0,s.Uw)(e),r=[];r.push(this.setBlocks(i)),void 0!==t.id&&(r.push(this.setComments(o)),r.push(this.setEmailRevisions(n))),r.push(this.setEmail(t,Number(a),!0)),await Promise.all(r)}}catch(t){console.log(t)}finally{this._eventLock.resumeChange()}return new Promise((e=>{(0,y.Zc)(this._store,_.A.ON_EMAIL_INIT_ID)((()=>e()))}))}_save(){return new Promise((async e=>{const t=this._dataSources.emails,i=this.addDisposable(t.onSave((({value:t,source:n})=>{n===b&&(i.dispose(),e((0,h.E)(t,this._store)))}),Number.MIN_VALUE));(0,c.RS)(this._store,d.Kp,b)}))}}},44376:(e,t,i)=>{i.d(t,{y:()=>g});var n=i(23580),s=i(93556),o=i(81304),a=i(13437),r=i(91253),c=i(4453),d=i(32269),l=i(48802),u=i(13522),h=i(93982),p=i(18398),m=i(98589),v=i(55654);class g extends d.jG{constructor(e){super(),this._store=e,this._events=void 0,this._listenersUpdaters=void 0}_get(){const e=this._store,t=(0,n.My)(e),{blocks:i,emails:d,comments:g,emailRevisions:f}=(0,s.zC)(t),_=(0,h.Zc)(e,u.A.ON_SAVEBUTTON_CLICK_ID),y=(0,h.Zc)(e,u.A.ON_PREVIOUSBUTTON_CLICK_ID),w=(0,h.Zc)(e,u.A.ON_NEXTBUTTON_CLICK_ID),E=(0,h.Zc)(e,u.A.ON_EMAIL_INIT_ID),S=(0,h.Zc)(e,u.A.ON_EMAIL_CHANGED_ID),b=(0,h.Zc)(e,u.A.ON_CONTENT_CHANGED_ID),C=(0,h.Zc)(e,u.A.ON_SEND_TESTEMAIL_ID),A=(0,h.Zc)(e,u.A.ON_SEND_EMAIL_MODAL_ID),I=(0,h.Zc)(e,u.A.ON_EMAIL_CLONE_ID),j=(0,h.Zc)(e,u.A.ON_SHARE_ID),M=(0,h.Zc)(e,u.A.ON_SHOW_PREVIEW_ID),D=(0,h.Zc)(e,u.A.ON_SEND_LIVEPREVIEW_ID);return{handleReadEmail:(0,l.m)(d.handlerRead,(e=>e),(t=>t&&(0,o.I)(t,e))),handleSaveEmail:(0,l.m)(d.onSave,(function({prev:t,patch:i,value:n,source:s}){const a=t?(0,o.E)(t,e):void 0;return{prev:a,patch:(0,m.g)(a,(0,o.E)(i,e)),value:(0,o.E)(n,e),source:s}}),(t=>t?(0,o.I)(t,e):void 0)),handleRemoveEmail:(0,l.m)(d.onRemove,(({value:t,source:i})=>({value:(0,o.E)(t,e),source:i})),(()=>{})),handleReadBlocks:(0,l.m)(i.byForeignKey("project").handleRead,(t=>(0,p.jY)(e.getState())||String(t)),(t=>null===t||void 0===t?void 0:t.map((t=>(0,a.i)(t,e))))),handleSaveBlock:(0,l.m)(i.onSave,(function({prev:t,patch:i,value:n,source:s}){const o=t?(0,a.A)(t,e):void 0;return{prev:o,patch:(0,m.g)(o,(0,a.A)(i,e)),value:(0,a.A)(n,e),source:s}}),(t=>t?(0,a.i)(t,e):void 0)),handleRemoveBlock:(0,l.m)(i.onRemove,(({value:t,source:i})=>({value:(0,a.A)(t,e),source:i})),(()=>{})),handleReadComments:(0,l.m)(g.byForeignKey("post").handleRead,(e=>e),(t=>null===t||void 0===t?void 0:t.map((t=>(0,r.y)(t,e))))),handleSaveComment:(0,l.m)(g.onSave,(function({prev:t,patch:i,value:n,source:s}){const o=t?(0,r.I)(t,e):void 0;return{prev:o,patch:(0,m.g)(o,(0,r.I)(i,e)),value:(0,r.I)(n,e),source:s}}),(t=>t?(0,r.y)(t,e):void 0)),handleRemoveComment:(0,l.m)(g.onRemove,(({value:t,source:i})=>({value:(0,r.I)(t,e),source:i})),(()=>{})),handleReadEmailRevisions:(0,l.m)(f.byForeignKey("parent").handleRead,(e=>e),(t=>null===t||void 0===t?void 0:t.map((t=>(0,c._)(t,e))))),handleEmailAutosave:(0,l.m)(f.onSave,(function({prev:t,patch:i,value:n,source:s}){return{value:(0,c.E)(n,e),source:s}}),(t=>t?(0,c._)(t,e):void 0)),handleRemoveEmailAutoSave:(0,l.m)(f.onRemove,(({value:t,source:i})=>({value:(0,c.E)(t,e),source:i})),(()=>{})),handleEmailChanged:(0,l.m)((0,v.sg)(S,100),(t=>(0,o.E)(t,e))),handleEmailInit:(0,l.m)(E,(t=>(0,o.E)(t,e))),handlePreviousButtonClick:(0,l.m)(y,(t=>(0,o.E)(t,e))),handleNextButtonClick:(0,l.m)(w,(t=>(0,o.E)(t,e))),handleSaveButtonClick:(0,l.m)(_,(t=>(0,o.E)(t,e))),handleHtmlChanged:(0,l.m)((0,v.sg)(b,100)),handleTestEmailSend:(0,l.m)(C,(({html:e,...t})=>({...t,code:e,compiled:{html:e,ampHtml:""}}))),handleTestEmailModal:(0,l.m)(A,(t=>(0,o.E)(t,e))),handleCloneEmail:(0,l.m)(I,(t=>(0,o.E)(t,e))),handleShareEmail:(0,l.m)(j),handlePreviewEmail:(0,l.m)(M),handleLivePreviewEmail:(0,l.m)(D)}}get(){return this._events||(this._events=this._get())}setOptions(e={}){const t=this.get();let i=this._listenersUpdaters;if(!i){i=this._listenersUpdaters={};for(const e of Object.keys(t))i[e]=this.addDisposable(new l.U(t[e]))}for(const n of Object.keys(t))i[n].setListener(e[n])}}},93556:(e,t,i)=>{i.d(t,{QQ:()=>r,Uw:()=>c,zC:()=>a});var n=i(23036),s=i(72788),o=i(87265);function a(e){return{emails:(0,o.Av)(e),blocks:(0,n.Xy)(e),emailRevisions:(0,o.jw)(e),blocksRevision:(0,n.yc)(e),comments:(0,s.D)(e)}}function r(e){const t=Object.values(a(e));return{suspendChange(){t.forEach((e=>e.suspendChange()))},resumeChange(){t.forEach((e=>e.resumeChange()))}}}function c(e){return"string"===typeof e?{email:{code:e}}:function(e){return!e.hasOwnProperty("email")&&!e.hasOwnProperty("block")&&!e.hasOwnProperty("templateId")}(e)?{email:e}:{...e,email:"string"===typeof e.email?{code:e.email}:e.email||{}}}},8671:(e,t,i)=>{i.d(t,{e:()=>c});var n=i(14386),s=i(33288),o=i(15230),a=i(32269),r=i(48802);const c=(0,n.l)((e=>{const t=s.di.getInstance(e,o.Lz),i=t.addDisposable(new a.vl),n=(0,r.m)(i.event),c=t.addDisposable(new r.U(n));return{setOptions({handleDestroy:e}){c.setListener(e)},instance:{handleDestroy:n,destroy:()=>t.dispose()}}}))},63772:(e,t,i)=>{i.d(t,{Z:()=>c});var n=i(14386),s=i(43347),o=i(33288),a=i(48802),r=i(15230);const c=(0,n.l)((e=>{const t=o.di.getInstance(e,r.Lz),i=o.di.getInstance(e,s.Ri),n=(0,a.m)(i.event),c=t.addDisposable(new a.U(n));return{setOptions(e){c.setListener(e.handleLoadImage)},instance:{handleLoadImage:(0,a.m)(i.event)}}}))},55853:(e,t,i)=>{i.d(t,{E:()=>c});var n=i(14386),s=i(33288),o=i(15230),a=i(55654),r=i(48802);const c=(0,n.l)((e=>{const t=s.di.getInstance(e,o.Lz),i=t.addDisposable(new a.vl),n=s.di.getInstanceAsync(e,o.Cd);n.then((({instance:e})=>i.fire(e)));const c=(0,r.m)(i.event),d=t.addDisposable(new r.U(c));return{setOptions({handleLoad:e}){d.setListener(e)},instance:{handleLoad:c,reset:e=>n.then((({instance:t,setOptions:i})=>Promise.resolve(i(e)).then((()=>t))))},destroy:()=>t.dispose()}}))},1281:(e,t,i)=>{i.d(t,{Z:()=>g});var n=i(14386),s=i(33288),o=i(15230),a=i(48802),r=i(13329),c=i(28316),d=(i(92810),i(814)),l=i(70082);function u(e){return"string"===typeof e?e:e?(0,l.jsx)("div",{ref:t=>null===t||void 0===t?void 0:t.replaceWith(e)}):void 0}function h(e,t="success"){return"string"===typeof e&&(e={message:e}),(0,d.TB)({type:e.type||t,data:e.data,innerException:e.innerException,message:u(e.message),description:u(e.description),btn:u(e.btn),onClose:e.onClose,duration:e.duration,icon:u(e.icon),placement:e.placement,style:e.style,closeIcon:"boolean"===typeof e.closeIcon||"undefined"===typeof e.closeIcon?e.closeIcon:u(e.closeIcon),props:e.props,role:e.role})}var p=i(13522),m=i(55654),v=i(93982);const g=(0,n.l)((e=>{const t=s.di.getInstance(e,o.Lz),i=(0,v.Zc)(e,p.A.ON_NOTIFICATION),n=(0,m.pb)(i,(e=>"error"===e.type)),d=(0,m.pb)(i,(e=>"success"===e.type)),l=(0,a.m)(i,(e=>e),(e=>"string"===typeof e||"object"===typeof e?h(e):e)),u=(0,a.m)(n,(e=>e),(e=>"string"===typeof e||"object"===typeof e?h(e,"error"):e)),g=(0,a.m)(d,(e=>e),(e=>"string"===typeof e||"object"===typeof e?h(e):e)),f=t.addDisposable(new a.U(l)),_=t.addDisposable(new a.U(u)),y=t.addDisposable(new a.U(g));return{setOptions({handleNotify:e,handleSuccess:t,handleError:i}){f.setListener(e),_.setListener(i),y.setListener(t)},instance:{notify(t){(0,r.RS)(e,c.Sb,{placement:"bottomRight",...h(t)})},handleNotify:l,handleError:u,handleSuccess:g}}}))},89949:(e,t,i)=>{i.d(t,{R:()=>a});var n=i(92810),s=i(45934),o=i(39990);const a=({onLoad:e,children:t})=>{(0,n.useEffect)((()=>{e&&e()}),[e]);const i=(0,s.wA)();return(0,n.useMemo)((()=>i(o.Q2.endpoints.getMe.initiate({}))),[i]),t}},55654:(e,t,i)=>{i.d(t,{HN:()=>l,IO:()=>o,P9:()=>a,lt:()=>h,pb:()=>c,sg:()=>d,vl:()=>u});var n=i(32269);class s extends n.jG{constructor(...e){super(...e),this._listeners=[],this.event=this._addListener.bind(this)}getListeners(e){return this._listeners.flatMap((([t])=>"function"===typeof t?t:t.getListeners(e)))}hasListeners(){return this._listeners.length>0}_addListener(e,t=0,i){if(!this.isDisposed()){const n=this._listeners;i&&"function"===typeof e&&(e=e.bind(i));const s=n.findIndex((([e,i])=>t<i)),o=[e,t];return n.splice(s>=0?s:n.length,0,o),{dispose(){const e=n.indexOf(o);e>=0&&n.splice(e,1)}}}}dispose(){this._listeners.splice(0,this._listeners.length),super.dispose()}}class o extends s{constructor(...e){super(...e),this.fire=this._fire.bind(this)}execute(e,t){for(const n of t)try{n(...e)}catch(i){console.log(i)}}_fire(...e){if(!this.isDisposed())return this.execute(e,this.getListeners(e))||void 0}}function a(e,t=0){const i=new s;return i.addDisposable(e(i,t)),i.event}class r extends s{constructor(e){super(),this._filter=e}getListeners(e){return this._filter(...e)?super.getListeners(e):[]}}function c(e,t,i=0){const n=new r(t);return n.addDisposable(e(n,i)),n.event}function d(e,t=0,i=0){const n=new o;let s,a=0;return n.addDisposable(e(((...e)=>{s=e,a||(a=setTimeout((()=>{n.fire(...s),a=0}),t))}),i)),n.event}class l extends o{constructor(...e){super(...e),this._suspendCounter=0,this._wasFired=!1}proccessResult(){}execute([e],t){if(this._suspendCounter)this._wasFired=!0;else for(const n of t)try{n(e)}catch(i){console.log(i)}}suspend(){this._suspendCounter++}resume(){0===--this._suspendCounter&&(this._wasFired&&this.fire(),this._wasFired=!1)}}class u extends o{execute([e],t){for(const n of t)try{n(e)}catch(i){console.log(i)}}}class h extends o{async execute([e],t){const i=[];for(const n of t){const t=await n(e);i.push(t)}return i}}},48802:(e,t,i)=>{i.d(t,{U:()=>o,m:()=>a});var n=i(32269),s=i(55654);class o extends n.jG{constructor(e){super(),this._event=e,this._listener=void 0,this._disposeEvent=void 0}setListener(e){this._listener!==e&&(this._listener=e,this._disposeEvent&&this._disposeEvent(),this._disposeEvent=e?this._event(e):void 0)}dispose(){this._disposeEvent&&this._disposeEvent(),super.dispose()}}function a(e,t,i){const n=(0,s.P9)(e);return(e,s,o)=>{const a=n((async n=>{const s=t?t(n):n;o&&e.bind(o);const a=await e(s);return i?i(a):a}),s,o);return()=>a.dispose()}}},13652:(e,t,i)=>{i.d(t,{y:()=>n});const n=e=>{let t={current:Promise.resolve(),state:e,decorate:(e,i)=>(i&&(e=e.bind(i)),function(...i){const n=t.current.then((()=>e(...i)));return t.current=n.then((e=>{t.state=e}),(e=>{console.log(e)})),n})};return t}},18398:(e,t,i)=>{i.d(t,{Ay:()=>w,EV:()=>y,Ir:()=>m,RP:()=>u,_R:()=>g,bn:()=>f,jY:()=>p,me:()=>_,p5:()=>h,s0:()=>d,zg:()=>l});var n=i(90536),s=i(31770),o=i(99751);const a="configSlice",r=(0,s.ur)((0,o.$)("pro")),c=(0,n.createSlice)({name:a,initialState:r,reducers:{setPage:(e,t)=>{e.page=t.payload},setConfig:(e,t)=>{e.config={...r.config,...t.payload}},changeConfigMode:(e,t)=>{e.config={...e.config,...(0,o.$)(t.payload).config}},setMergeTags:(e,t)=>{e.config.mergeTags=t.payload},updateConfig:(e,t)=>{e.config={...e.config,...t.payload}},setProject:(e,t)=>{e.project=t.payload}},extraReducers:e=>{}}),d=e=>e[a].page,l=e=>e[a].config,u=e=>e[a].config.themes,h=e=>e[a].config.styles,p=e=>e[a].project,{setPage:m,setConfig:v,updateConfig:g,setProject:f,setMergeTags:_,changeConfigMode:y}=c.actions,w=c},47358:(e,t,i)=>{i.d(t,{Ay:()=>N,B:()=>j,Bp:()=>C,CS:()=>k,Ct:()=>O,Fk:()=>v,Fv:()=>L,N6:()=>S,NQ:()=>D,Oo:()=>p,PM:()=>m,Tn:()=>B,Uf:()=>y,V$:()=>P,Wm:()=>M,cL:()=>I,mi:()=>g,qf:()=>h,sy:()=>A,vc:()=>f,vs:()=>_,wW:()=>w,wr:()=>E,yy:()=>T});var n=i(90536),s=i(85163),o=i(31770),a=i(55701);const r=window.localStorage.getItem(s.V0.em_code_mode_settings),c=r&&JSON.parse(r),d=(0,o.ur)({activeModal:"",lastActiveSettingsTab:s.Bv,activeSettingsTab:s.Bv,isPanelHistoryCollapsed:!0,monacoHeight:0,isCodeMode:(null===c||void 0===c?void 0:c.isCodeMode)||s.EW.isPlugin,codeModeDirection:(null===c||void 0===c?void 0:c.codeModeDirection)||"left",emailWidth:"100%",emailViewType:s.Vp,mobileViewActive:{shutdown:!0,styles:!0},emailMaxWidthSize:425,propertiesPanelKey:s.WU,parentBlocks:[]}),l="emailPageSlice",u=(0,n.createSlice)({name:l,initialState:d,reducers:{openModal:(e,t)=>{e.activeModal=t.payload},closeModal:e=>{e.activeModal=""},setActiveSettingsTab:(e,t)=>{e.lastActiveSettingsTab=e.activeSettingsTab,e.activeSettingsTab=t.payload,t.payload!==s.Vv&&(e.isPanelHistoryCollapsed=!0)},resetToLastActiveSettingsTab:e=>{"Properties"===e.lastActiveSettingsTab?e.activeSettingsTab="Build":e.activeSettingsTab=e.lastActiveSettingsTab,e.lastActiveSettingsTab!==s.Vv&&(e.isPanelHistoryCollapsed=!0)},switchIsPanelHistoryCollapsed:(e,t)=>{e.isPanelHistoryCollapsed=t.payload||!e.isPanelHistoryCollapsed},setEmailWidth:(e,{payload:t})=>{e.emailWidth=t,e.emailViewType=t>e.emailMaxWidthSize||"100%"===t?s.Vp:s.ND,window.localStorage.setItem(s.V0.em_default_sizes,JSON.stringify(t))},setEmailMaxWidthSize:(e,{payload:t})=>{e.emailMaxWidthSize=t},setEmailViewType:(e,t)=>{e.emailViewType=t.payload},switchCodeMode:e=>{const t=!e.isCodeMode;e.isCodeMode=t,window.localStorage.setItem(s.V0.em_code_mode_settings,JSON.stringify({codeModeDirection:e.codeModeDirection,isCodeMode:t}))},setCodeMode:(e,t)=>{const i=t.payload;e.isCodeMode!==i&&(e.isCodeMode=i,window.localStorage.setItem(s.V0.em_code_mode_settings,JSON.stringify({codeModeDirection:e.codeModeDirection,isCodeMode:i})))},switchCodeModeDirection:(e,t)=>{e.codeModeDirection=t.payload,window.localStorage.setItem(s.V0.em_code_mode_settings,JSON.stringify({isCodeMode:e.isCodeMode,codeModeDirection:t.payload}))},setMobileViewActive:(e,t)=>{e.mobileViewActive=t.payload},setPropertiesPanelKey:(e,t)=>{e.propertiesPanelKey=t.payload},resetParentBlocks:e=>{e.parentBlocks=[]},setParentBlocks:(e,t)=>{e.parentBlocks=t.payload}},extraReducers:e=>{e.addMatcher(a.VM.endpoints.getParentEmailBlocks.matchFulfilled,((e,t)=>{e.parentBlocks=t.payload}))}}),{openModal:h,closeModal:p,setActiveSettingsTab:m,resetToLastActiveSettingsTab:v,switchIsPanelHistoryCollapsed:g,setEmailWidth:f,switchCodeMode:_,switchCodeModeDirection:y,setMobileViewActive:w,setEmailViewType:E,setCodeMode:S,setEmailMaxWidthSize:b,setPropertiesPanelKey:C,resetParentBlocks:A}=u.actions,I=e=>e[l].activeModal,j=e=>e[l].activeSettingsTab,M=e=>e[l].isPanelHistoryCollapsed,D=e=>e[l].emailWidth,O=e=>e[l].emailViewType,k=e=>e[l].mobileViewActive,T=e=>e[l].codeModeDirection,L=e=>e[l].isCodeMode,B=e=>e[l].propertiesPanelKey,P=e=>e[l].parentBlocks,N=u},86286:(e,t,i)=>{i.d(t,{Ay:()=>E,B:()=>g,B$:()=>w,C1:()=>f,Yl:()=>h,gV:()=>v,hZ:()=>y,ko:()=>p,ku:()=>u,ww:()=>d,yf:()=>_});var n=i(90536),s=i(39990),o=i(85163),a=i(32269);const r=(0,i(31770).ur)({currentUser:{},currentSchema:{},monacoOptions:o.rW,monacoDidMount:!1}),c="userSlice",d=(0,n.createAsyncThunk)("user/setMonacoOptions",(async(e,{getState:t})=>{const i=t()[c],n="string"===typeof e.font_family?`${e.font_family}, sans-serif`:void 0,s=void 0!==e.word_wrap?e.word_wrap?"on":"off":void 0;return n&&i.monacoOptions.fontFamily!==n&&await(0,a.iV)(e.font_family),{tabSize:e.tab_size,fontFamily:n,fontSize:e.font_size,wordWrap:s,insertSpaces:e.insert_spaces,minimap:{enabled:e.minimap}}})),l=(0,n.createSlice)({name:c,initialState:r,reducers:{setMonacoDidMount:(e,{payload:t})=>{e.monacoDidMount=t},setTheme:(e,{payload:t})=>{e.currentUser.theme=t},setUserLocale:(e,{payload:t})=>{e.currentUser.locale=t},setUserAutosaves:(e,{payload:t})=>{e.currentUser.autosaves=t},setUser:(e,{payload:t})=>{e.currentUser={...e.currentUser,...t}}},extraReducers:e=>{e.addCase(d.fulfilled,((e,t)=>{const i=t.payload;e.monacoOptions=(0,a.i0)({...e.monacoOptions},i)})),e.addMatcher(s.Q2.endpoints.editMe.matchFulfilled,((e,t)=>{e.currentUser=t.payload})),e.addMatcher(s.Q2.endpoints.getMe.matchFulfilled,((e,t)=>{e.currentUser=t.payload})),e.addMatcher(s.Q2.endpoints.getSchema.matchFulfilled,((e,t)=>{e.currentSchema=t.payload.schema}))}}),{setMonacoDidMount:u,setTheme:h,setUserLocale:p,setUserAutosaves:m,setUser:v}=l.actions,g=e=>{var t;return null===(t=e[c].currentUser)||void 0===t?void 0:t.locale},f=e=>e[c].currentUser,_=e=>e[c].currentSchema,y=e=>e[c].monacoOptions,w=e=>{var t;return 3891!==(null===(t=e[c].currentUser.subscription)||void 0===t?void 0:t.ID)},E=l},57964:()=>{}}]);
@@ -1 +0,0 @@
1
- (globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[216],{88647:(t,e,n)=>{"use strict";n.d(e,{h:()=>l});var i,a=n(92810);function s(){return s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},s.apply(null,arguments)}function d({title:t,titleId:e,...n},d){return a.createElement("svg",s({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",ref:d,"aria-labelledby":e},n),t?a.createElement("title",{id:e},t):null,i||(i=a.createElement("path",{d:"M6.5 1.143H5.25A4.108 4.108 0 0 0 1.143 5.25V6.5c0 .078.064.143.142.143h1a.143.143 0 0 0 .143-.143V5.25A2.82 2.82 0 0 1 5.25 2.428H6.5a.143.143 0 0 0 .143-.143v-1a.143.143 0 0 0-.143-.142ZM14.857 6.5V5.25a4.108 4.108 0 0 0-4.107-4.107H9.5a.143.143 0 0 0-.143.142v1c0 .079.064.143.143.143h1.25A2.82 2.82 0 0 1 13.57 5.25V6.5c0 .078.065.143.143.143h1a.143.143 0 0 0 .143-.143ZM9.5 14.857h1.25a4.108 4.108 0 0 0 4.107-4.107V9.5a.143.143 0 0 0-.143-.143h-1a.143.143 0 0 0-.143.143v1.25a2.82 2.82 0 0 1-2.821 2.821H9.5a.143.143 0 0 0-.143.143v1c0 .079.064.143.143.143ZM1.143 9.5v1.25a4.108 4.108 0 0 0 4.107 4.107H6.5a.143.143 0 0 0 .143-.143v-1a.143.143 0 0 0-.143-.143H5.25a2.82 2.82 0 0 1-2.822-2.821V9.5a.143.143 0 0 0-.143-.143h-1a.143.143 0 0 0-.142.143Z",fill:"inherit"})))}const l=a.forwardRef(d);n.p},79154:(t,e,n)=>{"use strict";n.d(e,{h:()=>l});var i,a=n(92810);function s(){return s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},s.apply(null,arguments)}function d({title:t,titleId:e,...n},d){return a.createElement("svg",s({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 14 14",ref:d,"aria-labelledby":e},n),t?a.createElement("title",{id:e},t):null,i||(i=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.39 3.12h7.383c.242 0 .438.195.438.437v3.719a.437.437 0 0 1-.438.437H9.547v3.227a.437.437 0 0 1-.438.437H1.727a.437.437 0 0 1-.438-.437V7.22c0-.241.196-.437.438-.437h3.226V3.557c0-.242.196-.438.438-.438Zm.493 7.327h2.734V7.713H5.883v2.734Zm3.664-3.664h2.734V4.05H9.547v2.734Z",fill:"inherit"})))}const l=a.forwardRef(d);n.p},28316:(t,e,n)=>{"use strict";n.d(e,{Kp:()=>i,Sb:()=>s,_1:()=>a});const i="SAVE",a="SHOW",s="NOTIFY"},82212:(t,e,n)=>{"use strict";n.d(e,{Y:()=>w});var i=n(92810),a=n(42108),s=n(23287),d=n(20648),l=n(94381),r=n(45934),o=n(2417),p=n.n(o),c=n(86286),m=n(85163),b=n(18398),_=n(71157),g=n(70082);const h="locale",A="ant_locale",E="em_locale",O="em_ant_locale",u="em_mergeTags_locale",w=({children:t})=>{const[e,o]=(0,i.useState)((()=>(0,a.hU)())),[w,x]=(0,i.useState)(),[I,T]=(0,i.useState)(!0),D=(0,r.d4)(c.B),f=(0,l.h_)(void 0),[L,N]=(0,l.Yj)(),S=(0,r.wA)(),y=(0,_.hN)(),C=(0,i.useRef)();(0,i.useEffect)((()=>{try{let t=JSON.parse(localStorage.getItem(E));t||(t=JSON.parse(localStorage.getItem(h)),t&&(localStorage.removeItem(h),localStorage.setItem(E,JSON.stringify(t)))),o((0,a.hU)(t.data)),C.current=t.id,T(!1)}catch{T(!0)}try{let t=JSON.parse(localStorage.getItem(O));t||(t=JSON.parse(localStorage.getItem(A)),t&&(localStorage.removeItem(A),localStorage.setItem(O,JSON.stringify(t)))),x(t.data)}catch{}if(!m.EW.isPlugin)try{let t=JSON.parse(localStorage.getItem(u));S((0,b.me)(t.data))}catch{}}),[x,T,o,S]),(0,i.useEffect)((()=>{const t=D||!m.EW.isPlugin&&I&&"ru_RU";t&&n(17583)(`./${"uk"===t?"uk_UA":t}.js`).then((t=>{x(t.default),localStorage.setItem(O,JSON.stringify(t.default))}))}),[x,D,I]),(0,i.useEffect)((()=>{if(!m.EW.isPlugin){const t=D||I&&"ru_RU";t&&n(93718)(`./${"uk"===t?"uk_UA":t}.ts`).then((t=>{S((0,b.me)(t.default)),localStorage.setItem(u,JSON.stringify(t.default))}))}}),[D,I,S]);const[v,P]=(0,i.useState)(!1);(0,i.useEffect)((()=>{if(f.isSuccess){if(v){const t=f.data,e=D||!m.EW.isPlugin&&I&&"ru_RU";if(e){const n=t.filter((([t])=>t===e));if(!n.length)return;try{const t=JSON.parse(localStorage.getItem(E));if(n.every((([e,n])=>t.id===e&&n<=t.time)))return}catch{}L({id:e}),P(!1)}}}else f.error?v&&(y.fromError("GET_LOCALES_ERROR",void 0,f.error),P(!1)):f.isLoading&&P(!0)}),[D,f,L,I,y,v,P]);const[M,R]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{if(f.isSuccess)if(M){if(N.isSuccess){var t;const e=D||I&&"ru_RU";if(N.originalArgs.id!==e)return;const n=f.data.filter((([t])=>t===e)),i=N.data,s=null===(t=p()(i,{format:"jed",fuzzy:!0,domain:"default"}))||void 0===t?void 0:t.locale_data.default;try{localStorage.setItem(E,JSON.stringify({id:e,time:n[0][1],data:s}))}catch{}o((0,a.hU)(s)),C.current=e,R(!1)}}else N.isError?M&&(y.fromError("GET_LOCALE_ERROR",void 0,N.error),R(!1)):N.isLoading&&R(!0)}),[N,D,f,I,o,y,M,R]),(0,g.jsx)(s.CY,{i18n:e,children:(0,g.jsx)(d.Ay,{locale:w,children:!I||N.isSuccess?t:(0,g.jsx)(g.Fragment,{})})})}},17126:(t,e,n)=>{"use strict";n.d(e,{LG:()=>d,fh:()=>s,or:()=>a});var i=n(92810);const a=(0,i.createContext)({element:void 0}),s=(0,i.createContext)(void 0),d=()=>(0,i.useContext)(s)},95550:t=>{t.exports=({__:t})=>`<style em="styles">\n @media only screen and (max-device-width:660px),only screen and (max-width:660px) {\n .em-mob-width-100perc {\n width: 100%!important;\n max-width: 100%!important;\n }\n }\n</style>\n<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td style="padding: 10px 0;">\n <table cellpadding="0" cellspacing="0" border="0" width="200" class="em-mob-width-100perc">\n <tr>\n <td align="center" valign="middle" height="41" style="background-color: #1C52DC; border-radius: 5px; height: 41px;">\n <a href="" target="_blank" style="display: block; height: 41px; font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; color: #FFFFFF; font-size: 16px; line-height: 41px; text-decoration: none; white-space: nowrap;">\n ${t("Button")}\n </a>\n </td>\n </tr>\n </table>\n</td></tr></table>`},59817:(t,e,n)=>{"use strict";n.d(e,{A:()=>d});const i=new Date,a=new Date(+i+432e6).toISOString(),s=-(new Date).getTimezoneOffset()/60,d=t=>`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td align="center"><img class="em-countdown" em-cd-settings="locale=${t.replace("_","-")}&bg=FFFFFF&tp=false&color1=000000&color2=959595&size1=72&size2=28&font1=roboto&font2=roboto&border=10&delimiter=:&spacing=10&time=${a}&timezone=${s}" src="${(t=>`https://cdt3.emcdn.ru/timer?locale=${t.replace("_","-")}&bg=FFFFFF&tp=false&color1=000000&color2=959595&size1=72&size2=28&font1=roboto&font2=roboto&border=10&delimiter=:&spacing=10&time=${a}&timezone=${s}`)(t)}" border="0" alt="" style="display: block;" /></td></tr></table>`},44789:t=>{t.exports='<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td height="0" style="padding: 20px 0 0; border-top: 1px solid #EEEEEE;">&nbsp;</td></tr></table>'},50483:t=>{t.exports=({__:t})=>`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td style="padding: 20px 0 10px;">\n <div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: 24px; line-height: 32px; color: #333333;"><strong>${t("Header text")}</strong></div>\n</td></tr></table>`},74436:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});const i=`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td>\n <img src=${n.p+"static/media/empty-image.1827d656.png"} width="150" border="0" alt="" style="display: block; width: 100%; max-width: 150px;" />\n</td></tr></table>`},24358:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});const i=`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td>\n <img class="em-ai-img em-just-inserted" src="${n.p+"static/media/ai-image.7c42c2e1.png"}" width="150" border="0" alt="" style="display: block; width: 100%; max-width: 150px;" />\n</td></tr></table>`},35465:t=>{t.exports=({__:t})=>`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td style="padding-bottom: 10px;">\n <table cellpadding="0" cellspacing="0" border="0" width="100%">\n <tr>\n <td align="left" valign="top" width="10">\n <div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5A5A5A;">1.</div>\n </td>\n <td width="10">&nbsp;</td>\n <td align="left" valign="top">\n <div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5A5A5A;">${t("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.")}</div>\n </td>\n </tr>\n </table>\n</td></tr></table>`},71811:t=>{t.exports=({__:t})=>`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td style="padding-bottom: 10px;">\n <table cellpadding="0" cellspacing="0" border="0" width="100%">\n <tr>\n <td align="left" valign="top" width="10">\n <div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5A5A5A;">&bull;</div>\n </td>\n <td width="10">&nbsp;</td>\n <td align="left" valign="top">\n <div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5A5A5A;">${t("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.")}</div>\n </td>\n </tr>\n </table>\n</td></tr></table>`},16409:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});const i=`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td>\n <table border="0" cellspacing="0" cellpadding="0">\n <tr>${n(81154).A.map((t=>`\n <td width="40" align="center">\n <a href="" target="_blank"><img src="${t}" width="30" border="0" alt="" style="display: block;" /></a>\n </td>`)).join("")}\n </tr>\n </table>\n</td></tr></table>`},77098:t=>{t.exports='<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td height="20"></td></tr></table>'},48304:t=>{t.exports=({__:t})=>`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom">\n <tr>\n <td align="center" valign="top">\n <div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5A5A5A;">${t("Column")} 1</div>\n </td>\n <td align="center" valign="top">\n <div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5A5A5A;">${t("Column")} 2</div>\n </td>\n <td align="center" valign="top">\n <div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5A5A5A;">${t("Column")} 3</div>\n </td>\n </tr>\n</table>`},42797:t=>{t.exports=({__:t})=>`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td style="padding-bottom: 10px;">\n <div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5A5A5A;">${t("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.")}</div>\n</td></tr></table>`},79757:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});const i=`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td>\n <img class="em-video" src="${n.p+"static/media/video.854adea5.png"}" width="150" border="0" alt="" style="display: inline-block; width: 100%; max-width: 150px;" />\n</td></tr></table>`},35880:t=>{t.exports='<tr em="block" class="empty-structure">\n\t<td align="center">\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t<table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>\n\t\t<![endif]--\x3e\n\t\t<table align="center" cellpadding="0" cellspacing="0" border="0" width="100%" style="max-width: 660px;">\n\t\t\t<tr>\n\t\t\t\t<td align="center">\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="30" ></td></tr></table>\n\t\t\t\t\t<table align="center" cellpadding="0" cellspacing="0" border="0" width="91%">\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t</table>\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="30" ></td></tr></table>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</table>\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t</td></tr></table>\n\t\t<![endif]--\x3e\n\t</td>\n</tr>\n'},573:t=>{t.exports='<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\n<html>\n<head>\n <meta http-equiv="Content-Type" content="text/html; charset=utf-8">\n <meta name="viewport" content="width=device-width, initial-scale=1">\n <title></title>\n <style type="text/css">\n html {\n -webkit-text-size-adjust: none;\n -ms-text-size-adjust: none;\n }\n </style>\n <style em="styles">\n@media only screen and (max-device-width:660px),only screen and (max-width:660px) {\n .em-narrow-table {\n width: 100%!important;\n max-width: 660px!important;\n min-width: 320px!important;\n }\n}\n</style>\n</head>\n<body style="margin: 0; padding: 0;">\n <span class="preheader" style="display: none !important; visibility: hidden; opacity: 0; color: #F8F8F8; height: 0; width: 0; font-size: 1px;">&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;</span>\n \x3c!--[if !mso]>\x3c!--\x3e\n <div style="font-size:0px;color:transparent;opacity:0;">\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800</div>\n \x3c!--<![endif]--\x3e\n <table cellpadding="0" cellspacing="0" border="0" width="100%" style="font-size: 1px; line-height: normal;">\n <tr em="group">\n <td align="center" bgcolor="#F8F8F8">\n \x3c!--[if (gte mso 9)|(IE)]>\n <table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>\n <![endif]--\x3e\n <table cellpadding="0" cellspacing="0" width="100%" border="0" style="max-width: 660px; min-width: 660px; width: 660px;" class="em-narrow-table"></table>\n \x3c!--[if (gte mso 9)|(IE)]>\n </td></tr></table>\n <![endif]--\x3e\n </td>\n </tr>\n </table>\n</body>\n</html>'},13522:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(93982);let a;var s;(s=a||(a={})).BEFORE_SAVE_EMAIL=(0,i.cZ)(),s.ON_SAVEBUTTON_CLICK_ID=(0,i.cZ)(),s.ON_NEXTBUTTON_CLICK_ID=(0,i.cZ)(),s.ON_PREVIOUSBUTTON_CLICK_ID=(0,i.cZ)(),s.ON_MODEL_CHANGE=(0,i.cZ)(),s.WILL_EMAIL_INIT_ID=(0,i.cZ)(),s.ON_EMAIL_INIT_ID=(0,i.cZ)(),s.ON_BLOCK_INIT_ID=(0,i.cZ)(),s.ON_CONTENT_CHANGED_ID=(0,i.cZ)(),s.ON_EMAIL_CHANGED_ID=(0,i.cZ)(),s.ON_BLOCK_CHANGED_ID=(0,i.cZ)(),s.ON_SEND_TESTEMAIL_ID=(0,i.cZ)(),s.ON_SEND_LIVEPREVIEW_ID=(0,i.cZ)(),s.ON_SHARE_ID=(0,i.cZ)(),s.ON_SHOW_PREVIEW_ID=(0,i.cZ)(),s.ON_EMAIL_CLONE_ID=(0,i.cZ)(),s.ON_SEND_EMAIL_MODAL_ID=(0,i.cZ)(),s.ON_NOTIFICATION=(0,i.cZ)(),s.READ_LOCALE=(0,i.cZ)()},85163:(t,e,n)=>{"use strict";n.d(e,{A9:()=>l,BD:()=>ot,Bv:()=>v,CJ:()=>c,EW:()=>d,F3:()=>h,F5:()=>a,G$:()=>z,IE:()=>Q,IJ:()=>_,JE:()=>Z,Jy:()=>U,KI:()=>tt,N7:()=>k,ND:()=>st,QV:()=>pt,Qz:()=>X,Ru:()=>u,St:()=>F,T:()=>m,Tm:()=>Y,UW:()=>o,Ug:()=>rt,V0:()=>r,VG:()=>A,Vp:()=>at,Vv:()=>L,WU:()=>S,Y$:()=>J,YY:()=>lt,aO:()=>W,bV:()=>x,e3:()=>mt,eA:()=>j,eG:()=>$,ff:()=>s,gY:()=>V,hc:()=>M,iU:()=>nt,iV:()=>G,iW:()=>y,jg:()=>ct,lx:()=>E,m3:()=>K,mX:()=>T,nA:()=>B,nd:()=>b,p5:()=>et,pe:()=>R,rW:()=>w,rY:()=>P,rb:()=>N,rl:()=>q,vd:()=>g,wF:()=>it,xz:()=>I,y2:()=>p,yI:()=>f,yo:()=>H,yy:()=>D,zh:()=>dt,zx:()=>C});var i=n(19378);const a="LOADING",s="ERROR",d={isPlugin:!1},l={em_token:"em_token",em_elements_view:"em_elements_view",em_new_block:"em_new_block",em_new_email:"em_new_email",em_id:"em_id",em_name:"em_name",em_email:"em_email",em_locale:"em_locale",em_carrotquest_hash:"em_carrotquest_hash",em_ducalis_hash:"em_ducalis_hash",em_email_subscription_consent:"em_email_subscription_consent",em_folder:"em_folder",promocode:"promocode"},r={em_color_scheme:"em_color_scheme",em_code_mode_pane_sizes:"em_code_mode_pane_sizes",em_preview_pane_sizes:"em_preview_pane_sizes",em_default_sizes:"em_default_sizes",em_pane_sizes:"em_pane_sizes",em_test_emails:"em_test_emails",em_menu_is_locked:"em_menu_is_locked",em_code_mode_settings:"em_code_mode_settings",em_folder_is_open:"em_folder_is_open"},o="deleted",p="all",c="not all",m="light",b="dark",_="system",g="(prefers-color-scheme: light)",h="(prefers-color-scheme: dark)",A="#1890ff",E={ADD_NEW_PROJECT_MODAL:"ADD_NEW_PROJECT_MODAL",EDIT_PROJECT_MODAL:"EDIT_PROJECT_MODAL",BLOCKS_MODAL:"BLOCKS_MODAL",EDIT_PROFILE_MODAL:"EDIT_PROFILE_MODAL",SEND_TEST_EMAIL:"SEND_TEST_EMAIL",ADD_NEW_EBLOCK_MODAL:"ADD_NEW_EBLOCK_MODAL",ADD_NEW_EMAIL_MODAL:"ADD_NEW_EMAIL_MODAL",SWITCH_TO_PLAN_MODAL:"SWITCH_TO_PLAN_MODAL",IMAGE_EDITOR_MODAL:"IMAGE_EDITOR_MODAL",ADD_NEW_FOLDER_MODAL:"ADD_NEW_FOLDER_MODAL",EDIT_FOLDER_NAME_MODAL:"EDIT_FOLDER_NAME_MODAL",UPLOAD_IMAGE_MODAL:"UPLOAD_IMAGE_MODAL",UPLOAD_BACKGROUND_MODAL:"UPLOAD_BACKGROUND_MODAL",UPLOAD_IMAGE_MODAL_AI:"UPLOAD_IMAGE_MODAL_AI",UPLOAD_BACKGROUND_MODAL_AI:"UPLOAD_BACKGROUND_MODAL_AI",UPLOAD_IMAGE_MODAL_STOCK:"UPLOAD_IMAGE_MODAL_STOCK",UPLOAD_BACKGROUND_MODAL_STOCK:"UPLOAD_BACKGROUND_MODAL_STOCK",UPLOAD_IMAGE_MODAL_GIF:"UPLOAD_IMAGE_MODAL_GIF",UPLOAD_BACKGROUND_MODAL_GIF:"UPLOAD_BACKGROUND_MODAL_GIF",UPLOAD_IMAGE_MODAL_EDIT:"UPLOAD_IMAGE_MODAL_EDIT",UPLOAD_BACKGROUND_MODAL_EDIT:"UPLOAD_BACKGROUND_MODAL_EDIT",UPLOAD_IMAGE_MODAL_UPLOAD:"UPLOAD_IMAGE_MODAL_UPLOAD",UPLOAD_BACKGROUND_MODAL_UPLOAD:"UPLOAD_BACKGROUND_MODAL_UPLOAD"};let O;!function(t){t[t.Amp=0]="Amp",t[t.HTML=1]="HTML",t[t.Everywhere=2]="Everywhere"}(O||(O={}));const u={MESSAGE:"message",UPDATE_PREVIEW:"update_preview",UPDATE_EDITOR:"update_editor",UPDATE_EDITOR_POSITION:"update_editor_position",UPDATE_SIDE_MENU_EDITOR:"update_side_menu_editor",SAVE_EMAIL:"saveEmail",SANDBOX_ELEMENT_SETTINGS_SET:"sandbox_element_settings_set",SANDBOX_EMAIL_SETTINGS_SET:"sandbox_email_settings_set",SANDBOX_BLOCK_SETTINGS_SET:"sandbox_block_settings_set",SANDBOX_ELEMENT_PARENT_GET:"sandbox_element_parent_get",SANDBOX_ELEMENT_PARENT_TABLE_GET:"sandbox_element_parent_table_get",SANDBOX_ELEMENT_PREV_GET:"sandbox_element_prev_get",SANDBOX_ELEMENT_NEXT_GET:"sandbox_element_next_get",SANDBOX_ELEMENT_REMOVE:"sandbox_element_remove",SANDBOX_ELEMENT_ACTIVE_RESET:"sandbox_element_active_reset",SANDBOX_ELEMENT_ACTIVE_SET:"sandbox_element_active_set",SANDBOX_ELEMENT_HOVER_SET:"sandbox_element_hover_set",SANDBOX_ELEMENT_IMG_LINK:"sandbox_element_img_link",SANDBOX_ELEMENT_TEXT:"sandbox_element_text",SANDBOX_EMAIL_CONTENT_GET:"sandbox_email_content_get",SANDBOX_SET_POSITION_TO_IMG:"sandbox_set_position_to_img",SANDBOX_SET_POSITION_TO_LINK:"sandbox_set_position_to_link",APPLICATION_FOCUS_IN_IFRAME:"application_focus_in_iframe",APPLICATION_EMAIL_SETTINGS_SET:"application_email_settings_set",APPLICATION_BLOCK_SETTINGS_SET:"application_block_settings_set",APPLICATION_ELEMENT_SETTINGS_SET:"application_element_settings_set",APPLICATION_ELEMENT_SETTINGS_CLOSE:"application_element_settings_close",APPLICATION_ACTION:"application_action",APPLICATION_EBLOCK_ADD:"application_eblock_add",APPLICATION_SCROLL_TO:"application_scroll-to",APPLICATION_SCROLL_BLOCK_SHOW:"application_scroll-block-show",APPLICATION_SCROLL_BLOCK_HIDE:"application_scroll-block-hide",APPLICATION_DISCUSS_SET_ID:"application_discuss_set_id",APPLICATION_DISCUSS_GET_COMMENT:"application_discuss_get_comment",APPLICATION_DISCUSS_NO_COMMENT:"application_discuss_no_comment",APPLICATION_DISCUSS_SAVE_TARGET:"application_discuss_save_target",APPLICATION_IFRAME_SET_HEIGHT:"application_iframe_set_height",APPLICATION_COMMON_STYLES_UPDATE:"application_commonStyles_update",APPLICATION_EMAIL_CONTENT_GET:"application_email_content_get",APPLICATION_OPEN_IMAGE_AI_POPUP:"application_open-image-ai-popup",APPLICATION_OPEN_IMAGE_UPLOAD_POPUP:"application_open-image-upload-popup",APPLICATION_OPEN_IMAGE_EDIT_POPUP:"application_open-image-edit-popup",APPLICATION_OPEN_IMAGE_GIF_POPUP:"application_open-image-gif-popup",APPLICATION_OPEN_IMAGE_STOCK_POPUP:"application_open-image-stock-popup",APPLICATION_CLOSE_IMAGE_EDIT_POPUP:"application_close-image-edit-popup",APPLICATION_SUBJECT_UPDATE:(0,i.Qm)("application_subject_update"),APPLICATION_PREHEADER_UPDATE:(0,i.Qm)("application_preheader_update"),APPLICATION_DOMPARSER_ERROR:(0,i.Qm)("application_domparser_error"),APPLICATION_UPDATE_ENTITY:(0,i.Qm)("application_update_entity"),APPLICATION_IFRAME_DRAG_EVENT:(0,i.Qm)("application_iframe_drag_event"),APPLICATION_HAS_AMP:(0,i.Qm)("application_has_amp"),SANDBOX_WINDOW_CHARACTERISTIC:"sandbox_window-characteristic",SANDBOX_IFRAME_SETSIZE:"sandbox_iframe-setsize",SANDBOX_BLOCK_INSERT:"sandbox_block-insert",SANDBOX_ATOM_INSERT:"sandbox_atom-insert",SANDBOX_DRAG_CANCEL:"sandbox_drag-cancel",UPDATE_EDITOR_POSITION_FROM_EDITOR:"update_position_from_editor",UPDATE_EDITOR_POSITION_FROM_IFRAME:"update_position_from_iframe",SANDBOX_CHANGE_PREVIEW:"sandbox_change_preview",APPLICATION_CHANGE_PREVIEW:"application_change_preview",SANDBOX_LOCK_EDIT:"sandbox_lock_edit",SANDBOX_FLOATBLOCK_ADD:"sandbox_floatBlock_add",SANDBOX_FLOATBLOCK_REMOVE:"sandbox_floatBlock_remove",EDITOR_CHANGE_FOCUS:"editor_change_focus",SANDBOX_RESIZED:"sandbox_resized",SANDBOX_LOCK_DISCUSS:"sandbox_lock_discuss",SANDBOX_DISCUSS_SET_TARGET:"sandbox_discuss_set_target",SANDBOX_DISCUSS_REMOVE_TARGET:"sandbox_discuss_remove_target",SANDBOX_DISCUSS_RESET:"sandbox_discuss_reset",SANDBOX_DISCUSS_GET_TARGET:"sandbox_discuss_get_target",SANDBOX_READY:(0,i.Qm)("SANDBOX_READY"),SANDBOX_FLOATBLOCK_WRAP:"sandbox_floatblock_wrap",SANDBOX_SUBJECT_UPDATE:(0,i.Qm)("sandbox_subject_update"),SANDBOX_PREHEADER_UPDATE:(0,i.Qm)("sandbox_preheader_update"),SANDBOX_DRAG_EVENT:(0,i.Qm)("sandbox_drag_event"),SANDBOX_ADD_MERGETAG:(0,i.Qm)("sandbox_add_mergetag"),SANDBOX_TRANSLATIONS:(0,i.Qm)("sandbox_send_translations"),SANDBOX_SET_THEME_VARIABLES:(0,i.Qm)("sandbox_send_theme_variables"),SANDBOX_SET_ENTITY:(0,i.Qm)("sandbox_set_entity"),SANDBOX_INIT_START:(0,i.Qm)("sandbox_init_start"),SANDBOX_INITED:(0,i.Qm)("sandbox_inited"),SANDBOX_UPDATE_ENTITY:(0,i.Qm)("sandbox_update_entity"),RELOAD:(0,i.Qm)("reload")},w={language:"html",detectIndentation:!1,wordWrap:"on",wrappingIndent:"same",smoothScrolling:"on",automaticLayout:!0,tabSize:2,indentSize:2};let x;!function(t){t.IMG="img",t.TEXT="text",t.LINK="a",t.TABLE="table",t.VINDENT="vindent",t.TD="td",t.STRUCTURE="structure",t.GROUP="group",t.BUTTON="button",t.DIV="div",t.FLOAT_BLOCK="floatBlock",t.VAR="var",t.EMPTY_TABLE="emptyTable",t.EMPTY_TD="emptyTd",t.COUNTDOWN="countdown",t.VIDEO="video",t.COLUMN="column"}(x||(x={}));const I="Appearance",T="Structure",D="Settings",f="Properties",L="History",N="Disabled_tab",S="Edit selected element",y="UTM parameters",C="Edit",v="Build",P="Styles",M="Discuss",R="TEXT_AI",B="Blocks",U="Atoms",k="Optimise",G={top:{width:null,style:null,color:null},right:{width:null,style:null,color:null},bottom:{width:null,style:null,color:null},left:{width:null,style:null,color:null}},H="Owner",F="Administrator",K="User",z="The invitation has been sent",V="Assign the project owner",X="Change role to Administrator",W="Change role to User",j="Remove member",Z="Revoke the invite",Q="block",Y="email",J="cards",q="list",$="pending",tt="d41d8",et=1865,nt=127017,it={borderRadiusAll:"all",borderRadiusTopLeft:"topLeft",borderRadiusBottomLeft:"bottomLeft",borderRadiusTopRight:"topRight",borderRadiusBottomRight:"bottomRight"},at="desktop",st="mobile",dt="emailtags",lt="blocktags",rt="all_folders",ot={text:{fontFamily:["Safe Fonts","-apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif"],fontSize:16,fontSizeDim:"px",lineHeight:21,lineHeightDim:"px",color:"#5a5a5a",textAlign:"left",paddingBottom:10,paddingBottomDim:"px"},headings:{fontFamily:["Safe Fonts","-apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif"],fontSize:24,fontSizeDim:"px",lineHeight:32,lineHeightDim:"px",color:"#333333",textAlign:"left",paddingTop:20,paddingTopDim:"px",paddingBottom:10,paddingBottomDim:"px",letterSpacing:0,letterSpacingDim:"px",bold:!0,italic:!1},links:{color:"#1C52DC",underline:!0},buttons:{fontFamily:["Safe Fonts","-apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif"],fontSize:16,fontSizeDim:"px",letterSpacing:0,letterSpacingDim:"px",color:"#FFFFFF",bold:!1,italic:!1,backgroundColor:"#1C52DC",marginTop:10,marginTopDim:"px",marginBottom:10,marginBottomDim:"px",border:{all:null,top:null,right:null,bottom:null,left:null},borderRadius:{all:5,topLeft:null,topRight:null,bottomRight:null,bottomLeft:null},textAlign:"center",padding:{all:null,top:null,right:null,bottom:null,left:null}},block:{backgroundColor:""}},pt=t=>({REORDER_ATOM:t("Reorder element"),CLONE_ATOM:t("Clone element"),REMOVE_ATOM:t("Remove element"),EDIT_ATOM:t("Edit element"),CHANGE_IMAGE:t("Change image"),REORDER_BLOCK:t("Reorder block"),REORDER_BLOCK_UP:t("Move up"),REORDER_BLOCK_DOWN:t("Move down"),EDIT_BLOCK:t("Edit block"),CLONE_BLOCK:t("Clone block"),MERGE_BLOCK:t("Merge with the chosen block"),UNMERGE_BLOCK:t("Split blocks"),COPY_BLOCK_TO_CLIPBOARD:t("Copy block to clipboard"),PASTE_BLOCK_FROM_CLIPBOARD:t("Paste block from clipboard"),REMOVE_BLOCK:t("Remove block"),SAVE_TO_BLOCKS:t("Save to Blocks"),ADD_BLOCK:t("Add block"),ADD_EMPTY_BLOCK:t("Add an empty block"),ADD_SAVED_BLOCK:t("Add a saved block"),ADD_COMMON_BLOCK:t("Add a common block"),ADD_TEMPLATE_BLOCK:t("Add a template block"),ADD_SEARCH_BLOCK:t("Search a block"),REORDER_GROUP:t("Reorder group"),EDIT_GROUP:t("Edit group"),CLONE_GROUP:t("Clone group"),REMOVE_GROUP:t("Remove group"),ADD_GROUP:t("Add group"),LINK:t("link"),TABLE_COLUMN:t("cell"),TABLE:t("table"),FLOAT_BLOCK:t("column"),CONTAINER:t("container"),PICTURE:t("picture"),VERTICAL_INDENT:t("indent"),TEXT:t("text"),BUTTON:t("button"),VAR:t("variable"),STRUCTURE:t("block"),EMAIL:t("email"),GROUP:t("group"),TYPOGRAF:t("Typograf"),COUNTDOWN:t("countdown"),ELEMENT:t("element"),VIDEO:t("video"),ELEMENT_PATH_LINK:t("Link"),ELEMENT_PATH_BLOCK:t("Block"),ELEMENT_PATH_ATOM:t("Element"),ELEMENT_PATH_TD:t("Cell"),ELEMENT_PATH_TABLE:t("Table"),ELEMENT_PATH_FLOATBLOCK:t("Column"),ELEMENT_PATH_TEXT:t("Text"),ELEMENT_PATH_DIV:t("Container"),ELEMENT_PATH_GROUP:t("Group"),ELEMENT_PATH_EMAIL:t("Email"),ELEMENT_PATH_IMG:t("Picture"),ELEMENT_PATH_VINDENT:t("Indent"),ELEMENT_PATH_BUTTON:t("Button"),TINYMCE_CHANGECASE:t("Case Change"),TINYMCE_UPPERCASE:t("Uppercase"),TINYMCE_LOWERCASE:t("Lowercase"),PASTE_HERE:t("Drop here")}),ct={Applications:"Apps",Articles:"Article",Banners:"Banners",Buttons:"Buttons","Call to Action":"Call to Action",Contacts:"Contacts",Content:"Content","E-Commerce":"E-Commerce",Feature:"Features",Footer:"Footers",Header:"Headers",Lists:"Lists",Menu:"Menus",Other:"Others",Polls:"Polls",Promocodes:"Promocodes",Separators:"Separators"},mt={maker:"https://ai-mail.emcdn.ru",blocks:"https://ai-mail.useblocks.io"}},28073:(t,e,n)=>{"use strict";function i(t,e){return{[t]:{Filter:e("Filter"),filter:e("filter"),Resize:e("Resize"),resize:e("resize"),Crop:e("Crop"),Width:e("Width"),width:e("width"),Height:e("Height"),height:e("height"),"Background color":e("Background color"),Cancel:e("Cancel"),Create:e("Create"),Objects:e("Objects"),Quality:e("Quality"),Save:e("Save"),"Loading Canvas":e("Loading Canvas"),"Loading Image":e("Loading Image"),"Loading State":e("Loading State"),"Processing Image":e("Processing Image"),Close:e("Close"),Apply:e("Apply"),Font:e("Font"),Color:e("Color"),Background:e("Background"),Image:e("Image"),Opacity:e("Opacity"),Outline:e("Outline"),Shadow:e("Shadow"),Gradient:e("Gradient"),Texture:e("Texture"),"Replace Image":e("Replace Image"),"Outline Color":e("Outline Color"),"Shadow Color":e("Shadow Color"),"Font Size":e("Font Size"),Radius:e("Radius"),"Brush Color":e("Brush Color"),"Brush Type":e("Brush Type"),"Brush Size":e("Brush Size"),History:e("History"),"Maintain aspect ratio":e("Maintain aspect ratio"),"New Text":e("New Text"),Size:e("Size"),Draw:e("Draw"),Text:e("Text"),Stickers:e("Stickers"),Frame:e("Frame"),Shapes:e("Shapes"),Corners:e("Corners"),corners:e("corners"),Done:e("Done"),"Applied Filters":e("Applied Filters"),"Resized Image":e("Resized Image"),"Cropped Image":e("Cropped Image"),"Added Drawing":e("Added Drawing"),"Added Text":e("Added Text"),"Added Shape":e("Added Shape"),"Added Sticker":e("Added Sticker"),"Added Frame":e("Added Frame"),"Merged Objects":e("Merged Objects"),"Rounded Corner":e("Rounded Corner"),"Replaced Background Image":e("Replaced Background Image"),"Added Image":e("Added Image"),Initial:e("Initial"),"Loaded State":e("Loaded State"),"Changed Style":e("Changed Style"),"Deleted object":e("Deleted object"),Merge:e("Merge"),Emoticons:e("Emoticons"),Doodles:e("Doodles"),Landmarks:e("Landmarks"),Bubbles:e("Bubbles"),Transportation:e("Transportation"),Beach:e("Beach"),PencilBrush:e("PencilBrush"),SprayBrush:e("SprayBrush"),CircleBrush:e("CircleBrush"),DiamondBrush:e("DiamondBrush"),VLineBrush:e("VLineBrush"),HLineBrush:e("HLineBrush"),SquareBrush:e("SquareBrush"),Square:e("Square"),square:e("square")}}}n.d(e,{g:()=>i})},69029:t=>{t.exports='<style em="styles">\n @media only screen and (max-device-width:660px),only screen and (max-width:660px) {\n .em-mob-width-100perc {\n width: 100%!important;\n max-width: 100%!important;\n }\n\n .em-mob-wrap {\n display: block!important;\n }\n\n .em-mob-padding_right-20 {\n padding-right: 20px!important;\n }\n \n .em-mob-padding_left-20 {\n padding-left: 20px!important;\n }\n }\n</style>\n<tr em="block" class="em-structure">\n <td align="center" style="padding: 30px 40px;" class="em-mob-padding_left-20 em-mob-padding_right-20">\n <table border="0" cellspacing="0" cellpadding="0" class="em-mob-width-100perc">\n <tr>\n <td width="580" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n </tr>\n </table>\n </td>\n</tr>'},41579:t=>{t.exports='<style em="styles">\n @media only screen and (max-device-width:660px),only screen and (max-width:660px) {\n .em-mob-width-100perc {\n width: 100%!important;\n max-width: 100%!important;\n }\n\n .em-mob-wrap {\n display: block!important;\n }\n\n .em-mob-padding_right-20 {\n padding-right: 20px!important;\n }\n \n .em-mob-padding_left-20 {\n padding-left: 20px!important;\n }\n\n .em-mob-height-20px {\n height: 20px!important;\n }\n }\n</style>\n<tr em="block" class="em-structure">\n <td align="center" style="padding: 30px 40px;" class="em-mob-padding_left-20 em-mob-padding_right-20">\n <table border="0" cellspacing="0" cellpadding="0" class="em-mob-width-100perc">\n <tr>\n <td width="180" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n <td width="20" class="em-mob-wrap em-mob-height-20px"></td>\n <td width="380" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n </tr>\n </table>\n </td>\n</tr>'},8456:t=>{t.exports='<style em="styles">\n @media only screen and (max-device-width:660px),only screen and (max-width:660px) {\n .em-mob-width-100perc {\n width: 100%!important;\n max-width: 100%!important;\n }\n\n .em-mob-wrap {\n display: block!important;\n }\n\n .em-mob-padding_right-20 {\n padding-right: 20px!important;\n }\n \n .em-mob-padding_left-20 {\n padding-left: 20px!important;\n }\n\n .em-mob-height-20px {\n height: 20px!important;\n }\n }\n</style>\n<tr em="block" class="em-structure">\n <td align="center" style="padding: 30px 40px;" class="em-mob-padding_left-20 em-mob-padding_right-20">\n <table border="0" cellspacing="0" cellpadding="0" class="em-mob-width-100perc">\n <tr>\n <td width="280" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n <td width="20" class="em-mob-wrap em-mob-height-20px"></td>\n <td width="280" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n </tr>\n </table>\n </td>\n</tr>'},70869:t=>{t.exports='<style em="styles">\n @media only screen and (max-device-width:660px),only screen and (max-width:660px) {\n .em-mob-width-100perc {\n width: 100%!important;\n max-width: 100%!important;\n }\n\n .em-mob-wrap {\n display: block!important;\n }\n\n .em-mob-padding_right-20 {\n padding-right: 20px!important;\n }\n \n .em-mob-padding_left-20 {\n padding-left: 20px!important;\n }\n\n .em-mob-height-20px {\n height: 20px!important;\n }\n }\n</style>\n<tr em="block" class="em-structure">\n <td align="center" dir="rtl" style="padding: 30px 40px;" class="em-mob-padding_left-20 em-mob-padding_right-20">\n <table border="0" cellspacing="0" cellpadding="0" class="em-mob-width-100perc">\n <tr>\n <td width="180" dir="ltr" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n <td width="20" class="em-mob-wrap em-mob-height-20px"></td>\n <td width="380" dir="ltr" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n </tr>\n </table>\n </td>\n</tr>'},20931:t=>{t.exports='<style em="styles">\n @media only screen and (max-device-width:660px),only screen and (max-width:660px) {\n .em-mob-width-100perc {\n width: 100%!important;\n max-width: 100%!important;\n }\n\n .em-mob-wrap {\n display: block!important;\n }\n\n .em-mob-padding_right-20 {\n padding-right: 20px!important;\n }\n \n .em-mob-padding_left-20 {\n padding-left: 20px!important;\n }\n\n .em-mob-height-20px {\n height: 20px!important;\n }\n }\n</style>\n<tr em="block" class="em-structure">\n <td align="center" style="padding: 30px 40px;" class="em-mob-padding_left-20 em-mob-padding_right-20">\n <table border="0" cellspacing="0" cellpadding="0" class="em-mob-width-100perc">\n <tr>\n <td width="180" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n <td width="20" class="em-mob-wrap em-mob-height-20px"></td>\n <td width="180" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n <td width="20" class="em-mob-wrap em-mob-height-20px"></td>\n <td width="180" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n </tr>\n </table>\n </td>\n</tr>'},24186:t=>{t.exports='<style em="styles">\n @media only screen and (max-device-width:660px),only screen and (max-width:660px) {\n .em-mob-width-100perc {\n width: 100%!important;\n max-width: 100%!important;\n }\n\n .em-mob-wrap {\n display: block!important;\n }\n\n .em-mob-padding_right-20 {\n padding-right: 20px!important;\n }\n \n .em-mob-padding_left-20 {\n padding-left: 20px!important;\n }\n\n .em-mob-height-20px {\n height: 20px!important;\n }\n }\n</style>\n<tr em="block" class="em-structure">\n <td align="center" style="padding: 30px 40px;" class="em-mob-padding_left-20 em-mob-padding_right-20">\n <table border="0" cellspacing="0" cellpadding="0" class="em-mob-width-100perc">\n <tr>\n <td width="130" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n <td width="20" class="em-mob-wrap em-mob-height-20px"></td>\n <td width="130" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n <td width="20" class="em-mob-wrap em-mob-height-20px"></td>\n <td width="130" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n <td width="20" class="em-mob-wrap em-mob-height-20px"></td>\n <td width="130" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n </tr>\n </table>\n </td>\n</tr>'},68694:t=>{t.exports='\n<style>\n\t@media only screen and (max-device-width: 660px), only screen and (max-width: 660px) {\n\t\t.em-mob-width-100perc {\n\t\t\twidth: 100% !important;\n\t\t\tmax-width: 100% !important;\n\t\t}\n\n\t\t.em-mob-width-91perc {\n\t\t\twidth: 91% !important;\n\t\t\tmax-width: 91% !important;\n\t\t}\n\t}\n</style>\n<tr em="block" class="em-structure">\n\t<td align="center">\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t<table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>\n\t\t<![endif]--\x3e\n\t\t<table align="center" width="100%" border="0" cellspacing="0" cellpadding="0" style="max-width: 660px;">\n\t\t\t<tr>\n\t\t\t\t<td align="center" valign="top">\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="30"></td></tr></table>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t<table border="0" cellspacing="0" cellpadding="0">\n\t\t\t\t\t<tr><td width="660" valign="top" align="center"><![endif]--\x3e\n\t\t\t\t\t<div style="display: inline-block; width: 100%; max-width: 660px; vertical-align: top;" class="em-mob-width-100perc">\n\t\t\t\t\t\t<table width="602" border="0" cellspacing="0" cellpadding="0" style="width: 91%; max-width: 602px;" class="em-mob-width-91perc">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t</td></tr>\n\t\t\t\t\t</table><![endif]--\x3e\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="10"></td></tr></table>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</table>\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t</td></tr></table>\n\t\t<![endif]--\x3e\n\t</td>\n</tr>\n\n'},38610:t=>{t.exports='\n<style>\n\t@media only screen and (max-device-width: 660px), only screen and (max-width: 660px) {\n\t\t.em-mob-width-100perc {\n\t\t\twidth: 100% !important;\n\t\t\tmax-width: 100% !important;\n\t\t}\n\n\t\t.em-mob-width-91perc {\n\t\t\twidth: 91% !important;\n\t\t\tmax-width: 91% !important;\n\t\t}\n\t}\n</style>\n<tr em="block" class="em-structure">\n\t<td align="center">\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t<table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>\n\t\t<![endif]--\x3e\n\t\t<table align="center" width="100%" border="0" cellspacing="0" cellpadding="0" style="max-width: 660px;">\n\t\t\t<tr>\n\t\t\t\t<td align="center" valign="top">\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="30"></td></tr></table>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t<table border="0" cellspacing="0" cellpadding="0">\n\t\t\t\t\t<tr><td width="207" valign="top" align="center"><![endif]--\x3e\n\t\t\t\t\t<div style="display: inline-block; width: 207px; vertical-align: top;" class="em-mob-width-100perc">\n\t\t\t\t\t\t<table width="187" border="0" cellspacing="0" cellpadding="0" class="em-mob-width-91perc">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]></td><td width="413" valign="top" align="center"><![endif]--\x3e\n\t\t\t\t\t<div style="display: inline-block; width: 413px; vertical-align: top;" class="em-mob-width-100perc">\n\t\t\t\t\t\t<table width="393" border="0" cellspacing="0" cellpadding="0" class="em-mob-width-91perc">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t</td></tr>\n\t\t\t\t\t</table><![endif]--\x3e\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="10"></td></tr></table>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</table>\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t</td></tr></table>\n\t\t<![endif]--\x3e\n\t</td>\n</tr>\n\n'},41705:t=>{t.exports='\n<style>\n\t@media only screen and (max-device-width: 660px), only screen and (max-width: 660px) {\n\t\t.em-mob-width-100perc {\n\t\t\twidth: 100% !important;\n\t\t\tmax-width: 100% !important;\n\t\t}\n\n\t\t.em-mob-width-91perc {\n\t\t\twidth: 91% !important;\n\t\t\tmax-width: 91% !important;\n\t\t}\n\t}\n</style>\n<tr em="block" class="em-structure">\n\t<td align="center">\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t<table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>\n\t\t<![endif]--\x3e\n\t\t<table align="center" width="100%" border="0" cellspacing="0" cellpadding="0" style="max-width: 660px;">\n\t\t\t<tr>\n\t\t\t\t<td align="center" valign="top">\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="30"></td></tr></table>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t<table border="0" cellspacing="0" cellpadding="0">\n\t\t\t\t\t<tr><td width="311" valign="top" align="center"><![endif]--\x3e\n\t\t\t\t\t<div style="display: inline-block; width: 311px; vertical-align: top;" class="em-mob-width-100perc">\n\t\t\t\t\t\t<table width="291" border="0" cellspacing="0" cellpadding="0" class="em-mob-width-91perc">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]></td><td width="311" valign="top" align="center"><![endif]--\x3e\n\t\t\t\t\t<div style="display: inline-block; width: 311px; vertical-align: top;" class="em-mob-width-100perc">\n\t\t\t\t\t\t<table width="291" border="0" cellspacing="0" cellpadding="0" class="em-mob-width-91perc">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t</td></tr>\n\t\t\t\t\t</table><![endif]--\x3e\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="10"></td></tr></table>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</table>\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t</td></tr></table>\n\t\t<![endif]--\x3e\n\t</td>\n</tr>\n\n'},73248:t=>{t.exports='\n<style>\n\t@media only screen and (max-device-width: 660px), only screen and (max-width: 660px) {\n\t\t.em-mob-width-100perc {\n\t\t\twidth: 100% !important;\n\t\t\tmax-width: 100% !important;\n\t\t}\n\n\t\t.em-mob-width-91perc {\n\t\t\twidth: 91% !important;\n\t\t\tmax-width: 91% !important;\n\t\t}\n\t}\n</style>\n<tr em="block" class="em-structure">\n\t<td align="center">\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t<table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>\n\t\t<![endif]--\x3e\n\t\t<table align="center" width="100%" border="0" cellspacing="0" cellpadding="0" style="max-width: 660px;">\n\t\t\t<tr>\n\t\t\t\t<td align="center" valign="top">\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="30"></td></tr></table>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t<table border="0" cellspacing="0" cellpadding="0">\n\t\t\t\t\t<tr><td width="413" valign="top" align="center"><![endif]--\x3e\n\t\t\t\t\t<div style="display: inline-block; width: 413px; vertical-align: top;" class="em-mob-width-100perc">\n\t\t\t\t\t\t<table width="393" border="0" cellspacing="0" cellpadding="0" class="em-mob-width-91perc">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]></td><td width="207" valign="top" align="center"><![endif]--\x3e\n\t\t\t\t\t<div style="display: inline-block; width: 207px; vertical-align: top;" class="em-mob-width-100perc">\n\t\t\t\t\t\t<table width="187" border="0" cellspacing="0" cellpadding="0" class="em-mob-width-91perc">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t</td></tr>\n\t\t\t\t\t</table><![endif]--\x3e\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="10"></td></tr></table>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</table>\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t</td></tr></table>\n\t\t<![endif]--\x3e\n\t</td>\n</tr>\n\n'},96588:t=>{t.exports='\n<style>\n\t@media only screen and (max-device-width: 660px), only screen and (max-width: 660px) {\n\t\t.em-mob-width-100perc {\n\t\t\twidth: 100% !important;\n\t\t\tmax-width: 100% !important;\n\t\t}\n\n\t\t.em-mob-width-91perc {\n\t\t\twidth: 91% !important;\n\t\t\tmax-width: 91% !important;\n\t\t}\n\t}\n</style>\n<tr em="block" class="em-structure">\n\t<td align="center">\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t<table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>\n\t\t<![endif]--\x3e\n\t\t<table align="center" width="100%" border="0" cellspacing="0" cellpadding="0" style="max-width: 660px;">\n\t\t\t<tr>\n\t\t\t\t<td align="center" valign="top">\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="30"></td></tr></table>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t<table border="0" cellspacing="0" cellpadding="0">\n\t\t\t\t\t<tr><td width="207" valign="top" align="center"><![endif]--\x3e\n\t\t\t\t\t<div style="display: inline-block; width: 207px; vertical-align: top;" class="em-mob-width-100perc">\n\t\t\t\t\t\t<table width="187" border="0" cellspacing="0" cellpadding="0" class="em-mob-width-91perc">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]></td><td width="207" valign="top" align="center"><![endif]--\x3e\n\t\t\t\t\t<div style="display: inline-block; width: 207px; vertical-align: top;" class="em-mob-width-100perc">\n\t\t\t\t\t\t<table width="187" border="0" cellspacing="0" cellpadding="0" class="em-mob-width-91perc">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]></td><td width="207" valign="top" align="center"><![endif]--\x3e\n\t\t\t\t\t<div style="display: inline-block; width: 207px; vertical-align: top;" class="em-mob-width-100perc">\n\t\t\t\t\t\t<table width="187" border="0" cellspacing="0" cellpadding="0" class="em-mob-width-91perc">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t</td></tr>\n\t\t\t\t\t</table><![endif]--\x3e\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="10"></td></tr></table>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</table>\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t</td></tr></table>\n\t\t<![endif]--\x3e\n\t</td>\n</tr>\n\n'},97433:t=>{t.exports='\n<style>\n\t@media only screen and (max-device-width: 660px), only screen and (max-width: 660px) {\n\t\t.em-mob-width-100perc {\n\t\t\twidth: 100% !important;\n\t\t\tmax-width: 100% !important;\n\t\t}\n\n\t\t.em-mob-width-91perc {\n\t\t\twidth: 91% !important;\n\t\t\tmax-width: 91% !important;\n\t\t}\n\t}\n</style>\n<tr em="block" class="em-structure">\n\t<td align="center">\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t<table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>\n\t\t<![endif]--\x3e\n\t\t<table align="center" width="100%" border="0" cellspacing="0" cellpadding="0" style="max-width: 660px;">\n\t\t\t<tr>\n\t\t\t\t<td align="center" valign="top">\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="30"></td></tr></table>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t<table border="0" cellspacing="0" cellpadding="0">\n\t\t\t\t\t<tr><td width="310" valign="top" align="center"><![endif]--\x3e\n\t\t\t\t\t<div style="display: inline-block; width: 310px; vertical-align: top;" class="em-mob-width-100perc">\n\t\t\t\t\t\t<table width="290" border="0" cellspacing="0" cellpadding="0" class="em-mob-width-91perc">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t\t<td width="20">&nbsp;</td>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]></td><td width="310" valign="top" align="center"><![endif]--\x3e\n\t\t\t\t\t<div style="display: inline-block; width: 310px; vertical-align: top;" class="em-mob-width-100perc">\n\t\t\t\t\t\t<table width="290" border="0" cellspacing="0" cellpadding="0" class="em-mob-width-91perc">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t\t<td width="20">&nbsp;</td>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t</td></tr>\n\t\t\t\t\t</table><![endif]--\x3e\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="10"></td></tr></table>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</table>\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t</td></tr></table>\n\t\t<![endif]--\x3e\n\t</td>\n</tr>\n\n'},19378:(t,e,n)=>{"use strict";function i(t){return t}n.d(e,{Qm:()=>i,bg:()=>r});const a="INIT_MESSAGE";function s(){return Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15)}class d{constructor(){this._children=[],this._isDisposed=!1}isDisposed(){return this._isDisposed}addDisposable(t){return this._children.push(t),t.hasOwnProperty("addDisposable")&&t.addDisposable({dispose:()=>{const e=this._children.indexOf(t);e>=0&&this._children.splice(e,1)}}),t}removeDisposable(t){const e=this._children.indexOf(t);e>=0&&this._children.splice(e,1)}dispose(){this._isDisposed=!0;for(const t of this._children)t.dispose()}}class l extends d{constructor(...t){super(...t),this._listeners=Object.create(null),this.addListenerAsync=(t,e,n=0,i)=>{const a=this._listeners[t]||(this._listeners[t]=[]);i&&"function"===typeof e&&(e=e.bind(i));const s=a.findIndex((([t,e])=>n<=e)),d=[e,n];return this.isDisposed()||a.splice(s>=0?s:a.length,0,d),{dispose(){const t=a.indexOf(d);t>=0&&a.splice(t,1)}}},this.fireAsync=(t,e)=>{if(!this.isDisposed()){const n=this._listeners[t]||(this._listeners[t]=[]);let i;for(let t=0;t<n.length;t++){let e=n[t][0],a=i;i=t=>e(t,a)}if(i)return i(e)}},this.addListener=(t,e,n=0)=>this.addListenerAsync(t,((t,n)=>{try{e(t)}catch(i){console.log(i)}return n&&n(t)}),n)}}class r extends d{constructor(t,e){super(),this._singleton=e,this._target=void 0,this._guid=s(),this._targetGuid="",this._emitter=this.addDisposable(new l),this._onReceiveMessage=t=>{const e=t.data;if(n=e,i=this._guid,n&&"object"===typeof n&&n.guid===i||this._singleton&&function(t,e){return t&&"object"===typeof t&&t.operationId===e}(e,a)){const n=this._emitter.fireAsync(e.operationId||"",void 0===e.operationId?t:e.data),i=e.result,a=e.error;i&&a&&Promise.resolve(n).then((t=>this._sendMessage(i,t)),(t=>this._sendMessage(a,t)))}var n,i},window.addEventListener("message",this._onReceiveMessage),this.addListener(a,(t=>{this._targetGuid!==t&&(this._targetGuid=t,this.send(a,this._guid))})),t&&this.setTarget(t)}setTarget(t){this._target!==t&&(this._target=t,this._targetGuid="",t&&t.postMessage({operationId:a,data:this._guid},"*"))}getTarget(){return this._target}get target(){return this._target}_sendMessage(t,e,n=!0){if(!n&&!this.isInited())return;const i=this.addDisposable(this.onInit(((n,a)=>{const s=t?{operationId:t,data:e}:e;n.postMessage({...s,guid:a},"*"),i.dispose()})))}send(t,e,n){return"string"===typeof t?this._sendMessage(t,e,n):this._sendMessage("",t,e)}sendAsync(t,e,n=!0){if(!n&&!this.isInited())return Promise.resolve();const i=s(),a=s();return new Promise(((n,s)=>{const l=this.addDisposable(new d);l.addDisposable(this.onInit(((d,r)=>{d.postMessage({operationId:t,data:e,guid:r,result:i,error:a},"*"),l.addDisposable(this._onMessage(i,(t=>{n(t),l.dispose()}))),l.addDisposable(this._onMessage(a,(t=>{s(t),l.dispose()})))})))}))}_onMessage(t,e,n=0){return this._emitter.addListener(t,e,n)}addListener(t,e,n){return e?this._onMessage(t,e,n):this._onMessage("",t)}addListenerAsyncPipe(t,e,n=0){return this._emitter.addListenerAsync(t,e,n)}addListenerAsync(t,e,n=0){return this._emitter.addListenerAsync(t,(async(t,n)=>{const i=await e(t);return n?n(t):i}),n)}isInited(){return!!this._targetGuid}get inited(){return!!this._targetGuid}onInit(t,e=!0,n=0){const i=this.addDisposable(new d);return this._targetGuid&&this._target?e&&Promise.resolve().then((()=>{this._targetGuid&&this._target?t(this._target,this._targetGuid):i.addDisposable(this.onInit(t,e,n))})):i.addDisposable(this._onMessage(a,(()=>{t(this._target,this._targetGuid)}),n)),i}dispose(){window.removeEventListener("message",this._onReceiveMessage),super.dispose()}}},93718:(t,e,n)=>{var i={"./en_US.ts":[90944,2466],"./ru_RU.ts":[3099,6859]};function a(t){if(!n.o(i,t))return Promise.resolve().then((()=>{var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=i[t],a=e[0];return n.e(e[1]).then((()=>n(a)))}a.keys=()=>Object.keys(i),a.id=93718,t.exports=a},42811:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAkCAYAAAB/up84AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABSBJREFUeNrsWjFv2zoQVoMW8BZ18xaN3qLRW9QtW9OtW92to98vaPoP3K1b1S1b3c2jvWlUNm3lw1s8Mpu3PAo4Iocr70jKlp0COuCQlpKPx/t43x1pv3h8fEwGeT5yNoTgeclLZvza6NgxXoNaGRktjE6MpjC2NVqh92bwt4HxBI1ro0s0dgN2tvD5a8a/9vkq0M+xYKdG81A7Gp6pyBjZddrnO6N36Hkbqyn8u4L3vYC0hjLHeAbPVhC4TwAK/ewNvLsEhyxgFXLK2l/D4tvnOVrUiPEh1k/JjvLYyWENdeTcKazBBr6AdY4AqBTmbkIzhO4gvMumYLxAYKzgPTvhBBajYNwCksHYhOyYiow1KONaKYlfO8bPEWyGEfi5Iu+Vjizg7EzB3xvwWTMxWkHG4mDnMF6BnSnYncLzHWGG4BqiwZkKQMC7I0cOVTCJhvRUKNgNCmCOxhNmrBEWzwGi0Y6rIihbsnOH/JgE2hshKrLZv4Px9yhj1twafRlid/UIGWvlFdlVLirIkIM12nETGLeO2tTPECBUZuT/a7JBMpSxUybYLjulUCN2iEpHQoyuGWZJUCa8R/VGSZvGB0iOdjAO9n8EtC2zUxICSIoW0ICTmA53DCDKQzWZg89XAXZ2B2iMavBnjDKpBX6B1tnAM5aqQgGhnU2D6GmHuqw7AkaOPmP/bsHpFC1kTLqVhglS6fFNgX1MCXUHO1zR1h5AFOoSc1jjmKx/An/1PoBQasBSoZZ3hpyaOrg0IW2sRkG8JsU8CaCaLckAhfi6AG0cmeuzkyMQMtL+SiySkY3oA/EgGeICK0UOZYQKVsQpDAjm2BpsaAGQLMKnMdok3yLtpKS70yT7OUBcm7UTHb5grk5y1Csrj40MqUbUpgW7NXo+RunckODkQvdXM37iwm7b1VA7lAaVB4jUUZOUIzNxfOougAwy3GUN0qWG2IJJ09V2NcvIFE8c54nQelEHFM6C6chUhI+WZjjffDQkrenPhqmlrAC9Naof/aLhXZeNNfMZOk+MtPOVRjNmTpfcCut0+biGZ3PBj1ywWTOfqV3v+yjLFuDPRs8Ddu05vLtmsuHQ0s73wehvR0t7aGkPevfCM5fcGr0MbOW9NSSFwF52cP5KcLIv+X4EUGbCemcOqpoz73/haE4CZNkRjAR20vwENXHRc2bWEMyQuUuGVe4hc6K6rBmg7pKN0XdGX7dts9E3Rr8afUATFl1PqgLAG6T3AoX1nSVtMP9l5r5FVyiu+D14/YssRHOheGVQYNMeinrhsMcV2WVPRR1rIRT4QmiA5r4G6oxp0y6ZzFh4LvhmB84MHz1xta9vWQMrcFR/3iF+7DmEu2YoyTshRbuMvGE9hnwGPQR1tdR04aCueKrqAIgiu/AqcCf1JXPhfuoYosGHn4Hgqa6AnCK4IfSkCa1eCJRxLGnn+mX0rfDOJok4AsQAUpwQlND2++HIgNiOVO1LVRIgtXDPs0bpunEU08vktHLMpoJS1/d9qEo6h6gAzq7RRaPV+QmBeICzUUh2fIHzk0s3HedXwkEy2ReQmjn4XDzDjqkN4D/J04/y/np5KbSrrtbwAyx+kTxdf9tfpvSZIW9O3FScHJAF8PEFc5F2lQzSi5wJheoG3U/t0xYOcgBAcOHuAkr7mY9ditoAiCz2q8uvEcD8gJpSDuGNl5hfnaTJ0/fpheMUr4CitHCO6fqdesj359xh1tWiqggfdUCmcz9ZivZ7+BnQM5P/BRgABx8sJWqTxoYAAAAASUVORK5CYII="},59142:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_01_blocks.5538cfdb.png"},50195:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_02_blocks.837fc2c9.png"},27544:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_03_blocks.126601f7.png"},59045:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_04_blocks.255c5c07.png"},97970:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_05_blocks.431b6844.png"},84093:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_01.33327158.png"},42854:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_02.d99d2aa6.png"},81871:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_03.5545ffad.png"},39024:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_04.398a4ca5.png"},35929:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_05.4c58df1b.png"}}]);