Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

5488 рядки
174 KiB

  1. module.exports =
  2. /******/ (function(modules) { // webpackBootstrap
  3. /******/ // The module cache
  4. /******/ var installedModules = require('../../../../../ssr-module-cache.js');
  5. /******/
  6. /******/ // The require function
  7. /******/ function __webpack_require__(moduleId) {
  8. /******/
  9. /******/ // Check if module is in cache
  10. /******/ if(installedModules[moduleId]) {
  11. /******/ return installedModules[moduleId].exports;
  12. /******/ }
  13. /******/ // Create a new module (and put it into the cache)
  14. /******/ var module = installedModules[moduleId] = {
  15. /******/ i: moduleId,
  16. /******/ l: false,
  17. /******/ exports: {}
  18. /******/ };
  19. /******/
  20. /******/ // Execute the module function
  21. /******/ var threw = true;
  22. /******/ try {
  23. /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  24. /******/ threw = false;
  25. /******/ } finally {
  26. /******/ if(threw) delete installedModules[moduleId];
  27. /******/ }
  28. /******/
  29. /******/ // Flag the module as loaded
  30. /******/ module.l = true;
  31. /******/
  32. /******/ // Return the exports of the module
  33. /******/ return module.exports;
  34. /******/ }
  35. /******/
  36. /******/
  37. /******/ // expose the modules object (__webpack_modules__)
  38. /******/ __webpack_require__.m = modules;
  39. /******/
  40. /******/ // expose the module cache
  41. /******/ __webpack_require__.c = installedModules;
  42. /******/
  43. /******/ // define getter function for harmony exports
  44. /******/ __webpack_require__.d = function(exports, name, getter) {
  45. /******/ if(!__webpack_require__.o(exports, name)) {
  46. /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
  47. /******/ }
  48. /******/ };
  49. /******/
  50. /******/ // define __esModule on exports
  51. /******/ __webpack_require__.r = function(exports) {
  52. /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
  53. /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
  54. /******/ }
  55. /******/ Object.defineProperty(exports, '__esModule', { value: true });
  56. /******/ };
  57. /******/
  58. /******/ // create a fake namespace object
  59. /******/ // mode & 1: value is a module id, require it
  60. /******/ // mode & 2: merge all properties of value into the ns
  61. /******/ // mode & 4: return value when already ns object
  62. /******/ // mode & 8|1: behave like require
  63. /******/ __webpack_require__.t = function(value, mode) {
  64. /******/ if(mode & 1) value = __webpack_require__(value);
  65. /******/ if(mode & 8) return value;
  66. /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
  67. /******/ var ns = Object.create(null);
  68. /******/ __webpack_require__.r(ns);
  69. /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
  70. /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
  71. /******/ return ns;
  72. /******/ };
  73. /******/
  74. /******/ // getDefaultExport function for compatibility with non-harmony modules
  75. /******/ __webpack_require__.n = function(module) {
  76. /******/ var getter = module && module.__esModule ?
  77. /******/ function getDefault() { return module['default']; } :
  78. /******/ function getModuleExports() { return module; };
  79. /******/ __webpack_require__.d(getter, 'a', getter);
  80. /******/ return getter;
  81. /******/ };
  82. /******/
  83. /******/ // Object.prototype.hasOwnProperty.call
  84. /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  85. /******/
  86. /******/ // __webpack_public_path__
  87. /******/ __webpack_require__.p = "";
  88. /******/
  89. /******/
  90. /******/ // Load entry module and return exports
  91. /******/ return __webpack_require__(__webpack_require__.s = 35);
  92. /******/ })
  93. /************************************************************************/
  94. /******/ ({
  95. /***/ "/jkW":
  96. /***/ (function(module, exports, __webpack_require__) {
  97. "use strict";
  98. Object.defineProperty(exports, "__esModule", {
  99. value: true
  100. }); // Identify /[param]/ in route string
  101. const TEST_ROUTE = /\/\[[^/]+?\](?=\/|$)/;
  102. function isDynamicRoute(route) {
  103. return TEST_ROUTE.test(route);
  104. }
  105. exports.isDynamicRoute = isDynamicRoute;
  106. /***/ }),
  107. /***/ "0Bsm":
  108. /***/ (function(module, exports, __webpack_require__) {
  109. "use strict";
  110. var _interopRequireDefault = __webpack_require__("AroE");
  111. exports.__esModule = true;
  112. exports.default = withRouter;
  113. var _react = _interopRequireDefault(__webpack_require__("cDcd"));
  114. var _router = __webpack_require__("nOHt");
  115. function withRouter(ComposedComponent) {
  116. function WithRouterWrapper(props) {
  117. return _react.default.createElement(ComposedComponent, Object.assign({
  118. router: (0, _router.useRouter)()
  119. }, props));
  120. }
  121. WithRouterWrapper.getInitialProps = ComposedComponent.getInitialProps // This is needed to allow checking for custom getInitialProps in _app
  122. ;
  123. WithRouterWrapper.origGetInitialProps = ComposedComponent.origGetInitialProps;
  124. if (false) { var name; }
  125. return WithRouterWrapper;
  126. }
  127. /***/ }),
  128. /***/ "0G1C":
  129. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  130. "use strict";
  131. // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
  132. var nextjs_material_kit = __webpack_require__("eDSW");
  133. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/tooltipsStyle.js
  134. const tooltipsStyle = {
  135. tooltip: {
  136. padding: "10px 15px",
  137. minWidth: "130px",
  138. color: "#555555",
  139. lineHeight: "1.7em",
  140. background: "#FFFFFF",
  141. border: "none",
  142. borderRadius: "3px",
  143. boxShadow: "0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2)",
  144. maxWidth: "200px",
  145. textAlign: "center",
  146. fontFamily: '"Helvetica Neue",Helvetica,Arial,sans-serif',
  147. fontSize: "0.875em",
  148. fontStyle: "normal",
  149. fontWeight: "400",
  150. textShadow: "none",
  151. textTransform: "none",
  152. letterSpacing: "normal",
  153. wordBreak: "normal",
  154. wordSpacing: "normal",
  155. wordWrap: "normal",
  156. whiteSpace: "normal",
  157. lineBreak: "auto"
  158. }
  159. };
  160. /* harmony default export */ var nextjs_material_kit_tooltipsStyle = (tooltipsStyle);
  161. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/headerLinksStyle.js
  162. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
  163. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
  164. function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
  165. const headerLinksStyle = theme => _objectSpread({
  166. list: _objectSpread({}, nextjs_material_kit["g" /* defaultFont */], {
  167. fontSize: "14px",
  168. margin: 0,
  169. paddingLeft: "0",
  170. listStyle: "none",
  171. paddingTop: "0",
  172. paddingBottom: "0",
  173. color: "inherit"
  174. }),
  175. listItem: {
  176. float: "left",
  177. color: "inherit",
  178. position: "relative",
  179. display: "block",
  180. width: "auto",
  181. margin: "0",
  182. padding: "0",
  183. [theme.breakpoints.down("sm")]: {
  184. width: "100%",
  185. "&:after": {
  186. width: "100%",
  187. content: '""',
  188. display: "block",
  189. height: "1px",
  190. backgroundColor: "#e5e5e5"
  191. }
  192. }
  193. },
  194. listItemText: {
  195. padding: "0 !important"
  196. },
  197. navLink: {
  198. color: "inherit",
  199. position: "relative",
  200. padding: "0.9375rem",
  201. fontWeight: "400",
  202. fontSize: "12px",
  203. textTransform: "uppercase",
  204. borderRadius: "3px",
  205. lineHeight: "20px",
  206. textDecoration: "none",
  207. margin: "0px",
  208. display: "inline-flex",
  209. "&:hover,&:focus": {
  210. color: "inherit",
  211. background: "rgba(200, 200, 200, 0.2)"
  212. },
  213. [theme.breakpoints.down("sm")]: {
  214. width: "calc(100% - 30px)",
  215. marginLeft: "15px",
  216. marginBottom: "8px",
  217. marginTop: "8px",
  218. textAlign: "left",
  219. "& > span:first-child": {
  220. justifyContent: "flex-start"
  221. }
  222. }
  223. },
  224. notificationNavLink: {
  225. [theme.breakpoints.down("md")]: {
  226. top: "0",
  227. margin: "5px 15px"
  228. },
  229. color: "#FFF",
  230. fontWeight: "400",
  231. fontSize: "12px",
  232. textTransform: "uppercase",
  233. lineHeight: "20px",
  234. textDecoration: "none",
  235. margin: "0px",
  236. display: "inline-flex",
  237. top: "4px"
  238. },
  239. registerNavLink: {
  240. [theme.breakpoints.down("md")]: {
  241. top: "0",
  242. margin: "5px 15px"
  243. },
  244. top: "3px",
  245. position: "relative",
  246. fontWeight: "400",
  247. fontSize: "12px",
  248. textTransform: "uppercase",
  249. lineHeight: "20px",
  250. textDecoration: "none",
  251. margin: "0px",
  252. display: "inline-flex"
  253. },
  254. navLinkActive: {
  255. color: "inherit",
  256. backgroundColor: "rgba(255, 255, 255, 0.1)"
  257. },
  258. icons: {
  259. width: "20px",
  260. height: "20px",
  261. marginRight: "3px"
  262. },
  263. socialIcons: {
  264. position: "relative",
  265. fontSize: "20px !important",
  266. marginRight: "4px"
  267. },
  268. dropdownLink: {
  269. "&,&:hover,&:focus": {
  270. color: "inherit",
  271. textDecoration: "none",
  272. display: "block",
  273. padding: "10px 20px"
  274. }
  275. }
  276. }, nextjs_material_kit_tooltipsStyle, {
  277. marginRight5: {
  278. marginRight: "5px"
  279. }
  280. });
  281. /* harmony default export */ var components_headerLinksStyle = __webpack_exports__["a"] = (headerLinksStyle);
  282. /***/ }),
  283. /***/ "0LMq":
  284. /***/ (function(module, exports) {
  285. module.exports = require("@material-ui/core/List");
  286. /***/ }),
  287. /***/ "2kat":
  288. /***/ (function(module, exports) {
  289. module.exports = require("@material-ui/icons");
  290. /***/ }),
  291. /***/ "2zww":
  292. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  293. "use strict";
  294. // EXPORTS
  295. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ CardHeader; });
  296. // EXTERNAL MODULE: external "react"
  297. var external_react_ = __webpack_require__("cDcd");
  298. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  299. // EXTERNAL MODULE: external "classnames"
  300. var external_classnames_ = __webpack_require__("K2gz");
  301. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  302. // EXTERNAL MODULE: external "@material-ui/core/styles"
  303. var styles_ = __webpack_require__("9Pu4");
  304. // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
  305. var nextjs_material_kit = __webpack_require__("eDSW");
  306. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/cardHeaderStyle.js
  307. const cardHeaderStyle = {
  308. cardHeader: {
  309. borderRadius: "3px",
  310. padding: "1rem 15px",
  311. marginLeft: "15px",
  312. marginRight: "15px",
  313. marginTop: "-30px",
  314. border: "0",
  315. marginBottom: "0"
  316. },
  317. cardHeaderPlain: {
  318. marginLeft: "0px",
  319. marginRight: "0px"
  320. },
  321. warningCardHeader: nextjs_material_kit["y" /* warningCardHeader */],
  322. successCardHeader: nextjs_material_kit["t" /* successCardHeader */],
  323. dangerCardHeader: nextjs_material_kit["e" /* dangerCardHeader */],
  324. infoCardHeader: nextjs_material_kit["l" /* infoCardHeader */],
  325. primaryCardHeader: nextjs_material_kit["o" /* primaryCardHeader */]
  326. };
  327. /* harmony default export */ var components_cardHeaderStyle = (cardHeaderStyle);
  328. // CONCATENATED MODULE: ./components/Card/CardHeader.js
  329. var __jsx = external_react_default.a.createElement;
  330. function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
  331. function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
  332. function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
  333. // nodejs library that concatenates classes
  334. // nodejs library to set properties for components
  335. // @material-ui/core components
  336. // @material-ui/icons
  337. // core components
  338. const useStyles = Object(styles_["makeStyles"])(components_cardHeaderStyle);
  339. function CardHeader(props) {
  340. const classes = useStyles();
  341. const {
  342. className,
  343. children,
  344. color,
  345. plain
  346. } = props,
  347. rest = _objectWithoutProperties(props, ["className", "children", "color", "plain"]);
  348. const cardHeaderClasses = external_classnames_default()({
  349. [classes.cardHeader]: true,
  350. [classes[color + "CardHeader"]]: color,
  351. [classes.cardHeaderPlain]: plain,
  352. [className]: className !== undefined
  353. });
  354. return __jsx("div", _extends({
  355. className: cardHeaderClasses
  356. }, rest), children);
  357. }
  358. /***/ }),
  359. /***/ "31Yn":
  360. /***/ (function(module, exports) {
  361. module.exports = require("@material-ui/core/ClickAwayListener");
  362. /***/ }),
  363. /***/ 35:
  364. /***/ (function(module, exports, __webpack_require__) {
  365. module.exports = __webpack_require__("7cGL");
  366. /***/ }),
  367. /***/ "3REV":
  368. /***/ (function(module, exports) {
  369. module.exports = require("@material-ui/icons/LocalGroceryStore");
  370. /***/ }),
  371. /***/ "4151":
  372. /***/ (function(module, exports) {
  373. module.exports = require("@material-ui/core/AppBar");
  374. /***/ }),
  375. /***/ "4D1s":
  376. /***/ (function(module, exports) {
  377. module.exports = require("@material-ui/icons/Menu");
  378. /***/ }),
  379. /***/ "6Yxu":
  380. /***/ (function(module, exports) {
  381. module.exports = require("@material-ui/core/Tab");
  382. /***/ }),
  383. /***/ "7KCV":
  384. /***/ (function(module, exports, __webpack_require__) {
  385. var _typeof = __webpack_require__("C+bE");
  386. function _getRequireWildcardCache() {
  387. if (typeof WeakMap !== "function") return null;
  388. var cache = new WeakMap();
  389. _getRequireWildcardCache = function _getRequireWildcardCache() {
  390. return cache;
  391. };
  392. return cache;
  393. }
  394. function _interopRequireWildcard(obj) {
  395. if (obj && obj.__esModule) {
  396. return obj;
  397. }
  398. if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") {
  399. return {
  400. "default": obj
  401. };
  402. }
  403. var cache = _getRequireWildcardCache();
  404. if (cache && cache.has(obj)) {
  405. return cache.get(obj);
  406. }
  407. var newObj = {};
  408. var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
  409. for (var key in obj) {
  410. if (Object.prototype.hasOwnProperty.call(obj, key)) {
  411. var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
  412. if (desc && (desc.get || desc.set)) {
  413. Object.defineProperty(newObj, key, desc);
  414. } else {
  415. newObj[key] = obj[key];
  416. }
  417. }
  418. }
  419. newObj["default"] = obj;
  420. if (cache) {
  421. cache.set(obj, newObj);
  422. }
  423. return newObj;
  424. }
  425. module.exports = _interopRequireWildcard;
  426. /***/ }),
  427. /***/ "7cGL":
  428. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  429. "use strict";
  430. // ESM COMPAT FLAG
  431. __webpack_require__.r(__webpack_exports__);
  432. // EXPORTS
  433. __webpack_require__.d(__webpack_exports__, "getServerSideProps", function() { return /* binding */ getServerSideProps; });
  434. // EXTERNAL MODULE: external "react"
  435. var external_react_ = __webpack_require__("cDcd");
  436. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  437. // EXTERNAL MODULE: external "classnames"
  438. var external_classnames_ = __webpack_require__("K2gz");
  439. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  440. // EXTERNAL MODULE: external "@material-ui/core/styles"
  441. var styles_ = __webpack_require__("9Pu4");
  442. // EXTERNAL MODULE: ./components/Header/Header.js + 1 modules
  443. var Header = __webpack_require__("8x5e");
  444. // EXTERNAL MODULE: ./components/Header/HeaderHonda.js
  445. var HeaderHonda = __webpack_require__("Qpk+");
  446. // EXTERNAL MODULE: ./components/Footer/FooterHonda.js
  447. var FooterHonda = __webpack_require__("9Dzl");
  448. // EXTERNAL MODULE: ./components/Parallax/Parallax.js + 1 modules
  449. var Parallax = __webpack_require__("Z2Lm");
  450. // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit/pages/components.js
  451. var components = __webpack_require__("bhG4");
  452. // EXTERNAL MODULE: external "@material-ui/icons/Dashboard"
  453. var Dashboard_ = __webpack_require__("vFf/");
  454. var Dashboard_default = /*#__PURE__*/__webpack_require__.n(Dashboard_);
  455. // EXTERNAL MODULE: ./components/Grid/GridContainer.js
  456. var GridContainer = __webpack_require__("mtPR");
  457. // EXTERNAL MODULE: ./components/Grid/GridItem.js
  458. var GridItem = __webpack_require__("i4t8");
  459. // EXTERNAL MODULE: ./components/NavPills/NavPills.js + 1 modules
  460. var NavPills = __webpack_require__("SuH/");
  461. // EXTERNAL MODULE: ./components/Card/Card.js + 1 modules
  462. var Card = __webpack_require__("A2So");
  463. // EXTERNAL MODULE: ./components/Card/CardBody.js + 1 modules
  464. var CardBody = __webpack_require__("UsYt");
  465. // EXTERNAL MODULE: ./components/Card/CardHeader.js + 1 modules
  466. var CardHeader = __webpack_require__("2zww");
  467. // EXTERNAL MODULE: ./components/Typography/Quote.js + 1 modules
  468. var Quote = __webpack_require__("aIa2");
  469. // EXTERNAL MODULE: external "@material-ui/core/Grid"
  470. var Grid_ = __webpack_require__("JQ2V");
  471. var Grid_default = /*#__PURE__*/__webpack_require__.n(Grid_);
  472. // EXTERNAL MODULE: ./components/CustomButtons/Button.js + 1 modules
  473. var Button = __webpack_require__("Kg+a");
  474. // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit/pages/profilePage.js
  475. var profilePage = __webpack_require__("uU2H");
  476. // EXTERNAL MODULE: external "@material-ui/core/Icon"
  477. var Icon_ = __webpack_require__("7vM9");
  478. var Icon_default = /*#__PURE__*/__webpack_require__.n(Icon_);
  479. // CONCATENATED MODULE: ./pages-sections/honda/carrer/carrer.js
  480. var __jsx = external_react_default.a.createElement;
  481. function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
  482. function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
  483. const useStyles = Object(styles_["makeStyles"])(profilePage["a" /* default */]);
  484. const DataCarrers = function (_ref) {
  485. let {
  486. backend,
  487. s1,
  488. d3,
  489. sma
  490. } = _ref,
  491. props = _objectWithoutProperties(_ref, ["backend", "s1", "d3", "sma"]);
  492. const classes = useStyles();
  493. const rest = Object.assign({}, props);
  494. const imageClasses = external_classnames_default()(classes.imgRaised, classes.imgRoundedCircle, classes.imgFluid);
  495. const navImageClasses = external_classnames_default()(classes.imgRounded, classes.imgGallery);
  496. const CarrerS1 = s1.map(data => {
  497. return __jsx(Grid_default.a, {
  498. style: {
  499. width: "600px",
  500. padding: "30px"
  501. }
  502. }, __jsx(Card["a" /* default */], null, __jsx(CardHeader["a" /* default */], {
  503. color: "info"
  504. }, __jsx("div", {
  505. align: "center"
  506. }, data.name)), __jsx(CardBody["a" /* default */], null, __jsx(Quote["a" /* default */], {
  507. text: data.name_description,
  508. author: "Post By Thamrin Group"
  509. }), "Masa Pendaftaran : ", data.start_regis, " s/d ", data.until_regis, __jsx(Button["a" /* default */], {
  510. color: "info",
  511. style: {
  512. marginLeft: "20px"
  513. },
  514. round: true,
  515. href: "/honda/carrer/carrer_details?s=" + data.id
  516. }, __jsx(Icon_default.a, {
  517. className: classes.icons
  518. }, "open_in_new"), "Detail Carrer"))));
  519. });
  520. const CarrerD3 = d3.map(data => {
  521. return __jsx(Grid_default.a, {
  522. style: {
  523. width: "600px",
  524. padding: "30px"
  525. }
  526. }, __jsx(Card["a" /* default */], null, __jsx(CardHeader["a" /* default */], {
  527. color: "info"
  528. }, data.name), __jsx(CardBody["a" /* default */], null, __jsx(Quote["a" /* default */], {
  529. text: data.name_description,
  530. author: "Post By Thamrin Group"
  531. }), "Masa Pendaftaran : ", data.start_regis, " s/d ", data.until_regis, __jsx(Button["a" /* default */], {
  532. color: "info",
  533. style: {
  534. marginLeft: "20px"
  535. },
  536. round: true,
  537. href: "/honda/carrer/carrer_details?s=" + data.id
  538. }, __jsx(Icon_default.a, {
  539. className: classes.icons
  540. }, "open_in_new"), "Detail Carrer"))));
  541. });
  542. const CarrerSMA = sma.map(data => {
  543. return __jsx(Grid_default.a, {
  544. style: {
  545. width: "600px",
  546. padding: "30px"
  547. }
  548. }, __jsx(Card["a" /* default */], null, __jsx(CardHeader["a" /* default */], {
  549. justify: "center",
  550. color: "info"
  551. }, data.name), __jsx(CardBody["a" /* default */], null, __jsx(Quote["a" /* default */], {
  552. text: data.name_description,
  553. author: "Post By Thamrin Group"
  554. }), "Masa Pendaftaran : ", data.start_regis, " s/d ", data.until_regis, __jsx(Button["a" /* default */], {
  555. color: "info",
  556. style: {
  557. marginLeft: "20px"
  558. },
  559. round: true,
  560. href: "/honda/carrer/carrer_details?s=" + data.id
  561. }, __jsx(Icon_default.a, {
  562. className: classes.icons
  563. }, "open_in_new"), "Detail Carrer"))));
  564. });
  565. return __jsx(Card["a" /* default */], {
  566. className: classes.textCenter
  567. }, __jsx("div", {
  568. align: "center"
  569. }, __jsx(CardHeader["a" /* default */], {
  570. color: "info"
  571. }, "Product")), __jsx(CardBody["a" /* default */], null, __jsx("div", {
  572. align: "center"
  573. }, __jsx("h2", null, "Carrer & Job Vacancies")), __jsx(GridContainer["a" /* default */], {
  574. justify: "center"
  575. }, __jsx(GridItem["a" /* default */], null, __jsx(NavPills["a" /* default */], {
  576. alignCenter: true,
  577. color: "primary",
  578. tabs: [{
  579. tabButton: "S1",
  580. tabIcon: Dashboard_default.a,
  581. tabContent: __jsx(GridContainer["a" /* default */], {
  582. justify: "center"
  583. }, CarrerS1)
  584. }, {
  585. tabButton: "D3",
  586. tabIcon: Dashboard_default.a,
  587. tabContent: __jsx(GridContainer["a" /* default */], {
  588. justify: "center"
  589. }, CarrerD3)
  590. }, {
  591. tabButton: "SMA / SMK ",
  592. tabIcon: Dashboard_default.a,
  593. tabContent: __jsx(GridContainer["a" /* default */], {
  594. justify: "center"
  595. }, CarrerSMA)
  596. }, {
  597. tabButton: "Recruitment Process",
  598. tabIcon: Dashboard_default.a,
  599. tabContent: __jsx(GridContainer["a" /* default */], {
  600. justify: "center"
  601. }, __jsx(GridItem["a" /* default */], null, __jsx("div", {
  602. align: "center"
  603. }, __jsx("img", {
  604. alt: "...",
  605. style: {
  606. width: "1000px",
  607. height: "800px",
  608. display: "block"
  609. },
  610. src: " https://www.yamaha-motor.co.id/uploads/career/big_img/5d305eca19dfb8171.jpg",
  611. className: navImageClasses
  612. }))))
  613. }]
  614. })))));
  615. };
  616. /* harmony default export */ var carrer = (DataCarrers);
  617. // EXTERNAL MODULE: ./api/carrer/carrer.js
  618. var carrer_carrer = __webpack_require__("940a");
  619. var carrer_default = /*#__PURE__*/__webpack_require__.n(carrer_carrer);
  620. // EXTERNAL MODULE: external "cookies"
  621. var external_cookies_ = __webpack_require__("Vjj2");
  622. var external_cookies_default = /*#__PURE__*/__webpack_require__.n(external_cookies_);
  623. // CONCATENATED MODULE: ./pages/honda/carrer/carrer.js
  624. var carrer_jsx = external_react_default.a.createElement;
  625. function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
  626. function carrer_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = carrer_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
  627. function carrer_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
  628. const carrer_useStyles = Object(styles_["makeStyles"])(components["a" /* default */]);
  629. const Carrer = function (_ref) {
  630. let {
  631. user,
  632. backend,
  633. s1,
  634. d3,
  635. sma
  636. } = _ref,
  637. props = carrer_objectWithoutProperties(_ref, ["user", "backend", "s1", "d3", "sma"]);
  638. const classes = carrer_useStyles();
  639. const rest = Object.assign({}, props);
  640. return carrer_jsx("div", null, carrer_jsx(Header["a" /* default */], _extends({
  641. rightLinks: carrer_jsx(HeaderHonda["a" /* default */], {
  642. username: user
  643. }),
  644. fixed: true,
  645. color: "info",
  646. changeColorOnScroll: {
  647. height: 400,
  648. color: "white"
  649. }
  650. }, rest)), carrer_jsx(Parallax["a" /* default */], {
  651. image: __webpack_require__("F+sf"),
  652. height: "50px"
  653. }), carrer_jsx("div", {
  654. className: external_classnames_default()(classes.main, classes.mainRaised)
  655. }, carrer_jsx(carrer, {
  656. s1: s1,
  657. d3: d3,
  658. sma: sma,
  659. backend: backend
  660. })), carrer_jsx(FooterHonda["a" /* default */], null));
  661. };
  662. /* harmony default export */ var honda_carrer_carrer = __webpack_exports__["default"] = (Carrer);
  663. async function getServerSideProps(context) {
  664. var s1 = [];
  665. var d3 = [];
  666. var sma = [];
  667. const backend = process.env.BACKEND_SERVER_URI;
  668. var {
  669. req,
  670. resp
  671. } = context;
  672. const cookies = new external_cookies_default.a(req, resp);
  673. var user = "";
  674. var userObj = (await cookies.get("user")) ? JSON.parse(await cookies.get("user")) : null;
  675. if (userObj) {
  676. let sessionId = userObj["partners_login_states"].filter(function (i) {
  677. return i.business_partner && i.business_partner.name.toUpperCase() == "HONDA";
  678. });
  679. if (sessionId.length != 0) user = userObj["username"];
  680. }
  681. var res = await carrer_default.a.GetCarrerS1Honda();
  682. if (res["STATUS"] === 1) {
  683. s1 = res["DATA"]["carrers"];
  684. }
  685. var res = await carrer_default.a.GetCarrerD3Honda();
  686. if (res["STATUS"] === 1) {
  687. d3 = res["DATA"]["carrers"];
  688. }
  689. var res = await carrer_default.a.GetCarrerSMAHonda();
  690. if (res["STATUS"] === 1) {
  691. sma = res["DATA"]["carrers"];
  692. }
  693. return {
  694. props: {
  695. user,
  696. s1,
  697. d3,
  698. sma,
  699. backend
  700. } // will be passed to the page component as props
  701. };
  702. }
  703. /***/ }),
  704. /***/ "7vM9":
  705. /***/ (function(module, exports) {
  706. module.exports = require("@material-ui/core/Icon");
  707. /***/ }),
  708. /***/ "8//M":
  709. /***/ (function(module, exports) {
  710. module.exports = require("@material-ui/core/styles/makeStyles");
  711. /***/ }),
  712. /***/ "8x5e":
  713. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  714. "use strict";
  715. // EXPORTS
  716. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ Header; });
  717. // EXTERNAL MODULE: external "react"
  718. var external_react_ = __webpack_require__("cDcd");
  719. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  720. // EXTERNAL MODULE: ./node_modules/next/link.js
  721. var next_link = __webpack_require__("YFqc");
  722. var link_default = /*#__PURE__*/__webpack_require__.n(next_link);
  723. // EXTERNAL MODULE: external "classnames"
  724. var external_classnames_ = __webpack_require__("K2gz");
  725. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  726. // EXTERNAL MODULE: external "@material-ui/core/styles"
  727. var styles_ = __webpack_require__("9Pu4");
  728. // EXTERNAL MODULE: external "@material-ui/core/AppBar"
  729. var AppBar_ = __webpack_require__("4151");
  730. var AppBar_default = /*#__PURE__*/__webpack_require__.n(AppBar_);
  731. // EXTERNAL MODULE: external "@material-ui/core/Toolbar"
  732. var Toolbar_ = __webpack_require__("Ms0O");
  733. var Toolbar_default = /*#__PURE__*/__webpack_require__.n(Toolbar_);
  734. // EXTERNAL MODULE: external "@material-ui/core/IconButton"
  735. var IconButton_ = __webpack_require__("EmCc");
  736. var IconButton_default = /*#__PURE__*/__webpack_require__.n(IconButton_);
  737. // EXTERNAL MODULE: external "@material-ui/core/Button"
  738. var Button_ = __webpack_require__("Wh1t");
  739. var Button_default = /*#__PURE__*/__webpack_require__.n(Button_);
  740. // EXTERNAL MODULE: external "@material-ui/core/Hidden"
  741. var Hidden_ = __webpack_require__("Y8uC");
  742. var Hidden_default = /*#__PURE__*/__webpack_require__.n(Hidden_);
  743. // EXTERNAL MODULE: external "@material-ui/core/Drawer"
  744. var Drawer_ = __webpack_require__("Q01v");
  745. var Drawer_default = /*#__PURE__*/__webpack_require__.n(Drawer_);
  746. // EXTERNAL MODULE: external "@material-ui/icons/Menu"
  747. var Menu_ = __webpack_require__("4D1s");
  748. var Menu_default = /*#__PURE__*/__webpack_require__.n(Menu_);
  749. // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
  750. var nextjs_material_kit = __webpack_require__("eDSW");
  751. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/headerStyle.js
  752. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
  753. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
  754. function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
  755. const headerStyle = {
  756. appBar: {
  757. display: "flex",
  758. border: "0",
  759. borderRadius: "3px",
  760. padding: "0.625rem 0",
  761. marginBottom: "20px",
  762. color: "#555",
  763. width: "100%",
  764. backgroundColor: "#fff",
  765. boxShadow: "0 4px 18px 0px rgba(0, 0, 0, 0.12), 0 7px 10px -5px rgba(0, 0, 0, 0.15)",
  766. transition: "all 150ms ease 0s",
  767. alignItems: "center",
  768. flexFlow: "row nowrap",
  769. justifyContent: "flex-start",
  770. position: "relative",
  771. zIndex: "unset"
  772. },
  773. absolute: {
  774. position: "absolute",
  775. zIndex: "1100"
  776. },
  777. fixed: {
  778. position: "fixed",
  779. zIndex: "1100"
  780. },
  781. container: _objectSpread({}, nextjs_material_kit["c" /* container */], {
  782. minHeight: "50px",
  783. flex: "1",
  784. alignItems: "center",
  785. justifyContent: "space-between",
  786. display: "flex",
  787. flexWrap: "nowrap"
  788. }),
  789. flex: {
  790. flex: 1
  791. },
  792. title: _objectSpread({}, nextjs_material_kit["g" /* defaultFont */], {
  793. lineHeight: "30px",
  794. fontSize: "18px",
  795. borderRadius: "3px",
  796. textTransform: "none",
  797. color: "inherit",
  798. padding: "8px 16px",
  799. letterSpacing: "unset",
  800. "&:hover,&:focus": {
  801. color: "inherit",
  802. background: "transparent"
  803. }
  804. }),
  805. appResponsive: {
  806. margin: "20px 10px"
  807. },
  808. primary: {
  809. backgroundColor: nextjs_material_kit["p" /* primaryColor */],
  810. color: "#FFFFFF",
  811. boxShadow: `0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["p" /* primaryColor */], 0.46)}`
  812. },
  813. info: {
  814. backgroundColor: nextjs_material_kit["m" /* infoColor */],
  815. color: "#FFFFFF",
  816. boxShadow: `0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["m" /* infoColor */], 0.46)}`
  817. },
  818. success: {
  819. backgroundColor: nextjs_material_kit["u" /* successColor */],
  820. color: "#FFFFFF",
  821. boxShadow: `0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["u" /* successColor */], 0.46)}`
  822. },
  823. warning: {
  824. backgroundColor: nextjs_material_kit["z" /* warningColor */],
  825. color: "#FFFFFF",
  826. boxShadow: `0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["z" /* warningColor */], 0.46)}`
  827. },
  828. danger: {
  829. backgroundColor: nextjs_material_kit["f" /* dangerColor */],
  830. color: "#FFFFFF",
  831. boxShadow: `0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["f" /* dangerColor */], 0.46)}`
  832. },
  833. rose: {
  834. backgroundColor: nextjs_material_kit["r" /* roseColor */],
  835. color: "#FFFFFF",
  836. boxShadow: `0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["r" /* roseColor */], 0.46)}`
  837. },
  838. transparent: {
  839. backgroundColor: "transparent !important",
  840. boxShadow: "none",
  841. paddingTop: "25px",
  842. color: "#FFFFFF"
  843. },
  844. dark: {
  845. color: "#FFFFFF",
  846. backgroundColor: "#212121 !important",
  847. boxShadow: "0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px rgba(33, 33, 33, 0.46)"
  848. },
  849. white: {
  850. border: "0",
  851. padding: "0.625rem 0",
  852. marginBottom: "20px",
  853. color: "#555",
  854. backgroundColor: "#fff !important",
  855. boxShadow: "0 4px 18px 0px rgba(0, 0, 0, 0.12), 0 7px 10px -5px rgba(0, 0, 0, 0.15)"
  856. },
  857. drawerPaper: _objectSpread({
  858. border: "none",
  859. bottom: "0",
  860. transitionProperty: "top, bottom, width",
  861. transitionDuration: ".2s, .2s, .35s",
  862. transitionTimingFunction: "linear, linear, ease",
  863. width: nextjs_material_kit["h" /* drawerWidth */]
  864. }, nextjs_material_kit["a" /* boxShadow */], {
  865. position: "fixed",
  866. display: "block",
  867. top: "0",
  868. height: "100vh",
  869. right: "0",
  870. left: "auto",
  871. visibility: "visible",
  872. overflowY: "visible",
  873. borderTop: "none",
  874. textAlign: "left",
  875. paddingRight: "0px",
  876. paddingLeft: "0"
  877. }, nextjs_material_kit["w" /* transition */])
  878. };
  879. /* harmony default export */ var components_headerStyle = (headerStyle);
  880. // CONCATENATED MODULE: ./components/Header/Header.js
  881. var __jsx = external_react_default.a.createElement;
  882. // nodejs library that concatenates classes
  883. // nodejs library to set properties for components
  884. // @material-ui/core components
  885. // @material-ui/icons
  886. // core components
  887. const useStyles = Object(styles_["makeStyles"])(components_headerStyle);
  888. function Header(props) {
  889. const classes = useStyles();
  890. const [mobileOpen, setMobileOpen] = external_react_default.a.useState(false);
  891. external_react_default.a.useEffect(() => {
  892. if (props.changeColorOnScroll) {
  893. window.addEventListener("scroll", headerColorChange);
  894. }
  895. return function cleanup() {
  896. if (props.changeColorOnScroll) {
  897. window.removeEventListener("scroll", headerColorChange);
  898. }
  899. };
  900. });
  901. const handleDrawerToggle = () => {
  902. setMobileOpen(!mobileOpen);
  903. };
  904. const headerColorChange = () => {
  905. const {
  906. color,
  907. changeColorOnScroll
  908. } = props;
  909. const windowsScrollTop = window.pageYOffset;
  910. if (windowsScrollTop > changeColorOnScroll.height) {
  911. document.body.getElementsByTagName("header")[0].classList.remove(classes[color]);
  912. document.body.getElementsByTagName("header")[0].classList.add(classes[changeColorOnScroll.color]);
  913. } else {
  914. document.body.getElementsByTagName("header")[0].classList.add(classes[color]);
  915. document.body.getElementsByTagName("header")[0].classList.remove(classes[changeColorOnScroll.color]);
  916. }
  917. };
  918. const {
  919. color,
  920. rightLinks,
  921. leftLinks,
  922. brand,
  923. fixed,
  924. absolute
  925. } = props;
  926. const appBarClasses = external_classnames_default()({
  927. [classes.appBar]: true,
  928. [classes[color]]: color,
  929. [classes.absolute]: absolute,
  930. [classes.fixed]: fixed
  931. });
  932. const brandComponent = __jsx(link_default.a, {
  933. href: "/components",
  934. as: "/components"
  935. }, __jsx(Button_default.a, {
  936. className: classes.title
  937. }, brand));
  938. return __jsx(AppBar_default.a, {
  939. className: appBarClasses
  940. }, __jsx(Toolbar_default.a, {
  941. className: classes.container
  942. }, leftLinks !== undefined ? brandComponent : null, __jsx("div", {
  943. className: classes.flex
  944. }, leftLinks !== undefined ? __jsx(Hidden_default.a, {
  945. smDown: true,
  946. implementation: "css"
  947. }, leftLinks) : brandComponent), __jsx(Hidden_default.a, {
  948. smDown: true,
  949. implementation: "css"
  950. }, rightLinks), __jsx(Hidden_default.a, {
  951. mdUp: true
  952. }, __jsx(IconButton_default.a, {
  953. color: "inherit",
  954. "aria-label": "open drawer",
  955. onClick: handleDrawerToggle
  956. }, __jsx(Menu_default.a, null)))), __jsx(Hidden_default.a, {
  957. mdUp: true,
  958. implementation: "js"
  959. }, __jsx(Drawer_default.a, {
  960. variant: "temporary",
  961. anchor: "right",
  962. open: mobileOpen,
  963. classes: {
  964. paper: classes.drawerPaper
  965. },
  966. onClose: handleDrawerToggle
  967. }, __jsx("div", {
  968. className: classes.appResponsive
  969. }, leftLinks, rightLinks))));
  970. }
  971. Header.defaultProp = {
  972. color: "black"
  973. };
  974. /***/ }),
  975. /***/ "940a":
  976. /***/ (function(module, exports, __webpack_require__) {
  977. "use strict";
  978. var _apollo = _interopRequireDefault(__webpack_require__("B/3u"));
  979. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  980. async function GetCarrerS1Yamaha(token = "") {
  981. var res = await _apollo.default.query(`
  982. query {
  983. carrers(where: {category: "S1" business_partner: "1"})
  984. {
  985. id
  986. name
  987. start_regis
  988. until_regis
  989. name_description
  990. }
  991. }`, token);
  992. return res;
  993. }
  994. async function GetCarrerD3Yamaha(token = "") {
  995. var res = await _apollo.default.query(`
  996. query {
  997. carrers(where: {category: "D3" business_partner: "1"})
  998. {
  999. id
  1000. name
  1001. start_regis
  1002. until_regis
  1003. name_description
  1004. }
  1005. }`, token);
  1006. return res;
  1007. }
  1008. async function GetCarrerSMAYamaha(token = "") {
  1009. var res = await _apollo.default.query(`
  1010. query {
  1011. carrers(where: {category: "SMA" business_partner: "1"})
  1012. {
  1013. id
  1014. name
  1015. start_regis
  1016. until_regis
  1017. name_description
  1018. }
  1019. }`, token);
  1020. return res;
  1021. }
  1022. async function GetDetailCarrer(id, token = "") {
  1023. var res = await _apollo.default.query(`
  1024. query($input: ID!){
  1025. carrers(where:{id:$input})
  1026. {
  1027. name
  1028. description
  1029. category
  1030. img{
  1031. url
  1032. }
  1033. start_regis
  1034. until_regis
  1035. name_description
  1036. }
  1037. }
  1038. `, token, {
  1039. "input": id
  1040. });
  1041. return res;
  1042. }
  1043. async function GetCarrerS1Suzuki(token = "") {
  1044. var res = await _apollo.default.query(`
  1045. query {
  1046. carrers(where: {category: "S1" business_partner:"2"})
  1047. {
  1048. id
  1049. name
  1050. start_regis
  1051. until_regis
  1052. name_description
  1053. }
  1054. }`, token);
  1055. return res;
  1056. }
  1057. async function GetCarrerD3Suzuki(token = "") {
  1058. var res = await _apollo.default.query(`
  1059. query {
  1060. carrers(where: {category: "D3" business_partner:"2"})
  1061. {
  1062. id
  1063. name
  1064. start_regis
  1065. until_regis
  1066. name_description
  1067. }
  1068. }`, token);
  1069. return res;
  1070. }
  1071. async function GetCarrerSMASuzuki(token = "") {
  1072. var res = await _apollo.default.query(`
  1073. query {
  1074. carrers(where: {category: "SMA" business_partner:"2"})
  1075. {
  1076. id
  1077. name
  1078. start_regis
  1079. until_regis
  1080. name_description
  1081. }
  1082. }`, token);
  1083. return res;
  1084. }
  1085. async function GetCarrerS1Honda(token = "") {
  1086. var res = await _apollo.default.query(`
  1087. query {
  1088. carrers(where: {category: "S1" business_partner:"3"})
  1089. {
  1090. id
  1091. name
  1092. start_regis
  1093. until_regis
  1094. name_description
  1095. }
  1096. }`, token);
  1097. return res;
  1098. }
  1099. async function GetCarrerD3Honda(token = "") {
  1100. var res = await _apollo.default.query(`
  1101. query {
  1102. carrers(where: {category: "D3" business_partner:"3"})
  1103. {
  1104. id
  1105. name
  1106. start_regis
  1107. until_regis
  1108. name_description
  1109. }
  1110. }`, token);
  1111. return res;
  1112. }
  1113. async function GetCarrerSMAHonda(token = "") {
  1114. var res = await _apollo.default.query(`
  1115. query {
  1116. carrers(where: {category: "SMA" business_partner:"3"})
  1117. {
  1118. id
  1119. name
  1120. start_regis
  1121. until_regis
  1122. name_description
  1123. }
  1124. }`, token);
  1125. return res;
  1126. }
  1127. async function GetCarrerS1Hino(token = "") {
  1128. var res = await _apollo.default.query(`
  1129. query {
  1130. carrers(where: {category: "S1" business_partner:"4"})
  1131. {
  1132. id
  1133. name
  1134. start_regis
  1135. until_regis
  1136. name_description
  1137. }
  1138. }`, token);
  1139. return res;
  1140. }
  1141. async function GetCarrerD3Hino(token = "") {
  1142. var res = await _apollo.default.query(`
  1143. query {
  1144. carrers(where: {category: "D3" business_partner:"4"})
  1145. {
  1146. id
  1147. name
  1148. start_regis
  1149. until_regis
  1150. name_description
  1151. }
  1152. }`, token);
  1153. return res;
  1154. }
  1155. async function GetCarrerSMAHino(token = "") {
  1156. var res = await _apollo.default.query(`
  1157. query {
  1158. carrers(where: {category: "SMA" business_partner:"4"})
  1159. {
  1160. id
  1161. name
  1162. start_regis
  1163. until_regis
  1164. name_description
  1165. }
  1166. }`, token);
  1167. return res;
  1168. }
  1169. module.exports = {
  1170. //yamaha
  1171. GetCarrerS1Yamaha: GetCarrerS1Yamaha,
  1172. GetCarrerD3Yamaha: GetCarrerD3Yamaha,
  1173. GetCarrerSMAYamaha: GetCarrerSMAYamaha,
  1174. //suzuki
  1175. GetCarrerS1Suzuki: GetCarrerS1Suzuki,
  1176. GetCarrerD3Suzuki: GetCarrerD3Suzuki,
  1177. GetCarrerSMASuzuki: GetCarrerSMASuzuki,
  1178. //honda
  1179. GetCarrerS1Honda: GetCarrerS1Honda,
  1180. GetCarrerD3Honda: GetCarrerD3Honda,
  1181. GetCarrerSMAHonda: GetCarrerSMAHonda,
  1182. //hino
  1183. GetCarrerS1Hino: GetCarrerS1Hino,
  1184. GetCarrerD3Hino: GetCarrerD3Hino,
  1185. GetCarrerSMAHino: GetCarrerSMAHino,
  1186. GetDetailCarrer: GetDetailCarrer
  1187. };
  1188. /***/ }),
  1189. /***/ "9Dzl":
  1190. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1191. "use strict";
  1192. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Footer; });
  1193. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  1194. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  1195. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("K2gz");
  1196. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
  1197. /* harmony import */ var _material_ui_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("KKbo");
  1198. /* harmony import */ var _material_ui_core__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__);
  1199. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("9Pu4");
  1200. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3__);
  1201. /* harmony import */ var _material_ui_icons_Favorite__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("Fm7H");
  1202. /* harmony import */ var _material_ui_icons_Favorite__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_material_ui_icons_Favorite__WEBPACK_IMPORTED_MODULE_4__);
  1203. /* harmony import */ var components_Grid_GridContainer_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("mtPR");
  1204. /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("JQ2V");
  1205. /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_6__);
  1206. /* harmony import */ var components_Grid_GridItem_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("i4t8");
  1207. /* harmony import */ var _material_ui_core_Paper__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("qt1I");
  1208. /* harmony import */ var _material_ui_core_Paper__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_Paper__WEBPACK_IMPORTED_MODULE_8__);
  1209. /* harmony import */ var components_Card_Card_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("A2So");
  1210. /* harmony import */ var assets_jss_nextjs_material_kit_components_footerStyle_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("oLCs");
  1211. var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
  1212. /*eslint-disable*/
  1213. const useStyles = Object(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3__["makeStyles"])(assets_jss_nextjs_material_kit_components_footerStyle_js__WEBPACK_IMPORTED_MODULE_10__[/* default */ "a"]);
  1214. function Footer(props) {
  1215. const classes = useStyles();
  1216. const {
  1217. whiteFont
  1218. } = props;
  1219. const footerClasses = classnames__WEBPACK_IMPORTED_MODULE_1___default()({
  1220. [classes.footer]: true,
  1221. [classes.footerWhiteFont]: whiteFont
  1222. });
  1223. const aClasses = classnames__WEBPACK_IMPORTED_MODULE_1___default()({
  1224. [classes.a]: true,
  1225. [classes.footerWhiteFont]: whiteFont
  1226. });
  1227. return __jsx(components_Grid_GridItem_js__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"], {
  1228. xs: 12
  1229. }, __jsx("div", {
  1230. align: "center",
  1231. style: {
  1232. marginTop: "-20px"
  1233. }
  1234. }, __jsx("br", null), __jsx("br", null), __jsx("br", null), __jsx("div", {
  1235. align: "center",
  1236. style: {
  1237. marginTop: "-20px"
  1238. }
  1239. }, __jsx("img", {
  1240. className: classes.imgCard,
  1241. src: "https://cdn.pixabay.com/photo/2016/08/15/18/18/honda-1596081_640.png",
  1242. style: {
  1243. width: "300px",
  1244. padding: "20px"
  1245. }
  1246. }), __jsx("img", {
  1247. className: classes.imgCard,
  1248. src: "https://cdn.pixabay.com/photo/2016/08/15/18/18/honda-1596081_640.png",
  1249. style: {
  1250. width: "300px",
  1251. padding: "20px"
  1252. }
  1253. }))), __jsx("br", null), __jsx("div", {
  1254. align: "center"
  1255. }, __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["List"], {
  1256. className: classes.list
  1257. }, __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1258. className: classes.inlineBlock
  1259. }, __jsx("a", {
  1260. href: "/honda/home",
  1261. className: classes.block
  1262. }, " Home ")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1263. className: classes.inlineBlock
  1264. }, __jsx("a", {
  1265. href: "/honda/product/product",
  1266. className: classes.block
  1267. }, " Product ")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1268. className: classes.inlineBlock
  1269. }, __jsx("a", {
  1270. href: "/honda/latestsnews",
  1271. className: classes.block
  1272. }, " Latest News ")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1273. className: classes.inlineBlock
  1274. }, __jsx("a", {
  1275. href: "/honda/carrer",
  1276. className: classes.block
  1277. }, " Carrer ")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1278. className: classes.inlineBlock
  1279. }, __jsx("a", {
  1280. href: "/honda/about_us/aboutus",
  1281. className: classes.block
  1282. }, " About Us ")))), __jsx("div", {
  1283. align: "center"
  1284. }, __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["List"], {
  1285. className: classes.list
  1286. }, __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1287. className: classes.inlineBlock
  1288. }, __jsx("a", {
  1289. href: "#",
  1290. target: "_blank",
  1291. className: classes.block
  1292. }, "Facebook")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1293. className: classes.inlineBlock
  1294. }, __jsx("a", {
  1295. href: "#",
  1296. target: "_blank",
  1297. className: classes.block
  1298. }, "Instagram")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1299. className: classes.inlineBlock
  1300. }, __jsx("a", {
  1301. href: "#",
  1302. target: "_blank",
  1303. className: classes.block
  1304. }, "Twitter")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1305. className: classes.inlineBlock
  1306. }, __jsx("a", {
  1307. href: "#",
  1308. target: "_blank",
  1309. className: classes.block
  1310. }, "Youtube")))), __jsx("br", null), __jsx("br", null), __jsx("div", {
  1311. align: "center"
  1312. }, "\xA9 ", 1900 + new Date().getYear(), " , All Right Reserved", " ", " by", " ", " @Thamrin Brothers"), __jsx("br", null), __jsx("br", null));
  1313. }
  1314. /***/ }),
  1315. /***/ "9Pu4":
  1316. /***/ (function(module, exports) {
  1317. module.exports = require("@material-ui/core/styles");
  1318. /***/ }),
  1319. /***/ "A2So":
  1320. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1321. "use strict";
  1322. // EXPORTS
  1323. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ Card; });
  1324. // EXTERNAL MODULE: external "react"
  1325. var external_react_ = __webpack_require__("cDcd");
  1326. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  1327. // EXTERNAL MODULE: external "classnames"
  1328. var external_classnames_ = __webpack_require__("K2gz");
  1329. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  1330. // EXTERNAL MODULE: external "@material-ui/core/styles"
  1331. var styles_ = __webpack_require__("9Pu4");
  1332. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/cardStyle.js
  1333. const cardStyle = {
  1334. card: {
  1335. border: "0",
  1336. marginBottom: "30px",
  1337. marginTop: "30px",
  1338. borderRadius: "6px",
  1339. color: "rgba(0, 0, 0, 0.87)",
  1340. background: "#fff",
  1341. width: "100%",
  1342. boxShadow: "0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12)",
  1343. position: "relative",
  1344. display: "flex",
  1345. flexDirection: "column",
  1346. minWidth: "0",
  1347. wordWrap: "break-word",
  1348. fontSize: ".875rem",
  1349. transition: "all 300ms linear"
  1350. },
  1351. cardPlain: {
  1352. background: "transparent",
  1353. boxShadow: "none"
  1354. },
  1355. cardCarousel: {
  1356. overflow: "hidden"
  1357. }
  1358. };
  1359. /* harmony default export */ var components_cardStyle = (cardStyle);
  1360. // CONCATENATED MODULE: ./components/Card/Card.js
  1361. var __jsx = external_react_default.a.createElement;
  1362. function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
  1363. function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
  1364. function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
  1365. // nodejs library that concatenates classes
  1366. // nodejs library to set properties for components
  1367. // @material-ui/core components
  1368. // @material-ui/icons
  1369. // core components
  1370. const useStyles = Object(styles_["makeStyles"])(components_cardStyle);
  1371. function Card(props) {
  1372. const classes = useStyles();
  1373. const {
  1374. className,
  1375. children,
  1376. plain,
  1377. carousel
  1378. } = props,
  1379. rest = _objectWithoutProperties(props, ["className", "children", "plain", "carousel"]);
  1380. const cardClasses = external_classnames_default()({
  1381. [classes.card]: true,
  1382. [classes.cardPlain]: plain,
  1383. [classes.cardCarousel]: carousel,
  1384. [className]: className !== undefined
  1385. });
  1386. return __jsx("div", _extends({
  1387. className: cardClasses
  1388. }, rest), children);
  1389. }
  1390. /***/ }),
  1391. /***/ "AroE":
  1392. /***/ (function(module, exports) {
  1393. function _interopRequireDefault(obj) {
  1394. return obj && obj.__esModule ? obj : {
  1395. "default": obj
  1396. };
  1397. }
  1398. module.exports = _interopRequireDefault;
  1399. /***/ }),
  1400. /***/ "B/3u":
  1401. /***/ (function(module, exports, __webpack_require__) {
  1402. "use strict";
  1403. var _client = __webpack_require__("z+8S");
  1404. var _apolloConfig = _interopRequireDefault(__webpack_require__("bx/+"));
  1405. var _crossFetch = _interopRequireDefault(__webpack_require__("CCqr"));
  1406. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  1407. function errorHandler(object) {
  1408. return object.graphQLErrors.length != 0 ? object.graphQLErrors[0].message : object.networkError && object.networkError.result ? object.networkError.result.errors.join(" ; ") : object.networkError ? object.networkError[Object.keys(object.networkError)[0]].toString() : "Fetch failed";
  1409. }
  1410. function initApollo(token) {
  1411. const httpLink = (0, _client.createHttpLink)({
  1412. uri: _apolloConfig.default.graphql_uri,
  1413. fetch: _crossFetch.default,
  1414. headers: token != "" ? {
  1415. Authorization: `Bearer ${token}`
  1416. } : null
  1417. });
  1418. return new _client.ApolloClient({
  1419. ssrMode: false,
  1420. cache: new _client.InMemoryCache({
  1421. addTypename: false
  1422. }),
  1423. link: httpLink
  1424. });
  1425. }
  1426. async function query(query, token = "", variables = {}, cache = false) {
  1427. const client = initApollo(token);
  1428. var res;
  1429. try {
  1430. var sql = await client.query({
  1431. query: (0, _client.gql)`
  1432. ${query}
  1433. `,
  1434. variables: variables,
  1435. fetchPolicy: cache ? "cache-first" : "no-cache"
  1436. });
  1437. res = {
  1438. STATUS: 1,
  1439. DATA: sql.data
  1440. };
  1441. } catch (e) {
  1442. res = {
  1443. STATUS: 0,
  1444. DATA: errorHandler(e)
  1445. };
  1446. }
  1447. return res;
  1448. }
  1449. async function mutation(mutation, token = "", variables = {}) {
  1450. const client = initApollo(token);
  1451. var res;
  1452. try {
  1453. var sql = await client.mutate({
  1454. mutation: (0, _client.gql)`
  1455. ${mutation}
  1456. `,
  1457. variables: variables
  1458. });
  1459. res = {
  1460. STATUS: 1,
  1461. DATA: sql.data
  1462. };
  1463. } catch (e) {
  1464. console.log(e);
  1465. res = {
  1466. STATUS: 0,
  1467. DATA: errorHandler(e)
  1468. };
  1469. }
  1470. return res;
  1471. }
  1472. module.exports = {
  1473. query: query,
  1474. mutation: mutation
  1475. };
  1476. /***/ }),
  1477. /***/ "C+bE":
  1478. /***/ (function(module, exports) {
  1479. function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); }
  1480. function _typeof(obj) {
  1481. if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") {
  1482. module.exports = _typeof = function _typeof(obj) {
  1483. return _typeof2(obj);
  1484. };
  1485. } else {
  1486. module.exports = _typeof = function _typeof(obj) {
  1487. return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj);
  1488. };
  1489. }
  1490. return _typeof(obj);
  1491. }
  1492. module.exports = _typeof;
  1493. /***/ }),
  1494. /***/ "CCqr":
  1495. /***/ (function(module, exports) {
  1496. module.exports = require("cross-fetch");
  1497. /***/ }),
  1498. /***/ "EmCc":
  1499. /***/ (function(module, exports) {
  1500. module.exports = require("@material-ui/core/IconButton");
  1501. /***/ }),
  1502. /***/ "F+sf":
  1503. /***/ (function(module, exports) {
  1504. module.exports = "/_next/static/images/carrer-aecb323ebc9b8a1d77335dbcfae8580f.png";
  1505. /***/ }),
  1506. /***/ "Fm7H":
  1507. /***/ (function(module, exports) {
  1508. module.exports = require("@material-ui/icons/Favorite");
  1509. /***/ }),
  1510. /***/ "Ilpk":
  1511. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1512. "use strict";
  1513. const imagesStyles = {
  1514. imgFluid: {
  1515. maxWidth: "100%",
  1516. height: "auto"
  1517. },
  1518. imgRounded: {
  1519. borderRadius: "6px !important"
  1520. },
  1521. imgRoundedCircle: {
  1522. borderRadius: "50% !important"
  1523. },
  1524. imgRaised: {
  1525. boxShadow: "0 5px 15px -8px rgba(0, 0, 0, 0.24), 0 8px 10px -5px rgba(0, 0, 0, 0.2)"
  1526. },
  1527. imgGallery: {
  1528. width: "100%",
  1529. marginBottom: "2.142rem"
  1530. },
  1531. imgCardTop: {
  1532. width: "100%",
  1533. borderTopLeftRadius: "calc(.25rem - 1px)",
  1534. borderTopRightRadius: "calc(.25rem - 1px)"
  1535. },
  1536. imgCardBottom: {
  1537. width: "100%",
  1538. borderBottomLeftRadius: "calc(.25rem - 1px)",
  1539. borderBottomRightRadius: "calc(.25rem - 1px)"
  1540. },
  1541. imgCard: {
  1542. width: "100%",
  1543. borderRadius: "calc(.25rem - 1px)"
  1544. },
  1545. imgCardOverlay: {
  1546. position: "absolute",
  1547. top: "0",
  1548. right: "0",
  1549. bottom: "0",
  1550. left: "0",
  1551. padding: "1.25rem"
  1552. }
  1553. };
  1554. /* harmony default export */ __webpack_exports__["a"] = (imagesStyles);
  1555. /***/ }),
  1556. /***/ "JQ2V":
  1557. /***/ (function(module, exports) {
  1558. module.exports = require("@material-ui/core/Grid");
  1559. /***/ }),
  1560. /***/ "JeXI":
  1561. /***/ (function(module, exports) {
  1562. module.exports = "/_next/static/images/honda-ac654c5a83885fa7313fc304628b1e90.png";
  1563. /***/ }),
  1564. /***/ "K2gz":
  1565. /***/ (function(module, exports) {
  1566. module.exports = require("classnames");
  1567. /***/ }),
  1568. /***/ "KKbo":
  1569. /***/ (function(module, exports) {
  1570. module.exports = require("@material-ui/core");
  1571. /***/ }),
  1572. /***/ "Kg+a":
  1573. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1574. "use strict";
  1575. // EXTERNAL MODULE: external "react"
  1576. var external_react_ = __webpack_require__("cDcd");
  1577. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  1578. // EXTERNAL MODULE: external "classnames"
  1579. var external_classnames_ = __webpack_require__("K2gz");
  1580. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  1581. // EXTERNAL MODULE: external "@material-ui/core/styles/makeStyles"
  1582. var makeStyles_ = __webpack_require__("8//M");
  1583. var makeStyles_default = /*#__PURE__*/__webpack_require__.n(makeStyles_);
  1584. // EXTERNAL MODULE: external "@material-ui/core/Button"
  1585. var Button_ = __webpack_require__("Wh1t");
  1586. var Button_default = /*#__PURE__*/__webpack_require__.n(Button_);
  1587. // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
  1588. var nextjs_material_kit = __webpack_require__("eDSW");
  1589. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/buttonStyle.js
  1590. const buttonStyle = {
  1591. button: {
  1592. minHeight: "auto",
  1593. minWidth: "auto",
  1594. backgroundColor: nextjs_material_kit["i" /* grayColor */],
  1595. color: "#FFFFFF",
  1596. boxShadow: "0 2px 2px 0 rgba(153, 153, 153, 0.14), 0 3px 1px -2px rgba(153, 153, 153, 0.2), 0 1px 5px 0 rgba(153, 153, 153, 0.12)",
  1597. border: "none",
  1598. borderRadius: "3px",
  1599. position: "relative",
  1600. padding: "12px 30px",
  1601. margin: ".3125rem 1px",
  1602. fontSize: "12px",
  1603. fontWeight: "400",
  1604. textTransform: "uppercase",
  1605. letterSpacing: "0",
  1606. willChange: "box-shadow, transform",
  1607. transition: "box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1)",
  1608. lineHeight: "1.42857143",
  1609. textAlign: "center",
  1610. whiteSpace: "nowrap",
  1611. verticalAlign: "middle",
  1612. touchAction: "manipulation",
  1613. cursor: "pointer",
  1614. "&:hover,&:focus": {
  1615. color: "#FFFFFF",
  1616. backgroundColor: nextjs_material_kit["i" /* grayColor */],
  1617. boxShadow: "0 14px 26px -12px rgba(153, 153, 153, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(153, 153, 153, 0.2)"
  1618. },
  1619. "& .fab,& .fas,& .far,& .fal,& .material-icons": {
  1620. position: "relative",
  1621. display: "inline-block",
  1622. top: "0",
  1623. fontSize: "1.1rem",
  1624. marginRight: "4px",
  1625. verticalAlign: "middle"
  1626. },
  1627. "& svg": {
  1628. position: "relative",
  1629. display: "inline-block",
  1630. top: "0",
  1631. width: "18px",
  1632. height: "18px",
  1633. marginRight: "4px",
  1634. verticalAlign: "middle"
  1635. },
  1636. "&$justIcon": {
  1637. "& .fab,& .fas,& .far,& .fal,& .material-icons": {
  1638. marginRight: "0px",
  1639. position: "absolute",
  1640. width: "100%",
  1641. transform: "none",
  1642. left: "0px",
  1643. top: "0px",
  1644. height: "100%",
  1645. lineHeight: "41px",
  1646. fontSize: "20px"
  1647. }
  1648. }
  1649. },
  1650. fullWidth: {
  1651. width: "100%"
  1652. },
  1653. primary: {
  1654. backgroundColor: nextjs_material_kit["p" /* primaryColor */],
  1655. boxShadow: `0 2px 2px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["p" /* primaryColor */], 0.14)}, 0 3px 1px -2px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["p" /* primaryColor */], 0.2)}, 0 1px 5px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["p" /* primaryColor */], 0.12)}`,
  1656. "&:hover,&:focus": {
  1657. backgroundColor: nextjs_material_kit["p" /* primaryColor */],
  1658. boxShadow: `0 14px 26px -12px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["p" /* primaryColor */], 0.42)}, 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["p" /* primaryColor */], 0.2)}`
  1659. }
  1660. },
  1661. info: {
  1662. backgroundColor: nextjs_material_kit["m" /* infoColor */],
  1663. boxShadow: `0 2px 2px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["m" /* infoColor */], 0.14)}, 0 3px 1px -2px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["m" /* infoColor */], 0.2)}, 0 1px 5px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["m" /* infoColor */], 0.12)}`,
  1664. "&:hover,&:focus": {
  1665. backgroundColor: nextjs_material_kit["m" /* infoColor */],
  1666. boxShadow: `0 14px 26px -12px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["m" /* infoColor */], 0.42)}, 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["m" /* infoColor */], 0.2)}`
  1667. }
  1668. },
  1669. success: {
  1670. backgroundColor: nextjs_material_kit["u" /* successColor */],
  1671. boxShadow: `0 2px 2px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["u" /* successColor */], 0.14)}, 0 3px 1px -2px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["u" /* successColor */], 0.2)}, 0 1px 5px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["u" /* successColor */], 0.12)}`,
  1672. "&:hover,&:focus": {
  1673. backgroundColor: nextjs_material_kit["u" /* successColor */],
  1674. boxShadow: `0 14px 26px -12px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["u" /* successColor */], 0.42)}, 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["u" /* successColor */], 0.2)}`
  1675. }
  1676. },
  1677. warning: {
  1678. backgroundColor: nextjs_material_kit["z" /* warningColor */],
  1679. boxShadow: `0 2px 2px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["z" /* warningColor */], 0.14)}, 0 3px 1px -2px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["z" /* warningColor */], 0.2)}, 0 1px 5px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["z" /* warningColor */], 0.12)}`,
  1680. "&:hover,&:focus": {
  1681. backgroundColor: nextjs_material_kit["z" /* warningColor */],
  1682. boxShadow: `0 14px 26px -12px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["z" /* warningColor */], 0.42)}, 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["z" /* warningColor */], 0.2)}`
  1683. }
  1684. },
  1685. danger: {
  1686. backgroundColor: nextjs_material_kit["f" /* dangerColor */],
  1687. boxShadow: `0 2px 2px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["f" /* dangerColor */], 0.14)}, 0 3px 1px -2px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["f" /* dangerColor */], 0.2)}, 0 1px 5px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["f" /* dangerColor */], 0.12)}`,
  1688. "&:hover,&:focus": {
  1689. backgroundColor: nextjs_material_kit["f" /* dangerColor */],
  1690. boxShadow: `0 14px 26px -12px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["f" /* dangerColor */], 0.42)}, 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["f" /* dangerColor */], 0.2)}`
  1691. }
  1692. },
  1693. rose: {
  1694. backgroundColor: nextjs_material_kit["r" /* roseColor */],
  1695. boxShadow: `0 2px 2px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["p" /* primaryColor */], 0.14)}, 0 3px 1px -2px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["p" /* primaryColor */], 0.2)}, 0 1px 5px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["p" /* primaryColor */], 0.12)}`,
  1696. "&:hover,&:focus": {
  1697. backgroundColor: nextjs_material_kit["r" /* roseColor */],
  1698. boxShadow: `0 14px 26px -12px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["p" /* primaryColor */], 0.42)}, 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["p" /* primaryColor */], 0.2)}`
  1699. }
  1700. },
  1701. white: {
  1702. "&,&:focus,&:hover,&:visited": {
  1703. backgroundColor: "#FFFFFF",
  1704. color: nextjs_material_kit["i" /* grayColor */]
  1705. }
  1706. },
  1707. twitter: {
  1708. backgroundColor: "#55acee",
  1709. color: "#fff",
  1710. boxShadow: "0 2px 2px 0 rgba(85, 172, 238, 0.14), 0 3px 1px -2px rgba(85, 172, 238, 0.2), 0 1px 5px 0 rgba(85, 172, 238, 0.12)",
  1711. "&:hover,&:focus,&:visited": {
  1712. backgroundColor: "#55acee",
  1713. color: "#fff",
  1714. boxShadow: "0 14px 26px -12px rgba(85, 172, 238, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(85, 172, 238, 0.2)"
  1715. }
  1716. },
  1717. facebook: {
  1718. backgroundColor: "#3b5998",
  1719. color: "#fff",
  1720. boxShadow: "0 2px 2px 0 rgba(59, 89, 152, 0.14), 0 3px 1px -2px rgba(59, 89, 152, 0.2), 0 1px 5px 0 rgba(59, 89, 152, 0.12)",
  1721. "&:hover,&:focus": {
  1722. backgroundColor: "#3b5998",
  1723. color: "#fff",
  1724. boxShadow: "0 14px 26px -12px rgba(59, 89, 152, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(59, 89, 152, 0.2)"
  1725. }
  1726. },
  1727. google: {
  1728. backgroundColor: "#dd4b39",
  1729. color: "#fff",
  1730. boxShadow: "0 2px 2px 0 rgba(221, 75, 57, 0.14), 0 3px 1px -2px rgba(221, 75, 57, 0.2), 0 1px 5px 0 rgba(221, 75, 57, 0.12)",
  1731. "&:hover,&:focus": {
  1732. backgroundColor: "#dd4b39",
  1733. color: "#fff",
  1734. boxShadow: "0 14px 26px -12px rgba(221, 75, 57, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(221, 75, 57, 0.2)"
  1735. }
  1736. },
  1737. github: {
  1738. backgroundColor: "#333333",
  1739. color: "#fff",
  1740. boxShadow: "0 2px 2px 0 rgba(51, 51, 51, 0.14), 0 3px 1px -2px rgba(51, 51, 51, 0.2), 0 1px 5px 0 rgba(51, 51, 51, 0.12)",
  1741. "&:hover,&:focus": {
  1742. backgroundColor: "#333333",
  1743. color: "#fff",
  1744. boxShadow: "0 14px 26px -12px rgba(51, 51, 51, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(51, 51, 51, 0.2)"
  1745. }
  1746. },
  1747. simple: {
  1748. "&,&:focus,&:hover,&:visited": {
  1749. color: "#FFFFFF",
  1750. background: "transparent",
  1751. boxShadow: "none"
  1752. },
  1753. "&$primary": {
  1754. "&,&:focus,&:hover,&:visited": {
  1755. color: nextjs_material_kit["p" /* primaryColor */]
  1756. }
  1757. },
  1758. "&$info": {
  1759. "&,&:focus,&:hover,&:visited": {
  1760. color: nextjs_material_kit["m" /* infoColor */]
  1761. }
  1762. },
  1763. "&$success": {
  1764. "&,&:focus,&:hover,&:visited": {
  1765. color: nextjs_material_kit["u" /* successColor */]
  1766. }
  1767. },
  1768. "&$warning": {
  1769. "&,&:focus,&:hover,&:visited": {
  1770. color: nextjs_material_kit["z" /* warningColor */]
  1771. }
  1772. },
  1773. "&$rose": {
  1774. "&,&:focus,&:hover,&:visited": {
  1775. color: nextjs_material_kit["r" /* roseColor */]
  1776. }
  1777. },
  1778. "&$danger": {
  1779. "&,&:focus,&:hover,&:visited": {
  1780. color: nextjs_material_kit["f" /* dangerColor */]
  1781. }
  1782. },
  1783. "&$twitter": {
  1784. "&,&:focus,&:hover,&:visited": {
  1785. color: "#55acee"
  1786. }
  1787. },
  1788. "&$facebook": {
  1789. "&,&:focus,&:hover,&:visited": {
  1790. color: "#3b5998"
  1791. }
  1792. },
  1793. "&$google": {
  1794. "&,&:focus,&:hover,&:visited": {
  1795. color: "#dd4b39"
  1796. }
  1797. },
  1798. "&$github": {
  1799. "&,&:focus,&:hover,&:visited": {
  1800. color: "#333333"
  1801. }
  1802. }
  1803. },
  1804. transparent: {
  1805. "&,&:focus,&:hover,&:visited": {
  1806. color: "inherit",
  1807. background: "transparent",
  1808. boxShadow: "none"
  1809. }
  1810. },
  1811. disabled: {
  1812. opacity: "0.65",
  1813. pointerEvents: "none"
  1814. },
  1815. lg: {
  1816. padding: "1.125rem 2.25rem",
  1817. fontSize: "0.875rem",
  1818. lineHeight: "1.333333",
  1819. borderRadius: "0.2rem"
  1820. },
  1821. sm: {
  1822. padding: "0.40625rem 1.25rem",
  1823. fontSize: "0.6875rem",
  1824. lineHeight: "1.5",
  1825. borderRadius: "0.2rem"
  1826. },
  1827. round: {
  1828. borderRadius: "30px"
  1829. },
  1830. block: {
  1831. width: "100% !important"
  1832. },
  1833. link: {
  1834. "&,&:hover,&:focus": {
  1835. backgroundColor: "transparent",
  1836. color: "#999999",
  1837. boxShadow: "none"
  1838. }
  1839. },
  1840. justIcon: {
  1841. paddingLeft: "12px",
  1842. paddingRight: "12px",
  1843. fontSize: "20px",
  1844. height: "41px",
  1845. minWidth: "41px",
  1846. width: "41px",
  1847. "& .fab,& .fas,& .far,& .fal,& svg,& .material-icons": {
  1848. marginRight: "0px"
  1849. },
  1850. "&$lg": {
  1851. height: "57px",
  1852. minWidth: "57px",
  1853. width: "57px",
  1854. lineHeight: "56px",
  1855. "& .fab,& .fas,& .far,& .fal,& .material-icons": {
  1856. fontSize: "32px",
  1857. lineHeight: "56px"
  1858. },
  1859. "& svg": {
  1860. width: "32px",
  1861. height: "32px"
  1862. }
  1863. },
  1864. "&$sm": {
  1865. height: "30px",
  1866. minWidth: "30px",
  1867. width: "30px",
  1868. "& .fab,& .fas,& .far,& .fal,& .material-icons": {
  1869. fontSize: "17px",
  1870. lineHeight: "29px"
  1871. },
  1872. "& svg": {
  1873. width: "17px",
  1874. height: "17px"
  1875. }
  1876. }
  1877. }
  1878. };
  1879. /* harmony default export */ var components_buttonStyle = (buttonStyle);
  1880. // CONCATENATED MODULE: ./components/CustomButtons/Button.js
  1881. var __jsx = external_react_default.a.createElement;
  1882. function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
  1883. function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
  1884. function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
  1885. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
  1886. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
  1887. function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
  1888. // nodejs library to set properties for components
  1889. // nodejs library that concatenates classes
  1890. // @material-ui/core components
  1891. // core components
  1892. const makeComponentStyles = makeStyles_default()(() => _objectSpread({}, components_buttonStyle));
  1893. const RegularButton = external_react_default.a.forwardRef((props, ref) => {
  1894. const {
  1895. color,
  1896. round,
  1897. children,
  1898. fullWidth,
  1899. disabled,
  1900. simple,
  1901. size,
  1902. block,
  1903. link,
  1904. justIcon,
  1905. className
  1906. } = props,
  1907. rest = _objectWithoutProperties(props, ["color", "round", "children", "fullWidth", "disabled", "simple", "size", "block", "link", "justIcon", "className"]);
  1908. const classes = makeComponentStyles();
  1909. const btnClasses = external_classnames_default()({
  1910. [classes.button]: true,
  1911. [classes[size]]: size,
  1912. [classes[color]]: color,
  1913. [classes.round]: round,
  1914. [classes.fullWidth]: fullWidth,
  1915. [classes.disabled]: disabled,
  1916. [classes.simple]: simple,
  1917. [classes.block]: block,
  1918. [classes.link]: link,
  1919. [classes.justIcon]: justIcon,
  1920. [className]: className
  1921. });
  1922. return __jsx(Button_default.a, _extends({}, rest, {
  1923. ref: ref,
  1924. classes: {
  1925. root: btnClasses
  1926. }
  1927. }), children);
  1928. });
  1929. /* harmony default export */ var Button = __webpack_exports__["a"] = (RegularButton);
  1930. /***/ }),
  1931. /***/ "Ms0O":
  1932. /***/ (function(module, exports) {
  1933. module.exports = require("@material-ui/core/Toolbar");
  1934. /***/ }),
  1935. /***/ "Osoz":
  1936. /***/ (function(module, exports) {
  1937. module.exports = require("next/dist/next-server/lib/router-context.js");
  1938. /***/ }),
  1939. /***/ "Q01v":
  1940. /***/ (function(module, exports) {
  1941. module.exports = require("@material-ui/core/Drawer");
  1942. /***/ }),
  1943. /***/ "QOEo":
  1944. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1945. "use strict";
  1946. // EXPORTS
  1947. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ CustomDropdown; });
  1948. // EXTERNAL MODULE: external "react"
  1949. var external_react_ = __webpack_require__("cDcd");
  1950. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  1951. // EXTERNAL MODULE: external "classnames"
  1952. var external_classnames_ = __webpack_require__("K2gz");
  1953. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  1954. // EXTERNAL MODULE: external "@material-ui/core/styles"
  1955. var styles_ = __webpack_require__("9Pu4");
  1956. // EXTERNAL MODULE: external "@material-ui/core/MenuItem"
  1957. var MenuItem_ = __webpack_require__("x54t");
  1958. var MenuItem_default = /*#__PURE__*/__webpack_require__.n(MenuItem_);
  1959. // EXTERNAL MODULE: external "@material-ui/core/MenuList"
  1960. var MenuList_ = __webpack_require__("xmQw");
  1961. var MenuList_default = /*#__PURE__*/__webpack_require__.n(MenuList_);
  1962. // EXTERNAL MODULE: external "@material-ui/core/ClickAwayListener"
  1963. var ClickAwayListener_ = __webpack_require__("31Yn");
  1964. var ClickAwayListener_default = /*#__PURE__*/__webpack_require__.n(ClickAwayListener_);
  1965. // EXTERNAL MODULE: external "@material-ui/core/Paper"
  1966. var Paper_ = __webpack_require__("qt1I");
  1967. var Paper_default = /*#__PURE__*/__webpack_require__.n(Paper_);
  1968. // EXTERNAL MODULE: external "@material-ui/core/Grow"
  1969. var Grow_ = __webpack_require__("mf1M");
  1970. var Grow_default = /*#__PURE__*/__webpack_require__.n(Grow_);
  1971. // EXTERNAL MODULE: external "@material-ui/core/Divider"
  1972. var Divider_ = __webpack_require__("nybW");
  1973. var Divider_default = /*#__PURE__*/__webpack_require__.n(Divider_);
  1974. // EXTERNAL MODULE: external "@material-ui/core/Icon"
  1975. var Icon_ = __webpack_require__("7vM9");
  1976. var Icon_default = /*#__PURE__*/__webpack_require__.n(Icon_);
  1977. // EXTERNAL MODULE: external "@material-ui/core/Popper"
  1978. var Popper_ = __webpack_require__("jD8W");
  1979. var Popper_default = /*#__PURE__*/__webpack_require__.n(Popper_);
  1980. // EXTERNAL MODULE: ./components/CustomButtons/Button.js + 1 modules
  1981. var Button = __webpack_require__("Kg+a");
  1982. // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
  1983. var nextjs_material_kit = __webpack_require__("eDSW");
  1984. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/customDropdownStyle.js
  1985. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
  1986. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
  1987. function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
  1988. const customDropdownStyle = theme => ({
  1989. popperClose: {
  1990. pointerEvents: "none"
  1991. },
  1992. pooperNav: {
  1993. [theme.breakpoints.down("sm")]: {
  1994. position: "static !important",
  1995. left: "unset !important",
  1996. top: "unset !important",
  1997. transform: "none !important",
  1998. willChange: "none !important",
  1999. "& > div": {
  2000. boxShadow: "none !important",
  2001. marginLeft: "1.5rem",
  2002. marginRight: "1.5rem",
  2003. transition: "none !important",
  2004. marginTop: "0px !important",
  2005. marginBottom: "5px !important",
  2006. padding: "0px !important"
  2007. }
  2008. }
  2009. },
  2010. dropdown: {
  2011. borderRadius: "3px",
  2012. border: "0",
  2013. boxShadow: "0 2px 5px 0 rgba(0, 0, 0, 0.26)",
  2014. top: "100%",
  2015. zIndex: "1000",
  2016. minWidth: "160px",
  2017. padding: "5px 0",
  2018. margin: "2px 0 0",
  2019. fontSize: "14px",
  2020. textAlign: "left",
  2021. listStyle: "none",
  2022. backgroundColor: "#fff",
  2023. backgroundClip: "padding-box"
  2024. },
  2025. menuList: {
  2026. padding: "0"
  2027. },
  2028. popperResponsive: {
  2029. zIndex: "1200",
  2030. position: "absolute !important",
  2031. [theme.breakpoints.down("sm")]: {
  2032. zIndex: "1640",
  2033. position: "static !important",
  2034. float: "none",
  2035. width: "auto",
  2036. marginTop: "0",
  2037. backgroundColor: "transparent",
  2038. border: "0",
  2039. boxShadow: "none",
  2040. color: "black"
  2041. }
  2042. },
  2043. dropdownItem: _objectSpread({}, nextjs_material_kit["g" /* defaultFont */], {
  2044. fontSize: "13px",
  2045. padding: "10px 20px",
  2046. margin: "0 5px",
  2047. borderRadius: "2px",
  2048. position: "relative",
  2049. transition: "all 150ms linear",
  2050. display: "block",
  2051. clear: "both",
  2052. fontWeight: "400",
  2053. height: "fit-content",
  2054. color: "#333",
  2055. whiteSpace: "nowrap",
  2056. minHeight: "unset"
  2057. }),
  2058. blackHover: {
  2059. "&:hover": {
  2060. boxShadow: "0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(33, 33, 33, 0.4)",
  2061. backgroundColor: "#212121",
  2062. color: "#fff"
  2063. }
  2064. },
  2065. primaryHover: {
  2066. "&:hover": _objectSpread({
  2067. backgroundColor: nextjs_material_kit["m" /* infoColor */],
  2068. color: "#FFFFFF"
  2069. }, nextjs_material_kit["n" /* primaryBoxShadow */])
  2070. },
  2071. infoHover: {
  2072. "&:hover": _objectSpread({
  2073. backgroundColor: nextjs_material_kit["m" /* infoColor */],
  2074. color: "#FFFFFF"
  2075. }, nextjs_material_kit["k" /* infoBoxShadow */])
  2076. },
  2077. successHover: {
  2078. "&:hover": _objectSpread({
  2079. backgroundColor: nextjs_material_kit["u" /* successColor */],
  2080. color: "#FFFFFF"
  2081. }, nextjs_material_kit["s" /* successBoxShadow */])
  2082. },
  2083. warningHover: {
  2084. "&:hover": _objectSpread({
  2085. backgroundColor: nextjs_material_kit["z" /* warningColor */],
  2086. color: "#FFFFFF"
  2087. }, nextjs_material_kit["x" /* warningBoxShadow */])
  2088. },
  2089. dangerHover: {
  2090. "&:hover": _objectSpread({
  2091. backgroundColor: nextjs_material_kit["f" /* dangerColor */],
  2092. color: "#FFFFFF"
  2093. }, nextjs_material_kit["d" /* dangerBoxShadow */])
  2094. },
  2095. roseHover: {
  2096. "&:hover": _objectSpread({
  2097. backgroundColor: nextjs_material_kit["r" /* roseColor */],
  2098. color: "#FFFFFF"
  2099. }, nextjs_material_kit["q" /* roseBoxShadow */])
  2100. },
  2101. dropdownItemRTL: {
  2102. textAlign: "right"
  2103. },
  2104. dropdownDividerItem: {
  2105. margin: "5px 0",
  2106. backgroundColor: "rgba(0, 0, 0, 0.12)",
  2107. height: "1px",
  2108. overflow: "hidden"
  2109. },
  2110. buttonIcon: {
  2111. width: "20px",
  2112. height: "20px"
  2113. },
  2114. caret: {
  2115. transition: "all 150ms ease-in",
  2116. display: "inline-block",
  2117. width: "0",
  2118. height: "0",
  2119. marginLeft: "4px",
  2120. verticalAlign: "middle",
  2121. borderTop: "4px solid",
  2122. borderRight: "4px solid transparent",
  2123. borderLeft: "4px solid transparent"
  2124. },
  2125. caretActive: {
  2126. transform: "rotate(180deg)"
  2127. },
  2128. caretRTL: {
  2129. marginRight: "4px"
  2130. },
  2131. dropdownHeader: {
  2132. display: "block",
  2133. padding: "0.1875rem 1.25rem",
  2134. fontSize: "0.75rem",
  2135. lineHeight: "1.428571",
  2136. color: "#777",
  2137. whiteSpace: "nowrap",
  2138. fontWeight: "inherit",
  2139. marginTop: "10px",
  2140. minHeight: "unset",
  2141. "&:hover,&:focus": {
  2142. backgroundColor: "transparent",
  2143. cursor: "auto"
  2144. }
  2145. },
  2146. noLiPadding: {
  2147. padding: "0"
  2148. }
  2149. });
  2150. /* harmony default export */ var components_customDropdownStyle = (customDropdownStyle);
  2151. // CONCATENATED MODULE: ./components/CustomDropdown/CustomDropdown.js
  2152. var __jsx = external_react_default.a.createElement;
  2153. function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
  2154. // nodejs library that concatenates classes
  2155. // nodejs library to set properties for components
  2156. // @material-ui/core components
  2157. // core components
  2158. const useStyles = Object(styles_["makeStyles"])(components_customDropdownStyle);
  2159. function CustomDropdown(props) {
  2160. const [anchorEl, setAnchorEl] = external_react_default.a.useState(null);
  2161. const handleClick = event => {
  2162. if (anchorEl && anchorEl.contains(event.target)) {
  2163. setAnchorEl(null);
  2164. } else {
  2165. setAnchorEl(event.currentTarget);
  2166. }
  2167. };
  2168. const handleClose = param => {
  2169. setAnchorEl(null);
  2170. if (props && props.onClick) {
  2171. props.onClick(param);
  2172. }
  2173. };
  2174. const handleCloseAway = event => {
  2175. if (anchorEl.contains(event.target)) {
  2176. return;
  2177. }
  2178. setAnchorEl(null);
  2179. };
  2180. const classes = useStyles();
  2181. const {
  2182. buttonText,
  2183. buttonIcon,
  2184. dropdownList,
  2185. buttonProps,
  2186. dropup,
  2187. dropdownHeader,
  2188. caret,
  2189. hoverColor,
  2190. left,
  2191. rtlActive,
  2192. noLiPadding,
  2193. navDropdown
  2194. } = props;
  2195. const caretClasses = external_classnames_default()({
  2196. [classes.caret]: true,
  2197. [classes.caretActive]: Boolean(anchorEl),
  2198. [classes.caretRTL]: rtlActive
  2199. });
  2200. const dropdownItem = external_classnames_default()({
  2201. [classes.dropdownItem]: true,
  2202. [classes[hoverColor + "Hover"]]: true,
  2203. [classes.noLiPadding]: noLiPadding,
  2204. [classes.dropdownItemRTL]: rtlActive
  2205. });
  2206. let icon = null;
  2207. switch (typeof buttonIcon) {
  2208. case "object":
  2209. icon = __jsx(props.buttonIcon, {
  2210. className: classes.buttonIcon
  2211. });
  2212. break;
  2213. case "string":
  2214. icon = __jsx(Icon_default.a, {
  2215. className: classes.buttonIcon
  2216. }, props.buttonIcon);
  2217. break;
  2218. default:
  2219. icon = null;
  2220. break;
  2221. }
  2222. return __jsx("div", null, __jsx("div", null, __jsx(Button["a" /* default */], _extends({
  2223. "aria-label": "Notifications",
  2224. "aria-owns": anchorEl ? "menu-list" : null,
  2225. "aria-haspopup": "true"
  2226. }, buttonProps, {
  2227. onClick: handleClick
  2228. }), icon, buttonText !== undefined ? buttonText : null, caret ? __jsx("b", {
  2229. className: caretClasses
  2230. }) : null)), __jsx(Popper_default.a, {
  2231. open: Boolean(anchorEl),
  2232. anchorEl: anchorEl,
  2233. transition: true,
  2234. disablePortal: true,
  2235. placement: dropup ? left ? "top-start" : "top" : left ? "bottom-start" : "bottom",
  2236. className: external_classnames_default()({
  2237. [classes.popperClose]: !anchorEl,
  2238. [classes.popperResponsive]: true,
  2239. [classes.pooperNav]: Boolean(anchorEl) && navDropdown
  2240. })
  2241. }, () => __jsx(Grow_default.a, {
  2242. in: Boolean(anchorEl),
  2243. id: "menu-list",
  2244. style: dropup ? {
  2245. transformOrigin: "0 100% 0"
  2246. } : {
  2247. transformOrigin: "0 0 0"
  2248. }
  2249. }, __jsx(Paper_default.a, {
  2250. className: classes.dropdown
  2251. }, __jsx(ClickAwayListener_default.a, {
  2252. onClickAway: handleCloseAway
  2253. }, __jsx(MenuList_default.a, {
  2254. role: "menu",
  2255. className: classes.menuList
  2256. }, dropdownHeader !== undefined ? __jsx(MenuItem_default.a, {
  2257. onClick: () => handleClose(dropdownHeader),
  2258. className: classes.dropdownHeader
  2259. }, dropdownHeader) : null, dropdownList.map((prop, key) => {
  2260. if (prop.divider) {
  2261. return __jsx(Divider_default.a, {
  2262. key: key,
  2263. onClick: () => handleClose("divider"),
  2264. className: classes.dropdownDividerItem
  2265. });
  2266. }
  2267. return __jsx(MenuItem_default.a, {
  2268. key: key,
  2269. onClick: () => handleClose(prop),
  2270. className: dropdownItem
  2271. }, prop);
  2272. })))))));
  2273. }
  2274. CustomDropdown.defaultProps = {
  2275. caret: true,
  2276. hoverColor: "primary"
  2277. };
  2278. /***/ }),
  2279. /***/ "Qpk+":
  2280. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2281. "use strict";
  2282. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return HeaderLinks; });
  2283. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  2284. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  2285. /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("YFqc");
  2286. /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_1__);
  2287. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("9Pu4");
  2288. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_2__);
  2289. /* harmony import */ var _material_ui_core_List__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("0LMq");
  2290. /* harmony import */ var _material_ui_core_List__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_List__WEBPACK_IMPORTED_MODULE_3__);
  2291. /* harmony import */ var _material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("c25J");
  2292. /* harmony import */ var _material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4__);
  2293. /* harmony import */ var _material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("7vM9");
  2294. /* harmony import */ var _material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5__);
  2295. /* harmony import */ var _material_ui_icons_LocalGroceryStore__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("3REV");
  2296. /* harmony import */ var _material_ui_icons_LocalGroceryStore__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_material_ui_icons_LocalGroceryStore__WEBPACK_IMPORTED_MODULE_6__);
  2297. /* harmony import */ var _material_ui_icons__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("2kat");
  2298. /* harmony import */ var _material_ui_icons__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_material_ui_icons__WEBPACK_IMPORTED_MODULE_7__);
  2299. /* harmony import */ var components_CustomDropdown_CustomDropdown_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("QOEo");
  2300. /* harmony import */ var components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("Kg+a");
  2301. /* harmony import */ var assets_jss_nextjs_material_kit_components_headerLinksStyle_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("0G1C");
  2302. /* harmony import */ var assets_img_honda_png__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("JeXI");
  2303. /* harmony import */ var assets_img_honda_png__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(assets_img_honda_png__WEBPACK_IMPORTED_MODULE_11__);
  2304. var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
  2305. function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
  2306. function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
  2307. /*eslint-disable*/
  2308. // @material-ui/core components
  2309. // @material-ui/icons
  2310. // core components
  2311. const useStyles = Object(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_2__["makeStyles"])(assets_jss_nextjs_material_kit_components_headerLinksStyle_js__WEBPACK_IMPORTED_MODULE_10__[/* default */ "a"]);
  2312. function HeaderLinks(_ref) {
  2313. let {
  2314. username
  2315. } = _ref,
  2316. props = _objectWithoutProperties(_ref, ["username"]);
  2317. const classes = useStyles();
  2318. return __jsx(_material_ui_core_List__WEBPACK_IMPORTED_MODULE_3___default.a, {
  2319. className: classes.list
  2320. }, __jsx(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default.a, {
  2321. className: classes.listItem
  2322. }, __jsx(next_link__WEBPACK_IMPORTED_MODULE_1___default.a, {
  2323. href: "/honda/home"
  2324. }, __jsx(components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
  2325. color: "transparent",
  2326. className: classes.navLink
  2327. }, __jsx("img", {
  2328. src: assets_img_honda_png__WEBPACK_IMPORTED_MODULE_11___default.a,
  2329. width: "210px"
  2330. })))), __jsx(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default.a, {
  2331. className: classes.listItem
  2332. }, __jsx(next_link__WEBPACK_IMPORTED_MODULE_1___default.a, {
  2333. href: "/honda/home"
  2334. }, __jsx(components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
  2335. color: "transparent",
  2336. className: classes.navLink,
  2337. style: {
  2338. marginTop: "10px"
  2339. }
  2340. }, __jsx(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default.a, {
  2341. className: classes.icons
  2342. }, "home"), " Home"))), __jsx(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default.a, {
  2343. className: classes.listItem
  2344. }, __jsx(next_link__WEBPACK_IMPORTED_MODULE_1___default.a, {
  2345. href: "/honda/product/product"
  2346. }, __jsx(components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
  2347. color: "transparent",
  2348. className: classes.navLink,
  2349. style: {
  2350. marginTop: "10px"
  2351. }
  2352. }, __jsx(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default.a, {
  2353. className: classes.icons
  2354. }, "home"), " Product"))), __jsx(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default.a, {
  2355. className: classes.listItem,
  2356. style: {
  2357. marginTop: "10px"
  2358. }
  2359. }, __jsx(next_link__WEBPACK_IMPORTED_MODULE_1___default.a, {
  2360. href: "/honda/latest_news/latestnews"
  2361. }, __jsx(components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
  2362. color: "transparent",
  2363. className: classes.navLink
  2364. }, __jsx(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default.a, {
  2365. className: classes.icons
  2366. }, "event"), " Latest News"))), __jsx(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default.a, {
  2367. className: classes.listItem,
  2368. style: {
  2369. marginTop: "10px"
  2370. }
  2371. }, __jsx(components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
  2372. href: "/honda/carrer/carrer",
  2373. color: "transparent",
  2374. className: classes.navLink
  2375. }, __jsx(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default.a, {
  2376. className: classes.icons
  2377. }, "wallet_travel"), " Career")), __jsx(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default.a, {
  2378. className: classes.listItem,
  2379. style: {
  2380. marginTop: "10px"
  2381. }
  2382. }, __jsx(components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
  2383. href: "/honda/about_us/about_us",
  2384. color: "transparent",
  2385. className: classes.navLink
  2386. }, __jsx(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default.a, {
  2387. className: classes.icons
  2388. }, "account_balance"), " About Us")), __jsx(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default.a, {
  2389. className: classes.listItem,
  2390. style: {
  2391. marginTop: "10px"
  2392. }
  2393. }, __jsx(components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
  2394. href: "/honda/profile/profile" // href="#"
  2395. ,
  2396. color: "transparent",
  2397. className: classes.navLink
  2398. }, __jsx(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default.a, {
  2399. className: classes.icons
  2400. }, "people"), " Profile")), __jsx(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default.a, {
  2401. className: classes.listItem,
  2402. style: {
  2403. marginTop: "10px"
  2404. }
  2405. }, !username || username == "" ? __jsx(components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
  2406. href: "/honda/login",
  2407. className: classes.registerNavLink,
  2408. color: "info",
  2409. round: true
  2410. }, __jsx(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default.a, {
  2411. className: classes.icons
  2412. }, "input"), " Login") : __jsx(components_CustomDropdown_CustomDropdown_js__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"], {
  2413. noLiPadding: true,
  2414. navDropdown: true,
  2415. buttonText: username.length > 12 ? username.substring(0, 9) + ".." : username,
  2416. buttonProps: {
  2417. className: classes.navLink,
  2418. color: "transparent"
  2419. },
  2420. buttonIcon: _material_ui_icons__WEBPACK_IMPORTED_MODULE_7__["Person"],
  2421. dropdownList: [__jsx("div", {
  2422. onClick: async e => {
  2423. e.preventDefault();
  2424. fetch("/api/auth/logout", {
  2425. method: "POST",
  2426. headers: {
  2427. "Content-Type": "application/json"
  2428. },
  2429. body: JSON.stringify({
  2430. p: "SUZUKI"
  2431. })
  2432. }).then(res => {
  2433. //if (res.ok) {
  2434. window.location.href = "../honda/home";
  2435. /*}
  2436. else{
  2437. }*/
  2438. });
  2439. }
  2440. }, __jsx("a", {
  2441. className: classes.dropdownLink
  2442. }, __jsx(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default.a, {
  2443. className: classes.icons
  2444. }, "exit_to_app"), " ", "Logout")) // <a href="/honda/profile/profile" className={classes.dropdownLink}>Profile</a>,
  2445. ]
  2446. })));
  2447. }
  2448. /***/ }),
  2449. /***/ "QzC/":
  2450. /***/ (function(module, exports) {
  2451. module.exports = require("react-swipeable-views");
  2452. /***/ }),
  2453. /***/ "SJC6":
  2454. /***/ (function(module, exports) {
  2455. module.exports = require("@material-ui/core/Tabs");
  2456. /***/ }),
  2457. /***/ "SuH/":
  2458. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2459. "use strict";
  2460. // EXPORTS
  2461. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ NavPills; });
  2462. // EXTERNAL MODULE: external "react"
  2463. var external_react_ = __webpack_require__("cDcd");
  2464. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  2465. // EXTERNAL MODULE: external "classnames"
  2466. var external_classnames_ = __webpack_require__("K2gz");
  2467. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  2468. // EXTERNAL MODULE: external "react-swipeable-views"
  2469. var external_react_swipeable_views_ = __webpack_require__("QzC/");
  2470. var external_react_swipeable_views_default = /*#__PURE__*/__webpack_require__.n(external_react_swipeable_views_);
  2471. // EXTERNAL MODULE: external "@material-ui/core/styles"
  2472. var styles_ = __webpack_require__("9Pu4");
  2473. // EXTERNAL MODULE: external "@material-ui/core/Tabs"
  2474. var Tabs_ = __webpack_require__("SJC6");
  2475. var Tabs_default = /*#__PURE__*/__webpack_require__.n(Tabs_);
  2476. // EXTERNAL MODULE: external "@material-ui/core/Tab"
  2477. var Tab_ = __webpack_require__("6Yxu");
  2478. var Tab_default = /*#__PURE__*/__webpack_require__.n(Tab_);
  2479. // EXTERNAL MODULE: ./components/Grid/GridContainer.js
  2480. var GridContainer = __webpack_require__("mtPR");
  2481. // EXTERNAL MODULE: ./components/Grid/GridItem.js
  2482. var GridItem = __webpack_require__("i4t8");
  2483. // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
  2484. var nextjs_material_kit = __webpack_require__("eDSW");
  2485. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/navPillsStyle.js
  2486. const navPillsStyle = theme => ({
  2487. root: {
  2488. marginTop: "20px",
  2489. paddingLeft: "0",
  2490. marginBottom: "0",
  2491. overflow: "visible !important",
  2492. lineHeight: "24px",
  2493. textTransform: "uppercase",
  2494. fontSize: "12px",
  2495. fontWeight: "500",
  2496. position: "relative",
  2497. display: "block",
  2498. color: "inherit"
  2499. },
  2500. flexContainer: {
  2501. [theme.breakpoints.down("xs")]: {
  2502. display: "flex",
  2503. flexWrap: "wrap"
  2504. }
  2505. },
  2506. displayNone: {
  2507. display: "none !important"
  2508. },
  2509. fixed: {
  2510. overflow: "visible !important"
  2511. },
  2512. horizontalDisplay: {
  2513. display: "block"
  2514. },
  2515. pills: {
  2516. float: "left",
  2517. position: "relative",
  2518. display: "block",
  2519. borderRadius: "30px",
  2520. minWidth: "100px",
  2521. textAlign: "center",
  2522. transition: "all .3s",
  2523. padding: "10px 15px",
  2524. color: "#555555",
  2525. height: "auto",
  2526. opacity: "1",
  2527. maxWidth: "100%",
  2528. margin: "0 5px"
  2529. },
  2530. pillsWithIcons: {
  2531. borderRadius: "4px"
  2532. },
  2533. tabIcon: {
  2534. width: "30px",
  2535. height: "30px",
  2536. display: "block",
  2537. margin: "15px 0 !important",
  2538. "&, & *": {
  2539. letterSpacing: "normal !important"
  2540. }
  2541. },
  2542. horizontalPills: {
  2543. width: "100%",
  2544. float: "none !important",
  2545. "& + button": {
  2546. margin: "10px 0"
  2547. }
  2548. },
  2549. contentWrapper: {
  2550. marginTop: "20px"
  2551. },
  2552. primary: {
  2553. "&,&:hover": {
  2554. color: "#FFFFFF",
  2555. backgroundColor: nextjs_material_kit["m" /* infoColor */],
  2556. boxShadow: `0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["p" /* primaryColor */], 0.4)}`
  2557. }
  2558. },
  2559. info: {
  2560. "&,&:hover": {
  2561. color: "#FFFFFF",
  2562. backgroundColor: nextjs_material_kit["m" /* infoColor */],
  2563. boxShadow: `0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["m" /* infoColor */], 0.4)}`
  2564. }
  2565. },
  2566. success: {
  2567. "&,&:hover": {
  2568. color: "#FFFFFF",
  2569. backgroundColor: nextjs_material_kit["u" /* successColor */],
  2570. boxShadow: `0 2px 2px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["u" /* successColor */], 0.14)}, 0 3px 1px -2px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["u" /* successColor */], 0.2)}, 0 1px 5px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["u" /* successColor */], 0.12)}`
  2571. }
  2572. },
  2573. warning: {
  2574. "&,&:hover": {
  2575. color: "#FFFFFF",
  2576. backgroundColor: nextjs_material_kit["z" /* warningColor */],
  2577. boxShadow: `0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["z" /* warningColor */], 0.4)}`
  2578. }
  2579. },
  2580. danger: {
  2581. "&,&:hover": {
  2582. color: "#FFFFFF",
  2583. backgroundColor: nextjs_material_kit["f" /* dangerColor */],
  2584. boxShadow: `0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["f" /* dangerColor */], 0.4)}`
  2585. }
  2586. },
  2587. rose: {
  2588. "&,&:hover": {
  2589. color: "#FFFFFF",
  2590. backgroundColor: nextjs_material_kit["r" /* roseColor */],
  2591. boxShadow: `0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["r" /* roseColor */], 0.4)}`
  2592. }
  2593. },
  2594. alignCenter: {
  2595. alignItems: "center",
  2596. justifyContent: "center"
  2597. },
  2598. tabWrapper: {
  2599. color: "inherit",
  2600. position: "relative",
  2601. fontSize: "12px",
  2602. lineHeight: "24px",
  2603. fontWeight: "500",
  2604. textTransform: "uppercase",
  2605. "&,& *": {
  2606. letterSpacing: "normal"
  2607. }
  2608. }
  2609. });
  2610. /* harmony default export */ var components_navPillsStyle = (navPillsStyle);
  2611. // CONCATENATED MODULE: ./components/NavPills/NavPills.js
  2612. var __jsx = external_react_default.a.createElement;
  2613. function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
  2614. // nodejs library that concatenates classes
  2615. // nodejs library to set properties for components
  2616. // @material-ui/core components
  2617. // core components
  2618. const useStyles = Object(styles_["makeStyles"])(components_navPillsStyle);
  2619. function NavPills(props) {
  2620. const [active, setActive] = external_react_default.a.useState(props.active);
  2621. const handleChange = (event, active) => {
  2622. setActive(active);
  2623. };
  2624. const handleChangeIndex = index => {
  2625. setActive(index);
  2626. };
  2627. const classes = useStyles();
  2628. const {
  2629. tabs,
  2630. direction,
  2631. color,
  2632. horizontal,
  2633. alignCenter
  2634. } = props;
  2635. const flexContainerClasses = external_classnames_default()({
  2636. [classes.flexContainer]: true,
  2637. [classes.horizontalDisplay]: horizontal !== undefined
  2638. });
  2639. const tabButtons = __jsx(Tabs_default.a, {
  2640. classes: {
  2641. root: classes.root,
  2642. fixed: classes.fixed,
  2643. flexContainer: flexContainerClasses,
  2644. indicator: classes.displayNone
  2645. },
  2646. value: active,
  2647. onChange: handleChange,
  2648. centered: alignCenter
  2649. }, tabs.map((prop, key) => {
  2650. var icon = {};
  2651. if (prop.tabIcon !== undefined) {
  2652. icon["icon"] = __jsx(prop.tabIcon, {
  2653. className: classes.tabIcon
  2654. });
  2655. }
  2656. const pillsClasses = external_classnames_default()({
  2657. [classes.pills]: true,
  2658. [classes.horizontalPills]: horizontal !== undefined,
  2659. [classes.pillsWithIcons]: prop.tabIcon !== undefined
  2660. });
  2661. return __jsx(Tab_default.a, _extends({
  2662. label: prop.tabButton,
  2663. key: key
  2664. }, icon, {
  2665. classes: {
  2666. root: pillsClasses,
  2667. selected: classes[color],
  2668. wrapper: classes.tabWrapper
  2669. }
  2670. }));
  2671. }));
  2672. const tabContent = __jsx("div", {
  2673. className: classes.contentWrapper
  2674. }, __jsx(external_react_swipeable_views_default.a, {
  2675. axis: direction === "rtl" ? "x-reverse" : "x",
  2676. index: active,
  2677. onChangeIndex: handleChangeIndex
  2678. }, tabs.map((prop, key) => {
  2679. return __jsx("div", {
  2680. className: classes.tabContent,
  2681. key: key
  2682. }, prop.tabContent);
  2683. })));
  2684. return horizontal !== undefined ? __jsx(GridContainer["a" /* default */], null, __jsx(GridItem["a" /* default */], horizontal.tabsGrid, tabButtons), __jsx(GridItem["a" /* default */], horizontal.contentGrid, tabContent)) : __jsx("div", null, tabButtons, tabContent);
  2685. }
  2686. NavPills.defaultProps = {
  2687. active: 0,
  2688. color: "primary"
  2689. };
  2690. /***/ }),
  2691. /***/ "UsYt":
  2692. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2693. "use strict";
  2694. // EXPORTS
  2695. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ CardBody; });
  2696. // EXTERNAL MODULE: external "react"
  2697. var external_react_ = __webpack_require__("cDcd");
  2698. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  2699. // EXTERNAL MODULE: external "classnames"
  2700. var external_classnames_ = __webpack_require__("K2gz");
  2701. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  2702. // EXTERNAL MODULE: external "@material-ui/core/styles"
  2703. var styles_ = __webpack_require__("9Pu4");
  2704. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/cardBodyStyle.js
  2705. const cardBodyStyle = {
  2706. cardBody: {
  2707. padding: "0.9375rem 1.875rem",
  2708. flex: "1 1 auto"
  2709. }
  2710. };
  2711. /* harmony default export */ var components_cardBodyStyle = (cardBodyStyle);
  2712. // CONCATENATED MODULE: ./components/Card/CardBody.js
  2713. var __jsx = external_react_default.a.createElement;
  2714. function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
  2715. function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
  2716. function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
  2717. // nodejs library that concatenates classes
  2718. // nodejs library to set properties for components
  2719. // @material-ui/core components
  2720. // @material-ui/icons
  2721. // core components
  2722. const useStyles = Object(styles_["makeStyles"])(components_cardBodyStyle);
  2723. function CardBody(props) {
  2724. const classes = useStyles();
  2725. const {
  2726. className,
  2727. children
  2728. } = props,
  2729. rest = _objectWithoutProperties(props, ["className", "children"]);
  2730. const cardBodyClasses = external_classnames_default()({
  2731. [classes.cardBody]: true,
  2732. [className]: className !== undefined
  2733. });
  2734. return __jsx("div", _extends({
  2735. className: cardBodyClasses
  2736. }, rest), children);
  2737. }
  2738. /***/ }),
  2739. /***/ "Vjj2":
  2740. /***/ (function(module, exports) {
  2741. module.exports = require("cookies");
  2742. /***/ }),
  2743. /***/ "Wh1t":
  2744. /***/ (function(module, exports) {
  2745. module.exports = require("@material-ui/core/Button");
  2746. /***/ }),
  2747. /***/ "Y8uC":
  2748. /***/ (function(module, exports) {
  2749. module.exports = require("@material-ui/core/Hidden");
  2750. /***/ }),
  2751. /***/ "YFqc":
  2752. /***/ (function(module, exports, __webpack_require__) {
  2753. module.exports = __webpack_require__("cTJO")
  2754. /***/ }),
  2755. /***/ "YTqd":
  2756. /***/ (function(module, exports, __webpack_require__) {
  2757. "use strict";
  2758. Object.defineProperty(exports, "__esModule", {
  2759. value: true
  2760. }); // this isn't importing the escape-string-regex module
  2761. // to reduce bytes
  2762. function escapeRegex(str) {
  2763. return str.replace(/[|\\{}()[\]^$+*?.-]/g, '\\$&');
  2764. }
  2765. function getRouteRegex(normalizedRoute) {
  2766. // Escape all characters that could be considered RegEx
  2767. const escapedRoute = escapeRegex(normalizedRoute.replace(/\/$/, '') || '/');
  2768. const groups = {};
  2769. let groupIndex = 1;
  2770. const parameterizedRoute = escapedRoute.replace(/\/\\\[([^/]+?)\\\](?=\/|$)/g, (_, $1) => {
  2771. const isCatchAll = /^(\\\.){3}/.test($1);
  2772. groups[$1 // Un-escape key
  2773. .replace(/\\([|\\{}()[\]^$+*?.-])/g, '$1').replace(/^\.{3}/, '') // eslint-disable-next-line no-sequences
  2774. ] = {
  2775. pos: groupIndex++,
  2776. repeat: isCatchAll
  2777. };
  2778. return isCatchAll ? '/(.+?)' : '/([^/]+?)';
  2779. });
  2780. let namedParameterizedRoute; // dead code eliminate for browser since it's only needed
  2781. // while generating routes-manifest
  2782. if (true) {
  2783. namedParameterizedRoute = escapedRoute.replace(/\/\\\[([^/]+?)\\\](?=\/|$)/g, (_, $1) => {
  2784. const isCatchAll = /^(\\\.){3}/.test($1);
  2785. const key = $1 // Un-escape key
  2786. .replace(/\\([|\\{}()[\]^$+*?.-])/g, '$1').replace(/^\.{3}/, '');
  2787. return isCatchAll ? `/(?<${escapeRegex(key)}>.+?)` : `/(?<${escapeRegex(key)}>[^/]+?)`;
  2788. });
  2789. }
  2790. return Object.assign({
  2791. re: new RegExp('^' + parameterizedRoute + '(?:/)?$', 'i'),
  2792. groups
  2793. }, namedParameterizedRoute ? {
  2794. namedRegex: `^${namedParameterizedRoute}(?:/)?$`
  2795. } : {});
  2796. }
  2797. exports.getRouteRegex = getRouteRegex;
  2798. /***/ }),
  2799. /***/ "Z2Lm":
  2800. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2801. "use strict";
  2802. // EXPORTS
  2803. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ Parallax; });
  2804. // EXTERNAL MODULE: external "react"
  2805. var external_react_ = __webpack_require__("cDcd");
  2806. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  2807. // EXTERNAL MODULE: external "classnames"
  2808. var external_classnames_ = __webpack_require__("K2gz");
  2809. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  2810. // EXTERNAL MODULE: external "@material-ui/core/styles"
  2811. var styles_ = __webpack_require__("9Pu4");
  2812. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/parallaxStyle.js
  2813. const parallaxStyle = theme => ({
  2814. parallax: {
  2815. height: "90vh",
  2816. maxHeight: "1000px",
  2817. overflow: "hidden",
  2818. position: "relative",
  2819. backgroundPosition: "center top",
  2820. backgroundSize: "cover",
  2821. margin: "0",
  2822. padding: "0",
  2823. border: "0",
  2824. display: "flex",
  2825. alignItems: "center"
  2826. },
  2827. filter: {
  2828. "&:before": {
  2829. background: "#212121"
  2830. },
  2831. "&:after,&:before": {
  2832. position: "absolute",
  2833. zIndex: "1",
  2834. width: "100%",
  2835. height: "100%",
  2836. display: "block",
  2837. left: "0",
  2838. top: "0",
  2839. content: "''"
  2840. }
  2841. },
  2842. small: {
  2843. height: "380px"
  2844. },
  2845. parallaxResponsive: {
  2846. [theme.breakpoints.down("md")]: {
  2847. minHeight: "660px"
  2848. }
  2849. }
  2850. });
  2851. /* harmony default export */ var components_parallaxStyle = (parallaxStyle);
  2852. // CONCATENATED MODULE: ./components/Parallax/Parallax.js
  2853. var __jsx = external_react_default.a.createElement;
  2854. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
  2855. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
  2856. function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
  2857. // nodejs library that concatenates classes
  2858. // nodejs library to set properties for components
  2859. // @material-ui/core components
  2860. // core components
  2861. const useStyles = Object(styles_["makeStyles"])(components_parallaxStyle);
  2862. function Parallax(props) {
  2863. let windowScrollTop; // if (window.innerWidth >= 768) {
  2864. // windowScrollTop = window.pageYOffset / 3;
  2865. // } else {
  2866. // windowScrollTop = 0;
  2867. // }
  2868. const [transform, setTransform] = external_react_default.a.useState("translate3d(0,0px,0)");
  2869. external_react_default.a.useEffect(() => {
  2870. if (window.innerWidth >= 768) {
  2871. window.addEventListener("scroll", resetTransform);
  2872. }
  2873. return function cleanup() {
  2874. if (window.innerWidth >= 768) {
  2875. window.removeEventListener("scroll", resetTransform);
  2876. }
  2877. };
  2878. });
  2879. const resetTransform = () => {
  2880. var windowScrollTop = window.pageYOffset / 3;
  2881. setTransform("translate3d(0," + windowScrollTop + "px,0)");
  2882. };
  2883. const {
  2884. filter,
  2885. className,
  2886. children,
  2887. style,
  2888. image,
  2889. small,
  2890. responsive
  2891. } = props;
  2892. const classes = useStyles();
  2893. const parallaxClasses = external_classnames_default()({
  2894. [classes.parallax]: true,
  2895. [classes.filter]: filter,
  2896. [classes.small]: small,
  2897. [classes.parallaxResponsive]: responsive,
  2898. [className]: className !== undefined
  2899. });
  2900. return __jsx("div", {
  2901. className: parallaxClasses,
  2902. style: _objectSpread({}, style, {
  2903. backgroundImage: "url(" + image + ")",
  2904. transform: transform
  2905. })
  2906. }, children);
  2907. }
  2908. /***/ }),
  2909. /***/ "aIa2":
  2910. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2911. "use strict";
  2912. // EXPORTS
  2913. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ Quote; });
  2914. // EXTERNAL MODULE: external "react"
  2915. var external_react_ = __webpack_require__("cDcd");
  2916. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  2917. // EXTERNAL MODULE: external "@material-ui/core/styles"
  2918. var styles_ = __webpack_require__("9Pu4");
  2919. // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
  2920. var nextjs_material_kit = __webpack_require__("eDSW");
  2921. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/typographyStyle.js
  2922. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
  2923. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
  2924. function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
  2925. const typographyStyle = {
  2926. defaultFontStyle: _objectSpread({}, nextjs_material_kit["g" /* defaultFont */], {
  2927. fontSize: "14px"
  2928. }),
  2929. defaultHeaderMargins: {
  2930. marginTop: "20px",
  2931. marginBottom: "10px"
  2932. },
  2933. quote: {
  2934. padding: "10px 20px",
  2935. margin: "0 0 20px",
  2936. fontSize: "17.5px",
  2937. borderLeft: "5px solid #eee"
  2938. },
  2939. quoteText: {
  2940. margin: "0 0 10px",
  2941. fontStyle: "italic"
  2942. },
  2943. quoteAuthor: {
  2944. display: "block",
  2945. fontSize: "80%",
  2946. lineHeight: "1.42857143",
  2947. color: "#777"
  2948. },
  2949. mutedText: {
  2950. color: "#777"
  2951. },
  2952. primaryText: {
  2953. color: nextjs_material_kit["p" /* primaryColor */]
  2954. },
  2955. infoText: {
  2956. color: nextjs_material_kit["m" /* infoColor */]
  2957. },
  2958. successText: {
  2959. color: nextjs_material_kit["u" /* successColor */]
  2960. },
  2961. warningText: {
  2962. color: nextjs_material_kit["z" /* warningColor */]
  2963. },
  2964. dangerText: {
  2965. color: nextjs_material_kit["f" /* dangerColor */]
  2966. },
  2967. smallText: {
  2968. fontSize: "65%",
  2969. fontWeight: "400",
  2970. lineHeight: "1",
  2971. color: "#777"
  2972. }
  2973. };
  2974. /* harmony default export */ var components_typographyStyle = (typographyStyle);
  2975. // CONCATENATED MODULE: ./components/Typography/Quote.js
  2976. var __jsx = external_react_default.a.createElement;
  2977. // nodejs library to set properties for components
  2978. // @material-ui/core components
  2979. // core components
  2980. const useStyles = Object(styles_["makeStyles"])(components_typographyStyle);
  2981. function Quote(props) {
  2982. const {
  2983. text,
  2984. author
  2985. } = props;
  2986. const classes = useStyles();
  2987. return __jsx("blockquote", {
  2988. className: classes.defaultFontStyle + " " + classes.quote
  2989. }, __jsx("p", {
  2990. className: classes.quoteText
  2991. }, text), __jsx("small", {
  2992. className: classes.quoteAuthor
  2993. }, author));
  2994. }
  2995. /***/ }),
  2996. /***/ "bhG4":
  2997. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2998. "use strict";
  2999. /* harmony import */ var _jss_nextjs_material_kit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("eDSW");
  3000. const componentsStyle = {
  3001. container: _jss_nextjs_material_kit__WEBPACK_IMPORTED_MODULE_0__[/* container */ "c"],
  3002. brand: {
  3003. color: "#FFFFFF",
  3004. textAlign: "left"
  3005. },
  3006. title: {
  3007. fontSize: "4.2rem",
  3008. fontWeight: "600",
  3009. display: "inline-block",
  3010. position: "relative"
  3011. },
  3012. subtitle: {
  3013. fontSize: "1.313rem",
  3014. maxWidth: "510px",
  3015. margin: "10px 0 0"
  3016. },
  3017. main: {
  3018. background: "#FFFFFF",
  3019. position: "relative",
  3020. zIndex: "3"
  3021. },
  3022. mainRaised: {
  3023. margin: "-60px 30px 0px",
  3024. borderRadius: "6px",
  3025. boxShadow: "0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2)",
  3026. "@media (max-width: 830px)": {
  3027. marginLeft: "10px",
  3028. marginRight: "10px"
  3029. }
  3030. },
  3031. link: {
  3032. textDecoration: "none"
  3033. },
  3034. textCenter: {
  3035. textAlign: "center"
  3036. }
  3037. };
  3038. /* harmony default export */ __webpack_exports__["a"] = (componentsStyle);
  3039. /***/ }),
  3040. /***/ "bx/+":
  3041. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3042. "use strict";
  3043. __webpack_require__.r(__webpack_exports__);
  3044. // Apollo Value Configuration
  3045. const ApolloConfig = {
  3046. graphql_uri: process.env.API_GRAPHQL_URI
  3047. };
  3048. /* harmony default export */ __webpack_exports__["default"] = (ApolloConfig);
  3049. /***/ }),
  3050. /***/ "bzos":
  3051. /***/ (function(module, exports) {
  3052. module.exports = require("url");
  3053. /***/ }),
  3054. /***/ "c25J":
  3055. /***/ (function(module, exports) {
  3056. module.exports = require("@material-ui/core/ListItem");
  3057. /***/ }),
  3058. /***/ "cDcd":
  3059. /***/ (function(module, exports) {
  3060. module.exports = require("react");
  3061. /***/ }),
  3062. /***/ "cTJO":
  3063. /***/ (function(module, exports, __webpack_require__) {
  3064. "use strict";
  3065. var _interopRequireDefault = __webpack_require__("AroE");
  3066. var _interopRequireWildcard = __webpack_require__("7KCV");
  3067. exports.__esModule = true;
  3068. exports.default = void 0;
  3069. var _react = _interopRequireWildcard(__webpack_require__("cDcd"));
  3070. var _url = __webpack_require__("bzos");
  3071. var _utils = __webpack_require__("kYf9");
  3072. var _router = _interopRequireDefault(__webpack_require__("nOHt"));
  3073. var _router2 = __webpack_require__("elyg");
  3074. function isLocal(href) {
  3075. var url = (0, _url.parse)(href, false, true);
  3076. var origin = (0, _url.parse)((0, _utils.getLocationOrigin)(), false, true);
  3077. return !url.host || url.protocol === origin.protocol && url.host === origin.host;
  3078. }
  3079. function memoizedFormatUrl(formatFunc) {
  3080. var lastHref = null;
  3081. var lastAs = null;
  3082. var lastResult = null;
  3083. return (href, as) => {
  3084. if (lastResult && href === lastHref && as === lastAs) {
  3085. return lastResult;
  3086. }
  3087. var result = formatFunc(href, as);
  3088. lastHref = href;
  3089. lastAs = as;
  3090. lastResult = result;
  3091. return result;
  3092. };
  3093. }
  3094. function formatUrl(url) {
  3095. return url && typeof url === 'object' ? (0, _utils.formatWithValidation)(url) : url;
  3096. }
  3097. var observer;
  3098. var listeners = new Map();
  3099. var IntersectionObserver = false ? undefined : null;
  3100. var prefetched = {};
  3101. function getObserver() {
  3102. // Return shared instance of IntersectionObserver if already created
  3103. if (observer) {
  3104. return observer;
  3105. } // Only create shared IntersectionObserver if supported in browser
  3106. if (!IntersectionObserver) {
  3107. return undefined;
  3108. }
  3109. return observer = new IntersectionObserver(entries => {
  3110. entries.forEach(entry => {
  3111. if (!listeners.has(entry.target)) {
  3112. return;
  3113. }
  3114. var cb = listeners.get(entry.target);
  3115. if (entry.isIntersecting || entry.intersectionRatio > 0) {
  3116. observer.unobserve(entry.target);
  3117. listeners.delete(entry.target);
  3118. cb();
  3119. }
  3120. });
  3121. }, {
  3122. rootMargin: '200px'
  3123. });
  3124. }
  3125. var listenToIntersections = (el, cb) => {
  3126. var observer = getObserver();
  3127. if (!observer) {
  3128. return () => {};
  3129. }
  3130. observer.observe(el);
  3131. listeners.set(el, cb);
  3132. return () => {
  3133. try {
  3134. observer.unobserve(el);
  3135. } catch (err) {
  3136. console.error(err);
  3137. }
  3138. listeners.delete(el);
  3139. };
  3140. };
  3141. class Link extends _react.Component {
  3142. constructor(props) {
  3143. super(props);
  3144. this.p = void 0;
  3145. this.cleanUpListeners = () => {};
  3146. this.formatUrls = memoizedFormatUrl((href, asHref) => {
  3147. return {
  3148. href: (0, _router2.addBasePath)(formatUrl(href)),
  3149. as: asHref ? (0, _router2.addBasePath)(formatUrl(asHref)) : asHref
  3150. };
  3151. });
  3152. this.linkClicked = e => {
  3153. var {
  3154. nodeName,
  3155. target
  3156. } = e.currentTarget;
  3157. if (nodeName === 'A' && (target && target !== '_self' || e.metaKey || e.ctrlKey || e.shiftKey || e.nativeEvent && e.nativeEvent.which === 2)) {
  3158. // ignore click for new tab / new window behavior
  3159. return;
  3160. }
  3161. var {
  3162. href,
  3163. as
  3164. } = this.formatUrls(this.props.href, this.props.as);
  3165. if (!isLocal(href)) {
  3166. // ignore click if it's outside our scope (e.g. https://google.com)
  3167. return;
  3168. }
  3169. var {
  3170. pathname
  3171. } = window.location;
  3172. href = (0, _url.resolve)(pathname, href);
  3173. as = as ? (0, _url.resolve)(pathname, as) : href;
  3174. e.preventDefault(); // avoid scroll for urls with anchor refs
  3175. var {
  3176. scroll
  3177. } = this.props;
  3178. if (scroll == null) {
  3179. scroll = as.indexOf('#') < 0;
  3180. } // replace state instead of push if prop is present
  3181. _router.default[this.props.replace ? 'replace' : 'push'](href, as, {
  3182. shallow: this.props.shallow
  3183. }).then(success => {
  3184. if (!success) return;
  3185. if (scroll) {
  3186. window.scrollTo(0, 0);
  3187. document.body.focus();
  3188. }
  3189. });
  3190. };
  3191. if (false) {}
  3192. this.p = props.prefetch !== false;
  3193. }
  3194. componentWillUnmount() {
  3195. this.cleanUpListeners();
  3196. }
  3197. getPaths() {
  3198. var {
  3199. pathname
  3200. } = window.location;
  3201. var {
  3202. href: parsedHref,
  3203. as: parsedAs
  3204. } = this.formatUrls(this.props.href, this.props.as);
  3205. var resolvedHref = (0, _url.resolve)(pathname, parsedHref);
  3206. return [resolvedHref, parsedAs ? (0, _url.resolve)(pathname, parsedAs) : resolvedHref];
  3207. }
  3208. handleRef(ref) {
  3209. if (this.p && IntersectionObserver && ref && ref.tagName) {
  3210. this.cleanUpListeners();
  3211. var isPrefetched = prefetched[this.getPaths().join( // Join on an invalid URI character
  3212. '%')];
  3213. if (!isPrefetched) {
  3214. this.cleanUpListeners = listenToIntersections(ref, () => {
  3215. this.prefetch();
  3216. });
  3217. }
  3218. }
  3219. } // The function is memoized so that no extra lifecycles are needed
  3220. // as per https://reactjs.org/blog/2018/06/07/you-probably-dont-need-derived-state.html
  3221. prefetch(options) {
  3222. if (!this.p || true) return; // Prefetch the JSON page if asked (only in the client)
  3223. var paths = this.getPaths(); // We need to handle a prefetch error here since we may be
  3224. // loading with priority which can reject but we don't
  3225. // want to force navigation since this is only a prefetch
  3226. _router.default.prefetch(paths[
  3227. /* href */
  3228. 0], paths[
  3229. /* asPath */
  3230. 1], options).catch(err => {
  3231. if (false) {}
  3232. });
  3233. prefetched[paths.join( // Join on an invalid URI character
  3234. '%')] = true;
  3235. }
  3236. render() {
  3237. var {
  3238. children
  3239. } = this.props;
  3240. var {
  3241. href,
  3242. as
  3243. } = this.formatUrls(this.props.href, this.props.as); // Deprecated. Warning shown by propType check. If the children provided is a string (<Link>example</Link>) we wrap it in an <a> tag
  3244. if (typeof children === 'string') {
  3245. children = _react.default.createElement("a", null, children);
  3246. } // This will return the first child, if multiple are provided it will throw an error
  3247. var child = _react.Children.only(children);
  3248. var props = {
  3249. ref: el => {
  3250. this.handleRef(el);
  3251. if (child && typeof child === 'object' && child.ref) {
  3252. if (typeof child.ref === 'function') child.ref(el);else if (typeof child.ref === 'object') {
  3253. child.ref.current = el;
  3254. }
  3255. }
  3256. },
  3257. onMouseEnter: e => {
  3258. if (child.props && typeof child.props.onMouseEnter === 'function') {
  3259. child.props.onMouseEnter(e);
  3260. }
  3261. this.prefetch({
  3262. priority: true
  3263. });
  3264. },
  3265. onClick: e => {
  3266. if (child.props && typeof child.props.onClick === 'function') {
  3267. child.props.onClick(e);
  3268. }
  3269. if (!e.defaultPrevented) {
  3270. this.linkClicked(e);
  3271. }
  3272. }
  3273. }; // If child is an <a> tag and doesn't have a href attribute, or if the 'passHref' property is
  3274. // defined, we specify the current 'href', so that repetition is not needed by the user
  3275. if (this.props.passHref || child.type === 'a' && !('href' in child.props)) {
  3276. props.href = as || href;
  3277. } // Add the ending slash to the paths. So, we can serve the
  3278. // "<page>/index.html" directly.
  3279. if (false) { var rewriteUrlForNextExport; }
  3280. return _react.default.cloneElement(child, props);
  3281. }
  3282. }
  3283. if (false) { var exact, PropTypes, warn; }
  3284. var _default = Link;
  3285. exports.default = _default;
  3286. /***/ }),
  3287. /***/ "dZ6Y":
  3288. /***/ (function(module, exports, __webpack_require__) {
  3289. "use strict";
  3290. /*
  3291. MIT License
  3292. Copyright (c) Jason Miller (https://jasonformat.com/)
  3293. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
  3294. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  3295. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  3296. */
  3297. Object.defineProperty(exports, "__esModule", {
  3298. value: true
  3299. });
  3300. function mitt() {
  3301. const all = Object.create(null);
  3302. return {
  3303. on(type, handler) {
  3304. ;
  3305. (all[type] || (all[type] = [])).push(handler);
  3306. },
  3307. off(type, handler) {
  3308. if (all[type]) {
  3309. // tslint:disable-next-line:no-bitwise
  3310. all[type].splice(all[type].indexOf(handler) >>> 0, 1);
  3311. }
  3312. },
  3313. emit(type, ...evts) {
  3314. // eslint-disable-next-line array-callback-return
  3315. ;
  3316. (all[type] || []).slice().map(handler => {
  3317. handler(...evts);
  3318. });
  3319. }
  3320. };
  3321. }
  3322. exports.default = mitt;
  3323. /***/ }),
  3324. /***/ "eDSW":
  3325. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3326. "use strict";
  3327. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return hexToRGBAlpha; });
  3328. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return drawerWidth; });
  3329. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return transition; });
  3330. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return container; });
  3331. /* unused harmony export conatinerFluid */
  3332. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return boxShadow; });
  3333. /* unused harmony export card */
  3334. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return defaultFont; });
  3335. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return primaryColor; });
  3336. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return warningColor; });
  3337. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return dangerColor; });
  3338. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return successColor; });
  3339. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return infoColor; });
  3340. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return roseColor; });
  3341. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return grayColor; });
  3342. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return primaryBoxShadow; });
  3343. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return infoBoxShadow; });
  3344. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return successBoxShadow; });
  3345. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return warningBoxShadow; });
  3346. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return dangerBoxShadow; });
  3347. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return roseBoxShadow; });
  3348. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return warningCardHeader; });
  3349. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return successCardHeader; });
  3350. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return dangerCardHeader; });
  3351. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return infoCardHeader; });
  3352. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return primaryCardHeader; });
  3353. /* unused harmony export roseCardHeader */
  3354. /* unused harmony export cardActions */
  3355. /* unused harmony export cardHeader */
  3356. /* unused harmony export defaultBoxShadow */
  3357. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return title; });
  3358. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return cardTitle; });
  3359. /* unused harmony export cardLink */
  3360. /* unused harmony export cardSubtitle */
  3361. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
  3362. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
  3363. function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
  3364. const hexColorToRGB = function (hexColor) {
  3365. let detectShorthand = /^#?([a-f\d])([a-f\d])([a-f\d])$/i; // #000 vs #000000
  3366. hexColor = hexColor.replace(detectShorthand, function (m, r, g, b) {
  3367. return r + r + g + g + b + b;
  3368. });
  3369. const hex_array = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hexColor); // #000000 to #ffffff
  3370. return hex_array ? {
  3371. r: parseInt(hex_array[1], 16),
  3372. // 0-255
  3373. g: parseInt(hex_array[2], 16),
  3374. // 0-255
  3375. b: parseInt(hex_array[3], 16) // 0-255
  3376. } : null;
  3377. };
  3378. const hexToRGBAlpha = function (hexColor, alpha) {
  3379. let rgb = hexColorToRGB(hexColor);
  3380. return `rgba(${rgb.r},${rgb.g},${rgb.b},${alpha})`;
  3381. };
  3382. const drawerWidth = 260;
  3383. const transition = {
  3384. transition: "all 0.33s cubic-bezier(0.685, 0.0473, 0.346, 1)"
  3385. };
  3386. const conatinerFluid = {
  3387. paddingRight: "15px",
  3388. paddingLeft: "15px",
  3389. marginRight: "auto",
  3390. marginLeft: "auto",
  3391. width: "100%"
  3392. };
  3393. const container = _objectSpread({}, conatinerFluid, {
  3394. "@media (min-width: 576px)": {
  3395. maxWidth: "540px"
  3396. },
  3397. "@media (min-width: 768px)": {
  3398. maxWidth: "720px"
  3399. },
  3400. "@media (min-width: 992px)": {
  3401. maxWidth: "960px"
  3402. },
  3403. "@media (min-width: 1200px)": {
  3404. maxWidth: "1140px"
  3405. }
  3406. });
  3407. const boxShadow = {
  3408. boxShadow: "0 10px 30px -12px rgba(0, 0, 0, 0.42), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2)"
  3409. };
  3410. const card = {
  3411. display: "inline-block",
  3412. position: "relative",
  3413. width: "100%",
  3414. margin: "25px 0",
  3415. boxShadow: "0 1px 4px 0 rgba(0, 0, 0, 0.14)",
  3416. borderRadius: "3px",
  3417. color: "rgba(0, 0, 0, 0.87)",
  3418. background: "#fff"
  3419. };
  3420. const defaultFont = {
  3421. fontFamily: '"Roboto", "Helvetica", "Arial", sans-serif',
  3422. fontWeight: "300",
  3423. lineHeight: "1.5em"
  3424. };
  3425. const primaryColor = "#212121";
  3426. const warningColor = "#ff9800";
  3427. const dangerColor = "#f44336";
  3428. const successColor = "#4caf50";
  3429. const infoColor = "#212121";
  3430. const roseColor = "#e91e63";
  3431. const grayColor = "#ffffff";
  3432. const primaryBoxShadow = {
  3433. boxShadow: `0 12px 20px -10px ${hexToRGBAlpha(primaryColor, 0.28)}, 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px ${hexToRGBAlpha(primaryColor, 0.2)}`
  3434. };
  3435. const infoBoxShadow = {
  3436. boxShadow: `0 12px 20px -10px ${hexToRGBAlpha(infoColor, 0.28)}, 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px ${hexToRGBAlpha(infoColor, 0.2)}`
  3437. };
  3438. const successBoxShadow = {
  3439. boxShadow: `0 12px 20px -10px ${hexToRGBAlpha(successColor, 0.28)}, 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px ${hexToRGBAlpha(successColor, 0.2)}`
  3440. };
  3441. const warningBoxShadow = {
  3442. boxShadow: `0 12px 20px -10px ${hexToRGBAlpha(warningColor, 0.28)}, 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px ${hexToRGBAlpha(warningColor, 0.2)}`
  3443. };
  3444. const dangerBoxShadow = {
  3445. boxShadow: `0 12px 20px -10px ${hexToRGBAlpha(dangerColor, 0.28)}, 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px ${hexToRGBAlpha(dangerColor, 0.2)}`
  3446. };
  3447. const roseBoxShadow = {
  3448. boxShadow: `0 4px 20px 0px ${hexToRGBAlpha("#000", 0.14)}, 0 7px 10px -5px ${hexToRGBAlpha(roseColor, 0.4)}`
  3449. };
  3450. const warningCardHeader = _objectSpread({
  3451. color: "#fff",
  3452. background: "linear-gradient(60deg, #ffa726, #fb8c00)"
  3453. }, warningBoxShadow);
  3454. const successCardHeader = _objectSpread({
  3455. color: "#fff",
  3456. background: "linear-gradient(60deg, #66bb6a, #43a047)"
  3457. }, successBoxShadow);
  3458. const dangerCardHeader = _objectSpread({
  3459. color: "#fff",
  3460. background: "linear-gradient(60deg, #ef5350, #e53935)"
  3461. }, dangerBoxShadow);
  3462. const infoCardHeader = _objectSpread({
  3463. color: "#fff",
  3464. background: "#212121"
  3465. }, infoBoxShadow);
  3466. const primaryCardHeader = _objectSpread({
  3467. color: "#fff",
  3468. background: "linear-gradient(60deg, #ab47bc, #8e24aa)"
  3469. }, primaryBoxShadow);
  3470. const roseCardHeader = _objectSpread({
  3471. color: "#fff",
  3472. background: "linear-gradient(60deg, #ec407a, #d81b60)"
  3473. }, roseBoxShadow);
  3474. const cardActions = _objectSpread({
  3475. margin: "0 20px 10px",
  3476. paddingTop: "10px",
  3477. borderTop: "1px solid #eeeeee",
  3478. height: "auto"
  3479. }, defaultFont);
  3480. const cardHeader = {
  3481. margin: "-30px 15px 0",
  3482. borderRadius: "3px",
  3483. padding: "15px"
  3484. };
  3485. const defaultBoxShadow = {
  3486. border: "0",
  3487. borderRadius: "3px",
  3488. boxShadow: "0 10px 20px -12px rgba(0, 0, 0, 0.42), 0 3px 20px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2)",
  3489. padding: "10px 0",
  3490. transition: "all 150ms ease 0s"
  3491. };
  3492. const title = {
  3493. color: "#ffffff",
  3494. margin: "1.75rem 0 0.875rem",
  3495. textDecoration: "none",
  3496. fontWeight: "700",
  3497. fontFamily: `"Roboto Slab", "Times New Roman", serif`
  3498. };
  3499. const cardTitle = _objectSpread({}, title, {
  3500. marginTop: ".625rem"
  3501. });
  3502. const cardLink = {
  3503. "& + $cardLink": {
  3504. marginLeft: "1.25rem"
  3505. }
  3506. };
  3507. const cardSubtitle = {
  3508. marginBottom: "0",
  3509. marginTop: "-.375rem"
  3510. };
  3511. /***/ }),
  3512. /***/ "elyg":
  3513. /***/ (function(module, exports, __webpack_require__) {
  3514. "use strict";
  3515. var __importDefault = this && this.__importDefault || function (mod) {
  3516. return mod && mod.__esModule ? mod : {
  3517. "default": mod
  3518. };
  3519. };
  3520. Object.defineProperty(exports, "__esModule", {
  3521. value: true
  3522. });
  3523. const url_1 = __webpack_require__("bzos");
  3524. const mitt_1 = __importDefault(__webpack_require__("dZ6Y"));
  3525. const utils_1 = __webpack_require__("g/15");
  3526. const is_dynamic_1 = __webpack_require__("/jkW");
  3527. const route_matcher_1 = __webpack_require__("gguc");
  3528. const route_regex_1 = __webpack_require__("YTqd");
  3529. const basePath = false || '';
  3530. function addBasePath(path) {
  3531. return path.indexOf(basePath) !== 0 ? basePath + path : path;
  3532. }
  3533. exports.addBasePath = addBasePath;
  3534. function delBasePath(path) {
  3535. return path.indexOf(basePath) === 0 ? path.substr(basePath.length) || '/' : path;
  3536. }
  3537. exports.delBasePath = delBasePath;
  3538. function toRoute(path) {
  3539. return path.replace(/\/$/, '') || '/';
  3540. }
  3541. const prepareRoute = path => toRoute(!path || path === '/' ? '/index' : path);
  3542. function fetchNextData(pathname, query, isServerRender, cb) {
  3543. let attempts = isServerRender ? 3 : 1;
  3544. function getResponse() {
  3545. return fetch(utils_1.formatWithValidation({
  3546. pathname: addBasePath( // @ts-ignore __NEXT_DATA__
  3547. `/_next/data/${__NEXT_DATA__.buildId}${delBasePath(pathname)}.json`),
  3548. query
  3549. }), {
  3550. // Cookies are required to be present for Next.js' SSG "Preview Mode".
  3551. // Cookies may also be required for `getServerSideProps`.
  3552. //
  3553. // > `fetch` won’t send cookies, unless you set the credentials init
  3554. // > option.
  3555. // https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch
  3556. //
  3557. // > For maximum browser compatibility when it comes to sending &
  3558. // > receiving cookies, always supply the `credentials: 'same-origin'`
  3559. // > option instead of relying on the default.
  3560. // https://github.com/github/fetch#caveats
  3561. credentials: 'same-origin'
  3562. }).then(res => {
  3563. if (!res.ok) {
  3564. if (--attempts > 0 && res.status >= 500) {
  3565. return getResponse();
  3566. }
  3567. throw new Error(`Failed to load static props`);
  3568. }
  3569. return res.json();
  3570. });
  3571. }
  3572. return getResponse().then(data => {
  3573. return cb ? cb(data) : data;
  3574. }).catch(err => {
  3575. // We should only trigger a server-side transition if this was caused
  3576. // on a client-side transition. Otherwise, we'd get into an infinite
  3577. // loop.
  3578. if (!isServerRender) {
  3579. ;
  3580. err.code = 'PAGE_LOAD_ERROR';
  3581. }
  3582. throw err;
  3583. });
  3584. }
  3585. class Router {
  3586. constructor(pathname, query, as, {
  3587. initialProps,
  3588. pageLoader,
  3589. App,
  3590. wrapApp,
  3591. Component,
  3592. err,
  3593. subscription,
  3594. isFallback
  3595. }) {
  3596. // Static Data Cache
  3597. this.sdc = {};
  3598. this.onPopState = e => {
  3599. if (!e.state) {
  3600. // We get state as undefined for two reasons.
  3601. // 1. With older safari (< 8) and older chrome (< 34)
  3602. // 2. When the URL changed with #
  3603. //
  3604. // In the both cases, we don't need to proceed and change the route.
  3605. // (as it's already changed)
  3606. // But we can simply replace the state with the new changes.
  3607. // Actually, for (1) we don't need to nothing. But it's hard to detect that event.
  3608. // So, doing the following for (1) does no harm.
  3609. const {
  3610. pathname,
  3611. query
  3612. } = this;
  3613. this.changeState('replaceState', utils_1.formatWithValidation({
  3614. pathname,
  3615. query
  3616. }), utils_1.getURL());
  3617. return;
  3618. } // Make sure we don't re-render on initial load,
  3619. // can be caused by navigating back from an external site
  3620. if (e.state && this.isSsr && e.state.as === this.asPath && url_1.parse(e.state.url).pathname === this.pathname) {
  3621. return;
  3622. } // If the downstream application returns falsy, return.
  3623. // They will then be responsible for handling the event.
  3624. if (this._bps && !this._bps(e.state)) {
  3625. return;
  3626. }
  3627. const {
  3628. url,
  3629. as,
  3630. options
  3631. } = e.state;
  3632. if (false) {}
  3633. this.replace(url, as, options);
  3634. };
  3635. this._getStaticData = asPath => {
  3636. const pathname = prepareRoute(url_1.parse(asPath).pathname);
  3637. return true && this.sdc[pathname] ? Promise.resolve(this.sdc[pathname]) : fetchNextData(pathname, null, this.isSsr, data => this.sdc[pathname] = data);
  3638. };
  3639. this._getServerData = asPath => {
  3640. let {
  3641. pathname,
  3642. query
  3643. } = url_1.parse(asPath, true);
  3644. pathname = prepareRoute(pathname);
  3645. return fetchNextData(pathname, query, this.isSsr);
  3646. }; // represents the current component key
  3647. this.route = toRoute(pathname); // set up the component cache (by route keys)
  3648. this.components = {}; // We should not keep the cache, if there's an error
  3649. // Otherwise, this cause issues when when going back and
  3650. // come again to the errored page.
  3651. if (pathname !== '/_error') {
  3652. this.components[this.route] = {
  3653. Component,
  3654. props: initialProps,
  3655. err,
  3656. __N_SSG: initialProps && initialProps.__N_SSG,
  3657. __N_SSP: initialProps && initialProps.__N_SSP
  3658. };
  3659. }
  3660. this.components['/_app'] = {
  3661. Component: App
  3662. }; // Backwards compat for Router.router.events
  3663. // TODO: Should be remove the following major version as it was never documented
  3664. this.events = Router.events;
  3665. this.pageLoader = pageLoader;
  3666. this.pathname = pathname;
  3667. this.query = query; // if auto prerendered and dynamic route wait to update asPath
  3668. // until after mount to prevent hydration mismatch
  3669. this.asPath = // @ts-ignore this is temporarily global (attached to window)
  3670. is_dynamic_1.isDynamicRoute(pathname) && __NEXT_DATA__.autoExport ? pathname : as;
  3671. this.basePath = basePath;
  3672. this.sub = subscription;
  3673. this.clc = null;
  3674. this._wrapApp = wrapApp; // make sure to ignore extra popState in safari on navigating
  3675. // back from external site
  3676. this.isSsr = true;
  3677. this.isFallback = isFallback;
  3678. if (false) {}
  3679. } // @deprecated backwards compatibility even though it's a private method.
  3680. static _rewriteUrlForNextExport(url) {
  3681. if (false) {} else {
  3682. return url;
  3683. }
  3684. }
  3685. update(route, mod) {
  3686. const Component = mod.default || mod;
  3687. const data = this.components[route];
  3688. if (!data) {
  3689. throw new Error(`Cannot update unavailable route: ${route}`);
  3690. }
  3691. const newData = Object.assign(Object.assign({}, data), {
  3692. Component,
  3693. __N_SSG: mod.__N_SSG,
  3694. __N_SSP: mod.__N_SSP
  3695. });
  3696. this.components[route] = newData; // pages/_app.js updated
  3697. if (route === '/_app') {
  3698. this.notify(this.components[this.route]);
  3699. return;
  3700. }
  3701. if (route === this.route) {
  3702. this.notify(newData);
  3703. }
  3704. }
  3705. reload() {
  3706. window.location.reload();
  3707. }
  3708. /**
  3709. * Go back in history
  3710. */
  3711. back() {
  3712. window.history.back();
  3713. }
  3714. /**
  3715. * Performs a `pushState` with arguments
  3716. * @param url of the route
  3717. * @param as masks `url` for the browser
  3718. * @param options object you can define `shallow` and other options
  3719. */
  3720. push(url, as = url, options = {}) {
  3721. return this.change('pushState', url, as, options);
  3722. }
  3723. /**
  3724. * Performs a `replaceState` with arguments
  3725. * @param url of the route
  3726. * @param as masks `url` for the browser
  3727. * @param options object you can define `shallow` and other options
  3728. */
  3729. replace(url, as = url, options = {}) {
  3730. return this.change('replaceState', url, as, options);
  3731. }
  3732. change(method, _url, _as, options) {
  3733. return new Promise((resolve, reject) => {
  3734. if (!options._h) {
  3735. this.isSsr = false;
  3736. } // marking route changes as a navigation start entry
  3737. if (utils_1.ST) {
  3738. performance.mark('routeChange');
  3739. } // If url and as provided as an object representation,
  3740. // we'll format them into the string version here.
  3741. let url = typeof _url === 'object' ? utils_1.formatWithValidation(_url) : _url;
  3742. let as = typeof _as === 'object' ? utils_1.formatWithValidation(_as) : _as;
  3743. url = addBasePath(url);
  3744. as = addBasePath(as); // Add the ending slash to the paths. So, we can serve the
  3745. // "<page>/index.html" directly for the SSR page.
  3746. if (false) {}
  3747. this.abortComponentLoad(as); // If the url change is only related to a hash change
  3748. // We should not proceed. We should only change the state.
  3749. // WARNING: `_h` is an internal option for handing Next.js client-side
  3750. // hydration. Your app should _never_ use this property. It may change at
  3751. // any time without notice.
  3752. if (!options._h && this.onlyAHashChange(as)) {
  3753. this.asPath = as;
  3754. Router.events.emit('hashChangeStart', as);
  3755. this.changeState(method, url, as, options);
  3756. this.scrollToHash(as);
  3757. Router.events.emit('hashChangeComplete', as);
  3758. return resolve(true);
  3759. }
  3760. const {
  3761. pathname,
  3762. query,
  3763. protocol
  3764. } = url_1.parse(url, true);
  3765. if (!pathname || protocol) {
  3766. if (false) {}
  3767. return resolve(false);
  3768. } // If asked to change the current URL we should reload the current page
  3769. // (not location.reload() but reload getInitialProps and other Next.js stuffs)
  3770. // We also need to set the method = replaceState always
  3771. // as this should not go into the history (That's how browsers work)
  3772. // We should compare the new asPath to the current asPath, not the url
  3773. if (!this.urlIsNew(as)) {
  3774. method = 'replaceState';
  3775. }
  3776. const route = toRoute(pathname);
  3777. const {
  3778. shallow = false
  3779. } = options;
  3780. if (is_dynamic_1.isDynamicRoute(route)) {
  3781. const {
  3782. pathname: asPathname
  3783. } = url_1.parse(as);
  3784. const routeRegex = route_regex_1.getRouteRegex(route);
  3785. const routeMatch = route_matcher_1.getRouteMatcher(routeRegex)(asPathname);
  3786. if (!routeMatch) {
  3787. const missingParams = Object.keys(routeRegex.groups).filter(param => !query[param]);
  3788. if (missingParams.length > 0) {
  3789. if (false) {}
  3790. return reject(new Error(`The provided \`as\` value (${asPathname}) is incompatible with the \`href\` value (${route}). ` + `Read more: https://err.sh/zeit/next.js/incompatible-href-as`));
  3791. }
  3792. } else {
  3793. // Merge params into `query`, overwriting any specified in search
  3794. Object.assign(query, routeMatch);
  3795. }
  3796. }
  3797. Router.events.emit('routeChangeStart', as); // If shallow is true and the route exists in the router cache we reuse the previous result
  3798. this.getRouteInfo(route, pathname, query, as, shallow).then(routeInfo => {
  3799. const {
  3800. error
  3801. } = routeInfo;
  3802. if (error && error.cancelled) {
  3803. return resolve(false);
  3804. }
  3805. Router.events.emit('beforeHistoryChange', as);
  3806. this.changeState(method, url, as, options);
  3807. if (false) {}
  3808. this.set(route, pathname, query, as, routeInfo);
  3809. if (error) {
  3810. Router.events.emit('routeChangeError', error, as);
  3811. throw error;
  3812. }
  3813. Router.events.emit('routeChangeComplete', as);
  3814. return resolve(true);
  3815. }, reject);
  3816. });
  3817. }
  3818. changeState(method, url, as, options = {}) {
  3819. if (false) {}
  3820. if (method !== 'pushState' || utils_1.getURL() !== as) {
  3821. window.history[method]({
  3822. url,
  3823. as,
  3824. options
  3825. }, // Most browsers currently ignores this parameter, although they may use it in the future.
  3826. // Passing the empty string here should be safe against future changes to the method.
  3827. // https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState
  3828. '', as);
  3829. }
  3830. }
  3831. getRouteInfo(route, pathname, query, as, shallow = false) {
  3832. const cachedRouteInfo = this.components[route]; // If there is a shallow route transition possible
  3833. // If the route is already rendered on the screen.
  3834. if (shallow && cachedRouteInfo && this.route === route) {
  3835. return Promise.resolve(cachedRouteInfo);
  3836. }
  3837. const handleError = (err, loadErrorFail) => {
  3838. return new Promise(resolve => {
  3839. if (err.code === 'PAGE_LOAD_ERROR' || loadErrorFail) {
  3840. // If we can't load the page it could be one of following reasons
  3841. // 1. Page doesn't exists
  3842. // 2. Page does exist in a different zone
  3843. // 3. Internal error while loading the page
  3844. // So, doing a hard reload is the proper way to deal with this.
  3845. window.location.href = as; // Changing the URL doesn't block executing the current code path.
  3846. // So, we need to mark it as a cancelled error and stop the routing logic.
  3847. err.cancelled = true; // @ts-ignore TODO: fix the control flow here
  3848. return resolve({
  3849. error: err
  3850. });
  3851. }
  3852. if (err.cancelled) {
  3853. // @ts-ignore TODO: fix the control flow here
  3854. return resolve({
  3855. error: err
  3856. });
  3857. }
  3858. resolve(this.fetchComponent('/_error').then(res => {
  3859. const {
  3860. page: Component
  3861. } = res;
  3862. const routeInfo = {
  3863. Component,
  3864. err
  3865. };
  3866. return new Promise(resolve => {
  3867. this.getInitialProps(Component, {
  3868. err,
  3869. pathname,
  3870. query
  3871. }).then(props => {
  3872. routeInfo.props = props;
  3873. routeInfo.error = err;
  3874. resolve(routeInfo);
  3875. }, gipErr => {
  3876. console.error('Error in error page `getInitialProps`: ', gipErr);
  3877. routeInfo.error = err;
  3878. routeInfo.props = {};
  3879. resolve(routeInfo);
  3880. });
  3881. });
  3882. }).catch(err => handleError(err, true)));
  3883. });
  3884. };
  3885. return new Promise((resolve, reject) => {
  3886. if (cachedRouteInfo) {
  3887. return resolve(cachedRouteInfo);
  3888. }
  3889. this.fetchComponent(route).then(res => resolve({
  3890. Component: res.page,
  3891. __N_SSG: res.mod.__N_SSG,
  3892. __N_SSP: res.mod.__N_SSP
  3893. }), reject);
  3894. }).then(routeInfo => {
  3895. const {
  3896. Component,
  3897. __N_SSG,
  3898. __N_SSP
  3899. } = routeInfo;
  3900. if (false) {}
  3901. return this._getData(() => __N_SSG ? this._getStaticData(as) : __N_SSP ? this._getServerData(as) : this.getInitialProps(Component, // we provide AppTree later so this needs to be `any`
  3902. {
  3903. pathname,
  3904. query,
  3905. asPath: as
  3906. })).then(props => {
  3907. routeInfo.props = props;
  3908. this.components[route] = routeInfo;
  3909. return routeInfo;
  3910. });
  3911. }).catch(handleError);
  3912. }
  3913. set(route, pathname, query, as, data) {
  3914. this.isFallback = false;
  3915. this.route = route;
  3916. this.pathname = pathname;
  3917. this.query = query;
  3918. this.asPath = as;
  3919. this.notify(data);
  3920. }
  3921. /**
  3922. * Callback to execute before replacing router state
  3923. * @param cb callback to be executed
  3924. */
  3925. beforePopState(cb) {
  3926. this._bps = cb;
  3927. }
  3928. onlyAHashChange(as) {
  3929. if (!this.asPath) return false;
  3930. const [oldUrlNoHash, oldHash] = this.asPath.split('#');
  3931. const [newUrlNoHash, newHash] = as.split('#'); // Makes sure we scroll to the provided hash if the url/hash are the same
  3932. if (newHash && oldUrlNoHash === newUrlNoHash && oldHash === newHash) {
  3933. return true;
  3934. } // If the urls are change, there's more than a hash change
  3935. if (oldUrlNoHash !== newUrlNoHash) {
  3936. return false;
  3937. } // If the hash has changed, then it's a hash only change.
  3938. // This check is necessary to handle both the enter and
  3939. // leave hash === '' cases. The identity case falls through
  3940. // and is treated as a next reload.
  3941. return oldHash !== newHash;
  3942. }
  3943. scrollToHash(as) {
  3944. const [, hash] = as.split('#'); // Scroll to top if the hash is just `#` with no value
  3945. if (hash === '') {
  3946. window.scrollTo(0, 0);
  3947. return;
  3948. } // First we check if the element by id is found
  3949. const idEl = document.getElementById(hash);
  3950. if (idEl) {
  3951. idEl.scrollIntoView();
  3952. return;
  3953. } // If there's no element with the id, we check the `name` property
  3954. // To mirror browsers
  3955. const nameEl = document.getElementsByName(hash)[0];
  3956. if (nameEl) {
  3957. nameEl.scrollIntoView();
  3958. }
  3959. }
  3960. urlIsNew(asPath) {
  3961. return this.asPath !== asPath;
  3962. }
  3963. /**
  3964. * Prefetch page code, you may wait for the data during page rendering.
  3965. * This feature only works in production!
  3966. * @param url the href of prefetched page
  3967. * @param asPath the as path of the prefetched page
  3968. */
  3969. prefetch(url, asPath = url, options = {}) {
  3970. return new Promise((resolve, reject) => {
  3971. const {
  3972. pathname,
  3973. protocol
  3974. } = url_1.parse(url);
  3975. if (!pathname || protocol) {
  3976. if (false) {}
  3977. return;
  3978. } // Prefetch is not supported in development mode because it would trigger on-demand-entries
  3979. if (false) {}
  3980. const route = delBasePath(toRoute(pathname));
  3981. Promise.all([this.pageLoader.prefetchData(url, delBasePath(asPath)), this.pageLoader[options.priority ? 'loadPage' : 'prefetch'](route)]).then(() => resolve(), reject);
  3982. });
  3983. }
  3984. async fetchComponent(route) {
  3985. let cancelled = false;
  3986. const cancel = this.clc = () => {
  3987. cancelled = true;
  3988. };
  3989. route = delBasePath(route);
  3990. const componentResult = await this.pageLoader.loadPage(route);
  3991. if (cancelled) {
  3992. const error = new Error(`Abort fetching component for route: "${route}"`);
  3993. error.cancelled = true;
  3994. throw error;
  3995. }
  3996. if (cancel === this.clc) {
  3997. this.clc = null;
  3998. }
  3999. return componentResult;
  4000. }
  4001. _getData(fn) {
  4002. let cancelled = false;
  4003. const cancel = () => {
  4004. cancelled = true;
  4005. };
  4006. this.clc = cancel;
  4007. return fn().then(data => {
  4008. if (cancel === this.clc) {
  4009. this.clc = null;
  4010. }
  4011. if (cancelled) {
  4012. const err = new Error('Loading initial props cancelled');
  4013. err.cancelled = true;
  4014. throw err;
  4015. }
  4016. return data;
  4017. });
  4018. }
  4019. getInitialProps(Component, ctx) {
  4020. const {
  4021. Component: App
  4022. } = this.components['/_app'];
  4023. const AppTree = this._wrapApp(App);
  4024. ctx.AppTree = AppTree;
  4025. return utils_1.loadGetInitialProps(App, {
  4026. AppTree,
  4027. Component,
  4028. router: this,
  4029. ctx
  4030. });
  4031. }
  4032. abortComponentLoad(as) {
  4033. if (this.clc) {
  4034. const e = new Error('Route Cancelled');
  4035. e.cancelled = true;
  4036. Router.events.emit('routeChangeError', e, as);
  4037. this.clc();
  4038. this.clc = null;
  4039. }
  4040. }
  4041. notify(data) {
  4042. this.sub(data, this.components['/_app'].Component);
  4043. }
  4044. }
  4045. exports.default = Router;
  4046. Router.events = mitt_1.default();
  4047. /***/ }),
  4048. /***/ "g/15":
  4049. /***/ (function(module, exports, __webpack_require__) {
  4050. "use strict";
  4051. Object.defineProperty(exports, "__esModule", {
  4052. value: true
  4053. });
  4054. const url_1 = __webpack_require__("bzos");
  4055. /**
  4056. * Utils
  4057. */
  4058. function execOnce(fn) {
  4059. let used = false;
  4060. let result;
  4061. return (...args) => {
  4062. if (!used) {
  4063. used = true;
  4064. result = fn(...args);
  4065. }
  4066. return result;
  4067. };
  4068. }
  4069. exports.execOnce = execOnce;
  4070. function getLocationOrigin() {
  4071. const {
  4072. protocol,
  4073. hostname,
  4074. port
  4075. } = window.location;
  4076. return `${protocol}//${hostname}${port ? ':' + port : ''}`;
  4077. }
  4078. exports.getLocationOrigin = getLocationOrigin;
  4079. function getURL() {
  4080. const {
  4081. href
  4082. } = window.location;
  4083. const origin = getLocationOrigin();
  4084. return href.substring(origin.length);
  4085. }
  4086. exports.getURL = getURL;
  4087. function getDisplayName(Component) {
  4088. return typeof Component === 'string' ? Component : Component.displayName || Component.name || 'Unknown';
  4089. }
  4090. exports.getDisplayName = getDisplayName;
  4091. function isResSent(res) {
  4092. return res.finished || res.headersSent;
  4093. }
  4094. exports.isResSent = isResSent;
  4095. async function loadGetInitialProps(App, ctx) {
  4096. var _a;
  4097. if (false) {} // when called from _app `ctx` is nested in `ctx`
  4098. const res = ctx.res || ctx.ctx && ctx.ctx.res;
  4099. if (!App.getInitialProps) {
  4100. if (ctx.ctx && ctx.Component) {
  4101. // @ts-ignore pageProps default
  4102. return {
  4103. pageProps: await loadGetInitialProps(ctx.Component, ctx.ctx)
  4104. };
  4105. }
  4106. return {};
  4107. }
  4108. const props = await App.getInitialProps(ctx);
  4109. if (res && isResSent(res)) {
  4110. return props;
  4111. }
  4112. if (!props) {
  4113. const message = `"${getDisplayName(App)}.getInitialProps()" should resolve to an object. But found "${props}" instead.`;
  4114. throw new Error(message);
  4115. }
  4116. if (false) {}
  4117. return props;
  4118. }
  4119. exports.loadGetInitialProps = loadGetInitialProps;
  4120. exports.urlObjectKeys = ['auth', 'hash', 'host', 'hostname', 'href', 'path', 'pathname', 'port', 'protocol', 'query', 'search', 'slashes'];
  4121. function formatWithValidation(url, options) {
  4122. if (false) {}
  4123. return url_1.format(url, options);
  4124. }
  4125. exports.formatWithValidation = formatWithValidation;
  4126. exports.SP = typeof performance !== 'undefined';
  4127. exports.ST = exports.SP && typeof performance.mark === 'function' && typeof performance.measure === 'function';
  4128. /***/ }),
  4129. /***/ "gguc":
  4130. /***/ (function(module, exports, __webpack_require__) {
  4131. "use strict";
  4132. Object.defineProperty(exports, "__esModule", {
  4133. value: true
  4134. });
  4135. function getRouteMatcher(routeRegex) {
  4136. const {
  4137. re,
  4138. groups
  4139. } = routeRegex;
  4140. return pathname => {
  4141. const routeMatch = re.exec(pathname);
  4142. if (!routeMatch) {
  4143. return false;
  4144. }
  4145. const decode = param => {
  4146. try {
  4147. return decodeURIComponent(param);
  4148. } catch (_) {
  4149. const err = new Error('failed to decode param');
  4150. err.code = 'DECODE_FAILED';
  4151. throw err;
  4152. }
  4153. };
  4154. const params = {};
  4155. Object.keys(groups).forEach(slugName => {
  4156. const g = groups[slugName];
  4157. const m = routeMatch[g.pos];
  4158. if (m !== undefined) {
  4159. params[slugName] = ~m.indexOf('/') ? m.split('/').map(entry => decode(entry)) : g.repeat ? [decode(m)] : decode(m);
  4160. }
  4161. });
  4162. return params;
  4163. };
  4164. }
  4165. exports.getRouteMatcher = getRouteMatcher;
  4166. /***/ }),
  4167. /***/ "i4t8":
  4168. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4169. "use strict";
  4170. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return GridItem; });
  4171. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  4172. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  4173. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("9Pu4");
  4174. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__);
  4175. /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("JQ2V");
  4176. /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2__);
  4177. var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
  4178. function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
  4179. function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
  4180. function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
  4181. // nodejs library to set properties for components
  4182. // @material-ui/core components
  4183. const styles = {
  4184. grid: {
  4185. position: "relative",
  4186. width: "100%",
  4187. minHeight: "1px",
  4188. paddingRight: "15px",
  4189. paddingLeft: "15px",
  4190. flexBasis: "auto"
  4191. }
  4192. };
  4193. const useStyles = Object(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__["makeStyles"])(styles);
  4194. function GridItem(props) {
  4195. const classes = useStyles();
  4196. const {
  4197. children,
  4198. className
  4199. } = props,
  4200. rest = _objectWithoutProperties(props, ["children", "className"]);
  4201. return __jsx(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2___default.a, _extends({
  4202. item: true
  4203. }, rest, {
  4204. className: classes.grid + " " + className
  4205. }), children);
  4206. }
  4207. GridItem.defaultProps = {
  4208. className: ""
  4209. };
  4210. /***/ }),
  4211. /***/ "jD8W":
  4212. /***/ (function(module, exports) {
  4213. module.exports = require("@material-ui/core/Popper");
  4214. /***/ }),
  4215. /***/ "kYf9":
  4216. /***/ (function(module, exports) {
  4217. module.exports = require("next/dist/next-server/lib/utils.js");
  4218. /***/ }),
  4219. /***/ "mf1M":
  4220. /***/ (function(module, exports) {
  4221. module.exports = require("@material-ui/core/Grow");
  4222. /***/ }),
  4223. /***/ "mtPR":
  4224. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4225. "use strict";
  4226. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return GridContainer; });
  4227. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  4228. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  4229. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("9Pu4");
  4230. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__);
  4231. /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("JQ2V");
  4232. /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2__);
  4233. var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
  4234. function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
  4235. function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
  4236. function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
  4237. // nodejs library to set properties for components
  4238. // @material-ui/core components
  4239. const styles = {
  4240. grid: {
  4241. marginRight: "-15px",
  4242. marginLeft: "-15px",
  4243. width: "auto"
  4244. }
  4245. };
  4246. const useStyles = Object(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__["makeStyles"])(styles);
  4247. function GridContainer(props) {
  4248. const classes = useStyles();
  4249. const {
  4250. children,
  4251. className
  4252. } = props,
  4253. rest = _objectWithoutProperties(props, ["children", "className"]);
  4254. return __jsx(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2___default.a, _extends({
  4255. container: true
  4256. }, rest, {
  4257. className: classes.grid + " " + className
  4258. }), children);
  4259. }
  4260. GridContainer.defaultProps = {
  4261. className: ""
  4262. };
  4263. /***/ }),
  4264. /***/ "nOHt":
  4265. /***/ (function(module, exports, __webpack_require__) {
  4266. "use strict";
  4267. var _interopRequireWildcard = __webpack_require__("7KCV");
  4268. var _interopRequireDefault = __webpack_require__("AroE");
  4269. exports.__esModule = true;
  4270. exports.useRouter = useRouter;
  4271. exports.makePublicRouterInstance = makePublicRouterInstance;
  4272. exports.createRouter = exports.withRouter = exports.default = void 0;
  4273. var _react = _interopRequireDefault(__webpack_require__("cDcd"));
  4274. var _router2 = _interopRequireWildcard(__webpack_require__("elyg"));
  4275. exports.Router = _router2.default;
  4276. exports.NextRouter = _router2.NextRouter;
  4277. var _routerContext = __webpack_require__("Osoz");
  4278. var _withRouter = _interopRequireDefault(__webpack_require__("0Bsm"));
  4279. exports.withRouter = _withRouter.default;
  4280. /* global window */
  4281. var singletonRouter = {
  4282. router: null,
  4283. // holds the actual router instance
  4284. readyCallbacks: [],
  4285. ready(cb) {
  4286. if (this.router) return cb();
  4287. if (false) {}
  4288. }
  4289. }; // Create public properties and methods of the router in the singletonRouter
  4290. var urlPropertyFields = ['pathname', 'route', 'query', 'asPath', 'components', 'isFallback', 'basePath'];
  4291. var routerEvents = ['routeChangeStart', 'beforeHistoryChange', 'routeChangeComplete', 'routeChangeError', 'hashChangeStart', 'hashChangeComplete'];
  4292. var coreMethodFields = ['push', 'replace', 'reload', 'back', 'prefetch', 'beforePopState']; // Events is a static property on the router, the router doesn't have to be initialized to use it
  4293. Object.defineProperty(singletonRouter, 'events', {
  4294. get() {
  4295. return _router2.default.events;
  4296. }
  4297. });
  4298. urlPropertyFields.forEach(field => {
  4299. // Here we need to use Object.defineProperty because, we need to return
  4300. // the property assigned to the actual router
  4301. // The value might get changed as we change routes and this is the
  4302. // proper way to access it
  4303. Object.defineProperty(singletonRouter, field, {
  4304. get() {
  4305. var router = getRouter();
  4306. return router[field];
  4307. }
  4308. });
  4309. });
  4310. coreMethodFields.forEach(field => {
  4311. // We don't really know the types here, so we add them later instead
  4312. ;
  4313. singletonRouter[field] = function () {
  4314. var router = getRouter();
  4315. return router[field](...arguments);
  4316. };
  4317. });
  4318. routerEvents.forEach(event => {
  4319. singletonRouter.ready(() => {
  4320. _router2.default.events.on(event, function () {
  4321. var eventField = "on" + event.charAt(0).toUpperCase() + event.substring(1);
  4322. var _singletonRouter = singletonRouter;
  4323. if (_singletonRouter[eventField]) {
  4324. try {
  4325. _singletonRouter[eventField](...arguments);
  4326. } catch (err) {
  4327. // tslint:disable-next-line:no-console
  4328. console.error("Error when running the Router event: " + eventField); // tslint:disable-next-line:no-console
  4329. console.error(err.message + "\n" + err.stack);
  4330. }
  4331. }
  4332. });
  4333. });
  4334. });
  4335. function getRouter() {
  4336. if (!singletonRouter.router) {
  4337. var message = 'No router instance found.\n' + 'You should only use "next/router" inside the client side of your app.\n';
  4338. throw new Error(message);
  4339. }
  4340. return singletonRouter.router;
  4341. } // Export the singletonRouter and this is the public API.
  4342. var _default = singletonRouter; // Reexport the withRoute HOC
  4343. exports.default = _default;
  4344. function useRouter() {
  4345. return _react.default.useContext(_routerContext.RouterContext);
  4346. } // INTERNAL APIS
  4347. // -------------
  4348. // (do not use following exports inside the app)
  4349. // Create a router and assign it as the singleton instance.
  4350. // This is used in client side when we are initilizing the app.
  4351. // This should **not** use inside the server.
  4352. var createRouter = function createRouter() {
  4353. for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
  4354. args[_key] = arguments[_key];
  4355. }
  4356. singletonRouter.router = new _router2.default(...args);
  4357. singletonRouter.readyCallbacks.forEach(cb => cb());
  4358. singletonRouter.readyCallbacks = [];
  4359. return singletonRouter.router;
  4360. }; // This function is used to create the `withRouter` router instance
  4361. exports.createRouter = createRouter;
  4362. function makePublicRouterInstance(router) {
  4363. var _router = router;
  4364. var instance = {};
  4365. for (var property of urlPropertyFields) {
  4366. if (typeof _router[property] === 'object') {
  4367. instance[property] = Object.assign({}, _router[property]); // makes sure query is not stateful
  4368. continue;
  4369. }
  4370. instance[property] = _router[property];
  4371. } // Events is a static property on the router, the router doesn't have to be initialized to use it
  4372. instance.events = _router2.default.events;
  4373. coreMethodFields.forEach(field => {
  4374. instance[field] = function () {
  4375. return _router[field](...arguments);
  4376. };
  4377. });
  4378. return instance;
  4379. }
  4380. /***/ }),
  4381. /***/ "nybW":
  4382. /***/ (function(module, exports) {
  4383. module.exports = require("@material-ui/core/Divider");
  4384. /***/ }),
  4385. /***/ "oLCs":
  4386. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4387. "use strict";
  4388. /* harmony import */ var assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("eDSW");
  4389. const footerStyle = {
  4390. block: {
  4391. color: "inherit",
  4392. padding: "0.9375rem",
  4393. fontWeight: "500",
  4394. fontSize: "12px",
  4395. textTransform: "uppercase",
  4396. borderRadius: "3px",
  4397. textDecoration: "none",
  4398. position: "relative",
  4399. display: "block"
  4400. },
  4401. left: {
  4402. float: "left!important",
  4403. display: "block"
  4404. },
  4405. right: {
  4406. padding: "15px 0",
  4407. margin: "0",
  4408. float: "right!important"
  4409. },
  4410. footer: {
  4411. padding: "0.9375rem 0",
  4412. textAlign: "center",
  4413. display: "flex",
  4414. zIndex: "2",
  4415. position: "relative"
  4416. },
  4417. a: {
  4418. color: assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__[/* primaryColor */ "p"],
  4419. textDecoration: "none",
  4420. backgroundColor: "transparent"
  4421. },
  4422. footerWhiteFont: {
  4423. "&,&:hover,&:focus": {
  4424. color: "#FFFFFF"
  4425. }
  4426. },
  4427. container: assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__[/* container */ "c"],
  4428. list: {
  4429. marginBottom: "0",
  4430. padding: "0",
  4431. marginTop: "0"
  4432. },
  4433. inlineBlock: {
  4434. display: "inline-block",
  4435. padding: "0px",
  4436. width: "auto"
  4437. },
  4438. icon: {
  4439. width: "18px",
  4440. height: "18px",
  4441. position: "relative",
  4442. top: "3px"
  4443. }
  4444. };
  4445. /* harmony default export */ __webpack_exports__["a"] = (footerStyle);
  4446. /***/ }),
  4447. /***/ "qt1I":
  4448. /***/ (function(module, exports) {
  4449. module.exports = require("@material-ui/core/Paper");
  4450. /***/ }),
  4451. /***/ "uU2H":
  4452. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4453. "use strict";
  4454. /* harmony import */ var assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("eDSW");
  4455. /* harmony import */ var assets_jss_nextjs_material_kit_imagesStyles_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Ilpk");
  4456. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
  4457. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
  4458. function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
  4459. const profilePageStyle = _objectSpread({
  4460. container: assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__[/* container */ "c"],
  4461. profile: {
  4462. textAlign: "center",
  4463. "& img": {
  4464. maxWidth: "160px",
  4465. width: "100%",
  4466. margin: "0 auto",
  4467. transform: "translate3d(0, -50%, 0)"
  4468. }
  4469. },
  4470. description: {
  4471. margin: "1.071rem auto 0",
  4472. maxWidth: "600px",
  4473. color: "#999",
  4474. textAlign: "center !important"
  4475. },
  4476. name: {
  4477. marginTop: "-80px"
  4478. }
  4479. }, assets_jss_nextjs_material_kit_imagesStyles_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"], {
  4480. main: {
  4481. background: "#FFFFFF",
  4482. position: "relative",
  4483. zIndex: "3"
  4484. },
  4485. mainRaised: {
  4486. margin: "-60px 30px 0px",
  4487. borderRadius: "6px",
  4488. boxShadow: "0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2)"
  4489. },
  4490. title: _objectSpread({}, assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__[/* title */ "v"], {
  4491. display: "inline-block",
  4492. position: "relative",
  4493. marginTop: "30px",
  4494. minHeight: "32px",
  4495. textDecoration: "none"
  4496. }),
  4497. socials: {
  4498. marginTop: "0",
  4499. width: "100%",
  4500. transform: "none",
  4501. left: "0",
  4502. top: "0",
  4503. height: "100%",
  4504. lineHeight: "41px",
  4505. fontSize: "20px",
  4506. color: "#999"
  4507. },
  4508. navWrapper: {
  4509. margin: "20px auto 50px auto",
  4510. textAlign: "center"
  4511. }
  4512. });
  4513. /* harmony default export */ __webpack_exports__["a"] = (profilePageStyle);
  4514. /***/ }),
  4515. /***/ "vFf/":
  4516. /***/ (function(module, exports) {
  4517. module.exports = require("@material-ui/icons/Dashboard");
  4518. /***/ }),
  4519. /***/ "x54t":
  4520. /***/ (function(module, exports) {
  4521. module.exports = require("@material-ui/core/MenuItem");
  4522. /***/ }),
  4523. /***/ "xmQw":
  4524. /***/ (function(module, exports) {
  4525. module.exports = require("@material-ui/core/MenuList");
  4526. /***/ }),
  4527. /***/ "z+8S":
  4528. /***/ (function(module, exports) {
  4529. module.exports = require("@apollo/client");
  4530. /***/ })
  4531. /******/ });