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mS,EAAA,EAAW,CACV1X,eAAgBA,GAEhBC,UAAU,cAEZ,gBAAClG,EAAA,EAAS,KACPqd,EAAOpd,KAAI,SAACmL,EAAG1F,GACd,OAAS,GAALA,EAEA,gCACE,gBAAC,GAAQ,CAAC3F,KAAM8c,IACfzR,GAIEA,CAEX,KAGD+Q,EAAclc,KAAI,SAACmL,EAAE1F,GAGrB,OACN,gBAAC3B,GAAA,EAAa,CAACtC,OAAQ2J,EAAE,GAAI7J,KAAM6J,EAAE,GAAIlK,UAAWA,EAAWC,SAAUA,EAAUhB,IAAK,mBAAqBiL,EAAE,IACzG,KAKL,YAAiBiE,IAAbW,EAEA,gBAAC,IAAM,CAACzP,MAAO,kCACb,2BAAK,YAKP,gBAAC,IAAM,CAACA,MAAO,kCACb,gBAAC,EAAAqd,OAAM,CAAC7a,MAAO,CAAEE,MAAO,QAAU4a,SAAS,WACzC,gBAAC,GAAY,CAAClX,UAAWwF,EAAS2R,KAAK,WAAW/N,SAAUA,EAAUC,SAAUA,IAChF,gBAAC3B,GAAK,CAACyP,KAAK,SAASxP,gBAlEL,WACtBiP,GAAcjO,EAAAA,EAAAA,MAChB,IAiEQ,gBAACa,GAAS,CAAC2N,KAAK,IAAIle,SAAO,EAACwQ,QAASsN,KAK/C,EAGM3b,IAAavB,EAAAA,EAAAA,SAAOsD,EAAAA,GAAK,wEAAZtD,CAAY,sBAIzB4H,IAAoB5H,EAAAA,EAAAA,SAAO+F,GAAY,+EAAnB/F,CAAmB,kB,uBChKtC,SAASiP,EAAc3D,GAE5B,MADW,wJACDiS,KAAKC,OAAOlS,GAAOmS,cAC/B,C","sources":["webpack://gfw-brochure/./node_modules/@material-ui/icons/ExpandMore.js","webpack://gfw-brochure/./src/components/Breadcrumb.tsx","webpack://gfw-brochure/./src/components/EventsCarosel/EventsCard.tsx","webpack://gfw-brochure/./src/components/EventsCarosel/EventsCarosel.tsx","webpack://gfw-brochure/./src/components/Form/ErrorMessageText.tsx","webpack://gfw-brochure/./src/components/Lightbox/Lightbox.tsx","webpack://gfw-brochure/./src/components/PageHeading/PageHeading.tsx","webpack://gfw-brochure/./node_modules/@material-ui/core/esm/CardContent/CardContent.js","webpack://gfw-brochure/./src/components/authRoutes/accountModals/ChangePassword.tsx","webpack://gfw-brochure/./src/components/authRoutes/accountModals/EditDetails.tsx","webpack://gfw-brochure/./src/components/authRoutes/accountModals/EditEmail.tsx","webpack://gfw-brochure/./src/components/authRoutes/account.tsx","webpack://gfw-brochure/./src/components/authRoutes/login.tsx","webpack://gfw-brochure/./src/components/authRoutes/PrivateRoutes.tsx","webpack://gfw-brochure/./src/components/authRoutes/events.tsx","webpack://gfw-brochure/./node_modules/@material-ui/core/esm/Collapse/Collapse.js","webpack://gfw-brochure/./node_modules/@material-ui/core/esm/Accordion/AccordionContext.js","webpack://gfw-brochure/./node_modules/@material-ui/core/esm/Accordion/Accordion.js","webpack://gfw-brochure/./node_modules/@babel/runtime/helpers/esm/toArray.js","webpack://gfw-brochure/./node_modules/@material-ui/core/esm/AccordionSummary/AccordionSummary.js","webpack://gfw-brochure/./node_modules/@material-ui/core/esm/AccordionDetails/AccordionDetails.js","webpack://gfw-brochure/./src/components/Schedule.tsx","webpack://gfw-brochure/./src/pages/events.tsx","webpack://gfw-brochure/./src/util/validateEmail.ts"],"sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar React = _interopRequireWildcard(require(\"react\"));\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z\"\n}), 'ExpandMore');\nexports.default = _default;","import React from \"react\"\nimport { Link } from \"gatsby\"\nimport styled from \"styled-components\"\n\ninterface Item {\n title: string\n url: string\n}\ninterface IBreadcrumb {\n data: Array\n}\nconst Breadcrumb = ({ data }: IBreadcrumb) => {\n return (\n \n {data &&\n data.map((item, key: number) => {\n return (\n \n \n {item.title}\n \n /\n \n )\n })}\n \n )\n}\n\nexport default Breadcrumb\n\nconst Container = styled.div`\n display: flex;\n align-items: center;\n /* padding: 10px 0px; */\n /* margin: 0 20px; */\n margin-bottom: 50px;\n position: relative;\n\n @media (max-width: ${props => props.theme.breakpoints.sm}) {\n display: none;\n }\n & span {\n margin: 0 8px;\n font-size: 9px;\n line-height: 11px;\n @media (min-width: ${props => props.theme.breakpoints.md}) {\n color: ${props => (props.color ? props.color : \"#000000\")};\n }\n\n &:last-of-type {\n display: none;\n }\n\n @media (min-width: ${props => props.theme.breakpoints.md}) {\n font-size: 12px;\n line-height: 15px;\n }\n }\n\n &::after {\n content: \"\";\n display: none;\n height: 1px;\n border-top: 2px solid #000000;\n position: absolute;\n bottom: 0;\n left: 20px;\n margin: 0 auto;\n\n @media (min-width: ${props => props.theme.breakpoints.md}) {\n width: 30%;\n max-width: 263px;\n margin: 0;\n left: 0;\n display: block;\n }\n }\n @media (min-width: ${props => props.theme.breakpoints.md}) {\n margin: 0 3%;\n }\n @media (min-width: ${props => props.theme.breakpoints.sm}) {\n padding: 20px 0;\n margin: 0;\n }\n`\n\nconst LinkBreadcrumb = styled(Link)`\n &,\n &:link,\n &:visited {\n color: #4a4a4a;\n font-size: 16px;\n line-height: 11px;\n display: inline;\n\n @media (min-width: ${props => props.theme.breakpoints.md}) {\n line-height: 15px;\n color: ${props => (props.color ? props.color : \"#4A4A4A\")};\n }\n }\n\n &:hover,\n &:active {\n color: ${props => props.theme.colors.turquoise};\n }\n &:last-of-type {\n color: #000000;\n font-weight: 600;\n &:hover,\n &:active {\n text-decoration: none;\n\n cursor: default;\n }\n }\n`\n","import React, { useState } from \"react\"\nimport styled from \"styled-components\"\nimport { Link } from \"gatsby\"\nimport { GatsbyImage } from \"gatsby-plugin-image\"\nimport { Card } from \"@material-ui/core\"\n\nimport { DateTime } from \"luxon\"\n\ninterface EventsCard {\n data: any\n setActive: React.Dispatch>\n setVideo: React.Dispatch<\n React.SetStateAction<{\n title: string\n url: string\n }>\n >\n}\n\nconst EventsCard: React.FC = ({ data, setActive, setVideo }: EventsCard) => {\n const [shadow, setShadow] = useState(0)\n const onMouseOver = () => setShadow(15)\n const onMouseOut = () => setShadow(0)\n // 30/03/2021 12:00 am\n const date = DateTime.fromFormat(data.events.timeOfEvent, \"dd/MM/yy t\")\n\n const diff = date.diff(DateTime.now(), [\"days\"])\n\n return (\n {\n setActive(true)\n setVideo({ title: data.title, url: data.events.vimeoUrl })\n }}\n >\n 0).toString()}\n >\n \n \n \n \n \n {diff.days > 0 ? 0}>Upcoming Event : Previous Event}\n {data.title}\n {date.toLocaleString({ day: \"numeric\", month: \"long\", year: \"numeric\" })}\n \n \n \n )\n}\nexport default EventsCard\n\nconst DarkBackgorund = styled.div`\n background-color: rgba(0, 0, 0, 0.3);\n width: 100%;\n height: 100%;\n position: absolute;\n display: block;\n z-index: 2;\n`\nconst UniversityCardContainer = styled.div`\n border: 1px solid #e3e3e3;\n background-color: #ffffff;\n max-width: 315px;\n max-height: 400px;\n &:hover {\n text-decoration: none;\n }\n`\nconst ImgContainer = styled.div`\n display: flex;\n min-height: 218px;\n background-color: white;\n align-items: flex-start;\n justify-content: center;\n z-index: 10;\n @media (max-width: ${props => props.theme.breakpoints.sm}) {\n min-height: 155px;\n\n border-top: 1px solid #e3e3e3;\n border-left: 1px solid #e3e3e3;\n border-right: 1px solid #e3e3e3;\n }\n`\n\ninterface StyledCardInterface {\n upcoming: string\n}\n\nconst StyledCard = styled(Card)`\n border-top: 3px solid ${props => (props.upcoming === \"true\" ? \"#FBE600\" : \"black\")};\n border-radius: 0px !important;\n display: flex;\n align-items: flex-end;\n flex-direction: column;\n /* border: 1px solid red; */\n height: 100%;\n @media (max-width: ${props => props.theme.breakpoints.sm}) {\n border: 1px solid #e3e3e3;\n }\n`\n\nconst PortfolioCardContainer = styled(Link)`\n margin: 0 10px;\n background-color: #ffffff;\n\n &:hover {\n text-decoration: none;\n }\n\n max-width: 315px;\n`\n\nconst PortfolioInfoBox = styled.div`\n padding: 21px 27px 26px;\n background: white;\n height: 185px;\n width: 295px;\n background-color: #ffffff;\n border: 1px solid #e3e3e3;\n box-shadow: 0 0 5px 0 rgba(123, 123, 123, 0.2);\n transition: transform 1s ease;\n margin-top: -190px;\n margin-right: 0;\n z-index: 16;\n @media (max-width: 768px) {\n padding: 19px 23px;\n }\n`\n\nconst PortfolioName = styled.p`\n font-size: 20px;\n font-weight: 500;\n letter-spacing: 0;\n line-height: 26px;\n height: 70px;\n margin-bottom: 18px;\n color: black;\n @media (max-width: 768px) {\n font-size: 16px;\n\n line-height: 21px;\n }\n`\n\nconst PortfolioDesc = styled.p`\n color: #4a4a4a !important;\n font-size: 18px;\n line-height: 28px;\n @media (max-width: 768px) {\n font-size: 14px;\n\n line-height: 24px;\n }\n`\nconst TagContainer = styled.div`\n display: flex;\n flex-wrap: wrap;\n flex-direction: row;\n\n @media (max-width: ${props => props.theme.breakpoints.sm}) {\n padding-right: 0%;\n }\n`\n\ninterface TagInterface {\n upcoming: boolean\n}\n\nconst Tag = styled.b`\n text-align: center;\n text-transform: uppercase;\n background-color: ${props => (props.upcoming ? \"#FBE600\" : \"black\")};\n color: ${props => (props.upcoming ? \"black\" : \"white\")};\n font-size: 0.7rem;\n font-weight: 400;\n letter-spacing: 1px;\n margin: 0 5px 5px 0;\n height: 20px;\n width: auto;\n padding: 0px 8px 0px;\n border-radius: 10px;\n @media (max-width: ${props => props.theme.breakpoints.sm}) {\n font-size: 10px;\n }\n`\n","import React, { useLayoutEffect, useState, FunctionComponent } from \"react\"\nimport styled from \"styled-components\"\nimport { Swiper, SwiperSlide } from \"swiper/react\"\nimport EventsCard from \"./EventsCard\"\nimport { Container } from \"@material-ui/core\"\nimport { Lightbox } from \"../Lightbox/Lightbox\"\n\ninterface ICarouselItems {\n name: string\n}\n\ninterface EventsCarouselDragProps {\n date?: string\n events: any\n title: string\n url: string\n}\n\nexport const EventsCarosel: FunctionComponent = ({ date, events }) => {\n const [slides, setSlides] = useState(4)\n const [padding, setPadding] = useState(20)\n const [charLimit, setCharLimit] = React.useState(140)\n\n const [active, setActive] = useState(false)\n const [video, setVideo] = useState({ title: \"\", url: \"\" })\n\n const formatText = (text: string) => {\n if (text.length < charLimit) {\n return text\n }\n return text.substr(0, charLimit) + \"...\"\n }\n useLayoutEffect(() => {\n const hideArrows = () => {\n if (typeof window !== \"undefined\") {\n const nextBtn = document.querySelector(\".swiper-button-next\")\n const prevBtn = document.querySelector(\".swiper-button-prev\")\n if (window.innerWidth >= 1200 && data.length <= 3) {\n nextBtn.style.display = \"none\"\n prevBtn.style.display = \"none\"\n } else if (window.innerWidth < 1200 && data.length > 3) {\n nextBtn.style.display = \"inline-block\"\n prevBtn.style.display = \"inline-block\"\n }\n }\n }\n\n function updateSize() {\n if (typeof window !== \"undefined\") {\n if (window.innerWidth <= 767) {\n setSlides(window.innerWidth / (350 + padding * 3))\n } else if (window.innerWidth >= 768 && window.innerWidth < 1024) {\n setSlides(window.innerWidth / (350 + padding * 6.5))\n } else if (window.innerWidth >= 1024 && window.innerWidth < 1200) {\n setSlides(window.innerWidth / (350 + padding * 7))\n } else {\n setSlides(2.8)\n }\n }\n }\n window.addEventListener(\"resize\", updateSize)\n // window.addEventListener('resize', hideArrows)\n updateSize()\n // hideArrows()\n return () => {\n window.removeEventListener(\"resize\", updateSize)\n // window.removeEventListener('resize', hideArrows)\n }\n }, [])\n\n return (\n <>\n \n \n \n \n {date && {date}}\n\n \n \n \n {events.map((item, i) => {\n return (\n \n {/* */}\n \n \n )\n })}\n \n \n \n \n \n )\n}\n\nconst ContainerS = styled(Container)`\n padding-bottom: 30px;\n z-index: 0;\n overflow: hidden;\n /* padding: 20px 20px 0px;\n border: 1px solid red;\n\n margin: 0 auto;\n flex-direction: column;\n\n @media (min-width: ${props => props.theme.breakpoints.sm}) {\n padding: 0px 20px;\n flex-direction: row;\n }\n @media (min-width: 1024px) {\n padding: 55px 3% 0 3%;\n }\n @media (max-width: ${props => props.theme.breakpoints.sm}) {\n padding: 0;\n } */\n .swiper-container {\n transition: transform 0.8s ease;\n width: 100%;\n margin-right: auto;\n overflow: visible !important;\n transition: transform 0.4s ease;\n @media (min-width: 1024px) {\n width: 100%;\n }\n }\n .swiper {\n }\n .carousel-drag-slide {\n cursor: grab;\n height: auto;\n margin-right: 10px;\n width: 315px !important;\n min-width: 315px !important;\n padding: 0px 0px 48px;\n @media (min-width: ${props => props.theme.breakpoints.sm}) {\n width: 315px !important;\n min-width: 315px !important;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n }\n &:hover .image__container {\n box-shadow: 0 0 26px 0 rgba(0, 0, 0, 0.2);\n }\n &:hover .text__container {\n box-shadow: 0 0 26px 0 rgba(0, 0, 0, 0.2);\n }\n }\n\n .swiper-scrollbar {\n position: absolute;\n height: 1px;\n width: calc(100vw - 140px);\n background: ${props => props.theme.colors.turquoise};\n left: 100px;\n bottom: 10px;\n\n @media screen and (min-width: 1024px) {\n width: calc(100vw - 6% - 100px);\n }\n @media screen and (min-width: 1200px) {\n width: 92%;\n }\n }\n .swiper-scrollbar-drag {\n height: 3px;\n position: absolute;\n top: -1px;\n background: ${props => props.theme.colors.turquoise};\n }\n\n .swiper-button-next {\n margin-left: 18px;\n left: 15px;\n }\n\n .swiper-button-prev {\n transform: rotate(-180deg);\n left: 0;\n }\n .swiper-button-next::after,\n .swiper-button-prev::after {\n opacity: 0;\n }\n .swiper-button-next,\n .swiper-button-prev {\n position: absolute;\n top: auto;\n bottom: 0px;\n width: 4.9rem;\n height: 1rem;\n margin: 0;\n }\n .swiper-button-next {\n left: 50px;\n }\n\n .swiper-button-next,\n .swiper-button-prev {\n background-image: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ny44NCAxMS4yNSI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiMwZGIwZTc7ZmlsbC1ydWxlOmV2ZW5vZGQ7fTwvc3R5bGU+PC9kZWZzPjxwYXRoIGlkPSJDb21iaW5lZC1TaGFwZSIgY2xhc3M9ImNscy0xIiBkPSJNNDUuMzgsNiw0MS4xNiwxLjg0bDEtMSw1LjcsNS42Mi01LjcsNS42Mi0xLTFMNDUuMzgsN0gwVjZaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIC0wLjg4KSIvPjwvc3ZnPg==);\n background-repeat: no-repeat;\n /* background-color: ${props => props.theme.colors.turquoise}; */\n background-size: 100% auto;\n background-position: center;\n width: 45px;\n height: 21px;\n }\n .swiper-button-next:hover,\n .swiper-button-prev:hover {\n /* background: url(../assets/svg/long-arrow-right.svg); */\n background-repeat: no-repeat;\n background-size: 100% auto;\n\n background-position: center;\n }\n .swiper-button-disabled {\n opacity: 0.35;\n cursor: auto;\n pointer-events: none;\n }\n`\n\nconst SwiperContainer = styled(Container)`\n /* margin: 0 auto; */\n /* position: relative; */\n`\nconst SwipperWrapper = styled.div`\n display: flex;\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 1;\n box-sizing: content-box;\n`\n\ninterface ILinkWrapper {\n noMarginTop?: boolean\n}\n\nconst LetterHeading = styled.h4`\n color: black;\n /* width: 100%; */\n text-align: left;\n align-items: top;\n\n font-size: 2rem;\n @media (max-width: ${props => props.theme.breakpoints.sm}) {\n font-size: 2rem;\n height: 70px;\n margin-top: 10px;\n margin-bottom: -10px;\n }\n`\n","import styled from \"styled-components\"\n\nexport const ErrorMessage = styled.p`\n color: #d0021b;\n line-height: 14px;\n font-size: 14px;\n margin: 0px !important;\n /* padding: 0px !important; */\n padding-top: 3px;\n padding-bottom: 3px;\n`\n","import React from \"react\"\nimport \"./Lightbox.scss\"\n\ninterface LightBoxInterface {\n active: boolean\n setActive: React.Dispatch>\n}\n\nexport const Lightbox: React.FC = ({ active, children, setActive }) => {\n return (\n
setActive(false)}>\n
\n
e.stopPropagation()}>\n
\n {/* */}\n
\n {children}\n {/*
\n \n
*/}\n
\n
\n
\n )\n}\n","import React from \"react\"\nimport Breadcrumb from \"../Breadcrumb\"\nimport styled from \"styled-components\"\nimport { Container } from \"@material-ui/core\"\n\ninterface Item {\n title: string\n url: string\n}\ntype IBreadcrumb = Array\n\ninterface IPageHeading {\n breadcrumbData: IBreadcrumb\n pageTitle: string\n}\n\nconst PageHeading: React.FC = ({ breadcrumbData, pageTitle }) => {\n return (\n <>\n \n \n \n \n \n \n

{pageTitle}

\n
\n
\n
\n \n )\n}\n\nexport default PageHeading\n\nconst FullWidth = styled.div`\n width: 100vw;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n z-index: 10;\n background-color: #fafafa;\n`\n\nconst BreadCrumbContainer = styled(Container)`\n width: 100vw;\n justify-content: center;\n align-items: center;\n z-index: 10;\n`\nconst PageTitlePattern = styled.div`\n width: 100vw;\n background-color: #fafafa;\n background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUAgMAAADw5/WeAAAACVBMVEX6+vr4+Pjv7++npPQmAAAAKElEQVQI12NgCGBgZWBgEGBgZACzYWTo0tCoUAiJIs7gwMCCi02CXgD5agzBt66q6wAAAABJRU5ErkJggg==\");\n background-repeat: repeat;\n`\nconst PageTitleContainer = styled(Container)`\n justify-content: center;\n align-items: center;\n z-index: 10;\n margin-bottom: 50px;\n margin-top: 50px;\n`\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n padding: 16,\n '&:last-child': {\n paddingBottom: 24\n }\n }\n};\nvar CardContent = /*#__PURE__*/React.forwardRef(function CardContent(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\"]);\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nexport default withStyles(styles, {\n name: 'MuiCardContent'\n})(CardContent);","import { Card, CardContent } from \"@material-ui/core\"\nimport React, { useState } from \"react\"\nimport styled from \"styled-components\"\nimport { ErrorMessage } from \"../../../pages/register\"\nimport { ApiUrl } from \"../../../util/apiUrl\"\nimport { Lightbox } from \"../../Lightbox/Lightbox\"\nimport { GFWSpinner } from \"../../spinner/spinner\"\nimport RoundTick from \"../../../assets/forms/round-tick.svg\"\nimport RoundCross from \"../../../assets/forms/round-cross.svg\"\ninterface ChangePasswordInterface {\n active: boolean\n setActive: any\n}\n\nexport const ChangePassword: React.FC = ({ active, setActive }) => {\n const [submitting, setSubmitting] = useState(false)\n\n const getValidationClass = name => {\n if (errorState[name] === \"pass\") {\n return \"validation-success\"\n } else if (errorState[name] === \"\") {\n return \"\"\n } else {\n return \"validation-error\"\n }\n }\n const handleChange = e => {\n setState({ ...state, [e.target.name]: e.target.value })\n }\n const [state, setState] = useState({\n password: \"\",\n confirmPassword: \"\",\n })\n const [passwordValiation, setPasswordValidation] = useState({\n length: false,\n UpperLower: false,\n number: false,\n matching: false,\n })\n const handlePasswordValidiation = e => {\n const { value, name } = e.target\n setState({ ...state, [e.target.name]: e.target.value })\n\n let validation = passwordValiation\n if (name === \"password\") {\n if (value.length >= 8) {\n validation = { ...validation, length: true }\n } else {\n validation = { ...validation, length: false }\n }\n if (value.search(/[a-z]/) >= 0 && value.search(/[A-Z]/) >= 0) {\n validation = { ...validation, UpperLower: true }\n } else {\n validation = { ...validation, UpperLower: false }\n }\n\n if (value.search(/[0-9]/) >= 0) {\n validation = { ...validation, number: true }\n } else {\n validation = { ...validation, number: false }\n }\n if (value === state.confirmPassword) {\n validation = { ...validation, matching: true }\n } else {\n validation = { ...validation, matching: false }\n }\n }\n if (name === \"confirmPassword\") {\n if (value === state.password) {\n validation = { ...validation, matching: true }\n } else {\n validation = { ...validation, matching: false }\n }\n }\n\n setPasswordValidation(validation)\n }\n\n const [errorState, setErrorState] = useState({\n password: \"\",\n confirmPassword: \"\",\n })\n\n const handleSubmit = e => {\n setSubmitting(true)\n setErrorState({\n password: \"\",\n confirmPassword: \"\",\n })\n e.preventDefault()\n if (\n !passwordValiation.UpperLower ||\n !passwordValiation.length ||\n !passwordValiation.matching ||\n !passwordValiation.number\n ) {\n setErrorState({\n ...errorState,\n password: \"Please resolve the issues with your password.\",\n })\n\n return\n }\n const data = { ...state }\n\n fetch(`${ApiUrl}/change-password`, {\n method: \"POST\", // *GET, POST, PUT, DELETE, etc.\n mode: \"cors\", // no-cors, *cors, same-origin\n cache: \"no-cache\", // *default, no-cache, reload, force-cache, only-if-cached\n credentials: \"same-origin\", // include, *same-origin, omit\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: \"Api-Key 18475794-de56-4ff0-a685-3d591fb81661\",\n },\n body: JSON.stringify(data), // body data type must match \"Content-Type\" header\n })\n .then(response => {\n return response.json()\n })\n .then(data => {\n return data\n })\n .catch(e => {\n setSubmitting(false)\n })\n }\n\n return (\n \n \n \n Change Password\n \n\n <>\n \n\n \n
\n
\n \n \n \n

{passwordValiation.length ? : }8 or more characters

\n

\n {passwordValiation.number ? : }\n At least one number\n

\n
\n \n

\n {passwordValiation.UpperLower ? : }\n Upper and lower case letters\n

\n\n

\n {passwordValiation.matching ? : }\n Must match confirmation\n

\n
\n
\n
\n
\n\n \n\n \n {errorState.password !== \"pass\" ? errorState.password : \" \"}\n
\n \n \n {submitting ? : null}\n {/*

{successMessage}

*/}\n \n \n
\n
\n
\n )\n}\n\nconst CardTitle = styled.h6`\n font-size: 20px;\n line-height: 25px;\n font-weight: 700;\n margin-bottom: 0px;\n`\n\nconst StyledCard = styled(Card)`\n max-width: 520px;\n`\n\nconst StyledCardContent = styled(CardContent)`\n padding: 45px;\n`\n\nconst HorizontalRule = styled.hr`\n margin-top: 8px;\n margin-bottom: 10px;\n`\n\nconst Columns = styled.div`\n width: 100%;\n display: flex;\n flex-direction: row;\n\n > div {\n flex: 1;\n + div {\n margin-left: 30px;\n @media (max-width: ${props => props.theme.breakpoints.sm}) {\n margin-left: 0px;\n }\n }\n }\n\n @media (max-width: ${props => props.theme.breakpoints.sm}) {\n flex-direction: column;\n }\n`\n\nconst RoundTickStyled = styled(RoundTick)`\n height: 15px;\n width: 15px;\n margin-right: 10px;\n top: 3px;\n position: relative;\n fill: ${props => props.theme.colors.turquoise};\n color: ${props => props.theme.colors.turquoise};\n`\nconst RoundCrossStyled = styled(RoundCross)`\n height: 15px;\n width: 15px;\n margin-right: 10px;\n top: 3px;\n position: relative;\n`\nconst PasswordStrength = styled.div`\n > p {\n margin-bottom: 16px;\n padding-bottom: 0px;\n line-height: 16px;\n }\n`\n","import { Card, CardContent } from \"@material-ui/core\"\nimport React, { useState } from \"react\"\nimport styled from \"styled-components\"\nimport { Lightbox } from \"../../Lightbox/Lightbox\"\nimport { Button, SizeType } from \"../../Buttons/Buttons\"\nimport { ApiUrl } from \"../../../util/apiUrl\"\nimport { ErrorMessage } from \"../../../pages/register\"\ninterface EditDetailsInterface {\n active: boolean\n setActive: any\n}\n\nexport const EditDetails: React.FC = ({ active, setActive }) => {\n const handleChange = e => {\n setState({ ...state, [e.target.name]: e.target.value })\n }\n const [submitting, setSubmitting] = useState(false)\n\n const handleSubmit = e => {\n setSubmitting(true)\n setErrorState({\n title: \"\",\n firstName: \"\",\n surname: \"\",\n })\n e.preventDefault()\n\n //Final validation\n //Check the first infomation\n\n //Check the title\n if (state.title === \"\") {\n setErrorState({\n ...errorState,\n title: \"Please select your title option.\",\n })\n return\n }\n if (state.firstName === \"\") {\n setErrorState({\n ...errorState,\n firstName: \"Please enter your first name.\",\n })\n\n return\n }\n if (state.surname === \"\") {\n setErrorState({ ...errorState, surname: \"Please enter your surname.\" })\n\n return\n }\n //send the result\n\n const data = {\n ...state,\n }\n\n fetch(`${ApiUrl}/edit-details`, {\n method: \"POST\", // *GET, POST, PUT, DELETE, etc.\n mode: \"cors\", // no-cors, *cors, same-origin\n cache: \"no-cache\", // *default, no-cache, reload, force-cache, only-if-cached\n credentials: \"same-origin\", // include, *same-origin, omit\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: \"Api-Key 18475794-de56-4ff0-a685-3d591fb81661\",\n },\n body: JSON.stringify(data), // body data type must match \"Content-Type\" header\n })\n .then(response => {\n return response.json()\n })\n .then(data => {console.log(data)})\n .catch(e => {\n setSubmitting(false)\n })\n }\n\n const getValidationClass = name => {\n if (errorState[name] === \"pass\") {\n return \"validation-success\"\n } else if (errorState[name] === \"\") {\n return \"\"\n } else {\n return \"validation-error\"\n }\n }\n const inlineValidation = e => {\n const { value, name } = e.target\n let errorMessage = \"\"\n\n switch (name) {\n case \"firstName\":\n if (value === \"\") {\n errorMessage = \"Please enter your first name.\"\n setErrorState({ ...errorState, [name]: errorMessage })\n } else {\n setErrorState({ ...errorState, [name]: \"pass\" })\n }\n break\n case \"surname\":\n if (value === \"\") {\n errorMessage = \"Please enter your surname.\"\n setErrorState({ ...errorState, [name]: errorMessage })\n } else {\n setErrorState({ ...errorState, [name]: \"pass\" })\n }\n break\n default:\n break\n }\n }\n\n const titleArray = [\"Mr\", \"Mrs\", \"Miss\", \"Ms\"]\n\n const [state, setState] = useState({\n title: \"\",\n firstName: \"\",\n surname: \"\",\n })\n const [errorState, setErrorState] = useState({\n title: \"\",\n firstName: \"\",\n surname: \"\",\n })\n\n const titleRadioButtons = titleArray.map((title, i) => (\n <>\n {\n setState({ ...state, title: e.target.value })\n }}\n />\n \n \n ))\n return (\n \n \n \n Change Personal Details\n \n
\n \n\n {titleRadioButtons.map(v => v)}\n {errorState.title}\n\n
\n \n\n handleChange(e)}\n onBlur={e => inlineValidation(e)}\n >\n {errorState.firstName !== \"pass\" ? errorState.firstName : \" \"}\n
\n\n
\n \n\n handleChange(e)}\n onBlur={e => inlineValidation(e)}\n >\n {errorState.surname !== \"pass\" ? errorState.surname : \" \"}\n
\n
\n\n \n
\n
\n \n )\n}\n\nconst CardTitle = styled.h6`\n font-size: 20px;\n line-height: 25px;\n font-weight: 700;\n margin-bottom: 0px;\n`\n\nconst StyledCard = styled(Card)`\n max-width: 520px;\n`\n\nconst StyledCardContent = styled(CardContent)`\n padding: 45px;\n`\n\nconst HorizontalRule = styled.hr`\n margin-top: 8px;\n margin-bottom: 10px;\n`\n","import { Card, CardContent } from \"@material-ui/core\"\nimport React, { useState } from \"react\"\nimport styled from \"styled-components\"\nimport { ErrorMessage, validateEmail } from \"../../../pages/register\"\nimport { makeApiCall } from \"../../../services/apiCall\"\nimport { ApiUrl } from \"../../../util/apiUrl\"\nimport { Button, SizeType } from \"../../Buttons/Buttons\"\nimport { Lightbox } from \"../../Lightbox/Lightbox\"\nimport { GFWSpinner } from \"../../spinner/spinner\"\n\ninterface EditEmailInterface {\n active: boolean\n setActive: any\n}\n\nexport const EditEmail: React.FC = ({ active, setActive }) => {\n const [checkEmail, setCheckEmail] = useState({ loading: false, isFree: false })\n const [submitting, setSubmitting] = useState(false)\n function isEmailTaken(email) {\n setCheckEmail({ loading: true, isFree: false })\n return makeApiCall(\"/check-email-exists\", { email }).then(res => {\n setCheckEmail({ loading: false, isFree: res.success })\n })\n }\n const getValidationClass = name => {\n if (errorState[name] === \"pass\") {\n return \"validation-success\"\n } else if (errorState[name] === \"\") {\n return \"\"\n } else {\n return \"validation-error\"\n }\n }\n const handleChange = e => {\n setState({ ...state, [e.target.name]: e.target.value })\n }\n const [state, setState] = useState({\n emailAddress: \"\",\n })\n\n const [errorState, setErrorState] = useState({\n emailAddress: \"\",\n })\n\n const inlineValidation = e => {\n const { value, name } = e.target\n let errorMessage = \"\"\n\n switch (name) {\n case \"emailAddress\":\n if (!validateEmail(value)) {\n errorMessage = \"Please enter a valid email address\"\n setErrorState({ ...errorState, [name]: errorMessage })\n break\n }\n if (!checkEmail.isFree) {\n errorMessage = \"This email is taken. Please choose another.\"\n setErrorState({ ...errorState, [name]: errorMessage })\n break\n } else {\n setErrorState({ ...errorState, [name]: \"pass\" })\n }\n break\n\n default:\n break\n }\n }\n\n const handleSubmit = e => {\n setSubmitting(true)\n setErrorState({\n emailAddress: \"\",\n })\n e.preventDefault()\n //Final validation\n //Check the first infomation\n //Check the title\n if (state.emailAddress === \"\") {\n setErrorState({\n ...errorState,\n emailAddress: \"Please enter your email address.\",\n })\n return\n }\n if (!validateEmail(state.emailAddress)) {\n setErrorState({\n ...errorState,\n emailAddress: \"Please enter a valid email address.\",\n })\n return\n }\n if (!checkEmail.isFree) {\n setErrorState({ ...errorState, emailAddress: \"This email is taken. Please choose another.\" })\n return\n }\n const data = { ...state }\n\n fetch(`${ApiUrl}/edit-email-address`, {\n method: \"POST\", // *GET, POST, PUT, DELETE, etc.\n mode: \"cors\", // no-cors, *cors, same-origin\n cache: \"no-cache\", // *default, no-cache, reload, force-cache, only-if-cached\n credentials: \"same-origin\", // include, *same-origin, omit\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: \"Api-Key 18475794-de56-4ff0-a685-3d591fb81661\",\n },\n body: JSON.stringify(data), // body data type must match \"Content-Type\" header\n })\n .then(response => {\n return response.json()\n })\n .then(data => {})\n .catch(e => {\n setSubmitting(false)\n })\n }\n\n return (\n \n \n \n Change Personal Details\n \n \n\n handleChange(e)}\n onBlur={e => isEmailTaken(e.target.value)}\n >\n \n {errorState.emailAddress !== \"pass\" && !checkEmail.loading ? errorState.emailAddress : \" \"}\n \n\n \n\n handleChange(e)}\n onBlur={e => isEmailTaken(e.target.value)}\n >\n \n {errorState.emailAddress !== \"pass\" && !checkEmail.loading ? errorState.emailAddress : \" \"}\n \n\n \n \n \n \n )\n}\n\nconst CardTitle = styled.h6`\n font-size: 20px;\n line-height: 25px;\n font-weight: 700;\n margin-bottom: 0px;\n`\n\nconst StyledCard = styled(Card)`\n max-width: 520px;\n`\n\nconst StyledCardContent = styled(CardContent)`\n padding: 45px;\n`\n\nconst HorizontalRule = styled.hr`\n margin-top: 8px;\n margin-bottom: 10px;\n`\n","import { Container } from \"@material-ui/core\"\nimport { graphql, Link, navigate, StaticQuery } from \"gatsby\"\nimport React, { useState } from \"react\"\nimport styled from \"styled-components\"\nimport { getUser, logout } from \"../../services/auth\"\nimport { ChangePassword } from \"./accountModals/ChangePassword\"\nimport { EditDetails } from \"./accountModals/EditDetails\"\nimport { EditEmail } from \"./accountModals/EditEmail\"\n\nexport const Account: React.FC = () => {\n const [editDetailsOpen, setEditDetailsOpen] = useState(false)\n const [editEmailOpen, setEditEmailOpen] = useState(false)\n const [changePasswordOpen, setChangePasswordOpen] = useState(false)\n\n return (\n {return(\n <>\n \n \n \n\n \n
Account Information
\n\n \n \n Account Details\n {\n event.preventDefault()\n logout(() => navigate(`/signed-out`))\n }}\n >\n Sign Out\n \n \n \n ABOUT YOU \n \n \n Name:\n \n \n {getUser().title} {getUser().firstName} {getUser().surname}\n \n { data.site.siteMetadata.amplifyBranch !== \"master\" ? \n {\n setEditDetailsOpen(true)\n }}\n >\n Edit details\n : <>}\n \n \n \n \n\n SIGN IN DETAILS \n \n \n Email:\n \n {getUser().emailAddress}\n\n { data.site.siteMetadata.amplifyBranch !== \"master\" ? \n {\n setEditEmailOpen(true)\n }}\n >\n Edit email\n : <>}\n\n \n \n \n \n Password:\n \n ********\n { data.site.siteMetadata.amplifyBranch !== \"master\" ? \n {\n setChangePasswordOpen(true)\n }}\n >\n Change Password\n : <>}\n \n \n \n \n \n \n
\n )}}/>\n )\n}\n\nconst EditInfo = styled.div`\n color: #0db0e7;\n font-size: 22px;\n line-height: 32px;\n &:hover {\n cursor: pointer;\n }\n @media (max-width: ${props => props.theme.breakpoints.md}) {\n font-size: 14px;\n line-height: 24px;\n }\n`\n\nconst Header = styled.h2`\n margin: 69px 0 80px;\n`\nconst Password = styled.span`\n padding-top: 7px;\n`\n\nconst AccountWrapper = styled.div`\n display: flex;\n flex-direction: row;\n width: 100%;\n margin: 0 auto 177px;\n\n @media (max-width: ${props => props.theme.breakpoints.md}) {\n flex-direction: column;\n margin: 0 auto 50px;\n }\n`\n\nconst LeftColumn = styled.div`\n display: flex;\n flex-direction: column;\n width: 30%;\n\n @media (max-width: ${props => props.theme.breakpoints.md}) {\n width: 100%;\n }\n`\nconst RightColumn = styled.div`\n display: flex;\n flex-direction: column;\n width: 70%;\n padding-left: 100px;\n\n @media (max-width: ${props => props.theme.breakpoints.md}) {\n width: 100%;\n padding-left: 0px;\n padding-top: 40px;\n }\n`\nconst LeftHeading = styled.p`\n padding: 24px 0;\n border-top: 1px solid #d9d9d9;\n border-bottom: 3px solid #0db0e7;\n color: #0db0e7;\n font-size: 18px;\n font-weight: 600;\n`\n\nconst SectionHeading = styled.p`\n overflow: hidden;\n position: relative;\n color: #4a4a4a;\n font-size: 16px;\n &::after {\n content: \"\";\n width: 100%;\n height: 1px;\n background: ${props => props.theme.lines.grey};\n position: absolute;\n top: 50%;\n margin-left: 1rem;\n }\n`\n\nconst InfoContainer = styled.div`\n padding-bottom: 40px;\n`\n\nconst InfoRow = styled.div`\n display: flex;\n flex-direction: row;\n`\nconst Title = styled.h5`\n width: 150px;\n color: ${props => props.theme.colors.grey1};\n text-transform: none;\n`\nconst Info = styled.div`\n display: flex;\n flex-direction: row;\n width: 100%;\n justify-content: space-between;\n text-transform: none;\n`\nconst Name = styled.h5`\n text-transform: none;\n`\n","import React, { useState } from \"react\"\nimport { Link, navigate } from \"gatsby\"\nimport { handleLogin, isLoggedIn } from \"../../services/auth\"\nimport styled from \"styled-components\"\nimport { validateEmail } from \"../../util/validateEmail\"\nimport { ErrorMessage } from \"../Form/ErrorMessageText\"\nimport { Container } from \"@material-ui/core\"\nimport Breadcrumb from \"../Breadcrumb\"\nimport { GFWSpinner } from \"../spinner/spinner\"\nexport const Login = ({ SuccessfulLogin }) => {\n const breadcrumbData = [\n {\n title: \"Home\",\n url: \"/\",\n },\n {\n title: \"Sign in\",\n url: \"/forgotten-password\",\n },\n ]\n const [submitting, setSubmitting] = useState(false)\n const [failed, setFailed] = useState(false)\n const [successful, setSuccessful] = useState(false)\n\n const [state, setState] = useState({\n username: ``,\n password: ``,\n })\n const [errorState, setErrorState] = useState({\n username: ``,\n password: ``,\n })\n const handleUpdate = event => {\n setState({ ...state, [event.target.name]: event.target.value })\n }\n\n const handleSubmit = event => {\n event.preventDefault()\n setSubmitting(true)\n handleLogin(state).then(r => {\n if (r === false || r === undefined) {\n setFailed(true)\n setSubmitting(false)\n return\n }\n\n if (isLoggedIn()) {\n setFailed(false)\n setSuccessful(true)\n setSubmitting(false)\n SuccessfulLogin()\n setTimeout(() => {\n navigate(`/events/account`)\n }, 1000)\n }\n })\n }\n\n function handleEmailBlur() {\n if (!validateEmail(state.username)) {\n setErrorState({\n ...errorState,\n username: \"Please enter a valid email address.\",\n })\n\n return\n } else {\n setErrorState({\n ...errorState,\n username: \"\",\n })\n }\n }\n return (\n <>\n
\n \n \n \n
\n \n \n
\n

WELCOME TO GRADUATE FASHION WEEK

\n Sign in to your account\n
\n {\n handleSubmit(event)\n }}\n >\n \n {errorState.username}\n \n {failed ? \"Incorrect email or password. Please try again.\" : \"\"}\n \n \n {submitting ? : null}\n {successful ? Login successful, redirecting... : null}\n \n \n \n {/* Not registered? Register to Graduate Fashion Week */}\n \n \n
\n
\n \n )\n}\n\nconst ForgottenPassword = styled(Link)`\n text-align: right;\n /* width:100%; */\n font-size: 18px;\n position: absolute;\n right: 0;\n`\n\nconst DivContainer = styled.div`\n /* border: 1px solid red; */\n margin: 120px auto;\n\n width: 100%;\n\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 0 20px;\n`\n\nconst SubHeading = styled.h5`\n text-transform: none;\n`\nconst Header = styled.div`\n margin: 0px auto 54px;\n text-align: center;\n`\nconst Form = styled.form`\n width: 100%;\n max-width: 660px;\n`\nconst SubmitButtonContainer = styled.div`\nposition: relative;\n width: 100%;\n display: flex;\n justify-content: space-around;\n /* border: 1px solid red; */\n`\nconst LinkContainer = styled.div`\n width: 100%;\n text-align: center;\n margin: 0 auto;\n font-weight: 500;\n`\n","import React from \"react\"\nimport { navigate } from \"gatsby\"\n\nconst PrivateRoute = ({ component: Component, location, loggedIn, ...rest }) => {\n if (!loggedIn && location.pathname !== `/events/login`) {\n navigate(\"/events/login\")\n return null\n }\n return \n}\nexport default PrivateRoute\n","import { Card, CardContent } from \"@material-ui/core\"\nimport React, { useState } from \"react\"\nimport styled from \"styled-components\"\n\nexport const EventPage: React.FC = ({ content }) => {\n let message = \"not logged in\"\n\n const [active, setActive] = useState(false)\n // if(!isLoggedIn()){\n // setActive(true)\n\n // }\n\n return (\n <>\n {content}\n {/*

{message}

*/}\n \n )\n}\n\nconst StyledCard = styled(Card)`\n max-width: 520px;\n`\n\nconst StyledCardContent = styled(CardContent)`\n padding: 50px;\n`\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport { Transition } from 'react-transition-group';\nimport withStyles from '../styles/withStyles';\nimport { duration } from '../styles/transitions';\nimport deprecatedPropType from '../utils/deprecatedPropType';\nimport { getTransitionProps } from '../transitions/utils';\nimport useTheme from '../styles/useTheme';\nimport { useForkRef } from '../utils';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n height: 0,\n overflow: 'hidden',\n transition: theme.transitions.create('height')\n },\n /* Styles applied to the root element when the transition has entered. */\n entered: {\n height: 'auto',\n overflow: 'visible'\n },\n /* Styles applied to the root element when the transition has exited and `collapsedSize` != 0px. */\n hidden: {\n visibility: 'hidden'\n },\n /* Styles applied to the outer wrapper element. */\n wrapper: {\n // Hack to get children with a negative margin to not falsify the height computation.\n display: 'flex'\n },\n /* Styles applied to the inner wrapper element. */\n wrapperInner: {\n width: '100%'\n }\n };\n};\n/**\n * The Collapse transition is used by the\n * [Vertical Stepper](/components/steppers/#vertical-stepper) StepContent component.\n * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.\n */\n\nvar Collapse = /*#__PURE__*/React.forwardRef(function Collapse(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n collapsedHeight = props.collapsedHeight,\n _props$collapsedSize = props.collapsedSize,\n collapsedSizeProp = _props$collapsedSize === void 0 ? '0px' : _props$collapsedSize,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$disableStrictM = props.disableStrictModeCompat,\n disableStrictModeCompat = _props$disableStrictM === void 0 ? false : _props$disableStrictM,\n inProp = props.in,\n onEnter = props.onEnter,\n onEntered = props.onEntered,\n onEntering = props.onEntering,\n onExit = props.onExit,\n onExited = props.onExited,\n onExiting = props.onExiting,\n style = props.style,\n _props$timeout = props.timeout,\n timeout = _props$timeout === void 0 ? duration.standard : _props$timeout,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Transition : _props$TransitionComp,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"collapsedHeight\", \"collapsedSize\", \"component\", \"disableStrictModeCompat\", \"in\", \"onEnter\", \"onEntered\", \"onEntering\", \"onExit\", \"onExited\", \"onExiting\", \"style\", \"timeout\", \"TransitionComponent\"]);\n var theme = useTheme();\n var timer = React.useRef();\n var wrapperRef = React.useRef(null);\n var autoTransitionDuration = React.useRef();\n var collapsedSize = typeof (collapsedHeight || collapsedSizeProp) === 'number' ? \"\".concat(collapsedHeight || collapsedSizeProp, \"px\") : collapsedHeight || collapsedSizeProp;\n React.useEffect(function () {\n return function () {\n clearTimeout(timer.current);\n };\n }, []);\n var enableStrictModeCompat = theme.unstable_strictMode && !disableStrictModeCompat;\n var nodeRef = React.useRef(null);\n var handleRef = useForkRef(ref, enableStrictModeCompat ? nodeRef : undefined);\n var normalizedTransitionCallback = function normalizedTransitionCallback(callback) {\n return function (nodeOrAppearing, maybeAppearing) {\n if (callback) {\n var _ref = enableStrictModeCompat ? [nodeRef.current, nodeOrAppearing] : [nodeOrAppearing, maybeAppearing],\n _ref2 = _slicedToArray(_ref, 2),\n node = _ref2[0],\n isAppearing = _ref2[1]; // onEnterXxx and onExitXxx callbacks have a different arguments.length value.\n\n if (isAppearing === undefined) {\n callback(node);\n } else {\n callback(node, isAppearing);\n }\n }\n };\n };\n var handleEnter = normalizedTransitionCallback(function (node, isAppearing) {\n node.style.height = collapsedSize;\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n });\n var handleEntering = normalizedTransitionCallback(function (node, isAppearing) {\n var wrapperHeight = wrapperRef.current ? wrapperRef.current.clientHeight : 0;\n var _getTransitionProps = getTransitionProps({\n style: style,\n timeout: timeout\n }, {\n mode: 'enter'\n }),\n transitionDuration = _getTransitionProps.duration;\n if (timeout === 'auto') {\n var duration2 = theme.transitions.getAutoHeightDuration(wrapperHeight);\n node.style.transitionDuration = \"\".concat(duration2, \"ms\");\n autoTransitionDuration.current = duration2;\n } else {\n node.style.transitionDuration = typeof transitionDuration === 'string' ? transitionDuration : \"\".concat(transitionDuration, \"ms\");\n }\n node.style.height = \"\".concat(wrapperHeight, \"px\");\n if (onEntering) {\n onEntering(node, isAppearing);\n }\n });\n var handleEntered = normalizedTransitionCallback(function (node, isAppearing) {\n node.style.height = 'auto';\n if (onEntered) {\n onEntered(node, isAppearing);\n }\n });\n var handleExit = normalizedTransitionCallback(function (node) {\n var wrapperHeight = wrapperRef.current ? wrapperRef.current.clientHeight : 0;\n node.style.height = \"\".concat(wrapperHeight, \"px\");\n if (onExit) {\n onExit(node);\n }\n });\n var handleExited = normalizedTransitionCallback(onExited);\n var handleExiting = normalizedTransitionCallback(function (node) {\n var wrapperHeight = wrapperRef.current ? wrapperRef.current.clientHeight : 0;\n var _getTransitionProps2 = getTransitionProps({\n style: style,\n timeout: timeout\n }, {\n mode: 'exit'\n }),\n transitionDuration = _getTransitionProps2.duration;\n if (timeout === 'auto') {\n var duration2 = theme.transitions.getAutoHeightDuration(wrapperHeight);\n node.style.transitionDuration = \"\".concat(duration2, \"ms\");\n autoTransitionDuration.current = duration2;\n } else {\n node.style.transitionDuration = typeof transitionDuration === 'string' ? transitionDuration : \"\".concat(transitionDuration, \"ms\");\n }\n node.style.height = collapsedSize;\n if (onExiting) {\n onExiting(node);\n }\n });\n var addEndListener = function addEndListener(nodeOrNext, maybeNext) {\n var next = enableStrictModeCompat ? nodeOrNext : maybeNext;\n if (timeout === 'auto') {\n timer.current = setTimeout(next, autoTransitionDuration.current || 0);\n }\n };\n return /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n in: inProp,\n onEnter: handleEnter,\n onEntered: handleEntered,\n onEntering: handleEntering,\n onExit: handleExit,\n onExited: handleExited,\n onExiting: handleExiting,\n addEndListener: addEndListener,\n nodeRef: enableStrictModeCompat ? nodeRef : undefined,\n timeout: timeout === 'auto' ? null : timeout\n }, other), function (state, childProps) {\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, classes.container, className, {\n 'entered': classes.entered,\n 'exited': !inProp && collapsedSize === '0px' && classes.hidden\n }[state]),\n style: _extends({\n minHeight: collapsedSize\n }, style),\n ref: handleRef\n }, childProps), /*#__PURE__*/React.createElement(\"div\", {\n className: classes.wrapper,\n ref: wrapperRef\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classes.wrapperInner\n }, children)));\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nCollapse.muiSupportAuto = true;\nexport default withStyles(styles, {\n name: 'MuiCollapse'\n})(Collapse);","import * as React from 'react';\n/**\n * @ignore - internal component.\n * @type {React.Context<{} | {expanded: boolean, disabled: boolean, toggle: () => void}>}\n */\n\nvar AccordionContext = React.createContext({});\nif (process.env.NODE_ENV !== 'production') {\n AccordionContext.displayName = 'AccordionContext';\n}\nexport default AccordionContext;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _toArray from \"@babel/runtime/helpers/esm/toArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport Collapse from '../Collapse';\nimport Paper from '../Paper';\nimport withStyles from '../styles/withStyles';\nimport AccordionContext from './AccordionContext';\nimport useControlled from '../utils/useControlled';\nexport var styles = function styles(theme) {\n var transition = {\n duration: theme.transitions.duration.shortest\n };\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative',\n transition: theme.transitions.create(['margin'], transition),\n '&:before': {\n position: 'absolute',\n left: 0,\n top: -1,\n right: 0,\n height: 1,\n content: '\"\"',\n opacity: 1,\n backgroundColor: theme.palette.divider,\n transition: theme.transitions.create(['opacity', 'background-color'], transition)\n },\n '&:first-child': {\n '&:before': {\n display: 'none'\n }\n },\n '&$expanded': {\n margin: '16px 0',\n '&:first-child': {\n marginTop: 0\n },\n '&:last-child': {\n marginBottom: 0\n },\n '&:before': {\n opacity: 0\n }\n },\n '&$expanded + &': {\n '&:before': {\n display: 'none'\n }\n },\n '&$disabled': {\n backgroundColor: theme.palette.action.disabledBackground\n }\n },\n /* Styles applied to the root element if `square={false}`. */\n rounded: {\n borderRadius: 0,\n '&:first-child': {\n borderTopLeftRadius: theme.shape.borderRadius,\n borderTopRightRadius: theme.shape.borderRadius\n },\n '&:last-child': {\n borderBottomLeftRadius: theme.shape.borderRadius,\n borderBottomRightRadius: theme.shape.borderRadius,\n // Fix a rendering issue on Edge\n '@supports (-ms-ime-align: auto)': {\n borderBottomLeftRadius: 0,\n borderBottomRightRadius: 0\n }\n }\n },\n /* Styles applied to the root element if `expanded={true}`. */\n expanded: {},\n /* Styles applied to the root element if `disabled={true}`. */\n disabled: {}\n };\n};\nvar Accordion = /*#__PURE__*/React.forwardRef(function Accordion(props, ref) {\n var childrenProp = props.children,\n classes = props.classes,\n className = props.className,\n _props$defaultExpande = props.defaultExpanded,\n defaultExpanded = _props$defaultExpande === void 0 ? false : _props$defaultExpande,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n expandedProp = props.expanded,\n onChange = props.onChange,\n _props$square = props.square,\n square = _props$square === void 0 ? false : _props$square,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Collapse : _props$TransitionComp,\n TransitionProps = props.TransitionProps,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"defaultExpanded\", \"disabled\", \"expanded\", \"onChange\", \"square\", \"TransitionComponent\", \"TransitionProps\"]);\n var _useControlled = useControlled({\n controlled: expandedProp,\n default: defaultExpanded,\n name: 'Accordion',\n state: 'expanded'\n }),\n _useControlled2 = _slicedToArray(_useControlled, 2),\n expanded = _useControlled2[0],\n setExpandedState = _useControlled2[1];\n var handleChange = React.useCallback(function (event) {\n setExpandedState(!expanded);\n if (onChange) {\n onChange(event, !expanded);\n }\n }, [expanded, onChange, setExpandedState]);\n var _React$Children$toArr = React.Children.toArray(childrenProp),\n _React$Children$toArr2 = _toArray(_React$Children$toArr),\n summary = _React$Children$toArr2[0],\n children = _React$Children$toArr2.slice(1);\n var contextValue = React.useMemo(function () {\n return {\n expanded: expanded,\n disabled: disabled,\n toggle: handleChange\n };\n }, [expanded, disabled, handleChange]);\n return /*#__PURE__*/React.createElement(Paper, _extends({\n className: clsx(classes.root, className, expanded && classes.expanded, disabled && classes.disabled, !square && classes.rounded),\n ref: ref,\n square: square\n }, other), /*#__PURE__*/React.createElement(AccordionContext.Provider, {\n value: contextValue\n }, summary), /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n in: expanded,\n timeout: \"auto\"\n }, TransitionProps), /*#__PURE__*/React.createElement(\"div\", {\n \"aria-labelledby\": summary.props.id,\n id: summary.props['aria-controls'],\n role: \"region\"\n }, children)));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nexport default withStyles(styles, {\n name: 'MuiAccordion'\n})(Accordion);","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _toArray(arr) {\n return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\n\n/* eslint-disable jsx-a11y/aria-role */\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport ButtonBase from '../ButtonBase';\nimport IconButton from '../IconButton';\nimport withStyles from '../styles/withStyles';\nimport AccordionContext from '../Accordion/AccordionContext';\nexport var styles = function styles(theme) {\n var transition = {\n duration: theme.transitions.duration.shortest\n };\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n minHeight: 8 * 6,\n transition: theme.transitions.create(['min-height', 'background-color'], transition),\n padding: theme.spacing(0, 2),\n '&:hover:not($disabled)': {\n cursor: 'pointer'\n },\n '&$expanded': {\n minHeight: 64\n },\n '&$focused, &$focusVisible': {\n backgroundColor: theme.palette.action.focus\n },\n '&$disabled': {\n opacity: theme.palette.action.disabledOpacity\n }\n },\n /* Pseudo-class applied to the root element, children wrapper element and `IconButton` component if `expanded={true}`. */\n expanded: {},\n /* Pseudo-class applied to the ButtonBase root element if the button is keyboard focused. */\n focused: {},\n /* Pseudo-class applied to the ButtonBase root element if the button is keyboard focused. */\n focusVisible: {},\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n /* Styles applied to the children wrapper element. */\n content: {\n display: 'flex',\n flexGrow: 1,\n transition: theme.transitions.create(['margin'], transition),\n margin: '12px 0',\n '&$expanded': {\n margin: '20px 0'\n }\n },\n /* Styles applied to the `IconButton` component when `expandIcon` is supplied. */\n expandIcon: {\n transform: 'rotate(0deg)',\n transition: theme.transitions.create('transform', transition),\n '&:hover': {\n // Disable the hover effect for the IconButton,\n // because a hover effect should apply to the entire Expand button and\n // not only to the IconButton.\n backgroundColor: 'transparent'\n },\n '&$expanded': {\n transform: 'rotate(180deg)'\n }\n }\n };\n};\nvar AccordionSummary = /*#__PURE__*/React.forwardRef(function AccordionSummary(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n expandIcon = props.expandIcon,\n focusVisibleClassName = props.focusVisibleClassName,\n _props$IconButtonProp = props.IconButtonProps,\n IconButtonProps = _props$IconButtonProp === void 0 ? {} : _props$IconButtonProp,\n onClick = props.onClick,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"expandIcon\", \"focusVisibleClassName\", \"IconButtonProps\", \"onClick\"]);\n var _React$useContext = React.useContext(AccordionContext),\n _React$useContext$dis = _React$useContext.disabled,\n disabled = _React$useContext$dis === void 0 ? false : _React$useContext$dis,\n expanded = _React$useContext.expanded,\n toggle = _React$useContext.toggle;\n var handleChange = function handleChange(event) {\n if (toggle) {\n toggle(event);\n }\n if (onClick) {\n onClick(event);\n }\n };\n return /*#__PURE__*/React.createElement(ButtonBase, _extends({\n focusRipple: false,\n disableRipple: true,\n disabled: disabled,\n component: \"div\",\n \"aria-expanded\": expanded,\n className: clsx(classes.root, className, disabled && classes.disabled, expanded && classes.expanded),\n focusVisibleClassName: clsx(classes.focusVisible, classes.focused, focusVisibleClassName),\n onClick: handleChange,\n ref: ref\n }, other), /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(classes.content, expanded && classes.expanded)\n }, children), expandIcon && /*#__PURE__*/React.createElement(IconButton, _extends({\n className: clsx(classes.expandIcon, expanded && classes.expanded),\n edge: \"end\",\n component: \"div\",\n tabIndex: null,\n role: null,\n \"aria-hidden\": true\n }, IconButtonProps), expandIcon));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nexport default withStyles(styles, {\n name: 'MuiAccordionSummary'\n})(AccordionSummary);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n padding: theme.spacing(1, 2, 2)\n }\n };\n};\nvar AccordionDetails = /*#__PURE__*/React.forwardRef(function AccordionDetails(props, ref) {\n var classes = props.classes,\n className = props.className,\n other = _objectWithoutProperties(props, [\"classes\", \"className\"]);\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nexport default withStyles(styles, {\n name: 'MuiAccordionDetails'\n})(AccordionDetails);","import MuiAccordion from \"@material-ui/core/Accordion\"\nimport MuiAccordionSummary from \"@material-ui/core/AccordionSummary\"\nimport MuiAccordionDetails from \"@material-ui/core/AccordionDetails\"\nimport { withStyles } from \"@material-ui/core/styles\"\nimport React, { useEffect, useState } from \"react\"\nimport styled from \"styled-components\"\nimport ExpandMoreIcon from \"@material-ui/icons/ExpandMore\"\nimport { DateTime } from \"luxon\"\nimport { ButtonSecondary, SizeType } from \"./Buttons/Buttons\"\nimport { v4 as uuidv4 } from \"uuid\"\ninterface ISchedule {\n data\n}\n\nconst Accordion = withStyles({\n root: {\n marginBottom: \"3px\",\n\n boxShadow: \"none\",\n \"&:not(:last-child)\": {\n borderBottom: 0,\n },\n \"&:before\": {\n display: \"none\",\n },\n \"&$expanded\": {\n margin: \"auto\",\n },\n },\n expanded: {},\n})(MuiAccordion)\n\nconst AccordionSummary = withStyles({\n root: {\n backgroundColor: \"rgba(0, 0, 0, .03)\",\n\n minHeight: 50,\n \"&$expanded\": {\n minHeight: 50,\n },\n },\n content: {\n \"&$expanded\": {\n margin: \"12px 0\",\n },\n },\n expanded: {\n backgroundColor: \"#0DB0E7\",\n color: \"white\",\n },\n})(MuiAccordionSummary)\n\nconst AccordionDetails = withStyles(theme => ({\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n padding: theme.spacing(2),\n },\n}))(MuiAccordionDetails)\n\nconst Schedule: React.FC = ({ data }) => {\n const initShowing = 5\n const [selected, setSelected] = useState(data[0])\n const [showFull, setShowFull] = useState(false)\n const [button, setButton] = useState(<>)\n\n const [expanded, setExpanded] = React.useState(\"-1\")\n\n const handleChange = panel => (event, newExpanded) => {\n setExpanded(newExpanded ? panel : false)\n }\n useEffect(() => {\n const buttonMes = !showFull ? \"SHOW FULL SCHEDULE\" : \"COLLAPSE SCHEDULE\"\n const b = (\n \n {buttonMes}\n \n )\n if (selected.data.length > 4) {\n setButton(b)\n } else {\n setButton(null)\n }\n }, [selected, showFull])\n\n const dateRadioButtons = data.map((v, i) => {\n const date = DateTime.fromISO(v.date)\n\n return (\n <>\n {\n setSelected(v)\n }}\n />\n \n {date.day}\n\n {date.toLocaleString({ month: \"long\", year: \"numeric\" })}\n \n \n )\n })\n\n const dateAccordions = data.map((v, i) => {\n const date = DateTime.fromISO(v.date)\n\n return (\n \n } aria-controls=\"panel1a-content\" id={i}>\n {date.day}\n {date.toLocaleString({ month: \"long\", year: \"numeric\" })}\n \n \n {v.data.map((v, i) => {\n const startTime = DateTime.fromISO(v[\"start-time\"])\n const endTime = DateTime.fromISO(v[\"end-time\"])\n if (!showFull && i > 3) {\n return\n }\n return (\n
\n \n {startTime.toLocaleString({ hour: \"numeric\", minute: \"2-digit\" })} -{\" \"}\n {endTime.toLocaleString({ hour: \"numeric\", minute: \"2-digit\" })}\n \n {v.description}\n
\n )\n })}\n {\n setShowFull(!showFull)\n }}\n >\n {button}\n \n
\n
\n )\n })\n\n return (\n \n \n \n \n {/* {subtitle} */}\n \n \n \n \n \n {/* */}\n {dateRadioButtons.map(v => v)}\n\n
\n {selected.data.map((v, i) => {\n const startTime = DateTime.fromISO(v[\"start-time\"])\n const endTime = DateTime.fromISO(v[\"end-time\"])\n\n if (!showFull && i > 4) {\n return\n }\n return (\n
\n \n {startTime.toLocaleString({ hour: \"numeric\", minute: \"2-digit\" })} -{\" \"}\n {endTime.toLocaleString({ hour: \"numeric\", minute: \"2-digit\" })}\n \n {v.description}\n
\n )\n })}\n {\n setShowFull(!showFull)\n }}\n >\n {button}\n
\n \n
\n {dateAccordions.map(v => v)}\n {/* */}\n
\n
\n )\n}\n\nexport default Schedule\n\nconst CrossHeadingContainer = styled.div`\n /* border: 1px solid red; */\n display: flex;\n /* align-items: center; */\n\n position: relative;\n left: -80px;\n @media (max-width: ${props => props.theme.breakpoints.lg}) {\n left: 0px;\n align-items: left;\n }\n @media (max-width: ${props => props.theme.breakpoints.md}) {\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n padding-bottom: 0px;\n }\n`\n\nconst CrossHeadingTitlesContainer = styled.div<{ titleWidth: string }>`\n /* border: 1px solid red; */\n min-width: 300px;\n display: flex;\n flex-direction: column;\n margin-left: -80px;\n width: 100%;\n`\n\nconst ScheduleContainer = styled.div`\n display: flex;\n flex-direction: column;\n width: 100%;\n`\nconst DesktopSchedule = styled.div`\n width: 100%;\n @media (max-width: ${props => props.theme.breakpoints.md}) {\n display: none;\n }\n`\nconst MobileSchedule = styled.div`\n @media (min-width: ${props => props.theme.breakpoints.md}) {\n display: none;\n }\n`\nconst RadioButtonsContainer = styled.div`\n width: 100%;\n display: flex !important;\n flex-direction: row !important;\n`\nconst Description = styled.p`\n max-width: 749px;\n color: #4a4a4a;\n font-family: \"Barlow Condensed\";\n font-size: 18px;\n letter-spacing: 0;\n line-height: 28px;\n @media (max-width: ${props => props.theme.breakpoints.md}) {\n line-height: 24px;\n width: 100%;\n font-size: 14px;\n }\n`\n\nconst CrossHeadingTitle = styled.h2`\n font-size: 50px;\n font-weight: 600;\n min-width: 320px;\n @media (max-width: 768px) {\n font-size: 30px;\n line-height: 33px;\n }\n`\n\nconst StartTime = styled.span`\n height: 30px;\n width: 95px;\n color: #0db0e7;\n font-family: \"Barlow Condensed\";\n font-size: 16px;\n letter-spacing: 0;\n line-height: 30px;\n`\n\nconst HeadingContainer = styled.div`\n display: flex;\n align-items: center;\n\n @media (max-width: ${props => props.theme.breakpoints.md}) {\n display: none;\n }\n`\n\nconst Cross = styled.div`\n max-width: 160px;\n max-height: 160px;\n width: 160px;\n height: 160px;\n @media (max-width: 768px) {\n width: 124px;\n height: 124px;\n }\n`\n\nconst DayLabel = styled.span`\n font-size: 40px;\n font-weight: 600;\n line-height: 40px;\n display: block;\n`\nconst MonthLabel = styled.span`\n font-size: 13px;\n font-weight: 500;\n line-height: 16px;\n`\n\nconst StyledRadioLabel = styled.label`\n padding-left: 0 !important;\n padding-right: 0 !important;\n display: flex !important;\n flex-direction: column !important;\n /* max-height: 90px !important;\nmax-width: 90px !important; */\n padding: 15px !important;\n min-height: 90px !important;\n width: auto !important;\n //min-width: 70px !important;\n`\nconst MobileDayLabel = styled.span`\n font-size: 18px;\n font-weight: 600;\n line-height: 30px;\n`\nconst MobileMonthLabel = styled.span`\n font-size: 18px;\n font-weight: 400;\n line-height: 30px;\n margin-left: 5px;\n text-transform: uppercase;\n`\n","import React, { useEffect, useState } from \"react\"\nimport styled from \"styled-components\"\n\nimport { Layout } from \"../components/layout\"\n\nimport { Router } from \"@reach/router\"\nimport PageHeading from \"../components/PageHeading/PageHeading\"\n\nimport { graphql } from \"gatsby\"\nimport { Account } from \"../components/authRoutes/account\"\nimport { Login } from \"../components/authRoutes/login\"\nimport { Card, CardContent, Container } from \"@material-ui/core\"\nimport PrivateRoute from \"../components/authRoutes/PrivateRoutes\"\n\nimport { EventPage } from \"../components/authRoutes/events\"\nimport { parse } from \"@wordpress/block-serialization-default-parser\"\nimport { LazyBlockFactory } from \"../util/LazyBlockFactory\"\nimport Schedule from \"../components/Schedule\"\nimport { EventsCarosel } from \"../components/EventsCarosel/EventsCarosel\"\nimport { Lightbox } from \"../components/Lightbox/Lightbox\"\nimport { testToken } from \"../services/apiCall\"\nimport { Button, ButtonSecondary, SizeType } from \"../components/Buttons/Buttons\"\nimport { isLoggedIn } from \"../services/auth\"\nconst breadcrumbData = [\n {\n title: \"Home\",\n url: \"/\",\n },\n {\n title: \"Event\",\n url: \"/events\",\n },\n]\n\nconst Event: React.FC = ({ data, location }) => {\n\n const events = data.allWpEvent.edges.map(v => v.node)\n\n let groupedEvents = events.reduce((groups, event) => {\n const splitString = event.events.timeOfEvent.split(' ');\n const date = splitString[0];\n if(!groups[date]) groups[date] = [];\n groups[date].push(event);\n return groups;\n }, {});\n\n let eventsAsArray = Object.entries(groupedEvents)\n\n eventsAsArray.sort((a,b) => {\n const firstDate = a[0]\n const secondDate = b[0]\n function rearrangeDate(date:string){\n const items = date.split(\"/\")\n return items[2]+items[1]+items[0]\n }\n return rearrangeDate(firstDate) - rearrangeDate(secondDate)\n })\n\n eventsAsArray.reverse()\n\n const eventsPage = parse(data.wpPage.lazy_data)\n const scheduleBlocks = eventsPage.filter(v => v.blockName === \"lazyblock/event-schedule-unit\")\n const formatted = scheduleBlocks.map(v => {\n return { date: v.attrs.date, data: JSON.parse(decodeURI(v.attrs[\"event-contents\"])) }\n })\n // Other blocks\n const blocks = LazyBlockFactory(data.wpPage.lazy_data, data.wpPage.title)\n const [active, setActive] = useState(false)\n const [video, setVideo] = useState({ title: \"\", url: \"\" })\n const [loggedIn, setIsLoggedIn] = useState(undefined)\n useEffect(() => {\n let mount = true\n if (mount) {\n testToken()\n setIsLoggedIn(isLoggedIn())\n }\n return () => {\n mount = false\n }\n }, [])\n\n const SuccessfulLogin = () => {\n setIsLoggedIn(isLoggedIn())\n }\n\n const eventsPageContent = (\n <>\n \n \n \n

Watch GFW live event

\n

\n To get access to watching our live event lorem ipsum dolor sit amet, consectetur adipiscing elit sed do\n eiusmod tempor event lorem ipsum dolor sit amet, consectetur adipiscing elit sed do eiusmod tempor.\n

\n
\n \n Sign In\n \n \n
\n
\n
\n
\n \n \n {blocks.map((v, i) => {\n if (i == 7) {\n return (\n <>\n \n {v}\n \n )\n } else {\n return v\n }\n })}\n \n {/* {console.log(Object.entries(sortedEvents))} */}\n {eventsAsArray.map((v,i)=>{\n // console.log(v)\n // console.log(v[1])\n return(\n \n )})}\n \n \n )\n\n if (loggedIn === undefined) {\n return (\n \n
Loading
\n
\n )\n } else {\n return (\n \n \n \n \n \n \n \n )\n }\n}\n\nexport default Event\nconst StyledCard = styled(Card)`\n max-width: 520px;\n`\n\nconst StyledCardContent = styled(CardContent)`\n padding: 50px;\n`\n\nexport const pageQuery = graphql`\n query events {\n wpPage(title: { eq: \"EVENT & LIVESTREAM\" }) {\n id\n title\n content\n lazy_data\n }\n allWpEvent {\n edges {\n node {\n id\n title\n events {\n vimeoUrl\n timeOfEvent\n featuredImage {\n localFile {\n childImageSharp {\n gatsbyImageData(width: 400, layout: CONSTRAINED)\n }\n }\n }\n }\n }\n }\n }\n }\n`\n","export function validateEmail(email) {\n const re = /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/\n return re.test(String(email).toLowerCase())\n}\n"],"names":["_interopRequireDefault","_interopRequireWildcard","exports","React","_default","default","createElement","d","data","Container","map","item","key","LinkBreadcrumb","to","url","title","styled","props","theme","breakpoints","sm","md","color","Link","colors","turquoise","setActive","setVideo","useState","shadow","setShadow","date","DateTime","events","timeOfEvent","diff","UniversityCardContainer","onClick","vimeoUrl","StyledCard","elevation","onMouseOver","onMouseOut","upcoming","days","toString","ImgContainer","className","DarkBackgorund","G","image","featuredImage","localFile","childImageSharp","gatsbyImageData","style","height","width","imgStyle","objectFit","loading","alt","PortfolioInfoBox","Tag","PortfolioName","PortfolioDesc","toLocaleString","day","month","year","Card","EventsCarosel","setSlides","padding","active","video","useLayoutEffect","updateSize","window","innerWidth","addEventListener","removeEventListener","Lightbox","src","allow","frameBorder","webkitallowfullscreen","mozallowfullscreen","allowFullScreen","ContainerS","LetterHeading","SwiperContainer","slidesPerView","navigation","scrollbar","hide","SwipperWrapper","id","i","ErrorMessage","children","e","stopPropagation","textAlign","position","breadcrumbData","pageTitle","FullWidth","BreadCrumbContainer","PageTitlePattern","PageTitleContainer","CardContent","ref","classes","_props$component","component","Component","other","root","withStyles","paddingBottom","name","ChangePassword","submitting","password","confirmPassword","state","setState","length","UpperLower","number","matching","passwordValiation","setPasswordValidation","handlePasswordValidiation","target","value","validation","search","errorState","StyledCardContent","CardTitle","HorizontalRule","type","onChange","Columns","PasswordStrength","RoundTickStyled","RoundCrossStyled","display","justifyContent","alignItems","size","marginLeft","thickness","disableShrink","RoundTick","RoundCross","EditDetails","handleChange","setSubmitting","getValidationClass","inlineValidation","errorMessage","setErrorState","firstName","surname","titleRadioButtons","htmlFor","onSubmit","preventDefault","fetch","ApiUrl","method","mode","cache","credentials","headers","Authorization","body","JSON","stringify","then","response","json","console","log","catch","v","onBlur","SizeType","customwidth","marginTop","EditEmail","isFree","checkEmail","setCheckEmail","isEmailTaken","email","makeApiCall","res","success","emailAddress","Account","editDetailsOpen","setEditDetailsOpen","editEmailOpen","setEditEmailOpen","changePasswordOpen","setChangePasswordOpen","StaticQuery","query","render","border","Header","AccountWrapper","LeftColumn","LeftHeading","event","logout","navigate","RightColumn","SectionHeading","InfoContainer","InfoRow","Title","Info","Name","getUser","site","siteMetadata","amplifyBranch","EditInfo","Password","lines","grey","grey1","Login","SuccessfulLogin","failed","setFailed","successful","setSuccessful","username","handleUpdate","backgroundColor","maxWidth","Breadcrumb","DivContainer","SubHeading","Form","handleLogin","r","undefined","isLoggedIn","setTimeout","handleSubmit","validateEmail","ForgottenPassword","SubmitButtonContainer","bottom","textSize","LinkContainer","location","loggedIn","rest","pathname","EventPage","content","Collapse","collapsedHeight","_props$collapsedSize","collapsedSize","collapsedSizeProp","_props$disableStrictM","disableStrictModeCompat","inProp","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","_props$timeout","timeout","_props$TransitionComp","TransitionComponent","Transition","useTheme","timer","wrapperRef","autoTransitionDuration","concat","clearTimeout","current","enableStrictModeCompat","unstable_strictMode","nodeRef","handleRef","useForkRef","normalizedTransitionCallback","callback","nodeOrAppearing","maybeAppearing","_ref","_ref2","node","isAppearing","handleEnter","handleEntering","wrapperHeight","clientHeight","transitionDuration","duration","duration2","transitions","getAutoHeightDuration","handleEntered","handleExit","handleExited","handleExiting","addEndListener","nodeOrNext","maybeNext","next","childProps","container","entered","hidden","minHeight","wrapper","wrapperInner","muiSupportAuto","overflow","transition","create","visibility","Accordion","arr","childrenProp","_props$defaultExpande","defaultExpanded","_props$disabled","disabled","expandedProp","expanded","_props$square","square","TransitionProps","_useControlled","useControlled","controlled","_useControlled2","setExpandedState","_React$Children$toArr","_React$Children$toArr2","arrayWithHoles","iterableToArray","unsupportedIterableToArray","nonIterableRest","summary","slice","contextValue","toggle","Paper","rounded","role","shortest","left","top","right","opacity","palette","divider","margin","marginBottom","action","disabledBackground","borderRadius","borderTopLeftRadius","shape","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","AccordionSummary","expandIcon","focusVisibleClassName","_props$IconButtonProp","IconButtonProps","_React$useContext","_React$useContext$dis","ButtonBase","focusRipple","disableRipple","focusVisible","focused","IconButton","edge","tabIndex","spacing","cursor","focus","disabledOpacity","flexGrow","transform","AccordionDetails","boxShadow","borderBottom","MuiAccordion","MuiAccordionSummary","flexDirection","MuiAccordionDetails","selected","setSelected","showFull","setShowFull","button","setButton","setExpanded","useEffect","buttonMes","b","dateRadioButtons","checked","StyledRadioLabel","DayLabel","MonthLabel","dateAccordions","panel","newExpanded","uuidv4","ExpandMore","MobileDayLabel","MobileMonthLabel","startTime","endTime","StartTime","hour","minute","Description","description","CrossHeadingContainer","HeadingContainer","Cross","CrossHeadingTitlesContainer","CrossHeadingTitle","ScheduleContainer","DesktopSchedule","RadioButtonsContainer","MobileSchedule","lg","groupedEvents","allWpEvent","edges","reduce","groups","split","push","eventsAsArray","Object","entries","sort","a","firstDate","secondDate","rearrangeDate","items","reverse","formatted","parse","wpPage","lazy_data","filter","blockName","attrs","decodeURI","blocks","LazyBlockFactory","setIsLoggedIn","mount","testToken","eventsPageContent","PageHeading","Router","basepath","path","test","String","toLowerCase"],"sourceRoot":""}