1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9335],{93328:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact",function(){return r(6592)}])},49346:function(e,t,r){"use strict";r.d(t,{Z:function(){return F}});var o=r(85893),n=r(90948),i=r(99226),a=r(41664),s=r.n(a),l=r(42293),c=r(10155),d=r(23918),p=r(67294),x=r(2734),h=r(98396),m=r(26447),u=r(83321),g=r(77533),f=r(78462),b=r(19294),Z=r(98619),j=r(67720),C=r(59334),v=r(25675),y=r.n(v),P={src:"/_next/static/media/StudyCafeLogoSmall.3bf6a510.svg",height:27,width:130,blurWidth:0,blurHeight:0},w=r(11163),k=r.n(w),T=r(85946),S=r(93946),B=r(63730),_=r(67218),q=r(53508),W=r(28411);let L=(0,n.ZP)(s())(e=>{let{theme:t}=e;return{display:"flex",alignItems:"center",textDecoration:"none",marginRight:t.spacing(8)}}),M=()=>{let e=(0,x.Z)(),{settings:t}=(0,d.r)(),{skin:r}=t,{user:n}=(0,_.a)(),a=(0,h.Z)(e.breakpoints.up("md"),{defaultMatches:!0}),s=()=>{k().push("/dashboard/")},p=()=>{k().push("/")},u=()=>{k().push("/login")};return(0,o.jsx)(l.Z,{color:"default",position:"sticky",elevation:"bordered"===r?0:3,sx:{boxShadow:"bordered"===r?"none":"0px 3px 6px 0px #8C98A440",backgroundColor:"background.paper",..."bordered"===r&&{borderBottom:"1px solid ".concat(e.palette.divider)}},children:(0,o.jsx)(c.Z,{sx:{justifyContent:"space-between",p:e=>"".concat(e.spacing(0,a?20:5)," !important"),minHeight:"".concat(e.mixins.toolbar.minHeight-("bordered"===r?1:0),"px !important")},children:(0,o.jsxs)(m.Z,{direction:"row",justifyContent:"space-between",alignItems:"center",sx:{height:"100%",width:"100%"},children:[(0,o.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center"},children:[(0,o.jsx)(y(),{src:P,alt:"StudyCafe Logo",onClick:p,style:{cursor:"pointer",marginTop:"7.5px"},width:"120",height:"25"}),a&&(0,o.jsx)(m.Z,{direction:"row",spacing:2,sx:{marginLeft:4},children:(0,o.jsx)(R,{})})]}),a?(0,o.jsx)(i.Z,{children:(0,o.jsxs)(m.Z,{direction:"row",alignItems:"center",spacing:1,children:[(0,o.jsx)(q.r,{})," ",(0,o.jsx)(W.Z,{})]})}):(0,o.jsx)(I,{onGoToAppClick:s,onLoginClick:u})]})})})},R=e=>(0,o.jsxs)(m.Z,{direction:"row",sx:{pl:5},children:[(0,o.jsx)(L,{href:"/pricing",children:(0,o.jsx)(u.Z,{variant:"text",sx:{color:"customColors.websiteText",fontWeight:500,textTransform:"none",fontSize:"16px","&:hover":{color:"text.primary"}},children:(0,T.t)("appBarComponent.pricing")})}),(0,o.jsx)(L,{href:"/about",children:(0,o.jsx)(u.Z,{variant:"text",sx:{color:"customColors.websiteText",fontWeight:500,textTransform:"none",fontSize:"16px","&:hover":{color:"text.primary"}},children:(0,T.t)("appBarComponent.about")})}),(0,o.jsx)(L,{href:"/contact",children:(0,o.jsx)(u.Z,{variant:"text",sx:{color:"customColors.websiteText",fontWeight:500,textTransform:"none",fontSize:"16px","&:hover":{color:"customColors.websiteText"}},children:(0,T.t)("appBarComponent.contact")})})]}),I=e=>{let[t,r]=p.useState(!1),{user:n}=(0,_.a)();return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(S.Z,{onClick:()=>r(!0),children:(0,o.jsx)(B.Z,{icon:"mdi:menu",fontSize:30,color:"black"})}),(0,o.jsx)(g.ZP,{open:t,onClose:()=>r(!1),children:(0,o.jsxs)(i.Z,{sx:{width:250},role:"presentation",onClick:()=>r(!1),children:[(0,o.jsxs)(f.Z,{children:[(0,o.jsx)(b.ZP,{disablePadding:!0,children:(0,o.jsx)(Z.Z,{href:"/",children:(0,o.jsx)(y(),{src:P,alt:"StudyCafe Logo",style:{cursor:"pointer",marginTop:"7.5px"},width:"120",height:"25"})})}),(0,o.jsx)(j.Z,{}),(0,o.jsx)(b.ZP,{disablePadding:!0,children:(0,o.jsx)(Z.Z,{href:"/pricing",children:(0,o.jsx)(C.Z,{primary:(0,T.t)("appBarComponent.pricing")})})}),(0,o.jsx)(b.ZP,{disablePadding:!0,children:(0,o.jsx)(Z.Z,{href:"/about",children:(0,o.jsx)(C.Z,{primary:(0,T.t)("appBarComponent.about")})})}),(0,o.jsx)(b.ZP,{disablePadding:!0,children:(0,o.jsx)(Z.Z,{href:"/contact",children:(0,o.jsx)(C.Z,{primary:(0,T.t)("appBarComponent.contact")})})})]}),(0,o.jsx)(j.Z,{}),(0,o.jsx)(f.Z,{children:(0,o.jsx)(b.ZP,{disablePadding:!0,children:(0,o.jsx)(Z.Z,{sx:z.primaryButton,onClick:n?e.onGoToAppClick:e.onLoginClick,children:(0,o.jsx)(C.Z,{sx:z.primaryButtonText,primary:(0,T.t)(n?"appBarComponent.goToApp":"appBarComponent.logIn"),disableTypography:!0})})})})]})})]})},z={primaryButton:{borderRadius:"10px",marginLeft:"8px",marginRight:"8px",border:"0px",backgroundColor:"#5A7E28"},primaryButtonText:{color:"#FFFFFF"}},E=(0,n.ZP)(i.Z)(e=>{let{theme:t}=e;return{height:"100vh","& .content-center":{display:"flex",alignItems:"center",justifyContent:"center",padding:t.spacing(5),minHeight:"calc(100vh - ".concat(t.spacing(t.mixins.toolbar.minHeight/4),")")},"& .content-right":{display:"flex",overflowX:"hidden",position:"relative",minHeight:"calc(100vh - ".concat(t.spacing(t.mixins.toolbar.minHeight/4),")")}}}),A=e=>{let{children:t}=e;return(0,o.jsxs)(E,{children:[(0,o.jsx)(M,{}),(0,o.jsx)(i.Z,{className:"app-content",sx:{overflowX:"hidden",position:"relative",minHeight:e=>"calc(100vh - ".concat(e.spacing(e.mixins.toolbar.minHeight/4),")")},children:t})]})};var F=A},69898:function(e,t,r){"use strict";var o=r(85893);r(67294);var n=r(2734),i=r(99226),a=r(67358),s=r(38895),l=r(15861),c=r(22797),d=r(23508),p=r(98396),x=r(26447),h=r(22120);let m=e=>{let{title:t,items:r}=e,x=(0,n.Z)();return(0,p.Z)(x.breakpoints.up("md"),{defaultMatches:!0}),(0,o.jsx)(i.Z,{children:(0,o.jsx)(i.Z,{children:r.map((e,t)=>(0,o.jsxs)(i.Z,{component:a.Z,padding:2,marginBottom:"15px",border:"1px solid #E5E5E5",boxShadow:"none",borderRadius:"5px",sx:{"&::before":{display:"none"}},children:[(0,o.jsx)(i.Z,{component:s.Z,expandIcon:(0,o.jsx)(d.Z,{}),"aria-controls":"panel1a-content",id:"panel1a-header--".concat(t),children:(0,o.jsx)(l.Z,{color:"customColors.websiteText",fontWeight:600,children:e.title})}),(0,o.jsx)(c.Z,{children:(0,o.jsx)(l.Z,{color:"customColors.websiteText",children:e.subt
1itle})})]},t))})})},u=()=>{let e=(0,n.Z)(),t=(0,p.Z)(e.breakpoints.up("md"),{defaultMatches:!0}),{t:r}=(0,h.$G)(),a=r("homepage.faq.items",{returnObjects:!0}),s=a.map(e=>({title:e.question,subtitle:e.answer}));return(0,o.jsx)(i.Z,{sx:{width:"100%",backgroundColor:"#FCFBF8",display:"flex",justifyContent:"center"},children:(0,o.jsx)(i.Z,{sx:{maxWidth:t?"1280px":"100%",backgroundColor:"#D9E7CC",borderRadius:t?"20px":void 0,margin:t?20:void 0,padding:t?18:4,paddingBottom:t?18:8},children:(0,o.jsxs)(x.Z,{spacing:t?12:6,direction:t?"row":"column",justifyContent:"space-between",sx:{width:"100%"},children:[(0,o.jsx)(l.Z,{fontWeight:700,fontSize:"32px",textAlign:t?void 0:"center",marginTop:t?void 0:8,color:"customColors.websiteText",children:r("homepage.faq.title")}),(0,o.jsx)(i.Z,{width:t?"687px":"100%",children:(0,o.jsx)(m,{title:"",items:s})})]})})})};t.Z=u},93291:function(e,t,r){"use strict";r.d(t,{Z:function(){return b}});var o=r(85893);r(67294);var n=r(2734),i=r(98396),a=r(99226),s=r(86886),l=r(15861),c=r(23795),d=r(26447),p=r(11163),x=r.n(p),h=r(25675),m=r.n(h),u={src:"/_next/static/media/StudyCafeLogoWhiteFooter.28b3d194.svg",height:25,width:116,blurWidth:0,blurHeight:0},g=r(22120);let f=()=>{let e=()=>x().push("/"),t=()=>x().push("/gdpr"),r=(0,n.Z)(),p=(0,i.Z)(r.breakpoints.up("md"),{defaultMatches:!0}),{t:h}=(0,g.$G)(),f=[{title:h("footer.sitemap.title"),links:[{label:h("footer.sitemap.pricing"),url:"/pricing"},{label:h("footer.sitemap.about"),url:"/about"}]},{title:h("footer.getStarted.title"),links:[{label:h("footer.getStarted.login"),url:"/login"},{label:h("footer.getStarted.contact"),url:"/contact"}]},{title:h("footer.contact.title"),links:[{label:h("footer.contact.email"),url:"mailto:[email protected]"},{label:h("footer.contact.instagram"),url:"https://instagram.com/studycafesverige"}]}];return(0,o.jsxs)(a.Z,{sx:{backgroundColor:"#16140C",padding:"60px 0px",width:"100%",mx:"auto",px:"5%",maxHeight:p?"375px":"auto"},children:[(0,o.jsxs)(s.ZP,{container:!0,spacing:2,justifyContent:"space-between",alignItems:"start",sx:{mx:"auto",color:"white"},children:[(0,o.jsxs)(s.ZP,{item:!0,xs:12,sm:6,md:3,children:[(0,o.jsx)(m(),{src:u,alt:"StudyCafe Logo",onClick:e,style:{cursor:"pointer"},width:"120",height:"25"}),(0,o.jsx)(l.Z,{variant:"body2",color:"white",maxWidth:"240px",children:h("footer.description")})]}),f.map((e,t)=>(0,o.jsxs)(s.ZP,{item:!0,xs:12,sm:6,md:3,children:[(0,o.jsx)(l.Z,{variant:"h6",gutterBottom:!0,color:"white",children:e.title}),e.links.map((e,t)=>(0,o.jsx)(c.Z,{href:e.url,sx:{color:"white",display:"block",mb:1},children:e.label},t))]},t))]}),(0,o.jsxs)(s.ZP,{container:!0,sx:{mt:p?"60px":"30px"},justifyContent:"space-between",children:[(0,o.jsx)(a.Z,{children:(0,o.jsx)(l.Z,{variant:"body2",color:"#BEC0C0",fontSize:"12px",children:h("footer.copyright")})}),(0,o.jsxs)(d.Z,{direction:"row",spacing:4,children:[(0,o.jsx)(c.Z,{onClick:t,sx:{color:"white"},children:(0,o.jsx)(l.Z,{variant:"body2",color:"#BEC0C0",fontSize:"12px",children:h("footer.privacyPolicy")})}),(0,o.jsx)(l.Z,{variant:"body2",color:"#BEC0C0",fontSize:"12px",children:h("footer.termsOfUse")}),(0,o.jsx)(l.Z,{variant:"body2",color:"#BEC0C0",fontSize:"12px",children:h("footer.cookies")})]})]})]})};var b=f},53508:function(e,t,r){"use strict";r.d(t,{r:function(){return c}});var o=r(85893),n=r(2734),i=r(83321),a=r(11163),s=r(22120),l=r(67218);let c=()=>{let{user:e}=(0,l.a)(),{t}=(0,s.$G)(),r=(0,a.useRouter)(),c=(0,n.Z)(),d=()=>{r.push("/dashboard/")},p=()=>{r.push("/login")};return(0,o.jsx)(i.Z,{variant:"contained",color:"primary",sx:{backgroundColor:c.palette.green[700],borderRadius:"10px",textTransform:"none",fontSize:"18px",marginLeft:2},onClick:e?d:p,children:t(e?"appBarComponent.goToApp":"appBarComponent.logIn")})}},6592:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return S}});var o=r(85893),n=r(67294),i=r(99226),a=r(49346),s=r(82175),l=r(16310),c=r(15861),d=r(86886),p=r(50135),x=r(83321),h=r(2734),m=r(98396),u=r(18972),g=r(53457),f=r(50480),b=r(69368),Z=r(75247),j=r(41664),C=r.n(j),v=r(23795),y=r(22120);l.Ry({name:l.Z_().required("Required"),email:l.Z_().email("Invalid email address").required("Required"),phone:l.Z_().required("Required"),problem:l.Z_().required("Required"),message:l.Z_().required("Required"),gdpr:l.O7().oneOf([!0],"You must accept the terms and conditions")});let P=()=>{let e=(0,h.Z)(),t=(0,m.Z)(e.breakpoints.up("md"),{defaultMatches:!0}),{t:r}=(0,y.$G)(),a=l.Ry({name:l.Z_().required(r("contactPage.form.validationMessages.required")),email:l.Z_().email(r("contactPage.form.validationMessages.invalidEmail")).required(r("contactPage.form.validationMessages.required")),phone:l.Z_().required(r("contactPage.form.validationMessages.required")),problem:l.Z_().required(r("contactPage.form.validationMessages.required")),message:l.Z_().required(r("contactPage.form.validationMessages.required")),gdpr:l.O7().oneOf([!0],r("contactPage.form.validationMessages.acceptTerms"))}),[j,P]=n.useState(!1),[w,k]=n.useState(""),T=e=>{P(!0),k(r("contactPage.form.successMessage")),e.preventDefault(),Z.ZP.sendForm("service_kauf8dj","template_d96ygqi",e.target,"-R3GazSiou8i3jeT-").then(e=>{k(r("contactPage.form.successMessage"))},e=>{console.error(e.text)}),e.target.reset()},S=[{value:"Support",label:r("contactPage.form.problemOptions.support")},{value:"Fakturering",label:r("contactPage.form.problemOptions.billing")},{value:"Arbeta med oss",label:r("contactPage.form.problemOptions.workWithUs")},{value:"Priser",label:r("contactPage.form.problemOptions.pricing")},{value:"Annat",label:r("contactPage.form.problemOptions.other")}
1],B=(0,s.TA)({initialValues:{name:"",email:"",phone:"",problem:[],message:"",gdpr:!1},validationSchema:a,onSubmit:e=>{console.log("Useformik values: ",e)}});return j?(0,o.jsx)(i.Z,{textAlign:"center",p:4,children:(0,o.jsx)(c.Z,{variant:"h6",children:w})}):(0,o.jsxs)(i.Z,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",mx:"auto",maxWidth:768,textAlign:"center",width:"100%",padding:t?void 0:"0px 16px"},children:[(0,o.jsxs)(i.Z,{marginBottom:4,marginTop:t?20:12,children:[(0,o.jsx)(c.Z,{fontSize:"48px",color:"customColors.websiteText",sx:{fontWeight:800},align:"center",gutterBottom:!0,children:r("contactPage.title")}),(0,o.jsx)(c.Z,{color:"customColors.websiteText",lineHeight:"28px",fontWeight:400,align:t?"left":"center",children:r("contactPage.description")})]}),(0,o.jsx)(i.Z,{maxWidth:"550px",marginTop:"20px",children:(0,o.jsx)("form",{onSubmit:T,children:(0,o.jsxs)(d.ZP,{container:!0,spacing:6,children:[(0,o.jsx)(d.ZP,{item:!0,xs:12,sm:6,children:(0,o.jsx)(p.Z,{label:r("contactPage.form.nameLabel"),type:"text",name:"name",fullWidth:!0,value:B.values.name,onChange:B.handleChange,error:B.touched.name&&!!B.errors.name,helperText:B.touched.name&&B.errors.name,sx:{width:t?260:"100%",".MuiInputBase-root":{height:52}}})}),(0,o.jsx)(d.ZP,{item:!0,xs:12,sm:6,children:(0,o.jsx)(p.Z,{label:r("contactPage.form.emailLabel"),type:"email",name:"email",fullWidth:!0,value:B.values.email,onChange:B.handleChange,error:B.touched.email&&!!B.errors.email,helperText:B.touched.email&&B.errors.email,sx:{width:t?260:"100%",".MuiInputBase-root":{height:52}}})}),(0,o.jsx)(d.ZP,{item:!0,xs:12,sm:6,children:(0,o.jsx)(p.Z,{label:r("contactPage.form.phoneLabel"),type:"text",name:"phone",fullWidth:!0,value:B.values.phone,onChange:B.handleChange,error:B.touched.phone&&!!B.errors.phone,helperText:B.touched.phone&&B.errors.phone,sx:{width:t?260:"100%",".MuiInputBase-root":{height:52}}})}),(0,o.jsx)(d.ZP,{item:!0,xs:12,sm:6,children:(0,o.jsx)(p.Z,{select:!0,label:r("contactPage.form.problemLabel"),name:"problem",fullWidth:!0,value:B.values.problem,onChange:B.handleChange,error:B.touched.problem&&!!B.errors.problem,helperText:B.touched.problem&&B.errors.problem,sx:{width:t?260:"100%",".MuiInputBase-root":{height:52}},children:S.map((e,t)=>(0,o.jsx)(u.Z,{value:e.value,children:e.label},t))})}),(0,o.jsx)(d.ZP,{item:!0,xs:12,children:(0,o.jsx)(p.Z,{label:r("contactPage.form.messageLabel"),multiline:!0,rows:6,variant:"outlined",color:"primary",size:"medium",name:"message",fullWidth:!0,value:B.values.message,onChange:B.handleChange,error:B.touched.message&&!!B.errors.message,helperText:B.touched.message&&B.errors.message})}),(0,o.jsxs)(i.Z,{sx:{maxWidth:"560px",ml:"auto",mt:"20px",paddingLeft:t?void 0:"16px"},children:[(0,o.jsx)(g.Z,{sx:{".MuiFormControlLabel-root":{alignItems:"start",mt:4,marginLeft:"auto",marginRight:"auto"}},children:(0,o.jsx)(f.Z,{control:(0,o.jsx)(b.Z,{name:"gdpr",onChange:B.handleChange,style:{marginTop:"-8px",paddingLeft:"10px"}}),label:r("contactPage.form.gdprCheckbox"),sx:{".MuiTypography-root":{textAlign:"left",color:"customColors.websiteText",fontSize:"14px"}}})}),(0,o.jsxs)(c.Z,{marginTop:"15px",textAlign:"left",color:"textPrimary",fontSize:"14px",paddingLeft:"15px",children:[r("contactPage.form.gdprText"),(0,o.jsx)(C(),{href:"/gdpr",passHref:!0,children:(0,o.jsxs)(v.Z,{children:[" ",r("contactPage.form.privacyPolicy")]})}),"."]})]}),(0,o.jsx)(d.ZP,{item:!0,xs:12,sx:{display:"flex",justifyContent:"flex-start"},children:(0,o.jsx)(x.Z,{type:"submit",variant:"contained",color:"primary",sx:{borderRadius:"10px",marginBottom:t?void 0:12},children:r("contactPage.form.submitButton")})})]})})})]})};var w=r(93291),k=r(69898);let T=()=>(0,o.jsxs)(i.Z,{maxWidth:"100%",margin:"0 auto",children:[(0,o.jsx)(P,{}),(0,o.jsx)(k.Z,{}),(0,o.jsx)(w.Z,{})]});T.getLayout=e=>(0,o.jsx)(a.Z,{children:e}),T.guestGuard=!1,T.authGuard=!1;var S=T}},function(e){e.O(0,[6886,2395,135,6310,3665,6834,9774,2888,179],function(){return e(e.s=93328)}),_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.