1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[495,5115,5281],{65115:function(e,r,t){"use strict";t.r(r),t.d(r,{ReactComponent:function(){return i}});var n,a=t(2784),o=["title","titleId"];function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(null,arguments)}var i=(0,a.forwardRef)(function(e,r){var t=e.title,i=e.titleId,l=function(e,r){if(null==e)return{};var t,n,a=function(e,r){if(null==e)return{};var t={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(r.includes(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)t=o[n],r.includes(t)||({}).propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}(e,o);return a.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20",ref:r,"aria-labelledby":i},l),t?a.createElement("title",{id:i},t):null,n||(n=a.createElement("path",{fill:"#000",d:"M1.187 9.26a.645.645 0 0 0 0 .907l7.072 7.072c.25.25.66.25.908 0a.645.645 0 0 0 0-.908l-5.975-5.975h15.165c.354 0 .643-.29.643-.643a.645.645 0 0 0-.643-.643H3.192l5.975-5.975a.645.645 0 0 0 0-.908.645.645 0 0 0-.908 0L1.187 9.259Z"})))});r.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDIwIDIwIj4KICA8cGF0aCBmaWxsPSIjMDAwIiBkPSJNMS4xODcgOS4yNmEuNjQ1LjY0NSAwIDAgMCAwIC45MDdsNy4wNzIgNy4wNzJjLjI1LjI1LjY2LjI1LjkwOCAwYS42NDUuNjQ1IDAgMCAwIDAtLjkwOGwtNS45NzUtNS45NzVoMTUuMTY1Yy4zNTQgMCAuNjQzLS4yOS42NDMtLjY0M2EuNjQ1LjY0NSAwIDAgMC0uNjQzLS42NDNIMy4xOTJsNS45NzUtNS45NzVhLjY0NS42NDUgMCAwIDAgMC0uOTA4LjY0NS42NDUgMCAwIDAtLjkwOCAwTDEuMTg3IDkuMjU5WiIvPgo8L3N2Zz4K"},35281:function(e,r,t){"use strict";t.r(r),t.d(r,{ReactComponent:function(){return i}});var n,a=t(2784),o=["title","titleId"];function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(null,arguments)}var i=(0,a.forwardRef)(function(e,r){var t=e.title,i=e.titleId,l=function(e,r){if(null==e)return{};var t,n,a=function(e,r){if(null==e)return{};var t={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(r.includes(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)t=o[n],r.includes(t)||({}).propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}(e,o);return a.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",ref:r,"aria-labelledby":i},l),t?a.createElement("title",{id:i},t):null,n||(n=a.createElement("path",{fill:"#000",d:"M18.813 10.167a.645.645 0 0 0 0-.908l-7.072-7.072a.645.645 0 0 0-.908 0 .645.645 0 0 0 0 .908l5.975 5.975H1.643A.645.645 0 0 0 1 9.713c0 .354.29.643.643.643h15.165l-5.975 5.975a.645.645 0 0 0 0 .908c.249.25.659.25.908 0l7.072-7.072Z"})))});r.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyMCAyMCI+CiAgPHBhdGggZmlsbD0iIzAwMCIgZD0iTTE4LjgxMyAxMC4xNjdhLjY0NS42NDUgMCAwIDAgMC0uOTA4bC03LjA3Mi03LjA3MmEuNjQ1LjY0NSAwIDAgMC0uOTA4IDAgLjY0NS42NDUgMCAwIDAgMCAuOTA4bDUuOTc1IDUuOTc1SDEuNjQzQS42NDUuNjQ1IDAgMCAwIDEgOS43MTNjMCAuMzU0LjI5LjY0My42NDMuNjQzaDE1LjE2NWwtNS45NzUgNS45NzVhLjY0NS42NDUgMCAwIDAgMCAuOTA4Yy4yNDkuMjUuNjU5LjI1LjkwOCAwbDcuMDcyLTcuMDcyWiIvPgo8L3N2Zz4="},90381:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/register",function(){return t(57429)}])},97213:function(e,r,t){"use strict";t.d(r,{X:function(){return i}});var n=t(52322),a=t(2784),o=t(61526),s=t.n(o);let i=(0,a.forwardRef)((e,r)=>{var t,o;let[i,l]=(0,a.useState)(e.checked),d=r=>{e.controlled||l(r.target.checked),e.onChange&&e.onChange(r)},c=r=>{e.onClick&&e.onClick(r)};return(0,n.jsxs)("div",{className:"checkbox ".concat(e.centered?s().containerCentered:s().container," ").concat(e.giftaidOffset?s().containerGiftAid:""),children:[(0,n.jsx)("input",{className:s().checkboxInput,type:"checkbox",ref:r,id:null!==(t=e.id)&&void 0!==t?t:e.name,name:e.name,disabled:e.disabled,onChange:d,onClick:c,checked:i}),(0,n.jsx)("label",{htmlFor:null!==(o=e.id)&&void 0!==o?o:e.name,children:e.label})]})})},70847:function(e,r,t){"use strict";t.d(r,{u:function(){return u}});var n=t(52322),a=t(2784),o=t(11264),s=t(28303),i=t(37149),l=t.n(i),d=t(76255),c=t.n(d);let u=(0,a.forwardRef)(function(e,r){let[t,i]=(0,a.useState)(!1);(0,a.useImperativeHandle)(r,()=>({open(){(null==r?void 0:r.current)&&i(!0)},close(){(null==r?void 0:r.current)&&(e.onClose&&e.onClose(),i(!1))},isOpen:()=>t}));let d=()=>{e.onClose&&e.onClose(),i(!1)},u=()=>{document.body.classList.add("modal-open")},g=()=>{document.body.classList.remove("modal-open")};return t?(0,n.jsxs)(l(),{isOpen:t,onRequestClose:d,style:m,bodyOpenClassName:"modal-open",onAfterOpen:u,onAfterClose:g,overlayClassName:c().modalOverlay,className:"".concat(c().modalContent," ").concat(e.isCalendar?c().modalContentCalendar:""," ").concat(e.isAutoWidth?c().modalContentAutoWidth:""),closeTimeoutMS:300,preventScroll:!0,
1children:[e.header?(0,n.jsxs)("div",{className:"".concat(c().modalHeader," ").concat(e.headerBorder?c().modalHeaderBorder:""),children:[!e.disableClose&&(0,n.jsx)("div",{className:c().modalClose,children:(0,n.jsx)(o.z,{type:"icon",iconLeft:(0,n.jsx)(s.J,{icon:"Close"}),title:"Close",onClick:d})}),e.header]}):null,(0,n.jsx)("div",{className:"".concat(c().modalBody," ").concat(e.isCalendar?c().modalBodyCalendar:""),style:{height:e.isMobileFilter?"calc(100dvh - 140px)":"auto"},children:e.children}),e.footer?(0,n.jsx)("div",{className:"".concat(c().modalFooter," ").concat(e.footerBorder?c().modalFooterBorder:""),children:e.footer}):null]}):null}),m={overlay:{backgroundColor:"#0000004d",display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",zIndex:1e3},content:{display:"flex",flexDirection:"column",inset:0,position:"relative",borderRadius:"24px",padding:"32px 32px 48px 32px",width:"100%",maxWidth:"805px",maxHeight:"85vh",backgroundColor:"#fff",boxShadow:"0px 0px 80px 0px #0000000f",border:"none"}}},67118:function(e,r,t){"use strict";t.d(r,{t:function(){return i}});var n=t(52322),a=t(2784),o=t(23569),s=t.n(o);let i=e=>{let{steps:r,numSteps:t,currentStep:o,showLabels:i}=e;if(void 0===r&&void 0===t)return;let l=(0,a.useRef)(null),d=(0,a.useRef)(!0);return(0,a.useEffect)(()=>{if(d.current)d.current=!1;else if(l.current){var e;let r=null===(e=l.current)||void 0===e?void 0:e.getBoundingClientRect();void 0!==r&&window.scrollTo({left:0,top:r.top+window.scrollY-100,behavior:"smooth"})}},[o]),(0,n.jsx)("div",{ref:l,className:"".concat(s().wrapper," ").concat(i?s().showLabels:""),children:(0,n.jsx)("div",{className:s().container,children:(()=>{let e=[];
1if(void 0!==r)e=r.map((e,r)=>(0,n.jsxs)("div",{className:"".concat(s().step," ").concat(o>r+1?s().stepComplete:o===r+1?s().stepActive:s().stepDefault),children:[(0,n.jsx)("div",{className:s().stepPip}),i&&(0,n.jsx)("span",{className:s().stepLabel,children:e})]},"progress-step_".concat(r)));else if(void 0!==t)for(let r=1;r<t+1;r++)e.push((0,n.jsx)("div",{className:"".concat(s().step," ").concat(o>r?s().stepComplete:o===r?s().stepActive:s().stepDefault),children:(0,n.jsx)("div",{className:s().stepPip})}));return e})()})})}},54607:function(e,r,t){"use strict";t.d(r,{i:function(){return s}});var n=t(52322),a=t(77789),o=t.n(a);let s=e=>(0,n.jsxs)("div",{className:"".concat(o().backgroundBox," ").concat(i(e.color)," ").concat(e.compact?o().backgroundBoxCompact:""," ").concat(e.mobileRounded?o().mobileRounded:""," ").concat(e.mobileStretch?o().mobileStretch:""," ").concat(e.smallCorners?o().smallCorners:""," ").concat(e.fullHeight?o().fullHeight:""),children:[(0,n.jsx)("div",{className:o().backgroundBoxImage,style:e.backgroundImage?{backgroundImage:"url(".concat("/tickets").concat(e.backgroundImage,")")}:{}}),(0,n.jsx)("div",{className:o().backgroundBoxContent,children:e.children})]}),i=e=>{switch(e){case"primary":return o().backgroundBoxPrimary;case"secondary":return o().backgroundBoxSecondary;case"tertiary":return o().backgroundBoxTertiary;case"grey":return o().backgroundBoxGrey;case"warning":return o().backgroundBoxWarning;case"info":return o().backgroundBoxInfo;default:return null}}},67725:function(e,r,t){"use strict";t.d(r,{C:function(){return i}});var n=t(52322),a=t(34306),o=t.n(a),s=t(240);let i=e=>{let{sidebarContent:r,pageContent:t,compact:a}=e,i=(0,s.u)();return(0,n.jsx)("div",{className:"".concat(o().pageLayout," ").concat(a?o().pageLayoutCompact:""),children:(0,n.jsx)("div",{className:"o-container",children:(0,n.jsxs)("div",{className:o().pageLayoutContainer,children:[r&&(0,n.jsx)("div",{className:"".concat(o().pageLayoutSidebar," ").concat(i?o().pageLayoutSidebarRounded:""),children:r}),t&&(0,n.jsx)("div",{className:o().pageLayoutContent,children:t})]})})})}},57429:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return S}});var n=t(52322),a=t(63955),o=t(70847),s=t(35623),i=t(2784),l=t(54607),d=t(11264),c=t(97213),u=t(62661),m=t(28303),g=t(65115),p=t(35281),h=t(46148),x=t(22617),f=t(61825),y=t(62222),b=t(67118),j=t(80701),v=t(67725),_=t(57869),w=t(15219),C=t(77789),N=t.n(C),k=t(72323),A=t.n(k),I=t(9820),L=t(94676),M=t(5632);function S(){let e=(0,i.useRef)(null),[r,t]=(0,s.Jht)(),[C,k]=(0,s.BCh)(),S=(0,L.s)(),B=(0,M.useRouter)(),P=B.query,{control:D,handleSubmit:O,setError:E,setFocus:z,watch:T,getFieldState:R,formState:{errors:Q}}=(0,a.cI)({mode:"onTouched",reValidateMode:"onBlur",defaultValues:{firstName:"",lastName:"",emailAddress:"",password:"",confirmPassword:"",addressLine1:"",city:"",country:"",postcode:"",phoneNumber:"",newsletter1:!1,newsletter2:!1,newsletter3:!1}});T("firstName",""),T("lastName",""),T("emailAddress","");let W=T("password","");T("confirmPassword","");let H=R("firstName"),F=R("lastName"),U=R("emailAddress"),Y=R("password"),G=R("confirmPassword"),Z=H.isDirty&&!H.invalid&&F.isDirty&&!F.invalid&&U.isDirty&&!U.invalid&&Y.isDirty&&!Y.invalid&&G.isDirty&&!G.invalid;T("country",""),T("postcode",""),T("phoneNumber","");let q=R("country"),J=R("postcode"),X=R("phoneNumber"),V=q.isDirty&&!q.invalid&&J.isDirty&&!J.invalid;X.isDirty&&(V=V&&!X.invalid);let[K,$]=(0,i.useState)(1),[ee,er]=(0,i.useState)(!1),[et,en]=(0,i.useState)(!1),[ea,eo]=(0,i.useState)(""),es=e=>{if(!t.isLoading&&!k.isLoading){en(!1);let t={forename:e.firstName,surname:e.lastName,email:e.emailAddress,password:e.password,confirmPassword:e.confirmPassword,address1:e.addressLine1,city:e.city,country:e.country,postcode:e.postcode,mobile:e.phoneNumber,thirdPartyMailingPermission:e.newsletter2,organisationMailingPermission:e.newsletter1,additionalMailingPermission:e.newsletter3};r({entity:t}).then(r=>{if(r){var t,n;(null===(t=r.data)||void 0===t?void 0:null===(n=t.registerCustomer)||void 0===n?void 0:n.success)?(eo(e.emailAddress),ei(),(0,I.A)("user_register")):C({email:e.emailAddress}).then(e=>{var r,t;(null===(r=e.data)||void 0===r?void 0:null===(t=r.sendPasswordResetEmail)||void 0===t?void 0:t.success)&&en(!0),$(1),er(!0)})}})}},ei=()=>{var r;null===(r=e.current)||void 0===r||r.open()},el=()=>{$(K+1)}
1,ed={height:0,opacity:0,overflow:"hidden",visibility:"hidden",pointerEvents:"none"};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(y.h,{title:"Create an account"}),(0,n.jsx)(v.C,{sidebarContent:(0,n.jsx)(l.i,{color:"secondary",backgroundImage:"/assets/static/images/backgrounds/theatre-crowd.jpg",children:(0,n.jsxs)(w.b,{gap:"large",children:[(0,n.jsx)("div",{children:(0,n.jsxs)(w.b,{gap:"medium",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h1",{className:A().hero,children:"Create an account"}),(0,n.jsx)("p",{children:"Join thousands of Fringe enthusiasts and get access to exclusive features."})]}),(0,n.jsxs)(w.b,{gap:"tiny",className:N().iconList,children:[(0,n.jsxs)(u.r,{gap:"small",align:"center",children:[(0,n.jsx)(m.J,{icon:"Ticket",color:"secondary",shade:"light"}),(0,n.jsx)("span",{style:{textAlign:"left"},children:"Buy tickets online"})]}),(0,n.jsxs)(u.r,{gap:"small",align:"center",children:[(0,n.jsx)(m.J,{icon:"Planner",color:"secondary",shade:"light"}),(0,n.jsx)("span",{style:{textAlign:"left"},children:"Keep track of all your shows and tickets"})]}),(0,n.jsxs)(u.r,{gap:"small",align:"center",children:[(0,n.jsx)(m.J,{icon:"Heart",color:"secondary",shade:"light"}),(0,n.jsx)("span",{style:{textAlign:"left"},children:"Favourite shows you're interested in"})]})]})]})}),(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{children:(0,n.jsx)("strong",{children:"Already have an account?"})}),(0,n.jsx)(d.z,{type:"outline",title:"Sign in",light:!0,href:"/login"})]})]})}),pageContent:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{style:{maxWidth:"432px",margin:"0 auto"},children:(0,n.jsxs)(w.b,{gap:"medium",children:[(0,n.jsx)(b.t,{numSteps:3,currentStep:K}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{style:1===K?{}:ed,children:(0,n.jsxs)(w.b,{gap:"large",children:[(0,n.jsx)("h2",{style:{textAlign:"center",margin:0},children:"Enter your details"}),ee&&(0,n.jsx)(x.v,{type:"error",text:(0,n.jsx)("div",{className:"o-rich-text",children:et?(0,n.jsxs)("p",{children:["It looks like you already have an account with us, we've sent you a password reset email, if you don't receive this please contact"," ",(0,n.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"}),"."]}):(0,n.jsxs)("p",{children:["We weren't able to create your account. Please check your details and try again, or"," ",(0,n.jsx)("a",{href:"/about-us/contact-us/",children:"contact us"})," ","for assistance."]})})}),(0,n.jsxs)(w.b,{gap:"medium",children:[(0,n.jsxs)(u.r,{gap:"tiny",children:[(0,n.jsx)(a.Qr,{control:D,name:"firstName",rules:{required:"Please enter your first name"},render:e=>{let{field:{onChange:r,onBlur:t,value:a,ref:o}}=e;return(0,n.jsx)(_.o,{id:"register_firstName",name:"firstName",label:"First name",type:"text",placeholder:"",ref:o,errorMessage:Q.firstName?Q.firstName.message:"",onBlur:t,onChange:r,isInError:!!Q.firstName,value:a})}}),(0,n.jsx)(a.Qr,{control:D,name:"lastName",rules:{required:"Please enter your last name"},render:e=>{let{field:{onChange:r,onBlur:t,value:a,ref:o}}=e;return(0,n.jsx)(_.o,{id:"register_lastName",name:"lastName",label:"Last name",type:"text",placeholder:"",ref:o,errorMessage:Q.lastName?Q.lastName.message:"",onBlur:t,onChange:r,isInError:!!Q.lastName,value:a})}})]}),(0,n.jsx)(a.Qr,{control:D,name:"emailAddress",rules:{required:"Please provide a valid email address",pattern:{value:/\S+@\S+\.\S+/,message:"Please provide a valid email address"}},render:e=>{let{field:{onChange:r,onBlur:t,value:a,ref:o}}=e;return(0,n.jsx)(_.o,{id:"register_emailAddress",name:"emailAddress",label:"Email address",value:a,placeholder:"",ref:o,errorMessage:Q.emailAddress?Q.emailAddress.message:"",onBlur:t,onChange:r,isInError:!!Q.emailAddress})}}),(0,n.jsxs)(w.b,{gap:"tiny",children:[(0,n.jsx)(a.Qr,{control:D,name:"password",rules:{required:"You must enter a valid password",minLength:{value:8,message:"The password must be at least 8 characters long"},pattern:{value:/^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z]).*$/,message:"Your password must include at least one number, one uppercase letter, one lowercase letter and be at least 8 characters long."}},render:e=>
1{let{field:{onChange:r,onBlur:t,value:a,ref:o}}=e;return(0,n.jsx)(_.o,{id:"register_password",name:"password",label:"Password",type:"password",placeholder:"",ref:o,errorMessage:Q.password?Q.password.message:"",onBlur:t,onChange:r,isInError:!!Q.password,value:a,showPasswordToggle:!0})}}),Y.isTouched&&Y.isDirty&&!Y.invalid&&void 0===Y.error?(0,n.jsx)(x.v,{type:"success",text:"Your password meets the security criteria"}):(0,n.jsx)(x.v,{type:"info",text:"Your password must include at least one number, one uppercase letter, one lowercase letter and be at least 8 characters long."})]}),(0,n.jsx)(a.Qr,{control:D,name:"confirmPassword",rules:{required:"You must confirm your password",validate:e=>{if(W!==e)return"The passwords do not match"}},render:e=>{let{field:{onChange:r,onBlur:t,value:a,ref:o}}=e;return(0,n.jsx)(_.o,{id:"register_confirmPassword",name:"confirmPassword",label:"Confirm Password",type:"password",placeholder:"",ref:o,errorMessage:Q.confirmPassword?Q.confirmPassword.message:"",onBlur:t,onChange:r,isInError:!!Q.confirmPassword,value:a,showPasswordToggle:!0})}})]}),(0,n.jsx)(d.z,{title:"Next step",onClick:el,type:"primary",iconRight:p.default,fullWidth:!0,disabled:!Z})]})}),(0,n.jsx)("div",{style:2===K?{}:ed,children:(0,n.jsxs)(w.b,{gap:"large",children:[(0,n.jsx)("h2",{style:{textAlign:"center",margin:0},children:"Enter your address"}),(0,n.jsxs)(w.b,{gap:"medium",children:[(0,n.jsx)(a.Qr,{control:D,name:"addressLine1",render:e=>{let{field:{onChange:r,onBlur:t,value:a,ref:o}}=e;return(0,n.jsx)(_.o,{id:"register_addressLine1",name:"addressLine1",label:"Address line 1",type:"text",placeholder:"",ref:o,errorMessage:Q.addressLine1?Q.addressLine1.message:"",onBlur:t,onChange:r,isInError:!!Q.addressLine1,value:a,hint:"(optional)"})}}),(0,n.jsxs)(u.r,{gap:"tiny",children:[(0,n.jsx)(a.Qr,{control:D,name:"city",render:e=>{let{field:{onChange:r,onBlur:t,value:a,ref:o}}=e;return(0,n.jsx)(_.o,{id:"register_city",name:"city",label:"City",type:"text",placeholder:"",ref:o,errorMessage:Q.city?Q.city.message:"",onBlur:t,onChange:r,isInError:!!Q.city,value:a,hint:"(optional)"})}}),(0,n.jsx)(a.Qr,{control:D,name:"postcode",rules:{required:"Please complete this required field."},render:e=>{let{field:{onChange:r,onBlur:t,value:a,ref:o}}=e;return(0,n.jsx)(_.o,{id:"register_postcode",name:"postcode",label:"Postcode",type:"text",placeholder:"",ref:o,errorMessage:Q.postcode?Q.postcode.message:"",onBlur:t,onChange:r,isInError:!!Q.postcode,value:a})}})]}),(0,n.jsxs)(w.b,{gap:"tiny",children:[(0,n.jsx)(a.Qr,{control:D,name:"country",rules:{required:"Please complete this required field."},render:e=>{let{field:{onChange:r,onBlur:t,value:a,ref:o}}=e;return(0,n.jsx)(j.P,{id:"register_country",name:"country",label:"Country",ref:o,options:S,errorMessage:Q.country?Q.country.message:"",onBlur:t,onChange:r,isInError:!!Q.country,value:a,defaultValue:""})}}),(0,n.jsx)(x.v,{type:"info",text:"We'll use your address to determine if you are eligible for Gift Aid if you decide to make a donation to the Fringe."})]}),(0,n.jsxs)(w.b,{gap:"tiny",children:[(0,n.jsx)(a.Qr,{control:D,name:"phoneNumber",rules:{pattern:{value:/^\+?\d+$/,message:"Please enter a valid phone number. Phone numbers must include a country code (e.g. +44)."}},render:e=>{let{field:{onChange:r,onBlur:t,value:a,ref:o}}=e;return(0,n.jsx)(_.o,{id:"register_phoneNumber",name:"phoneNumber",label:"Phone number",type:"tel",placeholder:"",ref:o,errorMessage:Q.phoneNumber?Q.phoneNumber.message:"",onBlur:t,onChange:r,isInError:!!Q.phoneNumber,value:a,hint:"(optional)"})}}),(0,n.jsx)(x.v,{type:"info",text:"Include your country code (e.g +44). We'll only contact you by phone if there is an urgent issue with your order."})]})]}),(0,n.jsxs)(u.r,{gap:"tiny",children:[(0,n.jsx)(d.z,{title:"Previous step",onClick:()=>$(K-1),type:"outline",iconLeft:g.default,hideText:!0}),(0,n.jsx)(d.z,{title:"Next step",onClick:el,type:"primary",iconRight:p.default,fullWidth:!0,disabled:!V})]})]})}),(0,n.jsx)("div",{style:3===K?{}:ed,children:(0,n.jsxs)(w.b,{gap:"large",children:[(0,n.jsx)("h2",{style:{textAlign:"center",margin:0},children:"Set your preferences"}),(0,n.jsx)(x.v,{type:"info",text:"Weâll only send you marketing emails if you choose to join these mailing lists."}),(0,n.jsxs)(w.b,{gap:"medium",children:[(0,n.jsx)(a.Qr,{control:D,name:"newsletter1",render:e=>
1{let{field:{onChange:r,onBlur:t,value:a,ref:o}}=e;return(0,n.jsx)(c.X,{id:"register_newsletter1",name:"newsletter1",label:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(f._,{size:"default",bold:!0,children:"Fringe News"}),(0,n.jsx)("br",{}),(0,n.jsx)("span",{children:"Receive emails from the Fringe Society about products and services."})]}),checked:!0===a,onChange:r})}}),(0,n.jsx)(a.Qr,{control:D,name:"newsletter2",render:e=>{let{field:{onChange:r,onBlur:t,value:a,ref:o}}=e;return(0,n.jsx)(c.X,{id:"register_newsletter2",name:"newsletter2",label:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(f._,{size:"default",bold:!0,children:"Performing Company/Artist"}),(0,n.jsx)("br",{}),(0,n.jsx)("span",{children:"Receive emails from the companies of shows that I've purchased tickets for."})]}),checked:!0===a,onChange:r})}}),(0,n.jsx)(a.Qr,{control:D,name:"newsletter3",render:e=>{let{field:{onChange:r,onBlur:t,value:a,ref:o}}=e;return(0,n.jsx)(c.X,{id:"register_newsletter3",name:"newsletter3",label:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(f._,{size:"default",bold:!0,children:"Performance venues"}),(0,n.jsx)("br",{}),(0,n.jsx)("span",{children:"Receive emails from venues of shows that I've purchased tickets for."})]}),checked:!0===a,onChange:r})}})]}),(0,n.jsxs)(u.r,{gap:"tiny",children:[(0,n.jsx)(d.z,{title:"Previous step",onClick:()=>$(K-1),type:"outline",iconLeft:g.default,hideText:!0}),(0,n.jsx)(d.z,{title:"Create account",onClick:O(es),type:"primary",fullWidth:!0,loading:t.isLoading||k.isLoading})]})]})})]})]})}),(0,n.jsx)(o.u,{ref:e,children:(0,n.jsx)("div",{style:{textAlign:"center"},children:(0,n.jsxs)(w.b,{gap:"large",children:[(0,n.jsx)("div",{style:{borderRadius:"50%",height:"180px",width:"180px",overflow:"hidden",margin:"0 auto"},children:(0,n.jsx)(h.Z,{src:"/assets/static/images/modals/register-modal-image.png",height:182,width:182,alt:""})}),(0,n.jsxs)(w.b,{gap:"medium",children:[(0,n.jsx)("h3",{style:{margin:"0"},children:"Thanks for joining us!"}),(0,n.jsxs)(f._,{size:"large",children:["An account has been successfully created for"," ",(0,n.jsx)("strong",{children:ea}),". Sign in to your new account to make purchases online and have access to exclusive features."]})]}),(0,n.jsx)(d.z,{title:"Sign in",href:"/login?email=".concat(encodeURIComponent(ea)).concat(P.redirectUrl?"&redirectUrl=".concat(P.redirectUrl):""),type:"primary",iconRight:p.default})]})})})]})})]})}},9820:function(e,r,t){"use strict";t.d(r,{A:function(){return n}});let n=(e,r)=>{window.dataLayer=window.dataLayer||[];let t={event:e,...r};console.log("pushEvent",t),window.dataLayer.push(t)}},77789:function(e){e.exports={backgroundBox:"background-box_backgroundBox__WxEN9",backgroundBoxImage:"background-box_backgroundBoxImage__ztI5m",backgroundBoxContent:"background-box_backgroundBoxContent__yTEg2",backgroundBoxPrimary:"background-box_backgroundBoxPrimary__XGQp7",backgroundBoxSecondary:"background-box_backgroundBoxSecondary__nROGO",backgroundBoxTertiary:"background-box_backgroundBoxTertiary__uLJds",backgroundBoxGrey:"background-box_backgroundBoxGrey__xaTbG",backgroundBoxWarning:"background-box_backgroundBoxWarning__Qeqs2",backgroundBoxInfo:"background-box_backgroundBoxInfo___Krc2",backgroundBoxCompact:"background-box_backgroundBoxCompact__oj9ZP",mobileRounded:"background-box_mobileRounded__IN5F2",mobileStretch:"background-box_mobileStretch__2VHcW",smallCorners:"background-box_smallCorners__OCsm_",fullHeight:"background-box_fullHeight__3PaaP",iconList:"background-box_iconList__1tjOx"}},76255:function(e){e.exports={modalOverlay:"modal_modalOverlay__tEgvs",modalContent:"modal_modalContent__3F60m",modalContentCalendar:"modal_modalContentCalendar__L2Tj3",modalContentAutoWidth:"modal_modalContentAutoWidth__VGq9x",modalHeader:"modal_modalHeader__8C35G",modalHeaderBorder:"modal_modalHeaderBorder__j6e8C",modalBody:"modal_modalBody__TCHQY",modalBodyCalendar:"modal_modalBodyCalendar__oXf9o",modalFooter:"modal_modalFooter__Wuaaj",modalFooterBorder:"modal_modalFooterBorder__9ThAd",modalClose:"modal_modalClose__O5HSI"}},34306:function(e){e.exports={pageLayoutCompact:"page-layout_pageLayoutCompact__Qncxh",pageLayoutSidebar:"page-layout_pageLayoutSidebar__7IVB5",pageLayoutContent:"page-layout_pageLayoutContent__z5v3I",pageLayoutContainer:"page-layout_pageLayoutContainer__BMB0a","has-footer":"page-layout_has-footer___XihS",pageLayoutSidebarRounded:"page-layout_pageLayoutSidebarRounded__U3Uxz",twoColumnContainer:"page-layout_twoColumnContainer__3EQ5S",twoColumnMain:"page-layout_twoColumnMain__OQo2N",twoColumnMainMobileReverse:"page-layout_twoColumnMainMobileReverse__xWhdE",twoColumnSidebar:"page-layout_twoColumnSidebar__x9zSW"}},61526:function(e){e.exports={containerCentered:"checkbox_containerCentered__idWWF",checkboxInput:"checkbox_checkboxInput__fs_iX",containerGiftAid:"checkbox_containerGiftAid__Xx5kw"}},23569:function(e){e.exports={wrapper:"progess-steps_wrapper__OSztP",showLabels:"progess-steps_showLabels__giFPJ",container:"progess-steps_container__basdu",stepLabel:"progess-steps_stepLabel__ljdcL",step:"progess-steps_step__wYAHL",stepPip:"progess-steps_stepPip__KCB76",stepDefault:"progess-steps_stepDefault__2vk7y",stepActive:"progess-steps_stepActive__SWK6n",stepComplete:"progess-steps_stepComplete__TYrCQ"}}},function(e){e.O(0,[7570,3955,5845,5819,9774,2888,179],function(){return e(e.s=90381)}),_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.