1import{c as Ot}from"./chunk-XNALWALA.js";import{a as Pt}from"./chunk-C5U5IWI4.js";import{a as me}from"./chunk-4R3ST6Q7.js";import{a as pe}from"./chunk-SO4BF6IT.js";import{a as le}from"./chunk-F56S57KE.js";import"./chunk-2SDMMRFA.js";import{a as Mt}from"./chunk-76IXUWSV.js";import{a as ge}from"./chunk-64JSOIZD.js";import{a as de}from"./chunk-PCLJS74T.js";import"./chunk-V6WYLEE7.js";import{a as ae}from"./chunk-63YG6LLZ.js";import{a as Ct}from"./chunk-SMTLQOYY.js";import{b as re,c as ft,d as xt}from"./chunk-LKVIA6N3.js";import{a as ht,b as oe}from"./chunk-LFKOUABR.js";import{a as se}from"./chunk-L2XT2WWA.js";import{a as bt}from"./chunk-B5U3CDLK.js";import{a as ie}from"./chunk-IJWVHOHL.js";import"./chunk-IOO47YSI.js";import{a as ce}from"./chunk-E5UR2K6O.js";import"./chunk-LKC4Q7TO.js";import{a as vt}from"./chunk-BAMCXKNT.js";import"./chunk-DHEOXHIG.js";import"./chunk-PCE4FLB5.js";import"./chunk-DCWYV7DM.js";import"./chunk-ZBRXLKJX.js";import"./chunk-XQTT574X.js";import"./chunk-XFT76LM3.js";import{a as _t}from"./chunk-O2LLYWBR.js";import"./chunk-6Z3JPFEM.js";import"./chunk-RSNCLY5S.js";import"./chunk-GSU3FJJ7.js";import"./chunk-G2LZSWFE.js";import"./chunk-ESDWQW6R.js";import"./chunk-ZRRI7265.js";import{a as ut}from"./chunk-PGWVIFI7.js";import{a as rt}from"./chunk-VDHMNIPW.js";import"./chunk-7NJJ2OR6.js";import"./chunk-COB7JTXP.js";import{a as et,b as tt}from"./chunk-B7MEV2DH.js";import"./chunk-HHQ3DLDR.js";import{a as mt}from"./chunk-WMQEI62T.js";import{a as dt}from"./chunk-5RW73NUF.js";import{b as pt}from"./chunk-UKCZCKF3.js";import"./chunk-GHXZGKMT.js";import"./chunk-7RWCIHFI.js";import"./chunk-FO7KVHCD.js";import{a as Y}from"./chunk-DTHTIZ5C.js";import{B as Z,i as at}from"./chunk-DLBWLLE6.js";import"./chunk-YAUIJJXG.js";import{a as K}from"./chunk-NKG7VJI6.js";import"./chunk-SM333LUT.js";import"./chunk-GGQDMCFC.js";import{a as st}from"./chunk-KZOGQMYZ.js";import"./chunk-TWZBNSN4.js";import"./chunk-55MTUKAX.js";import"./chunk-2HJPFN3S.js";import"./chunk-HIEQIAO6.js";import"./chunk-WEDN5HGH.js";import"./chunk-BYHBQABE.js";import{a as ct,b as lt,c as ee}from"./chunk-6UAWTFFZ.js";import{f as ne}from"./chunk-XWGGXTBH.js";import"./chunk-GWP52JAF.js";import{a as gt}from"./chunk-SBK5GHAF.js";import{a as te}from"./chunk-FPPRR53P.js";import{a as X}from"./chunk-3UVVCPIT.js";import"./chunk-HNY54GY7.js";import"./chunk-WAF2UKPS.js";import"./chunk-R3QRL77R.js";import"./chunk-G2NZI5V3.js";import{h as A}from"./chunk-62DYWMYT.js";import{a as Ye}from"./chunk-NTCDGAR3.js";import"./chunk-UMK6AGIS.js";import"./chunk-PBAOXUCO.js";import"./chunk-7UZYWCAJ.js";import"./chunk-RIQOBMUM.js";import{j as q,l as Q,m as Je,o as j}from"./chunk-WX25E2HZ.js";import{a as $e,b as qe,f as Qe}from"./chunk-I5K7UUBW.js";import"./chunk-6BAE5M2B.js";import{a as it,b as ot}from"./chunk-GPTXSPLI.js";import"./chunk-WSF7ZPQZ.js";import{e as nt}from"./chunk-7KBFIBUW.js";import"./chunk-JYXQ74JV.js";import"./chunk-7A7LFYDL.js";import"./chunk-IQBBAARC.js";import"./chunk-CWWNL6ZE.js";import"./chunk-FSAIB72R.js";import"./chunk-X474JN3X.js";import{b as Ze}from"./chunk-OLSNRRTA.js";import{j as Xe}from"./chunk-GJNXMHJK.js";import{a as Ke}from"./chunk-ROYL3S4H.js";import{a as w}from"./chunk-XWMJJGBF.js";import{a as J}from"./chunk-5G7452JJ.js";import"./chunk-O6NNHBDA.js";import{h as Ge}from"./chunk-VK3ZU6WP.js";import{G as $,i as Fe,m as Ne,o as G,p as E,u as Ue,v as We}from"./chunk-BRHCVEVW.js";import{Ac as Ee,Ga as I,Ib as D,Ic as C,Jb as Te,Jc as h,Kd as je,Mb as z,Mc as Ae,Me as T,Nc as ze,Ob as r,Oc as a,Pc as s,Qa as M,Qc as c,Qd as W,Ra as P,Rc as p,Sd as k,Tb as Ie,Td as be,Ua as Se,V as ye,Vc as x,Wa as ke,Wc as v,Xc as ve,Zc as O,ac as u,ae as Me,be as Pe,cc as De,db as Ut,ed as f,ge as y,hc as L,hd as l,ic as H,ie as Re,ld as V,mc as m,md as F,me as Ve,nc as Le,nd as N,rd as b,td as U,ud as Be,wd as g,yd as B,zc as He}from"./chunk-7DV7UWC6.js";import"./chunk-XS7UEPGF.js";import{a as Oe,b as we}from"./chunk-IP4IO47A.js";T();T();Ut();T();T();T();var Wt=()=>[1,2,3,4,5,6,7,8,9,10];function Gt(t,o){t&1&&p(0,"div",3)}function $t(t,o){t&1&&(s(0,"div",1),m(1,Gt,1,0,"div",2),c()),t&2&&(r(),a("ngForOf",k(1,Wt)))}var St=(()=>{class t{constructor(e){this.menubarService=e,this.viewport="desktop",this.className="",this.childClass=""}onWindowResize(){window.innerWidth<=600?this.viewport="mobile":this.viewport="desktop"}ngOnInit(){this.menubarService.isBrowser()&&this.onWindowResize()}static{this.\u0275fac=function(n){return new(n||t)(u(A))}}static{this.\u0275cmp=L({type:t,selectors:[["app-masterclasses-loader"]],hostBindings:function(n,i){n&1&&f("resize",function(_){return i.onWindowResize(_)},z)},inputs:{type:"type",className:"className",childClass:"childClass"},standalone:!1,decls:1,vars:1,consts:[[3,"ngIf"],[1,"d2c_banner"],["class","box",4,"ngFor","ngForOf"],[1,"box"]],template:function(n,i){n&1&&m(0,$t,2,2,"ng-template",0),n&2&&a("ngIf",i.type=="banner")},dependencies:[G,E],styles:[".box[_ngcontent-%COMP%]{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:_ngcontent-%COMP%_placeHolderShimmer;animation-name:_ngcontent-%COMP%_placeHolderShimmer;-webkit-animation-timing-function:linear;animation-timing-function:linear;background:#f6f7f8;background:#8da4bf33;background:-webkit-gradient(linear,left top,right top,color-stop(12.36%,rgba(141,164,191,.2)),color-stop(46.93%,rgba(141,164,191,.15)),color-stop(79.14%,rgba(141,164,191,.2)));background:-webkit-linear-gradient(left,rgba(141,164,191,.2) 12.36%,rgba(141,164,191,.15) 46.93%,rgba(141,164,191,.2) 79.14%);background:linear-gradient(306.35deg,#8da4bf33 12.36%,#8da4bf26 46.93%,#8da4bf33 79.14%);-webkit-background-size:800px 104px;background-size:800px 104px;position:relative}@-webkit-keyframes _ngcontent-%COMP%_placeHolderShimmer{0%{background-position:-468px 0}to{background-position:468px 0}}@keyframes _ngcontent-%COMP%_placeHolderShimmer{0%{background-position:-468px 0}to{background-position:468px 0}}.d2c_banner[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}.d2c_banner[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]{min-height:255px;border-radius:20px}@media (max-width: 767px){.d2c_banner[_ngcontent-%COMP%]{white-space:nowrap;display:block;padding-left:0;margin:0;overflow:hidden}.d2c_banner[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]{margin:0;display:inline-block;min-height:172px;width:120px}.d2c_banner[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:not(:last-child){margin-right:10px}}"]})}}return t})();var nn=["appLoginModel"];function on(t,o){if(t&1){let e=O();x(0),s(1,"div",13),f("click",function(){let i=M(e).$implicit,d=l(6);return P(d.openVimeoPlayeModal(i))}),p(2,"img",14),s(3,"div",15)(4,"div",16)(5,"div",17),p(6,"img",18),c()()()(),v()}if(t&2){let e=o.$implicit;r(2),a("src",e==null||e.bannerImage==null?null:e.bannerImage.image_url,D)}}function rn(t,o){if(t&1&&m(0,on,7,1,"ng-container",11),t&2){let e=l().$implicit;a("ngForOf",e)}}function an(t,o){t&1&&(x(0),m(1,rn,1,1,"ng-template",12),v())}function sn(t,o){if(t&1&&(x(0),s(1,"owl-carousel-o",10),m(2,an,2,0,"ng-container",11),c(),v()),t&2){let e=l(3);r(),a("options",e.owlOptions),r(),a("ngForOf",e.pastMasterclassesData)}}function cn(t,o){if(t&1){let e=O();
1x(0),s(1,"div",20),f("click",function(){let i=M(e).$implicit,d=l(5);return P(d.openVimeoPlayeModal(i))}),p(2,"img",14),c(),v()}if(t&2){let e=o.$implicit;r(2),a("src",e==null||e.bannerImage==null?null:e.bannerImage.image_url,D)}}function ln(t,o){if(t&1&&(x(0),m(1,cn,3,1,"ng-container",11),v()),t&2){let e=o.$implicit;r(),a("ngForOf",e)}}function pn(t,o){if(t&1&&(s(0,"div",19),m(1,ln,2,1,"ng-container",11),c()),t&2){let e=l(3);r(),a("ngForOf",e.pastMasterclassesData)}}function dn(t,o){if(t&1&&(x(0),m(1,sn,3,2,"ng-container",5)(2,pn,2,1,"div",9),v()),t&2){let e=l(2);r(),a("ngIf",e.viewport=="desktop"||e.viewport=="tablet"),r(),a("ngIf",e.viewport=="mobile"||(e.pastMasterclassesData==null?null:e.pastMasterclassesData.length)<2)}}function mn(t,o){t&1&&(x(0),p(1,"app-masterclasses-loader",21),v()),t&2&&(r(),a("type","banner"))}function gn(t,o){if(t&1&&(s(0,"div",6)(1,"div",7)(2,"div",8)(3,"h2"),g(4," Past "),s(5,"strong"),g(6,"Masterclasses"),c()()(),m(7,dn,3,2,"ng-container",5)(8,mn,2,1,"ng-container",5),c()()),t&2){let e=l();r(7),a("ngIf",e.pastMasterclassesData),r(),a("ngIf",(e.pastMasterclassesData==null?null:e.pastMasterclassesData.length)<1)}}function un(t,o){if(t&1){let e=O();s(0,"div",22),f("click",function(){M(e);let i=l();return P(i.closeVimeoPlayeModal(null))}),s(1,"div",23)(2,"div",24)(3,"div",25)(4,"div",26)(5,"div",27)(6,"div",28)(7,"div",29)(8,"div",30)(9,"div",31),p(10,"div",32),c(),s(11,"div",33),p(12,"div",32),c(),s(13,"div",34),p(14,"div",32),c()()()(),p(15,"img",35),c()()()(),s(16,"span",36),f("click",function(){M(e);let i=l();return P(i.closeVimeoPlayeModal())}),s(17,"i",37),g(18,"close"),c()(),p(19,"iframe",38),c()()}if(t&2){let e=l();r(19),a("src",e.safeSrc,Te)}}function _n(t,o){t&1&&p(0,"div",39)}function Cn(t,o){if(t&1){let e=O();s(0,"div",40)(1,"em",41),f("click",function(){M(e);let i=l();return P(i.hideInfobox())}),g(2,"close"),c(),p(3,"img",42),s(4,"div",43),p(5,"img",44),s(6,"div",45),g(7," Be "),s(8,"strong"),g(9,"Great"),c(),g(10,". Be "),s(11,"strong"),g(12,"Pro"),c(),g(13,". "),s(14,"span"),g(15,"6 Services, 1 Platform"),c()()(),s(16,"div",46),p(17,"img",47),c(),s(18,"ul")(19,"li"),g(20," 10 AI Mock Tests per month "),c(),s(21,"li"),g(22," 10 AI Mock Interviews per month "),c(),s(23,"li"),g(24," 15% off on all mentorship sessions "),c(),s(25,"li"),g(26," Exclusive access to masterclasses worth INR 2,400 "),c(),s(27,"li"),g(28," Interview prep tools for 100+ companies "),c(),s(29,"li"),g(30," Rewards worth INR 7,200 "),c()(),s(31,"div",48)(32,"span",49),g(33," Know More "),c(),s(34,"span",50),f("click",function(){M(e);let i=l();return P(i.subscriptionPayment())}),p(35,"img",51),g(36," Go Pro Now "),c()()()}if(t&2){let e=l();U("responsiveSlide",e.viewport=="mobile")}}function hn(t,o){}function fn(t,o){if(t&1){let e=O();x(0),s(1,"div",52),f("click",function(){M(e);let i=l();return P(i.closeLoginModal())}),c(),m(2,hn,0,0,"ng-template",null,0,y),v()}}var kt=(()=>{class t{constructor(e,n,i,d,_,S,ue,_e,Ce,he,fe,xe){this.localStorageService=e,this.homeService=n,this.router=i,this.activatedRoute=d,this.gtmService=_,this.authService=S,this.scroller=ue,this.menubarService=_e,this.userDataService=Ce,this.compiler=he,this.injector=fe,this.sanitizer=xe,this.bannerSize=new Ie,this.viewport="desktop",this.noBanner=!1,this.homeSlider={dots:!0,loop:!0,autoplay:!0,autoplaySpeed:1e3,autoplayHoverPause:!0,autoplayTimeout:1e4,items:1,nav:!0,navText:["",""],mouseDrag:!1,margin:12,responsive:{0:{items:1,stagePadding:0,nav:!1,dots:!0,loop:!1,autoplay:!0,margin:10},456:{items:1,stagePadding:0,nav:!1,dots:!0,loop:!1,autoplay:!0},601:{items:1},769:{items:1},873:{items:2},1025:{items:2},1280:{items:2},1367:{items:2},1441:{items:2},1540:{items:2}}},this.showInfo=!1,this.userLoggedIn=!1,this.isVimeoPlayeModalOpen=null,this.recentMasterClassId="",this.owlOptions={dots:!1,navContainer:".custom-nav",loop:!1,autoplay:!1,autoplayHoverPause:!0,items:3,nav:!0,autoplaySpeed:1e3,navText:["",""],responsive:{0:{items:2,nav:!0,dots:!1,navContainer:""},700:{items:3},901:{items:5}}}}tabScroll(e){this.menubarService.isBrowser()&&(this.scroller.scrollToFirst(e,"start","smooth",-64),this.scroller.doScroll())}onWindowScroll(){if(this.menubarService.isBrowser()){let e=document.documentElement.scrollTop||document.body.scrollTop;this.homeSlider&&e>100&&(this.homeSlider=we(Oe({},this.homeSlider),{autoplayTimeout:5e3}))}}onWindowResize(){this.menubarService.isBrowser()&&(window.innerWidth>1199?this.viewport="desktop":window.innerWidth>767?this.viewport="tablet":this.viewport="mobile")}ngOnDestroy(){}ngOnInit(){this.onWindowResize(),this.getHomeBannerImage(),this.getCurrentUser(),this.activatedRoute.queryParams.subscribe(e=>{this.recentMasterClassId=Number(e.recentMasterClassId)})}imageIsGif(e){return!!e?.bannerImage?.path?.endsWith(".gif")}getHomeBannerImage(){let e=this.router.url.split("/")[1].split("?")[0],n="homepage";(e=="unstop-masterclass"||e=="courses")&&(n="pastmasterclass"),this.homeService.getBannerImage(n).pipe(ye(1)).subscribe(i=>{this.homeBanner=i.data,this.homeBanner&&this.homeBanner.length<2&&(this.noBanner=!0),this.bannerSize.emit(this.homeBanner.length),this.onWindowScroll(),this.pastMasterclassesData=[];let d=2;for(let _=0;_<i?.data.length;_+=d){let S=i?.data.slice(_,_+d);this.pastMasterclassesData.push(S)}if(i.data?.length&&this.recentMasterClassId){let _=i.data.filter(S=>S.id==this.recentMasterClassId);this.openVimeoPlayeModal(_[0])}})}bannerLink(e){this.menubarService.isBrowser()&&e.link&&(e.link_type==0?this.router.navigateByUrl(e.link):e.link_type==1&&window.open(e.link,"_blank"));let n="https://unstop.com/"+e.link;this.followClicked("Home_Banner_Link",n),console.log("banner clicked",e),this.updateBannerClicks(e)}updateBannerClicks(e){if(this.menubarService.isBrowser()){var n=Array(),i=this.localStorageService.getItem("bannerClicks");i&&(n=JSON.parse(i)),n.push(e.id),i=JSON.stringify(n),this.localStorageService.setItem("bannerClicks",i)}}followClicked(e,n){let d=e+"_"+n+", By User: "+"anonymous@notLoggedIn"}getCurrentUser(){this.menubarService.isBrowser()&&this.authService.userSub.subscribe(e=>{e?(this.userLoggedIn=e,this.userLoggedIn&&this.localStorageService.getEncItem("currentUser")&&(this.currentUser=this.localStorageService.getEncItem("currentUser"),this.isAdmin=!1,this.currentUser.userRole&&this.currentUser.userRole.length>0&&this.currentUser.userRole.forEach(n=>
1{n.name=="admin"&&(this.isAdmin=!0)}))):this.currentUser=null})}hideInfobox(){this.showInfo=!1}subscriptionPayment(){if(!this.authService.userLoggedIn){this.router.navigateByUrl("/auth/login?returnUrl=/courses");return}this.router.navigateByUrl("/pro?page=masterclass")}openVimeoPlayeModal(e){this.router.navigateByUrl(`/courses?recentMasterClassId=${e.id}`),this.userLoggedIn?this.userDataService.ispromember()?(this.isVimeoPlayeModalOpen=e,this.safeSrc=this.sanitizer.bypassSecurityTrustResourceUrl(e.link)):this.showInfo=!0:(this.showLoginModel=!0,setTimeout(()=>{this.loadLoginModel()},100))}loadLoginModel(){this.appLoginModel&&import("./chunk-YWLSGSH6.js").then(({LoginModalModule:e})=>{this.compiler.compileModuleAsync(e).then(n=>{let d=n.create(this.injector).instance.resolveComponent(),{instance:_}=this.appLoginModel.createComponent(d,{});_.continueAsGuest=!1,_.loginModal=!0,_.lazyLoading=!0,_.type="type",_.isLoggedIn=this.authService.userLoggedIn,_.exitLoginPanel=S=>{console.log("review initiated",S),this.showLoginModel=!1}})})}closeVimeoPlayeModal(e){this.isVimeoPlayeModalOpen=e}static{this.\u0275fac=function(n){return new(n||t)(u(J),u(ce),u(Q),u(q),u(X),u(ne),u(Y),u(A),u(te),u(Re),u(Se),u(Qe))}}static{this.\u0275cmp=L({type:t,selectors:[["app-masterclasses-banner"]],viewQuery:function(n,i){if(n&1&&V(nn,5,De),n&2){let d;F(d=N())&&(i.appLoginModel=d.first)}},hostBindings:function(n,i){n&1&&f("scroll",function(_){return i.onWindowScroll(_)},z)("resize",function(_){return i.onWindowResize(_)},z)},outputs:{bannerSize:"bannerSize"},standalone:!1,features:[W([ce,Pt])],decls:5,vars:5,consts:[["appLoginModel",""],["class","pro_list masterclasses",4,"ngIf"],["class","vimo-player-modal",3,"click",4,"ngIf"],["class","modal_right_bg ",4,"ngIf"],["class","pro_popup",3,"responsiveSlide",4,"ngIf"],[4,"ngIf"],[1,"pro_list","masterclasses"],[1,"container-un"],[1,"hdngs"],["class","card-wrapper overflow_scroll_bar vertical",4,"ngIf"],[3,"options"],[4,"ngFor","ngForOf"],["carouselSlide",""],[1,"desktop_card",3,"click"],["width","220px","height","340px",3,"src"],[1,"hover-card"],[1,"play-btn-wrapper"],[1,"play-btn","j-center"],["src","https://d8it4huxumps7.cloudfront.net/uploads/images/6569757780974_play_arrow.svg","width","22","height","22","alt","play btn"],[1,"card-wrapper","overflow_scroll_bar","vertical"],[1,"card",3,"click"],[3,"type"],[1,"vimo-player-modal",3,"click"],[1,"play-wrapper"],[1,"loader"],[1,"loader-wrapper"],[1,"loader_main"],[1,"position-relative","loader_wrapper"],[1,"circle_loader"],[1,"preloader-wrapper","big","active"],[1,"spinner-layer","spinner-blue-only"],[1,"circle-clipper","left"],[1,"circle"],[1,"gap-patch"],[1,"circle-clipper","right"],["src","https://d8it4huxumps7.cloudfront.net/uploads/images/unstop/branding-guidelines/icon/unstop-icon.svg"],[1,"close-button",3,"click"],[1,"Medium","material-icons"],["frameborder","0","allow","autoplay; fullscreen; picture-in-picture",3,"src"],[1,"modal_right_bg"],[1,"pro_popup"],[1,"material-icons","close","gtm_close_solution_page",3,"click"],["src","https://d8it4huxumps7.cloudfront.net/uploads/images/unstop-pro/email/unsop-pro.png","alt","Unstop Pro Logo","width","","height","",1,"logo"],[1,"be_great"],["src","https://d8it4huxumps7.cloudfront.net/uploads/images/unstop-pro/be-great.png?d=140x140","alt","Be Great","width","70","height","70"],[1,"cptn"],[1,"masterclass"],["src","https://d8it4huxumps7.cloudfront.net/uploads/images/65448d0617da0_frame_1000010809.png","alt","Master class "],[1,"btm_btn"],["routerLink","/pro",1,"gtm_gopro_page"],[1,"waves-effect","gtm_buypro_solution_page",3,"click"],["src","https://d8it4huxumps7.cloudfront.net/uploads/images/unstop-pro/go-pro-now.png","alt","Go Pro Now","width","18","height","18"],[1,"modal-bg",3,"click"]],template:function(n,i){n&1&&m(0,gn,9,2,"div",1)(1,un,20,1,"div",2)(2,_n,1,0,"div",3)(3,Cn,37,2,"div",4)(4,fn,4,0,"ng-container",5),n&2&&(a("ngIf",(i.pastMasterclassesData==null?null:i.pastMasterclassesData.length)<1&&!i.noBanner||(i.pastMasterclassesData==null?null:i.pastMasterclassesData.length)>1),r(),a("ngIf",i.isVimeoPlayeModalOpen),r(),a("ngIf",i.showInfo),r(),a("ngIf",i.showInfo),r(),a("ngIf",i.showLoginModel))},dependencies:[G,E,lt,ct,K,Je,St],styles:['img[_ngcontent-%COMP%]{width:auto;height:auto}.hdngs[_ngcontent-%COMP%]{margin-bottom:30px;display:flex;align-items:center;justify-content:space-between}.hdngs.vert-center[_ngcontent-%COMP%]{justify-content:center}.hdngs[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-weight:600;font-size:34px;line-height:140%;color:var(--grey-1100);margin-bottom:0}.hdngs[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:var(--primary-700);font-weight:600}.hdngs[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--grey-800);font-weight:400;font-size:16px;line-height:140%;display:block;margin-top:10px}.hdngs[_ngcontent-%COMP%] .view[_ngcontent-%COMP%]{display:flex;align-items:center;color:var(--blue-700);font-size:14px;line-height:140%;cursor:pointer;transition:.3s}.hdngs[_ngcontent-%COMP%] .view[_ngcontent-%COMP%] em[_ngcontent-%COMP%]{margin-left:4px;font-size:18px;transition:.3s}.hdngs[_ngcontent-%COMP%] .view[_ngcontent-%COMP%]:hover em[_ngcontent-%COMP%]{transform:translate(5px)}.hdngs.center[_ngcontent-%COMP%]{justify-content:center}@media (max-width: 767px){.hdngs[_ngcontent-%COMP%]{margin-bottom:16px}.hdngs[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:500}.hdngs[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-weight:500;color:var(--grey-1100)}.hdngs[_ngcontent-%COMP%] .view[_ngcontent-%COMP%]{font-size:12px}}.masterclasses[_ngcontent-%COMP%]{padding-top:100px}.masterclasses[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:20px;font-weight:600;color:var(--primary-700)}.masterclasses[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px;font-weight:400;color:var(--primary-700);margin-top:16px}.masterclasses[_ngcontent-%COMP%] .banner[_ngcontent-%COMP%]{width:100%;height:auto}.masterclasses[_ngcontent-%COMP%] .banner[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;border-radius:12px;transition:.3s}.masterclasses[_ngcontent-%COMP%] .banner[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:hover{transform:scale(1.05)}@media (min-width: 1025px){.masterclasses[_ngcontent-%COMP%] .banner[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:calc(100% - 20px)}}.masterclasses[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%]{display:flex;width:calc(100% + 60px);flex-wrap:wrap;justify-content:flex-start;grid-gap:20px;gap:10px;margin:-30px;padding:30px}.masterclasses[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{width:calc(25% - 20px);border-radius:8px;box-shadow:0 4px 34px #0000001a;transition:.4s all;cursor:pointer}.masterclasses[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;max-height:212px;height:auto;border-radius:8px}@media (max-width: 1199px){.masterclasses[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{width:calc(33% - 20px)}}@media (max-width: 1024px){.masterclasses[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%]{flex-wrap:nowrap;width:calc(100% + 40px);justify-content:flex-start;padding:0 0 10px;margin:0 -20px}.masterclasses[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{min-width:124px;max-width:70%;min-height:192px;box-shadow:none}.masterclasses[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:auto}.masterclasses[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .body[_ngcontent-%COMP%]{width:100%;padding:8px}.masterclasses[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .play-wrapper[_ngcontent-%COMP%]{width:30px;height:30px;min-width:30px;min-height:30px}.masterclasses[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .play-wrapper[_ngcontent-%COMP%]:before{width:42px;height:42px}.masterclasses[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{height:40px}.masterclasses[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:14px}.masterclasses[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:12px;margin-top:8px}.masterclasses[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:first-child{margin-left:20px}.masterclasses[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:last-child{margin-right:20px}}@media (max-width: 767px){.masterclasses[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%]{padding:0}}@media (max-width: 1024px){.masterclasses[_ngcontent-%COMP%]{padding-top:50px}}@media (max-width: 767px){.masterclasses[_ngcontent-%COMP%] .container-un[_ngcontent-%COMP%]{padding:0 15px}.masterclasses[_ngcontent-%COMP%] .owl-carousel{width:auto}.masterclasses[_ngcontent-%COMP%] .owl-prev{left:-60px}.masterclasses[_ngcontent-%COMP%] .owl-next{right:-60px}.masterclasses[_ngcontent-%COMP%] .owl-dots{bottom:-25px}.masterclasses[_ngcontent-%COMP%] .owl-dots .owl-dot.active span{width:6px}}.pro_list[_ngcontent-%COMP%] owl-carousel-o[_ngcontent-%COMP%]{margin:-20px -10px;display:block}@media only screen and (min-width: 768px){.pro_list[_ngcontent-%COMP%] .owl-item .item:not(:last-child){margin-bottom:20px}.pro_list[_ngcontent-%COMP%] .owl-prev, .pro_list[_ngcontent-%COMP%] .owl-next{position:absolute;top:-42px;margin:auto;font-size:18px;transition:.3s;display:flex;cursor:pointer;color:var(--primary-700);width:36px;height:36px;border-radius:50%;text-align:center;background:var(--grey-00);border:1px solid var(--stroke-primary);align-items:center;justify-content:center;right:0}.pro_list[_ngcontent-%COMP%] .owl-prev:hover, .pro_list[_ngcontent-%COMP%] .owl-next:hover{background:var(--primary-700);border-color:var(--primary-700);color:var(--grey-00)}.pro_list[_ngcontent-%COMP%] .owl-prev:before, .pro_list[_ngcontent-%COMP%] .owl-next:before{font-family:Material Icons;font-feature-settings:"liga"}}@media only screen and (min-width: 768px) and (max-width: 1100px){.pro_list[_ngcontent-%COMP%] .owl-prev, .pro_list[_ngcontent-%COMP%] .owl-next{font-size:20px}}@media only screen and (min-width: 768px){.pro_list[_ngcontent-%COMP%] .owl-prev{right:54px}.pro_list[_ngcontent-%COMP%] .owl-prev:before{content:"keyboard_arrow_left"}.pro_list[_ngcontent-%COMP%] .owl-next{right:6px}.pro_list[_ngcontent-%COMP%] .owl-next:before{content:"keyboard_arrow_right"}}@media (max-width: 767px){.pro_list[_ngcontent-%COMP%]{overflow:hidden}}.desktop_card[_ngcontent-%COMP%]{border-radius:8px;box-shadow:0 4px 10px #0000001a;transition:.4s all;cursor:pointer;margin:20px 10px;position:relative;overflow:hidden}.desktop_card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;max-height:340px;height:auto;border-radius:8px}.desktop_card[_ngcontent-%COMP%] .hover-card[_ngcontent-%COMP%]{display:none;position:absolute;bottom:0;left:0;width:100%;height:80px;background:linear-gradient(180deg,#0000,#000000b3 42.65%)}.desktop_card[_ngcontent-%COMP%] .hover-card[_ngcontent-%COMP%] .play-btn-wrapper[_ngcontent-%COMP%]{padding:6px;background-color:#ffffff1a;border-radius:50%;position:absolute;top:16px;left:15px}.desktop_card[_ngcontent-%COMP%] .hover-card[_ngcontent-%COMP%] .play-btn-wrapper[_ngcontent-%COMP%] .play-btn[_ngcontent-%COMP%]{width:40px;height:40px;background-color:var(--grey-00);border-radius:50%}.desktop_card[_ngcontent-%COMP%] .hover-card[_ngcontent-%COMP%] .play-btn-wrapper[_ngcontent-%COMP%] .play-btn[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:22px;height:22px}.desktop_card[_ngcontent-%COMP%]:hover .hover-card[_ngcontent-%COMP%]{display:block}@media screen and (max-width: 1024px){.desktop_card[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{min-width:260px;max-width:70%;min-height:200px;border:1px solid #ffba00;box-shadow:none}.desktop_card[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:auto}.desktop_card[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .body[_ngcontent-%COMP%]{width:100%;padding:8px}.desktop_card[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .play-wrapper[_ngcontent-%COMP%]{width:30px;height:30px;min-width:30px;min-height:30px}.desktop_card[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .play-wrapper[_ngcontent-%COMP%]:before{width:42px;height:42px}.desktop_card[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{height:40px}.desktop_card[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:14px}.desktop_card[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:12px;margin-top:8px}.desktop_card[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:first-child{margin-left:20px}.desktop_card[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:last-child{margin-right:20px}}.vimo-player-modal[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:999;background-color:#0000001a;display:flex;justify-content:center;align-items:center}.vimo-player-modal[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{position:absolute;top:0;right:-40px;width:30px;height:30px;border-radius:16px;background-color:var(--grey-00);z-index:999;display:flex;justify-content:center;align-items:center;cursor:pointer}.vimo-player-modal[_ngcontent-%COMP%] .play-wrapper[_ngcontent-%COMP%]{width:854px;
1height:480px;background:var(--grey-00);border-radius:8px;padding:18px;position:relative}.vimo-player-modal[_ngcontent-%COMP%] .play-wrapper[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center}.vimo-player-modal[_ngcontent-%COMP%] .play-wrapper[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{width:100%;height:100%;z-index:11111111;position:relative}@media (max-width: 767px){.vimo-player-modal[_ngcontent-%COMP%] .play-wrapper[_ngcontent-%COMP%]{width:90%;height:220px;padding:5px}.vimo-player-modal[_ngcontent-%COMP%] .play-wrapper[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{top:-40px;left:0;right:0;margin:auto}}.pro_popup[_ngcontent-%COMP%]{position:fixed;margin:auto;max-height:80vh;z-index:999;border-radius:20px;border:.5px solid #9e9bab;background:#130e39;overflow-y:auto}@media only screen and (min-width: 768px){.pro_popup[_ngcontent-%COMP%]{padding:30px 40px;left:50%;top:50%;width:550px;transform:translate(-50%,-50%)}}.pro_popup[_ngcontent-%COMP%]:after{content:"";background-image:url(https://d8it4huxumps7.cloudfront.net/uploads/images/unstop-pro/popup-vector.png?d=1034x910);position:absolute;top:0;right:0;background-size:100%;background-repeat:no-repeat;width:394px;height:100%;z-index:-1}.pro_popup[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{position:absolute;right:20px;top:20px;width:30px;height:30px;padding:3px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#130e39;color:var(--grey-00);font-size:18px;cursor:pointer;transition:.3s}.pro_popup[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]:hover{background:var(--purple-700)}.pro_popup[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:93px;display:block}.pro_popup[_ngcontent-%COMP%] .be_great[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:20px}.pro_popup[_ngcontent-%COMP%] .be_great[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:70px;display:block}.pro_popup[_ngcontent-%COMP%] .be_great[_ngcontent-%COMP%] .cptn[_ngcontent-%COMP%]{width:calc(100% - 70px);padding-left:10px;color:var(--grey-00);font-size:40px;line-height:120%}.pro_popup[_ngcontent-%COMP%] .be_great[_ngcontent-%COMP%] .cptn[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-weight:600}.pro_popup[_ngcontent-%COMP%] .be_great[_ngcontent-%COMP%] .cptn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;font-size:16px;line-height:120%}.pro_popup[_ngcontent-%COMP%] .masterclass[_ngcontent-%COMP%]{width:100%;margin-top:30px}.pro_popup[_ngcontent-%COMP%] .masterclass[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}.pro_popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:15px 0 0}.pro_popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:var(--grey-00);font-size:14px;line-height:120%;position:relative;padding-left:24px}.pro_popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{content:"check";font-family:Material Icons;font-feature-settings:"liga";font-size:14px;width:14px;height:14px;position:absolute;left:0;top:0;bottom:0;margin:auto}.pro_popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:last-child){margin-bottom:15px}.pro_popup[_ngcontent-%COMP%] .btm_btn[_ngcontent-%COMP%]{margin-top:30px;display:flex;justify-content:space-between}.pro_popup[_ngcontent-%COMP%] .btm_btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{height:50px;padding:0 30px;display:inline-flex;justify-content:center;align-items:center;border-radius:50px;color:#fefefe;font-size:16px;cursor:pointer;transition:.3s}.pro_popup[_ngcontent-%COMP%] .btm_btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{background:#17124580}.pro_popup[_ngcontent-%COMP%] .btm_btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child:hover{background:var(--grey-00);color:#130e39}.pro_popup[_ngcontent-%COMP%] .btm_btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:last-child{background:var(--purple-700);min-width:210px}.pro_popup[_ngcontent-%COMP%] .btm_btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:last-child img[_ngcontent-%COMP%]{margin-right:12px;width:18px}@media (max-width: 767px){.pro_popup[_ngcontent-%COMP%]{left:0;bottom:0;width:100%;padding:20px;border-radius:20px 20px 0 0}.pro_popup[_ngcontent-%COMP%] .be_great[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:50px;height:auto}.pro_popup[_ngcontent-%COMP%] .be_great[_ngcontent-%COMP%] .cptn[_ngcontent-%COMP%]{width:calc(100% - 50px);font-size:24px}.pro_popup[_ngcontent-%COMP%] .be_great[_ngcontent-%COMP%] .cptn[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .pro_popup[_ngcontent-%COMP%] .btm_btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:14px}.pro_popup[_ngcontent-%COMP%] .btm_btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:last-child{min-width:auto}}.loader-wrapper[_ngcontent-%COMP%]{width:100px;position:relative;overflow:hidden}.loader_main[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-height:70vh;justify-content:center;align-items:center}.loader_main[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:48px}.loader_main[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;margin:8px 0 20px;font-size:14px;font-weight:400;font-style:italic;opacity:.8}.circle_loader[_ngcontent-%COMP%]{position:absolute;top:-8px;left:-8px}.circle_loader[_ngcontent-%COMP%] .spinner-blue-only[_ngcontent-%COMP%]{border-color:var(--primary-700)}']})}}return t})();var vn=["carousels"],bn=()=>[de],Mn=()=>({url:"/user/myCourses/all/all",isMobile:!1,btnText:"My Courses"}),Pn=()=>({url:"/user/myCourses/all/all",isMobile:!0,btnText:"My Course"}),On=()=>["grey-800"],wn=t=>({width:t}),yn=t=>({"full-width mt-16 ":t}),Sn=()=>["blue-700"],kn=()=>["grey-00"],Tn=(t,o)=>o.name;function In(t,o){t&1&&(s(0,"div",29),p(1,"app-ai-credit",32),c()),t&2&&(r(),a("type","course"))}function Dn(t,o){if(t&1&&(s(0,"div",9)(1,"div",24)(2,"div",25),p(3,"un-icon",26),g(4," #BeUnstoppable "),c(),s(5,"h1",27),g(6," Online Courses with Certificates "),c(),s(7,"h2",28),g(8,"From tech to non-tech, discover AI-powered courses to upskill and advance your career"),c(),C(9,In,2,1,"div",29),c(),s(10,"div",30),p(11,"img",31),c()()),t&2){let e=l();r(3),a("icon","chat_bot.svg")("size",22),r(6),h(e.userLoggedIn?9:-1)}}function Ln(t,o){t&1&&p(0,"app-static-home-search-bar",10),t&2&&a("activePage","courses")}function Hn(t,o){t&1&&p(0,"app-static-category-card",11),t&2&&a("title","Trending Domains")("tabName","courses")}function En(t,o){if(t&1&&p(0,"app-course-card",36),t&2){let e=o.$implicit;a("item",e)}}function An(t,o){if(t&1&&(s(0,"div",33)(1,"h2",34),g(2,"Free Courses"),c(),s(3,"div",35),Ae(4,En,1,1,"app-course-card",36,Tn),c()()),t&2){let e=l();a("deferContent",e.freeCourseList==null?null:e.freeCourseList.length),r(4),ze(e.freeCourseList)}}function zn(t,o){if(t&1&&ve(0,40),t&2){l(2);let e=b(39);a("ngTemplateOutlet",e)("ngTemplateOutletContext",k(2,Mn))}}function Bn(t,o){if(t&1&&ve(0,40),t&2){l(2);let e=b(39);a("ngTemplateOutlet",e)("ngTemplateOutletContext",k(2,Pn))}}function jn(t,o){if(t&1&&(s(0,"div",37)(1,"div",38)(2,"h2",39),g(3,"Continue where you left off"),c(),C(4,zn,1,3,"ng-container",40),c(),p(5,"un-carousel",41),C(6,Bn,1,3,"ng-container",40),c()),t&2){let e=l(),n=b(11);r(4),h(e.viewport()!="mobile"?4:-1),r(),a("carouselData",e.myCourseList)("itemTemplate",n)("itemsOnDesktop",3),r(),h(e.viewport()=="mobile"?6:-1)}}function Rn(t,o){if(t&1){let e=O();s(0,"div",42),f("click",function(){let i=M(e).data,d=l();return P(d.navigateTo(i.url))}),s(1,"div",43),p(2,"img",44),Me(3,"addCDN"),c(),s(4,"div",24)(5,"div",45),g(6),c(),s(7,"div",46)(8,"div",47)(9,"span"),p(10,"un-icon",48),g(11),c(),s(12,"strong"),g(13),c()(),s(14,"div",49),p(15,"div"),c()()()()}if(t&2){let e=o.data;r(2),a("alt",je(e==null?null:e.title))("src",Pe(3,10,e==null||e.mobile_banner==null?null:e.mobile_banner.path),D),r(4),B(" ",e==null?null:e.title," "),r(4),a("size",16)("color",k(12,On)),r(),B(" ",e==null?null:e.module_count," Modules "),r(2),B("",e==null?null:e.module_percent,"%"),r(2),Be(be(13,wn,(e==null?null:e.module_percent)+"%"))}}function Vn(t,o){}function Fn(t,o){t&1&&m(0,Vn,0,0,"ng-template")}function Nn(t,o){}function Un(t,o){t&1&&m(0,Nn,0,0,"ng-template")}function Wn(t,o){if(t&1&&m(0,Fn,1,0,null,14)(1,Un,1,0,null,14),t&2){let e=l(),n=b(31),i=b(33);a("ngTemplateOutlet",e.engineeringStudents?n:null),r(),a("ngTemplateOutlet",e.engineeringStudents?i:null)}}function Gn(t,o){}function $n(t,o){t&1&&m(0,Gn,0,0,"ng-template")}function qn(t,o){}function Qn(t,o){t&1&&m(0,qn,0,0,"ng-template")}function Jn(t,o){if(t&1&&m(0,$n,1,0,null,14)(1,Qn,1,0,null,14),t&2){let e=l(),n=b(31),i=b(33);a("ngTemplateOutlet",e.engineeringStudents?null:i),r(),a("ngTemplateOutlet",e.engineeringStudents?null:n)}}function Kn(t,o){}function Yn(t,o){t&1&&m(0,Kn,0,0,"ng-template")}function Xn(t,o){t&1&&(s(0,"div",53),g(1," Start or switch your career by upskilling with job-ready skills. "),c())}function Zn(t,o){if(t&1&&p(0,"un-carousel",41),t&2){let e=l(2),n=b(37);a("carouselData",e.softwareToolsData)("itemTemplate",n)("itemsOnDesktop",4)}}function ei(t,o){t&1&&(x(0),p(1,"app-home-common-loader",32),v()),t&2&&(r(),a("type","coursesCardLoader"))}function ti(t,o){if(t&1){let e=O();s(0,"div",50),f("appLazyLoadApi",function(i){M(e);let d=l();return P(d.lazyLoadApi(i))}),s(1,"h2",34),g(2," Software Tools "),m(3,Xn,2,0,"div",51),c(),C(4,Zn,1,3,"un-carousel",41),m(5,ei,2,1,"ng-container",52),c()}if(t&2){let e=l();r(3),a("ngIf",e.viewport()!="mobile"),r(),h((e.softwareToolsData==null?null:e.softwareToolsData.length)>=3&&e.softwareToolsData?4:-1),r(),a("ngIf",!e.softwareToolsData)}}function ni(t,o){t&1&&(s(0,"div",53),g(1," Learn fundamental and advanced concepts of high-demand programming languages with ease! "),c())}function ii(t,o){if(t&1){let e=O();s(0,"app-home-filter",55),f("tabSelected",function(i){M(e);let d=l(2);return P(d.switchCategory(i))}),c()}if(t&2){let e=l(2);a("filterTabs",e.categoryTabs)}}function oi(t,o){if(t&1&&p(0,"un-carousel",41),t&2){let e=l(3),n=b(37);a("carouselData",e.languagesCourseSubData1)("itemTemplate",n)("itemsOnDesktop",4)}}function ri(t,o){t&1&&(x(0),p(1,"app-home-common-loader",32),v()),t&2&&(r(),a("type","coursesCardLoader"))}function ai(t,o){if(t&1&&(s(0,"div"),C(1,oi,1,3,"un-carousel",41),m(2,ri,2,1,"ng-container",52),c()),t&2){let e=l(2);r(),h((e.languagesCourseSubData1==null?null:e.languagesCourseSubData1.length)>=4&&e.languagesCourseSubData1?1:-1),r(),a("ngIf",!e.languagesCourseSubData1)}}function si(t,o){if(t&1&&p(0,"un-carousel",41),t&2){let e=l(3),n=b(37);a("carouselData",e.languagesCourseSubData2)("itemTemplate",n)("itemsOnDesktop",4)}}function ci(t,o){t&1&&(x(0),p(1,"app-home-common-loader",32),v()),t&2&&(r(),a("type","coursesCardLoader"))}function li(t,o){if(t&1&&(s(0,"div"),C(1,si,1,3,"un-carousel",41),m(2,ci,2,1,"ng-container",52),c()),t&2){let e=l(2);r(),h((e.languagesCourseSubData2==null?null:e.languagesCourseSubData2.length)>=4&&e.languagesCourseSubData2?1:-1),r(),a("ngIf",!e.languagesCourseSubData2)}}function pi(t,o){if(t&1&&p(0,"un-carousel",41),t&2){let e=l(3),n=b(37);a("carouselData",e.languagesCourseSubData3)("itemTemplate",n)("itemsOnDesktop",4)}}function di(t,o){t&1&&(x(0),p(1,"app-home-common-loader",32),v()),t&2&&(r(),a("type","coursesCardLoader"))}function mi(t,o){if(t&1&&(s(0,"div"),C(1,pi,1,3,"un-carousel",41),m(2,di,2,1,"ng-container",52),c()),t&2){let e=l(2);r(),h((e.languagesCourseSubData3==null?null:e.languagesCourseSubData3.length)>=4&&e.languagesCourseSubData3?1:-1),r(),a("ngIf",!e.languagesCourseSubData3)}}function gi(t,o){if(t&1&&p(0,"un-carousel",41),t&2){let e=l(3),n=b(37);a("carouselData",e.fullStack)("itemTemplate",n)("itemsOnDesktop",4)}}function ui(t,o){t&1&&(x(0),p(1,"app-home-common-loader",32),v()),t&2&&(r(),a("type","coursesCardLoader"))}function _i(t,o){if(t&1&&(s(0,"div"),C(1,gi,1,3,"un-carousel",41),m(2,ui,2,1,"ng-container",52),c()),t&2){let e=l(2);r(),h((e.fullStack==null?null:e.fullStack.length)>=4&&e.fullStack?1:-1),r(),a("ngIf",!e.fullStack)}}function Ci(t,o){if(t&1){let e=O();s(0,"div",54),f("appLazyLoadApi",function(i){M(e);let d=l();return P(d.lazyLoadApi(i))}),s(1,"h2",34),g(2," Coding "),m(3,ni,2,0,"div",51),c(),Le(4,ii,1,1),He(5,4,bn),m(7,ai,3,2,"div",52)(8,li,3,2,"div",52)(9,mi,3,2,"div",52)(10,_i,3,2,"div",52),c()}if(t&2){let e=l();r(3),a("ngIf",e.viewport()!="mobile"),r(2),Ee((e.languagesCourseSubData1==null?null:e.languagesCourseSubData1.length)>=4||(e.languagesCourseSubData2==null?null:e.languagesCourseSubData2.length)>=4||(e.languagesCourseSubData3==null?null:e.languagesCourseSubData3.length)>=4||(e.fullStack==null?null:e.fullStack.length)>=4),r(2),a("ngIf",e.currentCat=="cCoding"),r(),a("ngIf",e.currentCat=="cppCoding"),r(),a("ngIf",e.currentCat=="javaCoding"),r(),a("ngIf",e.currentCat=="pythonCoding")}}function hi(t,o){}function fi(t,o){t&1&&m(0,hi,0,0,"ng-template")}function xi(t,o){if(t&1&&m(0,fi,1,0,null,14),t&2){let e=l(),n=b(31);a("ngTemplateOutlet",e.engineeringStudents?null:n)}}function vi(t,o){t&1&&(s(0,"div",53),g(1," Empower your data journey with Data Visualisation Tools "),c())}function bi(t,o){if(t&1&&p(0,"un-carousel",41),t&2){let e=l(2),n=b(37);a("carouselData",e.toolCourseData)("itemTemplate",n)("itemsOnDesktop",4)}}function Mi(t,o){t&1&&(x(0),p(1,"app-home-common-loader",32),v()),t&2&&(r(),a("type","coursesCardLoader"))}function Pi(t,o){if(t&1){let e=O();s(0,"div",56),f("appLazyLoadApi",function(i){M(e);let d=l();return P(d.lazyLoadApi(i))}),s(1,"h2",34),g(2," Subjects "),m(3,vi,2,0,"div",51),c(),C(4,bi,1,3,"un-carousel",41),m(5,Mi,2,1,"ng-container",52),c()}if(t&2){let e=l();r(3),a("ngIf",e.viewport()!="mobile"),r(),h((e.toolCourseData==null?null:e.toolCourseData.length)>=4&&e.toolCourseData?4:-1),r(),a("ngIf",!e.toolCourseData)}}function Oi(t,o){t&1&&p(0,"app-ads-card",18),t&2&&a("adType","goProAd")}function wi(t,o){t&1&&(s(0,"div",53),g(1," Secure your dream role with confidence, thoughtful answers, and our interview prep resources. "),c())}function yi(t,o){if(t&1&&p(0,"un-carousel",41),t&2){let e=l(2),n=b(37);a("carouselData",e.interviewCourseData)("itemTemplate",n)("itemsOnDesktop",4)}}function Si(t,o){t&1&&(x(0),p(1,"app-home-common-loader",32),v()),t&2&&(r(),a("type","coursesCardLoader"))}function ki(t,o){if(t&1){let e=O();s(0,"div",57),f("appLazyLoadApi",function(i){M(e);let d=l();return P(d.lazyLoadApi(i))}),s(1,"h2",34),g(2," Interview Plus "),m(3,wi,2,0,"div",51),c(),C(4,yi,1,3,"un-carousel",41),m(5,Si,2,1,"ng-container",52),c()}if(t&2){let e=l();r(3),a("ngIf",e.viewport()!="mobile"),r(),h((e.interviewCourseData==null?null:e.interviewCourseData.length)>=4&&e.interviewCourseData?4:-1),r(),a("ngIf",!e.interviewCourseData)}}function Ti(t,o){t&1&&(s(0,"div",53),g(1," Power your learning with AI-designed courses, expert-verified content, and Rookie as your personal copilot. "),c())}function Ii(t,o){if(t&1&&p(0,"un-carousel",41),t&2){let e=l(2),n=b(37);a("carouselData",e.aiCourseData)("itemTemplate",n)("itemsOnDesktop",4)}}function Di(t,o){t&1&&(x(0),p(1,"app-home-common-loader",32),v()),t&2&&(r(),a("type","coursesCardLoader"))}function Li(t,o){if(t&1){let e=O();s(0,"div",58),f("appLazyLoadApi",function(i){M(e);let d=l();return P(d.lazyLoadApi(i))}),s(1,"h2",34),g(2," AI-Powered Courses "),m(3,Ti,2,0,"div",51),c(),C(4,Ii,1,3,"un-carousel",41),m(5,Di,2,1,"ng-container",52),c()}if(t&2){let e=l();r(3),a("ngIf",e.viewport()!="mobile"),r(),h((e.aiCourseData==null?null:e.aiCourseData.length)>=4&&e.aiCourseData?4:-1),r(),a("ngIf",!e.aiCourseData)}}function Hi(t,o){if(t&1){let e=O();s(0,"div",42),f("click",function(){M(e);let i=l(2);return P(i.goProPage())}),p(1,"img",60),c()}}function Ei(t,o){if(t&1&&m(0,Hi,2,0,"div",59),t&2){let e=l();a("ngIf",!e.userDataService.ispromember())}}function Ai(t,o){t&1&&(s(0,"div",53),g(1," Prepare strategically to tackle management challenges and excel in interviews. "),c())}function zi(t,o){if(t&1&&p(0,"un-carousel",41),t&2){let e=l(3),n=b(37);a("carouselData",e.managementCourseData)("itemTemplate",n)("itemsOnDesktop",4)}}function Bi(t,o){t&1&&(x(0),p(1,"app-home-common-loader",32),v()),t&2&&(r(),a("type","coursesCardLoader"))}function ji(t,o){if(t&1){let e=O();s(0,"div",62),f("appLazyLoadApi",function(i){M(e);let d=l(2);return P(d.lazyLoadApi(i))}),s(1,"h2",34),g(2," Management
1 "),m(3,Ai,2,0,"div",51),c(),C(4,zi,1,3,"un-carousel",41),m(5,Bi,2,1,"ng-container",52),c()}if(t&2){let e=l(2);r(3),a("ngIf",e.viewport()!="mobile"),r(),h((e.managementCourseData==null?null:e.managementCourseData.length)>=4&&e.managementCourseData?4:-1),r(),a("ngIf",!e.managementCourseData)}}function Ri(t,o){if(t&1&&C(0,ji,6,3,"div",61),t&2){let e=l();h(!e.managementCourseData||(e.managementCourseData==null?null:e.managementCourseData.length)>=4?0:-1)}}function Vi(t,o){t&1&&(s(0,"div",53),g(1," Build real-world projects and master full stack web development to launch your career in tech! "),c())}function Fi(t,o){if(t&1&&p(0,"un-carousel",41),t&2){let e=l(3),n=b(37);a("carouselData",e.fullStackWebData)("itemTemplate",n)("itemsOnDesktop",4)}}function Ni(t,o){t&1&&(x(0),p(1,"app-home-common-loader",32),v()),t&2&&(r(),a("type","coursesCardLoader"))}function Ui(t,o){if(t&1){let e=O();s(0,"div",64),f("appLazyLoadApi",function(i){M(e);let d=l(2);return P(d.lazyLoadApi(i))}),s(1,"h2",34),g(2," Full Stack Web Dev "),m(3,Vi,2,0,"div",51),c(),C(4,Fi,1,3,"un-carousel",41),m(5,Ni,2,1,"ng-container",52),c()}if(t&2){let e=l(2);r(3),a("ngIf",e.viewport()!="mobile"),r(),h((e.fullStackWebData==null?null:e.fullStackWebData.length)>=4&&e.fullStackWebData?4:-1),r(),a("ngIf",!e.fullStackWebData)}}function Wi(t,o){if(t&1&&C(0,Ui,6,3,"div",63),t&2){let e=l();h((e.fullStackWebData==null?null:e.fullStackWebData.length)>=4||!e.fullStackWebData?0:-1)}}function Gi(t,o){t&1&&(s(0,"div",53),g(1," Give yourself the best preparation to clear pre-assessment rounds and competitive exams. "),c())}function $i(t,o){if(t&1&&p(0,"un-carousel",41),t&2){let e=l(3),n=b(37);a("carouselData",e.aptitudeCourseData)("itemTemplate",n)("itemsOnDesktop",4)}}function qi(t,o){t&1&&(x(0),p(1,"app-home-common-loader",32),v()),t&2&&(r(),a("type","coursesCardLoader"))}function Qi(t,o){if(t&1){let e=O();s(0,"div",66),f("appLazyLoadApi",function(i){M(e);let d=l(2);return P(d.lazyLoadApi(i))}),s(1,"h2",34),g(2," General Management & Aptitude "),m(3,Gi,2,0,"div",51),c(),C(4,$i,1,3,"un-carousel",41),m(5,qi,2,1,"ng-container",52),c()}if(t&2){let e=l(2);r(3),a("ngIf",e.viewport()!="mobile"),r(),h((e.aptitudeCourseData==null?null:e.aptitudeCourseData.length)>=4&&e.aptitudeCourseData?4:-1),r(),a("ngIf",!e.aptitudeCourseData)}}function Ji(t,o){if(t&1&&C(0,Qi,6,3,"div",65),t&2){let e=l();h((e.aptitudeCourseData==null?null:e.aptitudeCourseData.length)>=4||!e.aptitudeCourseData?0:-1)}}function Ki(t,o){t&1&&(s(0,"div",67)(1,"picture"),p(2,"source",68)(3,"source",69)(4,"img",70),c()())}function Yi(t,o){if(t&1&&p(0,"app-course-card",71),t&2){let e=o.data;a("item",e)}}function Xi(t,o){if(t&1&&(s(0,"a",72),g(1),p(2,"un-icon",73),c()),t&2){let e=o.url,n=o.isMobile,i=o.btnText;a("unButtonCircle",!n)("href",e,D)("target",n?"_self":"_blank")("ngClass",be(9,yn,n)),r(),B(" ",i," "),r(),a("bg",k(11,Sn))("bgSize",14)("size",11)("color",k(12,kn))}}var Tt=(()=>{class t{constructor(e,n,i,d,_,S,ue,_e,Ce,he,fe,xe,Lt,Ht,Et,At,zt,Bt,jt,Rt,Vt,Ft,Nt){this.courseService=e,this.metaService=n,this.titleService=i,this.router=d,this.store=_,this.localStorageService=S,this.toastService=ue,this.scroller=_e,this.linkService=Ce,this.menubarService=he,this.http=fe,this.location=xe,this.route=Lt,this.globalSearch=Ht,this.auth=Et,this.gtmService=At,this.userDataService=zt,this.viewportService=Bt,this.navigationService=jt,this.destroyRef=Rt,this.seoService=Vt,this.carouselConfig=Ft,this.bottomNavbarService=Nt,this.viewport=Ve(()=>this.viewportService.viewport()),this.alreadyEnrolledIds=[],this.DoNotApplySubscriptionFor=[3,88,27,29],this.proMembershipData=[],this.freeCourseList=[{title:"Resume Prep with top Recruiters & Industry Experts",url:"/courses/placement-prep/resume-prep-with-top-recruiters-industry-experts",mobile_banner:{image_url:"https://d8it4huxumps7.cloudfront.net/uploads/images/courses/3/banners/63d9faf95dfcd_Courses-Banners-final-M-5.jpg"},module_count:9,details:`<div> 2 <p>Carefully curating a CV is a skill that every student must master to get ahead in the game. Years of hardwork and accolades need to be put in the right package to ensure that the recruiter notices the relevant points.</p> 3 </div>`},{title:"Crack the Competition",url:"/courses/placement-prep/crack-the-compet
3ition",mobile_banner:{image_url:"https://d8it4huxumps7.cloudfront.net/uploads/images/courses/5/banners/63da0baf69717_Courses-Banners-final-M-4.jpg"},module_count:4,details:`<div> 4 <p>The secret sauce to ace competitions revealed! Hear the winning mantra straight from the horse's mouth and master the competition landscape.</p> 5 </div>`},{title:"Unstop Consulting Chronicles",url:"/courses/placement-prep/unstop-consulting-chronicles",mobile_banner:{image_url:"https://d8it4huxumps7.cloudfront.net/uploads/images/courses/6/banners/63da0be711e19_Courses-Banners-final-M-3.jpg"},module_count:8,details:`<div> 6 <p>Cracking a case interview requires both competence and craftsmanship. You must learn to subtly shed light on your experiences, skills, and leadership qualities to project yourself as an invaluable asset to the organization.</p> 7 </div>`}],this.livePaidCourseCount=0,this.selfPaced={categories:null,courseList:null,activeCategory:0},this.liveCohort={categories:null,courseList:null,activeCategory:0},this.placementProgram={categories:null,courseList:null,activeCategory:0},this.enableBtns=!0,this.softwareToolsId=2558,this.languagesCategoryId=2562,this.aptitudeCategoryId=2559,this.interviewCategoryId=2561,this.managementCategoryId=3657,this.fullStackWebId=2560,this.aiCategoryId=3909,this.myCourseList=[],this.loadApi={first:!1,second:!1,third:!1,fourth:!1,fifth:!1,six:!1,seven:!1,eight:!1},this.listOfNames=["Arjun","Aisha","Aryan","Kavya","Aditya","Neha","Kunal","Pooja","Rahul","Rupal","Akshay","Meera"],this.categoryTabs=[],this.currentName=this.listOfNames[0],this.indexOfCurrentName=0,this.currentCat="cCoding",this.win=window,this.freeCourses=!1,this.engineeringStudents=!1,this.menubarService.isBrowser()&&(this.isIOS=window.isIOS),this.carouselOptions=this.carouselConfig.getCommonOptions()}goBack(){this.navigationService.goBack()}switchCategory(e){this.currentCat=e.slug}nameChange(){this.nameIntervalSub=setInterval(()=>{this.indexOfCurrentName=(this.indexOfCurrentName+1)%this.listOfNames.length,this.currentName=this.listOfNames[this.indexOfCurrentName]},3e3)}compare(e,n){}goProPage(){let e={"Page Type":"learn landing page",name:this.auth?.currentUser?.name,id:this.auth?.currentUser?.id,type:"page"};this.gtmService.customEvent("pro_button",e),this.router.navigateByUrl("/pro?ref=learnPro")}ngOnInit(){this.bottomNavbarService.setBottomNavs("courses"),this.auth?.currentUser?.course_pursuing==2?this.engineeringStudents=!0:this.engineeringStudents=!1,this.menubarService.learnActiveStatus=!0,this.menubarService.mobileBottomBorderRemove=!0,this.route.fragment.pipe(w(this.destroyRef)).subscribe(n=>{this.fragment=n,this.fragment=="free"&&(this.freeCourses=!0,this.scroller.scrollToFirst(this.fragment,"start","smooth",-64),this.scroller.doScroll())}),this.getUserSubscriptionDetails(),this.auth.currentUser&&this.getMyCourses(),this.globalSearch.placeHolder="Search Courses",this.menubarService.showTopBannerPageType("learn"),this.route.queryParamMap.pipe(w(this.destroyRef)).subscribe(n=>{let i=n.get("id");i&&(this.activeQueryParam=i),console.log(i)}),this.menubarService.isBrowser()&&this.nameChange(),this.setMetaData(),this.store.select(Ze).pipe(w(this.destroyRef)).subscribe(n=>{this.userLoggedIn=n,this.userLoggedIn==!0&&this.getCurrentUser()}),Ke?.environment=="production"&&(this.enableBtns=!1);let e=this.router.url.split("#");e.length>1&&e[e.length-1]=="aptitude"?this.menubarService.isBrowser&&setTimeout(()=>{this.tabScroll("aptitude")},100):e.length>1&&e[e.length-1]=="languages_coding"?this.menubarService.isBrowser&&setTimeout(()=>{this.tabScroll("languages_coding")},100):e.length>1&&e[e.length-1]=="ai_ourses"&&this.menubarService.isBrowser&&setTimeout(()=>{this.tabScroll("ai_ourses")},100)}setMetaData(){this.seoService.setSeo({title:"Online Courses with Certificates & AI-Powered Learning",description:"Explore online courses with certificates across coding, AI, full stack, aptitude and management. Learn with AI-powered courses to upskill and advance your career.",image:{url:"https://cdn.unstop.com/uploads/images/seo-images/courses-seo-image.jpg?d=800x420"},canonicalUrl:"https://unstop.com/courses",setAmp:!0,breadcrumb:!0}),this.structureData={"@context":"https://schema.org","@type":"CollectionPage","@id":"https://unstop.com/courses#webpage",url:"https://unstop.com/courses",name:"Online Courses with Certificates & AI-Powered Learning",description:"Explore online courses with certificates across coding, AI, full stack, aptitude and management. Learn with AI-powered courses to upskill and advance your career."}}getRecommendedCourses(){this.http.get("/api/user-recommendation/courses").subscribe(n=>{this.recommendedCourses=n.data})}ngOnDestroy(){this.menubarService.learnActiveStatus=!1,this.menubarService.mobileBottomBorderRemove=!1,this.globalSearch.placeHolder="",this.menubarService.resetTopBannerShow(),this.nameIntervalSub&&clearInterval(this.nameIntervalSub),this.carousels=null,this.carousels?.destroy()}horizontalScroll(e){let n=document.getElementById("course_cat");
7e=="left"?(this.scrollActivated=!1,n.scrollLeft-=800):(this.scrollActivated=!0,n.scrollLeft+=800),console.log(n.scrollLeft,n,n.clientWidth,n.scrollWidth)}tabScroll(e){this.scroller.smoothScrollToSection(`.${e}`)}getAllPublicCourses(){this.courseService.getAllPublicCourses().pipe(w(this.destroyRef)).subscribe(e=>{this.courses=e.data,this.placementPrep=this.courses["Placement Prep"],this.courseTypes=Object.keys(this.courses),console.log("Get all courses:",this.courseTypes);let n=0,i;for(let d in this.courses)for(let _=0;_<this.courses[d].length;_++)i=this.courses[d][_],d=="Placement Prep"&&_<4&&(n++,i.customID=d+n),this.proMembershipData.push(i),console.log(d,this.proMembershipData)})}getCurrentUser(){this.menubarService.isBrowser()&&this.userLoggedIn&&this.localStorageService.getEncItem("currentUser")&&(this.currentUser=this.localStorageService.getEncItem("currentUser"),this.currentUser.userRole&&this.currentUser.userRole.length>0&&this.currentUser.userRole.forEach(e=>{e.name=="admin"&&(this.isAdmin=!0,console.log(e))}))}getSoftwareToolsCourses(){let e=this.softwareToolsId;this.courseService.getProCourses(e,100).pipe(w(this.destroyRef)).subscribe(n=>{this.softwareToolsData=n?.data})}getLanguagesCourses(){let e=this.languagesCategoryId;this.getLanguageSubCat1(3590),this.getLanguageSubCat2(3588),this.getLanguageSubCat3(2426),this.getFullStackCourse(1403)}getLanguageSubCat1(e){this.courseService.getProCourses(e,100).pipe(w(this.destroyRef)).subscribe(n=>{this.languagesCourseSubData1=n.data,this.languagesCourseSubData1.length>=4&&(this.categoryTabs=[...this.categoryTabs,{tabName:"C",tabIcon:"book_5.svg",slug:"cCoding"}])})}getLanguageSubCat2(e){this.courseService.getProCourses(e,100).pipe(w(this.destroyRef)).subscribe(n=>{this.languagesCourseSubData2=n.data,this.languagesCourseSubData2.length>=4&&(this.categoryTabs=[...this.categoryTabs,{tabName:"CPP",tabIcon:"book_5.svg",slug:"cppCoding"}])})}getLanguageSubCat3(e){this.courseService.getProCourses(e,100).pipe(w(this.destroyRef)).subscribe(n=>{this.languagesCourseSubData3=n.data,this.languagesCourseSubData3.length>=4&&(this.categoryTabs=[...this.categoryTabs,{tabName:"Java",tabIcon:"book_5.svg",slug:"javaCoding"}])})}getFullStackCourse(e){this.courseService.getProCourses(e,100).pipe(w(this.destroyRef)).subscribe(n=>{this.fullStack=n.data,this.fullStack.length>=4&&(this.categoryTabs=[...this.categoryTabs,{tabName:"Python",tabIcon:"book_5.svg",slug:"pythonCoding"}])})}getAptitudeCourses(){let e=this.aptitudeCategoryId;this.courseService.getProCourses(e,100).pipe(w(this.destroyRef)).subscribe(n=>{this.aptitudeCourseData=n?.data})}getInterviewCourses(){let e=this.interviewCategoryId;this.courseService.getProCourses(e,100).pipe(w(this.destroyRef)).subscribe(n=>{this.interviewCourseData=n.data})}getAiCourses(){let e=this.aiCategoryId;this.courseService.getProCourses(e,100).pipe(w(this.destroyRef)).subscribe(n=>{this.aiCourseData=n.data})}getManagementCourses(){let e=this.managementCategoryId;this.courseService.getProCourses(e,100).pipe(w(this.destroyRef)).subscribe(n=>{this.managementCourseData=n.data})}getFullStackWebCourses(){let e=this.fullStackWebId;this.courseService.getProCourses(e,100).pipe(w(this.destroyRef)).subscribe(n=>{this.fullStackWebData=n.data})}getToolsCourses(){this.courseService.getProCourses(3520,100).pipe(w(this.destroyRef)).subscribe(e=>{this.toolCourseData=e?.data,console.log(this.toolCourseData)})}lazyLoadApi(e){e.status&&(e.id=="SoftwareToolsLoad"&&!this.loadApi.first&&(this.loadApi.first=!0,this.getSoftwareToolsCourses()),e.id=="LanguagesLoad"&&!this.loadApi.second&&(this.loadApi.second=!0,this.getLanguagesCourses()),e.id=="AptitudeLoad"&&!this.loadApi.third&&(this.loadApi.third=!0,this.getAptitudeCourses()),e.id=="InterviewLoad"&&!this.loadApi.fourth&&(this.loadApi.fourth=!0,this.getInterviewCourses()),e.id=="FullStackWebLoad"&&!this.loadApi.fourth&&(this.loadApi.fourth=!0,this.getFullStackWebCourses()),e.id=="toolsLoad"&&!this.loadApi.fifth&&(this.loadApi.fifth=!0,this.getToolsCourses()),e.id=="InterviewLoad"&&!this.loadApi.six&&(this.loadApi.six=!0,this.getInterviewCourses()),e.id=="ManagementLoad"&&!this.loadApi.seven&&(this.loadApi.seven=!0,this.getManagementCourses()),e.id=="AiLoad"&&!this.loadApi.eight&&(this.loadApi.eight=!0,this.getAiCourses()))}
7getUserSubscriptionDetails(){this.courseService.getUserSubscriptionDetails2().pipe(w(this.destroyRef)).subscribe(e=>{this.userExist=e.user_exist,this.subscription_details=e.subscription})}getMyCourses(){this.http.get("/api/user/enrolled-courses?page=1&per_page=5&incomplete_only=true").subscribe(n=>{this.myCourseList=n.data.data,console.log("Data Fetched"),console.log(this.myCourseList)})}navigateTo(e){this.viewport()=="desktop"?window.open(e,"_blank"):window.open(e,"_self")}static{this.\u0275fac=function(n){return new(n||t)(u(ie),u($e),u(qe),u(Q),u(Xe),u(J),u(Ye),u(Y),u(ut),u(A),u(Ge),u(Fe),u(q),u(_t),u(ne),u(X),u(te),u(rt),u(gt),u(ke),u(Mt),u(ht),u(Ct))}}static{this.\u0275cmp=L({type:t,selectors:[["app-courses-home"]],viewQuery:function(n,i){if(n&1&&V(vn,5),n&2){let d;F(d=N())&&(i.carousels=d)}},standalone:!1,features:[W([bt])],decls:40,vars:22,consts:[["continueData",""],["proBanner",""],["managementCourses",""],["fullStackWebDevCourses",""],["aptitudeCourses",""],["noData",""],["coursesCard",""],["viewAllButtonTemp",""],[3,"json"],[1,"container-un"],[3,"activePage"],["deferContent","",3,"title","tabName"],["class","container-un",3,"deferContent",4,"ngIf"],["class","continue container-un","deferContent","",4,"ngIf"],[4,"ngTemplateOutlet"],["id","SoftwareToolsLoad",1,"container-un","skills","software_tools"],["id","LanguagesLoad",1,"container-un","languages_coding"],["id","toolsLoad",1,"container-un","subjects"],["deferContent","",3,"adType"],["id","InterviewLoad",1,"container-un","interview_preparation"],["id","AiLoad",1,"container-un","ai_ourses"],[3,"adType"],[3,"currentPage"],["deferContent","",3,"PageName"],[1,"cptn"],[1,"tag","align-center","gap4"],[3,"icon","size"],[1,"hero_heading"],[1,"hero_sub_heading"],[1,"credit_box"],[1,"img_box"],["src","https://d8it4huxumps7.cloudfront.net/uploads/images/avif/Unlock_Knowledge_home-page-header-image.png?d=918x612","alt","image for From tech to non-tech, discover courses to upskill and advance your career!","height","188","width","282","role","img"],[3,"type"],[1,"container-un",3,"deferContent"],[1,"mb-16","un-hdng"],[1,"carousel_mobile","defer"],[3,"item"],["deferContent","",1,"continue","container-un"],[1,"mb-16","j-between"],[1,"un-hdng"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"carouselData","itemTemplate","itemsOnDesktop"],["deferContent","","role","button","tabindex","0",1,"item",3,"click"],[1,"logo"],["width","94","height","63",3,"src","alt"],[1,"title","single-wrap"],[1,"progress_bar"],[1,"modules"],["icon","play_circle.svg",3,"size","color"],[1,"bar"],["id","SoftwareToolsLoad",1,"container-un","skills","software_tools",3,"appLazyLoadApi"],["class","desc",4,"ngIf"],[4,"ngIf"],[1,"desc"],["id","LanguagesLoad",1,"container-un","languages_coding",3,"appLazyLoadApi"],[3,"tabSelected","filterTabs"],["id","toolsLoad",1,"container-un","subjects",3,"appLazyLoadApi"],["id","InterviewLoad",1,"container-un","interview_preparation",3,"appLazyLoadApi"],["id","AiLoad",1,"container-un","ai_ourses",3,"appLazyLoadApi"],["class","item","deferContent","","role","button","tabindex","0",3,"click",4,"ngIf"],["src","https://d8it4huxumps7.cloudfront.net/uploads/images/656f1a75b86e0_pro_mobile.png?d=690x461","noLoading","true","alt","Unstop Pro","width","1180","height","327"],["id","ManagementLoad",1,"container-un","management"],["id","ManagementLoad",1,"container-un","management",3,"appLazyLoadApi"],["id","FullStackWebLoad",1,"full_stack_web","container-un"],["id","FullStackWebLoad",1,"full_stack_web","container-un",3,"appLazyLoadApi"],["id","AptitudeLoad",1,"container-un","aptitude"],["id","AptitudeLoad",1,"container-un","aptitude",3,"appLazyLoadApi"],["deferContent","",1,"csoon_img"],["media","(min-width:768px)","srcset",` 8 https://d8it4huxumps7.cloudfront.net/uploads/images/unstop-pro/coming-soon-banner-image.png?d=1770x288 9 `,"noLoading","true","alt","Coming soon","width","1180","height","192"],["media","(max-width:767px)","srcset",` 10 https://d8it4huxumps7.cloudfront.net/uploads/images/unstop-pro/coming-soon-mobile-banner.png?d=515x287 11 `,"noLoading","true","alt","Coming soon","width","515","height","287"],["src","https://d8it4huxumps7.cloudfront.net/uploads/images/unstop-pro/coming-soon-banner-image.png?d=1770x288","noLoading","true","alt","Coming soon","width","1180","height","192"],["deferContent","",3,"item"],["unButtonBorder","","unButtonIconRight","",1,"blue-50","blue-700-text","blue-200-border","f-weight-600","view_all_btn",3,"unButtonCircle","href","target","ngClass"],["asBtn","","rounded","full","icon","arrow_right.svg",3,"bg","bgSize","size","color"]],template:function(n,i){if
11(n&1&&(p(0,"app-structured-data",8)(1,"app-structured-data",8),Me(2,"async"),s(3,"header"),C(4,Dn,12,3,"div",9)(5,Ln,1,1,"app-static-home-search-bar",10),c(),s(6,"section"),C(7,Hn,1,2,"app-static-category-card",11),m(8,An,6,1,"div",12)(9,jn,7,5,"div",13)(10,Rn,16,15,"ng-template",null,0,y),C(12,Wn,2,2)(13,Jn,2,2),m(14,Yn,1,0,null,14),C(15,ti,6,3,"div",15),C(16,Ci,11,6,"div",16),C(17,xi,1,1),C(18,Pi,6,3,"div",17),C(19,Oi,1,1,"app-ads-card",18),C(20,ki,6,3,"div",19),C(21,Li,6,3,"div",20),p(22,"app-ads-card",21)(23,"app-masterclasses-banner")(24,"app-faqs-accordion",22),c(),p(25,"app-discover-jobs",23),m(26,Ei,1,1,"ng-template",null,1,y)(28,Ri,1,1,"ng-template",null,2,y)(30,Wi,1,1,"ng-template",null,3,y)(32,Ji,1,1,"ng-template",null,4,y)(34,Ki,5,0,"ng-template",null,5,y)(36,Yi,1,1,"ng-template",null,6,y)(38,Xi,3,13,"ng-template",null,7,y)),n&2){let d=b(29);a("json",i.structureData),r(),a("json",Pe(2,20,i.seoService==null?null:i.seoService.breadcrumb$)),r(3),h(i.viewport()!="mobile"?4:5),r(3),h(i.viewport()!="mobile"?7:-1),r(),a("ngIf",i.freeCourses),r(),a("ngIf",i.auth.currentUser&&(i.myCourseList==null?null:i.myCourseList.length)>1),r(3),h(i.engineeringStudents?12:13),r(2),a("ngTemplateOutlet",d),r(),h(!i.softwareToolsData||(i.softwareToolsData==null?null:i.softwareToolsData.length)>=4?15:-1),r(),h(!i.languagesCourseSubData1||(i.languagesCourseSubData1==null?null:i.languagesCourseSubData1.length)>=4||!i.languagesCourseSubData2||(i.languagesCourseSubData2==null?null:i.languagesCourseSubData2.length)>=4||!i.languagesCourseSubData3||(i.languagesCourseSubData3==null?null:i.languagesCourseSubData3.length)>=4||!i.fullStack||(i.fullStack==null?null:i.fullStack.length)>=4?16:-1),r(),h(i.engineeringStudents?-1:17),r(),h((i.toolCourseData==null?null:i.toolCourseData.length)>=4||!i.toolCourseData?18:-1),r(),h(i.userDataService.ispromember()?-1:19),r(),h((i.interviewCourseData==null?null:i.interviewCourseData.length)>=4||!i.interviewCourseData?20:-1),r(),h((i.aiCourseData==null?null:i.aiCourseData.length)>=4||!i.aiCourseData?21:-1),r(),U("mt-30",i.viewport()!="mobile"),a("adType","practiceAd"),r(2),a("currentPage","courses"),r(),a("PageName","courses")}},dependencies:[Ne,E,Ue,at,K,ft,se,it,vt,le,pe,ae,re,et,oe,dt,me,kt,ge,We,st],styles:[".fit-content[_ngcontent-%COMP%]{max-width:fit-content}.csoon_img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;display:block}img[_ngcontent-%COMP%]{width:auto;height:auto;display:block;object-fit:cover}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:60px;padding-bottom:60px}section[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%;display:block}@media only screen and (max-width: 767px){section[_ngcontent-%COMP%]{gap:40px;padding-bottom:40px}}@media only screen and (min-width: 768px){header[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:24px}header[_ngcontent-%COMP%] .container-un[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}}@media only screen and (min-width: 768px) and (min-width: 992px){header[_ngcontent-%COMP%] .container-un[_ngcontent-%COMP%]{padding:unset}}@media only screen and (min-width: 768px){header[_ngcontent-%COMP%] .tag[_ngcontent-%COMP%]{font-weight:500;font-size:14px;line-height:100%;background:linear-gradient(90deg,var(--blue-800) 0%,#0095a3 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}header[_ngcontent-%COMP%] .cptn[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px;width:calc(100% - 280px)}header[_ngcontent-%COMP%] .img_box[_ngcontent-%COMP%]{width:280px}header[_ngcontent-%COMP%] .img_box[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}header[_ngcontent-%COMP%] .hero_sub_heading[_ngcontent-%COMP%]{font-weight:400;font-size:16px;line-height:140%;color:var(--grey-1100);margin-bottom:0}}@media only screen and (min-width: 768px) and (max-width: 1199px){header[_ngcontent-%COMP%] .img_box[_ngcontent-%COMP%]{width:calc(40% + 40px)}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:40px}}.ctgry[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}@media only screen and (min-width: 768px){.ctgry[_ngcontent-%COMP%]{margin:21px -5px -5px}.ctgry[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding-left:16px;padding-right:24px;display:inline-flex;align-items:center;border-radius:130px;border:.5px solid var(--stroke-primary);background:var(--grey-00);color:var(--grey-1100);font-size:16px;cursor:pointer;transition:.3s;height:72px;margin:5px;min-width:180px}.ctgry[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:hover{box-shadow:0 0 0 1px var(--grey-1100);border-color:var(--grey-1100)}.ctgry[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{padding-left:10px;font-weight:400}}@media only screen and (min-width: 768px) and (max-width: 1024px){.ctgry[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding-left:12px;padding-right:12px;font-size:14px}}@media (max-width: 767px){.ctgry[_ngcontent-%COMP%]{gap:10px;justify-content:flex-start}.ctgry[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{border-radius:12px;background:var(--pink-100);padding:16px 12px;width:calc(33.33% - 7px)}.ctgry[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(2){background:var(--purple-100)}.ctgry[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(3){background:var(--blue-100)}.ctgry[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(4){background:var(--orange-100)}.ctgry[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(5){background:var(--green-100)}.ctgry[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(6){background:var(--secondary-100)}.ctgry[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(7){background:#defbff}.ctgry[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(4), .ctgry[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(5), .ctgr
11y[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(6), .ctgry[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(7){width:calc(50% - 7px);display:flex;align-items:center}.ctgry[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(4) strong[_ngcontent-%COMP%], .ctgry[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(5) strong[_ngcontent-%COMP%], .ctgry[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(6) strong[_ngcontent-%COMP%], .ctgry[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(7) strong[_ngcontent-%COMP%]{width:calc(100% - 40px);margin-top:0;padding-left:10px}.ctgry[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:var(--grey-1100);font-size:14px;display:block;margin-top:10px}}.pro_card[_ngcontent-%COMP%]{display:inline-flex;align-items:center;height:50px;padding-right:25px;padding-left:10px;border-radius:50px;border:1px solid var(--grey-00);background:#ebe8fd;cursor:pointer;transition:.3s}.pro_card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:41px}.pro_card[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{width:calc(100% - 41px);padding-left:10px;color:var(--grey-1100);font-size:14px;font-weight:600;line-height:100%}.pro_card[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:12px;font-weight:400;display:block;margin-bottom:4px}@media (max-width: 767px){.pro_card[_ngcontent-%COMP%]{border-radius:8px;display:flex}}.nameContainer[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeInOut 3s infinite}@keyframes _ngcontent-%COMP%_fadeInOut{0%,to{opacity:0}50%{opacity:1}}@media only screen and (min-width: 768px){.continue[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{display:flex;align-items:center;border-radius:16px;cursor:pointer}.continue[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]:hover .title[_ngcontent-%COMP%]{color:var(--blue-700)}}.continue[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]{background:var(--grey-50);padding:12px;border-radius:16px}.continue[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{background:var(--grey-00);border:1px solid var(--stroke-primary);padding:16px}.continue[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:100px;height:68px;border-radius:8px;border:.5px solid var(--stroke-primary);display:flex;align-items:center;justify-content:center;overflow:hidden}.continue[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;width:auto;max-height:100%}.continue[_ngcontent-%COMP%] .cptn[_ngcontent-%COMP%]{width:calc(100% - 100px);padding-left:12px}.continue[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{color:var(--grey-1100);font-size:16px;font-weight:500;line-height:120%;transition:.3s}.continue[_ngcontent-%COMP%] .progress_bar[_ngcontent-%COMP%]{margin-top:12px}.continue[_ngcontent-%COMP%] .modules[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:6px}.continue[_ngcontent-%COMP%] .modules[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px;color:var(--grey-800)}.continue[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{height:6px;width:unset;background:var(--blue-200);position:relative;border-radius:3px;overflow:hidden}.continue[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{background:var(--blue-700);width:50%;position:absolute;height:6px;left:0;top:0}@media (max-width: 767px){.continue[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{width:150px;border-radius:8px}.continue[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{border-width:.5px;width:75px;height:50px;border-radius:8px}.continue[_ngcontent-%COMP%] .cptn[_ngcontent-%COMP%]{width:100%;padding-left:0;margin-top:10px}.continue[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%]{font-size:10px}.continue[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:14px}.continue[_ngcontent-%COMP%] .progress_bar[_ngcontent-%COMP%]{margin-top:8px}.continue[_ngcontent-%COMP%] .progress_bar[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:10px}}.brand_carousel[_ngcontent-%COMP%]{margin-top:25px}
11.brand_carousel[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{border-radius:8px;overflow:hidden}.brand_carousel[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;object-fit:cover}.brand_carousel[_ngcontent-%COMP%] .owl-dots{bottom:-15px;height:6px;display:flex;align-items:center;justify-content:center}.brand_carousel[_ngcontent-%COMP%] .owl-dots .owl-dot{padding:0 2px;margin:0 2px;height:6px;display:flex}.brand_carousel[_ngcontent-%COMP%] .owl-dots .owl-dot.active span{width:14px}@media (max-width: 767px){.m_carousel[_ngcontent-%COMP%]{display:block;white-space:nowrap;overflow:hidden;overflow-x:scroll;-webkit-overflow-scrolling:touch;margin:0 -16px;padding:0 16px 1px}.m_carousel[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;white-space:normal;margin:0 10px 0 0;vertical-align:top;width:200px}.m_carousel[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{margin-right:0}}.c_icons[_ngcontent-%COMP%]{height:40px;width:40px}@media only screen and (min-width: 768px){.c_icons[_ngcontent-%COMP%]{background:url(https://d8it4huxumps7.cloudfront.net/uploads/images/67037c488665d_courses_icon.svg) no-repeat;background-position:0 0}}@media (max-width: 767px){.c_icons[_ngcontent-%COMP%]{background:url(https://d8it4huxumps7.cloudfront.net/uploads/images/67037dfb5ed74_courses_mobile_icon.svg) no-repeat;background-position:0 0}}.icon-software[_ngcontent-%COMP%]{background-position:0px 0px}.icon-pro-coding[_ngcontent-%COMP%]{background-position:0px -50px}.icon-aptitude[_ngcontent-%COMP%]{background-position:0px -100px}.icon-full-stack[_ngcontent-%COMP%]{background-position:0px -150px}.icon-subjects[_ngcontent-%COMP%]{background-position:0px -200px}.icon-interview-plus[_ngcontent-%COMP%]{background-position:0px -250px}.icon-management[_ngcontent-%COMP%]{background-position:0px -300px}app-masterclasses-banner[_ngcontent-%COMP%] .masterclasses{padding-top:0}.credit_box[_ngcontent-%COMP%]{max-width:300px}"]})}}return t})();T();var Zi=[{path:"",component:Tt}],It=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=H({type:t})}static{this.\u0275inj=I({imports:[j.forChild(Zi),j]})}}return t})();T();var Dt=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=H({type:t})}static{this.\u0275inj=I({imports:[$,ee,pt,Z,j]})}}return t})();T();var xa=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=H({type:t})}static{this.\u0275inj=I({providers:[ie],imports:[$,It,Z,ee,Ot,xt,nt,se,ot,le,pe,ae,re,tt,oe,de,mt,me,Dt,ge]})}}return t})();export{xa as BlogCoursesHomeModule};
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.