1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[20188,33482],{9234:(e,t,n)=>{n.d(t,{P:()=>i});let i=(0,n(8988).css)(["font-size:20px;font-weight:700;line-height:30px;letter-spacing:-0.6px;"])},13485:(e,t,n)=>{n.d(t,{w:()=>r});var i=n(54568),o=n(41606);let r=()=>(0,i.jsx)(o.Footer,{})},20188:(e,t,n)=>{n.r(t),n.d(t,{CourseDashboardContainer:()=>eb,DefaultPageContainer:()=>eC,ErrorPageContainer:()=>eM,LessonPageContainer:()=>eG,PreviewPageContainer:()=>e2});var i=n(54568),o=n(7620),r=n(89099),d=n(41606),s=n(84418),a=n(85037),l=n(62315),c=n(54001),p=n(27061),x=n(50899),h=n(61598),m=n(24565),g=n(47131),u=n(95953),f=n(1434),w=n(8988),y=n(27452),b=n(84857),j=n(39015);let v="36px",C="30px",k=w.styled.section.withConfig({componentId:"sc-3cc51ead-0"})(["position:relative;display:flex;width:100%;align-items:center;justify-content:center;padding:40px;border-radius:24px;background:",";gap:64px;overflow:clip;","{flex-direction:column;gap:40px;}","{padding:24px;}"],({theme:e})=>e.modernTheme.background.gradientDark,(0,f.down)("lg"),(0,f.down)("md")),I=w.styled.div.withConfig({componentId:"sc-3cc51ead-1"})(["position:absolute;top:50%;left:50%;width:",";height:",";transform:translate(-50%,-50%);pointer-events:none;svg{width:100%;height:100%;}"],"1496px","762px"),_=w.styled.div.withConfig({componentId:"sc-3cc51ead-2"})(["position:relative;display:flex;min-width:0;flex:1 1 0;flex-direction:column;align-items:center;justify-content:center;align-self:stretch;padding:24px 32px;border:1px solid ",";border-radius:20px;background:",";gap:24px;","{width:",";max-width:100%;flex:none;align-self:center;}","{width:100%;padding:20px;}"],({theme:e})=>e.modernTheme.control.base12,({theme:e})=>e.modernTheme.control.base5,(0,f.down)("lg"),"452px",(0,f.down)("md")),T=w.styled.div.withConfig({componentId:"sc-3cc51ead-3"})(["display:flex;width:100%;flex-direction:column;align-items:center;gap:16px;"]),$=w.styled.div.withConfig({componentId:"sc-3cc51ead-4"})(["border:4px solid ",";border-radius:999px;line-height:0;"],({theme:e})=>e.modernTheme.control.base20),L=w.styled.div.withConfig({componentId:"sc-3cc51ead-5"})(["display:flex;width:100%;flex-direction:column;align-items:center;color:",";gap:12px;text-align:center;word-break:break-word;"],({theme:e})=>e.modernTheme.text.invertedPrimary),P=w.styled.p.withConfig({componentId:"sc-3cc51ead-6"})([""," margin:0;","{","}"],b.Qz,(0,f.down)("md"),b.JI),E=w.styled.p.withConfig({componentId:"sc-3cc51ead-7"})([""," margin:0;"],b.aI),M=w.styled.div.withConfig({componentId:"sc-3cc51ead-8"})(["display:flex;width:100%;align-content:center;align-items:center;justify-content:center;gap:16px;","{flex-direction:column;}","{flex-direction:row;}","{flex-direction:column;}"],(0,f.up)(j.Rp.lg),(0,f.up)(j.Rp.xxl),(0,f.down)(j.Rp.md)),B=w.styled.span.withConfig({componentId:"sc-3cc51ead-9"})([""," color:",";white-space:nowrap;"],b.Qd,({theme:e})=>e.modernTheme.text.invertedPrimary),z=w.styled.div.withConfig({componentId:"sc-3cc51ead-10"})(["display:flex;min-width:0;max-width:245px;flex:0 1 auto;align-items:center;gap:16px;","{max-width:100%;}"],(0,f.up)(j.Rp.xxl)),S=(0,w.styled)(y.Uq).withConfig({componentId:"sc-3cc51ead-11"})(["width:",";min-width:0;flex:1 1 auto;border-radius:999px;background-color:",";"],"296px",({theme:e})=>e.modernTheme.control.base20),N=w.styled.div.withConfig({componentId:"sc-3cc51ead-12"})(["position:relative;display:flex;width:",";flex-shrink:0;flex-direction:column;align-items:center;gap:40px;","{max-width:100%;gap:32px;}","{width:100%;}"],"400px",(0,f.down)("lg"),(0,f.down)("md")),R=w.styled.div.withConfig({componentId:"sc-3cc51ead-13"})(["display:flex;width:100%;flex-direction:column;gap:24px;"]),A=w.styled.div.withConfig({componentId:"sc-3cc51ead-14"})(["display:flex;flex-direction:column;gap:12px;"]),D=w.styled.div.withConfig({componentId:"sc-3cc51ead-15"})(["display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;"]),J=w.styled.p.withConfig({componentId:"sc-3cc51ead-16"})([""," margin:0;color:",";white-space:nowrap;"],b.vm,({theme:e})=>e.modernTheme.text.invertedPrimary),V=w.styled.p.withConfig({componentId:"sc-3cc51ead-17"})([""," margin:0;color:",";text-align:center;"],b.Ol,({theme:e})=>e.modernTheme.text.secondary),W=w.styled.ul.withConfig({componentId:"sc-3cc51ead-18"})(["display:flex;width:100%;flex-wrap:wrap;align-content:flex-start;align-items:flex-start;justify-content:center;margin:0;padding:0;gap:12px;list-style:none;"]),F=w.styled.li.withConfig({componentId:"sc-3cc51ead-19"})(["display:flex;flex-direction:column;align-items:center;gap:2px;"]),G=w.styled.div.withConfig({componentId:"sc-3cc51ead-20"})(["display:flex;width:",";height:",";align-items:center;justify-content:center;border:",";border-radius:8px;background:",";color:",";overflow:clip;svg{width:13px;height:10px;}","{width:",";height:",";}"],v,v,({theme:e,$isToday:t})=>t?"none":`1px solid ${e.modernTheme.control.base20}`,({theme:e,$isVisited:t})=>t?e.modernTheme.background.rainbow:e.modernTheme.control.base20,({theme:e})=>e.modernTheme.text.invertedPrimary,(0,f.down)("md"),C,C),H=w.styled.span.withConfig({componentId:"sc-3cc51ead-21"})([""," color:",";white-space:nowrap;"],b.aP,({theme:e})=>e.modernTheme.text.invertedPrimary),O=w.styled.div.withConfig({componentId:"sc-3cc51ead-22"})(["display:flex;flex-shrink:0;align-items:center;justify-content:center;padding:7px 9px;border-radius:999px;background:",";color:",";svg{width:16px;height:16px;flex-shrink:0;}"],({theme:e})=>e.modernTheme.warning500,({theme:e})=>e.modernTheme.text.invertedPrimary),Q=w.styled.span.withConfig({componentId:"sc-3cc51ead-23"})([""," padding:0 4px;text-align:center;white-space:nowrap;"],b.VL);var U=n(71430),X=n.n(U);let Y=(0,w.styled)(X()).withConfig({componentId:"sc-9e995b2e-0"})(["text-decoration:none;","{width:100%;}"],(0,f.down)("md")),q=(0,w.styled)(d.ModernButton).withConfig({componentId:"sc-9e995b2e-1"})(["svg{width:14px;
1height:12px;flex-shrink:0;}","{width:100%;}"],(0,f.down)("md"));function K({lessonUrl:e,isOpened:t,appearance:n=d.ModernButtonAppearance.Primary}){let{t:o}=(0,l.B)(),r=(0,i.jsx)(q,{size:"md",appearance:n,disabled:!t,iconEnd:(0,i.jsx)(u.YRo,{}),children:o("courses:dashboard.continue_learning")});return t?(0,i.jsx)(Y,{href:e,children:r}):r}let Z=e=>{let t=`${e.getMonth()+1}`.padStart(2,"0"),n=`${e.getDate()}`.padStart(2,"0");return`${e.getFullYear()}-${t}-${n}`},ee=["courses:dashboard.weekday.monday","courses:dashboard.weekday.tuesday","courses:dashboard.weekday.wednesday","courses:dashboard.weekday.thursday","courses:dashboard.weekday.friday","courses:dashboard.weekday.saturday","courses:dashboard.weekday.sunday"];function et({activity:e,subjectTitle:t,progressPercent:n,avatarUrl:r,lessonUrl:s,currentTheme:a}){let{t:c}=(0,l.B)(),p=(0,o.useMemo)(()=>((e,t=new Date)=>{let n=new Set(e),i=Z(t),o=(t.getDay()+6)%7;return Array.from({length:7},(e,r)=>{let d=new Date(t);d.setDate(t.getDate()-o+r);let s=Z(d);return{date:s,weekdayIndex:r,isVisited:n.has(s),isToday:s===i}})})(e.visited_dates),[e.visited_dates]),x=((e,t)=>{let n=t.findIndex(e=>e.isToday),i=-1!==n&&t[n].isVisited,o=Math.max(i?e:e-1,0),r=i?n:n-1,d=0;for(let e=r;e>=0;e-=1){if(!t[e].isVisited)return d;d+=1}return Math.max(o,d)})(e.streak_days,p);return(0,i.jsxs)(k,{children:[(0,i.jsx)(I,{children:(0,i.jsx)(u.mxA,{})}),(0,i.jsxs)(_,{children:[(0,i.jsxs)(T,{children:[(0,i.jsx)($,{children:(0,i.jsx)(d.ModernAvatar,{size:100,image:r,variant:d.ModernAvatarVariant.Header})}),(0,i.jsxs)(L,{children:[(0,i.jsx)(P,{children:c("courses:dashboard.greeting")}),!!t&&(0,i.jsx)(E,{children:c("courses:dashboard.subject_title",{title:t})})]})]}),"number"==typeof n&&(0,i.jsxs)(M,{children:[(0,i.jsx)(B,{children:c("courses:dashboard.course_progress")}),(0,i.jsxs)(z,{children:[(0,i.jsx)(S,{percent:n}),(0,i.jsxs)(B,{children:[n,"%"]})]})]})]}),(0,i.jsxs)(N,{children:[(0,i.jsxs)(R,{children:[(0,i.jsxs)(A,{children:[(0,i.jsxs)(D,{children:[(0,i.jsx)(J,{children:c("courses:dashboard.streak_title")}),x>0&&(0,i.jsxs)(O,{children:[(0,i.jsx)(u.lQz,{}),(0,i.jsx)(Q,{children:c("courses:dashboard.streak_days",{count:x})})]})]}),(0,i.jsx)(V,{children:c("courses:dashboard.streak_hint")})]}),(0,i.jsx)(W,{children:p.map(e=>(0,i.jsxs)(F,{children:[(0,i.jsx)(G,{$isVisited:e.isVisited,$isToday:e.isToday,children:e.isVisited&&(0,i.jsx)(u.yMh,{})}),(0,i.jsx)(H,{children:c(ee[e.weekdayIndex])})]},e.date))})]}),a&&(0,i.jsx)(K,{lessonUrl:s,isOpened:a.is_opened,appearance:d.ModernButtonAppearance.SecondaryInverse})]})]})}let en=w.styled.section.withConfig({componentId:"sc-62141547-0"})(["display:flex;width:100%;flex-direction:column;align-items:flex-start;padding:40px;border-radius:24px;background:",";gap:32px;","{padding:24px;gap:24px;}"],({theme:e})=>e.modernTheme.background.card,(0,f.down)("md")),ei=w.styled.div.withConfig({componentId:"sc-62141547-1"})(["display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:12px;"]),eo=w.styled.h2.withConfig({componentId:"sc-62141547-2"})([""," width:100%;margin:0;color:",";word-break:break-word;","{","}"],b.JI,({theme:e})=>e.modernTheme.text.primary,(0,f.down)("md"),b.Qk),er=w.styled.span.withConfig({componentId:"sc-62141547-3"})([""," color:",";"],b.VL,({theme:e})=>e.modernTheme.text.bubble),ed=w.styled.div.withConfig({componentId:"sc-62141547-4"})(["display:flex;width:100%;flex-direction:column;align-items:flex-start;padding:20px;border:1px solid ",";border-radius:16px;background:",";gap:17px;"],({theme:e})=>e.modernTheme.accent200,({theme:e})=>e.modernTheme.accent100),es=w.styled.div.withConfig({componentId:"sc-62141547-5"})([""," display:flex;width:100%;align-items:center;color:",";gap:12px;svg{width:16px;height:16px;flex-shrink:0;color:",";}"],b.Qd,({theme:e})=>e.modernTheme.text.primary,({theme:e})=>e.modernTheme.accent500),ea=w.styled.p.withConfig({componentId:"sc-62141547-6"})([""," width:100%;margin:0;color:",";white-space:pre-line;word-break:break-word;"],b.Ol,({theme:e})=>e.modernTheme.text.primary),el=w.styled.div.withConfig({componentId:"sc-62141547-7"})(["display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:20px;"]),ec=w.styled.div.withConfig({componentId:"sc-62141547-8"})([""," width:100%;color:",";text-transform:uppercase;"],b.aP,({theme:e})=>e.modernTheme.text.bubble),ep=w.styled.ul.withConfig({componentId:"sc-62141547-9"})(["display:flex;width:100%;flex-direction:column;align-items:flex-start;margin:0;padding:0;gap:12px;list-style:none;"]),ex=w.styled.li.withConfig({componentId:"sc-62141547-10"})(["display:flex;width:100%;min-height:48px;align-items:center;padding:12px 16px;border:1px solid ",";border-radius:8px;gap:16px;","{flex-direction:column;align-items:flex-start;gap:12px;}"],({theme:e})=>e.modernTheme.control.stroke,(0,f.down)("md")),eh=w.styled.span.withConfig({componentId:"sc-62141547-11"})([""," flex:1 0 0;min-width:0;color:",";word-break:break-word;"],b.VL,({theme:e,$isLocked:t})=>t?e.modernTheme.text.secondary:e.modernTheme.text.primary),em=(0,w.styled)(d.GradientTagText).withConfig({componentId:"sc-62141547-12"})(["",""],b.aP),eg=w.styled.div.withConfig({componentId:"sc-62141547-13"})(["display:flex;width:100%;flex-direction:column;align-items:flex-end;"]);function eu({currentTheme:e,nextThemes:t,lessonUrl:n}){let{t:o}=(0,l.B)(),r=e.search_engine_description;return(0,i.jsxs)(en,{children:[(0,i.jsxs)(ei,{children:[(0,i.jsx)(eo,{children:e.title}),!!e.module&&(0,i.jsx)(er,{children:e.module.title})]}),!!r&&(0,i.jsxs)(ed,{children:[(0,i.jsxs)(es,{children:[(0,i.jsx)(u.TR$,{}),o("courses:dashboard.what_you_learn")]}),(0,i.jsx)(ea,{children:r})]}),t.length>0&&(0,i.jsxs)(el,{children:[(0,i.jsx)(ec,{children:o("courses:dashboard.next_themes")}),(0,i.jsx)(ep,{children:t.map(e=>{let t=!e.is_opened,n=e.days_left_until_opening;return(0,i.jsxs)(ex,{children:[(0,i.jsx)(eh,{$isLocked:t,children:e.title}),t&&n>0&&(0,i.jsx)(d.GradientTag,{children:(0,i.jsxs)(em,{children:[o("exercise:theme_available_in_days")," ",n," ",(0,h.A8)(x.mG.day,n,o)]})})]},e.id)})})]}),(0,i.jsx)(eg,{children:(0,i.jsx)(K,{lessonUrl:n,isOpened:e.is_opened})})]})}let ef={items:[],page:0,hasNextPage:!1},ew=w.styled.div.withConfig({componentId:"sc-28675c1d-0"})(["display:flex;width:100%;flex-direction:column;margin:0 auto;padding:16px 0 48px;gap:32px;","{padding:40px 0 80px;}","{max-width:944px;}","{max-width:996px;}","{max-width:1096px;}"],(0,f.up)("md"),(0,f.up)("lg"),(0,f.up)("xxl"),(0,f.up)("xxxl")),ey=w.styled.div.withConfig({componentId:"sc-28675c1d-1"})(["ul{margin:0;}"]);function eb({subjectSlug:e}){let{replace:t}=(0,r.useRouter)(),{t:n}=(0,l.B)(),{user:u,authenticationWasAttempted:f}=(0,a.Jd3)(),{emit:w,subscribe:y}=(0,h.iX)(),{routes:b}=(0,p.useRoutes)(),[j,v]=(0,o.useState)();y(x.TE.manualCloseSignModal,()=>{u||t(b.index)},[u]),(0,o.useEffect)(()=>
1{if(!f)return;let n=!0;return(v(void 0),u)?(m.F.getCourseDashboard(e).then(e=>{n&&v(e.data)}).catch(e=>{if(!n)return;let i=e?.response?.status;403!==i&&404!==i&&(0,h.n9)(e)&&(0,g.Cp)(Error("Course dashboard error"),t=>(t.setExtra("cause",e),t)),t(b.mysubjects.index)}),()=>{n=!1}):void w(x.TE.openSignIn)},[u,f,e]),(0,o.useEffect)(()=>{let n=j?.access;u&&n&&n.access_type===x.BD.paid&&n.access_status!==x.n$.purchased&&t(n.description_link??(0,c.d8)().allCourses().course(j.subject?.slug??e).url)},[u,j]);let C=j?.access?.access_type===x.BD.paid&&j?.access?.access_status!==x.n$.purchased,k=function(e,t){let[n,i]=(0,o.useState)(ef),[r,d]=(0,o.useState)(!1),s=(0,o.useCallback)(t=>m.F.getCourseNews(e,{page:t,per_page:5}),[e]);(0,o.useEffect)(()=>{if(i(ef),!t)return;let e=!0;return s(1).then(({data:t,meta:n})=>{e&&i({items:t,page:1,hasNextPage:!!n?.next_url})}).catch(t=>{e&&(0,h.n9)(t)&&(0,g.Cp)(Error("Course news error"),e=>(e.setExtra("cause",t),e))}),()=>{e=!1}},[t,s]);let a=(0,o.useCallback)(async()=>{d(!0);try{let{data:e,meta:t}=await s(n.page+1);i(n=>({items:[...n.items,...e],page:n.page+1,hasNextPage:!!t?.next_url}))}catch(e){(0,h.n9)(e)&&(0,g.Cp)(Error("Course news load more error"),t=>(t.setExtra("cause",e),t))}finally{d(!1)}},[n.page,s]);return{news:n.items,hasMore:n.hasNextPage,pending:r,showMore:a}}(e,!!j&&!C);if(!u&&f)return null;if(!j||C)return(0,i.jsx)(d.FullPageLoading,{});let{activity:I,current_theme:_,next_themes:T,resume:$}=j,L=j.next_career_step??[],P=j.subject?.title,E=(0,c.d8)().allCourses().course(e),M=E.lesson().url,B="number"==typeof j.progress_percent?Math.round(j.progress_percent):void 0,z=[{title:n("courses:tabs.myCourses"),href:b.mysubjects.index},...P?[{title:P,href:E.dashboard().url}]:[]];return(0,i.jsxs)(ew,{children:[(0,i.jsx)(ey,{children:(0,i.jsx)(s.B,{items:z})}),(0,i.jsx)(et,{activity:I,subjectTitle:P,progressPercent:B,avatarUrl:u?.avatar?.file_url,lessonUrl:M,currentTheme:_}),_&&(0,i.jsx)(eu,{currentTheme:_,nextThemes:T,lessonUrl:M}),(0,i.jsx)(d.CourseNews,{news:k.news,hasMore:k.hasMore,pending:k.pending,showMore:k.showMore}),$&&(0,i.jsx)(d.CourseResume,{resume:$}),L.length>0&&(0,i.jsx)(d.CourseNextStep,{subjects:L})]})}(0,l.d)(["courses","exercise","interval"]);var ej=n(73809),ev=n(84691);let eC=({blocks:e,children:t,oneScreen:n})=>{let o=(0,r.usePathname)(),d=(0,w.useTheme)(),s=o.includes("legal");return(0,h.DY)(s?d.color.background[90]:d.color.background[100]),(0,i.jsx)(ej.A,{noWrapper:!0,hideToTop:n,children:(0,i.jsx)(i.Fragment,{children:e?(0,i.jsx)(ev.n_,{blocks:e}):t})})},ek=w.styled.div.withConfig({componentId:"sc-6c4d4e14-0"})(["display:flex;flex-direction:column;justify-content:space-between;height:calc(100vh - 100px);padding:0 50px;position:relative;@media (max-width:1400px){padding:0;}","{height:auto;}"],(0,f.down)("lg"));ek.displayName="ErrorPage_Container";let eI=w.styled.span.withConfig({componentId:"sc-6c4d4e14-1"})(["font-family:",";font-weight:400;font-size:31px;line-height:1;text-align:center;padding:30px 50px;color:",";background:",";border-radius:100.944px;transform:rotate(-14.52deg);position:absolute;top:30%;left:30%;","{font-size:14px;padding:14px 23px;}"],({theme:e})=>e.fonts.main,({theme:e})=>e.color.background[100],({theme:e})=>e.color.error[100],(0,f.down)("md"));eI.displayName="ErrorPage_Error";let e_=w.styled.span.withConfig({componentId:"sc-6c4d4e14-2"})(["font-family:",";font-weight:900;font-size:270px;line-height:1;text-align:center;position:relative;","{font-size:136px;margin-bottom:20px;}"],({theme:e})=>e.fonts.main,(0,f.down)("md"));e_.displayName="ErrorPage_ErrorStatus";let eT=w.styled.span.withConfig({componentId:"sc-6c4d4e14-3"})(["font-family:",";font-weight:900;font-size:63px;line-height:1;max-width:60%;padding:30px;text-align:start;background:",";color:",";&:last-of-type{margin-top:-30px;padding:0 30px 30px;border-radius:2px 2px 44px 44px;}","{text-align:center;max-width:750px;}","{font-size:29px;}"],({theme:e})=>e.fonts.main,({theme:e})=>e.color.accent[100],({theme:e})=>e.color.foreground[100],(0,f.down)("lg"),(0,f.down)("md"));eT.displayName="ErrorPage_ErrorText";let e$=w.styled.a.withConfig({componentId:"sc-6c4d4e14-4"})(["font-family:",";font-weight:900;font-size:63px;line-height:1;text-align:start;color:",";","{font-size:29px;}"],({theme:e})=>e.fonts.main,({theme:e})=>e.color.foreground[100],(0,f.down)("md"));e$.displayName="ErrorPage_ErrorLink";let eL=w.styled.div.withConfig({componentId:"sc-6c4d4e14-5"})(["flex:1 1 auto;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:0 50px;","{align-items:center;justify-content:flex-start;}","{margin-top:50px;}"],(0,f.down)("lg"),(0,f.down)("md"));eL.displayName="ErrorPage_Wrapper",w.styled.a.withConfig({componentId:"sc-6c4d4e14-6"})(["background-image:url(\"data:image/svg+xml,%3Csvg width='48' height='34' viewBox='0 0 48 34' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.603983 34C0.270412 34 0 33.7296 0 33.396V11.6618C0 5.22117 5.22117 0 11.6618 0H47.1453C47.6173 0 48 0.382652 48 0.854678V10.1267C48 12.3498 47.4704 14.5408 46.455 16.5185L45.2535 18.8586H47.6474C47.8421 18.8586 48 19.0165 48 19.2112V22.3382C48 28.7788 42.7788 34 36.3382 34H0.603983ZM22.9817 7.93794C22.9817 7.37553 23.4376 6.91961 24 6.91961C24.5624 6.91961 25.0183 7.37554 25.0183 7.93794V19.3256C25.0183 19.888 24.5624 20.3439 24 20.3439C23.4376 20.3439 22.9817 19.888 22.9817 19.3256V7.93794ZM22.9817 24.3057C22.9817 23.7433 23.4376 23.2873 24 23.2873C24.5624 23.2873 25.0183 23.7433 25.0183 24.3057V27.3008C25.0183 27.8632 24.5624 28.3192 24 28.3192C23.4376 28.3192 22.9817 27.8632 22.9817 27.3008V24.3057Z' fill='%23000'/%3E%3C/svg%3E%0A\");background-color:transparent;background-size:contain;background-repeat:no-repeat;display:block;height:100%;width:100%;"]).displayName="ErrorPage_Logo";let eP=w.styled.div.withConfig({componentId:"sc-6c4d4e14-7"})(["position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;height:34px;width:48px;","{height:20px;width:27px;}"],(0,f.down)("md"));eP.displayName="ErrorPage_LogoWrapper";let eE=w.styled.header.withConfig({componentId:"sc-6c4d4e14-8"})(["width:100%;height:100px;padding:16px 40px;box-sizing:border-box;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;position:relative;background-color:transparent;z-index:",";","{height:48px;padding:16px;}"],({theme:e})=>e?._zIndex?.base,(0,f.down)("md"));eE.displayName="ErrorPage_Header",(0,l.d)(["error"]);let eM=({statusCode:e})=>{let{t}=(0,l.B)(),{config:n}=(0,h.zn)(),{raw:o}=(0,p.useRoutes)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(eE,{children:n.image?.file_url&&(0,i.jsx)(eP,{children:(0,i.jsx)(d.Link,{href:o.index,passHref:!0,title:n.title??void 0,children:(0,i.jsx)(d.Image,{src:n.image.file_url,alt:n.title||"",size:d.ImageSize._64,unoptimized:!0})})})}),(0,i.jsx)(ek,{children:(0,i.jsxs)(eL,{children:[(0,i.jsxs)(e_,{children:["418"===e?"500":e,(0,i.jsx)(eI,{children:t("error:title")})]}),(0,i.jsxs)(eT,{children:["500"===e&&t("error:500"),"418"===e&&t("error:418")]}),(0,i.jsx)(eT,{children:"418"===e&&(0,i.jsx)(e$,{href:o.index,children:t("error:link_client_error")})})]})})]})};var eB=n(48979),ez=n(58021),eS=n(97145),eN=n(9357);let eR=j.I4.div` 2 display: flex; 3 gap: 20px; 4 max-width: 1024px; 5 width: 100%; 6 padding: 24px; 7 margin: 32px auto 0; 8 border-radius: 16px; 9 background-color: ${({theme:e})=>e.modernTheme.background.card}; 10 11 & > svg:first-of-type { 12 width: 48px; 13 height: 48px; 14 } 15 16 & button { 17 margin-left: auto; 18 white-space: nowrap; 19 } 20 21 ${(0,f.down)("md")} { 22 flex-wrap: wrap; 23 gap: 24px 20px; 24 & button { 25 margin-left: 0; 26 } 27 } 28 29 @media (max-width: 440px) { 30 & button { 31 width: 100%; 32 } 33 } 34`,eA=j.I4.p` 35 ${b.vm} 36 margin: 0 0 4px 0; 37`,eD=j.I4.p` 38 ${b.aI} 39 margin: 0; 40 color: ${({theme:e})=>e.modernTheme.text.bubble}; 41`,eJ=j.I4.div``,eV=d.GradientText,eW=({handleChooseTariff:e})=>{let{t}=(0,eN.Bd)();return(0,i.jsxs)(eR,{children:[(0,i.jsx)(u.R5_,{}),(0,i.jsxs)(eJ,{children:[(0,i.jsx)(eA,{children:(0,i.jsx)(eN.x6,{i18nKey:"subscribe:trial_alert_title",components:{accentText:(0,i.jsx)(eV,{})}})}),(0,i.jsx)(eD,{children:t("subscribe:trial_alert_message")})]}),(0,i.jsx)(d.ModernButton,{iconEnd:(0,i.jsx)(u.iyu,{}),size:"md",onClick:e,children:t("subscribe:choose_tariff")})]})},eF=(0,n(36206).EL)();(0,l.d)(["misc","courses"]);let eG=({subjectSlug:e})=>{let{t}=(0,l.B)(),{replace:n}=(0,r.useRouter)(),{routes:s}=(0,p.useRoutes)(),{user:m,authenticationWasAttempted:g}=(0,a.Jd3)(),{sidebarVisible:u,toggleSidebar:f,setIsEducationInitialized:w}=(0,a.cL2)(),{emit:y}=(0,h.iX)(),{BOT:b,TEXT_LESSON:j,VIDEO_LESSON:v,HOMEWORK:C,THEME_EXERCISE:k}=x.Yx;(0,ez.A)("Escape",async()=>{u&&await f(!1)});let{startEducation:I,lessons:_,sidebar:T,currentIndex:$,lessonData:L,subject:P,lessonLoading:E,lessonNotFound:M,goNext:B,goPrev:z,reset:S,toggleCertificatePage:N,isCertificatePageOpen:R,isModuleCompletionModalOpen:A,certificateEligibility:D,getCertificateBySubject:J,isLastLesson:V,sequentialLockNotice:W,markSequentialLockNoticeShown:F}=(0,a.mkv)();(0,o.useEffect)(()=>{W&&(eB.oR.warn(t("courses:next_locked_sequential")),F())},[W,F,t]);let[G,H]=(0,o.useState)("");(0,o.useEffect)(()=>
41{if(m?.username){if(!G)return void H(`is_education_initialized_${m.username}`);(0,h.Bd)()&&G&&("true"===window.localStorage.getItem(G)?w("true"):(w("false"),window.localStorage.setItem(G,"true")))}},[m?.username,G]);let O=_[$];(0,o.useEffect)(()=>{if(!m&&g){if(!P)return;(0,h.EM)({subject:P}),y(x.TE.openSignIn)}return m&&g&&I(e),()=>{S()}},[m,g,e]),(0,o.useEffect)(()=>{m&&g&&P&&P.access_type===x.BD.paid&&P.access_status!==x.n$.purchased&&n(P.description_link??(0,c.d8)().allCourses().course(P.slug).url)},[m,g,P]);let Q=function(e,t,n){let{replace:i}=(0,r.useRouter)(),[d,s]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{if(!e||!t||!n)return;let o=!1;return s(!1),eF.getCourseQuestionnaireStatus(n.id).then(({required:e})=>{if(!o){if(e)return void i(`/courses/questionnaire?course=${n.slug}`);s(!0)}}).catch(()=>{o||s(!0)}),()=>{o=!0}},[e,t,n]),d}(m,g,P);(0,o.useEffect)(()=>{R&&P?.id&&J(P.id)},[R]);let[U,X]=(0,o.useState)(!1),[Y,q]=(0,o.useState)(!1);(0,o.useEffect)(()=>{Y&&!A&&(q(!1),n(s.mysubjects.index))},[Y,A]);let K=()=>{if(V)return void(D?N(!0):(B(),q(!0)));B()};if((0,h.IC)("payments:paid",({subjectId:e,subjectSlug:t})=>{U&&e===P?.id&&(X(!1),I(t))}),M)return(0,i.jsx)(eC,{oneScreen:!0,children:(0,i.jsx)(eS.ErrorPage404,{})});if(E||!Q)return(0,i.jsx)(d.Loading,{});let Z=V&&!P?.certificate_enabled?t("misc:finish"):void 0,ee=!T?.additional_data?.has_published_content&&!T?.modules?.length&&!T?.themes?.length,et=P?.access_status!==x.n$.purchased&&(P?.access_type===x.BD.trial_free_themes||P?.access_type===x.BD.trial),en=()=>{P&&((0,h.SL)({subject:P}),X(!0)),N(!1)};return(0,i.jsx)(ej.A,{headerProps:{showCourseNav:!ee,onClickSidebarBtn:()=>f(!0)},noWrapper:ee,children:(0,i.jsxs)(i.Fragment,{children:[R?(0,i.jsx)(d.Certificate,{}):ee?(0,i.jsx)(d.CourseContentEmpty,{}):(0,i.jsxs)(i.Fragment,{children:[et&&(0,i.jsx)(eW,{handleChooseTariff:en}),O?.lessonType===k&&(0,i.jsx)(d.ThemeExercise,{lesson:L,canGoBack:$>0,canGoForward:!0,nextButtonText:Z,prevJob:z,nextJob:K}),O?.lessonType===j&&(0,i.jsx)(d.TextLesson,{lesson:L,canGoBack:$>0,canGoForward:!0,nextButtonText:Z,prevJob:z,nextJob:K}),O?.lessonType===C&&(0,i.jsx)(d.LessonHomework,{lesson:L,canGoBack:$>0,canGoForward:!0,nextButtonText:Z,prevJob:z,nextJob:K}),O?.lessonType===b&&(0,i.jsx)(d.BotLesson,{prevJob:z,canGoBack:$>0,canGoForward:!0,nextButtonText:Z,conversations:L.conversations,nextJob:K}),O?.lessonType===v&&(0,i.jsx)(d.VideoLesson,{lesson:L,canGoBack:$>0,canGoForward:!0,nextButtonText:Z,prevJob:z,nextJob:K})]}),u&&P&&T&&(0,i.jsx)(d.Sidebar,{modules:T.modules,themes:T.themes,subject:P,onOpenPayment:en})]})})};eG.displayName="LessonPageContainer";var eH=n(98649),eO=n(48577),eQ=n(66472),eU=n(13485);let eX=(0,eQ.default)(()=>Promise.resolve().then(n.bind(n,50736)).then(e=>e.Header),{loadableGenerated:{webpack:()=>[50736]},ssr:!1}),eY=w.styled.div.withConfig({componentId:"sc-fbbeeb09-0"})(["background-color:transparent;","{padding-bottom:80px;}"],(0,f.up)("md")),eq=w.styled.div.withConfig({componentId:"sc-fbbeeb09-1"})(["position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999;"]),eK=j.I4.div` 42 overflow-x: hidden; 43 44 ${(0,f.up)("md")} { 45 padding-bottom: 80px; 46 } 47 48 ${(0,f.up)("xxl")} { 49 padding-left: calc((100vw - 1608px) / 2); 50 padding-right: calc((100vw - 1608px) / 2); 51 } 52`,eZ=j.I4.section` 53 margin: 40px auto 0; 54 width: 100%; 55 min-width: 343px; 56 57 ${(0,f.only)("xxl")} { 58 padding-left: clamp(60px, 8.125vw, 156px); 59 padding-right: clamp(60px, 8.125vw, 156px); 60 } 61 62 ${(0,f.down)("xxl")} { 63 padding-left: clamp(40px, 4.17vw, 60px); 64 padding-right: clamp(40px, 4.17vw, 60px); 65 } 66 67 ${(0,f.down)("lg")} { 68 padding-left: 40px; 69 padding-right: 40px; 70 } 71 72 ${(0,f.down)("md")} { 73 padding-left: 20px; 74 padding-right: 20px; 75 } 76 77 ${(0,f.down)("sm")} { 78 padding-left: 16px; 79 padding-right: 16px; 80 } 81`;eZ.displayName="LandingContainer";let e0=({landing:e})=>{let t=(0,w.useTheme)();return(0,h.DY)(t.color.background[90]),(0,i.jsx)(ej.A,{noWrapper:!0,hideToTop:!0,children:(0,i.jsxs)(eK,{children:[(0,i.jsx)(eZ,{children:(0,i.jsx)(d.Landing,{landing:e})}),(0,i.jsx)(d.ToTop,{})]})})};var e1=n(91954);let e4=({module:e})=>{let t=(0,w.useTheme)();return(0,h.DY)(t.color.background[90]),(0,i.jsx)(ej.A,{children:(0,i.jsx)(e1.ModuleContainer,{children:(0,i.jsx)(d.Module,{modulePageData:e})})})},e2=({payload:e})=>{let[t,n]=(0,o.useState)(!0),{conversations:r,videoLesson:s,textLesson:l,homework:c,thesis:p,page:m,landing:g,previewElement:u,subjects:f,user:y,module:b,contacts:j,document:v,homepageAppearance:C,themeExercise:k}=e,I=(0,w.useTheme)();(0,h.DY)(m?.slug?.includes("legal")?I.color.background[90]:I.color.background[100]);let _=async()=>{await Promise.all([y&&(0,a.kCz)(y),f&&(0,a.A9Q)(f)]),n(!1)};if((0,o.useEffect)(()=>{_().catch(e=>{console.error(e),n(!1)})},[]),u===x.LP.bot)return(0,i.jsx)(h.$B,{value:{previewMode:!0},children:r&&r.length>0&&(0,i.jsx)(d.BotLesson,{conversations:r,prevJob:()=>null,nextJob:()=>null})});if(!t&&g&&u===x.LP.landing)return(0,i.jsx)(h.$B,{value:{previewMode:!0},children:(0,i.jsx)(e0,{landing:g})});if(!t&&b&&u===x.LP.module)return(0,i.jsx)(h.$B,{value:{previewMode:!0},children:(0,i.jsx)(e4,{module:b})});if(!t&&u===x.LP.page)return(0,i.jsxs)(h.$B,{value:{previewMode:!0},children:[(0,i.jsxs)(eY,{children:[(0,i.jsx)(eX,{}),r&&r.length>0&&(0,i.jsx)(d.BotMain,{}),m?.blocks&&m.blocks.length>0&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(eq,{}),(0,i.jsx)(ev.n_,{blocks:m?.blocks})]})]}),(0,i.jsx)(eU.w,{})]});if(!t&&u===x.LP.mainPage){let e=!1;return C?.homepage_text_enabled&&C.homepage_text&&(e=!(0,h.Pb)(C.homepage_text)),(0,i.jsx)(h.$B,{value:{previewMode:!0},children:(0,i.jsxs)(d.HomepageSectionsWrapper,{children:[(0,i.jsx)(d.BotMain,{characterType:C?.character_type,characterImage:C?.character_image,characterVideoWebm:C?.character_video_webm,characterVideoMp4:C?.character_video_mp4}),e?(0,i.jsx)(d.HomepageDescriptionWrapper,{children:(0,i.jsx)(d.PageDescriptionContent,{content:C?.homepage_text,files:C?.files??[],fullWidth:!0})}):null]})})}return s&&u===x.LP.videoLesson?(0,i.jsx)(h.$B,{value:{previewMode:!0},children:(0,i.jsx)(d.VideoLesson,{lesson:s,prevJob:()=>null,nextJob:()=>null})}):l&&u===x.LP.textLesson?(0,i.jsx)(h.$B,{value:{previewMode:!0},children:(0,i.jsx)(d.TextLesson,{lesson:l,prevJob:()=>null,nextJob:()=>null})}):c&&u===x.LP.homework?(0,i.jsx)(h.$B,{value:{previewMode:!0},children:(0,i.jsx)(d.LessonHomework,{lesson:c,prevJob:()=>null,nextJob:()=>null})}):p&&u===x.LP.thesis?(0,i.jsx)(h.$B,{value:{previewMode:!0},children:(0,i.jsx)(d.Thesis,{duration:p.duration,description:p.description,imageAlt:p.image?.title,imageSrc:p.image?.file_url})}):j&&u===x.LP.contacts?(0,i.jsx)(h.$B,{value:{previewMode:!0},children:(0,i.jsx)(eO.Wrapper,{children:(0,i.jsx)(eH.ContactPageClient,{contacts:j})})}):v&&u===x.LP.document?(0,i.jsx)(h.$B,{value:{previewMode:!0},children:(0,i.jsx)(eO.Wrapper,{children:(0,i.jsx)(d.DocumentsWrapper,{children:(0,i.jsx)(d.Document,{document:v})})})}):k&&u===x.LP.themeExercise?(0,i.jsx)(h.$B,{value:{previewMode:!0},children:(0,i.jsx)(d.ThemeExercise,{lesson:k,prevJob:()=>null,nextJob:()=>null})}):null}},22092:(e,t,n)=>{n.d(t,{_:()=>d,z:()=>s});var i=n(1434),o=n(39015),r=n(84857);let d=o.I4.ul` 82 display: none; 83 flex-wrap: wrap; 84 align-items: center; 85 padding: 0; 86 gap: 4px; 87 margin: 0 0 36px; 88 89 .landing-layout & { 90 margin-top: 40px; 91 } 92 93 ${(0,i.down)("md")} { 94 .landing-layout & { 95 margin-top: 16px; 96 } 97 } 98 99 ${(0,i.up)("sm")} { 100 display: flex; 101 } 102`,s=o.I4.li` 103 position: relative; 104 display: flex; 105 align-items: center; 106 107 a { 108 display: flex; 109 align-items: center; 110 gap: 4px; 111 color: ${({theme:e})=>e.modernTheme.text.bubble}; 112 ${r.Ol} 113 } 114 115 a:visited { 116 color: ${({theme:e})=>e.modernTheme.text.bubble}; 117 } 118 119 a:hover { 120 color: ${({theme:e})=>e.modernTheme.text.primary}; 121 } 122 123 svg { 124 color: ${({theme:e})=>e.modernTheme.text.secondary}; 125 } 126 127 &:last-child { 128 pointer-events: none; 129 130 a, 131 a:visited { 132 color: ${({theme:e})=>e.modernTheme.text.primary}; 133 text-decoration: none; 134 } 135 136 svg { 137 display: none; 138 } 139 } 140`},29079:(e,t,n)=>{n.d(t,{a:()=>i});let i=(0,n(8988).css)(["font-size:16px;font-weight:400;line-height:24px;"])},33482:(e,t,n)=>{n.r(t),n.d(t,{SchemaOrg:()=>o});var i=n(54568);function o({schema:e}){return(0,i.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(e).replace(/</g,String.raw`\u003c`)}})}},41230:(e,t,n)=>{n.d(t,{DC:()=>u,Rp:()=>g,_A:()=>s,fg:()=>p,hh:()=>x,iR:()=>a,mv:()=>l,p$:()=>h,sx:()=>c,yP:()=>m});var i=n(1434),o=n(8988),r=n(84857);let d=(0,o.css)(["display:flex;flex-direction:column;gap:36px;padding:36px 36px 40px;border-radius:40px;background-color:",";","{gap:24px;padding:24px;}"],({theme:e})=>e.modernTheme.background.card,(0,i.down)("sm")),s=o.styled.div.withConfig({componentId:"sc-30296e90-0"})(["display:grid;grid-template-columns:minmax(0,1fr) 408px;grid-template-areas:'req contacts' 'addr contacts';align-items:start;gap:24px;","{grid-template-areas:'req contacts' 'addr addr';align-items:stretch;padding-bottom:20px;}","{grid-template-columns:minmax(0,1fr);grid-template-areas:'req' 'contacts' 'addr';}"],(0,i.down)("xxl"),(0,i.down)("lg")),a=o.styled.section.withConfig({componentId:"sc-30296e90-1"})([""," grid-area:",";"," h2{"," margin:0;color:",";}"],d,({$area:e})=>e,({$tight:e})=>e&&(0,o.css)(["gap:24px;"]),r.JI,({theme:e})=>e.modernTheme.text.primary),l=o.styled.div.withConfig({componentId:"sc-30296e90-2"})([""," p{margin:0 0 16px;}p:last-child{margin-bottom:0;}strong,b{"," color:",";}"],r.VK,r.vm,({theme:e})=>e.modernTheme.text.primary),c=o.styled.div.withConfig({componentId:"sc-30296e90-3"})(["display:flex;flex-direction:column;gap:16px;"]),p=o.styled.div.withConfig({componentId:"sc-30296e90-4"})(["a{"," display:inline-flex;align-items:center;gap:16px;color:",";&:hover{color:",";}}"],r.XR,({theme:e})=>e.modernTheme.text.bubble,({theme:e})=>e.modernTheme.accent500),x=o.styled.div.withConfig({componentId:"sc-30296e90-5"})(["display:inline-flex;justify-content:center;align-items:center;color:",";svg{width:auto;height:1.5rem;}"],({theme:e})=>e.modernTheme.accent500),h=o.styled.div.withConfig({componentId:"sc-30296e90-6"})(["display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;width:100%;"]),m=o.styled.a.withConfig({componentId:"sc-30296e90-7"})(["text-decoration:none;
140span{display:inline-flex;align-items:center;justify-content:center;}svg{width:20px;height:20px;}"]),g=o.styled.p.withConfig({componentId:"sc-30296e90-8"})([""," margin:0;color:",";"],r.XR,({theme:e})=>e.modernTheme.text.bubble),u=o.styled.iframe.withConfig({componentId:"sc-30296e90-9"})(["display:block;width:100%;height:320px;border:0;border-radius:24px;background-color:",";"],({theme:e})=>e.modernTheme.background.pageBg)},48577:(e,t,n)=>{n.d(t,{Wrapper:()=>l});var i=n(54568),o=n(8988),r=n(28641),d=n(7055),s=n(20055);let a=o.styled.div.withConfig({componentId:"sc-82ee89bb-0"})(["flex:1 1 auto;margin:0 auto;padding:0 0 100px;"," &:has(.hide-to-top-button){","{display:none;}}&:has(","){display:flex;flex-direction:column;}"],({$layoutMode:e="default"})=>{switch(e){case"settings":case"lesson":case"narrow":return s.s1;default:return s.xA}},d.H,r.W),l=({children:e,layoutMode:t="default"})=>(0,i.jsx)(a,{$layoutMode:t,children:e});l.displayName="DefaultWrapper"},50736:(e,t,n)=>{n.r(t),n.d(t,{Header:()=>x});var i=n(54568),o=n(7620),r=n(89099),d=n(41606),s=n(85037),a=n(27061),l=n(50899),c=n(61598),p=n(24565);let x=e=>{let{user:t,pending:n,resetUser:x,authenticationWasAttempted:h}=(0,s.Jd3)(),{emit:m}=(0,c.iX)(),{push:g}=(0,r.useRouter)(),{routes:u}=(0,a.useRoutes)(),f=(0,o.useCallback)(()=>m(l.TE.openSignIn),[]),w=(0,o.useCallback)(()=>m(l.TE.openSignUp),[]),y=(0,o.useCallback)(async()=>{await p.F.clearAuth(),x(),g(u.subjects.index)},[]);return(0,i.jsx)(d.Header,{...e,onClickSignIn:f,onClickSignUp:w,onClickSignOut:y,pending:n,user:t||void 0,authenticationWasAttempted:h})}},58021:(e,t,n)=>{n.d(t,{A:()=>s});var i=n(7620);function o(e,t){if(!e)throw Error("Invariant failed")}var r=new Map([["Win","Meta"],["Scroll","ScrollLock"],["Spacebar"," "],["Down","ArrowDown"],["Left","ArrowLeft"],["Right","ArrowRight"],["Up","ArrowUp"],["Del","Delete"],["Crsel","CrSel"],["Exsel","ExSel"],["Apps","ContextMenu"],["Esc","Escape"],["Decimal","."],["Multiply","*"],["Add","+"],["Subtract","-"],["Divide","/"]]),d=function(e){if(r.has(e.key)){var t=r.get(e.key);Object.defineProperty(e,"key",{configurable:!0,enumerable:!0,get:function(){return t}})}},s=function(e,t){Array.isArray(e)||"string"==typeof e||o(!1),Array.isArray(e)&&e.forEach(function(e,t){"string"!=typeof e&&o(!1)}),"function"!=typeof t&&null!=t&&o(!1);var n=(0,i.useRef)();(0,i.useEffect)(function(){n.current=function(n){d(n),(Array.isArray(e)?e.includes(n.key):e===n.key)&&(null==t||t(n))}},[e,t]),(0,i.useEffect)(function(){var e=function(e){n.current(e)};return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[])}},58553:(e,t,n)=>{n.d(t,{GlobalPageWrapper:()=>d});var i=n(54568),o=n(39015);let r=o.I4.div` 141 display: flex; 142 flex-direction: column; 143 min-height: 100dvh; 144`,d=({children:e})=>(0,i.jsx)(r,{children:e})},61355:(e,t,n)=>{n.d(t,{W:()=>i});let i=(0,n(8988).css)(["font-size:36px;font-weight:700;line-height:48px;letter-spacing:-1.08px;"])},73809:(e,t,n)=>{n.d(t,{A:()=>l});var i=n(54568),o=n(41606),r=n(48577),d=n(58553),s=n(13485),a=n(50736);function l({children:e,hideFooter:t,hideHeader:n,hideToTop:l,noWrapper:c,headerProps:p,layoutMode:x="default"}){return(0,i.jsxs)(d.GlobalPageWrapper,{children:[!n&&(0,i.jsx)(a.Header,{...p}),c?(0,i.jsxs)(i.Fragment,{children:[e,!l&&(0,i.jsx)(o.ToTop,{})]}):(0,i.jsxs)(r.Wrapper,{layoutMode:x,children:[e,!l&&(0,i.jsx)(o.ToTop,{})]}),!t&&(0,i.jsx)(s.w,{})]})}},80085:(e,t,n)=>{n.d(t,{I:()=>i});let i=(0,n(8988).css)(["font-size:24px;font-weight:700;line-height:36px;letter-spacing:-0.72px;"])},81712:(e,t,n)=>{n.d(t,{k:()=>i});let i="/assets/img/avatar/avatar-default.svg"},84418:(e,t,n)=>{n.d(t,{B:()=>c});var i=n(54568),o=n(41606),r=n(95953),d=n(61598),s=n(22092),a=n(33482);let l=({children:e,href:t})=>(0,i.jsx)(s.z,{children:(0,i.jsx)(o.Link,{href:t,children:e})}),c=({items:e})=>{let{baseURL:t}=(0,d.As)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s._,{children:e.map(e=>(0,i.jsxs)(l,{href:e.href,children:[e.title,(0,i.jsx)(r.Qae,{width:20,height:20})]},e.href))}),(0,i.jsx)(a.SchemaOrg,{schema:{"@context":"https://schema.org","@type":"BreadcrumbList",numberOfItems:e.length,itemListElement:e.map((e,n)=>({"@type":"ListItem",position:n+1,item:{"@id":t+e.href,name:e.title}}
144))}})]})}},84691:(e,t,n)=>{n.d(t,{u8:()=>u,n_:()=>w});var i=n(54568),o=n(41606),r=n(81712),d=n(62315),s=n(8988),a=n(84857);let l=s.styled.article.withConfig({componentId:"sc-81ad844b-0"})(["display:flex;flex-direction:column;gap:16px;padding:8px;height:100%;border-radius:32px;background-color:",";transition:box-shadow 0.2s ease;&:hover{box-shadow:",";}"],({theme:e})=>e.modernTheme.background.card,({theme:e})=>e.modernTheme.shadow.level2),c=s.styled.div.withConfig({componentId:"sc-81ad844b-1"})(["position:relative;overflow:hidden;width:100%;border-radius:24px;background-color:",";aspect-ratio:4 / 5;img{position:absolute;width:100%;height:100%;object-fit:cover;}"],({theme:e})=>e.modernTheme.bluePalette.accentBg),p=s.styled.div.withConfig({componentId:"sc-81ad844b-2"})(["display:flex;flex-direction:column;flex-grow:1;gap:12px;padding:0 12px;"]),x=s.styled.p.withConfig({componentId:"sc-81ad844b-3"})([""," margin:0;color:",";"],a.Qk,({theme:e})=>e.modernTheme.text.primary),h=s.styled.p.withConfig({componentId:"sc-81ad844b-4"})([""," margin:0;min-height:36px;color:",";"],a.VL,({theme:e})=>e.modernTheme.text.bubble),m=s.styled.div.withConfig({componentId:"sc-81ad844b-5"})(["padding:8px;"]),g=s.styled.div.withConfig({componentId:"sc-81ad844b-6"})([""," display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-radius:16px;background-color:",";color:",";"],a.VL,({theme:e})=>e.modernTheme.background.pageBg,({theme:e})=>e.modernTheme.text.primary);(0,d.d)(["pages"]);let u=({author:e})=>{let{t}=(0,d.B)();return(0,i.jsx)(o.Link,{href:`/authors/${e.slug}`,children:(0,i.jsxs)(l,{children:[(0,i.jsx)(c,{children:(0,i.jsx)(o.Image,{src:e.avatar?.file_url||r.k,width:312,height:390,alt:e.title})}),(0,i.jsxs)(p,{children:[(0,i.jsx)(x,{children:e.title}),(0,i.jsx)(h,{children:e.job_title})]}),(0,i.jsx)(m,{children:(0,i.jsxs)(g,{children:[(0,i.jsx)("span",{children:t("pages:ourTeam.coursesCount")}),(0,i.jsx)("span",{children:e.published_course_count})]})})]})})};var f=n(50899);let w=({blocks:e})=>(0,i.jsx)(i.Fragment,{children:e.sort((e,t)=>e.position-t.position).map(e=>{let{content:t}=e.properties;return e.is_enabled&&e.component?.component_type===f.I5.Block?(0,i.jsx)(o.Block,{content:t},e.id):null})});var y=n(1434),b=n(39015);b.I4.div` 145 position: absolute; 146 top: 0; 147 border: none; 148 min-height: 100vh; 149 width: 100%; 150 display: flex; 151 flex-direction: column; 152 justify-content: center; 153 align-items: center; 154 background: ${({theme:e})=>e.color.accent[50]}; 155 z-index: 1000; 156`,b.I4.div` 157 display: flex; 158 flex-direction: column; 159 justify-content: center; 160 align-items: center; 161`,b.I4.div` 162 font-family: ${({theme:e})=>e.fonts.main}; 163 font-size: 30px; 164 color: ${({theme:e})=>e.color.foreground[100]}; 165 opacity: 0.3; 166 margin-top: 40px; 167 text-align: center; 168 169 ${(0,y.down)("md")} { 170 font-size: 18px; 171 } 172`;let j=(0,s.keyframes)(["0%{opacity:0.5;}50%{opacity:1.0;}100%{opacity:0.5;}"]);b.I4.div` 173 height: 80px; 174 175 animation: ${j} 1.5s ease-out infinite; 176 177 img { 178 height: 100%; 179 } 180`},91954:(e,t,n)=>{n.d(t,{M6:()=>I,BG:()=>_,ModuleContainer:()=>p,sI:()=>h,KK:()=>m,Pv:()=>x,p0:()=>f,n:()=>w,SC:()=>y,u8:()=>k,yP:()=>b,nz:()=>j,HG:()=>C,T4:()=>v,vp:()=>g,dQ:()=>u});var i=n(1434),o=n(39015),r=n(22092),d=n(29079);let s=(0,n(8988).css)(["font-size:12px;font-weight:400;line-height:18px;"]);var a=n(61355),l=n(80085),c=n(9234);o.I4.div` 181 background-color: 'transparent'; 182 overflow-x: hidden; 183 184 ${(0,i.up)("md")} { 185 padding-bottom: 80px; 186 } 187`;let p=o.I4.section` 188 display: flex; 189 flex-wrap: wrap; 190 gap: 36px; 191 margin: 2em auto; 192 max-width: '100%'; 193 194 ${r._} { 195 margin-bottom: 0; 196 } 197 198 ${(0,i.up)(o.Rp.lg)} { 199 max-width: 792px; 200 } 201 202 ${(0,i.up)(o.Rp.xxl)} { 203 max-width: 1064px; 204 } 205 206 ${(0,i.down)(o.Rp.lg)} { 207 gap: 20px; 208 } 209`;p.displayName="ModuleContainer";let x=o.I4.div` 210 width: 100%; 211`;x.displayName="ModuleContentWrapper";let h=o.I4.div` 212 padding: 40px; 213 width: 100%; 214 border-radius: 60px; 215 background-color: ${e=>e.theme.color.background[100]}; 216 box-shadow: ${e=>e.theme.shadow.level4}; 217 218 ${(0,i.down)(o.Rp.lg)} { 219 padding: 20px; 220 border-radius: 24px; 221 } 222`;h.displayName="ModuleContent";let m=o.I4.div` 223 padding: 20px; 224 width: 100%; 225 border-radius: 32px; 226 background-color: ${e=>e.theme.color.background[100]}; 227 box-shadow: ${e=>e.theme.shadow.level4}; 228 229 ${(0,i.up)(o.Rp.md)} { 230 padding: 32px; 231 } 232 233 ${(0,i.up)(o.Rp.lg)} { 234 padding: 40px; 235 } 236`;m.displayName="ModuleContentSecondary";let g=o.I4.h1` 237 ${a.W} 238 margin: 0 0 12px; 239 240 ${(0,i.down)(o.Rp.lg)} { 241 ${l.I} 242 } 243`,u=o.I4.h2` 244 ${l.I} 245 margin: 0 0 16px; 246 247 ${(0,i.down)(o.Rp.lg)} { 248 ${c.P} 249 } 250`;u.displayName="ModuleTitleSecondary";let f=o.I4.div` 251 display: flex; 252 flex-wrap: wrap; 253 margin: 0 0 44px; 254 255 ${(0,i.down)(o.Rp.lg)} { 256 margin: 0 0 24px; 257 } 258`,w=o.I4.p` 259 ${s} 260 margin: 0 12px 0 0; 261 262 ${(0,i.down)(o.Rp.lg)} { 263 margin-bottom: 4px; 264 } 265`,y=o.I4.p` 266 ${s} 267 margin: 0; 268 color: ${e=>e.theme.color.foreground[60]}; 269`,b=o.I4.ul` 270 padding: 0; 271 margin: 0; 272 list-style: none; 273`;
273b.displayName="ModuleLessonsList";let j=o.I4.li` 274 ${d.a} 275 margin: 0; 276 padding: 0; 277 278 a { 279 font-size: 16px; 280 font-style: normal; 281 font-weight: 400; 282 color: ${e=>e.theme.color.foreground[100]}; 283 284 &:hover { 285 color: ${e=>e.theme.color.link[50]}; 286 } 287 } 288`;j.displayName="ModuleLessonsListItem";let v=(0,o.I4)(j)` 289 display: flex; 290 align-items: center; 291 color: ${e=>e.theme.color.foreground[20]}; 292 293 svg { 294 align-self: center; 295 display: block; 296 margin: 0 0 0 8px; 297 width: 16px; 298 height: 16px; 299 } 300`;v.displayName="ModuleLessonsListItemLocked";let C=o.I4.div` 301 margin-left: auto; 302 a { 303 color: ${e=>e.theme.color.link[100]}; 304 } 305`;C.displayName="ModuleLessonsListItemBuyLink";let k=o.I4.div` 306 padding: 24px 0; 307 308 ${(0,i.up)(o.Rp.md)} { 309 display: flex; 310 justify-content: center; 311 padding-top: 32px; 312 padding-bottom: 44px; 313 } 314`;k.displayName="ModuleLessonsAction";let I=o.I4.div` 315 width: 343px; 316 display: flex; 317 align-items: center; 318 justify-content: center; 319`;o.I4.span` 320 width: 100%; 321 display: block; 322 margin: 16px 0; 323 border-bottom: 1px solid ${({theme:e})=>e.control.thertiary}; 324`.displayName="ListItemDivider";let _=o.I4.div` 325 border-bottom: 1px solid ${({theme:e})=>e.control.thertiary}; 326 padding: 16px 0; 327 328 &:first-child { 329 padding-top: 0; 330 } 331 &:last-child { 332 padding-bottom: 0; 333 border-bottom: 0; 334 } 335`;_.displayName="ListItemContainer"},94156:(e,t,n)=>{n.d(t,{e:()=>l});var i=n(54568),o=n(98342),r=n(41606),d=n(62315),s=n(95953),a=n(41230);(0,d.d)(["contacts"]);let l=({contacts:e})=>{let{t}=(0,d.B)(),n=(e=>{let t=String(e?.map_provider??"").toLowerCase();if(e?.latitude==null||e?.longitude==null)return null;let n=Number(e.latitude),i=Number(e.longitude);return Number.isFinite(n)&&Number.isFinite(i)?"yandex"===t?`https://yandex.ru/map-widget/v1/?ll=${i}%2C${n}&pt=${i}%2C${n}&z=16`:"google"===t?`https://www.google.com/maps?q=${n},${i}&z=16&output=embed`:null:null})(e),l=e?.social_links?.filter(e=>e.social_link)??[];return(0,i.jsxs)(a._A,{children:[e?.detail&&(0,i.jsxs)(a.iR,{$area:"req",children:[(0,i.jsx)("h2",{children:t("contacts:blocks.details.title")}),(0,i.jsx)(a.mv,{children:(0,i.jsx)(o.X,{content:e.detail})})]}),(0,i.jsxs)(a.iR,{$area:"contacts",children:[(0,i.jsx)("h2",{children:t("contacts:blocks.contacts_us.title")}),(e?.phone||e?.email)&&(0,i.jsxs)(a.sx,{children:[e?.phone&&(0,i.jsx)(a.fg,{children:(0,i.jsxs)(r.Link,{href:`tel:${e.phone}`,children:[(0,i.jsx)(a.hh,{children:(0,i.jsx)(s.UpG,{})}),e.phone]})}),e?.email&&(0,i.jsx)(a.fg,{children:(0,i.jsxs)(r.Link,{href:`mailto:${e.email}`,children:[(0,i.jsx)(a.hh,{children:(0,i.jsx)(s.SG$,{})}),e.email]})})]}),l.length>0&&(0,i.jsx)(a.p$,{children:l.map(({value:e,social_link:t},n)=>(0,i.jsx)(a.yP,{href:e,target:"_blank",rel:"noreferrer noopener",children:(0,i.jsx)(r.ModernButton,{appearance:r.ModernButtonAppearance.Secondary,size:"md",isFullWidth:!0,iconStart:(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:t.icon}}),children:t.title})},`${n}_${t.id}`))})]}),e?.address&&(0,i.jsxs)(a.iR,{$area:"addr",$tight:!0,children:[(0,i.jsx)("h2",{children:t("contacts:blocks.address.title")}),(0,i.jsx)(a.Rp,{children:e.address}),n&&(0,i.jsx)(a.DC,{title:t("contacts:blocks.address.map"),src:n,loading:"lazy",allowFullScreen:!0,referrerPolicy:"no-referrer-when-downgrade"})]})]})}},97145:(e,t,n)=>{n.d(t,{ErrorPage404:()=>w});var i=n(54568),o=n(71430),r=n.n(o),d=n(9357),s=n(95953),a=n(54001),l=n(1434),c=n(8988);let p=c.styled.div.withConfig({componentId:"sc-24fdd6aa-0"})(["display:flex;flex:1;justify-content:center;align-items:center;min-height:74vh;height:100%;"]);p.displayName="Container";let x=c.styled.div.withConfig({componentId:"sc-24fdd6aa-1"})(["display:flex;width:100%;flex-direction:column;justify-content:center;align-items:center;height:calc(100vh - 98px - 105px - 40px);padding:0 50px;position:relative;gap:40px;@media (max-width:1400px){padding:0;}","{height:auto;}","{gap:30px;height:calc(100vh - 70px - 40px);}","{gap:24px;}"],(0,l.down)("lg"),(0,l.down)("md"),(0,l.down)("sm"));x.displayName="Content";let h=c.styled.span.withConfig({componentId:"sc-24fdd6aa-2"})(["font-family:",";font-weight:700;font-size:294px;line-height:0.89;","{font-size:220px;line-height:186.8px;}","{font-size:180px;line-height:160.2px;}","{font-size:140px;line-height:121.6px;}"],({theme:e})=>e.fonts.main,(0,l.down)("xxl"),(0,l.down)("md"),(0,l.down)("sm"));h.displayName="ErrorCode";let m=c.styled.span.withConfig({componentId:"sc-24fdd6aa-3"})(["font-family:",";font-weight:700;font-size:64px;line-height:70px;letter-spacing:-2px;color:#ffffff;text-align:center;max-width:730px;position:relative;width:100%;height:180px;","{height:146px;font-size:48px;line-height:52.8px;letter-spacing:-1px;}","{height:118px;font-size:35px;font-size:clamp(28px,7.5vw,35px);line-height:39.6px;letter-spacing:0;}","{height:84px;font-size:24px;line-height:24.6px;letter-spacing:-1px;}"],({theme:e})=>e.fonts.main,(0,l.down)("xxl"),(0,l.down)("md"),(0,l.down)("sm"));m.displayName="ErrorText";let g=c.styled.mark.withConfig({componentId:"sc-24fdd6aa-4"})(["background-color:#0146af;color:inherit;border-radius:8px;border-bottom-left-radius:40px;border-bottom-right-radius:40px;padding:16px 32px;position:absolute;width:min-content;white-space:nowrap;left:50%;transform:",";z-index:",";","{padding:12px 24px;border-bottom-left-radius:24px;border-bottom-right-radius:24px;transform:",";}"],({$isSecondRow:e})=>e?"translateX(-50%) translateY(10%)":"translateX(-50%)",({$isSecondRow:e})=>+!e,(0,l.down)("sm"),({$isSecondRow:e})=>e?"translateX(-50%) translateY(24%)":"translateX(-50%)");g.displayName="ErrorMark";let u=c.styled.div.withConfig({componentId:"sc-24fdd6aa-5"})(["display:flex;gap:48px;letter-spacing:1px;","{gap:6px;justify-content:space-around;width:100%;max-width:440px;}","{justify-content:center;width:auto;flex-direction:column;gap:24px;}"],(0,l.down)("md"),(0,l.down)("sm"));u.displayName="LinksRow";let f=c.styled.span.withConfig({componentId:"sc-24fdd6aa-6"})(["display:flex;align-items:center;font-weight:400;font-size:18px;line-height:28px;white-space:nowrap;color:#000000;gap:6px;","{font-size:16px;line-height:24px;}","{font-size:14px;line-height:22px;gap:8px;}"],(0,l.down)("md"),(0,l.down)("sm"));function w(){let{t:e}=(0,d.Bd)(["error","nav"]);return(0,i.jsx)(p,{children:(0,i.jsxs)(x,{children:[(0,i.jsx)(h,{children:"404"}),(0,i.jsx)(m,{children:(0,i.jsx)(d.x6,{t:e,i18nKey:"404",components:{b:(0,i.jsx)(g,{}),c:(0,i.jsx)("br",{}),d:(0,i.jsx)(g,{$isSecondRow:!0})}})}),(0,i.jsxs)(u,{children:[(0,i.jsx)(r(),{href:"/",children:(0,i.jsxs)(f,{children:[(0,i.jsx)(s.iyu,{}),e("nav:main")]})}),(0,i.jsx)(r(),{href:a.JZ.subjects.index,children:(0,i.jsxs)(f,{children:[(0,i.jsx)(s.iyu,{}),e("nav:courses")]})}),(0,i.jsx)(r(),{href:"/contacts/",children:(0,i.jsxs)(f,{children:[(0,i.jsx)(s.iyu,{}),e("nav:contacts")]})})]})]})})}f.displayName="LinkText"}
335,98649:(e,t,n)=>{n.d(t,{ContactPageClient:()=>c});var i=n(54568),o=n(62315),r=n(94156),d=n(1434),s=n(8988),a=n(84857);let l=s.styled.main.withConfig({componentId:"sc-f0bf63e0-0"})(["padding-top:40px;","{padding-bottom:40px;}h1{"," margin:0 0 36px;","{"," margin:0 0 24px;}}"],(0,d.up)("xl"),a.JX,(0,d.down)("sm"),a.Qz);(0,o.d)(["pages","common","contacts"]);let c=({contacts:e})=>{let{t}=(0,o.B)();return(0,i.jsxs)(l,{children:[(0,i.jsx)("h1",{children:t("contacts:title")}),(0,i.jsx)(r.e,{contacts:e})]})}}}]);
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.