1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b61027a6-6ad8-4fd7-a1f9-e047cc84b902",e._sentryDebugIdIdentifier="sentry-dbid-b61027a6-6ad8-4fd7-a1f9-e047cc84b902")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3995],{8106:(e,t,s)=>{"use strict";s.d(t,{v:()=>i});var l=s(14232);let a=e=>{let t,s=new Set,l=(e,l)=>{let a="function"==typeof e?e(t):e;if(!Object.is(a,t)){let e=t;t=(null!=l?l:"object"!=typeof a||null===a)?a:Object.assign({},t,a),s.forEach(s=>s(t,e))}},a=()=>t,r={setState:l,getState:a,getInitialState:()=>i,subscribe:e=>(s.add(e),()=>s.delete(e))},i=t=e(l,a,r);return r},r=e=>{let t=(e=>e?a(e):a)(e),s=e=>(function(e,t=e=>e){let s=l.useSyncExternalStore(e.subscribe,l.useCallback(()=>t(e.getState()),[e,t]),l.useCallback(()=>t(e.getInitialState()),[e,t]));return l.useDebugValue(s),s})(t,e);return Object.assign(s,t),s},i=e=>e?r(e):r},10975:e=>{e.exports={"gilroy-text":"styles_gilroy-text__xY4uf",overlay:"styles_overlay__glcKW",modalWrapper:"styles_modalWrapper__2QxP3",close:"styles_close__OtKI9",buttonWrapper:"styles_buttonWrapper__JKsXt",confirm:"styles_confirm__kDUgD",cancel:"styles_cancel__nzpn6"}},12124:(e,t,s)=>{"use strict";s.d(t,{A:()=>_});var l=s(37876),a=s(89099),r=s(34906),i=s.n(r),n=s(49420),o=s(21152),c=s.n(o);let d=i().bind(c()),_=e=>{let{isOpen:t=!0,isNotification:s=!0,setNotification:r=null,handleCloseModal:i,status:o="success",handleConfirmationModal:_=null,redirectLink:u=null,textTitle:x=null,textBody:h=null,successButton:m,cancelButton:y}=e,p=(0,n.D)().siteEmail,f=(0,a.useRouter)(),j=()=>{i(),r&&r(!1),u&&f.push(u)},b='<a href="mailto:'.concat(p,'">').concat(p,"</a>");return t&&(0,l.jsxs)("div",{className:c().main,children:[(0,l.jsxs)("div",{className:c().window,children:[(0,l.jsx)("span",{onClick:j,className:c().close}),s?(0,l.jsxs)(l.Fragment,{children:[x&&(0,l.jsx)("p",{className:c().title,children:x}),(0,l.jsx)("p",{className:d({text:!0,[o]:!0}),dangerouslySetInnerHTML:{__html:h.replace("[:EMAIL]",b)}}),(0,l.jsx)("button",{onClick:j,type:"button",children:m||"OK"})]}):(0,l.jsxs)(l.Fragment,{children:[x&&(0,l.jsx)("p",{className:c().title,children:x}),(0,l.jsx)("div",{className:d({text:!0,[o]:!0}),dangerouslySetInnerHTML:{__html:h}}),(0,l.jsxs)("div",{className:c().buttonsWrapper,children:[(0,l.jsx)("button",{className:c().success,onClick:_,type:"button",children:m||"OK"}),(0,l.jsx)("button",{className:c().cancel,onClick:j,type:"button",children:y||"Cancel"})]})]})]}),(0,l.jsx)("div",{onClick:j,className:c().backDrop})]})}},12352:(e,t,s)=>{"use strict";s.d(t,{W:()=>a});let l=e=>!!e&&"object"==typeof e&&(null==e?void 0:e.status)==="fail"&&"statusCode"in e,a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};arguments.length>2&&arguments[2];let s=t.defaults||{},a={},r={};for(let[t,i]of Object.entries(e))l(i)?(a[t]=i,r[t]=Object.prototype.hasOwnProperty.call(s,t)?s[t]:{}):r[t]=null!=i?i:Object.prototype.hasOwnProperty.call(s,t)?s[t]:i;return Object.keys(a).length>0?{...(e=>{let t=Object.values(e).map(e=>{if(e&&e.statusCode)return e.statusCode});if(t.includes(404))return{statusCode:404,notFound:!0};if(t.includes(429))return{statusCode:429};if(t.includes(403))return{statusCode:403};if(t.includes(410))return{statusCode:410};if(t.includes(0))return{statusCode:0};else return{statusCode:500}})(a),hasErrors:!0}:{data:r,hasErrors:!1,statusCode:200}}},20587:e=>{e.exports={"gilroy-text":"styles_gilroy-text__lPzSm",heroWrapper:"styles_heroWrapper__9n44q",status:"styles_status__2D8L7",label:"styles_label__BqgBf",content:"styles_content__Iy53U",title:"styles_title__8kdH0",text:"styles_text__ar2mI",imageWrapper:"styles_imageWrapper__7XJmJ",image:"styles_image__Rn0r4",button:"styles_button__duNkN"}},21152:e=>{e.exports={"gilroy-text":"styles_gilroy-text__92K2v",main:"styles_main__3UGDK",backDrop:"styles_backDrop__MyJ8a",window:"styles_window__XfZnu",title:"styles_title__oeOVI",text:"styles_text__QliG9",success:"styles_success__Cf705",fail:"styles_fail__koDlK",buttonsWrapper:"styles_buttonsWrapper__ziQiQ",cancel:"styles_cancel__hVLrs",icon:"styles_icon__lb8U4",close:"styles_close__v25qH"}},21354:e=>{e.exports={"gilroy-text":"styles_gilroy-text__MlgSL",whyVerified:"styles_whyVerified__jc3W2",header:"styles_header__Czayw",list:"styles_list__DFSQW",listItem:"styles_listItem__Fw_tS",icon:"styles_icon___LQGM",itemHeader:"styles_itemHeader__OJYEk",itemText:"styles_itemText__3JN7t"}},29988:e=>{e.exports={"gilroy-text":"styles_gilroy-text__PeLGa",bannerWrapper:"styles_bannerWrapper__sXdus",header:"styles_header__VG8Bf",disabled:"styles_disabled__qxtfN",text:"styles_text__J1Vsc"}},43847:e=>{e.exports={"gilroy-text":"styles_gilroy-text__9H3Jl",container:"styles_container__YXEYs",title:"styles_title__gSVnd",buttonWrapper:"styles_buttonWrapper__S2U9A",button:"styles_button__Ehkkv"}},46583:(e,t,s)=>{"use strict";s.d(t,{c:()=>i});var l=s(67394),a=s(61389);class r{async getVerified(e){let t={withCredentials:!0};(null==e?void 0:e.cookie)&&(t.headers=e);try{return(await l.SP.get("".concat(this.paths.getVerified),t)).data}catch(e){return(0,a.r)(e)}}async confirmVerified(e){try{return(await l.SP.post("".concat(this.paths.confirmVerified),{},{withCredentials:!0})).data}catch(e){return(0,a.r)(e)}}constructor(e){this.api=e,this.paths={getVerified:"".concat(this.api,"/profile/verified/get"),confirmVerified:"".concat(this.api,"/profile/verified/confirm")}}}let i=new r("".concat(l.Vd,"/tutor"))},53617:e=>{e.exports={"gilroy-text":"styles_gilroy-text__JNCOg",infoHint:"styles_infoHint__Tc3n6",header:"styles_header__yi8DT",description:"styles_description__6nqB9"}},54280:(e,t,s)=>{"use strict";s.d(t,{Y:()=>a});var l=s(31898);function a(e,t){return+(0,l.a)(e)<+(0,l.a)(t)}},57051:(e,t,s)=>{"use strict";s.d(t,{z:()=>a});var l=s(68173);let a=async e=>e.req?(0,l.RW)():await (0,l.$U)()},62993:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>Y});var l=s(37876),a=s(2171),r=s(85310),i=s(75596),n=s(14232),o=s(34906),c=s.n(o),d=s(10975),_=s.n(d);let u=e=>{let{textData:t,handleConfirm:s,handleClose:a}=e;return(0,l.jsx)("div",{className:_().overlay,children:(0,l.jsxs)("div",{className:_().modalWrapper,children:[(0,l.jsx)("button",{className:_().close,type:"button",onClick:a}),(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:t.text}}),(0,l.jsxs)("div",{className:_().buttonWrapper,children:[(0,l.jsx)("button",{type:"button",className:_().confirm,onClick:s,children:t.confirm}),(0,l.jsx)("button",{type:"button",className:_().cancel,onClick:a,children:t.cancel})]})]})})};var x=s(12124),h=s(89e3),m=s(29988),y=s.n(m);let p=c().bind(y()),f=e=>{let{status:t,textData:s}=e;return s?(0,l.jsxs)("div",{className:p(y().bannerWrapper,{[y().disabled]:void 0===t,[y().approved]:1===t,[y().rejected]:2===t}),children:[(0,l.jsx)("h2",{className:y().header,children:null==s?void 0:s.header}),(null==s?void 0:s.text)&&(0,l.jsx)("p",{className:y().text,dangerouslySetInnerHTML:{__html:s.text}})]}):null};var j=s(49420),b=s(20587),g=s.n(b);let v=e=>{let{textData:t,status:s,onClick:a}=e,{country:r}=(0,j.D)();return console.log(r),(0,l.jsxs)("div",{className:g().heroWrapper,children:[(0,l.jsx)("div",{className:g().status,children:(0,l.jsx)("p",{className:g().label,children:t.status})}),(0,l.jsxs)("div",{className:g().content,children:[(0,l.jsx)("h2",{className:g().title,children:t.header}),(0,l.jsx)("p",{className:g().text,dangerouslySetInnerHTML:{__html:t.text}}),0===s&&(0,l.jsx)("button",{className:g().button,type:"button",onClick:a,children:t.button})]}),(0,l.jsx)("div",{className:g().imageWrapper,children:(0,l.jsx)("img",{className:g().image,src:"/img/verified-hero-".concat(r||"ua",".webp"),alt:"Verification Hero"})})]})};var N=s(21354),w=s.n(N);let T=e=>{let{textData:t}=e;return(0,l.jsxs)("div",{className:w().whyVerified,children:[(0,l.jsx)("h2",{className:w().header,dangerouslySetInnerHTML:{__html:t.header}}),(0,l.jsx)("ul",{className:w().list,children:t.list.map((e,t)=>(0,l.jsxs)("li",{className:w().listItem,children:[(0,l.jsxs)("p",{className:w().itemHeader,children:[(0,l.jsx)("span",{className:w().icon,children:e.icon}),e.header]}),(0,l.jsx)("p",{className:w().itemText,children:e.text})]},t))})]})};
1var C=s(77452),k=s.n(C);let D=e=>{let{textData:t,status:s,onClick:a}=e;return(0,l.jsxs)("div",{className:k().privileges,children:[(0,l.jsx)("h2",{className:k().header,children:t.header}),(0,l.jsxs)("div",{className:k().content,children:[(0,l.jsx)("div",{className:k().imgWrapper,children:(0,l.jsx)("img",{src:"/img/privileges.webp"})}),(0,l.jsx)("ul",{className:k().list,children:t.list.map((e,t)=>(0,l.jsx)("li",{className:k().listItem,children:(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:k().itemHeader,children:e.header}),(0,l.jsx)("p",{className:k().itemText,children:e.text})]})},t))})]}),0===s&&(0,l.jsx)("button",{className:k().button,type:"button",onClick:a,children:t.button})]})};var W=s(53617),I=s.n(W);let H=e=>{let{textData:t}=e;return(0,l.jsxs)("div",{className:I().infoHint,children:[(0,l.jsx)("h2",{className:I().title,children:t.header}),(0,l.jsx)("p",{className:I().description,children:t.text})]})};var V=s(99647),S=s.n(V);let O=e=>{let{textData:t,status:s,onClick:a}=e;return(0,l.jsxs)("div",{className:S().howBecome,children:[(0,l.jsx)("h2",{className:S().header,children:t.header}),(0,l.jsx)("ul",{className:S().list,children:t.steps.map((e,t)=>(0,l.jsx)("li",{className:S().listItem,children:(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:S().itemHeader,children:e.header}),(0,l.jsx)("p",{className:S().itemText,children:e.text}),e.button&&0===s&&(0,l.jsx)("button",{className:S().button,onClick:a,children:e.button})]})},t))})]})};var E=s(46583),B=s(83751),L=s(43847),P=s.n(L);let J=c().bind(P()),M=e=>{let{textData:t,verifiedData:s}=e,a=(0,j.D)().country;B.W[a].siteName;let[r,i]=(0,n.useState)(!1),[o,c]=(0,n.useState)(!1),[d,_]=(0,n.use
1State)(!1),[m,y]=(0,n.useState)(null),[p,b]=(0,n.useState)(null==s?void 0:s.verified),g=async()=>{i(!0);let e=await E.c.confirmVerified().finally(()=>i(!1));c(!1),(null==e?void 0:e.status)==="success"?(b(2),_(!0),y({textTitle:t.modal.success_title,textBody:t.modal.already_success,successButton:t.modal.success})):(null==e?void 0:e.status)==="fail"&&(null==e?void 0:e.error)==="wrong_status"?(_(!0),y({status:"fail",textTitle:t.modal.error_title,textBody:t.modal.already_sent,successButton:t.modal.success})):(_(!0),y({status:"fail",textTitle:t.modal.error_title,textBody:t.modal.error,successButton:t.modal.success}))};return(0,l.jsxs)("div",{className:P().container,children:[p>0&&(0,l.jsx)(f,{status:p,textData:(()=>{var e,s;return[1,2].includes(p)?null==(s=t.status_banner)?void 0:s[p]:null==(e=t.status_banner)?void 0:e.default})()}),(0,l.jsx)("h1",{className:P().title,children:t.metatags.h1}),(0,l.jsx)(v,{textData:t.hero,status:p,onClick:g}),(0,l.jsx)(T,{textData:t.why_verified}),(0,l.jsx)(D,{textData:t.privileges,status:p,onClick:g}),(0,l.jsx)(H,{textData:t.info_hint}),(0,l.jsx)(O,{textData:t.how_become,status:p,onClick:g}),0===p&&(0,l.jsx)("div",{className:P().buttonWrapper,children:(0,l.jsx)("button",{className:J(P().button,{disabled:!(null==s?void 0:s.is_allow)||p>0}),onClick:()=>c(!0),children:t.request_button})}),o&&(0,l.jsx)(u,{textData:t.modal,handleConfirm:g,handleClose:()=>c(!1)}),(0,l.jsx)(x.A,{handleCloseModal:()=>_(!1),isOpen:d,...m}),r&&(0,l.jsx)(h.A,{})]})};var F=s(58077),K=s(25377),U=s(51714),z=s(46294),A=s(57051),X=s(12352),q=s(43042),Q=s.n(q);let G=(0,a.Ng)()(e=>e.authError?(0,l.jsx)(i.A,{textData:e.loginData}):(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(r.A,{auth:e.auth,dataBanners:e.dataBanners,textData:e.dataHeader,tutor:e.auth.tutor_info,title:e.textData.page_title,children:(0,l.jsx)("div",{className:Q().profileWrapper,children:(0,l.jsx)(M,{...e})})})}));G.getInitialProps=async e=>{var t;let{ctx:l}=e,a=(await (0,A.z)(l)).country,r=(0,U.O)(l),i=(0,z.U)(l.locale,a),n=await s(88262)("./".concat(i,"TutorVerificationText.json")),o=await s(13123)("./".concat(i,"Header.json")),c=await s(37053)("./".concat(i,"Footer.json")),d=await s(11869)("./".concat(i,"TutorBanners.json")),_=await s(54261)("./".concat(i,"ClientLoginText.json")),[u,x,h]=await Promise.all([E.c.getVerified(r),F.I.getFooter(i),K._.getNotifications(r)]),{hasErrors:m,statusCode:y}=(0,X.W)({verifiedData:u});return m?(l.res&&(l.res.statusCode=y),{statusCode:y,textData:n,dataHeader:o,dataFooter:c}):u.error&&"unauthorized tutor"===u.error?{authError:!0,footer:(null==x?void 0:x.data)||{},loginData:_,dataHeader:o,dataFooter:c,pageType:"tutor_cabinet"}:{verifiedData:(null==u?void 0:u.data)||{},footer:(null==x?void 0:x.data)||{},notifications:(null==h||null==(t=h.data)?void 0:t.notifications)||{},auth:null==h?void 0:h.auth,textData:n,dataHeader:o,dataFooter:c,dataBanners:d,pageType:"tutor_cabinet"}};let Y=G},77452:e=>{e.exports={"gilroy-text":"styles_gilroy-text__JdFTX",privileges:"styles_privileges__rmP7Z",header:"styles_header__gx_K8",content:"styles_content__xjY1p",imgWrapper:"styles_imgWrapper__yHAuZ",list:"styles_list__iJu8K",listItem:"styles_listItem__DDQRH",itemHeader:"styles_itemHeader__yPfEf",itemText:"styles_itemText___GKkU",button:"styles_button__oL46c"}},82324:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/verified-tutor",function(){return s(62993)}])},88262:(e,t,s)=>{var l={"./enTutorVerificationText.json":[27055,7055],"./esTutorVerificationText.json":[40970,970],"./plTutorVerificationText.json":[33178,3178],"./ruTutorVerificationText.json":[95793,5793],"./uaTutorVerificationText.json":[71928,1928]};function a(e){if(!s.o(l,e))return Promise.resolve().then(()=>{var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=l[e],a=t[0];return s.e(t[1]).then(()=>s.t(a,19))}a.keys=()=>Object.keys(l),a.id=88262,e.exports=a},99647:e=>{e.exports={"gilroy-text":"styles_gilroy-text__bjis6",howBecome:"styles_howBecome__5Pa0i",header:"styles_header__rLHaP",list:"styles_list__9rZFv",listItem:"styles_listItem__9Zor5",itemHeader:"styles_itemHeader__9Jizg",itemText:"styles_itemText__p2kx8",button:"styles_button__RVnbv"}}},e=>{e.O(0,[223,9091,1755,5862,351,639,8275,7032,974,636,6593,8792],()=>e(e.s=82324)),_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.