1import{a as be}from"./chunk-OWXASCKC.js";import{a as Ct}from"./chunk-ARFAFK7U.js";import{a as ut}from"./chunk-GIGYDHE3.js";import{a as gt}from"./chunk-NE3PN4AS.js";import{b as dt}from"./chunk-IM6EAL2J.js";import"./chunk-GGQ4YUIZ.js";import"./chunk-QUFDBU7S.js";import"./chunk-3MO227XZ.js";import"./chunk-LZNTE4GH.js";import"./chunk-VEIF3W7A.js";import{c as _t}from"./chunk-7CTPXOSQ.js";import{a as ye,b as mt}from"./chunk-RO3APBKW.js";import{a as ve,b as lt}from"./chunk-LGSZ52AU.js";import{a as pt}from"./chunk-2K5C5JJV.js";import{b as he}from"./chunk-2KPI6EB4.js";import"./chunk-H372D66O.js";import{a as st,b as ct}from"./chunk-XFT76LM3.js";import{a as ot,b as at}from"./chunk-FEASY6UH.js";import"./chunk-O2LLYWBR.js";import{a as nt,b as it}from"./chunk-6Z3JPFEM.js";import{c as tt}from"./chunk-GSU3FJJ7.js";import"./chunk-AADV25MJ.js";import"./chunk-VDHMNIPW.js";import{a as xe,b as fe,c as rt}from"./chunk-ZIPUIG2E.js";import"./chunk-LS62P27S.js";import{a as Ye,b as Ge}from"./chunk-COB7JTXP.js";import{a as J,b as Ne}from"./chunk-B7MEV2DH.js";import{c as Ce,d as et}from"./chunk-HHQ3DLDR.js";import{f as Qe}from"./chunk-OME7QJLL.js";import"./chunk-G6XYTQMQ.js";import"./chunk-FV7ZM2WZ.js";import"./chunk-U6SSASD4.js";import"./chunk-PCX2ON3C.js";import"./chunk-37YXYREU.js";import"./chunk-E2EY3FO5.js";import"./chunk-KMBGIYKO.js";import"./chunk-BQMWDA4F.js";import"./chunk-HANTXM7F.js";import"./chunk-AX2G6WXR.js";import"./chunk-6TA4DTF7.js";import"./chunk-GJAGXQZX.js";import"./chunk-7IMGMLDW.js";import"./chunk-KAIJ3F2A.js";import"./chunk-IJLCOAZF.js";import"./chunk-253O5CTU.js";import"./chunk-UOTKKO3D.js";import"./chunk-5DFMJBW7.js";import"./chunk-F4526N3D.js";import"./chunk-OMXQI42V.js";import"./chunk-3D6MWCMT.js";import"./chunk-3PMZJSMT.js";import"./chunk-2GT4AALN.js";import"./chunk-5IVKL24A.js";import"./chunk-7NLDXUER.js";import"./chunk-KYDX7PLZ.js";import"./chunk-7XKLRHXH.js";import"./chunk-VHIBGIIM.js";import"./chunk-WMQEI62T.js";import"./chunk-5RW73NUF.js";import"./chunk-GZSWBVH3.js";import"./chunk-M6FECGVJ.js";import"./chunk-BAV7CPFJ.js";import"./chunk-3BRPUZ4I.js";import"./chunk-3RK6DDJD.js";import"./chunk-BFZTJIT7.js";import"./chunk-TJFKCIBN.js";import"./chunk-RIY6QUVS.js";import"./chunk-B3PI2Z3Z.js";import"./chunk-MSUEAKA3.js";import"./chunk-GAS7A3L4.js";import"./chunk-M3EMDAFZ.js";import"./chunk-IJXHQE24.js";import"./chunk-NJY6F3LT.js";import"./chunk-NYVKXIEZ.js";import"./chunk-DCKGCHBL.js";import{a as $e,b as Je}from"./chunk-GHXZGKMT.js";import"./chunk-GQBR7ALB.js";import"./chunk-V3LPMSAU.js";import"./chunk-57P7T2RM.js";import"./chunk-7RWCIHFI.js";import"./chunk-TZPNXZD6.js";import"./chunk-FO7KVHCD.js";import{a as Xe}from"./chunk-DTHTIZ5C.js";import{B as Ke}from"./chunk-YS4QL7HL.js";import"./chunk-YAUIJJXG.js";import"./chunk-NKG7VJI6.js";import"./chunk-SM333LUT.js";import"./chunk-GGQDMCFC.js";import"./chunk-2IEV6FMW.js";import"./chunk-TWZBNSN4.js";import"./chunk-55MTUKAX.js";import"./chunk-2HJPFN3S.js";import"./chunk-HIEQIAO6.js";import"./chunk-V3ARBFDV.js";import"./chunk-BYHBQABE.js";import"./chunk-6UAWTFFZ.js";import"./chunk-6NHZTPCS.js";import"./chunk-GWP52JAF.js";import"./chunk-SBK5GHAF.js";import"./chunk-C22WGXC3.js";import"./chunk-PYESVWFJ.js";import{a as re}from"./chunk-ZCP5KTTM.js";import"./chunk-WAF2UKPS.js";import"./chunk-R3QRL77R.js";import"./chunk-G2NZI5V3.js";import{h as Le}from"./chunk-62DYWMYT.js";import{a as ae}from"./chunk-TEBKKOGH.js";import"./chunk-UMK6AGIS.js";import"./chunk-4QX5TW7Y.js";import"./chunk-7UZYWCAJ.js";import"./chunk-RIQOBMUM.js";import{j as Be,l as We,o as Re}from"./chunk-WX25E2HZ.js";import"./chunk-I5K7UUBW.js";import"./chunk-6BAE5M2B.js";import{a as Y,b as Ze}from"./chunk-GPTXSPLI.js";import"./chunk-WSF7ZPQZ.js";import{a as le,b as pe,c as se,d as ce,e as He}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{D as de,I as ue,L as qe,b as je,d as _e,i as me,o as ge}from"./chunk-X474JN3X.js";import"./chunk-OLSNRRTA.js";import"./chunk-GJNXMHJK.js";import"./chunk-CLUIJ6WE.js";import"./chunk-XWMJJGBF.js";import"./chunk-5G7452JJ.js";
1import"./chunk-O6NNHBDA.js";import{h as Ae}from"./chunk-VK3ZU6WP.js";import{G as ze,o as te,p as ne,q as ie,r as oe,t as Fe,u as $}from"./chunk-BRHCVEVW.js";import{Ed as E,Fa as Ee,Fd as k,Ga as ke,Gd as U,Ic as W,Ja as Ue,Jc as R,Ld as Q,Mb as N,Me as H,Ob as o,Oc as a,Pc as p,Qa as m,Qc as l,Qd as Ie,Ra as g,Rc as P,Sd as x,Tb as K,Td as M,Ud as A,Vc as f,Wc as v,Xc as T,Zc as y,ac as z,db as St,ed as u,ge as O,hc as q,hd as r,ic as Ve,mc as d,rd as C,td as b,vd as Pe,wd as _,xd as I,y as L,yd as V,zd as De}from"./chunk-7DV7UWC6.js";import"./chunk-XS7UEPGF.js";import{a as j,b as ee}from"./chunk-IP4IO47A.js";St();H();var G=(()=>{class t{constructor(e){this.http=e}createTpoColleges(e){return this.http.post("/api/tpc/create-tpo-admin",e).pipe(L(n=>n))}addCollegesToUniversity(e){return this.http.post("/api/tpc/add-colleges-to-university",e).pipe(L(n=>n))}deleteTpoCollege(e){let i=`/api/tpc/college/${e}`;return this.http.delete(i).pipe(L(n=>n))}replaceTpoAdmin(e,i){let n=`/api/tpc/replace-tpo-admin/${e}`;return this.http.post(n,i)}sendAdminInvite(e,i){let n={admin_id:e,college_id:i};return this.http.post("/api/tpc/send-admin-invite",n)}getSuperAdminProfile(e){let i=`/api/tpc/tpo-admin/${e}`;return this.http.get(i).pipe(L(n=>n))}removeAdminAccess(e,i){let n=`/api/tpc/tpo-admin/${e}/${i}`;return this.http.delete(n).pipe(L(s=>s))}updateTpoCollege(e,i,n=null){let s=`/api/tpc/update-tpo-admin/${i}`;return n&&(s+="/"+n),this.http.post(s,e).pipe(L(h=>h))}tpoAdminAction(e,i){let n=`/api/tpc/tpo-admin-action/${i}`;return this.http.patch(n,e)}assignParentUniversity(e,i){let n=`/api/tpc/assign-university/${e}`;return this.http.patch(n,i)}static{this.\u0275fac=function(i){return new(i||t)(Ue(Ae))}}static{this.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();H();H();H();var Et=()=>["primary-50","grey-50","grey-100"],kt=()=>["icon-primary"],ft=t=>[t],Ut=()=>["icon-blue"],Oe=()=>["red-700"];function Vt(t,c){t&1&&(_(0," All colleges under this University are currently in 'View Only Mode' without dashboard access."),P(1,"br"),_(2," Turning off View only mode for this college will change it's status to active and an invite mail will be sent to the TPO. "))}function Dt(t,c){t&1&&_(0," The Superadmin/TPO Admin will receive an invite mail to access the complete college dashboard from their Unstop account. ")}function It(t,c){t&1&&_(0," The Superadmin/TPO Admin will get full access to the college dashboard under \u201CCollege Dashboard. ")}function Ft(t,c){if(t&1&&(f(0),p(1,"div",13),_(2," Turning Off View Only Mode "),l(),p(3,"div",14),W(4,Vt,3,0)(5,Dt,1,0)(6,It,1,0),l(),v()),t&2){let e=r(2);o(4),R((e.college==null?null:e.college.university_status)==-2?4:!e.college.university_status&&e.college.admin_status==-2?5:6)}}function zt(t,c){t&1&&_(0," View-only mode is currently enabled. By providing access, the Superadmin/TPO Admin will receive an invitation to view the college dashboard with \u201CView Only\u201D permissions. ")}function At(t,c){t&1&&_(0,' The TPO admin will be able to access the college dashboard with "View only mode" restrictions. ')}function Bt(t,c){if(t&1&&(f(0),p(1,"div",13),_(2," Grant View-Only Dashboard Access "),l(),p(3,"div",14),W(4,zt,1,0)(5,At,1,0),l(),v()),t&2){let e=r(2);o(4),R((e.college==null?null:e.college.university_status)==-2||!e.college.university_status&&e.college.admin_status==-2?4:5)}}function Wt(t,c){if(t&1&&(f(0),p(1,"div",13),_(2," Archive this TPO? "),l(),p(3,"div",14),_(4," Archiving will remove this TPO from the Live list, but you can restore it later from Archives. "),l(),p(5,"div",15),P(6,"un-icon",16),_(7,' "'),p(8,"span",17),_(9),l(),_(10,'" '),l(),v()),t&2){let e=r(2);o(6),a("size",16)("color",x(3,Ut)),o(3),I(e.college==null?null:e.college.name)}}function Rt(t,c){if(t&1&&(f(0),p(1,"div",13),_(2," Delete this TPO Permanently? "),l(),p(3,"div",14),_(4," This action cannot be undone, and all associated data will be permanently removed. "),l(),p(5,"div",18),P(6,"un-icon",19),_(7,' "'),p(8,"span",17),_(9),l(),_(10,'" '),l(),v()),t&2){let e=r(2);o(6),a("size",16)("color",x(3,Oe)),o(3),I(e.college==null?null:e.college.name)}}function Lt(t,c){if(t&1&&(f(0),p(1,"div",13),_(2," Are you sure you want to delete this university? "),l(),p(3,"div",14),_(4," The colleges under this university are currently in the Archived tab. If you proceed, the university and all its archived colleges will be permanently deleted. This action cannot be undone. "),l(),p(5,"div",18),P(6,"un-icon",19),_(7,' "'),p(8,"span",17),_(9),l(),_(10,'" '),l(),v()),t&2){let e=r(2);o(6),a("size",16)("color",x(3,Oe)),o(3),I(e.college==null?null:e.college.name)}}function Nt(t,c){if(t&1&&(f(0),p(1,"div",13),_(2," Restore TPO "),l(),p(3,"div",14),_(4),l(),p(5,"div",18),P(6,"un-icon",19),_(7,' "'),p(8,"span",17),_(9),l(),_(10,'" '),l(),v()),t&2){let e=r(2);o(4),V(" This college was ",e.college.admin_status==1?"Active":"Invited"," when it was moved to archive. Do you want to resend the Invite for this college to the Super-admin? "),o(2),a("size",16)("color",x(4,Oe)),o(3),I(e.college==null?null:e.college.name)}}function Ht(t,c){if(t&1&&(f(0,11),d(1,Ft,7,1,"ng-container",12)(2,Bt,6,1,"ng-container",12)(3,Wt,11,4,"ng-container",12)(4,Rt,11,4,"ng-container",12)(5,Lt,11,4,"ng-container",12)(6,Nt,11,5,"ng-container",12),v()),t&2){let e=r();a("ngSwitch",e.dialogType),o(),a("ngSwitchCase","disableViewOnly"),o(),a("ngSwitchCase","dashboardAccess"),o(),a("ngSwitchCase","archiveTPO"),o(),a("ngSwitchCase","deleteTPO"),o(),a("ngSwitchCase","deleteUniversity"),o(),a("ngSwitchCase","restoreTpo")}}function jt(t,c){t&1&&(f(0),_(1," Turn Off "),v())}function qt(t,c){t&1&&(f(0),_(1," Give Access "),v())}function $t(t,c){t&1&&(f(0),_(1," Archive "),v())}function Jt(t,c){t&1&&(f(0),_(1," Delete "),v())}function Yt(t,c){t&1&&(f(0),_(1," Send Invite "),v())}function Gt(t,c){t&1&&(f(0),_(1," Delete "),v())}function Zt(t,c){if(t&1&&(f(0,11),d(1,jt,2,0,"ng-container",12)(2,qt,2,0,"ng-container",12)(3,$t,2,0,"ng-container",12)(4,Jt,2,0,"ng-container",12)(5,Yt,2,0,"ng-container",12)(6,Gt,2,0,"ng-container",12),v()),t&2){let e=r();a("ngSwitch",e.dialogType),o(),a("ngSwitchCase","disableViewOnly"),o(),a("ngSwitchCase","dashboardAccess"),o(),a("ngSwitchCase","archiveTPO"),o(),a("ngSwitchCase","deleteTPO"),o(),a("ngSwitchCase","restoreTpo"),o(),a("ngSwitchCase","deleteUniversity")}}var bt=(()=>{class t{constructor(){this.onClose=new K,this.onConfirm=new K,this.viewport="desktop",this.isMobile=!1}ngOnInit(){this.onWindowResize()}onWindowResize(){window.innerWidth<=991?(this.viewport="mobile",window.innerWidth<=767&&(this.isMobile=!0)):(this.viewport="desktop",this.isMobile=!1)}closeDialog(e=!1){e&&this.dialogType=="restoreTpo"?this.onConfirm.emit({action:"restoreTpo",send_invite:!1}):this.onClose.emit(!0)}confirmAction(){this.dialogType=="restoreTpo"?this.onConfirm.emit({action:"restoreTpo",send_invite:!0}):this.onConfirm.emit(this.dialogType)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=q({type:t,selectors:[["app-confirmation-dialog"]],hostBindings:function(i,n){i&1&&u("resize",function(h){return n.onWindowResize(h)},N)},inputs:{dialogType:"dialogType",college:"college"},outputs:{onClose:"onClose",onConfirm:"onConfirm"},standalone:!1,decls:15,vars:22,consts:[["modalContentType",""],["buttonType",""],[1,"modal_right_bg",3,"click"],[1,"confirmaton_popup"],["asBtn","","rounded","sm","icon","close.svg",1,"close_icon",3,"click","bgSize","size","bg","color"],[1,"confirm_body","j-center","flex-column"],["asBtn","","rounded","full",1,"curs
1or_default",3,"bgSize","size","bg","color","icon"],[3,"ngTemplateOutlet"],[1,"confirm_footer","j-between"],["unButtonBorder","","unButtonCircle","",3,"click"],["unButton","","unButtonCircle","",3,"click"],[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"hdng_3"],[1,"para"],[1,"para","archive_college","align-center"],["icon","info_black.svg",1,"mr-5",3,"size","color"],[1,"single-wrap"],[1,"para","delete_college","align-center"],["icon","deletes.svg",1,"mr-5",3,"size","color"]],template:function(i,n){if(i&1){let s=y();p(0,"div",2),u("click",function(){return m(s),g(n.closeDialog())}),l(),p(1,"div",3)(2,"un-icon",4),u("click",function(){return m(s),g(n.closeDialog())}),l(),p(3,"div",5),P(4,"un-icon",6),T(5,7),l(),p(6,"div",8)(7,"button",9),u("click",function(){return m(s),g(n.closeDialog(!0))}),_(8),l(),p(9,"button",10),u("click",function(){return m(s),g(n.confirmAction())}),T(10,7),l()()(),d(11,Ht,7,7,"ng-template",null,0,O)(13,Zt,7,7,"ng-template",null,1,O)}if(i&2){let s=C(12),h=C(14);o(),b("responsiveSlide",n.isMobile),o(),a("bgSize",32)("size",24)("bg",x(16,Et))("color",x(17,kt)),o(2),a("bgSize",60)("size",36)("bg",M(18,ft,n.dialogType=="deleteTPO"||n.dialogType=="deleteUniversity"?"red-100":"blue-100"))("color",M(20,ft,n.dialogType=="deleteTPO"||n.dialogType=="deleteUniversity"?"red-700":"icon-blue"))("icon",n.dialogType=="deleteTPO"||n.dialogType=="deleteUniversity"?"deletes.svg":"info_black.svg"),o(),a("ngTemplateOutlet",s),o(3),V(" ",n.dialogType=="dashboardAccess"||n.dialogType=="restoreTpo"?"No":"Cancel"," "),o(),b("delete",n.dialogType=="deleteTPO"||n.dialogType=="deleteUniversity"),o(),a("ngTemplateOutlet",h)}},dependencies:[$,ie,oe,Y,J],styles:[".confirmaton_popup[_ngcontent-%COMP%]{background-color:var(--surface-white);border:1px solid var(--stroke-primary);overflow:hidden;position:fixed;width:100%;z-index:999}.confirmaton_popup[_ngcontent-%COMP%] .close_icon[_ngcontent-%COMP%]{position:absolute;top:10px;right:10px}.confirmaton_popup[_ngcontent-%COMP%] .confirm_body[_ngcontent-%COMP%]{padding:30px}.confirmaton_popup[_ngcontent-%COMP%] .hdng_3[_ngcontent-%COMP%]{color:var(--text-primary);font-size:20px;font-weight:500;line-height:26px;margin-top:16px;text-align:center}.confirmaton_popup[_ngcontent-%COMP%] .para[_ngcontent-%COMP%]{color:var(--text-secondary);font-size:14px;font-weight:400;line-height:18px;margin-top:12px;text-align:center}.confirmaton_popup[_ngcontent-%COMP%] .para.archive_college[_ngcontent-%COMP%]{color:var(--text-blue)}.confirmaton_popup[_ngcontent-%COMP%] .para.delete_college[_ngcontent-%COMP%]{color:var(--text-red)}.confirmaton_popup[_ngcontent-%COMP%] .para[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{max-width:250px}.confirmaton_popup[_ngcontent-%COMP%] .confirm_footer[_ngcontent-%COMP%]{padding:16px 20px;border-top:1px solid var(--stroke-primary)}.confirmaton_popup[_ngcontent-%COMP%] .confirm_footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:calc(50% - 10px)}.confirmaton_popup[_ngcontent-%COMP%] .confirm_footer[_ngcontent-%COMP%] button.delete[_ngcontent-%COMP%]{background:var(--red-700)}@media (min-width: 768px){.confirmaton_popup[_ngcontent-%COMP%]{border-radius:16px;box-shadow:0 4px 12px #00000014;max-width:500px;left:50%;top:50%;transform:translate(-50%,-50%)}}@media (max-width: 767px){.confirmaton_popup[_ngcontent-%COMP%]{border-radius:12px 12px 0 0;inset:auto 0 0;max-height:75vh}}.cursor_default[_ngcontent-%COMP%] .icon-container{cursor:default}"]})}}return t})();H();H();var Tt=()=>["icon-primary"],pn=t=>["transparent",t,"grey-100"];function sn(t,c){t&1&&(p(0,"h2"),_(1,"Create Dashboard"),l())}function cn(t,c){t&1&&(p(0,"h2"),_(1,"Add College"),l())}function _n(t,c){t&1&&(p(0,"h2"),_(1,"Replace TPO"),l())}function mn(t,c){}function gn(t,c){t&1&&d(0,mn,0,0,"ng-template")}function dn(t,c){if(t&1){let e=y();f(0),p(1,"div",17)(2,"label"),_(3," University "),l(),p(4,"app-organisation-autocomplete",18),U("organisationChange",function(n){m(e);let s=r(2);return k(s.university,n)||(s.university=n),g(n)}),u("organisationSelected",function(n){m(e);let s=r(2);return g(s.universitySelected(n))})("newOrganisationAdded",function(n){m(e);let s=r(2);return g(s.universitySelected(n))})("organisationChange",function(n){m(e);let s=r(2);return g(s.universitySelected(n))}),l()(),T(5,19),v()}if(t&2){let e=r(2),i=C(20);o(4),E("organisation",e.university),a("fillAfterSelect",!0)("pageSource","add-tpo-admin")("placeHolder","Example: Delhi University")("filters","orgType=5")("fixedCreateBtn",!0),o(),a("ngTemplateOutlet",i)}}function un(t,c){if(t&1&&(f(0),T(1,19),v()),t&2){r(2);let e=C(20);o(),a("ngTemplateOutlet",e)}}function Cn(t,c){if(t&1){let e=y();f(0),d(1,gn,1,0,null,12),p(2,"div",13)(3,"div",14),_(4,"Create Dashboard"),l(),p(5,"un-radio-group",15),U("ngModelChange",function(n){m(e);let s=r();return k(s.dashboardType,n)||(s.dashboardType=n),g(n)}),u("change",function(n){m(e);let s=r();return g(s.onChangeDashboardType(n))}),p(6,"un-radio",16),_(7," University Affiliated college "),l(),p(8,"un-radio",16),_(9," Autonomous College "),l()()(),d(10,dn,6,7,"ng-container",7)(11,un,2,1,"ng-container",7),v()}if(t&2){let e=r(),i=C(18);o(),a("ngTemplateOutlet",i),o(4),E("ngModel",e.dashboardType),o(),a("value","university")("checked",e.dashboardType=="university"),o(2),a("value","autonomous")("checked",e.dashboardType=="autonomous"),o(2),a("ngIf",e.dashboardType=="university"),o(),a("ngIf",e.dashboardType=="autonomous")}}function xn(t,c){}function fn(t,c){if(t&1&&d(0,xn,0,0,"ng-template",19),t&2){r();let e=C(18);a("ngTemplateOutlet",e)}}function vn(t,c){}function hn(t,c){if(t&1&&d(0,vn,0,0,"ng-template",19),t&2){r();let e=C(20);a("ngTemplateOutlet",e)}}function yn(t,c){t&1&&(p(0,"span",29),_(1," First Name is required "),l())}function bn(t,c){t&1&&(p(0,"span",29),_(1," Special characters not allowed "),l())}function Tn(t,c){if(t&1&&(f(0),d(1,yn,2,0,"span",23)(2,bn,2,0,"span",23),v()),t&2){r();let e=C(8);o(),a("ngIf",e.errors==null?null:e.errors.required),o(),a("ngIf",e.errors==null?null:e.errors.pattern)}}function wn(t,c){t&1&&(p(0,"span",29),_(1," First Name cannot exceed 50 characters "),l())}function Mn(t,c){t&1&&(p(0,"span",29),_(1," Special characters not allowed "),l())}function Pn(t,c){if(t&1&&(f(0),d(1,Mn,2,0,"span",23),v()),t&2){r();let e=C(16);o(),a("ngIf",e.errors==null?null:e.errors.pattern)}}function On(t,c){t&1&&(p(0,"span",29),_(1," Last Name cannot exceed 50 characters "),l())}function Sn(t,c){t&1&&(p(0,"span",29),_(1,"Email ID is required"),l())}function En(t,c){t&1&&(p(0,"span",29),_(1,"Please enter a valid Email ID"),l())}function kn(t,c){if(t&1&&(f(0),d(1,Sn,2,0,"span",23)(2,En,2,0,"span",23),v()),t&2){r();let e=C(27);o(),a("ngIf",e.errors.required),o(),a("ngIf",!e.errors.required&&e.errors.pattern)}}function Un(t,c){t&1&&(p(0,"span",29),_(1," Please enter a valid phone number with appropriate country code "),l())}function Vn(t,c){if(t&1){let e=y();p(0,"div",20)(1,"div",21)(2,"div",17)(3,"label"),_(4," First Name "),p(5,"sup"),_(6,"*"),l()(),p(7,"input",22,2),U("ngModelChange",function(n){m(e);let s=r();return k(s.tpoData.first_name,n)||(s.tpoData.first_name=n),g(n)}),u("ngModelChange",function(){m(e);let n=r();return g(n.onFormChange("admin"))})("blur",function(){m(e);let n=r();return g(n.trimData("first_name"))}),l(),d(9,Tn,3,2,"ng-container",7)(10,wn,2,0,"span",23),l()(),p(11,"div",21)(12,"div",17)(13,"label"),_(14," Last Name "),l(),p(15,"input",24,3),U("ngModelChange",function(n){m(e);let s=r();return k(s.tpoData.last_name,n)||(s.tpoData.last_name=n),g(n)}),u("ngModelChange",function(){m(e);let n=r();return g(n.onFormChange("admin"))})("blur",function(){m(e);let n=r();return g(n.trimData("last_name"))}),l(),d(17,Pn,2,1,"ng-container",7)(18,On,2,0,"span",23),l()()(),p(19,"div",25)(20,"div",21)(21,"div",17)(22,"label"),_(23," Official E-mail "),p(24,"sup"),_(25,"*"),l()(),p(26,"input",26,4),U("ngModelChange",function(n){m(e);let s=r();
1return k(s.tpoData.email,n)||(s.tpoData.email=n),g(n)}),u("ngModelChange",function(){m(e);let n=r();return g(n.onFormChange("admin"))})("blur",function(){m(e);let n=r();return g(n.trimData("email"))}),l(),d(28,kn,3,2,"ng-container",7),l()(),p(29,"div",21)(30,"div",17)(31,"label",27),_(32," Mobile "),l(),p(33,"app-text-input-mobile",28),U("valueChange",function(n){m(e);let s=r();return k(s.tpoData.mobile,n)||(s.tpoData.mobile=n),g(n)}),u("verifyingValue",function(n){m(e);let s=r();return g(s.validateMobile(n))}),l(),d(34,Un,2,0,"span",23),l()()()}if(t&2){let e=C(8),i=C(16),n=C(27),s=r();o(2),b("errors",e.invalid&&e.touched||(s.tpoData.first_name==null?null:s.tpoData.first_name.length)>50),o(5),E("ngModel",s.tpoData.first_name),o(2),a("ngIf",e.invalid&&e.touched&&(s.tpoData.first_name==null?null:s.tpoData.first_name.length)<=50),o(),a("ngIf",(s.tpoData.first_name==null?null:s.tpoData.first_name.length)>50),o(2),b("errors",i.invalid&&i.touched||(s.tpoData.last_name==null?null:s.tpoData.last_name.length)>50),o(3),E("ngModel",s.tpoData.last_name),o(2),a("ngIf",i.invalid&&i.touched&&(s.tpoData.last_name==null?null:s.tpoData.last_name.length)<=50),o(),a("ngIf",(s.tpoData.last_name==null?null:s.tpoData.last_name.length)>50),o(3),b("errors",n.invalid&&(n.touched||n.dirty)),o(5),E("ngModel",s.tpoData.email),o(2),a("ngIf",n.invalid&&n.touched),o(2),b("errors",s.hasMobileError),o(3),a("name","mobile")("classString","inline"),E("value",s.tpoData.mobile),o(),a("ngIf",s.hasMobileError)}}function Dn(t,c){t&1&&_(0,' Grant dashboard access with "View only mode" permissions ')}function In(t,c){t&1&&_(0," Grant view-only dashboard access & notify TPO in the invitation email. ")}function Fn(t,c){if(t&1){let e=y();p(0,"div",41)(1,"un-checkbox",42),U("ngModelChange",function(n){m(e);let s=r().$implicit;return k(s.sendInvite,n)||(s.sendInvite=n),g(n)}),W(2,Dn,1,0)(3,In,1,0),l()()}if(t&2){let e=r().$implicit,i=r(2);o(),a("type","checkbox"),E("ngModel",e.sendInvite),o(),R((i.currentCollege==null?null:i.currentCollege.admin_status)==2||(i.currentCollege==null?null:i.currentCollege.admin_status)==1?2:3)}}function zn(t,c){if(t&1){let e=y();p(0,"div",31)(1,"div",32)(2,"div",33)(3,"label",34),_(4," College Name "),l(),p(5,"div",35)(6,"div",36)(7,"label",34)(8,"input",37),U("ngModelChange",function(n){let s=m(e).$implicit;return k(s.viewOnlyMode,n)||(s.viewOnlyMode=n),g(n)}),l(),P(9,"span",38),l()(),_(10," View Only "),l()(),p(11,"app-organisation-autocomplete",39),U("organisationChange",function(n){let s=m(e).$implicit;return k(s.org,n)||(s.org=n),g(n)}),u("organisationSelected",function(n){m(e);let s=r(2);return g(s.collegeSelected(n))})("newOrganisationAdded",function(n){m(e);let s=r(2);return g(s.collegeSelected(n))})("organisationChange",function(n){m(e);let s=r(2);return g(s.collegeSelected(n))})("addOrganisationModalValue",function(n){m(e);let s=r(2);return g(s.onChangeAddModal(n))}),l()(),d(12,Fn,4,3,"div",40),l()}if(t&2){let e=c.$implicit,i=c.index;o(8),E("ngModel",e.viewOnlyMode),o(3),a("id",Q("'add_college_'+",i)),E("organisation",e.org),a("fillAfterSelect",!0)("pageSource","add-tpo-admin")("placeHolder","Example: Delhi University")("required",!1)("fixedCreateBtn",!0),o(),a("ngIf",e.viewOnlyMode)}}function An(t,c){if(t&1){let e=y();f(0),p(1,"button",43),u("click",function(){m(e);let n=r(2);return g(n.addNewCollege())}),_(2),P(3,"un-icon",44),l(),v()}if(t&2){let e=r(2);o(2),V(" ",e.createCollegeType=="new_dashboard"?"Add New College":"Add More"," "),o(),a("icon","add.svg")("size",20)("color",x(4,Tt))}}function Bn(t,c){if(t&1&&d(0,zn,13,10,"div",30)(1,An,4,5,"ng-container",7),t&2){let e=r();a("ngForOf",e.colleges),o(),a("ngIf",e.dashboardType!="autonomous")}}var wt=(()=>{class t{constructor(e,i,n){this.helper=e,this.tpoCollegeService=i,this.toastService=n,this.onClose=new K,this.viewport="desktop",this.viewOnlyMode=!1,this.isMobile=!1,this.isFormValid=!1,this.addedCollegeCount=0,this.nameRegex=/^[a-zA-Z .]*$/,this.tpoData={first_name:"",last_name:"",email:"",mobile:""},this.university={id:null,name:""},this.colleges=[]}ngOnInit(){this.onWindowResize(),this.formData={university_id:null,university:{},first_name:"",last_name:"",email:"",mobile:"",colleges:[],collegeOrgs:[],send_mail:!0,viewOnlyMode:!1,mode:"create"},this.addNewCollege()}onWindowResize(){window.innerWidth<=991?(this.viewport="mobile",window.innerWidth<=767?this.isMobile=!0:this.isMobile=!1):this.viewport="desktop"}closeDialog(e=!1){this.onClose.emit(e)}universitySelected(e){this.onFormChange()}collegeSelected(e){this.onFormChange()}addNewCollege(){let e={org:{id:null,name:""},sendInvite:!1,viewOnlyMode:!1};this.colleges.push(e)}
1removeCollege(e){this.colleges=this.colleges.filter(i=>i!=e)}onChangeDashboardType(e){console.log(e,this.dashboardType),this.colleges=[],this.addNewCollege(),this.onFormChange()}getMappedCollegeData(){return this.colleges.filter(i=>i.org?.id).map(i=>({id:i.org.id,view_only_mode:i.viewOnlyMode?1:0,send_invite:i.sendInvite}))}onSubmit(){this.createCollegeType=="new_dashboard"?this.addNewDashBoard():this.createCollegeType=="add_college"?this.addCollegesToUniversity():this.replaceTpo()}addNewDashBoard(){let e=this.getMappedCollegeData();this.tpoData.email=this.tpoData.email.toLowerCase();let i=ee(j({},this.tpoData),{colleges:e,type:this.tabType=="live"?1:0});this.dashboardType=="university"&&(i.university_id=this.university?.id||null),this.tpoCollegeService.createTpoColleges(i).subscribe(n=>{n?.status?(this.toastService.toast(n?.message,3e3,"green"),this.closeDialog(!0)):this.toastService.toast(n?.message,3e3,"red")})}addCollegesToUniversity(){let e=this.getMappedCollegeData(),i={admin_id:this.currentCollege.admin_id,university_id:this.currentCollege.id,colleges:e,type:this.tabType=="live"?1:0};this.tpoCollegeService.addCollegesToUniversity(i).subscribe(n=>{n?.status?(this.toastService.toast(n?.message,3e3,"green"),this.closeDialog(!0)):this.toastService.toast(n?.message,3e3,"red")})}replaceTpo(){this.tpoData.email=this.tpoData.email.toLowerCase(),this.tpoCollegeService.replaceTpoAdmin(this.currentCollege.admin_id,this.tpoData).subscribe(e=>{e?.status?(this.toastService.toast(e?.message,3e3,"green"),this.closeDialog(!0)):this.toastService.toast(e?.message,3e3,"red")})}onFormChange(e){let i=!0;this.createCollegeType=="new_dashboard"?(i=this.isValidTpoData()&&this.isValidColleges(),this.dashboardType=="university"&&(i=i&&this.isValidUniversity())):this.createCollegeType=="add_college"?i=this.isValidColleges():this.createCollegeType=="replace_tpo"&&(i=this.isValidTpoData()),this.isFormValid=i}isValidTpoData(){return!(!this.tpoData.first_name.trim()||this.tpoData.first_name.length>50||this.tpoData.last_name.length>50||!this.nameRegex.test(this.tpoData.first_name)||this.tpoData.last_name&&!this.nameRegex.test(this.tpoData.last_name)||!this.helper.validateEmail(this.tpoData.email))}isValidColleges(){return this.colleges.some(i=>i.org?.id)}isValidUniversity(){return!!this.university?.id}trimData(e){switch(e){case"first_name":this.tpoData.first_name=this.tpoData.first_name.trim();break;case"last_name":this.tpoData.last_name=this.tpoData.last_name.trim();break;case"email":this.tpoData.email=this.tpoData.email.trim();break;case"mobile":this.tpoData.mobile=this.tpoData.mobile.trim();break}}static{this.\u0275fac=function(i){return new(i||t)(z(re),z(G),z(ae))}}static{this.\u0275cmp=q({type:t,selectors:[["app-create-dashboard"]],hostBindings:function(i,n){i&1&&u("resize",function(h){return n.onWindowResize(h)},N)},inputs:{createCollegeType:"createCollegeType",currentCollege:"currentCollege",tabType:"tabType"},outputs:{onClose:"onClose"},standalone:!1,decls:21,vars:22,consts:[["adminDetailsForm",""],["collegeInputTemplate",""],["first_name","ngModel"],["last_name","ngModel"],["email","ngModel"],[3,"closeModal","size","position","mobileSlide"],[1,"j-between","full-width"],[4,"ngIf"],["asBtn","","rounded","full",3,"click","unTooltip","tooltipPosition","noTip","icon","size","bgSize","color","bg"],[1,"create_board_wrapper"],["unButtonBorder","",3,"click"],["unButton","",3,"click","disabled"],[4,"ngTemplateOutlet"],[1,"dashboard_type","mb-20"],[1,"hdng_3"],["type","border","iconPosition","","radioStyle","''","alignForMobile","top",3,"ngModelChange","change","ngModel"],[3,"value","checked"],[1,"input_fields_bdr","mb-20"],["id","university",3,"organisationChange","organisationSelected","newOrganisationAdded","organisation","fillAfterSelect","pageSource","placeHolder","filters","fixedCreateBtn"],[3,"ngTemplateOutlet"],[1,"row"],[1,"col","s12","m6"],["type","text","id","first_name","name","first_name","required","","pattern","^[a-zA-Z .]*$","placeholder","Enter First Name",3,"ngModelChange","blur","ngModel"],["class","error",4,"ngIf"],["type","text","id","last_name","name","last_name","placeholder","Enter Last Name","pattern","^[a-zA-Z .]*$",3,"ngModelChange","blur","ngModel"],[1,"row","flex_end"],["type","email","name","email","id","email","placeholder","Enter Email","required","","pattern","^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$",3,"ngModelChange","blur","ngModel"],["for","name"],[3,"valueChange","verifyingValue","name","classString","value"],[1,"error"],["class","mb-20",4,"ngFor","ngForOf"],[1,"mb-20"],[1,"input_fields_bdr","mb-0"],[1,"j-between","mb-10"],[1,"mb-0"],[1,"align-center","switch_checkbox_lable"],[1,"d2c-switch"],["type","checkbox","id","viewOnlyMode_id",1,"filled_in",3,"ngModelChange","ngModel"],[1,"lever","ml-0","mr-5"],[3,"organisationChange","organisationSelected","newOrganisationAdded","addOrganisationModalValue","id","organisation","fillAfterSelect","pageSource","placeHolder","required","fixedCreateBtn"],["class","mt-5",4,"ngIf"],[1,"mt-5"],["size","small",3,"ngModelChange","type","ngModel"],["unButtonBorder","","unButtonCircle","",3,"click"],[3,"icon","size","color"]],template:function(i,n){if(i&1){let s=y();p(0,"un-modal",5),u("closeModal",function(){return m(s),g(n.closeDialog())}),p(1,"un-modal-header")(2,"div",6),d(3,sn,2,0,"h2",7)(4,cn,2,0,"h2",7)(5,_n,2,0,"h2",7),p(6,"un-icon",8),u("click",function(){return m(s),g(n.closeDialog())}),l()()(),p(7,"un-modal-content")(8,"div",9),d(9,Cn,12,8,"ng-container",7)(10,fn,1,1,null,7)(11,hn,1,1,null,7),l()(),p(12,"un-modal-footer")(13,"button",10),u("click",function(){return m(s),g(n.closeDialog())}),_(14,"Cancel"),l(),p(15,"button",11),u("click",function(){return m(s),g(n.onSubmit())}),_(16),l()()(),d(17,Vn,35,20,"ng-template",null,0,O)(19,Bn,2,2,"ng-template",null,1,O)}i&2&&(a("size",n.createCollegeType=="new_dashboard"?"md":"sm")("position",n.createCollegeType=="new_dashboard"?"right":"center")("mobileSlide","bottom"),o(3),a("ngIf",n.createCollegeType=="new_dashboard"),o(),a("ngIf",n.createCollegeType=="add_college"),o(),a("ngIf",n.createCollegeType=="replace_tpo"),o(),a("unTooltip",n.viewport=="desktop"?"Close"
1:"")("tooltipPosition","bottom-right")("noTip",!0)("icon","close.svg")("size",20)("bgSize",40)("color",x(19,Tt))("bg",M(20,pn,n.viewport=="desktop"?"grey-50":"transparent")),o(3),a("ngIf",n.createCollegeType=="new_dashboard"),o(),a("ngIf",n.createCollegeType=="replace_tpo"),o(),a("ngIf",n.createCollegeType=="add_college"),o(4),a("disabled",!n.isFormValid),o(),V(" ",n.createCollegeType=="new_dashboard"?"Save Details":"Save"," "))},dependencies:[te,ne,$,_e,je,me,de,ue,ge,le,pe,se,ce,he,ve,Y,J,Ce,xe,fe,ye],styles:[".create_board_wrapper[_ngcontent-%COMP%] .hdng_3[_ngcontent-%COMP%]{color:var(--text-primary);font-size:16px;font-weight:500;line-height:21px;margin-bottom:20px}.create_board_wrapper[_ngcontent-%COMP%] .dashboard_type[_ngcontent-%COMP%]{border-top:1px dashed var(--stroke-secondary);padding-top:20px}.create_board_wrapper[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:var(--text-primary);font-size:12px}.create_board_wrapper[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{color:var(--text-primary);transition:none}.create_board_wrapper[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{color:var(--text-tertiary)}.create_board_wrapper[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{border-color:var(--stroke-blue);outline:1px solid var(--stroke-blue)}.create_board_wrapper[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] input[type=email][_ngcontent-%COMP%]{text-transform:lowercase}.create_board_wrapper[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] input{color:var(--text-primary)!important;font-size:14px!important;font-weight:400!important;transition:none!important}.create_board_wrapper[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] input::placeholder{color:var(--text-tertiary)!important}.create_board_wrapper[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] input:focus{border-color:var(--stroke-blue)!important;outline:1px solid var(--stroke-blue)!important}.create_board_wrapper[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] app-organisation-autocomplete app-autocomplete .autocomplete-wrapper.input_field span:not(.ac-loader){font-size:10px!important;bottom:-14px!important;color:var(--text-red)!important;border-color:var(--stroke-red)!important}.create_board_wrapper[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] app-text-input-mobile .inline.input_fields_bdr{margin-bottom:0!important}.create_board_wrapper[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] .mat-button-wrapper{margin-right:10px}.create_board_wrapper[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] .country-selector{top:10px!important;width:70px;height:30px!important;border-right:1px solid var(--stroke-primary);background-position:47px center}.create_board_wrapper[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] .country-selector .country-selector-code{color:var(--text-primary)}.create_board_wrapper[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] .country-selector .flag{display:none!important}.create_board_wrapper[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] ngx-mat-intl-tel-input.cdk-focused .ngx-mat-tel-input-container, .create_board_wrapper[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] ngx-mat-intl-tel-input.cdk-mouse-focused .ngx-mat-tel-input-container{border-color:var(--stroke-blue)!important;outline:1px solid var(--stroke-blue)!important}.create_board_wrapper[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] ngx-mat-intl-tel-input.cdk-focused .ngx-mat-tel-input-container input, .create_board_wrapper[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] ngx-mat-intl-tel-input.cdk-mouse-focused .ngx-mat-tel-input-container input{border:none!important;outline:none!important}.create_board_wrapper[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] ngx-mat-intl-tel-input input:not(.country-search){padding-left:65px}.create_board_wrapper[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] .ngx-mat-tel-input-container, .create_board_wrapper[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] .mat-mdc-select-trigger{font-weight:400}.create_board_wrapper[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] .mat-mdc-select-trigger .mat-mdc-select-placeholder{color:var(--text-tertiary);font-weight:400}.create_board_wrapper[_ngcontent-%COMP%] .input_fields_bdr.errors[_ngcontent-%COMP%] .ngx-mat-tel-input-container{border:1px solid var(--stroke-red)!important}.create_board_wrapper[_ngcontent-%COMP%] .switch_checkbox_lable[_ngcontent-%COMP%]{color:var(--text-primary);font-size:12px;font-weight:400;line-height:13px}.create_board_wrapper[_ngcontent-%COMP%] .switch_checkbox_lable[_ngcontent-%COMP%] .d2c-switch[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .lever[_ngcontent-%COMP%]{width:20px;height:12px;background-color:var(--surface-tertiary)}.create_board_wrapper[_ngcontent-%COMP%] .switch_checkbox_lable[_ngcontent-%COMP%] .d2c-switch[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .lever[_ngcontent-%COMP%]:after{width:8px;height:8px;background-color:var(--surface-white);border-radius:50%;left:1px;top:1px;box-shadow:none!important}.create_board_wrapper[_ngcontent-%COMP%] .switch_checkbox_lable[_ngcontent-%COMP%] .d2c-switch[_ngcontent-%COMP%] label[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + .lever[_ngcontent-%COMP%]{background-color:var(--surface-blue)}.create_board_wrapper[_ngcontent-%COMP%] .switch_checkbox_lable[_ngcontent-%COMP%] .d2c-switch[_ngcontent-%COMP%] label[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + .lever[_ngcontent-%COMP%]:after{left:9px;background-color:var(--surface-white)}"]})}}return t})();var Rn=t=>({colleges:t,index:0}),S=()=>["icon-primary"],F=()=>["blue-100"],D=t=>["transparent",t,"grey-100"],Ln=()=>["icon-blue"],Nn=()=>["8"],Hn=()=>["24"],jn=()=>["80"],qn=()=>["icon-secondary"],Mt=()=>["icon-white"],$n=t=>[t],Z=t=>({college:t}),Jn=()=>["0"],Pt=()=>["16"],Se=()=>["40"],X=t=>({status:t});var B=(t,c)=>({college:t,index:c}),Ot=t=>({colleges:t});function Yn(t,c){if(t&1&&T(0,30),t&2){r();let e=C(21);a("ngTemplateOutlet",e)}}function Gn(t,c){if(t&1&&T(0,30),t&2){r();let e=C(19);a("ngTemplateOutlet",e)}}function Zn(t,c){if(t&1&&T(0,30),t&2){r();let e=C(19);a("ngTemplateOutlet",e)}}function Xn(t,c){if(t&1&&(p(0,"div",37),T(1,30),l()),t&2){r(2);let e=C(35);o(),a("ngTemplateOutlet",e)}}function Kn(t,c){if(t&1&&T(0,30),t&2){r(2);let e=C(35);a("ngTemplateOutlet",e)}}function Qn(t,c){if(t&1&&(p(0,"div",40),_(1),l()),t&2){let e=r(2);o(),V(" ",e.collegeType=="university"?"All Universities":"All Colleges"," ")}}function ei(t,c){if(t&1&&T(0,30),t&2){r(2);let e=C(37);a("ngTemplateOutlet",e)}}function ti(t,c){if(t&1&&T(0,30),t&2){r(2);let e=C(39);a("ngTemplateOutlet",e)}}function ni(t,c){if(t&1&&T(0,30),t&2){r(4);let e=C(21);a("ngTemplateOutlet",e)}}function ii(t,c){if(t&1&&(f(0),T(1,30)(2,30),W(3,ni,1,1,"ng-container",30),v()),t&2){let e=r(3),i=C(41),n=C(45);o(),a("ngTemplateOutlet",i),o(),a("ngTemplateOutlet",n),o(),R(e.viewport!=="mobile"?3:-1)}}function oi(t,c){if(t&1&&(f(0),d(1,ii,4,3,"ng-container",36),v()),t&2){let e=r(2);o(),a("ngIf",!(e.tabType=="demo"&&e.totalCount==0))}}function ai(t,c){if(t&1&&T(0,30),t&2){r(2);let e=C(39);a("ngTemplateOutlet",e)}}function ri(t,c){if(t&1&&(f(0),T(1,30),v()),t&2){r(4);let e=C(29);o(),a("ngTemplateOutlet",e)}}function li(t,c){if(t&1&&T(0,30),t&2){r(4);let e=C(59);a("ngTemplateOutlet",e)}}function pi(t,c){if(t&1&&(f(0),d(1,ri,2,1,"ng-container",36)(2,li,1,1,"ng-container",31),v()),t&2){let e=r(3);o(),a("ngIf",(e.tpc_colleges==null?null:e.tpc_colleges.length)>0),o(),a("ngIf",(e.tpc_colleges==null?null:e.tpc_colleges.length)<1)}}function si(t,c){if(t&1&&(f(0),p(1,"div",41),d(2,pi,3,2,"ng-container",33),l(),v()),t&2){let e=r(2),i=C(55);o(),b("no_bdr",(e.tpc_colleges==null?null:e.tpc_colleges.length)<1),o(),a("ngIf",!e.isLoading)("ngIfElse",i)}}function ci(t,c){}function _i(t,c){if(t&1&&(f(0),d(1,ci,0,0,"ng-template",42),v()),t&2){let e=r(4),i=C(31);o(),a("ngTemplateOutlet",i)("ngTemplateOutletContext",M(2,Rn,e.tpc_colleges))}}function mi(t,c){if(t&1&&T(0,30),t&2){r(4);let e=C(59);a("ngTemplateOutlet",e)}}function gi(t,c){if(t&1&&(f(0),d(1,_i,2,4,"ng-container",36)(2,mi,1,1,"ng-container",31),v()),t&2){let e=r(3);o(),a("ngIf",(e.tpc_colleges==null?null:e.tpc_colleges.length)>0),o(),a("ngIf",(e.tpc_colleges==null?null:e.tpc_colleges.length)<1)}}function di(t,c){if(t&1&&(f(0),d(1,gi,3,2,"ng-container",33),v()),t&2){let e=r(2),i=C(55);o(),a("ngIf",!e.isLoading)("ngIfElse",i)}}function ui(t,c){if(t&1&&(f(0),W(1,Xn,2,1,"div",37),p(2,"div",37),d(3,Kn,1,1,"ng-container",31)(4,Qn,2,1,"div",38),p(5,"div",39),d(6,ei,1,1,"ng-container",31)(7,ti,1,1,"ng-container",31)(8,oi,2,1,"ng-container",36),l()(),d(9,ai,1,1,"ng-container",31)(10,si,3,4,"ng-container",36)(11,di,2,2,"ng-container",36),v()),t&2){let e=r();o(),R(e.viewport=="mobile"?1:-1),o(),b("mb-15",e.searchBox&&e.viewport!="desktop"),o(),a("ngIf",e.viewport=="desktop"),o(),a("ngIf",e.viewport=="mobile"&&e.totalCount),o(2),a("ngIf",(!e.searchBox||e.viewport=="mobile")&&e.totalCount&&!e.isPageLoading),o(),a("ngIf",e.searchBox&&e.totalCount&&e.viewport=="desktop"),o(),a("ngIf",e.tabType!="archived"),o(),a("ngIf",e.searchBox&&e.viewport!="desktop"),o(),a("ngIf",e.collegeType=="university"),o(),a("ngIf",e.collegeType=="autonomous")}}function Ci(t,c){if(t&1&&T(0,30),t&2){r();let e=C(14);a("ngTemplateOutlet",e)}}function xi(t,c){if(t&1){let e=y();p(0,"app-confirmation-dialog",43),u("onClose",function(){m(e);let n=r();return g(n.closeConfirmModal())})("onConfirm",function(n){m(e);let s=r();return g(s.takeCollegeAction(n))}),l()}if(t&2){let e=r();a("dialogType",e.dialogType)("college",e.currentCollege)}}function fi(t,c){if(t&1){let e=y();f(0),p(1,"app-create-dashboard",44),u("onClose",function(n){m(e);let s=r();return g(s.hideCreateModal(n))}),l(),v()}if(t&2){let e=r();o(),a("createCollegeType",e.createCollegeType)("tabType",e.tabType)("currentCollege",e.currentCollege)}}function vi(t,c){if(t&1){let e=y();p(0,"un-icon",49),u("click",function(){m(e);let n=r(),s=n.index,h=n.college,w=r();return g(w.assignUniversity(s,h))}),l()}if(t&2){let e=r().index,i=r();a("unTooltip",i.viewport=="desktop"?"Assign University":"")("tooltipPosition","bottom-right")("noTip",!0)("icon","add.svg")("size",20)("bgSize",40)("color",x(9,S))("bg",i.showAssignPopup==e?x(10,F):M(11,D,i.viewport=="desktop"?"grey-50":"transparent"))("borderColor",i.showAssignPopup==e?"blue-700":"stroke-primary")}}function hi(t,c){if(t&1){let e=y();p(0,"span",50),u("click",function(){m(e);let n=r(),s=n.index,h=n.college,w=r();return g(w.assignUniversity(s,h))}),P(1,"un-icon",51),_(2," Assign "),l()}t&2&&(o(),a("icon","add_black.svg")("color",x(3,Ln))("size",14))}function yi(t,c){if(t&1&&(p(0,"span"),_(1),l()),t&2){let e=r(3).college;o(),I(e==null?null:e.admin_name)}}function bi(t,c){if(t&1&&(p(0,"span",69),_(1),l()),t&2){let e=r(3).college;o(),I(e==null?null:e.email)}}function Ti(t,c){if(t&1&&(f(0),p(1,"div",66),_(2,"College super-admin"),l(),p(3,"div",67),d(4,yi,2,1,"span",36)(5,bi,2,1,"span",68),l(),v()),t&2){let e=r(2).college;o(4),a("ngIf",e==null?null:e.admin_name),o(),a("ngIf",e==null?null:e.email)}}function wi(t,c){t&1&&(p(0,"span",83),_(1," First Name is required "),l())}function Mi(t,c){t&1&&(p(0,"span",83),_(1," Special characters not allowed "),l())}function Pi(t,c){if(t&1&&(f(0),d(1,wi,2,0,"span",78)(2,Mi,2,0,"span",78),v()),t&2){r();let e=C(9);o(),a("ngIf",e.errors==null?null:e.errors.required),o(),a("ngIf",e.errors==null?null:e.errors.pattern)}}function Oi(t,c){t&1&&(p(0,"span",83),_(1," First Name cannot exceed 50 characters "),l())}function Si(t,c){t&1&&(p(0,"span",83),_(1," Special characters not allowed "),l())}function Ei(t,c){if(t&1&&(f(0),d(1,Si,2,0,"span",78),v()),t&2){r();let e=C(17);o(),a("ngIf",e.errors==null?null:e.errors.pattern)}}function ki(t,c){t&1&&(p(0,"span",83),_(1," Last Name cannot exceed 50 characters "),l())}function Ui(t,c){t&1&&(p(0,"span",83),_(1,"Email ID is required"),l())}function Vi(t,c){t&1&&(p(0,"span",83),_(1,"Please enter a valid Email ID"),l())}function Di(t,c){if(t&1&&(f(0),d(1,Ui,2,0,"span",78)(2,Vi,2,0,"span",78),v()),t&2){r();let e=C(28);o(),a("ngIf",e.errors.required),o(),a("ngIf",!e.errors.required&&e.errors.pattern)}}function Ii(t,c){t&1&&(p(0,"span",83),_(1," Please enter a valid phone number with appropriate country code "),l())}function Fi(t,c){if(t&1){let e=y();f(0),p(1,"div",75)(2,"div",76)(3,"div",70)(4,"label"),_(5," First Name "),p(6,"sup"),_(7,"*"),l()(),p(8,"input",77,24),U("ngModelChange",function(n){m(e);let s=r(4);return k(s.tpoData.first_name,n)||(s.tpoData.first_name=n),g(n)}),u("ngModelChange",function(){m(e);let n=r(4);return g(n.onChangeForm())}
1),l(),d(10,Pi,3,2,"ng-container",36)(11,Oi,2,0,"span",78),l()(),p(12,"div",76)(13,"div",70)(14,"label"),_(15," Last Name "),l(),p(16,"input",79,25),U("ngModelChange",function(n){m(e);let s=r(4);return k(s.tpoData.last_name,n)||(s.tpoData.last_name=n),g(n)}),u("ngModelChange",function(){m(e);let n=r(4);return g(n.onChangeForm())}),l(),d(18,Ei,2,1,"ng-container",36)(19,ki,2,0,"span",78),l()()(),p(20,"div",75)(21,"div",76)(22,"div",70)(23,"label"),_(24," Official E-mail "),p(25,"sup"),_(26,"*"),l()(),p(27,"input",80,26),U("ngModelChange",function(n){m(e);let s=r(4);return k(s.tpoData.email,n)||(s.tpoData.email=n),g(n)}),u("ngModelChange",function(){m(e);let n=r(4);return g(n.onChangeForm())}),l(),d(29,Di,3,2,"ng-container",36),l()(),p(30,"div",76)(31,"div",70)(32,"label",81),_(33," Mobile "),l(),p(34,"app-text-input-mobile",82),U("valueChange",function(n){m(e);let s=r(4);return k(s.tpoData.mobile,n)||(s.tpoData.mobile=n),g(n)}),u("verifyingValue",function(n){m(e);let s=r(4);return g(s.validateMobile(n))}),l(),d(35,Ii,2,0,"span",78),l()()(),v()}if(t&2){let e=C(9),i=C(17),n=C(28),s=r(4);o(3),b("errors",e.invalid&&e.touched||(s.tpoData.first_name==null?null:s.tpoData.first_name.length)>50),o(5),E("ngModel",s.tpoData.first_name),o(2),a("ngIf",e.invalid&&e.touched&&(s.tpoData.first_name==null?null:s.tpoData.first_name.length)<=50),o(),a("ngIf",(s.tpoData.first_name==null?null:s.tpoData.first_name.length)>50),o(2),b("errors",i.invalid&&i.touched||(s.tpoData.last_name==null?null:s.tpoData.last_name.length)>50),o(),b("mt_4",!s.isMobile),o(2),E("ngModel",s.tpoData.last_name),o(2),a("ngIf",i.invalid&&i.touched&&(s.tpoData.last_name==null?null:s.tpoData.last_name.length)<=50),o(),a("ngIf",(s.tpoData.last_name==null?null:s.tpoData.last_name.length)>50),o(3),b("errors",n.invalid&&(n.touched||n.dirty)),o(5),E("ngModel",s.tpoData.email),o(2),a("ngIf",n.invalid&&n.touched),o(2),b("errors",s.hasMobileError),o(),b("mt_4",!s.isMobile),o(2),a("name","mobile")("classString","inline"),E("value",s.tpoData.mobile),o(),a("ngIf",s.hasMobileError)}}function zi(t,c){if(t&1){let e=y();f(0),p(1,"div",70)(2,"label"),_(3,"New University"),p(4,"sup"),_(5,"*"),l()(),p(6,"app-organisation-autocomplete",71),U("organisationChange",function(n){m(e);let s=r(3);return k(s.parentUniversity,n)||(s.parentUniversity=n),g(n)}),u("organisationSelected",function(n){m(e);let s=r(3);return g(s.parentUniversitySelected(n))})("newOrganisationAdded",function(n){m(e);let s=r(3);return g(s.parentUniversitySelected(n))})("organisationChange",function(n){m(e);let s=r(3);return g(s.parentUniversitySelected(n))}),l()(),p(7,"div",72),_(8," University Super Admin Details "),P(9,"un-icon",73),l(),p(10,"un-checkbox",74),U("ngModelChange",function(n){m(e);let s=r(3);return k(s.tpoData.make_same_admin,n)||(s.tpoData.make_same_admin=n),g(n)}),u("ngModelChange",function(){m(e);let n=r(3);return g(n.onChangeForm())}),_(11," Make current college super-admin as university super-admin. "),l(),d(12,Fi,36,24,"ng-container",36),v()}if(t&2){let e=r(3);o(6),E("organisation",e.parentUniversity),a("fillAfterSelect",!0)("pageSource","add-tpo-admin")("placeHolder","Example: Delhi University")("filters","search_type=university_new&orgType=5")("fetchUrl","/api/tpc/colleges-autocomplete")("fixedCreateBtn",!0),o(3),a("unTooltip","You can either promote the current college super-admin to be the university admin by selecting the checkbox or add a new super-admin for the university by entering their details.")("tooltipPosition","bottom")("icon","info_black.svg")("size",16)("color",x(16,qn)),o(),a("type","checkbox")("iconPosition",""),E("ngModel",e.tpoData.make_same_admin),o(2),a("ngIf",!e.tpoData.make_same_admin)}}function Ai(t,c){if(t&1){let e=y();f(0),p(1,"div",70)(2,"label"),_(3,"Existing University"),p(4,"sup"),_(5,"*"),l()(),p(6,"app-organisation-autocomplete",84),U("organisationChange",function(n){m(e);let s=r(3);return k(s.parentUniversity,n)||(s.parentUniversity=n),g(n)}),u("organisationSelected",function(n){m(e);let s=r(3);return g(s.parentUniversitySelected(n))})("newOrganisationAdded",function(n){m(e);let s=r(3);return g(s.parentUniversitySelected(n))})("organisationChange",function(n){m(e);let s=r(3);return g(s.parentUniversitySelected(n))}),l()(),p(7,"div",72),_(8," University Super Admin Details "),l(),p(9,"un-alerts",85)(10,"p"),_(11,"The college super-admin will now take on the role of college admin, while the university super-admin stays the same. "),l()(),v()}if(t&2){let e=r(3);o(6),E("organisation",e.parentUniversity),a("fillAfterSelect",!0)("pageSource","add-tpo-admin")("placeHolder","Example: Delhi University")("filters","search_type=university_existing&tab_type="+e.tabType)("fetchUrl","/api/tpc/colleges-autocomplete")("fixedCreateBtn",!1)("allowAddNew",!1)("showFixedBtn",!1),o(3),a("type","info")("theme","no_bdr")("closeIcon",!1)}}function Bi(t,c){if(t&1){let e=y();p(0,"un-modal",52),u("closeModal",function(){m(e);let n=r(2);return g(n.closeAssignPopup())}),p(1,"un-modal-header")(2,"div",53)(3,"h2"),_(4,"Assign University"),l(),p(5,"un-icon",54),u("click",function(){m(e);let n=r(2);return g(n.closeAssignPopup())}),l()()(),p(6,"un-modal-content",55)(7,"div",56)(8,"div",57),P(9,"un-avatar",58),p(10,"div",59)(11,"div",60),_(12),l(),d(13,Ti,6,2,"ng-container",36),l()()(),p(14,"un-radio-group",61),U("ngModelChange",function(n){m(e);let s=r(2);return k(s.assignType,n)||(s.assignType=n),g(n)}),u("change",function(n){m(e);let s=r(2);return g(s.onChangeAssignType(n))}),p(15,"un-radio",62),_(16," New University "),l(),p(17,"un-radio",62),_(18," Existing University "),l()(),p(19,"div",63),d(20,zi,13,17,"ng-container",36)(21,Ai,12,12,"ng-container",36),l()(),p(22,"un-modal-footer")(23,"button",64),u("click",function(){m(e);let n=r(2);return g(n.closeAssignPopup())}),_(24,"Cancel"),l(),p(25,"button",65),u("click",function(){m(e);let n=r(2);return g(n.assignParentUniversity())}),_(26," Assign "),l()()()}if(t&2){let e=r().college,i=r();a("size","sm")("position","center")("fontColor","blue_color"),o(5),a("unTooltip",i.viewport=="desktop"?"Close"
1:"")("tooltipPosition","bottom")("noTip",!0)("icon","close.svg")("size",20)("bgSize",40)("color",x(31,S))("bg",M(32,D,i.viewport=="desktop"?"grey-50":"transparent")),o(4),a("shape","rounded-square")("padding",e!=null&&e.logo_url?x(34,Nn):x(35,Hn))("borderRadius","4px")("bgColor","surface-white")("textColor","text-primary")("borderWidth",1)("borderColor","grey-200")("imageUrl",(e==null?null:e.logo_url)||i.defaultCollegeLogo)("name",e==null?null:e.name)("size",x(36,jn)),o(3),V(" ",e==null?null:e.name," "),o(),a("ngIf",(e==null?null:e.admin_name)||(e==null?null:e.email)),o(),E("ngModel",i.assignType),o(),a("value","new")("checked",i.assignType=="new"),o(2),a("value","existing")("checked",i.assignType=="existing"),o(3),a("ngIf",i.assignType=="new"),o(),a("ngIf",i.assignType=="existing"),o(4),a("disabled",!i.isValidAssignForm)}}function Wi(t,c){if(t&1&&(p(0,"div",45),d(1,vi,1,13,"un-icon",46)(2,hi,3,4,"span",47)(3,Bi,27,37,"un-modal",48),l()),t&2){let e=c.index,i=r();o(),a("ngIf",i.viewport=="desktop"),o(),a("ngIf",i.viewport=="mobile"),o(),a("ngIf",i.showAssignPopup==e)}}function Ri(t,c){if(t&1){let e=y();p(0,"div",86)(1,"span",87),u("click",function(){m(e);let n=r();return g(n.changeTab("live"))}),_(2,"Live"),l(),p(3,"span",87),u("click",function(){m(e);let n=r();return g(n.changeTab("demo"))}),_(4,"Demo"),l(),p(5,"span",87),u("click",function(){m(e);let n=r();return g(n.changeTab("archived"))}),_(6,"Archived"),l()()}if(t&2){let e=r();b("no_bdr_btm",e.viewport=="desktop"),o(),b("active",e.tabType=="live"),o(2),b("active",e.tabType=="demo"),o(2),b("active",e.tabType=="archived")}}function Li(t,c){if(t&1){let e=y();p(0,"button",88),u("click",function(){m(e);let n=r();return g(n.showCreateModal("new_dashboard"))}),P(1,"un-icon",51),_(2," Dashboard"),l()}if(t&2){let e=r();b("round_btn",e.roundBtn),a("unButtonSmall",e.viewport=="mobile"),o(),a("icon","add.svg")("color",x(6,Mt))("size",18)}}function Ni(t,c){if(t&1&&(p(0,"span",69),_(1),l()),t&2){let e=r().college;o(),I(e.admin_name)}}function Hi(t,c){if(t&1&&d(0,Ni,2,1,"span",68),t&2){let e=c.college;a("ngIf",e.admin_name)}}function ji(t,c){if(t&1){let e=y();p(0,"div",93),u("click",function(){m(e);let n=r(2);return g(n.closeTPOPopup())}),l()}if(t&2){let e=r(2);b("transparent",e.viewport=="desktop")}}function qi(t,c){if(t&1&&T(0,42),t&2){let e=r().college;r();let i=C(27);a("ngTemplateOutlet",i)("ngTemplateOutletContext",M(2,Z,e))}}function $i(t,c){if(t&1){let e=y();p(0,"div",89)(1,"un-icon",90),u("click",function(n){let s=m(e),h=s.college,w=s.index,Me=r();return g(Me.openTPOPopup(w,n,h))}),l(),d(2,ji,1,2,"div",91)(3,qi,1,4,"ng-container",92),l()}if(t&2){let e=c.index,i=r();o(),a("unTooltip",i.viewport=="desktop"?"View TPO detail":"")("tooltipPosition","bottom-right")("noTip",!0)("icon","visibilities.svg")("bgSize",24)("size",16)("color",M(11,$n,i.viewport=="desktop"?"icon-primary":"icon-blue"))("bg",i.popupTPO==e?x(13,F):M(14,D,i.viewport=="desktop"?"grey-50":"transparent"))("borderColor",i.popupTPO==e?"stroke-blue":"transparent"),o(),a("ngIf",i.popupTPO==e),o(),a("ngIf",i.popupTPO==e)}}function Ji(t,c){if(t&1&&(p(0,"span"),_(1),l()),t&2){let e=r(2).college;o(),I(e.mobile)}}function Yi(t,c){if(t&1&&(p(0,"span",69),_(1),l()),t&2){let e=r(2).college;o(),I(e.email)}}function Gi(t,c){if(t&1&&(p(0,"div",102),d(1,Ji,2,1,"span",36)(2,Yi,2,1,"span",68),l()),t&2){let e=r().college;o(),a("ngIf",e.mobile),o(),a("ngIf",e.email)}}function Zi(t,c){}function Xi(t,c){if(t&1&&(p(0,"div",103),d(1,Zi,0,0,"ng-template",42),l()),t&2){let e=r().college;r();let i=C(49);o(),a("ngTemplateOutlet",i)("ngTemplateOutletContext",M(2,X,e.admin_status))}}function Ki(t,c){if(t&1){let e=y();p(0,"div")(1,"un-icon",107),u("click",function(){m(e);let n=r(2).college,s=r();return g(s.sendAdminInviteMail(n))}),l(),p(2,"un-icon",107),u("click",function(){m(e);let n=r(2).college,s=r();return g(s.copyInvitedUrl(n))}),l()()}if(t&2){let e=r(3);o(),a("unTooltip",e.viewport=="desktop"?"Resend Invite Mail":"")("tooltipPosition","bottom")("noTip",!0)("icon","resend_invite.svg")("size",20)("bgSize",40)("color",x(18,S))("bg",e.selectPopup=="singleCollege"?x(19,F):M(20,D,e.viewport=="desktop"?"grey-50":"transparent"))("borderColor",e.selectPopup=="singleCollege"?"blue-700":"transparent"),o(),a("unTooltip",e.viewport=="desktop"?"Copy Invite URL":"")("tooltipPosition","bottom")("noTip",!0)("icon","copy_black.svg")("size",20)("bgSize",40)("color",x(22,S))("bg",e.selectPopup=="singleCollege"?x(23,F):M(24,D,e.viewport=="desktop"?"grey-50":"transparent"))("borderColor",e.selectPopup=="singleCollege"?"blue-700":"transparent")}}function Qi(t,c){if(t&1){let e=y();p(0,"div",104)(1,"button",105),u("click",function(){m(e);let n=r(2);return g(n.showCreateModal("replace_tpo",n.currentCollege))}),_(2," Replace TPO "),P(3,"un-icon",106),l(),d(4,Ki,3,26,"div",36),l()}if(t&2){let e=r().college;o(3),a("icon","restore.svg")("size",20)("color",x(4,S)),o(),a("ngIf",e.admin_status==2)}}function eo(t,c){if(t&1&&(p(0,"div",94)(1,"div",95)(2,"div",96),P(3,"un-avatar",58),p(4,"div",97)(5,"div",98),_(6),l(),d(7,Gi,3,2,"div",99)(8,Xi,2,4,"div",100),l()()(),d(9,Qi,5,5,"div",101),l()),t&2){let e=c.
1college,i=r();b("pos_change",i.changePosition)("responsiveSlide",i.isMobile),a("ngStyle",i.detailModalStyle),o(3),a("shape","circle")("padding",x(19,Jn))("borderRadius","4px")("bgColor","blue-100")("textColor","blue-1000")("borderWidth",1)("borderColor","grey-200")("imageUrl",e.social_avatar||i.defaultAvatar)("name","tpoAdmin name")("size",x(21,Se)),o(3),V(" ",e.admin_name," "),o(),a("ngIf",e.mobile||e.email),o(),a("ngIf",e.admin_status),o(),a("ngIf",i.tabType!="archived")}}function to(t,c){}function no(t,c){if(t&1&&(p(0,"div",39)(1,"span",69),_(2),l(),p(3,"span",118),d(4,to,0,0,"ng-template",42),l(),T(5,42),l()),t&2){let e=r(),i=e.$implicit,n=e.index;r(2);let s=C(25),h=C(49);o(2),V("TPO Details: ",i.admin_name),o(2),a("ngTemplateOutlet",h)("ngTemplateOutletContext",M(5,X,i.admin_status)),o(),a("ngTemplateOutlet",s)("ngTemplateOutletContext",A(7,B,i,n))}}function io(t,c){if(t&1&&(p(0,"div",103),T(1,42),l()),t&2){let e=r(2),i=e.$implicit,n=e.index;r(2);let s=C(51);o(),a("ngTemplateOutlet",s)("ngTemplateOutletContext",A(2,B,i,n))}}function oo(t,c){if(t&1&&(f(0),p(1,"span"),_(2),l(),d(3,io,2,5,"div",100),v()),t&2){let e=r().$implicit,i=r(2);o(2),V("College Count: ",(e.attached_colleges==null?null:e.attached_colleges.length)||0),o(),a("ngIf",i.tabType=="archived"&&i.collegeType=="university"&&i.viewport=="desktop")}}function ao(t,c){if(t&1){let e=y();p(0,"un-icon",119),u("click",function(){m(e);let n=r().$implicit,s=r(2);return g(s.openUniversityDashboard(n))}),l()}if(t&2){let e=r(3);a("unTooltip",e.viewport=="desktop"?"Dashboard":"")("tooltipPosition","bottom-right")("noTip",!0)("icon","dashboards.svg")("size",20)("bgSize",40)("color",x(9,S))("bg",e.selectPopup=="singleCollege"?x(10,F):M(11,D,e.viewport=="desktop"?"grey-50":"transparent"))("borderColor",e.selectPopup=="singleCollege"?"blue-700":"transparent")}}function ro(t,c){if(t&1){let e=y();p(0,"un-icon",119),u("click",function(){m(e);let n=r().$implicit,s=r(2);return g(s.showCreateModal("add_college",n))}),l()}if(t&2){let e=r(3);a("unTooltip",e.viewport=="desktop"?"Add College":"")("tooltipPosition","bottom-right")("noTip",!0)("icon","add.svg")("size",20)("bgSize",40)("color",x(9,S))("bg",e.selectPopup=="singleCollege"?x(10,F):M(11,D,e.viewport=="desktop"?"grey-50":"transparent"))("borderColor",e.selectPopup=="singleCollege"?"blue-700":"transparent")}}function lo(t,c){if(t&1){let e=y();p(0,"un-icon",107),u("click",function(){m(e);let n=r().$implicit,s=r(2);return g(s.openConfirmationModal(n==null?null:n.id,"deleteUniversity",n))}),l()}if(t&2){let e=r(3);a("unTooltip",e.viewport=="desktop"?"Delete university":"")("tooltipPosition","bottom-right")("noTip",!0)("icon","delete.svg")("size",20)("bgSize",40)("color",x(9,S))("bg",e.selectPopup=="singleCollege"?x(10,F):M(11,D,e.viewport=="desktop"?"grey-50":"transparent"))("borderColor",e.selectPopup=="singleCollege"?"blue-700":"transparent")}}function po(t,c){if(t&1){let e=y();p(0,"un-icon",107),u("click",function(){m(e);let n=r().$implicit,s=r(2);return g(s.toggleUniversity(n==null?null:n.id,s.event))}),l()}if(t&2){let e=r().$implicit,i=r(2);a("unTooltip",i.viewport=="desktop"?i.isUniversityExpend==(e==null?null:e.id)?"Hide Colleges":"View Colleges":"")("tooltipPosition","bottom-right")("noTip",!0)("icon",i.viewport=="mobile"?"chevron_right.svg":i.isUniversityExpend==(e==null?null:e.id)?"chevron_up.svg":"chevron_down.svg")("size",24)("bgSize",40)("color",x(9,S))("bg",i.isUniversityExpend==(e==null?null:e.id)?x(10,F):M(11,D,i.viewport=="desktop"?"grey-50":"transparent"))("borderColor",i.isUniversityExpend==(e==null?null:e.id)?"blue-700":"transparent")}}function so(t,c){t&1&&(p(0,"un-alerts",120)(1,"p"),_(2,"All colleges under this university are archived"),l()()),t&2&&a("type","info")("theme","no_bdr")}function co(t,c){if(t&1&&(p(0,"div",122),T(1,42),l()),t&2){let e=r(2).$implicit;r(2);let i=C(31);o(),a("ngTemplateOutlet",i)("ngTemplateOutletContext",M(2,Ot,e.attached_colleges))}}function _o(t,c){if(t&1){let e=y();p(0,"button",131),u("click",function(){m(e);let n=r(5);return g(n.toggleUniversity(null))}),P(1,"un-icon",132),l()}t&2&&(o(),a("icon","arrows_left.svg")("size",16))}function mo(t,c){if(t&1&&(f(0),T(1,30),v()),t&2){r(5);let e=C(14);o(),a("ngTemplateOutlet",e)}}function go(t,c){if(t&1){let e=y();f(0),p(1,"un-modal",123),u("closeModal",function(){m(e);let n=r(4);return g(n.toggleUniversity(null))}),p(2,"un-modal-header")(3,"div",124),d(4,_o,2,2,"button",125),p(5,"h2",126),_(6),l()()(),p(7,"un-modal-content")(8,"div",127)(9,"div",128),_(10," TPO Details "),l(),T(11,42),p(12,"div",129),_(13," Colleges "),l(),T(14,42),d(15,mo,2,1,"ng-container",36),l(),p(16,"button",130),u("click",function(){m(e);let n=r(4);return g(n.showCreateModal("add_college"))}),P(17,"un-icon",51),l()()(),v()}if(t&2){let e=r(2).$implicit,i=r(2),n=C(27),s=C(31);o(),a("position","un_modal_right")("mobileSlide","right"),o(3),a("ngIf",i.viewport=="mobile"),o(2),I(e.name),o(5),a("ngTemplateOutlet",n)("ngTemplateOutletContext",M(16,Z,e)),o(3),a("ngTemplateOutlet",s)("ngTemplateOutletContext",M(18,Ot,e.attached_colleges)),o(),a("ngIf",i.showConfirmPopup!=null),o(),b("floating_btn",i.viewport=="mobile")("round_btn",!0),o(),a("icon","add.svg")("color",x(20,Mt))("size",18)}}function uo(t,c){if(t&1&&(f(0),d(1,co,2,4,"div",121)(2,go,18,21,"ng-container",36),v()),t&2){let e=r(3);o(),a("ngIf",e.viewport=="desktop"),o(),a("ngIf",e.viewport=="mobile")}}function Co(t,c){if(t&1&&(p(0,"div",109)(1,"div",110)(2,"div",37)(3,"div"),P(4,"un-avatar",58),p(5,"div",111)(6,"div",39)(7,"div",112),_(8),l()(),p(9,"div",113),d(10,no,6,10,"div",114)(11,oo,4,2,"ng-container",36),l()()(),p(12,"div",39),d(13,ao,1,13,"un-icon",115)(14,ro,1,13,"un-icon",115)(15,lo,1,13,"un-icon",116)(16,po,1,13,"un-icon",116),l()(),d(17,so,3,2,"un-alerts",117),l(),d(18,uo,3,2,"ng-container",36),l()),t&2){let e=c.$implicit,i=r(2);o(),b("pb-15",i.isUniversityExpend==(e==null?null:e.id)),o(),b("mb-15",i.tabType!="archived"&&!(e.attached_colleges!=null&&e.attached_colleges.length)),o(),Pe(Q("avatar_card empty ",i.viewport=="desktop"?"d-flex":"align-center")),b("empty",!(e.attached_colleges!=null&&e.attached_colleges.length)),o(),a("shape","rounded-square")("padding",x(32,Pt))("borderRadius","4px")("bgColor","blue-100")("textColor","blue-1000")("borderWidth",1)("borderColor","grey-200")("imageUrl",e.logo_url||i.defaultCollegeLogo)("name","college name")("size",x(33,Se)),o(3),a("unTooltip",e.name)("tooltipPosition","bottom"),o(),De(" ",e.name," ",e.attached_colleges!=null&&e.attached_colleges.length?"":"(Archiving All Colleges)"," "),o(2),a("ngIf",i.viewport=="desktop"),o(),a("ngIf",i.tabType=="archived"||(e.attached_colleges==null?null:e.attached_colleges.length)),o(2),a("ngIf",i.tabType!="archived"&&(e.attached_colleges==null?null:e.attached_colleges.length)>1),o(),a("ngIf",i.tabType!="archived"&&i.viewport=="desktop"||!(e.attached_colleges!=null&&e.attached_colleges.length)&&i.viewport=="mobile"&&i.tabType!="archived"),o(),a("ngIf",i.tabType!="archived"&&!(e.attached_colleges!=null&&e.attached_colleges.length)),o(),a("ngIf",(e.attached_colleges==null?null:e.attached_colleges.length)||i.tabType=="archived"),o(),a("ngIf",!(e.attached_colleges!=null&&e.attached_colleges.length)&&i.tabType!="archived"),o(),a("ngIf",i.isUniversityExpend==(e==null?null:e.id)&&(e.attached_colleges==null?null:e.attached_colleges.length))}}function xo(t,c){if(t&1&&d(0,Co,19,34,"div",108),t&2){let e=r();a("ngForOf",e.tpc_colleges)}}function fo(t,c){t&1&&(p(0,"th",144),_(1,"TPO Details"),l())}function vo(t,c){t&1&&(f(0),p(1,"th",145),_(2,"Archived From"),l(),v())}function ho(t,c){t&1&&(p(0,"th",146),_(1,"Dashboard Access "),l())}function yo(t,c){t&1&&(p(0,"th",147),_(1,"Assign University"),l())}function bo(t,c){}function To(t,c){if(t&1&&(p(0,"td")(1,"div",153),T(2,42)(3,42),l(),p(4,"div",103),d(5,bo,0,0,"ng-template",42),l()()),t&2){let e=r(),i=e.$implicit,n=e.index;r(3);let s=C(23),h=C(25),w=C(49);o(2),a("ngTemplateOutlet",s)("ngTemplateOutletContext",M(6,Z,i)),o(),a("ngTemplateOutlet",h)("ngTemplateOutletContext",A(8,B,i,n)),o(2),a("ngTemplateOutlet",w)("ngTemplateOutletContext",M(11,X,i.admin_status))}}function wo(t,c){if(t&1&&(f(0),p(1,"td",154)(2,"div",155),T(3,42),l()(),v()),t&2){let e=r(),i=e.$implicit,n=e.index;r(3);let s=C(51);o(3),a("ngTemplateOutlet",s)("ngTemplateOutletContext",A(2,B,i,n))}}function Mo(t,c){if(t&1&&(p(0,"td",149),_(1),l()),t&2){let e=r().$implicit;o(),V(" ",!e.view_only_mode||e.active==1||e.active==2?"Yes":"No"," ")}}function Po(t,c){if(t&1&&(p(0,"td",154)(1,"div",155),T(2,42),l()()),t&2){let e=r(),i=e.$implicit,n=e.index;r(3);let s=C(17);o(2),a("ngTemplateOutlet",s)("ngTemplateOutletContext",A(2,B,i,n))}}function Oo(t,c){if(t&1&&(p(0,"tr")(1,"td",148),T(2,42),l(),d(3,To,6,13,"td",36)(4,wo,4,5,"ng-container",36),p(5,"td",149),_(6),l(),d(7,Mo,2,1,"td",150)(8,Po,3,5,"td",151),p(9,"td",152),T(10,42),l()()),t&2){let e=c.$implicit,i=c.index,n=r(3),s=C(33),h=C(43);o(2),a("ngTemplateOutlet",s)("ngTemplateOutletContext",M(9,Z,e)),o(),a("ngIf",n.collegeType=="autonomous"),o(),a("ngIf",n.tabType=="archived"&&n.collegeType=="autonomous"),o(2),I(e.student_count),o(),a("ngIf",n.tabType!="archived"),o(),a("ngIf",n.collegeType=="autonomous"&&n.tabType!="archived"),o(2),a("ngTemplateOutlet",h)("ngTemplateOutletContext",A(11,B,e,i))}}function So(t,c){if(t&1&&(p(0,"div",135)(1,"table")(2,"thead",136)(3,"tr")(4,"th",137),_(5,"Colleges"),l(),d(6,fo,2,0,"th",138)(7,vo,3,0,"ng-container",36),p(8,"th",139),_(9,"Students"),l(),d(10,ho,2,0,"th",140)(11,yo,2,0,"th",141),p(12,"th",142),_(13,"Actions"),l(
1)()(),p(14,"tbody"),d(15,Oo,11,14,"tr",143),l()()()),t&2){let e=r().colleges,i=r();b("mt-20",i.collegeType=="autonomous"),o(6),a("ngIf",i.collegeType=="autonomous"),o(),a("ngIf",i.tabType=="archived"&&i.collegeType=="autonomous"),o(3),a("ngIf",i.tabType!="archived"),o(),a("ngIf",i.collegeType=="autonomous"&&i.tabType!="archived"),o(4),a("ngForOf",e)}}function Eo(t,c){}function ko(t,c){if(t&1&&(f(0),p(1,"div",37)(2,"span"),_(3,"TPO Details"),l(),p(4,"div",39)(5,"strong"),T(6,42),l(),T(7,42),l()(),p(8,"div",37)(9,"span"),_(10,"TPO Status"),l(),d(11,Eo,0,0,"ng-template",42),l(),v()),t&2){let e=r(),i=e.$implicit,n=e.index;r(3);let s=C(23),h=C(25),w=C(49);o(6),a("ngTemplateOutlet",s)("ngTemplateOutletContext",M(6,Z,i)),o(),a("ngTemplateOutlet",h)("ngTemplateOutletContext",A(8,B,i,n)),o(4),a("ngTemplateOutlet",w)("ngTemplateOutletContext",M(11,X,i.admin_status))}}function Uo(t,c){if(t&1&&(p(0,"div",37)(1,"span"),_(2,"Archived From"),l(),T(3,42),l()),t&2){let e=r(),i=e.$implicit,n=e.index;r(3);let s=C(51);o(3),a("ngTemplateOutlet",s)("ngTemplateOutletContext",A(2,B,i,n))}}function Vo(t,c){if(t&1&&(p(0,"div",158)(1,"div",159)(2,"div",160),T(3,42),l(),p(4,"div",161),d(5,ko,12,13,"ng-container",36)(6,Uo,4,5,"div",162),p(7,"div",37)(8,"span"),_(9,"Students"),l(),p(10,"strong"),_(11),l()(),p(12,"div",37)(13,"span"),_(14,"Dashboard Access"),l(),p(15,"strong"),_(16),l()(),p(17,"div",37)(18,"span"),_(19,"Assign University"),l(),T(20,42),l()()(),p(21,"div",163),T(22,42),l()()),t&2){let e=c.$implicit,i=c.index,n=r(3),s=C(17),h=C(33),w=C(43);o(3),a("ngTemplateOutlet",h)("ngTemplateOutletContext",M(10,Z,e)),o(2),a("ngIf",n.collegeType=="autonomous"),o(),a("ngIf",n.tabType=="archived"&&n.collegeType=="autonomous"),o(5),I(e.student_count),o(5),I(!e.view_only_mode||e.active==1||e.active==2?"Yes":"No"),o(4),a("ngTemplateOutlet",s)("ngTemplateOutletContext",A(12,B,e,i)),o(2),a("ngTemplateOutlet",w)("ngTemplateOutletContext",A(15,B,e,i))}}function Do(t,c){if(t&1&&(p(0,"div",156),d(1,Vo,23,18,"div",157),l()),t&2){let e=r().colleges;o(),a("ngForOf",e)}}function Io(t,c){if(t&1&&d(0,So,16,7,"div",133)(1,Do,2,1,"div",134),t&2){let e=r();a("ngIf",e.viewport=="desktop"),o(),a("ngIf",e.viewport=="mobile")}}function Fo(t,c){t&1&&(p(0,"div",103)(1,"un-tags",164),_(2,"View Only"),l()()),t&2&&(o(),a("closeIconEffect",!1)("size","sm")("bgColor","blue-100")("textColor","blue-900")("close_icon",!1))}function zo(t,c){if(t&1&&(p(0,"div"),P(1,"un-avatar",58),p(2,"div",111)(3,"div",39)(4,"div",112),_(5),l()(),d(6,Fo,3,5,"div",100),l()()),t&2){let e=c.college,i=r();
1Pe(Q("avatar_card ",e.view_only_mode?"d-flex":"align-center")),o(),a("shape","rounded-square")("padding",x(18,Pt))("borderRadius","4px")("bgColor","blue-100")("textColor","blue-1000")("borderWidth",1)("borderColor","grey-200")("imageUrl",e.logo_url||i.defaultCollegeLogo)("name",e.name)("size",x(19,Se)),o(3),a("unTooltip",e.name)("tooltipPosition","bottom"),o(),V(" ",e.name," "),o(),a("ngIf",e.view_only_mode)}}function Ao(t,c){if(t&1){let e=y();p(0,"div",165)(1,"span",87),u("click",function(){m(e);let n=r();return g(n.changeCollegeType("university"))}),_(2,"Universities"),l(),p(3,"span",87),u("click",function(){m(e);let n=r();return g(n.changeCollegeType("autonomous"))}),_(4,"Autonomous Colleges"),l()()}if(t&2){let e=r();b("mb-10",e.viewport=="mobile"),o(),b("active",e.collegeType=="university"),o(2),b("active",e.collegeType=="autonomous")}}function Bo(t,c){if(t&1){let e=y();p(0,"un-icon",166),u("click",function(){m(e);let n=r();return g(n.toggleSearchBox())}),l()}if(t&2){let e=r();a("unTooltip",e.viewport=="desktop"?"Search":"")("tooltipPosition","bottom-right")("noTip",!0)("icon","search.svg")("bgSize",40)("size",20)("color",x(9,S))("bg",e.searchBox?x(10,F):M(11,D,e.viewport=="desktop"?"grey-50":"transparent"))("borderColor",e.searchBox?"stroke-blue":"transparent")}}function Wo(t,c){if(t&1){let e=y();p(0,"un-input",167),U("ngModelChange",function(n){m(e);let s=r();return k(s.searchTerm,n)||(s.searchTerm=n),g(n)}),u("iconRightEvent",function(){m(e);let n=r();return g(n.toggleSearchBox())}),l()}if(t&2){let e=r();a("id","search_tpo")("name","search_tpo")("type","text")("iconLeft","search.svg")("iconRight","cross.svg")("size","medium")("rounded",!0)("placeholder","Search"),E("ngModel",e.searchTerm)}}function Ro(t,c){if(t&1){let e=y();p(0,"div",93),u("click",function(){m(e);let n=r(2);return g(n.toggleSelectPopup(null))}),l()}if(t&2){let e=r(2);b("transparent",e.viewport=="desktop")}}function Lo(t,c){if(t&1){let e=y();p(0,"div",171),u("click",function(){let n=m(e).$implicit,s=r(3);return g(s.appendSortOrder(n))}),_(1),P(2,"un-icon",172),l()}if(t&2){let e=c.$implicit,i=r(3);b("active",e.value==i.filters.sort_by),o(),V(" ",e.name," "),o(),a("icon","check.svg")("size",20)}}function No(t,c){if(t&1&&(p(0,"div",169),d(1,Lo,3,5,"div",170),l()),t&2){let e=r(2);b("responsiveSlide",e.isMobile),o(),a("ngForOf",e.sortByOptions)}}function Ho(t,c){if(t&1){let e=y();p(0,"div",45)(1,"un-icon",49),u("click",function(){m(e);let n=r();return g(n.toggleSelectPopup("sort"))}),l(),d(2,Ro,1,2,"div",91)(3,No,2,3,"div",168),l()}if(t&2){let e=r();o(),b("applyed",e.filters.sort_by),a("unTooltip",e.viewport=="desktop"?"Sort":"")("tooltipPosition","bottom-right")("noTip",!0)("icon","sort.svg")("size",20)("bgSize",40)("color",x(13,S))("bg",e.selectPopup=="sort"?x(14,F):M(15,D,e.viewport=="desktop"?"grey-50":"transparent"))("borderColor",e.selectPopup=="sort"?"blue-700":"transparent"),o(),a("ngIf",e.selectPopup=="sort"),o(),a("ngIf",e.selectPopup=="sort")}}function jo(t,c){if(t&1){let e=y();p(0,"un-icon",119),u("click",function(){m(e);let n=r().college,s=r();return g(s.openDashboard(n))}),l()}if(t&2){let e=r(2);a("unTooltip",e.viewport=="desktop"?"Dashboard":"")("tooltipPosition","bottom-right")("noTip",!0)("icon","dashboards.svg")("size",20)("bgSize",40)("color",x(9,S))("bg",e.selectPopup=="singleCollege"?x(10,F):M(11,D,e.viewport=="desktop"?"grey-50":"transparent"))("borderColor",e.selectPopup=="singleCollege"?"blue-700":"transparent")}}function qo(t,c){if(t&1){let e=y();p(0,"un-icon",107),u("click",function(){m(e);let n=r(),s=n.index,h=n.college,w=r();return w.openConfirmationModal(s,"archiveTPO",h),g(w.toggleMoreAction(null))}),l()}if(t&2){let e=r(2);a("unTooltip",e.viewport=="desktop"?"Archive College":"")("tooltipPosition","bottom-right")("noTip",!0)("icon","archive.svg")("size",20)("bgSize",40)("color",x(9,S))("bg",e.selectPopup=="archive"?x(10,F):M(11,D,e.viewport=="desktop"?"grey-50":"transparent"))("borderColor",e.selectPopup=="archive"?"blue-700":"transparent")}}function $o(t,c){if(t&1){let e=y();p(0,"un-icon",107),u("click",function(n){m(e);let s=r(2).index,h=r();return g(h.toggleMoreAction(s,n))}),l()}if(t&2){let e=r(2).index,i=r();a("unTooltip",i.viewport=="desktop"?"More Action":"")("tooltipPosition","bottom-right")("noTip",!0)("icon","3-dot-vertical.svg")("size",24)("bgSize",40)("color",x(9,S))("bg",i.isMoreOption==e?x(10,F):M(11,D,i.viewport=="desktop"?"grey-50":"transparent"))("borderColor",i.isMoreOption==e?"blue-700":"transparent")}}function Jo(t,c){if(t&1){let e=y();p(0,"un-icon",54),u("click",function(){m(e);let n=r(2),s=n.index,h=n.college,w=r();return w.openConfirmationModal(s,"deleteTPO",h),g(w.toggleMoreAction(null))}),l()}if(t&2){let e=r(3);a("unTooltip",e.viewport=="desktop"?"Delete":"")("tooltipPosition","bottom-right")("noTip",!0)("icon","delete.svg")("size",20)("bgSize",40)("color",x(8,S))("bg",M(9,D,e.viewport=="desktop"?"grey-50":"transparent"))}}function Yo(t,c){if(t&1){let e=y();p(0,"div",93),u("click",function(){m(e);let n=r(3);return g(n.toggleMoreAction(null))}),l()}if(t&2){let e=r(3);b("transparent",e.viewport=="desktop")}}function Go(t,c){if(t&1){let e=y();p(0,"div",176),u("click",function(){m(e);let n=r(5),s=n.index,h=n.college,w=r();return w.openConfirmationModal(s,"dashboardAccess",h),g(w.toggleMoreAction(null))}),P(1,"un-icon",177),_(2," Give Dashboard Access "),l()}t&2&&(o(),a("icon","key.svg")("size",20))}function Zo(t,c){if(t&1){let e=y();f(0),p(1,"div",176),u("click",function(){m(e);let n=r(4),s=n.index,h=n.college,w=r();return w.openConfirmationModal(s,"disableViewOnly",h),g(w.toggleMoreAction(null))}),P(2,"un-icon",177),_(3," Turn Off View Only "),l(),d(4,Go,3,2,"div",178),v()}if(t&2){let e=r(4).college;o(2),a("icon","visibility_off_black.svg")("size",20),o(2),a("ngIf",e.active==-2)}}function Xo(t,c){if(t&1){let e=y();f(0),d(1,Zo,5,3,"ng-container",36),p(2,"div",176),u("click",function(){m(e);let n=r(3),s=n.index,h=n.college,w=r();return w.openConfirmationModal(s,"archiveTPO",h),g(w.toggleMoreAction(null))}),P(3,"un-icon",177),_(4," Archive TPO "),l(),v()}if(t&2){let e=r(3).college;
1o(),a("ngIf",e.view_only_mode),o(2),a("icon","archive.svg")("size",20)}}function Ko(t,c){if(t&1&&(p(0,"div",169),d(1,Xo,5,3,"ng-container",36),l()),t&2){let e=r(3);b("responsiveSlide",e.isMobile)("pos_change",e.changePosition),o(),a("ngIf",e.tabType!="archived")}}function Qo(t,c){if(t&1&&(p(0,"div",45),d(1,$o,1,13,"un-icon",116)(2,Jo,1,11,"un-icon",174)(3,Yo,1,2,"div",91)(4,Ko,2,5,"div",175),l()),t&2){let e=r().index,i=r();o(),a("ngIf",i.tabType!="archived"),o(),a("ngIf",i.tabType=="archived"),o(),a("ngIf",i.isMoreOption==e),o(),a("ngIf",i.isMoreOption==e)}}function ea(t,c){if(t&1&&(p(0,"div",155),d(1,jo,1,13,"un-icon",115)(2,qo,1,13,"un-icon",116)(3,Qo,5,4,"div",173),l()),t&2){let e=c.college,i=r();o(),a("ngIf",i.tabType!="archived"),o(),a("ngIf",i.tabType!="archived"&&!e.view_only_mode),o(),a("ngIf",i.tabType=="archived"||e.view_only_mode)}}function ta(t,c){if(t&1){let e=y();p(0,"un-icon",182),u("click",function(){m(e);let n=r(2);return g(n.toggleSelectPopup("status"))}),l()}if(t&2){let e=r(2);a("icon","filter_alt.svg")("size",20)("bgSize",40)("color",x(6,S))("bg",e.selectPopup=="status"?x(7,F):M(8,D,e.viewport=="desktop"?"grey-50":"transparent"))("borderColor",e.selectPopup=="status"?"blue-700":"transparent")}}function na(t,c){if(t&1){let e=y();p(0,"button",183),u("click",function(){m(e);let n=r(2);return g(n.toggleSelectPopup("status"))}),T(1,42),P(2,"un-icon",106),l()}if(t&2){let e=r(2),i=C(47);b("active",e.selectPopup=="status"),o(),a("ngTemplateOutlet",i)("ngTemplateOutletContext",M(7,X,e.currentStatus)),o(),a("icon","chevron_down.svg")("size",20)("color",x(9,S))}}function ia(t,c){if(t&1){let e=y();p(0,"div",93),u("click",function(){m(e);let n=r(2);return g(n.toggleSelectPopup(null))}),l()}if(t&2){let e=r(2);b("transparent",e.viewport=="desktop")}}function oa(t,c){if(t&1){let e=y();p(0,"div",171),u("click",function(){let n=m(e).$implicit,s=r(3);return g(s.statusFilter(n))}),T(1,42),P(2,"un-icon",172),l()}if(t&2){let e=c.$implicit,i=r(3),n=C(47);b("active",i.currentStatus==e.type),o(),a("ngTemplateOutlet",n)("ngTemplateOutletContext",M(6,X,e.type)),o(),a("icon","check.svg")("size",20)}}function aa(t,c){if(t&1&&(p(0,"div",169),d(1,oa,3,8,"div",170),l()),t&2){let e=r(2);b("responsiveSlide",e.isMobile),o(),a("ngForOf",e.statusTypes)}}function ra(t,c){if(t&1&&(p(0,"div",179),d(1,ta,1,10,"un-icon",180)(2,na,3,10,"button",181)(3,ia,1,2,"div",91)(4,aa,2,3,"div",168),l()),t&2){let e=r();o(),a("ngIf",e.viewport=="mobile"),o(),a("ngIf",e.viewport=="desktop"),o(),a("ngIf",e.selectPopup=="status"),o(),a("ngIf",e.selectPopup=="status")}}function la(t,c){t&1&&(f(0),p(1,"span",39),P(2,"un-icon",186),_(3," All Live "),l(),v()),t&2&&(o(2),a("icon","live.svg")("size",20)("color",x(3,S)))}function pa(t,c){t&1&&(f(0),p(1,"span",39),P(2,"un-icon",186),_(3," Invited "),l(),v()),t&2&&(o(2),a("icon","outgoing_mail.svg")("size",20)("color",x(3,S)))}function sa(t,c){t&1&&(f(0),p(1,"span",39),P(2,"un-icon",186),_(3," Not Invited "),l(),v()),t&2&&(o(2),a("icon","cancels.svg")("size",20)("color",x(3,S)))}function ca(t,c){t&1&&(f(0),p(1,"span",39),P(2,"un-icon",186),_(3," Active "),l(),v()),t&2&&(o(2),a("icon","tick-active.svg")("size",20)("color",x(3,S)))}function _a(t,c){t&1&&(f(0),p(1,"span",39),P(2,"un-icon",186),_(3," Inactive "),l(),v()),t&2&&(o(2),a("icon","inactives.svg")("size",20)("color",x(3,S)))}function ma(t,c){t&1&&(f(0),p(1,"span",39),P(2,"un-icon",186),_(3," View Only Mode "),l(),v()),t&2&&(o(2),a("icon","visibility_lock.svg")("size",20)("color",x(3,S)))}function ga(t,c){if(t&1&&(f(0,184),d(1,la,4,4,"ng-container",185)(2,pa,4,4,"ng-container",185)(3,sa,4,4,"ng-container",185)(4,ca,4,4,"ng-container",185)(5,_a,4,4,"ng-container",185)(6,ma,4,4,"ng-container",185),v()),t&2){let e=c.status;a("ngSwitch",e),o(),a("ngSwitchCase","live"),o(),a("ngSwitchCase",2),o(),a("ngSwitchCase",-2),o(),a("ngSwitchCase",1),o(),a("ngSwitchCase",-1),o(),a("ngSwitchCase","viewOnlyMode")}}function da(t,c){t&1&&(p(0,"un-tags",164),_(1," Active "),l()),t&2&&a("closeIconEffect",!1)("size","sm")("bgColor","green-100")("textColor","green-1000")("close_icon",!1)}function ua(t,c){t&1&&(p(0,"un-tags",164),_(1," In Active "),l()),t&2&&a("closeIconEffect",!1)("size","sm")("bgColor","grey-100")("textColor","grey-800")("close_icon",!1)}function Ca(t,c){t&1&&(p(0,"un-tags",164),_(1," Invited "),l()),t&2&&a("closeIconEffect",!1)("size","sm")("bgColor","purple-100")("textColor","purple-1000")("close_icon",!1)}function xa(t,c){t&1&&(p(0,"un-tags",164),_(1," Not Invited "),l()),t&2&&a("closeIconEffect",!1)("size","sm")("bgColor","primary-100")("textColor","primary-800")("close_icon",!1)}function fa(t,c){if(t&1&&(f(0,184),d(1,da,2,5,"un-tags",187)(2,ua,2,5,"un-tags",187)(3,Ca,2,5,"un-tags",187)(4,xa,2,5,"un-tags",187),v()),t&2){let e=c.status;a("ngSwitch",e),o(),a("ngSwitchCase",1),o(),a("ngSwitchCase",-1),o(),a("ngSwitchCase",2),o(),a("ngSwitchCase",-2)}}function va(t,c){if(t&1&&(p(0,"un-tags",164),_(1),l()),t&2){let e=r(2);a("closeIconEffect",!1)("size","sm")("bgColor","green-100")("textColor","green-1000")("close_icon",!1),o(),V(" Live ",e.collegeType=="autonomous"?"College":"University"," ")}}function ha(t,c){if(t&1&&(p(0,"un-tags",164),_(1),l()),t&2){let e=r(2);a("closeIconEffect",!1)("size","sm")("bgColor","pink-100")("textColor","pink-900")("close_icon",!1),o(),V(" Demo ",e.collegeType=="autonomous"?"College":"University"," ")}}function ya(t,c){if(t&1&&d(0,va,2,6,"un-tags",188)(1,ha,2,6,"un-tags",188),t&2){let e=c.
1college;a("ngIf",e.type==1),o(),a("ngIf",e.type==0)}}function ba(t,c){t&1&&P(0,"app-colleges-loader",189),t&2&&a("type","page-loader")}function Ta(t,c){t&1&&(f(0),P(1,"app-colleges-loader",189),v()),t&2&&(o(),a("type","university-box-loader"))}function wa(t,c){if(t&1&&d(0,Ta,2,1,"ng-container",33),t&2){let e=r(),i=C(57);a("ngIf",e.collegeType=="university")("ngIfElse",i)}}function Ma(t,c){t&1&&(p(0,"div",34),P(1,"app-colleges-loader",189),l()),t&2&&(o(),a("type","college-table-loader"))}function Pa(t,c){t&1&&(p(0,"div",191),P(1,"un-no-data",192),l()),t&2&&(o(),a("type","")("cardTitle","No Data Available"))}function Oa(t,c){if(t&1&&T(0,30),t&2){r(2);let e=C(61);a("ngTemplateOutlet",e)}}function Sa(t,c){}function Ea(t,c){if(t&1&&d(0,Pa,2,2,"div",190)(1,Oa,1,1,"ng-container",31)(2,Sa,0,0,"ng-template"),t&2){let e=r();a("ngIf",e.totalCount),o(),a("ngIf",e.totalCount==0)}}function ka(t,c){if(t&1&&(f(0),T(1,30),v()),t&2){r(2);let e=C(21);o(),a("ngTemplateOutlet",e)}}function Ua(t,c){if(t&1&&(p(0,"div",193)(1,"un-no-data",194),d(2,ka,2,1,"ng-container",36),l()()),t&2){let e=r();o(),a("img",e.isMobile?"https://d8it4huxumps7.cloudfront.net/uploads/images/66c83a80b299e_empty_table_list_mobile.jpg?d=343x352":"https://d8it4huxumps7.cloudfront.net/uploads/images/66c83958d9c3c_empty_table_list.jpg?d=1151x352")("type","")("cardTitle",e.emptyNoDataText),o(),a("ngIf",e.tabType=="demo")}}var we=(()=>{class t{constructor(e,i,n,s,h,w,Me){this.menubarService=e,this.route=i,this.router=n,this.unstopTpoCollegesService=s,this.toast=h,this.scroller=w,this.helper=Me,this.viewport="desktop",this.isMobile=!1,this.collegeType="university",this.searchBox=!1,this.searchTerm="",this.selectPopup=null,this.popupTPO=null,this.queryString="",this.isPageLoading=!0,this.initialCount=!0,this.totalCount=0,this.onPageChangeInitial=0,this.sortByOptions=[{name:"Student Count (High to Low)",value:"st_count_desc"},{name:"Student Count (Low to High)",value:"st_count_asc"},{name:"Alphabet (A-Z)",value:"alphabet"},{name:"Created On (Newest)",value:"created_at"}],this.statusTypes=[{name:"All Live",type:"live"},{name:"Invited",type:2},{name:"Not Invited",type:-2},{name:"Active",type:1},{name:"View Only Mode",type:"viewOnlyMode"}],this.queryParams=[],this.filters={status:null,sort_by:null,college_type:"live",tab:"university"},this.url="/api/tpc/get-tpo-admins",this.tpc_colleges=[],this.reInitCount=1,this.pageJumpTo=null,this.currentStatus="live",this.isUniversityExpend=null,this.isMoreOption=null,this.defaultCollegeLogo="https://d8it4huxumps7.cloudfront.net/uploads/images/657ff142185c9_college_icon.svg",this.defaultAvatar="https://d8it4huxumps7.cloudfront.net/uploads/images/66b9d9f9ae54c_placeholder_avatar_40.svg",this.showAssignPopup=null,this.isLoading=!0,this.showConfirmPopup=null,this.currentCollege=null,this.parentUniversity=null,this.showCreateCollege=!1,this.createCollegeType=null,this.detailModalStyle={},this.detailModalPosition={x:0,y:0},this.changePosition=!1,this.roundBtn=!1,this.assignType="new",this.tpoData={first_name:"",last_name:"",email:"",mobile:"",make_same_admin:!1},this.disableBtn=!1,this.isValidAssignForm=!1,this.nameRegex=/^[a-zA-Z .]{1,50}$/}ngOnInit(){this.onWindowResize(),this.route.data.subscribe(e=>{this.tabType=e.tab,this.filters.college_type=this.tabType,this.applyFilters()})}ngOnDestroy(){}onWindowResize(){window.innerWidth<=991?(this.viewport="mobile",window.innerWidth<=767?this.isMobile=!0:this.isMobile=!1):(this.viewport="desktop",this.isMobile=!1)}onWindowScroll(){(document.documentElement.scrollTop||document.body.scrollTop)>200?this.roundBtn=!0:this.roundBtn=!1,window.innerWidth>767&&(this.popupTPO!=null&&(this.popupTPO=null),this.selectPopup!=null&&(this.selectPopup=null),this.isMoreOption!=null&&(this.isMoreOption=null))}changeTab(e){this.router.navigateByUrl(`manage-tpo-colleges/${e}`),this.isUniversityExpend=null,this.tabType=="archived"&&(this.initialCount=!0)}changeCollegeType(e){this.searchTerm="",this.searchBox=!1,this.collegeType=e,this.isUniversityExpend=null,this.currentStatus="live",this.filters={status:null,sort_by:null,college_type:this.tabType,tab:e},this.initialCount=!0,this.applyFilters()}toggleSearchBox(){this.searchBox=!this.searchBox,this.searchClear(),this.searchBox&&setTimeout(()=>{document.getElementById("search_tpo").focus()},0)}searchClear(){this.searchTerm&&(this.searchTerm="")}toggleSelectPopup(e){this.selectPopup==e?this.selectPopup=null:this.selectPopup=e}openTPOPopup(e,i,n=null){this.detailModalPosition={x:i.clientX,y:i.clientY};let s=window.innerHeight,h=i?.clientY||0;
1s-h<240?this.tabType=="archived"?this.detailModalStyle={top:`${this.detailModalPosition.y-168}px`,left:`${this.detailModalPosition.x-14}px`,position:"fixed"}:this.detailModalStyle={top:`${this.detailModalPosition.y-222}px`,left:`${this.detailModalPosition.x-14}px`,position:"fixed"}:this.detailModalStyle={top:`${this.detailModalPosition.y+18}px`,left:`${this.detailModalPosition.x-14}px`,position:"fixed"},this.popupTPO=e,this.currentCollege=n}closeTPOPopup(){this.popupTPO=null,this.currentCollege=null,this.detailModalStyle={}}appendSortOrder(e){this.filters.sort_by==e.value?this.filters.sort_by=null:this.filters.sort_by=e.value,this.selectPopup=null,this.applyFilters()}statusFilter(e){this.currentStatus!=e.type?this.currentStatus=e.type:this.currentStatus="live",this.selectPopup=null,this.filters.status=this.currentStatus,this.applyFilters()}toggleUniversity(e){this.isUniversityExpend=this.isUniversityExpend===e?null:e}toggleMoreAction(e,i){this.isMoreOption=this.isMoreOption===e?null:e,this.popPosition(i)}popPosition(e){let i=window.innerHeight,n=e?.pageY||0;i-n<180?this.changePosition=!0:this.changePosition=!1}statsChange(e){console.log(e,"checking event"),this.totalColleges=e.total,this.initialCount&&(this.totalCount=e.total,this.initialCount=!1,console.log(this.totalCount,"checking total count"))}applyFilters(){this.queryParams=[],this.tpc_colleges=[],this.isLoading=!0;for(let e in this.filters){let i=this.filters[e];i&&this.queryParams.push({property:e,value:i})}this.pageJumpTo=1,console.log(this.queryParams)}assignUniversity(e,i){this.showAssignPopup=e,this.currentCollege=i,this.isValidAssignForm=!1,this.tpoData={first_name:"",last_name:"",email:"",mobile:"",make_same_admin:!1},this.assignType="new",this.parentUniversity=null}closeAssignPopup(){this.showAssignPopup=null,this.parentUniversity=null,this.currentCollege=null,this.tpoData.make_same_admin=!1}openConfirmationModal(e,i,n=null){this.showConfirmPopup=e,this.dialogType=i,this.currentCollege=n}closeConfirmModal(e){this.showConfirmPopup=null,this.currentCollege=null}showCreateModal(e,i=null){this.showCreateCollege=!0,this.createCollegeType=e,this.currentCollege=i,this.initialCount=!0}hideCreateModal(e){this.showCreateCollege=!1,e&&this.reInitCount++}restoreTpo(e){this.currentCollege=e;let i=!1;!e.university_status&&e.admin_status!=-2&&(i=!0),i?(this.openConfirmationModal(this.isMoreOption,"restoreTpo",e),this.isMoreOption=null,console.log("hello")):(this.takeCollegeAction("restoreTpo"),this.initialCount=!0,console.log("take action"))}takeCollegeAction(e){let i={admin_id:this.currentCollege.admin_id};typeof e=="object"?i=j(j({},i),e):i.action=e,this.unstopTpoCollegesService.tpoAdminAction(i,this.currentCollege.id).subscribe(n=>{n.status?(this.toast.toast(n.message,3e3,"green"),this.reInitCount++,this.closeConfirmModal(!0),this.isMoreOption=null):this.toast.toast(n.message,3e3,"red"),this.initialCount=!0})}universitySelected(e){}parentUniversitySelected(e){console.log("parent university selected",e),this.onChangeForm()}assignParentUniversity(){this.tpoData.email=this.tpoData.email.trim().toLowerCase();let e=ee(j({},this.tpoData),{university_id:this.parentUniversity.id,assign_type:this.assignType});this.unstopTpoCollegesService.assignParentUniversity(this.currentCollege.id,e).subscribe(i=>{i.status?(this.toast.toast("University assigned successfully",3e3,"green"),this.reInitCount++,this.closeAssignPopup()):this.toast.toast(i.message,3e3,"red")})}onChangeForm(){this.isValidAssignForm=this.checkAssignFormValidity()}checkAssignFormValidity(){return!(!this.parentUniversity?.id||this.assignType=="new"&&!this.tpoData.make_same_admin&&(!this.nameRegex.test(this.tpoData.first_name)||this.tpoData.last_name.trim()&&!this.nameRegex.test(this.tpoData.last_name)||!this.helper.validateEmail(this.tpoData.email)))}onChangePaginationData(e){this.isPageLoading=!1,this.pageJumpTo=null,this.isLoading=!1,this.isMoreOption=null;for(let i of this.tpc_colleges)i.attached_colleges?.length&&i.attached_colleges.forEach(n=>{n.university_status=i.admin_status})}openDashboard(e){e?.view_only_mode?window.open(`/tpo/${e.id}/dashboard`,"_blank"):window.open(`/tpo/${e.id}/admin-settings`,"_blank")}openUniversityDashboard(e){window.open(`/tpo/${e.id}/dashboard`,"_blank")}sendAdminInviteMail(e){console.log(e),this.unstopTpoCollegesService.sendAdminInvite(e.admin_id,e.id).subscribe(i=>{i.status&&this.toast.toast(i.message,3e3,"green")})}copyInvitedUrl(e){navigator.clipboard.writeText(e.invite_url).then(()=>{this.toast.toast("Invite URL copied to clipboard.",3e3,"green")})}onPageChange(e){setTimeout(()=>{this.isUniversityExpend=null},1e3)}get emptyNoDataText(){return this.tabType=="demo"?this.collegeType=="university"?"No university added yet":"No college added yet":this.collegeType=="university"?"No university have been archived yet":"No college have been archived yet"}onChangeAssignType(e){console.log(e,this.assignType),this.tpoData.make_same_admin=!1,this.parentUniversity=null,this.onChangeForm()}validateMobile(e){this.disableBtn=e}static{this.\u0275fac=function(i){return new(i||t)(z(Le),z(Be),z(We),z(G),z(ae),z(Xe),z(re))}}static{this.\u0275cmp=q({type:t,selectors:[["app-unstop-tpo-colleges"]],hostBindings:function(i,n){i&1&&u("resize",function(h){return n.onWindowResize(h)},N)("scroll",function(h){return n.onWindowScroll(h)},N)},standalone:!1,features:[Ie([G])],decls:62,vars:25,consts:[["confirmationDialog",""],["assignUniversityTemplate",""],["pageTabs",""],["createBtn",""],["tpoAdminTemplate",""],["tpoDetailTemplate",""],["tpoDetailBox",""],["universityList",""],["collegesList",""],["collegeAvatarCard",""],["collegeTypeTab",""],["searchBtnTemplate",""],["searchInputTemplate",""],["sortByTemplate",""],["actionTemplate",""],["statusType",""],["statusTypeOption",""],["adminStatusTemplate",""],["archivedFromStatus",""],["pageLoader",""],["tabLoader",""],["collegeTabLoader",""],["noDataFound",""],["emptyArchivedList",""],["first_name","ngModel"],["last_name","ngModel"],["email","ngModel"],[1,"container-full","mb-20"],[1,"page_title_links"],[1,"j-between","gap16"],[3,"ngTemplateOutlet"],[3,"ngTemplateOutlet",4,"ngIf"],[1,"page_container"],[4,"ngIf","ngIfElse"],[1,"mt-20"],[1,"mt-20",3,"valueChange","statsChange","responseAllData","pageChange","displayStats","displayJumpTo","pageJumpTo","perPageResult","pagingStrategy","returnFieldName","resultUrl","value","searchTerm","reinitCount","queryParams","queryString","shadowNone","blackColor"],[4,"ngIf"],[1,"j-between"],["class","list_header_ttl",4,"ngIf"],[1,"align-center"],[1,"list_header_ttl"],[1,"university_list","mt-20"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"onClose","onConfirm","dialogType","college"],[3,"onClose","createCollegeType","tabType","currentCollege"],[1,"option_list_modal"],["asBtn","","rounded","full","class","sort_btn mr-5",3,"unTooltip","tooltipPosition","noTip","icon","size","bgSize","color","bg","borderColor","click",4,"ngIf"],["class","asign_uni align-center",3,"click",4,"ngIf"],[3,"size","position","fontColor","closeModal",4,"ngIf"],["asBtn","","rounded","full",1,"sort_btn","mr-5",3,"click","unTooltip","tooltipPosition","noTip","icon","size","bgSize","color","bg","borderColor"],[1,"asign_uni","align-center",3,"click"],[3,"icon","color","size"],[3,"closeModal","size","position","fontColor"],[1,"j-between","full-width"],["asBtn","","rounded","full",3,"click","unTooltip","tooltipPosition","noTip","icon","size","bgSize","color","bg"],[1,"assign_university_mdl"],[1,"box_assignee","mb-20"],[1,"avatar_card","d-flex"],[3,"shape","padding","borderRadius","bgColor","textColor","borderWidth","borderColor","imageUrl","name","size"],[1,"cptn","full-width","ml-10"],[1,"title","pr-10"],["type","border","iconPosition","","radioStyle","''","alignForMobile","top",3,"ngModelChange","change","ngModel"],[3,"value","checked"],[1,"tpo_college_fields","mt-20"],["unButtonBorder","",3,"click"],["unButton","",3,"click","disabled"],[1,"admin_type","mt-10","pt-10","pr-10"],[1,"sub_title","mt-5","align-center","pr10"],["class","single-wrap",4,"ngIf"],[1,"single-wrap"],[1,"input_fields_bdr","mb-20"],["id","university",3,"organisationChange","organisationSelected","newOrganisationAdded","organisation","fillAfterSelect","pageSource","placeHolder","filters","fetchUrl","fixedCreateBtn"],[1,"align-center","hdng_3"],[1,"ml-5",3,"unTooltip","tooltipPosition","icon","size","color"],["size","medium",1,"mb-15",3,"ngModelChange","type","iconPosition","ngModel"],[1,"row","flex_end"],[1,"col","s12","m6"],["type","text","id","first_name","name","first_name","required","","pattern","^[a-zA-Z .]*$","placeholder","Enter First Name",3,"ngModelChange","ngModel"],["class","error",4,"ngIf"],["type","text","id","last_name","name","last_name","placeholder","Enter Last Name","pattern","^[a-zA-Z .]*$",3,"ngModelChange","ngModel"],["type","email","name","email","id","email","placeholder","Enter Email","required","","pattern","^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$",3,"ngModelChange","ngModel"],["for","name"],[3,"valueChange","verifyingValue","name","classString","value"],[1,"error"],["id","university_existing",3,"organisationChange","organisationSelected","newOrganisationAdded","organisation","fillAfterSelect","pageSource","placeHolder","filters","fetchUrl","fixedCreateBtn","allowAddNew","showFixedBtn"],[1,"mt-20",3,"type","theme","hideIcon","closeIcon"],[1,"un_tabs","align-center"],[3,"click"],["unButton","",1,"ml-5",3,"click","unButtonSmall"],[1,"position-relative"],["asBtn","","rounded","full",1,"ml-10",3,"click","unTooltip","tooltipPosition","noTip","icon","bgSize","size","color","bg","borderColor"],["class","modal_right_bg option_list_bg",3,"transparent","click",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[1,"modal_right_bg","option_list_bg",3,"click"],[1,"tpo_dsc_popup",3,"ngStyle"],[1,"dsc_body"],[1,"avatar_card","d-flex","flex-column"],[1,"cptn","mt-10","full-width","ml-0"],[1,"title"],["class","sub_title mt-5 align-center single-wrap",4,"ngIf"],["class","mt-5",4,"ngIf"],["class","dsc_footer j-between",4,"ngIf"],[1,"sub_title","mt-5","align-center","single-wrap"],[1,"mt-5"],[1,"dsc_footer","j-between"],["unButtonFlat","","unButtonCircle","",3,"click"],[3,"icon","size","color"],["asBtn","","rounded","full",3,"click","unTooltip","tooltipPosition","noTip","icon","size","bgSize","color","bg","borderColor"],["class","university_box",4,"ngFor","ngForOf"],[1,"university_box"],[1,"box_header"],[1,"cptn"],[1,"title","single-wrap",3,"unTooltip","tooltipPosition"],[1,"sub_title","d-flex","flex-column"],["class","align-center",4,"ngIf"],["asBtn","","rounded","full","class","mr-5",3,"unTooltip","tooltipPosition","noTip","icon","size","bgSize","color","bg","borderColor","click",4,"ngIf"],["asBtn","","rounded","full",3,"unTooltip","tooltipPosition","noTip","icon","size","bgSize","color","bg","borderColor","click",4,"ngIf"],[3,"type","theme",4,"ngIf"],[1,"ml-5"],["asBtn","","rounded","full",1,"mr-5",3,"click","unTooltip","tooltipPosition","noTip","icon","size","bgSize","color","bg","borderColor"],[3,"type","theme"],["class","college_box",4,"ngIf"],[1,"college_box"],[3,"closeModal","position","mobileSlide"],[1,"align-center","overflow-hidden"],["class","back_btn j-center mr-10",3,"click",4,"ngIf"],[1,"head_title","single-wrap"],[1,"mobile_wrapper"],[1,"list_header_ttl","mb-10"],[1,"list_header_ttl","mb-10","mt-20"],["unButton","","unButtonCircle","",1,"ml-5",3,"click"],[1,"back_btn","j-center","mr-10",3,"click"],[3,"icon","size"],["class","unstop_table f12_black tb_radius no_lr_bdr",3,"mt-20",4,"ngIf"],["class","mobile_cards",4,"ngIf"],[1,"unstop_table","f12_black","tb_radius","no_lr_bdr"],[1,"bg25"],[1,"sticky-col","first",2,"width","320px"],["style","width: 210px;max-width: 210px;",4,"ngIf"],[2,"text-align","center","width","100px","min-width","100px"],["style","text-align: center; width: 165px;min-width: 165px;",4,"ngIf"],["style","text-align: center; width: 155px;min-width: 155px;",4,"ngIf"],[1,"sticky-col","last",2,"text-align","center","width","100px"],[4,"ngFor","ngForOf"],[2,"width","210px","max-width","210px"],[2,"text-align","center","width","135px","min-width","135px"],[2,"text-align","center","width","165px","min-width","165px"],[2,"text-align","center","width","155px","min-width","155px"],[1,"sticky-col","first"],[1,"font_black",2,"text-align","center"],["style","text-align: center","class","font_black",4,"ngIf"],["style","text-align: center",4,"ngIf"],[1,"sticky-col","last",2,"text-align","center"],[1,"align-center","font_black"],[2,"text-align","center"],[1,"j-center"],[1,"mobile_cards"],["class","card",4,"ngFor","ngForOf"],[1,"card"],[1,"pd_card"],[1,"card_header"],[1,"card_body"],["class","j-between",4,"ngIf"],[1,"card_footer","j-flex-end"],[3,"closeIconEffect","size","bgColor","textColor","close_icon"],[1,"un_circle_tabs","light_blue","align-center"],["asBtn","","rounded","full",3,"click","unTooltip","tooltipPosition","noTip","icon","bgSize","size","color","bg","borderColor"],["autocomplete","off",1,"mb-0",3,"ngModelChange","iconRightEvent","id","name","type","iconLeft","iconRight","size","rounded","placeholder","ngModel"],["class","option_list",3,"responsiveSlide",4,"ngIf"],[1,"option_list"],["class","option single-wrap j-between",3,"active","click",4,"ngFor","ngForOf"],[1,"option","single-wrap","j-between",3,"click"],[1,"check",3,"icon","size"],["class","option_list_modal",4,"ngIf"],["asBtn","","rounded","full",3,"unTooltip","tooltipPosition","noTip","icon","size","bgSize","color","bg","click",4,"ngIf"],["class","option_list",3,"responsiveSlide","pos_change",4,"ngIf"],[1,"option","single-wrap","align-center",3,"click"],[1,"mr-10",3,"icon","size"],["class","option single-wrap align-center",3,"click",4,"ngIf"],[1,"option_list_modal","status_filter"],["asBtn","","rounded","full","class","sort_btn",3,"icon","size","bgSize","color","bg","borderColor","click",4,"ngIf"],["unButtonBorder","","unButtonCircle","","unButtonIconRight","",3,"active","click",4,"ngIf"],["asBtn","","rounded","full",1,"sort_btn",3,"click","icon","size","bgSize","color","bg","borderColor"],["unButtonBorder","","unButtonCircle","","unButtonIconRight","",3,"click"],[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"mr-5",3,"icon","size","color"],[3,"closeIconEffect","size","bgColor","textColor","close_icon",4,"ngSwitchCase"],[3,"closeIconEffect","size","bgColor","textColor","close_icon",4,"ngIf"],[3,"type"],["class","no_data_table",4,"ngIf"],[1,"no_data_table"],[3,"type","cardTitle"],[1,"no_data_table","empty_data"],[3,"img","type","cardTitle"]],template:function(i,n){if(i&1){let s=y();p(0,"div",27)(1,"div",28)(2,"div",29)(3,"h2"),_(4," Manage Unstop Bridge "),l(),W(5,Yn,1,1,"ng-container",30),l(),d(6,Gn,1,1,"ng-container",31),l(),d(7,Zn,1,1,"ng-container",31),p(8,"section",32),d(9,ui,12,11,"ng-container",33),l(),p(10,"div",34)(11,"app-pagination",35),U("valueChange",function(w){return m(s),k(n.tpc_colleges,w)||(n.tpc_colleges=w),g(w)}),u("statsChange",function(w){return m(s),g(n.statsChange(w))})("responseAllData",function(w){return m(s),g(n.onChangePaginationData(w))})("pageChange",function(w){return m(s),g(n.onPageChange(w))}),l()()(),d(12,Ci,1,1,"ng-container",31)(13,xi,1,2,"ng-template",null,0,O)(15,fi,2,3,"ng-container",36)(16,Wi,4,3,"ng-template",null,1,O)(18,Ri,7,8,"
1ng-template",null,2,O)(20,Li,3,7,"ng-template",null,3,O)(22,Hi,1,1,"ng-template",null,4,O)(24,$i,4,16,"ng-template",null,5,O)(26,eo,10,22,"ng-template",null,6,O)(28,xo,1,1,"ng-template",null,7,O)(30,Io,2,2,"ng-template",null,8,O)(32,zo,7,20,"ng-template",null,9,O)(34,Ao,5,6,"ng-template",null,10,O)(36,Bo,1,13,"ng-template",null,11,O)(38,Wo,1,9,"ng-template",null,12,O)(40,Ho,4,17,"ng-template",null,13,O)(42,ea,4,3,"ng-template",null,14,O)(44,ra,5,4,"ng-template",null,15,O)(46,ga,7,7,"ng-template",null,16,O)(48,fa,5,5,"ng-template",null,17,O)(50,ya,2,2,"ng-template",null,18,O)(52,ba,1,1,"ng-template",null,19,O)(54,wa,1,2,"ng-template",null,20,O)(56,Ma,2,1,"ng-template",null,21,O)(58,Ea,3,2,"ng-template",null,22,O)(60,Ua,3,4,"ng-template",null,23,O)}if(i&2){let s=C(53);o(2),b("w-100",n.viewport=="mobile"&&!(n.tabType=="demo"&&n.totalCount==0)),o(3),R(n.viewport=="mobile"&&!(n.tabType=="demo"&&n.totalCount==0)?5:-1),o(),a("ngIf",n.viewport=="desktop"),o(),a("ngIf",n.viewport=="mobile"),o(2),a("ngIf",!n.isPageLoading)("ngIfElse",s),o(),b("d-none",n.totalColleges<=10||(n.tpc_colleges==null?null:n.tpc_colleges.length)<1),o(),a("displayStats",!0)("displayJumpTo",!0)("pageJumpTo",n.pageJumpTo)("perPageResult",10)("pagingStrategy","on")("returnFieldName","data")("resultUrl",n.url),E("value",n.tpc_colleges),a("searchTerm",n.searchTerm)("reinitCount",n.reInitCount)("queryParams",n.queryParams)("queryString",n.queryString)("shadowNone",!0)("blackColor",!0),o(),a("ngIf",n.showConfirmPopup!=null),o(3),a("ngIf",n.showCreateCollege)}},dependencies:[te,ne,$,Fe,ie,oe,_e,me,de,ue,ge,gt,le,pe,se,ce,he,ve,Y,J,nt,ot,Ye,$e,Ce,xe,fe,ye,st,be,bt,wt],styles:['@media (max-width: 1279px){.un-container[_ngcontent-%COMP%]{padding:0;max-width:calc(100% - 160px)}}@media (max-width: 1199px){.un-container[_ngcontent-%COMP%]{max-width:calc(100% - 100px)}}@media (max-width: 1024px){.un-container[_ngcontent-%COMP%]{max-width:calc(100% - 60px)}}@media (max-width: 991px){.un-container[_ngcontent-%COMP%]{max-width:100%}}.page_title_links[_ngcontent-%COMP%]{background-color:var(--surface-white);border-bottom:1px solid var(--stroke-primary);display:flex;align-items:center;height:70px}.page_title_links[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:var(--text-primary);font-size:20px;font-weight:500;line-height:24px;margin:0}@media (min-width: 992px){.page_title_links[_ngcontent-%COMP%] .un_tabs.no_bdr_btm[_ngcontent-%COMP%]{background-color:transparent;padding-left:41px;position:relative}.page_title_links[_ngcontent-%COMP%] .un_tabs.no_bdr_btm[_ngcontent-%COMP%]:before{content:"";background-color:var(--surface-primary);height:46px;width:1px;position:absolute;left:21px;top:12px}.page_title_links[_ngcontent-%COMP%] .un_tabs.no_bdr_btm[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--text-primary);display:flex;font-size:14px;font-weight:400;height:70px}.page_title_links[_ngcontent-%COMP%] .un_tabs.no_bdr_btm[_ngcontent-%COMP%] span.active[_ngcontent-%COMP%]{color:var(--text-blue);font-weight:500}}@media (max-width: 991px){.page_title_links[_ngcontent-%COMP%]{height:50px;padding:0 16px;margin:0 -16px}.page_title_links[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:16px}.page_title_links[_ngcontent-%COMP%] + .un_tabs[_ngcontent-%COMP%]{margin:0 -16px}.page_title_links[_ngcontent-%COMP%] + .un_tabs[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.page_title_links[_ngcontent-%COMP%] + .un_tabs[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-of-type{margin-left:16px}}.page_container[_ngcontent-%COMP%]{margin-top:20px}@media (max-width: 767px){.page_container[_ngcontent-%COMP%] .un_circle_tabs[_ngcontent-%COMP%]{margin:0 -15px 20px;padding:0 15px}}.avatar_card[_ngcontent-%COMP%] .cptn[_ngcontent-%COMP%]{overflow:hidden;margin-left:8px}.avatar_card[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{color:var(--text-primary);font-size:14px;font-weight:500;line-height:120%;text-transform:capitalize}.avatar_card[_ngcontent-%COMP%] .sub_title[_ngcontent-%COMP%]{color:var(--text-secondary);font-size:14px;line-height:120%;margin-top:4px}.university_list[_ngcontent-%COMP%] .university_box[_ngcontent-%COMP%] .avatar_card[_ngcontent-%COMP%] un-avatar[_ng
1content-%COMP%]{align-self:flex-start}.university_list[_ngcontent-%COMP%] .university_box[_ngcontent-%COMP%] .avatar_card[_ngcontent-%COMP%] .sub_title[_ngcontent-%COMP%]{margin-top:2px}@media (min-width: 992px){.university_list[_ngcontent-%COMP%] .university_box[_ngcontent-%COMP%]{border:1px solid var(--stroke-primary);border-radius:12px}.university_list[_ngcontent-%COMP%] .university_box[_ngcontent-%COMP%] .box_header[_ngcontent-%COMP%]{padding:16px}.university_list[_ngcontent-%COMP%] .university_box[_ngcontent-%COMP%] .box_header[_ngcontent-%COMP%] .avatar_card[_ngcontent-%COMP%]{max-width:calc(100% - 130px)}.university_list[_ngcontent-%COMP%] .university_box[_ngcontent-%COMP%]:not(:last-of-type){margin-bottom:10px}.university_list[_ngcontent-%COMP%] .university_box[_ngcontent-%COMP%] .college_box[_ngcontent-%COMP%]{border-top:1px solid var(--stroke-primary);padding:16px 16px 0}.university_list[_ngcontent-%COMP%] .university_box[_ngcontent-%COMP%] .college_box[_ngcontent-%COMP%] .avatar_card[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-weight:400}.university_list[_ngcontent-%COMP%] .university_box[_ngcontent-%COMP%] .college_box[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-of-type td[_ngcontent-%COMP%]{border-bottom:none}}@media (max-width: 991px){.university_list[_ngcontent-%COMP%]{border:1px solid var(--stroke-primary);border-radius:12px;padding:12px 16px}.university_list[_ngcontent-%COMP%] .university_box[_ngcontent-%COMP%] .avatar_card[_ngcontent-%COMP%]{max-width:calc(100% - 100px)}.university_list[_ngcontent-%COMP%] .university_box[_ngcontent-%COMP%] .avatar_card.empty[_ngcontent-%COMP%]{max-width:calc(100% - 94px)}.university_list[_ngcontent-%COMP%] .university_box[_ngcontent-%COMP%]:not(:last-of-type){margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid var(--stroke-primary)}}.university_list.no_bdr[_ngcontent-%COMP%]{border:none}.un_circle_tabs.light_blue[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--text-primary);border-color:var(--stroke-primary);height:40px}.un_circle_tabs.light_blue[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:hover{background-color:var(--grey-50)}.un_circle_tabs.light_blue[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:active{background-color:var(--surface-primary)}.un_circle_tabs.light_blue[_ngcontent-%COMP%] span.active[_ngcontent-%COMP%]{background-color:var(--blue-200);color:var(--text-primary);text-shadow:.1px 0px var(--text-primary)}.option_list_modal[_ngcontent-%COMP%]{position:relative}.option_list_modal[_ngcontent-%COMP%] .sort_btn.applyed[_ngcontent-%COMP%]:before{content:"";width:6px;height:6px;border-radius:50%;background-color:var(--red-700);position:absolute;top:11px;right:11px;z-index:1;box-sizing:content-box}.option_list_modal[_ngcontent-%COMP%] .sort_btn.asign.applyed[_ngcontent-%COMP%]:before{top:2px;right:10px}.option_list_modal[_ngcontent-%COMP%] .option_list[_ngcontent-%COMP%]{background-color:var(--surface-white);padding:6px;box-shadow:0 12px 48px #00000024;border-radius:4px;min-width:180px;max-width:300px;max-height:264px;overflow:hidden;overflow-y:auto;position:absolute;top:44px;right:0;z-index:999}.option_list_modal[_ngcontent-%COMP%] .option_list[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]{min-height:40px;padding:4px 12px;color:var(--text-primary);font-size:14px;cursor:pointer;border-radius:8px;transition:.3s;line-height:120%;text-align:left;position:relative;width:100%;font-weight:400}.option_list_modal[_ngcontent-%COMP%] .option_list[_ngcontent-%COMP%] .option[_ngcontent-%COMP%] un-icon.check[_ngcontent-%COMP%]{margin-left:20px;margin-right:0;visibility:hidden}.option_list_modal[_ngcontent-%COMP%] .option_list[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]:not(:last-of-type){margin-bottom:1px}.option_list_modal[_ngcontent-%COMP%] .option_list[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]:hover{background-color:var(--grey-50)}.option_list_modal[_ngcontent-%COMP%] .option_list[_ngcontent-%COMP%] .option.active[_ngcontent-%COMP%]{background-color:var(--blue-100)}.option_list_modal[_ngcontent-%COMP%] .option_list[_ngcontent-%COMP%] .option.active[_ngcontent-%COMP%] un-icon[_ngcontent-%COMP%]{visibility:visible}.option_list_modal[_ngcontent-%COMP%] .option_list[_ngcontent-%COMP%] .option.bin[_ngcontent-%COMP%]{color:var(--red-700)}.option_list_modal[_ngcontent-%COMP%] .option_list[_ngcontent-%COMP%] .option.bin[_ngcontent-%COMP%]:hover{background-color:var(--red-100)!important}@media (min-width: 768px){.option_list_modal[_ngcontent-%COMP%] .option_list.pos_change[_ngcontent-%COMP%]{top:auto;bottom:42px}}@media (max-width: 767px){.option_list_modal[_ngcontent-%COMP%] .option_list[_ngcontent-%COMP%]{width:100%;max-width:100%;position:fixed;max-height:80vh;bottom:0;top:auto!important;padding-bottom:30px;border-radius:8px 8px 0 0}}.option_list_modal[_ngcontent-%COMP%] button.active[_ngcontent-%COMP%]{border-color:var(--stroke-blue);background-color:var(--blue-100)}.status_filter[_ngcontent-%COMP%] .option_list[_ngcontent-%COMP%]:before, .status_filter[_ngcontent-%COMP%] .option_list[_ngcontent-%COMP%]:after{content:"";display:flex;align-items:center;height:34px;padding:4px 12px;color:var(--text-secondary);font-size:12px;line-height:120%;pointer-events:none;text-align:left;position:absolute;width:100%;border-top:1px solid var(--stroke-primary);border-radius:0}.status_filter[_ngcontent-%COMP%] .option_list[_ngcontent-%COMP%]:before{content:"TPO Status";top:52px;left:0}.status_filter[_ngcontent-%COMP%] .option_list[_ngcontent-%COMP%]:after{content:"College Status";bottom:46px;left:0}.status_filter[_ngcontent-%COMP%] .option_list[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]:first-of-type{margin-bottom:40px}.status_filter[_ngcontent-%COMP%] .option_list[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]:last-of-type{margin-top:40px}@media (min-width: 767px){.status_filter[_ngcontent-%COMP%] .option_list[_ngcontent-%COMP%]{max-height:380px}}@media (max-width: 767px){.status_filter[_ngcontent-%COMP%] .option_list[_ngcontent-%COMP%]:after{bottom:70px}}.tpo_dsc_popup[_ngcontent-%COMP%]{background-color:var(--surface-white);border:1px solid var(--stroke-primary);box-shadow:0 2px 20px #00000003;border-radius:12px;min-width:328px;max-width:350px;width:100%;z-index:999}.tpo_dsc_popup[_ngcontent-%COMP%] .dsc_body[_ngcontent-%COMP%]{padding:20px}.tpo_dsc_popup[_ngcontent-%COMP%] .avatar_card[_ngcontent-%COMP%]{max-width:100%!important}.tpo_dsc_popup[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:16px;font-weight:600}.tpo_dsc_popup[_ngcontent-%COMP%] .sub_title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--text-primary);font-size:12px;font-weight:400}.tpo_dsc_popup[_ngcontent-%COMP%] .sub_title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(:first-of-type):before{content:"|";color:var(--stroke-primary);margin:0 8px}.tpo_dsc_popup[_ngcontent-%COMP%] .dsc_footer[_ngcontent-%COMP%]{background-color:var(--grey-50);border-top:1px solid var(--stroke-primary);border-radius:0 0 12px 12px;padding:8px 10px}@media (max-width: 767px){.tpo_dsc_popup[_ngcontent-%COMP%]{top:auto!important;left:0!important;max-width:100%!important;bottom:0!important;border-radius:12px 12px 0 0!important}}.no_data_table[_ngcontent-%COMP%]{padding-top:64px}.no_data_table.empty_data[_ngcontent-%COMP%] .un_no_data img{max-width:100%!important}@media (max-width: 767px){.no_data_table[_ngcontent-%COMP%]{padding-top:32px}}.sticky-col.first[_ngcontent-%COMP%]{left:0}.sticky-col.last[_ngcontent-%COMP%]{right:0;max-width:100px!important}.unstop_table[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.unstop_table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{background-color:var(--blue-50)}.unstop_table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.first[_ngcontent-%COMP%]{background-image:linear-gradient(to right,#f2f8fe 90%,#f2f8fe00)}.unstop_table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.last[_ngcontent-%COMP%]{background-image:linear-gradient(to right,#f2f8fe00,#f2f8fe 10% 100%)}.unstop_table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td.first[_ngcontent-%COMP%]{background-image:linear-gradient(to right,#fff 90%,#fff0)}.unstop_table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td.last[_ngcontent-%COMP%]{background-image:linear-gradient(to right,#fff0,#fff 10% 100%)}.unstop_table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .unstop_table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{max-width:320px}@media (min-width: 992px){.unstop_table[_ngcontent-%COMP%]{overflow:unset}}@media (max-width: 767px){.unstop_table[_ngcontent-%COMP%]{margin:0;padding:0}.unstop_table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .unstop_table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{max-width:180px}}.mobile_cards[_ngcontent-%COMP%]{margin:-8px;display:flex;flex-wrap:wrap}.mobile_cards[_ngcontent-%COMP%] .pd_card[_ngcontent-%COMP%]{padding:12px;flex-grow:1}.mobile_cards[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{border-radius:12px;border:1px solid var(--stroke-primary);background-color:var(--surface-white);display:flex;flex-direction:column;flex:1;min-width:300px;position:relative;overflow:hidden}.mobile_cards[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:last-child{margin-bottom:0}.mobile_cards[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .card_header[_ngcontent-%COMP%]{border-bottom:.5px solid var(--stroke-primary);padding-bottom:12px;margin-bottom:12px}.mobile_cards[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .card_body[_ngcontent-%COMP%]{padding-top:0}.mobile_cards[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .card_body[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--text-primary);font-size:12px;font-weight:400;line-height:16px}.mobile_cards[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .card_body[_ngcontent-%COMP%] span.asign_uni[_ngcontent-%COMP%]{color:var(--text-blue)}.mobile_cards[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .card_body[_ngcontent-%COMP%] .j-between[_ngcontent-%COMP%]{align-items:flex-start}.mobile_cards[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .card_body[_ngcontent-%COMP%] .j-between[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:var(--text-primary);font-size:12px;line-height:16px;font-weight:500}.mobile_cards[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .card_body[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin-top:8px}.mobile_cards[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .card_body[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{margin-top:0}.mobile_cards[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .card_footer[_ngcontent-%COMP%]{background-color:var(--grey-50);padding:6px}@media (max-width: 991px){.mobile_cards[_ngcontent-%COMP%]{margin:0 -8px}.mobile_cards[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{margin:8px;max-width:calc(50% - 16px)}}@media (max-width: 767px){.mobile_cards[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{max-width:100%}}.tpo_college_fields[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:var(--text-primary);font-size:14px;font-weight:400;line-height:18px}.tpo_college_fields[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] input{color:var(--text-primary);font-size:14px;font-weight:400;line-height:18px}.tpo_college_fields[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] input::placeholder{color:var(--text-tertiary);font-weight:400}.tpo_college_fields[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] input:focus{border-color:var(--stroke-tertiary)}.floating_btn[_ngcontent-%COMP%]{position:fixed;bottom:32px;z-index:1;right:15px;width:auto;height:50px;padding-left:10px;padding-right:10px;white-space:nowrap;transition:.1s,font-size 0s}.floating_btn[_ngcontent-%COMP%] img{width:24px!important;height:24px!important}.floating_btn.round_btn[_ngcontent-%COMP%]{font-size:0;width:50px;gap:0;padding-left:0;padding-right:0}.floating_btn.round_btn[_ngcontent-%COMP%] .un-icon-container, .floating_btn.round_btn[_ngcontent-%COMP%] .btn-content{padding:0}.mobile_wrapper[_ngcontent-%COMP%]{padding-bottom:60px}.mobile_wrapper[_ngcontent-%COMP%] .mobile_cards[_ngcontent-%COMP%]{margin:-8px}.mobile_wrapper[_ngcontent-%COMP%] .tpo_dsc_popup[_ngcontent-%COMP%]{border-radius:12px!important}.assign_university_mdl[_ngcontent-%COMP%] .box_assignee[_ngcontent-%COMP%]{background-color:var(--grey-50);border-radius:8px;padding:12px 0 12px 12px}.assign_university_mdl[_ngcontent-%COMP%] .cptn[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{color:var(--text-primary);font-size:14px;font-weight:500;line-height:18px}.assign_university_mdl[_ngcontent-%COMP%] .cptn[_ngcontent-%COMP%] .admin_type[_ngcontent-%COMP%]{border-top:1px solid var(--stroke-primary);color:var(--text-primary);font-size:12px;font-weight:500;line-height:16px;margin-bottom:3px}.assign_university_mdl[_ngcontent-%COMP%] .cptn[_ngcontent-%COMP%] .sub_title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--text-secondary);font-size:12px;font-weight:500;line-height:16px}.assign_university_mdl[_ngcontent-%COMP%] .cptn[_ngcontent-%COMP%] .sub_title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(:first-of-type):before{content:"";background-color:var(--text-secondary);border-radius:50%;display:inline-block;margin:0 8px;height:3px;width:3px;vertical-align:middle}.assign_university_mdl[_ngcontent-%COMP%] .hdng_3[_ngcontent-%COMP%]{color:var(--text-primary);font-size:16px;font-weight:500;line-height:21px;margin-bottom:16px}.assign_university_mdl[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:var(--text-primary);font-size:12px;font-weight:400;line-height:16px}.assign_university_mdl[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] label.mt_4[_ngcontent-%COMP%]{margin-top:4px}.assign_university_mdl[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{color:var(--text-primary);font-size:14px;font-weight:400;transition:none}.assign_university_mdl[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{color:var(--text-tertiary)}.assign_university_mdl[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{border-color:var(--stroke-blue);outline:1px solid var(--stroke-blue)}.assign_university_mdl[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] input[type=email][_ngcontent-%COMP%]{text-transform:lowercase}.assign_university_mdl[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] input{color:var(--text-primary)!important;font-size:14px!important;font-weight:400!important;transition:none!important}.assign_university_mdl[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] input::placeholder{color:var(--text-tertiary)!important}.assign_university_mdl[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] input:focus{border-color:var(--stroke-blue)!important;outline:1px solid var(--stroke-blue)!important}.assign_university_mdl[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] app-organisation-autocomplete app-autocomplete .autocomplete-wrapper.input_field span:not(.ac-loader){font-size:10px!important;bottom:-14px!important;color:var(--text-error)!important;border-color:var(--stroke-error)!important}.assign_university_mdl[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] app-text-input-mobile .inline.input_fields_bdr{margin-bottom:0!important}.assign_university_mdl[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] .mat-button-wrapper{margin-right:10px}.assign_university_mdl[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] .country-selector{top:10px!important;width:70px;height:30px!important;border-right:1px solid var(--stroke-primary);background-position:47px center}.assign_university_mdl[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] .country-selector .country-selector-code{color:var(--text-primary)}.assign_university_mdl[_ng
1content-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] .country-selector .flag{display:none!important}.assign_university_mdl[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] ngx-mat-intl-tel-input.cdk-focused .ngx-mat-tel-input-container, .assign_university_mdl[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] ngx-mat-intl-tel-input.cdk-mouse-focused .ngx-mat-tel-input-container{border-color:var(--stroke-blue)!important;outline:1px solid var(--stroke-blue)!important}.assign_university_mdl[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] ngx-mat-intl-tel-input.cdk-focused .ngx-mat-tel-input-container input, .assign_university_mdl[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] ngx-mat-intl-tel-input.cdk-mouse-focused .ngx-mat-tel-input-container input{border:none!important;outline:none!important}.assign_university_mdl[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] ngx-mat-intl-tel-input input:not(.country-search){padding-left:65px}.assign_university_mdl[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] .ngx-mat-tel-input-container, .assign_university_mdl[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] .mat-mdc-select-trigger{font-weight:400}.assign_university_mdl[_ngcontent-%COMP%] .input_fields_bdr[_ngcontent-%COMP%] .mat-mdc-select-trigger .mat-mdc-select-placeholder{color:var(--text-tertiary);font-weight:400}.assign_university_mdl[_ngcontent-%COMP%] .input_fields_bdr.errors[_ngcontent-%COMP%] .ngx-mat-tel-input-container{border:1px solid var(--stroke-error)!important}.font_black[_ngcontent-%COMP%]{color:var(--grey-1100)!important}.w-100[_ngcontent-%COMP%]{width:100%}']})}}return t})();H();var Va=[{path:"",redirectTo:"live",pathMatch:"full"},{path:"live",component:we,data:{hideFooter:!0,tab:"live"}},{path:"demo",component:we,data:{hideFooter:!0,tab:"demo"}},{path:"archived",component:we,data:{hideFooter:!0,tab:"archived"}}],$r=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Ve({type:t})}static{this.\u0275inj=ke({imports:[[Re.forChild(Va)],ze,qe,Qe,ut,He,pt,lt,Ze,dt,Ne,Ke,Ct,it,tt,at,_t,Ge,Je,et,rt,mt,ct,be]})}}return t})();export{$r as UnstopTpoCollegesModule};
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.