1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2612],{12612:function(e,t,n){n.r(t),n.d(t,{default:function(){return eN}});var a,i,r=n(57437),s=n(2265),o=n(99376),l=n(64149),d=n.n(l),c=n(10652),u=n(95899),h=n(38706),m=n(15779),x=n(50902),g=n(99336),p=n(34909),f=n(2011),j=n(73470),y=n(82569),b=n(56526),k=n(97026),w=n(28138);let v=w.ZP.div.withConfig({componentId:"sc-71d3e024-0"})(["width:100%;display:flex;align-items:center;gap:8px;margin-bottom:32px;"]),B=w.ZP.div.withConfig({componentId:"sc-71d3e024-1"})(["margin:0px 10px;background-color:",";padding:32px 24px;border:1px solid #e6e9f2;border-radius:4px;display:flex;flex-direction:column;svg > path{fill:",";}"],m.DGs.snow[2],m.DGs.yellow[4]),R=w.ZP.div.withConfig({componentId:"sc-71d3e024-2"})(["width:19px;height:19px;border-radius:4px;background:",";display:flex;align-items:center;justify-content:center;"],m.DGs.indigo[5]),E=w.ZP.div.withConfig({componentId:"sc-71d3e024-3"})(["width:100%;display:flex;flex-direction:column;gap:16px;margin-bottom:24px;h3{margin-bottom:0;}"]),T=e=>{let{onClick:t}=e,n=(0,h.T)();return(0,r.jsxs)(B,{children:[(0,r.jsxs)(v,{children:[(0,r.jsx)(R,{children:(0,r.jsx)(m.zSW,{width:15,height:15})}),(0,r.jsx)(k.Z,{variant:"h2",style:{fontWeight:"bold"},children:n("template-designer.savedLockedInfo.title")})]}),(0,r.jsxs)(E,{children:[(0,r.jsx)(k.Z,{variant:"h3",children:n("template-designer.savedLockedInfo.subtitle")}),(0,r.jsx)(k.Z,{variant:"body1",children:n("template-designer.savedLockedInfo.description")})]}),(0,r.jsx)(m.w19,{text:n("template-designer.savedLockedInfo.buttonText"),startIcon:(0,r.jsx)(m.zSW,{width:20,height:20}),style:{maxWidth:"175px"},onClick:t})]})},L=async e=>{let t;let{method:n,endpoint:a,apiToken:i,data:r,file:s}=e,o={"X-ElasticEmail-ApiKey":"".concat(i)};if(s){let e=new FormData;e.append("file",s),t=e}else r&&(o["Content-Type"]="application/json",t=JSON.stringify(r));let l=await fetch("".concat("https://api.smtprelay.co","/v3/").concat(a),{method:n,headers:o,...t?{body:t}:{}});if(!l.ok)throw Error((await l.json()).Error||"An error occurred");return l.json()};var F=n(79300),M=n(98613),S=n(71096),A=n.n(S),C=n(82957).Buffer;let N=()=>{let[e,t]=(0,s.useState)([]);return{saveTemplate:async(t,n,a)=>{let i="".concat(A()().format());try{var r;let s=new Map,o=new Map,l=t=>{t.forEach(t=>{var n;Object.keys(t.attributes).forEach(n=>{let a=t.attributes[n];"string"==typeof a&&e.some(e=>e.fileUrl===a)&&o.set(a,!0)}),(null===(n=t.innerBlocks)||void 0===n?void 0:n.length)>0&&l(t.innerBlocks)})};l((null==n?void 0:null===(r=n.contentJson)||void 0===r?void 0:r.blocks)||[]),await Promise.all(e.filter(e=>o.has(e.fileUrl)).map(async e=>{let n=new File([e.file],e.fileName.replace(/(\\|\/|:|\*|\?|"|<|>|\||\+|#|&|%|\s+)/g,"_")),i=await L({method:"POST",endpoint:"files?expiresAfterDays=0&enforceUniqueFileName=false",apiToken:t,file:n});s.set(e.fileUrl,"".concat("https://api.smtprelay.co","/userfile/").concat(a,"/").concat(i.FileName))}));let d=(0,F.Z)(null==n?void 0:n.contentJson),c=e=>{e.forEach(e=>{var t;Object.keys(e.attributes).forEach(t=>{let n=e.attributes[t],a="string"==typeof n&&s.has(n)?s.get(n):null;a&&(e.attributes[t]=a)}),(null===(t=e.innerBlocks)||void 0===t?void 0:t.length)>0&&c(e.innerBlocks)})};c((null==d?void 0:d.blocks)||[]);let u={Name:"".concat(A()().format()),TemplateType:M.WY.TemplateEditor,DateAdded:A()().format(),IsDefault:!1,TemplateScope:M.k.Private,IsPublic:!1,Base64Image:null==n?void 0:n.screenshot,EditorMetaData:C.from(JSON.stringify({data:{contentJson:d,recentColors:[]}})).toString("base64"),FromEmail:"",FromName:"",Body:{Subject:"",Parts:[{ContentType:"text/html",Content:null==n?void 0:n.content,Encoding:M.nF.None}]}};return await L({method:"POST",endpoint:"templates",apiToken:t,data:u}),{templateName:i}}catch(e){return console.error(null==e?void 0:e.message),{templateName:i,errorMessage:(null==e?void 0:e.message)||""}}},files:e.map(e=>({...e,file:null})),addSelectedFile:function(n,a,i){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t([...e.filter(e=>e.fileUrl!==a),{file:n,fileUrl:a,fileName:n.name,blockId:i,isLinkToFile:r}])},updateSelectedFiles:e=>{t(t=>t.filter(t=>e.some(e=>e.blockId===t.blockId&&e.isLinkToFile===t.isLinkToFile)))}}},P=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"287",height:"251",viewBox:"0 0 287 251",children:(0,r.jsxs)("g",{id:"Main_feature_with_call_to_action","data-name":"Main feature with call to action",transform:"translate(-817 -317)",children:[(0,r.jsxs)("g",{id:"background",transform:"translate(817 317)",fill:"#fff",children:[(0,r.jsx)("rect",{width:"287",height:"251",rx:"4",stroke:"none"}),(0,r.jsx)("rect",{x:"0.5",y:"0.5",width:"286",height:"250",rx:"3.5",fill:"none"})]}),(0,r.jsx)("text",{id:"copy2",transform:"translate(937 460)",fill:"#718096",fontSize:"12",fontFamily:"Nunito-SemiBold, Nunito",fontWeight:"600",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Heading"})}),(0,r.jsxs)("g",{id:"Group_12456","data-name":"Group 12456",transform:"translate(841 341)",children:[(0,r.jsx)("g",{id:"Group_8115","data-name":"Group 8115",children:(0,r.jsxs)("g",{id:"Rectangle_6270","data-name":"Rectangle 6270",fill:"#edf2f7",stroke:"#e2e8f0",strokeWidth:"1",children:[(0,r.jsx)("rect",{width:"239",height:"95",rx:"4",stroke:"none"}),(0,r.jsx)("rect",{x:"-0.5",y:"-0.5",width:"240",height:"96",rx:"4.5",fill:"none"})]})}),(0,r.jsxs)("g",{id:"campaign-placeholder",transform:"translate(106.536 35.69)",children:[(0,r.jsxs)("g",{id:"Rectangle_7981","data-name":"Rectangle 7981",fill:"none",stroke:"#cbd5e1",strokeWidth:"2",children:[(0,r.jsx)("rect",{width:"26",height:"26",rx:"5",stroke:"none"}),(0,r.jsx)("rect",{x:"1",y:"1",width:"24",height:"24",rx:"4",fill:"none"})]}),(0,r.jsx)("path",{id:"Path_26926","data-name":"Path 26926",d:"M711.088,6953.823l4.677-5.247,5.5
172,4.429",transform:"translate(-710.021 -6935.788)",fill:"none",stroke:"#cbd5e1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,r.jsx)("path",{id:"Path_26927","data-name":"Path 26927",d:"M698.488,6964.856l14.983-16.28,5.847,5.479",transform:"translate(-693.859 -6940.051)",fill:"none",stroke:"#cbd5e1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,r.jsx)("ellipse",{id:"Ellipse_1907","data-name":"Ellipse 1907",cx:"2.305",cy:"2.305",rx:"2.305",ry:"2.305",transform:"translate(5.196 4.732)",fill:"none",stroke:"#cbd5e1",strokeLinecap:"round",strokeWidth:"2"})]})]}),(0,r.jsxs)("g",{id:"Button_-_Website_Primary_Button","data-name":"Button - Website Primary Button",transform:"translate(935 518)",children:[(0,r.jsx)("rect",{id:"Button_background","data-name":"Button background",width:"50",height:"26",rx:"4",fill:"#718096"}),(0,r.jsx)("text",{id:"Button",transform:"translate(10 17)",fill:"#fff",fontSize:"10",fontFamily:"Mulish-Regular, Mulish",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Button"})})]}),(0,r.jsxs)("text",{id:"copy2-2","data-name":"copy2",transform:"translate(841 471)",fill:"#a0aec0",fontSize:"10",fontFamily:"Mulish-Regular, Mulish",children:[(0,r.jsxs)("tspan",{x:"0",y:"10",children:["This is the place for your content. Did you know that"," "]}),(0,r.jsxs)("tspan",{x:"0",y:"22",children:["email marketing has been around for a long time"," "]}),(0,r.jsx)("tspan",{x:"0",y:"34",children:"and is cost-effective? Email marketing..."})]})]})}),I=()=>({id:"main-feature-with-call-to-action",title:(0,h.T)()("template-designer.prebuiltModules.mainfeaturewithcalltoaction"),icon:(0,r.jsx)(P,{}),data:{name:"editor/onecolumnsblock-v1",attributes:{},innerBlocks:[[{name:"editor/imageblock-v1",attributes:{}},{name:"editor/headingblock-v1",attributes:{textAlign:u.fc.CENTER,padding:{paddingLeft:20,paddingBottom:10,paddingRight:20,paddingTop:20},content:"Heading"}},{name:"editor/paragraphblock-v1",attributes:{content:"This is the place for your content. Did you know that email marketing has been around for a long time and is cost-effective? Email marketing allows you to regularly stay in touch with customers and website visitors. Most marketers..."}},{name:"editor/buttonblock-v1",attributes:{content:"Button"}}]]}}),D=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"287",height:"252",viewBox:"0 0 287 252",children:(0,r.jsxs)("g",{id:"Features:_two_columns","data-name":"Features: two columns",transform:"translate(-817 -798)",children:[(0,r.jsxs)("g",{id:"background",transform:"translate(817 798)",fill:"#fff",children:[(0,r.jsx)("rect",{width:"287",height:"252",rx:"4",stroke:"none"}),(0,r.jsx)("rect",{x:"0.5",y:"0.5",width:"286",height:"251",rx:"3.5",fill:"none"})]}),(0,r.jsx)("text",{id:"copy2",transform:"translate(1004 941)",fill:"#718096",fontSize:"12",fontFamily:"Nunito-SemiBold, Nunito",fontWeight:"600",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Heading"})}),(0,r.jsxs)("g",{id:"Group_12456","data-name":"Group 12456",transform:"translate(973 822)",children:[(0,r.jsx)("g",{id:"Group_8115","data-name":"Group 8115",children:(0,r.jsxs)("g",{id:"Rectangle_6270","data-name":"Rectangle 6270",fill:"#edf2f7",stroke:"#e2e8f0",strokeWidth:"1",children:[(0,r.jsx)("rect",{width:"107",height:"95",rx:"4",stroke:"none"}),(0,r.jsx)("rect",{x:"0.5",y:"0.5",width:"106",height:"94",rx:"3.5",fill:"none"})]})}),(0,r.jsxs)("g",{id:"campaign-placeholder",transform:"translate(40.313 35.69)",children:[(0,r.jsxs)("g",{id:"Rectangle_7981","data-name":"Rectangle 7981",fill:"none",stroke:"#cbd5e1",strokeWidth:"2",children:[(0,r.jsx)("rect",{width:"26",height:"26",rx:"5",stroke:"none"}),(0,r.jsx)("rect",{x:"1",y:"1",width:"24",height:"24",rx:"4",fill:"none"})]}),(0,r.jsx)("path",{id:"Path_26926","data-name":"Path 26926",d:"M711.088,6953.823l4.677-5.247,5.572,4.429",transform:"translate(-710.021 -6935.788)",fill:"none",stroke:"#cbd5e1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,r.jsx)("path",{id:"Path_26927","data-name":"Path 26927",d:"M698.488,6964.856l14.983-16.28,5.847,5.479",transform:"translate(-693.859 -6940.051)",fill:"none",stroke:"#cbd5e1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,r.jsxs)("g",{id:"Ellipse_1907","data-name":"Ellipse 1907",transform:"translate(5.196 4.732)",fill:"none",stroke:"#cbd5e1",strokeLinecap:"round",strokeWidth:"2",children:[(0,r.jsx)("ellipse",{cx:"2.305",cy:"2.305",rx:"2.305",ry:"2.305",stroke:"none"}),(0,r.jsx)("ellipse",{cx:"2.305",cy:"2.305",rx:"1.305",ry:"1.305",fill:"none"})]})]})]}),(0,r.jsxs)("text",{id:"copy2-2","data-name":"copy2",transform:"translate(842 953)",fill:"#a0aec0",fontSize:"10",fontFamily:"Mulish-Regular, Mulish",letterSpacing:"-0.03em",children:[(0,r.jsxs)("tspan",{x:"0",y:"10",children:["This is the place for your"," "]}),(0,r.jsxs)("tspan",{x:"0",y:"22",children:["content. Did you know"," "]}),(0,r.jsx)("tspan",{x:"0",y:"34",children:"that email marketing..."})]}),(0,r.jsxs)("text",{id:"copy2-3","data-name":"copy2",transform:"translate(973 953)",fill:"#a0aec0",fontSize:"10",fontFamily:"Mulish-Regular, Mulish",letterSpacing:"-0.03em",children:[(0,r.jsxs)("tspan",{x:"0",y:"10",children:["This is the place for your"," "]}),(0,r.jsxs)("tspan",{x:"0",y:"22",children:["content. Did you know"," "]}),(0,r.jsx)("tspan",{x:"0",y:"34",children:"that email marketing..."})]}),(0,r.jsx)("text",{id:"copy2-4","data-name":"copy2",transform:"translate(872 941)",fill:"#718096",fontSize:"12",fontFamily:"Nunito-SemiBold, Nunito",fontWeight:"600",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Heading"})}),(0,r.jsxs)("g",{id:"Group_12456-2","data-name":"Group 12456",transform:"translate(841 822)",children:[(0,r.jsx)("g",{id:"Group_8115-2","data-name":"Group 8115",children:(0,r.jsxs)("g",{id:"Rectangle_6270-2","data-name":"Rectangle 6270",fill:"#edf2f7",stroke:"#e2e8f0",strokeWidth:"1",children:[(0,r.jsx)("rect",{width:"107",height:"95",rx:"4",stroke:"none"}),(0,r.jsx)("rect",{x:"0.5",y:"0.5",width:"106",height:"94",rx:"3.5",fill:"none"})]})}),(0,r.jsxs)("g",{id:"campaign-placeholder-2","data-name":"campaign-placeholder",transform:"translate(40.315 35.69)",children:[(0,r.jsxs)("g",{id:"Rectangle_7981-2","data-name":"Rectangle 7981",fill:"none",stroke:"#cbd5e1",strokeWidth:"2",children:[(0,r.jsx)("rect",{width:"26",height:"26",rx:"5",stroke:"none"}),(0,r.jsx)("rect",{x:"1",y:"1",width:"24",height:"24",rx:"4",fill:"none"})]}),(0,r.jsx)("path",{id:"Path_26926-2","data-name":"Path 26926",d:"M711.088,6953.823l4.677-5.247,5.5
172,4.429",transform:"translate(-710.021 -6935.788)",fill:"none",stroke:"#cbd5e1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,r.jsx)("path",{id:"Path_26927-2","data-name":"Path 26927",d:"M698.488,6964.856l14.983-16.28,5.847,5.479",transform:"translate(-693.859 -6940.051)",fill:"none",stroke:"#cbd5e1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,r.jsxs)("g",{id:"Ellipse_1907-2","data-name":"Ellipse 1907",transform:"translate(5.196 4.732)",fill:"none",stroke:"#cbd5e1",strokeLinecap:"round",strokeWidth:"2",children:[(0,r.jsx)("ellipse",{cx:"2.305",cy:"2.305",rx:"2.305",ry:"2.305",stroke:"none"}),(0,r.jsx)("ellipse",{cx:"2.305",cy:"2.305",rx:"1.305",ry:"1.305",fill:"none"})]})]})]}),(0,r.jsxs)("g",{id:"Button_-_Website_Primary_Button","data-name":"Button - Website Primary Button",transform:"translate(870 1000)",children:[(0,r.jsx)("rect",{id:"Button_background","data-name":"Button background",width:"50",height:"26",rx:"4",fill:"#718096"}),(0,r.jsx)("text",{id:"Button",transform:"translate(10 17)",fill:"#fff",fontSize:"10",fontFamily:"Mulish-Regular, Mulish",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Button"})})]}),(0,r.jsxs)("g",{id:"Button_-_Website_Primary_Button-2","data-name":"Button - Website Primary Button",transform:"translate(1002 1000)",children:[(0,r.jsx)("rect",{id:"Button_background-2","data-name":"Button background",width:"50",height:"26",rx:"4",fill:"#718096"}),(0,r.jsx)("text",{id:"Button-2","data-name":"Button",transform:"translate(10 17)",fill:"#fff",fontSize:"10",fontFamily:"Mulish-Regular, Mulish",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Button"})})]})]})}),O=()=>({id:"features-two-columns",title:(0,h.T)()("template-designer.prebuiltModules.featurestwocolumns"),icon:(0,r.jsx)(D,{}),data:{name:"editor/twocolumnsfiftyfiftyblock-v1",attributes:{},innerBlocks:[[{name:"editor/imageblock-v1",attributes:{}},{name:"editor/headingblock-v1",attributes:{textAlign:u.fc.CENTER,padding:{paddingLeft:20,paddingBottom:10,paddingRight:20,paddingTop:20},content:"Heading",stylesKeyIndex:1}},{name:"editor/paragraphblock-v1",attributes:{content:"This is the place for your content. Did you know that email marketing has been around for a long time..."}},{name:"editor/buttonblock-v1",attributes:{content:"Button"}}],[{name:"editor/imageblock-v1",attributes:{}},{name:"editor/headingblock-v1",attributes:{textAlign:u.fc.CENTER,padding:{paddingLeft:20,paddingBottom:10,paddingRight:20,paddingTop:20},content:"Heading",stylesKeyIndex:1}},{name:"editor/paragraphblock-v1",attributes:{content:"This is the place for your content. Did you know that email marketing has been around for a long time..."}},{name:"editor/buttonblock-v1",attributes:{content:"Button"}}]]}}),G=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"287",height:"212",viewBox:"0 0 287 212",children:(0,r.jsxs)("g",{"data-name":"Features: three columns",transform:"translate(-817 -1075)",children:[(0,r.jsxs)("g",{fill:"#fff",transform:"translate(817 1075)",children:[(0,r.jsx)("rect",{width:"287",height:"212",stroke:"none",rx:"4"}),(0,r.jsx)("rect",{width:"286",height:"211",x:"0.5",y:"0.5",fill:"none",rx:"3.5"})]}),(0,r.jsx)("text",{fill:"#718096",fontFamily:"Nunito-SemiBold, Nunito",fontSize:"12",fontWeight:"600",transform:"translate(1022.5 1178)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Heading"})}),(0,r.jsxs)("g",{"data-name":"Group 14411",transform:"translate(1011 1099)",children:[(0,r.jsx)("g",{"data-name":"Group 8115",children:(0,r.jsxs)("g",{fill:"#edf2f7",stroke:"#e2e8f0",strokeWidth:"1","data-name":"Rectangle 6270",children:[(0,r.jsx)("rect",{width:"69",height:"55",stroke:"none",rx:"4"}),(0,r.jsx)("rect",{width:"68",height:"54",x:"0.5",y:"0.5",fill:"none",rx:"3.5"})]})}),(0,r.jsxs)("g",{fill:"none",stroke:"#cbd5e1",strokeWidth:"2",transform:"translate(21.401 15)",children:[(0,r.jsxs)("g",{"data-name":"Rectangle 7981",children:[(0,r.jsx)("rect",{width:"26",height:"26",stroke:"none",rx:"5"}),(0,r.jsx)("rect",{width:"24",height:"24",x:"1",y:"1",rx:"4"})]}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M1.067 18.035l4.677-5.247 5.572 4.429","data-name":"Path 26926"}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.629 24.805l14.983-16.28 5.847 5.479","data-name":"Path 26927"}),(0,r.jsxs)("g",{strokeLinecap:"round","data-name":"Ellipse 1907",transform:"translate(5.196 4.732)",children:[(0,r.jsx)("ellipse",{cx:"2.305",cy:"2.305",stroke:"none",rx:"2.305",ry:"2.305"}),(0,r.jsx)("ellipse",{cx:"2.305",cy:"2.305",rx:"1.305",ry:"1.305"})]})]})]}),(0,r.jsx)("text",{fill:"#718096","data-name":"copy2",fontFamily:"Nunito-SemiBold, Nunito",fontSize:"12",fontWeight:"600",transform:"translate(937.5 1178)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Heading"})}),(0,r.jsxs)("g",{"data-name":"Group 14412",transform:"translate(926 1099)",children:[(0,r.jsx)("g",{"data-name":"Group 8115",children:(0,r.jsxs)("g",{fill:"#edf2f7",stroke:"#e2e8f0",strokeWidth:"1","data-name":"Rectangle 6270",children:[(0,r.jsx)("rect",{width:"69",height:"55",stroke:"none",rx:"4"}),(0,r.jsx)("rect",{width:"68",height:"54",x:"0.5",y:"0.5",fill:"none",rx:"3.5"})]})}),(0,r.jsxs)("g",{fill:"none",stroke:"#cbd5e1",strokeWidth:"2","data-name":"campaign-placeholder",transform:"translate(21.402 15)",children:[(0,r.jsxs)("g",{"data-name":"Rectangle 7981",children:[(0,r.jsx)("rect",{width:"26",height:"26",stroke:"none",rx:"5"}),(0,r.jsx)("rect",{width:"24",height:"24",x:"1",y:"1",rx:"4"})]}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M1.067 18.035l4.677-5.247 5.572 4.429","data-name":"Path 26926"}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.629 24.805l14.983-16.28 5.847 5.479","data-name":"Path 26927"}),(0,r.jsxs)("g",{strokeLinecap:"round","data-name":"Ellipse 1907",transform:"translate(5.196 4.732)",children:[(0,r.jsx)("ellipse",{cx:"2.305",cy:"2.305",stroke:"none",rx:"2.305",ry:"2.305"}),(0,r.jsx)("ellipse",{cx:"2.305",cy:"2.305",rx:"1.305",ry:"1.305"})]})]})]}),(0,r.jsx)("text",{fill:"#718096","data-name":"copy2",fontFamily:"Nunito-SemiBold, Nunito",fontSize:"12",fontWeight:"600",transform:"translate(852.5 1178)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Heading"})}),(0,r.jsxs)("g",{"data-name":"Group 14413",transform:"translate(841 1099)",children:[(0,r.jsx)("g",{"data-name":"Group 8115",children:(0,r.jsxs)("g",{fill:"#edf2f7",stroke:"#e2e8f0",strokeWidth:"1","data-name":"Rectangle 6270",children:[(0,r.jsx)("rect",{width:"69",height:"55",stroke:"none",rx:"4"}),(0,r.jsx)("rect",{width:"68",height:"54",x:"0.5",y:"0.5",fill:"none",rx:"3.5"})]})}),(0,r.jsxs)("g",{fill:"none",stroke:"#cbd5e1",strokeWidth:"2","data-name":"campaign-placeholder",transform:"translate(21.402 15)",children:[(0,r.jsxs)("g",{"data-name":"Rectangle 7981",children:[(0,r.jsx)("rect",{width:"26",height:"26",stroke:"none",rx:"5"}),(0,r.jsx)("rect",{width:"24",height:"24",x:"1",y:"1",rx:"4"})]}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M1.067 18.035l4.677-5.247 5.572 4.429","data-name":"Path 26926"}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.629 24.805l14.983-16.28 5.847 5.479","data-name":"Path 26927"}),(0,r.jsxs)("g",{strokeLinecap:"round","data-name":"Ellipse 1907",transform:"translate(5.196 4.732)",children:[(0,r.jsx)("ellipse",{cx:"2.305",cy:"2.305",stroke:"none",rx:"2.305",ry:"2.305"}),(0,r.jsx)("ellipse",{cx:"2.305",cy:"2.305",rx:"1.305",ry:"1.305"})]})]})]}),(0,r.jsxs)("text",{fill:"#a0aec0","data-name":"copy2",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",letterSpacing:"-.05em",transform:"translate(841 1190)",children:[(0,r.jsxs)("tspan",{x:"0",y:"10",children:["This is the place"," "]}),(0,r.jsxs)("tspan",{x:"0",y:"22",children:["for your content."," "]}),(0,r.jsx)("tspan",{x:"0",y:"34",children:"Did you know..."})]}),(0,r.jsxs)("text",{fill:"#a0aec0","data-name":"copy2",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",letterSpacing:"-.05em",transform:"translate(926 1190)",children:[(0,r.jsxs)("tspan",{x:"0",y:"10",children:["This is the place"," "]}),(0,r.jsxs)("tspan",{x:"0",y:"22",children:["for your content."," "]}),(0,r.jsx)("tspan",{x:"0",y:"34",children:"Did you know..."})]}),(0,r.jsxs)("text",{fill:"#a0aec0","data-name":"copy2",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",letterSpacing:"-.05em",transform:"translate(1011 1190)",children:[(0,r.jsxs)("tspan",{x:"0",y:"10",children:["This is the place"," "]}),(0,r.jsxs)("tspan",{x:"0",y:"22",children:["for your content."," "]}),(0,r.jsx)("tspan",{x:"0",y:"34",children:"Did you know..."})]}),(0,r.jsxs)("g",{"data-name":"Button - Website Primary Button",transform:"translate(851 1237)",children:[(0,r.jsx)("rect",{width:"50",height:"26",fill:"#718096","data-name":"Button background",rx:"4"}),(0,r.jsx)("text",{fill:"#fff",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",transform:"translate(10 17)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Button"})})]}),(0,r.jsxs)("g",{"data-name":"Button - Website Primary Button",transform:"translate(936 1237)",children:[(0,r.jsx)("rect",{width:"50",height:"26",fill:"#718096","data-name":"Button background",rx:"4"}),(0,r.jsx)("text",{fill:"#fff","data-name":"Button",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",transform:"translate(10 17)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Button"})})]}),(0,r.jsxs)("g",{"data-name":"Button - Website Primary Button",transform:"translate(1021 1237)",children:[(0,r.jsx)("rect",{width:"50",height:"26",fill:"#718096","data-name":"Button background",rx:"4"}),(0,r.jsx)("text",{fill:"#fff","data-name":"Button",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",transform:"translate(10 17)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Button"})})]})]})}),_=()=>({id:"features-three-columns",title:(0,h.T)()("template-designer.prebuiltModules.featuresthreecolumns"),icon:(0,r.jsx)(G,{}),data:{name:"editor/threecolumnsblock-v1",attributes:{},innerBlocks:[[{name:"editor/imageblock-v1",attributes:{}},{name:"editor/headingblock-v1",attributes:{textAlign:u.fc.CENTER,padding:{paddingLeft:20,paddingBottom:10,paddingRight:20,paddingTop:20},content:"Heading",stylesKeyIndex:1}}
1,{name:"editor/paragraphblock-v1",attributes:{content:"This is the place for your content. Did you know that email marketing has been around for a long time..."}},{name:"editor/buttonblock-v1",attributes:{content:"Button"}}],[{name:"editor/imageblock-v1",attributes:{}},{name:"editor/headingblock-v1",attributes:{textAlign:u.fc.CENTER,padding:{paddingLeft:20,paddingBottom:10,paddingRight:20,paddingTop:20},content:"Heading",stylesKeyIndex:1}},{name:"editor/paragraphblock-v1",attributes:{content:"This is the place for your content. Did you know that email marketing has been around for a long time..."}},{name:"editor/buttonblock-v1",attributes:{content:"Button"}}],[{name:"editor/imageblock-v1",attributes:{}},{name:"editor/headingblock-v1",attributes:{textAlign:u.fc.CENTER,padding:{paddingLeft:20,paddingBottom:10,paddingRight:20,paddingTop:20},content:"Heading",stylesKeyIndex:1}},{name:"editor/paragraphblock-v1",attributes:{content:"This is the place for your content. Did you know that email marketing has been around for a long time..."}},{name:"editor/buttonblock-v1",attributes:{content:"Button"}}]]}}),W=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"287",height:"143",viewBox:"0 0 287 143",children:(0,r.jsxs)("g",{"data-name":"Feature: left aligned image",transform:"translate(-831 -1417)",children:[(0,r.jsxs)("g",{fill:"#fff",transform:"translate(831 1417)",children:[(0,r.jsx)("rect",{width:"287",height:"143",stroke:"none",rx:"4"}),(0,r.jsx)("rect",{width:"286",height:"142",x:"0.5",y:"0.5",fill:"none",rx:"3.5"})]}),(0,r.jsxs)("g",{"data-name":"Group 12456",transform:"translate(855.048 1441)",children:[(0,r.jsx)("g",{"data-name":"Group 8115",transform:"translate(-.048)",children:(0,r.jsxs)("g",{fill:"#edf2f7",stroke:"#e2e8f0",strokeWidth:"1","data-name":"Rectangle 6270",children:[(0,r.jsx)("rect",{width:"107",height:"95",stroke:"none",rx:"4"}),(0,r.jsx)("rect",{width:"106",height:"94",x:"0.5",y:"0.5",fill:"none",rx:"3.5"})]})}),(0,r.jsxs)("g",{fill:"none",stroke:"#cbd5e1",strokeWidth:"2",transform:"translate(40.452 34.5)",children:[(0,r.jsxs)("g",{"data-name":"Rectangle 7981",children:[(0,r.jsx)("rect",{width:"26",height:"26",stroke:"none",rx:"5"}),(0,r.jsx)("rect",{width:"24",height:"24",x:"1",y:"1",rx:"4"})]}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M.797 18.115l4.677-5.247 5.572 4.429","data-name":"Path 26926"}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.359 24.885l14.983-16.28 5.847 5.479","data-name":"Path 26927"}),(0,r.jsx)("ellipse",{cx:"2.305",cy:"2.305",strokeLinecap:"round","data-name":"Ellipse 1907",rx:"2.305",ry:"2.305",transform:"translate(4.926 4.812)"})]})]}),(0,r.jsx)("text",{fill:"#718096",fontFamily:"Nunito-SemiBold, Nunito",fontSize:"12",fontWeight:"600",transform:"translate(978 1453)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Heading"})}),(0,r.jsxs)("text",{fill:"#a0aec0","data-name":"copy2",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",transform:"translate(978 1475)",children:[(0,r.jsxs)("tspan",{x:"0",y:"0",children:["This is the place for your"," "]}),(0,r.jsxs)("tspan",{x:"0",y:"12",children:["content. Did you know"," "]}),(0,r.jsx)("tspan",{x:"0",y:"24",children:"that email marketing has..."})]}),(0,r.jsxs)("g",{"data-name":"Button - Website Primary Button",transform:"translate(978 1510)",children:[(0,r.jsx)("rect",{width:"50",height:"26",fill:"#718096","data-name":"Button background",rx:"4"}),(0,r.jsx)("text",{fill:"#fff",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",transform:"translate(10 17)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Button"})})]})]})}),V=()=>({id:"feature-left-aligned-image",title:(0,h.T)()("template-designer.prebuiltModules.featureleftalignedimage"),icon:(0,r.jsx)(W,{}),data:{name:"editor/twocolumnsfiftyfiftyblock-v1",attributes:{},innerBlocks:[[{name:"editor/imageblock-v1",attributes:{}}],[{name:"editor/headingblock-v1",attributes:{padding:{paddingLeft:20,paddingBottom:10,paddingRight:20,paddingTop:20},content:"Heading"}},{name:"editor/paragraphblock-v1",attributes:{content:"This is the place for your content. Did you know that email marketing has..."}},{name:"editor/buttonblock-v1",attributes:{position:u.ap.LEFT,content:"Button"}}]]}}),z=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"287",height:"143",viewBox:"0 0 287 143",children:(0,r.jsxs)("g",{"data-name":"Feature: right aligned image",transform:"translate(-830.938 -1580)",children:[(0,r.jsxs)("g",{fill:"#fff",transform:"translate(830.938 1580)",children:[(0,r.jsx)("rect",{width:"287",height:"143",stroke:"none",rx:"4"}),(0,r.jsx)("rect",{width:"286",height:"142",x:"0.5",y:"0.5",fill:"none",rx:"3.5"})]}),(0,r.jsxs)("g",{"data-name":"Group 12456",transform:"translate(986.938 1604)",children:[(0,r.jsx)("g",{"data-name":"Group 8115",children:(0,r.jsxs)("g",{fill:"#edf2f7",stroke:"#e2e8f0",strokeWidth:"1","data-name":"Rectangle 6270",children:[(0,r.jsx)("rect",{width:"107",height:"95",stroke:"none",rx:"4"}),(0,r.jsx)("rect",{width:"106",height:"94",x:"0.5",y:"0.5",fill:"none",rx:"3.5"})]})}),(0,r.jsxs)("g",{fill:"none",stroke:"#cbd5e1",strokeWidth:"2",transform:"translate(40.562 34.986)",children:[(0,r.jsxs)("g",{"data-name":"Rectangle 7981",children:[(0,r.jsx)("rect",{width:"26",height:"26",stroke:"none",rx:"5"}),(0,r.jsx)("rect",{width:"24",height:"24",x:"1",y:"1",rx:"4"})]}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M.91 17.636l4.677-5.247 5.572 4.429","data-name":"Path 26926"}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.472 24.406l14.983-16.28 5.847 5.479","data-name":"Path 26927"}),(0,r.jsxs)("g",{strokeLinecap:"round","data-name":"Ellipse 1907",transform:"translate(5.039 4.333)",children:[(0,r.jsx)("ellipse",{cx:"2.305",cy:"2.305",stroke:"none",rx:"2.305",ry:"2.305"}),(0,r.jsx)("ellipse",{cx:"2.305",cy:"2.305",rx:"1.305",ry:"1.305"})]})]})]}),(0,r.jsx)("text",{fill:"#718096",fontFamily:"Nunito-SemiBold, Nunito",fontSize:"12",fontWeight:"600",transform:"translate(854.938 1616)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Heading"})}),(0,r.jsxs)("text",{fill:"#a0aec0","data-name":"copy2",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",transform:"translate(854.938 1638)",children:[(0,r.jsxs)("tspan",{x:"0",y:"0",children:["This is the place for your"," "]}),(0,r.jsxs)("tspan",{x:"0",y:"12",children:["content. Did you know"," "]}),(0,r.jsx)("tspan",{x:"0",y:"24",children:"that email marketing has..."})]}),(0,r.jsxs)("g",{"data-name":"Button - Website Primary Button",transform:"translate(854.938 1673)",children:[(0,r.jsx)("rect",{width:"50",height:"26",fill:"#718096","data-name":"Button background",rx:"4"}),(0,r.jsx)("text",{fill:"#fff",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",transform:"translate(10 17)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Button"})})]})]})}),U=()=>({id:"feature-right-aligned-image",title:(0,h.T)()("template-designer.prebuiltModules.featurer
1ightalignedimage"),icon:(0,r.jsx)(z,{}),data:{name:"editor/twocolumnsfiftyfiftyblock-v1",attributes:{},innerBlocks:[[{name:"editor/headingblock-v1",attributes:{padding:{paddingLeft:20,paddingBottom:10,paddingRight:20,paddingTop:20},content:"Heading"}},{name:"editor/paragraphblock-v1",attributes:{content:"This is the place for your content. Did you know that email marketing has..."}},{name:"editor/buttonblock-v1",attributes:{position:u.ap.LEFT,content:"Button"}}],[{name:"editor/imageblock-v1",attributes:{}}]]}}),K=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"287",height:"143",viewBox:"0 0 287 143",children:(0,r.jsxs)("g",{"data-name":"Basic block: one column",transform:"translate(-831 -1743)",children:[(0,r.jsxs)("g",{fill:"#fff",transform:"translate(831 1743)",children:[(0,r.jsx)("rect",{width:"287",height:"143",stroke:"none",rx:"4"}),(0,r.jsx)("rect",{width:"286",height:"142",x:"0.5",y:"0.5",fill:"none",rx:"3.5"})]}),(0,r.jsxs)("text",{fill:"#a0aec0",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",transform:"translate(855 1791)",children:[(0,r.jsxs)("tspan",{x:"0",y:"10",children:["This is the place for your content. Did you know that"," "]}),(0,r.jsxs)("tspan",{x:"0",y:"22",children:["email marketing has been around for a long time"," "]}),(0,r.jsx)("tspan",{x:"0",y:"34",children:"and is cost-effective? Email marketing allows you..."})]}),(0,r.jsx)("text",{fill:"#718096","data-name":"copy2",fontFamily:"Nunito-SemiBold, Nunito",fontSize:"12",fontWeight:"600",transform:"translate(952 1779)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Heading"})}),(0,r.jsxs)("g",{"data-name":"Button - Website Primary Button",transform:"translate(950 1836)",children:[(0,r.jsx)("rect",{width:"50",height:"26",fill:"#718096","data-name":"Button background",rx:"4"}),(0,r.jsx)("text",{fill:"#fff",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",transform:"translate(10 17)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Button"})})]})]})}),H=()=>({id:"basic-block-one-column",title:(0,h.T)()("template-designer.prebuiltModules.basicblockonecolumn"),icon:(0,r.jsx)(K,{}),data:{name:"editor/onecolumnsblock-v1",attributes:{},innerBlocks:[[{name:"editor/headingblock-v1",attributes:{textAlign:u.fc.CENTER,padding:{paddingLeft:20,paddingBottom:10,paddingRight:20,paddingTop:20},content:"Heading"}},{name:"editor/paragraphblock-v1",attributes:{content:"This is the place for your content. Did you know that email marketing has been around for a long time and is cost-effective? Email marketing allows you to regularly stay in touch with customers and website visitors. Most marketers..."}},{name:"editor/buttonblock-v1",attributes:{content:"Button"}}]]}}),Z=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"287",height:"143",viewBox:"0 0 287 143",children:(0,r.jsxs)("g",{"data-name":"Basic block: two columns",transform:"translate(-831 -1906)",children:[(0,r.jsxs)("g",{fill:"#fff",transform:"translate(831 1906)",children:[(0,r.jsx)("rect",{width:"287",height:"143",stroke:"none",rx:"4"}),(0,r.jsx)("rect",{width:"286",height:"142",x:"0.5",y:"0.5",fill:"none",rx:"3.5"})]}),(0,r.jsxs)("text",{fill:"#a0aec0",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",letterSpacing:"-.01em",transform:"translate(855 1954)",children:[(0,r.jsxs)("tspan",{x:"0",y:"10",children:["This is the place for your"," "]}),(0,r.jsxs)("tspan",{x:"0",y:"22",children:["content. Did you know"," "]}),(0,r.jsx)("tspan",{x:"0",y:"34",children:"that email marketing..."})]}),(0,r.jsx)("text",{fill:"#718096","data-name":"copy2",fontFamily:"Nunito-SemiBold, Nunito",fontSize:"12",fontWeight:"600",transform:"translate(887.5 1942)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Heading"})}),(0,r.jsxs)("g",{"data-name":"Button - Website Primary Button",transform:"translate(886 1999)",children:[(0,r.jsx)("rect",{width:"50",height:"26",fill:"#718096","data-name":"Button background",rx:"4"}),(0,r.jsx)("text",{fill:"#fff",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",transform:"translate(10 17)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Button"})})]}),(0,r.jsxs)("text",{fill:"#a0aec0","data-name":"copy2",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",letterSpacing:"-.01em",transform:"translate(982 1954)",children:[(0,r.jsxs)("tspan",{x:"0",y:"10",children:["This is the place for your"," "]}),(0,r.jsxs)("tspan",{x:"0",y:"22",children:["content. Did you know"," "]}),(0,r.jsx)("tspan",{x:"0",y:"34",children:"that email marketing..."})]}),(0,r.jsx)("text",{fill:"#718096","data-name":"copy2",fontFamily:"Nunito-SemiBold, Nunito",fontSize:"12",fontWeight:"600",transform:"translate(1015 1942)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Heading"})}),(0,r.jsxs)("g",{"data-name":"Button - Website Primary Button",transform:"translate(1013 1999)",children:[(0,r.jsx)("rect",{width:"50",height:"26",fill:"#718096","data-name":"Button background",rx:"4"}),(0,r.jsx)("text",{fill:"#fff","data-name":"Button",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",transform:"translate(10 17)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Button"})})]})]})}),q=()=>({id:"basic-block-two-columns",title:(0,h.T)()("template-designer.prebuiltModules.basicblocktwocolumns"),icon:(0,r.jsx)(Z,{}),data:{name:"editor/twocolumnsfiftyfiftyblock-v1",attributes:{},innerBlocks:[[{name:"editor/headingblock-v1",attributes:{textAlign:u.fc.CENTER,padding:{paddingLeft:20,paddingBottom:10,paddingRight:20,paddingTop:20},content:"Heading",stylesKeyIndex:1}}
1,{name:"editor/paragraphblock-v1",attributes:{content:"This is the place for your content. Did you know that email marketing has been around for a long time..."}},{name:"editor/buttonblock-v1",attributes:{content:"Button"}}],[{name:"editor/headingblock-v1",attributes:{textAlign:u.fc.CENTER,padding:{paddingLeft:20,paddingBottom:10,paddingRight:20,paddingTop:20},content:"Heading",stylesKeyIndex:1}},{name:"editor/paragraphblock-v1",attributes:{content:"This is the place for your content. Did you know that email marketing has been around for a long time..."}},{name:"editor/buttonblock-v1",attributes:{content:"Button"}}]]}}),J=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"287",height:"145",viewBox:"0 0 287 145",children:(0,r.jsxs)("g",{"data-name":"Basic block: three columns",transform:"translate(-831 -2069)",children:[(0,r.jsxs)("g",{fill:"#fff",transform:"translate(831 2069)",children:[(0,r.jsx)("rect",{width:"287",height:"145",stroke:"none",rx:"4"}),(0,r.jsx)("rect",{width:"286",height:"144",x:"0.5",y:"0.5",fill:"none",rx:"3.5"})]}),(0,r.jsx)("text",{fill:"#718096",fontFamily:"Nunito-SemiBold, Nunito",fontSize:"12",fontWeight:"600",transform:"translate(1037 2105)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Heading"})}),(0,r.jsx)("text",{fill:"#728197","data-name":"copy2",fontFamily:"Nunito-SemiBold, Nunito",fontSize:"12",fontWeight:"600",transform:"translate(952 2105)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Heading"})}),(0,r.jsxs)("text",{fill:"#a0aec0","data-name":"copy2",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",letterSpacing:"-.05em",transform:"translate(855 2117)",children:[(0,r.jsxs)("tspan",{x:"0",y:"10",children:["This is the place"," "]}),(0,r.jsxs)("tspan",{x:"0",y:"22",children:["for your content."," "]}),(0,r.jsx)("tspan",{x:"0",y:"34",children:"Did you know..."})]}),(0,r.jsxs)("text",{fill:"#a0aec0","data-name":"copy2",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",letterSpacing:"-.05em",transform:"translate(940 2117)",children:[(0,r.jsxs)("tspan",{x:"0",y:"10",children:["This is the place"," "]}),(0,r.jsxs)("tspan",{x:"0",y:"22",children:["for your content."," "]}),(0,r.jsx)("tspan",{x:"0",y:"34",children:"Did you know..."})]}),(0,r.jsxs)("text",{fill:"#a0aec0","data-name":"copy2",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",letterSpacing:"-.05em",transform:"translate(1025 2117)",children:[(0,r.jsxs)("tspan",{x:"0",y:"10",children:["This is the place"," "]}),(0,r.jsxs)("tspan",{x:"0",y:"22",children:["for your content."," "]}),(0,r.jsx)("tspan",{x:"0",y:"34",children:"Did you know..."})]}),(0,r.jsx)("text",{fill:"#718096","data-name":"copy2",fontFamily:"Nunito-SemiBold, Nunito",fontSize:"12",fontWeight:"600",transform:"translate(867 2105)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Heading"})}),(0,r.jsxs)("g",{"data-name":"Button - Website Primary Button",transform:"translate(865 2164)",children:[(0,r.jsx)("rect",{width:"50",height:"26",fill:"#718096","data-name":"Button background",rx:"4"}),(0,r.jsx)("text",{fill:"#fff",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",transform:"translate(10 17)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Button"})})]}),(0,r.jsxs)("g",{"data-name":"Button - Website Primary Button",transform:"translate(950 2164)",children:[(0,r.jsx)("rect",{width:"50",height:"26",fill:"#718096","data-name":"Button background",rx:"4"}),(0,r.jsx)("text",{fill:"#fff","data-name":"Button",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",transform:"translate(10 17)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Button"})})]}),(0,r.jsxs)("g",{"data-name":"Button - Website Primary Button",transform:"translate(1035 2164)",children:[(0,r.jsx)("rect",{width:"50",height:"26",fill:"#718096","data-name":"Button background",rx:"4"}),(0,r.jsx)("text",{fill:"#fff","data-name":"Button",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",transform:"translate(10 17)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Button"})})]})]})}),$=()=>({id:"basic-block-three-columns",title:(0,h.T)()("template-designer.prebuiltModules.basicblockthreecolumns"),icon:(0,r.jsx)(J,{}),data:{name:"editor/threecolumnsblock-v1",attributes:{},innerBlocks:[[{name:"editor/headingblock-v1",attributes:{textAlign:u.fc.CENTER,padding:{paddingLeft:20,paddingBottom:10,paddingRight:20,paddingTop:20},content:"Heading",stylesKeyIndex:1}}
1,{name:"editor/paragraphblock-v1",attributes:{content:"This is the place for your content. Did you know..."}},{name:"editor/buttonblock-v1",attributes:{content:"Button"}}],[{name:"editor/headingblock-v1",attributes:{textAlign:u.fc.CENTER,padding:{paddingLeft:20,paddingBottom:10,paddingRight:20,paddingTop:20},content:"Heading",stylesKeyIndex:1}},{name:"editor/paragraphblock-v1",attributes:{content:"This is the place for your content. Did you know..."}},{name:"editor/buttonblock-v1",attributes:{content:"Button"}}],[{name:"editor/headingblock-v1",attributes:{textAlign:u.fc.CENTER,padding:{paddingLeft:20,paddingBottom:10,paddingRight:20,paddingTop:20},content:"Heading",stylesKeyIndex:1}},{name:"editor/paragraphblock-v1",attributes:{content:"This is the place for your content. Did you know..."}},{name:"editor/buttonblock-v1",attributes:{content:"Button"}}]]}}),X=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"287",height:"143",viewBox:"0 0 287 143",children:(0,r.jsxs)("g",{"data-name":"Gallery: two columns",transform:"translate(-832 -2232)",children:[(0,r.jsxs)("g",{fill:"#fff",transform:"translate(832 2232)",children:[(0,r.jsx)("rect",{width:"287",height:"143",stroke:"none",rx:"4"}),(0,r.jsx)("rect",{width:"286",height:"142",x:"0.5",y:"0.5",fill:"none",rx:"3.5"})]}),(0,r.jsxs)("g",{"data-name":"Group 14406",transform:"translate(856.264 2256)",children:[(0,r.jsx)("g",{"data-name":"Group 8115",transform:"translate(-.264)",children:(0,r.jsxs)("g",{fill:"#edf2f7",stroke:"#e2e8f0",strokeWidth:"1","data-name":"Rectangle 6270",children:[(0,r.jsx)("rect",{width:"107",height:"95",stroke:"none",rx:"4"}),(0,r.jsx)("rect",{width:"106",height:"94",x:"0.5",y:"0.5",fill:"none",rx:"3.5"})]})}),(0,r.jsxs)("g",{fill:"none",stroke:"#cbd5e1",strokeWidth:"2",transform:"translate(40.236 34.986)",children:[(0,r.jsxs)("g",{"data-name":"Rectangle 7981",children:[(0,r.jsx)("rect",{width:"26",height:"26",stroke:"none",rx:"5"}),(0,r.jsx)("rect",{width:"24",height:"24",x:"1",y:"1",rx:"4"})]}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M.91 17.636l4.677-5.247 5.572 4.429","data-name":"Path 26926"}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.472 24.406l14.983-16.28 5.847 5.479","data-name":"Path 26927"}),(0,r.jsxs)("g",{strokeLinecap:"round","data-name":"Ellipse 1907",transform:"translate(5.039 4.333)",children:[(0,r.jsx)("ellipse",{cx:"2.305",cy:"2.305",stroke:"none",rx:"2.305",ry:"2.305"}),(0,r.jsx)("ellipse",{cx:"2.305",cy:"2.305",rx:"1.305",ry:"1.305"})]})]})]}),(0,r.jsxs)("g",{"data-name":"Group 14407",transform:"translate(988.264 2256)",children:[(0,r.jsx)("g",{"data-name":"Group 8115",transform:"translate(-.264)",children:(0,r.jsxs)("g",{fill:"#edf2f7",stroke:"#e2e8f0",strokeWidth:"1","data-name":"Rectangle 6270",children:[(0,r.jsx)("rect",{width:"107",height:"95",stroke:"none",rx:"4"}),(0,r.jsx)("rect",{width:"106",height:"94",x:"0.5",y:"0.5",fill:"none",rx:"3.5"})]})}),(0,r.jsxs)("g",{fill:"none",stroke:"#cbd5e1",strokeWidth:"2","data-name":"campaign-placeholder",transform:"translate(40.236 34.986)",children:[(0,r.jsxs)("g",{"data-name":"Rectangle 7981",children:[(0,r.jsx)("rect",{width:"26",height:"26",stroke:"none",rx:"5"}),(0,r.jsx)("rect",{width:"24",height:"24",x:"1",y:"1",rx:"4"})]}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M.91 17.636l4.677-5.247 5.572 4.429","data-name":"Path 26926"}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.472 24.406l14.983-16.28 5.847 5.479","data-name":"Path 26927"}),(0,r.jsxs)("g",{strokeLinecap:"round","data-name":"Ellipse 1907",transform:"translate(5.039 4.333)",children:[(0,r.jsx)("ellipse",{cx:"2.305",cy:"2.305",stroke:"none",rx:"2.305",ry:"2.305"}),(0,r.jsx)("ellipse",{cx:"2.305",cy:"2.305",rx:"1.305",ry:"1.305"})]})]})]})]})}),Y=()=>({id:"gallery-two-columns",title:(0,h.T)()("template-designer.prebuiltModules.gallerytwocolumns"),icon:(0,r.jsx)(X,{}),data:{name:"editor/twocolumnsfiftyfiftyblock-v1",attributes:{},innerBlocks:[[{name:"editor/imageblock-v1",attributes:{}}],[{name:"editor/imageblock-v1",attributes:{}}]]}}),Q=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"287",height:"103",viewBox:"0 0 287 103",children:(0,r.jsxs)("g",{"data-name":"Gallery: three columns",transform:"translate(-831 -2388)",children:[(0,r.jsxs)("g",{fill:"#fff",transform:"translate(831 2388)",children:[(0,r.jsx)("rect",{width:"287",height:"103",stroke:"none",rx:"4"}),(0,r.jsx)("rect",{width:"286",height:"102",x:"0.5",y:"0.5",fill:"none",rx:"3.5"})]}),(0,r.jsxs)("g",{"data-name":"Group 14403",transform:"translate(855.264 2412)",children:[(0,r.jsx)("g",{"data-name":"Group 8115",transform:"translate(-.264)",children:(0,r.jsxs)("g",{fill:"#edf2f7",stroke:"#e2e8f0",strokeWidth:"1","data-name":"Rectangle 6270",children:[(0,r.jsx)("rect",{width:"69",height:"55",stroke:"none",rx:"4"}),(0,r.jsx)("rect",{width:"68",height:"54",x:"0.5",y:"0.5",fill:"none",rx:"3.5"})]})}),(0,r.jsxs)("g",{fill:"none",stroke:"#cbd5e1",strokeWidth:"2",transform:"translate(21.236 14.704)",children:[(0,r.jsxs)("g",{"data-name":"Rectangle 7981",children:[(0,r.jsx)("rect",{width:"26",height:"26",stroke:"none",rx:"5"}),(0,r.jsx)("rect",{width:"24",height:"24",x:"1",y:"1",rx:"4"})]}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M.91 17.636l4.677-5.247 5.572 4.429","data-name":"Path 26926"}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.472 24.406l14.983-16.28 5.847 5.479","data-name":"Path 26927"}),(0,r.jsxs)("g",{strokeLinecap:"round","data-name":"Ellipse 1907",transform:"translate(5.039 4.333)",children:[(0,r.jsx)("ellipse",{cx:"2.305",cy:"2.305",stroke:"none",rx:"2.305",ry:"2.305"}),(0,r.jsx)("ellipse",{cx:"2.305",cy:"2.305",rx:"1.305",ry:"1.305"})]})]})]}),(0,r.jsxs)("g",{"data-name":"Group 14404",transform:"translate(940.264 2412)",children:[(0,r.jsx)("g",{"data-name":"Group 8115",transform:"translate(-.264)",children:(0,r.jsxs)("g",{fill:"#edf2f7",stroke:"#e2e8f0",strokeWidth:"1","data-name":"Rectangle 6270",children:[(0,r.jsx)("rect",{width:"69",height:"55",stroke:"none",rx:"4"}),(0,r.jsx)("rect",{width:"68",height:"54",x:"0.5",y:"0.5",fill:"none",rx:"3.5"})]})}),(0,r.jsxs)("g",{fill:"none",stroke:"#cbd5e1",strokeWidth:"2","data-name":"campaign-placeholder",transform:"translate(21.236 14.704)",children:[(0,r.jsxs)("g",{"data-name":"Rectangle 7981",children:[(0,r.jsx)("rect",{width:"26",height:"26",stroke:"none",rx:"5"}),(0,r.jsx)("rect",{width:"24",height:"24",x:"1",y:"1",rx:"4"})]}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M.91 17.636l4.677-5.247 5.572 4.429","data-name":"Path 26926"}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.472 24.406l14.983-16.28 5.847 5.479","data-name":"Path 26927"}),(0,r.jsxs)("g",{strokeLinecap:"round","data-name":"Ellipse 1907",transform:"translate(5.039 4.333)",children:[(0,r.jsx)("ellipse",{cx:"2.305",cy:"2.305",stroke:"none",rx:"2.305",ry:"2.305"}),(0,r.jsx)("ellipse",{cx:"2.305",cy:"2.305",rx:"1.305",ry:"1.305"})]})]})]}),(0,r.jsxs)("g",{"data-name":"Group 14405",transform:"translate(1025.264 2412)",children:[(0,r.jsx)("g",{"data-name":"Group 8115",transform:"translate(-.264)",children:(0,r.jsxs)("g",{fill:"#edf2f7",stroke:"#e2e8f0",strokeWidth:"1","data-name":"Rectangle 6270",children:[(0,r.jsx)("rect",{width:"69",height:"55",stroke:"none",rx:"4"}),(0,r.jsx)("rect",{width:"68",height:"54",x:"0.5",y:"0.5",fill:"none",rx:"3.5"})]})}),(0,r.jsxs)("g",{fill:"none",stroke:"#cbd5e1",strokeWidth:"2","data-name":"campaign-placeholder",transform:"translate(21.236 14.704)",children:[(0,r.jsxs)("g",{"data-name":"Rectangle 7981",children:[(0,r.jsx)("rect",{width:"26",height:"26",stroke:"none",rx:"5"}),(0,r.jsx)("rect",{width:"24",height:"24",x:"1",y:"1",rx:"4"})]}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M.91 17.636l4.677-5.247 5.572 4.429","data-name":"Path 26926"}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.472 24.406l14.983-16.28 5.847 5.479","data-name":"Path 26927"}),(0,r.jsxs)("g",{strokeLinecap:"round","data-name":"Ellipse 1907",transform:"translate(5.039 4.333)",children:[(0,r.jsx)("ellipse",{cx:"2.305",cy:"2.305",stroke:"none",rx:"2.305",ry:"2.305"}),(0,r.jsx)("ellipse",{cx:"2.305",cy:"2.305",rx:"1.305",ry:"1.305"})]})]})]})]})}),ee=()=>({id:"gallery-three-columns",title:(0,h.T)()("template-designer.prebuiltModules.gallerythreecolumns"),icon:(0,r.jsx)(Q,{}),data:{name:"editor/threecolumnsblock-v1",attributes:{},innerBlocks:[[{name:"editor/imageblock-v1",attributes:{}}],[{name:"editor/imageblock-v1",attributes:{}}],[{name:"editor/imageblock-v1",attributes:{}}]]}}),et=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"287",height:"74",viewBox:"0 0 287 74",children:(0,r.jsxs)("g",{"data-name":"Calls to action: two columns",transform:"translate(-831 -2551)",children:[(0,r.jsxs)("g",{fill:"#fff",transform:"translate(831 2551)",children:[(0,r.jsx)("rect",{width:"287",height:"74",stroke:"none",rx:"4"}),(0,r.jsx)("rect",{width:"286",height:"73",x:"0.5",y:"0.5",fill:"none",rx:"3.5"})]}),(0,r.jsxs)("g",{"data-name":"Button - Website Primary Button",transform:"translate(879 2575)",children:[(0,r.jsx)("rect",{width:"50",height:"26",fill:"#718096","data-name":"Button background",rx:"4"}),(0,r.jsx)("text",{fill:"#fff",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",transform:"translate(10 17)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Button"})})]}),(0,r.jsxs)("g",{"data-name":"Button - Website Primary Button",transform:"translate(1020 2575)",children:[(0,r.jsx)("rect",{width:"50",height:"26",fill:"#718096","data-name":"Button background",rx:"4"}),(0,r.jsx)("text",{fill:"#fff","data-name":"Button",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",transform:"translate(10 17)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Button"})})]})]})}),en=()=>({id:"calls-to-action-two-columns",title:(0,h.T)()("template-designer.prebuiltModules.callstoactiontwocolumns"),icon:(0,r.jsx)(et,{}),data:{name:"editor/twocolumnsfiftyfiftyblock-v1",attributes:{},innerBlocks:[[{name:"editor/buttonblock-v1",attributes:{content:"Button"}}],[{name:"editor/buttonblock-v1",attributes:{content:"Button"}}]]}}),ea=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"287",height:"74",viewBox:"0 0 287 74",children:(0,r.jsxs)("g",{"data-name":"Calls to action: three columns",transform:"translate(-831 -2645)",children:[(0,r.jsxs)("g",{fill:"#fff",transform:"translate(831 2645)",children:[(0,r.jsx)("rect",{width:"287",height:"74",stroke:"none",rx:"4"}),(0,r.jsx)("rect",{width:"286",height:"73",x:"0.5",y:"0.5",fill:"none",rx:"3.5"})]}),(0,r.jsxs)("g",{"data-name":"Button - Website Primary Button",transform:"translate(868 2669)",children:[(0,r.jsx)("rect",{width:"50",height:"26",fill:"#718096","data-name":"Button background",rx:"4"}),(0,r.jsx)("text",{fill:"#fff",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",transform:"translate(10 17)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Button"})})]}),(0,r.jsxs)("g",{"data-name":"Button - Website Primary Button",transform:"translate(950 2669)",children:[(0,r.jsx)("rect",{width:"50",height:"26",fill:"#718096","data-name":"Button background",rx:"4"}),(0,r.jsx)("text",{fill:"#fff","data-name":"Button",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",transform:"translate(10 17)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Button"})})]}),(0,r.jsxs)("g",{"data-name":"Button - Website Primary Button",transform:"translate(1032 2669)",children:[(0,r.jsx)("rect",{width:"50",height:"26",fill:"#718096","data-name":"Button background",rx:"4"}),(0,r.jsx)("text",{fill:"#fff","data-name":"Button",fontFamily:"Mulish-Regular, Mulish",fontSize:"10",transform:"translate(10 17)",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"Button"})})]})]})}),ei=()=>({id:"calls-to-action-three-columns",title:(0,h.T)()("template-designer.prebuiltModules.callstoactionthreecolumns"),icon:(0,r.jsx)(ea,{}),data:{name:"editor/threecolumnsblock-v1",attributes:{},innerBlocks:[[{name:"editor/buttonblock-v1",attributes:{content:"Button"}}],[{name:"editor/buttonblock-v1",attributes:{content:"Button"}}],[{name:"editor/buttonblock-v1",attributes:{content:"Button"}}]]}}),er=()=>[I(),O(),_(),V(),U(),H(),q(),$(),Y(),ee(),en(),ei()];var es=n(5919),eo=n(91144);let el=w.ZP.div.withConfig({componentId:"sc-5d85f23e-0"})(["max-width:570px;width:100%;min-height:400px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex-direction:column;margin:auto;background-color:",";border-radius:32px;box-shadow:0px 5px 12px #021d671a;gap:16px;padding:32px;"],m.DGs.basic.paper);var ed=n(30018),ec=n(39082);let eu=e=>{let{isOpen:t,onOpenChange:n,isBusy:a,message:i}=e;return(0,r.jsx)(es.R,{isOpen:t,onOpenChange:n,placement:"center",backdrop:"blur",classNames:{wrapper:"min-w-[360px] px-[24px] tablet:px-[32px] tabletLarge:px-0 border-none",base:"min-w-[312px] max-w-[570px] w-full bg-transparent outline-none shadow-none",backdrop:"min-w-[360px] z-50 bg-[#2D2F7A3D] backdrop-blur-sm",closeButton:"z-20 top-5 right-5"},scrollBehavior:"outside",hideCloseButton:a,isDismissable:!a,children:(0,r.jsx)(eo.A,{children:(0,r.jsxs)(el,{children:[a&&(0,r.jsx)(m.JJF,{}),i&&(0,r.jsx)(ec.Z,{variant:ed.b.h6,classNames:"mb-[8px]",children:i})]})})})};(a=i||(i={})).CONTACT="Contact",a.ACCOUNT_PROFILE="Account profile",a.GENERAL="General";let eh="https?://(www.)?[-a-zA-Z0-9@:%._\\+~#=]{1,256}\\.[a-zA-Z0-9()]{1,6}\\b([-a-zA-Z0-9()@:%_\\+.~#?&//=]*)",em=()=>{let e=(0,h.T)(),t=t=>{let{id:n,group:a,name:i,regexKeyword:r}=t;return{id:n,group:a,name:i,additionalValueTitle:e("template-designer.specialFields.fallbackValue"),additionalValueError:e("template-designer.specialFields.fallbackError"),isAdditionalValueRequired:!1,additionalValueDescription:e("template-designer.specialFields.fallbackDesc"),additionalValueMaxLength:253,regexFormat:new RegExp("^".concat(r,"(:").concat("[^:}<]*",")?$")),regexKeyword:r,requiredText:e("template-designer.specialFields.optional"),autocompleteValue:r}};return[t({group:i.CONTACT,id:"email",name:"email",regexKeyword:"email"}),t({group:i.CONTACT,id:"first name",name:"first name",regexKeyword:"firstname"}),t({group:i.CONTACT,id:"last name",name:"last name",regexKeyword:"lastname"}),t({group:i.CONTACT,id:"recipient",name:"recipient",regexKeyword:"recipient"}),t({group:i.ACCOUNT_PROFILE,id:"account address",name:"account address",regexKeyword:"accountaddress"}),t({group:i.ACCOUNT_PROFILE,id:"account address 1",name:"account address 1",regexKeyword:"accountaddress1"}),t({group:i.ACCOUNT_PROFILE,id:"account address 2",name:"account address 2",regexKeyword:"accountaddress2"}),t({group:i.ACCOUNT_PROFILE,id:"account city",name:"account city",regexKeyword:"accountcity"}),t({group:i.ACCOUNT_PROFILE,id:"account country",name:"account country",regexKeyword:"accountcountry"}),t({group:i.ACCOUNT_PROFILE,id:"account company",name:"account company",regexKeyword:"accountcompany"}),t({group:i.ACCOUNT_PROFILE,id:"account email",name:"account email",regexKeyword:"accountemail"}),t({group:i.ACCOUNT_PROFILE,id:"account first name",name:"account first name",regexKeyword:"accountfirstname"}),t({group:i.ACCOUNT_PROFILE,id:"account last name",name:"account last name",regexKeyword:"accountlastname"}),t({group:i.ACCOUNT_PROFILE,id:"account phone",name:"account phone",regexKeyword:"accountphone"}),t({group:i.ACCOUNT_PROFILE,id:"account state",name:"account state",regexKeyword:"accountstate"}),t({group:i.ACCOUNT_PROFILE,id:"account website",name:"account website",regexKeyword:"accountwebsite"}),t({group:i.ACCOUNT_PROFILE,id:"account zip",name:"account zip",regexKeyword:"accountzip"}),{group:i.GENERAL,displayName:"Activation URL",id:"url",name:"url",exactFormat:"url",autocompleteValue:"url",isDisabledInButtons:!0},{group:i.GENERAL,id:"contact profile",name:"contact profile",exactFormat:"contactprofile",autocompleteValue:"contactprofile",isDisabledInButtons:!0},{group:i.GENERAL,id:"consent",name:"consent",exactFormat:"consent",autocompleteValue:"consent",isDisabledInButtons:!0}
1,{isUIOnly:!0,group:i.GENERAL,id:"custom",name:"custom",regexKeyword:"",additionalValueTitle:e("template-designer.specialFields.value"),additionalValueError:e("template-designer.specialFields.customFieldError"),isAdditionalValueRequired:!0,requiredText:"",regexFormat:new RegExp("^{".concat("[a-zA-Z0-9]+","}$")),additionalValueMaxLength:253,getTextValueToInsert:e=>"{".concat(e,"}"),isDisabledInButtons:!0},{group:i.GENERAL,id:"consent tracking allow",name:"consent tracking allow",exactFormat:"consenttrackingallow",autocompleteValue:"consenttrackingallow",isDisabledInButtons:!0},{group:i.GENERAL,id:"consent tracking deny",name:"consent tracking deny",exactFormat:"consenttrackingdeny",autocompleteValue:"consenttrackingdeny",isDisabledInButtons:!0},{group:i.GENERAL,displayName:"Message ID",id:"message id",name:"message id",exactFormat:"msgid",autocompleteValue:"msgid",isDisabledInButtons:!0},{group:i.GENERAL,id:"pull content",name:"pull content",additionalValueDescription:e("template-designer.specialFields.linkNeedsComeExistingSite"),additionalValueTitle:e("template-designer.specialFields.websiteUrl"),additionalValuePlaceholder:"https://websiteurl.com",additionalValueError:e("template-designer.specialFields.pleaseEnterValidUrl"),isAdditionalValueRequired:!0,regexFormat:new RegExp("^pullcontent:".concat(eh,"$")),regexKeyword:"pullcontent",autocompleteValue:"pullcontent",isDisabledInButtons:!0},{group:i.GENERAL,id:"pull content-title",name:"pull content-title",additionalValueDescription:e("template-designer.specialFields.linkNeedsComeExistingSite"),additionalValueTitle:e("template-designer.specialFields.websiteUrl"),additionalValuePlaceholder:"https://websiteurl.com",additionalValueError:e("template-designer.specialFields.pleaseEnterValidUrl"),isAdditionalValueRequired:!0,regexFormat:new RegExp("^pullcontent-title:".concat(eh,"$")),regexKeyword:"pullcontent-title",autocompleteValue:"pullcontent-title",isDisabledInButtons:!0},{group:i.GENERAL,id:"pull content-rss",name:"pull content-rss",additionalValueDescription:e("template-designer.specialFields.linkNeedsComeExistingSite"),additionalValueTitle:e("template-designer.specialFields.websiteUrl"),additionalValuePlaceholder:"https://websiteurl.com",additionalValueError:e("template-designer.specialFields.pleaseEnterValidUrl"),isAdditionalValueRequired:!0,regexFormat:new RegExp("^pullcontent-rss:".concat(eh,"$")),regexKeyword:"pullcontent-rss",autocompleteValue:"pullcontent-rss",isDisabledInButtons:!0},{group:i.GENERAL,id:"referrals",name:"referrals",exactFormat:"referrals",autocompleteValue:"referrals",isDisabledInButtons:!0},{group:i.GENERAL,id:"unsubscribe",name:"unsubscribe",exactFormat:"unsubscribe",autocompleteValue:"unsubscribe",isDisabledInButtons:!0},{group:i.GENERAL,displayName:"Unsubscribe list (mailing preferences)",id:"unsubscribe list",name:"unsubscribe list",exactFormat:"unsubscribelist",autocompleteValue:"unsubscribelist",isDisabledInButtons:!0},{group:i.GENERAL,id:"unsubscribe from list",name:"unsubscribe from list",exactFormat:"unsubscribefromlist",autocompleteValue:"unsubscribefromlist",isDisabledInButtons:!0},{group:i.GENERAL,id:"view online",name:"view online",exactFormat:"view",autocompleteValue:"view",isDisabledInButtons:!0}]},ex=e=>{let{disableGeneralGroup:t=!1,disableByName:n}=e,a=(0,h.T)(),r=em(),s=t||(null==n?void 0:n.length)?null==r?void 0:r.filter(e=>!(null==n?void 0:n.includes(e.name))&&!(t&&e.group===i.GENERAL)):r;return{list:s,editorOptions:{title:a("template-designer.specialFields.mergeFields"),startChars:"{",endChars:"}",fields:s.filter(e=>{let{isUIOnly:t}=e;return!t})}}},eg=w.ZP.div.withConfig({componentId:"sc-21ff8631-0"})(["hr.special-field{height:auto;}"]);var ep=n(27648);let ef=w.ZP.div.withConfig({componentId:"sc-a1690753-0"})(["max-width:570px;width:100%;box-sizing:border-box;margin:auto;background-color:",";border-radius:8px;box-shadow:0px 5px 12px #021d671a;gap:16px;"],m.DGs.basic.paper),ej=w.ZP.div.withConfig({componentId:"sc-a1690753-1"})(["padding:32px 32px 20px 32px;font-family:Mulish;"]),ey=w.ZP.div.withConfig({componentId:"sc-a1690753-2"})(["margin-bottom:20px;"]),eb=w.ZP.div.withConfig({componentId:"sc-a1690753-3"})(["display:flex;gap:8px;padding:24px 32px;background:",";border-top:1px solid ",";align-items:center;justify-content:flex-end;border-radius:0 0 8px 8px;"],m.DGs.gray[1],m.DGs.gray[3]),ek=w.ZP.div.withConfig({componentId:"sc-a1690753-4"})(["margin-bottom:20px;"]),ew=w.ZP.div.withConfig({componentId:"sc-a1690753-5"})(["margin-bottom:20px;"]),ev=w.ZP.div.withConfig({componentId:"sc-a1690753-6"})(["display:flex;margin-bottom:16px;svg{margin-right:16px;}"]),eB=w.ZP.span.withConfig({componentId:"sc-a1690753-7"})(["grid-area:d;display:flex;justify-content:end;color:",";"],m.DGs.gray[5]);var eR=n(24899),eE=n(33950);let eT="group",eL=(e,t)=>e.find(e=>e.name===t)||{},eF=(e,t)=>e&&(null==t?void 0:t.slice(e.length+1))||"",eM=(e,t)=>e?"".concat(e).concat(t?":":"").concat(t):"",eS=e=>{var t,n;let{onOpenChange:a,specialFieldsInfoRef:i}=e,o=(0,h.T)(),l=(null===(t=i.current)||void 0===t?void 0:t.contentRef.current.tagName)==="A",d=null===(n=i.current)||void 0===n?void 0:n.selectedField,[c,u]=(0,s.use
1State)(null),x=ex({disableGeneralGroup:l}),[p,f]=(0,s.useState)(eL(x.list,null==d?void 0:d.value)),[j,y]=(0,s.useState)(null==eF?void 0:eF(null==p?void 0:p.regexKeyword,null==d?void 0:d.fullValue)),[b,k]=(0,s.useState)(!1),w=x.list.map(e=>{var t;return{[eT]:e.group,label:null!==(t=e.displayName)&&void 0!==t?t:(0,eR.Z)(e.name),value:e.name}}),v=(0,eE.Z)(w,eT),B=e=>{u(e),k(!1)};return(0,r.jsx)(es.R,{isOpen:!0,onOpenChange:a,placement:"center",backdrop:"blur",classNames:{wrapper:"min-w-[360px] px-[24px] tablet:px-[32px] tabletLarge:px-0 border-none",base:"min-w-[312px] max-w-[570px] w-full bg-transparent outline-none shadow-none my-auto",backdrop:"min-w-[360px] z-50 bg-[#2D2F7A3D] backdrop-blur-none",closeButton:"z-20 top-5 right-5"},scrollBehavior:"outside",isDismissable:!0,children:(0,r.jsx)(eo.A,{children:(0,r.jsxs)(ef,{children:[(0,r.jsxs)(ej,{children:[(0,r.jsx)(ey,{children:(0,r.jsx)(m.ZT$,{variant:"h2",children:o("template-designer.specialFields.addMergeFields")})}),(0,r.jsxs)(ev,{children:[(0,r.jsx)(m.orG,{}),(0,r.jsxs)(m.ZT$,{variant:"body1",children:[o("template-designer.specialFields.selectMergeFieldInfo")," ",(0,r.jsx)(ep.default,{target:"_blank",style:{color:m.DGs.indigo[6]},href:g.JT.mergeTags,children:o("template-designer.specialFields.learnMore")})]})]}),(0,r.jsx)(ek,{children:(0,r.jsx)(m.L4i,{value:null==p?void 0:p.name,label:o("template-designer.specialFields.mergeField"),fullWidth:!0,defaultPlaceholder:o("template-designer.specialFields.select"),listItemWidth:"535px",type:"input",maxHeight:400,placement:"bottom",onItemClick:(e,t)=>{var n;let a=t.value,i=eL(x.list,a),r=eM(null==i?void 0:i.regexKeyword,"");i&&(B({value:i.name,fullValue:null!==(n=i.exactFormat)&&void 0!==n?n:r,isValid:!(null==i?void 0:i.isAdditionalValueRequired),isAdditonalValueEmptyButRequired:(null==i?void 0:i.isAdditionalValueRequired)&&0===j.length||!1}),f(i),y(""))},options:v,disableSentenceCase:!0})}),(null==p?void 0:p.regexFormat)&&(0,r.jsxs)(r.Fragment,{children:[(null==p?void 0:p.additionalValueDescription)&&(0,r.jsx)(ew,{children:(0,r.jsx)(m.ZT$,{variant:"body1",children:null==p?void 0:p.additionalValueDescription})}),(0,r.jsx)(m.FkM,{id:"additional-input",value:j,label:null==p?void 0:p.additionalValueTitle,placeholder:null==p?void 0:p.additionalValuePlaceholder,onChange:e=>{var t,n;let a=e.currentTarget.value;y(a);let i=null===(t=p.getTextValueToInsert)||void 0===t?void 0:t.call(p,a),r=eM(null==p?void 0:p.regexKeyword,a);B({value:null==p?void 0:p.name,fullValue:r,textValue:i,isValid:null==p?void 0:null===(n=p.regexFormat)||void 0===n?void 0:n.test(null!=i?i:r),isAdditonalValueEmptyButRequired:(null==p?void 0:p.isAdditionalValueRequired)&&0===a.length||!1})},error:b,errorMessage:null==p?void 0:p.additionalValueError,required:!!(null==p?void 0:p.requiredText),requiredText:null==p?void 0:p.requiredText,disableSentenceCase:!0}),!!(null==p?void 0:p.additionalValueMaxLength)&&(0,r.jsxs)(eB,{children:[j.length,"/",null==p?void 0:p.additionalValueMaxLength]})]})]}),(0,r.jsxs)(eb,{children:[(0,r.jsx)(m.w19,{onClick:()=>{var e,t;if(!c){a(!1);return}if(!(null==c?void 0:c.isValid)||(null==c?void 0:c.isAdditonalValueEmptyButRequired)){k(!0);return}let n=c.textValue||{value:c.value,fullValue:c.fullValue};null===(e=i.current)||void 0===e||e.onFieldInsert(n),null===(t=i.current)||void 0===t||t.onClose()},disabled:!c||b,text:o("template-designer.specialFields.save")}),(0,r.jsx)(m.kqC,{onClick:()=>{var e;null===(e=i.current)||void 0===e||e.onClose()},text:o("template-designer.specialFields.cancel")})]})]})})})},eA=[{name:"url",label:"Activation URL",value:"url",useAdditionalInput:!1,format:e=>"{url}"},{name:"Consent",label:"Consent",value:"content",useAdditionalInput:!1,format:e=>"{content}"},{name:"Consenttrackingallow",label:"Consent tracking allow",value:"consenttrackingallow",useAdditionalInput:!1,format:e=>"{consenttrackingallow}"},{name:"Consenttrackingdeny",label:"Consent tracking deny",value:"consenttrackingdeny",useAdditionalInput:!1,format:e=>"{consenttrackingdeny}"},{name:"Contactprofile",label:"Contact profile",value:"contactprofile",useAdditionalInput:!1,format:e=>"{contactprofile}"},{name:"Custom",label:"Custom",value:"custom",useAdditionalInput:!0,format:e=>"".concat(e)},{name:"Unsubscribe",label:"Unsubscribe",value:"unsubscribe",useAdditionalInput:!1,format:e=>"{unsubscribe}"},{name:"Unsubscribelist",label:"Unsubscribe list (mailing preferences)",value:"unsubscribelist",useAdditionalInput:!1,format:e=>"{unsubscribelist}"},{name:"Unsubscribefromlist",label:"Unsubscribe from list",value:"unsubscribefromlist",useAdditionalInput:!1,format:e=>"{unsubscribefromlist}"},{name:"View",label:"View online",value:"view",useAdditionalInput:!1,format:e=>"{view}"}];var eC=n(82957).Buffer;function eN(e){let{templateName:t,editorMetaData:n}=e,a=(0,h.T)(),i=(0,o.useRouter)(),{isMobile:l}
1=(0,j.d)(),[k,w]=(0,s.useState)(!1),[v,B]=(0,s.useState)(null),[R,E]=(0,s.useState)(),[L,F]=(0,s.useState)(),{saveTemplate:M,files:S,addSelectedFile:A,updateSelectedFiles:C}=N(),P=er(),I=ex({}),[D,O]=(0,s.useState)(!1),[G,_]=(0,s.useState)({isOpen:!1}),W=(0,s.useRef)(null),[V,z]=(0,s.useState)({isOpen:!1,isBusy:!1,message:""});(0,s.useEffect)(()=>{d().load({google:{families:["Nunito:400,600,700","Mulish","sans-serif"]}})},[]);let U=()=>{F(e=>(null!=e?e:0)+1),O(!0)},K=e=>{e||z({isOpen:!1,isBusy:!1,message:""})},H=async(e,t)=>{var n,i;if(!v){console.error("No data to save");return}w(!1),z({isOpen:!0,isBusy:!0,message:a("template-designer.savingTemplate")});let r=null==t?void 0:null===(n=t.GeneralInfo)||void 0===n?void 0:n.PublicAccountID,{templateName:s,errorMessage:o}=await M(e,v,r);if(o){z({isOpen:!0,isBusy:!1,message:a("template-designer.savingTemplateError")});return}(0,f.b)("websitetemplate",s,600),(0,f.b)("websiteapikey",e,120),(0,f.b)("websiteproducttype",null==t?void 0:null===(i=t.GeneralInfo)||void 0===i?void 0:i.ProductType,120),K(),window.location.replace(g.Su.AppUrl)},Z=e=>{_({isOpen:e})},q=()=>(U(),!0);return(0,s.useEffect)(()=>{if(n)try{var e;let t=JSON.parse(eC.from(n,"base64").toString("utf8")),a=null==t?void 0:null===(e=t.data)||void 0===e?void 0:e.contentJson;if(!a)return;E(a)}catch(e){E(void 0)}},[n]),(0,r.jsxs)(c.Z,{theme:m.Q2A,children:[(0,r.jsx)(y.SendGTMContentGroup,{contentGroup:b.j.PRODUCTS}),(0,r.jsxs)(eg,{children:[(0,r.jsx)(u.u,{events:{onSave:(e,t,n)=>{B(e),(t||D)&&(w(!0),O(!1))},onTemplatePreview:U,onBrandColorAddTrigger:q,onAiTemplateDesignerOpen:q,onModuleAddLocked:q,onFileUpload:(e,t)=>{let n=new FileReader;n.onloadend=()=>{A(e,n.result,t)},n.readAsDataURL(e)},onEditorFilesUpdate:C,onMediaManagerOpen:(e,t)=>{let n=document.createElement("input");n.type="file",n.accept=t?"*":"image/gif, image/png, image/jpeg",n.onchange=()=>{var a;let i=null===(a=n.files)||void 0===a?void 0:a[0];if(!i)return;let r=new FileReader;r.onloadend=()=>{A(i,r.result,e,t)},r.readAsDataURL(i)},n.click()},onShowSpecialFields:e=>{W.current=e,Z(!0)},onHideSpecialFields:()=>{Z(!1)},onBreadcrumbClick:()=>{i.push("/email-templates")}
1},autosaveOptions:{delay:500,counter:L},media:{files:{filesList:S.map(e=>({...e,file:null})),isFileUploading:!1}},isAiTemplateDesigner:!0,template:{isNameChangeDisabled:!0,name:t,status:k?u.mr.SAVING:u.mr.DEFAULT,content:R},headerOptions:[],navigation:{breadcrumbText:a("template-designer.backToPage"),customSaveButtonText:a("template-designer.signupToSave")},specialFieldsOptions:I.editorOptions,displayOptions:{popupsMinimalZIndex:10},linkToOptions:{mergeFields:eA},modules:{savedLocked:!0,savedLimit:0,savedList:[],savedUpgradeable:!0,savedLockedInfoComponent:(0,r.jsx)(T,{onClick:U}),prebuiltList:P},colorPickerOptions:{recentColors:[],brandColors:[]}}),(0,r.jsx)(x.T,{isOpen:k,isMobile:l,onOpenChange:e=>{w(e)},googleApiKey:"281870035495-nis608icqjvg33llpvd4lp95gg917367.apps.googleusercontent.com",recaptchaKey:"6Lf3IZ8pAAAAALxhSnjcOodrJT8k_Fu1psKwGiq_",apiBaseUrl:"https://api.smtprelay.co",apiTokenResponseHeader:"x-elasticemail-accesstoken",onAuthSuccess:H,productCode:p.G.Marketing}),(0,r.jsx)(eu,{isOpen:V.isOpen,onOpenChange:K,isBusy:V.isBusy,message:V.message}),G.isOpen&&(0,r.jsx)(eS,{onOpenChange:Z,specialFieldsInfoRef:W})]})]})}},56526:function(e,t,n){var a,i;n.d(t,{j:function(){return a}}),(i=a||(a={})).HOMEPAGE="homepage",i.PRODUCTS="products",i.PRICING="pricing",i.LANDING_PAGES="landing-pages",i.REGIONAL_LANDING_PAGES="regional-landing-pages",i.IFRAME="iframe",i.PRICING_MODULES="pricing-modules",i.BLOG="blog",i.RESOURCES="resources",i.OTHERS="others",i.INDUSTRY="industry",i.SELECT_PRODUCT="select-product",i.FEATURES="features",i.EBOOK_SIGNUP="ebook_signup",i.INBOX="inbox",i.ALTERNATIVE="alternative",i.TRANSACTIONAL_EMAIL_FOR_DEVELOPERS="transactional-email-for-developers",i.ABOUT="about",i.DEDICATED_SUPPORT="dedicated-support",i.DMARC="dmarc",i.PARTNERSHIP="partnership",i.REFERRAL_PROGRAM="referral-program",i.CAREERS="careers",i.UPGRADE="upgrade"}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.