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AO,SACPC,IAAI,sBACJC,aAAW,yDAEX,GAAAxB,EAAAC,GAAA,EAACwB,IAAKA,CACJC,IACE,oHAEFC,MAAO,GACPC,OAAQ,GACRC,IAAI,iDAIR,GAAA7B,EAAAC,GAAA,EAACoB,IAAAA,CACCN,KAAK,2CACLO,OAAO,SACPC,IAAI,sBACJC,aAAW,yDAEX,GAAAxB,EAAAC,GAAA,EAACwB,IAAKA,CACJC,IACE,iHAEFC,MAAO,GACPC,OAAQ,GACRC,IAAI,+CAKR,GAAA7B,EAAAC,GAAA,EAACoB,IAAAA,CACCN,KAAK,4CACLO,OAAO,SACPC,IAAI,sBACJC,aAAW,yDAEX,GAAAxB,EAAAC,GAAA,EAACwB,IAAKA,CACJC,IACE,oHAEFC,MAAO,GACPC,OAAQ,GACRC,IAAI,6DAWxB","sources":["webpack://_N_E/./layouts/SideNav.tsx","webpack://_N_E/<anon>"],"sourcesContent":["const Link = dynamic(() => import('next/link'));\nimport Image from 'next/image';\nimport {\n ProSidebar,\n Menu,\n MenuItem,\n SubMenu,\n SidebarContent,\n SidebarFooter\n} from 'react-pro-sidebar';\nimport 'react-pro-sidebar/dist/css/styles.css';\nimport styled from 'styled-components';\nimport FaceBookIcon from '../assets/svg/aifillfb.svg';\n// import TwitterIcon from '../assets/svg/aifilltwittersquare.svg';\n// import InstagramIcon from '../assets/svg/fainstagramsquare.svg';\n// import YoutubeIcon from '../assets/svg/fayoutubesquare.svg';\nimport dynamic from 'next/dynamic';\nimport { useAuthContext } from '../utils/context/authContext';\n\ninterface IProps {\n isOpen: boolean;\n setOpen: React.Dispatch<React.SetStateAction<boolean>>;\n setOpenMyTours: React.Dispatch<React.SetStateAction<boolean>>;\n blogCity: any;\n updateBlogCity: any;\n}\ninterface ParentDiv {\n open: boolean;\n}\nconst Parent_Div = styled.div<ParentDiv>`\n body {\n overflow: ${props => (props.open ? 'hidden ' : 'scroll')}!important;\n }\n`;\nconst SideNav_Wrapper = styled.div`\n .pro-sidebar .pro-menu .pro-menu-item > .pro-inner-item > .pro-item-content {\n font-size: 20px !important;\n }\n .pro-sidebar .pro-menu .pro-menu-item > .pro-inner-item {\n padding: 12px 35px 12px 20px;\n }\n .pro-sidebar {\n height: calc(100vh - 62px);\n position: fixed;\n transition: width, left, right, 0.3s;\n\n .pro-sidebar-layout {\n ul {\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n }\n }\n\n .pro-menu {\n height: 100%;\n padding-bottom: 25px;\n }\n }\n .pro-sidebar-inner {\n background: #56b8e7;\n .pro-sidebar-content {\n margin-left: 20px;\n .pro-menu {\n a {\n color: #fffdfd;\n }\n a:hover {\n color: #d9d9d9;\n }\n a::before {\n content: none;\n }\n .pro-menu-item {\n font-size: 1.4rem;\n }\n .pro-menu-item:hover {\n background-color: #423dd6;\n }\n }\n }\n .pro-sidebar-footer {\n .pro-menu {\n .pro-menu-item {\n .pro-inner-item {\n padding: 10px 20px;\n .pro-item-content {\n display: flex;\n justify-content: center;\n gap: 13px;\n\n a::before {\n content: none;\n }\n\n svg {\n font-size: 20px;\n color: white;\n }\n svg:hover {\n color: #d9d6d6;\n }\n }\n }\n }\n }\n }\n }\n`;\nconst SideNav = ({\n isOpen,\n setOpen,\n setOpenMyTours,\n blogCity,\n updateBlogCity\n}: IProps) => {\n const { handleLogout, user }: any = useAuthContext();\n return (\n <Parent_Div\n id=\"nav-overlay\"\n className={\n !isOpen\n ? 'hidden'\n : 'h-[100vh] w-[100%] bg-[#56b8e7] bg-opacity-40 fixed min-h-screen top-[63px] md:top-[70px] left-0'\n }\n onClick={() => setOpen(false)}\n open={isOpen}\n >\n <SideNav_Wrapper className=\"left-0\">\n <ProSidebar collapsed={!isOpen}>\n <SidebarContent>\n {user && user.emailVerified && (\n <div className=\"flex flex-col gap-1 p-5 pb-0\">\n <h2 className=\"text-white text-xl font-normal\">\n {user?.displayName}\n </h2>\n <span className=\"text-sm font-normal text-white opacity-70\">\n {user?.email}\n </span>\n <div className=\"h-[0.5px] mt-3 opacity-[0.20] bg-white\"></div>\n </div>\n )}\n <Menu>\n <Link href=\"/things-to-do\" onClick={() => setOpen(true)}>\n <MenuItem className=\"text-base\">Things To Do</MenuItem>\n </Link>\n <Link\n href={blogCity ? `/${blogCity}` : '/'}\n onClick={() => {\n setOpen(true);\n updateBlogCity(undefined);\n }}\n >\n <MenuItem className=\"text-base\">Tours</MenuItem>\n </Link>\n {/* <Link href=\"/\" onClick={() => setOpen(true)}>\n <MenuItem className=\"text-base\">Become a Tripshepherd</MenuItem>\n </Link> */}\n\n <Link href=\"/private-tours\" onClick={() => setOpen(true)}>\n <MenuItem className=\"text-base\">Private Tours</MenuItem>\n </Link>\n <Link href=\"/cities\" onClick={() => setOpen(true)}>\n <MenuItem className=\"text-base\">Cities</MenuItem>\n </Link>\n <Link href=\"/guides\" onClick={() => setOpen(true)}>\n <MenuItem className=\"text-base\">Guides</MenuItem>\n </Link>\n <Link href=\"/reviews\" onClick={() => setOpen(true)}>\n <MenuItem className=\"text-base\">Reviews</MenuItem>\n </Link>\n <Link href=\"/about\" onClick={() => setOpen(true)}>\n <MenuItem className=\"text-base\">About Us</MenuItem>\n </Link>\n\n <Link href=\"/contact\" onClick={() => setOpen(true)}>\n <MenuItem className=\"text-base\">Contact Us</MenuItem>\n </Link>\n <Link href=\"/careers\" onClick={() => setOpen(true)}>\n <MenuItem className=\"text-base\">Careers</MenuItem>\n </Link>\n\n <span\n onClick={() => {\n setOpenMyTours(true);\n setOpen(true);\n }}\n className=\"text-white text-base\"\n >\n <MenuItem className=\"\">My Bookings</MenuItem>\n </span>\n {user && user.emailVerified ? (\n <Link href=\"/\" onClick={handleLogout}>\n <MenuItem className=\"\">Log Out</MenuItem>\n </Link>\n ) : (\n <Link href=\"/signin\">\n <MenuItem className=\"\">Sign In</MenuItem>\n </Link>\n )}\n </Menu>\n </SidebarContent>\n <SidebarFooter className=\"mt-12\">\n <Menu iconShape=\"circle\">\n <MenuItem>\n <a\n href=\"https://www.facebook.com/NiagaraFallsTours\"\n target=\"_blank\"\n rel=\"noreferrer noopener\"\n aria-label=\"This is an external link (opens in a new tab)\"\n className=\"inline\"\n >\n <Image\n src={\n 'https://res.cloudinary.com/see-sight-tours/image/upload/v1686740252/Remaining%20images/Footer/fb_ncxnkv.svg'\n }\n width={35}\n height={30}\n alt=\"https://www.facebook.com/NiagaraFallsTours\"\n />\n {/* <FaceBookIcon /> */}\n </a>\n <a\n href=\"https://www.youtube.com/user/SeeSightTours\"\n target=\"_blank\"\n rel=\"noreferrer noopener\"\n aria-label=\"This is an external link (opens in a new tab)\"\n >\n <Image\n src={\n 'https://res.cloudinary.com/see-sight-tours/image/upload/v1686740252/Remaining%20images/Footer/youtubes_nubcep.svg'\n }\n width={35}\n height={30}\n alt=\"https://www.youtube.com/user/SeeSightTours\"\n />\n {/* <YoutubeIcon /> */}\n </a>\n <a\n href=\"https://www.instagram.com/seesighttours/\"\n target=\"_blank\"\n rel=\"noreferrer noopener\"\n aria-label=\"This is an external link (opens in a new tab)\"\n >\n <Image\n src={\n 'https://res.cloudinary.com/see-sight-tours/image/upload/v1686740252/Remaining%20images/Footer/insta_lx84yb.svg'\n }\n width={35}\n height={30}\n alt=\"https://www.instagram.com/seesighttours/\"\n />\n {/* <InstagramIcon /> */}\n </a>\n\n <a\n href=\"https://twitter.com/seesighttours?lang=en\"\n target=\"_blank\"\n rel=\"noreferrer noopener\"\n aria-label=\"This is an external link (opens in a new tab)\"\n >\n <Image\n src={\n 'https://res.cloudinary.com/see-sight-tours/image/upload/v1686740252/Remaining%20images/Footer/ltwitter_ymqtzy.svg'\n }\n width={35}\n height={30}\n alt=\"https://twitter.com/seesighttours?lang=en\"\n />\n {/* <TwitterIcon /> */}\n </a>\n </MenuItem>\n </Menu>\n </SidebarFooter>\n </ProSidebar>\n </SideNav_Wrapper>\n </Parent_Div>\n );\n};\n\nexport default SideNav;\n"],"names":["Link","dynamic","Promise","resolve","then","__webpack_require__","t","bind","Parent_Div","styled","div","withConfig","props","open","SideNav_Wrapper","__webpack_exports__","isOpen","setOpen","setOpenMyTours","blogCity","updateBlogCity","param","handleLogout","user","useAuthContext","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__","jsx","id","className","onClick","jsxs","ProSidebar","collapsed","SidebarContent","emailVerified","h2","displayName","span","email","Menu","href","MenuItem","concat","undefined","SidebarFooter","iconShape","a","target","rel","aria-label","Image","src","width","height","alt"],"sourceRoot":""}