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tFnR,KAAK+W,oBAAoBK,YAAY9E,MAAqB,EAAMnB,QAGpE,CACFkB,UAAU,kDAnFHuE,GAAezW,wEAAfyW,EAAerD,QAAfqD,EAAe,YAAfA,GAAb,kBCDO,IAAM/F,EAAb,MAAM,sDAAOA,6DAFA,CAACqB,KAAqB1B,SADxB,CAACkH,gBAAuBvG,IAAoBwG,GAAkBC,gBAAyB,CAAChB,QAGtF/F,GAAb,iKCNYgH,EAeX,MAfD,OAAYA,QAAe,KACzBA,gDACAA,yDACAA,sEACAA,gDACAA,iEACAA,0CACAA,wCACAA,uDACAA,2DACAA,yDACAA,+DACAA,+DACAA,2CAbUA,EAAZ,IAAYA,GAeX,GAEM,MAAMC,GAAiBC,QAAaF,EAAgBC,gBAAgBE,WAC9DC,KAAgBF,MAAaF,EAAgBI,iBAAeD,SAC5DE,KAAwBH,MACnCF,EAAgBM,wBAChBH,SAEWI,KAAoBL,MAAaF,EAAgBO,qBAAmBJ,SACpEK,GAA0BN,QAAaF,EAAgBS,wBAAwBN,WAE/EO,GAAeR,QAAaF,EAAgBU,cAAcP,WAC1DQ,GAAcT,QAAaF,EAAgBW,aAAaR,WACxDS,KAAqBV,MAAaF,EAAgBY,sBAAoBT,SACtEU,KAAuBX,MAAaF,EAAgBa,sBACpDC,GAAsBZ,QACjCF,EAAgBc,qBAChBX,WAEWY,KAAyBb,MAAaF,EAAgBe,wBAEtDC,GAAyBd,QAAaF,EAAgBgB,wBAAuBb,WAC7Ec,KAAWf,MAAaF,EAAgBiB,YAAUd,2CCxCxD,MAAM3G,cAA2C0H,qCCCjD,MAAM5H,EAAqB","names":["english","lang","data","titles","course","about_course","target_group","course_content","course_images","practical_information","curriculum","place","meetup_place","select_start_date","select_start_date_first","selected_timeslot","payment","date","participants_number","customer_info","participant","participant_phone_help_message","select_date_time","reviews","read_more_reviews","no_available_seats","sold_out","free_seat","free_seats","more_free_seats","signup_deadline_passed","time_zone_info","rs_member","rs_non_member","become_rs_member","course_days","day","days","check_multi_participant","select_participant","self_participant","participant_form","labels","name","email","phone","placeholders","validations","required","pattern","length","participant_email_help_message","submit_form","action_buttons","back","buy","see_more_dates","login_required","norwegian","TRANSLATION_SCOPE","CourseWrapperComponent","constructor","translationLoader","this","loadTranslations","ngOnInit","i0","selectors","CoursePicturesComponent","slidesToShow","slidesToScroll","autoplay","autoplaySpeed","arrows","infinite","openImagePreviewer","mediaUrl","getExperienceNonDefaultMedia","mediaList","filter","x","default","dirtyDateLeft","dirtyDateRight","requiredArgs","arguments","dateLeftStartOfDay","startOfDay","dateRightStartOfDay","getTime","ClassroomScheduleModalComponent","matDialogRef","identityStoreService","router","authService","destroy$","Subject","userInfo$","getUserProfile","schedules","selectedScheduleId","classroom","instructor","classroomCourse","selectedSchedule","find","s","id","paginateScheduleDate","paginateScheduleTime","multipleParticipant","FormControl","numberOfParticipant","value","disabled","Validators","ngOnChanges","ngOnDestroy","next","complete","selectedScheduleDate","schedule","selectedScheduleTimeId","seats","selectedScheduleTime","bookingLeft","previousDateGroup","dateSlideIndex","nextDateGroup","scheduleDateGroups","previousTimeGroup","timeSlideIndex","nextTimeGroup","scheduleTimeGroups","decreaseParticipant","Number","setValue","increaseParticipant","selectSchedule","close","requestBooking","user","gotoParticipantInfoPage","redirectToBookingRequest","closeWithoutBuying","uniqueSchedules","validSchedules","status","reduce","acc","current","item","isSameDay","parseISO","startDate","concat","curr","i","push","slice","schedulesTimes","navigate","queryParams","format","replaceUrl","navigateByUrl","loginOrRegister","login","url","toString","MAT_DIALOG_DATA","ctx","ClassroomScheduleComponent","matDialog","EventEmitter","onSelectedSchedule","emit","openScheduleModal","showMoreSchedules","open","disableClose","panelClass","afterClosed","pipe","Boolean","subscribe","CourseReviewsComponent","classroomCourseApi","loadReviews","getClassroomCourseReviews","reviewPageCount","reviewPageOffset","shareReplay","reviewList","o","items","_a","takeUntil","map","list","response","ClassroomCourseComponent","route","classroomApi","classroomStore","templateStore","instructorStore","promptDialogService","metaTag","appStoreService","getInstructorProfile","getAvailableSchedule","price","totalPrice","setHomePageFlag","classroomCourseId","snapshot","paramMap","get","getClassroomCourse","tap","fetchTemplate","courseTemplateId","template$","getTemplate","classroomCourseOGMetaTag","fetchAvailableSchedule","fetchInstructorById","instructors","InstructorIncludeType","removeAvailableSchedule","removeOGMetaTag","getDefaultMedia","media","dateRange","rangeDate","requestBookingDate","selectedSlot","selectedDate","result","onSelectedDay","availableSeats","email_verified","showAnonymousPopup","onClickLocation","openPromptDialog","cancelButtonTextTranslate","icon","titleTranslate","messageTranslate","okButtonTextTranslate","reply","rsMember","window","n","reviewTotalCount","total","ClassroomParticipantsComponent","location","fb","countryStoreService","identityStore","bookingStore","customerExperienceApiService","notificationService","params","initParticipantForm","participantForm","controls","participants","countryList$","getCountriesByIds","AllowedCountryList","classroom$","profile","userProfile","backPrevious","getSchedule","convertToGroup","checkSelfParticipant","participantGroup","selfParticipant","sub","phone_number","phonePrefix","extractPhoneNumber","patchValue","disable","enable","checkParticipantIdentity","checkPartnerIdentity","first","error","classroomFeatureKey","saveParticipants","getRawValue","addParticipants","scheduleId","skipLocationChange","group","array","isInvalidEmail","validators","PhoneNumberValidators","validateEmail","_b","getEmailValidation","isEmpty","isNull","isUndefined","take","isValid","emailSuggestion","suggestion","routes","path","component","resolve","countries","CountryResolver","children","ClassroomCourseResolver","pathMatch","ClassroomRoutingModule","RouterModule","ClassroomModule","CountryStoreService","imports","CommonModule","SharedModule","ClassroomStoreModule","InstructorClientModule","TemplateStoreModule","TranslocoModule","BookingClientModule","CountryStoreModule","getTemplateFeature","createFeatureSelector","templateFeatureKey","selectAll","templateAdapter","getTemplates","createSelector","getStudentTemplates","templates","template","type","getInstructorTemplates","getClassroomFilter","state","classroomFilter","getClassroomCourses","classrooms","TemplateStoreService","store","fetchTemplates","dispatch","fromAction","addTemplateFilter","getTemplateFilter","EMPTY","addClassroomFilter","resetClassroomFilter","select","fromSelector","templateId","Guid","entities","slug","fetchClassroomCourse","removeClassroomCourses","fetchAllTemplates","requestClassroomCourse","courseRequest","factory","initialState","selectedId","ClassroomCourseFilter","totalCount","_templateReducer","createReducer","on","Object","action","templateType","locations","languages","instant","accessible","petFriendly","onlyApprove","onlyFeatureTour","onlyPublished","adultsOnly","onlyPending","capacity","userId","fromDate","toDate","times","cities","search","TemplateApiService","BaseApiService","http","configService","super","config","getCurrent","services","TemplateFilter","HttpParams","append","String","getAllWithPagination","baseUrl","fetchTemplatesSlotCount","classroomBaseUrl","fetchTemplateClassroom","join","onlyWithAvailableSlot","dateFilter","sort","requestCourse","courseRequestBody","post","classroomCourseRequestBaseUrl","TemplateEffects","actions$","templateApi","effectHelperService","createEffect","ofType","switchMap","handleSuccess","handleError","mergeMap","templatesSlotCount","templateList","availableSlots","hasOwnProperty","StoreModule","templateReducer","EffectsModule","TemplateActions","FetchTemplates","createAction","props","FetchTemplate","FetchClassroomCourses","FetchClassroomCourse","FetchAllTemplates","FetchTemplatesSlotCount","FetchTemplateSlotCount","AddTemplates","AddTemplate","AddClassroomFilter","ResetClassroomFilter","AddClassroomCourses","RemoveClassroomCourses","RequestClassroomCourse","AddError","createEntityAdapter"],"sources":["./src/app/modules/course/classroom/i18n/en.ts","./src/app/modules/course/classroom/i18n/nb.ts","./src/app/modules/course/classroom/i18n/scope.ts","./src/app/modules/course/classroom/pages/wrapper/wrapper.component.ts","./src/app/modules/course/classroom/pages/wrapper/wrapper.component.html","./src/app/modules/course/classroom/components/course-pictures/course-pictures.component.html","./src/app/modules/course/classroom/components/course-pictures/course-pictures.component.ts","./node_modules/date-fns/esm/isSameDay/index.js","./src/app/modules/course/classroom/components/classroom-schedules-modal/classroom-schedules-modal.component.html","./src/app/modules/course/classroom/components/classroom-schedules-modal/classroom-schedules-modal.component.ts","./src/app/modules/course/classroom/components/classroom-schedules/classroom-schedules.component.html","./src/app/modules/course/classroom/components/classroom-schedules/classroom-schedules.component.ts","./src/app/modules/course/classroom/components/course-reviews/course-reviews.component.html","./src/app/modules/course/classroom/components/course-reviews/course-reviews.component.ts","./src/app/modules/course/classroom/pages/classroom-course/classroom-course.component.html","./src/app/modules/course/classroom/pages/classroom-course/classroom-course.component.ts","./src/app/modules/course/classroom/pages/classroom-participants/classroom-participants.component.html","./src/app/modules/course/classroom/pages/classroom-participants/classroom-participants.component.ts","./src/app/modules/course/classroom/classroom-routing.module.ts","./src/app/modules/course/classroom/classroom.module.ts","./src/app/modules/template/student/store/template.selector.ts","./src/app/modules/template/student/store/services/template-store.service.ts","./src/app/modules/template/student/store/template.reducer.ts","./src/app/modules/template/student/models/template-filter.ts","./src/app/modules/template/student/store/services/template-api.service.ts","./src/app/modules/template/student/store/template.effects.ts","./src/app/modules/template/student/store/template-store.module.ts","./src/app/modules/template/student/store/template.action.ts","./src/app/modules/template/student/store/template.entity.ts","./src/app/modules/template/student/store/template.state.ts"],"sourcesContent":["export const english = {\n lang: 'en',\n data: {\n titles: {\n course: 'Course',\n about_course: 'About this Course',\n target_group: 'Target Group',\n course_content: 'Course Content',\n course_images: 'Images',\n practical_information: 'Pratical information',\n curriculum: 'Curriculum',\n place: 'Place',\n meetup_place: 'Meetup place',\n select_start_date: 'Select Date',\n select_start_date_first: 'Select Date First',\n selected_timeslot: 'Select Timeslot',\n payment: 'Participant',\n date: 'Date',\n participants_number: 'Number of participants',\n customer_info: 'Customer information',\n participant: 'Participant',\n participant_phone_help_message: 'We will look for participant by this phone number.',\n select_date_time: 'Select Date and Time'\n },\n reviews: 'Reviews',\n read_more_reviews: 'Read more reviews',\n no_available_seats: 'No available seats',\n sold_out: 'Sold out',\n free_seat: 'free seat',\n free_seats: 'free seats',\n more_free_seats: 'or more free seats',\n signup_deadline_passed: 'Signup deadline passed',\n time_zone_info: 'Times are shown in local time, please be aware if you are in a different time zone.',\n rs_member: 'RS-member',\n rs_non_member: 'Price',\n become_rs_member: 'Become an RS-member',\n course_days: 'Number of course days',\n day: 'Day',\n days: 'Days',\n check_multi_participant: \"Are you buying the course for {{ count }} other person(s)?\",\n select_participant: \"Select the number of participants\",\n self_participant: 'Are you going to sign up for the course?',\n participant_form: {\n labels: {\n name: 'Name',\n email: 'Email',\n phone: 'Phone'\n },\n placeholders: {\n name: 'Enter the name of the person who will receive the course',\n email: 'Enter an email to the person who will receive the course',\n phone: 'Enter the telephone number of the person who will receive the course'\n },\n validations: {\n name: {\n required: 'Name of the participant is required'\n },\n email: {\n required: 'Email of the participant is required.',\n email: 'This looks like an invalid email address. Are you sure it is spelled correctly?',\n },\n phone: {\n required: 'Phone number of participant is required.',\n pattern: 'Please use number only when providing your phonenumber.',\n length: 'Provided phone number is not valid.'\n }\n },\n participant_phone_help_message: 'We will look for existing RS Sjøliv users by this phone number. If nothing appears, also enter the participant\\'s name and email.',\n participant_email_help_message: 'Remember that the email address must be the same as the one (you or the person you buy the course for) logs in/registers with to gain access to the course.',\n submit_form: 'Complete Payment'\n },\n action_buttons: {\n back: 'Back',\n buy: 'Buy',\n see_more_dates: 'See more dates',\n login_required: 'Login or register'\n }\n },\n};\n","export const norwegian = {\n lang: 'nb',\n data: {\n titles: {\n course: 'Kurs',\n about_course: 'Om dette kurset',\n target_group: 'Målgruppe',\n course_content: 'Kursinnhold',\n course_images: 'Bilder',\n practical_information: 'Praktisk informasjon',\n curriculum: 'Læringsplan',\n place: 'Sted',\n meetup_place: 'Møtested',\n select_start_date: 'Velg dato',\n select_start_date_first: 'Velg dato først',\n selected_timeslot: 'Velg tid',\n payment: 'Deltagere',\n date: 'Dato',\n participants_number: 'Antall deltagere',\n customer_info: 'Kundeopplysninger',\n participant: 'Deltager',\n select_date_time: 'Velg dato og klokkeslett'\n },\n reviews: 'Tilbakemeldinger',\n read_more_reviews: 'Les flere tilbakemeldinger',\n no_available_seats: 'Ingen ledige plasser',\n sold_out: 'Utsolgt',\n free_seat: 'ledig plass',\n free_seats: 'ledige plasser',\n more_free_seats: 'eller flere ledige plasser',\n signup_deadline_passed: 'Påmeldingsfrist utløpt',\n time_zone_info: 'Klokkeslettene vises i lokal tid, vær obs dersom du er i en annen tidssone.',\n rs_member: 'RS-medlem',\n rs_non_member: 'Pris',\n become_rs_member: 'Bli RS-medlem',\n course_days: 'Antall kursdager',\n day: 'dag',\n days: 'dager',\n check_multi_participant: \"Kjøper du kurs for {{ count }} andre?\",\n select_participant: \"Velg antall deltakere\",\n self_participant: 'Skal du melde deg selv på kurset?',\n participant_form: {\n labels: {\n name: 'NAVN',\n email: 'E-POST',\n phone: 'TELEFONNUMMER'\n },\n placeholders: {\n name: 'Skriv inn navn til den som skal få kurset',\n email: 'Skriv inn e-post til den som skal få kurset',\n phone: 'Skriv inn telefonnummer til den som skal få kurset'\n },\n validations: {\n name: {\n required: 'Navn på deltaker er påkrevd.'\n },\n email: {\n required: 'E-post til deltakeren er påkrevd.',\n email: 'Det kan se ut som dette er en feilstavet e-postadresse, dobbeltsjekk gjerne at den er korrekt før du går videre.',\n },\n phone: {\n required: 'Telefonnummeret til deltakeren er påkrevd.',\n pattern: 'Vennligst oppgi telefonnummer med tall.',\n length: 'Oppgitt telefonnummer er ikke gyldig.'\n }\n },\n participant_phone_help_message: 'Vi ser etter eksisterende RS Sjøliv-brukere på telefonnummer. Hvis ingenting dukker opp, skriv også inn navn og e-post.',\n participant_email_help_message: 'Husk at e-postadressen må være den samme som man (du eller den du kjøper kurs for) logger inn/registrerer seg med for å få tilgang til kurset.',\n submit_form: 'FULLFØR BETALING'\n },\n action_buttons: {\n back: 'Tilbake',\n buy: 'Kjøp',\n see_more_dates: 'Se mer',\n login_required: 'Innlogging kreves'\n }\n },\n};\n","export const TRANSLATION_SCOPE = 'classroom'","import { Component, OnInit, ViewEncapsulation } from '@angular/core';\nimport { TranslationLoaderService } from '@core/services/translation-loader.service';\nimport { english } from '../../i18n/en';\nimport { norwegian } from '../../i18n/nb';\nimport { TRANSLATION_SCOPE } from '../../i18n/scope';\n\n@Component({\n selector: 'app-wrapper',\n templateUrl: './wrapper.component.html',\n styleUrls: ['./wrapper.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class CourseWrapperComponent implements OnInit {\n constructor(private translationLoader: TranslationLoaderService) {\n this.translationLoader.loadTranslations(TRANSLATION_SCOPE,english, norwegian);\n }\n\n ngOnInit() {}\n}\n","\n","\n
\n
\n

{{translationScope+'.titles.course_images' | transloco}}

\n

{{ mediaTitle }}

\n
\n\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n
\n\n
\n
\n \n \n \n \n \n
\n
\n
\n
\n
\n","import { Component, Input, OnInit } from '@angular/core';\nimport { Multimedia } from '@shared/models/multimedia';\nimport { TRANSLATION_SCOPE } from '../../i18n/scope';\n\n@Component({\n selector: 'app-course-pictures',\n templateUrl: './course-pictures.component.html',\n styleUrls: ['./course-pictures.component.scss'],\n})\nexport class CoursePicturesComponent implements OnInit {\n @Input() medias: Multimedia[];\n @Input() mediaTitle: string;\n translationScope = TRANSLATION_SCOPE;\n slideConfig = {\n slidesToShow: 1.5,\n slidesToScroll: 1,\n autoplay: false,\n autoplaySpeed: 3000,\n arrows: true,\n infinite: false,\n };\n\n constructor() {}\n\n ngOnInit() {}\n\n openImagePreviewer(mediaUrl: any): void {}\n\n getExperienceNonDefaultMedia(mediaList: Multimedia[]): Multimedia[] {\n return mediaList.filter((x) => x.default === false);\n }\n}\n","import startOfDay from \"../startOfDay/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isSameDay\n * @category Day Helpers\n * @summary Are the given dates in the same day (and year and month)?\n *\n * @description\n * Are the given dates in the same day (and year and month)?\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} dateLeft - the first date to check\n * @param {Date|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same day (and year and month)\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Are 4 September 06:00:00 and 4 September 18:00:00 in the same day?\n * var result = isSameDay(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 18, 0))\n * //=> true\n * \n * @example\n * // Are 4 September and 4 October in the same day?\n * var result = isSameDay(new Date(2014, 8, 4), new Date(2014, 9, 4))\n * //=> false\n * \n * @example\n * // Are 4 September, 2014 and 4 September, 2015 in the same day?\n * var result = isSameDay(new Date(2014, 8, 4), new Date(2015, 8, 4))\n * //=> false\n */\n\nexport default function isSameDay(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeftStartOfDay = startOfDay(dirtyDateLeft);\n var dateRightStartOfDay = startOfDay(dirtyDateRight);\n return dateLeftStartOfDay.getTime() === dateRightStartOfDay.getTime();\n}","
\n \n \n \n \n
{{ translationScope + '.titles.select_date_time' | transloco}}
\n
\n
\n\n
\n \n
\n \n
\n
{{ translationScope + '.titles.select_start_date' | transloco }}
\n \n
\n
\n
\n \n {{ schedule.startDate | date: 'dd.MM.yyyy' }}\n
\n
\n
\n
\n
\n\n
1\">\n \n {{ dateSlideIndex }} /{{ scheduleDateGroups.length }}\n \n
\n
\n\n
\n
\n
{{ translationScope + '.titles.selected_timeslot' | transloco }}
\n
\n
\n
\n \n {{ schedule.startDate | date: 'HH:mm' }}\n
\n
\n
\n
\n
\n\n
\n {{ translationScope+'.time_zone_info' | transloco }}\n
\n\n
1\">\n \n {{ timeSlideIndex }} /{{ scheduleTimeGroups.length }}\n \n
\n
\n\n \n
\n \n \n = 4; else fewTimeSlots\">\n {{seats}} {{translationScope+'.more_free_seats' | transloco}}\n \n \n \n\n \n = 2; else oneTimeSlot\">\n {{seats}} {{translationScope+'.free_seats' | transloco}}\n \n \n \n \n {{seats}} {{translationScope+'.free_seat' | transloco}}\n \n \n \n
{{translationScope+'.sold_out' | transloco}}
\n
\n\n \n
{{translationScope+'.signup_deadline_passed' | transloco}}
\n
\n
\n\n
0\">\n
\n
\n \n \n
\n\n
\n
\n {{ translationScope + '.select_participant' | transloco }}\n
\n\n
\n
\n
\n \n
\n \n
\n \n
\n
\n
\n
\n
\n
\n\n \n\n
\n
\n \n\n \n \n {{translationScope+'.action_buttons.buy' | transloco}}\n \n \n\n \n \n {{translationScope+'.action_buttons.login_required' | transloco}}\n \n \n
\n
\n\n","import { Component, Inject, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core';\nimport { FormControl, Validators } from '@angular/forms';\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\nimport { Router } from '@angular/router';\nimport { AuthService } from '@core/services/auth.service';\nimport { TRANSLATION_SCOPE } from '@modules/course/classroom/i18n/scope';\nimport { UserProfile } from '@modules/identity/models/user';\nimport { IdentityStoreService } from '@modules/identity/store/services/identity-store.service';\nimport { Instructor } from '@modules/instructor/models/instructor';\nimport { format, isSameDay, parseISO } from 'date-fns';\nimport { Observable, Subject } from 'rxjs';\nimport { AvailableSchedule, ClassroomCourse } from '../../models';\n\n\n@Component({\n selector: 'app-classroom-schedules-modal',\n templateUrl: './classroom-schedules-modal.component.html',\n styleUrls: ['./classroom-schedules-modal.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class ClassroomScheduleModalComponent implements OnInit, OnDestroy {\n\n translationScope = TRANSLATION_SCOPE;\n\n schedules: any[] = [];\n\n selectedSchedule = null;\n selectedScheduleId = 0;\n selectedScheduleTimeId = 0;\n dateSlideIndex = 1;\n timeSlideIndex = 1;\n scheduleDateGroups: any[] = [];\n scheduleTimeGroups: any[] = [];\n\n seats = 0;\n\n multipleParticipant: FormControl = null;\n numberOfParticipant: FormControl = null;\n\n classroomCourse: ClassroomCourse;\n\n userInfo$: Observable;\n instructor: Instructor;\n\n\n private destroy$: Subject;\n\n constructor(\n public matDialogRef: MatDialogRef,\n @Inject(MAT_DIALOG_DATA) public data: any,\n private identityStoreService: IdentityStoreService,\n private router: Router,\n private authService: AuthService\n ) {\n this.destroy$ = new Subject();\n this.userInfo$ = this.identityStoreService.getUserProfile();\n }\n\n ngOnInit() {\n const { schedules, selectedScheduleId, classroom, instructor } = this.data;\n this.classroomCourse = classroom;\n this.instructor = instructor;\n this.schedules = schedules;\n this.selectedScheduleId = selectedScheduleId;\n const selectedSchedule = schedules.find((s) => s.id === selectedScheduleId );\n\n this.paginateScheduleDate();\n if(selectedScheduleId) {\n this.paginateScheduleTime(selectedSchedule);\n }\n\n this.multipleParticipant = new FormControl(false);\n this.numberOfParticipant = new FormControl({value: 1, disabled: true}, [Validators.min(1)]);\n }\n\n ngOnChanges(): void {\n this.paginateScheduleDate();\n }\n\n ngOnDestroy(): void {\n this.destroy$.next();\n this.destroy$.complete();\n }\n\n selectedScheduleDate(schedule: AvailableSchedule) {\n\n this.selectedScheduleId = schedule.id;\n\n this.selectedSchedule = null;\n this.selectedScheduleTimeId = 0;\n this.seats = 0;\n this.paginateScheduleTime(schedule);\n }\n\n selectedScheduleTime(schedule: AvailableSchedule) {\n this.selectedSchedule = schedule;\n this.selectedScheduleTimeId = schedule.id;\n this.seats = schedule.bookingLeft;\n }\n\n previousDateGroup() {\n if (this.dateSlideIndex > 1) this.dateSlideIndex -= 1;\n }\n\n nextDateGroup() {\n if (this.dateSlideIndex < this.scheduleDateGroups.length) this.dateSlideIndex += 1;\n }\n\n previousTimeGroup() {\n if (this.timeSlideIndex > 1) this.timeSlideIndex -= 1;\n }\n\n nextTimeGroup() {\n if (this.timeSlideIndex < this.scheduleTimeGroups.length) this.timeSlideIndex += 1;\n }\n\n decreaseParticipant(): void {\n const value = Number(this.numberOfParticipant.value)\n if(value > 1) this.numberOfParticipant.setValue(value-1)\n }\n\n increaseParticipant(): void {\n const value = Number(this.numberOfParticipant.value)\n if(value < this.seats) this.numberOfParticipant.setValue(value+1)\n }\n\n selectSchedule(): void {\n this.matDialogRef.close({\n schedule: this.selectedSchedule,\n multipleParticipant: this.multipleParticipant.value,\n numberOfParticipant: this.numberOfParticipant.value\n });\n }\n\n requestBooking(user: any) {\n if (this.selectSchedule) {\n if(this.multipleParticipant.value) {\n this.gotoParticipantInfoPage();\n } else {\n this.redirectToBookingRequest();\n }\n this.matDialogRef.close({ closeWithoutBuying: false });\n }\n }\n\n paginateScheduleDate() {\n // filter only valid schedule\n let validSchedules = this.schedules.filter((schedule) => schedule.status != false);\n\n const uniqueSchedules = validSchedules.reduce((acc, current) => {\n const x = acc.find((item) => isSameDay(parseISO(item.startDate), parseISO(current.startDate)));\n if (!x) {\n return acc.concat([current]);\n } else {\n return acc;\n }\n }, []);\n\n // group schedules by 9 items\n this.scheduleDateGroups = uniqueSchedules.reduce((acc, curr, i) => {\n if (!(i % 9)) {\n acc.push(uniqueSchedules.slice(i, i + 9));\n }\n return acc;\n }, []);\n }\n\n paginateScheduleTime(schedule) {\n const schedulesTimes = this.schedules.filter((item) =>\n isSameDay(parseISO(item.startDate), parseISO(schedule.startDate))\n );\n\n this.scheduleTimeGroups = schedulesTimes.reduce((acc, curr, i) => {\n if (!(i % 6)) {\n acc.push(schedulesTimes.slice(i, i + 6));\n }\n return acc;\n }, []);\n }\n\n private gotoParticipantInfoPage() {\n this.router.navigate([`/kurs/participants/`], {\n queryParams: {\n id: this.classroomCourse.id,\n date: format(parseISO(this.selectedSchedule.startDate), 'yyyy-MM-dd'),\n schedule: this.selectedSchedule.id,\n participant: this.numberOfParticipant.value\n },\n replaceUrl: false\n });\n }\n\n redirectToBookingRequest() {\n const startDate = format(parseISO(this.selectedSchedule.startDate), 'yyyy-MM-dd');\n this.router.navigateByUrl(\n `/booking/${this.classroomCourse.id}/classroom/request/${startDate}?scheduleId=${this.selectedSchedule.id}`\n );\n }\n\n loginOrRegister() {\n this.authService.login(this.router.url.toString());\n this.matDialogRef.close();\n }\n\n closeWithoutBuying() {\n this.matDialogRef.close({ closeWithoutBuying: true });\n }\n}\n","\n
\n \n
\n
{{translationScope+'.titles.select_start_date_first' | transloco}}
\n \n
\n
\n
\n \n {{ schedule.startDate | date: 'dd.MM.yyyy' }}\n
\n
\n 1\">\n
\n \n
\n
\n
\n
\n
\n\n \n\n\n
\n \n\n
\n
{{ translationScope + '.titles.selected_timeslot' | transloco }}
\n
\n
\n
\n {{ selectedSchedule.startDate | date: 'HH:mm' }}\n
\n
\n
\n
\n\n \n
\n","import { Component, EventEmitter, Input, OnChanges, OnInit, Output } from '@angular/core';\nimport { MatDialog } from '@angular/material/dialog';\nimport { Instructor } from '@modules/instructor/models/instructor';\nimport { isSameDay, parseISO } from 'date-fns';\nimport { TRANSLATION_SCOPE } from '../../i18n/scope';\nimport { AvailableSchedule, ClassroomCourse } from '../../models/classroom-course';\nimport { ClassroomScheduleModalComponent } from '../classroom-schedules-modal/classroom-schedules-modal.component';\nimport { filter } from \"rxjs/operators\";\n\n@Component({\n selector: 'app-classroom-schedules',\n templateUrl: './classroom-schedules.component.html',\n styleUrls: ['./classroom-schedules.component.scss'],\n})\nexport class ClassroomScheduleComponent implements OnInit, OnChanges {\n @Input() schedules: AvailableSchedule[] = [];\n @Input() multipleParticipant: boolean = false;\n @Input() numberOfParticipant: number = 0;\n @Input() classroom: ClassroomCourse;\n @Input() instructor: Instructor;\n\n @Output() onSelectedSchedule = new EventEmitter();\n\n selectedScheduleId = 0;\n selectedScheduleTimeId = 0;\n dateSlideIndex = 1;\n timeSlideIndex = 1;\n scheduleDateGroups: any[] = [];\n scheduleTimeGroups: any[] = [];\n\n selectedSchedule = null;\n\n translationScope = TRANSLATION_SCOPE;\n\n constructor(\n private matDialog: MatDialog,\n ) {}\n\n ngOnInit() {}\n\n ngOnChanges(): void {\n this.paginateScheduleDate();\n }\n\n selectedScheduleDate(schedule?: AvailableSchedule) {\n this.selectedScheduleId = schedule.id;\n this.selectedScheduleTimeId = 0;\n this.timeSlideIndex = 1;\n this.onSelectedSchedule.emit(null);\n this.paginateScheduleTime(schedule);\n this.openScheduleModal();\n }\n\n showMoreSchedules() {\n this.selectedSchedule = null;\n this.selectedScheduleId = null;\n this.onSelectedSchedule.emit(null);\n this.openScheduleModal();\n }\n\n selectedScheduleTime(schedule: AvailableSchedule) {\n this.selectedScheduleTimeId = schedule.id;\n this.onSelectedSchedule.emit(schedule);\n }\n\n previousDateGroup() {\n if (this.dateSlideIndex > 1) this.dateSlideIndex -= 1;\n }\n\n nextDateGroup() {\n if (this.dateSlideIndex < this.scheduleDateGroups.length) this.dateSlideIndex += 1;\n }\n\n previousTimeGroup() {\n if (this.timeSlideIndex > 1) this.timeSlideIndex -= 1;\n }\n\n nextTimeGroup() {\n if (this.timeSlideIndex < this.scheduleTimeGroups.length) this.timeSlideIndex += 1;\n }\n\n paginateScheduleDate() {\n const uniqueSchedules = this.schedules.reduce((acc, current) => {\n const x = acc.find((item) => isSameDay(parseISO(item.startDate), parseISO(current.startDate)));\n if (!x) {\n return acc.concat([current]);\n } else {\n return acc;\n }\n }, []);\n\n // group schedules by 9 items\n this.scheduleDateGroups = uniqueSchedules.reduce((acc, curr, i) => {\n if (!(i % 9)) {\n acc.push(uniqueSchedules.slice(i, i + 9));\n }\n return acc;\n }, []);\n }\n\n paginateScheduleTime(schedule: AvailableSchedule) {\n const schedulesTimes = this.schedules.filter((item) =>\n isSameDay(parseISO(item.startDate), parseISO(schedule.startDate))\n );\n\n this.scheduleTimeGroups = schedulesTimes.reduce((acc, curr, i) => {\n if (!(i % 3)) {\n acc.push(schedulesTimes.slice(i, i + 3));\n }\n return acc;\n }, []);\n }\n\n private openScheduleModal(): void {\n this.matDialog.open(ClassroomScheduleModalComponent, {\n data: {\n schedules: this.schedules,\n selectedScheduleId: this.selectedScheduleId,\n classroom: this.classroom,\n instructor: this.instructor\n },\n disableClose: true,\n panelClass: 'classroom-schedules-modal',\n }).afterClosed().pipe(filter(({closeWithoutBuying}) => Boolean(closeWithoutBuying))).subscribe(() => {\n this.selectedScheduleId = null;\n });\n }\n}\n","
\n
\n

{{translationScope+'.reviews' | transloco}}

\n

{{ reviewsTitle }}

\n
\n\n
0)\" class=\"reviews\">\n \n \n
\n\n \n
\n","import { Component, Input, OnDestroy, ViewEncapsulation } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { filter, map, shareReplay, takeUntil } from 'rxjs/operators';\nimport { ClassroomCourseApiService } from '../../store/services/classroom-course.api.service';\nimport { Review } from '@shared/models/review';\nimport { ClassroomCourse } from '../../models/classroom-course';\nimport { TRANSLATION_SCOPE } from '../../i18n/scope';\n\n@Component({\n selector: 'app-course-reviews',\n templateUrl: './course-reviews.component.html',\n styleUrls: ['./course-reviews.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class CourseReviewsComponent implements OnDestroy {\n\n @Input() course: ClassroomCourse;\n\n @Input() reviews: Review[] = [];\n @Input() reviewsTitle: string;\n @Input() reviewTotalCount: number;\n\n reviewPageCount = 1;\n reviewPageOffset = 3;\n\n translationScope = TRANSLATION_SCOPE;\n\n private destroy$: Subject;\n\n constructor(\n private classroomCourseApi: ClassroomCourseApiService,\n ) {\n this.destroy$ = new Subject();\n }\n\n\n ngOnDestroy(): void {\n this.destroy$.next();\n this.destroy$.complete();\n }\n\n\n\n public loadReviews(): void {\n this.classroomCourseApi\n .getClassroomCourseReviews(this.course.id, this.reviewPageCount++, this.reviewPageOffset)\n .pipe(\n shareReplay(1),\n filter(reviewList => Boolean(reviewList.items?.length && reviewList.items.length > 0)),\n takeUntil(this.destroy$),\n map((list) => {\n return list.items;\n })\n ).subscribe((response) =>{\n this.reviews = this.reviews.concat(response)\n });\n }\n\n}\n","
\n
\n
\n \n\n
\n
\n
\n \n
\n
\n \n
{{translationScope+'.titles.course' | transloco}}
\n

{{ classroomCourse.title }}

\n
0\">\n
\n \n 0\">{{ classroomCourse?.rating | number:'1.1-1' }}\n 0\n
\n
\n
\n \n \"Pin\"\n \n {{ classroomCourse.address.city }}, {{ classroomCourse.regions[0].name }}\n \n \n Webinar\n \n \n
\n\n
\n
\n
\n
\n
\n
\n\n\n
\n
\n
\n
\n
\n
\n

{{ classroomCourse.isWebinar ? 'Webinar' : (translationScope+'.titles.place' | transloco)}}

\n
\n

\n \n {{ classroomCourse.address.city }}, {{ classroomCourse.regions[0].name }}\n \n

\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n\n
\n \n \n
\n
\n \n
\n\n
\n
\n

{{translationScope+'.titles.meetup_place' | transloco}}

\n
\n

\n {{ classroomCourse.address.streetAddress }}\n
\n {{ classroomCourse.location }}\n

\n\n \n \n
\n
\n \n
\n
\n \n \n
\n\n \n\n \n\n
\n

{{translationScope+'.check_multi_participant' | transloco: {count: numberOfParticipant} }}

\n
\n\n
\n
\n \n
\n
\n
0\" class=\"col-6\">\n
\n
{{translationScope+'.rs_member' | transloco}}
\n
\n {{ classroomCourse.pricePerMember }}\n NOK\n
\n
\n
\n
\n
\n
{{translationScope+'.rs_non_member' | transloco}}
\n
\n {{ classroomCourse.pricePerStudent }}\n NOK\n
\n
\n
\n\n
\n \n
\n\n
\n
\n
{{translationScope+'.course_days' | transloco}}
\n
\n {{ classroomCourse.duration }}\n {{translationScope+'.day' | transloco}}\n \n {{translationScope+'.days' | transloco}}\n \n
\n
\n
\n
\n
\n \n
\n
\n
\n \n
\n\n","import { Component, OnDestroy, OnInit } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { Observable, Subject } from 'rxjs';\nimport { filter, map, shareReplay, takeUntil, tap } from 'rxjs/operators';\nimport { Multimedia } from '@shared/models/multimedia';\nimport { Template } from '@modules/template/student/models/template';\nimport { ClassroomCourse } from '../../models';\nimport { Review } from '@shared/models/review';\nimport { UserProfile } from '@modules/identity/models/user';\nimport { ClassroomCourseStoreService } from '../../store/services/classroom-course.store.service';\nimport { IdentityStoreService } from '@modules/identity/store/services/identity-store.service';\nimport { Instructor } from '@modules/instructor/models/instructor';\nimport { InstructorStoreService } from '@modules/instructor/client/store/instructor.store.service';\nimport { AuthService } from '@core/services/auth.service';\nimport { TemplateStoreService } from '@modules/template/student/store/services/template-store.service';\nimport { format, parseISO } from 'date-fns';\nimport { PromptDialogService } from '@shared/modals/prompt/prompt.service';\nimport { MetaTagService } from '@core/services/meta-tag.service';\nimport { TRANSLATION_SCOPE } from '../../i18n/scope';\nimport { ClassroomCourseApiService } from '../../store/services/classroom-course.api.service';\nimport { AppStoreService } from '@core/store/app-store.service';\nimport { InstructorIncludeType } from \"@modules/instructor/enums/instructor-include-type\";\n\n\n@Component({\n selector: 'app-classroom-course',\n templateUrl: './classroom-course.component.html',\n styleUrls: ['./classroom-course.component.scss']\n})\nexport class ClassroomCourseComponent implements OnInit, OnDestroy {\n classroomCourseId: string;\n classroomCourse: ClassroomCourse;\n template$: Observable