PageSourceSearch

https://grow.almabetter.com/static/js/20.28aef1a1.chunk.js

js almabetter.com collected 2026-10-02 10:20:47 UTC 21,211 bytes, 1 lines download raw bytes

1(this["webpackJsonpalma-student"]=this["webpackJsonpalma-student"]||[]).push([[20],{1928:function(e,t,s){"use strict";s.r(t);var n=s(3),c=s(894),i=s(895),l=s(7),r=s(718),a=s.n(r),o=s(1145),d=s(2);const u=e=>{let{children:t,...s}=e;return Object(d.jsx)("button",{className:"bg-learn-primary rounded-sm w-full sm:w-60 py-3 text-white text-base sm:block hidden",style:{boxShadow:"0px 4px 8px rgba(240, 0, 55, 0.22)"},id:"continue-button-onboarding",...s,children:t})},j=e=>{let{children:t,desktop:s,className:n,...c}=e;return Object(d.jsxs)("button",{className:a()("flex items-center gap-1 rounded-sm",s?"px-2":"text-learn-primary",n),...c,children:[Object(d.jsx)(o.b,{size:24}),t]})};var b=s(750);var g=function(e){var t,s;let{handleBackPress:r,handleNextStep:a,onboarding:o}=e;const[g,x]=Object(n.useState)(0),[m,O]=Object(n.useState)(l.g.masters),[h,p]=Object(n.useState)(null===o||void 0===o?void 0:o.courseInterest),{width:v}=Object(b.a)(),f=m.map((e=>e));return Object(d.jsxs)("div",{className:"grid gap-4 w-full px-2",children:[Object(d.jsx)(j,{className:"md:hidden",onClick:r,children:"Back"}),Object(d.jsx)("h1",{className:"text-xl",children:"Tell us what goal you want to pursue?"}),Object(d.jsx)("div",{className:"flex items-center gap-2",children:["Masters","Fellowship","Certifications"].map(((e,t)=>Object(d.jsx)("div",{className:"rounded-md px-4 py-2 text-xs cursor-pointer",style:{backgroundColor:t===g?"#F9E0E2":"#ffffff",color:t===g?"#F00037":"#787878",border:t===g?"1px solid transparent":"1px solid #787878"},onClick:()=>{x(t),"Certifications"===e?O(l.g.certification):"Masters"===e?O(l.g.masters):"Fellowship"===e&&O(l.g.fellowship)},children:e},t)))}),Object(d.jsxs)("div",{className:"block md:inline-flex items-center gap-6 text-sm mb-5",children:[Object(d.jsxs)("div",{className:"inline-flex items-center gap-2",children:[Object(d.jsx)("div",{children:Object(d.jsx)("img",{src:c.a,alt:"graduation cap"})}),Object(d.jsxs)("div",{children:["For: ",null===(t=m[0])||void 0===t?void 0:t.for]})]}),Object(d.jsxs)("div",{className:"inline-flex items-center gap-2",children:[Object(d.jsx)("div",{children:Object(d.jsx)("img",{src:i.a,alt:"wallet icon with check"})}),Object(d.jsxs)("div",{children:["Outcome: ",null===(s=m[0])||void 0===s?void 0:s.outcome]})]})]}),Object(d.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4",children:f.map(((e,t)=>{var s,n,c,i,r,o,u,j,b,g,x,m,O,f,w,N;return Object(d.jsxs)("div",{className:"border border-solid px-4 py-2 rounded-md relative pt-10",style:{backgroundColor:"#F9F1F1"},onClick:()=>{p(null===e||void 0===e?void 0:e.courseType),v<768&&a({courseInterest:null===e||void 0===e?void 0:e.courseType})},children:[Object(d.jsx)("div",{children:null===e||void 0===e?void 0:e.name}),Object(d.jsxs)("div",{className:"flex items-center gap-3 text-sm xl:text-sm mt-3",style:{color:"#6C6C6C"},children:[Object(d.jsxs)("div",{className:"flex gap-2 items-center",children:[Object(d.jsx)("span",{children:"\u2022"}),Object(d.jsxs)("span",{children:[null===e||void 0===e?void 0:e.duration," "]})]}),Object(d.jsxs)("div",{className:"flex gap-2 items-center",children:[Object(d.jsx)("span",{children:"\u2022"}),Object(d.jsx)("span",{children:null===e||void 0===e?void 0:e.type})]}),Object(d.jsxs)("div",{className:"flex gap-2 items-center",children:[Object(d.jsx)("span",{children:"\u2022"}),Object(d.jsx)("span",{children:null===e||void 0===e?void 0:e.classType})]})]}),((null===e||void 0===e||null===(s=e.accredited)||void 0===s?void 0:s.europeanHea)||(null===e||void 0===e||null===(n=e.accredited)||void 0===n?void 0:n.miaUniversity)||(null===e||void 0===e||null===(c=e.accredited)||void 0===c?void 0:c.iitPatna)||(null===e||void 0===e||null===(i=e.accredited)||void 0===i?void 0:i.iitGuwahati)||(null===e||void 0===e||null===(r=e.accredited)||void 0===r?void 0:r.nasscom)||(null===e||void 0===e||null===(o=e.accredited)||void 0===o?void 0:o.nsdc)||(null===e||void 0===e||null===(u=e.accredited)||void 0===u?void 0:u.skillIndia))&&Object(d.jsxs)("div",{className:"mt-3",children:[Object(d.jsx)("div",{className:"text-xs mb-1",style:{color:"#6C6C6C"},children:"Accredited By"}),Object(d.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(null===e||void 0===e||null===(j=e.accredited)||void 0===j?void 0:j.europeanHea)&&Object(d.jsxs)(d.Fragment,{children:[Object(d.jsx)("img",{src:l.t.europeanHea,alt:"European HEA",className:"object-contain",style:{height:"36px",width:"auto"}}),Object(d.jsx)("div",{className:"h-5 w-px bg-gray-300"})]}),(null===e||void 0===e||null===(b=e.accredited)||void 0===b?void 0:b.miaUniversity)&&Object(d.jsxs)(d.Fragment,{children:[Object(d.jsx)("img",{src:l.t.miaUniversity,alt:"MIA University",className:"object-contain",style:{height:"36px",width:"80px"}}),Object(d.jsx)("div",{className:"h-5 w-px bg-gray-300"})]}),((null===e||void 0===e||null===(g=e.accredited)||void 0===g?void 0:g.iitPatna)||(null===e||void 0===e||null===(x=e.accredited)||void 0===x?void 0:x.iitGuwahati))&&Object(d.jsxs)(d.Fragment,{children:[Object(d.jsx)("img",{src:l.t.iitPatna,alt:"IIT Patna",className:"object-contain",style:{height:"36px",width:"auto"}}),(null===e||void 0===e||null===(m=e.accredited)||void 0===m?void 0:m.nasscom)&&Object(d.jsx)("div",{className:"h-5 w-px bg-gray-300"})]}),(null===e||void 0===e||null===(O=e.accredited)||void 0===O?void 0:O.nasscom)&&Object(d.jsx)("img",{src:l.t.nasscom,alt:"Nasscom",className:"object-contain",style:{height:"36px",width:"auto"}}),(null===e||void 0===e||null===(f=e.accredited)||void 0===f?void 0:f.nsdc)&&Object(d.jsxs)(d.Fragment,{children:[Object(d.jsx)("img",{src:l.t.nsdc,alt:"NSDC",className:"object-contain",style:{height:"36px",width:"auto"}}),(null===e||void 0===e||null===(w=e.accredited)||void 0===w?void 0:w.skillIndia)&&Object(d.jsx)("div",{className:"h-5 w-px bg-gray-300"})]}),(null===e||void 0===e||null===(N=e.accredited)||void 0===N?void 0:N.skillIndia)&&Object(d.jsx)("img",{src:l.t.skillIndia,alt:"Skill India",className:"object-contain",style:{height:"36px",width:"auto"}})]})]}),Object(d.jsx)("input",{type:"radio",className:"absolute left-4 top-4 w-4 h-4",value:null===e||void 0===e?void 0:e.courseType,checked:h===(null===e||void 0===e?void 0:e.courseType)})]},t)}))}),Object(d.jsxs)("div",{className:"md:flex hidden gap-4 justify-around w-full mt-6",children:[Object(d.jsx)(j,{onClick:r,desktop:!0,children:"Back"}),Object(d.jsx)(u,{onClick:()=>a({courseInterest:h}),disabled:!h,children:"Done"})]})]})},x=s(31),m=s(153),O=s.p+"static/media/bulb.98f31c09.svg";var h=function(){const e=Object(x.e)(m.e);return Object(d.jsxs)("div",{className:"py-3 mb-6 rounded-md font-extralight flex md:flex-row flex-col md:items-center gap-3 px-3",style:{color:"#7536A7",backgroundColor:"#F6E7FD"},children:[Object(d.jsx)("img",{src:O,alt:"bulb-icon",width:"40",height:"40"}),Object(d.jsxs)("div",{children:[Object(d.jsxs)("p",{className:"md:w-10/12 w-full md:text-base text-lg",children:["Hey ",null===e||void 0===e?void 0:e.firstName,","]}),Object(d.jsx)("span",{className:"md:w-10/12 w-full md:text-base text-lg",children:"Help us know more about you to recommend relevant courses & create a personalised learning experience"})]})]})};const p={GRADUATION_YEAR:function(e){var t;
1let{handleNextStep:s,onboarding:c,setRemoveBackground:i}=e;const{width:l}=Object(b.a)(),[r,a]=Object(n.useState)(null!==(t=null===c||void 0===c?void 0:c.graduationYear)&&void 0!==t?t:""),j=Array.from({length:16},((e,t)=>(new Date).getFullYear()-10+t));return Object(n.useEffect)((()=>(i(l<768),()=>{i(!1)})),[l]),Object(d.jsxs)("div",{className:"grid gap-4 w-full px-2",children:[Object(d.jsx)(h,{}),Object(d.jsx)("h1",{className:"text-xl",children:"Select Your Graduation Year"}),Object(d.jsxs)("form",{className:"relative",children:[Object(d.jsxs)("select",{className:"w-full appearance-none border border-gray-300 rounded px-3 py-2 pr-10 bg-white hover:border-gray-500 focus:outline-none focus:ring focus:border-blue-300",onChange:e=>{a(e.target.value),l<768&&s({graduationYear:e.target.value})},value:r,children:[Object(d.jsx)("option",{value:"",disabled:!0,hidden:!0,children:"Select Graduation Year"}),j.map((e=>Object(d.jsx)("option",{value:e,children:e},e.toString())))]}),Object(d.jsx)(o.a,{size:25,className:"absolute right-2 top-2.5 opacity-50"})]}),Object(d.jsx)("div",{className:"md:flex hidden gap-4 justify-around w-full mt-6",children:Object(d.jsx)(u,{onClick:()=>s({graduationYear:r}),disabled:!r,children:"Continue"})})]})},CURRENTLY_WORKING:function(e){var t;let{handleBackPress:s,handleNextStep:c,onboarding:i,setRemoveBackground:l}=e;const[r,a]=Object(n.useState)(null!==(t=null===i||void 0===i?void 0:i.userType)&&void 0!==t?t:""),{width:o}=Object(b.a)(),g=e=>{a(e),o<768&&c({userType:e})};return Object(n.useEffect)((()=>(l(o<768),()=>{l(!1)})),[o]),Object(d.jsxs)("div",{className:"grid gap-4 w-full px-2",children:[Object(d.jsx)(j,{className:"md:hidden",onClick:s,children:"Back"}),Object(d.jsx)(h,{}),Object(d.jsx)("h1",{className:"text-xl",children:"Are you Currently working?"}),Object(d.jsxs)("form",{className:"border border-solid border-gray-400 bg-white w-full font-thin text-base rounded-md grid items-center",children:[Object(d.jsx)("legend",{className:"sr-only",children:"UserType"}),Object(d.jsxs)("div",{className:"px-4 border-b border-gray-400 cursor-pointer flex gap-4 text-lg items-center",onClick:()=>g("working"),children:[Object(d.jsx)("input",{type:"radio",id:"working",name:"employment-status",className:"cursor-pointer",checked:"working"===r,onChange:()=>g("working")}),Object(d.jsx)("label",{htmlFor:"working",className:"text-gray-400 cursor-pointer w-full py-4",children:"Yes"})]}),Object(d.jsxs)("div",{className:"px-4 border-t border-solid border-gray-400 cursor-pointer flex gap-4 text-lg",onClick:()=>g("not-working"),children:[Object(d.jsx)("input",{type:"radio",id:"not-working",name:"employment-status",className:"cursor-pointer",checked:"not-working"===r,onChange:()=>g("not-working")}),Object(d.jsx)("label",{htmlFor:"not-working",className:"text-gray-400 cursor-pointer w-full py-4",children:"No"})]})]}),Object(d.jsxs)("div",{className:"md:flex hidden gap-4 justify-around w-full mt-6",children:[Object(d.jsx)(j,{onClick:s,desktop:!0,children:"Back"}),Object(d.jsx)(u,{onClick:()=>c({userType:r}),disabled:!r,children:"Continue"})]})]})},NOT_WORKING:function(e){var t;let{handleBackPress:s,handleNextStep:c,onboarding:i,setRemoveBackground:l}=e;const[r,a]=Object(n.useState)(null!==(t=null===i||void 0===i?void 0:i.background)&&void 0!==t?t:""),{width:o}=Object(b.a)(),g=e=>{a(e),o<768&&c({background:e})};return Object(n.useEffect)((()=>(l(o<768),()=>{l(!1)})),[o]),Object(d.jsxs)("div",{className:"grid gap-4 w-full px-2",children:[Object(d.jsx)(j,{className:"md:hidden",onClick:s,children:"Back"}),Object(d.jsx)(h,{}),Object(d.jsx)("h1",{className:"text-xl",children:"Are you currently pursuing a 4-year engineering course or degree?"}),Object(d.jsx)("form",{className:"border border-solid border-gray-400 bg-white w-full font-thin text-base rounded-md",children:Object(d.jsxs)("fieldset",{children:[Object(d.jsx)("legend",{className:"sr-only",children:"Employment Backgroun
1d"}),Object(d.jsxs)("div",{className:"px-4 border-b border-gray-400 cursor-pointer flex gap-4 text-lg items-center w-full",onClick:()=>g("engineering"),children:[Object(d.jsx)("input",{type:"radio",id:"engineering",name:"background",checked:"engineering"===r,onChange:()=>g("engineering"),className:"cursor-pointer"}),Object(d.jsx)("label",{htmlFor:"engineering",className:"text-gray-400 cursor-pointer w-full py-4",children:"Yes"})]}),Object(d.jsxs)("div",{className:"px-4 border-t border-solid border-gray-400 cursor-pointer flex gap-4 text-lg",onClick:()=>g("non-engineering"),children:[Object(d.jsx)("input",{type:"radio",id:"non-engineering",name:"background",checked:"non-engineering"===r,onChange:()=>g("non-engineering"),className:"cursor-pointer"}),Object(d.jsx)("label",{htmlFor:"non-engineering",className:"text-gray-400 cursor-pointer w-full py-4",children:"No"})]})]})}),Object(d.jsxs)("div",{className:"md:flex hidden gap-4 justify-around w-full mt-6",children:[Object(d.jsx)(j,{onClick:s,desktop:!0,children:"Back"}),Object(d.jsx)(u,{onClick:()=>c({background:r}),disabled:!r,children:"Continue"})]})]})},CHOOSE_GOAL:g};var v=function(e){let{screen:t,backStep:s,nextStep:n,onboarding:c,setRemoveBackground:i}=e;const l=p[t];return l?Object(d.jsx)(l,{pageType:t,handleBackPress:s,handleNextStep:n,onboarding:c,setRemoveBackground:i}
1):Object(d.jsx)(d.Fragment,{})},f=s(21),w=s(25),N=s(113),y=s(203);function k(){var e,t;const s=localStorage.getItem(l.s.REDIRECT_TO),n=null===s||void 0===s||null===(e=s.split("/"))||void 0===e||null===(t=e.slice(3,4))||void 0===t?void 0:t[0];return n&&(localStorage.setItem("courseSelected",n),y.a.dispatch(Object(N.g)(n))),localStorage.removeItem(l.s.REDIRECT_TO),s}const C=e=>{let{redirect:t,history:s}=e;const n=t||k(),c=Object(l.I)();if(null!==n&&void 0!==n&&n.includes(c)){const e=n.replace(c,"");return s.replace(e)}const i=n||c;window.location.replace(i)};var S=s(260),R=s(257),A=s(764),I=s(754),E=s(126),_=s(49);var T=function(e){let{screen:t,setScreen:s,setLoader:n,onboarding:c,updateScreenData:i,isComplete:r,setUpdateScreenData:a}=e;const o=Object(x.d)(),d=Object(x.e)(m.e),u=(new Date).getFullYear(),j=Object(_.useHistory)(),b=e=>{const n=((e,t)=>{switch(e){case"GRADUATION_YEAR":return t?"CURRENTLY_WORKING":"NOT_WORKING";case"CURRENTLY_WORKING":case"NOT_WORKING":return"CHOOSE_GOAL";default:return"GRADUATION_YEAR"}})(t,parseInt(null!==e&&void 0!==e&&e.graduationYear?null===e||void 0===e?void 0:e.graduationYear:null===i||void 0===i?void 0:i.graduationYear)<u);s(n),"CURRENTLY_WORKING"!==t&&"NOT_WORKING"!==t||O()},g=async()=>{const e=await o(Object(E.c)()),t="web3"===(null===e||void 0===e?void 0:e.courseInterest)?l.h.WEB_DEV:null===e||void 0===e?void 0:e.courseInterest;if(t){try{const e=(e=>{var t;return null!==(t=l.J[e])&&void 0!==t?t:{}})(t),s={goal:{goalType:null===e||void 0===e?void 0:e.goalType,planType:null===e||void 0===e?void 0:e.planType}};if(await Object(w.f)(s)){const e=await Object(w.Z)(s);e&&o(Object(N.j)(e))}}catch(s){console.error(s)}await y(t)}else n(!1)},O=()=>{parseInt(null===i||void 0===i?void 0:i.graduationYear)<u?h():p()},h=()=>{["not-working","working"].includes(null===i||void 0===i?void 0:i.userType)&&window.gtag&&window.gtag("event","conversion",{send_to:"AW-595701718/cvF-COGA3Z4YENbfhpwC",transaction_id:d.id})},p=()=>{null!==c&&void 0!==c&&c.courseInterest&&v()},v=async()=>{const e=await o(Object(E.c)()),t="web3"===(null===e||void 0===e?void 0:e.courseInterest)?l.h.WEB_DEV:null===e||void 0===e?void 0:e.courseInterest;if(t){o(Object(N.g)(t)),o(Object(E.k)(t)),localStorage.setItem("courseSelected",t);return localStorage.getItem(l.s.REDIRECT_TO)?C({history:j}):j.replace(f.a.COURSE_LMS_DASHBOARD.LEARN_HOME(t))}},y=e=>{o(Object(N.g)(e)),o(Object(E.k)(e)),localStorage.setItem("courseSelected",e);return localStorage.getItem(l.s.REDIRECT_TO)?C({history:j}):j.push(f.a.COURSE_LMS_DASHBOARD.LEARN_HOME(e))};return{nextStep:async e=>{try{n(!0),await Object(w.O)({...i,...e}),o(Object(E.o)({...i,...e})),a({...i,...e}),r?await g():b(e)}catch(t){console.error(t)}finally{r||n(!1)}},backStep:()=>{const e=((e,t)=>{switch(e){case"CURRENTLY_WORKING":case"NOT_WORKING":default:return"GRADUATION_YEAR";case"CHOOSE_GOAL":return t?"CURRENTLY_WORKING":"NOT_WORKING"}})(t,parseInt(null===c||void 0===c?void 0:c.graduationYear)<u);s(e)}}};t.default=function(e){let{onboarding:t}=e;const s=Object(x.d)(),c=Object(x.e)(N.a),i=Object(A.useHistory)(),[r,o]=Object(n.useState)(!1),[u,j]=Object(n.useState)("GRADUATION_YEAR"),[b,g]=Object(n.useState)({}),[m,O]=Object(n.useState)(!1),h=(new Date).getFullYear(),{userType:p,background:y,graduationYear:E}=null!==t&&void 0!==t?t:{},{nextStep:_,backStep:D}=T({screen:u,setScreen:j,setLoader:O,onboarding:t,updateScreenData:b,isComplete:"CHOOSE_GOAL"===u,setUpdateScreenData:g});Object(n.useEffect)((()=>{t&&(p||y?j("CHOOSE_GOAL"):E?parseInt(E)>h?j("NOT_WORKING"):j("CURRENTLY_WORKING"):j("GRADUATION_YEAR"),g({...t}))}),[]);const G=async()=>{if(t&&t.courseInterest&&(t.userType||t.background))return((e,t)=>{const s=k(),n=localStorage.getItem(l.s.CAMPAIGN_PARAMS);return"null"!==s&&s?C({redirect:s,history:t}):(localStorage.removeItem(l.s.CAMPAIGN_PARAMS),void t.push({pathname:f.a.COURSE_LMS_DASHBOARD.LEARN_HOME(e),search:n}))})(c,i);(()=>{const e=document.getElementById("request-callback");e&&(e.style.display="none")})();const e=sessionStorage.getItem("courseURL");e&&await(async e=>{try{const t=e===l.h.WEB_DEV?"web3":e;await Object(w.O)({courseInterest:t}),sessionStorage.removeItem("courseURL")}catch(t){console.error(t)}})(e),O(!1),s(Object(S.d)(!0))};return Object(n.useEffect)((()=>(G(),()=>{(()=>{const e=document.getElementById("request-callback");null!==e&&void 0!==e&&e.style&&(e.style.display="flex")})(),s(Object(S.d)(!1))})),[]),m?Object(d.jsx)(R.a,{}):Object(d.jsxs)("div",{className:"bg-gray-c20 min-h-screen flex flex-col items-center justify-start relative",children:[Object(d.jsx)("div",{className:"w-full xl:w-8/12 md:w-4/5 md:mt-8",children:Object(d.jsx)(I.a,{progress:"CHOOSE_GOAL"===u?.75:"GRADUATION_YEAR"===u?0:.38,bit:!0,rounded:!1})}),Object(d.jsx)("div",{className:"md:h-auto w-full md:flex-grow-0 flex-grow grid place-items-center",children:Object(d.jsx)("div",{className:a()("md:mt-11 mt-4 grid place-items-center mb-4 w-full xl:w-8/12 md:w-4/5 h-auto px-4 py-6 font-semibold text-lg",r?"":"bg-white"),children:v({screen:u,backStep:D,nextStep:_,onboarding:t,setRemoveBackgroun
1d:o})})})]})}},750:function(e,t,s){"use strict";var n=s(3),c=s.n(n);t.a=function(){const[e,t]=c.a.useState({width:void 0,height:void 0});return c.a.useEffect((()=>{function e(){t({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}),[]),e}},754:function(e,t,s){"use strict";s(3);var n=s(2);var c=()=>Object(n.jsxs)("svg",{width:"9",height:"8",viewBox:"0 0 9 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Object(n.jsx)("path",{d:"M0.829397 7.35309L4.81059 0.841556L8.82936 7.32997L0.829397 7.35309Z",fill:"url(#paint0_linear_1_4)"}),Object(n.jsx)("defs",{children:Object(n.jsxs)("linearGradient",{id:"paint0_linear_1_4",x1:"1.82506",y1:"5.85021",x2:"7.32503",y2:"5.83431",gradientUnits:"userSpaceOnUse",children:[Object(n.jsx)("stop",{stopColor:"#F00037"}),Object(n.jsx)("stop",{offset:"1",stopColor:"#F00037"})]})})]});var i=()=>Object(n.jsxs)("svg",{width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Object(n.jsx)("path",{d:"M-0.000151902 0.26704L7.62963 0.458026L4.02082 7.18309L-0.000151902 0.26704Z",fill:"url(#paint0_linear_14693_38256)"}),Object(n.jsx)("defs",{children:Object(n.jsxs)("linearGradient",{id:"paint0_linear_14693_38256",x1:"1.79923",y1:"0.377614",x2:"4.56365",y2:"5.1324",gradientUnits:"userSpaceOnUse",children:[Object(n.jsx)("stop",{stopColor:"#F00037"}),Object(n.jsx)("stop",{offset:"1",stopColor:"#F00037"})]})})]}),l=s(151),r=s(718),a=s.n(r);const o={purple:{start:"#684AA7",end:"#E15F7A"},green:{start:"#3D8D7F",end:"#ABD2CC"},blue:{start:"#2760CF",end:"#879DD6"},red:{start:"#DC2F3F",end:"#FFADB5"},"#28AA91":{start:"#28AA91",end:"#28AA91"}};t.a=function(e){let{progress:t,bit:s,height:r,bold:d,gradientColor:u="purple",indicator:j,percentage:b,className:g,rounded:x=!0,textStyle:m,ignoreDivision:O}=e;const h=O?t:100*t,p=h>100?100:parseInt(h)||0;return Object(n.jsxs)("div",{className:a()("flex items-center gap-2",g),children:[!s&&Object(n.jsxs)("span",{className:""+(d?"font-bold":""),style:m,children:[p,"%"]}),Object(n.jsxs)("div",{className:"relative w-full",children:[j&&Object(n.jsx)("div",{className:"absolute",style:{left:`${0===t?-4.8:h>100?94:parseInt(h-6)||0}%`,[j.position]:-40},children:Object(n.jsxs)("div",{className:"flex flex-col items-center",children:["bottom"===j.position&&Object(n.jsx)("div",{className:"-mb-0.5",children:Object(n.jsx)(c,{})}),Object(n.jsx)("div",{className:"flex items-center justify-center w-8 h-8 bg-white border-2 border-solid rounded-full border-learn-primary",children:j.content}),"top"===j.position&&Object(n.jsx)("div",{className:"-mt-0.5",children:Object(n.jsx)(i,{})})]})}),Object(n.jsx)("div",{className:"h-2 bg-gray-300 "+(x?"rounded-full":""),style:{height:null!==r&&void 0!==r?r:"8px"}}),Object(n.jsx)("div",{className:"absolute top-0 h-2 "+(x?"rounded-lg":""),style:{background:`linear-gradient(90deg, ${o[u].start} 21.47%, ${o[u].end} 113.19%)`,width:`${p}%`,height:null!==r&&void 0!==r?r:"8px"}}),b&&0!==t&&Object(n.jsxs)("div",{className:"absolute flex flex-col items-center justify-center -ml-6",style:{left:`${p}%`},children:[Object(n.jsx)(l.pb,{iconStyle:"absolute top-0"}),Object(n.jsxs)("div",{className:"h-6 w-12 text-white rounded-full mt-1.5 flex justify-center items-center text-sm",style:{background:"linear-gradient(90deg, #684AA7 21.47%, #E15F7A 113.19%)"},children:[p," %"]})]})]})]})}},894:function(e,t,s){"use strict";t.a=s.p+"static/media/graduation-cap.349c757c.svg"},895:function(e,t,s){"use strict";t.a=s.p+"static/media/wallet-check.2905d828.svg"}}]);

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.