PageSourceSearch

https://otocourses.com/src_app_modules_Student_my-schedule_my-schedule_module_ts.6ed968dc1637a9c7.js

js otocourses.com collected 2026-10-07 08:59:41 UTC 7,946 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkoto_courses=self.webpackChunkoto_courses||[]).push([["src_app_modules_Student_my-schedule_my-schedule_module_ts"],{401:(F,m,e)=>{e.r(m),e.d(m,{MyScheduleModule:()=>R});var v=e(6119),c=e(8096),f=e(3130),h=e(8054),g=e(9564),s=e(828),p=e(8152),y=e(8186),O=e(9467),b=e(5256),C=e(4213),t=e(2560),a=e(4666),M=e(3736),x=e(3278),S=e(8112),P=e(963),T=e(1201),w=e(9387),Z=e(2699),A=e(2578),z=e(1710),E=e(1659),u=e(8245),Y=e(8699);const U=function(n){return{name:n,route:"/my-schedule"}},D=function(n){return[n]};function k(n,j){if(1&n&&(t.TgZ(0,"div",2)(1,"div",3),t._UZ(2,"app-bread-crumbs",4),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",5)(5,"div",6)(6,"div",7)(7,"span",8),t._uU(8),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"span",9),t._uU(11),t.ALo(12,"date"),t.ALo(13,"async"),t.qZA()()()(),t._UZ(14,"full-calendar",10),t.qZA()),2&n){const o=t.oxw();t.xp6(2),t.Q6J("Routes",t.VKq(16,D,t.VKq(14,U,t.lcZ(3,5,"routes.my_schedule")))),t.xp6(6),t.AsE("",t.lcZ(9,7,"sentences.time_show")," ",o.timezone,""),t.xp6(3),t.hij(" ( ",t.xi3(12,9,t.lcZ(13,12,o.time),"hh:mm:ss a")," ) "),t.xp6(3),t.Q6J("options",o.calendarOptions)}}function G(n,j){1&n&&(t.TgZ(0,"div",11),t._UZ(1,"app-content-loader",12),t.qZA())}const N=[{path:"",component:(()=>{class n{constructor(o,r,i,l,J,L,W,$,I,V){this.datePipe=o,this.studentCoursesService=r,this.breakpointObserver=i,this.confirmService=l,this.authService=J,this.toasterService=L,this.route=W,this.seoService=$,this.generalService=I,this.localStorageService=V,this.loading=!0,this.events=[],this.currentEvents=[],this.timezone="",this.serverTime=0,this.lang="en",this.time$=null,this.breakpointObserver.observe(["(max-width: 600px)"]).subscribe(d=>{d.matches&&(this.calendarOptions.headerToolbar={left:"",center:"title",right:"prev,next,today,timeGridDay,listWeek"},this.calendarOptions.initialView="timeGridDay")}),this.timezone=this.localStorageService.state$.getValue()?.tz,this.seoService.setSeo({title:"OTO Courses | My Schedule",description:"Get Started With OTO Courses, English Teachers, English Teachers, English Assessment, OTO Account",keywords:"English Teachers, English Teachers, English Assessment, OTO Account"}),this.generalService.getCurrentLang().subscribe(d=>{this.lang=d}),this.calendarOptions={headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay,listWeek"},plugins:[y.Z,O.Z,b.Z,C.ZP],initialView:"dayGridMonth",initialEvents:this.events,handleWindowResize:!0,weekNumberCalculation:"ISO",weekNumbers:!0,selectable:!1,eventOverlap:!1,weekends:!0,editable:!0,selectMirror:!0,dayMaxEvents:!0,eventClick:this.handleEventClick.bind(this),slotDuration:"01:00:00",defaultTimedEventDuration:"01:00:00",selectOverlap:!1,locale:this.lang,scrollTime:"08:00",firstDay:0}}get time(){return this.time$}ngOnInit(){this.studentCoursesService.GetAllUpcomingSessions().pipe((0,s.U)(o=>{const r=[];return o.data.forEach(i=>{let l={id:i?.id+"",title:i.courseName+" session with "+i.teacherName,start:this.datePipe.transform(new Date(i?.date),"yyyy-MM-ddTHH:mm:ss")+"",isNew:!1,isReserved:!0,end:this.datePipe.transform((0,h.mH)(new Date(i?.date),60),"yyyy-MM-ddTHH:mm:ss")+"",editable:!1,color:(0,h.Xd)(i?.courseName)};r.push(l)}),r})).subscribe(o=>{this.calendarOptions.events=o,this.loading=!1}),this.authService.GetStudentAccount().pipe((0,s.U)(o=>o.timestamp)).subscribe(o=>{this.serverTime=o,this.time$=(0,g.H)(0,1e3).pipe((0,s.U)(r=>new Date(1e3*this.serverTime+1e3*r).toLocaleString("en-US",{timeZone:this.timezone})),(0,p.d)(1))})}handleWeekendsToggle(){const{calendarOptions:o}=this;o.weekends=!o.weekends}handleEventClick(o){}static#t=this.\u0275fac=function(r){return new(r||n)(t.Y36(a.uU),t.Y36(M.F),t.Y36(x.Yg),t.Y36(S.D),t.Y36(P.e),t.Y36(T.M),t.Y36(c.gz),t.Y36(w.v),t.Y36(Z.m),t.Y36(A.g))};static#e=this.\u0275cmp=t.Xpm({type:n,selectors:[["app-my-schedule"]],decls:2,vars:2,consts:[["class","container-main mb-5",4,"ngIf"],["class","container text-center",4,"ngIf"],[1,"container-main","mb-5"],[1,"my-3"],[3,"Routes"],[1,"row","text-center","justify-content-between","align-items-center","my-1"],[1,"col-12","d-flex","justify-content-center","align-items-center"],[1,"text-center","timezone__container"],[1,"timeZone"],[1,"fw-500",2,"font-size","0.9rem"],[3,"options"],[1,"container","text-center"],["type","table"]],template:function(r,i){1&r&&(t.YNc(0,k,15,18,"div",0),t.YNc(1,G,2,0,"div",1)),2&r&&(t.Q6J("ngIf",!i.loading),t.xp6(1),t.Q6J("ngIf",i.loading))},dependencies:[a.O5,z.t,E.H,u.w,a.Ov,a.uU,Y.X$],styles:[".fc[_ngcontent-%COMP%]{overflow-y:auto;max-width:100%;height:calc(100vh - 160px);margin:0 auto;resize:vertical}.fc[_ngcontent-%COMP%]     .fc-h-event{border-color:var(--secOto)!important;background:var(--secOto)!important}.fc[_ngcontent-%COMP%]     .fc-v-event{border-color:var(--secOto);background:var(--secOto)}
1.fc[_ngcontent-%COMP%]     .fc-daygrid-event{background:var(--secOto)!important;white-space:pre-wrap}.fc[_ngcontent-%COMP%]     .fc-daygrid-more-link{color:var(--secOto)!important}.fc[_ngcontent-%COMP%]     .fc-event-time{color:var(--color-white)!important}.fc[_ngcontent-%COMP%]     .fc-event-title{font-weight:400!important;color:var(--color-white)!important}.fc[_ngcontent-%COMP%]     .fc-button-primary{border-color:var(--secOto);outline:transparent!important;background-color:var(--secOto);box-shadow:none!important}.fc[_ngcontent-%COMP%]     .fc-button-primary:hover{border-color:var(--mainColor);background-color:var(--mainColor)}.fc[_ngcontent-%COMP%]     .fc-button-primary:not(:disabled).fc-button-active, .fc[_ngcontent-%COMP%]     .fc-button-primary:not(:disabled):active{border-color:var(--mainColor);background-color:var(--mainColor)}.fc[_ngcontent-%COMP%]     .fc-button-primary:not(:disabled).fc-button-active:hover, .fc[_ngcontent-%COMP%]     .fc-button-primary:not(:disabled):active:hover{border-color:var(--mainColor);background-color:var(--mainColor)}.fc[_ngcontent-%COMP%]     .fc-button-primary:focus, .fc[_ngcontent-%COMP%]     .fc-button:focus{outline:var(--secOto);box-shadow:none}.fc[_ngcontent-%COMP%]     .fc-button{border-radius:var(--rd-32)}.fc[_ngcontent-%COMP%]     .fc-list-day-cushion{background-color:var(--background-color-gray-light)}  .fc-header-toolbar .fc-toolbar-chunk{min-width:235px}  .fc-header-toolbar .fc-toolbar-title{text-align:center}  .fc-daygrid-event-dot{border-color:var(--color-white)!important}  .fc-daygrid-day-number{color:var(--secOto)!important}  .fc-timegrid-axis-cushion.fc-scrollgrid-shrink-cushion.fc-scrollgrid-sync-inner{color:var(--secOto)!important}  .fc-list-event-dot{border-color:var(--secOto)!important}  .fc-daygrid-more-link{color:var(--mainColor)!important}  .fc-list-day-text,   .fc-list-day-side-text,   .fc-col-header-cell-cushion,   .fc-col-header-cell-cushion{color:var(--fontColor)!important}  .fc-timegrid-slot{height:80px!important;text-align:center}  .fc-event-main-frame{text-align:center}  .fc-daygrid-day-frame{background:var(--color-white)}  .fc-daygrid-week-number{color:var(--color-white)!important;border-radius:var(--rd-4);background:var(--secOto)!important}@media (max-width: 767.98px){  .fc-header-toolbar{flex-flow:column!important}}@media (max-width: 767.98px){.timezone__container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-flow:column;flex-wrap:nowrap}.timezone__container[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block}}"]})}return n})(),pathMatch:"full"},{path:"**",component:f.w}];let H=(()=>{class n{static#t=this.\u0275fac=function(r){return new(r||n)};static#e=this.\u0275mod=t.oAB({type:n});static#n=this.\u0275inj=t.cJS({imports:[c.Bz.forChild(N),c.Bz]})}return n})(),R=(()=>{class n{static#t=this.\u0275fac=function(r){return new(r||n)};static#e=this.\u0275mod=t.oAB({type:n});static#n=this.\u0275inj=t.cJS({imports:[H,v.m,u.z]})}return n})()}}]);
2//# sourceMappingURL=src_app_modules_Student_my-schedule_my-schedule_module_ts.6ed968dc1637a9c7.js.map

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.