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BAAIA,KAAsB,iBAAK,GAC9ED,EAAmBrB,QAAQgB,EAAqBO,KAAK,KAAM,IAC3DF,EAAmBG,KAAOR,EAAqBO,KAAK,KAAMF,EAAmBG,KAAKD,KAAKF,G,KC7CvF,IAAII,EAAsBve,EAAoB+a,OAAEL,EAAW,CAAC,MAAM,IAAO1a,EAAoB,QAC7Fue,EAAsBve,EAAoB+a,EAAEwD,E","sources":["assets|sync|/^/.//study.*/.png$","Styles/Base.js","Styles/UploadScreen.js","Styles/Breadcrumb.js","Components/Breadcrumb.js","Styles/PleaseWait.js","Components/PleaseWait.js","Components/UploadScreen.js","Styles/MobileBar.js","Components/ForgotPasswordScreen.js","Styles/Login.js","Components/ConfirmResetPasswordScreen.js","Components/RegisterScreen.js","Components/LoginScreen.js","Styles/Card.js","Components/Card.js","Styles/CardEditScreen.js","Components/CardEditScreen.js","Styles/Deck.js","Components/Deck.js","Styles/Home.js","Components/HomeScreen.js","Styles/StatisticBar.js","Components/StatisticBar.js","Styles/StudyScreen.js","Components/StudyScreen.js","Styles/Sidebar.js","Components/Sidebar.js","App.js","webpack/bootstrap","webpack/runtime/chunk loaded","webpack/runtime/compat get default export","webpack/runtime/create fake namespace object","webpack/runtime/define property getters","webpack/runtime/global","webpack/runtime/hasOwnProperty shorthand","webpack/runtime/make namespace object","webpack/runtime/publicPath","webpack/runtime/jsonp chunk loading","webpack/startup"],"sourcesContent":["var map = {\n\t\"./study1.png\": 8390,\n\t\"./study2.png\": 2979,\n\t\"./study3.png\": 4141,\n\t\"./study4.png\": 5386,\n\t\"./study5.png\": 5283,\n\t\"./study6.png\": 9993\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 2628;","import {StyleSheet, Dimensions} from \"react-native\";\n\n\nconst windowHeight = Dimensions.get(\"window\").height\n\nconst BaseStyle = StyleSheet.create({\n blackBackground: {\n backgroundColor: '#0000',\n },\n input: {\n borderWidth: 1,\n borderColor: '#ccc',\n padding: 10,\n color: \"#969696\",\n marginBottom: 10, // Increased margin between boxes\n width: '100%', // Shortened width\n\n },\n button: {\n alignItems: 'center',\n justifyContent: 'center',\n paddingVertical: 12,\n paddingHorizontal: 32,\n backgroundColor: '#eab923',\n },\n iconButton: {\n backgroundColor: \"#eab923\",\n marginBottom: 18,\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: \"12px\",\n padding: 10,\n marginRight: 10,\n flex:1,\n },\n icon: {\n fontSize: 50,\n lineHeight: 25,\n fontWeight: 'bold',\n letterSpacing: 0.25,\n color: \"#969696\",\n },\n buttonText: {\n fontSize: 16,\n lineHeight: 21,\n fontWeight: 'bold',\n letterSpacing: 0.25,\n color: 'white',\n textAlign: \"center\",\n },\n container: {\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: \"center\",\n flexWrap: \"wrap\",\n marginLeft: \"3%\",\n marginRight: \"3%\",\n color: \"white\",\n flex: 1,\n },\n containerDesktop: {\n flexWrap: \"wrap\",\n marginLeft: \"20%\",\n marginRight: \"25%\",\n color: \"white\",\n marginBottom: 20,\n },\n\n listItem: {\n flexWrap: 'wrap',\n paddingRight: 25,\n paddingLeft: 25,\n paddingBottom: \"5%\",\n marginBottom: 35,\n paddingTop: 15,\n backgroundColor: \"#181a1f\",\n\n fontSize: 30,\n borderRadius: 3,\n color: \"white\",\n borderColor: \"#555E6C\",\n borderWidth: 1,\n minWidth: \"80%\",\n },\n\n headerbar: {\n backgroundColor: \"#fff\",\n elevation: 0,\n shadowOpacity: 0,\n },\n fileNameText: {\n margin: 10,\n fontSize: 15,\n fontWeight: \"bold\",\n },\n\n header: {\n color: \"#222\",\n fontSize: 28,\n fontWeight: \"bold\",\n paddingLeft: 20,\n paddingTop: 20\n },\n centeredView: {\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center',\n marginTop: 22,\n },\n\n\n row: {\n flexDirection: \"row\",\n },\n\n textStyle: {\n fontFamily: 'Manrope-Bold',\n color: 'white',\n fontWeight: 'bold',\n textAlign: 'left',\n fontSize: 25,\n },\n scrollView: {\n flex: 1,\n marginBottom: 120,\n },\n\n greenText: {\n color: \"green\",\n },\n\n errorText: {\n color: 'red',\n margin: 10,\n },\n successText: {\n color: 'green',\n margin: 10,\n },\n\n centeredLogo: {\n position: 'absolute',\n top: '10%',\n alignSelf: 'center',\n },\n\n navigationcontainer: {\n flexDirection: 'row',\n },\n active: {\n borderColor: \"#BCC1CA\",\n },\n buttonClose: {\n backgroundColor: 'red',\n marginTop: 10,\n flexWrap: 'wrap',\n },\n botBar: {\n backgroundColor: \"black\",\n position: \"fixed\",\n bottom: 0,\n flexDirection: \"row\",\n width: \"100%\",\n borderColor: \"#181a1f\",\n borderWidth: 1,\n alignItems: \"center\",\n paddingVertical: 10,\n justifyContent:'space-between',\n paddingLeft: \"10%\",\n paddingRight: \"10%\",\n },\n\n mobileNavigationText: {\n color: \"#555e6c\",\n fontFamily: 'Manrope-Bold',\n },\n mobSideBarButton: {\n flexDirection: \"column\",\n alignItems: \"center\",\n justifyContent: 'center',\n\n },\n\n});\n\nexport default BaseStyle;","import {StyleSheet} from \"react-native\";\n\nconst UploadScreenStyle = StyleSheet.create({\n\n uploadText: {\n fontFamily: 'Manrope-Bold',\n paddingBottom: \"15px\",\n fontSize: 20,\n fontWeight: \"bold\",\n color: 'white',\n },\n});\n\nexport default UploadScreenStyle;","import {StyleSheet} from \"react-native\";\n\nconst BreadcrumbStyle = StyleSheet.create({\n breadcrumbText: {\n fontSize: 30,\n marginBottom: 45,\n left: 0,\n width: 250,\n height: 50,\n },\n navigationText: {\n color: '#555e6c',\n fontSize: 15,\n },\n});\n\nexport default BreadcrumbStyle;","import React from \"react\";\nimport {Text, Pressable, View} from \"react-native\";\nimport BaseStyle from \"../Styles/Base\"\nimport BreadcrumbStyle from \"../Styles/Breadcrumb\"\nimport {StyleSheet} from \"react-native\";\nimport FontAwesome from 'react-native-vector-icons/FontAwesome';\n\nconst styles = StyleSheet.flatten([BaseStyle, BreadcrumbStyle]);\n\nconst Breadcrumb = ({ navigation, headerText }) => {\n return (\n navigation.goBack()}>\n \n \n \n {headerText}\n \n \n \n )\n};\n\n\n\nexport default Breadcrumb;\n\n","import {StyleSheet} from \"react-native\";\n\nconst PleaseWaitStyle = StyleSheet.create({\n pleasewaitcontainer: {\n align: \"center\",\n justifyContent: 'center',\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center',\n\n },\n pleasewaittext: {\n textAlign: 'center',\n color: \"#a7adb7\",\n },\n\n pleasewaitimage: {\n width: 300,\n height: 120,\n resizeMode: 'contain',\n marginTop: 30,\n marginTop: 15,\n\n },\n\n});\n\nexport default PleaseWaitStyle;","import React from \"react\";\nimport {Text, Pressable, View, Image} from \"react-native\";\nimport BaseStyle from \"../Styles/Base\"\nimport PleaseWaitStyle from \"../Styles/PleaseWait\"\nimport {StyleSheet} from \"react-native\";\nimport FontAwesome from 'react-native-vector-icons/FontAwesome';\n\nconst loadingImage = require('../assets/loading.png');\n\nconst styles = StyleSheet.flatten([BaseStyle, PleaseWaitStyle]);\n\nconst Breadcrumb = ({ navigation, headerText }) => {\n return (\n \n This may take a while. You can close the app and check back later.\n \n Generating...\n \n )\n};\n\n\n\nexport default Breadcrumb;\n\n","import * as DocumentPicker from 'expo-document-picker';\nimport AsyncStorage from '@react-native-async-storage/async-storage';\nimport React, {useState} from 'react';\nimport {Button, StyleSheet, Text, View, Alert, Modal, Pressable, TextInput, ScrollView} from \"react-native\";\nimport Constants from \"expo-constants\";\nimport {useNavigation} from '@react-navigation/native';\nimport FontAwesome from 'react-native-vector-icons/FontAwesome';\nimport Slider from '@react-native-community/slider';\nimport BaseStyle from \"../Styles/Base\"\nimport UploadScreenStyle from \"../Styles/UploadScreen\"\nimport Breadcrumb from \"./Breadcrumb\";\nimport PleaseWait from \"./PleaseWait\";\n\nconst UploadScreen = ({route, navigation}) => {\n const [file, setFile] = useState(null);\n const [cardsPerDay, setCardsPerDay] = useState(2);\n const [isAlertVisible, setIsAlertVisible] = useState(false);\n const [deckName, setDeckName] = useState(\"\");\n const [error, setError] = useState(null);\n const [success, setSuccess] = useState(null);\n const [isProcessed, setProcessed] = useState(false);\n const styles = StyleSheet.flatten([BaseStyle, UploadScreenStyle]);\n const { isMobile } = route.params;\n\n\n const pickDocument = async () => {\n var result = await DocumentPicker.getDocumentAsync({type: \"application/pdf\"});\n setFile(result);\n };\n\n\n const uploadDocument = async () => {\n if (!file) {\n console.error('No file selected');\n return;\n }\n setIsAlertVisible(true);\n //setSuccess(\"The Cards will now be generated. This may take some time, you are free to leave this page :) .\");\n setProcessed(true);\n setIsAlertVisible(false);\n generateCards();\n };\n\n const generateCards = async () => {\n const token = await AsyncStorage.getItem('token');\n const formData = new FormData();\n formData.append(\"file\", file.file, file.name)\n formData.append(\"deckname\", deckName)\n formData.append(\"cardsPerDay\", cardsPerDay)\n fetch(Constants.expoConfig.extra.backend + '/getcards', {\n method: 'POST',\n headers: {\n 'Authorization': token\n },\n body: formData,\n })\n .then((response) => {\n response.json().then((returnString) => {\n console.log(\"uploadpdf\", returnString)\n navigation.navigate(\"CardOverview\", {response: returnString.deck_id});\n })\n })\n .catch((error) => {\n setError(error);\n });\n };\n\n\n\n\n return (\n \n \n \n \n {success && {success}}\n {error && {error}}\n {!isProcessed && <>\n Add Deck\n setDeckName(text)}\n placeholder=\"Deckname...\"\n />\n\n {cardsPerDay} new Cards per Day\n \n\n {!file && \n Select PDF\n }\n {file && {file.name}}\n\n {!isProcessed && file &&\n \n Create Deck\n }\n >}\n {isProcessed && }\n\n\n \n \n \n );\n\n\n};\n\nexport default UploadScreen;\n","import {StyleSheet} from \"react-native\";\n\nconst MobileBarStyle = StyleSheet.create({\n topBar: {\n backgroundColor: 'black', // Adjust the background color as needed\n alignItems: 'center',\n\n },\n logo: {\n width: 120,\n height: 50,\n resizeMode: 'contain',\n },\n\n navigationText: {\n fontFamily: 'Manrope-Bold',\n color: \"white\",\n fontSize: 25,\n marginBottom: 10,\n },\n profileImg: {\n position: \"absolute\",\n right: 0,\n top: \"30%\",\n marginRight: 50,\n width: 40,\n height: 40,\n borderRadius: 75,\n paddingBottom: 10,\n },\n\n});\n\nexport default MobileBarStyle;","import React, { useState } from 'react';\nimport { Text, TextInput, View, Pressable } from 'react-native';\nimport Constants from \"expo-constants\";\nimport BaseStyle from \"../Styles/Base\"\n\nconst ForgotPasswordScreen = ({ navigation }) => {\n const [username, setUsername] = useState('');\n const styles = BaseStyle;\n\n const requestPasswordReset = () => {\n fetch(Constants.expoConfig.extra.backend + '/reset_password', {\n method: 'POST',\n headers: { 'Content-Type': 'application/json' },\n body: JSON.stringify({ username: username }),\n })\n .then((response) => response.json())\n .then((data) => {\n if (data.error) {\n // Handle the error accordingly\n console.error(data.error);\n } else {\n // Navigate to confirmation screen\n navigation.navigate('ConfirmResetPassword', { username });\n }\n })\n .catch((error) => console.error(error));\n };\n\n return (\n \n \n \n Request Password Reset\n \n \n );\n};\n\nexport default ForgotPasswordScreen;\n","import {StyleSheet} from \"react-native\";\n\nconst LoginStyle = StyleSheet.create({\n loginRegisterInput: {\n borderWidth: 1,\n borderColor: '#ccc',\n padding: 10,\n marginBottom: 10, // Increased margin between boxes\n width: '100%', // Shortened width\n backgroundColor: 'white',\n color: 'black',\n placeholderTextColor: \"#bdc1c9\",\n },\n\n loginScreenBackground: {\n flex: 1,\n backgroundColor: '#000',\n paddingHorizontal: 20,\n paddingTop: 20,\n flexDirection: 'column',\n justifyContent: 'space-between',\n },\n\n loginFields: {\n marginTop: 5,\n width: '50%', // Set width to 50%\n marginLeft: '25%', // Set left margin to 25%\n marginRight: '15%', // Set right margin to 25%\n },\n loginLogo: {\n position: 'absolute',\n top: 120,\n width: \"80%\",\n height: \"60%\",\n resizeMode: 'contain',\n },\n headerContainerLoginRegister: {\n paddingTop: 20,\n flex:1,\n flexDirection: 'row',\n flexWrap: 'wrap',\n alignItems: 'center',\n justifyContent: 'center',\n },\n headerWelcomeLoginRegister: {\n position: 'absolute',\n top: 20,\n left: 20,\n color: '#9095a0',\n fontSize: 48,\n fontFamily: 'Manrope-Bold',\n\n },\n\n headerMessageLoginRegister: {\n position: 'absolute',\n top: 50,\n left: 20,\n color: 'white',\n fontSize: 40,\n marginTop: 25,\n fontFamily: 'Manrope-Bold',\n },\n loginFieldText: {\n color: '#a7adb8',\n marginBottom: 3,\n fontFamily: 'Manrope-Bold',\n fontSize: 15,\n width: '100%',\n },\n buttonLoginRegister: {\n alignItems: 'center',\n justifyContent: 'center',\n paddingVertical: 9,\n paddingHorizontal: 32,\n elevation: 3,\n backgroundColor: '#eab923',\n width: \"100%\",\n },\n buttonTextLogin: {\n fontSize: 16,\n lineHeight: 21,\n fontFamily: 'Manrope-Regular',\n letterSpacing: 0.25,\n color: 'black',\n textAlign: \"center\",\n },\n\n forgotPassword: {\n textDecorationLine: 'underline',\n color: 'orange',\n },\n signUp: {\n color: 'orange',\n },\n forgotPasswordPressable: {\n alignSelf: 'flex-end', // This will push the element to the right within its parent\n marginRight: 0, // Ensure there's no margin on the right\n marginBottom: 10,\n },\n\n inputWrapper: {\n flexDirection: 'row',\n alignItems: 'center',\n position: 'relative',\n width: '100%'\n },\n inputIcon: {\n position: 'absolute',\n left: 10, // adjust this to move the icon left or right within the TextInput\n top: '45%', // This centers it vertically\n transform: [{translateY: -10}], // Half the height of your icon to ensure perfect centering\n width: 15,\n height: 15,\n },\n passwordToggleIcon: {\n position: 'absolute',\n right: 10,\n top: '45%',\n width: 15, // Increased to provide more space\n height: 15,\n justifyContent: 'center', // Ensure content is centered\n alignItems: 'center',\n transform: [{translateY: -10}], // Adjust for half of 25\n },\n headerWelcome: {\n position: 'absolute',\n top: 20,\n left: 20,\n color: 'white',\n fontSize: 24,\n },\n\n headerMessage: {\n position: 'absolute',\n top: 50,\n left: 20,\n color: 'white',\n fontSize: 18,\n },\n});\n\nexport default LoginStyle;","import React, { useState } from 'react';\nimport { Text, TextInput, View, Pressable } from 'react-native';\nimport Constants from \"expo-constants\";\nimport BaseStyle from \"../Styles/Base\"\nimport LoginStyle from \"../Styles/Login\"\nimport {StyleSheet} from \"react-native\";\n\nconst ConfirmResetPasswordScreen = ({ route, navigation }) => {\n const [confirmationCode, setConfirmationCode] = useState('');\n const [newPassword1, setNewPassword1] = useState('');\n const [newPassword2, setNewPassword2] = useState('');\n const [error, setError] = useState(null);\n const { username } = route.params;\n const styles = StyleSheet.flatten([BaseStyle, LoginStyle]);\n\n const confirmResetPassword = () => {\n if (newPassword1 !== newPassword2) {\n setError('Passwords do not match');\n return;\n }\n\n fetch(Constants.expoConfig.extra.backend + '/confirm_reset_password', {\n method: 'POST',\n headers: { 'Content-Type': 'application/json' },\n body: JSON.stringify({\n username: username,\n confirmation_code: confirmationCode,\n new_password1: newPassword1,\n new_password2: newPassword2\n }),\n })\n .then((response) => response.json())\n .then((data) => {\n if (data.error) {\n setError(data.error);\n } else {\n // Handle success, e.g., navigate to login screen or show a success message\n navigation.navigate('Login');\n }\n })\n .catch((error) => setError(error));\n };\n\n return (\n \n {error && {error}}\n\n \n \n \n \n Confirm Reset\n \n \n );\n};\n\nexport default ConfirmResetPasswordScreen;\n","import React, {useState} from 'react';\nimport {Image, Pressable, Text, TextInput, View} from \"react-native\";\nimport Constants from \"expo-constants\";\nimport BaseStyle from \"../Styles/Base\"\nimport LoginStyle from \"../Styles/Login\"\nimport {StyleSheet} from \"react-native\";\nimport staticImage from \"../assets/flashstudy_cut.png\";\nimport userIcon from \"../assets/icons/user.png\";\n\n\nconst RegisterScreen = ({navigation}) => {\n const [username, setUsername] = useState('');\n const [password, setPassword] = useState('');\n const [email, setEmail] = useState('');\n const [confirmPassword, setConfirmPassword] = useState('');\n const [error, setError] = useState(null);\n const staticImage = require(\"../assets/Logoneu_weiß.png\");\n const userIcon = require(\"../assets/icons/user.png\");\n const passwordIcon = require(\"../assets/icons/passwort.png\")\n const mailIcon = require(\"../assets/icons/email.png\")\n const styles = StyleSheet.flatten([BaseStyle, LoginStyle]);\n const handleRegister = () => {\n fetch(Constants.expoConfig.extra.backend + '/register', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n username: username,\n password: password,\n password2: confirmPassword,\n email: email,\n }),\n })\n .then(() => {\n setError(null);\n navigation.navigate('Login')\n })\n .catch((error) => {\n setError(error);\n });\n\n }\n\n return (\n \n\n \n Welcome.\n Create an account\n \n \n\n \n {error && {error}}\n Username\n \n \n \n \n Email\n \n \n \n \n Password\n \n \n \n \n Confirm Password\n \n \n \n \n\n \n Register\n \n\n \n \n\n Already have an account?\n navigation.navigate('Login')}>\n Sign In\n \n \n\n \n );\n};\nexport default RegisterScreen;\n","import AsyncStorage from '@react-native-async-storage/async-storage';\n\nimport React, {useState} from 'react';\nimport {Image, Pressable, Text, TextInput, View} from \"react-native\";\nimport Constants from \"expo-constants\";\nimport BaseStyle from \"../Styles/Base\"\nimport LoginStyle from \"../Styles/Login\"\nimport {StyleSheet} from \"react-native\";\n\nconst LoginScreen = ({navigation, setIsLoggedIn, setUsername}) => {\n const [usernameInput, setUsernameInput] = useState('');\n const [password, setPassword] = useState('');\n const [error, setError] = useState(null);\n const staticImage = require(\"../assets/Logoneu_weiß.png\");\n const userIcon = require(\"../assets/icons/user.png\");\n const passwordIcon = require(\"../assets/icons/passwort.png\")\n const [isPasswordVisible, setIsPasswordVisible] = useState(false); // false means the password is hidden by default\n const hideIcon = require(\"../assets/icons/show.png\");\n const showIcon = require(\"../assets/icons/auge.png\");\n const styles = StyleSheet.flatten([BaseStyle, LoginStyle]);\n\n const handleLogin = () => {\n fetch(Constants.expoConfig.extra.backend + '/login', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n username: usernameInput,\n password: password,\n }),\n })\n .then((response) => response.json())\n .then((data) => {\n if (data.token) {\n AsyncStorage.setItem('token', data.token);\n AsyncStorage.setItem('username', usernameInput);\n setIsLoggedIn(true); // <-- Set isLoggedIn to true\n setUsername(usernameInput); // <-- Set username here\n } else {\n setError('Could not log in Please check your username and password');\n }\n })\n .catch((error) => {\n setError(error);\n });\n }\n const togglePasswordVisibility = () => {\n setIsPasswordVisible(!isPasswordVisible);\n };\n\n return (\n \n\n \n\n Hello.\n Welcome back\n \n\n \n\n \n {error && {error}}\n Username\n \n \n \n \n\n\n Password\n \n \n \n \n \n \n \n\n\n navigation.navigate('ForgotPassword')}>\n\n navigation.navigate('ForgotPassword')}>\n Forgot Password?\n \n\n \n\n \n Sign In\n \n\n \n \n OR CONTINUE WITH\n \n\n \n Don't have an Account?\n navigation.navigate('Register')}>\n Sign Up\n \n \n\n \n );\n\n};\n\nexport default LoginScreen;","import {StyleSheet} from \"react-native\";\n\nconst CardStyle = StyleSheet.create({\n\n outlineCard: {\n backgroundColor: \"white\",\n borderWidth: 1,\n borderColor: '#ccc',\n shadowColor: \"#000000\",\n shadowOpacity: 0.3,\n shadowRadius: 5,\n borderRadius: 6,\n color: '#93abb5',\n marginBottom: 10,\n paddingTop: 20,\n paddingHorizontal: 20,\n paddingBottom: 10,\n width: \"100%\",\n },\n outlineCardEdit: {\n marginTop: 20,\n },\n cardDropDown: {\n marginRight: 20,\n },\n cardDeckButtonRow: {\n position: \"absolute\",\n top: \"10%\",\n flexDirection: \"row\",\n right:0,\n },\n});\n\nexport default CardStyle;","import React, { useState } from 'react';\nimport { View, TextInput, Pressable, Text, StyleSheet } from 'react-native';\nimport axios from 'axios';\nimport Constants from \"expo-constants\";\nimport AsyncStorage from '@react-native-async-storage/async-storage';\nimport FontAwesome from 'react-native-vector-icons/FontAwesome';\nimport BaseStyle from \"../Styles/Base\"\nimport CardStyle from \"../Styles/Card\"\n\nfunction Card({ card, deckId, reloadCallBack }) {\n const [isShown, setShown] = useState(false);\n const [isEditing, setEditing] = useState(false);\n const [question, setQuestion] = useState(card.question);\n const [answer, setAnswer] = useState(card.answer);\n const [error, setError] = useState(null);\n const [success, setSuccess] = useState(null);\n const styles = StyleSheet.flatten([BaseStyle, CardStyle]);\n\n\n const handleSave = async () => {\n const token = await AsyncStorage.getItem('token');\n fetch(Constants.expoConfig.extra.backend + `/card/${card.card_id}`, {\n method: 'PUT',\n headers: {\n 'Content-Type': 'application/json',\n 'Authorization': token\n },\n body: JSON.stringify({\n question: question,\n answer: answer,\n }),\n })\n .then(res => {\n setSuccess(\"Saved\");\n setEditing(false);\n setError(null);\n (response) => response.json()\n reloadCallBack();\n })\n .catch(err => {\n setError(err);\n });\n };\n\n const handleDelete = async () => {\n const token = await AsyncStorage.getItem('token');\n fetch(Constants.expoConfig.extra.backend + `/card/${card.card_id}`, {\n method: 'DELETE',\n headers: {\n 'Content-Type': 'application/json',\n 'Authorization': token\n },\n })\n .then(res => {\n setSuccess(\"Deleted\");\n setEditing(false);\n (response) => response.json()\n reloadCallBack();\n })\n .catch(err => {\n setError(error);\n });\n\n };\n\n return (\n \n \n {card.question}\n \n {isShown ? (\n setShown(false)}>\n \n \n ) : (\n setShown(true)}>\n \n \n )}\n \n {success && {success}}\n {error && {error}}\n \n {isShown ?\n\n isEditing ? (\n \n \n \n \n \n Delete\n \n \n Save\n \n \n\n \n ) : (\n \n {card.answer}\n \n \n Delete\n \n setEditing(true)}>\n Edit\n \n \n \n ) : ()\n }\n \n );\n}\n\nexport default Card;\n","import {StyleSheet} from \"react-native\";\n\nconst CardEditScreenStyle = StyleSheet.create({\n\n});\n\nexport default CardEditScreenStyle;","import * as DocumentPicker from 'expo-document-picker';\n\n\nimport React, {useState, useEffect} from 'react';\nimport {Alert, Button, StyleSheet, TextInput, Modal, Pressable, View, Text, ScrollView} from \"react-native\";\nimport Constants from \"expo-constants\";\nimport {useNavigation} from '@react-navigation/native';\nimport Card from \"./Card\";\nimport {create} from \"axios\";\nimport card from \"react-native-paper/src/components/Card/Card\";\nimport AsyncStorage from '@react-native-async-storage/async-storage';\nimport styles from \"../Styles/Base\";\nimport FontAwesome from 'react-native-vector-icons/FontAwesome';\nimport Breadcrumb from \"./Breadcrumb\";\nimport BaseStyle from \"../Styles/Base\"\nimport CardEditScreenStyle from \"../Styles/CardEditScreen\"\n\nconst CardEditScreen = ({route, navigation}) => {\n const [error, setError] = useState(null);\n const [data, setData] = useState([]);\n const [question, setQuestion] = useState(null);\n const [answer, setAnswer] = useState(null);\n const [isAlertVisible, setIsAlertVisible] = useState(false);\n const [isRefresh, setRefresh] = useState([]);\n const styles = StyleSheet.flatten([BaseStyle, CardEditScreenStyle]);\n const { isMobile } = route.params;\n\n const deckId = route.params?.response\n\n useEffect(() => {\n fetchCards();\n }, [isRefresh]);\n\n\n const componentDidMount = () => {\n console.log(\"mounted\");\n }\n const fetchCards = async () => {\n const token = await AsyncStorage.getItem('token');\n fetch(Constants.expoConfig.extra.backend + '/deck/' + deckId +'/card', {\n method: 'GET',\n headers: {\n 'Authorization': token\n },\n })\n .then((response) => {\n response.json().then((returnString) => {\n console.log(\"CardOverViewScreen\", returnString);\n setData(returnString);\n setError(null);\n })\n\n })\n .catch((error) => {\n setError('Error fetching data'); // Set the error message\n });\n }\n\n\n const newCard = async () => {\n const token = await AsyncStorage.getItem('token');\n fetch(Constants.expoConfig.extra.backend + '/deck/' + deckId +'/card', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n 'Authorization': token\n },\n body: JSON.stringify({\n question: question,\n answer: answer,\n }),\n })\n .then((response) => {\n response.text().then((returnString) => {\n setError(null);\n setIsAlertVisible(false);\n setRefresh([]);\n })\n })\n .catch((error) => {\n setError('Error creating card'); // Set the error message\n });\n }\n\n\n\n\n\n return (\n \n\n {error && {error}}\n\n \n\n \n {!isAlertVisible &&\n setIsAlertVisible(true)}>\n New Card\n \n }\n {isAlertVisible && (\n \n setQuestion(text)}\n placeholder=\"Question...\"\n />\n setAnswer(text)}\n placeholder=\"Answer...\"\n />\n newCard()}>\n Save\n \n setIsAlertVisible(false)}>\n Cancel\n \n \n )}\n {data.map((item, index) => {\n return setRefresh([])}/>\n })}\n \n\n\n\n \n );\n};\n\n\nexport default CardEditScreen;\n","import {StyleSheet} from \"react-native\";\n\nconst DeckStyle = StyleSheet.create({\n listItem: {\n flexWrap: 'wrap',\n paddingRight: 25,\n paddingLeft: 25,\n paddingBottom: 5,\n paddingTop: 15,\n marginBottom: 20,\n fontSize: 30,\n color: \"white\",\n borderWidth: 1,\n width: \"100%\",\n flex:1,\n\n },\n\n deckLogo: {\n width: 60,\n height: 60,\n resizeMode: 'stretch',\n position: \"absolute\",\n borderRadius: 20,\n top: \"70%\",\n left: 0,\n },\n deckText: {\n marginLeft: 95,\n marginTop: 40,\n fontSize: \"70%\",\n },\n statisticsText: {\n color: \"#9095a0\",\n fontFamily: 'Manrope-Bold',\n marginRight: 30,\n marginTop: 40,\n fontSize: \"50%\",\n },\n deckCardStatistics: {\n flexDirection: \"row\",\n marginLeft: 95,\n },\n\n deckrow: {\n flexDirection: \"row\",\n flexWrap: \"wrap\",\n },\n iconButton: {\n backgroundColor: \"#eab923\",\n marginBottom: 18,\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: \"12px\",\n padding: 10,\n marginRight: 10,\n width: \"40%\",\n alignSelf: 'center',\n },\n cardDeckButtonRow: {\n position: \"absolute\",\n flexDirection: \"row\",\n right:-20,\n top: 40,\n },\n});\n\nexport default DeckStyle;","import React, { useState, useEffect } from 'react';\nimport { View, TextInput, Pressable, Text, StyleSheet, TouchableOpacity, Image } from 'react-native';\nimport axios from 'axios';\nimport Constants from \"expo-constants\";\nimport AsyncStorage from '@react-native-async-storage/async-storage';\nimport FontAwesome from 'react-native-vector-icons/FontAwesome';\nimport BaseStyle from \"../Styles/Base\"\nimport DeckStyle from \"../Styles/Deck\"\n\nfunction Deck({ deck, navigateEdit, navigateStudy, reloadCallBack }) {\n const [success, setSuccess] = useState(null);\n const [error, setError] = useState(null);\n const [statistics, setStatistics] = useState({todo: 0, correct: 0, unseen: 0});\n const styles = StyleSheet.flatten([BaseStyle, DeckStyle]);\n\n useEffect(() => {\n fetchStatistics(deck.deck_id);\n }, [deck]);\n\n const getLogo = () => {\n const pick = deck.deck_id % 7;\n const studyImg = require('../assets/study' + pick + '.png');\n return studyImg;\n };\n\n const handleDelete = async () => {\n const token = await AsyncStorage.getItem('token');\n fetch(Constants.expoConfig.extra.backend + `/deck/${deck.deck_id}`, {\n method: 'DELETE',\n headers: {\n 'Content-Type': 'application/json',\n 'Authorization': token\n },\n })\n .then(res => {\n setSuccess(\"Deleted\");\n setError(null);\n console.log(\"deleted\");\n reloadCallBack();\n })\n .catch(err => {\n setError(error);\n });\n };\n\n const fetchStatistics = async (deckId) => {\n const token = await AsyncStorage.getItem('token');\n fetch(Constants.expoConfig.extra.backend + `/statistics/${deckId}`, {\n method: 'GET',\n headers: {\n 'Authorization': token\n },\n })\n .then(response => {\n if (!response.ok) {\n throw new Error('Network response was not ok');\n }\n return response.json();\n })\n .then(data => {\n console.log(data);\n setStatistics({\n todo: parseInt(data.todos) || 0,\n correct: parseInt(data.done) || 0,\n unseen: parseInt(data.unseen) || 0\n });\n })\n\n .catch(error => {\n console.error(\"Error fetching statistics: \", error);\n });\n };\n\n return (\n \n {success && {success}}\n {error && {error}}\n \n \n navigateStudy(deck.deck_id, deck.deck_name)}>\n {deck.deck_name}\n \n \n navigateEdit(deck.deck_id)}>\n \n \n handleDelete()}>\n \n \n \n\n \n \n {statistics.correct}/{statistics.todo+statistics.correct+statistics.unseen}\n {statistics.unseen} New Cards\n \n \n );\n}\n\nexport default Deck;\n","import {StyleSheet} from \"react-native\";\n\nconst HomeStyle = StyleSheet.create({\n homeScreenSearchBox: {\n width: \"100%\",\n marginBottom: 10,\n marginTop: 20,\n },\n homeText: {\n marginTop: 20,\n left: 0,\n fontSize: 15,\n },\n navigationText: {\n fontFamily: 'Manrope-Bold',\n color: '#555e6c',\n fontSize: 15,\n },\n});\n\nexport default HomeStyle;","import React, { useState, useEffect } from 'react';\nimport { View, Text, StyleSheet, Pressable, FlatList, TouchableOpacity, ScrollView, TextInput} from 'react-native';\nimport AsyncStorage from '@react-native-async-storage/async-storage';\nimport Constants from \"expo-constants\";\nimport Deck from \"./Deck\";\nimport FontAwesome from 'react-native-vector-icons/FontAwesome';\nimport BaseStyle from \"../Styles/Base\"\nimport HomeStyle from \"../Styles/Home\"\n\nconst HomeScreen = ({ route, navigation }) => {\n const [data, setData] = useState([]);\n const [error, setError] = useState(null);\n const [success, setSuccess] = useState(null);\n const [isRefresh, setRefresh] = useState(null);\n const [search, setSearch] = useState([]);\n const styles = StyleSheet.flatten([BaseStyle, HomeStyle]);\n const { isMobile } = route.params;\n\n useEffect(() => {\n fetchData();\n }, [isRefresh]);\n\n const fetchData = async () => {\n const token = await AsyncStorage.getItem('token');\n fetch(Constants.expoConfig.extra.backend + '/deck', {\n method: 'GET',\n headers: {\n 'Authorization': token\n },\n })\n .then((response) => {\n response.json().then((returnString) => {\n console.log(returnString);\n setData(returnString);\n setError(null);\n })\n .catch((error) => {\n setError('Error reading data'); // Set the error message\n });\n })\n .catch((error) => {\n setError('Error fetching data'); // Set the error message\n });\n\n };\n\n return (\n \n\n \n {success && {success}}\n {error && {error}}\n }\n placeholder=\"Search\"\n value={search}\n onChangeText={setSearch}\n />\n navigation.navigate('Upload')}>\n New Deck\n \n Decks \n \n \n {data.filter((item, index) => search != null && item.deck_name.includes(search)).map((item, index) => {\n return navigation.navigate('CardEditScreen', { response: id })}\n navigateStudy={(id, name) => navigation.navigate('StudyScreen', { response: id, deckName: name })}\n reloadCallBack={() => setRefresh([])} />\n })}\n \n \n );\n};\n\nexport default HomeScreen;\n","import {StyleSheet} from \"react-native\";\n\nconst StatisticBarStyle = StyleSheet.create({\n\n statisticsContainer: {\n position: \"fixed\",\n bottom: 0,\n left:0,\n justifyContent: 'space-between',\n align: \"center\",\n padding: 5,\n paddingRight: 25,\n paddingLeft: 25,\n paddingBottom: 30,\n paddingTop: 30,\n backgroundColor: \"#1d2128\",\n fontSize: 30,\n borderRadius: 3,\n width: \"100%\",\n textAlign: \"center\",\n },\n statisticsContainerMobile: {\n position: \"fixed\",\n bottom: 60,\n justifyContent: 'space-between',\n align: \"center\",\n padding: 5,\n paddingRight: 25,\n paddingLeft: 25,\n paddingBottom: 30,\n paddingTop: 30,\n backgroundColor: \"#1d2128\",\n fontSize: 30,\n borderRadius: 3,\n width: \"100%\",\n textAlign: \"center\",\n },\n textStyleStatisticBox: {\n fontWeight: 'bold',\n color: 'white',\n fontSize: '50%',\n marginTop: '4%',\n },\n\n});\n\nexport default StatisticBarStyle;","import React, {useState, useEffect} from 'react';\nimport {View, Text} from 'react-native';\nimport AsyncStorage from '@react-native-async-storage/async-storage';\nimport Constants from \"expo-constants\";\nimport BaseStyle from \"../Styles/Base\"\nimport StatisticBarStyle from \"../Styles/StatisticBar\"\nimport {StyleSheet} from \"react-native\";\n\nconst StatisticBar = ({deckId, refresh, isMobile}) => {\n const [statistics, setStatistics] = useState({todo: 0, correct: 0, unseen: 0});\n const styles = StyleSheet.flatten([BaseStyle, StatisticBarStyle]);\n\n const fetchStatistics = async () => {\n const token = await AsyncStorage.getItem('token');\n fetch(Constants.expoConfig.extra.backend + `/statistics/${deckId}`, {\n method: 'GET',\n headers: {\n 'Authorization': token\n },\n })\n .then(response => {\n if (!response.ok) {\n throw new Error('Network response was not ok');\n }\n return response.json();\n })\n .then(data => {\n console.log(data);\n setStatistics({\n todo: data.todos || 0,\n correct: data.done || 0,\n unseen: data.unseen || 0\n });\n })\n\n .catch(error => {\n console.error(\"Error fetching statistics: \", error);\n });\n };\n\n useEffect(() => {\n fetchStatistics();\n }, [deckId, refresh]);\n\n return (\n \n \n {statistics.todo}\n ToDo\n \n \n {statistics.correct}\n Correct\n \n \n {statistics.unseen}\n Unseen\n \n \n );\n};\n\nexport default StatisticBar;\n","import {StyleSheet} from \"react-native\";\n\nconst StudyScreenStyle = StyleSheet.create({\n downFloatingButton: {\n marginTop: \"5%\",\n width: \"100%\",\n },\n\n cardButtonRow: {\n position: \"absolute\",\n bottom: 0,\n justifyContent: \"center\",\n align: \"center\",\n flexDirection: \"row\",\n flexWrap: 'wrap',\n },\n studyCard: {\n paddingTop: 10,\n marginTop: 15,\n marginHorizontal: 5,\n },\n bullet_list: {\n fontFamily: 'Manrope-Bold',\n color: 'white',\n fontSize: 20,\n },\n text: {\n marginTop: 20,\n fontFamily: 'Manrope-Bold',\n color: 'white',\n fontWeight: 'bold',\n textAlign: 'left',\n fontSize: 20,\n },\n\n buttonGrade: {\n flex: 1,\n width: 10,\n margin: 4,\n padding: 1,\n backgroundColor: '#1cd75b',\n fontSize: 5,\n borderRadius: \"150px\",\n paddingVertical: \"1%\",\n paddingHorizontal: \"1%\",\n\n },\n\n questionText: {\n justifyContent: \"center\",\n alignItems: 'center',\n },\n});\n\nexport default StudyScreenStyle;","import React, { useState, useEffect } from 'react';\nimport { View, Text, StyleSheet, Pressable, FlatList, TouchableOpacity, ScrollView } from 'react-native';\nimport AsyncStorage from '@react-native-async-storage/async-storage';\nimport Constants from \"expo-constants\";\nimport FontAwesome from 'react-native-vector-icons/FontAwesome';\nimport StatisticBar from \"./StatisticBar\";\nimport Breadcrumb from \"./Breadcrumb\";\nimport BaseStyle from \"../Styles/Base\"\nimport StudyScreenStyle from \"../Styles/StudyScreen\"\nimport Markdown from 'react-native-markdown-display';\n\n\nconst StudyScreen = ({ route, navigation }) => {\n const [data, setData] = useState([]);\n const [error, setError] = useState(null);\n const [success, setSuccess] = useState(null);\n const [isRefresh, setRefresh] = useState([]);\n const [isAnswer, setShowAnswer] = useState(false);\n const [currentCardIndex, setCurrentCardIndex] = useState(0);\n const [refreshStatistics, setRefreshStatistics] = useState(false);\n const deckId = route.params?.response\n const deckName = route.params?.deckName\n const styles = StyleSheet.flatten([BaseStyle, StudyScreenStyle]);\n const { isMobile } = route.params;\n\n useEffect(() => {\n fetchCards();\n }, [isRefresh]);\n\n\n\n const currentCard = () => {\n console.log(data);\n return data[currentCardIndex];\n };\n const nextCard = () => {\n if (currentCardIndex >= data.length - 1) {\n setRefresh([]);\n setCurrentCardIndex(0);\n } else {\n setCurrentCardIndex(currentCardIndex+1);\n }\n setShowAnswer(false);\n setError(null);\n setSuccess(null);\n };\n const fetchCards = async () => {\n const token = await AsyncStorage.getItem('token');\n fetch(Constants.expoConfig.extra.backend + '/review/' + deckId, {\n method: 'GET',\n headers: {\n 'Authorization': token\n },\n })\n .then((response) => {\n response.json().then((returnString) => {\n console.log(\"StudyPage\", returnString);\n setData(returnString);\n setError(null);\n })\n\n })\n .catch((error) => {\n setError('Error fetching data'); // Set the error message\n });\n }\n const handleGrade = async (grade) => {\n const token = await AsyncStorage.getItem('token');\n fetch(Constants.expoConfig.extra.backend + `/review/${currentCard()[\"card_id\"]}`, {\n method: 'PUT',\n headers: {\n 'Content-Type': 'application/json',\n 'Authorization': token\n },\n body: JSON.stringify({\n user_grade: grade,\n }),\n })\n .then(res => {\n nextCard();\n setRefreshStatistics(!refreshStatistics);\n })\n .catch(err => {\n setError(err);\n });\n };\n const showQuestion = () => (\n \n {data.length > 0 &&\n <>\n {currentCardIndex}/{data.length}\n {currentCard().question}\n \n {!isAnswer && setShowAnswer(true)}>\n Show Answer\n }\n \n >\n }\n {data.length <= 0 && Nothing to Learn :)}\n \n );\n\n const showAnswer = () => (\n \n {data.length > 0 &&\n {currentCard().answer.replaceAll(\".\", \".\\n\")}\n }\n \n handleGrade(0)}>\n Blackout\n \n\n handleGrade(1)}>\n Wrong\n \n handleGrade(2)}>\n Correct\n \n handleGrade(3)}>\n Good\n \n handleGrade(4)}>\n Easy\n \n handleGrade(5)}>\n Too Easy\n \n \n \n );\n\n\n return (\n \n {success && {success}}\n {error && {error}}\n \n \n {showQuestion()}\n {isAnswer && showAnswer()}\n \n \n \n );\n};\n\nexport default StudyScreen;\n","import {StyleSheet} from \"react-native\";\n\nconst SidebarStyle = StyleSheet.create({\n sidebarContainer: {\n backgroundColor: '#1d2128', // Adjust the background color as needed\n paddingTop: 20, // Adjust the top padding as needed\n minWidth: '15%',\n },\n sidebarItem: {\n paddingVertical: 10,\n borderColor: '#ddd',\n\n },\n sidebarWelcomeText: {\n fontFamily: 'Manrope-Bold',\n paddingBottom: \"15px\",\n fontSize: 15,\n fontWeight: \"bold\",\n color: 'white',\n },\n welcome: {\n alignItems: 'center',\n marginBottom: 10,\n width: \"100%\",\n },\n logo: {\n width: \"100%\",\n height: 50,\n marginLeft: 10,\n resizeMode: 'contain',\n },\n navigationText: {\n fontFamily: 'Manrope-Bold',\n color: '#555e6c',\n fontSize: 15,\n },\n itemContainer: {\n paddingHorizontal: 10,\n },\n profileImg: {\n width: 30,\n height: 30,\n borderRadius: 75,\n paddingBottom: 10,\n },\n});\n\nexport default SidebarStyle;","import React from 'react';\nimport { View, Text, TouchableOpacity, StyleSheet, Image } from 'react-native';\nimport FontAwesome from 'react-native-vector-icons/FontAwesome';\nconst logoImage = require('../assets/Logoneu_Farbig.png');\nconst profileImg = require('../assets/profile.png');\nimport BaseStyle from \"../Styles/Base\"\nimport SidebarStyle from \"../Styles/Sidebar\"\n\nconst Sidebar = ({navigation, logout }) => {\n const navigateToScreen = (screenName) => {\n navigation.navigate(screenName);\n };\nconst styles = StyleSheet.flatten([BaseStyle, SidebarStyle]);\n\n\n\n return (\n \n \n \n Welcome \n \n \n \n navigateToScreen('Home')}\n >\n Home\n \n\n navigateToScreen('Upload')}\n >\n Upload\n \n\n logout()}\n >\n Logout\n \n \n \n );\n};\n\n\n\nexport default Sidebar;","import React, { useState, useEffect } from 'react';\nimport { Button, Text, View, Image, StyleSheet, TouchableOpacity } from 'react-native';\nimport UploadScreen from './Components/UploadScreen';\nimport { NavigationContainer, DefaultTheme, createNavigationContainerRef } from '@react-navigation/native';\nimport { createStackNavigator } from '@react-navigation/stack';\nimport { SafeAreaProvider } from 'react-native-safe-area-context';\nimport AsyncStorage from '@react-native-async-storage/async-storage';\nimport { IconButton } from 'react-native-paper';\nimport BaseStyle from './Styles/Base';\nimport MobileBarStyle from './Styles/MobileBar';\nimport ForgotPasswordScreen from './Components/ForgotPasswordScreen';\nimport ConfirmResetPasswordScreen from './Components/ConfirmResetPasswordScreen';\nimport RegisterScreen from './Components/RegisterScreen';\nimport LoginScreen from './Components/LoginScreen';\nimport CardEditScreen from './Components/CardEditScreen';\nimport HomeScreen from './Components/HomeScreen';\nimport StudyScreen from './Components/StudyScreen';\nimport Sidebar from './Components/Sidebar';\nimport AppLoading from 'expo-app-loading';\nimport FontAwesome from 'react-native-vector-icons/FontAwesome';\n\nimport * as Font from 'expo-font';\n\nconst styles = StyleSheet.flatten([BaseStyle, MobileBarStyle]);\nconst Stack = createStackNavigator();\nconst fetchFonts = () => {\n return Font.loadAsync({\n 'Manrope-Regular': require('./assets/fonts/Manrope-Regular.ttf'),\n 'Manrope-Bold': require('./assets/fonts/Manrope-Bold.ttf'),\n });\n};\nconst staticImage = require('./assets/Logoneu_Farbig.png');\n\nconst MyTheme = {\n ...DefaultTheme,\n colors: {\n ...DefaultTheme.colors,\n background: 'black'\n },\n};\n\nexport default function App() {\n const [fontLoaded, setFontLoaded] = useState(false);\n const [isLoggedIn, setIsLoggedIn] = useState(false);\n const [username, setUsername] = useState(null);\n const navigationRef = createNavigationContainerRef()\n const [width, setWidth] = useState(window.innerWidth);\n const isMobile = width <= 768;\n const profileImg = require('./assets/profile.png');\n\n function handleWindowSizeChange() {\n setWidth(window.innerWidth);\n }\n\n\n\n useEffect(() => {\n const checkToken = async () => {\n const token = await AsyncStorage.getItem('token');\n const uname = await AsyncStorage.getItem('username');\n if (token !== null) {\n setIsLoggedIn(true);\n setUsername(uname);\n }\n };\n\n window.addEventListener('resize', handleWindowSizeChange);\n\n checkToken();\n return () => {\n window.removeEventListener('resize', handleWindowSizeChange);\n }\n }, []);\n\n const handleLogout = async () => {\n await AsyncStorage.removeItem('token');\n setIsLoggedIn(false);\n };\n\n const topMobileBar = () => (\n \n \n Hello {username}\n \n\n \n );\n const botMobileBar = (navigationRef) => (\n \n navigation.navigate(\"Home\")}>\n \n Home\n \n navigation.navigate(\"Upload\")}>\n \n Upload\n \n handleLogout()}>\n \n Logout\n \n \n );\n\n const logo = () => (\n \n \n \n );\n\n const logOutButton = () => (\n \n \n \n );\n\n\n\n return (\n \n {isLoggedIn && isMobile && topMobileBar()}\n\n \n {!fontLoaded ? ( setFontLoaded(true)}\n onError={console.warn}\n />): (<>>)}\n\n {isLoggedIn && !isMobile && }\n \n \n {isLoggedIn ? (\n <>\n \n \n \n \n >\n ) : (\n <>\n \n {(props) => (\n \n )}\n \n \n \n \n >\n )}\n \n \n \n {isLoggedIn && isMobile && botMobileBar(navigationRef)}\n \n );\n}\n\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t179: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkweb\"] = self[\"webpackChunkweb\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [134], () => (__webpack_require__(9386)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["map","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","Object","resolve","module","exports","Dimensions","height","StyleSheet","blackBackground","backgroundColor","input","borderWidth","borderColor","padding","color","marginBottom","width","button","alignItems","justifyContent","paddingVertical","paddingHorizontal","iconButton","borderRadius","marginRight","flex","icon","fontSize","lineHeight","fontWeight","letterSpacing","buttonText","textAlign","container","flexDirection","flexWrap","marginLeft","containerDesktop","listItem","paddingRight","paddingLeft","paddingBottom","paddingTop","minWidth","headerbar","elevation","shadowOpacity","fileNameText","margin","header","centeredView","marginTop","row","textStyle","fontFamily","scrollView","greenText","errorText","successText","centeredLogo","position","top","alignSelf","navigationcontainer","active","buttonClose","botBar","bottom","mobileNavigationText","mobSideBarButton","uploadText","breadcrumbText","left","navigationText","styles","BaseStyle","BreadcrumbStyle","_ref","navigation","headerText","_jsx","Pressable","onPress","goBack","children","_jsxs","Text","style","FontAwesome","name","size","View","pleasewaitcontainer","align","pleasewaittext","pleasewaitimage","resizeMode","loadingImage","require","PleaseWaitStyle","Image","source","route","_useState","useState","_useState2","_slicedToArray","file","setFile","_useState3","_useState4","cardsPerDay","setCardsPerDay","_useState5","_useState6","setIsAlertVisible","_useState7","_useState8","deckName","setDeckName","_useState9","_useState10","error","setError","_useState11","_useState12","success","_useState13","_useState14","isProcessed","setProcessed","UploadScreenStyle","isMobile","params","pickDocument","_ref2","_asyncToGenerator","result","DocumentPicker","type","apply","arguments","uploadDocument","_ref3","generateCards","console","_ref4","token","AsyncStorage","formData","FormData","append","fetch","Constants","method","headers","body","then","response","json","returnString","log","navigate","deck_id","catch","Breadcrumb","ScrollView","scollView","_Fragment","TextInput","onChangeText","text","placeholder","Slider","value","onValueChange","maximumValue","minimumValue","step","trackStyle","thumbStyle","PleaseWait","topBar","logo","profileImg","right","username","setUsername","JSON","stringify","data","loginRegisterInput","placeholderTextColor","loginScreenBackground","loginFields","loginLogo","headerContainerLoginRegister","headerWelcomeLoginRegister","headerMessageLoginRegister","loginFieldText","buttonLoginRegister","buttonTextLogin","forgotPassword","textDecorationLine","signUp","forgotPasswordPressable","inputWrapper","inputIcon","transform","translateY","passwordToggleIcon","headerWelcome","headerMessage","confirmationCode","setConfirmationCode","newPassword1","setNewPassword1","newPassword2","setNewPassword2","LoginStyle","keyboardType","maxLength","secureTextEntry","confirmation_code","new_password1","new_password2","password","setPassword","email","setEmail","confirmPassword","setConfirmPassword","staticImage","userIcon","passwordIcon","mailIcon","password2","setIsLoggedIn","usernameInput","setUsernameInput","isPasswordVisible","setIsPasswordVisible","hideIcon","showIcon","handleLogin","onSubmitEditing","thirdPartyLogin","outlineCard","shadowColor","shadowRadius","outlineCardEdit","cardDropDown","cardDeckButtonRow","card","reloadCallBack","deckId","isShown","setShown","isEditing","setEditing","question","setQuestion","answer","setAnswer","setSuccess","CardStyle","handleSave","card_id","res","err","handleDelete","cardButtonRow","_route$params","setData","isAlertVisible","isRefresh","setRefresh","CardEditScreenStyle","useEffect","fetchCards","newCard","buttonIcon","item","index","Card","Date","now","deckLogo","deckText","statisticsText","deckCardStatistics","deckrow","deck","navigateEdit","navigateStudy","todo","correct","unseen","statistics","setStatistics","DeckStyle","fetchStatistics","ok","parseInt","todos","done","_x","pick","getLogo","TouchableOpacity","deck_name","onPressIn","homeScreenSearchBox","homeText","search","setSearch","HomeStyle","fetchData","contentContainerStyle","flexGrow","vertical","filter","includes","Deck","statisticsContainer","statisticsContainerMobile","textStyleStatisticBox","refresh","StatisticBarStyle","downFloatingButton","studyCard","marginHorizontal","bullet_list","buttonGrade","questionText","_route$params2","isAnswer","setShowAnswer","currentCardIndex","setCurrentCardIndex","refreshStatistics","setRefreshStatistics","StudyScreenStyle","currentCard","handleGrade","grade","user_grade","length","Markdown","replaceAll","StatisticBar","sidebarContainer","sidebarItem","sidebarWelcomeText","welcome","itemContainer","logoImage","logout","navigateToScreen","screenName","SidebarStyle","MobileBarStyle","Stack","createStackNavigator","fetchFonts","Font","loadAsync","MyTheme","_objectSpread","DefaultTheme","colors","background","App","fontLoaded","setFontLoaded","isLoggedIn","navigationRef","createNavigationContainerRef","window","innerWidth","setWidth","handleWindowSizeChange","checkToken","uname","addEventListener","removeEventListener","handleLogout","logOutButton","IconButton","SafeAreaProvider","AppLoading","startAsync","onFinish","onError","warn","Sidebar","NavigationContainer","ref","theme","Navigator","initialRouteName","screenOptions","headerShown","Screen","component","HomeScreen","initialParams","options","headerRight","UploadScreen","CardEditScreen","StudyScreen","props","LoginScreen","RegisterScreen","ForgotPasswordScreen","title","ConfirmResetPasswordScreen","__webpack_module_cache__","moduleId","cachedModule","undefined","__webpack_modules__","call","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","every","key","splice","r","n","getter","__esModule","d","a","leafPrototypes","getProto","getPrototypeOf","obj","t","mode","this","ns","create","def","current","indexOf","getOwnPropertyNames","forEach","definition","defineProperty","enumerable","get","g","globalThis","Function","prop","prototype","hasOwnProperty","Symbol","toStringTag","p","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","bind","push","__webpack_exports__"],"sourceRoot":""}