{"version":3,"sources":["Pages/Auth/NotFound/Notfound.module.css","api.ts","Context/actions.ts","Context/reducer.ts","Context/Context.tsx","constants.ts","styles/theme.ts","Pages/EssayDialog/BottomDots/BottomDots.tsx","Pages/EssayDialog/Tracks/TrackCard.tsx","Pages/EssayDialog/Challenges/Challenges.tsx","Pages/EssayDialog/ConfirmationPage/styles.ts","Pages/EssayDialog/EssayUpload/styles.ts","Pages/EssayDialog/EssayThankYou/EssayThankYou.tsx","Components/isBeforeCL.ts","Pages/EssayDialog/EssayUpload/EssayUpload.tsx","strapiAPI.ts","Pages/EssayDialog/Fallbacks.tsx","Pages/EssayDialog/Tracks/Tracks.tsx","Pages/EssayDialog/ADayAt/ADayAt.tsx","Pages/EssayDialog/Focus/Focus.tsx","Pages/EssayDialog/EssayDialog.tsx","Router/AppRoutes.tsx","Components/HorizontalLine.tsx","styles/globalStyles.ts","Pages/Auth/Login/styles.ts","Recaptcha/Recaptcha.tsx","images/orange.png","Pages/Auth/Login/Login.tsx","Pages/Auth/NotFound/NotFound.tsx","Pages/Auth/Register/styles.ts","Components/iOSSwitch.tsx","Context/interfaces.ts","data/institutions/institutionsData.ts","data/institutions/institutionDataHelper.ts","data/educations/educationData.ts","data/educations/educationDataHelper.tsx","Pages/Auth/Register/Page1/Page1.tsx","data/nationalities/nationalities.ts","Pages/Auth/Register/Page2/Page2.tsx","Pages/Auth/Register/Page3/Page3.tsx","Pages/Auth/Register/Page4/Page4.tsx","images/Background2024.png","images/logo.png","Pages/Auth/Register/Register.tsx","Pages/Auth/validateUser/validateUser.tsx","Pages/EssayReview/EssayReview.tsx","Pages/Timeline/MobileTimelineItem.tsx","Pages/Timeline/WebTimelineItem.tsx","Pages/Profile/styles.ts","Components/Modal/Modal.tsx","Components/ticketLogic.ts","Pages/Timeline/Timeline.tsx","Pages/Profile/ProfilePage.tsx","Pages/Group/Modal.tsx","Pages/Group/Group.tsx","Pages/Group/GroupRegistration.tsx","Pages/Group/AcceptGroup.tsx","Pages/Group/PartOfGroup.tsx","Pages/EssayGraph/EssayGraph.tsx","Pages/EssayGraph/PasswordPage.tsx","Pages/EssayGraph/UsersGraph.tsx","Pages/EssayGraph/Graphs.tsx","Components/Html5QRcodeScannerPlugin.tsx","Pages/QrScanner/QrScanner.tsx","Pages/Auth/Checkin/PasswordPage.tsx","Pages/Auth/Checkin/Checkin.tsx","Pages/EssayReview/EssayReviewExternal.tsx","Router/Routes.ts","Pages/About/About.tsx","Pages/Auth/ResetPassword/ResetPassword.tsx","Pages/Auth/ForgotPassword/ForgotPassword.tsx","Components/NavigationBar.tsx","Router/AppRouter.tsx","index.tsx"],"names":["module","exports","cache","setupCache","maxAge","api","axios","create","baseURL","adapter","interceptors","request","use","async","user","localStorage","getItem","JSON","parse","config","headers","Authorization","token","error","Promise","reject","logout","dispatch","type","removeItem","initialState","email","_user$email","_user$token","expiresIn","loading","errorMessage","AuthReducer","action","_action$payload","_action$payload2","payload","Error","concat","AuthStateContext","createContext","undefined","AuthDispatchContext","useAuthState","context","useContext","useAuthDispatch","AuthProvider","_ref","children","useReducer","_jsx","Provider","value","Colors","TypographyOverride","h1","fontFamily","h2","h3","h4","h5","h6","caption","fontSize","p","body2","underlineOverride","borderBottom","borderBottomColor","calendarTheme","createMuiTheme","palette","primary","main","secondary","overrides","MuiInputBase","root","color","MuiTypography","MuiInput","underline","appTheme","text","MuiButton","MuiFormLabel","MuiDialog","paper","backgroundColor","signUpTheme","BottomDots","props","marked","marginLeft","marginRight","isMobile","style","display","map","dot","FiberManualRecordIcon","FiberManualRecordOutlinedIcon","useStyles","makeStyles","minWidth","maxWidth","minHeight","titleStyle","textAlign","margin","fontWeight","underStyle","marginBottom","textStyle","whiteSpace","TrackCard","title","number","onPress","subText","subTitle","replace","ButtonBase","onClick","_jsxs","Card","className","variant","Typography","length","CardContent","headerCenter","padding","Challenges","nextPageCallback","challenges","pickedChallenge","setChallenge","disabled","alignSelf","justifyContent","flexDirection","flexWrap","alignItems","track","i","CardMedia","component","alt","image","formats","small","url","IconButton","Icon","path","mdiArrowLeftCircleOutline","size","mdiArrowRightCircleOutline","cardContent","alignContent","cardStyle","typography","IconDiv","EssayThankYou","useEffect","setTimeout","window","location","reload","marginTop","Container","isBeforeCL","currentDate","Date","cl","getFullYear","aftercl","EssayUpload","setFile","file","handleSubmit","setTransportation","transportation","essayLanguage","setEssayLanguage","setError","useState","setText","setUrl","anonymity","setAnonymity","AiModel","setAiModel","disableEssayUpload","setDisableSubmissions","uploadButtonText","input","TestEnableSubmissions","enable","data","status","get","split","fetchEssay","name","rowstyle","paddingTop","id","onChange","event","_event$target","_event$target$files","newFile","target","files","accept","htmlFor","mdiUpload","Link","href","process","ThemeProvider","theme","border","borderRadius","Button","Checkbox","checked","Box","overflow","mdiArrowUpCircleOutline","strapiAPI","defaultTracks","description","priority","defaultChallenges","defaultADayAt","paddingBottom","resetButton","getImageStringFromTrack","imageObj","Tracks","tracks","setPriority","resetValues","handleCreateGroup","priorityToGive","setPriorityToGive","every","current","focusChoice","cardNumber","newArray","prio","setPrio","width","src","height","_Fragment","ADayAtPage","aDayAts","getCurrentPrio","biggest","forEach","index","console","log","noPrioZero","allPrioZero","noneZero","allZero","_track$image","_track$image$formats","_track$image$formats$","_track$image2","_track$image2$formats","_track$image2$formats2","thumbnail","Focus","focus","setFocus","controls","EssayDialog","setADayAts","setChallenges","setTracks","page","setPage","setPickedChallenge","prevData","_prevData$challenge","a","_prevData$aDayAtPrior","_prevData$aDayAtPrior2","aDayAtPriority","slice","_prevData$trackPriori","_prevData$trackPriori2","trackPriority","challenge","getDayAtAndChallenges","formData","FormData","append","post","_ref2","handleChange","resetTracks","resetADayAt","aDayAt","direction","prev","Slide","in","mountOnEnter","unmountOnExit","ADayAt","AppRoutes","Component","isPrivate","exact","rest","userDetails","useLocation","history","useHistory","checkJWTExpired","token_decoded","jwt_decode","dayjs","exp","add","push","Route","render","Boolean","Redirect","to","pathname","HorizontalLine","borderTop","innerFlexCenterWrapper","flexShrink","createStyles","button","spacing","textFieldStyle","termsStyle","ReCaptcha","React","PureComponent","constructor","arguments","state","isReady","script","widget","loadScript","captchaOnLoad","this","onLoad","document","createElement","defer","body","appendChild","grecaptcha","sitekey","ready","setState","executeCaptcha","execute","componentDidMount","componentWillUnmount","removeChild","Login","setEmail","password","setPassword","testBool","setTestBool","auth","classes","recaptchaToken","response","loginPayload","authData","setItem","stringify","e","_error$response","msg","loginUser","captcha","onSubmit","preventDefault","logo","TextField","label","disableElevation","fullWidth","open","NotFound","styles","container","colorDefault","paddingLeft","paddingRight","loginButton","headlineStyle","stepStyle","TextFieldStyle","selectStyle","option","defaultStyles","isSelected","control","boxShadow","singleValue","IOSSwitch","withStyles","switchBase","transform","common","white","opacity","thumb","grey","transition","transitions","focusVisible","Switch","focusVisibleClassName","disableRipple","otherOption","institutions","getInstitutionOptions","institutionOptions","institution","getSelectedInsitution","universityOptions","payloadUniversity","find","uni","educations","getEducationOptions","educationOptions","education","options","getSelectedEducation","study","payloadEducation","edu","EducationInputComponent","selectedEducationOption","groupedEducationOptions","payloadStudy","setUserDataCallback","setSelecetedEducationOption","Select","placeholder","isSearchable","noOptionsMessage","Page1","userData","selectedInstitution","selectedEducation","selectedInstitutionOption","setSelectedInstitutionOption","studyEnd","studyTitle","semester","exchangeStudent","permitCompanySharing","buttonZeroDisabled","isPast","select","key","MenuItem","_ref3","DatePicker","disablePast","emptyLabel","views","date","_ref4","getNationalityOptions","nationalityOptions","allNationalities","nationality","nationalityOption","getSelectedNationalityOption","includes","Page2","phone","postalCode","gender","vegetarian","glutenIntolerant","vegan","selectedNationalityFromPayload","selectedNationality","setSelectedNationality","setErrorMessage","buttonOneDisabled","countryOptions","isNaN","parseInt","inputProps","autoComplete","PhoneInput","defaultCountry","_ref5","_ref6","Page3","_error$response$data","_error$response$data$","message","onFocus","Page4","Register","slideDirection","setSlideDirection","setUserData","pageStyle","backgroundImage","bgImage","backgroundSize","transitionProps","timeout","enter","exit","Toolbar","ValidateUser","useParams","waait","validateUser","pdfjs","GlobalWorkerOptions","workerSrc","version","EssayReview","numPages","setNumPages","pageNumber","setPageNumber","generalAnswer","setGeneralAnswer","argumentation","setArgumentation","differentiation","setDifferentiation","conclusion","setConclusion","craftsmanship","setCraftsmanship","responsText","setResponstext","params","essayURL","review","Document","onLoadSuccess","Page","innerWidth","borderColor","Rating","_","val","reviewData","handleClick","secondaryTail","connectorColor","timeline","flex","monthNames","MobileTimelineItem","_timeLineData$image","_timeLineData$image$f","_timeLineData$image$f2","_timeLineData$title","timeLineData","TimelineItem","TimelineSeparator","TimelineDot","TimelineConnector","TimelineContent","CardActionArea","gutterBottom","toLocaleUpperCase","getMonth","getDate","time","CardActions","buttonLink","WebTimelineItem","_timeLineData$time","TimelineOppositeContent","mr","rel","textDecoration","medium","modalStyleText","Modal","isShown","titleText","bodyText","buttonText","showModal","setShowModal","handleClose","Close","mobile","icon","appBar","position","menuLink","ASTimeline","essayDialogOpen","setEssayDialogOpen","essayUploadedButtonText","setEssayUploadedButtonText","essayUploaded","setEssayUploaded","userTickets","setUserTickets","disableSubmissions","setTimeLineData","sortedData","sort","b","networkCallback","beforeSubmissionDeadline","showToast","cacheBuster","now","updated","isProfileUpdated","tickets","getUserTickets","fetchUserTickets","handleEssayClose","Msg","ArrowForwardIcon","toast","updateProfileModal","MuiThemeProvider","Parallax","blur","bgImageAlt","strength","Grid","item","background","pt","xs","handleEssayClickOpen","align","Timeline","ToastContainer","autoClose","hideProgressBar","Dialog","fullScreen","onClose","PaperProps","AppBar","edge","CloseIcon","ProfilePage","closedDiateryChange","setClosedDiateryChange","showError","setShowError","sumbissionsMessage","setSubmissionsMessage","isError","isLoading","isSuccess","refetch","useQuery","timestamp","getTime","toString","fetchedUserData","threeWeeksBeforeNovemberFirst","setDate","backgroundStyle","handleInputChange","field","setStateCallback","persist","formStyle","noValidate","currentUser","wait","required","startsWith","String","Baggrund","backgroundPosition","openModal","onclick","modal","getElementById","closeModal","zIndex","overflowWrap","disableGroupOperations","Group","statusMessage","setStatusMessage","ownerName","setOwnerName","memberEmail","setMemberEmail","groupStatus","setGroupStatus","group","setGroup","checkGroup","setCheckGroup","memberToRemove","setMemberToRemove","getGroup","namePayload","owner","nameData","getTracks","generatePriorityList","priorities","prioList","renderList","members","member","font","handleLeaveGroup","then","catch","trackPriorities","_group$members","_group$members2","_group$members3","baggrundImage","justify","ownerEmail","handleDeleteGroup","getElementsByClassName","removeMember","fontStyle","pid","WebkitBorderBefore","left","handleAddMember","success","inviteeEmail","inviterEmail","tup","getGroupMemberNames","GroupRegistration","handleGroupCreated","AcceptGroup","pop","acceptGroup","EssayGraph","essays","setEssays","essayLength","setEssayLength","socket","SocketContext","handleEssay","useCallback","on","grouped","groupBy","Math","floor","graphData","Object","values","entry","x","y","getEssayCount","innerHeight","VictoryChart","VictoryTheme","material","domainPadding","VictoryBar","stroke","parent","PasswordPage","setLoggedIn","UsersGraph","users","setUsers","usersLength","setUsersLength","getUserCount","Graphs","showUsers","setShowUsers","isLoggedIn","setIsLoggedIn","Html5QrcodeScannerPlugin","fps","qrbox","qrCodeErrorCallback","qrCodeSuccessCallback","html5QrcodeScanner","qrCallBack","qrString","Html5QrcodeScanner","disableFlip","QrScanner","FUCKME","timeoutDate","timestampState","setTimestamp","trackState","setTrack","organiserState","setOrganiser","textState","succes","setSucces","postData","organiserName","Organisermail","isFocus","toLowerCase","setSeconds","getSeconds","organiser","format","displayAlreadyScanned","decodedText","err","OrganiserPasswordPage","setUsername","username","json","emails","Checkin","routes","About","ResetPassword","confirmPassword","setConfirmPassword","pathArray","info","closeOnClick","pauseOnHover","draggable","progress","newestOnTop","rtl","pauseOnFocusLoss","ForgotPassword","setMessage","EssayReviewExternal","queryParams","URLSearchParams","search","emailFromQuery","externalReviewerEmail","setExternalReviewerEmail","GroupOf","menuTransition","forwardRef","ref","rightScrollPaper","right","rightPaperScrollBody","NavigationBar","menuDialogOpen","setMenuDialogOpen","handleMenuClose","handleNavigation","route","handleMenuClickOpen","Menu","Home","borderLeft","Publish","flexGrow","TransitionComponent","hideBackdrop","scrollPaper","paperScrollBody","backdropFilter","ClickAwayListener","onClickAway","AppRouter","client","QueryClient","defaultOptions","queries","refetchOnWindowFocus","QueryClientProvider","BrowserRouter","io","ReactDOM","StrictMode","MuiPickersUtilsProvider","utils","DateFnsUtils"],"mappings":"uIACAA,EAAOC,QAAU,CAAC,UAAY,4B,unBCG9B,MAAMC,EAAQC,qBAAW,CACvBC,OAAQ,MAGJC,EAAMC,IAAMC,OAAO,CACvBC,QAGM,mCACNC,QAASP,EAAMO,UAGjBJ,EAAIK,aAAaC,QAAQC,KACvBC,UACE,MAAMC,EAAcC,aAAaC,QAAQ,eACrCC,KAAKC,MAAMH,aAAaC,QAAQ,gBAChC,GAMJ,OALIF,IACFK,EAAOC,QAAU,IACZD,EAAOC,QACVC,cAAeP,EAAKQ,QAEjBH,CAAM,IAEdI,IACCC,QAAQC,OAAOF,EAAM,IAkBVlB,QC1CR,MAkCMqB,EAASb,UACpBc,EAAS,CAAEC,KAAM,WACjBb,aAAac,WAAW,cAAc,E,QCtCxC,MAAMf,EAAcC,aAAaC,QAAQ,eACrCC,KAAKC,MAAMH,aAAaC,QAAQ,gBAChC,GAESc,EAA0B,CACrCC,MAAkB,QAAbC,EAAM,OAAJlB,QAAI,IAAJA,OAAI,EAAJA,EAAMiB,aAAK,IAAAC,IAAI,GACtBV,MAAkB,QAAbW,EAAM,OAAJnB,QAAI,IAAJA,OAAI,EAAJA,EAAMQ,aAAK,IAAAW,IAAI,GACtBC,UAAW,GACXC,SAAS,EACTC,aAAc,IAGHC,EAAcA,CACzBP,EACAQ,KACe,IAADC,EAAAC,EACd,OAAQF,EAAOV,MACb,IAAK,gBACH,MAAO,IACFE,EACHK,SAAS,GAEb,IAAK,gBACH,MAAO,IACFL,EACHC,MAAqB,QAAhBQ,EAAED,EAAOG,eAAO,IAAAF,OAAA,EAAdA,EAAgBR,MACvBT,MAAqB,QAAhBkB,EAAEF,EAAOG,eAAO,IAAAD,OAAA,EAAdA,EAA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C/X,MAAO,mBACP2V,MAAO,qC,aC9CF,MAAMqC,GAAe,CAC1B,4BACA,0BACA,mCACA,sCACA,gCACA,iCACA,6BACA,6BACA,yBACA,iCCLK,SAASC,KACd,MAAMC,EAAuCF,GAAalV,KACvDqV,IAAW,CACVxC,MAAOwC,EACPnY,MAAOmY,MAIX,OADAD,EAAmBzG,KAAKsG,IACjBG,CACT,CAGO,SAASE,GACdD,EACAE,GAEA,GAAoB,KAAhBF,EACF,OAAO,KAGT,IAAIG,EAAoCD,EAAkBE,MACvDC,GAAQA,EAAIxY,QAAUmY,IAKzB,YAH0B/Y,IAAtBkZ,IACFA,EAAoBP,IAEfO,CACT,CChCO,MAAMG,GAAa,CACxB,mCACA,iCACA,6BACA,gBACA,cACA,gCACA,WACA,sBACA,cACA,mBACA,wBACA,oBACA,gCACA,iCACA,2BACA,uBACA,eACA,eACA,cACA,YACA,YACA,mBACA,2CACA,iBACA,wBACA,gBACA,UACA,kCACA,UACA,aACA,yBACA,eACA,sCACA,uBACA,yBACA,kDACA,2CACA,+CACA,kDACA,kDACA,wDACA,yCACA,iDACA,wCACA,mCACA,wEACA,iCACA,6CACA,yCACA,eACA,UACA,sBACA,sBACA,iBACA,6BACA,0CACA,gCACA,wBACA,yCACA,uBACA,2CACA,oCACA,oCACA,0DACA,kCACA,wDACA,0CACA,0DACA,uDACA,qBACA,uBACA,mBACA,wBACA,+CACA,kCACA,iBACA,QACA,WACA,gBACA,oCACA,8CACA,eACA,6BACA,WACA,iBACA,8CACA,qCACA,0DACA,wCACA,mCACA,iCACA,kCACA,aACA,wCACA,qBACA,4BACA,cACA,aACA,6BACA,mBACA,oBACA,qBACA,UACA,uCACA,uDACA,kCACA,kCACA,iDACA,iCACA,gCACA,yBACA,6CACA,4DACA,sDACA,kEACA,yDACA,qDACA,kDACA,yDACA,iDACA,qDACA,0CACA,gEACA,oCACA,wCACA,oDACA,iCACA,gBACA,wBACA,wBACA,UACA,0BACA,WACA,0BACA,mCACA,2BACA,yBACA,4BACA,4BACA,uBACA,yBACA,QACA,qBACA,mCACA,uBACA,uBACA,mCACA,uBACA,WACA,WACA,UACA,qCACA,yDACA,yBACA,iBACA,mBACA,kCACA,2BACA,qCACA,WACA,oBACA,4BACA,iBACA,eACA,iBACA,uDACA,kBACA,iBACA,WACA,6BACA,8BACA,6BACA,8CACA,oBACA,mDACA,wBACA,wBACA,uBACA,+BACA,6DACA,iCACA,+BACA,yBACA,8BACA,qDACA,iCACA,0BACA,yBACA,sCACA,qCACA,+CACA,yCACA,0BACA,mCACA,yCACA,0BACA,iCACA,kBACA,6CACA,4BACA,gBACA,sBACA,aACA,sBACA,eACA,sBACA,uDACA,eACA,OACA,QACA,uBACA,gBACA,cACA,wBACA,qBACA,oBACA,oBACA,qBACA,sBACA,qBACA,iCACA,6BACA,gBACA,mCACA,sBACA,cACA,qBACA,gBACA,sBACA,8BACA,4CACA,gCACA,sBACA,QACA,oCACA,kBACA,aACA,qBACA,sBACA,yBACA,wCACA,yBACA,oDACA,qCACA,eACA,kCACA,YACA,sBACA,uBACA,yBACA,YACA,UACA,wCACA,uBACA,gBACA,kBACA,UACA,mCACA,oBACA,+BACA,yCACA,oBACA,iBACA,0BACA,mDACA,uBACA,sBACA,QACA,cACA,iBACA,8BACA,wBACA,cACA,mBACA,+BACA,iBACA,8BACA,gCACA,aACA,kBACA,uBACA,wBACA,6BACA,iDACA,2BACA,kCACA,yBACA,4BACA,wBACA,uCACA,kCACA,gEACA,YACA,2CACA,eACA,yBACA,qBACA,UACA,WACA,kBACA,6BACA,WACA,iBACA,iBACA,mBACA,cACA,yBACA,+BACA,qBACA,uBACA,oBACA,kBACA,YACA,WACA,oBACA,0BACA,4BACA,kCACA,iBACA,YACA,gBACA,oBACA,wCACA,gDACA,wCACA,mCACA,iCACA,wBACA,oCACA,oBACA,0BACA,yBACA,0CACA,4BACA,qBACA,qBACA,iCACA,mCACA,iDACA,YACA,YACA,gCACA,uBACA,wCACA,UACA,UACA,4BACA,OACA,0CACA,u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MAAMC,EAAoB,CAACvb,MAAOsb,EAAa3F,MAAO2F,GACtDF,EAAmB3J,KAAK8J,EAAkB,IAY9C,MALiD,CAC7C,CAAE5F,MAAO,oBAAqBkD,QALO,CACrC,CAAClD,MAAO,SAAU3V,MAAO,YAKzB,CAAE2V,MAAO,oBAAqBkD,QAASuC,GAI/C,CAEO,SAASI,GAA6BF,GACzC,MAAoB,KAAhBA,GAAuBD,GAAiBI,SAASH,GAG9C,CAACtb,MAAOsb,EAAa3F,MAAO2F,GAFxB,IAGf,CAGA,MAAMD,GAAmB,CACrB,SACA,WACA,WACA,WACA,WACA,UACA,YACA,cACA,WACA,aACA,WACA,cACA,WACA,WACA,cACA,YACA,YACA,WACA,aACA,UACA,WACA,WACA,YACA,WACA,UACA,YACA,UACA,WACA,YACA,YACA,UACA,YACA,YACA,cACA,WACA,eACA,kBACA,UACA,UACA,UACA,YACA,UACA,YACA,cACA,WACA,QACA,UACA,QACA,SACA,WACA,YACA,QACA,gBACA,aACA,WACA,UACA,qBACA,WACA,WACA,YACA,SACA,WACA,UACA,SACA,WACA,UACA,WACA,SACA,WACA,QACA,YACA,aACA,kBACA,UACA,WACA,UACA,gBACA,WACA,YACA,aACA,YACA,SACA,aACA,UACA,QACA,QACA,UACA,UACA,UACA,WACA,WACA,YACA,cACA,SACA,uBACA,UACA,SACA,UACA,UACA,WACA,WACA,SACA,kBACA,aACA,eACA,aACA,WACA,WACA,YACA,YACA,SACA,UACA,cACA,cACA,YACA,UACA,cACA,WACA,UACA,YACA,WACA,UACA,WACA,aACA,WACA,UACA,WACA,gBACA,aACA,aACA,WACA,WACA,eACA,iBACA,YACA,QACA,YACA,UACA,aACA,oBACA,aACA,WACA,SACA,aACA,SACA,WACA,UACA,UACA,eACA,aACA,SACA,eACA,aACA,QACA,WACA,aACA,UACA,cACA,iBACA,cACA,YACA,YACA,mBACA,SACA,gBACA,eACA,UACA,aACA,WACA,YACA,QACA,UACA,QACA,SACA,YACA,QACA,YACA,OACA,WACA,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AAI,CACH7I,MAAM,YACN8I,KAAK,IACLjG,QAAUuF,IACRA,EAAM0L,iBACNqe,EAAiB,SAAS,EAC1Bj0B,SACH,gBAKLE,cAAC8E,IAAU,CAAClD,MAAM,YAAYiD,QAAQ,KAAI/E,SACxCE,cAACyK,KAAI,CACH7I,MAAM,YACN8I,KAAK,IACLjG,QAAUuF,IACRA,EAAM0L,iBACNqe,EAAiB,KAAK,EACtBj0B,SAED,mBAOT,ECnWKg1B,OA1BGA,KAChB,MAAMC,EAAS,IAAIC,eAAY,CAC7BC,eAAgB,CACdC,QAAS,CACPC,sBAAsB,MAK5B,OACEn1B,cAAAiN,WAAA,CAAAnN,SACEE,cAACo1B,uBAAmB,CAACL,OAAQA,EAAOj1B,SAClCE,cAACq1B,IAAa,CAAAv1B,SACZE,cAACJ,EAAY,CAAAE,SACXE,cAAC4K,IAAa,CAACC,MAAO7I,EAASlC,SAC7BE,cAAA,OAAK4E,UAAU,cAAa9E,SAC1BE,cAAC2zB,GAAa,eAMvB,E,6BCvBP,MAAM3G,GAASsI,aAGT,gCAGOrI,GAAgB5tB,wBAAc2tB,IAE3CuI,IAAS1jB,OACP7R,cAAC4S,IAAM4iB,WAAU,CAAA11B,SACfE,cAACy1B,KAAuB,CAACC,MAAOC,KAAa71B,SAC3CE,cAAC80B,GAAS,QAGdthB,SAASuV,eAAe,Q","file":"static/js/main.2f61a4f7.chunk.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"Notfound_container__1-Rlj\"};","import axios from \"axios\";\nimport { IUser } from \"./interfaces\";\nimport { setupCache } from \"axios-cache-adapter\";\n\nconst cache = setupCache({\n maxAge: 15 * 60 * 1000,\n});\n\nconst api = axios.create({\n baseURL:\n process.env.NODE_ENV === \"development\"\n ? \"http://localhost:8080/api\"\n : \"https://www.signup.asymp.org/api\",\n adapter: cache.adapter,\n});\n// Request interceptor for API calls\napi.interceptors.request.use(\n async (config) => {\n const user: IUser = localStorage.getItem(\"currentUser\")\n ? JSON.parse(localStorage.getItem(\"currentUser\")!)\n : \"\";\n if (user)\n config.headers = {\n ...config.headers,\n Authorization: user.token,\n };\n return config;\n },\n (error) => {\n Promise.reject(error);\n }\n);\n\nexport const setUserAsOrganiser = (email: string) => {\n api.interceptors.request.use(\n async (config) => {\n config.headers = {\n Organisermail: email,\n };\n return config;\n },\n (error) => {\n Promise.reject(error);\n }\n );\n};\n\nexport default api;\n","import { AxiosError, AxiosResponse } from \"axios\";\nimport api from \"../api\";\nimport { IUser } from \"../interfaces\";\nimport { AuthAction, AuthState, LoginPayload } from \"./interfaces\";\n\nexport const loginUser = async (\n dispatch: React.Dispatch,\n loginPayload: LoginPayload\n) => {\n try {\n const { email, password, recaptchaToken } = loginPayload;\n dispatch({ type: \"REQUEST_LOGIN\" });\n const { data } = await api.post>(\n \"/login\",\n {\n data: {\n email: email,\n password: password,\n recaptchaToken: recaptchaToken,\n },\n }\n );\n\n if (data.email) {\n const authData: AuthState = { errorMessage: \"\", loading: false, ...data };\n dispatch({ type: \"LOGIN_SUCCESS\", payload: authData });\n localStorage.setItem(\"currentUser\", JSON.stringify(data));\n return data;\n }\n } catch (e) {\n console.log(e.response);\n const error = >e;\n dispatch({ type: \"LOGIN_ERROR\", error: \"\" });\n setTimeout(() => {\n dispatch({ type: \"LOGIN_ERROR\", error: error.response?.data.msg });\n }, 200);\n }\n};\n\nexport const logout = async (dispatch: (arg0: { type: string }) => void) => {\n dispatch({ type: \"LOGOUT\" });\n localStorage.removeItem(\"currentUser\");\n};\n","import { IUser } from \"../interfaces\";\nimport { AuthAction, AuthState } from \"./interfaces\";\n\nconst user: IUser = localStorage.getItem(\"currentUser\")\n ? JSON.parse(localStorage.getItem(\"currentUser\")!)\n : \"\";\n\nexport const initialState: AuthState = {\n email: user?.email ?? \"\",\n token: user?.token ?? \"\",\n expiresIn: \"\",\n loading: false,\n errorMessage: \"\",\n};\n\nexport const AuthReducer = (\n initialState: AuthState,\n action: AuthAction\n): AuthState => {\n switch (action.type) {\n case \"REQUEST_LOGIN\":\n return {\n ...initialState,\n loading: true,\n };\n case \"LOGIN_SUCCESS\":\n return {\n ...initialState,\n email: action.payload?.email!,\n token: action.payload?.token!,\n loading: false,\n errorMessage: \"\",\n };\n case \"LOGOUT\":\n return {\n ...initialState,\n email: \"\",\n token: \"\",\n };\n\n case \"LOGIN_ERROR\":\n return {\n ...initialState,\n loading: false,\n errorMessage: action.error,\n };\n\n default:\n throw new Error(`Unhandled action type: ${action.type}`);\n }\n};\n","import { createContext, Dispatch, useContext, useReducer } from \"react\";\nimport { AuthAction, AuthState } from \"./interfaces\";\nimport { AuthReducer, initialState } from \"./reducer\";\n\nconst AuthStateContext = createContext(undefined);\nconst AuthDispatchContext = createContext | undefined>(\n undefined\n);\n\nexport const useAuthState = () => {\n const context = useContext(AuthStateContext);\n if (context === undefined) {\n throw new Error(\"useAuthState must be used within a AuthProvider\");\n }\n\n return context;\n};\n\nexport const useAuthDispatch = () => {\n const context = useContext(AuthDispatchContext);\n if (context === undefined) {\n throw new Error(\"useAuthDispatch must be used within a AuthProvider\");\n }\n\n return context;\n};\n\nexport const AuthProvider = ({ children }: { children: JSX.Element }) => {\n const [user, dispatch] = useReducer(AuthReducer, initialState);\n\n return (\n \n \n {children}\n \n \n );\n};\n","export const Colors = {\n orange: \"#e87d39\",\n opaqueOrange: \"#EDC5AD\",\n white: \"#FFF\",\n opaceBlack: \"rgba(0, 0, 0, 0.42)\",\n black: \"#000\",\n};\n","import { unstable_createMuiStrictModeTheme as createMuiTheme } from \"@material-ui/core/styles\";\nimport { purple } from \"@material-ui/core/colors\";\nimport { Colors } from \"../constants\";\nimport \"../index.css\";\n\nconst TypographyOverride = {\n h1: {\n fontFamily: \"futura-pt\",\n },\n h2: {\n fontFamily: \"futura-pt\",\n },\n h3: {\n fontFamily: \"futura-pt\",\n },\n h4: {\n fontFamily: \"futura-pt\",\n },\n h5: {\n fontFamily: \"futura-pt\",\n },\n h6: {\n fontFamily: \"futura-pt\",\n },\n caption: {\n fontFamily: \"futura-pt\",\n fontSize: 12,\n },\n p: {\n fontFamily: \"futura-pt\",\n },\n body2: {\n fontFamily: \"futura-pt\",\n },\n};\n\nconst underlineOverride = {\n \"&:after\": {\n borderBottom: `2px solid #FFFFFF`,\n },\n \"&$focused:after\": {\n borderBottomColor: `#FFFFFF`,\n },\n \"&$error:after\": {\n borderBottomColor: `#FFFFFF`,\n },\n \"&:before\": {\n borderBottom: `1px solid #FFFFFF`,\n },\n \"&:hover:not($disabled):not($focused):not($error):before\": {\n borderBottom: `2px solid #FFFFFF`,\n },\n \"&$disabled:before\": {\n borderBottom: `1px dotted #FFFFFF`,\n },\n};\n\nexport const calendarTheme = createMuiTheme({\n palette: {\n primary: {\n // White\n main: Colors.orange,\n },\n secondary: {\n // Black\n main: Colors.white,\n },\n },\n overrides: {\n MuiInputBase: {\n root: {\n color: Colors.white,\n },\n },\n MuiTypography: TypographyOverride,\n MuiInput: {\n underline: underlineOverride,\n },\n },\n});\n\nexport const appTheme = createMuiTheme({\n palette: {\n primary: {\n // White\n main: Colors.white,\n },\n secondary: {\n // Black\n main: Colors.orange,\n },\n text: {\n primary: \"#3A8F4B\",\n },\n },\n overrides: {\n MuiInputBase: {\n root: {\n color: Colors.black,\n fontFamily: \"futura-pt\",\n },\n },\n MuiButton: {\n root: {\n color: Colors.black,\n fontFamily: \"futura-pt\",\n },\n },\n MuiInput: {\n underline: underlineOverride,\n },\n\n MuiFormLabel: {\n root: {\n color: Colors.black,\n fontFamily: \"futura-pt\",\n },\n },\n MuiTypography: TypographyOverride,\n MuiDialog: {\n paper: {\n backgroundColor: \"transparent\",\n },\n },\n },\n});\n\nexport const signUpTheme = createMuiTheme({\n palette: {\n primary: {\n // White\n main: Colors.white,\n },\n secondary: {\n // Black\n main: Colors.opaceBlack,\n },\n },\n overrides: {\n MuiInputBase: {\n root: {\n color: Colors.white,\n },\n },\n MuiInput: {\n underline: underlineOverride,\n },\n MuiFormLabel: {\n root: {\n color: Colors.white,\n },\n },\n MuiTypography: TypographyOverride,\n },\n});\n","import FiberManualRecordOutlinedIcon from \"@material-ui/icons/FiberManualRecordOutlined\";\nimport FiberManualRecordIcon from \"@material-ui/icons/FiberManualRecord\";\nimport { Colors } from \"../../../constants\";\nimport { isMobile } from \"react-device-detect\";\n\ninterface Props {\n marked: number;\n marginLeft?: string;\n marginRight?: string;\n}\n\nconst BottomDots = (props: Props) => {\n const { marked, marginLeft, marginRight } = props;\n\n const mapper = [0, 1, 2, 3, 4];\n\n if (isMobile) return null;\n\n return (\n \n {mapper.map((dot) => {\n return dot === marked ? (\n \n ) : (\n \n );\n })}\n \n );\n};\n\nexport default BottomDots;\n","import {\n Box,\n ButtonBase,\n Card,\n CardContent,\n CardMedia,\n makeStyles,\n ThemeProvider,\n Typography,\n} from \"@material-ui/core\";\nimport React from \"react\";\nimport { isMobile } from \"react-device-detect\";\nimport { Colors } from \"../../../constants\";\n\nimport { calendarTheme } from \"../../../styles/theme\";\n\nconst useStyles = makeStyles({\n root: {\n minWidth: 275,\n maxWidth: 380,\n minHeight: 300,\n },\n titleStyle: {\n textAlign: \"center\",\n margin: \"1rem\",\n fontWeight: \"bold\",\n },\n underStyle: {\n textAlign: \"center\",\n marginBottom: 12,\n fontWeight: \"bold\",\n },\n textStyle: {\n whiteSpace: \"pre-line\",\n },\n});\n\ninterface Props {\n children?: any;\n image?: string;\n title: string;\n subTitle?: string;\n text: string;\n number?: number;\n onPress: () => void;\n subText?: string;\n marked?: boolean;\n}\n\nconst TrackCard = (props: Props) => {\n const { text, title, number, onPress, subText, marked, subTitle } = props;\n const { root, titleStyle, underStyle, textStyle } = useStyles();\n\n const mobileText = text.replace(/(\\r\\n|\\n|\\r)/gm, \"\");\n\n return (\n
\n {\n onPress();\n }}>\n \n \n

22 ? \"20px\": \"\"\n }}>{title}

\n
\n {/* {props.image ? (\n \n ) : null} */}\n \n {props.children}\n \n \n \n
\n );\n};\n\nexport default TrackCard;","import {\n Card,\n CardContent,\n CardMedia,\n Direction,\n IconButton,\n makeStyles,\n Typography,\n} from \"@material-ui/core\";\nimport { mdiArrowLeftCircleOutline, mdiArrowRightCircleOutline } from \"@mdi/js\";\nimport Icon from \"@mdi/react\";\nimport { Dispatch, SetStateAction } from \"react\";\nimport { Colors } from \"../../../constants\";\nimport BottomDots from \"../BottomDots/BottomDots\";\nimport { ChallengeType } from \"../Fallbacks\";\nimport TrackCard from \"../Tracks/TrackCard\";\n\nconst useStyles = makeStyles({\n headerCenter: {\n textAlign: \"center\",\n padding: \"2rem\",\n },\n\n});\n\ninterface Props {\n nextPageCallback: (direction: Direction) => void;\n challenges: ChallengeType[];\n setChallenge: Dispatch>;\n pickedChallenge: number;\n}\n\nconst Challenges = (props: Props) => {\n const { headerCenter } = useStyles();\n const { nextPageCallback, challenges, pickedChallenge, setChallenge } = props;\n\n const disabled = () => pickedChallenge === undefined;\n return (\n \n \n \n WHICH CHALLENGE HAVE YOU ANSWERED IN YOUR SUBMISSION?\n \n\n \n \n {challenges.map((track, i) => {\n return (\n {\n setChallenge(i);\n }}\n title={track.title}\n marked={i === pickedChallenge}>\n \n \n );\n })}\n \n \n \n {\n nextPageCallback(\"ltr\");\n }}>\n \n \n \n {\n nextPageCallback(\"rtl\");\n }}>\n \n \n \n \n \n );\n};\n\nexport default Challenges;\n","import { CSSProperties } from \"react\";\nimport { Colors } from \"../../../constants\";\n\nconst cardContent: CSSProperties = {\n display: \"flex\",\n alignItems: \"center\",\n alignContent: \"center\",\n flexDirection: \"column\",\n};\nconst cardStyle: CSSProperties = { minWidth: \"80%\" };\nconst typography: CSSProperties = { color: Colors.orange, textAlign: \"center\" };\nconst IconDiv: CSSProperties = {\n flexDirection: \"row\",\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n};\n\nexport { cardContent, cardStyle, typography, IconDiv };\n","import { CSSProperties } from \"react\";\nimport { Colors } from \"../../../constants\";\n\nconst cardContent: CSSProperties = {\n display: \"flex\",\n alignItems: \"center\",\n alignContent: \"center\",\n flexDirection: \"column\",\n};\nconst cardStyle: CSSProperties = { minWidth: \"80%\" };\nconst typography: CSSProperties = { color: Colors.orange, textAlign: \"center\" };\nconst IconDiv: CSSProperties = {\n flexDirection: \"row\",\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n};\n\nexport { cardContent, cardStyle, typography, IconDiv };\n","import { Button, Card, CardContent, Container, Typography } from \"@material-ui/core\";\nimport { useHistory } from \"react-router-dom\";\nimport { Colors } from \"../../../constants\";\nimport { cardContent } from \"../ConfirmationPage/styles\";\nimport { cardStyle } from \"../EssayUpload/styles\";\nimport logo from \"../../../images/orange2x.png\";\nimport { useEffect } from \"react\";\n\nconst textStyle: React.CSSProperties = {\n color: Colors.black,\n paddingTop: \"2rem\",\n paddingBottom: \"1rem\",\n textAlign: \"center\",\n};\n\nconst EssayThankYou = () => {\n useEffect(() => {\n setTimeout(() => {\n window.location.reload();\n }, 10000);\n }, []);\n\n return (\n
\n \n
\n
\n\n \n \n \n\n You have successfully submitted your submission. You will receive more information as soon as we have reviewed all submitted essays. We will get back to you by mid-October at the latest.\n\n \n \n \n
\n
\n\n
\n
\n );\n};\n\nexport default EssayThankYou;\n","// dateUtils.ts\nexport const isBeforeCL = (): boolean => {\n const currentDate = new Date();\n const cl = new Date(currentDate.getFullYear(), 8, 9, 12, 35); // Months are 0-indexed, so 8 is September\n const testcl = new Date(currentDate.getFullYear(), 4, 30, 12, 55);\n const aftercl = new Date(currentDate.getFullYear(), 8, 22, 23, 59, 59); // Months are 0-indexed so 8 is September.\n return (currentDate < cl) || (currentDate > aftercl);\n };","import {\n mdiArrowLeftCircleOutline,\n mdiArrowRightCircleOutline,\n mdiArrowUpCircleOutline,\n mdiUpload,\n} from \"@mdi/js\";\nimport {\n Box,\n Card,\n CardContent,\n Checkbox,\n Direction,\n IconButton,\n Link,\n makeStyles,\n Typography,\n Container,\n ThemeProvider,\n Button,\n} from \"@material-ui/core\";\nimport { Colors } from \"../../../constants\";\nimport BottomDots from \"../BottomDots/BottomDots\";\nimport Icon from \"@mdi/react\";\nimport { cardContent, cardStyle, typography, IconDiv } from \"./styles\";\n\nimport { CSSProperties, Dispatch, SetStateAction, useState } from \"react\";\nimport { useEffect } from \"react\";\nimport api from \"../../../api\";\nimport { isMobile } from \"react-device-detect\";\nimport { calendarTheme } from \"../../../styles/theme\";\nimport { isBeforeCL } from \"../../../Components/isBeforeCL\";\n\n// disable or enable essay upload here. This also shows a text to users, that it has been disabled.\n\ninterface Props {\n nextPageCallback: (direction: Direction) => void;\n setFile: Dispatch>;\n file: File;\n handleSubmit: () => Promise;\n transportation: boolean;\n setTransportation: Dispatch>;\n essayLanguage: \"Danish\" | \"English\";\n setEssayLanguage: Dispatch>;\n}\nconst EssayUpload = (props: Props) => {\n const {\n nextPageCallback,\n setFile,\n file,\n handleSubmit,\n setTransportation,\n transportation,\n essayLanguage,\n setEssayLanguage,\n } = props;\n const [error, setError] = useState(\"\");\n const essayBaseUrl = process.env.REACT_APP_DIGITALOCEANBASE;\n const [text, setText] = useState(\"\");\n const [url, setUrl] = useState(\"\");\n const [anonymity, setAnonymity] = useState(false);\n const [AiModel, setAiModel] = useState(false);\n const [disableEssayUpload, setDisableSubmissions] = useState(true);\n const uploadButtonText: string = disableEssayUpload ? \"Uploads of submissions are currently disabled\" : \"Upload Submission\";\n\n\n const useStyles = makeStyles({\n input: {\n display: \"none\",\n },\n });\n\n useEffect(() => {\n setDisableSubmissions(isBeforeCL());\n const EnableSubmissions = (enable : boolean) => {\n setDisableSubmissions(!enable);\n }\n\n (window as any).TestEnableSubmissions = EnableSubmissions;\n\n const fetchEssay = async () => {\n const { data, status } = await api.get(\"currentUserEssay\", {});\n if (data && status == 200) {\n setUrl(data);\n setText(data.split(\"/\")[2].split(\".pdf\")[0]);\n }\n };\n\n fetchEssay();\n \n return () => {\n delete (window as any).TestEnableSubmissions;\n }\n }, []);\n\n const onFileChange = (event: React.ChangeEvent) => {\n const newFile = event?.target?.files?.[0] || file;\n\n if (newFile?.type === \"application/pdf\") {\n setFile(newFile);\n setError(\"\");\n } else {\n setError(\"File must be a pdf\");\n setFile(undefined);\n }\n };\n\n const disabled =\n (!file?.name && !url) || !anonymity || !AiModel || disableEssayUpload;\n const rowstyle: CSSProperties = {\n display: \"flex\",\n flexDirection: \"row\",\n justifyContent: \"space-between\",\n marginBottom: \"1rem\",\n };\n const textStyle = { color: Colors.orange, paddingTop: \"0.5rem\" };\n\n const { input } = useStyles();\n return (\n \n \n \n \n\n
\n \n {file?.name\n ? file.name\n : text\n ? \"ALREADY UPLOADED\"\n : \"UPLOAD SUBMISSION AS PDF\"}\n \n\n {text && !file?.name ? (\n
\n \n {text + \".pdf\"}\n \n
\n ) : null}\n
\n\n {text ? (\n \n {file\n ? \"\"\n : text\n ? \"YOU CAN REPLACE THIS BY UPLOADING A NEW FILE\"\n : \"\"}\n \n ) : null}\n\n \n \n \n
\n \n What language have you chosen for your submission?\n \n
\n setEssayLanguage(\"Danish\")}>\n \n DANISH\n \n \n setEssayLanguage(\"English\")}>\n \n ENGLISH\n \n \n
\n
\n
\n {\n setTransportation(!transportation);\n }}>\n I will need transportation to attend Aarhus Symposium 2024\n \n
\n setTransportation(false)}>\n \n NO\n \n \n setTransportation(true)}>\n \n YES\n \n \n
\n
\n\n
\n {\n setAnonymity(!anonymity);\n }}>\n I confirm that my submission does not include name, address,\n email or any other identifiable information\n \n setAnonymity(!anonymity)}>\n
\n
\n {\n setAnonymity(!anonymity);\n }}>\n Though technological innovation keeps surprising us with new\n amazing possibilities to access information, we still believe\n the power of the individual mind provides us with the\n creativity, imagination and personal experience that enable us\n to stand out in the crowd and connect with others on a deeper\n level - today and tomorrow. Therefore, we trust you to shape\n your submission without the help of AI language models like\n ChatGPT. Essays that fail to meet this simple guideline will\n not be accepted. By ticking the checkbox, I confirm that I did\n not utilize any AI language model in the making of my\n submission to the Aarhus Symposium 2024 Challenge\n \n setAiModel(!AiModel)}>\n
\n \n
\n \n
\n
\n {\n nextPageCallback(\"ltr\");\n }}>\n \n \n \n \n \n {isMobile ? null : (\n \n \n {uploadButtonText}\n \n \n )}\n \n \n \n
\n \n \n
\n );\n};\nexport default EssayUpload;\n","import axios from \"axios\";\n\nconst strapiAPI = axios.create({\n baseURL:\n process.env.NODE_ENV === \"development\"\n ? \"http://localhost:1337\"\n : \"https://signup.asymp.org/strapi\",\n});\n\nexport default strapiAPI;\n","import { Url } from \"url\";\n\nexport interface TrackType {\n title: string;\n subText: string;\n description: string;\n priority: number;\n}\nexport interface ChallengeType {\n subTitle?: string;\n image: Url | string | any;\n title: string;\n description: string;\n}\nexport interface ADayAtType {\n subText: string;\n image: any;\n title: string;\n description: string;\n priority: number;\n}\n\nexport const defaultTracks: TrackType[] = [\n {\n title: \"OPPORTUNITIES OF TOMORROW\",\n subText:\n \"How can leaders use the opportunities of today to prepare for the challenges of tomorrow?\",\n description: `Life is defined by adaptation. At all times, a successful organisation must be prepared to review its practices and change course. By utilising the opportunities of today, companies aim to prepare for the most fundamental challenges of tomorrow. Naturally, everyone wishes to play a central role in the next big leap, and if leadersdare to question the status quo, ideas can transform into future solutions.\\n\\n\\n\\n`,\n priority: 0,\n },\n {\n title: \"BUSINESSES OF TOMORROW\",\n subText:\n \"How does a leader create a business structure capable of lasting through unforeseen changes and challenges?\",\n description: `As the workforce is becoming more decentralised, online marketplaces for freelance services like Fiverr and Craigslist have seen remarkable growth. Both externally and internally, digitalisation forces change, and it rewards those that seek out new opportunities. Competitive edges might be derived from new business models or by mastering new capabilities, but they ultimately rely on proactive leadership. No stone is to be left unturned as the leaders of today build resilient businesses for tomorrow.\\n`,\n priority: 0,\n },\n {\n title: \"RESPONSIBILITIES OF TOMORROW\",\n subText:\n \"How do leaders handle their intertwining responsibilities and choose which society they want to build?\",\n description: `Social inequality and environmental change have made individuals more aware of how corporations impact their surroundings. This has required leaders to consider how the perceived diverging objectives of shareholders and society are placing them in a position of increased accountability. In choosing between several pressing concerns, it is vital to balance success within the organisation with responsibility towards society.\\n\\n\\n`,\n priority: 0,\n },\n {\n title: \"ECONOMIES OF TOMORROW\",\n subText:\n \"How can companies contribute to a strong future economy while accountingfor the challenges to multinational cooperation?\",\n description: `As prosperity increases across the world, patterns of demand will shift. Additionally, protectionist policies and supply shocks risk jeopardising the existing value chains that multinational corporations rely upon. Increased trade has long been a facilitator of growth and prosperity for all economies. However, while corporations are expanding their connections globally, some governments are decreasing theirs. Thus, leaders are required to find viable ways of securing future advancement while facing rising barriers to trade.\\n`,\n priority: 0,\n },\n];\n\nexport const defaultChallenges: ChallengeType[] = [\n {\n image: \"\",\n description:\n \"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur rutrum arcu vel mi tempus, quis tempus nisl porttitor. Ut commodo tempus semper. Donec eu massa eget erat bibendum volutpat ac sed lectus. Morbi vestibulum at ligula non ultricies. Suspendisse sed feugiat mauris. Etiam volutpat ex vitae lobortis iaculis. Maecenas et feugiat mi. Cras molestie convallis lorem viverra volutpat. Suspendisse quis libero non leo dictum fringilla. Mauris lobortis convallis mauris, sit amet pharetra justo fermentum sit amet. \",\n title: \"Darkness !!!!!!my old friend\",\n },\n {\n image: \"\",\n description:\n \"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur rutrum arcu vel mi tempus, quis tempus nisl porttitor. Ut commodo tempus semper. Donec eu massa eget erat bibendum volutpat ac sed lectus. Morbi vestibulum at ligula non ultricies. Suspendisse sed feugiat mauris. Etiam volutpat ex vitae lobortis iaculis. Maecenas et feugiat mi. Cras molestie convallis lorem viverra volutpat. Suspendisse quis libero non leo dictum fringilla. Mauris lobortis convallis mauris, sit amet pharetra justo fermentum sit amet. \",\n title: \"adSDMSIOSD MIOAPDS\",\n },\n {\n image: \"\",\n description:\n \"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur rutrum arcu vel mi tempus, quis tempus nisl porttitor. Ut commodo tempus semper. Donec eu massa eget erat bibendum volutpat ac sed lectus. Morbi vestibulum at ligula non ultricies. Suspendisse sed feugiat mauris. Etiam volutpat ex vitae lobortis iaculis. Maecenas et feugiat mi. Cras molestie convallis lorem viverra volutpat. Suspendisse quis libero non leo dictum fringilla. Mauris lobortis convallis mauris, sit amet pharetra justo fermentum sit amet. \",\n title: \"dsaijbsdaiouy adbs8ob\",\n },\n];\nexport const defaultADayAt: ADayAtType[] = [\n {\n image: \"\",\n description:\n \"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur rutrum arcu vel mi tempus, quis tempus nisl porttitor. Ut commodo tempus semper. Donec eu massa eget erat bibendum volutpat ac sed lectus. Morbi vestibulum at ligula non ultricies. Suspendisse sed feugiat mauris. Etiam volutpat ex vitae lobortis iaculis. Maecenas et feugiat mi. Cras molestie convallis lorem viverra volutpat. Suspendisse quis libero non leo dictum fringilla. Mauris lobortis convallis mauris, sit amet pharetra justo fermentum sit amet. \",\n title: \"Darkness my old friend\",\n subText:\n \"How do leaders handle their intertwining responsibilities and choose which society they want to build?\",\n priority: 0,\n },\n {\n image: \"\",\n description:\n \"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur rutrum arcu vel mi tempus, quis tempus nisl porttitor. Ut commodo tempus semper. Donec eu massa eget erat bibendum volutpat ac sed lectus. Morbi vestibulum at ligula non ultricies. Suspendisse sed feugiat mauris. Etiam volutpat ex vitae lobortis iaculis. Maecenas et feugiat mi. Cras molestie convallis lorem viverra volutpat. Suspendisse quis libero non leo dictum fringilla. Mauris lobortis convallis mauris, sit amet pharetra justo fermentum sit amet. \",\n title: \"adSDMSIOS DMIOAPDS\",\n subText:\n \"How do leaders handle their intertwining responsibilities and choose which society they want to build?\",\n priority: 0,\n },\n {\n image: \"\",\n description:\n \"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur rutrum arcu vel mi tempus, quis tempus nisl porttitor. Ut commodo tempus semper. Donec eu massa eget erat bibendum volutpat ac sed lectus. Morbi vestibulum at ligula non ultricies. Suspendisse sed feugiat mauris. Etiam volutpat ex vitae lobortis iaculis. Maecenas et feugiat mi. Cras molestie convallis lorem viverra volutpat. Suspendisse quis libero non leo dictum fringilla. Mauris lobortis convallis mauris, sit amet pharetra justo fermentum sit amet. \",\n title: \"dsaijbsda iouyadbs8ob\",\n subText:\n \"How do leaders handle their intertwining responsibilities and choose which society they want to build?\",\n priority: 0,\n },\n];\n","import {\n Box,\n Button,\n Card,\n CardContent,\n CardMedia,\n Container,\n Direction,\n IconButton,\n makeStyles,\n ThemeProvider,\n Typography,\n} from \"@material-ui/core\";\nimport { Dispatch, SetStateAction, useState } from \"react\";\nimport TrackCard from \"./TrackCard\";\nimport Icon from \"@mdi/react\";\nimport { mdiArrowRightCircleOutline } from \"@mdi/js\";\nimport { Colors } from \"../../../constants\";\nimport BottomDots from \"../BottomDots/BottomDots\";\nimport { calendarTheme } from \"../../../styles/theme\";\nimport { TrackType } from \"../Fallbacks\";\nimport { isMobile } from \"react-device-detect\";\n\nconst useStyles = makeStyles({\n headerCenter: {\n textAlign: \"center\",\n paddingTop: \"4rem\",\n paddingBottom: \"2rem\",\n },\n resetButton: {\n color: Colors.white,\n backgroundColor: Colors.orange,\n marginLeft: \"1rem\",\n },\n root: {\n minWidth: 275,\n maxWidth: 300,\n minHeight: 300,\n },\n titleStyle: {\n textAlign: \"center\",\n margin: \"1rem\",\n fontWeight: \"bold\",\n },\n underStyle: {\n textAlign: \"center\",\n marginBottom: 12,\n fontWeight: \"bold\",\n },\n textStyle: {\n whiteSpace: \"pre-line\",\n },\n});\ninterface Props {\n children?: React.ReactNode;\n nextPageCallback: (direction: Direction) => void;\n tracks: TrackType[];\n setPriority: Dispatch>;\n resetValues: () => void;\n handleCreateGroup?: () => void;\n text: string;\n title: string;\n focusChoice?: boolean | null;\n}\n\nconst getImageStringFromTrack = (track: TrackType, image: string): string => {\n let imageObj = track[image];\n if (imageObj === undefined){\n return \"\";\n }\n \n if (imageObj['formats']['medium'] !== undefined){\n return imageObj['formats']['medium']['url'];\n }\n if (imageObj['formats']['small'] !== undefined){\n return imageObj['formats']['small']['url'];\n }\n if (imageObj['formats']['thumbnail'] !== undefined){\n return imageObj['formats']['thumbnail']['url'];\n }\n return \"\";\n}\n\nconst Tracks = (props: Props) => {\n const { headerCenter, textStyle, titleStyle } = useStyles();\n const { nextPageCallback, tracks, setPriority, resetValues, handleCreateGroup } = props;\n const [priorityToGive, setPriorityToGive] = useState(1);\n\n const setPrio = (cardNumber: number) => {\n const newArray = tracks;\n\n let prio = tracks[cardNumber].priority;\n if (cardNumber > 4) return;\n if (prio !== 0 && prio !== undefined) return;\n newArray[cardNumber].priority = priorityToGive;\n setPriorityToGive(priorityToGive + 1);\n setPriority([...newArray]);\n };\n\nconst disabled = () => !tracks.every((current) => current.priority !== 0 && current.priority !== undefined) || props.focusChoice === null;\n\n return (\n \n \n \n {props.title}\n \n \n \n All participants at Aarhus Symposium will be placed on a track,\n each track consisting of four speakers.\n Please let us know which track you find the most exciting,\n by prioritizing them from 1-4.\n We will do our best to make sure all participants are placed on their first priority.

\n {props.text}\n \n
\n \n \n {\n resetValues();\n setPriorityToGive(1);\n }}\n variant=\"contained\"\n color=\"primary\"\n size=\"large\">\n \n Reset selection\n \n \n \n \n\n \n \n {tracks.map((track, i) => {\n return (\n setPrio(i)}\n title={track.title}\n subText={track.subText}\n text={track.description}\n number={track.priority}>\n \n\n
\n \n \n \n
\n
\n \n \n {track.priority == 0 ? \"Click to select\" : track.priority}\n \n \n \n );\n })}\n \n {handleCreateGroup !== undefined ?\n
\n {\n resetValues();\n setPriorityToGive(1);\n if (handleCreateGroup !== undefined) {\n handleCreateGroup();\n }\n }}\n variant=\"contained\"\n disabled={props.focusChoice === null}\n color=\"primary\"\n size=\"large\">\n \n I don't have any priority\n \n \n {\n handleCreateGroup();\n }\n }\n size=\"large\"\n style={{\n marginLeft: \"1rem\",\n width: \"200px\"\n }}\n\n >\n \n Create Group\n \n \n
\n :\n <>}\n {/* {handleCreateGroup !== undefined ?\n {\n handleCreateGroup();\n }\n }\n size=\"large\"\n\n >\n \n Create Group\n \n : <>\n } */}\n {nextPageCallback !== null ?\n {\n resetValues();\n setPriorityToGive(1);\n if (nextPageCallback !== null) {\n nextPageCallback(\"rtl\");\n }\n }}\n variant=\"contained\"\n color=\"primary\"\n size=\"large\">\n \n I don't have any priority\n \n :\n <>}\n
\n {nextPageCallback !== null ?\n \n \n \n {\n nextPageCallback(\"rtl\");\n }}>\n \n \n \n : <>}\n
\n \n );\n};\n\nexport default Tracks;\n","import {\n Box,\n Button,\n Card,\n CardContent,\n CardMedia,\n Container,\n Direction,\n IconButton,\n makeStyles,\n ThemeProvider,\n Typography,\n} from \"@material-ui/core\";\nimport { Dispatch, SetStateAction, useState } from \"react\";\nimport Icon from \"@mdi/react\";\nimport { mdiArrowLeftCircleOutline, mdiArrowRightCircleOutline } from \"@mdi/js\";\nimport { Colors } from \"../../../constants\";\nimport BottomDots from \"../BottomDots/BottomDots\";\nimport { calendarTheme } from \"../../../styles/theme\";\nimport { ADayAtType, TrackType } from \"../Fallbacks\";\nimport TrackCard from \"../Tracks/TrackCard\";\n\nconst useStyles = makeStyles({\n headerCenter: {\n textAlign: \"center\",\n padding: \"1rem\",\n },\n \n textStyle: {\n whiteSpace: \"pre-line\",\n },\n \n titleStyle: {\n textAlign: \"center\",\n margin: \"1rem\",\n fontWeight: \"bold\",\n },\n});\ninterface Props {\n nextPageCallback: (direction: Direction) => void;\n aDayAts: ADayAtType[];\n setPriority: Dispatch>;\n resetValues: () => void;\n}\n\nconst ADayAtPage = (props: Props) => {\n const getCurrentPrio = () => {\n let biggest = 0;\n const newArray = aDayAts;\n newArray.forEach(\n (value, index) => {\n if(value.priority > biggest){\n biggest = value.priority;\n }\n }\n )\n return biggest + 1;\n };\n const { headerCenter, titleStyle, textStyle } = useStyles();\n const { nextPageCallback, aDayAts, setPriority, resetValues } = props;\n const [priorityToGive, setPriorityToGive] = useState(getCurrentPrio());\n\n console.log(aDayAts);\n const setPrio = (cardNumber: number) => {\n const newArray = aDayAts;\n if (cardNumber > 3) return;\n\n if (aDayAts[cardNumber].priority !== 0) return;\n newArray[cardNumber].priority = priorityToGive;\n setPriorityToGive(priorityToGive + 1);\n setPriority([...newArray]);\n };\n\n const disabled = () => {\n return !(noPrioZero() || allPrioZero());\n }\n\n const noPrioZero = () => {\n let noneZero = true;\n const newArray = aDayAts;\n newArray.forEach(\n (value, index) => {\n if (value.priority === 0){\n noneZero = false;\n }\n }\n );\n return noneZero;\n }\n\n const allPrioZero = () => {\n let allZero = true;\n const newArray = aDayAts;\n newArray.forEach(\n (value, index) => {\n if (value.priority !== 0){\n allZero = false;\n }\n }\n );\n return allZero;\n }\n console.log(disabled());\n console.log(noPrioZero());\n console.log(allPrioZero());\n return (\n \n \n \n {\"ARE YOU INTERESTED IN A DAY AT?\"}\n \n \n {\"(OPTIONAL) \"}\n \n \n \n {\n \"A day at one of the Premium Partners of Aarhus Symposium is a unique opportunity for selected students to engage with students and representatives of the company. The day gives a profound understanding of the company and its career opportunities.\"\n }\n \n \n \n \n {\n resetValues();\n setPriorityToGive(1);\n }}\n variant=\"contained\"\n color=\"primary\"\n size=\"large\"\n >\n \n Reset selection\n \n \n \n \n\n \n \n {aDayAts.map((track, i) => {\n return (\n setPrio(i)}\n title={track.title}\n subText={track.subText}\n text={track.description}\n image={track.image}\n number={track.priority}\n >\n {track.image?.formats?.small?.url ? (\n \n ) : (track.image?.formats?.thumbnail?.url ? (\n \n ) : null)}\n \n \n {track.title}\n \n \n {track.description}\n \n
\n {/* \n {subText + \" dqwujdhqwoidhwquid\"}\n */}\n
\n
\n \n \n {track.priority == 0 ? \"Click to select\" : track.priority}\n \n \n \n );\n })}\n \n
\n\n \n {\n nextPageCallback(\"ltr\");\n }}\n >\n \n \n\n \n {\n nextPageCallback(\"rtl\");\n }}\n >\n \n \n \n
\n \n );\n};\n\nexport default ADayAtPage;\n","import {\n Button,\n Card,\n CardContent,\n Container,\n Direction,\n IconButton,\n makeStyles,\n Typography,\n} from \"@material-ui/core\";\nimport { mdiArrowLeftCircleOutline, mdiArrowRightCircleOutline } from \"@mdi/js\";\nimport Icon from \"@mdi/react\";\nimport { Dispatch, SetStateAction, useState } from \"react\";\nimport { Colors } from \"../../../constants\";\nimport BottomDots from \"../BottomDots/BottomDots\";\nimport TrackCard from \"../Tracks/TrackCard\";\n\nconst useStyles = makeStyles({\n titleStyle: {\n textAlign: \"center\",\n margin: \"1rem\",\n fontWeight: \"bold\",\n },\n headerCenter: {\n textAlign: \"center\",\n margin: \"1rem\",\n },\n resetButton: {\n color: Colors.white,\n backgroundColor: Colors.orange,\n marginLeft: \"1rem\",\n },\n});\n\ninterface Props {\n focus: boolean;\n setFocus: Dispatch>;\n nextPageCallback: (direction: Direction) => void;\n}\n\nconst Focus = (props: Props) => {\n const { headerCenter, titleStyle } = useStyles();\n const { focus, setFocus, nextPageCallback } = props;\n\n const disabled = () => focus === null || focus === undefined;\n\n return (\n \n \n \n ARE YOU INTERESTED IN PARTICIPATING\n \n \n IN AARHUS SYMPOSIUM FOCUS 2024?\n \n \n \n {\n \"Aarhus Symposium Focus is your chance to experience more of Aarhus Symposium. At Aarhus Symposium Focus, you will have a unique opportunity to experience one competent speaker addressing this year’s theme. \"\n }\n

\n {\n \"Are you uncertain of going alone? If you have registered as a group, you will also have the opportunity to experience the Aarhus Symposium Focus together. The event takes place on Monday, October 28, 2024.\"\n }\n \n \n
\n \n \n setFocus(false)}\n marked={focus === false}\n title=\" \"\n text=\"\">\n
\n \n NO\n \n
\n \n\n setFocus(true)}\n marked={focus === true}\n title=\" \"\n text=\"\">\n
\n \n YES\n \n
\n \n \n
\n \n {\n nextPageCallback(\"ltr\");\n }}>\n \n \n \n {\n nextPageCallback(\"rtl\");\n }}>\n \n \n \n
\n \n );\n};\n\nexport default Focus;\n","import { Direction, Slide } from \"@material-ui/core\";\nimport { useEffect } from \"react\";\nimport { useState } from \"react\";\nimport api from \"../../api\";\nimport Challenges from \"./Challenges/Challenges\";\nimport EssayThankYou from \"./EssayThankYou/EssayThankYou\";\nimport EssayUpload from \"./EssayUpload/EssayUpload\";\nimport strapiAPI from \"../../strapiAPI\";\nimport {\n ADayAtType,\n ChallengeType,\n defaultADayAt,\n defaultChallenges,\n defaultTracks,\n TrackType,\n} from \"./Fallbacks\";\nimport {\n CardMedia,\n} from \"@material-ui/core\";\nimport Tracks from \"./Tracks/Tracks\";\nimport ADayAt from \"./ADayAt/ADayAt\";\nimport { AxiosResponse } from \"axios\";\nimport Focus from \"./Focus/Focus\";\n\ninterface EssayPayload {\n aDayAtPriority: number[];\n trackPriority: number[];\n challenge: number;\n transportation: boolean;\n focus: boolean;\n essayLanguage: \"Danish\" | \"English\";\n}\n\nconst EssayDialog = () => {\n const [aDayAts, setADayAts] = useState(defaultADayAt);\n const [challenges, setChallenges] = useState(defaultChallenges);\n const [tracks, setTracks] = useState(defaultTracks);\n const [transportation, setTransportation] = useState(false);\n const [essayLanguage, setEssayLanguage] = useState<\"Danish\" | \"English\">(\n \"Danish\"\n );\n const [focus, setFocus] = useState(null);\n const [page, setPage] = useState(0);\n const [pickedChallenge, setPickedChallenge] = useState(undefined);\n const [file, setFile] = useState(undefined);\n\n useEffect(() => {\n const getDayAtAndChallenges = async () => {\n try {\n const aDayAts = await strapiAPI.get(\"/a-day-ats\");\n const challenges = await strapiAPI.get(\"/challenges\");\n const tracks = await strapiAPI.get(\"/tracks\");\n const { data: prevData } = await api.get(\n \"getTracksAndChallenge\"\n );\n\n if (aDayAts && challenges && tracks && prevData) {\n console.log(prevData);\n setChallenges(challenges.data);\n setADayAts(\n aDayAts.data.map((a, i) => ({\n ...a,\n priority: prevData.aDayAtPriority?.[i] ?? 0,\n }))\n );\n setTracks(\n tracks.data.slice(0,4).map((a, i) => ({\n ...a,\n priority: prevData.trackPriority?.[i] ?? 0,\n }))\n );\n setFocus(prevData.focus);\n setPickedChallenge(prevData.challenge ?? undefined);\n setTransportation(prevData.transportation);\n setEssayLanguage(!!prevData.essayLanguage ? prevData.essayLanguage : \"Danish\");\n }\n } catch (error) {\n console.log(error);\n }\n };\n getDayAtAndChallenges();\n }, []);\n\n const handleSubmit = async () => {\n if (file) {\n const formData = new FormData();\n formData.append(\"essay\", file, file.name);\n await api.post(\"/upload\", formData);\n }\n\n const aDayAtPriority = aDayAts.map(({ priority }) => priority);\n const trackPriority = tracks.map(({ priority }) => priority);\n\n const { status } = await api.post(\n \"/uploadTracksAndChallenge\",\n {\n data: {\n trackPriority,\n challenge: pickedChallenge,\n aDayAtPriority,\n transportation,\n focus,\n essayLanguage,\n },\n }\n );\n\n if (status === 200) handleChange(\"rtl\");\n };\n\n const resetTracks = () =>\n setTracks((tracks) => tracks.map((track) => ({ ...track, priority: 0 })));\n const resetADayAt = () =>\n setADayAts((aDayAts) =>\n aDayAts.map((aDayAt) => ({ ...aDayAt, priority: 0 }))\n );\n\n const handleChange = (direction: Direction) => {\n direction === \"rtl\"\n ? setPage((prev) => prev + 1)\n : setPage((prev) => prev - 1);\n };\n\n const renderTracksPage = () => (\n \n \n \n \n \n );\n\n const renderChallengesPage = () => (\n \n \n \n \n \n );\n const renderADayAtPage = () => (\n \n \n \n \n \n );\n const renderFocusPage = () => (\n \n \n \n \n \n );\n\n const renderUploadPage = () => (\n \n \n \n \n \n );\n\n const renderThankYouPage = () => (\n \n \n \n \n \n );\n\n const renderPage = () => {\n return (\n
\n {page === 0 ? renderTracksPage() : null}\n {page === 1 ? renderChallengesPage() : null}\n {page === 2 ? renderADayAtPage() : null}\n {page === 3 ? renderFocusPage() : null}\n {page === 4 ? renderUploadPage() : null}\n {page === 5 ? renderThankYouPage() : null}\n
\n );\n };\n\n return renderPage();\n};\n\nexport default EssayDialog;\n","import dayjs from \"dayjs\";\nimport { useEffect } from \"react\";\nimport {\n Redirect,\n Route,\n RouteProps,\n useHistory,\n useLocation,\n} from \"react-router-dom\";\nimport { logout, useAuthDispatch, useAuthState } from \"../Context\";\nimport { IUser, JWT } from \"../interfaces\";\nimport jwt_decode from \"jwt-decode\";\n\nconst AppRoutes = ({\n component: Component,\n path,\n isPrivate,\n exact,\n ...rest\n}: {\n component: any; // This is seriosuly not possible to typescript, Jesus...\n path: RouteProps[\"path\"];\n isPrivate: boolean;\n exact: boolean;\n}) => {\n const userDetails = useAuthState();\n const location = useLocation();\n const dispatch = useAuthDispatch(); // read dispatch method from context\n const history = useHistory();\n\n useEffect(() => {\n const checkJWTExpired = () => {\n const user: IUser = JSON.parse(localStorage.getItem(\"currentUser\")!);\n if (user?.token) {\n const token_decoded: JWT = jwt_decode(user.token);\n if (dayjs(token_decoded.exp).add(1, \"day\") < dayjs()) {\n logout(dispatch);\n history.push(\"/\");\n }\n }\n };\n checkJWTExpired();\n }, [location]);\n\n return (\n \n isPrivate && !Boolean(userDetails.token) ? (\n \n ) : (\n \n )\n }\n {...rest}\n />\n );\n};\n\nexport default AppRoutes;\n","import { Colors } from \"../constants\";\n\ninterface Props {\n marginLeft?: number;\n marginRight?: number;\n color: string;\n}\n\nconst HorizontalLine = (props: Props) => {\n const { marginRight, color, marginLeft } = props;\n\n return (\n \n );\n};\n\nexport default HorizontalLine;\n","import { CSSProperties } from \"react\";\n\nexport const innerFlexCenterWrapper: CSSProperties = {\n display: \"flex\",\n flexDirection: \"column\",\n flexShrink: 0,\n margin: \"20px\",\n minHeight: \"85vh\", \n};\n","import { createStyles, makeStyles, Theme } from \"@material-ui/core\";\nimport { CSSProperties } from \"react\";\nimport { Colors } from \"../../../constants\";\nimport \"../../../index.css\";\n\nexport const useStyles = makeStyles((theme: Theme) => {\n return createStyles({\n button: {\n color: Colors.white,\n backgroundColor: Colors.orange,\n },\n root: {\n \"& > *\": {\n margin: theme.spacing(1),\n },\n },\n });\n});\n\nexport const textStyle: CSSProperties = { fontSize: 12 };\n\nexport const textFieldStyle: CSSProperties = {\n marginBottom: \"2em\",\n borderBottom: `1px solid ${Colors.opaceBlack}`,\n fontFamily: \"futura-pt\",\n};\n\nexport const termsStyle: CSSProperties = {\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n flexDirection: \"column\",\n fontFamily: \"futura-pt\",\n};\n","import React from \"react\";\n\ndeclare global {\n interface Window {\n captchaOnLoad: () => void;\n grecaptcha: ReCaptchaInstance;\n }\n}\n\ninterface ReCaptchaInstance {\n ready: (cb: () => any) => any;\n execute: (options: ReCaptchaExecuteOptions) => Promise;\n render: (id: string, options: ReCaptchaRenderOptions) => any;\n}\n\ninterface ReCaptchaExecuteOptions {\n action: string;\n}\n\ninterface ReCaptchaRenderOptions {\n sitekey: string;\n size: \"invisible\";\n}\n\ninterface Props {\n action: string;\n children: (props: CaptchaProps) => React.ReactNode;\n}\n\nexport interface CaptchaProps {\n isReady: boolean;\n execute: () => Promise;\n}\n\ninterface State {\n readonly isReady: boolean;\n}\n\nclass ReCaptcha extends React.PureComponent {\n state: State = {\n isReady: false,\n };\n\n private script!: HTMLScriptElement;\n private widget!: HTMLDivElement;\n\n componentDidMount(): void {\n this.loadScript();\n }\n\n componentWillUnmount(): void {\n if (document.body) {\n document.body.removeChild(this.widget);\n document.body.removeChild(this.script);\n }\n }\n\n render(): React.ReactNode {\n return this.props.children({\n isReady: this.state.isReady,\n execute: this.executeCaptcha,\n });\n }\n\n private loadScript = (): void => {\n window.captchaOnLoad = this.onLoad;\n\n const url = \"https://www.google.com/recaptcha/api.js\";\n const queryString = \"?onload=captchaOnLoad&render=explicit\";\n const script = document.createElement(\"script\");\n script.type = \"text/javascript\";\n script.src = url + queryString;\n script.async = true;\n script.defer = true;\n\n this.script = document.body.appendChild(script);\n };\n\n private onLoad = (): void => {\n const key = process.env.REACT_APP_RECAPTCHA_KEY;\n const widget = document.createElement(\"div\");\n widget.id = \"g-recaptcha\";\n this.widget = document.body.appendChild(widget);\n\n window.grecaptcha.render(\"g-recaptcha\", {\n sitekey: key!,\n size: \"invisible\",\n });\n\n window.grecaptcha.ready(() => {\n this.setState({ isReady: true });\n });\n };\n\n private executeCaptcha = (): Promise => {\n if (!this.state.isReady) {\n throw new Error(\"Captcha can be executed only when it's ready.\");\n }\n\n return window.grecaptcha.execute({ action: this.props.action });\n };\n}\n\nexport default ReCaptcha;\n","export default __webpack_public_path__ + \"static/media/orange.13b21f39.png\";","import { useState } from \"react\";\nimport { Link, RouteComponentProps } from \"react-router-dom\";\nimport { loginUser, useAuthDispatch, useAuthState } from \"../../../Context\";\nimport ReCaptcha, { CaptchaProps } from \"../../../Recaptcha/Recaptcha\";\nimport { Button, TextField, Typography } from \"@material-ui/core\";\nimport { termsStyle, textFieldStyle, textStyle, useStyles } from \"./styles\";\nimport \"../../../index.css\";\nimport { innerFlexCenterWrapper } from \"../../../styles/globalStyles\";\nimport { Colors } from \"../../../constants\";\nimport HorizontalLine from \"../../../Components/HorizontalLine\";\nimport logo from \"../../../images/orange.png\";\nimport { isMobile } from \"react-device-detect\";\n\nconst Login = (props: RouteComponentProps): JSX.Element => {\n const [email, setEmail] = useState(\"\");\n const [password, setPassword] = useState(\"\");\n const [testBool, setTestBool] = useState(null);\n const { history } = props;\n const auth = useAuthState();\n\n const classes = useStyles();\n\n const dispatch = useAuthDispatch();\n const { loading, errorMessage } = useAuthState(); //read the values of loading and errorMessage from context\n\n const validateForm = () => {\n return email.length > 0 && password.length > 0;\n };\n\n const handleSubmit = async (execute: CaptchaProps[\"execute\"]) => {\n const recaptchaToken = await execute();\n\n const payload = { email, password, recaptchaToken };\n\n try {\n const response = await loginUser(dispatch, payload);\n if (!response?.token) {\n return;\n }\n history.push(\"/\");\n } catch (error) {\n console.log(error);\n }\n };\n\n return (\n \n {(captcha) => (\n {\n e.preventDefault();\n handleSubmit(captcha.execute);\n }}>\n \n
\n \n setEmail(target.value)}>\n \n setPassword(target.value)\n }>\n \n LOGIN\n \n {/* \n Closed for maintenance. Please check back in a few minutes\n */}\n {errorMessage ? (\n \n {auth.errorMessage}\n \n ) : null}\n
\n
\n By continuing, you agree to accept our\n
\n \n window.open(\"https://aarhus-symposium.org/terms\")\n }>\n Privacy Policy & Terms of Service\n \n
\n \n {\n history.push(\"/register\");\n }}\n className={classes.root}>\n SIGN UP\n \n {\n history.push(\"/resetPassword\");\n }}\n className={classes.root}>\n FORGOT PASSWORD?\n \n
\n
\n
\n \n \n )}\n
\n );\n};\n\nexport default Login;\n","import styles from \"./Notfound.module.css\";\n\nconst NotFound = () => {\n return (\n
\n

Page not found

\n
\n );\n};\n\nexport default NotFound;\n","import { createStyles, makeStyles, Theme } from \"@material-ui/core\";\nimport { Colors } from \"../../../constants\";\nimport \"../../../index.css\";\n\nexport const useStyles = makeStyles((theme: Theme) => {\n return createStyles({\n title: {\n color: \"#fff\",\n },\n input: {\n width: \"100%\",\n },\n colorDefault: {\n backgroundColor: Colors.orange,\n },\n button: {\n paddingLeft: \"1.5rem\",\n paddingRight: \"1.5rem\",\n borderRadius: 24,\n color: Colors.orange,\n },\n loginButton: {\n paddingLeft: \"4rem\",\n paddingRight: \"4rem\",\n borderRadius: 24,\n color: Colors.orange,\n },\n });\n});\n\nexport const headlineStyle: React.CSSProperties = {\n color: \"#FFF\",\n paddingTop: \"2rem\",\n paddingBottom: \"1rem\",\n};\n\nexport const stepStyle: React.CSSProperties = {\n color: \"#FFF\",\n};\n\nexport const TextFieldStyle: React.CSSProperties = {\n display: \"flex\",\n marginBottom: 20,\n};\n\nexport const selectStyle = {\n option: (defaultStyles, state) => ({\n ...defaultStyles,\n color: state.isSelected ? Colors.black : Colors.black,\n backgroundColor: state.isSelected ? Colors.opaqueOrange : Colors.white,\n }),\n\n control: (defaultStyles) => ({\n ...defaultStyles,\n backgroundColor: Colors.white,\n padding: \"2px\",\n border: \"none\",\n boxShadow: \"none\",\n }),\n singleValue: (defaultStyles) => ({ ...defaultStyles, color: Colors.black }),\n};","import {\n createStyles,\n Switch,\n SwitchClassKey,\n SwitchProps,\n Theme,\n withStyles,\n} from \"@material-ui/core\";\nimport { Colors } from \"../constants\";\n\ninterface Styles extends Partial> {\n focusVisible?: string;\n}\n\ninterface Props extends SwitchProps {\n classes: Styles;\n}\n\nconst IOSSwitch = withStyles((theme: Theme) =>\n createStyles({\n root: {\n width: 61,\n height: 25,\n padding: 0,\n margin: theme.spacing(1),\n overflow: \"visible\",\n },\n switchBase: {\n padding: 1,\n \"&$checked\": {\n transform: \"translateX(31px)\",\n color: theme.palette.common.white,\n \"& + $track\": {\n backgroundColor: Colors.orange,\n opacity: 1,\n },\n },\n \"&$focusVisible $thumb\": {\n color: Colors.opaceBlack,\n border: \"6px solid #fff\",\n },\n },\n thumb: {\n width: 20,\n height: 20,\n margin: 4,\n },\n track: {\n borderRadius: 61 / 2,\n border: `3px solid #fff`,\n backgroundColor: theme.palette.grey[400],\n opacity: 1,\n transition: theme.transitions.create([\"background-color\", \"border\"]),\n },\n checked: {},\n focusVisible: {},\n })\n)(({ classes, ...props }: Props) => {\n return (\n \n );\n});\n\nexport default IOSSwitch;\n","import { IUser } from \"../interfaces\";\n\nexport interface AuthAction {\n payload?: AuthState;\n type: string;\n error?: string;\n}\n\nexport interface AuthState extends IUser {\n loading: boolean;\n errorMessage?: string;\n}\n\nexport interface LoginPayload {\n email: string;\n password: string;\n recaptchaToken?: string;\n}\n\nexport interface RegisterPayload extends LoginPayload {\n study: string;\n institution: string;\n studyEnd: Date | null;\n vegetarian: boolean;\n glutenIntolerant: boolean;\n vegan: boolean;\n name: string;\n phone: string;\n postalCode: string;\n nationality: string;\n email: string;\n password: string;\n semester: string;\n gender: Gender;\n studyTitle: StudyTitle;\n exchangeStudent: boolean;\n permitCompanySharing: boolean;\n}\n\nexport interface DropDownOption {\n label: string\n value: string\n}\n\nexport const otherOption: DropDownOption = {\n value: \"other andet none\",\n label: \"Other (please specify underneath)\",\n};\n\nexport interface GroupedDropDownOptions {\n label: string\n options: DropDownOption[]\n}\n\nexport type EssayLanguage = \"Danish\" | \"English\";\n\nexport type StudyTitle = \"PhD\" | \"Bachelor\" | \"Graduate\";\n\nexport type Gender = \"Man\" | \"Woman\" | \"Other\";\n\n// essayLanguage?: EssayLanguage;\n","export const institutions = [\n 'Aalborg Universitet (AAU)',\n 'Aarhus Universitet (AU)',\n 'Copenhagen Business School (CBS)',\n 'Danmarks Tekniske Universitet (DTU)',\n 'IT-Universitet i København',\n 'Københavns Universitet (KU)',\n 'Roskilde Universitet (RUC)',\n 'Syddansk Universitet (SDU)',\n 'VIA University College',\n 'Erhvervsakademi Aarhus (EAAA)',\n];\n","import { DropDownOption, otherOption } from \"../../Context/interfaces\";\nimport { institutions } from \"./institutionsData\";\n\n\n/** Helper function to generate university options */\nexport function getInstitutionOptions(): DropDownOption[] {\n const institutionOptions: DropDownOption[] = institutions.map(\n (institution) => ({\n label: institution,\n value: institution,\n })\n );\n institutionOptions.push(otherOption);\n return institutionOptions;\n}\n\n/** Helper function to get the payload university */\nexport function getSelectedInsitution(\n institution: string,\n universityOptions: DropDownOption[]\n): DropDownOption | null {\n if (institution === \"\") {\n return null;\n }\n\n let payloadUniversity: DropDownOption = universityOptions.find(\n (uni) => uni.value === institution\n );\n if (payloadUniversity === undefined) {\n payloadUniversity = otherOption;\n }\n return payloadUniversity;\n}\n","export const educations = [\n \"Accounting, Strategy and Control\",\n \"Advanced Economics and Finance\",\n \"Advanced Power Electronics\",\n \"Afrikastudier\",\n \"Agrobiologi\",\n \"Agro-Environmental Management\",\n \"Agronomi\",\n \"Amerikanske studier\",\n \"Antropologi\",\n \"Anvendt filosofi\",\n \"Anvendt kulturanalyse\",\n \"Anvendt matematik\",\n \"Applied Economics and Finance\",\n \"Applied Industrial Electronics\",\n \"Arabisk- og islamstudier\",\n \"Arkitektur og design\",\n \"Arkæologi\",\n \"Asienstudier\",\n \"Assyriologi\",\n \"Astronomi\",\n \"Audiologi\",\n \"Audiologopædi\",\n \"Biblioteksvidenskab, it og kommunikation\",\n \"Bioengineering\",\n \"Bioentreprenørskab\",\n \"Bioinformatik\",\n \"Biokemi\",\n \"Biokemi og molekylær biologi\",\n \"Biologi\",\n \"Biomedicin\",\n \"Biomedicinsk teknologi\",\n \"Bioteknologi\",\n \"Brand and Communications Management\",\n \"Brasilianske studier\",\n \"Building Energy Design\",\n \"Business Administration and Bioentrepreneurship\",\n \"Business Administration and Data Science\",\n \"Business Administration and Digital Business\",\n \"Business Administration and Digital Management \",\n \"Business Administration and Information Systems\",\n \"Business Administration and Innovation in Health Care\",\n \"Business Administration and Philosophy\",\n \"Business Administration and Service Management\",\n \"Business Administration and Sociology\",\n \"Business and Development Studies\",\n \"Business, Asian Language and Culture - International Business in Asia\",\n \"Business, Language and Culture\",\n \"By-, energi- og miljø­planlægning\",\n \"Byggeledelse og bygnings­informatik\",\n \"Byggeledelse\",\n \"Byggeri\",\n \"Byggeri og anlæg\",\n \"Bygningsingeniør\",\n \"Bygningsdesign\",\n \"Bæredygtig energiteknik\",\n \"Bæredygtig skov- og naturforvaltning\",\n \"Bæredygtige byggeprocesser\",\n \"Bæredygtigt design\",\n \"Chemical Engineering and Biotechnology\",\n \"Chemical Engineering\",\n \"Children's Literature, Media and Culture\",\n \"Civilingeniør i Bygningsteknik\",\n \"Civilingeniør i Energisystemer\",\n \"Civilingeniør i Engineering, Innovation and Business\",\n \"Civilingeniør i Mechatronics\",\n \"Civilingeniør i Product Development and Innovation\",\n \"Civilingeniør i Software Engineering\",\n \"Civilingeniør i Spiludvikling og læringsteknologi\",\n \"Civilingeniør i Sundheds- og Velfærdsteknologi\",\n \"Cognitive Science \",\n \"Computer Engineering\",\n \"Computer Science\",\n \"Computer­teknologi\",\n \"Culture, Communi­cation and Globalization\",\n \"Cyber- og computer­teknologi\",\n \"Cyber Security\",\n \"Dansk\",\n \"Datalogi\",\n \"Datavidenskab\",\n \"Datavidenskab og machine learning\",\n \"Design og anvendelse af kunstig intelligens\",\n \"Designkultur\",\n \"Designkultur og økonomi\",\n \"Didaktik\",\n \"Digital design\",\n \"Digitalisering og applikations­udvikling\",\n \"Diplomingeniør i Bygningsteknik\",\n \"Diplomingeniør i Global Management and Manufacturing\",\n \"Diplomingeniør i Integreret Design\",\n \"Diplomingeniør i Mechatronics\",\n \"Diplomingeniør i Produktion\",\n \"Diversity and Change Management\",\n \"Dramaturgi\",\n \"Economics and Business Administration\",\n \"Electronic Systems\",\n \"Elektrisk energiteknologi\",\n \"Electronics\",\n \"Elektronik\",\n \"Elektronik og systemdesign\",\n \"Elektroteknologi\",\n \"Energiingeniør\",\n \"Energy Engineering\",\n \"Engelsk\",\n \"Entrepreneurial Business Engineering\",\n \"Erhvervssprog og international erhvervskommunikation\",\n \"Erhvervsøkonomi og Matematik\",\n \"Erhvervsøkonomi og Psykologi\",\n \"Erhvervsøkonomi og Virksomhedskommunikation\",\n \"Erhvervsøkonomi, cand.merc.\",\n \"Erhvervsøkonomi, cand.soc.\",\n \"Erhvervsøkonomi, HA\",\n \"Erhvervsøkonomi, HA - Energi management\",\n \"Erhvervsøkonomi, HA - Entreprenørskab og Innovation\",\n \"Erhvervsøkonomi, HA - Sports- og eventmanagement\",\n \"Erhvervsøkonomi, HA - Digitalisering og Forretningsudvikling\",\n \"Erhvervsøkonomi, HA - Global Business Relationships\",\n \"Erhvervsøkonomi, HA - Human Resource Management\",\n \"Erhvervsøkonomi, HA - International Business\",\n \"Erhvervsøkonomi, HA - Marketing og Brand Management\",\n \"Erhvervsøkonomi, HA - Europæisk business\",\n \"Erhvervsøkonomi, HA - Markeds- og kulturanalyse\",\n \"Erhvervsøkonomi, HA - Projektledelse\",\n \"Erhvervsøkonomi-erhvervssprog (Negot) - engelsk eller tysk\",\n \"Erhvervsøkonomi-jura, HA(jur.)\",\n \"Erhvervsøkonomi-filosofi, HA(fil.)\",\n \"Erhvervsøkonomi-informationsteknologi, HA(it.)\",\n \"Europas religiøse rødder\",\n \"Europastudier\",\n \"Europæisk etnologi\",\n \"Europæiske Studier\",\n \"Farmaci\",\n \"Film- og medievidenskab\",\n \"Filosofi\",\n \"Finance and Investments\",\n \"Finance and Strategic Management\",\n \"Finansiering og Regnskab\",\n \"Folkesundhedsvidenskab\",\n \"Forhistorisk arkæologi\",\n \"Forretningsudvikling, BDE\",\n \"Forsikringsmatematik\",\n \"Fransk sprog og kultur\",\n \"Fysik\",\n \"Fysik og teknologi\",\n \"Fødevareinnovation og sundhed\",\n \"Fødevareteknologi\",\n \"Fødevarevidenskab\",\n \"General Management and Analytics\",\n \"Generel pædagogik\",\n \"Geofysik\",\n \"Geografi\",\n \"Geologi\",\n \"Global Environment and Development\",\n \"Global ledelse og design af produktionsnetværk, GMM\",\n \"Global skovforvaltning\",\n \"Global sundhed\",\n \"Global udvikling\",\n \"Globale Forretnings­systemer\",\n \"Globale områdestudier\",\n \"Grønlandske og arktiske studier\",\n \"Historie\",\n \"Human ernæring\",\n \"Human Resource Management\",\n \"Human Security\",\n \"Humanbiologi\",\n \"Humanfysiologi\",\n \"Humanistisk-samfundsvidenskabelig idrætsvidenskab\",\n \"Husdyrvidenskab\",\n \"Idéhistorie\",\n \"Idræt\",\n \"Immunologi og inflammation\",\n \"Indianske sprog og kulturer\",\n \"Indien- og sydasienstudier\",\n \"Indoor Environmental and Energy Engineering\",\n \"Industrial Design\",\n \"Information Studies (Human Centered Informatics)\",\n \"Informationsteknologi\",\n \"Informationsvidenskab\",\n \"Ingeniørvidenskab\",\n \"Innovation og digitalisering\",\n \"Innovative Communication Technologies and Entrepreneurship\",\n \"Integrerede fødevarestudier\",\n \"Intelligent Reliable Systems\",\n \"Interaktions­design\",\n \"Interaktive digitale medier\",\n \"Interkulturel pædagogik og dansk som andetsprog\",\n \"Interkulturelle markedsstudier\",\n \"Interkulturelle studier\",\n \"International Business\",\n \"International Business and Politics\",\n \"International Business Development\",\n \"International fødevarekvalitet og sundhed\",\n \"International Marketing and Management\",\n \"International Relations\",\n \"International Shipping and Trade\",\n \"International virksomhedskommunikation\",\n \"Internationale studier \",\n \"Interreligiøse islamstudier\",\n \"It og kognition\",\n \"It, læring og organisatorisk omstilling\",\n \"Italiensk sprog og kultur\",\n \"It-Arkitektur\",\n \"It-didaktisk design\",\n \"It-ledelse\",\n \"IT-Produktudvikling\",\n \"Japanstudier\",\n \"Jordbrugsøkonomi\",\n \"Journalism, Media and Globalisation (Erasmus Mundus)\",\n \"Journalistik\",\n \"Jura\",\n \"Kemi \",\n \"Kemi og bioteknologi\",\n \"Kemiteknologi\",\n \"Kinastudier\",\n \"Klassisk arkæologi\",\n \"Klassisk filologi \",\n \"Klassisk græsk\",\n \"Klimaforandringer\",\n \"Klinisk biomekanik\",\n \"Klinisk ernæring\",\n \"Klinisk tandteknik\",\n \"Klinisk videnskab og teknologi\",\n \"Kognition og kommunikation\",\n \"Kommunikation\",\n \"Kommunikation og digitale medier\",\n \"Kommunikation og it\",\n \"Kriminologi\",\n \"Kunst og teknologi\",\n \"Kunsthistorie\",\n \"Kunstig intelligens\",\n \"Kvanteinformationsvidenskab\",\n \"Kvantitativ biologi og sygdomsmodellering\",\n \"Landinspektør­videnskab\",\n \"Landskabsarkitektur\",\n \"Latin\",\n \"Ledelse og informatik i byggeriet\",\n \"Lighting Design\",\n \"Lingvistik\",\n \"Litteraturhistorie\",\n \"Litteraturvidenskab\",\n \"Lægemiddelvidenskab\",\n \"Læring og forandrings­processer\",\n \"Management Engineering\",\n \"Management of Innovation and Business Development\",\n \"Market and Management Anthropology\",\n \"Maskinteknik\",\n \"Master i arbejdsmiljøledelse\",\n \"Matematik\",\n \"Matematik-teknologi\",\n \"Matematik-Økonomi\",\n \"Mechanical Engineering\",\n \"Medialogi\",\n \"Medicin\",\n \"Medicin med industriel specialisering\",\n \"Medicin og teknologi\",\n \"Medicinalkemi\",\n \"Medievidenskab \",\n \"Mekanik\",\n \"Mellemøstens sprog og samfund\",\n \"Migrationsstudier\",\n \"Miljø- og konfliktanalyse\",\n \"Miljø- og natur-ressourceøkonomi\",\n \"Miljøvidenskab\",\n \"Moderne kultur\",\n \"Molekylær biomedicin\",\n \"Molekylær ernæring og fødevareteknologi\",\n \"Molekylær medicin\",\n \"Molekylærbiologi\",\n \"Musik\",\n \"Musikterapi\",\n \"Musikvidenskab\",\n \"Muskuloskeletal fysioterapi\",\n \"Nanobio­technology\",\n \"Nanoscience\",\n \"Naturforvaltning\",\n \"Naturressourcer og udvikling\",\n \"Neurovidenskab\",\n \"Nordisk sprog og litteratur\",\n \"Nærorientalsk arkæologi\",\n \"Odontologi\",\n \"Oldtidskundskab\",\n \"Oplevelses­design\",\n \"Oplevelsesøkonomi \",\n \"Optometri og synsvidenskab\",\n \"Organisational Innovation and Entrepreneurship\",\n \"Organisatorisk læring\",\n \"People and Business Development\",\n \"Physics and Technology\",\n \"Politik og administration\",\n \"Politik og økonomi\",\n \"Portugisiske og brasilianske studier\",\n \"Produkt- og Design­psykologi\",\n \"Professionsbachelor i engelsk og digital markedskommunikation\",\n \"Psykologi\",\n \"Public Management and Social Development\",\n \"Pædagogik\",\n \"Quantitative Economics\",\n \"Religionsvidenskab\",\n \"Retorik\",\n \"Revision\",\n \"Revisorkandidat\",\n \"Risk and Safety Management\",\n \"Robotics\",\n \"Robotteknologi\",\n \"Ruslandstudier\",\n \"Sales Management\",\n \"Samfundsfag\",\n \"Service Systems Design\",\n \"Sikkerheds- og risikoledelse\",\n \"Skovbrugsvidenskab\",\n \"Social datavidenskab\",\n \"Socialrådgiver\",\n \"Socialt arbejde\",\n \"Sociologi\",\n \"Software\",\n \"Softwareteknologi\",\n \"Soils and Global Change\",\n \"Sound and Music Computing\",\n \"Sprog og internationale studier\",\n \"Sprogpsykologi\",\n \"Statistik\",\n \"Statskundskab\",\n \"STEM-undervisning\",\n \"Strategic Design and Entrepreneurship\",\n \"Strategic Value Chain Management (Cand. Merc)\",\n \"Strategy, Organisation and Leadership\",\n \"Structural and Civil Engineering\",\n \"Structural Design and Analysis\",\n \"Sundhed og informatik\",\n \"Sundhedsfaglig kandidatuddannelse\",\n \"Sundhedsteknologi\",\n \"Supply Chain Management\",\n \"Surveying and Planning\",\n \"Surveying, Planning and Land Management\",\n \"Sustainable Biotechnology\",\n \"Sustainable Cities\",\n \"Sustainable Design\",\n \"Sustainable Energy Engineering\",\n \"Sustainable Heritage Management \",\n \"Sustainable Tourism and Hospitality Management\",\n \"Sygepleje\",\n \"Tandpleje\",\n \"Teater- og performancestudier\",\n \"Tekno­antropologi\",\n \"Teknologibaseret forretningsudvikling\",\n \"Teologi\",\n \"Tourism\",\n \"Tværkulturelle studier\",\n \"Tysk\",\n \"Uddannelsesantropologi og globalisering\",\n \"Uddannelsesvidenskab\",\n \"Urban Design\",\n \"Urban, Energy and Environmental Planning\",\n \"Vand og miljø\",\n \"Veje og trafik\",\n \"Veterinærmedicin\",\n \"Videnskabsstudier \",\n \"Visuel kultur\",\n \"Water and Environmental Engineering\",\n \"Ægyptologi\",\n \"Æstetik og kultur\",\n \"Økonomi\",\n \"Økonomisk Markedsføring\",\n \"Østeuropastudier\"\n ];\n","import { TextField } from \"@material-ui/core\";\nimport { Dispatch, SetStateAction } from \"react\";\nimport {\n GroupedDropDownOptions,\n DropDownOption,\n otherOption,\n RegisterPayload,\n} from \"../../Context/interfaces\";\nimport Select from \"react-select\";\nimport { selectStyle } from \"../../Pages/Auth/Register/styles\";\nimport { educations } from \"./educationData\";\n\n/** Helper function to generate education options */\nexport function getEducationOptions(): GroupedDropDownOptions[] {\n const educationOptions: DropDownOption[] = educations.map((education) => ({\n label: education,\n value: education,\n }));\n educationOptions.push(otherOption);\n\n const frequentOptions: DropDownOption[] = [\n { label: \"Økonomi\", value: \"Økonomi\" },\n { label: \"Erhvervsøkonomi, HA almen\", value: \"Erhvervsøkonomi, HA almen\" },\n {\n label: \"Economics and Business Administration\",\n value: \"Economics and Business Administration\",\n },\n { label: \"Statskundskab\", value: \"Statskundskab\" },\n {\n label: \"Erhvervsøkonomi og erhvervsret, HA(jur.)\",\n value: \"Erhvervsøkonomi og erhvervsret, HA(jur.)\",\n },\n { label: \"Politik og økonomi\", value: \"Politik og økonomi\" },\n ];\n\n const groupOptions: GroupedDropDownOptions[] = [\n { label: \"Frequently chosen\", options: frequentOptions },\n { label: \"All educations\", options: educationOptions },\n ];\n\n return groupOptions;\n}\n\n// Helper function to get the payload education\nexport function getSelectedEducation(\n study: string,\n educationOptions: DropDownOption[]\n): DropDownOption | null {\n if (study === \"\") {\n return null;\n }\n\n let payloadEducation: DropDownOption = educationOptions.find(\n (edu) => edu.value === study\n );\n if (payloadEducation === undefined) {\n payloadEducation = otherOption;\n }\n return payloadEducation;\n}\n\ninterface Props {\n selectedInstitutionOption: DropDownOption | null;\n selectedEducationOption: DropDownOption | null;\n groupedEducationOptions: GroupedDropDownOptions[];\n payloadStudy: string;\n setUserDataCallback: Dispatch>;\n setSelecetedEducationOption: Dispatch>;\n}\n/**\n * this displays the correct version of the educationInputComponent\n * depending on the give information\n * */\nconst EducationInputComponent: React.FC = ({\n selectedEducationOption,\n groupedEducationOptions,\n payloadStudy,\n setUserDataCallback,\n setSelecetedEducationOption,\n}) => {\n if (\n selectedEducationOption &&\n selectedEducationOption.value === otherOption.value\n ) {\n return (\n
\n {\n setSelecetedEducationOption(e);\n let study = e.value;\n if (e.value === otherOption.value) {\n study = \"\";\n }\n setUserDataCallback((prev) => ({\n ...prev,\n study: study,\n }));\n }}\n options={groupedEducationOptions}\n isSearchable={true}\n noOptionsMessage={() => \"Please select an institution first\"}\n />\n \n {\n setUserDataCallback((prev) => ({\n ...prev,\n study: target.value,\n }));\n }}\n />\n
\n \n );\n }\n\n return (\n {\n setSelecetedEducationOption(e);\n let study = e.value;\n if (e === otherOption) {\n study = \"\";\n }\n setUserDataCallback((prev) => ({\n ...prev,\n study: study,\n }));\n }}\n options={groupedEducationOptions}\n isSearchable={true}\n noOptionsMessage={() => \"Please select an institution first\"}\n />\n );\n};\n\nexport default EducationInputComponent;\n","import { Dispatch, SetStateAction } from \"react\";\nimport {\n Button,\n Direction,\n MenuItem,\n TextField,\n ThemeProvider,\n Typography,\n} from \"@material-ui/core\";\nimport { stepStyle, headlineStyle, useStyles, selectStyle } from \"../styles\";\nimport IOSSwitch from \"../../../../Components/iOSSwitch\";\nimport { DatePicker } from \"@material-ui/pickers\";\nimport { calendarTheme } from \"../../../../styles/theme\";\nimport { isPast } from \"date-fns\";\nimport { innerFlexCenterWrapper } from \"../../../../styles/globalStyles\";\nimport {\n DropDownOption,\n GroupedDropDownOptions,\n RegisterPayload,\n StudyTitle,\n otherOption,\n} from \"../../../../Context/interfaces\";\nimport Select from \"react-select\";\nimport React from \"react\";\nimport {\n getInstitutionOptions,\n getSelectedInsitution,\n} from \"../../../../data/institutions/institutionDataHelper\";\nimport EducationInputComponent, {\n getEducationOptions,\n getSelectedEducation,\n} from \"../../../../data/educations/educationDataHelper\";\n\ninterface Props {\n setUserDataCallback: Dispatch>;\n userData: RegisterPayload;\n onClick: (dir: Direction) => void;\n}\n\nconst Page1 = (props: Props): JSX.Element => {\n const { setUserDataCallback, userData, onClick } = props;\n\n const institutionOptions: DropDownOption[] = getInstitutionOptions();\n const selectedInstitution: DropDownOption = getSelectedInsitution(\n userData.institution,\n institutionOptions\n );\n\n const groupedEducationOptions: GroupedDropDownOptions[] =\n getEducationOptions();\n const selectedEducation: DropDownOption = getSelectedEducation(\n userData.study,\n groupedEducationOptions[1].options\n );\n\n const [selectedInstitutionOption, setSelectedInstitutionOption] =\n React.useState(selectedInstitution);\n const [selectedEducationOption, setSelecetedEducationOption] =\n React.useState(selectedEducation);\n\n const {\n study,\n studyEnd,\n institution,\n studyTitle,\n semester,\n exchangeStudent,\n permitCompanySharing\n } = userData;\n\n const buttonZeroDisabled = !(\n study &&\n studyEnd !== null &&\n !isPast(studyEnd) &&\n institution &&\n studyTitle &&\n semester\n );\n\n const { input, button } = useStyles();\n\n return (\n {\n e.preventDefault();\n onClick(\"rtl\");\n }}>\n
\n \n STEP 1 OF 3\n \n\n \n WHAT IS YOUR EDUCATIONAL INSTITUTION?\n \n\n {\n setSelectedInstitutionOption(e);\n let institution = e.value;\n if (e === otherOption) {\n institution = \"\";\n }\n setUserDataCallback((prev) => ({\n ...prev,\n institution: institution,\n }));\n }}\n options={institutionOptions}\n isSearchable={true}\n />\n {selectedInstitutionOption &&\n selectedInstitutionOption.value === otherOption.value && (\n \n setUserDataCallback((prev) => ({\n ...prev,\n institution: target.value,\n }))\n }\n />\n )}\n\n \n WHAT ARE YOU STUDYING?\n \n\n \n\n \n HOW FAR ARE YOU IN YOUR STUDIES?\n \n\n \n setUserDataCallback((prev) => ({\n ...prev,\n studyTitle: target.value as StudyTitle,\n }))\n }>\n {[\"Bachelor\", \"Master\", \"PhD\"].map((key) => (\n \n {key}\n \n ))}\n \n\n \n WHICH SEMESTER ARE YOU CURRENTLY IN?\n \n\n \n setUserDataCallback((prev) => ({\n ...prev,\n semester: target.value,\n }))\n }>\n {[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map((key) => (\n \n {key + \". semester\"}\n \n ))}\n \n\n \n WHEN WILL YOU COMPLETE YOUR STUDIES?\n \n \n \n setUserDataCallback((prev) => ({\n ...prev,\n studyEnd: date,\n }))\n }\n />\n \n {isPast(studyEnd) ? (\n

\n You have to be an active student to participate\n

\n ) : null}\n\n \n ARE YOU AN EXHANGE STUDENT?\n {\n setUserDataCallback((prev) => ({\n ...prev,\n exchangeStudent: target.checked,\n }));\n }}\n />\n \n\n {/* \n ALLOW COMPANIES TO CONTACT YOU?\n {\n setUserDataCallback((prev) => ({\n ...prev,\n permitCompanySharing: target.checked,\n }));\n }}\n />\n */}\n\n \n \n NEXT\n \n
\n \n \n );\n};\n\nexport default Page1;\n","import { DropDownOption, GroupedDropDownOptions } from \"../../Context/interfaces\"\n\n\nexport function getNationalityOptions(): GroupedDropDownOptions[] {\n let nationalityOptions: DropDownOption[] = []\n allNationalities.map((nationality) => {\n const nationalityOption = {value: nationality, label: nationality}\n nationalityOptions.push(nationalityOption)\n })\n\n const frequentChosen: DropDownOption[] = [\n {label: \"Danish\", value: \"Danish\"},\n ]\n\n const groupedOptions: GroupedDropDownOptions[] = [\n { label: \"Frequently chosen\", options: frequentChosen },\n { label: \"All Nationalities\", options: nationalityOptions },\n ]\n\n return groupedOptions;\n}\n\nexport function getSelectedNationalityOption(nationality: string): DropDownOption | null {\n if (nationality === \"\" || !allNationalities.includes(nationality)) {\n return null\n }\n return {value: nationality, label: nationality}\n}\n\n\nconst allNationalities = [\n \"Afghan\",\n \"Albanian\",\n \"Algerian\",\n \"American\",\n \"Andorran\",\n \"Angolan\",\n \"Antiguans\",\n \"Argentinean\",\n \"Armenian\",\n \"Australian\",\n \"Austrian\",\n \"Azerbaijani\",\n \"Bahamian\",\n \"Bahraini\",\n \"Bangladeshi\",\n \"Barbadian\",\n \"Barbudans\",\n \"Batswana\",\n \"Belarusian\",\n \"Belgian\",\n \"Belizean\",\n \"Beninese\",\n \"Bhutanese\",\n \"Bolivian\",\n \"Bosnian\",\n \"Brazilian\",\n \"British\",\n \"Bruneian\",\n \"Bulgarian\",\n \"Burkinabe\",\n \"Burmese\",\n \"Burundian\",\n \"Cambodian\",\n \"Cameroonian\",\n \"Canadian\",\n \"Cape Verdean\",\n \"Central African\",\n \"Chadian\",\n \"Chilean\",\n \"Chinese\",\n \"Colombian\",\n \"Comoran\",\n \"Congolese\",\n \"Costa Rican\",\n \"Croatian\",\n \"Cuban\",\n \"Cypriot\",\n \"Czech\",\n \"Danish\",\n \"Djibouti\",\n \"Dominican\",\n \"Dutch\",\n \"East Timorese\",\n \"Ecuadorean\",\n \"Egyptian\",\n \"Emirian\",\n \"Equatorial Guinean\",\n \"Eritrean\",\n \"Estonian\",\n \"Ethiopian\",\n \"Fijian\",\n \"Filipino\",\n \"Finnish\",\n \"French\",\n \"Gabonese\",\n \"Gambian\",\n \"Georgian\",\n \"German\",\n \"Ghanaian\",\n \"Greek\",\n \"Grenadian\",\n \"Guatemalan\",\n \"Guinea-Bissauan\",\n \"Guinean\",\n \"Guyanese\",\n \"Haitian\",\n \"Herzegovinian\",\n \"Honduran\",\n \"Hungarian\",\n \"I-Kiribati\",\n \"Icelander\",\n \"Indian\",\n \"Indonesian\",\n \"Iranian\",\n \"Iraqi\",\n \"Irish\",\n \"Israeli\",\n \"Italian\",\n \"Ivorian\",\n \"Jamaican\",\n \"Japanese\",\n \"Jordanian\",\n \"Kazakhstani\",\n \"Kenyan\",\n \"Kittian and Nevisian\",\n \"Kuwaiti\",\n \"Kyrgyz\",\n \"Laotian\",\n \"Latvian\",\n \"Lebanese\",\n \"Liberian\",\n \"Libyan\",\n \"Liechtensteiner\",\n \"Lithuanian\",\n \"Luxembourger\",\n \"Macedonian\",\n \"Malagasy\",\n \"Malawian\",\n \"Malaysian\",\n \"Maldivian\",\n \"Malian\",\n \"Maltese\",\n \"Marshallese\",\n \"Mauritanian\",\n \"Mauritian\",\n \"Mexican\",\n \"Micronesian\",\n \"Moldovan\",\n \"Monacan\",\n \"Mongolian\",\n \"Moroccan\",\n \"Mosotho\",\n \"Motswana\",\n \"Mozambican\",\n \"Namibian\",\n \"Nauruan\",\n \"Nepalese\",\n \"New Zealander\",\n \"Ni-Vanuatu\",\n \"Nicaraguan\",\n \"Nigerian\",\n \"Nigerien\",\n \"North Korean\",\n \"Northern Irish\",\n \"Norwegian\",\n \"Omani\",\n \"Pakistani\",\n \"Palauan\",\n \"Panamanian\",\n \"Papua New Guinean\",\n \"Paraguayan\",\n \"Peruvian\",\n \"Polish\",\n \"Portuguese\",\n \"Qatari\",\n \"Romanian\",\n \"Russian\",\n \"Rwandan\",\n \"Saint Lucian\",\n \"Salvadoran\",\n \"Samoan\",\n \"San Marinese\",\n \"Sao Tomean\",\n \"Saudi\",\n \"Scottish\",\n \"Senegalese\",\n \"Serbian\",\n \"Seychellois\",\n \"Sierra Leonean\",\n \"Singaporean\",\n \"Slovakian\",\n \"Slovenian\",\n \"Solomon Islander\",\n \"Somali\",\n \"South African\",\n \"South Korean\",\n \"Spanish\",\n \"Sri Lankan\",\n \"Sudanese\",\n \"Surinamer\",\n \"Swazi\",\n \"Swedish\",\n \"Swiss\",\n \"Syrian\",\n \"Taiwanese\",\n \"Tajik\",\n \"Tanzanian\",\n \"Thai\",\n \"Togolese\",\n \"Tongan\",\n \"Trinidadian or Tobagonian\",\n \"Tunisian\",\n \"Turkish\",\n \"Tuvaluan\",\n \"Ugandan\",\n \"Ukrainian\",\n \"Uruguayan\",\n \"Uzbekistani\",\n \"Venezuelan\",\n \"Vietnamese\",\n \"Welsh\",\n \"Yemenite\",\n \"Zambian\",\n \"Zimbabwean\",\n]\n","import {\n Button,\n Direction,\n MenuItem,\n TextField,\n Typography,\n} from \"@material-ui/core\";\nimport { FormEvent, useState } from \"react\";\nimport { Dispatch, SetStateAction } from \"react\";\nimport Select from \"react-select\";\nimport {\n DropDownOption,\n Gender,\n GroupedDropDownOptions,\n RegisterPayload,\n} from \"../../../../Context/interfaces\";\nimport { innerFlexCenterWrapper } from \"../../../../styles/globalStyles\";\nimport {\n headlineStyle,\n selectStyle,\n stepStyle,\n TextFieldStyle,\n useStyles,\n} from \"../styles\";\nimport IOSSwitch from \"../../../../Components/iOSSwitch\";\n\nimport {\n getNationalityOptions,\n getSelectedNationalityOption,\n} from \"../../../../data/nationalities/nationalities\";\nimport { PhoneInput } from \"react-international-phone\";\nimport \"react-international-phone/build/index.css\";\n\ninterface Props {\n setUserDataCallback: Dispatch>;\n userData: RegisterPayload;\n onClick: (dir: Direction) => void;\n}\n\nconst Page2 = (props: Props) => {\n const { setUserDataCallback, userData, onClick } = props;\n const {\n name,\n phone,\n nationality,\n postalCode,\n gender,\n vegetarian,\n glutenIntolerant,\n vegan,\n } = userData;\n\n const selectedNationalityFromPayload: DropDownOption =\n getSelectedNationalityOption(nationality);\n\n const [selectedNationality, setSelectedNationality] =\n useState(selectedNationalityFromPayload);\n const [errorMessage, setErrorMessage] = useState(\"\");\n\n const buttonOneDisabled = !(\n name &&\n phone &&\n postalCode &&\n nationality &&\n gender\n );\n\n const handleOnNextClick = (e: FormEvent) => {\n e.preventDefault();\n if (isNaN(parseInt(phone))) {\n setErrorMessage(\"Phone number should be a number\");\n return;\n }\n\n onClick(\"rtl\");\n };\n\n const { button, input } = useStyles();\n\n const countryOptions: GroupedDropDownOptions[] = getNationalityOptions();\n\n return (\n
\n
\n \n STEP 2 OF 3\n \n \n TELL US MORE ABOUT YOURSELF\n \n\n \n WHAT IS YOUR NATIONALITY?\n \n\n {\n setSelectedNationality(e);\n const nationality = e.value;\n setUserDataCallback((prev) => ({\n ...prev,\n nationality: nationality,\n }));\n }}\n options={countryOptions}\n isSearchable={true}\n />\n\n
\n \n setUserDataCallback((prev) => ({\n ...prev,\n name: target.value,\n }))\n }\n inputProps={{\n autoComplete: \"name\",\n }}>\n
\n\n \n setUserDataCallback((prev) => ({\n ...prev,\n postalCode: target.value,\n }))\n }\n inputProps={{\n autoComplete: \"postal-code\",\n }}>\n\n \n setUserDataCallback((prev) => ({\n ...prev,\n gender: target.value as Gender,\n }))\n }\n inputProps={{\n autoComplete: \"sex\",\n }}>\n \n Man\n \n \n Woman\n \n \n Other\n \n \n\n \n setUserDataCallback((prev) => ({ ...prev, phone }))\n }\n style={{ paddingTop: \"2rem\", paddingBottom: \"1rem\" }}\n inputProps={{\n autoComplete: \"tel\",\n }}\n />\n\n \n ARE YOU VEGETARIAN?\n {\n setUserDataCallback((prev) => ({\n ...prev,\n vegetarian: target.checked,\n vegan: target.checked ? false : prev.vegan,\n }));\n }}\n />\n \n\n \n ARE YOU VEGAN?\n {\n setUserDataCallback((prev) => ({\n ...prev,\n vegan: target.checked,\n vegetarian: target.checked ? false : prev.vegetarian,\n }));\n }}\n />\n \n\n \n ARE YOU GLUTEN INTOLERANT?\n {\n setUserDataCallback((prev) => ({\n ...prev,\n glutenIntolerant: target.checked,\n }));\n }}\n />\n \n \n This is used for food ordering at the event.\n \n\n {errorMessage ? (\n \n {errorMessage}\n \n ) : null}\n \n onClick(\"ltr\")}>\n PREVIOUS\n \n \n NEXT\n \n
\n \n
\n );\n};\n\nexport default Page2;\n","import { Button, Direction, TextField, Typography } from \"@material-ui/core\";\nimport { AxiosResponse } from \"axios\";\nimport {\n Dispatch,\n SetStateAction,\n useState,\n FormEvent,\n useContext,\n} from \"react\";\nimport api from \"../../../../api\";\nimport { RegisterPayload } from \"../../../../Context/interfaces\";\nimport { innerFlexCenterWrapper } from \"../../../../styles/globalStyles\";\nimport { headlineStyle, stepStyle, useStyles } from \"../styles\";\nimport { isMobile } from \"react-device-detect\";\nimport { termsStyle } from \"../../Login/styles\";\nimport { Colors } from \"../../../../constants\";\nimport { Link } from \"react-router-dom\";\n\ninterface Props {\n setUserDataCallback: Dispatch>;\n userData: RegisterPayload;\n onClick: (dir: Direction) => void;\n}\n\nconst Page3 = (props: Props) => {\n const { setUserDataCallback, userData, onClick } = props;\n const {\n email,\n password,\n nationality,\n name,\n vegetarian,\n glutenIntolerant,\n phone,\n studyEnd,\n study,\n postalCode,\n institution,\n gender,\n semester,\n studyTitle,\n exchangeStudent,\n permitCompanySharing,\n } = userData;\n const { button } = useStyles();\n\n const [error, setError] = useState(\"\");\n\n const validateForm = () => {\n return email.length > 0 && password.length > 0;\n };\n\n const handleSubmit = async (e: FormEvent) => {\n e.preventDefault();\n try {\n const data = await api.post(\"/register\", {\n data: {\n email,\n password,\n name,\n phone,\n nationality,\n studyEnd,\n study,\n vegetarian,\n postalCode,\n institution,\n gender,\n semester,\n studyTitle,\n exchangeStudent,\n permitCompanySharing,\n glutenIntolerant,\n },\n });\n if (data.status === 200) {\n onClick(\"rtl\");\n }\n } catch (error) {\n console.log(error);\n if (error?.response?.status === 400)\n setError(error.response.data?.error?.message);\n }\n };\n\n return (\n
\n
\n \n STEP 3 OF 3\n \n \n CREATE YOUR ACCOUNT\n \n \n setUserDataCallback((prev) => ({\n ...prev,\n email: target.value,\n }))\n }>\n setError(\"\")}\n onChange={({ target }) =>\n setUserDataCallback((prev) => ({\n ...prev,\n password: target.value,\n }))\n }>\n \n {error}\n \n
\n
\n By continuing, you agree to accept our\n
\n window.open(\"https://aarhus-symposium.org/terms\")}>\n Privacy Policy & Terms of Service\n \n
\n\n \n onClick(\"ltr\")}>\n PREVIOUS\n \n
\n \n SIGN UP\n \n
\n \n
\n );\n};\n\nexport default Page3;\n","import { Typography } from \"@material-ui/core\";\nimport { useState } from \"react\";\nimport { useEffect } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport { innerFlexCenterWrapper } from \"../../../../styles/globalStyles\";\nimport { headlineStyle, useStyles } from \"../styles\";\n\nconst Page4 = () => {\n const history = useHistory();\n\n useEffect(() => {\n setTimeout(() => {\n history.push(\"/\");\n }, 5000);\n }, []);\n\n return (\n
\n
\n \n THANK YOU!\n \n \n PLEASE CHECK YOUR EMAIL TO VERIFY YOUR ACCOUNT.\n \n \n REMEMBER TO LOOK IN YOUR SPAM FOLDER\n \n \n We will redirected you shortly...\n \n
\n
\n );\n};\n\nexport default Page4;\n","export default __webpack_public_path__ + \"static/media/Background2024.23cca8a8.png\";","export default __webpack_public_path__ + \"static/media/logo.33671312.png\";","import { Direction, Slide, ThemeProvider, Toolbar } from \"@material-ui/core\";\nimport * as fs from \"fs\";\nimport { CSSProperties, Fragment, useState } from \"react\";\nimport { signUpTheme } from \"../../../styles/theme\";\nimport Page1 from \"./Page1/Page1\";\nimport Page2 from \"./Page2/Page2\";\nimport Page3 from \"./Page3/Page3\";\nimport Page4 from \"./Page4/Page4\";\nimport { useStyles } from \"./styles\";\nimport bgImage from \"../../../images/Background2024.png\";\nimport logo from \"../../../images/logo.png\";\nimport { DropDownOption, RegisterPayload } from \"../../../Context/interfaces\";\n\nconst Register = () => {\n const [page, setPage] = useState(0);\n const [slideDirection, setSlideDirection] = useState<\"left\" | \"right\">(\n \"right\"\n );\n const [userData, setUserData] = useState({\n vegetarian: false,\n studyEnd: null,\n study: \"\",\n institution: \"\",\n postalCode: \"\",\n phone: \"\",\n name: \"\",\n nationality: \"\",\n email: \"\",\n password: \"\",\n semester: \"\",\n gender: undefined,\n studyTitle: undefined,\n exchangeStudent: false,\n permitCompanySharing: false,\n glutenIntolerant: false,\n vegan: false,\n });\n\n const classes = useStyles();\n\n const onClick = (direction: Direction) => {\n if (direction === \"rtl\") {\n setSlideDirection(\"left\");\n setPage((prev) => prev + 1);\n } else {\n setSlideDirection(\"right\");\n setPage((prev) => prev - 1);\n }\n };\n\n const pageStyle: CSSProperties = {\n display: \"flex\",\n justifyContent: \"center\",\n backgroundImage: `url(${bgImage})`,\n backgroundSize: \"cover\",\n height: \"100%\",\n padding: \"1em\",\n };\n\n const transitionProps = {\n timeout: {\n enter: 150, // Increase the enter transition duration for a smoother slide\n exit: 0,\n },\n };\n\n const renderPage1 = () => (\n \n
\n \n
\n \n );\n\n const renderPage2 = () => (\n \n
\n \n
\n \n );\n\n const renderPage3 = () => (\n \n
\n \n
\n \n );\n\n const renderPage4 = () => (\n \n
\n \n
\n \n );\n\n return (\n \n \n \n \n \n \n
\n {renderPage1()}\n {renderPage2()}\n {renderPage3()}\n {renderPage4()}\n
\n
\n );\n};\n\nexport default Register;\n","import { useEffect } from \"react\";\nimport { ThemeProvider, Typography } from \"@material-ui/core\";\nimport { innerFlexCenterWrapper } from \"../../../styles/globalStyles\";\nimport { useHistory, useParams } from \"react-router-dom\";\nimport api from \"../../../api\";\nimport { calendarTheme } from \"../../../styles/theme\";\nimport waait from \"waait\";\n\nconst ValidateUser = () => {\n const history = useHistory();\n const { token } = useParams<{ token: string }>();\n useEffect(() => {\n const validateUser = async () => {\n const path = \"/validate/\" + token;\n try {\n await api.post(path);\n await waait(3000);\n history.push(\"/\");\n } catch (error) {\n console.log(error.response.data.error.message);\n }\n };\n\n validateUser();\n });\n\n return (\n
\n \n
\n \n THANK YOU!\n \n \n Your email has been verified. We will redirect you soon...\n \n
\n
\n
\n );\n};\n\nexport default ValidateUser;\n","import { Box, Button, IconButton, Typography } from \"@material-ui/core\";\nimport { mdiArrowLeftCircleOutline, mdiArrowRightCircleOutline } from \"@mdi/js\";\nimport Icon from \"@mdi/react\";\nimport { useState } from \"react\";\nimport { useEffect } from \"react\";\nimport { Document, Page } from \"react-pdf/dist/esm/entry.webpack\";\nimport api from \"../../api\";\nimport { Colors } from \"../../constants\";\nimport { pdfjs } from \"react-pdf\";\nimport { useParams } from \"react-router\";\nimport { Rating } from \"@material-ui/lab\";\n\npdfjs.GlobalWorkerOptions.workerSrc = `//cdnjs.cloudflare.com/ajax/libs/pdf.js/${pdfjs.version}/pdf.worker.min.js`;\n\nconst EssayReview = () => {\n const essayBaseUrl = process.env.REACT_APP_DIGITALOCEANBASE;\n const [url, setUrl] = useState(\"\");\n const [numPages, setNumPages] = useState(null);\n const [pageNumber, setPageNumber] = useState(1);\n const { id } = useParams<{ id: string }>();\n\n const [generalAnswer, setGeneralAnswer] = useState(0);\n const [argumentation, setArgumentation] = useState(0);\n const [differentiation, setDifferentiation] = useState(0);\n const [conclusion, setConclusion] = useState(0);\n const [craftsmanship, setCraftsmanship] = useState(0);\n\n const [responsText, setResponstext] = useState(\"\");\n\n const handleClick = async () => {\n const reviewData = {\n review: {\n generalAnswer,\n argumentation,\n differentiation,\n conclusion,\n craftsmanship,\n },\n id,\n }\n const { data } = await api.post(\"/uploadReview\", { data: reviewData });\n setResponstext(data);\n setTimeout(() => {\n setResponstext(\"\");\n }, 5000);\n };\n\n useEffect(() => {\n const fetchEssay = async () => {\n try {\n const { data } = await api.get(\"/getEssay\", {\n params: {\n id,\n },\n });\n\n if (data) {\n setUrl(essayBaseUrl + data.essayURL);\n setGeneralAnswer(data.review.generalAnswer);\n setArgumentation(data.review.argumentation);\n setDifferentiation(data.review.differentiation);\n setConclusion(data.review.conclusion);\n setCraftsmanship(data.review.craftsmanship);\n }\n } catch (error) {\n console.log(error);\n }\n };\n\n fetchEssay();\n }, []);\n\n const onDocumentLoadSuccess = ({ numPages }) => {\n setNumPages(numPages);\n };\n\n return (\n \n \n
\n history.push(\"/\")}\n onLoadSuccess={onDocumentLoadSuccess}>\n \n \n
\n \n \n\n \n setPageNumber(pageNumber - 1)}>\n \n \n\n \n Page {pageNumber} of {numPages}\n \n\n setPageNumber(pageNumber + 1)}>\n \n \n \n \n \n \n Overordnet besvarelse\n \n Besvarer den studerende den opstillede udfordring fyldestgørende og\n konkret?\n \n {\n setGeneralAnswer(val);\n }}\n />\n \n\n \n Argumentering\n \n Understøttes den studerendes essay af relevante kilder eller er den\n studerendes hypoteser velargumenteret og fyldestgørende i sig selv?\n \n {\n setArgumentation(val);\n }}\n />\n \n\n \n Differentiering\n \n Giver den studerende et nyt og relevant perspektiv på\n problemstillingen?\n \n {\n setDifferentiation(val);\n }}\n />\n \n\n \n Konklusion\n \n Er den studerende i stand til at samle essayets nøglepointer og\n fremstille relevante løsningsforslag til den overordnede\n problemstilling?\n \n {\n setConclusion(val);\n }}\n />\n \n\n \n Håndværk\n \n Er essayet godt skrevet, struktureret og grammatisk veludført?\n \n {\n setCraftsmanship(val);\n }}\n />\n \n handleClick()}\n color=\"primary\"\n variant=\"outlined\">\n Submit\n \n \n {responsText}\n \n \n \n );\n};\n\nexport default EssayReview;\n","import {\n Button,\n Card,\n CardActionArea,\n CardActions,\n CardContent,\n CardMedia,\n makeStyles,\n Typography,\n} from \"@material-ui/core\";\nimport {\n TimelineConnector,\n TimelineContent,\n TimelineDot,\n TimelineItem,\n TimelineSeparator,\n} from \"@material-ui/lab\";\nimport { Colors } from \"../../constants\";\nimport { TimeLineData } from \"./Timeline\";\n\ninterface Props {\n timeLineData: TimeLineData;\n index: number;\n}\n\nconst styles = makeStyles((theme) => ({\n paper: {\n padding: \"1rem\", //før 6px 16px\n },\n secondaryTail: {\n backgroundColor: theme.palette.secondary.main,\n },\n connectorColor: { backgroundColor: Colors.white },\n timeline: {\n \"&::before\": {\n flex: 0,\n },\n },\n}));\nconst monthNames = [\n \"January\",\n \"February\",\n \"March\",\n \"April\",\n \"May\",\n \"June\",\n \"July\",\n \"August\",\n \"September\",\n \"October\",\n \"November\",\n \"December\",\n];\n\nconst MobileTimelineItem = (props: Props) => {\n const { timeLineData, index } = props;\n const { connectorColor, timeline } = styles();\n if (!timeLineData.date) return null;\n return (\n \n \n \n \n \n \n \n \n \n \n \n {timeLineData.title?.toLocaleUpperCase()}\n \n \n {monthNames[\n new Date(timeLineData.date).getMonth()\n ].toLocaleUpperCase() +\n \" \" +\n new Date(timeLineData.date).getDate() +\n \", \" +\n new Date(timeLineData.date).getFullYear()}\n \n \n {timeLineData.time.slice(0, 5)}\n \n \n {timeLineData.description}\n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default MobileTimelineItem;\n","import {\n Box,\n Button,\n Card,\n CardActionArea,\n CardActions,\n CardContent,\n CardMedia,\n makeStyles,\n Typography,\n} from \"@material-ui/core\";\nimport {\n TimelineConnector,\n TimelineContent,\n TimelineDot,\n TimelineItem,\n TimelineOppositeContent,\n TimelineSeparator,\n} from \"@material-ui/lab\";\nimport { Colors } from \"../../constants\";\nimport { TimeLineData } from \"./Timeline\";\n\ninterface Props {\n timeLineData: TimeLineData;\n}\n\nconst styles = makeStyles((theme) => ({\n paper: {\n padding: \"20px 30px\", //før 6px 16px\n },\n secondaryTail: {\n backgroundColor: theme.palette.secondary.main,\n },\n connectorColor: { backgroundColor: Colors.white },\n}));\nconst monthNames = [\n \"January\",\n \"February\",\n \"March\",\n \"April\",\n \"May\",\n \"June\",\n \"July\",\n \"August\",\n \"September\",\n \"October\",\n \"November\",\n \"December\",\n];\n\nconst WebTimelineItem = (props: Props) => {\n const { timeLineData } = props;\n const { connectorColor } = styles();\n\n if (!timeLineData.date) return null;\n\n return (\n \n \n \n \n {monthNames[\n new Date(timeLineData.date).getMonth()\n ].toLocaleUpperCase() +\n \" \" +\n new Date(timeLineData.date).getDate() +\n \", \" +\n new Date(timeLineData.date).getFullYear()}\n \n \n \n \n {timeLineData.time?.slice(0, 5)}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {timeLineData.title?.toLocaleUpperCase()}\n \n \n {timeLineData.description}\n \n \n \n \n \n READ MORE\n \n \n \n \n \n \n );\n};\n\nexport default WebTimelineItem;\n","import { createStyles, makeStyles, Theme } from \"@material-ui/core\";\nimport { Colors } from \"../../constants\";\nimport \"../../index.css\";\nimport { isMobile } from \"react-device-detect\";\n\nexport const useStyles = makeStyles((theme: Theme) => {\n return createStyles({\n title: {\n color: \"#fff\",\n },\n colorDefault: {\n backgroundColor: Colors.orange,\n },\n button: {\n paddingLeft: \"1.5rem\",\n paddingRight: \"1.5rem\",\n borderRadius: 24,\n color: Colors.orange,\n },\n loginButton: {\n paddingLeft: \"4rem\",\n paddingRight: \"4rem\",\n borderRadius: 24,\n color: Colors.orange,\n },\n input: {\n width: \"100%\"\n }\n });\n});\n\nexport const headlineStyle: React.CSSProperties = {\n color: \"#FFF\",\n marginBottom: 20,\n marginTop: 40,\n};\n\nexport const stepStyle: React.CSSProperties = {\n color: \"#FFF\",\n marginTop: isMobile ? -40 : 0,\n};\n\nexport const modalStyleText: React.CSSProperties = {\n color: \"#FFA500\",\n marginBottom: 20,\n marginTop: 20,\n};","import React, { useState } from \"react\";\nimport \"./Modal.css\";\nimport { Icon } from \"@material-ui/core\";\nimport { Close } from \"@material-ui/icons\";\n\ninterface Props {\n isShown: boolean;\n titleText: string;\n bodyText: string;\n buttonText: string;\n onClick: () => void;\n}\n\nconst Modal = (props: Props) => {\n const {isShown, titleText, bodyText, buttonText, onClick} = props;\n const [showModal, setShowModal] = useState(isShown);\n\n const handleClose = () => {\n setShowModal(false);\n };\n\n return showModal ? (\n
\n
\n
\n

{titleText}

\n \n
\n
\n

{bodyText}

\n
\n
\n \n
\n
\n
\n ): null;\n};\n\nexport default Modal;\n","import api from \"../api\";\n\nexport const getUserTickets = async (): Promise => {\n const apiresult = await api.get(\"/currentUserTickets\");\n return apiresult.data;\n}","import Timeline from \"@material-ui/lab/Timeline\";\nimport TimelineItem from \"@material-ui/lab/TimelineItem\";\nimport TimelineSeparator from \"@material-ui/lab/TimelineSeparator\";\nimport TimelineContent from \"@material-ui/lab/TimelineContent\";\nimport TimelineDot from \"@material-ui/lab/TimelineDot\";\nimport Typography from \"@material-ui/core/Typography\";\nimport {\n MuiThemeProvider,\n makeStyles,\n ThemeProvider,\n Theme,\n createStyles,\n} from \"@material-ui/core/styles\";\nimport { calendarTheme } from \"../../styles/theme\";\nimport { Colors } from \"../../constants\";\nimport CloseIcon from \"@material-ui/icons/Close\";\nimport { useEffect, useState } from \"react\";\nimport strapiAPI from \"../../strapiAPI\";\nimport { isMobile } from \"react-device-detect\";\nimport MobileTimelineItem from \"./MobileTimelineItem\";\nimport WebTimelineItem from \"./WebTimelineItem\";\nimport \"react-toastify/dist/ReactToastify.css\";\nimport { toast, ToastContainer } from \"react-toastify\";\nimport \"./timeline.css\";\nimport {\n AppBar,\n Box,\n Button,\n Container,\n Dialog,\n Grid,\n Icon,\n IconButton,\n Toolbar,\n} from \"@material-ui/core\";\nimport ArrowForwardIcon from \"@material-ui/icons/ArrowForward\";\nimport api from \"../../api\";\nimport bgImage from \"../../images/Background2024.png\"\nimport { headlineStyle } from \"../Profile/styles\";\nimport logo from \"../../images/logo.png\";\nimport { Parallax } from \"react-parallax\";\nimport EssayDialog from \"../../Pages/EssayDialog/EssayDialog\";\nimport { useAuthState } from \"../../Context\";\nimport Modal from \"../../Components/Modal/Modal\";\nimport { useHistory } from \"react-router-dom\";\nimport { isBeforeCL } from \"../../Components/isBeforeCL\";\nimport { getUserTickets } from \"../../Components/ticketLogic\"\nimport { RadioButtonUncheckedSharp } from \"@material-ui/icons\";\n\n\nexport interface TimeLineData {\n buttonText: string;\n buttonLink: string;\n image: any;\n _id: string;\n title: string;\n description: string;\n date: Date | string;\n time: string;\n}\n\nconst styles = makeStyles((theme) => ({\n mobile: {\n \"&::before\": {\n flex: 0,\n },\n },\n icon: {\n overflow: \"visible\",\n color: Colors.orange,\n },\n appBar: {\n position: \"relative\",\n },\n title: {\n marginLeft: theme.spacing(2),\n flex: 1,\n },\n menuLink: { marginBottom: \"2rem\" },\n}));\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n appBar: {\n position: \"relative\",\n },\n title: {\n marginLeft: theme.spacing(2),\n flex: 1,\n },\n menuLink: { marginBottom: \"2rem\" },\n })\n);\n\nconst ASTimeline = () =>{ \n const { title, appBar } = useStyles();\n const [essayDialogOpen, setEssayDialogOpen] = useState(false);\n const [essayUploadedButtonText, setEssayUploadedButtonText] = useState(\"\");\n const [essayUploaded, setEssayUploaded] = useState(false);\n const [showModal, setShowModal] = useState(false);\n const [userTickets, setUserTickets] = useState([]);\n const [disableSubmissions, setDisableSubmissions] = useState(true);\n \n \n const auth = useAuthState();\n const [timeLineData, setTimeLineData] = useState([]);\n const history = useHistory();\n const { mobile, icon } = styles();\n\n useEffect(() => {\n\n const EnableSubmissions = (enable : boolean) => {\n setDisableSubmissions(!enable);\n }\n\n (window as any).TestEnableSubmissions = EnableSubmissions;\n\n const networkCallback = async () => {\n try {\n const { data } = await strapiAPI.get(\n \"/timeline-entries\"\n );\n if (data.length) {\n const sortedData = data.sort((a, b) => {\n const ad: any = new Date(a.date),\n bd: any = new Date(b.date);\n return ad - bd;\n });\n setTimeLineData(sortedData);\n }\n } catch (error) {\n console.log(error);\n }\n };\n networkCallback();\n\n const fetchEssay = async () => {\n const { data } = await api.get(\"currentUserEssay\", {});\n\n if (data.includes(\".pdf\")) {\n setEssayUploaded(true);\n setEssayUploadedButtonText(\"EDIT YOUR SUBMISSION AND CHOICES\");\n return;\n }\n setEssayUploadedButtonText(\"UPLOAD YOUR SUBMISSION NOW!\");\n const beforeSubmissionDeadline = isBeforeCL();\n setDisableSubmissions(beforeSubmissionDeadline);\n\n if(disableSubmissions){\n setEssayUploadedButtonText(\"SUBMISSIONS ARE CLOSED.\");\n return;\n }else{\n showToast();\n }\n\n };\n fetchEssay();\n\n const isProfileUpdated = async () => {\n const { data } = await api.get(\"isProfileUpdated\", {\n params: { cacheBuster: Date.now() }\n });\n if (!data?.updated) {\n setShowModal(true);\n }\n }\n isProfileUpdated();\n\n return () => {\n delete (window as any).TestEnableSubmissions;\n }\n }, [auth.email, disableSubmissions]);\n\n useEffect(() => {\n const fetchUserTickets = async () => {\n const tickets = await getUserTickets();\n setUserTickets(tickets);\n }\n fetchUserTickets(); // Call your async function to fetch the data when the component mounts\n }, []); // The empty array means this useEffect runs only once, when the component is first mounted\n\n const handleFridayTicketOpen = () => {\n window.open(userTickets[0], \"_blank\");\n };\n const handleFocusTicketOpen = () => {\n window.open(userTickets[1], \"_blank\");\n };\n\n\n const handleEssayClickOpen = () => {\n setEssayDialogOpen(true);\n };\n\n const handleEssayClose = () => {\n setEssayDialogOpen(false);\n };\n\n const Msg = () => {\n return (\n \n REMEMBER TO UPLOAD A SUBMISSION UP HERE\n \n \n \n \n );\n };\n\n const showToast = () => {\n toast(Msg);\n };\n\n \n const updateProfileModal = (\n history.push(\"/profile\")}\n />\n )\n\n return (\n <>\n {showModal && \n updateProfileModal}\n \n \n
\n \n \n \n {userTickets.length > 0 ? \n {handleFridayTicketOpen()}}>FRIDAY TICKET\n : \"\"}\n {userTickets.length > 1 ? \n {handleFocusTicketOpen()}}>FOCUS TICKET\n \n : \"\"}\n \n \n \n \n \n
\n
\n
\n \n \n \n {essayUploaded\n ? \"You have successfully uploaded your submission. You will receive more information as soon as we have reviewed all submissions. We will get back to you by mid-October at the latest. If you wish to change or edit your submission, track-priorities or A Day At-priorities you can do so below.\"\n : \"\"}\n \n \n
\n {\n \n

{essayUploadedButtonText}

\n {/* YOUR SUBMISSION IS BEING HANDLED... */}\n
\n \n }\n
\n\n
\n
\n\n \n \n THE AARHUS SYMPOSIUM EXPERIENCE\n \n \n \n
\n\n \n {timeLineData.map((timeLineData: TimeLineData, index: number) => {\n if (isMobile) {\n return (\n \n );\n } else {\n return (\n \n );\n }\n })}\n \n \n \n \n \n The End\n \n \n \n \n
\n
\n \n \n \n \n \n \"Logo\"\n \n \n \n \n \n \n \n \n \n
\n \n );\n};\n\nexport default ASTimeline;\n","import {\n Button,\n Container,\n MenuItem,\n TextField,\n ThemeProvider,\n Typography,\n} from \"@material-ui/core\";\nimport { FormEvent, useEffect, useState } from \"react\";\nimport { headlineStyle, useStyles } from \"./styles\";\nimport api from \"../../api\";\nimport { calendarTheme } from \"../../styles/theme\";\nimport { CSSProperties } from \"react\";\nimport { DatePicker } from \"@material-ui/pickers\";\nimport { UserType } from \"../../interfaces\";\nimport { Colors } from \"../../constants\";\nimport Baggrund from \"../../images/Background2024.png\";\nimport wait from \"waait\";\nimport IOSSwitch from \"../../Components/iOSSwitch\";\nimport Select from \"react-select\";\nimport {\n DropDownOption,\n GroupedDropDownOptions,\n StudyTitle,\n otherOption,\n} from \"../../Context/interfaces\";\nimport {\n getInstitutionOptions,\n getSelectedInsitution,\n} from \"../../data/institutions/institutionDataHelper\";\nimport {\n getEducationOptions,\n getSelectedEducation,\n} from \"../../data/educations/educationDataHelper\";\nimport React from \"react\";\nimport { selectStyle } from \"../Auth/Register/styles\";\nimport { useQuery } from \"react-query\";\nimport { PhoneInput } from \"react-international-phone\";\nimport \"react-international-phone/build/index.css\";\nimport {\n getNationalityOptions,\n getSelectedNationalityOption,\n} from \"../../data/nationalities/nationalities\";\n\nconst initialState: UserType = {\n name: \"\",\n phone: \"\",\n email: \"\",\n postalCode: \"\",\n nationality: \"\",\n study: \"\",\n studyEnd: null,\n vegetarian: false,\n glutenIntolerant: false,\n vegan: false,\n institution: \"\",\n semester: \"\",\n studyTitle: \"Bachelor\",\n exchangeStudent: false,\n permitCompanySharing: false,\n};\n\nconst institutionOptions: DropDownOption[] = getInstitutionOptions();\nconst groupedEducationOptions: GroupedDropDownOptions[] = getEducationOptions();\nconst countryOptions: GroupedDropDownOptions[] = getNationalityOptions();\n\nconst ProfilePage = (): JSX.Element => {\n const [closedDiateryChange, setClosedDiateryChange] = useState(false); \n const [userData, setUserData] = useState(initialState);\n const [showError, setShowError] = useState(false);\n const [sumbissionsMessage, setSubmissionsMessage] = useState(\"\");\n const [selectedInstitutionOption, setSelectedInstitutionOption] =\n React.useState(undefined);\n const [selectedEducationOption, setSelecetedEducationOption] =\n React.useState(undefined);\n const [selectedNationality, setSelectedNationality] =\n useState(undefined);\n\n const { button, input } = useStyles();\n\n const buttonOneDisabled = !(\n userData.name &&\n userData.phone &&\n userData.email &&\n userData.nationality &&\n userData.postalCode &&\n userData.study &&\n userData.studyEnd &&\n userData.institution &&\n userData.semester &&\n userData.studyTitle\n );\n\n const { data, isError, isLoading, isSuccess, refetch } = useQuery(\n \"getCurrentProfile\",\n () => {\n const timestamp = new Date().getTime(); // To avoid caching\n return api.get(\"/getCurrentProfile?\" + timestamp.toString());\n }\n );\n\n useEffect(() => {\n if (isSuccess && data) {\n const fetchedUserData = data.data;\n setUserData(fetchedUserData);\n \n // Close diatery 3 weeks before submission\n const currentDate = new Date();\n const threeWeeksBeforeNovemberFirst = new Date(currentDate.getFullYear(), 10, 1); // November 1st\n threeWeeksBeforeNovemberFirst.setDate(threeWeeksBeforeNovemberFirst.getDate() - 28); // Subtract 21 days\n\n const isThreeWeeksBeforeNovemberFirst = currentDate >= threeWeeksBeforeNovemberFirst;\n\n setClosedDiateryChange(isThreeWeeksBeforeNovemberFirst)\n\n const selectedInstitution: DropDownOption = getSelectedInsitution(\n fetchedUserData.institution,\n institutionOptions\n );\n setSelectedInstitutionOption(selectedInstitution);\n\n const selectedEducation: DropDownOption = getSelectedEducation(\n fetchedUserData.study,\n groupedEducationOptions[1].options\n );\n setSelecetedEducationOption(selectedEducation);\n\n const selectedNationality: DropDownOption = getSelectedNationalityOption(\n fetchedUserData.nationality\n );\n setSelectedNationality(selectedNationality);\n }\n }, [data]);\n\n if (isLoading) {\n return (\n \n
Loading...
\n
\n );\n } else if (isError) {\n return (\n \n
An error occurred. Try again later.
\n
\n );\n }\n\n const handleInputChange = (event, field, setStateCallback) => {\n if (event.target) {\n event.persist();\n setStateCallback((prev) => ({\n ...prev,\n [field]: event.target.value,\n }));\n }\n };\n\n const handleSubmit = async (e: FormEvent) => {\n e.preventDefault();\n\n try {\n const response = await api.post(\"/updateCurrentProfile\", userData);\n\n const currentUser = {\n email: response.data.email,\n expiresIn: response.data.expiresIn,\n token: response.data.token,\n };\n\n localStorage.setItem(\"currentUser\", JSON.stringify(currentUser));\n\n setSubmissionsMessage(response.data.message);\n } catch (error) {\n setSubmissionsMessage(\n \"You entered invalid data... None has been updated\"\n );\n }\n\n setShowError(true);\n await wait(3000);\n setShowError(false);\n refetch();\n };\n\n return (\n \n
\n \n
\n
\n \n UPDATE PROFILE\n \n \n handleInputChange(event, \"name\", setUserData)\n }\n />\n\n \n handleInputChange(event, \"email\", setUserData)\n }\n />\n \n handleInputChange(event, \"postalCode\", setUserData)\n }\n />\n\n

Nationality

\n {\n setSelectedNationality(e);\n const nationality = e.value;\n setUserData((prev) => ({\n ...prev,\n nationality: nationality,\n }));\n }}\n options={countryOptions}\n isSearchable={true}\n />\n\n

Phone number

\n\n \n setUserData((prev) => ({\n ...prev,\n phone: event,\n }))\n }\n style={{ paddingTop: \"0rem\", paddingBottom: \"1rem\" }}\n inputProps={{\n autoComplete: \"tel\",\n }}\n />\n\n
\n \n VEGETARIAN {closedDiateryChange ? \" - NO FURTHER CHANGE THIS YEAR\" : \"\"}\n \n
\n {\n const value = event.target.checked ? true : false;\n setUserData((prev) => ({\n ...prev,\n vegetarian: value,\n vegan: value ? false : prev.vegan,\n }));\n }}\n />\n
\n
\n\n
\n \n VEGAN {closedDiateryChange ? \" - NO FURTHER CHANGE THIS YEAR\" : \"\"}\n \n {\n const value = event.target.checked ? true : false;\n setUserData((prev) => ({\n ...prev,\n vegan: value,\n vegetarian: value ? false : prev.vegetarian,\n }));\n }}\n />\n
\n\n
\n \n GLUTEN INTOLERANT {closedDiateryChange ? \" - NO FURTHER CHANGE THIS YEAR\" : \"\"}\n \n {\n const value = event.target.checked ? true : false;\n setUserData((prev) => ({\n ...prev,\n glutenIntolerant: value,\n }));\n }}\n />\n
\n \n STUDY\n \n\n

Institution

\n\n {\n setSelectedInstitutionOption(e);\n let institution = e.value;\n if (e === otherOption) {\n institution = \"\";\n }\n setUserData((prev) => ({\n ...prev,\n institution: institution,\n }));\n }}\n options={institutionOptions}\n isSearchable={true}\n />\n {selectedInstitutionOption &&\n selectedInstitutionOption.value === otherOption.value && (\n \n \n handleInputChange(event, \"institution\", setUserData)\n }\n style={{ width: \"100%\" }}\n />\n
\n )}\n\n

Education

\n\n {\n setSelecetedEducationOption(e);\n let study = e.value;\n if (e.value === otherOption.value) {\n study = \"\";\n }\n setUserData((prev) => ({\n ...prev,\n study: study,\n }));\n }}\n options={groupedEducationOptions}\n isSearchable={true}\n />\n\n {selectedEducationOption &&\n selectedEducationOption.value === otherOption.value && (\n
\n \n handleInputChange(event, \"study\", setUserData)\n }\n style={{ width: \"100%\" }}\n />\n
\n )}\n\n \n {\n setUserData((prev) => ({\n ...prev,\n studyEnd: date,\n }));\n }}\n />\n \n\n \n setUserData((prev) => ({\n ...prev,\n semester: target.value,\n }))\n }>\n {[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map((key) => (\n \n {key + \". semester\"}\n \n ))}\n \n\n \n setUserData((prev) => ({\n ...prev,\n studyTitle: target.value as StudyTitle,\n }))\n }>\n {[\"Bachelor\", \"Master\", \"PhD\"].map((key) => (\n \n {key}\n \n ))}\n \n\n \n \n EXCHANGE STUDENT\n \n
\n {\n const value = event.target.checked ? true : false;\n setUserData((prev) => ({\n ...prev,\n exchangeStudent: value,\n }));\n }}\n />\n
\n
\n\n {/* \n \n ALLOW COMPANIES TO CONTACT YOU\n \n
\n {\n const value = event.target.checked ? true : false;\n setUserData((prev) => ({\n ...prev,\n permitCompanySharing: value,\n }));\n }}\n />\n
\n */}\n\n {showError ? (\n \n \n {sumbissionsMessage}\n \n \n ) : (\n
\n \n Update Information\n \n
\n )}\n \n \n \n \n
\n );\n};\n\nexport default ProfilePage;\n\nconst backgroundStyle = {\n backgroundImage: `url(${Baggrund})`,\n backgroundSize: \"cover\",\n backgroundPosition: \"center\",\n minHeight: \"100vh\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n};\n\nconst formStyle: CSSProperties = {\n display: \"flex\",\n flexDirection: \"column\",\n flexShrink: 0,\n marginBottom: \"1rem\",\n};\n","import { ReactFragment, useState } from \"react\";\nimport Typography from \"@material-ui/core/Typography\";\nimport { makeStyles, TextField } from \"@material-ui/core\";\nimport {\n AppBar,\n Box,\n Button,\n Container,\n Dialog,\n Grid,\n Icon,\n IconButton,\n Toolbar,\n} from \"@material-ui/core\";\nimport { modalStyleText } from \"../Profile/styles\";\nimport api from \"../../api\";\nimport strapiAPI from \"../../strapiAPI\";\nimport { defaultTracks, TrackType } from \"../EssayDialog/Fallbacks\";\nimport Tracks from \"../EssayDialog/Tracks/Tracks\";\n\nconst useStyles = makeStyles({\n input: {\n color: \"black\"\n }\n});\n\nexport const openModal = (name: string) => {\n //aktiver modal-vinduet her\n window.onclick = function (event) {\n var modal = document.getElementById(name) as HTMLElement;\n if (event.target.className == \"modal\" || event.target.className == \"close\") {\n modal.style.display = \"none\";\n }\n }\n var modal = document.getElementById(name) as HTMLElement;\n modal.style.display = \"inline-block\";\n\n};\n\nexport const closeModal = (name: string) => {\n var modal = document.getElementById(name) as HTMLElement;\n modal.style.display = \"none\";\n}\n\nconst Modal = props => {\n\n\n return (\n
\n
\n {props.children}\n
\n\n\n
\n );\n\n\n\n\n}\n\n\nexport default Modal;","import { useEffect, useState } from \"react\";\nimport { Colors } from \"../../constants\";\nimport { IGroup, IGroupResponse, UserType } from \"../../interfaces\";\nimport api from \"../../api\";\nimport Typography from \"@material-ui/core/Typography\";\nimport { Parallax } from \"react-parallax\";\nimport { headlineStyle, modalStyleText } from \"../Profile/styles\";\nimport { Switch, useHistory } from \"react-router-dom\";\nimport {\n Card,\n CardContent,\n Container,\n TextField,\n} from \"@material-ui/core\";\nimport \"./styles.css\";\nimport Modal, { closeModal, openModal } from \"./Modal\";\nimport {\n MuiThemeProvider,\n makeStyles,\n Theme,\n createStyles,\n} from \"@material-ui/core/styles\";\nimport { calendarTheme } from \"../../styles/theme\";\nimport { Button, Grid } from \"@material-ui/core\";\nimport baggrundImage from \"../../images/Background2024.png\";\nimport { defaultTracks, TrackType } from \"../EssayDialog/Fallbacks\";\nimport strapiAPI from \"../../strapiAPI\";\nimport Tracks from \"../EssayDialog/Tracks/Tracks\";\nimport waait from \"waait\";\nimport { stepStyle } from \"../Auth/Register/styles\";\nimport { isMobile } from \"react-device-detect\";\nimport TrackCard from \"../EssayDialog/Tracks/TrackCard\";\n\n// Use this to enable and disable group operations\nconst disableGroupOperations: boolean = false;\n\nexport interface TimeLineData {\n buttonText: string;\n buttonLink: string;\n image: any;\n _id: string;\n title: string;\n description: string;\n date: Date | string;\n time: string;\n}\n\nconst styles = makeStyles((theme) => ({\n mobile: {\n \"&::before\": {\n flex: 0,\n },\n },\n icon: {\n overflow: \"visible\",\n color: Colors.orange,\n },\n appBar: {\n position: \"relative\",\n },\n title: {\n marginLeft: theme.spacing(2),\n flex: 1,\n },\n menuLink: { marginBottom: \"2rem\" },\n titleStyle: {\n textAlign: \"center\",\n margin: \"1rem\",\n fontWeight: \"bold\",\n },\n headerCenter: {\n textAlign: \"center\",\n margin: \"1rem\",\n },\n resetButton: {\n color: Colors.white,\n backgroundColor: Colors.orange,\n marginLeft: \"1rem\",\n },\n}));\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n appBar: {\n position: \"relative\",\n },\n title: {\n marginLeft: theme.spacing(2),\n flex: 1,\n },\n menuLink: { marginBottom: \"2rem\" },\n })\n);\n\nexport const Group = () => {\n const [statusMessage, setStatusMessage] = useState(\n \"Default status message\"\n );\n const [ownerName, setOwnerName] = useState();\n const [memberEmail, setMemberEmail] = useState();\n const [email, setEmail] = useState();\n const [groupStatus, setGroupStatus] = useState();\n const [group, setGroup] = useState();\n const [checkGroup, setCheckGroup] = useState(false);\n const [memberToRemove, setMemberToRemove] = useState<[string, string]>();\n const { headerCenter, titleStyle } = styles();\n\n const getGroup = async () => {\n try {\n const payload = { email };\n if (email) {\n const { data } = await api.post(\"/getGroup\", payload);\n const namePayload = { id: data.group.owner };\n\n var nameData;\n try {\n nameData = await api.post(\n \"/getUserName?id=\" + namePayload.id.toString()\n );\n setOwnerName(nameData.data[\"name\"]);\n } catch (error) {}\n setGroupStatus(data.groupStatus);\n setGroup(data.group);\n }\n } catch (error) {\n console.log(error);\n }\n };\n useEffect(() => {\n const networkCallback = async () => {\n try {\n\n getTracks();\n const { data } = await api.get(\"/getCurrentProfile\");\n if (data) {\n setEmail(data.email);\n }\n getGroup();\n } catch (error) {\n }\n };\n networkCallback();\n }, []);\n\n useEffect(() => {\n getGroup();\n }, [email]);\n\n useEffect(() => {\n getGroup();\n }, [checkGroup]);\n\n type Routes = \"groupRegistration\" | \"groupOf\" | \"profile\"; //indsat groupregistration (Genbrug)\n // type Routes = \"groupOf\"; //indsat groupregistration (Genbrug)\n\n const history = useHistory();\n\n function generatePriorityList(\n priorities: number[],\n tracks: TrackType[]\n ): string[] {\n let prioList: string[] = [];\n priorities.forEach(function (value, index) {\n if (value <= 0) {\n return;\n }\n prioList[value] = tracks[index].title;\n });\n return prioList;\n }\n\n function renderGroupMemberList(\n members: [string, string][]\n ): import(\"react\").ReactNode {\n return (\n \n \n {members.map(function (member, index) {\n const pid = `pid_${index}`;\n return (\n \n {`${member[1]}`}

\n {\n setMemberToRemove(member);\n setMemberEmail(member[1]);\n openModal(\"remove\");\n }}\n size=\"small\"\n style={{\n marginLeft: \"auto\",\n }}>\n REMOVE\n \n \n );\n })}\n \n \n );\n }\n function renderList(members: string[]): import(\"react\").ReactNode {\n return (\n \n \n {members.map(function (member, index) {\n return (\n {`${member}`}\n );\n })}\n \n \n );\n }\n function getGroupMemberNames(group: IGroup): string[] {\n return group.members.map(function (tup, _) {\n return tup[1];\n });\n }\n\n function getMemberEmailFromName(group: IGroup, name: string): string {\n for (let i = 0; i < group.members.length; i++) {\n if (group.members[i][1] == name) return group.members[i][0];\n }\n }\n\n function getGroupMemberEmails(group: IGroup): string[] {\n return group.members.map(function (tup, _) {\n return tup[0];\n });\n }\n\n const handleDeleteGroup = async () => {\n const payload = {\n ownerEmail: email,\n };\n try {\n api\n .post(\"/deleteGroup\", payload)\n .then((response) => setStatusMessage(response.data[\"message\"]));\n } catch (error) {\n setStatusMessage(\n \"Something went wrong during deletion. Please try again.\"\n );\n openModal(\"status\");\n }\n await waait(300);\n setCheckGroup(!checkGroup);\n };\n\n const removeMember = async () => {\n if (!memberToRemove) {\n return;\n }\n console.log(\"Trying to remove member!\");\n console.log(memberToRemove);\n const payload = {\n ownerEmail: email,\n memberEmail: memberToRemove[0],\n };\n try {\n api\n .post(\"/removeMember\", payload)\n .then((response) => setStatusMessage(response.data[\"message\"]));\n } catch (error) {\n setStatusMessage(\n \"Something went wrong during removal of member. Please try again.\"\n );\n openModal(\"status\");\n }\n await waait(300);\n setCheckGroup(!checkGroup);\n };\n\n const handleAddMember = () => {\n //indsæt/post en gruppe her\n let success = true;\n const inviteeEmail = (\n document.getElementById(\"inviteTextField\") as HTMLInputElement\n ).value;\n const payload = {\n inviterEmail: email,\n inviteeEmail,\n };\n api.post(\"/inviteToGroup\", payload).catch((error) => {\n success = false;\n setStatusMessage(error.response.data[\"error\"][\"message\"]);\n });\n if (success) {\n setStatusMessage(\"Invitation sent!\");\n }\n };\n\n const handleLeaveGroup = async () => {\n //indsæt/post en gruppe her\n const payload = {\n memberEmail: email,\n };\n\n try {\n api\n .post(\"/leaveGroup\", payload)\n .then((response) => console.log(response))\n .catch((error) => console.log(\"HTTP error: \" + JSON.stringify(error)));\n await waait(300);\n setCheckGroup(!checkGroup);\n } catch (error) {\n console.log(\"HTTP error: \" + JSON.stringify(error));\n }\n };\n\n const [tracks, setTracks] = useState(defaultTracks);\n const [focus, setFocus] = useState(null);\n const getTracks = async () => {\n const tracks = (await strapiAPI.get(\"/tracks\"));\n setTracks(tracks.data.slice(0,4));\n console.log(tracks.data.slice(0,4));\n };\n const resetTracks = () =>\n setTracks((tracks) => tracks.map((track) => ({ ...track, priority: 0 })));\n const handleCreateGroup = async () => {\n var priorities: number[] = tracks.map((track) => {\n return track[\"priority\"];\n });\n\n const payload = {\n owner: email,\n trackPriorities: priorities,\n focus: !!focus,\n };\n try {\n api\n .post(\"/createGroup\", payload)\n .then((response) => console.log(response));\n } catch (error) {\n console.log(\"HTTP error: \" + JSON.stringify(error));\n }\n resetTracks();\n closeModal(\"create\");\n await waait(300);\n setCheckGroup(!checkGroup);\n };\n\n if (groupStatus === \"Owner\") {\n return (\n \n \n \n \n
\n
\n \n Are you sure you want to delete your group?\n \n
\n
\n \n \n {\n handleDeleteGroup();\n closeModal(\"delete\");\n }}\n size=\"large\">\n YES\n \n {\n var modal = document.getElementsByClassName(\n \"modal\"\n ) as HTMLCollectionOf;\n modal[0].style.display = \"none\";\n }}\n size=\"large\">\n NO\n \n \n
\n
\n \n \n
\n \n \n
\n
\n \n {`Are you sure you want to remove ${memberEmail} from your group?`}\n \n
\n
\n \n \n {\n removeMember();\n closeModal(\"remove\");\n }}\n size=\"large\">\n YES\n \n {\n closeModal(\"remove\");\n }}\n size=\"large\">\n NO\n \n \n
\n
\n \n \n
\n \n
\n \n {statusMessage}\n \n {statusMessage === \"Invitation sent!\" ? (\n
\n \n OBS: The invitation might go into their spam folder\n \n
\n ) : (\n <>\n )}\n
\n
\n
\n
\n
\n
\n \n YOU ARE THE GROUP OWNER\n \n\n \n GROUP MEMBERS\n \n {group !== undefined ? (\n group[\"members\"].length > 0 ? (\n renderGroupMemberList(group.members)\n ) : (\n \n
\n No members in your group yet.\n
\n Use the button below to invite your fellow students via e-mail.\n
\n
\n \n )\n ) : (\n \"LOADING\"\n )}\n\n
\n \n TRACK PRIORITIES\n \n \n {group !== undefined ? (\n generatePriorityList(group.trackPriorities, tracks).length > 0 ? (\n renderList(generatePriorityList(group.trackPriorities, tracks))\n ) : (\n \n
\n You did not choose any track priorities\n
\n
\n \n )\n ) : (\n \"LOADING\"\n )}\n
\n\n
\n
\n \n ADD GROUP MEMBER BY E-MAIL\n \n\n \n = 2\n ? \"GROUP FULL\"\n : \"ADD MEMBER\"\n : \"ADD MEMBER\"\n }\n variant=\"outlined\"\n disabled={(group !== undefined ? group.members?.length >= 2 : true) || disableGroupOperations}\n />\n = 2 : true) || disableGroupOperations}\n onClick={() => {\n handleAddMember();\n openModal(\"status\");\n var textField = document.getElementById(\n \"inviteTextField\"\n ) as HTMLInputElement;\n textField.value = null;\n }}\n size=\"large\">\n INVITE\n \n \n
\n
\n
\n \n {\n openModal(\"delete\");\n }}\n size=\"large\">\n DELETE GROUP\n \n \n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n );\n } else if (groupStatus === \"Member\") {\n return (\n \n \n \n YOU ARE PART OF GROUP\n \n
\n \n\n \n GROUP OWNER\n \n {group !== undefined ? (\n \n
\n {ownerName}\n
\n
\n \n ) : (\n \"LOADING\"\n )}\n\n \n GROUP MEMBERS\n \n {group !== undefined ? (\n group[\"members\"].length > 0 ? (\n renderList(getGroupMemberNames(group))\n ) : (\n \n
\n Problem reading members from server\n
\n
\n \n )\n ) : (\n \"LOADING\"\n )}\n\n
\n\n \n TRACK PRIORITIES\n \n \n {group !== undefined ? (\n generatePriorityList(group.trackPriorities, tracks).length > 0 ? (\n renderList(generatePriorityList(group.trackPriorities, tracks))\n ) : (\n \n
\n The group owner did not choose any track priorities\n
\n
\n \n )\n ) : (\n \"LOADING\"\n )}\n
\n\n
\n \n FORLAD GRUPPE\n \n \n \n LEAVE GROUP\n \n \n
\n
\n
\n
\n \n
\n );\n } else if (groupStatus === \"NotInGroup\") {\n return (\n \n \n \n \n \n ARE YOU INTERESTED IN PARTICIPATING\n \n \n IN AARHUS SYMPOSIUM FOCUS 2024?\n \n \n \n {\n \"Aarhus Symposium Focus is your chance to experience more of Aarhus Symposium. At Aarhus Symposium Focus, you will have a unique opportunity to experience one competent speaker addressing this year’s theme, Envisioning The New Era. \"\n }\n

\n {\n \"Are you uncertain of going alone? If you have registered as a group, you will also have the opportunity to experience the Aarhus Symposium Focus together. The event takes place on Monday, October 28, 2024.\"\n }\n \n \n Your browser does not support the video tag.\n \n
\n \n \n setFocus(false)}\n marked={focus === false}\n title=\" \"\n text=\"\">\n
\n \n NO\n \n
\n \n\n setFocus(true)}\n marked={focus === true}\n title=\" \"\n text=\"\">\n
\n \n YES\n \n
\n \n \n
\n
\n \n \n\n \n \n
\n\n
\n
\n
\n
\n\n \n YOU ARE NOT PART OF A GROUP\n \n\n \n \n A group sign-up allows a maximum of three people to choose the\n same track priorities. This means that the members of the group\n will get the opportunity to experience the same track at this\n year's Aarhus Symposium on November 1, 2024. NOTE: The group\n sign-up will close on september 24, 2024, at 23:59\n \n Each member of the group must still upload their own\n contribution to the Aarhus Symposium Challenge.\n \n \n \n \n TO SIGN UP AS A GROUP, PLEASE USE THE BUTTON BELOW.\n \n
\n
\n \n {\n getTracks();\n openModal(\"create\");\n }}\n size=\"large\">\n Create a Group\n \n \n
\n
\n \n WAITING FOR AN INVITE?\n \n \n CHECK YOUR E-MAIL\n \n\n
\n
\n \n \n Do you want to know more about the group sign-up, or do you have\n any questions? Please visit our FAQ in the menu.\n \n \n \n
\n );\n }\n return (\n \n \n \n Loading\n \n \n \n );\n};\n\nexport default Group;\n","import { useEffect, useState } from \"react\";\nimport { Link, RouteComponentProps } from \"react-router-dom\";\nimport { loginUser, useAuthDispatch, useAuthState } from \"../../Context\";\nimport ReCaptcha, { CaptchaProps } from \"../../Recaptcha/Recaptcha\";\nimport { innerFlexCenterWrapper } from \"../../styles/globalStyles\";\nimport { Colors } from \"../../constants\";\nimport HorizontalLine from \"../../Components/HorizontalLine\";\nimport logo from \"../../../images/orange.png\";\nimport { isMobile } from \"react-device-detect\";\nimport { UserType } from \"../../interfaces\";\nimport api from \"../../api\";\nimport Typography from \"@material-ui/core/Typography\";\nimport CloseIcon from \"@material-ui/icons/Close\";\nimport EssayDialog from \"../EssayDialog/EssayDialog\";\nimport { Parallax } from \"react-parallax\";\nimport { headlineStyle } from \"../Profile/styles\";\nimport { Switch, useHistory } from \"react-router-dom\";\nimport {TextField} from \"@material-ui/core\";\nimport {\n MuiThemeProvider,\n makeStyles,\n ThemeProvider,\n Theme,\n createStyles,\n } from \"@material-ui/core/styles\";\n import { calendarTheme } from \"../../styles/theme\";\n import {\n AppBar,\n Box,\n Button,\n Container,\n Dialog,\n Grid,\n Icon,\n IconButton,\n Toolbar,\n } from \"@material-ui/core\";\n import bgImage from \"../../images/Background2024.png\";\nimport { FontStyle } from \"@material-ui/core/styles/createTypography\";\n\n export interface TimeLineData {\n buttonText: string;\n buttonLink: string;\n image: any;\n _id: string;\n title: string;\n description: string;\n date: Date | string;\n time: string;\n }\n\n\n const styles = makeStyles((theme) => ({\n mobile: {\n \"&::before\": {\n flex: 0,\n },\n },\n icon: {\n overflow: \"visible\",\n color: Colors.orange,\n },\n appBar: {\n position: \"relative\",\n },\n title: {\n marginLeft: theme.spacing(2),\n flex: 1,\n },\n menuLink: { marginBottom: \"2rem\" },\n }));\n const useStyles = makeStyles((theme: Theme) =>\n createStyles({\n appBar: {\n position: \"relative\",\n },\n title: {\n marginLeft: theme.spacing(2),\n flex: 1,\n },\n menuLink: { marginBottom: \"2rem\" },\n })\n );\n\n \n\n\n\n\n\nexport const GroupRegistration = () => {\n const [email, setEmail] = useState();\n useEffect(() => {\n const networkCallback = async () => {\n try {\n const { data } = await api.get(\"/getCurrentProfile\");\n if (data){\n setEmail(data.email);\n }\n }\n catch(error){\n console.log(\"Test1\");\n }\n }\n networkCallback();\n }, []);\n\n type Routes = \"group\"; //indsat groupregistration (Genbrug)\n\n const history = useHistory();\n\n const handleNavigation = (route: Routes | null) => {\n //if (route === \"UPLOAD\") handleEssayClickOpen();\n if (route === \"group\") history.push(\"/group\");\n };\n\n const [Group, setGroup] = useState(false);\n\n const handleGroupCreated = () => {\n setGroup(true);\n //indsæt/post en gruppe her\n handleNavigation(\"group\")\n };\n\n const handleAddMember = () => {\n setGroup(true);\n //indsæt/post en gruppe her\n \n };\n\n \n return (\n \n \n \n \n SELECT THE PRIORITY FOR YOUR GROUP\n \n
\n \n \n \n \n \n MEMBERS \n \n \n Her indsættes medlemmer fra api get-kald\n \n\n
\n \n TRACK PRIORITETER \n \n \n \n \n \n \n \n
\n
\n
\n \n ADD GROUP MEMBER \n \n \n \n \n INVITE\n \n \n
\n
\n
\n\n \n \n Submit Group\n \n \n \n\n
\n \n \n \n
\n\n
\n );\n};\n\nexport default GroupRegistration;","import { Button, TextField, Typography } from \"@material-ui/core\";\nimport { AxiosError } from \"axios\";\nimport React, { FormEvent, useEffect, useState } from \"react\";\nimport { isMobile } from \"react-device-detect\";\nimport { useHistory } from \"react-router-dom\";\nimport api from \"../../api\";\nimport HorizontalLine from \"../../Components/HorizontalLine\";\nimport { Colors } from \"../../constants\";\nimport { UserType } from \"../../interfaces\";\nimport { innerFlexCenterWrapper } from \"../../styles/globalStyles\";\nimport { textFieldStyle, useStyles } from \"../Auth/Login/styles\";\nimport waait from \"waait\";\nimport Baggrund2022 from \"../../images/Baggrund2022.jpg\";\n\nimport {\n MuiThemeProvider,\n makeStyles,\n ThemeProvider,\n Theme,\n createStyles,\n} from \"@material-ui/core/styles\";\nimport { Parallax } from \"react-parallax\";\nimport { calendarTheme } from \"../../styles/theme\";\n\nconst AcceptGroup = () => {\n const history = useHistory();\n const [errorMessage, setErrorMessage] = useState();\n\n useEffect(() => {\n const acceptGroup = async () => {\n const token = window.location.pathname.split(\"/\").pop();\n const path = \"/acceptGroupInvitation/\" + token;\n try {\n await api.get(path);\n await waait(3000);\n history.push(\"/\");\n } catch (error) {\n setErrorMessage(error.response.data.error.message);\n await waait(3000);\n history.push(\"/\");\n }\n };\n acceptGroup();\n }, []);\n if (errorMessage){\n return(\n
\n \n
\n \n {errorMessage}\n \n
\n
\n
\n );\n }\n return (\n
\n \n
\n \n THANK YOU!\n \n \n You accepted the group invitation. We will redirect you soon...\n \n
\n
\n
\n );\n}\n\nexport default AcceptGroup;","import { useEffect, useState } from \"react\";\nimport { Link, RouteComponentProps } from \"react-router-dom\";\nimport { loginUser, useAuthDispatch, useAuthState } from \"../../Context\";\nimport ReCaptcha, { CaptchaProps } from \"../../Recaptcha/Recaptcha\";\nimport { innerFlexCenterWrapper } from \"../../styles/globalStyles\";\nimport { Colors } from \"../../constants\";\nimport HorizontalLine from \"../../Components/HorizontalLine\";\nimport logo from \"../../../images/orange.png\";\nimport { isMobile } from \"react-device-detect\";\nimport { UserType } from \"../../interfaces\";\nimport api from \"../../api\";\nimport Typography from \"@material-ui/core/Typography\";\nimport CloseIcon from \"@material-ui/icons/Close\";\nimport EssayDialog from \"../EssayDialog/EssayDialog\";\nimport { Parallax } from \"react-parallax\";\nimport { headlineStyle } from \"../Profile/styles\";\nimport { Switch, useHistory } from \"react-router-dom\";\nimport {TextField} from \"@material-ui/core\";\nimport {\n MuiThemeProvider,\n makeStyles,\n ThemeProvider,\n Theme,\n createStyles,\n } from \"@material-ui/core/styles\";\n import { calendarTheme } from \"../../styles/theme\";\n import {\n AppBar,\n Box,\n Button,\n Container,\n Dialog,\n Grid,\n Icon,\n IconButton,\n Toolbar,\n } from \"@material-ui/core\";\n import bgImage from \"../../images/Background2024.png\";\nimport { FontStyle } from \"@material-ui/core/styles/createTypography\";\n\n export interface TimeLineData {\n buttonText: string;\n buttonLink: string;\n image: any;\n _id: string;\n title: string;\n description: string;\n date: Date | string;\n time: string;\n }\n\n\n const styles = makeStyles((theme) => ({\n mobile: {\n \"&::before\": {\n flex: 0,\n },\n },\n icon: {\n overflow: \"visible\",\n color: Colors.orange,\n },\n appBar: {\n position: \"relative\",\n },\n title: {\n marginLeft: theme.spacing(2),\n flex: 1,\n },\n menuLink: { marginBottom: \"2rem\" },\n }));\n const useStyles = makeStyles((theme: Theme) =>\n createStyles({\n appBar: {\n position: \"relative\",\n },\n title: {\n marginLeft: theme.spacing(2),\n flex: 1,\n },\n menuLink: { marginBottom: \"2rem\" },\n })\n );\n\n \n\n\n\n\n\nexport const GroupRegistration = () => {\n const [email, setEmail] = useState();\n useEffect(() => {\n const networkCallback = async () => {\n try {\n const { data } = await api.get(\"/getCurrentProfile\");\n if (data){\n setEmail(data.email);\n }\n }\n catch(error){\n console.log(\"Test1\");\n }\n }\n networkCallback();\n }, []);\n\n type Routes = \"group\"; //indsat groupregistration (Genbrug)\n\n const history = useHistory();\n\n const handleNavigation = (route: Routes | null) => {\n //if (route === \"UPLOAD\") handleEssayClickOpen();\n if (route === \"group\") history.push(\"/group\");\n };\n\n const [Group, setGroup] = useState(false);\n\n const handleGroupCreated = () => {\n setGroup(true);\n //indsæt/post en gruppe her\n handleNavigation(\"group\")\n };\n\n const handleAddMember = () => {\n setGroup(true);\n //indsæt/post en gruppe her\n \n };\n\n \n return (\n \n \n \n \n YOU ARE PART OF GROUP \n \n
\n \n \n \n \n \n MEMBERS \n \n \n Her indsættes medlemmer fra api get-kald\n \n\n
\n \n TRACK PRIORITETER \n \n \n \n 1. data fra api\n 2. data fra api\n 3. data fra api\n \n \n \n
\n \n \n
\n\n
\n );\n};\n\nexport default GroupRegistration;","import { useCallback, useContext, useEffect, useState } from \"react\";\nimport api from \"../../api\";\nimport { VictoryBar, VictoryChart, VictoryTheme } from \"victory\";\nimport { Colors } from \"../../constants\";\nimport _ from \"lodash\";\nimport { Typography } from \"@material-ui/core\";\nimport \"react-toastify/dist/ReactToastify.css\";\nimport { SocketContext } from \"../..\";\n\nconst EssayGraph = () => {\n const [essays, setEssays] = useState([]);\n const [essayLength, setEssayLength] = useState(0);\n\n const socket = useContext(SocketContext);\n\n const getEssayCount = async () => {\n const { data } = await api.get(\"/getEssayAmount\");\n\n const grouped = _.groupBy(data, Math.floor);\n\n const graphData: { x: number; y: number }[] = [];\n\n Object.values(grouped).map((entry) =>\n graphData.push({ x: entry[0], y: entry.length })\n );\n\n setEssays(graphData);\n setEssayLength(data.length);\n };\n\n const handleEssay = useCallback((data) => {\n setEssayLength(data);\n }, []);\n\n useEffect(() => {\n socket.on(\"newEssay\", handleEssay);\n }, []);\n\n useEffect(() => {\n getEssayCount();\n }, []);\n\n return (\n \n \n \n \n \n \n\n
\n \n {\"TOTAL AMOUNT OF ESSAYS: \" + essayLength}\n \n
\n \n );\n};\n\nexport default EssayGraph;\n","import { isMobile } from \"react-device-detect\";\nimport { innerFlexCenterWrapper } from \"../../styles/globalStyles\";\nimport logo from \"../../images/orange.png\";\nimport { Button, TextField } from \"@material-ui/core\";\nimport { textFieldStyle, useStyles } from \"../Auth/Login/styles\";\nimport { Dispatch, SetStateAction, useState } from \"react\";\n\ninterface Props {\n setLoggedIn: Dispatch>;\n}\n\nconst PasswordPage = (props: Props) => {\n const handleSubmit = async () => {\n if (email === \"AS2023\" && password === \"CarLlamaTaxesMinutes\")\n props.setLoggedIn(true);\n };\n\n const [email, setEmail] = useState(\"\");\n const [password, setPassword] = useState(\"\");\n\n const classes = useStyles();\n\n return (\n {\n e.preventDefault();\n handleSubmit();\n }}>\n \n
\n \n setEmail(target.value)}>\n setPassword(target.value)}>\n \n LOGIN\n \n
\n \n \n );\n};\n\nexport default PasswordPage;\n","import { useEffect, useState } from \"react\";\nimport api from \"../../api\";\nimport { VictoryBar, VictoryChart, VictoryTheme } from \"victory\";\nimport { Colors } from \"../../constants\";\nimport _ from \"lodash\";\nimport { Typography } from \"@material-ui/core\";\n\nconst UsersGraph = () => {\n const [users, setUsers] = useState([]);\n const [usersLength, setUsersLength] = useState(0);\n\n useEffect(() => {\n const getUserCount = async () => {\n const { data } = await api.get(\"/getUsersSignupDate\");\n const grouped = _.groupBy(data, Math.floor);\n const graphData: { x: number; y: number }[] = [];\n Object.values(grouped).map((entry) =>\n graphData.push({ x: entry[0], y: entry.length })\n );\n setUsers(graphData);\n setUsersLength(data.length);\n };\n\n getUserCount();\n }, []);\n\n return (\n \n \n \n \n \n \n
\n \n {\"TOTAL AMOUNT OF USERS: \" + usersLength}\n \n
\n \n );\n};\n\nexport default UsersGraph;\n","import { Button, ThemeProvider } from \"@material-ui/core\";\nimport { useState } from \"react\";\nimport { calendarTheme } from \"../../styles/theme\";\nimport EssayGraph from \"./EssayGraph\";\nimport PasswordPage from \"./PasswordPage\";\nimport UsersGraph from \"./UsersGraph\";\n\nconst Graphs = () => {\n const [showUsers, setShowUsers] = useState(true);\n const [isLoggedIn, setIsLoggedIn] = useState(false);\n\n return isLoggedIn ? (\n \n {showUsers ? : }\n\n \n
\n setShowUsers(!showUsers)}>\n Switch To {showUsers ? \"Essays\" : \"Users\"}\n \n
\n
\n \n ) : (\n \n );\n};\n\nexport default Graphs;\n","import { Html5Qrcode, Html5QrcodeScanner } from \"html5-qrcode\";\nimport {\n QrcodeErrorCallback,\n QrcodeSuccessCallback,\n} from \"html5-qrcode/esm/core\";\nimport React, { useCallback, useEffect, useState } from \"react\";\n\ninterface Props {\n qrCodeSuccessCallback: QrcodeSuccessCallback;\n qrCodeErrorCallback: QrcodeErrorCallback;\n fps: number;\n qrbox: number;\n}\n\nconst Html5QrcodeScannerPlugin = (props: Props) => {\n const { fps, qrbox, qrCodeErrorCallback, qrCodeSuccessCallback } = props;\n let html5QrcodeScanner: Html5QrcodeScanner;\n\n const qrCallBack = useCallback((qrString: string) => {\n qrCodeSuccessCallback(qrString, null);\n }, []);\n\n useEffect(() => {\n // Suceess callback is required.\n\n if (!qrCodeSuccessCallback) {\n throw \"qrCodeSuccessCallback is required callback.\";\n }\n\n html5QrcodeScanner = new Html5QrcodeScanner(\n \"qr-code-full-region\",\n { fps, qrbox, disableFlip: true },\n false\n );\n html5QrcodeScanner.render(qrCallBack, qrCodeErrorCallback);\n }, []);\n\n return
;\n};\n\nexport default Html5QrcodeScannerPlugin;\n","import { useCallback, useState } from \"react\";\nimport _ from \"lodash\";\nimport \"react-toastify/dist/ReactToastify.css\";\nimport api, { setUserAsOrganiser } from \"../../api\";\nimport { Typography } from \"@material-ui/core\";\nimport { format } from \"date-fns\";\nimport Html5QrcodeScannerPlugin from \"../../Components/Html5QRcodeScannerPlugin\";\nimport { QrcodeSuccessCallback } from \"html5-qrcode/esm/core\";\n\ninterface Props {\n organiserName: string;\n}\n\nconst QrScanner = (props: Props) => {\n let FUCKME = \"123\";\n let timeoutDate = new Date();\n const [timestampState, setTimestamp] = useState(\"\");\n const [trackState, setTrack] = useState(\"\");\n const [organiserState, setOrganiser] = useState(\"\");\n const [textState, setText] = useState(\"\");\n const [succes, setSucces] = useState(false);\n\n const postData = useCallback(async (qrString: string) => {\n //FOR SOME FUCKING REASON STATE DOES NOT WORK AS EXPECTED FOR THIS SHITTY THINGY FUCK.\n setUserAsOrganiser(props.organiserName);\n console.log(\"Organisor: \" + props.organiserName);\n const isFocus = qrString.toLowerCase().includes(\"#\");\n console.log(\"isFocus: \" + isFocus);\n const id = isFocus ? qrString.split(\"#\")[1] : qrString;\n console.log(\"id: \" + id);\n if (FUCKME === qrString && new Date() < timeoutDate) return;\n FUCKME = qrString;\n let date = new Date();\n date.setSeconds(date.getSeconds() + 4);\n timeoutDate = date;\n try {\n const { data, status } = await api.post<{\n timestamp: Date;\n organiser: string;\n track: string;\n name: string;\n }>(isFocus ? \"/focusCheckin\" : \"/checkin\", {\n data: {\n id,\n },\n });\n\n const { organiser, timestamp: time, track, name } = data;\n\n if (status === 200) {\n setText(name);\n setSucces(true);\n }\n if (status === 201) {\n setText(`${name}`);\n setSucces(false);\n }\n\n setTimestamp(format(new Date(time), \"dd/MM/yyyy HH:mm\"));\n setOrganiser(organiser);\n if (!isFocus) setTrack(track);\n } catch (e) {\n setText(\"User not found\");\n if (e.response.status === 403) {\n setText(e.response.data.message);\n } else if (e.response.status === 401) {\n setText(\"Organisor email not correct\");\n }\n console.log(e);\n\n //This catches the 404 thrown in backend.\n setSucces(false);\n setTimestamp(\"\");\n setOrganiser(\"\");\n setTrack(\"\");\n }\n }, []);\n\n const handleScan: QrcodeSuccessCallback = (decodedText: string) => {\n postData(decodedText);\n };\n\n const handleError = (err) => {\n //console.error(err);\n };\n\n const displayAlreadyScanned =\n textState === \"\"\n ? false\n : !succes &&\n textState !== \"User not found\" &&\n textState !== \"Invalid Ticket: The user has no assigned track.\";\n\n return (\n \n
\n \n
\n \n {trackState}\n {!textState ? (\n {\"Scanning\"}\n ) : (\n {textState}\n )}\n {displayAlreadyScanned ? (\n {\"ALREADY CHECKED IN\"}\n ) : null}\n {timestampState}\n {organiserState}\n
\n \n );\n};\n\nexport default QrScanner;\n","import { Button, TextField } from \"@material-ui/core\";\nimport { Dispatch, SetStateAction, useState } from \"react\";\nimport { textFieldStyle, useStyles } from \"../Login/styles\";\nimport { innerFlexCenterWrapper } from \"../../../styles/globalStyles\";\nimport json from \"../../../emails.json\";\n\ninterface Props {\n setLoggedIn: Dispatch>;\n setUsername: Dispatch>;\n username: string;\n}\n\nconst OrganiserPasswordPage = (props: Props) => {\n const { setLoggedIn, setUsername, username } = props;\n const [password, setPassword] = useState(\"\");\n\n const handleSubmit = async () => {\n if (json.emails.includes(username) && password === \"tjekdemind\")\n setLoggedIn(true);\n };\n\n const classes = useStyles();\n\n return (\n {\n e.preventDefault();\n handleSubmit();\n }}>\n \n
\n setUsername(target.value)}>\n setPassword(target.value)}>\n \n LOGIN\n \n
\n \n \n );\n};\n\nexport default OrganiserPasswordPage;\n","import { useState } from \"react\";\nimport QrScanner from \"../../QrScanner/QrScanner\";\nimport OrganiserPasswordPage from \"./PasswordPage\";\n\nconst Checkin = () => {\n const [isLoggedIn, setIsLoggedIn] = useState(false);\n const [username, setUsername] = useState(\"\");\n\n return (\n \n {isLoggedIn ? (\n
\n

QR Checkin Tool

\n \n
\n ) : (\n \n )}\n \n );\n};\n\nexport default Checkin;\n","import {\n Box,\n Button,\n IconButton,\n TextField,\n Typography,\n} from \"@material-ui/core\";\nimport { mdiArrowLeftCircleOutline, mdiArrowRightCircleOutline } from \"@mdi/js\";\nimport Icon from \"@mdi/react\";\nimport { useState } from \"react\";\nimport { useEffect } from \"react\";\nimport { Document, Page } from \"react-pdf/dist/esm/entry.webpack\";\nimport api from \"../../api\";\nimport { Colors } from \"../../constants\";\nimport { pdfjs } from \"react-pdf\";\nimport { useParams } from \"react-router\";\nimport { Rating } from \"@material-ui/lab\";\n\npdfjs.GlobalWorkerOptions.workerSrc = `//cdnjs.cloudflare.com/ajax/libs/pdf.js/${pdfjs.version}/pdf.worker.min.js`;\n\nconst EssayReviewExternal = () => {\n const essayBaseUrl = process.env.REACT_APP_DIGITALOCEANBASE;\n const queryParams = new URLSearchParams(location.search);\n const emailFromQuery = queryParams.get(\"email\")\n ? queryParams.get(\"email\")\n : \"\";\n\n const [url, setUrl] = useState(\"\");\n const [numPages, setNumPages] = useState(null);\n const [pageNumber, setPageNumber] = useState(1);\n const { id } = useParams<{ id: string }>();\n\n const [generalAnswer, setGeneralAnswer] = useState(0);\n const [argumentation, setArgumentation] = useState(0);\n const [differentiation, setDifferentiation] = useState(0);\n const [conclusion, setConclusion] = useState(0);\n const [craftsmanship, setCraftsmanship] = useState(0);\n const [externalReviewerEmail, setExternalReviewerEmail] =\n useState(emailFromQuery);\n\n const [responsText, setResponstext] = useState(\"\");\n\n const handleClick = async () => {\n const reviewData = {\n review: {\n generalAnswer,\n argumentation,\n differentiation,\n conclusion,\n craftsmanship,\n externalReviewerEmail,\n },\n id,\n };\n const { data } = await api.post(\"/external/uploadReview\", {\n data: reviewData,\n });\n setResponstext(data);\n setTimeout(() => {\n setResponstext(\"\");\n }, 5000);\n };\n\n useEffect(() => {\n const fetchEssay = async () => {\n try {\n const { data } = await api.get(\"/external/getEssay\", {\n params: {\n id,\n externalReviewerEmail,\n },\n });\n\n console.log(data);\n\n if (data) {\n setUrl(essayBaseUrl + data.essayURL);\n setGeneralAnswer(data.review.generalAnswer);\n setArgumentation(data.review.argumentation);\n setDifferentiation(data.review.differentiation);\n setConclusion(data.review.conclusion);\n setCraftsmanship(data.review.craftsmanship);\n if (data.review.externalReviewerEmail) {\n setExternalReviewerEmail(data.review.externalReviewerEmail);\n }\n }\n } catch (error) {\n console.log(error);\n }\n };\n\n fetchEssay();\n }, []);\n\n const onDocumentLoadSuccess = ({ numPages }) => {\n setNumPages(numPages);\n };\n\n return (\n \n \n
\n \n \n \n
\n \n \n\n \n setPageNumber(pageNumber - 1)}>\n \n \n\n \n Page {pageNumber} of {numPages}\n \n\n setPageNumber(pageNumber + 1)}>\n \n \n \n \n \n \n Overordnet besvarelse\n \n Besvarer den studerende den opstillede udfordring fyldestgørende og\n konkret?\n \n {\n setGeneralAnswer(val);\n }}\n />\n \n\n \n Argumentering\n \n Understøttes den studerendes essay af relevante kilder eller er den\n studerendes hypoteser velargumenteret og fyldestgørende i sig selv?\n \n {\n setArgumentation(val);\n }}\n />\n \n\n \n Differentiering\n \n Giver den studerende et nyt og relevant perspektiv på\n problemstillingen?\n \n {\n setDifferentiation(val);\n }}\n />\n \n\n \n Konklusion\n \n Er den studerende i stand til at samle essayets nøglepointer og\n fremstille relevante løsningsforslag til den overordnede\n problemstilling?\n \n {\n setConclusion(val);\n }}\n />\n \n\n \n Håndværk\n \n Er essayet godt skrevet, struktureret og grammatisk veludført?\n \n {\n setCraftsmanship(val);\n }}\n />\n \n\n \n

Som ekstern reviewer, skal vi bruge din email:

\n {\n setExternalReviewerEmail(val.target.value);\n }}\n />\n \n\n handleClick()}\n disabled={externalReviewerEmail === \"\"}\n color=\"primary\"\n variant=\"outlined\">\n Submit\n \n \n {responsText}\n \n \n \n );\n};\n\nexport default EssayReviewExternal;\n","import { RouteProps } from \"react-router-dom\";\nimport { About } from \"../Pages/About/About\";\nimport { ForgotPassword } from \"../Pages/Auth/ForgotPassword/ForgotPassword\";\nimport Login from \"../Pages/Auth/Login/Login\";\nimport NotFound from \"../Pages/Auth/NotFound/NotFound\";\nimport Register from \"../Pages/Auth/Register/Register\";\nimport { ResetPassword } from \"../Pages/Auth/ResetPassword/ResetPassword\";\nimport ValidateUser from \"../Pages/Auth/validateUser/validateUser\";\nimport EssayReview from \"../Pages/EssayReview/EssayReview\";\nimport ASTimeline from \"../Pages/Timeline/Timeline\";\nimport ProfilePage from \"../Pages/Profile/ProfilePage\";\nimport Group from \"../Pages/Group/Group\"; //indsat\nimport GroupRegistration from \"../Pages/Group/GroupRegistration\"; //indsat\nimport AcceptGroup from \"../Pages/Group/AcceptGroup\"; //indsat\nimport GroupOf from \"../Pages/Group/PartOfGroup\"; //indsat\nimport EssayGraph from \"../Pages/EssayGraph/EssayGraph\";\nimport Graphs from \"../Pages/EssayGraph/Graphs\";\nimport Checkin from \"../Pages/Auth/Checkin/Checkin\";\nimport EssayReviewExternal from \"../Pages/EssayReview/EssayReviewExternal\";\n//import { Group } from \"@material-ui/icons\";\n\ninterface AuthenticatedRouteProps extends RouteProps {\n isPrivate: boolean;\n exact: boolean;\n}\n\nconst publicRoutes: AuthenticatedRouteProps[] = [\n {\n path: \"/login\",\n component: Login,\n isPrivate: false,\n exact: true,\n },\n {\n path: \"/about\",\n component: About,\n isPrivate: false,\n exact: true,\n },\n\n {\n path: \"/register\",\n component: Register,\n isPrivate: false,\n exact: true,\n },\n {\n path: \"/resetPassword/:token\",\n component: ResetPassword,\n isPrivate: false,\n exact: true,\n },\n {\n path: \"/resetPassword\",\n component: ForgotPassword,\n isPrivate: false,\n exact: true,\n },\n {\n path: \"/validate/:token\",\n component: ValidateUser,\n isPrivate: false,\n exact: true,\n },\n {\n path: \"/essayGraph\",\n component: Graphs,\n isPrivate: false,\n exact: true,\n },\n {\n path: \"/essayReview/:id\",\n component: EssayReview,\n isPrivate: false,\n exact: true,\n },\n {\n path: \"/external/essayReview/:id\",\n component: EssayReviewExternal,\n isPrivate: false,\n exact: true,\n },\n {\n path: \"/checkin\",\n component: Checkin,\n isPrivate: false,\n exact: true,\n },\n];\n\nconst privateRoutes: AuthenticatedRouteProps[] = [\n {\n path: \"/\",\n component: ASTimeline,\n isPrivate: true,\n exact: true,\n },\n\n {\n path: \"/profile\",\n component: ProfilePage,\n isPrivate: true,\n exact: true,\n },\n { //indsat\n path: \"/group\",\n component: Group, //ret denne til den component jeg arbejder på\n isPrivate: false,\n exact: true,\n },\n { //indsat\n path: \"/AcceptGroupInvitation/:token\",\n component: AcceptGroup, //ret denne til den component jeg arbejder på\n isPrivate: false,\n exact: true,\n },\n { //indsat\n path: \"/groupRegistration\",\n component: GroupRegistration, //Når der trykkes på Create Group\n isPrivate: true,\n exact: true,\n },\n { //indsat\n path: \"/groupOf\",\n component: GroupOf, //Når der trykkes på Create Group\n isPrivate: true,\n exact: true,\n },\n {\n path: \"/*\",\n component: NotFound,\n isPrivate: true,\n exact: true,\n },\n];\n\nexport const routes = publicRoutes.concat(privateRoutes);\n","export const About = (): JSX.Element => {\n return (\n \n hej\n \n );\n};\n","import { AxiosError } from \"axios\";\nimport React, { useState } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport api from \"../../../api\";\nimport waait from \"waait\";\nimport { ToastContainer, toast } from \"react-toastify\";\nimport \"react-toastify/dist/ReactToastify.css\";\nimport { Button, TextField, Typography } from \"@material-ui/core\";\nimport { innerFlexCenterWrapper } from \"../../../styles/globalStyles\";\nimport { textFieldStyle, useStyles } from \"../Login/styles\";\nimport { isMobile } from \"react-device-detect\";\nimport logo from \"../../../images/orange.png\";\n\nexport const ResetPassword = () => {\n const [password, setPassword] = useState(\"\");\n const [confirmPassword, setConfirmPassword] = useState(\"\");\n const [error, setError] = useState(\"\");\n const history = useHistory();\n\n const showToast = () => {\n toast.info('\"Succes! Redirecting to login...', {\n position: \"top-center\",\n autoClose: 3000,\n hideProgressBar: true,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n });\n };\n\n const handleSubmit = async (event: React.FormEvent) => {\n event.preventDefault();\n\n setError(\"\");\n\n if (password !== confirmPassword) {\n setError(\"Passwords must match\");\n return;\n }\n\n const pathArray = window.location.pathname.split(\"/\");\n const token = pathArray[pathArray.length - 1];\n const path = \"/reset/\" + token;\n try {\n await api.post(path, {\n data: { password: password, confirmPassword: confirmPassword },\n });\n\n showToast();\n\n await waait(3000);\n\n history.push(\"/)\");\n } catch (error) {\n const e: AxiosError<{ message: string }> = error;\n if (e.response) setError(e.response.data.message);\n }\n };\n\n const classes = useStyles();\n\n return (\n
\n \n
\n \n \n Please enter your new password below\n \n {\n setError(\"\");\n setPassword(target.value);\n }}>\n {\n setError(\"\");\n setConfirmPassword(target.value);\n }}>\n {error ? (\n \n {error}\n \n ) : null}\n \n FORGOT PASSWORD?\n \n
\n \n\n \n \n );\n};\n","import { Button, TextField, Typography } from \"@material-ui/core\";\nimport React, { useState } from \"react\";\nimport { isMobile } from \"react-device-detect\";\nimport { useHistory } from \"react-router-dom\";\nimport api from \"../../../api\";\nimport HorizontalLine from \"../../../Components/HorizontalLine\";\nimport { Colors } from \"../../../constants\";\nimport { innerFlexCenterWrapper } from \"../../../styles/globalStyles\";\nimport { textFieldStyle, useStyles } from \"../Login/styles\";\n\nexport const ForgotPassword = () => {\n const [email, setEmail] = useState(\"\");\n const [message, setMessage] = useState(\"\");\n\n const handleSubmit = async () => {\n try {\n const url = await api.post(\"/recover\", { data: { email: email } });\n\n if (url.status === 200) {\n setMessage(\"Email sent successfully\");\n }\n } catch (error) {\n error.response.status === 401\n ? setMessage(\"Email sent successfully, remember to check your spam\")\n : setMessage(\"Somethig went wrong, please try again later...\");\n }\n };\n const history = useHistory();\n\n const classes = useStyles();\n\n return (\n \n
\n \n CAN'T LOG IN?\n \n \n If your email is associated with an account, we'll send a recovery\n link to you\n \n setEmail(target.value)}>\n handleSubmit()}\n fullWidth>\n REQUEST NEW PASSWORD\n \n \n {message ? (\n \n {message}\n \n ) : null}\n
\n {\n history.push(\"/login\");\n }}\n className={classes.root}>\n Return to login\n \n
\n
\n \n );\n};\n","import React, { ReactNode, useState, useEffect } from \"react\";\nimport {\n createStyles,\n makeStyles,\n Theme,\n ThemeProvider,\n} from \"@material-ui/core/styles\";\nimport Dialog from \"@material-ui/core/Dialog\";\nimport AppBar from \"@material-ui/core/AppBar\";\nimport Toolbar from \"@material-ui/core/Toolbar\";\nimport IconButton from \"@material-ui/core/IconButton\";\nimport Typography from \"@material-ui/core/Typography\";\nimport CloseIcon from \"@material-ui/icons/Close\";\nimport Slide from \"@material-ui/core/Slide\";\nimport { TransitionProps } from \"@material-ui/core/transitions\";\nimport { logout, useAuthDispatch, useAuthState } from \"../Context\";\nimport { Menu, Publish, Home } from \"@material-ui/icons\";\nimport { calendarTheme } from \"../styles/theme\";\nimport { Colors } from \"../constants\";\nimport EssayDialog from \"../Pages/EssayDialog/EssayDialog\";\nimport { Switch, useHistory } from \"react-router-dom\";\nimport AppRoutes from \"../Router/AppRoutes\";\nimport { routes } from \"../Router/Routes\";\nimport { Box, ClickAwayListener, Link } from \"@material-ui/core\";\nimport { isMobile } from \"react-device-detect\";\nimport logo from \"../images/logo.png\";\nimport { isBeforeCL } from \"./isBeforeCL\";\n\ntype Routes = \"HOME\" | \"UPLOAD\" | \"TRACKS\" | \"PROFILE\" | \"GROUP\" | \"LOGOUT\" | \"FAQ\"; //indsat group\n\nconst essayTransition = React.forwardRef(function Transition(\n props: TransitionProps & { children?: React.ReactElement },\n ref: React.Ref\n) {\n return ;\n});\n\nconst menuTransition = React.forwardRef(function Transition(\n props: TransitionProps & { children?: React.ReactElement },\n ref: React.Ref\n) {\n return ;\n});\n\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n appBar: {\n position: \"relative\",\n },\n title: {\n marginLeft: theme.spacing(2),\n flex: 1,\n },\n menuLink: { marginBottom: \"2rem\" },\n rightScrollPaper: {\n alignItems: \"flex-end\",\n position: \"absolute\",\n right: \"0px\",\n },\n rightPaperScrollBody: {},\n })\n);\n\nconst NavigationBar = () => {\n const { title, appBar, menuLink } = useStyles();\n const [essayDialogOpen, setEssayDialogOpen] = useState(false);\n const [menuDialogOpen, setMenuDialogOpen] = useState(false);\n\n const history = useHistory();\n const dispatch = useAuthDispatch(); // read dispatch method from context\n const classes = useStyles();\n\n \n\n const handleLogout = () => {\n logout(dispatch); //call the logout action\n history.push(\"/\"); //navigate to logout page on logout\n window.location.reload();\n };\n\n const handleEssayClickOpen = () => {\n setEssayDialogOpen(true);\n };\n\n const handleEssayClose = () => {\n setEssayDialogOpen(false);\n };\n\n const handleMenuClickOpen = () => {\n setMenuDialogOpen(true);\n };\n\n const handleMenuClose = () => {\n setMenuDialogOpen(false);\n };\n\n\n const handleNavigation = (route: Routes | null) => {\n handleMenuClose();\n if (route === \"HOME\") history.push(\"/\");\n if (route === \"UPLOAD\") handleEssayClickOpen();\n\n if (route === \"TRACKS\")\n window.open(\"https://www.aarhus-symposium.org/theme-announcement\").focus();\n if (route === \"PROFILE\") history.push(\"/profile\");\n if (route === \"LOGOUT\") handleLogout();\n if (route === \"GROUP\") history.push(\"/group\");\n if (route === \"FAQ\")\n window.open(\"https://www.aarhus-symposium.org/faq\").focus();\n };\n\n const { email } = useAuthState();\n\n return (\n \n\n {isMobile && email ?\n \n \n \n : (email ? (\n \n {handleNavigation(\"HOME\")}}\n >\n \n \n {handleNavigation(\"TRACKS\")}}\n >\n THEME 2024\n \n {handleNavigation(\"PROFILE\")}}\n >\n PROFILE\n \n {handleNavigation(\"GROUP\")}}\n >\n GROUP\n \n {handleNavigation(\"FAQ\")}}\n >\n FAQ\n \n {handleNavigation(\"LOGOUT\")}}\n >\n LOGOUT\n \n\n \n {isMobile ? <> : }\n {isMobile ? (\n \n ) : null}\n {\n\n \n \n }\n \n \n ) : null)}\n \n \n \n \n \"Logo\"\n \n \n \n \n \n \n \n \n \n\n
\n \n {routes.map(({ path, component, isPrivate, exact }, index) => (\n \n ))}\n \n
\n \n \n \n \n \n /MENU\n \n
\n \n {\n event.preventDefault();\n handleNavigation(\"HOME\");\n }}\n >\n HOME\n \n \n {\n {\n event.preventDefault();\n handleNavigation(\"UPLOAD\");\n }}\n >\n UPLOAD / EDIT SUBMISSION\n \n }\n \n {\n event.preventDefault();\n handleNavigation(\"TRACKS\");\n }}\n >\n TRACKS & SPEAKERS\n \n \n \n {\n event.preventDefault();\n handleNavigation(\"PROFILE\");\n }}\n >\n PROFILE\n \n \n \n {\n event.preventDefault();\n handleNavigation(\"GROUP\");\n }}\n >\n GROUP SIGNUP\n \n \n \n {\n event.preventDefault();\n handleNavigation(\"FAQ\");\n }}\n >\n FAQ\n \n \n \n {\n event.preventDefault();\n handleNavigation(\"LOGOUT\");\n }}\n >\n LOGOUT\n \n \n
\n \n {\n event.preventDefault();\n handleNavigation(null);\n }}\n >\n {\">\"}\n \n \n \n
\n
\n \n \n );\n};\n\nexport default NavigationBar;\n","import React from \"react\";\nimport \"./App.css\";\nimport { BrowserRouter, Switch } from \"react-router-dom\";\nimport { routes } from \"./Routes\";\nimport { AuthProvider } from \"../Context\";\nimport AppRoutes from \"./AppRoutes\";\nimport { ThemeProvider } from \"@material-ui/styles\";\nimport { appTheme } from \"../styles/theme\";\nimport NavigationBar from \"../Components/NavigationBar\";\nimport { QueryClient, QueryClientProvider } from \"react-query\";\n\nconst AppRouter = (): JSX.Element => {\n const client = new QueryClient({\n defaultOptions: {\n queries: {\n refetchOnWindowFocus: false,\n },\n },\n });\n\n return (\n <>\n \n \n \n \n
\n \n
\n
\n
\n
\n
\n \n );\n};\n\nexport default AppRouter;\n","import React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport \"./index.css\";\nimport AppRouter from \"./Router/AppRouter\";\nimport { MuiPickersUtilsProvider } from \"@material-ui/pickers\";\nimport DateFnsUtils from \"@date-io/date-fns\";\n\nimport { createContext } from \"react\";\nimport io from \"socket.io-client\";\n\nconst socket = io(\n process.env.NODE_ENV === \"development\"\n ? \"http://localhost:8080\"\n : \"https://www.signup.asymp.org\"\n);\n\nexport const SocketContext = createContext(socket);\n\nReactDOM.render(\n \n \n \n \n ,\n document.getElementById(\"root\")\n);\n"],"sourceRoot":""}