@emailmaker/emailmaker 1.0.8 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/README_eng.md +1 -1
- package/asset-manifest.json +30 -30
- package/emailmaker-esm.js +1 -1
- package/emailmaker.js +1 -1
- package/iframe/css/sandbox.css +9 -4
- package/iframe/{iframe-eblock.9f15b585d409c5b241ce.html → iframe-eblock.0647a1d3ec50c052e1ba.html} +1 -1
- package/iframe/{iframe.9f15b585d409c5b241ce.html → iframe.0647a1d3ec50c052e1ba.html} +1 -1
- package/iframe/js/cssbeautify.js +1 -1
- package/iframe/js/typograf/typograf.all.min.js +1 -1
- package/iframe/js/typograf/typograf.all.min.js.LICENSE.txt +1 -1
- package/iframe/sandbox-eblock.js +1 -1
- package/iframe/sandbox-eblock.js.LICENSE.txt +1 -1
- package/iframe/sandbox.js +1 -1
- package/iframe/sandbox.js.LICENSE.txt +1 -1
- package/package.json +1 -1
- package/plugin.html +2 -1
- package/plugin_default.html +1 -1
- package/plugin_s.html +1 -1
- package/static/css/{3851.75ec4b28.css → 3851.1f07a6f1.css} +1 -1
- package/static/js/{1399.2fad9d93.js → 1399.cb4cfaa3.js} +1 -1
- package/static/js/1472.fe27dc78.js +1 -0
- package/static/js/2256.b4b12bd2.js +1 -0
- package/static/js/2627.c2fad689.js +1 -0
- package/static/js/2835.546adb70.js +1 -0
- package/static/js/4087.39430f66.js +1 -0
- package/static/js/5571.74b1c7f8.js +1 -0
- package/static/js/5632.50b5ade7.js +1 -0
- package/static/js/5974.441a5974.js +1 -0
- package/static/js/698.9920d87b.js +1 -0
- package/static/js/8353.be165e77.js +1 -0
- package/static/js/{9141.a807f45f.js → 9141.32c0af4c.js} +1 -1
- package/static/js/{emailmaker_core.d4c06bc2.js → emailmaker_core.a12d7e5c.js} +1 -1
- package/static/js/mergeTags/locale1.7ae1a083.chunk.js +1 -0
- package/translations.pot +323 -365
- package/static/js/1472.e4ead619.js +0 -1
- package/static/js/2256.13abf27b.js +0 -1
- package/static/js/2627.8ccc75f9.js +0 -1
- package/static/js/2835.740ca6fd.js +0 -1
- package/static/js/4087.9a4ff675.js +0 -1
- package/static/js/5571.7c0161af.js +0 -1
- package/static/js/5632.0476b4be.js +0 -1
- package/static/js/5974.7e71f106.js +0 -1
- package/static/js/698.f294be82.js +0 -1
- package/static/js/8353.43f48dbb.js +0 -1
- package/static/js/mergeTags/locale1.08f64b23.chunk.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[2627],{79381:(e,t,s)=>{s.d(t,{A:()=>se});var r=s(92810),i=s(64617),n=s(41919),a=s(95838),l=s(71157),o=s(98915),c=s(17590),d=s(21195),m=s(45934),u=s(38883),p=s.n(u),h=s(43005),_=s(24696),g=s(94822),v=s(23287),j=s(3824),x=s(75111),f=s(81325),y=s(74919),A=s(39475),b=s(8375),w=s(32293),N=s(9588),S=s(68631),I=s(84501),k=s(85025),C=s(94219),T=s(81577),E=s(64936),L=s(36404),O=s(86286),z=s(39990),D=s(32269),M=s(90070),R=s(85163),B=s(70082);const F=({isMenuCollapsed:e,setIsMenuCollapsed:t,isLocked:s})=>{var n;const{__:a}=(0,v.s9)();let l=(0,m.wA)(),o=(0,i.Zp)();const{projectId:c}=(0,i.g)(),{pathname:d}=(0,i.zy)(),[u,F]=(0,r.useState)(""),P=(0,m.d4)(L.yN),H=(0,m.d4)(O.C1),q=(0,M.p6)(),$=(0,r.useCallback)((()=>{d.includes("blocks")?F("Blocks"):d.includes("emails")?F("Emails"):d.includes("members")&&F("Members"),!s&&t(!0)}),[d,t,s]);(0,r.useEffect)((()=>{$()}),[$]);let V=[],W=[];const X=(null===P||void 0===P?void 0:P.title)||"";let J=[{label:(0,B.jsx)("a",{href:"https://emailmaker.ru/help/",target:"_blank",rel:"noopener noreferrer",children:a("Help")}),key:"Help center",icon:(0,B.jsx)(j.A,{style:{fontSize:"16px"}}),className:"help-center"},{label:a("Chat support"),key:"Support chat",icon:(0,B.jsx)(x.A,{style:{fontSize:"16px"}}),className:"open-support-chat",onClick:()=>{try{window.carrotquest.open()}catch(e){console.log(e)}}}],U=[{label:a("Account settings"),key:"Account settings",icon:(0,B.jsx)(f.A,{style:{fontSize:"16px"}}),className:"em-analytics__account-settings",onClick:()=>{l((0,E.qf)(R.lx.EDIT_PROFILE_MODAL)),!s&&t(!0)}},{label:(0,B.jsx)(g.N_,{to:"/billing",children:a("Billing")}),key:"Billing",icon:(0,B.jsx)(y.A,{style:{fontSize:"16px"}}),className:"em-analytics__billing"},{label:a("Sign out"),icon:(0,B.jsx)(A.A,{style:{fontSize:"16px"}}),key:"Sign out",className:"em-analytics__sign-out",onClick:()=>{(0,D.Id)(q),l(z.Q2.util.resetApiState()),o("/auth",{replace:!0})}}];const Y="/projects"+(c?"/"+c+"/emails?page=1":""),Z=[{label:(0,B.jsx)(g.N_,{style:{fontSize:16},to:Y,children:X}),key:"Project",popupOffset:[0,16],style:{fontWeight:500},icon:c?(0,B.jsx)(g.N_,{to:Y,className:"project-menu__block",style:{fontSize:"18px",zIndex:99},children:(0,B.jsx)(h.Ay,{type:"primary",className:"project-menu__block-button",children:null===X||void 0===X?void 0:X.split(" ").slice(0,2).map((e=>Array.from(e)[0]))})}):(0,B.jsxs)(g.N_,{to:Y,rel:"noopener noreferrer",className:"project-menu__block",style:{fontSize:"28px"},children:[(0,B.jsxs)("b",{children:[(0,B.jsx)("span",{className:"letters",children:"E"}),(!e||s)&&(0,B.jsx)("span",{className:"hidden-text",children:"mail"})]}),(0,B.jsx)("span",{className:"letters",children:"M"}),(!e||s)&&(0,B.jsx)("span",{className:"hidden-text",children:"aker"})]}),className:p()("project-menu__list-item project-menu__list-item_project project-menu__list-item_project",{"project-menu__list-item_logo":!c,"project-menu__list-item_project":c}),children:c&&[{label:a("Project settings"),key:"Project settings",className:"em-analytics__account-settings",icon:(0,B.jsx)(b.A,{style:{fontSize:"16px"}}),onClick:()=>{l((0,E.qf)(R.lx.EDIT_PROJECT_MODAL)),!s&&t(!0)}},{label:(0,B.jsx)(g.N_,{to:"/projects",children:a("List of projects")}),key:"List of projects",icon:(0,B.jsx)(w.A,{style:{fontSize:"16px"}}),className:"em-analytics__sign-out"}]},{type:"divider"}];return V.push({icon:(0,B.jsx)(N.A,{style:{fontSize:20}}),label:(0,B.jsx)(g.N_,{to:`/projects/${c}/emails`,rel:"noopener noreferrer",children:a("Emails")}),key:"Emails",className:"project-menu__list-item em-analytics__project-menu-emails"},{icon:(0,B.jsx)(S.A,{style:{fontSize:20}}),label:(0,B.jsx)(g.N_,{to:`/projects/${c}/blocks`,rel:"noopener noreferrer",children:a("Blocks")}),key:"Blocks",className:"project-menu__list-item em-analytics__project-menu-blocks"},{icon:(0,B.jsx)(I.A,{style:{fontSize:20}}),label:(0,B.jsx)(g.N_,{to:`/projects/${c}/members`,rel:"noopener noreferrer",children:a("Members")}),key:"Members",className:"project-menu__list-item em-analytics__project-menu-members"}),"community"===H.subscription.post_name&&c&&H.counters.emails_counter>2&&W.push({icon:(0,B.jsx)(k.A,{style:{fontSize:20,lineHeight:"44px"}}),label:(0,B.jsx)(g.N_,{to:"/billing",rel:"noopener noreferrer",style:{fontSize:16,color:"white"},children:a("Upgrade")}),key:"Emails",className:"project-menu__list-item"}),W.push({icon:(0,B.jsx)(C.A,{style:{fontSize:18}}),label:a("Help menu"),key:"Help menu",className:"project-menu__list-item support-center-menu",children:J},{icon:(0,B.jsx)(T.A,{style:{fontSize:18}}),label:a("What's new"),key:"What's new",className:"project-menu__list-item ducalis-changelog-widget em-analytics__project-menu-ducalis"},{icon:(0,B.jsx)("span",{style:{width:"20px",height:"20px",fontSize:"20px"},className:"user-profile__avatar anticon",children:null!==H&&void 0!==H&&null!==(n=H.avatar_urls)&&void 0!==n&&n[24]?[(0,B.jsx)("img",{style:{width:"100%"},src:null===H||void 0===H?void 0:H.avatar_urls[24],alt:null!==H&&void 0!==H&&H.name?`${null===H||void 0===H?void 0:H.name} avatar`:"User avatar",className:"user-profile__avatar-img"},"img"),(0,B.jsx)(f.A,{style:{position:"absolute",fontSize:20,borderRadius:100,overflow:"hidden",height:20,width:20,lineHeight:0,zIndex:-1}},"UserOutlined")]:(0,B.jsx)(f.A,{style:{color:"white"}})}),label:(null===H||void 0===H?void 0:H.name)||null,key:"User profile",className:"project-menu__list-item user-profile",children:U}),(0,B.jsx)(B.Fragment,{children:(0,B.jsxs)("div",{className:"project-menu",children:[(0,B.jsxs)("div",{children:[(0,B.jsx)(_.A,{disabledOverflow:!0,className:"project-menu__list project-menu__list_top",style:{fontSize:16},items:Z,triggerSubMenuAction:"hover",subMenuOpenDelay:.3,selectable:!1}),c&&(0,B.jsx)(_.A,{disabledOverflow:!0,selectable:!0,selectedKeys:[u],className:"project-menu__list project-menu__list_second",style:{fontSize:16,marginTop:30},items:V,triggerSubMenuAction:"hover"})]}),(0,B.jsx)(_.A,{disabledOverflow:!0,selectable:!0,selectedKeys:["Emails"],forceSubMenuRender:"true",className:"project-menu__list project-menu__list_bottom",style:{fontSize:14,marginBottom:6},subMenuOpenDelay:.3,items:W,triggerSubMenuAction:"hover"})]})})};var P=s(35285),H=s(65052),q=s(70656),$=s(62689),V=s(65983),W=s(7760),X=s(19366),J=s(3289),U=s(78451),Y=s(32411),Z=s(69156),K=s(13329),G=s(56991),Q=s(28316);const{Sider:ee}=n.A,{useToken:te}=a.A,se=()=>{const{token:e}=te();let t=(0,i.zy)();const s=(0,m.wA)(),a=(0,i.Zp)(),{emailId:u,blockId:h}=(0,i.g)(),_=(0,m.d4)(O.C1),g=(0,m.d4)(E.cL),v=(0,r.useRef)(),[j]=(0,$.bw)(),x=(0,l.hN)();v.current||(v.current=(0,Y.$Z)()),(0,r.useEffect)((()=>{(0,Z.FN)(e)}),[e]);const{data:f=[],isSuccess:y}=(0,$.I9)(_.id,{pollingInterval:3e4,skip:g});(0,r.useEffect)((()=>{const e=f.filter((e=>""===e.seen||null===e.seen));setTimeout((()=>{e.length&&y&&e.forEach((e=>{x[e.type]({message:(0,B.jsx)("div",{dangerouslySetInnerHTML:{__html:e.title}}),description:(0,B.jsx)("div",{dangerouslySetInnerHTML:{__html:e.content}}),placement:"bottomRight"});const t=(new Date).toLocaleString();j({id:e.id,datetime:t}).unwrap()}))}),5e3)}),[y,j,f,x]),(0,X.A)(),(0,J.A)(),(0,U.A)(),(0,r.useEffect)((()=>{h||s((0,W.nJ)()),u||s((0,V.ss)())}),[h,u,s,t.pathname]);let A=null;(u||h||t.pathname.endsWith("/new"))&&(A=v.current);const b=JSON.parse(localStorage.getItem(R.V0.em_menu_is_locked)),[w,N]=(0,r.useState)((null===b||void 0===b?void 0:b.isLocked)||!1),[S,I]=(0,r.useState)(!0);return(0,r.useEffect)((()=>{const e=()=>localStorage.setItem(R.V0.em_menu_is_locked,JSON.stringify({isLocked:w}));return e(),e()}),[w]),(0,K.D3)(Q._1,(0,r.useCallback)((e=>{const t=(0,G.Mu)(e);a(t)}),[a])),(0,B.jsx)("div",{className:"main",children:(0,B.jsx)(Y.kx.Provider,{value:A,children:(0,B.jsx)("div",{className:"main__pane main__pane_main",children:(0,B.jsx)("div",{className:"main__pane-content",id:"pane-content-iframe",children:(0,B.jsxs)(n.A,{className:"main__pane-layout",hasSider:!0,children:[!R.EW.isPlugin&&(0,B.jsx)(ee,{theme:"light",style:{borderColor:e.colorBorder,position:"fixed"},collapsible:!0,collapsed:!w&&S,defaultCollapsed:!0,reverseArrow:!w&&!S||w&&!S,trigger:(0,B.jsxs)("div",{className:"main__pane-trigger",children:[w?(0,B.jsx)(d.A,{style:{fontSize:18}}):(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(o.A,{style:{fontSize:18}}),(0,B.jsx)(c.A,{style:{fontSize:18}})]}),(0,B.jsx)(q.A,{})]}),className:p()("main__menu",{main__menu_lock:w}),width:260,onCollapse:(e,t)=>{e?!w&&I(!0):I(!e),N(!w)},onMouseEnter:()=>!w&&I(!1),onMouseLeave:()=>!w&&I(!0),children:(0,B.jsx)(F,{isMenuCollapsed:S,setIsMenuCollapsed:I,isLocked:w})}),(0,B.jsx)(P.A,{isModalVisible:g===R.lx.EDIT_PROJECT_MODAL}),(0,B.jsx)(H.A,{isModalVisible:g===R.lx.EDIT_PROFILE_MODAL}),(0,B.jsx)(i.sv,{})]})})})})})}},24495:(e,t,s)=>{s.d(t,{A:()=>E});var r=s(92810),i=s(76662),n=s(41919),a=s(43005),l=s(71157),o=s(20258),c=s(64617),d=s(12280),m=s(55039),u=s(45934),p=s(23287),h=s(4800),_=s(21349),g=s(8114),v=s(85163);const j=(e,t,s,r,i,n)=>{var a,l;const o=n("Owner","member"),c=n("Administrator","member"),d=i("The invitation has been sent");let m=[];e.role===d?m.push({label:i("Revoke the invite"),key:v.JE,className:"em-analytics__revoke-invite",onClick:({key:t})=>r(t,e)}):(e.role!==o&&m.push({label:i("Assign the project owner"),key:v.gY,className:"em-analytics__members-owner",onClick:({key:t})=>r(t,e)}),e.role!==c&&m.push({label:i("Change role to Administrator"),key:v.Qz,className:"em-analytics__members-admin",onClick:({key:t})=>r(t,e)}),e.role===c&&m.push({label:i("Change role to User"),key:v.aO,className:"em-analytics__members-user",onClick:({key:t})=>r(t,e)}),m.push({label:i("Remove member"),key:v.eA,onClick:({key:t})=>r(t,e)}));let u=[];(null===(a=e.ID)||void 0===a?void 0:a.toString())===(null===(l=s.id)||void 0===l?void 0:l.toString())&&u.push({label:i("Change role to User"),key:v.aO,className:"em-analytics__members-user",onClick:({key:t})=>r(t,e)}),e.role===v.m3&&u.push({label:i("Change role to Administrator"),key:v.Qz,className:"em-analytics__members-admin",onClick:({key:t})=>r(t,e)}),e.role===v.G$?u.push({label:i("Revoke the invite"),key:v.JE,className:"em-analytics__revoke-invite",onClick:({key:t})=>r(t,e)}):u.push({label:i("Remove member"),key:v.eA,className:"em-analytics__members-remove",onClick:({key:t})=>{r(t,e)}});let p=[{label:i("Remove member"),key:v.eA,className:"em-analytics__members-remove",onClick:({key:t})=>r(t,e)}];switch(t){case v.yo:return m;case v.St:return u;case v.m3:return p;default:return null}};j.propTypes={};const x=j;var f=s(86286),y=s(84568),A=s(31844),b=s(32269),w=s(70082);const N=()=>{const{__:e,_x:t}=(0,p.s9)(),s=(0,u.d4)(f.C1),{owner:i,admin:n}=(0,A.A)();let a=(0,c.Zp)();const o=(0,l.hN)(),[d,m]=(0,r.useState)(""),j=t("Owner","member"),N=t("Administrator","member"),S=e("user"),I=e("The invitation has been sent");(0,r.useEffect)((()=>{i||n||m(v.m3),i&&m(v.yo),n&&m(v.St)}),[i,n,s]);const{data:k,isFetching:C,refetch:T}=(0,c.KC)(),[E,L]=(0,r.useState)([]);(0,r.useEffect)((()=>{const{owner:s,admins:r,users:i,invited_users:n}=k.members||{};L([s&&{...s,role:t("Owner","member")},r&&Array.isArray(r)&&r.map((e=>({...e,role:t("Administrator","member")}))),i&&Array.isArray(i)&&i.map((t=>({...t,role:e("user")}))),n&&Array.isArray(n)&&n.filter((e=>null===e||void 0===e?void 0:e.invited_user_email)).map((t=>({role:e("The invitation has been sent"),user_email:t.invited_user_email,user_firstname:" ",user_lastname:" "})))].filter((e=>e)).flat(1))}),[k.members,e,t]);const[O,z]=(0,y.OD)(),D=(r,{role:i,...n})=>{var l,c;let d,m;switch(r){case v.gY:if(i===N){const e=k.members.admins,t=k.members.owner;d={members:{admins:e&&Array.isArray(e)&&e.length>0?[...e.filter((e=>e.ID!==n.ID)).map((e=>e.ID)),t.ID]:0,owner:n.ID}}}if(i===S){const e=k.members.users,t=k.members.owner;d={members:{users:e&&Array.isArray(e)&&e.length>0?[...e.filter((e=>e.ID!==n.ID)).map((e=>e.ID)),t.ID]:0,owner:n.ID}}}m=e("You changed the role of ")+n.display_name+t(" to ","member")+e("owner")+".";break;case v.Qz:if(i===S){const s=k.members.users,r=k.members.admins;d={members:{users:s&&Array.isArray(s)&&s.length>1?s.filter((e=>e.ID!==n.ID)).map((e=>e.ID)):0,admins:r&&Array.isArray(r)&&r.length>0?[...r.map((e=>e.ID)),n.ID]:[n.ID]}},m=e("You changed the role of ")+n.display_name+t(" to ","member")+e("Administrator")+"."}break;case v.aO:if(i===N){const s=k.members.admins,r=k.members.users;d={members:{admins:s&&Array.isArray(s)&&s.length>1?s.filter((e=>e.ID!==n.ID)).map((e=>e.ID)):0,users:r&&Array.isArray(r)&&r.length>0?[...r.map((e=>e.ID)),n.ID]:[n.ID]}},m=e("You changed the role of ")+n.display_name+t(" to ","member")+e("user")+"."}break;case v.eA:if(i===N){const e=k.members.admins;d={members:{admins:e&&Array.isArray(e)&&e.length>1?e.filter((e=>e.ID!==n.ID)).map((e=>e.ID)):0}}}if(i===S){const e=k.members.users;d={members:{users:e&&Array.isArray(e)&&e.length>1?e.filter((e=>e.ID!==n.ID)).map((e=>e.ID)):0}}}m=(null===(l=s.id)||void 0===l?void 0:l.toString())===(null===(c=n.ID)||void 0===c?void 0:c.toString())?e("You deleted yourself from the project successfully."):e("You deleted ")+n.display_name+" "+e(" from the project successfully.");break;case v.JE:const r=k.members.invited_users;d={members:{invited_users:!!(r&&Array.isArray(r)&&r.length>0)&&r.filter((e=>e.invited_user_email&&e.invited_user_email!==n.user_email))}},m=e("You revoke invite for ")+n.user_email+" "+e(" from the project successfully.");break;default:return}O({projectId:k.id,...d}).then((e=>{var t,r;if(e.error)return(null===(t=s.id)||void 0===t?void 0:t.toString())===(null===(r=n.ID)||void 0===r?void 0:r.toString())?((0,b.wB)(m,o),void a("/projects")):void(0,b.p6)(e,o);T(),(0,b.wB)(m,o)}))},M=[{width:"25%",title:e("Email"),dataIndex:["user_email"]},{width:"25%",title:e("Name"),dataIndex:["user_firstname"],render:(e,{user_lastname:t})=>(0,w.jsx)(w.Fragment,{children:e||t?`${e} ${t}`:"-"})},{width:"25%",title:e("Role"),dataIndex:["role"],render:(e,t,s)=>e},{width:"3%",title:"",dataIndex:"",key:"x",onCell:()=>({style:{padding:0}}),render:(r,a)=>{const l=x(a,d,s,D,e,t);return a.role===j||!i&&!n&&a.role===N||n&&a.role===N&&s.id!==a.ID||!i&&!n&&a.role===S&&s.id!==a.ID||!i&&!n&&a.role===I?null:(0,w.jsx)(h.A,{arrow:"true",placement:"bottomRight",menu:{items:l},trigger:["hover"],children:(0,w.jsx)("span",{className:"members-table__actions",children:(0,w.jsx)(g.A,{})})})}}];return(0,w.jsx)("div",{children:(0,w.jsx)(_.A,{bordered:!0,className:"members-table",rowClassName:e=>e.role===I?"members-table__invite_member_row":"",rowKey:e=>`${e.role}_${e.ID||e.user_email}`,dataSource:E,columns:M,loading:z.isLoading||C,showSizeChanger:!1,pagination:{showSizeChanger:!1,hideOnSinglePage:!0,position:["bottomLeft"]}})})};var S=s(20757),I=s(53200),k=s(22197);const{Paragraph:C}=i.A,{Content:T}=n.A,E=()=>{const{__:e}=(0,p.s9)(),t=(0,u.wA)(),{owner:s,admin:i}=(0,A.A)(),[h]=d.A.useForm(),_=(0,l.hN)(),[g,v]=(0,I.N)(),{data:j,refetch:x}=(0,c.KC)();(0,k.A)(e("Members")),(0,r.useEffect)((()=>{document.body.classList.remove("editor")}));const f=(0,w.jsx)(w.Fragment,{children:(0,w.jsx)(C,{className:"ant-page-header-heading-title",children:e("Members")})}),E=(0,w.jsx)(w.Fragment,{children:s||i?[(0,w.jsxs)(d.A,{form:h,name:"search-members-form",initialValues:{remember:!0},onFinish:({email:e})=>{g({email:e,project_id:j.id}).then((e=>{var s,r,i;e.isError?(0,b.p6)(e,_):(null===(s=e.data)||void 0===s||null===(r=s.data)||void 0===r?void 0:r.status)<400?(h.resetFields(),x(),(0,b.wB)(null===e||void 0===e||null===(i=e.data)||void 0===i?void 0:i.message,_),t(y.Nq.util.invalidateTags([{type:"Projects",id:j.id}]))):_.error({message:(0,w.jsx)("div",{dangerouslySetInnerHTML:{__html:e.data.code}}),description:(0,w.jsx)("div",{dangerouslySetInnerHTML:{__html:e.data.message}}),placement:"bottomRight"})}))},autoComplete:"off",layout:"inline",validateTrigger:"onSubmit",onValuesChange:()=>{h.setFields([{errors:[],name:["email"]}])},className:"members-page__search-form",children:[(0,w.jsx)(d.A.Item,{className:"members-page__search-form-item members-page__search-form-item_input-item",name:"email",rules:[{required:!0,message:e("Please enter the correct email address."),type:"email"}],children:(0,w.jsx)(m.A,{placeholder:e("Email of a new member"),disabled:v.isLoading})}),(0,w.jsx)(d.A.Item,{className:"members-page__search-form-item",children:(0,w.jsx)(a.Ay,{type:"primary",className:"em-analytics__members-add",htmlType:"submit",disabled:v.isLoading,icon:(0,w.jsx)(o.A,{}),children:e("Add a member")})})]},"search-members-form")]:[]});return(0,w.jsxs)(n.A,{className:"members-page",children:[(0,w.jsx)(S.A,{leftBlock:f,rightBlock:E}),(0,w.jsx)(T,{className:"members-page__container",children:(0,w.jsx)("div",{className:"members-page__content container",children:(0,w.jsx)(N,{})})})]})}},40836:(e,t,s)=>{s.d(t,{A:()=>f});var r=s(92810),i=s(71503),n=s(45934),a=s(887),l=s(45695),o=s(44396),c=s(86286),d=s(65983),m=s(7760),u=s(53204),p=s(64037),h=s(71070),_=s(85163),g=s(58075),v=s(32411),j=s(56991),x=s(70082);i.wG.config({monaco:h}),(0,o.Q)(),(0,g.Gr)(h),(0,g.Wz)(h,["html"]);const f=({email:e,readOnly:t})=>{const s=(0,v.fn)(),o=(0,l.XW)(),g=(0,n.d4)(d.Up),f=(0,n.d4)(m.Up),y=(0,n.d4)(d.VZ),A=null!==e&&void 0!==e&&e.hasOwnProperty("type")?f:g,b=(0,n.d4)(c.hZ),w=(0,n.wA)(),N=(0,r.useRef)(null),S=(0,r.useRef)(null),I=(0,j.rD)(),k=(0,r.useCallback)((()=>{w((0,c.ku)(!1))}),[w]);(0,r.useEffect)((()=>k()),[k]),(0,r.useEffect)((()=>{if(y){const{current:e}=N;e&&(e.revealRangeInCenterIfOutsideViewport(y),e.setSelection(y))}}),[y]);(0,r.useEffect)((()=>{N.current&&N.current.updateOptions(b)}),[b,N]),(0,r.useEffect)((()=>{matchMedia(_.F3).addEventListener("change",(t=>{const s=window.localStorage.getItem(_.V0.em_color_scheme),r=t.matches?_.nd:_.T;e.hasOwnProperty("type")?w(s?(0,m.eX)(s===_.nd?`vs-${s}`:_.T):(0,m.eX)(r===_.nd?`vs-${r}`:_.T)):w(s?(0,d.eX)(s===_.nd?`vs-${s}`:_.T):(0,d.eX)(r===_.nd?`vs-${r}`:_.T))}))}),[w,e]),(0,r.useEffect)((()=>{const t=window.localStorage.getItem(_.V0.em_color_scheme),s=matchMedia(_.F3).matches?_.nd:_.T;null!==e&&void 0!==e&&e.hasOwnProperty("type")?w(t?(0,m.eX)(t===_.nd?`vs-${t}`:_.T):(0,m.eX)(s===_.nd?`vs-${s}`:_.T)):w(t?(0,d.eX)(t===_.nd?`vs-${t}`:_.T):(0,d.eX)(s===_.nd?`vs-${s}`:_.T))}),[w,e]);(0,p.A)((e=>{const t=e.data.operation,s=e.data;S.current=t,t===_.Ru.UPDATE_EDITOR_POSITION_FROM_IFRAME&&(e=>{const{current:t}=N;if(t&&!t.hasTextFocus()){const s=t.getModel(),r=s.getPositionAt(e.start),i=s.getPositionAt(e.end),n={startColumn:r.column,startLineNumber:r.lineNumber,endColumn:i.column,endLineNumber:i.lineNumber};t.revealRangeInCenterIfOutsideViewport(n),t.setSelection(n)}})(s.data)}));const C=(0,r.useMemo)((()=>({...b,domReadOnly:t,readOnly:t,unusualLineTerminators:"off",mouseWheelZoom:!0,wordWrap:I.onlyCodeModeInMobile?"off":b.wordWrap})),[b,I.onlyCodeModeInMobile,t]);return(null===s||void 0===s?void 0:s.uri)&&(0,x.jsx)(i.Ay,{theme:A,className:"monaco-editor",defaultLanguage:"html",onMount:(e,t)=>{N.current=e;const s=e.getContribution("editor.linkDetector").openerService,r=s.open.bind(s),i=document.createElement("div");new a.Ay(e,h,{"doctype-html5":!1,"html-lang-require":!1,"head-script-disabled":!1,"style-disabled":!1,"script-disabled":!1,"attr-lowercase":!1,"attr-value-single-quotes":!1,"attr-value-not-empty":!1,"attr-sorted":!1,"attr-whitespace":!1,"input-requires-label":!1,"tag-self-close":!1,"tagname-lowercase":!1,"href-abs-or-rel":!1,"inline-style-disabled":!1,"space-tab-mixed-disabled":!1,"attr-no-unnecessary-whitespace":!0,"tags-check":{img:{selfclosing:!1,attrsRequired:["src","alt"]},a:{selfclosing:!1,attrsRequired:["href"]}},"empty-tag-not-self-closed":!1,"attr-value-double-quotes":!0,"doctype-first":!0,"tag-pair":!0,"spec-char-escape":!0,"id-unique":!0,"src-not-empty":!0,"attr-no-duplication":!0,"title-require":!0,"alt-require":!0,"inline-script-disabled":!0,"id-class-value":!1,"id-class-ad-disabled":!0,"attr-unsafe-chars":!0,csslint:{"display-property-grouping":!0,"known-properties":!0}}).watch(),e.getContribution("editor.linkDetector").openerService.open=e=>(i.innerHTML=e,r(i.textContent)),w((0,c.ku)(!0)),e.onMouseUp((()=>{const t=e.getSelection();t.startColumn===t.endColumn&&t.startLineNumber===t.endLineNumber&&(async e=>{const{current:t}=N;if(t){const s=t.getModel();o({operation:_.Ru.UPDATE_EDITOR_POSITION_FROM_EDITOR,data:s.getOffsetAt(e)})}})(e.getPosition())})),e.onDidBlurEditorWidget((()=>{o({operation:_.Ru.EDITOR_CHANGE_FOCUS,data:!1}),w((0,u.YT)(!1))})),e.onDidFocusEditorWidget((()=>{o({operation:_.Ru.EDITOR_CHANGE_FOCUS,data:!0}),w((0,u.YT)(!0))}))},options:C,keepCurrentModel:!0,path:s.uri.toString(),onValidate:function(e){var t;"Doctype must be declared first."!==(null===(t=e[0])||void 0===t?void 0:t.message)&&w((0,d.Bj)(e))}})}},21999:(e,t,s)=>{s.d(t,{A:()=>n});s(92810);var r=s(64617),i=s(70082);const n=({lastProjectId:e})=>{const{pathname:t,search:s}=(0,r.zy)();return!1===e?(0,i.jsx)(r.C5,{to:"/projects"}):e&&(0,i.jsx)(r.C5,{to:`/projects/${e+t+s}`})}},32983:(e,t,s)=>{s.d(t,{A:()=>n});s(92810);var r=s(64617),i=s(70082);const n=({to:e})=>(0,i.jsx)(r.C5,{to:e})},24239:(e,t,s)=>{s.d(t,{A:()=>m});s(92810);var r=s(41919),i=s(25072),n=s(43005),a=s(64617),l=s(23287),o=s(32269),c=s(70082);const{Content:d}=r.A,m=()=>{const{__:e}=(0,l.s9)();let t=(0,a.Zp)();return(0,c.jsx)(r.A,{children:(0,c.jsx)(d,{className:"container",children:(0,c.jsx)(i.Ay,{status:"500",title:"404",subTitle:e("Sorry, the page you visited does not exist."),extra:(0,c.jsx)(n.Ay,{type:"primary",onClick:()=>(0,o.XZ)(t,"/projects"),children:e("Back Home")})})})})}},26201:(e,t,s)=>{s.d(t,{A:()=>R});var r=s(92810),i=s(45934),n=s(76662),a=s(2018),l=s(7744),o=s(43005),c=s(57806),d=s(71086),m=s(29234),u=s(67661),p=s(66726),h=s(31022),_=s(3329),g=s(13932),v=s(69825),j=s(58133),x=s(38883),f=s.n(x),y=s(88528),A=s(65983),b=s(23287),w=s(71157),N=s(45695),S=s(32411),I=s(85163),k=s(70082);const{Text:C,Link:T,Title:E}=n.A,L=({summary:e,__:t})=>(0,k.jsxs)(E,{level:5,style:{margin:0,fontSize:"14px"},children:[(0,k.jsxs)("span",{className:"valid",children:[t("valid"),": ",(null===e||void 0===e?void 0:e.valid)||0]}),(0,k.jsxs)("span",{className:"error",children:[t("errors"),": ",(null===e||void 0===e?void 0:e.errors)||0]}),(0,k.jsxs)("span",{className:"warning",children:[t("warnings"),": ",(null===e||void 0===e?void 0:e.warnings)||0]})]}),O="Links",z="Images",D="Spam assassin",M="Problems",R=()=>{var e,t,s,n,x;const{__:R}=(0,b.s9)(),B=(0,w.hN)(),F=(0,N.QC)(),P=(0,S.fn)(),H=(0,i.d4)(A.rd),q=(0,i.wA)(),[$,V]=(0,y.ku)(),[W,X]=(0,y.Ju)(),[J,U]=(0,y.Sr)(),[Y,Z]=(0,r.useState)([]),[K,G]=(0,r.useState)([]),[Q,ee]=(0,r.useState)([]),te=()=>{let e;const t=P.getValue(),s=(new DOMParser).parseFromString(t,"text/html"),r={},i={};s.querySelectorAll("a[href]").forEach(((e,t)=>{r[`link_${t}`]=e.getAttribute("href"),i[`link_${t}`]=e.innerText})),F.send({operation:"sandbox_set_attr_to_links"}),$(JSON.stringify(r)).then((t=>{var s;if(null!==t&&void 0!==t&&null!==(s=t.data)&&void 0!==s&&s.result){let s=[...t.data.result];null===s||void 0===s||s.sort(((e,t)=>e.linkId-t.linkId)),e={links:s.map((e=>({...e,text:i[e.linkId]}))),summary:{valid:s.filter((e=>e.statusCode&&e.statusCode<300)).length||0,warnings:s.filter((e=>e.statusCode<400&&e.statusCode>=300||200===e.statusCode&&!e.page.secure)).length||0,errors:s.filter((e=>e.statusCode<600&&e.statusCode>=400||!e.statusCode)).length||0}}}Z(e),B.success({message:R("Links validation was successfully completed"),placement:"bottomRight"})})).catch((e=>{var t,s;console.log("error",e),B.error({message:(0,k.jsx)("div",{dangerouslySetInnerHTML:{__html:(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.code)||e}}),description:(0,k.jsx)("div",{dangerouslySetInnerHTML:{__html:null===e||void 0===e||null===(s=e.data)||void 0===s?void 0:s.message}}),placement:"bottomRight"})}))},se=()=>{const e=P.getValue(),t=(new DOMParser).parseFromString(e,"text/html");let s={};t.querySelectorAll("img").forEach(((e,t)=>s[`image_${t}`]=e.src)),F.send({operation:"sandbox_set_attr_to_images"}),W(JSON.stringify(s)).then((e=>{let t;if(e.data.result){const s=Object.values(e.data.result);s.sort(((e,t)=>e.imageId-t.imageId));let r=s.reduce(((e,t)=>e+Math.round(t.image.bytes/1024)),0);t={images:s,summary:{valid:s.filter((e=>e.statusCode&&e.statusCode<300)).length||0,warnings:s.filter((e=>e.statusCode<400&&e.statusCode>=300||200===e.statusCode&&!e.valid)).length||0,errors:s.filter((e=>e.statusCode<600&&e.statusCode>=400||!e.statusCode)).length||0},summaryTime:{value:(r>1200?r/1e3:r).toFixed(1),name:R(r>1200?"MB":"KB")}}}t&&G(t),B.success({message:R("Images validation was successfully completed"),placement:"bottomRight"})})).catch((e=>{console.log("error",e),B.error({message:(0,k.jsx)("div",{dangerouslySetInnerHTML:{__html:e.data.code||e}}),description:(0,k.jsx)("div",{dangerouslySetInnerHTML:{__html:e.data.message}}),placement:"bottomRight"})}))},re=()=>{J("\n"+JSON.stringify(P.getValue())).then((e=>{var t;if(null!==(t=e.data)&&void 0!==t&&t.success){const t=Object.values(e.data.result.report);t&&t.sort(((e,t)=>e.score-t.score)),ee({...e.data.result,report:t})}B.success({message:R("Spam validation was successfully completed"),placement:"bottomRight"})})).catch((e=>{var t,s;B.error({message:(0,k.jsx)("div",{dangerouslySetInnerHTML:{__html:(null===(t=e.data)||void 0===t?void 0:t.code)||e}}),description:(0,k.jsx)("div",{dangerouslySetInnerHTML:{__html:null===(s=e.data)||void 0===s?void 0:s.message}}),placement:"bottomRight"})}))},[ie,ne]=(0,r.useState)(),ae=e=>{ne(e!==ie?e:"")};let le=null;return(0,k.jsxs)("div",{className:"optimise selected_form-props-wrapper selected_form-props-wrapper_optimize",children:[(0,k.jsxs)(a.A,{gutter:10,align:"middle",children:[(0,k.jsx)(l.A,{span:20,children:(0,k.jsx)("div",{className:"form-group-title",children:R("Links validation")})}),(0,k.jsx)(l.A,{span:4,align:"right",children:(0,k.jsx)(o.Ay,{className:"selected-td-form__button ghost-button",type:"text",onClick:()=>{var e;ae(O),null!==Y&&void 0!==Y&&null!==(e=Y.links)&&void 0!==e&&e.length||te()},loading:V.isLoading,children:!V.isLoading&&(ie===O?(0,k.jsx)(h.A,{}):(0,k.jsx)(_.A,{}))})})]}),ie===O&&(null===Y||void 0===Y||null===(e=Y.links)||void 0===e?void 0:e.length)&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(a.A,{style:{marginBottom:14},children:(0,k.jsxs)("div",{className:"optimise__title-wrapper",children:[(0,k.jsx)(L,{summary:Y.summary,__:R}),(0,k.jsx)(o.Ay,{loading:V.isLoading,onClick:te,icon:(0,k.jsx)(g.A,{}),children:R("Refresh")})]})}),(0,k.jsx)(a.A,{style:{marginBottom:24},children:(0,k.jsx)(l.A,{span:24,children:(0,k.jsx)(c.A,{itemLayout:"horizontal",dataSource:Y.links,renderItem:(e,t)=>(0,k.jsx)(c.A.Item,{style:{border:"none"},children:(0,k.jsx)(c.A.Item.Meta,{avatar:300>e.statusCode&&e.statusCode&&e.page.secure?(0,k.jsx)(v.A,{style:{color:"#49aa19"}}):400>e.statusCode&&e.statusCode||200===e.statusCode&&!e.page.secure?(0,k.jsx)(v.A,{style:{color:"#d89614"}}):(0,k.jsx)(j.A,{style:{color:"#dc4446"}}),title:(0,k.jsx)(T,{className:"optimise__link",style:{color:"#177ddc",textDecoration:"underline",userSelect:"text"},draggable:!1,onClick:()=>{return t=e.linkId,s=600>e.statusCode>399||!e.statusCode,void F.send({operation:I.Ru.SANDBOX_SET_POSITION_TO_LINK,settings:{elementId:t,isError:s}});var t,s},children:""===e.url?R("empty link"):e.url}),description:(0,k.jsxs)(k.Fragment,{children:[!!e.text.length&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(C,{type:"secondary",children:e.text}),(0,k.jsx)("span",{className:"image-size-splitter",children:"\xa0\u2022\xa0"})]}),e.page.title&&e.page.title,e.page.secure&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("span",{className:"image-size-splitter",children:"\xa0\u2022\xa0"}),(0,k.jsx)("span",{style:{color:"#49aa19"},children:R("secure")})]}),!e.resolvedUrl&&!e.statusCode&&(0,k.jsx)(C,{type:"secondary",children:R("Failed to load")})]})})},t+"_"+e.id)})})})]}),(0,k.jsx)(d.A,{className:"selected-td-form__divider",style:{marginTop:0,marginBottom:0}}),(0,k.jsxs)(a.A,{gutter:10,align:"middle",children:[(0,k.jsx)(l.A,{span:20,children:(0,k.jsx)("div",{className:"form-group-title",children:R("Images validation")})}),(0,k.jsx)(l.A,{span:4,align:"right",children:(0,k.jsx)(o.Ay,{className:"selected-td-form__button ghost-button",type:"text",onClick:()=>{var e;ae(z),null!==K&&void 0!==K&&null!==(e=K.images)&&void 0!==e&&e.length||se()},loading:X.isLoading,children:!X.isLoading&&(ie===z?(0,k.jsx)(h.A,{}):(0,k.jsx)(_.A,{}))})})]}),ie===z&&(null===K||void 0===K||null===(t=K.images)||void 0===t?void 0:t.length)&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(a.A,{style:{marginBottom:16},children:(0,k.jsx)(m.A,{style:{padding:14,paddingBottom:10,width:"100%"},message:(0,k.jsxs)("div",{className:"optimise__summary",children:[(0,k.jsxs)("div",{children:[(0,k.jsxs)(E,{level:4,style:{marginBottom:"0"},children:[K.images.length," "]}),(0,k.jsx)("span",{style:{fontSize:"12px"},children:R("images")})]}),(0,k.jsxs)("div",{children:[(0,k.jsxs)(E,{level:4,style:{marginBottom:"0"},children:[null===(s=K.summaryTime)||void 0===s?void 0:s.value,null===(n=K.summaryTime)||void 0===n?void 0:n.name]}),(0,k.jsx)("span",{style:{fontSize:"12px"},children:R("total size")})]}),(0,k.jsxs)("div",{children:[(0,k.jsx)(E,{level:4,style:{marginBottom:"0"},children:(Math.max(...K.images.map((e=>e.image.responseTime)))/1e3).toFixed(2)+R("s")}),(0,k.jsx)("span",{style:{fontSize:"12px"},children:R("time to load")})]})]}),type:"warning"})}),(0,k.jsx)(a.A,{style:{marginBottom:12},children:(0,k.jsxs)("div",{className:"optimise__title-wrapper",children:[(0,k.jsx)(L,{summary:K.summary,__:R}),(0,k.jsx)(o.Ay,{loading:X.isLoading,onClick:()=>se(),icon:(0,k.jsx)(g.A,{}),children:R("Refresh")})]})}),(0,k.jsx)(a.A,{style:{marginBottom:12},children:(0,k.jsx)(l.A,{span:24,children:(0,k.jsx)(c.A,{className:"optimise__result-list",itemLayout:"horizontal",dataSource:K.images,renderItem:(e,t)=>(0,k.jsx)(c.A.Item,{className:"optimise__image-item image-item",style:{border:"none"},children:(0,k.jsx)(c.A.Item.Meta,{className:"image-item__meta",avatar:(0,k.jsx)(u.A,{className:f()("image-item__image",{"image-item__image_fail":!e.resolvedUrl||!e.valid}),width:92,height:"auto",style:{height:"auto"},src:e.url?e.url:"error",preview:!1,onMouseEnter:()=>{var t;return((e,t)=>{clearTimeout(le);let s=document.querySelector(".img-preview")?document.querySelector(".img-preview"):null,r=document.querySelector(".img-preview-content")?document.querySelector(".img-preview-content"):null;document.querySelector(".img-preview")||(s=document.createElement("div"),s.classList.add("img-preview"),r=document.createElement("div"),r.classList.add("img-preview-content"),s.append(r),document.querySelector(".email-pane__col_settings-inner").append(s)),r.innerHTML=`<table cellspacing="0" cellpadding="0" border="0" width="100%"><img height="auto" width=${t+"px"} alt="" style="max-width: 100%; object-fit: contain" src=${e}></table>`,"1"!==s.style.opacity&&setTimeout((function(){s.style.opacity="1",s.style.transform="translateX(-100%)"}),10)})(e.url,null===(t=e.image.dimensions)||void 0===t?void 0:t.width)},onMouseLeave:()=>(()=>{let e=document.querySelector(".img-preview");e&&(le=setTimeout((()=>{e.style.opacity="0",e.style.transform="translateX(-99%)",setTimeout((function(){e.remove()}),300)}),300))})()}),title:e.url?(0,k.jsx)(p.A,{placement:"top",title:e.message,children:(0,k.jsx)(T,{className:"optimise__link",style:{color:"#177ddc",textDecoration:"underline",userSelect:"text"},draggable:!1,onClick:()=>{return t=e.imageId,s=600>e.statusCode>399||!e.statusCode,void F.send({operation:I.Ru.SANDBOX_SET_POSITION_TO_IMG,settings:{elementId:t,isError:s}});var t,s},children:""===(null===e||void 0===e?void 0:e.url)?R("empty src"):e.url})}):e.message,description:(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)("div",{className:"image-size",children:[e.image.dimensions&&(0,k.jsxs)(k.Fragment,{children:[e.image.dimensions.width+" \xd7 "+e.image.dimensions.height,(0,k.jsx)("span",{className:"image-size-splitter",children:" \xa0\u2022\xa0 "}),(0,k.jsxs)("span",{children:[Math.round(e.image.bytes/1024),R("kB")]}),(0,k.jsx)("span",{className:"image-size-splitter",children:" \xa0\u2022\xa0 "}),(0,k.jsxs)("span",{children:[e.image.responseTime,R("ms")]}),(0,k.jsx)("span",{className:"image-size-splitter",children:" \xa0\u2022\xa0 "}),(0,k.jsx)("span",{className:"image-size-format",children:e.image.contentType})]}),e.image.secure&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("span",{className:"image-size-splitter",children:" \xa0\u2022\xa0 "}),(0,k.jsx)("span",{style:{color:"#49aa19"},children:R("secure")})]}),e.resolvedUrl&&!e.valid&&(0,k.jsx)(C,{type:"danger",children:R("not valid")})]})," ",!e.resolvedUrl&&!e.statusCode&&(0,k.jsx)(C,{type:"danger",children:R("Failed to load")})]})})},t)})})})]}),(0,k.jsx)(d.A,{className:"selected-td-form__divider",style:{marginTop:0,marginBottom:0}}),(0,k.jsxs)(a.A,{gutter:10,align:"middle",children:[(0,k.jsx)(l.A,{span:20,children:(0,k.jsx)("div",{className:"form-group-title",children:R("SpamAssassin")})}),(0,k.jsx)(l.A,{span:4,align:"right",children:(0,k.jsx)(o.Ay,{className:"selected-td-form__button ghost-button",type:"text",loading:U.isLoading,onClick:()=>{var e;ae(D),null!==(e=Q.report)&&void 0!==e&&e.length||re()},children:!U.isLoading&&(ie===D?(0,k.jsx)(h.A,{}):(0,k.jsx)(_.A,{}))})})]}),ie===D&&(null===(x=Q.report)||void 0===x?void 0:x.length)&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(a.A,{style:{marginBottom:8},children:[(0,k.jsxs)("div",{className:"optimise__title-wrapper optimise__title-wrapper_spam",children:[(0,k.jsxs)(E,{level:1,style:{margin:0},type:Q.spamScore<2||Q.spamScore<=Q.baseSpamScore-1?"success":Q.spamScore<Q.baseSpamScore-1?"warning":"danger",children:[(0,k.jsx)("span",{style:{marginRight:"12px"},children:Q.spamScore}),(0,k.jsx)(C,{style:{marginRight:"12px",fontSize:"20px"},children:"Score"})]}),(0,k.jsx)(o.Ay,{icon:(0,k.jsx)(g.A,{}),loading:U.isLoading,onClick:re,children:R("Refresh")})]}),Q.spamScore>Q.baseSpamScore-1&&(0,k.jsx)(C,{children:R("Lower scores are better. Aim for a score less than ")+(Q.baseSpamScore-1)+"."})]}),(0,k.jsx)(a.A,{style:{marginBottom:8},children:(0,k.jsx)(l.A,{span:24,children:(0,k.jsx)(c.A,{itemLayout:"horizontal",dataSource:Q.report,renderItem:e=>(0,k.jsx)(c.A.Item,{style:{border:"none"},children:(0,k.jsx)(c.A.Item.Meta,{title:(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(C,{style:{fontSize:"20px"},children:e.score}),(0,k.jsx)("span",{style:{marginLeft:"12px"},children:e.description})]})})})})})})]}),(0,k.jsx)(d.A,{className:"selected-td-form__divider",style:{marginTop:0,marginBottom:0}}),(0,k.jsxs)(a.A,{gutter:10,align:"middle",children:[(0,k.jsx)(l.A,{span:20,children:(0,k.jsx)("div",{className:"form-group-title",children:R("Source code validation")})}),(0,k.jsx)(l.A,{span:4,align:"right",children:(0,k.jsx)(o.Ay,{className:"selected-td-form__button ghost-button",type:"text",onClick:()=>ae(M),children:ie===M?(0,k.jsx)(h.A,{}):(0,k.jsx)(_.A,{})})})]}),ie===M&&(0,k.jsx)(k.Fragment,{children:null!==H&&void 0!==H&&H.length?(0,k.jsx)(k.Fragment,{children:(0,k.jsx)(a.A,{style:{marginBottom:8},children:(0,k.jsx)(l.A,{span:24,children:(0,k.jsx)(c.A,{itemLayout:"horizontal",dataSource:H,renderItem:e=>(0,k.jsx)(c.A.Item,{style:{border:"none"},children:(0,k.jsx)(c.A.Item.Meta,{avatar:e.severity<6?(0,k.jsx)(j.A,{style:{color:"#d89614"}}):(0,k.jsx)(j.A,{style:{color:"#dc4446"}}),title:(0,k.jsx)(k.Fragment,{children:(0,k.jsxs)(C,{onClick:()=>(e=>{const t={startColumn:e.startColumn,startLineNumber:e.startLineNumber,endColumn:e.endColumn,endLineNumber:e.endLineNumber};q((0,A.ps)(t))})(e),style:{cursor:"pointer"},className:e.severity<6?"warning":"error",children:["Line: ",e.startLineNumber," ",e.startLineNumber!==e.endLineNumber&&" \u2013 "+e.endLineNumber]})}),description:(0,k.jsx)(C,{children:e.message})})})})})})}):(0,k.jsx)(a.A,{style:{marginBottom:24},children:(0,k.jsx)(m.A,{message:R("No problems found."),type:"info"})})})]})}},72981:(e,t,s)=>{s.d(t,{A:()=>l});s(92810);var r=s(81e3),i=s(24293),n=s(79716),a=s(70082);const l=({small:e=!1,style:t,wrap:s=!1})=>{const l={width:e?"100%":"100vw",height:"80vh",display:"flex",justifyContent:"center",alignItems:"center",...t},o=(0,a.jsx)(n.A,{style:{fontSize:48},spin:!0});return(0,a.jsx)(r.A,{size:"large",style:l,wrap:s,children:(0,a.jsx)(i.A,{indicator:o})})}},53765:(e,t,s)=>{s.d(t,{A:()=>te});var r=s(92810),i=s(64617),n=s(29218),a=s(76662),l=s(66726),o=s(29234),c=s(81e3),d=s(43005),m=s(2018),u=s(7744),p=s(86889),h=s(73035),_=s(85677),g=s(38587),v=s(45934),j=s(23287),x=s(38883),f=s.n(x),y=s(40836),A=s(79060),b=s(4800),w=s(79304),N=s(94822),S=s(8375),I=s(32293),k=s(35285),C=s(64936),T=s(36404),E=s(85163),L=s(70082);const O=({title:e})=>{const{__:t}=(0,j.s9)();let s=(0,v.wA)();const{projectId:n}=(0,i.g)(),a=(0,v.d4)(C.cL),l=(0,v.d4)(T.yN);let o=[{label:t("Project settings"),key:"Project settings",className:"em-analytics__account-settings",icon:(0,L.jsx)(S.A,{style:{fontSize:"16px"}}),onClick:()=>{s((0,C.qf)(E.lx.EDIT_PROJECT_MODAL))}},{label:(0,L.jsx)(N.N_,{to:"/projects",children:t("List of projects")}),key:"List of projects",icon:(0,L.jsx)(I.A,{style:{fontSize:"16px"}}),className:"em-analytics__sign-out"}];const c=(null===l||void 0===l?void 0:l.title)||e;return(0,r.useEffect)((()=>{if(n){const e=document.querySelector(".header__project");null===e||void 0===e||e.setAttribute("data-project-id",n)}}),[n]),(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(b.A,{menu:{items:o},arrow:"true",overlayStyle:{minWidth:0},getPopupContainer:()=>document.querySelector("header"),children:(0,L.jsxs)(N.N_,{to:"/projects/"+n+"/emails?page=1",className:"header__project",children:[(0,L.jsxs)(w.A,{size:28,style:{backgroundColor:"#777",marginRight:8,fontWeight:700,fontSize:18,textTransform:"uppercase"},children:[null===c||void 0===c?void 0:c[0],null!==c&&void 0!==c&&c.split(" ")[1]?c.split(" ")[1][0]:""]}),c]})}),(0,L.jsx)(k.A,{isModalVisible:a===E.lx.EDIT_PROJECT_MODAL})]})};var z=s(97562),D=s(57918),M=s(47358),R=s(7760),B=s(8493),F=s(64037),P=s(18777),H=s(17581),q=s(32269),$=s(45695),V=s(69106);const W=[50,50],X=[420,420],J=[45,10,45],U=[0,100,0],Y=[50,420,50],Z="all 0.5s ease 0s",{Paragraph:K}=a.A,G="code",Q="view",ee=({email:e,viewMode:t="view",isLoggedIn:s})=>{const{__:a,_x:x}=(0,j.s9)(),b=(0,v.wA)(),w=(0,v.d4)(M.Fv),{emailId:N,blockId:S}=(0,i.g)(),I=(0,$.QC)(),[k,C]=(0,r.useState)(t),[T,ee]=(0,r.useState)(k===Q?U:W),[te,se]=(0,r.useState)(k===Q?Y:X),[re,ie]=(0,r.useState)([]),[ne,ae]=(0,r.useState)(!1),[le,oe]=(0,r.useState)(!1),ce=(0,r.useRef)(null),de=(0,r.useRef)(),me=(0,r.useRef)(),ue=(0,r.useRef)(),pe=N||S,{data:he=[],refetch:_e}=(0,P.Cf)(pe);(0,r.useEffect)((()=>{pe&&_e(pe)}),[k,pe,_e]),(0,V.f)(e);(0,F.A)((e=>{const t=e.data.operation,s=document.querySelector(".preview-mode__pane_editor")?document.getElementById("pane-content-iframe"):document.querySelector(".preview-mode__row > .preview-mode__col_preview");t===E.Ru.APPLICATION_SCROLL_TO&&setTimeout((()=>{s.scrollTo({top:e.data.settings.value,behavior:"smooth"})}),100),t===E.Ru.APPLICATION_IFRAME_SET_HEIGHT&&(document.querySelector(".preview-mode__iframe").style.height=e.data.settings.height+"px")}));const ge=e=>{e.target.classList.contains("preview-mode__resizer")&&(de.current&&(de.current.style.transition="none"),me.current&&(me.current.style.transition="none"),ue.current&&(ue.current.style.transition="none"))},ve=()=>{const e=k===Q?Z:"none";de.current.style.transition!==Z&&(de.current&&(de.current.style.transition=e),me.current&&(me.current.style.transition=e),ue.current&&(ue.current.style.transition=e))};(0,r.useEffect)((()=>(document.addEventListener("mousedown",ge),document.addEventListener("mouseup",ve),()=>{document.removeEventListener("mousedown",ge),document.removeEventListener("mouseup",ve)}))),(0,r.useEffect)((()=>{const e=I.onInit((()=>{I.send({operation:E.Ru.SANDBOX_LOCK_EDIT,data:t===Q}),I.send({operation:E.Ru.SANDBOX_LOCK_DISCUSS,value:ne})}));return()=>e.dispose()}),[t,k,ne,I]),(0,r.useEffect)((()=>{ee(k===Q?U:W),se(k===Q?Y:X)}),[k]);const je=({key:e,domEvent:t})=>{switch(t.preventDefault(),de.current.style.transition=Z,me.current.style.transition=Z,ue.current.style.transition=Z,ce.current.resize(),e){case"Desktop":default:ee(k===Q?U:W);break;case"Mobile":ee(J)}setTimeout((()=>{I.send({operation:E.Ru.SANDBOX_IFRAME_SETSIZE,settings:{iframeWidth:de.current.getBoundingClientRect().width}}),ce.current.resize()}),550)};(0,r.useEffect)((()=>{const e=new q.jG;if(re.length<2){var t,s;const r=null===(t=de.current)||void 0===t?void 0:t.getBoundingClientRect(),i=null===(s=document.getElementById("pane-content-iframe"))||void 0===s?void 0:s.getBoundingClientRect(),n=setInterval(l,50);ie((e=>[...e,n]));const a=t=>{e.addDisposable(I.onInit((()=>{I.send({operation:E.Ru.SANDBOX_WINDOW_CHARACTERISTIC,settings:t})})))};function l(){a({iframeOffsetTop:r.top-i.top,scrollTop:i.top?-i.top:0,innerHeight:window.innerHeight,previewHeight:document.querySelector(".preview-mode__pane-content").getBoundingClientRect().height,mode:G})}}return e.addDispose((()=>clearInterval(re[re.length-1]))),()=>e.dispose()}),[re,I]),(0,r.useEffect)((()=>{if(k===G){const e=window.localStorage.getItem(E.V0.em_code_mode_pane_sizes);e&&ee(JSON.parse(e))}}),[k]);const xe=e=>{if(k===G&&window.localStorage.setItem(E.V0.em_code_mode_pane_sizes,JSON.stringify(e)),k===Q){const t=(e[2]+e[0])/2;ee([t,e[1],t])}else ee(e);I.send({operation:E.Ru.SANDBOX_IFRAME_SETSIZE,settings:{iframeWidth:de.current.getBoundingClientRect().width}}),ce.current.resize()},fe=()=>{ce.current.resize()},ye=(0,r.useCallback)((()=>{e.hasOwnProperty("type")?b((0,R.vs)()):b((0,M.vs)())}),[b,e]);let Ae;const be=()=>{var e,t;const s=null===(e=de.current)||void 0===e?void 0:e.getBoundingClientRect(),r=null===(t=document.getElementById("pane-content-iframe"))||void 0===t?void 0:t.getBoundingClientRect();Ae&&window.clearTimeout(Ae),Ae=window.setTimeout((function(){I.send({operation:E.Ru.SANDBOX_WINDOW_CHARACTERISTIC,settings:{iframeOffsetTop:s.top-r.top,scrollTop:document.getElementById("pane-content-iframe").scrollTop,innerHeight:window.innerHeight,previewHeight:document.querySelector(".preview-mode__pane-content").getBoundingClientRect().height,CODE:G}})}),100)};(0,r.useEffect)((()=>(document.addEventListener("scroll",be,!0),()=>{document.removeEventListener("scroll",be,!0)})));const we=()=>{ae((e=>!e)),I.send({operation:E.Ru.SANDBOX_LOCK_DISCUSS,value:!ne})},Ne=()=>{C(le?Q:G),oe((e=>!e))};let Se=[{key:E.yI,children:(0,L.jsx)("div",{className:"preview-mode__collapse-wrapper"})},{label:(0,L.jsxs)(l.A,{placement:"right",title:x("Discuss","tab"),children:[(0,L.jsx)(h.A,{}),!!he.length&&(0,L.jsx)("span",{className:"email-pane__comment-counter",children:he.filter((e=>"deleted"!==e.comment_status)).length})]}),key:E.hc,className:"preview-mode__tab-discuss em-analytics__email-tab-discuss",style:{overflow:"hidden"},children:(0,L.jsx)("div",{className:"email-pane__collapse-wrapper",children:pe?(0,L.jsx)("div",{className:"ant-tabs-content discuss-wrapper",children:(0,L.jsx)(z.A,{email:e,comments:he,subjectId:pe,isLoggedIn:!0})}):(0,L.jsx)("div",{className:"aside-content-wrapper",children:e.hasOwnProperty("type")?(0,L.jsx)(o.A,{description:a("Save the block before commenting."),type:"info",showIcon:!0}):(0,L.jsx)(o.A,{description:a("Save the email before commenting."),type:"info",showIcon:!0})})})}];return(0,L.jsxs)("div",{className:f()("preview-mode",{"preview-mode_view":k===Q}),children:[(0,L.jsx)("div",{style:{display:"none"},children:(0,L.jsx)(y.A,{email:e,readOnly:t===Q})}),(0,L.jsxs)("div",{className:"preview-mode__header",children:[(0,L.jsxs)("div",{className:"preview-mode__header__title",children:[(0,L.jsx)(O,{style:{float:"left",cursor:"none"},title:null===e||void 0===e?void 0:e.project_title}),(0,L.jsx)(K,{editable:w&&{icon:(0,L.jsx)(_.A,{className:"email-page-header__icon-edit"}),onChange:t=>{e.isNew?b((0,B.BQ)(t)):b(H.GY.util.updateQueryData("getEmail",e.id,(e=>{Object.assign(e,{title:t})})))}},children:null===e.title?a("New email title"):e.title})]}),(0,L.jsx)("div",{children:(0,L.jsx)("div",{className:"preview-mode__buttons",children:(0,L.jsx)(c.A,{size:10,children:(s||w)&&(0,L.jsx)(l.A,{placement:"bottom",title:a("Close"),children:(0,L.jsx)(d.Ay,{className:"preview-mode__close-btn",onClick:w?ye:()=>{window.close(),window.location.href="/"},children:(0,L.jsx)(g.A,{})})})})})})]}),t!==G&&(0,L.jsx)("div",{className:"preview-mode__wrapper",children:(0,L.jsxs)(m.A,{className:"preview-mode__row",children:[(0,L.jsx)(u.A,{xl:{span:ne?6:0},lg:{span:ne?6:0},md:{span:ne?10:0},sm:{span:0},xs:{span:0},className:f()("preview-mode__col preview-mode__col_settings comment-block",{"preview-mode__col_settings-collapsed":!ne,"preview-mode__col_code-mode":k===G}),children:ne&&(0,L.jsx)(p.A,{className:"preview-mode__col_settings-inner",size:"middle",animated:{inkBar:!1,tabPane:!0},activeKey:E.hc,onTabClick:we,renderTabBar:(e,t)=>(0,L.jsx)(t,{className:"preview-mode__tab-bar",...e}),tabPosition:"left",items:Se})}),k===G&&(0,L.jsxs)(u.A,{xl:{span:ne?18:24},lg:{span:ne?18:24},md:{span:ne?14:24},sm:{span:24},xs:{span:24},className:f()("preview-mode__col preview-mode__col_preview preview-mode__code-mode",{"preview-mode__col_preview-collapsed":!ne}),children:[!ne&&(0,L.jsx)("div",{className:"preview-mode__content-col preview-mode__content-col_menu",children:(0,L.jsx)("div",{className:"preview-mode__comments-icon-wrapper",onClick:we,children:(0,L.jsxs)(l.A,{placement:"right",title:x("Discuss","tab"),children:[(0,L.jsx)(h.A,{style:{fontSize:"20px"}}),!!he.length&&(0,L.jsx)("span",{className:"preview-mode__comment-counter",children:he.filter((e=>"deleted"!==e.comment_status)).length})]})})}),(0,L.jsxs)(n.A,{className:"preview-mode__panes",direction:"horizontal",gutterSize:0,snapOffset:0,sizes:T,minSize:te,gutter:()=>(0,q.Dx)("preview-mode__panes-resizer"),onDragEnd:xe,onDrag:fe,children:[(0,L.jsx)("div",{className:"preview-mode__pane preview-mode__pane_editor",children:(0,L.jsx)("div",{className:"preview-mode__pane-content",children:(0,L.jsx)(y.A,{email:e,readOnly:t===Q})})}),(0,L.jsx)("div",{className:"preview-mode__pane preview-mode__pane_main",ref:de,children:(0,L.jsxs)("div",{className:"preview-mode__pane-content",id:"pane-content-iframe",children:[(0,L.jsx)("div",{className:"preview-mode__iframe-scroll-top",id:"iframe-scroll-top"}),(0,L.jsx)(A.A,{ref:ce,email:e}),(0,L.jsx)("div",{className:"preview-mode__iframe-scroll-bottom",id:"iframe-scroll-bottom"})]})})]}),(0,L.jsx)("div",{className:"preview-mode__content-col preview-mode__content-col_menu preview-mode__content-col_menu-right",children:(0,L.jsx)(D.A,{setSizes:je,sizes:[T[1]],codeModeShow:Ne,codeModeIsVisible:le,email:e})})]}),k===Q&&(0,L.jsx)(u.A,{xl:{span:ne?18:24},lg:{span:ne?18:24},md:{span:ne?14:24},sm:{span:24},xs:{span:24},className:f()("preview-mode__col preview-mode__col_preview",{"preview-mode__col_preview-collapsed":!ne}),children:(0,L.jsxs)(n.A,{className:"preview-mode__content",sizes:T,minSize:Y,snapOffset:0,gutter:()=>(0,q.Dx)("preview-mode__resizer"),onDragEnd:xe,onDrag:fe,expandToMin:!0,gutterAlign:"center",dragInterval:1,children:[(0,L.jsx)("div",{className:"preview-mode__content-col preview-mode__content-col_menu",ref:me,children:!ne&&(0,L.jsx)("div",{className:"element-preview-menu",style:{width:"100%"},children:(0,L.jsx)("div",{className:"preview-mode__comments-icon-wrapper",onClick:we,children:(0,L.jsxs)(l.A,{placement:"right",title:x("Discuss","tab"),children:[(0,L.jsx)(h.A,{style:{fontSize:"20px"}}),!!he.length&&(0,L.jsx)("span",{className:"preview-mode__comment-counter",children:he.filter((e=>"deleted"!==e.comment_status)).length})]})})})}),(0,L.jsxs)("div",{className:"preview-mode__content-col preview-mode__pane-content preview-mode__content-col_main",ref:de,id:"pane-content-iframe",children:[(0,L.jsx)("div",{className:"preview-mode__iframe-scroll-top",id:"iframe-scroll-top"}),(0,L.jsx)(A.A,{ref:ce,className:"preview-mode__iframe",email:e,handlerSendPosition:be}),(0,L.jsx)("div",{className:"preview-mode__iframe-scroll-bottom",id:"iframe-scroll-bottom"})]}),(0,L.jsx)("div",{className:"preview-mode__content-col preview-mode__content-col_menu preview-mode__content-col_menu-right",ref:ue,children:(0,L.jsx)(D.A,{setSizes:je,sizes:[T[1]],codeModeShow:Ne,codeModeIsVisible:le,email:e})})]})})]})}),(0,L.jsx)("div",{className:"preview-mode__footer"})]})};ee.defaultProps={viewMode:G,sendOptionsHandler:()=>{}};const te=ee},19817:(e,t,s)=>{s.d(t,{A:()=>h});var r=s(92810),i=s(71157),n=s(64617),a=s(94822),l=s(39990),o=s(32269),c=s(90070),d=s(47381),m=s(85163),u=s(70082);const p="emailmaker.ru",h=({children:e})=>{const t=(0,n.zy)(),s=(0,i.hN)(),h=(0,c.p6)(),[_,g]=(0,a.ok)(),[v,{isError:j,isSuccess:x,error:f,data:y}]=(0,l.i2)(),{isError:A,isUninitialized:b,isLoading:w,isSuccess:N,error:S,data:I,refetch:k}=(0,l.CR)("",{skip:m.EW.isPlugin||!h.get(m.A9.em_token)}),C=(0,r.useMemo)((()=>({email:_.get("email"),hash:_.get("hash"),event:"confirmation"===_.get("event")})),[_]);if((0,r.useEffect)((()=>{j?(0,o.p6)({error:f},s):x&&((0,d.d)({event:"email_confirmation",user_email:null===y||void 0===y?void 0:y.email}),(0,o.wB)(y.message,s),I&&k())}),[y,f,j,x,s,I,k]),(0,r.useEffect)((()=>{!(C.email&&C.hash&&C.event)||!1!==(null===I||void 0===I?void 0:I.email_confirmation)&&h.get(m.A9.em_token)||y||v({hash:C.hash,email:C.email,event:C.event}).catch((e=>{console.warn("e",e)})).finally((()=>g("")))}),[C,v,I,h,g,y]),(0,r.useEffect)((()=>{A&&S&&((0,o.p6)({error:S},s),(0,o.Id)(h))}),[I,A,S,s,h]),m.EW.isPlugin)return e;if(!m.EW.isPlugin&&!h.get(m.A9.em_token)&&!t.pathname.includes("auth"))return(0,u.jsx)(n.C5,{to:"/auth",state:{from:t}});if((b||w)&&!t.pathname.includes("auth"))return(0,u.jsx)(u.Fragment,{});if(A&&!t.pathname.includes("auth"))return(0,u.jsx)(n.C5,{to:"/auth",state:{from:t}});if(N){const{id:s,email:r,name:i,locale:a,carrotquest_hash:l,ducalis_hash:o,email_subscription_consent:c,last_used_project:d}=I;return h.set(m.A9.em_id,s,{domain:p}),h.set(m.A9.em_email,r,{domain:p}),h.set(m.A9.em_name,i,{domain:p}),h.set(m.A9.em_locale,a,{domain:p}),h.set(m.A9.em_carrotquest_hash,l,{domain:p}),h.set(m.A9.em_ducalis_hash,o,{domain:p}),h.set(m.A9.em_email_subscription_consent,c,{domain:p}),d&&"/"===t.pathname?(0,u.jsx)(n.C5,{to:`/projects/${d}/emails`,replace:!0}):e}return t.pathname.includes("auth")?e:void 0}},19263:(e,t,s)=>{s.d(t,{A:()=>I});var r=s(92810),i=s(41919),n=s(37005),a=s(66726),l=s(32085),o=s(32293),c=s(64617),d=s(94822),m=s(45934),u=s(23287),p=s(29067),h=s(30961),_=s(20757),g=s(32398),v=s(34524),j=s(7760),x=s(85163),f=s(22197),y=s(90070),A=s(32269),b=s(93563),w=s(64936),N=s(70082);const{Content:S}=i.A,I=()=>{var e,t,s;const{__:I}=(0,u.s9)(),k=(0,m.wA)(),C=(0,y.p6)(),T=C.get(x.A9.em_elements_view),{data:E}=(0,c.KC)(),[L]=(0,d.ok)(),O=(0,m.d4)(j.b9),z=(0,m.d4)(w.o8),D=L.get("folder"),M=+L.get("tag"),R=(0,A.HT)(E,x.YY),[B,F]=(0,r.useState)(D||(M?null:x.y2)),[P,H]=(0,r.useState)(M||null),[q,$]=(0,r.useState)(T||x.Y$),{data:V,refetch:W}=(0,b.Jz)({parent:null===(e=E.blockfolder)||void 0===e?void 0:e[0]},{skip:!(null!==(t=E.blockfolder)&&void 0!==t&&t[0])});(0,r.useEffect)((()=>{k((0,w.sB)(V||[]))}),[k,V]);const X=(e=!1,t=null)=>{H(t),F(e),k((0,j.om)({...O,tags:t?[t]:[],folderTag:e}))};(0,r.useEffect)((()=>{var e;M&&null!==R&&void 0!==R&&R.find((e=>e.id===M))&&(null===O||void 0===O||null===(e=O.tags)||void 0===e?void 0:e[0])!==P&&k((0,j.om)({...O,tags:[M],folderTag:B}))}),[R,M,P,k,O,B]);(0,f.A)(I("Blocks")+" "+E.title),(0,r.useEffect)((()=>{document.body.classList.remove("editor")}),[]);const J=(0,N.jsx)(h.A,{isBlocks:!0}),U=(0,N.jsx)(N.Fragment,{children:(0,N.jsx)(n.A,{defaultValue:q,onChange:e=>{$(e),k((0,v.NK)(e)),C.set(x.A9.em_elements_view,e)},value:q,options:[{value:x.Y$,label:(0,N.jsx)(a.A,{title:I("Cards view"),placement:"top",children:(0,N.jsx)(l.A,{})})},{value:x.rl,label:(0,N.jsx)(a.A,{title:I("Table view"),placement:"top",children:(0,N.jsx)(o.A,{})})}]},"Switch radio")});return(0,N.jsxs)(i.A,{className:"project-blocks-page",children:[(0,N.jsx)(_.A,{leftBlock:J,rightBlock:U}),(0,N.jsx)(S,{className:"project-blocks-page__container",children:(0,N.jsxs)("div",{className:"project-blocks-page__content container",children:[(0,N.jsx)("div",{className:"project-blocks-page__menu-wrapper",children:(0,N.jsx)(g.A,{currentFolderId:B,setCurrentFolderId:F,activeTagId:P,setActiveTagHandler:X,projectTags:R,folderTaxonomy:"blockfolder"})}),(0,N.jsx)(p.A,{projectId:E.id,projectEmailsCounter:+(null===E||void 0===E||null===(s=E.counters)||void 0===s?void 0:s.blocks_counter),emailsView:q,currentFolderId:B,foldersList:z,refetchProjectFolders:z.length?W:()=>{},projectTags:R,activeTagId:P,setActiveTagHandler:X})]})})]})}},6099:(e,t,s)=>{s.d(t,{A:()=>g});var r=s(92810),i=s(64617),n=s(45934),a=s(41919),l=s(25072),o=s(43005),c=s(23287),d=s(84568),m=s(36404),u=s(72981),p=s(32269),h=s(70082);const{Content:_}=a.A,g=()=>{var e;const{__:t}=(0,c.s9)(),{projectId:s}=(0,i.g)();let g=(0,i.Zp)(),v=(0,i.zy)();const j=(0,n.wA)(),x=(0,d.fo)(+s,{skip:!s}),{isLoading:f,isError:y,error:A,isSuccess:b,data:w}=x;return(0,r.useEffect)((()=>{b&&(null===w||void 0===w?void 0:w.id)!==s&&j((0,m.od)(w))}),[b,w,j,s]),(0,r.useEffect)((()=>{b&&s&&v.pathname.endsWith(s)&&g(`${v.pathname}/emails`)}),[b,v,g,s]),(0,h.jsxs)(h.Fragment,{children:[f&&(0,h.jsx)(u.A,{}),y&&A&&(0,h.jsx)(a.A,{className:"project-outlet",children:(0,h.jsx)(_,{className:"project-outlet__container container",children:(0,h.jsx)(l.Ay,{status:A.status,title:A.status,subTitle:null===(e=A.data)||void 0===e?void 0:e.message,extra:(0,h.jsx)(o.Ay,{type:"primary",onClick:()=>(0,p.XZ)(g,"/projects"),children:t("Back To Projects")})})})}),b&&(0,h.jsx)(i.sv,{context:{...x}})]})}},44338:(e,t,s)=>{s.d(t,{A:()=>V});var r=s(92810),i=s(41919),n=s(37005),a=s(66726),l=s(43005),o=s(71157),c=s(32085),d=s(32293),m=s(3625),u=s(52360),p=s(64617),h=s(94822),_=s(45934),g=s(23287),v=s(44335),j=s(98655),x=s(30961),f=s(28288),y=s(72981),A=s(32398),b=s(20757),w=s(47358),N=s(94925),S=s(86286),I=s(64936),k=s(65983),C=s(39990),T=s(46312),E=s(17581),L=s(63531),O=s(93563),z=s(85163),D=s(22197),M=s(14598),R=s(58689),B=s(47381),F=s(32269),P=s(90070),H=s(7205),q=s(70082);const{Content:$}=i.A,V=()=>{var e;const{__:t}=(0,g.s9)(),s=(0,_.wA)(),V=(0,p.Zp)(),W=(0,P.p6)(),X=(0,o.hN)();let J=(0,p.zy)();const U=(0,_.d4)(k.CT),Y=(0,_.d4)(S.C1),Z=(0,_.d4)(w.cL),K=(0,_.d4)(I.o8),G=(0,_.d4)(I.uM),[Q]=(0,C.on)(),[ee]=(0,E.Kh)(),[te]=(0,L.dS)(),[se]=(0,T.mI)(),[re]=(0,h.ok)(),{data:ie}=(0,p.KC)(),[ne,ae]=(0,r.useState)(!1),le=re.get("folder"),oe=(0,F.HT)(ie,z.zh),{data:ce,refetch:de}=(0,O.Jz)({parent:ie.folder[0]},{skip:!ie.folder[0]}),[me,ue]=(0,r.useState)(le||(G?null:z.y2));(0,r.useEffect)((()=>{s((0,I.sB)(ce||[]))}),[s,ce]);const[pe,he]=(0,r.useState)(W.get(z.A9.em_elements_view)||z.Y$);(0,D.A)(t("Emails")+" "+ie.title),(0,r.useEffect)((()=>{(null===Y||void 0===Y?void 0:Y.last_used_project)!==ie.id&&s(C.Q2.endpoints.editMe.initiate({last_used_project:ie.id}))}),[s,ie.id,null===Y||void 0===Y?void 0:Y.last_used_project]);const _e=async e=>{try{ae(!0);const t=await(0,M.q2)(e,(async(e,t)=>{let s;if("string"===typeof e)try{var r;e=(0,H.A)(e),s=null===(r=await se({url:e}))||void 0===r?void 0:r.data}catch(c){return e}else s=e;if(t.split(".").length<2){const e=v.extension(s.type);e&&(t=`${t}.${e}`)}const i=new File([s],t.toLowerCase()),n=await te({user_id:Y.id,folder:ie.id,file:i});var a,l,o;if(!n.error&&400!==(null===(a=n.data.data)||void 0===a?void 0:a.status))return null===(l=n.data)||void 0===l||null===(o=l[0])||void 0===o?void 0:o.file_url;return"string"===typeof e?e:""})),[s]=(0,R.Ay)(e.name),r=(0,F.ez)(t)||s||"";return ee({title:r,project:ie.id,subject:r,description:"",html:t,parent_email:z.iU,folder:le!==z.y2?[+le]:[]}).then((e=>{e&&(e.error?X.error({message:(0,q.jsx)("div",{dangerouslySetInnerHTML:{__html:e.error.data.code}}),description:(0,q.jsx)("div",{dangerouslySetInnerHTML:{__html:e.error.data.message}}),placement:"bottomRight"}):(ce&&de(),V(`/projects/${ie.id}/emails/${e.data.id}`),(0,B.d)({event:"upload_file",action:"import_email"})))})).finally((()=>ae(!1)))}catch(t){ae(!1);const e=t instanceof Error?t.message:t;X.error({message:(0,q.jsx)("div",{dangerouslySetInnerHTML:{__html:e}}),placement:"bottomRight"})}},[ge,ve]=(0,r.useState)(!1);(0,r.useEffect)((()=>{!ge&&Y.counters.emails_counter<3&&(Q(),ve(!0))}),[Q,Y.counters.emails_counter,ge]),(0,r.useEffect)((()=>{document.body.classList.remove("editor"),W.remove(z.A9.em_folder)}),[s,W]);const je=(0,q.jsx)(x.A,{isBlocks:!1}),xe=(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(n.A,{defaultValue:pe,onChange:e=>{W.set(z.A9.em_elements_view,e),he(e),s((0,N.NK)(e))},value:pe,options:[{value:z.Y$,label:(0,q.jsx)(a.A,{title:t("Cards view"),placement:"top",children:(0,q.jsx)(c.A,{})})},{value:z.rl,label:(0,q.jsx)(a.A,{title:t("Table view"),placement:"top",children:(0,q.jsx)(d.A,{})})}]},"Switch radio"),(0,q.jsx)(a.A,{title:t("Available formats: HTML, EML, ZIP"),placement:"top",children:(0,q.jsx)(l.Ay,{className:"em-analytics__project-page__import",type:"default",icon:(0,q.jsx)(m.A,{}),onClick:()=>{(0,B.d)({event:"click",action:"import_email"}),(0,M.QM)("application/zip, message/rfc822, text/html",_e)},children:t("Import email")},"Import email from file")},"Import email from file tooltip"),(0,q.jsx)(l.Ay,{className:"em-analytics__email-create",type:"primary",icon:(0,q.jsx)(u.A,{}),onClick:()=>{s((0,k.om)({tags:[]})),W.set(z.A9.em_folder,le),(0,F.XZ)(V,`${J.pathname}/create/`),(0,B.d)({event:"click",action:"create_new_email",description:"Go to the email template selection"})},children:t("Create a new email")},"Create new email")]}),fe=(e=!1,t=null)=>{s((0,I.Cj)(t)),ue(e),s((0,k.om)({...U,tags:t?[t]:[],folderTag:e}))};return(0,q.jsxs)(i.A,{className:"project-page",children:[(0,q.jsx)(b.A,{leftBlock:je,rightBlock:xe}),(0,q.jsx)($,{className:"project-page__container",children:(0,q.jsxs)("div",{className:"project-page__content container",children:[(0,q.jsx)("div",{className:"project-page__menu-wrapper",children:(0,q.jsx)(A.A,{currentFolderId:me,setCurrentFolderId:ue,activeTagId:G,setActiveTagHandler:fe,projectTags:oe,folderTaxonomy:"folder"})}),(0,q.jsx)(j.A,{projectId:ie.id,projectEmailsCounter:+(null===ie||void 0===ie||null===(e=ie.counters)||void 0===e?void 0:e.emails_counter),emailsView:pe,currentFolderId:me,foldersList:K,refetchProjectFolders:K.length?de:()=>{},projectTags:oe,activeTagId:G,setActiveTagHandler:fe})]})}),ne&&(0,q.jsx)(y.A,{wrap:!0,style:{position:"fixed",width:"100%",height:"100%",top:0,left:0}}),(0,q.jsx)(f.A,{isModalVisible:Z===z.lx.ADD_NEW_EMAIL_MODAL})]})}},24420:(e,t,s)=>{s.d(t,{A:()=>M});var r=s(92810),i=s(41919),n=s(43005),a=s(45934),l=s(23287),o=s(68919),c=s(33206),d=s(4800),m=s(49246),u=s(29234),p=s(21349),h=s(71157),_=s(9452),g=s(22339),v=s(8375),j=s(45130),x=s(8114),f=s(74267),y=s(64617),A=s(94822),b=s(35285),w=s(84568),N=s(64936),S=s(32269),I=s(85163),k=s(70082);const C=(e,t)=>`${e.pathname}/${t.id}/emails?page=1`,T=(e,t)=>`${e.pathname}/${t.id}/members`,E=()=>{const{__:e,_x:t}=(0,l.s9)();let s=(0,a.d4)(N.vW),i=(0,y.zy)(),n=(0,a.wA)(),o=(0,a.d4)(N.cL);const{modal:E}=c.A.useApp(),L=(0,h.hN)(),{confirm:O}=E,z=(0,a.Pj)(),D=s=>{O({maskClosable:!0,centered:!0,title:t("Are you sure to delete \u201c","project")+s.title+e("\u201d project?"),icon:(0,k.jsx)(_.A,{}),okText:e("Yes"),cancelText:e("No"),onOk:()=>(t=>z.dispatch(w.Nq.endpoints.deleteProject.initiate(t.id)).then((t=>{t.error?(0,S.p6)(t,L):t.data&&(0,S.wB)(e("The project \u201c")+t.data.title+e("\u201d was successfully removed."),L)})))(s)})},[M,R]=(0,r.useState)({page:1}),{isLoading:B,isSuccess:F,isError:P,isFetching:H,data:q=[]}=(0,w.su)(M),[$,V]=(0,r.useState)(null),W=[{width:"35%",title:e("Project"),dataIndex:"title",render:(e,t,s)=>(0,k.jsx)(A.N_,{to:C(i,t),children:e})},{width:"16%",title:e("Owner"),dataIndex:["members","owner","nickname"],render:(e,t,s)=>e||t.members.owner.user_email},{width:"12%",title:t("Created","block"),dataIndex:"date",render:(t,s,r)=>(0,S.Yq)((0,f.A)(t),e),sorter:!0,sortOrder:(0,S.Np)(M.order)},{width:"10%",title:e("Emails"),dataIndex:"emails",sorter:!0,render:(e,t,s)=>null!==e&&void 0!==e&&e.length?null===e||void 0===e?void 0:e.length:"\u2013"},{width:"10%",title:e("Blocks"),dataIndex:"blocks",render:(e,t,s)=>null!==e&&void 0!==e&&e.length?null===e||void 0===e?void 0:e.length:"\u2013"},{width:"3%",title:"",dataIndex:"",key:"x",onCell:()=>({style:{padding:0}}),render:(t,s)=>{let r=[];return r.push({label:(0,k.jsx)(A.N_,{to:C(i,s),children:e("Open")}),key:"Enter",icon:(0,k.jsx)(g.A,{style:{fontSize:"16px"}}),className:"em-analytics__open"},{label:e("Settings"),key:"Edit",icon:(0,k.jsx)(v.A,{style:{fontSize:"16px"}}),className:"em-analytics__edit",onClick:()=>(V(s),void n((0,N.qf)(I.lx.EDIT_PROJECT_MODAL)))},{label:(0,k.jsx)(A.N_,{to:T(i,s),children:e("Members")}),key:"Members",icon:(0,k.jsx)(j.A,{style:{fontSize:"16px"}}),className:"em-analytics__members"},{label:e("Remove"),key:"Remove",icon:(0,k.jsx)(_.A,{style:{fontSize:"16px"}}),className:"em-analytics__remove",style:{color:"#ff4d4f"},onClick:()=>D(s)}),(0,k.jsx)(d.A,{arrow:"true",placement:"bottom",menu:{items:r},trigger:["hover"],children:(0,k.jsx)("span",{className:"projects-table__actions",children:(0,k.jsx)(x.A,{})})})}}];return(0,k.jsxs)("div",{className:"container",children:[B&&(0,k.jsx)(m.A,{active:!0}),P&&(0,k.jsx)(u.A,{message:e("Error"),description:e("Error when receiving data. Try again (reload page) or contact support."),type:"error",showIcon:!0}),F&&0===q.length&&(0,k.jsx)(u.A,{message:e("You don't have any projects yet."),description:e("Click the Add a new project button to add your first project."),type:"info",showIcon:!0}),F&&q.length>0&&(0,k.jsx)(p.A,{rowKey:e=>e.id,dataSource:q,bordered:!0,columns:W,loading:H,onChange:(e,t,{order:s,field:r},{action:i})=>{"sort"===i&&R(s?{page:1,order:(0,S.gq)(s),orderby:r}:{page:1})},showSizeChanger:!1,pagination:{showSizeChanger:!1,hideOnSinglePage:!0,position:["bottomCenter"],current:M.page,total:s,onChange:(e,t)=>{R({page:e})}},className:"projects-table"}),(0,k.jsx)(b.A,{isModalVisible:o===I.lx.EDIT_PROJECT_MODAL,selectedProject:$})]})};var L=s(20757),O=s(47381),z=s(22197);const{Content:D}=i.A,M=()=>{const{__:e}=(0,l.s9)(),t=(0,a.d4)(N.cL),s=(0,a.wA)();(0,z.A)(e("Projects")),(0,r.useEffect)((()=>{document.body.classList.remove("editor")}),[]);const c=(0,k.jsx)("div",{className:"ant-page-header-heading-title",children:e("Projects")}),d=(0,k.jsx)(n.Ay,{className:"em-analytics__add-project",type:"primary",onClick:()=>{(0,O.d)({event:"open_modal",action:"create_new_project"}),s((0,N.qf)(I.lx.ADD_NEW_PROJECT_MODAL))},children:e("Add a new project")},"Add a new project");return(0,k.jsxs)(i.A,{className:"projects-page",children:[(0,k.jsx)(L.A,{leftBlock:c,rightBlock:d}),(0,k.jsxs)(D,{className:"projects-page__container",children:[(0,k.jsx)(E,{}),(0,k.jsx)(o.A,{isModalVisible:t===I.lx.ADD_NEW_PROJECT_MODAL})]})]})}},36852:(e,t,s)=>{s.d(t,{A:()=>N});var r=s(92810),i=s(59297),n=s(76662),a=s(12280),l=s(55039),o=s(43005),c=s(71157),d=s(9588),m=s(82013),u=s(48236),p=s(64617),h=s(94822),_=s(38883),g=s.n(_),v=s(23287),j=s(65119),x=s(85163),f=s(47381),y=s(70082);const{Title:A,Text:b}=n.A,w=({className:e})=>{const{__:t}=(0,v.s9)();let s=(0,p.Zp)();const i=(0,c.hN)(),[n,_]=(0,r.useState)(!1),w={name:"email",rules:[{required:!0,message:t("Please type your email address."),type:"email"}],placeholder:t("email"),prefix:(0,y.jsx)(d.A,{style:{color:x.VG}})},N={name:"password",rules:[{required:!0,message:t("Please type your password.")},()=>({validator:(e,s)=>s.length>=8&&/[0-9]/.test(s)&&/[a-z]/.test(s)&&/[A-Z]/.test(s)&&/\W+|_/g.test(s)?Promise.resolve():Promise.reject(new Error(t("The password is too simple.")))})],placeholder:t("password"),prefix:(0,y.jsx)(m.A,{style:{color:x.VG}})},S={name:"code",rules:[{required:!0,message:t("Please type your password confirmation code.")}],placeholder:t("confirmation code"),prefix:(0,y.jsx)(u.A,{style:{color:x.VG}})},[I,k]=(0,j.Lv)(),[C,T]=(0,j.kg)(),[E,L]=(0,r.useState)("");(0,r.useEffect)((()=>{k.isError&&i.error({message:(0,y.jsx)("div",{dangerouslySetInnerHTML:{__html:k.error.data.code}}),description:(0,y.jsx)("div",{dangerouslySetInnerHTML:{__html:k.error.data.message}}),placement:"bottomRight"})}),[k,i]),(0,r.useEffect)((()=>{T.isError&&i.error({message:(0,y.jsx)("div",{dangerouslySetInnerHTML:{__html:T.error.data.code}}),description:(0,y.jsx)("div",{dangerouslySetInnerHTML:{__html:T.error.data.message}}),placement:"bottomRight"}),T.isSuccess&&(i.success({message:t("Your password successfully reset."),description:t("Try sign in with your new password."),placement:"bottomRight"}),s("/auth",{replace:!0}))}),[T,s,t,i]);return(0,y.jsxs)("div",{className:g()("recover-password-form",{[e]:e}),children:[!k.isSuccess&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)("div",{className:"recover-password-form__heading",children:[(0,y.jsx)(A,{level:2,style:{fontWeight:500,fontSize:24},children:t("Forgot the password?")}),(0,y.jsx)(b,{className:"recover-password-form__sub-title",children:t("Enter your email address and we will send you password reset instructions.")})]}),(0,y.jsxs)(a.A,{name:"recover_password_form",initialValues:{remember:!0},onFinish:e=>{L(e.email),(0,f.d)({event:"submit_form",action:"password_recovery",label:e.email}),I({email:e.email})},onFinishFailed:()=>{},autoComplete:"off",children:[(0,y.jsx)(a.A.Item,{name:w.name,rules:w.rules,children:(0,y.jsx)(l.A,{size:"large",disabled:k.isLoading,placeholder:w.name,prefix:w.prefix})}),(0,y.jsx)(a.A.Item,{children:(0,y.jsx)(o.Ay,{size:"large",loading:k.isLoading,block:!0,type:"primary",htmlType:"submit",className:"em-analytics__password-reset",children:t("Send")})}),(0,y.jsx)(a.A.Item,{children:(0,y.jsx)(h.N_,{to:"/auth",children:t("Back to Log In")})})]})]}),k.isSuccess&&!T.isSuccess&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)("div",{className:"recover-password-form__heading",children:[(0,y.jsx)(A,{level:2,style:{fontWeight:500,fontSize:24},children:t("Set new password")}),(0,y.jsx)(b,{className:"recover-password-form__sub-title",children:t("Enter the confirmation code from the email and set a new password.")})]}),(0,y.jsxs)(a.A,{name:"set_new_password_form",initialValues:{remember:!0},onFinish:e=>{C({email:E,password:e.password,code:e.code})},onFinishFailed:()=>{},autoComplete:"off",children:[(0,y.jsx)(a.A.Item,{name:N.name,rules:N.rules,extra:t("At least 8 characters, including a combination of uppercase and lowercase letters, numbers, and special characters."),children:(0,y.jsx)(l.A.Password,{readOnly:!n,onFocus:()=>_(!0),size:"large",type:"password",disabled:T.isLoading,placeholder:t("new password"),prefix:N.prefix})}),(0,y.jsx)(a.A.Item,{name:S.name,rules:S.rules,children:(0,y.jsx)(l.A,{size:"large",disabled:T.isLoading,placeholder:S.placeholder,prefix:S.prefix})}),(0,y.jsx)(a.A.Item,{children:(0,y.jsx)(o.Ay,{size:"large",loading:T.isLoading,block:!0,type:"primary",htmlType:"submit",children:t("Recover password")})}),(0,y.jsx)(a.A.Item,{children:(0,y.jsx)(h.N_,{to:"/auth",children:t("Back to Log In")})})]})]})]})},N=()=>(0,y.jsx)(i.A,{className:"recover-password-page",children:(0,y.jsx)(w,{className:"recover-password-page__form"})})},70431:(e,t,s)=>{s.d(t,{A:()=>_});var r=s(92810),i=s(12280),n=s(14852),a=s(43005),l=s(55039),o=s(71157),c=s(45934),d=s(23287),m=s(93563),u=s(64936),p=s(85163),h=s(70082);const _=({folder:e,refetch:t})=>{const{__:s,_x:_}=(0,d.s9)(),g=(0,c.wA)(),[v]=i.A.useForm(),j=(0,r.useRef)(null),x=(0,c.d4)(u.cL)===p.lx.EDIT_FOLDER_NAME_MODAL,f=(0,o.hN)(),{folderId:y=null,folderName:A=""}=e,b=()=>g((0,u.Oo)()),[w,N]=(0,m.$s)();(0,r.useEffect)((()=>{x&&v.setFieldsValue({name:A})}),[x,A,v]);const S=()=>{v.validateFields().then((({name:e})=>{w({id:y,data:{name:e}}).then((({data:e,error:r})=>{r?(f.error({message:(0,h.jsx)("div",{dangerouslySetInnerHTML:{__html:r.data.code}}),description:(0,h.jsx)("div",{dangerouslySetInnerHTML:{__html:r.data.message}}),placement:"bottomRight"}),v.setFieldValue("name",A)):(t().then((({data:e})=>{if(e){var t,s,r;const i=null===(t=e[0])||void 0===t||null===(s=t.children)||void 0===s||null===(r=s.find((e=>e.id===y)))||void 0===r?void 0:r.name;v.setFieldValue("name",i)}})),b(),f.success({message:s("The folder \u201c")+A+_("\u201d was successfully changed to \u201c","folder")+e.name+s("\u201d."),placement:"bottomRight"}))}))}))};return(0,h.jsx)(n.A,{title:s("Change folder name"),open:x,onOk:S,onCancel:b,className:"new-folder-name-modal",centered:!0,footer:[(0,h.jsx)(a.Ay,{type:"primary",size:"large",loading:N.isLoading,onClick:S,children:s("Change name")},"submit")],children:(0,h.jsx)(i.A,{form:v,layout:"vertical",name:"rename_folder_form",onFinish:S,initialValues:{remember:!1,name:A},autoComplete:"off",style:{paddingTop:10},children:(0,h.jsx)(i.A.Item,{name:"name",rules:[{required:!0,message:s("Please enter the folder name")}],children:(0,h.jsx)(l.A,{disabled:N.isLoading,size:"large",placeholder:s("Enter the folder name"),ref:j,style:{marginBottom:5}})})})})}},33284:(e,t,s)=>{s.d(t,{A:()=>p});var r=s(92810),i=s(43005),n=s(45934),a=s(33206),l=s(56920),o=s(86286),c=s(62303),d=s(32269),m=s(23287),u=s(70082);const p=()=>{const{__:e}=(0,m.s9)(),{notification:t}=a.A.useApp(),s=(0,n.d4)(o.C1),[p]=(0,l.C)(),[h,_]=(0,r.useState)(!1);(0,r.useEffect)((()=>{s.hasOwnProperty("email_confirmation")&&_(s.email_confirmation)}),[s,h]);return null!==s&&void 0!==s&&s.email_confirmation||null===s||void 0===s||!s.privacy_policy_agreement?null:(0,u.jsx)("div",{className:"main__ribbon",children:(0,u.jsxs)("span",{children:[(0,u.jsx)(c.A,{icon:"EmailConfirmation",style:{fontSize:20,position:"relative",top:2}})," ",e("Confirmation email was sent to"),"\xa0",(0,u.jsx)("em",{children:s.email}),".\xa0",e("Didn't receive an email?"),"\xa0",(0,u.jsxs)(i.Ay,{type:"primary",size:"small",style:{fontSize:16,lineHeight:1},onClick:()=>{p({userId:s.id,email:s.email}).then((({data:r,error:i})=>{r?(0,d.wB)(e("Confirmation email has been sent to {confirmedEmail}.").replace("{confirmedEmail}",s.email),t):i&&(0,d.p6)(i,t)}))},children:[e("Resend")," ",(0,u.jsx)(c.A,{icon:"SendOutlined",style:{verticalAlign:"middle"}})]})]})})}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[2835],{88647:(t,e,n)=>{"use strict";n.d(e,{h:()=>s});var i,a=n(92810);function l(){return l=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},l.apply(null,arguments)}function d({title:t,titleId:e,...n},d){return a.createElement("svg",l({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",ref:d,"aria-labelledby":e},n),t?a.createElement("title",{id:e},t):null,i||(i=a.createElement("path",{d:"M6.5 1.143H5.25A4.108 4.108 0 0 0 1.143 5.25V6.5c0 .078.064.143.142.143h1a.143.143 0 0 0 .143-.143V5.25A2.82 2.82 0 0 1 5.25 2.428H6.5a.143.143 0 0 0 .143-.143v-1a.143.143 0 0 0-.143-.142ZM14.857 6.5V5.25a4.108 4.108 0 0 0-4.107-4.107H9.5a.143.143 0 0 0-.143.142v1c0 .079.064.143.143.143h1.25A2.82 2.82 0 0 1 13.57 5.25V6.5c0 .078.065.143.143.143h1a.143.143 0 0 0 .143-.143ZM9.5 14.857h1.25a4.108 4.108 0 0 0 4.107-4.107V9.5a.143.143 0 0 0-.143-.143h-1a.143.143 0 0 0-.143.143v1.25a2.82 2.82 0 0 1-2.821 2.821H9.5a.143.143 0 0 0-.143.143v1c0 .079.064.143.143.143ZM1.143 9.5v1.25a4.108 4.108 0 0 0 4.107 4.107H6.5a.143.143 0 0 0 .143-.143v-1a.143.143 0 0 0-.143-.143H5.25a2.82 2.82 0 0 1-2.822-2.821V9.5a.143.143 0 0 0-.143-.143h-1a.143.143 0 0 0-.142.143Z",fill:"inherit"})))}const s=a.forwardRef(d);n.p},79154:(t,e,n)=>{"use strict";n.d(e,{h:()=>s});var i,a=n(92810);function l(){return l=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},l.apply(null,arguments)}function d({title:t,titleId:e,...n},d){return a.createElement("svg",l({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 14 14",ref:d,"aria-labelledby":e},n),t?a.createElement("title",{id:e},t):null,i||(i=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.39 3.12h7.383c.242 0 .438.195.438.437v3.719a.437.437 0 0 1-.438.437H9.547v3.227a.437.437 0 0 1-.438.437H1.727a.437.437 0 0 1-.438-.437V7.22c0-.241.196-.437.438-.437h3.226V3.557c0-.242.196-.438.438-.438Zm.493 7.327h2.734V7.713H5.883v2.734Zm3.664-3.664h2.734V4.05H9.547v2.734Z",fill:"inherit"})))}const s=a.forwardRef(d);n.p},28316:(t,e,n)=>{"use strict";n.d(e,{Kp:()=>i,Sb:()=>l,_1:()=>a});const i="SAVE",a="SHOW",l="NOTIFY"},82212:(t,e,n)=>{"use strict";n.d(e,{Y:()=>u});var i=n(92810),a=n(42108),l=n(23287),d=n(20648),s=n(94381),r=n(45934),o=n(2417),p=n.n(o),c=n(86286),m=n(26174),b=n(85163),_=n(33481),g=n(70082);const h="locale",A="ant_locale",E="em_locale",O="em_ant_locale",w="em_mergeTags_locale",u=({children:t})=>{const[e,o]=(0,i.useState)((()=>(0,a.hU)())),[u,x]=(0,i.useState)(),[I,T]=(0,i.useState)(!0),D=(0,r.d4)(m.s8),f=(0,s.h_)(void 0),[L,N]=(0,s.Yj)(),S=(0,r.d4)(c.C1),y=(0,r.wA)(),v=(0,i.useRef)();return(0,i.useEffect)((()=>{try{let t=JSON.parse(localStorage.getItem(E));t||(t=JSON.parse(localStorage.getItem(h)),t&&(localStorage.removeItem(h),localStorage.setItem(E,JSON.stringify(t)))),o((0,a.hU)(t.data)),v.current=t.id,T(!1)}catch{T(!0)}try{let t=JSON.parse(localStorage.getItem(O));t||(t=JSON.parse(localStorage.getItem(A)),t&&(localStorage.removeItem(A),localStorage.setItem(O,JSON.stringify(t)))),x(t.data)}catch{}if(!b.EW.isPlugin)try{let t=JSON.parse(localStorage.getItem(w));y((0,_.me)(t.data))}catch{}}),[x,T,o,y]),(0,i.useEffect)((()=>{y((0,m.xS)(S.locale))}),[null===S||void 0===S?void 0:S.locale,y]),(0,i.useEffect)((()=>{const t=D||!b.EW.isPlugin&&I&&"ru_RU";t&&n(17583)(`./${"uk"===t?"uk_UA":t}.js`).then((t=>{x(t.default),localStorage.setItem(O,JSON.stringify(t.default))}))}),[x,D,I]),(0,i.useEffect)((()=>{if(!b.EW.isPlugin){const t=D||I&&"ru_RU";t&&n(93718)(`./${"uk"===t?"uk_UA":t}.ts`).then((t=>{y((0,_.me)(t.default)),localStorage.setItem(w,JSON.stringify(t.default))}))}}),[D,I,y]),(0,i.useEffect)((()=>{if(f.isSuccess){const t=f.data,e=D||!b.EW.isPlugin&&I&&"ru_RU";if(e){const n=t.filter((([t])=>t===e));if(!n.length)return;try{const t=JSON.parse(localStorage.getItem(E));if(n.every((([e,n])=>t.id===e&&n<=t.time)))return}catch{}L({id:e})}}}),[D,f,L,I]),(0,i.useEffect)((()=>{if(f.isSuccess&&N.isSuccess){var t;const e=D||I&&"ru_RU";if(N.originalArgs.id!==e)return;const n=f.data.filter((([t])=>t===e)),i=N.data,l=null===(t=p()(i,{format:"jed",fuzzy:!0,domain:"default"}))||void 0===t?void 0:t.locale_data.default;try{localStorage.setItem(E,JSON.stringify({id:e,time:n[0][1],data:l}))}catch{}o((0,a.hU)(l)),v.current=e}}),[N,D,f,I,o]),(0,g.jsx)(l.CY,{i18n:e,children:(0,g.jsx)(d.Ay,{locale:u,children:!I||N.isSuccess?t:(0,g.jsx)(g.Fragment,{})})})}},17126:(t,e,n)=>{"use strict";n.d(e,{LG:()=>d,fh:()=>l,or:()=>a});var i=n(92810);const a=(0,i.createContext)({element:void 0}),l=(0,i.createContext)(void 0),d=()=>(0,i.useContext)(l)},95550:t=>{t.exports=({__:t})=>`<style em="styles">\n @media only screen and (max-device-width:660px),only screen and (max-width:660px) {\n .em-mob-width-100perc {\n width: 100%!important;\n max-width: 100%!important;\n }\n }\n</style>\n<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td style="padding: 10px 0;">\n <table cellpadding="0" cellspacing="0" border="0" width="200" class="em-mob-width-100perc">\n <tr>\n <td align="center" valign="middle" height="41" style="background-color: #1C52DC; border-radius: 5px; height: 41px;">\n <a href="" target="_blank" style="display: block; height: 41px; font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; color: #FFFFFF; font-size: 16px; line-height: 41px; text-decoration: none; white-space: nowrap;">\n ${t("Button")}\n </a>\n </td>\n </tr>\n </table>\n</td></tr></table>`},59817:(t,e,n)=>{"use strict";n.d(e,{A:()=>d});const i=new Date,a=new Date(+i+432e6).toISOString(),l=-(new Date).getTimezoneOffset()/60,d=t=>`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td align="center"><img class="em-countdown" em-cd-settings="locale=${t.replace("_","-")}&bg=FFFFFF&tp=false&color1=000000&color2=959595&size1=72&size2=28&font1=roboto&font2=roboto&border=10&delimiter=:&spacing=10&time=${a}&timezone=${l}" src="${(t=>`https://cdt3.emcdn.ru/timer?locale=${t.replace("_","-")}&bg=FFFFFF&tp=false&color1=000000&color2=959595&size1=72&size2=28&font1=roboto&font2=roboto&border=10&delimiter=:&spacing=10&time=${a}&timezone=${l}`)(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;"> </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>`},43553:t=>{t.exports='<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td>\n <img src="https://emcdn.ru/1865/231031_17_BGU9Mso.png" width="150" border="0" alt="" style="display: block; width: 100%; max-width: 150px;" />\n</td></tr></table>'},75643:t=>{t.exports='<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td>\n <img class="em-ai-img em-just-inserted" src="https://emcdn.ru/843/20220715_113006_18.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"> </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;">•</div>\n </td>\n <td width="10"> </td>\n <td align="left" valign="top">\n <div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5A5A5A;">${t("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.")}</div>\n </td>\n </tr>\n </table>\n</td></tr></table>`},16409:t=>{t.exports='<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td>\n <table border="0" cellspacing="0" cellpadding="0">\n <tr>\n <td width="40" align="center">\n <a href="" target="_blank"><img src="https://imgems.ru/emailmaker/techsalerlight/tg-2.png" width="30" border="0" alt="" style="display: block;" /></a>\n </td>\n <td width="40" align="center">\n <a href="" target="_blank"><img src="https://imgems.ru/emailmaker/techsalerlight/yt-2.png" width="30" border="0" alt="" style="display: block;" /></a>\n </td>\n <td width="40" align="center">\n <a href="" target="_blank"><img src="https://imgems.ru/emailmaker/techsalerlight/vk-2.png" width="30" border="0" alt="" style="display: block;" /></a>\n </td>\n <td width="40" align="center">\n <a href="" target="_blank"><img src="https://imgems.ru/emailmaker/techsalerlight/yd-2.png" width="30" border="0" alt="" style="display: block;" /></a>\n </td>\n <td width="40" align="center">\n <a href="" target="_blank"><img src="https://imgems.ru/emailmaker/techsalerlight/tw-2.png" width="30" border="0" alt="" style="display: block;" /></a>\n </td>\n <td width="40" align="center">\n <a href="" target="_blank"><img src="https://imgems.ru/emailmaker/techsalerlight/ig-2.png" width="30" border="0" alt="" style="display: block;" /></a>\n </td>\n <td width="40" align="center">\n <a href="" target="_blank"><img src="https://imgems.ru/emailmaker/techsalerlight/fb-2.png" width="30" border="0" alt="" style="display: block;" /></a>\n </td>\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>`},77463:t=>{t.exports='<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td>\n <img class="em-video" src="https://emcdn.ru/1865/231031_18_gFp10sC.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;"> \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c \u200c </span>\n \x3c!--[if !mso]>\x3c!--\x3e\n <div style="font-size:0px;color:transparent;opacity:0;">\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800</div>\n \x3c!--<![endif]--\x3e\n <table cellpadding="0" cellspacing="0" border="0" width="100%" style="font-size: 1px; line-height: normal;">\n <tr em="group">\n <td align="center" bgcolor="#F8F8F8">\n \x3c!--[if (gte mso 9)|(IE)]>\n <table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>\n <![endif]--\x3e\n <table cellpadding="0" cellspacing="0" width="100%" border="0" style="max-width: 660px; min-width: 660px; width: 660px;" class="em-narrow-table"></table>\n \x3c!--[if (gte mso 9)|(IE)]>\n </td></tr></table>\n <![endif]--\x3e\n </td>\n </tr>\n </table>\n</body>\n</html>'},13522:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(93982);let a;var l;(l=a||(a={})).BEFORE_SAVE_EMAIL=(0,i.cZ)(),l.ON_SAVEBUTTON_CLICK_ID=(0,i.cZ)(),l.ON_NEXTBUTTON_CLICK_ID=(0,i.cZ)(),l.ON_PREVIOUSBUTTON_CLICK_ID=(0,i.cZ)(),l.ON_MODEL_CHANGE=(0,i.cZ)(),l.WILL_EMAIL_INIT_ID=(0,i.cZ)(),l.ON_EMAIL_INIT_ID=(0,i.cZ)(),l.ON_BLOCK_INIT_ID=(0,i.cZ)(),l.ON_CONTENT_CHANGED_ID=(0,i.cZ)(),l.ON_EMAIL_CHANGED_ID=(0,i.cZ)(),l.ON_BLOCK_CHANGED_ID=(0,i.cZ)(),l.ON_SEND_TESTEMAIL_ID=(0,i.cZ)(),l.ON_SEND_LIVEPREVIEW_ID=(0,i.cZ)(),l.ON_SHARE_ID=(0,i.cZ)(),l.ON_SHOW_PREVIEW_ID=(0,i.cZ)(),l.ON_EMAIL_CLONE_ID=(0,i.cZ)(),l.ON_SEND_EMAIL_MODAL_ID=(0,i.cZ)(),l.ON_NOTIFICATION=(0,i.cZ)()},85163:(t,e,n)=>{"use strict";n.d(e,{A9:()=>s,BD:()=>ot,Bv:()=>C,CJ:()=>c,EW:()=>d,F3:()=>h,F5:()=>a,G$:()=>z,IE:()=>Q,IJ:()=>_,JE:()=>j,Jy:()=>k,KI:()=>tt,N7:()=>U,ND:()=>lt,QV:()=>pt,Qz:()=>X,Ru:()=>w,St:()=>F,T:()=>m,Tm:()=>Y,UW:()=>o,Ug:()=>rt,V0:()=>r,VG:()=>A,Vp:()=>at,Vv:()=>L,WU:()=>S,Y$:()=>J,YY:()=>st,aO:()=>W,bV:()=>x,eA:()=>Z,eG:()=>$,ff:()=>l,gY:()=>V,hc:()=>M,iU:()=>nt,iV:()=>G,iW:()=>y,lx:()=>E,m3:()=>K,mX:()=>T,nA:()=>B,nd:()=>b,p5:()=>et,pe:()=>R,rW:()=>u,rY:()=>P,rb:()=>N,rl:()=>q,vd:()=>g,wF:()=>it,xz:()=>I,y2:()=>p,yI:()=>f,yo:()=>H,yy:()=>D,zh:()=>dt,zx:()=>v});var i=n(19378);const a="LOADING",l="ERROR",d={isPlugin:!1},s={em_token:"em_token",em_elements_view:"em_elements_view",em_new_block:"em_new_block",em_new_email:"em_new_email",em_id:"em_id",em_name:"em_name",em_email:"em_email",em_locale:"em_locale",em_carrotquest_hash:"em_carrotquest_hash",em_ducalis_hash:"em_ducalis_hash",em_email_subscription_consent:"em_email_subscription_consent",em_folder:"em_folder",promocode:"promocode"},r={em_color_scheme:"em_color_scheme",em_code_mode_pane_sizes:"em_code_mode_pane_sizes",em_preview_pane_sizes:"em_preview_pane_sizes",em_default_sizes:"em_default_sizes",em_pane_sizes:"em_pane_sizes",em_test_emails:"em_test_emails",em_menu_is_locked:"em_menu_is_locked",em_code_mode_settings:"em_code_mode_settings",em_folder_is_open:"em_folder_is_open"},o="deleted",p="all",c="not all",m="light",b="dark",_="system",g="(prefers-color-scheme: light)",h="(prefers-color-scheme: dark)",A="#1890ff",E={ADD_NEW_PROJECT_MODAL:"ADD_NEW_PROJECT_MODAL",EDIT_PROJECT_MODAL:"EDIT_PROJECT_MODAL",BLOCKS_MODAL:"BLOCKS_MODAL",EDIT_PROFILE_MODAL:"EDIT_PROFILE_MODAL",SEND_TEST_EMAIL:"SEND_TEST_EMAIL",ADD_NEW_EBLOCK_MODAL:"ADD_NEW_EBLOCK_MODAL",ADD_NEW_EMAIL_MODAL:"ADD_NEW_EMAIL_MODAL",SWITCH_TO_PLAN_MODAL:"SWITCH_TO_PLAN_MODAL",IMAGE_EDITOR_MODAL:"IMAGE_EDITOR_MODAL",ADD_NEW_FOLDER_MODAL:"ADD_NEW_FOLDER_MODAL",EDIT_FOLDER_NAME_MODAL:"EDIT_FOLDER_NAME_MODAL",UPLOAD_IMAGE_MODAL:"UPLOAD_IMAGE_MODAL",UPLOAD_BACKGROUND_MODAL:"UPLOAD_BACKGROUND_MODAL",UPLOAD_IMAGE_MODAL_AI:"UPLOAD_IMAGE_MODAL_AI",UPLOAD_BACKGROUND_MODAL_AI:"UPLOAD_BACKGROUND_MODAL_AI",UPLOAD_IMAGE_MODAL_STOCK:"UPLOAD_IMAGE_MODAL_STOCK",UPLOAD_BACKGROUND_MODAL_STOCK:"UPLOAD_BACKGROUND_MODAL_STOCK",UPLOAD_IMAGE_MODAL_GIF:"UPLOAD_IMAGE_MODAL_GIF",UPLOAD_BACKGROUND_MODAL_GIF:"UPLOAD_BACKGROUND_MODAL_GIF",UPLOAD_IMAGE_MODAL_EDIT:"UPLOAD_IMAGE_MODAL_EDIT",UPLOAD_BACKGROUND_MODAL_EDIT:"UPLOAD_BACKGROUND_MODAL_EDIT",UPLOAD_IMAGE_MODAL_UPLOAD:"UPLOAD_IMAGE_MODAL_UPLOAD",UPLOAD_BACKGROUND_MODAL_UPLOAD:"UPLOAD_BACKGROUND_MODAL_UPLOAD"};let O;!function(t){t[t.Amp=0]="Amp",t[t.HTML=1]="HTML",t[t.Everywhere=2]="Everywhere"}(O||(O={}));const w={MESSAGE:"message",UPDATE_PREVIEW:"update_preview",UPDATE_EDITOR:"update_editor",UPDATE_EDITOR_POSITION:"update_editor_position",UPDATE_SIDE_MENU_EDITOR:"update_side_menu_editor",SAVE_EMAIL:"saveEmail",SANDBOX_ELEMENT_SETTINGS_SET:"sandbox_element_settings_set",SANDBOX_EMAIL_SETTINGS_SET:"sandbox_email_settings_set",SANDBOX_BLOCK_SETTINGS_SET:"sandbox_block_settings_set",SANDBOX_ELEMENT_PARENT_GET:"sandbox_element_parent_get",SANDBOX_ELEMENT_PARENT_TABLE_GET:"sandbox_element_parent_table_get",SANDBOX_ELEMENT_PREV_GET:"sandbox_element_prev_get",SANDBOX_ELEMENT_NEXT_GET:"sandbox_element_next_get",SANDBOX_ELEMENT_REMOVE:"sandbox_element_remove",SANDBOX_ELEMENT_ACTIVE_RESET:"sandbox_element_active_reset",SANDBOX_ELEMENT_ACTIVE_SET:"sandbox_element_active_set",SANDBOX_ELEMENT_HOVER_SET:"sandbox_element_hover_set",SANDBOX_ELEMENT_IMG_LINK:"sandbox_element_img_link",SANDBOX_ELEMENT_TEXT:"sandbox_element_text",SANDBOX_EMAIL_CONTENT_GET:"sandbox_email_content_get",SANDBOX_SET_POSITION_TO_IMG:"sandbox_set_position_to_img",SANDBOX_SET_POSITION_TO_LINK:"sandbox_set_position_to_link",APPLICATION_FOCUS_IN_IFRAME:"application_focus_in_iframe",APPLICATION_EMAIL_SETTINGS_SET:"application_email_settings_set",APPLICATION_BLOCK_SETTINGS_SET:"application_block_settings_set",APPLICATION_ELEMENT_SETTINGS_SET:"application_element_settings_set",APPLICATION_ELEMENT_SETTINGS_CLOSE:"application_element_settings_close",APPLICATION_ACTION:"application_action",APPLICATION_EBLOCK_ADD:"application_eblock_add",APPLICATION_SCROLL_TO:"application_scroll-to",APPLICATION_SCROLL_BLOCK_SHOW:"application_scroll-block-show",APPLICATION_SCROLL_BLOCK_HIDE:"application_scroll-block-hide",APPLICATION_DISCUSS_SET_ID:"application_discuss_set_id",APPLICATION_DISCUSS_GET_COMMENT:"application_discuss_get_comment",APPLICATION_DISCUSS_NO_COMMENT:"application_discuss_no_comment",APPLICATION_DISCUSS_SAVE_TARGET:"application_discuss_save_target",APPLICATION_IFRAME_SET_HEIGHT:"application_iframe_set_height",APPLICATION_COMMON_STYLES_UPDATE:"application_commonStyles_update",APPLICATION_EMAIL_CONTENT_GET:"application_email_content_get",APPLICATION_OPEN_IMAGE_AI_POPUP:"application_open-image-ai-popup",APPLICATION_OPEN_IMAGE_UPLOAD_POPUP:"application_open-image-upload-popup",APPLICATION_OPEN_IMAGE_EDIT_POPUP:"application_open-image-edit-popup",APPLICATION_OPEN_IMAGE_GIF_POPUP:"application_open-image-gif-popup",APPLICATION_OPEN_IMAGE_STOCK_POPUP:"application_open-image-stock-popup",APPLICATION_CLOSE_IMAGE_EDIT_POPUP:"application_close-image-edit-popup",APPLICATION_SUBJECT_UPDATE:(0,i.Qm)("application_subject_update"),APPLICATION_PREHEADER_UPDATE:(0,i.Qm)("application_preheader_update"),APPLICATION_DOMPARSER_ERROR:(0,i.Qm)("application_domparser_error"),APPLICATION_UPDATE_ENTITY:(0,i.Qm)("application_update_entity"),APPLICATION_IFRAME_DRAG_EVENT:(0,i.Qm)("application_iframe_drag_event"),APPLICATION_HAS_AMP:(0,i.Qm)("application_has_amp"),SANDBOX_WINDOW_CHARACTERISTIC:"sandbox_window-characteristic",SANDBOX_IFRAME_SETSIZE:"sandbox_iframe-setsize",SANDBOX_BLOCK_INSERT:"sandbox_block-insert",SANDBOX_ATOM_INSERT:"sandbox_atom-insert",SANDBOX_DRAG_CANCEL:"sandbox_drag-cancel",UPDATE_EDITOR_POSITION_FROM_EDITOR:"update_position_from_editor",UPDATE_EDITOR_POSITION_FROM_IFRAME:"update_position_from_iframe",SANDBOX_CHANGE_PREVIEW:"sandbox_change_preview",APPLICATION_CHANGE_PREVIEW:"application_change_preview",SANDBOX_LOCK_EDIT:"sandbox_lock_edit",SANDBOX_FLOATBLOCK_ADD:"sandbox_floatBlock_add",SANDBOX_FLOATBLOCK_REMOVE:"sandbox_floatBlock_remove",EDITOR_CHANGE_FOCUS:"editor_change_focus",SANDBOX_RESIZED:"sandbox_resized",SANDBOX_LOCK_DISCUSS:"sandbox_lock_discuss",SANDBOX_DISCUSS_SET_TARGET:"sandbox_discuss_set_target",SANDBOX_DISCUSS_REMOVE_TARGET:"sandbox_discuss_remove_target",SANDBOX_DISCUSS_RESET:"sandbox_discuss_reset",SANDBOX_DISCUSS_GET_TARGET:"sandbox_discuss_get_target",SANDBOX_READY:(0,i.Qm)("SANDBOX_READY"),SANDBOX_FLOATBLOCK_WRAP:"sandbox_floatblock_wrap",SANDBOX_SUBJECT_UPDATE:(0,i.Qm)("sandbox_subject_update"),SANDBOX_PREHEADER_UPDATE:(0,i.Qm)("sandbox_preheader_update"),SANDBOX_DRAG_EVENT:(0,i.Qm)("sandbox_drag_event"),SANDBOX_ADD_MERGETAG:(0,i.Qm)("sandbox_add_mergetag"),SANDBOX_TRANSLATIONS:(0,i.Qm)("sandbox_send_translations"),SANDBOX_SET_THEME_VARIABLES:(0,i.Qm)("sandbox_send_theme_variables"),SANDBOX_SET_ENTITY:(0,i.Qm)("sandbox_set_entity"),SANDBOX_INIT_START:(0,i.Qm)("sandbox_init_start"),SANDBOX_INITED:(0,i.Qm)("sandbox_inited"),SANDBOX_UPDATE_ENTITY:(0,i.Qm)("sandbox_update_entity"),RELOAD:(0,i.Qm)("reload")},u={language:"html",detectIndentation:!1,wordWrap:"on",wrappingIndent:"same",smoothScrolling:"on",automaticLayout:!0,tabSize:2,indentSize:2};let x;!function(t){t.IMG="img",t.TEXT="text",t.LINK="a",t.TABLE="table",t.VINDENT="vindent",t.TD="td",t.STRUCTURE="structure",t.GROUP="group",t.BUTTON="button",t.DIV="div",t.FLOAT_BLOCK="floatBlock",t.VAR="var",t.EMPTY_TABLE="emptyTable",t.EMPTY_TD="emptyTd",t.COUNTDOWN="countdown",t.VIDEO="video",t.COLUMN="column"}(x||(x={}));const I="Appearance",T="Structure",D="Settings",f="Properties",L="History",N="Disabled_tab",S="Edit selected element",y="UTM parameters",v="Edit",C="Build",P="Styles",M="Discuss",R="TEXT_AI",B="Blocks",k="Atoms",U="Optimise",G={top:{width:null,style:null,color:null},right:{width:null,style:null,color:null},bottom:{width:null,style:null,color:null},left:{width:null,style:null,color:null}},H="Owner",F="Administrator",K="User",z="The invitation has been sent",V="Assign the project owner",X="Change role to Administrator",W="Change role to User",Z="Remove member",j="Revoke the invite",Q="block",Y="email",J="cards",q="list",$="pending",tt="d41d8",et=1865,nt=127017,it={borderRadiusAll:"all",borderRadiusTopLeft:"topLeft",borderRadiusBottomLeft:"bottomLeft",borderRadiusTopRight:"topRight",borderRadiusBottomRight:"bottomRight"},at="desktop",lt="mobile",dt="emailtags",st="blocktags",rt="all_folders",ot={text:{fontFamily:["Safe Fonts","-apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif"],fontSize:16,fontSizeDim:"px",lineHeight:21,lineHeightDim:"px",color:"#5a5a5a",textAlign:"left",paddingBottom:10,paddingBottomDim:"px"},headings:{fontFamily:["Safe Fonts","-apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif"],fontSize:24,fontSizeDim:"px",lineHeight:32,lineHeightDim:"px",color:"#333333",textAlign:"left",paddingTop:20,paddingTopDim:"px",paddingBottom:10,paddingBottomDim:"px",letterSpacing:0,letterSpacingDim:"px",bold:!0,italic:!1},links:{color:"#1C52DC",underline:!0},buttons:{fontFamily:["Safe Fonts","-apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif"],fontSize:16,fontSizeDim:"px",letterSpacing:0,letterSpacingDim:"px",color:"#FFFFFF",bold:!1,italic:!1,backgroundColor:"#1C52DC",marginTop:10,marginTopDim:"px",marginBottom:10,marginBottomDim:"px",border:{all:null,top:null,right:null,bottom:null,left:null},borderRadius:{all:5,topLeft:null,topRight:null,bottomRight:null,bottomLeft:null},textAlign:"center",padding:{all:null,top:null,right:null,bottom:null,left:null}},block:{backgroundColor:""}},pt=t=>({REORDER_ATOM:t("Reorder element"),CLONE_ATOM:t("Clone element"),REMOVE_ATOM:t("Remove element"),EDIT_ATOM:t("Edit element"),CHANGE_IMAGE:t("Change image"),REORDER_BLOCK:t("Reorder block"),REORDER_BLOCK_UP:t("Move up"),REORDER_BLOCK_DOWN:t("Move down"),EDIT_BLOCK:t("Edit block"),CLONE_BLOCK:t("Clone block"),MERGE_BLOCK:t("Merge with the chosen block"),COPY_BLOCK_TO_CLIPBOARD:t("Copy block to clipboard"),PASTE_BLOCK_FROM_CLIPBOARD:t("Paste block from clipboard"),REMOVE_BLOCK:t("Remove block"),SAVE_TO_BLOCKS:t("Save to Blocks"),ADD_BLOCK:t("Add block"),ADD_EMPTY_BLOCK:t("Add an empty block"),ADD_SAVED_BLOCK:t("Add a saved block"),ADD_COMMON_BLOCK:t("Add a common block"),ADD_TEMPLATE_BLOCK:t("Add a template block"),ADD_SEARCH_BLOCK:t("Search a block"),REORDER_GROUP:t("Reorder group"),EDIT_GROUP:t("Edit group"),CLONE_GROUP:t("Clone group"),REMOVE_GROUP:t("Remove group"),ADD_GROUP:t("Add group"),LINK:t("link"),TABLE_COLUMN:t("cell"),TABLE:t("table"),FLOAT_BLOCK:t("column"),CONTAINER:t("container"),PICTURE:t("picture"),VERTICAL_INDENT:t("indent"),TEXT:t("text"),BUTTON:t("button"),VAR:t("variable"),STRUCTURE:t("block"),EMAIL:t("email"),GROUP:t("group"),TYPOGRAF:t("Typograf"),COUNTDOWN:t("countdown"),ELEMENT:t("element"),VIDEO:t("video"),ELEMENT_PATH_LINK:t("Link"),ELEMENT_PATH_BLOCK:t("Block"),ELEMENT_PATH_ATOM:t("Element"),ELEMENT_PATH_TD:t("Cell"),ELEMENT_PATH_TABLE:t("Table"),ELEMENT_PATH_FLOATBLOCK:t("Column"),ELEMENT_PATH_TEXT:t("Text"),ELEMENT_PATH_DIV:t("Container"),ELEMENT_PATH_GROUP:t("Group"),ELEMENT_PATH_EMAIL:t("Email"),ELEMENT_PATH_IMG:t("Picture"),ELEMENT_PATH_VINDENT:t("Indent"),ELEMENT_PATH_BUTTON:t("Button"),TINYMCE_CHANGECASE:t("Case Change"),TINYMCE_UPPERCASE:t("Uppercase"),TINYMCE_LOWERCASE:t("Lowercase"),PASTE_HERE:t("Drop here")})},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"> </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"> </td>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t</td></tr>\n\t\t\t\t\t</table><![endif]--\x3e\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="10"></td></tr></table>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</table>\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t</td></tr></table>\n\t\t<![endif]--\x3e\n\t</td>\n</tr>\n\n'},19378:(t,e,n)=>{"use strict";function i(t){return t}n.d(e,{Qm:()=>i,bg:()=>r});const a="INIT_MESSAGE";function l(){return Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15)}class d{constructor(){this._children=[],this._isDisposed=!1}isDisposed(){return this._isDisposed}addDisposable(t){return this._children.push(t),t.hasOwnProperty("addDisposable")&&t.addDisposable({dispose:()=>{const e=this._children.indexOf(t);e>=0&&this._children.splice(e,1)}}),t}removeDisposable(t){const e=this._children.indexOf(t);e>=0&&this._children.splice(e,1)}dispose(){this._isDisposed=!0;for(const t of this._children)t.dispose()}}class s extends d{constructor(...t){super(...t),this._listeners=Object.create(null),this.addListenerAsync=(t,e,n=0,i)=>{const a=this._listeners[t]||(this._listeners[t]=[]);i&&"function"===typeof e&&(e=e.bind(i));const l=a.findIndex((([t,e])=>n<=e)),d=[e,n];return this.isDisposed()||a.splice(l>=0?l:a.length,0,d),{dispose(){const t=a.indexOf(d);t>=0&&a.splice(t,1)}}},this.fireAsync=(t,e)=>{if(!this.isDisposed()){const n=this._listeners[t]||(this._listeners[t]=[]);let i;for(let t=0;t<n.length;t++){let e=n[t][0],a=i;i=t=>e(t,a)}if(i)return i(e)}},this.addListener=(t,e,n=0)=>this.addListenerAsync(t,((t,n)=>{try{e(t)}catch(i){console.log(i)}return n&&n(t)}),n)}}class r extends d{constructor(t,e){super(),this._singleton=e,this._target=void 0,this._guid=l(),this._targetGuid="",this._emitter=this.addDisposable(new s),this._onReceiveMessage=t=>{const e=t.data;if(n=e,i=this._guid,n&&"object"===typeof n&&n.guid===i||this._singleton&&function(t,e){return t&&"object"===typeof t&&t.operationId===e}(e,a)){const n=this._emitter.fireAsync(e.operationId||"",void 0===e.operationId?t:e.data),i=e.result,a=e.error;i&&a&&Promise.resolve(n).then((t=>this._sendMessage(i,t)),(t=>this._sendMessage(a,t)))}var n,i},window.addEventListener("message",this._onReceiveMessage),this.addListener(a,(t=>{this._targetGuid!==t&&(this._targetGuid=t,this.send(a,this._guid))})),t&&this.setTarget(t)}setTarget(t){this._target!==t&&(this._target=t,this._targetGuid="",t&&t.postMessage({operationId:a,data:this._guid},"*"))}getTarget(){return this._target}get target(){return this._target}_sendMessage(t,e,n=!0){if(!n&&!this.isInited())return;const i=this.addDisposable(this.onInit(((n,a)=>{const l=t?{operationId:t,data:e}:e;n.postMessage({...l,guid:a},"*"),i.dispose()})))}send(t,e,n){return"string"===typeof t?this._sendMessage(t,e,n):this._sendMessage("",t,e)}sendAsync(t,e,n=!0){if(!n&&!this.isInited())return Promise.resolve();const i=l(),a=l();return new Promise(((n,l)=>{const s=this.addDisposable(new d);s.addDisposable(this.onInit(((d,r)=>{d.postMessage({operationId:t,data:e,guid:r,result:i,error:a},"*"),s.addDisposable(this._onMessage(i,(t=>{n(t),s.dispose()}))),s.addDisposable(this._onMessage(a,(t=>{l(t),s.dispose()})))})))}))}_onMessage(t,e,n=0){return this._emitter.addListener(t,e,n)}addListener(t,e,n){return e?this._onMessage(t,e,n):this._onMessage("",t)}addListenerAsyncPipe(t,e,n=0){return this._emitter.addListenerAsync(t,e,n)}addListenerAsync(t,e,n=0){return this._emitter.addListenerAsync(t,(async(t,n)=>{const i=await e(t);return n?n(t):i}),n)}isInited(){return!!this._targetGuid}get inited(){return!!this._targetGuid}onInit(t,e=!0,n=0){const i=this.addDisposable(new d);return this._targetGuid&&this._target?e&&Promise.resolve().then((()=>{this._targetGuid&&this._target?t(this._target,this._targetGuid):i.addDisposable(this.onInit(t,e,n))})):i.addDisposable(this._onMessage(a,(()=>{t(this._target,this._targetGuid)}),n)),i}dispose(){window.removeEventListener("message",this._onReceiveMessage),super.dispose()}}},93718:(t,e,n)=>{var i={"./en_US.ts":[90944,2466],"./ru_RU.ts":[3099,6859]};function a(t){if(!n.o(i,t))return Promise.resolve().then((()=>{var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=i[t],a=e[0];return n.e(e[1]).then((()=>n(a)))}a.keys=()=>Object.keys(i),a.id=93718,t.exports=a},42811:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAkCAYAAAB/up84AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABSBJREFUeNrsWjFv2zoQVoMW8BZ18xaN3qLRW9QtW9OtW92to98vaPoP3K1b1S1b3c2jvWlUNm3lw1s8Mpu3PAo4Iocr70jKlp0COuCQlpKPx/t43x1pv3h8fEwGeT5yNoTgeclLZvza6NgxXoNaGRktjE6MpjC2NVqh92bwt4HxBI1ro0s0dgN2tvD5a8a/9vkq0M+xYKdG81A7Gp6pyBjZddrnO6N36Hkbqyn8u4L3vYC0hjLHeAbPVhC4TwAK/ewNvLsEhyxgFXLK2l/D4tvnOVrUiPEh1k/JjvLYyWENdeTcKazBBr6AdY4AqBTmbkIzhO4gvMumYLxAYKzgPTvhBBajYNwCksHYhOyYiow1KONaKYlfO8bPEWyGEfi5Iu+Vjizg7EzB3xvwWTMxWkHG4mDnMF6BnSnYncLzHWGG4BqiwZkKQMC7I0cOVTCJhvRUKNgNCmCOxhNmrBEWzwGi0Y6rIihbsnOH/JgE2hshKrLZv4Px9yhj1twafRlid/UIGWvlFdlVLirIkIM12nETGLeO2tTPECBUZuT/a7JBMpSxUybYLjulUCN2iEpHQoyuGWZJUCa8R/VGSZvGB0iOdjAO9n8EtC2zUxICSIoW0ICTmA53DCDKQzWZg89XAXZ2B2iMavBnjDKpBX6B1tnAM5aqQgGhnU2D6GmHuqw7AkaOPmP/bsHpFC1kTLqVhglS6fFNgX1MCXUHO1zR1h5AFOoSc1jjmKx/An/1PoBQasBSoZZ3hpyaOrg0IW2sRkG8JsU8CaCaLckAhfi6AG0cmeuzkyMQMtL+SiySkY3oA/EgGeICK0UOZYQKVsQpDAjm2BpsaAGQLMKnMdok3yLtpKS70yT7OUBcm7UTHb5grk5y1Csrj40MqUbUpgW7NXo+RunckODkQvdXM37iwm7b1VA7lAaVB4jUUZOUIzNxfOougAwy3GUN0qWG2IJJ09V2NcvIFE8c54nQelEHFM6C6chUhI+WZjjffDQkrenPhqmlrAC9Naof/aLhXZeNNfMZOk+MtPOVRjNmTpfcCut0+biGZ3PBj1ywWTOfqV3v+yjLFuDPRs8Ddu05vLtmsuHQ0s73wehvR0t7aGkPevfCM5fcGr0MbOW9NSSFwF52cP5KcLIv+X4EUGbCemcOqpoz73/haE4CZNkRjAR20vwENXHRc2bWEMyQuUuGVe4hc6K6rBmg7pKN0XdGX7dts9E3Rr8afUATFl1PqgLAG6T3AoX1nSVtMP9l5r5FVyiu+D14/YssRHOheGVQYNMeinrhsMcV2WVPRR1rIRT4QmiA5r4G6oxp0y6ZzFh4LvhmB84MHz1xta9vWQMrcFR/3iF+7DmEu2YoyTshRbuMvGE9hnwGPQR1tdR04aCueKrqAIgiu/AqcCf1JXPhfuoYosGHn4Hgqa6AnCK4IfSkCa1eCJRxLGnn+mX0rfDOJok4AsQAUpwQlND2++HIgNiOVO1LVRIgtXDPs0bpunEU08vktHLMpoJS1/d9qEo6h6gAzq7RRaPV+QmBeICzUUh2fIHzk0s3HedXwkEy2ReQmjn4XDzDjqkN4D/J04/y/np5KbSrrtbwAyx+kTxdf9tfpvSZIW9O3FScHJAF8PEFc5F2lQzSi5wJheoG3U/t0xYOcgBAcOHuAkr7mY9ditoAiCz2q8uvEcD8gJpSDuGNl5hfnaTJ0/fpheMUr4CitHCO6fqdesj359xh1tWiqggfdUCmcz9ZivZ7+BnQM5P/BRgABx8sJWqTxoYAAAAASUVORK5CYII="},59142:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_01_blocks.5538cfdb.png"},50195:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_02_blocks.837fc2c9.png"},27544:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_03_blocks.126601f7.png"},59045:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_04_blocks.255c5c07.png"},97970:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_05_blocks.431b6844.png"},84093:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_01.33327158.png"},42854:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_02.d99d2aa6.png"},81871:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_03.5545ffad.png"},39024:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_04.398a4ca5.png"},35929:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_05.4c58df1b.png"}}]);
|