{"version":3,"sources":["redux/reducers/Auth/index.js","redux/reducers/Role/index.js","redux/reducers/General/index.js","redux/reducers/Class/index.js","redux/reducers/MediaKelas/Tugas/index.js","redux/reducers/MediaKelas/Jadwal/index.js","redux/reducers/MediaKelas/Conference/index.js","redux/reducers/MediaKelas/Absensi/index.js","redux/reducers/MediaKelas/BankSoal/index.js","redux/reducers/MediaKelas/Ujian/index.js","redux/reducers/MediaKelas/Ujian.Guru/index.js","redux/reducers/MediaKelas/UjianSiswa/index.js","redux/reducers/MediaKelas/Dokumen/index.js","redux/reducers/MediaKelas/Nilai/index.js","redux/reducers/MediaKelas/Forum/index.js","redux/reducers/MediaKelas/JurnalBelajar/index.js","redux/reducers/MediaKelas/InteraksiBelajar/index.js","redux/reducers/MediaKelas/index.js","redux/reducers/School/index.js","redux/reducers/Wilayah/index.js","redux/reducers/Evaluasi/TemaPenilaian/index.js","redux/reducers/Evaluasi/KarakterUtama/index.js","redux/reducers/Evaluasi/KarakterDasar/index.js","redux/reducers/Evaluasi/DraftSKL/index.js","redux/reducers/Evaluasi/KatergoriPenilaian/index.js","redux/reducers/Evaluasi/EvaluasiKarakter/index.js","redux/reducers/Kursus/index.js","redux/reducers/Pengaturan/index.js","redux/reducers/index.js","redux/store/index.js","component/atoms/IconCreate/index.jsx","constants/initError.js","redux/actions/Auth/index.js","redux/actions/MediaKelas/Tugas/index.js","redux/actions/MediaKelas/Jadwal/index.js","redux/actions/MediaKelas/Conference/index.js","redux/actions/MediaKelas/Absensi/index.js","configs/service/index.js","redux/actions/MediaKelas/Ujian.Guru/index.js","redux/actions/MediaKelas/Ujian/index.js","redux/actions/MediaKelas/Dokumen/index.js","redux/actions/MediaKelas/Forum/index.js","redux/actions/MediaKelas/JurnalBelajar/index.js","configs/interaksi/index.js","redux/actions/MediaKelas/InteraksiBelajar/index.js","configs/quiz/index.js","redux/actions/MediaKelas/BankSoal/index.js","configs/exam/index.js","redux/actions/MediaKelas/UjianSiswa/index.js","redux/actions/MediaKelas/Nilai.Laporan/index.js","redux/actions/MediaKelas/Nilai.Settings/index.js","redux/actions/Role/index.js","redux/actions/School/index.js","redux/actions/Wilayah/index.js","redux/actions/GDrive/index.js","redux/actions/Evaluasi/TemaPenilaian/index.js","redux/actions/Evaluasi/KarakterUtama/index.js","redux/actions/Evaluasi/KarakterDasar/index.js","redux/actions/Evaluasi/DraftSKL/index.js","redux/actions/Evaluasi/KategoriPenilaian/index.js","redux/actions/Evaluasi/EvaluasiKarakter/index.js","redux/actions/Kursus/Master/index.js","redux/actions/Kursus/Course/index.js","redux/actions/User/index.js","redux/actions/MediaBelajar/index.js","redux/actions/ManajemenSekolah/Raport/InputDataSiswa/index.js","redux/actions/ManajemenSekolah/Raport/KelolaRaportSiswa/index.js","redux/actions/ManajemenSekolah/Raport/InputNilaiSiswa/index.js","redux/actions/Class/index.js","redux/selector/MediaKelas/UjianGuru/index.js","redux/reducers/MediaKelas/UjianSiswa/functions.js","redux/actions/General/index.js","constants/initCongs.js","assets/icon/svg/school_default.svg","assets/img/globe.png","utils/Utils.js","component/molecules/Loading/index.js","assets/icon/svg/money-stack-o.svg","assets/icon/svg/paper-white.svg","assets/icon/svg/paper-pulse-white.svg","assets/icon/svg/paper-edit-white.svg","assets/icon/svg/new-dashboard.svg","assets/icon/svg/new-calender-o.svg","assets/icon/svg/agenda-o.svg","assets/icon/svg/file-shield-alt.svg","assets/icon/svg/monitor-o.svg","assets/icon/svg/file-check-white-alt.svg","assets/icon/svg/file-edit-alt.svg","assets/icon/svg/podium.svg","component/molecules/Menus/index.jsx","component/molecules/MultiAttachment/index.jsx","component/molecules/ItemClassMedia/index.jsx","component/atoms/Button/index.jsx","component/atoms/Select/index.js","configs/evaluasi/index.js","assets/icon/svg/exclamation-circle.svg","component/atoms/Gap/index.js","views/Auth/EditProfileTK/formOptions.js","assets/icon/svg/google-docs.svg","redux/actions/MediaKelas/Nilai/index.js","redux/actions/ManajemenSekolah/Raport/GenerateRaport/index.js","assets/icon/svg/open.svg","constants/initType.js","assets/img/pdf.svg","configs/engine/index.js","assets/icon/svg/bank_soal.svg","assets/icon/svg/document.svg","assets/icon/svg/comment-dots-o.svg","assets/icon/svg/evaluasi.svg","assets/icon/svg/comment-many-o.svg","assets/icon/svg/comment-love-o.svg","assets/icon/svg/comment-lock-o.svg","assets/icon/svg/jurnal.svg","assets/icon/svg/interaksi_belajar.svg","assets/icon/svg/jadwal.svg","assets/icon/svg/kelasku.svg","assets/icon/svg/clipboard-alt.svg","assets/icon/svg/ujian.svg","assets/icon/svg/lihat.svg","assets/icon/svg/raport.svg","assets/icon/svg/new-mailbox.svg","assets/icon/svg/mailbox.svg","assets/icon/svg/edit.svg","assets/icon/svg/delete.svg","assets/icon/svg/paper.svg","assets/icon/svg/link.svg","assets/icon/svg/warning.svg","assets/icon/svg/ask.svg","assets/icon/svg/copy.svg","assets/icon/svg/download.svg","assets/icon/svg/goBack.svg","assets/icon/svg/mail-list.svg","assets/icon/svg/schedule.svg","assets/icon/svg/settings.svg","assets/icon/svg/panel-add-o.svg","assets/icon/svg/file-medical-alt.svg","assets/icon/svg/link-o.svg","assets/icon/svg/upload-cloud.svg","assets/icon/svg/fi-trash.svg","assets/icon/svg/refresh-cw-o.svg","assets/icon/svg/book-alt.svg","utils/showError/index.js","assets/icon/kelasku.png","assets/icon/bayar.png","assets/icon/absensi.png","assets/icon/konferensi.png","assets/icon/copy.svg","assets/icon/calendar.svg","assets/icon/clock.svg","assets/icon/share.svg","assets/icon/guru.png","assets/icon/mapel.png","assets/icon/murid.png","assets/icon/trash.svg","assets/icon/empty.png","assets/icon/email.svg","assets/icon/phone.svg","assets/icon/forum.png","constants/initHttp.js","i18n-init.js","serviceWorker.js","index.js","utils/errorHandler/index.js","utils/localStorage.js/index.js"],"names":["initState","user","profile","bindedAccount","updateProfile","uploadFile","checkEmail","checkEmailState","loggedOut","Auth","state","arguments","length","undefined","action","type","AUTH_USER","_objectSpread","value","AUTH_PROFILE","localStorage","removeItem","data","AUTH_EDIT","AUTH_FILE","statusRole","school_id","school_name","id","is_admin","class_id","class_name","class_role","school_role","studentPhotos","walikelas","Role","GET_ROLE","SET_ROLE","STATUS_ROLE","SET_WALIKELAS_DATA","payload","loading","isSuccess","isUploadSuccess","message","school_year","networkError","suspended","whitelabel","googleUrl","drive","bySiswa","typeFilter","tab_quiz_detail","whitelabel_data","kelasku_banner","login_banner","dashboard_absensi_empty_state","dashboard_schedule_empty_state","dashboard_class_empty_state","dashboard_tugas_empty_state","dashboard_rekap_empty_state","kelasku_siswa_empty_state","kelasku_matpel_empty_state","kelasku_guru_empty_state","dokumen_empty_state","tugas_empty_state","konferensi_empty_state","ujian_pro_empty_state","bank_soal_empty_state","absensi_empty_state","jadwal_empty_state","penjadwalan_empty_state","rekap_nilai_empty_state","jurnal_belajar_empty_state","forum_empty_state","site_name","site_type","wizard_step_two","wizard_step_one","wizard_step_three","hidden_menus","routeChanged","dictionaries","redirected","General","SET_LOADING","IS_SUCCESS","IS_SUSPENDED","ADD_FILE_GDRIVE","GOOGLE_URL","IS_UPLOAD_SUCCESS","SCHOOL_YEAR","WHITELABEL_CONFIG","currentClass","createClass","updateClass","deleteClass","listClass","setCurrentClass","listTeacher","setWaliKelas","listDataMurid","listDataMapel","createMapel","updateMapel","deleteMapel","deleteStudent","stateForChangeRole","courseBySchool","syncClassData","syncStudentData","syncTeacherData","createSyncClass","oneClass","oneSchool","Class","GET_CURRENT_CLASS","SET_CURRENT_CLASS","GET_CLASS_ME","SAVE_STATE_FOR_CHANGE_ROLE","GET_TEACHER_BY_CLASS","total","pagination","CREATE_CLASS","UPDATE_CLASS","DELETE_CLASS","SET_WALIKELAS","GET_STUDENT_BY_CLASS","GET_MAPEL_BY_CLASS","CREATE_MAPEL","UPDATE_MAPEL","DELETE_MAPEL","DELETE_STUDENT","GET_COURSE_BY_SCHOOL","GET_SYNC_CLASS","GET_SYNC_STUDENT","GET_SYNC_TEACHER","CREATE_SYNC_CLASS","GET_ONE_CLASS","GET_ONE_SCHOOL","initialState","tugas_siswa","tugas_guru","tugas_siswa_history","tugas_guru_history","tugas_reference","tugas_detail","tugas_reference_detail","fileUploaded","webViewLink","name","studentReference","commentSuccess","studentReferenceHistory","tugas_detail_history","Tugas","TUGAS_SISWA","TUGAS_GURU","TUGAS_SISWA_HISTORY","TUGAS_GURU_HISTORY","TUGAS_REFERENCE","DETAIL_HISTORY","TUGAS_DETAIL","CREATE_TUGAS","GET_ASSESSMENT_STUDENT_REFERENCE","UPLOAD","GET_ASSESSMENT_STUDENT_REFERENCE_HISTORY","jadwal","Jadwal","GET_SCHEDULES","list","createConference","deleteConference","updateConference","conferenceSchool","conferenceClasses","conferenceCourse","Conference","GET_CONFERENCE","CREATE_CONFERENCE","DELETE_CONFERENCE","UPDATE_CONFERENCE","GET_SCHOOL_ME","GET_CLASS_BY_SCHOOL","GET_COURSE_BY_CLASS","absenceId","classSummary","absenceByCourseByDate","absenceByCourseByMonth","listPermit","idPermission","responsePermit","Absensi","ABSENCE_GURU","ABSENCE_CLASS_SUMMARY","ABSENCE_BY_COURSE_BY_DATE","ABSENCE_BY_COURSE_BY_MONTH","LIST_PERMIT","meta","item_per_page","number_of_page","page","createBankSoal","bankSoalDetail","BankSoal","GET_ALL_BANK_SOAL","listBankSoal","GET_BANK_SOAL","CREATE_BANK_SOAL","GET_ONE_BANK_SOAL","CLEAR_BANK_SOAL","dataCourse","listUjian","masterSoal","listSoal","createQuizBankSoal","createAnswerQuizBankSoal","quizJawaban","quizDetail","quizSoal","updateQuiz","deleteQuiz","typeList","listExam","examDetail","examDetailNew","questionByExam","questionByExamNew","Ujian","GET_QUIZ_PERSONAL","GET_LIST_BANK_SOAL","GET_LIST_MASTER_SOAL","GET_SOAL_BANK_SOAL","GET_COURSE_BANK_SOAL","CREATE_QUIZ_BANK_SOAL","CREATE_ANSWER_QUIZ_BANK_SOAL","UPDATE_QUIZ","DELETE_QUIZ","GET_QUIZ_JAWABAN","GET_QUIZ_DETAIL","GET_QUIZ_SOAL","GET_TYPE_LIST","GET_LIST_EXAM","GET_EXAM_DETAIL","GET_EXAM_DETAIL_AND_QUESTION","GET_QUESTION_BY_EXAM_ID","GET_QUESTION_BY_EXAM_ID_NEW","detail","current_page","per_page","last_page","listParticipant","paginationParticipant","UjianGuru","GET_UJIAN_GURU","paginatior","GET_UJIAN_PARTICIPANT_GURU","listTableDetailParticipant","limit","max_page","total_items","questions","qna","answerCollection","UjianSiswa","FETCH_STUDENT_EXAM","READ_STUDENT_EXAM","READ_QNA_EXAM","FETCH_EXAM_QUESTION","COLLECT_ANSWER","handleCollectAnswer","SUBMIT_STUDENT_EXAM","_defineProperty","path","listDocuments","listFiles","listDocumentsSchool","listFilesSchool","about","Dokumen","GET_DOCUMENTS","GET_FILES","GET_DOCUMENTS_SCHOOL","GET_FILES_SCHOOL","listStudent","listNilai","detailNilai","listSubmittedCourse","listPengajuanMapel","listStudentScore","listStudentScoreSubmit","listScoreBySiswa","listStudentTaskDetail","typePengajuan","listCoursePengajuan","gradingList","gradingDetail","listStudentScoreAll","Nilai","_action$value","_action$value2","_action$value2$meta","_action$value3","_action$value4","_action$value4$meta","_action$value5","_action$value6","_action$value6$meta","GET_STUDENT_NILAI","GET_NILAI_BY_STUDENT","GET_DETAIL_NILAI","GET_SUBMITTED_COURSE","GET_PENGAJUAN_MAPEL","GET_STUDENT_SCORE","GET_STUDENT_SCORE_SUBMIT","GET_DETAIL_SCORE_BY_SISWA","GET_STUDENT_DETAIL_TASK","GET_COURSE_PENGAJUAN","GET_ALL_GRADING_PENILAIAN","GET_ONE_GRADING_PENILAIAN","GET_STUDENT_SCORE_ALL","Forum","FETCH_FORUM","READ_FORUM","list_jurnal","list_data","list_jurnal_next","jurnal_detail","jurnal_tugas","jurnal_ujian","delete_status_code","JurnalBelajar","CREATE_JURNAL_BELAJAR","LIST_JURNAL_BELAJAR","LIST_JURNAL_BELAJAR_NEXT","JURNAL_BELAJAR_DETAIL","JURNAL_BELAJAR_TUGAS","JURNAL_BELAJAR_UJIAN","LIST_JURNAL_BELAJAR_DRAGGABLE","list_jurnal_draggable","list_partisipan","createRoom","roomReady","list_interaksi","selected_partisipan","interaksiBody","retrievedChat","chatId","chatName","InteraksiBelajar","GET_PARTISIPAN_INTERAKSI_BELAJAR_ROOM","LIST_INTERAKSI_BELAJAR_ROOM","GET_INTERAKSI_BELAJAR_ROOM","SELECTED_PARTISIPAN_INTERKASI_BELAJAR","CREATE_INTERAKSI_BELAJAR_ROOM","_message","success","error","UPDATE_INTERAKSI_BELAJAR_ROOM","DELETE_INTERAKSI_BELAJAR_ROOM","CHAT_INTERAKSI_BELAJAR_ROOM","SET_CHATID_INTERAKSI_BELAJAR_ROOM","MediaKelas","listSchoolMe","listSchool","listSchoolParams","isEmpty","changeSchool","schoolDetail","School","LIST_SCHOOL","DETAIL_SCHOOL","CHANGE_SCHOOL","provinsi","kota","kecamatan","Wilayah","PROVINSI","KOTA","KECAMATAN","create","createJp","delete","update","TemaPenilaian","LIST_TEMA","CREATE_TEMA","CREATE_JP","UPDATE_TEMA","DELETE_TEMA","KarakterUtama","KARAKTER_UTAMA_CREATE","KARAKTER_UTAMA_UPDATE","KARAKTER_UTAMA_DELETE","find","listDetail","createDetail","updateDetail","deleteDetail","listRincian","createRincian","updateRincian","deleteRincian","KarakterDasar","LIST_KARAKTER_DASAR","CREATE_KARAKTER_DASAR","UPDATE_KARAKTER_DASAR","DELETE_KARAKTER_DASAR","FIND_KARAKTER_DASAR","LIST_DETAIL_KD","CREATE_DETAIL_KD","UPDATE_DETAIL_KD","DELETE_DETAIL_KD","LIST_RINCIAN_KD","CREATE_RINCIAN_KD","UPDATE_RINCIAN_KD","DELETE_RINCIAN_KD","DraftSKL","DATA_DRAFT_SKL","CREATE_DRAFT_SKL","UPDATE_DRAFT_SKL","KategoriPenilaian","LIST_KATEGORI_PENILAIAN","CREATE_KATEGORI_PENILAIAN","UPDATE_KATEGORI_PENILAIAN","DELETE_KATEGORI_PENILAIAN","penilaian","desc","class","students","EvaluasiKarakter","LIST_EVALUASI_KARAKTER","CREATE_EVALUASI_KARAKTER","UPDATE_EVALUASI_KARAKTER","DELETE_EVALUASI_KARAKTER","DETAIL_EVALUASI_KARAKTER","CREATE_EVALUASI_KARAKTER_PENILAIAN","CREATE_EVALUASI_KARAKTER_DESC","CLASS_EVALUASI","STUDENT_EVALUASI","courseScheduleType","difficultyLevel","certificateType","langType","uploadCover","myCourses","allCourse","allBanks","courseType","contentType","Kursus","MASTER_COURSE_SCHEDULE_TYPE","MASTER_COURSE_DIFFICULTY_LEVEL","MASTER_COURSE_CERTIFICATE_TYPE","MASTER_LANG","MASTER_COURSE_TYPE","UPLOAD_COVER","GET_COURSES_BY_ME","GET_ALL_COURSES","allCourses","MASTER_BANK","MASTER_CONTENT_TYPE","examHeaderList","refBody","Pengaturan","GET_EXAM_HEADER","combineReducers","persistConfig","key","storage","whitelist","persistedReducer","persistReducer","reducer","store","createStore","applyMiddleware","thunk","persistor","persistStore","IconCreate","_ref","svg","_ref$width","color","width","_ref$height","height","_ref$style","style","marginBottom","marginRight","_ref$injection","injection","_jsx","Icon","component","ReactSVG","backgroundColor","beforeInjection","src","MSG_SUCCESS_EDIT","MSG_WARNING_EDIT","RESPONSE_ERRORS","record_already_exist","record_already_exist_wa","record_exist","invalid_date","date_exist","getUserProfile","_ref2","_asyncToGenerator","_regeneratorRuntime","mark","_callee2","dispatch","wrap","_context2","prev","next","abrupt","axios","get","concat","BASE_LOGIN","headers","Authorization","getUserToken","then","rest","showLoading","catch","stop","_x2","apply","requestLoginV2","_ref4","_callee4","_context4","Promise","resolve","reject","post","response","_x3","requestLoginV3","_ref5","_callee5","_context5","setItem","JSON","stringify","sent","_x4","getBindedAccount","_ref9","_callee9","api","_context9","_notification","description","reportSentry","_x8","uploadImage","_ref14","_callee14","_context14","res","_x13","_ref15","_callee15","_context15","put","_x14","getGoogleUrl","params","AxiosInject","r","e","getAssessments","role","_callee","_context","requestGet","sortby","order","status","join","_error$response","_x","getDetailAssessmentsHistory","console","log","_error$response2","getAssessmentsHistory","_ref3","_callee3","_context3","newGetAssestmentBySiswa","end_date_from","end_date_to","course_id","search","newGetAssestmentByTeacher","start_status","access","status_code","_x5","getAssestmentByTeacher","_ref6","_callee6","_context6","_x6","getAssestmentByTeacherHistory","endDate","_ref7","_callee7","_context7","_x7","getAssessmentsDetail","_ref8","_callee8","_context8","getAssessmentsGroup","_x9","getAssessmentsDetailReference","_ref10","_callee10","_context10","_x10","createTugas","_ref11","_callee11","_context11","requestPost","_error$response3","_x11","putAssessmentStudent","idRef","_ref12","_callee12","_context12","requestPut","PUT_ASSESSMENT_STUDENT","_x12","getAssessmentStudentReference","sendToPatch","_ref13","_callee13","_context13","getAssessmentStudentReferenceHistory","beriNilai","nilai","_ref16","_callee16","_context16","_x18","tambahComment","_ref17","_callee17","_context17","_x19","editTugas","mode","_ref21","_callee21","isOnlyCurrentClass","_context21","notificationOverride","_x23","deleteTugas","_ref22","_callee22","_context22","requestDelete","_x24","getClassCourse","_ref23","_callee23","_context23","finally","_x25","deleteTugasBulk","ids","_ref24","_callee24","http","_context24","BASE_API_URL","BASE_VERSION","assessment_ids","_x26","createSchedule","createScheduleRange","overlap","getSchedule","classID","date","dateAfter","nearestDate","forEach","moment","start_date","diff","popit","filter","ID","getScheduleOverlap","start","end","getScheduleOverlapBulk","url","method","_response$data","_error$response$data","getScheduleIndicator","getOneSchedule","scheduleId","getLastSchedule","deleteSchedule","deleteBulkSchedule","process_type","updateSchedule","hasOwnProperty","codeErr","createBulkSchedule","isGood","map","v","parseInt","category","createImportSchedules","_x15","getConferenceTeacher","t0","getConferenceCourse","classid","clearCreateConference","clearDeleteConference","clearUpdateConference","absenceTeacher","isStudentNotAbsence","dataUpdate","absen_id","updateAbsence","absenceClassSummary","month","getListPermit","createPermission","editPermission","permitID","deletePermission","responseTeacher","fetchGenerateAbsensi","fetch","resMessage","blob","result","text","Error","filename","format","absenceClassSummaryV2","detailAbsenceSummary","absenceClassDaily","absenceClassNotes","class_attendance_student_id","requestPatch","absenceClassDailyV2","absenceRecapStudent","studentRekapAbsence","getStudentPermitById","changeAbsenceStatus","getListPermitNotif","respondPermit","changeAbsenceReport","httpService","Axios","baseURL","timeout","customAuthorization","slashId","interceptors","request","use","config","_config$headers","token","_body","_token","_url","_config$data","_data","window","btoa","host","split","replace","Timestamp","toISOString","pathName","Object","keys","_key","index","_config$params$_key","Signature","generateSignature","toUpperCase","_error$response$data$","_error$response2$data","_error$response3$data","_error$response4","_error$response4$data","includes","title","getUjianByGuru","BASE_EXAM","getHeader","createHeader","body","updateHeader","deleteUjianByGuru","getDetailUjianByGuru","getQuestionUjianByGuru","BASE_EXAM_QUIZ","getPriviewResultParticipantUjianByGuruV2","examId","userId","getParticipantUjianByGuru","getQuestionUjianNilaiByGuru","getExamQuestionUjianNilaiByGuru","setQuestionParticipantUjianByGuru","patch","deleteParticipant","user_id","addParticipant","runError","getParticipantInUjianByGuru","updateAnswerParticipantByGuru","evaluateAnswerParticipantByGuru","_x16","getFilterTypeQuestion","BASE_QUIZ","_x17","getEnumStatusPoint","_ref18","_callee18","_context18","getListScoreType","_ref19","_callee19","_context19","getCurrentClassOld","_ref20","_callee20","_context20","_x20","updateStatusParticipantInUjianByGuru","_x21","submitAlertWarning","getDetectionSummary","withLoading","_x22","updateQuestionBulk","getQuizPersonal","classId","quiz_type","getListBankSoal","keywords","requestAnyGet","sheet","columns","q","rows","getListMasterSoal","objQuiz","kumpulan_soal","getSoalBankSoal","linkSoal","getCourseBankSoal","is_teacher","isteacher","quizId","getQuizDetail","getQuizSoal","getQuizJawaban","submitQuiz","submitPenilaian","createQuizExcel","dataQuiz","dataSoal","addQuizTemplate","msgBackend","getTypeList","getListExam","_response$data$payloa","addUjian","statusCode","date1","Date","date2","end_date","Math","abs","duration","editUjian","editCourses","getExamDetailandQuestion","exam_id","tempRes","tempCourses","tempQuestion","courses","val","push","normalizeDataQuestion","getSchoolYearExam","_ref25","_callee25","_context25","err","exportPDF","_ref26","_callee26","_context26","responseType","URL","createObjectURL","Blob","link","document","createElement","href","setAttribute","appendChild","click","clearCourseBankSoal","clearQuizPersonal","clearListBankSoal","clearUpdateQuiz","clearDeleteQuiz","clearAnswerCreateQuiz","getFiles","addFolder","userMail","permission","owned","fileMetadata","send_notification","email","domain","permissions","msg","addFile","addPermission","item","deleteFile","parent","getAboutGdrive","fetchForum","createForum","CREATE_FORUM","readForum","createForumComment","CREATE_FORUM_COMMENT","deleteForum","editForum","hideForumComment","forumId","createJurnalBelajar","list_attachment","getNewListJurnalBelajarClasses","onlyme","startDate","dp","total_count","getListJurnalBelajar","courseid","getJurnalBelajarDetail","jurnalId","_error$response6","editJurnalBelajar","_error$response7","getJurnalBelajarTugas","_error$response8","getJurnalBelajarUjian","deleteJurnalBelajar","_error$response9","getListJurnalBelajarV2","_error$response10","getListJurnalBelajarClassesV2","dataDraggable","i","flow","course_name","start_time","_error$response11","updateSortedFlow","BASE_INTERAKSI","objectString","createInteraksiRoom","code","getInteraksiRooms","is_student","getQuizByParam","duplicateBankSoal","httpInjector","updateBankSoal","_rest$data","_rest$data2","deleteBankSoal","DELETE_BANK_SOAL","getQuizByID","getAllSchool","shareQuiz","getQuestionHistory","clearCreateBankSoal","clearBankSoal","BASE","requestGetV1","BASE_V1","fetchStudentExamV1","readStudentExam","isHardSave","currentDetail","getStorage","setStorage","readExamParticipant","remaining_date_unix","is_start","is_end","total_score","score","exam_status","is_submitted_by_user","readQnA","participantId","validateExamToken","SUBMIT_FACE_DETECTION","cheatDetection","fetchExamQuestions","localExamp","Map","set","Array","from","entries","collectAnswer","currentCollection","submitExamAnswers","throwError","req","commitStartExam","setFinalScore","commitEndExam","checkpointExamAnswers","postExamChat","getExamChat","getAllAnswers","resAnswerCollections","resConvertAnswer","currentStorage","_get","convertToStorage","setExamData","checkRoom","BASE_SOCKET_SERVICE","URL_REKAP_NILAI","BASE_REKAP_NILAI","getListLaporan","getListLaporanSiswa","getListLaporanNilaiSiswa","getListSettingRaport","getDetailSettingRaport","createSettingRaport","msgError","editSettingRaport","deleteSettingRaport","getRole","_rest$data$school_rol","py","autoSubmitSchoolAndClasses","_res","location","getStudentByClass","remap","image","getSchool","getSchoolById","createSchools","updateSchools","joinSchoolsForm","searchSchool","grade","getProvince","country_id","postSignature","getCity","province_id","getDistrict","city_id","getDistrictById","getCityById","readFileGDrive","READ_FILE_GDRIVE","nativeReadFileGDrive","setPermissionFileGDrive","nativeSetPermissionFileGDrive","all","uploadGDrive","withCompress","nativeUploadGDrive","getListTema","sort","direction","createTema","deleteTema","updateTema","clearCreateTema","clearUpdateTema","clearDeleteTema","updateKarakterUtama","clearUpdateKarakterUtama","getListKarakterDasar","createKarakterDasar","updateKarakterDasar","deleteKarakterDasar","findKarakterDasar","createDetailKD","updateDetailKD","createRincianKD","clearCreateKarakterDasar","clearUpdateKarakterDasar","clearDeleteKarakterDasar","clearCreateDetailKD","clearUpdateDetailKD","clearCreateRincianKD","getListDraftSKL","schoolId","createDraftSKL","updateDraftSKL","clearCreateDraftSKL","clearUpdateDraftSKL","getListKategoriPenilaian","createKategoriPenilaian","updateKategoriPenilaian","deleteKategoriPenilaian","clearCreateKategoriPenilaian","clearUpdateKategoriPenilaian","clearDeleteKategoriPenilaian","getListClassEvaluasi","getListStudentEvaluasi","getListEvaluasiKarakter","teacherId","teacher_id","createEvaluasiKarakter","updateEvaluasiKarakter","deleteEvaluasiKarakter","getDetailEvaluasiKarakter","studentId","characterEvaluationId","student_id","character_evaluation_id","createEvaluasiKarakterDesc","clearCreateEvaluasiKarakter","clearUpdateEvaluasiKarakter","clearDeleteEvaluasiKarakter","getCourseScheduleType","BASE_COURSE","getCourseDifficulty","getCertificateType","getLangType","getBankList","_error$response5","getCourseType","file","getListCoursesByMe","rate","query","postCourses","_err$response","postClass","courseId","classNumber","_err$response2","get_user_all","_args","requestGetIdentity","role_code","get_user_all_paginate","set_useradmin","admin","_args3","requestPutIdentity","BASE_STUDY","getMaterial","getMaterialById","getFilter","createFileMateri","updateFileMateri","uploadFileMateri","deleteMaterialById","getCommentMaterial","postCommentMaterial","userReportDataAll","userReportDataDetail","userReportDataBasic","userReportDataFamily","userReportDataSchool","getMySchool","getTemplateUserData","importTemplateData","occupationGet","reportTemplateData","reportTemplateDataPost","reportTemplateDataPut","reportTemplateDataDelete","reportTemplateDataById","reportCoverData","uploadFileRekapNilai","fd","getNewSchoolYear","is_future","addBulkScoreQualitative","getAllReportQualitative","getSelectAllReportQualitativeScores","deleteReportQualitativeScoresByID","getReportQualitativeById","createReportQualitativeScoreDetail","_r$response2","deleteReportQualitativeScoreDetail","_r$response3","updateReportQualitativeScoreDetail","_r$response4","getReportQualitativeScoreDetailSelectAll","_r$response5","createReportQualitativeValue","_r$response6","updateReportQualitativeValue","_r$response7","getReportQualitativeValueSelectAll","_r$response8","createReportQualitativeOtherNote","_r$response9","updateReportQualitativeOtherNote","_r$response10","getReportQualitativeOtherNoteSelectAll","_r$response11","createReportQualitativeScoreSummary","_r$response12","getReportQualitativeScoreSummarySelectAll","_r$response13","updateReportQualitativeScoreSummary","_r$response14","getClasses","GET_CLASSES","getChildData","getClassOnlyMe","class_level","_response","lastSchool","pathname","indexOf","switchSchool","_success","lastClass","switchClass","getCoursesBySchool","getCurrentClass","getOneClass","getTeacherByClass","getMapelByClass","orderby","getListClass","currentSchool","_currentSchool$school","clear","getMapelByClassAll","mapelId","deleteStudentV2","QSParams","append","updateStudent","httpAdapter","messages","getSyncClass","getGoogleToken","getSyncStudent","constructor","getSyncTeacher","joinClassess","invitation_code","showError","_error$response$data3","_error$response$data2","exportInvitationCode","getOneClassPlain","_ref27","_callee27","_context27","_x27","school","noModal","_ref28","_callee28","_context28","_x28","getOneSchool","_ref29","_callee29","_context29","_x29","exportProfileMaster","file_name","exportProfile","_callee30","_context30","is_fullfname","String","slice","file_type","getProfile","_callee31","_context31","updateProfileTK","_callee32","_context32","_response$data2","getProfileByID","isGetClasses","_callee33","_context33","_response$data3","getProfileTeacherByID","_callee34","_context34","_response$data4","updateProfileTKByID","_callee35","_context35","_response$data5","getCheckProfileCompletion","_callee36","_context36","_response$data6","_response$data7","is_show_pop_up","downloadPDFProfile","_callee37","_context37","downloadPDFProfileGuru","_callee38","_context38","getClassGrade","_callee39","_context39","_response$data8","getProfileWalikelas","_ref40","_callee40","_context40","_response$data9","_x30","downloadBulkAddStudent","_callee41","_context41","clearCreateClass","clearUpdateClass","clearSetCurrentClass","clearCreateMapel","clearUpdateMapel","clearSetWaliKelas","clearCreateSyncClass","insertStudent","_ref42","_callee42","_context42","_x31","listTableDetailUjian","qbank_detail","question","name_question","point_question","explanation_question","explanation","attachment","selected","qbank_question_type","point","qbank_point","user_name","weight","raw","common","temp","total_item","idx","qbank_quiz_id","quiz_name","qbank_question_id","qbank_group_id","newData","currentTable","question_id","tempAnswers","isAnswerExist","ans","addedCurrentDataAnswers","_toConsumableArray","parseValues","MULTIPLE_ANSWERS_SEPARATOR","findValue","_find","o","prevValues","_split","tmpMultiAns","_includes","_filter","n","toStringValue","_join","getterValue","_trim","_remove","arr","obj","participant_id","extraObj","random","getSchoolYear","getWhitelabelInfo","isAll","process","setWhitelabelData","setDictionary","coloringAdd","classList","add","el","querySelectorAll","gEl","gCr","injectedSvg","injectSvg","PILIHAN_GANDA_TYPE","ESSAY_TYPE","PILIHAN_GANDA_MULTI_TYPE","TRUE_FALSE_TYPE","SHORT_TYPE","multipleArrayToSingle","array","newArray","isUserLoggedIn","getItem","parse","getRouterForLoggedInUser","convert","newdata","kd","kdd","encodeURIComponent","dk","dkk","decodeURIComponent","_ref$description","destroy","info","_Typography","Text","strong","fontSize","children","borderTop","icon","CheckCircleFilled","warn","ExclamationIcon","defineStatus","_start_date","_end_date","need_node","_Fragment","_Tag","baseUrl","instance","defaults","disabledDate","current","custom","maxDays","hour","minute","second","millisecond","subtract","endOf","parseQs","qsRaw","qs","ignoreQueryPrefix","range","isSameDay","now","isMoment","isSame","isSameHour","compared","disabledTime","sameDay","_moment","_moment2","sameDayCustom","sameDayCustomHours","disabledHours","disabledMinutes","disabledSeconds","sameHours","isValidEmail","EmailValidator","romanize","num","isNaN","NaN","digits","roman","pop","getUjianFormWidth","xxl","xl","lg","md","sm","xs","MULTIPLE_CHOICES","extractQuestionLabel","label","getRangeDateMoment","day","getThumbnail","test","DefaultThumbnail","PdfThumbnail","getOrCreateTooltip","chart","tooltipEl","canvas","parentNode","querySelector","background","borderRadius","opacity","pointerEvents","position","transform","transition","table","margin","getPaginatedItems","items","pageSize","pg","pgSize","offset","pagedItems","_","drop","total_pages","ceil","createImage","Image","addEventListener","getRadianAngle","degreeValue","PI","rotateSize","rotation","rotRad","cos","sin","getCroppedImg","_getCroppedImg","imageSrc","pixelCrop","flip","ctx","_rotateSize","bBoxWidth","bBoxHeight","horizontal","vertical","getContext","translate","rotate","scale","drawImage","getImageData","x","y","putImageData","toBlob","randomColor","floor","toString","searchLike","str","toLowerCase","removeHTMLTags","values","renderKomponen","detailTugas","_detailTugas$curricul","curriculum_component_description_object","_detailTugas$curricul2","findIndex","sc","sub_components","isc","curriculum_component_description","komponen","sub_component","subIdx","safeScore","newRange","existingRange","max_score","min_score","limitArray","timestamp","pathWithSlash","firstSplit","secondSplit","_formatter","crypto","createHmac","digest","rupiahFormat","number","addComma","_value$toString","replaceTo","renderNisn","nis","nisn","uniqueArray","Set","handleSameAlamat","currentValue","newVal","ortuProfile","containString","directLinkGoogle","fileId","BASE_PROXY","directLinkWithoutProxy","proxyLink","directLinkGoogleWOProxy","AES_FRONT_KEY","AES_FRONT_IV","capitalize","charAt","Loading","className","_Spin","tip","size","SubMenu","_Menu","Item","renderTooltipWhenElipsis","disabled","isElipsis","_Tooltip","trigger","DefaultIconSchool","defaultSchool","alt","CDefaultIconSchool","Menus","props","_process$env$REACT_AP","_process$env$REACT_AP2","stateGlobal","useSelector","whitelabelRoot","_Grid","useBreakpoint","siteType","findSitename","findWlData","curClass","bodyWeight","whiteLabelData","t","useTranslation","useDispatch","_useState","useState","_useState2","_slicedToArray","selectedKey","setSelectedKey","_useState3","_useState4","disallow_production","setDisallowProduction","_useState5","dataClass","deleteModal","dataDelete","isSubmit","_useState6","setState","_useState7","_useState8","myClass","setMyClass","_useState9","_useState10","detailSchool","setDetailSchool","history","useHistory","dataTop","SVGDashboard","SVGKelasku","kelasDigital","SVGRaporParent","SVGAgenda","SVGJadwal","SVGBook","sequence","SVGBankSoal","laporanSiswa","SVGKegiatanBelajar","SVGAbsensi","SVGTugas","SVGUjian","SVGPodium","SVGJurnal","penilaianMain","onlyTK","SVGLpa","SVGRekapNilai","SVGRaporKuanti","SVGRaporKuali","pembayaranMain","SVGPembayaran","forumMain","SVGForum","SVGForumSekolah","SVGForumKelas","SVGForumGuru","settingMain","SVGSettings","menus","checkRole","_stateGlobal$School","_stateGlobal$School$s","_stateGlobal$School2","_stateGlobal$School2$","child","useEffect","_jsxs","_Row","gutter","_Col","span","logo_image_url","_Avatar","onClick","marginTop","_Button","block","SettingOutlined","_Select","dropdownClassName","placeholder","onChange","openModal","Option","cursor","textAlign","shape","marginLeft","InfoCircleFilled","renderStyles","display","flexDirection","onSelect","selectedKeys","defaultOpenKeys","paddingBottom","menu","_menu$name2","childs","isMobile","_e$state","_menu$name","a","b","_a$sequence","_b$sequence","_child$name","_single$icon","_single$name","single","renderMenu","MultiAttachment","attachments","_Space","row","target","download","rel","FileExcelFilled","Number","ItemClassMedia","Button","htmlType","BASE_EVALUASI","_path","_excluded","_extends","assign","bind","source","prototype","call","this","_objectWithoutProperties","excluded","sourceKeys","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","SvgExclamationCircle","svgRef","titleId","viewBox","fill","xmlns","ref","fillRule","clipRule","d","ForwardRef","Gap","listAgamaOptions","defaultProfile","accepted_in_instution_on","address","birth_date","birth_place","blood_type","body_abnormality","child_family_status","child_sequence","child_status","city_name","desa_id","desa_name","detail_address","district_id","district_name","father_address","father_city_id","father_city_name","father_district_id","father_district_name","father_name","father_occupation","father_phone_number","father_province_id","father_province_name","father_religion","father_status","full_name","gender","guardian_address","guardian_city_id","guardian_city_name","guardian_district_id","guardian_district_name","guardian_name","guardian_occupation","guardian_phone_number","guardian_province_id","guardian_province_name","guardian_religion","guardian_status","is_no_classes","is_no_courses","is_no_schools","kabupaten_id","kabupaten_name","kecamatan_id","kecamatan_name","latest_education","mother_address","mother_city_id","mother_city_name","mother_district_id","mother_district_name","mother_name","mother_occupation","mother_phone_number","mother_province_id","mother_province_name","mother_religion","mother_status","nick_name","no_telp","origin_of_the_institution","pantau_active","profile_image_id","province_name","provinsi_id","provinsi_name","religion","same_father_address","same_guardian_address","same_mother_address","school_distance","token_pantau","total_sibling","extracurricular","CancelToken","getStudentNilai","getRekapByStudent","getRekapDetail","getDownloadFileV2","getListPengajuanMapel","scoringType","schoolExamType","getListStudentScore","score_id","submitStudentScore","changeStatus","_error$response5$data","getScoreByStudent","_error$response7$data","getStudentTaskDetail","_error$response8$data","submitPengajuan","_error$response10$dat","getListStudentScoreAll","exportScoreExam","scoreID","getScoreRecap","_error$response17","_error$response17$dat","getScoreRecapDetail","_error$response18","_error$response18$dat","importScoreRecapTemplate","postRekapNilai","exportRekapNilai","progress","cancellation","onUploadProgress","progressEvent","cancelToken","c","isError","_error$response19","_error$response19$dat","_error$response20","_error$response20$dat","_error$response22","_error$response22$dat","_error$response21","_error$response21$dat","getScoreRecapDetailHistory","_error$response23","_error$response23$dat","updateFinalScore","updateStatusScore","checkScoringStatus","generateRaportQuali","generateRaportQuanti","requestPostIdentity","INVALID_REQUEST_PAYLOAD","CANNOT_FIND_STUDENT_SCORE_LIST","CANNOT_SUBMIT_STUDENT_SCORE","ROLE_CANNOT_EMPTY","FAILED_GET_LIST_SCORE_SUBMISSION","FAILED_GET_LIST_SUBMITTED_STUDENT_SCORE","FAILED_GET_SUBMITTED_ASSSESSMENT_AND_EXAM_LIST","FAILED_FIND_SCORE_CONCLUSION_DETAIL_BY_COURSE_ID","FAILED_FIND_TASK_DETAIL_LIST_BY_USER_ID","FAILED_UPDATE_SCORE_SUBMISSION_STATUS","INVALID_UPDATE_SCORE_SUBMISSION_STATUS","REJECT_REASON_CANNOT_EMPTY","INVALID_SCORE","RECORD_ALREADY_EXIST","FAILED_UPDATE_SCORE_SUBMISSION_STATUS_REPORT_TEMPLATE_NOT_FOUND","module","exports","BASE_API_PAYMENT","BASE_API_LPA","BASE_INTERAKSI_SOCKET","REACT_APP_BASE_STUDY","BASE_SOCKET","REACT_APP_BASE_API_SOCKET","BASE_IDENTITY","BASE_SOCKET_EXAM","i18n","Backend","initReactI18next","init","lng","debug","DEBUG","resources","translation","collage","company","madrasah","wakaf","course","bimbel","interpolation","escapeValue","react","useSuspense","isLocalhost","Boolean","hostname","match","registerValidSW","swUrl","navigator","serviceWorker","register","registration","onupdatefound","installingWorker","installing","onstatechange","controller","onUpdate","onSuccess","locale","LazyApp","lazy","Sentry","dsn","integrations","Integrations","BrowserTracing","defaultIntegrations","beforeSend","environment","tracesSampleRate","ReactDOM","render","_ConfigProvider","id_ID","Provider","PersistGate","Suspense","fallback","Worker","workerUrl","getElementById","origin","ready","unregister","reload","checkValidServiceWorker","_RESPONSE_ERRORS$resp","respErr","buildError","isArray","_RESPONSE_ERRORS$err","_RESPONSE_ERRORS$msg","removeStorage"],"mappings":"gRAEMA,EAAY,CAChBC,MAAM,EACNC,SAAS,EACTC,cAAe,GACfC,eAAe,EACfC,YAAY,EACZC,WAAY,KACZC,iBAAiB,EACjBC,WAAW,GA6CEC,EA1CF,WAAgC,IAA/BC,EAAKC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAGX,EAAWc,EAAMH,UAAAC,OAAA,EAAAD,UAAA,QAAAE,EACrC,OAAQC,EAAOC,MACb,KAAKC,IACH,OAAAC,wBAAA,GACKP,GAAK,IACRT,KAAMa,EAAOI,QAGjB,KAAKC,IACH,OAAAF,wBAAA,GACKP,GAAK,IACRR,QAASY,EAAOI,QAEpB,IAAK,cACH,OAAAD,wBAAA,GAAYP,GAAK,IAAEJ,WAAYQ,EAAOI,QAC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_USER } from '@type';\n\nconst initState = {\n user: false,\n profile: false,\n bindedAccount: [],\n updateProfile: false,\n uploadFile: false,\n checkEmail: null,\n checkEmailState: false,\n loggedOut: false,\n};\n\nconst Auth = (state = initState, action) => {\n switch (action.type) {\n case AUTH_USER:\n return {\n ...state,\n user: action.value,\n };\n\n case AUTH_PROFILE:\n return {\n ...state,\n profile: action.value,\n };\n case 'CHECK_EMAIL':\n return { ...state, checkEmail: action.value };\n case 'LOGOUT':\n if (action.value === true) {\n localStorage.removeItem('userData');\n }\n return { ...state, loggedOut: action.value };\n case 'CHECK_EMAIL_STATE':\n return { ...state, checkEmailState: action.value };\n case 'BINDED_ACCOUNT':\n return { ...state, bindedAccount: action.value.data };\n\n case AUTH_EDIT:\n return {\n ...state,\n updateProfile: action.value,\n };\n\n case AUTH_FILE:\n return {\n ...state,\n uploadFile: action.value,\n };\n\n default:\n return state;\n }\n};\n\nexport default Auth;\n","import { GET_ROLE, SET_ROLE, STATUS_ROLE, SET_WALIKELAS_DATA } from '@type';\n\nconst initState = {\n statusRole: false,\n value: {\n school_id: 0,\n school_name: '',\n type: '',\n id: 0,\n is_admin: false,\n class_id: 0,\n class_name: '',\n class_role: '',\n school_role: [],\n },\n studentPhotos: [],\n walikelas: null,\n};\n\nconst Role = (state = initState, action) => {\n switch (action.type) {\n case GET_ROLE:\n return {\n ...state,\n value: action.value,\n };\n\n case SET_ROLE:\n return {\n ...state,\n value: action.value,\n };\n\n case STATUS_ROLE:\n return {\n ...state,\n statusRole: action.value,\n };\n\n case 'SAVE_PHOTOS':\n return {\n ...state,\n studentPhotos: action.value,\n };\n case SET_WALIKELAS_DATA:\n return {\n ...state,\n walikelas: action.payload,\n };\n default:\n return state;\n }\n};\n\nexport default Role;\n","import {\n ADD_FILE_GDRIVE,\n GOOGLE_URL,\n IS_SUCCESS,\n IS_SUSPENDED,\n IS_UPLOAD_SUCCESS,\n SCHOOL_YEAR,\n SET_LOADING,\n WHITELABEL_CONFIG,\n} from '@type';\n\nconst initState = {\n loading: false,\n isSuccess: null,\n isUploadSuccess: null,\n message: '',\n school_year: false,\n networkError: null,\n suspended: null,\n whitelabel: null,\n googleUrl: null,\n drive: null,\n bySiswa: false,\n typeFilter: 'assessment',\n tab_quiz_detail: '1',\n whitelabel_data: {\n kelasku_banner: '',\n login_banner: [],\n // Dashboard\n dashboard_absensi_empty_state: '',\n dashboard_schedule_empty_state: '',\n dashboard_class_empty_state: '',\n dashboard_tugas_empty_state: '',\n dashboard_rekap_empty_state: '',\n // Kelasku\n kelasku_siswa_empty_state: '',\n kelasku_matpel_empty_state: '',\n kelasku_guru_empty_state: '',\n // Dokumen\n dokumen_empty_state: '',\n // Tugas\n tugas_empty_state: '',\n konferensi_empty_state: '',\n // Ujian Pro\n ujian_pro_empty_state: '',\n // Bank Soal\n bank_soal_empty_state: '',\n // Absensi\n absensi_empty_state: '',\n // Jadwal\n jadwal_empty_state: '',\n // Penjadwalan\n penjadwalan_empty_state: '',\n // Rekap Nilai\n rekap_nilai_empty_state: '',\n // Jurna Belajar\n jurnal_belajar_empty_state: '',\n // Forum\n forum_empty_state: '',\n site_name: '',\n site_type: '',\n wizard_step_two: undefined,\n wizard_step_one: undefined,\n wizard_step_three: undefined,\n hidden_menus: [],\n },\n routeChanged: false,\n dictionaries: null,\n redirected: false,\n};\n\nconst General = (state = initState, action) => {\n switch (action.type) {\n case SET_LOADING:\n return {\n ...state,\n loading: action.value,\n };\n case 'BY_SISWA':\n return {\n ...state,\n bySiswa: action.value,\n };\n case 'ROUTE_MOVE':\n return {\n ...state,\n routeChanged: !state.routeChanged,\n };\n case 'TYPE_FILTER':\n return {\n ...state,\n typeFilter: action.value,\n };\n case 'ADD_DICTIONARY':\n return {\n ...state,\n dictionaries: action.value,\n };\n case 'SET_TAB_QUIZ_DETAIL':\n return {\n ...state,\n tab_quiz_detail: action.value,\n };\n case IS_SUCCESS:\n return {\n ...state,\n isSuccess: action.value,\n message: action.message,\n };\n case IS_SUSPENDED:\n return {\n ...state,\n suspended: action.value === false,\n whitelabel: action.value !== false || action.value !== null ? action.value : null,\n };\n case ADD_FILE_GDRIVE:\n return {\n ...state,\n drive: action.value,\n };\n case GOOGLE_URL:\n return {\n ...state,\n googleUrl: action.value,\n };\n case IS_UPLOAD_SUCCESS:\n return {\n ...state,\n isUploadSuccess: action.value,\n networkError: action.value,\n message: action.message,\n };\n\n case SCHOOL_YEAR:\n return {\n ...state,\n school_year: action.value,\n };\n\n case 'REDIRECT_TO_CLASS':\n return {\n ...state,\n redirected: action.value,\n };\n\n case WHITELABEL_CONFIG:\n return {\n ...state,\n whitelabel_data: {\n ...state.whitelabel_data,\n ...action.value,\n },\n };\n\n default:\n return state;\n }\n};\n\nexport default General;\n","import {\n CREATE_CLASS,\n CREATE_MAPEL,\n CREATE_SYNC_CLASS,\n DELETE_CLASS,\n DELETE_MAPEL,\n DELETE_STUDENT,\n GET_CLASS_ME,\n GET_COURSE_BY_SCHOOL,\n GET_CURRENT_CLASS,\n GET_MAPEL_BY_CLASS,\n GET_ONE_CLASS,\n GET_ONE_SCHOOL,\n GET_STUDENT_BY_CLASS,\n GET_SYNC_CLASS,\n GET_SYNC_STUDENT,\n GET_SYNC_TEACHER,\n GET_TEACHER_BY_CLASS,\n SAVE_STATE_FOR_CHANGE_ROLE,\n SET_CURRENT_CLASS,\n SET_WALIKELAS,\n UPDATE_CLASS,\n UPDATE_MAPEL,\n} from '@type';\n\nconst initState = {\n currentClass: false,\n createClass: false,\n updateClass: false,\n deleteClass: false,\n listClass: false,\n setCurrentClass: false,\n listTeacher: false,\n setWaliKelas: false,\n listDataMurid: false,\n listDataMapel: false,\n createMapel: false,\n updateMapel: false,\n deleteMapel: false,\n deleteStudent: false,\n stateForChangeRole: false,\n courseBySchool: false,\n syncClassData: false,\n syncStudentData: false,\n syncTeacherData: false,\n createSyncClass: false,\n oneClass: false,\n oneSchool: false,\n};\n\nconst Class = (state = initState, action) => {\n switch (action.type) {\n case GET_CURRENT_CLASS:\n return {\n ...state,\n currentClass: action.value,\n };\n\n case SET_CURRENT_CLASS:\n return {\n ...state,\n setCurrentClass: action.value,\n };\n\n case GET_CLASS_ME:\n return {\n ...state,\n listClass: action.value,\n };\n\n case SAVE_STATE_FOR_CHANGE_ROLE:\n return {\n ...state,\n stateForChangeRole: action.value,\n };\n case GET_TEACHER_BY_CLASS:\n return {\n ...state,\n listTeacher: { data: action.value.data, total: action.value.pagination.total },\n };\n\n case CREATE_CLASS:\n return {\n ...state,\n createClass: action.value,\n };\n\n case UPDATE_CLASS:\n return {\n ...state,\n updateClass: action.value,\n };\n\n case DELETE_CLASS:\n return {\n ...state,\n deleteClass: action.value,\n };\n\n case SET_WALIKELAS:\n return {\n ...state,\n setWaliKelas: action.value,\n };\n\n case GET_STUDENT_BY_CLASS:\n return {\n ...state,\n listDataMurid: { data: action.value.data, total: action.value.pagination.total },\n };\n\n case GET_MAPEL_BY_CLASS:\n return {\n ...state,\n listDataMapel: { data: action.value.data, total: action.value.pagination.total },\n };\n\n case CREATE_MAPEL:\n return {\n ...state,\n createMapel: action.value,\n };\n\n case UPDATE_MAPEL:\n return {\n ...state,\n updateMapel: action.value,\n };\n\n case DELETE_MAPEL:\n return {\n ...state,\n deleteMapel: action.value,\n };\n\n case DELETE_STUDENT:\n return {\n ...state,\n deleteStudent: action.value,\n };\n\n case GET_COURSE_BY_SCHOOL:\n return {\n ...state,\n courseBySchool: action.value,\n };\n\n case GET_SYNC_CLASS:\n return {\n ...state,\n syncClassData: action.value,\n };\n\n case GET_SYNC_STUDENT:\n return {\n ...state,\n syncStudentData: action.value,\n };\n\n case GET_SYNC_TEACHER:\n return {\n ...state,\n syncTeacherData: action.value,\n };\n\n case CREATE_SYNC_CLASS:\n return {\n ...state,\n createSyncClass: action.value,\n };\n case GET_ONE_CLASS:\n return {\n ...state,\n oneClass: action.value,\n };\n case GET_ONE_SCHOOL:\n return {\n ...state,\n oneSchool: action.value,\n };\n\n default:\n return state;\n }\n};\n\nexport default Class;\n","import {\n CREATE_TUGAS,\n DETAIL_HISTORY,\n GET_ASSESSMENT_STUDENT_REFERENCE,\n GET_ASSESSMENT_STUDENT_REFERENCE_HISTORY,\n TUGAS_DETAIL,\n TUGAS_GURU,\n TUGAS_GURU_HISTORY,\n TUGAS_REFERENCE,\n TUGAS_SISWA,\n TUGAS_SISWA_HISTORY,\n UPLOAD,\n} from '@type';\n\nconst initialState = {\n tugas_siswa: [],\n tugas_guru: [],\n tugas_siswa_history: [],\n tugas_guru_history: [],\n tugas_reference: [],\n tugas_detail: null,\n tugas_reference_detail: null,\n fileUploaded: { id: null, webViewLink: null, name: null },\n studentReference: null,\n commentSuccess: null,\n studentReferenceHistory: [],\n tugas_detail_history: [],\n};\n\nconst Tugas = (state = initialState, action) => {\n switch (action.type) {\n case TUGAS_SISWA:\n return { ...state, tugas_siswa: action.value };\n case TUGAS_GURU:\n return { ...state, tugas_guru: action.value };\n case TUGAS_SISWA_HISTORY:\n return { ...state, tugas_siswa_history: action.value };\n case TUGAS_GURU_HISTORY:\n return { ...state, tugas_guru_history: action.value };\n case TUGAS_REFERENCE:\n return { ...state, tugas_reference: action.value };\n case DETAIL_HISTORY:\n return { ...state, tugas_detail_history: action.value };\n case TUGAS_DETAIL:\n return { ...state, tugas_detail: action.value };\n case CREATE_TUGAS:\n return state;\n case GET_ASSESSMENT_STUDENT_REFERENCE:\n return { ...state, studentReference: action.value };\n case 'BERI_NILAI':\n return state;\n case 'TAMBAH_COMMENT':\n return { ...state, commentSuccess: action.value };\n case UPLOAD:\n return {\n ...state,\n fileUploaded: {\n id: action.value.id,\n webViewLink: action.value.webViewLink,\n name: action.value.name,\n },\n };\n case GET_ASSESSMENT_STUDENT_REFERENCE_HISTORY:\n return {\n ...state,\n studentReferenceHistory: action.value,\n };\n default:\n return state;\n }\n};\n\nexport default Tugas;\n","import { GET_SCHEDULES } from '@type';\n\nconst initialState = {\n jadwal: [],\n};\n\nconst Jadwal = (state = initialState, action) => {\n switch (action.type) {\n case GET_SCHEDULES:\n return { ...state, jadwal: action.value };\n default:\n return state;\n }\n};\n\nexport default Jadwal;\n","import {\n CREATE_CONFERENCE,\n DELETE_CONFERENCE,\n GET_CLASS_BY_SCHOOL,\n GET_CONFERENCE,\n GET_COURSE_BY_CLASS,\n GET_SCHOOL_ME,\n UPDATE_CONFERENCE,\n} from '@type';\n\nconst initState = {\n list: [],\n createConference: false,\n deleteConference: null,\n updateConference: null,\n conferenceSchool: [],\n conferenceClasses: [],\n conferenceCourse: [],\n};\n\nconst Conference = (state = initState, action) => {\n switch (action.type) {\n case GET_CONFERENCE:\n return { ...state, list: action.value };\n case CREATE_CONFERENCE:\n return { ...state, createConference: action.value };\n case DELETE_CONFERENCE:\n return { ...state, deleteConference: action.value };\n case UPDATE_CONFERENCE:\n return { ...state, updateConference: action.value };\n case GET_SCHOOL_ME:\n return { ...state, conferenceSchool: action.value };\n case GET_CLASS_BY_SCHOOL:\n return { ...state, conferenceClasses: action.value };\n case GET_COURSE_BY_CLASS:\n return { ...state, conferenceCourse: action.value };\n default:\n return state;\n }\n};\n\nexport default Conference;\n","import {\n ABSENCE_BY_COURSE_BY_DATE,\n ABSENCE_BY_COURSE_BY_MONTH,\n ABSENCE_CLASS_SUMMARY,\n ABSENCE_GURU,\n LIST_PERMIT,\n} from '@type';\n\nconst initialState = {\n absenceId: 0,\n classSummary: null,\n absenceByCourseByDate: [],\n absenceByCourseByMonth: [],\n listPermit: [],\n idPermission: 0,\n responsePermit: false,\n};\n\nconst Absensi = (state = initialState, action) => {\n switch (action.type) {\n case ABSENCE_GURU:\n return { ...state, absenceId: action.value };\n case ABSENCE_CLASS_SUMMARY:\n return { ...state, classSummary: action.value };\n case ABSENCE_BY_COURSE_BY_DATE:\n return { ...state, absenceByCourseByDate: action.value };\n case ABSENCE_BY_COURSE_BY_MONTH:\n return { ...state, absenceByCourseByMonth: action.value };\n case LIST_PERMIT:\n return { ...state, listPermit: action.value };\n case 'CREATE_PERMISSION':\n return { ...state, idPermission: action.value.id };\n case 'RESPONSE_PERMIT':\n return { ...state, responsePermit: action.value };\n default:\n return state;\n }\n};\n\nexport default Absensi;\n","import { CREATE_BANK_SOAL, GET_ALL_BANK_SOAL, GET_BANK_SOAL, GET_ONE_BANK_SOAL } from '@type';\nimport { CLEAR_BANK_SOAL } from '../../../../constants/initType';\n\nconst initialState = {\n list: {\n data: [],\n meta: {\n item_per_page: 10,\n number_of_page: 0,\n page: 1,\n },\n },\n createBankSoal: false,\n bankSoalDetail: {},\n};\n\nconst BankSoal = (state = initialState, action) => {\n switch (action.type) {\n case GET_ALL_BANK_SOAL:\n return {\n ...state,\n listBankSoal: action.value,\n };\n\n case GET_BANK_SOAL:\n return {\n ...state,\n list: {\n data: action.value,\n meta: action.meta,\n },\n };\n\n case CREATE_BANK_SOAL:\n return {\n ...state,\n createBankSoal: action.value,\n };\n case GET_ONE_BANK_SOAL:\n return {\n ...state,\n bankSoalDetail: action.value,\n };\n case CLEAR_BANK_SOAL:\n return {\n ...state,\n bankSoalDetail: {},\n createBankSoal: false,\n };\n default:\n return state;\n }\n};\nexport default BankSoal;\n","import {\n CREATE_ANSWER_QUIZ_BANK_SOAL,\n CREATE_QUIZ_BANK_SOAL,\n DELETE_QUIZ,\n GET_COURSE_BANK_SOAL,\n GET_EXAM_DETAIL,\n GET_EXAM_DETAIL_AND_QUESTION,\n GET_LIST_BANK_SOAL,\n GET_LIST_EXAM,\n GET_LIST_MASTER_SOAL,\n GET_QUESTION_BY_EXAM_ID,\n GET_QUESTION_BY_EXAM_ID_NEW,\n GET_QUIZ_DETAIL,\n GET_QUIZ_JAWABAN,\n GET_QUIZ_PERSONAL,\n GET_QUIZ_SOAL,\n GET_SOAL_BANK_SOAL,\n GET_TYPE_LIST,\n UPDATE_QUIZ,\n} from '@type';\n\nconst initState = {\n dataCourse: false,\n listUjian: false,\n listBankSoal: false,\n masterSoal: false,\n listSoal: false,\n createQuizBankSoal: false,\n createAnswerQuizBankSoal: false,\n quizJawaban: {},\n // Ujian Student\n quizDetail: {},\n quizSoal: {},\n updateQuiz: false,\n deleteQuiz: false,\n typeList: [],\n listExam: [],\n examDetail: {},\n examDetailNew: null,\n questionByExam: [],\n questionByExamNew: [],\n};\n\nconst Ujian = (state = initState, action) => {\n switch (action.type) {\n case GET_QUIZ_PERSONAL:\n return {\n ...state,\n listUjian: action.value,\n };\n\n case GET_LIST_BANK_SOAL:\n return {\n ...state,\n listBankSoal: action.value,\n };\n\n case GET_LIST_MASTER_SOAL:\n return {\n ...state,\n masterSoal: action.value,\n };\n\n case GET_SOAL_BANK_SOAL:\n return {\n ...state,\n listSoal: action.value,\n };\n\n case GET_COURSE_BANK_SOAL:\n return {\n ...state,\n dataCourse: action.value,\n };\n\n case CREATE_QUIZ_BANK_SOAL:\n return {\n ...state,\n createQuizBankSoal: action.value,\n };\n\n case CREATE_ANSWER_QUIZ_BANK_SOAL:\n return {\n ...state,\n createAnswerQuizBankSoal: action.value,\n };\n\n case UPDATE_QUIZ:\n return {\n ...state,\n updateQuiz: action.value,\n };\n\n case DELETE_QUIZ:\n return {\n ...state,\n deleteQuiz: action.value,\n };\n\n case GET_QUIZ_JAWABAN:\n return {\n ...state,\n quizJawaban: action.value,\n };\n // Ujian Student\n case GET_QUIZ_DETAIL:\n return {\n ...state,\n quizDetail: action.value,\n };\n case GET_QUIZ_SOAL:\n return {\n ...state,\n quizSoal: action.value,\n };\n case GET_TYPE_LIST:\n return {\n ...state,\n typeList: action.value,\n };\n case GET_LIST_EXAM:\n return {\n ...state,\n listExam: action.value,\n };\n case GET_EXAM_DETAIL:\n return {\n ...state,\n examDetail: action.value,\n };\n case GET_EXAM_DETAIL_AND_QUESTION:\n return {\n ...state,\n examDetailNew: action.value,\n };\n case GET_QUESTION_BY_EXAM_ID:\n return {\n ...state,\n questionByExam: action.value,\n };\n case GET_QUESTION_BY_EXAM_ID_NEW:\n return {\n ...state,\n questionByExamNew: action.value,\n };\n\n default:\n return state;\n }\n};\n\nexport default Ujian;\n","import { GET_UJIAN_GURU, GET_UJIAN_PARTICIPANT_GURU } from '@type';\nimport { listTableDetailParticipant, paginatior } from '../../../selector/MediaKelas/UjianGuru';\n\nconst initState = {\n list: [],\n detail: null,\n pagination: {\n current_page: 1,\n per_page: 10,\n last_page: 0,\n total: 0,\n },\n listParticipant: [],\n paginationParticipant: {\n current_page: 1,\n per_page: 10,\n last_page: 0,\n total: 0,\n },\n};\n\nconst UjianGuru = (state = initState, action) => {\n switch (action.type) {\n case GET_UJIAN_GURU:\n return {\n ...state,\n list: action.value.list || [],\n pagination: paginatior(action.pagination.meta, state.pagination),\n };\n\n case GET_UJIAN_PARTICIPANT_GURU:\n return {\n ...state,\n listParticipant: listTableDetailParticipant(action.value),\n paginationParticipant: action.pagination,\n };\n default:\n return state;\n }\n};\n\nexport default UjianGuru;\n","import { FETCH_EXAM_QUESTION, FETCH_STUDENT_EXAM, READ_STUDENT_EXAM, SUBMIT_STUDENT_EXAM } from '@type';\nimport { COLLECT_ANSWER, READ_QNA_EXAM } from '../../../../constants/initType';\nimport { handleCollectAnswer } from './functions';\n\nconst initialState = {\n list: {\n data: [],\n meta: {\n page: 1,\n limit: 10,\n max_page: 1,\n total_items: 5,\n },\n },\n detail: null,\n questions: null,\n qna: null,\n answerCollection: [],\n};\n\nconst UjianSiswa = (state = initialState, action) => {\n switch (action.type) {\n case FETCH_STUDENT_EXAM:\n return {\n ...state,\n list: {\n ...state.list,\n data: action.value.list,\n meta: action.value.meta,\n },\n };\n case READ_STUDENT_EXAM:\n return {\n ...state,\n detail: {\n ...state.detail,\n ...action.value,\n },\n };\n case READ_QNA_EXAM:\n return {\n ...state,\n qna: action.value,\n };\n case FETCH_EXAM_QUESTION:\n return {\n ...state,\n questions: action.value,\n };\n case COLLECT_ANSWER:\n return {\n ...state,\n answerCollection: handleCollectAnswer(action.data, state.answerCollection),\n };\n case SUBMIT_STUDENT_EXAM:\n return {\n ...state,\n answerCollection: [],\n };\n\n case 'FORCE_SET_DATA':\n return {\n ...state,\n [action.path]: action.data,\n };\n case 'CLEAR_STATE_DETAIL':\n return {\n ...state,\n detail: null,\n };\n\n default:\n return state;\n }\n};\nexport default UjianSiswa;\n","import { GET_DOCUMENTS, GET_DOCUMENTS_SCHOOL, GET_FILES, GET_FILES_SCHOOL } from '@type';\n\nconst initState = {\n listDocuments: [],\n listFiles: [],\n listDocumentsSchool: [],\n listFilesSchool: [],\n about: null,\n};\n\nconst Dokumen = (state = initState, action) => {\n switch (action.type) {\n case GET_DOCUMENTS:\n return { ...state, listDocuments: action.value };\n case GET_FILES:\n return { ...state, listFiles: action.value };\n case GET_DOCUMENTS_SCHOOL:\n return { ...state, listDocumentsSchool: action.value };\n case GET_FILES_SCHOOL:\n return { ...state, listFilesSchool: action.value };\n case 'GET_ABOUT_GDRIVE':\n return { ...state, about: action.value };\n default:\n return state;\n }\n};\n\nexport default Dokumen;\n","import {\n GET_COURSE_PENGAJUAN,\n GET_DETAIL_NILAI,\n GET_DETAIL_SCORE_BY_SISWA,\n GET_NILAI_BY_STUDENT,\n GET_PENGAJUAN_MAPEL,\n GET_STUDENT_DETAIL_TASK,\n GET_STUDENT_NILAI,\n GET_STUDENT_SCORE,\n GET_STUDENT_SCORE_ALL,\n GET_STUDENT_SCORE_SUBMIT,\n GET_SUBMITTED_COURSE,\n} from '@type';\nimport { GET_ALL_GRADING_PENILAIAN, GET_ONE_GRADING_PENILAIAN } from '../../../../constants/initType';\n\nconst initState = {\n listStudent: false,\n listNilai: false,\n detailNilai: false,\n listSubmittedCourse: false,\n listPengajuanMapel: false,\n listStudentScore: false,\n listStudentScoreSubmit: false,\n listScoreBySiswa: false,\n listStudentTaskDetail: false,\n typePengajuan: 'assessment',\n listCoursePengajuan: [],\n gradingList: false,\n gradingDetail: false,\n listStudentScoreAll: [],\n};\n\nconst Nilai = (state = initState, action) => {\n switch (action.type) {\n case GET_STUDENT_NILAI:\n return {\n ...state,\n listStudent: action.value,\n };\n\n case GET_NILAI_BY_STUDENT:\n return {\n ...state,\n listNilai: action.value,\n };\n\n case GET_DETAIL_NILAI:\n return {\n ...state,\n detailNilai: action.value,\n };\n case GET_SUBMITTED_COURSE:\n return {\n ...state,\n listSubmittedCourse: {\n data: action.value?.list,\n total: action.value?.meta?.total,\n },\n };\n case GET_PENGAJUAN_MAPEL:\n return {\n ...state,\n listPengajuanMapel: {\n data: action.value?.list,\n total: action.value?.meta?.total,\n },\n };\n case GET_STUDENT_SCORE:\n return {\n ...state,\n listStudentScore: {\n data: action.value?.list,\n total: action.value?.meta?.total,\n },\n };\n case GET_STUDENT_SCORE_SUBMIT:\n return {\n ...state,\n listStudentScoreSubmit: action.value,\n };\n case GET_DETAIL_SCORE_BY_SISWA:\n return {\n ...state,\n listScoreBySiswa: action.value,\n };\n case GET_STUDENT_DETAIL_TASK:\n return {\n ...state,\n listStudentTaskDetail: action.value,\n };\n case GET_COURSE_PENGAJUAN:\n return {\n ...state,\n listCoursePengajuan: action.value,\n };\n case GET_ALL_GRADING_PENILAIAN:\n return {\n ...state,\n gradingList: action.value,\n };\n case GET_ONE_GRADING_PENILAIAN:\n return {\n ...state,\n gradingDetail: action.value,\n };\n case 'CHANGE_TYPE_PENGAJUAN': {\n return {\n ...state,\n typePengajuan: action.value,\n };\n }\n case GET_STUDENT_SCORE_ALL: {\n return {\n ...state,\n listStudentScoreAll: action.value,\n };\n }\n default:\n return state;\n }\n};\n\nexport default Nilai;\n","import { FETCH_FORUM, READ_FORUM } from '@type';\n\nconst initState = {\n list: [],\n detail: {},\n};\n\nconst Forum = (state = initState, action) => {\n switch (action.type) {\n case FETCH_FORUM: {\n return {\n ...state,\n list: action.payload || [],\n };\n }\n case READ_FORUM: {\n return {\n ...state,\n detail: action.payload || {},\n };\n }\n default:\n return state;\n }\n};\n\nexport default Forum;\n","import {\n CREATE_JURNAL_BELAJAR,\n JURNAL_BELAJAR_DETAIL,\n JURNAL_BELAJAR_TUGAS,\n JURNAL_BELAJAR_UJIAN,\n LIST_JURNAL_BELAJAR,\n LIST_JURNAL_BELAJAR_NEXT,\n LIST_JURNAL_BELAJAR_DRAGGABLE,\n} from '@type';\n\nconst initialState = {\n list_jurnal: { list_data: [] },\n list_jurnal_next: { list_data: [] },\n jurnal_detail: {},\n jurnal_tugas: [],\n jurnal_ujian: [],\n delete_status_code: null,\n};\n\nconst JurnalBelajar = (state = initialState, action) => {\n switch (action.type) {\n case CREATE_JURNAL_BELAJAR:\n return state;\n case LIST_JURNAL_BELAJAR:\n return { ...state, list_jurnal: action.value };\n case LIST_JURNAL_BELAJAR_NEXT:\n return { ...state, list_jurnal_next: action.value };\n case JURNAL_BELAJAR_DETAIL:\n return { ...state, jurnal_detail: action.value };\n case JURNAL_BELAJAR_TUGAS:\n return { ...state, jurnal_tugas: action.value };\n case JURNAL_BELAJAR_UJIAN:\n return { ...state, jurnal_ujian: action.value };\n case 'DELETEJURNAL':\n return { ...state, delete_status_code: action.value };\n case LIST_JURNAL_BELAJAR_DRAGGABLE:\n return { ...state, list_jurnal_draggable: action.value };\n default:\n return state;\n }\n};\n\nexport default JurnalBelajar;\n","import {\n CHAT_INTERAKSI_BELAJAR_ROOM,\n CREATE_INTERAKSI_BELAJAR_ROOM,\n DELETE_INTERAKSI_BELAJAR_ROOM,\n GET_INTERAKSI_BELAJAR_ROOM,\n GET_PARTISIPAN_INTERAKSI_BELAJAR_ROOM,\n LIST_INTERAKSI_BELAJAR_ROOM,\n SELECTED_PARTISIPAN_INTERKASI_BELAJAR,\n SET_CHATID_INTERAKSI_BELAJAR_ROOM,\n UPDATE_INTERAKSI_BELAJAR_ROOM,\n} from '@type';\nimport { message } from 'antd';\n\nconst initialState = {\n list_partisipan: [],\n createRoom: false,\n roomReady: false,\n list_interaksi: [],\n selected_partisipan: false,\n interaksiBody: false,\n retrievedChat: false,\n chatId: false,\n chatName: false,\n};\n\nconst InteraksiBelajar = (state = initialState, action) => {\n switch (action.type) {\n case GET_PARTISIPAN_INTERAKSI_BELAJAR_ROOM:\n return { ...state, list_partisipan: action.value };\n case LIST_INTERAKSI_BELAJAR_ROOM:\n return { ...state, list_interaksi: action.value };\n case GET_INTERAKSI_BELAJAR_ROOM:\n return { ...state, interaksiBody: action.value };\n case SELECTED_PARTISIPAN_INTERKASI_BELAJAR:\n return { ...state, selected_partisipan: action.value };\n case CREATE_INTERAKSI_BELAJAR_ROOM:\n if (action.value) {\n message.success(action.message);\n } else if (action.message !== 'Anda Telah Di Alihkan') {\n message.error(action.message);\n }\n return { ...state, createRoom: action.value };\n case UPDATE_INTERAKSI_BELAJAR_ROOM:\n return state;\n case DELETE_INTERAKSI_BELAJAR_ROOM:\n return state;\n case CHAT_INTERAKSI_BELAJAR_ROOM:\n return { ...state, retrievedChat: action.value };\n case SET_CHATID_INTERAKSI_BELAJAR_ROOM:\n return { ...state, chatId: action.value };\n default:\n return state;\n }\n};\n\nexport default InteraksiBelajar;\n","import Tugas from './Tugas';\nimport Jadwal from './Jadwal';\nimport Conference from './Conference';\nimport Absensi from './Absensi';\nimport BankSoal from './BankSoal';\nimport Ujian from './Ujian';\nimport UjianGuru from './Ujian.Guru';\nimport UjianSiswa from './UjianSiswa';\nimport Dokumen from './Dokumen';\nimport Nilai from './Nilai';\nimport Forum from './Forum';\nimport JurnalBelajar from './JurnalBelajar';\nimport InteraksiBelajar from './InteraksiBelajar';\n\nexport const MediaKelas = {\n Tugas,\n Jadwal,\n Conference,\n Absensi,\n BankSoal,\n Ujian,\n UjianGuru,\n UjianSiswa,\n Dokumen,\n Nilai,\n Forum,\n JurnalBelajar,\n InteraksiBelajar,\n};\n","import { CHANGE_SCHOOL, DETAIL_SCHOOL, GET_SCHOOL_ME, LIST_SCHOOL } from '@type';\n\nconst initialState = {\n listSchoolMe: [],\n listSchool: [],\n listSchoolParams: {\n isEmpty: false,\n },\n changeSchool: null,\n schoolDetail: null,\n};\n\nconst School = (state = initialState, action) => {\n switch (action.type) {\n case GET_SCHOOL_ME:\n return { ...state, listSchoolMe: action.value };\n case 'GET_SCHOOL_ME_PARAMS':\n return { ...state, listSchoolParams: action.value };\n case LIST_SCHOOL:\n return { ...state, listSchool: action.value };\n case DETAIL_SCHOOL:\n return {\n ...state,\n schoolDetail: action.value,\n };\n case CHANGE_SCHOOL:\n return {\n ...state,\n changeSchool: action.value,\n };\n default:\n return state;\n }\n};\n\nexport default School;\n","import { KOTA, PROVINSI } from '@type';\nimport { KECAMATAN } from '../../../constants/initType';\n\nconst initialState = {\n provinsi: [],\n kota: [],\n kecamatan: [],\n};\n\nconst Wilayah = (state = initialState, action) => {\n switch (action.type) {\n case PROVINSI:\n return { ...state, provinsi: action.value };\n case KOTA:\n return { ...state, kota: action.value };\n case KECAMATAN:\n return { ...state, kecamatan: action.value };\n default:\n return state;\n }\n};\n\nexport default Wilayah;\n","import { CREATE_JP, CREATE_TEMA, DELETE_TEMA, LIST_TEMA, UPDATE_TEMA } from '@type';\n\nconst initState = {\n list: false,\n create: false,\n createJp: false,\n delete: false,\n update: false,\n};\n\nconst TemaPenilaian = (state = initState, action) => {\n switch (action.type) {\n case LIST_TEMA:\n return {\n ...state,\n list: action.value,\n };\n\n case CREATE_TEMA:\n return {\n ...state,\n create: action.value,\n };\n\n case CREATE_JP:\n return {\n ...state,\n createJp: action.value,\n };\n\n case UPDATE_TEMA:\n return {\n ...state,\n update: action.value,\n };\n\n case DELETE_TEMA:\n return {\n ...state,\n delete: action.value,\n };\n\n default:\n return state;\n }\n};\n\nexport default TemaPenilaian;\n","import { KARAKTER_UTAMA_CREATE, KARAKTER_UTAMA_DELETE, KARAKTER_UTAMA_UPDATE } from '@type';\n\nconst initState = {\n list: false,\n create: false,\n update: false,\n delete: false,\n};\n\nconst KarakterUtama = (state = initState, action) => {\n switch (action.type) {\n case KARAKTER_UTAMA_CREATE:\n return {\n ...state,\n create: action.value,\n };\n\n case KARAKTER_UTAMA_UPDATE:\n return {\n ...state,\n update: action.value,\n };\n\n case KARAKTER_UTAMA_DELETE:\n return {\n ...state,\n delete: action.value,\n };\n\n default:\n return state;\n }\n};\n\nexport default KarakterUtama;\n","import {\n CREATE_DETAIL_KD,\n CREATE_KARAKTER_DASAR,\n CREATE_RINCIAN_KD,\n DELETE_DETAIL_KD,\n DELETE_KARAKTER_DASAR,\n DELETE_RINCIAN_KD,\n FIND_KARAKTER_DASAR,\n LIST_DETAIL_KD,\n LIST_KARAKTER_DASAR,\n LIST_RINCIAN_KD,\n UPDATE_DETAIL_KD,\n UPDATE_KARAKTER_DASAR,\n UPDATE_RINCIAN_KD,\n} from '@type';\n\nconst initState = {\n list: false,\n create: false,\n update: false,\n delete: false,\n find: false,\n\n listDetail: false,\n createDetail: false,\n updateDetail: false,\n deleteDetail: false,\n\n listRincian: false,\n createRincian: false,\n updateRincian: false,\n deleteRincian: false,\n};\n\nconst KarakterDasar = (state = initState, action) => {\n switch (action.type) {\n case LIST_KARAKTER_DASAR:\n return {\n ...state,\n list: action.value,\n };\n\n case CREATE_KARAKTER_DASAR:\n return {\n ...state,\n create: action.value,\n };\n\n case UPDATE_KARAKTER_DASAR:\n return {\n ...state,\n update: action.value,\n };\n\n case DELETE_KARAKTER_DASAR:\n return {\n ...state,\n delete: action.value,\n };\n\n case FIND_KARAKTER_DASAR:\n return { ...state, find: action.value };\n\n case LIST_DETAIL_KD:\n return {\n ...state,\n listDetail: action.value,\n };\n\n case CREATE_DETAIL_KD:\n return {\n ...state,\n createDetail: action.value,\n };\n\n case UPDATE_DETAIL_KD:\n return {\n ...state,\n updateDetail: action.value,\n };\n\n case DELETE_DETAIL_KD:\n return {\n ...state,\n deleteDetail: action.value,\n };\n\n case LIST_RINCIAN_KD:\n return {\n ...state,\n listRincian: action.value,\n };\n\n case CREATE_RINCIAN_KD:\n return {\n ...state,\n createRincian: action.value,\n };\n\n case UPDATE_RINCIAN_KD:\n return {\n ...state,\n updateRincian: action.value,\n };\n\n case DELETE_RINCIAN_KD:\n return {\n ...state,\n deleteRincian: action.value,\n };\n\n default:\n return state;\n }\n};\n\nexport default KarakterDasar;\n","import { CREATE_DRAFT_SKL, DATA_DRAFT_SKL, UPDATE_DRAFT_SKL } from '@type';\n\nconst initState = {\n data: false,\n create: false,\n update: false,\n};\n\nconst DraftSKL = (state = initState, action) => {\n switch (action.type) {\n case DATA_DRAFT_SKL:\n return {\n ...state,\n data: action.value,\n };\n\n case CREATE_DRAFT_SKL:\n return {\n ...state,\n create: action.value,\n };\n\n case UPDATE_DRAFT_SKL:\n return {\n ...state,\n update: action.value,\n };\n\n default:\n return state;\n }\n};\n\nexport default DraftSKL;\n","import {\n CREATE_KATEGORI_PENILAIAN,\n DELETE_KATEGORI_PENILAIAN,\n LIST_KATEGORI_PENILAIAN,\n UPDATE_KATEGORI_PENILAIAN,\n} from '@type';\n\nconst initState = {\n list: false,\n create: false,\n update: false,\n delete: false,\n};\n\nconst KategoriPenilaian = (state = initState, action) => {\n switch (action.type) {\n case LIST_KATEGORI_PENILAIAN:\n return {\n ...state,\n list: action.value,\n };\n\n case CREATE_KATEGORI_PENILAIAN:\n return {\n ...state,\n create: action.value,\n };\n\n case UPDATE_KATEGORI_PENILAIAN:\n return {\n ...state,\n update: action.value,\n };\n\n case DELETE_KATEGORI_PENILAIAN:\n return {\n ...state,\n delete: action.value,\n };\n\n default:\n return state;\n }\n};\n\nexport default KategoriPenilaian;\n","import {\n CLASS_EVALUASI,\n CREATE_EVALUASI_KARAKTER,\n CREATE_EVALUASI_KARAKTER_DESC,\n CREATE_EVALUASI_KARAKTER_PENILAIAN,\n DELETE_EVALUASI_KARAKTER,\n DETAIL_EVALUASI_KARAKTER,\n LIST_EVALUASI_KARAKTER,\n STUDENT_EVALUASI,\n UPDATE_EVALUASI_KARAKTER,\n} from '@type';\n\nconst initState = {\n list: false,\n create: false,\n update: false,\n delete: false,\n detail: false,\n penilaian: false, // create\n desc: false, // create\n class: false,\n students: false,\n};\n\nconst EvaluasiKarakter = (state = initState, action) => {\n switch (action.type) {\n case LIST_EVALUASI_KARAKTER:\n return {\n ...state,\n list: action.value,\n };\n\n case CREATE_EVALUASI_KARAKTER:\n return {\n ...state,\n create: action.value,\n };\n\n case UPDATE_EVALUASI_KARAKTER:\n return {\n ...state,\n update: action.value,\n };\n\n case DELETE_EVALUASI_KARAKTER:\n return {\n ...state,\n delete: action.value,\n };\n\n case DETAIL_EVALUASI_KARAKTER:\n return {\n ...state,\n detail: action.value,\n };\n\n case CREATE_EVALUASI_KARAKTER_PENILAIAN:\n return {\n ...state,\n penilaian: action.value,\n };\n\n case CREATE_EVALUASI_KARAKTER_DESC:\n return {\n ...state,\n desc: action.value,\n };\n\n case CLASS_EVALUASI:\n return {\n ...state,\n class: action.value,\n };\n\n case STUDENT_EVALUASI:\n return {\n ...state,\n students: action.value,\n };\n\n default:\n return state;\n }\n};\n\nexport default EvaluasiKarakter;\n","import {\n GET_ALL_COURSES,\n GET_COURSES_BY_ME,\n MASTER_BANK,\n MASTER_CONTENT_TYPE,\n MASTER_COURSE_CERTIFICATE_TYPE,\n MASTER_COURSE_DIFFICULTY_LEVEL,\n MASTER_COURSE_SCHEDULE_TYPE,\n MASTER_COURSE_TYPE,\n MASTER_LANG,\n UPLOAD_COVER,\n} from '@type';\n\nconst initialState = {\n courseScheduleType: [],\n difficultyLevel: [],\n certificateType: [],\n langType: [],\n uploadCover: null,\n myCourses: [],\n allCourse: [],\n allBanks: [],\n courseType: [],\n contentType: [],\n};\n\nconst Kursus = (state = initialState, action) => {\n switch (action.type) {\n case MASTER_COURSE_SCHEDULE_TYPE:\n return {\n ...state,\n courseScheduleType: action.value,\n };\n case MASTER_COURSE_DIFFICULTY_LEVEL:\n return {\n ...state,\n difficultyLevel: action.value,\n };\n case MASTER_COURSE_CERTIFICATE_TYPE:\n return {\n ...state,\n certificateType: action.value,\n };\n case MASTER_LANG:\n return {\n ...state,\n langType: action.value,\n };\n case MASTER_COURSE_TYPE:\n return {\n ...state,\n courseType: action.value,\n };\n case UPLOAD_COVER:\n return {\n ...state,\n uploadCover: action.value,\n };\n case GET_COURSES_BY_ME:\n return {\n ...state,\n myCourses: action.value,\n };\n case GET_ALL_COURSES:\n return {\n ...state,\n allCourses: action.value,\n };\n case MASTER_BANK:\n return {\n ...state,\n allBanks: action.value,\n };\n case MASTER_CONTENT_TYPE:\n return {\n ...state,\n contentType: action.value,\n };\n\n default:\n return state;\n }\n};\nexport default Kursus;\n","import { GET_EXAM_HEADER } from '../../../constants/initType';\n\nconst initState = {\n examHeaderList: [],\n refBody: 0,\n};\nconst Pengaturan = (state = initState, action) => {\n switch (action.type) {\n case GET_EXAM_HEADER:\n return {\n ...state,\n examHeaderList: action.value,\n };\n case 'REF_BODY':\n return {\n ...state,\n refBody: action.value,\n };\n default:\n return state;\n }\n};\n\nexport default Pengaturan;\n","import { combineReducers } from 'redux';\nimport Auth from './Auth';\nimport Role from './Role';\nimport General from './General';\nimport Class from './Class';\nimport { MediaKelas } from './MediaKelas';\nimport School from './School';\nimport Wilayah from './Wilayah';\nimport { DraftSKL, EvaluasiKarakter, KarakterDasar, KarakterUtama, KategoriPenilaian, TemaPenilaian } from './Evaluasi';\nimport Kursus from './Kursus';\nimport Pengaturan from './Pengaturan';\n\nexport default combineReducers({\n Auth,\n Role,\n General,\n Class,\n ...MediaKelas,\n School,\n Wilayah,\n TemaPenilaian,\n KarakterUtama,\n KarakterDasar,\n DraftSKL,\n KategoriPenilaian,\n EvaluasiKarakter,\n Kursus,\n Pengaturan,\n});\n","import { applyMiddleware, createStore } from 'redux';\nimport { persistReducer, persistStore } from 'redux-persist';\nimport thunk from 'redux-thunk';\nimport storage from 'redux-persist/lib/storage';\nimport reducer from '@store/reducers';\n\nconst persistConfig = {\n // configuration object for redux-persist\n key: 'root',\n storage, // define which storage to use\n whitelist: ['Role', 'Auth', 'General', 'School'],\n};\n\nconst persistedReducer = persistReducer(persistConfig, reducer);\nconst store = createStore(persistedReducer, applyMiddleware(thunk));\nconst persistor = persistStore(store);\n\nexport { store, persistor };\n","/* eslint-disable indent */\n/* eslint-disable no-confusing-arrow */\nimport React from 'react';\nimport Icon from '@ant-design/icons';\nimport { ReactSVG } from 'react-svg';\n\nconst IconCreate = ({\n svg,\n color,\n width = 16,\n height = 16,\n style = { marginBottom: 2, marginRight: 5 },\n injection = false,\n}) => {\n const MyIcon = () => (\n {\n !injection\n ? () => {\n svg.classList.add('svg-class-name');\n const el = [...svg.querySelectorAll('path')];\n const gEl = [...svg.querySelectorAll('line')];\n el.forEach((e) => {\n e.setAttribute('fill', color ?? 'white');\n });\n gEl.forEach((e) => {\n e.setAttribute('stroke', color ?? 'white');\n });\n svg.setAttribute('width', width);\n svg.setAttribute('height', height);\n }\n : injection(svg);\n }}\n src={svg}\n />\n );\n // const MyIcon = ()=>(\n // \n //\n // )\n\n return (\n \n );\n};\n\nexport default IconCreate;\n","export const MSG_NETWORK_FAILED = 'Jaringan tidak stabil mohon coba lagi';\nexport const MSG_SUCCESS_TRANSACTION = 'Permintaan telah berhasil';\nexport const MSG_WARNING_TRANSACTION = 'Sepertinya ada kesalahan dalam operasi sebelumnya';\nexport const MSG_SUCCESS_ADD = 'Data berhasil ditambahkan';\nexport const MSG_WARNING_ADD = 'Data gagal ditambahkan';\nexport const MSG_SUCCESS_EDIT = 'Data berhasil diubah';\nexport const MSG_WARNING_EDIT = 'Data gagal diubah';\nexport const RESPONSE_ERRORS = {\n 'invalid request body': 'Silahkan cek semua kolom isian anda',\n record_already_exist: 'Data pengguna sudah ada, silakan menggunakan email baru',\n record_already_exist_wa: 'Data tahapan telah ada sebelumnya',\n record_exist: 'Data Partisipan Telah Ada Sebelumnya',\n 'Nama sudah terdaftar': 'Nama Mata Pelajaran Telah Ada Sebelumnya',\n invalid_date: 'Tanggal Yang Anda Pilih Melebihi Periode Yang Di Tentukan',\n 'Email must be a valid email address': 'Email Tidak Valid',\n date_exist: 'Pada tanggal tersebut data LPA sudah tersedia',\n};\n","import { notification } from 'antd';\nimport { AUTH_EDIT, AUTH_FILE, AUTH_PROFILE, AUTH_USER } from '@type';\nimport { showLoading } from '@store/actions';\nimport { requestPost } from '@configs';\nimport { getUserToken } from '@utils';\nimport axios from 'axios';\nimport { BASE_LOGIN } from '../../../constants/initHttp';\nimport { AxiosInject, reportSentry } from '../../../utils/Utils';\n\nexport const requestLogin = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPost('users/sign-in', data);\n\n localStorage.setItem('userData', JSON.stringify(rest.data));\n dispatch({ type: AUTH_USER, value: rest.data });\n dispatch(getUserProfile());\n } catch (error) {\n notification.error({\n message: 'Mohon Maaf!',\n description: 'Ada kesalahan saat melakukan login menggunakan akun google anda, silahkan coba lagi.',\n });\n }\n};\n\nexport const getUserProfile = () => async (dispatch) =>\n axios\n .get(`${BASE_LOGIN}/v1/api/user/token`, {\n headers: {\n Authorization: `Bearer ${getUserToken()}`,\n },\n })\n .then((rest) => {\n dispatch({ type: AUTH_PROFILE, value: rest.data.data });\n dispatch(showLoading(false));\n })\n .catch(() => {\n // notificationOverride({\n // title: 'Permintaan Ditolak',\n // description: 'Terjadi Kesalahan, Silahkan Hubungi Customer Service Kami',\n // type: 'warning',\n // });\n dispatch(showLoading(false));\n });\n\nexport const userCredential = async () =>\n await axios.get(`${BASE_LOGIN}/v1/api/userCredential/type/gmail`, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n });\n\nexport const requestLoginV2 = async (data) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n const api = axios\n .post(`${BASE_LOGIN}/v1/api/auth/login`, data)\n .then((response) => {\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n return api;\n });\n\nexport const requestLoginV3 = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n return await axios\n .post(`${BASE_LOGIN}/v1/api/auth/login`, data)\n .then((response) => {\n localStorage.setItem('userData', JSON.stringify(response.data));\n dispatch({\n type: AUTH_USER,\n value: response.data,\n });\n dispatch(getUserProfile());\n })\n .catch((error) => {\n dispatch(showLoading(false));\n throw error;\n });\n};\nexport const requestLoginV2Email = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .post(`${BASE_LOGIN}/v1/api/auth/login`, data)\n .then((response) => {\n localStorage.setItem('userData', JSON.stringify(response.data));\n dispatch({ type: AUTH_USER, value: response.data });\n dispatch(getUserProfile());\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf!',\n description:\n error.response.data.message === 'permit overlapped'\n ? 'Sudah membuat izin untuk waktu tersebut'\n : error.response.message,\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\nexport const unbindAccount = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .post(\n `${BASE_LOGIN}/v1/api/auth/unbind`,\n { register_type: data },\n {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n }\n )\n .then((response) => {\n if (response.status === 200) {\n dispatch(showLoading(false));\n notification.success({\n message: 'Berhasil',\n description: `Sukses Unbind ${data}`,\n });\n }\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf!',\n description: `Gagal Unbind ${data}`,\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\n\nexport const bindAccount = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .post(`${BASE_LOGIN}/v1/api/auth/bind`, data, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n if (response.status === 200) {\n showLoading(false);\n notification.success({\n message: 'Berhasil',\n description: `Sukses Bind ${data.register_type}`,\n });\n }\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf!',\n description: `Gagal Bind ${data.register_type}`,\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\n\nexport const getBindedAccount = () => async (dispatch) => {\n const api = await axios\n .get(`${BASE_LOGIN}/v1/api/userCredential/select`, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n dispatch({ type: 'BINDED_ACCOUNT', value: response.data });\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response.data.message,\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\n\nexport const checkEmail = (data) => async (dispatch) => {\n const api = await axios\n .post(`${BASE_LOGIN}/v1/api/auth/checkEmail`, data)\n .then((response) => {\n let continueLogin = false;\n if (\n response.data.data.exist === true &&\n response.data.data.password === false &&\n response.data.data.new_password_mail === true\n ) {\n notification.info({\n message: 'Your Password is not set',\n description: 'Check your email to reset your password',\n });\n } else if (\n response.data.data.exist === true &&\n response.data.data.password === false &&\n response.data.data.new_password_mail === false\n ) {\n notification.error({\n message: 'Oops!',\n description: 'Request email limit reached, Try again tomorrow',\n });\n } else if (response.data.data.exist === false) {\n dispatch(registerEmail(data));\n } else if (\n response.data.data.exist === true &&\n response.data.data.password === true &&\n response.data.data.new_password_mail === false\n ) {\n continueLogin = true;\n }\n return continueLogin;\n // dispatch({ type: 'CHECK_EMAIL', value: response.data.data });\n // dispatch({ type: 'CHECK_EMAIL_STATE', value: true });\n })\n .catch((error) => {\n reportSentry(error);\n });\n return api;\n};\n\nexport const registerEmail = (data) => async (dispatch) => {\n const api = await axios\n .post(`${BASE_LOGIN}/v1/api/auth/registerEmail`, data)\n .then((response) => {\n if (response.status !== 422) {\n dispatch(checkEmail(data));\n }\n })\n .catch((err) => {\n notification.error({\n message: 'Oops!',\n description: err.response.data.message,\n });\n throw err;\n });\n return api;\n};\n\nexport const getTokenByKey = (key) => async (dispatch) => {\n const api = await axios\n .get(`${BASE_LOGIN}/v1/api/resetPassword/token/key/${key}`)\n .then((response) => {\n localStorage.setItem('userData', JSON.stringify(response.data));\n dispatch({ type: AUTH_USER, value: response.data });\n })\n .catch((err) => {\n throw err;\n });\n return api;\n};\n\nexport const newPassword = (data) => async (dispatch) => {\n const api = await axios\n .post(`${BASE_LOGIN}/v1/api/resetPassword/newPassword`, data, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then(() => {\n dispatch(getUserProfile());\n })\n .catch((err) => {\n throw err;\n });\n return api;\n};\n\nexport const uploadImage = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n return axios\n .post(`${BASE_LOGIN}/v1/api/file`, data, {\n headers: {\n Authorization: `Bearer ${getUserToken()}`,\n 'content-type': 'multipart/form-data',\n },\n })\n .then((res) => {\n dispatch({ type: AUTH_FILE, value: res.data });\n dispatch(showLoading(false));\n return res.data;\n })\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n};\n\nexport const updateProfile = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n return axios\n .put(`${BASE_LOGIN}/v1/api/user/token`, data, {\n headers: {\n Authorization: `Bearer ${getUserToken()}`,\n },\n })\n .then((res) => {\n dispatch({ type: AUTH_EDIT, value: res.data });\n dispatch(showLoading(false));\n return res.data;\n })\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n};\n\nexport const getGoogleUrl = (params) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n const http = AxiosInject(BASE_LOGIN, null, null);\n http\n .post('/v1/api/auth/googleInfix', {\n ...params,\n })\n .then((r) => {\n resolve(r);\n })\n .catch((e) => {\n reject(e);\n });\n });\n","/*eslint-disable */\nimport {requestDelete, requestGet, requestPost, requestPut} from '@configs';\nimport {\n CREATE_TUGAS,\n DETAIL_HISTORY,\n GET_ASSESSMENT_STUDENT_REFERENCE,\n GET_ASSESSMENT_STUDENT_REFERENCE_HISTORY,\n IS_SUCCESS,\n IS_UPLOAD_SUCCESS,\n PUT_ASSESSMENT_STUDENT,\n TUGAS_DETAIL,\n TUGAS_GURU,\n TUGAS_GURU_HISTORY,\n TUGAS_REFERENCE,\n TUGAS_SISWA,\n TUGAS_SISWA_HISTORY,\n UPLOAD,\n} from '@type';\nimport {BASE_API_URL, BASE_VERSION} from '@http';\nimport {getUserToken} from '@utils';\nimport {notification} from 'antd';\nimport {showLoading} from '@store/actions';\nimport axios from 'axios';\nimport {AxiosInject, notificationOverride, reportSentry} from '../../../../utils/Utils';\n\nexport const getAssessments = (id, page, limit, role, params) => async (dispatch) => {\n const api = await requestGet(\n `me/assessments`,\n {\n class_id: id,\n limit: limit,\n page: page,\n sortby: 'end_date',\n order: 'desc',\n status: ['BELUM DIKERJAKAN'].join(','),\n type: role,\n ...params,\n },\n getUserToken()\n )\n .then((response) => {\n dispatch({ type: TUGAS_SISWA, value: response.data });\n })\n .catch((error) => {\n notification.error({\n message: 'Mohon Maaf!',\n description: error?.response?.message,\n });\n reportSentry(error);\n });\n return api;\n};\n\nexport const getDetailAssessmentsHistory = (id) => async (dispatch) => {\n const api = await requestGet(`assessmentReferenceHistory?assessment_reference_id=${id}`, null, getUserToken())\n .then((response) => {\n console.log(response.data);\n dispatch({ type: DETAIL_HISTORY, value: response.data });\n })\n .catch((error) => {\n notification.error({\n message: 'Mohon Maaf!',\n description: error?.response?.message,\n });\n reportSentry(error);\n });\n return api;\n};\nexport const getAssessmentsHistory = (id, page, limit, role, params) => async (dispatch) => {\n const api = await requestGet(\n `me/assessments`,\n {\n class_id: id,\n limit: limit,\n page: page,\n sortby: 'submit_at',\n order: 'desc',\n status: ['DIKUMPULKAN', 'DINILAI'].join(','),\n type: role,\n ...params,\n },\n getUserToken()\n )\n .then((response) => {\n dispatch({ type: TUGAS_SISWA_HISTORY, value: response.data });\n })\n .catch((error) => {\n notification.error({\n message: 'Mohon Maaf!',\n description: 'Ada Kesalahan',\n });\n reportSentry(error);\n });\n return api;\n};\n\nexport const newGetAssestmentBySiswa = (\n id,\n page,\n limit,\n end_date_from,\n end_date_to,\n role,\n course_id,\n search,\n status,\n params = {}\n) => async (dispatch) => {\n const api = await requestGet(\n `me/assessments`,\n {\n class_id: id,\n limit: limit,\n page: page,\n sortby: 'end_date',\n order: 'desc',\n end_date_from: end_date_from,\n end_date_to: end_date_to,\n search: search,\n type: role,\n course_id: course_id,\n status: status,\n ...params,\n },\n getUserToken()\n )\n .then((response) => {\n dispatch({ type: TUGAS_SISWA, value: response.data });\n })\n .catch((error) => {\n notification.error({\n message: 'Mohon Maaf!',\n description: 'Ada Kesalahan',\n });\n reportSentry(error);\n });\n return api;\n};\n\nexport const newGetAssestmentByTeacher = (\n id,\n page,\n limit,\n end_date_from,\n end_date_to,\n role,\n course_id,\n search,\n start_status,\n params = {}\n) => async (dispatch) => {\n const api = await requestGet(\n `me/assessments-guru`,\n {\n access: role,\n class_id: id,\n limit: limit,\n page: page,\n end_date_from: end_date_from,\n end_date_to: end_date_to,\n course_id: course_id,\n search: search,\n start_status: start_status,\n ...params,\n },\n getUserToken()\n )\n .then((response) => {\n dispatch({ type: TUGAS_GURU, value: response.data });\n if (response.status_code === 200) return true;\n })\n .catch((error) => {\n notification.error({\n message: 'Mohon Maaf!',\n description: 'Ada Kesalahan',\n });\n reportSentry(error);\n });\n return api;\n};\n\nexport const getAssestmentByTeacher = (params) => async (dispatch) => {\n const api = await requestGet(`me/assessments-guru`, params, getUserToken())\n .then((response) => {\n dispatch({ type: TUGAS_GURU, value: response.data });\n if (response.status_code === 200) return true;\n })\n .catch((error) => {\n notification.error({\n message: 'Mohon Maaf!',\n description: 'Ada Kesalahan',\n });\n reportSentry(error);\n });\n return api;\n};\nexport const getAssestmentByTeacherHistory = (id, page, limit, endDate, role, params) => async (dispatch) => {\n const api = await requestGet(\n `me/assessments-guru`,\n {\n access: role,\n class_id: id,\n limit: limit,\n page: page,\n end_date_to: endDate,\n ...params,\n },\n getUserToken()\n )\n .then((response) => {\n dispatch({ type: TUGAS_GURU_HISTORY, value: response.data });\n if (response.status_code === 200) return true;\n })\n .catch((error) => {\n notification.error({\n message: 'Mohon Maaf!',\n description: 'Ada Kesalahan',\n });\n reportSentry(error);\n });\n return api;\n};\n\nexport const getAssessmentsDetail = (id) => async (dispatch) => {\n return await requestGet(`assessments-v2/${id}`, false, getUserToken())\n .then((response) => {\n dispatch({ type: TUGAS_DETAIL, value: response.data });\n return response.data;\n })\n .catch((error) => {\n notification.error({\n message: 'Mohon Maaf!',\n description: 'Ada Kesalahan',\n });\n reportSentry(error);\n });\n};\nexport const getAssessmentsGroup = async (id) => {\n if (!id){\n return;\n }\n return await requestGet(`assessments/group/${id}`, false, getUserToken())\n .then((response) => {\n return response.data;\n })\n .catch((error) => {\n notification.error({\n message: 'Mohon Maaf!',\n description: 'Ada Kesalahan',\n });\n reportSentry(error);\n });\n};\nexport const getAssessmentsDetailReference = (id) => async (dispatch) => {\n const api = await requestGet(`assessments/${id}/reference`, false, getUserToken())\n .then((response) => {\n dispatch({ type: TUGAS_REFERENCE, value: response.data });\n })\n .catch((error) => {\n console.log('error', error);\n });\n return api;\n};\nexport const createTugas = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestPost(`assessments-v3`, data, getUserToken())\n .then((response) => {\n if (response.status_code === 200) {\n dispatch({\n type: IS_SUCCESS,\n value: true,\n message: 'Create Tugas Success',\n });\n dispatch({ type: CREATE_TUGAS, value: response.data });\n dispatch(showLoading(false));\n return true;\n } else {\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: 'Create Tugas Failed',\n });\n }\n })\n .catch((error) => {\n notification.error({\n message: 'Mohon Maaf!',\n description: error?.response?.message,\n });\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: 'Create Tugas Failed',\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\n\nexport const putAssessmentStudent = (id, idRef, data) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestPut(`assessments/${id}/reference/${idRef}`, null, data, getUserToken())\n .then((response) => {\n if (response.status_code === 200) {\n dispatch({\n type: IS_SUCCESS,\n value: true,\n message: 'Pengumpulan Tugas Sukses',\n });\n dispatch({\n type: PUT_ASSESSMENT_STUDENT,\n value: response.data,\n });\n dispatch(showLoading(false));\n return true;\n } else {\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: 'Pengumpulan Tugas Gagal',\n });\n dispatch(showLoading(false));\n }\n })\n .catch((error) => {\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response.message,\n });\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: 'Pengumpulan Tugas Gagal',\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\nexport const getAssessmentStudentReference = (id, idRef, sendToPatch = true) => async (dispatch) => {\n dispatch(showLoading(true));\n return await requestGet(`assessments/${id}/reference/${idRef}`, false, getUserToken())\n .then((response) => {\n if (sendToPatch) {\n dispatch({\n type: GET_ASSESSMENT_STUDENT_REFERENCE,\n value: response.data,\n });\n dispatch(showLoading(false));\n return true;\n } else {\n dispatch(showLoading(false));\n return response.data;\n }\n })\n .catch((error) => {\n dispatch(showLoading(false));\n reportSentry(error);\n });\n};\n\nexport const getAssessmentStudentReferenceHistory = (idRef) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestGet(`assessments/reference/${idRef}`, false, getUserToken())\n .then((response) => {\n dispatch({\n type: GET_ASSESSMENT_STUDENT_REFERENCE_HISTORY,\n value: response.data,\n });\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\n\nexport const getAssessmentStudentReferenceCb = async (id, idRef, data) => {\n return await new Promise((resolve, reject) => {\n requestGet(`assessments/${id}/reference/${idRef}`, false, getUserToken())\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n reportSentry(error);\n });\n });\n};\n\nexport const beriNilai = (id, idRef, nilai) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestPut(`assessments/${id}/reference/${idRef}/nilai?nilai=${nilai}`, null, null, getUserToken())\n .then((response) => {\n dispatch({ type: 'BERI_NILAI', value: response.data });\n dispatch(showLoading(false));\n notification.success({\n message: 'Anda Berhasil Menambahkan Nilai',\n });\n return true;\n })\n .catch((error) => {\n reportSentry(error);\n notification.error({\n message: 'Maaf Siswa Ini Belum Mengumpulkan Ujian',\n });\n dispatch(showLoading(false));\n });\n return api;\n};\nexport const tambahComment = (id, idRef, data) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestPost(`assessments/${id}/reference/${idRef}/comment`, data, getUserToken())\n .then((response) => {\n if (response.status_code === 400) {\n dispatch(showLoading(false));\n }\n dispatch({ type: 'TAMBAH_COMMENT', value: 'success' });\n dispatch(showLoading(false));\n return true;\n })\n .catch((error) => {\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\nexport const uploadFile = (file, type, parent) => async (dispatch) => {\n const acc = localStorage.getItem('acc');\n dispatch(showLoading(true));\n const api = await axios({\n url: 'https://www.googleapis.com/upload/drive/v3/files',\n params: { uploadType: 'multipart', fields: '*', access_token: acc },\n headers: {\n 'content-type': 'multipart/form-data',\n Authorization: `Bearer ${acc}`,\n },\n data: file,\n method: 'post',\n })\n .then((response) => {\n if (response.status === 200) {\n dispatch({\n type: IS_UPLOAD_SUCCESS,\n value: true,\n message: 'Unggah File Success',\n });\n dispatch(createPermissionGDrive(response.data.id));\n if (type === 'dokumen') {\n dispatch(patchDokumen(response.data.id, parent));\n }\n dispatch(showLoading(false));\n if (type === 'Edit') {\n return response.data;\n }\n dispatch({ type: UPLOAD, value: response.data });\n }\n })\n .catch((error) => {\n // if (error.response.status === 401) {\n // \tnotification.error({\n // \t\tmessage: 'Mohon Maaf!',\n // \t\tdescription: 'Gagal! Harap Login Ulang'\n // \t});\n // }\n dispatch({\n type: IS_UPLOAD_SUCCESS,\n value: false,\n message: 'Ungga File Failed',\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n\n return api;\n};\n\nconst createPermissionGDrive = (id) => async (dispatch) => {\n const acc = localStorage.getItem('acc');\n const api = await axios({\n url: `https://www.googleapis.com/drive/v3/files/${id}/permissions`,\n // params: { fields: '*', access_token: acc, uploadType: 'media' },\n // headers: { 'content-type': 'multipart/form-data' },\n headers: {\n Authorization: `Bearer ${acc}`,\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n data: { role: 'writer', type: 'anyone' },\n method: 'post',\n })\n .then((response) => {})\n .catch((error) => {\n reportSentry(error);\n });\n return api;\n};\n\nconst patchDokumen = (id, parent) => async (dispatch) => {\n const acc = localStorage.getItem('acc');\n const api = await axios({\n url: `https://www.googleapis.com/drive/v3/files/${id}`,\n params: { addParents: parent[0], fields: '*', access_token: acc },\n // headers: { 'content-type': 'multipart/form-data' },\n // data: { role: 'writer', type: 'anyone' },\n method: 'patch',\n })\n .then((response) => {\n notification.success({\n message: 'Success!',\n description: 'Berhasil Menambahkan Dokumen',\n });\n })\n .catch((error) => {\n notification.error({\n message: 'Mohon Maaf!',\n description:\n error.response?.status === 403\n ? 'Gagal, anda tidak punya akses ke folder tersebut. Hubungi admin untuk meminta akses!'\n : 'Gagal Menambahkan Dokumen',\n });\n });\n return api;\n};\n\nexport const editTugas = (id, data, mode = 'only') => async (dispatch) => {\n dispatch(showLoading(true));\n const isOnlyCurrentClass = mode === 'only' ? '?isOnlyCurrentClass=true' : '?isOnlyCurrentClass=false';\n const api = await requestPut(`assessments-v3/${id}${isOnlyCurrentClass}`, false, data, getUserToken())\n .then((response) => {\n if (response.status_code === 200) {\n dispatch(showLoading(false));\n return true;\n }\n return false;\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notificationOverride({\n message: 'Gagal mengubah tugas',\n description:\n 'Mohon maaf Anda tidak dapat melakukan perubahan tugas karena sudah ada siswa yang mengumpulkan tugas.',\n type: 'error',\n });\n return false;\n });\n return api;\n};\nexport const deleteTugas = (id, data) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestDelete(`assessments/${id}`, null, getUserToken())\n .then((response) => {\n if (response.status_code === 200) {\n dispatch(showLoading(false));\n return true;\n }\n return false;\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n return false;\n });\n return api;\n};\nexport const getClassCourse = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n return await requestGet(`course/class_course`, params, getUserToken())\n .then((response) => {\n return response.data;\n })\n .catch((error) => {\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const deleteTugasBulk = (ids) => async (dispatch) => {\n dispatch(showLoading(true));\n const http = AxiosInject(`${BASE_API_URL}${BASE_VERSION}`, 'Bearer', getUserToken());\n const api = await http\n .delete(`assessments/bulk`, {\n data: {\n assessment_ids: ids,\n },\n })\n .then((response) => {\n if (response.data.status_code === 200) {\n dispatch(showLoading(false));\n return true;\n }\n\n dispatch(showLoading(false));\n return false;\n })\n .catch(() => {\n dispatch(showLoading(false));\n return false;\n });\n return api;\n};\n","import { requestDelete, requestGet, requestPost, requestPut } from '@configs';\nimport { getUserToken } from '@utils';\nimport { GET_SCHEDULES, IS_SUCCESS } from '@type';\nimport { showLoading } from '@store/actions';\nimport { notification } from 'antd';\nimport moment from 'moment';\nimport axios from 'axios';\nimport { reportSentry } from '../../../../utils/Utils';\nimport { BASE_API_URL, BASE_VERSION } from '../../../../constants/initHttp';\n\nexport const createSchedule = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestPost('schedules?overlap=false', data, getUserToken())\n .then((response) => {\n if (response.status_code === 200) {\n dispatch({\n type: IS_SUCCESS,\n value: true,\n message: 'Create Schedule Success',\n });\n dispatch(showLoading(false));\n return true;\n }\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: 'Create Schedule Failed',\n });\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response.data.message,\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\nexport const createScheduleV2 = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestPost('schedules_bulk?overlap=false', data, getUserToken())\n .then((response) => {\n if (response.status_code === 200) {\n dispatch({\n type: IS_SUCCESS,\n value: true,\n message: 'Create Schedule Success',\n });\n dispatch(showLoading(false));\n return true;\n }\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: 'Create Schedule Failed',\n });\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response.data.message,\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\nexport const createScheduleRange = (data, overlap = 'false') => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestPost(`schedules-range?overlap=${overlap}`, data, getUserToken())\n .then((response) => {\n if (response.status_code === 200) {\n dispatch({\n type: IS_SUCCESS,\n value: true,\n message: 'Create Schedule Success',\n });\n dispatch(showLoading(false));\n return true;\n }\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: 'Create Schedule Failed',\n });\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response.data.message,\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\n\nexport const getSchedule = (classID, role, limit, page, date, dateAfter) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestGet(\n `schedules/class/${classID}?access=${role}&type=${role}&limit=${limit}&page=${page}&sortBy=start_date&start_date_after_equal=${date}&start_date_before=${dateAfter}&order=asc`,\n false,\n getUserToken()\n )\n .then((response) => {\n let nearestDate;\n response.data.list_data.forEach((value) => {\n const diff = moment(value.start_date).diff(moment(), 'minutes');\n if (diff > 0) {\n if (nearestDate) {\n if (moment(value.start_date).diff(moment(), 'days') < 0) {\n nearestDate = value;\n }\n } else {\n nearestDate = value;\n }\n }\n });\n if (nearestDate) {\n const popit = response.data.list_data.filter((e) => e.ID !== nearestDate.ID);\n response.data.list_data = [nearestDate].concat(popit);\n }\n dispatch({ type: GET_SCHEDULES, value: response.data });\n dispatch(showLoading(false));\n })\n .catch((error) => {\n reportSentry(error);\n dispatch(showLoading(false));\n });\n return api;\n};\nexport const getScheduleOverlap = (start, end) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestGet(`schedules/checkOverlap?start_date=${start}&end_date=${end}`, false, getUserToken())\n .then((response) => {\n dispatch(showLoading(false));\n return response.data;\n })\n .catch((error) => {\n reportSentry(error);\n dispatch(showLoading(false));\n });\n return api;\n};\nexport const getScheduleOverlapBulk = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios({\n url: `${BASE_API_URL}${BASE_VERSION}schedules/checkOverlapBulk`,\n method: 'POST',\n headers: {\n Authorization: `${getUserToken()}`,\n },\n data,\n })\n .then((response) => {\n dispatch(showLoading(false));\n return response.data?.data;\n })\n .catch((error) => {\n reportSentry(error);\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf!',\n description: error?.response?.data?.message,\n });\n return null;\n });\n return api;\n};\nexport const getScheduleIndicator = (start, end) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestGet(`schedules/date?start_date=${start}&end_date=${end}`, false, getUserToken())\n .then((response) => {\n dispatch(showLoading(false));\n return response.data;\n })\n .catch((error) => {\n reportSentry(error);\n dispatch(showLoading(false));\n });\n return api;\n};\nexport const getOneSchedule = (scheduleId) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestGet(`schedules/${scheduleId}`, false, getUserToken())\n .then((response) => {\n dispatch(showLoading(false));\n return response;\n })\n .catch((error) => {\n reportSentry(error);\n dispatch(showLoading(false));\n });\n return api;\n};\nexport const getLastSchedule = (date) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestGet(`schedules/last?end_date=${date}`, false, getUserToken())\n .then((response) => {\n dispatch(showLoading(false));\n return response;\n })\n .catch((error) => {\n reportSentry(error);\n dispatch(showLoading(false));\n });\n return api;\n};\n\nexport const deleteSchedule = (id) => async (dispatch) => {\n const api = await requestDelete(`schedules/${id}`, null, getUserToken())\n .then((response) => {\n if (response.status_code === 200) {\n dispatch({\n type: IS_SUCCESS,\n value: true,\n message: 'Delete Schedule Success',\n });\n dispatch(showLoading(false));\n return 200;\n }\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: 'Delete Schedule Failed',\n });\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response.data.message,\n });\n reportSentry(error);\n });\n return api;\n};\n\nexport const deleteBulkSchedule = (id, process_type = 'current') => async (dispatch) => {\n const api = await requestDelete(`schedules/bulk/${id}?process_type=${process_type}`, null, getUserToken())\n .then((response) => {\n if (response?.status_code === 200) {\n dispatch(showLoading(false));\n dispatch({\n type: IS_SUCCESS,\n value: true,\n message: 'Delete Schedule Success',\n });\n return 200;\n }\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response.data.message,\n });\n reportSentry(error);\n });\n return api;\n};\n\nexport const updateSchedule = (id, data) => async (dispatch) => {\n let url = `schedules/${id}`;\n // eslint-disable-next-line no-prototype-builtins\n if (data.hasOwnProperty('overlap')) {\n if (data.overlap) {\n url = `schedules/${id}?overlap=true`;\n }\n }\n dispatch(showLoading(true));\n const api = await requestPut(url, null, data, getUserToken())\n .then((response) => {\n if (response.status_code === 200) {\n dispatch({\n type: IS_SUCCESS,\n value: true,\n message: 'Update Schedule Success',\n });\n dispatch(showLoading(false));\n return true;\n }\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: 'Update Schedule Failed',\n });\n const codeErr = reportSentry(error);\n notification.error({\n message: 'Mohon Maaf',\n description: `Perubahan Jadwal Gagal Harap Hubungi Kami Dengan Menyertakan Kode [${codeErr}]`,\n });\n });\n return api;\n};\n\nexport const createBulkSchedule = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n // eslint-disable-next-line no-undef\n return new Promise((resolve) => {\n let isGood = true;\n data.map(async (v) => {\n let overlap = 'false';\n if (parseInt(v.category, 10) === 2) {\n overlap = 'true';\n }\n await requestPost(`schedules?overlap=${overlap}`, v, getUserToken())\n .then((response) => {\n if (!response.status_code === 200) {\n isGood = false;\n return true;\n }\n })\n .catch(() => {\n isGood = false;\n });\n });\n resolve(isGood);\n dispatch({\n type: IS_SUCCESS,\n value: true,\n message: 'Create Schedule Success',\n });\n dispatch(showLoading(false));\n });\n};\n\nexport const createImportSchedules = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestPost('schedules/import', data, getUserToken())\n .then((response) => {\n if (response.status_code === 200) {\n dispatch(showLoading(false));\n return true;\n }\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response.data.message,\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\n","import {\n CREATE_CONFERENCE,\n DELETE_CONFERENCE,\n GET_CLASS_BY_SCHOOL,\n GET_CONFERENCE,\n GET_COURSE_BY_CLASS,\n GET_SCHOOL_ME,\n UPDATE_CONFERENCE,\n} from '@type';\nimport { requestDelete, requestGet, requestPost, requestPut } from '@configs';\nimport { showLoading } from '@store/actions';\nimport { getUserToken } from '@utils';\nimport { notification } from 'antd';\n\nexport const getConferenceTeacher = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet('confrences', data, getUserToken());\n dispatch({ type: GET_CONFERENCE, value: rest.data });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const getConferenceSchool = () => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet('me/schools', null, getUserToken());\n dispatch({ type: GET_SCHOOL_ME, value: rest.data });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const getConferenceClass = (schoolId) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet(`schools/${schoolId}/classes`, { onlyme: true }, getUserToken());\n dispatch({\n type: GET_CLASS_BY_SCHOOL,\n value: rest.data,\n });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const getConferenceCourse = (classid) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet(\n `classes/${classid}/courses`,\n {\n sortby: 'id',\n order: 'desc',\n },\n getUserToken()\n );\n dispatch({\n type: GET_COURSE_BY_CLASS,\n value: rest.data,\n });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const createConference = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPost('confrences', data, getUserToken());\n dispatch({ type: CREATE_CONFERENCE, value: rest.data.url });\n } catch (error) {\n dispatch({ type: CREATE_CONFERENCE, value: false });\n notification.error({\n message: 'Jadwal Yang Dibuat Berbenturan Dengan Jadwal Yang Lain',\n });\n }\n dispatch(showLoading(false));\n};\n\nexport const updateConference = (data, id) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n await requestPut(`confrences/${id}`, null, data, getUserToken());\n dispatch({ type: UPDATE_CONFERENCE, value: true });\n } catch (error) {\n dispatch({ type: UPDATE_CONFERENCE, value: false });\n }\n dispatch(showLoading(false));\n};\nexport const deleteConference = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n await requestDelete(`confrences/${id}`, null, getUserToken());\n dispatch({ type: DELETE_CONFERENCE, value: true });\n } catch (error) {\n dispatch({ type: DELETE_CONFERENCE, value: false });\n }\n dispatch(showLoading(false));\n};\nexport const clearCreateConference = () => ({\n type: CREATE_CONFERENCE,\n value: false,\n});\nexport const clearDeleteConference = () => ({\n type: DELETE_CONFERENCE,\n value: null,\n});\nexport const clearUpdateConference = () => ({\n type: UPDATE_CONFERENCE,\n value: null,\n});\n","import { requestGet, requestPatch, requestPost, requestPut } from '@configs';\nimport { getUserToken } from '@utils';\nimport {\n ABSENCE_BY_COURSE_BY_DATE,\n ABSENCE_BY_COURSE_BY_MONTH,\n ABSENCE_CLASS_SUMMARY,\n ABSENCE_GURU,\n IS_SUCCESS,\n LIST_PERMIT,\n} from '@type';\nimport { showLoading } from '@store/actions';\nimport { notification } from 'antd';\nimport moment from 'moment';\nimport { reportSentry } from '../../../../utils/Utils';\nimport { BASE_API_URL, BASE_VERSION } from '../../../../constants/initHttp';\nimport { requestDelete } from '../../../../configs';\n\nexport const absenceTeacher = (data, isStudentNotAbsence, status) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestPost('absensi', data, getUserToken())\n .then((response) => {\n if (isStudentNotAbsence) {\n if (response.status_code === 200) {\n const dataUpdate = {\n absen_id: response.data.id,\n status,\n };\n dispatch(updateAbsence(dataUpdate));\n }\n dispatch(showLoading(false));\n return true;\n }\n if (response.status_code === 200) {\n notification.success({\n message: 'Berhasil!',\n description: 'Berhasil Absen',\n });\n dispatch({ type: ABSENCE_GURU, value: response.data });\n dispatch(showLoading(false));\n return true;\n }\n notification.error({\n message: 'Gagal!',\n description: response.message,\n });\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf!',\n description:\n error.response.data.message === 'the course has finished'\n ? 'Jadwal Telah Selesai'\n : error.response.data.message || 'Gagal',\n });\n reportSentry(error);\n });\n\n return api;\n};\nexport const updateAbsence = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestPut('absensi', null, data, getUserToken())\n .then((response) => {\n if (response.status_code === 200) {\n notification.success({\n message: 'Berhasil!',\n description: 'Berhasil Merubah Absensi',\n });\n dispatch({ type: ABSENCE_GURU, value: response.status_code });\n dispatch(showLoading(false));\n return true;\n }\n dispatch(showLoading(false));\n notification.error({\n message: 'Gagal!',\n description: response.message,\n });\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response.message,\n });\n reportSentry(error);\n })\n .finally(() => {\n dispatch({ type: ABSENCE_GURU, value: 0 });\n });\n\n return api;\n};\n\nexport const absenceClassSummary = (id, role) => async (dispatch) => {\n const api = await requestGet(`absensi/summary/class?classID=${id}&access=${role}`, false, getUserToken())\n .then((response) => {\n dispatch({ type: ABSENCE_CLASS_SUMMARY, value: response.data });\n })\n .catch((error) => {\n dispatch({ type: ABSENCE_CLASS_SUMMARY, value: false });\n reportSentry(error);\n });\n return api;\n};\nexport const absenceByCourseByDate = (id, role, date) => async (dispatch) => {\n const api = await requestGet(`absensi/course/date?courseID=${id}&role=${role}&date=${date}`, false, getUserToken())\n .then((response) => {\n dispatch({ type: ABSENCE_BY_COURSE_BY_DATE, value: response.data });\n })\n .catch((error) => {\n reportSentry(error);\n });\n return api;\n};\nexport const absenceByCourseByMonth = (id, role, month) => async (dispatch) => {\n const api = await requestGet(`absensi/course/month?courseID=${id}&role=${role}&month=${month}`, false, getUserToken())\n .then((response) => {\n dispatch({\n type: ABSENCE_BY_COURSE_BY_MONTH,\n value: response.data,\n });\n })\n .catch((error) => {\n reportSentry(error);\n });\n return api;\n};\n\nexport const getListPermit = (class_id, limit, page, role) => async (dispatch) => {\n const api = await requestGet(\n `student-permit/class/${class_id}?limit=${limit}&page=${page}&role=${role}`,\n false,\n getUserToken()\n )\n .then((response) => {\n dispatch({ type: LIST_PERMIT, value: response.data });\n })\n .catch((error) => {\n reportSentry(error);\n });\n return api;\n};\n\nexport const createPermission = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestPost('student-permit', data, getUserToken())\n .then((response) => {\n if (response.status_code === 200) {\n notification.success({\n message: 'Success',\n description: 'Create Permission Success',\n });\n dispatch(showLoading(false));\n dispatch({ type: 'CREATE_PERMISSION', value: response.data });\n } else {\n dispatch(showLoading(false));\n }\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf!',\n description:\n error.response.data.message === 'permit overlapped'\n ? 'Sudah membuat izin untuk waktu tersebut'\n : error.response.data.message,\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\n\nexport const editPermission = (data, permitID) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestPut(`student-permit/${permitID}`, null, data, getUserToken())\n .then((response) => {\n if (response.status_code === 200) {\n notification.success({\n message: 'Success',\n description: 'Edit Permission Success',\n });\n dispatch(showLoading(false));\n } else {\n dispatch(showLoading(false));\n }\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf!',\n description:\n error.response.data.message === 'permit overlapped'\n ? 'Sudah membuat izin untuk waktu tersebut'\n : error.response.data.message,\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\n\nexport const deletePermission = (permitID) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestDelete(`student-permit/${permitID}`, null, getUserToken())\n .then(() => {\n notification.success({\n message: 'Success',\n description: 'Edit Permission Success',\n });\n })\n .catch((error) => {\n notification.error({\n message: 'Mohon Maaf!',\n description: 'tidak dapat menghapus izin',\n });\n\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n return api;\n};\n\nexport const responseTeacher = (id, data) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestPost(`student-permit/${id}/respond`, data, getUserToken())\n .then((response) => {\n if (response.status_code === 200) {\n notification.success({\n message: 'Success',\n description: 'Status Updated',\n });\n dispatch(showLoading(false));\n dispatch({\n type: IS_SUCCESS,\n value: true,\n message: 'Update Permission Success',\n });\n } else {\n dispatch(showLoading(false));\n }\n })\n .catch((error) => {\n dispatch(showLoading(false));\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: 'Update Permission Failed',\n });\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response.message,\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\n\nexport const fetchGenerateAbsensi = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n return fetch(`${BASE_API_URL}${BASE_VERSION}absensi/summary/export?classID=${params.classID}&month=${params.month}`, {\n headers: {\n Authorization: getUserToken(),\n },\n })\n .then(async (res) => {\n if (res.status > 300 || res.status < 200) {\n const resMessage = await res.text();\n throw new Error(resMessage);\n }\n\n const blob = await res.blob();\n const result = {\n filename: `Absensi Bulan ${moment().format('MMMM')}`,\n blob,\n };\n return result;\n })\n .then((res) => res)\n .catch((error) => {\n notification.error({\n message: 'Mohon Maaf!',\n description: error.message,\n });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const absenceClassSummaryV2 = (params) => requestGet('absensi/summary/class-v2', params, getUserToken());\n\nexport const detailAbsenceSummary = (params) => requestGet('absensi/summary/class-v2/detail', params, getUserToken());\n\nexport const absenceClassDaily = (params) => requestGet('class-attendance', params, getUserToken());\nexport const absenceClassNotes = (class_attendance_student_id, params) =>\n requestPatch(`class-attendance/student/${class_attendance_student_id}/notes`, params, getUserToken());\nexport const absenceClassDailyV2 = (params) => requestGet('class-attendance-v2', params, getUserToken());\n\nexport const absenceRecapStudent = (params) => requestGet('class-attendance/student/recap', params, getUserToken());\n\nexport const studentRekapAbsence = (params) => requestGet('class-attendance/students', params, getUserToken());\n\nexport const getStudentPermitById = (id) => requestGet(`student-permit/${id}`, null, getUserToken());\n\nexport const changeAbsenceStatus = (id, payload) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestPut(`class-attendance/student/${id}`, null, payload, getUserToken())\n .then((response) => {\n let result = false;\n if (response.status_code === 200) {\n notification.success({\n message: 'Status Kehadiran Berhasil Diubah',\n description: 'Status kehadiran siswa berhasil diubah dan diperbarui ke dalam sistem',\n });\n dispatch(showLoading(false));\n result = true;\n } else {\n dispatch(showLoading(false));\n }\n return result;\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response.data.message,\n });\n dispatch(showLoading(false));\n reportSentry(error);\n return false;\n });\n return api;\n};\n\nexport const getListPermitNotif = (class_id, params) =>\n requestGet(`student-permit/class/${class_id}`, params, getUserToken());\n\nexport const respondPermit = (id, data) => requestPost(`student-permit/${id}/respond`, data, getUserToken());\n\nexport const changeAbsenceReport = (payload) => async () => {\n const api = await requestPut('class-attendance/student-report', null, payload, getUserToken())\n .then((response) => response)\n .catch((error) => {\n reportSentry(error);\n return false;\n });\n return api;\n};\n","/* eslint-disable no-undef */\n// interceptor network\n\n/* eslint-disable no-param-reassign */\nimport moment from 'moment/moment';\nimport Axios from 'axios';\nimport { getUserToken } from '@utils';\nimport { BASE_API_URL } from '../../constants/initHttp';\nimport { generateSignature, notificationOverride } from '../../utils/Utils';\nimport { store } from '../../redux/store';\n\nconst httpService = Axios.create({\n baseURL: BASE_API_URL,\n timeout: 20000,\n headers: {\n 'content-type': 'application/json',\n Authorization: null,\n customAuthorization: false,\n },\n slashId: null,\n});\n\nhttpService.interceptors.request.use(\n (config) => {\n const token = getUserToken();\n\n if (config.slashId) {\n config.url = `${config.url}/${config.slashId}`;\n }\n\n if (!config.headers.customAuthorization && token) {\n config.headers.Authorization = `Bearer ${token}`;\n }\n if (config?.headers?.Authorization) {\n const { method } = config;\n let _body = '';\n let _token = '';\n let _url = config.baseURL + config.url;\n if (method === 'post' || method === 'put') {\n const _data = config.data ?? '';\n _body = window.btoa(JSON.stringify(_data));\n }\n const host = _url.split('/')[2];\n _url = _url.replace(`https://${host}`, '');\n _token = config.headers.Authorization;\n config.headers.Timestamp = moment().toISOString();\n let pathName = '';\n config.params &&\n Object.keys(config.params).map((_key, index) => {\n if (config.params[_key] !== null) {\n pathName += `${_key}=${config.params[_key] ?? ''}`;\n if (Object.keys(config.params).length - 1 !== index) {\n pathName += '&';\n }\n }\n return _key;\n });\n if (pathName !== '') {\n _url = `${_url}?${pathName.replace(' ', '+')}`;\n }\n config.headers.Signature = generateSignature(\n _url,\n _token.replace(' ', ''),\n config.method.toUpperCase(),\n config.headers.Timestamp,\n _body\n );\n\n delete config.headers.Signature;\n delete config.headers.Timestamp;\n }\n\n return config;\n },\n (error) => Promise.reject(error)\n);\n\nhttpService.interceptors.response.use(\n async (res) => res,\n (error) => {\n if (error?.response?.status === 401) {\n const _message = error?.response?.data?.message ?? error?.response?.data?.data ?? error?.response?.data?.error;\n if (_message === 'invalid authorization') {\n // notificationOverride({\n // title: 'Permintaan Ditolak',\n // description: 'Sesi login Anda telah berakhir. Silakan login kembali untuk melanjutkan.',\n // type: 'warning',\n // });\n } else if (['unauthorized device', 'UNAUTHORIZED DEVICE'].includes(_message)) {\n notificationOverride({\n title: 'Perangkat Baru Telah Terdaftar',\n description:\n 'Secara otomatis akun Anda dikeluarkan dari situs. Silahkan lakukan login kembali untuk mengakses Siswamedia.',\n type: 'warning-check',\n });\n }\n store.dispatch({ type: 'LOGOUT', value: true });\n }\n return Promise.reject(error);\n }\n);\n\nexport default httpService;\n","import { GET_UJIAN_GURU, GET_UJIAN_PARTICIPANT_GURU } from '@type';\nimport { showLoading } from '@store/actions';\nimport { notification } from 'antd';\nimport { getUserToken } from '@utils';\nimport httpService from '../../../../configs/service';\nimport { BASE_API_URL, BASE_EXAM, BASE_EXAM_QUIZ, BASE_QUIZ, BASE_VERSION } from '../../../../constants/initHttp';\nimport { reportSentry } from '../../../../utils/Utils';\nimport { runError } from '../../../../utils/errorHandler';\n\nexport const getUjianByGuru = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get('exam', { params, baseURL: BASE_EXAM })\n .then((response) => {\n dispatch({\n type: GET_UJIAN_GURU,\n value: response.data.payload,\n pagination: response.data.payload,\n });\n })\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const getHeader = (params) =>\n httpService\n .get('examHeader', { params, baseURL: BASE_EXAM })\n .then((response) => response.data)\n .catch((error) => {\n throw error;\n });\nexport const createHeader = (body) =>\n httpService\n .post('examHeader', body, { baseURL: BASE_EXAM })\n .then((response) => response.data)\n .catch((error) => {\n throw error;\n });\nexport const updateHeader = (id, body) =>\n httpService\n .put(`examHeader/${id}`, body, { baseURL: BASE_EXAM })\n .then((response) => response.data)\n .catch((error) => {\n throw error;\n });\n\nexport const getUjianByGuruWithFilter = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get('userdetail/courses', { params, baseURL: BASE_EXAM })\n .then((response) => response.data.payload)\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const deleteUjianByGuru = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .delete(`exam/${id}`, { baseURL: BASE_EXAM })\n .then((response) => response.data)\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const getDetailUjianByGuru = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get('exam', { baseURL: BASE_EXAM, slashId: id })\n .then((response) => response.data.payload)\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const getQuestionUjianByGuru = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get('question', { baseURL: BASE_EXAM_QUIZ, params })\n .then((response) => response.data.data)\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const getPriviewResultParticipantUjianByGuru = (examId, userId) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get(`qa/preview/${examId}/${userId}`, { baseURL: BASE_EXAM_QUIZ })\n .then((response) => response.data.data)\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const getPriviewResultParticipantUjianByGuruV2 = (examId, userId) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get(`qa/preview/v2/${examId}/${userId}`, {\n baseURL: BASE_EXAM_QUIZ,\n })\n .then((response) => response.data.data)\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const getParticipantUjianByGuru = (id, params) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get(`exam/${id}/participant`, { baseURL: BASE_EXAM_QUIZ, params })\n .then((response) => {\n dispatch({\n type: GET_UJIAN_PARTICIPANT_GURU,\n value: response.data.data,\n pagination: response.data.meta,\n });\n return response.data;\n })\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const getQuestionUjianNilaiByGuru = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get(`${BASE_EXAM_QUIZ}qa/preview/question/${id}`)\n .then((response) => response.data.data)\n .catch((error) => {\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const getExamQuestionUjianNilaiByGuru = (examId, id) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get(`${BASE_EXAM_QUIZ}participant/preview/question/${examId}/${id}`)\n .then((response) => response.data.data)\n .catch((error) => {\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const setQuestionParticipantUjianByGuru = (id, params) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .patch(`exam/${id}/participant/answer/point`, params, { baseURL: BASE_EXAM_QUIZ })\n .then((response) => response.data.data)\n .catch((error) => {\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const deleteParticipant = (id, user_id) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .delete(`exam/${id}/participant/${user_id}`, {\n baseURL: BASE_EXAM_QUIZ,\n })\n .then(() => true)\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n return false;\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const addParticipant = (id, params) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .post(`${BASE_EXAM}score/create/init`, params)\n .then((response) => response.data)\n .catch((error) => {\n const { message } = error.response.data;\n runError(message, error);\n return false;\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const getParticipantInUjianByGuru = (examId, userId) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get(`exam/${examId}/participant`, {\n baseURL: BASE_EXAM_QUIZ,\n slashId: userId,\n })\n .then((response) => response.data.data)\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const updateAnswerParticipantByGuru = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .patch('/answer', data, { baseURL: BASE_EXAM_QUIZ })\n .then((response) => response.data)\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const evaluateAnswerParticipantByGuru = (examId, userId) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .post(`/exam/${examId}/participant/${userId}/evaluate`, null, {\n baseURL: BASE_EXAM_QUIZ,\n })\n .then((response) => response.data)\n .catch((error) => {\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response.data.data,\n });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const getFilterTypeQuestion = () => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get('/question/type', { baseURL: BASE_QUIZ })\n .then((response) => response.data.data)\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const getEnumStatusPoint = () => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get('exam/status', { baseURL: BASE_EXAM_QUIZ })\n .then((response) => response.data.data)\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const getListScoreType = () => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get('scoringtype', { baseURL: BASE_EXAM })\n .then((response) => (response.data.payload ? response.data.payload.list : []))\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const getCurrentClassOld = () => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get('me/current-class', {\n baseURL: `${BASE_API_URL}${BASE_VERSION}`,\n headers: {\n customAuthorization: true,\n Authorization: getUserToken(),\n },\n })\n .then((response) => (response.data ? response.data : null))\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const updateStatusParticipantInUjianByGuru = (examId, userId, data) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .put(`exam/${examId}/participant`, data, {\n baseURL: BASE_EXAM_QUIZ,\n slashId: userId,\n })\n .then((response) => {\n notification.success({\n message: 'Berhasil',\n description: 'Sukses memperbarui status siswa',\n });\n return response;\n })\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const submitAlertWarning = (data) =>\n httpService.post('notification/warn', data, {\n baseURL: BASE_EXAM_QUIZ,\n });\n\nexport const getDetectionSummary = (examId, params, withLoading) => async (dispatch) => {\n if (withLoading) {\n dispatch(showLoading(true));\n }\n if (examId === undefined) {\n return;\n }\n return httpService\n .get(`exam/${examId}/participant/detection/summary`, {\n baseURL: BASE_EXAM_QUIZ,\n params,\n })\n .then((response) => {\n dispatch({\n type: GET_UJIAN_PARTICIPANT_GURU,\n value: response.data.data,\n pagination: response.data.meta,\n });\n })\n .catch(() => {\n // notification.error({\n // message: \"Mohon Maaf!\",\n // description: \"Silahkan Hubungi Customer Service Kami\",\n // });\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const updateQuestionBulk = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .put('/questions', data, { baseURL: BASE_EXAM_QUIZ })\n .then((response) => response)\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n throw error;\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n","/* eslint-disable no-prototype-builtins */\nimport { requestAnyGet, requestDelete, requestGet, requestPost, requestPut } from '@configs';\nimport { showLoading } from '@store/actions';\nimport { getUserToken } from '@utils';\nimport { notification } from 'antd';\nimport {\n CREATE_ANSWER_QUIZ_BANK_SOAL,\n CREATE_QUIZ_BANK_SOAL,\n DELETE_QUIZ,\n GET_COURSE_BANK_SOAL,\n GET_EXAM_DETAIL,\n GET_EXAM_DETAIL_AND_QUESTION,\n GET_LIST_BANK_SOAL,\n GET_LIST_EXAM,\n GET_LIST_MASTER_SOAL,\n GET_QUESTION_BY_EXAM_ID,\n GET_QUESTION_BY_EXAM_ID_NEW,\n GET_QUIZ_DETAIL,\n GET_QUIZ_JAWABAN,\n GET_QUIZ_PERSONAL,\n GET_QUIZ_SOAL,\n GET_SOAL_BANK_SOAL,\n GET_TYPE_LIST,\n IS_SUCCESS,\n UPDATE_QUIZ,\n} from '@type';\nimport axios from 'axios';\nimport { BASE_EXAM, BASE_EXAM_QUIZ } from '../../../../constants/initHttp';\nimport httpService from '../../../../configs/service';\nimport { getQuestionUjianByGuru } from '../Ujian.Guru';\nimport { normalizeDataQuestion } from '../../../selector/MediaKelas/UjianGuru';\nimport { reportSentry } from '../../../../utils/Utils';\nimport { RESPONSE_ERRORS } from '../../../../constants/initError';\n\nexport const getQuizPersonal = (classId) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet('me/quiz', { quiz_type: 'SEKOLAH', class_id: classId }, getUserToken());\n\n dispatch({ type: GET_QUIZ_PERSONAL, value: rest.data });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const getListBankSoal = (keywords) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestAnyGet('https://api.siswamedia.com/g2j/', {\n id: '1VTedfoSXmis0lOoubDAA0kGG2pSNtT73fB9CGjQsQaU',\n sheet: 2,\n columns: false,\n q: keywords,\n });\n dispatch({ type: GET_LIST_BANK_SOAL, value: rest.rows });\n } catch (error) {\n notification.error({\n message: 'Mohon Maaf!',\n description: 'Silahkan Hubungi Customer Service Kami google sheet',\n });\n }\n dispatch(showLoading(false));\n};\n\nexport const getListMasterSoal = (keywords) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestAnyGet('https://api.siswamedia.com/g2j/', {\n id: '1GU89LkfJXwiVDSVcMk7tZ4-VexIQIVISQknxfDS_FNY',\n sheet: 7,\n columns: false,\n q: keywords,\n });\n\n dispatch({ type: GET_LIST_MASTER_SOAL, value: rest.rows[0] });\n } catch (error) {\n notification.error({\n message: 'Mohon Maaf!',\n description: 'Silahkan Hubungi Customer Service Kami google sheet',\n });\n }\n dispatch(showLoading(false));\n};\n\nexport const createQuizBankSoal = (body, key, total) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPost('quiz', body, getUserToken());\n\n dispatch({\n type: CREATE_QUIZ_BANK_SOAL,\n value: { id: rest.data.id, key: key + 1, total },\n });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami.',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const createAnswerQuizBankSoal = (objQuiz, body) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n await requestPost(`quiz/${objQuiz.id}/bank-soal`, { kumpulan_soal: body }, getUserToken());\n\n if (objQuiz.key === objQuiz.total) {\n dispatch({ type: CREATE_ANSWER_QUIZ_BANK_SOAL, value: true });\n }\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami.',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const getSoalBankSoal = (linkSoal) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestAnyGet(linkSoal);\n\n dispatch({ type: GET_SOAL_BANK_SOAL, value: rest.rows });\n } catch (error) {\n notification.error({\n message: 'Mohon Maaf!',\n description: 'Silahkan Hubungi Customer Service Kami google sheet',\n });\n }\n dispatch(showLoading(false));\n};\n\nexport const getCourseBankSoal = (classId, is_teacher = true) => {\n const api = async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet(\n `classes/${classId}/courses`,\n {\n sortby: 'id',\n order: 'desc',\n limit: 10,\n page: 1,\n isteacher: is_teacher ?? false,\n },\n getUserToken()\n );\n\n dispatch({ type: GET_COURSE_BANK_SOAL, value: rest.data });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n };\n return api;\n};\n\nexport const updateQuiz = (quizId, body) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n await requestPut(`quiz/${quizId}`, null, body, getUserToken());\n\n dispatch({ type: UPDATE_QUIZ, value: true });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const deleteQuiz = (quizId) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n await requestDelete(`quiz/${quizId}`, null, getUserToken());\n\n dispatch({ type: DELETE_QUIZ, value: true });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\n// Ujian Student\nexport const getQuizDetail = (quizId) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet(`quiz/${quizId}`, null, getUserToken());\n\n dispatch({ type: GET_QUIZ_DETAIL, value: rest.data });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const getQuizSoal = (quizId) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet(\n `quiz/${quizId}/bank-soal`,\n {\n order: 'asc',\n },\n getUserToken()\n );\n dispatch({ type: GET_QUIZ_SOAL, value: rest.data });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const getQuizJawaban = (quizId, userId) => (dispatch) => {\n dispatch(showLoading(true));\n return requestGet(`quiz/${quizId}/review-jawaban?user_id=${userId}`, null, getUserToken()).then(\n (res) => {\n dispatch({ type: GET_QUIZ_JAWABAN, value: res.data });\n dispatch(showLoading(false));\n return res.data;\n },\n (error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n dispatch(showLoading(false));\n throw error.response?.data || 'no_message';\n }\n );\n};\n\nexport const submitQuiz = (data) => (dispatch) => {\n dispatch(showLoading(true));\n return requestPost('bank-soal/myanswer', data, getUserToken()).then(\n () => {\n notification.success({\n message: 'Sukses!',\n description: 'Berhasil mengumpulkan jawaban ujian',\n });\n dispatch(showLoading(false));\n return true;\n },\n () => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n dispatch(showLoading(false));\n }\n );\n};\n\nexport const submitPenilaian = (data) => (dispatch) => {\n dispatch(showLoading(true));\n return requestPost('bank-soal/answer/score', data, getUserToken()).then(\n () => {\n notification.success({\n message: 'Sukses!',\n description: 'Berhasil membuat penilaian ujian',\n });\n dispatch(showLoading(false));\n return true;\n },\n (error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n dispatch(showLoading(false));\n throw error.response?.data || 'no_message';\n }\n );\n};\n\nexport const createQuizExcel = (dataQuiz, dataSoal) => async (dispatch) => {\n // dispatch(showLoading(true));\n const api = await requestPost('quiz', dataQuiz, getUserToken())\n .then((response) => {\n if (response.status_code === 200) {\n dispatch(addQuizTemplate(response.data.id, dataSoal));\n }\n })\n .catch((error) => {\n const msgBackend = error.response.data.message;\n\n notification.error({\n message: 'Mohon Maaf!',\n description: RESPONSE_ERRORS.hasOwnProperty(msgBackend) ? RESPONSE_ERRORS[msgBackend] : 'Ada Kesalahan',\n });\n reportSentry(error);\n });\n return api;\n};\n\nexport const addQuizTemplate = (id, dataSoal) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestPost(`quiz/${id}/bank-soal-template`, dataSoal, getUserToken())\n .then((response) => {\n if (response.status_code === 200) {\n dispatch({\n type: IS_SUCCESS,\n value: true,\n message: 'Add Quiz Success',\n });\n dispatch(showLoading(false));\n } else {\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: 'Add Quiz Failed',\n });\n dispatch(showLoading(false));\n }\n })\n .catch((error) => {\n const msgBackend = error.response.data.message;\n\n notification.error({\n message: 'Mohon Maaf!',\n description: msgBackend || 'Ada Kesalahan',\n });\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: 'Add Quiz Failed',\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\n\n// for ujian refactor\nexport const getTypeList = (page, limit) => async (dispatch) => {\n const api = await axios\n .get(`${BASE_EXAM}examtype?page=${page}&limit=${limit}&sort=id&direction=ASC`, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n dispatch({ type: GET_TYPE_LIST, value: response.data.payload });\n })\n .catch((error) => {\n reportSentry(error);\n });\n return api;\n};\nexport const getListExam = (page, limit, class_id, status) => async (dispatch) => {\n const api = await axios\n .get(`${BASE_EXAM}exam?page=${page}&limit=${limit}&sort=id&direction=DESC&class_id=${class_id}&status=${status}`, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n dispatch({\n type: GET_LIST_EXAM,\n value: response.data?.payload?.list,\n });\n })\n .catch((error) => {\n reportSentry(error);\n });\n return api;\n};\n\nexport const addUjian = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .post(`${BASE_EXAM}exam`, data, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n dispatch(showLoading(false));\n if (response.data.statusCode === 200) {\n return response.data;\n }\n })\n .catch((error) => {\n dispatch(showLoading(false));\n\n /* ------------------------- minute duration getter ------------------------- */\n const date1 = new Date(data?.start_date);\n const date2 = new Date(data?.end_date);\n const diffInMs = Math.abs(date2 - date1);\n const convertMinutes = diffInMs / (1000 * 60);\n\n if (convertMinutes < data?.duration) {\n /* ------- message show if duration greater than end_date - start date ------ */\n notification.error({\n message: 'Mohon Maaf!',\n description: 'Durasi yang anda berikan melebihi waktu akhir',\n });\n } else {\n /* ----------------------------- general message ---------------------------- */\n notification.error({\n message: 'Mohon Maaf!',\n description: 'Ada Kesalahan',\n });\n }\n reportSentry(error);\n });\n\n return api;\n};\n\nexport const getExamDetail = (id) => async (dispatch) => {\n const api = await axios\n .get(`${BASE_EXAM}exam/${id}`, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n dispatch({ type: GET_EXAM_DETAIL, value: response.data?.payload });\n })\n .catch((error) => {\n reportSentry(error);\n });\n return api;\n};\nexport const getQuestionByExamID = (page, id) => async (dispatch) => {\n const api = await axios\n .get(`${BASE_EXAM_QUIZ}question?exam_id=${id}&page=${page}&item_per_page=10`, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n dispatch({\n type: GET_QUESTION_BY_EXAM_ID,\n value: response.data?.data,\n });\n })\n .catch((error) => {\n reportSentry(error);\n });\n return api;\n};\n\nexport const getQuestionUjianByGuruNew = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get('question', { baseURL: BASE_EXAM_QUIZ, params })\n .then((response) => {\n dispatch({\n type: GET_QUESTION_BY_EXAM_ID_NEW,\n value: response.data?.data,\n });\n })\n .catch(() => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const editUjian = (id, data) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .put(`${BASE_EXAM}exam/${id}`, data, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n dispatch(showLoading(false));\n if (response.data.statusCode === 200) {\n return response.data;\n }\n })\n .catch((error) => {\n dispatch(showLoading(false));\n\n notification.error({\n message: 'Mohon Maaf!',\n description: 'Ada Kesalahan',\n });\n reportSentry(error);\n return false;\n });\n\n return api;\n};\nexport const editCourses = (id, data) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .put(`${BASE_EXAM}course/update/${id}`, data, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n dispatch(showLoading(false));\n if (response.data.statusCode === 200) {\n return response.data;\n }\n })\n .catch((error) => {\n dispatch(showLoading(false));\n\n notification.error({\n message: 'Mohon Maaf!',\n description: 'Ada Kesalahan',\n });\n throw error;\n });\n\n return api;\n};\nexport const deleteUjian = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .delete(`${BASE_EXAM}exam/${id}`, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n dispatch(showLoading(false));\n if (response.data.statusCode === 200) {\n return response.data;\n }\n })\n .catch((error) => {\n dispatch(showLoading(false));\n\n notification.error({\n message: 'Mohon Maaf!',\n description: 'Ada Kesalahan',\n });\n reportSentry(error);\n });\n\n return api;\n};\n\nexport const getExamDetailandQuestion = (id, exam_id) => async (dispatch) => {\n const api = await axios\n .get(`${BASE_EXAM}exam/${id}`, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then(async (response) => {\n let tempRes = response.data ? response.data.payload : {};\n\n const tempCourses = [];\n tempRes.courses &&\n tempRes.courses.forEach((val) => {\n if (!tempCourses.includes(val.course_id)) {\n tempCourses.push(val.course_id);\n }\n });\n const tempQuestion = await dispatch(getQuestionUjianByGuru({ exam_id }));\n tempRes = {\n ...tempRes,\n questions: normalizeDataQuestion(tempQuestion || []),\n courses: tempCourses || [],\n };\n\n dispatch({ type: GET_EXAM_DETAIL_AND_QUESTION, value: tempRes });\n })\n .catch((error) => {\n reportSentry(error);\n });\n return api;\n};\nexport const getSchoolYearExam = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get('schoolyear', { baseURL: BASE_EXAM, params })\n .then((response) => (response.data.payload ? response.data.payload.list : []))\n .catch((err) => {\n console.log('err', err);\n return null;\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const exportPDF = (params, filename = 'file') => {\n const api = async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get('export/exam/pdf', {\n baseURL: `${BASE_EXAM}`,\n params,\n responseType: 'blob',\n })\n .then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', `${filename}.pdf`);\n document.body.appendChild(link);\n link.click();\n })\n .catch(() => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n };\n return api;\n};\n\nexport const clearCourseBankSoal = () => ({\n type: GET_COURSE_BANK_SOAL,\n value: false,\n});\n\nexport const clearQuizPersonal = () => ({\n type: GET_QUIZ_PERSONAL,\n value: false,\n});\n\nexport const clearListBankSoal = () => ({\n type: GET_LIST_BANK_SOAL,\n value: false,\n});\n\nexport const clearUpdateQuiz = () => ({\n type: UPDATE_QUIZ,\n value: false,\n});\n\nexport const clearDeleteQuiz = () => ({\n type: DELETE_QUIZ,\n value: false,\n});\n\nexport const clearAnswerCreateQuiz = () => ({\n type: CREATE_ANSWER_QUIZ_BANK_SOAL,\n value: false,\n});\n","import { getUserToken } from '@utils';\nimport { GET_DOCUMENTS, GET_DOCUMENTS_SCHOOL, GET_FILES, GET_FILES_SCHOOL } from '@type';\nimport axios from 'axios';\nimport { notification } from 'antd';\nimport { reportSentry } from '../../../../utils/Utils';\nimport { BASE_API_URL, BASE_LOGIN } from '../../../../constants/initHttp';\nimport { showLoading } from '../../General';\n\nexport const getDocuments = (parent) => async (dispatch) => {\n if (parent === '') {\n return;\n }\n const api = await axios\n .get(`${BASE_LOGIN}/v1/api/schoolGoogleDrive?directory_id=${parent}`, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n dispatch({ type: GET_DOCUMENTS, value: response.data.data.files });\n })\n .catch((error) => {\n reportSentry(error);\n });\n return api;\n};\nexport const getFiles = (params, type) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .get(`${BASE_LOGIN}/v1/api/schoolGoogleDrive`, {\n params,\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n dispatch({\n type: type === 'class' ? GET_FILES : GET_FILES_SCHOOL,\n value: response.data.data,\n });\n dispatch(showLoading(false));\n })\n .catch((error) => {\n reportSentry(error);\n dispatch(showLoading(false));\n });\n return api;\n};\n\nexport const addFolder = (path, name, userMail = false) => async (dispatch) => {\n dispatch(showLoading(true));\n let permission = [\n {\n type: 'anyone',\n role: 'reader',\n send_notification: false,\n },\n ];\n const owned = [\n {\n type: 'user',\n role: 'reader',\n email: userMail,\n send_notification: false,\n },\n {\n type: 'domain',\n role: 'reader',\n domain: 'siswamedia.com',\n send_notification: false,\n },\n {\n type: 'user',\n role: 'writer',\n email: userMail,\n send_notification: false,\n },\n ];\n if (userMail) {\n permission = permission.concat(owned);\n }\n const fileMetadata = {\n path,\n name,\n permissions: permission,\n };\n const api = await axios\n .post(`${BASE_LOGIN}/v1/api/schoolGoogleDrive/directory`, fileMetadata, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n if (response.status === 200) {\n dispatch(showLoading(false));\n return true;\n }\n })\n .catch((error) => {\n const msg = () => {\n if (error.response.status === 422) return 'Tidak punya izin! Harap hubungi admin!';\n };\n notification.error({\n message: 'Gagal!',\n description: msg(),\n });\n });\n dispatch(showLoading(false));\n return api;\n};\nexport const addFile = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .post(`${BASE_LOGIN}/v1/api/schoolGoogleDrive/file?isCompress=true`, data, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n if (response.status === 200) {\n dispatch(showLoading(false));\n dispatch(addPermission(response.data.data.id));\n return true;\n }\n })\n .catch(() => {\n notification.error({\n message: 'Maaf Anda Tidak Di Izinkan Untuk Menambahkan File',\n });\n });\n dispatch(showLoading(false));\n return api;\n};\nexport const addPermission = (path, email) => async (dispatch) => {\n dispatch(showLoading(true));\n const data = [];\n if (email) {\n email.forEach((item) => {\n data.push(\n {\n type: 'anyone',\n role: 'reader',\n send_notification: false,\n },\n {\n type: 'user',\n role: 'reader',\n email: item,\n send_notification: false,\n },\n {\n type: 'domain',\n role: 'reader',\n domain: 'siswamedia.com',\n send_notification: false,\n },\n {\n type: 'user',\n role: 'writer',\n email: item,\n send_notification: false,\n }\n );\n });\n } else {\n data.push({\n type: 'anyone',\n role: 'reader',\n send_notification: false,\n });\n }\n const api = await axios\n .put(`${BASE_LOGIN}/v1/api/schoolGoogleDrive/permission/id/${path}`, data, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n if (response.status === 200) {\n dispatch(showLoading(false));\n return true;\n }\n })\n .catch(() => {\n notification.error({\n message: 'Anda Tidak Berhak Untuk Memberikan Izin',\n });\n });\n dispatch(showLoading(false));\n return api;\n};\n\nexport const getDocumentsSchool = (parent) => async (dispatch) => {\n if (parent === '') {\n return;\n }\n const api = await axios\n .get(`${BASE_LOGIN}/v1/api/schoolGoogleDrive?directory_id=${parent}`, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n dispatch({\n type: GET_DOCUMENTS_SCHOOL,\n value: response.data.data.files,\n });\n })\n .catch((error) => {\n reportSentry(error);\n });\n return api;\n};\nexport const getFilesSchool = (parent) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .get(`${BASE_LOGIN}/v1/api/schoolGoogleDrive?directory_id=${parent}`, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n dispatch({\n type: GET_FILES_SCHOOL,\n value: response.data.data.files,\n });\n dispatch(showLoading(false));\n })\n .catch((error) => {\n reportSentry(error);\n dispatch(showLoading(false));\n });\n return api;\n};\nexport const deleteFile = (parent) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .delete(`${BASE_LOGIN}/v1/api/schoolGoogleDrive/file/id/${parent}`, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n if (response.status === 200) {\n dispatch(showLoading(false));\n return true;\n }\n })\n .catch((error) => {\n reportSentry(error);\n dispatch(showLoading(false));\n const msg = () => {\n if (error.response.status === 422) {\n return 'Tidak punya izin! Harap hubungi admin!';\n }\n };\n notification.error({\n message: 'Gagal!',\n description: msg(),\n });\n });\n return api;\n};\n\nexport const addFolderIfEmpty = (class_id, type) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .put(\n `${BASE_API_URL}v2/${type === 'class' ? 'classes' : 'schools'}/drive/${class_id}`,\n {},\n {\n headers: { Authorization: `${getUserToken()}` },\n }\n )\n .then((response) => {\n if (response.status === 200) {\n dispatch(showLoading(false));\n return true;\n }\n })\n .catch((error) => {\n reportSentry(error);\n dispatch(showLoading(false));\n });\n return api;\n};\n\nexport const getAboutGdrive = () => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .get(`${BASE_LOGIN}/v1/api/schoolGoogleDrive/about`, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n dispatch({\n type: 'GET_ABOUT_GDRIVE',\n value: response.data.data,\n });\n dispatch(showLoading(false));\n })\n .catch((error) => {\n reportSentry(error);\n dispatch(showLoading(false));\n });\n return api;\n};\n","import { requestGet, requestPost, requestPut } from '@configs';\nimport { showLoading } from '@store/actions';\nimport { getUserToken } from '@utils';\nimport { notification } from 'antd';\nimport { CREATE_FORUM, CREATE_FORUM_COMMENT, FETCH_FORUM, READ_FORUM } from '@type';\nimport { reportSentry } from '../../../../utils/Utils';\nimport { requestDelete } from '../../../../configs';\n\nexport const fetchForum = (params, class_id = null, school_id = null) => {\n const api = (dispatch) => {\n dispatch(showLoading(true));\n return requestGet('forum', params, getUserToken())\n .then((res) => {\n if (class_id && res.data && Object.keys(params).length === 1 && school_id) {\n dispatch({\n type: FETCH_FORUM,\n payload: res.data.filter((e) => {\n if (e.class_id === class_id || e.class_id === 0) {\n return e.school_id === school_id;\n }\n return false;\n }),\n });\n } else {\n dispatch({ type: FETCH_FORUM, payload: res.data });\n }\n dispatch(showLoading(false));\n })\n .catch(() => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n dispatch(showLoading(false));\n });\n };\n return api;\n};\n\nexport const createForum = (data) => (dispatch) => {\n dispatch(showLoading(true));\n return requestPost('forum', data, getUserToken())\n .then((res) => {\n dispatch({ type: CREATE_FORUM, payload: res.data });\n dispatch(showLoading(false));\n return res.data;\n })\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n};\n\nexport const readForum = (id) => (dispatch) => {\n dispatch(showLoading(true));\n return requestGet(`forum/${id}`, null, getUserToken())\n .then((res) => {\n dispatch({ type: READ_FORUM, payload: res.data });\n dispatch(showLoading(false));\n })\n .catch(() => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n dispatch(showLoading(false));\n });\n};\n\nexport const createForumComment = (id, data) => (dispatch) => {\n dispatch(showLoading(true));\n return requestPost(`forum/${id}/reply`, data, getUserToken())\n .then((res) => {\n dispatch({ type: CREATE_FORUM_COMMENT, payload: res.data });\n dispatch(showLoading(false));\n return res.data;\n })\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n};\nexport const deleteForum = (id) => (dispatch) => {\n dispatch(showLoading(true));\n return requestDelete(`forum/${id}`, null, getUserToken())\n .then((res) => {\n dispatch(showLoading(false));\n notification.success({\n message: 'Berhasil!',\n description: res.message,\n });\n return true;\n })\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n};\n\nexport const editForum = (data) => (dispatch) => {\n dispatch(showLoading(true));\n return requestPut('forum', null, data, getUserToken())\n .then((res) => {\n dispatch(showLoading(false));\n if (res.status_code === 200) {\n return true;\n }\n })\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n};\n\nexport const hideForumComment = (id, forumId) => (dispatch) => {\n dispatch(showLoading(true));\n return requestPut(`forum/comment/hide/${id}`, null, null, getUserToken())\n .then((res) => {\n if (res.status_code === 200) {\n dispatch(showLoading(false));\n dispatch(readForum(forumId));\n return true;\n }\n })\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n};\n","import { requestDelete, requestGet, requestPost, requestPut } from '@configs';\nimport {\n CREATE_JURNAL_BELAJAR,\n IS_SUCCESS,\n JURNAL_BELAJAR_DETAIL,\n JURNAL_BELAJAR_TUGAS,\n JURNAL_BELAJAR_UJIAN,\n LIST_JURNAL_BELAJAR,\n LIST_JURNAL_BELAJAR_DRAGGABLE,\n} from '@type';\nimport { getUserToken } from '@utils';\nimport { notification } from 'antd';\nimport { showLoading } from '@store/actions';\nimport moment from 'moment';\nimport { reportSentry } from '../../../../utils/Utils';\nimport { LIST_JURNAL_BELAJAR_NEXT } from '../../../../constants/initType';\nimport httpService from '../../../../configs/service';\nimport { BASE_EXAM } from '../../../../constants/initHttp';\n\nexport const createJurnalBelajar = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n data.list_attachment = data.list_attachment.filter((item) => !(item.link === '' || item.link === null));\n const api = await requestPost('study-journal', data, getUserToken())\n .then((response) => {\n if (response.status_code === 200) {\n dispatch({\n type: IS_SUCCESS,\n value: true,\n message: 'Create Modul Ajar Success',\n });\n dispatch({ type: CREATE_JURNAL_BELAJAR, value: response.data });\n dispatch(showLoading(false));\n notification.success({\n message: 'Berhasil!',\n description: 'Berhasil Membuat Modul Ajar',\n });\n return true;\n }\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: 'Create Modul Ajar Failed',\n });\n dispatch(showLoading(false));\n })\n .catch((error) => {\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response.data.message,\n });\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: 'Create Tugas Failed',\n });\n dispatch(showLoading(false));\n reportSentry(error);\n })\n .finally(() => {\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: '',\n });\n });\n return api;\n};\nexport const getNewListJurnalBelajarClasses = (class_id, page, limit, onlyme, startDate, endDate, search) => {\n const dp = async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestGet(\n `study-journal/class/${class_id}?onlyme=${onlyme}&limit=${limit}&page=${page}&start_date=${startDate}&end_date=${endDate}&search=${search}`,\n false,\n getUserToken()\n )\n .then((response) => {\n dispatch({ type: LIST_JURNAL_BELAJAR, value: response.data });\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n dispatch({\n type: LIST_JURNAL_BELAJAR,\n value: {\n list_data: [],\n total_count: 0,\n },\n });\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response?.data.message,\n });\n reportSentry(error);\n });\n return api;\n };\n return dp;\n};\n\nexport const getNewListJurnalBelajar = (courseid, page, limit, type, onlyme) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestGet(\n `study-journal/course/${courseid}?onlyme=${onlyme}&limit=${limit}&page=${page}`,\n false,\n getUserToken()\n )\n .then((response) => {\n dispatch({ type: LIST_JURNAL_BELAJAR, value: response.data });\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n dispatch({\n type: LIST_JURNAL_BELAJAR,\n value: {\n list_data: [],\n total_count: 0,\n },\n });\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response?.data.message,\n });\n reportSentry(error);\n });\n return api;\n};\n\nexport const getListJurnalBelajar = (courseid, page, limit, startDate, endDate, onlyme) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestGet(\n `study-journal/course/${courseid}?onlyme=${onlyme}&limit=${limit}&page=${page}&start_date=${startDate}&end_date=${endDate}`,\n false,\n getUserToken()\n )\n .then((response) => {\n dispatch({ type: LIST_JURNAL_BELAJAR, value: response.data });\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n dispatch({\n type: LIST_JURNAL_BELAJAR,\n value: {\n list_data: [],\n total_count: 0,\n },\n });\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response?.data.message,\n });\n reportSentry(error);\n });\n return api;\n};\nexport const getListJurnalBelajarClasses = (class_id, page, limit, type, onlyme) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestGet(\n `study-journal/class/${class_id}?onlyme=${onlyme}&limit=${limit}&page=${page}&${\n type === 'selanjutnya' ? 'after=' : 'before_equal='\n }${moment(Date.now()).toISOString()}`,\n false,\n getUserToken()\n )\n .then((response) => {\n dispatch({ type: LIST_JURNAL_BELAJAR, value: response.data });\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n dispatch({\n type: LIST_JURNAL_BELAJAR,\n value: {\n list_data: [],\n total_count: 0,\n },\n });\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response?.data.message,\n });\n reportSentry(error);\n });\n return api;\n};\nexport const getListJurnalBelajarNext = (courseid, page, limit, type, onlyme) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestGet(\n `study-journal/course/${courseid}?onlyme=${onlyme}&limit=${limit}&page=${page}&${\n type === 'selanjutnya' ? 'after=' : 'before_equal='\n }${moment(Date.now()).toISOString()}`,\n false,\n getUserToken()\n )\n .then((response) => {\n dispatch({\n type: LIST_JURNAL_BELAJAR_NEXT,\n value: response.data,\n });\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n dispatch({\n type: LIST_JURNAL_BELAJAR_NEXT,\n value: {\n list_data: [],\n total_count: 0,\n },\n });\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response?.data.message,\n });\n reportSentry(error);\n });\n return api;\n};\n\nexport const getJurnalBelajarDetail = (jurnalId) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestGet(`study-journal/${jurnalId}`, false, getUserToken())\n .then((response) => {\n dispatch({ type: JURNAL_BELAJAR_DETAIL, value: response.data });\n dispatch(showLoading(false));\n return response.data;\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response?.data.message,\n });\n reportSentry(error);\n });\n return api;\n};\nexport const editJurnalBelajar = (jurnalId, body) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestPut(`study-journal/${jurnalId}`, false, body, getUserToken())\n .then((response) => {\n dispatch(showLoading(false));\n return response.status_code === 200;\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response?.data.message,\n });\n reportSentry(error);\n });\n return api;\n};\n\nexport const getJurnalBelajarTugas = (classId, jurnalId, type) => async (dispatch) => {\n const api = await requestGet(\n `me/${\n type.includes('SISWA') || type.includes('ORTU') ? 'assessments' : 'assessments-guru'\n }?class_id=${classId}&limit=100&page=1&journal_id=${jurnalId}`,\n false,\n getUserToken()\n )\n .then((response) => {\n dispatch({ type: JURNAL_BELAJAR_TUGAS, value: response.data });\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response?.data.message,\n });\n reportSentry(error);\n });\n return api;\n};\nexport const getJurnalBelajarUjian = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get('exam', { params, baseURL: BASE_EXAM })\n .then((response) => {\n dispatch({\n type: JURNAL_BELAJAR_UJIAN,\n value: response.data.payload,\n pagination: response.data.payload,\n });\n })\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const deleteJurnalBelajar = (jurnalId) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestDelete(`study-journal/${jurnalId}`, false, getUserToken())\n .then((response) => {\n if (response.status_code === 200) {\n dispatch({ type: 'DELETEJURNAL', value: response.status_code });\n return true;\n }\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response?.data.message,\n });\n reportSentry(error);\n });\n return api;\n};\n\nexport const getListJurnalBelajarV2 = (courseid, startDate, endDate, onlyme) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestGet(\n `study-journal-v2/course/${courseid}?onlyme=${onlyme}&start_date=${startDate}&end_date=${endDate}`,\n false,\n getUserToken()\n )\n .then((response) => {\n dispatch({ type: LIST_JURNAL_BELAJAR, value: response.data });\n dispatch(showLoading(false));\n return response;\n })\n .catch((error) => {\n dispatch(showLoading(false));\n dispatch({\n type: LIST_JURNAL_BELAJAR,\n value: {\n list_data: [],\n total_count: 0,\n },\n });\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response?.data.message,\n });\n reportSentry(error);\n });\n return api;\n};\n\nexport const getListJurnalBelajarClassesV2 = (class_id, onlyme, startDate, endDate, search, status) => {\n const dp = async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestGet(\n `study-journal-v2/class/${class_id}?onlyme=${onlyme}&start_date=${startDate}&end_date=${endDate}&search=${search}&status=${status}`,\n false,\n getUserToken()\n )\n .then((response) => {\n dispatch({ type: LIST_JURNAL_BELAJAR, value: response.data });\n\n // mapping for table draggable\n const dataDraggable = [];\n response.data?.list_data.forEach((item, i) =>\n dataDraggable.push({\n key: item.status === 'ongoing' ? 0 : i + 1, // 0 = drag action is disabled\n id: item.id,\n flow: item.flow,\n name: item.name,\n course_name: item.course_name,\n start_time: item.start_time,\n status: item.status,\n })\n );\n dispatch({ type: LIST_JURNAL_BELAJAR_DRAGGABLE, value: dataDraggable });\n\n dispatch(showLoading(false));\n return response;\n })\n .catch((error) => {\n dispatch(showLoading(false));\n dispatch({\n type: LIST_JURNAL_BELAJAR,\n value: {\n list_data: [],\n total_count: 0,\n },\n });\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response?.data.message,\n });\n reportSentry(error);\n });\n return api;\n };\n return dp;\n};\n\nexport const updateSortedFlow = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestPut('study-journal/update-flow', false, data, getUserToken())\n .then((response) => {\n if (response.status_code === 200) {\n dispatch({\n type: IS_SUCCESS,\n value: true,\n message: 'Atur Urutan Modul Ajar Success',\n });\n dispatch(showLoading(false));\n notification.success({\n message: 'Berhasil!',\n description: 'Berhasil Atur Urutan Modul Ajar',\n });\n return true;\n }\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: 'Atur Urutan Modul Ajar Failed',\n });\n dispatch(showLoading(false));\n })\n .catch((error) => {\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response.data.message,\n });\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: 'Atur Urutan Modul Ajar Failed',\n });\n dispatch(showLoading(false));\n reportSentry(error);\n })\n .finally(() => {\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: '',\n });\n });\n return api;\n};\n","import axios from 'axios';\nimport { objectString } from '@utils';\nimport { BASE_INTERAKSI } from '@http';\n\nconst headers = (token) => {\n let data = {\n 'Content-Type': 'application/json',\n };\n\n if (token) {\n data = {\n 'Content-Type': 'application/json',\n Authorization: `Bearer ${token}`,\n 'X-Content-Type-Options': 'nosniff',\n 'Access-Control-Allow-Origin': '*',\n };\n }\n\n return data;\n};\n\nexport const requestPost = (url, params, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .post(`${BASE_INTERAKSI}/api/v1/${url}`, params, {\n headers: headers(token),\n })\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestGet = (url, params, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .get(`${BASE_INTERAKSI}/api/v1/${url}${params ? objectString(params) : ''}`, {\n headers: headers(token),\n })\n .then((response) => {\n resolve(response.data);\n })\n .then((error) => {\n reject(error);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestPut = (url, params, body, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .put(`${BASE_INTERAKSI}/api/v1/${url}${params ? objectString(params) : ''}`, body, {\n headers: headers(token),\n })\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestDelete = (url, body, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .delete(`${BASE_INTERAKSI}/api/v1/${url}`, {\n headers: headers(token),\n data: body,\n })\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestAnyGet = (url, params, headers) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .get(\n `${url}${objectString(params)}`,\n headers && {\n headers,\n }\n )\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\n","import { requestGet, requestPost } from '@configs/interaksi';\nimport { showLoading } from '@store/actions';\nimport { getUserToken } from '@utils';\nimport { notification } from 'antd';\nimport {\n CREATE_INTERAKSI_BELAJAR_ROOM,\n GET_INTERAKSI_BELAJAR_ROOM,\n LIST_INTERAKSI_BELAJAR_ROOM,\n} from '../../../../constants/initType';\nimport { reportSentry } from '../../../../utils/Utils';\n\nexport const createInteraksiRoom = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestPost('room/create_room', data, getUserToken())\n .then((response) => {\n if (response.code === 200) {\n dispatch({\n type: CREATE_INTERAKSI_BELAJAR_ROOM,\n value: true,\n message: 'Create Room Success',\n });\n dispatch(showLoading(false));\n } else {\n dispatch(showLoading(false));\n }\n })\n .catch((error) => {\n dispatch(showLoading(false));\n dispatch({\n type: CREATE_INTERAKSI_BELAJAR_ROOM,\n value: false,\n message: 'Create Room Failed',\n });\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response.data.message,\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\n\nexport const getInteraksiRooms = (is_student = false) => async (dispatch) => {\n const api = await requestGet(\n is_student === true ? 'room/search/student' : 'room/search/teacher',\n {\n limit: 9999,\n page: 0,\n },\n getUserToken()\n )\n .then((response) => {\n dispatch({\n type: LIST_INTERAKSI_BELAJAR_ROOM,\n value: response.data.list,\n });\n })\n .catch((error) => {\n reportSentry(error);\n });\n return api;\n};\n\nexport const getInteraksiBySlug = (slug) => async (dispatch) => {\n const api = await requestGet(`room/detail/${slug}`, false, getUserToken())\n .then((response) => {\n dispatch({\n type: GET_INTERAKSI_BELAJAR_ROOM,\n value: response.data,\n });\n })\n .catch((error) => {\n reportSentry(error);\n });\n return api;\n};\n","import axios from 'axios';\nimport { objectString } from '@utils';\nimport { BASE_QUIZ } from '@http';\n\nconst headers = (token) => {\n let data = {\n 'Content-Type': 'application/json',\n };\n\n if (token) {\n data = {\n 'Content-Type': 'application/json',\n Authorization: `Bearer ${token}`,\n 'X-Content-Type-Options': 'nosniff',\n 'Access-Control-Allow-Origin': '*',\n 'X-Show-Correct-Answer': true,\n };\n }\n\n return data;\n};\n\nexport const requestPost = (url, params, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .post(`${BASE_QUIZ}${url}`, params, {\n headers: headers(token),\n })\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestGet = (url, params, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .get(`${BASE_QUIZ}${url}${params ? objectString(params) : ''}`, {\n headers: headers(token),\n })\n .then((response) => {\n resolve(response.data);\n })\n .then((error) => {\n reject(error);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestPut = (url, body, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .put(`${BASE_QUIZ}${url}`, body, {\n headers: headers(token),\n })\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestPatch = (url, body, token) =>\n // console.log(\"body---\", body);\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .patch(`${BASE_QUIZ}${url}`, body, {\n headers: headers(token),\n })\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestDelete = (url, body, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .delete(`${BASE_QUIZ}${url}`, {\n headers: headers(token),\n data: body,\n })\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestAnyGet = (url, params, headers) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .get(\n `${BASE_QUIZ}${objectString(params)}`,\n headers && {\n headers,\n }\n )\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\n","import { requestDelete, requestGet, requestPost } from '@configs/quiz';\nimport { showLoading } from '@store/actions';\nimport { getUserToken } from '@utils';\nimport { GET_ALL_BANK_SOAL, GET_BANK_SOAL, GET_ONE_BANK_SOAL } from '@type';\nimport { CLEAR_BANK_SOAL, CREATE_BANK_SOAL, DELETE_BANK_SOAL } from '../../../../constants/initType';\nimport { requestPatch } from '../../../../configs/quiz';\nimport { AxiosInject } from '../../../../utils/Utils';\nimport { BASE_API_URL, BASE_QUIZ } from '../../../../constants/initHttp';\n\nexport const getAllQuiz = () => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet('quiz', null, getUserToken());\n dispatch({ type: GET_ALL_BANK_SOAL, value: rest.data });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const getQuizByParam = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet('quiz', params, getUserToken());\n dispatch({\n type: GET_BANK_SOAL,\n value: rest.data,\n meta: rest.meta,\n });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const createBankSoal = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPost('quiz', data, getUserToken());\n\n // dispatch({\n // type: CREATE_BANK_SOAL,\n // value: rest.code === 200 ? true : false,\n // });\n dispatch(showLoading(false));\n return rest.data;\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const duplicateBankSoal = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n const httpInjector = AxiosInject(BASE_QUIZ, 'Bearer', getUserToken());\n return await httpInjector\n .get(`quiz/duplicate/${id}`)\n .then((r) => r.data)\n .catch((r) => {\n throw new Error(r);\n })\n .finally(() => dispatch(showLoading(false)));\n};\n\nexport const createQuestion = (data, type) => async (dispatch) => {\n if (type === 'finish') {\n dispatch(showLoading(true));\n }\n try {\n const rest = await requestPost('question', data, getUserToken());\n\n if (type === 'finish') {\n dispatch({\n type: CREATE_BANK_SOAL,\n value: rest.code === 200,\n });\n }\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\nexport const updateBankSoal = (data, type) => async (dispatch) => {\n if (type === 'finish') {\n dispatch(showLoading(true));\n }\n try {\n const rest = await requestPatch('quiz', data, getUserToken());\n if (type === 'finish') {\n dispatch({\n type: CREATE_BANK_SOAL,\n value: rest.code === 200,\n });\n }\n dispatch({ type: 'PATCH_BANK_SOAL', value: rest?.data?.questions });\n return rest?.data?.questions;\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const deleteBankSoal = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestDelete(`quiz/${id}`, null, getUserToken());\n dispatch({\n type: DELETE_BANK_SOAL,\n value: rest.code === 200,\n });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\nexport const deleteQuestion = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n await requestDelete(`question/${id}`, null, getUserToken());\n // dispatch({\n // type: DELETE_BANK_SOAL,\n // value: rest.code === 200 ? true : false,\n // });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\n// Proses lampiran di bank soal\nexport const uploadFileBankSoal = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPost('quiz/file/upload', data, getUserToken());\n dispatch(showLoading(false));\n return rest;\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const getQuizByID = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet(`quiz/${id}`, null, getUserToken());\n dispatch({ type: GET_ONE_BANK_SOAL, value: rest.data });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const getAllSchool = () => {\n const httpInjector = AxiosInject(BASE_API_URL, '', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .get('/v2/schools')\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n throw new Error(r);\n });\n };\n};\n\nexport const shareQuiz = (payload) => {\n const httpInjector = AxiosInject(BASE_QUIZ, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .post('quiz/share', payload)\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n throw new Error(r);\n });\n };\n};\n\nexport const getQuestionHistory = (params) => {\n const httpInjector = AxiosInject(BASE_QUIZ, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .get('question/history', { params })\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n throw new Error(r);\n });\n };\n};\n\n// clear action reducers\nexport const clearCreateBankSoal = () => ({\n type: CREATE_BANK_SOAL,\n value: false,\n});\n\nexport const clearBankSoal = () => ({\n type: CLEAR_BANK_SOAL,\n});\n","import axios from 'axios';\nimport { objectString } from '@utils';\nimport { BASE_EXAM as BASE_V1, BASE_EXAM_QUIZ as BASE } from '@http';\n\nconst headers = (token) => {\n let data = {\n 'Content-Type': 'application/json',\n };\n\n if (token) {\n data = {\n 'Content-Type': 'application/json',\n Authorization: `Bearer ${token}`,\n 'X-Content-Type-Options': 'nosniff',\n 'Access-Control-Allow-Origin': '*',\n };\n }\n\n return data;\n};\n\nexport const requestPost = (url, data, token, params) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .post(`${BASE}${url}`, data, {\n headers: headers(token),\n params,\n })\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestGet = (url, params, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .get(`${BASE}${url}${params ? objectString(params) : ''}`, {\n headers: headers(token),\n })\n .then((response) => {\n resolve(response.data);\n })\n .then((error) => {\n reject(error);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestGetV1 = (url, params, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .get(`${BASE_V1}${url}${params ? objectString(params) : ''}`, {\n headers: headers(token),\n })\n .then((response) => {\n resolve(response.data);\n })\n .then((error) => {\n reject(error);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestPut = (url, params, body, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .put(`${BASE}${url}${params ? objectString(params) : ''}`, body, {\n headers: headers(token),\n })\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestPatch = (url, params, body, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .patch(`${BASE}${url}${params ? objectString(params) : ''}`, body, {\n headers: headers(token),\n })\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\n\nexport const requestDelete = (url, body, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .delete(`${BASE}${url}`, {\n headers: headers(token),\n data: body,\n })\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestAnyGet = (url, params, headers) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .get(\n `${BASE}${objectString(params)}`,\n headers && {\n headers,\n }\n )\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\n","import { requestGet, requestPost, requestPatch } from '@configs/exam';\nimport { showLoading } from '@store/actions';\nimport { getUserToken } from '@utils';\nimport { notification } from 'antd';\nimport _get from 'lodash/get';\nimport {\n COLLECT_ANSWER,\n FETCH_EXAM_QUESTION,\n FETCH_STUDENT_EXAM,\n READ_QNA_EXAM,\n READ_STUDENT_EXAM,\n SUBMIT_FACE_DETECTION,\n SUBMIT_STUDENT_EXAM,\n} from '../../../../constants/initType';\nimport { getStorage, setStorage } from '../../../../utils/localStorage.js';\nimport { convertToStorage, handleCollectAnswer } from '../../../reducers/MediaKelas/UjianSiswa/functions';\nimport { requestGetV1 } from '../../../../configs/exam';\nimport { BASE_SOCKET_SERVICE } from '../../../../constants/initHttp';\nimport httpService from '../../../../configs/service';\n// import { READ_STUDENT_EXAM } from \"@type\";\n\nexport const fetchStudentExam = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet('exam/me', params, getUserToken());\n dispatch({ type: FETCH_STUDENT_EXAM, value: rest.data });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const fetchStudentExamV1 = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGetV1('exam', params, getUserToken());\n dispatch({ type: FETCH_STUDENT_EXAM, value: rest.payload });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const readStudentExam = (id, isHardSave) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet(`exam/${id}`, null, getUserToken());\n const currentDetail = getStorage('examDetail') || {};\n isHardSave && setStorage('examDetail', { ...currentDetail, ...rest.data });\n dispatch({ type: READ_STUDENT_EXAM, value: rest.data });\n } catch (error) {\n // notification.error({\n // message: \"Mohon Maaf!\",\n // description: \"Silahkan Hubungi Customer Service Kami\",\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const readExamParticipant = (examId, userId, isHardSave) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet(`exam/${examId}/participant/${userId}?show_detail=true`, null, getUserToken());\n const currentDetail = getStorage('examDetail') || {};\n isHardSave &&\n setStorage('examDetail', {\n ...currentDetail,\n remaining_date_unix: rest.data.remaining_date_unix,\n is_start: rest.data.is_start,\n is_end: rest.data.is_end,\n total_score: rest.data.total_score,\n score: rest.data.score,\n exam_status: rest.data.exam_status,\n });\n dispatch({\n type: READ_STUDENT_EXAM,\n value: {\n remaining_date_unix: rest.data.remaining_date_unix,\n is_start: rest.data.is_start,\n is_end: rest.data.is_end,\n total_score: rest.data.total_score,\n score: rest.data.score,\n exam_status: rest.data.exam_status,\n is_submitted_by_user: rest.data.is_submitted_by_user,\n },\n });\n return rest;\n } catch (error) {\n // notification.error({\n // message: \"Mohon Maaf!\",\n // description: \"Silahkan Hubungi Customer Service Kami\",\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const readQnA = (examId, participantId) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet(`qa/preview/v2/${examId}/${participantId}`, null, getUserToken());\n dispatch({ type: READ_QNA_EXAM, value: rest.data });\n } catch (error) {\n // notification.error({\n // message: \"Mohon Maaf!\",\n // description: \"Silahkan Hubungi Customer Service Kami\",\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const validateExamToken = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPost('exam/validate/token', data, getUserToken());\n\n dispatch({\n type: SUBMIT_FACE_DETECTION,\n });\n dispatch(showLoading(false));\n return rest.data;\n } catch (error) {\n notification.error({\n message: 'Mohon Maaf!',\n description: 'Token tidak valid, silahkan hubungi guru anda!',\n });\n dispatch(showLoading(false));\n throw error.response.data;\n }\n};\n\nexport const generalFaceDetection = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPost('detection/upload', data, getUserToken());\n\n dispatch({\n type: SUBMIT_FACE_DETECTION,\n });\n dispatch(showLoading(false));\n\n return rest.data;\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const validateStartExam = (examId, userId, data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPost(`exam/${examId}/participant/${userId}/start/validate`, data, getUserToken());\n\n dispatch({\n type: SUBMIT_FACE_DETECTION,\n });\n dispatch(showLoading(false));\n return rest.data;\n } catch (error) {\n // notification.error({\n // message: \"Mohon Maaf!\",\n // description: \"Silahkan Hubungi Customer Service Kami\",\n // });\n dispatch(showLoading(false));\n throw error.response.data;\n }\n};\n\nexport const ongoingExamFaceDetection = (examId, userId, data) => async (dispatch) => {\n try {\n const rest = await requestPost(`exam/${examId}/participant/${userId}/detect/face`, data, getUserToken());\n\n dispatch({\n type: SUBMIT_FACE_DETECTION,\n });\n dispatch(showLoading(false));\n\n return rest.data;\n } catch (error) {\n return false;\n }\n};\n\nexport const cheatDetection = (examId, userId, type) => async (dispatch) => {\n try {\n const rest = await requestPost(`exam/${examId}/participant/${userId}/detect/${type}`, null, getUserToken());\n\n dispatch({\n type: SUBMIT_FACE_DETECTION,\n });\n dispatch(showLoading(false));\n\n return rest.data;\n } catch (error) {\n // console.log('submitCheatDetection Error!');\n }\n};\n\nexport const fetchExamQuestions = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet('question', params, getUserToken());\n\n const localExamp = new Map();\n localExamp.set(params?.exam_id, rest.data);\n\n setStorage('examQuestions', JSON.stringify(Array.from(localExamp.entries())));\n\n dispatch({ type: FETCH_EXAM_QUESTION, value: rest.data });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const collectAnswer = (data) => (dispatch) => {\n const currentCollection = getStorage('examAnswerCollection') || [];\n setStorage('examAnswerCollection', handleCollectAnswer(data, currentCollection));\n dispatch({ type: COLLECT_ANSWER, data });\n};\n\nexport const submitExamAnswers = (data, throwError = false) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const req = await requestPost('answers', data, getUserToken());\n\n dispatch({\n type: SUBMIT_STUDENT_EXAM,\n });\n console.log('req_soal', req);\n // return rest.data;\n } catch (error) {\n console.log('error2', error);\n if (throwError) {\n throw error;\n }\n // notification.error({\n // message: \"Mohon Maaf!\",\n // description: \"Silahkan Hubungi Customer Service Kami\",\n // });\n return false;\n }\n dispatch(showLoading(false));\n return true;\n};\n\nexport const commitStartExam = ({ examId, userId, params }) => {\n const api = async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPost(`exam/${examId}/participant/${userId}/start`, null, getUserToken(), params);\n dispatch({\n type: 'SUBMIT_ANSWER',\n });\n dispatch(showLoading(false));\n return rest.data;\n } catch (error) {\n dispatch(showLoading(false));\n throw error;\n }\n };\n return api;\n};\n\nexport const setFinalScore = ({ examId, userId, data }) => {\n const api = async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPatch(`exam/${examId}/participant/${userId}/finalScore`, {}, data, getUserToken());\n dispatch(showLoading(false));\n return rest.data;\n } catch (error) {\n dispatch(showLoading(false));\n throw error;\n }\n };\n return api;\n};\n\nexport const commitEndExam = ({ examId, userId }) => {\n const api = async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPost(\n `exam/${examId}/participant/${userId}/end?isSubmittedByUser=true`,\n null,\n getUserToken()\n );\n dispatch({\n type: 'SUBMIT_ANSWER',\n });\n\n localStorage.removeItem('examDetail');\n // localStorage.removeItem('examAnswerCollection');\n localStorage.removeItem('examQuestions');\n dispatch(showLoading(false));\n // console.log(\"res\", rest);\n return rest.data;\n } catch (error) {\n dispatch(showLoading(false));\n throw error;\n }\n };\n return api;\n};\n\nexport const checkpointExamAnswers = (data) => async () => requestPost('answers', data, getUserToken());\n// } catch (error) {\n// throw error;\n// }\nexport const postExamChat = (id, data) => async () => {\n try {\n const res = await requestPost(`exam/${id}/examChat`, data, getUserToken());\n if (res.code === 200) {\n return true;\n }\n } catch (error) {\n return false;\n }\n};\nexport const getExamChat = (id, params) => async () => {\n try {\n const res = await requestGet(`exam/${id}/examChat`, params, getUserToken());\n return res.data;\n } catch (error) {\n return false;\n }\n};\n\nexport const getAllAnswers = (params) => async (dispatch) => {\n try {\n const res = await requestGet('answer', params, getUserToken());\n const resAnswerCollections = _get(res, 'data', []) || [];\n const resConvertAnswer = convertToStorage(resAnswerCollections);\n\n const currentStorage = getStorage('examAnswerCollection');\n if (!currentStorage || currentStorage.length === 0) {\n setStorage('examAnswerCollection', resConvertAnswer);\n dispatch(setExamData('answerCollection', resConvertAnswer));\n }\n return res;\n } catch (error) {\n return false;\n }\n};\n\n// Force set data reducer\nexport const setExamData = (path, data) => (dispatch) => {\n dispatch({ type: 'FORCE_SET_DATA', path, data });\n};\n\n// clear action reducers\n// export const clearCreateBankSoal = () => ({\n// type: CREATE_BANK_SOAL,\n// value: false,\n// });\n\nexport const checkRoom = (params) =>\n httpService.get('check-room', {\n baseURL: BASE_SOCKET_SERVICE,\n params,\n });\n","import { showLoading } from '@store/actions';\nimport { notification } from 'antd';\nimport { BASE_REKAP_NILAI } from '../../../../constants/initHttp';\nimport { AxiosInject, getUserToken, reportSentry } from '../../../../utils/Utils';\nimport httpService from '../../../../configs/service';\n\nconst RECOVER = 'https://dev-api.siswamedia.com/v1-report-card/';\n\nconst URL_REKAP_NILAI = `${BASE_REKAP_NILAI || RECOVER}v1/api/`;\n\nexport const getListLaporan = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get('scoresubmission/submitlist', {\n params,\n baseURL: URL_REKAP_NILAI,\n })\n .then((response) => response.data.data)\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const getListLaporanSiswa = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get('scoresubmission/tasklist', {\n params,\n baseURL: URL_REKAP_NILAI,\n })\n .then((response) => response.data.data)\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const getListLaporanNilaiSiswa = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get('scoresubmission/score/students', {\n params,\n baseURL: URL_REKAP_NILAI,\n })\n .then((response) => response.data.data)\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const generateExportNilai = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get('report/generate', { params, baseURL: URL_REKAP_NILAI })\n .then((response) => response)\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const fetchGenerateExportNilai = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n const httpAdapter = AxiosInject(URL_REKAP_NILAI, 'Bearer', getUserToken());\n return httpAdapter\n .get('report/generate', {\n responseType: 'blob',\n params,\n })\n .then((r) => {\n if (r.status === 200) {\n return r.data;\n }\n })\n .catch(() => {\n notification.error({\n message: 'Gagal!',\n description: 'Data tidak ditemukan',\n });\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n","import { showLoading } from '@store/actions';\nimport { notification } from 'antd';\nimport { BASE_REKAP_NILAI } from '../../../../constants/initHttp';\nimport { reportSentry } from '../../../../utils/Utils';\nimport httpService from '../../../../configs/service';\n\nconst RECOVER = 'https://dev-api.siswamedia.com/v1-report-card/';\n\nconst URL_REKAP_NILAI = `${BASE_REKAP_NILAI || RECOVER}v1/api/`;\n\nexport const getListSettingRaport = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get('reportScoreSetting', { params, baseURL: URL_REKAP_NILAI })\n .then((response) => response.data.data)\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const getDetailSettingRaport = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get('reportScoreSetting/id', { baseURL: URL_REKAP_NILAI, slashId: id })\n .then((response) => response.data)\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const createSettingRaport = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .post('reportScoreSetting', data, { baseURL: URL_REKAP_NILAI })\n .then((response) => response.data)\n .catch((error) => {\n let msgError = 'Silahkan Hubungi Customer Service Kami';\n const errorData = error.response.data;\n\n if (errorData.status === 'record_already_exist') {\n msgError = 'Nama Kurikulum sudah ada !';\n }\n\n notification.error({\n message: 'Mohon Maaf!',\n description: msgError,\n });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const editSettingRaport = (data, id) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .put('reportScoreSetting/id', data, { baseURL: URL_REKAP_NILAI, slashId: id })\n .then((response) => response.data)\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const deleteSettingRaport = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .delete('reportScoreSetting/id', { baseURL: URL_REKAP_NILAI, slashId: id })\n .then((response) => response.data)\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n","import { notification } from 'antd';\nimport { showLoading } from '@store/actions';\nimport { requestGet, requestPut } from '@configs';\nimport { getUserToken } from '@utils';\nimport { GET_ROLE, SAVE_STATE_FOR_CHANGE_ROLE, SET_ROLE, STATUS_ROLE } from '@type';\nimport { autoSubmitSchoolAndClasses, getStudentByClass } from '../Class';\n\nexport const getRole = () => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet('me/current-class-json', false, getUserToken());\n if (rest.message === 'data not found in cache') {\n dispatch({ type: STATUS_ROLE, value: false });\n autoSubmitSchoolAndClasses(dispatch).then((_res) => {\n if (_res !== false && _res !== 'no_school' && _res !== 'is_on_wizard') {\n // _res.then((r) => {\n // window.location.href = \"/dashboard\";\n // });\n } else if (_res === 'no_school') {\n window.location.href = '/wizard';\n } else if (_res === 'is_on_wizard') {\n dispatch({\n type: GET_ROLE,\n value: {\n class_id: null,\n class_name: '',\n class_role: '',\n school_id: null,\n is_admin: false,\n school_name: '',\n school_role: '',\n type: '',\n },\n });\n } else {\n dispatch({\n type: GET_ROLE,\n value: {\n class_id: null,\n class_name: '',\n class_role: '',\n school_id: null,\n is_admin: false,\n school_name: '',\n school_role: '',\n type: '',\n },\n });\n }\n });\n } else {\n const py = {\n ...rest.data,\n class_id: rest.data.id,\n school_role: rest.data.school_role ?? [],\n };\n dispatch({ type: GET_ROLE, value: py });\n dispatch({ type: STATUS_ROLE, value: true });\n dispatch({\n type: SAVE_STATE_FOR_CHANGE_ROLE,\n value: rest.data,\n });\n dispatch(getStudentByClass(rest.data.id)).then((e) => {\n if (e) {\n if (e.data) {\n if (e.data.length > 0) {\n const remap = e.data.map(({ user_id, image }) => ({\n id: user_id,\n image,\n }));\n dispatch({\n type: 'SAVE_PHOTOS',\n value: remap || [],\n });\n }\n }\n }\n });\n }\n } catch (error) {\n console.log(error);\n }\n dispatch(showLoading(false));\n};\n\nexport const setRole = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = requestPut('me/current-class-json', params, null, getUserToken());\n const payload = {\n ...rest.data,\n class_id: rest.data.id,\n };\n dispatch({ type: SET_ROLE, value: payload });\n dispatch(getRole());\n } catch (error) {\n notification.error({\n message: 'Mohon Maaf!',\n description: 'Ada kesalahan saat pengambila data.',\n });\n }\n};\n","import { requestGet, requestPost } from '@configs';\nimport { getUserToken } from '@utils';\nimport { DETAIL_SCHOOL, GET_SCHOOL_ME, IS_SUCCESS, LIST_SCHOOL } from '@type';\nimport { showLoading } from '@store/actions';\nimport { AxiosInject, notificationOverride, reportSentry } from '../../../utils/Utils';\nimport { BASE_REKAP_NILAI } from '../../../constants/initHttp';\nimport { requestPut } from '../../../configs';\nimport { runError } from '../../../utils/errorHandler';\n\nexport const getSchool = (params) => async (dispatch) => {\n const api = await requestGet('me/schools', params, getUserToken())\n .then((response) => {\n dispatch({ type: GET_SCHOOL_ME, value: response.data });\n return response.data;\n })\n .catch((error) => {\n reportSentry(error);\n });\n return api;\n};\nexport const getSchoolById = (id) => async (dispatch) => {\n const api = await requestGet(`schools/${id ?? 0}`, null, getUserToken())\n .then((response) => {\n dispatch({ type: DETAIL_SCHOOL, value: response.data });\n return response.data;\n })\n .catch((error) => {\n reportSentry(error);\n });\n return api;\n};\n\nexport const getSchoolRekap = () => async (dispatch) => {\n const httpInject = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return await httpInject\n .get('/v1/api/school/id')\n .then((r) => {\n if (r.data.code === 200) {\n dispatch({\n type: DETAIL_SCHOOL,\n value: r.data.data,\n });\n } else {\n reportSentry(\n new Error('method getSchoolRekap', {\n cause: r.data,\n })\n );\n }\n })\n .catch((e) => {\n reportSentry(e);\n });\n};\n\nexport const createSchools = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestPost('schools', data, getUserToken())\n .then((response) => {\n if (response.status_code === 200) {\n dispatch({\n type: IS_SUCCESS,\n value: true,\n message: 'Create School Success',\n });\n dispatch(showLoading(false));\n return response.data;\n // dispatch({ type: CREATE_School, value: response.data });\n }\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: 'Create School Failed',\n });\n\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notificationOverride({\n title: 'Permintaan Ditolak',\n description: error.response.data.message,\n type: 'error',\n });\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: 'Create School Failed',\n });\n reportSentry(error);\n });\n return api;\n};\n\nexport const updateSchools = (id, data) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestPut(`schools/id/${id ?? 0}`, null, data, getUserToken())\n .then((response) => {\n if (response.status_code === 200) {\n dispatch({\n type: IS_SUCCESS,\n value: true,\n message: 'Create School Success',\n });\n dispatch(getSchoolById(id));\n dispatch(showLoading(false));\n return response.data;\n // dispatch({ type: CREATE_School, value: response.data });\n }\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: 'Create School Failed',\n });\n\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n runError(error.response.message, error);\n });\n return api;\n};\n\nexport const joinSchools = (invitation_code) => async (dispatch) => {\n const api = await requestPost('join-schools', { invitation_code }, getUserToken())\n .then((response) => {\n if (response.status_code === 201) {\n dispatch({\n type: IS_SUCCESS,\n value: true,\n message: 'Success Join School',\n });\n } else {\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: 'Join School Failed',\n });\n }\n })\n .catch((error) => {\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: 'Join School Failed',\n });\n reportSentry(error);\n });\n return api;\n};\n\nexport const joinSchoolsForm = (id) => async (dispatch) => {\n const api = await requestPost('join-schools-form', { school_id: id }, getUserToken())\n .then((response) => {\n if (response.data.status_code === 201) {\n dispatch({\n type: IS_SUCCESS,\n value: true,\n message: 'Create School Success',\n });\n } else {\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: 'Create School Failed',\n });\n }\n })\n .catch((error) => {\n dispatch({\n type: IS_SUCCESS,\n value: false,\n message: 'Create School Failed',\n });\n reportSentry(error);\n });\n return api;\n};\nexport const searchSchool = (provinsi, kota, grade) => async (dispatch) => {\n const api = await requestGet(\n `schools?limit=100&provinsi_id=${provinsi}&kota_id=${kota}&grade=${grade}`,\n false,\n getUserToken()\n )\n .then((response) => {\n dispatch({ type: LIST_SCHOOL, value: response.data });\n })\n .catch((error) => {\n reportSentry(error);\n });\n return api;\n};\n","import { KOTA, PROVINSI } from '@type';\nimport { getUserToken } from '@utils';\nimport { BASE_LOGIN } from '@src/constants/initHttp';\nimport axios from 'axios';\nimport { reportSentry } from '../../../utils/Utils';\nimport { KECAMATAN } from '../../../constants/initType';\nimport { BASE_API_URL } from '../../../constants/initHttp';\n\nexport const getProvince = () => async (dispatch) => {\n // const api = await requestGet(`wilayah/provinsi`, false, getUserToken())\n // .then((response) => {\n // dispatch({ type: PROVINSI, value: response.data });\n // })\n // .catch((error) => {\n // reportSentry(error)\n // });\n const api = await axios\n .get(`${BASE_LOGIN}/v1/api/province/select`, {\n params: {\n country_id: 1,\n search: 'indo',\n status: true,\n },\n headers: {\n Authorization: `Bearer ${getUserToken()}`,\n },\n })\n .then((response) => {\n dispatch({ type: PROVINSI, value: response.data.data });\n })\n .catch((error) => {\n reportSentry(error);\n });\n return api;\n};\n\nexport const postSignature = (payload) => async () =>\n await axios({\n url: `${BASE_API_URL}v2/me/signature`,\n method: 'POST',\n data: payload,\n headers: {\n Authorization: getUserToken(),\n },\n }).then((response) => response.data);\n\nexport const getCity = (id) => async (dispatch) => {\n // const api = await requestGet(\n // `wilayah/kabupaten?provinsi_id=${id}`,\n // false,\n // getUserToken(),\n // )\n // .then((response) => {\n // dispatch({ type: KOTA, value: response.data });\n // })\n // .catch((error) => {\n // reportSentry(error)\n // });\n const api = await axios\n .get(`${BASE_LOGIN}/v1/api/city/select`, {\n params: {\n province_id: id,\n search: '',\n status: true,\n },\n headers: {\n Authorization: `Bearer ${getUserToken()}`,\n },\n })\n .then((response) => {\n dispatch({ type: KOTA, value: response.data.data });\n return response.data.data;\n })\n .catch((error) => {\n reportSentry(error);\n });\n return api;\n};\nexport const getDistrict = (id) => async (dispatch) => {\n // const api = await requestGet(\n // `wilayah/kabupaten?provinsi_id=${id}`,\n // false,\n // getUserToken(),\n // )\n // .then((response) => {\n // dispatch({ type: KOTA, value: response.data });\n // })\n // .catch((error) => {\n // reportSentry(error)\n // });\n const api = await axios\n .get(`${BASE_LOGIN}/v1/api/district/select`, {\n params: {\n city_id: id,\n search: '',\n status: true,\n },\n headers: {\n Authorization: `Bearer ${getUserToken()}`,\n },\n })\n .then((response) => {\n dispatch({ type: KECAMATAN, value: response.data.data });\n return response.data.data;\n })\n .catch((error) => {\n reportSentry(error);\n });\n return api;\n};\n\nexport const getDistrictById = (id) =>\n axios\n .get(`${BASE_LOGIN}/v1/api/district/id/${id}`, {\n headers: {\n Authorization: `Bearer ${getUserToken()}`,\n },\n })\n .then((response) => response.data.data);\n// getProvinceById\nexport const getCityById = (id) =>\n axios\n .get(`${BASE_LOGIN}/v1/api/city/id/${id}`, {\n headers: {\n Authorization: `Bearer ${getUserToken()}`,\n },\n })\n .then((response) => response.data.data);\n","import { showLoading } from '@store/actions';\nimport { getUserToken } from '@utils';\nimport { BASE_LOGIN } from '@src/constants/initHttp';\nimport { ADD_FILE_GDRIVE, READ_FILE_GDRIVE } from '@type';\nimport axios from 'axios';\nimport { reportSentry } from '../../../utils/Utils';\n\nexport const readFileGDrive = (data) => (dispatch) => {\n dispatch(showLoading(true));\n return axios\n .get(`${BASE_LOGIN}/v1/api/schoolGoogleDrive/${data.id}`, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((res) => {\n dispatch({ type: READ_FILE_GDRIVE, payload: res.data });\n dispatch(showLoading(false));\n return res.data.data;\n })\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n};\nexport const nativeReadFileGDrive = (data) =>\n axios\n .get(`${BASE_LOGIN}/v1/api/schoolGoogleDrive/${data.id}`, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((res) => res.data.data)\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n reportSentry(error);\n });\n\nexport const setPermissionFileGDrive = (data) => (dispatch) => {\n dispatch(showLoading(true));\n return axios\n .put(\n `${BASE_LOGIN}/v1/api/schoolGoogleDrive/permission/id/${data.id}`,\n [\n {\n type: 'anyone',\n role: 'reader',\n send_notification: false,\n },\n ],\n {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n }\n )\n .then(async () => {\n dispatch(showLoading(false));\n return await dispatch(readFileGDrive(data));\n })\n .catch((error) => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n};\nexport const nativeSetPermissionFileGDrive = (data) =>\n Promise.all([\n axios.put(\n `${BASE_LOGIN}/v1/api/schoolGoogleDrive/permission/id/${data.id}`,\n [\n {\n type: 'anyone',\n role: 'reader',\n send_notification: false,\n },\n ],\n {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n }\n ),\n nativeReadFileGDrive(data),\n ]);\n\nexport const uploadGDrive = (data, withError = true, withCompress = false) => {\n const api = (dispatch) => {\n dispatch(showLoading(true));\n return axios\n .post(`${BASE_LOGIN}/v1/api/schoolGoogleDrive/file/user?isCompress=${withCompress ? 'true' : 'false'}`, data, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((res) => {\n dispatch({ type: ADD_FILE_GDRIVE, payload: res.data });\n dispatch(showLoading(false));\n return dispatch(setPermissionFileGDrive(res.data.data));\n })\n .catch((error) => {\n if (withError) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n reportSentry(error);\n throw error;\n });\n };\n return api;\n};\n\nexport const nativeUploadGDrive = (data) =>\n axios\n .post(`${BASE_LOGIN}/v1/api/schoolGoogleDrive/file/user?isCompress=true`, data, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((res) => res.data)\n .catch((error) => {\n throw error;\n });\n\nexport const uploadGDriveDirect = (file) => async (dispatch) => {\n const acc = localStorage.getItem('acc');\n dispatch(showLoading(true));\n const api = await axios({\n url: 'https://www.googleapis.com/upload/drive/v3/files',\n params: { uploadType: 'multipart', fields: '*', access_token: acc },\n headers: { 'content-type': 'multipart/form-data' },\n data: file,\n method: 'post',\n })\n .then((response) => {\n dispatch(showLoading(false));\n if (response.status === 200) {\n return response;\n }\n })\n .catch((error) => {\n dispatch(showLoading(false));\n reportSentry(error);\n });\n\n return api;\n};\n","import { requestDelete, requestGet, requestPost, requestPut } from '@configs/evaluasi';\nimport { showLoading } from '@store/actions';\nimport { getUserToken } from '@utils';\nimport { CREATE_JP, CREATE_TEMA, DELETE_TEMA, LIST_TEMA, UPDATE_TEMA } from '@type';\n\nexport const getListTema = (sort, direction) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet(\n 'theme',\n {\n sort,\n direction,\n },\n getUserToken()\n );\n\n dispatch({ type: LIST_TEMA, value: rest.payload.list });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const createTema = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPost('theme', data, getUserToken());\n dispatch({ type: CREATE_TEMA, value: rest.payload.id });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const createJP = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n await requestPost('jp', data, getUserToken());\n dispatch({ type: CREATE_JP, value: true });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const deleteTema = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n await requestDelete(`theme/${id}`, null, getUserToken());\n dispatch({ type: DELETE_TEMA, value: true });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const updateTema = (id, data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n await requestPut(`theme/${id}`, null, data, getUserToken());\n\n dispatch({ type: UPDATE_TEMA, value: true });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const clearCreateTema = () => ({\n type: CREATE_TEMA,\n value: false,\n});\n\nexport const clearCreateJP = () => ({\n type: CREATE_JP,\n value: false,\n});\n\nexport const clearUpdateTema = () => ({\n type: UPDATE_TEMA,\n value: false,\n});\n\nexport const clearDeleteTema = () => ({\n type: DELETE_TEMA,\n value: false,\n});\n","import { requestPost, requestPut } from '@configs/evaluasi';\nimport { showLoading } from '@store/actions';\nimport { getUserToken } from '@utils';\nimport { KARAKTER_UTAMA_CREATE, KARAKTER_UTAMA_DELETE, KARAKTER_UTAMA_UPDATE } from '@type';\n\nexport const createKarakterUtama = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPost('theme', data, getUserToken());\n dispatch({ type: KARAKTER_UTAMA_CREATE, value: rest.data.id });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const updateKarakterUtama = (id, data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n await requestPut(`theme/${id}`, null, data, getUserToken());\n dispatch({ type: KARAKTER_UTAMA_UPDATE, value: true });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const deleteKarakterUtama = (id, data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n await requestPut(`theme/${id}`, null, data, getUserToken());\n dispatch({ type: KARAKTER_UTAMA_DELETE, value: true });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const clearCreateKarakterUtama = () => ({\n type: KARAKTER_UTAMA_CREATE,\n value: false,\n});\n\nexport const clearDeleteKarakterUtama = () => ({\n type: KARAKTER_UTAMA_DELETE,\n value: false,\n});\n\nexport const clearUpdateKarakterUtama = () => ({\n type: KARAKTER_UTAMA_UPDATE,\n value: false,\n});\n","import { requestDelete, requestGet, requestPost, requestPut } from '@configs/evaluasi';\nimport { showLoading } from '@store/actions';\nimport { getUserToken } from '@utils';\nimport {\n CREATE_DETAIL_KD,\n CREATE_KARAKTER_DASAR,\n CREATE_RINCIAN_KD,\n DELETE_DETAIL_KD,\n DELETE_KARAKTER_DASAR,\n DELETE_RINCIAN_KD,\n FIND_KARAKTER_DASAR,\n LIST_DETAIL_KD,\n LIST_KARAKTER_DASAR,\n UPDATE_DETAIL_KD,\n UPDATE_KARAKTER_DASAR,\n UPDATE_RINCIAN_KD,\n} from '@type';\n\nexport const getListKarakterDasar = () => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet('foundamentalCharacter', { sort: 'id', direction: 'desc' }, getUserToken());\n dispatch({ type: LIST_KARAKTER_DASAR, value: rest.payload.list });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const getListDetailKD = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet(`kd/detail/${id}`, null, getUserToken());\n dispatch({ type: LIST_DETAIL_KD, value: rest.data });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const createKarakterDasar = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPost('foundamentalCharacter', data, getUserToken());\n\n dispatch({\n type: CREATE_KARAKTER_DASAR,\n value: rest.statusCode === 200,\n });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const updateKarakterDasar = (id, data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPut(`foundamentalCharacter/${id}`, null, data, getUserToken());\n\n dispatch({\n type: UPDATE_KARAKTER_DASAR,\n value: rest.statusCode === 200,\n });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const deleteKarakterDasar = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestDelete(`foundamentalCharacter/${id}`, null, getUserToken());\n\n dispatch({\n type: DELETE_KARAKTER_DASAR,\n value: rest.statusCode === 200,\n });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const findKarakterDasar = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet(`foundamentalCharacter/${id}`, null, getUserToken());\n\n dispatch({ type: FIND_KARAKTER_DASAR, value: rest.payload });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const createDetailKD = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPost('foundamentalAssessment', data, getUserToken());\n\n dispatch({\n type: CREATE_DETAIL_KD,\n value: rest.statusCode === 200,\n });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const updateDetailKD = (id, data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPut(`foundamentalAssessment/${id}`, null, data, getUserToken());\n\n dispatch({ type: UPDATE_DETAIL_KD, value: rest.data.id });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const deleteDetailKD = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n await requestDelete(`foundamentalAssessment/${id}`, null, getUserToken());\n dispatch({ type: DELETE_DETAIL_KD, value: true });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n};\n\nexport const createRincianKD = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPost('foundamentalAssessment', data, getUserToken());\n dispatch({\n type: CREATE_RINCIAN_KD,\n value: rest.statusCode === 200,\n });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const updateRincianKD = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPut(`foundamentalAssessment/${id}`, null, getUserToken());\n\n dispatch({\n type: UPDATE_RINCIAN_KD,\n value: rest.statusCode === 200,\n });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const deleteRincianKD = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n await requestDelete(`rfoundamentalAssessment/${id}`, null, getUserToken());\n dispatch({ type: DELETE_RINCIAN_KD, value: true });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const clearCreateKarakterDasar = () => ({\n type: CREATE_KARAKTER_DASAR,\n value: false,\n});\n\nexport const clearUpdateKarakterDasar = () => ({\n type: UPDATE_KARAKTER_DASAR,\n value: false,\n});\n\nexport const clearDeleteKarakterDasar = () => ({\n type: DELETE_KARAKTER_DASAR,\n value: false,\n});\n\nexport const clearCreateDetailKD = () => ({\n type: CREATE_DETAIL_KD,\n value: false,\n});\n\nexport const clearUpdateDetailKD = () => ({\n type: UPDATE_DETAIL_KD,\n value: false,\n});\n\nexport const clearDeleteDetailKD = () => ({\n type: DELETE_DETAIL_KD,\n value: false,\n});\n\nexport const clearCreateRincianKD = () => ({\n type: CREATE_RINCIAN_KD,\n value: false,\n});\n\nexport const clearUpdateRincianKD = () => ({\n type: UPDATE_RINCIAN_KD,\n value: false,\n});\n\nexport const clearDeleteRincianKD = () => ({\n type: DELETE_RINCIAN_KD,\n value: false,\n});\n","import { requestGet, requestPost, requestPut } from '@configs/evaluasi';\nimport { showLoading } from '@store/actions';\nimport { getUserToken } from '@utils';\nimport { CREATE_DRAFT_SKL, DATA_DRAFT_SKL, UPDATE_DRAFT_SKL } from '@type';\n\nexport const getListDraftSKL = (schoolId) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet(\n 'draftskl',\n {\n school_id: schoolId,\n },\n getUserToken()\n );\n dispatch({ type: DATA_DRAFT_SKL, value: rest.payload.list });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const createDraftSKL = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPost('draftskl', data, getUserToken());\n dispatch({\n type: CREATE_DRAFT_SKL,\n value: rest.statusCode === 200,\n });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const updateDraftSKL = (id, data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPut(`draftskl/${id}`, null, data, getUserToken());\n dispatch({\n type: UPDATE_DRAFT_SKL,\n value: rest.statusCode === 200,\n });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const clearCreateDraftSKL = () => ({\n type: CREATE_DRAFT_SKL,\n value: false,\n});\n\nexport const clearUpdateDraftSKL = () => ({\n type: UPDATE_DRAFT_SKL,\n value: false,\n});\n","import { requestDelete, requestGet, requestPost, requestPut } from '@configs/evaluasi';\nimport { showLoading } from '@store/actions';\nimport { getUserToken } from '@utils';\nimport {\n CREATE_KATEGORI_PENILAIAN,\n DELETE_KATEGORI_PENILAIAN,\n LIST_KATEGORI_PENILAIAN,\n UPDATE_KATEGORI_PENILAIAN,\n} from '@type';\n\nexport const getListKategoriPenilaian = () => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet('assessmentcategories', null, getUserToken());\n dispatch({\n type: LIST_KATEGORI_PENILAIAN,\n value: rest.payload.list,\n });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const createKategoriPenilaian = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPost('assessmentcategories', data, getUserToken());\n dispatch({\n type: CREATE_KATEGORI_PENILAIAN,\n value: rest.statusCode === 200,\n });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const updateKategoriPenilaian = (id, data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPut(`assessmentcategories/${id}`, null, data, getUserToken());\n dispatch({\n type: UPDATE_KATEGORI_PENILAIAN,\n value: rest.statusCode === 200,\n });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const deleteKategoriPenilaian = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n await requestDelete(`assessmentcategories/${id}`, null, getUserToken());\n\n dispatch({ type: DELETE_KATEGORI_PENILAIAN, value: true });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const clearCreateKategoriPenilaian = () => ({\n type: CREATE_KATEGORI_PENILAIAN,\n value: false,\n});\n\nexport const clearUpdateKategoriPenilaian = () => ({\n type: UPDATE_KATEGORI_PENILAIAN,\n value: false,\n});\n\nexport const clearDeleteKategoriPenilaian = () => ({\n type: DELETE_KATEGORI_PENILAIAN,\n value: false,\n});\n","import { requestDelete, requestGet, requestPost, requestPut } from '@configs/evaluasi';\nimport { showLoading } from '@store/actions';\nimport { getUserToken } from '@utils';\nimport {\n CLASS_EVALUASI,\n CREATE_EVALUASI_KARAKTER,\n CREATE_EVALUASI_KARAKTER_DESC,\n CREATE_EVALUASI_KARAKTER_PENILAIAN,\n DELETE_EVALUASI_KARAKTER,\n DETAIL_EVALUASI_KARAKTER,\n LIST_EVALUASI_KARAKTER,\n STUDENT_EVALUASI,\n UPDATE_EVALUASI_KARAKTER,\n} from '@type';\n\nexport const getListClassEvaluasi = (schoolId, sort, direction) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet('class', { school_id: schoolId, sort, direction }, getUserToken());\n\n dispatch({ type: CLASS_EVALUASI, value: rest.payload.list });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const getListStudentEvaluasi = (classId, sort, direction) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet('student', { class_id: classId, sort, direction }, getUserToken());\n\n dispatch({ type: STUDENT_EVALUASI, value: rest.payload.list });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const getListEvaluasiKarakter = (classId, teacherId, sort, direction) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet(\n 'characterevaluation',\n {\n class_id: classId,\n teacher_id: teacherId,\n sort,\n direction,\n },\n getUserToken()\n );\n\n dispatch({\n type: LIST_EVALUASI_KARAKTER,\n value: rest.payload.list,\n });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const createEvaluasiKarakter = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPost('characterevaluation', data, getUserToken());\n dispatch({\n type: CREATE_EVALUASI_KARAKTER,\n value: rest.statusCode === 200,\n });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const updateEvaluasiKarakter = (id, data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPut(`characterevaluation/${id}`, null, data, getUserToken());\n\n dispatch({\n type: UPDATE_EVALUASI_KARAKTER,\n value: rest.statusCode === 200,\n });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const deleteEvaluasiKarakter = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n await requestDelete(`characterevaluation/${id}`, null, getUserToken());\n dispatch({ type: DELETE_EVALUASI_KARAKTER, value: true });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const getDetailEvaluasiKarakter = (studentId, characterEvaluationId) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestGet(\n 'CharacterEvaluationStudent/detail',\n {\n student_id: studentId,\n character_evaluation_id: characterEvaluationId,\n },\n getUserToken()\n );\n\n dispatch({\n type: DETAIL_EVALUASI_KARAKTER,\n value: rest.statusCode === 200 ? rest.payload : [],\n });\n } catch (error) {\n if (error.response.status !== 400) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n }\n dispatch(showLoading(false));\n};\n\nexport const createEvaluasiKarakterPenilaian = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPost('evaluasis/nilai', data, getUserToken());\n dispatch({\n type: CREATE_EVALUASI_KARAKTER_PENILAIAN,\n value: rest.data,\n });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const createEvaluasiKarakterDesc = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const rest = await requestPost('evaluasis/catat', data, getUserToken());\n\n dispatch({ type: CREATE_EVALUASI_KARAKTER_DESC, value: rest.data });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const clearCreateEvaluasiKarakter = () => ({\n type: CREATE_EVALUASI_KARAKTER,\n value: false,\n});\n\nexport const clearUpdateEvaluasiKarakter = () => ({\n type: UPDATE_EVALUASI_KARAKTER,\n value: false,\n});\n\nexport const clearDeleteEvaluasiKarakter = () => ({\n type: DELETE_EVALUASI_KARAKTER,\n value: false,\n});\n\nexport const clearCreateEvaluasiKarakterDesc = () => ({\n type: CREATE_EVALUASI_KARAKTER_DESC,\n value: false,\n});\n\nexport const clearCreateEvaluasiKarakterPenilaian = () => ({\n type: CREATE_EVALUASI_KARAKTER_PENILAIAN,\n value: false,\n});\n","import { showLoading } from '@store/actions';\nimport axios from 'axios';\nimport { notification } from 'antd';\nimport {\n MASTER_BANK,\n MASTER_COURSE_CERTIFICATE_TYPE,\n MASTER_COURSE_DIFFICULTY_LEVEL,\n MASTER_COURSE_SCHEDULE_TYPE,\n MASTER_COURSE_TYPE,\n MASTER_LANG,\n UPLOAD_COVER,\n} from '@type';\nimport { getUserToken } from '@utils';\nimport { BASE_COURSE } from '../../../../constants/initHttp';\nimport { reportSentry } from '../../../../utils/Utils';\n\nexport const getCourseScheduleType = (page, limit) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .get(`${BASE_COURSE}/v1/api/master/course_schedule_type?page=${page}&limit=${limit}`)\n .then((response) => {\n if (response.data.code === 200) {\n dispatch({\n type: MASTER_COURSE_SCHEDULE_TYPE,\n value: response.data.data,\n });\n }\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response?.data,\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\n\nexport const getCourseDifficulty = (page, limit) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .get(`${BASE_COURSE}/v1/api/master/course_difficulty_level?page=${page}&limit=${limit}`)\n .then((response) => {\n if (response.data.code === 200) {\n dispatch({ type: MASTER_COURSE_DIFFICULTY_LEVEL, value: response.data.data });\n }\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response?.data,\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\n\nexport const getCertificateType = (page, limit) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .get(`${BASE_COURSE}/v1/api/master/course_certificate_type?page=${page}&limit=${limit}`)\n .then((response) => {\n if (response.data.code === 200) {\n dispatch({ type: MASTER_COURSE_CERTIFICATE_TYPE, value: response.data.data });\n }\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response?.data,\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\n\nexport const getLangType = (page, limit) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .get(`${BASE_COURSE}/v1/api/master/course_lang?page=${page}&limit=${limit}`)\n .then((response) => {\n if (response.data.code === 200) {\n dispatch({ type: MASTER_LANG, value: response.data.data });\n }\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response?.data,\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\n\nexport const getBankList = (page, limit) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .get(`${BASE_COURSE}/v1/api/master/course_bank?page=${page}&limit=${limit}`)\n .then((response) => {\n if (response.data.code === 200) {\n dispatch({ type: MASTER_BANK, value: response.data.data });\n }\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response?.data,\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\n\nexport const getCourseType = (page, limit) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .get(`${BASE_COURSE}/v1/api/master/course_type?page=${page}&limit=${limit}`)\n .then((response) => {\n if (response.data.code === 200) {\n dispatch({ type: MASTER_COURSE_TYPE, value: response.data.data });\n }\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response?.data,\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\n\nexport const uploadCover = (file) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .post(`${BASE_COURSE}/v1/course/file/upload`, file, { headers: { Authorization: `Bearer ${getUserToken()}` } })\n .then((response) => {\n if (response.data.code === 200) {\n dispatch({ type: UPLOAD_COVER, value: response.data.data });\n } else {\n dispatch({ type: UPLOAD_COVER, value: null });\n }\n dispatch(showLoading(false));\n return response.data;\n })\n .catch((error) => {\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response?.data,\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\n","import { GET_ALL_COURSES, GET_COURSES_BY_ME } from '@type';\nimport axios from 'axios';\nimport { showLoading } from '@store/actions';\nimport { notification } from 'antd';\nimport { getUserToken } from '@utils';\nimport { BASE_COURSE } from '../../../../constants/initHttp';\nimport { reportSentry } from '../../../../utils/Utils';\n\nexport const getListCoursesByMe = (page, limit, status, rate, query) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .get(\n `${BASE_COURSE}/v1/api/course/me?page=${page}&limit=${limit}&status=${status === undefined ? '' : status}&rate=${\n rate === undefined ? '' : rate\n }&q=${query}`,\n {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n }\n )\n .then((response) => {\n // if (response.data.code === 200) {\n dispatch({\n type: GET_COURSES_BY_ME,\n value: response.data.data,\n });\n // }\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response.data.data,\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\nexport const getListAllCourses = (page, limit, status, rate) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .get(\n `${BASE_COURSE}/v1/api/course?page=${page}&limit=${limit}${status !== undefined ? `&status=${status}` : ''}${\n rate !== undefined ? `&rate=${rate}` : ''\n }`\n )\n .then((response) => {\n // if (response.data.code === 200) {\n dispatch({ type: GET_ALL_COURSES, value: response.data.data });\n // }\n dispatch(showLoading(false));\n })\n .catch((error) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response?.data.data,\n });\n dispatch(showLoading(false));\n reportSentry(error);\n });\n return api;\n};\n\nexport const postCourses = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .post(`${BASE_COURSE}/v1/api/course`, data, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((res) => {\n if (res.data.code === 200) {\n localStorage.setItem('course_id', res.data.id);\n notification.success({\n message: 'Sukses!',\n description: 'Kursus berhasil dibuat',\n });\n }\n return res.data;\n })\n .catch((err) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Oops!',\n description: err.response?.data.data,\n });\n throw err;\n });\n return api;\n};\n\nexport const postClass = (data, courseId, classNumber) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .post(`${BASE_COURSE}/v1/api/course/${courseId}/class/${classNumber}`, data, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((res) => {\n if (res.data.code === 200) {\n // localStorage.setItem('course_id',res.data.id)\n notification.success({\n message: 'Sukses!',\n description: 'Kursus berhasil dibuat',\n });\n }\n return res.data;\n })\n .catch((err) => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Oops!',\n description: err.response?.data.data,\n });\n throw err;\n });\n return api;\n};\n","import { getUserToken } from '@utils';\nimport { requestGetIdentity, requestPutIdentity } from '../../../configs';\n\nexport const get_user_all = async (role = 'teacher', is_admin) =>\n await requestGetIdentity(\n 'user',\n {\n role_code: role,\n is_admin,\n },\n getUserToken()\n );\nexport const get_user_all_paginate = async (params) =>\n await requestGetIdentity('user/paginate', params, getUserToken());\nexport const set_useradmin = async (user_id, admin = true) => {\n const r = await requestPutIdentity(\n `schoolReference/setAdmin/id/${user_id}`,\n null,\n {\n is_admin: admin,\n },\n getUserToken()\n );\n return r;\n};\n","import { showLoading } from '@store/actions';\nimport { notification } from 'antd';\nimport httpService from '../../../configs/service';\n// import { BASE_STUDY } from \"../../../constants/initHttp\";\n\nconst BASE_STUDY = 'https://dev-api.siswamedia.com/v1-study-material/v1/api/';\n\nexport const getMaterial = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get('material', { params, baseURL: BASE_STUDY })\n .then((response) => response.data.data)\n .catch(() => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const getMaterialById = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get('material', { baseURL: BASE_STUDY, slashId: id })\n .then((response) => response.data.data)\n .catch(() => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const getFilter = (id, params) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get('master', { params, baseURL: BASE_STUDY, slashId: id })\n .then((response) => response.data.data)\n .catch(() => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const createFileMateri = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .post('material', data, { baseURL: BASE_STUDY })\n .then((response) => response)\n .catch(() => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const updateFileMateri = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .post('material', data, { baseURL: BASE_STUDY })\n .then((response) => response)\n .catch(() => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const uploadFileMateri = (file) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .post('file/upload', file, { baseURL: BASE_STUDY })\n .then((response) => response.data.data)\n .catch(() => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const deleteMaterialById = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .delete('material', { baseURL: BASE_STUDY, slashId: id })\n .then((response) => response.data.data)\n .catch(() => {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const getCommentMaterial = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .get('rate', { baseURL: BASE_STUDY, params })\n .then((response) => response.data)\n .catch(() => {\n notification.error({\n message: 'Opps!',\n description: 'Ada kesalahan melakukan permintaan ke server',\n });\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const postCommentMaterial = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .post('rate', data, { baseURL: BASE_STUDY })\n .then((response) => response.data)\n .catch(() => {\n notification.error({\n message: 'Opps!',\n description: 'Ada kesalahan melakukan permintaan ke server',\n });\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const updateCommentMaterial = (data, id) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .put('rate', data, { baseURL: BASE_STUDY, slashId: id })\n .then((response) => response.data)\n .catch(() => {\n notification.error({\n message: 'Opps!',\n description: 'Ada kesalahan melakukan permintaan ke server',\n });\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const deleteCommentMaterial = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n return httpService\n .delete('rate', { baseURL: BASE_STUDY, slashId: id })\n .then((response) => response.data)\n .catch(() => {\n notification.error({\n message: 'Opps!',\n description: 'Ada kesalahan melakukan permintaan ke server',\n });\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n","import { notification } from 'antd';\nimport { showLoading } from '../../../General';\nimport { AxiosInject, getUserToken } from '../../../../../utils/Utils';\nimport { BASE_REKAP_NILAI } from '../../../../../constants/initHttp';\n\nexport const userReportData = (params) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .get('v1/api/userReportData', {\n params,\n })\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n return r.data;\n });\n };\n};\nexport const userReportDataAll = (params) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .get('v1/api/userReportData/all', {\n params,\n })\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n return r.data;\n });\n };\n};\nexport const userReportDataDetail = (user_id) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .get(`v1/api/userReportData/userID/${user_id}`)\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n return r.data;\n });\n };\n};\nexport const userReportDataBasic = (user_id, body) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .put(`v1/api/userReportData/basic/userID/${user_id}`, body)\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n return r.data;\n });\n };\n};\nexport const userReportDataFamily = (user_id, body) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .put(`v1/api/userReportData/family/userID/${user_id}`, body)\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n return r.data;\n });\n };\n};\nexport const userReportDataSchool = (user_id, body) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .put(`v1/api/userReportData/lastSchool/userID/${user_id}`, body)\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n return r.data;\n });\n };\n};\nexport const getMySchool = () => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .get('/v1/api/school/id')\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n return r.data;\n });\n };\n};\nexport const getTemplateUserData = (params) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .get('/v1/api/userReportDataExcel/template', {\n responseType: 'blob',\n params,\n })\n .then((r) => {\n dispatch(showLoading(false));\n const url = window.URL.createObjectURL(new Blob([r.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', 'Tes.xlsx');\n document.body.appendChild(link);\n link.click();\n // return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n return r.data;\n });\n };\n};\n\nexport const importTemplateData = (data) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n\n return async (dispatch) =>\n // dispatch(showLoading(true));\n await httpInjector\n .post('/v1/api/userReportDataExcel/import', data)\n .then((r) => {\n if (r.data.code === 200) {\n notification.success({\n message: 'Sukses',\n description: 'Berhasil merubah data!',\n });\n }\n })\n .catch((r) => {\n dispatch(showLoading(false));\n return r.data;\n });\n};\n\nexport const occupationGet = (search = null) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .get('v1/api/occupation/select', {\n params: {\n search,\n },\n })\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n return r.data;\n });\n };\n};\n\nexport const schoolYearGet = (search = null) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .get('v1/api/schoolYear/select', {\n params: {\n search,\n },\n })\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n return r.data;\n });\n };\n};\n","import { notification } from 'antd';\nimport { AxiosInject, getUserToken, reportSentry } from '../../../../../utils/Utils';\nimport { BASE_REKAP_NILAI } from '../../../../../constants/initHttp';\nimport { showLoading } from '../../../General';\n\nexport const reportTemplateData = (params) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .get('v1/api/reportTemplate', {\n params,\n })\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch(() => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf',\n description: 'Silahkan Hubungi Kami',\n });\n });\n };\n};\nexport const reportTemplateDataPost = (body) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .post('v1/api/reportTemplate', body)\n .then((r) => {\n dispatch(showLoading(false));\n if (r.status === 200) {\n return true;\n }\n })\n .catch(() => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf',\n description: 'Silahkan Hubungi Kami',\n });\n });\n };\n};\nexport const reportTemplateDataPut = (id, body) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .put(`v1/api/reportTemplate/id/${id}`, body)\n .then((r) => {\n dispatch(showLoading(false));\n if (r.status === 200) {\n return true;\n }\n })\n .catch(() => {\n dispatch(showLoading(false));\n notification.error({\n message: 'Mohon Maaf',\n description: 'Silahkan Hubungi Kami',\n });\n });\n };\n};\nexport const reportTemplateDataDelete = (id) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .delete(`v1/api/reportTemplate/id/${id}`)\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n throw new Error(r);\n });\n };\n};\n\nexport const reportTemplateDataById = (id) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .get(`v1/api/reportTemplate/id/${id}`)\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n throw new Error(r);\n });\n };\n};\n\nexport const reportCoverData = (search = '') => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .get('/v1/api/reportData/select', {\n params: {\n search,\n },\n })\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n throw new Error(r);\n });\n };\n};\n\nexport const uploadFileRekapNilai = (fd) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .post('/v1/api/file', fd, {\n headers: {\n 'Content-Type': 'multipart/form-data',\n },\n responseType: 'json',\n })\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n reportSentry(r);\n });\n };\n};\n\nexport const getNewSchoolYear = (search = '', status = true, is_future = false) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .get('/v1/api/schoolYear/select', {\n params: {\n search,\n status,\n is_future,\n },\n })\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n throw new Error(r);\n });\n };\n};\n","import { showLoading } from '../../..';\nimport { BASE_REKAP_NILAI } from '../../../../../constants/initHttp';\nimport { AxiosInject, getUserToken } from '../../../../../utils/Utils';\n\nexport const addBulkScoreQualitative = (data) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .post('v1/api/reportQualitativeScore/bulk', data)\n .then((r) => {\n dispatch(showLoading(false));\n if (r.status === 200) {\n return true;\n }\n // return r.data\n })\n .catch(() => {\n dispatch(showLoading(false));\n // return r.data\n });\n };\n};\n\nexport const getAllReportQualitative = (params) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .get('v1/api/reportQualitativeScore', {\n params,\n })\n .then((r) => {\n dispatch(showLoading(false));\n // console.log(r);\n return r.data;\n })\n .catch(() => {\n dispatch(showLoading(false));\n // return r.data\n });\n };\n};\nexport const getSelectAllReportQualitativeScores = (params) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .get('v1/api/reportQualitativeScoreDetail/select', {\n params,\n })\n .then((r) => {\n dispatch(showLoading(false));\n // console.log(r);\n return r.data;\n })\n .catch(() => {\n dispatch(showLoading(false));\n // return r.data\n });\n };\n};\n\nexport const getReportQualitativeScoresByID = (id) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .get(`v1/api/reportQualitativeScoreDetail/id/${id}`)\n .then((r) => {\n dispatch(showLoading(false));\n // console.log(r);\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n return r.response?.data;\n });\n };\n};\nexport const deleteReportQualitativeScoresByID = (id) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .delete(`v1/api/reportQualitativeScore/id/${id}`)\n .then((r) => {\n dispatch(showLoading(false));\n // console.log(r);\n if (r.status === 200) {\n return true;\n }\n })\n .catch(() => {\n dispatch(showLoading(false));\n });\n };\n};\n\nexport const getReportQualitativeById = (id) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .get(`v1/api/reportQualitativeScore/id/${id}`)\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch(() => {\n dispatch(showLoading(false));\n // return r.data\n });\n };\n};\nexport const createReportQualitativeScoreDetail = (data) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .post('v1/api/reportQualitativeScoreDetail', data)\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n return r.response?.data;\n });\n };\n};\nexport const deleteReportQualitativeScoreDetail = (id) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .delete(`v1/api/reportQualitativeScoreDetail/id/${id}`)\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n return r.response?.data;\n });\n };\n};\n\nexport const updateReportQualitativeScoreDetail = (data, id) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .put(`v1/api/reportQualitativeScoreDetail/id/${id}`, data)\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n return r.response?.data;\n });\n };\n};\n\nexport const getReportQualitativeScoreDetailSelectAll = (params) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async () =>\n await httpInjector\n .get('v1/api/reportQualitativeScoreDetail/select', { params })\n .then(\n (r) =>\n // dispatch(showLoading(false));\n r.data\n )\n .catch(\n (r) =>\n // dispatch(showLoading(false));\n r.response?.data\n );\n};\n\nexport const createReportQualitativeValue = (data) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) =>\n // dispatch(showLoading(true));\n await httpInjector\n .post('v1/api/reportQualitativeSectionValue', data)\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n return r.response?.data;\n });\n};\nexport const updateReportQualitativeValue = (data, id) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .put(`v1/api/reportQualitativeSectionValue/id/${id}`, data)\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n return r.response?.data;\n });\n };\n};\nexport const getReportQualitativeValueSelectAll = (params) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .get('v1/api/reportQualitativeSectionValue/select', { params })\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n return r.response?.data;\n });\n };\n};\n\nexport const createReportQualitativeOtherNote = (data) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .post('v1/api/reportQualitativeScoreNote', data)\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n return r.response?.data;\n });\n };\n};\n\nexport const updateReportQualitativeOtherNote = (data, id) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .put(`v1/api/reportQualitativeScoreNote/id/${id}`, data)\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n return r.response?.data;\n });\n };\n};\n\nexport const getReportQualitativeOtherNoteSelectAll = (params) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .get('v1/api/reportQualitativeScoreNote/select', { params })\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n return r.response?.data;\n });\n };\n};\n\nexport const createReportQualitativeScoreSummary = (data) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .post('v1/api/reportQualitativeScoreSummary', data)\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n return r.response?.data;\n });\n };\n};\n\nexport const getReportQualitativeScoreSummarySelectAll = (params) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .get('v1/api/reportQualitativeScoreSummary/select', { params })\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n return r.response?.data;\n });\n };\n};\nexport const updateReportQualitativeScoreSummary = (data, id) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n return async (dispatch) => {\n dispatch(showLoading(true));\n return await httpInjector\n .put(`v1/api/reportQualitativeScoreSummary/id/${id}`, data)\n .then((r) => {\n dispatch(showLoading(false));\n return r.data;\n })\n .catch((r) => {\n dispatch(showLoading(false));\n return r.response?.data;\n });\n };\n};\n","/*eslint-disable */\nimport { notification } from 'antd';\nimport { requestGet } from '@configs';\nimport { showLoading } from '@store/actions';\nimport { getGoogleToken, getUserToken } from '@utils';\nimport {\n CHANGE_SCHOOL,\n CREATE_CLASS,\n CREATE_MAPEL,\n CREATE_SYNC_CLASS,\n DELETE_CLASS,\n DELETE_MAPEL,\n DELETE_STUDENT,\n DETAIL_SCHOOL,\n GET_CLASS_ME,\n GET_CLASSES,\n GET_COURSE_BY_SCHOOL,\n GET_CURRENT_CLASS,\n GET_MAPEL_BY_CLASS,\n GET_ONE_CLASS,\n GET_ONE_SCHOOL,\n GET_ROLE,\n GET_STUDENT_BY_CLASS,\n GET_SYNC_CLASS,\n GET_SYNC_STUDENT,\n GET_SYNC_TEACHER,\n GET_TEACHER_BY_CLASS,\n SAVE_STATE_FOR_CHANGE_ROLE,\n SET_CURRENT_CLASS,\n SET_WALIKELAS,\n SET_WALIKELAS_DATA,\n STATUS_ROLE,\n UPDATE_CLASS,\n UPDATE_MAPEL,\n} from '@type';\nimport { requestAnyGet, requestDelete, requestPost, requestPut } from '@configs/engine';\nimport axios from 'axios';\nimport { BASE_API_URL, BASE_LOGIN } from '../../../constants/initHttp';\nimport { AxiosInject, reportSentry } from '../../../utils/Utils';\nimport { runError } from '../../../utils/errorHandler';\n\nexport const getClasses = (params = null) => async (dispatch) => {\n const api = await requestGet(`me/classes`, params, getUserToken())\n .then((response) => {\n dispatch({ type: GET_CLASSES, value: response.data });\n })\n .catch((error) => {\n reportSentry(error);\n });\n return api;\n};\n\nexport const getChildData = () => async (dispatch) => {\n dispatch(showLoading(true));\n const http = AxiosInject(BASE_LOGIN, 'Bearer', getUserToken());\n return http\n .get(`v1/api/user/children`)\n .then((response) => {\n dispatch(showLoading(false));\n return response.data;\n })\n .catch((error) => {\n dispatch(showLoading(false));\n reportSentry(error);\n });\n};\nexport const getClassOnlyMe = (school_id, class_level) => {\n const http = AxiosInject(BASE_API_URL, '', getUserToken());\n return http\n .get(`v2/schools/${school_id ?? 0}/classes?onlyme=true&status=active${class_level ? `&grade=${class_level}` : ''}`)\n .then((_response) => {\n return _response.data;\n })\n .catch((error) => {\n throw error;\n });\n};\nexport const autoSubmitSchoolAndClasses = (dispatch) => {\n const http = AxiosInject(BASE_API_URL, '', getUserToken());\n return http\n .get(`v2/me/schools?search=&role=`)\n .then((response) => {\n const { data } = response.data;\n const lastSchool = data[data.length - 1];\n console.log('lastSchool', lastSchool);\n const isOnWizard = window.location.pathname.indexOf('/wizard');\n if (isOnWizard > -1) {\n return 'is_on_wizard';\n }\n if (lastSchool?.id && data.length === 1) {\n return new Promise((resolve, reject) => {\n dispatch(switchSchool({ id: lastSchool.id }, {}, true))\n .then((_success) => {\n return http.get(`v2/schools/${lastSchool.id}/classes?onlyme=true&status=active`).then((_response) => {\n const { data } = _response.data;\n const lastClass = data[data.length - 1];\n return dispatch(switchClass({ id: lastClass.id })).then(() => {\n window.location.href = '/dashboard';\n });\n resolve('OK');\n });\n })\n .catch((err) => {\n reject(err);\n });\n });\n } else if (data.length === 0) {\n return 'no_school';\n } else {\n return false;\n }\n })\n .catch((error) => {\n reportSentry(error);\n throw error;\n });\n};\n\nexport const getCoursesBySchool = (id) => async (dispatch) => {\n const api = await requestGet(`course-teach/${id}?status=active`, false, getUserToken())\n .then((response) => {\n dispatch({ type: GET_COURSE_BY_SCHOOL, value: response.data });\n return response;\n })\n .catch((error) => {\n reportSentry(error);\n });\n return api;\n};\n\nexport const getCurrentClass = () => {\n return async (dispatch) => {\n dispatch(showLoading(true));\n try {\n let rest = await requestGet('me/current-class-json', null, getUserToken());\n\n const payload = {\n ...rest.data,\n class_id: rest.data.id,\n };\n dispatch(showLoading(false));\n dispatch({ type: GET_CURRENT_CLASS, value: payload });\n dispatch(getOneClass(rest.data.id));\n return payload;\n } catch (error) {\n if (error?.message !== \"Cannot read properties of undefined (reading 'id')\") {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n }\n dispatch(showLoading(false));\n };\n};\n\nexport const getTeacherByClass = (classId, page, limit) => {\n return async (dispatch) => {\n dispatch(showLoading(true));\n try {\n let rest = await requestGet(\n `classes/${classId}/teachers?page=${page || 1}&sortBy=name&order=asc&limit=${limit || 100}`,\n null,\n getUserToken()\n );\n dispatch({ type: GET_TEACHER_BY_CLASS, value: rest });\n } catch (error) {\n // notification.error({\n // message: \"Mohon Maaf!\",\n // description: \"Silahkan Hubungi Customer Service Kami\",\n // });\n }\n dispatch(showLoading(false));\n };\n};\n\nexport const getStudentByClass = (classId, page, limit, params = {}) => {\n return async (dispatch) => {\n dispatch(showLoading(true));\n try {\n let rest = await requestGet(\n `classes/${classId}/students?page=${page || 1}&sortBy=name&order=asc&limit=${limit || 100}`,\n null,\n getUserToken()\n );\n dispatch({ type: GET_STUDENT_BY_CLASS, value: rest });\n dispatch(showLoading(false));\n return rest;\n } catch (error) {\n // notification.error({\n // message: \"Mohon Maaf!\",\n // description: \"Silahkan Hubungi Customer Service Kami\",\n // });\n dispatch(showLoading(false));\n }\n };\n};\n\nexport const getMapelByClass = (classId, page, limit, isteacher, params) => {\n return async (dispatch) => {\n dispatch(showLoading(true));\n try {\n let rest = await requestGet(\n `classes/${classId}/courses`,\n {\n sortby: 'name',\n orderby: 'asc',\n limit: limit || 100,\n page: page || 1,\n isteacher: isteacher ?? false,\n ...params,\n },\n getUserToken()\n );\n dispatch({ type: GET_MAPEL_BY_CLASS, value: rest });\n dispatch(showLoading(false));\n return rest;\n } catch (error) {\n // notification.error({\n // message: \"Mohon Maaf!\",\n // description: \"Silahkan Hubungi Customer Service Kami\",\n // });\n dispatch(showLoading(false));\n return error;\n }\n };\n};\n\nexport const getListClass = (currentSchool) => {\n let params = {\n onlyme: !currentSchool.is_admin,\n status: 'active',\n };\n\n return async (dispatch) => {\n dispatch(showLoading(true));\n try {\n if (currentSchool.school_id) {\n let rest = await requestGet(`schools/${currentSchool.school_id ?? 0}/classes`, params, getUserToken());\n dispatch({ type: GET_CLASS_ME, value: rest.data });\n dispatch(showLoading(false));\n return rest.data;\n }\n return null;\n } catch (error) {\n dispatch(showLoading(false));\n if (error.response?.data?.message === 'invalid authorization') {\n localStorage.clear();\n window.location.href = '/';\n }\n if (currentSchool.school_id) {\n // notification.error({\n // message: \"Mohon Maaf!\",\n // description: \"Silahkan Hubungi Customer Service Kami\",\n // });\n }\n return [];\n }\n };\n};\n\nexport const createClass = (data) => {\n return async (dispatch) => {\n dispatch(showLoading(true));\n try {\n let rest = await requestPost(`classes`, data, getUserToken());\n dispatch({ type: CREATE_CLASS, value: true });\n if (rest.status_code === 200) {\n dispatch(showLoading(false));\n dispatch(\n switchClass({\n id: rest.data.id,\n })\n );\n return rest.data.id;\n }\n } catch (error) {\n dispatch({ type: CREATE_CLASS, value: 'error' });\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: error.response.data.message\n // ? error.response.data.message\n // : 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n };\n};\n\nexport const updateClass = (id, data) => {\n return async (dispatch) => {\n dispatch(showLoading(true));\n try {\n let res = await requestPut(`classes/${id}`, null, data, getUserToken());\n dispatch({ type: UPDATE_CLASS, value: true });\n dispatch(switchClass({ id }));\n if (res.status_code === 200) {\n dispatch(showLoading(false));\n return true;\n }\n } catch (error) {\n dispatch({ type: UPDATE_CLASS, value: 'error' });\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: error.response.data.message\n // ? error.response.data.message\n // : 'Silahkan Hubungi Customer Service Kami',\n // });\n dispatch(showLoading(false));\n }\n dispatch(showLoading(false));\n };\n};\n\nexport const deleteClass = (id) => {\n return async (dispatch) => {\n dispatch(showLoading(true));\n try {\n let res = await requestDelete(`classes/${id}`, null, getUserToken());\n dispatch(showLoading(false));\n return true;\n } catch (error) {\n runError(error.response.data.message, error);\n }\n dispatch(showLoading(false));\n };\n};\n\nexport const createMapel = (data) => {\n return async (dispatch) => {\n dispatch(showLoading(true));\n try {\n let rest = await requestPost(`courses`, data, getUserToken());\n dispatch({ type: CREATE_MAPEL, value: true });\n if (rest.status_code === 200) return true;\n } catch (error) {\n const msg = error.response.data.message;\n runError(msg, error);\n }\n dispatch(showLoading(false));\n };\n};\n\nexport const getMapelByClassAll = (classId, params) => {\n return async (dispatch) => {\n try {\n let rest = await requestGet(`classes/${classId}/courses`, params, getUserToken());\n dispatch({ type: GET_MAPEL_BY_CLASS, value: rest });\n } catch (error) {\n throw error;\n }\n };\n};\n\nexport const updateMapel = (mapelId, data) => {\n return async (dispatch) => {\n dispatch(showLoading(true));\n try {\n let rest = await requestPut(`courses/${mapelId}`, null, data, getUserToken());\n dispatch({ type: UPDATE_MAPEL, value: true });\n if (rest.status_code === 200) return true;\n } catch (error) {\n const msg = error.response.data.message;\n runError(msg, error);\n }\n dispatch(showLoading(false));\n };\n};\n\nexport const setCurrentClass = (form) => {\n return async (dispatch) => {\n dispatch(showLoading(true));\n try {\n let rest = await requestPut(`me/current-class-json`, { data: JSON.stringify(form) }, null, getUserToken());\n dispatch({ type: SET_CURRENT_CLASS, value: true });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n };\n};\n\nexport const deleteMapel = (courseId) => {\n return async (dispatch) => {\n dispatch(showLoading(true));\n try {\n let rest = await requestDelete(`courses/${courseId}`, null, getUserToken());\n dispatch({ type: DELETE_MAPEL, value: true });\n return rest;\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n };\n};\n\nexport const deleteStudentV2 = (id, params = {}) => {\n return async (dispatch) => {\n dispatch(showLoading(true));\n try {\n // params to qs\n const QSParams = Object.keys(params)\n .map((key) => `${key}=${params[key]}`)\n .join('&');\n const append = QSParams ? `?${QSParams}` : '';\n let rest = await requestDelete(`member-v2/id/${id}${append}`, null, getUserToken());\n dispatch({ type: DELETE_STUDENT, value: true });\n return rest;\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n };\n};\n\nexport const deleteStudent = (data) => {\n return async (dispatch) => {\n dispatch(showLoading(true));\n try {\n let rest = await requestDelete(`member`, data, getUserToken());\n dispatch({ type: DELETE_STUDENT, value: true });\n return rest;\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n };\n};\n\nexport const updateStudent = (id, data) => {\n const httpAdapter = AxiosInject(BASE_LOGIN, 'Bearer', getUserToken());\n return (dispatch) => {\n dispatch(showLoading(true));\n return httpAdapter\n .put(`v1/api/user/email/${id}`, data)\n .then((res) => {\n dispatch(showLoading(false));\n return res.data;\n })\n .catch((err) => {\n dispatch(showLoading(false));\n runError(err?.response?.data.messages[0], err);\n });\n };\n};\n\nexport const setWaliKelas = (classId, data) => {\n return async (dispatch) => {\n dispatch(showLoading(true));\n try {\n let rest = await requestPut(`classes/${classId}/promote-teacher-to-walikelas`, null, data, getUserToken());\n\n dispatch({\n type: SET_WALIKELAS,\n value: { type: 'success', data: rest.data },\n });\n dispatch(getCurrentClass());\n if (rest.status_code === 200) {\n return true;\n }\n } catch (error) {\n dispatch({\n type: SET_WALIKELAS,\n value: { type: 'error', data: error.response?.data?.message },\n });\n }\n dispatch(showLoading(false));\n };\n};\n\nexport const getSyncClass = (url, params) => {\n return async (dispatch) => {\n dispatch(showLoading(true));\n try {\n let rest = await requestAnyGet(url, params, {\n 'Content-Type': 'application/json',\n Authorization: `Bearer ${getGoogleToken()}`,\n });\n\n dispatch({ type: GET_SYNC_CLASS, value: rest.courses });\n } catch (error) {\n notification.error({\n message: 'Mohon Maaf!',\n description: 'Ada kesalahan saat mengambil data kelas di google classroom.',\n });\n }\n dispatch(showLoading(false));\n };\n};\n\nexport const getSyncStudent = (url, params) => {\n return async (dispatch) => {\n dispatch(showLoading(true));\n try {\n let rest = await requestAnyGet(url, params, {\n 'Content-Type': 'application/json',\n Authorization: `Bearer ${getGoogleToken()}`,\n });\n\n dispatch({\n type: GET_SYNC_STUDENT,\n value: rest && Object.keys(rest).length === 0 && rest.data.constructor === Object ? false : rest,\n });\n } catch (error) {\n notification.error({\n message: 'Mohon Maaf!',\n description: 'Ada kesalahan saat mengambil data siswa di google classroom.',\n });\n }\n dispatch(showLoading(false));\n };\n};\n\nexport const getSyncTeacher = (url, params) => {\n return async (dispatch) => {\n dispatch(showLoading(true));\n try {\n let rest = await requestAnyGet(url, params, {\n 'Content-Type': 'application/json',\n Authorization: `Bearer ${getGoogleToken()}`,\n });\n\n dispatch({\n type: GET_SYNC_TEACHER,\n value: rest && Object.keys(rest).length === 0 && rest.constructor === Object ? false : rest,\n });\n } catch (error) {\n notification.error({\n message: 'Mohon Maaf!',\n description: 'Ada kesalahan saat mengambil data guru di google classroom.',\n });\n }\n dispatch(showLoading(false));\n };\n};\n\nexport const createSyncClass = (data) => {\n return async (dispatch) => {\n dispatch(showLoading(true));\n try {\n let rest = await requestPost(`classes/gcr`, data, getUserToken());\n dispatch({ type: CREATE_SYNC_CLASS, value: true });\n } catch (error) {\n notification.error({\n message: 'Mohon Maaf!',\n description: error.response.data.message ? error.response.data.message : 'Ada kesalahan pada request data.',\n });\n }\n dispatch(showLoading(false));\n };\n};\n\nexport const joinClassess = (invitation_code, role, showError = true) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await requestPost(\n `join-classes-v2`,\n {\n invitation_code: invitation_code,\n role,\n },\n getUserToken()\n )\n .then((response) => {\n if (response) {\n // dispatch({\n // type: IS_SUCCESS,\n // value: true,\n // message: \"Join School Success\",\n // });\n dispatch(\n switchClass({\n id: response.data.class_id,\n })\n );\n dispatch(showLoading(false));\n return true;\n } else {\n dispatch(showLoading(false));\n // dispatch({\n // type: IS_SUCCESS,\n // value: false,\n // message: \"Join School Failed\",\n // });\n return false;\n }\n })\n .catch((error) => {\n if (showError) {\n if (error.response.status === 404) {\n notification.error({\n message: 'Kode tidak ditemukan silahkan hubungi Operator atau walikelas',\n });\n }\n if (error.response.status === 403) {\n notification.error({\n message: 'Kode Orang Tua Sudah Pernah Digunakan',\n });\n }\n if (error.response.status === 409) {\n notification.error({\n message: 'Kode Sudah Digunakan silahkan Hubungi Operator atau cek Kelasku',\n });\n }\n if (error.response.status === 400) {\n if (error.response.data?.message === 'already_joined') {\n notification.error({\n message: 'Anda telah bergabung di kelas ini',\n });\n } else {\n notification.error({\n message: 'Mohon maaf, kode undangan tidak ditemukan',\n });\n }\n }\n reportSentry(error);\n dispatch(showLoading(false));\n } else {\n reportSentry(error);\n dispatch(showLoading(false));\n return error.response.data?.message || false;\n }\n });\n return api;\n};\n\nexport const exportInvitationCode = (classId) => async (dispatch) => {\n const api = await axios({\n url: `${BASE_LOGIN}/v1/api/export/parentCode?class_id=${classId}`,\n method: 'GET',\n headers: {\n Authorization: `Bearer ${getUserToken()}`,\n },\n responseType: 'blob',\n params: {\n class_id: classId,\n },\n })\n .then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', 'Invitation Code.xlsx');\n document.body.appendChild(link);\n link.click();\n })\n .catch((err) => {\n throw err;\n });\n};\n\nexport const getOneClass = (class_id) => {\n return async (dispatch) => {\n dispatch(showLoading(true));\n try {\n let rest = await requestGet(`classes/${class_id}`, false, getUserToken());\n dispatch(showLoading(false));\n dispatch({ type: GET_ONE_CLASS, value: rest.data });\n return rest.data;\n } catch (error) {\n // notification.error({\n // message: \"Mohon Maaf!\",\n // description: \"Silahkan Hubungi Customer Service Kami\",\n // });\n }\n dispatch(showLoading(false));\n };\n};\nexport const getOneClassPlain = (class_id) => {\n return requestGet(`classes/${class_id}`, false, getUserToken())\n .then((res) => {\n return res.data;\n })\n .catch((err) => {\n throw err;\n });\n};\n\nexport const switchClass = (data) => {\n return async (dispatch) => {\n dispatch(showLoading(true));\n try {\n let rest = await requestPost(`classes/switch-classes`, data, getUserToken());\n dispatch({ type: GET_ROLE, value: rest.data });\n dispatch({ type: SET_CURRENT_CLASS, value: true });\n dispatch(showLoading(false));\n return true;\n } catch (error) {\n runError(null, error);\n dispatch(showLoading(false));\n return false;\n }\n };\n};\nexport const switchSchool = (data, school = {}, noModal = false) => {\n return async (dispatch) => {\n dispatch(showLoading(true));\n try {\n let rest = await requestPost(`schools/switch-school`, data, getUserToken());\n if (rest.status_code === 200) {\n // dispatch(getRole());\n dispatch({ type: GET_ROLE, value: rest.data });\n dispatch({ type: DETAIL_SCHOOL, value: school });\n dispatch({ type: STATUS_ROLE, value: true });\n if (!noModal) {\n dispatch({ type: CHANGE_SCHOOL, value: true });\n dispatch({\n type: SAVE_STATE_FOR_CHANGE_ROLE,\n value: rest.data,\n });\n }\n }\n } catch (error) {\n notification.error({\n message: 'Error',\n description: error,\n });\n }\n dispatch(showLoading(false));\n };\n};\n\nexport const getOneSchool = (school_id) => {\n return async (dispatch) => {\n dispatch(showLoading(true));\n try {\n let rest = await requestGet(`schools/${school_id ?? 0}`, false, getUserToken());\n dispatch({ type: GET_ONE_SCHOOL, value: rest.data });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n };\n};\n\nexport const exportProfileMaster = (params) => {\n return axios({\n url: `${BASE_API_URL}v2/me/profile/master-export`,\n method: 'GET',\n headers: {\n Authorization: getUserToken(),\n },\n responseType: 'blob',\n params,\n })\n .then((response) => {\n let file_name = 'exported_data.csv';\n if (response.headers['filename']) {\n file_name = response.headers['filename'];\n }\n\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', file_name);\n document.body.appendChild(link);\n link.click();\n return true;\n })\n .catch((err) => {\n throw err;\n });\n};\n\nexport const exportProfile = (params, type) => async () => {\n const api = await axios({\n url: `${BASE_API_URL}v2/me/profile/export`,\n method: 'GET',\n headers: {\n Authorization: getUserToken(),\n },\n responseType: 'blob',\n params,\n })\n .then((response) => {\n let file_name = 'exported_data.csv';\n if (response.headers.hasOwnProperty('content-disposition')) {\n let file_name = response.headers['content-disposition'].split('=');\n if (file_name.length > 0) {\n file_name = file_name[1];\n } else {\n file_name = 'exported_data.csv';\n }\n }\n let is_fullfname = false;\n if (response.headers.hasOwnProperty('filename')) {\n file_name = response.headers['filename'];\n is_fullfname = true;\n }\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n if (file_name) {\n link.setAttribute(\n 'download',\n file_name === 'exported_data.csv' || is_fullfname ? file_name : String(file_name).slice(1, -1)\n );\n } else {\n link.setAttribute('download', `Profile ${type === 'teacher' ? 'Guru' : 'Siswa'}.${params.file_type}`);\n }\n document.body.appendChild(link);\n link.click();\n })\n .catch((err) => {\n throw err;\n });\n};\n\nexport const getProfile = () => async () => {\n const api = await axios({\n url: `${BASE_API_URL}v2/me/profile`,\n method: 'GET',\n headers: {\n Authorization: getUserToken(),\n },\n })\n .then((response) => {\n return response.data?.data;\n })\n .catch((err) => {\n return null;\n });\n\n return api;\n};\n\nexport const updateProfileTK = (data) => async () => {\n const api = await axios({\n url: `${BASE_API_URL}v2/me/profile`,\n method: 'PUT',\n headers: {\n Authorization: getUserToken(),\n },\n data,\n })\n .then((response) => {\n return response.data?.data;\n })\n .catch(() => {\n return null;\n });\n\n return api;\n};\n\nexport const getProfileByID = (id, isGetClasses) => async () => {\n const api = await axios({\n url: `${BASE_API_URL}v2/profile/${id}?isGetClasses=${isGetClasses}`,\n method: 'GET',\n headers: {\n Authorization: getUserToken(),\n },\n })\n .then((response) => {\n return response.data?.data;\n })\n .catch((err) => {\n return null;\n });\n\n return api;\n};\nexport const getProfileTeacherByID = (id) => async () => {\n const api = await axios({\n url: `${BASE_API_URL}v2/profile/teacher/${id}`,\n method: 'GET',\n headers: {\n Authorization: getUserToken(),\n },\n })\n .then((response) => {\n return response.data?.data;\n })\n .catch((err) => {\n return null;\n });\n\n return api;\n};\n\nexport const updateProfileTKByID = (id, data) => async () => {\n const api = await axios({\n url: `${BASE_API_URL}v2/me/profile/${id}`,\n method: 'PUT',\n headers: {\n Authorization: getUserToken(),\n },\n data,\n })\n .then((response) => {\n return response.data?.data;\n })\n .catch(() => {\n return null;\n });\n\n return api;\n};\n\nexport const getCheckProfileCompletion = () => async () => {\n const api = await axios({\n url: `${BASE_API_URL}v2/profile/complete-check`,\n method: 'GET',\n headers: {\n Authorization: getUserToken(),\n },\n })\n .then((response) => {\n if (response.data?.data.is_show_pop_up) {\n return response.data?.data.is_show_pop_up;\n } else {\n return false;\n }\n })\n .catch((err) => {\n return false;\n });\n\n return api;\n};\n\nexport const downloadPDFProfile = (params) => async () => {\n const api = await axios({\n url: `${BASE_API_URL}v2/profile/download`,\n method: 'GET',\n headers: {\n Authorization: getUserToken(),\n },\n responseType: 'blob',\n params,\n })\n .then((response) => {\n const file_name = response.headers['content-disposition'].split('=')[1];\n\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', String(file_name).slice(1, -1));\n document.body.appendChild(link);\n link.click();\n })\n .catch((err) => {\n throw err;\n });\n};\nexport const downloadPDFProfileGuru = (params) => async () => {\n const api = await axios({\n url: `${BASE_API_URL}v2/profile/teacher/download`,\n method: 'GET',\n headers: {\n Authorization: getUserToken(),\n },\n responseType: 'blob',\n params,\n })\n .then((response) => {\n const file_name = response.headers['content-disposition'].split('=')[1];\n\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', String(file_name).slice(1, -1));\n document.body.appendChild(link);\n link.click();\n })\n .catch((err) => {\n throw err;\n });\n};\n\nexport const getClassGrade = () => async () => {\n const api = await axios({\n url: `${BASE_API_URL}v2/me/classGrade`,\n method: 'GET',\n headers: {\n Authorization: getUserToken(),\n },\n })\n .then((response) => {\n return response.data?.data;\n })\n .catch((err) => {\n return null;\n });\n\n return api;\n};\n\nexport const getProfileWalikelas = (class_id) => async (dispatch) => {\n const api = await axios({\n url: `${BASE_API_URL}v2/profile/walikelas`,\n method: 'GET',\n headers: {\n Authorization: getUserToken(),\n },\n params: {\n class_id,\n },\n })\n .then((response) => {\n dispatch({ type: SET_WALIKELAS_DATA, payload: response.data?.data });\n })\n .catch((err) => {\n return null;\n });\n\n return api;\n};\n\nexport const downloadBulkAddStudent = (params) => async () => {\n const api = await axios({\n url: `${BASE_API_URL}v2/join-classes-bulk-template`,\n method: 'GET',\n headers: {\n Authorization: getUserToken(),\n },\n responseType: 'blob',\n params,\n })\n .then((response) => {\n const file_name = 'template_tambah_siswa_bersamaan.xlsx';\n\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', String(file_name));\n document.body.appendChild(link);\n link.click();\n })\n .catch((err) => {\n throw err;\n });\n};\n\nexport const clearCreateClass = () => ({\n type: CREATE_CLASS,\n value: false,\n});\n\nexport const clearUpdateClass = () => ({\n type: UPDATE_CLASS,\n value: false,\n});\n\nexport const clearDeleteClass = () => ({\n type: DELETE_CLASS,\n value: false,\n});\n\nexport const clearSetCurrentClass = () => ({\n type: SET_CURRENT_CLASS,\n value: false,\n});\n\nexport const clearCreateMapel = () => ({\n type: CREATE_MAPEL,\n value: false,\n});\n\nexport const clearUpdateMapel = () => ({\n type: UPDATE_MAPEL,\n value: false,\n});\n\nexport const clearDeleteMapel = () => ({\n type: DELETE_MAPEL,\n value: false,\n});\n\nexport const clearDeleteStudent = () => ({\n type: DELETE_STUDENT,\n value: false,\n});\n\nexport const clearSetWaliKelas = () => ({\n type: SET_WALIKELAS,\n value: false,\n});\n\nexport const clearCreateSyncClass = () => ({\n type: CREATE_SYNC_CLASS,\n value: false,\n});\n\nexport const insertStudent = (data) => {\n return async (dispatch) => {\n dispatch(showLoading(true));\n try {\n let rest = await requestPost(`classes/user/insert`, data, getUserToken());\n // dispatch({ type: CREATE_SYNC_CLASS, value: true });\n dispatch(showLoading(false));\n return rest;\n } catch (error) {\n dispatch(showLoading(false));\n return error?.response?.data;\n }\n };\n};\n","const listTableDetailUjian = (data) =>\n data.map((val) => ({\n ...val,\n id: val.id,\n name: val.qbank_detail ? val.qbank_detail.name : '-',\n question: val.qbank_detail ? val.qbank_detail.question : '-',\n name_question: val.qbank_detail ? val.qbank_detail.name : '-',\n point_question: val.qbank_detail ? val.qbank_detail.name : '-',\n explanation_question: val.qbank_detail ? val.qbank_detail.explanation : '-',\n attachment: val.qbank_detail ? val.qbank_detail.attachment : null,\n selected: val.qbank_question_type,\n point: val.qbank_point,\n }));\n\nconst listTableDetailParticipant = (data) =>\n data.map((val) => ({\n ...val,\n name: val.user_name || '-',\n weight: '-',\n id: val.user_id,\n }));\n\nconst paginatior = (raw, common) => {\n const temp = { ...common };\n\n if (raw) {\n temp.current_page = raw.page;\n temp.per_page = raw.limit;\n temp.last_page = raw.max_page;\n temp.total = raw.total_item;\n\n return temp;\n }\n\n return common;\n};\n\nconst normalizeDataQuestion = (data) =>\n data.map((val, idx) => ({\n id: `${val.qbank_quiz_id}${idx}`,\n name: val.qbank_detail ? val.qbank_detail.quiz_name : '-',\n qbank_quiz_id: val.qbank_quiz_id,\n qbank_question_id: val.qbank_question_id,\n qbank_group_id: val.qbank_group_id,\n qbank_point: val.qbank_point,\n qbank_question_type: val.qbank_question_type,\n }));\n\nexport { listTableDetailUjian, listTableDetailParticipant, paginatior, normalizeDataQuestion };\n","import _remove from 'lodash/remove';\nimport _trim from 'lodash/trim';\nimport _get from 'lodash/get';\nimport _filter from 'lodash/filter';\nimport _find from 'lodash/find';\nimport _includes from 'lodash/includes';\nimport _split from 'lodash/split';\nimport _join from 'lodash/join';\nimport { MULTIPLE_ANSWERS_SEPARATOR } from '../../../../constants/initCongs';\n\nfunction cleanStrHtml(string) {\n // eslint-disable-next-line no-useless-escape\n string = string.replace(/\\ /g, '').replace(/<[^>]+>/g, '');\n\n return string;\n}\n\nexport const handleCollectAnswer = (newData, currentTable) => {\n const { question_id, qbank_question_type, value, attachment, exam_id } = newData;\n let tempAnswers = [];\n\n const existedAnswers = currentTable.filter((ans) => ans.question_id === question_id && ans.exam_id === exam_id);\n const isAnswerExist = existedAnswers.length > 0;\n\n const addedCurrentDataAnswers = [...currentTable, newData];\n\n if (qbank_question_type === 3) {\n /* -------------------------------------------------------------------------- */\n /* HANDLE QUIZ TYPE MULTIPLE ANSWER */\n /* -------------------------------------------------------------------------- */\n\n // ? example value multiple \"

0

\", \"

2

\", convert to \"

0

|||

2

\",\n\n /* --------------------- step 1: convert array new value -------------------- */\n const parseValues = value.split(MULTIPLE_ANSWERS_SEPARATOR);\n\n /* ------------------- step 2 : handle and get prev value ------------------- */\n const findValue = _get(\n _find(currentTable, (o) => o.question_id === question_id && o.exam_id === exam_id),\n 'value',\n ''\n );\n const prevValues = findValue ? _split(findValue, MULTIPLE_ANSWERS_SEPARATOR) : [];\n\n /* --------------------- step 3: array temporary process -------------------- */\n let tmpMultiAns = [];\n if (_includes(prevValues, value)) {\n tmpMultiAns = _filter(prevValues, (n) => n !== value);\n } else {\n tmpMultiAns = [...prevValues, parseValues];\n }\n\n /* --------------------- step 4: array to string convert -------------------- */\n const toStringValue = _join(tmpMultiAns, MULTIPLE_ANSWERS_SEPARATOR);\n\n /* ----------------------------- step 5: execute ---------------------------- */\n\n if (isAnswerExist) {\n tempAnswers = [\n ...currentTable.filter((ans) => !(ans.question_id === question_id && ans.exam_id === exam_id)),\n { ...newData, value: toStringValue },\n ];\n } else {\n tempAnswers = addedCurrentDataAnswers;\n }\n /* -------------------------------------------------------------------------- */\n /* END HANDLE QUIZ TYPE MULTIPLE ANSWER */\n /* -------------------------------------------------------------------------- */\n } else if (isAnswerExist) {\n tempAnswers = [\n ...currentTable.filter((ans) => !(ans.question_id === question_id && ans.exam_id === exam_id)),\n newData,\n ];\n } else {\n tempAnswers = addedCurrentDataAnswers;\n }\n\n if (attachment?.length > 0) {\n return tempAnswers;\n }\n if (![1, 3].includes(qbank_question_type)) {\n const getterValue = _get(newData, 'value', '') || '';\n if (_trim(cleanStrHtml(getterValue)) === '') {\n _remove(tempAnswers, (o) => o.qbank_question_id === newData?.qbank_question_id && o.exam_id === exam_id);\n }\n }\n\n return tempAnswers;\n};\n\nexport const convertToStorage = (rows) => {\n const arr = [];\n rows.forEach((data) => {\n const obj = {\n exam_id: data?.exam_id,\n question_id: data?.question_id,\n qbank_quiz_id: data?.qbank_quiz_id,\n qbank_question_id: data?.qbank_question_id,\n qbank_question_type: data?.qbank_question_type,\n participant_id: data?.participant_id,\n value: data?.value,\n };\n\n const extraObj = {\n attachment: data?.attachment,\n };\n\n if (data?.value) {\n if (data?.qbank_question_type === 2) {\n arr.push({ ...obj, ...extraObj });\n } else {\n arr.push(obj);\n }\n }\n });\n\n return arr;\n};\n","import { IS_SUCCESS, IS_SUSPENDED, IS_UPLOAD_SUCCESS, SCHOOL_YEAR, SET_LOADING, WHITELABEL_CONFIG } from '@type';\nimport { requestGet } from '@configs/evaluasi';\nimport { getUserToken } from '@utils';\nimport { AxiosInject } from '../../../utils/Utils';\nimport { BASE_LOGIN } from '../../../constants/initHttp';\n\nexport const showLoading = (value) => ({\n type: SET_LOADING,\n value,\n});\n\nexport const isSuccess = (value, message) => ({\n type: IS_SUCCESS,\n value,\n message,\n});\n\nexport const isUploadSuccess = (value, message) => ({\n type: IS_UPLOAD_SUCCESS,\n value,\n message,\n});\n\nexport const routeChanged = () => ({\n type: 'ROUTE_MOVE',\n value: Math.random(),\n});\nexport const getSchoolYear = () => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const res = await requestGet(\n '/schoolyear',\n {\n sort: 'id',\n direction: 'asc',\n },\n getUserToken()\n );\n\n dispatch({ type: SCHOOL_YEAR, value: res.payload.list });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const getWhitelabelInfo = (params, isAll = true, key = '') => {\n const http = AxiosInject(\n BASE_LOGIN,\n 'Basic',\n window.btoa(`${process.env.REACT_APP_WL_USER}:${process.env.REACT_APP_WL_PASSWORD}`)\n );\n return async (dispatch) => {\n http\n .get(`v1/apiBasic/whitelabelAttribute/${isAll ? 'select' : `key/${key}`}`, {\n params,\n })\n .then((r) => {\n dispatch({\n type: IS_SUSPENDED,\n value: r.data.data,\n });\n })\n .catch(() => {\n dispatch({\n type: IS_SUSPENDED,\n value: false,\n });\n });\n };\n};\n\nexport const setWhitelabelData = (payload) => (dispatch) => {\n dispatch({\n type: WHITELABEL_CONFIG,\n value: payload,\n });\n};\n\nexport const setDictionary = (payload) => (dispatch) => {\n dispatch({\n type: 'ADD_DICTIONARY',\n value: payload,\n });\n};\n","export const MULTIPLE_ANSWERS_SEPARATOR = '|||';\nexport const coloringAdd = (svg, color, width, height) => {\n svg.classList.add('svg-class-name');\n const el = [...svg.querySelectorAll('path')];\n const gEl = [...svg.querySelectorAll('line')];\n const gCr = [...svg.querySelectorAll('circle')];\n el.forEach((e) => {\n e.setAttribute('fill', color ?? 'white');\n });\n gEl.forEach((e) => {\n e.setAttribute('stroke', color ?? 'white');\n });\n gCr.forEach((e) => {\n e.setAttribute('stroke', color ?? 'white');\n e.setAttribute('fill', color ?? 'white');\n });\n svg.setAttribute('width', width);\n svg.setAttribute('height', height);\n};\n\nexport const injectedSvg = (svg, color, width, height) => {\n svg.classList.add('svg-class-name');\n const gEl = [...svg.querySelectorAll('path')];\n gEl.forEach((e) => {\n e.setAttribute('stroke', color ?? 'white');\n });\n const gLine = [...svg.querySelectorAll('line')];\n gLine.forEach((e) => {\n e.setAttribute('stroke', color ?? 'white');\n });\n\n svg.setAttribute('width', width);\n svg.setAttribute('height', height);\n};\n\nexport const injectSvg = (svg, { height, width, color }) => {\n svg.classList.add('svg-class-name');\n const el = [...svg.querySelectorAll('path')];\n const gEl = [...svg.querySelectorAll('line')];\n gEl.forEach((e) => {\n e.setAttribute('stroke', 'white');\n });\n el.forEach((e) => {\n e.setAttribute('stroke', color || 'var(--primary-color)');\n });\n svg.setAttribute('width', width);\n svg.setAttribute('height', height);\n};\n\nexport const PILIHAN_GANDA_TYPE = 1;\nexport const ESSAY_TYPE = 2;\nexport const PILIHAN_GANDA_MULTI_TYPE = 3;\nexport const TRUE_FALSE_TYPE = 4;\nexport const SHORT_TYPE = 5;\n","export default __webpack_public_path__ + \"static/media/school_default.a489b2da.svg\";","export default __webpack_public_path__ + \"static/media/globe.2a52cd4c.png\";","// getting data user on localstorage\nimport crypto from 'crypto';\nimport moment from 'moment-timezone';\nimport { notification, Tag, Typography } from 'antd';\nimport axios from 'axios';\nimport qs from 'qs';\nimport * as EmailValidator from 'email-validator';\nimport { isMoment } from 'moment';\nimport _ from 'lodash';\nimport { CheckCircleFilled } from '@ant-design/icons';\nimport React from 'react';\nimport PDFJS from 'pdfjs-dist/webpack';\nimport { ReactComponent as ExclamationIcon } from '@assets/icon/svg/exclamation-circle.svg';\nimport { store } from '../redux/store';\nimport PdfThumbnail from '../assets/img/pdf.svg';\nimport DefaultThumbnail from '../assets/img/globe.png';\nimport { ortuProfile } from '../views/Auth/EditProfileTK/formOptions';\nimport { BASE_PROXY } from '../constants/initHttp';\n\nexport const multipleArrayToSingle = (array) => {\n const newArray = [];\n array.forEach((item) => {\n newArray.push(...item);\n });\n return newArray;\n};\nexport const isUserLoggedIn = () => localStorage.getItem('userData');\nexport const getUserData = () => JSON.parse(localStorage.getItem('userData'));\nexport const getUserProfile = () => JSON.parse(JSON.parse(localStorage.getItem('persist:root')).Auth).profile;\n// eslint-disable-next-line no-confusing-arrow\nexport const getUserToken = () =>\n localStorage.getItem('userData') ? JSON.parse(localStorage.getItem('userData')).data.token : null;\nexport const getGoogleToken = () => localStorage.getItem('acc');\n\nexport const getRouterForLoggedInUser = () => {\n if (localStorage.getItem('userData')) {\n return '/';\n }\n\n return '/login';\n};\n\nexport const objectString = (data, convert) => {\n if (!convert) {\n const newdata = [];\n for (const key in data) {\n if (typeof data[key] === 'object') {\n for (const kd in data[key]) {\n if (typeof data[key][kd] === 'object') {\n for (const kdd in data[key][kd]) {\n newdata.push(\n `${encodeURIComponent(key)}[${encodeURIComponent(kd)}]` +\n `[${encodeURIComponent(kdd)}]=${encodeURIComponent(data[key][kd][kdd])}`\n );\n }\n } else {\n newdata.push(`${encodeURIComponent(key)}[${encodeURIComponent(kd)}]=${encodeURIComponent(data[key][kd])}`);\n }\n }\n } else {\n newdata.push(`${encodeURIComponent(key)}=${encodeURIComponent(data[key])}`);\n }\n }\n return `?${newdata.join('&')}`;\n }\n if (data) {\n data = data.replace('?', '');\n if (data) {\n data = data.split('&');\n const newdata = [];\n for (const key in data) {\n const dk = data[key].split('=');\n const dkk = [];\n dkk[decodeURIComponent(dk[0])] = decodeURIComponent(dk[1]);\n newdata.push(dkk);\n }\n\n return newdata;\n }\n return false;\n }\n};\n\n// const isEmptyObj = (obj) => {\n// for (const prop in obj) {\n// if (obj.hasOwnProperty(prop)) {\n// return false;\n// }\n// }\n\n// return JSON.stringify(obj) === JSON.stringify({});\n// };\n\nexport const MakeQuerablePromise = (promise) => {\n // Don't modify any promise that has been already modified.\n if (promise.isResolved) return promise;\n\n // Set initial state\n let isPending = true;\n let isRejected = false;\n let isFulfilled = false;\n\n // Observe the promise, saving the fulfillment in a closure scope.\n const result = promise.then(\n (v) => {\n isFulfilled = true;\n isPending = false;\n return v;\n },\n (e) => {\n isRejected = true;\n isPending = false;\n throw e;\n }\n );\n\n result.isFulfilled = function () {\n return isFulfilled;\n };\n result.isPending = function () {\n return isPending;\n };\n result.isRejected = function () {\n return isRejected;\n };\n return result;\n};\n\nexport const notificationOverride = ({ title, description = null, type }) => {\n notification.destroy();\n if (type === 'success') {\n notification.info({\n message: (\n \n {title}\n \n ),\n description: (\n \n {description}\n \n ),\n style: {\n borderTop: '2px solid #268E6C ',\n backgroundColor: '#F0F7F5',\n },\n icon: (\n \n ),\n });\n } else if (type === 'warning') {\n notification.warn({\n message: title,\n description,\n type,\n });\n } else if (type === 'warning-check') {\n notification.warn({\n message: (\n \n {title}\n \n ),\n description: (\n \n {description}\n \n ),\n style: {\n borderTop: '2px solid #C98600 ',\n backgroundColor: '#F0F7F5',\n },\n icon: (\n \n ),\n });\n } else {\n notification.error({\n message: (\n \n {title}\n \n ),\n description: (\n \n {description}\n \n ),\n type,\n style: {\n borderTop: '2px solid #E63A34',\n backgroundColor: '#FCF3F2',\n },\n icon: ,\n });\n }\n};\nexport const defineStatus = (_start_date, _end_date, need_node = false) => {\n const current = null;\n const start_date = null;\n const end_date = null;\n\n if (current < start_date) {\n if (need_node) {\n return (\n <>\n Telah Terbit\n \n );\n }\n return 'Telah Terbit';\n }\n if (current >= start_date && current <= end_date) {\n if (need_node) {\n return (\n <>\n Sedang Berlangsung\n \n );\n }\n return 'Sedang Berlangsung';\n }\n if (need_node) {\n return (\n <>\n Telah Berakhir\n \n );\n }\n return 'Telah Berakhir';\n};\nexport const AxiosInject = (baseUrl = null, type = true, token = null, timeout = 30000) => {\n const instance = axios.create();\n if (baseUrl) {\n instance.defaults.baseURL = baseUrl;\n instance.defaults.timeout = timeout;\n }\n instance.interceptors.request.use(\n (config) => {\n if (token) {\n config.headers.Authorization = `${type} ${token}`; // eslint-disable-line no-param-reassign\n }\n if (token) {\n const { method } = config;\n let _body = '';\n let _token = '';\n let _url = config.url;\n if (method === 'post' || method === 'put') {\n const _data = config.data ?? '';\n _body = window.btoa(JSON.stringify(_data));\n }\n const host = _url.split('/')[2];\n _url = _url.replace(`https://${host}`, '');\n _token = config.headers.Authorization;\n config.headers.Timestamp = moment().toISOString();\n let pathName = '';\n config.params &&\n Object.keys(config.params).map((_key, index) => {\n if (config.params[_key] !== null) {\n pathName += `${_key}=${config.params[_key] ?? ''}`;\n if (Object.keys(config.params).length - 1 !== index) {\n pathName += '&';\n }\n }\n return _key;\n });\n if (pathName !== '') {\n _url = `${_url}?${pathName.replace(' ', '+')}`;\n }\n // console.log('url', _url);\n config.headers.Signature = generateSignature(\n _url,\n _token.replace(' ', ''),\n config.method.toUpperCase(),\n config.headers.Timestamp,\n _body\n );\n delete config.headers.Signature;\n delete config.headers.Timestamp;\n }\n return config;\n },\n // eslint-disable-next-line no-undef\n (error) => Promise.reject(error)\n );\n\n instance.interceptors.response.use(\n (response) => response,\n (error) => {\n if (error?.response?.status === 401) {\n const _message = error?.response?.data?.message ?? error?.response?.data?.data ?? error?.response?.data?.error;\n if (_message === 'invalid authorization') {\n // notificationOverride({\n // title: 'Permintaan Ditolak',\n // description: 'Sesi login Anda telah berakhir. Silakan login kembali untuk melanjutkan.',\n // type: 'warning',\n // });\n } else if (['unauthorized device', 'UNAUTHORIZED DEVICE'].includes(_message)) {\n notificationOverride({\n title: 'Perangkat Baru Telah Terdaftar',\n description:\n 'Secara otomatis akun Anda dikeluarkan dari situs. Silahkan lakukan login kembali untuk mengakses Siswamedia.',\n type: 'warning-check',\n });\n }\n store.dispatch({ type: 'LOGOUT', value: true });\n }\n // hi\n return Promise.reject(error);\n }\n );\n\n return instance;\n};\nexport function disableDateRanges(range = { days: null }) {\n const { days } = range;\n return function disableDate(current) {\n let endCheck = true;\n if (days) {\n endCheck = current && current > moment().add(days, 'days');\n }\n return endCheck;\n };\n}\nexport function disabledDate(current, custom, maxDays) {\n console.log(current, custom, maxDays);\n if (custom) {\n return (\n current &&\n current <\n moment(custom, 'YYYY-MM-DD').set({\n hour: 0,\n minute: 0,\n second: 0,\n millisecond: 0,\n })\n );\n }\n\n if (maxDays) {\n return (\n current &&\n (current < moment().subtract(1, 'days').endOf('day') || current > moment().add(maxDays, 'days').endOf('day'))\n );\n }\n\n // Can not select days before today and today\n return current && current < moment().subtract(1, 'days').endOf('day');\n}\n\nexport function disableDateByDays(current, days) {\n return current && current > moment().add(days, 'days').endOf('day');\n}\n\nexport const parseQs = (qsRaw) =>\n qs.parse(qsRaw, {\n ignoreQueryPrefix: true,\n });\n\nfunction range(start, end) {\n const result = [];\n for (let i = start; i < end; i++) {\n result.push(i);\n }\n return result;\n}\n\nexport function isSameDay(obj) {\n const now = moment();\n if (isMoment(obj)) {\n return now.isSame(obj, 'day');\n }\n return false;\n}\n\nexport function isSameHour(obj, compared = null) {\n const now = moment();\n if (isMoment(obj) && !isMoment(compared)) {\n return now.isSame(obj, 'hour');\n }\n if (isMoment(obj) && isMoment(compared)) {\n return compared.isSame(obj, 'hour');\n }\n return false;\n}\n\nexport function disabledTime(current, custom) {\n const sameDay = current?.isSame(new Date(), 'day');\n if (custom) {\n const sameDayCustom = moment(current)?.isSame(moment(custom), 'day');\n const sameDayCustomHours = moment(current)?.isSame(moment(custom), 'hour');\n if (sameDayCustom) {\n return {\n disabledHours: () => range(0, moment(custom).format('HH')),\n disabledMinutes: () => (sameDayCustomHours ? range(0, moment(custom).format('mm')) : []),\n disabledSeconds: () => range(0, moment(custom).format('ss')),\n };\n }\n return {\n disabledHours: () => [],\n disabledMinutes: () => [],\n disabledSeconds: () => [],\n };\n }\n const sameHours = isSameHour(current);\n if (sameDay) {\n return {\n disabledHours: () => range(0, moment().format('HH')),\n disabledMinutes: () => (sameHours ? range(0, moment().format('mm')) : null),\n disabledSeconds: () => range(0, moment().format('ss')),\n };\n }\n\n return {\n disabledHours: () => [],\n disabledMinutes: () => [],\n disabledSeconds: () => [],\n };\n}\n\nexport const makeId = (length) => {\n let result = '';\n const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n const charactersLength = characters.length;\n for (let i = 0; i < length; i++) {\n result += characters.charAt(Math.floor(Math.random() * charactersLength));\n }\n return result;\n};\nexport const reportSentry = (err, code = null) => {\n console.log('err', err);\n console.log('code', code);\n return true;\n};\n\nexport const isValidEmail = (email) => {\n if (!email) return true;\n\n return EmailValidator.validate(email);\n};\n\nexport const romanize = (num) => {\n if (isNaN(num)) return NaN;\n const digits = String(+num).split('');\n const key = [\n '',\n 'C',\n 'CC',\n 'CCC',\n 'CD',\n 'D',\n 'DC',\n 'DCC',\n 'DCCC',\n 'CM',\n '',\n 'X',\n 'XX',\n 'XXX',\n 'XL',\n 'L',\n 'LX',\n 'LXX',\n 'LXXX',\n 'XC',\n '',\n 'I',\n 'II',\n 'III',\n 'IV',\n 'V',\n 'VI',\n 'VII',\n 'VIII',\n 'IX',\n ];\n let roman = '';\n let i = 3;\n // eslint-disable-next-line no-plusplus\n while (i--) roman = (key[+digits.pop() + i * 10] || '') + roman;\n return Array(+digits.join('') + 1).join('M') + roman;\n};\n\nexport const htmlEntities = (str, encode = true) => {\n if (encode) {\n str = str.replace(/[\\u00A0-\\u9999<>\\\\&]/gim, (i) => `&#${i.charCodeAt(0)};`);\n } else if (str && typeof str === 'string') {\n // strip script/html tags\n str = str.replace(/]*>([\\S\\s]*?)<\\/script>/gim, '');\n str = str.replace(/<\\/?\\w(?:[^\"'>]|\"[^\"]*\"|'[^']*')*>/gim, '');\n }\n\n return str;\n};\n\nexport const hexToRgbA = (hex) => {\n let c;\n if (/^#([A-Fa-f0-9]{3}){1,2}$/.test(hex)) {\n c = hex.substring(1).split('');\n if (c.length === 3) {\n c = [c[0], c[0], c[1], c[1], c[2], c[2]];\n }\n c = `0x${c.join('')}`;\n return `rgba(${[(c >> 16) & 255, (c >> 8) & 255, c & 255].join(',')},0.5)`;\n }\n throw new Error('Bad Hex');\n};\n\nexport const getUjianFormWidth = (xxl, xl, lg, md, sm, xs) => {\n if (lg || xl || xxl) return '60%';\n if (md) return '80%';\n if (xs || sm) return '100%';\n};\nexport const MULTIPLE_CHOICES = ['A', 'B', 'C', 'D', 'E', 'F', 'G'];\n\nexport const extractQuestionLabel = (options = [], value) => {\n let label = '-';\n options.forEach((item, i) => {\n if (item.value === value) {\n label = MULTIPLE_CHOICES[i] || 'A';\n }\n });\n return label;\n};\n\nexport const getRangeDateMoment = (start, end) => {\n const range = [];\n let current = moment(start);\n const endDate = moment(end);\n while (current <= endDate) {\n range.push({\n day: current.format('dddd'),\n obj: current.format('YYYY-MM-DD'),\n });\n current = current.add(1, 'days');\n }\n return range;\n};\n\nexport const getThumbnail = (url) => {\n if (!url) return null;\n // check is youtube url with regex\n if (/^(http|https):\\/\\/(www\\.)?(youtube\\.com|youtu\\.?be)\\/.+/.test(url)) {\n if (url.split('=').length > 1) {\n const id = url.split('=')[1];\n return `https://img.youtube.com/vi/${id}/0.jpg`;\n }\n return DefaultThumbnail;\n }\n if (/^(http|https):\\/\\/(www\\.)?.+\\.(jpg|jpeg|gif|png)$/.test(url)) {\n return url;\n }\n if (/^(http|https):\\/\\/(www\\.)?.+\\.(pdf)$/.test(url)) {\n return PdfThumbnail;\n }\n return DefaultThumbnail;\n};\n\nexport const getOrCreateTooltip = (chart) => {\n let tooltipEl = chart.canvas.parentNode.querySelector('div');\n\n if (!tooltipEl) {\n tooltipEl = document.createElement('div');\n tooltipEl.style.background = 'rgba(0, 0, 0, 0.7)';\n tooltipEl.style.borderRadius = '3px';\n tooltipEl.style.color = 'white';\n tooltipEl.style.opacity = 1;\n tooltipEl.style.pointerEvents = 'none';\n tooltipEl.style.position = 'absolute';\n tooltipEl.style.transform = 'translate(-50%, 0)';\n tooltipEl.style.transition = 'all .1s ease';\n\n const table = document.createElement('table');\n table.style.margin = '0px';\n\n tooltipEl.appendChild(table);\n chart.canvas.parentNode.appendChild(tooltipEl);\n }\n\n return tooltipEl;\n};\n\nexport const getPaginatedItems = (items, page, pageSize) => {\n const pg = page || 1;\n const pgSize = pageSize || 100;\n const offset = (pg - 1) * pgSize;\n const pagedItems = _.drop(items, offset).slice(0, pgSize);\n return {\n current: pg,\n pageSize: pgSize,\n total: items.length,\n total_pages: Math.ceil(items.length / pgSize),\n data: pagedItems,\n };\n};\n\nexport const createImage = (url) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n const image = new Image();\n image.addEventListener('load', () => resolve(image));\n image.addEventListener('error', (error) => reject(error));\n image.setAttribute('crossOrigin', 'anonymous'); // needed to avoid cross-origin issues on CodeSandbox\n image.src = url;\n });\n\nexport function getRadianAngle(degreeValue) {\n return (degreeValue * Math.PI) / 180;\n}\n\n/**\n * Returns the new bounding area of a rotated rectangle.\n */\nexport function rotateSize(width, height, rotation) {\n const rotRad = getRadianAngle(rotation);\n\n return {\n width: Math.abs(Math.cos(rotRad) * width) + Math.abs(Math.sin(rotRad) * height),\n height: Math.abs(Math.sin(rotRad) * width) + Math.abs(Math.cos(rotRad) * height),\n };\n}\n\nexport default async function getCroppedImg(\n imageSrc,\n pixelCrop,\n rotation = 0,\n flip = { horizontal: false, vertical: false }\n) {\n const image = await createImage(imageSrc);\n const canvas = document.createElement('canvas');\n const ctx = canvas.getContext('2d');\n\n if (!ctx) {\n return null;\n }\n\n const rotRad = getRadianAngle(rotation);\n\n const { width: bBoxWidth, height: bBoxHeight } = rotateSize(image.width, image.height, rotation);\n\n // set canvas size to match the bounding box\n canvas.width = bBoxWidth;\n canvas.height = bBoxHeight;\n\n // translate canvas context to a central location to allow rotating and flipping around the center\n ctx.translate(bBoxWidth / 2, bBoxHeight / 2);\n ctx.rotate(rotRad);\n ctx.scale(flip.horizontal ? -1 : 1, flip.vertical ? -1 : 1);\n ctx.translate(-image.width / 2, -image.height / 2);\n\n // draw rotated image\n ctx.drawImage(image, 0, 0);\n\n // croppedAreaPixels values are bounding box relative\n // extract the cropped image using these values\n const data = ctx.getImageData(pixelCrop.x, pixelCrop.y, pixelCrop.width, pixelCrop.height);\n\n // set canvas width to final desired crop size - this will clear existing context\n canvas.width = pixelCrop.width;\n canvas.height = pixelCrop.height;\n\n // paste generated rotate image at the top left corner\n ctx.putImageData(data, 0, 0);\n\n // As Base64 string\n // return canvas.toDataURL('image/jpeg');\n\n // As a blob\n // eslint-disable-next-line no-undef\n return new Promise((resolve) => {\n canvas.toBlob((file) => {\n resolve(URL.createObjectURL(file));\n }, 'image/jpeg');\n });\n}\nexport const randomColor = () => Math.floor(Math.random() * 16777215).toString(16);\n\nexport const searchLike = (str, search) => {\n if (!search) return true;\n return str.toLowerCase().includes(search.toLowerCase());\n};\n\nexport const removeHTMLTags = (values) => {\n const regex = /(<([^>]+)>)/gi;\n return values.replace(regex, '');\n};\n\nexport const renderKomponen = (detailTugas) => {\n if (detailTugas?.curriculum_component_description_object?.length) {\n const idx = detailTugas?.curriculum_component_description_object?.findIndex((i) => {\n const sc = i.sub_components.map((isc) => isc.name);\n if (i.name === detailTugas?.curriculum_component_description) {\n return true;\n }\n if (i.sub_components.length > 0 && sc.includes(detailTugas?.curriculum_component_description)) {\n return true;\n }\n return false;\n });\n if (idx < 0) {\n return {\n komponen: null,\n sub_component: null,\n };\n }\n const subIdx = detailTugas?.curriculum_component_description_object[idx].sub_components.findIndex(\n (i) => i.name === detailTugas?.curriculum_component_description\n );\n\n return {\n komponen: detailTugas?.curriculum_component_description_object[idx].name,\n sub_component:\n subIdx < 0 ? null : detailTugas?.curriculum_component_description_object[idx].sub_components[subIdx].name,\n };\n }\n return {\n komponen: null,\n sub_component: null,\n };\n};\n\nexport const safeScore = (newRange, existingRange) =>\n existingRange.max_score < newRange.min_score || newRange.max_score < existingRange.min_score;\n\nexport const limitArray = (arr, limit) => {\n if (arr.length > limit) {\n return arr.slice(0, limit);\n }\n return arr;\n};\n\nexport const getPdfImage = (blob) =>\n PDFJS.getDocument(blob).promise.then((pdf) =>\n pdf.getPage(1).then((page) => {\n const viewport = page.getViewport({ scale: 1 });\n const canvas = document.createElement('canvas');\n const context = canvas.getContext('2d');\n canvas.height = viewport.height;\n canvas.width = viewport.width;\n const renderContext = {\n canvasContext: context,\n viewport,\n };\n return page.render(renderContext).promise.then(() => canvas.toDataURL('image/jpeg'));\n })\n );\n\nexport const generateSignature = (path, token, method, timestamp, body) => {\n let pathWithSlash = path[0] === '/' ? path : `/${path}`;\n pathWithSlash = pathWithSlash.replace(/\\s/g, '+');\n if (pathWithSlash.includes('objects?path=')) {\n // get path= value\n const pathValue = pathWithSlash.split('path=')[1];\n const firstSplit = pathValue.split('&')[0];\n // check if firstSplit has \"/\" on last\n if (firstSplit[firstSplit.length - 1] === '/') {\n // firstSplit replace \"/\" to \"%2F\"\n const secondSplit = firstSplit.replace(/\\//g, '%2F');\n // replace firstSplit with secondSplit\n pathWithSlash = pathWithSlash.replace(firstSplit, secondSplit);\n }\n // pathWithSlash = pathWithSlash.replace(/\\s/g, ' ');\n // pathWithSlash = pathWithSlash.replace('+', ' ');\n // console.log('pathWithSlash', pathWithSlash);\n }\n if (pathWithSlash.includes('objects/generate-presign-url')) {\n // console.log('isPresign', pathWithSlash);\n // + to space\n pathWithSlash = pathWithSlash.replace(/\\+/g, ' ');\n }\n const _formatter = `path=${pathWithSlash}|method=${method}|token=${token}|timestamp=${timestamp}|body=${body}`;\n // console.log('payload', _formatter);\n const hmac = crypto.createHmac('sha256', process.env.REACT_APP_SECRET_KEY).update(_formatter, 'utf8', 'base64');\n return hmac.digest('base64');\n};\n\nexport const rupiahFormat = (number) => addComma(number, '.');\nexport const addComma = (value, replaceTo = ',') => value?.toString()?.replace(/\\B(?=(\\d{3})+(?!\\d))/g, replaceTo);\n\nexport const renderNisn = (val) => {\n if (val?.nis && val?.nisn) return `${val?.nis} / ${val?.nisn}`;\n if (val?.nis && !val?.nisn) return val?.nis;\n if (!val?.nis && val?.nisn) return val?.nisn;\n return '-';\n};\n\nexport const uniqueArray = (arr) => [...new Set(arr)];\n\nexport const handleSameAlamat = (val, type, currentValue) => {\n const newVal = { ...currentValue };\n ortuProfile.forEach((item) => {\n if (newVal[`same_${item.value}_address`]) {\n newVal[`${item.value}_${type}`] = val;\n }\n });\n newVal[`${type}`] = val;\n return newVal;\n};\n\nexport const containString = (str, search) => {\n if (!search || !str) {\n return true;\n }\n return str.toLowerCase().includes(search.toLowerCase());\n};\n\nexport const directLinkWithoutProxy = (fileId) =>\n encodeURIComponent(`https://drive.google.com/uc?export=view&id=${fileId}`);\nexport const directLinkGoogle = (fileId) =>\n `${BASE_PROXY ?? 'https://proxy-drive.siswamedia.com/'}?url=${directLinkWithoutProxy(fileId)}`;\nexport const proxyLink = (url) => `${BASE_PROXY}?url=${encodeURIComponent(url)}`;\nexport const directLinkGoogleWOProxy = (fileId) => `https://drive.google.com/uc?export=view&id=${fileId}`;\n\nexport const AES_KEY = 'goinitsecret32bitsupersecret';\nexport const AES_FRONT_KEY = 'AFd6N3v1ebLw711zxpZjxZ7iq4fYpNYa';\nexport const AES_FRONT_IV = 'MesA7nqIVa23b167';\nexport const capitalize = (str) => str.charAt(0).toUpperCase() + str.slice(1);\n","import { Spin } from 'antd';\n\nconst Loading = () => (\n
\n \n
\n);\n\nexport default Loading;\n","export default __webpack_public_path__ + \"static/media/money-stack-o.73674901.svg\";","export default __webpack_public_path__ + \"static/media/paper-white.793bd885.svg\";","export default __webpack_public_path__ + \"static/media/paper-pulse-white.661dd7a3.svg\";","export default __webpack_public_path__ + \"static/media/paper-edit-white.fde5ba0e.svg\";","export default __webpack_public_path__ + \"static/media/new-dashboard.375bc508.svg\";","export default __webpack_public_path__ + \"static/media/new-calender-o.3f9835e3.svg\";","export default __webpack_public_path__ + \"static/media/agenda-o.453b6801.svg\";","export default __webpack_public_path__ + \"static/media/file-shield-alt.537ae583.svg\";","export default __webpack_public_path__ + \"static/media/monitor-o.307c07e7.svg\";","export default __webpack_public_path__ + \"static/media/file-check-white-alt.1f087053.svg\";","export default __webpack_public_path__ + \"static/media/file-edit-alt.bcb9b787.svg\";","export default __webpack_public_path__ + \"static/media/podium.431f293b.svg\";","/* eslint-disable no-prototype-builtins */\nimport Icon, { InfoCircleFilled, SettingOutlined } from '@ant-design/icons';\nimport { Avatar, Button, Col, Grid, Menu, Row, Select, Tooltip, Typography } from 'antd';\nimport React, { useEffect, useState } from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { useHistory } from 'react-router-dom';\nimport { useTranslation } from 'react-i18next';\nimport { clearSetCurrentClass, getCurrentClass, getListClass, getUserProfile } from '@store/actions';\nimport {\n SVGBook,\n SVGForum,\n SVGForumGuru,\n SVGForumKelas,\n SVGForumSekolah,\n SVGJurnal,\n SVGKelasku,\n SVGLpa,\n SVGRekapNilai,\n SVGSettings,\n SVGUjian,\n} from '../../../assets';\nimport SVGPembayaran from '../../../assets/icon/svg/money-stack-o.svg';\nimport SVGRaporParent from '../../../assets/icon/svg/paper-white.svg';\nimport SVGRaporKuanti from '../../../assets/icon/svg/paper-pulse-white.svg';\nimport SVGRaporKuali from '../../../assets/icon/svg/paper-edit-white.svg';\nimport SVGDashboard from '../../../assets/icon/svg/new-dashboard.svg';\nimport SVGJadwal from '../../../assets/icon/svg/new-calender-o.svg';\nimport SVGAgenda from '../../../assets/icon/svg/agenda-o.svg';\nimport SVGBankSoal from '../../../assets/icon/svg/file-shield-alt.svg';\nimport SVGKegiatanBelajar from '../../../assets/icon/svg/monitor-o.svg';\nimport SVGAbsensi from '../../../assets/icon/svg/file-check-white-alt.svg';\nimport SVGTugas from '../../../assets/icon/svg/file-edit-alt.svg';\nimport SVGPodium from '../../../assets/icon/svg/podium.svg';\nimport defaultSchool from '../../../assets/icon/svg/school_default.svg';\nimport './menus.scss';\nimport { getSchoolById, switchClass } from '../../../redux/actions';\nimport IconCreate from '../../atoms/IconCreate';\n\nconst { SubMenu, Item } = Menu;\nconst isElipsis = (str) => str?.length > 16;\nconst renderTooltipWhenElipsis = (str, disabled = false) => {\n if (isElipsis(str) && !disabled) {\n return (\n \n {str}\n \n );\n }\n return str;\n};\n\nconst DefaultIconSchool = () => \"icon\";\nconst CDefaultIconSchool = () => ;\nconst renderMenu = (menu, setSelectedKey, history, siteType, isMobile = false) => {\n const click = (e) => {\n setSelectedKey(`/${e.path}`);\n history.push(`/${e.path}`, {\n state: e?.state ?? null,\n });\n };\n const sortIt = (childs) => {\n if (siteType === 'wakaf') {\n return childs.sort((a, b) => {\n if (a?.sequence || b?.sequence) {\n return (a?.sequence ?? 0) - (b?.sequence ?? 0);\n }\n return 0;\n });\n }\n return childs;\n };\n\n if (menu?.children) {\n if (menu.children.length > 1) {\n return (\n }\n >\n {sortIt(menu.children).map((child) => (\n click(child)} key={`/${child.path}`} icon={}>\n {renderTooltipWhenElipsis(child?.name ?? '', isMobile)}\n \n ))}\n \n );\n }\n const single = menu.children[0];\n if (single) {\n return (\n click(single)}\n key={`/${single?.path}`}\n icon={}\n >\n {renderTooltipWhenElipsis(single?.name ?? '', isMobile)}\n \n );\n }\n }\n if (menu.path === null) {\n return <>;\n }\n return (\n click(menu)} key={`/${menu.path}`} icon={}>\n {renderTooltipWhenElipsis(menu?.name ?? '', isMobile)}\n \n );\n};\n\nfunction Menus(props) {\n const stateGlobal = useSelector((state) => state);\n const whitelabelRoot = useSelector((state) => state.General.whitelabel);\n const findWlData = (key) => {\n if (whitelabelRoot?.length > 0) {\n const findSitename = whitelabelRoot.filter((e) => e.key === key);\n if (findSitename.length > 0) {\n return findSitename[0].value;\n }\n }\n return null;\n };\n const { xs } = Grid.useBreakpoint();\n const siteType = findWlData('site_type');\n const curClass = useSelector((state) => state.Role.value);\n const bodyWeight = useSelector((state) => state.Pengaturan.refBody);\n const whiteLabelData = useSelector((state) => state.General.whitelabel_data);\n const { t } = useTranslation();\n const dispatch = useDispatch();\n const [selectedKey, setSelectedKey] = useState(`${window.location.pathname}`);\n const [disallow_production, setDisallowProduction] = useState(process.env.REACT_APP_DISABLED_MENUS?.split(',') ?? []);\n const [state, setState] = useState({\n dataClass: [],\n currentClass: false,\n deleteModal: false,\n dataDelete: false,\n isSubmit: false,\n });\n const [myClass, setMyClass] = useState({});\n const [detailSchool, setDetailSchool] = useState({});\n const history = useHistory();\n const dataTop = [\n {\n id: 'dashboard',\n name: t('dashboard.menu'),\n icon: SVGDashboard,\n path: 'dashboard',\n access: ['SISWA', 'GURU', 'WALIKELAS', 'ORTU'],\n },\n {\n id: 'kelasku-revamp-siswa',\n name: t('kelasku.menu'),\n icon: SVGKelasku,\n path: 'revamp/class/view',\n state: myClass,\n access: ['SISWA'],\n },\n {\n id: 'kelasku-revamp-guru',\n name: t('kelasku.menu'),\n icon: SVGKelasku,\n path: 'revamp/class/view',\n access: ['GURU', 'WALIKELAS', 'ORTU'],\n },\n ];\n // const psbSekolah = [\n // {\n // id: 'psb',\n // name: 'PSB',\n // icon: SVGPsb,\n // path: null,\n // access: ['WALIKELAS', 'ADMIN'],\n // children: [\n // {\n // id: 'master-tahapan',\n // name: 'Data Tahapan',\n // icon: SVGPsb,\n // path: 'psb/master-tahapan',\n // access: ['WALIKELAS', 'ADMIN'],\n // },\n // {\n // id: 'master-gelombang',\n // name: 'Gelombang Pendaftaran',\n // icon: SVGPsb,\n // path: 'psb/gelombang',\n // access: ['WALIKELAS', 'ADMIN'],\n // },\n // ],\n // },\n // ];\n const kelasDigital = [\n {\n id: 'kelas-digital-main',\n name: t('rcb.menu'),\n icon: SVGRaporParent,\n path: null,\n access: ['GURU', 'WALIKELAS', 'ORTU', 'SISWA'],\n children: [\n {\n id: 'agenda',\n name: 'Pengumuman',\n icon: SVGAgenda,\n path: 'agenda',\n access: ['GURU', 'WALIKELAS', 'ORTU', 'SISWA'],\n },\n {\n id: 'revamp-jadwal',\n name: t('agenda.menu'),\n icon: SVGJadwal,\n path: 'revamp/jadwal',\n access: ['GURU', 'WALIKELAS', 'SISWA', 'ORTU'],\n },\n {\n id: 'lembar-materi',\n name: t('materi.LABEL_NAME'),\n icon: SVGBook,\n sequence: 1,\n path: 'lembar-materi',\n access: ['GURU', 'WALIKELAS', 'SISWA', 'ORTU'],\n },\n {\n id: 'bank-soal',\n name: t('bank_soal.menu'),\n icon: SVGBankSoal,\n path: 'bank-soal',\n access: ['GURU', 'WALIKELAS'],\n },\n ],\n },\n ];\n const laporanSiswa = [\n {\n id: 'laporan-main',\n name: t('kgb.menu'),\n icon: SVGKegiatanBelajar,\n path: null,\n access: ['GURU', 'WALIKELAS', 'ORTU', 'SISWA'],\n children: [\n {\n id: 'revamp-absensi',\n name: t('absensi.menu'),\n icon: SVGAbsensi,\n path: 'revamp/absensi',\n access: ['GURU', 'WALIKELAS', 'SISWA', 'ORTU'],\n },\n {\n id: 'tugas-revamp',\n sequence: 2,\n name: t('tugas.menu'),\n icon: SVGTugas,\n path: 'revamp/tugas',\n access: ['GURU', 'WALIKELAS', 'ORTU', 'SISWA'],\n },\n {\n id: 'ujian-guru',\n name: t('ujian.menu'),\n icon: SVGAbsensi,\n path: 'quiz',\n access: ['GURU', 'WALIKELAS'],\n },\n {\n id: 'ujian-siswa',\n name: t('ujian.menu'),\n icon: SVGUjian,\n path: 'ujian-siswa',\n access: ['SISWA', 'ORTU'],\n },\n {\n id: 'dokumen',\n name: t('dokumen.menu'),\n icon: SVGRaporParent,\n path: 'dokumen',\n access: ['GURU', 'WALIKELAS', 'SISWA', 'ORTU'],\n },\n {\n id: 'eperpus',\n name: t('eperpus.menu'),\n icon: SVGKelasku,\n path: 'eperpus',\n access: ['GURU', 'WALIKELAS', 'ORTU', 'SISWA'],\n },\n {\n id: 'revamp-konferensi',\n name: 'Kelas Online',\n icon: SVGPodium,\n path: 'revamp/conference',\n access: ['GURU', 'WALIKELAS', 'SISWA', 'ORTU'],\n },\n {\n id: 'jurnal-belajar',\n name: t('jurnal.LABEL_NAME'),\n icon: SVGJurnal,\n sequence: 1,\n path: 'jurnal-belajar',\n access: ['GURU', 'WALIKELAS', 'SISWA', 'ORTU'],\n },\n {\n id: 'blended-learning',\n name: 'Penjadwalan',\n icon: SVGKelasku,\n path: 'blended-learning',\n access: ['WALIKELAS', 'ADMIN'],\n },\n {\n id: 'blended-learning',\n name: 'Penjadwalan',\n icon: SVGKelasku,\n path: 'blended-learning/detail',\n access: ['ORTU'],\n },\n {\n id: 'laporan-nilai-siswa',\n name: `Laporan Nilai ${t('role.SISWA')}`,\n icon: SVGUjian,\n path: 'laporan-nilai-siswa',\n access: ['GURU', 'WALIKELAS'],\n },\n ],\n },\n ];\n const penilaianMain = [\n {\n id: 'penialian-main',\n name: 'Penilaian',\n icon: SVGRaporParent,\n path: null,\n access: ['WALIKELAS', 'ADMIN', 'ORTU', 'SISWA', 'GURU'],\n children: [\n {\n id: 'lpa',\n onlyTK: false,\n name: t('lpa.menu'),\n icon: SVGLpa,\n path: 'lpa',\n access: ['WALIKELAS', 'GURU'],\n },\n {\n id: 'lpa-report',\n onlyTK: false,\n name: t('lpa.menu'),\n icon: SVGUjian,\n path: 'lpa-report',\n access: ['ORTU', 'SISWA'],\n },\n {\n id: 'rekap-nilai-refactor',\n name: t('rekap_nilai.menu'),\n icon: SVGRekapNilai,\n access: ['GURU', 'WALIKELAS'],\n path: 'score-refactor',\n },\n {\n id: 'rapor-kuanti',\n name: 'Rapor Kuantitatif',\n icon: SVGRaporKuanti,\n path: 'rapor',\n access: ['WALIKELAS', 'ADMIN', 'ORTU', 'SISWA', 'GURU'],\n },\n {\n id: 'rapor-kuali',\n name: 'Rapor Kualitatif',\n icon: SVGRaporKuali,\n path: 'rapor-qualitative',\n access: ['WALIKELAS', 'ADMIN', 'ORTU', 'SISWA', 'GURU'],\n },\n ],\n },\n ];\n const pembayaranMain = [\n {\n id: 'tagihan-ortu',\n name: 'Pembayaran',\n icon: SVGPembayaran,\n path: 'tagihan-ortu',\n access: ['ORTU'],\n },\n {\n id: 'tagihan',\n name: 'Pembayaran',\n icon: SVGPembayaran,\n path: 'tagihan',\n access: ['ADMIN'],\n },\n ];\n const forumMain = [\n {\n id: 'forum',\n name: 'Forum',\n icon: SVGForum,\n path: null,\n access: ['WALIKELAS', 'ADMIN', 'ORTU', 'SISWA', 'GURU'],\n children: [\n {\n id: 'forum-sekolah',\n name: 'Forum Sekolah',\n icon: SVGForumSekolah,\n path: 'forum-sekolah',\n access: ['WALIKELAS', 'ADMIN', 'ORTU', 'SISWA', 'GURU'],\n },\n {\n id: 'forum-kelas',\n name: 'Forum Kelas',\n icon: SVGForumKelas,\n path: 'forum-kelas',\n access: ['WALIKELAS', 'ADMIN', 'ORTU', 'SISWA', 'GURU'],\n },\n {\n id: 'forum-guru',\n name: 'Forum Guru',\n icon: SVGForumGuru,\n path: 'forum-guru',\n access: ['WALIKELAS', 'ADMIN', 'GURU'],\n },\n ],\n },\n ];\n const settingMain = [\n {\n id: 'pengaturan',\n name: 'Pengaturan',\n icon: SVGSettings,\n path: 'pengaturan',\n access: ['ADMIN'],\n },\n ];\n const menus = [\n ...dataTop\n .concat(kelasDigital)\n .concat(laporanSiswa)\n .concat(penilaianMain)\n .concat(pembayaranMain)\n .concat(forumMain)\n .concat(settingMain),\n ];\n const renderStyles = () => {\n if (!xs) {\n return {\n height: bodyWeight,\n };\n }\n return undefined;\n };\n const checkRole = (e) => {\n if (disallow_production.includes(e.id)) {\n return false;\n }\n if (e.onlyTK && stateGlobal?.School?.schoolDetail?.grade && stateGlobal?.School?.schoolDetail?.grade !== 'TK') {\n return false;\n }\n if (e?.access) {\n if (e?.children) {\n e.children = e.children.filter((child) => checkRole(child));\n }\n if (e.access.includes('ADMIN') && curClass?.is_admin) {\n return true;\n }\n return e.access.includes(curClass.class_role);\n }\n return true;\n };\n useEffect(() => {\n if (stateGlobal.Role.value.class_role !== '') {\n dispatch(getCurrentClass());\n dispatch(getUserProfile());\n dispatch(getListClass(stateGlobal.Role.value));\n }\n }, [stateGlobal.Role.value]);\n useEffect(() => {\n if (stateGlobal.Class.listClass) {\n setMyClass(stateGlobal.Class.listClass.length > 0 ? stateGlobal.Class.listClass[0] : null);\n const data = stateGlobal.Class.listClass.length > 0 ? stateGlobal.Class.listClass : [];\n if (data) {\n setState({ ...state, dataClass: data });\n }\n }\n }, [stateGlobal.Class.listClass]);\n\n useEffect(() => {\n if (stateGlobal.Class.currentClass) {\n const data = stateGlobal.Class.currentClass ? stateGlobal.Class.currentClass : false;\n if (data) {\n setState({ ...state, currentClass: data });\n dispatch(clearSetCurrentClass());\n }\n }\n }, [stateGlobal.Class.currentClass]);\n\n useEffect(() => {\n if (stateGlobal.Class.setCurrentClass) {\n dispatch(getCurrentClass());\n dispatch(getListClass(stateGlobal.Role.value));\n }\n }, [stateGlobal.Class.setCurrentClass]);\n\n useEffect(() => {\n if (stateGlobal.Class.deleteClass) {\n setState({\n ...state,\n dataDelete: false,\n deleteModal: false,\n isSubmit: false,\n });\n dispatch(getCurrentClass());\n dispatch(getListClass(stateGlobal.Role.value));\n }\n }, [stateGlobal.Class.deleteClass]);\n\n useEffect(() => {\n if (curClass?.school_id) {\n dispatch(getSchoolById(curClass?.school_id)).then((e) => {\n setDetailSchool(e);\n });\n }\n }, [location.pathname]);\n\n useEffect(() => {\n if (whiteLabelData.hidden_menus && whiteLabelData.hidden_menus.length > 0) {\n setDisallowProduction(disallow_production.concat(whiteLabelData.hidden_menus));\n }\n }, [whiteLabelData.hidden_menus]);\n\n return (\n
\n
\n \n \n {detailSchool && detailSchool?.logo_image_url !== '' && (\n \n )}\n {detailSchool && detailSchool?.logo_image_url === '' && (\n }\n size={40}\n style={{\n color: 'var(--primary-color)',\n background: 'transparent',\n }}\n />\n )}\n {!detailSchool && (\n }\n size={40}\n style={{\n color: 'var(--primary-color)',\n background: 'transparent',\n }}\n />\n )}\n \n \n {stateGlobal.Role.value.class_role !== '' && (\n <>\n {\n history.push('/ganti-sekolah');\n }}\n >\n {state.currentClass.school_name}\n
\n \n )}\n \n \n \n \n {stateGlobal.Role.value.class_role === '' ? (\n }\n onClick={() => {\n history.push('/gabung-sekolah');\n }}\n >\n Gabung Sekolah\n \n ) : (\n <>\n e.class_id === state.currentClass.class_id).length > 0\n ? 'Pilih Kelas'\n : 'Kelas Tidak Ada'\n }\n style={{\n width: '100%',\n borderRadius: '14px !important',\n }}\n disabled={state.dataClass.length === 0}\n value={\n state.dataClass.filter((e) => e.id === state.currentClass.class_id).length > 0\n ? state.currentClass.class_id\n : null\n }\n onChange={(r) => {\n if (r) {\n dispatch(\n switchClass({\n id: r,\n })\n );\n } else {\n history.push('/pengaturan/kelas', {\n openModal: true,\n });\n }\n }}\n >\n {state.dataClass.map((r) => (\n \n {r.name}\n \n ))}\n {((curClass.class_role === 'WALIKELAS' && curClass.is_admin) || curClass.is_admin) && (\n \n Tambah Kelas Baru\n \n )}\n \n \n )}\n \n \n {stateGlobal.Role.value.class_role !== '' && (\n \n }\n onClick={() => {\n history.push('/revamp/class/view');\n }}\n />\n \n )}\n \n \n
\n
\n
\n
\n \n {menus.filter((e) => checkRole(e)).map((menu) => renderMenu(menu, setSelectedKey, history, siteType, xs))}\n \n
\n
\n
\n \n );\n}\n\nexport default Menus;\n","import { FileExcelFilled } from '@ant-design/icons';\nimport { Space } from 'antd';\n\nconst MultiAttachment = ({ attachments }) => (\n <>\n {attachments && (\n \n {attachments.map((row, i) => (\n \n \n \n \n \n ))}\n \n )}\n \n);\n\nexport default MultiAttachment;\n","import React from 'react';\nimport '@assets/scss/components/molecules/ItemClassMedia.scss';\nimport IconCreate from '../../atoms/IconCreate';\n\nconst ItemClassMedia = ({ name, icon, onClick }) => (\n
\n {\n svg.classList.add('svg-class-name');\n const el = [...svg.querySelectorAll('path')];\n const gEl = [...svg.querySelectorAll('line')];\n el.forEach((e) => {\n e.setAttribute('fill', 'var(--primary-color)');\n });\n gEl.forEach((e) => {\n e.setAttribute('stroke', 'var(--primary-color)');\n });\n svg.setAttribute('width', 32);\n svg.setAttribute('height', 32);\n }}\n />\n

{name}

\n
\n);\n\nexport default ItemClassMedia;\n","import React from 'react';\nimport { Button as Btn } from 'antd';\nimport '@assets/scss/components/atoms/Button.scss';\n\nconst Button = ({ text, htmlType }) => (\n \n

{text}

\n
\n);\n\nexport default Button;\n","import { Select as Choose } from 'antd';\n\nconst { Option } = Choose;\nconst Select = ({ data = [], onChange, ...props }) => {\n if (props.defaultValue) {\n return (\n \n {data != null &&\n data.length > 0 &&\n data.map((item, index) => (\n \n ))}\n \n );\n }\n return (\n \n {data != null &&\n data.length > 0 &&\n data.map((item, index) => (\n \n ))}\n \n );\n};\n\n// FYI : params text/value for get object from data\n\nexport default Select;\n","import axios from 'axios';\nimport { objectString } from '@utils';\nimport { BASE_EVALUASI } from '@http';\n\nconst headers = (token) => {\n let data = {\n 'Content-Type': 'application/json',\n };\n\n if (token) {\n data = {\n 'Content-Type': 'application/json',\n Authorization: `Bearer ${token}`,\n // \"X-Content-Type-Options\": \"nosniff\",\n // \"Access-Control-Allow-Origin\": \"*\",\n // \"Access-Control-Allow-Methods\": \"GET,HEAD,OPTIONS,POST,PUT\",\n // \"Access-Control-Allow-Headers\":\n // \"Origin, X-Requested-With, Content-Type, Accept, Authorization\",\n };\n }\n\n return data;\n};\n\nexport const requestPost = (url, params, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .post(`${BASE_EVALUASI}${url}`, params, {\n headers: headers(token),\n })\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestGet = (url, params, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .get(`${BASE_EVALUASI}${url}${params ? objectString(params) : ''}`, {\n headers: headers(token),\n })\n .then((response) => {\n resolve(response.data);\n })\n .then((error) => {\n reject(error);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestPut = (url, params, body, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .put(`${BASE_EVALUASI}${url}${params ? objectString(params) : ''}`, body, {\n headers: headers(token),\n })\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestDelete = (url, body, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .delete(`${BASE_EVALUASI}${url}`, {\n headers: headers(token),\n data: body,\n })\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestAnyGet = (url, params, headers) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .get(\n `${url}${objectString(params)}`,\n headers && {\n headers,\n }\n )\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\n","var _path;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgExclamationCircle(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M21.6004 11.9984C21.6004 17.3004 17.3023 21.5984 12.0004 21.5984C6.69846 21.5984 2.40039 17.3004 2.40039 11.9984C2.40039 6.6965 6.69846 2.39844 12.0004 2.39844C17.3023 2.39844 21.6004 6.6965 21.6004 11.9984ZM13.2004 16.7984C13.2004 17.4612 12.6631 17.9984 12.0004 17.9984C11.3376 17.9984 10.8004 17.4612 10.8004 16.7984C10.8004 16.1357 11.3376 15.5984 12.0004 15.5984C12.6631 15.5984 13.2004 16.1357 13.2004 16.7984ZM12.0004 5.99844C11.3376 5.99844 10.8004 6.5357 10.8004 7.19844V11.9984C10.8004 12.6612 11.3376 13.1984 12.0004 13.1984C12.6631 13.1984 13.2004 12.6612 13.2004 11.9984V7.19844C13.2004 6.5357 12.6631 5.99844 12.0004 5.99844Z\",\n fill: \"#E63A34\"\n })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgExclamationCircle);\nexport default __webpack_public_path__ + \"static/media/exclamation-circle.b3c0ec9e.svg\";\nexport { ForwardRef as ReactComponent };","import React from 'react';\n\nconst Gap = ({ width, height }) =>
;\n\nexport default Gap;\n","export const listAgamaOptions = [\n {\n label: 'Islam',\n value: 'Islam',\n },\n {\n label: 'Kristen',\n value: 'Kristen',\n },\n {\n label: 'Katolik',\n value: 'Katolik',\n },\n {\n label: 'Hindu',\n value: 'Hindu',\n },\n {\n label: 'Buddha',\n value: 'Buddha',\n },\n {\n label: 'Konghucu',\n value: 'Konghucu',\n },\n];\n\nexport const defaultProfile = {\n accepted_in_instution_on: '',\n address: '',\n birth_date: '',\n birth_place: '',\n blood_type: '',\n body_abnormality: '',\n child_family_status: '',\n child_sequence: '',\n child_status: '',\n city_id: '',\n city_name: '',\n desa_id: '',\n desa_name: '',\n detail_address: '',\n district_id: '',\n district_name: '',\n email: '',\n father_address: '',\n father_city_id: '',\n father_city_name: '',\n father_district_id: '',\n father_district_name: '',\n father_name: '',\n father_occupation: '',\n father_phone_number: '',\n father_province_id: '',\n father_province_name: '',\n father_religion: '',\n father_status: '',\n full_name: '',\n gender: '',\n guardian_address: '',\n guardian_city_id: '',\n guardian_city_name: '',\n guardian_district_id: '',\n guardian_district_name: '',\n guardian_name: '',\n guardian_occupation: '',\n guardian_phone_number: '',\n guardian_province_id: '',\n guardian_province_name: '',\n guardian_religion: '',\n guardian_status: '',\n id: '',\n image: '',\n is_no_classes: '',\n is_no_courses: '',\n is_no_schools: '',\n kabupaten_id: '',\n kabupaten_name: '',\n kecamatan_id: '',\n kecamatan_name: '',\n latest_education: '',\n mother_address: '',\n mother_city_id: '',\n mother_city_name: '',\n mother_district_id: '',\n mother_district_name: '',\n mother_name: '',\n mother_occupation: '',\n mother_phone_number: '',\n mother_province_id: '',\n mother_province_name: '',\n mother_religion: '',\n mother_status: '',\n nick_name: '',\n nisn: '',\n no_telp: '',\n origin_of_the_institution: '',\n pantau_active: '',\n profile_image_id: '',\n province_id: '',\n province_name: '',\n provinsi_id: '',\n provinsi_name: '',\n religion: '',\n same_father_address: '',\n same_guardian_address: '',\n same_mother_address: '',\n school_distance: '',\n token_pantau: '',\n total_sibling: '',\n user_id: '',\n extracurricular: [],\n};\n\nexport const ortuProfile = [\n {\n title: 'Ayah',\n label: 'ayah',\n value: 'father',\n },\n { title: 'Ibu', label: 'ibu', value: 'mother' },\n {\n title: 'Wali',\n label: 'wali',\n value: 'guardian',\n },\n];\n","export default __webpack_public_path__ + \"static/media/google-docs.026077ef.svg\";","import axios from 'axios';\nimport { requestGet } from '@configs';\nimport { BASE_API_URL, BASE_VERSION } from '@http';\nimport { showLoading } from '@store/actions';\nimport {\n GET_ALL_GRADING_PENILAIAN,\n GET_COURSE_PENGAJUAN,\n GET_DETAIL_NILAI,\n GET_DETAIL_SCORE_BY_SISWA,\n GET_NILAI_BY_STUDENT,\n GET_PENGAJUAN_MAPEL,\n GET_STUDENT_DETAIL_TASK,\n GET_STUDENT_NILAI,\n GET_STUDENT_SCORE,\n GET_STUDENT_SCORE_ALL,\n GET_SUBMITTED_COURSE,\n} from '@type';\nimport { getUserToken } from '@utils';\nimport { notification } from 'antd';\nimport { BASE_EXAM, BASE_REKAP_NILAI } from '../../../../constants/initHttp';\nimport { reportSentry } from '../../../../utils/Utils';\nimport { GET_ONE_GRADING_PENILAIAN } from '../../../../constants/initType';\nimport { showError } from '../../../../utils/showError';\n\nconst { CancelToken } = axios;\n\nexport const getStudentNilai = (classId) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const res = await requestGet(`classes/${classId}/students`, null, getUserToken());\n\n dispatch({ type: GET_STUDENT_NILAI, value: res.data });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const getRekapByStudent = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const res = await requestGet('rekap-nilai', params, getUserToken());\n\n dispatch({ type: GET_NILAI_BY_STUDENT, value: res.data });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const getRekapDetail = (courseId, params) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n const res = await requestGet(`rekap-nilai/${courseId}`, params, getUserToken());\n\n dispatch({ type: GET_DETAIL_NILAI, value: res.data });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const getDownloadFile = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n await axios({\n url: `${BASE_API_URL}${BASE_VERSION}rekap-nilai/${params.course_id}/download`,\n method: 'GET',\n headers: {\n Authorization: getUserToken(),\n },\n responseType: 'blob',\n params: {\n user_id: params.user_id,\n },\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', 'Rekap Nilai.xlsx');\n document.body.appendChild(link);\n link.click();\n });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const getDownloadFileV2 = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n return fetch(`${BASE_API_URL}${BASE_VERSION}rekap-nilai/${params.course_id}/download?user_id=${params.user_id}`, {\n headers: {\n Authorization: getUserToken(),\n },\n })\n .then(async (res) => {\n if (res.status > 300 || res.status < 200) {\n const resMessage = await res.text();\n throw new Error(resMessage);\n }\n\n const blob = await res.blob();\n const result = {\n filename: 'Rekap Nilai.xlsx',\n blob,\n };\n return result;\n })\n .then((res) => res)\n .catch((error) => {\n notification.error({\n message: 'Mohon Maaf!',\n description: error.message,\n });\n reportSentry(error);\n })\n .finally(() => {\n dispatch(showLoading(false));\n });\n};\n\nexport const getSubmittedCourse = (page, limit, class_id, school_id, role, status, name, semester = '') => {\n const api = async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .get(\n `${BASE_REKAP_NILAI}v1/api/scoresubmission/submitlist?page=${page}&limit=${limit}\n &order_by=def.created_at&sort=ASC&class_id=${class_id}&school_id=${school_id}&role=${role}&status=${status}&name=${name}&semester=${semester}`,\n {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n }\n )\n .then((response) => {\n dispatch({\n type: GET_SUBMITTED_COURSE,\n value: response.data.data,\n });\n })\n .catch((error) => {\n reportSentry(error);\n notification.error({\n message: 'Gagal!',\n description: showError(error?.response?.data?.message),\n });\n });\n dispatch(showLoading(false));\n return api;\n };\n return api;\n};\nexport const getListPengajuanMapel = (\n type,\n page,\n limit,\n course_id,\n school_id,\n search = '',\n scoringType = '',\n schoolExamType = ''\n) => {\n const dp = async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .get(\n `${BASE_REKAP_NILAI}v1/api/${\n type === 'exam' ? 'schoolExamCourse' : 'assessment'\n }?page=${page}&limit=${limit}&order_by=def.created_at&sort=ASC&course_id=${course_id}&search=${search}&scoring_type=${scoringType}&exam_type_id=${schoolExamType}`,\n {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n }\n )\n .then((response) => {\n dispatch({\n type: GET_PENGAJUAN_MAPEL,\n value: response.data.data,\n });\n })\n .catch((error) => {\n reportSentry(error);\n notification.error({\n message: 'Gagal!',\n description: showError(error?.response?.data?.message),\n });\n });\n dispatch(showLoading(false));\n return api;\n };\n return dp;\n};\nexport const getListStudentScore = (type, page, limit, class_id, score_id, name = '') => {\n const dp = async (dispatch) => {\n const api = await axios\n .get(\n `${BASE_REKAP_NILAI}v1/api/scoresubmission/score/students?page=${page}&limit=${limit}&order_by=def.created_at&sort=ASC&class_id=${class_id}&score_id=${score_id}&type=${type}&name=${name}`,\n {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n }\n )\n .then((response) => {\n dispatch({\n type: GET_STUDENT_SCORE,\n value: response.data.data,\n });\n })\n .catch((error) => {\n reportSentry(error);\n notification.error({\n message: 'Gagal!',\n description: showError(error?.response?.data?.message),\n });\n });\n return api;\n };\n return dp;\n};\nexport const submitStudentScore = (data) => async () => {\n const api = await axios\n .post(`${BASE_REKAP_NILAI}v1/api/scoresubmission/submitscore`, data, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n if (response.status === 200) {\n return true;\n }\n })\n .catch((error) => {\n notification.error({\n message: 'Gagal!',\n description: showError(error?.response?.data?.message),\n });\n reportSentry(error);\n });\n return api;\n};\nexport const changeStatus = (data, id) => async () => {\n const api = await axios\n .put(`${BASE_REKAP_NILAI}v1/api/scoresubmission/updatestatus/${id}`, data, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n if (response.status === 200) {\n return true;\n }\n })\n .catch((error) => {\n notification.error({\n message: 'Gagal!',\n description: showError(error?.response?.data?.message),\n });\n reportSentry(error);\n });\n return api;\n};\n\nexport const downloadTemplateRekap = (data) => async () => {\n const api = await axios({\n method: 'GET',\n url: `${BASE_REKAP_NILAI}v1/api/report/template`,\n headers: { Authorization: `Bearer ${getUserToken()}` },\n responseType: 'blob',\n params: data,\n })\n .then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', response.headers.filename);\n document.body.appendChild(link);\n link.click();\n })\n .catch((error) =>\n notification.error({\n message: 'Gagal!',\n description: showError(error?.response?.data?.message),\n })\n );\n return api;\n};\n\nexport const getScoreByStudent = (page, limit, course_id, name) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios\n .get(\n `${BASE_REKAP_NILAI}v1/api/scoresubmission/walikelas/conclusion?page=${page}&limit=${limit}&sort=asc&course_Id=${course_id}&name=${\n name || ''\n }`,\n {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n }\n )\n .then((response) => {\n dispatch({\n type: GET_DETAIL_SCORE_BY_SISWA,\n value: response.data.data,\n });\n })\n .catch((error) => {\n reportSentry(error);\n notification.error({\n message: 'Gagal!',\n description: showError(error?.response?.data?.message),\n });\n });\n dispatch(showLoading(false));\n return api;\n};\nexport const getStudentTaskDetail = (page, limit, course_id, student_id) => async (dispatch) => {\n const api = await axios\n .get(\n `${BASE_REKAP_NILAI}v1/api/scoresubmission/student/taskdetail?page=${page}&limit=${limit}&sort=ASC&course_Id=${course_id}&user_id=${student_id}`,\n {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n }\n )\n .then((response) => {\n dispatch({\n type: GET_STUDENT_DETAIL_TASK,\n value: response.data.data,\n });\n })\n .catch((error) => {\n reportSentry(error);\n notification.error({\n message: 'Gagal!',\n description: showError(error?.response?.data?.message),\n });\n });\n return api;\n};\n\nexport const importPengajuan = (data) => async () => {\n const api = await axios\n .post(`${BASE_REKAP_NILAI}v1/api/report/import`, data, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n if (response.status === 200) {\n return true;\n }\n })\n .catch((error) => {\n reportSentry(error);\n notification.error({\n message: 'Gagal!',\n description: showError(error?.response?.data?.message),\n });\n });\n return api;\n};\n\nexport const submitPengajuan = (data, id) => async () => {\n const api = await axios\n .put(`${BASE_REKAP_NILAI}v1/api/scoresubmission/submitstatus/${id}`, data, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n if (response.status === 200) {\n return true;\n }\n })\n .catch((error) => {\n notification.error({\n message: 'Gagal!',\n description: showError(error?.response?.data?.message, 'pengajuan'),\n });\n reportSentry(error);\n });\n return api;\n};\n\nexport const getCoursePengajuan = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios({\n url: `${BASE_REKAP_NILAI}v1/api/course`,\n method: 'GET',\n params,\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n dispatch({\n type: GET_COURSE_PENGAJUAN,\n value: response.data.data,\n });\n })\n .catch((error) => {\n reportSentry(error);\n notification.error({\n message: 'Gagal!',\n description: showError(error?.response?.data?.message),\n });\n });\n dispatch(showLoading(false));\n return api;\n};\nexport const getAllGrading = (params) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios({\n url: `${BASE_REKAP_NILAI}v1/api/gradeSetting`,\n method: 'GET',\n params,\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n dispatch({\n type: GET_ALL_GRADING_PENILAIAN,\n value: response.data.data,\n });\n })\n .catch((error) => {\n reportSentry(error);\n notification.error({\n message: 'Gagal!',\n description: showError(error?.response?.data?.message),\n });\n });\n dispatch(showLoading(false));\n return api;\n};\nexport const getOneGrading = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios({\n url: `${BASE_REKAP_NILAI}v1/api/gradeSetting/id/${id}`,\n method: 'GET',\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n dispatch({\n type: GET_ONE_GRADING_PENILAIAN,\n value: response.data.data,\n });\n })\n .catch((error) => {\n reportSentry(error);\n notification.error({\n message: 'Gagal!',\n description: showError(error?.response?.data?.message),\n });\n });\n dispatch(showLoading(false));\n return api;\n};\n\nexport const addGrading = (data) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios({\n url: `${BASE_REKAP_NILAI}v1/api/gradeSetting`,\n method: 'POST',\n data,\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n if (response?.data?.code === 200) {\n return true;\n }\n })\n .catch((error) => {\n reportSentry(error);\n notification.error({\n message: 'Gagal!',\n description: showError(error?.response?.data?.message),\n });\n });\n dispatch(showLoading(false));\n return api;\n};\n\nexport const updateGrading = (data, id) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios({\n url: `${BASE_REKAP_NILAI}v1/api/gradeSetting/id/${id}`,\n method: 'PUT',\n data,\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n if (response?.data?.code === 200) {\n return true;\n }\n })\n .catch((error) => {\n reportSentry(error);\n notification.error({\n message: 'Gagal!',\n description: showError(error?.response?.data?.message),\n });\n });\n dispatch(showLoading(false));\n return api;\n};\n\nexport const deleteGrading = (id) => async (dispatch) => {\n dispatch(showLoading(true));\n const api = await axios({\n url: `${BASE_REKAP_NILAI}v1/api/gradeSetting/id/${id}`,\n method: 'DELETE',\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n if (response?.data?.code === 200) {\n return true;\n }\n })\n .catch((error) => {\n reportSentry(error);\n notification.error({\n message: 'Gagal!',\n description: showError(error?.response?.data?.message),\n });\n });\n dispatch(showLoading(false));\n return api;\n};\n\nexport const getListStudentScoreAll = (type, page, limit, class_id, score_id, name = '') => {\n const dp = async (dispatch) => {\n const api = await axios\n .get(\n `${BASE_REKAP_NILAI}v1/api/scoresubmission/score/students/all?order_by=def.created_at&sort=ASC&class_id=${class_id}&score_id=${score_id}&type=${type}&name=${name}`,\n {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n }\n )\n .then((response) => {\n dispatch({\n type: GET_STUDENT_SCORE_ALL,\n value: response.data.data,\n });\n })\n .catch((error) => {\n reportSentry(error);\n });\n return api;\n };\n return dp;\n};\n\nexport const exportScoreExam = (scoreID) => async (dispatch) => {\n dispatch(showLoading(true));\n try {\n await axios({\n url: `${BASE_EXAM}export/score/${scoreID}`,\n method: 'GET',\n headers: {\n Authorization: `Bearer ${getUserToken()}`,\n },\n responseType: 'blob',\n }).then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', 'Nilai Ujian.xlsx');\n document.body.appendChild(link);\n link.click();\n });\n } catch (error) {\n // notification.error({\n // message: 'Mohon Maaf!',\n // description: 'Silahkan Hubungi Customer Service Kami',\n // });\n }\n dispatch(showLoading(false));\n};\n\nexport const getScoreRecap = (params) => async () => {\n const api = await axios\n .get(`${BASE_REKAP_NILAI}v1/api/scoreRecap`, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n params,\n })\n .then((response) => response.data)\n .catch((error) => {\n reportSentry(error);\n notification.error({\n message: 'Gagal!',\n description: showError(error?.response?.data?.message),\n });\n return false;\n });\n return api;\n};\nexport const getScoreRecapDetail = (id) => async () => {\n const api = await axios\n .get(`${BASE_REKAP_NILAI}v1/api/scoreRecap/detail/${id}`, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => response.data)\n .catch((error) => {\n reportSentry(error);\n notification.error({\n message: 'Gagal!',\n description: showError(error?.response?.data?.message),\n });\n });\n return api;\n};\n\nexport const importScoreRecapTemplate = (params) => async () => {\n const api = await axios\n .get(`${BASE_REKAP_NILAI}v1/api/scoring/import/template`, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n params,\n responseType: 'blob',\n })\n .then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', response.headers.filename);\n document.body.appendChild(link);\n link.click();\n })\n .catch((error) => {\n reportSentry(error);\n notification.error({\n message: 'Kesalahan pengunduhan template',\n description:\n 'File anda belum berhasil diunduh karena kurikulum komponen belum terisi. Silahkan lengkapi terlebih dahulu dan coba kembali. Hubungi admin jika kendala ini masih terjadi.',\n });\n // return false;\n });\n return api;\n};\nexport const postRekapNilai = (data) => async () => {\n const api = await axios({\n url: `${BASE_REKAP_NILAI}v1/api/scoring`,\n method: 'POST',\n data,\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then(() => true)\n .catch((error) => {\n reportSentry(error);\n // notification.error({\n // message: \"Gagal!\",\n // description: showError(error?.response?.data?.message),\n // });\n return false;\n });\n return api;\n};\n\nexport const exportRekapNilai = (id, data, progress = () => {}, cancellation = () => {}) => async () => {\n const api = await axios({\n url: `${BASE_REKAP_NILAI}v1/api/scoring/import/${id}`,\n method: 'POST',\n data,\n headers: {\n Authorization: `Bearer ${getUserToken()}`,\n 'Content-Type': 'multipart/form-data',\n },\n onUploadProgress: (progressEvent) => {\n progress(progressEvent);\n },\n cancelToken: new CancelToken((c) => {\n cancellation(c);\n }),\n })\n .then(() => ({ isError: false, data: null }))\n .catch((error) => {\n reportSentry(error);\n if (error.response?.data?.code === 500 && !error.response?.data?.data) {\n notification.error({\n message: 'Gagal',\n description: error.response?.data?.message,\n });\n }\n return { isError: true, data: error.response?.data?.data };\n });\n return api;\n};\n\nexport const getScoreRecapDetailHistory = (params) => async () => {\n const api = await axios\n .get(`${BASE_REKAP_NILAI}v1/api/courseFinalScoreHistory`, {\n headers: { Authorization: `Bearer ${getUserToken()}` },\n params,\n })\n .then((response) => response.data)\n .catch((error) => {\n reportSentry(error);\n notification.error({\n message: 'Gagal!',\n description: showError(error?.response?.data?.message),\n });\n });\n return api;\n};\n\nexport const updateFinalScore = (data) => async () => {\n const api = await axios({\n url: `${BASE_REKAP_NILAI}v1/api/courseFinalScore`,\n method: 'POST',\n data,\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n if (response?.data?.code === 200) {\n return true;\n }\n return false;\n })\n .catch((error) => {\n reportSentry(error);\n return false;\n });\n return api;\n};\nexport const updateStatusScore = (data) => async () => {\n const api = await axios({\n url: `${BASE_REKAP_NILAI}v1/api/courseScoringStatus`,\n method: 'POST',\n data,\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n if (response?.data?.code === 200) {\n return true;\n }\n return false;\n })\n .catch((error) => {\n reportSentry(error);\n return false;\n });\n return api;\n};\nexport const checkScoringStatus = (data) => async () => {\n const api = await axios({\n url: `${BASE_REKAP_NILAI}v1/api/courseScoringStatus/check`,\n method: 'POST',\n data,\n headers: { Authorization: `Bearer ${getUserToken()}` },\n })\n .then((response) => {\n // console.log(response);\n if (response?.data?.code === 200) {\n return true;\n }\n return false;\n })\n .catch((error) => {\n reportSentry(error);\n return false;\n });\n return api;\n};\n","import { AxiosInject, getUserToken } from '../../../../../utils/Utils';\nimport { BASE_REKAP_NILAI } from '../../../../../constants/initHttp';\n\nexport const generateRaportQuali = (id) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n\n return async () =>\n await httpInjector\n .get(`v1/api/reportQualitativeScorePdf/generate/${id}`, {\n responseType: 'blob',\n })\n .then((r) => r)\n .catch(r);\n};\nexport const generateRaportQuanti = (id) => {\n const httpInjector = AxiosInject(BASE_REKAP_NILAI, 'Bearer', getUserToken());\n\n return async () =>\n await httpInjector\n .get(`v1/api/reportUserPdf/generate/${id}`, {\n responseType: 'blob',\n })\n .then((r) => r)\n .catch(r);\n};\n","export default __webpack_public_path__ + \"static/media/open.4aaa4855.svg\";","// Auth\nexport const AUTH_USER = 'AUTH_USER';\nexport const AUTH_PROFILE = 'AUTH_PROFILE';\nexport const AUTH_EDIT = 'AUTH_EDIT';\nexport const AUTH_FILE = 'AUTH_FILE';\n\n// Role\nexport const GET_ROLE = 'GET_ROLE';\nexport const SET_ROLE = 'SET_ROLE';\nexport const CHANGE_SCHOOL = 'CHANGE_SCHOOL';\nexport const STATUS_ROLE = 'STATUS_ROLE';\n\n// General\nexport const SET_LOADING = 'SET_LOADING';\nexport const IS_SUCCESS = 'IS_SUCCESS';\nexport const IS_UPLOAD_SUCCESS = 'IS_UPLOAD_SUCCESS';\nexport const SAVE_STATE_FOR_CHANGE_ROLE = 'SAVE_STATE_FOR_CHANGE_ROLE';\nexport const UPLOAD = 'UPLOAD';\nexport const SCHOOL_YEAR = 'SCHOOL_YEAR';\nexport const WHITELABEL_CONFIG = 'WHITELABEL_CONFIG';\n\n//= =============MediaKelas================//\n// Absensi\nexport const ABSENCE_GURU = 'ABSENCE_GURU';\nexport const ABSENCE_SISWA = 'ABSENCE_SISWA';\nexport const ABSENCE_CLASS_SUMMARY = 'ABSENCE_CLASS_SUMMARY';\nexport const ABSENCE_BY_COURSE_BY_DATE = 'ABSENCE_BY_COURSE_BY_DATE ';\nexport const ABSENCE_BY_COURSE_BY_MONTH = 'ABSENCE_BY_COURSE_BY_MONTH ';\nexport const LIST_PERMIT = 'LIST_PERMIT ';\n\n// Tugas\nexport const TUGAS_SISWA = 'TUGAS_SISWA';\nexport const TUGAS_SISWA_HISTORY = 'TUGAS_SISWA_HISTORY';\nexport const TUGAS_GURU = 'TUGAS_GURU';\nexport const TUGAS_GURU_HISTORY = 'TUGAS_GURU_HISTORY';\nexport const TUGAS_DETAIL = 'TUGAS_DETAIL';\nexport const TUGAS_DETAIL_REFERENCE = 'TUGAS_DETAIL_REFERENCE';\nexport const TUGAS_REFERENCE = 'TUGAS_REFERENCE';\nexport const PUT_TUGAS_SISWA = 'PUT_TUGAS_SISWA';\nexport const CREATE_TUGAS = 'CREATE_TUGAS';\nexport const GET_ASSESSMENT_STUDENT_REFERENCE = 'GET_ASSESSMENT_STUDENT_REFERENCE';\nexport const DETAIL_HISTORY = 'DETAIL_HISTORY';\nexport const PUT_ASSESSMENT_STUDENT = 'PUT_ASSESSMENT_STUDENT';\n\n// Jadwal\nexport const GET_SCHEDULES = 'GET_SCHEDULES';\nexport const CREATE_SCHEDULE = 'CREATE_SCHEDULE';\n\n// Konferensi\nexport const GET_CONFERENCE = 'GET_CONFERENCE';\nexport const CREATE_CONFERENCE = 'CREATE_CONFERENCE';\nexport const DELETE_CONFERENCE = 'DELETE_CONFERENCE';\nexport const GET_CONFERENCE_SISWA = 'GET_CONFERENCE_SISWA';\nexport const UPDATE_CONFERENCE = 'UPDATE_CONFERENCE';\n\n// Kelasku\nexport const GET_CLASSES = 'GET_CLASSES';\nexport const CREATE_CLASS = 'CREATE_CLASS';\nexport const UPDATE_CLASS = 'UPDATE_CLASS';\nexport const DELETE_CLASS = 'DELETE_CLASS';\nexport const GET_SCHOOL_ME = 'GET_SCHOOL_ME';\nexport const DETAIL_SCHOOL = 'DETAIL_SCHOOL';\nexport const GET_CURRENT_CLASS = 'GET_CURRENT_CLASS';\nexport const SET_CURRENT_CLASS = 'SET_CURRENT_CLASS';\nexport const GET_CLASS_ME = 'GET_CLASS_ME';\nexport const GET_CLASS_BY_SCHOOL = 'GET_CLASS_BY_SCHOOL';\nexport const GET_COURSE_BY_CLASS = 'GET_COURSE_BY_CLASS';\nexport const GET_COURSE_BY_SCHOOL = 'GET_COURSE_BY_SCHOOL';\nexport const GET_TEACHER_BY_CLASS = 'GET_TEACHER_BY_CLASS';\nexport const SET_WALIKELAS = 'SET_WALIKELAS';\nexport const GET_STUDENT_BY_CLASS = 'GET_STUDENT_BY_CLASS';\nexport const GET_MAPEL_BY_CLASS = 'GET_MAPEL_BY_CLASS';\nexport const CREATE_MAPEL = 'CREATE_MAPEL';\nexport const UPDATE_MAPEL = 'UPDATE_MAPEL';\nexport const DELETE_MAPEL = 'DELETE_MAPEL';\nexport const DELETE_STUDENT = 'DELETE_STUDENT';\nexport const GET_SYNC_CLASS = 'GET_SYNC_CLASS';\nexport const GET_SYNC_STUDENT = 'GET_SYNC_STUDENT';\nexport const GET_SYNC_TEACHER = 'GET_SYNC_TEACHER';\nexport const CREATE_SYNC_CLASS = 'CREATE_SYNC_CLASS';\n\n// Ujian\nexport const GET_QUIZ_PERSONAL = 'GET_QUIZ_PERSONAL';\nexport const GET_LIST_BANK_SOAL = 'GET_LIST_BANK_SOAL';\nexport const GET_COURSE_BANK_SOAL = 'GET_COURSE_BANK_SOAL';\nexport const GET_LIST_MASTER_SOAL = 'GET_LIST_MASTER_SOAL';\nexport const GET_SOAL_BANK_SOAL = 'GET_SOAL_BANK_SOAL';\nexport const UPDATE_QUIZ = 'UPDATE_QUIZ';\nexport const DELETE_QUIZ = 'DELETE_QUIZ';\nexport const GET_DETAIL_QUIZ = 'GET_DETAIL_QUIZ';\nexport const GET_QUIZ_JAWABAN = 'GET_QUIZ_JAWABAN';\n\n// Ujian Student\nexport const CREATE_QUIZ_BANK_SOAL = 'CREATE_QUIZ_BANK_SOAL';\nexport const CREATE_ANSWER_QUIZ_BANK_SOAL = 'CREATE_ANSWER_QUIZ_BANK_SOAL';\nexport const GET_QUIZ_DETAIL = 'GET_QUIZ_DETAIL';\nexport const GET_QUIZ_SOAL = 'GET_QUIZ_SOAL';\n\n// Ujian Siswa Refactor\nexport const FETCH_STUDENT_EXAM = 'FETCH_STUDENT_EXAM';\nexport const FETCH_EXAM_QUESTION = 'FETCH_EXAM_QUESTION';\nexport const READ_STUDENT_EXAM = 'READ_STUDENT_EXAM';\nexport const READ_QNA_EXAM = 'READ_QNA_EXAM';\nexport const SUBMIT_FACE_DETECTION = 'SUBMIT_FACE_DETECTION';\nexport const START_EXAM = 'START_EXAM';\nexport const SUBMIT_CHANGE_TAB = 'SUBMIT_CHANGE_TAB';\nexport const SUBMIT_STUDENT_EXAM = 'SUBMIT_STUDENT_EXAM';\nexport const COLLECT_ANSWER = 'COLLECT_ANSWER';\n\n// Forum\nexport const FETCH_FORUM = 'FETCH_FORUM';\nexport const CREATE_FORUM = 'CREATE_FORUM';\nexport const READ_FORUM = 'READ_FORUM';\nexport const UPDATE_FORUM = 'UPDATE_FORUM';\nexport const CREATE_FORUM_COMMENT = 'CREATE_FORUM_COMMENT';\n\n// GDRIVE\nexport const ADD_FILE_GDRIVE = 'ADD_FILE_GDRIVE';\nexport const READ_FILE_GDRIVE = 'READ_FILE_GDRIVE';\n\n// Dokumen\nexport const GET_DOCUMENTS = 'GET_DOCUMENTS';\n\n// Nilai\nexport const GET_STUDENT_NILAI = 'GET_STUDENT_NILAI';\nexport const GET_NILAI_BY_STUDENT = 'GET_NILAI_BY_STUDENT';\nexport const GET_DETAIL_NILAI = 'GET_DETAIL_NILAI';\n\n// Jurnal Belajar\nexport const CREATE_JURNAL_BELAJAR = 'CREATE_JURNAL_BELAJAR';\nexport const LIST_JURNAL_BELAJAR = 'LIST_JURNAL_BELAJAR';\nexport const JURNAL_BELAJAR_DETAIL = 'JURNAL_BELAJAR_DETAIL';\nexport const LIST_JURNAL_BELAJAR_DRAGGABLE = 'LIST_JURNAL_BELAJAR_DRAGGABLE';\n\n//= ======================================//\n\n// WILAYAH\nexport const KECAMATAN = 'KECAMATAN';\nexport const KOTA = 'KOTA';\nexport const PROVINSI = 'PROVINSI';\n\n// SEKOLAH\nexport const JOIN_SCHOOLS = 'JOIN_SCHOOLS';\nexport const JOIN_CLASSES = 'JOIN_CLASS';\nexport const LIST_SCHOOL = 'LIST_SCHOOL';\n\nexport const JURNAL_BELAJAR_TUGAS = 'JURNAL_BELAJAR_TUGAS';\nexport const JURNAL_BELAJAR_UJIAN = 'JURNAL_BELAJAR_UJIAN';\n\n// Evaluasi\nexport const LIST_TEMA = 'LIST_TEMA';\nexport const CREATE_TEMA = 'CREATE_TEMA';\nexport const CREATE_JP = 'CREATE_JP';\nexport const DELETE_TEMA = 'DELETE_TEMA';\nexport const UPDATE_TEMA = 'UPDATE_TEMA';\n\nexport const KARAKTER_UTAMA_CREATE = 'KARAKTER_UTAMA_CREATE';\nexport const KARAKTER_UTAMA_DELETE = 'KARAKTER_UTAMA_DELETE';\nexport const KARAKTER_UTAMA_UPDATE = 'KARAKTER_UTAMA_UPDATE';\n\nexport const LIST_DETAIL_KD = 'LIST_DETAIL_KD';\nexport const CREATE_DETAIL_KD = 'CREATE_DETAIL_KD';\nexport const UPDATE_DETAIL_KD = 'UPDATE_DETAIL_KD';\nexport const DELETE_DETAIL_KD = 'DELETE_DETAIL_KD';\n\nexport const LIST_RINCIAN_KD = 'LIST_RINCIAN_KD';\nexport const CREATE_RINCIAN_KD = 'CREATE_RINCIAN_KD';\nexport const UPDATE_RINCIAN_KD = 'UPDATE_RINCIAN_KD';\nexport const DELETE_RINCIAN_KD = 'DELETE_RINCIAN_KD';\n\nexport const LIST_KARAKTER_DASAR = 'LIST_KARAKTER_DASAR';\nexport const FIND_KARAKTER_DASAR = 'FIND_KARAKTER_DASAR';\nexport const CREATE_KARAKTER_DASAR = 'CREATE_KARAKTER_DASAR';\nexport const UPDATE_KARAKTER_DASAR = 'UPDATE_KARAKTER_DASAR';\nexport const DELETE_KARAKTER_DASAR = 'DELETE_KARAKTER_DASAR';\n\nexport const DATA_DRAFT_SKL = 'DATA_DRAFT_SKL';\nexport const CREATE_DRAFT_SKL = 'CREATE_DRAFT_SKL';\nexport const UPDATE_DRAFT_SKL = 'UPDATE_DRAFT_SKL';\n\nexport const LIST_KATEGORI_PENILAIAN = 'LIST_KATEGORI_PENILAIAN';\nexport const CREATE_KATEGORI_PENILAIAN = 'CREATE_KATEGORI_PENILAIAN';\nexport const UPDATE_KATEGORI_PENILAIAN = 'UPDATE_KATEGORI_PENILAIAN';\nexport const DELETE_KATEGORI_PENILAIAN = 'DELETE_KATEGORI_PENILAIAN';\n\nexport const LIST_EVALUASI_KARAKTER = 'LIST_EVALUASI_KARAKTER';\nexport const CREATE_EVALUASI_KARAKTER = 'CREATE_EVALUASI_KARAKTER';\nexport const UPDATE_EVALUASI_KARAKTER = 'UPDATE_EVALUASI_KARAKTER';\nexport const DELETE_EVALUASI_KARAKTER = 'DELETE_EVALUASI_KARAKTER';\nexport const CREATE_EVALUASI_KARAKTER_PENILAIAN = 'CREATE_EVALUASI_KARAKTER_PENILAIAN';\nexport const CREATE_EVALUASI_KARAKTER_DESC = 'CREATE_EVALUASI_KARAKTER_DESC';\nexport const CLASS_EVALUASI = 'CLASS_EVALUASI';\nexport const STUDENT_EVALUASI = 'STUDENT_EVALUASI';\n\n// Interkasi Belajar\n\nexport const LIST_INTERAKSI_BELAJAR_ROOM = 'LIST_INTERAKSI_BELAJAR_ROOM';\nexport const GET_INTERAKSI_BELAJAR_ROOM = 'GET_INTERAKSI_BELAJAR_ROOM';\nexport const GET_PARTISIPAN_INTERAKSI_BELAJAR_ROOM = 'GET_PARTISIPAN_INTERAKSI_BELAJAR_ROOM';\nexport const CREATE_INTERAKSI_BELAJAR_ROOM = 'CREATE_INTERAKSI_BELAJAR_ROOM';\nexport const UPDATE_INTERAKSI_BELAJAR_ROOM = 'UPDATE_INTERAKSI_BELAJAR_ROOM';\nexport const DELETE_INTERAKSI_BELAJAR_ROOM = 'DELETE_INTERAKSI_BELAJAR_ROOM';\nexport const SELECTED_PARTISIPAN_INTERKASI_BELAJAR = 'SELECTED_PARTISIPAN_INTERKASI_BELAJAR';\nexport const SOCKET_RESPONSE_INTERAKSI_BELAJAR_ROOM = 'SOCKET_RESPONSE_INTERAKSI_BELAJAR_ROOM';\nexport const CHAT_INTERAKSI_BELAJAR_ROOM = 'CHAT_INTERAKSI_BELAJAR_ROOM';\nexport const SET_CHATID_INTERAKSI_BELAJAR_ROOM = 'SET_CHATID_INTERAKSI_BELAJAR_ROOM';\n\nexport const DETAIL_EVALUASI_KARAKTER = 'DETAIL_EVALUASI_KARAKTER';\n\nexport const MASTER_COURSE_SCHEDULE_TYPE = 'MASTER_COURSE_SCHEDULE_TYPE';\nexport const MASTER_COURSE_CERTIFICATE_TYPE = 'MASTER_COURSE_CERTIFICATE_TYPE';\nexport const MASTER_COURSE_DIFFICULTY_LEVEL = 'MASTER_COURSE_DIFFICULTY_LEVEL';\nexport const MASTER_LANG = 'MASTER_LANG';\nexport const UPLOAD_COVER = 'UPLOAD_COVER';\nexport const MASTER_BANK = 'MASTER_BANK';\n\nexport const GET_COURSES_BY_ME = 'GET_COURSES_BY_ME';\nexport const GET_ALL_COURSES = 'GET_ALL_COURSES';\nexport const MASTER_COURSE_TYPE = 'MASTER_COURSE_TYPE';\n\nexport const MASTER_CONTENT_TYPE = 'MASTER_CONTENT_TYPE';\nexport const GET_ALL_BANK_SOAL = 'GET_ALL_BANK_SOAL';\nexport const GET_BANK_SOAL = 'GET_BANK_SOAL';\nexport const CREATE_BANK_SOAL = 'CREATE_BANK_SOAL';\nexport const EDIT_BANK_SOAL = 'EDIT_BANK_SOAL';\nexport const DELETE_BANK_SOAL = 'DELETE_BANK_SOAL';\nexport const CLEAR_BANK_SOAL = 'CLEAR_BANK_SOAL';\n\nexport const GET_TYPE_LIST = 'GET_TYPE_LIST';\nexport const GET_ONE_BANK_SOAL = 'GET_ONE_BANK_SOAL';\n\nexport const GET_LIST_EXAM = 'GET_LIST_EXAM';\nexport const GET_EXAM_DETAIL = 'GET_EXAM_DETAIL';\nexport const GET_QUESTION_BY_EXAM_ID = 'GET_QUESTION_BY_EXAM_ID';\n\n// Ujian Guru\nexport const GET_UJIAN_GURU = 'GET_UJIAN_GURU';\nexport const GET_UJIAN_PARTICIPANT_GURU = 'GET_UJIAN_PARTICIPANT_GURU';\nexport const GET_QUESTION_BY_EXAM_ID_NEW = 'GET_QUESTION_BY_EXAM_ID_NEW';\nexport const GET_EXAM_DETAIL_AND_QUESTION = 'GET_EXAM_DETAIL_AND_QUESTION';\n\n// Whitelabel\nexport const IS_SUSPENDED = 'IS_SUSPENDED';\n// Google\n\nexport const GOOGLE_URL = 'GOOGLE_URL';\n\nexport const GET_ONE_CLASS = 'GET_ONE_CLASS';\nexport const GET_FILES = 'GET_FILES';\nexport const GET_ONE_SCHOOL = 'GET_ONE_SCHOOL';\nexport const GET_DOCUMENTS_SCHOOL = 'GET_DOCUMENTS_SCHOOL';\nexport const GET_FILES_SCHOOL = 'GET_FILES_SCHOOL';\n\nexport const GET_SUBMITTED_COURSE = 'GET_SUBMITTED_COURSE';\n\nexport const LIST_JURNAL_BELAJAR_NEXT = 'LIST_JURNAL_BELAJAR_NEXT';\n\nexport const GET_PENGAJUAN_MAPEL = 'GET_PENGAJUAN_MAPEL';\nexport const GET_STUDENT_SCORE = 'GET_STUDENT_SCORE';\nexport const GET_STUDENT_SCORE_SUBMIT = 'GET_STUDENT_SCORE_SUBMIT';\n\nexport const GET_DETAIL_SCORE_BY_SISWA = 'GET_DETAIL_SCORE_BY_SISWA';\nexport const GET_STUDENT_DETAIL_TASK = 'GET_STUDENT_DETAIL_TASK';\n\nexport const GET_ASSESSMENT_STUDENT_REFERENCE_HISTORY = 'GET_ASSESSMENT_STUDENT_REFERENCE_HISTORY';\nexport const GET_COURSE_PENGAJUAN = 'GET_COURSE_PENGAJUAN';\nexport const GET_ALL_GRADING_PENILAIAN = 'GET_ALL_GRADING_PENILAIAN';\nexport const GET_ONE_GRADING_PENILAIAN = 'GET_ONE_GRADING_PENILAIAN';\nexport const GET_STUDENT_SCORE_ALL = 'GET_STUDENT_SCORE_ALL';\n\nexport const GET_EXAM_HEADER = 'GET_EXAM_HEADER';\nexport const SET_WALIKELAS_DATA = 'SET_WALIKELAS_DATA';\n","export default __webpack_public_path__ + \"static/media/pdf.344c1228.svg\";","import moment from 'moment';\nimport axios from 'axios';\nimport { objectString } from '@utils';\nimport { BASE_API_URL, BASE_VERSION } from '@http';\nimport { BASE_LOGIN } from '../../constants/initHttp';\nimport { generateSignature, notificationOverride } from '../../utils/Utils';\nimport { store } from '../../redux/store';\n\naxios.interceptors.request.use(\n (config) => {\n if (config?.headers?.Authorization) {\n const { method } = config;\n let _body = '';\n let _token = '';\n let _url = config.url;\n if (method === 'post' || method === 'put') {\n _body = null; // signature crash\n }\n const host = _url.split('/')[2];\n _url = _url.replace(`https://${host}`, '');\n _token = config.headers.Authorization;\n config.headers.Timestamp = moment().toISOString();\n let pathName = '';\n config.params &&\n Object.keys(config.params).map((_key, index) => {\n if (config.params[_key] !== null) {\n pathName += `${_key}=${config.params[_key] ?? ''}`;\n if (Object.keys(config.params).length - 1 !== index) {\n pathName += '&';\n }\n }\n return _key;\n });\n if (pathName !== '') {\n _url = `${_url}?${pathName.replace(' ', '+')}`;\n }\n config.headers.Signature = generateSignature(\n _url,\n _token.replace(' ', ''),\n config.method.toUpperCase(),\n config.headers.Timestamp,\n _body\n );\n\n delete config.headers.Signature;\n delete config.headers.Timestamp;\n }\n return config;\n },\n (error) => Promise.reject(error)\n);\n// global axios interceptors response\naxios.interceptors.response.use(\n (response) => response,\n (error) => {\n if (error?.response?.status === 401) {\n const _message = error?.response?.data?.message ?? error?.response?.data?.data ?? error?.response?.data?.error;\n if (_message === 'invalid authorization') {\n // notificationOverride({\n // title: 'Permintaan Ditolak',\n // description: 'Sesi login Anda telah berakhir. Silakan login kembali untuk melanjutkan.',\n // type: 'warning',\n // });\n } else if (['unauthorized device', 'UNAUTHORIZED DEVICE'].includes(_message)) {\n notificationOverride({\n title: 'Perangkat Baru Telah Terdaftar',\n description:\n 'Secara otomatis akun Anda dikeluarkan dari situs. Silahkan lakukan login kembali untuk mengakses Siswamedia.',\n type: 'warning-check',\n });\n }\n store.dispatch({ type: 'LOGOUT', value: true });\n }\n return Promise.reject(error);\n }\n);\nconst headers = (token, withBearer = false) => {\n let data = {\n 'Content-Type': 'application/json',\n };\n\n if (token) {\n data = {\n 'Content-Type': 'application/json',\n Authorization: `${withBearer ? 'Bearer' : ''} ${token}`,\n 'X-Content-Type-Options': 'nosniff ',\n 'Access-Control-Allow-Origin': '*',\n };\n }\n\n return data;\n};\n\nexport const requestPost = (url, params, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .post(`${BASE_API_URL}${BASE_VERSION}${url}`, params, {\n headers: headers(token),\n })\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestPatch = (url, params, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .patch(`${BASE_API_URL}${BASE_VERSION}${url}`, params, {\n headers: headers(token),\n })\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestGet = (url, params, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .get(`${BASE_API_URL}${BASE_VERSION}${url}${params ? objectString(params) : ''}`, {\n headers: headers(token),\n })\n .then((response) => {\n resolve(response.data);\n })\n .then((error) => {\n reject(error);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestGetIdentity = (url, params, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .get(`${BASE_LOGIN}/v1/api/${url}${params ? objectString(params) : ''}`, {\n headers: headers(token, true),\n })\n .then((response) => {\n resolve(response.data);\n })\n .then((error) => {\n reject(error);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestPostIdentity = (url, params, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .post(`${BASE_LOGIN}/v1/api/${url}`, params, {\n headers: headers(token, true),\n })\n .then((response) => {\n resolve(response.data);\n })\n .then((error) => {\n reject(error);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestPutIdentity = (url, params, body, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .put(`${BASE_LOGIN}/v1/api/${url}${params ? objectString(params) : ''}`, body, {\n headers: headers(token, true),\n })\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestPut = (url, params, body, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .put(`${BASE_API_URL}${BASE_VERSION}${url}${params ? objectString(params) : ''}`, body, {\n headers: headers(token),\n })\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestDelete = (url, body, token) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n const isNull = body === null;\n let config = {};\n if (isNull) {\n config = {\n headers: headers(token),\n };\n } else {\n config = {\n headers: headers(token),\n data: body ?? '',\n params: body ?? '',\n };\n }\n axios\n .delete(`${BASE_API_URL}${BASE_VERSION}${url}`, config)\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\nexport const requestAnyGet = (url, params, headers) =>\n // eslint-disable-next-line no-undef\n new Promise((resolve, reject) => {\n axios\n .get(\n `${url}${objectString(params)}`,\n headers && {\n headers,\n }\n )\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\n","export default __webpack_public_path__ + \"static/media/bank_soal.1ecd4226.svg\";","export default __webpack_public_path__ + \"static/media/document.2ee11ec1.svg\";","export default __webpack_public_path__ + \"static/media/comment-dots-o.492cdd31.svg\";","export default __webpack_public_path__ + \"static/media/evaluasi.02dec1ee.svg\";","export default __webpack_public_path__ + \"static/media/comment-many-o.ef299be7.svg\";","export default __webpack_public_path__ + \"static/media/comment-love-o.6e9ed207.svg\";","export default __webpack_public_path__ + \"static/media/comment-lock-o.1d392fec.svg\";","export default __webpack_public_path__ + \"static/media/jurnal.c487da9d.svg\";","export default __webpack_public_path__ + \"static/media/interaksi_belajar.9298de21.svg\";","export default __webpack_public_path__ + \"static/media/jadwal.4bd30d5b.svg\";","export default __webpack_public_path__ + \"static/media/kelasku.3127a409.svg\";","export default __webpack_public_path__ + \"static/media/clipboard-alt.37b4d9d0.svg\";","export default __webpack_public_path__ + \"static/media/ujian.70e83875.svg\";","export default __webpack_public_path__ + \"static/media/lihat.58f415bb.svg\";","export default __webpack_public_path__ + \"static/media/raport.b1ef9a88.svg\";","export default __webpack_public_path__ + \"static/media/new-mailbox.00e7d9b0.svg\";","export default __webpack_public_path__ + \"static/media/mailbox.68330252.svg\";","export default __webpack_public_path__ + \"static/media/edit.ed901b63.svg\";","export default __webpack_public_path__ + \"static/media/delete.8fec7553.svg\";","export default __webpack_public_path__ + \"static/media/paper.67d6c9e4.svg\";","export default __webpack_public_path__ + \"static/media/link.fd05bb60.svg\";","export default __webpack_public_path__ + \"static/media/warning.73cfa5f3.svg\";","export default __webpack_public_path__ + \"static/media/ask.e59428ad.svg\";","export default __webpack_public_path__ + \"static/media/copy.5ec342d8.svg\";","export default __webpack_public_path__ + \"static/media/download.f8b8d36d.svg\";","export default __webpack_public_path__ + \"static/media/goBack.33effd51.svg\";","export default __webpack_public_path__ + \"static/media/mail-list.a0ee951b.svg\";","export default __webpack_public_path__ + \"static/media/schedule.9d98b54c.svg\";","export default __webpack_public_path__ + \"static/media/settings.a7ac08f9.svg\";","export default __webpack_public_path__ + \"static/media/panel-add-o.1db4cf2e.svg\";","export default __webpack_public_path__ + \"static/media/file-medical-alt.fbffaffb.svg\";","export default __webpack_public_path__ + \"static/media/link-o.609e802d.svg\";","export default __webpack_public_path__ + \"static/media/upload-cloud.718a67ff.svg\";","export default __webpack_public_path__ + \"static/media/fi-trash.5dea380a.svg\";","export default __webpack_public_path__ + \"static/media/refresh-cw-o.372fde65.svg\";","export default __webpack_public_path__ + \"static/media/book-alt.11875b3f.svg\";","export const showError = (key, type) => {\n const listError = {\n INVALID_REQUEST_PAYLOAD: 'Silahkan cek semua kolom isian anda',\n CANNOT_FIND_STUDENT_SCORE_LIST: 'Nilai siswa tidak ditemukan',\n CANNOT_SUBMIT_STUDENT_SCORE: 'Nilai siswa tidak terkirim',\n ROLE_CANNOT_EMPTY: 'Role tidak boleh kosong',\n FAILED_GET_LIST_SCORE_SUBMISSION: 'Tidak bisa mendapatkan pengajuan nilai siswa',\n FAILED_GET_LIST_SUBMITTED_STUDENT_SCORE: 'Tidak bisa mendapatkan nilai siswa yang diajukan',\n FAILED_GET_SUBMITTED_ASSSESSMENT_AND_EXAM_LIST: 'Tidak bisa mendapatkan nilai tugas dan ujian yang diajukan',\n FAILED_FIND_SCORE_CONCLUSION_DETAIL_BY_COURSE_ID: 'Tidak bisa mendapatkan nilai siswa',\n FAILED_FIND_TASK_DETAIL_LIST_BY_USER_ID: 'Tidak bisa mendapatkan detail nilai siswa',\n FAILED_UPDATE_SCORE_SUBMISSION_STATUS:\n type === 'pengajuan'\n ? 'Mohon periksa data Nilai yang diajukan , ada siswa yang belum sama total tugas dan ujian yang diajukan atau pastikan siswa sudah mengumpulkan nilai tugas dan ujian !!'\n : 'Tidak bisa merubah status pengajuan',\n INVALID_UPDATE_SCORE_SUBMISSION_STATUS: 'Perubahan nilai tidak benar, harap cek kembali',\n REJECT_REASON_CANNOT_EMPTY: 'Alasan ditolak tidak boleh kosong',\n INVALID_SCORE: 'Range nilai yang dimasukkan sudah tersedia!',\n RECORD_ALREADY_EXIST: 'Data yang dimasukkan sudah tersedia, mohon ubah dengan data yang lain!',\n FAILED_UPDATE_SCORE_SUBMISSION_STATUS_REPORT_TEMPLATE_NOT_FOUND:\n 'Tidak bisa merubah status pengajuan karena template raport belum dibuat',\n };\n return listError[key] || 'Silahkan Hubungi Customer Service Kami';\n};\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABHNCSVQICAgIfAhkiAAABT1JREFUaEPtmg1MlVUYx//n8uWVLxHkQ8QvmAiBIYRKSCqibDktJlNn04ywj01XTctyWcvNZumsYWs1EjKGNhyNgrUlosFs+DFJFCkqC2Eq3AsC93K/4H3f084R7gRx2rkv3avjbIy7877Pc/6/53nP+5xz7iUYaJSC2KCfpUDJBbAMQBwAt8HrLvJfocAVClR6QCnwRFgjIaBMGxkUaKJtXxBgE0C8XET0/WTYKFDoTUJe5SAsE2a0fUlANt/P0jWv02ItQjYQK9VHK5DrH6JMDI+nRCHNIybavosAu10z2g+qSt7LQOoIMPdBTVzzPnqBmKlOAqirvZ3+a7xkYqbt/PX1sLcxEFfL4FhGHumM3Oy6ipqGI5AVGUvnbERIwEzOe7qxBH/dvICosCQsjF0zKjEQerQopVCoDEqVIaK+q92HP2+c530JMzKQmfgSOnpacejENt7npvHA9qziu0DcNO4gROMQoBAIi25Nw1H0SZYhgxstneiTrLzPy2M8fMYFQFL60WPS2e8L9A0fYsMAAnxCsXLea9B6+gjDCIF8VLoWkmwTHnQkw3VpuxAZliTsUwhkT8mzwgPeyzA79R1Eh88X9jsGcmfowgIikTJ7NcrP5aFftiIiKAZL4jfwW8w2A6objkBvaIGGuCExMhOzw1MgKxLKzh6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VDVuuy2RrOQXoBnsFsnGquZhSeo6lB4tdi8RpZePSKStuwY9ug4sSytG64UaNHX+V3VsZeShmAwkxmSgsbMKabPz4aVQ4vvfP3UvkWn+07E6dzsCfIMxZNQhJDACHT2/4Yfj2wFQm0Ty0zci5YFsDFuG4OcdhAGDBjuPiMdu63D5HokJTxT3SHnt27jSfxZPp2/EzPC5KKt5HeYR4zgigb6hePWZcpzoOoSatjKwQGzIL0NZ9RtQD553H5FYVRKKsj+wluTMpOeQFJeJPdWv2SQSEqBCcd5u1LdXouHMARE4i35F7Tu43PfXFBEWAcktik7/N3iBE6Pno/TDfbc0eDw/IpZUgQoghEAVHIv+61fB8RZxY6tCYse1H0x+hDNbn88Ii7/7LcpPLV/BaNZLdiRFoeCxN6WIi7KSMyKlRZGM5oaCy6uWs0DH6uWkFIFVv4pj77p2sx9o+BidvU1ycBBt5KWtx5zohdhW9bz4f3b0oyjMuEnKUUeSl5beoMOR5p0wmAYc9TGh3JPzViAuIgX76t5DWFAU8tKK4esdINm2ZCLMA6UUvDAi2ZktBXbEJVCI9ljL4+xwiog9Z+2X6tF24edxYg/HL0JyXJY9dafmZSfC3jFf/vgKhoavjQOUEPUIlj+x2Smg9pRkJ9Lb14XKus3gBMs432zprF60FeE2Xor2gNqbl4WITt9jfUnWnioH+2R0u8FOlHnpG8SugJ1nwoNn2sPo0LwsRL79dQvOq1sccjhWKD5yAZ7NLJGsZ0tBFiIWbhhG85BkQOwc46P0l6x314jIguQOjciSkTvEIIv6FBFZwiijkXspI1oeoAoZg+MOU5QYqPo0AUl0h3cZfXYSE9XuEEDXy2jU5aYIsJsYqC6VQDjOPgy6HIE8DnkCkkUopcQI7V4CvCiPXZdb+c4fEcut15yMVLMPwAoASpdDcc4hR0Aq/EkEu192874Wy4wF2mQOQgGBYimAVA+9eNamAA4L4KoCSXTraAz+Bfieu3fuC9qqAAAAAElFTkSuQmCC\"","export default __webpack_public_path__ + \"static/media/copy.b74813a9.svg\";","export default __webpack_public_path__ + \"static/media/calendar.b4ca57dd.svg\";","export default __webpack_public_path__ + \"static/media/clock.d1c75d68.svg\";","export default __webpack_public_path__ + \"static/media/share.257e07e3.svg\";","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGIAAABkCAYAAAB9/OUTAAAABHNCSVQICAgIfAhkiAAAHjVJREFUeF7dfQl4VdW1/2+dc4fcJEDCFECGKCEMChkcQKhan6JVUYoWnMCxosWKWl/7/KutaPtatU+pVqqozyo8taKIVYQ644QioDIEDUgShgwQCJnvcM7Z6//tc+9N7nzuTUKSur/vfIF71t777PXba9hrr7MP4d+nUF5ensPncqUrmlagebWzQDgRgvOhUA4BDmY2GGggYA8L3iYYnzCMT1Vdr6mqqvICMHrrcKm3PljIc9nyJk0aorA6kRRcRAqdD8YIIQzSNQ26rkMYsfnLzAygGUSbmMVKAj6t9Hp3oaqqtbeNu1cDMXrSpMF2RTkfrFwIhc4Cc18iCntmIQR0zQdN0+ICIpnOzIKIdghDrGJBb1TvK/sGgN5bAOm1QBx3fOHJDpvyKyI6k8GDIwEIZaCc+EIY0Hw+80pUWDKfeTMLLGs2fP9o3L+/rjeA0RuBoPxJRZcqCt1NRGMB2JNhlARDXprPC59XmoP4xZQO4KDB4qVmn++PTVVVh5Lp42jS9DYglLGTCheSqt4D5v6JpCAWU/wmAfBJMDweKzCYiHQhxNqqivLZstrRZLRV270GiNzc3DRHVtb1CpR7iWiQ1YNb3fd6PPB5E4MRbINZrGtwu+c019TUWrV7tO73FiBsYwsKLiZSHySi3K4YrJQOr7vVNOLJFCH4RQ3ijtqKippk6LuaplcAkTehoMjusD0LQmFXDlC6tW53a0Jvqk0qgCYWvNjX3Pg/hw4daurK50imrd4AhH1cQfFKEGakahOsBmgab02Dz+M2DbmFAWcCKgT4tqry8jelx2vVflfe73EgxpxQcJPNbnssWe8o1cHLdYbX44Zc/FkV6U2B8Dq83lsrKyv3W9F35f0eBSI//8SBSjpvJaKhyQxKVQiqosCnpxapkC6tNN5WUiGfgZm9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4IUnEeH8WX2DRR4RnLno9jBdL559od/j6ZOgaMtOcaRmtLfUZuma0vct16JScqe6hrruhKoOEArBdBRwqIFM57SrOdo7C2Y5REnd5fGMdMZUSeIdg/k4BvoWN9rU0G4cyajNqac4c+apGcuWmt2cNVg1nlRBCNXfh4FdFpnEOuKymITd36UQz+/RjX7piXUpZXV0NRHBkQakIZXzQoPu9XAXPznwjaV7Idm96e95gB/NfiWi2KV8h6i84CforLtlNTSNrv3rgrKUvJeJ0ap2/OedRhrFAsLAFw93+r5VI9geAMU8PFg++NOeDe5KDuJ3qaAHRLh/+9UWbexuiqp6btTolXsg2b1l7xTUKlAeZMCgSDFP9KYrMj/zEK7xXPTZ9+d4uA2LuynOHptlczwsYpwkh0oJ71abdMBOGWWPweq9Hu/y1eZ9YnGwb/VhHF4g2+QhZ9LXbi+dnrUkZiPkfXj4wzUMPMJS5BDhD7ZEpcQrtJRJ3PXz28y9YTcpUO6d5r10wTiX+ucFiuhBGHoPTmFkHYS8D7yvCeOLF2eu2xP2YT4In6h4gQuTDVCd+1bTs4rWp8sJsaP4bs0c6HI75BMwAI59IcShEh0G0kZmXb3HsXZmMnexQ5z/9+4+z0vrY8yD0HEBxMQmNQLUGa7temfOJtAsWXnlsNLoTiDY4Al7U/13ydod4Idu5ff1sl69RGa+AhgpWpcluFIpS9vi5y8utJKFdTpOl7Aa67gciAAcRXrhEHjnYc+X/AzVgnZOa1haVAAAAAElFTkSuQmCC\"","export default __webpack_public_path__ + \"static/media/mapel.ad457e26.png\";","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABkCAYAAAA2VDb+AAAABHNCSVQICAgIfAhkiAAAFtpJREFUeF7tXAl0VdW5/vY59547ZR4hE4QQCMggBGRWJqEgVAVElAIOuBxqB+vwXltaqNbhWdsqup6Wik+rVgWtMzLIYJinTISQCZJACCQkIQm5ubnDOfutfW7ulDvk3JsEsat7LdYK9+zz7///9j/tf+99CPq2aZKTk8PMVIgT1GQKODqJI9x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GK/reafAaUGEqQVlHcTcaECArCujIQ9EGN1bYtVcuCqP02UEB8P8U97VOGkR7wwAAAABJRU5ErkJggg==\"","export default __webpack_public_path__ + \"static/media/trash.eaee0935.svg\";","export default __webpack_public_path__ + \"static/media/empty.8546675f.png\";","export default __webpack_public_path__ + \"static/media/email.6986e212.svg\";","export default __webpack_public_path__ + \"static/media/phone.e3da8bc9.svg\";","export default __webpack_public_path__ + \"static/media/forum.4182d9f1.png\";","module.exports = {\n BASE_API_URL: process.env.REACT_APP_BASE_API_URL,\n BASE_API_PAYMENT: process.env.REACT_APP_BASE_PAYMENT,\n BASE_API_LPA: process.env.REACT_APP_BASE_LPA,\n BASE_VERSION: process.env.REACT_APP_BASE_VERSION,\n BASE_LOGIN: process.env.REACT_APP_BASE_LOGIN,\n BASE_EVALUASI: process.env.REACT_APP_BASE_EVALUASI,\n BASE_INTERAKSI: process.env.REACT_APP_BASE_INTERAKSI,\n BASE_INTERAKSI_SOCKET: process.env.REACT_APP_BASE_INTERAKSI_SOCKET,\n BASE_COURSE: process.env.REACT_APP_BASE_COURSE,\n BASE_EXAM: process.env.REACT_APP_BASE_EXAM,\n BASE_QUIZ: process.env.REACT_APP_BASE_QUIZ,\n BASE_EXAM_QUIZ: process.env.REACT_APP_BASE_EXAM_QUIZ,\n BASE_REKAP_NILAI: process.env.REACT_APP_BASE_REKAP_NILAI,\n\n BASE_STUDY: process.env.REACT_APP_BASE_STUDY,\n BASE_SOCKET: process.env.REACT_APP_BASE_URL_SOCKET,\n BASE_SOCKET_SERVICE: `${process.env.REACT_APP_BASE_API_SOCKET ?? 'https://dev-socket-ws.siswamedia.com'}/v1/api/`,\n BASE_IDENTITY: process.env.REACT_APP_BASE_LOGIN,\n BASE_PROXY: process.env.REACT_APP_PROXY_SERVER,\n BASE_SOCKET_EXAM: process.env.REACT_APP_BASE_SOCKET_EXAM,\n};\n","import i18n from 'i18next';\nimport Backend from 'i18next-xhr-backend';\nimport { initReactI18next } from 'react-i18next';\nimport school from './assets/translator/school.json';\nimport bimbel from './assets/translator/bimbel.json';\nimport course from './assets/translator/course.json';\nimport collage from './assets/translator/collage.json';\nimport company from './assets/translator/company.json';\nimport madrasah from './assets/translator/madrasah.json';\n\ni18n\n .use(Backend)\n .use(initReactI18next)\n .init({\n lng: 'school', // default language\n debug: process.env.DEBUG === 'true' ?? true,\n // debug: true,\n resources: {\n school: {\n translation: school,\n },\n collage: {\n translation: collage,\n },\n company: {\n translation: company,\n },\n madrasah: {\n translation: madrasah,\n },\n wakaf: {\n translation: school,\n },\n course: {\n translation: course,\n },\n bimbel: {\n translation: bimbel,\n },\n },\n interpolation: {\n escapeValue: false,\n },\n react: {\n useSuspense: false,\n },\n });\n\nexport default i18n;\n","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read http://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.1/8 is considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\nexport function register(config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit http://bit.ly/CRA-PWA'\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl, config) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See http://bit.ly/CRA-PWA.'\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl, config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl)\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404 ||\n (contentType != null && contentType.indexOf('javascript') === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n );\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister();\n });\n }\n}\n","import { Loading } from '@components';\nimport { persistor, store } from '@store/store';\nimport React, { lazy, Suspense } from 'react';\nimport ReactDOM from 'react-dom';\n// ** Redux Imports\nimport { Provider } from 'react-redux';\nimport { PersistGate } from 'redux-persist/integration/react';\nimport './index.css';\nimport '@assets/scss/style.scss';\n\nimport * as Sentry from '@sentry/react';\nimport { Integrations } from '@sentry/tracing';\nimport { ConfigProvider } from 'antd';\nimport moment from 'moment';\nimport 'moment/locale/id';\nimport id_ID from 'antd/lib/locale/id_ID';\nimport './i18n-init';\nimport { Worker } from '@react-pdf-viewer/core';\nimport * as serviceWorker from './serviceWorker';\n\nmoment().locale('id');\nconst LazyApp = lazy(() => import('./views/App'));\nSentry.init({\n dsn: process.env.REACT_APP_SENTRY_DSN,\n integrations: [new Integrations.BrowserTracing()],\n defaultIntegrations: false,\n beforeSend: (err) => err,\n // Set tracesSampleRate to 1.0 to capture 100%\n // of transactions for performance monitoring.\n // We recommend adjusting this value in production\n environment: process.env.REACT_APP_URL_ENV,\n debug: false,\n tracesSampleRate: 1.0,\n});\nReactDOM.render(\n \n \n \n }>\n \n \n \n \n \n \n ,\n document.getElementById('root')\n);\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: https://bit.ly/CRA-PWA\nserviceWorker.register();\n","import { notification } from 'antd';\nimport { RESPONSE_ERRORS } from '../../constants/initError';\n\nexport const runError = (msg = undefined, err = undefined) => {\n if (err?.response?.status === 401) {\n return;\n }\n const response = err?.response?.data;\n // eslint-disable-next-line no-prototype-builtins\n if (response && response.hasOwnProperty('data')) {\n const respErr = response.data;\n let buildError = '';\n if (respErr) {\n Object.keys(respErr).map((item) => {\n if (Array.isArray(respErr[item])) {\n respErr[item].forEach((err) => {\n buildError += `${RESPONSE_ERRORS[err] ?? err} \\n`;\n });\n }\n return item;\n });\n }\n if (buildError === '') {\n buildError = RESPONSE_ERRORS[respErr] ?? respErr;\n }\n notification.error({\n message: 'Permintaan Ditolak',\n description: buildError,\n });\n } else {\n notification.error({\n message: 'Mohon Maaf',\n description: RESPONSE_ERRORS[msg] ?? 'Silahkan Hubungi Customer Service Kami',\n });\n }\n};\n","export const setStorage = (path, data) => {\n localStorage.setItem(path, JSON.stringify(data));\n};\n\nexport const getStorage = (path) => JSON.parse(localStorage.getItem(path));\n\nexport const removeStorage = (path) => {\n localStorage.removeItem(path);\n};\n\nexport const clearStorage = () => {\n localStorage.clear();\n};\n"],"sourceRoot":""}