{"version":3,"sources":["images/icon_Search.png","components/becomeInstructorModal/loadable.js","images/BGcarouselLanding.svg","containers/searchBar/styles.js","components/rolePopup/loadable.js","containers/searchBar/modalMobileNoti.js","containers/searchBar/RoleSelector.js","containers/searchBar/SearchInput.js","images/Social Icon_Website.svg","images/icons/IconLandingPage/ListLandingWhite.svg","images/icons/IconLandingPage/SearchLandingWhite.svg","images/icons/IconLandingPage/SearchLandingBlue.svg","images/icons/IconLandingPage/StudentLandingBlue.svg","images/icons/IconLandingPage/TeacherLandingBlue.svg","images/icons/IconLandingPage/LoginLandingBlue.svg","images/icons/IconLandingPage/LoginLandingWhite.svg"],"names":["Loadable","loader","loading","ContainerAvatar","styled","div","SearchBarContainer","isHide","isShowShadow","isFeedPage","css","SearchBarTop","props","theme","gray6","primary2","SearchFormContainer","SearchLabel","button","grey","ButtonLang","Button","primary5","LanguageGroup","NotiIcon","Icon","NotiContainer","Div","Checkbox","background","CloseIcon","overlay","zIndex","top","content","borderRadius","border","padding","overflow","left","right","bottom","ModalMobileNoti","isOpen","handleTogglePopup","onClose","style","position","width","height","backgroundColor","onClick","onRequestClose","handleToggle","CustomButton","RoleSelector","role","this","isTeacherPath","id","secondary","reverse","icon","className","Component","initFilter","categories","subCategories","levels","types","prices","WrapSearchInput","withRouter","location","inputRef","useRef","useEffect","current","focus","query","qs","parse","search","ignoreQueryPrefix","useState","pathname","searchType","q","searchInput","setSearchInput","onSearch","history","closeSearch","queryString","stringify","push","onClickCustom","refs","isIcon","isPadding","placeholder","defaultValue","onChange","event","target","value","onKeyPress","e","keyCode","which","preventDefault","isBorder","connect","state","courseCategories","CourseCategories","getCourseCategories","getCourseCategoriesWithCount","useHistory","windowWidth","useWindowSize","showSearchInput","setShowSearchInput","subCategoryOptions","setSubCategoryOptions","filter","setFilter","freeCourse","setFreeCourse","gesOption","categoryOption","count","map","name","label","categoryOptions","length","category","find","includes","subcategories","item","handleFilterCategories","arrayName","newFilter","_","cloneDeep","handleClickFreeCourse","a","prev","minWidth","maxWidth","display","src","SearchIcon","alt","contentStyle","transform","justifyContent","paddingBottom","bold","fontSize","CancelIcon","flexDirection","alignItems","isStyle","gap","options","checked","margin","color","primary","type","encodeValuesOnly","searchFilterCategories"],"mappings":"kHAAe,swY,kCCAf,qBAEeA,QAAS,CACtBC,OAAQ,kBAAM,kCACdC,QAAS,kBAAM,S,kCCJF,QAA0B,+C,ikBCGlC,IAAMC,EAAkBC,UAAOC,IAAV,kIAOfC,EAAqBF,UAAOC,IAAV,iZAClB,qBAAGE,OAAuB,OAAS,UAMhC,qBAAGC,aACA,sCAAwC,UAIvD,YACA,OADoB,EAAjBC,WAEMC,cAAP,kFAKKA,cAAP,6BAeSC,EAAeP,UAAOC,IAAV,4/BAMb,SAACO,GAAD,OAAWA,EAAMC,MAAMC,SAOvB,SAACF,GAAD,OAAWA,EAAMC,MAAME,YAuChB,qBAAGF,MAAkB,eAyB3BG,GALkBZ,UAAOC,IAAV,+DAKOD,UAAOC,IAAV,sSAmFnBY,GAxBab,UAAOc,OAAV,6YAMX,SAACN,GAAD,OAAWA,EAAMC,MAAMM,QAkBRf,UAAOC,IAAV,wOAalBe,EAAahB,kBAAOiB,IAAPjB,CAAH,icAIL,SAACQ,GAAD,OAAWA,EAAMC,MAAMC,SAQhB,SAACF,GAAD,OAAWA,EAAMC,MAAMS,YAC5B,SAACV,GAAD,OAAWA,EAAMC,MAAME,YAYpB,SAACH,GAAD,OAAWA,EAAMC,MAAME,YAI1BQ,EAAgBnB,UAAOC,IAAV,wHAObmB,EAAWpB,kBAAOqB,IAAPrB,CAAH,6DAKRsB,EAAgBtB,UAAOC,IAAV,4NAYbsB,EAAMvB,UAAOC,IAAV,yFAMHuB,EAAWxB,UAAOC,IAAV,4rDAMjB,YACA,MAAmB,WADC,EAAjBwB,WAEMnB,cAAP,6DAIKA,cAAP,6BAyGSoB,GAjCY1B,UAAOC,IAAV,imBAiCGD,UAAOC,IAAV,yG,kCCzYtB,qBAEeL,QAAS,CACtBC,OAAQ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aEOQDM2gv0Yh6fc1hzog21iAWhVKWUchuGXA13+TcyhVzfkvkmlDkCTxnEswzD8OwJ3SX9Ma+ZrD/RBpQ5ABqWUKeCnn6cz/jrTEH9pIcxXhDoAaZRSzoZhmH5e7vg73cY+7mNsftMUoQ5AOqWU6RjU09hqdvVz35GuUyf9FN5TNX7ZUlV+H6EOAElolAOAJIQ6ACQh1AEgCaEOAEkIdQBIQqgDQBJCHQCSEOoAkIRQB4AkhDoAJCHUASAJoQ4ASQh1AEhCqANABsMw/H/t1FcNvsh4lwAAAABJRU5ErkJggg==\"","import Loadable from 'react-loadable'\n\nexport default Loadable({\n loader: () => import('./index'),\n loading: () => null,\n})\n","export default __webpack_public_path__ + \"static/media/BGcarouselLanding.08967fb8.svg\";","import styled, { css } from 'styled-components'\nimport { Dropdown, Button, Typography, Icon } from '../../components'\n\nexport const ContainerAvatar = styled.div`\n margin-left: 16px;\n cursor: pointer;\n @media (max-width: 426px) {\n margin-left: 14px;\n }\n`\nexport const SearchBarContainer = styled.div`\n display: ${({ isHide }) => (isHide ? 'none' : 'flex')};\n flex-direction: column;\n min-height: 68px;\n height: 68px;\n padding: 8px 150px;\n z-index: 103;\n box-shadow: ${({ isShowShadow }) =>\n isShowShadow ? '0px 1px 2px 0px rgba(0, 0, 0, 0.05)' : 'none'};\n background-color: white;\n position: fixed;\n width: 100%;\n ${({ isFeedPage }) => {\n if (isFeedPage) {\n return css`\n position: fixed;\n width: 100%;\n `\n }\n return css``\n }}\n @media (max-width: 1024px) {\n padding: 8px 50px;\n }\n\n @media (max-width: 768px) {\n padding: 8px 20px;\n }\n\n .popup {\n z-index: 20;\n }\n`\n\nexport const SearchBarTop = styled.div`\n flex: 1;\n display: flex;\n align-items: center;\n\n .notification-icon {\n fill: ${(props) => props.theme.gray6};\n width: 32px;\n height: 32px;\n margin-top: 12px;\n }\n\n .notification-icon:hover {\n fill: ${(props) => props.theme.primary2};\n }\n\n .row {\n display: flex;\n align-items: center;\n }\n\n > :first-child {\n margin-left: 0px;\n }\n\n .centre {\n display: flex;\n align-items: center;\n }\n\n .justify {\n justify-content: space-evenly;\n @media (max-width: 660px) {\n justify-content: flex-end;\n }\n }\n\n .full {\n flex: 1;\n }\n\n img:hover {\n cursor: pointer;\n }\n\n /* > :last-child:hover {\n cursor: pointer;\n } */\n\n @media (max-width: 1024px) {\n button {\n padding: 0px;\n font-size: ${({ theme }) => theme['text-xxs']};\n }\n\n img {\n width: 20px;\n height: 20px;\n }\n\n > :not(:last-child) {\n margin-right: 10px;\n }\n\n > :last-child {\n width: 30px;\n height: 30px;\n /* margin-right: 10px; */\n }\n }\n`\n\nexport const SearchBarBottom = styled.div`\n display: relative;\n width: 0;\n`\n\nexport const SearchFormContainer = styled.div`\n flex: 1;\n display: flex;\n align-items: center;\n position: relative;\n max-width: 1000px;\n @media (max-width: 768px) {\n max-width: 768px;\n justify-content: flex-start;\n }\n @media (max-width: 660px) {\n justify-content: space-between;\n }\n`\n\nexport const PopupModal = {\n overlay: {\n background: 'transparent',\n zIndex: '10',\n position: 'relative',\n width: '100%',\n height: '100vh',\n },\n content: {\n position: 'absolute',\n padding: '0',\n border: 'none',\n borderRadius: '6px',\n width: '210px',\n left: 'auto',\n top: '72px',\n bottom: 'auto',\n right: '35px',\n boxShadow: '0 2px 12px 0 rgba(0, 0, 0, 0.2)',\n },\n}\n\nexport const NotificationModal = {\n overlay: {\n background: 'transparent',\n zIndex: '10',\n position: 'relative',\n width: '100vw',\n height: '100vh',\n },\n content: {\n position: 'absolute',\n padding: '0',\n border: 'none',\n borderRadius: '6px',\n width: '380px',\n left: 'auto',\n top: '72px',\n bottom: 'auto',\n right: '90px',\n boxShadow: '0 2px 12px 0 rgba(0, 0, 0, 0.2)',\n },\n}\n\nexport const IconButton = styled.button`\n border: none;\n background: transparent;\n outline: none;\n margin-left: 8px;\n svg {\n fill: ${(props) => props.theme.grey};\n }\n .search-icon {\n position: absolute;\n right: 15px;\n top: 50%;\n transform: translateY(-50%);\n width: 18px;\n height: 18px;\n\n @media (max-width: 768px) {\n right: 25px;\n width: 15px;\n height: 15px;\n }\n }\n`\n\nexport const SearchLabel = styled.div`\n background-color: transparent;\n border-radius: 50%;\n svg {\n width: 16px;\n height: 16px;\n position: relative;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n`\n\nconst ButtonLang = styled(Button)`\n border: 0px solid transparent;\n box-shadow: none;\n height: 30px;\n color: ${(props) => props.theme.gray6};\n padding: 0 15px;\n font-weight: 450;\n border-radius: 20px;\n background: #fff;\n\n :hover {\n border: 0px solid transparent;\n background: ${(props) => props.theme.primary5};\n color: ${(props) => props.theme.primary2};\n }\n\n img {\n width: 14px;\n height: 14px;\n margin-right: 9px;\n top: 0;\n right: 0;\n }\n\n // :hover img {\n // color: ${(props) => props.theme.primary2};\n // }\n`\n\nexport const LanguageGroup = styled.div`\n display: flex;\n position: relative;\n margin-left: 7px;\n justify-content: flex-end;\n`\n\nexport const NotiIcon = styled(Icon)`\n width: 22px;\n height: 22px;\n`\n\nexport const NotiContainer = styled.div`\n position: relative;\n /* width: 30px; */\n margin-left: 16px;\n margin-right: 16px;\n cursor: pointer;\n @media (max-width: 660px) {\n margin-left: 14px;\n margin-right: 0;\n }\n`\n\nexport const Div = styled.div`\n display: flex;\n flex-direction: column;\n width: 100%;\n`\n\nexport const Checkbox = styled.div`\n display: flex;\n align-items: center;\n @media (max-width: 660px) {\n min-width: 100%;\n }\n ${({ background }) => {\n if (background === 'mobile') {\n return css`\n margin-top: 16px;\n `\n }\n return css``\n }}\n padding: 12px;\n border-radius: 6px;\n\n background: #eef0ff4d;\n\n &:hover {\n opacity: 100%;\n background: #eef0ff;\n }\n cursor: pointer;\n & > input {\n width: 16px;\n height: 16px;\n margin-right: 10px;\n }\n .ant-checkbox-input {\n border-color: #5a69fe !important;\n &:hover {\n border-color: #5a69fe !important;\n }\n }\n\n .ant-checkbox-input:focus + .ant-checkbox-inner {\n border-color: #5a69fe !important;\n &:hover {\n border-color: #5a69fe !important;\n }\n }\n .ant-checkbox-wrapper:hover {\n border-color: #5a69fe !important;\n }\n .ant-checkbox .ant-checkbox-wrapper {\n border-color: #5a69fe !important;\n }\n .ant-checkbox-inner {\n border-radius: 4px !important;\n &::after {\n top: 45%;\n }\n &:hover {\n /* background-color: #5a69fe !important; */\n border-color: #5a69fe !important;\n }\n }\n .ant-checkbox-wrapper:hover .ant-checkbox-inner,\n .ant-checkbox:hover .ant-checkbox-inner,\n .ant-checkbox-input:focus + .ant-checkbox-inner {\n border-color: #5a69fe !important;\n }\n .ant-checkbox-checked {\n border-radius: 4px !important;\n background-color: #5a69fe !important;\n &:hover {\n background-color: #5a69fe !important;\n }\n\n &::after {\n border-radius: 4px !important;\n border-color: #5a69fe !important;\n }\n }\n .ant-checkbox-checked .ant-checkbox-inner {\n background-color: #5a69fe !important;\n border-color: #5a69fe !important;\n &:hover {\n background-color: #5a69fe !important;\n }\n }\n`\n\nexport const SelectCat = styled.div`\n display: flex;\n flex-wrap: wrap;\n flex-direction: column;\n @media (max-width: 460px) {\n width: 100%;\n justify-content: space-between;\n }\n @media (min-width: 768px) {\n justify-content: flex-end;\n }\n > div {\n margin-left: 10px;\n width: 200px;\n > div {\n width: auto;\n border-radius: 5px;\n }\n\n @media (max-width: 768px) {\n width: 150px;\n }\n @media (max-width: 460px) {\n margin-left: 0px;\n width: 49%;\n }\n @media (max-width: 360px) {\n margin-left: 0px;\n width: 47%;\n }\n }\n`\n\nexport const CloseIcon = styled.div`\n height: max-content;\n img {\n width: 25px;\n height: 25px;\n }\n`\n\nexport { Typography, Dropdown, ButtonLang }\n","import Loadable from 'react-loadable'\n\nexport default Loadable({\n loader: () => import('./index'),\n loading: () => null,\n})\n","// import { Button } from 'components'\nimport React from 'react'\nimport ReactModal from 'react-modal'\nimport ErrorBoundary from '../../components/errorBoundary'\nimport NotificationPopup from '../../components/notificationPopup/loadable'\n\nconst overlay = {\n zIndex: 1000,\n top: 68,\n}\nconst content = {\n borderRadius: 8,\n border: '0px #fff',\n padding: 0,\n overflow: 'hidden',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n}\n\nconst ModalMobileNoti = ({ isOpen = false, handleTogglePopup, onClose }) => {\n return (\n \n {isOpen && (\n onClose()}\n />\n )}\n \n handleTogglePopup('showNotiPopup')} />\n \n \n )\n}\n\nexport default ModalMobileNoti\n","import React, { Component } from 'react'\nimport styled from 'styled-components'\nimport { IoIosArrowDown } from 'react-icons/io'\nimport Button from '../../components/button'\n\nconst CustomButton = styled(Button)`\n border: 0px solid transparent;\n box-shadow: none;\n height: 48px;\n color: ${(props) => props.theme.gray6};\n padding: 0 16px;\n font-weight: 450;\n border-radius: 20px;\n .icon {\n fill: ${(props) => props.theme.gray6};\n }\n\n :hover {\n border: 0px solid transparent;\n background: ${(props) => props.theme.primary5};\n }\n\n :hover .icon {\n fill: ${(props) => props.theme.primary2};\n }\n\n @media (max-width: 768px) {\n display: none;\n }\n`\n\nclass RoleSelector extends Component {\n render() {\n const { isTeacherPath } = this.props\n const role = isTeacherPath ? 'Instructor' : 'Learner'\n return (\n }\n data-intro=\"changeRoleButton\"\n >\n {role}\n \n )\n }\n}\n\nexport default RoleSelector\n\nexport const roleMenus = [\n {\n label: 'Instructor',\n link: '/teacher',\n },\n {\n label: 'Learner',\n link: '/browse/courses',\n },\n]\n","/* eslint-disable react-hooks/exhaustive-deps */\n/* eslint-disable prettier/prettier */\nimport React, { useState, useEffect, useRef } from 'react'\nimport { withRouter, useHistory } from 'react-router-dom'\nimport { useWindowSize } from 'react-use'\nimport qs from 'qs'\nimport { Custom } from '../../utils/displayResponsive'\nimport Input from '../../components/searchInput'\nimport Icon from '../../components/icon'\nimport Modal from '../../components/modal'\nimport { SearchFormContainer, SearchLabel, Div, Checkbox, CloseIcon } from './styles'\nimport PureTypography from 'components/typography'\nimport { Checkbox as CheckInput } from 'antd'\nimport { Select, Typography, Button } from '../../components'\nimport SearchIcon from '../../images/icon_Search.png'\nimport CancelIcon from '../../images/ic-cancelbtn-gray-24-px.svg'\nimport { connect } from 'react-redux'\nimport _ from 'lodash'\n\nconst initFilter = {\n categories: [],\n subCategories: [],\n levels: [],\n types: [],\n prices: [],\n}\n\nconst SearchInput = (props) => {\n const { location, width } = props\n const inputRef = useRef()\n\n useEffect(() => {\n if (inputRef.current) inputRef.current.focus()\n }, [])\n\n const query = qs.parse(location.search, { ignoreQueryPrefix: true })\n const [searchType] = useState(location.pathname === '/browse/schools' ? 'Academy' : 'Course')\n const [searchInput, setSearchInput] = useState(query.q || '')\n\n const onSearch = () => {\n const { history, closeSearch } = props\n if (closeSearch) {\n closeSearch()\n }\n if (searchType === 'Course') {\n if (searchInput) {\n const queryString = qs.stringify({\n ...qs.parse(location.search, { ignoreQueryPrefix: true }),\n q: searchInput,\n })\n history.push(`/browse/courses?${queryString}`)\n } else {\n history.push(`/browse/courses`)\n }\n } else if (searchType === 'Academy') {\n if (searchInput) {\n history.push(`/browse/schools?q=${searchInput}`)\n } else {\n history.push(`/browse/schools`)\n }\n }\n }\n\n const handleSearchInput = (event) => {\n setSearchInput(event.target.value)\n }\n\n const handleEnterSearch = (e) => {\n const code = e.keyCode ? e.keyCode : e.which\n if (code === 13) {\n e.preventDefault()\n onSearch()\n }\n }\n\n return (\n
\n \n
\n )\n}\n\nconst WrapSearchInput = withRouter(SearchInput)\n\nconst Search = (props) => {\n const inputRef = useRef()\n const history = useHistory()\n const { width: windowWidth } = useWindowSize()\n const { width, courseCategories, getCourseCategories } = props\n const [showSearchInput, setShowSearchInput] = useState(false)\n const [subCategoryOptions, setSubCategoryOptions] = useState([])\n const [filter, setFilter] = useState(initFilter)\n const [freeCourse, setFreeCourse] = useState(false)\n const [searchType] = useState(location.pathname === '/browse/schools' ? 'Academy' : 'Course')\n const query = qs.parse(location.search, { ignoreQueryPrefix: true })\n const [searchInput, setSearchInput] = useState(query.q || '')\n\n useEffect(() => {\n getCourseCategories()\n }, [])\n\n useEffect(() => {\n gesOption()\n }, [courseCategories, filter])\n\n const categoryOption = courseCategories\n .filter(({ count }) => {\n return !!count\n })\n .map(({ name, id, count }) => {\n return {\n value: id,\n label: `${name} (${count})`,\n }\n })\n\n const categoryOptions = [{ value: 'all', label: 'All Categories' }, ...categoryOption]\n\n const gesOption = () => {\n if (filter?.categories?.length > 0 && courseCategories?.length > 0) {\n const category = courseCategories?.find(({ id }) => filter?.categories?.includes(id))\n setSubCategoryOptions(\n category?.subcategories\n .filter((item) => item.count > 0)\n .map(({ id, name, count }) => ({\n value: id,\n label: `${name} ${count ? `(${count})` : ''}`,\n }))\n )\n }\n }\n\n const handleFilterCategories = (arrayName, value) => {\n const isHave = ['categories', 'subCategories'].includes(arrayName)\n if (!isHave) return null\n const filterClone = _.cloneDeep(filter)\n const newFilter = filterClone\n switch (arrayName) {\n case 'categories':\n if (value === 'all') {\n newFilter[arrayName] = []\n } else {\n newFilter[arrayName] = [value]\n }\n newFilter.subCategories = []\n break\n case 'subCategories':\n newFilter[arrayName] = [value]\n break\n default:\n break\n }\n setFilter(newFilter)\n }\n\n const handleClickFreeCourse = async () => {\n setFreeCourse((prev) => ({ freeCourse: !prev.freeCourse }))\n }\n\n const searchFilterCategories = () => {\n setShowSearchInput(false)\n if (!freeCourse.freeCourse) {\n filter.prices = []\n setFilter(filter)\n } else {\n filter.prices = ['free']\n setFilter(filter)\n }\n const query = qs.stringify(filter, { encodeValuesOnly: true })\n const { closeSearch } = props\n if (closeSearch) {\n closeSearch()\n }\n if (searchType === 'Course') {\n if (searchInput && query) {\n history.push(`/browse/courses?q=${searchInput}&${query}`)\n } else if (query) {\n history.push(`/browse/courses?${query}`)\n } else if (searchInput) {\n history.push(`/browse/courses?q=${searchInput}`)\n } else {\n history.push(`/browse/courses`)\n }\n } else if (searchType === 'Academy') {\n if (searchInput) {\n history.push(`/browse/schools?q=${searchInput}`)\n } else {\n history.push(`/browse/schools`)\n }\n }\n }\n\n const handleSearchInput = (event) => {\n setSearchInput(event.target.value)\n }\n\n return (\n <>\n {/* normal mode */}\n \n \n \n\n {/* to modal */}\n \n setShowSearchInput(true)} style={{ display: 'none' }}>\n \n \n 425 ? 340 : '80%',\n height: 'fit-content',\n borderRadius: 15,\n padding: 24,\n }}\n >\n
\n
\n \n Search Course\n \n
\n setShowSearchInput(false)}>\n \"cancel\"\n \n
\n \n
\n \n
\n
\n \n Search By category\n \n
\n
\n
\n filter?.categories?.includes(value)) || null\n }\n onChange={({ value }) => handleFilterCategories('categories', value)}\n options={categoryOptions}\n />\n \n filter?.subCategories?.includes(value)\n ) || null\n }\n onChange={({ value }) => handleFilterCategories('subCategories', value)}\n options={subCategoryOptions}\n />\n
\n
\n \n \n\n
\n \n Free Course Only\n \n
\n
\n
\n
\n
\n \n \n \n
\n \n )\n}\n\nconst mapState = (state) => {\n const {\n CourseCategories: { courseCategories },\n } = state\n return {\n courseCategories,\n }\n}\n\nconst mapDispatch = ({ CourseCategories: { getCourseCategoriesWithCount } }) => ({\n getCourseCategories: getCourseCategoriesWithCount,\n})\n\nexport default connect(mapState, mapDispatch)(Search)\n","export default __webpack_public_path__ + \"static/media/Social Icon_Website.23aa2890.svg\";","export default __webpack_public_path__ + \"static/media/ListLandingWhite.cba94422.svg\";","export default __webpack_public_path__ + \"static/media/SearchLandingWhite.d10f1428.svg\";","export default __webpack_public_path__ + \"static/media/SearchLandingBlue.503ae03a.svg\";","export default __webpack_public_path__ + \"static/media/StudentLandingBlue.fa7113f6.svg\";","export default __webpack_public_path__ + \"static/media/TeacherLandingBlue.db3d2d7a.svg\";","export default __webpack_public_path__ + \"static/media/LoginLandingBlue.28c21ae3.svg\";","export default __webpack_public_path__ + \"static/media/LoginLandingWhite.df44e078.svg\";"],"sourceRoot":""}