1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5599],{2951:function(e,i,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/waitlist/partners",function(){return t(72617)}])},54005:function(e,i,t){"use strict";t.d(i,{D4:function(){return f},Kc:function(){return d},ip:function(){return g},uZ:function(){return u}});var a=t(10906),n=t(92642),s=t(70314),r=t.n(s),o=t(41929),l=t(54852);let{publicRuntimeConfig:c}=r()(),{publicApiFqdn:m}=c,u=async(e,i,t)=>{let s=await (0,l.p)(),r=[e.personal?"personal":null,e.joint?"joint":null,e.child?"child":null,e.business?"business":null].filter(Boolean);try{return await (0,a.XD)(()=>{var a;return fetch("https://".concat(m,"/signup-country-waitlist/join-with-confirmation"),{method:"POST",body:JSON.stringify({email:e.email,selected_products:r,company_type:null!==(a=e.company_type)&&void 0!==a?a:null,country_code:e.country_code,source:"web",utm_params:i,referral_code:e.referral_code}),headers:{Authorization:"Bearer ".concat(s),"Monzo-Pre-Signup-Current-Language":t}})},o.C9)}catch(e){throw n.Tb(e),e}},d=async(e,i,t,s)=>{let r=await (0,l.p)();try{return await (0,a.XD)(()=>fetch("https://".concat(m,"/signup-country-waitlist/join-with-confirmation"),{method:"POST",body:JSON.stringify({email:e.email,selected_products:["personal"],country_code:"ESP",source:"web",referral_code:null,click_id:i,utm_params:t}),headers:{Authorization:"Bearer ".concat(r),"Monzo-Pre-Signup-Current-Language":s}}),o.C9)}catch(e){throw n.Tb(e),e}},f=async(e,i)=>{let t=await (0,l.p)();try{return await (0,a.XD)(()=>fetch("https://".concat(m,"/signup-country-waitlist/confirm"),{method:"POST",body:JSON.stringify({code:e}),headers:{Authorization:"Bearer ".concat(t),"Monzo-Pre-Signup-Current-Language":i}}),o.C9)}catch(e){throw n.Tb(e),e}},g=async(e,i)=>{let t=await (0,l.p)();try{let n=await (0,a.XD)(()=>fetch("https://".concat(m,"/signup-country-waitlist/leave-by-code"),{method:"POST",body:JSON.stringify({code:e,user_id:i}),headers:{Authorization:"Bearer ".concat(t)}}),o.C9);if(200===n.status)return n.json();throw Error("Failed to leave waitlist")}catch(e){throw n.Tb(e),e}}},79592:function(e,i,t){"use strict";t.d(i,{r:function(){return m}});var a=t(52322),n=t(12524),s=t.n(n),r=t(54773),o=t(56649),l=t(94288),c=t.n(l);function m(e){let{className:i}=e,t=(0,r.FU)(),n=t.string({key:"app_monzo_com.waitlist.risk_rating.title",message:"Risk indicator for all Monzo accounts"}),l=t.string({key:"app_monzo_com.waitlist.risk_rating.description",message:"This number is indicative of the risk of the product, 1/6 being indicative of lower risk and 6/6 of higher risk."}),m=t.string({key:"app_monzo_com.waitlist.risk_rating.disclaimer",message:"Monzo is a member of the Irish Deposit Guarantee Scheme. The scheme guarantees deposits up to â¬100,000 per account holder at Monzo."});return(0,a.jsx)("div",{className:s()("monzo-com-design-system",c().riskRating,i),children:(0,a.jsx)(o.Q4M,{description:l,disclaimer:m,maxRating:6,rating:1,title:n})})}},72617:function(e,i,t){"use strict";t.r(i),t.d(i,{__N_SSP:function(){return I},default:function(){return Z}});var a=t(52322),n=t(82876),s=t(2784),r=t(63955),o=t(54773),l=t(65481),c=t(65525),m=t(23456),u=t(73738),d=t(7922),f=t(31120),g=t(62900),p=t(58402),_=t(94288),h=t.n(_),y=t(79592),w=t(12524),b=t.n(w),k=t(2099),v=t(36998),N=t.n(v),x=t(73956),S=t(26858),j=t(8546),z=t.n(j);function P(e){let{locale:i,currentStep:t,riskRating:n}=e,s=(0,o.FU)(),{register:l,watch:c,formState:{errors:m}}=(0,r.Gc)(),u=!!c("email")&&!m.email,d="Submitting"===t,f="es"===i.language.i18nName?"/es/legal/declaracion-de-privacidad":"/".concat(i.language.i18nName,"/legal/privacy-notice/"),g=s.string({key:"app_monzo_com.waitlist.affiliates.form_title",message:"You're almost in for early access"}),p=s.string({key:"app_monzo_com.waitlist.affiliates.form_blurb",message:"Secure your spot, sign up now for a Monzo personal bank account and get â¬25 when you make your first card payment"}),_=s.string({key:"app_monzo_com.waitlist.affiliates.form_blurb_smallprint",message:"Only the first 250 people to sign through this page can skip the queue. The â¬25 is limited to the first 20,000 people to spend on their card."}),y=s.string({key:"app_monzo_com.waitlist.info_form.legend",message:"Personal information"}),w=s.string({key:"app_monzo_com.waitlist.info_form.email_label",message:"Email address"}
1),v=s.string({key:"app_monzo_com.waitlist.info_form.invalid_email_message",message:"You must enter a valid email address"}),j=s.string({key:"app_monzo_com.waitlist.info_form.submit",message:"Continue"}),P=s.string({key:"app_monzo_com.waitlist.affiliates.terms",message:"[Terms and conditions]({{ terms_url }}) and [eligibility criteria]({{ eligibility_url }}) apply. We secure your data in line with our [privacy notice]({{ privacy_notice_url }}).",variables:{terms_url:"#",eligibility_url:"#",privacy_notice_url:f}}),C=s.string({key:"app_monzo_com.waitlist.affiliates.terms_consent",message:"By registering your interest, you are giving us permission to contact you about our products and services developing in your country and send information about how you can help shape them."}),T=s.string({key:"app_monzo_com.waitlist.affiliates.error_generic",message:"There was an unknown error submitting your details. Try again later."}),E=s.string({key:"app_monzo_com.waitlist.affiliates.error_missing_code",message:"This link is missing its code. Please use the original link."}),A="MissingClickId"===t?E:"SubmitErr"===t?T:null;return(0,a.jsxs)("fieldset",{className:b()(h().fieldset,z().fieldsetWide),children:[(0,a.jsx)("legend",{className:h().visuallyHidden,children:y}),(0,a.jsxs)("div",{className:z().leadColumn,children:[(0,a.jsx)("h2",{className:z().title,children:g}),(0,a.jsx)(k.m,{markdown:p}),(0,a.jsx)("p",{className:z().smallPrint,children:_})]}),(0,a.jsx)("ol",{className:b()(h().formList,N().vSpacing20),children:(0,a.jsx)("li",{children:(0,a.jsx)(S.o,{label:w,"aria-required":!0,autoComplete:"email",type:"email",disabled:d,error:!!m.email&&v,...l("email")})})}),(0,a.jsx)(x.z,{as:"button",type:"submit",disabled:!u||d,className:h().submitButton,children:j}),A&&(0,a.jsx)("div",{className:h().inlineErrorContainer,children:(0,a.jsx)("p",{className:h().errorMessage,role:"alert",children:A})}),n,(0,a.jsxs)("div",{className:h().caption,children:[(0,a.jsx)(k.m,{markdown:P}),(0,a.jsx)(k.m,{markdown:C})]})]})}var C=t(79130),T=t.n(C),E=t(5632),A=t(73185),M=t.n(A);let O=T().bind(M());function W(e){let{isVisible:i}=e,t=(0,E.useRouter)(),n=(0,o.FU)(),r=(0,l.xBA)(l.i5Z.all),{pageLocale:c,regionGroup:m}=r,u=(0,s.useMemo)(()=>m.getAllLocales().filter(e=>"ESP"===e.region.alpha3),[m]),d=e=>"es"===e?n.string({key:"app_monzo_com.waitlist.affiliates.language_es",message:"Espa\xf1ol"}):n.string({key:"app_monzo_com.waitlist.affiliates.language_en",message:"English"}),f=async e=>{let i=e.target.value,a=m.getLocaleOrNullByI18nName(i);a&&(r.saveLocale(a.language.localeCode),await t.push({pathname:"/waitlist/partners",query:t.query},void 0,{locale:i}))};return(0,a.jsx)("form",{className:O(M().form,{invisible:!i}),children:(0,a.jsx)(l.V8F,{className:M().selectMenu,label:"Language","aria-details":"Confirm selected language (page will navigate after selecting a language)",selectProps:{defaultValue:c.language.i18nName,name:"i18nName",onChange:f},children:u.map(e=>{let{language:i,region:t}=e;return(0,a.jsx)("option",{value:i.i18nName,children:"".concat(t.flag," ").concat(d(i.languageCode))},i.i18nName)})})})}var B=t(36249),L=t(54005),R=t(34999);let D=t(78677).U.pick({email:!0}),F="WaitlistAffiliates",U="AffiliateWaitlist",V=e=>{let{clickId:i,locale:t}=e,{cookies:a}=(0,l.fPX)(),{utmParams:n}=a||{},{sendEvent:o}=(0,R.U)(),[c,m]=(0,s.useState)("Editing"),u=(0,r.cI)({resolver:(0,B.r)(D),mode:"onChange",defaultValues:{email:""}}),d=e=>{m(e),o({eventName:"formSubmitErr",type:"error",eventParameters:{funnelName:F,formName:U}})};return{methods:u,currentStep:c,onSubmit:async e=>{if(!i){d("MissingClickId");return}m("Submitting"),o({eventName:"formSubmitted",type:"action",eventParameters:{funnelName:F,formName:U}}),o({eventName:"web_signup_country_waitlist_opt_in_pending",type:"click",eventParameters:{}});try{let a=Object.fromEntries(new URLSearchParams(n).entries());if(!(await (0,L.Kc)(e,i,a,t.language.localeCode)).ok){d("SubmitErr");return}m("SubmitOk"),o({eventName:"formSubmitOk",type:"action",eventParameters:{funnelName:F,formName:U}}),o({eventName:"funnelCompleted",type:"view",eventParameters:{funnelName:F}})}catch(e){d("SubmitErr")}}}},X=e=>{let{locale:i}
1=e,t=(0,o.FU)(),_=(0,n.useSearchParams)().get("irclickid"),{languageCode:w,localeCode:b}=i.language,{sendEvent:k,sendEvents:v,facebookInitialised:N}=(0,f.Z)(),x=(0,s.useRef)(!1),{methods:S,currentStep:j,onSubmit:z}=V({clickId:_,locale:i}),C="SubmitOk"!==j;(0,s.useEffect)(()=>{k({eventName:"WebWaitlistViewed",eventParameters:{}})},[k]),(0,s.useEffect)(()=>{window.scrollTo({top:0,behavior:"smooth"})},[j]),(0,s.useEffect)(()=>{N&&!x.current&&(x.current=!0,v([{partner:d.kT.Facebook,eventName:"WebWaitlistViewed",eventParameters:{}}]))},[N,v]);let T=t.string({key:"app_monzo_com.waitlist.affiliates.page_title",message:"Join the Monzo Spain waitlist"}),E=t.string({key:"app_monzo_com.waitlist.affiliates.og_title",message:"You've been invited to the early access waitlist for Monzo in Spain"}),A=t.string({key:"app_monzo_com.waitlist.affiliates.meta_description",message:"Be one of the first to try Monzo in Spain and earn â¬25 when you first pay with your card."}),M=t.string({key:"app_monzo_com.waitlist.affiliates.success_message",message:"An email's on its way.<br>Open it up and secure<br>a spot."});return(0,a.jsxs)(p.Z,{dynamicText:e.dynamicText,experiments:e.experiments,featureGates:e.featureGates,initialAnonID:e.anonID,children:[(0,a.jsx)(u.Z,{pageTitle:"Monzo | ".concat(T),ogTitle:E,description:A,ogDescription:A,noindex:!0,twitter:"@monzo",ogimage:"/images/waitlist/social-".concat(w,".png")}),(0,a.jsxs)("main",{style:{background:"#fff"},children:[(0,a.jsx)("h1",{className:h().visuallyHidden,children:T}),(0,a.jsxs)(g.q,{header:(0,a.jsx)(W,{isVisible:C}),dialogMarkdown:M,showDialog:"SubmitOk"===j,footerComponent:(0,a.jsx)(m.P,{...(0,c.sg)(l.yZ9.PERSONAL,b)}),children:[(0,a.jsx)(y.r,{className:h().desktopRiskRating}),(0,a.jsx)(r.RV,{...S,children:(0,a.jsx)("form",{className:h().fillContentArea,onSubmit:S.handleSubmit(z),children:(0,a.jsx)(P,{locale:i,currentStep:j,riskRating:(0,a.jsx)(y.r,{className:h().mobileRiskRating})})})})]})]})]})};X.analytics={name:"waitlist-affiliates"};var I=!0,Z=X},8546:function(e){e.exports={fieldsetWide:"AffiliateWaitlistForm_fieldsetWide__W85is",leadColumn:"AffiliateWaitlistForm_leadColumn__VHcY2",title:"AffiliateWaitlistForm_title__6doDO",smallPrint:"AffiliateWaitlistForm_smallPrint___mwXu"}},73185:function(e){e.exports={form:"AffiliateWaitlistLocaleBanner_form__k3xnA",selectMenu:"AffiliateWaitlistLocaleBanner_selectMenu__2mUlA",invisible:"AffiliateWaitlistLocaleBanner_invisible__KS5Bt"}}},function(e){e.O(0,[9506,3955,8402,3456,8156,2888,9774,179],function(){return e(e.s=2951)}),_N_E=e.O()}]);
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.