PageSourceSearch

https://market.dynamind.co/4350.1e9d9ab46ac92d91.js

js dynamind.co collected 2026-09-24 11:16:23 UTC 611,460 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdynaminds=self.webpackChunkdynaminds||[]).push([[4350],{84350:(Ra,G,p)=>{p.r(G),p.d(G,{MentorsModule:()=>ka});var m=p(36895),u=p(1791),R=p(69728),e=p(94650),xe=p(46120),g=p(42680),E=p(33739),b=p(37865),C=p(97185),Y=p(89302),J=p(71019);function ve(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"span",39)(1,"span",40),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&a){const t=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(null==t?null:t.tagName)}}function Ce(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"span",37),e.\u0275\u0275template(1,ve,3,1,"span",38),e.\u0275\u0275elementEnd()),2&a){const t=l.$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","GRADE"===t.tagType)}}function be(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div"),e.\u0275\u0275element(1,"img",34),e.\u0275\u0275elementStart(2,"span",35),e.\u0275\u0275text(3,"Grade:"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(4,Ce,2,1,"span",36),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",t.assessmentDto.tags)}}function we(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"span")(1,"span",51),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&a){const t=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" Correct: ",t.marks," Marks ")}}function Se(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"span")(1,"span",52),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&a){const t=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" Incorrect: ",t.negativeMarks," Marks ")}}function Ae(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",53)(1,"button",54),e.\u0275\u0275element(2,"div",55),e.\u0275\u0275elementEnd()()),2&a){const t=l.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275property("innerHTML",null==t?null:t.answer,e.\u0275\u0275sanitizeHtml)}}function ye(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",44)(1,"div",45)(2,"span",46),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(4,"span",47),e.\u0275\u0275pipe(5,"safeHtml"),e.\u0275\u0275element(6,"div"),e.\u0275\u0275elementStart(7,"div",48),e.\u0275\u0275template(8,we,3,1,"span",17),e.\u0275\u0275template(9,Se,3,1,"span",17),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(10,"div",49),e.\u0275\u0275template(11,Ae,3,1,"div",50),e.\u0275\u0275elementEnd()()),2&a){const t=l.$implicit,i=l.index;e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",i+1," "),e.\u0275\u0275advance(1),e.\u0275\u0275property("innerHTML",e.\u0275\u0275pipeBind1(5,5,null==t?null:t.question),e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",null!=t.marks),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",null!=t.negativeMarks),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",t.options)}}function Me(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",41)(1,"div",42),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(3,ye,12,7,"div",43),e.\u0275\u0275elementEnd()),2&a){const t=l.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1("Section",null==t?null:t.sequence,""),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",null==t?null:t.questions)}}let Pe=(()=>{class a{constructor(t,i,n,s,o,d,r){this.platformId=t,this.activatedroute=i,this.loggedInUserService=n,this.apiService=s,this.toaster=o,this.router=d,this._assessmentService=r,this.selectedTeamID=[],this.shareTeam=new Te}ngOnInit(){if((0,m.NF)(this.platformId)){window.scrollTo(0,0);let n=JSON.parse(this.loggedInUserService.getLoggedInUser());n&&(this.loggedInUser=n),this.assessmentId=this.activatedroute.snapshot.queryParams.assessmentId,this.assessmentId&&this.getAssessmentById(this.assessmentId)}this.teamID=this.activatedroute.snapshot.queryParams.TeamId,console.log(this.teamID);let t=localStorage.getItem("teamID"),i=JSON.parse(t);this.selectedTeamID=i}getAssessmentById(t){this.apiService.getService(this.apiService.apiUrls.getAssessmentById+t).subscribe(i=>{if(i&&200==i.statusCode){if(this.assessmentDto=i.data,console.log(this.assessmentDto),g.iG.isValid(this.assessmentDto.sections))for(let n of this.assessmentDto.sections)if(g.iG.isValid(n.questions))for(let s of n.questions)if(s.question=this._assessmentService.assessmentQuestionImageChanges(s.question,this.apiService),s.parentQuestion=this._assessmentService.assessmentQuestionImageChanges(s.parentQuestion,this.apiService),g.iG.isValid(s.options))for(let o of s.options)o.answer=this._assessmentService.assessmentQuestionImageChanges(o.answer,this.apiService)}else this.toaster.show(i?.message,"Info")},i=>{401==i.status?(this.toaster.show(i.message?i.message:"Something Went Wrong","Warning"),
1(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):this.toaster.show(i?.error?.message,"Info")})}publishAssessment(){this.assessmentId?(this.publishAssessmentById(this.assessmentId),this.shareAssessmentWithTeam(),this.homePage()):this.toaster.show("Invalid Assessment","Warning")}editAssessment(){this.router.navigate(["/navigation-bar/v1/mentor/assessment/add-assessment"],{queryParams:{assessmentId:this.assessmentId,SelectedTab:"enableStep3Tab"}})}homePage(){null!=this.teamID?(console.log(this.teamID),this.router.navigate(["/navigation-bar/mentor/acadamy/header/teams-list"])):this.router.navigate(["/navigation-bar/mentor/assessments"],{queryParams:{something:"publishAssessment"}})}publishAssessmentById(t){this.apiService.getService(this.apiService.apiUrls.publishAssessmentById+t).subscribe(i=>{i&&200==i.statusCode?(this.assessmentDto=i.data,this.toaster.show(i?.message,"Success")):this.toaster.show(i?.message,"Info")},i=>{localStorage.clear(),this.apiService.handleApiError(i)})}getUserProfile(){return this.loggedInUser&&this.loggedInUser.profilePicture&&this.loggedInUser.profilePicture.filePreviewUrl?this.apiService.baseUrl+this.loggedInUser.profilePicture.filePreviewUrl:"./assets/user.png"}shareAssessmentWithTeam(){this.shareTeam.assessmentId=this.assessmentId,this.shareTeam.teams=this.selectedTeamID,this.apiService.postService(this.apiService.apiUrls.shareAssessmentInTeams,this.shareTeam).subscribe(t=>{this.toaster.show(t?.message,t&&200==t.statusCode?"Success":"Info")},t=>{localStorage.clear(),this.apiService.handleApiError(t)})}static#e=this.\u0275fac=function(i){return new(i||a)(e.\u0275\u0275directiveInject(e.PLATFORM_ID),e.\u0275\u0275directiveInject(u.gz),e.\u0275\u0275directiveInject(E.k),e.\u0275\u0275directiveInject(b.s),e.\u0275\u0275directiveInject(C._W),e.\u0275\u0275directiveInject(u.F0),e.\u0275\u0275directiveInject(Y.e))};static#t=this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-mentor-examination"]],viewQuery:function(i,n){if(1&i&&e.\u0275\u0275viewQuery(xe.I,5),2&i){let s;e.\u0275\u0275queryRefresh(s=e.\u0275\u0275loadQuery())&&(n.manageAssessment=s.first)}},decls:65,vars:8,consts:[[1,"row"],[1,"col-lg-2","col-md-2","col-xl-2","col-sm-12","col-xs-12",2,"margin-left","-20px"],[1,"card","cardChanges",2,"border-top-right-radius","50px !important","border-bottom-right-radius","50px !important"],[1,"card-body"],[1,"d-flex","justify-content-start"],["width","50","height","50",1,"img-fluid","rounded-circle",3,"src"],[1,"mt-4","ml-3"],[1,"col-lg-2","col-md-2","col-xl-2","col-sm-12","col-xs-12"],[1,"col-lg-4","col-md-4","col-xl-4","col-sm-12","col-xs-12","my-auto"],[1,"card","cardChanges1",2,"border-radius","50px !important"],[1,"d-flex","justify-content-center"],["src","./assets/headerlogo.png",1,"img-fluid",2,"height","80px"],[1,"col-lg-2","col-md-2","col-xl-2","col-sm-12","col-xs-12",2,"margin-left","20px"],[1,"card","cardChanges2",2,"border-top-left-radius","50px !important","border-bottom-left-radius","50px !important"],["src","./assets/examination/minutes.svg","alt","Minutes Icon",1,"img-fluid"],[1,"card"],[1,"d-flex","justify-content-between","font-weight-bold"],[4,"ngIf"],["src","./assets/examination/title.svg","alt","Title Icon",1,"img-fluid"],[1,"ml-1"],["src","./assets/examination/level.svg","alt","Level Icon",1,"img-fluid"],[2,"margin-left","10px !important"],[1,"card","mt-5"],[1,"card-body","pb-5"],[1,"col-md-2","col-lg-3","col-xl-2","col-xs-12","col-sm-12"],["src","./assets/examination/instruction.svg","alt","Instructions Icon",1,"img-fluid"],["id","formatted",1,"col-md-9","col-lg-9","col-xl-9","col-xs-12","col-sm-12"],[2,"list-style","none"],["class","mt-5 mb-5",4,"ngFor","ngForOf"],[1,"justify-content-end","mt-3","customCLasses"],[1,"btn","btn-outline-primary","buttonCustomClass","mr-3",3,"click"],["aria-hidden","true",1,"fa","fa-pencil"],[1,"btn","btn-outline-primary","buttonCustomClass",3,"click"],["aria-hidden","true",1,"fa","fa-upload"],["src","./assets/examination/grade.svg","alt","Grade Icon",1,"img-fluid"],[1,"ml-3"],["class","gradeClass",4,"ngFor","ngForOf"],[1,"gradeClass"],["class","ml-4","style","    position: relative;\n              right: 70px;\n              top: 24px;",4,"ngIf"],[1,"ml-4",2,"position","relative","right","70px","top","24px"],[1,"ml-2"],[1,"mt-5","mb-5"],[1,"font-weight-bold","m-3"],["class","card mb-3","style","padding: 10px 15px",4,"ngFor","ngForOf"],[1,"card","mb-3",2,"padding","10px 15px"],[1,"d-flex","justify-content-between"],[1,"sequence"],[1,"col-lg-6","col-xl-7","col-sm-12","col-xs-12","col-md-4",3,"innerHTML"],[1,"marksTotal","col-xl-5","col-lg-6","col-xs-12","col-sm-12","col-md-10"],[1,"row","mb-3"],["class","col-md-3",4,"ngFor","ngForOf"],[1,"CorrectMarks"],[1,"InCorrectMarks","ml-2"],[1,"col-md-3"],[1,"btn","btn-default","text-dark","btn-block","mr-5","border"],[3,"innerHTML"]],template:function(i,n){1&i&&(e.\u0275\u0275elementStart(0,"body")(1,"div",0)(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4),e.\u0275\u0275element(6,"img",5),e.\u0275\u0275elementStart(7,"p",6)(8,"b"),e.\u0275\u0275text(9),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275element(10,"div",7),e.\u0275\u0275elementStart(11,"div",8)(12,"div",9)(13,"div",3)(14,"div",10),e.\u0275\u0275element(15,"img",11),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275element(16,"div",7),e.\u0275\u0275elementStart(17,"div",12)(18,"div",13)(19,"div",3)(20,"div",10)(21,"p")(22,"b"),e.\u0275\u0275element(23,"img",14),e.\u0275\u0275text(24),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275elementStart(25,"div",15)(26,"div",3)(27,"div",16),e.\u0275\u0275template(28,be,5,1,"div",17),e.\u0275\u0275elementStart(29,"div"),e.\u0275\u0275element(30,"img",18),e.\u0275\u0275elementStart(31,"span",19),e.\u0275\u0275text(32,"Title:"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(33,"span")(34,"b"),e.\u0275\u0275text(35),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(36,"div"),e.\u0275\u0275element(37,"img",20),e.\u0275\u0275elementStart(38,"span",19),e.\u0275\u0275text(39,"Difficulty level:"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(40,"span",21)(41,"b"),e.\u0275\u0275text(42),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(43,"div",22)(44,"div",23)(45,"div",0)(46,"div",24),e.\u0275\u0275element(47,"img",25),e.\u0275\u0275elementStart(48,"span"),e.\u0275\u0275text(49," Instructions"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(50,"div",26)(51,"span")(52,"ol")(53,"li",27),e.\u0275\u0275text(54),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(55,Me,4,2,"div",28),e.\u0275\u0275element(56,"br")(
157,"br"),e.\u0275\u0275elementStart(58,"div",29)(59,"button",30),e.\u0275\u0275listener("click",function(){return n.editAssessment()}),e.\u0275\u0275element(60,"i",31),e.\u0275\u0275text(61," Edit "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(62,"button",32),e.\u0275\u0275listener("click",function(){return n.publishAssessment()}),e.\u0275\u0275element(63,"i",33),e.\u0275\u0275text(64," Publish "),e.\u0275\u0275elementEnd()()()),2&i&&(e.\u0275\u0275advance(6),e.\u0275\u0275property("src",n.getUserProfile(),e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(null==n.assessmentDto||null==n.assessmentDto.createdMentorUser?null:n.assessmentDto.createdMentorUser.fullName),e.\u0275\u0275advance(15),e.\u0275\u0275textInterpolate1(" ",null==n.assessmentDto?null:n.assessmentDto.durationInMinutes," Minutes "),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",n.assessmentDto&&n.assessmentDto.tags&&n.assessmentDto.tags.length>0),e.\u0275\u0275advance(7),e.\u0275\u0275textInterpolate(null==n.assessmentDto?null:n.assessmentDto.title),e.\u0275\u0275advance(7),e.\u0275\u0275textInterpolate(null==n.assessmentDto?null:n.assessmentDto.difficultLevel),e.\u0275\u0275advance(12),e.\u0275\u0275textInterpolate(null==n.assessmentDto?null:n.assessmentDto.instructions),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",n.assessmentDto.sections))},dependencies:[m.sg,m.O5,J.z],styles:[".cardChanges[_ngcontent-%COMP%]{margin:20px -15px;border-top-right-radius:100px;border-bottom-right-radius:100px;background:white;box-shadow:0 0 10px #8080807d}.cardChanges1[_ngcontent-%COMP%]{margin:20px 0;border-radius:100px;background:white;box-shadow:0 0 10px #8080807d}.cardChanges2[_ngcontent-%COMP%]{padding:15px 0;margin:20px -15px;border-top-left-radius:100px;border-bottom-left-radius:100px;background:white;box-shadow:0 0 10px #8080807d}.shadowclass[_ngcontent-%COMP%]{box-shadow:0 0 10px #8080807d}.row[_ngcontent-%COMP%]{margin:0;padding:0}.customClass[_ngcontent-%COMP%]{position:absolute;left:15.06%;font-style:normal;font-weight:700;font-size:16px;line-height:24px;color:#000;top:0}.buttonCustomClass[_ngcontent-%COMP%]{background:#ffffff!important;box-shadow:0 0 20px #8f8f8f03!important;width:124px!important;text-align:left!important;border:1px solid #fff!important;border:1px solid #c8c8c8!important;box-sizing:border-box!important;border-radius:4px!important;color:#666!important}.sequence[_ngcontent-%COMP%]{width:20px;height:20px;background:#298ECC;border-radius:25px;text-align:center;position:absolute;color:#fff;left:5px;top:14px;display:flex;justify-content:center;align-items:center}.customCLasses[_ngcontent-%COMP%]{background:#298ecc;width:300px;padding:15px;position:absolute;bottom:50px;right:0}.gradeClass[_ngcontent-%COMP%]{position:relative;bottom:23px;left:75px}.titlCLass[_ngcontent-%COMP%]{left:56px!important;position:relative;bottom:53px}.CorrectMarks[_ngcontent-%COMP%]{background:#689E1E;color:#fff;padding:10px 30px;border-bottom-left-radius:20px;border-bottom-right-radius:20px}.InCorrectMarks[_ngcontent-%COMP%]{background:#DB4940;color:#fff;padding:10px 30px;border-bottom-left-radius:20px;border-bottom-right-radius:20px}.marksTotal[_ngcontent-%COMP%]{position:relative;bottom:10px;font-weight:600;padding:10px 30px;border-bottom-left-radius:20px;border-bottom-right-radius:20px}#formatted[_ngcontent-%COMP%]{white-space:pre-wrap}"]})}return a})();class Te{}var De=p(42142),S=p(11481),K=p(14122);let Ee=(()=>{class a{constructor(t,i,n,s,o,d){this.apiService=t,this.activateroute=i,this.toaster=n,this.router=s,this.activatedroute=o,this.titleService=d,this.manageTab=!0,this.createTab=!1,this.titleService.setTitle("Dynamind Mentor Manage Assessment")}ngOnInit(){this.gotoTop()}gotoTop(){document.querySelector("#goUp").scrollIntoView()}onPopState(t){if(t){let i=window.location.pathname;i.includes("create")?this.tabSelected("create"):i.includes("manage")&&this.tabSelected("manage")}}tabSelected(t){t.assessmentId?(this.manageTab=!1,this.createTab=!0,this.router.navigate(["/navigation-bar/mentor/assessments/create"],{queryParams:{assessmentId:t.assessmentId}})):"manage"===t?(this.manageTab=!0,this.createTab=!1,this.router.navigate(["/navigation-bar/mentor/assessments/manage"])):("create"===t||this.getDataFromParams)&&
1(this.createTab=!0,this.manageTab=!1,this.router.navigate(["/navigation-bar/mentor/assessments/create"],{queryParams:{assessmentId:t.assessmentId}}))}static#e=this.\u0275fac=function(i){return new(i||a)(e.\u0275\u0275directiveInject(b.s),e.\u0275\u0275directiveInject(u.gz),e.\u0275\u0275directiveInject(C._W),e.\u0275\u0275directiveInject(u.F0),e.\u0275\u0275directiveInject(u.gz),e.\u0275\u0275directiveInject(S.Dx))};static#t=this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-mentors-assessments"]],hostBindings:function(i,n){1&i&&e.\u0275\u0275listener("popstate",function(o){return n.onPopState(o)},!1,e.\u0275\u0275resolveWindow)},decls:20,vars:0,consts:[["id","goUp",1,"d-block","d-sm-flex","d-md-flex","d-lg-flex","d-xl-flex","text-center","justify-content-between","headerBar"],[1,"navbar-expand-sm","bg-light","navbar-dark"],[1,"top-header"],[1,"d-block","d-sm-flex","d-md-flex","d-lg-flex","d-xl-flex","align-items-left","justify-content-left","align-items-md-left","align-items-lg-left","align-items-xl-left","justify-content-md-left","justify-content-lg-left","justify-content-xl-left"],[1,"card-body","p-0"],["id","navpills",1,"d-block","d-sm-flex","d-md-flex","d-lg-flex","d-xl-flex","nav","nav-tabs"],[1,"nav-item","mx-0","mx-lg-2","mx-xl-2","mx-md-2","mx-sm-2","mt-xl-0","mt-lg-0","mt-md-0","mt-sm-0","mt-3"],["routerLinkActive","active","routerLink","/navigation-bar/mentor/assessments/explore-assessment",1,"nav-link"],[1,"text-change"],["routerLinkActive","active","routerLink","/navigation-bar/mentor/assessments/manage",1,"nav-link"],["routerLinkActive","active","routerLink","/navigation-bar/mentor/assessments/create",1,"nav-link"]],template:function(i,n){1&i&&(e.\u0275\u0275element(0,"app-bread-crumb"),e.\u0275\u0275elementStart(1,"div",0)(2,"nav",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"ul",5)(7,"li",6)(8,"a",7)(9,"span",8),e.\u0275\u0275text(10,"Explore Assessments"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(11,"li",6)(12,"a",9)(13,"span",8),e.\u0275\u0275text(14,"Manage Assessments"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(15,"li",6)(16,"a",10)(17,"span",8),e.\u0275\u0275text(18,"Create Assessments"),e.\u0275\u0275elementEnd()()()()()()()()(),e.\u0275\u0275element(19,"router-outlet"))},dependencies:[u.lC,u.rH,u.Od,K.N],styles:[".nav-tabs[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], .nav-tabs[_ngcontent-%COMP%]   .show[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]{text-align:center;border-bottom:5px solid transparent!important;background:#03799C;border-radius:10px 10px 0 0;color:#fff!important;padding:7px 20px}.nav-tabs[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:not(.active){color:#8796a8!important;background:#ECECEC;border-radius:10px 10px 0 0;padding:9px 20px}@media screen and (min-width: 577px) and (max-width: 768px){.nav-tabs[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:not(.active){padding:7px 19px}}.nav-tabs[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{margin-bottom:0}@media screen and (min-width: 577px) and (max-width: 769px){.nav-tabs[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{margin-top:10px}}.text-change[_ngcontent-%COMP%]{font-weight:600;font-size:17px;letter-spacing:1px}@media screen and (min-width: 280px) and (max-width: 360px){.text-change[_ngcontent-%COMP%]{font-size:18px}}@media screen and (min-width: 576px) and (max-width: 767px){.text-change[_ngcontent-%COMP%]{font-size:17px}}.bg-light[_ngcontent-%COMP%]{background-color:#fff0!important}"]})}return a})(),Ie=(()=>{class a{constructor(){}ngOnInit(){}static#e=this.\u0275fac=function(i){return new(i||a)};static#t=this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-mentors-classroom"]],decls:2,vars:0,template:function(i,n){1&i&&(e.\u0275\u0275elementStart(0,"p"),e.\u0275\u0275text(1,"mentors-classroom works!"),e.\u0275\u0275elementEnd())}})}return a})();var I=p(55363),_=p(29847),w=p(25056),X=p(46338),Oe=p(89058),N=p(42946),O=p(89047),F=p(45227),Fe=p(88538);function ke(a,l){1&a&&e.\u0275\u0275element(0,"app-loader")}function Le(a,l){if(1&a&&e.\u0275\u0275element(0,"li",91),2&a){const t=l.index;e.\u0275\u0275classProp("active",0===t),e.\u0275\u0275attribute("data-sli
1de-to",t)}}function Re(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",92)(1,"div",93)(2,"div",94)(3,"h1",95),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"p",96),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"a",97)(8,"button",98),e.\u0275\u0275text(9),e.\u0275\u0275elementEnd()()()()()),2&a){const t=l.$implicit,i=l.index,n=e.\u0275\u0275nextContext();e.\u0275\u0275classProp("active",0===i),e.\u0275\u0275advance(1),e.\u0275\u0275styleProp("background-image","url("+n.apiService.baseUrl+t.fileData.filePreviewUrl+")"),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(t.title),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(t.subTitle),e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate("href",t.ctaLink,e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(t.ctaText)}}function Ne(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",104)(1,"a",97),e.\u0275\u0275element(2,"img",105),e.\u0275\u0275elementStart(3,"p",106),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd()()()),2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate("href",t.url,e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(1),e.\u0275\u0275property("src",i.quickLinkIcon(t),e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(1),e.\u0275\u0275property("title",t.title),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(t.title)}}function Ve(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div")(1,"div",99),e.\u0275\u0275element(2,"img",100),e.\u0275\u0275elementStart(3,"span",101),e.\u0275\u0275text(4,"Quick Links"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"div",102),e.\u0275\u0275template(6,Ne,5,4,"div",103),e.\u0275\u0275elementEnd()()),2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(6),e.\u0275\u0275property("ngForOf",t.getQuickLinkMentorData)}}function qe(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div",107),e.\u0275\u0275element(1,"app-neet-jee-section"),e.\u0275\u0275elementEnd())}function Ue(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",111)(1,"a",112),e.\u0275\u0275element(2,"img",105),e.\u0275\u0275elementStart(3,"p",106),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd()()()),2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate("href",t.url,e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(1),e.\u0275\u0275property("src",i.quickLinkIcon(t),e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(1),e.\u0275\u0275property("title",t.title),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(t.title)}}function ze(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",108)(1,"div",99),e.\u0275\u0275element(2,"img",109),e.\u0275\u0275elementStart(3,"span",101),e.\u0275\u0275text(4,"Follow Dynamind for latest updates"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"div",102),e.\u0275\u0275template(6,Ue,5,4,"div",110),e.\u0275\u0275elementEnd()()),2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(6),e.\u0275\u0275property("ngForOf",t.getSocialMediaLinks)}}const Be=function(a){return{background:a}};let Qe=(()=>{class a{constructor(t,i,n,s,o,d){this.apiService=t,this.toaster=i,this.titleService=n,this.loggedInUserService=s,this.router=o,this.platformId=d,this.interestAreaList=[],this.subjectList=[],this.subjectListDummy=[],this.allGrades=[],this.allSubjects=[],this.getDataRequest=new w.l,this.updateProfileRequest=new I.I,this.DashboardLinkRequestDto=new Oe.t,this.isLoading=!1,this.arrowsEnable=!0,this.getAssessmentDataRequest=new _.iE,this.getContactsSync=new X.R,this.findAssessmentListData=[],this.findAssessmentListNeetData=[],this.booleanValue=!1,this.totalPercentage=100,this.progressColor="linear-gradient(90deg, #10c69b 23.49%, #03799c 72.57%)",this.getBannersAll=[],this.getSocialMediaLinks=[],this.getQuickLinkMentorData=[],this.displayCarousel=!1,this.titleService.setTitle("Dynamind Mentor: Home")}ngOnInit(){this.getProgressBarData(),this.localStorageDummyData=(0,m.NF)(this.platformId)?JSON.parse(this.loggedInUserService.getLoggedInUser()):"",this.getGradeClassification=JSON.parse(localStorage.getItem("gradeClassification")),this.getDashboardLink(),this.getMetricsOnDashborads(),this.getAllBanners()}ngAfterViewInit(){$(".carousel").carousel()}getProgressBarData(){this.isLoading=!0,this.apiService.getService(this.apiService.apiUrls.getProgressBarData).subscribe(t=>{t&&200===t.statusCode&&t.data?(this.isLoading=!1,this.progressBarResponse=t.data,this.totalPercentage=this.totalPercentage-t.data):(this.isLoading=!1,this.toaster.show(t?.message,"Warning")),this.isLoading=!1},t=>{401==t.status?(this.isLoading=!1,this.toaster.show(t.message?t.message:"Something Went Wrong","Warning"),
1(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(t.error?.message,"Warning"))})}getManageAssessmentData(){this.isLoading=!0,this.getAssessmentDataRequest.pageSize=1e8,this.apiService.postService(this.apiService.apiUrls.getSpecialAssessmentData,this.getDataRequest).subscribe(t=>{this.isLoading=!1},t=>{401==t.status?(this.isLoading=!1,(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):this.isLoading=!1})}goTOOnlinePortal(){this.router.navigate(["/navigation-bar/mentor/online-portal"])}goTOAssessment(){this.router.navigate(["/navigation-bar/mentor/assessments"])}goTOOnBoard(){this.router.navigate(["/navigation-bar/mentor/your-mentee"])}goTodemoSchedule(){this.router.navigate(["/navigation-bar/mentor/demo-schedule"])}searchUser(){this.router.navigate(["/navigation-bar/v1/mentor/search_users"])}getMetricsOnDashborads(){this.isLoading=!0,this.apiService.getService(this.apiService.apiUrls.getMetricsOnDashborad).subscribe(t=>{t&&200==t.statusCode&&t.data?this.getMetricsOnDashborad=t.data:(this.isLoading=!1,this.toaster.show(t?.message,"Warning"))},t=>{401==t.status?(this.isLoading=!1,this.toaster.show(t.message?t.message:"Something Went Wrong","Warning"),(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(t.error?.message,"Warning"))})}quickLinkIcon(t){return t&&t.imageFileDataDto?this.apiService.baseUrl+t.imageFileDataDto.filePreviewUrl:"./assets/assessment-image.png"}get USER_ROLES(){return N.pR}getDashboardLink(){this.isLoading=!0,this.apiService.getService(this.apiService.apiUrls.getDashboardLink,this.DashboardLinkRequestDto).subscribe(t=>{t&&200==t.statusCode&&(this.getSocialMediaLinks=t.data.responseDtoMap.Media,this.getQuickLinkMentorData=t.data.responseDtoMap.MENTOR,this.isLoading=!1)},t=>{401==t.status?(this.isLoading=!1,this.toaster.show(t.message?t.message:"Something Went Wrong","Warning"),localStorage.clear(),window.location.href="/"):(this.isLoading=!1,this.toaster.show(t?.error?.message,"Info"))})}getAllBanners(){this.isLoading=!0,this.apiService.getService(this.apiService.apiUrls.getBannerForUser).subscribe(t=>{t&&200==t.statusCode?(this.getBannersAll=t?.data,this.isLoading=!1,this.displayCarousel=t?.data?.length>0&&this.localStorageDummyData?.userRole==N.pR.MENTOR):(this.isLoading=!1,this.toaster.show(t?.message,"Warning"))},t=>{401==t.status?(this.isLoading=!1,this.toaster.show(t.message?t.message:"Something Went Wrong","Warning"),(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(t.error?.message,"Warning"))})}static#e=this.\u0275fac=function(i){return new(i||a)(e.\u0275\u0275directiveInject(b.s),e.\u0275\u0275directiveInject(C._W),e.\u0275\u0275directiveInject(S.Dx),e.\u0275\u0275directiveInject(E.k),e.\u0275\u0275directiveInject(u.F0),e.\u0275\u0275directiveInject(e.PLATFORM_ID))};static#t=this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-mentors-dashboard"]],decls:155,vars:19,consts:[[4,"ngIf"],[1,"grow","ml-3"],["id","myCarousel","data-ride","carousel",1,"carousel","slide","my-5"],[1,"carousel-indicators"],["data-target","#myCarousel",3,"active",4,"ngFor","ngForOf"],[1,"carousel-inner"],["class","carousel-item",3,"active",4,"ngFor","ngForOf"],["href","#myCarousel","role","button","data-slide","prev",1,"carousel-control-prev","invisible"],["aria-hidden","true",1,"carousel-control-prev-icon"],[1,"sr-only"],["href","#myCarousel","role","button","data-slide","next",1,"carousel-control-next","invisible"],["aria-hidden","true",1,"carousel-control-next-icon"],[1,"d-flex","my-3"],["src","../../../assets/metricsImage.png",1,"img-fluid",2,"width","40px","height","40px"],[1,"resourcesDynamind"],[1,"row"],[1,"col-xl-3","col-lg-3","col-md-4","col-sm-6","col-12"],[1,"mentorbackgroundColor","d-flex","justify-content-between"],[1,"mentorTextColor","sofiaProRegular"],[1,"countStyle","sofiaProRegular"],[1,"mentorImageBackGround"],["src","/assets/mentorCountImage.png",1,"img-fluid",2,"width","50px","height","50px","padding","4px"],[1,"col-xl-3","col-lg-3","col-md-4","col-sm-6","col-12","mt-xl-0","mt-lg-0","mt-md-0","mt-sm-0","mt-3"],[1,"menteeBackgroun
1dColor","d-flex","justify-content-between"],[1,"menteeImageBackGround"],["src","/assets/menteeCountIMage.png",1,"img-fluid",2,"width","50px","height","50px","padding","4px"],[1,"col-xl-3","col-lg-3","col-md-4","col-sm-6","col-12","mt-xl-0","mt-lg-0","mt-md-0","mt-sm-3","mt-3"],[1,"assessmentBackgroundColor","d-flex","justify-content-between"],[1,"assessmentImageBackGround"],["src","/assets/AssessmentCountImage.png",1,"img-fluid",2,"width","50px","height","50px","padding","4px"],[1,"col-xl-3","col-lg-3","col-md-4","col-sm-6","col-12","mt-xl-0","mt-lg-0","mt-md-3","mt-sm-3","mt-3"],[1,"teamsBackgroundColor","d-flex","justify-content-between"],[1,"teamsImageBackGround"],["src","/assets/teamsCountImage.png",1,"img-fluid",2,"width","50px","height","50px","padding","4px"],["class","col-12 p-0",4,"ngIf"],[1,"row","mt-2"],[1,"col-lg-9"],[1,"col-lg-6","mt-4"],[1,"card","academy","my-academy-card"],[1,"card-body"],[1,"sofiaProMedium","my-academy"],[1,"text-center"],["src","../../../assets/myAcademy.svg","alt","",1,"myAcademyImage"],[1,"sofiaProLight","view-academy-details","mt-2"],[1,"d-block","d-sm-flex","justify-content-between","w-100","viewSearch"],[1,"btn","btn-search-users",3,"click"],["routerLink","/navigation-bar/mentor/acadamy/header/teachers",1,"btn","btn-view-academy","mt-3","mt-sm-0"],[1,"col-lg-6","mt-4","d-md-none","d-lg-block"],[1,"card","academy","dyna-space-card"],[1,"sofiaProMedium","on-board"],[1,"font-weight-bold"],[1,"sofiaProLight","card-details","onboardStudent"],[1,"row",2,"margin-top","3em"],[1,"col-12"],["src","./assets/dyna-space.png","alt","social network image",1,"img-fluid","onBoardImage"],["routerLink","/navigation-bar/mentor/acadamy/header/students",1,"btn","btn-onboard","btnAddStudent","w-100"],[1,"col-md-6","mt-4","d-none","d-md-block","d-lg-none"],[1,"col-md-6","col-lg-3","mt-4"],[1,"card","academy","sharePracticeTest"],[1,"row","px-0"],[1,"col-12","sofiaProMedium"],[1,"sharePractice"],[1,"col-12","text-right"],["src","../../../assets/shareStudent.svg","alt","social network image",1,"img-fluid","text-right","shareImgs"],[1,"col-12","sofiaProLight"],[1,"card-details","onboardStudents"],[1,"col-12","w-100","mt-3"],[1,"btn","btn-onboard","shareOnboard","w-100",3,"click"],[1,"col-md-6","mt-4",3,"click"],[1,"card","bg-card","p-md-3"],[1,"card-body","cards-body"],[1,"col-12","px-0","sofiaProMedium"],[1,"boost-visibility"],[1,"col-8"],[1,"position-relative"],[1,"sofiaProLight","card-details","buildingBrand"],[1,"profile-completeness"],[1,"complete-profile"],[1,"progress","progress-Bar"],["role","progressbar",1,"progress-bar",3,"ngStyle"],[2,"font-weight","bold","font-size","x-large"],[1,"complete-profiles","text-nowrap",2,"margin-top","1em"],["routerLink","/navigation-bar/mentor/website"],[1,""],["src","../../../assets/boostImage.png","alt","Internet",1,"img-fluid","worldImage"],[1,"col-md-6","mt-4"],[1,"card","bg-video-card"],[1,"card-body","sofiaProRegular","glimpse"],["controls","",1,"videohgt"],["src","https://dynamind-dev-bucket.s3.ap-south-1.amazonaws.com/video/School+Video++for+Teachers.mp4","type","video/mp4"],["class","mt-4",4,"ngIf"],["data-target","#myCarousel"],[1,"carousel-item"],[1,"backgroundImageForBanner"],[2,"padding","10px 30px"],[1,"bannerTitle","sofiaProBold"],[1,"bannerSubTile"],[3,"href"],[1,"ctaTextButton","sofiaProBold"],[1,"d-flex"],["src","/assets/quickLink.svg","alt",""],[1,"quickLinkTxt","ml-2","sofiaProMedium"],[1,"d-flex",2,"overflow-x","auto","flex","0 0 180px"],["class","cardAddBanner my-3 cardBorder mx-2 pointer",4,"ngFor","ngForOf"],[1,"cardAddBanner","my-3","cardBorder","mx-2","pointer"],["alt","","width","70px","height","70px",3,"src"],[1,"addBanner","sofiaProRegular","txt-ellips","mt-2",3,"title"],[1,"col-12","p-0"],[1,"mt-4"],["src","/assets/media-links.svg","alt",""],["class","cardAddBanner my-3 cardBorder mx-2",4,"ngFor","ngForOf"],[1,"cardAddBanner","my-3","cardBorder","mx-2"],["target","_blank",3,"href"]],template:function(i,n){1&i&&(e.\u0275\u0275template(0,ke,1,0,"app-loader",0),e.\u0275\u0275elementStart(1,"h2",1),e.\u0275\u0275text(2,"Grow your Teaching Business with Us."),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"div",2)(4,"ol",3),e.\u0275\u0275template(5,Le,1,3,"li",4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",5),e.\u0275\u0275template(7,Re,10,8,"div",6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"a",7),e.\u0275\u0275element(9,"span",8),e.\u0275\u0275elementStart(10,"span",9),e.\u0275\u0275text(11,"Previous"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"a",10),e.\u0275\u0275element(13,"span",11),e.\u0275\u0275elementStart(14,"span",9),e.\u0275\u0275text(15,"Next"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(16,Ve,7,1,"div",0),e.\u0275\u0275elementStart(17,"div",12),e.\u0275\u0275element(18,"img",13),e.\u0275\u0275elementStart(19,"h1",14),e.\u0275\u0275text(20," Ever Growing Dynamind Ecosystem "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(21,"div",15)(22,"div",16)(23,"div",17)(24,"div")(25,"p",18),e.\u0275\u0275text(26," Mentors "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(27,"p",19),e.\u0275\u0275text(28),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(29,"div",20),e.\u0275\u0275element(30,"img",21),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(31,"div",22)(32,"div",23)(33,"div")(34,"p",18),e.\u0275\u0275text(35," Mentees "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(36,"p",19),e.\u0275\u0275text(37),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(38,"div",24),e.\u0275\u0275element(39,"img",25),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(40,"div",26)(41,"div",27)(42,"div")(43,"p",18),e.\u0275\u0275text(44," Assessments "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(45,"p",19),e.\u0275\u0275text(46),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(47,"div",28),e.\u0275\u0275element(48,"img",29),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(49,"div",30)(50,"div",31)(51,"div")(52,"p",18),e.\u0275\u0275text(53," Cohorts "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(54,"p",19),e.\u0275\u0275text(55),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(56,"div",32),e.\u0275\u0275element(57,"img",33),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275template(58,qe,2,0,"div",34),e.\u0275\u0275elementStart(59,"div",35)(60,"div",36)(61,"div",15)(62,"div",37)(63,"div",38)(64,"div",39)(65,"h3",40),e.\u0275\u0275text(66,"My Academy allows you to view/add classrooms along with managing your connected Mentor and Mentee "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(67,"div",41),e.\u0275\u0275element(68,"img",42),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(69,"p",43),e.\u0275\u0275text(70,"View/Add Mentor or Mentee hassle free, Create classrooms for enhancing the learning journey of Mentee "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(71,"div",44)(72,"button",45),e.\u0275\u0275listener("click",function(){return n.searchUser()}),e.\u0275\u0275text(73,"Search Users"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(74,"button",46),e.\u0275\u0275text(75,"View Your Ac
1ademy"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(76,"div",47)(77,"div",48)(78,"div",39)(79,"h3",49),e.\u0275\u0275text(80,"On-board Mentee to your "),e.\u0275\u0275elementStart(81,"span",50),e.\u0275\u0275text(82,"Dyna-Space!"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(83,"p",51),e.\u0275\u0275text(84,"Onboard Mentee directly from your device or via email, and help them begin their exam preparations "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(85,"div",52)(86,"div",53),e.\u0275\u0275element(87,"img",54),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(88,"div")(89,"button",55),e.\u0275\u0275text(90,"Add Mentee"),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275elementStart(91,"div",56)(92,"div",48)(93,"div",39)(94,"h3",49),e.\u0275\u0275text(95,"On-board students to your "),e.\u0275\u0275elementStart(96,"span",50),e.\u0275\u0275text(97,"Dyna-Space!"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(98,"p",51),e.\u0275\u0275text(99,"Onboard students directly from your device or via email, and help them begin their exam preparations "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(100,"div",52)(101,"div",53),e.\u0275\u0275element(102,"img",54),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(103,"div")(104,"button",55),e.\u0275\u0275text(105,"Add Student"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(106,"div",57)(107,"div",58)(108,"div",39)(109,"div",59)(110,"div",60)(111,"h2",61),e.\u0275\u0275text(112,"Share practice test and assignments with your Mentee"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(113,"div",62),e.\u0275\u0275element(114,"img",63),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(115,"div",64)(116,"div",65),e.\u0275\u0275text(117,"Gain a competitive advantage by expanding your online presence "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(118,"div",66)(119,"button",67),e.\u0275\u0275listener("click",function(){return n.goTOAssessment()}),e.\u0275\u0275text(120,"Share"),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275elementStart(121,"div",15)(122,"div",68),e.\u0275\u0275listener("click",function(){return n.goTOOnlinePortal()}),e.\u0275\u0275elementStart(123,"div",69)(124,"div",70)(125,"div",71)(126,"h3",72),e.\u0275\u0275text(127,"Boosts visibility with your website"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(128,"div",15)(129,"div",73)(130,"div",74)(131,"p",75),e.\u0275\u0275text(132,"Expand your global reach by building your brand "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(133,"div",76)(134,"span",77),e.\u0275\u0275text(135," Profile completeness "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(136,"div",78)(137,"div",79)(138,"span",80),e.\u0275\u0275text(139),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(140,"div",81)(141,"a",82),e.\u0275\u0275text(142),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(143,"div",83),e.\u0275\u0275element(144,"img",84),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275elementStart(145,"div",85)(146,"div",86)(147,"div",87)(148,"b"),e.\u0275\u0275text(149,"A glimpse into your Dyna-Space"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(150,"video",88),e.\u0275\u0275element(151,"source",89),e.\u0275\u0275text(152," Your browser does not support the video tag. "),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(153,ze,7,1,"div",90),e.\u0275\u0275element(154,"app-footer")),2&i&&(e.\u0275\u0275property("ngIf",n.isLoading),e.\u0275\u0275advance(3),e.\u0275\u0275styleProp("display",n.displayCarousel?"block":"none"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",n.getBannersAll),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",n.getBannersAll),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",(null==n.localStorageDummyData?null:n.localStorageDummyData.userRole)==n.USER_ROLES.MENTOR&&n.getQuickLinkMentorData.length>0),e.\u0275\u0275advance(12),e.\u0275\u0275textInterpolate1(" ",null==n.getMetricsOnDashborad?null:n.getMetricsOnDashborad.mentorCount," "),e.\u0275\u0275advance(9),e.\u0275\u0275textInterpolate1(" ",null==n.getMetricsOnDashborad?null:n.getMetricsOnDashborad.menteeCount," "),e.\u0275\u0275advance(9),e.\u0275\u0275textInterpolate1(" ",null==n.getMetricsOnDashborad?null:n.getMetricsOnDashborad.assessmentCount," "),e.\u0275\u0275advance(9),e.\u0275\u0275textInterpolate1(" ",null==n.getMetricsOnDashborad?null:n.getMetricsOnDashborad.teamCount," "),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",!n.getGradeClassification||1==n.getGradeClassification),e.\u0275\u0275advance(79),e.\u0275\u0275styleProp("width",n.progressBarResponse+"%"),e.\u0275\u0275property("ngStyle",e.\u0275\u0275pureFunction1(17,Be,n.progressColor+" ")),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",n.progressBarResponse,"% "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",100!=n.progressBarResponse?"Complete your Profile Now !":"View Completed Profile"," "),e.\u0275\u0275advance(11),e.\u0275\u0275property("ngIf",(null==n.getSocialMediaLinks?null:n.getSocialMediaLinks.length)>0))},dependencies:[m.sg,m.O5,m.PC,u.rH,O.R,F.c,Fe.$],styles:[".nav-item[_ngcontent-%COMP%] > .active[_ngcontent-%COMP%]{border-bottom:2px solid #03799c}.main[_ngcontent-%COMP%]{background:linear-gradient(78.53deg,#FFBB55 -15.51%,#EF3A7B 150.35%);border-radius:20px}.my-academy-card[_ngcontent-%COMP%]{background:#FFFCE5;box-shadow:0 4px 20px #00000026;border-radius:20px}.academy[_ngcontent-%COMP%]{height:390px}.bg-card[_ngcontent-%COMP%]{box-shadow:2px 4px 20px #00000026;border-radius:10px;height:310px;border:none}.bg-card-share-practice[_ngcontent-%COMP%]{height:310px;background:rgba(3,121,156,.2);box-shadow:2px 4px 20px #00000026;border-radius:10px;border:none}.dyna-space-card[_ngcontent-%COMP%]{background:#DBF8F1;box-shadow:0 4px 20px #00000026;border-radius:20px}.videohgt[_ngcontent-%COMP%]{width:100%;border-radius:20px;margin-top:8px;height:238px;background-color:#c4c4c4}.videoAlignment[_ngcontent-%COMP%]{box-shadow:3px 4px 22px 2px #e5f1f5;border-radius:25px;margin:20px 0}.progress-Bar[_ngcontent-%COMP%]{height:30px!important;top:10px!important;border-radius:2em;background:#ffffff;box-shadow:0 4px 4px #00000040,inset 0 -4px 4px #00000040}.title-font[_ngcontent-%COMP%]{font-size:33px}.my-academy[_ngcontent-%COMP%]{font-weight:500;font-size:24px;line-height:37px;color:#1e3757}.view-academy-details[_ngcontent-%COMP%]{font-weight:400;font-size:16px;line-height:25px;color:#8796a8}.text[_ngcontent-%COMP%]{margin-left:-14px!important}.btn-search-users[_ngcontent-%COMP%]{background:#1E3757;border-radius:21.746px;font-weight:500;font-size:14px;line-height:22px;color:#fff;width:48%}.btn-view-academy[_ngcontent-%COMP%]{background:#03799C;border-radius:21.746px;font-weight:500;font-size:14px;line-height:22px;color:#fff;width:48%}.on-board[_ngcontent-%COMP%]{font-weight:500;font-size:24px;line-height:35px;color:#1e3757}
1.onboardStudent[_ngcontent-%COMP%], .onboardStudents[_ngcontent-%COMP%]{font-weight:400;font-size:16px;line-height:25px;color:#8796a8}.btn-onboard[_ngcontent-%COMP%]{background:#03799C;border-radius:21.746px;font-weight:500;font-size:14px;line-height:22px;color:#fff}.sharePractice[_ngcontent-%COMP%]{font-weight:500;font-size:24px;line-height:37px;color:#1e3757}.sharePracticeTest[_ngcontent-%COMP%]{background:#FFFFFF;box-shadow:0 4px 20px #00000026;border-radius:20px}.shareImgs[_ngcontent-%COMP%]{position:relative;top:-20px;width:157px}.bookbtn[_ngcontent-%COMP%]{font-size:17px;box-shadow:#00000059 0 5px 15px;text-decoration-line:underline;color:#03799c;padding:10px;border-radius:20px;border:none;cursor:pointer;font-weight:500}.bookDemo[_ngcontent-%COMP%]{font-size:20px;color:#03799c}.hiText[_ngcontent-%COMP%]{color:#1e3757;font-size:25px}.onBoardImage[_ngcontent-%COMP%]{height:60px!important;width:229px!important}.btnAddStudent[_ngcontent-%COMP%]{position:relative;bottom:-108px}.shareOnboard[_ngcontent-%COMP%]{position:relative;bottom:-34px}.boost-visibility[_ngcontent-%COMP%]{font-weight:500;font-size:32px;line-height:50px;color:#1e3757}.buildingBrand[_ngcontent-%COMP%]{font-weight:300;font-size:20px;line-height:30px;color:#1e3757}.worldImage[_ngcontent-%COMP%]{position:absolute;right:-240px;top:-37px}.complete-profile[_ngcontent-%COMP%]{font-weight:700;font-size:15px;line-height:48px;color:#03799c}.complete-profiles[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-weight:600;font-size:15px;line-height:48px;text-decoration-line:underline;color:#03799c}@media screen and (max-width: 1410px){.bookDemo[_ngcontent-%COMP%]{font-size:17px;color:#03799c}}@media screen and (max-width: 1110px){.title-font[_ngcontent-%COMP%]{font-size:32px}}@media screen and (min-width: 280px) and (max-width: 705px){.hiText[_ngcontent-%COMP%]{font-size:20px}.bookDemo[_ngcontent-%COMP%]{font-size:15px;color:#03799c}.title-font[_ngcontent-%COMP%]{font-size:24px}.complete-profile[_ngcontent-%COMP%]{white-space:nowrap}}.card[_ngcontent-%COMP%]{border:none!important}@media screen and (min-width: 1760px) and (max-width: 1913px){.progress-Bar[_ngcontent-%COMP%]{width:80%}}@media screen and (min-width: 1600px) and (max-width: 1760px){.worldImage[_ngcontent-%COMP%]{right:-220px;top:-8px;width:190px!important}}@media screen and (min-width: 1434px) and (max-width: 1600px){.worldImage[_ngcontent-%COMP%]{right:-190px;top:-8px;width:190px!important}}@media screen and (min-width: 1340px) and (max-width: 1433px){.view-academy-details[_ngcontent-%COMP%]{font-size:14px}.my-academy[_ngcontent-%COMP%]{font-size:22px}.worldImage[_ngcontent-%COMP%]{right:-190px;top:-8px;width:190px!important}}@media screen and (min-width: 1200px) and (max-width: 1339px){.view-academy-details[_ngcontent-%COMP%]{font-size:12px}.my-academy[_ngcontent-%COMP%]{font-size:19px}.worldImage[_ngcontent-%COMP%]{right:-185px;top:-13px;width:180px!important}}@media screen and (min-width: 1200px) and (max-width: 1339px) and (min-width: 1200px) and (max-width: 1299px){.boost-visibility[_ngcontent-%COMP%]{font-size:28px}}@media screen and (min-width: 1050px) and (max-width: 1199px){.view-academy-details[_ngcontent-%COMP%]{font-size:14px}.my-academy[_ngcontent-%COMP%]{font-size:21px}.btn-view-academy[_ngcontent-%COMP%]{padding:0}.academy[_ngcontent-%COMP%]{height:450px}.myAcademyImage[_ngcontent-%COMP%]{height:90px}.sharePractice[_ngcontent-%COMP%]{font-size:18px}.onboardStudents[_ngcontent-%COMP%]{font-size:13px}.shareOnboard[_ngcontent-%COMP%]{bottom:-45px}}@media screen and (min-width: 1050px) and (max-width: 1199px) and (min-width: 1114px) and (max-width: 1199px){.academy[_ngcontent-%COMP%]{height:420px}.shareOnboard[_ngcontent-%COMP%]{bottom:-11px}}@media screen and (min-width: 992px) and (max-width: 1049px){.view-academy-details[_ngcontent-%COMP%]{font-size:14px}.my-academy[_ngcontent-%COMP%]{font-size:21px}.btn-view-academy[_ngcontent-%COMP%]{padding:0;width:51%}.academy[_ngcontent-%COMP%]{height:450px}.myAcademyImage[_ngcontent-%COMP%]{height:90px}}@media screen and (min-width: 992px) and (max-width: 1049px) and (min-width: 992px) and (max-width: 999px){.shareOnboard[_ngcontent-%COMP%]{bottom:-9px}}@media screen and (min-width: 992px) and (max-width: 1049px) and (min-width: 1031px) and (max-width: 1049px){.shareOnboard[_ngcontent-%COMP%]{bottom:-31px}}@media screen and (min-width: 992px) and (max-width: 1049px) and (min-width: 1016px) and (max-width: 1030px){.shareOnboard[_ngcontent-%COMP%]{bottom:-1px}}@media screen and (min-width: 992px) and (max-width: 1049px) and (min-width: 1000px) and (max-width: 1015px){.shareOnboard[_ngcontent-%COMP%]{bottom:-11px}}@media screen and (min-width: 992px) and (max-width: 1049px) and (min-width: 992px) and (max-width: 1110px){.sharePractice[_ngcontent-%COMP%]{font-size:18px;line-height:33px}.onboardStudents[_ngcontent-%COMP%]{font-size:14px}.title-font[_ngcontent-%COMP%]{font-size:26px}}@media screen and (min-width: 1328px) and (max-width: 1496px){.btnAddStudent[_ng
1content-%COMP%]{bottom:-73px}}@media screen and (min-width: 1200px) and (max-width: 1327px){.btnAddStudent[_ngcontent-%COMP%]{bottom:-48px}}@media screen and (min-width: 1114px) and (max-width: 1199px){.btnAddStudent[_ngcontent-%COMP%]{bottom:-84px}}@media screen and (min-width: 1016px) and (max-width: 1113px){.btnAddStudent[_ngcontent-%COMP%]{bottom:-118px}}@media screen and (min-width: 992px) and (max-width: 1015px){.onboardStudent[_ngcontent-%COMP%]{font-size:14px}.btnAddStudent[_ngcontent-%COMP%]{bottom:-121px}}@media screen and (min-width: 1382px) and (max-width: 1502px){.onboardStudents[_ngcontent-%COMP%]{font-size:14px}}@media screen and (min-width: 1320px) and (max-width: 1381px){.onboardStudents[_ngcontent-%COMP%]{font-size:14px}.viewSearch[_ngcontent-%COMP%]{margin-top:0}}@media screen and (min-width: 1200px) and (max-width: 1319px){.sharePractice[_ngcontent-%COMP%]{font-size:19px}.shareImgs[_ngcontent-%COMP%]{width:124px}.shareOnboard[_ngcontent-%COMP%]{bottom:2px}}@media screen and (min-width: 1320px) and (max-width: 1791px){.shareOnboard[_ngcontent-%COMP%]{bottom:2px}}@media screen and (min-width: 576px) and (max-width: 646px){.btnAddStudent[_ngcontent-%COMP%]{bottom:-82px}}@media screen and (min-width: 576px) and (max-width: 646px) and (min-width: 576px) and (max-width: 646px){.my-academy[_ngcontent-%COMP%]{font-size:21px}.view-academy-details[_ngcontent-%COMP%]{font-size:14px}.onboardStudent[_ngcontent-%COMP%]{font-size:15px}}@media screen and (min-width: 411px) and (max-width: 521px){.onboardStudent[_ngcontent-%COMP%]{font-size:14px}.btnAddStudent[_ngcontent-%COMP%]{bottom:-80px}}@media screen and (min-width: 320px) and (max-width: 410px){.onboardStudent[_ngcontent-%COMP%]{font-size:14px}.btnAddStudent[_ngcontent-%COMP%]{bottom:-60px}.onboardStudents[_ngcontent-%COMP%]{font-size:14px}}@media screen and (min-width: 280px) and (max-width: 319px){.onboardStudent[_ngcontent-%COMP%]{font-size:14px}.on-board[_ngcontent-%COMP%]{font-size:22px}.btnAddStudent[_ngcontent-%COMP%]{bottom:-35px}.shareOnboard[_ngcontent-%COMP%]{bottom:-4px}.onboardStudents[_ngcontent-%COMP%]{font-size:14px}.shareImgs[_ngcontent-%COMP%]{width:140px}}@media screen and (min-width: 320px) and (max-width: 424px){.shareOnboard[_ngcontent-%COMP%]{bottom:-8px}}@media screen and (min-width: 280px) and (max-width: 575px){.btn-search-users[_ngcontent-%COMP%], .btn-view-academy[_ngcontent-%COMP%]{width:100%}.myAcademyImage[_ngcontent-%COMP%]{width:184px}.my-academy[_ngcontent-%COMP%]{font-size:18px}.view-academy-details[_ngcontent-%COMP%]{font-size:14px}}@media screen and (min-width: 280px) and (max-width: 575px) and (min-width: 393px) and (max-width: 446px){.my-academy[_ngcontent-%COMP%]{line-height:25px}}@media screen and (min-width: 280px) and (max-width: 575px) and (min-width: 336px) and (max-width: 392px){.my-academy[_ngcontent-%COMP%]{line-height:25px}.view-academy-details[_ngcontent-%COMP%]{line-height:20px}}@media screen and (min-width: 280px) and (max-width: 575px) and (min-width: 320px) and (max-width: 335px){.my-academy[_ngcontent-%COMP%]{line-height:25px;font-size:16px}.view-academy-details[_ngcontent-%COMP%]{line-height:20px}}@media screen and (min-width: 280px) and (max-width: 575px) and (min-width: 280px) and (max-width: 320px){.my-academy[_ngcontent-%COMP%]{line-height:25px;font-size:14px}.view-academy-details[_ngcontent-%COMP%]{font-size:12px;line-height:20px}}@media screen and (min-width: 768px) and (max-width: 991px){.btnAddStudent[_ngcontent-%COMP%]{bottom:-46px}.title-font[_ngcontent-%COMP%]{font-size:26px}.complete-profile[_ngcontent-%COMP%]{text-align:left!important;margin-top:.5rem!important;font-size:14px}.buildingBrand[_ngcontent-%COMP%]{font-size:14px}.cards-body[_ngcontent-%COMP%]{padding:.25rem!important}}@media screen and (min-width: 768px) and (max-width: 991px) and (min-width: 801px) and (max-width: 991px){.viewSearch[_ngcontent-%COMP%]{margin-top:45px}.shareOnboard[_ngcontent-%COMP%]{bottom:3px}}@media screen and (min-width: 768px) and (max-width: 991px) and (min-width: 963px) and (max-width: 991px){.shareOnboard[_ngcontent-%COMP%]{bottom:-35px}}@media screen and (min-width: 768px) and (max-width: 991px) and (min-width: 768px) and (max-width: 800px){.shareOnboard[_ngcontent-%COMP%]{bottom:-5px}
1.btnAddStudent[_ngcontent-%COMP%]{bottom:-30px}.complete-profile[_ngcontent-%COMP%]{font-size:13px!important}.title-font[_ngcontent-%COMP%]{font-size:23px}}@media screen and (min-width: 768px) and (max-width: 991px) and (min-width: 795px) and (max-width: 800px){.btnAddStudent[_ngcontent-%COMP%]{bottom:-53px}}@media screen and (min-width: 682px) and (max-width: 767px){.shareOnboard[_ngcontent-%COMP%]{bottom:-57px}}@media screen and (min-width: 300px) and (max-width: 340px){.cards-body[_ngcontent-%COMP%]{padding:.25rem!important}}@media screen and (min-width: 280px) and (max-width: 299px){.cards-body[_ngcontent-%COMP%]{padding:.25rem!important}.title-font[_ngcontent-%COMP%]{font-size:21px}.buildingBrand[_ngcontent-%COMP%]{font-size:15px}}@media screen and (min-width: 1913px) and (max-width: 2200px){.viewSearch[_ngcontent-%COMP%]{position:relative;top:0}.progress-Bar[_ngcontent-%COMP%]{width:80%}}.bg-video-card[_ngcontent-%COMP%]{background:rgba(0,225,172,.2);box-shadow:2px 4px 20px 2px #0000001a;border-radius:10px}.glimpse[_ngcontent-%COMP%]{font-weight:700;font-size:20px;line-height:21px;color:#1e3757}@media screen and (min-width: 280px) and (max-width: 380px){.glimpse[_ngcontent-%COMP%]{font-size:17px}}@media screen and (min-width: 1100px) and (max-width: 1199px){.worldImage[_ngcontent-%COMP%]{right:-178px;top:-8px;width:175px!important}.boost-visibility[_ngcontent-%COMP%]{font-size:25px}}@media screen and (min-width: 992px) and (max-width: 1099px){.worldImage[_ngcontent-%COMP%]{right:-156px;top:-8px;width:150px!important}.boost-visibility[_ngcontent-%COMP%]{font-size:22px;line-height:27px}.buildingBrand[_ngcontent-%COMP%]{margin-bottom:0rem}.complete-profiles[_ngcontent-%COMP%]{margin-top:.2em!important}}@media screen and (min-width: 768px) and (max-width: 991px){.worldImage[_ngcontent-%COMP%]{right:-130px;top:-1px;width:140px!important}.boost-visibility[_ngcontent-%COMP%]{font-size:22px;line-height:27px}.buildingBrand[_ngcontent-%COMP%]{margin-bottom:0rem}.complete-profiles[_ngcontent-%COMP%]{margin-top:.2em!important}}@media screen and (min-width: 768px) and (max-width: 991px) and (min-width: 768px) and (max-width: 930px){.worldImage[_ngcontent-%COMP%]{right:-118px;top:13px;width:113px!important}}@media screen and (min-width: 576px) and (max-width: 767px){.boost-visibility[_ngcontent-%COMP%]{font-size:24px}.worldImage[_ngcontent-%COMP%]{right:-148px;top:15px;width:150px}}@media screen and (min-width: 450px) and (max-width: 575px){.boost-visibility[_ngcontent-%COMP%]{font-size:24px}.worldImage[_ngcontent-%COMP%]{right:-150px;top:15px;width:150px}}@media screen and (min-width: 350px) and (max-width: 449px){.boost-visibility[_ngcontent-%COMP%]{font-size:27px;line-height:30px}.buildingBrand[_ngcontent-%COMP%]{font-size:18px;line-height:24px}.worldImage[_ngcontent-%COMP%]{right:-103px;top:23px;width:123px}.profile-completeness[_ngcontent-%COMP%]{margin-top:15px}}@media screen and (min-width: 350px) and (max-width: 449px) and (min-width: 411px) and (max-width: 449px){.worldImage[_ngcontent-%COMP%]{right:-103px;top:23px;width:115px}}@media screen and (min-width: 310px) and (max-width: 349px){.boost-visibility[_ngcontent-%COMP%]{font-size:27px;line-height:30px}.buildingBrand[_ngcontent-%COMP%]{font-size:18px;line-height:24px}.worldImage[_ngcontent-%COMP%]{right:-96px;top:43px;width:113px}}@media screen and (min-width: 280px) and (max-width: 309px){.boost-visibility[_ngcontent-%COMP%]{font-size:27px;line-height:30px}.buildingBrand[_ngcontent-%COMP%]{font-size:16px;line-height:24px}.worldImage[_ngcontent-%COMP%]{right:-96px;top:46px;width:107px}}.quickLinkTxt[_ngcontent-%COMP%]{font-weight:400;font-size:20px;line-height:31px;color:#1e3757}.cardAddBanner[_ngcontent-%COMP%]{background:#ffffff;box-shadow:0 4px 20px #00000026;border-radius:10px;overflow-x:auto;flex:0 0 180px;height:115px;text-align:center;padding:6px;overflow-y:hidden}.cardBorder[_ngcontent-%COMP%]{border:1px solid #8796a8}.addBanner[_ngcontent-%COMP%]{color:#03799c;font-size:15px;margin-bottom:0}.txt-ellips[_ngcontent-%COMP%]{width:140px;display:inline-block}.mentorbackgroundColor[_ngcontent-%COMP%]{background:#FFF5DB;box-shadow:0 4px 20px #00000026;border-radius:10px;padding:20px 15px}
1.menteeBackgroundColor[_ngcontent-%COMP%]{background:#EAF4FF;box-shadow:0 4px 20px #00000026;border-radius:10px;padding:20px 15px}.assessmentBackgroundColor[_ngcontent-%COMP%]{background:#E6FDF4;box-shadow:0 4px 20px #00000026;border-radius:10px;padding:20px 15px}.teamsBackgroundColor[_ngcontent-%COMP%]{background:#DEE8FF;box-shadow:0 4px 20px #00000026;border-radius:10px;padding:20px 15px}.resourcesDynamind[_ngcontent-%COMP%]{font-weight:400;font-size:20px;line-height:31px;color:#1e3757;padding-top:10px;margin-left:15px}.mentorTextColor[_ngcontent-%COMP%]{font-weight:700;font-size:18px;line-height:16px;color:#03799c;margin-bottom:5px}.countStyle[_ngcontent-%COMP%]{font-weight:400;font-size:30px;line-height:46px;color:#03799c;margin-bottom:5px}.mentorImageBackGround[_ngcontent-%COMP%]{background:rgba(255,234,183,.9);border-radius:30px;padding:5px;width:60px;height:60px}.menteeImageBackGround[_ngcontent-%COMP%]{background:rgba(199,226,255,.9);border-radius:30px;padding:5px;width:60px;height:60px}.assessmentImageBackGround[_ngcontent-%COMP%]{background:rgba(162,230,213,.9);border-radius:30px;padding:5px;width:60px;height:60px}.teamsImageBackGround[_ngcontent-%COMP%]{background:rgba(179,202,255,.9);border-radius:30px;padding:5px;width:60px;height:60px}.grow[_ngcontent-%COMP%]{font-weight:400;font-size:32px;line-height:50px;color:#1e3757}.backgroundImageForBanner[_ngcontent-%COMP%]{background-position:50% 50%;background-repeat:no-repeat;background-size:cover;width:100%;border-radius:20px;border:1px solid #1e3757}  .carousel-indicators li{position:relative!important;right:0!important;left:0!important;bottom:-50px!important;width:9px!important;height:10px!important;border-radius:30px!important;padding:0!important;margin-right:3px!important;margin-left:6px!important;cursor:pointer!important;background:#C4C4C4!important;background-clip:padding-box!important;opacity:.9!important;transition:opacity 3s ease!important;border:none!important}  .carousel-indicators .active{background:#03799C!important;width:15px!important;height:15px!important;margin-top:-2px!important;border-radius:30px!important;border:none!important}.bannerTitle[_ngcontent-%COMP%]{font-size:40px;color:#fff}@media screen and (max-width: 576px){.bannerTitle[_ngcontent-%COMP%]{font-size:25px}}.bannerSubTile[_ngcontent-%COMP%]{font-size:24px;color:#fff;font-weight:500}@media screen and (max-width: 576px){.bannerSubTile[_ngcontent-%COMP%]{font-size:18px}}.ctaTextButton[_ngcontent-%COMP%]{background:#1E3757;border-radius:30px;font-size:18px;line-height:28px;color:#fff;text-align:center;padding:5px 50px;border:none}@media screen and (min-width: 280px) and (max-width: 400px){.ctaTextButton[_ngcontent-%COMP%]{width:100%;padding:0}}.defaultTitle[_ngcontent-%COMP%]{font-weight:800;font-size:29px;line-height:40px;color:#fff;margin-bottom:0rem!important}.defaultSubTitle[_ngcontent-%COMP%]{font-weight:500;font-size:24px;line-height:37px;color:#fff;margin-bottom:0rem!important}.imageForCreateTest[_ngcontent-%COMP%]{display:block;position:absolute;top:0;right:80px}"]})}return a})();var je=p(46012),He=p(60908),We=p(7059),Ge=p(3486),v=p(15439),Z=p(17031),$e=p(46390),ee=p(84207),V=p(16e3),f=p(84719),te=p(39676),ne=p(23056),ie=p(22883);function Ye(a,l){1&a&&e.\u0275\u0275element(0,"app-loader")}function Je(a,l){1&a&&e.\u0275\u0275element(0,"app-loader")}function Ke(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span")(1,"i",122),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.backToDashBoard())}),e.\u0275\u0275elementEnd()()}}function Xe(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div",123)(1,"div",124)(2,"div",125)(3,"h4",126),e.\u0275\u0275text(4,"No Records Found"),e.\u0275\u0275elementEnd()()()())}function Ze(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",129),e.\u0275\u0275element(1,"app-assessment-card",130),e.\u0275\u0275elementEnd()),2&a){const t=l.$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275property("assessment",t)}}function et(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"app-carousel",127),e.\u0275\u0275template(1,Ze,2,1,"div",128),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275property("carouselCells",t.carouselCells)("arrowsEnable",t.findAssessmentListData.length>4)("height",440),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.findAssessmentListData)}}function tt(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",133)(1,"div",134)(2,"div",135)(3,"span",136)(4,"b"),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(6,"span",137)(7,"span"),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd()()()()),2&a){const t=l.$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate("title",t.tagHierarchy),e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate("title",t.tagHierarchy),e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate("title",t.tagHierarchy),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(t.tagName),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1("(",t.tagHierarchy,")")}}function nt(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",131),e.\u0275\u0275template(1,tt,9,5,"div",132),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.verifiedStrengths)}}function it(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div",138)(1,"div",139)(2,"div",125)(3,"h3",140),e.\u0275\u0275text(4," No Verfied Strengths "),e.\u0275\u0275elementEnd()()()())}function st(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div",141),e.\u0275\u0275text(1," Please provide your Experience Details "),e.\u0275\u0275elementEnd())}function at(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",142)(1,"div",143),e.\u0275\u0275element(2,"img",144),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"div",145)(4,"div")(5,"h5",146),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"p",147),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"span",148),e.\u0275\u0275text(10),e.\u0275\u0275element(11,"span",149),e.\u0275\u0275text(12),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(13,"br"),e.\u0275\u0275elementStart(14,"p",147),e.\u0275\u0275text(15),e.\u0275\u0275elementEnd()()()()),2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",null==t?null:t.designation," "),e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate("title",null==t?null:t.organizationName),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null==t?null:t.organizationName," - "),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",null==(null==t?null:t.fromYear)?"N/A":null!=t&&t.fromYear?i.getExperienceDetailsValueFormat(null==t?null:t.fromYear,null==t?null:t.toYear):null==t?null:t.fromYear," "),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",i.experiencePeriod(null==t?null:t.experiencePeriod)," "),e.\u0275\u0275advance(2),e.\u0275\u0275propertyInterpolate("title",null==t?null:t.organizationAddress),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null==t?null:t.organizationAddress," ")}}function ot(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div",141),e.\u0275\u0275text(1," Please provide your Education details "),e.\u0275\u0275elementEnd())}function rt(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",150)(1,"div",151),e.\u0275\u0275element(2,"img",144),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"div",152)(4,"div")(5,"h5",146),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"span",148),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(9,"br"),e.\u0275\u0275elementStart(10,"p",147),e.\u0275\u0275text(11),e.\u0275\u0275elementEnd()()()()),2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",null==t?null:t.institutionName," "),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2(" ",null==t?null:t.fieldOfStudy,", ",null==(null==t?null:t.fromYear)?"N/A":i.getEducationalDetailsValueFormat(null==t?null:t.fromYear,null==t?null:t.toYear)," "),e.\u0275\u0275advance(2),e.\u0275\u0275propertyInterpolate("title",null==t?null:t.institutionAddress),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null==t?null:t.institutionAddress," - \xa0 ")}}function lt(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"button",159),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&a){const t=l.$implicit;e.\u0275\u0275propertyInterpolate1("title"," ",null==t?null:t.tagName,""),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null==t?null:t.tagName," ")}}function dt(a,l){if(1&a&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",155)(2,"div",156)(3,"h2",157)(4,"span"),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(6,lt,2,2,"button",158),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(t),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",i.getGradeAllData[t])}}function ct(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",153),e.\u0275\u0275template(1,dt,7,2,"ng-container",154),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.getGradeFirstData)}}function mt(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"button",161),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&a){const t=l.$implicit;e.\u0275\u0275propertyInterpolate1("title"," ",null==t?null:t.tagName,""),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null==t?null:t.tagName," ")}}function pt(a,l){if(1&a&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",155)(2,"div",156)(3,"h2",157)(4,"span"),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(6,mt,2,2,"button",160),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(t),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",i.getSubjectAllData[t])}}function ht(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",153),e.\u0275\u0275template(1,pt,7,2,"ng-container",154),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.getSubjectFirstData)}}function gt(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div",138)(1,"div",139)(2,"div",125)(3,"h4",140),e.\u0275\u0275text(4," No Records Found "),e.\u0275\u0275elementEnd()()()())}function ut(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",180),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(3);
1return e.\u0275\u0275resetView(n.removeUploadedPicture())}),e.\u0275\u0275text(1," Remove "),e.\u0275\u0275element(2,"i",200),e.\u0275\u0275elementEnd()}}function ft(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div"),e.\u0275\u0275text(1," fieldOfStudy is required. "),e.\u0275\u0275elementEnd())}function _t(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",217),e.\u0275\u0275template(1,ft,2,0,"div",0),e.\u0275\u0275elementEnd()),2&a){e.\u0275\u0275nextContext();const t=e.\u0275\u0275reference(9);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.errors.required)}}function xt(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div")(1,"div",201)(2,"a",202),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).index,o=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(o.removeItemFromList("Education",s))}),e.\u0275\u0275text(3,"X"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"div",203)(5,"div",167)(6,"label",204),e.\u0275\u0275text(7,"Field Of Study"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"input",205,206),e.\u0275\u0275listener("ngModelChange",function(n){const o=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275resetView(o.fieldOfStudy=n)})("blur",function(){const s=e.\u0275\u0275restoreView(t).index,o=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(o.trimSpacesForEducationDetails(s))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(10,_t,2,1,"div",207),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"div",170)(12,"label",208),e.\u0275\u0275text(13,"Institution Address"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"input",209),e.\u0275\u0275listener("ngModelChange",function(n){const o=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275resetView(o.institutionAddress=n)})("blur",function(){const s=e.\u0275\u0275restoreView(t).index,o=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(o.trimSpacesForEducationDetails(s))}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(15,"div",203)(16,"div",167)(17,"label",210),e.\u0275\u0275text(18,"From Year"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(19,"input",211),e.\u0275\u0275listener("keydown",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(n.methodForManualDate())})("ngModelChange",function(n){const o=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275resetView(o.fromYear=n)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(20,"div",170)(21,"label",212),e.\u0275\u0275text(22,"To Year"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"input",213),e.\u0275\u0275listener("keydown",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(n.methodForManualDate())})("ngModelChange",function(n){const o=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275resetView(o.toYear=n)}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(24,"div",203)(25,"div",214)(26,"label",215),e.\u0275\u0275text(27,"Institution Name"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(28,"input",216),e.\u0275\u0275listener("ngModelChange",function(n){const o=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275resetView(o.institutionName=n)})("blur",function(){const s=e.\u0275\u0275restoreView(t).index,o=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(o.trimSpacesForEducationDetails(s))}),e.\u0275\u0275elementEnd()()()()}if(2&a){const t=l.$implicit,i=e.\u0275\u0275reference(9),n=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(8),e.\u0275\u0275property("ngModel",t.fieldOfStudy),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",i.invalid&&(i.dirty||i.touched)),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngModel",t.institutionAddress),e.\u0275\u0275advance(5),e.\u0275\u0275property("max",n.fromDateMax)("ngModel",t.fromYear),e.\u0275\u0275advance(4),e.\u0275\u0275property("max",n.fromDateMax)("ngModel",t.toYear),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngModel",t.institutionName)}}function vt(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div")(1,"div",201)(2,"a",202),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).index,o=e.\u0275\u0275nextContext(3);
1return e.\u0275\u0275resetView(o.removeItemFromList("Experience",s))}),e.\u0275\u0275text(3,"X"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"div",203)(5,"div",167)(6,"label",218),e.\u0275\u0275text(7,"Designation"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"input",219),e.\u0275\u0275listener("ngModelChange",function(n){const o=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275resetView(o.designation=n)})("blur",function(){const s=e.\u0275\u0275restoreView(t).index,o=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(o.trimSpacesForExperienceDetails(s))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"div",170)(10,"label",220),e.\u0275\u0275text(11,"Organization Address"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"input",221),e.\u0275\u0275listener("ngModelChange",function(n){const o=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275resetView(o.organizationAddress=n)})("blur",function(){const s=e.\u0275\u0275restoreView(t).index,o=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(o.trimSpacesForExperienceDetails(s))}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(13,"div",203)(14,"div",167)(15,"label",210),e.\u0275\u0275text(16,"From Year"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"input",211),e.\u0275\u0275listener("keydown",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(n.methodForManualDate())})("ngModelChange",function(n){const o=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275resetView(o.fromYear=n)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(18,"div",170)(19,"label",212),e.\u0275\u0275text(20,"To Year"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(21,"input",213),e.\u0275\u0275listener("keydown",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(n.methodForManualDate())})("ngModelChange",function(n){const o=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275resetView(o.toYear=n)}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(22,"div",203)(23,"div",214)(24,"label",222),e.\u0275\u0275text(25,"Organization Name"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(26,"input",223),e.\u0275\u0275listener("ngModelChange",function(n){const o=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275resetView(o.organizationName=n)})("blur",function(){const s=e.\u0275\u0275restoreView(t).index,o=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(o.trimSpacesForExperienceDetails(s))}),e.\u0275\u0275elementEnd()()()()}if(2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(8),e.\u0275\u0275property("ngModel",t.designation),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngModel",t.organizationAddress),e.\u0275\u0275advance(5),e.\u0275\u0275property("max",i.fromDateMax)("ngModel",t.fromYear),e.\u0275\u0275advance(4),e.\u0275\u0275property("max",i.fromDateMaxForExperieceDetails)("ngModel",t.toYear),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngModel",t.organizationName)}}function Ct(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",224),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(n.getUserProfileService("0"))}),e.\u0275\u0275text(1," Close "),e.\u0275\u0275elementEnd()}}function bt(a,l){1&a&&(e.\u0275\u0275elementStart(0,"button",225),e.\u0275\u0275text(1," Close "),e.\u0275\u0275elementEnd())}const wt=function(a){return{display:a}};function St(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",162)(1,"div",163)(2,"div",3)(3,"div",164)(4,"h3",165),e.\u0275\u0275text(5,"Mentor Edit Fields"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"button",6)(7,"span",166),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.fileToUpload=null)}),e.\u0275\u0275text(8,"\xd7"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(9,"div",98)(10,"div")(11,"div",38)(12,"div",167)(13,"label"),e.\u0275\u0275text(14,"First Name"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"input",168),e.\u0275\u0275listener("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);
1return e.\u0275\u0275resetView(s.userProfileDto.firstName=n)})("blur",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.trimDefaultValues())})("keypress",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.keyPressNumbers(n))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(16,"span",169),e.\u0275\u0275text(17,"*Max 35 characters"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(18,"div",170)(19,"label"),e.\u0275\u0275text(20,"Last Name"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(21,"input",171),e.\u0275\u0275listener("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.userProfileDto.lastName=n)})("blur",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.trimDefaultValues())})("keypress",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.keyPressNumbers(n))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(22,"span",169),e.\u0275\u0275text(23,"*Max 30 characters"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(24,"div",38)(25,"div",172)(26,"label"),e.\u0275\u0275text(27,"Profile Overview"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(28,"input",173),e.\u0275\u0275listener("blur",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.trimValuesForProfileOverView())})("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.userProfileDto.profileOverView=n)}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(29,"div",174)(30,"div",167)(31,"label",175),e.\u0275\u0275text(32,"Upload Profile Picture"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(33,"div",38)(34,"div",176),e.\u0275\u0275element(35,"img",177),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(36,"div",178)(37,"div",179)(38,"button",180),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275reference(51);return e.\u0275\u0275resetView(n.click())}),e.\u0275\u0275text(39," Browse "),e.\u0275\u0275element(40,"i",181),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(41,"div",38)(42,"div",179)(43,"span"),e.\u0275\u0275text(44),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(45,"div",182),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.fileToUpload=null)}),e.\u0275\u0275element(46,"i",183),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(47,"div",184),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(48,"div",185),e.\u0275\u0275template(49,ut,3,0,"button",186),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(50,"input",187,188),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275reference(51);return e.\u0275\u0275resetView(n.value=null)})("change",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.handleFileInput(n.target.files))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(52,"div",170)(53,"label"),e.\u0275\u0275text(54,"About"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(55,"div",189)(56,"textarea",190),e.\u0275\u0275listener("input",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.onInput(n))})("blur",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.trimDefaultValues())})("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.userProfileDto.about=n)})("keyup",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.maxlengthx())}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(57,"span",169),e.\u0275\u0275text(58,"*Max 250 words"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(59,"div",174)(60,"div",170)(61,"label"),e.\u0275\u0275text(62,"Email id"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(63,"input",191),e.\u0275\u0275listener("blur",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);
1return e.\u0275\u0275resetView(n.trimValuesForEmailId())})("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.userProfileDto.email=n)}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(64,"div",192)(65,"fieldset")(66,"div",193)(67,"div")(68,"legend",194),e.\u0275\u0275text(69,"Education Details"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(70,"div")(71,"a",195),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.addItemToList("Education"))}),e.\u0275\u0275text(72,"+Add"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(73,xt,29,8,"div",154),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(74,"fieldset")(75,"div",193)(76,"div")(77,"legend",194),e.\u0275\u0275text(78,"Experience Details"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(79,"div")(80,"a",195),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.addItemToList("Experience"))}),e.\u0275\u0275text(81,"+Add"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(82,vt,27,7,"div",154),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(83,"div",196),e.\u0275\u0275template(84,Ct,2,0,"button",197),e.\u0275\u0275template(85,bt,2,0,"button",198),e.\u0275\u0275elementStart(86,"button",199),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.updateMentorValues())}),e.\u0275\u0275text(87," Save "),e.\u0275\u0275elementEnd()()()()()}if(2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(15),e.\u0275\u0275property("ngModel",t.userProfileDto.firstName),e.\u0275\u0275advance(6),e.\u0275\u0275property("ngModel",t.userProfileDto.lastName),e.\u0275\u0275advance(7),e.\u0275\u0275property("ngModel",t.userProfileDto.profileOverView),e.\u0275\u0275advance(7),e.\u0275\u0275property("src",t.imageSrc||t.getUserProfile(),e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(9),e.\u0275\u0275textInterpolate1(" ",null==t.fileToUpload?null:t.fileToUpload.name," "),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngStyle",e.\u0275\u0275pureFunction1(13,wt,null!=t.fileToUpload&&t.fileToUpload.name?"inline-block":"none")),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",t.loggedInUser.profilePicture&&t.loggedInUser.userRole!=t.USER_ROLES.SYSTEM_ADMIN),e.\u0275\u0275advance(7),e.\u0275\u0275property("ngModel",t.userProfileDto.about),e.\u0275\u0275advance(7),e.\u0275\u0275property("ngModel",t.userProfileDto.email),e.\u0275\u0275advance(10),e.\u0275\u0275property("ngForOf",t.userProfileDto.educationDetails),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngForOf",t.userProfileDto.experienceDetails),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",t.loggedInUser.userRole==t.USER_ROLES.MENTOR),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.loggedInUser.userRole==t.USER_ROLES.SYSTEM_ADMIN)}}function At(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",233),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(o.selectedInterestArea(s))}),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()}if(2&a){const t=l.$implicit;e.\u0275\u0275propertyInterpolate1("title"," ",null==t.tagHierarchy?t.tagName:t.tagHierarchy,""),e.\u0275\u0275property("ngClass",t.selected?"trueClass":"falseClass"),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null==t?null:t.tagName,"")}}function yt(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",237),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext().$implicit,d=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(d.selectedSubject(s,o))}),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()}if(2&a){const t=l.$implicit;e.\u0275\u0275propertyInterpolate1("title"," ",t.tagName,""),e.\u0275\u0275property("ngClass",t.selected?"trueClass":"falseClass"),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",t.tagName," ")}}function Mt(a,l){if(1&a&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",38)(2,"div",156)(3,"h2",157)(4,"span"),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(6,yt,2,3,"button",236),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(t),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",i.getSubjectList[t])}}function Pt(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",234)(1,"p",235)(2,"b"),e.\u0275\u0275text(3,"Select your Subject :"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(4,Mt,7,2,"ng-container",154),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",t.getCountSubjectList)}}function Tt(a,l){}function Dt(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",226)(1,"div",163)(2,"div",3)(3,"div",164)(4,"h3",165),e.\u0275\u0275text(5,"Edit your interest areas"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"button",6)(7,"span",166),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);
1return e.\u0275\u0275resetView(n.fileToUpload=null)}),e.\u0275\u0275text(8,"\xd7"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(9,"div",98)(10,"p",227),e.\u0275\u0275text(11,"Select your Grade : "),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(12,At,2,3,"button",228),e.\u0275\u0275template(13,Pt,5,1,"div",229),e.\u0275\u0275template(14,Tt,0,0,"ng-template",null,230,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(16,"div",196)(17,"button",231),e.\u0275\u0275text(18," Close "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(19,"button",232),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.editInterestAreas())}),e.\u0275\u0275text(20," Save "),e.\u0275\u0275elementEnd()()()()()}if(2&a){const t=e.\u0275\u0275reference(15),i=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(12),e.\u0275\u0275property("ngForOf",i.interestAreaList),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",i.getCountSubjectList)("ngIfElse",t)}}function Et(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr",238)(1,"td",239)(2,"div",38)(3,"div",240)(4,"label",241)(5,"input",242),e.\u0275\u0275listener("ngModelChange",function(n){const o=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275resetView(o.isChecked=n)})("change",function(n){const o=e.\u0275\u0275restoreView(t).$implicit,d=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(d.selectedOne(o,n.target.checked))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(6,"span",243),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"div",244)(8,"span",245),e.\u0275\u0275text(9),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"div",246)(11,"span",247),e.\u0275\u0275text(12),e.\u0275\u0275elementEnd()()()()()()}if(2&a){const t=l.$implicit,i=l.index;e.\u0275\u0275advance(5),e.\u0275\u0275propertyInterpolate("name",i),e.\u0275\u0275propertyInterpolate("value",t.id),e.\u0275\u0275property("ngModel",t.isChecked),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1(" ",null==(null==t?null:t.fullName)||""==(null==t?null:t.fullName)?"":null==t?null:t.fullName," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",null==(null==t?null:t.userName)?null==t?null:t.email:null==t?null:t.userName," ")}}const It=function(){return["whatsapp"]},Ot=function(a){return{background:a}},Ft=function(){return{enableCreateAssessment:!0}};function kt(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"section")(1,"div",14)(2,"div",15)(3,"div",16)(4,"div",17),e.\u0275\u0275template(5,Ke,2,0,"span",0),e.\u0275\u0275element(6,"img",18),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(7,"div",19)(8,"div",20)(9,"div",21)(10,"div",22)(11,"button",23),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.enableImportContactModal())}),e.\u0275\u0275element(12,"img",24),e.\u0275\u0275text(13," Import Contacts "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"div",22)(15,"button",25),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.openEditPopUpModel(n.userProfileDto))}),e.\u0275\u0275element(16,"img",26),e.\u0275\u0275text(17," Edit Profile "),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(18,"div",27)(19,"div",28)(20,"div")(21,"span",29),e.\u0275\u0275text(22),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(23,"div",30),e.\u0275\u0275text(24),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(25,"div",31)(26,"p",32)(27,"span",33),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.navigateToFollowingPage("following"))}),e.\u0275\u0275text(28),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(29,"span",34),e.\u0275\u0275elementStart(30,"span",33),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();
1return e.\u0275\u0275resetView(n.navigateToFollowingPage("followers"))}),e.\u0275\u0275text(31),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(32,"div",35)(33,"button",36),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.searchUser())}),e.\u0275\u0275element(34,"i",37),e.\u0275\u0275text(35," Search Users "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(36,"div",38)(37,"div",39),e.\u0275\u0275text(38),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(39,"div",40)(40,"div",41)(41,"i",42),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.copyToClipboard(null==n.userProfileData?null:n.userProfileData.onlineProtalUrl))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275namespaceSVG(),e.\u0275\u0275elementStart(42,"svg",43),e.\u0275\u0275listener("click",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.shareProfile(n,null==s.userProfileData?null:s.userProfileData.onlineProtalUrl))}),e.\u0275\u0275element(43,"path",44),e.\u0275\u0275elementEnd(),e.\u0275\u0275namespaceHTML(),e.\u0275\u0275elementStart(44,"share-buttons",45),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.wtappshare())}),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(45,"div",46)(46,"div",47),e.\u0275\u0275text(47," Profile completeness "),e.\u0275\u0275elementStart(48,"div",48)(49,"div",49)(50,"span",50),e.\u0275\u0275text(51),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(52,"div",51)(53,"div",52),e.\u0275\u0275element(54,"div",53)(55,"img",54),e.\u0275\u0275elementStart(56,"span",55),e.\u0275\u0275text(57,"About "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(58,"div",56)(59,"p",57),e.\u0275\u0275text(60),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(61,"div",58)(62,"div",59)(63,"div",60),e.\u0275\u0275element(64,"img",61),e.\u0275\u0275elementStart(65,"span",55),e.\u0275\u0275text(66,"My Assessments "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(67,"div",62)(68,"span",63),e.\u0275\u0275text(69,"+ Add new"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(70,"div",64),e.\u0275\u0275template(71,Xe,5,0,"div",65),e.\u0275\u0275template(72,et,2,4,"app-carousel",66),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(73,"div",67),e.\u0275\u0275element(74,"img",68),e.\u0275\u0275elementStart(75,"span",55),e.\u0275\u0275text(76,"Dynamind Verified Strengths"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(77,nt,2,1,"div",69),e.\u0275\u0275template(78,it,5,0,"div",70),e.\u0275\u0275elementStart(79,"div",71)(80,"div",72)(81,"div",73),e.\u0275\u0275element(82,"i",74),e.\u0275\u0275elementStart(83,"span",55),e.\u0275\u0275text(84,"Experience "),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(85,st,2,0,"div",75),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(86,at,16,7,"div",76),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(87,"div",77)(88,"div",52),e.\u0275\u0275element(89,"img",78),e.\u0275\u0275elementStart(90,"span",55),e.\u0275\u0275text(91,"Education "),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(92,ot,2,0,"div",75),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(93,rt,12,5,"div",79),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(94,"div",80)(95,"div",81)(96,"div",82),e.\u0275\u0275element(97,"img",83),e.\u0275\u0275elementStart(98,"span",84),e.\u0275\u0275text(99,"Interest Areas "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(100,"div",85)(101,"button",86),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.openEditInterestAreaPopUpModel(n.userProfileDto))}),e.\u0275\u0275element(102,"i",87),e.\u0275\u0275text(103,"Edit"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(104,ct,2,1,"div",88),e.\u0275\u0275template(105,ht,2,1,"div",88),e.\u0275\u0275template(106,gt,5,
10,"div",70),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(107,St,88,15,"div",89),e.\u0275\u0275template(108,Dt,21,3,"div",90),e.\u0275\u0275elementStart(109,"div",91)(110,"div",92)(111,"div",93)(112,"div",94)(113,"p",95),e.\u0275\u0275text(114,"Connect with the People you know!!"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(115,"br"),e.\u0275\u0275elementStart(116,"button",96),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.emptyDataAfterClosingOfPopup())}),e.\u0275\u0275elementStart(117,"span",7),e.\u0275\u0275text(118,"\xd7"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(119,"p",97),e.\u0275\u0275text(120,"Import your contacts to connect with them on Dynamind"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(121,"div",98)(122,"div",99)(123,"div",100),e.\u0275\u0275element(124,"img",101),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(125,"div",102)(126,"button",103),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.execute())}),e.\u0275\u0275text(127," Import from Gmail Contact list "),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275elementStart(128,"div",104)(129,"div",92)(130,"div",105)(131,"div",106)(132,"button",107),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.emptyDataAfterClosingOfPopup())}),e.\u0275\u0275elementStart(133,"span",7),e.\u0275\u0275text(134,"\xd7"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(135,"div",98)(136,"div",108)(137,"div",109)(138,"h3"),e.\u0275\u0275text(139,"Select Contacts"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(140,"p"),e.\u0275\u0275text(141,"Select the contacts and click Invite to complete the process. "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(142,"div",110)(143,"button",111),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.contactSync())}),e.\u0275\u0275text(144,"Send Invite"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(145,"div",112)(146,"div",109)(147,"div",113)(148,"input",114),e.\u0275\u0275listener("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.searchKeyForContacts=n)})("keyup.enter",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.search())}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(149,"div",115),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.search())}),e.\u0275\u0275elementStart(150,"span",116),e.\u0275\u0275element(151,"i",117),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(152,"div",118)(153,"button",119),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.selectAllCheckbox())}),e.\u0275\u0275text(154," Select All "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(155,"span"),e.\u0275\u0275text(156," | "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(157,"button",119),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.unselectAllCheckbox())}),e.\u0275\u0275text(158," Unselect All "),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(159,"table",120)(160,"tbody"),e.\u0275\u0275template(161,Et,13,5,"tr",121),e.\u0275\u0275elementEnd()()()()()()()()}if(2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf","SYSTEM_ADMIN"==t.loggedInUser.userRole),e.\u0275\u0275advance(1),e.\u0275\u0275property("src",t.getUserProfile(),e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(16),e.\u0275\u0275textInterpolate1(" ",null==(null==t.userProfileData?null:t.userProfileData.fullName)?"Dynamind":null==t.userProfileData?null:t.userProfileData.fullName," "),e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate("title",null==t.userProfileData?null:t.userProfileData.profileOverVie
1w),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null==t.userProfileData?null:t.userProfileData.profileOverView," "),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1(" ",null==(null==t.userProfileData?null:t.userProfileData.followingCount)?"0":null==t.userProfileData?null:t.userProfileData.followingCount," Following "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",null==(null==t.userProfileData?null:t.userProfileData.followerCount)?"0":null==t.userProfileData?null:t.userProfileData.followerCount," Followers "),e.\u0275\u0275advance(7),e.\u0275\u0275textInterpolate1(" ",null==t.userProfileData?null:t.userProfileData.onlineProtalUrl," "),e.\u0275\u0275advance(6),e.\u0275\u0275propertyInterpolate("url",null==t.userProfileData?null:t.userProfileData.onlineProtalUrl),e.\u0275\u0275property("include",e.\u0275\u0275pureFunction0(35,It))("showIcon",!0)("showText",!1),e.\u0275\u0275advance(5),e.\u0275\u0275styleProp("width",t.progressBarResponse+"%"),e.\u0275\u0275property("ngStyle",e.\u0275\u0275pureFunction1(36,Ot,t.progressColor+" ")),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",t.progressBarResponse,"% "),e.\u0275\u0275advance(8),e.\u0275\u0275propertyInterpolate1("title","",null==(null==t.userProfileData?null:t.userProfileData.about)||""==(null==t.userProfileData?null:t.userProfileData.about)?"Not Available":null==t.userProfileData?null:t.userProfileData.about," "),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null==(null==t.userProfileData?null:t.userProfileData.about)||""==(null==t.userProfileData?null:t.userProfileData.about)?"Not Available":null==t.userProfileData?null:t.userProfileData.about," "),e.\u0275\u0275advance(8),e.\u0275\u0275property("queryParams",e.\u0275\u0275pureFunction0(38,Ft)),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",1==t.booleanValue),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!t.booleanValue),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",(null==t.verifiedStrengths?null:t.verifiedStrengths.length)>0),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==(null==t.verifiedStrengths?null:t.verifiedStrengths.length)),e.\u0275\u0275advance(7),e.\u0275\u0275property("ngIf",0==t.experienceDetails),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",null==t.userProfileData?null:t.userProfileData.experienceDetails),e.\u0275\u0275advance(6),e.\u0275\u0275property("ngIf",0==t.educationDetails),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",null==t.userProfileData?null:t.userProfileData.educationDetails),e.\u0275\u0275advance(11),e.\u0275\u0275property("ngIf",(null==t.interestedAreas?null:t.interestedAreas.length)>0),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",(null==t.interestedAreas?null:t.interestedAreas.length)>0),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==(null==t.interestedAreas?null:t.interestedAreas.length)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.userProfileDto),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.userProfileDto),e.\u0275\u0275advance(35),e.\u0275\u0275property("disabled",0==(null==t.checkboxArray?null:t.checkboxArray.length)||!t.checkboxArray),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngModel",t.searchKeyForContacts),e.\u0275\u0275advance(13),e.\u0275\u0275property("ngForOf",t.contactsNewArrayDummy)}}let Lt=(()=>{class a{constructor(t,i,n,s,o,d,r,c,h,M,P){this.service=t,this.toastr=i,this.activatedRouter=n,this.signInService=s,this.router=o,this.location=d,this.titleService=r,this._setting=c,this.simpleModalService=h,this.platformId=M,this.loggedInUserService=P,this.interestAreaList=[],this.id="0",this.userProfileDto=new I.I,this.updateProfileRequest=new I.I,this.allGrades=[],this.subjectList=[],this.getSubjectList=[],this.getCountSubjectList=[],this.allSubjects=[],this.getAssessmentDataRequest=new _.iE,this.getContactsSync=new X.R,this.booleanValue=!0,this.isLoading=!1,this.isLoadingForUserPorfileService=!1,this.currentPageNumber=0,this.searchKey="",this.getDataRequest=new w.l,this.fromDateMax=(new Date).toISOString().split("T")[0],this.fromDateMaxForE
1xperieceDetails=(new Date).toISOString().split("T")[0],this.liveSessionDto=new We.K,this.getLiveSessionsInOnlinePortalData=[],this.totalPercentage=100,this.progressColor="#eab410",this.educationDetails=!0,this.experienceDetails=!0,this.userProfileDataDummy=[],this.interestedAreas=[],this.arrowsEnable=!1,this.contactsNewArray=[],this.contactsNewArrayDummy=[],this.getSelectedSubject=[],this.checkboxArray=[],this.isShow=!1,this.enableInterestAreas=!1,this.getGradeAllData=[],this.getSubjectAllData=[],this.countOn=0,this.checkEdit=!1,this.titleService.setTitle("Dynamind Mentor Online Portal")}ngAfterViewInit(){this.isShow=!0}keyPressNumbers(t){var i;return(i=t.charCode)>64&&i<91||i>96&&i<123||8==i||32==i||i>=48&&i<=57}ngOnDestroy(){this.authenticateGmail()}authenticateGmail(){(0,m.NF)(this.platformId)&&localStorage.getItem("authorizationForGmail")&&(0,m.NF)(this.platformId)&&localStorage.removeItem("authorizationForGmail")}wtappshare(){}keyPressForPresent(t){var i=t.which?t.which:t.keyCode;return!(i>=112||i<=116)||110!=i||101!=i||(t.preventDefault(),!1)}ngOnInit(){this.hideRecaptcha(),(0,m.NF)(this.platformId)&&window.scrollTo(0,0),this.getAssessmentDataRequest.pageSize=50,this.getAssessmentDataRequest.pageNumber=0,this.getAssessmentDataRequest.searchKey="",this.searchKey="";let t=(0,m.NF)(this.platformId)?JSON.parse(this.loggedInUserService.getLoggedInUser()):"";t&&(this.loggedInUser=t);let i=this.activatedRouter.snapshot.queryParams.id;i&&(this.id=i),this.getUserProfileService(this.id),this.getManageAssessmentData(),this.getProgressBarData(),this.getVerifiedStrength(),this.getLiveSessionsInOnlinePortal(),this.enablePopUp=this.activatedRouter.snapshot.queryParams.editProfile,this.enableInterestAreaPopUp=this.activatedRouter.snapshot.queryParams.editInterestArea,this.enablePopUp&&(this.getUserProfileService(this.id),this.router.navigate(["/navigation-bar/mentor/online-portal"])),this.enableInterestAreaPopUp&&(this.enableInterestAreas=!0,this.getUserProfileService(this.id)),this.onResize((0,m.NF)(this.platformId)?window.innerWidth:"")}get USER_ROLES(){return N.pR}getLiveSessionsInOnlinePortal(){this.liveSessionDto.pageSize=25,this.isLoading=!0,this.service.postService(this.service.apiUrls.getLiveSessionsInOnlinePortal,this.liveSessionDto).subscribe(t=>{t&&200==t.statusCode?t.data&&t.data.content&&(this.isLoading=!1,this.getLiveSessionsInOnlinePortalData=t.data.content):(this.isLoading=!1,this.toastr.show(t?.message,"Warning"))},t=>{401==t.status?(this.isLoading=!1,this.toastr.show(t.message?t.message:"Something Went Wrong","Warning"),(0,m.NF)(this.platformId)&&(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toastr.show(t.error?.message,"Warning"))})}getVerifiedStrength(){this.isLoading=!0,this.service.getService(this.service.apiUrls.verifiedStrengths).subscribe(t=>{t&&200===t.statusCode?(this.isLoading=!1,this.verifiedStrengths=t.data):(this.isLoading=!1,this.toastr.show(t?.message,"Warning")),this.isLoading=!1},t=>{401==t.status?(this.isLoading=!1,this.toastr.show(t.message?t.message:"Something Went Wrong","Warning"),(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toastr.show(t.error?.message,"Warning"))})}getProgressBarData(){this.isLoading=!0,this.service.getService(this.service.apiUrls.getProgressBarData).subscribe(t=>{t&&200===t.statusCode?(this.isLoading=!1,this.progressBarResponse=t.data,this.totalPercentage=this.totalPercentage-t.data):(this.isLoading=!1,this.toastr.show(t?.message,"Warning")),this.isLoading=!1},t=>{401==t.status?(this.isLoading=!1,this.toastr.show(t.message?t.message:"Something Went Wrong","Warning"),(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toastr.show(t.error?.message,"Warning"))})}openNetworkConnectionsModel(){(0,m.NF)(this.platformId)&&$("#followUser").modal({backdrop:"static",keyboard:!1})}getUserProfileService(t){(0,m.NF)(this.platformId)&&(this.fileToUpload=null,this.isLoadingForUserPorfileService=!0,this.service.getService(this.service.apiUrls.getUserProfile+t).subscribe(i=>{if(i&&i.data&&200==i.statusCode){this.isLoadingForUserPorfileService=!1,this.userProfileDto=i.data,this.userProfileData=JSON.parse(JSON.stringify(i?.data)),this.userProfileDataDummy=JSON.parse(JSON.stringify(i?.data)),this.interestedAreas=this.userProfileDto.tags;let n=[];this.interestedAreas.forEach(function(c){n.push(c.id)});let s=[],o=[],d=[],r=[];this.interestedAreas.forEach(c=>{let h=c.tagHierarchy.split("->");"GRADE"==c.tagType?(void 0===s[h[0]]&&(o.push(h[0]),s[h[0]]=[]),s[h[0]].push(c)):"SUBJECT"==c.tagType&&(void 0===d[h[0]+">"+h[1]]&&(r.push(h[0]+">"+h[1]),d[h[0]+">"+h[1]]=[]),d[h[0]+">"+h[1]].push(c))}
1),this.getGradeFirstData=o,this.getGradeAllData=s,this.getSubjectAllData=d,this.getSubjectFirstData=r,this.getInterestAreasId=[],this.getInterestAreasId=n,1==this.enableInterestAreas&&(this.enableInterestAreas=!1,this.openEditInterestAreaPopUpModel(this.userProfileDto)),this.enablePopUp&&$("#userDetailsModelToEdit").modal("show"),this.educationDetails=i.data.educationDetails.length,this.experienceDetails=i.data.experienceDetails.length,this.userProfileData&&(!this.userProfileData.educationDetails||0==this.userProfileData.educationDetails.length)&&(this.userProfileData.educationDetails=[]),this.userProfileData&&(!this.userProfileData.experienceDetails||0==this.userProfileData.experienceDetails.length)&&(this.userProfileData.experienceDetails=[]),t&&"0"===t&&(this.loggedInUser.fullName=this.userProfileDto.fullName,this.loggedInUser.profilePicture=this.userProfileDto.profilePicture,(0,m.NF)(this.platformId)&&this.loggedInUserService.setLoggedInUser(this.loggedInUser))}else this.isLoadingForUserPorfileService=!1,this.toastr.show(i?.message,"Warning")},i=>{401==i.status?(this.isLoadingForUserPorfileService=!1,this.toastr.show(i.message?i.message:"Something Went Wrong","Warning"),(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoadingForUserPorfileService=!1,this.toastr.show(i.error?.message,"Warning"))}))}trimDefaultValues(){null!=this.userProfileDto.fullName&&""!=this.userProfileDto.fullName&&(this.userProfileDto.fullName=this.userProfileDto.fullName.trim()),null!=this.userProfileDto.about&&""!=this.userProfileDto.about&&(this.userProfileDto.about=this.userProfileDto.about.trim())}trimValuesForProfileOverView(){null!=this.userProfileDto.profileOverView&&""!=this.userProfileDto.profileOverView&&(this.userProfileDto.profileOverView=this.userProfileDto.profileOverView.trim())}trimValuesForEmailId(){null!=this.userProfileDto.email&&""!=this.userProfileDto.email&&(this.userProfileDto.email=this.userProfileDto.email.trim())}trimSpacesForEducationDetails(t){""!=this.userProfileDto.educationDetails[t].institutionAddress&&null!=this.userProfileDto.educationDetails[t].institutionAddress&&null!=this.userProfileDto.educationDetails[t].institutionAddress&&(this.userProfileDto.educationDetails[t].institutionAddress=this.userProfileDto?.educationDetails[t].institutionAddress.trim()),""!=this.userProfileDto.educationDetails[t].institutionName&&null!=this.userProfileDto.educationDetails[t].institutionName&&null!=this.userProfileDto.educationDetails[t].institutionName&&(this.userProfileDto.educationDetails[t].institutionName=this.userProfileDto?.educationDetails[t].institutionName.trim()),""!=this.userProfileDto.educationDetails[t].fieldOfStudy&&null!=this.userProfileDto.educationDetails[t].fieldOfStudy&&null!=this.userProfileDto.educationDetails[t].fieldOfStudy&&(this.userProfileDto.educationDetails[t].fieldOfStudy=this.userProfileDto?.educationDetails[t].fieldOfStudy.trim())}trimSpacesForExperienceDetails(t){""!=this.userProfileDto.experienceDetails[t].organizationAddress&&null!=this.userProfileDto.experienceDetails[t].organizationAddress&&null!=this.userProfileDto.experienceDetails[t].organizationAddress&&(this.userProfileDto.experienceDetails[t].organizationAddress=this.userProfileDto?.experienceDetails[t].organizationAddress.trim()),""!=this.userProfileDto.experienceDetails[t].organizationName&&null!=this.userProfileDto.experienceDetails[t].organizationName&&null!=this.userProfileDto.experienceDetails[t].organizationName&&(this.userProfileDto.experienceDetails[t].organizationName=this.userProfileDto?.experienceDetails[t].organizationName.trim()),""!=this.userProfileDto.experienceDetails[t].designation&&null!=this.userProfileDto.experienceDetails[t].designation&&null!=this.userProfileDto.experienceDetails[t].designation&&(this.userProfileDto.experienceDetails[t].designation=this.userProfileDto?.experienceDetails[t].designation.trim())}removeUploadedImage(){this.loggedInUser.fullName=null,this.loggedInUser.profilePicture=null,this.loggedInUser.fileDownloadUrl=null,this.loggedInUser.fileId=null,this.loggedInUser.filePreviewUrl=null,(0,m.NF)(this.platformId)&&this.loggedInUserService.setLoggedInUser(this.loggedInUser),this.userProfileDto.profilePicture=null}reloadComponent(){let t=this.router.url;this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.onSameUrlNavigation="reload",this.router.navigate([t])}updateMentorValues(){if((0,m.NF)(this.platformId)){let i=!0;if(!g.iG.isValid(this.userProfileDto.firstName))return this.toastr.show("Please Enter First Name","Warning"),void(i=!1);if(this.userProfileDto.about.split(/[\s]+/).length>250)return this.toastr.show("You cannot put more than 250 words in about.","Warning"),void(i=!1);if(this.userProfileDto.firstName&&this.userProfileDto.firstName.trim(),this.userProfileDto.educationDetail
1s.length>0)for(let o of this.userProfileDto.educationDetails){if(!g.iG.isValid(o.fieldOfStudy))return this.toastr.show("please enter the field of study","Warning"),void(i=!1);if(!g.iG.isValid(o.institutionAddress))return this.toastr.show("please enter the institution address","Warning"),void(i=!1);if(!g.iG.isValid(o.fromYear))return this.toastr.show("please enter the education from year","Warning"),void(i=!1);if(!g.iG.isValid(o.toYear))return this.toastr.show("please enter the education to year","Warning"),void(i=!1);let d=v(o.fromYear),r=v(o.toYear);if(r.isBefore(d)||r.isSame(d))return void this.toastr.show("From date should be greater then To date","Info");if(!g.iG.isValid(o.institutionName))return this.toastr.show("please enter the institution name","Warning"),void(i=!1)}if(this.userProfileDto.experienceDetails.length>0)for(let o of this.userProfileDto.experienceDetails){if(!g.iG.isValid(o.designation))return this.toastr.show("please enter the field of study","Warning"),void(i=!1);if(!g.iG.isValid(o.organizationAddress))return this.toastr.show("please enter the organization address","Warning"),void(i=!1);if(!g.iG.isValid(o.fromYear))return this.toastr.show("please enter the experience From year","Warning"),void(i=!1);if(!g.iG.isValid(o.toYear))return this.toastr.show("please enter the experience to year","Warning"),void(i=!1);let d=v(o.fromYear),r=v(o.toYear);if(r.isBefore(d)||r.isSame(d))return void this.toastr.show("From date should be greater then To date","Info");if(!g.iG.isValid(o.organizationName))return this.toastr.show("please enter the organization name","Warning"),void(i=!1)}if(this.userProfileDto){let o={...this.userProfileData};if(JSON.stringify(o)==JSON.stringify(this.userProfileDto))return this.toastr.success("Your profile is updated successfully","Success"),void $("#userDetailsModelToEdit").modal("hide")}let s,n=this.loggedInUser.id;s=this.userProfileDto,s.assessmentList=[],s.tags=[],s.strengths=[],i&&this.service.postService(this.service.apiUrls.mentorUpdateprofile+n,s).subscribe(o=>{o&&o.data&&200===o.statusCode?(this.fileToUpload=null,this.imageSrc=null,this.toastr.success(o.message,"Success"),(0,m.NF)(this.platformId)&&(this.loggedInUserService.setLoggedInUser(this.loggedInUser),$("#userDetailsModelToEdit").modal("hide")),this.id&&"0"!=this.id?this.router.navigate(["/super-admin/super-admin/users/mentor-profile"]):(this.getProgressBarData(),this.getUserProfileService(this.id))):this.toastr.show(o?.message,"Warning")},o=>{401==o.status?(this.isLoading=!1,this.toastr.show(o.message?o.message:"Something Went Wrong","Warning"),(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toastr.show(o.error?.message,"Warning"))})}}handleFileInput(t){for(let n=0;n<t.length;n++)if(!1===/\.(jpe?g|png|svg)$/i.test(t[n].name))return void this.toastr.show("please upload image files only","info");if(this.fileToUpload=t.item(0),10485760<this.fileToUpload.size)this.toastr.show("Please make sure your file is less than 10 MB","info");else{var i=new FileReader;i.onload=n=>this.imageSrc=n.target.result,i.readAsDataURL(this.fileToUpload),this.uploadFile(this.fileToUpload)}}uploadFile(t){const i=new FormData;i.append("file",t),this._setting.uploadFileWithPath(this._setting.fileUploadPath.mentorProfile,i).subscribe({next:s=>{this.userProfileDto.profilePicture=s.data,this.toastr.success("File has uploaded successfully")},error:s=>{this.service.handleApiError(s)}})}openEditPopUpModel(t){(0,m.NF)(this.platformId)&&(this.profileData=t,this.userProfileDto=JSON.parse(JSON.stringify(t)),$("#userDetailsModelToEdit").modal({backdrop:"static",keyboard:!1}))}openEditInterestAreaPopUpModel(t){this.getAllInterestAreasData(),$("#interestAreasModelToEdit").modal({backdrop:"static",keyboard:!1})}selectedInterestArea(t){let i=this.updateProfileRequest.tagIds.findIndex(n=>n.id===t.id);if(-1==i)t.selected=!0,t.tagType="Grade",this.updateProfileRequest.tagIds.push(t),this.allGrades.push(t);else{t.selected=!1;let n=[...this.updateProfileRequest.tagIds];for(let o of this.updateProfileRequest.tagIds)for(let d of o.parentTags)if(d===t.id){let r=n.findIndex(c=>c.id==o.id);-1!=r&&(n.splice(r,1),this.allSubjects.splice(r,1))}let s=n.findIndex(o=>o.id==t.id);n.splice(s,1),this.allSubjects.splice(i,1),this.updateProfileRequest.tagIds=n,this.allGrades.splice(i,1)}this.getAllSubjectsData()}getAllSubjectsData(){let t=this.checkEdit,i=this.updateProfileRequest.tagIds.filter(r=>"Grade"===r.tagType),n=this.getInterestAreasId,o=this.getSelectedSubject;this.getDataRequest.filterTagIds=i.map(r=>r.id);let d=[];this.updateProfileRequest.tagIds.forEach(function(r){"SUBJECT"===r.tagType&&i.map(c=>c.id).indexOf(r.parentId)>-1&&(r.selected=!0),d.push(r)}),this.getDataRequest.filterTagIds&&this.getDataRequest.filterTagIds.length>0?(this.getDataRequest.filterType="SUBJECT",this.service.postService(this.service.apiUrls.getAllTags,this.getDataRequest).subscribe(r=>{if(r&&200==r.statusCode){if(r.data&&r.data.content){let c=[],h=[];
1this.getCountSubjectList=[],this.getSubjectList=[];let M=[],P=[],W=this.countOn;r.data.content.forEach(function(x){let D=x.tagHierarchy.split("->");-1==h.indexOf(D[1])&&h.push(D[1]);let _e=o.findIndex(La=>La.id==x.id);0==W?(n.indexOf(x.id)>-1||_e>-1)&&(x.selected=!0,M.push(x),P.push(x)):_e>-1&&(x.selected=!0,M.push(x),P.push(x)),c[D[1]]||(c[D[1]]=[]),c[D[1]].push(x)}),this.countOn=this.countOn+1,this.getSelectedSubject=P,this.getCountSubjectList=h,this.getSubjectList=c;let L=this.updateProfileRequest.tagIds.filter(x=>"Grade"===x.tagType);this.getSelectedSubject.forEach(function(x){L.push(x)}),this.updateProfileRequest.tagIds=[],this.updateProfileRequest.tagIds=L,this.allSubjects=L,t=!1}}else this.toastr.show(r?.message,"Info")},r=>{this.toastr.show(r?.error?.message,"Info")})):(this.subjectList=[],this.getCountSubjectList=[]),this.checkEdit=t}selectedSubject(t,i){let n=this.updateProfileRequest.tagIds.findIndex(o=>o.id===t.id),s=this.allSubjects.findIndex(o=>o.id==t.id);if(-1==n){t.selected=!0,this.updateProfileRequest.tagIds.push(t),this.allSubjects.push(t);let o=this.getSubjectList[i].findIndex(d=>d.id==t.id);this.getSubjectList[i][o].selected=!0,this.getSelectedSubject.push(t)}else{t.selected=!1,this.updateProfileRequest.tagIds.splice(n,1),this.allSubjects.splice(s,1);let o=this.getSubjectList[i].findIndex(r=>
1r.id==t.id);this.getSubjectList[i][o].selected=!1;let d=this.getSelectedSubject.findIndex(r=>r.id==t.id);this.getSelectedSubject.splice(d,1)}}getAllInterestAreasData(){this.checkEdit=!0;let t=this.getInterestAreasId;this.getDataRequest.pageSize=100,this.getDataRequest.filterType="INTEREST_AREAGRADE",this.getDataRequest.tagIds=[],this.getDataRequest.filterTagIds=[],this.service.postService(this.service.apiUrls.getAllTags,this.getDataRequest).subscribe(i=>{if(i&&200==i.statusCode){if(i.data&&i.data.content){this.isLoading=!1,this.interestAreaList=[];let n=[],s=[];i.data.content.forEach(function(o){t.indexOf(o.id)>-1&&(o.selected=!0,o.tagType="Grade",s.push(o)),n.push(o)}),this.interestAreaList=n,this.updateProfileRequest.tagIds=s,this.allGrades=s,this.getAllSubjectsData()}}else this.isLoading=!1,this.toastr.show(i?.message,"Info")},i=>{401==i.status?(this.isLoading=!1,this.toastr.show(i.message?i.message:"Something Went Wrong","Warning"),(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):this.toastr.show(i?.error?.message,"Info")})}addItemToList(t){"Education"===t&&this.userProfileDto.educationDetails.push(new je.A),"Experience"===t&&this.userProfileDto.experienceDetails.push(new He.B)}removeItemFromList(t,i){"Education"===t&&this.userProfileDto.educationDetails.splice(i,1),"Experience"===t&&this.userProfileDto.experienceDetails.splice(i,1)}emptyDetails(){this.ngOnInit()}getManageAssessmentData(){this.isLoading=!0,this.getAssessmentDataRequest.pageSize=25,this.service.postService(this.service.apiUrls.getManageAssessmentData,this.getAssessmentDataRequest).subscribe(t=>{t&&200===t.statusCode?(this.isLoading=!1,this.findAssessmentListData=t.data.content,this.findAssessmentListData.length>0&&(this.booleanValue=!1),this.findAssessmentListData.length>4&&(this.arrowsEnable=!0)):(this.isLoading=!1,this.toastr.show(t?.message,"Info"))},t=>{401==t.status?(this.isLoading=!1,this.toastr.show(t.message?t.message:"Something Went Wrong","Warning"),(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toastr.show(t?.error?.message,"Info"))})}getUserProfile(){return this.userProfileData&&this.userProfileData.profilePicture&&this.userProfileData.profilePicture.filePreviewUrl?this.service.baseUrl+this.userProfileData.profilePicture.filePreviewUrl:"./assets/user.png"}seeAllAssessments(){this.router.navigate(["/navigation-bar/mentor/assessment/find-assessment"],{queryParams:{seeAllAssessments:"true"}})}removeProfilePicture(){(0,m.NF)(this.platformId)&&(this.isLoading=!0,this.service.getService(this.service.apiUrls.removeProfilePicture).subscribe(t=>{t&&200===t.statusCode?(this.isLoading=!1,this.fileToUpload=null,$("#userDetailsModelToEdit").modal("hide"),$("#removeProfilePopup").modal("hide"),this.toastr.show(t.message,"Success"),this.reloadComponent()):(this.isLoading=!1,this.toastr.show(t?.message,"Warning"))},t=>{401==t.status?(this.isLoading=!1,this.toastr.show(t.message?t.message:"Something Went Wrong","Warning"),(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toastr.show(t?.error?.message,"Info"))}))}backToDashBoard(){this.location.back()}getTagData(t,i){if(g.iG.isValid(t)){let n=t.filter(s=>s.tagType===i).map(s=>s.tagName);return g.iG.isValid(n)?n.join(","):"-"}return"-"}termsPage(){this.router.navigate(["/navigation-bar/mentor/terms-condition"])}policyPage(){this.router.navigate(["/navigation-bar/mentor/privacy-policy"])}hideRecaptcha(){if((0,m.NF)(this.platformId)){const t=$(".grecaptcha-badge");if(t.length)return t.css({display:"none"});requestAnimationFrame(()=>this.hideRecaptcha())}}navigateToLiveSessions(){this.router.navigate(["navigation-bar/mentor/live-sessions"],{queryParams:{openLiveSession:"true"}})}getEducationalDetailsValueFormat(t,i){if(!t&&!i)return"";if("N/A"===t&&"N/A"===i)return"N/A";if(t&&i&&(0,m.NF)(this.platformId)){let n=t.split("-")[0],d=(t.split("-"),t.split("-"),n),r=i.split("-")[0];return i.split("-"),i.split("-"),`${d} - ${r}`}}getExperienceDetailsValueFormat(t,i){if(!t&&!i)return"";if("N/A"===t&&"N/A"===i)return"N/A";let n,s,o,d;if(t&&i){let r=t.split("-")[0],c=t.split("-")[1];t.split("-"),"01"==c?c="Jan":"02"==c?c="Feb":"03"==c?c="Mar":"04"==c?c="Apr":"05"==c?c="May":"06"==c?c="Jun":"07"==c?c="Jul":"08"==c?c="Aug":"09"==c?c="Sep":"10"==c?c="Oct":"11"==c?c="Nov":"12"==c&&(c="Dec"),n=c,s=r}if(i){let r=i.split("-")[0],c=i.split("-")[1];i.split("-"),"01"==c?c="Jan":"02"==c?c="Feb":"03"==c?c="Mar":"04"==c?c="Apr":"05"==c?c="May":"06"==c?c="Jun":"07"==c?c="Jul":"08"==c?c="Aug":"09"==c?c="Sep":"10"==c?c="Oct":"11"==c?c="Nov":"12"==c&&(c="Dec"),o=c,d=r}return`${n} ${s} - ${o} ${d}`}goToLink(t){let i=t.toLowerCase();i.includes("http:")||i.includes("https:")||i.includes("www")?(0,m.NF)(this.platformId)&&window.open(t,"_blank"):(0,m.NF)(this.platformId)&&window.open("https://"+t,"_blank")}experiencePeriod(t){if(null==t)return"N/A";{let i=t?.split(" ")[0],n=t?.split(" ")[1],s=t?.split(" ")[2],o=t?.split(" ")[3];return"1 yrs "===t&&(n="yr"),(null==s||null==o)&&(s="",o=""),`${i} ${n} ${s} ${o}`}}methodForManualDate(){return!1}copyToClipboard(t){if(t){let i=document.createElement("textarea");i.style.position="fixed",i.style.left="0",i.style.top="0",i.style.opacity="0",i.value=t,document.body.appendChild(i),i.focus(),i.select(),document.execCommand("copy"),document.body.removeChild(i),this.toastr.success("Copied to Clipboard")}else this.toastr.show("Please provide the link","Warning")}execute(){this.contactsNewArray=[],this.contactsNewArrayDummy=[],this.service.getServiceForGmail("https://people.googleapis.com/v1/people/me/connections?pageSize=2000&personFields=names%2CemailAddresses%2CphoneNumbers&requestSyncToken=true&key=AIzaSyAhfQGIjwa4BPIlN2yDbF2KdNxb-APaZYQ").subscribe(i=>
1{i&&(this.contacts=i.connections,this.contactsData=i.connections,this.isLoading=!0,this.contactsData?setTimeout(()=>{this.isLoading=!1,this.contactsData.forEach(n=>{if(n){let s=new Ge.u;n.names&&n.names.forEach(o=>{s.fullName=o.displayName,s.firstName=o.givenName,s.lastName=o.familyName,s.isChecked=!1,s.id=o.metadata.source.id}),n.phoneNumbers&&(s.userName=null==n.phoneNumbers[0].canonicalForm||null==n.phoneNumbers[0].canonicalForm||""==n.phoneNumbers[0].canonicalForm?n.phoneNumbers[0].value:n.phoneNumbers[0].canonicalForm),n.emailAddresses&&n.emailAddresses.forEach(o=>{s.email=o.value}),this.contactsNewArray.push(s),this.contactsNewArrayDummy.push(s)}}),this.openModalForImportContacts()},2e3):(this.isLoading=!1,this.toastr.show("No contacts Found","Info"),$("#importContacts").modal("hide")))},i=>{this.toastr.show(i?.error?.error?.message,"Info")})}emptyDataAfterClosingOfPopup(){this.contactsNewArray=[],this.contactsNewArrayDummy=[],this.contacts=[],this.contactsData=[],this.checkboxArray=[],this.ngOnDestroy()}enableImportContactModal(){if((0,m.NF)(this.platformId)){if(!(0,m.NF)(this.platformId)||!localStorage.getItem("authorizationForGmail"))return void this.signInService.authenticate();this.signInService.observable().subscribe(i=>{this.user=i,this.user.getAuthResponse().access_token&&$("#importContacts").modal("show")})}}openModalForImportContacts(){(0,m.NF)(this.platformId)&&(this.contactsData?.length>0?(this.isLoading=!0,setTimeout(()=>{$("#importContacts").modal("hide"),$("#searchContacts").modal("show"),this.isLoading=!1},2e3)):($("#importContacts").modal("show"),$("#searchContacts").modal("hide")))}contactSync(){0!==this.checkboxArray.length?this.checkboxArray.length>0&&(this.getContactsSync.contacts=this.checkboxArray,this.service.postService(this.service.apiUrls.contactSync,this.getContactsSync).subscribe(t=>{t&&200==t.statusCode?t&&(this.isLoading=!1,this.toastr.show(t?.message,"Info")):(this.isLoading=!1,this.toastr.show(t?.message,"Warning"))},t=>{401==t.status?(this.isLoading=!1,this.toastr.show(t.message?t.message:"Something Went Wrong","Warning"),(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toastr.show(t.error?.message,"Warning"))})):this.toastr.show("please select atleast one contact","Info")}search(){let t=[...this.contactsNewArray],i=this.searchKeyForContacts.toLowerCase();this.contactsNewArrayDummy&&(this.contactsNewArrayDummy=t.filter(n=>i?n.userName.toLowerCase().includes(i.toLowerCase())||n.fullName.toLowerCase().includes(i.toLowerCase()):n))}navigateToFollowingPage(t){this.router.navigate(["/navigation-bar/v1/mentor/followers-following"],{queryParams:{selectedTab:t,enableLink:t}})}selectedOne(t,i){if(this.checkboxArray=[],i){this.contactsNewArrayDummy.forEach(s=>{s.id==t.id&&(t.isChecked=!0)});for(var n=0;n<this.contactsNewArray.length;n++)this.contactsNewArray[n].isChecked&&this.checkboxArray.push(this.contactsNewArray[n])}else for(this.contactsNewArrayDummy.forEach(s=>{s.id==t.id&&(t.isChecked=!1)}),n=0;n<this.contactsNewArray.length;n++)this.contactsNewArray[n].isChecked&&this.checkboxArray.push(this.contactsNewArray[n])}selectAllCheckbox(){this.checkboxArray=[],this.contactsNewArrayDummy.forEach(i=>{i.isChecked=!0});for(var t=0;t<this.contactsNewArray.length;t++)this.contactsNewArray[t].isChecked&&this.checkboxArray.push(this.contactsNewArray[t])}unselectAllCheckbox(){this.contactsNewArrayDummy.forEach(i=>{i.isChecked=!1});for(var t=0;t<this.contactsNewArray.length;t++)this.contactsNewArray[t].isChecked||(this.checkboxArray=[])}shareProfile(t,i){t.stopPropagation(),this.showAlert(i)}searchUser(){this.router.navigate(["/navigation-bar/v1/mentor/search-users"])}showAlert(t){this.simpleModalService.addModal(Z.g,{title:"Share",message:"",profile:t}).subscribe(n=>{})}editInterestAreas(){let t=[],n=this.updateProfileRequest.tagIds.filter(r=>"Grade"===r.tagType).map(({id:r})=>r),o=this.updateProfileRequest.tagIds.filter(r=>"SUBJECT"===r.tagType).map(({parentId:r})=>r);n.filter(r=>o.indexOf(r)<0).length>0?this.toastr.show("Please select at least one subject from each grade","Warning"):(this.updateProfileRequest.tagIds.forEach(function(r){t.push(r.i
1d)}),this.updateProfileRequest.tagIds.forEach(function(r){t.push(r.id)}),this.updateProfileRequest.tagIds=[],this.updateProfileRequest.tagIds=t,this.service.postService(this.service.apiUrls.updateInterestAreasOfUser,this.updateProfileRequest).subscribe(r=>{if(r&&200==r.statusCode){if(r.message)return this.toastr.show(r?.message,"Success"),$("#interestAreasModelToEdit").modal("hide"),void(this.id&&"0"!=this.id?this.router.navigate(["/super-admin/super-admin/users/mentor-profile"]):(this.getProgressBarData(),this.getUserProfileService(this.id)))}else this.isLoading=!1,this.toastr.show(r?.message,"Warning")},r=>{401==r.status?(this.isLoading=!1,this.toastr.show(r.message?r.message:"Something Went Wrong","Warning"),(0,m.NF)(this.platformId)&&(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toastr.show(r.error?.message,"Warning"))}))}onInput(t){let n=t.target.value.trim().split(" ");n.length>250&&(this.userProfileDto.about=n.slice(0,250).join(" "))}removeUploadedPicture(){$("#removeProfilePopup").modal({backdrop:"static",keyboard:!1})}onResize(t){this.checkScreenRatio(t.target.innerWidth)}checkScreenRatio(t){(t=window.innerWidth)>=280&&t<=576&&(this.carouselCells=1),t>=577&&t<=767&&(this.carouselCells=1.5),t>=768&&t<=991&&(this.carouselCells=2),t>=992&&t<=1199&&(this.carouselCells=3),t>=1200&&t<=1299&&(this.carouselCells=3),t>=1300&&t<=1420&&(this.carouselCells=3),t>=1421&&t<=1499&&(this.carouselCells=3.7),t>=1500&&t<=1610&&(this.carouselCells=3.7),t>=1611&&t<=2600&&(this.carouselCells=4)}maxlengthx(){console.log(this.userProfileDto.about);var t=this.userProfileDto.about.split(/[\s]+/);console.log(t.length),t.length>250&&this.toastr.show("You cannot put more than 250 words in this text area.","Info")}static#e=this.\u0275fac=function(i){return new(i||a)(e.\u0275\u0275directiveInject(b.s),e.\u0275\u0275directiveInject(C._W),e.\u0275\u0275directiveInject(u.gz),e.\u0275\u0275directiveInject($e.l),e.\u0275\u0275directiveInject(u.F0),e.\u0275\u0275directiveInject(m.Ye),e.\u0275\u0275directiveInject(S.Dx),e.\u0275\u0275directiveInject(ee.R),e.\u0275\u0275directiveInject(V.yK),e.\u0275\u0275directiveInject(e.PLATFORM_ID),e.\u0275\u0275directiveInject(E.k))};static#t=this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-online-portal"]],hostBindings:function(i,n){1&i&&e.\u0275\u0275listener("resize",function(o){return n.onResize(o)},!1,e.\u0275\u0275resolveWindow)},decls:22,vars:3,consts:[[4,"ngIf"],["id","removeProfilePopup","tabindex","-1","aria-hidden","true",1,"modal","fade"],[1,"modal-dialog","modal
1-dialog-centered"],[1,"modal-content"],[1,"modal-header","border-bottom-0",2,"box-shadow","0px 1px 5px rgba(0, 0, 0, 0.25)"],[1,"remove-txt","sofiaProMedium"],["type","button","data-dismiss","modal","aria-label","Close",1,"close"],["aria-hidden","true"],[1,"modal-body","text-center"],[1,"conform-txt"],[1,"d-flex","justify-content-between"],[1,"btn","remove-btn","mt-3",3,"click"],["aria-hidden","true",1,"fa","fa-trash",2,"color","#fff !important"],["data-dismiss","modal","aria-label","Close",1,"btn","cancel-btn","mt-3"],[2,"background-color","#fff !important"],[1,"row","onlineportal-header"],[1,"col-12","col-md-4","px-0"],[1,"col-lg-3","col-xl-2","col-md-3","col-sm-3","col-xs-12","text-light","customboxClass"],["alt","User Profile",1,"img-fluid","rounded","defaultImageCustomClass","mx-4","my-5",2,"width","100%","height","180px",3,"src"],[1,"row","mb-0","mb-md-2"],[1,"col-12","px-0","px-sm-3","mt-4"],["id","outer"],[1,"inner"],[1,"btn","btn-info","editButton","mr-0","mr-sm-2",2,"border-radius","25px",3,"click"],["src","../../../assets/importContacts.png","alt","",1,"img-fluid","importContactsImage"],["data-toggle","modal",1,"btn","btn-info","editButton",2,"border-radius","25px",3,"click"],["src","./assets/online-portal/edit.svg","alt","",2,"margin-top","-5px !important"],[1,"row","mt-0","mt-md-3","align-items-center","p-0"],[1,"col-12","col-sm-12","px-0","col-md-12","col-xl-8","col-lg-8"],["id","title-of-user"],["id","Profile-Overview",1,"text-secondary",3,"title"],["id","Number-Of-Mentors",1,"text-secondary"],[1,"text-left","text-nowrap"],[1,"underline",2,"cursor","pointer",3,"click"],[1,"dot"],[1,"p-0"],[1,"btn","btn-info","rounded-pill","searchUsersButton",3,"click"],[1,"bx","bx-user-plus","userPlusIcon"],[1,"row"],[1,"col-md-9","col-12","underline","mt-4","wordB"],[1,"col-md-3","col-12"],[1,"onlinePortalUrl","underline","mt-4"],[1,"bx","bx-copy-alt","ml-1",2,"cursor","pointer",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 448 512",2,"height","16px","margin-left","10px","cursor","pointer",3,"click"],["d","M448 127.1C448 181 405 223.1 352 223.1C326.1 223.1 302.6 213.8 285.4 197.1L191.3 244.1C191.8 248 191.1 251.1 191.1 256C191.1 260 191.8 263.1 191.3 267.9L285.4 314.9C302.6 298.2 326.1 288 352 288C405 288 448 330.1 448 384C448 437 405 480 352 480C298.1 480 256 437 256 384C256 379.1 256.2 376 256.7 372.1L162.6 325.1C145.4 341.8 121.9 352 96 352C42.98 352 0 309 0 256C0 202.1 42.98 160 96 160C121.9 160 145.4 170.2 162.6 186.9L256.7 139.9C256.2 135.1 256 132 256 128C256 74.98 298.1 32 352 32C405 32 448 74.98 448 128L448 127.1zM95.1 287.1C113.7 287.1 127.1 273.7 127.1 255.1C127.1 238.3 113.7 223.1 95.1 223.1C78.33 223.1 63.1 238.3 63.1 255.1C63.1 273.7 78.33 287.1 95.1 287.1zM352 95.1C334.3 95.1 320 110.3 320 127.1C320 145.7 334.3 159.1 352 159.1C369.7 159.1 384 145.7 384 127.1C384 110.3 369.7 95.1 352 95.1zM352 416C369.7 416 384 401.7 384 384C384 366.3 369.7 352 352 352C334.3 352 320 366.3 320 384C320 401.7 334.3 416 352 416z"],["theme","circles-dark","description","Mentor Online Portal","twitterAccount","Dynamind",2,"margin-left","1%","margin-top","-20px",3,"include","showIcon","showText","url","click"],[1,"col-12","col-sm-12","px-0","col-md-12","col-xl-4","col-lg-4",2,"max-width","100%"],[1,"profile-completeness"],[1,"progress","progress-Bar"],["role","progressbar",1,"progress-bar",3,"ngStyle"],[2,"font-weight","bold","transform","rotate(180deg)","font-size","x-large"],[1,"row","mt-sm-3","mt-3"],[1,"col-md-12","colPdng40"],[2,"border-top","1px solid #C7CFDB","margin","20px 0"],["src","./assets/online-portal/Path-292.png","alt","",2,"vertical-align","sub !important"],[1,"about"],[1,"col-md-7","txt-ellipsisForAbout"],[1,"aboutext","text-secondary",3,"title"],[1,"myAssessment",2,"height","auto"],[1,"row","mt-0","mt-sm-3","mb-lg-0","align-items-center","p-1035"],[1,"col-8","col-sm-8","p-0","px-sm-1"],["src","./assets/online-portal/file-search.png","alt","",1,"img-fluid",2,"vertical-align","sub"],[1,"col-4","col-sm-4","text-right"],["routerLink","/navigation-bar/mentor/assessments",2,"color","#00CEB1","position","relative","cursor","pointer",3,"queryParams"],[1,"row","p-1035","mt-3"],["class","col-lg-12 col-sm-12 col-xs-12 col-xl-12 col-md-12 text-center px-0",4,"ngIf"],["style","width: 100%; ",3,"carouselCells","arrowsEnable","height",4,"ngIf"],[1,"row","mt-3","verifiedStrength"],["src","./assets/online-portal/Path-298.png","alt","",1,"img-fluid","ml-38",2,"vertical-align","sub"],["class","row mt-3 ml-38",4,"ngIf"],["class","row p-1035",4,"ngIf"],[1,"row","mt-md-3","mt-lg-5","md-lg-5"],[1,"col-sm-6","col-md-6","p-0","col-lg-6","col-xl-6"],[1,"col-md-12","colPdng40",2,"margin-top","-7px"],[1,"bx","bxs-briefcase","briefCase-icon"],["class","no-records-found",4,"ngIf"],["class","row","style","margin-bottom: 20px;margin-top: 30px;margin-left: 10px;",4,"ngFor","ngForOf"],[1,"col-sm-6","col-md-6","p-0","col-xl-6","col-lg-6"],["src","../../../assets/cap.svg","alt","",1,"img-fluid","eduimage",2,"width","35px","height","35px","vertical-align","bottom"],["class","row ","style","margin-top: 30px;",4,"ngFor","ngForOf"],[1,"mt-md-3","mt-lg-5","md-lg-5","mt-3"],[1,"d-flex"],[1,"mr-auto","my-auto","p-xl-2"],["src","./assets/online-portal/heart.png","alt","",1,"ml-lg-2","ml-xl-2",2,"vertical-align","sub"],[1,"about","mt-2"],[1,"ml-auto","my-auto","d-block"],[1,"btn","intersestEdit",3,"click"],["aria-hidden","true",1,"fa","fa-pencil-square-o"],["class","row mt-3 ml-38 newB
1order",4,"ngIf"],["class","modal fade","id","userDetailsModelToEdit","tabindex","-1","role","dialog","aria-labelledby","modelTitleId","aria-hidden","true",4,"ngIf"],["class","modal fade","id","interestAreasModelToEdit","tabindex","-1","role","dialog","aria-labelledby","modelTitleId","aria-hidden","true",4,"ngIf"],["data-backdrop","false","id","importContacts","tabindex","-1","role","dialog","aria-labelledby","modelTitleId","aria-hidden","true",1,"modal","fade"],["role","document",1,"modal-dialog","modal-dialog-scrollable","modal-lg"],[1,"modal-content",2,"border-radius","25px"],[1,"modal-header","border-0","mt-3"],[1,"modal-title","connectWithPeopleText"],["type","button","data-dismiss","modal","aria-label","Close",1,"close",3,"click"],[1,"importContactsText"],[1,"modal-body"],[1,"row","py-3"],[1,"col-lg-1","col-xl-1","col-md-2","col-sm-2","col-12","p-0"],["src","../../../assets/gmail.png","alt","",1,"img-fluid","gmailImage"],[1,"col-lg-11","col-xl-11","col-md-10","col-sm-10","col-12","my-auto","p-0","p-md-1","p-lg-1","p-sm-1","p-xl-1"],[1,"btn","btn-info","rounded-pill",3,"click"],["data-backdrop","false","id","searchContacts","tabindex","-1","role","dialog","aria-labelledby","modelTitleId","aria-hidden","true",1,"modal","fade"],[1,"modal-content",2,"border-radius","40px"],[1,"modal-header","border-bottom-0"],["type","button","data-dismiss","modal","aria-label","close mr-3 mt-1",1,"close","mr-3","mt-1",3,"click"],[1,"row","mb-3"],[1,"col-lg-8"],[1,"col-lg-4","text-right"],["type","button",1,"btn","btn-default","EditProfileButton-header","rounded-pill",3,"disabled","click"],[1,"row","mb-4"],[1,"input-group","searchgroupKeyTrigger","mr-2"],["type","text","placeholder","Start typing the name of the person you want to connect with.....",1,"form-control","border-left-0","search-box",3,"ngModel","ngModelChange","keyup.enter"],[1,"input-group-prepend",3,"click"],[1,"input-group-text"],[1,"bx","bx-search",2,"font-size","larger"],[1,"col-lg-4","selectOrUnselectTextColor","text-right"],[1,"btn","btn-default",2,"opacity","1",3,"click"],["id","table",1,"table","table-hover",2,"border-radius","0 !important"],["style","border-bottom: 1px solid #8796a8;",4,"ngFor","ngForOf"],["aria-hidden","true",1,"fa","fa-arrow-left",2,"font-size","x-large",3,"click"],[1,"col-lg-12","col-sm-12","col-xs-12","col-xl-12","col-md-12","text-center","px-0"],[1,"card","text-center","py-5"],[1,"card-body"],[1,"mb-0"],[2,"width","100%",3,"carouselCells","arrowsEnable","height"],["class","carousel-cell ",4,"ngFor","ngForOf"],[1,"carousel-cell"],[3,"assessment"],[1,"row","mt-3","ml-38"],["class","p-0 d-in",4,"ngFor","ngForOf"],[1,"p-0","d-in"],[1,"li16","mx-1",3,"title"],[1,"li15k","mr-2",3,"title"],[1,"px-3",3,"title"],[1,"ln2"],[1,"row","p-1035"],[1,"card","w-100"],[1,"text-center"],[1,"no-records-found"],[1,"row",2,"margin-bottom","20px","margin-top","30px","margin-left","10px"],[1,"col-md-3","col-xl-2","col-lg-3","px-0","d-flex","justify-content-md-center"],["src","./assets/user.png","alt","some image",1,"sideImage",2,"height","80px"],[1,"col-md-9","col-xl-10","col-lg-9","px-0","educationAndExperienceDetails"],[1,"m-0","font-weight-bold"],[1,"text-secondary","text-truncate","m-0",3,"title"],[1,"text-secondary"],[1,"dotImage"],[1,"row",2,"margin-top","30px"],[1,"col-md-3","col-lg-3","col-xl-2","px-0","d-flex","justify-content-md-center"],[1,"col-md-9","col-lg-9","col-xl-10","px-0","educationAndExperienceDetails"],[1,"row","mt-3","ml-38","newBorder"],[4,"ngFor","ngForOf"],[1,"row","mr-2"],[1,"header-border","mt-4"],[1,"heading"],["type","button","class","btn ml-2 mb-2 btn-sm newBtn",3,"title",4,"ngFor","ngForOf"],["type","button",1,"btn","ml-2","mb-2","btn-sm","newBtn",3,"title"],["type","button","class","btn ml-2 mt-1 mb-1 btn-sm newBtn",3,"title",4,"ngFor","ngForOf"],["type","button",1,"btn","ml-2","mt-1","mb-1","btn-sm","newBtn",3,"title"],["id","userDetailsModelToEdit","tabindex","-1","role","dialog","aria-labelledby","modelTitleId","aria-hidden","true",1,"modal","fade"],["role","document",1,"modal-dialog","modal
1-xl","modal-dialog-scrollable"],[1,"modal-header"],[1,"modal-title","ml-3"],["aria-hidden","true",3,"click"],[1,"col-lg-6"],["placeholder","Enter First Name","name","firstName","maxlength","35","autocomplete","off",1,"form-control",3,"ngModel","ngModelChange","blur","keypress"],[1,"d-flex","justify-content-end","sofiaProRegular","maxLengthTxt"],[1,"col-lg-6","mt-3","mt-lg-0"],["placeholder","Enter Last Name","name","lastName","maxlength","30","autocomplete","off",1,"form-control",3,"ngModel","ngModelChange","blur","keypress"],[1,"col-lg-12","mt-3","mt-lg-0"],["name","profileOverView","id","profileOverView","placeholder","Profile Overview","autocomplete","off",1,"form-control",3,"ngModel","blur","ngModelChange"],[1,"row","mt-3"],["for","profilePicture"],[1,"col-lg-4","col-xl-4","col-12","p-0"],["alt","profileImage",1,"img-thumbnail","image-cropper1",2,"border-radius","100%","width","160px","height","150px",3,"src"],[1,"col-lg-6","col-xl-6","col-12","p-0","my-auto"],[1,""],[1,"w-100","btn","btn-default","buttonColor1","btn-block",3,"click"],["aria-hidden","true",1,"fa","fa-paperclip"],[3,"ngStyle","click"],["aria-hidden","true",1,"fa","fa-trash-o",2,"cursor","pointer","color","red"],[1,"col-6"],[1,"justify-content-center","align-items-end","d-flex","mt-4"],["class","w-100 btn btn-default buttonColor1 btn-block",3,"click",4,"ngIf"],["type","file","name","file","id","file","accept","image/*",2,"display","none",3,"click","change"],["fileInput",""],[2,"width","100%"],["rows","5","cols","10","id","aboutText","placeholder","Type Here...","name","about",1,"p-3",2,"width","100%","max-width","100%","border","1px solid gainsboro",3,"ngModel","input","blur","ngModelChange","keyup"],["name","email","id","profileOverView","placeholder","Enter Email Id",1,"form-control",3,"ngModel","blur","ngModelChange"],[1,"mt-3","mb-3"],[1,"d-flex","justify-content-between","align-items-center"],[1,"ml-3"],[1,"btn","btn-info","text-light","removeMoment","mr-3","btninfoFilter",3,"click"],[1,"modal-footer"],["type","button","id","closeButton","class","btn btn-secondary btninfoFilter","data-dismiss","modal",3,"click",4,"ngIf"],["type","button","id","closeButton","class","btn btn-secondary btninfoFilter","data-dismiss","modal",4,"ngIf"],["type","button",1,"btn","btn-info","text-light","btninfoFilter",3,"click"],["aria-hidden","true",1,"fa","fa-trash"],[1,"d-flex","justify-content-start"],[1,"btn","btn-info","ml-3","text-light","btninfoFilter",3,"click"],[1,"row","mt-3","mb-3"],["for","fieldOfStudy"],["name","fieldOfStudy","placeholder","Enter Field Of Study",1,"form-control",3,"ngModel","ngModelChange","blur"],["fieldOfStudy","ngModel"],["class","alert alert-danger",4,"ngIf"],["for","institutionAddress"],["name","institutionAddress","placeholder","Enter Institution Address",1,"form-control",3,"ngModel","ngModelChange","blur"],["for","fromYear"],["type","date","name","fromYear",1,"form-control",3,"max","ngModel","keydown","ngModelChange"],["for","toYear"],["type","date","name","toYear",1,"form-control",3,"max","ngModel","keydown","ngModelChange"],[1,"col-lg-12"],["for","institutionName"],["name","institutionName","placeholder","Enter Institution Name",1,"form-control",3,"ngModel","ngModelChange","blur"],[1,"alert","alert-danger"],["for","designation"],["name","designation","placeholder","Enter Designation",1,"form-control",3,"ngModel","ngModelChange","blur"],["for","organizationAddress"],["name","organizationAddress","placeholder","Enter Organization Address",1,"form-control",3,"ngModel","ngModelChange","blur"],["for","organizationName"],["name","organizationName","placeholder","Enter Organization Name",1,"form-control",3,"ngModel","ngModelChange","blur"],["type","button","id","closeButton","data-dismiss","modal",1,"btn","btn-secondary","btninfoFilter",3,"click"],["type","button","id","closeButton","data-dismiss","modal",1,"btn","btn-secondary","btninfoFilter"],["id","interestAreasModelToEdit","tabindex","-1","role","dialog","aria-labelledby","modelTitleId","aria-hidden","true",1,"modal","fade"],[1,"selectUrGrd"],["type","button","class","btn  ml-2 mt-1 mb-2 btn-sm",3,"title","ngClass","click",4,"ngFor","ngForOf"],["class","mt-4",4,"ngIf","ngIfElse"],["noSub",""],["type","button","id","closeButton","data-dismiss","modal",1,"btn","btn-secondary","btninfoFilter","px-4"],["type","button",1,"btn","btn-info","text-light","btninfoFilter","px-4",3,"click"],["type","button",1,"btn","ml-2","mt-1","mb-2","btn-sm",3,"title","ngClass","click"],[1,"mt-4"],[1,"subjectText"],["type","button","class","btn  ml-2 mt-1 mb-2 btn-sm falseClass",3,"ngClass","title","click",4,"ngFor","ngForOf"],["type","button",1,"btn","ml-2","mt-1","mb-2","btn-sm","falseClass",3,"ngClass","title","click"],[2,"border-bottom","1px solid #8796a8"],[1,"border-0"],[1,"col-lg-2","col-xl-1"],[1,"main"],["type","checkbox",3,"name","ngModel","value","ngModelChange","change"],[1,"geekmark"],[1,"col-lg-10","col-xl-11"],[1,"contactFullName"],[1,"mt-xl-2"],[1,"contactMobileNumber"]],template:function(i,n){1&i&&(e.\u0275\u0275template(0,Ye,1,0,"app-loader",0),e.\u0275\u0275template(1,Je,1,0,"app-loader",0),e.\u0275\u0275template(2,kt,162,39,"section",0),e.\u0275\u0275elementStart(3,"div",1)(4,"div",2)(5,"div",3)(6,"div",4)(7,"p",5),e.\u0275\u0275text(8,"Remove Profile Picture ?"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"button",6)(10,"span",7),e.\u0275\u0275text(11,"\xd7"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(12,"div",8)(13,"p",9),e.\u0275\u0275text(14,"Are you sure you want to remove profile picture"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"div",10)(16,"button",11),e.\u0275\u0275listener("click",function(){return n.removeProfilePicture()}),e.\u0275\u0275element(17,"i",12),e.\u0275\u0275text(18," Remove "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(19,"button",13),e.\u0275\u0275text(20,"Cancel"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275element(21,"app-footer")),2&i&&(e.\u0275\u0275property("ngIf",n.isLoading),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",n.isLoadingForUserPorfileService),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",n.isShow))},dependencies:[m.mk,m.sg,m.O5,m.PC,u.rH,f.Fj,f.Wl,f.JJ,f.nD,f.On,O.R,F.c,te.D,ne.F,ie.n],styles:['.grecaptcha-badge[_ngcontent-%COMP%]{display:none}.checkbox-round[_ngcontent-%COMP%]:checked{background:linear-gradient(to right,#00e1ac,#03799c)}table[_ngcontent-%COMP%]   #table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:first-child{background-color:red}.text-secondary[_ngcontent-%COMP%]{color:#8796a8}.wordB[_ngcontent-%COMP%]{word-break:break-all}.main[_ngcontent-%COMP%]{display:block;position:relative;padding-left:45px;margin-bottom:15px;cursor:pointer;font-size:20px}.txt-ellipsisForAbout[_ngcontent-%COMP%]{width:100%;-webkit-line-clamp:50;word-break:break-all}input[type=checkbox][_ngcontent-%COMP%]{visibility:hidden}.geekmark[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:25px;width:25px;background-color:#fff;border:2px solid #8796a8;border-radius:25px;content:"*"}.main[_ngcontent-%COMP%]:hover   input[_ngcontent-%COMP%] ~ .geekmark[_ngcontent-%COMP%]{background-color:#fff}.main[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:active ~ .geekmark[_ngcontent-%COMP%]{background-color:#fff}.main[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:checked ~ .geekmark[_ngcontent-%COMP%]{background-color:#fff;border:2px solid #00e1ac}.geekmark[_ngcontent-%COMP%]:after{content:"";position:absolute;display:block;top:3px}.main[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:not(:checked) ~ .geekmark[_ngcontent-%COMP%]:after{content:"";position:absolute;display:block;border:2px solid #8796a8;transform:rotate(45deg);border-width:0 3px 3px 0;top:3px;left:8px}.main[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:checked ~ .geekmark[_ngcontent-%COMP%]:after{display:block}.main[_ngcontent-%COMP%]   .geekmark[_ngcontent-%COMP%]:after{left:8px;bottom:6px;width:7px;height:12px;border:2px solid #00e1ac;border-width:0 3px 3px 0;transform:rotate(45deg)}.row[_ngcontent-%COMP%]{margin:0;padding:0}.inner-addon[_ngcontent-%COMP%]{position:relative}
1.inner-addon[_ngcontent-%COMP%]   .searchIcon[_ngcontent-%COMP%]{position:absolute;padding:10px;pointer-events:none}.left-addon[_ngcontent-%COMP%]   .searchIcon[_ngcontent-%COMP%]{left:3px}.searchIcon[_ngcontent-%COMP%]{font-size:20px;top:3px}input[_ngcontent-%COMP%]::-webkit-input-placeholder{line-height:3}.left-addon[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{padding-left:30px}.dot[_ngcontent-%COMP%]{height:6px;width:6px;background:#8796a8;border-radius:50%;display:inline-block;vertical-align:middle;margin:0 8px}.contactFullName[_ngcontent-%COMP%]{color:#1e3757;font-size:16px;font-weight:550}.contactMobileNumber[_ngcontent-%COMP%]{color:#1e3757;font-size:16px;font-weight:500}.searchIconForContacts[_ngcontent-%COMP%]{font-size:19px;padding:11px 9px;color:#8796a8}.underline[_ngcontent-%COMP%]{color:#1e3757;text-decoration:underline}.searchUsersButton[_ngcontent-%COMP%]{display:flex;margin:8px 28px;padding:8px 20px}.onlinePortalUrl[_ngcontent-%COMP%]{display:flex;margin:8px 27px}.userPlusIcon[_ngcontent-%COMP%]{font-size:21px;position:relative;top:2px;left:0;font-weight:500}table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:first-child{border-top-left-radius:10px;border-bottom-left-radius:10px}table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:last-child{border-top-right-radius:10px;border-bottom-right-radius:10px}.onlineportal-header[_ngcontent-%COMP%]{background-color:#2f3337;background:url(online-Portal-Background-image.4f84e66891a1da94.png);background-size:cover;background-position:center;height:250px;border-radius:20px}.name[_ngcontent-%COMP%]{font-size:xxx-large;position:relative;top:72px;font-weight:500}#name[_ngcontent-%COMP%]{display:flex;text-overflow:ellipsis;overflow:hidden;width:500px;white-space:nowrap;position:relative;top:100px;left:9px}#share-Online-Portal-Link[_ngcontent-%COMP%]{padding:0}.plus-Symbol[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.1215686275);width:-moz-fit-content;width:fit-content;padding:2px 8px}.removeMoment[_ngcontent-%COMP%]{position:relative}.img-hgt[_ngcontent-%COMP%]{width:200px;height:200px}.text-bottom[_ngcontent-%COMP%]{transform:translateY(90px);font-size:x-large;font-weight:500;text-shadow:0px 2px 4px rgba(0,0,0,.5);font-size:22px;padding:10px}.text-bottom1[_ngcontent-%COMP%]{font-size:14px;text-shadow:0px 2px 4px rgba(0,0,0,.5)}.colPdng40[_ngcontent-%COMP%]{padding:0 30px}.ml-38[_ngcontent-%COMP%]{margin-left:27px}.ml-23[_ngcontent-%COMP%]{margin-left:23px}.p-1035[_ngcontent-%COMP%]{padding:10px 25px}.editButton[_ngcontent-%COMP%]{margin-bottom:0}li[_ngcontent-%COMP%]{font-size:12px}.price[_ngcontent-%COMP%]{font-size:18px!important;font-weight:600}.dropdown[_ngcontent-%COMP%]{display:inline-block;position:relative}.dropdown-content[_ngcontent-%COMP%]{border-radius:10px;margin:10px;padding:20px;display:none;position:absolute;left:0;background-color:#fff;min-width:300px;height:auto;box-shadow:0 8px 16px #0003;z-index:10000000000000000000}.dropdown[_ngcontent-%COMP%]:hover   .dropdown-content[_ngcontent-%COMP%]{display:block}table[_ngcontent-%COMP%]{border-radius:20px!important}.top-Pencil-Edit[_ngcontent-%COMP%]{margin-left:150px;margin-top:-80px}.assessments[_ngcontent-%COMP%]{margin:0 33px}.seeAll[_ngcontent-%COMP%]{margin:0 33px;background-color:#fff;border:1px solid #298ecc;color:#298ecc}.seeAll1[_ngcontent-%COMP%]{background-color:#298ecc;color:#fff;font-weight:600}.AllButtonsColor[_ngcontent-%COMP%]{color:#00ceb1}.EditProfileButton-header[_ngcontent-%COMP%]{background:linear-gradient(90deg,#10c69b 23.49%,#03799c 72.57%)!important;color:#fff}.buttonSizes[_ngcontent-%COMP%]{margin-top:95px}#pencil-alignment[_ngcontent-%COMP%]{position:relative;bottom:32px;left:12px}#title-of-user[_ngcontent-%COMP%]{position:relative;left:25px;font-size:23px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#Number-Of-Mentors[_ngcontent-%COMP%]{position:relative;left:28px;font-size:18px}#Profile-Overview[_ngcontent-%COMP%]{position:relative;left:25px;font-size:15px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media screen and (min-width: 280px) and (max-width: 360px){.onlineportal-header[_ngcontent-%COMP%]{height:200px}.customboxClass[_ngcontent-%COMP%]{top:0!important;left:0!important;margin:auto}.editButton[_ngcontent-%COMP%]{margin-bottom:12px!important}#outer[_ngcontent-%COMP%]{justify-content:space-between!important;flex-wrap:wrap!important}#title-of-user[_ngcontent-%COMP%]{font-size:45px!important;font-weight:500!important;top:10px!important;left:0!important}#Profile-Overview[_ngcontent-%COMP%], #Number-Of-Mentors[_ngcontent-%COMP%]{top:0;left:0!important;line-height:30px!important}.profile-completeness[_ngcontent-%COMP%]{font-size:25px!important}.progress-Bar[_ngcontent-%COMP%]{height:40px!important;top:10px!important}.colPdng40[_ngcontent-%COMP%]{padding:0}.aboutext[_ngcontent-%COMP%]{margin:10px 0!important;font-size:18px!important}.ml-38[_ngcontent-%COMP%], .ml-23[_ngcontent-%COMP%]{margin-left:0!important}.about[_ngcontent-%COMP%]{font-size:20px!important;line-height:1.5!important}.no-records-found[_ngcontent-%COMP%]{font-size:16px!important}.p-1035[_ngcontent-%COMP%]{padding:0!important}}@media screen and (min-width: 280px) and (max-width: 470px){  body .ui-paginator .ui-paginator-pages{display:none!important}legend[_ngcontent-%COMP%]{font-size:1.25rem!important}}@media screen and (min-width: 360px) and (max-width: 576px){legend[_ngcontent-%COMP%]{font-size:1.25rem!important}.onlineportal-header[_ngcontent-%COMP%]{height:200px}.customboxClass[_ngcontent-%COMP%]{top:0!important;left:0!important;margin:auto}.editButton[_ngcontent-%COMP%]{margin-bottom:12px!important}#outer[_ngcontent-%COMP%]{justify-content:space-between!important;flex-wrap:wrap!important}#title-of-user[_ngcontent-%COMP%]{font-size:45px!important;font-weight:500!important;left:0!important;line-height:1.5!important}#Profile-Overview[_ngcontent-%COMP%], #Number-Of-Mentors[_ngcontent-%COMP%]{top:0;left:0!important;line-height:30px!important}.profile-completeness[_ngcontent-%COMP%]{font-size:25px!important}.progress-Bar[_ngcontent-%COMP%]{height:40px!important;top:10px!important}.colPdng40[_ngcontent-%COMP%]{padding:0}.aboutext[_ngcontent-%COMP%]{margin:10px 0!important;font-size:18px!important}.ml-38[_ngcontent-%COMP%], .ml-23[_ngcontent-%COMP%]{margin-left:0!important}.about[_ngcontent-%COMP%]{font-size:20px!important;line-height:1.5!important}.no-records-found[_ngcontent-%COMP%]{font-size:16px!important}.p-1035[_ngcontent-%COMP%]{padding:0!important}}@media screen and (min-width: 576px) and (max-width: 768px){.onlineportal-header[_ngcontent-%COMP%]{height:200px}.searchUsersButton[_ngcontent-%COMP%]{margin:8px 0;padding:8px 20px}.onlinePortalUrl[_ngcontent-%COMP%]{margin:8px 0}.customboxClass[_ngcontent-%COMP%]{top:0!important;left:0!important;margin-left:auto}.editButton[_ngcontent-%COMP%]{margin-bottom:12px!important}#outer[_ngcontent-%COMP%]{justify-content:flex-end!important;flex-wrap:wrap!important}#title-of-user[_ngcontent-%COMP%]{font-size:45px!important;font-weight:500!important;top:10px!important;left:0!important;line-height:1.5!important}#Profile-Overview[_ngcontent-%COMP%], #Number-Of-Mentors[_ngcontent-%COMP%]{top:0;left:0!important;line-height:30px!important}.profile-completeness[_ngcontent-%COMP%]{font-size:25px!important}.no-records-found[_ngcontent-%COMP%]{font-size:20px!important}.progress-Bar[_ngcontent-%COMP%]{top:10px!important;height:40px!important}.colPdng40[_ngcontent-%COMP%]{padding:0}.aboutext[_ngcontent-%COMP%]{margin:10px 0!important;font-size:18px!important}.ml-38[_ngcontent-%COMP%], .ml-23[_ngcontent-%COMP%]{margin-left:0!important}.about[_ngcontent-%COMP%]{font-size:20px!important;line-height:1.5!important}#Profile-Overview[_ngcontent-%COMP%]{font-size:18px!important;line-height:40px!important}#Number-Of-Mentors[_ngcontent-%COMP%]{line-height:30px!important}.p-1035[_ngcontent-%COMP%]{padding:0!important}}@media screen and (min-width: 768px) and (max-width: 991px){.name[_ngcontent-%COMP%]{font-size:x-large;font-weight:500}.searchUsersButton[_ngcontent-%COMP%]{margin:8px 0;padding:8px 20px}.onlinePortalUrl[_ngcontent-%COMP%]{display:flex;margin:8px 0}.p-1035[_ngcontent-%COMP%]{padding:0!important}.ml-38[_ngcontent-%COMP%]{margin-left:0!important}.text-bottom[_ngcontent-%COMP%]{font-size:x-large;font-weight:500}.text-bottom1[_ngcontent-%COMP%]{font-size:14px}#title-of-user[_ngcontent-%COMP%]{left:0!important}#Profile-Overview[_ngcontent-%COMP%]{left:0!important;font-size:20px!important}#Number-Of-Mentors[_ngcontent-%COMP%]{left:0!important;line-height:30px!important}.customboxClass[_ngcontent-%COMP%]{top:110px!important;left:25px!important}.profile-completeness[_ngcontent-%COMP%]{font-size:25px!important}.progress-Bar[_ngcontent-%COMP%]{top:10px!important;max-width:360px!important}.colPdng40[_ngcontent-%COMP%]{padding:0!important}}@media screen and (min-width: 992px) and (max-width: 1200px){.name[_ngcontent-%COMP%]{font-size:x-large;font-weight:500}#share-Online-Portal-Link[_ngcontent-%COMP%]{padding:0 34px}.customboxClass[_ngcontent-%COMP%]{top:110px!important;left:25px!important}.profile-completeness[_ngcontent-%COMP%]{font-size:25px!important}#Profile-Overview[_ngcontent-%COMP%]{font-size:20px!important}.progress-Bar[_ngcontent-%COMP%]{top:10px!important;max-width:360px!important;margin-left:auto!important}.text-bottom[_ngcontent-%COMP%]{font-size:x-large;font-weight:500}.text-bottom1[_ngcontent-%COMP%]{font-size:14px}.ellipse[_ngcontent-%COMP%]{white-space:nowrap;text-overflow:ellipsis;width:130px;overflow:hidden}}@media screen and (min-width: 1201px) and (max-width: 1500px){.customboxClass[_ngcontent-%COMP%]{top:120px!important;left:25px!important}#share-Online-Portal-Link[_ngcontent-%COMP%]{padding:0 34px}.profile-completeness[_ngcontent-%COMP%]{font-size:22px!important}#Profile-Overview[_ngcontent-%COMP%]{font-size:25px!important}.progress-Bar[_ngcontent-%COMP%]{top:10px!important;max-width:360px!important}.name[_ngcontent-%COMP%], .text-bottom[_ngcontent-%COMP%]{font-size:x-large;font-weight:500}.text-bottom1[_ngcontent-%COMP%]{font-size:14px}.ellipse[_ngcontent-%COMP%]{white-space:nowrap;text-overflow:ellipsis;width:160px;overflow:hidden}}@media screen and (min-width: 768px) and (max-width: 991px){.top-Pencil-Edit[_ngcontent-%COMP%]{margin-left:90px;margin-top:-80px}}@media screen and (min-width: 992px) and (max-width: 1199px){.top-Pencil-Edit[_ngcontent-%COMP%]{margin-left:70px;margin-top:-80px}}@media screen and (min-width: 1200px) and (max-width: 1399px){.top-Pencil-Edit[_ngcontent-%COMP%]{margin-left:120px;margin-top:-80px}}@media screen and (min-width: 1500px) and (max-width: 2600px){.buttonSizes[_ngcontent-%COMP%]{position:relative;top:35px}#share-Online-Portal-Link[_ngcontent-%COMP%]{padding:0 34px}.customboxClass[_ngcontent-%COMP%]{top:110px!important;left:25px!important}.profile-completeness[_ngcontent-%COMP%]{font-size:23px!important;padding-left:225px}#Profile-Overview[_ngcontent-%COMP%]{font-size:25px!important}.progress-Bar[_ngcontent-%COMP%]{top:10px!important;max-width:360px!important;margin-left:auto!important}}@media screen and (max-width: 992px){#pencil-alignment[_ngcontent-%COMP%]{position:relative;bottom:30px;left:10px}}@media screen and (min-width: 1700px) and (max-width: 2600px){#pencil-alignment[_ngcontent-%COMP%]{position:relative;bottom:30px;left:-30px}#title-of-user[_ngcontent-%COMP%]{font-size:30px}#Number-Of-Mentors[_ngcontent-%COMP%]{font-size:27px}#Profile-Overview[_ngcontent-%COMP%]{font-size:28px}}.buttonColor1[_ngcontent-%COMP%]{background:white;border:1px solid #1670a1;background:-webkit-linear-gradient(#37a5b5,#1d72a3);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.selectOrUnselectTextColor[_ngcontent-%COMP%]{background:-webkit-linear-gradient(180deg,#00e1ac 0%,#03799c 100%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.customSearchClass[_ngcontent-%COMP%]{position:absolute;right:30px}.searchicon[_ngcontent-%COMP%]{position:relative!important}.customboxClass[_ngcontent-%COMP%]{border:3px solid #bfbfbf;border-radius:10px;background:#fff!important;min-height:50px;max-height:200px;position:relative;top:150px;
1left:25px;min-width:50px;max-width:200px}#title-of-user[_ngcontent-%COMP%]{color:#1e3757!important;font-style:normal!important;font-weight:600;font-size:44px;line-height:62px;text-transform:capitalize}.defaultImageCustomClass[_ngcontent-%COMP%]{position:relative;left:-22px;bottom:41px}.editButton[_ngcontent-%COMP%]{background:linear-gradient(90deg,#00e1ac -17.6%,#03799c 110.6%)!important;min-width:147px}.buttonDefault[_ngcontent-%COMP%]{background:#fff!important;border:1px solid #ccc!important;border-radius:25px;margin:0 30px}#outer[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:flex-end;align-items:center;flex-wrap:nowrap}.inner[_ngcontent-%COMP%]{display:inline-block}#Number-Of-Mentors[_ngcontent-%COMP%]{font-size:17px;color:#8796a8}.about[_ngcontent-%COMP%]{font-style:normal;font-weight:600;font-size:26px;line-height:36px;color:#1e3757;margin-left:20px}.aboutext[_ngcontent-%COMP%]{margin:10px 16px;white-space:pre-line}.ulClass[_ngcontent-%COMP%]{display:flex;position:relative;right:63px}.li25[_ngcontent-%COMP%]{margin:5px 6px!important;list-style-type:none!important;background:#fff;border-radius:25px;color:#000!important;padding:5px;text-align:center;border:1px solid #ccc;display:inline-block!important}.li15k[_ngcontent-%COMP%]{list-style-type:none!important;background:#fff;border-radius:20px;color:#1e3757!important;padding:6px;text-align:center;border:1px solid #ccc;font-weight:400;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.li16[_ngcontent-%COMP%]{width:250px}.ln2[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;height:50px}.li17[_ngcontent-%COMP%]{font-style:normal;font-weight:700;font-size:13px;line-height:22px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:200px}.ff[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;width:115px;height:50px;white-space:nowrap}.ffh[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;height:40px}.d-in[_ngcontent-%COMP%]{display:inline-block!important}.li25[_ngcontent-%COMP%]:hover, .li15[_ngcontent-%COMP%]:hover{background-color:#2f9eb2;color:#fff!important}@media screen and (min-width: 280px) and (max-width: 359px){.li15[_ngcontent-%COMP%]{width:250px}}@media screen and (min-width: 360px) and (max-width: 419px){.li15[_ngcontent-%COMP%]{width:128px}}@media screen and (min-width: 420px) and (max-width: 450px){.li15[_ngcontent-%COMP%]{width:158px}}@media screen and (min-width: 576px) and (max-width: 767px){.li15[_ngcontent-%COMP%]{width:188px}}@media screen and (min-width: 768px) and (max-width: 840px){.li15[_ngcontent-%COMP%]{width:250px}}@media screen and (min-width: 841px) and (max-width: 991px){.li15[_ngcontent-%COMP%]{width:250px}}@media screen and (min-width: 1300px) and (max-width: 1399px){.li15[_ngcontent-%COMP%]{width:120px}}@media screen and (min-width: 1400px) and (max-width: 1499px){.li15[_ngcontent-%COMP%]{width:130px}}@media screen and (min-width: 1500px) and (max-width: 1699px){.li15[_ngcontent-%COMP%]{width:140px}}@media screen and (min-width: 1600px) and (max-width: 1699px){.li15[_ngcontent-%COMP%]{width:150px}}@media screen and (min-width: 1700px) and (max-width: 1799px){.li15[_ngcontent-%COMP%]{width:160px}}@media screen and (min-width: 1800px) and (max-width: 1899px){.li15[_ngcontent-%COMP%]{width:170px}}@media screen and (min-width: 1900px) and (max-width: 1999px){.li15[_ngcontent-%COMP%]{width:180px}}@media screen and (min-width: 2000px) and (max-width: 2499px){.li15[_ngcontent-%COMP%]{width:200px}}@media screen and (min-width: 280px) and (max-width: 575px){.searchUsersButton[_ngcontent-%COMP%]{margin:14px 0}.colPdng40[_ngcontent-%COMP%]{padding:0 3px}.eduimage[_ngcontent-%COMP%]{margin-left:-4px}.sideImage[_ngcontent-%COMP%]{margin-left:-9px}.onlinePortalUrl[_ngcontent-%COMP%]{display:flex;margin:14px 0}}.briefCase-icon[_ngcontent-%COMP%]{font-size:35px;margin-left:-5px;position:relative;top:8px;background:-webkit-linear-gradient(90deg,#00e1ac -17.6%,#03799c 110.6%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.Education-icon[_ngcontent-%COMP%]{font-size:37px;margin-left:0;position:relative;top:8px;background:-webkit-linear-gradient(90deg,#00e1ac -17.6%,#03799c 110.6%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.no-records-found[_ngcontent-%COMP%]{margin:10px 0;font-size:x-large;font-weight:500}.profile-completeness[_ngcontent-%COMP%]{color:#1e3757;font-size:25px}.progress-Bar[_ngcontent-%COMP%]{display:flex;height:50px;overflow:hidden;background-color:#e9ecef;border-radius:25px;transform:rotate(180deg);position:relative;top:20px}@media screen and (min-width: 992px) and (max-width: 1199px){.profile-completeness[_ngcontent-%COMP%]{color:#1e3757;font-size:25px;line-height:1.5}}@media screen and (min-width: 1200px) and (max-width: 1700px){.profile-completeness[_ngcontent-%COMP%]{color:#1e3757;font-size:25px;line-height:1.5}}@media screen and (min-width: 768px) and (max-width: 991px){.educationAndExperienceDetails[_ngcontent-%COMP%]{position:relative;
1left:15px}}.txt-ellips[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;width:115px;white-space:nowrap}@media screen and (min-width: 767px) and (max-width: 991px){.txt-ellips[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;width:150px;white-space:nowrap}}@media screen and (min-width: 992px) and (max-width: 1199px){.txt-ellips[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;width:180px;white-space:nowrap}}@media screen and (min-width: 1200px) and (max-width: 1399px){.txt-ellips[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;width:210px;white-space:nowrap}}@media screen and (min-width: 1400px) and (max-width: 1599px){.txt-ellips[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;width:270px;white-space:nowrap}}@media screen and (min-width: 1600px) and (max-width: 1799px){.txt-ellips[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;width:310px;white-space:nowrap}}@media screen and (min-width: 1800px) and (max-width: 2600px){.txt-ellips[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;width:350px;white-space:nowrap}}.stationIcon[_ngcontent-%COMP%]{background:#eaf8f4;padding:10px;border-radius:20px;color:#00e1ac;margin:5px 6px}.TextColorOfEntireApplication[_ngcontent-%COMP%]{color:#1e3757;font-size:17px;font-weight:500}.hoverForEntireTable[_ngcontent-%COMP%]:hover{border-radius:5px;background:linear-gradient(300.09deg,#11213d 1.33%,#123571 74.31%);color:#fff}.hoverForEntireTable[_ngcontent-%COMP%]:hover   .hoverForEntireTableForText[_ngcontent-%COMP%]{color:#fff}.hoverForEntireTable[_ngcontent-%COMP%]:hover   .stationIcon[_ngcontent-%COMP%]{background:linear-gradient(90deg,#00e1ac -17.6%,#03799c 110.6%);color:#fff}.hoverForEntireTable[_ngcontent-%COMP%]:hover   .AllButtonsColor[_ngcontent-%COMP%]{background:linear-gradient(90deg,#00e1ac 6.6%,#03799c 113.2%);color:#fff;border-radius:20px}.dotImage[_ngcontent-%COMP%]{background-image:url(Ellipse_62no_frame.69eb49a6af7da2c9.png);padding:0 4px;background-size:contain;background-repeat:no-repeat;position:relative;top:6px;margin:0 10px}.importContactsImage[_ngcontent-%COMP%]{width:25px;height:25px;position:relative;bottom:3px;right:1px}.gmailImage[_ngcontent-%COMP%]{width:60px;height:52px;margin:9px 0}.importContactsText[_ngcontent-%COMP%]{margin:0 18px;font-size:18px;color:#1e3757;font-weight:500}.connectWithPeopleText[_ngcontent-%COMP%]{font-size:18px;font-weight:600;margin:0 4px}.verifiedStrength[_ngcontent-%COMP%]   .img-fluid[_ngcontent-%COMP%]{vertical-align:text-bottom;width:30px;height:30px}.intersestEdit[_ngcontent-%COMP%]{padding:.275rem 0rem;border-radius:25px;padding-left:40px;padding-right:40px;border:1px solid #00e1ac;color:#00e1ac}.selectUrGrd[_ngcontent-%COMP%]{font-weight:500;font-size:20px;line-height:31px;color:#1e3757}.falseClass[_ngcontent-%COMP%]{color:#1e3757;background:#ffffff;font-weight:600;border-radius:10px;border:1px solid #1e3757;padding:10px 20px;font-size:16px;position:relative;right:10px}.trueClass[_ngcontent-%COMP%]{color:#fff;background:#1e3757;font-weight:600;border-radius:10px;border:1px solid #1e3757;padding:10px 20px;font-size:16px;position:relative;right:10px}.header-border[_ngcontent-%COMP%]{margin-bottom:5px;border:#1e3757 solid 1px;border-radius:20px;padding-left:15px;padding-right:15px}.heading[_ngcontent-%COMP%], .heading-subtitle[_ngcontent-%COMP%]{text-align:left;margin-top:-27px;margin-left:30px}.heading[_ngcontent-%COMP%] > span[_ngcontent-%COMP%], .heading-subtitle[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{background-color:#fff;box-shadow:#fff 11px 0,#fff -13px 0;font-weight:400;font-size:16px;line-height:25px;color:#1e3757}.boxClass[_ngcontent-%COMP%]{color:#1e3757;background:#ffffff;font-weight:600;border-radius:10px;border:1px solid #1e3757;padding:10px 20px;font-size:16px;position:relative;right:10px}.modal-header[_ngcontent-%COMP%]{border-bottom:0px solid #dee2e6}.modal-footer[_ngcontent-%COMP%]{border-top:0px solid #dee2e6}.remove-txt[_ngcontent-%COMP%]{font-weight:500;font-size:20px;line-height:27px;text-align:center;color:#1e3757}.conform-txt[_ngcontent-%COMP%]{font-weight:500;font-size:16px;line-height:27px;text-align:left;color:#1e3757}.remove-btn[_ngcontent-%COMP%]{background:linear-gradient(90deg,#00E1AC 0%,#03799C 100%);border-radius:25px;font-weight:600;font-size:20px;line-height:27px;text-align:center;color:#fff;border:none;padding:10px 30px}.cancel-btn[_ngcontent-%COMP%]{font-size:20px;line-height:27px;text-align:center;font-weight:500;color:#8796a8;background:#FFFFFF;border:1px solid #8796A8;border-radius:25px;padding:10px 45px}.modal-content[_ngcontent-%COMP%]{border:1px solid #03799C!important}.maxLengthTxt[_ngcontent-%COMP%]{color:#1e3757;font-size:14px}
1.newBorder[_ngcontent-%COMP%]{border:#6c757d solid 1px;border-radius:20px;padding-left:15px;padding-right:15px}.newBtn[_ngcontent-%COMP%]{cursor:pointer;color:#fff;background:#1e3757;font-weight:600;border-radius:10px;border:0px solid #03799c;padding:10px 20px;font-size:16px}']})}return a})(),Rt=(()=>{class a{constructor(){}ngOnInit(){}static#e=this.\u0275fac=function(i){return new(i||a)};static#t=this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-mentors-website"]],decls:1,vars:0,template:function(i,n){1&i&&e.\u0275\u0275element(0,"app-online-portal")},dependencies:[Lt]})}return a})();var se=p(27724),Nt=p(42538),ae=p(11907),A=p(11321),z=p(3056),B=p(45626),oe=p(25292);const T=["multiSelect"],Vt=["pp"];function qt(a,l){1&a&&e.\u0275\u0275element(0,"app-loader")}function Ut(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"a",105),e.\u0275\u0275listener("click",function(){const n=e.\u0275\u0275restoreView(t),s=n.$implicit,o=n.index,d=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(d.sort(s.value,o))}),e.\u0275\u0275elementStart(1,"span",106),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&a){const t=l.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",t.name," ")}}function zt(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",107)(1,"button",108),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.shareMultipleAssessment())}),e.\u0275\u0275text(2," Share Selected Assessments "),e.\u0275\u0275elementEnd()()}}function Bt(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",109)(1,"button",110),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.shareMultipleAssessment())}),e.\u0275\u0275text(2," Share Selected Assessments "),e.\u0275\u0275elementEnd()()}}function Qt(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div")(1,"div",111)(2,"div",112)(3,"h3",113),e.\u0275\u0275text(4,"You have not published any assessment till now"),e.\u0275\u0275elementEnd()()()())}function jt(a,l){1&a&&(e.\u0275\u0275elementStart(0,"span",143),e.\u0275\u0275text(1," (Draft) "),e.\u0275\u0275elementEnd())}function Ht(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",144)(1,"span",145),e.\u0275\u0275text(2),e.\u0275\u0275pipe(3,"slice"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"span"),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"span"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()),2&a){const t=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate("title",t.description),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" Description: ",(null==t||null==t.description?null:t.description.length)>50?e.\u0275\u0275pipeBind3(3,4,t.description,0,47)+"...":null==t?null:t.description," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" Tags:",t.tagsValue," "),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" Duration: ",t.durationInMinutes,"")}}function Wt(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",146),e.\u0275\u0275listener("click",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext().$implicit,o=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(o.shareAssessment(n,s))}),e.\u0275\u0275text(1," Share "),e.\u0275\u0275elementEnd()}}function Gt(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"a",147),e.\u0275\u0275listener("click",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext().$implicit,o=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(o.editAssessment(n,s.id,"publish"))}),e.\u0275\u0275element(2,"i",148),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()}}function $t(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"a",149),e.\u0275\u0275listener("click",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext().$implicit,o=e.\u0275\u0275nextContext(3);
1return e.\u0275\u0275resetView(o.deleteAssessment(n,s.id))}),e.\u0275\u0275element(2,"i",150),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()}}function Yt(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr",129),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(o.moreDetails(s))}),e.\u0275\u0275elementStart(1,"td",130)(2,"label",131)(3,"input",132),e.\u0275\u0275listener("click",function(n){const o=e.\u0275\u0275restoreView(t).$implicit,d=e.\u0275\u0275nextContext(3);return n.stopPropagation(),e.\u0275\u0275resetView(d.updateSelectedList(o))}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"td")(5,"span",106),e.\u0275\u0275text(6),e.\u0275\u0275template(7,jt,2,0,"span",133),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(8,Ht,8,8,"div",134),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td",135)(10,"div",136),e.\u0275\u0275element(11,"span",137),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td")(13,"div",17)(14,"div"),e.\u0275\u0275text(15),e.\u0275\u0275pipe(16,"titlecase"),e.\u0275\u0275pipe(17,"replace"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(18,"div",138),e.\u0275\u0275element(19,"div",139)(20,"div",139)(21,"div",139)(22,"div",139)(23,"div",139)(24,"div",139),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(25,"td",119),e.\u0275\u0275text(26),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(27,"td",119),e.\u0275\u0275template(28,Wt,2,0,"button",140),e.\u0275\u0275elementStart(29,"a",141),e.\u0275\u0275listener("click",function(n){const o=e.\u0275\u0275restoreView(t).$implicit,d=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(d.previewAssessmentPage(n,o.id,"publish"))}),e.\u0275\u0275element(30,"img",142),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(31,Gt,3,0,"ng-container",0),e.\u0275\u0275template(32,$t,3,0,"ng-container",0),e.\u0275\u0275elementEnd()()}if(2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(3),e.\u0275\u0275property("checked",i.isSelected(t)),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",null==(null==t?null:t.title)?"N/A":null==t?null:t.title," "),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","DRAFT"==t.assessmentStatus),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",null==t?null:t.showDetails),e.\u0275\u0275advance(3),e.\u0275\u0275property("innerHTML",null==(null==t?null:t.totalNumberOfQuestions)?"N/A":null==t?null:t.totalNumberOfQuestions,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1(" ",null==(null==t?null:t.difficultLevel)?"N/A":e.\u0275\u0275pipeBind1(16,16,e.\u0275\u0275pipeBind1(17,18,null==t?null:t.difficultLevel))," "),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,1)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,2)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,3)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,4)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,5)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,6)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",null==(null==t?null:t.createdMentorName)?"N/A":null==t?null:t.createdMentorName," "),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf","DRAFT"!=t.assessmentStatus),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf","Self"===(null==t?null:t.createdMentorName)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","Self"===(null==t?null:t.createdMentorName))}}function Jt(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div",151)(1,"div",152)(2,"h4",153),e.\u0275\u0275text(3,"No Records Found"),e.\u0275\u0275elementEnd()()())}function Kt(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",116)(1,"div",117)(2,"table",118)(3,"thead",119)(4,"tr"),e.\u0275\u0275element(5,"th",120),e.\u0275\u0275elementStart(6,"th",121),e.\u0275\u0275text(7,"Title"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"th",122),e.\u0275\u0275text(9,"No. of Questions"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"th",123),e.\u0275\u0275text(11,"Difficulty level"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"th",123),e.\u0275\u0275text(13,"Created by"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(14,"th",123),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"tbody"),e.\u0275\u0275template(16,Yt,33,20,"tr",124),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(17,Jt,4,0,"div",125),e.\u0275\u0275elementStart(18,"div",49)(19,"div",126)(20,"p-paginator",127,128),e.\u0275\u0275listener("onPageChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);
1return e.\u0275\u0275resetView(s.paginate(n))}),e.\u0275\u0275elementEnd()()()()()}if(2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(16),e.\u0275\u0275property("ngForOf",t.manageAssessmentListData),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0===(null==t.manageAssessmentListData?null:t.manageAssessmentListData.length)&&0==t.isLoading),e.\u0275\u0275advance(3),e.\u0275\u0275property("rows",t.numberOfRowsPerPage)("totalRecords",t.getTotalRecords())("first",t.first)}}function Xt(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",175)(1,"span",176),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"div")(4,"span",177)(5,"strong",178),e.\u0275\u0275text(6,"Tags :"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"div")(9,"span"),e.\u0275\u0275text(10),e.\u0275\u0275elementEnd()()()),2&a){const t=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",t.description," "),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",t.tagsValue," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" Duration: ",t.durationInMinutes,"")}}function Zt(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"a",147),e.\u0275\u0275listener("click",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext().$implicit,o=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(o.editAssessment(n,s.id,"publish"))}),e.\u0275\u0275element(2,"img",179),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()}}function en(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"a",149),e.\u0275\u0275listener("click",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext().$implicit,o=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(o.deleteAssessment(n,s.id))}),e.\u0275\u0275element(2,"img",180),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()}}function tn(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0,129),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(o.moreDetails(s))}),e.\u0275\u0275elementStart(1,"div",156),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(o.showDescription(s.id))}),e.\u0275\u0275elementStart(2,"div",157)(3,"div",158)(4,"div",159)(5,"div",160)(6,"input",161),e.\u0275\u0275listener("click",function(n){const o=e.\u0275\u0275restoreView(t).$implicit,d=e.\u0275\u0275nextContext(3);return n.stopPropagation(),e.\u0275\u0275resetView(d.updateSelectedList(o))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"div")(8,"p",162)(9,"Strong",163),e.\u0275\u0275text(10),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(11,Xt,11,3,"div",164),e.\u0275\u0275elementStart(12,"p",165),e.\u0275\u0275text(13,"No Of Que : "),e.\u0275\u0275elementStart(14,"strong"),e.\u0275\u0275element(15,"span",137),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(16,"p",165),e.\u0275\u0275text(17,"By : "),e.\u0275\u0275elementStart(18,"Strong"),e.\u0275\u0275text(19),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(20,"div",166)(21,"img",167),e.\u0275\u0275listener("click",function(n){const o=e.\u0275\u0275restoreView(t).$implicit,d=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(d.shareAssessment(n,o))}),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(22,"div",168)(23,"div",169)(24,"div",170)(25,"span",171),e.\u0275\u0275text(26),e.\u0275\u0275pipe(27,"titlecase"),e.\u0275\u0275pipe(28,"replace"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(29,"div",172),e.\u0275\u0275element(30,"div",139)(31,"div",139)(32,"div",139)(33,"div",139)(34,"div",139)(35,"div",139),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(36,"div",173)(37,"a",141),e.\u0275\u0275listener("click",function(n){const o=e.\u0275\u0275restoreView(t).$implicit,d=e.\u0275\u0275nextContext(3);
1return e.\u0275\u0275resetView(d.previewAssessmentPage(n,o.id,"publish"))}),e.\u0275\u0275element(38,"img",174),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(39,Zt,3,0,"ng-container",0),e.\u0275\u0275template(40,en,3,0,"ng-container",0),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementContainerEnd()}if(2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(6),e.\u0275\u0275property("checked",i.isSelected(t)),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1(" ",null==(null==t?null:t.title)?"N/A":null==t?null:t.title,""),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",i.showAllDescription&&t.id==i.assessmentId),e.\u0275\u0275advance(4),e.\u0275\u0275property("innerHTML",null==(null==t?null:t.totalNumberOfQuestions)?"N/A":null==t?null:t.totalNumberOfQuestions,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1(" ",null==(null==t?null:t.createdMentorName)?"N/A":null==t?null:t.createdMentorName,""),e.\u0275\u0275advance(7),e.\u0275\u0275textInterpolate1(" ",null==(null==t?null:t.difficultLevel)?"N/A":e.\u0275\u0275pipeBind1(27,14,e.\u0275\u0275pipeBind1(28,16,null==t?null:t.difficultLevel)),""),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,1)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,2)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,3)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,4)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,5)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,6)),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf","Self"===(null==t?null:t.createdMentorName)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","Self"===(null==t?null:t.createdMentorName))}}function nn(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",154),e.\u0275\u0275template(1,tn,41,18,"ng-container",124),e.\u0275\u0275elementStart(2,"div",49)(3,"div",155)(4,"p-paginator",127,128),e.\u0275\u0275listener("onPageChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.paginate(n))}),e.\u0275\u0275elementEnd()()()()}if(2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.manageAssessmentListData),e.\u0275\u0275advance(3),e.\u0275\u0275property("rows",t.numberOfRowsPerPage)("totalRecords",t.getTotalRecords())("first",t.first)}}function sn(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div"),e.\u0275\u0275template(1,Kt,22,5,"div",114),e.\u0275\u0275template(2,nn,6,4,"div",115),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==t.firstTimeUserForPublishedAssessments),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==t.firstTimeUserForPublishedAssessments)}}function an(a,l){1&a&&(e.\u0275\u0275elementStart(0,"h1",9),e.\u0275\u0275text(1,"Deleted Assessments"),e.\u0275\u0275elementEnd())}function on(a,l){1&a&&(e.\u0275\u0275elementStart(0,"span",143),e.\u0275\u0275text(1," (Draft) "),e.\u0275\u0275elementEnd())}function rn(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",185)(1,"span",145),e.\u0275\u0275text(2),e.\u0275\u0275pipe(3,"slice"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"span"),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"span"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()),2&a){const t=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate("title",t.description),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" Description: ",(null==t||null==t.description?null:t.description.length)>50?e.\u0275\u0275pipeBind3(3,4,t.description,0,47)+"...":null==t?null:t.description," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" Tags:",t.tagsValue," "),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" Duration: ",t.durationInMinutes,"")}}function ln(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",146),e.\u0275\u0275listener("click",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext().$implicit,o=e.\u0275\u0275nextContext(3);
1return e.\u0275\u0275resetView(o.recoverDeletedAssessments(n,s.id))}),e.\u0275\u0275text(1," Recover Assessment "),e.\u0275\u0275elementEnd()}}function dn(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"a",141),e.\u0275\u0275listener("click",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext().$implicit,o=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(o.previewAssessmentPage(n,s.id,"publish"))}),e.\u0275\u0275element(1,"img",142),e.\u0275\u0275elementEnd()}}function cn(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr",129),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(o.moreDetails(s))}),e.\u0275\u0275element(1,"td"),e.\u0275\u0275elementStart(2,"td")(3,"span",182),e.\u0275\u0275text(4),e.\u0275\u0275template(5,on,2,0,"span",133),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(6,rn,8,8,"div",183),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td",135)(8,"div",136),e.\u0275\u0275element(9,"span",137),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(10,"td")(11,"div",17)(12,"div"),e.\u0275\u0275text(13),e.\u0275\u0275pipe(14,"titlecase"),e.\u0275\u0275pipe(15,"replace"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(16,"div",138),e.\u0275\u0275element(17,"div",139)(18,"div",139)(19,"div",139)(20,"div",139)(21,"div",139)(22,"div",139),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(23,"td",119),e.\u0275\u0275text(24),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(25,"td",119),e.\u0275\u0275template(26,ln,2,0,"button",140),e.\u0275\u0275template(27,dn,2,0,"a",184),e.\u0275\u0275elementEnd()()}if(2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1(" ",null==(null==t?null:t.title)?"N/A":null==t?null:t.title," "),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","DRAFT"==t.assessmentStatus),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",null==t?null:t.showDetails),e.\u0275\u0275advance(3),e.\u0275\u0275property("innerHTML",null==(null==t?null:t.totalNumberOfQuestions)?"N/A":null==t?null:t.totalNumberOfQuestions,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1(" ",null==(null==t?null:t.difficultLevel)?"N/A":e.\u0275\u0275pipeBind1(14,14,e.\u0275\u0275pipeBind1(15,16,null==t?null:t.difficultLevel))," "),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,1)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,2)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,3)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,4)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,5)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,6)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",null==(null==t?null:t.createdMentorName)?"N/A":null==t?null:t.createdMentorName," "),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf","DRAFT"!=t.assessmentStatus),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","DRAFT"!=t.assessmentStatus)}}function mn(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",116)(1,"div",117)(2,"table",118)(3,"thead",119)(4,"tr"),e.\u0275\u0275element(5,"th",181),e.\u0275\u0275elementStart(6,"th",121),e.\u0275\u0275text(7,"Title"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"th",122),e.\u0275\u0275text(9,"No. of Questions"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"th",123),e.\u0275\u0275text(11,"Difficulty level"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"th",123),e.\u0275\u0275text(13,"Created by"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(14,"th",123),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"tbody"),e.\u0275\u0275template(16,
1cn,28,18,"tr",124),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"div",49)(18,"div",126)(19,"p-paginator",127,128),e.\u0275\u0275listener("onPageChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.paginateDeleteAssessments(n))}),e.\u0275\u0275elementEnd()()()()()}if(2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(16),e.\u0275\u0275property("ngForOf",t.deletedAssessmentListData),e.\u0275\u0275advance(3),e.\u0275\u0275property("rows",t.numberOfRows)("totalRecords",t.getTotalRecordsDeleteAssessment())("first",t.first)}}function pn(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div",151)(1,"div",152)(2,"h4",153),e.\u0275\u0275text(3,"No Records Found"),e.\u0275\u0275elementEnd()()())}function hn(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",175)(1,"span",176),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"div")(4,"span",177)(5,"strong",178),e.\u0275\u0275text(6,"Tags :"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"div")(9,"span"),e.\u0275\u0275text(10),e.\u0275\u0275elementEnd()()()),2&a){const t=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",t.description," "),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",t.tagsValue," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" Duration: ",t.durationInMinutes,"")}}function gn(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0,129),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(o.moreDetails(s))}),e.\u0275\u0275elementStart(1,"div",156),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(o.showDescription(s.id))}),e.\u0275\u0275elementStart(2,"div",157)(3,"div",158)(4,"div",159)(5,"div")(6,"p",162)(7,"Strong",163),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(9,hn,11,3,"div",164),e.\u0275\u0275elementStart(10,"p",165),e.\u0275\u0275text(11,"No Of Que : "),e.\u0275\u0275elementStart(12,"strong"),e.\u0275\u0275element(13,"span",137),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"p",165),e.\u0275\u0275text(15,"By : "),e.\u0275\u0275elementStart(16,"Strong"),e.\u0275\u0275text(17),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(18,"button",186),e.\u0275\u0275listener("click",function(n){const o=e.\u0275\u0275restoreView(t).$implicit,d=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(d.recoverDeletedAssessments(n,o.id))}),e.\u0275\u0275text(19," Recover Assessment "),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(20,"div",168)(21,"div",169)(22,"div",170)(23,"span",171),e.\u0275\u0275text(24),e.\u0275\u0275pipe(25,"titlecase"),e.\u0275\u0275pipe(26,"replace"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(27,"div",172),e.\u0275\u0275element(28,"div",139)(29,"div",139)(30,"div",139)(31,"div",139)(32,"div",139)(33,"div",139),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(34,"div",173)(35,"a",141),e.\u0275\u0275listener("click",function(n){const o=e.\u0275\u0275restoreView(t).$implicit,d=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(d.previewAssessmentPage(n,o.id,"publish"))}),e.\u0275\u0275element(36,"img",174),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementContainerEnd()}if(2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(8),e.\u0275\u0275textInterpolate1(" ",null==(null==t?null:t.title)?"N/A":null==t?null:t.title,""),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",i.showAllDescription&&t.id==i.assessmentId),e.\u0275\u0275advance(4),e.\u0275\u0275property("innerHTML",null==(null==t?null:t.totalNumberOfQuestions)?"N/A":null==t?null:t.totalNumberOfQuestions,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1(" ",null==(null==t?null:t.createdMentorName)?"N/A":null==t?null:t.createdMentorName,""),e.\u0275\u0275advance(7),e.\u0275\u0275textInterpolate1(" ",null==(null==t?null:t.difficultLevel)?"N/A":e.\u0275\u0275pipeBind1(25,11,e.\u0275\u0275pipeBind1(26,13,null==t?null:t.difficultLevel)),""),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,1)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,2)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,3)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,4)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,5)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,6))}}function un(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",154),e.\u0275\u0275template(1,gn,37,15,"ng-container",124),e.\u0275\u0275elementStart(2,"div",49)(3,"div",155)(4,"p-paginator",127,128),e.\u0275\u0275listener("onPageChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);
1return e.\u0275\u0275resetView(s.paginateDeleteAssessments(n))}),e.\u0275\u0275elementEnd()()()()}if(2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.deletedAssessmentListData),e.\u0275\u0275advance(3),e.\u0275\u0275property("rows",t.numberOfRows)("totalRecords",t.getTotalRecordsDeleteAssessment())("first",t.first)}}function fn(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div"),e.\u0275\u0275template(1,mn,21,4,"div",114),e.\u0275\u0275template(2,pn,4,0,"div",125),e.\u0275\u0275template(3,un,6,4,"div",115),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==t.firstTimeUserForPublishedAssessments&&null!=t.deletedAssessment&&t.deletedAssessmentListData.length>0),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0===(null==t.deletedAssessmentListData?null:t.deletedAssessmentListData.length)||null==t.deletedAssessment),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==t.firstTimeUserForPublishedAssessments&&null!=t.deletedAssessment)}}function _n(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",60)(1,"div",61)(2,"input",187),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(o.selectedGradeNew(s,"GRADE"))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"label",188),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd()()()}if(2&a){const t=l.$implicit,i=l.index;e.\u0275\u0275advance(2),e.\u0275\u0275propertyInterpolate1("id","grades_",i,"")("name","grades_",i,""),e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate1("for","grades_",i,""),e.\u0275\u0275propertyInterpolate("title",null==(null==t?null:t.tagHierarchy)?"N/A":null==t?null:t.tagHierarchy),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null==t?null:t.tagName,"")}}function xn(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",60)(1,"div",61)(2,"input",187),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(o.selectedOrUnSelectedtagForPurchesedFilter(s,"GRADE"))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"label",188),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd()()()}if(2&a){const t=l.$implicit,i=l.index;e.\u0275\u0275advance(2),e.\u0275\u0275propertyInterpolate1("id","grades_ForPurchesedFilter",i,"")("name","grades_PurchesedFilter",i,""),e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate1("for","grades_ForPurchesedFilter",i,""),e.\u0275\u0275propertyInterpolate("title",null==(null==t?null:t.tagHierarchy)?"N/A":null==t?null:t.tagHierarchy),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null==t?null:t.tagName,"")}}let vn=(()=>{class a{constructor(t,i,n,s,o,d,r,c){this.apiService=t,this.simpleModalService=i,this.activateroute=n,this.toaster=s,this.router=o,this.eventEmitterService=d,this.activatedroute=r,this.titleService=c,this.assessmentDto=new se.$,this.isReset=!1,this.getAssessmentDataRequest=new _.iE,this.getManageAssessment=new _.iE,this.getDeletedAssessment=new _.iE,this.getDataRequest=new w.l,this.getDataRequestForPurchesedFilters=new w.l,this.currentPage=1,this.numberOfRowsPerPage=5,this.numberOfRows=5,this.currentPageNumber=0,this.p=[],this.recordSelected=_.Tj.All,this.assesementsIds=[],this.more_Details=!1,this.gradeIds=[],this.gradsData=[],this.subjectsData=[],this.originalSubjectsData=[],this.topicsData=[],this.chaptersData=[],this.tagDto=new Nt.u,this.keywordTagForSubject="tagName",this.firstTimeUserForPublishedAssessments=!0,this.firstTimeUserForPurchesedAssessments=!0,this.isLoading=!1,this.selectedCities1=[],this.selectedAllTagsForFilter=[],this.selectedTagIds=[],this.selectedTagIdsForPurchesedFilter=[],this.selectedTagDto=[],this.selectedTagDtoForPurchesedFilter=[],this.allGrades=[],this.allGradesForPurchesedFilter=[],this.allSubjects=[],this.allSubjectsForPurchesedFilter=[],this.allSubjectsTagHierarchy=[],this.allChapters=[],this.allChaptersForPurchesedFilter=[],this.allTopics=[],this.allTopicsForPurchesedFilter=[],this.selectedAssessment=[],this.settingsForSubjectsFilter={singleSelection:!1,idField:"id",textField:"tagName",enableCheckAll:!1,selectAllText:"Select all",unSelectAllText:"UnSelect all",allowSearchFilter:!0,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:6,searchPlaceholderText:"Search Subject",noDataAvailablePlaceholderText:"No Subjects Available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!0},this.settingsForSubjectsFilterPurchesed={singleSelection:!1,idField:"id",textField:"tagName",enableCheckAll:!1,selectAllText:"Select all",unSelectAllText:"UnSelect all",allowSearchFilter:!0,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:6,searchPlaceholderText:"Search Subject",noDataAvailablePlaceholderText:"No Subjects Available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!0},this.settingsForTopicsFilter={singleSelection:!1,idField:"id",textField:"tagName",enableCheckAll:!1,selectAllText:"Select all",unSelectAllText:"UnSelect all",allowSearchFilter:!0,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:6,searchPlaceholderText:"Search Topic",noDataAvailablePlaceholderText:"No Topics Available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!0},this.settingsForTopicsFilterPurchesed={singleSelection:!1,idField:"id",textField:"tagName",enableCheckAll:!1,selectAllText:"Select all",unSelectAllText:"UnSelect all",allowSearchFilter:!0,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:6,searchPlaceholderText:"Search Topic",noDataAvailablePlaceholderText:"No Topics Available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!0},this.settingsForChapersFilter={singleSelection:!1,idField:"id",textField:"tagName",enableCheckAll:!1,selectAllText:"Select all",unSelectAllText:"UnSelect all",allowSearchFilter:!0,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:6,searchPlaceholderText:"Search Chapters",noDataAvailablePlaceholderText:"No Chapters Available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!0},this.settingsForChapersFilterPurchesed={singleSelection:!1,idField:"id",textField:"tagName",enableCheckAll:!1,selectAllText:"Select all",unSelectAllText:"UnSelect all",allowSearchFilter:!0,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:6,searchPlaceholderText:"Search Chapters",noDataAvailablePlaceholderText:"No Chapters Available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!0},this.fromDateMax=(new Date).toISOString().split("T")[0],this.toDateMax=(new Date).toISOString().split("T")[0],this.fromDateMaxForPurchesedFilter=(new Date).toISOString().split("T")[0],this.toDateMaxForPurchesedFilter=(new Date).toISOString().split("T")[0],this.manageTab=!0,this.createTab=!1,this.first=0,this.onSearchShowData=()=>{this.searchkey?(this.getManageAssessment.searchKey=this.searchkey,this.getDeletedAssessment.searchKey=this.searchkey,this.getManageAssessment.pageNumber=this.currentPageNumber,this.getDeletedAssessment.pageNumber=this.currentPageNumber):(this.getManageAssessment.searchKey="",this.getDeletedAssessment.searchKey=""),this.first=0,this.getManageAssessmentData(),this.getAllDeleteAssessments()},this.onSearchPurchasedShowData=h=>{h&&h.target.value?(this.getAssessmentDataRequest.searchKey=h.target.value,this.getAssessmentDataRequest.pageNumber=this.currentPageNumber):this.getAssessmentDataRequest.searchKey="",this.getAllPurchasedAssessment()},this.selectedSubjectsForPublishedFilter=[],this.selectedTopicsForPublishedFilter=[],this.selectedChaptersForPublishedFilter=[],this.selectedSubjectsForPurchesedFilter=[],this.selectedTopicsForPurchesedFilter=[],this.selectedChaptersForPurchesedFilter=[],this.showAllDescription=!1,this.streamSelectedNew=[],this.gradeSelectedNew=[],this.subjectSelectedNew=[],this.topicSelectedNew=[],this.chapterSelectedNew=[],this.selectedTagIdsNew=[],this.selectedTagDtoNew=[],this.updateProfileRequestTagIds=[],this.difficultyLevels=[{id:1,level:"EXTREMELY_EASY",isSelected:!1,difficultyLevelName:"Extremely Easy",description:"Directly from the content",displacement:"top"},{id:2,level:"VERY_EASY",isSelected:!1,difficultyLevelName:"Very Easy",description:"Based on Definitions and content of the article ",displacement:"top"},{id:3,level:"EASY",isSelected:!1,difficultyLevelName:"Easy",description:"Based on understanding the concept behind the article",displacement:"top"},{id:4,level:"MODERATELY_DIFFICULT",isSelected:!1,difficultyLevelName:"Moderately Difficult",description:"Based on logical interpretation of the data and concept",displacement:"bottom"},{id:5,level:"HIGHLY_DIFFICULT",isSelected:!1,difficultyLevelName:"Highly Difficult",description:"Based on logical interpretation of the data and concept and with other universal facts",displacement:"bottom"},{id:6,level:"EXTREMELY_DIFFICULT",isSelected:!1,difficultyLevelName:"Extremely Difficult",description:"Based on intelligent thought process coupled with all above aspects",displacement:"bottom"}],this.sortingValues=[{name:"By Names",value:"By Names"},{name:"By Tag",value:"By Tag"}],this.titleService.setTitle("Dynamind Mentor Manage Assessment"),this.activateroute.queryParams.subscribe(h=>{this.tabSelected(h.view)})}onFilterChange(t,i){this.getDataRequest.filterType=i,this.getDataRequest.searchKey=t,this.getAllTags(i),this.getDataRequest.searchKey=""}onDropDownClose(t){}onItemSelect(t){}onDeSelect(t){}onSelectAll(t){}onDeSelectAll(t){}getToday(){return(new Date).toISOString().split("T")[0]}fromDateChange(){this.selectedFromDate&&(this.getManageAssessment.fromDate=this.selectedFromDate,this.getDeletedAssessment.fromDate=this.selectedFromDate)}toDateChange(){this.selectedToDate&&(this.getManageAssessment.toDate=this.selectedToDate,this.getDeletedAssessment.toDate=this.selectedToDate)}fromDateChangeForPurchesedFilter(){this.selectedFromDateForPurchesedFilter&&(this.getAssessmentDataRequest.fromDate=this.selectedFromDateForPurchesedFilter)}toDateChangeForPurchesedFilter(){this.selectedToDateForPurchesedFilter&&(this.getAssessmentDataRequest.toDate=this.selectedToDateForPurchesedFilter)}ngOnInit(){this.selectedValue=this.sortingValues[0].name,this.hideRecaptcha(),this.getAssessmentDataRequest.maxPrice=0,this.getAllTags(this.getDataRequest.filterType="GRADE"),this.getMaxPriceRange(),this.getMaxPriceForPurchesedRange(),$(document).ready(function(){$('[data-toggle="tooltip"]').tooltip()}),this.activatedroute.snapshot.queryParams.something&&this.onPublishClick(),this.activatedroute.snapshot.queryParams.enableCreateAssessment&&(this.manageTab=!1,this.createTab=!0),this.activatedroute.snapshot.queryParams.publish&&(this.manageTab=!1,this.createTab=!0),window.scrollTo(0,0),this.getAssessmentDataRequest.pageNumber=0,this.getAssessmentDataRequest.pageSize=10,this.getManageAssessment.pageNumber=0,this.getDeletedAssessment.pageNumber=0,this.getDeletedAssessment.pageSize=10,this.getManageAssessment.pageSize=10,this.isLoading=!0,this.getAllPurchasedAssessment(),this.getAllDeleteAssessments(),"selfCreated"==this.activatedroute.snapshot.queryParams.view?(this.recordSelected=_.Tj.SELF,this.getManageAssessmentData()):(this.recordSelected=_.Tj.All,this.getManageAssessmentData()),this.eventEmitterService.dataReceivedEvent&&this.resetfilters()}shareAssessment(t,i){t.stopPropagation(),this.assesementsIds=[],localStorage.setItem("manageMentorAssessment","shareSingle"),this.assesementsIds.push(i.id),this.showAlert(i)}shareMultipleAssessment(){localStorage.setItem("manageMentorAssessment","shareBundle"),this.assesementsIds=[],this.selectedAssessment.forEach(t=>{this.assesementsIds.push(t.id)}),this.showAlert(this.selectedAssessment)}showAlert(t){this.simpleModalService.addModal(Z.g,{title:"Share",message:"",assesementsIds:this.assesementsIds,assessment:t}).subscribe(n=>{"success"==n&&(this.selectedAssessment=[],this.getManageAssessmentData())})}get FIELD_NAME(){return _.Tj}
1moreDetails(t){t.showDetails=!t.showDetails}onRecordChange(t){this.first=0,this.recordSelected=t,this.getManageAssessment.pageNumber=0,this.getDeletedAssessment.pageNumber=0,this.getManageAssessmentData(),("TrashAssessment"==t||"All"==t)&&this.getAllDeleteAssessments()}getMaxPriceRange(){this.apiService.getService(this.apiService.apiUrls.getMaxRangeOfAssessments).subscribe(t=>{t&&200==t.statusCode&&(this.maxRangePriceOfAssessements=0==t.data?0:t.data)},t=>{401==t.status?(this.isLoading=!1,this.toaster.show(t.message?t.message:"Something Went Wrong","Warning"),localStorage.clear(),window.location.href="/"):(this.isLoading=!1,this.toaster.show(t?.error?.message,"Info"))})}getMaxPriceForPurchesedRange(){this.apiService.getService(this.apiService.apiUrls.getMaxRangeOfPurchesedAssessment).subscribe(t=>{t&&200==t.statusCode&&(this.maxRangePriceOfPurchesedAssessements=0==t.data?0:t.data)},t=>{401==t.status?(this.isLoading=!1,this.toaster.show(t.message?t.message:"Something Went Wrong","Warning"),localStorage.clear(),window.location.href="/"):(this.isLoading=!1,this.toaster.show(t?.error?.message,"Info"))})}getAllTags(t){this.getDataRequest.pageSize=25,this.getDataRequest.filterTagIds=this.selectedTagIds,this.getDataRequest.filterType=t,this.apiService.postService(this.apiService.apiUrls.getAllTags,this.getDataRequest).subscribe(i=>{if(i&&200==i.statusCode&&i.data&&i.data.content){let n=i.data.content;n&&("GRADE"==t?this.allGrades=n:"SUBJECT"==t?this.allSubjects=n:"TOPIC"==t?this.allTopics=n:"CHAPTER"==t&&(this.allChapters=n))}else this.toaster.show(i?.message,"Info")},i=>{401==i.status?(this.isLoading=!1,this.toaster.show(i.message?i.message:"Something Went Wrong","Warning"),localStorage.clear(),window.location.href="/"):(this.isLoading=!1,this.toaster.show(i?.error?.message,"Info"))})}getAllTagsForPurchesed(t){this.getDataRequestForPurchesedFilters.pageSize=25,this.getDataRequestForPurchesedFilters.filterTagIds=this.selectedTagIdsForPurchesedFilter,this.getDataRequestForPurchesedFilters.filterType=t,this.apiService.postService(this.apiService.apiUrls.getAllTags,this.getDataRequestForPurchesedFilters).subscribe(i=>{if(i&&200==i.statusCode&&i.data&&i.data.content){let n=i.data.content;n&&("GRADE"==t?this.allGradesForPurchesedFilter=n:"SUBJECT"==t?this.allSubjectsForPurchesedFilter=n:"TOPIC"==t?this.allTopicsForPurchesedFilter=n:"CHAPTER"==t&&(this.allChaptersForPurchesedFilter=n))}else this.toaster.show(i?.message,"Info")},i=>{401==i.status?(this.isLoading=!1,this.toaster.show(i.message?i.message:"Something Went Wrong","Warning"),localStorage.clear(),window.location.href="/"):(this.isLoading=!1,this.toaster.show(i?.error?.message,"Info"))})}selectedOrUnSelectedtag(t,i){"SUBJECT"===i?t=this.allSubjects.filter(s=>s.id===t.id)[0]:"TOPIC"===i?t=this.allTopics.filter(s=>s.id===t.id)[0]:"CHAPTER"===i&&(t=this.allChapters.filter(s=>s.id===t.id)[0]);let n=this.selectedTagDto.findIndex(s=>s.id==t.id);-1==n?this.selectedTagDto.push(t):this.selectedTagDto.splice(n,1),this.applyFilterAndChildTagSelection(i)}selectedOrUnSelectedtagForPurchesedFilter(t,i){"SUBJECT"===i?t=this.allSubjectsForPurchesedFilter.filter(s=>s.id===t.id)[0]:"TOPIC"===i?t=this.allTopicsForPurchesedFilter.filter(s=>s.id===t.id)[0]:"CHAPTER"===i&&(t=this.allChaptersForPurchesedFilter.filter(s=>s.id===t.id)[0]);let n=this.selectedTagDtoForPurchesedFilter.findIndex(s=>s.id==t.id);-1==n?this.selectedTagDtoForPurchesedFilter.push(t):this.selectedTagDtoForPurchesedFilter.splice(n,1),this.applyFilterAndChildTagSelectionForPurchedFilter(i)}applyFilterAndChildTagSelection(t){this.selectedTagIds=[];for(let i of this.selectedTagDto){let n=this.selectedTagIds.findIndex(s=>s===i.parentId);-1!=n&&this.selectedTagIds.splice(n,1),this.selectedTagIds.push(i.id)}"GRADE"===t?(this.getAllTags(this.getDataRequest.filterType="SUBJECT"),this.getAllTags(this.getDataRequest.filterType="TOPIC"),this.getAllTags(this.getDataRequest.filterType="CHAPTER")):"SUBJECT"===t?(this.getAllTags(this.getDataRequest.filterType="TOPIC"),this.getAllTags(this.getDataRequest.filterType="CHAPTER")):"TOPIC"===t?(this.getAllTags(this.getDataRequest.filterType="CHAPTER"),this.getAllTags(this.getDataRequest.filterType="SUBJECT")):"CHAPTER"===t&&(this.getAllTags(this.getDataRequest.filterType="SUBJECT"),this.getAllTags(this.getDataRequest.filterType="TOPIC"))}applyFilterAndChildTagSelectionForPurchedFilter(t){this.selectedTagIdsForPurchesedFilter=[];for(let i of this.selectedTagDtoForPurchesedFilter){let n=this.selectedTagIdsForPurchesedFilter.findIndex(s=>s===i.parentId);-1!=n&&this.selectedTagIdsForPurchesedFilter.splice(n,1),this.selectedTagIdsForPurchesedFilter.push(i.id)}"GRADE"===t?(this.getAllTagsForPurchesed(this.getDataRequestForPurchesedFilters.filterType="SUBJECT"),this.getAllTagsForPurchesed(this.getDataRequestForPurchesedFilters.filterType="TOPIC"),this.getAllTagsForPurchesed(this.getDataRequestForPurchesedFilters.filterType="CHAPTER")):"SUBJECT"===t?(this.getAllTagsForPurchesed(this.getDataRequestForPurchesedFilters.filterType="TOPIC"),this.getAllTagsForPurchesed(this.getDataRequestForPurchesedFilters.filterType="CHAPTER")):"TOPIC"===t?(this.getAllTagsForPurchesed(this.getDataRequestForPurchesedFilters.filterType="CHAPTER"),this.getAllTagsForPurchesed(this.getDataRequestForPurchesedFilters.filterType="SUBJECT")):"CHAPTER"===t&&(this.getAllTagsForPurchesed(this.getDataRequestForPurchesedFilters.filterType="SUBJECT"),this.getAllTagsForPurchesed(this.getDataRequestForPurchesedFilters.filterType="TOPIC"))}exampleMethod(){}getAllGradesData(){this.getDataRequest.pageSize=25,this.apiService.postService(this.apiService.apiUrls.getAllTags,this.getDataRequest).subscribe(t=>{t&&200==t.statusCode?t.data&&t.data.content&&(this.gradsData=t.data.content):this.toaster.show(t?.message,"Info")},t=>{401==t.status?(this.isLoading=!1,this.toaster.show(t.message?t.message:"Something Went Wrong","Warning"),localStorage.clear(),window.location.href="/"):(this.isLoading=!1,this.toaster.show(t?.error?.message,"Info"))})}tabSelected(t){"manage"===t?(this.manageTab=!0,this.createTab=!1):"create"===t&&(this.manageTab=!1,this.createTab=!0)}getManageAssessmentData(){this.isLoading=!0,this.getManageAssessment.tagIds=[],this.gradeIds&&this.gradeIds.length>0&&this.gradeIds.forEach(t=>this.getManageAssessment.tagIds.push(t)),this.getManageAssessment.fieldNameForAssessments=this.recordSelected,this.getManageAssessment.searchType=this.selectedValue,this.apiService.postService(this.apiService.apiUrls.manageAssessment,this.getManageAssessment).subscribe(t=>{t&&200===t.statusCode?(this.isReset||$("#publishedAssessmentModal").modal("hide"),this.manageAssessmentListData=t.data.content,this.totalPages=t.data?t.data.totalPages:1,this.value=t.data.content.length,t.data.content.length>0&&(this.firstTimeUserForPublishedAssessments=!1),this.isLoading=!1):(this.isLoading=!1,this.toaster.show(t?.message,"Info"))},t=>{401==t.status?(this.isLoading=!1,this.toaster.show(t.message?t.message:"Something Went Wrong","Warning"),localStorage.clear(),window.location.href="/"):(this.isLoading=!1,this.toaster.show(t?.error?.message,"Info"))})}getAllDeleteAssessments(){setTimeout(()=>{this.getDeletedAssessment.tagIds=[],this.gradeIds&&this.gradeIds.length>0&&this.gradeIds.forEach(t=>this.getDeletedAssessment.tagIds.push(t)),this.getDeletedAssessment.fieldNameForAssessments=this.recordSelected,this.getDeletedAssessment.searchType=this.selectedValue,this.apiService.postService(this.apiService.apiUrls.getAllDeleteAssessments,this.getDeletedAssessment).subscribe(t=>{t&&200===t.statusCode?(this.isReset||$("#publishedAssessmentModal").modal("hide"),this.deletedAssessment=t.data,this.deletedAssessmentListData=t?.data?.content,this.deletedAssessmentTotalPages=t.data?t.data.totalPages:1,t?.data?.content?.length>0&&(this.firstTimeUserForPublishedAssessments=!1)):this.toaster.show(t?.message,"Success")},t=>{401==t.status?(this.isLoading=!1,this.toaster.show(t.message?t.message:"Something Went Wrong","Warning"),localStorage.clear(),window.location.href="/"):(this.isLoading=!1,this.toaster.show(t?.error?.message,"Info"))})}
1,0)}deleteAssessment(t,i){t.stopPropagation(),this.isLoading=!0,this.apiService.deleteService(this.apiService.apiUrls.deleteManageAssessmentById+"/"+i).subscribe(n=>{n&&200==n.statusCode?(this.isLoading=!1,this.toaster.show(n?.message,"Success"),setTimeout(()=>{this.getManageAssessmentData(),this.getAllDeleteAssessments()},1e3)):(this.isLoading=!1,this.toaster.show(n?.message,"Info"))},n=>{401==n.status?(this.isLoading=!1,this.toaster.show(n.message?n.message:"Something Went Wrong","Warning"),localStorage.clear(),window.location.href="/"):(this.isLoading=!1,this.toaster.show(n?.error?.message,"Info"))})}recoverDeletedAssessments(t,i){t.stopPropagation(),this.isLoading=!0,this.apiService.postService(this.apiService.apiUrls.recoverDeletedAssessments+i,this.getDeletedAssessment).subscribe(n=>{n&&200==n.statusCode?(this.isLoading=!1,this.toaster.show(n?.message,"Success"),this.getManageAssessmentData(),this.getAllDeleteAssessments()):(this.isLoading=!1,this.toaster.show(n?.message,"Info"))},n=>{401==n.status?(this.isLoading=!1,this.toaster.show(n.message?n.message:"Something Went Wrong","Warning"),localStorage.clear(),window.location.href="/"):(this.isLoading=!1,this.toaster.show(n?.error?.message,"Info"))})}getAllPurchasedAssessment(){this.getAssessmentDataRequest.tagIds=[],this.gradeIds&&this.gradeIds.length>0&&this.gradeIds.forEach(t=>this.getAssessmentDataRequest.tagIds.push(t)),this.apiService.postService(this.apiService.apiUrls.getAllPurchasedAssessment,this.getAssessmentDataRequest).subscribe(t=>{t&&200===t.statusCode?(this.isReset||$("#purchasedAssessmentModal").modal("hide"),this.purchasedAssessmentListData=t.data.content,this.totalPages=t.data.totalPages,t.data.content.length>0&&(this.firstTimeUserForPurchesedAssessments=!1)):(this.isLoading=!1,this.toaster.show(t?.message,"Info"))},t=>{401==t.status?(this.isLoading=!1,this.toaster.show(t.message?t.message:"Something Went Wrong","Warning"),localStorage.clear(),window.location.href="/"):(this.isLoading=!1,this.toaster.show(t?.error?.message,"Info"))})}onPublishClick(){this.getManageAssessmentData(),this.gradeIds=[]}paginate(t){this.getManageAssessment.pageNumber=t.page,this.getManageAssessmentData()}paginatePurchased(t){this.getAssessmentDataRequest.pageNumber=t.page,this.getAllPurchasedAssessment()}getTotalPurchasedRecords(){return this.totalPages*this.numberOfRowsPerPage}getTotalRecords(){return this.totalPages*this.numberOfRowsPerPage}getTotalRecordsDeleteAssessment(){return this.deletedAssessmentTotalPages*this.numberOfRows}paginateDeleteAssessments(t){this.getDeletedAssessment.pageNumber=t.page,this.getAllDeleteAssessments()}onInterestAreaSelectForFilter(t,i){let n=this.gradeIds.findIndex(s=>s===t.id);i&&-1==n?this.gradeIds.push(t.id):!i&&n>=0&&this.gradeIds.splice(n,1)}onDifficultLevelSelectForFilter(t,i){let n=this.getManageAssessment.difficultLevels.findIndex(s=>s===t);i&&-1==n?this.getManageAssessment.difficultLevels.push(t):!i&&n>=0&&this.getManageAssessment.difficultLevels.splice(n,1)}onPurchaedInterestAreaSelectForFilter(t,i){let n=this.gradeIds.findIndex(s=>s===t.id);i&&-1==n?(this.gradeIds.push(t.id),this.getManageAssessment.allTagsDto.push(t)):!i&&n>=0&&(this.gradeIds.splice(n,1),this.getManageAssessment.allTagsDto.splice(n,1))}onPublishedDifficultLevelSelectForFilter(t,i){let n=this.getManageAssessment.difficultLevels.findIndex(s=>s===t);i&&-1==n?this.getManageAssessment.difficultLevels.push(t):!i&&n>=0&&this.getManageAssessment.difficultLevels.splice(n,1)}onPurchaedDifficultLevelSelectForFilter(t,i){let n=this.getAssessmentDataRequest.difficultLevels.findIndex(s=>s===t);i&&-1==n?this.getAssessmentDataRequest.difficultLevels.push(t):!i&&n>=0&&this.getAssessmentDataRequest.difficultLevels.splice(n,1)}reloadComponent(){let t=this.router.url;this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.onSameUrlNavigation="reload",this.router.navigate([t])}publishedResetFilterForQuestions(){this.getManageAssessment=new _.iE,this.gradeIds=[],this.getManageAssessment.filterTagIds=[],this.selectedTagDto=[],this.selectedTagIds=[],this.selectedFromDate=null,this.selectedToDate=null,this.isLoading=!0,$("input[type=checkbox]").prop("checked",!1),this.getManageAssessmentData(),this.resetForAssessemnentFilter()}purchesedResetFilterForQuestions(){this.getAssessmentDataRequest=new _.iE,this.gradeIds=[],this.getAssessmentDataRequest.filterTagIds=[],this.selectedTagDtoForPurchesedFilter=[],this.selectedTagIdsForPurchesedFilter=[],this.selectedFromDateForPurchesedFilter=null,this.selectedToDateForPurchesedFilter=null,$("input[type=checkbox]").prop("checked",!1),this.getAllPurchasedAssessment(),this.resetForAssessemnentFilter()}resetForAssessemnentFilter(){this.selectedTopicsForPublishedFilter=[],this.selectedSubjectsForPublishedFilter=[],this.selectedChaptersForPublishedFilter=[],this.selectedTopicsForPurchesedFilter=[],this.selectedSubjectsForPurchesedFilter=[],this.selectedChaptersForPurchesedFilter=[],this.subjectSelectedNew=[],this.topicSelectedNew=[],this.chapterSelectedNew=[],this.gradeSelectedNew=[],this.allSubjects=[],this.allChapters=[],this.allTopics=[]}publishedApplyFilterForQuestions(){if(this.selectedFromDate||this.selectedToDate){if(""==this.selectedFromDate||null==this.selectedFromDate||null==this.selectedFromDate)return void this.toaster.show("Please Select From Date","Warning");if(""==this.selectedToDate||null==this.selectedToDate||null==this.selectedToDate)return void this.toaster.show("Please Select To Date","Warning")}let t=v(this.selectedFromDate);if(v(this.selectedToDate).isBefore(t))this.toaster.show("From date should be greater then To date","Info");else{if(this.selectedFromDate||this.selectedToDate){let n=v(this.selectedFromDate).format("DD-MM-yyyy"),s=v(this.selectedToDate).format("DD-MM-yyyy");this.getManageAssessment.fromDate=n,this.getManageAssessment.toDate=s}this.getManageAssessment.pageNumber=0,this.getManageAssessment.filterTagIds=this.selectedTagIds,this.isLoading=!0,this.getManageAssessmentData(),$("#publishedAssessmentModal").modal("hide")}}purchesedApplyFilterForQuestions(){if(this.selectedFromDateForPurchesedFilter||this.selectedToDateForPurchesedFilter){if(""==this.selectedFromDateForPurchesedFilter||null==this.selectedFromDateForPurchesedFilter||null==this.selectedFromDateForPurchesedFilter)return void this.toaster.show("Please Select From Date","Warning");if(""==this.selectedToDateForPurchesedFilter||null==this.selectedToDateForPurchesedFilter||null==this.selectedToDateForPurchesedFilter)return void this.toaster.show("Please Select To Date","Warning")}let t=v(this.selectedFromDateForPurchesedFilter);if(v(this.selectedToDateForPurchesedFilter).isBefore(t))this.toaster.show("From date should be greater then To date","Info");else{if(this.selectedFromDateForPurchesedFilter||this.selectedToDateForPurchesedFilter){let n=v(this.selectedFromDateForPurchesedFilter).format("DD-MM-yyyy"),s=v(this.selectedToDateForPurchesedFilter).format("DD-MM-yyyy");this.getAssessmentDataRequest.fromDate=n,this.getAssessmentDataRequest.toDate=s}this.getAssessmentDataRequest.pageNumber=0,this.getAssessmentDataRequest.filterTagIds=this.selectedTagIdsForPurchesedFilter,this.getAllPurchasedAssessment(),$("#purchasedAssessmentModal").modal("hide")}}previewAssessmentPage(t,i,n){t.stopPropagation(),this.router.navigate(["/navigation-bar/v1/mentor/examination"],{queryParams:{assessmentId:i,viewAssessment:"true",name:n}})}purchasedApplyFilterForQuestions(){this.getAssessmentDataRequest.pageNumber=0,this.getAllPurchasedAssessment(),this.gradeIds=[],$("#myModal3").modal("hide")}editAssessment(t,i,n){t.stopPropagation(),this.router.navigate(["/navigation-bar/mentor/assessments/create"],{queryParams:{assessmentId:i,create:"create"}}),this.parentEditAssessmentId=i,this.parentEditAssessmentName=n}getTagData(t,i){if(g.iG.isValid(t)){let n=t.filter(s=>s.tagType===i).map(s=>s.tagName);return g.iG.isValid(n)?n.join(","):"-"}return"-"}getDefaultBar(t,i){return""==t||null==t?"defaultBar":"EXTREMELY_EASY"===t?1==i?"extremelyEasy":"defaultBar":"VERY_EASY"===t?1==i||2==i?"veryEasy":"defaultBar":"EASY"===t?1==i||2==i||3==i?"easy":"defaultBar":"MODERATELY_DIFFICULT"===t?1==i||2==i||3==i||4==i?"moderatelyDifficult":"defaultBar":"HIGHLY_DIFFICULT"===t?1==i||2==i||3==i||4==i||5==i?"highlyDifficult":"defaultBar":"EXTREMELY_DIFFICULT"===t?1==i||2==i||3==i||4==i||5==i||6==i?"exremelyDifficult":"defaultBar":void 0}
1disabledResetButtonForPublishedFilters(){return!(""!=this.selectedFromDate&&null!=this.selectedFromDate&&null!=this.selectedFromDate||""!=this.selectedToDate&&null!=this.selectedToDate&&null!=this.selectedToDate||0!=this.getManageAssessment.difficultLevels.length||0!=this.selectedTagIds.length||0!=this.getManageAssessment.maxPrice)}disabledResetButtonForPurchesedFilters(){return!(""!=this.selectedFromDateForPurchesedFilter&&null!=this.selectedFromDateForPurchesedFilter&&null!=this.selectedFromDateForPurchesedFilter||""!=this.selectedToDateForPurchesedFilter&&null!=this.selectedToDateForPurchesedFilter&&null!=this.selectedToDateForPurchesedFilter||0!=this.getAssessmentDataRequest.difficultLevels.length||0!=this.selectedTagIdsForPurchesedFilter.length||0!=this.getAssessmentDataRequest.maxPrice)}hideRecaptcha(){const t=$(".grecaptcha-badge");if(t.length)return t.css({display:"none"});requestAnimationFrame(()=>this.hideRecaptcha())}updateSelectedList(t){if(0===this.selectedAssessment.length)return void this.selectedAssessment.push(t);const i=this.selectedAssessment.findIndex(n=>n.id===t.id);-1===i?this.selectedAssessment.push(t):this.selectedAssessment.splice(i,1)}isSelected(t){return 0!==this.selectedAssessment.length&&-1!==this.selectedAssessment.findIndex(n=>n.id===t.id)}showDescription(t){this.assessmentId!=t?(this.assessmentId=t,this.showAllDescription=!0):this.showAllDescription=!1}selectedGradeNew(t,i){let n=this.gradeSelectedNew.findIndex(o=>o.id==t.id);-1==n?(this.allSubjects=[],this.allTopics=[],this.allChapters=[],this.gradeSelectedNew.push(t),this.updateProfileRequestTagIds.push(t),this.subjectSelectedNew=[],this.topicSelectedNew=[],this.chapterSelectedNew=[],this.selectedSubjectsForPublishedFilter=[],this.selectedChaptersForPublishedFilter=[],this.selectedTopicsForPublishedFilter=[],this.selectedTagIdsNew=this.gradeSelectedNew.map(o=>o.id),this.getTagsDataForStepOne(i)):(this.gradeSelectedNew.splice(n,1),0==this.gradeSelectedNew.length?(this.allSubjects=[],this.selectedSubjectsForPublishedFilter=[]):(this.selectedTagIdsNew=this.gradeSelectedNew.map(o=>o.id),this.getTagsDataForStepOne(i)),this.allTopics=[],this.selectedTopicsForPublishedFilter=[],this.allChapters=[],this.selectedChaptersForPublishedFilter=[]);let s=this.gradeSelectedNew.map(o=>o);this.updateProfileRequestTagIds=[...s]}selectedSubjectNew(t,i){t=this.allSubjects.filter(d=>d.id===t.id)[0];let n=this.subjectSelectedNew.findIndex(d=>d.id==t.id);-1==n?(this.allTopics=[],this.allChapters=[],this.subjectSelectedNew.push(t),this.updateProfileRequestTagIds.push(t),this.selectedChaptersForPublishedFilter=[],this.selectedTopicsForPublishedFilter=[],this.topicSelectedNew=[],this.chapterSelectedNew=[],this.selectedTagIdsNew=this.subjectSelectedNew.map(d=>d.id),this.getTagsDataForStepOne(i)):(this.subjectSelectedNew.splice(n,1),0==this.subjectSelectedNew.length?(this.allTopics=[],this.selectedTopicsForPublishedFilter=[]):(this.selectedTagIdsNew=this.subjectSelectedNew.map(d=>d.id),this.getTagsDataForStepOne(i)),this.allChapters=[],this.selectedChaptersForPublishedFilter=[]);let s=this.updateProfileRequestTagIds.filter(d=>"GRADE"==d.tagType);this.updateProfileRequestTagIds=[];let o=this.subjectSelectedNew.map(d=>d);this.updateProfileRequestTagIds=[...s,...o]}selectedTopicNew(t,i){t=this.allTopics.filter(d=>d.id===t.id)[0];let n=this.topicSelectedNew.findIndex(d=>d.id==t.id);-1==n?(this.allChapters=[],this.selectedChaptersForPublishedFilter=[],this.topicSelectedNew.push(t),this.updateProfileRequestTagIds.push(t),this.chapterSelectedNew=[],this.selectedTagIdsNew=this.topicSelectedNew.map(d=>d.id),this.getTagsDataForStepOne(i)):(this.topicSelectedNew.splice(n,1),0==this.topicSelectedNew.length?(this.allChapters=[],this.selectedChaptersForPublishedFilter=[]):(this.selectedTagIdsNew=this.topicSelectedNew.map(d=>d.id),this.getTagsDataForStepOne(i)),this.allChapters=[],this.selectedChaptersForPublishedFilter=[]);let s=this.updateProfileRequestTagIds.filter(d=>"GRADE"==d.tagType||"SUBJECT"==d.tagType);this.updateProfileRequestTagIds=[];let o=this.topicSelectedNew.map(d=>d);this.updateProfileRequestTagIds=[...s,...o]}selectedChapterNew(t,i){t=this.allChapters.filter(d=>d.id===t.id)[0];let n=this.chapterSelectedNew.findIndex(d=>d.id==t.id);-1==n?(this.chapterSelectedNew.push(t),this.updateProfileRequestTagIds.push(t),this.selectedTagIdsNew=this.topicSelectedNew.map(d=>d.id)):this.chapterSelectedNew.splice(n,1);let s=this.updateProfileRequestTagIds.filter(d=>"GRADE"==d.tagType||"SUBJECT"==d.tagType||"TOPIC"==d.tagType);this.updateProfileRequestTagIds=[];let o=this.chapterSelectedNew.map(d=>d);this.updateProfileRequestTagIds=[...s,...o]}getTagsDataForStepOne(t){"STREAM"===t?this.getAllTagsNew(this.getDataRequest.filterType="GRADE"):"GRADE"===t?this.getAllTagsNew(this.getDataRequest.filterType="SUBJECT"):"SUBJECT"===t?this.getAllTagsNew(this.getDataRequest.filterType="TOPIC"):"TOPIC"===t&&this.getAllTagsNew(this.getDataRequest.filterType="CHAPTER")}getAllTagsNew(t){this.getDataRequest.pageSize=25,this.getDataRequest.filterTagIds=this.selectedTagIdsNew,this.getDataRequest.filterType=t,this.apiService.postService(this.apiService.apiUrls.getAllTags,this.getDataRequest).subscribe(i=>{if(i&&200==i.statusCode&&i.data&&i.data.content){let n=i.data.content;n&&("GRADE"==t?this.allGrades=n:"SUBJECT"==t?this.allSubjects=n:"TOPIC"==t?this.allTopics=n:"CHAPTER"==t&&(this.allChapters=n))}else this.toaster.show(i?.message,"Info")},i=>{401==i.status?(this.isLoading=!1,this.toaster.show(i.message?i.message:"Something Went Wrong","Warning"),localStorage.clear(),window.location.href="/"):(this.isLoading=!1,this.toaster.show(i?.error?.message,"Info"))})}openFilter(){this.simpleModalService.addModal(ae.wk,{grades:this.allGrades,message:"",title:"",filters:["GRADE","SUBJECT","TOPIC","CHAPTER","DIFFICULTY_LEVEL","DATE"],data:this.data,difficultyLevels:this.difficultyLevels,fromDate:this.selectedFromDate,toDate:this.selectedToDate,componentName:this.activatedroute.routeConfig.component.name,gridTemplateAreas:"'gradeCheckbox gradeCheckbox gradeCheckbox gradeCheckbox''subject subject  subject subject''topic to
1pic chapter chapter''difficultyLevel difficultyLevel difficultyLevel difficultyLevel''date date date date'"}).subscribe(t=>{if(t){if(console.log("call"),this.getManageAssessment.pageSize=10,this.getDeletedAssessment.pageSize=10,t.updateProfileRequestTagIds.length>0?(this.data=t.updateProfileRequestTagIds,this.selectedTagDto=t.updateProfileRequestTagIds,this.applyFilterAndChildTagSelection(null),this.getManageAssessment.pageNumber=0,this.getDeletedAssessment.pageNumber=0,this.getManageAssessment.filterTagIds=this.selectedTagIds,this.getDeletedAssessment.filterTagIds=this.selectedTagIds):(this.getManageAssessment.filterTagIds=[],this.getDeletedAssessment.filterTagIds=[],this.data=[],this.selectedTagDto=[],this.selectedTagIds=[]),t.difficultyLevelData.length>0?(this.getManageAssessment.difficultLevels=t.difficultyLevelData.map(i=>i.level),this.getDeletedAssessment.difficultLevels=t.difficultyLevelData.map(i=>i.level)):(this.getManageAssessment.difficultLevels=[],this.getDeletedAssessment.difficultLevels=[]),t.fromDate&&t.toDate){this.selectedFromDate=t.fromDate,this.selectedToDate=t.toDate;let i=v(this.selectedFromDate).format("DD-MM-yyyy"),n=v(this.selectedToDate).format("DD-MM-yyyy");this.getManageAssessment.fromDate=i,this.getManageAssessment.toDate=n,this.getDeletedAssessment.fromDate=i,this.getDeletedAssessment.toDate=n}else this.selectedFromDate=null,this.selectedToDate=null;this.first=0,this.getManageAssessmentData(),this.getAllDeleteAssessments()}})}resetfilters(){this.eventEmitterService.dataReceivedEvent.subscribe(t=>{t.componentName==this.activatedroute?.routeConfig?.component?.name&&(this.data=void 0,this.getManageAssessment=new _.iE,this.getManageAssessment.pageSize=10,this.getDeletedAssessment=new _.iE,this.getDeletedAssessment.pageSize=10,this.first=0,this.getManageAssessmentData(),this.getAllDeleteAssessments(),this.selectedFromDate=null,this.selectedToDate=null)})}sort(t,i){console.log(t),this.selectedValue=t,this.getManageAssessment.searchKey=this.searchkey,this.getDeletedAssessment.searchKey=this.searchkey,null!=this.searchkey&&""!=this.searchkey?(this.getManageAssessmentData(),this.getAllDeleteAssessments()):this.toaster.show("Please Enter search Value","info")}static#e=this.\u0275fac=function(i){return new(i||a)(e.\u0275\u0275directiveInject(b.s),e.\u0275\u0275directiveInject(V.yK),e.\u0275\u0275directiveInject(u.gz),e.\u0275\u0275directiveInject(C._W),e.\u0275\u0275directiveInject(u.F0),e.\u0275\u0275directiveInject(A.B),e.\u0275\u0275directiveInject(u.gz),e.\u0275\u0275directiveInject(S.Dx))};static#t=this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-manage-assessment"]],viewQuery:function(i,n){if(1&i&&(e.\u0275\u0275viewQuery(T,5),e.\u0275\u0275viewQuery(T,5),e.\u0275\u0275viewQuery(T,5),e.\u0275\u0275viewQuery(T,5),e.\u0275\u0275viewQuery(T,5),e.\u0275\u0275viewQuery(T,5),e.\u0275\u0275viewQuery(Vt,5)),2&i){let s;e.\u0275\u0275queryRefresh(s=e.\u0275\u0275loadQuery())&&(n.multiSelectForSubjectsFilter=s.first),e.\u0275\u0275queryRefresh(s=e.\u0275\u0275loadQuery())&&(n.multiSelectForTopicsFilter=s.first),e.\u0275\u0275queryRefresh(s=e.\u0275\u0275loadQuery())&&(n.multiSelectForChaptersFilter=s.first),e.\u0275\u0275queryRefresh(s=e.\u0275\u0275loadQuery())&&(n.multiSelectForSubjectsFilterPurchesed=s.first),e.\u0275\u0275queryRefresh(s=e.\u0275\u0275loadQuery())&&(n.multiSelectForTopicsFilterPurchesed=s.first),e.\u0275\u0275queryRefresh(s=e.\u0275\u0275loadQuery())&&(n.multiSelectForChaptersFilterPurchesed=s.first),e.\u0275\u0275queryRefresh(s=e.\u0275\u0275loadQuery())&&(n.paginator=s.first)}},decls:250,vars:68,consts:[[4,"ngIf"],[1,"wrapper"],[1,"text-right"],[1,"btn","btn-info","filter-btn","border-0",3,"click"],[1,"bx","bx-filter-alt"],[1,"tab-content","mt-0","mt-sm-3"],["id","manageAssessment",1,"tab-pane","active"],[1,"d-none","d-md-block"],[1,"d-flex","justify-content-between","mb-3"],[1,"manage-txt"],[1,"d-flex","align-items-center"],[1,"input-group","searchgroup"],["type","text","placeholder","Search...",1,"form-control","border-left-0","search-box",3,"ngModel","ngModelChange","keyup.enter"],[1,"input-group-prepend"],[1,"input-group-text"],[1,"bx","bx-search",2,"font-size","larger",3,"click"],["id","dropdownMenuButton","data-toggle","dropdown","aria-expanded","fal
1se",2,"border","none","background","white"],[1,"d-flex"],["type","text","readonly","","placeholder","select Tag",1,"inputForTags",3,"ngModel","ngModelChange"],[1,"bx","bxs-down-arrow","downArrow"],["aria-labelledby","dropdownMenuButton",1,"dropdown-menu","sortShadow","mt-2"],["class","dropdown-item sofiaProRegular",3,"click",4,"ngFor","ngForOf"],[1,"row","align-items-center"],[1,"col-lg-8","col-md-12","p-0","radio_btn"],[1,"d-flex","left"],["for","all",1,"assessment-level"],["type","radio","name","records",1,"mr-2",3,"value","ngModel","ngModelChange","change"],["for","self",1,"assessment-level"],["for","created",1,"assessment-level"],["for","draft",1,"assessment-level"],["for","trash",1,"assessment-level"],["class","col-lg-4 col-md-12 pr-0 text-right",4,"ngIf"],[1,"d-block","d-md-none","mb-3"],[1,"wrap-div"],["type","text","placeholder","Search...",1,"form-control","border-left-0","pl-0","search-box",3,"ngModel","ngModelChange"],[1,"d-block","d-sm-flex","radio_btn"],["for","all"],["type","radio","name","recordsMobile",1,"mr-2",3,"value","ngModel","ngModelChange","change"],["for","self"],["for","created"],["class","right",4,"ngIf"],["class","manage-txt",4,"ngIf"],["id","publishedAssessmentModal","data-backdrop","static","tabindex","-1","role","dialog","aria-labelledby","modelTitleId","aria-hidden","true",1,"modal","fade"],["role","document",1,"modal-dialog","modal
1-lg","modal-dialog-scrollable","mdl-dilog-mt",2,"margin-right","0"],[1,"modal-content"],["type","button","data-dismiss","modal","aria-label","Close",1,"close","mr-3","mt-3"],["aria-hidden","true"],[1,"modal-body"],[1,"ml-3"],[1,"row"],["class","col-lg-4 col-xs-12 col-sm-12 col-md-4 col-xl-4",4,"ngFor","ngForOf"],[1,"row","mt-3"],[1,"col-12"],[1,"form-group"],[3,"data","settings","placeholder","ngModel","onFilterChange","onSelect","onDeSelect","ngModelChange"],["multiSelectForSubjectsFilter",""],[1,"col-lg-6"],["multiSelectForTopicsFilter",""],["multiSelectForChaptersFilter",""],[1,"col-12","px-0"],[1,"col-lg-4","col-xs-12","col-sm-12","col-md-4","col-xl-4"],[1,"custom-control","custom-checkbox"],["type","checkbox","id","extremelyEasy","name","ExtremelyEasy",1,"custom-control-input",3,"change"],["for","extremelyEasy","data-placement","top","data-toggle","tooltip","title","Directly from the content",1,"custom-control-label"],["type","checkbox","id"," veryEasy","name","Very Easy",1,"custom-control-input",3,"change"],["for"," veryEasy","data-placement","top","data-toggle","tooltip","title","Based on Definitions and content of the article ",1,"custom-control-label"],["type","checkbox","id","easyFilter","name","Easy",1,"custom-control-input",3,"change"],["for","easyFilter","data-placement","top","data-toggle","tooltip","title","Based on understanding the concept behind the article",1,"custom-control-label"],["type","checkbox","id","ModeratelyDifficultFilter","name","moderatelyDifficult",1,"custom-control-input",3,"change"],["for","ModeratelyDifficultFilter","data-placement","bottom","data-toggle","tooltip","title","Based on logical interpretation of the data and concept",1,"custom-control-label"],["type","checkbox","id","HighlyDifficultFilter","name","highlyDifficult",1,"custom-control-input",3,"change"],["for","HighlyDifficultFilter","data-placement","bottom","data-toggle","tooltip","title","Based on logical interpretation of the data and concept and with other universal facts",1,"custom-control-label"],["type","checkbox","id","extremelyDifficult","name","ExtremelyDifficult",1,"custom-control-input",3,"change"],["for","extremelyDifficult","data-placement","bottom","data-toggle","tooltip","title","Based on intelligent thought process coupled with all above aspects",1,"custom-control-label"],[1,"col-12","mb-2"],[1,"col-lg-1","my-2","text-muted"],[1,"col-lg-5","px-lg-0","px-3"],["type","date","name","from","id","from",1,"form-control",3,"ngModel","max","ngModelChange"],[1,"col-lg-1","my-2","text-muted","text-lg-right"],["type","date","name","to","id","to",1,"form-control",3,"ngModel","max","ngModelChange"],[1,"modal-footer",2,"margin","0 13px"],[1,"d-flex","justify-content-end"],["type","button",1,"btn","btn-outline-info","resetButtonClass",3,"click"],["type","button",1,"btn","btn-info","SaveOrSubmitButtonClass","ml-3","text-light",3,"click"],["id","purchasedAssessmentModal","data-backdrop","static","tabindex","-1","role","dialog","aria-labelledby","modelTitleId","aria-hidden","true",1,"modal","fade"],["role","document",1,"modal-dialog","modal
1-dialog-scrollable","modal-lg","mdl-dilog-mt",2,"margin-right","0"],[3,"data","settings","disabled","placeholder","ngModel","blur","onFilterChange","onDropDownClose","onSelect","onDeSelect","onSelectAll","onDeSelectAll","ngModelChange"],["multiSelectForSubjectsFilterPurchesed",""],[3,"data","settings","disabled","placeholder","ngModel","onFilterChange","onDropDownClose","onSelect","onDeSelect","onSelectAll","onDeSelectAll","ngModelChange"],["multiSelectForTopicsFilterPurchesed",""],["multiSelectForChaptersFilterPurchesed",""],["type","checkbox","id","extremelyEasyPurchesedFilter","name","ExtremelyEasyPurchesedFilter",1,"custom-control-input",3,"change"],["for","extremelyEasyPurchesedFilter","data-placement","top","data-toggle","tooltip","title","Directly from the content",1,"custom-control-label"],["type","checkbox","id","veryEasyPurchesedFilter","name","Very_EasyPurchesedFilter",1,"custom-control-input",3,"change"],["for","veryEasyPurchesedFilter","data-placement","top","data-toggle","tooltip","title","Based on Definitions and content of the article ",1,"custom-control-label"],["type","checkbox","id","easyFilterPurchesedFilter","name","EasyPurchesedFilter",1,"custom-control-input",3,"change"],["for","easyFilterPurchesedFilter","data-placement","top","data-toggle","tooltip","title","Based on understanding the concept behind the article",1,"custom-control-label"],["type","checkbox","id","ModeratelyDifficultFilterPurchesedFilter","name","moderatelyDifficultPurchesedFilter",1,"custom-control-input",3,"change"],["for","ModeratelyDifficultFilterPurchesedFilter","data-placement","bottom","data-toggle","tooltip","title","Based on logical interpretation of the data and concept",1,"custom-control-label"],["type","checkbox","id","HighlyDifficultFilterPurchesedFilter","name","highlyDifficultPurchesedFilter",1,"custom-control-input",3,"change"],["for","HighlyDifficultFilterPurchesedFilter","data-placement","bottom","data-toggle","tooltip","title","Based on logical interpretation of the data and concept and with other universal facts",1,"custom-control-label"],["type","checkbox","id","extremelyDifficultPurchesedFilter","name","ExtremelyDifficultPurchesedFilter",1,"custom-control-input",3,"change"],["for","extremelyDifficultPurchesedFilter","data-placement","bottom","data-toggle","tooltip","title","Based on intelligent thought process coupled with all above aspects",1,"custom-control-label"],["type","date","name","fromPurchesedFilter","id","fromPurchesedFilter",1,"form-control",3,"ngModel","max","ngModelChange"],["type","date","name","toPurchesedFilter","id","toPurchesedFilter",1,"form-control",3,"ngModel","max","ngModelChange"],[1,"dropdown-item","sofiaProRegular",3,"click"],[2,"cursor","pointer"],[1,"col-lg-4","col-md-12","pr-0","text-right"],[1,"btn","btn-info","share-btn","border-0",3,"click"],[1,"right"],[1,"btn","btn-info","share-btn","w-100","border-0",3,"click"],[1,"card","text-center","py-5","dont-txt"],[1,"card-body"],[1,"mb-0"],["class","assessment-table d-none d-sm-block",4,"ngIf"],["class","col-sm-3 p-0 d-sm-none d-xs-block",4,"ngIf"],[1,"assessment-table","d-none","d-sm-block"],[1,"table-responsive","mt-3","mt-sm-2","mt-md-2","mt-lg-3",2,"background","#f1f4f8","padding","2px 20px","border-radius","10px"],[1,"table",2,"border-collapse","separate","border-spacing","0 6px"],[1,"text-nowrap"],[1,"border-0",2,"width","25px"],[1,"border-0",2,"width","25%"],[1,"border-0",2,"width","15%"],[1,"border-0",2,"width","20%"],[3,"click",4,"ngFor","ngForOf"],["class","mb-3",4,"ngIf"],[1,"col-md-12","text-right","mb-4"],[3,"rows","totalRecords","first","onPageChange"],["pp",""],[3,"click"],[1,"text-nowrap","card-head"],["for","",1,"customheckbox"],["id","","type","checkbox",1,"mr-3",3,"checked","click"],["class","draft-txt sofiaProMedium",4,"ngIf"],["class","d-flex flex-column more_details mt-2",4,"ngIf"],[2,"width","200px"],[1,"dropdown","ml-5"],[3,"innerHTML"],[1,"d-flex","align-items-center","mt-1","ml-2"],[3,"ngClass"],["class","btn share",3,"click",4,"ngIf"],["data-toggle","tooltip","data-placement","top","title","Click to Preview Assessment",1,"mr-3","ml-md-2",2,"cursor","pointer",3,"click"],["src","assets/healthicons_eye.svg","alt","",1,"eye_icon"],[1,"draft-txt","sofiaProMedium"],[1,"d-flex","flex-column","more_details","mt-2"],[3,"title"],[1,"btn","share",3,"click"],["data-toggle","tooltip","data-
1placement","top","title","Edit",1,"editicon",2,"cursor","pointer",3,"click"],[1,"bx","bxs-pencil","mr-3","editIconColor"],["data-toggle","tooltip","data-placement","top","title","Delete the assessment",2,"cursor","pointer",3,"click"],[1,"bx","bxs-trash-alt","deleteIconColor"],[1,"mb-3"],[1,"card","text-center"],[1,"text-muted","py-3","mb-0"],[1,"col-sm-3","p-0","d-sm-none","d-xs-block"],[1,"col-md-12","p-0","text-right","mb-4"],[1,"card","assessment-card","mb-3","shadow","mainCard",3,"click"],[1,"card-body","m-0","p-3"],[1,"cardDesc",2,"justify-content","space-between"],[1,"mb-0","d-flex"],[1,""],["type","checkbox",1,"mr-2","mt-1",3,"checked","click"],[1,"m-0",2,"line-height","1","cursor","pointer"],[2,"font-weight","500","font-size","14px","line-height","22px","color","#1E3757"],["class"," more_details mt-3",4,"ngIf"],[1,"m-0"],[1,"shareAsses"],["width","20px","height","20px","src","assets/sharepic.svg","alt","",3,"click"],[1,"difficulty"],[1,"difficultyLevel"],[1,"defaultText"],[1,"level"],[1,"d-flex","align-items-center","levels","marginLeft"],[1,"tools"],["src","assets/healthicons_eye.svg","width","20","height","20","alt","",1,"eye_icon"],[1,"more_details","mt-3"],[1,"mt-2","discription",2,"font-weight","400","font-size","12px","line-height","18px","color","#1E3757"],[1,"mt-2"],[2,"color","#1E3757"],["width","20px","height","20px","src","assets/editd.svg","alt","",1,"gap"],["width","20px","height","20px","src","assets/deleted.svg","alt",""],[1,"border-0"],[1,"",2,"cursor","pointer"],["class","d-flex flex-column more_details mt-2 ml-5",4,"ngIf"],["style","cursor: pointer;","class","mr-3 ml-md-2","data-toggle","tooltip","data-placement","top","title","Click to Preview Assessment",3,"click",4,"ngIf"],[1,"d-flex","flex-column","more_details","mt-2","ml-5"],[1,"btn","share","mt-2",3,"click"],["type","checkbox",1,"custom-control-input",3,"id","name","click"],["data-toggle","tooltip","data-placement","top",1,"custom-control-label",3,"for","title"]],template:function(i,n){1&i&&(e.\u0275\u0275template(0,qt,1,0,"app-loader",0),e.\u0275\u0275elementStart(1,"div",1)(2,"div",2)(3,"button",3),e.\u0275\u0275listener("click",function(){return n.openFilter()}),e.\u0275\u0275element(4,"i",4),e.\u0275\u0275text(5," Filter "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"div",5)(7,"div",6)(8,"div",7)(9,"div",8)(10,"h1",9),e.\u0275\u0275text(11,"Manage Assessments"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"div",10)(13,"div",11)(14,"input",12),e.\u0275\u0275listener("ngModelChange",function(o){return n.searchkey=o})("keyup.enter",function(){return n.onSearchShowData()}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"div",13)(16,"span",14)(17,"i",15),e.\u0275\u0275listener("click",function(){return n.onSearchShowData()}),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(18,"div")(19,"button",16)(20,"div",17)(21,"input",18),e.\u0275\u0275listener("ngModelChange",function(o){return n.selectedValue=o}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(22,"span"),e.\u0275\u0275element(23,"i",19),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(24,"div",20),e.\u0275\u0275template(25,Ut,3,1,"a",21),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(26,"div",22)(27,"div",23)(28,"div",24)(29,"label",25)(30,"input",26),e.\u0275\u0275listener("ngModelChange",function(o){return n.recordSelected=o})("change",function(){return n.onRecordChange(n.FIELD_NAME.All)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(31,"All"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(32,"label",27)(33,"input",26),e.\u0275\u0275listener("ngModelChange",function(o){return n.recordSelected=o})("change",function(){return n.onRecordChange(n.FIELD_NAME.SELF)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(34,"Self Created"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"label",28)(36,"input",26),e.\u0275\u0275listener("ngModelChange",function(o){return n.recordSelected=o})("change",function(){return n.onRecordChange(n.FIELD_NAME.DYNAMIND)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(37,"Created by Dynamind"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(38,"label",29)(39,"input",26),e.\u0275\u0275listener("ngModelChange",function(o){return n.recordSelected=o})("change",function(){return n.onRecordChange(n.FIELD_NAME.DRAFT)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(40,"Drafts"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(41,"label",30)(42,"input",26),e.\u0275\u0275listener("ngModelChange",function(o){return n.recordSelected=o})("change",function(){return n.onRecordChange(n.FIELD_NAME.TRASH)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(43,"Trash"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(44,zt,3,0,"div",31),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(45,"div",32)(46,"h1",9),e.\u0275\u0275text(47,"Manage Assessments"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(48,"div",33)(49,"div",11)(50,"input",34),e.\u0275\u0275listener("ngModelChange",function(o){return n.searchkey=o}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(51,"div",13)(52,"span",14)(53,"i",15),e.\u0275\u0275listener("click",function(){return n.onSearchShowData()}),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(54,"div")(55,"button",3),e.\u0275\u0275listener("click",function(){return n.openFilter()}),e.\u0275\u0275element(56,"i",4),e.\u0275\u0275text(57," Filter "),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(58,"div",35)(59,"div",24)(60,"label",36)(61,"input",37),e.\u0275\u0275listener("ngModelChange",function(o){return n.recordSelected=o})("change",function(){return n.onRecordChange(n.FIELD_NAME.All)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(62,"All"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(63,"label",38)(64,"input",37),e.\u0275\u0275listener("ngModelChange",function(o){return n.recordSelected=o})("change",function(){return n.onRecordChange(n.FIELD_NAME.SELF)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(65,"Self Created"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(66,"label",39)(67,"input",37),e.\u0275\u0275listener("ngModelChange",function(o){return n.recordSelected=o})("change",function(){return n.onRecordChange(n.FIELD_NAME.DYNAMIND)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(68,"Created by Dynamind"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(69,"label",39)(70,"input",37),e.\u0275\u0275listener("ngModelChange",function(o){return n.recordSelected=o})("change",function(){return n.onRecordChange(n.FIELD_NAME.DRAFT)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(71,"Drafts"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(72,"label",39)(73,"input",37),e.\u0275\u0275listener("ngModelChange",function(o){return n.recordSelected=o})("change",function(){return n.onRecordChange(n.FIELD_NAME.TRASH)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(74,"Trash"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(75,Bt,3,0,"div",40),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(76,Qt,5,0,"div",0),e.\u0275\u0275template(77,sn,3,2,"div",0),e.\u0275\u0275template(78,an,2,0,"h1",41),e.\u0275\u0275template(79,fn,4,3,"div",0),e.\u0275\u0275element(80,"app-footer"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(81,"div",42)(82,"div",43)(83,"div",44)(84,"div")(85,"button",45)(86,"span",46),e.\u0275\u0275text(87,"\xd7"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(88,"div",47)(89,"h6",48),e.\u0275\u0275text(90,"Grade"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(91,"div",49),e.\u0275\u0275template(92,_n,5,5,"div",50),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(93,"div",51)(94,"div",52)(95,"div",53)(96,"h6"),e.\u0275\u0275text(97,"Subject"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(98,"ng-multiselect-dropdown",54,55),e.\u0275\u0275listener("onFilterChange",function(o){return n.onFilterChange(o,"SUBJECT")})("onSelect",function(o){return n.selectedSubjectNew(o,"SUBJECT")})("onDeSelect",function(o){return n.selectedSubjectNew(o,"SUBJECT")})("ngModelChange",function(o){return n.selectedSubjectsForPublishedFilter=o}),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(100,"div",49)(101,"div",56)(102,"div",53)(103,"h6"),e.\u0275\u0275text(104,"Topic"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10
15,"ng-multiselect-dropdown",54,57),e.\u0275\u0275listener("onFilterChange",function(o){return n.onFilterChange(o,"TOPIC")})("onSelect",function(o){return n.selectedTopicNew(o,"TOPIC")})("onDeSelect",function(o){return n.selectedTopicNew(o,"TOPIC")})("ngModelChange",function(o){return n.selectedTopicsForPublishedFilter=o}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(107,"div",56)(108,"div",53)(109,"h6"),e.\u0275\u0275text(110,"Chapter"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(111,"ng-multiselect-dropdown",54,58),e.\u0275\u0275listener("onFilterChange",function(o){return n.onFilterChange(o,"CHAPTER")})("onSelect",function(o){return n.selectedChapterNew(o,"CHAPTER")})("onDeSelect",function(o){return n.selectedChapterNew(o,"CHAPTER")})("ngModelChange",function(o){return n.selectedChaptersForPublishedFilter=o}),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(113,"div",49)(114,"div",59)(115,"h6",48),e.\u0275\u0275text(116,"Difficulty level"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(117,"div",60)(118,"div",61)(119,"input",62),e.\u0275\u0275listener("change",function(o){return n.onPublishedDifficultLevelSelectForFilter("EXTREMELY_EASY",o.target.checked)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(120,"label",63),e.\u0275\u0275text(121,"Extremely Easy"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(122,"div",60)(123,"div",61)(124,"input",64),e.\u0275\u0275listener("change",function(o){return n.onPublishedDifficultLevelSelectForFilter("VERY_EASY",o.target.checked)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(125,"label",65),e.\u0275\u0275text(126," Very Easy"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(127,"div",60)(128,"div",61)(129,"input",66),e.\u0275\u0275listener("change",function(o){return n.onPublishedDifficultLevelSelectForFilter("EASY",o.target.checked)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(130,"label",67),e.\u0275\u0275text(131,"Easy"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(132,"div",60)(133,"div",61)(134,"input",68),e.\u0275\u0275listener("change",function(o){return n.onPublishedDifficultLevelSelectForFilter("MODERATELY_DIFFICULT",o.target.checked)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(135,"label",69),e.\u0275\u0275text(136," Moderately Difficult "),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(137,"div",60)(138,"div",61)(139,"input",70),e.\u0275\u0275listener("change",function(o){return n.onPublishedDifficultLevelSelectForFilter("HIGHLY_DIFFICULT",o.target.checked)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(140,"label",71),e.\u0275\u0275text(141," Highly Difficult"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(142,"div",60)(143,"div",61)(144,"input",72),e.\u0275\u0275listener("change",function(o){return n.onPublishedDifficultLevelSelectForFilter("EXTREMELY_DIFFICULT",o.target.checked)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(145,"label",73),e.\u0275\u0275text(146," Extremely Difficult"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275element(147,"div",60),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(148,"div",51)(149,"div",74)(150,"h6"),e.\u0275\u0275text(151,"Date Published"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(152,"div",75),e.\u0275\u0275text(153,"From"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(154,"div",76)(155,"input",77),e.\u0275\u0275listener("ngModelChange",function(o){return n.selectedFromDate=o}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(156,"div",78),e.\u0275\u0275text(157,"To"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(158,"div",76)(159,"input",79),e.\u0275\u0275listener("ngModelChange",function(o){return n.selectedToDate=o}),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(160,"div",80)(161,"div",81)(162,"button",82),e.\u0275\u0275listener("click",function(){return n.publishedResetFilterForQuestions(),n.isReset=!0}),e.\u0275\u0275text(163," Reset "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(164,"button",83),e.\u0275\u0275listener("click",function(){return n.publishedApplyFilterForQuestions(),n.isReset=!1}),e.\u0275\u0275text(165," Apply "),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(166,"div",84)(167,"div",85)(168,"div",44)(169,"div")(170,"button",45)(171,"span",46),e.\u0275\u0275text(172,"\xd7"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(173,"div",47)(174,"h6",48),e.\u0275\u0275text(175,"Grade"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(176,"div",49),e.\u0275\u0275template(177,xn,5,5,"div",50),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(178,"div",51)(179,"div",52)(180,"div",53)(181,"h6"),e.\u0275\u0275text(182,"Subject"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(183,"ng-multiselect-dropdown",86,87),e.\u0275\u0275listener("blur",function(){return n.exampleMethod()})("onFilterChange",function(o){return n.onFilterChange(o,"SUBJECT")})("onDropDownClose",function(o){return n.onDropDownClose(o)})("onSelect",function(o){return n.selectedOrUnSelectedtagForPurchesedFilter(o,"SUBJECT")})("onDeSelect",function(o){return n.selectedOrUnSelectedtagForPurchesedFilter(o,"SUBJECT")}
1)("onSelectAll",function(o){return n.onSelectAll(o)})("onDeSelectAll",function(o){return n.onDeSelectAll(o)})("ngModelChange",function(o){return n.selectedSubjectsForPurchesedFilter=o}),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(185,"div",49)(186,"div",56)(187,"div",53)(188,"h6"),e.\u0275\u0275text(189,"Topic"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(190,"ng-multiselect-dropdown",88,89),e.\u0275\u0275listener("onFilterChange",function(o){return n.onFilterChange(o,"TOPIC")})("onDropDownClose",function(o){return n.onDropDownClose(o)})("onSelect",function(o){return n.selectedOrUnSelectedtagForPurchesedFilter(o,"TOPIC")})("onDeSelect",function(o){return n.selectedOrUnSelectedtagForPurchesedFilter(o,"TOPIC")})("onSelectAll",function(o){return n.onSelectAll(o)})("onDeSelectAll",function(o){return n.onDeSelectAll(o)})("ngModelChange",function(o){return n.selectedTopicsForPurchesedFilter=o}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(192,"div",56)(193,"div",53)(194,"h6"),e.\u0275\u0275text(195,"Chapter"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(196,"ng-multiselect-dropdown",88,90),e.\u0275\u0275listener("onFilterChange",function(o){return n.onFilterChange(o,"CHAPTER")})("onDropDownClose",function(o){return n.onDropDownClose(o)})("onSelect",function(o){return n.selectedOrUnSelectedtagForPurchesedFilter(o,"CHAPTER")})("onDeSelect",function(o){return n.selectedOrUnSelectedtagForPurchesedFilter(o,"CHAPTER")})("onSelectAll",function(o){return n.onSelectAll(o)})("onDeSelectAll",function(o){return n.onDeSelectAll(o)})("ngModelChange",function(o){return n.selectedChaptersForPurchesedFilter=o}),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(198,"div",49)(199,"div",59)(200,"h6",48),e.\u0275\u0275text(201,"Difficulty level"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(202,"div",60)(203,"div",61)(204,"input",91),e.\u0275\u0275listener("change",function(o){return n.onPurchaedDifficultLevelSelectForFilter("EXTREMELY_EASY",o.target.checked)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(205,"label",92),e.\u0275\u0275text(206,"Extremely Easy"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(207,"div",60)(208,"div",61)(209,"input",93),e.\u0275\u0275listener("change",function(o){return n.onPurchaedDifficultLevelSelectForFilter("VERY_EASY",o.target.checked)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(210,"label",94),e.\u0275\u0275text(211," Very Easy"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(212,"div",60)(213,"div",61)(214,"input",95),e.\u0275\u0275listener("change",function(o){return n.onPurchaedDifficultLevelSelectForFilter("EASY",o.target.checked)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(215,"label",96),e.\u0275\u0275text(216,"Easy"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(217,"div",60)(218,"div",61)(219,"input",97),e.\u0275\u0275listener("change",function(o){return n.onPurchaedDifficultLevelSelectForFilter("MODERATELY_DIFFICULT",o.target.checked)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(220,"label",98),e.\u0275\u0275text(221," Moderately Difficult "),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(222,"div",60)(223,"div",61)(224,"input",99),e.\u0275\u0275listener("change",function(o){return n.onPurchaedDifficultLevelSelectForFilter("HIGHLY_DIFFICULT",o.target.checked)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(225,"label",100),e.\u0275\u0275text(226," Highly Difficult"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(227,"div",60)(228,"div",61)(229,"input",101),e.\u0275\u0275listener("change",function(o){return n.onPurchaedDifficultLevelSelectForFilter("EXTREMELY_DIFFICULT",o.target.checked)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(230,"label",102),e.\u0275\u0275text(231," Extremely Difficult"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275element(232,"div",60),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(233,"div",51)(234,"div",74)(235,"h6"),e.\u0275\u0275text(236,"Date Published"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(237,"div",75),e.\u0275\u0275text(238,"From"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(239,"div",76)(240,"input",103),e.\u0275\u0275listener("ngModelChange",function(o){return n.selectedFromDateForPurchesedFilter=o}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(241,"div",78),e.\u0275\u0275text(242,"To"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(243,"div",76)(244,"input",104),e.\u0275\u0275listener("ngModelChange",function(o){return n.selectedToDateForPurchesedFilter=o}),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(245,"div",80)(246,"button",82),e.\u0275\u0275listener("click",function(){return n.purchesedResetFilterForQuestions(),n.isReset=!0}),e.\u0275\u0275text(247," Reset "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(248,"button",83),e.\u0275\u0275listener("click",function(){return n.purchesedApplyFilterForQuestions(),n.isReset=!1}),e.\u0275\u0275text(249," Apply "),e.\u0275\u0275elementEnd()()()()()()),2&i&&(e.\u0275\u0275property("ngIf",n.isLoading),e.\u0275\u0275advance(14),e.\u0275\u0275property("ngModel",n.searchkey),e.\u0275\u0275advance(7),e.\u0275\u0275property("ngModel",n.selectedValue),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",n.sortingValues),e.\u0275\u0275advance(5),e.\u0275\u0275property("value",n.FIELD_NAME.All)("ngModel",n.recordSelected),e.\u0275\u0275advance(3),e.\u0275\u0275property("value",n.FIELD_NAME.SELF)("ngModel",n.recordSelected),e.\u0275\u0275advance(3),e.\u0275\u0275property("value",n.FIELD_NAME.DYNAMIND)("ngModel",n.recordSelected),e.\u0275\u0275advance(3),e.\u0275\u0275property("value",n.FIELD_NAME.DRAFT)("ngModel",n.recordSelected),e.\u0275\u0275advance(3),e.\u0275\u0275property("value",n.FIELD_NAME.TRASH)("ngModel",n.recordSelected),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",n.selectedAssessment.length>0),e.\u0275\u0275advance(6),e.\u0275\u0275property("ngModel",n.searchkey),e.\u0275\u0275advance(11),e.\u0275\u0275property("value",n.FIELD_NAME.All)("ngModel",n.recordSelected),e.\u0275\u0275advance(3),e.\u0275\u0275property("value",n.FIELD_NAME.SELF)("ngModel",n.recordSelected),e.\u0275\u0275advance(3),e.\u0275\u0275property("value",n.FIELD_NAME.DYNAMIND)("ngModel",n.recordSelected),e.\u0275\u0275advance(3),e.\u0275\u0275property("value",n.FIELD_NAME.DRAFT)("ngModel",n.recordSelected),e.\u0275\u0275advance(3),e.\u0275\u0275property("value",n.FIELD_NAME.TRASH)("ngModel",n.recordSelected),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",n.selectedAssessment.length>0),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",1==n.firstTimeUserForPublishedAssessments&&0==n.isLoading),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","TrashAssessment"!=n.getManageAssessment.fieldNameForAssessments),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","All"==n.getManageAssessment.fieldNameForAssessments),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","All"==n.getManageAssessment.fieldNameForAssessments||"TrashAssessment"==n.getManageAssessment.fieldNameForAssessments),e.\u0275\u0275advance(13),e.\u0275\u0275property("ngForOf",n.allGrades),e.\u0275\u0275advance(6),e.\u0275\u0275property("data",n.allSubjects)("settings",n.settingsForSubjectsFilter)("placeholder","Select Subject")("ngModel",n.selectedSubjectsForPublishedFilter),e.\u0275\u0275advance(7),e.\u0275\u0275property("data",n.allTopics)("settings",n.settingsForTopicsFilter)("placeholder","Select Topics")("ngModel",n.selectedTopicsForPublishedFilter),e.\u0275\u0275advance(6),e.\u0275\u0275property("data",n.allChapters)("settings",n.settingsForChapersFilter)("placeholder","Select Chapters")("ngModel",n.selectedChaptersForPublishedFilter),e.\u0275\u0275advance(44),e.\u0275\u0275property("ngModel",n.selectedFromDate)("max",n.fromDateMax),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngModel",n.selectedToDate)("max",n.fromDateMax),e.\u0275\u0275advance(18),e.\u0275\u0275property("ngForOf",n.allGradesForPurchesedFilter),e.\u0275\u0275advance(6),e.\u0275\u0275property("data",n.allSubjectsForPurchesedFilter)("settings",n.settingsForSubjectsFilterPurchesed)("disabled",!1)("placeholder","Select Subject")("ngModel",n.selectedSubjectsForPurchesedFilter),e.\u0275\u0275advance(7),e.\u0275\u0275property("data",n.allTopicsForPurchesedFilter)("settings",n.settingsForTopicsFilterPurchesed)("disabled",!1)("placeholder","Select Topics")("ngModel",n.selectedTopicsForPurchesedFilter),e.\u0275\u0275advance(6),e.\u0275\u0275property("data",n.allChaptersForPurchesedFilter)("settings",n.settingsForChapersFilterPurchesed)("disabled",!1)("placeholder","Select Chapters")("ngModel",n.selectedChaptersForPurchesedFilter),e.\u0275\u0275advance(44),e.\u0275\u0275property("ngModel",n.selectedFromDateForPurchesedFilter)("max",n.fromDateMaxForPurchesedFilter),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngModel",n.selectedToDateForPurchesedFilter)("max",n.fromDateMaxForPurchesedFilter))},dependencies:[m.mk,m.sg,m.O5,z.OP,f.Fj,f._,f.JJ,f.On,O.R,F.c,B.D,m.OU,m.rS,oe.A],styles:['.grecaptcha-badge[_ngcontent-%COMP%]{display:none}.manage[_ngcontent-%COMP%]{margin:6px}.table[_ngcontent-%COMP%]{border-collapse:separate;border-spacing:0 6px}.table-responsive[_ngcontent-%COMP%]{background:#f1f4f8;padding:2px 20px;border-radius:10px;margin-bottom:2rem}.table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:first-child{padding-left:4rem}.table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{font-weight:500;font-size:16px;line-height:25px;color:#1e3757;vertical-align:top!important}.table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:first-child{border-top-left-radius:10px;border-bottom-left-radius:10px}.table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:last-child{border-top-right-radius:10px;border-bottom-right-radius:10px}.table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:last-child   a[_ngcontent-%COMP%]{cursor:pointer}a[_ngcontent-%COMP%]{color:#00000070}.text-change[_ngcontent-%COMP%]{font-weight:500;font-size:16px;line-height:19px}.grade[_ngcontent-%COMP%]{font-weight:500}[_ngcontent-%COMP%]::placeholder{font-style:italic}.search[_ngcontent-%COMP%]{border-radius:20px;border:1px solid rgba(0,0,0,.2509803922);padding:0 30px}.mng-search[_ngcontent-%COMP%]{padding:6px 40px 6px 18px!important;border-radius:5px;border:1px solid rgba(0,0,0,.2509803922)}.mng-search[_ngcontent-%COMP%]:focus{border:1px solid rgba(0,0,0,.2509803922)!important;outline:none!important}.searchicon[_ngcontent-%COMP%]{margin-left:-34px;color:#0000007d}thead[_ngcontent-%COMP%]{background-color:#eaf4fe}.card[_ngcontent-%COMP%]{border-radius:5px}.pencil[_ngcontent-%COMP%]{font-size:large;color:#298ba9}.shadowbackground[_ngcontent-%COMP%]{box-shadow:0 2px 3px #8080808f}a[_ngcontent-%COMP%]{color:#00000056;text-decoration:none;background-color:transparent}.row[_ngcontent-%COMP%]{margin:0;padding:0}thead[_ngcontent-%COMP%]{background-color:#f1f4f8!important}.table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:first-child{color:#1e3757!important}.table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{color:#4f4f4f!important}tbody[_ngcontent-%COMP%]{background:white}@media screen and (min-width: 1200px) and (max-width: 1400px){.textSmaller[_ngcontent-%COMP%]{font-size:smaller}}nav[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#1e3757!important;font-size:16px}a[_ngcontent-%COMP%]:hover{text-decoration:none}.nav-link[_ngcontent-%COMP%]{display:block;padding:.5rem 0;margin:0 10px}.nav-pills[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], .nav-pills[_ngcontent-%COMP%]   .show[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]{color:#1e3757;background-color:transparent;border-bottom:5px solid #00e1ac}.nav-pills[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:not(.active){color:#8796a8!important}.filter-btn[_ngcontent-%COMP%]{width:130px;height:47px;border-radius:25px}.searchgroup[_ngcontent-%COMP%]{height:47px;margin-right:15px}.searchgroup[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:larger}.search-box[_ngcontent-%COMP%]{height:47px}.searchgroup[_ngcontent-%COMP%]   .input-group-text[_ngcontent-%COMP%], .searchgroup[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%], .searchgroup[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]:focus{border:1px solid #8796a8!important}.searchgroup[_ngcontent-%COMP%]   .input-group-text[_ngcontent-%COMP%]{border-radius:0 25px 25px 0!important;border-left:none!important}.searchgroup[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{border-right:none!important;border-radius:25px 0 0 25px!important;padding-left:20px!important}.searchgroup[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]:focus{border-right:none!important}.dropdown[_ngcontent-%COMP%]{position:relative;display:inline-block}table[_ngcontent-%COMP%]   .dropdown-content[_ngcontent-%COMP%]{display:none;position:absolute;background-color:#fff;
1width:200px;box-shadow:0 8px 16px #0003;z-index:1;padding:10px;bottom:18px;border-radius:7px}.dropdown[_ngcontent-%COMP%]:hover   .dropdown-content[_ngcontent-%COMP%]{display:block}.resetButtonClass[_ngcontent-%COMP%], .SaveOrSubmitButtonClass[_ngcontent-%COMP%]{border-radius:25px!important;padding:8px 24px}select.form-control[_ngcontent-%COMP%]:focus{border-color:#ced4da!important}.filterContent[_ngcontent-%COMP%]:after{content:" ";position:absolute;top:100%;right:52%;border-width:10px;border-style:solid;border-color:#fff transparent transparent transparent}.defaultBar[_ngcontent-%COMP%]{width:5px;height:10px;background:#e9e9e9;margin:0 2px}.extremelyEasy[_ngcontent-%COMP%]{width:5px;height:10px;background-color:#00e1ac;margin:0 2px}.veryEasy[_ngcontent-%COMP%]{width:5px;height:10px;background:#1dd1fc;margin:0 2px}.easy[_ngcontent-%COMP%]{width:5px;height:10px;background:#fcbb1d;margin:0 2px}.moderatelyDifficult[_ngcontent-%COMP%]{width:5px;height:10px;background:#ff4a4a;margin:0 2px}.highlyDifficult[_ngcontent-%COMP%]{width:5px;height:10px;background:#bd0000;margin:0 2px}.exremelyDifficult[_ngcontent-%COMP%]{width:5px;height:10px;background:red;margin:0 2px}.editIconColor[_ngcontent-%COMP%]{background:#eaf8f4;padding:10px;border-radius:20px;color:#00e1ac}.eye_icon[_ngcontent-%COMP%]{background:#eaf8f4;padding:5px;border-radius:20px}.more_details[_ngcontent-%COMP%]{font-weight:500;font-size:14px;line-height:22px;color:#8796a8;word-break:break-all}.more_details[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{white-space:initial}.deleteIconColor[_ngcontent-%COMP%]{background:rgba(29,209,252,.1019607843);padding:10px;border-radius:20px;color:#1dd1fc}.mdl-dilog-mt[_ngcontent-%COMP%]{margin-top:80px}.share[_ngcontent-%COMP%]{background:#1e3757;border-radius:20px;color:#fff;padding:5px 30px}@media screen and (max-width: 425px){.radio_btn[_ngcontent-%COMP%]{margin-top:1.5rem}}.radio_btn[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-weight:400;font-size:18px;line-height:28px;color:#8796a8}@media screen and (max-width: 425px){.radio_btn[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-size:13px;line-height:18px}}.manage-txt[_ngcontent-%COMP%]{font-weight:400;font-size:60px;line-height:73px;color:#1e3757}@media screen and (min-width: 280px) and (max-width: 416px){.mt-purchased[_ngcontent-%COMP%]{margin-top:15px}}@media screen and (min-width: 280px) and (max-width: 360px){body[_ngcontent-%COMP%]   .ui-paginator[_ngcontent-%COMP%]   .ui-paginator-pages[_ngcontent-%COMP%]{display:none}}@media screen and (min-width: 420px) and (max-width: 576px){.wrap-div[_ngcontent-%COMP%]{display:flex;align-items:center}.wrap-div[_ngcontent-%COMP%]   .searchgroup[_ngcontent-%COMP%]{width:50%}.manage-txt[_ngcontent-%COMP%]{margin-top:15px}}@media screen and (max-width: 575px){.searchgroup[_ngcontent-%COMP%]{margin:15px 15px 15px 0}.manage-txt[_ngcontent-%COMP%]{font-size:25px}.mdl-dilog-mt[_ngcontent-%COMP%]{margin-top:8px}.dont-txt[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:20px}}@media screen and (min-width: 576px) and (max-width: 767px){.manage-txt[_ngcontent-%COMP%]{font-size:35px}.mdl-dilog-mt[_ngcontent-%COMP%]{margin-top:30px}.searchgroup[_ngcontent-%COMP%]{margin:15px 15px 15px 0}.wrap-div[_ngcontent-%COMP%]{display:flex;align-items:center}.wrap-div[_ngcontent-%COMP%]   .searchgroup[_ngcontent-%COMP%]{width:70%}}@media screen and (min-width: 768px) and (max-width: 992px){.mdl-dilog-mt[_ngcontent-%COMP%]{margin-top:30px}}@media screen and (min-width: 992px) and (max-width: 1024px){.mdl-dilog-mt[_ngcontent-%COMP%]{margin-top:45px}.manage-txt[_ngcontent-%COMP%]{font-size:44px}}@media screen and (min-width: 1024px) and (max-width: 1280px){.manage-txt[_ngcontent-%COMP%]{font-size:45px}}@media screen and (min-width: 768px) and (max-width: 800px){.manage-txt[_ngcontent-%COMP%]{font-size:30px}}@media screen and (min-width: 801px) and (max-width: 900px){.manage-txt[_ngcontent-%COMP%]{font-size:34px}}@media screen and (min-width: 901px) and (max-width: 992px){.manage-txt[_ngcontent-%COMP%]{font-size:44px}}@media screen and (min-width: 300px) and (max-width: 980px){.nav[_ngcontent-%COMP%]{display:-webkit-inline-box!important;display:-webkit-box!important}}td.text-nowrap[_ngcontent-%COMP%]{position:relative}td.text-nowrap[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%)}label[_ngcontent-%COMP%]{display:inherit;align-items:center}label.customCheckbox[_ngcontent-%COMP%]{display:flex}input[type=radio][_ngcontent-%COMP%]{appearance:none;background-color:var(--form-background);margin:0;font:inherit;color:#1e3757;width:1.15em;height:1.15em;border:.15em solid #1e3757;border-radius:50%;transform:translateY(-.075em);display:grid;place-content:center}input[type=radio][_ngcontent-%COMP%]:before{content:"";width:.65em;height:.65em;border-radius:50%;transform:scale(0);transition:.12s transform ease-in-out;box-shadow:inset 1em 1em var(--form-control-color);background-color:CanvasText}input[type=radio][_ngcontent-%COMP%]:checked:before{transform:scale(1)}input[type=checkbox][_ngcontent-%COMP%]{appearance:none;background-color:var(--form-background);margin:0;font:inherit;color:#00e1ac;width:1.15em;height:1.15em;border:.5px solid #1e3757;border-radius:.15em;transform:translateY(-.075em);display:grid;place-content:center}input[type=checkbox][_ngcontent-%COMP%]:before{content:"";width:.65em;height:.65em;clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0%,43% 62%);transform:scale(0);transform-origin:bottom left;transition:.12s transform ease-in-out;box-shadow:inset 1em 1em var(--form-control-color);background-color:CanvasText}input[type=checkbox][_ngcontent-%COMP%]:checked{border:.5px solid #00e1ac}input[type=checkbox][_ngcontent-%COMP%]:checked:before{transform:scale(1);background:#00e1ac}input[type=checkbox][_ngcontent-%COMP%]:disabled{--form-control-color: var(--form-control-disabled);color:var(--form-control-disabled);cursor:not-allowed}.radio_btn[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-right:10px}@media screen and (min-width: 0px) and (max-width: 600px){.radio_btn[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-right:3px}}.share-btn[_ngcontent-%COMP%]{padding:0 25px;border-radius:50px;height:47px}.level[_ngcontent-%COMP%]{color:#a4a8ae}.assessment-card[_ngcontent-%COMP%]{border-radius:10px}.shareAsses[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{cursor:pointer}.tools[_ngcontent-%COMP%]{display:flex;margin-top:2rem}.cardDesc[_ngcontent-%COMP%]{display:flex!important}.defaultText[_ngcontent-%COMP%]{margin-left:20px}.draft-txt[_ngcontent-%COMP%]{font-style:italic;font-weight:400;font-size:12px;line-height:19px;color:#fc1c1c}@media screen and (min-width: 320px) and (max-width: 768px){.share-btn[_ngcontent-%COMP%]{width:100%}.filter-btn[_ngcontent-%COMP%]{color:#00e1ac}}@media screen and (min-width: 1024px) and (max-width: 2560px){.share-btn[_ngcontent-%COMP%]{float:right}}@media screen and (min-width: 280px) and (max-width: 370px){.defaultText[_ngcontent-%COMP%]{text-align:left!important;margin-top:10px}.difficulty[_ngcontent-%COMP%]{display:flex!important}.cardDesc[_ngcontent-%COMP%]{display:block!important}.tools[_ngcontent-%COMP%]{margin-left:auto!important;margin-top:-1.5rem!important}.levels[_ngcontent-%COMP%]{display:flex!important}.mainCard[_ngcontent-%COMP%]{line-break:anywhere!important}.difficultyLevel[_ngcontent-%COMP%]{margin-left:28px}}@media screen and (min-width: 280px) and (max-width: 425px){.more_details[_ngcontent-%COMP%]{font-size:12px!important;width:70%!important;word-break:break-all}.card-head[_ngcontent-%COMP%]{width:70%!important}}@media screen and (min-width: 371px) and (max-width: 575px){.tools[_ngcontent-%COMP%]{justify-content:flex-end}}@media screen and (min-width: 280px) and (max-width: 575px){.gap[_ngcontent-%COMP%]{margin-right:10px!important}}.inputForTags[_ngcontent-%COMP%]{border-radius:30px;height:45px;width:130px;padding-left:15px!important;border:1px solid #C4C4C4}.downArrow[_ngcontent-%COMP%]{margin-left:-45px;margin-top:15px}.sortShadow[_ngcontent-%COMP%]:before{bottom:100%;left:6.2em;border:11px solid rgb(0,0,0);content:" ";height:0;width:0;position:absolute;pointer-events:none;border-color:#c8c8c800;border-bottom-color:#c8c8c8}.sortShadow[_ngcontent-%COMP%]:after{bottom:100%;left:6.25em;border:10px solid rgba(0,0,0,0);content:" ";height:0;width:0;position:absolute;pointer-events:none;border-color:#fefdfd00;border-bottom-color:#fff}']})}return a})();var k=p(15861),re=p(8929),Q=p(55840),Cn=p(30833),j=p(83539),le=p(89692);function bn(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span",23)(1,"input",24),e.\u0275\u0275listener("change",function(n){const s=e.\u0275\u0275restoreView(t),o=s.$implicit,d=s.index,r=e.\u0275\u0275nextContext(2);
1return e.\u0275\u0275resetView(r.selectedStreamNew(o,"STREAM",n.target.checked,d))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(2,"label",25),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()()}if(2&a){const t=l.$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275property("checked",t.isSelected),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ","Others"==(null==t?null:t.tagName)?"All Boards":null==t?null:t.tagName," ")}}function wn(a,l){1&a&&(e.\u0275\u0275elementContainerStart(0,26),e.\u0275\u0275elementStart(1,"div",27)(2,"div",28),e.\u0275\u0275text(3,"Please select the stream before selecting grade"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd())}function Sn(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",20),e.\u0275\u0275template(1,bn,4,2,"span",21),e.\u0275\u0275template(2,wn,4,0,"ng-container",22),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.streamList),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",null==t.getGradeHierrchy||0==t.getGradeHierrchy.length)}}function An(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span",23)(1,"input",34),e.\u0275\u0275listener("click",function(n){const s=e.\u0275\u0275restoreView(t),o=s.$implicit,d=s.index,r=e.\u0275\u0275nextContext().$implicit,c=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(c.selectedGradeNew(o,"GRADE",n.target.checked,d,r))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(2,"label",25),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()()}if(2&a){const t=l.$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275property("checked",t.isSelected),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",null==t?null:t.tagName," ")}}function yn(a,l){if(1&a&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",31)(2,"div",32)(3,"h2",33)(4,"span"),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(6,An,4,2,"span",21),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(t),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",i.interestAreaList[t])}}function Mn(a,l){1&a&&(e.\u0275\u0275elementContainerStart(0,26),e.\u0275\u0275elementStart(1,"div",27)(2,"div",28),e.\u0275\u0275text(3,"Please select the grade before selecting subject"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd())}function Pn(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",29),e.\u0275\u0275template(1,yn,7,2,"ng-container",30),e.\u0275\u0275template(2,Mn,4,0,"ng-container",22),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.getGradeHierrchy),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",null==t.getSubjectHierrchy||0==t.getSubjectHierrchy.length)}}function Tn(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span",23)(1,"input",34),e.\u0275\u0275listener("click",function(n){const s=e.\u0275\u0275restoreView(t),o=s.$implicit,d=s.index,r=e.\u0275\u0275nextContext().$implicit,c=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(c.selectedSubjectNew(o,"SUBJECT",n.target.checked,d,r))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(2,"label",25),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()()}if(2&a){const t=l.$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275property("checked",t.isSelected),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",null==t?null:t.tagName," ")}}function Dn(a,l){if(1&a&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",31)(2,"div",32)(3,"h2",33)(4,"span"),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(6,Tn,4,2,"span",21),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(t),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",i.subjectList[t])}}function En(a,l){1&a&&(e.\u0275\u0275elementContainerStart(0,26),e.\u0275\u0275elementStart(1,"div",27)(2,"div",28),e.\u0275\u0275text(3,"Please select the subject before selecting topic"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd())}function In(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",35),e.\u0275\u0275template(1,Dn,7,2,"ng-container",30),e.\u0275\u0275template(2,En,4,0,"ng-container",22),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.getSubjectHierrchy),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",null==t.getTopicHierrchy||0==t.getTopicHierrchy.length)}}function On(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span",23)(1,"input",34),e.\u0275\u0275listener("click",function(n){const s=e.\u0275\u0275restoreView(t),o=s.$implicit,d=s.index,r=e.\u0275\u0275nextContext().$implicit,c=e.\u0275\u0275nextContext(2);
1return e.\u0275\u0275resetView(c.selectedTopicNew(o,"TOPIC",n.target.checked,d,r))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(2,"label",25),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()()}if(2&a){const t=l.$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275property("checked",t.isSelected),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",null==t?null:t.tagName," ")}}function Fn(a,l){if(1&a&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",31)(2,"div",32)(3,"h2",33)(4,"span"),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(6,On,4,2,"span",21),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(t),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",i.topicList[t])}}function kn(a,l){1&a&&(e.\u0275\u0275elementContainerStart(0,26),e.\u0275\u0275elementStart(1,"div",27)(2,"div",28),e.\u0275\u0275text(3,"Please select the topic before selecting chapter"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd())}function Ln(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",36),e.\u0275\u0275template(1,Fn,7,2,"ng-container",30),e.\u0275\u0275template(2,kn,4,0,"ng-container",22),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.getTopicHierrchy),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",null==t.getChapterHierrchy||0==t.getChapterHierrchy.length)}}function Rn(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span",23)(1,"input",38),e.\u0275\u0275listener("click",function(n){const s=e.\u0275\u0275restoreView(t),o=s.$implicit,d=s.index,r=e.\u0275\u0275nextContext().$implicit,c=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(c.selectedChapterNew(o,"CHAPTER",n.target.checked,d,r))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(2,"label",25),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()()}if(2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(1),e.\u0275\u0275property("disabled",i.chapterSelectedNew.length>=2&&!t.isSelected)("checked",t.isSelected),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",null==t?null:t.tagName," ")}}function Nn(a,l){if(1&a&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",31)(2,"div",32)(3,"h2",33)(4,"span"),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(6,Rn,4,3,"span",21),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(t),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",i.chapter
1List[t])}}function Vn(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",37),e.\u0275\u0275template(1,Nn,7,2,"ng-container",30),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.getChapterHierrchy)}}function qn(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span",23)(1,"input",34),e.\u0275\u0275listener("click",function(n){const s=e.\u0275\u0275restoreView(t),o=s.$implicit,d=s.index,r=e.\u0275\u0275nextContext().$implicit,c=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(c.selectedArticleNew(o,"ARTICLE",n.target.checked,d,r))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(2,"label",25),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()()}if(2&a){const t=l.$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275property("checked",t.isSelected),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",null==t?null:t.tagName," ")}}function Un(a,l){if(1&a&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",31)(2,"div",32)(3,"h2",33)(4,"span"),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(6,qn,4,2,"span",21),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(t),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",i.articleList[t])}}function zn(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",39),e.\u0275\u0275template(1,Un,7,2,"ng-container",30),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.getArticleHierrchy)}}function Bn(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span",23)(1,"input",34),e.\u0275\u0275listener("click",function(n){const s=e.\u0275\u0275restoreView(t),o=s.$implicit,d=s.index,r=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(r.selectedDifficultyNew(o.value,n.target.checked,d))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(2,"label",25),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()()}if(2&a){const t=l.$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275property("checked",t.isSelected),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",null==t?null:t.tagName," ")}}function Qn(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",40),e.\u0275\u0275template(1,Bn,4,2,"span",21),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.difficultyList)}}const y=function(a){return{activeBg:a}},de=function(a){return{activeCl:a}};let jn=(()=>{class a{constructor(t,i){this.apiService=t,this.toaster=i,this.isLoading=!1,this.streamList=[],this.interestAreaList=[],this.getDataRequest=new w.l,this.selectedTagIdsForStepOne=[],this.buttonToggle=!1,this.difficultyList=[{id:0,tagName:"Extremely Easy",value:"EXTREMELY_EASY"},{id:1,tagName:"Very Easy",value:"VERY_EASY"},{id:2,tagName:"EASY",value:"EASY"},{id:3,tagName:"Moderately Difficult",value:"MODERATELY_DIFFICULT"},{id:4,tagName:"Highly Difficult",value:"HIGHLY_DIFFICULT"},{id:5,tagName:"Extremely Difficult",value:"EXTREMELY_DIFFICULT"}],this.stream=!0,this.streamSelectedNew=[],this.grade=!1,this.gradeSelectedNew=[],this.subject=!1,this.subjectSelectedNew=[],this.subjectList=[],this.topic=!1,this.topicSelectedNew=[],this.topicList=[],this.chapter=!1,this.chapterSelectedNew=[],this.article=!1,this.articleSelectedNew=[],this.chapterList=[],this.articleList=[],this.difficultyLevel=!1,this.difficultySelectedNew=[],this.selectedTagIdsNew=[],this.outputData=[],this.refreshQuestions=new e.EventEmitter}ngOnInit(){this.getAllTagsForStepOne("STREAM"),this.clickSubject.subscribe(t=>{this.applyFilter()}),this.clickReset.subscribe(t=>{this.resetFilter()})}getAllTagsForStepOne(t){this.getDataRequest.pageSize=25,this.getDataRequest.filterTagIds=this.selectedTagIdsForStepOne,this.getDataRequest.filterType=t,this.apiService.postService(this.apiService.apiUrls.getAllTagsForCreateAssessment,this.getDataRequest).subscribe(i=>{if(i&&200==i.statusCode&&i.data&&i.data.content){let n=i.data.content;n&&("STREAM"==t?this.streamList=n:"GRADE"==t&&(this.interestAreaList=n))}else this.toaster.show(i?.message,"Info")},i=>{401==i.status?(this.isLoading=!1,this.toaster.show(i.message?i.message:"Something Went Wrong","Warning"),localStorage.clear(),window.location.href="/"):(this.isLoading=!1,this.toaster.show(i?.error?.message,"Info"))})}tabSelected(t){"grade"===t?(this.grade=!0,this.stream=this.subject=this.topic=this.chapter=this.article=this.difficultyLevel=!1):"subject"===t?(this.subject=!0,this.stream=this.grade=this.topic=this.chapter=this.article=this.difficultyLevel=!1):"topic"===t?(this.topic=!0,this.stream=this.grade=this.subject=this.chapter=this.article=this.difficultyLevel=!1):"chapter"
1===t?(this.chapter=!0,this.stream=this.grade=this.subject=this.topic=this.article=this.difficultyLevel=!1):"difficultyLevel"===t?(this.difficultyLevel=!0,this.stream=this.grade=this.subject=this.topic=this.chapter=this.article=!1):"article"===t?(this.article=!0,this.stream=this.grade=this.subject=this.topic=this.chapter=this.difficultyLevel=!1):(this.stream=!0,this.grade=this.subject=this.topic=this.chapter=this.article=this.difficultyLevel=!1)}selectedStreamNew(t,i,n,s){let o=this.streamSelectedNew.findIndex(d=>d.id==t.id);this.streamList[s].isSelected=n,-1==o?(this.interestAreaList=[],this.getGradeHierrchy=[],this.getSubjectHierrchy=[],this.subjectList=[],this.getTopicHierrchy=[],this.topicList=[],this.getChapterHierrchy=[],this.chapterList=[],this.getArticleHierrchy=[],this.articleList=[],this.gradeSelectedNew=[],this.subjectSelectedNew=[],this.topicSelectedNew=[],this.chapterSelectedNew=[],this.articleSelectedNew=[],this.streamSelectedNew.push(t),this.selectedTagIdsNew=this.streamSelectedNew.map(d=>d.id),this.getTagsDataForStepOne(i)):(this.streamSelectedNew.splice(o,1),0==this.streamSelectedNew.length?(this.getGradeHierrchy=[],this.interestAreaList=[]):(this.selectedTagIdsNew=this.streamSelectedNew.map(d=>d.id),this.getTagsDataForStepOne(i)),this.gradeSelectedNew=[],this.subjectSelectedNew=[],this.getSubjectHierrchy=[],this.subjectList=[],this.topicSelectedNew=[],this.getTopicHierrchy=[],this.topicList=[],this.chapterSelectedNew=[],this.getChapterHierrchy=[],this.chapterList=[],this.articleSelectedNew=[],this.articleList=[])}selectedGradeNew(t,i,n,s,o){let d=this.gradeSelectedNew.findIndex(r=>
1r.id==t.id);this.interestAreaList[o][s].isSelected=n,-1==d?(this.getSubjectHierrchy=[],this.subjectList=[],this.getTopicHierrchy=[],this.topicList=[],this.getChapterHierrchy=[],this.chapterList=[],this.getArticleHierrchy=[],this.articleList=[],this.gradeSelectedNew.push(t),this.subjectSelectedNew=[],this.topicSelectedNew=[],this.chapterSelectedNew=[],this.articleSelectedNew=[],this.selectedTagIdsNew=this.gradeSelectedNew.map(r=>r.id),this.getTagsDataForStepOne(i)):(this.gradeSelectedNew.splice(d,1),0==this.gradeSelectedNew.length?(this.getSubjectHierrchy=[],this.subjectList=[]):(this.selectedTagIdsNew=this.gradeSelectedNew.map(r=>r.id),this.getTagsDataForStepOne(i)),this.getTopicHierrchy=[],this.topicList=[],this.getChapterHierrchy=[],this.chapterList=[])}selectedSubjectNew(t,i,n,s,o){let d=this.subjectSelectedNew.findIndex(r=>r.id==t.id);this.subjectList[o][s].isSelected=n,-1==d?(this.getTopicHierrchy=[],this.topicList=[],this.getChapterHierrchy=[],this.chapterList=[],this.getArticleHierrchy=[],this.articleList=[],this.subjectSelectedNew.push(t),this.topicSelectedNew=[],this.chapterSelectedNew=[],this.selectedTagIdsNew=this.subjectSelectedNew.map(r=>r.id),this.getTagsDataForStepOne(i)):(this.subjectSelectedNew.splice(d,1),0==this.subjectSelectedNew.length?(this.getTopicHierrchy=[],this.topicList=[]):(this.selectedTagIdsNew=this.subjectSelectedNew.map(r=>r.id),this.getTagsDataForStepOne(i)),this.getChapterHierrchy=[],this.chapterList=[],this.selectedTagIdsNew=[])}selectedTopicNew(t,i,n,s,o){let d=this.topicSelectedNew.findIndex(r=>
1r.id==t.id);this.topicList[o][s].isSelected=n,-1==d?(this.getChapterHierrchy=[],this.chapterList=[],this.getArticleHierrchy=[],this.articleList=[],this.topicSelectedNew.push(t),this.chapterSelectedNew=[],this.selectedTagIdsNew=this.topicSelectedNew.map(r=>r.id),this.getTagsDataForStepOne(i)):(this.topicSelectedNew.splice(d,1),0==this.topicSelectedNew.length?(this.getChapterHierrchy=[],this.chapterList=[],this.getChapterHierrchy=[]):(this.selectedTagIdsNew=this.topicSelectedNew.map(r=>r.id),this.getTagsDataForStepOne(i)),this.chapterList=[])}selectedChapterNew(t,i,n,s,o){let d=this.chapterSelectedNew.findIndex(r=>r.id==t.id);this.chapterList[o][s].isSelected=n,-1==d?(this.articleSelectedNew=[],this.articleList=[],this.chapterSelectedNew.push(t),this.chapterSelectedNew.length>=2&&this.toaster.show("You can select maximum two chapters","Info"),this.selectedTagIdsNew=this.chapterSelectedNew.map(r=>r.id),this.getTagsDataForStepOne(i)):(this.chapterSelectedNew.splice(d,1),0==this.chapterSelectedNew.length?(this.getArticleHierrchy=[],this.articleList=[],this.selectedTagIdsNew=[]):(this.selectedTagIdsNew=this.chapterSelectedNew.map(r=>r.id),this.getTagsDataForStepOne(i)))}selectedArticleNew(t,i,n,s,o){let d=this.articleSelectedNew.findIndex(r=>
1r.id==t.id);this.articleList[o][s].isSelected=n,-1==d?(this.articleSelectedNew.push(t),this.selectedTagIdsNew=this.articleSelectedNew.map(r=>r.id),this.getTagsDataForStepOne(i)):(this.articleSelectedNew.splice(d,1),0==this.articleSelectedNew.length?this.selectedTagIdsNew=[]:(this.selectedTagIdsNew=this.articleSelectedNew.map(r=>r.id),this.getTagsDataForStepOne(i)))}selectedDifficultyNew(t,i,n){let s=this.difficultySelectedNew.findIndex(o=>o===t);this.difficultyList[n].isSelected=i,i&&-1==s?this.difficultySelectedNew.push(t):this.difficultySelectedNew.splice(s,1)}getTagsDataForStepOne(t){"STREAM"===t?this.getAllTagsNew(this.getDataRequest.filterType="GRADE"):"GRADE"===t?this.getAllTagsNew(this.getDataRequest.filterType="SUBJECT"):"SUBJECT"===t?this.getAllTagsNew(this.getDataRequest.filterType="TOPIC"):"TOPIC"===t?this.getAllTagsNew(this.getDataRequest.filterType="CHAPTER"):"CHAPTER"===t&&this.getAllTagsNew(this.getDataRequest.filterType="ARTICLE")}getAllTagsNew(t){this.getDataRequest.pageSize=25,this.getDataRequest.filterTagIds=this.selectedTagIdsNew,this.getDataRequest.filterType=t,this.apiService.postService(this.apiService.apiUrls.getAllTagsForCreateAssessment,this.getDataRequest).subscribe(i=>{if(i&&200==i.statusCode&&i.data&&i.data.content){let n=i.data.content;if(n&&"STREAM"!=t)if("GRADE"==t){this.interestAreaList=[];let s=[],o=[];n.forEach(d=>{let r=d.tagHierarchy.split("->");void 0===s[r[0]]&&(o.push(r[0]),s[r[0]]=[]),s[r[0]].push(d)}),this.interestAreaList=s,this.getGradeHierrchy=o}else if("SUBJECT"==t){this.subjectList=[];let s=[],o=[];n.forEach(d=>{let r=d.tagHierarchy.split("->");void 0===s[r[0]+">"+r[1]]&&(o.push(r[0]+">"+r[1]),s[r[0]+">"+r[1]]=[]),s[r[0]+">"+r[1]].push(d)}),this.subjectList=s,this.getSubjectHierrchy=o}else if("TOPIC"==t){this.topicList=[];let s=[],o=[];n.forEach(d=>{let r=d.tagHierarchy.split("->");void 0===s[r[0]+">"+r[1]+">"+r[2]]&&(o.push(r[0]+">"+r[1]+">"+r[2]),s[r[0]+">"+r[1]+">"+r[2]]=[]),s[r[0]+">"+r[1]+">"+r[2]].push(d)}),this.topicList=s,this.getTopicHierrchy=o}else if("CHAPTER"==t){this.chapterList=[];let s=[],o=[];n.forEach(d=>{let r=d.tagHierarchy.split("->");void 0===s[r[0]+">"+r[1]+">"+r[2]+">"+r[3]]&&(o.push(r[0]+">"+r[1]+">"+r[2]+">"+r[3]),s[r[0]+">"+r[1]+">"+r[2]+">"+r[3]]=[]),s[r[0]+">"+r[1]+">"+r[2]+">"+r[3]].push(d)}),this.chapterList=s,this.getChapterHierrchy=o}else if("ARTICLE"==t){this.articleList=[];let s=[],o=[];n.forEach(d=>{let r=d.tagHierarchy.split("->");void 0===s[r[0]+">"+r[1]+">"+r[2]+">"+r[3]+">"+r[4]]&&(o.push(r[0]+">"+r[1]+">"+r[2]+">"+r[3]+">"+r[4]),s[r[0]+">"+r[1]+">"+r[2]+">"+r[3]+">"+r[4]]=[]),s[r[0]+">"+r[1]+">"+r[2]+">"+r[3]+">"+r[4]].push(d)}),this.articleList=s,this.getArticleHierrchy=o}this.selectedTagIdsNew=this.getDataRequest.filterTagIds}else this.toaster.show(i?.message,"Info")},i=>{401==i.status?(this.isLoading=!1,this.toaster.show(i.message?i.message:"Something Went Wrong","Warning"),localStorage.clear(),window.location.href="/"):(this.isLoading=!1,this.toaster.show(i?.error?.message,"Info"))})}applyFilter(){this.outputData.seletedTags=this.selectedTagIdsNew,this.outputData.difficulty=this.difficultySelectedNew,this.refreshQuestions.emit(this.outputData)}resetFilter(){this.getAllTagsForStepOne("STREAM"),this.getSubjectHierrchy=[],this.getGradeHierrchy=[],this.getSubjectHierrchy=[],this.getTopicHierrchy=[],this.getChapterHierrchy=[],this.getArticleHierrchy=[],this.selectedTagIdsNew=[],this.difficultySelectedNew=[],this.streamSelectedNew=[],this.gradeSelectedNew=[],this.subjectSelectedNew=[],this.topicSelectedNew=[],this.chapterSelectedNew=[],this.articleSelectedNew=[],this.difficultyList=[{id:0,tagName:"Extremely Easy",value:"EXTREMELY_EASY"},{id:1,tagName:"Very Easy",value:"VERY_EASY"},{id:2,tagName:"EASY",value:"EASY"},{id:3,tagName:"Moderately Difficult",value:"MODERATELY_DIFFICULT"},{id:4,tagName:"Highly Difficult",value:"HIGHLY_DIFFICULT"},{id:5,tagName:"Extremely Difficult",value:"EXTREMELY_DIFFICULT"}],this.stream=!0,this.grade=this.subject=this.topic=this.chapter=this.article=this.difficultyLevel=!1,this.applyFilter()}static#e=this.\u0275fac=function(i){return new(i||a)(e.\u0275\u0275directiveInject(b.s),e.\u0275\u0275directiveInject(C._W))};static#t=this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-new-filter"]],inputs:{clickSubject:"clickSubject",clickReset:"clickReset"},outputs:{refreshQuestions:"refreshQuestions"},decls:33,vars:39,consts:[["id","modelId"],[1,"row","m-0"],[1,"col-3"],[3,"ngClass"],["
1id","stream-tab","data-toggle","tab","href","#stream","role","tab","aria-controls","stream","aria-selected","true",1,"nav-link",3,"ngClass","click"],["id","grade-tab","data-toggle","tab","href","#grade","role","tab","aria-controls","grade","aria-selected","false",1,"nav-link",3,"ngClass","click"],["id","subject-tab","data-toggle","tab","href","#subject","role","tab","aria-controls","subject","aria-selected","false",1,"nav-link",3,"ngClass","click"],["id","topic-tab","data-toggle","tab","href","#topic","role","tab","aria-controls","topic","aria-selected","false",1,"nav-link",3,"ngClass","click"],["id","chapter-tab","data-toggle","tab","href","#chapter","role","tab","aria-controls","chapter","aria-selected","false",1,"nav-link",3,"ngClass","click"],["id","article-tab","data-toggle","tab","href","#article","role","tab","aria-controls","article","aria-selected","false",1,"nav-link",3,"ngClass","click"],["id","difficultyLevel-tab","data-toggle","tab","href","#difficultyLevel","role","tab","aria-controls","difficultyLevel","aria-selected","false",1,"nav-link",3,"ngClass","click"],[1,"col-9"],["id","myTabContent",1,"tab-content","py-3"],["class","tab-pane active","role","tabpanel","aria-labelledby","stream-tab",4,"ngIf"],["class","tab-pane active fade-show","role","tabpanel","aria-labelledby","grade-tab",4,"ngIf"],["class","tab-pane active fade-show","role","tabpanel","aria-labelledby","subject-tab",4,"ngIf"],["class","tab-pane active fade-show","role","tabpanel","aria-labelledby","topic-tab",4,"ngIf"],["class","tab-pane active fade-show","role","tabpanel","aria-labelledby","chapter-tab",4,"ngIf"],["class","tab-pane active fade-show","role","tabpanel","aria-labelledby","article-tab",4,"ngIf"],["class","tab-pane active fade-show","role","tabpanel","aria-labelledby","difficultyLevel-tab",4,"ngIf"],["role","tabpanel","aria-labelledby","stream-tab",1,"tab-pane","active"],["class","px-3 grdInline",4,"ngFor","ngForOf"],[";","","else","","zeroHierarchy;","",4,"ngIf"],[1,"px-3","grdInline"],["type","checkbox",1,"cinput",3,"checked","change"],[1,"ml-2"],[";","","else","","zeroHierarchy;",""],[1,"d-flex","justify-content-center"],[1,"slec","mt-3","p-2"],["role","tabpanel","aria-labelledby","grade-tab",1,"tab-pane","active","fade-show"],[4,"ngFor","ngForOf"],[1,"row","px-3"],[1,"header-border","mt-4"],[1,"heading"],["type","checkbox",3,"checked","click"],["role","tabpanel","aria-labelledby","subject-tab",1,"tab-pane","active","fade-show"],["role","tabpanel","aria-labelledby","topic-tab",1,"tab-pane","active","fade-show"],["role","tabpanel","aria-labelledby","chapter-tab",1,"tab-pane","active","fade-show"],["type","checkbox",3,"disabled","checked","click"],["role","tabpanel","aria-labelledby","article-tab",1,"tab-pane","active","fade-show"],["role","tabpanel","aria-labelledby","difficultyLevel-tab",1,"tab-pane","active","fade-show"]],template:function(i,n){1&i&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"a",4),e.\u0275\u0275listener("click",function(){return n.tabSelected("stream")}),e.\u0275\u0275text(5,"Stream"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"div",3)(7,"a",5),e.\u0275\u0275listener("click",function(){return n.tabSelected("grade")}),e.\u0275\u0275text(8,"Grade"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"div",3)(10,"a",6),e.\u0275\u0275listener("click",function(){return n.tabSelected("subject")}),e.\u0275\u0275text(11,"Subject"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"div",3)(13,"a",7),e.\u0275\u0275listener("click",function(){return n.tabSelected("topic")}),e.\u0275\u0275text(14,"Topic"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"div",3)(16,"a",8),e.\u0275\u0275listener("click",function(){return n.tabSelected("chapter")}),e.\u0275\u0275text(17,"Chapter"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(18,"div",3)(19,"a",9),e.\u0275\u0275listener("click",function(){return n.tabSelected("article")}),e.\u0275\u0275text(20,"Article"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(21,"div",3)(22,"a",10),e.\u0275\u0275listener("click",function(){return n.tabSelected("difficultyLevel")}),e.\u0275\u0275text(23,"Difficulty Level"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(24,"div",11)(25,"div",12),e.\u0275\u0275template(26,Sn,3,2,"div",13),e.\u0275\u0275template(27,Pn,3,2,"div",14),e.\u0275\u0275template(28,In,3,2,"div",15),e.\u0275\u0275template(29,Ln,3,2,"div",16),e.\u0275\u0275template(30,Vn,2,1,"div",17),e.\u0275\u0275template(31,zn,2,1,"div",18),e.\u0275\u0275template(32,Qn,2,1,"div",19),e.\u0275\u0275elementEnd()()()()),2&i&&(e.\u0275\u0275advance(3),e.\u0275\u0275property("ngClass",e.\u0275\u0275pureFunction1(21,y,n.stream)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",e.\u0275\u0275pureFunction1(23,de,n.stream)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngClass",e.\u0275\u0275pureFunction1(25,y,n.grade&&null!=n.getGradeHierrchy&&0!=n.getGradeHierrchy.length)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",null==n.getGradeHierrchy||0==n.getGradeHierrchy.length?"defaultCl":n.grade?"activeCl":""),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngClass",e.\u0275\u0275pureFunction1(27,y,n.subject&&null!=n.getSubjectHierrchy&&0!=n.getSubjectHierrchy.length)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",null==n.getSubjectHierrchy||0==n.get
1SubjectHierrchy.length?"defaultCl":n.subject?"activeCl":""),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngClass",e.\u0275\u0275pureFunction1(29,y,n.topic&&null!=n.getTopicHierrchy&&0!=n.getTopicHierrchy.length)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",null==n.getTopicHierrchy||0==n.getTopicHierrchy.length?"defaultCl":n.topic?"activeCl":""),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngClass",e.\u0275\u0275pureFunction1(31,y,n.chapter&&null!=n.getChapterHierrchy&&0!=n.getChapterHierrchy.length)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",null==n.getChapterHierrchy||0==n.getChapterHierrchy.length?"defaultCl":n.chapter?"activeCl":""),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngClass",e.\u0275\u0275pureFunction1(33,y,n.article&&null!=n.getArticleHierrchy&&0!=n.getArticleHierrchy.length)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",null==n.getArticleHierrchy||0==n.getArticleHierrchy.length?"defaultCl":n.article?"activeCl":""),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngClass",e.\u0275\u0275pureFunction1(35,y,n.difficultyLevel)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",e.\u0275\u0275pureFunction1(37,de,n.difficultyLevel)),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",n.stream),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",n.grade),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",n.subject),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",n.topic),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",n.chapter),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",n.article),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",n.difficultyLevel))},dependencies:[m.mk,m.sg,m.O5],styles:["#modelId[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]{border-bottom:1px solid #8796A8!important}#modelId[_ngcontent-%COMP%]   .col-3[_ngcontent-%COMP%]{padding-right:0!important;border-right:1px solid #8796A8;padding-left:0!important}.activeBg[_ngcontent-%COMP%]{background-color:#f0f0f0!important}.activeCl[_ngcontent-%COMP%]{color:#00e1ac!important}.defaultCl[_ngcontent-%COMP%]{color:#8796a8!important;pointer-events:none}#modelId[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{color:#1e3757}.header-border[_ngcontent-%COMP%]{margin-bottom:5px;border:#03799C solid 1px;border-radius:20px;padding-left:15px;padding-right:30px}.heading[_ngcontent-%COMP%], .heading-subtitle[_ngcontent-%COMP%]{text-align:left;margin-top:-27px;margin-left:30px}.heading[_ngcontent-%COMP%] > span[_ngcontent-%COMP%], .heading-subtitle[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{background-color:#fff;box-shadow:#fff 11px 0,#fff -13px 0;font-weight:400;font-size:16px;line-height:25px;color:#03799c;white-space:nowrap}.grdInline[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;white-space:nowrap}.slec[_ngcontent-%COMP%]{background:#1E3757;color:#fff}"]})}return a})();var ce=p(76411),me=p(49856);const Hn=["tagInput"],Wn=["tagNewQuestionInput"],Gn=["tagEditQuestionInput"],$n=["subjectDropDown"],Yn=["multiSelectForTopicsFilter"],Jn=["multiSelectForChaptersFilter"];function Kn(a,l){1&a&&e.\u0275\u0275element(0,"app-loader")}function Xn(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div")(1,"div",168)(2,"div")(3,"h1",169),e.\u0275\u0275text(4,"Create Assessment"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"div",170)(6,"div",171),e.\u0275\u0275text(7,"Step"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"div",172),e.\u0275\u0275text(9,"1"),e.\u0275\u0275elementEnd()()()())}function Zn(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div")(1,"div",168)(2,"div",168)(3,"div",173)(4,"i",174),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.back())}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"div")(6,"h1",169),e.\u0275\u0275text(7,"Edit Assessment"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(8,"div",170)(9,"div",171),e.\u0275\u0275text(10,"Step"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"div",172),e.\u0275\u0275text(12,"1"),e.\u0275\u0275elementEnd()()()()}}const H=function(a){return{display:a}};function ei(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",175),e.\u0275\u0275element(1,"img",176),e.\u0275\u0275elementStart(2,"div",177)(3,"i",178),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);
1return e.\u0275\u0275resetView(n.removeSelectedPicture())}),e.\u0275\u0275elementEnd()()()}if(2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275property("src",t.setImageDatas(),e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngStyle",e.\u0275\u0275pureFunction1(2,H,null!=t.fileToUpload&&t.fileToUpload.name||t.imageData.fileName?"block":"none"))}}function ti(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",175),e.\u0275\u0275element(1,"img",176),e.\u0275\u0275elementStart(2,"div",177)(3,"i",178),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.removeSelectedPicture())}),e.\u0275\u0275elementEnd()()()}if(2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275property("src",t.setImageDatas(),e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngStyle",e.\u0275\u0275pureFunction1(2,H,null!=t.fileToUpload&&t.fileToUpload.name||t.imageData.fileName?"block":"none"))}}function ni(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",179)(1,"div",180)(2,"div")(3,"small",181),e.\u0275\u0275text(4,"Hrs"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"input",182),e.\u0275\u0275listener("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.assessmentDto.durationHr=n)})("keypress",function(n){return n.charCode>=48&&n.charCode<58}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"span",183),e.\u0275\u0275text(7,":"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"div",184)(9,"small",181),e.\u0275\u0275text(10,"Mins"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"input",185),e.\u0275\u0275listener("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.assessmentDto.durationMin=n)})("keypress",function(n){return n.charCode>=48&&n.charCode<58}),e.\u0275\u0275elementEnd()()()()}if(2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("ngModel",t.assessmentDto.durationHr),e.\u0275\u0275advance(6),e.\u0275\u0275property("ngModel",t.assessmentDto.durationMin)}}function ii(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",186)(1,"input",187),e.\u0275\u0275listener("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.assessmentDto.price=n)}),e.\u0275\u0275elementEnd()()}if(2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngModel",t.assessmentDto.price)}}function si(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div")(1,"div",199)(2,"div",200)(3,"input",201),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(o.values(s))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"div")(5,"p",202),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()()()()}if(2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(3),e.\u0275\u0275property("value",t.key)("checked",t.displayValue===i.text),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngClass",t.displayValue===i.text?"text":"assessmentGroup"),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(t.displayValue)}}function ai(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",197),e.\u0275\u0275template(1,si,7,4,"div",198),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.option)}}function oi(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",188)(1,"label",189),e.\u0275\u0275text(2,"Assessment Group "),e.\u0275\u0275elementStart(3,"span",85),e.\u0275\u0275text(4,"*"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"small",17),e.\u0275\u0275text(6," Assessments groups helps us categorize the asessments into different groups for ease of understanding and differentiation. "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"div",190)(8,"div",191),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);
1return e.\u0275\u0275resetView(n.assessmentOption=!n.assessmentOption)}),e.\u0275\u0275elementStart(9,"div",192)(10,"span",193),e.\u0275\u0275text(11),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"div",194),e.\u0275\u0275element(13,"img",195),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(14,ai,2,1,"div",196),e.\u0275\u0275elementEnd()}if(2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(10),e.\u0275\u0275property("ngClass","Assessment Group"==t.text?"assessmentGroup":"text"),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(t.text),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",t.assessmentOption&&t.option.length>0)}}function ri(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",213)(1,"div",214),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"div",215),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(n.fileUpload=null)}),e.\u0275\u0275elementStart(4,"i",178),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(n.removeSelectedPdf())}),e.\u0275\u0275elementEnd()()()}if(2&a){const t=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",null!=t.pdfData&&t.pdfData.fileName?null==t.pdfData?null:t.pdfData.fileName:null==t.fileUpload?null:t.fileUpload.name," "),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngStyle",e.\u0275\u0275pureFunction1(2,H,null!=t.fileUpload&&t.fileUpload.name||null!=t.pdfData&&t.pdfData.fileName?"block":"none"))}}function li(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",203)(1,"label"),e.\u0275\u0275text(2,"Upload Solution for PYQ Solved (Previous Year Question Solved) "),e.\u0275\u0275elementStart(3,"span",85),e.\u0275\u0275text(4,"*"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"div",94)(6,"div",95),e.\u0275\u0275listener("dragover",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.onDragOver(n))})("drop",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.onDropPdf(n))})("dragleave",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.onDragLeave(n))}),e.\u0275\u0275element(7,"img",204)(8,"input",205),e.\u0275\u0275elementStart(9,"div",99)(10,"small"),e.\u0275\u0275text(11,"PDF file recommended, up to 10mb each."),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(12,"a",206),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext();const n=e.\u0275\u0275reference(53);return e.\u0275\u0275resetView(n.click())}),e.\u0275\u0275text(13," click to browse "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"div",101)(15,"div",102),e.\u0275\u0275listener("dragover",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.onDragOver(n))})("drop",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.onDropPdf(n))})("dragleave",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.onDragLeave(n))}),e.\u0275\u0275element(16,"img",207)(17,"input",208),e.\u0275\u0275elementStart(18,"div",106)(19,"small"),e.\u0275\u0275text(20,"PDF file recommended, up to 10mb each."),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(21,"a",209),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275reference(26);return e.\u0275\u0275resetView(n.click())}),e.\u0275\u0275text(22," click to browse "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(23,"div",12),e.\u0275\u0275template(24,ri,5,4,"div",210),e.\u0275\u0275elementStart(25,"input",211,212),e.\u0275\u0275listener("change",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);
1return e.\u0275\u0275resetView(s.handleFileInputPdf(n.target.files))})("click",function(n){return n.target.value=null}),e.\u0275\u0275elementEnd()()()}if(2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(24),e.\u0275\u0275property("ngIf",t.pdfData||(null==t.fileUpload?null:t.fileUpload.name))}}function di(a,l){1&a&&e.\u0275\u0275element(0,"i",216)}function ci(a,l){1&a&&e.\u0275\u0275element(0,"i",217)}function mi(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div")(1,"div",218)(2,"div",16),e.\u0275\u0275element(3,"p",219),e.\u0275\u0275elementEnd()()())}function pi(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",223),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(o.selectedStreamNew(s,"STREAM"))}),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()}if(2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(3);e.\u0275\u0275propertyInterpolate1("title"," ",null==t.tagHierarchy?"Others"==(null==t?null:t.tagName)?"All Boards":null==t?null:t.tagName:t.tagHierarchy,""),e.\u0275\u0275property("ngClass",t.selected?"trueClass1":"falseClass1")("ngClass",i.getSubjectColours(t)),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ","Others"==(null==t?null:t.tagName)?"All Boards":null==t?null:t.tagName," ")}}function hi(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",220)(1,"div",221),e.\u0275\u0275template(2,pi,2,4,"button",222),e.\u0275\u0275elementEnd()()),2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",t.streamList)}}function gi(a,l){1&a&&e.\u0275\u0275element(0,"i",216)}function ui(a,l){1&a&&e.\u0275\u0275element(0,"i",217)}function fi(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div")(1,"div",218)(2,"div",16),e.\u0275\u0275element(3,"p",219),e.\u0275\u0275elementEnd()()())}function _i(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",227),e.\u0275\u0275listener("click",function(n){const s=e.\u0275\u0275restoreView(t),o=s.$implicit,d=s.index,r=e.\u0275\u0275nextContext().$implicit,c=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(c.selectedGradeNew(o,"GRADE",n.target.checked,d,r))}),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()}if(2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(4);e.\u0275\u0275propertyInterpolate1("title"," ",null==t?null:t.tagName,""),e.\u0275\u0275property("ngClass",i.getSubjectColours(t)),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null==t?null:t.tagName," ")}}function xi(a,l){if(1&a&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",17)(2,"div",224)(3,"h2",225)(4,"span"),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(6,_i,2,3,"button",226),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(t),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",i.getGradeAllData[t])}}function vi(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div"),e.\u0275\u0275text(1," No Records Found "),e.\u0275\u0275elementEnd())}function Ci(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",221)(1,"div",220)(2,"div"),e.\u0275\u0275template(3,xi,7,2,"ng-container",198),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(4,vi,2,0,"div",0),e.\u0275\u0275elementEnd()()),2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",t.getGradeFirstData),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==t.interestAreaList.length)}}function bi(a,l){1&a&&e.\u0275\u0275element(0,"i",216)}function wi(a,l){1&a&&e.\u0275\u0275element(0,"i",217)}function Si(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div")(1,"div",218)(2,"div",16),e.\u0275\u0275element(3,"p",219),e.\u0275\u0275elementEnd()()())}function Ai(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",229),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext(4);
1return e.\u0275\u0275resetView(o.selectedSubjectNew(s,"SUBJECT"))}),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()}if(2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(4);e.\u0275\u0275propertyInterpolate1("title"," ",null==t?null:t.tagName,""),e.\u0275\u0275property("ngClass",i.getSubjectColours(t)),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null==t?null:t.tagName," ")}}function yi(a,l){if(1&a&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",17)(2,"div",224)(3,"h2",225)(4,"span"),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(6,Ai,2,3,"button",228),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(t),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",i.getSubjectAllData[t])}}function Mi(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div"),e.\u0275\u0275text(1," No Records Found "),e.\u0275\u0275elementEnd())}function Pi(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",221)(1,"div",220)(2,"div"),e.\u0275\u0275template(3,yi,7,2,"ng-container",198),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(4,Mi,2,0,"div",0),e.\u0275\u0275elementEnd()()),2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",t.getSubjectFirstData),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==t.subjectList.length)}}function Ti(a,l){1&a&&e.\u0275\u0275element(0,"i",216)}function Di(a,l){1&a&&e.\u0275\u0275element(0,"i",217)}function Ei(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div")(1,"div",218)(2,"div",16),e.\u0275\u0275element(3,"p",219),e.\u0275\u0275elementEnd()()())}function Ii(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",231)(1,"div",232),e.\u0275\u0275element(2,"i",233),e.\u0275\u0275elementStart(3,"input",234),e.\u0275\u0275listener("keyup",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(s.onSearchTopic(n,"TOPIC"))}),e.\u0275\u0275elementEnd()()()}}function Oi(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",229),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext(5);return e.\u0275\u0275resetView(o.selectedTopicNew(s,"TOPIC"))}),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()}if(2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(5);e.\u0275\u0275propertyInterpolate1("title"," ",null==t?null:t.tagName,""),e.\u0275\u0275property("ngClass",i.getSubjectColours(t)),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null==t?null:t.tagName," ")}}function Fi(a,l){if(1&a&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",17)(2,"div",224)(3,"h2",225)(4,"span"),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(6,Oi,2,3,"button",228),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(t),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",i.getTopicAllData[t])}}function ki(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div"),e.\u0275\u0275text(1," No Records Found "),e.\u0275\u0275elementEnd())}function Li(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",220),e.\u0275\u0275template(1,Ii,4,0,"div",230),e.\u0275\u0275elementStart(2,"div"),e.\u0275\u0275template(3,Fi,7,2,"ng-container",198),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(4,ki,2,0,"div",0),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.subjectSelectedNew.length>0),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",t.getTopicFirstData),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==t.topicList.length)}}function Ri(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",221),e.\u0275\u0275template(1,Li,5,3,"div",163),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.isExpandedTo
1picAccordion)}}function Ni(a,l){1&a&&e.\u0275\u0275element(0,"i",216)}function Vi(a,l){1&a&&e.\u0275\u0275element(0,"i",217)}function qi(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div")(1,"div",218)(2,"div",16),e.\u0275\u0275element(3,"p",219),e.\u0275\u0275elementEnd()()())}function Ui(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",231)(1,"div",232),e.\u0275\u0275element(2,"i",233),e.\u0275\u0275elementStart(3,"input",235),e.\u0275\u0275listener("keyup",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(s.onSearchChapter(n,"CHAPTER"))}),e.\u0275\u0275elementEnd()()()}}function zi(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",229),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(o.selectedChapterNew(s,"CHAPTER"))}),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()}if(2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(4);e.\u0275\u0275propertyInterpolate1("title"," ",null==t?null:t.tagName,""),e.\u0275\u0275property("ngClass",i.getSubjectColours(t)),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null==t?null:t.tagName," ")}}function Bi(a,l){if(1&a&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",17)(2,"div",224)(3,"h2",225)(4,"span"),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(6,zi,2,3,"button",228),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(t),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",i.getChapterAllData[t])}}function Qi(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div"),e.\u0275\u0275text(1," No Records Found "),e.\u0275\u0275elementEnd())}function ji(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",221)(1,"div",220),e.\u0275\u0275template(2,Ui,4,0,"div",230),e.\u0275\u0275elementStart(3,"div"),e.\u0275\u0275template(4,Bi,7,2,"ng-container",198),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(5,Qi,2,0,"div",0),e.\u0275\u0275elementEnd()()),2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",t.topicSelectedNew.length>0),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",t.getChapterFirstData),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==t.chapterList.length)}}function Hi(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",236),e.\u0275\u0275element(1,"img",237),e.\u0275\u0275elementStart(2,"span",238)(3,"p",239),e.\u0275\u0275text(4,"You are creating a paid assessment. The specified amount for this assessment will be collected by Dynamind and we will then "),e.\u0275\u0275element(5,"br"),e.\u0275\u0275text(6," disburse it to your personal account "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"p")(8,"input",240),e.\u0275\u0275listener("change",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.acceptTermsAndConditions(n.target.checked))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"span",241),e.\u0275\u0275text(10,"I Agree to "),e.\u0275\u0275elementStart(11,"span",242),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.openTermsAndConditionModal())}),e.\u0275\u0275text(12,"Terms and Conditions"),e.\u0275\u0275elementEnd()()()()()}if(2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(8),e.\u0275\u0275property("checked",t.acceptedTermsAndConditions)}}const pe=function(a){return{top:a}};function Wi(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div")(1,"div",81)(2,"div",82),e.\u0275\u0275template(3,Xn,10,0,"div",0),e.\u0275\u0275template(4,Zn,13,0,"div",0),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"div",83)(6,"div",81)(7,"div",82)(8,"label",84),e.\u0275\u0275text(9,"Title"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"span",85),e.\u0275\u0275text(11,"*"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"input",86),e.\u0275\u0275listener("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();
1return e.\u0275\u0275resetView(s.assessmentDto.title=n)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"small"),e.\u0275\u0275text(14," For example: Unit Test 1, Half yearly 2021, Mechanics Part 1"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(15,"div",37)(16,"div",87)(17,"label",88),e.\u0275\u0275text(18,"Description"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(19,"span")(20,"small",89),e.\u0275\u0275text(21),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(22,"div",90)(23,"textarea",91),e.\u0275\u0275listener("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.assessmentDto.description=n)})("input",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.descriptionChange(n.assessmentDto.description))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(24,"div",92),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(25,"div",93)(26,"label",84),e.\u0275\u0275text(27,"Upload Image"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(28,"div",94)(29,"div",95),e.\u0275\u0275listener("dragover",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.onDragOver(n))})("drop",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.onDrop(n))})("dragleave",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.onDragLeave(n))}),e.\u0275\u0275template(30,ei,4,4,"div",96),e.\u0275\u0275element(31,"img",97)(32,"input",98),e.\u0275\u0275elementStart(33,"div",99)(34,"small"),e.\u0275\u0275text(35,"1600 x 1200 (4:3) recommended, up to 1Omb each."),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(36,"a",100),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275reference(53);return e.\u0275\u0275resetView(n.click())}),e.\u0275\u0275text(37," click to browse "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(38,"div",101)(39,"div",102),e.\u0275\u0275listener("dragover",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.onDragOver(n))})("drop",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.onDrop(n))})("dragleave",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.onDragLeave(n))}),e.\u0275\u0275elementStart(40,"div",17)(41,"div",103),e.\u0275\u0275template(42,ti,4,4,"div",96),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(43,"div",104),e.\u0275\u0275element(44,"img",97)(45,"input",105),e.\u0275\u0275elementStart(46,"div",106)(47,"small"),e.\u0275\u0275text(48,"1600 x 1200 (4:3) recommended, up to 1Omb each."),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(49,"a",107),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275reference(53);return e.\u0275\u0275resetView(n.click())}),e.\u0275\u0275text(50," click to browse "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(51,"div",12)(52,"input",108,109),e.\u0275\u0275listener("change",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.handleFileInput(n.target.files,n))})("click",function(n){return n.target.value=null}),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(54,"div",110)(55,"div",87)(56,"label",84),e.\u0275\u0275text(57," Total no. of questions "),e.\u0275\u0275elementStart(58,"span",85),e.\u0275\u0275text(59,"*"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(60,"input",111),e.\u0275\u0275listener("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.assessmentDto.totalNumberOfQuestions=n)})("ngModelChange",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();
1return e.\u0275\u0275resetView(n.Numberofquestionmethod(n.assessmentDto.totalNumberOfQuestions))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(61,"div",112)(62,"label",84),e.\u0275\u0275text(63," Duration "),e.\u0275\u0275elementStart(64,"span",85),e.\u0275\u0275text(65,"*"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(66,"div",17)(67,"div",113)(68,"div",114)(69,"input",115),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.showSlider())}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(70,"label",116),e.\u0275\u0275text(71," Set Duration"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(72,ni,12,2,"div",117),e.\u0275\u0275elementStart(73,"div",118)(74,"div",119)(75,"input",120),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.showSlider1())}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(76,"label",116),e.\u0275\u0275text(77,"No Time Limit"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(78,"div",37)(79,"div",121)(80,"label",122),e.\u0275\u0275text(81,"Assessment Type "),e.\u0275\u0275elementStart(82,"span",85),e.\u0275\u0275text(83,"*"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(84,"small",17),e.\u0275\u0275text(85," PUBLIC Assessments can be shared with multiple Mentee while PRIVATE Assessments can be shared with only your Mentee "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(86,"input",123),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.toggleIsPrivateAssessment())}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(87,"label",124),e.\u0275\u0275text(88," Public "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(89,"input",125),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.toggleIsPrivateAssessment())}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(90,"label"),e.\u0275\u0275text(91," Private "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(92,"div",121)(93,"div")(94,"label",126),e.\u0275\u0275text(95,"Price (INR 0 - 5000) "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(96,"span",85),e.\u0275\u0275text(97,"*"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(98,"div",17)(99,"div",127)(100,"input",128),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.paidAssessment())}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(101,"label",129),e.\u0275\u0275text(102," Set Price"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(103,ii,2,1,"div",130),e.\u0275\u0275elementStart(104,"div",131)(105,"div",119)(106,"input",132),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.freeAssessment())}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(107,"label",116),e.\u0275\u0275text(108,"Free"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(109,"div")(110,"div",17)(111,"div",133)(112,"input",134),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.checkFormative(!0))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(113,"label",129),e.\u0275\u0275text(114," Formative "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(115,"div",133)(116,"input",135),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.checkFormative(!1))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(117,"label",129),e.\u0275\u0275text(118," Summative "),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(119,oi,15,3,"div",136),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(120,li,27,1,"div",137),e.\u0275\u0275elementStart(121,"div",37)(122,"div",82)(123,"label",122),e.\u0275\u0275text(124,"Instru
1ctions:"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(125,"div")(126,"div",90)(127,"textarea",138),e.\u0275\u0275listener("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.assessmentDto.instructions=n)})("ngModelChange",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.instructionsTextChange(n.assessmentDto.instructions))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(128,"div",92),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(129,"div",37)(130,"div",139)(131,"label",122),e.\u0275\u0275text(132,"Share Assessment in your cohorts"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(133,"p",140),e.\u0275\u0275text(134,"Use this option to direclty share the assesments into the selected cohorts upon its creation."),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(135,"div")(136,"div",90)(137,"ng-multiselect-dropdown",141,142),e.\u0275\u0275listener("onFilterChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.TeamsFilter(n))})("onSelect",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.TeamsFilter(n))})("onDeSelect",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.TeamsFilter(n))})("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.selectedTeamsNgModel=n)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(139,"div",92),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(140,"div",143)(141,"div",144)(142,"label",145),e.\u0275\u0275text(143,"Show Solution/Answer"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(144,"input",146),e.\u0275\u0275listener("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.assessmentDto.showSolution=n)})("click",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.showSolutionAnswers(n))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(145,"div",147)(146,"label",145),e.\u0275\u0275text(147,"Maximum Attempts"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(148,"div",148)(149,"select",149),e.\u0275\u0275listener("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.assessmentDto.maximumAttempts=n)}),e.\u0275\u0275elementStart(150,"option",150),e.\u0275\u0275text(151,"Two"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(152,"option",151),e.\u0275\u0275text(153,"Three"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(154,"option",152),e.\u0275\u0275text(155,"Four"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(156,"option",153),e.\u0275\u0275text(157,"Five"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(158,"option",154),e.\u0275\u0275text(159,"Six"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(160,"option",155),e.\u0275\u0275text(161,"Seven "),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275elementStart(162,"div",156)(163,"label",122),e.\u0275\u0275text(164,"Select your course "),e.\u0275\u0275elementStart(165,"span",85),e.\u0275\u0275text(166,"*"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(167,"div",157)(168,"div",81)(169,"div",82)(170,"small",158),e.\u0275\u0275text(171,"** Note : Please select Engg/Med Entrance with CUET, NEET and JEE. "),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(172,"br"),e.\u0275\u0275elementStart(173,"div",159)(174,"div",160),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.onClickStreamAccordion())}),e.\u0275\u0275text(175," Stream "),e.\u0275\u0275elementStart(176,"span",85),e.\u0275\u0275text(177,"*"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(178,di,1,0,"i",161),e.\u0275\u0275template(179,ci,1,0,"i",162),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(180,mi,4,0,"div",0),e.\u0275\u0275template(181,hi,3,1,"div",163),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(182,"div",81)(183,"div",82)(184,"div",159)(185,"div",160),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();
1return e.\u0275\u0275resetView(n.onClickGradeAccordion())}),e.\u0275\u0275text(186," Grade "),e.\u0275\u0275elementStart(187,"span",85),e.\u0275\u0275text(188,"*"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(189,gi,1,0,"i",161),e.\u0275\u0275template(190,ui,1,0,"i",162),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(191,fi,4,0,"div",0),e.\u0275\u0275template(192,Ci,5,2,"div",164),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(193,"div",81)(194,"div",82)(195,"div",159)(196,"div",160),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.onClickSubjectAccordion())}),e.\u0275\u0275text(197," Subject "),e.\u0275\u0275template(198,bi,1,0,"i",161),e.\u0275\u0275template(199,wi,1,0,"i",162),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(200,Si,4,0,"div",0),e.\u0275\u0275template(201,Pi,5,2,"div",164),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(202,"div",81)(203,"div",82)(204,"div",159)(205,"div",160),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.onClickTopicAccordion())}),e.\u0275\u0275text(206," Topic "),e.\u0275\u0275template(207,Ti,1,0,"i",161),e.\u0275\u0275template(208,Di,1,0,"i",162),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(209,Ei,4,0,"div",0),e.\u0275\u0275template(210,Ri,2,1,"div",164),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(211,"div",81)(212,"div",82)(213,"div",159)(214,"div",160),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.onClickChapterAccordion())}),e.\u0275\u0275text(215," Chapter "),e.\u0275\u0275template(216,Ni,1,0,"i",161),e.\u0275\u0275template(217,Vi,1,0,"i",162),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(218,qi,4,0,"div",0),e.\u0275\u0275template(219,ji,6,3,"div",164),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(220,Hi,13,1,"div",165),e.\u0275\u0275elementStart(221,"div",81)(222,"div",166)(223,"button",167),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.saveAndContinue("2"))}),e.\u0275\u0275text(224," Save and Continue "),e.\u0275\u0275elementEnd()()()()}if(2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",0==t.EditTextDisplay),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",1==t.EditTextDisplay),e.\u0275\u0275advance(8),e.\u0275\u0275property("ngModel",t.assessmentDto.title),e.\u0275\u0275advance(9),e.\u0275\u0275textInterpolate1("[",t.remainingDescriptionText," words left]"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngModel",t.assessmentDto.description),e.\u0275\u0275advance(7),e.\u0275\u0275property("ngIf",t.imageData||(null==t.fileToUpload?null:t.fileToUpload.name)),e.\u0275\u0275advance(6),e.\u0275\u0275property("ngStyle",e.\u0275\u0275pureFunction1(61,pe,t.setImageData?"88%":"50%")),e.\u0275\u0275advance(6),e.\u0275\u0275property("ngIf",t.imageData||(null==t.fileToUpload?null:t.fileToUpload.name)),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngStyle",e.\u0275\u0275pureFunction1(63,pe,"40px")),e.\u0275\u0275advance(15),e.\u0275\u0275property("ngModel",t.assessmentDto.totalNumberOfQuestions),e.\u0275\u0275advance(9),e.\u0275\u0275property("checked",t.assessmentDto.durationInMinutesFlag),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",t.showDuration),e.\u0275\u0275advance(3),e.\u0275\u0275property("checked",!t.assessmentDto.durationInMinutesFlag),e.\u0275\u0275advance(11),e.\u0275\u0275property("checked",!t.assessmentDto.isPrivateAssessment),e.\u0275\u0275advance(3),e.\u0275\u0275property("checked",t.assessmentDto.isPrivateAssessment),e.\u0275\u0275advance(11),e.\u0275\u0275property("checked",t.showPriceField),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",t.showPriceField),e.\u0275\u0275advance(3),e.\u0275\u0275property("checked",t.enableFreeAssessment),e.\u0275\u0275advance(6),e.\u0275\u0275property("checked","FORMATIVE"==t.assessmentDto.assessmentLearningType),e.\u0275\u0275advance(4),e.\u0275\u0275property("checked","SUMMATIVE"==t.assessmentDto.assessmentLearningType),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",t.loggedInUser.dynamindSpecialUser),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.previousYearQuestion&&t.loggedInUser.dynamindSpecialUser),e.\u0275\u0275advance(7),e.\u0275\u0275property("ngModel",t.assessmentDto.instructions),e.\u0275\u0275advance(10),e.\u0275\u0275property("data",t.allTeams)("settings",t.settingsForTeamsFilter)("disabled",!1)("placeholder","Select Cohort Name")("ngModel",t.selectedTeam
1sNgModel),e.\u0275\u0275advance(7),e.\u0275\u0275property("ngModel",t.assessmentDto.showSolution),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngModel",t.assessmentDto.maximumAttempts),e.\u0275\u0275advance(25),e.\u0275\u0275classProp("expanded",t.isExpandedStreamAccordion),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",t.isExpandedStreamAccordion),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!t.isExpandedStreamAccordion),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.isLoadingForTags),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.isExpandedStreamAccordion&&!t.isLoadingForTags),e.\u0275\u0275advance(4),e.\u0275\u0275classProp("expanded",t.isExpandedGradeAccordion),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",t.isExpandedGradeAccordion),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!t.isExpandedGradeAccordion),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.isLoadingGrade),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!t.isLoadingGrade&&t.isExpandedGradeAccordion),e.\u0275\u0275advance(4),e.\u0275\u0275classProp("expanded",t.isExpandedSubjectAccordion),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",t.isExpandedSubjectAccordion),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!t.isExpandedSubjectAccordion),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.isLoadingSubject),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!t.isLoadingSubject&&t.isExpandedSubjectAccordion),e.\u0275\u0275advance(4),e.\u0275\u0275classProp("expanded",t.isExpandedTopicAccordion),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",t.isExpandedTopicAccordion),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!t.isExpandedTopicAccordion),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.isLoadingTopic),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!t.isLoadingTopic),e.\u0275\u0275advance(4),e.\u0275\u0275classProp("expanded",t.isExpandedChapterAccordion),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",t.isExpandedChapterAccordion),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!t.isExpandedChapterAccordion),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.isLoadingChapter),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!t.isLoadingChapter&&t.isExpandedChapterAccordion),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.showPriceField)}}function Gi(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div")(1,"div",168)(2,"div",168)(3,"div",173)(4,"i",174),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView([n.removeSelectedValues(),n.saveAndContinue("1")])}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"div")(6,"h1",169),e.\u0275\u0275text(7,"Create Assessment"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(8,"div",170)(9,"div",171),e.\u0275\u0275text(10,"Step"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"div",172),e.\u0275\u0275text(12,"2"),e.\u0275\u0275elementEnd()()()()}}function $i(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div")(1,"div",168)(2,"div",168)(3,"div",173)(4,"i",174),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.saveAndContinue("1"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"div")(6,"h1",169),e.\u0275\u0275text(7,"Edit Assessment"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(8,"div",170)(9,"div",171),e.\u0275\u0275text(10,"Step"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"div",312),e.\u0275\u0275text(12," 2 "),e.\u0275\u0275elementEnd()()()()}}function Yi(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",313),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",t.message," ")}}function Ji(a,l){1&a&&e.\u0275\u0275element(0,"img",314)}function Ki(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",329)(2,"span",330),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext().$implicit;
1return e.\u0275\u0275resetView(n.isQcDisplay=!n.isQcDisplay)}),e.\u0275\u0275element(3,"img",331),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()}if(2&a){const t=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(3),e.\u0275\u0275property("src",t.isQcDisplay?"../../../assets/open-acc.png":"../../../assets/close-acc.png",e.\u0275\u0275sanitizeUrl)}}function Xi(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span",332),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext().$implicit;return e.\u0275\u0275resetView(n.isQuestionExpanded=!n.isQuestionExpanded)}),e.\u0275\u0275text(1," View More "),e.\u0275\u0275element(2,"i",333),e.\u0275\u0275elementEnd()}}function Zi(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span",332),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext().$implicit;return e.\u0275\u0275resetView(n.isQuestionExpanded=!n.isQuestionExpanded)}),e.\u0275\u0275text(1," View Less "),e.\u0275\u0275element(2,"i",334),e.\u0275\u0275elementEnd()}}const he=function(a){return{"mt-3":a}};function es(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",336)(1,"label",337),e.\u0275\u0275element(2,"input",338),e.\u0275\u0275elementStart(3,"span",173),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(5,"span",339),e.\u0275\u0275elementEnd()()),2&a){const t=l.$implicit,i=l.index,n=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",e.\u0275\u0275pureFunction1(3,he,0===i)),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(n.indexToAlphabet(i)+"."),e.\u0275\u0275advance(1),e.\u0275\u0275property("innerHTML",t.answer,e.\u0275\u0275sanitizeHtml)}}function ts(a,l){if(1&a&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,es,6,5,"div",335),e.\u0275\u0275elementContainerEnd()),2&a){const t=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.options)}}function ns(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",316)(1,"a",317)(2,"div",318)(3,"div",319)(4,"input",320),e.\u0275\u0275listener("ngModelChange",function(n){const o=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275resetView(o.isQuestionChecked=n)})("change",function(n){const o=e.\u0275\u0275restoreView(t).$implicit,d=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(d.onQuestionSelect(o,n.target.checked))})("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(o.highlightRow(s))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"div",321)(6,"div",322)(7,"div",199)(8,"div",323),e.\u0275\u0275text(9," Difficulty Level: "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(10,"div",324)(11,"div",325),e.\u0275\u0275text(12),e.\u0275\u0275pipe(13,"titlecase"),e.\u0275\u0275pipe(14,"replace"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(15,"div",202)(16,"div",202)(17,"div",202)(18,"div",202)(19,"div",202)(20,"div",202),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(21,Ki,4,1,"ng-container",0),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(22,"div",326),e.\u0275\u0275pipe(23,"safeHtml"),e.\u0275\u0275pipe(24,"safeHtml"),e.\u0275\u0275template(25,Xi,3,0,"span",327),e.\u0275\u0275template(26,Zi,3,0,"span",327),e.\u0275\u0275elementStart(27,"div")(28,"span",328),e.\u0275\u0275text(29,"Question Bank ID :"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(30),e.\u0275\u0275pipe(31,"titlecase"),e.\u0275\u0275pipe(32,"replace"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(33,ts,2,1,"ng-container",0),e.\u0275\u0275elementEnd()()()()}if(2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(4),e.\u0275\u0275property("ngModel",t.isQuestionChecked),e.\u0275\u0275advance(8),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(13,15,e.\u0275\u0275pipeBind1(14,17,t.difficultLevel))," "),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,1)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,2)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,3)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,4)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,5)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,6)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","SUBJECTIVE"!=t.questionType),e.\u0275\u0275advance(1),e.\u0275\u0275property("innerHTML",null!=t.parentQuestion?t.isQuestionExpanded&&t.parentQuestionId?i.renderQuestion(t.parentQuestion+(null==t?null:t.question)):e.\u0275\u0275pipeBind1(23,19,t.parentQuestion+(null==t?null:t.question)):t.isQuestionExpanded&&t.parentQuestionId?i.renderQuestion(null==t?null:t.question):e.\u0275\u0275pipeBind1(24,21,null==t?null:t.question),e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",(null==t?null:t.isQuestionExpanded)&&(null==t||null==t.question?null:t.question.length)>100&&t.parentQuestionId),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!t.isQuestionExpanded&&t.parentQuestionId),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate2(" ",null==t?null:t.questionId," | ",e.\u0275\u0275pipeBind1(31,23,e.\u0275\u0275pipeBind1(32,25,t.questionType))," "),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",1==t.isQcDisplay)}}function is(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div"),e.\u0275\u0275template(1,ns,34,27,"div",315),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.masterQuestions)}}function ss(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",336)(1,"label",337),e.\u0275\u0275element(2,"input",338),e.\u0275\u0275elementStart(3,"span",173),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(5,"span",339),e.\u0275\u0275elementEnd()()),2&a){const t=l.$implicit,i=l.index,n=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",e.\u0275\u0275pureFunction1(3,he,0===i)),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(n.indexToAlphabet(i)+"."),e.\u0275\u0275advance(1),e.\u0275\u0275property("innerHTML",t.answer,e.\u0275\u0275sanitizeHtml)}}function as(a,l){if(1&a&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,ss,6,5,"div",335),e.\u0275\u0275elementContainerEnd()),2&a){const t=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.options)}}function os(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span",332),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext().$implicit;
1return e.\u0275\u0275resetView(n.isQuestionExpanded=!n.isQuestionExpanded)}),e.\u0275\u0275text(1," View More "),e.\u0275\u0275element(2,"i",361),e.\u0275\u0275elementEnd()}}function rs(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span",332),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext().$implicit;return e.\u0275\u0275resetView(n.isQuestionExpanded=!n.isQuestionExpanded)}),e.\u0275\u0275text(1," View Less "),e.\u0275\u0275element(2,"i",334),e.\u0275\u0275elementEnd()}}function ls(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"span",330),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext().$implicit;return e.\u0275\u0275resetView(n.isDisplay=!n.isDisplay)}),e.\u0275\u0275element(2,"img",331),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()}if(2&a){const t=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275property("src",t.isDisplay?"../../../assets/open-acc.png":"../../../assets/close-acc.png",e.\u0275\u0275sanitizeUrl)}}const ge=function(a){return{trueColor:a}},ds=function(a){return{borderColor:a}};function cs(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"table",348)(1,"tr",202)(2,"td",349)(3,"div",170)(4,"div")(5,"p",350),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"div")(8,"div",351)(9,"input",352),e.\u0275\u0275listener("ngModelChange",function(n){const o=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275resetView(o.marks=n)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(10,"i",353),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"div",199)(12,"input",354),e.\u0275\u0275listener("ngModelChange",function(n){const o=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275resetView(o.negativeMarks=n)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(13,"i",355),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(14,"td",356),e.\u0275\u0275element(15,"div",326),e.\u0275\u0275pipe(16,"safeHtml"),e.\u0275\u0275template(17,as,2,1,"ng-container",0),e.\u0275\u0275template(18,os,3,0,"span",327),e.\u0275\u0275template(19,rs,3,0,"span",327),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(20,"td",357)(21,"div",358),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(3),s=e.\u0275\u0275reference(6);return e.\u0275\u0275resetView(n.scroll(s))}),e.\u0275\u0275elementStart(22,"i",359),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext().index,d=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(d.updateQuestion(o,s))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275text(23," \xa0 "),e.\u0275\u0275elementStart(24,"i",360),e.\u0275\u0275listener("click",function(){const n=e.\u0275\u0275restoreView(t),s=n.index,o=n.$implicit,d=e.\u0275\u0275nextContext().index,r=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(r.deleteQuestion(d,s,o))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(25," \xa0 "),e.\u0275\u0275template(26,ls,3,1,"ng-container",0),e.\u0275\u0275elementEnd()()()}if(2&a){const t=l.$implicit,i=l.index,n=e.\u0275\u0275nextContext().index,s=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",e.\u0275\u0275pureFunction1(12,ge,t.question==s.selectedQuestion))("ngClass",e.\u0275\u0275pureFunction1(14,ds,s.assessmentDto.sections[n].questions.length-1!=i)),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1("",i+1,"."),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngModel",t.marks),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngModel",t.negativeMarks),e.\u0275\u0275advance(3),e.\u0275\u0275property("innerHTML",t.isQuestionExpanded&&t.parentQuestionId?s.renderQuestion(null==t?null:t.question):e.\u0275\u0275pipeBind1(16,10,null==t?null:t.question),e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",1==t.isDisplay),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",(null==t?null:t.isQuestionExpanded)&&(null==t||null==t.question?null:t.question.length)>100&&t.parentQuestionId),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!t.isQuestionExpanded&&t.parentQuestionId),e.\u0275\u0275advance(7),e.\u0275\u0275property("ngIf","SUBJECTIVE"!=t.questionType)}}function ms(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",340)(1,"div",341)(2,"div",342),e.\u0275\u0275element(3,"hr"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"div",343)(5,"small"),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"div",344),e.\u0275\u0275element(8,"hr"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"div",345)(10,"a",346),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).index,o=e.\u0275\u0275nextContext(2);
1return e.\u0275\u0275resetView(o.removeSection(s))}),e.\u0275\u0275text(11,"x"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(12,"div",12)(13,"div"),e.\u0275\u0275template(14,cs,27,16,"table",347),e.\u0275\u0275elementEnd()()()}if(2&a){const t=l.$implicit,i=l.index;e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1("Section ",i+1,""),e.\u0275\u0275advance(8),e.\u0275\u0275property("ngForOf",t.questions)}}function ps(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",313),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",t.message," ")}}function hs(a,l){1&a&&e.\u0275\u0275element(0,"img",372)}function gs(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span",332),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext().$implicit;return e.\u0275\u0275resetView(n.isQuestionExpanded=!n.isQuestionExpanded)}),e.\u0275\u0275text(1," View More "),e.\u0275\u0275element(2,"i",333),e.\u0275\u0275elementEnd()}}function us(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span",332),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext().$implicit;return e.\u0275\u0275resetView(n.isQuestionExpanded=!n.isQuestionExpanded)}),e.\u0275\u0275text(1," View Less "),e.\u0275\u0275element(2,"i",334),e.\u0275\u0275elementEnd()}}function fs(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",316)(1,"a",317)(2,"div",373)(3,"div",199)(4,"div",374)(5,"input",320),e.\u0275\u0275listener("ngModelChange",function(n){const o=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275resetView(o.isQuestionChecked=n)})("change",function(n){const o=e.\u0275\u0275restoreView(t).$implicit,d=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(d.onQuestionSelect(o,n.target.checked))})("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(o.highlightRow(s))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"div")(7,"div",322)(8,"div",199)(9,"div",323),e.\u0275\u0275text(10," Difficulty Level: "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"div",324)(12,"div",325),e.\u0275\u0275text(13),e.\u0275\u0275pipe(14,"titlecase"),e.\u0275\u0275pipe(15,"replace"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(16,"div",202)(17,"div",202)(18,"div",202)(19,"div",202)(20,"div",202)(21,"div",202),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(22,"div",326),e.\u0275\u0275pipe(23,"safeHtml"),e.\u0275\u0275template(24,gs,3,0,"span",327),e.\u0275\u0275template(25,us,3,0,"span",327),e.\u0275\u0275elementStart(26,"div")(27,"span",328),e.\u0275\u0275text(28,"Question Bank ID :"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(29),e.\u0275\u0275pipe(30,"titlecase"),e.\u0275\u0275pipe(31,"replace"),e.\u0275\u0275elementEnd()()()()()()}if(2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(5),e.\u0275\u0275property("ngModel",t.isQuestionChecked),e.\u0275\u0275advance(8),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(14,13,e.\u0275\u0275pipeBind1(15,15,t.difficultLevel))," "),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,1)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,2)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,3)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,4)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,5)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",i.getDefaultBar(t.difficultLevel,6)),e.\u0275\u0275advance(1),e.\u0275\u0275property("innerHTML",t.isQuestionExpanded&&t.parentQuestionId?i.renderQuestion(null==t?null:t.question):e.\u0275\u0275pipeBind1(23,17,null==t?null:t.question),e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",(null==t?null:t.isQuestionExpanded)&&(null==t||null==t.question?null:t.question.length)>100&&t.parentQuestionId),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!t.isQuestionExpanded&&t.parentQuestionId),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate2(" ",null==t?null:t.questionId," | ",e.\u0275\u0275pipeBind1(30,19,e.\u0275\u0275pipeBind1(31,21,t.questionType))," ")}}function _s(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div"),e.\u0275\u0275template(1,fs,32,23,"div",315),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.masterQuestions)}}function xs(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span",332),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext().$implicit;
1return e.\u0275\u0275resetView(n.isQuestionExpanded=!n.isQuestionExpanded)}),e.\u0275\u0275text(1," View More "),e.\u0275\u0275element(2,"i",361),e.\u0275\u0275elementEnd()}}function vs(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span",332),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext().$implicit;return e.\u0275\u0275resetView(n.isQuestionExpanded=!n.isQuestionExpanded)}),e.\u0275\u0275text(1," View Less "),e.\u0275\u0275element(2,"i",334),e.\u0275\u0275elementEnd()}}function Cs(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"table",376)(1,"tr",202)(2,"td",349)(3,"div",170)(4,"div")(5,"p",350),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(7,"td",356),e.\u0275\u0275element(8,"div",326),e.\u0275\u0275pipe(9,"safeHtml"),e.\u0275\u0275elementStart(10,"div",168)(11,"div",377)(12,"div",351),e.\u0275\u0275element(13,"i",378),e.\u0275\u0275elementStart(14,"input",352),e.\u0275\u0275listener("ngModelChange",function(n){const o=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275resetView(o.marks=n)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"div",199),e.\u0275\u0275element(16,"i",379),e.\u0275\u0275elementStart(17,"input",354),e.\u0275\u0275listener("ngModelChange",function(n){const o=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275resetView(o.negativeMarks=n)}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(18,"div",358),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(4),s=e.\u0275\u0275reference(6);return e.\u0275\u0275resetView(n.scroll(s))}),e.\u0275\u0275elementStart(19,"i",359),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext().index,d=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(d.updateQuestion(o,s))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(20,"i",380),e.\u0275\u0275listener("click",function(){const n=e.\u0275\u0275restoreView(t),s=n.index,o=n.$implicit,d=e.\u0275\u0275nextContext().index,r=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(r.deleteQuestion(d,s,o))}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(21,xs,3,0,"span",327),e.\u0275\u0275template(22,vs,3,0,"span",327),e.\u0275\u0275elementEnd()()()}if(2&a){const t=l.$implicit,i=l.index,n=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngClass",e.\u0275\u0275pureFunction1(9,ge,t.question==n.selectedQuestion)),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1("",i+1,"."),e.\u0275\u0275advance(2),e.\u0275\u0275property("innerHTML",t.isQuestionExpanded&&t.parentQuestionId?n.renderQuestion(null==t?null:t.question):e.\u0275\u0275pipeBind1(9,7,null==t?null:t.question),e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(6),e.\u0275\u0275property("ngModel",t.marks),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngModel",t.negativeMarks),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",(null==t?null:t.isQuestionExpanded)&&(null==t||null==t.question?null:t.question.length)>100&&t.parentQuestionId),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!t.isQuestionExpanded&&t.parentQuestionId)}}function bs(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",340)(1,"div",341)(2,"div",342),e.\u0275\u0275element(3,"hr"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"div",343)(5,"small"),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"div",344),e.\u0275\u0275element(8,"hr"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"div",345)(10,"a",346),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).index,o=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(o.removeSection(s))}),e.\u0275\u0275text(11,"x"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(12,"div",12)(13,"div"),e.\u0275\u0275template(14,Cs,23,11,"table",375),e.\u0275\u0275elementEnd()()()}if(2&a){const t=l.$implicit,i=l.index;e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1("Section ",i+1,""),e.\u0275\u0275advance(8),e.\u0275\u0275property("ngForOf",t.questions)}}function ws(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div")(1,"div",362)(2,"div",261)(3,"div",262),e.\u0275\u0275element(4,"i",263),e.\u0275\u0275elementStart(5,"input",363),e.\u0275\u0275listener("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);
1return e.\u0275\u0275resetView(s.getAssessmentDataRequest.searchKey=n)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",265)(7,"span",266),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.searchQuestions(n.getAssessmentDataRequest.searchKey))}),e.\u0275\u0275elementStart(8,"span",267),e.\u0275\u0275text(9," Go "),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(10,"div",114)(11,"button",269),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return n.resetFilterForQuestions(),e.\u0275\u0275resetView(n.isReset=!0)}),e.\u0275\u0275text(12," Reset "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(13,"div",364)(14,"button",271),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.clickTogetFilterData("GRADE"))}),e.\u0275\u0275element(15,"i",272),e.\u0275\u0275text(16,"Filter "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"div")(18,"div",365),e.\u0275\u0275listener("scrolled",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.onScroll())}),e.\u0275\u0275template(19,ps,2,1,"div",274),e.\u0275\u0275elementStart(20,"div")(21,"div",12),e.\u0275\u0275template(22,hs,1,0,"img",366),e.\u0275\u0275template(23,_s,2,1,"div",0),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(24,"div",367)(25,"p",307),e.\u0275\u0275text(26,"Selected Questions"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(27,"div")(28,"div",281)(29,"div",282)(30,"div",368)(31,"p",283),e.\u0275\u0275text(32,"Marks for all"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(33,"div",284)(34,"div",285)(35,"div")(36,"small",286),e.\u0275\u0275text(37,"Correct "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(38,"div"),e.\u0275\u0275element(39,"i",287),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(40,"div")(41,"input",296),e.\u0275\u0275listener("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.correctAnswerMarks=n)})("ngModelChange",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.correctAnswersMarksEntered())}),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(42,"div",289)(43,"div",290)(44,"div")(45,"small",286),e.\u0275\u0275text(46,"Incorrect "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(47,"div"),e.\u0275\u0275element(48,"i",291),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(49,"div")(50,"input",369),e.\u0275\u0275listener("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.wrongAnswerMarks=n)})("ngModelChange",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.wrongAnswersMarksEntered())}),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(51,"div",293)(52,"div",294)(53,"div",199)(54,"div")(55,"small",295),e.\u0275\u0275text(56,"Correct "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(57,"div"),e.\u0275\u0275element(58,"i",287),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(59,"div")(60,"input",296),e.\u0275\u0275listener("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.correctAnswerMarks=n)})("ngModelChange",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.correctAnswersMarksEntered())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(61,"div",297)(62,"div",199)(63,"div")(64,"small",286),e.\u0275\u0275text(65,"Incorrect "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(66,"div"),e.\u0275\u0275element(67,"i",291),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(68,"div")(69,"input",298),e.\u0275\u0275listener("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);
1return e.\u0275\u0275resetView(s.wrongAnswerMarks=n)})("ngModelChange",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.wrongAnswersMarksEntered())}),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(70,"div",370),e.\u0275\u0275template(71,bs,15,2,"div",300),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(72,"div",301)(73,"div",302)(74,"div")(75,"button",303),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.addSection())}),e.\u0275\u0275element(76,"i",277),e.\u0275\u0275text(77," Add Section "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(78,"div")(79,"button",371),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.createAssessment())}),e.\u0275\u0275text(80," Save "),e.\u0275\u0275elementEnd()()()()()()}if(2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("ngModel",t.getAssessmentDataRequest.searchKey),e.\u0275\u0275advance(13),e.\u0275\u0275property("infiniteScrollDistance",2)("infiniteScrollThrottle",50)("scrollWindow",!1),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==t.masterQuestions.length&&0==t.isLoading),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",t.isLoading),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.masterQuestions.length>0),e.\u0275\u0275advance(18),e.\u0275\u0275property("ngModel",t.correctAnswerMarks),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngModel",t.wrongAnswerMarks),e.\u0275\u0275advance(10),e.\u0275\u0275property("ngModel",t.correctAnswerMarks),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngModel",t.wrongAnswerMarks),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",t.assessmentDto.sections),e.\u0275\u0275advance(8),e.\u0275\u0275property("disabled",t.validForm)}}function Ss(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div")(1,"div",243)(2,"div",82),e.\u0275\u0275template(3,Gi,13,0,"div",0),e.\u0275\u0275template(4,$i,13,0,"div",0),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"div",244)(6,"div",245)(7,"div",17)(8,"div",246)(9,"div",247)(10,"nav",248)(11,"div",249)(12,"div",250)(13,"div",251)(14,"ul",252)(15,"li",253),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.toggleIsObjective())}),e.\u0275\u0275elementStart(16,"a",254)(17,"span",255),e.\u0275\u0275text(18,"Objective"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(19,"li",256),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.toggleIsObjective())}),e.\u0275\u0275elementStart(20,"a",254)(21,"span",255),e.\u0275\u0275text(22,"Subjective"),e.\u0275\u0275elementEnd()()()()()()()()(),e.\u0275\u0275elementStart(23,"div",257)(24,"div",258)(25,"div",259)(26,"div",17)(27,"div",260)(28,"div",261)(29,"div",262),e.\u0275\u0275element(30,"i",263),e.\u0275\u0275elementStart(31,"input",264),e.\u0275\u0275listener("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.getAssessmentDataRequest.searchKey=n)})("keyup.enter",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.searchQuestions(n.getAssessmentDataRequest.searchKey))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(32,"div",265)(33,"span",266),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.searchQuestions(n.getAssessmentDataRequest.searchKey))}),e.\u0275\u0275elementStart(34,"span",267),e.\u0275\u0275text(35," Go "),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(36,"div",268)(37,"button",269),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();
1return n.resetFilters(),e.\u0275\u0275resetView(n.isReset=!0)}),e.\u0275\u0275text(38," Reset "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(39,"div",270)(40,"button",271),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.clickTogetFilterData("GRADE"))}),e.\u0275\u0275element(41,"i",272),e.\u0275\u0275text(42,"Filter "),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(43,"div",273),e.\u0275\u0275listener("scrolled",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.onScroll())}),e.\u0275\u0275template(44,Yi,2,1,"div",274),e.\u0275\u0275elementStart(45,"div")(46,"div",12),e.\u0275\u0275template(47,Ji,1,0,"img",275),e.\u0275\u0275template(48,is,2,1,"div",0),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(49,"div",81)(50,"div",168)(51,"button",276),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.createNewQuestion())})("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(),s=e.\u0275\u0275reference(6);return e.\u0275\u0275resetView(n.scroll(s))}),e.\u0275\u0275element(52,"i",277),e.\u0275\u0275text(53," Add New Question "),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(54,"div",278)(55,"div",279)(56,"div",280)(57,"div",16)(58,"div",281)(59,"div",282)(60,"div")(61,"p",283),e.\u0275\u0275text(62," Marks for all "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(63,"div",284)(64,"div",285)(65,"div")(66,"small",286),e.\u0275\u0275text(67,"Correct "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(68,"div"),e.\u0275\u0275element(69,"i",287),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(70,"div")(71,"input",288),e.\u0275\u0275listener("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.correctAnswerMarks=n)})("ngModelChange",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.correctAnswersMarksEntered())})("keypress",function(n){return n.charCode>=48&&n.charCode<58}),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(72,"div",289)(73,"div",290)(74,"div")(75,"small",286),e.\u0275\u0275text(76,"Incorrect "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(77,"div"),e.\u0275\u0275element(78,"i",291),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(79,"div")(80,"input",292),e.\u0275\u0275listener("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.wrongAnswerMarks=n)})("ngModelChange",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.wrongAnswersMarksEntered())})("keypress",function(n){return n.charCode>=48&&n.charCode<58}),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(81,"div",293)(82,"div",294)(83,"div",199)(84,"div")(85,"small",295),e.\u0275\u0275text(86,"Correct "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(87,"div"),e.\u0275\u0275element(88,"i",287),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(89,"div")(90,"input",296),e.\u0275\u0275listener("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.correctAnswerMarks=n)})("ngModelChange",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.correctAnswersMarksEntered())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(91,"div",297)(92,"div",199)(93,"div")(94,"small",286),e.\u0275\u0275text(95,"Incorrect "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(96,"div"),e.\u0275\u0275element(97,"i",291),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(98,"div")(99,"input",298),e.\u0275\u0275listener("ngModelChange",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();
1return e.\u0275\u0275resetView(s.wrongAnswerMarks=n)})("ngModelChange",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.wrongAnswersMarksEntered())}),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275elementStart(100,"div",299),e.\u0275\u0275template(101,ms,15,2,"div",300),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(102,"div",301)(103,"div",302)(104,"div")(105,"button",303),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.addSection())}),e.\u0275\u0275element(106,"i",277),e.\u0275\u0275text(107," Add Section "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(108,"div")(109,"button",304),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.createAssessment())}),e.\u0275\u0275text(110," Save "),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275elementStart(111,"div",305)(112,"div")(113,"div",306)(114,"div")(115,"p",307),e.\u0275\u0275text(116,"Question Bank"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(117,"div",308)(118,"label",309)(119,"input",310),e.\u0275\u0275listener("change",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.changed(n))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(120,"span",311),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(121,"div")(122,"p",307),e.\u0275\u0275text(123,"Add Question"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(124,ws,81,13,"div",0),e.\u0275\u0275elementEnd()()()()}if(2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",0==t.EditTextDisplay),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",1==t.EditTextDisplay),e.\u0275\u0275advance(12),e.\u0275\u0275property("ngClass",t.isSubjective?"":"active"),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngClass",t.isSubjective?"active":""),e.\u0275\u0275advance(11),e.\u0275\u0275property("ngModel",t.getAssessmentDataRequest.searchKey),e.\u0275\u0275advance(12),e.\u0275\u0275property("infiniteScrollDistance",2)("infiniteScrollThrottle",50)("scrollWindow",!1),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==t.masterQuestions.length&&0==t.isLoading),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",t.isLoading),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.masterQuestions.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",t.disabledNewQuestions()),e.\u0275\u0275advance(20),e.\u0275\u0275property("ngModel",t.correctAnswerMarks),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngModel",t.wrongAnswerMarks),e.\u0275\u0275advance(10),e.\u0275\u0275property("ngModel",t.correctAnswerMarks),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngModel",t.wrongAnswerMarks),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",t.assessmentDto.sections),e.\u0275\u0275advance(18),e.\u0275\u0275property("checked",t.checkbox),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",!t.checkbox)}}function As(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",406)(1,"div",407)(2,"div",124)(3,"input",408),e.\u0275\u0275listener("ngModelChange",function(n){const o=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275resetView(o.answerKey=n)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"div")(5,"label"),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(7,"input",409),e.\u0275\u0275listener("ngModelChange",function(n){const o=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275resetView(o.answer=n)}),e.\u0275\u0275elementEnd()()}if(2&a){const t=l.$implicit;e.\u0275\u0275advance(3),e.\u0275\u0275propertyInterpolate1("name","option_checkbox",t.sequence,"")("id","option_checkbox",t.sequence,""),e.\u0275\u0275property("ngModel",t.answerKey),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1("Option ",t.sequence," "),e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate1("name","option_answer",t.sequence,"")("id","option_answer",t.sequence,""),e.\u0275\u0275property("ngModel",t.answer)}}function ys(a,l){if(1&a&&e.\u0275\u0275element(0,"a",410),2&a){const t=l.$implicit;e.\u0275\u0275propertyInterpolate1("title"," ",null==t.tagHierarchy?"N/A":t.tagHierarchy,""),e.\u0275\u0275property("innerHTML",t.tagName,e.\u0275\u0275sanitizeHtml)}}function Ms(a,l){1&a&&e.\u0275\u0275element(0,"div",339),2&a&&e.\u0275\u0275property("innerHTML",l.$implicit,e.\u0275\u0275sanitizeHtml)}function Ps(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",411)(1,"div",412)(2,"i",413),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext(3);
1return e.\u0275\u0275resetView(o.deleteNewQuestionTag(s))}),e.\u0275\u0275elementStart(3,"span",414),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd()()()()}if(2&a){const t=l.$implicit;e.\u0275\u0275advance(3),e.\u0275\u0275propertyInterpolate1("title"," ",null==t.tagHierarchy?"N/A":t.tagHierarchy,""),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(null==t?null:t.tagName)}}function Ts(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",384)(1,"div",17)(2,"div",385)(3,"h2"),e.\u0275\u0275text(4,"Add New Question"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"div",386)(6,"div",17)(7,"div",387)(8,"label",388),e.\u0275\u0275text(9,"Type Question Statement"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(10,"div",389)(11,"label",89),e.\u0275\u0275text(12),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(13,"div")(14,"div",90),e.\u0275\u0275element(15,"div",390),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(16,"div",92),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"p",391),e.\u0275\u0275text(18," Type your Answers AND "),e.\u0275\u0275elementStart(19,"span",392),e.\u0275\u0275text(20,"Select the checkbox for correct option"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(21,"div",393),e.\u0275\u0275template(22,As,8,7,"div",394),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"div",395)(24,"div",17)(25,"div",387)(26,"label",388),e.\u0275\u0275text(27,"Select Tags"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(28,"div",396)(29,"div")(30,"div")(31,"ng-autocomplete",397,398),e.\u0275\u0275listener("selected",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.onNewQuestionTagChange(n))})("inputChanged",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.onSearchShowTagData(n))})("inputCleared",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.onSearchShowTagData(n))})("inputFocused",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.onNewQuestionTagChange(n))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(33,ys,1,2,"ng-template",null,399,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275template(35,Ms,1,1,"ng-template",null,400,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(37,"div",401)(38,"div",37),e.\u0275\u0275template(39,Ps,5,2,"div",402),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275element(40,"div",92),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(41,"div",403)(42,"div",404)(43,"button",303),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2),s=e.\u0275\u0275reference(3);return e.\u0275\u0275resetView([n.clearNewQuestion(),n.scroll(s)])}),e.\u0275\u0275text(44," Close "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(45,"div")(46,"button",405),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.submitNewQuestion())}),e.\u0275\u0275text(47," Save changes "),e.\u0275\u0275elementEnd()()()()}if(2&a){const t=e.\u0275\u0275reference(34),i=e.\u0275\u0275reference(36),n=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(12),e.\u0275\u0275textInterpolate1("",n.remainingNewQuestionText," words left"),e.\u0275\u0275advance(10),e.\u0275\u0275property("ngForOf",n.newQuestion.options),e.\u0275\u0275advance(9),e.\u0275\u0275property("data",n.tagsMasterData)("searchKeyword",n.keywordTag)("itemTemplate",t)("notFoundTemplate",i),e.\u0275\u0275advance(8),e.\u0275\u0275property("ngForOf",n.newQuestion.tags)}}function Ds(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",406)(1,"div",407)(2,"div",124)(3,"input",408),e.\u0275\u0275listener("ngModelChange",function(n){const o=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275resetView(o.answerKey=n)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"div")(5,"label"),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(7,"input",409),e.\u0275\u0275listener("ngModelChange",function(n){const o=e.\u0275\u0275restoreView(t).$implicit;
1return e.\u0275\u0275resetView(o.answer=n)}),e.\u0275\u0275elementEnd()()}if(2&a){const t=l.$implicit;e.\u0275\u0275advance(3),e.\u0275\u0275propertyInterpolate1("name","option_checkbox",t.sequence,"")("id","option_checkbox",t.sequence,""),e.\u0275\u0275property("ngModel",t.answerKey),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1("Option ",t.sequence," "),e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate1("name","option_answer",t.sequence,"")("id","option_answer",t.sequence,""),e.\u0275\u0275property("ngModel",t.answer)}}function Es(a,l){if(1&a&&e.\u0275\u0275element(0,"a",410),2&a){const t=l.$implicit;e.\u0275\u0275propertyInterpolate1("title"," ",null==t.tagHierarchy?"N/A":t.tagHierarchy,""),e.\u0275\u0275property("innerHTML",t.tagName,e.\u0275\u0275sanitizeHtml)}}function Is(a,l){1&a&&e.\u0275\u0275element(0,"div",339),2&a&&e.\u0275\u0275property("innerHTML",l.$implicit,e.\u0275\u0275sanitizeHtml)}function Os(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",411)(1,"div",412)(2,"i",413),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(o.deleteNewQuestionTag(s))}),e.\u0275\u0275elementStart(3,"span",414),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd()()()()}if(2&a){const t=l.$implicit;e.\u0275\u0275advance(3),e.\u0275\u0275propertyInterpolate1("title"," ",null==t.tagHierarchy?"N/A":t.tagHierarchy,""),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(null==t?null:t.tagName)}}function Fs(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",416)(1,"div",17)(2,"div",385)(3,"h2"),e.\u0275\u0275text(4,"Add New Question"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"div",386)(6,"div",17)(7,"div",387)(8,"label",388),e.\u0275\u0275text(9,"Type Question Statement"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(10,"div",389)(11,"label",89),e.\u0275\u0275text(12),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(13,"div")(14,"div",90),e.\u0275\u0275element(15,"div",390),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(16,"div",92),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"p",391),e.\u0275\u0275text(18," Type your Answers AND "),e.\u0275\u0275elementStart(19,"span",392),e.\u0275\u0275text(20,"Select the checkbox for correct option"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(21,"div",393),e.\u0275\u0275template(22,Ds,8,7,"div",394),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"div",395)(24,"div",17)(25,"div",387)(26,"label",388),e.\u0275\u0275text(27,"Select Tags"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(28,"div",396)(29,"div")(30,"div")(31,"ng-autocomplete",397,398),e.\u0275\u0275listener("selected",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(s.onNewQuestionTagChange(n))})("inputChanged",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(s.onSearchShowTagData(n))})("inputCleared",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(s.onSearchShowTagData(n))})("inputFocused",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(s.onNewQuestionTagChange(n))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(33,Es,1,2,"ng-template",null,399,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275template(35,Is,1,1,"ng-template",null,400,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(37,"div",401)(38,"div",37),e.\u0275\u0275template(39,Os,5,2,"div",402),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275element(40,"div",92),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(41,"div",403)(42,"div",404)(43,"button",303),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(3),s=e.\u0275\u0275reference(3);
1return e.\u0275\u0275resetView([n.clearNewQuestion(),n.scroll(s)])}),e.\u0275\u0275text(44," Close "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(45,"div")(46,"button",405),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(n.submitNewQuestion())}),e.\u0275\u0275text(47," Save changes "),e.\u0275\u0275elementEnd()()()()}if(2&a){const t=e.\u0275\u0275reference(34),i=e.\u0275\u0275reference(36),n=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(12),e.\u0275\u0275textInterpolate1("",n.remainingNewQuestionText," words left"),e.\u0275\u0275advance(10),e.\u0275\u0275property("ngForOf",n.newQuestion.options),e.\u0275\u0275advance(9),e.\u0275\u0275property("data",n.tagsMasterData)("searchKeyword",n.keywordTag)("itemTemplate",t)("notFoundTemplate",i),e.\u0275\u0275advance(8),e.\u0275\u0275property("ngForOf",n.newQuestion.tags)}}function ks(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",305),e.\u0275\u0275template(1,Fs,48,7,"div",415),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.newQuestion&&t.enableEditor)}}function Ls(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",406)(1,"div",407)(2,"div",124)(3,"input",408),e.\u0275\u0275listener("ngModelChange",function(n){const o=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275resetView(o.answerKey=n)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"div")(5,"label"),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(7,"input",409),e.\u0275\u0275listener("ngModelChange",function(n){const o=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275resetView(o.answer=n)}),e.\u0275\u0275elementEnd()()}if(2&a){const t=l.$implicit;e.\u0275\u0275advance(3),e.\u0275\u0275propertyInterpolate1("name","option_checkbox",t.sequence,"")("id","option_checkbox",t.sequence,""),e.\u0275\u0275property("ngModel",t.answerKey),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1("Option ",t.sequence," "),e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate1("name","option_answer",t.sequence,"")("id","option_answer",t.sequence,""),e.\u0275\u0275property("ngModel",t.answer)}}function Rs(a,l){if(1&a&&e.\u0275\u0275element(0,"a",410),2&a){const t=l.$implicit;e.\u0275\u0275propertyInterpolate1("title"," ",null==t.tagHierarchy?"N/A":t.tagHierarchy,""),e.\u0275\u0275property("innerHTML",t.tagName,e.\u0275\u0275sanitizeHtml)}}function Ns(a,l){1&a&&e.\u0275\u0275element(0,"div",339),2&a&&e.\u0275\u0275property("innerHTML",l.$implicit,e.\u0275\u0275sanitizeHtml)}function Vs(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",411)(1,"div",412)(2,"i",413),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(o.deleteEditQuestionTag(s))}),e.\u0275\u0275elementStart(3,"span",414),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd()()()()}if(2&a){const t=l.$implicit;e.\u0275\u0275advance(3),e.\u0275\u0275propertyInterpolate1("title"," ",null==t.tagHierarchy?"N/A":t.tagHierarchy,""),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(null==t?null:t.tagName)}}function qs(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",417)(1,"div",17)(2,"div",385)(3,"h2"),e.\u0275\u0275text(4,"Edit Question"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"div",386)(6,"div",17)(7,"div",387)(8,"label",388),e.\u0275\u0275text(9,"Type Question Statement"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(10,"div")(11,"div",90),e.\u0275\u0275element(12,"div",390),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(13,"div",92),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(14,"div"),e.\u0275\u0275elementStart(15,"p",391),e.\u0275\u0275text(16," Type your Answers AND "),e.\u0275\u0275elementStart(17,"span",392),e.\u0275\u0275text(18,"Select the checkbox for correct option"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(19,"div",393),e.\u0275\u0275template(20,Ls,8,7,"div",394),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(21,"div",395)(22,"div",17)(23,"div",387)(24,"label",388),e.\u0275\u0275text(25,"Select Tags"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(26,"div",396)(27,"div")(28,"div")(29,"ng-autocomplete",397,418),e.\u0275\u0275listener("selected",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);
1return e.\u0275\u0275resetView(s.onEditQuestionTagChange(n))})("inputChanged",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.onSearchShowTagData(n))})("inputCleared",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.onSearchShowTagData(n))})("inputFocused",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.onEditQuestionTagChange(n))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(31,Rs,1,2,"ng-template",null,419,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275template(33,Ns,1,1,"ng-template",null,420,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"div",401)(36,"div",37),e.\u0275\u0275template(37,Vs,5,2,"div",402),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275element(38,"div",92),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(39,"div",403)(40,"div",404)(41,"button",421),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2),s=e.\u0275\u0275reference(3);return e.\u0275\u0275resetView([n.clearEditQuestion(),n.scroll(s)])}),e.\u0275\u0275text(42," Close "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(43,"div")(44,"button",422),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.updateEditQuestion())}),e.\u0275\u0275text(45," Update changes "),e.\u0275\u0275elementEnd()()()()}if(2&a){const t=e.\u0275\u0275reference(32),i=e.\u0275\u0275reference(34),n=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(20),e.\u0275\u0275property("ngForOf",n.editQuestion.options),e.\u0275\u0275advance(9),e.\u0275\u0275property("data",n.tagsMasterData)("searchKeyword",n.keywordTag)("itemTemplate",t)("notFoundTemplate",i),e.\u0275\u0275advance(8),e.\u0275\u0275property("ngForOf",n.editQuestion.tags)}}function Us(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div"),e.\u0275\u0275template(1,Ts,48,7,"div",381),e.\u0275\u0275template(2,ks,2,1,"div",382),e.\u0275\u0275template(3,qs,46,6,"div",383),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.newQuestion&&t.enableEditor),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.checkbox),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.editQuestion&&t.enableEditEditor)}}function zs(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",21)(1,"div",22)(2,"input",423),e.\u0275\u0275listener("change",function(n){const o=e.\u0275\u0275restoreView(t).$implicit,d=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(d.onInterestAreaSelectForFilter(o,n.target.checked))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"label",424),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd()()()}if(2&a){const t=l.$implicit,i=l.index;e.\u0275\u0275advance(2),e.\u0275\u0275propertyInterpolate1("id","grade_",i,"")("name","grade_",i,""),e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate1("for","grade_",i,""),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null==t?null:t.tagName,"")}}let Bs=(()=>{class a{constructor(t,i,n,s,o,d,r,c,h,M,P,W,L){this.apiService=t,this.router=i,this.toaster=n,this.activatedroute=s,this.location=o,this.titleService=d,this._renderer2=r,this._document=c,this.platformId=h,this.loggedInUserService=M,this.sanitized=P,this._assessmentService=W,this._setting=L,this.assessmentDto=new se.$,this.getDataRequest=new w.l,this.getAssessmentDataRequest=new _.iE,this.gradeList=[],this.gradeListDummy=[],this.gradeListForFilter=[],this.subjectListForFilter=[],this.chapterListForFilter=[],this.articleListForFilter=[],this.topicListForFilter=[],this.masterQuestions=[],this.enableStep1Tab=!1,this.enableStep2Tab=!1,this.showDuration=!0,this.remainingDescriptionText=250,this.remainingNewQuestionText=250,this.remainingInstructionsText=250,this.toStepOne=!1,this.tagsMasterData=[],this.gradeIds=[],this.currentSection=0,this.selectedTagIds=[],this.selectedTagDto=[],this.selectedTagDtoForStepOne=[],this.selectedTagIdsForStepOne=[],this.isLoading=!1,this.isLoadingChapter=!1,this.isLoadingTopic=!1,this.isLoadingSubject=!1,this.isLoadingGrade=!1,this.selectedAllTagsForFilter=[],this.totalPages=1,this.allGrades=[],this.allSubjects=[],this.allStreams=[],this.allSubjectsTagHierarchy=[],this.allChapters=[],this.allTopics=[],this.allGradesForFilter=[],this.allSubjectsForFilter=[],this.allChaptersForFilter=[],this.allTopicsForFilter=[],this.message="",this.filterdTagIdsList=[],this.interestAreaList=[],this.interestAreaListDummy=[],this.subjectList=[],this.subjectListDummy=[],this.chapter
1List=[],this.chapterListDummy=[],this.streamList=[],this.streamListDummy=[],this.topicList=[],this.topicListDummy=[],this.updateProfileRequest=new I.I,this.userProfileDto=new I.I,this.dropdownSettings={},this.deSelectAssessmentOption=!1,this.enableFreeAssessment=!0,this.showPriceField=!1,this.formative=!0,this.acceptedTermsAndConditions=!1,this.getAfterFirstSaveAndContinueTags=[],this.isExpandedStreamAccordion=!0,this.isExpandedGradeAccordion=!1,this.isExpandedSubjectAccordion=!1,this.isExpandedChapterAccordion=!1,this.isExpandedTopicAccordion=!1,this.isLoadingForTags=!1,this.settingsForSubjectsFilter={singleSelection:!1,idField:"id",textField:"tagHierarchy",enableCheckAll:!1,selectAllText:"Select all",unSelectAllText:"UnSelect all",allowSearchFilter:!0,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:6,searchPlaceholderText:"Search Subject",noDataAvailablePlaceholderText:"No Subjects Available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!0},this.settingsForTopicsFilter={singleSelection:!1,idField:"id",textField:"tagHierarchy",enableCheckAll:!1,selectAllText:"Select all",unSelectAllText:"UnSelect all",allowSearchFilter:!0,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:6,searchPlaceholderText:"Search Topic",noDataAvailablePlaceholderText:"No Topics Available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!0},this.settingsForChapersFilter={singleSelection:!1,idField:"id",textField:"tagHierarchy",enableCheckAll:!1,selectAllText:"Select all",unSelectAllText:"UnSelect all",allowSearchFilter:!0,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:6,searchPlaceholderText:"Search Chapters",noDataAvailablePlaceholderText:"No Chapters Available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!0},this.settingsForTeamsFilter={singleSelection:!1,idField:"id",textField:"teamName",enableCheckAll:!1,selectAllText:"Select all",unSelectAllText:"UnSelect all",allowSearchFilter:!1,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:6,searchPlaceholderText:"Search Team",noDataAvailablePlaceholderText:"No Teams Available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!0},this.previousYearQuestion=!1,this.files=[],this.EditTextDisplay=!1,this.teamID=null,this.isSubjective=!1,this.tagTypeFromAssessmentId=[],this.editSelectedItem=[],this.selectedSubjectsForFilter=[],this.selectedTopicsForFilter=[],this.selectedChaptersForFilter=[],this.isScrolled=!1,this.validForm=!1,this.setImageData="",this.selectpdf=!0,this.existed=!1,this.keywordTag="tagName",this.enableEditor=!1,this.enableEditEditor=!1,this.filterGradeIds=[],this.filterSubjectIds=[],this.filterChapterIds=[],this.filterArticleIds=[],this.filterTopicIds=[],this.filterDifficlultLevels=[],this.isReset=!1,this.status=!1,this.streamSelectedNew=[],this.gradeSelectedNew=[],this.subjectSelectedNew=[],this.topicSelectedNew=[],this.chapterSelectedNew=[],this.selectedTagIdsNew=[],this.selectedTagDtoNew=[],this.getGradeAllData=[],this.getSubjectAllData=[],this.getTopicAllData=[],this.getChapterAllData=[],this.option=[],this.text="Assessment Group",this.assessmentOption=!1,this.allTeams=[],this.selectedTeamsItem=[],this.selectedTeamsNgModel=[],this.currentPageNumber=0,this.selectedId=[],this.selectedTeams=[],this.allTeamsId=[],this.stream=!0,this.grade=!1,this.subject=!1,this.topic=!1,this.chapter=!1,this.difficultyLevel=!1,this.isFilterReset=!1,this.clickSubject=ne
1w re.xQ,this.clickReset=new re.xQ,this.titleService.setTitle("Dynamind Mentor Add Assessment")}onClickStreamAccordion(){this.isExpandedStreamAccordion=!this.isExpandedStreamAccordion}onClickGradeAccordion(){this.isExpandedGradeAccordion=!this.isExpandedGradeAccordion}onClickSubjectAccordion(){this.isExpandedSubjectAccordion=!this.isExpandedSubjectAccordion}onClickChapterAccordion(){this.isExpandedChapterAccordion=!this.isExpandedChapterAccordion}onClickTopicAccordion(){this.isExpandedTopicAccordion=!this.isExpandedTopicAccordion}changed(t){this.isChecked=t.target.checked,this.checkbox=this.isChecked,1==this.isChecked&&this.createNewQuestion()}showSolutionAnswers(t){this.assessmentDto.showSolution=1==t.target.checked}onFilterChange(t,i){this.getDataRequest.filterType=i,this.getDataRequest.searchKey=t,this.getAllTags(i),this.getDataRequest.searchKey=""}onDropDownClose(t){}onItemSelect(t){}onDeSelect(t){}onItemDeSelect(t){}onSelectAll(t){}onDeSelectAll(t){}onPopState(t){let i=this.activatedroute.snapshot.queryParams.name,n=t;n&&"publish"==i?this.router.navigate(["/navigation-bar/mentor/assessments"],{queryParams:{selectedTab:"publish",enableLink:"publish"}}):n&&"purchese"==i&&this.router.navigate(["/navigation-bar/mentor/assessments"],{queryParams:{selectedTab:"purchese",enableLink:"purchese"}})}filesDropped(t){this.files=t}showSlider(){this.showDuration=!0,this.assessmentDto.durationInMinutesFlag=!0}showSlider1(){this.showDuration=!1,this.assessmentDto.durationInMinutesFlag=!1}checkedColor(t){this.masterQuestions.filter(i=>{i.id===t.id&&(this.color1=!1,setTimeout(()=>{this.color1=!0},500))})}highlightRow(t){this.selectedQuestion=t.question}Numberofquestionmethod(t){this.numberOfQuestions=t}selectedQuestionNumber(t,i){i+1>this.numberOfQuestions&&this.toaster.show("Exceeded")}ngOnInit(){this.teamName=this.activatedroute.snapshot.queryParams.teamName,this.teamID=this.activatedroute.snapshot.queryParams.TeamId?+this.activatedroute.snapshot.queryParams.TeamId:null,this.hideRecaptcha(),this.getYourTeam(),(0,m.NF)(this.platformId)&&window.scrollTo(0,0),this.assessmentDto.maximumAttempts=5;let t=(0,m.NF)(this.platformId)?JSON.parse(this.loggedInUserService.getLoggedInUser()):"";if(t&&(this.loggedInUser=t),this.enableStep1Tab=!0,this.getAllStreamData(),this.assessmentDto.assessmentOption=this.loggedInUser.dynamindSpecialUser?"RANK_BOOSTER":N.pR.NONE,this.assessmentId=this.activatedroute.snapshot.queryParams.assessmentId,this.assessmentId)this.EditTextDisplay=!0,this.selectpdf=!1,this.getAssessmentById(this.assessmentId);else{let i=new j.M;i.questions=[],this.assessmentDto.sections.push(i),this.assessmentDto.price=0,this.assessmentDto.durationInMinutesFlag=!0,this.assessmentDto.isPrivateAssessment=!1}this.assessmentDto.price>0&&(this.showPriceField=!0),this.assessmentDto.assessmentOption=null,this.assessmentId||this.fetchAssessmentGroupOptions()}toggleIsObjective(){this.isSubjective=!this.isSubjective,this.getAllMasterQuestionBank()}decrypt(t){return atob(t)}acceptTermsAndConditions(t){this.acceptedTermsAndConditions=!!t}loadCkEditor(t){var i=this;const n=this._renderer2.createElement("script");n.type="application/javascript",n.src=this.apiService.ckeditorUrl+"/assets/ckeditor5/build/ckeditor.js",n.text=`\n      ${n.onload=(0,k.Z)(function*(){const o=yield((0,m.NF)(i.platformId)?window.ClassicEditor:"").create(document.querySelector("#editor"),{toolbar:{items:["heading","MathType","ChemType","|","bold","italic","link","bulletedList","numberedList","insertTable","blockQuote","undo","redo"]},placeholder:"Type here",style:"width: 100% !important",name:"description",maxlength:"250",value:"hell"});null!==t&&t.length>0&&o.setData(t),o.model.document.on("change",()=>{i.ckEditorData=JSON.stringify(o.getData());let d,r=$(o.getData()).text();r=r.replace(/\r?\n|\r/gm," "),r=r.replace(/\s\s+/g," ").trim(),d=i.ckEditorData.replace(/^"(.*)"$/,"$1"),d=d.replace(/&nbsp;/g,""),"undefined"!=t&&t.length>0?i.editQuestion.question=d:(i.newQuestion.question=d,i.newQuestionTextChange(i.newQuestion.question))})})}\n    `,this._renderer2.appendChild(this._document.body,n)}hideRecaptcha(){if((0,m.NF)(this.platformId)){const t=$(".grecaptcha-badge");if(t.length)return t.css({display:"none"});requestAnimationFrame(()=>this.hideRecaptcha())}}scroll(t){t.scrollIntoView({behavior:"smooth"})}getAssessmentById(t){var i=this;this.apiService.getService(this.apiService.apiUrls.getAssessmentById+t).subscribe(function(){var n=(0,k.Z)(function*(s){if(s&&200==s.statusCode){if(i.editAssessmentData=JSON.parse(JSON.stringify(s.data)),0==i.editAssessmentData.price&&i.assessmentId?(i.enableFreeAssessment=!0,i.showPriceField=!1):i.editAssessmentData.price>0&&i.assessmentId&&(i.showPriceField=!0,i.enableFreeAssessment=!1,i.acceptedTermsAndConditions=!0),i.pdfData=i.editAssessmentData.pyqSolutions,i.selectpdf=null!=i.pdfData,i.selectedItems=i.editAssessmentData.assessmentOption,i.imageData=i.editAssessmentData.photo,i.numberOfQuestions=s.data.totalNumberOfQuestions,i.assessmentDto=s.data,0!=i.assessmentDto.durationInMinutes?(i.assessmentDto.durationHr=Math.floor(i.assessmentDto.durationInMinutes/60),i.assessmentDto.durationMin=Math.floor(i.assessmentDto.durationInMinutes%60),i.assessmentDto.durationInMinutesFlag=!0):i.assessmentDto.durationInMinutesFlag=!1,i.updateProfileRequest.tagIds=s.data.tags,i.updateProfileRequest.tags=s.data.tags,i.tagTypeFromAssessmentId=i.updateProfileRequest.tagIds.map(o=>o.tagType),i.getDataRequest.filterTagIds=i.updateProfileRequest.tagIds,i.tagTypeFromAssessmentId.includes("STREAM")){i.isExpandedStreamA
1ccordion=!0,i.selectedTagIdsForStepOne=[];let o=i.updateProfileRequest.tagIds.filter(r=>"STREAM"==r.tagType).map(r=>r.id);i.updateProfileRequest.tags.filter(r=>"STREAM"===r.tagType).forEach(r=>{i.selectedStreamNew(r,"STREAM")}),i.selectedTagIdsForStepOne=o}else i.isExpandedStreamAccordion=!1;if(i.tagTypeFromAssessmentId.includes("GRADE")){i.isExpandedGradeAccordion=!0,i.selectedTagIdsForStepOne=[];let o=i.updateProfileRequest.tagIds.filter(r=>"GRADE"==r.tagType).map(r=>r.id);i.updateProfileRequest.tags.filter(r=>"GRADE"===r.tagType).forEach(r=>{i.selectedGradeNew(r,"GRADE","","","")}),i.selectedTagIdsForStepOne=o}else i.isExpandedGradeAccordion=!1;if(i.tagTypeFromAssessmentId.includes("SUBJECT")){i.selectedTagIdsForStepOne=[];let o=i.updateProfileRequest.tagIds.filter(r=>"SUBJECT"==r.tagType).map(r=>r.id);yield i.updateProfileRequest.tags.filter(r=>"SUBJECT"===r.tagType).forEach(r=>{setTimeout((0,k.Z)(function*(){yield i.selectedSubjectNew(r,"SUBJECT")}),1e3)}),i.selectedTagIdsForStepOne=o,i.isExpandedSubjectAccordion=!0}else i.isExpandedSubjectAccordion=!1;if(i.tagTypeFromAssessmentId.includes("TOPIC")){i.selectedTagIdsForStepOne=[];let o=i.updateProfileRequest.tagIds.filter(r=>"TOPIC"==r.tagType).map(r=>r.id);yield i.updateProfileRequest.tags.filter(r=>"TOPIC"===r.tagType).forEach(r=>{setTimeout((0,k.Z)(function*(){yield i.selectedTopicNew(r,"TOPIC")}),2e3)}),i.selectedTagIdsForStepOne=o,i.isExpandedTopicAccordion=!0}else i.isExpandedTopicAccordion=!1;if(i.tagTypeFromAssessmentId.includes("CHAPTER")?(i.isExpandedChapterAccordion=!0,yield i.updateProfileRequest.tags.filter(d=>"CHAPTER"===d.tagType).forEach(d=>{setTimeout((0,k.Z)(function*(){yield i.selectedChapterNew(d,"CHAPTER")}),2e3)})):i.isExpandedChapterAccordion=!1,i.assessmentDto.durationInMinutes||(i.showDuration=!1),i.currentSection=s.data.sections.length-1,i.assessmentDto.sections&&0!=i.assessmentDto.sections.length)for(let o of i.assessmentDto.sections)for(let d of o?.questions)d.question=i._assessmentService.assessmentQuestionImageChanges(d.question,i.apiService),d.parentQuestion=i._assessmentService.assessmentQuestionImageChanges(d.parentQuestion,i.apiService);else{let o=new j.M;o.questions=[],i.assessmentDto.sections.push(o)}i.assessmentGroup(i.selectedItems),i.pdfData&&(i.selectpdf=!1),i.fetchAssessmentGroupOptions()}else i.toaster.show(s?.message,"Info")});return function(s){return n.apply(this,arguments)}}(),n=>{401==n.status?(this.isLoading=!1,this.toaster.show(n.message?n.message:"Something Went Wrong","Warning"),(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(n?.error?.message,"Info"))})}assessmentGroup(t){"PYQ_SOLVED"===t?(this.previousYearQuestion=!0,this.text="PYQ Solved (Previous year Question Solved)"):"RANK_BOOSTER"===t?(this.previousYearQuestion=!1,this.text="Rank Booster Test"):"DAILY_PRACTICE"===t?(this.previousYearQuestion=!1,this.text="Daily Practice Paper"):"WEEKLY_PRACTICE_PAPERS"===t?(this.previousYearQuestion=!1,this.text="Weekly Practice Paper"):"TOPIC_TEST"===t?(this.previousYearQuestion=!1,this.text="Topic Test"):"CHAPTER_TEST"===t?(this.previousYearQuestion=!1,this.text="Chapter Test"):"FULL_LENGTH_MOCK_TEST"===t?(this.previousYearQuestion=!1,this.text="Full length mock test"):"FREE"===t&&(this.previousYearQuestion=!1,this.text="Free")}onDragOver(t){t.preventDefault(),t.stopPropagation()}onDragLeave(t){t.preventDefault(),t.stopPropagation()}onDrop(t){t.preventDefault(),t.stopPropagation();let i=t.dataTransfer.files;i.length>0&&this.onDroppedFile(i)}onDroppedFile(t){t[0].size>10485760?this.toaster.show("Maximum file size to upload is 10MB","Warning"):(this.fileToUpload=t.item(0),this.uploadFile(this.fileToUpload,!1))}onDropPdf(t){t.preventDefault(),t.stopPropagation();let i=t.dataTransfer.files;i.length>0&&this.onDroppedpdf(i)}onDroppedpdf(t){t[0].size>10485760?this.toaster.show("Maximum file size to upload is 10MB","Warning"):(this.fileUpload=t.item(0),this.uploadFile(this.fileUpload,!0))}onSelectedFile(t){t.target.files.length>0&&this.onDroppedFile(t.target.files)}getAllOwnAssessmentsData(){this.apiService.postService(this.apiService.apiUrls.getAllOwnAssessments,this.getAssessmentDataRequest).subscribe(t=>{t&&200==t.statusCode||this.toaster.show(t?.message,"Info")},t=>{401==t.status?(this.isLoading=!1,this.toaster.show(t.message?t.message:"Something Went Wrong","Warning"),
1(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(t?.error?.message,"Info"))})}clickTogetFilterData(t){(0,m.NF)(this.platformId)&&(this.getDataRequest.filterType=t,this.getDataRequest.tags=[],this.getDataRequest.allTagsDto=this.selectedAllTagsForFilter,this.getAllGradesData(),this.getDataRequest.searchKey="",$("#modelId").modal({backdrop:"static",keyboard:!1}))}exampleMethod(){}getAllGradesData(){this.getDataRequest.pageSize=25,this.getDataRequest.filterTagIds=[],this.getDataRequest.allTagsDto&&this.getDataRequest.allTagsDto.length>0&&("SUBJECT"===this.getDataRequest.filterType?this.getDataRequest.filterTagIds=this.getDataRequest.allTagsDto.filter(t=>"GRADE"===t.tagType).map(t=>t.id):"TOPIC"===this.getDataRequest.filterType?this.getDataRequest.filterTagIds=this.getDataRequest.allTagsDto.filter(t=>"GRADE"===t.tagType||"SUBJECT"===t.tagType).map(t=>t.id):"CHAPTER"===this.getDataRequest.filterType?this.getDataRequest.filterTagIds=this.getDataRequest.allTagsDto.filter(t=>"GRADE"===t.tagType||"SUBJECT"===t.tagType||"TOPIC"===t.tagType).map(t=>t.id):"ARTICLE"===this.getDataRequest.filterType&&(this.getDataRequest.filterTagIds=this.getDataRequest.allTagsDto.filter(t=>"GRADE"===t.tagType||"SUBJECT"===t.tagType||"TOPIC"===t.tagType||"CHAPTER"===t.tagType).map(t=>t.id))),this.apiService.postService(this.apiService.apiUrls.getAllTagsForCreateAssessment,this.getDataRequest).subscribe(t=>{t&&200==t.statusCode?t.data&&t.data.content&&(this.getDataRequest.filterType&&("GRADE"===this.getDataRequest.filterType&&(this.gradeListForFilter=t.data.content),"CHAPTER"===this.getDataRequest.filterType&&(this.chapterListForFilter=t.data.content),"SUBJECT"===this.getDataRequest.filterType&&(this.subjectListForFilter=t.data.content),"ARTICLE"===this.getDataRequest.filterType&&(this.articleListForFilter=t.data.content),"TOPIC"===this.getDataRequest.filterType&&(this.topicListForFilter=t.data.content)),this.gradeList=t.data.content):this.toaster.show(t?.message,"Info")},t=>{401==t.status?(this.isLoading=!1,this.toaster.show(t.message?t.message:"Something Went Wrong","Warning"),(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(t?.error?.message,"Info"))})}getSubjectColour(t){if(this.updateProfileRequest.tagIds&&this.updateProfileRequest.tagIds.length>0){let i=this.updateProfileRequest.tagIds.filter(n=>n.id===t.id);if(i&&i.length>0)return"trueClass"}return"falseClass"}getSubjectColours(t){if(this.updateProfileRequest.tagIds&&this.updateProfileRequest.tagIds.length>0){let i=this.updateProfileRequest.tagIds.filter(n=>n.id==t.id);if(i&&i.length>0)return"trueClass1"}return"falseClass1"}getAllMasterQuestionBank(){if(this.isLoading=!0,this.assessmentDto.tags=this.updateProfileRequest.tagIds,this.assessmentDto.tagIds=this.updateProfileRequest.tagIds.map(t=>t.id),this.getAssessmentDataRequest.allTagsDto=this.selectedTagDto&&0==this.selectedTagDto.length?this.assessmentDto.tags:this.selectedTagDto,this.getAssessmentDataRequest.durationInMinutes=this.assessmentDto.durationInMinutesFlag?60*this.assessmentDto.durationHr+this.assessmentDto.durationMin:0,this.getAssessmentDataRequest.allTagsDto&&this.getAssessmentDataRequest.allTagsDto.length>0){this.filterdTagIdsList=[];for(let t of this.getAssessmentDataRequest.allTagsDto)if(-1==this.filterdTagIdsList.findIndex(n=>n==t.id)){let n=this.filterdTagIdsList.filter(s=>s==t.parentId);if(n&&n.length>0)for(let s of n){let o=this.filterdTagIdsList.findIndex(d=>d===s);-1!=o&&this.filterdTagIdsList.splice(o,1)}this.filterdTagIdsList.push(t.id)}}this.selectedTagIds.length>0?this.getAssessmentDataRequest.filterTagIds=this.selectedTagIds:(this.getAfterFirstSaveAndContinueTags=this.filterdTagIdsList,this.getAssessmentDataRequest.filterTagIds=this.filterdTagIdsList),this.getAssessmentDataRequest.isSubjective=this.isSubjective,this.apiService.postService(this.apiService.apiUrls.getAllMasterQuestions,this.getAssessmentDataRequest).subscribe(t=>{if(t&&200==t.statusCode){if(this.isLoading=!1,t.data&&t.data.content){0==this.isScrolled&&(this.masterQuestions=[]),this.isScrolled=!1,this.totalPages=t.data.totalPages,t.data.content.forEach(i=>
1{this.masterQuestions.push(i)}),0==this.masterQuestions.length&&(this.message="No Questions Found"),this.assessmentDto.sections[this.currentSection].questions.length>0&&t.data.content.forEach(i=>{i.isQuestionChecked=!1,this.assessmentDto.sections.forEach(n=>{n.questions.forEach(s=>{s.id===i.id&&(i.isQuestionChecked=!0)})})});for(let i of this.masterQuestions){i.isQuestionExpanded=!0,i.isDisplay=!1,i.isQcDisplay=!1,i.question=this._assessmentService.assessmentQuestionImageChanges(i.question,this.apiService),i.parentQuestion=this._assessmentService.assessmentQuestionImageChanges(i.parentQuestion,this.apiService);for(let n of i.options)n.answer=this._assessmentService.assessmentQuestionImageChanges(n.answer,this.apiService)}}else this.message="No Questions Found",this.toaster.show(t?.message,"Info");this.isLoading=!1}},t=>{401==t.status?(this.isLoading=!1,this.toaster.show(t.message?t.message:"Something Went Wrong","Warning"),(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(t?.error?.message,"Info"))}),this.filterdTagIdsList=[]}onFilterSelection(t,i){let n=this.selectedAllTagsForFilter.findIndex(s=>s.id===t.id);i&&-1==n?this.selectedAllTagsForFilter.push(t):!i&&n>=0&&this.selectedAllTagsForFilter.splice(n,1)}deleteTagFromSelectedFilter(t){if(t&&t.tagName){let i=this.selectedTagDto.findIndex(n=>n.id===t.id);i>=0?this.selectedTagDto.splice(i,1):this.toaster.show("Record Not Existed","Warning")}this.applyFilterAndChildTagSelection(null)}resetFilterForQuestions(){(0,m.NF)(this.platformId)&&(this.isLoading=!0,this.masterQuestions=[],this.getDataRequest=new w.l,this.getAssessmentDataRequest=new _.iE,this.filterGradeIds=[],this.filterSubjectIds=[],this.filterChapterIds=[],this.filterDifficlultLevels=[],this.gradeListForFilter=[],this.subjectListForFilter=[],this.chapterListForFilter=[],this.selectedAllTagsForFilter=[],this.getAssessmentDataRequest.filterTagIds=[],this.allChapters=[],this.selectedTagDto=[],this.selectedTagIds=[],this.getAllMasterQuestionBank(),$("input[type=checkbox]").prop("checked",!1),this.resetFilterMultiDropDownSelections())}resetFilterMultiDropDownSelections(){this.selectedTopicsForFilter=[],this.selectedSubjectsForFilter=[],this.selectedChaptersForFilter=[]}resetMultiSelectForTopicsFilter(){this.multiSelectForTopicsFilter.toggleUnSelectAll()}resetMultiSelectForChaptersFilter(){this.multiSelectForChaptersFilter.toggleUnSelectAll()}onScroll(){this.getAssessmentDataRequest.pageNumber++,this.totalPages>1&&this.getAssessmentDataRequest.pageNumber<this.totalPages&&(this.isScrolled=!0,this.getAllMasterQuestionBank())}trimFieldInCreateAssessment(){this.assessmentDto?.title.trim(),this.assessmentDto?.description&&this.assessmentDto?.description.trim(),this.assessmentDto?.instructions&&this.assessmentDto?.instructions.trim()}toggleIsPrivateAssessment(){this.assessmentDto.isPrivateAssessment=!this.assessmentDto.isPrivateAssessment}createAssessment(){this.validForm=!0;let i,n,t=!1;if(this.assessmentId){delete this.editAssessmentData.isEdited;let s=JSON.stringify(this.editAssessmentData),o=JSON.parse(JSON.stringify(this.assessmentDto));delete o.isEdited,o=JSON.stringify(o),t=s!==o,this.assessmentDto.isEdited=t,this.assessmentDto.assessmentStatus=1==t||this.editAssessmentData&&"SAVED"==this.editAssessmentData.assessmentStatus?"SAVED":"PUBLISHED"}if(!(this.assessmentDto&&this.assessmentDto.sections&&this.assessmentDto.sections.length>0))return this.validForm=!1,void this.toaster.show("Please add atleast one section","Warning");{let s=[];this.assessmentDto.sections.forEach((o,d)=>{if(o&&!g.iG.isValid(o.questions))return this.validForm=!1,void s.push(d+1)}),s.length>0&&this.toaster.show("Section "+s+" has no question. Please add questions to all these sections, else delete these sections.","Warning")}for(let s of this.assessmentDto.sections)for(let o of s.questions)if(+o.negativeMarks>+o.marks)return i=this.assessmentDto.sections.indexOf(s)+1,n=s.questions.indexOf(o)+1,this.toaster.show("Negative Marks Should be less than or equal to Positive Marks for Section "+i+" Question "+n,"Info"),void(this.validForm=!1);this.assessmentDto.tags=this.assessmentDto.tags.filter(s=>null!=s.id),this.assessmentDto.tagIds=[],this.assessmentDto.tags.forEac
1h(s=>{this.assessmentDto.tagIds.push(s.id)}),this.trimFieldInCreateAssessment(),this.validForm&&(this.isLoading=!0,this.apiService.postService(this.apiService.apiUrls.createAssessment,this.assessmentDto).subscribe(s=>{s&&200==s.statusCode?(this.previewAssessmentPage(s.data.id),this.toaster.show(s?.message,"Success")):this.toaster.show(s?.message,"Info")},s=>{401==s.status?(this.isLoading=!1,this.toaster.show(s.message?s.message:"Something Went Wrong","Warning"),(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(s?.error?.message,"Info"))}))}homePage(){this.router.navigate(["/navigation-bar/mentor/home"])}previewAssessmentPage(t){this.router.navigate(["/navigation-bar/v1/mentor/examination"],null!=this.teamID?{queryParams:{assessmentId:t,TeamId:this.teamID}}:{queryParams:{assessmentId:t}})}saveAndContinue(t){if(this.enableStep1Tab=!1,this.enableStep2Tab=!1,"1"===t)this.toStepOne=!0,this.enableStep1Tab=!0;else if("2"===t){if(this.toStepOne=!1,this.assessmentDto.tags=this.updateProfileRequest.tagIds,this.showPriceField&&(null==this.assessmentDto.price||0==this.assessmentDto.price))return this.toaster.show("Please Enter Assessment Price","Warning"),void(this.enableStep1Tab=!0);if(this.showPriceField&&(this.assessmentDto.price>5e3||this.assessmentDto.price<0))return this.toaster.show("Please Enter Assessment Price less than or equal to 5000","Warning"),void(this.enableStep1Tab=!0);if(!g.iG.isValid(this.assessmentDto.title))return this.toaster.show("Please enter Title of the assessment.","Warning"),void(this.enableStep1Tab=!0);if(null==this.assessmentDto.totalNumberOfQuestions||this.assessmentDto.totalNumberOfQuestions<=0)return this.toaster.show("Please enter number of questions","Warning"),void(this.enableStep1Tab=!0);if(!g.iG.isValid(this.assessmentDto.assessmentOption)&&this.loggedInUser.dynamindSpecialUser)return this.toaster.show("Please select any one assessment Group.","Warning"),void(this.enableStep1Tab=!0);if(this.assessmentDto.durationInMinutesFlag){if(null==this.assessmentDto.durationHr&&null==this.assessmentDto.durationMin)return this.toaster.show("Please Select Assessment Duration","Warning"),void(this.enableStep1Tab=!0);if(0==this.assessmentDto.durationHr&&0==this.assessmentDto.durationMin)return this.toaster.show("Please Select Assessment Duration","Warning"),void(this.enableStep1Tab=!0);if(this.assessmentDto.durationHr>23)return this.toaster.show("Please Select Duration less than 23 hours","Warning"),void(this.enableStep1Tab=!0);if(this.assessmentDto.durationMin>60)return this.toaster.show("Please Select Duration less than 60 Minutes","Warning"),void(this.enableStep1Tab=!0);if(null==this.assessmentDto.durationMin&&(this.assessmentDto.durationMin=0),this.assessmentDto.durationInMinutes=null==this.assessmentDto.durationHr?this.assessmentDto.durationMin:60*this.assessmentDto.durationHr+this.assessmentDto.durationMin,null==this.assessmentDto.durationInMinutes)return this.toaster.show("Please Select Duration more than 0 minutes","Warning"),void(this.enableStep1Tab=!0);if(this.deSelectAssessmentOption)return this.toaster.show("Please select any one assessment Group.","Warning"),void(this.enableStep1Tab=!0);if(this.selectpdf&&this.loggedInUser.dynamindSpecialUser)return this.toaster.show("Please select the pdf For Previous Year Question Solved.","Warning"),void(this.enableStep1Tab=!0)}else this.assessmentDto.durationInMinutes=0,this.assessmentDto.durationHr=0,this.assessmentDto.durationMin=0;if(!g.iG.isValid(this.assessmentDto.tags))return this.toaster.show("Please enter discovery tags. This helps students and other teachers to discover your assessment.","Warning"),void(this.enableStep1Tab=!0);let i=this.updateProfileRequest.tagIds.map(n=>n.tagType);if(this.interestAreaList.length>0&&!i.includes("GRADE"))return this.toaster.show("Please select grade","Warning"),void(this.enableStep1Tab=!0);if(this.fileToUpload&&!1===/\.(jpe?g|png|gif)$/i.test(this.fileToUpload.name))return this.toaster.show("This URL is not a valid image type. Please use a url with the known image types gif, jpg, jpeg or png","Info"),void(this.enableStep1Tab=!0);if(this.fileUpload&&!1===/\.(pdf)$/i.test(this.fileUpload.name))return this.toaster.show("This URL is not a valid pdf type.","Info"),void(this.enableStep1Tab=!0);if(this.showPriceField&&!this.acceptedTermsAndConditions)return this.toaster.show("Please accept terms and conditons","Warning"),void(this.enableStep1Tab=!0);if(this.remainingDescriptionText<0)return this.toaster.show("You can add only 250 words of description","Info"),void(this.enableStep1Tab=!0);this.getAllMasterQuestionBank(),this.enableStep2Tab=!0}}descriptionChange(t){let i=t?t.split(/\s+/):[];this.remainingDescriptionText=250-i.length}newQuestionTextChange(t){let i=t?t.split(/\s+/):[];this.remainingNewQuestionText=250-i.length}convertMathmlToLatex(t){if(t.includes("<math")&&t.includes("</math>")){let i=t,n=t.match(/<math.*?<\/math>/g);for(let s of n);return i}return t}
1instructionsTextChange(t){this.remainingInstructionsText=250-t.length}handleFileInput(t,i){const n=i.target.files;if(this.imageData=null,t[0].size>10485760)return void this.toaster.show("Maximum file size to upload is 10MB","Warning");let s=new FileReader;s.readAsDataURL(n[0]),s.onload=o=>{this.setImageData=s.result},this.fileToUpload=t.item(0),this.uploadFile(this.fileToUpload,!1)}setImageDatas(){return this.setImageData?this.setImageData:this.assessmentId?this.apiService.baseUrl+this.assessmentDto.photo.filePreviewUrl:void 0}handleFileInputPdf(t){this.pdfData=null,t[0].size>10485760?this.toaster.show("Maximum file size to upload is 10MB","Warning"):(this.fileUpload=t.item(0),this.uploadFile(this.fileUpload,!0))}uploadFile(t,i){let n=t.name.split(".");if(1==n.length)return;let s=n[n.length-1];if(i&&"pdf"!=n[n.length-1])return void this.toaster.show("This URL is not a valid image type.","Info");if(!i&&"jpeg"!=s&&"jpg"!=s&&"png"!=s&&"gif"!=s)return void this.toaster.show("This URL is not a valid image type. Please use a url with the known image types gif, jpg, jpeg or png","Info");const o=new FormData;o.append("file",t),this._setting.uploadFileWithPath(this._setting.fileUploadPath.mentorAddAssessment,o).subscribe({next:r=>{i?(this.selectpdf=!1,this.assessmentDto.pyqSolutions=r.data):this.assessmentDto.photo=r.data},error:r=>{this.apiService.handleApiError(r)}})}onQuestionSelect(t,i){if(this.currentSection<0)return void this.toaster.show("Please create atleast 1 section before adding question","Warning");let n=this.assessmentDto.sections[this.currentSection].questions.findIndex(s=>s.question===t.question);if(!i&&n>=0)this.assessmentDto.sections[this.currentSection].questions.splice(n,1);else{let s;for(let o of this.assessmentDto.sections)for(let d of o.questions)t.id==d.id&&(this.existed=!0,s=this.assessmentDto.sections.indexOf(o));if(this.existed&&i)return this.toaster.show("Question already exists","Warning"),void(this.existed=!1);if(this.existed&&!i)return s+=1,this.toaster.show("Unable to delete the question from existed section "+s,"Warning"),void(this.existed=!1);{let o=t;o.referenceQuestionId=t.id,o.marks=null!=this.correctAnswerMarks?this.correctAnswerMarks:t.marks,o.negativeMarks=null!=this.wrongAnswerMarks?this.wrongAnswerMarks:t.negativeMarks;let d=0;for(let r of this.assessmentDto.sections)d+=r.questions.length;if(d==this.numberOfQuestions)return void this.toaster.show("You can only add "+this.assessmentDto.totalNumberOfQuestions+" set of questions If you wish to add more questions, please go Back <- and increase the number of questions you wish to add.","Warning");if(d>this.numberOfQuestions)this.toaster.show("You can only add "+this.assessmentDto.totalNumberOfQuestions+" set of questions If you wish to add more questions, please go Back <- and increase the number of questions you wish to add.","Warning");else if(this.numberOfQuestions<d)return void this.toaster.show("Added more number of questions","Warning");this.assessmentDto.sections[this.currentSection].questions.push(JSON.parse(JSON.stringify(o)))}}}deleteQuestion(t,i,n){this.assessmentDto.sections[t].questions.splice(i,1),this.toaster.show("Delete Successful","Success"),this.masterQuestions.forEach(s=>{s.id==n.id&&(s.isQuestionChecked=!1)}),this.enableEditor=!1,this.enableEditEditor=!1}onInterestAreaSelectForFilter(t,i){let n=this.gradeIds.findIndex(s=>s===t.id);i&&-1==n?this.gradeIds.push(t.id):!i&&n>=0&&this.gradeIds.splice(n,1)}onSubjectSelectForFilter(t,i){let n=this.gradeIds.findIndex(s=>s===t.id);i&&-1==n?this.gradeIds.push(t.id):!i&&n>=0&&this.gradeIds.splice(n,1)}onChapterSelectForFilter(t,i){let n=this.gradeIds.findIndex(s=>s===t.id);i&&-1==n?this.gradeIds.push(t.id):!i&&n>=0&&this.gradeIds.splice(n,1)}onDifficultLevelSelectForFilter(t,i){let n=this.getAssessmentDataRequest.difficultLevels.findIndex(s=>s===t);i&&-1==n?this.getAssessmentDataRequest.difficultLevels.push(t):!i&&n>=0&&this.getAssessmentDataRequest.difficultLevels.splice(n,1)}applyFilterForQuestions(){(0,m.NF)(this.platformId)&&(this.getAllMasterQuestionBank(),this.getAllGradesData(),$("#modelId").modal("hide"))}searchQuestions(t){if(this.getAssessmentDataRequest.searchKey){if(this.getAssessmentDataRequest.pageNumber=0,this.getAssessmentDataRequest.searchKey=t,this.getAssessmentDataRequest.allTagsDto&&this.getAssessmentDataRequest.allTagsDto.length>0){this.filterdTagIdsList=[];for(let i of this.getAssessmentDataRequest.allTagsDto)if(-1==this.filterdTagIdsList.findIndex(s=>s==i.id)){let s=this.filterdTagIdsList.filter(o=>o==i.parentId);if(s&&s.length>0)for(let o of s){let d=this.filterdTagIdsList.findIndex(r=>r===o);-1!=d&&this.filterdTagIdsList.splice(d,1)}this.filterdTagIdsList.push(i.id)}}this.isLoading=!0,this.masterQuestions=[],this.apiService.postService(this.apiService.apiUrls.getAllMasterQuestions,this.getAssessmentDataRequest).subscribe(i=>{if(i&&200==i.statusCode){if(i.data&&i.data.content){this.masterQuestions=i.data.content;for(let n of this.masterQuestions)n.isQuestionChecked=!1,this.assessmentDto.sections.forEach(s=>{s.questions.forEach(o=>{o.id===n.id&&(n.isQuestionChecked=!0)})}),n.question=this._assessmentService.assessmentQuestionImageChanges(n.question,this.apiService),n.parentQuestion=this._assessmentService.assessmentQuestionImageChanges(n.parentQuestion,this.apiService)}else this.message="No Questions Found",this.toaster.show(i?.message,"Info");this.isLoading=!1}},i=>{401==i.status?(this.isLoading=!1,this.toaster.show(i.message?i.message:"Something Went Wrong","Warning"),
1(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(i?.error?.message,"Info"))})}else this.getAssessmentDataRequest.searchKey="",this.masterQuestions=[],this.getAllMasterQuestionBank()}searchSubject(t){this.getDataRequest.filterType="SUBJECT",this.getDataRequest.searchKey=t.target.value,this.getAllGradesData(),this.getDataRequest.searchKey=""}searchChapter(t){this.getDataRequest.filterType="CHAPTER",this.getDataRequest.searchKey=t.target.value,this.getAllGradesData(),this.getDataRequest.searchKey=""}searchTopic(t){this.getDataRequest.filterType="TOPIC",this.getDataRequest.searchKey=t.target.value,this.getAllGradesData(),this.getDataRequest.searchKey=""}searchArticle(t){this.getDataRequest.filterType="ARTICLE",this.getDataRequest.searchKey=t.target.value,this.getAllGradesData(),this.getDataRequest.searchKey=""}searchGrade(t){this.getDataRequest.filterType="GRADE",this.getDataRequest.searchKey=t.target.value,this.getAllGradesData(),this.getDataRequest.searchKey=""}getAllTags(t){this.getDataRequest.pageSize=25,this.getDataRequest.filterTagIds=this.selectedTagIds,this.getDataRequest.filterType=t,this.apiService.postService(this.apiService.apiUrls.getAllTagsForCreateAssessment,this.getDataRequest).subscribe(i=>{if(i&&200==i.statusCode&&i.data&&i.data.content){let n=i.data.content;n&&("GRADE"==t?this.allGradesForFilter=n:"SUBJECT"==t?this.allSubjectsForFilter=n:"TOPIC"==t?this.allTopicsForFilter=n:"CHAPTER"==t&&(this.allChaptersForFilter=n))}else this.toaster.show(i?.message,"Info")},i=>{401==i.status?(this.isLoading=!1,this.toaster.show(i.message?i.message:"Something Went Wrong","Warning"),(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(i?.error?.message,"Info"))})}getAllTagsData(t){this.getDataRequest.filterTagIds=this.selectedTagIds,this.getDataRequest.filterType=t,this.getDataRequest.pageSize=25,this.apiService.postService(this.apiService.apiUrls.getAllTagsForCreateAssessment,this.getDataRequest).subscribe(i=>{i&&200==i.statusCode?i.data&&i.data.content&&(this.tagsMasterData=i.data.content):this.toaster.show(i?.message,"Info")},i=>{401==i.status?(this.isLoading=!1,this.toaster.show(i.message?i.message:"Something Went Wrong","Warning"),(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(i?.error?.message,"Info"))})}clearPanelInput(){this.tagInput.clear()}onSearchShowTagData(t){!t||t.match(/^[a-zA-Z0-9!@#$&()-~`.+,/"_ ]+$/)?(this.getDataRequest.searchKey=t,this.getAllTagsData("")):this.tagInput.query=""}onTagChange(t){if(t&&t.tagName){let i=this.assessmentDto.tags.findIndex(n=>n.id===t.id);-1==i?(this.assessmentDto.tags.push(t),this.assessmentDto.tagIds.push(t.id)):i>=0&&this.toaster.show("Oops! This discovery tag has already been added. Please add another tag.","Warning")}this.clearPanelInput()}deleteTag(t){if(t&&t.tagName){let i=this.assessmentDto.tags.findIndex(n=>n.id===t.id);i>=0?(this.assessmentDto.tags.splice(i,1),this.assessmentDto.tagIds.splice(i,1),this.selectedTagDto.splice(i,1)):this.toaster.show("Record Not Existed","Warning")}}createNewQuestion(){(0,m.NF)(this.platformId)&&(window.scrollTo(0,0),this.loadCkEditor("")),this.enableEditor=!0,this.enableEditEditor=!1,this.newQuestion=new Cn.c,this.assessmentDto&&this.assessmentDto.tagIds&&this.assessmentDto.tagIds.forEach(t=>this.newQuestion.tagIds.push(t)),this.assessmentDto&&this.assessmentDto.tags&&this.assessmentDto.tags.forEac
1h(t=>this.newQuestion.tags.push(t)),this.getAssessmentDataRequest.allTagsDto=this.assessmentDto.tags;for(let t=1;t<=4;t++){let i=new Q.U;i.sequence=t,this.newQuestion.options.push(i)}}updateQuestion(t,i){if(this.editSectionIndex=t,this.editQuestionIndex=this.assessmentDto.sections[t].questions.indexOf(i),this.editQuestion=JSON.parse(JSON.stringify(i)),this.loadCkEditor(this.editQuestion.question),this.editQuestionDummy=i,this.editQuestion.options&&this.editQuestion.answerKeys)if(this.editQuestion.options.forEach(n=>{-1!=this.editQuestion.answerKeys.findIndex(o=>o.answer===n.answer)&&(n.answerKey=!0)}),0==this.editQuestion.options.length)for(let n=1;n<=4;n++){let s=new Q.U;s.sequence=n,this.editQuestion.options.push(s)}else if(4!=this.editQuestion.options.length){let n=this.editQuestion.options;n.forEach((s,o)=>{s.sequence=o+1});for(let s=n.length;s<4;s++){let o=new Q.U;o.sequence=s+1,this.editQuestion.options.push(o)}}g.iG.isValid(this.editQuestion.tags)||(this.editQuestion.tags=[]),g.iG.isValid(this.editQuestion.tagIds)||(this.editQuestion.tagIds=[]),this.enableEditor=!1,this.enableEditEditor=!0}clearNewQuestion(){(0,m.NF)(this.platformId)&&(this.newQuestion=null,this.enableEditEditor=!1,this.enableEditor=!1,this.checkbox=!1,$("#addeditquestion").modal("hide"))}clearEditQuestion(){(0,m.NF)(this.platformId)&&(this.editQuestion=null,this.enableEditEditor=!1,this.enableEditor=!1,$("#editquestion").modal("hide"))}updateEditQuestion(){if((0,m.NF)(this.platformId)){let t;if(!g.iG.isValid(this.editQuestion.question))return void this.toaster.show("Please Enter Question Statement","Warning");if(!g.iG.isValid(this.editQuestion.tags))return void this.toaster.show("Please enter discovery tags. This helps students and other teachers to discover your assessment.","Warning");if(this.editQuestion.options.forEach(s=>{""==s.answer&&(t=!0)}),!0===t)return void this.toaster.show("Please Enter Answer Options","Warning");this.editQuestion.question=this.convertMathmlToLatex(this.editQuestion.question);let i={...this.editQuestionDummy};if(JSON.stringify(i)==JSON.stringify(this.editQuestion))return void this.toaster.show("Nothing to Update","Info");{let s=[];this.editQuestion.answerKeys=[];let o=!1;const d=[];let r=!1;if(this.editQuestion.options.forEach(c=>{1==c.answerKey&&(r=!0)}),0==r)return void this.toaster.show("Please select atleast one option","Warning");if(this.editQuestion.options.forEach(c=>{this.editQuestion.options.filter(h=>h.answer===c.answer).length>1&&(o=!0),d.push(c)}),o)return void this.toaster.show("Two or more options cannot be same","Warning");this.editQuestion.options.forEach(c=>{c.answer&&(s.push(c),c.answerKey&&this.editQuestion.answerKeys.push(c))}),this.editQuestion.options=s,this.editQuestion.isUpdatedQuestion=!0,this.assessmentDto.sections[this.editSectionIndex].questions[this.editQuestionIndex]=this.editQuestion,this.toaster.show("Updated Successfully","Success"),this.editQuestion=null,this.editQuestionIndex=null,this.enableEditor=!1,this.enableEditEditor=!1,$("#editquestion").modal("hide")}}}onEditQuestionTagChange(t){if(t&&t.tagName){let i=this.editQuestion.tags.findIndex(n=>n.id===t.id);-1==i?(this.editQuestion.tags.push(t),this.editQuestion.tagIds.push(t.id)):i>=0&&this.toaster.show("This tag is already existing","Warning")}this.clearEditQuestionPanelInput()}clearEditQuestionPanelInput(){this.tagEditQuestionInput.clear()}deleteEditQuestionTag(t){if(t&&t.tagName){let i=this.editQuestion.tags.findIndex(n=>n.id===t.id);i>=0?(this.editQuestion.tags.splice(i,1),this.editQuestion.tagIds.splice(i,1)):this.toaster.show("Record Not Existed","Warning")}}change(t){0!==t.value.length||this.toaster.show("select atleast one option","warning")}submitNewQuestion(){if(this.currentSection<0)return void this.toaster.show("Please create atleast 1 section before adding question","Warning");if(!g.iG.isValid(this.newQuestion.question))return void this.toaster.show("Please Enter Question Statement","Warning");let t;if(this.newQuestion.options.forEach(d=>{""==d.answer&&(t=!0)}),!0===t)return void this.toaster.show("Please Enter answers of all options","Warning");this.newQuestion.question=this.convertMathmlToLatex(this.newQuestion.question);let i=!1;if(this.newQuestion.options.forEach(d=>{1==d.answerKey&&(i=!0)}),0==i)return void this.toaster.show("Please select atleast one option","Warning");let n=!1;const s=[];if(this.newQuestion.options.forEach(d=>{this.newQuestion.options.filter(r=>r.answer===d.answer).length>1&&(n=!0),s.push(d)}),n)return void this.toaster.show("Two or more options cannot be same","Warning");if(!g.iG.isValid(this.newQuestion.tags))return void this.toaster.show("Please select Tags","Warning");let o=[];this.newQuestion.options.forEach(d=>{d.answer&&(o.push(d),d.answerKey&&this.newQuestion.answerKeys.push(d))}),this.newQuestion.options=o,this.newQuestion.answerKeys&&1==this.newQuestion.answerKeys.length?this.newQuestion.questionType="SINGLE_CHOICE":this.newQuestion.answerKeys&&this.newQuestion.answerKeys.length>1&&(this.newQuestion.questionType="MULTIPLE_CHOICE"),this.newQuestion.isUpdatedQuestion=!0,this.assessmentDto.sections[this.currentSection].questions.push(this.newQuestion),this.enableEditor=!1,this.enableEditEditor=!1,this.newQuestion=null,this.checkbox=!1}onNewQuestionTagChange(t){if(t&&t.tagName){let i=this.newQuestion.tags.findIndex(n=>n.id===t.id);-1==i?(this.newQuestion.tags.push(t),this.newQuestion.tagIds.push(t.id)):i>=0&&this.toaster.show("This tag is already existing","Warning")}this.clearNewQuestionPanelInput()}clearNewQuestionPanelInput(){this.tagNewQuestionInput.clear()}deleteNewQuestionTag(t){if(t&&t.tagName){let i=this.newQuestion.tags.findIndex(n=>n.id===t.id);i>=0?(this.newQuestion.tags.splice(i,1),this.newQuestion.tagIds.splice(i,1)):this.toaster.show("Record Not Existed","Warning")}}addSection(){this.currentSection=this.currentSection+1;let t=new j.M;this.assessmentDto.sections.push(t)}removeSection(t){this.assessmentDto.sections.splice(t,1),this.currentSection=this.currentSection-1;for(let i of this.masterQuestions)i.isQuestionChecked=!1,this.assessmentDto.sections.forEach(n=>
1{n.questions.forEach(s=>{s.id===i.id&&(i.isQuestionChecked=!0)})});if(this.assessmentId){let i=0;this.assessmentDto.sections.forEach(n=>{n.sequence=(i+1).toString(),i++})}}correctAnswersMarksEntered(){if(this.assessmentDto.sections)for(let t of this.assessmentDto.sections)for(let i of t.questions)i.marks=this.correctAnswerMarks}wrongAnswersMarksEntered(){if(this.assessmentDto.sections)for(let t of this.assessmentDto.sections)for(let i of t.questions)i.negativeMarks=this.wrongAnswerMarks}getDataQuestion(t){return"<span>"+t?.questionId+".</span>"+t?.question}onGradeFilter(t,i){let n=this.filterGradeIds.findIndex(s=>s===t.id);i&&-1==n?(this.filterGradeIds.push(t.id),this.selectedAllTagsForFilter.push(t)):!i&&n>=0&&this.filterGradeIds.splice(n,1)}onSubjectFilter(t,i){let n=this.filterSubjectIds.findIndex(s=>s===t.id);i&&-1==n?(this.filterSubjectIds.push(t.id),this.selectedAllTagsForFilter.push(t)):!i&&n>=0&&this.filterSubjectIds.splice(n,1)}onChapterFilter(t,i){let n=this.filterChapterIds.findIndex(s=>s===t.id);i&&-1==n?(this.filterChapterIds.push(t.id),this.selectedAllTagsForFilter.push(t)):!i&&n>=0&&this.filterChapterIds.splice(n,1)}onArticleFilter(t,i){let n=this.filterArticleIds.findIndex(s=>s===t.id);i&&-1==n?(this.filterArticleIds.push(t.id),this.selectedAllTagsForFilter.push(t)):!i&&n>=0&&this.filterArticleIds.splice(n,1)}onTopicFilter(t,i){let n=this.filterTopicIds.findIndex(s=>s===t.id);i&&-1==n?(this.filterTopicIds.push(t.id),this.selectedAllTagsForFilter.push(t)):!i&&n>=0&&this.filterTopicIds.splice(n,1)}onDifficultLevelFilter(t,i){let n=this.filterDifficlultLevels.findIndex(s=>s===t);i&&-1==n?this.filterDifficlultLevels.push(t):!i&&n>=0&&this.filterDifficlultLevels.splice(n,1)}getAllMasterQuestionBankForFilter(){$("#modelId").modal("hide"),this.isLoading=!0,this.filterDifficlultLevels&&this.filterDifficlultLevels.length>0&&(this.getAssessmentDataRequest.difficultLevels=this.filterDifficlultLevels),this.getAssessmentDataRequest.pageSize=100,this.getAssessmentDataRequest.pageNumber=0,this.getAssessmentDataRequest.difficultLevels=this.filterDifficlultLevels,this.getAssessmentDataRequest.filterTagIds=this.selectedTagIds,this.getAssessmentDataRequest.tagIds=[],this.masterQuestions=[],this.apiService.postService(this.apiService.apiUrls.getAllMasterQuestions,this.getAssessmentDataRequest).subscribe(t=>{if(this.isLoading=!1,this.getAssessmentDataRequest.tagIds=[],t&&200==t.statusCode)if(t.data&&t.data.content){!this.isReset&&(0,m.NF)(this.platformId)&&$("#modelId").modal("hide"),this.totalPages=t.data.totalPages,this.masterQuestions=t.data.content,t.data.content.length<=0&&(this.message="No Questions Found");for(let i of this.masterQuestions)i.question=this._assessmentService.assessmentQuestionImageChanges(i.question,this.apiService),i.parentQuestion=this._assessmentService.assessmentQuestionImageChanges(i.parentQuestion,this.apiService)}else this.isLoading=!1,this.message="No Questions Found",this.toaster.show(t?.message,"Info");else this.message="No Questions Found",this.isLoading=!1,this.toaster.show(t?.message,"Info")},t=>{401==t.status?(this.isLoading=!1,this.toaster.show(t.message?t.message:"Something Went Wrong","Warning"),(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(t?.error?.message,"Info"))})}reloadComponent(){let t=this.router.url;this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.onSameUrlNavigation="reload",this.router.navigate([t])}back(){this.selectpdf=!0,this.router.navigate(["navigation-bar/mentor/assessments"]),setTimeout(()=>{this.reloadComponent()},100)}disabledNewQuestions(){if(g.iG.isValid(this.assessmentDto.totalNumberOfQuestions)&&g.iG.isValid(this.assessmentDto.sections)){let t=0;if(this.assessmentDto.sections.forEach(i=>{g.iG.isValid(i.questions)&&(t+=i.questions.length)}),t>=this.assessmentDto.totalNumberOfQuestions)return!0}return!1}enableNoQuestion(){return(!this.masterQuestions||0==this.masterQuestions.length)&&1!=this.isLoading}selectedOrUnSelectedtag(t,i){"SUBJECT"===i?t=this.allSubjectsForFilter.filter(s=>s.id===t.id)[0]:"TOPIC"===i?t=this.allTopicsForFilter.filter(s=>s.id===t.id)[0]:"CHAPTER"===i&&(t=this.allChaptersForFilter.filter(s=>s.id===t.id)[0]);let n=this.selectedTagDto.findIndex(s=>s.id==t.id);-1==n?this.selectedTagDto.push(t):this.selectedTagDto.splice(n,1),this.applyFilterAndChildTagSelection(i)}applyFilterAndChildTagSelection(t){this.selectedTagIds=[];for(let i of this.selectedTagDto){let n=this.selectedTagIds.findIndex(s=>s===i.parentId);-1!=n&&this.selectedTagIds.splice(n,1),this.selectedTagIds.push(i.id)}"GRADE"===t?(this.getAllTags(this.getDataRequest.filterType="SUBJECT"),this.getAllTags(this.getDataRequest.filterType="TOPIC"),this.getAllTags(this.getDataRequest.filterType="CHAPTER")):"SUBJECT"===t?(this.getAllTags(this.getDataRequest.filterType="TOPIC"),this.getAllTags(this.getDataRequest.filterType="CHAPTER")):"TOPIC"===t?(this.getAllTags(this.getDataRequest.filterType="CHAPTER"),this.getAllTags(this.getDataRequest.filterType="SUBJECT")):"CHAPTER"===t&&(this.getAllTags(this.getDataRequest.filterType="SUBJECT"),this.getAllTags(this.getDataRequest.filterType="TOPIC"))}getAllTagsForStepOne(t){this.getDataRequest.pageSize=25,this.getDataRequest.filterTagIds=this.selectedTagIdsForStepOne,this.getDataRequest.filterType=t,this.apiService.postService(this.apiService.apiUrls.getAllTagsForCreateAssessment,this.getDataRequest).subscribe(i=>{if(i&&200==i.statusCode&&i.data&&i.data.content){let n=i.data.content;n&&("STREAM"==t?this.streamList=n:"GRADE"==t?(this.interestAreaList=n,this.isLoadingGrade=!1,this.isExpandedGradeAccordion=!0):"SUBJECT"==t?(this.subjectList=n,this.isLoadingSubject=!1,this.isExpandedSubjectAccordion=!0):"TOPIC"==t?(this.topicList=n,this.isLoadingTopic=!1,this.isExpandedTo
1picAccordion=!0):"CHAPTER"==t&&(this.chapterList=n,this.isLoadingChapter=!1,this.isExpandedChapterAccordion=!0))}else this.toaster.show(i?.message,"Info")},i=>{401==i.status?(this.isLoading=!1,this.toaster.show(i.message?i.message:"Something Went Wrong","Warning"),localStorage.clear(),window.location.href="/"):(this.isLoading=!1,this.toaster.show(i?.error?.message,"Info"))})}selectedOrUnSelectedtagForStepOne(t,i){if(this.getDataRequest.searchKey=null,t.selected=-1==this.updateProfileRequest.tagIds.findIndex(s=>s.id===t.id),t.selected){"STREAM"===i?t=this.streamList.filter(o=>o.id===t.id)[0]:"GRADE"===i?t=this.interestAreaList.filter(o=>o.id===t.id)[0]:"SUBJECT"===i?t=this.subjectList.filter(o=>o.id===t.id)[0]:"CHAPTER"===i?t=this.chapterList.filter(o=>o.id===t.id)[0]:"TOPIC"===i&&(t=this.topicList.filter(o=>o.id===t.id)[0]);let s=this.updateProfileRequest.tagIds.findIndex(o=>o.id==t.id);-1==s?this.updateProfileRequest.tagIds.push(t):this.updateProfileRequest.tagIds.splice(s,1),this.applyFilterAndChildTagSelectionForStepOne(i)}else{t.selected=!1;let s=[...this.updateProfileRequest.tagIds];for(let d of this.updateProfileRequest.tagIds)for(let r of d.parentTags)if(r===t.id){let c=s.findIndex(h=>h.id==d.id);-1!=c&&s.splice(c,1)}let o=s.findIndex(d=>d.id==t.id);s.splice(o,1),this.updateProfileRequest.tagIds=s,this.checkForEnableOrDisableTags(this.updateProfileRequest.tagIds,i)}}applyFilterAndChildTagSelectionForStepOne(t){this.selectedTagIdsForStepOne=[];for(let i of this.updateProfileRequest.tagIds){let n=this.selectedTagIdsForStepOne.findIndex(s=>s===i.parentId);-1!=n&&this.selectedTagIdsForStepOne.splice(n,1),this.selectedTagIdsForStepOne.push(i.id)}"STREAM"===t?this.getAllTagsForStepOne(this.getDataRequest.filterType="GRADE"):"GRADE"===t?this.getAllTagsForStepOne(this.getDataRequest.filterType="SUBJECT"):"SUBJECT"===t?this.getAllTagsForStepOne(this.getDataRequest.filterType="TOPIC"):"TOPIC"===t?this.getAllTagsForStepOne(this.getDataRequest.filterType="CHAPTER"):"CHAPTER"===t||(this.getAllTagsForStepOne("STREAM"),this.getAllTagsForStepOne("GRADE"),this.getAllTagsForStepOne("SUBJECT"),this.getAllTagsForStepOne("TOPIC"),this.getAllTagsForStepOne("CHAPTER"))}checkForEnableOrDisableTags(t,i){this.selectedTagIdsForStepOne=[];for(let s of this.updateProfileRequest.tagIds){let o=this.selectedTagIdsForStepOne.findIndex(d=>d===s.parentId);-1!=o&&this.selectedTagIdsForStepOne.splice(o,1),this.selectedTagIdsForStepOne.push(s.id)}("STREAM"===i||"GRADE"===i||"SUBJECT"===i||"TOPIC"===i||"CHAPTER"===i)&&this.getAllTagsForStepOne(i),t.map(s=>s.tagType),0==t.filter(s=>"GRADE"==s.tagType).length&&(this.interestAreaList=[],this.subjectList=[],this.topicList=[],this.chapterList=[],this.isExpandedGradeAccordion=!1,this.isExpandedSubjectAccordion=!1,this.isExpandedTopicAccordion=!1,this.isExpandedChapterAccordion=!1),0==t.filter(s=>"SUBJECT"==s.tagType).length&&(this.subjectList=[],this.topicList=[],this.chapterList=[],this.isExpandedSubjectAccordion=!1,this.isExpandedTopicAccordion=!1,this.isExpandedChapterAccordion=!1)}getDefaultBar(t,i){return""==t||null==t?"defaultBar":"EXTREMELY_EASY"===t?1==i?"extremelyEasy":"defaultBar":"VERY_EASY"===t?1==i||2==i?"veryEasy":"defaultBar":"EASY"===t?1==i||2==i||3==i?"easy":"defaultBar":"MODERATELY_DIFFICULT"===t?1==i||2==i||3==i||4==i?"moderatelyDifficult":"defaultBar":"HIGHLY_DIFFICULT"===t?1==i||2==i||3==i||4==i||5==i?"highlyDifficult":"defaultBar":"EXTREMELY_DIFFICULT"===t?1==i||2==i||3==i||4==i||5==i||6==i?"exremelyDifficult":"defaultBar":void 0}termsPage(){this.router.navigate(["/navigation-bar/mentor/terms-condition"])}policyPage(){this.router.navigate(["/navigation-bar/mentor/privacy-policy"])}removeSelectedPicture(){this.fileToUpload=null,this.assessmentDto.photo=null,this.imageData=null}removeSelectedPdf(){this.selectpdf=!0,this.fileUpload=null,this.pdfData=null}disabledResetButtonForFilters(){return 0==this.filterDifficlultLevels.length&&0==this.selectedTagIds.length}removeSelectedValues(){(0,m.NF)(this.platformId)&&(this.filterdTagIdsList=[],this.selectedTagDto=[],this.selectedTagIds=[],this.toStepOne=!0,this.getAssessmentDataRequest=new _.iE,this.masterQuestions=[],$("input[type=checkbox]").prop("checked",!1),this.resetFilterMultiDropDownSelections(),this.getAssessmentDataRequest.allTagsDto=this.assessmentDto.tags,this.filterGradeIds=[],this.filterSubjectIds=[],this.filterChapterIds=[],this.filterDifficlultLevels=[],this.gradeListForFilter=[],this.subjectListForFilter=[],this.chapter
1ListForFilter=[],this.selectedAllTagsForFilter=[],this.getAssessmentDataRequest.filterTagIds=[],this.allChapters=[],this.acceptedTermsAndConditions=!1,this.resetFilters())}getAllStreamData(){this.getDataRequest.pageSize=25,this.getDataRequest.filterType="STREAM",this.isLoadingForTags=!0,this.apiService.postService(this.apiService.apiUrls.getAllTagsForCreateAssessment,this.getDataRequest).subscribe(t=>{t&&200==t.statusCode?t.data&&t.data.content&&(this.streamList=t.data.content,this.isLoadingForTags=!1):this.toaster.show(t?.message,"Info")},t=>{401==t.status?(this.toaster.show(t.message?t.message:"Something Went Wrong","Warning"),window.location.href="/"):this.toaster.show(t?.error?.message,"Info")})}selectedStream(t){if(this.assessmentId)this.getAllSubjectsData("grade"),this.getAllSubjectsData();else{let i=this.updateProfileRequest.tagIds.findIndex(s=>s.id===t.id),n=this.allStreams.findIndex(s=>t.id==s.id);-1==i?(t.selected=!0,this.updateProfileRequest.tagIds.push(t),this.allStreams.push(t),this.getDataRequest.filterTagIds=[],this.getDataRequest.filterTagIds.push(t.id)):(t.selected=!1,this.allStreams.splice(n,1),this.updateProfileRequest.tagIds.splice(i,1),0==this.allStreams.length&&(this.interestAreaList=[],this.subjectList=[],this.chapterList=[],this.topicList=[])),this.allStreams.length>0&&(this.isExpandedGradeAccordion=!0,this.getAllSubjectsData("grade"))}}selectedGrade(t){let i=this.updateProfileRequest.tagIds.findIndex(s=>s.id===t.id),n=this.allGrades.findIndex(s=>t.id==s.id);if(-1==i)t.selected=!0,this.updateProfileRequest.tagIds.push(t),this.getDataRequest.filterTagIds=[],this.getDataRequest.filterTagIds.push(t.id),this.allGrades.push(t);else{t.selected=!1;let s=[...this.updateProfileRequest.tagIds];for(let d of this.updateProfileRequest.tagIds)if(d?.parentTags)for(let r of d?.parentTags)if(r===t.id){let c=s.findIndex(h=>h.id==d.id);-1!=c&&(s.splice(c,1),this.allSubjects.splice(c,1))}let o=s.findIndex(d=>d.id==t.id);s.splice(o,1),this.allSubjects.splice(i,1),this.updateProfileRequest.tagIds=s,this.allGrades.splice(n,1),this.subjectList=[],this.chapterList=[],this.topicList=[]}this.allGrades.length>0&&(this.isExpandedSubjectAccordion=!0,this.getAllSubjectsData())}selectedSubject(t){let i=this.updateProfileRequest.tagIds.findIndex(s=>s.id===t.id),n=this.allSubjects.findIndex(s=>s.id==t.id);if(-1==i)t.selected=!0,this.updateProfileRequest.tagIds.push(t),this.allSubjects.push(t),this.getDataRequest.filterTagIds=[],this.getDataRequest.filterTagIds.push(t.id);else{t.selected=!1;let s=[...this.updateProfileRequest.tagIds];for(let d of this.updateProfileRequest.tagIds)if(d?.parentTags)for(let r of d?.parentTags)if(r===t.id){let c=s.findIndex(h=>h.id==d.id);-1!=c&&this.allSubjects.splice(c,1)}let o=s.findIndex(d=>d.id==t.id);s.splice(o,1),this.allSubjects.splice(n,1),this.updateProfileRequest.tagIds=s,0==this.allSubjects.length&&(this.chapterList=[],this.topicList=[])}this.allSubjects.length>0&&(this.isExpandedChapterAccordion=!0,this.getAllSubjectsData("chapter"))}selectedChapter(t){if(-1==this.updateProfileRequest.tagIds.findIndex(n=>n.id===t.id))t.selected=!0,this.updateProfileRequest.tagIds.push(t),this.getDataRequest.filterTagIds=[],this.getDataRequest.filterTagIds.push(t.id);else{t.selected=!1;let n=[...this.updateProfileRequest.tagIds];for(let o of this.updateProfileRequest.tagIds)if(o?.parentTags)for(let d of o?.parentTags)if(d===t.id){let r=n.findIndex(c=>c.id==o.id);-1!=r&&n.splice(r,1)}let s=n.findIndex(o=>o.id==t.id);n.splice(s,1),this.updateProfileRequest.tagIds=n,this.topicList=[]}this.allSubjects.length>0&&(this.isExpandedTopicAccordion=!0,this.getAllSubjectsData("topic"))}selectedTopic(t){if(-1==this.updateProfileRequest.tagIds.findIndex(n=>n.id===t.id))t.selected=!0,this.updateProfileRequest.tagIds.push(t),this.getDataRequest.filterTagIds=[],this.getDataRequest.filterTagIds.push(t.id);else{t.selected=!1;let n=[...this.updateProfileRequest.tagIds];for(let o of this.updateProfileRequest.tagIds)if(o?.parentTags)for(let d of o?.parentTags)if(d===t.id){let r=n.findIndex(c=>c.id==o.id);-1!=r&&n.splice(r,1)}let s=n.findIndex(o=>o.id==t.id);n.splice(s,1),this.updateProfileRequest.tagIds=n}}onSearchChapter(t,i){t&&t.target.value?(this.getDataRequest.searchKey=t.target.value,this.getDataRequest.pageNumber=0):this.getDataRequest.searchKey="",this.getAllTagsForStepOne(i)}onSearchTopic(t,i){t&&t.target.value?(this.getDataRequest.searchKey=t.target.value,this.getDataRequest.pageNumber=0):this.getDataRequest.searchKey="",this.getAllTagsForStepOne(i)}getAllSubjectsData(t){if(this.assessmentId){let i=[];if(this.getDataRequest.filterTagIds=[],"grade"==t)i=this.updateProfileRequest.tagIds.filter(n=>"STREAM"==n.tagType).map(n=>n.id),this.getDataRequest.filterTagIds=i;else if(t){if("topic"==t){i=this.updateProfileRequest.tagIds.filter(n=>"STREAM"==n.tagType||"GRADE"==n.tagType||"SUBJECT"==n.tagType||"CHAPTER"==n.tagType).map(n=>n.id);for(let n of this.updateProfileRequest.tagIds){let s=i.findIndex(o=>o===n.parentId);-1!=s&&i.splice(s,1),i.push(n.id)}this.getDataRequest.filterTagIds=i,this.getAllSubjectsData("chapter")}
1else if("chapter"==t){i=this.updateProfileRequest.tagIds.filter(n=>"STREAM"==n.tagType||"GRADE"==n.tagType||"SUBJECT"==n.tagType).map(n=>n.id);for(let n of this.updateProfileRequest.tagIds){let s=i.findIndex(o=>o===n.parentId);-1!=s&&i.splice(s,1),i.push(n.id)}this.getDataRequest.filterTagIds=i}}else{i=this.updateProfileRequest.tagIds.filter(n=>"STREAM"==n.tagType||"GRADE"==n.tagType).map(n=>n.id);for(let n of this.updateProfileRequest.tagIds){let s=i.findIndex(o=>o===n.parentId);-1!=s&&i.splice(s,1),i.push(n.id)}this.getDataRequest.filterTagIds=i,this.getAllSubjectsData("topic")}}this.getDataRequest.filterTagIds&&this.getDataRequest.filterTagIds.length>0?("chapter"===t?(this.getDataRequest.filterType="CHAPTER",this.isLoadingChapter=!0):"topic"===t?(this.getDataRequest.filterType="TOPIC",this.isLoadingTopic=!0):"grade"===t?(this.getDataRequest.filterType="GRADE",this.isLoadingGrade=!0):(this.getDataRequest.filterType="SUBJECT",this.isLoadingSubject=!0),this.apiService.postService(this.apiService.apiUrls.getAllTagsForCreateAssessment,this.getDataRequest).subscribe(i=>
1{i&&200==i.statusCode?i.data&&i.data.content&&("chapter"===t?(this.chapterList=i.data.content,this.chapterListDummy=i.data.content,this.isLoadingChapter=!1):"topic"===t?(this.topicList=i.data.content,this.topicListDummy=i.data.content,this.isLoadingTopic=!1):"grade"===t?(this.interestAreaList=i.data.content,this.interestAreaListDummy=i.data.content,this.isLoadingGrade=!1):(this.subjectList=i.data.content,this.subjectListDummy=i.data.content,this.isLoadingSubject=!1)):this.toaster.show(i?.message,"Info")},i=>{this.isLoadingChapter=!1,this.isLoadingSubject=!1,this.isLoadingTopic=!1,this.isLoadingGrade=!1,this.toaster.show(i?.error?.message,"Info")})):"chapter"===t?(this.chapterList=[],this.getChapterAllData=[],this.getChapterFirstData=[],this.isLoadingChapter=!1):"topic"===t?(this.topicList=[],this.getTopicAllData=[],this.getTopicFirstData=[],this.isLoadingTopic=!1):"grade"===t?(this.interestAreaList=[],this.getGradeAllData=[],this.getGradeFirstData=[],this.isLoadingGrade=!1):(this.subjectList=[],this.getSubjectAllData=[],this.getSubjectFirstData=[],this.isLoadingSubject=!1)}selectedStreamNew(t,i){this.isLoadingGrade=!0;let n=this.streamSelectedNew.findIndex(o=>o.id==t.id);-1==n?(this.interestAreaList=[],this.getGradeAllData=[],this.getGradeFirstData=[],this.isExpandedGradeAccordion=!0,this.subjectList=[],this.getSubjectAllData=[],this.getSubjectFirstData=[],this.isExpandedSubjectAccordion=!1,this.topicList=[],this.getTopicAllData=[],this.getTopicFirstData=[],this.isExpandedTopicAccordion=!1,this.chapterList=[],this.getChapterAllData=[],this.getChapterFirstData=[],this.isExpandedChapterAccordion=!1,this.streamSelectedNew.push(t),this.updateProfileRequest.tagIds.push(t),this.gradeSelectedNew=[],this.subjectSelectedNew=[],this.topicSelectedNew=[],this.chapterSelectedNew=[],this.selectedTagIdsNew=this.streamSelectedNew.map(o=>o.id),this.getTagsDataForStepOne(i)):(this.streamSelectedNew.splice(n,1),0==this.streamSelectedNew.length?(this.interestAreaList=[],this.getGradeAllData=[],this.getGradeFirstData=[],this.isExpandedGradeAccordion=!1,this.isLoadingGrade=!1):(this.selectedTagIdsNew=this.streamSelectedNew.map(o=>o.id),this.getTagsDataForStepOne(i)),this.subjectList=[],this.getSubjectAllData=[],this.getSubjectFirstData=[],this.isExpandedSubjectAccordion=!1,this.topicList=[],this.getTopicAllData=[],this.getTopicFirstData=[],this.isExpandedTopicAccordion=!1,this.chapterList=[],this.getChapterAllData=[],this.getChapterFirstData=[],this.isExpandedChapterAccordion=!1),this.updateProfileRequest.tagIds=[];let s=this.streamSelectedNew.map(o=>o);this.updateProfileRequest.tagIds=[...s]}selectedGradeNew(t,i,n,s,o){this.isLoadingSubject=!0;let d=this.gradeSelectedNew.findIndex(h=>h.id==t.id);-1==d?(this.subjectList=[],this.getSubjectAllData=[],this.getSubjectFirstData=[],this.isExpandedSubjectAccordion=!0,this.topicList=[],this.getTopicAllData=[],this.getTopicFirstData=[],this.isExpandedTopicAccordion=!1,this.chapterList=[],this.getChapterAllData=[],this.getChapterFirstData=[],this.isExpandedChapterAccordion=!1,this.gradeSelectedNew.push(t),this.updateProfileRequest.tagIds.push(t),this.subjectSelectedNew=[],this.topicSelectedNew=[],this.chapterSelectedNew=[],this.selectedTagIdsNew=this.gradeSelectedNew.map(h=>h.id),this.getTagsDataForStepOne(i)):(this.gradeSelectedNew.splice(d,1),0==this.gradeSelectedNew.length?(this.subjectList=[],this.getSubjectAllData=[],this.getSubjectFirstData=[],this.isExpandedSubjectAccordion=!1,this.isLoadingSubject=!1):(this.selectedTagIdsNew=this.gradeSelectedNew.map(h=>h.id),this.getTagsDataForStepOne(i)),this.topicList=[],this.getTopicAllData=[],this.getTopicFirstData=[],this.isExpandedTopicAccordion=!1,this.chapterList=[],this.getChapterAllData=[],this.getChapterFirstData=[],this.isExpandedChapterAccordion=!1);let r=this.updateProfileRequest.tagIds.filter(h=>"STREAM"==h.tagType);this.updateProfileRequest.tagIds=[];let c=this.gradeSelectedNew.map(h=>h);this.updateProfileRequest.tagIds=[...r,...c]}selectedSubjectNew(t,i){this.isLoadingTopic=!0;let n=this.subjectSelectedNew.findIndex(d=>d.id==t.id);-1==n?(this.topicList=[],this.getTopicAllData=[],this.getTopicFirstData=[],this.isExpandedTo
1picAccordion=!0,this.chapterList=[],this.getChapterAllData=[],this.getChapterFirstData=[],this.isExpandedChapterAccordion=!1,this.subjectSelectedNew.push(t),this.updateProfileRequest.tagIds.push(t),this.topicSelectedNew=[],this.chapterSelectedNew=[],this.selectedTagIdsNew=this.subjectSelectedNew.map(d=>d.id),this.getTagsDataForStepOne(i)):(this.subjectSelectedNew.splice(n,1),0==this.subjectSelectedNew.length?(this.topicList=[],this.getTopicAllData=[],this.getTopicFirstData=[],this.isExpandedTopicAccordion=!1,this.isLoadingTopic=!1):(this.selectedTagIdsNew=this.subjectSelectedNew.map(d=>d.id),this.getTagsDataForStepOne(i)),this.chapterList=[],this.getChapterAllData=[],this.getChapterFirstData=[],this.isExpandedChapterAccordion=!1);let s=this.updateProfileRequest.tagIds.filter(d=>"STREAM"==d.tagType||"GRADE"==d.tagType);this.updateProfileRequest.tagIds=[];let o=this.subjectSelectedNew.map(d=>d);this.updateProfileRequest.tagIds=[...s,...o]}selectedTopicNew(t,i){this.isLoadingChapter=!0;let n=this.topicSelectedNew.findIndex(d=>d.id==t.id);-1==n?(this.chapterList=[],this.getChapterAllData=[],this.getChapterFirstData=[],this.isExpandedChapterAccordion=!0,this.topicSelectedNew.push(t),this.updateProfileRequest.tagIds.push(t),this.chapterSelectedNew=[],this.selectedTagIdsNew=this.topicSelectedNew.map(d=>d.id),this.getTagsDataForStepOne(i)):(this.topicSelectedNew.splice(n,1),0==this.topicSelectedNew.length?(this.chapterList=[],this.getChapterAllData=[],this.getChapterFirstData=[],this.isExpandedChapterAccordion=!1,this.isLoadingChapter=!1):(this.selectedTagIdsNew=this.topicSelectedNew.map(d=>d.id),this.getTagsDataForStepOne(i)),this.chapterList=[],this.getChapterAllData=[],this.getChapterFirstData=[],this.isExpandedChapterAccordion=!1);let s=this.updateProfileRequest.tagIds.filter(d=>"STREAM"==d.tagType||"GRADE"==d.tagType||"SUBJECT"==d.tagType);this.updateProfileRequest.tagIds=[];let o=this.topicSelectedNew.map(d=>d);this.updateProfileRequest.tagIds=[...s,...o]}selectedChapterNew(t,i){this.isLoadingChapter=!1;let n=this.chapterSelectedNew.findIndex(d=>d.id==t.id);-1==n?(this.chapterSelectedNew.push(t),this.updateProfileRequest.tagIds.push(t),this.selectedTagIdsNew=this.topicSelectedNew.map(d=>d.id)):this.chapterSelectedNew.splice(n,1);let s=this.updateProfileRequest.tagIds.filter(d=>"STREAM"==d.tagType||"GRADE"==d.tagType||"SUBJECT"==d.tagType||"TOPIC"==d.tagType);this.updateProfileRequest.tagIds=[];let o=this.chapterSelectedNew.map(d=>d);this.updateProfileRequest.tagIds=[...s,...o]}getTagsDataForStepOne(t){"STREAM"===t?this.getAllTagsNew(this.getDataRequest.filterType="GRADE"):"GRADE"===t?this.getAllTagsNew(this.getDataRequest.filterType="SUBJECT"):"SUBJECT"===t?this.getAllTagsNew(this.getDataRequest.filterType="TOPIC"):"TOPIC"===t&&this.getAllTagsNew(this.getDataRequest.filterType="CHAPTER")}getAllTagsNew(t){this.getDataRequest.pageSize=25,this.getDataRequest.filterTagIds=this.selectedTagIdsNew,this.getDataRequest.filterType=t,this.apiService.postService(this.apiService.apiUrls.getAllTagsForCreateAssessment,this.getDataRequest).subscribe(i=>{if(i&&200==i.statusCode&&i.data&&i.data.content){let n=i.data.content;if(n)if("STREAM"==t)this.isLoadingGrade=!1;else if("GRADE"==t){this.interestAreaList=n,0==this.interestAreaList.length&&(this.isExpandedGradeAccordion=!1),this.isLoadingGrade=!1;let s=[],o=[];n.forEach(d=>{let r=d.tagHierarchy.split("->");void 0===s[r[0]]&&(o.push(r[0]),s[r[0]]=[]),s[r[0]].push(d)}),this.getGradeFirstData=o,this.getGradeAllData=s}else if("SUBJECT"==t){this.subjectList=n,this.isLoadingSubject=!1;let s=[],o=[];n.forEach(d=>{let r=d.tagHierarchy.split("->");void 0===s[r[0]+">"+r[1]]&&(o.push(r[0]+">"+r[1]),s[r[0]+">"+r[1]]=[]),s[r[0]+">"+r[1]].push(d)}),this.getSubjectAllData=s,this.getSubjectFirstData=o}else if("TOPIC"==t){this.topicList=n,this.isLoadingTopic=!1;let s=[],o=[];n.forEach(d=>{let r=d.tagHierarchy.split("->");void 0===s[r[0]+">"+r[1]+">"+r[2]]&&(o.push(r[0]+">"+r[1]+">"+r[2]),s[r[0]+">"+r[1]+">"+r[2]]=[]),s[r[0]+">"+r[1]+">"+r[2]].push(d)}),this.getTopicAllData=s,this.getTopicFirstData=o}
1else if("CHAPTER"==t){this.chapterList=n,this.isLoadingTopic=!1,this.isLoadingChapter=!1;let s=[],o=[];n.forEach(d=>{let r=d.tagHierarchy.split("->");void 0===s[r[0]+">"+r[1]+">"+r[2]+">"+r[3]]&&(o.push(r[0]+">"+r[1]+">"+r[2]+">"+r[3]),s[r[0]+">"+r[1]+">"+r[2]+">"+r[3]]=[]),s[r[0]+">"+r[1]+">"+r[2]+">"+r[3]].push(d)}),this.getChapterAllData=s,this.getChapterFirstData=o}}else this.toaster.show(i?.message,"Info")},i=>{401==i.status?(this.isLoading=!1,this.toaster.show(i.message?i.message:"Something Went Wrong","Warning"),localStorage.clear(),window.location.href="/"):(this.isLoading=!1,this.toaster.show(i?.error?.message,"Info"))})}removeTagHirarchy(t){}checkSearchBoxToDisplayOrNot(t){return t?"block":"none"}fetchAssessmentGroupOptions(){this.apiService.getService(this.apiService.apiUrls.getAllAssessmentContent).subscribe(t=>{t&&200==t.statusCode&&(this.option=t.data.genericDtoList,this.assessmentId&&this.option.forEach(i=>{i.key==this.editAssessmentData.assessmentOption&&(this.text=i.displayValue)}))})}values(t){this.text=t.displayValue,t.key===le.A.PYQ_SOLVED?(this.previousYearQuestion=!0,this.selectpdf=!0,this.assessmentDto.assessmentOption=le.A.PYQ_SOLVED):(this.assessmentDto.assessmentOption=t.key,this.onSelecttext())}onSelecttext(){this.previousYearQuestion=!1,this.selectpdf=!1,this.fileUpload=null}clickoutside(t){if(t&&t.path&&!t.target.className.includes("filterBtn")){let i=!1,n=[...t.path];for(let s=0;s<=n.length;s++){let o=n[s];if(i=o&&o.className&&o.className.includes("dropCheck"),i)break}this.assessmentOption=!!i}}getYourTeam(){let t=[];this.activatedroute.snapshot.queryParams.teamID&&(t=this.activatedroute.snapshot.queryParams.teamID?JSON.parse(this.activatedroute.snapshot.queryParams.teamID):[]),this.getDataRequest.pageSize=100,this.isLoading=!0,this.apiService.postService(this.apiService.apiUrls.getYourteams,this.getDataRequest).subscribe(i=>{i&&200==i.statusCode&&i.data&&i.data.content?(this.isLoading=!1,this.allTeams=i.data.content,(this.teamID||t&&t.length>0)&&(this.selectedTeamsNgModel=this.allTeams.filter(n=>t.includes(n.id)?n:n.id==this.teamID)),(null!=this.teamID||t&&t.length>0)&&(this.selectedTeamsNgModel.filter(n=>{this.allTeamsId.push(n.id)}),localStorage.setItem("teamID",JSON.stringify(this.allTeamsId)))):this.isLoading=!1},i=>{this.isLoading=!1})}onFilterChangeForTeams(t){if(t.length>=3){let i=t;this.getDataRequest.pageNumber=this.currentPageNumber,this.getAssessmentDataRequest.searchKey=i,this.getYourTeam()}else 0==t.length&&(this.getAssessmentDataRequest.searchKey=t,this.getDataRequest.pageNumber=this.currentPageNumber,this.getYourTeam())}TeamsFilter(t){null!=this.allTeamsId.find(n=>n==t.id)?this.allTeamsId=this.allTeamsId.filter(n=>n!=t.id):this.allTeamsId.push(t.id),0==this.selectedTeamsNgModel.length&&(this.allTeamsId=[],this.selectedTeamsNgModel=[]),localStorage.setItem("teamID",JSON.stringify(this.allTeamsId))}renderQuestion(t){return this.sanitized.bypassSecurityTrustHtml(t.length>100?t.slice(0,100).concat("..."):t.slice(0,100))}paidAssessment(){this.showPriceField=!0,this.enableFreeAssessment=!1}freeAssessment(){this.showPriceField=!1,this.assessmentDto.price=0,this.enableFreeAssessment=!0,this.acceptedTermsAndConditions=!1}openTermsAndConditionModal(){$("#AssessmentModal").modal({backdrop:"static",keyboard:!1})}acceptConditions(){$("#AssessmentModal").modal("hide"),this.termsAndCondition=!0,this.acceptedTermsAndConditions=!0}disableTermsAndCondition(){this.acceptedTermsAndConditions=!1}tabSelected(t){"grade"===t?(this.grade=!0,this.stream=this.subject=this.topic=this.chapter=this.difficultyLevel=!1):"subject"===t?(this.subject=!0,this.stream=this.grade=this.topic=this.chapter=this.difficultyLevel=!1):"topic"===t?(this.topic=!0,this.stream=this.grade=this.subject=this.chapter=this.difficultyLevel=!1):"chapter"===t?(this.chapter=!0,this.stream=this.grade=this.subject=this.topic=this.difficultyLevel=!1):"difficultyLevel"===t?(this.difficultyLevel=!0,this.stream=this.grade=this.subject=this.topic=this.chapter=!1):(this.stream=!0,this.grade=this.subject=this.topic=this.chapter=this.difficultyLevel=!1)}getOutput(t){this.filterDifficlultLevels=t.difficulty,this.selectedTagIds=0==this.toStepOne?1==this.isFilterReset?this.getAfterFirstSaveAndContinueTags:t.seletedTags:[],this.isFilterReset=!1,this.getAllMasterQuestionBankForFilter()}passApply(){this.clickSubject.next(1)}resetFilters(){this.isFilterReset=!0,this.clickReset.next(1)}checkFormative(t){this.assessmentDto.assessmentLearningType=t?"FORMATIVE":"SUMMATIVE"}indexToAlphabet(t){return String.fromCharCode(65+t).toLocaleLowerCase()}static#e=this.\u0275fac=function(i){return new(i||a)(e.\u0275\u0275directiveInject(b.s),e.\u0275\u0275directiveInject(u.F0),e.\u0275\u0275directiveInject(C._W),e.\u0275\u0275directiveInject(u.gz),e.\u0275\u0275directiveInject(m.Ye),e.\u0275\u0275directiveInject(S.Dx),e.\u0275\u0275directiveInject(e.Renderer2),e.\u0275\u0275directiveInject(m.K0),e.\u0275\u0275directiveInject(e.PLATFORM_ID),e.\u0275\u0275directiveInject(E.k),e.\u0275\u0275directiveInject(S.H7),e.\u0275\u0275directiveInject(Y.e),e.\u0275\u0275directiveInject(ee.R))};static#t=this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-add-assessment"]],viewQuery:function(i,n){if(1&i&&(e.\u0275\u0275viewQuery(Hn,5),e.\u0275\u0275viewQuery(Wn,5),e.\u0275\u0275viewQuery(Gn,5),e.\u0275\u0275viewQuery($n,5),e.\u0275\u0275viewQuery(Yn,5),e.\u0275\u0275viewQuery(Jn,5)),2&i){let s;e.\u0275\u0275queryRefresh(s=e.\u0275\u0275loadQuery())&&(n.tagInput=s.first),e.\u0275\u0275queryRefresh(s=e.\u0275\u0275loadQuery())&&(n.tagNewQuestionInput=s.first),e.\u0275\u0275queryRefresh(s=e.\u0275\u0275loadQuery())&&(n.tagEditQuestionInput=s.first),e.\u0275\u0275queryRefresh(s=e.\u0275\u0275loadQuery())&&(n.subjectDropDown=s.first),e.\u0275\u0275queryRefresh(s=e.\u0275\u0275loadQuery())&&(n.multiSelectForTopicsFilter=s.first),e.\u0275\u0275queryRefresh(s=e.\u0275\u0275loadQuery())&&(n.multiSelectForChaptersFilter=s.first)}},hostBindings:function(i,n){1&i&&e.\u0275\u0275listener("popstate",function(o){return n.onPopState(o)},!1,e.\u0275\u0275resolveWindow)("click",function(o){return n.clickoutside(o)},!1,e.\u0275\u0275resolveDocument)},inputs:{childEditAssessmentId:"childEditAssessmentId"},decls:255,vars:8,consts:[[4,"ngIf"],["backToTheTopOfEditor",""],["targetToTheEditor",""],["id","myModal2","tabindex","-1","role","dialog","aria-labelledby","myModalLabel2",1,"modal","fade"],["role","document",1,"modal-dialog","modalDialog","alignment","modal
1-dialog-scrollable"],[1,"modal-content","modalContent"],["type","button","data-dismiss","modal","aria-label","Close",1,"close"],["aria-hidden","true",1,"d-flex","justify-content-end","mr-3","pt-3"],[1,"modal-body"],["type","text","placeholder","Search",1,"form-control","mb-3","pl-5"],["aria-hidden","true",1,"fa","fa-search",2,"position","absolute","left","30px","top","25px","color","grey"],["id","accordion"],[1,""],["data-toggle","collapse","href","#Grade",1,"card-link"],[1,"caretIcon"],["id","Grade","data-parent","#accordion",1,"collapse","show","color-Grey"],[1,"card-body"],[1,"row"],["class","col-lg-4 col-xs-12 col-sm-12 col-md-4 col-xl-4",4,"ngFor","ngForOf"],["data-toggle","collapse","href","#DifficultyLevel",1,"collapsed","card-link"],["id","DifficultyLevel","data-parent","#accordion",1,"collapse","color-Grey"],[1,"col-lg-4","col-xs-12","col-sm-12","col-md-4","col-xl-4"],[1,"custom-control","custom-checkbox"],["type","checkbox","id","Beginner","name","beginner",1,"custom-control-input",3,"change"],["for","Beginner",1,"custom-control-label"],["type","checkbox","id","Intermediate","name","intermediate",1,"custom-control-input",3,"change"],["for","Intermediate",1,"custom-control-label"],["type","checkbox","id","Advance","name","advance",1,"custom-control-input",3,"change"],["for","Advance",1,"custom-control-label"],["data-toggle","collapse","href","#Mentors",1,"collapsed","card-link"],["id","Mentors","data-parent","#accordion",1,"collapse","color-Grey"],["type","checkbox","id","Mentor 1","name","mentorOne",1,"custom-control-input"],["for","Mentor 1",1,"custom-control-label"],["type","checkbox","id","Mentor 2","name","mentorTwo",1,"custom-control-input"],["for","Mentor 2",1,"custom-control-label"],["type","checkbox","id","Mentor 3","name","mentorThree",1,"custom-control-input"],["for","Mentor 3",1,"custom-control-label"],[1,"row","mt-3"],["type","checkbox","id","Mentor 4","name","mentorFour",1,"custom-control-input"],["for","Mentor 4",1,"custom-control-label"],["type","checkbox","id","Mentor 5","name","mentorFive",1,"custom-control-input"],["for","Mentor 5",1,"custom-control-label"],["type","checkbox","id","Mentor 6","name","mentorSix",1,"custom-control-input"],["for","Mentor 6",1,"custom-control-label"],["data-toggle","collapse","href","#Ratings",1,"collapsed","card-link"],["id","Ratings","data-parent","#accordion",1,"collapse","color-Grey"],["type","checkbox","id","Ratings 1","name","ratingOne",1,"custom-control-input"],["for","Ratings 1",1,"custom-control-label","text-warning"],["type","checkbox","id","Ratings 2","name","ratingTwo",1,"custom-control-input"],["for","Ratings 2",1,"custom-control-label","text-warning"],["type","checkbox","id","Ratings 3","name","ratingThree",1,"custom-control-input"],["for","Ratings 3",1,"custom-control-label","text-warning"],["type","checkbox","id","Ratings 4","name","ratingFour",1,"custom-control-input"],["for","Ratings 4",1,"custom-control-label","text-warning"],["type","checkbox","id","Ratings 5","name","ratingFive",1,"custom-control-input"],["for","Ratings 5",1,"custom-control-label","text-warning"],[1,"d-flex","justify-content-end"],[1,"btn","btn-default","buttonColor1","mr-3",3,"click"],[1,"btn","btn-default","buttonColor","text-light",3,"click"],["id","modelId","tabindex","-1","role","dialog","aria-labelledby","modelTitleId","aria-hidden","true",1,"modal","fade"],["role","document",1,"modal-dialog","modal
1-lg","modal-dialog-scrollable"],[1,"modal-content"],[1,"modal-header","border-0"],[1,"modal-title"],["type","button","data-dismiss","modal","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body",2,"padding","0px"],[3,"clickSubject","clickReset","refreshQuestions"],[1,"modal-footer"],["type","button",1,"btn","btn-default","text-linear-gradient1","rounded",3,"click"],["type","button",1,"btn","btn-default","text-linear-gradient2","rounded",3,"click"],["id","AssessmentModal","tabindex","-1","aria-hidden","true",1,"modal","fade"],[1,"modal-dialog","modal-dialog-centered","modal-xl"],[1,"modal-content",2,"border-radius","10px"],[1,"mt-3","border-bottom-0","position-relative","mb-2"],[1,"modal-title","text-center","sofiaProMedium","sharedAssess"],["type","button","data-dismiss","modal","aria-label","Close",1,"close",2,"position","absolute","right","24px","top","8px"],[1,"modal-body","text-left","sofiaProMedium","assessmentSharedTitle","p-4"],[1,"text-center","border-top-0","mb-4","mt-3"],["type","button","data-dismiss","modal",1,"btn","declineBtn",3,"click"],["type","button",1,"btn","acceptBtn","ml-3",3,"click"],[1,"row","mt-4"],[1,"col-12","px-0","px-sm-3"],[1,"backGroundForCreateAssessment"],[1,"sofiaProBold"],[1,"text-danger"],["type","text","placeholder","Enter name of assessment e.g. Physics Class Test, JEE Advanced Practise Test etc. ","name","title","required","",1,"form-control","txt-ellips",3,"ngModel","ngModelChange"],[1,"col-lg-6","px-0","px-sm-3"],[1,"mr-1","sofiaProBold"],[1,"leftTwoFifityCharacter"],[2,"width","100%"],["rows","5","cols","10","placeholder","Describe your assessment. For example, This assessment contains 20 questions on thermodynamics, physics to help revise and retain the concepts of the topic.","name","description",1,"p-3",2,"width","100% !important","border","1px solid gainsboro",3,"ngModel","ngModelChange","input"],[2,"clear","both"],[1,"col-lg-6","px-0","px-sm-3","mt-3","mt-sm-3","mt-md-0"],[1,"mbl-display1"],[1,"droparea1",3,"dragover","drop","dragleave"],["class","justify-content-between align-items-center",4,"ngIf"],["src","../../../../assets/image.png","alt",""],["type","text","disabled","","placeholder","Drop your images here, or",1,"form-control","textPlace","w-100","text-center","border-0"],[2,"position","relative","top","20px","max-width","320px","margin","auto"],[1,"click1",2,"color","#10c69b","text-decoration","underline","cursor","pointer",3,"ngStyle","click"],[1,"mbl-display2"],[1,"droparea",3,"dragover","drop","dragleave"],[1,"col-3"],[1,"col-9"],["type","text","disabled","","placeholder","Drop your images here, or",1,"form-control","textPlace","w-55","pr-0","text-right","border-0",3,"ngStyle"],[2,"position","relative","top","30px","max-width","320px","margin","auto"],[1,"click",2,"color","#10c69b","text-decoration","underline",3,"click"],["type","file","name","file","id","file","multiple","","accept","image/x-png,image/png,image/gif,image/jpeg,image/jpg",2,"display","none",3,"change","click"],["fileInput",""],[1,"row","mt-2","mt-sm-3"],["type","number","min","0","step","1","onkeypress","return event.charCode >= 48 && event.charCode <= 57 && event.charCode!=46 ","placeholder","Type here","name","totalNumberOfQuestions","required","",1,"form-control","txt-ellips",3,"ngModel","ngModelChange"],[1,"col-lg-6","p-0","px-sm-3"],[1,"col-lg-4","col-md-4","col-sm-4","col-12","p-0"],[1,"mt-2"],["type","radio","name","Time","id","selTime",3,"checked","click"],[1,"ml-2"],["class","col-lg-4 col-md-4 col-sm-4 col-12  p-0 hrsMins",4,"ngIf"],[1,"col-lg-4","col-md-4","col-sm-4","col-12","pr-xl-0","pr-lg-0","pr-md-0","pr-sm-0","p-0"],[1,"mt-2","text-xl-right","text-lg-right","text-md-right","text-sm-right"],["type","radio","name","Time","id","noTime",3,"checked","click"],[1,"col-xl-6","col-lg-6","col-md-12","col-sm-12","col-12","px-0","px-sm-3"],["for","instruction",1,"sofiaProBold"],["type","radio","name","public","id","publicAssess","value","publicAssess",1,"mr-1",3,"checked","click"],[1,"mr-1"],["type","radio","name","public","id","privateAssess","value","privateAssess",1,"mr-1","ml-4",3,"checked","click"],[1,"instruction","sofiaProBold"],[1,"col-md-4","col-sm-4","col-12","p-0"],["type","radio","name","Price","id","selectedPrice",3,"checked","click"],[1,"ml-2","mt-3"],["class","col-md-4 col-sm-4 col-12  p-0 hrsMins",4,"ngIf"],[1,"col-md-3","col-sm-4","col-12","pr-xl-0","pr-lg-0","pr-md-0","pr-sm-0","p-0","ml-3"],["type","radio","name","Price","id","noPrice",3,"checked","click"],[1,"col-6","p-0"],["type","radio","name","formative","id","formative",3,"checked","click"],["type","radio","name","summative","id","summative",3,"checked","click"],["class","col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12 mt-xl-0 mt-lg-0 mt-md-3 mt-sm-3 mt-3 px-0 px-sm-3 multiselect",4,"ngIf"],["class","col-lg-12 px-0 px-sm-3 mt-3 mt-sm-3 mt-md-0",4,"ngIf"],["rows","5","cols","10","placeholder","\u2022The Mentee may not use his or her textbook, course notes, or receive help from a proctor or any other outside source.\n\u2022Mentee must complete the 20-question multiple-choice exam within the 60-minute time frame allotted for the exam.\n\u2022 Mentee must not stop the session and then return to it. ","maxlength","250",1,"p-3",2,"width","100%","max-width","100%","border","1p
1x solid gainsboro",3,"ngModel","ngModelChange"],[1,"col-6","px-0","px-sm-3"],[1,"teamOption"],[3,"data","settings","disabled","placeholder","ngModel","onFilterChange","onSelect","onDeSelect","ngModelChange"],["multiSelectForStreamFilter",""],[1,"col-12","px-0","showSolution"],[1,"mb-2","mt-2"],[1,"col-md-2","col-sm-4","col-4","lbn"],["type","checkbox",1,"ver-center","ml-2",3,"ngModel","ngModelChange","click"],[1,"mb-2","mt-2","row"],[1,"col-sm-8","col-sm-7","col-7","pl-0"],[1,"form-select","form-control",3,"ngModel","ngModelChange"],["value","2"],["value","3"],["value","4"],["value","5"],["value","6"],["value","7"],[1,"mt-5"],[1,"pb-5",2,"border","1px solid #000","border","1.20603px solid #CCCCCC","border-radius","5px"],["for","Select Grade",1,"noteText"],[1,"zippy"],[1,"zippy-heading","d-flex",3,"click"],["class","fa fa-angle-up mr-5 ","style","font-size:24px;margin-left: auto;font-weight: 700;",4,"ngIf"],["class","fa fa-angle-down mr-5","style","font-size:24px;margin-left: auto;font-weight: 700;",4,"ngIf"],["class","zippy-body",4,"ngIf"],["class","scroll_tags",4,"ngIf"],["class","d-flex mt-4",4,"ngIf"],[1,"col-12","d-flex","justify-content-end"],[1,"btn","btn-info","py-md-3","py-2","px-4","px-md-5","radius","font-weight-bold",3,"click"],[1,"d-flex","justify-content-between","align-items-center"],[1,"add-txt","text-nowrap"],[1,"d-flex","justify-content-center","align-items-center"],[1,"step"],[1,"one"],[1,"mr-2"],["aria-hidden","true",1,"fa","fa-arrow-left",3,"click"],[1,"justify-content-between","align-items-center"],[1,"imgDE","img-fluide","mx-auto","d-block","w-100",3,"src"],[1,"imU",3,"ngStyle"],["aria-hidden","true",1,"fa","fa-trash",2,"cursor","pointer","color","red",3,"click"],[1,"col-lg-4","col-md-4","col-sm-4","col-12","p-0","hrsMins"],[1,"d-flex","justify-content-between","showDurationSpace"],[2,"font-size","12px","margin-left","36%"],["type","number","placeholder","00","min","0","max","23",1,"form-control","set-duration",3,"ngModel","ngModelChange","keypress"],[1,"ml-4","mt-3",2,"font-size","40px"],[1,"ml-4"],["type","number","placeholder","00","min","0","max","60",1,"form-control","set-duration",3,"ngModel","ngModelChange","keypress"],[1,"col-md-4","col-sm-4","col-12","p-0","hrsMins"],["type","number","onkeydown","if(event.key==='.'){event.preventDefault();}","placeholder","\u20a8 0.00","min","0","max","5000",1,"form-control","price-field",3,"ngModel","ngModelChange"],[1,"col-xl-6","col-lg-6","col-md-12","col-sm-12","col-12","mt-xl-0","mt-lg-0","mt-md-3","mt-sm-3","mt-3","px-0","px-sm-3","multiselect"],["for","instruction"],[1,"pl-0","pr-0","main-text"],["data-bs-toggle","collapse","aria-expanded","false",1,"d-flex","p-2","px-3","filterBtn",3,"click"],[1,"filterBtn"],[1,"dropCheck","filterBtn",3,"ngClass"],[1,"ml-auto","filterBtn"],["src","../../../assets/uparrow.svg","alt","",1,"dropCheck","filterBtn"],["class","options pr-0 dropCheck mt-1 pt-3",4,"ngIf"],[1,"options","pr-0","dropCheck","mt-1","pt-3"],[4,"ngFor","ngForOf"],[1,"d-flex"],[1,"",2,"margin-top","3px"],["type","radio","name","radio",1,"ml-4","mr-2",3,"value","checked","click"],[3,"ngClass"],[1,"col-lg-12","px-0","px-sm-3","mt-3","mt-sm-3","mt-md-0"],["src","../../../assets/filetypePdf.svg","alt",""],["type","text","disabled","","placeholder","Drop your files here, or",1,"form-control","textPlace","w-100","text-center","border-0"],[1,"click1",2,"color","#10c69b","text-decoration","underline","cursor","pointer",3,"click"],["src","../../../assets/filetypePdf.svg","alt","",1,"pdfimg"],["type","text","disabled","","placeholder","Drop your files here, or",1,"form-control","textPlace","w-56","pr-0","text-right","border-0"],[1,"click","browse",2,"color","#10c69b","text-decoration","underline",3,"click"],["class","filename d-flex justify-content-between align-items-center",4,"ngIf"],["type","file","name","file","id","file","multiple","","accept","application/pdf",2,"display","none",3,"change","click"],["fileinput",""],[1,"filename","d-flex","justify-content-between","align-items-center"],[2,"font-size","14px"],[3,"ngStyle","click"],[1,"fa","fa-angle-up","mr-5",2,"font-size","24px","margin-left","auto","font-weight","700"],[1,"fa","fa-angle-down","mr-5",2,"font-size","24px","margin-left","auto","font-weight","700"],[1,"card","my-3"],[1,"loading","text-center"],[1,"zippy-body"],[1,"scroll_tags"],["type","button","class","btn ml-2 mt-1 mb-2 btn-sm",3,"title","ngClass","click",4,"ngFor","ngForOf"],["type","button",1,"btn","ml-2","mt-1","mb-2","btn-sm",3,"title","ngClass","click"],[1,"header-border","mt-4"],[1,"heading"],["type","button","class","btn ml-2 mb-2 btn-sm",3,"title","ngClass","click",4,"ngFor","ngForOf"],["type","button",1,"btn","ml-2","mb-2","btn-sm",3,"title","ngClass","click"],["type","button","class","btn ml-2 mt-1 mb-1 btn-sm",3,"ngClass","title","click",4,"ngFor","ngForOf"],["type","button",1,"btn","ml-2","mt-1","mb-1","btn-sm",3,"ngClass","title","click"],["class","col-sm-12 col-md-12 col-12 mb-4",4,"ngIf"],[1,"col-sm-12","col-md-12","col-12","mb-4"],[1,"inner-addon","left-addon"],[1,"bx","bx-search","searchIcon"],["type","text","placeholder","Search topic",1,"searchPlacement","ml-xs-3","ml-sm-0","ml-md-0","ml-lg-0","ml-xl-0","form-control","mng-search",3,"keyup"],["type","text","placeholder","Search Chapter",1,"searchPlacement","ml-xs-3","ml-sm-0","ml-md-0","ml-lg-0","ml-xl-0","form-control","mng-search",3,"keyup"],[1,"d-flex","mt-4"],["src","/assets/noto_warning.png","alt","",1,"warning-logo"],[1,"ml-4","warning-text"],[1,"sofiaProMedium"],["type","checkbox",2,"height","15px","width","15px",3,"checked","change"],[1,"ml-2",2,"font-size","12px"],[1,"terms-condition",3,"click"],[1,"row","my-4"],[1,"container-fluid","px-0","px-md-3"],[1,"CardBorder","d-none","d-sm-block"],[1,"col-lg-6","pl-lg-0","questions"],["id","goUp",1,"d-block","d-sm-flex","d-md-flex","d-lg-flex","d-xl-flex","text-center","justify-content-between","headerBar"],[1,"navbar-expand-sm","bg-light","navbar-dark","w-100"],[1,"top-header"],[1,"d-block","d-sm-flex","d-md-flex","d-lg-flex","d-xl-flex","align-items-left","justify-content-left","align-items-md-left","align-items-lg-left","align-items-xl-left","justify-content-md-left","justify-content-lg-left","justify-content-xl-left"],[1,"card-body","p-0"],["id","navpills",1,"d-block","d-sm-flex","d-md-flex","d-lg-flex","d-xl-flex","nav","nav-tabs","w-100"],[1,"nav-item","w-50","mt-lg-0","mt-md-0","mt-sm-0","mt-3",3,"click"],[1,"nav-link",3,"ngClass"],[1,"text-change"],[1,"nav-item","w-50","mt-xl-0","mt-lg-0","mt-md-0","mt-sm-0","mt-3",3,"click"],[1,"card","cardBorderRadius"],[1,"card","CardBorder"],[1,"card-body","CardBorder"],[1,"col-sm-6","col-12","search-col","px-0"],[1,"form-group","mb-0"],[1,"input-group"],["id","searchIcon","aria-hidden","true",1,"fa","fa-search"],["type","text","placeholder","Search question keywords like fractions, equations etc. ?",1,"form-control","pl-5",2,"border-radius","5px 0 0 5px !important",3,"ngModel","ngModelChange","keyup.enter"],[1,"input-icons"],[1,"",3,"click"],[1,"btn","btn-info",2,"border-radius","0 5px 5px 0 !important","padding","9px 16px","font-weight","500"],[1,"col-sm-3","col-12","px-0"],["type","button",1,"btn","resetButton","w-100",3,"click"],[1,"col-sm-3","col-12","px-0","mt-2","pl-sm-3","mt-sm-0","btn-col","text-right"],[1,"btn","btn-info","w-100",2,"height","45px",3,"click"],[1,"bx","bx-filter-alt","mr-1"],["
1infiniteScroll","",1,"container","px-0","questionContainer",3,"infiniteScrollDistance","infiniteScrollThrottle","scrollWindow","scrolled"],["style","\n                      text-align: center;\n                      margin-top: 50px;\n                      font-size: 32px;\n                      font-weight: 500;\n                    ",4,"ngIf"],["src","/assets/img/loader.gif","alt","loading","width","100px","style","\n                          position: absolute;\n                          top: 50%;\n                          left: 50%;\n                          transform: translate(-50%, -50%);\n                        ",4,"ngIf"],["type","button",1,"btn","btn-outline-secondary","mr-3",3,"disabled","click"],[1,"fa","fa-plus"],[1,"col-lg-6","mt-3","mt-lg-0","pr-lg-0","questions"],[1,"card","CardBorder","cardBorderRadius"],[1,"card"],[1,"marksDiv"],[1,"flexdiv"],[1,"mb-0",2,"min-width","100px"],[1,"correctdiv"],[1,"correctinput"],[1,"mx-2","correct"],["aria-hidden","true",1,"fa","fa-arrow-up","text-success","mr-2"],["type","text","placeholder","Type here",1,"form-control",3,"ngModel","ngModelChange","keypress"],[1,"incorrectdiv"],[1,"incorrectinput"],["aria-hidden","true",1,"fa","fa-arrow-down","text-danger","mr-2"],["type","text","placeholder","Type here",1,"form-control","mr-2",3,"ngModel","ngModelChange","keypress"],[1,"combinedDiv"],[1,"correctdiv2"],[1,"mr-2","correct"],["type","text","placeholder","Type here",1,"form-control",3,"ngModel","ngModelChange"],[1,"incorrectdiv2"],["type","text","placeholder","Type here",1,"form-control","ml-2",3,"ngModel","ngModelChange"],[1,"container","questionContainer"],["class","my-3",4,"ngFor","ngForOf"],[1,"mt-4"],[1,"d-flex","justify-content-between"],["type","button",1,"btn","btn-outline-secondary",3,"click"],["type","button",1,"btn","btn-info","px-4","font-weight-bold",3,"click"],[1,"d-block","d-sm-none"],[1,"d-flex","mb-3","justify-content-center","align-items-center"],[1,"mb-0"],[1,"mx-2","m-auto"],[1,"switch","mb-0"],["type","checkbox",3,"checked","change"],[1,"slider","round"],["routerLink","/navigation-bar/mentor/examination",1,"one",2,"cursor","pointer"],[2,"text-align","center","margin-top","50px","font-size","32px","font-weight","500"],["src","/assets/img/loader.gif","alt","loading","width","100px",2,"position","absolute","top","50%","left","50%","transform","translate(-50%, -50%)"],["class","tableHoverBackgroundEffect",4,"ngFor","ngForOf"],[1,"tableHoverBackgroundEffect"],[1,"user-link"],[1,"row","dotsImg",2,"padding","10px"],[1,"col-sm-2","col-3","px-0","px-md-3","col-xl-1","d-flex","justify-content-center","align-items-center"],["type","checkbox",1,"checkbox-round",3,"ngModel","ngModelChange","change","click"],[1,"col-sm-10","col-9","px-0","px-md-3","col-xl-11","overDiv"],[1,"d-flex","flex-wrap","align-items-center","mb-1"],[2,"color","#a4a8ae","margin-right","3px"],[1,"d-flex","flex-wrap","align-items-center"],[1,"mx-1"],[1,"font-weight-normal",3,"innerHTML"],["class","viewMoreOrLessText pointer sofiaProRegular",3,"click",4,"ngIf"],[1,"text-secondary"],[1,"ml-auto"],[1,"c-pointer","mx-1","ml-auto",3,"click"],[3,"src"],[1,"viewMoreOrLessText","pointer","sofiaProRegular",3,"click"],[1,"fa","fa-chevron-down"],[1,"fa","fa-chevron-up"],["class","d-flex answers align-items-center",4,"ngFor","ngForOf"],[1,"d-flex","answers","align-items-center"],[1,"box-shadow","bdr1","bgffffff","mt-2","d-flex","align-items-center","cursor-pointer","d-flex","align-items-center",3,"ngClass"],["type","checkbox",1,"checked","position-absolute","invisible"],[3,"innerHTML"],[1,"my-3"],[1,"row","text-secondary"],[1,"col-4","pr-0"],[1,"col-2","px-0","text-center","text-nowrap"],[1,"col-4","pl-0"],[1,"col-2"],[2,"cursor","pointer",3,"click"],["class","table table-borderless overDiv",4,"ngFor","ngForOf"],[1,"table","table-borderless","overDiv"],["width","5%!important",1,""],[1,"mr-4","mb-0"],[1,"d-flex","justify-content-center","align-items-center","mr-2"],["type","text",1,"form-control","mb-2",2,"width","30px","height","30px","background-color","#f1f4f8","border-radius","50%","color","#333","padding","5px","text-align","center",3,"ngModel","ngModelChange"],["aria-hidden","true",1,"fa","fa-arrow-up",2,"color","green","margin-top","-10px","margin-left","5px"],["type","text",1,"form-control",2,"width","30px","height","30px","background-color","#f1f4f8","border-radius","50%","color","#333","padding","5px","text-align","center",3,"ngModel","ngModelChange"],["aria-hidden","true",1,"fa","fa-arrow-down","icon",2,"color","red","margin-left","5px","margin-top","9px"],["width","90%!important",1,"px-0","mx-0"],["width","50%!important"],[3,"click"],["aria-hidden","true",1,"bx","bxs-pencil","text-info",3,"click"],["aria-hidden","true",1,"fa","fa-tras
1h","text-info",3,"click"],["aria-hidden","true",1,"fa","fa-chevron-down"],[1,"search-col"],["type","text","placeholder","Search question keywords like fractions, equations etc. ?",1,"form-control","pl-5",2,"border-radius","5px 0 0 5px !important",3,"ngModel","ngModelChange"],[1,"mt-2","btn-col","text-right"],["infiniteScroll","",1,"mt-3","questionContainer",3,"infiniteScrollDistance","infiniteScrollThrottle","scrollWindow","scrolled"],["src","/assets/img/loader.gif","alt","loading","width","100px","style","\n                          position: absolute;\n                          top: 100%;\n                          left: 50%;\n                          transform: translate(-50%, -50%);\n                        ",4,"ngIf"],[1,"p-3","my-3",2,"background-color","#1e3757","color","#fff","font-weight","600"],[1,"text-center"],["type","text","placeholder","Type here",1,"form-control","mr-2",3,"ngModel","ngModelChange"],[1,"mt-3","questionContainer"],["type","button",1,"btn","btn-info","px-4","font-weight-bold",3,"disabled","click"],["src","/assets/img/loader.gif","alt","loading","width","100px",2,"position","absolute","top","100%","left","50%","transform","translate(-50%, -50%)"],[1,"dotsImg",2,"padding","10px"],[1,"d-flex","mr-3","justify-content-center","align-items-top"],["class","table table-borderless",4,"ngFor","ngForOf"],[1,"table","table-borderless"],[1,"d-flex","flex-direction-row"],["aria-hidden","true",1,"fa","fa-arrow-up",2,"color","green","margin-top","-10px","margin-right","5px"],["aria-hidden","true",1,"fa","fa-arrow-down","icon",2,"color","red","margin-right","5px","margin-top","9px"],["aria-hidden","true",1,"fa","fa-trash","text-info","ml-3",3,"click"],["id","addeditquestion","class","d-none d-sm-block",4,"ngIf"],["class","d-block d-sm-none",4,"ngIf"],["id","editquestion",4,"ngIf"],["id","addeditquestion",1,"d-none","d-sm-block"],[1,"mt-4","col-12","px-0","px-sm-3"],[1,"mt-2","col-lg-12","col-xs-12","col-sm-12","col-md-12","col-xl-12","px-0","px-sm-3"],[1,"col-md-9"],[2,"margin-left","-13px"],[1,"col-md-3","text-right","pr-0","mr-0"],["name","content","id","editor"],[1,"mx-1","mx-sm-3","my-3","w-100"],[2,"color","rgb(0, 0, 0)","font-weight","600"],[1,"row","w-100"],["class","col-6 col-lg-3 mb-3 mb-lg-0 px-1 px-sm-3",4,"ngFor","ngForOf"],[1,"col-lg-12","col-xs-12","col-sm-12","col-md-12","col-xl-12","px-0","px-sm-3"],[2,"padding","0"],["placeholder","Select Tags",3,"data","searchKeyword","itemTemplate","notFoundTemplate","selected","inputChanged","inputCleared","inputFocused"],["tagNewQuestionInput",""],["tagNewQuestionTemplate",""],["tagNewQuestionNotFoundTemplate",""],[1,"customScrollClass"],["class","p-0",4,"ngFor","ngForOf"],[1,"d-flex","px-3","mt-3","mt-sm-0","justify-content-end"],[2,"margin-right","10px"],["type","button",1,"btn","btn-info","buttonColor","text-light",3,"click"],[1,"col-6","col-lg-3","mb-3","mb-lg-0","px-1","px-sm-3"],[1,"d-flex","align-items-center"],["type","checkbox","value","1",1,"my_checkbox",3,"name","ngModel","id","ngModelChange"],["type","text","placeholder","Type Answer",1,"form-control",3,"ngModel","name","id","ngModelChange"],["data-toggle","tooltip",3,"innerHTML","title"],[1,"p-0"],[1,"li25"],[1,"fa","fa-times",3,"click"],["data-toggle","tooltip",1,"ml-2","text-nowrap",3,"title"],["id","addeditquestion",4,"ngIf"],["id","addeditquestion"],["id","editquestion"],["tagEditQuestionInput",""],["tagEditQuestionTemplate",""],["tagEditQuestionNotFoundTemplate",""],["type","button","data-dismiss","modal",1,"btn","btn-secondary",3,"click"],["type","button",1,"btn","btn-info","buttonColor","text-light",2,"padding","0.375rem 0.5rem !important",3,"click"],["type","checkbox",3,"id","name","change"],[1,"custom-control-label",3,"for"]],template:function(i,n){1&i&&(e.\u0275\u0275template(0,Kn,1,0,"app-loader",0),e.\u0275\u0275template(1,Wi,225,65,"div",0),e.\u0275\u0275elementStart(2,"div",null,1),e.\u0275\u0275template(4,Ss,125,19,"div",0),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",null,2),e.\u0275\u0275template(7,Us,4,3,"div",0),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(8,"app-footer"),e.\u0275\u0275elementStart(9,"div",3)(10,"div",4)(11,"div",5)(12,"button",6)(13,"span",7),e.\u0275\u0275text(14," \xd7"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"div",8),e.\u0275\u0275element(16,"input",9)(17,"i",10),e.\u0275\u0275elementStart(18,"div",11)(19,"div",12)(20,"div",12)(21,"a",13),e.\u0275\u0275element(22,"span",14),e.\u0275\u0275text(23," Grade "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(24,"div",15)(25,"div",16)(26,"div",17)(27,"div",15)(28,"div",16)(29,"div",17),e.\u0275\u0275template(30,zs,5,4,"div",18),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275element(31,"hr"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(32,"div",12)(33,"div",12)(34,"a",19),e.\u0275\u0275text(35," Difficulty level "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(36,"div",20)(37,"div",16)(38,"div",17)(39,"div",21)(40,"div",22)(41,"input",23),e.\u0275\u0275listener("change",function(o){return n.onDifficultLevelSelectForFilter("BEGINNER",o.target.checked)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(42,"label",24),e.\u0275\u0275text(43," Beginner"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(44,"div",21)(45,"div",22)(46,"input",25),e.\u0275\u0275listener("change",function(o){return n.onDifficultLevelSelectForFilter("INTERMEDIATE",o.target.checked)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(47,"label",26),e.\u0275\u0275text(48,"Intermediate"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(49,"div",21)(50,"div",22)(51,"input",27),e.\u0275\u0275listener("change",function(o){return n.onDifficultLevelSelectForFilter("ADVANCE",o.target.checked)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(52,"label",28),e.\u0275\u0275text(53,"Advance"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275element(54,"hr"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(55,"div",12)(56,"div",12)(57,"a",29),e.\u0275\u0275text(58," Mentors "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(59,"div",30)(60,"div",16)(61,"div",17)(62,"div",21)(63,"div",22),e.\u0275\u0275element(64,"input",31),e.\u0275\u0275elementStart(65,"label",32),e.\u0275\u0275text(66,"Mentor 1"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(67,"div",21)(68,"div",22),e.\u0275\u0275element(69,"input",33),e.\u0275\u0275elementStart(70,"label",34),e.\u0275\u0275text(71,"Mentor 1"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(72,"div",21)(73,"div",22),e.\u0275\u0275element(74,"input",35),e.\u0275\u0275elementStart(75,"label",36),e.\u0275\u0275text(76,"Me
1ntor 1"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(77,"div",37)(78,"div",21)(79,"div",22),e.\u0275\u0275element(80,"input",38),e.\u0275\u0275elementStart(81,"label",39),e.\u0275\u0275text(82,"Mentor 1"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(83,"div",21)(84,"div",22),e.\u0275\u0275element(85,"input",40),e.\u0275\u0275elementStart(86,"label",41),e.\u0275\u0275text(87,"Mentor 1"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(88,"div",21)(89,"div",22),e.\u0275\u0275element(90,"input",42),e.\u0275\u0275elementStart(91,"label",43),e.\u0275\u0275text(92,"Mentor 1"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275element(93,"hr"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(94,"div",12)(95,"div",12)(96,"a",44),e.\u0275\u0275text(97," Ratings "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(98,"div",45)(99,"div",16)(100,"div",17)(101,"div",21)(102,"div",22),e.\u0275\u0275element(103,"input",46),e.\u0275\u0275elementStart(104,"label",47)(105,"b"),e.\u0275\u0275text(106," 1 Star"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(107,"div",21)(108,"div",22),e.\u0275\u0275element(109,"input",48),e.\u0275\u0275elementStart(110,"label",49)(111,"b"),e.\u0275\u0275text(112,"2 Star"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(113,"div",21)(114,"div",22),e.\u0275\u0275element(115,"input",50),e.\u0275\u0275elementStart(116,"label",51)(117,"b"),e.\u0275\u0275text(118,"3 Star"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(119,"div",37)(120,"div",21)(121,"div",22),e.\u0275\u0275element(122,"input",52),e.\u0275\u0275elementStart(123,"label",53)(124,"b"),e.\u0275\u0275text(125,"4 Star"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(126,"div",21)(127,"div",22),e.\u0275\u0275element(128,"input",54),e.\u0275\u0275elementStart(129,"label",55)(130,"b"),e.\u0275\u0275text(131,"5 Star"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275element(132,"div",21),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275element(133,"hr"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(134,"div",56)(135,"button",57),e.\u0275\u0275listener("click",function(){return n.resetFilterForQuestions()}),e.\u0275\u0275text(136," Reset "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(137,"button",58),e.\u0275\u0275listener("click",function(){return n.applyFilterForQuestions()}),e.\u0275\u0275text(138," Save "),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(139,"div",59)(140,"div",60)(141,"div",61)(142,"div",62)(143,"h5",63),e.\u0275\u0275text(144,"Filters"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(145,"button",64),e.\u0275\u0275listener("click",function(){return n.selectedTagIds=[]}),e.\u0275\u0275elementStart(146,"span",65),e.\u0275\u0275text(147,"\xd7"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(148,"div",66)(149,"app-new-filter",67),e.\u0275\u0275listener("refreshQuestions",function(o){return n.getOutput(o)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(150,"div",68)(151,"button",69),e.\u0275\u0275listener("click",function(){return n.resetFilters(),n.isReset=!0}),e.\u0275\u0275text(152," Reset "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(153,"button",70),e.\u0275\u0275listener("click",function(){return n.passApply(),n.isReset=!1}),e.\u0275\u0275text(154," Apply "),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(155,"div",71)(156,"div",72)(157,"div",73)(158,"div",74)(159,"h5",75),e.\u0275\u0275text(160," Terms and Conditions "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(161,"button",76)(162,"span",65),e.\u0275\u0275text(163,"\xd7"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(164,"div",77)(165,"b"),e.\u0275\u0275text(166,"Introduction:"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(167,' These terms and conditions (the "Terms") govern your use of the '),e.\u0275\u0275elementStart(168,"b"),e.\u0275\u0275text(169,"Dynamind Solutions Pvt. Ltd"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(170,' - Paid Assessments (the "Service"). By purchasing and using the Service, you agree to be bound by these Terms. If you do not agree to these Terms, you may 
1not use the Service. '),e.\u0275\u0275element(171,"br")(172,"br"),e.\u0275\u0275elementStart(173,"b"),e.\u0275\u0275text(174,"Eligibility:"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(175," The Service is intended for use by individuals who are Teaching at our Partner schools & institutions. We call them "),e.\u0275\u0275elementStart(176,"b"),e.\u0275\u0275text(177,"Mentors."),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(178,"br")(179,"br"),e.\u0275\u0275elementStart(180,"b"),e.\u0275\u0275text(181,"Payment:"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(182," The Service is provided for a fee, which must be paid in full before Mentees can access the assessments created by Mentors. Payment can be made through the methods provided by "),e.\u0275\u0275elementStart(183,"b"),e.\u0275\u0275text(184,"Dynamind Solutions Pvt. Ltd"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(185," at the time of purchase. All fees are non-refundable and non-transferable. "),e.\u0275\u0275element(186,"br"),e.\u0275\u0275text(187," All payments will be made through Razorpay on the Dynamind Platform. The payments will then be disbursed from "),e.\u0275\u0275elementStart(188,"b"),e.\u0275\u0275text(189,"Dynamind Solutions Pvt. Ltd"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(190," to the respective stakeholders within the pre decided time. "),e.\u0275\u0275element(191,"br"),e.\u0275\u0275text(192," Please note: Dynamind Solutions will neither accept any payment in cash or will disburse any payment in cash. "),e.\u0275\u0275element(193,"br")(194,"br"),e.\u0275\u0275elementStart(195,"b"),e.\u0275\u0275text(196,"Use of the Service:"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(197," You may use the Service only for lawful purposes and in accordance with these Terms. You agree not to use the Service: "),e.\u0275\u0275element(198,"br"),e.\u0275\u0275elementStart(199,"ul")(200,"li"),e.\u0275\u0275text(201,"For any unlawful or fraudulent purpose"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(202,"li"),e.\u0275\u0275text(203,"\tTo share or distribute the assessments or answers with anyone outside the Dynamind platform"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(204,"li"),e.\u0275\u0275text(205,"To submit the assessments on behalf of someone else"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(206,"li"),e.\u0275\u0275text(207,"\tTo use any automated means to create the assessments apart from Content provided on the Dynamind Platform"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(208,"li"),e.\u0275\u0275text(209," Intellectual Property: The Service and its original content, features, and functionality are and will remain the exclusive property of "),e.\u0275\u0275elementStart(210,"b"),e.\u0275\u0275text(211,"Dynamind Solutions Pvt."),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(212," Ltd and its licensors. The Service is protected by copyright, trademark, and other laws of India and foreign countries. Our trademarks and trade dress may not be used in connection with any product or service without the prior written consent of "),e.\u0275\u0275elementStart(213,"b"),e.\u0275\u0275text(214,"Dynamind Solutions Pvt. Ltd"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275element(215,"br"),e.\u0275\u0275elementStart(216,"b"),e.\u0275\u0275text(217,"Disclaimer of Warranties:"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(218,' The Service is provided on an "as is" and "as available" basis. '),e.\u0275\u0275elementStart(219,"b"),e.\u0275\u0275text(220,"Dynamind Solutions Pvt. Ltd"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(221," makes no representations or warranties of any kind, express or implied, as to the operation of the Service or the information, content, materials, or products included in the Service. You expressly agree that your use of the Service is at your sole risk. "),e.\u0275\u0275element(222,"br")(223,"br"),e.\u0275\u0275elementStart(224,"b"),e.\u0275\u0275text(225,"Limitation of Liability: Dynamind Solutions Pvt. Ltd"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(226," will not be liable for any damages of any kind arising from the use of the Service, including, but not limited to direct, indirect, incidental, punitive, and consequential damages. "),e.\u0275\u0275element(227,"br")(228,"br"),e.\u0275\u0275elementStart(229,"b"),e.\u0275\u0275text(230,"Indemnification:"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(231," You agree to indemnify and hold "),e.\u0275\u0275elementStart(232,"b"),e.\u0275\u0275text(233,"Dynamind Solutions Pvt. Ltd"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(234," and its affiliates, officers, agents, and employees harmless from any claim or demand, including reasonable attorneys' fees, made by any third party due to or arising out of your use of the Service, your violation of these Terms, or your violation of any rights of another. "),e.\u0275\u0275element(235,"br")(236,"br"),e.\u0275\u0275elementStart(237,"b"),e.\u0275\u0275text(238,"Changes to the Service: Dynamind Solutions Pvt. Ltd"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(239," reserves the right to make changes to the Service, including but not limited to these Terms, at any time and without notice. "),e.\u0275\u0275element(240,"br")(241,"br"),e.\u0275\u0275elementStart(242,"b"),e.\u0275\u0275text(243,"Governing Law:"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(244," These Terms and your use of the Service will be governed by and construed in accordance with the laws of India and All court matter subject to jurisdiction of Mumbai, without giving effect to any principles of conflicts of law. "),e.\u0275\u0275element(245,"br")(246,"br"),e.\u0275\u0275elementStart(247,"b"),e.\u0275\u0275text(248," Contact Us:"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(249),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(250,"div",78)(251,"button",79),e.\u0275\u0275listener("click",function(){return n.disableTermsAndCondition()}),e.\u0275\u0275text(252," Decline "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(253,"button",8
10),e.\u0275\u0275listener("click",function(){return n.acceptConditions()}),e.\u0275\u0275text(254," Accept "),e.\u0275\u0275elementEnd()()()()()),2&i&&(e.\u0275\u0275property("ngIf",n.isLoading),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",n.enableStep1Tab),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",n.enableStep2Tab),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",n.enableStep2Tab),e.\u0275\u0275advance(23),e.\u0275\u0275property("ngForOf",n.gradeList),e.\u0275\u0275advance(119),e.\u0275\u0275property("clickSubject",n.clickSubject)("clickReset",n.clickReset),e.\u0275\u0275advance(100),e.\u0275\u0275textInterpolate1(" If you have any questions about these Terms, please contact us at ",n._setting.mainSetting.email,". "))},dependencies:[m.mk,m.sg,m.O5,m.PC,u.rH,z.OP,f.YN,f.Kr,f.Fj,f.wV,f.Wl,f.EJ,f.JJ,f.Q7,f.nD,f.qQ,f.Fd,f.On,O.R,F.c,jn,ce.YR,me.R,m.rS,oe.A,J.z],styles:['.zippy[_ngcontent-%COMP%]{border-radius:2px;margin:20px 0 0}.zippy-heading[_ngcontent-%COMP%], .expanded[_ngcontent-%COMP%]{font-weight:700;padding:13px 0 13px 21px;cursor:pointer;background:#1e3757;color:#fff;border-radius:17px}.zippy-body[_ngcontent-%COMP%]{padding:10px 0 0 19px}.iconClass[_ngcontent-%COMP%]{position:absolute;right:50px;font-size:25px;font-weight:800;color:#fff}[_nghost-%COMP%]     .p-accordion p{line-height:1.5;margin:0}.grecaptcha-badge[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{scroll-behavior:smooth}#searchIcon[_ngcontent-%COMP%]{position:absolute;top:16px;left:15px;z-index:999;color:#bfbfbf}.noteText[_ngcontent-%COMP%]{color:#03799c}.cardForm[_ngcontent-%COMP%]{border-radius:20px;position:absolute;top:20%;left:50%;transform:translate(-50%,-50%);width:80%;padding:70px 10px}.buttonColor[_ngcontent-%COMP%]{background-image:linear-gradient(to right,#37a5b5,#1d72a3)}.trueColor[_ngcontent-%COMP%]{background-color:#f8f8f8}.row[_ngcontent-%COMP%]{margin:0;padding:0}.fontWeight[_ngcontent-%COMP%]{font-weight:500}.txt-ellips[_ngcontent-%COMP%]{max-width:auto;text-overflow:ellipsis;width:100%;overflow:hidden;white-space:nowrap}.cardBorder[_ngcontent-%COMP%]{border-radius:30px}.buttonColor1[_ngcontent-%COMP%]{background:white;border:1px solid #1670a1;background:-webkit-linear-gradient(#37a5b5,#1d72a3);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.cardChange[_ngcontent-%COMP%]{border-radius:30px;overflow-y:scroll;max-height:500px}.icon[_ngcontent-%COMP%]{margin-left:12px}.alignment[_ngcontent-%COMP%]{margin:70px 10px!important}@media screen and (max-width: 768px){.borderRight[_ngcontent-%COMP%]{border-right:none}}.CardBorder[_ngcontent-%COMP%]{border-top-left-radius:15px;border-top-right-radius:15px;overflow:auto}.cardBorderRadius[_ngcontent-%COMP%]{box-shadow:2px 2px 4px 4px #80808027;border-radius:15px}.my_checkbox[_ngcontent-%COMP%]{width:15px;height:15px}.li25[_ngcontent-%COMP%]{margin:5px 0 5px 9px!important;list-style-type:none!important;background:#fff;border-radius:25px;color:#1e3757!important;padding:5px 10px;text-align:center;display:inline-block!important;border:1px solid #1e3757;font-weight:400;width:250px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.li15[_ngcontent-%COMP%]{margin:5px 6px!important;list-style-type:none!important;border-radius:25px;color:#666;padding:5px 10px;text-align:center;display:inline-block!important;border:1px solid #f7f7f7;font-weight:400;background:#f7f7f7}.li15[_ngcontent-%COMP%]:hover{background:none;border-color:#ff4a4a;color:#ff4a4a}
1textarea[_ngcontent-%COMP%]{width:100%}.ulClass[_ngcontent-%COMP%]{display:flex;position:relative;right:63px}.search-Icon[_ngcontent-%COMP%]{position:absolute;top:15px;right:30px;color:gray}[data-toggle=collapse][_ngcontent-%COMP%]:after{display:inline-block;font: 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\\f054";transform:rotate(90deg);transition:all linear .25s;color:#000;margin-left:auto}[data-toggle=collapse].collapsed[_ngcontent-%COMP%]:after{transform:rotate(0)}.color-Grey[_ngcontent-%COMP%]{background:rgba(128,128,128,.0509803922)}.text-linear-gradient[_ngcontent-%COMP%]{background:-webkit-linear-gradient(#10c69b,#03799c);margin:10px 0;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.text-linear-gradient1[_ngcontent-%COMP%]{color:#8796a8;background-color:none;border:1.13514px solid #8796a8;font-weight:600}.text-linear-gradient2[_ngcontent-%COMP%]{background:linear-gradient(to right,#10c69b,#03799c);color:#fff;border:1.13514px solid #8796a8;font-weight:600}.search-icon-modal[_ngcontent-%COMP%]{position:absolute;top:13px;left:50px;color:#808080ba}#modal[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:large;color:gray}#modal[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a.active[_ngcontent-%COMP%]{background:-webkit-linear-gradient(#10c69b,#03799c);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.tableHoverBackgroundEffect[_ngcontent-%COMP%]:hover{background-color:#80808014}.tableHoverColorEffect[_ngcontent-%COMP%]:hover{color:#39393f;font-weight:700}textarea[_ngcontent-%COMP%]::placeholder{font-size:13px;color:#827581}.search-results[_ngcontent-%COMP%]{height:589px;overflow-y:scroll}.questionContainer[_ngcontent-%COMP%]{overflow:auto;min-height:580px;max-height:580px}@media screen and (min-width: 992px) and (max-width: 1140px){.btn-col[_ngcontent-%COMP%], .search-col[_ngcontent-%COMP%]{padding-left:7px;padding-right:7px}.btninfoFilter[_ngcontent-%COMP%]{padding:7px 9px}.card-body[_ngcontent-%COMP%]{padding:15px}}@media screen and (max-width: 595px){.questions[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}}@media screen and (min-width: 1145px) and (max-width: 1200px){.questionContainer[_ngcontent-%COMP%]{overflow:auto;min-height:623px;max-height:625px!important}}@media screen and (min-width: 992px) and (max-width: 1200px){.continueBtn[_ngcontent-%COMP%]{margin-top:5px}}  .autocomplete-container{box-shadow:none!important;height:45px!important}  .autocomplete-container .input-container input{height:45px!important;border-radius:.25rem!important;border:1px solid #ccc!important}  .autocomplete-container .input-container input::placeholder{color:#a4a8ae;font-size:14px;font-style:normal}  .ck-editor__editable_inline{min-height:250px}.ck-editor__editable[_ngcontent-%COMP%]{min-height:1200px!important}.ck-rounded-corners[_ngcontent-%COMP%]   .ck.ck-editor__main[_ngcontent-%COMP%] > .ck-editor__editable[_ngcontent-%COMP%], .ck.ck-editor__main[_ngcontent-%COMP%] > .ck-editor__editable.ck-rounded-corners[_ngcontent-%COMP%]{visibility:hidden!important}.ck.ck-editor__editable_inline[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{margin:0!important}.ck.ck-editor__editable_inline[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{margin:0!important}.one[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;display:flex;justify-content:center;align-items:center;background:linear-gradient(to right,#00e1ac,#03799c);color:#fff;margin-left:10px;font-weight:600}input[type=text][_ngcontent-%COMP%], input[type=number][_ngcontent-%COMP%]{height:45px}.form-control[_ngcontent-%COMP%]:focus{border:1px solid #ced4da!important}[_ngcontent-%COMP%]::placeholder{font-style:normal!important;font-size:14px!important;color:#a4a8ae!important}textarea[_ngcontent-%COMP%]::placeholder{color:#a4a8ae!important}textarea[_ngcontent-%COMP%]{outline:none!important;border-radius:.25rem}small[_ngcontent-%COMP%]{color:#6c757d}.dropdown[_ngcontent-%COMP%]{position:relative;display:inline-block}.radius[_ngcontent-%COMP%]{border-radius:50px}.dropdown-content[_ngcontent-%COMP%]{display:none;position:absolute;background-color:#fff;min-width:250px;box-shadow:0 8px 16px #0003;z-index:1;padding:10px;bottom:35px;border-radius:7px;left:15%;font-size:14px;color:#1e3757}.dropdown[_ngcontent-%COMP%]:hover   .dropdown-content[_ngcontent-%COMP%]{display:block}.filterContent[_ngcontent-%COMP%]:after{content:" ";position:absolute;top:100%;right:52%;border-width:10px;border-style:solid;border-color:#fff transparent transparent transparent}.customScrollClass[_ngcontent-%COMP%]{height:auto!important}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ng
1content-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%], label[_ngcontent-%COMP%]{font-size:14px;font-weight:500;color:#1e3757}.dots[_ngcontent-%COMP%]{width:3px;height:3px;background-color:#ddd;margin:1px}.defaultBar[_ngcontent-%COMP%]{width:5px;height:10px;background:#e9e9e9;margin:0 2px}.extremelyEasy[_ngcontent-%COMP%]{width:5px;height:10px;background-color:#00e1ac;margin:0 2px}.veryEasy[_ngcontent-%COMP%]{width:5px;height:10px;background:#1dd1fc;margin:0 2px}.easy[_ngcontent-%COMP%]{width:5px;height:10px;background:#fcbb1d;margin:0 2px}.moderatelyDifficult[_ngcontent-%COMP%]{width:5px;height:10px;background:#ff4a4a;margin:0 2px}.highlyDifficult[_ngcontent-%COMP%]{width:5px;height:10px;background:#bd0000;margin:0 2px}.exremelyDifficult[_ngcontent-%COMP%]{width:5px;height:10px;background:red;margin:0 2px}.droparea[_ngcontent-%COMP%]{height:152px;background:#fff;border-radius:0 0 5px 5px;border:1px dashed #ced4da;position:relative;padding-top:25px;text-align:center;border-radius:.25rem}.droparea1[_ngcontent-%COMP%]{height:210px;background:#fff;border-radius:0 0 5px 5px;border:1px dashed #ced4da;position:relative;padding-top:25px;text-align:center;border-radius:.25rem}.w-55[_ngcontent-%COMP%]{width:55%!important}.w-56[_ngcontent-%COMP%]{width:50%!important}.click[_ngcontent-%COMP%]{position:absolute;top:54%!important;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;left:55%}.click1[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%)}.droparea[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%]:disabled{background-color:#fff!important}.droparea[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%]{position:absolute;right:35%;transform:translateY(-50%);text-align:right;height:25px!important;width:200px!important}.droparea1[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%]:disabled{background-color:#fff!important}.droparea1[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%]{text-align:center;height:40px!important}.filename[_ngcontent-%COMP%]{position:absolute;bottom:15px;padding:5px 10px;width:100%}.filename[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{position:relative;right:30px}.textPlace[_ngcontent-%COMP%]::placeholder{color:#1e3757!important}.textPlace[_ngcontent-%COMP%], .click[_ngcontent-%COMP%]{font-size:16px;font-weight:500}.dotsImg[_ngcontent-%COMP%]{position:relative}.dotsdiv[_ngcontent-%COMP%]{position:absolute;left:37px}.checkbox-round[_ngcontent-%COMP%]{width:1.3em;height:1.3em;background-color:#fff;border-radius:50%;vertical-align:middle;border:1px solid #ddd;appearance:none;-webkit-appearance:none;outline:none;cursor:pointer}.checkbox-round[_ngcontent-%COMP%]:checked{background:linear-gradient(to right,#00e1ac,#03799c)}  .ui-slider.ui-slider-horizontal{margin:18px 6px 8px!important}  body .ui-slider .ui-slider-range{background:linear-gradient(90deg,#10c69b 23.49%,#03799c 72.57%)!important}  body .ui-slider .ui-slider-handle:focus{box-shadow:none!important}  body .ui-slider:not(.ui-state-disabled) .ui-slider-handle:hover{border:3px solid #fff!important;background:linear-gradient(90deg,#10c69b 23.49%,#03799c 72.57%)!important}  body .ui-slider .ui-slider-handle{background:linear-gradient(90deg,#10c69b 23.49%,#03799c 72.57%)!important;border:3px solid #fff!important;height:1.3em!important;width:1.3em!important}  body .ui-slider.ui-slider-horizontal .ui-slider-handle{margin-top:-.75em}.pdfimg[_ngcontent-%COMP%]{z-index:1;position:relative;top:3rem;left:-11rem}@media screen and (min-width: 280px) and (max-width: 319px){.li25[_ngcontent-%COMP%]{width:95px}.instructions-div[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .instructions-div[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{font-size:14px}.mbl-display1[_ngcontent-%COMP%]{display:block}.mbl-display2[_ngcontent-%COMP%]{display:none}.filename[_ngcontent-%COMP%]{bottom:0}.filename[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{top:12px}.correctdiv[_ngcontent-%COMP%], .incorrectdiv[_ngcontent-%COMP%]{display:none}.correctdiv2[_ngcontent-%COMP%], .incorrectdiv2[_ngcontent-%COMP%]{display:block}.combinedDiv[_ngcontent-%COMP%]{display:flex;align-items:center}}@media screen and (min-width: 320px) and (max-width: 359px){.li25[_ngcontent-%COMP%]{width:110px}.mbl-display1[_ngcontent-%COMP%]{display:block}.mbl-display2[_ngcontent-%COMP%], .correctdiv[_ngcontent-%COMP%], .incorrectdiv[_ngcontent-%COMP%]{display:none}.correctdiv2[_ngcontent-%COMP%], .incorrectdiv2[_ngcontent-%COMP%]{display:block}.combinedDiv[_ngcontent-%COMP%]{display:flex;align-items:center}}@media screen and (min-width: 280px) and (max-width: 359px){.step[_ngcontent-%COMP%]{display:none}}@media screen and (min-width: 360px){.step[_ngcontent-%COMP%]{display:block}}@media screen and (min-width: 360px) and (max-width: 519px){.mbl-display1[_ngcontent-%COMP%]{display:block}.mbl-display2[_ngcontent-%COMP%], .correctdiv[_ngcontent-%COMP%], .incorrectdiv[_ngcontent-%COMP%]{display:none}.correctdiv2[_ngcontent-%COMP%], .incorrectdiv2[_ngcontent-%COMP%]{display:block}.combinedDiv[_ngcontent-%COMP%]{display:flex;align-items:center}}@media (min-width: 520px){.mbl-display2[_ngcontent-%COMP%]{display:block}.mbl-display1[_ngcontent-%COMP%]{display:none}.correctdiv[_ngcontent-%COMP%], .incorrectdiv[_ngcontent-%COMP%]{display:block}.correctdiv2[_ngcontent-%COMP%], .incorrectdiv2[_ngcontent-%COMP%]{display:none}.flexdiv[_ngcontent-%COMP%], .correctinput[_ngcontent-%COMP%], .incorrectinput[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}}@media screen and (min-width: 520px) and (max-width: 550px){.click[_ngcontent-%COMP%]{left:56%!important}}@media screen and (min-width: 551px) and (max-width: 599px){.click[_ngcontent-%COMP%]{left:56%!important}}@media screen and (min-width: 600px) and (max-width: 620px){.click[_ngcontent-%COMP%]{left:57%!important}}@media screen and (min-width: 621px) and (max-width: 991px){.click[_ngcontent-%COMP%]{left:56%!important}.browse[_ngcontent-%COMP%]{left:51%!important}}@media screen and (min-width: 576px) and (max-width: 641px){.browse[_ngcontent-%COMP%]{left:52%!important;top:56%}}@media screen and (min-width: 576px) and (max-width: 600px){.pdfimg[_ngcontent-%COMP%]{left:-9.6rem}}@media screen and (min-width: 992px){.click[_ngcontent-%COMP%]{left:56%!important;top:49%}.browse[_ngcontent-%COMP%]{left:51%!important;top:52%}}@media screen and (min-width: 360px) and (max-width: 575px){.li25[_ngcontent-%COMP%]{width:130px}}@media screen and (max-width: 575px){.add-txt[_ngcontent-%COMP%]{font-size:25px}.one[_ngcontent-%COMP%]{width:30px;height:30px}#addeditquestion[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], #editquestion[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:25px}.questionContainer[_ngcontent-%COMP%]::-webkit-scrollbar{width:5px!important;height:5px!important}}@media screen and (min-width: 576px) and (max-width: 767px){.add-txt[_ngcontent-%COMP%]{font-size:35px}.li25[_ngcontent-%COMP%]{width:180px}}@media screen and (min-width: 768px) and (max-width: 991px){.add-txt[_ngcontent-%COMP%]{font-size:40px}}@media screen and (min-width: 1024px){.add-txt[_ngcontent-%COMP%]{font-size:45px}}@media screen and (min-width: 360px) and (max-width: 991px){.duration_body[_ngcontent-%COMP%]{margin-top:-2%}.filename[_ngcontent-%COMP%]{bottom:0}}@media screen and (min-width: 768px) and (max-width: 840px){.li25[_ngcontent-%COMP%]{width:190px}}@media screen and (min-width: 841px) and (max-width: 991px){.li25[_ngcontent-%COMP%]{width:215px}}@media screen and (min-width: 992px) and (max-width: 1099px){.li25[_ngcontent-%COMP%]{width:185px}}@media screen and (min-width: 1100px) and (max-width: 1199px){.li25[_ngcontent-%COMP%]{width:215px}}@media screen and (min-width: 1200px) and (max-width: 1299px){.li25[_ngcontent-%COMP%]{width:160px}}@media screen and (min-width: 1300px) and (max-width: 1399px){.li25[_ngcontent-%COMP%]{width:175px}}@media screen and (min-width: 1400px) and (max-width: 1499px){.li25[_ngcontent-%COMP%]{width:185px}}@media screen and (min-width: 1500px) and (max-width: 1699px){.li25[_ngcontent-%COMP%]{width:210px}}@media screen and (min-width: 1600px) and (max-width: 1699px){.li25[_ngcontent-%COMP%]{width:220px}}@media screen and (min-width: 1700px) and (max-width: 1799px){.li25[_ngcontent-%COMP%]{width:250px}}@media screen and (min-width: 1800px) and (max-width: 1899px){.li25[_ngcontent-%COMP%]{width:250px}}@media screen and (min-width: 1900px) and (max-width: 1999px){.li25[_ngcontent-%COMP%]{width:280px}}@media screen and (min-width: 2000px) and (max-width: 2499px){.li25[_ngcontent-%COMP%]{width:280px}}@media screen and (min-width: 992px) and (max-width: 1024px){.add-txt[_ngcontent-%COMP%]{font-size:44px}}@media screen and (min-width: 1024px) and (max-width: 1280px){.add-txt[_ngcontent-%COMP%]{font-size:45px}}@media screen and (min-width: 992px){.duration_body[_ngcontent-%COMP%]{margin-top:-6%}}input[type=checkbox][_ngcontent-%COMP%], input[type=radio][_ngcontent-%COMP%]{padding:10px!important}.switch[_ngcontent-%COMP%]{position:relative;display:inline-block;width:40px;height:20px}.switch[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{opacity:0;width:0;height:0}.slider[_ngcontent-%COMP%]{position:absolute;cursor:pointer;inset:0;background:linear-gradient(to right,#00e1ac,#03799c);transition:.4s}.slider[_ngcontent-%COMP%]:before{position:absolute;content:"";height:15px;width:15px;bottom:3px;background-color:#fff;transition:.4s}input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]{background:linear-gradient(to right,#00e1ac,#03799c)}input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]:before{transform:translate(23px)}.slider.round[_ngcontent-%COMP%]{border-radius:34px}.slider.round[_ngcontent-%COMP%]:before{border-radius:50%}.trueClass[_ngcontent-%COMP%], .trueClass1[_ngcontent-%COMP%]{color:#fff;background:#03799c;font-weight:600;border-radius:10px;border:1px solid #03799c;padding:10px 20px;font-size:16px;position:relative;right:17px;box-shadow:2px 4px 20px #0003}.falseClass[_ngcontent-%COMP%], .falseClass1[_ngcontent-%COMP%]{color:#1e3757;background:#ffffff;font-weight:600;border-radius:10px;border:1px solid #ffffff;padding:10px 20px;font-size:16px;position:relative;right:17px;box-shadow:2px 4px 20px #0003}.inner-addon[_ngcontent-%COMP%]{position:relative}
1.inner-addon[_ngcontent-%COMP%]   .searchIcon[_ngcontent-%COMP%]{position:absolute;padding:10px;pointer-events:none;z-index:99;top:2px;color:#00000040}.left-addon[_ngcontent-%COMP%]   .searchIcon[_ngcontent-%COMP%]{left:0}.left-addon[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{padding-left:30px!important}.scroll_tags[_ngcontent-%COMP%]{max-height:165px;overflow-y:scroll;padding-left:2em}.loading[_ngcontent-%COMP%]:after{content:" .";animation:_ngcontent-%COMP%_dots 1s steps(5,end) infinite;font-size:xx-large}@keyframes _ngcontent-%COMP%_dots{0%,20%{color:#0000;text-shadow:.25em 0 0 rgba(0,0,0,0),.5em 0 0 rgba(0,0,0,0)}40%{color:#000;text-shadow:.25em 0 0 rgba(0,0,0,0),.5em 0 0 rgba(0,0,0,0)}60%{text-shadow:.25em 0 0 black,.5em 0 0 rgba(0,0,0,0)}80%,to{text-shadow:.25em 0 0 black,.5em 0 0 black}}@media only screen and (max-width: 576px){.hrsMins[_ngcontent-%COMP%]{margin-top:20px}}.main-text[_ngcontent-%COMP%]{width:100%;background:#ffffff;border:1.20603px solid #cccccc;border-radius:4.82412px}.options[_ngcontent-%COMP%]{width:96.1%;position:absolute;z-index:999;background:#ffffff;border:1.20603px solid #cccccc;box-shadow:0 4px 20px #0000001a;border-radius:4.82412px}@media screen and (min-width: 280px) and (max-width: 575px){.options[_ngcontent-%COMP%]{width:100%}}@media screen and (min-width: 576px) and (max-width: 622px){.options[_ngcontent-%COMP%]{width:92.1%}}@media screen and (min-width: 623px) and (max-width: 700px){.options[_ngcontent-%COMP%]{width:93.1%}}@media screen and (min-width: 701px) and (max-width: 770px){.options[_ngcontent-%COMP%]{width:93.8%}}@media screen and (min-width: 771px) and (max-width: 860px){.options[_ngcontent-%COMP%]{width:94.3%}}@media screen and (min-width: 861px) and (max-width: 991px){.options[_ngcontent-%COMP%]{width:95.1%}}@media screen and (min-width: 992px) and (max-width: 1200px){.options[_ngcontent-%COMP%]{width:93.1%}}@media screen and (min-width: 1201px) and (max-width: 1410px){.options[_ngcontent-%COMP%]{width:94.1%}}@media screen and (min-width: 1411px) and (max-width: 1700px){.options[_ngcontent-%COMP%]{width:95.1%}}.text[_ngcontent-%COMP%]{color:#1e3757;font-weight:500;font-size:18px}.assessmentGroup[_ngcontent-%COMP%]{font-size:18px;color:#a4a8ae;font-weight:500}.viewMoreOrLessText[_ngcontent-%COMP%]{background:-webkit-linear-gradient(#00E1AC,#03799C);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.teamOption[_ngcontent-%COMP%]{font-weight:300;font-size:12px;line-height:18px;color:#8796a8}.imgDE[_ngcontent-%COMP%]{width:100px!important;height:100px!important}.imU[_ngcontent-%COMP%]{display:block;position:absolute;left:70%;top:-5%;background:#fff;border-radius:35rem;padding:3px;width:30px;height:30px}.warning-logo[_ngcontent-%COMP%]{height:50px;width:50px}.warning-text[_ngcontent-%COMP%]{font-style:normal;font-weight:500;font-size:16px;line-height:25px;color:#03799c}.sharedAssess[_ngcontent-%COMP%]{font-weight:500!important;font-size:24px!important;line-height:37px!important;text-align:center!important;color:#03799c!important}.acceptBtn[_ngcontent-%COMP%]{width:20%;border:none!important;background:linear-gradient(90deg,#00E1AC 0%,#03799C 100%)!important;border-radius:25px;font-weight:800;font-size:18px;line-height:28px;color:#fff}.declineBtn[_ngcontent-%COMP%]{width:20%;background:#FFFFFF;box-shadow:0 -4px 30px #0000001a;border:1px solid #8796A8;border-radius:25px;font-weight:400;font-size:18px;line-height:28px;color:#8796a8}.terms-condition[_ngcontent-%COMP%]{font-weight:500;line-height:19px;color:#10c69b;text-decoration:underline;cursor:pointer}.price-field[_ngcontent-%COMP%]{border:.25px solid #ced4da;border-radius:10px;height:58px!important;width:220px!important;font-weight:400;font-size:32px}.price-field[_ngcontent-%COMP%]::placeholder{font-weight:400;font-size:32px!important;color:#8796a8}.assessmentSharedTitle[_ngcontent-%COMP%]{overflow:auto;height:700px;font-weight:500;font-size:15px;line-height:25px;color:#1e3757}.set-duration[_ngcontent-%COMP%]{border:.25px solid #ced4da;border-radius:10px;height:50px!important;width:80px;font-weight:400;font-size:32px}@media screen and (min-width: 992px) and (max-width: 1199px){.set-duration[_ngcontent-%COMP%]{width:47px}}@media screen and (min-width: 1200px) and (max-width: 1220px){.set-duration[_ngcontent-%COMP%]{width:70px}}.showDurationSpace[_ngcontent-%COMP%]{margin-top:-24px}@media screen and (min-width: 992px) and (max-width: 1199px){.showDurationSpace[_ngcontent-%COMP%]{margin-left:-15px}}.set-duration[_ngcontent-%COMP%]{font-weight:400;font-size:32px!important}.resetButton[_ngcontent-%COMP%]{border:1px solid #8796A8;border-radius:5px;font-style:normal;font-weight:400;font-size:16px;line-height:25px;color:#8796a8;padding:9px 10px}@media screen and (min-width: 577px){.resetButton[_ngcontent-%COMP%]{margin-left:10px}}
1#modelId[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]{border-bottom:1px solid #8796A8!important}#modelId[_ngcontent-%COMP%]   .col-3[_ngcontent-%COMP%]{padding-right:0!important;padding-left:0!important;border-right:1px solid #8796A8}.activeBg[_ngcontent-%COMP%]{background-color:#f0f0f0!important}.activeCl[_ngcontent-%COMP%]{color:#00e1ac!important}#modelId[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{color:#1e3757}.backGroundForCreateAssessment[_ngcontent-%COMP%]{background:#ECF3FC;border-radius:10px;padding-top:20px;padding-bottom:20px}.header-border[_ngcontent-%COMP%]{margin-bottom:5px;border:#03799C solid 1px;border-radius:20px;padding-left:15px;padding-right:30px}.heading[_ngcontent-%COMP%], .heading-subtitle[_ngcontent-%COMP%]{text-align:left;margin-top:-17px;margin-left:30px}.heading[_ngcontent-%COMP%] > span[_ngcontent-%COMP%], .heading-subtitle[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{background-color:#fff;box-shadow:#fff 11px 0,#fff -13px 0;font-weight:400;font-size:16px;line-height:25px;color:#03799c;white-space:nowrap}.grdInline[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;white-space:nowrap}.slec[_ngcontent-%COMP%]{background:#1E3757;color:#fff}.showSolution[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]{scale:1.7}.lbn[_ngcontent-%COMP%]{font-size:15px;font-weight:500;color:#1e3757;font-family:Sofia Pro Medium,Helvetica Neue,sans-serif!important}.nav-tabs[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], .nav-tabs[_ngcontent-%COMP%]   .show[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]{text-align:center;border-bottom:5px solid transparent!important;background:#03799C;border-radius:10px 10px 0 0;color:#fff!important;padding:7px 20px}.nav-tabs[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:not(.active){color:#8796a8!important;background:#ECECEC;border-radius:10px 10px 0 0;padding:9px 20px}@media screen and (min-width: 577px) and (max-width: 768px){.nav-tabs[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:not(.active){padding:7px 19px}}.nav-tabs[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{margin-bottom:0}@media screen and (min-width: 577px) and (max-width: 769px){.nav-tabs[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{margin-top:10px}}.text-change[_ngcontent-%COMP%]{font-weight:600;font-size:17px;letter-spacing:1px}@media screen and (min-width: 280px) and (max-width: 360px){.text-change[_ngcontent-%COMP%]{font-size:18px}}@media screen and (min-width: 576px) and (max-width: 767px){.text-change[_ngcontent-%COMP%]{font-size:17px}}.bg-light[_ngcontent-%COMP%]{background-color:#fff0!important}.overDiv[_ngcontent-%COMP%]     p{margin-bottom:0}.borderColor[_ngcontent-%COMP%]{border-bottom:1px solid rgba(0,0,0,.1)}']})}return a})();var ue=p(63166),fe=p(18690),Qs=p(24934),js=p(62213);function Hs(a,l){1&a&&e.\u0275\u0275element(0,"app-loader")}function Ws(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"a",37),e.\u0275\u0275listener("click",function(){const n=e.\u0275\u0275restoreView(t),s=n.$implicit,o=n.index,d=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(d.sort(s.value,o))}),e.\u0275\u0275elementStart(1,"span",38),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&a){const t=l.$implicit,i=l.index,n=e.\u0275\u0275nextContext();e.\u0275\u0275property("ngClass",n.selectedIndex===i?"highlight":"noHightLight"),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",t.name," ")}}function Gs(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",55),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext().$implicit,s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.addStudentModal(null==n?null:n.id,null==n?null:n.fullName))}),e.\u0275\u0275text(1,"Add Student"),e.\u0275\u0275elementEnd()}}function $s(a,l){1&a&&(e.\u0275\u0275elementStart(0,"button",56),e.\u0275\u0275text(1,"Request Sent"),e.\u0275\u0275elementEnd())}function Ys(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",57),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext().$implicit,s=e.\u0275\u0275nextContext(2);
1return e.\u0275\u0275resetView(s.followTeachers(null==n?null:n.id))}),e.\u0275\u0275text(1,"Follow"),e.\u0275\u0275elementEnd()}}function Js(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",58),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext().$implicit,s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.unfollowTeachers(null==n?null:n.id))}),e.\u0275\u0275text(1,"Following"),e.\u0275\u0275elementEnd()}}function Ks(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",57),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext().$implicit,s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.followTeachers(null==n?null:n.id))}),e.\u0275\u0275text(1,"Follow Back"),e.\u0275\u0275elementEnd()}}function Xs(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",59),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext().$implicit,s=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(s.unfollowTeachers(null==n?null:n.id))}),e.\u0275\u0275text(1,"Unfollow"),e.\u0275\u0275elementEnd()}}function Zs(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",40)(1,"div",41)(2,"div",42)(3,"div",43),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(o.navigateToOnlinePortal(null==s?null:s.onlineProtalUrl))}),e.\u0275\u0275element(4,"img",44),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"div",45)(6,"h6",46),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(o.navigateToOnlinePortal(null==s?null:s.onlineProtalUrl))}),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"p",47),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(o.navigateToOnlinePortal(null==s?null:s.onlineProtalUrl))}),e.\u0275\u0275text(9),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"p",48),e.\u0275\u0275listener("click",function(){const s=e.\u0275\u0275restoreView(t).$implicit,o=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(o.navigateToOnlinePortal(null==s?null:s.onlineProtalUrl))}),e.\u0275\u0275text(11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"div",49),e.\u0275\u0275template(13,Gs,2,0,"button",50),e.\u0275\u0275template(14,$s,2,0,"button",51),e.\u0275\u0275template(15,Ys,2,0,"button",52),e.\u0275\u0275template(16,Js,2,0,"button",53),e.\u0275\u0275template(17,Ks,2,0,"button",52),e.\u0275\u0275template(18,Xs,2,0,"button",54),e.\u0275\u0275elementEnd()()()()}if(2&a){const t=l.$implicit,i=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(4),e.\u0275\u0275property("src",i.getProfileImage(null==t?null:t.profilePicture),e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(2),e.\u0275\u0275property("title",null==t?null:t.fullName),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1("",null!=t&&t.fullName?null==t?null:t.fullName:"N/A"," "),e.\u0275\u0275advance(1),e.\u0275\u0275property("title",i.getTagData(null==t?null:t.tags,"GRADE")),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(i.getTagData(null==t?null:t.tags,"GRADE")),e.\u0275\u0275advance(1),e.\u0275\u0275property("title",i.getTagData(null==t?null:t.tags,"SUBJECT")),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(i.getTagData(null==t?null:t.tags,"SUBJECT")),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null==(null==t?null:t.requestStatus)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","Request Sent"==(null==t?null:t.requestStatus)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","follow"==(null==t?null:t.status)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","following"==(null==t?null:t.status)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","follow back"==(null==t?null:t.status)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","unfollow"==(null==t?null:t.status))}}function ea(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",12),e.\u0275\u0275template(1,Zs,19,13,"div",39),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.getAllMymenteeListData)}}function ta(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div")(1,"h3",60),e.\u0275\u0275text(2," No Records Found "),e.\u0275\u0275elementEnd()())}let na=(()=>{class a{constructor(t,i,n,s,o,d,r,c,h){this.apiService=t,this.router=i,this.simpleModalService=n,this.toastr=s,this.activatedRoute=o,this.platformId=d,this.loggedInUserService=r,this.titleService=c,this.eventEmitterService=h,this.first=0,this.numberOfRowsPerPage=5,this.addStudentsBtn=!0,this.getDataRequest=new w.l,this.getUserNetworkForFollowers=new js.t,this.selectedTagIds=[],this.allGrades=[],this.allSubjects=[],this.isLoading=!1,this.selectedTagDto=[],this.getRequestData=new _.iE,this.selectedSubjectsForFilter=[],this.isReset=!1,this.settingsForSubjectsFilter={singleSelection:!1,idField:"id",textField:"tagName",enableCheckAll:!1,selectAllText:"Select all",unSelectAllText:"UnSelect all",allowSearchFilter:!0,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:6,searchPlaceholderText:"Search Stream",noDataAvailablePlaceholderText:"No Subjects Available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!0},this.sortingValues=[{name:"Recently added",value:"DESC"},{name:"Name A to Z",value:"A-Z"},{name:"Name Z to A",value:"Z-A"}],this.getAllStream=[],this.titleService.setTitle("Dynamind Students On Dynamind")}ngOnInit(){let t=(0,m.NF)(this.platformId)?JSON.parse(this.loggedInUserService.getLoggedInUser()):"";t&&(this.loggedInUser=t),this.getRequestData.sortOrder="ASC",this.getAllTags(null),this.getAllDynamindStudents
1Data(),this.getAllTags(this.getDataRequest.filterType="STREAM"),this.getAllTags(this.getDataRequest.filterType="GRADE"),this.eventEmitterService.dataReceivedEvent&&this.resetfilters()}encryptValue(t){return btoa(t)}getAllTags(t){this.getDataRequest.pageSize=20,this.getDataRequest.filterTagIds=this.selectedTagIds,this.getDataRequest.filterType=t,this.apiService.postService(this.apiService.apiUrls.getAllTags,this.getDataRequest).subscribe(i=>{if(i&&200==i.statusCode&&i.data&&i.data.content){let n=i.data.content;n&&"GRADE"==t&&(this.allGrades=n)}else this.toastr.show(i?.message,"Info")},i=>{401==i.status?(this.isLoading=!1,this.toastr.show(i.message?i.message:"Something Went Wrong","Warning"),localStorage.clear(),window.location.href="/"):(this.isLoading=!1,this.toastr.show(i?.error?.message,"Info"))})}openFilter(){this.simpleModalService.addModal(ae.wk,{grades:this.allGrades,message:"",title:"",filters:["STREAM","GRADE"],data:this.data,componentName:this.activatedRoute.routeConfig.component.name,gridTemplateAreas:"'stream stream stream stream''gradeCheckbox gradeCheckbox gradeCheckbox gradeCheckbox'"}).subscribe(i=>{i&&(this.getRequestData.pageNumber=0,this.getDataRequest.pageNumber=0,this.first=0,i.updateProfileRequestTagIds.length>0?(this.data=i.updateProfileRequestTagIds,this.selectedTagDto=i.updateProfileRequestTagIds,this.applyFilterAndChildTagSelection(null),this.getDataRequest.filterTagIds=this.selectedTagIds):(this.getDataRequest.filterTagIds=[],this.data=[],this.selectedTagDto=[],this.selectedTagIds=[]),this.getAllDynamindStudentsData())})}onFilterChange(t,i){this.getRequestData.filterType=i,this.getRequestData.searchKey=t,this.getAllTags(i),this.getRequestData.searchKey=""}onDropDownClose(t){}onItemSelect(t){}onDeSelect(t){}onSelectAll(t){}onDeSelectAll(t){}applyFilter(){this.getAllDynamindStudentsData(),$("#filterModal").modal("hide")}selectedOrUnSelectedtag(t,i){"STREAM"===i&&(t=this.getAllStream.filter(s=>s.id===t.id)[0]);let n=this.selectedTagDto.findIndex(s=>s.id==t.id);-1==n?this.selectedTagDto.push(t):this.selectedTagDto.splice(n,1),this.applyFilterAndChildTagSelection(i)}applyFilterAndChildTagSelection(t){this.selectedTagIds=[];for(let i of this.selectedTagDto){let n=this.selectedTagIds.findIndex(s=>s===i.parentId);-1!=n&&this.selectedTagIds.splice(n,1),this.selectedTagIds.push(i.id)}}resetFilterForQuestions(){this.getRequestData=new _.iE,this.getRequestData.filterTagIds=[],this.selectedTagDto=[],this.selectedTagIds=[],this.resetFilterMultiDropDownSelections(),this.getAllDynamindStudentsData(),$("input[type=checkbox]").prop("checked",!1)}resetFilterMultiDropDownSelections(){this.selectedSubjectsForFilter=[]}reloadComponent(){let t=this.router.url;this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.onSameUrlNavigation="reload",this.router.navigate([t])}followTeachers(t){this.getUserNetworkForFollowers.networkUserId=t,this.apiService.postService(this.apiService.apiUrls.addUserToNetwork,this.getUserNetworkForFollowers).subscribe(i=>{i&&200===i.statusCode?(this.toastr.show(i?.message,"Success"),this.getAllDynamindStudentsData(),this.reloadComponent()):this.toastr.show(i?.message,"Info")})}unfollowTeachers(t){this.getUserNetworkForFollowers.networkUserId=t,this.apiService.postService(this.apiService.apiUrls.removeFromNetwork,this.getUserNetworkForFollowers).subscribe(i=>{i&&200===i.statusCode?(this.toastr.show(i?.message,"Success"),this.getAllDynamindStudentsData()):this.toastr.show(i?.message,"Info")})}getProfileImage(t){return t&&t.filePreviewUrl?this.apiService.baseUrl+t.filePreviewUrl:"./assets/img/user.jpg"}getTagData(t,i){if(g.iG.isValid(t)){let n=t.filter(s=>s.tagType===i).map(s=>s.tagName);return g.iG.isValid(n)?n.join(","):"-"}return"-"}sort(t,i){switch(t){case"DESC":this.getDataRequest.sortOrder="DESC";break;case"A-Z":this.getDataRequest.sortOrder="A_to_Z";break;case"Z-A":this.getDataRequest.sortOrder="Z_to_A";break;default:this.getDataRequest.sortOrder="ASC"}this.setRow(i),this.getAllDynamindStudentsData()}setRow(t){this.selectedIndex=t}sortPopUp(){this.openSort=!this.openSort}onSearchShowMyMenteeData(){let t=this.searchkey;this.getDataRequest.searchKey=t&&t.length>
10?t:"",this.getAllDynamindStudentsData()}getAllDynamindStudentsData(){this.getDataRequest.pageSize=20,this.isLoading=!0,this.apiService.postService(this.apiService.apiUrls.getAllDynamindStudentsData,this.getDataRequest).subscribe(t=>{t&&200===t.statusCode?(this.getAllStream=t?.data?.content,this.isLoading=!1,this.totalPages=t.data?t.data.totalPages:1,this.getAllMymenteeListData=t.data.content,this.isReset||$("#filterModal").modal("hide"),"Found All Users"!=t?.message&&"No Users found"!=t?.message&&this.toastr.show(t?.message,"Success")):this.toastr.show(t?.message,"Info"),this.isLoading=!1})}sendNotificationRequest(t){this.isLoading=!0;let i=this.encryptValue(t);this.apiService.getService(this.apiService.apiUrls.sendNotificationRequest+"/"+i).subscribe(n=>{n&&200===n.statusCode?(this.isLoading=!1,this.toastr.show(n?.message,"Success"),this.getAllDynamindStudentsData()):(this.isLoading=!1,this.toastr.show(n?.message,"Info")),this.isLoading=!1})}getTotalRecords(){return this.totalPages*this.numberOfRowsPerPage}paginate(t){this.first=t.first,this.getDataRequest.pageNumber=t.page,this.getAllDynamindStudentsData()}navigateToOnlinePortal(t){g.el.navigateToOnlinePortal(t,this.loggedInUser,this.router)}addStudentModal(t,i){this.studentId=t,this.studentName=i,$("#addStudent").modal({backdrop:"static",keyboard:!1})}resetfilters(){this.eventEmitterService.dataReceivedEvent.subscribe(t=>{t.componentName==this.activatedRoute.routeConfig.component.name&&(this.data=void 0,this.first=0,this.selectedTagDto=[],this.selectedTagIds=[],this.getDataRequest=new w.l,this.getDataRequest.filterType=this.getDataRequest.filterType,this.getDataRequest.sortOrder=this.getDataRequest.sortOrder,this.getAllDynamindStudentsData())})}static#e=this.\u0275fac=function(i){return new(i||a)(e.\u0275\u0275directiveInject(b.s),e.\u0275\u0275directiveInject(u.F0),e.\u0275\u0275directiveInject(V.yK),e.\u0275\u0275directiveInject(C._W),e.\u0275\u0275directiveInject(u.gz),e.\u0275\u0275directiveInject(e.PLATFORM_ID),e.\u0275\u0275directiveInject(E.k),e.\u0275\u0275directiveInject(S.Dx),e.\u0275\u0275directiveInject(A.B))};static#t=this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-all-dynamind-mentee-list"]],decls:57,vars:11,consts:[[4,"ngIf"],[1,"head","sofiaProMedium"],["routerLink","/navigation-bar/mentor/acadamy/header/students"],["src","../../../assets/cil_arrow-circle-left.svg","alt","",2,"margin-top","-8px","cursor","pointer"],[1,"row","mt-3"],[1,"col-xl-9","col-lg-8","col-md-6","col-sm-12","col-12"],[1,"input-group","searchgroup"],["type","text","placeholder"," Start by typing the name of the person",1,"form-control","border-left-0","search-box",3,"ngModel","ngModelChange","keyup.enter"],[1,"input-group-prepend","border-0"],[1,"input-group-text"],[1,"bx","bx-search",2,"font-size","larger",3,"click"],[1,"col-xl-3","col-lg-4","col-md-6","col-sm-12","col-12","mt-xl-0","mt-lg-0","mt-md-0","mt-3"],[1,"row"],[1,"col-xl-6","col-md-6","col-lg-6","col-sm-6","col-12"],["id","dropdownMenuButton","data-toggle","dropdown","aria-expanded","false",1,"btn","btn-outline","filter-btn","p-2",3,"click"],[1,"bx","bx-up-arrow-alt","upArrow"],[1,"bx","bx-down-arrow-alt","upArrow"],[1,"sort-color"],["aria-labelledby","dropdownMenuButton",1,"dropdown-menu","sortShadow","mt-2"],["class","dropdown-item sofiaProRegular",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"btn","btn-info","filter-btn",3,"click"],[1,"bx","bx-filter-alt"],["class","row",4,"ngIf"],[1,"my-3","col-md-12","text-right","justify-content-end","d-flex"],[3,"rows","first","totalRecords","onPageChange"],["pp",""],["id","addStudent","tabindex","-1","aria-hidden","true",1,"modal","fade"],[1,"modal-dialog","modal
1-dialog-centered"],[1,"modal-content"],[1,"modal-header","border-bottom-0"],[1,"modal-title","text-center","text-danger","sofiaProMedium"],["type","button","data-dismiss","modal","aria-label","Close",1,"close"],["aria-hidden","true"],[1,"modal-body","text-center","sofiaProMedium"],[1,"modal-footer","border-top-0"],["type","button","data-dismiss","modal","data-dismiss","modal",1,"btn","btn-info",3,"click"],["type","button","data-dismiss","modal",1,"btn","btn-secondary","btn-rounded"],[1,"dropdown-item","sofiaProRegular",3,"ngClass","click"],[2,"cursor","pointer"],["class","col-xl-3 col-lg-4 col-md-6 col-sm-12 col-12 mt-5","style"," border-radius: 15px",4,"ngFor","ngForOf"],[1,"col-xl-3","col-lg-4","col-md-6","col-sm-12","col-12","mt-5",2,"border-radius","15px"],[1,"shadow",2,"min-height","250px","border-radius","15px"],[1,"img-wrapper","img-sm","d-flex","align-items-center","justify-content-center","pt-4"],[1,"image","triger","text-center",3,"click"],["alt","",1,"mentee-img",3,"src"],[1,"card-body","text-center","pt-2"],[1,"cardNameTitle","sofiaProMedium","triger","txt-ellips",3,"title","click"],[1,"cardText","sofiaProMedium","triger","txt-ellips",3,"title","click"],[1,"cardSubjectText","sofiaProMedium","txt-ellips",3,"title","click"],[1,"d-flex","justify-content-center","mt-3"],["data-toggle","modal","data-target","#addStudent","class","btn btn-info add-btn",3,"click",4,"ngIf"],["class","btn request-btn","disabled","",4,"ngIf"],["class","btn follow-btn ml-2",3,"click",4,"ngIf"],["class","btn following-btn ml-2",3,"click",4,"ngIf"],["class","btn unfollow-btn ml-2",3,"click",4,"ngIf"],["data-toggle","modal","data-target","#addStudent",1,"btn","btn-info","add-btn",3,"click"],["disabled","",1,"btn","request-btn"],[1,"btn","follow-btn","ml-2",3,"click"],[1,"btn","following-btn","ml-2",3,"click"],[1,"btn","unfollow-btn","ml-2",3,"click"],[1,"text-center","card","card","py-4","mb-3"]],template:function(i,n){1&i&&(e.\u0275\u0275template(0,Hs,1,0,"app-loader",0),e.\u0275\u0275element(1,"app-bread-crumb"),e.\u0275\u0275elementStart(2,"div",1)(3,"span",2),e.\u0275\u0275element(4,"img",3),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(5," Mentee on Dynamind\n"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",4)(7,"div",5)(8,"div",6)(9,"input",7),e.\u0275\u0275listener("ngModelChange",function(o){return n.searchkey=o})("keyup.enter",function(){return n.onSearchShowMyMenteeData()}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"div",8)(11,"span",9)(12,"i",10),e.\u0275\u0275listener("click",function(){return n.onSearchShowMyMenteeData()}),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(13,"div",11)(14,"div",12)(15,"div",13)(16,"div")(17,"button",14),e.\u0275\u0275listener("click",function(){return n.sortPopUp()}),e.\u0275\u0275elementStart(18,"span"),e.\u0275\u0275elementContainerStart(19),e.\u0275\u0275element(20,"i",15),e.\u0275\u0275elementContainerEnd(),e.\u0275\u0275elementContainerStart(21),e.\u0275\u0275element(22,"i",16),e.\u0275\u0275elementContainerEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"span",17),e.\u0275\u0275text(24," Sort "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(25,"div",18),e.\u0275\u0275template(26,Ws,3,2,"a",19),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(27,"div",13)(28,"button",20),e.\u0275\u0275listener("click",function(){return n.openFilter()}),e.\u0275\u0275element(29,"i",21),e.\u0275\u0275text(30," Filter "),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(31,ea,2,1,"div",22),e.\u0275\u0275elementStart(32,"div",4)(33,"div",23)(34,"div")(35,"p-paginator",24,25),e.\u0275\u0275listener("onPageChange",function(o){return n.paginate(o)}),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275template(37,ta,3,0,"div",0),e.\u0275\u0275elementStart(38,"div",26)(39,"div",27)(40,"div",28)(41,"div",29)(42,"h5",30),e.\u0275\u0275text(43," Alert!! "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(44,"button",31)(45,"span",32),e.\u0275\u0275text(46,"\xd7"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(47,"div",33)(48,"p")(49,"b"),e.\u0275\u0275text(50),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(51," will be added to Your Students List "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(52,"div",34)(53,"button",35),e.\u0275\u0275listener("click",function(){return n.sendNotificationRequest(n.studentId)}),e.\u0275\u0275text(54," Proceed "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(55,"button",36),e.\u0275\u0275text(56," Close "),e.\u0275\u0275elementEnd()()()()()),2&i&&(e.\u0275\u0275property("ngIf",n.isLoading),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngModel",n.searchkey),e.\u0275\u0275advance(17),e.\u0275\u0275property("ngForOf",n.sortingValues),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",(null==n.getAllMymenteeListData?null:n.getAllMymenteeListData.length)>0&&null!=n.getAllMymenteeListData),e.\u0275\u0275advance(3),e.\u0275\u0275styleProp("visibility",(null==n.getAllMymenteeListData?null:n.getAllMymenteeListData.length)>0?"visible":"hidden"),e.\u0275\u0275advance(1),e.\u0275\u0275property("rows",n.numberOfRowsPerPage)("first",n.first)("totalRecords",n.getTotalRecords()),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",(null==n.getAllMymenteeListData?null:n.getAllMymenteeListData.length)<=0&&0==n.isLoading),e.\u0275\u0275advance(13),e.\u0275\u0275textInterpolate(null!=n.studentName?n.studentName:"N/A"))},dependencies:[m.mk,m.sg,m.O5,u.rH,f.Fj,f.JJ,f.On,O.R,K.N,B.D],styles:['.head[_ngcontent-%COMP%]{font-weight:400;font-size:48px;line-height:74px;color:#1e3757}.left-arrow[_ngcontent-%COMP%]{position:absolute;margin-top:29px;left:128px;cursor:pointer}.searchgroup[_ngcontent-%COMP%]{height:40px!important}.form-control[_ngcontent-%COMP%]:focus{border:1px solid #ced4da!important}.searchgroup[_ngcontent-%COMP%]   .input-group-text[_ngcontent-%COMP%], .searchgroup[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%], .searchgroup[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]:focus{border:1px solid #8796A8!important}.searchgroup[_ngcontent-%COMP%]   .input-group-text[_ngcontent-%COMP%]{border-radius:0 25px 25px 0!important;border-left:none!important;height:40px}.searchgroup[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{border-right:none!important;border-radius:25px 0 0 25px!important;padding-left:20px!important;height:40px}.searchgroup[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]:focus{border-right:none!important}.input-group[_ngcontent-%COMP%]:focus-within   .input-group-prepend[_ngcontent-%COMP%]{border:1px solid #1E3757;box-shadow:none}.input-group-prepend[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:35px;display:inline-block;vertical-align:middle}.search-box[_ngcontent-%COMP%]::placeholder{font-size:20px}.filter-btn[_ngcontent-%COMP%]{width:100%;border-radius:25px}.sort-color[_ngcontent-%COMP%]{font-weight:700;background:-webkit-linear-gradient(90deg,#00E1AC 0%,#03799C 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.upArrow[_ngcontent-%COMP%]{background:-webkit-linear-gradient(90deg,#00E1AC 0%,#03799C 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}  body .ui-overlaypanel .ui-overlaypanel-content{padding:0!important}.highlight[_ngcontent-%COMP%]{color:#1e3757!important}.noHightLight[_ngcontent-%COMP%]{color:#8796a8!important}.sortShadow[_ngcontent-%COMP%]{border-radius:12px}@media screen and (min-width: 1200px) and (max-width: 1500px){.sortShadow[_ngcontent-%COMP%]{left:-20px!important;top:2px!important}}.sortShadow[_ngcontent-%COMP%]:before{bottom:100%;left:6.2em;border:11px solid rgb(0,0,0);content:" ";height:0;width:0;position:absolute;pointer-events:none;border-color:#c8c8c800;border-bottom-color:#c8c8c8}.sortShadow[_ngcontent-%COMP%]:after{bottom:100%;left:6.25em;border:10px solid rgba(0,0,0,0);content:" ";height:0;width:0;position:absolute;pointer-events:none;border-color:#fefdfd00;border-bottom-color:#fff}.btn-outline[_ngcontent-%COMP%]{border-color:#343a40}.card[_ngcontent-%COMP%]{overflow:auto;border-radius:5px!important}.triger[_ngcontent-%COMP%]{cursor:pointer}.cardNameTitle[_ngcontent-%COMP%]{font-weight:500;font-size:18px;line-height:28px;color:#1e3757}.txt-ellips[_ngcontent-%COMP%]{margin:auto!important}.cardText[_ngcontent-%COMP%]{font-weight:600;font-size:16px;line-height:25px;color:#8796a8}.cardSubjectText[_ngcontent-%COMP%]{font-weight:400;font-size:14px;line-height:22px;color:#8796a8}.img-wrapper[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{width:70px;height:auto;border-radius:50%}.img-wrapper[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:auto;border-radius:inherit}@media (min-width: 320px) and (max-width: 480px){.img-wrapper[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:57%}}.follow-btn[_ngcontent-%COMP%]{border:1px solid #03799C;border-radius:30px;color:#03799c;padding:6px 30px}.add-btn[_ngcontent-%COMP%]{border-radius:30px;padding:6px 30px}.request-btn[_ngcontent-%COMP%]{background:#CCCCCC;border-radius:30px;padding:6px 25px}.following-btn[_ngcontent-%COMP%], .unfollow-btn[_ngcontent-%COMP%]{border:.5px solid #8796A8;border-radius:30px;color:#8796a8;padding:6px 30px}.mentee-img[_ngcontent-%COMP%]{width:90px!important;height:90px!important;border-radius:inherit!important}.mentee-card[_ngcontent-%COMP%]{border-radius:10px}.filterModal[_ngcontent-%COMP%]{background:#FFFFFF;box-shadow:0 3px 46px #00000029;border-radius:20px;position:absolute;top:300px;right:60px;width:40%}.resetButtonClass[_ngcontent-%COMP%], .SaveOrSubmitButtonClass[_ngcontent-%COMP%]{border-radius:25px!important;padding:8px 24px}@media screen and (max-width: 426px){.subjectSm[_ngcontent-%COMP%]{display:none}}@media (min-width: 1328px) and (max-width: 1487px){.add-btn[_ngcontent-%COMP%], .follow-btn[_ngcontent-%COMP%], .following-btn[_ngcontent-%COMP%], .request-btn[_ngcontent-%COMP%], .unfollow-btn[_ngcontent-%COMP%]{padding:6px 20px!important}}@media (min-width: 1200px) and (max-width: 1327px){.add-btn[_ngcontent-%COMP%], .follow-btn[_ngcontent-%COMP%], .following-btn[_ngcontent-%COMP%], .request-btn[_ngcontent-%COMP%], .unfollow-btn[_ngcontent-%COMP%]{padding:6px 10px!important}}@media (min-width: 992px) and (max-width: 1148px){.add-btn[_ngcontent-%COMP%], .follow-btn[_ngcontent-%COMP%], .following-btn[_ngcontent-%COMP%], .request-btn[_ngcontent-%COMP%], .unfollow-btn[_ngcontent-%COMP%]{padding:6px 10px!important}}@media (min-width: 576px) and (max-width: 810px){.add-btn[_ngcontent-%COMP%], .follow-btn[_ngcontent-%COMP%], .following-btn[_ngcontent-%COMP%], .request-btn[_ngcontent-%COMP%], .unfollow-btn[_ngcontent-%COMP%]{padding:6px 7px!important}}@media (min-width: 320px) and (max-width: 575px){.filter-btn[_ngcontent-%COMP%]{margin-top:20px}}']})}return a})();function ia(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",22)(1,"h4",23),e.\u0275\u0275text(2," Your mentors are yet to share assessments with you! You can browse and explore from our \u2018Assessment Library\u2019 and start your learning journey on Dynamind. "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"div",24),e.\u0275\u0275element(4,"img",25),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",26)(6,"button",27),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();
1return e.\u0275\u0275resetView(n.goToMarketplace("From_Dynamind"))}),e.\u0275\u0275text(7," Explore Assessments "),e.\u0275\u0275elementEnd()()()}}function sa(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div")(1,"div",35)(2,"div",36)(3,"h3",26),e.\u0275\u0275text(4," No Records Found "),e.\u0275\u0275elementEnd()()()())}const q=function(a){return{listData:a}};function aa(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div"),e.\u0275\u0275elementContainer(1,13),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext(2),i=e.\u0275\u0275reference(62);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngTemplateOutlet",i)("ngTemplateOutletContext",e.\u0275\u0275pureFunction1(2,q,t.sharedWithMeAssessmentsListData))}}function oa(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div")(1,"div",28)(2,"div",29)(3,"div",30)(4,"input",31),e.\u0275\u0275listener("keyup.enter",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.onSearchShowData(n,"Shared_With_Me"))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",32)(6,"span",33)(7,"i",34),e.\u0275\u0275listener("click",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.onSearchShowData(n,"Shared_With_Me"))}),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(8,sa,5,0,"div",15),e.\u0275\u0275template(9,aa,2,4,"div",15),e.\u0275\u0275elementEnd()}if(2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(8),e.\u0275\u0275property("ngIf",0==(null==t.sharedWithMeAssessmentsListData?null:t.sharedWithMeAssessmentsListData.length)&&!t.isLoadingForSharedWithMeAssessments),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",(null==t.sharedWithMeAssessmentsListData?null:t.sharedWithMeAssessmentsListData.length)>0&&!t.isLoadingForSharedWithMeAssessments)}}function ra(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",22)(1,"h4",23),e.\u0275\u0275text(2," You have no assessments from connected mentors right now! You can browse and explore from our \u2018Assessment Library\u2019 and start your learning journey on Dynamind. "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"div",24),e.\u0275\u0275element(4,"img",25),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",26)(6,"button",27),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(n.goToMarketplace("From_Dynamind"))}),e.\u0275\u0275text(7," Explore Assessments "),e.\u0275\u0275elementEnd()()()}}function la(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div")(1,"div",35)(2,"div",36)(3,"h3",26),e.\u0275\u0275text(4," No Records Found "),e.\u0275\u0275elementEnd()()()())}function da(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div"),e.\u0275\u0275elementContainer(1,13),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext(2),i=e.\u0275\u0275reference(62);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngTemplateOutlet",i)("ngTemplateOutletContext",e.\u0275\u0275pureFunction1(2,q,t.connectedMentorsAssessmentListData))}}function ca(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div")(1,"div",28)(2,"div",29)(3,"div",30)(4,"input",31),e.\u0275\u0275listener("keyup.enter",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.onSearchShowData(n,"Connected_Mentors"))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",32)(6,"span",33)(7,"i",34),e.\u0275\u0275listener("click",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.onSearchShowData(n,"Connected_Mentors"))}),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(8,la,5,0,"div",15),e.\u0275\u0275template(9,da,2,4,"div",15),e.\u0275\u0275elementEnd()}if(2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(8),e.\u0275\u0275property("ngIf",0==(null==t.connectedMentorsAssessmentListData?null:t.connectedMentorsAssessmentListData.length)&&!t.isLoadingForConnectedMentorAssessments),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",(null==t.connectedMentorsAssessmentListData?null:t.connectedMentorsAssessmentListData.length)>0&&!t.isLoadingForConnectedMentorAssessments)}}function ma(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",22)(1,"h4",23),e.\u0275\u0275text(2," You have no assessments from other mentors right now! You can browse and explore from our \u2018Assessment Library\u2019 and start your learning journey on Dynamind. "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"div",24),e.\u0275\u0275element(4,"img",25),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",26)(6,"button",27),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext();
1return e.\u0275\u0275resetView(n.goToMarketplace("From_Dynamind"))}),e.\u0275\u0275text(7," Explore Assessments "),e.\u0275\u0275elementEnd()()()}}function pa(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div")(1,"div",35)(2,"div",36)(3,"h3",26),e.\u0275\u0275text(4," No Records Found "),e.\u0275\u0275elementEnd()()()())}function ha(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div"),e.\u0275\u0275elementContainer(1,13),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext(2),i=e.\u0275\u0275reference(62);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngTemplateOutlet",i)("ngTemplateOutletContext",e.\u0275\u0275pureFunction1(2,q,t.otherMentorsAssessmentListData))}}function ga(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div")(1,"div",28)(2,"div",29)(3,"div",30)(4,"input",31),e.\u0275\u0275listener("keyup.enter",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.onSearchShowData(n,"Other_Mentors"))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",32)(6,"span",33)(7,"i",34),e.\u0275\u0275listener("click",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.onSearchShowData(n,"Other_Mentors"))}),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(8,pa,5,0,"div",15),e.\u0275\u0275template(9,ha,2,4,"div",15),e.\u0275\u0275elementEnd()}if(2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(8),e.\u0275\u0275property("ngIf",0==(null==t.otherMentorsAssessmentListData?null:t.otherMentorsAssessmentListData.length)&&!t.isLoadingForOtherMentorAssessments),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",(null==t.otherMentorsAssessmentListData?null:t.otherMentorsAssessmentListData.length)>0&&!t.isLoadingForOtherMentorAssessments)}}function ua(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div",22)(1,"h4",23),e.\u0275\u0275text(2," No Records Available "),e.\u0275\u0275elementEnd()())}function fa(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div")(1,"div",35)(2,"div",36)(3,"h3",26),e.\u0275\u0275text(4," No Records Found "),e.\u0275\u0275elementEnd()()()())}function _a(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div"),e.\u0275\u0275elementContainer(1,13),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext(2),i=e.\u0275\u0275reference(62);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngTemplateOutlet",i)("ngTemplateOutletContext",e.\u0275\u0275pureFunction1(2,q,t.assessmentOnDynamindListData))}}function xa(a,l){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div")(1,"div",37)(2,"div",38)(3,"div",30)(4,"input",31),e.\u0275\u0275listener("keyup.enter",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.onSearchShowData(n,"Assessments_On_Dynamind"))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",32)(6,"span",33)(7,"i",34),e.\u0275\u0275listener("click",function(n){e.\u0275\u0275restoreView(t);const s=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(s.onSearchShowData(n,"Assessments_On_Dynamind"))}),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(8,fa,5,0,"div",15),e.\u0275\u0275template(9,_a,2,4,"div",15),e.\u0275\u0275elementEnd()}if(2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(8),e.\u0275\u0275property("ngIf",0==(null==t.assessmentOnDynamindListData?null:t.assessmentOnDynamindListData.length)&&!t.isLoadingForAssessmentsOnDynamind),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",(null==t.assessmentOnDynamindListData?null:t.assessmentOnDynamindListData.length)>0&&!t.isLoadingForAssessmentsOnDynamind)}}function va(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"div",41),e.\u0275\u0275element(1,"app-assessment-card",42),e.\u0275\u0275elementEnd()),2&a){const t=l.$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275property("assessment",t)}}function Ca(a,l){if(1&a&&(e.\u0275\u0275elementStart(0,"app-carousel",39),e.\u0275\u0275template(1,va,2,1,"div",40),e.\u0275\u0275elementEnd()),2&a){const t=l.listData,i=e.\u0275\u0275nextContext();e.\u0275\u0275property("height",450)("carouselCells",i.carouselCells)("arrowsEnable",i.enableArrows(t)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t)}}function ba(a,l){1&a&&(e.\u0275\u0275elementStart(0,"div")(1,"div",43)(2,"div",36),e.\u0275\u0275element(3,"p",44),e.\u0275\u0275elementEnd()()())}function wa(a,l){1&a&&e.\u0275\u0275template(0,ba,4,0,"div",15),2&a&&e.\u0275\u0275property("ngIf",l.condition)}const U=function(a){return{condition:a}},ya=[{path:"home",component:Qe},{path:"assessments",component:Ee,children:[{path:"",redirectTo:"explore-assessment",pathMatch:"full"},{path:"explore-assessment",component:(()=>{class a{constructor(t,i,n,s,o,d,r,c){this.apiService=t,this.simpleModalService=i,this.eventEmitterService=n,this.activatedRoute=s,this.platformId=o,this.router=d,this.toaster=r,this.titleService=c,this.getAssessmentDataRequestForConnectedMentors=new _.iE,this.getAssessmentDataRequestForOtherMe
1ntors=new _.iE,this.getAssessmentDataRequestForAssessmentsOnDynamind=new _.iE,this.getAssessmentDataRequestForSharedWithMeAssessments=new _.iE,this.connectedMentorsAssessmentListData=[],this.otherMentorsAssessmentListData=[],this.assessmentOnDynamindListData=[],this.sharedWithMeAssessmentsListData=[],this.isLoadingForAssessmentsOnDynamind=!1,this.isLoadingForSharedWithMeAssessments=!1,this.shareInClassroom=!0,this.shareInConnected=!1,this.arrowsEnable=!1,this.dynamindAssessments=[],this.firstTimeLoginForAssessmentsOnDynamind=!1}ngOnInit(){this.getAssessmentDataRequestForSharedWithMeAssessments.fieldNameForAssessments=_.Tj.CLASSROOMS,this.sharedWithMeAssessment(),this.assessmentsOnDynamind(),this.connectedMentorAssessments(),this.otherMentorAssessments()}onChangeAssessment(t){"CLASSROOMS"==t?(this.getAssessmentDataRequestForSharedWithMeAssessments.fieldNameForAssessments=_.Tj.CLASSROOMS,this.shareInClassroom=!0,this.shareInConnected=!1):"CONNECTED_MENTORS"==t&&(this.getAssessmentDataRequestForSharedWithMeAssessments.fieldNameForAssessments=_.Tj.CONNECTED_MENTORS,this.shareInClassroom=!1,this.shareInConnected=!0),this.sharedWithMeAssessment()}sharedWithMeAssessment(){this.getAssessmentDataRequestForSharedWithMeAssessments.searchKey||(this.isLoadingForSharedWithMeAssessments=!0),this.getAssessmentDataRequestForSharedWithMeAssessments.pageSize=8,this.apiService.postService(this.apiService.apiUrls.sharedAssessmentMentor,this.getAssessmentDataRequestForSharedWithMeAssessments).subscribe(t=>{if(t&&200===t.statusCode){this.isLoadingForSharedWithMeAssessments=!1,t.objectData?(this.sharedWithMeAssessmentsTotalCount=t.objectData.ALL,this.sharedWithClassroomCount=t.objectData.CLASSROOMS_COUNT,this.sharedWithConnectedMentorsCount=t.objectData.CONNECTED_MENTORS_COUNT):this.sharedWithMeAssessmentsCount=0;let i=[];i=t?.data?.content,this.sharedWithMeAssessmentsListData=this.assignReloadVariableForCart(i,A.H.RELOAD_SHARED_WITH_ME_ASSESSMENT),t?.data?.content?.length>0&&(this.firstTimeLoginForSharedWithMeAssessments=!0)}else this.isLoadingForSharedWithMeAssessments=!1,this.toaster.show(t?.message,"Info")},t=>{401==t.status?(this.isLoadingForSharedWithMeAssessments=!1,this.toaster.show(t.message?t?.error?.message:"Something Went Wrong","Warning"),(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):this.isLoadingForSharedWithMeAssessments=!1})}connectedMentorAssessments(){this.getAssessmentDataRequestForConnectedMentors.searchKey||(this.isLoadingForConnectedMentorAssessments=!0),this.getAssessmentDataRequestForConnectedMentors.pageSize=9,this.apiService.postService(this.apiService.apiUrls.connectedMentorsAssessments,this.getAssessmentDataRequestForConnectedMentors).subscribe(t=>{if(t&&200===t.statusCode){this.isLoadingForConnectedMentorAssessments=!1;let i=[];i=t.data.content,this.connectedMentorsAssessmentListData=this.assignReloadVariableForCart(i,A.H.RELOAD_CONNECTED_MENTORS_ASSESSMENTS),this.connectedMentorsAssessmentsCount=t?t.value:0,t.data.content.length>0&&(this.firstTimeLoginForConnectedMentorsAssessments=!0)}else this.isLoadingForConnectedMentorAssessments=!1,this.toaster.show(t?.message,"Info")},t=>{401==t.status?(this.isLoadingForConnectedMentorAssessments=!1,this.toaster.show(t.message?t?.error?.message:"Something Went Wrong","Warning"),(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):this.isLoadingForConnectedMentorAssessments=!1})}assignReloadVariableForCart(t,i){return t.forEach(n=>{n.reloadValueForAddToCart=i}),t}enableArrows(t){let i=(0,m.NF)(this.platformId)?window.innerWidth:"";return t&&(i>=280&&i<=576&&(this.arrowsEnable=t.length>1),i>=577&&i<=767&&(this.arrowsEnable=t.length>1.5),i>=768&&i<991&&(this.arrowsEnable=t.length>2),i>=992&&i<=1499&&(this.arrowsEnable=t.length>3),i>=1500&&i<=1800&&(this.arrowsEnable=t.length>3.5),i>=1500&&i<=2600&&(this.arrowsEnable=t.length>4)),this.arrowsEnable}onSearchShowData(t,i){let n;n=t.target.value?t.target.value:"","Shared_With_Me"==i&&(this.getAssessmentDataRequestForSharedWithMeAssessments.searchKey=n,this.getAssessmentDataRequestForSharedWithMeAssessments.pageNumber=0,this.sharedWithMeAssessment()),"Assessments_On_Dynamind"==i?(this.getAssessmentDataRequestForAssessmentsOnDynamind.searchKey=n,this.getAssessmentDataRequestForAssessmentsOnDynamind.pageNumber=0,this.assessmentsOnDynamind()):"Other_Mentors"==i?(this.getAssessmentDataRequestForOtherMe
1ntors.searchKey=n,this.getAssessmentDataRequestForOtherMentors.pageNumber=0,this.otherMentorAssessments()):"Connected_Mentors"==i&&(this.getAssessmentDataRequestForConnectedMentors.searchKey=n,this.getAssessmentDataRequestForConnectedMentors.pageNumber=0,this.connectedMentorAssessments())}assessmentsOnDynamind(){this.getAssessmentDataRequestForAssessmentsOnDynamind.searchKey||(this.isLoadingForAssessmentsOnDynamind=!0),this.getAssessmentDataRequestForAssessmentsOnDynamind.pageSize=9,this.apiService.postService(this.apiService.apiUrls.assessmentsOnDynamind,this.getAssessmentDataRequestForAssessmentsOnDynamind).subscribe(t=>{if(t&&200===t.statusCode){this.isLoadingForAssessmentsOnDynamind=!1,this.assessmentsOnDyanamindCount=t.objectData?t.objectData.freeCount+t.objectData.paidCount:0;let i=[];i=t.data.content,this.dynamindAssessments=i,this.assessmentOnDynamindListData=this.assignReloadVariableForCart(i,A.H.RELOAD_ASSESSMENTS_FROM_DYNAMIND),t?.data?.content?.length>0&&(this.firstTimeLoginForAssessmentsOnDynamind=!0)}else this.isLoadingForAssessmentsOnDynamind=!1,this.toaster.show(t?.message,"Info")},t=>{401==t.status?(this.isLoadingForAssessmentsOnDynamind=!1,this.toaster.show(t.message?t?.error?.message:"Something Went Wrong","Warning"),(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):this.isLoadingForAssessmentsOnDynamind=!1})}otherMentorAssessments(){this.getAssessmentDataRequestForOtherMentors.searchKey||(this.isLoadingForOtherMentorAssessments=!0),this.getAssessmentDataRequestForOtherMentors.pageSize=9,this.apiService.postService(this.apiService.apiUrls.otherMentorsAssessments,this.getAssessmentDataRequestForOtherMentors).subscribe(t=>{if(t&&200===t.statusCode){this.isLoadingForOtherMentorAssessments=!1,this.otherMentorAssessmentsCount=t?t.value:0;let i=[];i=t.data.content,this.otherMentorsAssessmentListData=this.assignReloadVariableForCart(i,A.H.RELOAD_OTHER_MENTORS_ASSESSMENTS),t.data.content.length>0&&(this.firstTimeLoginForOtherMentorsAssessments=!0)}else this.isLoadingForOtherMentorAssessments=!1,this.toaster.show(t?.message,"Info")},t=>{401==t.status?(this.isLoadingForOtherMentorAssessments=!1,this.toaster.show(t.message?t?.error?.message:"Something Went Wrong","Warning"),(0,m.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):this.isLoadingForOtherMentorAssessments=!1})}goToMarketplace(t){this.router.navigate(["/navigation-bar/mentee/mentees-assessments-marketplace"],{queryParams:{selectedAssessmentTab:t}})}viewAllButton(t){this.router.navigate(["/navigation-bar/mentor/see-all-assessments"],{queryParams:{selectedTab:t}})}static#e=this.\u0275fac=function(i){return new(i||a)(e.\u0275\u0275directiveInject(b.s),e.\u0275\u0275directiveInject(V.yK),e.\u0275\u0275directiveInject(A.B),e.\u0275\u0275directiveInject(u.gz),e.\u0275\u0275directiveInject(e.PLATFORM_ID),e.\u0275\u0275directiveInject(u.F0),e.\u0275\u0275directiveInject(C._W),e.\u0275\u0275directiveInject(S.Dx))};static#t=this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-mentor-explore-assessments"]],decls:66,vars:38,consts:[[1,"d-sm-flex","flex-row","mb-3","mt-3"],[1,"p-2","flex-grow-1"],["src","/assets/mentee-images/enrol.svg","alt","","height","30px","width","30px",2,"margin-top","-10px"],[1,"sofiaProMedium","enrolled-text"],["src","/assets/mentee-images/question-circle.svg","width","15px","alt","",1,"ml-2",2,"margin-top","-5px"],[1,"my-auto"],[1,"btn","btn-default","viewAllButton",3,"disabled","click"],[1,"bx","bx-chevron-right"],[1,"radio_btn","mb-4"],[1,"form-check-inline"],[1,"form-check-label","ml-2"],["type","radio","name","filterByOptions",1,"form-check-input","mr-2",3,"value","checked","change"],[1,"form-check-label","ml-3"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","firstTimeUser",4,"ngIf"],[4,"ngIf"],["src","/assets/health.png","alt","","height","30px","width","30px",2,"margin-top","-10px"],[1,""],[1,"d-sm-flex","flex-row"],["src","/assets/health.png","alt","","height","32px","width","28px",1,"mr-2",2,"margin-top","-10px"],["commonCodeRef",""],["commonCondiitionCodeRef",""],[1,"firstTimeUser"],[1,"text-center","sofiaProBold"],[1,"d-flex","justify-content-center"],["src","/assets/sharedWithFirstTimeUser.png","alt","noRecordsFound Image",1,"img-fluid",2,"height","200px"],[1,"text-center"],[1,"btn","btn-default","exploreAssessmentsButton","sofiaProMedium",3,"click"],[1,"d-block","d-md-flex","d-lg-flex","d-xl-flex","my-3","mt-4"],[1,"mr-auto","flex-grow-1"],[1,"input-group","searchgroupKeyTrigger"],["type","text","placeholder","\uf002 Search...",1,"form-control","border-left-0","search-box","searchgroupKeyTriggerIcon",3,"keyup.enter"],[1,"input-group-prepend"],[1,"input-group-text"],[1,"bx","bx-search",2,"font-size","larger",3,"click"],[1,"card","mt-3"],[1,"card-body"],[1,"d-block","d-md-flex","d-lg-flex","d-xl-flex"],[1,"mr-auto","flex-grow-1","my-3"],[2,"width","100%",3,"height","carouselCells","arrowsEnable"],["class","carousel-cell",4,"ngFor","ngForOf"],[1,"carousel-cell"],[3,"assessment"],[1,"card","my-3","bg-card",2,"box-shadow","none","background-color","#fff"],[1,"loadingDots","text-center"]],template:function(i,n){if(1&i&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1),e.\u0275\u0275element(2,"img",2),e.\u0275\u0275elementStart(3,"span",3),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(5,"img",4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",5)(7,"button",6),e.\u0275\u0275listener("click",function(){return n.viewAllButton("Shared_With_Me")}),e.\u0275\u0275text(8," View All"),e.\u0275\u0275element(9,"i",7),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(10,"div",8)(11,"div",9)(12,"label",10)(13,"input",11),e.\u0275\u0275listener("change",function(){return n.onChangeAssessment("CLASSROOMS")}),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(14),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"div",9)(16,"label",12)(17,"input",11),e.\u0275\u0275listener("change",function(){return n.onChangeAssessment("CONNECTED_MENTORS")}),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(18),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementContainer(19,13),e.\u0275\u0275template(20,ia,8,0,"div",14),e.\u0275\u0275template(21,oa,10,2,"div",15),e.\u0275\u0275elementStart(22,"div",0)(23,"div",1),e.\u0275\u0275element(24,"img",16),e.\u0275\u0275elementStart(25,"span",3),e.\u0275\u0275text(26),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(27,"img",4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(28,"div",17)(29,"button",6),e.\u0275\u0275listener("click",function(){return n.viewAllButton("Assessment_From_Connected_Assessment")}),e.\u0275\u0275text(30," View All"),e.\u0275\u0275element(31,"i",7),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementContainer(32,13),e.\u0275\u0275template(33,ra,8,0,"div",14),e.\u0275\u0275template(34,ca,10,2,"div",15),e.\u0275\u0275elementStart(35,"div",0)(36,"div",1),e.\u0275\u0275element(37,"img",16),e.\u0275\u0275elementStart(38,"span",3),e.\u0275\u0275text(39),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(40,"img",4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(41,"div",17)(42,"button",6),e.\u0275\u0275listener("click",function(){return n.viewAllButton("Assessment_From_Other_Mentors")}),e.\u0275\u0275text(43," View All"),e.\u0275\u0275element(44,"i",7),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementContainer(45,13),e.\u0275\u0275template(46,ma,8,0,"div",14),e.\u0275\u0275template(47,ga,10,2,"div",15),e.\u0275\u0275elementStart(48,"div",18)(49,"div",1),e.\u0275\u0275element(50,"img",19),e.\u0275\u0275elementStart(51,"span",3),e.\u0275\u0275text(52),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(53,"img",4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(54,"div",17)(55,"button",6),e.\u0275\u0275listener("click",function(){return n.viewAllButton("Assessment_From_Dynamind")}),e.\u0275\u0275text(56," View All"),e.\u0275\u0275element(57,"i",7),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementContainer(58,13),e.\u0275\u0275template(59,ua,3,0,"div",14),e.\u0275\u0275template(60,xa,10,2,"div",15),e.\u0275\u0275template(61,Ca,2,4,"ng-template",null,20,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275template(63,wa,1,1,"ng-template",null,21,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275element(65,"app-footer")),2&i){const s=e.\u0275\u0275reference(64);e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1(" Shared With Me (",null==n.sharedWithMeAssessmentsTotalCount?0:n.sharedWithMeAssessmentsTotalCount,") "),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!(n.sharedWithMeAssessmentsListData.length>0)),e.\u0275\u0275advance(6),e.\u0275\u0275property("value","CLASSROOMS")("checked",n.shareInClassroom),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" Shared in Cohorts(",null==n.sharedWithClassroomCount?0:n.sharedWithClassroomCount,") "),e.\u0275\u0275advance(3),e.\u0275\u0275property("value","CONNECTED_MENTORS")("checked",n.shareInConnected),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" Shared by Connections (",null==n.sharedWithConnectedMentorsCount?0:n.sharedWithConnectedMentorsCount,") "),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngTemplateOutlet",s)("ngTemplateOutletContext",e.\u0275\u0275pureFunction1(30,U,n.isLoadingForSharedWithMeAssessments)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!n.firstTimeLoginForSharedWithMeAssessments&&!n.isLoadingForSharedWithMeAssessments),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",n.firstTimeLoginForSharedWithMeAssessments&&!n.isLoadingForSharedWithMeAssessments),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" Assessments from C
1onnected Mentors (",null==n.connectedMentorsAssessmentsCount?0:n.connectedMentorsAssessmentsCount,") "),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!(n.connectedMentorsAssessmentListData.length>0)),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngTemplateOutlet",s)("ngTemplateOutletContext",e.\u0275\u0275pureFunction1(32,U,n.isLoadingForConnectedMentorAssessments)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!n.firstTimeLoginForConnectedMentorsAssessments&&!n.isLoadingForConnectedMentorAssessments),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",n.firstTimeLoginForConnectedMentorsAssessments&&!n.isLoadingForConnectedMentorAssessments),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" Assessments from Other Mentors (",null==n.otherMentorAssessmentsCount?0:n.otherMentorAssessmentsCount,") "),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!(n.otherMentorsAssessmentListData.length>0)),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngTemplateOutlet",s)("ngTemplateOutletContext",e.\u0275\u0275pureFunction1(34,U,n.isLoadingForOtherMentorAssessments)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!n.firstTimeLoginForOtherMentorsAssessments&&!n.isLoadingForOtherMentorAssessments),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",n.firstTimeLoginForOtherMentorsAssessments&&!n.isLoadingForOtherMentorAssessments),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" Assessments from Dynamind (",null==n.assessmentsOnDyanamindCount?0:n.assessmentsOnDyanamindCount,") "),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!(n.assessmentOnDynamindListData.length>0)),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngTemplateOutlet",s)("ngTemplateOutletContext",e.\u0275\u0275pureFunction1(36,U,n.isLoadingForAssessmentsOnDynamind)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!n.firstTimeLoginForAssessmentsOnDynamind&&!n.isLoadingForAssessmentsOnDynamind),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",n.firstTimeLoginForAssessmentsOnDynamind&&!n.isLoadingForAssessmentsOnDynamind)}},dependencies:[m.sg,m.O5,m.tP,F.c,te.D,ne.F],styles:['.row[_ngcontent-%COMP%]{margin:0;padding:0}.nav-tabs[_ngcontent-%COMP%]{border-bottom:0px solid #dee2e6}.nav-tabs[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{color:#8796a8;cursor:auto}.nav-tabs[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{color:#1e3757;font-weight:700;border-right:#fff;border-top:#fff;border-left:#fff}.nav-tabs[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover{border-top:#fff;border-right:#fff;border-left:#fff;border-bottom:1px solid transparent;color:#1e3757}.viewAllButton[_ngcontent-%COMP%]{color:#00ceb1;border:1px solid #00ceb1;border-radius:30px;text-align:center}.exploreAssessmentsButton[_ngcontent-%COMP%]{color:#fff;border-radius:30px;text-align:center;background:#03799c;padding:10px 30px;margin:20px 0}.assessmentsText[_ngcontent-%COMP%]{font-weight:600;font-size:48px;line-height:74px;margin:0;color:#1e3757}.enrolled-text[_ngcontent-%COMP%]{font-weight:500;font-size:24px;line-height:37px;color:#1e3757}.firstTimeUser[_ngcontent-%COMP%]{color:#c4c4c4}.main[_ngcontent-%COMP%]{background:linear-gradient(90deg,#314755 0%,#26a0da 100%);border-radius:20px;height:140px}@media screen and (max-width: 767px){.main[_ngcontent-%COMP%]{height:180px}}.main[_ngcontent-%COMP%]   .rightSideImage[_ngcontent-%COMP%]{position:relative;bottom:80px;height:280px;padding:10px 20px}@media screen and (min-width: 768px) and (max-width: 991px){.main[_ngcontent-%COMP%]   .rightSideImage[_ngcontent-%COMP%]{bottom:50px;height:200px;padding:10px}}.main[_ngcontent-%COMP%]   .exploreText[_ngcontent-%COMP%]{font-size:19px;line-height:47px;margin-top:15px;color:#fff;margin-bottom:0rem!important}@media screen and (min-width: 280px) and (max-width: 350px){.main[_ngcontent-%COMP%]   .exploreText[_ngcontent-%COMP%]{font-size:14px}}@media screen and (min-width: 768px) and (max-width: 991px){.main[_ngcontent-%COMP%]   .exploreText[_ngcontent-%COMP%]{line-height:27px}}@media screen and (min-width: 992px) and (max-width: 1075px){.main[_ngcontent-%COMP%]   .exploreText[_ngcontent-%COMP%]{font-size:18px;line-height:31px}}@media screen and (min-width: 1200px) and (max-width: 1400px){.main[_ngcontent-%COMP%]   .exploreText[_ngcontent-%COMP%]{font-size:23px}}@media screen and (min-width: 1401px){.main[_ngcontent-%COMP%]   .exploreText[_ngcontent-%COMP%]{font-size:30px}}.main[_ngcontent-%COMP%]   .marketPlaceButton[_ngcontent-%COMP%]{border-radius:25px;padding:10px 60px}input[type=radio][_ngcontent-%COMP%]{appearance:none;background-color:var(--form-background);margin:0;font:inherit;color:#1e3757;width:1.15em;height:1.15em;border:.15em solid #1e3757;border-radius:50%;transform:translateY(-.075em);display:grid;place-content:center}input[type=radio][_ngcontent-%COMP%]:before{content:"";width:.65em;height:.65em;border-radius:50%;transform:scale(0);transition:.12s transform ease-in-out;box-shadow:inset 1em 1em var(--form-control-color);background-color:CanvasText}input[type=radio][_ngcontent-%COMP%]:checked:before{transform:scale(1)}label[_ngcontent-%COMP%]{display:inherit;align-items:center}label.customCheckbox[_ngcontent-%COMP%]{display:flex}@media screen and (max-width: 425px){.radio_btn[_ngcontent-%COMP%]{margin:.5rem 0}}.radio_btn[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-weight:400;font-size:18px;line-height:28px;color:#8796a8}@media screen and (max-width: 425px){.radio_btn[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-size:13px;line-height:18px}}.radio_btn[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-right:10px}']})}return a})(),data:{breadcrumb:"Assessments/Explore Assessments"}},{path:"manage",component:vn,data:{breadcrumb:"Assessments/Manage Assessments"}},{path:"create",component:Bs,data:{breadcrumb:"Assessments/Create Assessments"}}]},{path:"classroom",component:Ie},{path:"see-all-assessments",component:p(68571).kt,data:{breadcrumb:"Assessments"}},{path:"analytics",loadChildren:()=>Promise.all([p.e(8592),p.e(4603)]).then(p.bind(p,84603)).then(a=>a.MentorAnalyticsModule),canActivate:[R.y]},{path:"online-portal",component:Rt},{path:"examination",component:Pe},{path:"neet-jee-view-all-assessments",component:De.B,canActivate:[R.y],data:{breadcrumb:"View-all-special-assessments/"}},{path:"common-online-portal",component:fe.x,canActivate:[ue.y],data:{breadcrumb:"online-portal"}},{path:"common-online-portal/:fullName/:userId",canActivate:[ue.y],component:fe.x},{path:"notifications",component:Qs.jO,canActivate:[R.y]},{path:"analytics",loadChildren:()=>Promise.all([p.e(8592),p.e(4603)]).then(p.bind(p,84603)).then(a=>a.MentorAnalyticsModule),canActivate:[R.y]},{path:"all-dynamind-mentee-list",component:na,data:{breadcrumb:" Your Students / Students on Dynamind"}},{path:"on-board",redirectTo:"/on-board/teachers",pathMatch:"full"},{path:"acadamy",loadChildren:()=>Promise.all([p.e(8316),p.e(8515),p.e(958)]).then(p.bind(p,60958)).then(a=>a.AcadamyModule)},{path:"mentor-network",loadChildren:()=>Promise.all([p.e(5498),p.e(8884)]).then(p.bind(p,48884)).then(a=>a.MentorNetworkModule)}];let Ma=(()=>{class a{static#e=this.\u0275fac=function(i){return new(i||a)};static#t=this.\u0275mod=e.\u0275\u0275defineNgModule({type:a});static#n=this.\u0275inj=e.\u0275\u0275defineInjector({imports:[u.Bz.forChild(ya),u.Bz]})}return a})();var Pa=p(38314),Ta=p(67734),Da=p(265),Ea=p(77651),Ia=p(9330),Oa=p(79476),Fa=p(7444);let ka=(()=>{class a{static#e=this.\u0275fac=function(i){return new(i||a)};static#t=this.\u0275mod=e.\u0275\u0275defineNgModule({type:a});static#n=this.\u0275inj=e.\u0275\u0275defineInjector({imports:[m.ez,Ma,C.Rh.forRoot({preventDuplicates:!0}),z.ZQ.forRoot(),f.u5,f.UX,Pa.m,B.U,Ea.d,ce.rP,Da.Q,Ta.JH,me.X,ie.K,Ia.Q,Oa.z,Fa.IJ]})}return a})()}}]);

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.