{"version":3,"mappings":";o1TAAa,MAAAA,GAAe,wBACfC,GAAmB,+BAGnBC,GAAM,GAGNC,GAAS,GACTC,GAAsB,0CACtBC,GAAmB,uCACnBC,GAAmB,2BAGnBC,GAAqB,wCAErBC,GAAY,UACZC,GAAyB,IAEzBC,GAAU,GACVC,GAAmB,GAGnBC,GAAc,kDAEdC,GAAe,2BAKfC,GAAS,iBClBtBC,GAAY,CACV,IAAK,yFACL,aAAc,CACZC,GAA8C,WAC5CC,EAAA,UACA,YAAAC,GACA,kBAAAC,GACA,yBAAAC,GACA,YAAAC,EAAA,CACD,EACDC,GAAyB,CAC3B,EACA,iBAAkB,EAClB,QAAS,cACT,QAASnB,GACT,aAAc,CAAC,gBAAgB,CACjC,CAAC,ECvBD,MAAMoB,GAAmB,KACvBN,YAAU,IAAM,CACdO,GAAkB,CAChB,WAAY,CACV,UAAW,CACT,QAAS,GACT,SAAU,EACZ,EACA,UAAW,CACT,SAAU,CACR,QAAS,CACP,MAAO,UACP,QAAS,CACP,CACE,KAAM,aAEV,EACA,SAAU,IAAM,CACd,QAAQ,IAAI,kBAAkB,EAElC,EACA,gBAAiB,CACf,MAAO,mBACP,QAAS,CACP,CACE,KAAM,QACR,EACA,CACE,KAAM,OACR,CAEJ,EACA,MAAO,CACL,MAAO,QACP,QAAS,CACP,CACE,KAAM,WACR,CACF,CAEJ,EACA,SAAU,GACV,UAAW,CACT,QAAS,CACP,CACE,KAAM,YACR,EACA,CACE,KAAM,UACR,EACA,CACE,KAAM,QACR,EACA,CACE,KAAM,OACR,CACF,CACF,CAEJ,EACA,SAAU,CACR,QAAS,KACT,aAAc,CACZ,GAAI,CACF,aAAc,CACZ,MAAO,iBACP,YAAa,kDACb,aAAc,aACd,mBAAoB,aACpB,mBAAoB,+BACtB,EACA,iBAAkB,CAChB,MAAO,4BACP,aAAc,aACd,mBAAoB,aACpB,mBAAoB,2BACpB,eAAgB,cAChB,SAAU,CACR,CACE,MAAO,6BACP,YACE,gGACF,eAAgB,W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AI,CAAE,EAElF2B,GAAsB","names":["API_BASE_URL","GRAPHQL_BASE_URL","DEV","SENTRY","GOOGLE_MAPS_API_KEY","CRISP_WEBSITE_ID","RECORDING_BUCKET","LIVEKIT_SERVER_URL","HOTJAR_ID","HOTJAR_SNIPPET_VERSION","IS_UNSW","ENABLE_ANALYTICS","POSTHOG_KEY","POSTHOG_HOST","GTM_ID","Sentry.init","Sentry.reactRouterV6BrowserTracingIntegration","useEffect","useLocation","useNavigationType","createRoutesFromChildren","matchRoutes","Sentry.replayIntegration","useCookieConsent","CookieConsent.run","MAIN_ROUTE","LOGIN_ROUTE","SIMPLE_LOGIN_ROUTE","REGISTER_ROUTE","VERIFY_ROUTE","TRY_PENGGUIN_ROUTE","FORGET_ROUTE","REGISTER_COMPANY_ROUTE","HOME_ROUTE","INTERVIEW_ROUTE","PROFILE_ROUTE","SETTINGS_ROUTE","BIO_ROUTE","CUSTOM_OPTION_ROUTE","TEACHER_PRICES","TEACHER_AFFILIATION_OFFERS","TEACHER_CONNECT_ROUTE","FEEDBACK_SERVICES_ROUTE","VIDEO_ROUTE","PERSONAL_ROUTE","LANGUAGES_ROUTE","BENEFIT","AVAILABILITY_ROUTE","SUBSCRIPTION_ROUTE","PROFILE_NOTIFICATION_ROUTE","PREFERRED_TEACHER","DASHBOARD_ROUTE","NOTES_ROUTE","DOCUMENTS_ROUTE","LIVE_BOARDS_ROUTE","WEBLINKS_ROUTE","FEEDBACK_ROUTE","SUMMARY_ROUTE","COMMUNITY_ROUTE","COMPANY_ACCOUNT_ROUTE","MY_CLASSROOMS_ROUTE","EVENT_ROUTE","EVENT","id","NEXT_EVENT","RECORDINGS_ROUTE","QUIZ_VOCAB_ROUTE","PRICING_ROUTE","PAYMENT_ROUTE","CHECKOUT_SUCCESS_ROUTE","PREFERRED_ACCENT_ROUTE","LANDING_ROUTE","TERMS_OF_USE","PRIVACY_POLICY","CardWrapper","styled","Card","prop","fullWidth","background","Header","Box","StyledChip","Chip","resolveProficiency","proficiency","ThumbTestimonialsIcon","jsx","GoogleIcon","jsxs","SvgIcon","TicketIcon","props","TimeIcon","FigmaLockIcon","GreenTicketIcon","VocabIcon","EventCard","React","ref","host","status","color","title","language","level","tags","onClick","onDetailsClick","onShareClick","clickable","restProps","Stack","OnlinePredictionIcon","Typography","IconButton","ModeEditOutlineOutlinedIcon","ShareOutlinedIcon","ControlledCardActionArea","alpha","elem","k","children","CardActionArea","ChatContainer","Paper","fullScreen","ChatHistory","ChatMessageContainer","position","MessageTypoContainer","backgroundColor","MessageTypo","useMediaQuery","maxWidth","useMuiMediaQuery","useToggle","initialState","open","setOpen","useTogglePopover","anchorEl","setAnchorEl","event","useAppDispatch","useDispatch","useAppSelector","useSelector","isTokenExpired","date","moment","SET_USER","setUser","createAction","SET_TOKENS","setTokens","SET_ACCESS_TOKEN","setAccessToken","LOGOUT","logout","waitForRehydration","createAsyncThunk","api","mutex","Mutex","baseQueryDefault","fetchBaseQuery","headers","baseQueryApi","getState","tokens","_a","baseQuery","fetchArgs","extraOptions","args","queryString","release","refreshResult","createApi","injectedRtkApi","build","queryArg","useModulesSubmitModuleResultMutation","useModulesSubmitModuleResultUnauthMutation","useModulesGetUserModulesQuery","useLazyModulesGetUserModulesQuery","useModulesGetUserModuleResultsQuery","useLazyModulesGetUserModuleResultsQuery","useModulesGetModuleByModuleIdQuery","useLazyModulesGetModuleByModuleIdQuery","useAffiliateGetCouponsQuery","useLazyAffiliateGetCouponsQuery","useAffiliateGetAffiliatesQuery","useLazyAffiliateGetAffiliatesQuery","useAffiliateCreateAffiliateMutation","useAffiliateGetAffiliateQuery","useLazyAffiliateGetAffiliateQuery","useAffiliateDeleteAffiliateMutation","useAffiliateApplyPromotionCodeMutation","useAffiliateGetPromotionsQuery","useLazyAffiliateGetPromotionsQuery","affiliateApi","useAgoraIssueRtcTokenQuery","useLazyAgoraIssueRtcTokenQuery","useAgoraCreateNewRtcRoomMutation","useAgoraGetRtcRoomsQuery","useLazyAgoraGetRtcRoomsQuery","useAgoraGetRtcConfigQuery","useLazyAgoraGetRtcConfigQuery","useAgoraIssueRtmTokenQuery","useLazyAgoraIssueRtmTokenQuery","useAgoraCreateNewRoomMutation","useAgoraGetRoomQuery","useLazyAgoraGetRoomQuery","useAgoraGetRoomsQuery","useLazyAgoraGetRoomsQuery","useAgoraSetEventCurrentRoomMutation","useAgoraSendUserRoomMutation","useAgoraIssueLivekitTokenQuery","useLazyAgoraIssueLivekitTokenQuery","useAgoraHandleLivekitWebhookMutation","useEventGetEventConfigQuery","useLazyEventGetEventConfigQuery","useEventScheduleEventMutation","useEventJoinEventMutation","useEventExitEventMutation","useEventGetCurrentEventQuery","useLazyEventGetCurrentEventQuery","useEventGetEventsQuery","useLazyEventGetEventsQuery","useEventDeleteEventMutation","useEventGetEventByIdQuery","useLazyEventGetEventByIdQuery","useEventModifyEventMutation","useEventMuteEventMutation","useEventUnmuteEventMutation","useEventDisableVideoUserEventMutation","useEventEnableVideoUserEventMutation","useEventEventLockingRoomsMutation","useEventParticipateInEventMutation","useEventDeleteParticipationInEventMutation","useEventChangeNativeSpeakerMutation","useEventEventAutomaticMatchQuery","useLazyEventEventAutomaticMatchQuery","useEventStartNowMutation","useEventPersistTextMessageMutation","useEventGetChatMessagesQuery","useLazyEventGetChatMessagesQuery","useEventKickUserMutation","useEventMatchUsersMutation","useEventEndEventMutation","useEventGetLastMatchQuery","useLazyEventGetLastMatchQuery","useEventGetTotalEventJoinsQuery","useLazyEventGetTotalEventJoinsQuery","useEventGetUserMatchesQuery","useLazyEventGetUserMatchesQuery","useEventRecordEventAttendanceMutation","useEventSendWsMessageMutation","useEventCanJoinEventQuery","useLazyEventCanJoinEventQuery","useEventGetHuddleHostsQuery","useLazyEventGetHuddleHostsQuery","graphqlApi","graphqlRequestBaseQuery","themeSlice","createSlice","state","action","setThemeMode","themeReducer","selectMode","useAuthRegisterEmailMutation","useAuthGuestRegisterEmailMutation","useAuthRegisterPhoneMutation","useAuthRegisterFacebookQuery","useLazyAuthRegisterFacebookQuery","useAuthLoginFacebookQuery","useLazyAuthLoginFacebookQuery","useAuthGoogleGetAuthorizationMutation","useAuthRegisterGoogleMutation","useAuthLoginGoogleMutation","useAuthSyncGoogleCalendarMutation","useAuthLinkGoogleAccountMutation","useAuthLoginMutation","useAuthFriendlyUsernameMutation","useAuthChangeGuestToUserMutation","useAuthVerifyEmailMutation","useAuthVerifyPhoneNumberMutation","useAuthResendEmailVerificationMutation","useAuthResendPhoneNumberVerificationMutation","useAuthWhoamiQuery","useLazyAuthWhoamiQuery","useAuthGetPublicProfileQuery","useLazyAuthGetPublicProfileQuery","useAuthGetPublicUsernameByIdQuery","useLazyAuthGetPublicUsernameByIdQuery","useAuthUpdateProfileMutation","useAuthRefreshJwtAccessTokenMutation","useAuthResetPasswordUsingEmailStep1Mutation","useAuthResetPasswordUsingEmailStep2Mutation","useAuthRefreshRtmTokenMutation","useAuthOauth2LoginMutation","useAuthCreateRoleMutation","useAuthGetRolesQuery","useLazyAuthGetRolesQuery","useAuthDeleteAccountMutation","useAuthCancelDeleteAccountMutation","useAuthCheckUsernameQuery","useLazyAuthCheckUsernameQuery","useAuthFollowUserMutation","useAuthUnfollowUserMutation","useAuthGetFollowersQuery","useLazyAuthGetFollowersQuery","useAuthGetFolloweesQuery","useLazyAuthGetFolloweesQuery","useAuthReportUserMutation","useAuthUnreportUserMutation","useAuthGetReportedUsersQuery","useLazyAuthGetReportedUsersQuery","useAuthAvoidUserMutation","useAuthUnavoidUserMutation","useAuthGetAvoidedUsersQuery","useLazyAuthGetAvoidedUsersQuery","useAuthGetUserGoalsQuery","useLazyAuthGetUserGoalsQuery","useAuthSsoLoginMutation","useAuthSsoCallbackMutation","useSocialauthVerifyTokenMutation","authSlice","payload","builder","authApi","authReducer","setUserToVerify","setUserFirstTime","setUserFirstTimeHuddle","selectUser","selectUserFirstTime","toastsSlice","message","severity","toast","setToasts","toastReducer","discussionSlice","discussionReducer","setCurrentDiscussion","setIsDiscussionOpen","inventorySlice","setInventoryFirstTimeOpen","setKickedFromEvent","inventoryReducer","whiteboardSlice","setRoom","selectRoom","whiteboardReducer","panelsSlice","panelsReducer","selectConstraints","selectCurrentRtcRoom","selectIsBreakoutSessionEnded","selectIsVideoCallEnded","setConstraints","setCurrentRtcRoom","setIsBreakoutSessionEnded","setIsVideoCallEnded","globalSlice","setUploadProgress","setRecordingStatus","recordingsReducer","eventSlice","eventReducer","setAudioDevices","setVideoDevices","setSelectedVideoDeviceId","setSelectedAudioDeviceId","setSelectedSpeakerDeviceId","chatSlice","setReadMessages","setChatWindowOpen","chatReducer","surveysSlice","posthog","triggerExitSurvey","completeExitSurvey","dismissExitSurvey","surveysReducer","persistConfig","storage","rootReducer","combineReducers","baseApi","persistReducer","sentryReduxEnhancer","createReduxEnhancer","store","configureStore","getDefaultMiddleware","FLUSH","REHYDRATE","PAUSE","PERSIST","PURGE","REGISTER","dispatch","next","ws","currentEventId","listeners","createSocket","eventId","messageListner","force","refreshTokenIfExpired","closeListner","event_","listener","agoraApi","queryFulfilled","data","eventApi","draftEvent","arg","updateCachedData","cacheDataLoaded","cacheEntryRemoved","draftRtcRooms","useAmbassadorsGetAmbassadorsQuery","useLazyAmbassadorsGetAmbassadorsQuery","useAmbassadorsCreateAmbassadorMutation","useAmbassadorsDeleteAmbassadorMutation","useAmbassadorsUpdateAmbassadorMutation","ambassadorsApi","patchResult","draftAuth","useBookingsListUserBookingRequestQuery","useLazyBookingsListUserBookingRequestQuery","useBookingsCreateBookingRequestMutation","useBookingsRespondBookingRequestMutation","useBookingsCancelBookingSessionMutation","useBookingsListStudentBookingRequestQuery","useLazyBookingsListStudentBookingRequestQuery","useBookingsListTeacherBookingSessionsQuery","useLazyBookingsListTeacherBookingSessionsQuery","useBookingsGetTeacherBookingSessionsQuery","useLazyBookingsGetTeacherBookingSessionsQuery","useBookingsGetTeacherAvailabilitiesQuery","useLazyBookingsGetTeacherAvailabilitiesQuery","bookingsApi","useCaptionThisGetCaptionThisGamesConfigQuery","useLazyCaptionThisGetCaptionThisGamesConfigQuery","useCaptionThisJoinGameMutation","useCaptionThisExitGameMutation","useCaptionThisGetGameResultQuery","useLazyCaptionThisGetGameResultQuery","useCaptionThisListGameVideosQuery","useLazyCaptionThisListGameVideosQuery","useCaptionThisGuessGameVideoMutation","captionThisApi","useChatStartGameMutation","useChatLeaveGameMutation","chatApi","useClassroomCreateClassroomMutation","useClassroomListClassroomsQuery","useLazyClassroomListClassroomsQuery","useClassroomGetClassroomQuery","useLazyClassroomGetClassroomQuery","useClassroomJoinClassroomMutation","useClassroomUnjoinClassroomMutation","useClassroomCreateClassroomTaskMutation","useClassroomListClassroomTasksQuery","useLazyClassroomListClassroomTasksQuery","useClassroomGetClassroomTaskQuery","useLazyClassroomGetClassroomTaskQuery","useClassroomReplyClassroomTaskMutation","useClassroomGetJoinedStudentsTaskRepliesQuery","useLazyClassroomGetJoinedStudentsTaskRepliesQuery","useClassroomClassroomInviteStudentMutation","useClassroomGetCurrentClassroomQuery","useLazyClassroomGetCurrentClassroomQuery","useClassroomDeleteClassroomTaskMutation","useClassroomUpdateClassroomTaskMutation","useClassroomListClassroomStudentsQuery","useLazyClassroomListClassroomStudentsQuery","useClassroomRemoveStudentFromClassroomMutation","useClassroomUpdateClassroomMaxSubscribersMutation","useClassroomGetIspeakTasksQuery","useLazyClassroomGetIspeakTasksQuery","useClassroomAddIspeakTaskToClassroomTasksMutation","useClassroomAddTasksFolderMutation","useClassroomGetTeacherTaskFoldersQuery","useLazyClassroomGetTeacherTaskFoldersQuery","useClassroomGetLivePracticeTaskQuery","useLazyClassroomGetLivePracticeTaskQuery","useClassroomOrderClassroomTasksMutation","useClassroomDeleteClassroomTasksFolderMutation","useClassroomUpdateClassroomTasksFolderMutation","useClassroomGetIeltsTasksQuery","useLazyClassroomGetIeltsTasksQuery","useClassroomGetToeflTasksQuery","useLazyClassroomGetToeflTasksQuery","classroomApi","draft","newTask","draftTasks","draftFolders","folder","deleted_task","item","updatedTask","newFolder","deleted_folder","useDiscordCreateDiscordRoleMutation","useDiscordGetDiscordRolesQuery","useLazyDiscordGetDiscordRolesQuery","discordApi","useDiscussionGetConfigQuery","useLazyDiscussionGetConfigQuery","useDiscussionGenerateNewDiscussionTopicMutation","useDiscussionGetCurrentDiscussionTopicQuery","useLazyDiscussionGetCurrentDiscussionTopicQuery","useDiscussionStartDiscussionMutation","useDiscussionExitDiscussionMutation","useDiscussionGetNewTopicMutation","discussionApi","draftTopic","useDocumentsCreateNewDocumentMutation","useDocumentsGetDocumentByIdQuery","useLazyDocumentsGetDocumentByIdQuery","useDocumentsDeleteDocumentByIdMutation","useDocumentsGetDocumentsQuery","useLazyDocumentsGetDocumentsQuery","useDocumentsSplitDocumentMutation","useDocumentsGetSplitDocumentStatusQuery","useLazyDocumentsGetSplitDocumentStatusQuery","useDocumentsGetDocumentPagesQuery","useLazyDocumentsGetDocumentPagesQuery","useDocumentsExportSceneMutation","documentsApi","error","user","array","index","useGeoguesserGetGeoGuesserGamesConfigQuery","useLazyGeoguesserGetGeoGuesserGamesConfigQuery","useGeoguesserJoinGameMutation","useGeoguesserGetGameQuery","useLazyGeoguesserGetGameQuery","useGeoguesserMakeGuessMutation","useGeoguesserGetGameCoordinatesQuery","useLazyGeoguesserGetGameCoordinatesQuery","useGeoguesserExitGameMutation","useGeoguesserGetAllGameResultQuery","useLazyGeoguesserGetAllGameResultQuery","useGeoguesserGetRoundsDataQuery","useLazyGeoguesserGetRoundsDataQuery","geoguesserApi","useHyperbeamStartHyperbeamVmMutation","useHyperbeamGetHyperbeamEventQuery","useLazyHyperbeamGetHyperbeamEventQuery","useHyperbeamShutdownHyperbeamVmMutation","useHyperbeamGetHyperbeamSessionsQuery","useLazyHyperbeamGetHyperbeamSessionsQuery","useHyperbeamDeleteHyperbeamSessionMutation","useHyperbeamGetHyperbeamSessionQuery","useLazyHyperbeamGetHyperbeamSessionQuery","hyperbeamApi","useLanguagesGetLanguagesQuery","useLazyLanguagesGetLanguagesQuery","useLanguagesGetLocationQuery","useLazyLanguagesGetLocationQuery","languagesApi","useLocalizationGetLocalizationFileQuery","useLazyLocalizationGetLocalizationFileQuery","useLocalizationAddLocalizationMutation","localizationApi","useRevisionGetRevisionQuery","useLazyRevisionGetRevisionQuery","useRevisionDeleteRevisionMutation","useRevisionCreateTranscriptionMutation","useRevisionGetUserTranscriptionQuery","useLazyRevisionGetUserTranscriptionQuery","useRevisionUploadChunkedAudioMutation","useRevisionStopRecordingMutation","useRevisionCancelRecordingMutation","useRevisionCreateChunkRecordingSettingsMutation","useRevisionListRecordingsQuery","useLazyRevisionListRecordingsQuery","useRevisionUpdateRecordingMutation","useRevisionGetRecordingQuery","useLazyRevisionGetRecordingQuery","useRevisionDeleteRecordingMutation","useRevisionCreateFeedbackRequestsMutation","useRevisionListFeedbackRequestsQuery","useLazyRevisionListFeedbackRequestsQuery","useRevisionCreateTeacherFeedbackMutation","useRevisionGetFeedbacksQuery","useLazyRevisionGetFeedbacksQuery","useRevisionDeleteFeedbackMutation","useRevisionCreateAudioTeacherFeedbackMutation","useRevisionAddUserPreferenceOnFeedbackMutation","useRevisionGetUserPreferenceOnFeedbackQuery","useLazyRevisionGetUserPreferenceOnFeedbackQuery","useRevisionTranscriptionWebhookMutation","useRevisionCreateRecordingChunkMutation","useRevisionGetDefaultTeacherQuery","useLazyRevisionGetDefaultTeacherQuery","useRevisionGetQuestionsQuery","useLazyRevisionGetQuestionsQuery","useRevisionGetSummaryQuery","useLazyRevisionGetSummaryQuery","useRevisionGetTtsUrlMutation","useRevisionGetActiveStudentsQuery","useLazyRevisionGetActiveStudentsQuery","useRevisionGetGeneralStatsQuery","useLazyRevisionGetGeneralStatsQuery","useRevisionGetAiAnalysisQuery","useLazyRevisionGetAiAnalysisQuery","useRevisionGetStudentPerformanceQuery","useLazyRevisionGetStudentPerformanceQuery","useRevisionGetRecordingLimitsQuery","useLazyRevisionGetRecordingLimitsQuery","useRevisionProcessRecordingMutation","modulesApi","draftUser","current","_b","_c","_d","draftModules","revisionApi","draftRecordings","useMusicboxGetMusicQuery","useLazyMusicboxGetMusicQuery","useMusicboxPlayMusicMutation","musicboxApi","useNeopaymentSubscribeMutation","useNeopaymentUpgradePlanMutation","useNeopaymentRetrieveSubscriptionQuery","useLazyNeopaymentRetrieveSubscriptionQuery","useNeopaymentStripeWebhookMutation","useNeopaymentListUserSubscriptionsQuery","useLazyNeopaymentListUserSubscriptionsQuery","useNeopaymentGetBillingPortalQuery","useLazyNeopaymentGetBillingPortalQuery","useNeopaymentGetAttendanceLimitsQuery","useLazyNeopaymentGetAttendanceLimitsQuery","neopaymentApi","useNotesCreateStickyNoteMutation","useNotesGetStickyNotesQuery","useLazyNotesGetStickyNotesQuery","useNotesGetStickyNoteByIdQuery","useLazyNotesGetStickyNoteByIdQuery","useNotesDeleteStickyNoteMutation","useNotesUpdateStickyNoteMutation","notesApi","newNote","draftNotes","updatedNote","useNotificationGetUnreadNotificationsNumberQuery","useLazyNotificationGetUnreadNotificationsNumberQuery","useNotificationGetNotificationsQuery","useLazyNotificationGetNotificationsQuery","useNotificationGetNotificationQuery","useLazyNotificationGetNotificationQuery","notificationApi","usePaymentGetSubscriptionPricesQuery","useLazyPaymentGetSubscriptionPricesQuery","usePaymentCreateCheckoutMutation","usePaymentListUserPaymentQuery","useLazyPaymentListUserPaymentQuery","usePaymentGetUserSubscriptionQuery","useLazyPaymentGetUserSubscriptionQuery","usePaymentCreatePortalMutation","usePaymentStripeWebhooksMutation","usePaymentPaymeeWebhooksMutation","usePaymentGetCreditsQuery","useLazyPaymentGetCreditsQuery","usePaymentReportUsageMutation","usePaymentAddStudentSeatsMutation","usePaymentGetStripeAccountQuery","useLazyPaymentGetStripeAccountQuery","usePaymentCreateStripeAccountMutation","usePaymentGenerateStripeOnboardingFormMutation","usePaymentGenerateStripeLoginLinkMutation","usePaymentCreateTeacherCheckoutMutation","usePaymentGetTeacherSubscriptionPlansQuery","useLazyPaymentGetTeacherSubscriptionPlansQuery","usePaymentConnectStripeWebhooksMutation","usePaymentCreateTeacherAiCheckoutMutation","usePaymentGetStripeAccountByUserIdQuery","useLazyPaymentGetStripeAccountByUserIdQuery","usePaymentCancelUserSubscriptionMutation","paymentApi","response","draftAccount","usePictionaryGetPictionaryGamesConfigQuery","useLazyPictionaryGetPictionaryGamesConfigQuery","usePictionaryJoinGameMutation","usePictionaryGetGameQuery","useLazyPictionaryGetGameQuery","usePictionaryMakeGuessMutation","usePictionaryAddGameRoundGuessMutation","usePictionaryExitGameMutation","usePictionaryNextRoundMutation","pictionaryApi","useRatingRateUserMutation","useRatingDeleteRatingMutation","useRatingChangeRatingForUserMutation","useRatingGetRatingIdQuery","useLazyRatingGetRatingIdQuery","useRatingGetRatingsForUserQuery","useLazyRatingGetRatingsForUserQuery","ratingApi","updatedChunks","chunk","comment","updatedComments","newComment","startTime","endTime","chunkIsExist","newFeedback","useStorageUploadToBucketMutation","storageApi","useTeacherFilterTeachersQuery","useLazyTeacherFilterTeachersQuery","useTeacherCreateLessonMutation","useTeacherListLessonQuery","useLazyTeacherListLessonQuery","useTeacherUpdateLessonMutation","useTeacherGetLessonQuery","useLazyTeacherGetLessonQuery","useTeacherGetTeacherAvailabilitiesQuery","useLazyTeacherGetTeacherAvailabilitiesQuery","useTeacherGetCategoriesQuery","useLazyTeacherGetCategoriesQuery","useTeacherCreateGroupLessonMutation","useTeacherGetGroupLessonsQuery","useLazyTeacherGetGroupLessonsQuery","useTeacherUpdateGroupLessonMutation","useTeacherGetGroupLessonQuery","useLazyTeacherGetGroupLessonQuery","useTeacherCreateGroupLessonBookingMutation","useTeacherListGroupLessonBookingsQuery","useLazyTeacherListGroupLessonBookingsQuery","useTeacherDeleteGroupLessonBookingMutation","useTeacherUpdateTeacherHomepageMutation","useTeacherCreateTeacherHomepageMutation","useTeacherGetTeacherHomepageQuery","useLazyTeacherGetTeacherHomepageQuery","useTeacherGetTeacherHomepageByUrlQuery","useLazyTeacherGetTeacherHomepageByUrlQuery","useTeacherCloseTeacherHomepageMutation","useTeacherCheckHomepageUrlAvailabilityMutation","teacherApi","teacherHomepage","transcriptApi","useTranslateTranslateStringMutation","useTranslateGetTranslateLanguagesQuery","useLazyTranslateGetTranslateLanguagesQuery","translateApi","useWeblinksCreateWeblinkMutation","useWeblinksGetWeblinksQuery","useLazyWeblinksGetWeblinksQuery","useWeblinksDeleteWeblinkMutation","useWeblinksGetWeblinkQuery","useLazyWeblinksGetWeblinkQuery","useWeblinksUpdateWeblinksMutation","useWeblinksViewWeblinkMutation","weblinksApi","draftWeblinks","e","useWhiteboardStartWhiteboardMutation","useWhiteboardExitWhiteboardMutation","useWhiteboardCreatePermissionMutation","useWhiteboardListPermissionQuery","useLazyWhiteboardListPermissionQuery","useWhiteboardDeleteAllPermissionsMutation","useWhiteboardDeletePermissionMutation","whiteboardApi","useTheme","mode","resolvedMode","resolveMode","isDark","isLight","theme","useUtilsTheme","Chat","messages","onSendMessage","users","disabled","messagesEndRef","useRef","setMessage","useState","handleSubmit","scrollToBottom","msg","ChatMessage","MessageToSend","type","username","avatar","loading","success","variants","motion","Tooltip","Avatar","Button","TranslateIcon","CircularProgress","CheckCircleIcon","ErrorIcon","onChange","onSubmit","handleChange","insertEmoji","emoji","TextField","InputAdornment","EmojiPickerButton","inputBaseClasses","SendIcon","onEmojiClick","handleClick","handleClose","handleEmojiClick","Fragment","InsertEmoticonIcon","Popover","EmojiPicker","BackdropButton","BackdropButtonWithShadow","Container","placement","placements","Icon","buttonProps","containerProps","anchorRef","handleToggle","prevOpen","Grow","Popper","TransitionProps","ClickAwayListener","CloseIcon","CodeInput","code","setCode","sx","length","focus","inputMode","rest","digit1El","digit2El","digit3El","digit4El","digit5El","digit6El","digit1","setDigit1","digit2","setDigit2","digit3","setDigit3","digit4","setDigit4","digit5","setDigit5","digit6","setDigit6","digits","handleKeyDown","useImperativeHandle","StyledTextField","text","handleStatus","neutral","LevelDisplay","forwardRef","elevation","CopyButton","direction","StyledLinearProgress","LinearProgress","value","linearProgressClasses","height","ProgressBar","currentStep","numberOfSteps","progress","StepsWrapper","StepsContainer","StepTypography","Steps","i","ProgressView","showSteps","showProgressBar","swipeable","emblaRef","emblaApi","useEmblaCarousel","validateCurrentStep","step","handleSelect","useCallback","child","ControllerTimePicker","name","control","Controller","TimePicker","ControllerDatePicker","DatePicker","TextEditor","htmlContent","bgPickOption","handleChangeVideo","videoLink","handleChangeExternalLink","externalLink","onColorChange","onSave","onCancel","readOnly","onUpdate","contentBlock","htmlToDraft","contentState","ContentState","editorState","setEditorState","EditorState","onEditorStateChange","draftjsToHtml","convertToRaw","getCustomButton","buttons","ColorPicker","CheckIcon","Editor","onChangeColor","ColorLensIcon","HexColorPicker","ControllerDateCalendar","DateCalendar","ControllerMobileTimePicker","MobileTimePicker","img1","img2","img3","img4","img5","img6","img7","img8","thumbnails","handleGravatar","avatarImage","Bar","CountdownWrapper","NumberCard","size","NumbersWrapper","SeperatorWrapper","Countdown","CustomCountdownComponent","CustomCompletionist","Completionist","TimeDisplay","time","renderer","hours","minutes","seconds","completed","ReactCountdownComponent","BlinkingDot","IconButtonMui","TWEEN_FACTOR","numberWithinRange","number","min","max","EmblaCarousel","sliders","options","tweenValues","setTweenValues","prevBtnDisabled","setPrevBtnDisabled","nextBtnDisabled","setNextBtnDisabled","onScroll","engine","scrollProgress","styles","scrollSnap","diffToTarget","loopItem","target","sign","tweenValue","scrollPrev","scrollNext","onSelect","flushSync","ArrowBackIosNewIcon","ArrowForwardIosIcon","EmblaSlider","ControllerAutocomplete","Autocomplete","newValue","ButtonMui","floating","LoadingButton","MuiButton","ControllerCheckbox","Checkbox","FormControlCard","FormControlLabel","checked","card","radioGroup","useRadioGroup","MuiFormControlLabel","LinearProgressWithLabel","Modal","onClose","paperProps","showCloseBtn","transition","MuiModal","Backdrop","Transition","inProp","Fade","Zoom","Slide","ControllerRadioGroup","RadioGroup","ControllerSelect","Select","ControllerSlider","Slider","Switch","SwitchMui","ControllerSwitch","ControllerTextField","variant","SwitchContainer","Dot","SwitchBtn","switched","setSwitched","firstLabel","secondLabel","boxStyles","dotStyles","textStyles","handleSwitch","PlanCard","highlighted","subprice","price","detail","CallToAction","description","planImg","icons","t","useTranslation","Divider","CheckCircleOutlineIcon","errorHandler","useIsHost","userId","eventHostId","huddleHosts","isEventHost","isHuddleHost","useUser","event_host_id","isTeacher","isStudent","isSubscribed","isCompany","isPartner","userLanguages","isHost","Accordion","MuiAccordion","AccordionSummary","MuiAccordionSummary","AccordionDetails","MuiAccordionDetails","QuestionAccordion","question","ArrowForwardIosSharpIcon","TypographyMui","CardPricing","userSubscriptions","currentSubscription","daysLeft","endDate","today","diffTime","subscriptionStatus","feature","ContainerMui","ContainerBottom","MuiTypography","Footer","MuiLink","link","Link","globalTheme","darkTheme","createTheme","darkTheme$1","responsiveFontSizes","lightTheme","lightTheme$2","HeaderPlaceholder","MuiCard","MuiCardActionArea","ImageOuterContainer","isTeach","ImageInnerContainer","TitleContainer","TitleTypography","isSelected","GuestLearn","GuestTeach","useLanguages","isLoading","isSuccess","languages","getLanguageFromCode","languageCode","lng","lang","useAccents","accent","acc","container","ProgressViewContainer","ModulesChecker","modules","refetch","sendModule","getCurrentClassroom","handleOpen","setCurrentStep","navigate","useNavigate","handleNextStep","setValue","useForm","formState","steps","arrayOfSteps","StatusStep","cloneElement","isLastStep","selectedCard","setSelectedCard","RegisterCard","selected","cardStyles","handleCardClick","pengguinLogo$1","isepakLogoDark","WelcomeModal","location","firstTime","pengguinLogo","FlyMascot","fadeIn","keyframes","float","StyledBox","FloatingImage","GiftModal","submit","feedbacks","handleGoToFeedback","unlockedFeedback","feedback","penguinFlyImg","GiftModalWrapper","getModules","lazy","__vitePreload","AppLayout","ThemeProvider","GlobalStyles","CssBaseline","Suspense","Outlet","AuthLayout","formatSeconds","remainingSeconds","formattedMinutes","formattedSeconds","active","DisplaySessions","limit","setLimit","completedSessions","isError","isFetching","ListRequest","isSuccessListRequest","isLoadingListRequest","isErrorListRequest","errorListRequest","searchTerm","setSearchTerm","handleSearchChange","filteredRequest","request","handleLimit","updateReviwewFeedback","getStatusRequest","handleReview","lessonId","review","updatedReceived","dateDesc","setDateDesc","dateDescRequest","setDateDescRequest","KeyboardArrowDownIcon","Skeleton","Alert","SearchIcon","a","b","dateA","dayjs","dateB","session","SessionDisplayCard","feedbackId","isRecent","userName","reviewRequest","requestStatus","onItemClick","feedback_id","useParams","isMatcheMd","handleNavigate","toolTipDate","titleDate","formattedDate","isActive","Grid","LoopIcon","spin","PaperMui","SessionsWrapper","createEventNowSchema","Yup.object","Yup.string","Yup.mixed","Yup.boolean","Yup.array","useToast","useCurrentEvent","shortEventId","fetchedEvent","currentEvent","setCurrentEvent","Geoguesser","Discussion","Hyperbeam","Pictionary","CaptionThis","Whiteboard","Activity","CurrentActivity","ActivityContainer","image","CenterContainer","Anim","animParams","StyledContainer","AnimLoader","className","backgound","boxColors","desktopSize","mobileSize","colorsToFill","asize","isDesktopOrLaptop","isTabletOrMobile","sizeFound","sizePassed","sizeContainer","sizeBorderRadius","sizeBorderThickness","box1Params","box2Params","box3Params","anim1Params","anim2Params","anim3Params","Loader","FlotingButton","DotBlinking","requestNotificationPermission","scheduleEventNotification","scheduledTime","registration","delay","googleCalendarIcon","createGoogleCalendarUrl","details","url","ParticipantButton","width","isDashboard","onParticipate","participateInEvent","isLoadingParticipateInEvent","handleParticipate","userp","image$1","loginSchema","registerSchema","Yup.date","Yup.number","sendResetPasswordEmailSchema","Yup.ref","deleteAccountSchema","updateLanguagesSchema","Yup.lazy","payCashSchema","VisuallyHiddenInput","MuiIconButton","ModalUpdateImage","handleUpload","showIcon","setImage","cropper","setCropper","setIsLoading","handleFileInputChange","fileReader","handleCrop","blob","formData","token","axios","Badge","PencilIcon","AddAPhotoOutlinedIcon","Cropper","instance","VideoContainer","formatPrice","SlideMui","QuizContainer","QuestionContainer","AnswerBox","AnswerButton","NextSessionTime","isMatches","ParticipantsList","RouterLink","AvatarGroup","participant","CommunityView","pathname","dataQuery","firstUser","_e","pathWithoutUserId","segment","Tabs","Tab","Matches","UserList","uniqueMatches","match","self","m","UserCard","queryHook","emptyMessage","SidebarDashboard","DashboardLayout","setSteps","contentRef","isSmDown","stepsTeacher","stepsStudent","initialStep","stepsEnabled","setStepsEnabled","observer","n","completeOnboardingTour","stepIndex","helperLayer","handleScrollToContent","AuthContainer","illustration","GridItem","ProfileContainer","MenuIcon","ErrorBoundary","useRouteError","handleRefresh","AlertTitle","EventLayout","NotFound","KeyboardReturnIcon","NotFoundPlaceholder","PageLayout","fallback","protectedRoute","publicRoute","simple","redirectMessage","roles","navigationType","previousPathname","navigationState","loginRoute","Navigate","targetRoute","Helmet","IconContainer","Sidebar","homepage","LinkButton","PermIdentityOutlinedIcon","DashboardCustomizeIcon","AttachMoneyIcon","VoiceChatIcon","SellIcon","SchoolOutlinedIcon","LanguageIcon","AttachMoneyOutlinedIcon","SettingsOutlinedIcon","NotificationsIcon","GTranslateIcon","to","label","icon","missing","ProfileLayout","useLoaderData","matches","Await","Drawer","SettingsContainer","GlobalStylesComponent","Toast","toasts","elems","messageInfo","setMessageInfo","reason","handleExited","Snackbar","CrispChat","isEventsPage","Crisp","SurveyModal","textareaRef","TestSurvey","shouldShow","surveyTitle","setSurveyTitle","surveyId","setSurveyId","usePostHog","surveys","survey","handleSurveySubmit","RootLayout","showSurvey","setShowSurvey","ScrollRestoration","documentsLoader","documents","promise","defer","LiveboardsPlaceholder","liveboardsLoader","liveboards","ModalDisplayNote","task","is_ai","setText","updateTask","taskQuestions","AiNoteCard","NoteEditor","note","noteContent","setColor","setVideoLink","setExternalLink","questions","setQuestions","handleColorChange","c","setChecked","checkedExternal","setCheckedExternal","handleChangeSwitch","handleChangeSwitchExternal","LinkIcon","parse","MenuNote","handleClosePopover","deleteTask","handleDeleteNote","MoreHorizIcon","GridDragIcon","MenuList","MenuItem","ListItemIcon","DeleteOutlinedIcon","ListItemText","MenuIspeakNote","addIspeakTaskToClassroomTasks","handleAddTask","AddCircleOutlineOutlinedIcon","CreateFolderModal","createFolder","setName","checkedOnlyMe","setCheckedOnlyMe","checkedSubs","setCheckedSubs","checkedViaCode","setCheckedViaCode","checkedSubsAi","setCheckedSubsAi","checkedSubsBasic","setCheckedSubsBasic","checkedSubsPremium","setCheckedSubsPremium","handleChangeOnlyMe","handleChangeSubs","handleChangeViaCode","handleChangeSubsAi","handleChangeSubsBasic","handleChangeSubsPremium","handleCreateFolder","visibility","FormGroup","PlayerWrapper","TaskContainer","Task","TaskCarouselView","tasks","handleClickExternal","ReactPlayer","DisplayNotes","setDisplayPoppover","setFolder","setDisplayFolderPoppover","currentClassroom","activeButton","setActiveButton","handleTabChange","folders","selectedFolder","setSelectedFolder","folderIndex","setFolderIndex","studendView","setStudentView","handleUpdateCache","queryCacheName","orderArray","idIndexMap","curr","indexA","indexB","handleUpdateCacheFolder","newTasks","FeedIcon","DraggableGrid","NoteCard","VideoIcon","SortableNoteCard","isDragging","attributes","setNodeRef","transform","useSortable","style","CSS","items","setItems","activeId","setActiveId","sensors","useSensors","useSensor","MouseSensor","TouchSensor","orderTasks","SortableNoteCardMemoized","getItemByIndex","handleDragStart","handleDragEnd","over","oldIndex","newIndex","newArray","arrayMove","idx","handleDragCancel","DndContext","closestCenter","SortableContext","rectSortingStrategy","DragOverlay","StickyNotesPlaceholder","stickyNotesLoader","word","useGetDictionnaryQuery","useLazyGetDictionnaryQuery","vocabularyLoader","VocabularyLoader","words","DisplayWeblinks","searchValue","setSearchValue","weblinks","SearchBar","List","Weblink","searchInputRef","WeblinkCard","WeblinkCardActionArea","useToggleMenu","weblinkSchema","yup.object","yup.string","yup.boolean","yup.array","yup.number","WeblinkModal","modify","weblinkId","weblinkTitle","weblinkLink","weblinkTags","addWeblink","reset","updateWeblink","isSuccessUpdate","isLoadingUpdate","handleUpdateSubmit","updateControl","yupResolver","onUpdateSubmit","params","openModal","closeModal","deleteWeblink","handleDelete","handleLinkClick","parsedUrl","URL","Menu","AddWeblink","Fab","AddIcon","WeblinksPage","WeblinksPlaceholder","penguinHeadPhoneImg","penguinPhoneImg","Steppper","BpIcon","BpCheckedIcon","RadioIcon","RadioCheckedIcon","CollectGoalsData","currentStepIndex","setCurrentStepIndex","getValues","watch","HandleGoal","goal","handleOccupation","handleInterest","interest","Step","FormControl","Radio","handleNext","prev","_","ModeTypography","isMobile","ModalContainer","ConfirmBtn","CancelBtn","CancelEvent","onOpen","cancelEvent","handleCancelEvent","SuccessMsg","penguinImg","penguinReadImg","penguinGlassesImg","penguinLaptopImg","HowItWorksEvent","howItWorksSteps","ArrowBackIcon","Illustration","LoadingScreen","showExpectations","setShowExpectations","cancelParticipation","isLoadingCancelParticipant","startEvent","isLoadingStartEvent","config","handleCancelParticipation","targetEvent","filteredEvent","handleStartEvent","Layout","UpcomingEventDetails","SparklesIcon","illustrationChildren","headerTitle","lobbyTitle","minNumberUsers","maxNumberUsers","start_time","diffDays","smMatch","UserOverviewContainer","ExpandableMenuItem","isLanguage","menuItemClasses","lessonFeedbackContext","chunkContext","SliderMui","FabMui","transcriptionContext","unpaidFakeFeedback","unpaidFakeTranscription","FeedbackPlaceholder","popIn","shimmer","PartyPopper","ShimmerText","planDisplayNames","SuccessfullSubscriptionModal","displayPlan","logoImg","feedbackByIdLoader","resolve","unsubscribe","LanguagesAutocomplete","placeholder","isMultiple","defaultValue","option","tagValue","getTagProps","createElement","KickStudentModal","kickUser","KickUserFromEvent","event_id","kickrequest","banFor","setBanFor","handleChangeBanFor","formatLabel","PersonRemoveOutlinedIcon","FilterButton","subscriptionType","videoCallContext","useStreamRecordingUnsw","testMyself","setIsSuccess","getRecordings","timeoutId","uploadRecording","chunkNumber","recordingId","stopUploadRecording","useRecording","selectedDevice","liveTranscribe","start","pause","useStopwatch","analyserNode","setAnalyserNode","audioData","setAudioData","recordingStatus","submitSettings","deleteRecording","processedChunks","setProcessedChunks","ready","setReady","mediaRecorderRef","totalprocessedChunks","setTotalprocessedChunks","recordingUUID","setRecordingUUID","CHUNK_SIZE_IN_SECONDS","mediaStreamRef","isCanceled","setIsCanceled","cleanUp","track","chunks","WEBSOCKET_CHUNK_INTERVAL","socket","setSocket","ffmpegRef","FFmpeg","ffmpegLoaded","setFfmpegLoaded","loadingProgress","setLoadingProgress","ffmpeg","coreBlob","coreURL","coreBlobURL","wasmResponse","wasmURL","contentLength","total","reader","receivedLength","done","wasmData","wasmBlob","wasmBlobURL","connectWebSocket","sessionUpdateMessage","startRecording","constraints","stream","audioContext","analyser","settings","uuidv4","mediaRecorder","ExtendableMediaRecorder","accumulatedChunks","lastUploadTime","isUploading","fetchFile","sampleRate","channels","outputData","arr","byte","old","err","stopRecording","pauseRecording","resumeRecording","cancelRecording","register","connect","getAudioData","bufferLength","dataArray","NameContainer","ReportUser","userToReport","lightColor","handleOpenReport","useContext","unReport","listReport","handleReport","FlagOutlinedIcon","FlagIcon","FollowLimitUpgradeModal","FollowUser","userToFollow","onError","userAuth","showUpgradeModal","setShowUpgradeModal","listFollowees","follow","unfollow","handleFollow","PersonOffIcon","PersonAddAltIcon","AvoidLimitUpgradeModal","AvoidUser","userAvoid","avoid","unAvoid","listAvoided","handleAvoid","goalIcon","workIcon","puzzleIcon","UserDetailsModal","userDetails","u","listFollowers","userGoal","isLoadingGoals","FavoriteBorderIcon","GoalsForm","_f","_g","_h","UpdateAccountForm","updateProfile","isDirty","isLoadingFollowers","UpdateImage","newImage","BoxContainer","PopoverMenu","trackReference","muted","videoTrack","sendWs","muteUser","unmuteUser","remoteParticipants","useRemoteParticipants","disableCamera","enableCamera","currentRtcRoom","handlePopoverOpen","handlePopoverClose","handleReload","AspectRatioIcon","FocusToggle","RecordVoiceOverOutlinedIcon","MicOffOutlinedIcon","MicNoneOutlinedIcon","VideocamOutlinedIcon","VideocamOffOutlinedIcon","Person2OutlinedIcon","CancelOutlinedIcon","ParticipantContextIfNeeded","hasContext","useMaybeParticipantContext","ParticipantContext","TrackRefContextIfNeeded","useMaybeTrackRefContext","TrackRefContext","ParticipantTile","React.forwardRef","trackRef","onParticipantClick","disableSpeakingIndicator","htmlProps","useEnsureTrackRef","isSpeaking","useIsSpeaking","elementProps","useParticipantTile","layoutContext","useMaybeLayoutContext","autoManageSubscription","useFeatureContext","handleSubscribe","React.useCallback","subscribed","isTrackReferencePinned","Track","ShieldIcon","isTrackReference","VideoTrack","AudioTrack","ParticipantName","AudioWaveform","TrackMutedIndicator","ScreenShareIcon","ConnectionQualityIndicator","p","useEnsureParticipant","isLocal","openLocal","setOpenLocal","React.useState","openRemote","setOpenRemote","UpdateProfileModal","waveform","useAudioWaveform","TopicTypography","MediaDeviceSelect","kind","initialSelection","onActiveDeviceChange","onDeviceListChange","onDeviceSelectError","exactMatch","requestPermissions","room","useMaybeRoomContext","handleError","RoomEvent","devices","activeDeviceId","setActiveMediaDevice","useMediaDeviceSelect","React.useEffect","handleActiveDeviceChange","deviceId","device","StyledPopover","TypoBreakoutTime","messagePosition","GetUserDocument","variables","useGetUserQuery","useLazyGetUserQuery","TrackToggleComponent","enabled","useTrackToggle","getSourceIcon","source","KeyboardVoiceOutlinedIcon","eventLoader","totalJoins","promiseGetTotalJoins","promiseModules","EventPlaceholder","ForgetPlaceholder","PageAlmostReadyModal","SoldOutModal","teacher_name","TeacherCurrentlyEditingModal","sLoginImg","UnauthHomepageComponent","isSMDown","getGoogleAuth","isLoadingGetGoogleAuth","isSuccessGoogleAuthLogin","handleGoogleLogin","UnauthHomepageModal","freeTrialImg","FeatureSection","reverse","VideoFeature","FreeTrialModal","getPlanId","recordingsNumber","isPremium","mikhailImg","andreaImg","eliotImg","DisplayHomeTeacher","welcome_message","video_url","thumbnail","features","expected_days","teacherImg","user_id","faq_color","ai_price","createCheckout","createAiCheckout","isLoadingAi","stripeAccount","openSoldOut","handleCloseSoldOut","handleOpenSoldOut","openTeacherEdition","handleCloseTeacherEdition","handleOpenTeacherEdition","openUnauthHomepage","handleCloseUnauthHomepage","handleOpenUnauthHomepage","openFreeTrialModal","handleCloseFreeTrialModal","handleOpenFreeTrialModal","noRecording","setNoRectording","ai","planType","planDuration","key","element","handleStart","handleCheckout","planId","freeTrial","handleCheckoutAi","planAi","optionsCount","count","found","pricingCard","premium","corporateCard","commonlyQuestions","defaultFeatures","blocker","useBlocker","currentLocation","nextLocation","isDarkColor","HomeHeader","HomeVideo","Testimonials","videoUrl","testimonials","testimonial","StarIcon","hexColor","r","g","HomePageTeacher","homeTeacher","teacherHomeLoader","result","HomePagePlaceholder","liveEventLoader","events","LoginPlaceholder","DashboardPlaceholder","PaymentSuccessPlaceholder","SocialFeaturesModal","open2","anchorEl2","handleClose2","handleOpen2","Table","TableHead","TableRow","TableCell","TableBody","HelpOutlineIcon","useSubscription","subscribe","billingPortal","freshUserData","loadingPlan","setLoadingPlan","plan","period","pulseGlow","shine","AnimatedButton","Pricing","switchedOpt","handleToggleOpt","plans","RouteLink","PricingPlaceholder","ProfilePlaceholder","profileLoader","SubmitAccentForm","enhanceAccents","isSuccessLanguages","submitModule","PreferredAccent","SubSettingsContainer","AvailabilityPlaceholder","BioPlaceholder","LanguagePlaceholder","languagesLoader","notificationLoader","emailModule","PersonalPlaceholder","PreferredTeacherPlaceholder","imgIELTS","imgJobInterview","imgConversation","AudioVisualizer","strokeColor","canvasRef","animationFrameRef","analyzerRef","analyzer","draw","canvas","canvasCtx","sliceWidth","x","y","CoolLaptop","CheckBrowserCompat","MicBlocked","MicBlockedDark","AllowMic","AllowMicModal","micState","CheckMicPermission","isSupportedBrowser","ua","isChrome","isFirefox","isSafari","InterviewQuestionView","workshop","getTTS","audioRef","sliderValue","setSliderValue","getQuestionsList","ieltsQuestions","interviewJobQuestions","tolerance","q","score","currentQuestion","setCurrentQuestion","randomIndex","getQuestionText","questionObj","playTTSAudio","tts_url","getNewQuestion","shouldPlayAudio","newQuestion","questionText","handleSliderChange","handleSliderChangeCommitted","handleReplayAudio","VolumeUpOutlinedIcon","ReplayIcon","CompletedInterviewModal","TrendingFlatIcon","StepCircle","BubbleView","isMicTested","setIsMicTested","micStatus","setMicStatus","openAllowMic","handleCloseAllowMic","handleOpenAllowMic","openBrowserCompat","handleCloseBrowserCompat","handleOpenBrowserCompat","activeStep","setActiveStep","isCompleted","setIsCompleted","currentAiQuestion","setCurrentAiQuestion","setStream","setSelectedDevice","questionRef","getWorkshopImage","isSuccessUpload","cleanUpRecording","streamRecord","getQuestions","questionsData","isLoadingQuestions","recordingInit","cleanup","handleNextQuestion","res","PauseIcon","FiberManualRecordIcon","TestMicrophone","checkMic","changeDevice","audioDevices","startMicTest","mediaStream","initializeMicrophone","audioInputs","cleanupMicTest","handleStartWorkshop","InputLabel","BubblePlaceholder","Img","ButtonReward","ButtonCopy","BorderLinearProgress","ReferralLinkPlaceholder","SettingsPlaceholder","videoLinkSchema","VideoPlaceholder","InventoryPlaceholder","SubscriptionPlaceholder","Option","FormContainer","HomePlaceholder","Feedback","FeedbackById","Login","Main","Register","TryPengguin","Verify","Forget","Settings","MyClassrooms","Community","UserId","Summary","SummaryById","StickyNotes","Documents","Liveboards","Event","LiveEvent","Home","Bio","QuizVocabularyView","PersonalDetails","TeacherOptions","NotificationSettings","TeacherConnectAccount","TeacherPrices","FeedbackService","Availability","AffiliationOffers","BenefitLink","PreferredTeacher","Videos","Languages","index$1","Payment","PaymentSuccess","Subscription","SimpleLogin","SubscriptionIndividuals","CompanyStart","CompanyAccount","InterviewAi","Bubble","sentryCreateBrowserRouter","wrapCreateBrowserRouter","createBrowserRouter","router","MyClassroomsPlaceholder","RegisterPlaceholder","VerifyPlaceholder","TryPengguinPlaceholder","PersonalDetailsPlaceholder","LanguagesPlaceholder","Accent","VocabularyPlaceholder","notesLoader","Weblinks","App","utc","isoWeek","persistor","persistStore","TagManager","hotjar","ReactGA","Provider","PostHogProvider","PersistGate","HelmetProvider","LocalizationProvider","AdapterDayjs","RouterProvider","i18n","Backend","LanguageDetector","initReactI18next","DateTime","isLocalhost","define_process_env_default","swUrl","checkValidServiceWorker","registerValidSW","installingWorker","contentType","displayConsoleMessage","ReactDOM"],"ignoreList":[],"sources":["../../src/config/config.ts","../../src/config/sentry.ts","../../src/common/hooks/use-cookieconsent.ts","../../src/common/constants/routes.ts","../../src/common/components/event-card/event-card.styles.ts","../../src/common/utils/resolve-proficiency.ts","../../src/common/icons/thumb-testimonials-icon.tsx","../../src/common/icons/google-icon.tsx","../../src/common/icons/ticket-icon.tsx","../../src/common/icons/time-icon.tsx","../../src/common/icons/lock-icon.tsx","../../src/common/icons/green-ticket-icon.tsx","../../src/common/icons/vocab-icon.tsx","../../src/common/components/event-card/event-card.tsx","../../src/common/components/chat/chat.styles.ts","../../src/common/hooks/use-media-query.ts","../../src/common/hooks/use-toggle.ts","../../src/common/hooks/use-toggle-popover.ts","../../src/common/hooks/redux.ts","../../src/common/utils/tokens.ts","../../src/features/auth/auth-actions.ts","../../src/app/services/baseQuery.ts","../../src/app/services/api.ts","../../src/app/services/auto-generated/modules.ts","../../src/app/services/auto-generated/affiliate.ts","../../src/app/services/affiliate.ts","../../src/app/services/auto-generated/agora.ts","../../src/app/services/auto-generated/event.ts","../../src/app/services/graphql-api.ts","../../src/features/theme/theme.slice.ts","../../src/app/services/auto-generated/auth.ts","../../src/features/auth/auth-slice.ts","../../src/features/toast/toast.slice.ts","../../src/features/discussion/discussion.slice.ts","../../src/features/inventory/inventory.slice.ts","../../src/features/whiteboard/whiteboard.slice.ts","../../src/features/panels/panels.slice.ts","../../src/features/recordings/recordings.slice.ts","../../src/features/event/event-slice.ts","../../src/features/chat/chat.slice.ts","../../src/features/surveys/surveys.slice.ts","../../src/app/store/store.ts","../../src/app/services/ws.ts","../../src/app/services/agora.ts","../../src/app/services/auto-generated/ambassadors.ts","../../src/app/services/ambassadors.ts","../../src/app/services/auth.ts","../../src/app/services/auto-generated/bookings.ts","../../src/app/services/bookings.ts","../../src/app/services/auto-generated/captionThis.ts","../../src/app/services/captionThis.ts","../../src/app/services/auto-generated/chat.ts","../../src/app/services/chat.ts","../../src/app/services/auto-generated/classroom.ts","../../src/app/services/classroom.ts","../../src/app/services/auto-generated/discord.ts","../../src/app/services/discord.ts","../../src/app/services/auto-generated/discussion.ts","../../src/app/services/discussion.ts","../../src/app/services/auto-generated/documents.ts","../../src/app/services/documents.ts","../../src/app/services/event.ts","../../src/app/services/auto-generated/geoguesser.ts","../../src/app/services/geoguesser.ts","../../src/app/services/auto-generated/hyperbeam.ts","../../src/app/services/hyperbeam.ts","../../src/app/services/auto-generated/languages.ts","../../src/app/services/languages.ts","../../src/app/services/auto-generated/localization.ts","../../src/app/services/localization.ts","../../src/app/services/auto-generated/revision.ts","../../src/app/services/modules.ts","../../src/app/services/auto-generated/musicbox.ts","../../src/app/services/musicbox.ts","../../src/app/services/auto-generated/neopayment.ts","../../src/app/services/neopayment.ts","../../src/app/services/auto-generated/notes.ts","../../src/app/services/notes.ts","../../src/app/services/auto-generated/notification.ts","../../src/app/services/notification.ts","../../src/app/services/auto-generated/payment.ts","../../src/app/services/payment.ts","../../src/app/services/auto-generated/pictionary.ts","../../src/app/services/pictionary.ts","../../src/app/services/auto-generated/rating.ts","../../src/app/services/rating.ts","../../src/app/services/revision.ts","../../src/app/services/auto-generated/storage.ts","../../src/app/services/storage.ts","../../src/app/services/auto-generated/teacher.ts","../../src/app/services/teacher.ts","../../src/app/services/auto-generated/transcript.ts","../../src/app/services/transcript.ts","../../src/app/services/auto-generated/translate.ts","../../src/app/services/translate.ts","../../src/app/services/auto-generated/weblinks.ts","../../src/app/services/weblinks.ts","../../src/app/services/auto-generated/whiteboard.ts","../../src/app/services/whiteboard.ts","../../src/features/auth/utils/refresh-token-if-expired.ts","../../src/features/theme/theme.hooks.ts","../../src/common/components/chat/chat.tsx","../../src/common/components/popper-button/popper-button.styles.ts","../../src/common/components/popper-button/popper-button.tsx","../../src/common/components/otp-input/otp-input.tsx","../../src/common/components/languages-autocomplete/selected-option.tsx","../../src/common/components/languages-autocomplete/languages-autocomplete.tsx","../../src/common/components/ShareLink/share-link.styles.ts","../../src/common/components/carousel/carousel.styles.ts","../../src/common/components/ProgressView/ProgressBar/ProgressBar.styles.ts","../../src/common/components/ProgressView/ProgressBar/ProgressBar.tsx","../../src/common/components/ProgressView/Steps/Steps.styles.ts","../../src/common/components/ProgressView/Steps/Steps.tsx","../../src/common/components/ProgressView/ProgressView.styles.ts","../../src/common/components/ProgressView/ProgressView.tsx","../../src/common/components/time-picker/time-picker.tsx","../../src/common/components/date-picker/date-picker.tsx","../../src/common/components/text-editor/text-editor.tsx","../../src/common/components/color-picker/color-picker.tsx","../../src/common/components/date-calendar/data-calendar.tsx","../../src/common/components/mobile-time-picker/mobile-time-picker.tsx","../../src/common/constants/thumbnails.ts","../../src/common/utils/gravatar.ts","../../src/common/components/level-display/level-display.styles.ts","../../src/common/components/level-display/level-display.tsx","../../src/common/components/Countdown/Countdown.styles.ts","../../src/common/components/Countdown/Countdown.tsx","../../src/common/components/blinking-dot/blinking-dot.tsx","../../src/common/components/icon-button/icon-button.tsx","../../src/common/components/embla-carousel/embla-carousel.tsx","../../src/common/components/autocomplete/autocomplete.tsx","../../src/common/components/button/button.styles.ts","../../src/common/components/button/button.tsx","../../src/common/components/checkbox/checkbox.tsx","../../src/common/components/form-control-label/form-control-label.styles.ts","../../src/common/components/form-control-label/form-control-label.tsx","../../src/common/components/linear-progress/linear-progress.tsx","../../src/common/components/modal/modal.styles.tsx","../../src/common/components/modal/modal.tsx","../../src/common/components/radio-group/radio-group.tsx","../../src/common/components/select/select.tsx","../../src/common/components/slider/slider.tsx","../../src/common/components/switch/switch.tsx","../../src/common/components/text-field/text-field.tsx","../../src/features/pricing/components/switch-btn/switch-btn.styles.ts","../../src/features/pricing/components/switch-btn/switch-btn.tsx","../../src/features/pricing/components/plan-card-v0/plan-card.tsx","../../src/common/utils/error-handler.ts","../../src/features/event/utils/is-host.ts","../../src/features/auth/hooks/use-user.ts","../../src/features/pricing/components/question-accordion/question-accordion.styles.ts","../../src/features/pricing/components/question-accordion/question-accordion.tsx","../../src/features/pricing/components/card-pricing/card-pricing.styles.ts","../../src/features/pricing/components/card-pricing/card-pricing.tsx","../../src/common/layout/footer/footer.styles.ts","../../src/common/layout/footer/footer.tsx","../../src/styles/themes/global-theme.ts","../../src/styles/themes/dark-theme.ts","../../src/styles/themes/light-theme.ts","../../src/common/layout/header/placeholder.tsx","../../src/features/modules-checker/modules-checker.styles.tsx","../../src/assets/images/GuestLearn.png","../../src/assets/images/GuestTeach.png","../../src/features/languages/hooks/use-languages.ts","../../src/features/languages/hooks/use-accent.ts","../../src/features/event/components/create-event-modal/create-event-modal.styles.tsx","../../src/features/modules-checker/modules-checker.tsx","../../src/assets/svg/pengguin-logo.svg","../../src/assets/svg/logo-speakduo-dark.svg","../../src/features/auth/components/welcome-modal/welcome-modal.tsx","../../src/assets/images/mascot/penguin-fly.png","../../src/features/payment/components/gift-modal/gift-modal.tsx","../../src/common/layout/app-layout/app-layout.tsx","../../src/styles/themes/unsw-global-theme.ts","../../src/styles/themes/unsw-light-theme.ts","../../src/common/layout/auth-layout/auth-layout.tsx","../../src/common/utils/time.ts","../../src/features/booking/components/display-sessions/display-session.styles.ts","../../src/features/booking/components/display-sessions/display-sessions.tsx","../../src/common/layout/sidebar-dashboard/sidebar-dashboard.styles.ts","../../src/common/utils/validations/event.validations.ts","../../src/features/toast/hooks.ts","../../src/features/event/hooks/use-current-event.ts","../../src/features/event/components/activity/activity.tsx","../../src/features/event/components/activity-select/activity-select.styles.ts","../../src/common/containers/center-container.tsx","../../src/features/event/components/loader/loader.tsx","../../src/features/event/components/events-view/events-view.styles.ts","../../src/common/utils/notifications.ts","../../src/assets/svg/google-calendar-icon.svg","../../src/features/event/utils/create-google-calendar-url.ts","../../src/features/event/components/participant-button/participant-button.tsx","../../src/assets/images/expectation/image2.png","../../src/features/classrooms/components/join-via-code-card/join-via-code-card.styles.tsx","../../src/features/classrooms/components/pengguin-tv-card/pengguin-tv-card.styles.ts","../../src/common/utils/validations/auth.validations.ts","../../src/features/auth/components/login-form/login-form.styles.ts","../../src/features/auth/components/teacher-banner-form/teacher-banner-form.styles.ts","../../src/features/auth/components/update-account-form/update-account-form.styles.ts","../../src/features/auth/components/update-account-form/modal-update-image.tsx","../../src/features/auth/components/teacher-options-form/teacher-options-form.styles.ts","../../src/features/pricing/utils/formatPrice.ts","../../src/features/auth/components/teacher-prices-form/teacher-prices-form.styles.ts","../../src/features/auth/components/quiz-vocabulary-view/quiz-vocabulary-view.styles.ts","../../src/features/classrooms/components/display-classroom/display-classroom.styles.ts","../../src/features/event/components/next-session-time/next-session-time.tsx","../../src/features/auth/components/community-view/community-view.styes.tsx","../../src/features/auth/components/community-view/community-view.tsx","../../src/common/layout/sidebar-dashboard/sidebar-dashboard.tsx","../../src/common/layout/dashboard-layout/dashboard-layout.tsx","../../src/common/containers/auth-container.tsx","../../src/common/containers/profile-container.tsx","../../src/common/containers/profile-settings-container.tsx","../../src/common/containers/profile-subsettings-container.tsx","../../src/common/layout/error-boundary/error-boundary.tsx","../../src/common/layout/event-layout/event-layout.tsx","../../src/pages/not-found/not-found.tsx","../../src/pages/not-found/placeholder.tsx","../../src/common/layout/page-layout/page-layout.tsx","../../src/common/layout/sidebar/sidebar.styles.ts","../../src/common/layout/sidebar/sidebar.tsx","../../src/common/layout/profile-layout/profile-layout.tsx","../../src/styles/global-styles.tsx","../../src/features/toast/toast.tsx","../../src/features/crisp-chat/components/crisp-chat.tsx","../../src/features/surveys/survey-modal.tsx","../../src/features/surveys/survey.tsx","../../src/common/layout/root-layout/root-layout.tsx","../../src/pages/dashboard/documents/loader.ts","../../src/pages/dashboard/liveboards/placeholder.tsx","../../src/pages/dashboard/liveboards/loader.ts","../../src/features/notes/components/display-notes/modal-display-note/modal-display-note.tsx","../../src/features/notes/components/display-notes/menu-note/menu-note.tsx","../../src/features/notes/components/display-notes/menu-ispeak-note/menu-ispeak-note.tsx","../../src/features/notes/components/create-folder-modal/create-folder-modal.tsx","../../src/features/notes/components/task-carousel-view/task-carousel-view.styles.tsx","../../src/features/notes/components/task/task.styles.ts","../../src/features/notes/components/task/task.tsx","../../src/features/notes/components/task-carousel-view/task-carousel-view.tsx","../../src/features/notes/components/display-notes/display-notes.tsx","../../src/pages/dashboard/sticky-notes/placeholder.tsx","../../src/pages/dashboard/sticky-notes/loader.ts","../../src/app/services/dictionnary.ts","../../src/pages/dashboard/vocabulary/placeholder.tsx","../../src/pages/dashboard/vocabulary/loader.ts","../../src/features/weblinks/components/display-weblinks/display-weblinks.tsx","../../src/features/weblinks/components/search-bar/search-bar.tsx","../../src/features/weblinks/components/weblink/weblink.styles.ts","../../src/common/hooks/use-toggle-menu.ts","../../src/common/utils/validations/weblinks.validations.ts","../../src/features/weblinks/components/weblink-modal/weblink-modal.tsx","../../src/features/weblinks/components/weblink/weblink.tsx","../../src/features/weblinks/components/add-weblink/add-weblink.tsx","../../src/pages/dashboard/weblinks/weblinks.tsx","../../src/pages/dashboard/weblinks/placeholder.tsx","../../src/assets/images/mascot/penguin-headphone2.png","../../src/assets/images/mascot/penguin-pohne.png","../../src/features/auth/components/collect-goals-data/collect-goals-data.styles.ts","../../src/features/auth/components/collect-goals-data/collect-goals-data.tsx","../../src/features/event/components/loading-screen/loading-screen.styles.ts","../../src/features/event/components/loading-screen/cancel-event/cancel-event.styles.ts","../../src/features/event/components/loading-screen/cancel-event/cancel-event.tsx","../../src/assets/images/mascot/penguin.png","../../src/assets/images/mascot/penguin-read.png","../../src/assets/images/mascot/penguin-glasses.png","../../src/assets/images/mascot/penguin-laptop2.png","../../src/features/event/components/how-it-works-event/how-it-works-event.tsx","../../src/features/event/components/loading-screen/loading-screen.tsx","../../src/common/layout/header/profile-menu/profile-menu.styles.ts","../../src/features/notifications/components/notifications/notifications.styles.ts","../../src/common/layout/header/header.styles.ts","../../src/features/feedback/context/lesson-feedback-context.ts","../../src/features/feedback/context/chunk.context.ts","../../src/features/feedback/components/audio-player/audio-player.styles.ts","../../src/features/feedback/components/audio-transcription/audio-transcription.styles.ts","../../src/features/feedback/context/transcription-context.ts","../../src/features/feedback/mock/unpaid-fake-feedback.ts","../../src/pages/dashboard/feedback/placeholder.tsx","../../src/features/payment/components/successfull-subscription-modal/successfull-subscription-modal.tsx","../../src/pages/dashboard/feedback/loader.ts","../../src/features/languages/components/languages-autocomplete/languages-autocomplete.tsx","../../src/features/panels/components/kick-student-modal/kick-student-modal.tsx","../../src/features/event/components/users-current-event/users-current-event.styles.ts","../../src/features/panels/components/video-call/context/videocall.context.ts","../../src/features/(unsw)/hooks/use-stream.ts","../../src/features/(unsw)/hooks/use-recording.ts","../../src/features/room/components/video-conference/video-conference.styles.tsx","../../src/features/auth/components/report-user/report-user.tsx","../../src/features/payment/components/follow-limit-upgrade-modal/follow-limit-upgrade-modal.tsx","../../src/features/auth/components/follow-user/follow-user.tsx","../../src/features/payment/components/avoid-limit-upgrade-modal/avoid-limit-upgrade-modal.tsx","../../src/features/auth/components/avoid-user/avoid-user.tsx","../../src/assets/svg/goal-icon.svg","../../src/assets/svg/work-icon.svg","../../src/assets/svg/puzzle.svg","../../src/features/panels/components/video-call/user-details-modal/user-details-modal.tsx","../../src/features/auth/components/update-account-form/update-account-form.tsx","../../src/features/room/components/video-conference/participant-title/participant-title.styles.tsx","../../src/features/room/components/video-conference/participant-title/popover-menu.tsx","../../src/features/room/components/video-conference/participant-title/participant-title.tsx","../../src/features/discussion/components/discussion-view/discussion-view.styles.ts","../../src/features/room/components/video-conference/control-bar/media-device-select/media-device-select.tsx","../../src/features/room/components/video-conference/control-bar/media-device-menu/media-device-menu.styles.ts","../../src/features/panels/components/room-provider/room-provider.styles.ts","../../src/features/room/components/video-conference/chat/chat.styles.ts","../../src/features/user/get-user.generated.ts","../../src/features/event/components/quick-cefr-test/quick-cefr-test.styles.ts","../../src/features/auth/components/report-user/report-user-modal/report-user-modal.styles.ts","../../src/features/room/components/pre-join-call/track-toggle.tsx","../../src/pages/event/loader.ts","../../src/pages/event/placeholder.tsx","../../src/pages/forget/placeholder.tsx","../../src/features/teachers/components/display-home-teacher/components/page-almost-ready-modal/page-almost-ready-modal.tsx","../../src/features/teachers/components/display-home-teacher/components/sold-out-modal/sold-out-modal.tsx","../../src/features/teachers/components/display-home-teacher/components/teacher-currently-editing-modal/teacher-currently-editing-modal.tsx","../../src/assets/images/ispeak-grey-logo.png","../../src/assets/images/slogin_image.png","../../src/features/teachers/components/display-home-teacher/components/unauth-homepage-modal/unauth-homepage-modal.tsx","../../src/assets/images/Free_trial_green.png","../../src/features/teachers/components/display-home-teacher/components/features-section/features-section.tsx","../../src/features/teachers/components/display-home-teacher/components/free-trial-modal/free-trial-modal.tsx","../../src/features/teachers/components/display-home-teacher/display-home-teacher.styles.ts","../../src/assets/images/homepage-testimonials/mikhail.png","../../src/assets/images/homepage-testimonials/andrea.png","../../src/assets/images/homepage-testimonials/eliot.png","../../src/features/teachers/components/display-home-teacher/display-home-teacher.tsx","../../src/pages/home-page-teacher/home-page-teacher.tsx","../../src/pages/home-page-teacher/loader.ts","../../src/pages/home-page-teacher/placeholder.tsx","../../src/pages/live-event/loader.ts","../../src/pages/login/placeholder.tsx","../../src/pages/my-classrooms/placeholder.tsx","../../src/pages/payment-success/placeholder.tsx","../../src/features/pricing/components/social-features-modal/social-features-modal.tsx","../../src/features/pricing/hooks/use-subscription.ts","../../src/pages/pricing/pricing.tsx","../../src/pages/pricing/placeholder.tsx","../../src/pages/profile/placeholder.tsx","../../src/pages/profile/loader.ts","../../src/pages/profile/acccent/accent.tsx","../../src/pages/profile/availability/placeholder.tsx","../../src/pages/profile/bio/placeholder.tsx","../../src/pages/profile/languages/placeholder.tsx","../../src/pages/profile/languages/loader.ts","../../src/pages/profile/notification-settings/loader.ts","../../src/pages/profile/personal-details/placeholder.tsx","../../src/pages/profile/preferred-teacher/placeholder.tsx","../../src/assets/images/pengguin-avatars4.png","../../src/assets/images/pengguin-avatars8.png","../../src/assets/images/pengguin-avatars7.png","../../src/features/workshops/components/audio-visualizer/audio-visualizer.tsx","../../src/assets/images/laptop.png","../../src/features/recordings/components/add-recording/check-browser-compat.tsx","../../src/assets/images/permissions_mic_blocked.svg","../../src/assets/images/permissions_mic_blocked_dark.svg","../../src/assets/images/allow-mic.png","../../src/features/recordings/components/add-recording/allow-mic-modal.tsx","../../src/features/recordings/utils/mic-permission.ts","../../src/common/utils/supported-browser.ts","../../src/features/workshops/components/bubble-view/interview-question-view/interview-question-view.tsx","../../src/assets/images/penguin-interview.png","../../src/features/workshops/components/completed-interview-modal/completed-interview-modal.tsx","../../src/features/workshops/components/bubble-view/bubble-view.tsx","../../src/pages/bubble/placeholder.tsx","../../src/pages/profile/referral-link/referral-link.styles.ts","../../src/pages/profile/referral-link/placeholder.tsx","../../src/pages/profile/settings/placeholder.tsx","../../src/features/auth/components/video-form/video-form.styles.ts","../../src/common/utils/validations/modules.validations.ts","../../src/pages/profile/videos/placeholder.tsx","../../src/features/auth/components/register-form/register-form.styles.ts","../../src/pages/register/placeholder.tsx","../../src/pages/subscription-individuals/placeholder.tsx","../../src/features/auth/components/try-pengguin-form/try-pengguin-form.styles.ts","../../src/pages/try-pengguin/placeholder.tsx","../../src/features/auth/components/verify-form/verify.styles.ts","../../src/pages/verify/placeholder.tsx","../../src/pages/home/placeholder.tsx","../../src/routes/router-config.tsx","../../src/app/app.tsx","../../src/config/i18n.ts","../../src/lib/serviceWorkerRegistration.ts","../../src/utils/consoleEasterEgg.ts","../../src/main.tsx"],"sourcesContent":["export const API_BASE_URL = import.meta.env.VITE_API_BASE_URL\nexport const GRAPHQL_BASE_URL = import.meta.env.VITE_GRAPHQL_BASE_URL\nexport const MODE = import.meta.env.MODE // mode env\nexport const PROD = import.meta.env.MODE === 'production' // true if prod env\nexport const DEV = import.meta.env.MODE === 'development' // true if dev env\nexport const BASE_URL = window.location.origin\nexport const AGORA_APP_ID = import.meta.env.VITE_AGORA_APP_ID\nexport const SENTRY = import.meta.env.VITE_SENTRY === 'true'\nexport const GOOGLE_MAPS_API_KEY = import.meta.env.VITE_GOOGLE_API_KEY\nexport const CRISP_WEBSITE_ID = import.meta.env.VITE_CRISP_WEBSITE_ID\nexport const RECORDING_BUCKET = import.meta.env.VITE_RECORDING_BUCKET\nexport const DARKLY_CLIENT_SIDE_ID = import.meta.env.VITE_DARKLY_CLIENT_SIDE_ID\n\nexport const LIVEKIT_SERVER_URL = import.meta.env.VITE_LIVEKIT_SERVER_URL\n\nexport const HOTJAR_ID = import.meta.env.VITE_HOTJAR_ID\nexport const HOTJAR_SNIPPET_VERSION = import.meta.env.VITE_HOTJAR_SNIPPET_VERSION\n\nexport const IS_UNSW = import.meta.env.VITE_IS_UNSW === 'true'\nexport const ENABLE_ANALYTICS = import.meta.env.VITE_ENABLE_ANALYTICS === 'true'\nexport const PRESENCE_URL = import.meta.env.VITE_PRESENCE_URL\n\nexport const POSTHOG_KEY = import.meta.env.VITE_POSTHOG_KEY\n\nexport const POSTHOG_HOST = import.meta.env.VITE_POSTHOG_HOST\n\n// manual configs\nexport const DISABLE_PREFERRED_TEACHER_MODAL = true\n\nexport const GTM_ID = import.meta.env.VITE_GTM_ID || 'AW-16770246324'\n","import * as Sentry from '@sentry/react'\nimport { BrowserTracing } from '@sentry/tracing'\nimport { MODE, SENTRY } from './config'\nimport {\n useLocation,\n useNavigationType,\n createRoutesFromChildren,\n matchRoutes,\n} from 'react-router-dom'\nimport { useEffect } from 'react'\n\nSentry.init({\n dsn: 'https://ee997c2a294c4d26aea33daeb99a358d@o1221558.ingest.us.sentry.io/4504003884941312',\n integrations: [\n Sentry.reactRouterV6BrowserTracingIntegration({\n useEffect,\n useLocation,\n useNavigationType,\n createRoutesFromChildren,\n matchRoutes,\n }),\n Sentry.replayIntegration(),\n ],\n tracesSampleRate: 1.0,\n release: 'staging 1.1',\n enabled: SENTRY,\n ignoreErrors: [/^empty string$/],\n})\n","import { useEffect } from 'react'\nimport 'vanilla-cookieconsent/dist/cookieconsent.css'\nimport * as CookieConsent from 'vanilla-cookieconsent'\n\nconst useCookieConsent = () => {\n useEffect(() => {\n CookieConsent.run({\n categories: {\n necessary: {\n enabled: true,\n readOnly: true,\n },\n analytics: {\n services: {\n posthog: {\n label: 'Posthog',\n cookies: [\n {\n name: /^(ph_phc_)/,\n },\n ],\n onReject: () => {\n console.log('Posthog rejected')\n },\n },\n googleAnalytics: {\n label: 'Google Analytics',\n cookies: [\n {\n name: /^(_ga)/,\n },\n {\n name: '_gid',\n },\n ],\n },\n crisp: {\n label: 'Crisp',\n cookies: [\n {\n name: /^(crisp)/,\n },\n ],\n },\n },\n readOnly: false,\n autoClear: {\n cookies: [\n {\n name: /^(ph_phc_)/,\n },\n {\n name: /^(crisp)/,\n },\n {\n name: /^(_ga)/,\n },\n {\n name: '_gid',\n },\n ],\n },\n },\n },\n language: {\n default: 'en',\n translations: {\n en: {\n consentModal: {\n title: 'We use cookies',\n description: 'We use necessary cookies to make our site work.',\n acceptAllBtn: 'Accept all',\n acceptNecessaryBtn: 'Reject all',\n showPreferencesBtn: 'Manage Individual preferences',\n },\n preferencesModal: {\n title: 'Manage cookie preferences',\n acceptAllBtn: 'Accept all',\n acceptNecessaryBtn: 'Reject all',\n savePreferencesBtn: 'Accept current selection',\n closeIconLabel: 'Close modal',\n sections: [\n {\n title: 'Strictly Necessary cookies',\n description:\n 'These cookies are essential for the proper functioning of the website and cannot be disabled.',\n linkedCategory: 'necessary',\n },\n {\n title: 'Performance and Analytics',\n description:\n 'These cookies collect information about how you use our website. All of the data is anonymized and cannot be used to identify you.',\n linkedCategory: 'analytics',\n },\n ],\n },\n },\n },\n },\n })\n }, [])\n\n return null\n}\n\nexport default useCookieConsent\n","import { isUNSW } from '../../utils/unswUtils'\n\n// auth routes\nexport const MAIN_ROUTE = '/'\nexport const LOGIN_ROUTE = '/login'\nexport const SIMPLE_LOGIN_ROUTE = '/slogin'\nexport const REGISTER_ROUTE = '/register'\nexport const VERIFY_ROUTE = '/verify'\nexport const LOGIN_AS_GUEST_ROUTE = '/login_as_guest'\nexport const TRY_PENGGUIN_ROUTE = '/try_pengguin'\nexport const FORGET_ROUTE = '/forget_password'\nexport const REGISTER_COMPANY_ROUTE = '/company/start'\n\n// app routes\nexport const HOME_ROUTE = '/home'\nexport const INTERVIEW_ROUTE = '/bubble'\nexport const PROFILE_ROUTE = '/profile'\nexport const SETTINGS_ROUTE = `${PROFILE_ROUTE}/settings`\nexport const BIO_ROUTE = `${PROFILE_ROUTE}/my-teacher-bio`\nexport const CUSTOM_OPTION_ROUTE = `${PROFILE_ROUTE}/custom-options`\nexport const TEACHER_PRICES = `${PROFILE_ROUTE}/teacher-prices`\nexport const TEACHER_AFFILIATION_OFFERS = `${PROFILE_ROUTE}/affliation-offers`\nexport const TEACHER_CONNECT_ROUTE = `${PROFILE_ROUTE}/teacher-connect`\nexport const FEEDBACK_SERVICES_ROUTE = `${PROFILE_ROUTE}/feedback-services`\nexport const VIDEO_ROUTE = `${PROFILE_ROUTE}/my-videos`\nexport const PERSONAL_ROUTE = `${PROFILE_ROUTE}/personal-information`\nexport const LANGUAGES_ROUTE = `${PROFILE_ROUTE}/languages`\nexport const BENEFIT = `${PROFILE_ROUTE}/invite-your-friends`\nexport const AVAILABILITY_ROUTE = `${PROFILE_ROUTE}/availability`\nexport const SUBSCRIPTION_ROUTE = `${PROFILE_ROUTE}/subscription`\nexport const PROFILE_NOTIFICATION_ROUTE = `${PROFILE_ROUTE}/notification`\n\nexport const PREFERRED_TEACHER = `${PROFILE_ROUTE}/group-settings`\n\nexport const DASHBOARD_ROUTE = isUNSW() ? '/dashboard/recordings' : '/dashboard/workshops'\nexport const OVERVIEW_ROUTE = '/dashboard/overview'\nexport const NOTES_ROUTE = '/dashboard/notes'\nexport const DOCUMENTS_ROUTE = '/dashboard/documents'\nexport const VOCABULARY_ROUTE = '/dashboard/vocabulary'\nexport const LIVE_BOARDS_ROUTE = '/dashboard/live_boards'\nexport const WEBLINKS_ROUTE = '/dashboard/weblinks'\nexport const FEEDBACK_ROUTE = '/dashboard/feedback'\nexport const SUMMARY_ROUTE = '/dashboard/summary'\nexport const COMMUNITY_ROUTE = '/dashboard/community'\n\nexport const COMPANY_ACCOUNT_ROUTE = '/company/account'\n\n// export const COMMUNITY_ROUTE = '/community'\nexport const USERNAME_ROUTE = (username: any) => `/user/${username}`\nexport const BOOKING_ROUTE = '/booking'\nexport const MY_CLASSROOMS_ROUTE = '/events'\nexport const INVENTORY_ROUTE = '/inventory'\nexport const EVENT_ROUTE = '/classroom'\nexport const DEMO_ROUTE = '/demo'\nexport const EVENT = (id: any) => `/classroom/${id}`\nexport const NEXT_EVENT = '/live'\nexport const FIND_A_TEACHER_ROUTE = 'find-a-teacher'\nexport const RECORDINGS_ROUTE = isUNSW() ? '/dashboard/recordings' : '/dashboard/workshops'\nexport const TESTMYSELF_ROUTE = '/dashboard/test-myself'\nexport const QUIZ_VOCAB_ROUTE = '/dashboard/quiz-vocabulary'\n\nexport const GROUP_LESSON_ROUTE = (id: any) => `/group-lesson/${id}`\nexport const PRICING_ROUTE = '/pricing'\nexport const PAYMENT_ROUTE = '/payment'\nexport const CHECKOUT_SUCCESS_ROUTE = '/checkout/success'\n\nexport const PREFERRED_ACCENT_ROUTE = `${PROFILE_ROUTE}/preferred-accent`\n\n// external\nexport const LANDING_ROUTE = 'https://www.speakduo.com/'\nexport const FEEDBACK = 'https://feedback.pengguin.com'\nexport const BLOG = 'https://www.pengguin.com/blog'\nexport const FOR_SCHOOLS = 'https://www.languagegames.co/interplay'\nexport const TERMS_OF_USE =\n 'https://ispeak.notion.site/Terms-and-Conditions-a07be00c0cb14e728bf66988141055c2?pvs=4'\nexport const PRIVACY_POLICY =\n 'https://pengg.notion.site/I-SPEAK-Privacy-Policy-8253f7935d3f4e2bb2176f34c7b0a13b'\n","import { Card, Box, Chip, styled, Typography } from '@mui/material'\n\nexport const CardWrapper = styled(Card, {\n shouldForwardProp: (prop) => prop !== 'fullWidth' && prop !== 'backgroundColor',\n})<{ background: string; fullWidth?: boolean }>(({ fullWidth, background }) => ({\n background: background,\n borderRadius: '20px',\n width: fullWidth ? '100%' : '350px',\n maxWidth: '100%',\n display: 'flex',\n flexDirection: 'column',\n height: '250px',\n}))\n\nexport const Header = styled(Box)({\n display: 'flex',\n justifyContent: 'flex-start',\n width: '100%',\n})\n\nexport const StyledChip = styled(Chip, {\n shouldForwardProp: (prop) => prop !== 'background',\n})<{ background: string }>(({ background }) => ({\n color: 'white',\n background,\n minWidth: 60,\n verticalAlign: 'baseline',\n}))\n","export type Proficiency = 0 | 1 | 2 | 3 | 4\nexport type ResolvedProficiency = 'Beginner' | 'Medium' | 'Advanced' | 'Native' | 'All levels'\n\nconst resolveProficiency = (proficiency: Proficiency): ResolvedProficiency => {\n switch (proficiency) {\n case 0:\n return 'Beginner'\n case 1:\n return 'Medium'\n case 2:\n return 'Advanced'\n case 3:\n return 'Native'\n case 4:\n return 'All levels'\n default:\n return 'Native'\n }\n}\nexport { resolveProficiency }\n","const ThumbTestimonialsIcon = () => (\n \n \n \n)\nexport default ThumbTestimonialsIcon\n","import { SvgIcon } from '@mui/material'\nimport React from 'react'\n\nconst GoogleIcon = () => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default GoogleIcon\n","import * as React from 'react'\nconst TicketIcon = (props) => (\n \n \n \n \n \n \n \n \n \n \n \n)\nexport default TicketIcon\n","import * as React from 'react'\nconst TimeIcon = (props) => (\n \n \n \n)\nexport default TimeIcon\n","import * as React from 'react'\nconst FigmaLockIcon = (props) => (\n \n \n \n \n)\nexport default FigmaLockIcon\n","import * as React from 'react'\nconst GreenTicketIcon = (props) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n)\nexport default GreenTicketIcon\n","import * as React from 'react'\nimport { SVGProps } from 'react'\nconst VocabIcon = (props: SVGProps) => (\n \n \n \n \n)\nexport default VocabIcon\n","import React, { Children, MouseEventHandler } from 'react'\nimport { Box, Typography, IconButton, CardActionArea, Stack, CardProps } from '@common/components'\nimport { CardWrapper, Header, StyledChip } from './event-card.styles'\nimport { resolveProficiency, Proficiency } from '@common/utils/resolve-proficiency'\nimport { ModeEditOutlineOutlinedIcon, OnlinePredictionIcon, ShareOutlinedIcon } from '@common/icons'\nimport { alpha } from '@common/utils/styles'\n\ntype EventCardProps = CardProps & {\n title?: string\n host: {\n name: string\n image?: string\n }\n language?: string\n level?: Proficiency\n background?: string\n color?: string\n tags?: string[]\n status: 'live' | 'upcoming'\n fullWidth?: boolean\n onClick?: MouseEventHandler\n onDetailsClick?: MouseEventHandler\n onShareClick?: MouseEventHandler\n component?: any\n to?: string\n clickable?: boolean\n}\n\nconst EventCard = React.forwardRef((props, ref) => {\n const {\n host,\n status,\n color = '#fff',\n background = 'linear-gradient(#b651ff,#6E51FF)',\n title,\n language,\n level,\n tags,\n fullWidth = false,\n onClick,\n onDetailsClick,\n onShareClick,\n clickable = true,\n ...restProps\n } = props\n\n return (\n \n \n
\n {status === 'live' && (\n \n \n \n Live\n \n \n )}\n \n {/* TODO ADD DATE LAST OPENED */}\n \n {onDetailsClick !== undefined && (\n \n \n \n )}\n {onShareClick !== undefined && (\n \n \n \n )}\n \n \n
\n \n \n \n {title}\n \n \n \n {host.name}\n \n \n \n \n \n {level !== undefined && (\n {resolveProficiency(level)} }\n />\n )}\n {Array.isArray(tags) &&\n tags.map((elem, k) => (\n {elem} }\n />\n ))}\n \n \n
\n \n \n
\n )\n})\n\nEventCard.displayName = 'EventCard'\n\nexport default EventCard\n\nconst ControlledCardActionArea = (props) => {\n const { clickable, children, ...restProps } = props\n if (!clickable) return {children}\n else return {children}\n}\n","import { styled, Typography, Box, Paper } from '@mui/material'\n\nexport const ChatContainer = styled(Paper, {\n shouldForwardProp: (prop) => prop !== 'fullScreen',\n})(({ fullScreen }) => ({\n borderRadius: fullScreen ? 0 : '10px 0 0 10px',\n padding: '10px 6px',\n width: fullScreen ? '100%' : '300px',\n height: fullScreen ? '100%' : '400px',\n display: 'flex',\n flexDirection: 'column',\n}))\n\nexport const ChatHistory = styled(Box)({\n padding: '0 8px',\n overflowY: 'scroll',\n flex: 1,\n})\n\nexport const ChatMessageContainer = styled(Box)(({ position }) => ({\n display: 'flex',\n alignItems: 'center',\n justifyContent: position === 'left' ? 'flex-start' : 'flex-end',\n}))\n\nexport const MessageTypoContainer = styled(Box)(({ backgroundColor }) => ({\n backgroundColor,\n width: '170px',\n borderRadius: '5px',\n padding: '8px 4px',\n display: 'block',\n height: '100%',\n}))\n\nexport const MessageTypo = styled(Typography)({\n color: 'white',\n fontWeight: 400,\n wordBreak: 'break-word',\n})\n\nexport const LoadingOrErrorContainer = styled(Typography)({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n height: '100%',\n})\n","import { useMediaQuery as useMuiMediaQuery } from '@mui/material'\n\nconst useMediaQuery = (maxWidth: number) => {\n const matches = useMuiMediaQuery(`(max-width:${maxWidth ? maxWidth : '1150'}px)`)\n return matches\n}\n\nexport default useMediaQuery\n","import React from 'react'\n\nconst useToggle = (initialState: boolean) => {\n const [open, setOpen] = React.useState(initialState)\n\n const handleOpen = () => {\n setOpen(true)\n }\n\n const handleClose = () => {\n setOpen(false)\n }\n\n const handleToggle = () => {\n setOpen(!open)\n }\n\n return { open, handleOpen, handleClose, handleToggle }\n}\n\nexport default useToggle\n","import React from 'react'\n\nconst useTogglePopover = () => {\n const [anchorEl, setAnchorEl] = React.useState(null)\n\n const handleOpen = (event: React.MouseEvent) => {\n setAnchorEl(event.currentTarget)\n }\n\n const handleClose = () => {\n setAnchorEl(null)\n }\n\n const open = Boolean(anchorEl)\n\n return { open, anchorEl, handleClose, handleOpen }\n}\n\nexport default useTogglePopover\n","import { TypedUseSelectorHook, useDispatch, useSelector } from 'react-redux'\nimport type { RootState, AppDispatch } from '@app/store'\n\n// Use throughout your app instead of plain `useDispatch` and `useSelector`\nexport const useAppDispatch = () => useDispatch()\nexport const useAppSelector: TypedUseSelectorHook = useSelector\n","import moment from 'moment'\n\nexport const isTokenExpired = (date: moment.MomentInput): boolean => {\n return !moment(date).isAfter()\n}\n","import { createAction, createAsyncThunk } from '@reduxjs/toolkit'\n\n// we put the actions in a seperate file to avoid circular dependencies in app/serivces/base-query\n\nexport const SET_USER = 'auth/set_user'\nexport const setUser = createAction(SET_USER)\n\nexport const SET_TOKENS = 'auth/set_tokens'\nexport const setTokens = createAction(SET_TOKENS)\n\nexport const SET_ACCESS_TOKEN = 'auth/set_access_token'\nexport const setAccessToken = createAction(SET_ACCESS_TOKEN)\n\nexport const LOGOUT = 'auth/logout'\nexport const logout = createAction(LOGOUT)\n\nexport const waitForRehydration = createAsyncThunk('waitForRehydration', async (api) => {\n await api.dispatch({ type: 'persist/REHYDRATE' })\n})\n","import { RootState } from '@app/store'\nimport { isTokenExpired } from '@common/utils/tokens'\nimport { API_BASE_URL } from '@config'\nimport { logout, setAccessToken, waitForRehydration } from '@features/auth/auth-actions'\nimport {\n BaseQueryFn,\n FetchArgs,\n FetchBaseQueryError,\n fetchBaseQuery,\n} from '@reduxjs/toolkit/query/react'\nimport { Mutex } from 'async-mutex'\nimport queryString from 'query-string'\n\nconst mutex = new Mutex()\n\nconst baseQueryDefault = fetchBaseQuery({\n baseUrl: API_BASE_URL,\n prepareHeaders: (headers, baseQueryApi) => {\n const { getState } = baseQueryApi\n const tokens = (getState() as RootState).auth.tokens\n if (tokens && !isTokenExpired(tokens.access_token.expiration_time)) {\n // include token in req header\n headers.set('authorization', `Bearer ${tokens.access_token?.token}`)\n return headers\n }\n },\n})\n\nconst baseQuery: BaseQueryFn = async (\n fetchArgs,\n api,\n extraOptions,\n) => {\n const args =\n typeof fetchArgs === 'string'\n ? fetchArgs\n : {\n ...fetchArgs,\n url: fetchArgs.params\n ? fetchArgs.url + '?' + queryString.stringify(fetchArgs.params)\n : fetchArgs.url,\n params: undefined,\n }\n\n const { getState } = api\n await api.dispatch(waitForRehydration(api)) // wait for persisted values not initial ones\n const tokens = await (getState() as RootState).auth.tokens\n\n // logout if refresh token expired\n if (tokens?.refresh_token && isTokenExpired(tokens.refresh_token.expiration_time)) {\n api.dispatch(logout())\n }\n\n // refresh the access token if expired\n if (tokens?.access_token && isTokenExpired(tokens.access_token.expiration_time)) {\n // checking whether the mutex is locked\n if (!mutex.isLocked()) {\n const release = await mutex.acquire()\n try {\n const refreshResult = await baseQueryDefault(\n {\n url: '/api/v1/sdk/auth/refresh',\n headers: { authorization: `Bearer ${tokens?.refresh_token?.token}` },\n method: 'POST',\n },\n api,\n extraOptions,\n )\n if (refreshResult.data) {\n api.dispatch(setAccessToken(refreshResult.data.access_token))\n } else {\n api.dispatch(logout())\n }\n } finally {\n // release must be called once the mutex should be released again.\n release()\n }\n } else {\n // wait until the mutex is available without locking it\n await mutex.waitForUnlock()\n }\n }\n\n const result = await baseQueryDefault(args, api, extraOptions)\n return result\n}\n\nexport default baseQuery\n","import { API_BASE_URL } from '@config'\nimport { createApi } from '@reduxjs/toolkit/query/react'\nimport baseQuery from './baseQuery'\n\n// initialize an empty api service that we'll inject endpoints into later as needed\nconst api = createApi({\n baseQuery,\n endpoints: () => ({}),\n})\n\nexport { api as baseApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n modulesSubmitModuleResult: build.mutation<\n ModulesSubmitModuleResultApiResponse,\n ModulesSubmitModuleResultApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/modules/module/submit`,\n method: 'POST',\n body: queryArg.moduleResult,\n }),\n }),\n modulesSubmitModuleResultUnauth: build.mutation<\n ModulesSubmitModuleResultUnauthApiResponse,\n ModulesSubmitModuleResultUnauthApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/modules/module/unauth/submit`,\n method: 'POST',\n body: queryArg.moduleResult,\n }),\n }),\n modulesGetUserModules: build.query<\n ModulesGetUserModulesApiResponse,\n ModulesGetUserModulesApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/modules/user` }),\n }),\n modulesGetUserModuleResults: build.query<\n ModulesGetUserModuleResultsApiResponse,\n ModulesGetUserModuleResultsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/modules/module/results`,\n params: {\n module_id: queryArg.moduleId,\n limit: queryArg.limit,\n offset: queryArg.offset,\n order_by: queryArg.orderBy,\n order: queryArg.order,\n },\n }),\n }),\n modulesGetModuleByModuleId: build.query<\n ModulesGetModuleByModuleIdApiResponse,\n ModulesGetModuleByModuleIdApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/modules/module/${queryArg.moduleId}`,\n params: { language: queryArg.language },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ModulesSubmitModuleResultApiResponse =\n /** status 201 Successful Response */ SubmitModuleResultResponse\nexport type ModulesSubmitModuleResultApiArg = {\n moduleResult: ModuleResult\n}\nexport type ModulesSubmitModuleResultUnauthApiResponse =\n /** status 201 Successful Response */ SubmitModuleResultResponse\nexport type ModulesSubmitModuleResultUnauthApiArg = {\n moduleResult: ModuleResult\n}\nexport type ModulesGetUserModulesApiResponse =\n /** status 200 Successful Response */ UserModulesResponse\nexport type ModulesGetUserModulesApiArg = void\nexport type ModulesGetUserModuleResultsApiResponse =\n /** status 200 Successful Response */ ModuleResultDbModel[]\nexport type ModulesGetUserModuleResultsApiArg = {\n moduleId?: string | null\n limit?: number | null\n offset?: number | null\n orderBy?: string | null\n order?: string | null\n}\nexport type ModulesGetModuleByModuleIdApiResponse =\n /** status 200 Successful Response */ ModuleInDb | null\nexport type ModulesGetModuleByModuleIdApiArg = {\n moduleId: string\n language?: any\n}\nexport type SubmitModuleResultResponse = {\n id: number\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ModuleResult = {\n id: string\n data: object\n}\nexport type UserModulesResponse = {\n required: string[]\n submitted: string[]\n optional: string[]\n}\nexport type ModuleResultDbModel = {\n id: number\n module_id: number\n module_result?: object | null\n validator_user_id?: number | null\n created_at?: string\n updated_at?: string\n}\nexport type ModuleInDb = {\n id: number\n module_id: string\n config: object\n config_validator: object\n module_validator: object\n}\nexport const {\n useModulesSubmitModuleResultMutation,\n useModulesSubmitModuleResultUnauthMutation,\n useModulesGetUserModulesQuery,\n useLazyModulesGetUserModulesQuery,\n useModulesGetUserModuleResultsQuery,\n useLazyModulesGetUserModuleResultsQuery,\n useModulesGetModuleByModuleIdQuery,\n useLazyModulesGetModuleByModuleIdQuery,\n} = injectedRtkApi\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n affiliateGetCoupons: build.query({\n query: () => ({ url: `/api/v1/extensions/affiliate/coupons` }),\n }),\n affiliateGetAffiliates: build.query<\n AffiliateGetAffiliatesApiResponse,\n AffiliateGetAffiliatesApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/affiliate/affiliate` }),\n }),\n affiliateCreateAffiliate: build.mutation<\n AffiliateCreateAffiliateApiResponse,\n AffiliateCreateAffiliateApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/affiliate/affiliate`,\n method: 'POST',\n body: queryArg.createAffiliateRequest,\n }),\n }),\n affiliateGetAffiliate: build.query<\n AffiliateGetAffiliateApiResponse,\n AffiliateGetAffiliateApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/affiliate/affiliate/${queryArg.affiliateId}`,\n }),\n }),\n affiliateDeleteAffiliate: build.mutation<\n AffiliateDeleteAffiliateApiResponse,\n AffiliateDeleteAffiliateApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/affiliate/affiliate/${queryArg.affiliateId}`,\n method: 'DELETE',\n }),\n }),\n affiliateApplyPromotionCode: build.mutation<\n AffiliateApplyPromotionCodeApiResponse,\n AffiliateApplyPromotionCodeApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/affiliate/affiliate/apply`,\n method: 'POST',\n body: queryArg.applyPromotionRequest,\n }),\n }),\n affiliateGetPromotions: build.query<\n AffiliateGetPromotionsApiResponse,\n AffiliateGetPromotionsApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/affiliate/promotions` }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type AffiliateGetCouponsApiResponse = /** status 200 Successful Response */ CouponResponse[]\nexport type AffiliateGetCouponsApiArg = void\nexport type AffiliateGetAffiliatesApiResponse =\n /** status 200 Successful Response */ GetAffiliateResponse[]\nexport type AffiliateGetAffiliatesApiArg = void\nexport type AffiliateCreateAffiliateApiResponse =\n /** status 201 Successful Response */ CreateAffiliateResponse\nexport type AffiliateCreateAffiliateApiArg = {\n createAffiliateRequest: CreateAffiliateRequest\n}\nexport type AffiliateGetAffiliateApiResponse = /** status 200 Successful Response */ any\nexport type AffiliateGetAffiliateApiArg = {\n affiliateId: number\n}\nexport type AffiliateDeleteAffiliateApiResponse = /** status 200 Successful Response */ any\nexport type AffiliateDeleteAffiliateApiArg = {\n affiliateId: number\n}\nexport type AffiliateApplyPromotionCodeApiResponse = /** status 201 Successful Response */ any\nexport type AffiliateApplyPromotionCodeApiArg = {\n applyPromotionRequest: ApplyPromotionRequest\n}\nexport type AffiliateGetPromotionsApiResponse =\n /** status 200 Successful Response */ GetUsePromotionResponse[]\nexport type AffiliateGetPromotionsApiArg = void\nexport type CouponResponse = {\n id: number\n coupon_type: string\n coupon_value: number\n}\nexport type CouponTargetEnum = 'subscription' | 'lesson'\nexport type GetCouponResponse = {\n id: number\n coupon_type: string\n coupon_value: number\n}\nexport type GetPromotionResponse = {\n id: number\n username?: string | null\n}\nexport type GetAffiliateResponse = {\n id: number\n user_limit?: number | null\n expiration_date?: string | null\n target: CouponTargetEnum\n coupon?: GetCouponResponse | null\n promotions?: GetPromotionResponse[] | null\n use_count: number\n code: string\n created_at: string\n}\nexport type CreateAffiliateResponse = {\n id: number\n coupon_id: number\n user_limit?: number | null\n expiration_date?: string | null\n target: CouponTargetEnum\n code: string\n company_name?: string | null\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type CreateAffiliateRequest = {\n coupon_id: number\n user_limit?: number | null\n expiration_date?: string | null\n target: CouponTargetEnum\n company_name?: string | null\n}\nexport type ApplyPromotionRequest = {\n promotion_code: string\n}\nexport type UserCouponResponse = {\n id: number\n coupon: GetCouponResponse\n target: CouponTargetEnum\n code: string\n}\nexport type GetUsePromotionResponse = {\n id: number\n coupon_user: UserCouponResponse\n}\nexport const {\n useAffiliateGetCouponsQuery,\n useLazyAffiliateGetCouponsQuery,\n useAffiliateGetAffiliatesQuery,\n useLazyAffiliateGetAffiliatesQuery,\n useAffiliateCreateAffiliateMutation,\n useAffiliateGetAffiliateQuery,\n useLazyAffiliateGetAffiliateQuery,\n useAffiliateDeleteAffiliateMutation,\n useAffiliateApplyPromotionCodeMutation,\n useAffiliateGetPromotionsQuery,\n useLazyAffiliateGetPromotionsQuery,\n} = injectedRtkApi\n","import { api as affiliateApi } from './auto-generated/affiliate'\n\naffiliateApi.enhanceEndpoints({\n endpoints: {},\n})\n\nexport { affiliateApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n agoraIssueRtcToken: build.query({\n query: (queryArg) => ({\n url: `/api/v1/extensions/agora/rtc/${queryArg.roomId}`,\n params: { screen_share: queryArg.screenShare },\n }),\n }),\n agoraCreateNewRtcRoom: build.mutation<\n AgoraCreateNewRtcRoomApiResponse,\n AgoraCreateNewRtcRoomApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/agora/rtc/${queryArg.eventId}`,\n method: 'POST',\n params: { room_type: queryArg.roomType },\n }),\n }),\n agoraGetRtcRooms: build.query({\n query: (queryArg) => ({ url: `/api/v1/extensions/agora/rtc/${queryArg.eventId}/rooms` }),\n }),\n agoraGetRtcConfig: build.query({\n query: (queryArg) => ({ url: `/api/v1/extensions/agora/rtc/${queryArg.eventId}/config` }),\n }),\n agoraIssueRtmToken: build.query({\n query: () => ({ url: `/api/v1/extensions/agora/rtm` }),\n }),\n agoraCreateNewRoom: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/extensions/agora/room/${queryArg.eventId}`,\n method: 'POST',\n params: { activity_type: queryArg.activityType },\n }),\n }),\n agoraGetRoom: build.query({\n query: (queryArg) => ({\n url: `/api/v1/extensions/agora/room/${queryArg.roomId}`,\n params: { activity_type: queryArg.activityType },\n }),\n }),\n agoraGetRooms: build.query({\n query: () => ({ url: `/api/v1/extensions/agora/rooms` }),\n }),\n agoraSetEventCurrentRoom: build.mutation<\n AgoraSetEventCurrentRoomApiResponse,\n AgoraSetEventCurrentRoomApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/agora/set_current_room`,\n method: 'POST',\n body: queryArg.roomRequest,\n }),\n }),\n agoraSendUserRoom: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/extensions/agora/send/user/room`,\n method: 'POST',\n body: queryArg.sendUserToRoomRequest,\n }),\n }),\n agoraIssueLivekitToken: build.query<\n AgoraIssueLivekitTokenApiResponse,\n AgoraIssueLivekitTokenApiArg\n >({\n query: (queryArg) => ({ url: `/api/v1/extensions/agora/livekit/${queryArg.roomId}` }),\n }),\n agoraHandleLivekitWebhook: build.mutation<\n AgoraHandleLivekitWebhookApiResponse,\n AgoraHandleLivekitWebhookApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/agora/livekit/webhook`, method: 'POST' }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type AgoraIssueRtcTokenApiResponse = /** status 200 Successful Response */ Token\nexport type AgoraIssueRtcTokenApiArg = {\n roomId: string\n screenShare?: boolean\n}\nexport type AgoraCreateNewRtcRoomApiResponse = /** status 201 Successful Response */ RtcRoomDbModel\nexport type AgoraCreateNewRtcRoomApiArg = {\n eventId: string\n roomType?: RoomType\n}\nexport type AgoraGetRtcRoomsApiResponse = /** status 200 Successful Response */ RtcRoomDbModel[]\nexport type AgoraGetRtcRoomsApiArg = {\n eventId: string\n}\nexport type AgoraGetRtcConfigApiResponse = /** status 200 Successful Response */ any\nexport type AgoraGetRtcConfigApiArg = {\n eventId: string\n}\nexport type AgoraIssueRtmTokenApiResponse = /** status 200 Successful Response */ Token\nexport type AgoraIssueRtmTokenApiArg = void\nexport type AgoraCreateNewRoomApiResponse =\n /** status 201 Successful Response */ CreateEventRoomResponse\nexport type AgoraCreateNewRoomApiArg = {\n eventId: string\n activityType?: GameType\n}\nexport type AgoraGetRoomApiResponse =\n /** status 200 Successful Response */ AgoraWhiteBoardRoomResponse\nexport type AgoraGetRoomApiArg = {\n roomId: string\n activityType?: GameType\n}\nexport type AgoraGetRoomsApiResponse = /** status 200 Successful Response */ any\nexport type AgoraGetRoomsApiArg = void\nexport type AgoraSetEventCurrentRoomApiResponse =\n /** status 201 Successful Response */ ChangeEventRoomResponse\nexport type AgoraSetEventCurrentRoomApiArg = {\n roomRequest: RoomRequest\n}\nexport type AgoraSendUserRoomApiResponse = /** status 201 Successful Response */ any\nexport type AgoraSendUserRoomApiArg = {\n sendUserToRoomRequest: SendUserToRoomRequest\n}\nexport type AgoraIssueLivekitTokenApiResponse = /** status 200 Successful Response */ Token\nexport type AgoraIssueLivekitTokenApiArg = {\n roomId: string\n}\nexport type AgoraHandleLivekitWebhookApiResponse = /** status 200 Successful Response */ any\nexport type AgoraHandleLivekitWebhookApiArg = void\nexport type Token = {\n token: string\n expiration_time?: string | null\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type RoomType = 'rtc' | 'chat'\nexport type RtcRoomDbModel = {\n id: number\n room_uuid?: string | null\n event_id?: number | null\n creator_id?: number | null\n created_at?: string\n updated_at?: string\n is_main?: boolean\n room_type?: RoomType\n}\nexport type CreateEventRoomResponse = {\n room_id: string\n}\nexport type GameType =\n | 'NONE'\n | 'GEO_GAME'\n | 'CAPTION_THIS'\n | 'HYPERBEAM'\n | 'PICTIONARY'\n | 'JUST_CHAT'\n | 'JKLM_FUN'\n | 'DISCUSSION'\n | 'WHITEBOARD'\n | 'CHAT'\n | 'GROUP_LESSON'\nexport type AgoraWhiteBoardRoomResponse = {\n room_uuid: string\n room_token?: Token | null\n}\nexport type ChangeEventRoomResponse = {\n id: number\n current_room_id: string\n event_id: string\n}\nexport type RoomRequest = {\n room_id: string\n}\nexport type SendUserToRoomRequest = {\n room_id: number\n user_id?: number | null\n}\nexport const {\n useAgoraIssueRtcTokenQuery,\n useLazyAgoraIssueRtcTokenQuery,\n useAgoraCreateNewRtcRoomMutation,\n useAgoraGetRtcRoomsQuery,\n useLazyAgoraGetRtcRoomsQuery,\n useAgoraGetRtcConfigQuery,\n useLazyAgoraGetRtcConfigQuery,\n useAgoraIssueRtmTokenQuery,\n useLazyAgoraIssueRtmTokenQuery,\n useAgoraCreateNewRoomMutation,\n useAgoraGetRoomQuery,\n useLazyAgoraGetRoomQuery,\n useAgoraGetRoomsQuery,\n useLazyAgoraGetRoomsQuery,\n useAgoraSetEventCurrentRoomMutation,\n useAgoraSendUserRoomMutation,\n useAgoraIssueLivekitTokenQuery,\n useLazyAgoraIssueLivekitTokenQuery,\n useAgoraHandleLivekitWebhookMutation,\n} = injectedRtkApi\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n eventGetEventConfig: build.query({\n query: (queryArg) => ({ url: `/api/v1/sdk/event/${queryArg.eventId}/config` }),\n }),\n eventScheduleEvent: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/event/event`,\n method: 'POST',\n body: queryArg.scheduleEventRequest,\n }),\n }),\n eventJoinEvent: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/event/event/${queryArg.eventId}/join`,\n method: 'POST',\n params: { exit_: queryArg.exit },\n }),\n }),\n eventExitEvent: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/event/event/${queryArg.eventId}/exit`,\n method: 'POST',\n }),\n }),\n eventGetCurrentEvent: build.query({\n query: () => ({ url: `/api/v1/sdk/event/event/current` }),\n }),\n eventGetEvents: build.query({\n query: (queryArg) => ({\n url: `/api/v1/sdk/event/events`,\n params: {\n event_type: queryArg.eventType,\n event_languages: queryArg.eventLanguages,\n start_time_utc: queryArg.startTimeUtc,\n end_time_utc: queryArg.endTimeUtc,\n proficiency: queryArg.proficiency,\n limit: queryArg.limit,\n offset: queryArg.offset,\n is_dashboard: queryArg.isDashboard,\n is_live: queryArg.isLive,\n },\n }),\n }),\n eventDeleteEvent: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/event/event/${queryArg.eventId}`,\n method: 'DELETE',\n }),\n }),\n eventGetEventById: build.query({\n query: (queryArg) => ({ url: `/api/v1/sdk/event/event/${queryArg.eventId}` }),\n }),\n eventModifyEvent: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/event/event/${queryArg.eventId}`,\n method: 'PUT',\n body: queryArg.updateEventRequest,\n }),\n }),\n eventMuteEvent: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/event/event/${queryArg.eventId}/mute`,\n method: 'POST',\n params: { user_id: queryArg.userId, mute_type: queryArg.muteType },\n }),\n }),\n eventUnmuteEvent: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/event/event/${queryArg.eventId}/unmute`,\n method: 'POST',\n params: { user_id: queryArg.userId, mute_type: queryArg.muteType },\n }),\n }),\n eventDisableVideoUserEvent: build.mutation<\n EventDisableVideoUserEventApiResponse,\n EventDisableVideoUserEventApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/event/event/${queryArg.eventId}/disable_video/${queryArg.userId}`,\n method: 'POST',\n }),\n }),\n eventEnableVideoUserEvent: build.mutation<\n EventEnableVideoUserEventApiResponse,\n EventEnableVideoUserEventApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/event/event/${queryArg.eventId}/enable_video/${queryArg.userId}`,\n method: 'POST',\n }),\n }),\n eventEventLockingRooms: build.mutation<\n EventEventLockingRoomsApiResponse,\n EventEventLockingRoomsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/event/event/${queryArg.eventId}/locking`,\n method: 'POST',\n params: { lock: queryArg.lock },\n }),\n }),\n eventParticipateInEvent: build.mutation<\n EventParticipateInEventApiResponse,\n EventParticipateInEventApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/event/event/${queryArg.eventId}/participate`,\n method: 'POST',\n }),\n }),\n eventDeleteParticipationInEvent: build.mutation<\n EventDeleteParticipationInEventApiResponse,\n EventDeleteParticipationInEventApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/event/event/${queryArg.eventId}/participate`,\n method: 'DELETE',\n }),\n }),\n eventChangeNativeSpeaker: build.mutation<\n EventChangeNativeSpeakerApiResponse,\n EventChangeNativeSpeakerApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/event/event/${queryArg.eventId}/change_native_speaker`,\n method: 'POST',\n body: queryArg.changeEventNativeSpeakerRequest,\n }),\n }),\n eventEventAutomaticMatch: build.query<\n EventEventAutomaticMatchApiResponse,\n EventEventAutomaticMatchApiArg\n >({\n query: () => ({ url: `/api/v1/sdk/event/match` }),\n }),\n eventStartNow: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/event/event/${queryArg.eventId}/start_now`,\n method: 'POST',\n }),\n }),\n eventPersistTextMessage: build.mutation<\n EventPersistTextMessageApiResponse,\n EventPersistTextMessageApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/event/event/${queryArg.eventId}/chat`,\n method: 'POST',\n body: queryArg.sendMessageRequest,\n }),\n }),\n eventGetChatMessages: build.query({\n query: (queryArg) => ({\n url: `/api/v1/sdk/event/event/${queryArg.eventId}/chat`,\n params: { limit: queryArg.limit, offset: queryArg.offset },\n }),\n }),\n eventKickUser: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/event/event/${queryArg.eventId}/kick`,\n method: 'POST',\n body: queryArg.kickUserRequest,\n }),\n }),\n eventMatchUsers: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/event/event/${queryArg.eventId}/match-users`,\n method: 'POST',\n }),\n }),\n eventEndEvent: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/event/event/${queryArg.eventId}/end`,\n method: 'POST',\n }),\n }),\n eventGetLastMatch: build.query({\n query: () => ({ url: `/api/v1/sdk/event/user/last-match` }),\n }),\n eventGetTotalEventJoins: build.query<\n EventGetTotalEventJoinsApiResponse,\n EventGetTotalEventJoinsApiArg\n >({\n query: () => ({ url: `/api/v1/sdk/event/user/event-joins` }),\n }),\n eventGetUserMatches: build.query({\n query: () => ({ url: `/api/v1/sdk/event/user/matches` }),\n }),\n eventRecordEventAttendance: build.mutation<\n EventRecordEventAttendanceApiResponse,\n EventRecordEventAttendanceApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/event/event/${queryArg.eventId}/attendance`,\n method: 'POST',\n }),\n }),\n eventSendWsMessage: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/event/send/ws/${queryArg.eventId}`,\n method: 'POST',\n body: queryArg.sendWsMessageRequest,\n }),\n }),\n eventCanJoinEvent: build.query({\n query: (queryArg) => ({ url: `/api/v1/sdk/event/event/${queryArg.eventId}/can-join` }),\n }),\n eventGetHuddleHosts: build.query({\n query: () => ({ url: `/api/v1/sdk/event/huddle-hosts` }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type EventGetEventConfigApiResponse = /** status 200 Successful Response */ EventConfig\nexport type EventGetEventConfigApiArg = {\n eventId: string\n}\nexport type EventScheduleEventApiResponse =\n /** status 201 Successful Response */ CreateNewEventResponse\nexport type EventScheduleEventApiArg = {\n scheduleEventRequest: ScheduleEventRequest\n}\nexport type EventJoinEventApiResponse = /** status 200 Successful Response */ any\nexport type EventJoinEventApiArg = {\n eventId: string\n exit?: boolean\n}\nexport type EventExitEventApiResponse = /** status 200 Successful Response */ any\nexport type EventExitEventApiArg = {\n eventId: string\n}\nexport type EventGetCurrentEventApiResponse =\n /** status 200 Successful Response */ EventResponse | null\nexport type EventGetCurrentEventApiArg = void\nexport type EventGetEventsApiResponse = /** status 200 Successful Response */ EventsFilterResponse\nexport type EventGetEventsApiArg = {\n eventType?: GameType | null\n eventLanguages?: string[]\n startTimeUtc?: string | null\n endTimeUtc?: string | null\n proficiency?: LanguageExperience | null\n limit?: number | null\n offset?: number | null\n isDashboard?: boolean | null\n isLive?: boolean | null\n}\nexport type EventDeleteEventApiResponse = /** status 200 Successful Response */ any\nexport type EventDeleteEventApiArg = {\n eventId: string\n}\nexport type EventGetEventByIdApiResponse = /** status 200 Successful Response */ EventResponse\nexport type EventGetEventByIdApiArg = {\n eventId: string\n}\nexport type EventModifyEventApiResponse = /** status 200 Successful Response */ any\nexport type EventModifyEventApiArg = {\n eventId: string\n updateEventRequest: UpdateEventRequest\n}\nexport type EventMuteEventApiResponse = /** status 200 Successful Response */ any\nexport type EventMuteEventApiArg = {\n eventId: string\n userId?: number | null\n muteType?: MuteTypeEnum | null\n}\nexport type EventUnmuteEventApiResponse = /** status 200 Successful Response */ any\nexport type EventUnmuteEventApiArg = {\n eventId: string\n userId?: number | null\n muteType?: MuteTypeEnum | null\n}\nexport type EventDisableVideoUserEventApiResponse = /** status 200 Successful Response */ any\nexport type EventDisableVideoUserEventApiArg = {\n eventId: string\n userId: number\n}\nexport type EventEnableVideoUserEventApiResponse = /** status 200 Successful Response */ any\nexport type EventEnableVideoUserEventApiArg = {\n eventId: string\n userId: number\n}\nexport type EventEventLockingRoomsApiResponse = /** status 201 Successful Response */ any\nexport type EventEventLockingRoomsApiArg = {\n eventId: string\n lock: boolean\n}\nexport type EventParticipateInEventApiResponse = /** status 201 Successful Response */ any\nexport type EventParticipateInEventApiArg = {\n eventId: string\n}\nexport type EventDeleteParticipationInEventApiResponse = /** status 200 Successful Response */ any\nexport type EventDeleteParticipationInEventApiArg = {\n eventId: string\n}\nexport type EventChangeNativeSpeakerApiResponse = /** status 200 Successful Response */ any\nexport type EventChangeNativeSpeakerApiArg = {\n eventId: string\n changeEventNativeSpeakerRequest: ChangeEventNativeSpeakerRequest\n}\nexport type EventEventAutomaticMatchApiResponse =\n /** status 200 Successful Response */ EventResponse\nexport type EventEventAutomaticMatchApiArg = void\nexport type EventStartNowApiResponse = /** status 200 Successful Response */ any\nexport type EventStartNowApiArg = {\n eventId: string\n}\nexport type EventPersistTextMessageApiResponse = /** status 201 Successful Response */ any\nexport type EventPersistTextMessageApiArg = {\n eventId: string\n sendMessageRequest: SendMessageRequest\n}\nexport type EventGetChatMessagesApiResponse =\n /** status 200 Successful Response */ ChatMessagesResponse[]\nexport type EventGetChatMessagesApiArg = {\n eventId: string\n limit?: number | null\n offset?: number | null\n}\nexport type EventKickUserApiResponse = /** status 200 Successful Response */ any\nexport type EventKickUserApiArg = {\n eventId: string\n kickUserRequest: KickUserRequest\n}\nexport type EventMatchUsersApiResponse = /** status 200 Successful Response */ any\nexport type EventMatchUsersApiArg = {\n eventId: string\n}\nexport type EventEndEventApiResponse = /** status 200 Successful Response */ any\nexport type EventEndEventApiArg = {\n eventId: string\n}\nexport type EventGetLastMatchApiResponse =\n /** status 200 Successful Response */ LastMatchResponse | null\nexport type EventGetLastMatchApiArg = void\nexport type EventGetTotalEventJoinsApiResponse =\n /** status 200 Successful Response */ UserEventJoinsResponse\nexport type EventGetTotalEventJoinsApiArg = void\nexport type EventGetUserMatchesApiResponse =\n /** status 200 Successful Response */ UserMatchesResponse\nexport type EventGetUserMatchesApiArg = void\nexport type EventRecordEventAttendanceApiResponse = /** status 201 Successful Response */ any\nexport type EventRecordEventAttendanceApiArg = {\n eventId: string\n}\nexport type EventSendWsMessageApiResponse = /** status 200 Successful Response */ any\nexport type EventSendWsMessageApiArg = {\n eventId: string\n sendWsMessageRequest: SendWsMessageRequest\n}\nexport type EventCanJoinEventApiResponse = /** status 200 Successful Response */ any\nexport type EventCanJoinEventApiArg = {\n eventId: string\n}\nexport type EventGetHuddleHostsApiResponse = /** status 200 Successful Response */ number[]\nexport type EventGetHuddleHostsApiArg = void\nexport type EventConfig = {\n min_number_users: number\n max_number_users: number\n default_ban_time: number\n non_subscribed_teacher?: object | null\n is_all_audio_muted?: boolean\n is_all_video_muted?: boolean\n are_rooms_locked?: boolean\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type CreateNewEventResponse = {\n event_id: string\n short_event_id: string\n}\nexport type GameType =\n | 'NONE'\n | 'GEO_GAME'\n | 'CAPTION_THIS'\n | 'HYPERBEAM'\n | 'PICTIONARY'\n | 'JUST_CHAT'\n | 'JKLM_FUN'\n | 'DISCUSSION'\n | 'WHITEBOARD'\n | 'CHAT'\n | 'GROUP_LESSON'\nexport type LanguageExperience = 0 | 1 | 2 | 3 | 4\nexport type ScheduleEventRequest = {\n event_language: string\n event_type?: GameType | null\n proficiency?: LanguageExperience | null\n event_description?: string | null\n start_time_utc?: string | null\n end_time_utc?: string | null\n event_title?: string | null\n is_private?: boolean | null\n is_revision?: boolean | null\n tags?: string[] | null\n is_demo?: boolean | null\n duration?: number | null\n lesson_link?: string | null\n}\nexport type Pronouns = 0 | 1 | 2 | 3\nexport type TeacherProfileResponse = {\n bio?: string | null\n experience?: string | null\n tags?: string[] | null\n video_link?: string | null\n teaching_style?: string | null\n price_per_hour?: number | null\n partner?: boolean | null\n is_reviewer?: boolean | null\n}\nexport type LanguageProficiency = {\n language: string\n proficiency: LanguageExperience\n}\nexport type AddressInfoInDb = {\n country?: string | null\n city?: string | null\n state?: string | null\n address?: string | null\n zip_code?: string | null\n}\nexport type UserStatus = 'STUDENT' | 'TEACHER'\nexport type Permission =\n | 'CREATE_EVENT'\n | 'CREATE_PENGGUIN_EVENT'\n | 'SEND_DIRECT_MESSAGE'\n | 'CREATE_CUSTOM_ROLE'\n | 'SEND_EMAIL_TO_USERS'\n | 'CREATE_GEOGUESSER_GAME'\n | 'JOIN_GEOGUESSER_GAME'\n | 'MAKE_GUESS_GEOGUESSER_GAME'\n | 'MAKE_RATING'\n | 'UPLOAD_FILE'\n | 'DELETE_ACCOUNT'\n | 'MAKE_ROLE'\n | 'ASSIGN_ROLE'\n | 'VIEW_ROLES'\n | 'EDIT_ROLE'\n | 'GENERATE_AGORA_TOKEN'\n | 'REFRESH_AGORA_TOKEN'\n | 'CREATE_AMBASSADOR'\n | 'DELETE_AMBASSADOR'\n | 'UPDATE_AMBASSADOR'\n | 'TRANSLATE'\n | 'CREATE_DISCORD_ROLE'\n | 'VIEW_DISCORD_ROLE'\n | 'CREATE_GEOGUESSER_PLACES'\n | 'HYPERBEAM_LIST_SESSIONS'\n | 'HYPERBEAM_DELETE_SESSIONS'\n | 'ADMIN_VIEW_USERS'\n | 'ADMIN_LANGUAGES'\n | 'ADMIN_AGORA_TOKENS_AUDIT'\n | 'ADMIN_ROLE'\n | 'ADMIN_DIRECT_MESSAGE'\n | 'ADMIN_AMBASSADORS'\n | 'ADMIN_DISCORD_ROLES'\n | 'ADMIN_DISCORD_AUDIT_EVENT'\n | 'ADMIN_DISCUSSION_LANGUAGE'\n | 'ADMIN_DISCUSSION_LANGUAGE_AUDIT_EVENTS'\n | 'ADMIN_USER_FLAGGING'\n | 'ADMIN_GEOGAME_ROUNDS'\n | 'ADMIN_GEOGAME_STATIC_COORDINATES'\n | 'ADMIN_GEOGAME_AUDIT_EVENTS'\n | 'ADMIN_EVENT_GAME_CHAT'\n | 'ADMIN_EVENT_CHAT'\n | 'ADMIN_EVENT_PARTICIPANTS'\n | 'ADMIN_PICTIONARY_AUDIT'\n | 'ADMIN_PICTIONARY_GAMES'\n | 'ADMIN_PICTIONARY_ROUNDS'\n | 'ADMIN_PICTIONARY_GUESS'\n | 'ADMIN_PICTIONARY_WORDS'\n | 'ADMIN_TRANSLATION_AUDIT'\n | 'ADMIN_REDIS_CONSOLE'\n | 'ADMIN_DEBUGGING_CONSOLE'\n | 'CREATE_TRANSCRIPT'\n | 'ADMIN_RECORDINGS'\n | 'HUDDLE_HOST'\nexport type RolesInDb = {\n id?: number | null\n name?: string | null\n permissions?: Permission[] | null\n}\nexport type PublicUserProfile = {\n id?: number | null\n username?: string | null\n email?: string | null\n bio?: string | null\n image?: string | null\n full_name?: string | null\n country?: string | null\n pronouns?: Pronouns | null\n date_of_birth?: string | null\n profile?: TeacherProfileResponse | null\n completed_onboarding?: boolean | null\n verified?: boolean | null\n accent?: string | null\n voice_gender?: string | null\n learning?: LanguageProficiency[] | null\n address?: AddressInfoInDb | null\n speaking?: LanguageProficiency[] | null\n status?: UserStatus\n display_name?: string | null\n is_company?: boolean | null\n cefr_level?: string | null\n roles?: RolesInDb[] | null\n plan?: string | null\n}\nexport type GameStatus = 'PENDING' | 'STARTED' | 'FINISHED' | 'CANCELED'\nexport type EventResponse = {\n id: number\n event_id: string\n event_type?: GameType | null\n current_room_id?: string | null\n event_language: string\n event_title?: string | null\n event_description?: string | null\n start_time_utc: string\n end_time_utc?: string | null\n host: PublicUserProfile\n proficiency: LanguageExperience\n participants: PublicUserProfile[]\n users?: PublicUserProfile[] | null\n is_live?: boolean\n short_event_id?: string | null\n status?: GameStatus | null\n is_private?: boolean | null\n tags?: string[] | null\n game_status?: GameStatus | null\n color_attribute?: string | null\n users_partition?: object\n duration?: number | null\n lesson_link?: string | null\n}\nexport type EventsFilterResponse = {\n count: number\n events: EventResponse[]\n}\nexport type UpdateEventRequest = {\n event_type?: GameType | null\n event_language?: string | null\n event_title?: string | null\n event_description?: string | null\n start_time_utc?: string | null\n end_time_utc?: string | null\n proficiency?: LanguageExperience | null\n tags?: string[] | null\n color_attribute?: string | null\n}\nexport type MuteTypeEnum = 'AUDIO' | 'VIDEO' | 'BOTH'\nexport type ChangeEventNativeSpeakerRequest = {\n user_id: number\n}\nexport type SendMessageRequest = {\n text: string\n}\nexport type ChatMessagesResponse = {\n created_at: string\n username: string\n user_id: number\n text: string\n user_image?: string | null\n user_display_name?: string | null\n}\nexport type KickUserRequest = {\n user_id: number\n ban_for_seconds?: number | null\n}\nexport type LastMatchResponse = {\n match_id?: number | null\n matched_user_id?: number | null\n event_id?: number | null\n created_at?: string | null\n}\nexport type UserEventJoinsResponse = {\n total_event_joins: number\n}\nexport type BriefPublicUserProfile = {\n id: number\n username: string\n display_name?: string | null\n full_name?: string | null\n image?: string | null\n}\nexport type MatchResponse = {\n match_id: number\n user_id: number\n matched_user_id: number\n event_id?: number | null\n user_matched_with?: BriefPublicUserProfile | null\n matched_at: string\n created_at: string\n}\nexport type UserMatchesResponse = {\n matches: MatchResponse[]\n}\nexport type EventsEvtType =\n | 'CHANGE_CURRENT_ROOM'\n | 'EXIT_ROOM'\n | 'JOIN_ROOM'\n | 'CAN_START_EVENT'\n | 'CHANGE_NATIVE_SPEAKER'\n | 'CHANGE_ROOM_LANGUAGE'\n | 'START_GAME'\n | 'EVENT_ENDED'\n | 'CAN_START_GAME'\n | 'JOIN_GAME'\n | 'END_GAME'\n | 'CHANGE_HOST'\n | 'CHANGE_EVENT_TYPE'\n | 'EVENT_LIVE'\n | 'CHANGE_WHITEBOARD_ROOM'\n | 'PARTICIPATE_SCHEDULED_EVENT'\n | 'DELETE_PARTICIPATION_IN_SCHEDULED_EVENT'\n | 'RECORDING_IS_READY'\n | 'RAISE_HAND'\n | 'REFRESH'\n | 'LOCK_ROOMS'\n | 'UNLOCK_ROOMS'\n | 'AUTOMATCH_LAUNCHED'\nexport type SendWsMessageRequest = {\n event_type: EventsEvtType\n ext: object\n for_user_id?: number | null\n}\nexport const {\n useEventGetEventConfigQuery,\n useLazyEventGetEventConfigQuery,\n useEventScheduleEventMutation,\n useEventJoinEventMutation,\n useEventExitEventMutation,\n useEventGetCurrentEventQuery,\n useLazyEventGetCurrentEventQuery,\n useEventGetEventsQuery,\n useLazyEventGetEventsQuery,\n useEventDeleteEventMutation,\n useEventGetEventByIdQuery,\n useLazyEventGetEventByIdQuery,\n useEventModifyEventMutation,\n useEventMuteEventMutation,\n useEventUnmuteEventMutation,\n useEventDisableVideoUserEventMutation,\n useEventEnableVideoUserEventMutation,\n useEventEventLockingRoomsMutation,\n useEventParticipateInEventMutation,\n useEventDeleteParticipationInEventMutation,\n useEventChangeNativeSpeakerMutation,\n useEventEventAutomaticMatchQuery,\n useLazyEventEventAutomaticMatchQuery,\n useEventStartNowMutation,\n useEventPersistTextMessageMutation,\n useEventGetChatMessagesQuery,\n useLazyEventGetChatMessagesQuery,\n useEventKickUserMutation,\n useEventMatchUsersMutation,\n useEventEndEventMutation,\n useEventGetLastMatchQuery,\n useLazyEventGetLastMatchQuery,\n useEventGetTotalEventJoinsQuery,\n useLazyEventGetTotalEventJoinsQuery,\n useEventGetUserMatchesQuery,\n useLazyEventGetUserMatchesQuery,\n useEventRecordEventAttendanceMutation,\n useEventSendWsMessageMutation,\n useEventCanJoinEventQuery,\n useLazyEventCanJoinEventQuery,\n useEventGetHuddleHostsQuery,\n useLazyEventGetHuddleHostsQuery,\n} = injectedRtkApi\n","import { GRAPHQL_BASE_URL } from '@config'\nimport { createApi } from '@reduxjs/toolkit/query/react'\nimport { graphqlRequestBaseQuery } from '@rtk-query/graphql-request-base-query'\n\n// initialize an empty api service that we'll inject endpoints into later as needed\nconst graphqlApi = createApi({\n reducerPath: 'graphqlApi',\n baseQuery: graphqlRequestBaseQuery({\n url: GRAPHQL_BASE_URL,\n }),\n endpoints: () => ({}),\n})\n\nexport { graphqlApi as api }\n","import { RootState } from '@app/store'\nimport { createSlice, PayloadAction } from '@reduxjs/toolkit'\nimport { api as authApi } from '@app/services/auto-generated/auth'\n\n// const isDarkMode =\n// window.matchMedia &&\n// window.matchMedia(\"(prefers-color-scheme: dark)\").matches;\n\nexport type modeType = 'browser' | 'light' | 'dark'\n\ninterface themeState {\n mode: modeType\n kids: boolean\n}\nconst initialState: themeState = {\n mode: 'browser',\n kids: false,\n}\n\nconst themeSlice = createSlice({\n name: 'theme',\n initialState,\n reducers: {\n setThemeMode: (state, action: PayloadAction) => {\n state.mode = action.payload\n },\n },\n})\n\nexport const { setThemeMode } = themeSlice.actions\n\nexport default themeSlice.reducer\n\nexport const selectMode = (state: RootState) => state.theme.mode\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n authRegisterEmail: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/register/email`,\n method: 'POST',\n body: queryArg.userProfileRegisterEmail,\n }),\n }),\n authGuestRegisterEmail: build.mutation<\n AuthGuestRegisterEmailApiResponse,\n AuthGuestRegisterEmailApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/guest_user/register`,\n method: 'POST',\n body: queryArg.guestRegisterUsername,\n }),\n }),\n authRegisterPhone: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/register/phone_number`,\n method: 'POST',\n body: queryArg.userProfileRegisterPhone,\n }),\n }),\n authRegisterFacebook: build.query({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/register/facebook`,\n params: { state: queryArg.state, scope: queryArg.scope, code: queryArg.code },\n }),\n }),\n authLoginFacebook: build.query({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/login/facebook`,\n params: { state: queryArg.state, scope: queryArg.scope, code: queryArg.code },\n }),\n }),\n authGoogleGetAuthorization: build.mutation<\n AuthGoogleGetAuthorizationApiResponse,\n AuthGoogleGetAuthorizationApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/register/google/get_authorization`,\n method: 'POST',\n body: queryArg.googleGetAuthorizationRequest,\n }),\n }),\n authRegisterGoogle: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/register/google`,\n method: 'POST',\n body: queryArg.googleRegisterRequest,\n }),\n }),\n authLoginGoogle: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/login/google`,\n method: 'POST',\n body: queryArg.googleLoginRequest,\n }),\n }),\n authSyncGoogleCalendar: build.mutation<\n AuthSyncGoogleCalendarApiResponse,\n AuthSyncGoogleCalendarApiArg\n >({\n query: () => ({ url: `/api/v1/sdk/auth/sync_google_calendar`, method: 'POST' }),\n }),\n authLinkGoogleAccount: build.mutation<\n AuthLinkGoogleAccountApiResponse,\n AuthLinkGoogleAccountApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/link_google_account`,\n method: 'POST',\n body: queryArg.googleLoginRequest,\n }),\n }),\n authLogin: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/login`,\n method: 'POST',\n body: queryArg.loginCred,\n }),\n }),\n authFriendlyUsername: build.mutation<\n AuthFriendlyUsernameApiResponse,\n AuthFriendlyUsernameApiArg\n >({\n query: () => ({ url: `/api/v1/sdk/auth/friendly_username`, method: 'POST' }),\n }),\n authChangeGuestToUser: build.mutation<\n AuthChangeGuestToUserApiResponse,\n AuthChangeGuestToUserApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/change_guest_to_user`,\n method: 'POST',\n body: queryArg.changeGuestUserToRealUserRequest,\n }),\n }),\n authVerifyEmail: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/verify/email`,\n method: 'POST',\n body: queryArg.verifyEmailRequest,\n }),\n }),\n authVerifyPhoneNumber: build.mutation<\n AuthVerifyPhoneNumberApiResponse,\n AuthVerifyPhoneNumberApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/verify/phone_number`,\n method: 'POST',\n body: queryArg.verifyPhoneNumberRequest,\n }),\n }),\n authResendEmailVerification: build.mutation<\n AuthResendEmailVerificationApiResponse,\n AuthResendEmailVerificationApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/verify/email/resend`,\n method: 'POST',\n body: queryArg.resendEmailVerificationRequest,\n }),\n }),\n authResendPhoneNumberVerification: build.mutation<\n AuthResendPhoneNumberVerificationApiResponse,\n AuthResendPhoneNumberVerificationApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/verify/phone_number/resend`,\n method: 'POST',\n body: queryArg.resendPhoneNumberVerificationRequest,\n }),\n }),\n authWhoami: build.query({\n query: () => ({ url: `/api/v1/sdk/auth/me` }),\n }),\n authGetPublicProfile: build.query({\n query: (queryArg) => ({ url: `/api/v1/sdk/auth/profile/${queryArg.username}` }),\n }),\n authGetPublicUsernameById: build.query<\n AuthGetPublicUsernameByIdApiResponse,\n AuthGetPublicUsernameByIdApiArg\n >({\n query: (queryArg) => ({ url: `/api/v1/sdk/auth/profile_id/${queryArg.id}` }),\n }),\n authUpdateProfile: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/update`,\n method: 'POST',\n body: queryArg.updateProfileRequest,\n }),\n }),\n authRefreshJwtAccessToken: build.mutation<\n AuthRefreshJwtAccessTokenApiResponse,\n AuthRefreshJwtAccessTokenApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/refresh`,\n method: 'POST',\n headers: { authorization: queryArg.authorization },\n }),\n }),\n authResetPasswordUsingEmailStep1: build.mutation<\n AuthResetPasswordUsingEmailStep1ApiResponse,\n AuthResetPasswordUsingEmailStep1ApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/reset/email/step1`,\n method: 'POST',\n body: queryArg.resetPasswordUsingEmailStep1Request,\n }),\n }),\n authResetPasswordUsingEmailStep2: build.mutation<\n AuthResetPasswordUsingEmailStep2ApiResponse,\n AuthResetPasswordUsingEmailStep2ApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/reset/email/step2`,\n method: 'POST',\n body: queryArg.resetPasswordUsingEmailStep2Request,\n }),\n }),\n authRefreshRtmToken: build.mutation({\n query: () => ({ url: `/api/v1/sdk/auth/refresh/rtm`, method: 'POST' }),\n }),\n authOauth2Login: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/oauth2/login`,\n method: 'POST',\n body: queryArg.bodyOauth2LoginApiV1SdkAuthOauth2LoginPost,\n }),\n }),\n authCreateRole: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/role`,\n method: 'POST',\n body: queryArg.createRoleRequest,\n }),\n }),\n authGetRoles: build.query({\n query: () => ({ url: `/api/v1/sdk/auth/roles` }),\n }),\n authDeleteAccount: build.mutation({\n query: () => ({ url: `/api/v1/sdk/auth/account/delete`, method: 'DELETE' }),\n }),\n authCancelDeleteAccount: build.mutation<\n AuthCancelDeleteAccountApiResponse,\n AuthCancelDeleteAccountApiArg\n >({\n query: () => ({ url: `/api/v1/sdk/auth/account/delete/cancel`, method: 'POST' }),\n }),\n authCheckUsername: build.query({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/check`,\n params: { username: queryArg.username, email: queryArg.email },\n }),\n }),\n authFollowUser: build.mutation({\n query: (queryArg) => ({ url: `/api/v1/sdk/auth/follow/${queryArg.userId}`, method: 'POST' }),\n }),\n authUnfollowUser: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/unfollow/${queryArg.userId}`,\n method: 'POST',\n }),\n }),\n authGetFollowers: build.query({\n query: (queryArg) => ({ url: `/api/v1/sdk/auth/followers/${queryArg.userId}` }),\n }),\n authGetFollowees: build.query({\n query: (queryArg) => ({ url: `/api/v1/sdk/auth/followees/${queryArg.userId}` }),\n }),\n authReportUser: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/report`,\n method: 'POST',\n body: queryArg.reportUserRequest,\n }),\n }),\n authUnreportUser: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/unreport/${queryArg.userId}`,\n method: 'POST',\n }),\n }),\n authGetReportedUsers: build.query({\n query: () => ({ url: `/api/v1/sdk/auth/reported` }),\n }),\n authAvoidUser: build.mutation({\n query: (queryArg) => ({ url: `/api/v1/sdk/auth/avoid/${queryArg.userId}`, method: 'POST' }),\n }),\n authUnavoidUser: build.mutation({\n query: (queryArg) => ({ url: `/api/v1/sdk/auth/unavoid/${queryArg.userId}`, method: 'POST' }),\n }),\n authGetAvoidedUsers: build.query({\n query: () => ({ url: `/api/v1/sdk/auth/avoided` }),\n }),\n authGetUserGoals: build.query({\n query: (queryArg) => ({ url: `/api/v1/sdk/auth/user/${queryArg.userId}/goals` }),\n }),\n authSsoLogin: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/sso/login`,\n method: 'POST',\n body: queryArg.ssoLoginRequest,\n }),\n }),\n authSsoCallback: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/sdk/auth/sso/callback`,\n method: 'POST',\n body: queryArg.ssoCallbackRequest,\n }),\n }),\n modulesSubmitModuleResultUnauth: build.mutation<\n ModulesSubmitModuleResultUnauthApiResponse,\n ModulesSubmitModuleResultUnauthApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/modules/module/unauth/submit`,\n method: 'POST',\n body: queryArg.moduleResult,\n }),\n }),\n socialauthVerifyToken: build.mutation<\n SocialauthVerifyTokenApiResponse,\n SocialauthVerifyTokenApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/socialauth/verify`,\n method: 'POST',\n body: queryArg.socialAuthRequest,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type AuthRegisterEmailApiResponse = /** status 200 Successful Response */ TokenResponse\nexport type AuthRegisterEmailApiArg = {\n userProfileRegisterEmail: UserProfileRegisterEmail\n}\nexport type AuthGuestRegisterEmailApiResponse = /** status 200 Successful Response */ TokenResponse\nexport type AuthGuestRegisterEmailApiArg = {\n guestRegisterUsername: GuestRegisterUsername\n}\nexport type AuthRegisterPhoneApiResponse = /** status 200 Successful Response */ TokenResponse\nexport type AuthRegisterPhoneApiArg = {\n userProfileRegisterPhone: UserProfileRegisterPhone\n}\nexport type AuthRegisterFacebookApiResponse = /** status 200 Successful Response */ TokenResponse\nexport type AuthRegisterFacebookApiArg = {\n state: string | null\n scope: string\n code: string\n}\nexport type AuthLoginFacebookApiResponse = /** status 200 Successful Response */ TokenResponse\nexport type AuthLoginFacebookApiArg = {\n state: string | null\n scope: string\n code: string\n}\nexport type AuthGoogleGetAuthorizationApiResponse =\n /** status 200 Successful Response */ GoogleAuthorizationUrlResponse\nexport type AuthGoogleGetAuthorizationApiArg = {\n googleGetAuthorizationRequest: GoogleGetAuthorizationRequest\n}\nexport type AuthRegisterGoogleApiResponse = /** status 200 Successful Response */ TokenResponse\nexport type AuthRegisterGoogleApiArg = {\n googleRegisterRequest: GoogleRegisterRequest\n}\nexport type AuthLoginGoogleApiResponse = /** status 200 Successful Response */ TokenResponse\nexport type AuthLoginGoogleApiArg = {\n googleLoginRequest: GoogleLoginRequest\n}\nexport type AuthSyncGoogleCalendarApiResponse =\n /** status 200 Successful Response */ SyncedEventsResponse\nexport type AuthSyncGoogleCalendarApiArg = void\nexport type AuthLinkGoogleAccountApiResponse = /** status 201 Successful Response */ any\nexport type AuthLinkGoogleAccountApiArg = {\n googleLoginRequest: GoogleLoginRequest\n}\nexport type AuthLoginApiResponse = /** status 200 Successful Response */ TokenResponse\nexport type AuthLoginApiArg = {\n loginCred: LoginCred\n}\nexport type AuthFriendlyUsernameApiResponse =\n /** status 200 Successful Response */ GuestUsernameResponse\nexport type AuthFriendlyUsernameApiArg = void\nexport type AuthChangeGuestToUserApiResponse =\n /** status 200 Successful Response */ PublicUserProfile\nexport type AuthChangeGuestToUserApiArg = {\n changeGuestUserToRealUserRequest: ChangeGuestUserToRealUserRequest\n}\nexport type AuthVerifyEmailApiResponse = /** status 200 Successful Response */ any\nexport type AuthVerifyEmailApiArg = {\n verifyEmailRequest: VerifyEmailRequest\n}\nexport type AuthVerifyPhoneNumberApiResponse = /** status 200 Successful Response */ any\nexport type AuthVerifyPhoneNumberApiArg = {\n verifyPhoneNumberRequest: VerifyPhoneNumberRequest\n}\nexport type AuthResendEmailVerificationApiResponse = /** status 200 Successful Response */ any\nexport type AuthResendEmailVerificationApiArg = {\n resendEmailVerificationRequest: ResendEmailVerificationRequest\n}\nexport type AuthResendPhoneNumberVerificationApiResponse = /** status 200 Successful Response */ any\nexport type AuthResendPhoneNumberVerificationApiArg = {\n resendPhoneNumberVerificationRequest: ResendPhoneNumberVerificationRequest\n}\nexport type AuthWhoamiApiResponse = /** status 200 Successful Response */ PublicUserProfile\nexport type AuthWhoamiApiArg = void\nexport type AuthGetPublicProfileApiResponse =\n /** status 200 Successful Response */ BriefPublicUserProfile\nexport type AuthGetPublicProfileApiArg = {\n username: string\n}\nexport type AuthGetPublicUsernameByIdApiResponse =\n /** status 200 Successful Response */ BriefPublicUserProfile\nexport type AuthGetPublicUsernameByIdApiArg = {\n id: number\n}\nexport type AuthUpdateProfileApiResponse = /** status 200 Successful Response */ any\nexport type AuthUpdateProfileApiArg = {\n updateProfileRequest: UpdateProfileRequest\n}\nexport type AuthRefreshJwtAccessTokenApiResponse =\n /** status 200 Successful Response */ TokenResponse\nexport type AuthRefreshJwtAccessTokenApiArg = {\n authorization?: string\n}\nexport type AuthResetPasswordUsingEmailStep1ApiResponse = /** status 200 Successful Response */ any\nexport type AuthResetPasswordUsingEmailStep1ApiArg = {\n resetPasswordUsingEmailStep1Request: ResetPasswordUsingEmailStep1Request\n}\nexport type AuthResetPasswordUsingEmailStep2ApiResponse = /** status 200 Successful Response */ any\nexport type AuthResetPasswordUsingEmailStep2ApiArg = {\n resetPasswordUsingEmailStep2Request: ResetPasswordUsingEmailStep2Request\n}\nexport type AuthRefreshRtmTokenApiResponse = /** status 200 Successful Response */ TokenResponse\nexport type AuthRefreshRtmTokenApiArg = void\nexport type AuthOauth2LoginApiResponse = /** status 200 Successful Response */ any\nexport type AuthOauth2LoginApiArg = {\n bodyOauth2LoginApiV1SdkAuthOauth2LoginPost: BodyOauth2LoginApiV1SdkAuthOauth2LoginPost\n}\nexport type AuthCreateRoleApiResponse = /** status 200 Successful Response */ any\nexport type AuthCreateRoleApiArg = {\n createRoleRequest: CreateRoleRequest\n}\nexport type AuthGetRolesApiResponse = /** status 200 Successful Response */ any\nexport type AuthGetRolesApiArg = void\nexport type AuthDeleteAccountApiResponse = unknown\nexport type AuthDeleteAccountApiArg = void\nexport type AuthCancelDeleteAccountApiResponse = /** status 200 Successful Response */ any\nexport type AuthCancelDeleteAccountApiArg = void\nexport type AuthCheckUsernameApiResponse = /** status 200 Successful Response */ any\nexport type AuthCheckUsernameApiArg = {\n username?: string | null\n email?: string | null\n}\nexport type AuthFollowUserApiResponse = /** status 200 Successful Response */ any\nexport type AuthFollowUserApiArg = {\n userId: number\n}\nexport type AuthUnfollowUserApiResponse = /** status 200 Successful Response */ any\nexport type AuthUnfollowUserApiArg = {\n userId: number\n}\nexport type AuthGetFollowersApiResponse =\n /** status 200 Successful Response */ BriefPublicUserProfile[]\nexport type AuthGetFollowersApiArg = {\n userId: number\n}\nexport type AuthGetFolloweesApiResponse =\n /** status 200 Successful Response */ BriefPublicUserProfile[]\nexport type AuthGetFolloweesApiArg = {\n userId: number\n}\nexport type AuthReportUserApiResponse = /** status 200 Successful Response */ any\nexport type AuthReportUserApiArg = {\n reportUserRequest: ReportUserRequest\n}\nexport type AuthUnreportUserApiResponse = /** status 200 Successful Response */ any\nexport type AuthUnreportUserApiArg = {\n userId: number\n}\nexport type AuthGetReportedUsersApiResponse = /** status 200 Successful Response */ any\nexport type AuthGetReportedUsersApiArg = void\nexport type AuthAvoidUserApiResponse = /** status 200 Successful Response */ any\nexport type AuthAvoidUserApiArg = {\n userId: number\n}\nexport type AuthUnavoidUserApiResponse = /** status 200 Successful Response */ any\nexport type AuthUnavoidUserApiArg = {\n userId: number\n}\nexport type AuthGetAvoidedUsersApiResponse =\n /** status 200 Successful Response */ BriefPublicUserProfile[]\nexport type AuthGetAvoidedUsersApiArg = void\nexport type AuthGetUserGoalsApiResponse =\n /** status 200 Successful Response */ GoalsQuestionnaireDataResponse\nexport type AuthGetUserGoalsApiArg = {\n userId: number\n}\nexport type AuthSsoLoginApiResponse = /** status 200 Successful Response */ any\nexport type AuthSsoLoginApiArg = {\n ssoLoginRequest: SsoLoginRequest\n}\nexport type AuthSsoCallbackApiResponse = /** status 200 Successful Response */ any\nexport type AuthSsoCallbackApiArg = {\n ssoCallbackRequest: SsoCallbackRequest\n}\nexport type ModulesSubmitModuleResultUnauthApiResponse =\n /** status 201 Successful Response */ SubmitModuleResultResponse\nexport type ModulesSubmitModuleResultUnauthApiArg = {\n moduleResult: ModuleResult\n}\nexport type SocialauthVerifyTokenApiResponse =\n /** status 200 Successful Response */ SocialAuthResponse\nexport type SocialauthVerifyTokenApiArg = {\n socialAuthRequest: SocialAuthRequest\n}\nexport type Token = {\n token: string\n expiration_time?: string | null\n}\nexport type TokenResponse = {\n access_token?: Token | null\n refresh_token?: Token | null\n rtm_token?: Token | null\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type Pronouns = 0 | 1 | 2 | 3\nexport type TeacherProfileResponse = {\n bio?: string | null\n experience?: string | null\n tags?: string[] | null\n video_link?: string | null\n teaching_style?: string | null\n price_per_hour?: number | null\n partner?: boolean | null\n is_reviewer?: boolean | null\n}\nexport type LanguageExperience = 0 | 1 | 2 | 3 | 4\nexport type LanguageProficiency = {\n language: string\n proficiency: LanguageExperience\n}\nexport type AddressInfoInDb = {\n country?: string | null\n city?: string | null\n state?: string | null\n address?: string | null\n zip_code?: string | null\n}\nexport type UserStatus = 'STUDENT' | 'TEACHER'\nexport type Permission =\n | 'CREATE_EVENT'\n | 'CREATE_PENGGUIN_EVENT'\n | 'SEND_DIRECT_MESSAGE'\n | 'CREATE_CUSTOM_ROLE'\n | 'SEND_EMAIL_TO_USERS'\n | 'CREATE_GEOGUESSER_GAME'\n | 'JOIN_GEOGUESSER_GAME'\n | 'MAKE_GUESS_GEOGUESSER_GAME'\n | 'MAKE_RATING'\n | 'UPLOAD_FILE'\n | 'DELETE_ACCOUNT'\n | 'MAKE_ROLE'\n | 'ASSIGN_ROLE'\n | 'VIEW_ROLES'\n | 'EDIT_ROLE'\n | 'GENERATE_AGORA_TOKEN'\n | 'REFRESH_AGORA_TOKEN'\n | 'CREATE_AMBASSADOR'\n | 'DELETE_AMBASSADOR'\n | 'UPDATE_AMBASSADOR'\n | 'TRANSLATE'\n | 'CREATE_DISCORD_ROLE'\n | 'VIEW_DISCORD_ROLE'\n | 'CREATE_GEOGUESSER_PLACES'\n | 'HYPERBEAM_LIST_SESSIONS'\n | 'HYPERBEAM_DELETE_SESSIONS'\n | 'ADMIN_VIEW_USERS'\n | 'ADMIN_LANGUAGES'\n | 'ADMIN_AGORA_TOKENS_AUDIT'\n | 'ADMIN_ROLE'\n | 'ADMIN_DIRECT_MESSAGE'\n | 'ADMIN_AMBASSADORS'\n | 'ADMIN_DISCORD_ROLES'\n | 'ADMIN_DISCORD_AUDIT_EVENT'\n | 'ADMIN_DISCUSSION_LANGUAGE'\n | 'ADMIN_DISCUSSION_LANGUAGE_AUDIT_EVENTS'\n | 'ADMIN_USER_FLAGGING'\n | 'ADMIN_GEOGAME_ROUNDS'\n | 'ADMIN_GEOGAME_STATIC_COORDINATES'\n | 'ADMIN_GEOGAME_AUDIT_EVENTS'\n | 'ADMIN_EVENT_GAME_CHAT'\n | 'ADMIN_EVENT_CHAT'\n | 'ADMIN_EVENT_PARTICIPANTS'\n | 'ADMIN_PICTIONARY_AUDIT'\n | 'ADMIN_PICTIONARY_GAMES'\n | 'ADMIN_PICTIONARY_ROUNDS'\n | 'ADMIN_PICTIONARY_GUESS'\n | 'ADMIN_PICTIONARY_WORDS'\n | 'ADMIN_TRANSLATION_AUDIT'\n | 'ADMIN_REDIS_CONSOLE'\n | 'ADMIN_DEBUGGING_CONSOLE'\n | 'CREATE_TRANSCRIPT'\n | 'ADMIN_RECORDINGS'\n | 'HUDDLE_HOST'\nexport type RolesInDb = {\n id?: number | null\n name?: string | null\n permissions?: Permission[] | null\n}\nexport type UserProfileRegisterEmail = {\n id?: number | null\n username?: string | null\n email: string\n bio?: string | null\n image?: string | null\n full_name?: string | null\n country?: string | null\n pronouns?: Pronouns | null\n date_of_birth?: string | null\n profile?: TeacherProfileResponse | null\n completed_onboarding?: boolean | null\n verified?: boolean | null\n accent?: string | null\n voice_gender?: string | null\n learning?: LanguageProficiency[] | null\n address?: AddressInfoInDb | null\n speaking?: LanguageProficiency[] | null\n status?: UserStatus\n display_name?: string | null\n is_company?: boolean | null\n cefr_level?: string | null\n roles?: RolesInDb[] | null\n plan?: string | null\n password?: string | null\n registration_code?: string | null\n promotion_code?: string | null\n}\nexport type GuestRegisterUsername = {\n username: string\n status: UserStatus\n}\nexport type UserProfileRegisterPhone = {\n id?: number | null\n username?: string | null\n email?: string | null\n bio?: string | null\n image?: string | null\n full_name?: string | null\n country?: string | null\n pronouns?: Pronouns | null\n date_of_birth?: string | null\n profile?: TeacherProfileResponse | null\n completed_onboarding?: boolean | null\n verified?: boolean | null\n accent?: string | null\n voice_gender?: string | null\n learning?: LanguageProficiency[] | null\n address?: AddressInfoInDb | null\n speaking?: LanguageProficiency[] | null\n status?: UserStatus\n display_name?: string | null\n is_company?: boolean | null\n cefr_level?: string | null\n roles?: RolesInDb[] | null\n plan?: string | null\n phone_number: string\n password: string\n registration_code?: string | null\n}\nexport type GoogleAuthorizationUrlResponse = {\n url: string\n}\nexport type GoogleGetAuthorizationRequest = {\n redirect_url: string\n ext?: object | null\n}\nexport type GoogleRegisterRequest = {\n code: string\n redirect_url: string\n}\nexport type GoogleLoginRequest = {\n code: string\n redirect_url: string\n ext?: object | null\n}\nexport type SyncedEventsResponse = {\n event_count: number\n}\nexport type LoginCred = {\n password: string\n email?: string | null\n phone_number?: string | null\n username?: string | null\n}\nexport type GuestUsernameResponse = {\n username: string\n}\nexport type PublicUserProfile = {\n id?: number | null\n username?: string | null\n email?: string | null\n bio?: string | null\n image?: string | null\n full_name?: string | null\n country?: string | null\n pronouns?: Pronouns | null\n date_of_birth?: string | null\n profile?: TeacherProfileResponse | null\n completed_onboarding?: boolean | null\n verified?: boolean | null\n accent?: string | null\n voice_gender?: string | null\n learning?: LanguageProficiency[] | null\n address?: AddressInfoInDb | null\n speaking?: LanguageProficiency[] | null\n status?: UserStatus\n display_name?: string | null\n is_company?: boolean | null\n cefr_level?: string | null\n roles?: RolesInDb[] | null\n plan?: string | null\n}\nexport type ChangeGuestUserToRealUserRequest = {\n email: string\n}\nexport type VerifyEmailRequest = {\n email: string\n code: string\n}\nexport type VerifyPhoneNumberRequest = {\n phone_number: string\n code: string\n}\nexport type ResendEmailVerificationRequest = {\n email: string\n}\nexport type ResendPhoneNumberVerificationRequest = {\n phone_number: string\n}\nexport type BriefPublicUserProfile = {\n id: number\n username: string\n display_name?: string | null\n full_name?: string | null\n image?: string | null\n}\nexport type UpdateProfileRequest = {\n bio?: string | null\n image?: string | null\n full_name?: string | null\n password?: string | null\n display_name?: string | null\n}\nexport type ResetPasswordUsingEmailStep1Request = {\n email: string\n}\nexport type ResetPasswordUsingEmailStep2Request = {\n code: string\n email: string\n password: string\n}\nexport type BodyOauth2LoginApiV1SdkAuthOauth2LoginPost = {\n grant_type?: string | null\n username: string\n password: string\n scope?: string\n client_id?: string | null\n client_secret?: string | null\n}\nexport type CreateRoleRequest = {\n name: string\n permissions: Permission[]\n}\nexport type ReportUserRequest = {\n user_id: number\n reason: string\n}\nexport type GoalsQuestionnaireDataResponse = {\n goal: string[]\n occupation: {\n [key: string]: string\n }\n interests: string[]\n about_me: string\n country: string\n}\nexport type SsoLoginRequest = {\n redirect_uri: string\n state?: string\n}\nexport type SsoCallbackRequest = {\n code: string\n state: string\n}\nexport type SubmitModuleResultResponse = {\n id: number\n}\nexport type ModuleResult = {\n id: string\n data: object\n}\nexport type SocialAuthResponse = {\n access_token: string\n refresh_token: string\n user_id: number\n}\nexport type SocialProvider = 'GOOGLE' | 'APPLE'\nexport type SocialAuthRequest = {\n token: string\n provider: SocialProvider\n}\nexport const {\n useAuthRegisterEmailMutation,\n useAuthGuestRegisterEmailMutation,\n useAuthRegisterPhoneMutation,\n useAuthRegisterFacebookQuery,\n useLazyAuthRegisterFacebookQuery,\n useAuthLoginFacebookQuery,\n useLazyAuthLoginFacebookQuery,\n useAuthGoogleGetAuthorizationMutation,\n useAuthRegisterGoogleMutation,\n useAuthLoginGoogleMutation,\n useAuthSyncGoogleCalendarMutation,\n useAuthLinkGoogleAccountMutation,\n useAuthLoginMutation,\n useAuthFriendlyUsernameMutation,\n useAuthChangeGuestToUserMutation,\n useAuthVerifyEmailMutation,\n useAuthVerifyPhoneNumberMutation,\n useAuthResendEmailVerificationMutation,\n useAuthResendPhoneNumberVerificationMutation,\n useAuthWhoamiQuery,\n useLazyAuthWhoamiQuery,\n useAuthGetPublicProfileQuery,\n useLazyAuthGetPublicProfileQuery,\n useAuthGetPublicUsernameByIdQuery,\n useLazyAuthGetPublicUsernameByIdQuery,\n useAuthUpdateProfileMutation,\n useAuthRefreshJwtAccessTokenMutation,\n useAuthResetPasswordUsingEmailStep1Mutation,\n useAuthResetPasswordUsingEmailStep2Mutation,\n useAuthRefreshRtmTokenMutation,\n useAuthOauth2LoginMutation,\n useAuthCreateRoleMutation,\n useAuthGetRolesQuery,\n useLazyAuthGetRolesQuery,\n useAuthDeleteAccountMutation,\n useAuthCancelDeleteAccountMutation,\n useAuthCheckUsernameQuery,\n useLazyAuthCheckUsernameQuery,\n useAuthFollowUserMutation,\n useAuthUnfollowUserMutation,\n useAuthGetFollowersQuery,\n useLazyAuthGetFollowersQuery,\n useAuthGetFolloweesQuery,\n useLazyAuthGetFolloweesQuery,\n useAuthReportUserMutation,\n useAuthUnreportUserMutation,\n useAuthGetReportedUsersQuery,\n useLazyAuthGetReportedUsersQuery,\n useAuthAvoidUserMutation,\n useAuthUnavoidUserMutation,\n useAuthGetAvoidedUsersQuery,\n useLazyAuthGetAvoidedUsersQuery,\n useAuthGetUserGoalsQuery,\n useLazyAuthGetUserGoalsQuery,\n useAuthSsoLoginMutation,\n useAuthSsoCallbackMutation,\n useModulesSubmitModuleResultUnauthMutation,\n useSocialauthVerifyTokenMutation,\n} = injectedRtkApi\n","import { RootState } from '@app/store'\nimport { createSlice } from '@reduxjs/toolkit'\nimport { api as authApi, PublicUserProfile, TokenResponse } from '@app/services/auto-generated/auth'\nimport { LOGOUT, SET_ACCESS_TOKEN, SET_TOKENS, SET_USER, waitForRehydration } from './auth-actions'\n\ninterface authState {\n user: PublicUserProfile | null\n tokens: TokenResponse | null\n userToVerify: null | { email: string }\n firstTime: null | boolean\n firstTimeHuddle: null | boolean\n}\n\nconst initialState: authState = {\n user: null,\n tokens: null,\n userToVerify: null,\n firstTime: true,\n firstTimeHuddle: true,\n}\n\nconst authSlice = createSlice({\n name: 'auth',\n initialState,\n reducers: {\n setUserToVerify: (state, { payload }) => {\n state.userToVerify = payload\n },\n setUserFirstTime: (state, { payload }) => {\n state.firstTime = payload\n },\n setUserFirstTimeHuddle: (state, { payload }) => {\n state.firstTimeHuddle = payload\n },\n },\n extraReducers: (builder) => {\n builder\n .addCase(waitForRehydration.fulfilled, (state) => {})\n .addCase(SET_USER, (state, { payload }) => {\n state.user = payload\n })\n .addCase(SET_TOKENS, (state, { payload }) => {\n state.tokens = payload\n })\n .addCase(SET_ACCESS_TOKEN, (state, { payload }) => {\n if (state.tokens) {\n state.tokens.access_token = payload\n } else {\n state.tokens = { access_token: payload }\n }\n })\n .addCase(LOGOUT, () => {\n return { ...initialState, firstTime: false, firstTimeHuddle: false }\n })\n .addMatcher(authApi.endpoints.authWhoami.matchFulfilled, (state, { payload }) => {\n state.user = payload\n })\n .addMatcher(authApi.endpoints.authLogin.matchFulfilled, (state, { payload }) => {\n state.tokens = payload\n })\n .addMatcher(authApi.endpoints.authLoginGoogle.matchFulfilled, (state, { payload }) => {\n state.tokens = payload\n })\n .addMatcher(authApi.endpoints.authRegisterEmail.matchFulfilled, (state, { payload }) => {\n state.tokens = payload\n })\n },\n})\n\nexport default authSlice.reducer\n\nexport const { setUserToVerify, setUserFirstTime, setUserFirstTimeHuddle } = authSlice.actions\n\nexport const selectUser = (state: RootState) => state.auth.user\nexport const selectTokens = (state: RootState) => state.auth.tokens\nexport const selectUserToVerify = (state: RootState) => state.auth.userToVerify\nexport const selectUserFirstTime = (state: RootState) => state.auth.firstTime\n","import { createSlice } from '@reduxjs/toolkit'\n\nconst initialState = {\n toasts: [],\n}\n\nconst toastsSlice = createSlice({\n name: 'toasts',\n initialState,\n reducers: {\n toast: (state, action) => {\n let { message, severity } = action.payload\n if (!severity) {\n severity = 'info'\n }\n state.toasts = [...state.toasts, { message, severity, key: new Date().getTime() }]\n },\n setToasts: (state, action) => {\n state.toasts = action.payload\n },\n },\n})\n\nexport const { toast, setToasts } = toastsSlice.actions\n\nexport default toastsSlice.reducer\n","import { RootState } from '@app/store'\nimport { createSlice } from '@reduxjs/toolkit'\n\nconst initialState = {\n currentDiscussion: null,\n isDiscussionOpen: false,\n}\n\nconst discussionSlice = createSlice({\n name: 'discussion',\n initialState,\n reducers: {\n setCurrentDiscussion: (state, action) => {\n state.currentDiscussion = action.payload\n },\n setIsDiscussionOpen: (state, action) => {\n state.isDiscussionOpen = action.payload\n },\n },\n})\n\nexport default discussionSlice.reducer\n\nexport const selectCurrentDiscussion = (state: RootState) => state.panels.currentDiscussion\nexport const selectIsDiscussionOpen = (state: RootState) => state.panels.isDiscussionOpen\n\nexport const { setCurrentDiscussion, setIsDiscussionOpen } = discussionSlice.actions\n","import { createSlice } from '@reduxjs/toolkit'\n\nconst initialState = {\n inventoryFirstTimeOpen: true,\n kickedFromEvent: false,\n}\n\nconst inventorySlice = createSlice({\n name: 'inventory',\n initialState,\n reducers: {\n setInventoryFirstTimeOpen: (state, action) => {\n state.inventoryFirstTimeOpen = action.payload\n },\n setKickedFromEvent: (state, action) => {\n state.kickedFromEvent = action.payload\n },\n },\n})\n\nexport const { setInventoryFirstTimeOpen, setKickedFromEvent } = inventorySlice.actions\n\nexport default inventorySlice.reducer\n","import { RootState } from '@app/store'\nimport { createSlice } from '@reduxjs/toolkit'\n\nconst initialState = {\n room: null,\n}\n\nconst whiteboardSlice = createSlice({\n name: 'whiteboard',\n initialState,\n reducers: {\n setRoom: (state, action) => {\n state.room = action.payload\n },\n },\n})\n\nexport const { setRoom } = whiteboardSlice.actions\n\nexport const selectRoom = (state: RootState) => state.whiteboard.room\n\nexport default whiteboardSlice.reducer\n","import { RootState } from '@app/store'\nimport { createSlice, current } from '@reduxjs/toolkit'\n\nconst initialState = {\n constraints: {\n audio: false,\n video: false,\n cameraId: null,\n microphoneId: null,\n speakerId: null,\n blur: false,\n },\n currentRtcRoom: null,\n isBreakoutSessionEnded: false,\n isVideoCallEnded: false,\n}\n\nconst panelsSlice = createSlice({\n name: 'panels',\n initialState,\n reducers: {\n setConstraints: (state, action) => {\n state.constraints = { ...state.constraints, ...action.payload }\n },\n setCurrentRtcRoom: (state, action) => {\n state.currentRtcRoom = action.payload\n },\n setIsBreakoutSessionEnded: (state, action) => {\n state.isBreakoutSessionEnded = action.payload\n },\n setIsVideoCallEnded: (state, action) => {\n state.isVideoCallEnded = action.payload\n },\n },\n})\n\nexport default panelsSlice.reducer\n\nexport const selectConstraints = (state: RootState) => state.panels.constraints\nexport const selectCurrentRtcRoom = (state: RootState) => state.panels.currentRtcRoom\nexport const selectIsBreakoutSessionEnded = (state: RootState) =>\n state.panels.isBreakoutSessionEnded\nexport const selectIsVideoCallEnded = (state: RootState) => state.panels.isVideoCallEnded\nexport const { setConstraints, setCurrentRtcRoom, setIsBreakoutSessionEnded, setIsVideoCallEnded } =\n panelsSlice.actions\n","import { createSlice } from '@reduxjs/toolkit'\nimport { RootState } from '@app/store'\n\nconst initialState = {\n uploadProgress: 0,\n recordingStatus: false,\n}\n\nexport const globalSlice = createSlice({\n name: 'globalSlice',\n initialState,\n reducers: {\n setUploadProgress: (state, action) => {\n return {\n ...state,\n uploadProgress: action.payload,\n }\n },\n setRecordingStatus: (state, action) => {\n return {\n ...state,\n recordingStatus: action.payload,\n }\n },\n },\n})\n\nexport const { setUploadProgress, setRecordingStatus } = globalSlice.actions\nexport const selectUploadProgress = (state: RootState) => state.recordings.uploadProgress\nexport const selectRecordingStatus = (state: RootState) => state.recordings.recordingStatus\n\nexport default globalSlice.reducer\n","import { RootState } from '@app/store'\nimport { createSlice, PayloadAction } from '@reduxjs/toolkit'\n\n// Define a serializable device type\ninterface SerializableDevice {\n deviceId: string\n label: string\n}\n\n// Update the state interface\ninterface EventState {\n audioDevices: SerializableDevice[]\n videoDevices: SerializableDevice[]\n selectedVideoDeviceId: string | null\n selectedAudioDeviceId: string | null\n selectedSpeakerDeviceId: string | null\n}\n\n// Update the initial state\nconst initialState: EventState = {\n audioDevices: [],\n videoDevices: [],\n selectedVideoDeviceId: null,\n selectedAudioDeviceId: null,\n selectedSpeakerDeviceId: null,\n}\n\n// Update the reducer\nconst eventSlice = createSlice({\n name: 'event',\n initialState,\n reducers: {\n setAudioDevices: (state, action: PayloadAction) => {\n state.audioDevices = action.payload\n },\n setVideoDevices: (state, action: PayloadAction) => {\n state.videoDevices = action.payload\n },\n setSelectedVideoDeviceId: (state, action: PayloadAction) => {\n console.log('setSelectedVideoDeviceId', action.payload)\n state.selectedVideoDeviceId = action.payload\n },\n setSelectedAudioDeviceId: (state, action: PayloadAction) => {\n state.selectedAudioDeviceId = action.payload\n },\n setSelectedSpeakerDeviceId: (state, action: PayloadAction) => {\n state.selectedSpeakerDeviceId = action.payload\n },\n },\n})\n\nexport default eventSlice.reducer\n\nexport const {\n setAudioDevices,\n setVideoDevices,\n setSelectedVideoDeviceId,\n setSelectedAudioDeviceId,\n setSelectedSpeakerDeviceId,\n} = eventSlice.actions\n\nexport const selectAudioDevices = (state: RootState) => state.event.audioDevices\nexport const selectedVideoDevice = (state: RootState) => state.event.devicesVideo\nexport const selectSelectedVideoDevice = (state: RootState) => state.event.selectedVideoDevice\nexport const selectSelectedAudioDevice = (state: RootState) => state.event.selectedAudioDevice\nexport const selectSelectedSpeakerDevice = (state: RootState) => state.event.selectedSpeakerDeviceId\n","import { createSlice, PayloadAction } from '@reduxjs/toolkit'\n\ninterface chatState {\n readMessages: boolean\n open: boolean\n}\n\nconst initialState: chatState = {\n readMessages: true,\n open: false,\n}\n\nconst chatSlice = createSlice({\n name: 'chat',\n initialState,\n reducers: {\n setReadMessages: (state, { payload }: PayloadAction) => {\n state.readMessages = payload\n },\n setChatWindowOpen: (state, { payload }: PayloadAction) => {\n state.open = payload\n if (payload) state.readMessages = true\n },\n },\n})\n\nexport const { setReadMessages, setChatWindowOpen } = chatSlice.actions\n\nexport default chatSlice.reducer\n","// Survey slice for Redux\nimport { createSlice, PayloadAction } from '@reduxjs/toolkit'\nimport posthog from 'posthog-js'\n\n// State for exit survey display and completion\ninterface SurveysState {\n shouldShowExitSurvey: boolean\n hasCompletedExitSurvey: boolean\n}\n\n// Initial state for exit survey display and completion\nconst initialState: SurveysState = {\n shouldShowExitSurvey: false,\n hasCompletedExitSurvey: false,\n}\n\n// Actions for exit survey display and completion\nconst surveysSlice = createSlice({\n name: 'surveys',\n initialState,\n reducers: {\n triggerExitSurvey: (state, action: PayloadAction) => {\n // Retrieve ID and make a request to determine if user has filled survey or not, if yes, set shouldShowExitSurvey to false\n\n state.shouldShowExitSurvey = true\n\n console.log('triggerExitSurvey')\n console.log('action.payload', action.payload)\n },\n completeExitSurvey: (\n state,\n action: PayloadAction<{ surveyId: string; surveyValue: string }>,\n ) => {\n state.shouldShowExitSurvey = false\n state.hasCompletedExitSurvey = true\n\n // Capture survey completion event\n console.log('action.payload', action.payload)\n posthog.capture('survey sent', {\n $survey_id: action.payload.surveyId, // required\n $survey_response: action.payload.surveyValue, // required\n // $surveyId: action.payload.surveyId,\n // $surveyValue: action.payload.surveyValue,\n // $completedAt: new Date().toISOString()\n })\n // posthog.capture(\"survey sent\", {\n // $survey_id: surveyID, // required\n // $survey_response: value // required\n // })\n },\n\n dismissExitSurvey: (state, action: PayloadAction<{ surveyId: string }>) => {\n state.shouldShowExitSurvey = false\n\n // Capture survey dismissal event\n posthog.capture('Survey Dismissed', {\n $surveyId: action.payload.surveyId,\n $dismissedAt: new Date().toISOString(),\n })\n },\n },\n})\n// Export actions for use in other components\nexport const { triggerExitSurvey, completeExitSurvey, dismissExitSurvey } = surveysSlice.actions\nexport default surveysSlice.reducer\n","import { configureStore } from '@reduxjs/toolkit'\nimport { baseApi } from '../services/api'\nimport { api as graphqlApi } from '../services/graphql-api'\nimport { combineReducers } from 'redux'\nimport { persistReducer, FLUSH, REHYDRATE, PAUSE, PERSIST, PURGE, REGISTER } from 'redux-persist'\nimport storage from 'redux-persist/lib/storage'\nimport { createReduxEnhancer } from '@sentry/react'\nimport themeReducer from '@features/theme/theme.slice'\nimport authReducer from '@features/auth/auth-slice'\nimport toastReducer from '@features/toast/toast.slice'\nimport discussionReducer from '@features/discussion/discussion.slice'\nimport inventoryReducer from '@features/inventory/inventory.slice'\nimport whiteboardReducer from '@features/whiteboard/whiteboard.slice'\nimport panelsReducer from '@features/panels/panels.slice'\nimport recordingsReducer from '@features/recordings/recordings.slice'\nimport eventReducer from '@features/event/event-slice'\nimport chatReducer from '@features/chat/chat.slice'\nimport surveysReducer from '@features/surveys/surveys.slice'\n\nimport { DEV } from '@config'\n\nconst persistConfig = {\n key: 'root',\n version: 1,\n storage,\n whitelist: ['theme', 'languages'],\n}\n\nconst rootReducer = combineReducers({\n [baseApi.reducerPath]: baseApi.reducer,\n [graphqlApi.reducerPath]: graphqlApi.reducer,\n auth: persistReducer(\n {\n key: 'auth',\n storage,\n whitelist: ['user', 'tokens', 'firstTime', 'firstTimeHuddle'],\n },\n authReducer,\n ),\n toast: toastReducer,\n whiteboard: whiteboardReducer,\n // Survey display state.\n surveys: persistReducer(\n {\n key: 'surveys',\n storage,\n whitelist: ['hasCompletedExitSurvey'], // Only persist completion status\n },\n surveysReducer,\n ),\n panels: panelsReducer,\n discussion: discussionReducer,\n event: eventReducer,\n theme: themeReducer,\n inventory: persistReducer(\n {\n key: 'inventory',\n storage,\n },\n inventoryReducer,\n ),\n recordings: recordingsReducer,\n chat: chatReducer,\n})\n\nconst sentryReduxEnhancer = createReduxEnhancer({\n // Optionally pass options listed below\n})\n\n// Configure the store with persistReducer, sentryReduxEnhancer, and middleware\nexport const store = configureStore({\n reducer: persistReducer(persistConfig, rootReducer),\n devTools: DEV,\n middleware: (getDefaultMiddleware) =>\n getDefaultMiddleware({\n serializableCheck: {\n // Ignore these action types\n ignoredActions: [FLUSH, REHYDRATE, PAUSE, PERSIST, PURGE, REGISTER, 'whiteboard/setRoom'],\n // Ignore these field paths in all actions\n // ignoredActionPaths: [\"meta.arg\",\"whiteboard.room\"],\n // Ignore these paths in the state\n ignoredPaths: ['whiteboard.room'],\n },\n })\n .concat(baseApi.middleware)\n .concat(graphqlApi.middleware)\n .concat(({ dispatch, getState }) => (next) => (action) => {\n if (action.type === 'auth/logout') {\n // When LOGOUT action is detected, dispatch the api util action to reset API state\n dispatch(baseApi.util.resetApiState())\n }\n return next(action)\n }),\n enhancers: [sentryReduxEnhancer],\n})\n\n// Infer the `RootState` and `AppDispatch` types from the store itself\nexport type RootState = ReturnType\n// Inferred type: {posts: PostsState, comments: CommentsState, users: UsersState}\nexport type AppDispatch = typeof store.dispatch\n","import { store } from '@app/store'\nimport { API_BASE_URL } from '@config'\nimport { refreshTokenIfExpired } from '@features/auth/utils/refresh-token-if-expired'\n\nlet ws: WebSocket | null\nlet currentEventId: string | null\nlet listeners = new Set<(ev: MessageEvent) => void>()\n\nconst createSocket = async (\n eventId: string,\n messageListner: (ev: MessageEvent) => void,\n force?: boolean,\n) => {\n await refreshTokenIfExpired()\n if (!force) {\n listeners.add(messageListner)\n }\n const tokens = store.getState().auth.tokens\n if (!ws || currentEventId !== eventId || force) {\n ws?.close(3000)\n currentEventId = eventId\n ws = new WebSocket(\n `${API_BASE_URL.replace('http', 'ws')}/api/v1/sdk/event/ws?token=${\n tokens?.access_token?.token\n }&event_id=${eventId}`,\n )\n const closeListner = async (event) => {\n // TODO: this is just a temporary solution to handle server disconnect, fix later (using short event id length)\n if (event.code !== 3000 && eventId.length !== 4) {\n setTimeout(async () => {\n ws = await createSocket(\n eventId,\n (event_: MessageEvent) => {\n for (const listener of listeners) {\n listener(event_)\n }\n },\n true,\n )\n }, 3000)\n }\n }\n ws.addEventListener('close', closeListner)\n }\n ws.addEventListener('message', messageListner)\n return ws\n}\n\nexport { createSocket }\n","import { API_BASE_URL, DEV } from '@config'\nimport { api as agoraApi } from './auto-generated/agora'\nimport { api as eventApi } from './auto-generated/event'\nimport { createSocket } from './ws'\nimport { refreshTokenIfExpired } from '@features/auth/utils/refresh-token-if-expired'\n\nagoraApi.enhanceEndpoints({\n endpoints: {\n agoraCreateNewRoom: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n try {\n const { data } = await queryFulfilled\n dispatch(\n eventApi.util.updateQueryData('eventGetEventById', args, (draftEvent) => {\n draftEvent.current_room_id = data.room_id\n }),\n )\n dispatch(\n eventApi.util.updateQueryData('eventGetCurrentEvent', undefined, (draftEvent) => {\n draftEvent.current_room_id = data.room_id\n }),\n )\n } catch {}\n },\n },\n agoraGetRtcRooms: {\n async onCacheEntryAdded(\n arg,\n { updateCachedData, cacheDataLoaded, cacheEntryRemoved, getState },\n ) {\n const { tokens } = (getState() as RootState).auth\n const { eventId } = arg\n let ws\n if (tokens && eventId) {\n try {\n await cacheDataLoaded\n const listener = (event: MessageEvent) => {\n const data = JSON.parse(event.data)\n // if (DEV) console.log(data)\n updateCachedData((draftRtcRooms) => {\n switch (data.event_type) {\n case 'AGORA_CREATE_NEW_ROOM':\n draftRtcRooms.push(data.event_message)\n break\n default:\n break\n }\n })\n }\n ws = await createSocket(eventId, listener)\n } catch {}\n await cacheEntryRemoved\n if (ws) {\n ws.close()\n }\n }\n },\n },\n },\n})\n\nexport { agoraApi }\n\nexport * from './auto-generated/agora'\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n ambassadorsGetAmbassadors: build.query<\n AmbassadorsGetAmbassadorsApiResponse,\n AmbassadorsGetAmbassadorsApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/ambassadors/ambassadors` }),\n }),\n ambassadorsCreateAmbassador: build.mutation<\n AmbassadorsCreateAmbassadorApiResponse,\n AmbassadorsCreateAmbassadorApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/ambassadors/ambassador`,\n method: 'POST',\n body: queryArg.createAmbassadorsRequest,\n }),\n }),\n ambassadorsDeleteAmbassador: build.mutation<\n AmbassadorsDeleteAmbassadorApiResponse,\n AmbassadorsDeleteAmbassadorApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/ambassadors/ambassador/${queryArg.ambassadorId}`,\n method: 'DELETE',\n }),\n }),\n ambassadorsUpdateAmbassador: build.mutation<\n AmbassadorsUpdateAmbassadorApiResponse,\n AmbassadorsUpdateAmbassadorApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/ambassadors/ambassador/${queryArg.ambassadorId}`,\n method: 'PUT',\n body: queryArg.updateAmbassadorRequest,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type AmbassadorsGetAmbassadorsApiResponse =\n /** status 200 Successful Response */ GetAmbassadorsResponse[]\nexport type AmbassadorsGetAmbassadorsApiArg = void\nexport type AmbassadorsCreateAmbassadorApiResponse =\n /** status 201 Successful Response */ GetAmbassadorsResponse\nexport type AmbassadorsCreateAmbassadorApiArg = {\n createAmbassadorsRequest: CreateAmbassadorsRequest\n}\nexport type AmbassadorsDeleteAmbassadorApiResponse = /** status 200 Successful Response */ any\nexport type AmbassadorsDeleteAmbassadorApiArg = {\n ambassadorId: number\n}\nexport type AmbassadorsUpdateAmbassadorApiResponse = /** status 200 Successful Response */ any\nexport type AmbassadorsUpdateAmbassadorApiArg = {\n ambassadorId: number\n updateAmbassadorRequest: UpdateAmbassadorRequest\n}\nexport type GetAmbassadorsResponse = {\n id: number\n name: string\n title: string\n image?: string | null\n interests?: string[] | null\n languages?: string[] | null\n external_link?: string | null\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type CreateAmbassadorsRequest = {\n name: string\n title: string\n image?: string | null\n external_link?: string | null\n languages?: string[] | null\n interests?: string[] | null\n}\nexport type UpdateAmbassadorRequest = {\n name?: string | null\n title?: string | null\n image?: string | null\n external_link?: string | null\n languages?: string[] | null\n interests?: string[] | null\n}\nexport const {\n useAmbassadorsGetAmbassadorsQuery,\n useLazyAmbassadorsGetAmbassadorsQuery,\n useAmbassadorsCreateAmbassadorMutation,\n useAmbassadorsDeleteAmbassadorMutation,\n useAmbassadorsUpdateAmbassadorMutation,\n} = injectedRtkApi\n","import { api as ambassadorsApi } from './auto-generated/ambassadors'\n\nambassadorsApi.enhanceEndpoints({\n endpoints: {},\n})\n\nexport { ambassadorsApi }\n","import { api as authApi } from './auto-generated/auth'\n\nauthApi.enhanceEndpoints({\n addTagTypes: ['MeUser'],\n endpoints: {\n authUpdateProfile: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n let patchResult\n patchResult = dispatch(\n authApi.util.updateQueryData('authWhoami', {}, (draftAuth) => {\n draftAuth.full_name = args.updateProfileRequest.full_name\n draftAuth.image = args.updateProfileRequest.image\n // dispatch(setUser(current(draftAuth)))\n }),\n )\n try {\n await queryFulfilled\n } catch {\n patchResult?.undo()\n }\n },\n },\n authWhoami: {\n providesTags: ['MeUser'],\n },\n },\n})\n\nexport { authApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n bookingsListUserBookingRequest: build.query<\n BookingsListUserBookingRequestApiResponse,\n BookingsListUserBookingRequestApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/bookings/booking` }),\n }),\n bookingsCreateBookingRequest: build.mutation<\n BookingsCreateBookingRequestApiResponse,\n BookingsCreateBookingRequestApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/bookings/booking`,\n method: 'POST',\n body: queryArg.createBookingRequest,\n }),\n }),\n bookingsRespondBookingRequest: build.mutation<\n BookingsRespondBookingRequestApiResponse,\n BookingsRespondBookingRequestApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/bookings/booking/${queryArg.bookingId}/respond`,\n method: 'POST',\n body: queryArg.respondBookingRequest,\n }),\n }),\n bookingsCancelBookingSession: build.mutation<\n BookingsCancelBookingSessionApiResponse,\n BookingsCancelBookingSessionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/bookings/booking/sessions/${queryArg.sessionId}/cancel`,\n method: 'POST',\n }),\n }),\n bookingsListStudentBookingRequest: build.query<\n BookingsListStudentBookingRequestApiResponse,\n BookingsListStudentBookingRequestApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/bookings/booking/student` }),\n }),\n bookingsListTeacherBookingSessions: build.query<\n BookingsListTeacherBookingSessionsApiResponse,\n BookingsListTeacherBookingSessionsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/bookings/booking/sessions`,\n params: { upcoming: queryArg.upcoming },\n }),\n }),\n bookingsGetTeacherBookingSessions: build.query<\n BookingsGetTeacherBookingSessionsApiResponse,\n BookingsGetTeacherBookingSessionsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/bookings/booking/sessions/${queryArg.sessionId}`,\n }),\n }),\n bookingsGetTeacherAvailabilities: build.query<\n BookingsGetTeacherAvailabilitiesApiResponse,\n BookingsGetTeacherAvailabilitiesApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/bookings/calendar`,\n params: {\n calendar_bookings: queryArg.calendarBookings,\n languages: queryArg.languages,\n lesson_types_ids: queryArg.lessonTypesIds,\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type BookingsListUserBookingRequestApiResponse =\n /** status 200 Successful Response */ ListUserBookingRequestResponse[]\nexport type BookingsListUserBookingRequestApiArg = void\nexport type BookingsCreateBookingRequestApiResponse =\n /** status 201 Successful Response */ CreateBookingRequestResponse\nexport type BookingsCreateBookingRequestApiArg = {\n createBookingRequest: CreateBookingRequest\n}\nexport type BookingsRespondBookingRequestApiResponse =\n /** status 200 Successful Response */ BookingRequestRespondResponse\nexport type BookingsRespondBookingRequestApiArg = {\n bookingId: number\n respondBookingRequest: RespondBookingRequest\n}\nexport type BookingsCancelBookingSessionApiResponse =\n /** status 201 Successful Response */ CancelBookingSessionResponse\nexport type BookingsCancelBookingSessionApiArg = {\n sessionId: number\n}\nexport type BookingsListStudentBookingRequestApiResponse =\n /** status 200 Successful Response */ ListStudentBookingRequestResponse[]\nexport type BookingsListStudentBookingRequestApiArg = void\nexport type BookingsListTeacherBookingSessionsApiResponse =\n /** status 200 Successful Response */ ListTeacherBookingSessionResponse[]\nexport type BookingsListTeacherBookingSessionsApiArg = {\n upcoming?: boolean | null\n}\nexport type BookingsGetTeacherBookingSessionsApiResponse =\n /** status 200 Successful Response */ ListTeacherBookingSessionResponse\nexport type BookingsGetTeacherBookingSessionsApiArg = {\n sessionId: number\n}\nexport type BookingsGetTeacherAvailabilitiesApiResponse =\n /** status 200 Successful Response */ TeacherCalendarViewResponse\nexport type BookingsGetTeacherAvailabilitiesApiArg = {\n calendarBookings?: string[]\n languages?: string[]\n lessonTypesIds?: string[]\n}\nexport type BookingRequestStudentNested = {\n id: number\n full_name: string\n image?: string | null\n}\nexport type AvailabilityDate = {\n start_time: string\n end_time: string\n}\nexport type ListUserBookingRequestResponse = {\n id: number\n student: BookingRequestStudentNested\n status: string\n dates: AvailabilityDate[]\n}\nexport type CreateBookingRequestResponseNested = {\n id: number\n package_id: number\n dates: AvailabilityDate[]\n status: string\n}\nexport type CreateBookingRequestResponse = {\n booking_request: CreateBookingRequestResponseNested\n payment_link?: string | null\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type PaymentMethodEnum = 'stripe' | 'paymee'\nexport type CreateBookingRequest = {\n package_id: number\n availabilities: AvailabilityDate[]\n payment_method: PaymentMethodEnum\n}\nexport type BookingRequestRespondResponse = {\n id: number\n status: string\n}\nexport type BookingRequestEnum = 'accepted' | 'rejected'\nexport type RespondBookingRequest = {\n verdict: BookingRequestEnum\n reason?: string | null\n}\nexport type CancelBookingSessionResponse = {\n id: number\n status: string\n}\nexport type BookingRequestTeacherNested = {\n id: number\n full_name: string\n image?: string | null\n}\nexport type ListStudentBookingRequestResponse = {\n id: number\n teacher: BookingRequestTeacherNested\n status: string\n dates: AvailabilityDate[]\n}\nexport type BookingStudent = {\n id: number\n full_name: string\n image?: string | null\n}\nexport type BookingPackage = {\n id: number\n price_per_lesson: number\n duration: number\n total: number\n number_of_lessons: number\n language: string\n}\nexport type ListTeacherBookingSessionResponse = {\n id: number\n student: BookingStudent\n package: BookingPackage\n start_time: string\n end_time: string\n}\nexport type TeacherCalendarViewDatesResponseNested = {\n id: number\n start_time: string\n end_time: string\n}\nexport type TeacherCalendarViewResponse = {\n booked: TeacherCalendarViewDatesResponseNested[]\n requests: TeacherCalendarViewDatesResponseNested[]\n open_slots: TeacherCalendarViewDatesResponseNested[]\n}\nexport const {\n useBookingsListUserBookingRequestQuery,\n useLazyBookingsListUserBookingRequestQuery,\n useBookingsCreateBookingRequestMutation,\n useBookingsRespondBookingRequestMutation,\n useBookingsCancelBookingSessionMutation,\n useBookingsListStudentBookingRequestQuery,\n useLazyBookingsListStudentBookingRequestQuery,\n useBookingsListTeacherBookingSessionsQuery,\n useLazyBookingsListTeacherBookingSessionsQuery,\n useBookingsGetTeacherBookingSessionsQuery,\n useLazyBookingsGetTeacherBookingSessionsQuery,\n useBookingsGetTeacherAvailabilitiesQuery,\n useLazyBookingsGetTeacherAvailabilitiesQuery,\n} = injectedRtkApi\n","import { api as bookingsApi } from './auto-generated/bookings'\n\nbookingsApi.enhanceEndpoints({\n endpoints: {},\n})\n\nexport { bookingsApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n captionThisGetCaptionThisGamesConfig: build.query<\n CaptionThisGetCaptionThisGamesConfigApiResponse,\n CaptionThisGetCaptionThisGamesConfigApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/caption_this/config` }),\n }),\n captionThisJoinGame: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/extensions/caption_this/${queryArg.eventId}/start`,\n method: 'POST',\n }),\n }),\n captionThisExitGame: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/extensions/caption_this/${queryArg.eventId}/exit`,\n method: 'POST',\n }),\n }),\n captionThisGetGameResult: build.query<\n CaptionThisGetGameResultApiResponse,\n CaptionThisGetGameResultApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/caption_this/${queryArg.eventId}/get_game_result`,\n }),\n }),\n captionThisListGameVideos: build.query<\n CaptionThisListGameVideosApiResponse,\n CaptionThisListGameVideosApiArg\n >({\n query: (queryArg) => ({ url: `/api/v1/extensions/caption_this/${queryArg.eventId}/videos` }),\n }),\n captionThisGuessGameVideo: build.mutation<\n CaptionThisGuessGameVideoApiResponse,\n CaptionThisGuessGameVideoApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/caption_this/${queryArg.eventId}/guess`,\n method: 'POST',\n body: queryArg.guessCaptionThisRequest,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type CaptionThisGetCaptionThisGamesConfigApiResponse =\n /** status 200 Successful Response */ CaptionThisConfig\nexport type CaptionThisGetCaptionThisGamesConfigApiArg = void\nexport type CaptionThisJoinGameApiResponse = /** status 200 Successful Response */ any\nexport type CaptionThisJoinGameApiArg = {\n eventId: string\n}\nexport type CaptionThisExitGameApiResponse = /** status 200 Successful Response */ any\nexport type CaptionThisExitGameApiArg = {\n eventId: string\n}\nexport type CaptionThisGetGameResultApiResponse =\n /** status 200 Successful Response */ CaptionThisGameScore\nexport type CaptionThisGetGameResultApiArg = {\n eventId: string\n}\nexport type CaptionThisListGameVideosApiResponse =\n /** status 200 Successful Response */ CaptionThisVideoResponseList\nexport type CaptionThisListGameVideosApiArg = {\n eventId: string\n}\nexport type CaptionThisGuessGameVideoApiResponse =\n /** status 200 Successful Response */ GuessCaptionThisResponse\nexport type CaptionThisGuessGameVideoApiArg = {\n eventId: string\n guessCaptionThisRequest: GuessCaptionThisRequest\n}\nexport type CaptionThisConfig = {\n min_number_users: number\n max_number_users: number\n retries: number\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type CaptionThisGameScore = {\n score: string\n}\nexport type CaptionThisGameStatus = 'PENDING' | 'STARTED' | 'SUCCESSFUL' | 'FAILED' | 'FINISHED'\nexport type CaptionThisVideoResponse = {\n id: number\n provider: string\n video_id: string\n start_ms: string\n end_ms: string\n prefix_phrase: string\n suffix_phrase: string\n last_guess?: string | null\n guess_length: number\n tries: number\n status: CaptionThisGameStatus\n}\nexport type CaptionThisVideoResponseList = {\n videos: CaptionThisVideoResponse[]\n}\nexport type GuessCaptionThisResponse = {\n game_id: number\n success?: boolean | null\n correct_guess?: string | null\n round_ended?: boolean\n}\nexport type GuessCaptionThisRequest = {\n game_id: number\n word: string\n}\nexport const {\n useCaptionThisGetCaptionThisGamesConfigQuery,\n useLazyCaptionThisGetCaptionThisGamesConfigQuery,\n useCaptionThisJoinGameMutation,\n useCaptionThisExitGameMutation,\n useCaptionThisGetGameResultQuery,\n useLazyCaptionThisGetGameResultQuery,\n useCaptionThisListGameVideosQuery,\n useLazyCaptionThisListGameVideosQuery,\n useCaptionThisGuessGameVideoMutation,\n} = injectedRtkApi\n","import { api as captionThisApi } from './auto-generated/captionThis'\n\ncaptionThisApi.enhanceEndpoints({\n endpoints: {},\n})\n\nexport { captionThisApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n chatStartGame: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/extensions/chat/${queryArg.eventId}/start`,\n method: 'POST',\n params: { exit_: queryArg.exit },\n }),\n }),\n chatLeaveGame: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/extensions/chat/${queryArg.eventId}/exit`,\n method: 'POST',\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ChatStartGameApiResponse = /** status 200 Successful Response */ any\nexport type ChatStartGameApiArg = {\n eventId: string\n exit?: boolean\n}\nexport type ChatLeaveGameApiResponse = /** status 200 Successful Response */ any\nexport type ChatLeaveGameApiArg = {\n eventId: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport const { useChatStartGameMutation, useChatLeaveGameMutation } = injectedRtkApi\n","import { api as chatApi } from './auto-generated/chat'\n\nchatApi.enhanceEndpoints({\n endpoints: {},\n})\n\nexport { chatApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n classroomCreateClassroom: build.mutation<\n ClassroomCreateClassroomApiResponse,\n ClassroomCreateClassroomApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/classroom/classroom`,\n method: 'POST',\n body: queryArg.createClassroomRequest,\n }),\n }),\n classroomListClassrooms: build.query<\n ClassroomListClassroomsApiResponse,\n ClassroomListClassroomsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/classroom/classrooms`,\n params: { user_id: queryArg.userId },\n }),\n }),\n classroomGetClassroom: build.query<\n ClassroomGetClassroomApiResponse,\n ClassroomGetClassroomApiArg\n >({\n query: (queryArg) => ({ url: `/api/v1/sdk/classroom/classrooms/${queryArg.id}` }),\n }),\n classroomJoinClassroom: build.mutation<\n ClassroomJoinClassroomApiResponse,\n ClassroomJoinClassroomApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/classroom/classrooms/${queryArg.code}/join`,\n method: 'POST',\n }),\n }),\n classroomUnjoinClassroom: build.mutation<\n ClassroomUnjoinClassroomApiResponse,\n ClassroomUnjoinClassroomApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/classroom/classrooms/${queryArg.code}/unjoin`,\n method: 'POST',\n }),\n }),\n classroomCreateClassroomTask: build.mutation<\n ClassroomCreateClassroomTaskApiResponse,\n ClassroomCreateClassroomTaskApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/classroom/task`,\n method: 'POST',\n body: queryArg.createClassroomTaskRequest,\n }),\n }),\n classroomListClassroomTasks: build.query<\n ClassroomListClassroomTasksApiResponse,\n ClassroomListClassroomTasksApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/classroom/tasks/`,\n params: {\n classroom_id: queryArg.classroomId,\n is_active: queryArg.isActive,\n is_upcoming: queryArg.isUpcoming,\n for_you: queryArg.forYou,\n },\n }),\n }),\n classroomGetClassroomTask: build.query<\n ClassroomGetClassroomTaskApiResponse,\n ClassroomGetClassroomTaskApiArg\n >({\n query: (queryArg) => ({ url: `/api/v1/sdk/classroom/tasks/${queryArg.id}` }),\n }),\n classroomReplyClassroomTask: build.mutation<\n ClassroomReplyClassroomTaskApiResponse,\n ClassroomReplyClassroomTaskApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/classroom/tasks/${queryArg.id}/reply`,\n method: 'POST',\n body: queryArg.replyClassroomTaskRequest,\n }),\n }),\n classroomGetJoinedStudentsTaskReplies: build.query<\n ClassroomGetJoinedStudentsTaskRepliesApiResponse,\n ClassroomGetJoinedStudentsTaskRepliesApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/classroom/classroom/${queryArg.id}/joined_student_task_replies`,\n }),\n }),\n classroomClassroomInviteStudent: build.mutation<\n ClassroomClassroomInviteStudentApiResponse,\n ClassroomClassroomInviteStudentApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/classroom/classroom/${queryArg.id}/invite_student`,\n method: 'POST',\n body: queryArg.classroomInviteStudentRequest,\n }),\n }),\n classroomGetCurrentClassroom: build.query<\n ClassroomGetCurrentClassroomApiResponse,\n ClassroomGetCurrentClassroomApiArg\n >({\n query: () => ({ url: `/api/v1/sdk/classroom/classroom/current_classroom` }),\n }),\n classroomDeleteClassroomTask: build.mutation<\n ClassroomDeleteClassroomTaskApiResponse,\n ClassroomDeleteClassroomTaskApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/classroom/task/${queryArg.taskId}`,\n method: 'DELETE',\n }),\n }),\n classroomUpdateClassroomTask: build.mutation<\n ClassroomUpdateClassroomTaskApiResponse,\n ClassroomUpdateClassroomTaskApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/classroom/task/${queryArg.taskId}`,\n method: 'PUT',\n body: queryArg.classroomTaskUpdateRequest,\n }),\n }),\n classroomListClassroomStudents: build.query<\n ClassroomListClassroomStudentsApiResponse,\n ClassroomListClassroomStudentsApiArg\n >({\n query: () => ({ url: `/api/v1/sdk/classroom/classroom/students` }),\n }),\n classroomRemoveStudentFromClassroom: build.mutation<\n ClassroomRemoveStudentFromClassroomApiResponse,\n ClassroomRemoveStudentFromClassroomApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/classroom/classroom/remove_student`,\n method: 'POST',\n body: queryArg.classroomRemoveStudentRequest,\n }),\n }),\n classroomUpdateClassroomMaxSubscribers: build.mutation<\n ClassroomUpdateClassroomMaxSubscribersApiResponse,\n ClassroomUpdateClassroomMaxSubscribersApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/classroom/classroom/update`,\n method: 'POST',\n body: queryArg.classroomUpdateMaxSubscribersRequest,\n }),\n }),\n classroomGetIspeakTasks: build.query<\n ClassroomGetIspeakTasksApiResponse,\n ClassroomGetIspeakTasksApiArg\n >({\n query: () => ({ url: `/api/v1/sdk/classroom/classroom/ispeak_tasks` }),\n }),\n classroomAddIspeakTaskToClassroomTasks: build.mutation<\n ClassroomAddIspeakTaskToClassroomTasksApiResponse,\n ClassroomAddIspeakTaskToClassroomTasksApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/classroom/classroom/add_ispeak_task_to_classroom_tasks`,\n method: 'POST',\n body: queryArg.addIspeakTaskToClassroomTasksRequest,\n }),\n }),\n classroomAddTasksFolder: build.mutation<\n ClassroomAddTasksFolderApiResponse,\n ClassroomAddTasksFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/classroom/classroom/create_task_folder`,\n method: 'POST',\n body: queryArg.addTasksFolderRequest,\n }),\n }),\n classroomGetTeacherTaskFolders: build.query<\n ClassroomGetTeacherTaskFoldersApiResponse,\n ClassroomGetTeacherTaskFoldersApiArg\n >({\n query: () => ({ url: `/api/v1/sdk/classroom/classroom/get_teacher_task_folders` }),\n }),\n classroomGetLivePracticeTask: build.query<\n ClassroomGetLivePracticeTaskApiResponse,\n ClassroomGetLivePracticeTaskApiArg\n >({\n query: () => ({ url: `/api/v1/sdk/classroom/classroom/get_live_practice_task` }),\n }),\n classroomOrderClassroomTasks: build.mutation<\n ClassroomOrderClassroomTasksApiResponse,\n ClassroomOrderClassroomTasksApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/classroom/tasks/order`,\n method: 'POST',\n body: queryArg.classroomTasksOrderRequest,\n }),\n }),\n classroomDeleteClassroomTasksFolder: build.mutation<\n ClassroomDeleteClassroomTasksFolderApiResponse,\n ClassroomDeleteClassroomTasksFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/classroom/classroom/${queryArg.folderId}`,\n method: 'DELETE',\n }),\n }),\n classroomUpdateClassroomTasksFolder: build.mutation<\n ClassroomUpdateClassroomTasksFolderApiResponse,\n ClassroomUpdateClassroomTasksFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/classroom/classroom/update_folder`,\n method: 'POST',\n body: queryArg.classroomUpdateTasksFolderRequest,\n }),\n }),\n classroomGetIeltsTasks: build.query<\n ClassroomGetIeltsTasksApiResponse,\n ClassroomGetIeltsTasksApiArg\n >({\n query: () => ({ url: `/api/v1/sdk/classroom/classroom/ielts_tasks` }),\n }),\n classroomGetToeflTasks: build.query<\n ClassroomGetToeflTasksApiResponse,\n ClassroomGetToeflTasksApiArg\n >({\n query: () => ({ url: `/api/v1/sdk/classroom/classroom/toelf_tasks` }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ClassroomCreateClassroomApiResponse =\n /** status 201 Successful Response */ CreateClassroomResponse\nexport type ClassroomCreateClassroomApiArg = {\n createClassroomRequest: CreateClassroomRequest\n}\nexport type ClassroomListClassroomsApiResponse =\n /** status 200 Successful Response */ ClassroomResponse[]\nexport type ClassroomListClassroomsApiArg = {\n userId?: number | null\n}\nexport type ClassroomGetClassroomApiResponse =\n /** status 200 Successful Response */ ClassroomResponse\nexport type ClassroomGetClassroomApiArg = {\n id: number\n}\nexport type ClassroomJoinClassroomApiResponse =\n /** status 201 Successful Response */ JoinClassroomResponse\nexport type ClassroomJoinClassroomApiArg = {\n code: string\n}\nexport type ClassroomUnjoinClassroomApiResponse = /** status 200 Successful Response */ any\nexport type ClassroomUnjoinClassroomApiArg = {\n code: string\n}\nexport type ClassroomCreateClassroomTaskApiResponse =\n /** status 201 Successful Response */ ClassroomTaskResponse\nexport type ClassroomCreateClassroomTaskApiArg = {\n createClassroomTaskRequest: CreateClassroomTaskRequest\n}\nexport type ClassroomListClassroomTasksApiResponse =\n /** status 200 Successful Response */ ClassroomTaskResponse[]\nexport type ClassroomListClassroomTasksApiArg = {\n classroomId?: number | null\n isActive?: boolean | null\n isUpcoming?: boolean | null\n forYou?: boolean | null\n}\nexport type ClassroomGetClassroomTaskApiResponse =\n /** status 200 Successful Response */ ClassroomTaskResponse\nexport type ClassroomGetClassroomTaskApiArg = {\n id: number\n}\nexport type ClassroomReplyClassroomTaskApiResponse =\n /** status 200 Successful Response */ ClassroomTaskReplyResponse\nexport type ClassroomReplyClassroomTaskApiArg = {\n id: number\n replyClassroomTaskRequest: ReplyClassroomTaskRequest\n}\nexport type ClassroomGetJoinedStudentsTaskRepliesApiResponse =\n /** status 200 Successful Response */ object[]\nexport type ClassroomGetJoinedStudentsTaskRepliesApiArg = {\n id: number\n}\nexport type ClassroomClassroomInviteStudentApiResponse = /** status 200 Successful Response */ any\nexport type ClassroomClassroomInviteStudentApiArg = {\n id: number\n classroomInviteStudentRequest: ClassroomInviteStudentRequest\n}\nexport type ClassroomGetCurrentClassroomApiResponse =\n /** status 200 Successful Response */ ClassroomResponse | null\nexport type ClassroomGetCurrentClassroomApiArg = void\nexport type ClassroomDeleteClassroomTaskApiResponse =\n /** status 200 Successful Response */ ClassroomDeleteTaskResponse\nexport type ClassroomDeleteClassroomTaskApiArg = {\n taskId: number\n}\nexport type ClassroomUpdateClassroomTaskApiResponse = /** status 201 Successful Response */ any\nexport type ClassroomUpdateClassroomTaskApiArg = {\n taskId: number\n classroomTaskUpdateRequest: ClassroomTaskUpdateRequest\n}\nexport type ClassroomListClassroomStudentsApiResponse = /** status 200 Successful Response */ any\nexport type ClassroomListClassroomStudentsApiArg = void\nexport type ClassroomRemoveStudentFromClassroomApiResponse =\n /** status 201 Successful Response */ any\nexport type ClassroomRemoveStudentFromClassroomApiArg = {\n classroomRemoveStudentRequest: ClassroomRemoveStudentRequest\n}\nexport type ClassroomUpdateClassroomMaxSubscribersApiResponse =\n /** status 201 Successful Response */ any\nexport type ClassroomUpdateClassroomMaxSubscribersApiArg = {\n classroomUpdateMaxSubscribersRequest: ClassroomUpdateMaxSubscribersRequest\n}\nexport type ClassroomGetIspeakTasksApiResponse = /** status 200 Successful Response */ any\nexport type ClassroomGetIspeakTasksApiArg = void\nexport type ClassroomAddIspeakTaskToClassroomTasksApiResponse =\n /** status 201 Successful Response */ any\nexport type ClassroomAddIspeakTaskToClassroomTasksApiArg = {\n addIspeakTaskToClassroomTasksRequest: AddIspeakTaskToClassroomTasksRequest\n}\nexport type ClassroomAddTasksFolderApiResponse = /** status 201 Successful Response */ any\nexport type ClassroomAddTasksFolderApiArg = {\n addTasksFolderRequest: AddTasksFolderRequest\n}\nexport type ClassroomGetTeacherTaskFoldersApiResponse = /** status 200 Successful Response */ any\nexport type ClassroomGetTeacherTaskFoldersApiArg = void\nexport type ClassroomGetLivePracticeTaskApiResponse = /** status 200 Successful Response */ any\nexport type ClassroomGetLivePracticeTaskApiArg = void\nexport type ClassroomOrderClassroomTasksApiResponse = /** status 200 Successful Response */ any\nexport type ClassroomOrderClassroomTasksApiArg = {\n classroomTasksOrderRequest: ClassroomTasksOrderRequest\n}\nexport type ClassroomDeleteClassroomTasksFolderApiResponse =\n /** status 200 Successful Response */ ClassroomDeleteTasksFolderResponse\nexport type ClassroomDeleteClassroomTasksFolderApiArg = {\n folderId: number\n}\nexport type ClassroomUpdateClassroomTasksFolderApiResponse =\n /** status 201 Successful Response */ any\nexport type ClassroomUpdateClassroomTasksFolderApiArg = {\n classroomUpdateTasksFolderRequest: ClassroomUpdateTasksFolderRequest\n}\nexport type ClassroomGetIeltsTasksApiResponse = /** status 200 Successful Response */ any\nexport type ClassroomGetIeltsTasksApiArg = void\nexport type ClassroomGetToeflTasksApiResponse = /** status 200 Successful Response */ any\nexport type ClassroomGetToeflTasksApiArg = void\nexport type CreateClassroomResponse = {\n id: number\n name: string\n description: string\n image?: string | null\n code: string\n created_at: string\n year?: number | null\n cohort?: string | null\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type CreateClassroomRequest = {\n name: string\n description: string\n year?: number | null\n cohort?: string | null\n}\nexport type ClassRoomUser = {\n username: string\n full_name?: string | null\n image?: string | null\n avatar?: string | null\n}\nexport type ClassroomResponse = {\n id: number\n name: string\n description: string\n image?: string | null\n code: string\n created_at: string\n user?: ClassRoomUser | null\n max_subscribers: number\n year?: number | null\n cohort?: string | null\n}\nexport type JoinClassroomResponse = {\n id: number\n user_id: number\n classroom_id: number\n}\nexport type TaskQuestionResponse = {\n id: number\n text: string\n created_at: string\n}\nexport type GameType =\n | 'NONE'\n | 'GEO_GAME'\n | 'CAPTION_THIS'\n | 'HYPERBEAM'\n | 'PICTIONARY'\n | 'JUST_CHAT'\n | 'JKLM_FUN'\n | 'DISCUSSION'\n | 'WHITEBOARD'\n | 'CHAT'\n | 'GROUP_LESSON'\nexport type Pronouns = 0 | 1 | 2 | 3\nexport type TeacherProfileResponse = {\n bio?: string | null\n experience?: string | null\n tags?: string[] | null\n video_link?: string | null\n teaching_style?: string | null\n price_per_hour?: number | null\n partner?: boolean | null\n is_reviewer?: boolean | null\n}\nexport type LanguageExperience = 0 | 1 | 2 | 3 | 4\nexport type LanguageProficiency = {\n language: string\n proficiency: LanguageExperience\n}\nexport type AddressInfoInDb = {\n country?: string | null\n city?: string | null\n state?: string | null\n address?: string | null\n zip_code?: string | null\n}\nexport type UserStatus = 'STUDENT' | 'TEACHER'\nexport type Permission =\n | 'CREATE_EVENT'\n | 'CREATE_PENGGUIN_EVENT'\n | 'SEND_DIRECT_MESSAGE'\n | 'CREATE_CUSTOM_ROLE'\n | 'SEND_EMAIL_TO_USERS'\n | 'CREATE_GEOGUESSER_GAME'\n | 'JOIN_GEOGUESSER_GAME'\n | 'MAKE_GUESS_GEOGUESSER_GAME'\n | 'MAKE_RATING'\n | 'UPLOAD_FILE'\n | 'DELETE_ACCOUNT'\n | 'MAKE_ROLE'\n | 'ASSIGN_ROLE'\n | 'VIEW_ROLES'\n | 'EDIT_ROLE'\n | 'GENERATE_AGORA_TOKEN'\n | 'REFRESH_AGORA_TOKEN'\n | 'CREATE_AMBASSADOR'\n | 'DELETE_AMBASSADOR'\n | 'UPDATE_AMBASSADOR'\n | 'TRANSLATE'\n | 'CREATE_DISCORD_ROLE'\n | 'VIEW_DISCORD_ROLE'\n | 'CREATE_GEOGUESSER_PLACES'\n | 'HYPERBEAM_LIST_SESSIONS'\n | 'HYPERBEAM_DELETE_SESSIONS'\n | 'ADMIN_VIEW_USERS'\n | 'ADMIN_LANGUAGES'\n | 'ADMIN_AGORA_TOKENS_AUDIT'\n | 'ADMIN_ROLE'\n | 'ADMIN_DIRECT_MESSAGE'\n | 'ADMIN_AMBASSADORS'\n | 'ADMIN_DISCORD_ROLES'\n | 'ADMIN_DISCORD_AUDIT_EVENT'\n | 'ADMIN_DISCUSSION_LANGUAGE'\n | 'ADMIN_DISCUSSION_LANGUAGE_AUDIT_EVENTS'\n | 'ADMIN_USER_FLAGGING'\n | 'ADMIN_GEOGAME_ROUNDS'\n | 'ADMIN_GEOGAME_STATIC_COORDINATES'\n | 'ADMIN_GEOGAME_AUDIT_EVENTS'\n | 'ADMIN_EVENT_GAME_CHAT'\n | 'ADMIN_EVENT_CHAT'\n | 'ADMIN_EVENT_PARTICIPANTS'\n | 'ADMIN_PICTIONARY_AUDIT'\n | 'ADMIN_PICTIONARY_GAMES'\n | 'ADMIN_PICTIONARY_ROUNDS'\n | 'ADMIN_PICTIONARY_GUESS'\n | 'ADMIN_PICTIONARY_WORDS'\n | 'ADMIN_TRANSLATION_AUDIT'\n | 'ADMIN_REDIS_CONSOLE'\n | 'ADMIN_DEBUGGING_CONSOLE'\n | 'CREATE_TRANSCRIPT'\n | 'ADMIN_RECORDINGS'\n | 'HUDDLE_HOST'\nexport type RolesInDb = {\n id?: number | null\n name?: string | null\n permissions?: Permission[] | null\n}\nexport type PublicUserProfile = {\n id?: number | null\n username?: string | null\n email?: string | null\n bio?: string | null\n image?: string | null\n full_name?: string | null\n country?: string | null\n pronouns?: Pronouns | null\n date_of_birth?: string | null\n profile?: TeacherProfileResponse | null\n completed_onboarding?: boolean | null\n verified?: boolean | null\n accent?: string | null\n voice_gender?: string | null\n learning?: LanguageProficiency[] | null\n address?: AddressInfoInDb | null\n speaking?: LanguageProficiency[] | null\n status?: UserStatus\n display_name?: string | null\n is_company?: boolean | null\n cefr_level?: string | null\n roles?: RolesInDb[] | null\n plan?: string | null\n}\nexport type GameStatus = 'PENDING' | 'STARTED' | 'FINISHED' | 'CANCELED'\nexport type EventResponse = {\n id: number\n event_id: string\n event_type?: GameType | null\n current_room_id?: string | null\n event_language: string\n event_title?: string | null\n event_description?: string | null\n start_time_utc: string\n end_time_utc?: string | null\n host: PublicUserProfile\n proficiency: LanguageExperience\n participants: PublicUserProfile[]\n users?: PublicUserProfile[] | null\n is_live?: boolean\n short_event_id?: string | null\n status?: GameStatus | null\n is_private?: boolean | null\n tags?: string[] | null\n game_status?: GameStatus | null\n color_attribute?: string | null\n users_partition?: object\n duration?: number | null\n lesson_link?: string | null\n}\nexport type ClassroomTaskResponse = {\n id: number\n title: string\n description?: string | null\n classroom: ClassroomResponse\n start_time: string\n end_time: string\n video_link?: string | null\n thumbnail_link?: string | null\n questions: TaskQuestionResponse[]\n created_at: string\n color?: string | null\n external_link?: string | null\n event?: EventResponse | null\n}\nexport type CreateClassroomTaskRequest = {\n classroom_id: number\n title: string\n description?: string | null\n video_link?: string | null\n thumbnail_link?: string | null\n start_time: string\n end_time: string\n questions: string[]\n show_tasks_when_record?: boolean\n show_profile_picture?: boolean\n tags: string[]\n color?: string | null\n folders?: number[] | null\n external_link?: string | null\n}\nexport type ClassroomTaskReplyResponse = {\n id: number\n text_reply?: string | null\n audio_reply_url?: string | null\n task_id: number\n user_id: number\n created_at: string\n}\nexport type ReplyClassroomTaskRequest = {\n text_reply?: string | null\n audio_reply?: Blob | null\n}\nexport type ClassroomInviteStudentRequest = {\n email: string\n}\nexport type ClassroomDeleteTaskResponse = {\n task_id: number\n classroom_id: number\n}\nexport type ClassroomTaskUpdateRequest = {\n questions?: string[] | null\n color?: string | null\n video_link?: string | null\n external_link?: string | null\n}\nexport type ClassroomRemoveStudentRequest = {\n user_id: number\n classroom_id: number\n}\nexport type ClassroomUpdateMaxSubscribersRequest = {\n max_subscribers: number\n}\nexport type AddIspeakTaskToClassroomTasksRequest = {\n task_id: number\n}\nexport type AddTasksFolderRequest = {\n name: string\n visibility: number[]\n}\nexport type TaskOrderingReq = {\n task_id: number\n order: number\n}\nexport type ClassroomTasksOrderRequest = {\n task_ordering: TaskOrderingReq[]\n}\nexport type ClassroomDeleteTasksFolderResponse = {\n id: number\n}\nexport type ClassroomUpdateTasksFolderRequest = {\n id: number\n name?: string | null\n visibility?: number[] | null\n}\nexport const {\n useClassroomCreateClassroomMutation,\n useClassroomListClassroomsQuery,\n useLazyClassroomListClassroomsQuery,\n useClassroomGetClassroomQuery,\n useLazyClassroomGetClassroomQuery,\n useClassroomJoinClassroomMutation,\n useClassroomUnjoinClassroomMutation,\n useClassroomCreateClassroomTaskMutation,\n useClassroomListClassroomTasksQuery,\n useLazyClassroomListClassroomTasksQuery,\n useClassroomGetClassroomTaskQuery,\n useLazyClassroomGetClassroomTaskQuery,\n useClassroomReplyClassroomTaskMutation,\n useClassroomGetJoinedStudentsTaskRepliesQuery,\n useLazyClassroomGetJoinedStudentsTaskRepliesQuery,\n useClassroomClassroomInviteStudentMutation,\n useClassroomGetCurrentClassroomQuery,\n useLazyClassroomGetCurrentClassroomQuery,\n useClassroomDeleteClassroomTaskMutation,\n useClassroomUpdateClassroomTaskMutation,\n useClassroomListClassroomStudentsQuery,\n useLazyClassroomListClassroomStudentsQuery,\n useClassroomRemoveStudentFromClassroomMutation,\n useClassroomUpdateClassroomMaxSubscribersMutation,\n useClassroomGetIspeakTasksQuery,\n useLazyClassroomGetIspeakTasksQuery,\n useClassroomAddIspeakTaskToClassroomTasksMutation,\n useClassroomAddTasksFolderMutation,\n useClassroomGetTeacherTaskFoldersQuery,\n useLazyClassroomGetTeacherTaskFoldersQuery,\n useClassroomGetLivePracticeTaskQuery,\n useLazyClassroomGetLivePracticeTaskQuery,\n useClassroomOrderClassroomTasksMutation,\n useClassroomDeleteClassroomTasksFolderMutation,\n useClassroomUpdateClassroomTasksFolderMutation,\n useClassroomGetIeltsTasksQuery,\n useLazyClassroomGetIeltsTasksQuery,\n useClassroomGetToeflTasksQuery,\n useLazyClassroomGetToeflTasksQuery,\n} = injectedRtkApi\n","import { api as classroomApi } from './auto-generated/classroom'\n\nclassroomApi.enhanceEndpoints({\n endpoints: {\n classroomCreateClassroom: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n let patchResult\n try {\n const { data } = await queryFulfilled\n patchResult = dispatch(\n classroomApi.util.updateQueryData(\n 'classroomGetCurrentClassroom',\n undefined,\n (draft) => {\n draft = data\n return draft\n },\n ),\n )\n } catch {\n patchResult?.undo()\n }\n },\n },\n classroomJoinClassroom: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n try {\n await queryFulfilled\n dispatch(classroomApi.endpoints.classroomGetCurrentClassroom.initiate())\n } catch {}\n },\n },\n classroomUnjoinClassroom: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n try {\n await queryFulfilled\n dispatch(classroomApi.endpoints.classroomGetCurrentClassroom.initiate())\n } catch {}\n },\n },\n classroomCreateClassroomTask: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n try {\n const { data: newTask } = await queryFulfilled\n if (newTask.folders.length === 0) {\n dispatch(\n classroomApi.util.updateQueryData(\n 'classroomListClassroomTasks',\n { classroomId: newTask.classroom.id },\n (draftTasks) => {\n draftTasks.push(newTask)\n },\n ),\n )\n }\n if (newTask.folders.length !== 0) {\n dispatch(\n classroomApi.util.updateQueryData(\n 'classroomGetTeacherTaskFolders',\n undefined,\n (draftFolders) => {\n draftFolders.map((folder) => {\n if (folder.id === newTask.folders[0].id) {\n folder.tasks.push(newTask)\n }\n })\n },\n ),\n )\n }\n } catch {}\n },\n },\n classroomDeleteClassroomTask: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n let patchResult\n try {\n const { data: deleted_task } = await queryFulfilled\n patchResult = dispatch(\n classroomApi.util.updateQueryData(\n 'classroomListClassroomTasks',\n { classroomId: deleted_task.classroom_id },\n (draftTasks) => {\n return draftTasks?.filter((item) => item?.id !== args?.taskId)\n },\n ),\n )\n } catch {\n patchResult?.undo()\n }\n },\n },\n classroomUpdateClassroomTask: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n let patchResult\n try {\n const { data: updatedTask } = await queryFulfilled\n patchResult = dispatch(\n classroomApi.util.updateQueryData(\n 'classroomListClassroomTasks',\n { classroomId: updatedTask.classroom_id },\n (draftTasks) => {\n return draftTasks.map((item) => {\n if (item?.id === args?.taskId) {\n return updatedTask\n } else {\n return item\n }\n })\n },\n ),\n )\n } catch {\n patchResult?.undo()\n }\n },\n },\n classroomAddIspeakTaskToClassroomTasks: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n try {\n const { data: newTask } = await queryFulfilled\n dispatch(\n classroomApi.util.updateQueryData(\n 'classroomListClassroomTasks',\n { classroomId: newTask.classroom.id },\n (draftTasks) => {\n draftTasks.push(newTask)\n },\n ),\n )\n } catch {}\n },\n },\n classroomAddTasksFolder: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n try {\n const { data: newFolder } = await queryFulfilled\n dispatch(\n classroomApi.util.updateQueryData(\n 'classroomGetTeacherTaskFolders',\n undefined,\n (draftFolders) => {\n draftFolders.push(newFolder)\n },\n ),\n )\n } catch {}\n },\n },\n classroomDeleteClassroomTasksFolder: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n let patchResult\n try {\n const { data: deleted_folder } = await queryFulfilled\n patchResult = dispatch(\n classroomApi.util.updateQueryData(\n 'classroomGetTeacherTaskFolders',\n undefined,\n (draftFolders) => {\n return draftFolders?.filter((item) => item?.id !== args?.folderId)\n },\n ),\n )\n } catch {\n patchResult?.undo()\n }\n },\n },\n // classroomUpdateClassroomTasksFolder: {\n // async onQueryStarted(args, { dispatch, queryFulfilled }) {\n // let patchResult\n // try {\n // const { data: updatedFolder } = await queryFulfilled\n // patchResult = dispatch(\n // classroomApi.util.updateQueryData(\n // 'classroomGetTeacherTaskFolders',\n // undefined,\n // (draftFolders) => {\n // return draftFolders.map((item) => {\n // if (item?.id === updatedFolder.id) {\n // return updatedFolder\n // } else {\n // return item\n // }\n // })\n // },\n // ),\n // )\n // } catch {\n // patchResult?.undo()\n // }\n // },\n // },\n },\n})\n\nexport { classroomApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n discordCreateDiscordRole: build.mutation<\n DiscordCreateDiscordRoleApiResponse,\n DiscordCreateDiscordRoleApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/discord/role`,\n method: 'POST',\n body: queryArg.createDiscordRoleRequest,\n }),\n }),\n discordGetDiscordRoles: build.query<\n DiscordGetDiscordRolesApiResponse,\n DiscordGetDiscordRolesApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/discord/roles` }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type DiscordCreateDiscordRoleApiResponse =\n /** status 201 Successful Response */ DiscordRoleResponse\nexport type DiscordCreateDiscordRoleApiArg = {\n createDiscordRoleRequest: CreateDiscordRoleRequest\n}\nexport type DiscordGetDiscordRolesApiResponse =\n /** status 200 Successful Response */ DiscordRoleResponse[]\nexport type DiscordGetDiscordRolesApiArg = void\nexport type DiscordRoleResponse = {\n id: number\n name: string\n identifier: string\n language: string\n created_at: string\n updated_at: string\n learning: boolean\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type CreateDiscordRoleRequest = {\n name: string\n identifier: string\n language: string\n learning: boolean\n}\nexport const {\n useDiscordCreateDiscordRoleMutation,\n useDiscordGetDiscordRolesQuery,\n useLazyDiscordGetDiscordRolesQuery,\n} = injectedRtkApi\n","import { api as discordApi } from './auto-generated/discord'\n\ndiscordApi.enhanceEndpoints({\n endpoints: {},\n})\n\nexport { discordApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n discussionGetConfig: build.query({\n query: () => ({ url: `/api/v1/extensions/discussion/config` }),\n }),\n discussionGenerateNewDiscussionTopic: build.mutation<\n DiscussionGenerateNewDiscussionTopicApiResponse,\n DiscussionGenerateNewDiscussionTopicApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/discussion/${queryArg.eventId}/${queryArg.roomId}/get_topic`,\n method: 'POST',\n body: queryArg.discussionTopicFilterRequest,\n }),\n }),\n discussionGetCurrentDiscussionTopic: build.query<\n DiscussionGetCurrentDiscussionTopicApiResponse,\n DiscussionGetCurrentDiscussionTopicApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/discussion/${queryArg.eventId}/${queryArg.roomId}`,\n }),\n }),\n discussionStartDiscussion: build.mutation<\n DiscussionStartDiscussionApiResponse,\n DiscussionStartDiscussionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/discussion/${queryArg.eventId}/start`,\n method: 'POST',\n params: { exit_: queryArg.exit },\n }),\n }),\n discussionExitDiscussion: build.mutation<\n DiscussionExitDiscussionApiResponse,\n DiscussionExitDiscussionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/discussion/${queryArg.eventId}/exit`,\n method: 'POST',\n }),\n }),\n discussionGetNewTopic: build.mutation<\n DiscussionGetNewTopicApiResponse,\n DiscussionGetNewTopicApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/discussion/${queryArg.eventId}/${queryArg.roomId}/topic`,\n method: 'POST',\n body: queryArg.discussionTopicFilterRequest,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type DiscussionGetConfigApiResponse = /** status 200 Successful Response */ DiscussionConfig\nexport type DiscussionGetConfigApiArg = void\nexport type DiscussionGenerateNewDiscussionTopicApiResponse =\n /** status 200 Successful Response */ DiscussionTopicResponse\nexport type DiscussionGenerateNewDiscussionTopicApiArg = {\n eventId: string\n roomId: number\n discussionTopicFilterRequest: DiscussionTopicFilterRequest\n}\nexport type DiscussionGetCurrentDiscussionTopicApiResponse =\n /** status 200 Successful Response */ DiscussionTopicResponse | null\nexport type DiscussionGetCurrentDiscussionTopicApiArg = {\n eventId: string\n roomId: number\n}\nexport type DiscussionStartDiscussionApiResponse = /** status 200 Successful Response */ any\nexport type DiscussionStartDiscussionApiArg = {\n eventId: string\n exit?: boolean\n}\nexport type DiscussionExitDiscussionApiResponse = /** status 200 Successful Response */ any\nexport type DiscussionExitDiscussionApiArg = {\n eventId: string\n}\nexport type DiscussionGetNewTopicApiResponse =\n /** status 200 Successful Response */ DiscussionTopicResponse\nexport type DiscussionGetNewTopicApiArg = {\n eventId: string\n roomId: number\n discussionTopicFilterRequest: DiscussionTopicFilterRequest\n}\nexport type DiscussionConfig = {\n supported_languages: string[]\n metrics: string[]\n}\nexport type LangaugeResponse = {\n id: number\n english_name: string\n native_name: string\n code: string\n}\nexport type DiscussionTopicResponse = {\n laid_back_to_deep?: number | null\n personal_to_impersonal?: number | null\n suitable_more_for_two_individuals?: number | null\n phrase: string\n language: LangaugeResponse\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type DiscussionTopicFilterRequest = {\n laid_back_to_deep?: number | null\n personal_to_impersonal?: number | null\n suitable_more_for_two_individuals?: number | null\n}\nexport const {\n useDiscussionGetConfigQuery,\n useLazyDiscussionGetConfigQuery,\n useDiscussionGenerateNewDiscussionTopicMutation,\n useDiscussionGetCurrentDiscussionTopicQuery,\n useLazyDiscussionGetCurrentDiscussionTopicQuery,\n useDiscussionStartDiscussionMutation,\n useDiscussionExitDiscussionMutation,\n useDiscussionGetNewTopicMutation,\n} = injectedRtkApi\n","import { api as discussionApi } from './auto-generated/discussion'\nimport { api as eventApi } from './auto-generated/event'\nimport { RootState } from '@app/store'\nimport { API_BASE_URL } from '@config'\nimport { createSocket } from './ws'\nimport { refreshTokenIfExpired } from '@features/auth/utils/refresh-token-if-expired'\n\ndiscussionApi.enhanceEndpoints({\n endpoints: {\n discussionStartDiscussion: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n dispatch(\n eventApi.util.updateQueryData('eventGetEventById', args, (draftEvent) => {\n draftEvent.event_type = 'DISCUSSION'\n }),\n )\n dispatch(\n eventApi.util.updateQueryData('eventGetCurrentEvent', undefined, (draftEvent) => {\n draftEvent.event_type = 'DISCUSSION'\n }),\n )\n try {\n await queryFulfilled\n } catch {}\n },\n },\n discussionGetCurrentDiscussionTopic: {\n async onCacheEntryAdded(arg, { cacheDataLoaded, cacheEntryRemoved, getState, dispatch }) {\n const { tokens } = (getState() as RootState).auth\n const { eventId } = arg\n if (tokens && eventId) {\n let ws\n // create a websocket connection when the cache subscription starts\n try {\n // wait for the initial query to resolve before proceeding\n await cacheDataLoaded\n const listener = (event: MessageEvent) => {\n const data = JSON.parse(event.data)\n // if (!isMessage(data) || data.channel !== arg) return TODO add isMessage validator schema\n switch (data.event_type) {\n case 'SET_DISCUSSION_TOPIC':\n dispatch(\n discussionApi.util.updateQueryData(\n 'discussionGetCurrentDiscussionTopic',\n { eventId: eventId, roomId: data.event_message.room_id },\n (draftTopic) => {\n console.log('draftTopic', data.event_message.discussion_topic)\n draftTopic = data.event_message.discussion_topic\n return draftTopic\n // draftTopic.phrase =\n // data.event_message.discussion_topic.phrase\n },\n ),\n )\n break\n default:\n break\n }\n }\n ws = await createSocket(eventId, listener)\n // when data is received from the socket connection to the server,\n // if it is a message and for the appropriate channel,\n // update our query result with the received message\n } catch {\n // no-op in case `cacheEntryRemoved` resolves before `cacheDataLoaded`,\n // in which case `cacheDataLoaded` will throw\n }\n // cacheEntryRemoved will resolve when the cache subscription is no longer active\n await cacheEntryRemoved\n // perform cleanup steps once the `cacheEntryRemoved` promise resolves\n if (ws) {\n ws.close()\n }\n }\n },\n },\n },\n})\n\nexport { discussionApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n documentsCreateNewDocument: build.mutation<\n DocumentsCreateNewDocumentApiResponse,\n DocumentsCreateNewDocumentApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/documents/document`,\n method: 'POST',\n body: queryArg.createNewDocumentRequest,\n }),\n }),\n documentsGetDocumentById: build.query<\n DocumentsGetDocumentByIdApiResponse,\n DocumentsGetDocumentByIdApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/documents/document/${queryArg.documentId}`,\n }),\n }),\n documentsDeleteDocumentById: build.mutation<\n DocumentsDeleteDocumentByIdApiResponse,\n DocumentsDeleteDocumentByIdApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/documents/document/${queryArg.documentId}`,\n method: 'DELETE',\n }),\n }),\n documentsGetDocuments: build.query<\n DocumentsGetDocumentsApiResponse,\n DocumentsGetDocumentsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/documents/documents`,\n params: { query: queryArg.query },\n }),\n }),\n documentsSplitDocument: build.mutation<\n DocumentsSplitDocumentApiResponse,\n DocumentsSplitDocumentApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/documents/split_document`,\n method: 'POST',\n body: queryArg.splitDocumentRequest,\n }),\n }),\n documentsGetSplitDocumentStatus: build.query<\n DocumentsGetSplitDocumentStatusApiResponse,\n DocumentsGetSplitDocumentStatusApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/documents/split_document/${queryArg.jobId}`,\n }),\n }),\n documentsGetDocumentPages: build.query<\n DocumentsGetDocumentPagesApiResponse,\n DocumentsGetDocumentPagesApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/documents/document/${queryArg.documentId}/pages`,\n }),\n }),\n documentsExportScene: build.mutation<\n DocumentsExportSceneApiResponse,\n DocumentsExportSceneApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/documents/export_images_to_pdf`,\n method: 'POST',\n body: queryArg.bodyExportSceneApiV1ExtensionsDocumentsExportImagesToPdfPost,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type DocumentsCreateNewDocumentApiResponse =\n /** status 201 Successful Response */ DocumentsDbModel\nexport type DocumentsCreateNewDocumentApiArg = {\n createNewDocumentRequest: CreateNewDocumentRequest\n}\nexport type DocumentsGetDocumentByIdApiResponse =\n /** status 200 Successful Response */ DocumentsDbModel\nexport type DocumentsGetDocumentByIdApiArg = {\n documentId: number\n}\nexport type DocumentsDeleteDocumentByIdApiResponse = /** status 204 Successful Response */ void\nexport type DocumentsDeleteDocumentByIdApiArg = {\n documentId: number\n}\nexport type DocumentsGetDocumentsApiResponse =\n /** status 200 Successful Response */ DocumentsDbModel[]\nexport type DocumentsGetDocumentsApiArg = {\n query?: string | null\n}\nexport type DocumentsSplitDocumentApiResponse =\n /** status 201 Successful Response */ SplitDocumentResponse\nexport type DocumentsSplitDocumentApiArg = {\n splitDocumentRequest: SplitDocumentRequest\n}\nexport type DocumentsGetSplitDocumentStatusApiResponse =\n /** status 200 Successful Response */ StatusResponse\nexport type DocumentsGetSplitDocumentStatusApiArg = {\n jobId: string\n}\nexport type DocumentsGetDocumentPagesApiResponse =\n /** status 200 Successful Response */ DocumentsToImagesDbModel[]\nexport type DocumentsGetDocumentPagesApiArg = {\n documentId: number\n}\nexport type DocumentsExportSceneApiResponse =\n /** status 200 Successful Response */ ExportImageToPdfResponse\nexport type DocumentsExportSceneApiArg = {\n bodyExportSceneApiV1ExtensionsDocumentsExportImagesToPdfPost: BodyExportSceneApiV1ExtensionsDocumentsExportImagesToPdfPost\n}\nexport type DocumentsDbModel = {\n id: number\n user_id: number\n document_type: string\n title?: string | null\n description?: string | null\n link: string\n preview?: string | null\n created_at?: string\n updated_at?: string\n deleted?: boolean\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type CreateNewDocumentRequest = {\n link: string\n document_type?: string | null\n title?: string | null\n description?: string | null\n}\nexport type SplitDocumentResponse = {\n job_id: string\n}\nexport type SplitDocumentRequest = {\n document_id: number\n}\nexport type StatusResponse = {\n status: string\n}\nexport type DocumentsToImagesDbModel = {\n id: number\n created_at?: string\n updated_at?: string\n image_link?: string | null\n document_id: number\n page_number: number\n height?: number | null\n width?: number | null\n}\nexport type ExportImageToPdfResponse = {\n link: string\n}\nexport type BodyExportSceneApiV1ExtensionsDocumentsExportImagesToPdfPost = {\n files: Blob[]\n}\nexport const {\n useDocumentsCreateNewDocumentMutation,\n useDocumentsGetDocumentByIdQuery,\n useLazyDocumentsGetDocumentByIdQuery,\n useDocumentsDeleteDocumentByIdMutation,\n useDocumentsGetDocumentsQuery,\n useLazyDocumentsGetDocumentsQuery,\n useDocumentsSplitDocumentMutation,\n useDocumentsGetSplitDocumentStatusQuery,\n useLazyDocumentsGetSplitDocumentStatusQuery,\n useDocumentsGetDocumentPagesQuery,\n useLazyDocumentsGetDocumentPagesQuery,\n useDocumentsExportSceneMutation,\n} = injectedRtkApi\n","import { api as documentsApi } from './auto-generated/documents'\n\ndocumentsApi.enhanceEndpoints({\n endpoints: {},\n})\n\nexport { documentsApi }\n","import { RootState } from '@app/store'\nimport { DEV } from '@config'\nimport { api as eventApi } from './auto-generated/event'\nimport { createSocket } from './ws'\nimport { agoraApi } from './agora'\nimport { geoguesserApi } from './geoguesser'\nimport { discussionApi } from './discussion'\n\neventApi.enhanceEndpoints({\n endpoints: {\n eventGetEventById: {\n async onCacheEntryAdded(\n arg,\n { updateCachedData, cacheDataLoaded, cacheEntryRemoved, getState, dispatch },\n ) {\n const { tokens } = (getState() as RootState).auth\n const { eventId } = arg\n if (tokens && eventId) {\n // create a websocket connection when the cache subscription starts\n let ws\n try {\n // wait for the initial query to resolve before proceeding\n await cacheDataLoaded\n const listener = (event: MessageEvent) => {\n const data = JSON.parse(event.data)\n // if (!isMessage(data) || data.channel !== arg) return TODO add isMessage validator schema\n if (DEV) console.log(data)\n switch (data.event_type) {\n case 'JOIN_ROOM':\n updateCachedData((draftEvent) => {\n if (\n draftEvent.users?.findIndex(\n (elem) => elem.id === data.event_message.user.id,\n ) === -1\n )\n draftEvent.users.push(data.event_message.user)\n })\n break\n case 'CHANGE_EVENT_TYPE':\n updateCachedData((draftEvent) => {\n if (data.event_message.new_type !== 'NONE') {\n draftEvent.event_type = data.event_message.new_type\n }\n })\n break\n case 'CHANGE_HOST':\n updateCachedData((draftEvent) => {\n draftEvent.host = data.event_message?.new_host\n })\n break\n case 'CHANGE_CURRENT_ROOM':\n updateCachedData((draftEvent) => {\n draftEvent.current_room_id = data.event_message?.new_room_id\n })\n break\n case 'AGORA_USER_CHANGED_ROOM':\n updateCachedData((draftEvent) => {\n draftEvent.users_partition = data.event_message.users_partition\n })\n break\n // case 'AGORA_CREATE_NEW_ROOM':\n // dispatch(\n // agoraApi.util.updateQueryData(\n // 'agoraGetRtcRooms',\n // { eventId },\n // (draftRtcRooms) => {\n // console.log(draftRtcRooms)\n // draftRtcRooms.push(data.event_message)\n // },\n // ),\n // )\n\n // break\n // case 'NEXT_ROUND':\n // dispatch(\n // geoguesserApi.endpoints.geoguesserGetAllGameResult.initiate(\n // {\n // eventId,\n // },\n // { forceRefetch: true },\n // ),\n // )\n // dispatch(\n // geoguesserApi.endpoints.geoguesserGetGameCoordinates.initiate(\n // {\n // eventId,\n // },\n // { forceRefetch: true },\n // ),\n // )\n // break\n // case 'SET_DISCUSSION_TOPIC':\n // dispatch(\n // discussionApi.util.updateQueryData(\n // 'discussionGetCurrentDiscussionTopic',\n // { eventId },\n // (draftTopic) => {\n // draftTopic = data.event_message.discussion_topic\n // return draftTopic\n // },\n // ),\n // )\n // break\n default:\n break\n }\n }\n ws = await createSocket(eventId, listener)\n\n // when data is received from the socket connection to the server,\n // if it is a message and for the appropriate channel,\n // update our query result with the received message\n // ws.addEventListener('message', listener)\n } catch (error) {\n console.error(error)\n // no-op in case `cacheEntryRemoved` resolves before `cacheDataLoaded`,\n // in which case `cacheDataLoaded` will throw\n }\n // cacheEntryRemoved will resolve when the cache subscription is no longer active\n await cacheEntryRemoved\n // perform cleanup steps once the `cacheEntryRemoved` promise resolves\n if (ws) {\n ws.close()\n }\n }\n },\n },\n // eventGetCurrentEvent: {\n // async onCacheEntryAdded(\n // arg,\n // { updateCachedData, cacheDataLoaded, cacheEntryRemoved, getState, dispatch },\n // ) {\n // const { tokens } = (getState() as RootState).auth\n // const { data: currentEvent } = await cacheDataLoaded\n // const eventId = currentEvent.event_id\n\n // // if (tokens && eventId) {\n // // // create a websocket connection when the cache subscription starts\n // // // const ws = createSocket(tokens?.access_token?.token, eventId)\n // // try {\n // // // wait for the initial query to resolve before proceeding\n\n // // // when data is received from the socket connection to the server,\n // // // if it is a message and for the appropriate channel,\n // // // update our query result with the received message\n // // const listener = (event: MessageEvent) => {\n // // const data = JSON.parse(event.data)\n // // // if (!isMessage(data) || data.channel !== arg) return TODO add isMessage validator schema\n // // updateCachedData((draftEvent) => {\n // // switch (data.event_type) {\n // // case 'JOIN_ROOM':\n // // if (\n // // draftEvent.users?.findIndex(\n // // (elem) => elem.id === data.event_message.user.id,\n // // ) === -1\n // // )\n // // draftEvent.users.push(data.event_message.user)\n // // break\n // // case 'CHANGE_EVENT_TYPE':\n // // console.log('event changed', data.event_message.new_type)\n // // if (data.event_message.new_type !== 'NONE') {\n // // draftEvent.event_type = data.event_message.new_type\n // // }\n // // break\n // // case 'CHANGE_HOST':\n // // draftEvent.host = data.event_message?.new_host\n // // break\n // // default:\n // // break\n // // }\n // // })\n // // }\n // // ws.addEventListener('message', listener)\n // // } catch {\n // // // no-op in case `cacheEntryRemoved` resolves before `cacheDataLoaded`,\n // // // in which case `cacheDataLoaded` will throw\n // // }\n // // // cacheEntryRemoved will resolve when the cache subscription is no longer active\n // // await cacheEntryRemoved\n // // // perform cleanup steps once the `cacheEntryRemoved` promise resolves\n // // ws.close()\n // // }\n // },\n // },\n eventParticipateInEvent: {\n async onQueryStarted(args, { dispatch, queryFulfilled, getState }) {\n try {\n await queryFulfilled\n const { user } = (getState() as RootState).auth\n dispatch(\n eventApi.util.updateQueryData('eventGetEventById', args, (draftEvent) => {\n draftEvent.participants = [...draftEvent.participants, user]\n }),\n )\n } catch {}\n },\n },\n eventDeleteParticipationInEvent: {\n async onQueryStarted(args, { dispatch, queryFulfilled, getState }) {\n try {\n await queryFulfilled\n const { user } = (getState() as RootState).auth\n dispatch(\n eventApi.util.updateQueryData('eventGetEventById', args, (draftEvent) => {\n let array = draftEvent.participants\n const index = array.indexOf(user)\n array.splice(index, 1)\n }),\n )\n } catch {}\n },\n },\n },\n})\n\nexport { eventApi }\n\nexport * from './auto-generated/event'\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n geoguesserGetGeoGuesserGamesConfig: build.query<\n GeoguesserGetGeoGuesserGamesConfigApiResponse,\n GeoguesserGetGeoGuesserGamesConfigApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/geogame/config` }),\n }),\n geoguesserJoinGame: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/extensions/geogame/game/${queryArg.eventId}/start`,\n method: 'POST',\n params: { exit_: queryArg.exit },\n }),\n }),\n geoguesserGetGame: build.query({\n query: (queryArg) => ({ url: `/api/v1/extensions/geogame/game/${queryArg.eventId}` }),\n }),\n geoguesserMakeGuess: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/extensions/geogame/game/${queryArg.eventId}/guess`,\n method: 'POST',\n body: queryArg.coordinatesModel,\n }),\n }),\n geoguesserGetGameCoordinates: build.query<\n GeoguesserGetGameCoordinatesApiResponse,\n GeoguesserGetGameCoordinatesApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/geogame/game/${queryArg.eventId}/coordinates`,\n }),\n }),\n geoguesserExitGame: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/extensions/geogame/game/${queryArg.eventId}/exit`,\n method: 'POST',\n }),\n }),\n geoguesserGetAllGameResult: build.query<\n GeoguesserGetAllGameResultApiResponse,\n GeoguesserGetAllGameResultApiArg\n >({\n query: (queryArg) => ({ url: `/api/v1/extensions/geogame/game/${queryArg.eventId}/results` }),\n }),\n geoguesserGetRoundsData: build.query<\n GeoguesserGetRoundsDataApiResponse,\n GeoguesserGetRoundsDataApiArg\n >({\n query: (queryArg) => ({ url: `/api/v1/extensions/geogame/game/${queryArg.eventId}/rounds` }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GeoguesserGetGeoGuesserGamesConfigApiResponse =\n /** status 200 Successful Response */ GeoGameConfig\nexport type GeoguesserGetGeoGuesserGamesConfigApiArg = void\nexport type GeoguesserJoinGameApiResponse = /** status 200 Successful Response */ any\nexport type GeoguesserJoinGameApiArg = {\n eventId: string\n exit?: boolean\n}\nexport type GeoguesserGetGameApiResponse = /** status 200 Successful Response */ GeoGuesserGame\nexport type GeoguesserGetGameApiArg = {\n eventId: string\n}\nexport type GeoguesserMakeGuessApiResponse = /** status 200 Successful Response */ any\nexport type GeoguesserMakeGuessApiArg = {\n eventId: string\n coordinatesModel: CoordinatesModel\n}\nexport type GeoguesserGetGameCoordinatesApiResponse =\n /** status 200 Successful Response */ CoordinatesModel\nexport type GeoguesserGetGameCoordinatesApiArg = {\n eventId: string\n}\nexport type GeoguesserExitGameApiResponse = /** status 201 Successful Response */ any\nexport type GeoguesserExitGameApiArg = {\n eventId: string\n}\nexport type GeoguesserGetAllGameResultApiResponse =\n /** status 200 Successful Response */ GameGetCorrectResponse[]\nexport type GeoguesserGetAllGameResultApiArg = {\n eventId: string\n}\nexport type GeoguesserGetRoundsDataApiResponse =\n /** status 200 Successful Response */ RoundsDataResponse\nexport type GeoguesserGetRoundsDataApiArg = {\n eventId: string\n}\nexport type GeoGameConfig = {\n min_number_users: number\n max_number_users: number\n time_to_guess: number\n max_number_of_rounds: number\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type GameStatus = 'PENDING' | 'STARTED' | 'FINISHED' | 'CANCELED'\nexport type GeoGuesserGame = {\n created_time: string\n status: GameStatus\n end_time?: string | null\n started_time?: string | null\n}\nexport type CoordinatesModel = {\n lon: number\n lat: number\n}\nexport type DistanceUnit = 'KM' | 'MI'\nexport type GameGetCorrectResponse = {\n lon: number\n lat: number\n guess_lat: number\n guess_lon: number\n distance: number\n distance_unit?: DistanceUnit | null\n score: number\n round_number: number\n description: string\n}\nexport type RoundsDataResponse = {\n current_round: number\n score: number\n}\nexport const {\n useGeoguesserGetGeoGuesserGamesConfigQuery,\n useLazyGeoguesserGetGeoGuesserGamesConfigQuery,\n useGeoguesserJoinGameMutation,\n useGeoguesserGetGameQuery,\n useLazyGeoguesserGetGameQuery,\n useGeoguesserMakeGuessMutation,\n useGeoguesserGetGameCoordinatesQuery,\n useLazyGeoguesserGetGameCoordinatesQuery,\n useGeoguesserExitGameMutation,\n useGeoguesserGetAllGameResultQuery,\n useLazyGeoguesserGetAllGameResultQuery,\n useGeoguesserGetRoundsDataQuery,\n useLazyGeoguesserGetRoundsDataQuery,\n} = injectedRtkApi\n","import { api as geoguesserApi } from './auto-generated/geoguesser'\nimport { api as eventApi } from './auto-generated/event'\nimport { RootState } from '@app/store'\nimport { createSocket } from './ws'\n\ngeoguesserApi.enhanceEndpoints({\n endpoints: {\n geoguesserJoinGame: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n dispatch(\n eventApi.util.updateQueryData('eventGetEventById', args, (draftEvent) => {\n draftEvent.event_type = 'GEO_GAME'\n }),\n )\n dispatch(\n eventApi.util.updateQueryData('eventGetCurrentEvent', undefined, (draftEvent) => {\n draftEvent.event_type = 'GEO_GAME'\n }),\n )\n try {\n await queryFulfilled\n } catch {}\n },\n },\n geoguesserGetAllGameResult: {\n async onCacheEntryAdded(arg, api) {\n const { tokens } = (api.getState() as RootState).auth\n const { eventId } = arg\n if (tokens && eventId) {\n let ws\n try {\n // wait for the initial query to resolve before proceeding\n await api.cacheDataLoaded\n const listener = (event: MessageEvent) => {\n const data = JSON.parse(event.data)\n switch (data.event_type) {\n case 'NEXT_ROUND':\n api.dispatch(\n geoguesserApi.endpoints.geoguesserGetAllGameResult.initiate(\n {\n eventId,\n },\n { forceRefetch: true },\n ),\n )\n api.dispatch(\n geoguesserApi.endpoints.geoguesserGetGameCoordinates.initiate(\n {\n eventId,\n },\n { forceRefetch: true },\n ),\n )\n break\n default:\n break\n }\n }\n ws = await createSocket(eventId, listener)\n // when data is received from the socket connection to the server,\n // if it is a message and for the appropriate channel,\n // update our query result with the received message\n } catch {\n // no-op in case `cacheEntryRemoved` resolves before `cacheDataLoaded`,\n // in which case `cacheDataLoaded` will throw\n }\n // cacheEntryRemoved will resolve when the cache subscription is no longer active\n await api.cacheEntryRemoved\n // perform cleanup steps once the `cacheEntryRemoved` promise resolves\n if (ws) {\n ws.close()\n }\n }\n },\n },\n },\n})\n\nexport { geoguesserApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n hyperbeamStartHyperbeamVm: build.mutation<\n HyperbeamStartHyperbeamVmApiResponse,\n HyperbeamStartHyperbeamVmApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/hyperbeam/${queryArg.eventId}/start`,\n method: 'POST',\n params: { exit_: queryArg.exit },\n }),\n }),\n hyperbeamGetHyperbeamEvent: build.query<\n HyperbeamGetHyperbeamEventApiResponse,\n HyperbeamGetHyperbeamEventApiArg\n >({\n query: (queryArg) => ({ url: `/api/v1/extensions/hyperbeam/${queryArg.eventId}` }),\n }),\n hyperbeamShutdownHyperbeamVm: build.mutation<\n HyperbeamShutdownHyperbeamVmApiResponse,\n HyperbeamShutdownHyperbeamVmApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/hyperbeam/${queryArg.eventId}/exit`,\n method: 'POST',\n }),\n }),\n hyperbeamGetHyperbeamSessions: build.query<\n HyperbeamGetHyperbeamSessionsApiResponse,\n HyperbeamGetHyperbeamSessionsApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/hyperbeam/sessions` }),\n }),\n hyperbeamDeleteHyperbeamSession: build.mutation<\n HyperbeamDeleteHyperbeamSessionApiResponse,\n HyperbeamDeleteHyperbeamSessionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/hyperbeam/sessions/${queryArg.sessionId}`,\n method: 'DELETE',\n }),\n }),\n hyperbeamGetHyperbeamSession: build.query<\n HyperbeamGetHyperbeamSessionApiResponse,\n HyperbeamGetHyperbeamSessionApiArg\n >({\n query: (queryArg) => ({ url: `/api/v1/extensions/hyperbeam/sessions/${queryArg.sessionId}` }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type HyperbeamStartHyperbeamVmApiResponse = /** status 200 Successful Response */ any\nexport type HyperbeamStartHyperbeamVmApiArg = {\n eventId: string\n exit?: boolean\n}\nexport type HyperbeamGetHyperbeamEventApiResponse = /** status 200 Successful Response */ any\nexport type HyperbeamGetHyperbeamEventApiArg = {\n eventId: string\n}\nexport type HyperbeamShutdownHyperbeamVmApiResponse = /** status 200 Successful Response */ any\nexport type HyperbeamShutdownHyperbeamVmApiArg = {\n eventId: string\n}\nexport type HyperbeamGetHyperbeamSessionsApiResponse =\n /** status 200 Successful Response */ HyperbeamSessionResponse[]\nexport type HyperbeamGetHyperbeamSessionsApiArg = void\nexport type HyperbeamDeleteHyperbeamSessionApiResponse = /** status 200 Successful Response */ any\nexport type HyperbeamDeleteHyperbeamSessionApiArg = {\n sessionId: string\n}\nexport type HyperbeamGetHyperbeamSessionApiResponse =\n /** status 200 Successful Response */ HyperbeamSessionResponse\nexport type HyperbeamGetHyperbeamSessionApiArg = {\n sessionId: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type HyperbeamSessionResponse = {\n session_id: string\n embed_url: string\n admin_token: string\n event_id?: string | null\n termination_date?: string | null\n}\nexport const {\n useHyperbeamStartHyperbeamVmMutation,\n useHyperbeamGetHyperbeamEventQuery,\n useLazyHyperbeamGetHyperbeamEventQuery,\n useHyperbeamShutdownHyperbeamVmMutation,\n useHyperbeamGetHyperbeamSessionsQuery,\n useLazyHyperbeamGetHyperbeamSessionsQuery,\n useHyperbeamDeleteHyperbeamSessionMutation,\n useHyperbeamGetHyperbeamSessionQuery,\n useLazyHyperbeamGetHyperbeamSessionQuery,\n} = injectedRtkApi\n","import { api as hyperbeamApi } from './auto-generated/hyperbeam'\nimport { api as eventApi } from './auto-generated/event'\n\nhyperbeamApi.enhanceEndpoints({\n endpoints: {\n hyperbeamStartHyperbeamVm: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n dispatch(\n eventApi.util.updateQueryData('eventGetEventById', args, (draftEvent) => {\n draftEvent.event_type = 'HYPERBEAM'\n }),\n )\n dispatch(\n eventApi.util.updateQueryData('eventGetCurrentEvent', undefined, (draftEvent) => {\n draftEvent.event_type = 'HYPERBEAM'\n }),\n )\n try {\n await queryFulfilled\n } catch {}\n },\n },\n },\n})\n\nexport { hyperbeamApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n languagesGetLanguages: build.query<\n LanguagesGetLanguagesApiResponse,\n LanguagesGetLanguagesApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/languages/languages`,\n params: { sort_country: queryArg.sortCountry },\n }),\n }),\n languagesGetLocation: build.query({\n query: () => ({ url: `/api/v1/sdk/languages/location` }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type LanguagesGetLanguagesApiResponse =\n /** status 200 Successful Response */ LanguageDbModel[]\nexport type LanguagesGetLanguagesApiArg = {\n sortCountry?: boolean | null\n}\nexport type LanguagesGetLocationApiResponse = /** status 200 Successful Response */ any\nexport type LanguagesGetLocationApiArg = void\nexport type LanguageDbModel = {\n id: number\n english_name?: string | null\n native_name?: string | null\n code?: string | null\n is_room_language?: boolean | null\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport const {\n useLanguagesGetLanguagesQuery,\n useLazyLanguagesGetLanguagesQuery,\n useLanguagesGetLocationQuery,\n useLazyLanguagesGetLocationQuery,\n} = injectedRtkApi\n","import { api as languagesApi } from './auto-generated/languages'\n\nlanguagesApi.enhanceEndpoints({\n endpoints: {},\n})\n\nexport { languagesApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n localizationGetLocalizationFile: build.query<\n LocalizationGetLocalizationFileApiResponse,\n LocalizationGetLocalizationFileApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/localization/${queryArg.languageCode}.json`,\n params: { ns: queryArg.ns, nested: queryArg.nested },\n }),\n }),\n localizationAddLocalization: build.mutation<\n LocalizationAddLocalizationApiResponse,\n LocalizationAddLocalizationApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/localization/add/${queryArg.languageCode}`,\n method: 'POST',\n body: queryArg.addKeyValRequest,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type LocalizationGetLocalizationFileApiResponse = /** status 200 Successful Response */ any\nexport type LocalizationGetLocalizationFileApiArg = {\n languageCode: string\n ns?: string | null\n nested?: boolean\n}\nexport type LocalizationAddLocalizationApiResponse = /** status 201 Successful Response */ any\nexport type LocalizationAddLocalizationApiArg = {\n languageCode: string\n addKeyValRequest: AddKeyValRequest\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type AddKeyValRequest = {\n key: string\n val: string\n namespace?: string | null\n}\nexport const {\n useLocalizationGetLocalizationFileQuery,\n useLazyLocalizationGetLocalizationFileQuery,\n useLocalizationAddLocalizationMutation,\n} = injectedRtkApi\n","import { api as localizationApi } from './auto-generated/localization'\n\nlocalizationApi.enhanceEndpoints({\n endpoints: {},\n})\n\nexport { localizationApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n revisionGetRevision: build.query({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/revisions`,\n params: { limit: queryArg.limit, offset: queryArg.offset, language: queryArg.language },\n }),\n }),\n revisionDeleteRevision: build.mutation<\n RevisionDeleteRevisionApiResponse,\n RevisionDeleteRevisionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/revision/`,\n method: 'DELETE',\n params: { revision_id: queryArg.revisionId },\n }),\n }),\n revisionCreateTranscription: build.mutation<\n RevisionCreateTranscriptionApiResponse,\n RevisionCreateTranscriptionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/transcript`,\n method: 'POST',\n body: queryArg.transcriptionRequest,\n }),\n }),\n revisionGetUserTranscription: build.query<\n RevisionGetUserTranscriptionApiResponse,\n RevisionGetUserTranscriptionApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/revision/transcripts` }),\n }),\n revisionUploadChunkedAudio: build.mutation<\n RevisionUploadChunkedAudioApiResponse,\n RevisionUploadChunkedAudioApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/record/upload_chunked_audio/${queryArg.recordId}/${queryArg.chunkNumber}`,\n method: 'POST',\n body: queryArg.bodyUploadChunkedAudioApiV1ExtensionsRevisionRecordUploadChunkedAudioRecordIdChunkNumberPost,\n params: { live_transcribe: queryArg.liveTranscribe, is_exam_mode: queryArg.isExamMode },\n }),\n }),\n revisionStopRecording: build.mutation<\n RevisionStopRecordingApiResponse,\n RevisionStopRecordingApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/record/stop_recording/${queryArg.recordId}`,\n method: 'POST',\n params: { test_myself: queryArg.testMyself },\n }),\n }),\n revisionCancelRecording: build.mutation<\n RevisionCancelRecordingApiResponse,\n RevisionCancelRecordingApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/record/${queryArg.recordId}`,\n method: 'DELETE',\n }),\n }),\n revisionCreateChunkRecordingSettings: build.mutation<\n RevisionCreateChunkRecordingSettingsApiResponse,\n RevisionCreateChunkRecordingSettingsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/recording/${queryArg.recordingId}/settings`,\n method: 'POST',\n body: queryArg.createRecordingChunkSettingsRequest,\n }),\n }),\n revisionListRecordings: build.query<\n RevisionListRecordingsApiResponse,\n RevisionListRecordingsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/recordings`,\n params: {\n test_myself: queryArg.testMyself,\n limit: queryArg.limit,\n offset: queryArg.offset,\n },\n }),\n }),\n revisionUpdateRecording: build.mutation<\n RevisionUpdateRecordingApiResponse,\n RevisionUpdateRecordingApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/recordings/${queryArg.id}`,\n method: 'PUT',\n body: queryArg.updateRecordingRequest,\n }),\n }),\n revisionGetRecording: build.query({\n query: (queryArg) => ({ url: `/api/v1/extensions/revision/recordings/${queryArg.id}` }),\n }),\n revisionDeleteRecording: build.mutation<\n RevisionDeleteRecordingApiResponse,\n RevisionDeleteRecordingApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/recordings/${queryArg.id}`,\n method: 'DELETE',\n }),\n }),\n revisionCreateFeedbackRequests: build.mutation<\n RevisionCreateFeedbackRequestsApiResponse,\n RevisionCreateFeedbackRequestsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/feedback_request`,\n method: 'POST',\n body: queryArg.askFeedbackRequest,\n }),\n }),\n revisionListFeedbackRequests: build.query<\n RevisionListFeedbackRequestsApiResponse,\n RevisionListFeedbackRequestsApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/revision/feedback_requests` }),\n }),\n revisionCreateTeacherFeedback: build.mutation<\n RevisionCreateTeacherFeedbackApiResponse,\n RevisionCreateTeacherFeedbackApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/feedback`,\n method: 'POST',\n body: queryArg.createFeedbackRequest,\n }),\n }),\n revisionGetFeedbacks: build.query({\n query: () => ({ url: `/api/v1/extensions/revision/feedbacks` }),\n }),\n revisionDeleteFeedback: build.mutation<\n RevisionDeleteFeedbackApiResponse,\n RevisionDeleteFeedbackApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/feedback/${queryArg.id}`,\n method: 'DELETE',\n }),\n }),\n revisionCreateAudioTeacherFeedback: build.mutation<\n RevisionCreateAudioTeacherFeedbackApiResponse,\n RevisionCreateAudioTeacherFeedbackApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/audio_feedback`,\n method: 'POST',\n body: queryArg.bodyCreateAudioTeacherFeedbackApiV1ExtensionsRevisionAudioFeedbackPost,\n }),\n }),\n revisionAddUserPreferenceOnFeedback: build.mutation<\n RevisionAddUserPreferenceOnFeedbackApiResponse,\n RevisionAddUserPreferenceOnFeedbackApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/feedback/${queryArg.id}/user_taste`,\n method: 'POST',\n body: queryArg.addUserPreferenceRequest,\n }),\n }),\n revisionGetUserPreferenceOnFeedback: build.query<\n RevisionGetUserPreferenceOnFeedbackApiResponse,\n RevisionGetUserPreferenceOnFeedbackApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/feedback/${queryArg.id}/user_taste`,\n }),\n }),\n revisionTranscriptionWebhook: build.mutation<\n RevisionTranscriptionWebhookApiResponse,\n RevisionTranscriptionWebhookApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/transcription/webhook`,\n method: 'POST',\n body: queryArg.transcriptionWebHookRequest,\n }),\n }),\n revisionCreateRecordingChunk: build.mutation<\n RevisionCreateRecordingChunkApiResponse,\n RevisionCreateRecordingChunkApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/recording/${queryArg.recordingId}/chunk`,\n method: 'POST',\n body: queryArg.createRecordingChunkRequest,\n }),\n }),\n revisionGetDefaultTeacher: build.query<\n RevisionGetDefaultTeacherApiResponse,\n RevisionGetDefaultTeacherApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/revision/default_teacher` }),\n }),\n revisionGetQuestions: build.query({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/${queryArg.recordingId}/questions`,\n params: { limit: queryArg.limit },\n }),\n }),\n revisionGetSummary: build.query({\n query: (queryArg) => ({ url: `/api/v1/extensions/revision/${queryArg.recordingId}/summary` }),\n }),\n revisionGetTtsUrl: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/convert/tts`,\n method: 'POST',\n body: queryArg.ttsRequest,\n }),\n }),\n revisionGetActiveStudents: build.query<\n RevisionGetActiveStudentsApiResponse,\n RevisionGetActiveStudentsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/stats/active-students`,\n params: {\n date_from: queryArg.dateFrom,\n date_to: queryArg.dateTo,\n granularity: queryArg.granularity,\n years: queryArg.years,\n cohorts: queryArg.cohorts,\n teacher_ids: queryArg.teacherIds,\n student_ids: queryArg.studentIds,\n },\n }),\n }),\n revisionGetGeneralStats: build.query<\n RevisionGetGeneralStatsApiResponse,\n RevisionGetGeneralStatsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/stats/general`,\n params: {\n years: queryArg.years,\n cohorts: queryArg.cohorts,\n teacher_ids: queryArg.teacherIds,\n student_ids: queryArg.studentIds,\n },\n }),\n }),\n revisionGetAiAnalysis: build.query<\n RevisionGetAiAnalysisApiResponse,\n RevisionGetAiAnalysisApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/stats/ai-analysis`,\n params: { page: queryArg.page, page_size: queryArg.pageSize },\n }),\n }),\n revisionGetStudentPerformance: build.query<\n RevisionGetStudentPerformanceApiResponse,\n RevisionGetStudentPerformanceApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/status/student-performance`,\n params: {\n date_from: queryArg.dateFrom,\n date_to: queryArg.dateTo,\n granularity: queryArg.granularity,\n feedback_type: queryArg.feedbackType,\n },\n }),\n }),\n revisionGetRecordingLimits: build.query<\n RevisionGetRecordingLimitsApiResponse,\n RevisionGetRecordingLimitsApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/revision/recordings-limits` }),\n }),\n revisionProcessRecording: build.mutation<\n RevisionProcessRecordingApiResponse,\n RevisionProcessRecordingApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/revision/recordings/${queryArg.id}/process`,\n method: 'POST',\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type RevisionGetRevisionApiResponse = /** status 200 Successful Response */ WordDbModel[]\nexport type RevisionGetRevisionApiArg = {\n limit?: number | null\n offset?: number | null\n language?: string | null\n}\nexport type RevisionDeleteRevisionApiResponse = /** status 204 Successful Response */ void\nexport type RevisionDeleteRevisionApiArg = {\n revisionId: number\n}\nexport type RevisionCreateTranscriptionApiResponse =\n /** status 201 Successful Response */ TranscriptionResponse\nexport type RevisionCreateTranscriptionApiArg = {\n transcriptionRequest: TranscriptionRequest\n}\nexport type RevisionGetUserTranscriptionApiResponse =\n /** status 200 Successful Response */ TranscriptionResponse[]\nexport type RevisionGetUserTranscriptionApiArg = void\nexport type RevisionUploadChunkedAudioApiResponse = /** status 200 Successful Response */ any\nexport type RevisionUploadChunkedAudioApiArg = {\n recordId: string\n chunkNumber: number\n liveTranscribe?: boolean | null\n isExamMode?: boolean | null\n bodyUploadChunkedAudioApiV1ExtensionsRevisionRecordUploadChunkedAudioRecordIdChunkNumberPost: BodyUploadChunkedAudioApiV1ExtensionsRevisionRecordUploadChunkedAudioRecordIdChunkNumberPost\n}\nexport type RevisionStopRecordingApiResponse = /** status 200 Successful Response */ any\nexport type RevisionStopRecordingApiArg = {\n recordId: string\n testMyself?: boolean | null\n}\nexport type RevisionCancelRecordingApiResponse = /** status 204 Successful Response */ void\nexport type RevisionCancelRecordingApiArg = {\n recordId: string\n}\nexport type RevisionCreateChunkRecordingSettingsApiResponse =\n /** status 201 Successful Response */ any\nexport type RevisionCreateChunkRecordingSettingsApiArg = {\n recordingId: string\n createRecordingChunkSettingsRequest: CreateRecordingChunkSettingsRequest\n}\nexport type RevisionListRecordingsApiResponse =\n /** status 200 Successful Response */ RecordingSmallerResponse[]\nexport type RevisionListRecordingsApiArg = {\n testMyself?: boolean | null\n limit?: number | null\n offset?: number | null\n}\nexport type RevisionUpdateRecordingApiResponse =\n /** status 200 Successful Response */ RecordingResponse\nexport type RevisionUpdateRecordingApiArg = {\n id: number\n updateRecordingRequest: UpdateRecordingRequest\n}\nexport type RevisionGetRecordingApiResponse =\n /** status 200 Successful Response */ RecordingResponse\nexport type RevisionGetRecordingApiArg = {\n id: number\n}\nexport type RevisionDeleteRecordingApiResponse = /** status 200 Successful Response */ any\nexport type RevisionDeleteRecordingApiArg = {\n id: number\n}\nexport type RevisionCreateFeedbackRequestsApiResponse =\n /** status 201 Successful Response */ AskFeedbackResponse\nexport type RevisionCreateFeedbackRequestsApiArg = {\n askFeedbackRequest: AskFeedbackRequest\n}\nexport type RevisionListFeedbackRequestsApiResponse =\n /** status 200 Successful Response */ ListFeedbackRequestResponse\nexport type RevisionListFeedbackRequestsApiArg = void\nexport type RevisionCreateTeacherFeedbackApiResponse =\n /** status 201 Successful Response */ CreateFeedbackResponse\nexport type RevisionCreateTeacherFeedbackApiArg = {\n createFeedbackRequest: CreateFeedbackRequest\n}\nexport type RevisionGetFeedbacksApiResponse =\n /** status 200 Successful Response */ RecordingChunkCommentResponse[]\nexport type RevisionGetFeedbacksApiArg = void\nexport type RevisionDeleteFeedbackApiResponse =\n /** status 200 Successful Response */ DeleteChunkCommentResponse\nexport type RevisionDeleteFeedbackApiArg = {\n id: number\n}\nexport type RevisionCreateAudioTeacherFeedbackApiResponse =\n /** status 201 Successful Response */ CreateFeedbackResponse\nexport type RevisionCreateAudioTeacherFeedbackApiArg = {\n bodyCreateAudioTeacherFeedbackApiV1ExtensionsRevisionAudioFeedbackPost: BodyCreateAudioTeacherFeedbackApiV1ExtensionsRevisionAudioFeedbackPost\n}\nexport type RevisionAddUserPreferenceOnFeedbackApiResponse =\n /** status 201 Successful Response */ UserPreferenceResponse | null\nexport type RevisionAddUserPreferenceOnFeedbackApiArg = {\n id: number\n addUserPreferenceRequest: AddUserPreferenceRequest\n}\nexport type RevisionGetUserPreferenceOnFeedbackApiResponse =\n /** status 200 Successful Response */ UserPreferenceResponse | null\nexport type RevisionGetUserPreferenceOnFeedbackApiArg = {\n id: number\n}\nexport type RevisionTranscriptionWebhookApiResponse = /** status 200 Successful Response */ any\nexport type RevisionTranscriptionWebhookApiArg = {\n transcriptionWebHookRequest: TranscriptionWebHookRequest\n}\nexport type RevisionCreateRecordingChunkApiResponse =\n /** status 201 Successful Response */ CreateRecordingChunkResponse\nexport type RevisionCreateRecordingChunkApiArg = {\n recordingId: number\n createRecordingChunkRequest: CreateRecordingChunkRequest\n}\nexport type RevisionGetDefaultTeacherApiResponse = /** status 200 Successful Response */ any\nexport type RevisionGetDefaultTeacherApiArg = void\nexport type RevisionGetQuestionsApiResponse = /** status 200 Successful Response */ QuestionResponse\nexport type RevisionGetQuestionsApiArg = {\n recordingId: string\n limit?: number\n}\nexport type RevisionGetSummaryApiResponse =\n /** status 200 Successful Response */ RecordingSummaryResponse\nexport type RevisionGetSummaryApiArg = {\n recordingId: number\n}\nexport type RevisionGetTtsUrlApiResponse = /** status 200 Successful Response */ TtsResponse\nexport type RevisionGetTtsUrlApiArg = {\n ttsRequest: TtsRequest\n}\nexport type RevisionGetActiveStudentsApiResponse =\n /** status 200 Successful Response */ ActiveStudentsResponse[]\nexport type RevisionGetActiveStudentsApiArg = {\n dateFrom: string\n dateTo: string\n granularity: string\n years?: number[] | null\n cohorts?: string[] | null\n teacherIds?: number[] | null\n studentIds?: number[] | null\n}\nexport type RevisionGetGeneralStatsApiResponse =\n /** status 200 Successful Response */ GeneralStatsResponse\nexport type RevisionGetGeneralStatsApiArg = {\n years?: number[] | null\n cohorts?: string[] | null\n teacherIds?: number[] | null\n studentIds?: number[] | null\n}\nexport type RevisionGetAiAnalysisApiResponse =\n /** status 200 Successful Response */ AiAnalysisListResponse\nexport type RevisionGetAiAnalysisApiArg = {\n page?: number\n pageSize?: number\n}\nexport type RevisionGetStudentPerformanceApiResponse =\n /** status 200 Successful Response */ StudentPerformanceResponse\nexport type RevisionGetStudentPerformanceApiArg = {\n dateFrom: string\n dateTo: string\n granularity?: string\n feedbackType?: string\n}\nexport type RevisionGetRecordingLimitsApiResponse =\n /** status 200 Successful Response */ RecordingLimitsResponse\nexport type RevisionGetRecordingLimitsApiArg = void\nexport type RevisionProcessRecordingApiResponse = /** status 200 Successful Response */ any\nexport type RevisionProcessRecordingApiArg = {\n id: number\n}\nexport type WordDbModel = {\n id: number\n word: string\n complexity: number\n language_id: number\n created_at?: string\n updated_at?: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type TranscriptionResponse = {\n id: number\n transcript_url: string\n audio_url: string\n correction_url: string\n}\nexport type TranscriptionRequest = {\n transcript: string\n audio: string\n correction: string\n user_id: number\n}\nexport type BodyUploadChunkedAudioApiV1ExtensionsRevisionRecordUploadChunkedAudioRecordIdChunkNumberPost =\n {\n file: Blob\n }\nexport type CreateRecordingChunkSettingsRequest = {\n chunk_size: number\n channels?: number | null\n sample_rate?: number | null\n sample_width?: number | null\n event_id?: string | null\n}\nexport type RecordingSmallerResponse = {\n id: number\n audio_url: string\n language?: string | null\n duration: number\n processed: boolean\n created_at: string\n updated_at: string\n processing_status?: string | null\n locked?: boolean\n test_myself?: boolean\n}\nexport type PublicUserProfile = {\n id: number\n username: string\n image?: string | null\n full_name?: string | null\n avatar?: string | null\n}\nexport type RecordingChunkCommentResponse = {\n id: number\n comment?: string | null\n audio_comment_url?: string | null\n is_ai: boolean\n user?: PublicUserProfile | null\n likes: object\n dislikes: object\n created_at: string\n updated_at: string\n feedback?: string | null\n corrected_sentence?: string | null\n ext?: object | null\n comment_type?: string | null\n video_url?: string | null\n}\nexport type RecordingChunkResponse = {\n id: number\n start_time: number\n end_time: number\n comments: RecordingChunkCommentResponse[]\n created_at: string\n updated_at: string\n error_type?: string | null\n}\nexport type RecordingResponse = {\n id: number\n audio_url: string\n processed_audio_url?: string | null\n transcript_url?: string | null\n event_id?: number | null\n lesson_exist: boolean\n language?: string | null\n duration: number\n processed: boolean\n chunks: RecordingChunkResponse[]\n created_at: string\n updated_at: string\n ext?: object | null\n processing_status?: string | null\n locked?: boolean\n test_myself?: boolean\n}\nexport type UpdateRecordingRequest = {\n reviewed: boolean\n}\nexport type AskFeedbackResponse = {\n id: number\n user_id: number\n teacher_id: number\n recording_id: number\n status: string\n created_at: string\n}\nexport type AskFeedbackRequest = {\n recording_id: number\n teacher_id: number\n}\nexport type FeedbackRequestResponse = {\n id: number\n status: string\n teacher_id: number\n user_id: number\n recording_id: number\n student_display_name?: string | null\n teacher_display_name?: string | null\n created_at: string\n}\nexport type ListFeedbackRequestResponse = {\n received?: FeedbackRequestResponse[] | null\n sent?: FeedbackRequestResponse[] | null\n}\nexport type CreateFeedbackResponse = {\n id: number\n user_id: number\n comment?: string | null\n audio_comment_url?: string | null\n video_url?: string | null\n is_ai: boolean\n created_at: string\n}\nexport type CreateFeedbackRequest = {\n recording_id: number\n comment?: string | null\n start_time: number\n end_time: number\n video_url?: string | null\n}\nexport type DeleteChunkCommentResponse = {\n id: number\n recording_id: number\n}\nexport type BodyCreateAudioTeacherFeedbackApiV1ExtensionsRevisionAudioFeedbackPost = {\n recording_id: number\n start_time: number\n end_time: number\n file: Blob\n}\nexport type UserPreferenceResponse = {\n id: number\n feedback_id: number\n recording_id: number\n preference?: boolean | null\n created_at: string\n}\nexport type AddUserPreferenceRequest = {\n taste?: boolean | null\n}\nexport type AlignedSentences = {\n sentence: string\n start: number\n end: number\n}\nexport type TranscriptionWebHookRequest = {\n recording_id: number\n aligned_sentences: AlignedSentences[]\n subtitle: string\n passcode: string\n detected_lang: string\n result: object\n}\nexport type CreateRecordingChunkResponse = {\n id: number\n recording_id: number\n start_time: number\n end_time: number\n}\nexport type CreateRecordingChunkRequest = {\n start_time: number\n end_time: number\n}\nexport type Question = {\n question: string\n tts_url?: string | null\n}\nexport type QuestionResponse = {\n questions: Question[]\n}\nexport type RecordingSummaryResponse = {\n ideation: object\n grammar: object\n development: object\n recording_id: number\n rephrases: any[]\n vocabulary: object\n fluency: object\n}\nexport type TtsResponse = {\n tts_url: string\n}\nexport type TtsRequest = {\n text: string\n accent?: string\n gender?: string\n}\nexport type ActiveStudentsResponse = {\n date: string\n active_students: number\n}\nexport type GeneralStatsResponse = {\n number_of_students: number\n number_of_recordings: number\n total_duration: number\n avg_recordings_per_student: number\n avg_recording_length: number\n}\nexport type AiAnalysisResponse = {\n cohort_year: number\n cohort_semester: number\n recording_date: string\n teacher_username: string\n student_username: string\n original_sentence_transcript: string | null\n ai_comment: string\n category_of_error: string\n}\nexport type AiAnalysisListResponse = {\n data: AiAnalysisResponse[]\n total: number\n page: number\n page_size: number\n}\nexport type PerformanceDataPoint = {\n date: string\n score: number\n}\nexport type StudentPerformanceResponse = {\n ideation: PerformanceDataPoint[] | null\n development: PerformanceDataPoint[] | null\n grammar: PerformanceDataPoint[] | null\n vocabulary: PerformanceDataPoint[] | null\n fluency: PerformanceDataPoint[] | null\n}\nexport type RecordingLimitsResponse = {\n monthly_limit: number\n current_count: number\n remaining_count: number\n}\nexport const {\n useRevisionGetRevisionQuery,\n useLazyRevisionGetRevisionQuery,\n useRevisionDeleteRevisionMutation,\n useRevisionCreateTranscriptionMutation,\n useRevisionGetUserTranscriptionQuery,\n useLazyRevisionGetUserTranscriptionQuery,\n useRevisionUploadChunkedAudioMutation,\n useRevisionStopRecordingMutation,\n useRevisionCancelRecordingMutation,\n useRevisionCreateChunkRecordingSettingsMutation,\n useRevisionListRecordingsQuery,\n useLazyRevisionListRecordingsQuery,\n useRevisionUpdateRecordingMutation,\n useRevisionGetRecordingQuery,\n useLazyRevisionGetRecordingQuery,\n useRevisionDeleteRecordingMutation,\n useRevisionCreateFeedbackRequestsMutation,\n useRevisionListFeedbackRequestsQuery,\n useLazyRevisionListFeedbackRequestsQuery,\n useRevisionCreateTeacherFeedbackMutation,\n useRevisionGetFeedbacksQuery,\n useLazyRevisionGetFeedbacksQuery,\n useRevisionDeleteFeedbackMutation,\n useRevisionCreateAudioTeacherFeedbackMutation,\n useRevisionAddUserPreferenceOnFeedbackMutation,\n useRevisionGetUserPreferenceOnFeedbackQuery,\n useLazyRevisionGetUserPreferenceOnFeedbackQuery,\n useRevisionTranscriptionWebhookMutation,\n useRevisionCreateRecordingChunkMutation,\n useRevisionGetDefaultTeacherQuery,\n useLazyRevisionGetDefaultTeacherQuery,\n useRevisionGetQuestionsQuery,\n useLazyRevisionGetQuestionsQuery,\n useRevisionGetSummaryQuery,\n useLazyRevisionGetSummaryQuery,\n useRevisionGetTtsUrlMutation,\n useRevisionGetActiveStudentsQuery,\n useLazyRevisionGetActiveStudentsQuery,\n useRevisionGetGeneralStatsQuery,\n useLazyRevisionGetGeneralStatsQuery,\n useRevisionGetAiAnalysisQuery,\n useLazyRevisionGetAiAnalysisQuery,\n useRevisionGetStudentPerformanceQuery,\n useLazyRevisionGetStudentPerformanceQuery,\n useRevisionGetRecordingLimitsQuery,\n useLazyRevisionGetRecordingLimitsQuery,\n useRevisionProcessRecordingMutation,\n} = injectedRtkApi\n","import { setUser } from '@features/auth/auth-actions'\nimport { api as modulesApi } from './auto-generated/modules'\nimport { api as authApi } from './auto-generated/auth'\nimport { api as revisionApi } from './auto-generated/revision'\nimport { current } from '@reduxjs/toolkit'\n\nmodulesApi.enhanceEndpoints({\n endpoints: {\n modulesSubmitModuleResult: {\n async onQueryStarted(args, { dispatch, queryFulfilled, getState }) {\n let patchResult\n switch (args.moduleResult.id) {\n case 'TeacherStudentQuestionnaire':\n patchResult = dispatch(\n authApi.util.updateQueryData('authWhoami', undefined, (draftUser) => {\n draftUser.status = args.moduleResult.data.status\n dispatch(setUser(current(draftUser)))\n }),\n )\n break\n case 'UserAddressModule':\n patchResult = dispatch(\n authApi.util.updateQueryData('authWhoami', undefined, (draftUser) => {\n draftUser.profile = args.moduleResult.data\n dispatch(setUser(current(draftUser)))\n }),\n )\n break\n case 'OnboardingTourModule':\n patchResult = dispatch(\n authApi.util.updateQueryData('authWhoami', {}, (draftUser) => {\n draftUser.completed_onboarding = true\n dispatch(setUser(current(draftUser)))\n }),\n )\n break\n case 'LanguageQuestionnaire':\n patchResult = dispatch(\n authApi.util.updateQueryData('authWhoami', undefined, (draftUser) => {\n draftUser.learning = args.moduleResult.data.learning\n draftUser.speaking = args.moduleResult.data.speaking\n dispatch(setUser(current(draftUser)))\n }),\n )\n break\n case 'TeacherBioModule':\n patchResult = dispatch(\n authApi.util.updateQueryData('authWhoami', undefined, (draftUser) => {\n draftUser.profile.bio = args.moduleResult.data?.bio\n draftUser.profile.experience = args.moduleResult.data?.experience\n draftUser.profile.tags = args.moduleResult.data?.tags\n draftUser.profile.teaching_style = args.moduleResult.data?.teaching_style\n dispatch(setUser(current(draftUser)))\n }),\n )\n break\n case 'VideoLinkQuestionnaire':\n patchResult = dispatch(\n authApi.util.updateQueryData('authWhoami', undefined, (draftUser) => {\n draftUser.profile.video_link = args.moduleResult.data?.video_link\n dispatch(setUser(current(draftUser)))\n }),\n )\n break\n case 'PreferredAccentModule':\n patchResult = dispatch(\n modulesApi.util.updateQueryData(\n 'modulesGetUserModules',\n undefined,\n (draftModules) => {\n draftModules.submitted.push('PreferredAccentModule')\n },\n ),\n )\n break\n case 'RecordingModule':\n patchResult = dispatch(\n revisionApi.util.updateQueryData(\n 'revisionListRecordings',\n undefined,\n (draftRecordings) => {\n draftRecordings.unshift({\n audio_url: args.moduleResult.data.recording,\n id: moduleResults.id,\n })\n },\n ),\n )\n default:\n break\n }\n try {\n await queryFulfilled\n } catch {\n if (patchResult) {\n patchResult.undo()\n }\n }\n },\n },\n },\n})\n\nexport { modulesApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n musicboxGetMusic: build.query({\n query: () => ({ url: `/api/v1/extensions/musicbox/music` }),\n }),\n musicboxPlayMusic: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/extensions/musicbox/play`,\n method: 'POST',\n body: queryArg.playMusicRequest,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type MusicboxGetMusicApiResponse = /** status 200 Successful Response */ MusicBoxDbModel[]\nexport type MusicboxGetMusicApiArg = void\nexport type MusicboxPlayMusicApiResponse = /** status 200 Successful Response */ any\nexport type MusicboxPlayMusicApiArg = {\n playMusicRequest: PlayMusicRequest\n}\nexport type MusicBoxDbModel = {\n id: number\n name?: string | null\n description?: string | null\n thumbnail?: string | null\n link: string\n link_type: string\n is_public?: boolean\n creator_id?: number | null\n created_at: string\n updated_at: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type PlayMusicRequest = {\n song_id: number\n}\nexport const {\n useMusicboxGetMusicQuery,\n useLazyMusicboxGetMusicQuery,\n useMusicboxPlayMusicMutation,\n} = injectedRtkApi\n","import { api as musicboxApi } from './auto-generated/musicbox'\n\nmusicboxApi.enhanceEndpoints({\n endpoints: {},\n})\n\nexport { musicboxApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n neopaymentSubscribe: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/extensions/neopayment/subscribe`,\n method: 'POST',\n body: queryArg.subscriptionRequest,\n }),\n }),\n neopaymentUpgradePlan: build.mutation<\n NeopaymentUpgradePlanApiResponse,\n NeopaymentUpgradePlanApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/neopayment/upgrade`,\n method: 'POST',\n body: queryArg.upgradeRequest,\n }),\n }),\n neopaymentRetrieveSubscription: build.query<\n NeopaymentRetrieveSubscriptionApiResponse,\n NeopaymentRetrieveSubscriptionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/neopayment/subscription/${queryArg.subscriptionId}`,\n }),\n }),\n neopaymentStripeWebhook: build.mutation<\n NeopaymentStripeWebhookApiResponse,\n NeopaymentStripeWebhookApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/neopayment/webhook`, method: 'POST' }),\n }),\n neopaymentListUserSubscriptions: build.query<\n NeopaymentListUserSubscriptionsApiResponse,\n NeopaymentListUserSubscriptionsApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/neopayment/user/subscriptions` }),\n }),\n neopaymentGetBillingPortal: build.query<\n NeopaymentGetBillingPortalApiResponse,\n NeopaymentGetBillingPortalApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/neopayment/billing-portal` }),\n }),\n neopaymentGetAttendanceLimits: build.query<\n NeopaymentGetAttendanceLimitsApiResponse,\n NeopaymentGetAttendanceLimitsApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/neopayment/attendance-limits` }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type NeopaymentSubscribeApiResponse = /** status 200 Successful Response */ any\nexport type NeopaymentSubscribeApiArg = {\n subscriptionRequest: SubscriptionRequest\n}\nexport type NeopaymentUpgradePlanApiResponse = /** status 200 Successful Response */ UpgradeResponse\nexport type NeopaymentUpgradePlanApiArg = {\n upgradeRequest: UpgradeRequest\n}\nexport type NeopaymentRetrieveSubscriptionApiResponse =\n /** status 200 Successful Response */ SubscriptionResponse\nexport type NeopaymentRetrieveSubscriptionApiArg = {\n subscriptionId: string\n}\nexport type NeopaymentStripeWebhookApiResponse = /** status 200 Successful Response */ any\nexport type NeopaymentStripeWebhookApiArg = void\nexport type NeopaymentListUserSubscriptionsApiResponse =\n /** status 200 Successful Response */ UserSubscriptionsResponse\nexport type NeopaymentListUserSubscriptionsApiArg = void\nexport type NeopaymentGetBillingPortalApiResponse =\n /** status 200 Successful Response */ BillingPortalResponse\nexport type NeopaymentGetBillingPortalApiArg = void\nexport type NeopaymentGetAttendanceLimitsApiResponse =\n /** status 200 Successful Response */ AttendanceLimitsResponse\nexport type NeopaymentGetAttendanceLimitsApiArg = void\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type SubscriptionRequest = {\n /** Subscription plan */\n plan: string\n /** Subscription period */\n period?: string\n}\nexport type UpgradeResponse = {\n status: string\n checkout_url?: string | null\n}\nexport type UpgradeRequest = {\n /** New subscription plan */\n new_plan: string\n}\nexport type SubscriptionResponse = {\n id: string\n status: string\n plan: string\n start_date?: string | null\n end_date?: string | null\n cancel_at_period_end?: boolean\n}\nexport type UserSubscriptionsResponse = {\n subscriptions: SubscriptionResponse[]\n}\nexport type BillingPortalResponse = {\n portal_url: string\n}\nexport type AttendanceLimitsResponse = {\n weekly_limit: number\n current_count: number\n remaining_count: number\n}\nexport const {\n useNeopaymentSubscribeMutation,\n useNeopaymentUpgradePlanMutation,\n useNeopaymentRetrieveSubscriptionQuery,\n useLazyNeopaymentRetrieveSubscriptionQuery,\n useNeopaymentStripeWebhookMutation,\n useNeopaymentListUserSubscriptionsQuery,\n useLazyNeopaymentListUserSubscriptionsQuery,\n useNeopaymentGetBillingPortalQuery,\n useLazyNeopaymentGetBillingPortalQuery,\n useNeopaymentGetAttendanceLimitsQuery,\n useLazyNeopaymentGetAttendanceLimitsQuery,\n} = injectedRtkApi\n","import { api as neopaymentApi } from './auto-generated/neopayment'\n\nneopaymentApi.enhanceEndpoints({\n endpoints: {},\n})\n\nexport { neopaymentApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n notesCreateStickyNote: build.mutation<\n NotesCreateStickyNoteApiResponse,\n NotesCreateStickyNoteApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/sticky_notes/note`,\n method: 'POST',\n body: queryArg.stickyNoteCreateRequest,\n }),\n }),\n notesGetStickyNotes: build.query({\n query: (queryArg) => ({\n url: `/api/v1/extensions/sticky_notes/note`,\n params: {\n query: queryArg.query,\n event_id: queryArg.eventId,\n page: queryArg.page,\n limit: queryArg.limit,\n },\n }),\n }),\n notesGetStickyNoteById: build.query<\n NotesGetStickyNoteByIdApiResponse,\n NotesGetStickyNoteByIdApiArg\n >({\n query: (queryArg) => ({ url: `/api/v1/extensions/sticky_notes/note/${queryArg.noteId}` }),\n }),\n notesDeleteStickyNote: build.mutation<\n NotesDeleteStickyNoteApiResponse,\n NotesDeleteStickyNoteApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/sticky_notes/note/${queryArg.noteId}`,\n method: 'DELETE',\n }),\n }),\n notesUpdateStickyNote: build.mutation<\n NotesUpdateStickyNoteApiResponse,\n NotesUpdateStickyNoteApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/sticky_notes/note/${queryArg.noteId}`,\n method: 'PUT',\n body: queryArg.stickyNoteUpdateRequest,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type NotesCreateStickyNoteApiResponse =\n /** status 201 Successful Response */ StickyNoteCreateResponse\nexport type NotesCreateStickyNoteApiArg = {\n stickyNoteCreateRequest: StickyNoteCreateRequest\n}\nexport type NotesGetStickyNotesApiResponse =\n /** status 200 Successful Response */ StickyNoteGetNotesResponse[]\nexport type NotesGetStickyNotesApiArg = {\n query?: string | null\n eventId?: string | null\n page?: number\n limit?: number\n}\nexport type NotesGetStickyNoteByIdApiResponse =\n /** status 200 Successful Response */ StickyNoteGetNotesResponse\nexport type NotesGetStickyNoteByIdApiArg = {\n noteId: number\n}\nexport type NotesDeleteStickyNoteApiResponse = /** status 204 Successful Response */ void\nexport type NotesDeleteStickyNoteApiArg = {\n noteId: number\n}\nexport type NotesUpdateStickyNoteApiResponse = /** status 201 Successful Response */ any\nexport type NotesUpdateStickyNoteApiArg = {\n noteId: number\n stickyNoteUpdateRequest: StickyNoteUpdateRequest\n}\nexport type StickyNoteCreateResponse = {\n id: number\n note: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type StickyNoteCreateRequest = {\n note: string\n color?: string\n event_id?: string | null\n}\nexport type StickyNoteGetNotesResponse = {\n id: number\n note: string\n color: string\n}\nexport type StickyNoteUpdateRequest = {\n note?: string | null\n color?: string | null\n}\nexport const {\n useNotesCreateStickyNoteMutation,\n useNotesGetStickyNotesQuery,\n useLazyNotesGetStickyNotesQuery,\n useNotesGetStickyNoteByIdQuery,\n useLazyNotesGetStickyNoteByIdQuery,\n useNotesDeleteStickyNoteMutation,\n useNotesUpdateStickyNoteMutation,\n} = injectedRtkApi\n","import { api as notesApi } from './auto-generated/notes'\n\nnotesApi.enhanceEndpoints({\n endpoints: {\n notesCreateStickyNote: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n let patchResult\n try {\n const { data: newNote } = await queryFulfilled\n patchResult = dispatch(\n notesApi.util.updateQueryData('notesGetStickyNotes', {}, (draftNotes) => {\n draftNotes.unshift({\n id: newNote?.id,\n ...args.stickyNoteCreateRequest,\n })\n }),\n )\n } catch {\n patchResult?.undo()\n }\n },\n },\n notesUpdateStickyNote: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n let patchResult\n try {\n const { data: updatedNote } = await queryFulfilled\n patchResult = dispatch(\n notesApi.util.updateQueryData('notesGetStickyNotes', {}, (draftNotes) => {\n return draftNotes.map((item) => {\n if (item?.id === args?.noteId) {\n return updatedNote\n } else {\n return item\n }\n })\n }),\n )\n } catch {\n patchResult?.undo()\n }\n },\n },\n notesDeleteStickyNote: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n let patchResult\n try {\n await queryFulfilled\n patchResult = dispatch(\n notesApi.util.updateQueryData('notesGetStickyNotes', {}, (draftNotes) => {\n return draftNotes?.filter((item) => item?.id !== args?.noteId)\n }),\n )\n } catch {\n patchResult?.undo()\n }\n },\n },\n },\n})\n\nexport { notesApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n notificationGetUnreadNotificationsNumber: build.query<\n NotificationGetUnreadNotificationsNumberApiResponse,\n NotificationGetUnreadNotificationsNumberApiArg\n >({\n query: () => ({ url: `/api/v1/sdk/notification/notifications/unread/number` }),\n }),\n notificationGetNotifications: build.query<\n NotificationGetNotificationsApiResponse,\n NotificationGetNotificationsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/notification/notifications`,\n params: {\n limit: queryArg.limit,\n offset: queryArg.offset,\n order_by: queryArg.orderBy,\n order_type: queryArg.orderType,\n },\n }),\n }),\n notificationGetNotification: build.query<\n NotificationGetNotificationApiResponse,\n NotificationGetNotificationApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/sdk/notification/notifications/${queryArg.notificationId}`,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type NotificationGetUnreadNotificationsNumberApiResponse =\n /** status 200 Successful Response */ GetUnreadNotificationsNumberResponse\nexport type NotificationGetUnreadNotificationsNumberApiArg = void\nexport type NotificationGetNotificationsApiResponse =\n /** status 200 Successful Response */ NotificationDbModel[]\nexport type NotificationGetNotificationsApiArg = {\n limit?: number | null\n offset?: number | null\n orderBy?: string | null\n orderType?: string | null\n}\nexport type NotificationGetNotificationApiResponse =\n /** status 200 Successful Response */ NotificationDbModel\nexport type NotificationGetNotificationApiArg = {\n notificationId: number\n}\nexport type GetUnreadNotificationsNumberResponse = {\n number: number\n}\nexport type NotificationDbModel = {\n id: number\n user_id?: number | null\n message_title?: string | null\n message_body_link?: string | null\n message_body_text?: string | null\n is_read_at?: string | null\n created_at?: string\n updated_at?: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport const {\n useNotificationGetUnreadNotificationsNumberQuery,\n useLazyNotificationGetUnreadNotificationsNumberQuery,\n useNotificationGetNotificationsQuery,\n useLazyNotificationGetNotificationsQuery,\n useNotificationGetNotificationQuery,\n useLazyNotificationGetNotificationQuery,\n} = injectedRtkApi\n","import { api as notificationApi } from './auto-generated/notification'\n\nnotificationApi.enhanceEndpoints({\n endpoints: {},\n})\n\nexport { notificationApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n paymentGetSubscriptionPrices: build.query<\n PaymentGetSubscriptionPricesApiResponse,\n PaymentGetSubscriptionPricesApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/payment/get_subscription_plans`,\n params: { currency: queryArg.currency },\n }),\n }),\n paymentCreateCheckout: build.mutation<\n PaymentCreateCheckoutApiResponse,\n PaymentCreateCheckoutApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/payment/create_checkout`,\n method: 'POST',\n body: queryArg.createPaymentCheckoutRequest,\n }),\n }),\n paymentListUserPayment: build.query<\n PaymentListUserPaymentApiResponse,\n PaymentListUserPaymentApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/payment/list_user_payments`,\n params: {\n start_time: queryArg.startTime,\n end_time: queryArg.endTime,\n status: queryArg.status,\n },\n }),\n }),\n paymentGetUserSubscription: build.query<\n PaymentGetUserSubscriptionApiResponse,\n PaymentGetUserSubscriptionApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/payment/get_user_subscription` }),\n }),\n paymentCreatePortal: build.mutation({\n query: () => ({ url: `/api/v1/extensions/payment/create_portal`, method: 'POST' }),\n }),\n paymentStripeWebhooks: build.mutation<\n PaymentStripeWebhooksApiResponse,\n PaymentStripeWebhooksApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/payment/stripe_webhooks`, method: 'POST' }),\n }),\n paymentPaymeeWebhooks: build.mutation<\n PaymentPaymeeWebhooksApiResponse,\n PaymentPaymeeWebhooksApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/payment/paymee_webhooks`, method: 'POST' }),\n }),\n paymentGetCredits: build.query({\n query: () => ({ url: `/api/v1/extensions/payment/credits` }),\n }),\n paymentReportUsage: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/extensions/payment/report_usage`,\n method: 'POST',\n body: queryArg.reportUsageRequestObject,\n }),\n }),\n paymentAddStudentSeats: build.mutation<\n PaymentAddStudentSeatsApiResponse,\n PaymentAddStudentSeatsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/payment/add_student_seats`,\n method: 'POST',\n body: queryArg.addStudentSeatsRequest,\n }),\n }),\n paymentGetStripeAccount: build.query<\n PaymentGetStripeAccountApiResponse,\n PaymentGetStripeAccountApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/payment/stripe_account` }),\n }),\n paymentCreateStripeAccount: build.mutation<\n PaymentCreateStripeAccountApiResponse,\n PaymentCreateStripeAccountApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/payment/create_stripe_account`, method: 'POST' }),\n }),\n paymentGenerateStripeOnboardingForm: build.mutation<\n PaymentGenerateStripeOnboardingFormApiResponse,\n PaymentGenerateStripeOnboardingFormApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/payment/generate_onboarding_link`,\n method: 'POST',\n body: queryArg.generateOnboardingLinkRequest,\n }),\n }),\n paymentGenerateStripeLoginLink: build.mutation<\n PaymentGenerateStripeLoginLinkApiResponse,\n PaymentGenerateStripeLoginLinkApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/payment/generate_stripe_login_link`,\n method: 'POST',\n body: queryArg.generateOnboardingLinkRequest,\n }),\n }),\n paymentCreateTeacherCheckout: build.mutation<\n PaymentCreateTeacherCheckoutApiResponse,\n PaymentCreateTeacherCheckoutApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/payment/create_teacher_checkout`,\n method: 'POST',\n body: queryArg.createTeacherCheckoutRequest,\n }),\n }),\n paymentGetTeacherSubscriptionPlans: build.query<\n PaymentGetTeacherSubscriptionPlansApiResponse,\n PaymentGetTeacherSubscriptionPlansApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/payment/teacher_subscription_plans`,\n params: { url: queryArg.url },\n }),\n }),\n paymentConnectStripeWebhooks: build.mutation<\n PaymentConnectStripeWebhooksApiResponse,\n PaymentConnectStripeWebhooksApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/payment/connect_stripe_webhooks`, method: 'POST' }),\n }),\n paymentCreateTeacherAiCheckout: build.mutation<\n PaymentCreateTeacherAiCheckoutApiResponse,\n PaymentCreateTeacherAiCheckoutApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/payment/create_teacher_ai_checkout`,\n method: 'POST',\n body: queryArg.createTeacherAiCheckoutRequest,\n }),\n }),\n paymentGetStripeAccountByUserId: build.query<\n PaymentGetStripeAccountByUserIdApiResponse,\n PaymentGetStripeAccountByUserIdApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/payment/get_stripe_account/${queryArg.userId}`,\n }),\n }),\n paymentCancelUserSubscription: build.mutation<\n PaymentCancelUserSubscriptionApiResponse,\n PaymentCancelUserSubscriptionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/payment/cancel_user_subscription`,\n method: 'POST',\n body: queryArg.cancelUserSubscriptionRequest,\n }),\n }),\n neopaymentSubscribe: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/extensions/neopayment/subscribe`,\n method: 'POST',\n body: queryArg.subscriptionRequest,\n }),\n }),\n neopaymentUpgradePlan: build.mutation<\n NeopaymentUpgradePlanApiResponse,\n NeopaymentUpgradePlanApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/neopayment/upgrade`,\n method: 'POST',\n body: queryArg.upgradeRequest,\n }),\n }),\n neopaymentRetrieveSubscription: build.query<\n NeopaymentRetrieveSubscriptionApiResponse,\n NeopaymentRetrieveSubscriptionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/neopayment/subscription/${queryArg.subscriptionId}`,\n }),\n }),\n neopaymentStripeWebhook: build.mutation<\n NeopaymentStripeWebhookApiResponse,\n NeopaymentStripeWebhookApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/neopayment/webhook`, method: 'POST' }),\n }),\n neopaymentListUserSubscriptions: build.query<\n NeopaymentListUserSubscriptionsApiResponse,\n NeopaymentListUserSubscriptionsApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/neopayment/user/subscriptions` }),\n }),\n neopaymentGetBillingPortal: build.query<\n NeopaymentGetBillingPortalApiResponse,\n NeopaymentGetBillingPortalApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/neopayment/billing-portal` }),\n }),\n neopaymentGetAttendanceLimits: build.query<\n NeopaymentGetAttendanceLimitsApiResponse,\n NeopaymentGetAttendanceLimitsApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/neopayment/attendance-limits` }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type PaymentGetSubscriptionPricesApiResponse =\n /** status 200 Successful Response */ SubscriptionPlanListResponse[]\nexport type PaymentGetSubscriptionPricesApiArg = {\n currency?: PaymentCurrencyEnum\n}\nexport type PaymentCreateCheckoutApiResponse =\n /** status 200 Successful Response */ CreatePaymentCheckoutResponse\nexport type PaymentCreateCheckoutApiArg = {\n createPaymentCheckoutRequest: CreatePaymentCheckoutRequest\n}\nexport type PaymentListUserPaymentApiResponse =\n /** status 200 Successful Response */ UserPaymentResponse[]\nexport type PaymentListUserPaymentApiArg = {\n startTime?: string | null\n endTime?: string | null\n status?: UserPaymentStatus | null\n}\nexport type PaymentGetUserSubscriptionApiResponse = /** status 200 Successful Response */ any\nexport type PaymentGetUserSubscriptionApiArg = void\nexport type PaymentCreatePortalApiResponse = /** status 200 Successful Response */ any\nexport type PaymentCreatePortalApiArg = void\nexport type PaymentStripeWebhooksApiResponse = /** status 200 Successful Response */ any\nexport type PaymentStripeWebhooksApiArg = void\nexport type PaymentPaymeeWebhooksApiResponse = /** status 200 Successful Response */ any\nexport type PaymentPaymeeWebhooksApiArg = void\nexport type PaymentGetCreditsApiResponse = /** status 200 Successful Response */ GetCreditsResponse\nexport type PaymentGetCreditsApiArg = void\nexport type PaymentReportUsageApiResponse = /** status 200 Successful Response */ any\nexport type PaymentReportUsageApiArg = {\n reportUsageRequestObject: ReportUsageRequestObject\n}\nexport type PaymentAddStudentSeatsApiResponse = /** status 200 Successful Response */ any\nexport type PaymentAddStudentSeatsApiArg = {\n addStudentSeatsRequest: AddStudentSeatsRequest\n}\nexport type PaymentGetStripeAccountApiResponse =\n /** status 200 Successful Response */ GetStripeAccountResponse\nexport type PaymentGetStripeAccountApiArg = void\nexport type PaymentCreateStripeAccountApiResponse = /** status 201 Successful Response */ any\nexport type PaymentCreateStripeAccountApiArg = void\nexport type PaymentGenerateStripeOnboardingFormApiResponse =\n /** status 200 Successful Response */ any\nexport type PaymentGenerateStripeOnboardingFormApiArg = {\n generateOnboardingLinkRequest: GenerateOnboardingLinkRequest\n}\nexport type PaymentGenerateStripeLoginLinkApiResponse = /** status 200 Successful Response */ any\nexport type PaymentGenerateStripeLoginLinkApiArg = {\n generateOnboardingLinkRequest: GenerateOnboardingLinkRequest\n}\nexport type PaymentCreateTeacherCheckoutApiResponse = /** status 200 Successful Response */ any\nexport type PaymentCreateTeacherCheckoutApiArg = {\n createTeacherCheckoutRequest: CreateTeacherCheckoutRequest\n}\nexport type PaymentGetTeacherSubscriptionPlansApiResponse =\n /** status 200 Successful Response */ any\nexport type PaymentGetTeacherSubscriptionPlansApiArg = {\n url: string\n}\nexport type PaymentConnectStripeWebhooksApiResponse = /** status 200 Successful Response */ any\nexport type PaymentConnectStripeWebhooksApiArg = void\nexport type PaymentCreateTeacherAiCheckoutApiResponse = /** status 200 Successful Response */ any\nexport type PaymentCreateTeacherAiCheckoutApiArg = {\n createTeacherAiCheckoutRequest: CreateTeacherAiCheckoutRequest\n}\nexport type PaymentGetStripeAccountByUserIdApiResponse =\n /** status 200 Successful Response */ GetStripeAccountResponse\nexport type PaymentGetStripeAccountByUserIdApiArg = {\n userId: number\n}\nexport type PaymentCancelUserSubscriptionApiResponse = /** status 200 Successful Response */ any\nexport type PaymentCancelUserSubscriptionApiArg = {\n cancelUserSubscriptionRequest: CancelUserSubscriptionRequest\n}\nexport type NeopaymentSubscribeApiResponse = /** status 200 Successful Response */ any\nexport type NeopaymentSubscribeApiArg = {\n subscriptionRequest: SubscriptionRequest\n}\nexport type NeopaymentUpgradePlanApiResponse = /** status 200 Successful Response */ UpgradeResponse\nexport type NeopaymentUpgradePlanApiArg = {\n upgradeRequest: UpgradeRequest\n}\nexport type NeopaymentRetrieveSubscriptionApiResponse =\n /** status 200 Successful Response */ SubscriptionResponse\nexport type NeopaymentRetrieveSubscriptionApiArg = {\n subscriptionId: string\n}\nexport type NeopaymentStripeWebhookApiResponse = /** status 200 Successful Response */ any\nexport type NeopaymentStripeWebhookApiArg = void\nexport type NeopaymentListUserSubscriptionsApiResponse =\n /** status 200 Successful Response */ UserSubscriptionsResponse\nexport type NeopaymentListUserSubscriptionsApiArg = void\nexport type NeopaymentGetBillingPortalApiResponse =\n /** status 200 Successful Response */ BillingPortalResponse\nexport type NeopaymentGetBillingPortalApiArg = void\nexport type NeopaymentGetAttendanceLimitsApiResponse =\n /** status 200 Successful Response */ AttendanceLimitsResponse\nexport type NeopaymentGetAttendanceLimitsApiArg = void\nexport type SubscriptionPlanListResponse = {\n id: number\n name: string\n price: string\n credits: number\n third_party_subscription_plan_id: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type PaymentCurrencyEnum = 'USD' | 'EUR' | 'TND'\nexport type CreatePaymentCheckoutResponse = {\n url: string\n}\nexport type PaymentMethodEnum = 'stripe' | 'paymee'\nexport type CreatePaymentCheckoutRequest = {\n subscription_plan_id: string\n payment_method: PaymentMethodEnum\n user_promotion_id?: number | null\n cancel_url?: string | null\n return_url?: string | null\n}\nexport type UserPaymentResponse = {\n id: number\n created_at: string\n price: number\n currency: string\n start_time: string\n end_time: string\n}\nexport type UserPaymentStatus = 'pending' | 'paid' | 'unpaid'\nexport type GetCreditsResponse = {\n credits: number\n}\nexport type ReportUsageRequestObject = {\n item_id: string\n quantity: number\n}\nexport type AddStudentSeatsRequest = {\n quantity: number\n}\nexport type GetStripeAccountResponse = {\n id?: number | null\n account_id?: string | null\n user_id?: number | null\n charges_enabled?: boolean | null\n}\nexport type GenerateOnboardingLinkRequest = {\n account_id: string\n}\nexport type CreateTeacherCheckoutRequest = {\n subscription_id: string\n cancel_url: string\n free_trial?: boolean | null\n}\nexport type CreateTeacherAiCheckoutRequest = {\n subscription_id: string\n cancel_url: string\n}\nexport type CancelUserSubscriptionRequest = {\n subscription_id: string\n}\nexport type SubscriptionRequest = {\n /** Subscription plan */\n plan: string\n /** Subscription period */\n period?: string\n}\nexport type UpgradeResponse = {\n status: string\n checkout_url?: string | null\n}\nexport type UpgradeRequest = {\n /** New subscription plan */\n new_plan: string\n}\nexport type SubscriptionResponse = {\n id: string\n status: string\n plan: string\n start_date?: string | null\n end_date?: string | null\n cancel_at_period_end?: boolean\n}\nexport type UserSubscriptionsResponse = {\n subscriptions: SubscriptionResponse[]\n}\nexport type BillingPortalResponse = {\n portal_url: string\n}\nexport type AttendanceLimitsResponse = {\n weekly_limit: number\n current_count: number\n remaining_count: number\n}\nexport const {\n usePaymentGetSubscriptionPricesQuery,\n useLazyPaymentGetSubscriptionPricesQuery,\n usePaymentCreateCheckoutMutation,\n usePaymentListUserPaymentQuery,\n useLazyPaymentListUserPaymentQuery,\n usePaymentGetUserSubscriptionQuery,\n useLazyPaymentGetUserSubscriptionQuery,\n usePaymentCreatePortalMutation,\n usePaymentStripeWebhooksMutation,\n usePaymentPaymeeWebhooksMutation,\n usePaymentGetCreditsQuery,\n useLazyPaymentGetCreditsQuery,\n usePaymentReportUsageMutation,\n usePaymentAddStudentSeatsMutation,\n usePaymentGetStripeAccountQuery,\n useLazyPaymentGetStripeAccountQuery,\n usePaymentCreateStripeAccountMutation,\n usePaymentGenerateStripeOnboardingFormMutation,\n usePaymentGenerateStripeLoginLinkMutation,\n usePaymentCreateTeacherCheckoutMutation,\n usePaymentGetTeacherSubscriptionPlansQuery,\n useLazyPaymentGetTeacherSubscriptionPlansQuery,\n usePaymentConnectStripeWebhooksMutation,\n usePaymentCreateTeacherAiCheckoutMutation,\n usePaymentGetStripeAccountByUserIdQuery,\n useLazyPaymentGetStripeAccountByUserIdQuery,\n usePaymentCancelUserSubscriptionMutation,\n useNeopaymentSubscribeMutation,\n useNeopaymentUpgradePlanMutation,\n useNeopaymentRetrieveSubscriptionQuery,\n useLazyNeopaymentRetrieveSubscriptionQuery,\n useNeopaymentStripeWebhookMutation,\n useNeopaymentListUserSubscriptionsQuery,\n useLazyNeopaymentListUserSubscriptionsQuery,\n useNeopaymentGetBillingPortalQuery,\n useLazyNeopaymentGetBillingPortalQuery,\n useNeopaymentGetAttendanceLimitsQuery,\n useLazyNeopaymentGetAttendanceLimitsQuery,\n} = injectedRtkApi\n","import { api as paymentApi } from './auto-generated/payment'\n\npaymentApi.enhanceEndpoints({\n endpoints: {\n paymentCreateStripeAccount: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n try {\n const response = await queryFulfilled\n dispatch(\n paymentApi.util.updateQueryData('paymentGetStripeAccount', args, (draftAccount) => {\n draftAccount = response.data\n }),\n )\n } catch {}\n },\n },\n paymentCancelUserSubscription: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n let patchResult\n try {\n const { data } = await queryFulfilled\n patchResult = dispatch(\n paymentApi.util.updateQueryData('paymentGetUserSubscription', args, (draft) => {\n Object.assign(draft, null)\n }),\n )\n } catch {\n patchResult?.undo()\n }\n },\n },\n },\n})\n\nexport { paymentApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n pictionaryGetPictionaryGamesConfig: build.query<\n PictionaryGetPictionaryGamesConfigApiResponse,\n PictionaryGetPictionaryGamesConfigApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/pictionary/config` }),\n }),\n pictionaryJoinGame: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/extensions/pictionary/game/${queryArg.eventId}/start`,\n method: 'POST',\n params: { exit_: queryArg.exit },\n }),\n }),\n pictionaryGetGame: build.query({\n query: (queryArg) => ({ url: `/api/v1/extensions/pictionary/game/${queryArg.eventId}` }),\n }),\n pictionaryMakeGuess: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/extensions/pictionary/game/${queryArg.eventId}/guess`,\n method: 'POST',\n body: queryArg.pictionaryGuess,\n }),\n }),\n pictionaryAddGameRoundGuess: build.mutation<\n PictionaryAddGameRoundGuessApiResponse,\n PictionaryAddGameRoundGuessApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/pictionary/game/${queryArg.eventId}/add_current_round_guess`,\n method: 'POST',\n body: queryArg.pictionaryGuess,\n }),\n }),\n pictionaryExitGame: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/extensions/pictionary/game/${queryArg.eventId}/exit`,\n method: 'POST',\n }),\n }),\n pictionaryNextRound: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/extensions/pictionary/game/${queryArg.eventId}/next`,\n method: 'POST',\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type PictionaryGetPictionaryGamesConfigApiResponse =\n /** status 200 Successful Response */ PictionaryGameConfig\nexport type PictionaryGetPictionaryGamesConfigApiArg = void\nexport type PictionaryJoinGameApiResponse = /** status 200 Successful Response */ any\nexport type PictionaryJoinGameApiArg = {\n eventId: string\n exit?: boolean\n}\nexport type PictionaryGetGameApiResponse = /** status 200 Successful Response */ PictionaryGame\nexport type PictionaryGetGameApiArg = {\n eventId: string\n}\nexport type PictionaryMakeGuessApiResponse = /** status 200 Successful Response */ any\nexport type PictionaryMakeGuessApiArg = {\n eventId: string\n pictionaryGuess: PictionaryGuess\n}\nexport type PictionaryAddGameRoundGuessApiResponse =\n /** status 200 Successful Response */ AddCurrentRoundGuessResponse\nexport type PictionaryAddGameRoundGuessApiArg = {\n eventId: string\n pictionaryGuess: PictionaryGuess\n}\nexport type PictionaryExitGameApiResponse = /** status 200 Successful Response */ any\nexport type PictionaryExitGameApiArg = {\n eventId: string\n}\nexport type PictionaryNextRoundApiResponse = /** status 200 Successful Response */ any\nexport type PictionaryNextRoundApiArg = {\n eventId: string\n}\nexport type PictionaryGameConfig = {\n time_to_guess: number\n number_of_words: number\n number_of_rounds: number\n number_of_guesses: number\n min_number_of_users: number\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type GameStatus = 'PENDING' | 'STARTED' | 'FINISHED' | 'CANCELED'\nexport type Pronouns = 0 | 1 | 2 | 3\nexport type TeacherProfileResponse = {\n bio?: string | null\n experience?: string | null\n tags?: string[] | null\n video_link?: string | null\n teaching_style?: string | null\n price_per_hour?: number | null\n partner?: boolean | null\n is_reviewer?: boolean | null\n}\nexport type LanguageExperience = 0 | 1 | 2 | 3 | 4\nexport type LanguageProficiency = {\n language: string\n proficiency: LanguageExperience\n}\nexport type AddressInfoInDb = {\n country?: string | null\n city?: string | null\n state?: string | null\n address?: string | null\n zip_code?: string | null\n}\nexport type UserStatus = 'STUDENT' | 'TEACHER'\nexport type Permission =\n | 'CREATE_EVENT'\n | 'CREATE_PENGGUIN_EVENT'\n | 'SEND_DIRECT_MESSAGE'\n | 'CREATE_CUSTOM_ROLE'\n | 'SEND_EMAIL_TO_USERS'\n | 'CREATE_GEOGUESSER_GAME'\n | 'JOIN_GEOGUESSER_GAME'\n | 'MAKE_GUESS_GEOGUESSER_GAME'\n | 'MAKE_RATING'\n | 'UPLOAD_FILE'\n | 'DELETE_ACCOUNT'\n | 'MAKE_ROLE'\n | 'ASSIGN_ROLE'\n | 'VIEW_ROLES'\n | 'EDIT_ROLE'\n | 'GENERATE_AGORA_TOKEN'\n | 'REFRESH_AGORA_TOKEN'\n | 'CREATE_AMBASSADOR'\n | 'DELETE_AMBASSADOR'\n | 'UPDATE_AMBASSADOR'\n | 'TRANSLATE'\n | 'CREATE_DISCORD_ROLE'\n | 'VIEW_DISCORD_ROLE'\n | 'CREATE_GEOGUESSER_PLACES'\n | 'HYPERBEAM_LIST_SESSIONS'\n | 'HYPERBEAM_DELETE_SESSIONS'\n | 'ADMIN_VIEW_USERS'\n | 'ADMIN_LANGUAGES'\n | 'ADMIN_AGORA_TOKENS_AUDIT'\n | 'ADMIN_ROLE'\n | 'ADMIN_DIRECT_MESSAGE'\n | 'ADMIN_AMBASSADORS'\n | 'ADMIN_DISCORD_ROLES'\n | 'ADMIN_DISCORD_AUDIT_EVENT'\n | 'ADMIN_DISCUSSION_LANGUAGE'\n | 'ADMIN_DISCUSSION_LANGUAGE_AUDIT_EVENTS'\n | 'ADMIN_USER_FLAGGING'\n | 'ADMIN_GEOGAME_ROUNDS'\n | 'ADMIN_GEOGAME_STATIC_COORDINATES'\n | 'ADMIN_GEOGAME_AUDIT_EVENTS'\n | 'ADMIN_EVENT_GAME_CHAT'\n | 'ADMIN_EVENT_CHAT'\n | 'ADMIN_EVENT_PARTICIPANTS'\n | 'ADMIN_PICTIONARY_AUDIT'\n | 'ADMIN_PICTIONARY_GAMES'\n | 'ADMIN_PICTIONARY_ROUNDS'\n | 'ADMIN_PICTIONARY_GUESS'\n | 'ADMIN_PICTIONARY_WORDS'\n | 'ADMIN_TRANSLATION_AUDIT'\n | 'ADMIN_REDIS_CONSOLE'\n | 'ADMIN_DEBUGGING_CONSOLE'\n | 'CREATE_TRANSCRIPT'\n | 'ADMIN_RECORDINGS'\n | 'HUDDLE_HOST'\nexport type RolesInDb = {\n id?: number | null\n name?: string | null\n permissions?: Permission[] | null\n}\nexport type PublicUserProfile = {\n id?: number | null\n username?: string | null\n email?: string | null\n bio?: string | null\n image?: string | null\n full_name?: string | null\n country?: string | null\n pronouns?: Pronouns | null\n date_of_birth?: string | null\n profile?: TeacherProfileResponse | null\n completed_onboarding?: boolean | null\n verified?: boolean | null\n accent?: string | null\n voice_gender?: string | null\n learning?: LanguageProficiency[] | null\n address?: AddressInfoInDb | null\n speaking?: LanguageProficiency[] | null\n status?: UserStatus\n display_name?: string | null\n is_company?: boolean | null\n cefr_level?: string | null\n roles?: RolesInDb[] | null\n plan?: string | null\n}\nexport type PictionaryGame = {\n created_time: string\n status: GameStatus\n end_time?: string | null\n started_time?: string | null\n drawer?: PublicUserProfile | null\n current_round?: number | null\n current_word?: string | null\n round_remaining_time?: number | null\n scores: {\n [key: string]: number\n }\n list_words?: string[] | null\n chosen_word_length?: number | null\n}\nexport type PictionaryGuess = {\n guess: string\n round_number: number\n}\nexport type AddCurrentRoundGuessResponse = {\n current_word: string\n}\nexport const {\n usePictionaryGetPictionaryGamesConfigQuery,\n useLazyPictionaryGetPictionaryGamesConfigQuery,\n usePictionaryJoinGameMutation,\n usePictionaryGetGameQuery,\n useLazyPictionaryGetGameQuery,\n usePictionaryMakeGuessMutation,\n usePictionaryAddGameRoundGuessMutation,\n usePictionaryExitGameMutation,\n usePictionaryNextRoundMutation,\n} = injectedRtkApi\n","import { api as pictionaryApi } from './auto-generated/pictionary'\nimport { api as eventApi } from './auto-generated/event'\n\npictionaryApi.enhanceEndpoints({\n endpoints: {\n pictionaryJoinGame: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n dispatch(\n eventApi.util.updateQueryData('eventGetEventById', args, (draftEvent) => {\n draftEvent.event_type = 'PICTIONARY'\n }),\n )\n dispatch(\n eventApi.util.updateQueryData('eventGetCurrentEvent', undefined, (draftEvent) => {\n draftEvent.event_type = 'PICTIONARY'\n }),\n )\n try {\n await queryFulfilled\n } catch {}\n },\n },\n },\n})\n\nexport { pictionaryApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n ratingRateUser: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/extensions/rating/rate`,\n method: 'POST',\n body: queryArg.ratingRequest,\n }),\n }),\n ratingDeleteRating: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/extensions/rating/rate/${queryArg.ratingId}`,\n method: 'DELETE',\n }),\n }),\n ratingChangeRatingForUser: build.mutation<\n RatingChangeRatingForUserApiResponse,\n RatingChangeRatingForUserApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/rating/rate/${queryArg.ratingId}`,\n method: 'PUT',\n body: queryArg.patchRatingRequest,\n }),\n }),\n ratingGetRatingId: build.query({\n query: (queryArg) => ({ url: `/api/v1/extensions/rating/rate/${queryArg.ratingId}` }),\n }),\n ratingGetRatingsForUser: build.query<\n RatingGetRatingsForUserApiResponse,\n RatingGetRatingsForUserApiArg\n >({\n query: (queryArg) => ({ url: `/api/v1/extensions/rating/rate/user/${queryArg.username}` }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type RatingRateUserApiResponse = /** status 201 Successful Response */ CreateRatingResponse\nexport type RatingRateUserApiArg = {\n ratingRequest: RatingRequest\n}\nexport type RatingDeleteRatingApiResponse = /** status 200 Successful Response */ any\nexport type RatingDeleteRatingApiArg = {\n ratingId: number\n}\nexport type RatingChangeRatingForUserApiResponse = /** status 200 Successful Response */ any\nexport type RatingChangeRatingForUserApiArg = {\n ratingId: number\n patchRatingRequest: PatchRatingRequest\n}\nexport type RatingGetRatingIdApiResponse = /** status 200 Successful Response */ UserRating\nexport type RatingGetRatingIdApiArg = {\n ratingId: number\n}\nexport type RatingGetRatingsForUserApiResponse = /** status 200 Successful Response */ UserRating[]\nexport type RatingGetRatingsForUserApiArg = {\n username: string\n}\nexport type CreateRatingResponse = {\n id: number\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type RatingRequest = {\n username: string\n rating: number\n comment?: string | null\n}\nexport type PatchRatingRequest = {\n comment: string\n rating: number\n}\nexport type Pronouns = 0 | 1 | 2 | 3\nexport type TeacherProfileResponse = {\n bio?: string | null\n experience?: string | null\n tags?: string[] | null\n video_link?: string | null\n teaching_style?: string | null\n price_per_hour?: number | null\n partner?: boolean | null\n is_reviewer?: boolean | null\n}\nexport type LanguageExperience = 0 | 1 | 2 | 3 | 4\nexport type LanguageProficiency = {\n language: string\n proficiency: LanguageExperience\n}\nexport type AddressInfoInDb = {\n country?: string | null\n city?: string | null\n state?: string | null\n address?: string | null\n zip_code?: string | null\n}\nexport type UserStatus = 'STUDENT' | 'TEACHER'\nexport type Permission =\n | 'CREATE_EVENT'\n | 'CREATE_PENGGUIN_EVENT'\n | 'SEND_DIRECT_MESSAGE'\n | 'CREATE_CUSTOM_ROLE'\n | 'SEND_EMAIL_TO_USERS'\n | 'CREATE_GEOGUESSER_GAME'\n | 'JOIN_GEOGUESSER_GAME'\n | 'MAKE_GUESS_GEOGUESSER_GAME'\n | 'MAKE_RATING'\n | 'UPLOAD_FILE'\n | 'DELETE_ACCOUNT'\n | 'MAKE_ROLE'\n | 'ASSIGN_ROLE'\n | 'VIEW_ROLES'\n | 'EDIT_ROLE'\n | 'GENERATE_AGORA_TOKEN'\n | 'REFRESH_AGORA_TOKEN'\n | 'CREATE_AMBASSADOR'\n | 'DELETE_AMBASSADOR'\n | 'UPDATE_AMBASSADOR'\n | 'TRANSLATE'\n | 'CREATE_DISCORD_ROLE'\n | 'VIEW_DISCORD_ROLE'\n | 'CREATE_GEOGUESSER_PLACES'\n | 'HYPERBEAM_LIST_SESSIONS'\n | 'HYPERBEAM_DELETE_SESSIONS'\n | 'ADMIN_VIEW_USERS'\n | 'ADMIN_LANGUAGES'\n | 'ADMIN_AGORA_TOKENS_AUDIT'\n | 'ADMIN_ROLE'\n | 'ADMIN_DIRECT_MESSAGE'\n | 'ADMIN_AMBASSADORS'\n | 'ADMIN_DISCORD_ROLES'\n | 'ADMIN_DISCORD_AUDIT_EVENT'\n | 'ADMIN_DISCUSSION_LANGUAGE'\n | 'ADMIN_DISCUSSION_LANGUAGE_AUDIT_EVENTS'\n | 'ADMIN_USER_FLAGGING'\n | 'ADMIN_GEOGAME_ROUNDS'\n | 'ADMIN_GEOGAME_STATIC_COORDINATES'\n | 'ADMIN_GEOGAME_AUDIT_EVENTS'\n | 'ADMIN_EVENT_GAME_CHAT'\n | 'ADMIN_EVENT_CHAT'\n | 'ADMIN_EVENT_PARTICIPANTS'\n | 'ADMIN_PICTIONARY_AUDIT'\n | 'ADMIN_PICTIONARY_GAMES'\n | 'ADMIN_PICTIONARY_ROUNDS'\n | 'ADMIN_PICTIONARY_GUESS'\n | 'ADMIN_PICTIONARY_WORDS'\n | 'ADMIN_TRANSLATION_AUDIT'\n | 'ADMIN_REDIS_CONSOLE'\n | 'ADMIN_DEBUGGING_CONSOLE'\n | 'CREATE_TRANSCRIPT'\n | 'ADMIN_RECORDINGS'\n | 'HUDDLE_HOST'\nexport type RolesInDb = {\n id?: number | null\n name?: string | null\n permissions?: Permission[] | null\n}\nexport type PublicUserProfile = {\n id?: number | null\n username?: string | null\n email?: string | null\n bio?: string | null\n image?: string | null\n full_name?: string | null\n country?: string | null\n pronouns?: Pronouns | null\n date_of_birth?: string | null\n profile?: TeacherProfileResponse | null\n completed_onboarding?: boolean | null\n verified?: boolean | null\n accent?: string | null\n voice_gender?: string | null\n learning?: LanguageProficiency[] | null\n address?: AddressInfoInDb | null\n speaking?: LanguageProficiency[] | null\n status?: UserStatus\n display_name?: string | null\n is_company?: boolean | null\n cefr_level?: string | null\n roles?: RolesInDb[] | null\n plan?: string | null\n}\nexport type UserRating = {\n rater: PublicUserProfile\n updated_time: string\n created_time: string\n rating: number\n comment?: string | null\n}\nexport const {\n useRatingRateUserMutation,\n useRatingDeleteRatingMutation,\n useRatingChangeRatingForUserMutation,\n useRatingGetRatingIdQuery,\n useLazyRatingGetRatingIdQuery,\n useRatingGetRatingsForUserQuery,\n useLazyRatingGetRatingsForUserQuery,\n} = injectedRtkApi\n","import { api as ratingApi } from './auto-generated/rating'\n\nratingApi.enhanceEndpoints({\n endpoints: {},\n})\n\nexport { ratingApi }\n","import { current } from '@reduxjs/toolkit'\nimport { api as revisionApi } from './auto-generated/revision'\n\nrevisionApi.enhanceEndpoints({\n endpoints: {\n revisionDeleteFeedback: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n let patchResult\n try {\n const { data } = await queryFulfilled\n patchResult = dispatch(\n revisionApi.util.updateQueryData(\n 'revisionGetRecording',\n { id: data.recording_id.toString() },\n (draft) => {\n const updatedChunks = draft.chunks.map((chunk) => {\n if (chunk.comments.some((comment) => comment.id === args.id)) {\n const updatedComments = chunk.comments.filter(\n (comment) => comment.id !== args.id,\n )\n return { ...chunk, comments: updatedComments }\n }\n return chunk\n })\n return { ...draft, chunks: updatedChunks }\n },\n ),\n )\n } catch {\n patchResult?.undo()\n }\n },\n },\n // revisionAddUserPreferenceOnFeedback: {\n // async onQueryStarted(args, { dispatch, queryFulfilled, getState }) {\n // let patchResult\n // try {\n // const { data } = await queryFulfilled\n // patchResult = dispatch(\n // revisionApi.util.updateQueryData(\n // 'revisionGetRecording',\n // { id: data.recording_id.toString() },\n // (draft) => {\n // const { user } = (getState() as RootState).auth\n // const updatedChunks = draft.chunks.map((chunk) => {\n // if (chunk.comments.some((comment) => comment.id === data?.feedback_id)) {\n // return {\n // ...chunk,\n // comments: chunk.comments.map((comment) => {\n // if (comment.id === args.id) {\n // console.log(\"preference : \", data.preference)\n // return data.preference\n // ? {\n // ...comment,\n // dislikes: { ...comment.dislikes, user_ids: [] },\n // likes: {\n // ...comment.likes,\n // user_ids: [...comment.likes.user_ids, user.id],\n // },\n // }\n // : {\n // ...comment,\n // dislikes: {\n // ...comment.dislikes,\n // user_ids: [...comment.dislikes.user_ids, user.id],\n // },\n // likes: { ...comment.likes, user_ids: [] },\n // }\n // }\n // return comment\n // }),\n // }\n // }\n // return chunk\n // })\n // draft.chunks = updatedChunks\n // return draft\n // },\n // ),\n // )\n // } catch {\n // patchResult?.undo()\n // }\n // },\n // },\n revisionCreateTeacherFeedback: {\n async onQueryStarted(args, { dispatch, queryFulfilled, getState }) {\n let patchResult\n try {\n const { data: newComment } = await queryFulfilled\n patchResult = dispatch(\n revisionApi.util.updateQueryData(\n 'revisionGetRecording',\n { id: args.createFeedbackRequest.recording_id },\n (draft) => {\n const { user } = (getState() as RootState).auth\n const startTime = args.createFeedbackRequest.start_time\n const endTime = args.createFeedbackRequest.end_time\n const chunkIsExist = draft.chunks.some(\n (chunk) => chunk.start_time === startTime && chunk.end_time === endTime,\n )\n let updatedChunks\n chunkIsExist\n ? (updatedChunks = draft.chunks.map((chunk) => {\n if (chunk.start_time === startTime && chunk.end_time === endTime) {\n return {\n ...chunk,\n comments: [\n ...chunk.comments,\n {\n id: newComment.id,\n is_ai: false,\n comment: args.createFeedbackRequest.comment,\n dislikes: { count: 0, user_ids: [] },\n created_at: newComment.created_at,\n likes: { count: 0, user_ids: [] },\n user: {\n avatar: user?.image,\n full_name: user?.full_name,\n id: user?.id,\n },\n },\n ],\n }\n }\n return chunk\n }))\n : (updatedChunks = [\n ...draft.chunks,\n {\n created_at: newComment.created_at,\n end_time: endTime,\n start_time: startTime,\n comments: [\n {\n id: newComment.id,\n is_ai: false,\n comment: args.createFeedbackRequest.comment,\n dislikes: { count: 0, user_ids: [] },\n created_at: newComment.created_at,\n likes: { count: 0, user_ids: [] },\n user: {\n avatar: user?.image,\n full_name: user?.full_name,\n id: user?.user_id,\n },\n },\n ],\n },\n ])\n draft.chunks = updatedChunks\n return draft\n },\n ),\n )\n } catch {\n patchResult?.undo()\n }\n },\n },\n revisionCreateAudioTeacherFeedback: {\n async onQueryStarted(args, { dispatch, queryFulfilled, getState }) {\n try {\n const { data: newFeedback } = await queryFulfilled\n patchResult = dispatch(\n revisionApi.util.updateQueryData(\n 'revisionGetRecording',\n {\n id: args.bodyCreateAudioTeacherFeedbackApiV1ExtensionsRevisionAudioFeedbackPost.get(\n 'recording_id',\n ),\n },\n (draft) => {\n const { user } = (getState() as RootState).auth\n const startTime = parseFloat(\n args.bodyCreateAudioTeacherFeedbackApiV1ExtensionsRevisionAudioFeedbackPost.get(\n 'start_time',\n ),\n )\n const endTime = parseFloat(\n args.bodyCreateAudioTeacherFeedbackApiV1ExtensionsRevisionAudioFeedbackPost.get(\n 'end_time',\n ),\n )\n const chunkIsExist = draft.chunks.some(\n (chunk) => chunk.start_time === startTime && chunk.end_time === endTime,\n )\n\n let updatedChunks\n chunkIsExist\n ? (updatedChunks = draft.chunks.map((chunk) => {\n if (chunk.start_time === startTime && chunk.end_time === endTime) {\n return {\n ...chunk,\n comments: [\n ...chunk.comments,\n {\n id: newFeedback.id,\n is_ai: false,\n audio_comment_url: newFeedback.audio_comment_url,\n dislikes: { count: 0, user_ids: [] },\n created_at: newFeedback.created_at,\n likes: { count: 0, user_ids: [] },\n user: {\n avatar: user?.image,\n full_name: user?.full_name,\n id: newFeedback.user_id,\n },\n },\n ],\n }\n }\n return chunk\n }))\n : (updatedChunks = [\n ...draft.chunks,\n {\n created_at: newFeedback.created_at,\n end_time: endTime,\n start_time: startTime,\n comments: [\n {\n id: newFeedback.id,\n is_ai: false,\n audio_comment_url: newFeedback.audio_comment_url,\n dislikes: { count: 0, user_ids: [] },\n created_at: newFeedback.created_at,\n likes: { count: 0, user_ids: [] },\n user: {\n avatar: user?.image,\n full_name: user?.full_name,\n id: newFeedback.user_id,\n },\n },\n ],\n },\n ])\n draft.chunks = updatedChunks\n return draft\n },\n ),\n )\n } catch {\n patchResult?.undo()\n }\n },\n },\n // revisionDeleteRecording: {\n // async onQueryStarted(args, { dispatch, queryFulfilled }) {\n // let patchResult\n // try {\n // await queryFulfilled\n // patchResult = dispatch(\n // revisionApi.util.updateQueryData(\n // 'revisionListRecordings',\n // { testMyself: false },\n // (draftRecordings) => {\n // return draftRecordings?.filter((item) => item?.id !== args?.id)\n // },\n // ),\n // )\n // } catch {\n // patchResult?.undo()\n // }\n // },\n // },\n },\n})\n\nexport { revisionApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n storageUploadToBucket: build.mutation<\n StorageUploadToBucketApiResponse,\n StorageUploadToBucketApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/storage/upload/${queryArg.bucketName}`,\n method: 'POST',\n body: queryArg.bodyUploadToBucketApiV1ExtensionsStorageUploadBucketNamePost,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type StorageUploadToBucketApiResponse =\n /** status 201 Successful Response */ UploadFileResponse\nexport type StorageUploadToBucketApiArg = {\n bucketName: string\n bodyUploadToBucketApiV1ExtensionsStorageUploadBucketNamePost: BodyUploadToBucketApiV1ExtensionsStorageUploadBucketNamePost\n}\nexport type UploadFileResponse = {\n url: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type BodyUploadToBucketApiV1ExtensionsStorageUploadBucketNamePost = {\n file: Blob\n}\nexport const { useStorageUploadToBucketMutation } = injectedRtkApi\n","import { api as storageApi } from './auto-generated/storage'\nimport { api as revisionApi } from './auto-generated/revision'\n\nstorageApi.enhanceEndpoints({\n endpoints: {},\n})\n\nexport { storageApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n teacherFilterTeachers: build.query<\n TeacherFilterTeachersApiResponse,\n TeacherFilterTeachersApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/teacher/teacher`,\n params: {\n query: queryArg.query,\n price_from: queryArg.priceFrom,\n price_to: queryArg.priceTo,\n languages: queryArg.languages,\n order_by: queryArg.orderBy,\n offset: queryArg.offset,\n date_from: queryArg.dateFrom,\n date_to: queryArg.dateTo,\n lesson_duration: queryArg.lessonDuration,\n teacher_from: queryArg.teacherFrom,\n is_local: queryArg.isLocal,\n is_pro: queryArg.isPro,\n is_partner: queryArg.isPartner,\n limit: queryArg.limit,\n is_reviewer: queryArg.isReviewer,\n },\n }),\n }),\n teacherCreateLesson: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/extensions/teacher/lessons`,\n method: 'POST',\n body: queryArg.teacherLessonCreateRequest,\n }),\n }),\n teacherListLesson: build.query({\n query: (queryArg) => ({\n url: `/api/v1/extensions/teacher/lessons`,\n params: { teacher_id: queryArg.teacherId, language_code: queryArg.languageCode },\n }),\n }),\n teacherUpdateLesson: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/extensions/teacher/lessons/${queryArg.lessonId}`,\n method: 'PUT',\n body: queryArg.teacherLessonUpdateRequest,\n }),\n }),\n teacherGetLesson: build.query({\n query: (queryArg) => ({ url: `/api/v1/extensions/teacher/lessons/${queryArg.lessonId}` }),\n }),\n teacherGetTeacherAvailabilities: build.query<\n TeacherGetTeacherAvailabilitiesApiResponse,\n TeacherGetTeacherAvailabilitiesApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/teacher/teacher/availability/${queryArg.userId}`,\n }),\n }),\n teacherGetCategories: build.query({\n query: () => ({ url: `/api/v1/extensions/teacher/categories` }),\n }),\n teacherCreateGroupLesson: build.mutation<\n TeacherCreateGroupLessonApiResponse,\n TeacherCreateGroupLessonApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/teacher/teacher/group_lesson`,\n method: 'POST',\n body: queryArg.createGroupLessonRequest,\n }),\n }),\n teacherGetGroupLessons: build.query<\n TeacherGetGroupLessonsApiResponse,\n TeacherGetGroupLessonsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/teacher/teacher/group_lesson`,\n params: {\n teacher_id: queryArg.teacherId,\n language_code: queryArg.languageCode,\n start_time: queryArg.startTime,\n end_time: queryArg.endTime,\n offset: queryArg.offset,\n limit: queryArg.limit,\n is_upcoming: queryArg.isUpcoming,\n max_reserved_seats: queryArg.maxReservedSeats,\n min_reserved_seats: queryArg.minReservedSeats,\n max_price: queryArg.maxPrice,\n min_price: queryArg.minPrice,\n },\n }),\n }),\n teacherUpdateGroupLesson: build.mutation<\n TeacherUpdateGroupLessonApiResponse,\n TeacherUpdateGroupLessonApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/teacher/teacher/group_lesson/${queryArg.id}`,\n method: 'PUT',\n body: queryArg.updateGroupLessonRequest,\n }),\n }),\n teacherGetGroupLesson: build.query<\n TeacherGetGroupLessonApiResponse,\n TeacherGetGroupLessonApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/teacher/teacher/group_lesson/${queryArg.id}`,\n }),\n }),\n teacherCreateGroupLessonBooking: build.mutation<\n TeacherCreateGroupLessonBookingApiResponse,\n TeacherCreateGroupLessonBookingApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/teacher/teacher/group_lesson_booking`,\n method: 'POST',\n body: queryArg.bookGroupLessonRequest,\n }),\n }),\n teacherListGroupLessonBookings: build.query<\n TeacherListGroupLessonBookingsApiResponse,\n TeacherListGroupLessonBookingsApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/teacher/teacher/group_lesson_bookings` }),\n }),\n teacherDeleteGroupLessonBooking: build.mutation<\n TeacherDeleteGroupLessonBookingApiResponse,\n TeacherDeleteGroupLessonBookingApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/teacher/teacher/group_lesson_bookings/${queryArg.bookId}`,\n method: 'DELETE',\n }),\n }),\n teacherUpdateTeacherHomepage: build.mutation<\n TeacherUpdateTeacherHomepageApiResponse,\n TeacherUpdateTeacherHomepageApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/teacher/teacher/homepage`,\n method: 'PUT',\n body: queryArg.teacherUpdateHomepageRequest,\n }),\n }),\n teacherCreateTeacherHomepage: build.mutation<\n TeacherCreateTeacherHomepageApiResponse,\n TeacherCreateTeacherHomepageApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/teacher/teacher/homepage`,\n method: 'POST',\n body: queryArg.createTeacherHomepageRequest,\n }),\n }),\n teacherGetTeacherHomepage: build.query<\n TeacherGetTeacherHomepageApiResponse,\n TeacherGetTeacherHomepageApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/teacher/teacher/get_homepage` }),\n }),\n teacherGetTeacherHomepageByUrl: build.query<\n TeacherGetTeacherHomepageByUrlApiResponse,\n TeacherGetTeacherHomepageByUrlApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/teacher/teacher/get_homepage_by_url/${queryArg.url}`,\n }),\n }),\n teacherCloseTeacherHomepage: build.mutation<\n TeacherCloseTeacherHomepageApiResponse,\n TeacherCloseTeacherHomepageApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/teacher/teacher/close_homepage`, method: 'POST' }),\n }),\n teacherCheckHomepageUrlAvailability: build.mutation<\n TeacherCheckHomepageUrlAvailabilityApiResponse,\n TeacherCheckHomepageUrlAvailabilityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/teacher/teacher/check_url_availability`,\n method: 'POST',\n body: queryArg.teacherHomepageUrlAvailabilityRequest,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type TeacherFilterTeachersApiResponse =\n /** status 200 Successful Response */ ListTeacherProfileWithLessonsResponse\nexport type TeacherFilterTeachersApiArg = {\n query?: string | null\n priceFrom?: number | null\n priceTo?: number | null\n languages?: string[]\n orderBy?: string | null\n offset?: number | null\n dateFrom?: string | null\n dateTo?: string | null\n lessonDuration?: number[]\n teacherFrom?: string | null\n isLocal?: boolean | null\n isPro?: boolean | null\n isPartner?: boolean | null\n limit?: number\n isReviewer?: boolean | null\n}\nexport type TeacherCreateLessonApiResponse =\n /** status 201 Successful Response */ TeacherLessonCreateResponse\nexport type TeacherCreateLessonApiArg = {\n teacherLessonCreateRequest: TeacherLessonCreateRequest\n}\nexport type TeacherListLessonApiResponse =\n /** status 200 Successful Response */ TeacherLessonGetResponse[]\nexport type TeacherListLessonApiArg = {\n teacherId: number\n languageCode?: string | null\n}\nexport type TeacherUpdateLessonApiResponse =\n /** status 200 Successful Response */ TeacherLessonUpdateResponse\nexport type TeacherUpdateLessonApiArg = {\n lessonId: number\n teacherLessonUpdateRequest: TeacherLessonUpdateRequest\n}\nexport type TeacherGetLessonApiResponse =\n /** status 200 Successful Response */ TeacherLessonGetResponse\nexport type TeacherGetLessonApiArg = {\n lessonId: number\n}\nexport type TeacherGetTeacherAvailabilitiesApiResponse =\n /** status 200 Successful Response */ GetTeacherAvailabilityResponse[]\nexport type TeacherGetTeacherAvailabilitiesApiArg = {\n userId: number\n}\nexport type TeacherGetCategoriesApiResponse = /** status 200 Successful Response */ any[]\nexport type TeacherGetCategoriesApiArg = void\nexport type TeacherCreateGroupLessonApiResponse =\n /** status 201 Successful Response */ CreateGroupLessonResponse\nexport type TeacherCreateGroupLessonApiArg = {\n createGroupLessonRequest: CreateGroupLessonRequest\n}\nexport type TeacherGetGroupLessonsApiResponse =\n /** status 200 Successful Response */ ListGroupLessonResponse\nexport type TeacherGetGroupLessonsApiArg = {\n teacherId?: number | null\n languageCode?: string | null\n startTime?: string | null\n endTime?: string | null\n offset?: number\n limit?: number\n isUpcoming?: boolean | null\n maxReservedSeats?: number | null\n minReservedSeats?: number | null\n maxPrice?: number | null\n minPrice?: number | null\n}\nexport type TeacherUpdateGroupLessonApiResponse = /** status 200 Successful Response */ any\nexport type TeacherUpdateGroupLessonApiArg = {\n id: number\n updateGroupLessonRequest: UpdateGroupLessonRequest\n}\nexport type TeacherGetGroupLessonApiResponse =\n /** status 200 Successful Response */ GroupLessonGetResponse\nexport type TeacherGetGroupLessonApiArg = {\n id: number\n}\nexport type TeacherCreateGroupLessonBookingApiResponse = /** status 200 Successful Response */ any\nexport type TeacherCreateGroupLessonBookingApiArg = {\n bookGroupLessonRequest: BookGroupLessonRequest\n}\nexport type TeacherListGroupLessonBookingsApiResponse =\n /** status 200 Successful Response */ GroupLessonsBookingsResponse[]\nexport type TeacherListGroupLessonBookingsApiArg = void\nexport type TeacherDeleteGroupLessonBookingApiResponse = /** status 200 Successful Response */ any\nexport type TeacherDeleteGroupLessonBookingApiArg = {\n bookId: number\n}\nexport type TeacherUpdateTeacherHomepageApiResponse = /** status 200 Successful Response */ any\nexport type TeacherUpdateTeacherHomepageApiArg = {\n teacherUpdateHomepageRequest: TeacherUpdateHomepageRequest\n}\nexport type TeacherCreateTeacherHomepageApiResponse = /** status 200 Successful Response */ any\nexport type TeacherCreateTeacherHomepageApiArg = {\n createTeacherHomepageRequest: CreateTeacherHomepageRequest\n}\nexport type TeacherGetTeacherHomepageApiResponse =\n /** status 200 Successful Response */ TeacherHomepageGetResponse\nexport type TeacherGetTeacherHomepageApiArg = void\nexport type TeacherGetTeacherHomepageByUrlApiResponse =\n /** status 200 Successful Response */ TeacherHomepageGetResponse\nexport type TeacherGetTeacherHomepageByUrlApiArg = {\n url: string\n}\nexport type TeacherCloseTeacherHomepageApiResponse = /** status 200 Successful Response */ any\nexport type TeacherCloseTeacherHomepageApiArg = void\nexport type TeacherCheckHomepageUrlAvailabilityApiResponse =\n /** status 200 Successful Response */ TeacherHomepageUrlAvailabilityResponse\nexport type TeacherCheckHomepageUrlAvailabilityApiArg = {\n teacherHomepageUrlAvailabilityRequest: TeacherHomepageUrlAvailabilityRequest\n}\nexport type UserStatus = 'STUDENT' | 'TEACHER'\nexport type UserAddressResponse = {\n country?: string | null\n city?: string | null\n state?: string | null\n zip_code?: string | null\n}\nexport type LanguageExperience = 0 | 1 | 2 | 3 | 4\nexport type LanguageProficiency = {\n language: string\n proficiency: LanguageExperience\n}\nexport type TeacherProfileRatingResponse = {\n rating_average: number\n reviews_count: number\n}\nexport type TeacherProfileResponse = {\n bio?: string | null\n experience?: string | null\n tags?: string[] | null\n video_link?: string | null\n teaching_style?: string | null\n price_per_hour?: number | null\n partner?: boolean | null\n is_reviewer?: boolean | null\n}\nexport type TeacherProfileWithLessonsResponse = {\n id?: number | null\n username: string\n email?: string | null\n bio?: string | null\n image?: string | null\n full_name?: string | null\n date_of_birth?: string | null\n status?: UserStatus\n address?: UserAddressResponse | null\n is_pro?: boolean\n learning?: LanguageProficiency[] | null\n speaking?: LanguageProficiency[] | null\n rating_summary: TeacherProfileRatingResponse\n profile?: TeacherProfileResponse | null\n}\nexport type ListTeacherProfileWithLessonsResponse = {\n data: TeacherProfileWithLessonsResponse[]\n count: number\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type TeacherLessonCreateResponseNested = {\n id: number\n duration: number\n number_of_lessons: number\n price_per_lesson: number\n total: number\n}\nexport type TeacherLessonCreateResponse = {\n id: number\n title: string\n description: string\n language_level_from: string\n language_level_to: string\n student_tag: string\n category: string\n language_id: number\n packages: TeacherLessonCreateResponseNested[]\n}\nexport type LessonPackageCreateRequestNested = {\n duration: number\n number_of_lessons: number\n price_per_lesson: number\n total: number\n}\nexport type TeacherLessonCreateRequest = {\n title: string\n description: string\n language_level_from: string\n language_level_to: string\n student_tag: string\n category: string\n language_code: string\n packages: LessonPackageCreateRequestNested[]\n}\nexport type TeacherLessonGetResponse = {\n id: number\n title: string\n description: string\n language_level_from: string\n language_level_to: string\n student_tag: string\n category: string\n language_id: number\n packages: TeacherLessonCreateResponseNested[]\n}\nexport type TeacherLessonUpdateResponse = {\n id: number\n title: string\n description: string\n language_level_from: string\n language_level_to: string\n student_tag: string\n category: string\n language_id: number\n}\nexport type TeacherLessonUpdateRequest = {\n title?: string | null\n description?: string | null\n language_level_from?: string | null\n language_level_to?: string | null\n student_tag?: string | null\n category?: string | null\n language_code?: string | null\n}\nexport type GetTeacherAvailabilityResponse = {\n user_id: number\n start_time: string\n end_time: string\n}\nexport type GroupLessonDateResponse = {\n id: number\n start_time: string\n end_time?: string | null\n event_id: number\n event_uuid: string\n is_live: boolean\n}\nexport type CreateGroupLessonResponse = {\n id: number\n title: string\n description: string\n tags: string[]\n language_code: string\n class_type: string\n price_with_cash: number\n max_students: number\n reserved_seats?: number\n video_link?: string | null\n thumbnail_link?: string | null\n is_private?: boolean | null\n show_profile_picture?: boolean | null\n dates: GroupLessonDateResponse[]\n}\nexport type GroupLessonEnum = 'SINGLE_LESSON' | 'ONE_TO_ONE'\nexport type LanguageLevelEnum = 'ANY_LEVEL' | 'BEGINNER' | 'INTERMEDIATE' | 'ADVANCED'\nexport type CreateGroupLessonRequest = {\n title: string\n description: string\n class_type: GroupLessonEnum\n tags: string[]\n language_code: string\n price_with_cash: number\n max_students: number\n reserved_seats: number\n video_link?: string | null\n thumbnail_link?: string | null\n start_time: string\n weeks?: number\n repeat_days?: number[]\n is_private?: boolean | null\n show_profile_picture?: boolean | null\n lesson_rules?: string | null\n language_level?: LanguageLevelEnum[]\n}\nexport type GroupLessonGetResponse = {\n id: number\n title: string\n description: string\n tags: string[]\n class_type: string\n language_code: string\n price_with_cash: number\n max_students: number\n reserved_seats?: number\n video_link?: string | null\n thumbnail_link?: string | null\n user_id: number\n is_private?: boolean | null\n show_profile_picture?: boolean | null\n dates: GroupLessonDateResponse[]\n}\nexport type ListGroupLessonResponse = {\n data: GroupLessonGetResponse[]\n count: number\n}\nexport type UpdateGroupLessonRequest = {\n title?: string | null\n description?: string | null\n tags?: string[] | null\n video_link?: string | null\n thumbnail_link?: string | null\n show_profile_picture?: boolean | null\n}\nexport type BookGroupLessonRequest = {\n group_lesson_date_id: number\n}\nexport type GroupLessonsBookingsResponse = {\n id: number\n user_id: number\n group_lesson_date_id: number\n created_at: string\n}\nexport type Feature = {\n title: string\n description: string\n url: string\n is_video?: boolean\n}\nexport type TeacherUpdateHomepageRequest = {\n name?: string | null\n url?: string | null\n profile_pic?: string | null\n thumbnail?: string | null\n video_url?: string | null\n welcome_message?: string | null\n price?: number | null\n currency?: string | null\n visible_prices?: number[] | null\n expected_days?: number | null\n color?: string | null\n faq_color?: string | null\n features?: Feature[] | null\n ai_price?: number | null\n partner?: boolean | null\n}\nexport type CreateTeacherHomepageRequest = {\n name: string\n url: string\n profile_pic?: string | null\n thumbnail?: string | null\n video_url?: string | null\n welcome_message?: string | null\n price?: number | null\n currency?: string | null\n visible_prices?: number[] | null\n expected_days?: number | null\n color?: string | null\n faq_color?: string | null\n features?: Feature[] | null\n}\nexport type TeacherHomepageGetResponse = {\n id?: number | null\n name?: string | null\n url?: string | null\n profile_pic?: string | null\n thumbnail?: string | null\n video_url?: string | null\n welcome_message?: string | null\n price?: number | null\n currency?: string | null\n visible_prices?: number[] | null\n expected_days?: number | null\n max_subscribers?: number | null\n user_id?: number | null\n color?: string | null\n faq_color?: string | null\n features?: Feature[] | null\n ai_price?: number | null\n partner?: boolean | null\n}\nexport type TeacherHomepageUrlAvailabilityResponse = {\n is_available: boolean\n}\nexport type TeacherHomepageUrlAvailabilityRequest = {\n url: string\n}\nexport const {\n useTeacherFilterTeachersQuery,\n useLazyTeacherFilterTeachersQuery,\n useTeacherCreateLessonMutation,\n useTeacherListLessonQuery,\n useLazyTeacherListLessonQuery,\n useTeacherUpdateLessonMutation,\n useTeacherGetLessonQuery,\n useLazyTeacherGetLessonQuery,\n useTeacherGetTeacherAvailabilitiesQuery,\n useLazyTeacherGetTeacherAvailabilitiesQuery,\n useTeacherGetCategoriesQuery,\n useLazyTeacherGetCategoriesQuery,\n useTeacherCreateGroupLessonMutation,\n useTeacherGetGroupLessonsQuery,\n useLazyTeacherGetGroupLessonsQuery,\n useTeacherUpdateGroupLessonMutation,\n useTeacherGetGroupLessonQuery,\n useLazyTeacherGetGroupLessonQuery,\n useTeacherCreateGroupLessonBookingMutation,\n useTeacherListGroupLessonBookingsQuery,\n useLazyTeacherListGroupLessonBookingsQuery,\n useTeacherDeleteGroupLessonBookingMutation,\n useTeacherUpdateTeacherHomepageMutation,\n useTeacherCreateTeacherHomepageMutation,\n useTeacherGetTeacherHomepageQuery,\n useLazyTeacherGetTeacherHomepageQuery,\n useTeacherGetTeacherHomepageByUrlQuery,\n useLazyTeacherGetTeacherHomepageByUrlQuery,\n useTeacherCloseTeacherHomepageMutation,\n useTeacherCheckHomepageUrlAvailabilityMutation,\n} = injectedRtkApi\n","import { api as teacherApi } from './auto-generated/teacher'\nteacherApi.enhanceEndpoints({\n endpoints: {\n teacherCloseTeacherHomepage: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n let patchResult\n try {\n const { data } = await queryFulfilled\n const { data: teacherHomepage } = await dispatch(\n teacherApi.endpoints.teacherGetTeacherHomepage.initiate(undefined, {\n forceRefetch: true,\n }),\n )\n patchResult = dispatch(\n teacherApi.util.updateQueryData('teacherGetTeacherHomepage', args, (draft) => {\n Object.assign(draft, teacherHomepage)\n }),\n )\n } catch {\n patchResult?.undo()\n }\n },\n },\n },\n})\n\nexport { teacherApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({}),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport const {} = injectedRtkApi\n","import { api as transcriptApi } from './auto-generated/transcript'\n\ntranscriptApi.enhanceEndpoints({\n endpoints: {},\n})\n\nexport { transcriptApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n translateTranslateString: build.mutation<\n TranslateTranslateStringApiResponse,\n TranslateTranslateStringApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/translation/translate`,\n method: 'POST',\n body: queryArg.translateTextRequest,\n }),\n }),\n translateGetTranslateLanguages: build.query<\n TranslateGetTranslateLanguagesApiResponse,\n TranslateGetTranslateLanguagesApiArg\n >({\n query: () => ({ url: `/api/v1/extensions/translation/languages` }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type TranslateTranslateStringApiResponse =\n /** status 200 Successful Response */ TranslateResponse\nexport type TranslateTranslateStringApiArg = {\n translateTextRequest: TranslateTextRequest\n}\nexport type TranslateGetTranslateLanguagesApiResponse =\n /** status 200 Successful Response */ TranslateLanguagesResponse[]\nexport type TranslateGetTranslateLanguagesApiArg = void\nexport type TranslateResponse = {\n translated_text: string\n detected_source_language?: string | null\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type TranslateTextRequest = {\n source_language?: string | null\n destination_language: string\n text: string\n}\nexport type TranslateLanguagesResponse = {\n language_code: string\n display_name: string\n supported_source: boolean\n supported_target: boolean\n}\nexport const {\n useTranslateTranslateStringMutation,\n useTranslateGetTranslateLanguagesQuery,\n useLazyTranslateGetTranslateLanguagesQuery,\n} = injectedRtkApi\n","import { api as translateApi } from './auto-generated/translate'\n\ntranslateApi.enhanceEndpoints({\n endpoints: {},\n})\n\nexport { translateApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n weblinksCreateWeblink: build.mutation<\n WeblinksCreateWeblinkApiResponse,\n WeblinksCreateWeblinkApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/weblinks/weblink`,\n method: 'POST',\n body: queryArg.createWeblinkRequest,\n }),\n }),\n weblinksGetWeblinks: build.query({\n query: (queryArg) => ({\n url: `/api/v1/extensions/weblinks/weblink`,\n params: { query: queryArg.query, is_public: queryArg.isPublic },\n }),\n }),\n weblinksDeleteWeblink: build.mutation<\n WeblinksDeleteWeblinkApiResponse,\n WeblinksDeleteWeblinkApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/weblinks/weblink/${queryArg.weblinkId}`,\n method: 'DELETE',\n }),\n }),\n weblinksGetWeblink: build.query({\n query: (queryArg) => ({ url: `/api/v1/extensions/weblinks/weblink/${queryArg.weblinkId}` }),\n }),\n weblinksUpdateWeblinks: build.mutation<\n WeblinksUpdateWeblinksApiResponse,\n WeblinksUpdateWeblinksApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/weblinks/weblink/${queryArg.weblinkId}`,\n method: 'PUT',\n body: queryArg.updateWeblinkRequest,\n }),\n }),\n weblinksViewWeblink: build.mutation({\n query: (queryArg) => ({\n url: `/api/v1/extensions/weblinks/weblink/${queryArg.weblinkId}/view`,\n method: 'POST',\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type WeblinksCreateWeblinkApiResponse = /** status 200 Successful Response */ any\nexport type WeblinksCreateWeblinkApiArg = {\n createWeblinkRequest: CreateWeblinkRequest\n}\nexport type WeblinksGetWeblinksApiResponse = /** status 200 Successful Response */ any\nexport type WeblinksGetWeblinksApiArg = {\n query?: string | null\n isPublic?: boolean | null\n}\nexport type WeblinksDeleteWeblinkApiResponse = /** status 204 Successful Response */ void\nexport type WeblinksDeleteWeblinkApiArg = {\n weblinkId: number\n}\nexport type WeblinksGetWeblinkApiResponse = /** status 200 Successful Response */ any\nexport type WeblinksGetWeblinkApiArg = {\n weblinkId: number\n}\nexport type WeblinksUpdateWeblinksApiResponse = /** status 200 Successful Response */ any\nexport type WeblinksUpdateWeblinksApiArg = {\n weblinkId: number\n updateWeblinkRequest: UpdateWeblinkRequest\n}\nexport type WeblinksViewWeblinkApiResponse = /** status 200 Successful Response */ any\nexport type WeblinksViewWeblinkApiArg = {\n weblinkId: number\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type CreateWeblinkRequest = {\n link: string\n title?: string | null\n tags: string[]\n shared_with: number[]\n}\nexport type UpdateWeblinkRequest = {\n link?: string | null\n title?: string | null\n is_public?: boolean | null\n tags?: string[] | null\n shared_with?: number[] | null\n}\nexport const {\n useWeblinksCreateWeblinkMutation,\n useWeblinksGetWeblinksQuery,\n useLazyWeblinksGetWeblinksQuery,\n useWeblinksDeleteWeblinkMutation,\n useWeblinksGetWeblinkQuery,\n useLazyWeblinksGetWeblinkQuery,\n useWeblinksUpdateWeblinksMutation,\n useWeblinksViewWeblinkMutation,\n} = injectedRtkApi\n","import { api as weblinksApi } from './auto-generated/weblinks'\n\nweblinksApi.enhanceEndpoints({\n endpoints: {\n weblinksCreateWeblink: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n try {\n const response = await queryFulfilled\n dispatch(\n weblinksApi.util.updateQueryData(\n 'weblinksGetWeblinks',\n { query: '' },\n (draftWeblinks) => {\n draftWeblinks.push(response.data)\n },\n ),\n )\n } catch {}\n },\n },\n weblinksDeleteWeblink: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n const patchResult = dispatch(\n weblinksApi.util.updateQueryData(\n 'weblinksGetWeblinks',\n { query: '' },\n (draftWeblinks) => {\n return draftWeblinks.filter((e) => e.id !== args.weblinkId)\n },\n ),\n )\n try {\n await queryFulfilled\n } catch {\n patchResult.undo()\n }\n },\n },\n weblinksUpdateWeblinks: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n const patchResult = dispatch(\n weblinksApi.util.updateQueryData(\n 'weblinksGetWeblinks',\n { query: '' },\n (draftWeblinks) => {\n draftWeblinks.map((e) => {\n if (e.id === args.weblinkId) {\n e.title = args.updateWeblinkRequest.title\n e.link = args.updateWeblinkRequest.link\n e.tags = args.updateWeblinkRequest.tags\n }\n })\n },\n ),\n )\n try {\n await queryFulfilled\n } catch {\n patchResult.undo()\n }\n },\n },\n },\n})\n\nexport { weblinksApi }\n","import { baseApi as api } from '../api'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n whiteboardStartWhiteboard: build.mutation<\n WhiteboardStartWhiteboardApiResponse,\n WhiteboardStartWhiteboardApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/whiteboard/${queryArg.eventId}/start`,\n method: 'POST',\n params: { exit_: queryArg.exit },\n }),\n }),\n whiteboardExitWhiteboard: build.mutation<\n WhiteboardExitWhiteboardApiResponse,\n WhiteboardExitWhiteboardApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/whiteboard/${queryArg.eventId}/exit`,\n method: 'POST',\n }),\n }),\n whiteboardCreatePermission: build.mutation<\n WhiteboardCreatePermissionApiResponse,\n WhiteboardCreatePermissionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/whiteboard/${queryArg.eventId}/user_permission`,\n method: 'POST',\n body: queryArg.whiteBoardPermissionRequest,\n }),\n }),\n whiteboardListPermission: build.query<\n WhiteboardListPermissionApiResponse,\n WhiteboardListPermissionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/whiteboard/${queryArg.eventId}/user_permissions`,\n }),\n }),\n whiteboardDeleteAllPermissions: build.mutation<\n WhiteboardDeleteAllPermissionsApiResponse,\n WhiteboardDeleteAllPermissionsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/whiteboard/${queryArg.eventId}/user_permissions`,\n method: 'DELETE',\n }),\n }),\n whiteboardDeletePermission: build.mutation<\n WhiteboardDeletePermissionApiResponse,\n WhiteboardDeletePermissionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/v1/extensions/whiteboard/${queryArg.eventId}/user_permission/${queryArg.participantId}`,\n method: 'DELETE',\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type WhiteboardStartWhiteboardApiResponse = /** status 200 Successful Response */ any\nexport type WhiteboardStartWhiteboardApiArg = {\n eventId: string\n exit?: boolean\n}\nexport type WhiteboardExitWhiteboardApiResponse = /** status 200 Successful Response */ any\nexport type WhiteboardExitWhiteboardApiArg = {\n eventId: string\n}\nexport type WhiteboardCreatePermissionApiResponse = /** status 201 Successful Response */ any\nexport type WhiteboardCreatePermissionApiArg = {\n eventId: string\n whiteBoardPermissionRequest: WhiteBoardPermissionRequest\n}\nexport type WhiteboardListPermissionApiResponse =\n /** status 200 Successful Response */ WhiteBoardPermissionResponse[]\nexport type WhiteboardListPermissionApiArg = {\n eventId: string\n}\nexport type WhiteboardDeleteAllPermissionsApiResponse = /** status 200 Successful Response */ any\nexport type WhiteboardDeleteAllPermissionsApiArg = {\n eventId: string\n}\nexport type WhiteboardDeletePermissionApiResponse = /** status 200 Successful Response */ any\nexport type WhiteboardDeletePermissionApiArg = {\n eventId: string\n participantId: number\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type WhiteBoardPermissionEnum = 'DRAW'\nexport type WhiteBoardPermissionRequest = {\n permissions: WhiteBoardPermissionEnum[]\n participant_id: number\n}\nexport type WhiteBoardPermissionResponse = {\n permissions: string[]\n participant_id: number\n event_id: number\n}\nexport const {\n useWhiteboardStartWhiteboardMutation,\n useWhiteboardExitWhiteboardMutation,\n useWhiteboardCreatePermissionMutation,\n useWhiteboardListPermissionQuery,\n useLazyWhiteboardListPermissionQuery,\n useWhiteboardDeleteAllPermissionsMutation,\n useWhiteboardDeletePermissionMutation,\n} = injectedRtkApi\n","import { api as whiteboardApi } from './auto-generated/whiteboard'\nimport { api as eventApi } from './auto-generated/event'\n\nwhiteboardApi.enhanceEndpoints({\n endpoints: {\n whiteboardStartWhiteboard: {\n async onQueryStarted(args, { dispatch, queryFulfilled }) {\n dispatch(\n eventApi.util.updateQueryData('eventGetEventById', args, (draftEvent) => {\n draftEvent.event_type = 'WHITEBOARD'\n }),\n )\n dispatch(\n eventApi.util.updateQueryData('eventGetCurrentEvent', undefined, (draftEvent) => {\n draftEvent.event_type = 'WHITEBOARD'\n }),\n )\n try {\n await queryFulfilled\n } catch {}\n },\n },\n },\n})\n\nexport { whiteboardApi }\n","import { authApi } from '@app/services'\nimport { store } from '@app/store'\nimport { isTokenExpired } from '@common/utils/tokens'\nimport { logout, setAccessToken } from '../auth-actions'\n\nexport const refreshTokenIfExpired = async () => {\n const tokens = store.getState().auth.tokens\n if (tokens?.refresh_token && isTokenExpired(tokens.refresh_token.expiration_time)) {\n store.dispatch(logout())\n }\n if (tokens?.access_token && isTokenExpired(tokens.access_token.expiration_time)) {\n const { data } = await store.dispatch(\n authApi.endpoints.authRefreshJwtAccessToken.initiate({\n authorization: `Bearer ${tokens?.refresh_token.token}`,\n }),\n )\n store.dispatch(setAccessToken(data.access_token))\n }\n return store.getState().auth.tokens?.access_token?.token\n}\n","import { useAppSelector } from '@common/hooks'\nimport { useTheme as useUtilsTheme } from '@common/utils/styles'\nimport { modeType, selectMode } from './theme.slice'\n\nexport const useTheme = () => {\n const mode = useAppSelector(selectMode)\n const resolvedMode = resolveMode(mode)\n\n const isDark = resolvedMode === 'dark'\n const isLight = resolvedMode === 'light'\n\n const theme = useUtilsTheme()\n\n return { mode: resolveMode(mode), isDark, isLight, theme }\n}\n\nconst resolveMode = (mode: modeType) => {\n if (mode === 'browser') {\n return window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches\n ? 'dark'\n : 'light'\n }\n return mode\n}\n","import React, { useEffect, useRef, useState } from 'react'\nimport {\n InputAdornment,\n TextField,\n inputBaseClasses,\n Popover,\n Typography,\n Stack,\n Button,\n Box,\n IconButton,\n Avatar,\n PaperProps,\n Tooltip,\n CircularProgress,\n} from '@common/components'\nimport { motion } from 'motion/react'\nimport {\n ChatContainer,\n ChatHistory,\n ChatMessageContainer,\n LoadingOrErrorContainer,\n MessageTypo,\n MessageTypoContainer,\n} from './chat.styles'\nimport {\n CheckCircleIcon,\n CheckCircleOutlineIcon,\n ErrorIcon,\n InsertEmoticonIcon,\n SendIcon,\n TranslateIcon,\n} from '@common/icons'\nimport { ChatMessage as ChatMessageType, ChatUser } from '@types'\nimport EmojiPicker from 'emoji-picker-react'\nimport { useTheme } from '@features/theme/theme.hooks'\n\ntype ChatProps = PaperProps & {\n fullScreen?: boolean\n disabled?: boolean\n users: ChatUser[]\n messages: ChatMessageType[]\n onSendMessage: (message: string) => void\n}\n\nconst Chat = React.forwardRef((props, ref) => {\n const { messages, onSendMessage, users, fullScreen, disabled, ...restProps } = props\n const messagesEndRef = useRef(null)\n const [message, setMessage] = useState('')\n\n const handleSubmit = () => {\n onSendMessage(message)\n setMessage('')\n }\n\n const scrollToBottom = () => {\n if (messagesEndRef.current) {\n messagesEndRef.current.scrollTo({\n top: messagesEndRef.current.scrollHeight,\n behavior: 'smooth',\n })\n }\n }\n\n React.useEffect(() => {\n scrollToBottom()\n }, [messages])\n\n return (\n \n \n {messages?.map((msg, k) => {\n const user = users.find((user) => user?.id === msg.userId)\n // return msg.message\n return (\n \n )\n })}\n \n \n \n )\n})\n\ninterface ChatMessageProps {\n type: 'SENT' | 'RECEIVED'\n message: string\n avatar: string\n username: string\n loading?: boolean\n error?: boolean\n success?: boolean\n}\n\nconst ChatMessage = (props: ChatMessageProps) => {\n const { type, username, message, avatar, loading, error, success, ...restProps } = props\n const { theme } = useTheme()\n const variants = {\n initial: {\n opacity: 0.5,\n y: 10,\n },\n animate: {\n y: 0,\n opacity: 1,\n },\n }\n if (type === 'RECEIVED') {\n return (\n \n \n \n \n \n \n \n {message}\n \n \n }\n variant='text'\n size='small'\n sx={{ alignSelf: 'self-start', fontSize: '0.5rem' }}\n // onClick={() => onTranslate(message)}\n >\n Translate\n \n \n \n )\n }\n if (type === 'SENT') {\n return (\n \n {loading ? (\n \n \n \n ) : success ? (\n \n \n \n ) : (\n error && (\n \n \n \n )\n )}\n \n \n {message}\n \n \n \n )\n }\n return null\n}\n\nconst MessageToSend = ({ message, onChange, onSubmit, disabled }) => {\n const handleChange = (e) => {\n onChange(e.target.value)\n }\n const handleSubmit = (e) => {\n e.preventDefault()\n onSubmit(message)\n onChange('')\n }\n const insertEmoji = (emoji) => {\n onChange(`${message}${emoji}`)\n }\n\n return (\n \n \n \n \n ),\n }}\n color='primary'\n sx={{\n mr: 1,\n [`& .${inputBaseClasses.root}`]: {\n height: '40px',\n },\n }}\n />\n \n \n \n \n )\n}\n\nconst EmojiPickerButton = ({ onEmojiClick }) => {\n const { isDark, theme } = useTheme()\n const [anchorEl, setAnchorEl] = useState(null)\n const handleClick = (event) => {\n setAnchorEl(event.currentTarget)\n }\n const handleClose = () => {\n setAnchorEl(null)\n }\n const open = Boolean(anchorEl)\n\n const handleEmojiClick = (emoji, e) => {\n onEmojiClick(emoji.emoji)\n handleClose()\n }\n\n return (\n <>\n \n \n \n \n \n \n \n )\n}\n\nChat.displayName = 'Chat'\nexport default Chat\n","import { Box, styled } from '@mui/material'\n\nexport const BackdropButton = styled(Box)({\n position: 'absolute',\n top: '50%',\n left: '50%',\n width: '50px',\n height: '50px',\n borderRadius: '50%',\n transform: 'translate(-50%,-50%)',\n zIndex: 3,\n})\n\nexport const BackdropButtonWithShadow = styled(Box)(({ theme }) => ({\n position: 'absolute',\n top: '50%',\n left: '50%',\n width: '50px',\n height: '50px',\n borderRadius: '50%',\n transform: 'translate(-50%,-50%)',\n boxShadow: theme.shadows[5],\n zIndex: -1,\n}))\n\nexport const Container = styled('div')(({ theme, placement }) => {\n const placements = placement.split('-')\n return {\n position: 'relative',\n transform: `translate(${placements[1] === 'end' ? '20px' : '-20px'},${\n placements[0] === 'top' ? '20px' : '-20px'\n })`,\n paddingBottom: '2px',\n paddingTop: '20px',\n minWidth: 120,\n borderRadius: '15px',\n boxShadow: theme.shadows[5],\n }\n})\n","/* eslint-disable react/display-name */\nimport React, { useEffect, useRef, useState } from 'react'\nimport { Box, ClickAwayListener, Grow, Popper, useTheme, IconButton, Paper } from '@mui/material'\nimport { BackdropButton, BackdropButtonWithShadow, Container } from './popper-button.styles'\nimport CloseIcon from '@mui/icons-material/Close'\n\nconst PopperButton = React.forwardRef((props, ref) => {\n const { icon: Icon, children, buttonProps, containerProps, ...restProps } = props\n\n const { theme } = useTheme()\n const color = theme.palette.background.paper\n const [open, setOpen] = useState(false)\n const anchorRef = useRef(null)\n const handleToggle = () => {\n setOpen((prevOpen) => !prevOpen)\n }\n const handleClose = (event: any) => {\n if (anchorRef.current && anchorRef.current.contains(event.target)) {\n return\n }\n setOpen(false)\n }\n // return focus to the button when we transitioned from !open -> open\n const prevOpen = useRef(open)\n useEffect(() => {\n if (prevOpen.current === true && open === false) {\n anchorRef.current.focus()\n }\n\n prevOpen.current = open\n }, [open])\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {({ TransitionProps, placement }) => {\n return (\n \n \n \n \n \n \n \n \n
{children}
\n
\n
\n \n \n \n )\n }}\n \n \n )\n})\n\nexport default PopperButton\n","import { Box, styled } from '@mui/material'\nimport React, { useEffect, useImperativeHandle, useRef, useState } from 'react'\n\nconst CodeInput = React.forwardRef(\n ({ code, setCode, status, sx, length, focus, inputMode = 'numeric', ...rest }, ref) => {\n const digit1El = useRef(null)\n const digit2El = useRef(null)\n const digit3El = useRef(null)\n const digit4El = useRef(null)\n const digit5El = useRef(null)\n const digit6El = useRef(null)\n const [digit1, setDigit1] = useState(code && code[0] ? code[0] : '')\n const [digit2, setDigit2] = useState(code && code[1] ? code[1] : '')\n const [digit3, setDigit3] = useState(code && code[2] ? code[2] : '')\n const [digit4, setDigit4] = useState(code && code[3] ? code[3] : '')\n const [digit5, setDigit5] = useState(code && code[4] ? code[4] : '')\n const [digit6, setDigit6] = useState(code && code[5] ? code[5] : '')\n\n const digits = [\n { ref: digit1El, value: digit1, setValue: setDigit1 },\n { ref: digit2El, value: digit2, setValue: setDigit2 },\n { ref: digit3El, value: digit3, setValue: setDigit3 },\n { ref: digit4El, value: digit4, setValue: setDigit4 },\n { ref: digit5El, value: digit5, setValue: setDigit5 },\n { ref: digit6El, value: digit6, setValue: setDigit6 },\n ].slice(0, length)\n\n const handleChange = (e, elem, k) => {\n if (e.target.value && e.target.value.length === 1) {\n elem.setValue(e.target.value)\n if (k < digits.length - 1) {\n digits[k + 1].ref.current.focus()\n }\n } else if (e.target.value === '') {\n elem.setValue(e.target.value)\n if (k > 0) {\n digits[k - 1].ref.current.focus()\n }\n } else {\n elem.current.select()\n }\n }\n\n const handleKeyDown = (e, index) => {\n if (e.key === 'ArrowRight' && index < length - 1) {\n digits[index + 1].ref.current.focus()\n }\n\n if (e.key === 'ArrowLeft' && index > 0) {\n digits[index - 1].ref.current.focus()\n }\n }\n\n useEffect(() => {\n setCode(`${digit1}${digit2}${digit3}${digit4}${digit5}${digit6}`)\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [digit1, digit2, digit3, digit4, digit5, digit6])\n\n useEffect(() => {\n if (focus) {\n digits[0].ref.current.focus()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [focus])\n\n useImperativeHandle(ref, () => ({\n reset() {\n setDigit1('')\n setDigit2('')\n setDigit3('')\n setDigit4('')\n setDigit5('')\n setDigit6('')\n digits[0].ref.current.focus()\n },\n }))\n\n return (\n \n \n {digits.slice(0, length).map((elem, index) => (\n handleChange(e, elem, index)}\n onFocus={() => elem.ref.current.select()}\n type='text'\n onPaste={(e) => {\n e.preventDefault()\n const text = e.clipboardData.getData('Text')\n digits.forEach((elem, k) => {\n elem.setValue(text[k])\n })\n }}\n onKeyDown={(e) => handleKeyDown(e, index)}\n inputMode={inputMode}\n status={status}\n />\n ))}\n \n \n )\n },\n)\n\nCodeInput.defaultProps = {\n length: 4,\n status: 'neutral',\n}\n\nconst handleStatus = (status, success, error, neutral) => {\n switch (status) {\n case 'success':\n return success\n case 'error':\n return error\n case 'neutral':\n return neutral\n default:\n return neutral\n }\n}\n\nconst StyledTextField = styled('input')(({ status, theme }) => ({\n color: handleStatus(status, 'green', 'red', 'grey'),\n backgroundColor: 'white',\n boxShadow: theme.shadows[1],\n borderRadius: '10px',\n fontFamily: 'Poppins',\n fontSize: '36px',\n fontWeight: 600,\n textAlign: 'center',\n width: '55px',\n height: '55px',\n border: handleStatus(status, '2px solid green', '2px solid red', '1px solid grey'),\n '&:focus': {\n appearance: 'none',\n outline: 'none',\n border: `3px solid ${theme.palette.primary.main}`,\n },\n}))\n\nexport default CodeInput\n","import { forwardRef, useState } from 'react'\nimport {\n Box,\n Checkbox,\n ClickAwayListener,\n FormControlLabel,\n FormGroup,\n Stack,\n styled,\n Tooltip,\n tooltipClasses,\n Typography,\n useTheme,\n} from '@mui/material'\nimport { IconButton } from '@mui/material'\nimport CloseIcon from '@mui/icons-material/Close'\n\ntype Language = {\n code: string\n name: string\n flag_image: string\n level: number\n}\n\ninterface SelectedOptionProps {\n language: Language\n onRemove: () => void\n onChange: () => void\n autoLevelOpen: boolean\n}\n\nconst SelectedOption: React.FC = (props) => {\n const { language, onRemove, onChange, autoLevelOpen, ...restProps } = props\n const { code, name: label, level, flag_image: flagImage } = language\n return (\n \n \n \n \n \n \n \n \n \n \n )\n}\n\nconst Container = styled(Box)({\n position: 'relative',\n})\n\nconst Field = styled(Box)(({ theme }) => ({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n border: `1px solid ${theme.palette.primary.main}`,\n padding: '12px 10px 12px 21px',\n borderRadius: '5px',\n minWidth: '100px',\n}))\n\nconst Label = styled(Typography)({\n flex: 1,\n marginRight: '20px',\n})\n\nconst CloseButton = styled(IconButton)({\n position: 'absolute',\n top: '50%',\n right: 0,\n transform: 'translate(calc(100% + 15px),-50%)',\n p: 0,\n})\n\nconst FlagImg = styled('img')({\n width: '25px',\n borderRadius: '2px',\n})\n\ninterface LanguageLevelProps {\n level: number\n onChange: (arg: number) => void\n autoLevelOpen: boolean\n}\nconst LanguageLevel: React.FC = (props) => {\n const { level, onChange, autoLevelOpen, ...restProps } = props\n const [open, setOpen] = useState(autoLevelOpen)\n const handleTooltipClose = () => {\n setOpen(false)\n }\n const handleTooltipOpen = () => {\n setOpen((prevState) => !prevState)\n }\n\n return (\n <>\n \n \n \n {[\n { label: 'Beginner', level: 1 },\n { label: 'Intermediate', level: 2 },\n { label: 'Advanced', level: 3 },\n ].map((elem) => (\n {\n onChange(elem.level)\n setTimeout(handleTooltipClose, 200)\n }}\n />\n }\n label={\n \n \n {elem.label}\n \n \n \n }\n />\n ))}\n \n }\n >\n \n \n \n \n \n )\n}\n\ninterface LevelDisplayProps {\n level: number\n onClick?: () => void\n}\n\nconst LevelDisplay = forwardRef(\n ({ level, onClick, ...rest }, ref) => {\n const { theme } = useTheme()\n return (\n \n {[0, 1, 2].map((elem, k) => (\n k ? theme.palette.primary.main : '#C4C4C4',\n borderRadius: '3px',\n }}\n >\n ))}\n \n )\n },\n)\n\nLevelDisplay.displayName = 'LevelDisplay'\n\nexport { SelectedOption }\n","import {\n Autocomplete,\n AutocompleteProps,\n Box,\n BoxProps,\n styled,\n TextField,\n Typography,\n} from '@mui/material'\nimport { SelectedOption } from './selected-option'\n\ninterface LanguageAutocompleteProps extends AutocompleteProps {\n value: {\n code: string\n flag_image: string\n name: string\n level: number\n }[]\n label: string\n // onChange: (arg: any, arg2: any) => void\n defaultLevel: number\n autoLevelOpen: boolean\n containerProps: BoxProps\n}\nconst LanguageAutocomplete: React.FC = (props) => {\n const { value, label, onChange, defaultLevel, autoLevelOpen, containerProps, ...restProps } =\n props\n const handleRemove = (code: string) => {\n onChange(\n {},\n value.filter((elem: any) => elem.code !== code),\n )\n }\n\n const handleChangeLevel = (code: string, newLevel: number) => {\n onChange(\n {},\n value.map((elem: any) => {\n if (elem.code === code) {\n return { ...elem, level: newLevel }\n }\n return elem\n }),\n )\n }\n\n const handleChange = (\n e: any,\n newValue: {\n code: string\n flag_image: string\n name: string\n level: number\n }[],\n ) => {\n onChange(\n e,\n newValue.map((elem) => {\n if (!elem.level) {\n return { ...elem, level: defaultLevel }\n }\n return elem\n }),\n )\n }\n\n return (\n \n {value.length > 0 && (\n \n {value.map((language, k) => (\n handleChangeLevel(language.code, newLevel)}\n onRemove={() => handleRemove(language.code)}\n autoLevelOpen={autoLevelOpen}\n sx={{ mb: 1 }}\n />\n ))}\n \n )}\n null}\n renderInput={(params) => }\n renderOption={(props, option: { code: string; flag_image: string; name: string }) => (\n \n {option.name}\n \n \n )}\n getOptionLabel={(option: { code: string; flag_image: string; name: string }) => option.name}\n onChange={handleChange}\n isOptionEqualToValue={(option, value) => option.code === value.code}\n {...restProps}\n />\n \n )\n}\n\nconst Container = styled(Box)({\n paddingRight: '40px',\n})\n\nLanguageAutocomplete.defaultProps = {\n label: 'Select a language...',\n defaultLevel: 1,\n autoLevelOpen: true,\n}\n\nexport default LanguageAutocomplete\n","import styled from '@emotion/styled'\nimport { Box, Button } from '@mui/material'\n\nexport const Container = styled(Box, {\n shouldForwardProp: (prop) => prop !== 'fullWidth',\n})(({ theme, fullWidth, elevation }) => ({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n background: theme.palette.background.paper,\n borderRadius: 15,\n paddingLeft: 15,\n height: 50,\n overflow: 'hidden',\n flexWrap: 'nowrap',\n width: fullWidth && '100%',\n boxShadow: theme.shadows[elevation],\n}))\n\nexport const CopyButton = styled(Button)(({ theme }) => ({\n height: '100%',\n borderRadius: '15px',\n minWidth: 105,\n}))\n","import { Box, CardActionArea, IconButton as IconButtonMui, styled } from '@mui/material'\n\nexport const CardAction = styled(CardActionArea, {\n shouldForwardProp: (prop) => prop !== 'direction',\n})(({ direction }) => ({\n zIndex: '1111',\n position: 'absolute',\n top: '0',\n height: '100%',\n width: '72px',\n borderRadius: direction === 'left' ? '0 20px 20px 0' : '20px 0 0 20px',\n background: 'rgba(255,255,255,0.3)',\n}))\n","import styled from '@emotion/styled'\nimport { Box, LinearProgress, linearProgressClasses } from '@mui/material'\n\nexport const StyledLinearProgress = styled(LinearProgress)(({ value }) => ({\n height: 20,\n backgroundColor: 'transparent',\n [`& .${linearProgressClasses.bar}`]: {\n transition: '1s',\n borderTopRightRadius: value === 100 ? 0 : 10,\n borderBottomRightRadius: value === 100 ? 0 : 10,\n },\n}))\n\nexport const Container = styled(Box)(({ height }) => ({\n height: '20px',\n width: '100%',\n}))\n","import React from 'react'\nimport { Container, StyledLinearProgress } from './ProgressBar.styles'\n\nconst ProgressBar = (props) => {\n const { height, currentStep, numberOfSteps, ...restProps } = props\n const progress =\n numberOfSteps && currentStep && currentStep <= numberOfSteps && currentStep >= 0\n ? (1 / (numberOfSteps - 1)) * 100 * currentStep\n : 0\n return (\n \n \n \n )\n}\n\nProgressBar.defaultProps = {\n height: 20,\n}\n\nexport { ProgressBar }\n","import { Typography, styled, Box } from '@mui/material'\n\nexport const StepsWrapper = styled(Box)({\n display: 'flex',\n})\nexport const StepsContainer = styled(Box)({\n display: 'flex',\n marginLeft: 'auto',\n})\nexport const StepTypography = styled(Typography, {\n shouldForwardProp: (prop) => prop !== 'active',\n})((props) => ({\n background: props.active && '#0F82FF',\n fontFamily: 'Poppins',\n fontSize: '20px',\n fontWeight: 700,\n padding: '10.808px 12.352px',\n borderRadius: '7px',\n lineHeight: '26px',\n letterSpacing: '0em',\n textAlign: 'center',\n color: props.active ? '#FFFFFF' : props.theme.palette.mode === 'dark' ? '#BBBBBB' : '#8E8E8E',\n}))\n","import React from 'react'\nimport { StepsContainer, StepsWrapper, StepTypography } from './Steps.styles'\n\nconst Steps = ({ currentStep, numberOfSteps }: { currentStep: number; numberOfSteps: number }) => {\n return (\n \n \n {[...Array(numberOfSteps).keys()].map((i) => (\n \n {i + 1}\n \n ))}\n \n \n )\n}\n\nexport { Steps }\n","import styled from '@emotion/styled'\nimport { Box } from '..'\n\nexport const Container = styled(Box)({\n position: 'relative',\n width: '100%',\n height: '100%',\n paddingBottom: '20px',\n})\n","import React, { useEffect, useCallback } from 'react'\nimport useEmblaCarousel from 'embla-carousel-react'\nimport { ProgressBar } from './ProgressBar'\nimport { Steps } from './Steps'\nimport { Container } from './ProgressView.styles'\n\nconst ProgressView = (props: {\n children: React.ReactNode\n showSteps: boolean\n currentStep: number\n showProgressBar: boolean\n swipeable: boolean\n}) => {\n const {\n children,\n showSteps = true,\n currentStep,\n showProgressBar = true,\n swipeable = true,\n ...restProps\n } = props\n\n const [emblaRef, emblaApi] = useEmblaCarousel({ loop: false })\n\n const validateCurrentStep = (step: number) => Math.min(step, React.Children.count(children) - 1)\n\n // Navigate to the current step when `currentStep` changes\n useEffect(() => {\n if (emblaApi && swipeable) {\n emblaApi.scrollTo(validateCurrentStep(currentStep))\n }\n }, [currentStep, emblaApi, swipeable])\n\n // Handle swipeable behavior\n const handleSelect = useCallback(() => {\n if (!emblaApi || !swipeable) return\n const selectedIndex = emblaApi.selectedScrollSnap()\n // You can add logic here to update the `currentStep` externally if needed\n }, [emblaApi, swipeable])\n\n useEffect(() => {\n if (!emblaApi) return\n emblaApi.on('select', handleSelect)\n return () => emblaApi.off('select', handleSelect)\n }, [emblaApi, handleSelect])\n\n return (\n \n {showSteps && (\n \n )}\n
\n
\n {React.Children.map(children, (child, index) => (\n
\n {child}\n
\n ))}\n
\n
\n {showProgressBar && (\n \n )}\n
\n )\n}\n\nexport default ProgressView\n","import { Controller } from '@lib/form'\nimport { TimePicker, TimePickerProps } from '@mui/x-date-pickers'\nimport React from 'react'\n\ntype ControllerTimePickerProps = TimePickerProps & {\n control?: any\n}\n\nconst ControllerTimePicker: React.FC = React.forwardRef((props, ref) => {\n const { name, control, ...restProps } = props\n if (Boolean(control) && typeof name === 'string') {\n return (\n {\n return \n }}\n />\n )\n }\n return \n})\n\nControllerTimePicker.displayName = 'ControllerTimePicker'\n\nexport default ControllerTimePicker\nexport * from '@mui/x-date-pickers/TimePicker'\n","import { Controller } from '@lib/form'\nimport { DatePicker, DatePickerProps } from '@mui/x-date-pickers'\nimport React from 'react'\n\ntype ControllerDatePickerProps = DatePickerProps & {\n control?: any\n}\n\nconst ControllerDatePicker: React.FC = React.forwardRef((props, ref) => {\n const { name, control, ...restProps } = props\n if (Boolean(control) && typeof name === 'string') {\n return (\n {\n return \n }}\n />\n )\n }\n return \n})\n\nControllerDatePicker.displayName = 'ControllerDatePicker'\n\nexport default ControllerDatePicker\nexport * from '@mui/x-date-pickers/DatePicker'\n","import { Editor } from 'react-draft-wysiwyg'\nimport 'react-draft-wysiwyg/dist/react-draft-wysiwyg.css'\nimport {\n Box,\n Button,\n ColorPicker,\n InputAdornment,\n Paper,\n Popover,\n Stack,\n Switch,\n TextField,\n Typography,\n} from '@common/components'\nimport { ThemeProvider, useTheme } from '@common/utils/styles'\nimport React, { useState } from 'react'\nimport { ContentState, EditorState } from 'draft-js'\nimport { convertToRaw } from 'draft-js'\nimport draftjsToHtml from 'draftjs-to-html'\nimport htmlToDraft from 'html-to-draftjs'\nimport { CheckIcon, LinkIcon } from '@common/icons'\nimport { useTogglePopover } from '@common/hooks'\nimport lightTheme from '@styles/themes/light-theme'\nimport './styles.css'\ninterface TextEditorProps {\n htmlContent: string\n bgPickOption?: boolean\n onChange: (arg: string) => void\n color?: string\n onColorChange?: () => void\n onSave?: () => void\n onCancel?: () => void\n readOnly?: boolean\n onUpdate?: () => void\n handleChangeVideo?: () => void\n videoLink?: string\n handleChangeExternalLink?: () => void\n externalLink?: string\n}\nconst TextEditor: React.FC = (props) => {\n const {\n htmlContent,\n bgPickOption,\n handleChangeVideo,\n videoLink,\n handleChangeExternalLink,\n externalLink,\n onChange: handleChange,\n color,\n onColorChange,\n onSave,\n onCancel,\n readOnly,\n onUpdate,\n ...rest\n } = props\n const contentBlock = htmlToDraft(htmlContent ? htmlContent : '')\n const contentState = ContentState.createFromBlockArray(contentBlock.contentBlocks)\n const [editorState, setEditorState] = useState(\n htmlContent ? EditorState.createWithContent(contentState) : EditorState.createEmpty(),\n )\n\n const onEditorStateChange = (editorState) => {\n setEditorState(editorState)\n handleChange(draftjsToHtml(convertToRaw(editorState.getCurrentContent())))\n }\n\n const getCustomButton = () => {\n const buttons = []\n if (bgPickOption) {\n buttons.push()\n }\n if (onCancel) {\n buttons.push(\n onCancel()}\n color='error'\n key={'3'}\n variant='outlined'\n size='small'\n sx={{\n border: '1px solid rgba(0,0,0,0.1)',\n ml: 1,\n height: '31.6px',\n borderRadius: '0px',\n width: '40px',\n }}\n >\n cancel\n ,\n )\n }\n if (onSave) {\n buttons.push(\n onSave()}\n key={'2'}\n variant='outlined'\n size='small'\n sx={{\n border: '1px solid rgba(0,0,0,0.1)',\n ml: 1,\n height: '31.6px',\n borderRadius: '0px',\n }}\n >\n \n save\n ,\n )\n }\n if (onUpdate) {\n buttons.push(\n onUpdate()}\n key={'2'}\n variant='outlined'\n size='small'\n sx={{\n border: '1px solid rgba(0,0,0,0.1)',\n ml: 1,\n height: '31.6px',\n borderRadius: '0px',\n }}\n >\n \n save\n ,\n )\n }\n // buttons.push(\n // \n // \n // Include video\n // \n // {checked && (\n // \n // \n // \n // ),\n // }}\n // />\n // )}\n // \n // ,\n // )\n // buttons.push(\n // \n // \n // External link\n // \n // {checkedExternal && (\n // \n // \n // \n // ),\n // }}\n // />\n // )}\n // \n // ,\n // )\n return buttons\n }\n\n return (\n \n \n \n )\n}\n\nexport default TextEditor\n","import React from 'react'\nimport { Box, Button, ClickAwayListener, Popper } from '@mui/material'\nimport { HexColorPicker } from 'react-colorful'\nimport ColorLensIcon from '@mui/icons-material/ColorLens'\n\ninterface ColorPickerProps {\n color: string\n onChangeColor: () => void\n}\nconst ColorPicker: React.FC = (props) => {\n const { color, onChangeColor } = props\n const [anchorEl, setAnchorEl] = React.useState(null)\n\n const handleClick = (event: React.MouseEvent) => {\n setAnchorEl(event.currentTarget)\n }\n\n const handleClose = () => {\n setAnchorEl(null)\n }\n\n const open = Boolean(anchorEl)\n const id = open ? 'simple-popover' : undefined\n return (\n \n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default ColorPicker\n","import { DateCalendar, DateCalendarProps } from '@mui/x-date-pickers/DateCalendar'\nimport React from 'react'\nimport { Controller } from '@lib/form'\n\ntype ControllerDateCalendarProps = DateCalendarProps & {\n control?: any\n}\n\nconst ControllerDateCalendar: React.FC = React.forwardRef(\n (props, ref) => {\n const { name, control, ...restProps } = props\n if (Boolean(control) && typeof name === 'string') {\n return (\n {\n return \n }}\n />\n )\n }\n return \n },\n)\n\nControllerDateCalendar.displayName = 'ControllerDateCalendar'\n\nexport default ControllerDateCalendar\nexport * from '@mui/x-date-pickers/DateCalendar'\n","import { MobileTimePicker, MobileTimePickerProps } from '@mui/x-date-pickers'\nimport React from 'react'\nimport { Controller } from '@lib/form'\n\ntype ControllerMobileTimePickerProps = MobileTimePickerProps & {\n control?: any\n}\n\nconst ControllerMobileTimePicker: React.FC = React.forwardRef(\n (props, ref) => {\n const { name, control, ...restProps } = props\n if (Boolean(control) && typeof name === 'string') {\n return (\n {\n return \n }}\n />\n )\n }\n return \n },\n)\n\nControllerMobileTimePicker.displayName = 'ControllerMobileTimePicker'\n\nexport default ControllerMobileTimePicker\nexport * from '@mui/x-date-pickers/MobileTimePicker'\n","const img1 =\n 'https://testing-pengguin.s3.amazonaws.com/8f8b33df9211ca2a3b872a907f28b3b208d1c0876379f0f9d45b1782cb042999.png'\nconst img2 =\n 'https://testing-pengguin.s3.amazonaws.com/7cd802d4eb251b9b9dbf9a3a4d6f98f1446cf9a323e632fc7c130feadadd5ca3.png'\nconst img3 =\n 'https://testing-pengguin.s3.amazonaws.com/94a6c8fd74fe8a8fd71275498751f971eb35b64e2aeadab7073e21093ae4140b.png'\nconst img4 =\n 'https://testing-pengguin.s3.amazonaws.com/32faa539a3824a8890c2aef927e207d457e0958523d6f1e1a50d49d33894ec39.png'\nconst img5 =\n 'https://testing-pengguin.s3.amazonaws.com/d33329f81cd699ae88c079eec794873e486cbc413d2f212e39edbbf13d6ca76c.png'\nconst img6 =\n 'https://testing-pengguin.s3.amazonaws.com/55aac611afff9073fd39034bccb3d8db5ebd0812aa51c1d9c8fba743ffe08016.png'\nconst img7 =\n 'https://testing-pengguin.s3.amazonaws.com/a1e24d14e5dc9b8ed4fcbd8cd93eaeeae49ffc32f3e19c5e3606ef603bcb6029.png'\nconst img8 =\n 'https://testing-pengguin.s3.amazonaws.com/9f4c7e913004f23b29fa04c830bea0d3669c68ccadb45d129e7690806047c538.png'\n\nexport const thumbnails = [img3, img1, img8, img4, img7, img6, img5, img2]\n","// const AVATAR_PLACEHOLDER = 'https://www.gravatar.com/avatar/084e0343a0486ff05530df6c705c8bb4'\n\nexport const handleGravatar = (avatarImage: string | undefined) => {\n if (avatarImage?.includes('https://www.gravatar.com')) {\n return avatarImage ? `${avatarImage}?s=200&d=identicon` : undefined\n } else {\n return avatarImage\n }\n}\n","import { Box, styled } from '@mui/material'\n\nexport const Bar = styled(Box, {\n shouldForwardProp: (prop) => prop !== 'background',\n})(({ theme, background }) => ({\n width: '6px',\n height: '100%',\n backgroundColor: background ? theme.palette.primary.main : 'rgb(230,230,230)',\n boxShadow: theme.shadows[4],\n borderRadius: '3px',\n}))\n","import { Stack } from '@mui/material'\nimport { forwardRef } from 'react'\nimport { Bar } from './level-display.styles'\n\nconst LevelDisplay = forwardRef((props, ref) => {\n const { level, sx, ...restProps } = props\n return (\n \n {[0, 1, 2, 3].map((elem, k) => (\n k - 1} />\n ))}\n \n )\n})\n\nLevelDisplay.displayName = 'LevelDisplay'\n\nexport default LevelDisplay\n","import styled from '@emotion/styled'\nimport { Box, Stack, Typography } from '@common/components'\n\nexport const CountdownWrapper = styled(Stack)({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n})\n\n// export const NumberCard = styled(Box)({\n// padding: '5px 10px',\n// color: '#fff',\n// background: '#494E53',\n// marginLeft: '4px',\n// borderRadius: '5px',\n// fontSize: '25px',\n// width: '35px',\n// })\n\nexport const NumberCard = styled(Box, {\n shouldForwardProp: (prop) => prop !== 'size',\n})(({ size }: { size: string }) => ({\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n color: '#fff',\n background: '#494E53',\n marginLeft: '4px',\n borderRadius: '5px',\n fontSize: size === 'xs' ? '12px' : size === 'small' ? '16px' : '25px',\n width: size === 'xs' ? '18px' : size === 'small' ? '22px' : '35px',\n padding: size === 'xs' ? '3px' : size === 'small' ? '5px' : '5px 10px',\n}))\n\nexport const NumbersWrapper = styled(Box)({\n display: 'flex',\n})\n\nexport const SeperatorWrapper = styled(Typography)({\n fontWeight: 700,\n textAlign: 'center',\n})\n","import React from 'react'\nimport { default as ReactCountdownComponent } from 'react-countdown'\nimport { CountdownWrapper, NumberCard, NumbersWrapper, SeperatorWrapper } from './Countdown.styles'\n\ninterface CountdownProps {\n size: 'xs' | 'small' | 'medium'\n startTime: string | number | Date | undefined\n CustomCountdownComponent?: React.ComponentType<{\n time: { hours: number; minutes: number; seconds: number }\n }>\n CustomCompletionist?: React.ComponentType\n [key: string]: any\n}\n\ninterface RendererProps {\n hours: number\n minutes: number\n seconds: number\n completed: boolean\n}\n\nconst Countdown: React.FC = (props) => {\n const {\n size = 'medium',\n startTime,\n CustomCountdownComponent,\n CustomCompletionist,\n ...restProps\n } = props\n const Completionist = () => You are good to go!\n const TimeDisplay: React.FC<{ time: number }> = (time) => {\n return (\n \n {time.time\n .toString()\n .split('')\n .map((i, k) => {\n return parseInt(i) <= 10 && time.time.toString().split('').length === 1 ? (\n \n 0\n {i}\n \n ) : (\n \n {i}\n \n )\n })}\n \n )\n }\n const renderer = ({ hours, minutes, seconds, completed }: RendererProps) => {\n if (completed) {\n return (CustomCompletionist && ) || \n } else {\n return (\n (CustomCountdownComponent && (\n \n )) || (\n \n \n \n :\n \n \n \n :\n \n \n \n )\n )\n }\n }\n\n return \n}\n\nexport default Countdown\n","import { Box } from '@common/components'\n\ntype sizeEnum = 'small' | 'medium'\nexport const BlinkingDot = (props: { status: string; size?: sizeEnum }) => {\n const { status, size = 'medium' } = props\n const isRecording = status === 'recording'\n return isRecording ? (\n \n ) : null\n}\n\nexport default BlinkingDot\n","import React from 'react'\nimport { IconButton as IconButtonMui, IconButtonProps } from '@mui/material'\n\n// Create a wrapper for the IconButton with forwardRef\nconst IconButton = React.forwardRef((props, ref) => {\n return \n})\n\n// Export the enhanced component\nexport default IconButton\n\n// Optionally re-export everything from the original IconButton\nexport * from '@mui/material/IconButton'\n\nIconButton.displayName = 'IconButton'\n","import React, { useCallback, useEffect, useState } from 'react'\nimport { EmblaCarouselType, EmblaOptionsType } from 'embla-carousel'\nimport useEmblaCarousel from 'embla-carousel-react'\nimport { flushSync } from 'react-dom'\n// import imageByIndex from './imageByIndex'\nimport './styles.css'\nimport IconButton from '../icon-button'\nimport { ArrowBackIosNewIcon, ArrowForwardIosIcon } from '@common/icons'\nimport Box from '../box'\nconst TWEEN_FACTOR = 4.2\n\nconst numberWithinRange = (number: number, min: number, max: number): number =>\n Math.min(Math.max(number, min), max)\n\ntype PropType = {\n options?: EmblaOptionsType\n children: React.ReactNode\n sliders: any\n}\n\nconst EmblaCarousel: React.FC = (props) => {\n const { sliders, options = { loop: true }, children } = props\n const [emblaRef, emblaApi] = useEmblaCarousel(options)\n const [tweenValues, setTweenValues] = useState([])\n const [prevBtnDisabled, setPrevBtnDisabled] = useState(true)\n const [nextBtnDisabled, setNextBtnDisabled] = useState(true)\n const onScroll = useCallback(() => {\n if (!emblaApi) return\n\n const engine = emblaApi.internalEngine()\n const scrollProgress = emblaApi.scrollProgress()\n\n const styles = emblaApi.scrollSnapList().map((scrollSnap, index) => {\n let diffToTarget = scrollSnap - scrollProgress\n\n if (engine.options.loop) {\n engine.slideLooper.loopPoints.forEach((loopItem) => {\n const target = loopItem.target()\n if (index === loopItem.index && target !== 0) {\n const sign = Math.sign(target)\n if (sign === -1) diffToTarget = scrollSnap - (1 + scrollProgress)\n if (sign === 1) diffToTarget = scrollSnap + (1 - scrollProgress)\n }\n })\n }\n const tweenValue = 1 - Math.abs(diffToTarget * TWEEN_FACTOR)\n return numberWithinRange(tweenValue, 0, 1)\n })\n setTweenValues(styles)\n }, [emblaApi, setTweenValues])\n\n const scrollPrev = useCallback(() => emblaApi && emblaApi.scrollPrev(), [emblaApi])\n const scrollNext = useCallback(() => emblaApi && emblaApi.scrollNext(), [emblaApi])\n\n const onSelect = useCallback((emblaApi: EmblaCarouselType) => {\n setPrevBtnDisabled(!emblaApi.canScrollPrev())\n setNextBtnDisabled(!emblaApi.canScrollNext())\n }, [])\n\n useEffect(() => {\n if (!emblaApi) return\n\n onScroll()\n onSelect(emblaApi)\n emblaApi.on('scroll', () => {\n flushSync(() => onScroll())\n })\n emblaApi.on('select', onSelect)\n emblaApi.on('reInit', onScroll)\n }, [emblaApi, onScroll])\n\n return (\n \n
\n
\n
{children}
\n
\n {sliders?.length > 1 && (\n
\n \n \n \n \n \n \n
\n )}\n
\n
\n )\n}\n\nexport const EmblaSlider = (props: { children: React.ReactNode }) => {\n const { children } = props\n return (\n
\n {children}\n
\n )\n}\nexport default EmblaCarousel\n","import Autocomplete, { AutocompleteProps } from '@mui/material/Autocomplete'\nimport { Controller } from '@lib/form'\n\ntype ControllerAutocompleteProps = AutocompleteProps & {\n control?: any\n}\n\nconst ControllerAutocomplete: React.FC = (props) => {\n const { name, control, ...restProps } = props\n if (Boolean(control) && typeof name === 'string') {\n return (\n {\n return (\n {\n args.field.onChange(newValue)\n }}\n />\n )\n }}\n />\n )\n }\n return \n}\n\nexport default ControllerAutocomplete\nexport * from '@mui/material/Autocomplete'\n","import { Button as ButtonMui } from '@mui/material'\nimport { styled } from '@common/utils/styles'\n\nexport const Button = styled(ButtonMui, {\n shouldForwardProp: (prop) => prop !== 'floating',\n})<{ floating?: boolean }>(({ color, floating, theme }) => ({\n transition: 'all .2s ease-in-out',\n ...(floating && {\n textTransform: 'none',\n border: 'none',\n maxWidth: '100%',\n margin: '0 auto',\n display: 'flex',\n fontWeight: 'bold',\n color: color === 'secondary' ? '#202930' : theme.palette.mode === 'dark' ? 'white' : '#3D474F',\n background:\n color === 'primary'\n ? theme.palette.primary.main\n : color === 'secondary'\n ? '#FED363'\n : theme.palette.mode === 'dark'\n ? '#3D474F'\n : 'transparent',\n transform: 'translate(5px, -2px)',\n boxShadow:\n color === 'primary'\n ? 'inset 0px 0px 0px 1px #282E33, -4px 4px 0 0 #282E33'\n : color === 'secondary'\n ? 'inset 0px 0px 0px 0px #665428, -4px 4px 0 0 #665428'\n : theme.palette.mode === 'dark'\n ? 'inset 0px 0px 0px 1px #282E33, -4px 4px 0 0 #282E33'\n : 'inset 0px 0px 0px 1px #0c0f13, -4px 4px 0 0 #0c0f13',\n ':hover ': {\n border: 'none',\n // border: theme.palette.mode === 'dark' ? 'none' : '1px solid rgba(80,70,70,0.5)',\n transform: 'translate(0px, 0px)',\n boxShadow: 'inset 0px 0px 0px 0px #0c0f13, 0px 0px 3px 0 #0c0f13',\n background:\n color === 'primary'\n ? theme.palette.primary.main\n : color === 'secondary'\n ? '#FED363'\n : theme.palette.mode === 'dark'\n ? '#3D474F'\n : 'transparent',\n },\n }),\n}))\n","import { LoadingButton } from '@mui/lab'\nimport { ButtonProps } from '@mui/material/Button'\nimport { Button as MuiButton } from './button.styles'\nimport { forwardRef } from 'react'\n\nconst Button = forwardRef(\n (\n props: {\n floating?: boolean\n loading?: boolean\n } & ButtonProps,\n ref: React.Ref,\n ): React.ReactElement => {\n const { loading, ...restProps } = props\n\n if (typeof loading === 'boolean') {\n return \n }\n return \n },\n)\n\nexport default Button\nexport * from '@mui/material/Button'\nButton.displayName = 'Button'\n","import { Checkbox, CheckboxProps } from '@mui/material'\nimport { Controller } from '@lib/form'\n\ntype ControllerCheckboxProps = CheckboxProps & {\n control?: any\n}\n\nconst ControllerCheckbox: React.FC = (props) => {\n const { name, control, ...restProps } = props\n if (Boolean(control) && typeof name === 'string') {\n return (\n {\n // console.log(args)\n return \n }}\n />\n )\n }\n return \n}\n\nexport default ControllerCheckbox\nexport * from '@mui/material/Checkbox'\n","import { FormControlLabel, styled } from '@mui/material'\n\nexport const FormControlCard = styled(FormControlLabel)(({ theme, checked }) => ({\n justifyContent: 'space-between',\n background: checked ? theme.palette.primary.main : theme.palette.background.paper,\n color: checked ? theme.palette.primary.contrastText : theme.palette.text.primary,\n borderRadius: '10px',\n boxShadow: theme.shadows[3],\n padding: '15px',\n margin: 0,\n}))\n","import React from 'react'\nimport { FormControlLabel as MuiFormControlLabel, useRadioGroup } from '@mui/material'\nimport { FormControlCard } from './form-control-label.styles'\n\nconst FormControlLabel = (props) => {\n const { card, ...restProps } = props\n const radioGroup = useRadioGroup()\n let checked = false\n if (radioGroup) {\n checked = radioGroup.value === props.value\n }\n if (card) {\n return \n }\n return \n}\n\nexport default FormControlLabel\n","export { default } from '@mui/material/LinearProgress'\nexport * from '@mui/material/LinearProgress'\nimport LinearProgress, { LinearProgressProps } from '@mui/material/LinearProgress'\nimport Typography from '@mui/material/Typography'\nimport Box from '@mui/material/Box'\n\nexport function LinearProgressWithLabel(props: LinearProgressProps & { value: number }) {\n return (\n \n \n \n \n \n {`${Math.round(\n props.value,\n )}%`}\n \n \n )\n}\n","import { Chip, IconButton, Paper, styled } from '@mui/material'\n\nexport const Container = styled(Paper)({\n position: 'absolute' as const,\n top: '50%',\n left: '50%',\n transform: 'translate(-50%, -50%)',\n maxWidth: '95%',\n width: 400,\n p: 0,\n borderRadius: 20,\n overflow: 'hidden',\n})\n\nexport const CloseButton = styled(IconButton)({\n position: 'absolute',\n top: 10,\n right: 10,\n})\n\nexport const StyledChip = styled(Chip)(() => ({\n borderRadius: '7px',\n backgroundColor: ' #A196E4',\n color: 'white',\n}))\n","import {\n Box,\n Fade,\n Grow,\n Modal as MuiModal,\n Slide,\n Zoom,\n PaperProps,\n ModalProps as MuiModalProps,\n Backdrop,\n IconButton,\n} from '@mui/material'\nimport { TransitionProps as MuiTransitionProps } from '@mui/material/transitions'\nimport CloseIcon from '@mui/icons-material/Close'\nimport { CloseButton, Container } from './modal.styles'\nimport React from 'react'\n\nexport type ModalProps = MuiModalProps & {\n paperProps?: PaperProps\n showCloseBtn?: boolean\n transition?: string | undefined\n onClose: React.MouseEventHandler\n}\n\nconst Modal: React.FC = (props) => {\n const {\n open,\n onClose,\n children,\n paperProps,\n showCloseBtn = true,\n transition = 'fade',\n ...restProps\n } = props\n return (\n \n \n \n {showCloseBtn && (\n \n \n \n )}\n {children}\n \n \n \n )\n}\n\ninterface TransitionProps extends MuiTransitionProps {\n transition: string | undefined\n children: React.ReactNode\n in: boolean\n}\n\nconst Transition = React.forwardRef((props, ref) => {\n const { transition, children, in: inProp, ...restProps } = props\n if (transition === 'fade') {\n return (\n \n {children}\n \n )\n }\n if (transition === 'grow') {\n return (\n \n {children}\n \n )\n }\n if (transition === 'zoom') {\n return (\n \n {children}\n \n )\n }\n if (transition === 'slide') {\n return (\n \n {children}\n \n )\n }\n return {children}\n})\n\nModal.displayName = 'Modal'\nTransition.displayName = 'Transition'\n\nexport default Modal\nexport * from '@mui/material/Modal'\n","import { RadioGroup, RadioGroupProps as MuiRadioGroupProps } from '@mui/material'\nimport { Controller } from '@lib/form'\n\ntype ControllerRadioGroupProps = MuiRadioGroupProps & {\n control?: any\n}\n\nconst ControllerRadioGroup: React.FC = (props) => {\n const { name, control, ...restProps } = props\n if (Boolean(control) && typeof name === 'string') {\n return (\n {\n return \n }}\n />\n )\n }\n return \n}\n\nexport default ControllerRadioGroup\nexport * from '@mui/material/RadioGroup'\n","import { SelectProps } from '@mui/material'\nimport { Controller } from '@lib/form'\nimport Select from '@mui/material/Select'\n\ntype ControllerSelectProps = SelectProps & {\n control?: any\n}\n\nconst ControllerSelect: React.FC = (props) => {\n const { name, control, ...restProps } = props\n if (Boolean(control) && typeof name === 'string') {\n return (\n {\n // console.log(args)\n return \n}\n\nexport default ControllerSelect\nexport * from '@mui/material/Select'\n","import React from 'react'\nimport Slider, { SliderProps } from '@mui/material/Slider'\nimport { Controller } from '@lib/form'\n\ntype ControllerSliderProps = SliderProps & {\n control?: any\n}\n\nconst ControllerSlider: React.FC = React.forwardRef((props, ref) => {\n const { name, control, ...restProps } = props\n if (Boolean(control) && typeof name === 'string') {\n return (\n {\n return \n }}\n />\n )\n }\n return \n})\n\nControllerSlider.displayName = 'ControllerSlider'\n\nexport default ControllerSlider\nexport * from '@mui/material/Slider'\n","import { styled, SwitchProps, Switch as SwitchMui } from '@mui/material'\nimport React from 'react'\nimport { Controller } from '@lib/form'\n\ntype ControllerSwitchProps = SwitchProps & {\n control?: any\n}\n\nconst Switch = styled(SwitchMui)(({ theme }) => ({\n width: 28,\n height: 16,\n padding: 0,\n display: 'flex',\n '&:active': {\n '& .MuiSwitch-thumb': {\n width: 15,\n },\n '& .MuiSwitch-switchBase.Mui-checked': {\n transform: 'translateX(9px)',\n },\n },\n '& .MuiSwitch-switchBase': {\n padding: 2,\n '&.Mui-checked': {\n transform: 'translateX(12px)',\n color: '#fff',\n '& + .MuiSwitch-track': {\n opacity: 1,\n backgroundColor: theme.palette.mode === 'dark' ? '#177ddc' : '#1890ff',\n },\n },\n },\n '& .MuiSwitch-thumb': {\n boxShadow: '0 2px 4px 0 rgb(0 35 11 / 20%)',\n width: 12,\n height: 12,\n borderRadius: 6,\n transition: theme.transitions.create(['width'], {\n duration: 200,\n }),\n },\n '& .MuiSwitch-track': {\n borderRadius: 16 / 2,\n opacity: 1,\n backgroundColor: theme.palette.mode === 'dark' ? 'rgba(255,255,255,.35)' : 'rgba(0,0,0,.25)',\n boxSizing: 'border-box',\n },\n}))\n\nconst ControllerSwitch: React.FC = React.forwardRef((props, ref) => {\n const { name, control, ...restProps } = props\n if (Boolean(control) && typeof name === 'string') {\n return (\n {\n return \n }}\n />\n )\n }\n return \n})\n\nControllerSwitch.displayName = 'ControllerSwitch'\n\nexport default ControllerSwitch\nexport * from '@mui/material/Switch'\n","import { Controller } from '@lib/form'\nimport TextField, { TextFieldProps } from '@mui/material/TextField'\nimport React from 'react'\n// import { TextField } from \"./text-field.styles\"\n\ntype ControllerTextFieldProps = TextFieldProps & {\n control?: any\n}\n\nconst ControllerTextField: React.FC = React.forwardRef((props, ref) => {\n const { variant = 'outlined', name, control, ...restProps } = props\n if (Boolean(control) && typeof name === 'string') {\n return (\n {\n return (\n \n )\n }}\n />\n )\n }\n return \n})\n\nControllerTextField.displayName = 'ControllerTextField'\nexport default ControllerTextField\nexport * from '@mui/material/TextField'\n","import { Box } from '@common/components'\nimport { styled } from '@mui/material'\nimport { motion } from 'motion/react'\n\nexport const SwitchContainer = styled(Box)(({ theme }) => ({\n display: 'flex',\n padding: '5px',\n backgroundColor: theme.palette.mode === 'light' ? 'rgba(0,0,0,0.1)' : 'rgba(230,230,230,0.3)',\n borderRadius: '5px',\n cursor: 'pointer',\n position: 'relative',\n zIndex: '10',\n}))\nexport const Dot = styled(motion.div)(({ theme }) => ({\n borderRadius: '5px',\n backgroundColor: 'white',\n zIndex: '-1',\n}))\n","import React from 'react'\nimport { motion } from 'motion/react'\nimport { Dot, SwitchContainer } from './switch-btn.styles'\nimport { Typography } from '@mui/material'\n\ntype SwitchBtnProps = {\n direction?: string\n defaultChecked?: boolean\n firstLabel: string\n secondLabel: string\n onChange?: () => void\n}\n\nexport const SwitchBtn = (props: SwitchBtnProps) => {\n const [switched, setSwitched] = React.useState(props.defaultChecked || false)\n const { direction = 'horizontal', firstLabel, secondLabel, onChange } = props\n let boxStyles = {}\n let dotStyles = {}\n let textStyles = {}\n let variants = {\n label: {\n selected: { color: '#4681e0' },\n none: { opacity: 0.3 },\n },\n }\n if (firstLabel && secondLabel) {\n switch (direction) {\n case 'horizontal':\n boxStyles = {\n width: 300,\n height: 36,\n }\n dotStyles = {\n width: '50%',\n height: '100%',\n }\n textStyles = {\n firstLabel: { top: '50%', left: '25%', transform: 'translate(-50%,-50%)' },\n secondLabel: {\n top: '50%',\n right: '25%',\n transform: 'translate(50%,-50%)',\n },\n }\n variants = {\n ...variants,\n switch: {\n right: { x: ['0%', '100%'], y: '0%' },\n left: { x: ['100%', '0%'], y: '0%' },\n },\n }\n break\n case 'vertical':\n boxStyles = {\n width: 400,\n height: 70,\n }\n dotStyles = { height: '50%', width: '100%' }\n textStyles = {\n firstLabel: { top: 7, left: 0, right: 0 },\n secondLabel: {\n bottom: 7,\n right: 0,\n left: 0,\n },\n }\n variants = {\n ...variants,\n switch: {\n right: { y: ['0%', '100%'], x: '0%' },\n left: { y: ['100%', '0%'], x: '0%' },\n },\n }\n break\n }\n } else {\n boxStyles = {\n width: 400,\n height: 36,\n }\n dotStyles = {\n width: '100%',\n height: '100%',\n }\n textStyles = {\n firstLabel: { width: '100%', top: '50%', left: '50%', transform: 'translate(-50%,-50%)' },\n }\n variants = {\n ...variants,\n switch: {\n right: { x: ['0%', '100%'], y: '0%' },\n left: { x: ['100%', '0%'], y: '0%' },\n },\n }\n }\n const handleSwitch = () => {\n if (firstLabel && secondLabel && onChange) {\n setSwitched((switched) => !switched)\n onChange()\n }\n }\n return (\n \n \n {firstLabel}\n \n \n \n {secondLabel}\n \n \n )\n}\n","import { CheckCircleOutlineIcon } from '@common/icons'\nimport { Box, Card, Divider, Stack, Typography } from '@mui/material'\nimport React from 'react'\nimport { useTranslation } from 'react-i18next'\n\nexport const PlanCard = (props) => {\n const {\n highlighted,\n title,\n subprice,\n price,\n detail,\n callToAction: CallToAction,\n description,\n planImg,\n icons = false,\n ...restProps\n } = props\n const { t } = useTranslation()\n\n return (\n \n \n \n {title}\n \n {planImg ? (\n planImg\n ) : (\n \n {subprice}\n \n )}\n {price && (\n \n {price}\n \n )}\n {detail && (\n \n {detail}\n \n )}\n \n \n \n \n \n \n {description?.map((text, index) => (\n \n {icons && }\n \n {text}\n \n \n ))}\n \n \n )\n}\n","const errorHandler = (error: any): string => {\n return error?.data?.detail?.error_message != null\n ? error.data.detail.error_message\n : error?.data?.detail?.msg\n ? error.data.detail.msg\n : 'An error has occurred'\n}\n\nexport default errorHandler\n","import { useEventGetHuddleHostsQuery } from '@app/services'\n\nexport const useIsHost = (userId?: number | null, eventHostId?: number | null) => {\n const { data: huddleHosts = [] } = useEventGetHuddleHostsQuery()\n\n if (!userId) {\n return false\n }\n\n const isEventHost = userId === eventHostId\n\n const isHuddleHost = huddleHosts.includes(userId)\n return isEventHost || isHuddleHost\n}\n","import { useAppSelector } from '@common/hooks'\nimport { useLocation } from 'react-router-dom'\nimport { selectUser } from '../auth-slice'\nimport { PublicUserProfile } from '@app/services'\nimport { useIsHost } from '@features/event/utils/is-host'\n\ninterface UserHookReturn {\n user: PublicUserProfile | undefined\n isTeacher: boolean\n isStudent: boolean\n isSubscribed: boolean\n isCompany: boolean | undefined\n isPartner: boolean | undefined\n userLanguages: Array<{ language: string; proficiency: number }> | undefined\n isHost: boolean\n}\n\nconst useUser = (event_host_id?: number): UserHookReturn => {\n const location = useLocation()\n const user: PublicUserProfile =\n location.pathname === '/demo'\n ? {\n id: 93,\n username: 'Demo',\n email: 'demo@pengguin.com',\n bio: null,\n image: 'https://www.gravatar.com/avatar/ea618382a0c912bdec1c295b553deace',\n full_name: 'Demo',\n country: null,\n pronouns: 1,\n date_of_birth: null,\n learning: [\n {\n language: 'en',\n proficiency: 4,\n },\n ],\n address: null,\n speaking: [\n {\n language: 'en',\n proficiency: 4,\n },\n ],\n status: 'STUDENT',\n profile: null,\n }\n : useAppSelector(selectUser)\n\n const isTeacher = user?.status === 'TEACHER'\n const isStudent = user?.status === 'STUDENT'\n const isSubscribed = user?.plan !== 'free' && isStudent\n const isCompany = user?.is_company ?? undefined\n const isPartner = user?.profile?.partner ?? undefined\n\n const userLanguages =\n user && user.speaking && user.learning\n ? [\n ...user.speaking,\n ...user.learning.filter(\n (item) => user.speaking.map((e) => e.language).indexOf(item.language) < 0,\n ),\n ]\n : undefined\n\n const isHost = useIsHost(user?.id, event_host_id)\n\n return { user, isTeacher, isStudent, userLanguages, isHost, isPartner, isCompany, isSubscribed }\n}\n\nexport default useUser\n","import { styled } from '@mui/material'\nimport MuiAccordion from '@mui/material/Accordion'\nimport MuiAccordionSummary from '@mui/material/AccordionSummary'\nimport MuiAccordionDetails from '@mui/material/AccordionDetails'\n\nexport const Accordion = styled(MuiAccordion)({\n borderTop: '1px solid',\n background: 'rgba(0,0,0,0)',\n '&:not(:last-child)': {\n borderBottom: 0,\n },\n '&:before': {\n display: 'none',\n },\n})\n\nexport const AccordionSummary = styled(MuiAccordionSummary)({\n backgroundColor: 'rgba(0, 0, 0,0)',\n flexDirection: 'row',\n '& .MuiAccordionSummary-expandIconWrapper.Mui-expanded': {\n transform: 'rotate(180deg)',\n },\n '& .MuiAccordionSummary-content': {\n marginLeft: '4px',\n },\n})\n\nexport const AccordionDetails = styled(MuiAccordionDetails)({\n marginTop: '-10px',\n maxWidth: '95%',\n // borderTop: \"1px solid rgba(255, 255, 255, 1)\",\n})\n","import { ArrowForwardIosSharpIcon } from '@common/icons'\nimport { Typography } from '@common/components'\nimport { Accordion, AccordionDetails, AccordionSummary } from './question-accordion.styles'\n\ninterface QuestionAccordionProps {\n question: {\n question: string | React.ReactNode\n answer: string | React.ReactNode\n }\n color?: string\n}\n\nexport const QuestionAccordion = (props: QuestionAccordionProps) => {\n const { question, color = '#fff' } = props\n return (\n \n \n }\n >\n \n {question.question}\n \n \n {question.answer}\n \n )\n}\n","import { styled } from '@common/utils/styles'\nimport { Typography as TypographyMui } from '@common/components'\n\nexport const Typography = styled(TypographyMui)(({}) => ({\n // eslint-disable-next-line quotes\n fontFamily: \"'Inter','Roboto', 'Poppins', sans-serif\",\n}))\n","import { Box, Button, Divider, Paper, Stack } from '@common/components'\nimport { CheckCircleIcon } from '@common/icons'\nimport { Typography } from './card-pricing.styles'\nimport { useNeopaymentListUserSubscriptionsQuery } from '@app/services/auto-generated/neopayment'\nimport { useTheme } from '@features/theme/theme.hooks'\n\nconst CardPricing = (props: {\n popular?: boolean\n highlighted?: boolean\n features: string[]\n plan: string\n price: string\n description: string\n discount?: string\n originalPrice?: string\n callToAction?: () => JSX.Element\n isCurrentPlan?: boolean\n plan_id?: string\n}) => {\n const { theme } = useTheme()\n const { data: userSubscriptions } = useNeopaymentListUserSubscriptionsQuery()\n const currentSubscription = userSubscriptions?.subscriptions[0]\n\n const getDaysLeft = () => {\n if (!currentSubscription?.end_date || !currentSubscription?.cancel_at_period_end) return null\n const endDate = new Date(currentSubscription.end_date)\n const today = new Date()\n const diffTime = Math.abs(endDate.getTime() - today.getTime())\n const diffDays = Math.ceil(diffTime / (1000 * 60 * 60 * 24))\n return diffDays\n }\n\n const daysLeft = getDaysLeft()\n const subscriptionStatus = currentSubscription?.cancel_at_period_end\n ? `${daysLeft} days left`\n : 'Subscribed'\n\n return (\n \n {props.isCurrentPlan && props.plan_id !== 'free' && (\n <>\n \n \n {subscriptionStatus}\n \n \n \n )}\n\n {props.popular && (\n \n Popular\n \n )}\n\n \n \n {props.plan}\n \n \n \n {props.price}\n / month\n \n {props.originalPrice && props.discount && (\n \n \n {props.originalPrice}\n {' '}\n {/*
*/}\n {props.discount}\n \n )}\n
\n \n {props.isCurrentPlan ? (\n \n Current Plan\n \n ) : (\n props.callToAction && \n )}\n \n theme.palette.mode === 'dark'\n ? props.highlighted\n ? '#D1D5DB'\n : '#E5E5E5'\n : props.highlighted\n ? '#D1D5DB'\n : '#4B5563',\n }}\n >\n {props.description}\n \n \n \n {props.features?.map((feature, index) => (\n <>\n \n \n \n theme.palette.mode === 'dark'\n ? props.highlighted\n ? '#D1D5DB'\n : '#E5E5E5'\n : props.highlighted\n ? '#D1D5DB'\n : '#4B5563',\n }}\n >\n {feature}\n \n \n {index !== props.features.length - 1 && }\n \n ))}\n \n
\n \n )\n}\n\nexport default CardPricing\n","import {\n Button as ButtonMui,\n Container as ContainerMui,\n styled,\n Typography as MuiTypography,\n Box,\n} from '@mui/material'\n\nexport const Button = styled(ButtonMui)({\n marginTop: '50px',\n marginBottom: '100px',\n background: '#99E2FF',\n color: '#000',\n ':hover': { background: '#75AFC6' },\n})\n\nexport const Container = styled(ContainerMui)({\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n})\nexport const ContainerBottom = styled(Box)({\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center',\n width: '100%',\n marginRight: 'auto',\n marginLeft: 'auto',\n paddingRight: ' 2rem' /* 32px */,\n paddingLeft: '2rem' /* 32px */,\n maxWidth: '1400px',\n})\n\nexport const Typography = styled(MuiTypography)({\n fontFamily: ' sans-serif',\n color: '#c5c6c9',\n fontSize: '14px',\n})\n","import { Box, Divider, Stack, Link as MuiLink } from '@mui/material'\nimport { Link } from 'react-router-dom'\nimport { PRIVACY_POLICY, TERMS_OF_USE } from '@common/constants/routes'\nimport { Typography, ContainerBottom } from './footer.styles'\n\nconst Footer = () => {\n return (\n \n \n \n \n All rights reserved ©{' '}\n \n SpeakDuo\n {' '}\n 2024.\n \n \n \n {[\n {\n label: 'Terms of Use',\n to: TERMS_OF_USE,\n },\n {\n label: 'Privacy Policy',\n to: PRIVACY_POLICY,\n },\n // { label: t('footer.blog', 'Blog'), to: BLOG, external: true },\n // {\n // label: t('footer.schools', 'Schools'),\n // to: FOR_SCHOOLS,\n // external: true,\n // },\n ].map((link, index) => (\n \n {link.label}\n \n ))}\n \n {/* \n \n \n Upgrade your account\n \n */}\n \n \n \n )\n}\n\nexport default Footer\n","import { ThemeOptions } from '@common/utils/styles'\n\nconst globalTheme: ThemeOptions = {\n typography: {\n fontFamily: \"'Poppins', sans-serif\",\n fontSize: 14,\n h1: {\n fontWeight: 500,\n fontSize: '70px',\n },\n h2: {\n fontWeight: 500,\n fontSize: '60px',\n },\n h3: {\n fontWeight: 400,\n fontSize: '50px',\n },\n h4: {\n fontWeight: 400,\n fontSize: '35px',\n },\n h5: {\n fontWeight: 400,\n fontSize: '25px',\n },\n h6: {\n fontWeight: 400,\n fontSize: '22px',\n },\n h7: {\n fontWeight: 400,\n fontSize: '17px',\n },\n body1: {\n fontWeight: 400,\n },\n body2: {\n fontWeight: 400,\n },\n },\n components: {\n MuiButton: {\n styleOverrides: {\n root: {\n fontWeight: 400,\n textTransform: 'capitalize',\n borderRadius: '5px',\n },\n sizeSmall: {\n // borderRadius: \"22px\",\n },\n sizeLarge: {\n borderRadius: '5px',\n fontSize: '26px',\n padding: '6px 30px',\n },\n },\n },\n },\n}\n\nexport default globalTheme\n","import { createTheme, responsiveFontSizes } from '@common/utils/styles'\nimport globalTheme from './global-theme'\n\nconst darkTheme = createTheme({\n ...globalTheme,\n palette: {\n mode: 'dark',\n primary: {\n main: '#4681e0',\n contrastText: '#fff',\n },\n secondary: { main: '#ff9641', contrastText: '#38281ED9' },\n tertiary: { main: '#5556c7', contrastText: '#fff' },\n dark: { main: '#010101', dark: 'rgb(40,40,40)', contrastText: '#fff' },\n light: {\n main: '#EBECED',\n light: '#EBECED',\n dark: 'rgb(150,150,150)',\n contrastText: '#010101',\n },\n background: {\n default: '#131517',\n paper: '#141517',\n },\n neutral: {\n main: '#fff',\n contrastText: '#000',\n },\n icons: {\n main: '#fff',\n dark: '#dcdcdc',\n contrastText: '#2A2F41',\n },\n },\n components: {\n ...globalTheme.components,\n MuiCssBaseline: {\n styleOverrides: {\n '*::-webkit-scrollbar': {\n height: '10px',\n width: '12px',\n // backgroundColor: \"rgba(0, 24, 53, 0.5)\",\n },\n '*::-webkit-scrollbar-track': {\n boxShadow: 'inset 0 0 6px rgba(80, 80, 80, 0.1)',\n },\n '*::-webkit-scrollbar-thumb': {\n borderRadius: '5px',\n backgroundColor: 'rgba(255, 255, 255, 0.5)',\n },\n },\n },\n },\n})\n\nexport default responsiveFontSizes(darkTheme)\n","import { createTheme, responsiveFontSizes } from '@common/utils/styles'\nimport globalTheme from './global-theme'\n\nconst lightTheme = createTheme({\n ...globalTheme,\n palette: {\n mode: 'light',\n primary: {\n main: '#4681e0',\n contrastText: '#fff',\n },\n secondary: { main: '#FF8B01', contrastText: '#fff' },\n tertiary: { main: '#5556c780', contrastText: '#fff' },\n dark: { main: '#010101', dark: 'rgb(40,40,40)', contrastText: '#fff' },\n light: {\n main: '#EBECED',\n light: '#EBECED',\n dark: 'rgb(150,150,150)',\n contrastText: '#010101',\n },\n neutral: {\n main: 'rgb(70,70,70)',\n contrastText: '#fff',\n },\n background: {\n default: '#D8EFFF',\n },\n icons: {\n main: '#2A2F41',\n dark: '#1d202d',\n light: '#404761',\n contrastText: '#ffffff',\n },\n },\n components: {\n ...globalTheme.components,\n MuiCssBaseline: {\n styleOverrides: {\n '*::-webkit-scrollbar': {\n height: '10px',\n width: '12px',\n backgroundColor: 'transparent',\n },\n '*::-webkit-scrollbar-track': {\n // boxShadow: 'inset 0 0 6px rgba(80, 80, 80,1)',\n },\n '*::-webkit-scrollbar-thumb': {\n borderRadius: '5px',\n backgroundColor: 'rgba(30, 30, 30, 0.5)',\n },\n },\n },\n },\n})\n\nexport default responsiveFontSizes(lightTheme)\n","import React from 'react'\n\nconst HeaderPlaceholder = () => {\n // TODO fill it with skeletons\n return
\n}\n\nexport default HeaderPlaceholder\n","import styled from '@emotion/styled'\nimport { alpha, inputBaseClasses } from '@mui/material'\nimport { TextField } from '@common/components'\nimport { Box } from '@common/components'\nimport { Card as MuiCard, CardActionArea as MuiCardActionArea, Typography } from '@mui/material'\n\nconst StyledTextField = styled(TextField)(({ theme }) => ({\n [`& .${inputBaseClasses.root}`]: {\n borderRadius: '11px',\n backgroundColor: alpha('#A6ADB5', 0.15),\n },\n [`& .${inputBaseClasses.input}`]: {\n borderRadius: '11px',\n },\n}))\nexport default StyledTextField\n\nexport const Card = styled(MuiCard)({\n width: '200px',\n height: '280px',\n maxWidth: '100%',\n backgroundSize: 'cover',\n backgroundPosition: 'center',\n borderRadius: '20px',\n})\n\nexport const CardActionArea = styled(MuiCardActionArea)({\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center',\n alignItems: 'center',\n width: '100%',\n height: '100%',\n})\n\nexport const ImageOuterContainer = styled(Box, {\n shouldForwardProp: (prop) => !['isTeach'].includes(prop),\n})(({ isTeach }) => ({\n height: '200px',\n background: isTeach ? '#E21C3D' : '#1469CE',\n borderRadius: '13.6098px 13.6098px 0px 0px',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n width: '100%',\n}))\n\nexport const ImageInnerContainer = styled(Box, {\n shouldForwardProp: (prop) => !['isTeach'].includes(prop),\n})(({ isTeach }) => ({\n background: isTeach ? '#D11132' : '#0C53C1',\n borderRadius: '50%',\n width: '120px',\n height: '120px',\n}))\n\nexport const TitleContainer = styled(Box)({\n display: 'flex',\n flexDirection: 'column',\n height: '80px',\n alignItems: 'center',\n justifyContent: 'center',\n})\n\nexport const TitleTypography = styled(Typography)({\n fontFamily: 'Poppins',\n fontWeight: '300',\n fontSize: '30px',\n})\n\nexport const FlagsContainer = styled(Box)({\n display: 'flex',\n flexWrap: 'wrap',\n alignItems: 'center',\n justifyContent: 'space-between',\n padding: '20px',\n})\n\nexport const Flag = styled(Box, {\n shouldForwardProp: (prop) => !['isSelected'].includes(prop),\n})(({ isSelected }) => ({\n border: isSelected && '4px solid rgba(0, 97, 253, 0.78)',\n '&:hover ': {\n boxShadow: '0px 0px 4px black',\n },\n transition: '.2s',\n cursor: 'pointer',\n}))\n","export default \"__VITE_ASSET__Bhr4AALc__\"","export default \"__VITE_ASSET__p5VsJUio__\"","import { useModulesGetModuleByModuleIdQuery } from '@app/services/auto-generated/modules'\nimport { Language } from '@types'\n\nconst useLanguages = () => {\n const { data, isLoading, isSuccess } = useModulesGetModuleByModuleIdQuery({\n moduleId: 'Languages',\n })\n\n const languages: Language[] = data ? data.config.languages : []\n\n const getLanguageFromCode = (languageCode: string) => {\n const target = languages.find((lng) => lng.code === languageCode)\n return target\n }\n\n const enhanceLanguages = (languages) => {\n if (!isSuccess) {\n return []\n }\n return languages.map((lang) =>\n getLanguageFromCode(\n typeof lang === 'string' ? lang : lang.language ?? lang.code ?? lang.language_code,\n ),\n )\n }\n\n return { languages, isLoading, getLanguageFromCode, enhanceLanguages }\n}\n\nexport default useLanguages\n","import { useModulesGetModuleByModuleIdQuery } from '@app/services/auto-generated/modules'\n\ninterface Accent {\n code: string\n name: string\n flag_image: string\n}\n\nconst useAccents = () => {\n const { data, isLoading, isSuccess } = useModulesGetModuleByModuleIdQuery({\n moduleId: 'PreferredAccentModule',\n })\n\n const languages: Accent[] = data ? data.config.accents : []\n\n const getAccentFromCode = (languageCode: string) => {\n const target = languages.find((lng) => lng.code === languageCode)\n return target\n }\n\n const enhanceAccents = (accent) => {\n const acc = languages.filter((lang) => lang.code === accent)\n if (acc.length === 0) {\n return null\n }\n return acc[0]\n }\n\n return { languages, isLoading, getAccentFromCode, enhanceAccents, isSuccess }\n}\n\nexport default useAccents\n","import { Box, Paper } from '@common/components'\nimport { styled } from '@common/utils/styles'\nimport container from '../../../../common/components/container'\n\nexport const StepContainer = styled(container)({\n display: 'flex',\n flexDirection: 'column',\n height: '100%',\n paddingTop: '50px',\n paddingBottom: 13,\n})\n\nexport const Container = styled(Paper)({\n position: 'absolute',\n top: '50%',\n left: '50%',\n transform: 'translate(-50%, -50%)',\n width: 900,\n maxWidth: '90%',\n borderRadius: '15px',\n overflow: 'hidden',\n})\n\nexport const RelativeContainer = styled(Box)({\n position: 'relative',\n width: '100%',\n height: { sm: '600px', md: '100%' },\n display: 'flex',\n})\n\nexport const ProgressViewContainer = styled(Box)({\n width: '100%',\n height: '100%',\n})\n","import { useToggle, useTranslation } from '@common/hooks'\nimport {\n useModulesGetUserModulesQuery,\n useModulesSubmitModuleResultMutation,\n} from '@app/services/auto-generated/modules'\nimport {\n Autocomplete,\n Box,\n Button,\n Container,\n Modal,\n ProgressView,\n Stack,\n TextField,\n Typography,\n} from '@common/components'\nimport { cloneElement, useEffect, useState } from 'react'\nimport {\n Card,\n CardActionArea,\n Flag,\n FlagsContainer,\n ImageInnerContainer,\n ImageOuterContainer,\n TitleContainer,\n TitleTypography,\n} from './modules-checker.styles'\nimport GuestLearn from '@assets/images/GuestLearn.png'\nimport GuestTeach from '@assets/images/GuestTeach.png'\nimport { useLanguages } from '@features/languages/hooks'\nimport { SubmitHandler, useForm } from 'react-hook-form'\nimport { ProgressViewContainer } from '@features/event/components/create-event-modal/create-event-modal.styles'\nimport { useTheme } from '@features/theme/theme.hooks'\nimport { useNavigate } from 'react-router-dom'\nimport { PRICING_ROUTE } from '@common/constants/routes'\nimport { useLazyClassroomGetCurrentClassroomQuery } from '@app/services/auto-generated/classroom'\n\nconst ModulesChecker = () => {\n const { data: modules, refetch } = useModulesGetUserModulesQuery()\n const [sendModule] = useModulesSubmitModuleResultMutation()\n const [getCurrentClassroom] = useLazyClassroomGetCurrentClassroomQuery()\n\n const { open, handleOpen, handleClose } = useToggle(false)\n const [currentStep, setCurrentStep] = useState(0)\n const navigate = useNavigate()\n const handleNextStep = () => {\n setCurrentStep(currentStep + 1)\n }\n\n useEffect(() => {\n if (modules && modules.required && modules.required.length > 0) {\n handleOpen()\n }\n }, [modules])\n\n const { handleSubmit, setValue } = useForm({\n defaultValues: {\n learning: [],\n status: 'STUDENT',\n },\n })\n\n const onSubmit: SubmitHandler = async (formState) => {\n try {\n if (modules?.required.includes('TeacherStudentQuestionnaire')) {\n await sendModule({\n moduleResult: {\n id: 'TeacherStudentQuestionnaire',\n data: { status: formState.status },\n },\n }).unwrap()\n }\n if (modules?.required.includes('LanguageQuestionnaire')) {\n await sendModule({\n moduleResult: {\n id: 'LanguageQuestionnaire',\n data: {\n speaking: [{ language: 'en', proficiency: 4 }],\n learning: [{ language: 'en', proficiency: 4 }],\n },\n },\n }).unwrap()\n }\n if (formState.status === 'TEACHER') {\n navigate(PRICING_ROUTE)\n }\n await getCurrentClassroom()\n await refetch()\n handleClose()\n } catch (err) {}\n }\n\n const steps = () => {\n const arrayOfSteps = []\n if (modules?.required.includes('TeacherStudentQuestionnaire')) {\n arrayOfSteps.push()\n }\n // if (modules?.required.includes('LanguageQuestionnaire')) {\n // arrayOfSteps.push(\n // ,\n // )\n // }\n return arrayOfSteps\n }\n\n return (\n \n \n \n {steps().map((step, index) => {\n return cloneElement(step, { isLastStep: index === steps().length - 1 })\n })}\n \n \n \n )\n}\nexport default ModulesChecker\n\nconst StatusStep = (props) => {\n const { handleNextStep, setValue, isLastStep } = props\n const [selectedCard, setSelectedCard] = useState(0)\n const { t } = useTranslation()\n return (\n \n \n \n \n {t('login.loginAsGuest.stp1.action', \"I'm here to ...\")}\n \n \n {\n setValue('status', 'TEACHER')\n setSelectedCard(1)\n }}\n />\n {\n setValue('status', 'STUDENT')\n setSelectedCard(2)\n }}\n />\n \n \n \n \n {' '}\n {isLastStep ? 'Submit' : 'Next'}\n \n \n )\n}\n\nconst LanguageStep = (props) => {\n const { setValue, handleNextStep, getValues, isLastStep } = props\n const { languages } = useLanguages()\n const { t } = useTranslation()\n const isTeacher = getValues('status') === 'teacher'\n const handleChange = (e: React.ChangeEvent, value: any): void => {\n setValue('learning', [{ language: value?.code, proficiency: 4 }])\n handleNextStep()\n }\n const [isSelected, setIsSelected] = useState(0)\n return (\n \n \n \n \n {isTeacher\n ? t('register.teaching-language-question', 'What language are you teaching ?')\n : t('register.native-language-question', 'What is your native language ?')}\n \n \n <>\n {langs.map((elem, key) => (\n {\n setValue('learning', [{ language: elem.code, proficiency: 4 }])\n setIsSelected(key)\n }}\n />\n ))}\n \n \n option.name ?? ''}\n renderOption={(props, option, state) => (\n \n {option.name}\n \n \n )}\n renderInput={(params: any) => {\n return \n }}\n size='small'\n onChange={handleChange}\n />\n \n \n \n {' '}\n {isLastStep ? 'Submit' : 'Next'}\n \n \n )\n}\n\nconst RegisterCard = (props) => {\n const { isTeach, onClick, selected } = props\n const { t } = useTranslation()\n const { isLight } = useTheme()\n const cardStyles = {\n border: selected ? (isLight ? '4px solid #0000008a' : '4px solid #C5C6D0') : 'none',\n borderRadius: '20px',\n }\n const handleCardClick = () => {\n onClick()\n }\n return (\n \n \n \n \n \n \n \n \n \n {isTeach\n ? t('login.loginAsGuestCards.teach', 'Teach')\n : t('login.loginAsGuestCards.learn', 'Learn')}\n \n \n \n \n )\n}\n\nconst langs = [\n {\n name: 'English',\n flag_image: 'https://flagicons.lipis.dev/flags/4x3/gb.svg',\n code: 'en',\n },\n {\n name: 'French',\n flag_image: 'https://flagicons.lipis.dev/flags/4x3/fr.svg',\n code: 'fr',\n },\n {\n name: 'German',\n flag_image: 'https://flagicons.lipis.dev/flags/4x3/de.svg',\n code: 'de',\n },\n {\n name: 'Italian',\n flag_image: 'https://flagicons.lipis.dev/flags/4x3/it.svg',\n code: 'it',\n },\n {\n name: 'Spanish',\n flag_image: 'https://flagicons.lipis.dev/flags/4x3/es.svg',\n code: 'es',\n },\n {\n name: 'Portuguese',\n flag_image: 'https://flagicons.lipis.dev/flags/4x3/br.svg',\n code: 'pt',\n },\n {\n name: 'Russian',\n flag_image: 'https://flagicons.lipis.dev/flags/4x3/ru.svg',\n code: 'ru',\n },\n {\n name: 'Arabic',\n flag_image: 'https://flagicons.lipis.dev/flags/4x3/tn.svg',\n code: 'ar',\n },\n {\n name: 'Japanese',\n flag_image: 'https://flagicons.lipis.dev/flags/4x3/jp.svg',\n code: 'ja',\n },\n {\n name: 'Chinese',\n flag_image: 'https://flagicons.lipis.dev/flags/4x3/cn.svg',\n code: 'zh-CN',\n },\n // {\n // name: \"Korean\",\n // flag_image: \"https://flagicons.lipis.dev/flags/4x3/kr.svg\",\n // code: \"ko\",\n // },\n]\n","export default \"__VITE_ASSET__DCzbJ3Pr__\"","export default \"__VITE_ASSET__B3AWFcXJ__\"","import { Button, Link, Modal, Stack, Typography } from '@common/components'\nimport pengguinLogo from '@assets/svg/pengguin-logo.svg'\nimport { useTheme } from '@features/theme/theme.hooks'\nimport { useAppDispatch, useAppSelector } from '@common/hooks'\nimport { selectUserFirstTime, setUserFirstTime } from '@features/auth/auth-slice'\nimport isepakLogoDark from '@assets/svg/logo-speakduo-dark.svg'\nimport { isUNSW } from '@utils'\nimport { useLocation } from 'react-router-dom'\nimport { DASHBOARD_ROUTE } from '@common/constants/routes'\n\nconst WelcomeModal = () => {\n const { isDark } = useTheme()\n const location = useLocation()\n const firstTime = useAppSelector(selectUserFirstTime)\n const dispatch = useAppDispatch()\n const handleClose = () => {\n dispatch(setUserFirstTime(false))\n }\n\n return (\n \n \n \n Welcome to SpeakDuo!\n \n \n \n SpeakDuo helps you improve your English speaking skills in 3 steps:\n \n \n \n Join our Live Workshops to practice speaking with like-minded learners every day.\n \n \n Check out the corrections from our Speech AI and learn from your mistakes.\n \n \n Answer the questions in the proficiency test to see how you’ve progressed.\n \n \n \n Full Tutorial\n \n \n \n )\n}\n\nexport default WelcomeModal\n","export default \"__VITE_ASSET__Co0ixpdv__\"","import { Modal, Box, Typography, Button } from '@mui/material'\nimport React from 'react'\nimport { styled, keyframes } from '@mui/material/styles'\nimport penguinFlyImg from '@assets/images/mascot/penguin-fly.png'\nimport { useTheme } from '@mui/material/styles'\nimport { useState } from 'react'\nimport { useLazyModulesGetUserModulesQuery } from '@app/services/auto-generated/modules'\nimport { useEffect } from 'react'\nimport { useNavigate } from '@lib/router'\nimport { useModulesSubmitModuleResultMutation } from '@app/services/auto-generated/modules'\nimport {\n useRevisionGetFeedbacksQuery,\n useRevisionListFeedbackRequestsQuery,\n useRevisionListRecordingsQuery,\n} from '@app/services/auto-generated/revision'\n\nconst fadeIn = keyframes`\n from {\n opacity: 0;\n transform: translateY(20px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n`\n\nconst float = keyframes`\n 0%, 100% {\n transform: translateY(0);\n }\n 50% {\n transform: translateY(-10px);\n }\n`\n\nconst StyledBox = styled(Box)(({ theme }) => ({\n padding: '30px',\n borderRadius: '12px',\n backgroundColor: theme.palette.background.paper,\n boxShadow:\n theme.palette.mode === 'dark'\n ? '0 8px 24px rgba(0, 0, 0, 0.6)'\n : '0 8px 24px rgba(0, 0, 0, 0.2)',\n animation: `${fadeIn} 0.6s ease-out`,\n maxWidth: '500px',\n width: '100%',\n margin: '0 20px',\n display: 'flex',\n flexDirection: 'column',\n}))\n\nconst FloatingImage = styled('img')({\n width: '150px',\n marginBottom: '25px',\n animation: `${float} 2s ease-in-out infinite`,\n alignSelf: 'center',\n})\n\nconst GiftModal = ({ open, onClose }: { open: boolean; onClose: () => void }) => {\n const theme = useTheme()\n const navigate = useNavigate()\n const [submit] = useModulesSubmitModuleResultMutation()\n const { data: feedbacks } = useRevisionListRecordingsQuery({})\n\n const handleGoToFeedback = async () => {\n // Find first unlocked feedback\n console.log('feedbacks', feedbacks)\n const unlockedFeedback = feedbacks.find((feedback) => !feedback.locked)\n console.log('feedback', unlockedFeedback)\n if (unlockedFeedback) {\n // Submit the module\n await submit({\n moduleResult: {\n id: 'GiftRecordingFeedbackModule',\n data: { completed: true },\n },\n }).unwrap()\n\n // Navigate to the feedback\n navigate(`/dashboard/feedback/${unlockedFeedback.id}`)\n onClose()\n }\n }\n\n return (\n \n \n \n You've received a gift!\n \n \n Your first review is on us. Consider this complimentary AI feedback our gift to help you\n improve!\n \n \n \n Go To Feedback\n \n \n \n )\n}\n\nconst GiftModalWrapper = () => {\n const [open, setOpen] = useState(false)\n const [getModules] = useLazyModulesGetUserModulesQuery()\n\n useEffect(() => {\n const checkModules = async () => {\n try {\n const response = await getModules().unwrap()\n if (response.optional.includes('GiftRecordingFeedbackModule')) {\n setOpen(true)\n }\n } catch (error) {\n console.error('Failed to fetch modules:', error)\n }\n }\n\n checkModules()\n }, [getModules])\n\n const handleClose = () => {\n setOpen(false)\n }\n\n return \n}\n\nexport default GiftModalWrapper\n","import { lazy, Suspense } from 'react'\nimport { Box } from '@common/components'\nimport { Outlet } from '@lib/router'\nimport { CssBaseline, GlobalStyles, ThemeProvider } from '@common/utils/styles'\nimport { useTheme } from '@features/theme/theme.hooks'\nimport Footer from '../footer'\nimport darkTheme from '@styles/themes/dark-theme'\nimport lightTheme from '@styles/themes/light-theme'\nimport HeaderPlaceholder from '../header/placeholder'\nimport ModulesChecker from '@features/modules-checker'\nimport WelcomeModal from '@features/auth/components/welcome-modal'\nimport GiftModalWrapper from '@features/payment/components/gift-modal'\n\nconst Header = lazy(() => import('../header'))\n\nconst AppLayout: React.FC = () => {\n const { isDark } = useTheme()\n\n return (\n \n \n \n }>\n
\n \n \n \n \n \n