PageSourceSearch

https://assets.algoexpert.io/spas/main/prod/g1dccc91f56-prod/dist/js/a197884d5f56d4b3d5f0.js

js algoexpert.io collected 2026-10-02 03:20:11 UTC 3,829 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[6781],{60068:(e,s,t)=>{t.r(s),t.d(s,{default:()=>z}),t(33948);var n=t(67294),c=t(89250),o=t(12599),u=t(20617),a=t(39918),i=t(81406),r=t(79949),l=t(68484),d=t(15772),p=t(73149),f=t(53951),g=t(83002),h=t(61107),m=t(22767),v=t(55425),b=t(45633);const k=e=>({fundamentals:"Systems Design Fundamentals",designQuestions:"Systems Design Questions",quiz:"Systems Design Quiz",interviewTips:"Systems Design Interview Tips"}[e]);var S=t(45460),q=t(194),I=t(61815),x=t(90973);var Q=t(85893);const j={courseInfoWidgets:[],subSections:[]},y={fundamentals:{...j},designQuestions:{...j},quiz:{...j},interviewTips:{...j}},z=()=>{const[e,s]=(0,n.useState)(y),[t,o]=(0,n.useState)([]),[S,j]=(0,n.useState)(0),[z,w]=(0,n.useState)(!1),C=(0,p.v9)((e=>e.seFundamentals)),T=(0,p.v9)((e=>e.seQuestions)),W=(0,p.v9)((e=>e.seInterviewTips)),Z=(0,p.v9)((e=>e.seUserData)),P=(0,p.v9)((e=>e.seUnlocks)),G=(0,p.v9)((e=>e.certificateInfo)),R=(0,p.v9)((e=>e.subscriptions)),D=(0,p.I0)(),F=(0,c.s0)(),E=[{status:C.status,fetch:f.p},{status:T.status,fetch:h.zq},{status:W.status,fetch:g.J},{status:Z.status,fetch:v.gF},{status:P.status,fetch:m.Q},{status:G.status,fetch:d.u},{status:R.status,fetch:b.j}],H=E.every((e=>{let{status:s}=e;return"succeeded"===s})),Y=E.some((e=>{let{status:s}=e;return"idle"===s||"loading"===s})),A=E.some((e=>{let{status:s}=e;return"failed"===s}));(0,n.useEffect)((()=>{(0,x.N)("seIndex",{})}),[]),(0,n.useEffect)((()=>{E.forEach((e=>{let{status:s,fetch:t}=e;"idle"===s&&D(t())}))}),[]),(0,n.useEffect)((()=>{H&&M()}),[H]);const M=()=>{const e=N(C.data,T.data.questionsList,W.data,Z.data,P.data,F),{quizScore:t,quizScoreRequired:n}=P.data,c=t>=n?100:0;o([{label:"Quiz (".concat(n,"% required)"),value:"".concat(t,"%")}]),j(c),s(e)};return Y?(0,Q.jsx)(a.Z,{loaderColor:"seAccent"}):A?(0,Q.jsx)(l.Z,{}):(0,Q.jsxs)("div",{className:"H9h7F38kYQewfN5bkIT8",children:[P.data&&(0,Q.jsx)(u.Z,{productName:"systemsexpert",unlocks:P.data,isOpen:z,onClose:()=>w(!1)}),(0,Q.jsxs)("div",{className:"SbHugHh1mUQdZg1irgnF",children:[(0,Q.jsx)("div",{className:"YCeGbe9s2lAYVKkPz5NW",children:(0,Q.jsx)(i.Z,{productName:"systemsexpert",unlocks:P.data,requirements:t,progress:S,productTheme:"se",onButtonClick:()=>w(!0)})}),(0,Q.jsx)("div",{className:"SlZnmvWf1sGqKusPciXQ",children:q.rN.map(((s,t)=>{const n=q.Ih[s],c=e[s];return(0,Q.jsx)(r.Z,{id:"".concat("course-card-").concat(s),title:"".concat(t+1," - ").concat(k(s)),description:n.description,courseInfoWidgets:c.courseInfoWidgets,subSections:c.subSections,productName:"systemsexpert",productTheme:"se",purchasePageRoute:I.Z6.purchase.name},t)}))})]})]})},N=(e,s,t,n,c,u)=>{const a=(0,S.xj)(e),i=Math.ceil(120*s.length/60),r=(0,S.xj)(t);return{fundamentals:{courseInfoWidgets:[{label:C(a),icon:"clock"},{label:"".concat(e.length," Videos"),icon:"video"}],subSections:[{type:"lessons",progress:(0,S.qd)(e,n.fundamentals.completed,{},!0),onClick:()=>{u((0,o.Gn)(q.Ih.fundamentals.coursePageRoute))}}]},designQuestions:{courseInfoWidgets:[{label:C(i),icon:"clock"},{label:"".concat(s.length," Questions"),icon:"pen"}],subSections:[{type:"questions",progress:w(s,n.questions.strike),onClick:()=>{u((0,o.Gn)(q.Ih.designQuestions.coursePageRoute))}}]},interviewTips:{courseInfoWidgets:[{label:C(r),icon:"clock"},{label:"".concat(t.length," Videos"),icon:"video"}],subSections:[{type:"lessons",progress:(0,S.qd)(t,n.interviewTips.completed,{},!0),onClick:()=>{u((0,o.Gn)(q.Ih.interviewTips.coursePageRoute))}}]},quiz:{courseInfoWidgets:[{label:"".concat(q.YA," Minutes"),icon:"clock"}],subSections:[{type:"quiz",progress:c.quizScore,onClick:()=>{u((0,o.Gn)(q.Ih.quiz.coursePageRoute))}}]}}},w=(e,s)=>{const t=e.reduce(((e,t)=>s[t.name]?e+1:e),0),n=e.length;return Math.round(100*t/n)},C=e=>"".concat(e," Hour").concat(e>1?"s":"")}}]);

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.