1import{a as Pe}from"./chunk-WHENDWJP.js";import{a as ke}from"./chunk-FY7SYR26.js";import{a as Oe}from"./chunk-RE6OA3PM.js";import{a as ye}from"./chunk-F4522AS6.js";import"./chunk-3MO227XZ.js";import{a as fe}from"./chunk-DCWYV7DM.js";import{b as be}from"./chunk-PLD37K76.js";import{a as K,b as X}from"./chunk-FEASY6UH.js";import{a as he}from"./chunk-O2LLYWBR.js";import{a as ve,b as Me}from"./chunk-6Z3JPFEM.js";import{a as I}from"./chunk-VDHMNIPW.js";import{a as H,b as Y}from"./chunk-B7MEV2DH.js";import{d as Ce}from"./chunk-HHQ3DLDR.js";import{b as xe}from"./chunk-UKCZCKF3.js";import"./chunk-7RWCIHFI.js";import"./chunk-FO7KVHCD.js";import{a as J}from"./chunk-2HJPFN3S.js";import"./chunk-HIEQIAO6.js";import"./chunk-HNY54GY7.js";import"./chunk-WAF2UKPS.js";import"./chunk-R3QRL77R.js";import"./chunk-62DYWMYT.js";import"./chunk-NTCDGAR3.js";import"./chunk-UMK6AGIS.js";import"./chunk-PBAOXUCO.js";import"./chunk-7UZYWCAJ.js";import"./chunk-RIQOBMUM.js";import{l as me,m as R,o as U}from"./chunk-WX25E2HZ.js";import"./chunk-I5K7UUBW.js";import"./chunk-6BAE5M2B.js";import{a as G,b as B}from"./chunk-GPTXSPLI.js";import"./chunk-WSF7ZPQZ.js";import"./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-OLSNRRTA.js";import"./chunk-GJNXMHJK.js";import"./chunk-ROYL3S4H.js";import"./chunk-XWMJJGBF.js";import"./chunk-5G7452JJ.js";import"./chunk-O6NNHBDA.js";import{c as ne,h as ue}from"./chunk-VK3ZU6WP.js";import{G as w,u as V,x as ge}from"./chunk-BRHCVEVW.js";import{Fa as re,Ib as Q,Ic as l,Jc as _,Ka as f,Kc as P,Ld as q,Mc as v,Me as y,Nc as M,O as $,Ob as n,Oc as p,Pc as o,Qa as se,Qc as a,Ra as de,Rc as d,Sd as c,Td as L,Ud as _e,Xc as E,Zc as pe,_a as T,ae as h,be as te,ce as b,ed as ce,ge as j,hc as O,hd as g,mc as F,me as x,r as N,rd as z,sd as le,wd as s,xa as Re,xd as C,y as W,yd as k,zd as D}from"./chunk-7DV7UWC6.js";import"./chunk-XS7UEPGF.js";import"./chunk-IP4IO47A.js";y();y();y();Re();y();var S=(()=>{class e{constructor(){this._http=f(ue),this._upcomingRounds=T([],{debugName:"upcomingRounds"}),this.upcomingRounds=x(()=>this._upcomingRounds()),this._activityCounts=T({},{debugName:"activityCounts"}),this.activityCounts=x(()=>this._activityCounts()),this._upcomingMentorshipSession=T([],{debugName:"upcomingMentorshipSession"}),this.upcomingMentorshipSession=x(()=>this._upcomingMentorshipSession()),this._loadingRounds=T(!1,{debugName:"loadingRounds"}),this.loadingRounds=x(()=>this._loadingRounds()),this._loadingActivity=T(!1,{debugName:"loadingActivity"}),this.loadingActivity=x(()=>this._loadingActivity()),this._loadingMentorshipSession=T(!1,{debugName:"loadingMentorshipSession"}),this.loadingMentorshipSession=x(()=>this._loadingMentorshipSession())}fetchUpcomingRounds(){this._loadingRounds.set(!0);let t=new ne().set("page","1").set("per_page","3").set("filterName","type,status").set("filterValue","all,live").set("from_activity","true");this._http.get("/api/user/my-rounds",{params:t}).pipe(W(i=>(i?.data?.data||[]).map(m=>({id:m.opportunity_id,oppTitle:m.title||"",oppUrl:m.public_url||"",oppOrganisation:m.organisation_name||"",end_regn_dt:m.end_regn_dt||null,start_regn_dt:m.start_regn_dt||null,registeredBy:m.registered_by?.name||"",opp_img:m.logoUrl2||"",applied_at:m.applied_at||null,player_type:m.player_type==1?"Team Leader":"Member",isLive:(m.round_chips||[])?.some(ee=>ee.status==="LIVE")}))),$(()=>N([]))).subscribe(i=>{this._upcomingRounds.set(i),this._loadingRounds.set(!1)})}fetchActivityCounts(){this._loadingActivity.set(!0),this._http.get("/api/user/activities/stats").pipe(W(t=>{let i=t?.data?.stats||{},u=t?.data?.counters||{};return{my_applications:i.applications?.live||0,my_rounds:i.rounds?.live||0,my_courses:i.courses?.total||0,my_sessions:i.sessions?.total||0,my_certificates:i.certificates?.total||0,watchlist:u.watchlist||0,bookmarked:u.bookmarked_questions||0,team_requests:u.team_requests||0}}),$(()=>N({}))).subscribe({next:t=>{this._activityCounts.set(t),this._loadingActivity.set(!1)},error:()=>this._loadingActivity.set(!1)})}fetchUpcomingMentorSession(){this._loadingMentorshipSession.set(!0);let t=new ne().set("page","1").set("per_page","3").set("session_type","upcoming").set("service_type","1");this._http.get("/api/mentorship/mentee/v2/my-bookings",{params:t}).pipe(W(i=>(i?.data?.data||[]).map(m=>{let ee=m.booking_status===1&&m.applicationCardData?.isActive;return{id:m.id,username:m.mentor?.username,mentorAvatarUrl:m.mentor?.avatar||"",mentorName:m.mentor?.name||"",mentorInstitution:m.mentor?.organisation?.name||"",status:ee?"live":"upcoming",sessionTitle:m.service?.service_name||"",start_date:m.start_date||null,end_date:m.end_date||null,duration:m.service?.duration?`${m.service.duration} Mins`:"",created_at:m.created_at||null,dyte_meeting:m.dyte_meeting||null,days_section:m.days_section||"",applicationCardData:m.applicationCardData||null}})),$(()=>N([]))).subscribe(i=>{this._upcomingMentorshipSession.set(i),this._loadingMentorshipSession.set(!1)})}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=re({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();y();var Ue=()=>[1,2,3,4],Be=()=>[1,2],Ie=()=>[1,2,3],qe=()=>[1,2,3,4,5],Le=(e,r)=>({fill:e,stroke:r}),je=()=>({fill:"var(--grey-200)",stroke:"var(--grey-800)"}),we=(e,r)=>r.label;function Ae(e,r){e&1&&d(0,"div",5)}function Ne(e,r){e&1&&d(0,"div",6)}function We(e,r){e&1&&(o(0,"div",2),v(1,Ae,1,0,"div",5,P),a(),o(3,"div",2),v(4,Ne,1,0,"div",6,P),a()),e&2&&(n(),M(c(0,Be)),n(3),M(c(1,Ie)))}function $e(e,r){e&1&&d(0,"div",5)}function Qe(e,r){e&1&&(o(0,"div",2),v(1,$e,1,0,"div",5,P),a()),e&2&&(n(),M(c(0,qe)))}function Ve(e,r){e&1&&d(0,"div",4)}function He(e,r){if(e&1&&(o(0,"div",0),l(1,We,6,2)(2,Qe,3,1,"div",2),o(3,"div",3),v(4,Ve,1,0,"div",4,P),a()()),e&2){let t=g();n(),_(t.isDesktop()?2:1),n(3),M(c(1,Ue))}}function Ye(e,r){if(e&1&&(o(0,"a",14),d(1,"un-svg-icon",15),o(2,"div",16)(3,"span",17),s(4),a(),o(5,"span",18)(6,"strong"),s(7),a(),o(8,"span",19),s(9),a()()()()),e&2){let t=r.$implicit;le("--card-color",t.stroke),p("routerLink",t.link),n(),p("src",t.icon)("size",28)("color",_e(10,Le,t.fill,t.stroke))("strokeWidth",.1),n(3),C(t.label),n(3),C(t.count),n(2),C(t.suffix)}}function Ge(e,r){if(e&1&&s(0),e&2){let t=g().$implicit;k(" (",t.count,") ")}}function Je(e,r){if(e&1&&(o(0,"a",12),d(1,"un-svg-icon",15),o(2,"span",20),s(3),l(4,Ge,1,1),a()()),e&2){let t=r.$implicit;p("routerLink",t.link),n(),p("src",t.icon)("size",16)("color",c(7,je))("strokeWidth",.1),n(2),k(" ",t.label," "),n(),_(t.count&&t.count>0?4:-1)}}function Ke(e,r){if(e&1&&(o(0,"div",1)(1,"div",7),v(2,Ye,10,13,"a",8,we),a(),o(4,"div",9)(5,"div",10),d(6,"app-user-team-joining-request",11),v(7,Je,5,8,"a",12,we),a(),d(9,"span",13),a()()),e&2){let t=g();n(2),M(t.statCards()),n(4),p("count",t.teamRequestCount()),n(),M(t.quickLinks())}}var Te=(()=>{class e{constructor(){this._dataService=f(S),this._viewportService=f(I),this.loading=this._dataService.loadingActivity,this.activityCounts=this._dataService.activityCounts,this.isDesktop=x(()=>this._viewportService.isDesktop()),this.teamRequestCount=x(()=>this.activityCounts().team_requests||0),this.statCards=x(()=>{let t=this.activityCounts();return[{label:"Applications",count:t.my_applications||0,suffix:"Live",icon:"check-dualtone.svg",link:"/user/registrations",fill:"var(--orange-100)",stroke:"var(--grey-1100)"},{label:"Rounds",count:t.my_rounds||0,suffix:"Live",icon:"rounds_dualtone.svg",link:"/user/rounds/all/live",fill:"var(--grey-200)",stroke:"var(--grey-1100)"},{label:"Courses",count:t.my_courses||0,suffix:"Total",icon:"ai-learning-book.svg",link:"/user/myCourses/all/all",fill:"var(--green-100)",stroke:"var(--grey-1100)"},{label:"Sessions",count:t.my_sessions||0,suffix:"Total",icon:"calendar-booked-dualtone.svg",link:"/user/mentor-sessions/all",fill:"var(--secondary-100)",stroke:"var(--grey-1100)"},{label:"Certificates",count:t.my_certificates||0,suffix:"Total",icon:"certificate_dualtone.svg",link:"/user/certificates",fill:"var(--pink-100)",stroke:"var(--grey-1100)"}]}),this.quickLinks=x(()=>{let t=this.activityCounts();return[{label:"Recently Viewed",icon:"history-dualtone.svg",link:"/user/recently-viewed",count:0},{label:"Watchlist",icon:"heart-dualtone.svg",link:"/user/watchlist",count:t.wat
1chlist||0},{label:"Bookmarked Question",icon:"bookmark-dualtone.svg",link:"/user/starred-questions",count:t.bookmarked||0}]})}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=O({type:e,selectors:[["app-quick-links-activity"]],decls:2,vars:1,consts:[[1,"skeleton"],[1,"quick_links"],[1,"sk_cards"],[1,"sk_pills"],[1,"sk_pill"],[1,"sk_card"],[1,"sk_card","sk_card--sm"],[1,"stat_cards"],[1,"stat_card",3,"routerLink","--card-color"],[1,"nav_pills_wrap"],[1,"nav_pills"],["variant","pill",3,"count"],[1,"nav_pill",3,"routerLink"],["aria-hidden","true",1,"nav_pills_fade"],[1,"stat_card",3,"routerLink"],[3,"src","size","color","strokeWidth"],[1,"stat_card__body"],[1,"stat_card__label"],[1,"stat_card__count"],[1,"stat_card__suffix"],[1,"nav_pill__label"]],template:function(i,u){i&1&&l(0,He,6,2,"div",0)(1,Ke,10,1,"div",1),i&2&&_(u.loading()?0:1)},dependencies:[w,U,R,B,Ce,be,fe,ke],styles:[".quick_links[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px}.stat_cards[_ngcontent-%COMP%]{display:flex;gap:12px}@media (max-width: 767px){.stat_cards[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.stat_cards[_ngcontent-%COMP%] .stat_card[_ngcontent-%COMP%]:nth-child(1), .stat_cards[_ngcontent-%COMP%] .stat_card[_ngcontent-%COMP%]:nth-child(2){grid-column:span 3}.stat_cards[_ngcontent-%COMP%] .stat_card[_ngcontent-%COMP%]:nth-child(3), .stat_cards[_ngcontent-%COMP%] .stat_card[_ngcontent-%COMP%]:nth-child(4), .stat_cards[_ngcontent-%COMP%] .stat_card[_ngcontent-%COMP%]:nth-child(5){grid-column:span 2}}.stat_card[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:24px;flex:1;padding:12px;background:var(--grey-00);border:1px solid var(--stroke-primary);border-radius:16px;text-decoration:none;transition:border-color .2s ease;cursor:pointer;overflow:hidden}@supports (corner-shape: squircle){.stat_card[_ngcontent-%COMP%]{border-radius:32px;corner-shape:squircle}}.stat_card[_ngcontent-%COMP%]:hover{border-color:var(--card-color, var(--blue-200))}@media (max-width: 767px){.stat_card[_ngcontent-%COMP%]{gap:12px}}.stat_card__body[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;width:100%}@media (max-width: 767px){.stat_card__body[_ngcontent-%COMP%]{gap:4px}}.stat_card__label[_ngcontent-%COMP%]{word-wrap:normal;font-size:14px;font-weight:500;color:var(--grey-1100);line-height:140%}@media (max-width: 767px){.stat_card__label[_ngcontent-%COMP%]{font-size:12px;letter-spacing:-.12px}}.stat_card__count[_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:4px;white-space:nowrap}.stat_card__count[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:14px;font-weight:500;color:var(--grey-1100)}@media (max-width: 767px){.stat_card__count[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:12px}}.stat_card__suffix[_ngcontent-%COMP%]{font-size:12px;font-weight:500;color:var(--text-secondary)}@media (max-width: 767px){.stat_card__suffix[_ngcontent-%COMP%]{font-size:10px}}.nav_pills_wrap[_ngcontent-%COMP%]{position:relative}.nav_pills[_ngcontent-%COMP%]{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;padding-right:72px;scrollbar-width:none}.nav_pills[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}@media (max-width: 767px){.nav_pills[_ngcontent-%COMP%]{padding-right:48px}}.nav_pills_fade[_ngcontent-%COMP%]{position:absolute;top:0;right:0;width:72px;height:100%;background:linear-gradient(to right,rgba(246,246,246,0),var(--grey-00));pointer-events:none;display:block}.nav_pill[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px;height:40px;padding:8px 16px 8px 12px;background:var(--grey-00);border:1px solid var(--stroke-primary);box-shadow:0 8px 8px #0000000a;border-radius:999px;text-decoration:none;transition:all .2s ease;white-space:nowrap;cursor:pointer;flex-shrink:0}.nav_pill[_ngcontent-%COMP%]:hover{border-color:var(--blue-200);background:var(--blue-50)}.nav_pill--badge[_ngcontent-%COMP%]{box-shadow:0 4px 8px #0000000a}.nav_pill__label[_ngcontent-%COMP%]{font-size:14px;color:var(--grey-1100)}@media (max-width: 767px){.nav_pill__label[_ngcontent-%COMP%]{font-size:12px}}.nav_pill__badge[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:2.5px 6px;font-size:10px;font-weight:800;color:var(--grey-00);background:var(--red-700);border-radius:10px}.skeleton[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px}.sk_cards[_ngcontent-%COMP%]{display:flex;gap:12px}@media (max-width: 767px){.sk_cards[_ngcontent-%COMP%]{gap:8px}}.sk_card[_ngcontent-%COMP%]{flex:1;height:90px;border-radius:16px;background:linear-gradient(90deg,var(--grey-100) 25%,var(--grey-50) 50%,var(--grey-100) 75%);background-size:200% 100%;animation:_ngcontent-%COMP%_shimmer 1.5s infinite}@supports (corner-shape: squircle){.sk_card[_ngcontent-%COMP%]{border-radius:32px;corner-shape:squircle}}.sk_card--sm[_ngcontent-%COMP%]{height:78px}.sk_pills[_ngcontent-%COMP%]{display:flex;gap:8px}.sk_pill[_ngcontent-%COMP%]{width:120px;height:40px;border-radius:999px;background:linear-gradient(90deg,var(--grey-100) 25%,var(--grey-50) 50%,var(--grey-100) 75%);background-size:200% 100%;animation:_ngcontent-%COMP%_shimmer 1.5s infinite}@keyframes _ngcontent-%COMP%_shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}"],changeDetection:0})}}return e})();y();y();var tt=()=>["blue-700"],nt=()=>[1,2],it=()=>[88,64,64],ot=()=>["cus","d"],at=()=>["cus","MMM"],rt=()=>["cus","EEE, d MMM"],ie=()=>["HM"],st=()=>["grey-800"],dt=()=>["C"],pt=()=>["grey-900"],ct=(e,r)=>r.id;function lt(e,r){e&1&&(o(0,"div",8)(1,"div",9)(2,"div",10),d(3,"div",11),o(4,"div",12),d(5,"div",13)(6,"div",14)(7,"div",15),a()(),o(8,"div",16)(9,"div",17),d(10,"div",18),o(11,"div",19),d(12,"div",15)(13,"div",13),a()(),d(14,"div",20),a()(),d(15,"div",21),a())}function _t(e,r){e&1&&(o(0,"div",7),v(1,lt,16,0,"div",8,P),a()),e&2&&(n(),M(c(0,nt)))}function gt(e,r){if(e&1&&d(0,"app-status-badge",32),e&2){let t=g().$implicit;p("status",t.applicationCardData.status)("statusText",t.applicationCardData.statusText)}}function ut(e,r){if(e&1){let t=pe();o(0,"button",50),ce("click",function(){se(t);let u=g().$implicit,m=g(3);return de(m.joinDyteSession(u.id))}),s(1," Join Session "),d(2,"un-icon",51),a()}e&2&&(n(2),p("size",16)("color",c(2,pt)))}function mt(e,r){if(e&1&&(o(0,"div",22)(1,"div",23)(2,"div",24)(3,"div",25)(4,"div",26),d(5,"un-avatar",27),a(),o(6,"div",28)(7,"div",29)(8,"span",30)(9,"span",31),s(10,"\u{1F468}\u{1F3FB}\u200D\u{1F4BB}"),a(),o(11,"span"),s(12,"1:1 Session"),a()(),l(13,gt,1,2,"app-status-badge",32),a(),o(14,"div",33)(15,"p",34),s(16),a(),o(17,"p",35),s(18),a()()()()(),o(19,"div",36)(20,"div",37)(21,"div",38)(22,"span",39),s(23),h(24,"d2cDate"),a(),o(25,"span",40),s(26),h(27,"d2cDate"),a()(),o(28,"div",41)(29,"p",42),s(30),a(),o(31,"div",43)(32,"span",44)(33,"strong"),s(34),h(35,"d2cDate"),a(),o(36,"span"),s(37),h(38,"d2cDate"),h(39,"d2cDate"),a()(),d(40,"span",45),o(41,"span",46),d(42,"un-icon",47),s(43),a()()()(),l(44,ut,3,3,"button",48),a()(),o(45,"p",49),s(46),h(47,"d2cDate"),h(48,"d2cDate"),a()()),e&2){let t=r.$implicit;p("routerLink",q("/mentor/",t==null?null:t.username)),n(5),p("bgColor","grey-100")("imageUrl",t.mentorAvatarUrl)("name",t.mentorName)("size",c(42,it)),n(8),_(t.applicationCardData!=null&&t.applicationCardData.statusText?13:-1),n(3),C(t.mentorName),n(2),C(t.mentorInstitution),n(5),C(b(24,21,t.start_date,c(43,ot))),n(3),C(b(27,24,t.start_date,c(44,at))),n(4),C(t.sessionTitle),n(4),C(b(35,27,t.start_date,c(45,rt))),n(3),D(" ",b(38,30,t.start_date,c(46,ie))," - ",b(39,33,t.end_date,c(47,ie))," "),n(5),p("size",16)("color",c(48,st)),n(),k(" ",t.duration," "),n(),_(t.applicationCardData.statusText==="live"?44:-1),n(2),D("Booked on: ",b(47,36,t.created_at,c(49,dt)),", ",b(48,39,t.created_at,c(50,ie)))}}function xt(e,r){if(e&1&&(o(0,"div",7),v(1,mt,49,51,"div",22,ct),a()),e&2){let t=g(2);n(),M(t.sessions().slice(0,2))}}function ht(e,r){if(e&1&&(o(0,"section",0)(1,"div",1),d(2,"span",2),o(3,"div",3)(4,"h2",4),s(5,"Upcoming Mentorship Sessions"),a(),o(6,"button",5),s(7," View All "),d(8,"un-icon",6),a()()(),l(9,_t,3,1,"div",7)(10,xt,3,0,"div",7),a()),e&2){let t=g();n(6),p("routerLink","/user/mentor-sessions/all"),n(2),p("icon","chevron_right.svg")("size",24)("color",c(5,tt)),n(),_(t.loading()?9:t.sessions().length>0?10:-1)}}var De=(()=>{class e{joinDyteSession(t){let i=encodeURI(btoa(t)),u=this.router.serializeUrl(this.router.createUrlTree(["video-conference/mentorship/"+i]));window.open(u,"_blank")}constructor(){this._dataService=f(S),this.router=f(me),this.loading=this._dataService.loadingMentorshipSession,this.sessions=this._dataService.upcomingMentorshipSession}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=O({type:e,selectors:[["app-upcoming-mentorship-sessions-activity"]],decls:1,vars:1,consts:[[1,"sessions_section"],[1,"section_header"],["aria-hidden","true",1,"live_dot"],[1,"align-center","j-between","full-width"],[1,"section_title"],["unButtonCircle","","unButtonIconRight","","unButtonBorder","",1,"blue-700-text","blue-50","blue-200-border","blue-100-bg-hover",3,"routerLink"],[3,"icon","size","color"],[1,"sessions_list"],[1,"session_wrap"],[1,"sk_card"],[1,"sk_card__top"],[1,"sk_avatar"],[1,"sk_info"],[1,"sk_line","sk_line--sm"],[1,"sk_line","sk_line--lg"],[1,"sk_line","sk_line--md"],[1,"sk_card__bottom"],[1,"sk_schedule"],[1,"sk_date_block"],[1,"sk_meta"],[1,"sk_btn"],[1,"sk_timestamp"],[1,"session_wrap",3,"routerLink"],[1,"session_card"],[1,"session_card__top"],[1,"session_card__top_inner"],[1,"session_card__avatar"],[3,"bgColor","imageUrl","name","size"],[1,"session_card__mentor_info"],[1,"session_card__type_row"],[1,"session_card__type"],["aria-hidden","true"],[3,"status","statusText"],[1,"session_card__mentor_details"],[1,"session_card__mentor_name"],[1,"session_card__mentor_institution"],[1,"session_card__bottom"],[1,"session_card__schedule"],[1,"date_block"],[1,"date_block__day"],[1,"date_block__month"],[1,"session_meta"],[1,"session_meta__title"],[1,"session_meta__row"],[1,"session_meta__date_time"],["aria-hidden","true",1,"session_meta__divider"],[1,"session_meta__duration"],["icon","history_3.svg",3,"size","color"],["unButtonSmall","","unButtonBorder","","unButtonIconRight","","unButtonCircle",""],[1,"session_timestamp"],["unButtonSmall","","unButtonBorder","","unButtonIconRight","","unButtonCircle","",3,"click"],["icon","arrow_upward_right.svg",3,"size","color"]],template:function(i,u){i&1&&l(0,ht,11,6,"section",0),i&2&&_(u.sessions().length||u.loading()?0:-1)},dependencies:[w,U,R,B,G,xe,X,K,Y,H,Pe,J],styles:['.sessions_section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:20px;padding-top:8px}.section_header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px}.section_title[_ngcontent-%COMP%]{font-size:24px;font-weight:600;color:var(--grey-1100);margin:0}@media (max-width: 767px){.section_title[_ngcontent-%COMP%]{font-size:20px}}@keyframes _ngcontent-%COMP%_live-pulse{0%{transform:scale(1);opacity:.7}to{transform:scale(2.8);opacity:0}
1}.live_dot[_ngcontent-%COMP%]{position:relative;display:inline-block;width:10px;height:10px;flex-shrink:0;overflow:visible}.live_dot[_ngcontent-%COMP%]:after{content:"";position:absolute;inset:0;background:var(--red-700);border-radius:50%}.live_dot[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;background:#d6350080;border-radius:50%;animation:_ngcontent-%COMP%_live-pulse 1.2s ease-out infinite}.sessions_list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px}.session_wrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px}.session_card[_ngcontent-%COMP%]{background:var(--grey-50);padding:4px;border-radius:16px;overflow:hidden}@supports (corner-shape: squircle){.session_card[_ngcontent-%COMP%]{border-radius:32px;corner-shape:squircle}}.session_card__top[_ngcontent-%COMP%]{background:var(--grey-00);padding:16px;border-radius:12px;display:flex;gap:20px;align-items:flex-start}@supports (corner-shape: squircle){.session_card__top[_ngcontent-%COMP%]{border-radius:24px;corner-shape:squircle}}@media (max-width: 767px){.session_card__top[_ngcontent-%COMP%]{padding:8px 8px 12px 12px;gap:12px}}.session_card__top_inner[_ngcontent-%COMP%]{flex:1;display:flex;gap:16px;align-items:center}@media (max-width: 767px){.session_card__top_inner[_ngcontent-%COMP%]{gap:12px}}.session_card__avatar[_ngcontent-%COMP%]{width:88px;height:88px;border-radius:999px;overflow:hidden;border:1px solid rgba(0,0,0,.06);flex-shrink:0;background:var(--grey-00)}.session_card__avatar[_ngcontent-%COMP%] d2c-img, .session_card__avatar[_ngcontent-%COMP%] img{width:100%;height:100%;object-fit:cover;display:block}@media (max-width: 767px){.session_card__avatar[_ngcontent-%COMP%]{width:64px;height:64px}}.session_card__mentor_info[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;gap:8px}@media (max-width: 767px){.session_card__mentor_info[_ngcontent-%COMP%]{gap:4px}}.session_card__type_row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.session_card__type[_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:4px;font-size:14px;color:var(--grey-1100);white-space:nowrap;background:transparent;border-radius:8px}@media (max-width: 767px){.session_card__type[_ngcontent-%COMP%]{font-size:12px}}.status_chip[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px;font-size:12px;border-radius:999px;padding:2px 8px}@media (max-width: 767px){.status_chip[_ngcontent-%COMP%]{font-size:10px}}.status_chip--live[_ngcontent-%COMP%]{color:var(--red-700);background:var(--red-50)}.status_chip--upcoming[_ngcontent-%COMP%]{color:var(--text-tertiary);background:var(--grey-100)}.status_chip__dot[_ngcontent-%COMP%]{position:relative;display:inline-block;width:8px;height:8px;border-radius:50%;flex-shrink:0;overflow:visible}.status_chip__dot[_ngcontent-%COMP%]:after{content:"";position:absolute;inset:0;background:var(--red-700);border-radius:50%}.status_chip__dot[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;background:#d6350080;border-radius:50%;animation:_ngcontent-%COMP%_live-pulse 1.2s ease-out infinite}.session_card__mentor_details[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4px}.session_card__mentor_name[_ngcontent-%COMP%]{font-size:18px;font-weight:600;color:var(--grey-1100);margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:.3s;cursor:pointer}.session_card__mentor_name[_ngcontent-%COMP%]:hover{color:var(--blue-700)}@media (max-width: 767px){.session_card__mentor_name[_ngcontent-%COMP%]{font-size:16px}}.session_card__mentor_institution[_ngcontent-%COMP%]{font-size:12px;color:var(--text-secondary);margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.3}@media (max-width: 767px){.session_card__mentor_institution[_ngcontent-%COMP%]{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}.session_card__bottom[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;gap:12px}@media (max-width: 767px){.session_card__bottom[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start;gap:12px;padding:12px}}.session_card__schedule[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.date_block[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:44px;background:var(--grey-00);border-radius:8px;overflow:hidden;padding:2px;flex-shrink:0}@supports (corner-shape: squircle){.date_block[_ngcontent-%COMP%]{border-radius:16px;corner-shape:squircle}}.date_block__day[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;height:20px;background:var(--blue-700);border-radius:6px;font-size:14px;font-weight:600;color:var(--grey-00);line-height:1}@supports (corner-shape: squircle){.date_block__day[_ngcontent-%COMP%]{border-radius:12px;corner-shape:squircle}}.date_block__month[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;height:20px;font-size:12px;font-weight:500;color:var(--grey-1100);line-height:1}.session_meta[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4px}.session_meta__title[_ngcontent-%COMP%]{font-size:14px;font-weight:500;color:var(--grey-1100);margin:0;line-height:1.3}@media (max-width: 767px){.session_meta__title[_ngcontent-%COMP%]{white-space:normal;max-width:247px}}.session_meta__row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;white-space:nowrap}.session_meta__date_time[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--text-secondary)}.session_meta__date_time[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-weight:500}.session_meta__divider[_ngcontent-%COMP%]{width:1px;align-self:stretch;background:#0000001a;flex-shrink:0}.session_meta__duration[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--text-secondary)}.session_timestamp[_ngcontent-%COMP%]{font-size:10px;color:var(--text-tertiary);line-height:normal}@keyframes _ngcontent-%COMP%_shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.sk_timestamp[_ngcontent-%COMP%], .sk_btn[_ngcontent-%COMP%], .sk_date_block[_ngcontent-%COMP%], .sk_line[_ngcontent-%COMP%], .sk_avatar[_ng
1content-%COMP%]{background:linear-gradient(90deg,var(--grey-100) 25%,var(--grey-50) 50%,var(--grey-100) 75%);background-size:200% 100%;animation:_ngcontent-%COMP%_shimmer 1.5s infinite}.sk_card[_ngcontent-%COMP%]{background:var(--grey-50);padding:4px;border-radius:16px}@supports (corner-shape: squircle){.sk_card[_ngcontent-%COMP%]{border-radius:32px;corner-shape:squircle}}.sk_card__top[_ngcontent-%COMP%]{background:var(--grey-00);padding:16px;border-radius:12px;display:flex;gap:16px;align-items:center}@supports (corner-shape: squircle){.sk_card__top[_ngcontent-%COMP%]{border-radius:24px;corner-shape:squircle}}@media (max-width: 767px){.sk_card__top[_ngcontent-%COMP%]{padding:12px;gap:12px}}.sk_avatar[_ngcontent-%COMP%]{width:88px;height:88px;border-radius:999px;flex-shrink:0}@media (max-width: 767px){.sk_avatar[_ngcontent-%COMP%]{width:64px;height:64px}}.sk_info[_ngcontent-%COMP%]{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px}.sk_line[_ngcontent-%COMP%]{border-radius:6px;height:12px}.sk_line--sm[_ngcontent-%COMP%]{width:40%}.sk_line--md[_ngcontent-%COMP%]{width:65%}.sk_line--lg[_ngcontent-%COMP%]{width:85%}.sk_card__bottom[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px}@media (max-width: 767px){.sk_card__bottom[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch;gap:10px}}.sk_schedule[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.sk_date_block[_ngcontent-%COMP%]{width:44px;height:44px;border-radius:8px;flex-shrink:0}@supports (corner-shape: squircle){.sk_date_block[_ngcontent-%COMP%]{border-radius:16px;corner-shape:squircle}}.sk_meta[_ngcontent-%COMP%]{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.sk_btn[_ngcontent-%COMP%]{height:36px;width:110px;border-radius:999px;flex-shrink:0}@media (max-width: 767px){.sk_btn[_ngcontent-%COMP%]{width:100%}}.sk_timestamp[_ngcontent-%COMP%]{height:10px;width:180px;border-radius:4px;margin:6px 0 0 4px}.view_all[_ngcontent-%COMP%]:hover un-icon[_ngcontent-%COMP%]{transform:translate(3px)}'],changeDetection:0})}}return e})();y();y();var ft=()=>["blue-700"],vt=()=>[88,64,64],Mt=()=>["grey-900"],oe=()=>["C"],ae=()=>["HM"],Z=()=>["grey-800"],Fe=e=>({round:e}),bt=(e,r)=>r.id;function yt(e,r){e&1&&(o(0,"div",4)(1,"h2",5),s(2,"Upcoming Rounds"),a(),o(3,"button",8),s(4," View All "),d(5,"un-icon",9),a()()),e&2&&(n(3),p("routerLink","/user/rounds/all/upcoming"),n(2),p("icon","chevron_right.svg")("size",14)("color",c(4,ft)))}function Ot(e,r){e&1&&(o(0,"h2",5),s(1,"Upcoming Rounds"),a())}function kt(e,r){e&1&&d(0,"app-user-loading-grid",6),e&2&&p("type","user")}function Pt(e,r){e&1&&(d(0,"div",26),s(1," Live "))}function wt(e,r){e&1&&(d(0,"un-icon",9),s(1," Upcoming ")),e&2&&p("icon","schedule.svg")("size",16)("color",c(3,Z))}function St(e,r){if(e&1&&(o(0,"div",17),l(1,Pt,2,0)(2,wt,2,4),a()),e&2){let t=g().$implicit;n(),_(t!=null&&t.isLive?1:2)}}function Tt(e,r){if(e&1&&E(0,20),e&2){let t=g().$implicit;g(3);let i=z(2);p("ngTemplateOutlet",i)("ngTemplateOutletContext",L(2,Fe,t))}}function Dt(e,r){if(e&1&&(d(0,"div",27),E(1,20)),e&2){let t=g().$implicit;g(3);let i=z(2);n(),p("ngTemplateOutlet",i)("ngTemplateOutletContext",L(2,Fe,t))}}function Ft(e,r){e&1&&(d(0,"div",26),s(1," Live "))}function Et(e,r){e&1&&(d(0,"un-icon",9),s(1," Upcoming ")),e&2&&p("icon","schedule.svg")("size",16)("color",c(3,Z))}function zt(e,r){if(e&1&&(o(0,"div",17),l(1,Ft,2,0)(2,Et,2,4),a()),e&2){let t=g().$implicit;n(),_(t!=null&&t.isLive?1:2)}}function Rt(e,r){if(e&1&&(o(0,"div",10)(1,"div",11)(2,"div",12)(3,"div",13)(4,"div",14),d(5,"un-avatar",15),a(),o(6,"div",16),l(7,St,3,1,"div",17),o(8,"p",18),s(9),a(),o(10,"p",19),s(11),a(),l(12,Tt,1,4,"ng-container",20),a()(),l(13,Dt,2,4),a(),o(14,"div",21),l(15,zt,3,1,"div",17),o(16,"button",22),s(17," View Rounds "),d(18,"un-icon",23),a()()(),o(19,"div",24)(20,"span",25),s(21),h(22,"d2cDate"),h(23,"d2cDate"),a()()()),e&2){let t=r.$implicit,i=g(3);n(5),p("bgColor","grey-00")("textColor","grey-1100")("name",t.oppTitle)("imageUrl",t.opp_img)("shape","rounded-square")("size",c(26,vt)),n(2),_(i.isDesktop()?-1:7),n(),p("routerLink",q("/",t.oppUrl)),n(),C(t.oppTitle),n(2),C(t.oppOrganisation),n(),_(i.isDesktop()?12:-1),n(),_(i.isDesktop()?-1:13),n(2),_(i.isDesktop()?15:-1),n(),p("routerLink",q("/",t.oppUrl)),n(2),p("size",16)("color",c(27,Mt)),n(3),D(" Applied: ",b(22,20,t.applied_at,c(28,oe)),", ",b(23,23,t.applied_at,c(29,ae))," ")}}
1function Ut(e,r){if(e&1&&(o(0,"div",7),v(1,Rt,24,30,"div",10,bt),a()),e&2){let t=g(2);n(),M(t.rounds().slice(0,2))}}function Bt(e,r){if(e&1&&(o(0,"section",1)(1,"div",2),d(2,"span",3),l(3,yt,6,5,"div",4)(4,Ot,2,0,"h2",5),a(),l(5,kt,1,1,"app-user-loading-grid",6)(6,Ut,3,0,"div",7),a()),e&2){let t=g();n(3),_(t.rounds().length>2?3:4),n(2),_(t.loading()?5:t.rounds().length>0?6:-1)}}function It(e,r){if(e&1&&(o(0,"div",28)(1,"span",29),d(2,"un-icon",30),o(3,"span",31),s(4),h(5,"d2cDate"),h(6,"d2cDate"),a(),s(7," - "),o(8,"span",31),s(9),h(10,"d2cDate"),h(11,"d2cDate"),a()(),d(12,"span",32),o(13,"span",29),d(14,"un-icon",33),o(15,"span",34),s(16,"Your Role:"),a(),o(17,"span",31),s(18),a()()()),e&2){let t=r.round;n(2),p("size",16)("color",c(21,Z)),n(2),D(" ",b(5,9,t.start_regn_dt,c(22,oe)),", ",b(6,12,t.start_regn_dt,c(23,ae))," "),n(5),D(" ",b(10,15,t.end_regn_dt,c(24,oe)),", ",b(11,18,t.end_regn_dt,c(25,ae))," "),n(5),p("size",16)("color",c(26,Z)),n(4),C(t.player_type)}}var Ee=(()=>{class e{constructor(){this._dataService=f(S),this._veiwportService=f(I),this.isDesktop=x(()=>this._veiwportService.isDesktop()),this.loading=this._dataService.loadingRounds,this.rounds=this._dataService.upcomingRounds}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=O({type:e,selectors:[["app-upcoming-rounds-activity"]],decls:3,vars:1,consts:[["date",""],[1,"rounds_section"],[1,"section_header","round_status"],["aria-hidden","true",1,"live_dot"],[1,"align-center","j-between","full-width"],[1,"section_title"],[3,"type"],[1,"rounds_list"],["unButtonCircle","","unButtonIconRight","","unButtonBorder","",1,"blue-700-text","blue-50","blue-200-border","blue-100-bg-hover",3,"routerLink"],[3,"icon","size","color"],[1,"round_wrap"],[1,"round_card"],[1,"round_card__top"],[1,"round_card__top_inner"],[1,"round_card__logo"],[3,"bgColor","textColor","name","imageUrl","shape","size"],[1,"round_card__opp_info"],[1,"round_status"],[1,"round_card__opp_title",3,"routerLink"],[1,"round_card__opp_org"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"round_card__bottom"],["unButtonSmall","","unButtonBorder","","unButtonIconRight","","unButtonCircle","",3,"routerLink"],["icon","arrow_upward_right.svg",3,"size","color"],[1,"round_card__footer"],[1,"round_timestamp"],[1,"live_dot"],[1,"top_border"],[1,"round_card__meta"],[1,"round_card__meta_item"],["icon","calendar_month.svg",3,"size","color"],[1,"round_card__meta_value"],["aria-hidden","true",1,"round_card__divider"],["icon","person-group-dualtone.svg",3,"size","color"],[1,"round_card__meta_label"]],template:function(i,u){i&1&&(l(0,Bt,7,2,"section",1),F(1,It,19,27,"ng-template",null,0,j)),i&2&&_(u.rounds().length||u.loading()?0:-1)},dependencies:[w,V,U,R,B,G,X,K,Y,H,Oe,J],styles:['.rounds_section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:20px;padding-top:8px}.section_header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px}.section_title[_ngcontent-%COMP%]{font-size:24px;font-weight:600;color:var(--grey-1100);margin:0}@media (max-width: 1023px){.section_title[_ngcontent-%COMP%]{font-size:20px}}.rounds_list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px}.round_wrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px}.round_card[_ngcontent-%COMP%]{background:var(--grey-50);padding:4px;border-radius:16px;overflow:hidden}@supports (corner-shape: squircle){.round_card[_ngcontent-%COMP%]{border-radius:32px;corner-shape:squircle}}.round_card__top[_ngcontent-%COMP%]{background:var(--grey-00);padding:16px;border-radius:12px;display:flex;gap:20px;align-items:flex-start}@supports (corner-shape: squircle){.round_card__top[_ngcontent-%COMP%]{border-radius:24px;corner-shape:squircle}}@media (max-width: 1023px){.round_card__top[_ngcontent-%COMP%]{padding:8px 8px 12px;gap:12px;flex-direction:column}}
1.round_card__top_inner[_ngcontent-%COMP%]{flex:1;display:flex;gap:16px;align-items:center}@media (max-width: 1023px){.round_card__top_inner[_ngcontent-%COMP%]{align-items:flex-start;gap:12px;padding-top:4px}}.round_card__logo[_ngcontent-%COMP%]{flex-shrink:0;border:1px solid rgba(0,0,0,.06);background:var(--grey-00);border-radius:12px;overflow:hidden;display:flex;align-items:center;justify-content:center}@supports (corner-shape: squircle){.round_card__logo[_ngcontent-%COMP%]{border-radius:24px;corner-shape:squircle}}.round_card__opp_info[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;gap:4px}.round_card__opp_title[_ngcontent-%COMP%]{font-size:18px;font-weight:600;color:var(--grey-1100);margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:140%;transition:.3s;cursor:pointer}.round_card__opp_title[_ngcontent-%COMP%]:hover{color:var(--blue-700)}@media (max-width: 1023px){.round_card__opp_title[_ngcontent-%COMP%]{font-size:16px}}.round_card__opp_org[_ngcontent-%COMP%]{font-size:12px;font-weight:500;color:var(--text-secondary);margin:0;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width: 1023px){.round_card__opp_org[_ngcontent-%COMP%]{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}.round_card__meta[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}@media (max-width: 1023px){.round_card__meta[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start;gap:8px}}.round_card__meta_item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px;white-space:nowrap}.round_card__meta_label[_ngcontent-%COMP%]{font-size:12px;font-weight:500;color:var(--text-secondary)}.round_card__meta_value[_ngcontent-%COMP%]{font-size:12px;font-weight:500;color:var(--grey-1100)}.round_card__divider[_ngcontent-%COMP%]{width:1px;height:16px;background:#0000001a;flex-shrink:0}@media (max-width: 1023px){.round_card__divider[_ngcontent-%COMP%]{display:none}}
1.round_card__separator[_ngcontent-%COMP%]{display:none;height:1px;background:#0000000f;margin:0 -4px}@media (max-width: 1023px){.round_card__separator[_ngcontent-%COMP%]{display:block}}.round_card__bottom[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:8px 12px}@media (max-width: 1023px){.round_card__bottom[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch;gap:12px;padding:12px}}.timeline_fade[_ngcontent-%COMP%]{position:absolute;top:0;right:0;width:48px;height:100%;background:linear-gradient(to right,rgba(246,246,246,0),var(--grey-50));pointer-events:none}.timeline_fade_left[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:48px;height:100%;background:linear-gradient(to left,rgba(246,246,246,0),var(--grey-50));pointer-events:none}.round_chip[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px;padding:6px;background:var(--grey-00);border:1px solid var(--grey-200);border-radius:6px;white-space:nowrap;flex-shrink:0}@supports (corner-shape: squircle){.round_chip[_ngcontent-%COMP%]{border-radius:12px;corner-shape:squircle}}.round_chip--completed[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:12px;font-weight:500;color:var(--grey-1100)}.round_chip--live[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:12px;font-weight:600;color:var(--grey-1100)}.round_chip--live[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(.live_dot_sm):last-child{font-size:12px;font-weight:500;color:var(--grey-1100)}.round_chip--upcoming[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:12px;font-weight:500;color:var(--text-secondary)}.live_dot_sm[_ngcontent-%COMP%]{position:relative;display:inline-block;width:12px;height:12px;flex-shrink:0}@media (max-width: 1023px){.live_dot_sm[_ngcontent-%COMP%]{width:10px;height:10px}}.live_dot_sm[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:22.73%;background:#d6350080;border-radius:50%}.live_dot_sm[_ngcontent-%COMP%]:after{content:"";position:absolute;inset:30%;background:var(--red-700);border-radius:50%}.icon_btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:transparent;border:none;cursor:pointer;flex-shrink:0;padding:0}.round_card__footer[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}@media (max-width: 1023px){.round_card__footer[_ngcontent-%COMP%]{padding:2px 4px 0}}.round_timestamp[_ngcontent-%COMP%]{font-size:10px;font-weight:500;color:var(--text-tertiary);line-height:normal}.review_row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px}.review_label[_ngcontent-%COMP%]{font-size:10px;font-weight:600;color:var(--grey-1100);white-space:nowrap}@media (max-width: 1023px){.review_label[_ngcontent-%COMP%]{font-size:10px}}.star_row[_ngcontent-%COMP%]{display:flex;align-items:center}.star_btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;background:none;border:none;padding:0;margin-right:-1px;cursor:pointer}.star_btn[_ngcontent-%COMP%]:last-child{margin-right:0}@media (max-width: 1023px){.star_btn[_ngcontent-%COMP%] un-icon{width:16px;height:16px}}@keyframes _ngcontent-%COMP%_shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.sk_btn[_ngcontent-%COMP%], .sk_chip[_ngcontent-%COMP%], .sk_line[_ngcontent-%COMP%], .sk_logo[_ngcontent-%COMP%]{background:linear-gradient(90deg,var(--grey-100) 25%,var(--grey-50) 50%,var(--grey-100) 75%);background-size:200% 100%;animation:_ngcontent-%COMP%_shimmer 1.5s infinite}.sk_card[_ngcontent-%COMP%]{background:var(--grey-50);padding:4px;border-radius:16px}@supports (corner-shape: squircle){.sk_card[_ngcontent-%COMP%]{border-radius:32px;corner-shape:squircle}}.sk_card__top[_ngcontent-%COMP%]{background:var(--grey-00);padding:16px;border-radius:12px;display:flex;gap:16px;align-items:center}@supports (corner-shape: squircle){.sk_card__top[_ngcontent-%COMP%]{border-radius:24px;corner-shape:squircle}}@media (max-width: 1023px){.sk_card__top[_ngcontent-%COMP%]{padding:12px;gap:12px;align-items:flex-start}}.sk_logo[_ngcontent-%COMP%]{width:88px;height:88px;border-radius:12px;flex-shrink:0}@supports (corner-shape: squircle){.sk_logo[_ngcontent-%COMP%]{border-radius:24px;corner-shape:squircle}}@media (max-width: 1023px){.sk_logo[_ngcontent-%COMP%]{width:64px;
1height:64px}}.sk_info[_ngcontent-%COMP%]{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px}.sk_line[_ngcontent-%COMP%]{border-radius:6px;height:12px}.sk_line--sm[_ngcontent-%COMP%]{width:40%}.sk_line--md[_ngcontent-%COMP%]{width:60%}.sk_line--lg[_ngcontent-%COMP%]{width:85%}.sk_meta_row[_ngcontent-%COMP%]{display:flex;gap:12px}@media (max-width: 1023px){.sk_meta_row[_ngcontent-%COMP%]{flex-direction:column;gap:8px}}.sk_card__bottom[_ngcontent-%COMP%]{display:flex;align-items:center;gap:16px;padding:12px}@media (max-width: 1023px){.sk_card__bottom[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch;gap:10px}}.sk_chips[_ngcontent-%COMP%]{display:flex;gap:6px;flex:1;min-width:0;overflow:hidden}.sk_chip[_ngcontent-%COMP%]{height:28px;width:56px;border-radius:6px;flex-shrink:0}@supports (corner-shape: squircle){.sk_chip[_ngcontent-%COMP%]{border-radius:12px;corner-shape:squircle}}.sk_btn[_ngcontent-%COMP%]{height:36px;width:110px;border-radius:999px;flex-shrink:0}@media (max-width: 1023px){.sk_btn[_ngcontent-%COMP%]{width:100%}}.sk_footer[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:6px 4px 0}@keyframes _ngcontent-%COMP%_live-pulse{0%{transform:scale(1);opacity:.7}to{transform:scale(2.8);opacity:0}}.round_status[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:2px;color:#717171;font-size:12px}.round_status[_ngcontent-%COMP%] .live_dot[_ngcontent-%COMP%]{display:inline-block;position:relative;background-color:var(--red-700);width:10px;height:10px;border-radius:50%;margin-right:6px;flex-shrink:0;overflow:visible}.round_status[_ngcontent-%COMP%] .live_dot[_ngcontent-%COMP%]:before{content:"";display:block;position:absolute;inset:0;background-color:#d6350080;border-radius:50%;animation:_ngcontent-%COMP%_live-pulse 1.2s ease-out infinite}.section_header[_ngcontent-%COMP%] .live_dot[_ngcontent-%COMP%]{display:inline-block;position:relative;width:10px;height:10px;flex-shrink:0;overflow:visible}.section_header[_ngcontent-%COMP%] .live_dot[_ngcontent-%COMP%]:after{content:"";position:absolute;inset:0;background:var(--red-700);border-radius:50%}.section_header[_ngcontent-%COMP%] .live_dot[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;background:#d6350080;border-radius:50%;animation:_ngcontent-%COMP%_live-pulse 1.2s ease-out infinite}.top_border[_ngcontent-%COMP%]{width:100%;height:1px;border-top:solid 1px rgba(0,0,0,.0588235294)}'],changeDetection:0})}}return e})();y();y();var qt=()=>[1,2,3,4],Lt=e=>({opp:e}),jt=(e,r)=>r.id;function At(e,r){e&1&&E(0)}function Nt(e,r){if(e&1&&F(0,At,1,0,"ng-container",5),e&2){g(2);let t=z(2);p("ngTemplateOutlet",t)}}function Wt(e,r){e&1&&(o(0,"div",6),d(1,"div",7),o(2,"div",8),d(3,"div",9)(4,"div",10),a()())}function $t(e,r){e&1&&(o(0,"div",4),v(1,Wt,5,0,"div",6,P),a()),e&2&&(n(),M(c(0,qt)))}function Qt(e,r){if(e&1&&(o(0,"div",2)(1,"div",3),s(2," Featured "),a(),l(3,Nt,1,1,"ng-container")(4,$t,3,1,"div",4),a()),e&2){let t,i=g();n(3),_((t=i.featuredOpportunities())!=null&&t.length?3:4)}}function Vt(e,r){e&1&&E(0)}function Ht(e,r){if(e&1&&F(0,Vt,1,0,"ng-container",11),e&2){let t=r.$implicit;g(2);let i=z(4);p("ngTemplateOutlet",i)("ngTemplateOutletContext",L(2,Lt,t))}}function Yt(e,r){if(e&1&&(o(0,"div",4),v(1,Ht,1,4,"ng-container",null,jt),a()),e&2){let t=g();n(),M(t.featuredOpportunities())}}function Gt(e,r){if(e&1&&d(0,"img",14),e&2){let t=g().opp;p("src",t.logo_url+"?d=68x68",Q)("alt",(t==null?null:t.title)+" Logo")}}function Jt(e,r){if(e&1&&d(0,"img",14),e&2){let t=g().opp;p("src",(t==null?null:t.image_url)+"?d=68x68",Q)("alt",(t==null?null:t.title)+" Logo")}}function Kt(e,r){if(e&1&&(o(0,"div",16),s(1),a()),e&2){let t=g().opp;n(),k(" ",t.featured_title," ")}}function Xt(e,r){if(e&1&&(o(0,"div",17),s(1),h(2,"titlecase"),a()),e&2){let t=g(2).opp;n(),k("",te(2,1,t==null?null:t.subtype)," Festival")}}function Zt(e,r){if(e&1&&(o(0,"div",16),s(1),a(),l(2,Xt,3,3,"div",17)),e&2){let t=g().opp;n(),k(" ",t.title," "),n(),_((t==null?null:t.entity_type)=="App\\Model\\Festivals"?2:-1)}}function en(e,r){if(e&1&&(o(0,"span"),s(1),h(2,"opportunityType"),a()),e&2){let t=g(2).opp;n(),C(te(2,1,(t==null?null:t.subtype)??(t==null?null:t.type)))}}function tn(e,r){if(e&1&&l(0,en,3,3,"span"),e&2){let t=g().opp;_(t!=null&&t.type?0:-1)}}function nn(e,r){if(e&1&&(o(0,"span"),s(1),a()),e&2){let t=g().opp;n(),k(" ",t==null?null:t.tag," ")}}function on(e,r){if(e&1&&(o(0,"a",12)(1,"div",13),l(2,Gt,1,2,"img",14)(3,Jt,1,2,"img",14),a(),o(4,"div",15),l(5,Kt,2,1,"div",16)(6,Zt,3,2),l(7,tn,1,1)(8,nn,2,1,"span"),a()()),e&2){let t=r.opp;p("href",(t==null?null:t.type)==="custom"?t==null?null:t.url:"/"+((t==null?null:t.public_url)||""),Q)("target",(t==null?null:t.type)==="custom"?"_blank":"_self"),n(2),_((t==null?null:t.type)!=="custom"?2:3),n(3),_(t!=null&&t.featured_title?5:6),n(2),_((t==null?null:t.type)!="custom"?7:8)}}var ze=(()=>{class e{constructor(){this.globalSearchService=f(he),this.featuredOpportunities=x(()=>{let t=this.globalSearchService.featuredOpportunities();return t?(t=this.shuffle([...t]),t?.map(i=>({id:i?.id,logo_url:i?.logoUrl2,title:i?.title||i?.name,public_url:i?.public_url,url:i?.url,featured_title:i?.featured_title,organisation_name:i?.organisation?.name,entity_type:i?.entity_type,type:i?.type,subtype:i?.subtype,design_type:i?.type,tag:i?.tag,image_url:i?.logoUrl2?.image_url}))):null})}ngOnInit(){this.globalSearchService.getFeaturedEntities()}shuffle(t){if(t&&t.length>0){let i=t.length,u=-1;for(;i!=0;)u=Math.floor(Math.random()*i),i--,[t[i],t[u]]=[t[u],t[i]]}return t}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=O({type:e,selectors:[["app-featured-opp"]],decls:5,vars:1,consts:[["top_trending",""],["top_trending_card",""],[1,"trending"],["appTranslate","featuredOpportunities().title",1,"trending_title"],[1,"card-container","custom-scrollbar","thin"],[4,"ngTemplateOutlet"],[1,"trending_card","skeleton-card"],[1,"logo_wrapper","skeleton-logo"],[1,"skeleton-text-wrapper"],[1,"skeleton-text","short"],[1,"skeleton-text","long"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"trending_card",3,"href","target"],[1,"logo"],["width","48","height","48",3,"src","alt"],[1,"cptn"],[1,"desc","double-wrap"],[1,"font-10","grey-800-text","single-wrap"]],template:function(i,u){i&1&&(l(0,Qt,5,
11,"div",2),F(1,Yt,3,0,"ng-template",null,0,j)(3,on,9,5,"ng-template",null,1,j)),i&2&&_(u.featuredOpportunities()!==null?0:-1)},dependencies:[w,V,ge,ye],styles:[".trending[_ngcontent-%COMP%]{display:flex;flex-direction:column;border-radius:16px;padding:4px;width:282px;height:100%;background:linear-gradient(180deg,#0000000f,#0000)}.trending[_ngcontent-%COMP%] .trending_title[_ngcontent-%COMP%]{padding:12px;font-size:14px;font-weight:600}.trending[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%]{padding:8px;max-width:100%;background-color:var(--grey-00);border-radius:12px;flex-grow:1;overflow:hidden;overflow-y:auto}.trending[_ngcontent-%COMP%] .trending_card[_ngcontent-%COMP%]{padding:8px;width:100%;display:flex;align-items:center;color:var(--text-primary);gap:8px;cursor:pointer;border-radius:12px}.trending[_ngcontent-%COMP%] .trending_card[_ngcontent-%COMP%]:hover{background:var(--grey-50)}.trending[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:48px;height:48px;border-radius:12px;border:1px solid var(--stroke-primary);padding:4px;background-color:var(--grey-00);overflow:hidden;flex-shrink:0}.trending[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:contain}@media (min-width: 768px){.trending[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%]{max-height:calc(100dvh - 140px)}}.cptn[_ngcontent-%COMP%]{width:calc(100% - 48px)}.cptn[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%]{font-weight:600;font-size:12px;line-height:130%}.cptn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;font-size:10px;color:var(--grey-800);margin-top:4px}.skeleton-card[_ngcontent-%COMP%]{width:282px;display:flex;align-items:center;gap:10px;width:100%;margin-bottom:16px}.skeleton-card[_ngcontent-%COMP%] .skeleton-logo[_ngcontent-%COMP%]{width:44px;height:44px;border-radius:8px;background:linear-gradient(90deg,var(--grey-100) 25%,var(--grey-200) 37%,var(--grey-100) 63%);background-size:400% 100%}.skeleton-card[_ngcontent-%COMP%] .skeleton-text-wrapper[_ngcontent-%COMP%]{flex:1}.skeleton-card[_ngcontent-%COMP%] .skeleton-text-wrapper[_ngcontent-%COMP%] .skeleton-text[_ngcontent-%COMP%]{height:12px;border-radius:4px;background:linear-gradient(90deg,var(--grey-100) 25%,var(--grey-200) 37%,var(--grey-100) 63%);background-size:400% 100%;margin-bottom:6px}.skeleton-card[_ngcontent-%COMP%] .skeleton-text-wrapper[_ngcontent-%COMP%] .skeleton-text.short[_ngcontent-%COMP%]{width:60%}.skeleton-card[_ngcontent-%COMP%] .skeleton-text-wrapper[_ngcontent-%COMP%] .skeleton-text.long[_ngcontent-%COMP%]{width:80%}.pro-banner[_ngcontent-%COMP%]{margin:24px auto auto;width:100%;height:100px;overflow:hidden;border-radius:12px;cursor:pointer}.pro-banner[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%}"]})}}return e})();y();function an(e,r){e&1&&(o(0,"span"),s(1," Your applications, rounds, and activity in one place. "),a())}function rn(e,r){e&1&&d(0,"app-upcoming-mentorship-sessions-activity")}function sn(e,r){e&1&&d(0,"app-upcoming-rounds-activity")}function dn(e,r){e&1&&(o(0,"un-no-data",5)(1,"span"),s(2,"Try participating in a competition or enrol in a course"),a()()),e&2&&p("cardTitle","Seems like you are still thinking!")}function pn(e,r){e&1&&d(0,"app-featured-opp")}var hi=(()=>{class e{constructor(){this._viewportService=f(I),this._dashbordDataService=f(S),this.showUpomingMentor=x(()=>this._dashbordDataService.loadingMentorshipSession()||!!this._dashbordDataService.upcomingMentorshipSession().length),this.showUpomingRounds=x(()=>this._dashbordDataService.loadingRounds()||!!this._dashbordDataService.upcomingRounds().length),this.isDesktop=x(()=>this._viewportService.isDesktop()),this._dashbordDataService.fetchActivityCounts(),this._dashbordDataService.fetchUpcomingMentorSession(),this._dashbordDataService.fetchUpcomingRounds()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=O({type:e,selectors:[["app-my-activity"]],decls:13,vars:5,consts:[[1,"container-un"],[1,"a_hdng","mb-20"],[1,"blue-700-text"],[1,"grid_box"],[1,"left_grid","gap-40"],[3,"cardTitle"]],template:function(i,u){i&1&&(o(0,"section",0)(1,"h1",1),s(2," My "),o(3,"strong",2),s(4,"Activities"),a(),l(5,an,2,0,"span"),a(),o(6,"div",3)(7,"div",4),d(8,"app-quick-links-activity"),l(9,rn,1,0,"app-upcoming-mentorship-sessions-activity"),l(10,sn,1,0,"app-upcoming-rounds-activity"),l(11,dn,3,1,"un-no-data",5),a(),l(12,pn,1,0,"app-featured-opp"),a()()),i&2&&(n(5),_(u.isDesktop()?5:-1),n(4),_(u.showUpomingMentor()?9:-1),n(),_(u.showUpomingRounds()?10:-1),n(),_(!u.showU
1pomingRounds()&&!u.showUpomingMentor()?11:-1),n(),_(u.isDesktop()?12:-1))},dependencies:[Te,De,Ee,ze,Me,ve],styles:['.max-626[_ngcontent-%COMP%]{max-width:626px}section[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:20px}.grid_box[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:40px}.grid_box[_ngcontent-%COMP%] app-featured-opp[_ngcontent-%COMP%]{width:284px;display:block;position:sticky;top:12px}@media (max-width: 1179px){.grid_box[_ngcontent-%COMP%] app-featured-opp[_ngcontent-%COMP%]{display:none}}.left_grid[_ngcontent-%COMP%]{width:calc(100% - 324px)}@media (max-width: 1179px){.left_grid[_ngcontent-%COMP%]{width:100%}}.new_custom_tab[_ngcontent-%COMP%]{border-bottom:1px solid var(--stroke-primary);display:flex;align-items:center;width:100%;background:var(--grey-00);white-space:nowrap;-ms-overflow-style:none;scrollbar-width:none;margin-bottom:16px}.new_custom_tab[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}@media (max-width: 1024px){.new_custom_tab[_ngcontent-%COMP%]{padding:0 0 8px}}@media (max-width: 767px){.new_custom_tab[_ngcontent-%COMP%]{background:var(--grey-00)}}.module_filters[_ngcontent-%COMP%]{display:flex;flex-shrink:0;width:100%;overflow:hidden;overflow-x:auto}.module_filters[_ngcontent-%COMP%]::-webkit-scrollbar{height:2px}.module_filters[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{font-size:14px;color:var(--text-secondary);font-weight:400;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:10px;height:38px;position:relative;transition:.3s}.module_filters[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:after{content:"";background:transparent;border-radius:4px 4px 0 0;width:100%;height:3px;position:absolute;left:0;bottom:0}.module_filters[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:hover{color:var(--blue-700)}.module_filters[_ngcontent-%COMP%] div.active[_ngcontent-%COMP%]{color:var(--blue-700);pointer-events:none;text-shadow:.3px 0 0 currentColor,-.3px 0 0 currentColor}.module_filters[_ngcontent-%COMP%] div.active[_ngcontent-%COMP%]:after{background:var(--blue-700)}.module_filters[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:20px;height:20px;object-fit:contain}.search_sect[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;position:relative;margin-bottom:24px}.search_sect[_ngcontent-%COMP%] .search_wrapper[_ngcontent-%COMP%]{width:100%;max-width:380px}@media (max-width: 767px){.search_sect[_ngcontent-%COMP%]{margin-bottom:20px}}.clear_sort[_ngcontent-%COMP%]{background:var(--red-100);border-radius:50px;color:var(--red-700);display:flex;align-items:center;cursor:pointer;height:32px;padding:12px;position:absolute;right:16px}.modal_dropdown[_ngcontent-%COMP%]{padding:8px}.modal_dropdown[_ngcontent-%COMP%] .modal_option[_ngcontent-%COMP%]{height:40px;padding:8px}.modal_dropdown[_ngcontent-%COMP%] .modal_option.disabled[_ngcontent-%COMP%]{color:var(--text-secondary);pointer-events:none}@media (max-width: 767px){.mobile_overflow_issue[_ngcontent-%COMP%]{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px;width:calc(100% + 32px)}.mobile_fixed_filter[_ngcontent-%COMP%]{position:fixed;background-color:var(--grey-1300);border-radius:32px;border:1.5px solid var(--grey-1100);display:flex;left:50%;bottom:20px;height:42px;transform:translate(-50%);z-index:10;transition:all .3s ease-in-out}.mobile_fixed_filter.scrolled-down[_ngcontent-%COMP%]{transform:translate(-50%) translateY(64px)}.mobile_fixed_filter[_ngcontent-%COMP%] .filter_btn[_ngcontent-%COMP%]{height:40px;color:var(--grey-00);font-size:12px;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 20px 8px 16px;min-width:60px;white-space:nowrap}.mobile_fixed_filter[_ngcontent-%COMP%] .border_left[_ngcontent-%COMP%]{border-left:1px solid var(--grey-1100)}}',".gap-40[_ngcontent-%COMP%]{display:flex;flex-direction:column}.a_hdng[_ngcontent-%COMP%]{font-size:34px}.a_hdng[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-weight:600}@media (max-width: 767px){.a_hdng[_ngcontent-%COMP%]{font-size:24px}}"],changeDetection:0})}}return e})();export{hi as MyActivity};
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.