{"version":3,"sources":["components/AlertBar.js","helpers/getNotes.js","helpers/downloadNotes.js","pages/LoadingPage.js","components/DeleteModal.js","helpers/deleteNotes.js","pages/NotesPage.js","config/s3Config.js","pages/ProgressPage.js","static/Calculus.jpg","static/SoftwareEng.jpg","static/CellTheory.jpg","static/ScuMentalHealthConnect.png","static/PrioritiesPm.png","static/ProductManagementGuide.png","static/MaddieLTestimonial.png","static/MadeleineCTestimonial.png","static/RobertDTestimonial.png","static/MichelleGTestimonial.png","static/LukePTestimonial.png","static/YufangGTestimonial.png","components/TestimonialsCarousel.js","pages/LandingPage.js","helpers/handleUpload.js","pages/HomePage.js","static/SlideNotesLogo.png","components/Navbar.js","components/LoginModal.js","components/PremiumModal.js","helpers/handleSubscribe.js","helpers/handleManageSubscribe.js","components/Footer.js","pages/TermsAndConditionsPage.js","pages/PrivacyPolicyPage.js","components/SurveyModal.js","App.js","reportWebVitals.js","index.js"],"names":["AlertBar","props","_jsx","Snackbar","open","alert","length","autoHideDuration","onClose","anchorOrigin","vertical","horizontal","children","Alert","severity","sx","width","alertText","getNotes","id","_setTitle","_setNotes","requestOptions","method","headers","body","JSON","stringify","fetch","then","response","ok","json","Error","data","split","catch","err","console","log","message","downloadNotes","title","text","byteString","window","atob","ab","ArrayBuffer","ia","Uint8Array","i","charCodeAt","blob","Blob","type","url","URL","createObjectURL","link","document","createElement","href","setAttribute","appendChild","click","parentNode","removeChild","LoadingPage","Grid","item","xs","display","flexGrow","flexDirection","alignItems","alignContent","justifyContent","height","CircularProgress","color","RemoveModal","loading","setLoading","React","useState","Modal","Box","outline","minHeight","sm","md","lg","bgcolor","py","px","boxShadow","border","position","_jsxs","_Fragment","Button","onClick","size","top","right","CloseIcon","Typography","variant","fontFamily","fontSize","textAlign","onRemove","mt","deleteNotes","location","NotesPage","setTitle","notes","setNotes","removeModalOpen","setRemoveModalOpen","useEffect","useCallback","createAlert","container","spacing","flexWrap","p","ArrowBackIcon","noWrap","pt","overflowY","whiteSpace","RWebShare","sites","onDownload","s3Config","bucketName","process","region","accessKeyId","secretAccessKey","ProgressPage","status","setStatus","progress","setProgress","checkRequestStatus","interval","setInterval","includes","clearInterval","setTimeout","sendRequest","key","s3key","sessionToken","localStorage","getItem","startsWith","uploadFile","file","error","LinearProgress","value","TestimonialsCarousel","Carousel","plugins","resolve","slidesToShowPlugin","options","numberOfSlides","breakpoints","component","src","MaddieLTestimonial","MadeleineCTestimonial","RobertDTestimonial","MichelleGTestimonial","LukePTestimonial","YufangGTestimonial","faqs","rows","content","LandingPage","columns","textTransform","handleGetStarted","fontWeight","target","style","borderRadius","background","padding","backgroundColor","flex","minWidth","Calculus","SoftwareEng","CellTheory","pr","ScuMentalHealthConnect","PrioritiesPM","ProductManagementGuide","pb","mx","Container","disableGutters","Faq","styles","bgColor","titleStyle","handleUpload","e","premium","_wrongType","_tooLarge","_handleUpload","files","HomePage","idToRemove","setIdToRemove","fileInput","useRef","wrongType","tooLarge","openSurveyModalIfNotSeen","openSurveyModal","setItem","sortedNotes","sort","a","b","Divider","map","note","index","fullWidth","Date","toLocaleString","align","fontStyle","current","mb","ref","hidden","accept","onChange","progressPage","Navbar","drawerOpen","setDrawerOpen","zIndex","AppBar","Toolbar","pl","logo","alt","loggedIn","onTestimonials","onFaq","subscribed","onLifetimeSubscribe","onManageSubscribe","onSubscribe","logout","login","IconButton","MenuIcon","LoginModal","step","setStep","otp","setOtp","methodId","setMethodId","newCodeBtn","setNewCodeBtn","setAlert","setAlertText","phone","setPhone","onPhoneSubmit","_ref","match","phoneNumber","onOtpSubmit","method_id","onLogin","onKeyDown","PhoneInput","country","onlyCountries","specialLabel","inputStyle","countryCodeEditable","columnSpacing","rowSpacing","OtpInput","numInputs","inputType","renderInput","containerStyle","PremiumModal","upgrade","setUpgrade","pricingType","direction","CheckIcon","DoneAllIcon","bottom","left","transform","handleSubscribe","_callback","returnUrl","handleManageSubscribe","Footer","marginTop","mr","focus","InstagramIcon","LinkedinIcon","onTermsAndConditions","onPrivacyPolicy","TermsAndConditionsPage","PrivacyPolicyPage","SurveyModal","App","termsAndConditionsPath","privacyPolicyPath","page","setPage","loginModalOpen","setLoginModalOpen","premiumModalOpen","setPremiumModalOpen","surveyModalOpen","setSurveyModalOpen","setPremium","setSubscribed","setLoggedIn","anchor","setAnchor","openSurvey","landingPage","homePage","notesPage","clear","foundToken","queryParams","URLSearchParams","search","history","replaceState","paymentSuccess","get","oneTime","retries","getUser","yearThreeThousand","path","pathname","uuidRegex","possibleId","slice","replacePathWithoutUpdating","newPath","state","as","onLandingPage","scroll","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","theme","createTheme","palette","mode","default","primary","main","secondary","typography","values","ml","xl","ReactDOM","createRoot","getElementById","render","ThemeProvider","CssBaseline"],"mappings":"2RAsBeA,MAnBf,SAAkBC,GAChB,OACEC,cAACC,IAAQ,CACPC,KAAMH,EAAMI,MAAMC,OAAS,EAC3BC,iBAAkB,IAClBC,QAASP,EAAMO,QACfC,aAAc,CAAEC,SAAU,MAAOC,WAAY,UAAWC,SAExDV,cAACW,IAAK,CACJL,QAASP,EAAMO,QACfM,SAAUb,EAAMI,MAAMC,OAAS,EAAIL,EAAMI,MAAQ,QACjDU,GAAI,CAAEC,MAAO,QAASJ,SAErBX,EAAMgB,aAIf,E,mCCIeC,MAxBEA,CAACC,EAAIC,EAAWC,KAC7B,MAEMC,EAAiB,CACrBC,OAAQ,OACRC,QAAS,CAAE,eAAgB,oBAC3BC,KAAMC,KAAKC,UAAU,CAAER,GAAIA,KAE7BS,MANE,wEAMSN,GACRO,MAAMC,IACL,GAAIA,EAASC,GACX,OAAOD,EAASE,OAElB,MAAM,IAAIC,MAAM,QAAQ,IAEzBJ,MAAMK,IACLd,EAAUc,EAAY,MAAEC,MAAM,KAAK,IACnCd,EAAUa,EAAiB,WAAE,IAE9BE,OAAOC,IACNC,QAAQC,IAAIF,EAAIG,QAAQ,GACxB,ECgBOC,MArCOA,CAACtB,EAAIuB,KACzB,MACMpB,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uU,OAAO,EAAE,IAmDZ/C,gBAAiBA,KA/CrB0C,EAA2BpC,GAC3BE,EAAQ3U,cAACqU,GAAiB,UAC1B1R,OAAOuU,OAAO,EAAE,QAiDpB,EClQeC,OAZSC,IAClBA,GAAeA,aAAuBC,UACxC,8BAAqB1V,MAAK+P,IAAkD,IAAjD,OAAE4F,EAAM,OAAEC,EAAM,OAAEC,EAAM,OAAEC,EAAM,QAAEC,GAAShG,EACpE4F,EAAOF,GACPG,EAAOH,GACPI,EAAOJ,GACPK,EAAOL,GACPM,EAAQN,EAAY,GAExB,E,6BCDF,MAAMO,GAAQC,aAAY,CACxBC,QAAS,CACPC,KAAM,QACN/L,WAAY,CACVgM,QAAS,WAEXC,QAAS,CACPC,KAAM,WAERC,UAAW,CACTD,KAAM,YAGVE,WAAY,CACVxR,WAAY,WAEdgE,YAAa,CACXyN,OAAQ,CACN/T,GAAI,EACJmB,GAAI,IACJC,GAAI,IACJ4S,GAAI,IACJ3S,GAAI,KACJ4S,GAAI,SAKGC,IAASC,WAAW9U,SAAS+U,eAAe,SACpDC,OACHzS,eAAC0S,KAAa,CAAChB,MAAOA,GAAMjX,SAAA,CAC1BV,cAAC4Y,KAAW,IACZ5Y,cAACuU,GAAG,QAOR4C,I","file":"static/js/main.52f0b83f.chunk.js","sourcesContent":["import React from \"react\";\nimport { Snackbar, Alert } from \"@mui/material\";\n\nfunction AlertBar(props) {\n return (\n 0}\n autoHideDuration={5000}\n onClose={props.onClose}\n anchorOrigin={{ vertical: \"top\", horizontal: \"center\" }}\n >\n 0 ? props.alert : \"error\"}\n sx={{ width: \"100%\" }}\n >\n {props.alertText}\n \n \n );\n}\n\nexport default AlertBar;\n","const getNotes = (id, _setTitle, _setNotes) => {\n const url =\n \"https://kodexs1t24.execute-api.us-west-2.amazonaws.com/Stage/getNotes\";\n const requestOptions = {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({ id: id }),\n };\n fetch(url, requestOptions)\n .then((response) => {\n if (response.ok) {\n return response.json();\n }\n throw new Error(\"Error\");\n })\n .then((data) => {\n _setTitle(data[\"s3key\"].split(\".\")[0])\n _setNotes(data[\"notes_text\"])\n })\n .catch((err) => {\n console.log(err.message);\n });\n}\n\nexport default getNotes","const downloadNotes = (id, title) => {\n const url = \"https://kodexs1t24.execute-api.us-west-2.amazonaws.com/Stage/downloadNotes\"\n const requestOptions = {\n method: 'POST',\n headers: { 'Content-Type': 'application/json' },\n body: JSON.stringify({id: id})\n }\n fetch(url, requestOptions)\n .then((response) => response.text())\n .then((data) => {\n var byteString = window.atob(data);\n\n var ab = new ArrayBuffer(byteString.length);\n var ia = new Uint8Array(ab);\n for (var i = 0; i < byteString.length; i++) {\n ia[i] = byteString.charCodeAt(i);\n }\n\n var blob = new Blob([ia], { type: \"application/pdf\" });\n const url = window.URL.createObjectURL(\n blob,\n );\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute(\n 'download',\n title + '.pdf',\n );\n document.body.appendChild(link); \n link.click();\n link.parentNode.removeChild(link);\n })\n .catch((err) => {\n console.log(err.message)\n })\n}\n\nexport default downloadNotes\n","import { Grid, CircularProgress } from '@mui/material'\n\nfunction LoadingPage() {\n return (\n \n )\n}\n\nexport default LoadingPage","import React from \"react\";\nimport {\n Modal,\n Box,\n Typography,\n Button,\n CircularProgress,\n} from \"@mui/material\";\nimport CloseIcon from \"@mui/icons-material/Close\";\n \nfunction RemoveModal(props) {\n const [loading, setLoading] = React.useState(false);\n\n const onRemove = () => {\n setLoading(true);\n props.onRemove();\n }\n\n const onClose = () => {\n props.onClose();\n }\n\n return (\n onClose()}\n sx={{ display: \"flex\", alignItems: \"center\", justifyContent: \"center\" }}\n >\n \n { loading ? : \n <>\n onClose()}\n size=\"small\"\n sx={{ position: \"absolute\", top: \"0\", right: \"-15px\" }}\n >\n \n \n \n \n Are you sure you want to delete this note?\n \n \n \n \n }\n \n \n );\n}\n\nexport default RemoveModal;\n","const deleteNotes = (id) => {\n const url =\n \"https://kodexs1t24.execute-api.us-west-2.amazonaws.com/Stage/deleteNotes\";\n const requestOptions = {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({ id: id }),\n };\n fetch(url, requestOptions)\n .then((response) => {\n if (response.ok) {\n window.location.href = \"/\"\n return;\n }\n throw new Error(\"Unable to remove notes\");\n })\n .catch((err) => {\n console.log(err.message);\n });\n}\n\nexport default deleteNotes","import React from \"react\";\nimport { Box, Typography, Grid, Button } from \"@mui/material\";\nimport { RWebShare } from \"react-web-share\";\nimport getNotes from \"../helpers/getNotes.js\";\nimport downloadNotes from \"../helpers/downloadNotes.js\";\nimport LoadingPage from \"./LoadingPage.js\";\nimport ArrowBackIcon from '@mui/icons-material/ArrowBack';\nimport RemoveModal from \"../components/DeleteModal.js\";\nimport deleteNotes from \"../helpers/deleteNotes.js\";\nimport SurveyCard from \"../components/SurveyCard.js\";\n\nfunction NotesPage(props) {\n const exampleNoteIds = [\"c951f8dc-107f-4266-bea6-11116ed04d20\",\"69110e4e-d113-4ca7-a182-ed1d44c14fbc\",\"cd737f4c-7235-4590-a824-0c4d88b44814\"]\n\n const [title, setTitle] = React.useState(\"\");\n const [notes, setNotes] = React.useState(\"\");\n const [removeModalOpen, setRemoveModalOpen] = React.useState(false);\n\n React.useEffect(() => {\n getNotes(props.id, setTitle, setNotes);\n }, [props.id]);\n\n const onDownload = () => {\n downloadNotes(props.id, notes);\n }\n\n const onRemove = React.useCallback(() => {\n try {\n deleteNotes(props.id);\n } catch (err) {\n props.createAlert(\"error\", err.message);\n }\n }, [props])\n\n const closeRemoveModal = () => {\n setRemoveModalOpen(false)\n }\n\n return (\n <>\n closeRemoveModal()} onRemove={() => onRemove()}/>\n {title.length > 0 ? (\n \n \n (window.location.href = \"/\")}\n >\n \n \n \n \n \n {title}\n \n \n {notes}\n \n \n \n \n \n \n Share\n \n \n \n Download\n \n {/* setRemoveModalOpen(true)}\n >\n Delete\n */}\n {/* For Survey\n !exampleNoteIds.includes(props.id) && props.openSurvey()}\n />\n */}\n \n \n \n ) : (\n \n )}\n \n );\n}\n\nexport default NotesPage;\n","const s3Config = {\n bucketName: process.env.REACT_APP_PPTX_S3_NAME,\n region: process.env.REACT_APP_PPTX_S3_REGION,\n accessKeyId: process.env.REACT_APP_PPTX_S3_ACCESS_KEY_ID,\n secretAccessKey: process.env.REACT_APP_PPTX_S3_SECRET_ACCESS_KEY,\n}\n\nexport default s3Config\n","import React from \"react\";\nimport { Box, Typography, LinearProgress } from \"@mui/material\";\nimport { uploadFile } from \"react-s3\";\nimport s3Config from \"../config/s3Config.js\";\n\nfunction ProgressPage(props) {\n const [status, setStatus] = React.useState(\"\");\n const [progress, setProgress] = React.useState(0);\n\n const checkRequestStatus = React.useCallback(\n (id) => {\n const interval = setInterval(() => {\n const url =\n \"https://kodexs1t24.execute-api.us-west-2.amazonaws.com/Stage/checkRequestStatus\";\n const requestOptions = {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({ id: id }),\n };\n fetch(url, requestOptions)\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n const status = data[\"status\"];\n if (status.includes(\"Failed\")) {\n throw new Error(status);\n }\n setStatus(status);\n if (data[\"status\"] === \"Finished\") {\n clearInterval(interval);\n setTimeout(() => {\n window.location = \"/\" + id\n }, 1000);\n }\n })\n .catch((err) => {\n props.createAlert(\"error\", err.message);\n clearInterval(interval);\n });\n }, 1000);\n },\n [props]\n );\n\n const sendRequest = React.useCallback(\n (key) => {\n setStatus(\"Sending Request\");\n const url =\n \"https://kodexs1t24.execute-api.us-west-2.amazonaws.com/Stage/submitRequest\";\n const requestOptions = {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({ s3key: key, sessionToken: localStorage.getItem(\"sessionToken\") }),\n };\n fetch(url, requestOptions)\n .then((response) => response.json())\n .then((data) => {\n if (\"warning\" in data) {\n props.createAlert(\"warning\", data[\"warning\"]);\n } else if (\"error\" in data) {\n throw new Error(data[\"error\"]);\n }\n checkRequestStatus(data[\"id\"]);\n })\n .catch((err) => {\n console.log(err.message);\n if (err.message.startsWith(\"No free notes\")) {\n props.createAlert(\"error\", err.message);\n } else {\n props.createAlert(\"error\", \"Sending Request Failed, Try Again.\");\n }\n });\n },\n [props, checkRequestStatus]\n );\n\n React.useEffect(() => {\n if (status === \"\") {\n setStatus(\"Uploading\");\n uploadFile(props.file, s3Config)\n .then((data) => sendRequest(data[\"key\"]))\n .catch((err) => {\n console.error(err);\n props.createAlert(\"error\", \"Uploading Failed, Try Again.\");\n });\n }\n // eslint-disable-next-line no-use-before-define\n }, [props, status, sendRequest]);\n\n React.useEffect(() => {\n switch (status) {\n case \"Uploading\":\n setProgress(0);\n break;\n case \"Sending Request\":\n setProgress(25);\n break;\n case \"Converting To Text\":\n setProgress(50);\n break;\n case \"Creating Notes\":\n setProgress(75);\n break;\n case \"Finished\":\n setProgress(100);\n break;\n default:\n setProgress(0);\n }\n }, [status, setProgress]);\n\n return (\n \n {status}\n \n \n \n \n );\n}\n\nexport default ProgressPage;\n","export default __webpack_public_path__ + \"static/media/Calculus.17187f57.jpg\";","export default __webpack_public_path__ + \"static/media/SoftwareEng.b867d7a5.jpg\";","export default __webpack_public_path__ + \"static/media/CellTheory.613f335b.jpg\";","export default __webpack_public_path__ + \"static/media/ScuMentalHealthConnect.5c59a9d7.png\";","export default __webpack_public_path__ + \"static/media/PrioritiesPm.0d9588a7.png\";","export default __webpack_public_path__ + \"static/media/ProductManagementGuide.6e2bd162.png\";","export default __webpack_public_path__ + \"static/media/MaddieLTestimonial.7c0bb080.png\";","export default __webpack_public_path__ + \"static/media/MadeleineCTestimonial.3541a862.png\";","export default __webpack_public_path__ + \"static/media/RobertDTestimonial.bd6673ef.png\";","export default __webpack_public_path__ + \"static/media/MichelleGTestimonial.7ec01c02.png\";","export default __webpack_public_path__ + \"static/media/LukePTestimonial.7d3cb1f6.png\";","export default __webpack_public_path__ + \"static/media/YufangGTestimonial.4ed6e15d.png\";","import React from 'react';\nimport { Box } from '@mui/material';\nimport Carousel, {slidesToShowPlugin} from '@brainhubeu/react-carousel';\nimport '@brainhubeu/react-carousel/lib/style.css';\nimport './TestimonialsCarousel.css';\nimport MaddieLTestimonial from '../static/MaddieLTestimonial.png';\nimport MadeleineCTestimonial from '../static/MadeleineCTestimonial.png';\nimport RobertDTestimonial from '../static/RobertDTestimonial.png';\nimport MichelleGTestimonial from '../static/MichelleGTestimonial.png';\nimport LukePTestimonial from '../static/LukePTestimonial.png';\nimport YufangGTestimonial from '../static/YufangGTestimonial.png';\n\nconst TestimonialsCarousel = () => (\n \n \n \n \n \n \n \n \n);\n\nexport default TestimonialsCarousel;","import React from \"react\";\nimport { Typography, Box, Grid, Button, Container } from \"@mui/material\";\nimport Calculus from \"../static/Calculus.jpg\";\nimport SoftwareEng from \"../static/SoftwareEng.jpg\";\nimport CellTheory from \"../static/CellTheory.jpg\";\nimport ScuMentalHealthConnect from \"../static/ScuMentalHealthConnect.png\";\nimport PrioritiesPM from \"../static/PrioritiesPm.png\";\nimport ProductManagementGuide from \"../static/ProductManagementGuide.png\";\nimport Faq from \"react-faq-component\";\nimport TestimonialsCarousel from \"../components/TestimonialsCarousel\";\n\nconst faqs = {\n rows: [\n {\n title: \"What is SlideNotes?\",\n content: \"SlideNotes is a tool that effortlessly converts presentations and PDFs into notes automatically.\"\n },\n {\n title: \"How does SlideNotes convert slides/pdfs into notes?\",\n content: \"SlideNotes converts slides into notes by identifying key words and phrases in the uploaded slides/documents and summarizes them into comprehensive bulleted notes.\"\n },\n {\n title: \"What file formats are supported by SlideNotes?\",\n content: \"SlideNotes supports PowerPoint (.pptx) and PDF files. Please contact us if there are more file types you would like to see supported going forward.\"\n },\n {\n title: \"Which countries does SlideNotes support?\",\n content: \"We currently only support usage in the United States and Canada.\"\n },\n {\n title: \"Can I use SlideNotes if I am a student?\",\n content: \"Yes! SlideNotes was born in the heart of our dorm room, conceived as the solution to transform lengthy lecture slides into crisp, concise notes. We intimately understand the struggle of dedicating excessive time to note-taking, only to realize, right before the test, that there are no notes to review. SlideNotes emerged as our remedy to this common dilemma, designed to streamline the process of turning extensive slides into digestible nuggets of information, saving both time and study stress. Don’t believe us? Look at our testimonials!\"\n },\n {\n title: \"Is SlideNotes useful for business professionals?\",\n content: \"Absolutely! SlideNotes was crafted with the professional world in mind. Whether you're a business executive, project manager, or entrepreneur, SlideNotes simplifies the conversion of detailed presentations/PDFs into actionable notes. We get the challenges of time constraints and the need for effective communication in the business realm. SlideNotes is your ally, ensuring that crucial insights are condensed and accessible, transforming your meetings and presentations into streamlined and productive experiences. Don’t believe us? Look at our testimonials!\"\n }]\n}\n\nfunction LandingPage(props) {\n const commonFontStyle = {\n fontFamily: \"DM Sans, sans-serif\",\n };\n\n return (\n \n \n SlideNotes\n \n Transform presentations into readable notes with ease!\n \n \n Just upload any .pptx or .pdf file and obtain notes you can easily\n review and share.\n \n props.handleGetStarted()}\n sx={{ px: 4, py: 1, mt: 1, fontWeight: 900 }}\n >\n Try It\n \n \n\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n Work Smarter, Not Harder\n \n \n Making Studying a Breeze\n \n \n SlideNotes is your academic sidekick. Simplify your study routine by converting presentations into notes.

We're here to spark curiosity and make learning straightforward for every student, delivering a practical path to success.

Don’t believe us? See Luke’s testimonial:\n \n
\n \n \n\n \"SlideNotes has been a game-changer for my essay writing. It summarizes the main points of articles for me. This tool has saved me so much time and effort, allowing me to focus on crafting well-informed and impactful essays. I highly recommend SlideNotes to any student looking to streamline their research process and boost the quality of their writing!\"\n
\n
\n - Luke P, Santa Clara University\n \n
\n\n\n
\n
\n\n\n\n \n {\n Example Notes\n }\n \n\n\n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n 12 Dec 2023\n \n \n Mental Health Connect\n \n \n \n \n \n \n \n \n \n 20 Nov 2023\n \n \n Priorities: Making Things Happen (PM)\n \n \n \n \n \n \n \n \n \n 13 Nov 2023\n \n \n Product Management Guide (New Hire)\n \n \n \n \n \n \n Versatile Learning\n \n \n Crafting Success Across Essays, Exams, and Every Study Material\n \n \n Your tool for success in both academics and the workplace. Whether you're a student preparing for exams or a professional turning meeting slides into actionable notes, SlideNotes simplifies the process.\n
\n
\n Effortlessly distill information, save time, and boost your productivity. SlideNotes adapts to your needs, making learning and post-meeting tasks straightforward and effective.\n \n
\n
\n
\n\n \n \n Testimonials\n \n \n \n \n \n \n \n (window.location = \"mailto:contactus@slidenotes.dev ?subject=Leave%20A%20Testimonial%20for%20SlideNotes!\")}\n sx={{ px: 4, py: 1, mt: 1, fontWeight: 900 }}\n >\n Leave A Testimonial\n \n \n \n\n\n\n \n \n
\n FAQ\n
\n \n
\n
\n\n \n\n\n );\n}\n\nexport default LandingPage;\n","const handleUpload = (e, premium, _wrongType, _tooLarge, _handleUpload) => {\n if (!e.target.files) {\n _wrongType() \n return\n }\n const file = e.target.files[0];\n if (!premium && file.size > 5242880) {\n _tooLarge() \n return\n }\n _handleUpload(file)\n}\n\nexport default handleUpload","import React from \"react\";\nimport { Typography, Grid, Button, Box, Divider } from \"@mui/material\";\nimport LoadingPage from \"./LoadingPage\";\nimport handleUpload from \"../helpers/handleUpload\";\nimport RemoveModal from \"../components/DeleteModal\";\nimport deleteNotes from \"../helpers/deleteNotes.js\";\nimport SurveyCard from \"../components/SurveyCard.js\";\n\nfunction HomePage(props) {\n const [notes, setNotes] = React.useState(null);\n const [idToRemove, setIdToRemove] = React.useState(\"\");\n\n const onRemove = React.useCallback(() => {\n try {\n deleteNotes(idToRemove);\n } catch (err) {\n props.createAlert(\"error\", err.message);\n }\n }, [idToRemove, props])\n\n const closeRemoveModal = () => {\n setIdToRemove(\"\");\n }\n\n const fileInput = React.useRef();\n\n const wrongType = () =>\n props.createAlert(\"error\", \"Please upload a pdf or pptx file.\");\n const tooLarge = () =>\n props.createAlert(\"error\", \"The max size for free users is 5MB.\");\n\n const openSurveyModalIfNotSeen = React.useCallback(() => {\n const hasSeenSurvey = localStorage.getItem(\"hasSeenSurveyModal\");\n if (!hasSeenSurvey) {\n props.openSurveyModal();\n localStorage.setItem(\"hasSeenSurveyModal\", true);\n }\n }, [props]);\n\n React.useEffect(() => {\n const url =\n \"https://kodexs1t24.execute-api.us-west-2.amazonaws.com/Stage/getUserNotes\";\n const requestOptions = {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({\n sessionToken: localStorage.getItem(\"sessionToken\"),\n }),\n };\n fetch(url, requestOptions)\n .then((response) => {\n if (response.ok) {\n return response.json();\n }\n throw new Error(\"Error\");\n })\n .then((data) => {\n const sortedNotes = data[\"items\"].sort((a, b) => { return b[\"timeCreated\"] - a[\"timeCreated\"] })\n setNotes(sortedNotes);\n /* For Survey\n if (sortedNotes.length > 0) {\n openSurveyModalIfNotSeen();\n }\n */\n })\n .catch((err) => {\n console.log(err.message);\n });\n }, [props, openSurveyModalIfNotSeen]);\n\n return (\n <>\n {notes == null ? (\n \n ) : (\n <>\n 0} onClose={() => closeRemoveModal()} onRemove={() => onRemove()} />\n \n \n \n Your Notes\n \n \n {notes.map((note, index) => {\n console.log(note)\n return (\n \n (window.location = \"/\" + note[\"id\"])}\n fullWidth={true}\n sx={{ justifyContent: \"flex-start\" }}\n >\n \n \n {new Date(note[\"timeCreated\"] * 1000).toLocaleString(\"en-US\", {\"day\": \"numeric\", \"month\": \"short\", \"year\": \"numeric\"})}\n \n \n {note[\"s3key\"].split(\".\")[0]}\n \n \n \n setIdToRemove(note[\"id\"])}\n >\n Delete\n \n \n \n );\n })}\n \n \n \n\n fileInput.current.click()}\n sx={{ px: 4, py: 1, mb: \"20px\", mt: 1, fontWeight: 900, width: {xs: \"100%\", sm: \"auto\"} }}\n >\n New Note\n \n \n {/* For Survey\n notes.length > 0 && props.openSurvey()}\n />\n */}\n \n handleUpload(e, props.premium, wrongType, tooLarge, (file) =>\n props.progressPage(file)\n )\n }\n />\n \n \n \n )}\n \n );\n}\n\nexport default HomePage;\n","export default __webpack_public_path__ + \"static/media/SlideNotesLogo.893cf292.png\";","import React, { useState } from \"react\";\nimport { Box, Button, Toolbar, AppBar, IconButton, Divider } from \"@mui/material\";\nimport logo from \"../static/SlideNotesLogo.png\";\nimport MenuIcon from \"@mui/icons-material/Menu\"\n\nfunction Navbar(props) {\n\n const [drawerOpen, setDrawerOpen] = useState(false);\n\n return (\n \n \n \n \n \n \n \"SlideNotes\"\n \n \n {props.loggedIn == null ? (\n <>\n ) : !props.loggedIn ? (\n <>\n (window.location.href = \"/\")}\n sx={{ textTransform: \"none\", display: { xs: \"none\", sm: \"block\" } }}\n size=\"large\"\n >\n Home\n \n props.onTestimonials()}\n sx={{ textTransform: \"none\", display: { xs: \"none\", sm: \"block\" } }}\n size=\"large\"\n >\n Testimonials\n \n props.onFaq()}\n sx={{ textTransform: \"none\", display: { xs: \"none\", sm: \"block\" } }}\n size=\"large\"\n >\n FAQ\n \n \n ) : (\n <>\n (window.location.href = \"/\")}\n sx={{ textTransform: \"none\", display: { xs: \"none\", sm: \"block\" } }}\n size=\"large\"\n >\n My Notes\n \n \n )}\n (window.location = \"mailto:contactus@slidenotes.dev ?subject=Contact%20SlideNotes%20Team\")}\n sx={{ textTransform: \"none\", display: { xs: \"none\", sm: \"block\" } }}\n size=\"large\"\n >\n Contact Us\n \n \n \n {props.loggedIn == null ? (\n <>\n ) : !props.loggedIn ? (\n <>\n \n Login\n \n \n Sign up\n \n \n ) : (\n <>\n {(!props.premium || props.subscribed) && \n <>\n {props.premium && \n \n Get SlideNotes for Life\n \n }\n \n {props.premium ? \"Manage Subscription\" : \"Get Premium\"}\n \n \n }\n \n Logout\n \n \n )}\n \n \n setDrawerOpen(!drawerOpen)}>\n \n \n \n \n \n { drawerOpen &&\n \n \n \n {props.loggedIn == null ? (\n <>\n ) : !props.loggedIn ? (\n <>\n \n (window.location.href = \"/\")}\n sx={{ textTransform: \"none\" }}\n size=\"large\"\n >\n Home\n \n \n props.onTestimonials()}\n sx={{ textTransform: \"none\" }}\n size=\"large\"\n >\n Testimonials\n \n props.onFaq()}\n sx={{ textTransform: \"none\" }}\n size=\"large\"\n >\n FAQ\n \n \n \n Login\n \n \n Sign up\n \n \n \n ) : (\n <>\n \n (window.location.href = \"/\")}\n sx={{ textTransform: \"none\" }}\n size=\"large\"\n >\n My Notes\n \n \n \n {(!props.premium || props.subscribed) && \n <>\n {props.premium && \n \n Get SlideNotes for Life\n \n }\n \n {props.premium ? \"Manage Subscription\" : \"Get Premium\"}\n \n \n }\n \n Logout\n \n \n \n )}\n \n \n }\n \n );\n}\n\nexport default Navbar;\n","import React from \"react\";\nimport {\n Modal,\n Box,\n Grid,\n Typography,\n Button,\n CircularProgress,\n} from \"@mui/material\";\nimport PhoneInput from \"react-phone-input-2\";\nimport \"react-phone-input-2/lib/material.css\";\nimport OtpInput from \"react-otp-input\";\nimport CloseIcon from \"@mui/icons-material/Close\";\nimport AlertBar from \"./AlertBar\";\n\nfunction LoginModal(props) {\n const [step, setStep] = React.useState(\"phone\");\n const [otp, setOtp] = React.useState(\"\");\n const [methodId, setMethodId] = React.useState(\"\");\n const [newCodeBtn, setNewCodeBtn] = React.useState(false);\n const [alert, setAlert] = React.useState(\"\");\n const [alertText, setAlertText] = React.useState(\"\");\n const [phone, setPhone] = React.useState(\"\");\n\n const onPhoneSubmit = React.useCallback(() => {\n setStep(\"loading\");\n const phoneRegex = /^\\+1[1-9]\\d{9}$/;\n if ((\"+\" + phone)?.match(phoneRegex)) {\n const url =\n \"https://kodexs1t24.execute-api.us-west-2.amazonaws.com/Stage/sendPhoneCode\";\n const requestOptions = {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({ phoneNumber: \"+\" + phone }),\n };\n fetch(url, requestOptions)\n .then((response) => response.json())\n .then((data) => {\n setStep(\"otp\");\n setMethodId(data[\"method_id\"]);\n })\n .catch((err) => {\n setStep(\"phone\");\n setAlertText(\"Unknown error\");\n setAlert(\"error\");\n console.log(err.message);\n });\n } else {\n setStep(\"phone\");\n setAlertText(\"Enter a valid US phone number\");\n setAlert(\"error\");\n }\n }, [phone]);\n\n const onOtpSubmit = React.useCallback(() => {\n setStep(\"loading\");\n if (otp.length === 6) {\n const url =\n \"https://kodexs1t24.execute-api.us-west-2.amazonaws.com/Stage/checkPhoneCode\";\n const requestOptions = {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({\n phoneNumber: \"+\" + phone,\n otp: otp,\n method_id: methodId,\n }),\n };\n fetch(url, requestOptions)\n .then((response) => {\n setOtp(\"\");\n if (response.status === 404) {\n throw new Error(\"Incorrect code\");\n } else if (response.status === 401) {\n throw new Error(\"Timeout\");\n } else {\n return response.json();\n }\n })\n .then((data) => {\n props.onLogin(data[\"sessionToken\"]);\n props.onClose();\n setStep(\"phone\");\n })\n .catch((err) => {\n setStep(\"otp\");\n if (err.message === \"Incorrect code\") {\n setAlertText(\"Incorrect code. Please try again.\");\n } else if (err.message === \"Timeout\") {\n setAlertText(\n \"Code not submitted within two minutes. Please try again.\"\n );\n } else {\n setAlertText(\"Unknown error\");\n }\n setAlert(\"error\");\n console.log(err.message);\n });\n } else {\n setAlertText(\"Enter the six digit code sent to your phone number\");\n setAlert(\"error\");\n setStep(\"otp\");\n }\n }, [methodId, otp, phone, props]);\n\n React.useEffect(() => {\n if (step === \"otp\") {\n if (alert === \"error\") {\n setNewCodeBtn(true);\n } else if (!newCodeBtn) {\n setTimeout(() => setNewCodeBtn(true), 30000);\n }\n } else {\n setNewCodeBtn(false);\n }\n }, [step, alert, newCodeBtn]);\n\n return (\n \n \n \n \n \n setAlert(\"\")}\n alert={alert}\n alertText={alertText}\n />\n {step === \"phone\" && (\n <>\n {\n e.key === \"Enter\" && onPhoneSubmit();\n }}\n >\n \n \n \n You must be logged in to use SlideNotes\n \n \n Enter your phone number below for a one time code\n \n \n \n \n \n \n \n \n onPhoneSubmit()}\n variant=\"contained\"\n color=\"secondary\"\n sx={{ width: { xs: \"60%\", sm: \"60%\", md: \"40%\" } }}\n >\n Submit\n \n \n \n \n \n )}\n {step === \"otp\" && (\n <>\n {\n e.key === \"Enter\" && onOtpSubmit();\n }}\n >\n \n \n \n Enter your one time code below\n \n \n \n \n }\n containerStyle={{ width: \"auto\", height: \"auto\" }}\n />\n \n \n \n onOtpSubmit()}\n variant=\"contained\"\n color=\"secondary\"\n sx={{\n width: { xs: \"60%\", sm: newCodeBtn ? \"85%\" : \"60%\", md: newCodeBtn ? \"70%\" : \"40%\" },\n }}\n >\n Submit\n \n \n {newCodeBtn && (\n \n onPhoneSubmit()}\n variant=\"outlined\"\n color=\"secondary\"\n sx={{ width: { xs: \"60%\", sm: \"85%\", md: \"70%\" } }}\n >\n Send New Code\n \n \n )}\n \n \n \n )}\n {step === \"loading\" && (\n <>\n \n \n )}\n \n \n );\n}\n\nexport default LoginModal;\n","import React from \"react\";\nimport {\n Modal,\n Box,\n Grid,\n Typography,\n Button,\n CircularProgress,\n} from \"@mui/material\";\nimport CheckIcon from \"@mui/icons-material/Check\";\nimport DoneAllIcon from \"@mui/icons-material/DoneAll\";\nimport CloseIcon from \"@mui/icons-material/Close\";\n\nfunction PremiumModal(props) {\n const [loading, setLoading] = React.useState(false);\n const [upgrade, setUpgrade] = React.useState(false)\n\n const onSubscribe = (pricingType) => {\n setLoading(true);\n props.onSubscribe(pricingType);\n }\n\n const onUpgrade = () => {\n setUpgrade(true);\n };\n\n const onClose = () => {\n setUpgrade(false);\n props.onClose();\n }\n\n return (\n onClose()}\n sx={{ display: \"flex\", alignItems: \"center\", justifyContent: \"center\" }}\n >\n \n {loading ? (\n \n ) : upgrade ? (\n <>\n onClose()}\n size=\"small\"\n sx={{ position: \"absolute\", top: \"0\", right: \"-15px\" }}\n >\n \n \n \n \n \n Monthly\n \n \n \n $4.99\n \n \n per month\n \n \n \n \n \n \n \n \n Yearly\n \n \n \n $29.99\n \n \n per year\n \n \n \n \n \n \n \n \n Lifetime\n \n \n \n $49.99\n \n \n \n one time purchase\n \n \n \n \n \n \n \n \n \n ) : (\n <>\n onClose()}\n size=\"small\"\n sx={{ position: \"absolute\", top: \"0\", right: \"-15px\" }}\n >\n \n \n \n \n \n Free Plan\n \n \n \n \n \n \n Create Notes From Presentations\n \n \n \n \n \n \n \n Three Uploads Per Month\n \n \n \n \n \n Premium Plan\n \n \n \n \n \n \n Create Notes From Presentations\n \n \n \n \n \n \n \n Unlimited Uploads\n \n \n \n \n \n \n \n Higher Quality Notes\n \n \n \n \n \n \n \n Unlimited File Upload Size\n \n \n \n \n \n \n \n \n Enterprise Plan\n \n \n \n \n \n \n \n Create Notes From Presentations\n \n \n \n \n \n \n \n \n Unlimited Uploads\n \n \n \n \n \n \n \n Higher Quality Notes\n \n \n \n \n \n \n \n Unlimited File Upload Size\n \n \n \n \n \n \n \n Shared Note Repository Across Teams\n \n \n \n \n \n \n \n \n )}\n \n \n );\n}\n\nexport default PremiumModal;\n","const handleSubscribe = (pricingType, _callback) => {\n const url =\n \"https://kodexs1t24.execute-api.us-west-2.amazonaws.com/Stage/createStripeCheckoutSession\";\n const requestOptions = {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({\n sessionToken: localStorage.getItem(\"sessionToken\"),\n pricingType: pricingType,\n returnUrl: window.location.href,\n }),\n };\n fetch(url, requestOptions)\n .then((response) => {\n if (response.ok) {\n return response.json();\n }\n throw new Error(\"Error\");\n })\n .then((data) => {\n window.location.href = data[\"url\"];\n _callback();\n })\n .catch((err) => {\n console.log(err.message);\n });\n};\n\nexport default handleSubscribe;\n","const handleManageSubscribe = () => {\n const url =\n \"https://kodexs1t24.execute-api.us-west-2.amazonaws.com/Stage/createStripePortalSession\";\n const requestOptions = {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({\n sessionToken: localStorage.getItem(\"sessionToken\"),\n returnUrl: window.location.href,\n }),\n };\n fetch(url, requestOptions)\n .then((response) => {\n if (response.ok) {\n return response.json();\n }\n throw new Error(\"Error\");\n })\n .then((data) => {\n window.location.href = data[\"url\"];\n })\n .catch((err) => {\n console.log(err.message);\n });\n};\n\nexport default handleManageSubscribe;\n","import React from 'react';\nimport { Box, Grid, Button, Typography } from '@mui/material';\nimport InstagramIcon from '@mui/icons-material/Instagram';\nimport LinkedinIcon from '@mui/icons-material/LinkedIn';\n\nconst Footer = (props) => (\n \n \n \n window.open(\"https://www.instagram.com/slidenotes.dev/\", \"_blank\" ).focus()}\n >\n \n \n window.open(\"https://www.linkedin.com/company/slidenotes\", \"_blank\" ).focus()} \n >\n \n \n \n\n \n \n © 2025 SlideNotes
All Rights Reserved\n
\n
\n\n \n props.onTermsAndConditions()}\n >\n Terms and Conditions\n \n props.onPrivacyPolicy()}\n >\n Privacy Policy\n \n \n
\n \n);\n\nexport default Footer;","import React from 'react'\nimport { Container, Typography } from '@mui/material'\n\nfunction TermsAndConditionsPage() {\n return (\n \n Terms and Conditions of Service for SlideNotes\n Effective Date: 1/1/2024\n 1. Acceptance of Terms\n By accessing this website, you agree to be bound by these Terms and Conditions of Use, all applicable laws and regulations, and acknowledge your responsibility for compliance with any applicable local laws. If you do not agree with any of these terms, you are prohibited from using or accessing this site.\n 2. User Accounts\n To use specific features of the service, users may need to create an account. Users are responsible for maintaining the confidentiality of their account information and must provide accurate and complete information when creating an account.\n 3. Intellectual Property\n The content on SlideNotes, including text, graphics, logos, and images, constitutes the intellectual property of SlideNotes and is protected by copyright laws.\n 4. Prohibited Conduct\n Users agree not to:
Violate any applicable laws or regulations.
Upload any content that is infringing, defamatory, or violates the rights of others.
Use the service for any illegal or unauthorized purpose.
Attempt to gain unauthorized access to SlideNotes' systems or networks.
Attempt to decompile or reverse engineer any software contained on SlideNotes' website.
Use SlideNotes in a manner that exceeds the scope of the purchased services.
This license shall automatically terminate if you violate any of these restrictions and may be terminated by SlideNotes at any time. Upon termination, you must destroy any downloaded materials in your possession, whether in electronic or printed format.
\n 5. Privacy Policy\n SlideNotes collects and uses personal information as described in its Privacy Policy.\n 6. Termination\n SlideNotes reserves the right to terminate or suspend access to the service at its discretion, without notice.\n 7. Refunds\n Refunds are provided at SlideNotes' sole discretion. Users may contact us at contactus@slidenotes.dev to request a refund, providing account information and a detailed explanation for the request. SlideNotes will review and determine whether a refund is applicable.\n 8. Limitations\n In no event shall SlideNotes or its suppliers be liable for any damages, including, without limitation, damages for loss of data or profit, or due to business interruption, arising out of the use or inability to use the materials on SlideNotes' website.\n 9. Disclaimers\n SlideNotes makes no warranties or representations about the accuracy or completeness of the content. The service is provided \"as is\" without any warranty.\n 10. Definition of Lifetime Customer Subscription\n A Lifetime Customer Subscription refers to the duration of SlideNotes' operational existence. SlideNotes reserves the right to terminate its services at any time, at which point the Lifetime Customer Subscription will be considered fulfilled.\n 11. Governing Law\n Any claim relating to SlideNotes' website shall be governed by the laws of the State of Minnesota without regard to its conflict of law provisions.\n 12. Changes to Terms\n SlideNotes reserves the right to modify these Terms and Conditions at any time. Users are responsible for regularly reviewing the terms. By using this website, users agree to be bound by the current version of these Terms and Conditions.\n 13. Contact Information\n For questions about these Terms and Conditions, please contact us at contactus@slidenotes.dev.\n 14. Entire Agreement\n These Terms and Conditions constitute the entire agreement between the user and SlideNotes with respect to the service and supersede all prior or contemporaneous communications and proposals, whether electronic, oral, or written, between the user and SlideNotes with respect to the service.\n
\n )\n}\n\nexport default TermsAndConditionsPage","import React from 'react'\nimport { Container, Typography } from '@mui/material'\n\nfunction PrivacyPolicyPage() {\n return (\n \n Privacy Policy for SlideNotes\n Effective Date: 1/1/2024\n SlideNotes is committed to protecting the privacy of its users. This Privacy Policy outlines the types of personal information we collect, how it is used, and the steps we take to ensure your privacy is maintained.\n Information We Collect\n Personal Information\n When you sign up for an account on SlideNotes or subscribe, we may collect personal information such as your name, phone number, and email address\n Usage Information\n We collect information about how you interact with our service, including the files you upload, the time it was uploaded, the features you use, and the actions you take.\n How We Use Your Information\n Providing Services\n We use your personal information to provide you with access to SlideNotes and its features.\n Improving Services\n We analyze usage data to enhance our services, improve user experience, and optimize our platform.\n Communication\n We may use your email address or phone number to send you important updates, notifications, or promotional materials.\n Transfer of Data\n Your information, including Personal Data, may be transferred to — and maintained on — computers located outside of your state, province, country or other governmental jurisdiction where the data protection laws may differ from those from your jurisdiction.
If you are located outside the United States and choose to provide information to us, please note that we transfer the data, including Personal Data, to the United States and process it there.
No data, whether personal or non-personal, will be transferred without your consent.
SlideNotes will take all steps reasonably necessary to ensure that your data is treated securely and in accordance with this Privacy Policy.
\n Information Security\n SlideNotes takes precautions to protect your information. However, no method of transmission over the internet or electronic storage is entirely secure. While we strive to use commercially acceptable means to protect your personal information, we cannot guarantee its absolute security.\n Sharing Your Information\n SlideNotes will not share your personal information with third parties without your consent, except where required by law.\n Your Choices\n You may terminate your account and all associated data by emailing us at contactus@slidenotes.dev.
You can unsubscribe from any emails with a simple click in the email or in writing.
\n Changes to Privacy Policy\n SlideNotes reserves the right to modify this Privacy Policy at any time. Users are responsible for regularly reviewing the policy. By using this website, users agree to be bound by the current version of this Privacy Policy.\n Contact Information\n For questions about this Privacy Policy, please contact us at contactus@slidenotes.dev.\n Entire Agreement\n This Privacy Policy constitutes the entire agreement between the user and SlideNotes with respect to the service and supersedes all prior or contemporaneous communications and proposals, whether electronic, oral, or written, between the user and SlideNotes with respect to the service.\n
\n )\n}\n\nexport default PrivacyPolicyPage","import React from \"react\";\nimport {\n Modal,\n Box,\n Typography,\n Button,\n} from \"@mui/material\";\nimport CloseIcon from \"@mui/icons-material/Close\";\n\nfunction SurveyModal(props) {\n const onTakeSurvey = () => {\n const url = \"https://scu.az1.qualtrics.com/jfe/form/SV_bsaTagWAjoSkIlw\"\n window.open(url, \"_blank\").focus();\n };\n\n return (\n props.onClose()}\n sx={{ display: \"flex\", alignItems: \"center\", justifyContent: \"center\" }}\n >\n \n \n Win a Year of SlideNotes Premium!\n \n \n Help us tailor SlideNotes to better meet your needs. Take this short survey to provide your valuable feedback on our features and services, and you'll be entered to win a full year of SlideNotes Premium for free.\n \n \n Your input is crucial—thank you for helping us improve!\n \n props.onClose()}\n size=\"small\"\n sx={{ position: \"absolute\", top: \"0\", right: \"-15px\" }}\n >\n \n \n onTakeSurvey()}\n size=\"large\"\n variant=\"contained\"\n color=\"secondary\"\n >\n \n Take Survey\n \n \n \n \n );\n}\n\nexport default SurveyModal;\n","import React from \"react\";\nimport { Box } from \"@mui/material\";\nimport AlertBar from \"./components/AlertBar.js\";\nimport NotesPage from \"./pages/NotesPage.js\";\nimport ProgressPage from \"./pages/ProgressPage.js\";\nimport LandingPage from \"./pages/LandingPage.js\";\nimport HomePage from \"./pages/HomePage.js\";\nimport Navbar from \"./components/Navbar.js\";\nimport LoginModal from \"./components/LoginModal.js\";\nimport PremiumModal from \"./components/PremiumModal.js\";\nimport handleSubscribe from \"./helpers/handleSubscribe.js\";\nimport handleManageSubscribe from \"./helpers/handleManageSubscribe.js\";\nimport \"./App.css\";\nimport Footer from \"./components/Footer.js\";\nimport LoadingPage from \"./pages/LoadingPage.js\";\nimport TermsAndConditionsPage from \"./pages/TermsAndConditionsPage.js\";\nimport PrivacyPolicyPage from \"./pages/PrivacyPolicyPage.js\";\nimport SurveyModal from \"./components/SurveyModal.js\";\n\nfunction App() {\n const termsAndConditionsPath = '/termsandconditions'\n const privacyPolicyPath = '/privacypolicy'\n\n const [page, setPage] = React.useState(null);\n const [loginModalOpen, setLoginModalOpen] = React.useState(false);\n const [premiumModalOpen, setPremiumModalOpen] = React.useState(false);\n const [surveyModalOpen, setSurveyModalOpen] = React.useState(false);\n const [premium, setPremium] = React.useState(false);\n const [subscribed, setSubscribed] = React.useState(false);\n //const [premium, setPremium] = React.useState(true);\n const [loggedIn, setLoggedIn] = React.useState(null);\n //const [loggedIn, setLoggedIn] = React.useState(true);\n const [alert, setAlert] = React.useState(\"\");\n const [anchor, setAnchor] = React.useState(\"\");\n\n const openSurvey = () => {\n const url = \"https://scu.az1.qualtrics.com/jfe/form/SV_bsaTagWAjoSkIlw\"\n window.open(url, \"_blank\").focus();\n };\n\n const landingPage = React.useCallback(() => {\n return setLoginModalOpen(true)} />;\n }, []);\n\n let homePage = null;\n\n const createAlert = React.useCallback(\n (type, message) => {\n setAlert(\n setAlert(null)}\n alert={type}\n alertText={message}\n />\n );\n if (type === \"error\") {\n setPage(homePage);\n }\n },\n [homePage]\n );\n\n const progressPage = React.useCallback(\n (file) => {\n setPage();\n },\n [createAlert]\n );\n\n const notesPage = React.useCallback((id) => {\n return openSurvey()}/>;\n }, []);\n\n const logout = React.useCallback(() => {\n setLoggedIn(false);\n setPremium(false);\n setPage(landingPage);\n localStorage.clear();\n }, [landingPage]);\n\n React.useEffect(() => {\n const foundToken = localStorage.getItem(\"sessionToken\");\n if (!foundToken) {\n setLoggedIn(false);\n return;\n }\n const queryParams = new URLSearchParams(window.location.search);\n window.history.replaceState('', document.title, window.location.href.split(\"?\")[0])\n const paymentSuccess = queryParams.get(\"paymentSuccess\") === \"true\";\n const oneTime = queryParams.get(\"oneTime\") === \"true\";\n const url =\n \"https://kodexs1t24.execute-api.us-west-2.amazonaws.com/Stage/getUser\";\n const requestOptions = {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({ sessionToken: foundToken }),\n };\n\n var retries = 0;\n const maxRetries = 5;\n\n var getUser = setInterval(() => {\n fetch(url, requestOptions)\n .then((response) => {\n if (response.ok) {\n return response.json();\n }\n throw new Error(\"Error\");\n })\n .then((data) => {\n const yearThreeThousand = 32503708800;\n if ((paymentSuccess && !data[\"premium\"]) || (oneTime && data[\"premiumPaidTime\"] !== yearThreeThousand)) {\n retries++;\n if (retries > maxRetries) {\n logout();\n window.history.replaceState('', document.title, \"/\");\n clearInterval(getUser)\n }\n return;\n }\n setPremium(data[\"premium\"]);\n setSubscribed(data[\"premium\"] && data[\"premiumPaidTime\"] !== yearThreeThousand);\n setLoggedIn(true);\n clearInterval(getUser);\n })\n .catch((err) => {\n logout();\n console.log(err.message);\n });\n }, 2000);\n }, [logout]);\n\n homePage = React.useCallback(() => {\n return (\n openSurvey()}\n openSurveyModal={() => setSurveyModalOpen(true)}\n />\n );\n }, [createAlert, premium, progressPage]);\n\n React.useEffect(() => {\n const path = window.location.pathname;\n if (path === termsAndConditionsPath) {\n !page && setPage()\n } else if (path === privacyPolicyPath) {\n !page && setPage()\n } if (path.length > 1) {\n const uuidRegex =\n /^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$/i;\n const possibleId = path.slice(1);\n if (possibleId.match(uuidRegex)) {\n !page && setPage(notesPage(possibleId));\n }\n } else if (loggedIn != null) {\n !page && (loggedIn ? setPage(homePage) : setPage(landingPage));\n }\n }, [page, loggedIn, homePage, landingPage, notesPage]);\n\n React.useEffect(() => {\n if (alert === \"error\") {\n setPage(homePage);\n }\n }, [alert, homePage]);\n\n React.useEffect(() => {\n if (anchor === \"\") {\n window.history.replaceState('', document.title, window.location.href.split('#')[0])\n } else {\n window.location.href = \"#\" + anchor\n setAnchor(\"\")\n }\n }, [anchor, setAnchor])\n\n function login(sessionToken) {\n localStorage.setItem(\"sessionToken\", sessionToken);\n window.location.href = '/'\n }\n\n const onManageSubscribe = () => {\n setPage();\n handleManageSubscribe()\n }\n\n const onLifetimeSubscribe = () => {\n setPage()\n handleSubscribe(\"oneTime\", () => {})\n }\n\n const replacePathWithoutUpdating = (newPath) => {\n window.history.replaceState({ ...window.history.state, as: newPath, url: newPath}, '', newPath);\n }\n\n const onLandingPage = () => {\n replacePathWithoutUpdating('/')\n setPage(landingPage)\n }\n\n const onTestimonials = () => {\n onLandingPage()\n setAnchor(\"Testimonials\")\n }\n\n const onFaq = () => {\n onLandingPage()\n setAnchor(\"FAQ\")\n }\n\n const onTermsAndConditions = () => {\n replacePathWithoutUpdating(termsAndConditionsPath)\n setPage()\n window.scroll(0,0)\n }\n\n const onPrivacyPolicy = () => {\n replacePathWithoutUpdating(privacyPolicyPath)\n setPage()\n window.scroll(0,0)\n }\n\n return (\n \n {alert}\n setLoginModalOpen(false)}\n onLogin={login}\n />\n setPremiumModalOpen(false)}\n onSubscribe={(pricingType) => handleSubscribe(pricingType, () => setPremiumModalOpen(false))}\n />\n setSurveyModalOpen(false)}\n />\n setLoginModalOpen(true)}\n logout={logout}\n premium={premium}\n subscribed={subscribed}\n onSubscribe={() => setPremiumModalOpen(true)}\n onManageSubscribe={() => onManageSubscribe()}\n onLifetimeSubscribe={() => onLifetimeSubscribe()}\n onTestimonials={() => onTestimonials()}\n onFaq={() => onFaq()}\n />\n \n {page || \n \n }\n \n