{"version":3,"file":"index.C4RYRnMs.js","sources":["../../../../../../src/lib/utils/courses/type-store/index.ts"],"sourcesContent":["import { writable, type Writable } from 'svelte/store';\nimport { CourseLightModel, stringToSlug } from \"@24hbs/utils\";\nimport type { CourseTypesListCourses, TopCoursesByCourseType } from './types';\n\nexport enum CourseType {\n CorsiExecutive,\n CorsiLaurea,\n CorsiOnline,\n ExecutiveMaster,\n ExecutiveMBA,\n MasterPostLaureaConStage,\n Masterclass,\n MBAFullTime,\n MBAPartTime,\n ProfessionalMaster,\n StudyTour,\n MasterOnline,\n}\n\nconst courseTypeMap = [\n CourseType.CorsiExecutive,\n CourseType.CorsiLaurea,\n CourseType.CorsiOnline,\n CourseType.ExecutiveMaster,\n CourseType.ExecutiveMBA,\n CourseType.MasterPostLaureaConStage,\n CourseType.Masterclass,\n CourseType.MBAFullTime,\n CourseType.MBAPartTime,\n CourseType.ProfessionalMaster,\n CourseType.StudyTour,\n CourseType.MasterOnline,\n];\n\nexport class CourseTypeStore {\n private static courseTypesStore: CourseTypeStore|null;\n \n public courseTypesBestSellerCourses: Writable = >writable(CourseTypeStore.initCourseTypesListCourses());\n \n public static getInstance(): CourseTypeStore{\n \n if (CourseTypeStore.courseTypesStore == null) {\n CourseTypeStore.courseTypesStore = new CourseTypeStore();\n }\n return CourseTypeStore.courseTypesStore;\n }\n \n private constructor() {\n //console.log(\"Building course types store...\");\n }\n \n public loadPreloadedCourseTypes(topCoursesByCourseType: TopCoursesByCourseType){\n \n this.courseTypesBestSellerCourses.update( current => {\n current = topCoursesByCourseType.bestSellerCourses\n return current;\n });\n }\n \n \n public static initTopCoursesByCourseType(): TopCoursesByCourseType{\n return {\n bestSellerCourses: CourseTypeStore.initCourseTypesListCourses()\n };\n }\n \n public static fromJSON (topCoursesObj: TopCoursesByCourseType): TopCoursesByCourseType {\n //console.log(\"Converting from JSON TopCoursesByCourseType: \",topCoursesObj);\n const topCoursesByCourseType = {\n bestSellerCourses: CourseTypeStore.initCourseTypesListCourses()\n }\n for (let i = 0; i < topCoursesObj.bestSellerCourses.types.length; i++) {\n // console.log(\"Checking bestSellerCourses for \",i,\" :\",topCoursesObj.bestSellerCourses.types[i].courses);\n if(topCoursesObj.bestSellerCourses?.types[i]) {\n for (let k = 0; k < topCoursesObj.bestSellerCourses.types[i].courses.length; k++) {\n const course = CourseLightModel.fromJSON(topCoursesObj.bestSellerCourses.types[i].courses[k]);\n topCoursesByCourseType.bestSellerCourses.types[i].courses.push(course);\n }\n }\n }\n \n return topCoursesByCourseType;\n }\n \n private static initCourseTypesListCourses (): CourseTypesListCourses {\n const courseTypesListCourses: CourseTypesListCourses = {\n types: []\n };\n for (const courseTypeKey of courseTypeMap) {\n courseTypesListCourses.types[courseTypeKey] = {\n courses: []\n }\n }\n \n return courseTypesListCourses;\n };\n \n private static isValidCourseType (courseType: CourseType): boolean {\n if (courseType >= 0 && courseType <= 11) {\n return true;\n } else {\n return false;\n }\n };\n\n public static getAllCourseTypes (): CourseType[] {\n return courseTypeMap;\n }\n \n public static getCourseTypeByFieldName (remoteSettingsFieldName: string): number {\n switch (remoteSettingsFieldName) {\n case \"bestSellerCorsiExecutive\":\n return CourseType.CorsiExecutive;\n \n case \"bestSellerCorsiLaurea\":\n return CourseType.CorsiLaurea;\n \n case \"bestSellerCorsiOnline\":\n return CourseType.CorsiOnline;\n \n case \"bestSellerExecutiveMaster\":\n return CourseType.ExecutiveMaster;\n \n case \"bestSellerExecutiveMBA\":\n return CourseType.ExecutiveMBA;\n \n case \"bestSellerMasterPostLaureaConStage\":\n return CourseType.MasterPostLaureaConStage;\n \n case \"bestSellerMasterclass\":\n return CourseType.Masterclass;\n \n case \"bestSellerMBAFullTime\":\n return CourseType.MBAFullTime;\n \n case \"bestSellerMBAPartTime\":\n return CourseType.MBAPartTime;\n \n case \"bestSellerProfessionalMaster\":\n return CourseType.ProfessionalMaster;\n \n case \"bestSellerStudyTour\":\n return CourseType.StudyTour;\n \n case \"bestSellerMasterOnline\":\n return CourseType.MasterOnline;\n \n \n default:\n return -1;\n }\n };\n \n public static getCourseTypeByCourseTypeName (courseTypeName: string): number {\n switch (courseTypeName.toLowerCase()) {\n case \"corsi executive\":\n return CourseType.CorsiExecutive;\n \n case \"corsi laurea\":\n case \"corsi di laurea\":\n return CourseType.CorsiLaurea;\n \n case \"corsi on demand\":\n case \"corsi ondemand\":\n case \"corsi on line\":\n case \"corsi online\":\n return CourseType.CorsiOnline;\n \n case \"executive master\":\n case \"master executive\":\n return CourseType.ExecutiveMaster;\n \n case \"executive mba\":\n case \"emba\":\n return CourseType.ExecutiveMBA;\n \n case \"master post laurea con stage\":\n case \"master post laurea con stage garantito\":\n case \"master post laurea\":\n return CourseType.MasterPostLaureaConStage;\n \n case \"masterclass\":\n return CourseType.Masterclass;\n \n case \"mba full time\":\n case \"master mba full time\":\n return CourseType.MBAFullTime;\n \n case \"mba part time\":\n case \"master mba part time\":\n return CourseType.MBAPartTime;\n \n case \"master professional\":\n case \"professional master\":\n return CourseType.ProfessionalMaster;\n \n case \"study tour\":\n case \"studytour\":\n return CourseType.StudyTour;\n \n case \"master online\":\n case \"master on line\":\n return CourseType.MasterOnline;\n \n default:\n return -1;\n }\n };\n \n public static isFreeCancellationDateValidByCourseTypeName (courseTypeName: string, date: Date): boolean {\n \n const now = new Date();\n const cancellationDays = CourseTypeStore.getCancellationDaysByCourseTypeName(courseTypeName);\n \n if(cancellationDays<=0 || !date || date.getTime()<=now.getTime()) {\n return false;\n }\n const limit = CourseTypeStore.getCancellationDateByCourseTypeName(courseTypeName,date);\n \n if(limit.getTime()>now.getTime()) {\n return true;\n }\n else{\n return false;\n }\n };\n \n public static getCancellationDateByCourseTypeName (courseTypeName: string, date: Date): Date {\n \n const now = new Date();\n if(!date || date.getTime()<=now.getTime()) {\n return now;\n }\n return new Date( date.getTime() - (CourseTypeStore.getCancellationDaysByCourseTypeName(courseTypeName) * 24 * 60 * 60 * 1000) );\n }\n \n \n public static getCancellationDaysByCourseTypeName (courseTypeName: string): number {\n \n // TODO: review with new course types\n switch (courseTypeName.toLowerCase()) {\n case \"master full time con stage garantito\":\n case \"master full time con stage\":\n case \"master full time\":\n case \"master full time con career service\":\n // - 21 days\n return 21;\n \n case \"master part time\":\n // - 14 days\n return 14;\n \n case \"master online\":\n // - 14 days\n return 14;\n \n case \"master executive\":\n case \"master mba\":\n // - 14 days\n return 14;\n \n case 'master mba full time':\n case 'mba full time':\n // -21 days\n return 21;\n \n case 'corsi intensivi con stage garantito':\n case 'corsi intensivi con stage':\n case 'corsi full time':\n case 'corsi intensivi':\n //coding-academy is a corsi intensivi con stage\n //- 21days\n return 21;\n \n default:\n return -1;\n }\n }\n \n public static getCourseTypeByCourseTypeSlug (courseTypeSlug: string): number {\n switch (courseTypeSlug) {\n \n case stringToSlug(\"Corsi Executive\"):\n return CourseType.CorsiExecutive;\n \n case stringToSlug(\"Corsi Laurea\"):\n case stringToSlug(\"Corsi di Laurea\"):\n return CourseType.CorsiLaurea;\n \n case stringToSlug(\"Corsi On Demand\"):\n case stringToSlug(\"Corsi Ondemand\"):\n case stringToSlug(\"Corsi Online\"):\n return CourseType.CorsiOnline;\n \n case stringToSlug(\"Executive Master\"):\n case stringToSlug(\"Master Executive\"):\n return CourseType.ExecutiveMaster;\n \n case stringToSlug(\"Executive MBA\"):\n case stringToSlug(\"EMBA\"):\n return CourseType.ExecutiveMBA;\n \n case stringToSlug(\"Master Post Laurea con Stage\"):\n case stringToSlug(\"Master Post Laurea con Stage Garantito\"):\n case stringToSlug(\"Master Post Laurea\"):\n return CourseType.MasterPostLaureaConStage;\n \n case stringToSlug(\"Masterclass\"):\n return CourseType.Masterclass;\n \n case stringToSlug(\"MBA Full Time\"):\n case stringToSlug(\"Master MBA Full Time\"):\n return CourseType.MBAFullTime;\n \n case stringToSlug(\"MBA Part Time\"):\n case stringToSlug(\"Master MBA Part Time\"):\n return CourseType.MBAPartTime;\n \n case stringToSlug(\"Master Professional\"):\n case stringToSlug(\"Professional Master\"):\n return CourseType.ProfessionalMaster;\n \n case stringToSlug(\"Study Tour\"):\n case stringToSlug(\"StudyTour\"):\n return CourseType.StudyTour;\n \n case stringToSlug(\"Master Online\"):\n case stringToSlug(\"MasterOnline\"):\n return CourseType.MasterOnline;\n \n default:\n return -1;\n }\n };\n \n public static getCourseTypeFullNameByCourseTypeSlug (courseTypeSlug: string): string {\n switch (courseTypeSlug) {\n \n case stringToSlug(\"Corsi Executive\"):\n return \"Corsi Executive\";\n \n case stringToSlug(\"Corsi Laurea\"):\n case stringToSlug(\"Corsi di Laurea\"):\n return \"Corsi di Laurea\";\n \n case stringToSlug(\"Corsi On Demand\"):\n case stringToSlug(\"Corsi Ondemand\"):\n case stringToSlug(\"Corsi Online\"):\n return \"Corsi Online\";\n \n case stringToSlug(\"Executive Master\"):\n case stringToSlug(\"Master Executive\"):\n return \"Executive Master\";\n \n case stringToSlug(\"Executive MBA\"):\n case stringToSlug(\"EMBA\"):\n return \"Executive MBA\";\n \n case stringToSlug(\"Master Post Laurea con Stage\"):\n case stringToSlug(\"Master Post Laurea con Stage Garantito\"):\n case stringToSlug(\"Master Post Laurea\"):\n return \"Master Post Laurea con Stage\";\n \n case stringToSlug(\"Masterclass\"):\n return \"Masterclass\";\n \n case stringToSlug(\"MBA Full Time\"):\n case stringToSlug(\"Master MBA Full Time\"):\n return \"MBA Full Time\";\n \n case stringToSlug(\"MBA Part Time\"):\n case stringToSlug(\"Master MBA Part Time\"):\n return \"MBA Part Time\";\n \n case stringToSlug(\"Master Professional\"):\n case stringToSlug(\"Professional Master\"):\n return \"Professional Master\";\n \n case stringToSlug(\"Study Tour\"):\n case stringToSlug(\"StudyTour\"):\n return \"Study Tour\";\n \n case stringToSlug(\"Master Online\"):\n case stringToSlug(\"MasterOnline\"):\n return \"Master Online\";\n \n default:\n return \"\";\n }\n };\n \n /**\n * Get course type slug by course type\n * @param number courseType\n * @return string\n */\n public static getCourseTypeSlugByCourseType (courseType: number): string {\n switch (courseType) {\n case CourseType.CorsiExecutive:\n return stringToSlug(\"Corsi Executive\");\n \n case CourseType.CorsiLaurea:\n return stringToSlug(\"Corsi Laurea\");\n \n case CourseType.CorsiOnline:\n return stringToSlug(\"Corsi Online\");\n \n case CourseType.ExecutiveMaster:\n return stringToSlug(\"Executive Master\");\n \n case CourseType.ExecutiveMBA:\n return stringToSlug(\"Executive MBA\");\n \n case CourseType.MasterPostLaureaConStage:\n return stringToSlug(\"Master Post Laurea con Stage\");\n \n case CourseType.Masterclass:\n return stringToSlug(\"Masterclass\");\n \n case CourseType.MBAFullTime:\n return stringToSlug(\"MBA Full Time\");\n \n case CourseType.MBAPartTime:\n return stringToSlug(\"MBA Part Time\");\n \n case CourseType.ProfessionalMaster:\n return stringToSlug(\"Professional Master\");\n \n case CourseType.StudyTour:\n return stringToSlug(\"Study Tour\");\n \n case CourseType.MasterOnline:\n return stringToSlug(\"Master Online\");\n \n default:\n return \"\";\n }\n }\n \n public static isMaster (courseTypeSlug: string): boolean {\n switch (courseTypeSlug) {\n // case CourseType. stringToSlug('Master Post Laurea con Stage'):\n // case stringToSlug('Executive Master'):\n // case stringToSlug('Professional Master'):\n // case stringToSlug('Executive MBA'):\n // case stringToSlug('MBA Full Time'):\n // case stringToSlug('MBA Part Time'):\n // return true;\n \n // case stringToSlug('Corsi Executive'):\n // case stringToSlug('Corsi Laurea'):\n // case stringToSlug('Corsi Online'):\n // case stringToSlug('Masterclass'):\n // return false;\n \n default:\n return false;\n }\n };\n}"],"names":["CourseType","CourseType2","courseTypeMap","_CourseTypeStore","__publicField","writable","topCoursesByCourseType","current","topCoursesObj","i","_a","k","course","CourseLightModel","courseTypesListCourses","courseTypeKey","courseType","remoteSettingsFieldName","courseTypeName","date","now","courseTypeSlug","stringToSlug","CourseTypeStore"],"mappings":"6PAIY,IAAAA,GAAAA,IACVA,EAAAC,EAAA,eAAA,CAAA,EAAA,iBACAD,EAAAC,EAAA,YAAA,CAAA,EAAA,cACAD,EAAAC,EAAA,YAAA,CAAA,EAAA,cACAD,EAAAC,EAAA,gB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