@emailmaker/emailmaker 1.0.50 → 1.0.51

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.
Files changed (67) hide show
  1. package/README.md +1 -1
  2. package/asset-manifest.json +52 -49
  3. package/emailmaker-esm.js +1 -1
  4. package/emailmaker.d.ts +49 -0
  5. package/emailmaker.js +1 -1
  6. package/iframe/{iframe-eblock.3347c72c85af92a68e68.html → iframe-eblock.984ccdb9e9538ea29c8a.html} +1 -1
  7. package/iframe/{iframe.3347c72c85af92a68e68.html → iframe.984ccdb9e9538ea29c8a.html} +1 -1
  8. package/iframe/js/cssbeautify.js +1 -1
  9. package/iframe/sandbox-eblock.js +1 -1
  10. package/iframe/sandbox.js +1 -1
  11. package/package.json +1 -1
  12. package/plugin.html +2 -2
  13. package/plugin_blocks_test.html +1 -1
  14. package/plugin_default.html +1 -1
  15. package/plugin_idigital.html +262 -0
  16. package/plugin_s.html +1 -1
  17. package/static/css/3062.52a0a40e.css +1 -0
  18. package/static/css/{3430.1e30bbcf.css → 3430.8008d20d.css} +1 -1
  19. package/static/css/5211.8f70ec84.css +1 -0
  20. package/static/css/8995.3b37ba81.css +1 -0
  21. package/static/js/1147.b3554098.js +1 -0
  22. package/static/js/1399.258dd710.js +1 -0
  23. package/static/js/1481.1c9eb31e.js +1 -0
  24. package/static/js/{1821.cbca44c5.js → 1821.456c1a15.js} +1 -1
  25. package/static/js/{2151.0935f51b.js → 2151.516911d8.js} +1 -1
  26. package/static/js/2299.a10e8024.chunk.js +1 -0
  27. package/static/js/3040.3377e943.js +1 -0
  28. package/static/js/3062.c4964587.js +1 -0
  29. package/static/js/3430.81e9a5aa.js +1 -0
  30. package/static/js/4035.8367303a.js +1 -0
  31. package/static/js/5211.0ebfdb27.js +1 -0
  32. package/static/js/{5234.f4717ce4.js → 5234.2b7c442d.js} +1 -1
  33. package/static/js/6898.9eb2b03f.js +1 -0
  34. package/static/js/7291.06a4c8c4.js +1 -0
  35. package/static/js/7415.a9cc050d.js +2 -0
  36. package/static/js/7623.8bcd5fed.js +2 -0
  37. package/static/js/78.dca8224c.js +1 -0
  38. package/static/js/7835.3a7dd512.js +2 -0
  39. package/static/js/8458.7ac6ec33.js +1 -0
  40. package/static/js/8689.fa42b226.chunk.js +1 -0
  41. package/static/js/8995.d8b7e9e5.js +1 -0
  42. package/static/js/{emailmaker_core.22b19970.js → emailmaker_core.f53b7c8e.js} +1 -1
  43. package/translations.pot +533 -409
  44. package/iframe/429.js +0 -1
  45. package/static/css/2208.56ea0abb.css +0 -1
  46. package/static/css/4877.237f7f6b.css +0 -1
  47. package/static/css/5571.e4f09995.css +0 -1
  48. package/static/js/1399.b4cd707b.js +0 -1
  49. package/static/js/1477.46df6668.js +0 -2
  50. package/static/js/1481.cd1a0886.js +0 -1
  51. package/static/js/18.c23b78e8.js +0 -1
  52. package/static/js/2208.f73122ba.js +0 -1
  53. package/static/js/2299.03050dc1.chunk.js +0 -1
  54. package/static/js/3430.0fd120a4.js +0 -1
  55. package/static/js/3991.d0073826.js +0 -1
  56. package/static/js/4035.1e8d8ad5.js +0 -1
  57. package/static/js/4877.eaf2cc44.js +0 -1
  58. package/static/js/5571.c89c79dc.js +0 -1
  59. package/static/js/7159.56dbb0aa.js +0 -2
  60. package/static/js/723.e748d062.js +0 -2
  61. package/static/js/7291.50326502.js +0 -1
  62. package/static/js/78.595b3c2e.js +0 -1
  63. package/static/js/8458.f8ef5e55.js +0 -1
  64. package/static/js/8689.5ec8c633.chunk.js +0 -1
  65. /package/static/js/{723.e748d062.js.LICENSE.txt → 7415.a9cc050d.js.LICENSE.txt} +0 -0
  66. /package/static/js/{7159.56dbb0aa.js.LICENSE.txt → 7623.8bcd5fed.js.LICENSE.txt} +0 -0
  67. /package/static/js/{1477.46df6668.js.LICENSE.txt → 7835.3a7dd512.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[1399],{83953:(e,t,a)=>{a.d(t,{A:()=>A});var o=a(92810),i=a(66170),r=a(66726),l=a(43005),s=a(71157),n=a(64617),d=a(45934),c=a(23287),u=a(48409),m=a.n(u),_=a(55701),p=a(84568),v=a(93563),h=a(64037),g=a(7760),E=a(32269),f=a(47381),R=a(32411),y=a(85163),C=a(70082);const b=({block:e,isEditableRights:t,rightCol:a,autoSaveBlockResult:u})=>{const{__:b}=(0,c.s9)(),{projectId:A,blockId:I}=(0,n.g)();let O=(0,d.d4)(g.Fv),T=(0,d.d4)(g.Fv),k=(0,d.wA)();const N=(0,s.hN)(),S=(0,R.fn)(),w=(0,d.Pj)(),[j,$]=(0,o.useState)(!1),[G,L]=(0,o.useState)(null),[x,B]=(0,o.useState)(!1),[K,P]=(0,o.useState)(!1),D=(0,f.u)();(0,o.useEffect)((()=>{var e,t;null!==(e=window)&&void 0!==e&&null!==(t=e.navigator)&&void 0!==t&&t.userAgent.includes("Macintosh")&&L(!0)}),[]);const{data:V,refetch:M}=(0,p.fo)(+A,{skip:!+A}),[U]=(0,_.Gr)(),[Y,F]=(0,_.OZ)(),[q,z]=(0,_.pP)(),[X]=(0,p.OD)(),H=`project_${A}`,J=V&&(0,E._q)(V,y.YY).find((e=>e.name===H)),Q=V&&(0,E.HT)(V,y.YY),W=(0,o.useCallback)((a=>{var o,i;if(B(!0),!t&&e.lock&&K)return N.error({id:"BLOCK_ACCESS_TO_LOCKED_ERROR",message:b("No access to edit the letter."),placement:"bottomRight",data:(0,s.x_)(e)}),void B(!1);if(((null===(o=e.tags)||void 0===o?void 0:o.length)||(null===(i=e.blocktags)||void 0===i?void 0:i.length))>10&&K)return N.error({id:"BLOCK_TOO_MANY_TAGS_ERROR",message:b("Maximum 10 tags available."),placement:"bottomRight",data:(0,s.x_)(e)}),void B(!1);if(""===e.type)return N.error({message:b("Set the type"),description:b("Please set the 'Type' field in the Settings section."),placement:"bottomRight"}),void B(!1);const r=t=>{var o;const i=null===(o=e.tags)||void 0===o?void 0:o.map((e=>{const a=null===Q||void 0===Q?void 0:Q.find((t=>t.name===e));return a?a.id:U({name:e,parent:t}).then((({error:t,data:a})=>{var o,i;return 400===(null===t||void 0===t?void 0:t.status)?null===t||void 0===t||null===(o=t.data)||void 0===o||null===(i=o.data)||void 0===i?void 0:i.term_id:a?a.id:void(t&&(N.fromError("TAG_CREATING_ERROR",e,t),B(!1)))}))})),r=(o=null)=>{const i=a=>{w.dispatch(v.kE.endpoints.getTags.initiate({parent:t})),M(),K&&(N.success({id:"BLOCK_EDITING_SUCCESS",message:b("The block was successfully saved.","block"),data:(0,s.x_)(e)}),B(!1)),fetch(((e,t,a,o)=>`https://scr.emcdn.ru/screenshot?delay=1000&width=800&fullPage=true&deviceScaleFactor=0.8&format=jpg&clearCache=true${o?`&cacheControl=true&cache-hash=${m()(o)}`:""}&url=${encodeURIComponent(`https://dev-backend-1.emailmaker.ru/get${e}/${a}?secret_hash=${m()(`${t}${a}${y.KI}`)}&raw=true`)}`)(y.IE,A,a.id,a.modified),{mode:"no-cors"}).then((()=>{}))},r=(0,E._q)(e,y.zh).filter((t=>(o||e.blocktags).includes(t.id))).map((e=>e.name));e.isNew?z.status!==y.eG&&q({source:a,title:null===e.title?b("New block title"):e.title,project:e.project,type:e.type?e.type:"Other",description:e.description,html:(null===S||void 0===S?void 0:S.getValue())||"",blocktags:o?o.join(","):e.blocktags,tags:r}).then((({data:t,error:a})=>{a?(N.fromError("BLOCK_CREATING_ERROR",{title:e.title,html:(null===S||void 0===S?void 0:S.getValue())||""},a),B(!1)):i(t)})):F.status!==y.eG&&Y({blockId:e.id,source:a,title:e.title,project:e.project,type:e.type?e.type:"Other",description:e.description,html:(null===S||void 0===S?void 0:S.getValue())||"",blocktags:o||e.blocktags,tags:r}).then((({data:t,error:a})=>{a&&K?(N.fromError("BLOCK_EDITING_ERROR",(0,s.x_)(e),a),B(!1)):i(t)}))};i?Promise.all(i).then((e=>r(e))):r(null)};B(!0),J?r(J.id):U({name:H}).then((async({data:t,error:a})=>{if(a)N.fromError("FOLDER_CREATING_ERROR",H,a),B(!1);else{const{data:a,error:o}=await X({projectId:A,blocktags:t.id});o?(N.fromError("BLOCK_CLONING_ERROR",(0,s.x_)(e),o),B(!1)):a&&r(a.blocktags&&a.blocktags[0])}})).catch((e=>console.error(e)))}),[z.status,q,F.status,Y,e,t,U,X,A,b,K,S,N,Q,M,w,J,H]);(0,o.useEffect)((()=>{K&&(W(),P(!1))}),[K,W]);const Z=(0,o.useCallback)((e=>{(e.ctrlKey||e.metaKey)&&83===e.keyCode&&(e.preventDefault(),P(!0))}),[]);(0,o.useEffect)((()=>(document.addEventListener("keydown",Z),()=>{document.removeEventListener("keydown",Z)})),[Z]);const ee=(0,o.useCallback)((e=>{const t=e.data.operation,a=e.data.action;t===y.Ru.APPLICATION_ACTION&&"save_email"===a&&P(!0)}),[]);return(0,h.A)(ee),(0,o.useEffect)((()=>{z.isError&&(B(!1),(0,E.p6)(z,N))}),[k,z,N]),(0,o.useEffect)((()=>{const e=setTimeout((()=>{$(!0)}),1e4);return()=>{clearTimeout(e)}}),[]),(0,o.useEffect)((()=>{e.isNew&&!I&&j&&(W(),$(!1))}),[j,e,W,I]),(0,C.jsx)(r.A,{title:b(G?"Save by \u2318S":"Save by Ctrl+S"),placement:a?"right":"bottomRight",children:(0,C.jsx)(l.Ay,{type:"primary",block:a,className:"em-analytics__block-save",icon:(0,C.jsx)(i.A,{}),onClick:()=>{D({event:"click",action:"save_block"}),P(!0)},loading:F.isLoading||X.isLoading||z.isLoading||x||u,children:a||O||T?"":b("Save")})})};b.defaultProps={block:null};const A=b},59287:(e,t,a)=>{a.d(t,{Ay:()=>L,QG:()=>$,Wv:()=>j});var o=a(92810),i=a(66726),r=a(43005),l=a(81e3),s=a(71157),n=a(66170),d=a(64617),c=a(45934),u=a(48409),m=a.n(u),_=a(23287),p=a(86739),v=a(84568),h=a(93563),g=a(64037),E=a(8493),f=a(65983),R=a(32269),y=a(56991),C=a(47381),b=a(32411),A=a(13329),I=a(93982),O=a(90070),T=a(85163),k=a(13522),N=a(28316),S=a(70082);const w="KEYBOARD",j=(e,t,a,o,i=!0,r=.8,l)=>`${window.location.host.indexOf("localhost")>=0?`${window.location.protocol}//${window.location.host}`:"https://scr.emcdn.ru"}/screenshot?delay=1000&width=800${l?"":"&fullPage=true"}&deviceScaleFactor=${r}&format=jpg&clearCache=${i}${o?`&cacheControl=true&cache-hash=${m()(o)}`:""}&url=${encodeURIComponent(`https://app.emailmaker.ru/get${e}/${a}?secret_hash=${m()(`${t}${a}${T.KI}`)}&raw=true`)}${l?`&selector=${l}`:""}`,$=(e,t,a=!0,o=.8,i)=>{let r=`https://racs.rest/v3/file/${e}?resource=exportPngApi`;return`${window.location.host.indexOf("localhost")>=0?`${window.location.protocol}//${window.location.host}`:"https://scr.emcdn.ru"}/screenshot?delay=1000&width=800${i?"":"&fullPage=true"}&deviceScaleFactor=${o}&format=jpg&clearCache=${a}${t?`&cacheControl=true&cache-hash=${m()(t)}`:""}&url=${encodeURIComponent(`${r}`)}${i?`&selector=${i}`:""}`},G=({email:e,isEditableRights:t,autoSaveEmailResult:a})=>{var u,m;let $=(0,c.wA)(),G=(0,d.Zp)();const{__:L,_x:x}=(0,_.s9)(),{projectId:B,emailId:K}=(0,d.g)(),P=(0,O.p6)(),D=(0,s.hN)(),V=(0,y.rD)(),M=(0,b.fn)(),U=(0,c.Pj)(),Y=(0,c.d4)(f.rY),F=(0,c.d4)(f.UI),[q,z]=(0,o.useState)(!1),[X,H]=(0,o.useState)(null);(0,o.useEffect)((()=>{var e,t;null!==(e=window)&&void 0!==e&&null!==(t=e.navigator)&&void 0!==t&&t.userAgent.includes("Macintosh")&&H(!0)}),[]);const{data:J,refetch:Q}=(0,v.fo)(+B,{skip:!+B}),{data:W,refetch:Z}=(0,h.Jz)({parent:null===(u=J.folder)||void 0===u?void 0:u[0]},{skip:!(null!==(m=J.folder)&&void 0!==m&&m[0])}),[ee]=(0,p.Gr)(),[te]=(0,h.JI)(),[ae,oe]=(0,p.dN)(),[ie,re]=(0,p.Kh)(),[le]=(0,v.OD)(),[se,ne]=(0,o.useState)(!1),[de,ce]=(0,o.useState)(""),ue=`project_${B}`,me=J&&(0,R._q)(J,T.zh).find((e=>e.name===ue)),_e=J&&(0,R.HT)(J,T.zh),pe=(0,I.ml)(k.A.BEFORE_SAVE_EMAIL),ve=(0,C.u)(),he=(0,o.useCallback)((a=>{var o,i;if(!t&&e.lock&&de)return void D.error({id:"EMAIL_ACCESS_TO_LOCKED_ERROR",data:(0,s.Gy)(e),message:L("No access to edit the letter."),placement:"bottomRight"});if(((null===e||void 0===e||null===(o=e.tags)||void 0===o?void 0:o.length)||(null===(i=e.emailtags)||void 0===i?void 0:i.length))>10&&de)return void D.error({id:"EMAIL_TOO_MANY_TAGS_ERROR",data:(0,s.Gy)(e),message:L("Maximum 10 tags available."),placement:"bottomRight"});const r=async t=>{var o;const i=Object.entries(Y).flatMap((([e,t])=>t.map((({value:t,label:a})=>({id:+t,name:a,parent:+e.split("_")[0]})))));let r=[];F.length&&F.forEach((e=>{r.push(...null===e||void 0===e?void 0:e.children.map((e=>({id:e.id,parentId:e.parent}))))}));const l=(null===(o=e.tags)||void 0===o?void 0:o.map((e=>{const a=null===_e||void 0===_e?void 0:_e.find((t=>t.name===e));return a?a.id:ee({name:e,parent:t}).then((({error:t,data:a})=>{var o,i;return 400===(null===t||void 0===t?void 0:t.status)?null===t||void 0===t||null===(o=t.data)||void 0===o||null===(i=o.data)||void 0===i?void 0:i.term_id:a?a.id:void(t&&(D.fromError("TAG_CREATING_ERROR",e,t),ne(!1)))}))})))||[],n=(null===i||void 0===i?void 0:i.map((e=>{const t=null===r||void 0===r?void 0:r.find((t=>t.id===e.id));return t?t.id:te({name:e.name,parent:e.parent}).then((({error:t,data:a})=>{var o,i;return 400===(null===t||void 0===t?void 0:t.status)?null===t||void 0===t||null===(o=t.data)||void 0===o||null===(i=o.data)||void 0===i?void 0:i.term_id:a?a.id:void(t&&(D.fromError("GROUP_CREATING_ERROR",e,t),ne(!1)))}))})))||[],d=(e,o=null,i=null,r=[])=>{var l,n;const d=(null===(l=e.title)||void 0===l?void 0:l.trim())||(null===(n=e.subject)||void 0===n?void 0:n.trim())||L("Untitled email."),c=a=>{U.dispatch(h.kE.endpoints.getTags.initiate({parent:t})),Q&&Q(),de&&(D.success({id:"EMAIL_SAVING_SUCCESS",message:L("The email was successfully saved."),data:(0,s.Gy)(e)}),ne(!1),W&&Z()),T.EW.isPlugin||fetch(j(T.Tm,B,a.id,a.modified),{mode:"no-cors"}).then((()=>{}))},u=(0,R._q)(e,T.zh).filter((t=>(o||e.emailtags).includes(t.id))).map((e=>e.name));var m,_,p,v,g;if(e.isNew){if(re.status!==T.eG){const t=P.get(T.A9.em_folder);ie({title:d,source:a,project:e.project,subject:e.subject,preheader:e.preheader,description:e.description,utm_parameters:{utm_source:e.utm_parameters.utm_source,utm_medium:e.utm_parameters.utm_medium,utm_campaign:e.utm_parameters.utm_campaign,utm_term:e.utm_parameters.utm_term,utm_content:e.utm_parameters.utm_content},html:(null===M||void 0===M?void 0:M.getValue())||"",parent_email:e.parent_email||T.iU,common_styles:e.common_styles||"",emailtags:o?o.join(","):e.emailtags,tags:u,group:i||e.group,is_template:e.is_template||!1,is_inited:e.is_inited,renderGuid:e.renderGuid,folder:t!==T.y2&&t}).then((({data:t,error:a})=>{a?(de&&D.fromError("EMAIL_CREATING_ERROR",{title:e.title,code:(null===M||void 0===M?void 0:M.getValue())||""},a),ne(!1)):($((0,E.aY)(null)),c(t),P.remove(T.A9.em_folder))}))}}else oe.status!==T.eG&&ae({emailId:e.id,source:a,title:d,project:e.project,preheader:e.preheader,subject:e.subject,utm_parameters:{utm_source:null===(m=e.utm_parameters)||void 0===m?void 0:m.utm_source,utm_medium:null===(_=e.utm_parameters)||void 0===_?void 0:_.utm_medium,utm_campaign:null===(p=e.utm_parameters)||void 0===p?void 0:p.utm_campaign,utm_term:null===(v=e.utm_parameters)||void 0===v?void 0:v.utm_term,utm_content:null===(g=e.utm_parameters)||void 0===g?void 0:g.utm_content},description:e.description,html:(null===M||void 0===M?void 0:M.getValue())||"",common_styles:e.common_styles||"",emailtags:o||e.emailtags,tags:u,group:i||e.group,is_template:e.is_template||!1}).then((({error:t})=>{t?(de&&D.fromError("EMAIL_EDITING_ERROR",(0,s.Gy)(e),t),ne(!1)):c(e)}));ve({event:"save",action:a?"save_email":"auto_save_email",email_id:e.id,project_id:B})},c={...e};pe.fire(c).finally((()=>{l.length||n.length?Promise.all(l).then((e=>{Promise.all(n).then((t=>{d(c,e,t,[])}))})):d(c,null,null,[])}))};ne(!0),me?r(me.id):ee({name:ue}).then((async({data:t,error:a})=>{if(a)D.fromError("FOLDER_CREATING_ERROR",ue,a),ne(!1);else{const{data:a,error:o}=await le({projectId:B,emailtags:t.id});o?(D.fromError("EMAIL_CLONING_ERROR",(0,s.Gy)(e),o),ne(!1)):a&&r(a.emailtags&&a.emailtags[0])}})).catch((e=>console.error(e)))}),[re.status,ie,oe.status,ae,e,t,ee,$,le,B,J,L,x,de,M,_e,pe]);(0,A.D3)(N.Kp,(0,o.useCallback)((e=>he(e||"EXTERNAL")),[he]));const ge=(0,I.ml)(k.A.ON_NEXTBUTTON_CLICK_ID),Ee=(0,I.ml)(k.A.ON_SAVEBUTTON_CLICK_ID);(0,o.useEffect)((()=>{de&&(setTimeout((()=>he(de))),ce(""))}),[de]);const fe=(0,o.useCallback)((e=>{(e.ctrlKey||e.metaKey)&&83===e.keyCode&&(e.preventDefault(),ce(w))}),[he]);(0,o.useEffect)((()=>(document.addEventListener("keydown",fe),()=>{document.removeEventListener("keydown",fe)})),[fe]);const Re=(0,o.useCallback)((e=>{const t=e.data.operation,a=e.data.action;t===T.Ru.APPLICATION_ACTION&&"save_email"===a&&ce(w)}),[he]);(0,g.A)(Re),(0,o.useEffect)((()=>{e.isNew&&re.isSuccess&&(ne(!0),$(p.GY.util.upsertQueryData("getEmail",re.data.id,{...re.data,lock:e.lock,isAmp:e.isAmp,subject:e.subject,preheader:e.preheader,description:e.description,html:(null===M||void 0===M?void 0:M.getValue())||"",project:e.project,tags:e.tags,utm_parameters:e.utm_parameters,parent_email:e.parent_email,common_styles:e.common_styles,renderGuid:e.renderGuid,is_inited:e.is_inited,isNew:!1})).then((()=>{G(`/projects/${re.data.project}/emails/${re.data.id}`),ne(!1),de&&D.success({id:"EMAIL_SAVING_SUCCESS",message:L("The email was successfully saved."),data:(0,s.Gy)(e)})})))}),[G,$,re,e.isNew,L,x,de,M]);const ye=(0,I._q)(k.A.ON_EMAIL_INIT_ID);(0,o.useEffect)((()=>{let e=0;const t=ye((()=>{e=setTimeout((()=>z(!0)),1e4)}));return()=>{e&&clearTimeout(e),t.dispose()}}),[z,ye]),(0,o.useEffect)((()=>{e.isNew&&!K&&q&&(he(),z(!1))}),[q,e,he,K]);const Ce=oe.isLoading||(null===le||void 0===le?void 0:le.isLoading)||re.isLoading||se||a&&a.isLoading,be=V.saveButtonEnabled&&(0,S.jsx)(i.A,{title:L(X?"Save by \u2318S":"Save by Ctrl+S"),placement:"bottom",children:(0,S.jsx)(r.Ay,{type:V.nextButtonEnabled?"default":"primary",block:"false",className:"em-analytics__email-save",loading:Ce,icon:(0,S.jsx)(n.A,{}),onClick:async()=>{const t={...e,html:M.getValue()};try{!1!==await Ee.fire(t)&&ce("SAVE_BUTTON")}catch(a){D.fromError("SAVE_BUTTON_CLICK_EVENT_ERROR",(0,s.Gy)(t),a,!0)}},children:V.saveButtonText||L("Save")})},"save-button"),Ae=V.nextButtonEnabled&&(0,S.jsx)(r.Ay,{type:"primary",block:"false",className:"em-analytics__email-save",icon:V.primaryCommandButtonIcon,loading:Ce,onClick:async()=>{const t={...e,html:M.getValue()};try{!1!==await ge.fire(t)&&ce("NEXT_BUTTON")}catch(a){D.fromError("NEXT_BUTTON_CLICK_EVENT_ERROR",(0,s.Gy)(t),a,!0)}},children:V.nextButtonText||L("Continue")},"next-button");return(0,S.jsx)(S.Fragment,{children:V.saveButtonEnabled&&V.nextButtonEnabled?(0,S.jsx)(l.A,{children:[be,Ae]}):[be,Ae]})};G.defaultProps={email:null,isEditableRights:null};const L=G}}]);
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[1481,6453],{90854:(e,t,r)=>{r.d(t,{A6:()=>l,AH:()=>d,BF:()=>m,Cn:()=>y,Lv:()=>b,M6:()=>u,ST:()=>f,TM:()=>o,b6:()=>S,d1:()=>x,ih:()=>v,ir:()=>w,rq:()=>A,uE:()=>c,uL:()=>T,vq:()=>a,wz:()=>p});const n=new Set(["area","br","col","embed","hr","img","input","link","meta","param"]);function o(e){return"<!DOCTYPE "+e.name+(e.publicId?' PUBLIC "'+e.publicId+'"':"")+(!e.publicId&&e.systemId?" SYSTEM":"")+(e.systemId?' "'+e.systemId+'"':"")+">"}const s=Object.create(null);function i(e,t){const r=s[e]||(s[e]=Object.create(null));let n=r[t];if("boolean"!==typeof n){const o=document.createElement(e)[t.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g,((e,t)=>t.toUpperCase()))];n=r[t]="undefined"!==typeof o&&"boolean"!==typeof o}return n}function a(e){return e.nodeType===Node.ELEMENT_NODE}function c(e){return a(e)&&!e.ownerSVGElement}function l(e){return"IMG"===e.tagName}function u(e){return"AMP-IMG"===e.tagName}function m(e){return"FORM"===e.tagName}function f(e){return"STYLE"===e.tagName}function p(e){return e.nodeType===Node.DOCUMENT_NODE}let d;var h;function y(e){return e.nodeType===Node.COMMENT_NODE}(h=d||(d={})).isStyleRule=function(e){return"CSSStyleRule"===e.constructor.name},h.isImportRule=function(e){return"CSSImportRule"===e.constructor.name},h.isMediaRule=function(e){return"CSSMediaRule"===e.constructor.name},h.isFontFaceRule=function(e){return"CSSFontFaceRule"===e.constructor.name},h.isPageRule=function(e){return"CSSPageRule"===e.constructor.name},h.isKeyframesRule=function(e){return"CSSKeyframesRule"===e.constructor.name},h.isKeyframeRuleRule=function(e){return"CSSKeyframeRule"===e.constructor.name},h.isNamespaceRule=function(e){return"CSSNamespaceRule"===e.constructor.name},h.isCounterStyleRule=function(e){return"CSSCounterStyleRule"===e.constructor.name},h.isSupportsRule=function(e){return"CSSSupportsRule"===e.constructor.name},h.isFontFeatureValuesRuleRule=function(e){return"CSSFontFeatureValuesRule"===e.constructor.name};const g=/(<!(--)?\[if\s[()\w\s|&!]+\]>(?:<!--+>)?)((?:.|\r|\n)*?)((?:<!--)?<!\[endif\]\2>)/gi;function v(e){const t=S(e).matchAll(g);if(t)for(const r of t){const[,e,,t,n]=r;return{open:e,close:n,content:t}}}function w(e){return e.nodeType===Node.TEXT_NODE}function b(e){return"TABLE"===e.tagName}async function A(e,t=5e3){return"undefined"===typeof e.complete||e.complete?getComputedStyle(e):new Promise(((r,n)=>{setTimeout(r,t),e.onload=()=>r(getComputedStyle(e)),e.onerror=e=>console.log(e)}))}function S(e){if(a(e))return function(e){var t;const r=(null===(t=Object.getOwnPropertyDescriptor(e,"$$tagName"))||void 0===t?void 0:t.value)||e.tagName.toLowerCase(),o=function(e){const t=e.tagName.toLowerCase();let r="";for(const n of e.attributes){const e=n.name,o=n.value;r+=""!==o||"em"===e||i(t,e)?` ${e}="${o.replaceAll('"',"'")}"`:` ${e}`}return r}(e);return n.has(r.toLowerCase())?`<${r}${o}>`:f(e)?`<${r}${o}>${e.innerHTML}</${r}>`:`<${r}${o}>${T(e)}</${r}>`}(e);if(p(e))return[...e.childNodes].map((e=>S(e))).join("");if(function(e){return e.nodeType===Node.DOCUMENT_TYPE_NODE}(e))return o(e);const t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}function T(e){let t="";for(const r of e.childNodes)t+=S(r);return t}function x(e,t){for(const s of e.childNodes)s.remove();let r=t.find((e=>function(e){return"HTML"===e.tagName}(e))),n=t.find((e=>function(e){return"BODY"===e.tagName}(e))),o=e;r||(r=e.createElement("html"),e.appendChild(r),o=r,n||(n=e.createElement("body"),r.appendChild(n),o=n));for(const s of t)o===e&&w(s)?o.appendChild(e.createComment(`%%%{{{${s.data}}}}%%%`)):o.appendChild(s)}},84007:(e,t,r)=>{r.d(t,{$$:()=>m,Os:()=>l});var n=r(16799),o=r(8357),s=r(61704);const i=["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr"],a=new n.H(i),c=new o.X(a);function l(e,t,r){try{e.setAttribute(t,r)}catch{let n=e.tagName.toLowerCase();"html"===n&&(n="div");const o=`<${n} ${t}="${r}"/>`;let s=function(e){let t;switch(null===e||void 0===e?void 0:e.toLowerCase()){case"tr":t=document.createElement("table");break;case"td":t=document.createElement("tr");break;case"head":case"body":t=document.createElement("html");break;case"DocumentType":case"html":{const e=document.implementation.createHTMLDocument();for(const t of[...e.childNodes])t.remove();return e}default:t=document.createElement("div")}return t}(n);if(s instanceof Document)return;s.innerHTML=o;const i=s.querySelector(n);if(!i)throw new Error("targetElement is not defined");const a=i.getAttributeNode(t);a&&e.setAttributeNode(a.cloneNode())}}function u(e,t=!0){let r=e.content;switch(e.type){case s.Z.ROOT:{const r=document.implementation.createHTMLDocument();for(const e of[...r.childNodes])r.removeChild(e);if(t)for(const t of e.children)r.appendChild(u(t));return r}case s.Z.DOCTYPE:return(new DOMParser).parseFromString(`<!DOCTYPE${e.content}>`,"text/html").doctype;case s.Z.COMMENT:return document.createComment(r||"");case s.Z.ELEMENT:if(e.tag){const r=document.createElement(e.tag);if(Object.defineProperty(r,"$$tagName",{enumerable:!1,configurable:!1,value:e.tag}),e.attributes)for(const t of e.attributeNames){const o=e.attributes[t];try{l(r,t,"string"===typeof o?o:"")}catch(n){}}if(t)for(const t of e.children)r.appendChild(u(t));return r}return document.createTextNode("<");case s.Z.HTML:return function(e){if(e){const t=document.createElement("div");return t.insertAdjacentHTML("afterbegin",e),t.firstChild||document.createTextNode("")}return document.createTextNode("")}(r||"");default:throw new Error("unsupported node")}}function m(e){var t;return(t=e,c.parse(t)).roots.map((e=>u(e)))}},26453:(e,t,r)=>{r.d(t,{Km:()=>P,Sc:()=>R,Nh:()=>T});var n=r(90854),o=r(84007),s=r(74851),i=r(97717);const a="amp-custom";function c(e,t,r){for(const o of t)if(n.AH.isStyleRule(o)){const t=o.selectorText.split(/\+>~/).flatMap((e=>e.trim().split(" ")));if(1===t.length&&t[0].trim().startsWith(".em-"))for(const s of o.style){if("important"===o.style.getPropertyPriority(s))for(const t of e.querySelectorAll(o.selectorText))if((0,n.uE)(t)){const e=t.style;for(const n of[...e])if(n.startsWith(s)){const o=r(n,e.getPropertyValue(n)),s=t.getAttribute("class");t.setAttribute("class",s?`${o} ${s}`:o),e.removeProperty(n)}}}}else n.AH.isMediaRule(o)&&c(e,o.cssRules,r)}function l(e,t){const r=t.sheet;if(r){const o=new Set;c(e,r.cssRules,((e,s)=>{const i=function(e,t){return`em-${e.replaceAll("-","_")}-${t.toLowerCase()}`}(e,s),a=[...r.cssRules],c=`.${i} { ${e}: ${s} }`;return a.find((e=>n.AH.isStyleRule(e)&&e.selectorText===`.${i}`))||o.has(c)||(o.add(c),t.innerHTML=`\n.${i} { ${e}: ${s} };\n${t.innerHTML}`),i})),o.size&&(t.innerHTML=`\n${[...o].join("\n")};\n${t.innerHTML}`)}else console.log("sheet not initialized");const o=t.innerHTML,s=o.replace(/!important/g,"");o!==s&&(t.innerHTML=s)}const u='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">',m="<!doctype html>";async function f(e,t={}){const r=document.createElement("amp-img"),s=await(0,n.rq)(e)||void 0;let a=[];try{let c=e;for(;c&&(0,n.uE)(c);){const e=getComputedStyle(c);"none"===(null===e||void 0===e?void 0:e.display)&&(c.style.display="initial",a.push([c,c.style.display])),c=c.parentElement}const l=null!==s&&void 0!==s&&s.height?`${parseInt(s.height)}`:"",u=null!==s&&void 0!==s&&s.width?`${parseInt(s.width)}`:"",m=(0,i.xm)(e);let f=!1;if(m){let t=m.getAttribute("width");try{let r=u?`${u}px`:"";t||(m.setAttribute("width","720px"),r=getComputedStyle(e).width||""),m.setAttribute("width",!t||parseInt(t)>320?"320px":"720px"),r!==(getComputedStyle(e).width||"")&&(f=!0)}finally{t&&m.setAttribute("width",t||"")}}const p=e.src||e.srcset.split(",")[0];"100%"===e.style.width&&e.style.removeProperty("width"),"100%"===e.style.maxWidth&&e.style.removeProperty("max-width"),t={...(0,i.gu)(e),alt:e.alt,width:u,height:l,src:p,layout:f?"responsive":"fixed",...t};for(const e of Object.keys(t))(0,o.Os)(r,e,t[e])}finally{for(const[e,t]of a)e.style.display=t}return r}function p(e){const t=document.createElement("img"),{layout:r,height:n,...s}=(0,i.gu)(e),a="responsive"===r;for(const i of Object.keys(s))(0,o.Os)(t,i,s[i]);return a&&(t.style.maxWidth=s.width||"0px",t.style.width="100%"),t}var d=r(59896),h=r(91981),y=r(91391);var g=r(80424);const v=new Map;const w=new Map;const b="$GLOBAL_ATTRS",A=new Map;async function S(){if(!A.size){var e;const t=null===(e=(await(0,g.F)()).attrLists.find((e=>e.name===b)))||void 0===e?void 0:e.attrs;if(t)for(const e of t)A.set(e.name,e)}return A}function T(e){var t;return(0,n.vq)(e)&&(e.tagName.startsWith("AMP")||"FORM"===e.tagName||"TEMPLATE"===e.tagName&&"amp-mustache"===(null===(t=e.getAttribute("type"))||void 0===t?void 0:t.toLowerCase()))}function x(e,t,r){var o,s,i;if(t)if((0,n.vq)(e))switch(e.tagName.toLowerCase()){case"body":case r("script"):case"style":case"meta":case"title":return;case"head":case"html":c();break;default:a()||c()}else(0,n.wz)(e)?c():(0,n.ir)(e)&&(null!==(o=e.textContent)&&void 0!==o&&o.trim()||null!==(s=e.nextSibling)&&void 0!==s&&null!==(i=s.textContent)&&void 0!==i&&i.trim()&&(0,n.ir)(e.nextSibling))&&a();function a(){const r=t.compareDocumentPosition(e);if(!(8&r)){if(2&r)return t.insertBefore(e,t.firstChild),!0;if(4&r)return t.appendChild(e),!0}return!1}function c(){const n=[...e.childNodes];for(let e=n.length-1;e>=0;e--)x(n[e],t,r)}}async function C(e,t){const r=new Set,c=e=>t.replaceSelectors(e.toLowerCase());if(t.replaceImages&&await async function(e){const t=e.querySelectorAll("img");for(const n of t)n.replaceWith(await f(n));const r=e.querySelectorAll("picture");for(const n of r){const e=n.querySelector("img");if(e){const t=await f(e);n.replaceWith(t)}else n.remove()}}(e),t.injectExtensions){const T=t.replaceSelectors(y.Vq);if(!e.querySelector(T)){const C=t.createElementFn("script");C.setAttribute("src",y.zq),C.setAttribute("async","");(0,i.xy)(e).appendChild(C)}}t.injectRequiredTags&&((0,h.y)(e,t.createElementFn,c),function(e){const t=e.doctype;if(t){if((0,n.TM)(t)===m)return;const r=(new DOMParser).parseFromString(m,"text/html").doctype;e.replaceChild(r,t)}else{const t=(new DOMParser).parseFromString(m,"text/html").doctype;e.insertBefore(t,e.firstChild)}}(e),(0,s.R)(e),(0,d.C)(e)),t.replaceStylesAndLinks&&function(e){const t=(0,i.xy)(e),r=e.querySelectorAll('link[rel="stylesheet"]'),n=[...e.querySelectorAll("style")].filter((e=>!e.hasAttribute("amp4email-boilerplate")));if(1===n.length){const r=n[0];if(r.parentElement===t&&""===r.getAttribute(a))return void l(e,r)}let o=[];for(const s of n)o.push(s.innerHTML),s.remove();if(o.length){const r=e.createElement("style");r.innerHTML=`\n${o.join("")}\n`,r.setAttribute(a,""),t.append(r),l(e,r)}for(const s of r)s.remove()}(e);const u=await(0,g.F)(),p=await async function(){if(!v.size){const e=await(0,g.F)(),t=e.tags;for(let r=0;r<t.length;r++){const n=t[r],{selector:o,attrs:s,attrLists:i}=n,a=(null===i||void 0===i?void 0:i.flatMap((t=>e.attrLists.filter((({name:e})=>e===t)).flatMap((e=>e.attrs)))))||[];v.set(o,{...n,priority:r,attrs:new Map([...s,...a].map((e=>[e.name,e])))})}}return v}(),b=new Set(t.removeUnsupportedTags?e.querySelectorAll("*"):[]),A=new Map;for(let[E,R]of p)if(!R.deprecation){E=c(E);let P=[...e.querySelectorAll(E)].filter((e=>!A.has(e)));R.unique&&P.length&&(P=[P[0]]),t.injectRequiredTags&&R.required&&!P.length&&(P=[...P,t.createElementFn(R.name)]);for(const $ of P){if(t.injectRequiredAttributes&&$.getAttribute("on")&&!$.getAttribute("tabindex")&&$.setAttribute("tabindex","0"),t.removeUnsupportedStyles){let N=!1;for(const M of[...$.classList])M.startsWith("i-amphtml")&&(N=!0,$.classList.remove(M));N&&!$.classList.length&&$.removeAttribute("class")}const L=A.get($);L&&L.priority>R.priority||A.set($,R)}}for(let[O,q]of A){if(t.injectExtensions&&q.requiresExtension)for(const F of q.requiresExtension)r.add(F);const H=q.requiredParent?"$ROOT"===q.requiredParent?e:e.querySelector(q.requiredParent):null;!H||O.parentNode&&!t.moveInvalidTagPosition?O.parentNode||e.body.appendChild(O):H!==O.parentNode&&("HEAD"===q.name||(0,n.vq)(H)&&"HEAD"===H.tagName?H.insertBefore(O,H.firstChild):H.appendChild(O)),t.removeUnsupportedTags&&b.delete(O);const D=await S();if(t.removeUnsupportedAttributes||t.injectRequiredAttributes){const I=q.attrs,k=t.injectRequiredAttributes?new Set([...I].map((([e,t])=>t)).filter((e=>e.required&&e.value))):void 0,j=O.getAttributeNames();for(const U of j){const W=I.get(U)||D.get(U);if(W){if("id"===U||"class"===U||"style"===U){null===k||void 0===k||k.delete(W);continue}if(t.removeUnsupportedAttributes){const z=O.getAttribute(U);if(W.value&&W.value.indexOf(z)<0){O.removeAttribute(U);continue}if(W.valueRegex){if(!new RegExp(W.valueRegex).test(z)){O.removeAttribute(U);continue}}if(W.disallowedValueRegex){if(new RegExp(W.disallowedValueRegex).test(z)){O.removeAttribute(U);continue}}const _=W.valueUrl;if(_)if(""===z){if(!_.allowEmpty){O.removeAttribute(U);continue}}else if(z.indexOf("\x3c!--")>0&&z.indexOf("--\x3e")>0);else if(!_.allowRelative){if(z.startsWith("#")||z.startsWith("/")){O.removeAttribute(U);continue}{const B=_.protocol.length?_.protocol:["https"];let Q=z.substring(0,z.indexOf(":"));if(Q){if(B.indexOf(Q)<0){let V=B[0]+z.substring(z.indexOf(":"));if(!URL.canParse(V)){O.removeAttribute(U);continue}(0,o.Os)(O,U,V)}else if(!URL.canParse(z)){O.removeAttribute(U);continue}}else{let Y=B[0]+z;if(!URL.canParse(Y)){O.removeAttribute(U);continue}(0,o.Os)(O,U,Y)}}}}null===k||void 0===k||k.delete(W)}else{if("id"===U||"class"===U||"style"===U)continue;t.removeUnsupportedAttributes&&O.removeAttribute(U)}}if(k)for(const Z of k)(0,o.Os)(O,Z.name,Z.value[0])}}t.moveInvalidTagPosition&&x(e,e.body,c);for(const K of b)K.remove();if(t.removeUnsupportedStyles){const G=e.querySelectorAll("*"),X=await async function(){if(!w.size){const e=await(0,g.F)();for(const t of e.declarations)w.set(t.name,t)}return w}();function J(e){const t=e.cssText.replaceAll(/\".*\"/g,"").replaceAll(/\'.*\'/g,"").replaceAll(/\/\*.*\*\/|(-moz-|-ms-|-o-|-webkit-)+\w+(?=:)/g,"").match(/[a-z-]+(?=:[^before|after|hover])/gi)||[];for(const r of t){if(!r)continue;const t=e.getPropertyValue(r);"important"===e.getPropertyPriority(r)&&e.setProperty(r,t);const n=X.get(r);if(n){if(n.value)n.value.indexOf(t)<0&&e.removeProperty(r);else if(n.valueRegex){new RegExp(n.valueRegex).test(t)||e.removeProperty(r)}}else e.removeProperty(r)}}function ee(e){return"CSSStyleRule"===e.constructor.name}function te(e){return"CSSMediaRule"===e.constructor.name}function re(e){const t=e.cssRules;for(let r=t.length-1;r>=0;r--){const n=t[r];ee(n)?n.selectorText.indexOf("[")>=0||n.selectorText.indexOf(":")>=0?e.deleteRule(r):(J(n.style),n.style.cssText||e.deleteRule(r)):te(n)?(re(n),n.cssRules.length||e.deleteRule(r)):e.deleteRule(r)}}for(const oe of G)if((0,n.uE)(oe)){const se=oe.getAttribute("style");se&&(J(oe.style),oe.style.length?oe.style.cssText!==se&&oe.setAttribute("style",oe.style.cssText):oe.removeAttribute("style"))}const ne=e.querySelector("style[amp-custom]");if(ne){const ie=ne.sheet;ie&&(re(ie),ne.innerHTML=[...ie.cssRules].map((e=>e.cssText)).join("\n"))}}await async function(e,t,r){for(const{name:s,versions:a}of t){const t=r.replaceSelectors("amp-mustache"===s?`script[async][custom-template='${s}']`:`script[async][custom-element='${s}']`);if(!e.querySelector(t)){const t=(0,i.xy)(e),c=r.createElementFn("script"),l=(n=s,o=a.findLast((e=>"latest"!==e))||"v0",`${y.gP}/${n.toLowerCase()}-${o}.js`);c.setAttribute("async",""),c.setAttribute("amp-mustache"===s?"custom-template":"custom-element",s),c.setAttribute("src",l),t.appendChild(c),t.appendChild(e.createTextNode("\n"))}}var n,o}(e,u.extensions.filter((({name:e})=>r.has(e))),t)}function E(e,t){return Object.keys(t).reduce(((e,r)=>e.replaceAll(r,t[r])),e)}function R(e,t={}){const{correct:r=!0,injectExtensions:n=!0,mappedTags:o={}}=t;return C(e,{replaceImages:r,replaceStylesAndLinks:r,injectRequiredTags:r,injectExtensions:n,formsAsAmpForms:n,injectRequiredAttributes:r,moveInvalidTagPosition:r,removeUnsupportedTags:r,removeUnsupportedAttributes:r,removeUnsupportedStyles:r,createElementFn:t=>e.createElement(o[t.toLowerCase()]||t),replaceSelectors:e=>E(e.toLowerCase(),o)})}function P(e,t={}){const{correct:r=!0,removeExtensions:o=!0,mappedTags:c={}}=t,l=t=>e.createElement(c[t.toLowerCase()]||t),f=e=>E(e,c);if(r){!function(e){const t=e.querySelectorAll("amp-img");for(const r of t)r.replaceWith(p(r))}(e),function(e){const t=e.doctype;if(t&&(0,n.TM)(t).toLowerCase()===m){const r=(new DOMParser).parseFromString(u,"text/html").doctype;e.replaceChild(r,t)}}(e),function(e){const t=e.querySelector(`style[${a}]`);t&&t.removeAttribute(a)}(e),(0,s.C)(e);const t=(0,i.ep)(e);t.removeAttribute("\u26a14email"),t.removeAttribute("data-css-strict")}o&&function(e,t){const r=e.querySelectorAll("*"),n=e.querySelectorAll(t.replaceSelectors("script[src]"));for(const s of n){var o;null!==(o=s.getAttribute("src"))&&void 0!==o&&o.startsWith(y.gP)&&s.remove()}for(const s of r)T(s)&&"FORM"!==s.tagName&&s.remove()}(e,{formsAsAmpForms:t.removeExtensions,createElementFn:l,replaceSelectors:f})}},7205:(e,t,r)=>{r.d(t,{A:()=>a});const n=(e,t)=>t.some((t=>t instanceof RegExp?t.test(e):t===e)),o=new Set(["https:","http:","file:"]),s=e=>{try{const{protocol:t}=new URL(e);return t.endsWith(":")&&!t.includes(".")&&!o.has(t)}catch{return!1}},i=(e,{stripHash:t})=>{var r,n;const o=/^data:(?<type>[^,]*?),(?<data>[^#]*?)(?:#(?<hash>.*))?$/.exec(e);if(!o)throw new Error(`Invalid URL: ${e}`);let{type:s,data:i,hash:a}=o.groups;const c=s.split(";");a=t?"":a;let l=!1;"base64"===c[c.length-1]&&(c.pop(),l=!0);const u=null!==(r=null===(n=c.shift())||void 0===n?void 0:n.toLowerCase())&&void 0!==r?r:"",m=[...c.map((e=>{let[t,r=""]=e.split("=").map((e=>e.trim()));return"charset"===t&&(r=r.toLowerCase(),"us-ascii"===r)?"":`${t}${r?`=${r}`:""}`})).filter(Boolean)];return l&&m.push("base64"),(m.length>0||u&&"text/plain"!==u)&&m.unshift(u),`data:${m.join(";")},${l?i.trim():i}${a?`#${a}`:""}`};function a(e,t){if("string"!==typeof(t={defaultProtocol:"http",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,removeExplicitPort:!1,sortQueryParameters:!0,...t}).defaultProtocol||t.defaultProtocol.endsWith(":")||(t.defaultProtocol=`${t.defaultProtocol}:`),e=e.trim(),/^data:/i.test(e))return i(e,t);if(s(e))return e;const r=e.startsWith("//");!r&&/^\.*\//.test(e)||(e=e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,t.defaultProtocol));const o=new URL(e);if(t.forceHttp&&t.forceHttps)throw new Error("The `forceHttp` and `forceHttps` options cannot be used together");if(t.forceHttp&&"https:"===o.protocol&&(o.protocol="http:"),t.forceHttps&&"http:"===o.protocol&&(o.protocol="https:"),t.stripAuthentication&&(o.username="",o.password=""),t.stripHash?o.hash="":t.stripTextFragment&&(o.hash=o.hash.replace(/#?:~:text.*?$/i,"")),o.pathname){const e=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g;let t=0,r="";for(;;){const n=e.exec(o.pathname);if(!n)break;const s=n[0],i=n.index;r+=o.pathname.slice(t,i).replace(/\/{2,}/g,"/"),r+=s,t=i+s.length}r+=o.pathname.slice(t,o.pathname.length).replace(/\/{2,}/g,"/"),o.pathname=r}if(o.pathname)try{o.pathname=decodeURI(o.pathname)}catch{}if(!0===t.removeDirectoryIndex&&(t.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(t.removeDirectoryIndex)&&t.removeDirectoryIndex.length>0){let e=o.pathname.split("/");const r=e[e.length-1];n(r,t.removeDirectoryIndex)&&(e=e.slice(0,-1),o.pathname=e.slice(1).join("/")+"/")}if(o.hostname&&(o.hostname=o.hostname.replace(/\.$/,""),t.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(o.hostname)&&(o.hostname=o.hostname.replace(/^www\./,""))),Array.isArray(t.removeQueryParameters))for(const s of[...o.searchParams.keys()])n(s,t.removeQueryParameters)&&o.searchParams.delete(s);if(Array.isArray(t.keepQueryParameters)||!0!==t.removeQueryParameters||(o.search=""),Array.isArray(t.keepQueryParameters)&&t.keepQueryParameters.length>0)for(const s of[...o.searchParams.keys()])n(s,t.keepQueryParameters)||o.searchParams.delete(s);if(t.sortQueryParameters){o.searchParams.sort();try{o.search=decodeURIComponent(o.search)}catch{}}t.removeTrailingSlash&&(o.pathname=o.pathname.replace(/\/$/,"")),t.removeExplicitPort&&o.port&&(o.port="");const a=e;return e=o.toString(),t.removeSingleSlash||"/"!==o.pathname||a.endsWith("/")||""!==o.hash||(e=e.replace(/\/$/,"")),(t.removeTrailingSlash||"/"===o.pathname)&&""===o.hash&&t.removeSingleSlash&&(e=e.replace(/\/$/,"")),r&&!t.normalizeProtocol&&(e=e.replace(/^http:\/\//,"//")),t.stripProtocol&&(e=e.replace(/^(?:https?:)?\/\//,"")),e}}}]);
@@ -1 +1 @@
1
- (globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[1821],{88647:(t,e,n)=>{"use strict";n.d(e,{h:()=>s});var i,d=n(92810);function a(){return a=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},a.apply(null,arguments)}function r({title:t,titleId:e,...n},r){return d.createElement("svg",a({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",ref:r,"aria-labelledby":e},n),t?d.createElement("title",{id:e},t):null,i||(i=d.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 s=d.forwardRef(r);n.p},79154:(t,e,n)=>{"use strict";n.d(e,{h:()=>s});var i,d=n(92810);function a(){return a=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},a.apply(null,arguments)}function r({title:t,titleId:e,...n},r){return d.createElement("svg",a({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 14 14",ref:r,"aria-labelledby":e},n),t?d.createElement("title",{id:e},t):null,i||(i=d.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 s=d.forwardRef(r);n.p},40829:t=>{t.exports=({__:t})=>`<style em="styles">\n amp-accordion > section > * {\n background: none !important;\n padding: 0 !important;\n border: none !important;\n overflow: visible !important;\n }\n</style>\n<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td>\n <amp-accordion disable-session-states animate expand-single-section>\n <section>\n <div>\n <table cellpadding="0" cellspacing="0" border="0" width="100%">\n <tr>\n <td style="padding: 10px 0; border-bottom: 1px solid #CCCCCC;">\n <div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5A5A5A;"><strong>${t("Section title")}</strong></div>\n </td>\n </tr>\n </table>\n </div>\n <div>\n <table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom">\n <tr>\n <td style="padding: 10px 0;">\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 </div>\n </section>\n </amp-accordion>\n</td></tr></table>`},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>`},78588:t=>{t.exports=({__:t})=>`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td>\n <amp-carousel width="800" height="600" layout="responsive" type="slides" controls>\n <amp-img src="${t("https://cdn.useblocks.io/1351/241031_18_JoH0f3E.png")}" width="800" height="600" layout="responsive" alt=""></amp-img>\n <amp-img src="${t("https://cdn.useblocks.io/1351/241031_18_aJAY1Xz.png")}" width="800" height="600" layout="responsive" alt=""></amp-img>\n <amp-img src="${t("https://cdn.useblocks.io/1351/241031_18_OQEyMEF.png")}" width="800" height="600" layout="responsive" alt=""></amp-img>\n </amp-carousel>\n</td></tr></table>`},59817:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const i=new Date,d=new Date(+i+432e6).toISOString(),a=-(new Date).getTimezoneOffset()/60,r=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=${d}&timezone=${a}&frames=20" 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=${d}&timezone=${a}&frames=20`)(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.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.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>`},19032:(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.p+"static/media/tg.png",n.p+"static/media/yt.png",n.p+"static/media/vk.png",n.p+"static/media/yd.png",n.p+"static/media/tw.png",n.p+"static/media/ig.png",n.p+"static/media/fb.png"].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.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>'},47520:(t,e,n)=>{"use strict";n.d(e,{AO:()=>j,Ai:()=>b,NW:()=>B,RM:()=>m,TW:()=>O,Ze:()=>M,ok:()=>D,xc:()=>N,yy:()=>S});n(92810);var i=n(81662),d=n(7228),a=n(9588),r=n(37517),s=n(73035),l=n(27071),o=n(86657),c=n(85163),p=n(70082);const m=({linkProtocol:t})=>{switch(t){case"https://":default:return(0,p.jsx)(d.A,{rev:""});case"mailto:":return(0,p.jsx)(a.A,{rev:""});case"tel:":return(0,p.jsx)(r.A,{rev:""});case"sms:":return(0,p.jsx)(s.A,{rev:""});case"ftp://":return(0,p.jsx)(l.A,{rev:""});case"skype:":return(0,p.jsx)(o.A,{rev:""})}},b=({handleLinkProtocolsChange:t,linkProtocol:e,__:n})=>(0,p.jsx)(i.A,{style:{width:90,textAlign:"left"},value:e,onChange:t,getPopupContainer:t=>t.parentNode,options:[{value:"https://",label:n("Site")},{value:"mailto:",label:n("E-mail")},{value:"tel:",label:n("Phone")},{value:"sms:",label:n("SMS")},{value:"ftp://",label:n("File")},{value:"skype:",label:n("Skype")},{value:"viber:",label:n("Viber")},{value:"",label:n("Other")}]}),{mobileBorderRadiusAll:u,mobileRadiusTopLeft:g,mobileRadiusBottomLeft:h,mobileRadiusTopRight:f,mobileRadiusBottomRight:v,borderRadiusBottomRight:w,borderRadiusTopRight:x,borderRadiusBottomLeft:y,borderRadiusTopLeft:A,alt:R,src:_,title:E,link:k,borderRadiusAll:I,imgReplacer:T,expanded:C}={link:"link",borderRadiusBottomRight:"borderRadiusBottomRight",borderRadiusTopRight:"borderRadiusTopRight",borderRadiusBottomLeft:"borderRadiusBottomLeft",borderRadiusTopLeft:"borderRadiusTopLeft",mobileBorderRadiusAll:"mobileBorderRadiusAll",mobileRadiusTopLeft:"mobileRadiusTopLeft",mobileRadiusBottomLeft:"mobileRadiusBottomLeft",mobileRadiusTopRight:"mobileRadiusTopRight",mobileRadiusBottomRight:"mobileRadiusBottomRight",alt:"alt",imgReplacer:"imgReplacer",src:"src",title:"title",borderRadiusAll:"borderRadiusAll",expanded:"expanded"},S={paddingTop:"top",paddingLeft:"left",paddingRight:"right",paddingBottom:"bottom",mobilePaddingTop:"top",mobilePaddingLeft:"left",mobilePaddingRight:"right",mobilePaddingBottom:"bottom"},L={borderRadiusAll:"all",borderRadiusTopLeft:"topLeft",borderRadiusBottomLeft:"bottomLeft",borderRadiusTopRight:"topRight",borderRadiusBottomRight:"bottomRight"},B={mobileBorderRadiusAll:"all",mobileRadiusTopLeft:"topLeft",mobileRadiusBottomLeft:"bottomLeft",mobileRadiusTopRight:"topRight",mobileRadiusBottomRight:"bottomRight"},O=(t,e)=>t.startsWith("mailto:")?"mailto:":t.startsWith("tel:")?"tel:":t.startsWith("sms:")?"sms:":t.startsWith("ftp://")?"ftp://":t.startsWith("skype:")?"skype:":t.startsWith("viber:")?"viber:":e,D=t=>t||(0===t?"0":""),N=t=>t&&"auto"!==t?t:0===t?"0":"";function j(t){var e,n,i,d,a,r,s,l,o,c,p,m,b,u,g,h,f,v,w,x;let y={...t,link:t.link?t.link:"https://",borderRadiusAll:D(null===(e=t.borderRadius)||void 0===e?void 0:e.all),borderRadiusTopLeft:D(null===(n=t.borderRadius)||void 0===n?void 0:n.topLeft),borderRadiusBottomLeft:D(null===(i=t.borderRadius)||void 0===i?void 0:i.bottomLeft),borderRadiusTopRight:D(null===(d=t.borderRadius)||void 0===d?void 0:d.topRight),borderRadiusBottomRight:D(null===(a=t.borderRadius)||void 0===a?void 0:a.bottomRight),mobileBorderRadiusAll:D(null===(r=t.mobileBorderRadius)||void 0===r?void 0:r.all),mobileRadiusTopLeft:D(null!==(null===(s=t.mobileBorderRadius)||void 0===s?void 0:s.topLeft)?null===(l=t.mobileBorderRadius)||void 0===l?void 0:l.topLeft:null===(o=t.mobileBorderRadius)||void 0===o?void 0:o.all),mobileRadiusBottomLeft:D(null!==(null===(c=t.mobileBorderRadius)||void 0===c?void 0:c.bottomLeft)?null===(p=t.mobileBorderRadius)||void 0===p?void 0:p.bottomLeft:null===(m=t.mobileBorderRadius)||void 0===m?void 0:m.all),mobileRadiusTopRight:D(null!==(null===(b=t.mobileBorderRadius)||void 0===b?void 0:b.topRight)?null===(u=t.mobileBorderRadius)||void 0===u?void 0:u.topRight:null===(g=t.mobileBorderRadius)||void 0===g?void 0:g.all),mobileRadiusBottomRight:D(null!==(null===(h=t.mobileBorderRadius)||void 0===h?void 0:h.bottomRight)?null===(f=t.mobileBorderRadius)||void 0===f?void 0:f.bottomRight:null===(v=t.mobileBorderRadius)||void 0===v?void 0:v.all),show:t.show?t.show:"all",altSrc:t.src};var A,R;t.video&&(y.videoPlayButton=null!==(A=t.video.playButton)&&void 0!==A?A:"youtube_red",y.videoSource=null!==(R=t.video.source)&&void 0!==R?R:"");if((null===(w=t.carouselImages)||void 0===w?void 0:w.length)>0){var _;let e={};null===(_=t.carouselImages)||void 0===_||_.map(((t,n)=>(Object.keys(t).forEach((i=>{e[i+"_"+n]=t[i]})),!0))),y.images=e}if((null===(x=t.sections)||void 0===x?void 0:x.length)>0){var E;let e=[];null===(E=t.sections)||void 0===E||E.map(((t,n)=>(e.push({[`expanded_${n}`]:t.expanded}),!0))),y.sections=e}return y}function M(t,e,n){const i=n.hasOwnProperty("images"),d=n.hasOwnProperty("sections"),a=Object.keys(i?n.images:d?n.sections:n)[0],r=i?n.images:d?n.sections:n;let s={};const l=e.getFieldsValue(!0);switch(a.split("_")[0]){case E:case _:case R:case T:if(i){let e=[...t.carouselImages];e[a.split("_")[1]][a.split("_")[0]]=r[a],s={carouselImages:e}}else s=r;break;case C:if(d){let e=[...t.sections];e[a.split("_")[1]][a.split("_")[0]]=r[a],s={sections:e}}break;case k:let n=r[a];"https://http"===n.substring(0,12)&&(n=n.substring(8,n.length)),t.type===c.bV.CAROUSEL?(s.carouselImages=t.carouselImages,i?(e.setFieldValue(["images",[k+"_"+a.split("_")[1]]],n),s.carouselImages[a.split("_")[1]].link=n,s.link="",e.setFieldValue(k,"https://")):(t.carouselImages.forEach(((t,i)=>{e.setFieldValue(["images",k+"_"+i],n),s.carouselImages[i].link=n,s.link=n})),e.setFieldValue(k,n))):(e.setFieldValue(k,n),s.link=n);break;case I:s={borderRadius:{...t.borderRadius,[L[A]]:l[A],[L[y]]:l[y],[L[x]]:l[x],[L[w]]:l[w],[L[a]]:+r[a]}};break;case A:case y:case x:case w:s={borderRadius:{...t.borderRadius,[L[I]]:null,[L[a]]:+r[a]}};break;case u:case g:case h:case f:case v:s={mobileBorderRadius:{...t.mobileBorderRadius,[B[g]]:l[g],[B[h]]:l[h],[B[f]]:l[f],[B[v]]:l[v],[B[a]]:r[a],classNamePrefix:"em-mob-border_radius_"+B[a]+"-"}};break;default:s=r}return{...t,...s}}},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'},56991:(t,e,n)=>{"use strict";n.d(e,{bD:()=>r,Mu:()=>s,cM:()=>o,rD:()=>l});var i=n(45934),d=n(18398),a=n(71210);function r(t,e){if(t!==e){if(!t||!e||"object"!==typeof t||"object"!==typeof e)return!1;const n=e instanceof Array;if(t instanceof Array){if(!n)return!1;const i=t.length;if(e.length!==i)return!1;for(let n=0;n<i;n++)if(!r(t[n],e[n]))return!1}else if(n)return!1;const i=Object.keys(t),d=Object.keys(e),a=i.length;if(a!==d.length)return!1;for(let s=0;s<a;s++){const n=i[s];if(!e.hasOwnProperty(n)||!r(t[n],e[n]))return!1}}return!0}function s(t){if(t){const{type:e,project:n,isNew:i,id:d}=t;return`/projects/${n}/${"block"===e?"blocks":"emails"}/${i?`new?template=${d}`:d}`}return""}function l(){return(0,i.d4)(d.zg)}function o(t,e,n){return null!==t&&void 0!==t&&t.length?t.map(((t,i)=>function(t){return t.hasOwnProperty("children")}(t)?{key:(0,a.l)(),value:t.value,label:t.label,children:o(t.children,e,n),type:t.type}:{key:(0,a.l)(),label:t.label,value:t.value,onClick:e=>{n(t.value,e.domEvent)}})):void 0}},12264:(t,e,n)=>{"use strict";function i(){const t=new Date;return t.valueOf()-60*t.getTimezoneOffset()*1e3}n.d(e,{N:()=>i})},41664:(t,e,n)=>{"use strict";n.d(e,{Q:()=>d});var i=n(71210);function d(t=(0,i.l)()){return t}},82375:(t,e,n)=>{"use strict";n.d(e,{Q:()=>i});const i=new(n(95152).m)},30725:(t,e,n)=>{"use strict";n.d(e,{p:()=>d});var i=n(23580);function d(t){return(e,n,d,a)=>{const r=(0,i.My)(n);return t(r)(e,n,d,a)}}},77509:(t,e,n)=>{"use strict";n.d(e,{j:()=>i});class i{constructor(t=[]){this._inner=t,this._isDisposed=!1}addDisposable(t){return this._inner.push(t),t instanceof i&&t.addDispose((()=>{this.removeDisposable(t)})),t}addDispose(t){this.addDisposable({dispose:t})}removeDisposable(t){const e=this._inner.indexOf(t);e>=0&&this._inner.splice(e,1)}isDisposed(){return this._isDisposed}dispose(){if(!this._isDisposed){this._isDisposed=!0;for(const t of[...this._inner])t.dispose()}}}},47381:(t,e,n)=>{"use strict";n.d(e,{u:()=>a});var i=n(92810),d=n(56991);const a=()=>{const t=(0,d.rD)();return(0,i.useCallback)(((e,n)=>{!1!==t.pushToGTM&&((t,e)=>{const n=()=>{try{const e={...t,appLabel:"blocks_app"};window.dataLayer&&"function"===typeof window.dataLayer.push?window.dataLayer.push(e):console.log("Attempting to add to the dataLayer:",t)}catch(e){console.error("\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0435 GTM:",e)}};e?setTimeout(n,e):n()})(e,n)}),[t.pushToGTM])}},71210:(t,e,n)=>{"use strict";function i(){var t=(new Date).getTime(),e="undefined"!==typeof performance&&performance.now&&1e3*performance.now()||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(n){var i=16*Math.random();return t>0?(i=(t+i)%16|0,t=Math.floor(t/16)):(i=(e+i)%16|0,e=Math.floor(e/16)),("x"===n?i:3&i|8).toString(16)}))}n.d(e,{l:()=>i})},14004:(t,e,n)=>{"use strict";n.d(e,{i:()=>d});var i=n(44141);const d=async(t,e,n)=>{const d=(0,i.KU)(e).baseUrl.replaceAll(/[\\/]$/g,""),a=(0,i.hI)({baseUrl:d});let r=await a(t,e,n);if(r.error){let t=r.error;if("function"===typeof t.json)try{t=await t.json()}catch{t=await t,console.log("error",t)}return{error:t}}return r}},89698:(t,e,n)=>{"use strict";n.d(e,{V:()=>o});var i=n(85163),d=n(45695),a=n(23287),r=n(92810),s=n(45934),l=n(86286);function o(){const t=(0,d.QC)(),e=(0,s.d4)(l.C1),{__:n}=(0,a.s9)(),[o,c]=(0,r.useState)("");(0,r.useEffect)((()=>{if(e.locale!==o){const d=(0,i.QV)(n),a=t.onInit((()=>{t.send(i.Ru.SANDBOX_TRANSLATIONS,{name:e.locale,data:d}),c(e.locale)}));return()=>a.dispose()}}),[e.locale,o,c,n,t]),(0,r.useEffect)((()=>{const e=t.addListener(i.Ru.RELOAD,(()=>{c("")}));return()=>e.dispose()}),[c,t])}},37969:(t,e,n)=>{"use strict";n.d(e,{y:()=>l});var i=n(85163),d=n(45695),a=n(92810),r=n(70082);const s=Symbol("isIframeEvent");function l({children:t}){const[e,n]=(0,a.useState)(),[l,o]=(0,a.useState)(),[c,p]=(0,a.useState)(!1),m=(0,d.QC)();return(0,a.useEffect)((()=>{if(e){const t=m.addListener(i.Ru.APPLICATION_IFRAME_DRAG_EVENT,(t=>{if("drageleave"!==t.type&&"dragenter"!==t.type){const n=e.getBoundingClientRect(),i=t.clientX+n.x+window.scrollX,d=t.clientY+n.y+window.scrollY,a=document.elementFromPoint(i,d);if(a){const e=new DataTransfer,n=new DragEvent(t.type,{clientX:i,clientY:d,cancelable:!0,bubbles:!0,dataTransfer:e});n[s]=!0,a.dispatchEvent(n)}}}));return()=>t.dispose()}}),[m,e]),(0,a.useEffect)((()=>{const t=t=>{t[s]||p(!0)},e=t=>{t[s]||p(!1)};return window.addEventListener("dragstart",t),window.addEventListener("dragend",e),()=>{window.removeEventListener("dragstart",t),window.removeEventListener("dragend",e)}}),[l]),(0,a.useEffect)((()=>{const t=t=>{if(!t[s]){var e;const n=l.getBoundingClientRect();m.send(i.Ru.SANDBOX_DRAG_EVENT,{value:(null===(e=t.dataTransfer)||void 0===e?void 0:e.getData("Text"))||"",type:t.type,clientX:t.pageX-n.x-window.scrollX,clientY:t.pageY-n.y-window.scrollY})}};if(l)return l.addEventListener("dragenter",t),l.addEventListener("dragover",t),l.addEventListener("dragleave",t),l.addEventListener("drop",t),l.addEventListener("dragend",t),()=>{l.removeEventListener("dragenter",t),l.removeEventListener("dragover",t),l.removeEventListener("dragleave",t),l.removeEventListener("drop",t),l.removeEventListener("dragend",t)}}),[l,m]),(0,r.jsxs)("div",{ref:n,children:[c&&(0,r.jsx)("div",{ref:o,className:"iframe-provider"}),t]})}},43672:(t,e,n)=>{"use strict";n.d(e,{w:()=>o});var i=n(95838),d=n(85163),a=n(56991),r=n(45695),s=n(92810);const{useToken:l}=i.A;function o(){const t=(0,r.QC)(),{token:e}=l(),[n,i]=(0,s.useState)();(0,s.useEffect)((()=>{if(!(0,a.bD)(n,e)){const n=t.onInit((()=>{t.send(d.Ru.SANDBOX_SET_THEME_VARIABLES,e),i(e)}));return()=>n.dispose()}}),[e,n,i,t]),(0,s.useEffect)((()=>{const e=t.addListener(d.Ru.RELOAD,(()=>{i(void 0)}));return()=>e.dispose()}),[i,t])}},38920:(t,e,n)=>{"use strict";n.d(e,{r:()=>x});var i=n(85163),d=n(59287),a=n(92810),r=n(45934),s=n(64617),l=n(17581),o=n(53204),c=n(47358),p=n(65983),m=n(39738),b=n(86286),u=n(56991),g=n(32411),h=n(83863),f=n(71157),v=n(42068),w=n(47381);function x(t){const{emailId:e,projectId:n}=(0,s.g)(),x=(0,f.hN)(),y=(0,u.rD)(),A=(0,r.d4)(o.M),R=(0,g.fn)(),_=(0,a.useRef)(0),E=(0,r.d4)(m.p1),k=(0,r.d4)(c.Wm),I=(0,r.d4)(c.B),T=(0,r.d4)(b.C1),C=(0,w.u)(),[S,L]=(0,l.LX)(),B=(0,r.wA)(),{isSuccess:O,isLoading:D}=(0,l.YV)({emailId:e},{skip:!e}),[N,j]=(0,a.useState)(null);(0,a.useEffect)((()=>{if(O&&!D&&null!==E&&void 0!==E&&E.length){const n=E[0];var e;if(n&&N!==(null===t||void 0===t?void 0:t.id))null!==(e=n.slug)&&void 0!==e&&e.includes("autosave")&&R&&B((0,p.no)(n)),j(null===t||void 0===t?void 0:t.id)}}),[B,E,O,D,null===t||void 0===t?void 0:t.id,N,R,e]);const M=(0,a.useCallback)((({parent:e})=>{if(t){const a={parent:e,title:t.title,author:t.author,project:t.project,html:(null===R||void 0===R?void 0:R.getValue())||"",excerpt:t.date_gmt,subject:t.subject,preheader:t.preheader,common_styles:t.common_styles,parent_email:t.parent_email};S({emailId:t.id,body:a}).then((e=>{if(C({event:"save",action:"auto_save_email",email_id:t.id,project_id:n}),!function(t){return t.hasOwnProperty("data")}(e))throw e.error;var r,s;i.EW.isPlugin||fetch((0,d.Wv)(i.Tm,n,null===(r=e.data)||void 0===r?void 0:r.id,null===(s=e.data)||void 0===s?void 0:s.modified),{mode:"no-cors"}),x.success({id:"EMAIL_AUTOSAVE_SUCCESS",data:a,message:""},!0)})).catch((t=>{x.fromError("EMAIL_AUTOSAVE_ERROR",a,t,!0),console.log(t)}))}}),[S,t,R,n,x,C]),[U,F]=(0,a.useState)(!1),P=(0,a.useCallback)((()=>{if((null===E||void 0===E?void 0:E.length)>0){const t=[...E].sort(((t,e)=>Date.parse(null===e||void 0===e?void 0:e.modified)-Date.parse(null===t||void 0===t?void 0:t.modified)))[0];Date.parse((new Date).toString())-Date.parse(null===t||void 0===t?void 0:t.modified)>1.5*((null===y||void 0===y?void 0:y.autosaveTimeout)||1e4)&&k&&!A&&"Discuss"!==I&&M({parent:t.id})}else k&&!A&&"Discuss"!==I&&M({parent:null})}),[E,A,k,I,M,null===y||void 0===y?void 0:y.autosaveTimeout]);(0,v.Z)((([t])=>{U&&!t&&(P(),F(!1))}),[U,P,F]);const G=null===T||void 0===T?void 0:T.autosaves,[H,V]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{H&&!A&&(clearTimeout(_.current),_.current=setTimeout((()=>F(!0)),(null===y||void 0===y?void 0:y.autosaveTimeout)||1e4),V(!1))}),[H,A,null===y||void 0===y?void 0:y.autosaveTimeout,F,V]),(0,a.useEffect)((()=>{if(G&&O&&void 0!==(null===t||void 0===t?void 0:t.id)){const e=(0,h.Og)(R,(()=>{k&&null!==t&&void 0!==t&&t.is_inited&&V(!0)}));return()=>{e.dispose()}}}),[R,V,G,O,null===t||void 0===t?void 0:t.id,k,null===t||void 0===t?void 0:t.is_inited]),(0,v.Z)((([e,n])=>{O&&void 0!==(null===t||void 0===t?void 0:t.id)&&k&&null!==t&&void 0!==t&&t.is_inited&&(e===(null===t||void 0===t?void 0:t.title)&&n===(null===t||void 0===t?void 0:t.common_styles)||V(!0))}),[null===t||void 0===t?void 0:t.title,null===t||void 0===t?void 0:t.common_styles,k,O,V,null===t||void 0===t?void 0:t.id,null===t||void 0===t?void 0:t.is_inited]),(0,a.useEffect)((()=>()=>{clearTimeout(_.current)}),[T,null===t||void 0===t?void 0:t.renderGuid]),(0,a.useEffect)((()=>{clearTimeout(_.current)}),[null===t||void 0===t?void 0:t.modified]),L}},9653:(t,e,n)=>{"use strict";n.d(e,{U:()=>o});var i=n(85163),d=n(45695),a=n(32411),r=n(83863),s=n(42068),l=n(92810);const o=t=>{const e=(0,a.fn)(),n=(0,d.QC)(),o=(null===t||void 0===t?void 0:t.html)||"",c=(0,l.useRef)();c.current=t;const p=(0,l.useCallback)((t=>{const e=c.current;if(t===(null===e||void 0===e?void 0:e.renderGuid))return n.sendAsync(i.Ru.SANDBOX_INITED,{guid:e.renderGuid})}),[n]),m=(0,l.useCallback)((t=>{const e=c.current;if(t===(null===e||void 0===e?void 0:e.renderGuid))return n.sendAsync(i.Ru.SANDBOX_INIT_START,{guid:e.renderGuid})}),[n]),b=(0,l.useCallback)((async t=>{const d=c.current;if((null===d||void 0===d?void 0:d.renderGuid)===t){const t=null===o||void 0===o?void 0:o.replaceAll("\r\n","\n");try{(0,r.po)(e),e.setValue(t)}finally{(0,r.SF)(e)}const a=e.getValue();await n.sendAsync(i.Ru.SANDBOX_SET_ENTITY,{html:a,guid:null===d||void 0===d?void 0:d.renderGuid})}}),[o,e,n]);(0,s.Z)((async([e])=>{const n=null===t||void 0===t?void 0:t.renderGuid;n&&n!==e&&(await m(n),await b(n),await p(n))}),[null===t||void 0===t?void 0:t.renderGuid,null===t||void 0===t?void 0:t.id,b])}},69106:(t,e,n)=>{"use strict";n.d(e,{f:()=>g});var i=n(85163),d=n(13522),a=n(45695),r=n(93982),s=n(32411),l=n(83863),o=n(42068),c=n(92810),p=n(65983),m=n(8493),b=n(45934),u=n(87686);const g=(t,e)=>{const n=(0,b.wA)(),g=(0,s.fn)(),h=(0,a.QC)(),f=(0,r.ml)(d.A.WILL_EMAIL_INIT_ID),v=(0,r.ml)(d.A.ON_EMAIL_INIT_ID),w=(0,r.ml)(d.A.ON_CONTENT_CHANGED_ID),x=(0,r.ml)(d.A.ON_EMAIL_CHANGED_ID),y=(0,r.ml)(d.A.ON_MODEL_CHANGE),A=(0,c.useRef)(!1),R=(0,c.useRef)();R.current=t,(0,c.useEffect)((()=>{const n=R.current;if(i.EW.isPlugin&&!A.current&&(null===t||void 0===t?void 0:t.renderGuid)===(null===n||void 0===n?void 0:n.renderGuid)&&n){const t=g.getValue();x.fire({...n,id:e||n.isNew?void 0:n.id,html:t})}}),[g,t,x,e]),(0,o.Z)((([t])=>{t!==g&&y.fire(g)}),[g,y]),(0,c.useEffect)((()=>{if(i.EW.isPlugin){const n=g.onDidChangeContent((()=>{const n=R.current;if(!A.current&&(null===t||void 0===t?void 0:t.renderGuid)===(null===n||void 0===n?void 0:n.renderGuid)&&n){const t=g.getValue();w.fire(t),x.fire({...n,id:e||n.isNew?void 0:n.id,html:t})}}));return()=>n.dispose()}}),[g,w,x,t,e]);const _=(0,c.useCallback)((async()=>{const t=R.current;try{var e;(0,l.po)(g),g.setValue((null===t||void 0===t||null===(e=t.html)||void 0===e?void 0:e.replaceAll("\r\n","\n"))||"")}finally{(0,l.SF)(g)}const n=g.getValue();await h.sendAsync(i.Ru.SANDBOX_SET_ENTITY,{html:n,guid:t.renderGuid})}),[g,h]),E=(0,c.useCallback)((async()=>{const t=R.current;await h.sendAsync(i.Ru.SANDBOX_SET_ENTITY,{html:g.getValue(),guid:t.renderGuid})}),[g,h]),k=(0,c.useCallback)((async()=>{const t=R.current;void 0!==t.preheader&&await h.sendAsync(i.Ru.SANDBOX_PREHEADER_UPDATE,{value:t.preheader,guid:t.renderGuid,force:!0})}),[h]),I=(0,c.useCallback)((async()=>{const t=R.current;void 0!==t.subject&&await h.sendAsync(i.Ru.SANDBOX_SUBJECT_UPDATE,{value:t.subject,guid:t.renderGuid,force:!0})}),[h]),T=(0,c.useCallback)((()=>{const t=R.current;return h.sendAsync(i.Ru.SANDBOX_INITED,{guid:t.renderGuid})}),[h]),C=(0,c.useCallback)((()=>{const t=R.current;return n(void 0===t.id?(0,m.Uh)(!0):(0,p.Wm)(!0)),v.fire({...t,id:e||t.isNew?void 0:t.id,html:g.getValue()})}),[n,v,g,e]),S=(0,c.useCallback)((()=>{const t=R.current;return h.sendAsync(i.Ru.SANDBOX_INIT_START,{guid:t.renderGuid})}),[h]),L=(0,c.useCallback)((()=>{const t=R.current;return f.fire({...t,id:e||t.isNew?void 0:t.id,html:g.getValue()})}),[f,g,e]),[B]=(0,o.c)((function*(){try{A.current=!0,yield*(0,u.T1)(S),yield*(0,u.T1)(L),yield*(0,u.T1)(_),yield*(0,u.T1)(k),yield*(0,u.T1)(I),yield*(0,u.T1)(T),yield*(0,u.T1)(C)}finally{A.current=!1}}),[_,k,I,C,L,S,T]),[O]=(0,o.c)((function*(){try{yield*(0,u.T1)(S),yield*(0,u.T1)(L),yield*(0,u.T1)(E),yield*(0,u.T1)(k),yield*(0,u.T1)(I),yield*(0,u.T1)(T),yield*(0,u.T1)(C)}finally{}}),[_,k,I,C,L,S,T]);(0,o.Z)((async([e])=>{const n=null===t||void 0===t?void 0:t.renderGuid;n&&n!==e&&B()}),[null===t||void 0===t?void 0:t.renderGuid,B]),(0,c.useEffect)((()=>{const t=h.addListenerAsync(i.Ru.RELOAD,(async()=>{await O()}));return()=>t.dispose()}),[h,O])}},14598:(t,e,n)=>{"use strict";n.d(e,{QM:()=>s,q2:()=>p});var i=n(60564),d=n.n(i),a=n(58689),r=n(81158);function s(t,e){const n=document.createElement("input");n.type="file",n.accept=t,n.multiple=!0,n.onchange=()=>{var t;null!==(t=n.files)&&void 0!==t&&t.length&&e(n.files)},n.click()}const l="index.html";function o(t,e){return t.find((function(t){return t.name.toLowerCase().endsWith(e)}))}async function c(t,e,n){return await(0,a.bc)(t,(async t=>{t=t.replace("\\","/");const n=(0,a.$l)(t);return e(t,n)}),n)}async function p(t,e,n){if(t){switch(function(t){const e=t.split(".");return e[e.length-1].toLowerCase()}(t.name)){case"zip":return async function(t,e,n){var i=new(d());const{files:r}=await i.loadAsync(t),s=Object.keys(r).map((t=>r[t])),c=r[l]||o(s,l)||o(s,".html")||o(s,".htm");if(c){const t=c.name.split("/"),i=document.location.pathname.split("/"),d=document.location.origin+i.slice(0,i.length-t.length).join("/")+"/",s=await c.async("text"),l=t.slice(0,t.length-1).join("/");return await(0,a.bc)(s,(async t=>{(t=t.replace("\\","/")).startsWith(".")&&(t=t.substring(1)),t.startsWith("/")&&(t=t.substring(1)),t.startsWith(d)&&(t=t.substring(d.length)),l&&!t.match("^(ht|f)tp(s?)://")&&(t=`${l}/${t}`);const n=r[t];if(n){const t=n.name,i=await n.async("blob");return e(i,t)}const i=(0,a.$l)(t);return e(t,i)}),n)}}(t,e,n);case"eml":{const i=await t.text(),d=(0,r.bZ)(i);if(d instanceof Error)throw d;const a="string"===typeof d?d:d.html;if("undefined"===typeof a)throw new Error("Eml not contains text/html");return c(a,e,n)}default:return c(await t.text(),e,n)}}}},44396:(t,e,n)=>{"use strict";n.d(e,{Q:()=>s});var i=n(60089),d=n(70609);const a=100;class r extends i.m{constructor(t,e,n,i){super(t,e,n,i),this._onScrollDisposable=null,this._editor=t}updateColorDecorators(t){if(this._onScrollDisposable&&(this._onScrollDisposable.dispose(),this._onScrollDisposable=null),t.length>=500){const e=this._editor;let[n,i]=[Number.MAX_VALUE,Number.MIN_VALUE];const d=()=>{const d=e.getVisibleRanges(),[r,s]=d.reduce(((t,{startLineNumber:e,endLineNumber:n})=>[Math.min(e,t[0]),Math.max(n,t[1])]),[Number.MAX_VALUE,Number.MIN_VALUE]);if(n-r>a||s-i>a){let e=t.filter((({colorInfo:t})=>{const{startLineNumber:e,endLineNumber:n}=t.range;return r-e<a&&n-s<a}));super.updateColorDecorators(e)}};this._onScrollDisposable=e.onDidScrollChange(d),d()}else super.updateColorDecorators(t)}dispose(){var t;null===(t=this._onScrollDisposable)||void 0===t||t.dispose(),super.dispose()}}function s(){(0,d.D0)(r.ID,(()=>r))}},36671:(t,e,n)=>{"use strict";n.d(e,{h:()=>y});var i=n(92810),d=n(70609),a=n(85163),r=n(32411),s=n(64037),l=n(71157),o=n(45934),c=n(86286),p=n(23287),m=n(39217),b=n(45695),u=n(77509),g=n(83863);const h=1e3,f=2e3,v=10,w="iframe_errors",x=5;function y(t,e){const{__:n}=(0,p.s9)(),y=(0,b.QC)(),A=(0,r.aD)(t),{error:R}=(0,l.hN)(),_=(0,i.useRef)(0),E=(0,i.useRef)(),k=(0,i.useRef)(!1),I=(0,o.d4)(c.C1),T=(0,i.useCallback)((t=>new Promise(((e,n)=>{const i=y.addListener(a.Ru.SANDBOX_READY,(()=>{i.dispose(),e()}));t&&setTimeout((()=>{i.dispose(),n("timeout")}))}))),[y]),C=(0,i.useCallback)((i=>{T(f).catch((t=>console.log(t))).finally((()=>{Promise.resolve().then((()=>{if(!k.current){if(++_.current){if(E.current){if(_.current<x){A.restoreSnapshot(E.current);for(let t=0;t<_.current;t++)A.undo()}}else E.current=A.createSnapshot();y.send(a.Ru.RELOAD)}setTimeout((()=>{if(0===--_.current){E.current=null;const d={past:A.getPast().slice(0,v),future:A.getFuture(),errorResolved:!k.current,text:t.getValue(),message:i.message,stack:i.stack,userId:null===I||void 0===I?void 0:I.id,entityId:null===e||void 0===e?void 0:e.id,entityType:document.location.pathname.indexOf("emails")>0?"email":"block"};console.log(d),R({id:"IFRAME_ERROR",data:d,message:n("Something went wrong")}),m.CJ.post(w,d).catch((t=>console.log(t))),k.current=!1}}),f)}}))}))}),[A,t,R,null===I||void 0===I?void 0:I.id,null===e||void 0===e?void 0:e.id,n,T,y]);(0,s.A)(a.Ru.APPLICATION_DOMPARSER_ERROR,C),(0,i.useEffect)((()=>{let n=null,i=0;function r(t){const e=[];for(const{rangeOffset:n,rangeLength:i,text:d}of t.changes)e.push({range:{start:n,end:n+i},text:d});return e}let s=!1;const l=new u.j;return l.addDisposable((0,g.Og)(t,(t=>(async t=>{if(s)await y.sendAsync(a.Ru.SANDBOX_UPDATE_ENTITY,{edits:[r(t)],guid:e.renderGuid});else if(n)n.push(t);else{n=[t];do{const t=n.splice(0,n.length);await y.sendAsync(a.Ru.SANDBOX_UPDATE_ENTITY,{edits:t.map(r),guid:e.renderGuid})}while(n.length);n=null}})(t).catch((t=>console.log(t)))))),l.addDisposable(y.addListener(a.Ru.APPLICATION_UPDATE_ENTITY,(function({guid:n,edits:a,pushUndoStop:r}){if(t&&n===e.renderGuid)try{s=!0;const e=(0,d.yc)();let n=e.canUndo(t.uri),l=e.canRedo(t.uri);const o=a.map((({text:e,range:n})=>{const i=t.getPositionAt(n.start),d=t.getPositionAt(n.end);return{text:e,range:{startColumn:i.column,startLineNumber:i.lineNumber,endColumn:d.column,endLineNumber:d.lineNumber}}}));r||n||l?t.pushEditOperations([],o,(()=>null)):t.applyEdits(o),!1!==r&&(i&&clearTimeout(i),i=setTimeout((()=>{t.pushStackElement(),i=0}),h))}finally{s=!1}}))),()=>{l.dispose(),i&&clearTimeout(i)}}),[t,y,e.renderGuid])}},32411:(t,e,n)=>{"use strict";n.d(e,{$Z:()=>m,TW:()=>c,aD:()=>p,fn:()=>b,kx:()=>s});var i=n(70609),d=n(92810),a=n(60382),r=n(33695);const s=(0,d.createContext)(null),l={editorWorkerService:"editor.worker.js",html:"html.worker.js",css:"css.worker.js",typescript:"ts.worker.js",json:"json.worker.js",javascript:"ts.worker.js",less:"css.worker.js",scss:"css.worker.js",handlebars:"html.worker.js",razor:"html.worker.js"};function o(t,e){/^(\/\/)/.test(t)&&(t=window.location.protocol+t);var n=new Blob(["/*"+e+'*/importScripts("'+t+'");'],{type:"application/javascript"});return URL.createObjectURL(n)}function c(t){const e=(0,i.yc)(),[n,a]=(0,d.useState)({canUndo:e.canUndo(t.uri),canRedo:e.canRedo(t.uri)});return(0,d.useEffect)((()=>{const n=t.onDidChangeContent((()=>{setTimeout((()=>a({canUndo:e.canUndo(t.uri),canRedo:e.canRedo(t.uri)})))}));return()=>{n.dispose()}}),[t,e]),n}function p(t){function e(t){var e;const n=(null===t||void 0===t||null===(e=t.actual)||void 0===e?void 0:e._data)||new r.Ov;return n instanceof r.Ov?n:r.Ov.deserialize(n)}const n=(0,i.yc)();return(0,d.useMemo)((()=>({undo:()=>n.undo(t.uri),redo:()=>n.redo(t.uri),clear:()=>n.removeElements(t.uri),getPast:()=>{var i,d;return(null===(i=n._editStacks.get(t.uri.toString()))||void 0===i||null===(d=i._past)||void 0===d?void 0:d.map(e))||[]},getFuture:()=>{var i,d;return(null===(i=n._editStacks.get(t.uri.toString()))||void 0===i||null===(d=i._future)||void 0===d?void 0:d.map(e))||[]},canUndo:()=>n.canUndo(t.uri),canRedo:()=>n.canRedo(t.uri),createSnapshot:()=>n.createSnapshot(t.uri),restoreSnapshot:t=>n.restoreSnapshot(t)})),[n,t])}function m(t="",e="html"){const n=a.editor.createModel(t,e);return n.setEOL(a.editor.EndOfLineSequence.LF),n}function b(){return(0,d.useContext)(s)}emailmakerMonacoEnvironment.getWorkerUrl=(t,e)=>{var i=n.p,d=(i?i.replace(/\/$/,"")+"/":"")+l[e],a=new URL(d,window.location.origin),r=a.protocol;if("http:"===r||"https:"===r){if(a.protocol!==window.location.protocol||a.hostname!==window.location.hostname)return o(d,e);if("localhost"===a.hostname&&(a.port||"80")!==(window.location.port||"80"))return o(d,e)}else if("file:"===r)return o(d,e);return d}},83863:(t,e,n)=>{"use strict";n.d(e,{Og:()=>r,SF:()=>a,po:()=>d});const i=new Set;function d(t){return i.add(t),{dispose(){a(t)}}}function a(t){i.delete(t)}function r(t,e){let n=t.getVersionId(),d=[];const a=t.onDidChangeContent((a=>{if(a.versionId>n+1){let r=t.onDidChangeContent((s=>{if(a.versionId===n+1)try{i.has(t)||e(a)}catch(l){console.log(l)}finally{n=a.versionId;let t=d.indexOf(r);t>=0&&d.splice(t,1),r.dispose()}}));d.push(r)}else try{i.has(t)||e(a)}catch(r){console.log(r)}finally{n=a.versionId}}));return{dispose:()=>{a.dispose(),d.forEach((t=>t.dispose()))}}}},70609:(t,e,n)=>{"use strict";n.d(e,{D0:()=>r,yc:()=>s});var i=n(95713),d=n(42443),a=n(60332);function r(t,e){const n=i.dS.getEditorContributions().find((e=>e.id===t));if(!n)throw new Error(`No contribution ${t}`);n.ctor=e(n)}function s(){return t=a.$D,d.QE.get(t);var t}},71157:(t,e,n)=>{"use strict";n.d(e,{Gy:()=>m,O5:()=>g,hN:()=>u,x_:()=>b});var i=n(13522),d=n(93982),a=n(92810),r=n(33206),s=n(13329),l=n(28316),o=n(814),c=n(70082);const p="bottomRight";function m(t){return{id:t.id,code:t.html,title:t.title,subject:t.subject,preheader:t.preheader}}function b(t){return{id:t.id,code:t.html,title:t.title}}function u(){const t=(0,d.ml)(i.A.ON_NOTIFICATION),{notification:e}=r.A.useApp(),n=(0,a.useCallback)(((n,i)=>{n.type||(n={...n,type:"info"}),t.fire((0,o.TB)({id:n.id,type:n.type,data:n.data,innerException:n.innerException})).then((t=>{if(t.every((t=>!1!==t))){n={...n};for(const e of t)"object"===typeof e&&Object.assign(n,e,e.style?{style:{...e.style,...n.style}}:{},e.props?{props:{...e.props,...n.props}}:{},e.className?{className:n.className?`${n.className} ${e.className}`:e.className}:{});i||((n=Object.assign(n,...t.filter((t=>"object"===typeof t)))).placement||(n.placement=p),e[n.type]?e[n.type](n):(console.log(n.type),console.log(n.id),n.message&&console.log(n.message)))}}))}),[e,t]),s=(0,a.useCallback)(((t,e)=>n({...t,type:"error"},e)),[n]),l=(0,a.useCallback)(((t,e)=>n({...t,type:"success"},e)),[n]),m=(0,a.useCallback)(((t,e)=>n({...t,type:"warning"},e)),[n]),b=(0,a.useCallback)(((t,e)=>n({...t,type:"info"},e)),[n]),u=(0,a.useCallback)(((t,e,n,i,d=p)=>{var a,r;n&&s({id:t,data:e,message:n.data instanceof Error?"":(0,c.jsx)("div",{dangerouslySetInnerHTML:{__html:(null===(a=n.data)||void 0===a?void 0:a.code)||n.status||n}}),description:(0,c.jsx)("div",{dangerouslySetInnerHTML:{__html:(null===(r=n.data)||void 0===r?void 0:r.message)||n.error}}),placement:d,innerException:(null===n||void 0===n?void 0:n.data)instanceof Error?n.data:n},i)}),[s]);return(0,a.useMemo)((()=>({notify:n,success:l,error:s,warning:m,fromError:u,info:b})),[n,l,s,m,u,b])}function g(){const{notify:t}=u();(0,s.D3)(l.Sb,t)}},23287:(t,e,n)=>{"use strict";n.d(e,{CY:()=>s,s9:()=>l});var i=n(92810),d=n(92032);function a(t){return{__:t.__.bind(t),_x:t._x.bind(t),_n:t._n.bind(t),_nx:t._nx.bind(t),sprintf:d.nv,isRTL:t.isRTL.bind(t),hasTranslation:t.hasTranslation.bind(t)}}const r=(0,i.createContext)(a(d.y3));function s(t){const{children:e,i18n:n=d.y3}=t,[,s]=(0,i.useReducer)((()=>[]),[]);(0,i.useEffect)((()=>n.subscribe(s)),[n]);const l=(0,i.useMemo)((()=>a(n)),[n]);return(0,i.createElement)(r.Provider,{value:l},e)}const l=()=>(0,i.useContext)(r)},42068:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a,c:()=>r});var i=n(92810),d=n(87686);const a=(t,e)=>{const n=(0,i.useRef)();n.current=t;const d=(0,i.useRef)(void 0);(0,i.useEffect)((()=>{null!==d.current&&n.current(d.current||[]),d.current=e}),e)};function r(t,e){const n=(0,i.useRef)(),a=(0,i.useCallback)((()=>{const t=n.current;t&&(0,d.eF)(t.halt)}),[]);(0,i.useEffect)((()=>()=>a()),[a]);const r=(0,i.useCallback)(t,e);return[(0,i.useCallback)(((...t)=>{a();const e=(0,d.eF)((()=>r(...t)));return n.current=e,e}),[a,r]),a]}},69156:(t,e,n)=>{"use strict";n.d(e,{A5:()=>c,FN:()=>o,Hk:()=>l,c8:()=>p});var i=n(92810),d=n(85163),a=n(45695);const r=document.querySelectorAll("link[rel=stylesheet][media*=prefers-color-scheme][media*=dark]"),s=document.querySelectorAll("link[rel=stylesheet][media*=prefers-color-scheme][media*=light]"),l=t=>{let e,n;t===d.IJ?(e=d.vd,n=d.F3):(e=t===d.T?d.y2:d.CJ,n=t===d.nd?d.y2:d.CJ),[...s].forEach((t=>{t.media=e})),[...r].forEach((t=>{t.media=n}))},o=(t={})=>{const e=document.querySelector("head"),n=document.createElement("style");if(n.type="text/css",n.dataset.themeVaribalse=!0,Object.entries(t).length){let i="";Object.entries(t).forEach((([t,e])=>{"object"!==typeof e&&(i+=`\t--${t}: ${e};\n`)})),i=`.blocks-body, .blocks-app, .ant-modal-root, .ant-tooltip, .ant-notification {\n${i}}`,n.appendChild(document.createTextNode(i));const d=e.querySelector('[data-theme-varibalse="true"]');d?e.replaceChild(n,d):e.insertBefore(n,e.firstChild)}},c=t=>{const e=document.body;e.classList.contains(t)||setTimeout((()=>{e.classList.remove(t===d.nd?d.T:d.nd),e.classList.add(t)}),200)},p=()=>{const t=(0,a.XW)();return(0,i.useCallback)((()=>{const e=window.localStorage.getItem(d.V0.em_color_scheme),n=matchMedia(d.F3).matches?d.nd:d.T,i=e||n;t({operation:d.Ru.UPDATE_PREVIEW,theme:i})}),[t])}},31770:(t,e,n)=>{"use strict";function i(t){return t}function d({data:t,...e},n){return e.error?e:{data:n(t,e.meta),...e}}function a(t){return e=>d(e,t)}function r(t){return e=>d(e,((e,n)=>e.hasOwnProperty("previous")?t(e.previous,n):t(e,n)))}function s(t){return e=>function({data:t,...e},n){return e.error?e:{data:t.map((t=>n(t,e.meta))),...e}}(e,t)}n.d(e,{Ih:()=>s,PI:()=>r,SA:()=>d,SC:()=>a,ur:()=>i})},84869:(t,e,n)=>{"use strict";function i(t,e){if("object"===typeof t&&t){e(t);for(const n of Object.values(t))i(n,e)}}function d(t=".blocks-app"){t=`${t} &`;const e=new WeakSet;return{visit:n=>{if(!e.has(n)){const d={};let a;for(const r of Object.keys(n)){const s=n[r];"object"===typeof s&&s?(s._keyframe&&i(s,(t=>e.add(t))),d[r]=s):(a||(a=d[t]={},e.add(a)),a[r]=s)}return d}return n}}}n.d(e,{A:()=>d})},44824:(t,e,n)=>{"use strict";n.d(e,{e:()=>d});var i=n(26453);async function d(t,e){if("amp"===e){for(const e of t.querySelectorAll(".em-amp-show-disabled"))e.remove();await(0,i.Sc)(t,{mappedTags:{script:"___script"}})}else if("html"===e){for(const e of t.querySelectorAll(".em-amp-show-only"))e.remove();(0,i.Km)(t,{mappedTags:{script:"___script"}})}}},78451:(t,e,n)=>{"use strict";n.d(e,{A:()=>l});var i=n(92810),d=n(45934),a=n(64617),r=n(17581),s=n(65983);const l=()=>{const t=(0,d.wA)(),e=(0,d.d4)(s.zn);let n=(0,a.zy)();(0,i.useEffect)((()=>{/emails\/[0-9]+$/.test(n.pathname)||e&&t(r.GY.util.invalidateTags([{type:"Emails",id:+e}]))}),[n,t,e])}},64037:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(92810),d=n(45695);function a(t,e){const n=(0,d.QC)();(0,i.useEffect)((()=>{const i=n.addListener(t,e);return()=>{i.dispose()}}),[n,t,e])}},31844:(t,e,n)=>{"use strict";n.d(e,{A:()=>l});var i=n(92810),d=n(64617),a=n(45934),r=n(86286),s=n(84568);const l=t=>{const e=(0,a.d4)(r.C1),[n,l]=(0,i.useState)({owner:!1,admin:!1}),o=(0,d.KC)(),{data:c}=(0,s.fo)(t,{skip:!t||!e.id||!(null!==o&&void 0!==o&&o.isUninitialized)}),p=(null===o||void 0===o?void 0:o.data)||c;return(0,i.useEffect)((()=>{if(p){var t,n;const{owner:i,admins:d,users:a}=p.members,r=d?d.map((t=>t.ID)):d,s=a?a.map((t=>t.ID)):a;l({owner:(null===(t=i.ID)||void 0===t?void 0:t.toString())===(null===(n=e.id)||void 0===n?void 0:n.toString()),admin:r&&r.includes(e.id),user:s&&s.includes(e.id)})}}),[p,e.id]),n}},3289:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(92810),d=n(45934),a=n(64617),r=n(87790),s=n(85163),l=n(90070);const o=()=>{const t=(0,d.wA)(),e=(0,l.p6)(),n=(0,d.d4)(r.Sl);let o=(0,a.zy)();(0,i.useEffect)((()=>{o.pathname.endsWith("/new")||n&&(t((0,r.X8)()),e.remove(s.A9.em_new_block))}),[o,n,t,e])}},19366:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(92810),d=n(45934),a=n(64617),r=n(8493),s=n(85163),l=n(90070);const o=()=>{const t=(0,l.p6)(),e=(0,d.wA)(),n=(0,d.d4)(r.$S);let o=(0,a.zy)();(0,i.useEffect)((()=>{o.pathname.endsWith("/new")||(t.remove(s.A9.em_new_email),t.remove(s.A9.em_template_email),n&&e((0,r.Et)()))}),[o,n,e,t])}},22197:(t,e,n)=>{"use strict";n.d(e,{A:()=>d});var i=n(85163);const d=t=>{if(!i.EW.isPlugin){let e="";e="EmailMaker",document.title=t+" - "+e}}},93718:(t,e,n)=>{var i={"./en_US.ts":[90944,2466],"./ru_RU.ts":[3099,6859]};function d(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],d=e[0];return n.e(e[1]).then((()=>n(d)))}d.keys=()=>Object.keys(i),d.id=93718,t.exports=d},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.png"},50195:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_02_blocks.png"},27544:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_03_blocks.png"},59045:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_04_blocks.png"},97970:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_05_blocks.png"},84093:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_01.png"},42854:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_02.png"},81871:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_03.png"},39024:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_04.png"},35929:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_05.png"},54416:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/frame_dark.png"},98578:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/frame_light.png"},68777:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/frame_template_gallery.png"},58889:t=>{"use strict";t.exports=JSON.parse('{"yG":"iframe.3347c72c85af92a68e68.html","l5":"iframe-eblock.3347c72c85af92a68e68.html"}')}}]);
1
+ (globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[1821],{88647:(t,e,n)=>{"use strict";n.d(e,{h:()=>s});var i,d=n(92810);function a(){return a=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},a.apply(null,arguments)}function r({title:t,titleId:e,...n},r){return d.createElement("svg",a({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",ref:r,"aria-labelledby":e},n),t?d.createElement("title",{id:e},t):null,i||(i=d.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 s=d.forwardRef(r);n.p},79154:(t,e,n)=>{"use strict";n.d(e,{h:()=>s});var i,d=n(92810);function a(){return a=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},a.apply(null,arguments)}function r({title:t,titleId:e,...n},r){return d.createElement("svg",a({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 14 14",ref:r,"aria-labelledby":e},n),t?d.createElement("title",{id:e},t):null,i||(i=d.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 s=d.forwardRef(r);n.p},40829:t=>{t.exports=({__:t})=>`<style em="styles">\n amp-accordion > section > * {\n background: none !important;\n padding: 0 !important;\n border: none !important;\n overflow: visible !important;\n }\n</style>\n<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td>\n <amp-accordion disable-session-states animate expand-single-section>\n <section>\n <div>\n <table cellpadding="0" cellspacing="0" border="0" width="100%">\n <tr>\n <td style="padding: 10px 0; border-bottom: 1px solid #CCCCCC;">\n <div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5A5A5A;"><strong>${t("Section title")}</strong></div>\n </td>\n </tr>\n </table>\n </div>\n <div>\n <table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom">\n <tr>\n <td style="padding: 10px 0;">\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 </div>\n </section>\n </amp-accordion>\n</td></tr></table>`},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>`},78588:t=>{t.exports=({__:t})=>`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td>\n <amp-carousel width="800" height="600" layout="responsive" type="slides" controls>\n <amp-img src="${t("https://cdn.useblocks.io/1351/241031_18_JoH0f3E.png")}" width="800" height="600" layout="responsive" alt=""></amp-img>\n <amp-img src="${t("https://cdn.useblocks.io/1351/241031_18_aJAY1Xz.png")}" width="800" height="600" layout="responsive" alt=""></amp-img>\n <amp-img src="${t("https://cdn.useblocks.io/1351/241031_18_OQEyMEF.png")}" width="800" height="600" layout="responsive" alt=""></amp-img>\n </amp-carousel>\n</td></tr></table>`},59817:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const i=new Date,d=new Date(+i+432e6).toISOString(),a=-(new Date).getTimezoneOffset()/60,r=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=${d}&timezone=${a}&frames=20" 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=${d}&timezone=${a}&frames=20`)(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.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.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>`},19032:(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.p+"static/media/tg.png",n.p+"static/media/yt.png",n.p+"static/media/vk.png",n.p+"static/media/yd.png",n.p+"static/media/tw.png",n.p+"static/media/ig.png",n.p+"static/media/fb.png"].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.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>'},47520:(t,e,n)=>{"use strict";n.d(e,{AO:()=>j,Ai:()=>b,NW:()=>B,RM:()=>m,TW:()=>O,Ze:()=>M,ok:()=>D,xc:()=>N,yy:()=>S});n(92810);var i=n(81662),d=n(7228),a=n(9588),r=n(37517),s=n(73035),l=n(27071),o=n(86657),c=n(85163),p=n(70082);const m=({linkProtocol:t})=>{switch(t){case"https://":default:return(0,p.jsx)(d.A,{rev:""});case"mailto:":return(0,p.jsx)(a.A,{rev:""});case"tel:":return(0,p.jsx)(r.A,{rev:""});case"sms:":return(0,p.jsx)(s.A,{rev:""});case"ftp://":return(0,p.jsx)(l.A,{rev:""});case"skype:":return(0,p.jsx)(o.A,{rev:""})}},b=({handleLinkProtocolsChange:t,linkProtocol:e,__:n})=>(0,p.jsx)(i.A,{style:{width:90,textAlign:"left"},value:e,onChange:t,getPopupContainer:t=>t.parentNode,options:[{value:"https://",label:n("Site")},{value:"mailto:",label:n("E-mail")},{value:"tel:",label:n("Phone")},{value:"sms:",label:n("SMS")},{value:"ftp://",label:n("File")},{value:"skype:",label:n("Skype")},{value:"viber:",label:n("Viber")},{value:"",label:n("Other")}]}),{mobileBorderRadiusAll:u,mobileRadiusTopLeft:g,mobileRadiusBottomLeft:h,mobileRadiusTopRight:f,mobileRadiusBottomRight:v,borderRadiusBottomRight:w,borderRadiusTopRight:x,borderRadiusBottomLeft:y,borderRadiusTopLeft:A,alt:R,src:_,title:E,link:k,borderRadiusAll:I,imgReplacer:T,expanded:C}={link:"link",borderRadiusBottomRight:"borderRadiusBottomRight",borderRadiusTopRight:"borderRadiusTopRight",borderRadiusBottomLeft:"borderRadiusBottomLeft",borderRadiusTopLeft:"borderRadiusTopLeft",mobileBorderRadiusAll:"mobileBorderRadiusAll",mobileRadiusTopLeft:"mobileRadiusTopLeft",mobileRadiusBottomLeft:"mobileRadiusBottomLeft",mobileRadiusTopRight:"mobileRadiusTopRight",mobileRadiusBottomRight:"mobileRadiusBottomRight",alt:"alt",imgReplacer:"imgReplacer",src:"src",title:"title",borderRadiusAll:"borderRadiusAll",expanded:"expanded"},S={paddingTop:"top",paddingLeft:"left",paddingRight:"right",paddingBottom:"bottom",mobilePaddingTop:"top",mobilePaddingLeft:"left",mobilePaddingRight:"right",mobilePaddingBottom:"bottom"},L={borderRadiusAll:"all",borderRadiusTopLeft:"topLeft",borderRadiusBottomLeft:"bottomLeft",borderRadiusTopRight:"topRight",borderRadiusBottomRight:"bottomRight"},B={mobileBorderRadiusAll:"all",mobileRadiusTopLeft:"topLeft",mobileRadiusBottomLeft:"bottomLeft",mobileRadiusTopRight:"topRight",mobileRadiusBottomRight:"bottomRight"},O=(t,e)=>t.startsWith("mailto:")?"mailto:":t.startsWith("tel:")?"tel:":t.startsWith("sms:")?"sms:":t.startsWith("ftp://")?"ftp://":t.startsWith("skype:")?"skype:":t.startsWith("viber:")?"viber:":e,D=t=>t||(0===t?"0":""),N=t=>t&&"auto"!==t?t:0===t?"0":"";function j(t){var e,n,i,d,a,r,s,l,o,c,p,m,b,u,g,h,f,v,w,x;let y={...t,link:t.link?t.link:"https://",borderRadiusAll:D(null===(e=t.borderRadius)||void 0===e?void 0:e.all),borderRadiusTopLeft:D(null===(n=t.borderRadius)||void 0===n?void 0:n.topLeft),borderRadiusBottomLeft:D(null===(i=t.borderRadius)||void 0===i?void 0:i.bottomLeft),borderRadiusTopRight:D(null===(d=t.borderRadius)||void 0===d?void 0:d.topRight),borderRadiusBottomRight:D(null===(a=t.borderRadius)||void 0===a?void 0:a.bottomRight),mobileBorderRadiusAll:D(null===(r=t.mobileBorderRadius)||void 0===r?void 0:r.all),mobileRadiusTopLeft:D(null!==(null===(s=t.mobileBorderRadius)||void 0===s?void 0:s.topLeft)?null===(l=t.mobileBorderRadius)||void 0===l?void 0:l.topLeft:null===(o=t.mobileBorderRadius)||void 0===o?void 0:o.all),mobileRadiusBottomLeft:D(null!==(null===(c=t.mobileBorderRadius)||void 0===c?void 0:c.bottomLeft)?null===(p=t.mobileBorderRadius)||void 0===p?void 0:p.bottomLeft:null===(m=t.mobileBorderRadius)||void 0===m?void 0:m.all),mobileRadiusTopRight:D(null!==(null===(b=t.mobileBorderRadius)||void 0===b?void 0:b.topRight)?null===(u=t.mobileBorderRadius)||void 0===u?void 0:u.topRight:null===(g=t.mobileBorderRadius)||void 0===g?void 0:g.all),mobileRadiusBottomRight:D(null!==(null===(h=t.mobileBorderRadius)||void 0===h?void 0:h.bottomRight)?null===(f=t.mobileBorderRadius)||void 0===f?void 0:f.bottomRight:null===(v=t.mobileBorderRadius)||void 0===v?void 0:v.all),show:t.show?t.show:"all",altSrc:t.src};var A,R;t.video&&(y.videoPlayButton=null!==(A=t.video.playButton)&&void 0!==A?A:"youtube_red",y.videoSource=null!==(R=t.video.source)&&void 0!==R?R:"");if((null===(w=t.carouselImages)||void 0===w?void 0:w.length)>0){var _;let e={};null===(_=t.carouselImages)||void 0===_||_.map(((t,n)=>(Object.keys(t).forEach((i=>{e[i+"_"+n]=t[i]})),!0))),y.images=e}if((null===(x=t.sections)||void 0===x?void 0:x.length)>0){var E;let e=[];null===(E=t.sections)||void 0===E||E.map(((t,n)=>(e.push({[`expanded_${n}`]:t.expanded}),!0))),y.sections=e}return y}function M(t,e,n){const i=n.hasOwnProperty("images"),d=n.hasOwnProperty("sections"),a=Object.keys(i?n.images:d?n.sections:n)[0],r=i?n.images:d?n.sections:n;let s={};const l=e.getFieldsValue(!0);switch(a.split("_")[0]){case E:case _:case R:case T:if(i){let e=[...t.carouselImages];e[a.split("_")[1]][a.split("_")[0]]=r[a],s={carouselImages:e}}else s=r;break;case C:if(d){let e=[...t.sections];e[a.split("_")[1]][a.split("_")[0]]=r[a],s={sections:e}}break;case k:let n=r[a];"https://http"===n.substring(0,12)&&(n=n.substring(8,n.length)),t.type===c.bV.CAROUSEL?(s.carouselImages=t.carouselImages,i?(e.setFieldValue(["images",[k+"_"+a.split("_")[1]]],n),s.carouselImages[a.split("_")[1]].link=n,s.link="",e.setFieldValue(k,"https://")):(t.carouselImages.forEach(((t,i)=>{e.setFieldValue(["images",k+"_"+i],n),s.carouselImages[i].link=n,s.link=n})),e.setFieldValue(k,n))):(e.setFieldValue(k,n),s.link=n);break;case I:s={borderRadius:{...t.borderRadius,[L[A]]:l[A],[L[y]]:l[y],[L[x]]:l[x],[L[w]]:l[w],[L[a]]:+r[a]}};break;case A:case y:case x:case w:s={borderRadius:{...t.borderRadius,[L[I]]:null,[L[a]]:+r[a]}};break;case u:case g:case h:case f:case v:s={mobileBorderRadius:{...t.mobileBorderRadius,[B[g]]:l[g],[B[h]]:l[h],[B[f]]:l[f],[B[v]]:l[v],[B[a]]:r[a],classNamePrefix:"em-mob-border_radius_"+B[a]+"-"}};break;default:s=r}return{...t,...s}}},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'},56991:(t,e,n)=>{"use strict";n.d(e,{bD:()=>r,Mu:()=>s,cM:()=>o,rD:()=>l});var i=n(45934),d=n(18398),a=n(71210);function r(t,e){if(t!==e){if(!t||!e||"object"!==typeof t||"object"!==typeof e)return!1;const n=e instanceof Array;if(t instanceof Array){if(!n)return!1;const i=t.length;if(e.length!==i)return!1;for(let n=0;n<i;n++)if(!r(t[n],e[n]))return!1}else if(n)return!1;const i=Object.keys(t),d=Object.keys(e),a=i.length;if(a!==d.length)return!1;for(let s=0;s<a;s++){const n=i[s];if(!e.hasOwnProperty(n)||!r(t[n],e[n]))return!1}}return!0}function s(t){if(t){const{type:e,project:n,isNew:i,id:d}=t;return`/projects/${n}/${"block"===e?"blocks":"emails"}/${i?`new?template=${d}`:d}`}return""}function l(){return(0,i.d4)(d.zg)}function o(t,e,n){return null!==t&&void 0!==t&&t.length?t.map(((t,i)=>function(t){return t.hasOwnProperty("children")}(t)?{key:(0,a.l)(),value:t.value,label:t.label,children:o(t.children,e,n),type:t.type}:{key:(0,a.l)(),label:t.label,value:t.value,onClick:e=>{n(t.value,e.domEvent)}})):void 0}},12264:(t,e,n)=>{"use strict";function i(){const t=new Date;return t.valueOf()-60*t.getTimezoneOffset()*1e3}n.d(e,{N:()=>i})},41664:(t,e,n)=>{"use strict";n.d(e,{Q:()=>d});var i=n(71210);function d(t=(0,i.l)()){return t}},82375:(t,e,n)=>{"use strict";n.d(e,{Q:()=>i});const i=new(n(95152).m)},30725:(t,e,n)=>{"use strict";n.d(e,{p:()=>d});var i=n(23580);function d(t){return(e,n,d,a)=>{const r=(0,i.My)(n);return t(r)(e,n,d,a)}}},77509:(t,e,n)=>{"use strict";n.d(e,{j:()=>i});class i{constructor(t=[]){this._inner=t,this._isDisposed=!1}addDisposable(t){return this._inner.push(t),t instanceof i&&t.addDispose((()=>{this.removeDisposable(t)})),t}addDispose(t){this.addDisposable({dispose:t})}removeDisposable(t){const e=this._inner.indexOf(t);e>=0&&this._inner.splice(e,1)}isDisposed(){return this._isDisposed}dispose(){if(!this._isDisposed){this._isDisposed=!0;for(const t of[...this._inner])t.dispose()}}}},47381:(t,e,n)=>{"use strict";n.d(e,{u:()=>a});var i=n(92810),d=n(56991);const a=()=>{const t=(0,d.rD)();return(0,i.useCallback)(((e,n)=>{!1!==t.pushToGTM&&((t,e)=>{const n=()=>{try{const e={...t,appLabel:"blocks_app"};window.dataLayer&&"function"===typeof window.dataLayer.push?window.dataLayer.push(e):console.log("Attempting to add to the dataLayer:",t)}catch(e){console.error("\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0435 GTM:",e)}};e?setTimeout(n,e):n()})(e,n)}),[t.pushToGTM])}},71210:(t,e,n)=>{"use strict";function i(){var t=(new Date).getTime(),e="undefined"!==typeof performance&&performance.now&&1e3*performance.now()||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(n){var i=16*Math.random();return t>0?(i=(t+i)%16|0,t=Math.floor(t/16)):(i=(e+i)%16|0,e=Math.floor(e/16)),("x"===n?i:3&i|8).toString(16)}))}n.d(e,{l:()=>i})},14004:(t,e,n)=>{"use strict";n.d(e,{i:()=>d});var i=n(44141);const d=async(t,e,n)=>{const d=(0,i.KU)(e).baseUrl.replaceAll(/[\\/]$/g,""),a=(0,i.hI)({baseUrl:d});let r=await a(t,e,n);if(r.error){let t=r.error;if("function"===typeof t.json)try{t=await t.json()}catch{t=await t,console.log("error",t)}return{error:t}}return r}},89698:(t,e,n)=>{"use strict";n.d(e,{V:()=>o});var i=n(85163),d=n(45695),a=n(23287),r=n(92810),s=n(45934),l=n(86286);function o(){const t=(0,d.QC)(),e=(0,s.d4)(l.C1),{__:n}=(0,a.s9)(),[o,c]=(0,r.useState)("");(0,r.useEffect)((()=>{if(e.locale!==o){const d=(0,i.QV)(n),a=t.onInit((()=>{t.send(i.Ru.SANDBOX_TRANSLATIONS,{name:e.locale,data:d}),c(e.locale)}));return()=>a.dispose()}}),[e.locale,o,c,n,t]),(0,r.useEffect)((()=>{const e=t.addListener(i.Ru.RELOAD,(()=>{c("")}));return()=>e.dispose()}),[c,t])}},37969:(t,e,n)=>{"use strict";n.d(e,{y:()=>l});var i=n(85163),d=n(45695),a=n(92810),r=n(70082);const s=Symbol("isIframeEvent");function l({children:t}){const[e,n]=(0,a.useState)(),[l,o]=(0,a.useState)(),[c,p]=(0,a.useState)(!1),m=(0,d.QC)();return(0,a.useEffect)((()=>{if(e){const t=m.addListener(i.Ru.APPLICATION_IFRAME_DRAG_EVENT,(t=>{if("drageleave"!==t.type&&"dragenter"!==t.type){const n=e.getBoundingClientRect(),i=t.clientX+n.x+window.scrollX,d=t.clientY+n.y+window.scrollY,a=document.elementFromPoint(i,d);if(a){const e=new DataTransfer,n=new DragEvent(t.type,{clientX:i,clientY:d,cancelable:!0,bubbles:!0,dataTransfer:e});n[s]=!0,a.dispatchEvent(n)}}}));return()=>t.dispose()}}),[m,e]),(0,a.useEffect)((()=>{const t=t=>{t[s]||p(!0)},e=t=>{t[s]||p(!1)};return window.addEventListener("dragstart",t),window.addEventListener("dragend",e),()=>{window.removeEventListener("dragstart",t),window.removeEventListener("dragend",e)}}),[l]),(0,a.useEffect)((()=>{const t=t=>{if(!t[s]){var e;const n=l.getBoundingClientRect();m.send(i.Ru.SANDBOX_DRAG_EVENT,{value:(null===(e=t.dataTransfer)||void 0===e?void 0:e.getData("Text"))||"",type:t.type,clientX:t.pageX-n.x-window.scrollX,clientY:t.pageY-n.y-window.scrollY})}};if(l)return l.addEventListener("dragenter",t),l.addEventListener("dragover",t),l.addEventListener("dragleave",t),l.addEventListener("drop",t),l.addEventListener("dragend",t),()=>{l.removeEventListener("dragenter",t),l.removeEventListener("dragover",t),l.removeEventListener("dragleave",t),l.removeEventListener("drop",t),l.removeEventListener("dragend",t)}}),[l,m]),(0,r.jsxs)("div",{ref:n,children:[c&&(0,r.jsx)("div",{ref:o,className:"iframe-provider"}),t]})}},43672:(t,e,n)=>{"use strict";n.d(e,{w:()=>o});var i=n(95838),d=n(85163),a=n(56991),r=n(45695),s=n(92810);const{useToken:l}=i.A;function o(){const t=(0,r.QC)(),{token:e}=l(),[n,i]=(0,s.useState)();(0,s.useEffect)((()=>{if(!(0,a.bD)(n,e)){const n=t.onInit((()=>{t.send(d.Ru.SANDBOX_SET_THEME_VARIABLES,e),i(e)}));return()=>n.dispose()}}),[e,n,i,t]),(0,s.useEffect)((()=>{const e=t.addListener(d.Ru.RELOAD,(()=>{i(void 0)}));return()=>e.dispose()}),[i,t])}},38920:(t,e,n)=>{"use strict";n.d(e,{r:()=>x});var i=n(85163),d=n(59287),a=n(92810),r=n(45934),s=n(64617),l=n(86739),o=n(53204),c=n(47358),p=n(65983),m=n(39738),b=n(86286),u=n(56991),g=n(32411),h=n(83863),f=n(71157),v=n(42068),w=n(47381);function x(t){const{emailId:e,projectId:n}=(0,s.g)(),x=(0,f.hN)(),y=(0,u.rD)(),A=(0,r.d4)(o.M),R=(0,g.fn)(),_=(0,a.useRef)(0),E=(0,r.d4)(m.p1),k=(0,r.d4)(c.Wm),I=(0,r.d4)(c.B),T=(0,r.d4)(b.C1),C=(0,w.u)(),[S,L]=(0,l.LX)(),B=(0,r.wA)(),{isSuccess:O,isLoading:D}=(0,l.YV)({emailId:e},{skip:!e}),[N,j]=(0,a.useState)(null);(0,a.useEffect)((()=>{if(O&&!D&&null!==E&&void 0!==E&&E.length){const n=E[0];var e;if(n&&N!==(null===t||void 0===t?void 0:t.id))null!==(e=n.slug)&&void 0!==e&&e.includes("autosave")&&R&&B((0,p.no)(n)),j(null===t||void 0===t?void 0:t.id)}}),[B,E,O,D,null===t||void 0===t?void 0:t.id,N,R,e]);const M=(0,a.useCallback)((({parent:e})=>{if(t){const a={parent:e,title:t.title,author:t.author,project:t.project,html:(null===R||void 0===R?void 0:R.getValue())||"",excerpt:t.date_gmt,subject:t.subject,preheader:t.preheader,common_styles:t.common_styles,parent_email:t.parent_email};S({emailId:t.id,body:a}).then((e=>{if(C({event:"save",action:"auto_save_email",email_id:t.id,project_id:n}),!function(t){return t.hasOwnProperty("data")}(e))throw e.error;var r,s;i.EW.isPlugin||fetch((0,d.Wv)(i.Tm,n,null===(r=e.data)||void 0===r?void 0:r.id,null===(s=e.data)||void 0===s?void 0:s.modified),{mode:"no-cors"}),x.success({id:"EMAIL_AUTOSAVE_SUCCESS",data:a,message:""},!0)})).catch((t=>{x.fromError("EMAIL_AUTOSAVE_ERROR",a,t,!0),console.log(t)}))}}),[S,t,R,n,x,C]),[U,F]=(0,a.useState)(!1),P=(0,a.useCallback)((()=>{if((null===E||void 0===E?void 0:E.length)>0){const t=[...E].sort(((t,e)=>Date.parse(null===e||void 0===e?void 0:e.modified)-Date.parse(null===t||void 0===t?void 0:t.modified)))[0];Date.parse((new Date).toString())-Date.parse(null===t||void 0===t?void 0:t.modified)>1.5*((null===y||void 0===y?void 0:y.autosaveTimeout)||1e4)&&k&&!A&&"Discuss"!==I&&M({parent:t.id})}else k&&!A&&"Discuss"!==I&&M({parent:null})}),[E,A,k,I,M,null===y||void 0===y?void 0:y.autosaveTimeout]);(0,v.Z)((([t])=>{U&&!t&&(P(),F(!1))}),[U,P,F]);const G=null===T||void 0===T?void 0:T.autosaves,[H,V]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{H&&!A&&(clearTimeout(_.current),_.current=setTimeout((()=>F(!0)),(null===y||void 0===y?void 0:y.autosaveTimeout)||1e4),V(!1))}),[H,A,null===y||void 0===y?void 0:y.autosaveTimeout,F,V]),(0,a.useEffect)((()=>{if(G&&O&&void 0!==(null===t||void 0===t?void 0:t.id)){const e=(0,h.Og)(R,(()=>{k&&null!==t&&void 0!==t&&t.is_inited&&V(!0)}));return()=>{e.dispose()}}}),[R,V,G,O,null===t||void 0===t?void 0:t.id,k,null===t||void 0===t?void 0:t.is_inited]),(0,v.Z)((([e,n])=>{G&&O&&void 0!==(null===t||void 0===t?void 0:t.id)&&k&&null!==t&&void 0!==t&&t.is_inited&&(e===(null===t||void 0===t?void 0:t.title)&&n===(null===t||void 0===t?void 0:t.common_styles)||V(!0))}),[null===t||void 0===t?void 0:t.title,null===t||void 0===t?void 0:t.common_styles,k,O,V,null===t||void 0===t?void 0:t.id,null===t||void 0===t?void 0:t.is_inited]),(0,a.useEffect)((()=>()=>{clearTimeout(_.current)}),[T,null===t||void 0===t?void 0:t.renderGuid]),(0,a.useEffect)((()=>{clearTimeout(_.current)}),[null===t||void 0===t?void 0:t.modified]),L}},9653:(t,e,n)=>{"use strict";n.d(e,{U:()=>o});var i=n(85163),d=n(45695),a=n(32411),r=n(83863),s=n(42068),l=n(92810);const o=t=>{const e=(0,a.fn)(),n=(0,d.QC)(),o=(null===t||void 0===t?void 0:t.html)||"",c=(0,l.useRef)();c.current=t;const p=(0,l.useCallback)((t=>{const e=c.current;if(t===(null===e||void 0===e?void 0:e.renderGuid))return n.sendAsync(i.Ru.SANDBOX_INITED,{guid:e.renderGuid})}),[n]),m=(0,l.useCallback)((t=>{const e=c.current;if(t===(null===e||void 0===e?void 0:e.renderGuid))return n.sendAsync(i.Ru.SANDBOX_INIT_START,{guid:e.renderGuid})}),[n]),b=(0,l.useCallback)((async t=>{const d=c.current;if((null===d||void 0===d?void 0:d.renderGuid)===t){const t=null===o||void 0===o?void 0:o.replaceAll("\r\n","\n");try{(0,r.po)(e),e.setValue(t)}finally{(0,r.SF)(e)}const a=e.getValue();await n.sendAsync(i.Ru.SANDBOX_SET_ENTITY,{html:a,guid:null===d||void 0===d?void 0:d.renderGuid})}}),[o,e,n]);(0,s.Z)((async([e])=>{const n=null===t||void 0===t?void 0:t.renderGuid;n&&n!==e&&(await m(n),await b(n),await p(n))}),[null===t||void 0===t?void 0:t.renderGuid,null===t||void 0===t?void 0:t.id,b])}},69106:(t,e,n)=>{"use strict";n.d(e,{f:()=>g});var i=n(85163),d=n(13522),a=n(45695),r=n(93982),s=n(32411),l=n(83863),o=n(42068),c=n(92810),p=n(65983),m=n(8493),b=n(45934),u=n(87686);const g=(t,e)=>{const n=(0,b.wA)(),g=(0,s.fn)(),h=(0,a.QC)(),f=(0,r.ml)(d.A.WILL_EMAIL_INIT_ID),v=(0,r.ml)(d.A.ON_EMAIL_INIT_ID),w=(0,r.ml)(d.A.ON_CONTENT_CHANGED_ID),x=(0,r.ml)(d.A.ON_EMAIL_CHANGED_ID),y=(0,r.ml)(d.A.ON_MODEL_CHANGE),A=(0,c.useRef)(!1),R=(0,c.useRef)();R.current=t,(0,c.useEffect)((()=>{const n=R.current;if(i.EW.isPlugin&&!A.current&&(null===t||void 0===t?void 0:t.renderGuid)===(null===n||void 0===n?void 0:n.renderGuid)&&n){const t=g.getValue();x.fire({...n,id:e||n.isNew?void 0:n.id,html:t})}}),[g,t,x,e]),(0,o.Z)((([t])=>{t!==g&&y.fire(g)}),[g,y]),(0,c.useEffect)((()=>{if(i.EW.isPlugin){const n=g.onDidChangeContent((()=>{const n=R.current;if(!A.current&&(null===t||void 0===t?void 0:t.renderGuid)===(null===n||void 0===n?void 0:n.renderGuid)&&n){const t=g.getValue();w.fire(t),x.fire({...n,id:e||n.isNew?void 0:n.id,html:t})}}));return()=>n.dispose()}}),[g,w,x,t,e]);const _=(0,c.useCallback)((async()=>{const t=R.current;try{var e;(0,l.po)(g),g.setValue((null===t||void 0===t||null===(e=t.html)||void 0===e?void 0:e.replaceAll("\r\n","\n"))||"")}finally{(0,l.SF)(g)}const n=g.getValue();await h.sendAsync(i.Ru.SANDBOX_SET_ENTITY,{html:n,guid:t.renderGuid})}),[g,h]),E=(0,c.useCallback)((async()=>{const t=R.current;await h.sendAsync(i.Ru.SANDBOX_SET_ENTITY,{html:g.getValue(),guid:t.renderGuid})}),[g,h]),k=(0,c.useCallback)((async()=>{const t=R.current;void 0!==t.preheader&&await h.sendAsync(i.Ru.SANDBOX_PREHEADER_UPDATE,{value:t.preheader,guid:t.renderGuid,force:!0})}),[h]),I=(0,c.useCallback)((async()=>{const t=R.current;void 0!==t.subject&&await h.sendAsync(i.Ru.SANDBOX_SUBJECT_UPDATE,{value:t.subject,guid:t.renderGuid,force:!0})}),[h]),T=(0,c.useCallback)((()=>{const t=R.current;return h.sendAsync(i.Ru.SANDBOX_INITED,{guid:t.renderGuid})}),[h]),C=(0,c.useCallback)((()=>{const t=R.current;return n(void 0===t.id?(0,m.Uh)(!0):(0,p.Wm)(!0)),v.fire({...t,id:e||t.isNew?void 0:t.id,html:g.getValue()})}),[n,v,g,e]),S=(0,c.useCallback)((()=>{const t=R.current;return h.sendAsync(i.Ru.SANDBOX_INIT_START,{guid:t.renderGuid})}),[h]),L=(0,c.useCallback)((()=>{const t=R.current;return f.fire({...t,id:e||t.isNew?void 0:t.id,html:g.getValue()})}),[f,g,e]),[B]=(0,o.c)((function*(){try{A.current=!0,yield*(0,u.T1)(S),yield*(0,u.T1)(L),yield*(0,u.T1)(_),yield*(0,u.T1)(k),yield*(0,u.T1)(I),yield*(0,u.T1)(T),yield*(0,u.T1)(C)}finally{A.current=!1}}),[_,k,I,C,L,S,T]),[O]=(0,o.c)((function*(){try{yield*(0,u.T1)(S),yield*(0,u.T1)(L),yield*(0,u.T1)(E),yield*(0,u.T1)(k),yield*(0,u.T1)(I),yield*(0,u.T1)(T),yield*(0,u.T1)(C)}finally{}}),[_,k,I,C,L,S,T]);(0,o.Z)((async([e])=>{const n=null===t||void 0===t?void 0:t.renderGuid;n&&n!==e&&B()}),[null===t||void 0===t?void 0:t.renderGuid,B]),(0,c.useEffect)((()=>{const t=h.addListenerAsync(i.Ru.RELOAD,(async()=>{await O()}));return()=>t.dispose()}),[h,O])}},14598:(t,e,n)=>{"use strict";n.d(e,{QM:()=>s,q2:()=>p});var i=n(60564),d=n.n(i),a=n(58689),r=n(81158);function s(t,e){const n=document.createElement("input");n.type="file",n.accept=t,n.multiple=!0,n.onchange=()=>{var t;null!==(t=n.files)&&void 0!==t&&t.length&&e(n.files)},n.click()}const l="index.html";function o(t,e){return t.find((function(t){return t.name.toLowerCase().endsWith(e)}))}async function c(t,e,n){return await(0,a.bc)(t,(async t=>{t=t.replace("\\","/");const n=(0,a.$l)(t);return e(t,n)}),n)}async function p(t,e,n){if(t){switch(function(t){const e=t.split(".");return e[e.length-1].toLowerCase()}(t.name)){case"zip":return async function(t,e,n){var i=new(d());const{files:r}=await i.loadAsync(t),s=Object.keys(r).map((t=>r[t])),c=r[l]||o(s,l)||o(s,".html")||o(s,".htm");if(c){const t=c.name.split("/"),i=document.location.pathname.split("/"),d=document.location.origin+i.slice(0,i.length-t.length).join("/")+"/",s=await c.async("text"),l=t.slice(0,t.length-1).join("/");return await(0,a.bc)(s,(async t=>{(t=t.replace("\\","/")).startsWith(".")&&(t=t.substring(1)),t.startsWith("/")&&(t=t.substring(1)),t.startsWith(d)&&(t=t.substring(d.length)),l&&!t.match("^(ht|f)tp(s?)://")&&(t=`${l}/${t}`);const n=r[t];if(n){const t=n.name,i=await n.async("blob");return e(i,t)}const i=(0,a.$l)(t);return e(t,i)}),n)}}(t,e,n);case"eml":{const i=await t.text(),d=(0,r.bZ)(i);if(d instanceof Error)throw d;const a="string"===typeof d?d:d.html;if("undefined"===typeof a)throw new Error("Eml not contains text/html");return c(a,e,n)}default:return c(await t.text(),e,n)}}}},44396:(t,e,n)=>{"use strict";n.d(e,{Q:()=>s});var i=n(60089),d=n(70609);const a=100;class r extends i.m{constructor(t,e,n,i){super(t,e,n,i),this._onScrollDisposable=null,this._editor=t}updateColorDecorators(t){if(this._onScrollDisposable&&(this._onScrollDisposable.dispose(),this._onScrollDisposable=null),t.length>=500){const e=this._editor;let[n,i]=[Number.MAX_VALUE,Number.MIN_VALUE];const d=()=>{const d=e.getVisibleRanges(),[r,s]=d.reduce(((t,{startLineNumber:e,endLineNumber:n})=>[Math.min(e,t[0]),Math.max(n,t[1])]),[Number.MAX_VALUE,Number.MIN_VALUE]);if(n-r>a||s-i>a){let e=t.filter((({colorInfo:t})=>{const{startLineNumber:e,endLineNumber:n}=t.range;return r-e<a&&n-s<a}));super.updateColorDecorators(e)}};this._onScrollDisposable=e.onDidScrollChange(d),d()}else super.updateColorDecorators(t)}dispose(){var t;null===(t=this._onScrollDisposable)||void 0===t||t.dispose(),super.dispose()}}function s(){(0,d.D0)(r.ID,(()=>r))}},36671:(t,e,n)=>{"use strict";n.d(e,{h:()=>y});var i=n(92810),d=n(70609),a=n(85163),r=n(32411),s=n(64037),l=n(71157),o=n(45934),c=n(86286),p=n(23287),m=n(39217),b=n(45695),u=n(77509),g=n(83863);const h=1e3,f=2e3,v=10,w="iframe_errors",x=5;function y(t,e){const{__:n}=(0,p.s9)(),y=(0,b.QC)(),A=(0,r.aD)(t),{error:R}=(0,l.hN)(),_=(0,i.useRef)(0),E=(0,i.useRef)(),k=(0,i.useRef)(!1),I=(0,o.d4)(c.C1),T=(0,i.useCallback)((t=>new Promise(((e,n)=>{const i=y.addListener(a.Ru.SANDBOX_READY,(()=>{i.dispose(),e()}));t&&setTimeout((()=>{i.dispose(),n("timeout")}))}))),[y]),C=(0,i.useCallback)((i=>{T(f).catch((t=>console.log(t))).finally((()=>{Promise.resolve().then((()=>{if(!k.current){if(++_.current){if(E.current){if(_.current<x){A.restoreSnapshot(E.current);for(let t=0;t<_.current;t++)A.undo()}}else E.current=A.createSnapshot();y.send(a.Ru.RELOAD)}setTimeout((()=>{if(0===--_.current){E.current=null;const d={past:A.getPast().slice(0,v),future:A.getFuture(),errorResolved:!k.current,text:t.getValue(),message:i.message,stack:i.stack,userId:null===I||void 0===I?void 0:I.id,entityId:null===e||void 0===e?void 0:e.id,entityType:document.location.pathname.indexOf("emails")>0?"email":"block"};console.log(d),R({id:"IFRAME_ERROR",data:d,message:n("Something went wrong")}),m.CJ.post(w,d).catch((t=>console.log(t))),k.current=!1}}),f)}}))}))}),[A,t,R,null===I||void 0===I?void 0:I.id,null===e||void 0===e?void 0:e.id,n,T,y]);(0,s.A)(a.Ru.APPLICATION_DOMPARSER_ERROR,C),(0,i.useEffect)((()=>{let n=null,i=0;function r(t){const e=[];for(const{rangeOffset:n,rangeLength:i,text:d}of t.changes)e.push({range:{start:n,end:n+i},text:d});return e}let s=!1;const l=new u.j;return l.addDisposable((0,g.Og)(t,(t=>(async t=>{if(s)await y.sendAsync(a.Ru.SANDBOX_UPDATE_ENTITY,{edits:[r(t)],guid:e.renderGuid});else if(n)n.push(t);else{n=[t];do{const t=n.splice(0,n.length);await y.sendAsync(a.Ru.SANDBOX_UPDATE_ENTITY,{edits:t.map(r),guid:e.renderGuid})}while(n.length);n=null}})(t).catch((t=>console.log(t)))))),l.addDisposable(y.addListener(a.Ru.APPLICATION_UPDATE_ENTITY,(function({guid:n,edits:a,pushUndoStop:r}){if(t&&n===e.renderGuid)try{s=!0;const e=(0,d.yc)();let n=e.canUndo(t.uri),l=e.canRedo(t.uri);const o=a.map((({text:e,range:n})=>{const i=t.getPositionAt(n.start),d=t.getPositionAt(n.end);return{text:e,range:{startColumn:i.column,startLineNumber:i.lineNumber,endColumn:d.column,endLineNumber:d.lineNumber}}}));r||n||l?t.pushEditOperations([],o,(()=>null)):t.applyEdits(o),!1!==r&&(i&&clearTimeout(i),i=setTimeout((()=>{t.pushStackElement(),i=0}),h))}finally{s=!1}}))),()=>{l.dispose(),i&&clearTimeout(i)}}),[t,y,e.renderGuid])}},32411:(t,e,n)=>{"use strict";n.d(e,{$Z:()=>m,TW:()=>c,aD:()=>p,fn:()=>b,kx:()=>s});var i=n(70609),d=n(92810),a=n(60382),r=n(33695);const s=(0,d.createContext)(null),l={editorWorkerService:"editor.worker.js",html:"html.worker.js",css:"css.worker.js",typescript:"ts.worker.js",json:"json.worker.js",javascript:"ts.worker.js",less:"css.worker.js",scss:"css.worker.js",handlebars:"html.worker.js",razor:"html.worker.js"};function o(t,e){/^(\/\/)/.test(t)&&(t=window.location.protocol+t);var n=new Blob(["/*"+e+'*/importScripts("'+t+'");'],{type:"application/javascript"});return URL.createObjectURL(n)}function c(t){const e=(0,i.yc)(),[n,a]=(0,d.useState)({canUndo:e.canUndo(t.uri),canRedo:e.canRedo(t.uri)});return(0,d.useEffect)((()=>{const n=t.onDidChangeContent((()=>{setTimeout((()=>a({canUndo:e.canUndo(t.uri),canRedo:e.canRedo(t.uri)})))}));return()=>{n.dispose()}}),[t,e]),n}function p(t){function e(t){var e;const n=(null===t||void 0===t||null===(e=t.actual)||void 0===e?void 0:e._data)||new r.Ov;return n instanceof r.Ov?n:r.Ov.deserialize(n)}const n=(0,i.yc)();return(0,d.useMemo)((()=>({undo:()=>n.undo(t.uri),redo:()=>n.redo(t.uri),clear:()=>n.removeElements(t.uri),getPast:()=>{var i,d;return(null===(i=n._editStacks.get(t.uri.toString()))||void 0===i||null===(d=i._past)||void 0===d?void 0:d.map(e))||[]},getFuture:()=>{var i,d;return(null===(i=n._editStacks.get(t.uri.toString()))||void 0===i||null===(d=i._future)||void 0===d?void 0:d.map(e))||[]},canUndo:()=>n.canUndo(t.uri),canRedo:()=>n.canRedo(t.uri),createSnapshot:()=>n.createSnapshot(t.uri),restoreSnapshot:t=>n.restoreSnapshot(t)})),[n,t])}function m(t="",e="html"){const n=a.editor.createModel(t,e);return n.setEOL(a.editor.EndOfLineSequence.LF),n}function b(){return(0,d.useContext)(s)}emailmakerMonacoEnvironment.getWorkerUrl=(t,e)=>{var i=n.p,d=(i?i.replace(/\/$/,"")+"/":"")+l[e],a=new URL(d,window.location.origin),r=a.protocol;if("http:"===r||"https:"===r){if(a.protocol!==window.location.protocol||a.hostname!==window.location.hostname)return o(d,e);if("localhost"===a.hostname&&(a.port||"80")!==(window.location.port||"80"))return o(d,e)}else if("file:"===r)return o(d,e);return d}},83863:(t,e,n)=>{"use strict";n.d(e,{Og:()=>r,SF:()=>a,po:()=>d});const i=new Set;function d(t){return i.add(t),{dispose(){a(t)}}}function a(t){i.delete(t)}function r(t,e){let n=t.getVersionId(),d=[];const a=t.onDidChangeContent((a=>{if(a.versionId>n+1){let r=t.onDidChangeContent((s=>{if(a.versionId===n+1)try{i.has(t)||e(a)}catch(l){console.log(l)}finally{n=a.versionId;let t=d.indexOf(r);t>=0&&d.splice(t,1),r.dispose()}}));d.push(r)}else try{i.has(t)||e(a)}catch(r){console.log(r)}finally{n=a.versionId}}));return{dispose:()=>{a.dispose(),d.forEach((t=>t.dispose()))}}}},70609:(t,e,n)=>{"use strict";n.d(e,{D0:()=>r,yc:()=>s});var i=n(95713),d=n(42443),a=n(60332);function r(t,e){const n=i.dS.getEditorContributions().find((e=>e.id===t));if(!n)throw new Error(`No contribution ${t}`);n.ctor=e(n)}function s(){return t=a.$D,d.QE.get(t);var t}},71157:(t,e,n)=>{"use strict";n.d(e,{Gy:()=>m,O5:()=>g,hN:()=>u,x_:()=>b});var i=n(13522),d=n(93982),a=n(92810),r=n(33206),s=n(13329),l=n(28316),o=n(814),c=n(70082);const p="bottomRight";function m(t){return{id:t.id,code:t.html,title:t.title,subject:t.subject,preheader:t.preheader}}function b(t){return{id:t.id,code:t.html,title:t.title}}function u(){const t=(0,d.ml)(i.A.ON_NOTIFICATION),{notification:e}=r.A.useApp(),n=(0,a.useCallback)(((n,i)=>{n.type||(n={...n,type:"info"}),t.fire((0,o.TB)({id:n.id,type:n.type,data:n.data,innerException:n.innerException})).then((t=>{if(t.every((t=>!1!==t))){n={...n};for(const e of t)"object"===typeof e&&Object.assign(n,e,e.style?{style:{...e.style,...n.style}}:{},e.props?{props:{...e.props,...n.props}}:{},e.className?{className:n.className?`${n.className} ${e.className}`:e.className}:{});i||((n=Object.assign(n,...t.filter((t=>"object"===typeof t)))).placement||(n.placement=p),e[n.type]?e[n.type](n):(console.log(n.type),console.log(n.id),n.message&&console.log(n.message)))}}))}),[e,t]),s=(0,a.useCallback)(((t,e)=>n({...t,type:"error"},e)),[n]),l=(0,a.useCallback)(((t,e)=>n({...t,type:"success"},e)),[n]),m=(0,a.useCallback)(((t,e)=>n({...t,type:"warning"},e)),[n]),b=(0,a.useCallback)(((t,e)=>n({...t,type:"info"},e)),[n]),u=(0,a.useCallback)(((t,e,n,i,d=p)=>{var a,r;n&&s({id:t,data:e,message:n.data instanceof Error?"":(0,c.jsx)("div",{dangerouslySetInnerHTML:{__html:(null===(a=n.data)||void 0===a?void 0:a.code)||n.status||n}}),description:(0,c.jsx)("div",{dangerouslySetInnerHTML:{__html:(null===(r=n.data)||void 0===r?void 0:r.message)||n.error}}),placement:d,innerException:(null===n||void 0===n?void 0:n.data)instanceof Error?n.data:n},i)}),[s]);return(0,a.useMemo)((()=>({notify:n,success:l,error:s,warning:m,fromError:u,info:b})),[n,l,s,m,u,b])}function g(){const{notify:t}=u();(0,s.D3)(l.Sb,t)}},23287:(t,e,n)=>{"use strict";n.d(e,{CY:()=>s,s9:()=>l});var i=n(92810),d=n(92032);function a(t){return{__:t.__.bind(t),_x:t._x.bind(t),_n:t._n.bind(t),_nx:t._nx.bind(t),sprintf:d.nv,isRTL:t.isRTL.bind(t),hasTranslation:t.hasTranslation.bind(t)}}const r=(0,i.createContext)(a(d.y3));function s(t){const{children:e,i18n:n=d.y3}=t,[,s]=(0,i.useReducer)((()=>[]),[]);(0,i.useEffect)((()=>n.subscribe(s)),[n]);const l=(0,i.useMemo)((()=>a(n)),[n]);return(0,i.createElement)(r.Provider,{value:l},e)}const l=()=>(0,i.useContext)(r)},42068:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a,c:()=>r});var i=n(92810),d=n(87686);const a=(t,e)=>{const n=(0,i.useRef)();n.current=t;const d=(0,i.useRef)(void 0);(0,i.useEffect)((()=>{null!==d.current&&n.current(d.current||[]),d.current=e}),e)};function r(t,e){const n=(0,i.useRef)(),a=(0,i.useCallback)((()=>{const t=n.current;t&&(0,d.eF)(t.halt)}),[]);(0,i.useEffect)((()=>()=>a()),[a]);const r=(0,i.useCallback)(t,e);return[(0,i.useCallback)(((...t)=>{a();const e=(0,d.eF)((()=>r(...t)));return n.current=e,e}),[a,r]),a]}},69156:(t,e,n)=>{"use strict";n.d(e,{A5:()=>c,FN:()=>o,Hk:()=>l,c8:()=>p});var i=n(92810),d=n(85163),a=n(45695);const r=document.querySelectorAll("link[rel=stylesheet][media*=prefers-color-scheme][media*=dark]"),s=document.querySelectorAll("link[rel=stylesheet][media*=prefers-color-scheme][media*=light]"),l=t=>{let e,n;t===d.IJ?(e=d.vd,n=d.F3):(e=t===d.T?d.y2:d.CJ,n=t===d.nd?d.y2:d.CJ),[...s].forEach((t=>{t.media=e})),[...r].forEach((t=>{t.media=n}))},o=(t={})=>{const e=document.querySelector("head"),n=document.createElement("style");if(n.type="text/css",n.dataset.themeVaribalse=!0,Object.entries(t).length){let i="";Object.entries(t).forEach((([t,e])=>{"object"!==typeof e&&(i+=`\t--${t}: ${e};\n`)})),i=`.blocks-body, .blocks-app, .ant-modal-root, .ant-tooltip, .ant-notification {\n${i}}`,n.appendChild(document.createTextNode(i));const d=e.querySelector('[data-theme-varibalse="true"]');d?e.replaceChild(n,d):e.insertBefore(n,e.firstChild)}},c=t=>{const e=document.body;e.classList.contains(t)||setTimeout((()=>{e.classList.remove(t===d.nd?d.T:d.nd),e.classList.add(t)}),200)},p=()=>{const t=(0,a.XW)();return(0,i.useCallback)((()=>{const e=window.localStorage.getItem(d.V0.em_color_scheme),n=matchMedia(d.F3).matches?d.nd:d.T,i=e||n;t({operation:d.Ru.UPDATE_PREVIEW,theme:i})}),[t])}},31770:(t,e,n)=>{"use strict";function i(t){return t}function d({data:t,...e},n){return e.error?e:{data:n(t,e.meta),...e}}function a(t){return e=>d(e,t)}function r(t){return e=>d(e,((e,n)=>e.hasOwnProperty("previous")?t(e.previous,n):t(e,n)))}function s(t){return e=>function({data:t,...e},n){return e.error?e:{data:t.map((t=>n(t,e.meta))),...e}}(e,t)}n.d(e,{Ih:()=>s,PI:()=>r,SA:()=>d,SC:()=>a,ur:()=>i})},84869:(t,e,n)=>{"use strict";function i(t,e){if("object"===typeof t&&t){e(t);for(const n of Object.values(t))i(n,e)}}function d(t=".blocks-app"){t=`${t} &`;const e=new WeakSet;return{visit:n=>{if(!e.has(n)){const d={};let a;for(const r of Object.keys(n)){const s=n[r];"object"===typeof s&&s?(s._keyframe&&i(s,(t=>e.add(t))),d[r]=s):(a||(a=d[t]={},e.add(a)),a[r]=s)}return d}return n}}}n.d(e,{A:()=>d})},44824:(t,e,n)=>{"use strict";n.d(e,{e:()=>d});var i=n(26453);async function d(t,e){if("amp"===e){for(const e of t.querySelectorAll(".em-amp-show-disabled"))e.remove();await(0,i.Sc)(t,{mappedTags:{script:"___script"}})}else if("html"===e){for(const e of t.querySelectorAll(".em-amp-show-only"))e.remove();(0,i.Km)(t,{mappedTags:{script:"___script"}})}}},78451:(t,e,n)=>{"use strict";n.d(e,{A:()=>l});var i=n(92810),d=n(45934),a=n(64617),r=n(86739),s=n(65983);const l=()=>{const t=(0,d.wA)(),e=(0,d.d4)(s.zn);let n=(0,a.zy)();(0,i.useEffect)((()=>{/emails\/[0-9]+$/.test(n.pathname)||e&&t(r.GY.util.invalidateTags([{type:"Emails",id:+e}]))}),[n,t,e])}},64037:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(92810),d=n(45695);function a(t,e){const n=(0,d.QC)();(0,i.useEffect)((()=>{const i=n.addListener(t,e);return()=>{i.dispose()}}),[n,t,e])}},31844:(t,e,n)=>{"use strict";n.d(e,{A:()=>l});var i=n(92810),d=n(64617),a=n(45934),r=n(86286),s=n(84568);const l=t=>{const e=(0,a.d4)(r.C1),[n,l]=(0,i.useState)({owner:!1,admin:!1}),o=(0,d.KC)(),{data:c}=(0,s.fo)(t,{skip:!t||!e.id||!(null!==o&&void 0!==o&&o.isUninitialized)}),p=(null===o||void 0===o?void 0:o.data)||c;return(0,i.useEffect)((()=>{if(p){var t,n;const{owner:i,admins:d,users:a}=p.members,r=d?d.map((t=>t.ID)):d,s=a?a.map((t=>t.ID)):a;l({owner:(null===(t=i.ID)||void 0===t?void 0:t.toString())===(null===(n=e.id)||void 0===n?void 0:n.toString()),admin:r&&r.includes(e.id),user:s&&s.includes(e.id)})}}),[p,e.id]),n}},3289:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(92810),d=n(45934),a=n(64617),r=n(87790),s=n(85163),l=n(90070);const o=()=>{const t=(0,d.wA)(),e=(0,l.p6)(),n=(0,d.d4)(r.Sl);let o=(0,a.zy)();(0,i.useEffect)((()=>{o.pathname.endsWith("/new")||n&&(t((0,r.X8)()),e.remove(s.A9.em_new_block))}),[o,n,t,e])}},19366:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(92810),d=n(45934),a=n(64617),r=n(8493),s=n(85163),l=n(90070);const o=()=>{const t=(0,l.p6)(),e=(0,d.wA)(),n=(0,d.d4)(r.$S);let o=(0,a.zy)();(0,i.useEffect)((()=>{o.pathname.endsWith("/new")||(t.remove(s.A9.em_new_email),t.remove(s.A9.em_template_email),n&&e((0,r.Et)()))}),[o,n,e,t])}},22197:(t,e,n)=>{"use strict";n.d(e,{A:()=>d});var i=n(85163);const d=t=>{if(!i.EW.isPlugin){let e="";e="EmailMaker",document.title=t+" - "+e}}},93718:(t,e,n)=>{var i={"./en_US.ts":[90944,2466],"./ru_RU.ts":[3099,6859]};function d(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],d=e[0];return n.e(e[1]).then((()=>n(d)))}d.keys=()=>Object.keys(i),d.id=93718,t.exports=d},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.png"},50195:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_02_blocks.png"},27544:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_03_blocks.png"},59045:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_04_blocks.png"},97970:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_05_blocks.png"},84093:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_01.png"},42854:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_02.png"},81871:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_03.png"},39024:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_04.png"},35929:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_05.png"},54416:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/frame_dark.png"},98578:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/frame_light.png"},68777:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/frame_template_gallery.png"},58889:t=>{"use strict";t.exports=JSON.parse('{"yG":"iframe.984ccdb9e9538ea29c8a.html","l5":"iframe-eblock.984ccdb9e9538ea29c8a.html"}')}}]);