(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[54621],{202210:function(e,t,a){"use strict";a.d(t,{q:function(){return ev}});var r=a(941375),n=a(667294),l=a(140802),i=a(13819),o=a(392521),s=a(139226),d=e=>t=>{var a=(0,s.R)();return n.createElement(e,(0,r.gY)({},t,{isDesktop:a}))},c=a(814964),u=a(308409),m=a(691230),p=a(887589),_=a(258722),g=a(413871),h=a(475928),v=_.ZP.div.withConfig({displayName:"FirstStepImgContainer",componentId:"sc-1356qd-0"})(["width:285px;"]),E=_.ZP.img.withConfig({displayName:"StepImg",componentId:"sc-1356qd-1"})(["width:100%;"]),f=_.ZP.img.withConfig({displayName:"ThirdStepImg",componentId:"sc-1356qd-2"})(["height:360px;"]),w=_.ZP.div.withConfig({displayName:"StepImgContainer",componentId:"sc-1356qd-3"})(["width:277px;"]),x=_.ZP.img.withConfig({displayName:"StartStepImg",componentId:"sc-1356qd-4"})(["height:220px;"]),b=_.ZP.div.withConfig({displayName:"ContentContainer",componentId:"sc-1356qd-5"})(["width:370px;justify-content:space-between;display:flex;flex-direction:column;"]),y=_.ZP.div.withConfig({displayName:"StartStepContainer",componentId:"sc-1356qd-6"})(["width:calc(800px - "," * 2);height:calc(643px - "," - ",");display:flex;flex-direction:column;justify-content:space-between;"],(0,h.c)(g.W0[24]),(0,h.c)(g.W0[48]),(0,h.c)(g.W0[24])),z=_.ZP.div.withConfig({displayName:"StepContainer",componentId:"sc-1356qd-7"})(["padding:0 "," ",";width:calc(800px - "," * 2);height:calc(643px - "," - ",");display:flex;flex-direction:column;justify-content:space-between;"],(0,h.c)(g.W0[24]),(0,h.c)(g.W0[24]),(0,h.c)(g.W0[24]),(0,h.c)(g.W0[48]),(0,h.c)(g.W0[24])),A=_.ZP.div.withConfig({displayName:"ProgressBarContainer",componentId:"sc-1356qd-8"})(["width:132px;display:flex;gap:",";"],(0,h.c)(g.W0[4])),M=_.ZP.div.withConfig({displayName:"StepNumber",componentId:"sc-1356qd-9"})(["position:fixed;left:0;right:0;height:",";top:",";display:flex;justify-content:center;align-items:center;"],(0,h.c)(g.W0[32]),(0,h.c)(g.W0[12])),C=_.ZP.div.withConfig({displayName:"StepContainerMobile",componentId:"sc-1356qd-10"})(["max-height:100vh;overflow:auto;"]),P=_.ZP.div.withConfig({displayName:"ContentContainerMobile",componentId:"sc-1356qd-11"})(["padding:"," 0 ",";"],(0,h.c)(g.W0[24]),(0,h.c)(g.W0[160])),k=_.ZP.img.withConfig({displayName:"ImgMobile",componentId:"sc-1356qd-12"})(["object-position:bottom;object-fit:cover;width:100%;height:auto;"]),N=_.ZP.div.withConfig({displayName:"ButtonContainerMobile",componentId:"sc-1356qd-13"})(["position:fixed;bottom:0;left:0;width:100vw;background:",";padding:",";"],(0,h.c)(g.$_.background.primary),(0,h.c)(g.W0[16])),j=a(906100),H=(e,t,a)=>(0,j.pA)({event_name:"tutor_b2b_student_guide_modal_opened",json_data:JSON.stringify({source:a,student_id:e,tutor_id:t})}),S=(e,t,a,r)=>(0,j.pA)({event_name:"tutor_b2b_student_guide_modal_closed",json_data:JSON.stringify({source:r,student_id:e,tutor_id:a,step_id:t})}),I=(e,t,a,r)=>(0,j.pA)({event_name:"tutor_b2b_student_guide_modal_step_viewed",json_data:JSON.stringify({source:r,student_id:e,tutor_id:a,step_id:t})}),q=(0,n.createContext)(void 0),Z=e=>{var{children:t,onClose:a,studentId:r,source:l,tutorId:i}=e,[o,s]=(0,n.useState)(0),d=o+1;return n.createElement(q.Provider,{value:{currentStep:o,back:()=>{s(e=>e-1)},next:()=>{s(e=>e+1)},reset:()=>{a(),S(r,d,i,l),s(0)},onClose:()=>{a(),S(r,d,i,l)},studentId:r,tutorId:i,source:l}},t)},W=()=>{var e=(0,n.useContext)(q);if(void 0===e)throw Error("useTutorEducationModalFlow is used outside of TutorEducationModalFlowProvider");return e},L=a(312707),T=a(481312),J={heading:n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.start_step.title",defaultMessage:"Unlock the benefits of teaching corporate students!",values:L.a8}),description:n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.start_step.description.text",defaultMessage:"Corporate students learn for their careers and their companies cover the costs of their lessons. This opens fantastic opportunities for tutors!",values:L.a8})},B={heading:n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.first_step.title",defaultMessage:"Your benefits and opportunities.",values:L.a8}),list:[{index:1,subtitle:n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.first_step.subtitle1.text",defaultMessage:"New source of students",values:L.a8}),paragraph:n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.first_step.paragraph1.text",defaultMessage:"Your corporate students are likely to refer you to their colleagues.",values:L.a8})},{index:2,subtitle:n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.first_step.subtitle2.text",defaultMessage:"Maximized earnings",values:L.a8}),paragraph:n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.first_step.paragraph2.text",defaultMessage:"Corporate students learn more frequently and regularly.",values:L.a8})},{index:3,subtitle:n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.first_step.subtitle3.text",defaultMessage:"More stable income",values:L.a8}),paragraph:n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.first_step.paragraph3.text",defaultMessage:"Corporate students stay with their tutors 3x longer than regular students.",values:L.a8})}]},F={heading:n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.second_step.title",defaultMessage:"Subscription to Preply.",values:L.a8}),list:[{index:1,subtitle:n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.second_step.subtitle1.text",defaultMessage:"Monthly renewal",values:L.a8}),paragraph:n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.second_step.paragraph1.text",defaultMessage:"Corporate students get an automatic subscription renewal covered by their company.",values:L.a8})},{index:2,subtitle:n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.second_step.subtitle2.text",defaultMessage:"Subscription to Preply, not a tutor",values:L.a8}),paragraph:n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.second_step.paragraph2.text",defaultMessage:"Be proactive and remind corporate students to schedule weekly lessons to continue learning with you.",values:L.a8})}]},R=n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.start_step.button.text",defaultMessage:"Explore benefits",values:L.a8}),G=n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.back_button.text",defaultMessage:"Back",values:L.a8}),D=n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.button.text",defaultMessage:"Next",values:L.a8}),O=n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.third_step.button.text",defaultMessage:"Got it!",values:L.a8}),V=()=>{var{next:e}=W();return n.createElement(y,null,n.createElement(c.t,{justifyContent:"center"},n.createElement(x,{src:"https://static.preply.com/images/tutor-education-modal/start-step-desktop.png",alt:""})),n.createElement(c.t,{justifyContent:"center"},n.createElement(c.t,{gap:"12",justifyContent:"center",padding:["0","32","48"]},n.createElement(u.t,{variant:"extraLarge",centered:!0,tag:"h1"},J.heading),n.createElement("div",null,n.createElement(m.t,{centered:!0,variant:"large-regular"},J.description))),n.createElement(c.t,{padding:["0","16","24"]},n.createElement(p.t,{size:"large",onClick:e},R))))},Y=()=>{var{next:e}=W();return n.createElement(C,null,n.createElement(k,{src:"https://static.preply.com/images/tutor-education-modal/start-step-mobile.png",alt:""}),n.createElement(c.t,{gap:"8",padding:["8","0","0","0"]},n.createElement(u.t,{tag:"h1",variant:"large"},J.heading),n.createElement("div",null,n.createElement(m.t,{variant:"default-regular",accent:"secondary"},J.description))),n.createElement(N,null,n.createElement(p.t,{size:"medium",fullWidth:!0,onClick:e},R)))},Q=a(499329),U=e=>{var{copy:t}=e,{currentStep:a}=W();return n.createElement(c.t,{gap:"24",direction:"column",padding:["0","0","48"]},n.createElement(A,null,n.createElement(Q.p,{value:1===a?1:0,maxValue:1}),n.createElement(Q.p,{value:2===a?1:0,maxValue:1}),n.createElement(Q.p,{value:3===a?1:0,maxValue:1})),n.createElement(u.t,{tag:"h1",variant:"large"},t))},X=e=>{var{copy:t}=e;return n.createElement(b,null,n.createElement(c.t,{gap:"24",padding:["0","0","0","8"]},t.map(e=>n.createElement(c.t,{gap:"4",key:e.index},n.createElement(u.t,{tag:"h2",variant:"small"},e.subtitle),n.createElement(m.t,{variant:"large-regular"},e.paragraph)))))},K=()=>{var{back:e,next:t}=W();return n.createElement(z,null,n.createElement(U,{copy:B.heading}),n.createElement(c.t,{gap:"48",justifyContent:"end"},n.createElement(v,null,n.createElement(E,{src:"https://static.preply.com/images/tutor-education-modal/first-step-desktop.png",alt:""})),n.createElement(X,{copy:B.list})),n.createElement(c.t,{padding:["32","0","0"],gap:"16",justifyContent:"end"},n.createElement(p.t,{size:"medium",variant:"tertiary",onClick:e},G),n.createElement(p.t,{size:"medium",onClick:t},D)))},$=(0,T.vU)({stepNumber:{defaultMessage:"{currentStep} of {stepsTotal}",id:"shared-translations-id-scope.npm_tutor_education_modal_mobile.step_number.text"}}),ee=()=>{var{currentStep:e}=W(),{formatMessage:t}=(0,T.YB)();return n.createElement(M,null,n.createElement(m.t,{accent:"secondary",variant:"caption-regular"},t($.stepNumber,(0,r.Zj)((0,r.Zj)({},L.cG),(0,r.Zj)((0,r.Zj)({},L.cG),(0,r.Zj)((0,r.Zj)({},L.cG),{currentStep:e,stepsTotal:3}))))))},et=()=>{var{next:e}=W();return n.createElement(C,null,n.createElement(ee,null),n.createElement(k,{src:"https://static.preply.com/images/tutor-education-modal/first-step-mobile.png",alt:""}),n.createElement(P,null,n.createElement(c.t,{gap:"8"},n.createElement(u.t,{tag:"h1",variant:"large"},B.heading),B.list.map(e=>n.createElement("div",{key:e.index},n.createElement(m.t,{variant:"default-semibold"},e.subtitle),n.createElement(m.t,{variant:"default-regular"},e.paragraph))))),n.createElement(N,null,n.createElement(p.t,{size:"medium",fullWidth:!0,onClick:e},D)))},ea=()=>{var{back:e,next:t}=W();return n.createElement(z,null,n.createElement(U,{copy:F.heading}),n.createElement(c.t,{gap:"48",alignItems:"center"},n.createElement(w,null,n.createElement(E,{src:"https://static.preply.com/images/tutor-education-modal/second-step-desktop.png",alt:""})),n.createElement(X,{copy:F.list})),n.createElement(c.t,{padding:["32","0","0"],justifyContent:"end",gap:"16"},n.createElement(p.t,{size:"medium",variant:"tertiary",onClick:e},G),n.createElement(p.t,{size:"medium",onClick:t},D)))},er=()=>{var{next:e}=W();return n.createElement(C,null,n.createElement(ee,null),n.createElement(k,{src:"https://static.preply.com/images/tutor-education-modal/second-step-mobile.png",alt:""}),n.createElement(P,null,n.createElement(c.t,{gap:"8"},n.createElement(u.t,{tag:"h1",variant:"large"},F.heading),F.list.map(e=>n.createElement("div",{key:e.index},n.createElement(m.t,{variant:"default-semibold"},e.subtitle),n.createElement(m.t,{variant:"default-regular"},e.paragraph))))),n.createElement(N,null,n.createElement(p.t,{size:"medium",fullWidth:!0,onClick:e},D)))},en=a(483732),el=()=>{var{locale:e}=(0,T.YB)();return{heading:n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.third_step.title",defaultMessage:"Crafting engaging lessons.",values:L.a8}),list:[{index:1,subtitle:n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.third_step.subtitle1.text",defaultMessage:"Join the community",values:L.a8}),paragraph:n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.third_step.paragraph1.text",defaultMessage:"Connect with other tutors who teach corporate students in our {community}.",values:(0,r.Zj)((0,r.Zj)({},L.a8),{community:n.createElement(en.t,{href:"https://preply.com/".concat("uk"===e?"ua":e,"/community")},n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.third_step.paragraph1.link.text",defaultMessage:"community",values:L.a8}))})})},{index:2,subtitle:n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.third_step.subtitle2.text",defaultMessage:"Got more questions?",values:L.a8}),paragraph:n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.third_step.paragraph2.text",defaultMessage:"Check out more details in this {helpCentreArticle}.",values:(0,r.Zj)((0,r.Zj)({},L.a8),{helpCentreArticle:n.createElement(en.t,{href:"https://help.preply.com/".concat("pt"===e?"pt-BR":e,"/articles/8974475")},n.createElement(T._H,{id:"shared-translations-id-scope.npm_tutor_education_modal.third_step.paragraph2.link.text",defaultMessage:"help center article",values:L.a8}))})})}]}},ei=()=>{var{back:e,reset:t}=W(),a=el();return n.createElement(z,null,n.createElement(U,{copy:a.heading}),n.createElement(c.t,{gap:"48"},n.createElement(w,null,n.createElement(f,{src:"https://static.preply.com/images/tutor-education-modal/third-step-desktop.png",alt:""})),n.createElement(X,{copy:a.list})),n.createElement(c.t,{padding:["32","0","0"],justifyContent:"end",gap:"16"},n.createElement(p.t,{size:"medium",variant:"tertiary",onClick:e},G),n.createElement(p.t,{size:"medium",onClick:t},O)))},eo=()=>{var{reset:e}=W(),t=el();return n.createElement(C,null,n.createElement(ee,null),n.createElement(k,{src:"https://static.preply.com/images/tutor-education-modal/third-step-mobile.png",alt:""}),n.createElement(P,null,n.createElement(c.t,{gap:"8"},n.createElement(u.t,{tag:"h1",variant:"large"},t.heading),t.list.map(e=>n.createElement("div",{key:e.index},n.createElement(m.t,{variant:"default-semibold"},e.subtitle),n.createElement(m.t,{variant:"default-regular"},e.paragraph))))),n.createElement(N,null,n.createElement(p.t,{size:"medium",fullWidth:!0,onClick:e},O)))},es=d(e=>{var{isDesktop:t}=e;return t?n.createElement(V,null):n.createElement(Y,null)}),ed=d(e=>{var{isDesktop:t}=e;return t?n.createElement(K,null):n.createElement(et,null)}),ec=d(e=>{var{isDesktop:t}=e;return t?n.createElement(ea,null):n.createElement(er,null)}),eu=d(e=>{var{isDesktop:t}=e;return t?n.createElement(ei,null):n.createElement(eo,null)}),em=a(511467),ep=a(872520),e_=["show"],eg=(0,n.lazy)(()=>Promise.all([a.e(22656),a.e(52157),a.e(27295),a.e(16227),a.e(11023),a.e(19976),a.e(61523),a.e(39412),a.e(12073),a.e(82288),a.e(74135),a.e(52341),a.e(78546)]).then(a.bind(a,877211))),eh=d(e=>{var{show:t,isDesktop:a}=e,{currentStep:r,studentId:o,tutorId:s,source:d,back:c,reset:u}=W(),m={0:n.createElement(es,null),1:n.createElement(ed,null),2:n.createElement(ec,null),3:n.createElement(eu,null)}[r];if(!m)return l.$e(e=>{e.setLevel(i.z.Error),l.Tb("Tutor Education modal reached unexpected step ".concat(r))}),null;var p=!a&&r>0;return(0,n.useEffect)(()=>{t&&H(o,s,d)},[t,o,s,d]),(0,n.useEffect)(()=>{t&&I(o,r+1,s,d)},[t,o,s,d,r]),n.createElement(ep.P,{isOpen:t,onRequestClose:u,mobileFullHeight:!a,isOverflowVisible:!a,onBackIconClick:p?c:void 0},m)}),ev=e=>{var{show:t}=e,a=(0,r.Kd)(e,e_),[l]=(0,o.P5)("b2b_ble_tutor_education_v2"),[i]=(0,o.P5)("b2b_ble_enable_opt_in_flow");return l&&i?n.createElement(em.SV,{viewName:"tutor_education_dialog",teamName:"b2b-learner-experience"},n.createElement(n.Suspense,{fallback:null},t?n.createElement(eg,(0,r.gY)({show:!0},a)):null)):n.createElement(Z,a,n.createElement(eh,{show:t}))}},139226:function(e,t,a){"use strict";a.d(t,{R:function(){return o},d:function(){return i}});var r=a(248214),n=a(746731),l=a(176035),i=()=>(0,r.useMediaQuery)({maxWidth:n.jW.pda}),o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.B["medium-l"];return(0,r.useMediaQuery)({minWidth:e})}},567460:function(e,t,a){"use strict";a.d(t,{m:function(){return n}});var r=a(667294);(0,a(338314).Z)(".ErrorPage-module_root__7Mwal {\n /* relevant parts of https://github.com/preply/apollo/blob/41ecaea347b6e677c777e563d1950e439d4f363f/yarn-workspace/packages/shared/src/platform/pages/ErrorPage/reset.css */\n /* end reset.css */\n}\n.ErrorPage-module_root__7Mwal ul {\n list-style: none;\n}\n.ErrorPage-module_root__7Mwal h1,\n.ErrorPage-module_root__7Mwal h2,\n.ErrorPage-module_root__7Mwal h3,\n.ErrorPage-module_root__7Mwal h4,\n.ErrorPage-module_root__7Mwal h5 {\n font-style: normal;\n font-weight: 500;\n}\n.ErrorPage-module_root__7Mwal h1 {\n /* heading/huge */\n font-size: 64px;\n line-height: 64px;\n letter-spacing: -0.32px;\n}\n.ErrorPage-module_root__7Mwal h2 {\n /* heading/extraLarge */\n font-size: 48px;\n line-height: 52px;\n letter-spacing: unset;\n}\n@media screen and (max-width: 700px) {\n .ErrorPage-module_root__7Mwal h1 {\n /* heading/extraLarge */\n font-size: 48px;\n line-height: 52px;\n letter-spacing: unset;\n }\n .ErrorPage-module_root__7Mwal h2 {\n /* heading/large */\n font-size: 32px;\n line-height: 36px;\n letter-spacing: 0.32px;\n }\n}\n.ErrorPage-module_root__7Mwal * {\n font-style: normal;\n font-weight: 400;\n}\n.ErrorPage-module_root__7Mwal p,\n.ErrorPage-module_root__7Mwal div {\n color: #121117;\n /* body/default/regular */\n font-size: 16px;\n line-height: 24px;\n}\n.ErrorPage-module_root__7Mwal ul {\n color: #6a697c;\n /* body/caption/regular */\n font-size: 12px;\n line-height: 16px;\n letter-spacing: 0.12px;\n}\n/* \nJustine confirmed this is how the design should work:\nhttps://www.figma.com/file/8WpsSSZy2LhrlHqm7qcqwI/Error-pages-rebrand?type=design&node-id=1-118&mode=design\n*/\n/*\nHorizontal layout\n| text |\n [gap, 16px min] [centered, 888px max] [gap, 16px min]\n*/\n.ErrorPage-module_root__7Mwal {\n padding: 0 16px;\n display: flex;\n height: 100vh;\n background: white;\n}\n.ErrorPage-module_root__7Mwal:before,\n.ErrorPage-module_root__7Mwal:after {\n content: '';\n display: block;\n justify-content: center;\n flex-grow: 1;\n}\n.ErrorPage-module_content-wrapper-horizontal-flexbox__63-Gc {\n max-width: 888px;\n flex-grow: 0;\n}\n/* End horizontal layout */\n/*\nVertical layout\nShort text:\n---\n [gap]\n [gap]\ntext [centered vertically]\n [gap]\n [gap]\n---\n\nLong text (!potentially scrollable):\n---\n [16px-padding]\ntext \ntext \ntext \n [16px-padding] \n---\n*/\n.ErrorPage-module_content-wrapper-vertical-flexbox__xP4Iv {\n display: flex;\n flex-direction: column;\n height: 100vh;\n}\n.ErrorPage-module_content-wrapper-vertical-flexbox__xP4Iv:before,\n.ErrorPage-module_content-wrapper-vertical-flexbox__xP4Iv:after {\n content: '';\n display: block;\n height: 50vh;\n min-height: 16px;\n}\n/* End vertical layout */\n.ErrorPage-module_root__7Mwal ul:before,\n.ErrorPage-module_root__7Mwal ul:after {\n content: '';\n display: block;\n border-top: 1px solid #dcdce5;\n width: 50%;\n}\n.ErrorPage-module_root__7Mwal ul:before {\n margin: 24px 0;\n}\n.ErrorPage-module_root__7Mwal p:not(:first-child):not(:last-child),\n.ErrorPage-module_root__7Mwal div:not(:first-child):not(:last-child),\n.ErrorPage-module_root__7Mwal ul:not(:first-child):not(:last-child) {\n margin: 16px 0;\n}\n.ErrorPage-module_root__7Mwal a {\n color: #121117;\n}\n.ErrorPage-module_root__7Mwal ul:before {\n content: '';\n display: block;\n border-top: 1px solid #dcdce5;\n width: 50%;\n}\n.ErrorPage-module_root__7Mwal ul:before,\n.ErrorPage-module_root__7Mwal ul::after {\n margin: 24px 0;\n}\n");var n=e=>{var{sentryEventId:t,timestamp:a,error:n}=e;return r.createElement("div",{className:"ErrorPage-module_root__7Mwal"},r.createElement("div",{className:"ErrorPage-module_content-wrapper-horizontal-flexbox__63-Gc"},r.createElement("div",{className:"ErrorPage-module_content-wrapper-vertical-flexbox__xP4Iv"},r.createElement("div",null,r.createElement("h1",null,"Unexpected error"),r.createElement("p",null,"Go back to the previous page and try again. If you think something is broken, report a problem."),a||t?r.createElement(r.Fragment,null,r.createElement("p",null,"Copy the error details and send to Customer Support with the details of the issue."),r.createElement("ul",null,!!a&&r.createElement("li",null,"Timestamp: ",a),!!t&&r.createElement("li",null,"Error event ID: ",t),!!n&&r.createElement("li",null,"Error message: ",String(n))),"undefined"!=typeof navigator&&r.createElement("p",null,r.createElement("a",{href:"#",onClick:e=>{e.preventDefault();try{navigator.clipboard.writeText("Error ID: ".concat(t,". Timestamp: ").concat(a))}catch(e){}}},"Copy"))):null,r.createElement("p",null,r.createElement("a",{target:"_blank",rel:"noreferrer",href:"mailto:support@preply.com?subject=Unexpected error&body=[ please describe your problem here ]\n\nError ID: ".concat(t,". Timestamp: ").concat(a)},"Report a problem"))))))}},499329:function(e,t,a){"use strict";a.d(t,{p:function(){return s}});var r=a(667294),n=a(980349),l=a(338314),i="/* AUTO GENERATED by support/tools/src/tool/code-generator/output/tokens/web-core-tokens-less.ts @Wed Apr 15 2026 13:08:03 GMT+0000 (Coordinated Universal Time) */\n.styles-module_root__SbJ6g {\n width: 100%;\n height: var(--66b80b);\n border: 2px solid var(--11d206);\n position: relative;\n}\n.styles-module_root__SbJ6g .styles-module_bar__aCg10 {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n background: var(--95b129);\n transition: all 0.15s linear;\n}\n",o={__getCSS:function(){return i},__getFilename:function(){return"/src/rebrand/components/RebrandProgressBar/styles.module.less"},root:"styles-module_root__SbJ6g",bar:"styles-module_bar__aCg10"};(0,l.Z)(i);var s=(0,n.Jj)(e=>{var{value:t,maxValue:a}=e;return r.createElement("div",{className:o.root,"data-preply-ds-component":"RebrandProgressBar"},r.createElement("div",{className:o.bar,style:{width:"".concat(Math.floor(100*t/a),"%")}}))},o)},660243:function(e,t,a){"use strict";a.d(t,{q:function(){return n}});var r=a(667294),n=e=>{var{children:t}=e,[a,n]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{n(!0)},[]),a)?r.createElement(r.Fragment,null,t):null}},585249:function(e,t,a){"use strict";a.d(t,{Q:function(){return n}});var r=a(667294),n=e=>{var{ref:t,skip:a,offsetTop:n=0}=e;(0,r.useLayoutEffect)(()=>{if(null!=t&&t.current&&!a){var e=null,r=t.current.offsetTop,l=e=>{e.style.position="fixed",e.style.top="".concat(n,"px"),e.style.marginTop="0px"},i=e=>{e.removeAttribute("style")},o=()=>{null!=t&&t.current&&(e=null,window.scrollY+n>r?l(t.current):i(t.current))},s=()=>{null===e&&(e=window.requestAnimationFrame(o))};return s(),document.addEventListener("scroll",s),()=>{document.removeEventListener("scroll",s),e&&window.cancelAnimationFrame(e)}}},[t,a,n])}},502739:function(){},641737:function(){},595244:function(e,t,a){"use strict";a.d(t,{i:function(){return n}});var r=a(176035);let n=e=>"@media (min-width: ".concat(r.B[e],"px)")},475928:function(e,t,a){"use strict";a.d(t,{c:function(){return n}});var r=a(130259);function n(e){let t=e[r.AL];return"var(--".concat(t,")")}},86373:function(e,t,a){"use strict";a.d(t,{t:function(){return u}});var r=a(30710),n=a(667294),l=a(371912),i=a(16676),o=a(571416),s=a(785893),d=a(186196);a(502739);var c={Avatar:"Avatar__ENaap","Avatar--size-24":"Avatar--size-24__ObR4y","Avatar--size-32":"Avatar--size-32__dN-5k","Avatar--size-48":"Avatar--size-48__ddqP8","Avatar--size-64":"Avatar--size-64__-Ju7I","Avatar--size-96":"Avatar--size-96__KgHP3","Avatar--size-160":"Avatar--size-160__KZ0Fc","Avatar--narrow-l--size-24":"Avatar--narrow-l--size-24__qXCWM","Avatar--narrow-l--size-32":"Avatar--narrow-l--size-32__qq9TP","Avatar--narrow-l--size-48":"Avatar--narrow-l--size-48__h51Bn","Avatar--narrow-l--size-64":"Avatar--narrow-l--size-64__LnrZ9","Avatar--narrow-l--size-96":"Avatar--narrow-l--size-96__n3HEe","Avatar--narrow-l--size-160":"Avatar--narrow-l--size-160__1zjWL","Avatar--medium-s--size-24":"Avatar--medium-s--size-24__7-PF9","Avatar--medium-s--size-32":"Avatar--medium-s--size-32__kS7dJ","Avatar--medium-s--size-48":"Avatar--medium-s--size-48__7rHLm","Avatar--medium-s--size-64":"Avatar--medium-s--size-64__eSycG","Avatar--medium-s--size-96":"Avatar--medium-s--size-96__gMO59","Avatar--medium-s--size-160":"Avatar--medium-s--size-160__VHYbX","Avatar--medium-l--size-24":"Avatar--medium-l--size-24__wkAJa","Avatar--medium-l--size-32":"Avatar--medium-l--size-32__ZX2QH","Avatar--medium-l--size-48":"Avatar--medium-l--size-48__17P3w","Avatar--medium-l--size-64":"Avatar--medium-l--size-64__FpM1G","Avatar--medium-l--size-96":"Avatar--medium-l--size-96__5-hlk","Avatar--medium-l--size-160":"Avatar--medium-l--size-160__fa-Bb","Avatar--wide-s--size-24":"Avatar--wide-s--size-24__ggmeN","Avatar--wide-s--size-32":"Avatar--wide-s--size-32__J7HvU","Avatar--wide-s--size-48":"Avatar--wide-s--size-48__FDJLh","Avatar--wide-s--size-64":"Avatar--wide-s--size-64__qE9HQ","Avatar--wide-s--size-96":"Avatar--wide-s--size-96__yjySN","Avatar--wide-s--size-160":"Avatar--wide-s--size-160__sQ83p","Avatar--wide-l--size-24":"Avatar--wide-l--size-24__lammM","Avatar--wide-l--size-32":"Avatar--wide-l--size-32__hM5mX","Avatar--wide-l--size-48":"Avatar--wide-l--size-48__mLV4a","Avatar--wide-l--size-64":"Avatar--wide-l--size-64__uQV-R","Avatar--wide-l--size-96":"Avatar--wide-l--size-96__nbICp","Avatar--wide-l--size-160":"Avatar--wide-l--size-160__gRCi9","Avatar--round":"Avatar--round__Ndyn3"},u=(0,n.forwardRef)(function(e,t){let{size:a=d.Fk,round:n,src:u,alt:m="",dataset:p,crossOrigin:_,...g}=e,h=(0,l.q8)(c,o.W_.Avatar,[(0,l.XH)("size",a),(0,l.N4)("round",void 0,null==n||n)]);return(0,s.jsx)("picture",{...(0,r.r)(g),ref:t,className:h.join(" "),...(0,i.J)(p,{preplyDsComponent:o.W_.Avatar}),children:(0,s.jsx)("img",{src:u||"https://static.preply.com/ds/avatar/default-tokyo-ui.svg",alt:m,crossOrigin:_})})})},987481:function(e,t,a){"use strict";a.d(t,{t:function(){return u}});var r=a(30710),n=a(811433),l=a(667294),i=a(371912),o=a(16676),s=a(571416),d=a(785893);a(641737);var c={Loader:"Loader__sOe0E","Loader--normal":"Loader--normal__pJxRq","Loader--inverted":"Loader--inverted__PauMY"},u=(0,l.forwardRef)(function(e,t){let{size:a,inverted:l=!1,dataset:u,...m}=e,p=(0,i.q8)(c,s.W_.Loader,[(0,i.N4)("inverted","normal",l)]);return(0,d.jsx)("span",{...(0,r.r)(m),ref:t,className:p.join(" "),...(0,o.J)(u,{preplyDsComponent:s.W_.Loader}),children:(0,d.jsx)(n.t,{size:a})})})}}]); //# sourceMappingURL=54621-b8347b059764a6e4.js.map