You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

4573 line
155 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 = 72);
  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. /***/ "3REV":
  364. /***/ (function(module, exports) {
  365. module.exports = require("@material-ui/icons/LocalGroceryStore");
  366. /***/ }),
  367. /***/ "4151":
  368. /***/ (function(module, exports) {
  369. module.exports = require("@material-ui/core/AppBar");
  370. /***/ }),
  371. /***/ "4D1s":
  372. /***/ (function(module, exports) {
  373. module.exports = require("@material-ui/icons/Menu");
  374. /***/ }),
  375. /***/ "4ff2":
  376. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  377. "use strict";
  378. __webpack_require__.r(__webpack_exports__);
  379. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  380. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  381. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("K2gz");
  382. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
  383. /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("YFqc");
  384. /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_2__);
  385. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("9Pu4");
  386. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3__);
  387. /* harmony import */ var components_Header_Header_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("8x5e");
  388. /* harmony import */ var components_Header_HeaderLinks_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("8E12");
  389. /* harmony import */ var components_Footer_Footer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("HXcA");
  390. /* harmony import */ var components_Grid_GridContainer_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("mtPR");
  391. /* harmony import */ var components_Grid_GridItem_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("i4t8");
  392. /* harmony import */ var pages_sections_yamaha_about_us_sejarah_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("F6iu");
  393. /* harmony import */ var components_Parallax_Parallax_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("Z2Lm");
  394. /* harmony import */ var assets_jss_nextjs_material_kit_pages_components_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("bhG4");
  395. var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
  396. 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); }
  397. 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; }
  398. 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; }
  399. // nodejs library that concatenates classes
  400. // react components for routing our app without refresh
  401. // @material-ui/core components
  402. // @material-ui/icons
  403. // core components
  404. const useStyles = Object(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3__["makeStyles"])(assets_jss_nextjs_material_kit_pages_components_js__WEBPACK_IMPORTED_MODULE_11__[/* default */ "a"]);
  405. const sejarah = function (_ref) {
  406. let {
  407. backend,
  408. businessPartners,
  409. service,
  410. carousel
  411. } = _ref,
  412. props = _objectWithoutProperties(_ref, ["backend", "businessPartners", "service", "carousel"]);
  413. const classes = useStyles();
  414. const rest = Object.assign({}, props);
  415. return __jsx("div", null, __jsx(components_Header_Header_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"], _extends({
  416. leftLinks: __jsx(components_Header_HeaderLinks_js__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"], null),
  417. fixed: true,
  418. color: "info",
  419. changeColorOnScroll: {
  420. height: 400,
  421. color: "white"
  422. }
  423. }, rest)), __jsx(components_Parallax_Parallax_js__WEBPACK_IMPORTED_MODULE_10__[/* default */ "a"], {
  424. image: __webpack_require__("sBtl"),
  425. width: "200px"
  426. }, __jsx("div", {
  427. className: classes.container
  428. }, __jsx(components_Grid_GridContainer_js__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"], null, __jsx(components_Grid_GridItem_js__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"], null)))), __jsx("div", {
  429. className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(classes.main, classes.mainRaised)
  430. }, __jsx(pages_sections_yamaha_about_us_sejarah_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], null)), __jsx(components_Footer_Footer_js__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"], null));
  431. };
  432. /* harmony default export */ __webpack_exports__["default"] = (sejarah);
  433. /***/ }),
  434. /***/ 72:
  435. /***/ (function(module, exports, __webpack_require__) {
  436. module.exports = __webpack_require__("4ff2");
  437. /***/ }),
  438. /***/ "7KCV":
  439. /***/ (function(module, exports, __webpack_require__) {
  440. var _typeof = __webpack_require__("C+bE");
  441. function _getRequireWildcardCache() {
  442. if (typeof WeakMap !== "function") return null;
  443. var cache = new WeakMap();
  444. _getRequireWildcardCache = function _getRequireWildcardCache() {
  445. return cache;
  446. };
  447. return cache;
  448. }
  449. function _interopRequireWildcard(obj) {
  450. if (obj && obj.__esModule) {
  451. return obj;
  452. }
  453. if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") {
  454. return {
  455. "default": obj
  456. };
  457. }
  458. var cache = _getRequireWildcardCache();
  459. if (cache && cache.has(obj)) {
  460. return cache.get(obj);
  461. }
  462. var newObj = {};
  463. var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
  464. for (var key in obj) {
  465. if (Object.prototype.hasOwnProperty.call(obj, key)) {
  466. var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
  467. if (desc && (desc.get || desc.set)) {
  468. Object.defineProperty(newObj, key, desc);
  469. } else {
  470. newObj[key] = obj[key];
  471. }
  472. }
  473. }
  474. newObj["default"] = obj;
  475. if (cache) {
  476. cache.set(obj, newObj);
  477. }
  478. return newObj;
  479. }
  480. module.exports = _interopRequireWildcard;
  481. /***/ }),
  482. /***/ "7WNa":
  483. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  484. "use strict";
  485. /* harmony import */ var assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("eDSW");
  486. 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; }
  487. 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; }
  488. 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; }
  489. const notificationsStyles = {
  490. section: {
  491. backgroundColor: "#FFFFFF",
  492. display: "block",
  493. width: "100%",
  494. position: "relative",
  495. padding: "0"
  496. },
  497. title: _objectSpread({}, assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__[/* title */ "v"], {
  498. marginTop: "30px",
  499. minHeight: "32px",
  500. textDecoration: "none"
  501. }),
  502. container: assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__[/* container */ "c"]
  503. };
  504. /* harmony default export */ __webpack_exports__["a"] = (notificationsStyles);
  505. /***/ }),
  506. /***/ "7vM9":
  507. /***/ (function(module, exports) {
  508. module.exports = require("@material-ui/core/Icon");
  509. /***/ }),
  510. /***/ "8//M":
  511. /***/ (function(module, exports) {
  512. module.exports = require("@material-ui/core/styles/makeStyles");
  513. /***/ }),
  514. /***/ "8E12":
  515. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  516. "use strict";
  517. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return HeaderLinks; });
  518. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  519. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  520. /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("YFqc");
  521. /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_1__);
  522. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("9Pu4");
  523. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_2__);
  524. /* harmony import */ var _material_ui_core_List__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("0LMq");
  525. /* harmony import */ var _material_ui_core_List__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_List__WEBPACK_IMPORTED_MODULE_3__);
  526. /* harmony import */ var _material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("c25J");
  527. /* harmony import */ var _material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4__);
  528. /* harmony import */ var _material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("7vM9");
  529. /* harmony import */ var _material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5__);
  530. /* harmony import */ var _material_ui_icons_LocalGroceryStore__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("3REV");
  531. /* harmony import */ var _material_ui_icons_LocalGroceryStore__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_material_ui_icons_LocalGroceryStore__WEBPACK_IMPORTED_MODULE_6__);
  532. /* harmony import */ var _material_ui_icons__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("2kat");
  533. /* harmony import */ var _material_ui_icons__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_material_ui_icons__WEBPACK_IMPORTED_MODULE_7__);
  534. /* harmony import */ var components_CustomDropdown_CustomDropdown_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("QOEo");
  535. /* harmony import */ var components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("Kg+a");
  536. /* harmony import */ var assets_jss_nextjs_material_kit_components_headerLinksStyle_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("0G1C");
  537. /* harmony import */ var assets_img_tb_png__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("nJn1");
  538. /* harmony import */ var assets_img_tb_png__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(assets_img_tb_png__WEBPACK_IMPORTED_MODULE_11__);
  539. var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
  540. 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; }
  541. 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; }
  542. /*eslint-disable*/
  543. // @material-ui/core components
  544. // import People from "@material-ui/core/People";
  545. // @material-ui/icons
  546. // core components
  547. 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"]);
  548. function HeaderLinks(_ref) {
  549. let {
  550. username
  551. } = _ref,
  552. props = _objectWithoutProperties(_ref, ["username"]);
  553. const classes = useStyles();
  554. return __jsx(_material_ui_core_List__WEBPACK_IMPORTED_MODULE_3___default.a, {
  555. className: classes.list
  556. }, __jsx(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default.a, {
  557. className: classes.listItem
  558. }, __jsx(next_link__WEBPACK_IMPORTED_MODULE_1___default.a, {
  559. href: "/yamaha/home"
  560. }, __jsx(components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
  561. color: "transparent",
  562. className: classes.navLink
  563. }, __jsx("img", {
  564. src: assets_img_tb_png__WEBPACK_IMPORTED_MODULE_11___default.a,
  565. width: "180px"
  566. })))), __jsx(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default.a, {
  567. className: classes.listItem
  568. }, __jsx(next_link__WEBPACK_IMPORTED_MODULE_1___default.a, {
  569. href: "/yamaha/home"
  570. }, __jsx(components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
  571. color: "transparent",
  572. className: classes.navLink,
  573. style: {
  574. marginTop: "10px"
  575. }
  576. }, __jsx(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default.a, {
  577. className: classes.icons
  578. }, "home"), " Home"))), __jsx(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default.a, {
  579. className: classes.listItem,
  580. style: {
  581. marginTop: "10px"
  582. }
  583. }, __jsx(components_CustomDropdown_CustomDropdown_js__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"], {
  584. noLiPadding: true,
  585. navDropdown: true,
  586. buttonText: "Product",
  587. buttonProps: {
  588. className: classes.navLink,
  589. color: "transparent"
  590. },
  591. buttonIcon: _material_ui_icons__WEBPACK_IMPORTED_MODULE_7__["Apps"],
  592. dropdownList: [__jsx("a", {
  593. href: "/yamaha/product/product",
  594. className: classes.dropdownLink
  595. }, "Motor"), __jsx("a", {
  596. href: "/yamaha/sparepart/sparepart",
  597. className: classes.dropdownLink
  598. }, "Sparepart & Accessories"), // <a href="/yamaha/product/yamalube" className={classes.dropdownLink}>
  599. // Yamalube
  600. // </a>,
  601. // <a href="/yamaha/product/helmet" className={classes.dropdownLink}>
  602. // Helmet
  603. // </a>,
  604. // <a href="/yamaha/product/apparel" className={classes.dropdownLink}>
  605. // Apparel
  606. // </a>,
  607. // <a
  608. // href="/yamaha/product/accessories"
  609. // className={classes.dropdownLink}
  610. // >
  611. // Accessories
  612. // </a>,
  613. __jsx("a", {
  614. href: "https://booking.thamrin.co.id/",
  615. className: classes.dropdownLink
  616. }, "Service"), __jsx("a", {
  617. href: "/yamaha/dealers",
  618. className: classes.dropdownLink
  619. }, "Dealers") // <a href="/yamaha/order/order" className={classes.dropdownLink}>
  620. // Dealers
  621. // </a>,
  622. ]
  623. })), __jsx(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default.a, {
  624. className: classes.listItem,
  625. style: {
  626. marginTop: "10px"
  627. }
  628. }, __jsx(next_link__WEBPACK_IMPORTED_MODULE_1___default.a, {
  629. href: "/yamaha/latest_news/latestnews"
  630. }, __jsx(components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
  631. color: "transparent",
  632. className: classes.navLink
  633. }, __jsx(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default.a, {
  634. className: classes.icons
  635. }, "event"), " Latest News"))), __jsx(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default.a, {
  636. className: classes.listItem,
  637. style: {
  638. marginTop: "10px"
  639. }
  640. }, __jsx(components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
  641. href: "/yamaha/carrer/carrer",
  642. color: "transparent",
  643. className: classes.navLink
  644. }, __jsx(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default.a, {
  645. className: classes.icons
  646. }, "wallet_travel"), " Career")), __jsx(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default.a, {
  647. className: classes.listItem,
  648. style: {
  649. marginTop: "10px"
  650. }
  651. }, __jsx(components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
  652. href: "/yamaha/abous_us/aboutus",
  653. color: "transparent",
  654. className: classes.navLink
  655. }, __jsx(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default.a, {
  656. className: classes.icons
  657. }, "account_balance"), " About Us")), __jsx(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default.a, {
  658. className: classes.listItem,
  659. style: {
  660. marginTop: "10px"
  661. }
  662. }, __jsx(components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
  663. href: "/yamaha/profile/profile" // href="#"
  664. ,
  665. color: "transparent",
  666. className: classes.navLink
  667. }, __jsx(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default.a, {
  668. className: classes.icons
  669. }, "people"), " Profile")), __jsx(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default.a, {
  670. className: classes.listItem,
  671. style: {
  672. marginTop: "10px"
  673. }
  674. }, !username || username == "" ? __jsx(components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
  675. href: "/yamaha/login",
  676. className: classes.registerNavLink,
  677. color: "info",
  678. round: true
  679. }, __jsx(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default.a, {
  680. className: classes.icons
  681. }, "input"), " Login") : __jsx(components_CustomDropdown_CustomDropdown_js__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"], {
  682. noLiPadding: true,
  683. navDropdown: true,
  684. buttonText: username.length > 12 ? username.substring(0, 9) + ".." : username,
  685. buttonProps: {
  686. className: classes.navLink,
  687. color: "transparent"
  688. },
  689. buttonIcon: _material_ui_icons__WEBPACK_IMPORTED_MODULE_7__["Person"],
  690. dropdownList: [__jsx("div", {
  691. onClick: async e => {
  692. e.preventDefault();
  693. fetch("/api/auth/logout", {
  694. method: "POST",
  695. headers: {
  696. "Content-Type": "application/json"
  697. },
  698. body: JSON.stringify({
  699. p: "YAMAHA"
  700. })
  701. }).then(res => {
  702. //if (res.ok) {
  703. window.location.href = "../yamaha/home";
  704. /*}
  705. else{
  706. }*/
  707. });
  708. }
  709. }, __jsx("a", {
  710. className: classes.dropdownLink
  711. }, __jsx(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default.a, {
  712. className: classes.icons
  713. }, "exit_to_app"), " Logout")), __jsx("div", null, __jsx("a", {
  714. className: classes.dropdownLink,
  715. href: "/yamaha/order/order"
  716. }, __jsx(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default.a, {
  717. className: classes.icons
  718. }, "shopping_cart"), " Pesanan Saya")) // <a href="/yamaha/profile/profile" className={classes.dropdownLink}>Profile</a>,
  719. ]
  720. })));
  721. }
  722. /***/ }),
  723. /***/ "8x5e":
  724. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  725. "use strict";
  726. // EXPORTS
  727. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ Header; });
  728. // EXTERNAL MODULE: external "react"
  729. var external_react_ = __webpack_require__("cDcd");
  730. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  731. // EXTERNAL MODULE: ./node_modules/next/link.js
  732. var next_link = __webpack_require__("YFqc");
  733. var link_default = /*#__PURE__*/__webpack_require__.n(next_link);
  734. // EXTERNAL MODULE: external "classnames"
  735. var external_classnames_ = __webpack_require__("K2gz");
  736. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  737. // EXTERNAL MODULE: external "@material-ui/core/styles"
  738. var styles_ = __webpack_require__("9Pu4");
  739. // EXTERNAL MODULE: external "@material-ui/core/AppBar"
  740. var AppBar_ = __webpack_require__("4151");
  741. var AppBar_default = /*#__PURE__*/__webpack_require__.n(AppBar_);
  742. // EXTERNAL MODULE: external "@material-ui/core/Toolbar"
  743. var Toolbar_ = __webpack_require__("Ms0O");
  744. var Toolbar_default = /*#__PURE__*/__webpack_require__.n(Toolbar_);
  745. // EXTERNAL MODULE: external "@material-ui/core/IconButton"
  746. var IconButton_ = __webpack_require__("EmCc");
  747. var IconButton_default = /*#__PURE__*/__webpack_require__.n(IconButton_);
  748. // EXTERNAL MODULE: external "@material-ui/core/Button"
  749. var Button_ = __webpack_require__("Wh1t");
  750. var Button_default = /*#__PURE__*/__webpack_require__.n(Button_);
  751. // EXTERNAL MODULE: external "@material-ui/core/Hidden"
  752. var Hidden_ = __webpack_require__("Y8uC");
  753. var Hidden_default = /*#__PURE__*/__webpack_require__.n(Hidden_);
  754. // EXTERNAL MODULE: external "@material-ui/core/Drawer"
  755. var Drawer_ = __webpack_require__("Q01v");
  756. var Drawer_default = /*#__PURE__*/__webpack_require__.n(Drawer_);
  757. // EXTERNAL MODULE: external "@material-ui/icons/Menu"
  758. var Menu_ = __webpack_require__("4D1s");
  759. var Menu_default = /*#__PURE__*/__webpack_require__.n(Menu_);
  760. // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
  761. var nextjs_material_kit = __webpack_require__("eDSW");
  762. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/headerStyle.js
  763. 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; }
  764. 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; }
  765. 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; }
  766. const headerStyle = {
  767. appBar: {
  768. display: "flex",
  769. border: "0",
  770. borderRadius: "3px",
  771. padding: "0.625rem 0",
  772. marginBottom: "20px",
  773. color: "#555",
  774. width: "100%",
  775. backgroundColor: "#000",
  776. boxShadow: "0 4px 18px 0px rgba(0, 0, 0, 0.12), 0 7px 10px -5px rgba(0, 0, 0, 0.15)",
  777. transition: "all 150ms ease 0s",
  778. alignItems: "center",
  779. flexFlow: "row nowrap",
  780. justifyContent: "flex-start",
  781. position: "relative",
  782. zIndex: "unset"
  783. },
  784. absolute: {
  785. position: "absolute",
  786. zIndex: "1100"
  787. },
  788. fixed: {
  789. position: "fixed",
  790. zIndex: "1100"
  791. },
  792. container: _objectSpread({}, nextjs_material_kit["c" /* container */], {
  793. minHeight: "50px",
  794. flex: "1",
  795. alignItems: "center",
  796. justifyContent: "space-between",
  797. display: "flex",
  798. flexWrap: "nowrap"
  799. }),
  800. flex: {
  801. flex: 1
  802. },
  803. title: _objectSpread({}, nextjs_material_kit["g" /* defaultFont */], {
  804. lineHeight: "30px",
  805. fontSize: "18px",
  806. borderRadius: "3px",
  807. textTransform: "none",
  808. color: "inherit",
  809. padding: "8px 16px",
  810. letterSpacing: "unset",
  811. "&:hover,&:focus": {
  812. color: "inherit",
  813. background: "transparent"
  814. }
  815. }),
  816. appResponsive: {
  817. margin: "20px 10px"
  818. },
  819. primary: {
  820. backgroundColor: nextjs_material_kit["p" /* primaryColor */],
  821. color: "#FFFFFF",
  822. 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)}`
  823. },
  824. info: {
  825. backgroundColor: nextjs_material_kit["m" /* infoColor */],
  826. color: "#FFFFFF",
  827. 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)}`
  828. },
  829. success: {
  830. backgroundColor: nextjs_material_kit["u" /* successColor */],
  831. color: "#FFFFFF",
  832. 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)}`
  833. },
  834. warning: {
  835. backgroundColor: nextjs_material_kit["z" /* warningColor */],
  836. color: "#FFFFFF",
  837. 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)}`
  838. },
  839. danger: {
  840. backgroundColor: nextjs_material_kit["f" /* dangerColor */],
  841. color: "#FFFFFF",
  842. 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)}`
  843. },
  844. rose: {
  845. backgroundColor: nextjs_material_kit["r" /* roseColor */],
  846. color: "#FFFFFF",
  847. 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)}`
  848. },
  849. transparent: {
  850. backgroundColor: "transparent !important",
  851. boxShadow: "none",
  852. paddingTop: "25px",
  853. color: "#FFFFFF"
  854. },
  855. dark: {
  856. color: "#FFFFFF",
  857. backgroundColor: "#212121 !important",
  858. boxShadow: "0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px rgba(33, 33, 33, 0.46)"
  859. },
  860. white: {
  861. border: "0",
  862. padding: "0.625rem 0",
  863. marginBottom: "20px",
  864. color: "#555",
  865. backgroundColor: "#fff !important",
  866. boxShadow: "0 4px 18px 0px rgba(0, 0, 0, 0.12), 0 7px 10px -5px rgba(0, 0, 0, 0.15)"
  867. },
  868. drawerPaper: _objectSpread({
  869. border: "none",
  870. bottom: "0",
  871. transitionProperty: "top, bottom, width",
  872. transitionDuration: ".2s, .2s, .35s",
  873. transitionTimingFunction: "linear, linear, ease",
  874. width: nextjs_material_kit["h" /* drawerWidth */]
  875. }, nextjs_material_kit["a" /* boxShadow */], {
  876. position: "fixed",
  877. display: "block",
  878. top: "0",
  879. height: "100vh",
  880. right: "0",
  881. left: "auto",
  882. visibility: "visible",
  883. overflowY: "visible",
  884. borderTop: "none",
  885. textAlign: "left",
  886. paddingRight: "0px",
  887. paddingLeft: "0"
  888. }, nextjs_material_kit["w" /* transition */])
  889. };
  890. /* harmony default export */ var components_headerStyle = (headerStyle);
  891. // CONCATENATED MODULE: ./components/Header/Header.js
  892. var __jsx = external_react_default.a.createElement;
  893. // nodejs library that concatenates classes
  894. // nodejs library to set properties for components
  895. // @material-ui/core components
  896. // @material-ui/icons
  897. // core components
  898. const useStyles = Object(styles_["makeStyles"])(components_headerStyle);
  899. function Header(props) {
  900. const classes = useStyles();
  901. const [mobileOpen, setMobileOpen] = external_react_default.a.useState(false);
  902. external_react_default.a.useEffect(() => {
  903. if (props.changeColorOnScroll) {
  904. window.addEventListener("scroll", headerColorChange);
  905. }
  906. return function cleanup() {
  907. if (props.changeColorOnScroll) {
  908. window.removeEventListener("scroll", headerColorChange);
  909. }
  910. };
  911. });
  912. const handleDrawerToggle = () => {
  913. setMobileOpen(!mobileOpen);
  914. };
  915. const headerColorChange = () => {
  916. const {
  917. color,
  918. changeColorOnScroll
  919. } = props;
  920. const windowsScrollTop = window.pageYOffset;
  921. if (windowsScrollTop > changeColorOnScroll.height) {
  922. document.body.getElementsByTagName("header")[0].classList.remove(classes[color]);
  923. document.body.getElementsByTagName("header")[0].classList.add(classes[changeColorOnScroll.color]);
  924. } else {
  925. document.body.getElementsByTagName("header")[0].classList.add(classes[color]);
  926. document.body.getElementsByTagName("header")[0].classList.remove(classes[changeColorOnScroll.color]);
  927. }
  928. };
  929. const {
  930. color,
  931. rightLinks,
  932. leftLinks,
  933. brand,
  934. fixed,
  935. absolute
  936. } = props;
  937. const appBarClasses = external_classnames_default()({
  938. [classes.appBar]: true,
  939. [classes[color]]: color,
  940. [classes.absolute]: absolute,
  941. [classes.fixed]: fixed
  942. });
  943. const brandComponent = __jsx(link_default.a, {
  944. href: "/components",
  945. as: "/components"
  946. }, __jsx(Button_default.a, {
  947. className: classes.title
  948. }, brand));
  949. return __jsx(AppBar_default.a, {
  950. className: appBarClasses
  951. }, __jsx(Toolbar_default.a, {
  952. className: classes.container
  953. }, leftLinks !== undefined ? brandComponent : null, __jsx("div", {
  954. className: classes.flex
  955. }, leftLinks !== undefined ? __jsx(Hidden_default.a, {
  956. smDown: true,
  957. implementation: "css"
  958. }, leftLinks) : brandComponent), __jsx(Hidden_default.a, {
  959. smDown: true,
  960. implementation: "css"
  961. }, rightLinks), __jsx(Hidden_default.a, {
  962. mdUp: true
  963. }, __jsx(IconButton_default.a, {
  964. color: "inherit",
  965. "aria-label": "open drawer",
  966. onClick: handleDrawerToggle
  967. }, __jsx(Menu_default.a, null)))), __jsx(Hidden_default.a, {
  968. mdUp: true,
  969. implementation: "js"
  970. }, __jsx(Drawer_default.a, {
  971. variant: "temporary",
  972. anchor: "right",
  973. open: mobileOpen,
  974. classes: {
  975. paper: classes.drawerPaper
  976. },
  977. onClose: handleDrawerToggle
  978. }, __jsx("div", {
  979. className: classes.appResponsive
  980. }, leftLinks, rightLinks))));
  981. }
  982. Header.defaultProp = {
  983. color: "black"
  984. };
  985. /***/ }),
  986. /***/ "9Pu4":
  987. /***/ (function(module, exports) {
  988. module.exports = require("@material-ui/core/styles");
  989. /***/ }),
  990. /***/ "A2So":
  991. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  992. "use strict";
  993. // EXPORTS
  994. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ Card; });
  995. // EXTERNAL MODULE: external "react"
  996. var external_react_ = __webpack_require__("cDcd");
  997. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  998. // EXTERNAL MODULE: external "classnames"
  999. var external_classnames_ = __webpack_require__("K2gz");
  1000. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  1001. // EXTERNAL MODULE: external "@material-ui/core/styles"
  1002. var styles_ = __webpack_require__("9Pu4");
  1003. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/cardStyle.js
  1004. const cardStyle = {
  1005. card: {
  1006. border: "0",
  1007. marginBottom: "30px",
  1008. marginTop: "30px",
  1009. borderRadius: "6px",
  1010. color: "rgba(0, 0, 0, 0.87)",
  1011. background: "#fff",
  1012. width: "100%",
  1013. 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)",
  1014. position: "relative",
  1015. display: "flex",
  1016. flexDirection: "column",
  1017. minWidth: "0",
  1018. wordWrap: "break-word",
  1019. fontSize: ".875rem",
  1020. transition: "all 300ms linear"
  1021. },
  1022. cardPlain: {
  1023. background: "transparent",
  1024. boxShadow: "none"
  1025. },
  1026. cardCarousel: {
  1027. overflow: "hidden"
  1028. }
  1029. };
  1030. /* harmony default export */ var components_cardStyle = (cardStyle);
  1031. // CONCATENATED MODULE: ./components/Card/Card.js
  1032. var __jsx = external_react_default.a.createElement;
  1033. 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); }
  1034. 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; }
  1035. 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; }
  1036. // nodejs library that concatenates classes
  1037. // nodejs library to set properties for components
  1038. // @material-ui/core components
  1039. // @material-ui/icons
  1040. // core components
  1041. const useStyles = Object(styles_["makeStyles"])(components_cardStyle);
  1042. function Card(props) {
  1043. const classes = useStyles();
  1044. const {
  1045. className,
  1046. children,
  1047. plain,
  1048. carousel
  1049. } = props,
  1050. rest = _objectWithoutProperties(props, ["className", "children", "plain", "carousel"]);
  1051. const cardClasses = external_classnames_default()({
  1052. [classes.card]: true,
  1053. [classes.cardPlain]: plain,
  1054. [classes.cardCarousel]: carousel,
  1055. [className]: className !== undefined
  1056. });
  1057. return __jsx("div", _extends({
  1058. className: cardClasses
  1059. }, rest), children);
  1060. }
  1061. /***/ }),
  1062. /***/ "AroE":
  1063. /***/ (function(module, exports) {
  1064. function _interopRequireDefault(obj) {
  1065. return obj && obj.__esModule ? obj : {
  1066. "default": obj
  1067. };
  1068. }
  1069. module.exports = _interopRequireDefault;
  1070. /***/ }),
  1071. /***/ "C+bE":
  1072. /***/ (function(module, exports) {
  1073. 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); }
  1074. function _typeof(obj) {
  1075. if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") {
  1076. module.exports = _typeof = function _typeof(obj) {
  1077. return _typeof2(obj);
  1078. };
  1079. } else {
  1080. module.exports = _typeof = function _typeof(obj) {
  1081. return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj);
  1082. };
  1083. }
  1084. return _typeof(obj);
  1085. }
  1086. module.exports = _typeof;
  1087. /***/ }),
  1088. /***/ "EmCc":
  1089. /***/ (function(module, exports) {
  1090. module.exports = require("@material-ui/core/IconButton");
  1091. /***/ }),
  1092. /***/ "F6iu":
  1093. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1094. "use strict";
  1095. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  1096. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  1097. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("9Pu4");
  1098. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__);
  1099. /* harmony import */ var assets_jss_nextjs_material_kit_pages_componentsSections_notificationsStyles_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("7WNa");
  1100. /* harmony import */ var components_Card_Card_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("A2So");
  1101. /* harmony import */ var components_Card_CardBody_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("UsYt");
  1102. /* harmony import */ var components_Card_CardHeader_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("2zww");
  1103. /* harmony import */ var components_Header_LinkCompany_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("K2z0");
  1104. var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
  1105. 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; }
  1106. 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; }
  1107. const useStyles = Object(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__["makeStyles"])(assets_jss_nextjs_material_kit_pages_componentsSections_notificationsStyles_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"]);
  1108. const DataSejarah = function (_ref) {
  1109. let {
  1110. backend,
  1111. businessPartners,
  1112. service,
  1113. carousel
  1114. } = _ref,
  1115. props = _objectWithoutProperties(_ref, ["backend", "businessPartners", "service", "carousel"]);
  1116. const classes = useStyles();
  1117. return __jsx("div", null, __jsx(components_Card_Card_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"], {
  1118. className: classes.textCenter,
  1119. align: "center",
  1120. style: {
  1121. padding: "5px"
  1122. }
  1123. }, __jsx("div", {
  1124. align: "center"
  1125. }, __jsx(components_Card_CardHeader_js__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"], {
  1126. color: "info",
  1127. justify: "center"
  1128. }, __jsx(components_Header_LinkCompany_js__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"], null))), __jsx(components_Card_CardBody_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"], null, __jsx("div", {
  1129. align: "center"
  1130. }, __jsx("img", {
  1131. src: "http://3.bp.blogspot.com/-_dTNAAE-TMY/VL3Zyiti2OI/AAAAAAAAAT0/YSd7Ok_3I0k/s1600/Thamrin-brother-loker.png"
  1132. })), __jsx("h1", {
  1133. className: classes.cardTitle
  1134. }, __jsx("b", null, "Sejarah Thamrin Group")), __jsx("p", null, "Thamrin Group adalah perusahaan terkemuka di Sumatera Selatan & Bengkulu dengan fokus bisnis pada sektor otomotif dan properti"), __jsx("h3", null, "Visi"), __jsx("p", null, "Berdampak bagi masyarakat melalui SDM yang dimiliki, pelayanan prima & pengembangan usaha secara berkelanjutan dengan membangun perusahaan yang terpercaya & memiliki reputasi yang baik"), __jsx("h3", null, "Misi"), __jsx("p", null, "1. Melayani 21,7 juta pelanggan di tahun 2022"), __jsx("p", null, "2. Mengembangkan pemimpin yang sukses"), __jsx("p", null, "3. Mengelola proses administrasi yang simple & excellent"), __jsx("p", null, "4. Mendukung continuous improvement"))));
  1135. };
  1136. /* harmony default export */ __webpack_exports__["a"] = (DataSejarah);
  1137. /***/ }),
  1138. /***/ "Fm7H":
  1139. /***/ (function(module, exports) {
  1140. module.exports = require("@material-ui/icons/Favorite");
  1141. /***/ }),
  1142. /***/ "HXcA":
  1143. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1144. "use strict";
  1145. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Footer; });
  1146. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  1147. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  1148. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("K2gz");
  1149. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
  1150. /* harmony import */ var _material_ui_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("KKbo");
  1151. /* harmony import */ var _material_ui_core__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__);
  1152. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("9Pu4");
  1153. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3__);
  1154. /* harmony import */ var _material_ui_icons_Favorite__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("Fm7H");
  1155. /* harmony import */ var _material_ui_icons_Favorite__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_material_ui_icons_Favorite__WEBPACK_IMPORTED_MODULE_4__);
  1156. /* harmony import */ var components_Grid_GridContainer_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("mtPR");
  1157. /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("JQ2V");
  1158. /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_6__);
  1159. /* harmony import */ var components_Grid_GridItem_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("i4t8");
  1160. /* harmony import */ var _material_ui_core_Paper__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("qt1I");
  1161. /* harmony import */ var _material_ui_core_Paper__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_Paper__WEBPACK_IMPORTED_MODULE_8__);
  1162. /* harmony import */ var components_Card_Card_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("A2So");
  1163. /* harmony import */ var assets_jss_nextjs_material_kit_components_footerStyle_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("oLCs");
  1164. var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
  1165. // import StyleYamaha from "components/Footer/footersosmed.css";
  1166. 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"]);
  1167. function Footer(props) {
  1168. const classes = useStyles();
  1169. const {
  1170. whiteFont
  1171. } = props;
  1172. const footerClasses = classnames__WEBPACK_IMPORTED_MODULE_1___default()({
  1173. [classes.footer]: true,
  1174. [classes.footerWhiteFont]: whiteFont
  1175. });
  1176. const aClasses = classnames__WEBPACK_IMPORTED_MODULE_1___default()({
  1177. [classes.a]: true,
  1178. [classes.footerWhiteFont]: whiteFont
  1179. });
  1180. return __jsx(components_Grid_GridItem_js__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"], {
  1181. xs: 12
  1182. }, __jsx("link", {
  1183. rel: "stylesheet",
  1184. href: "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
  1185. }), __jsx("br", null), __jsx("br", null), __jsx("div", {
  1186. align: "center"
  1187. }, __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["List"], {
  1188. className: classes.list
  1189. }, __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1190. className: classes.inlineBlock
  1191. }, __jsx("a", {
  1192. href: "/yamaha/home",
  1193. className: classes.block
  1194. }, " Home ")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1195. className: classes.inlineBlock
  1196. }, __jsx("a", {
  1197. href: "/yamaha/product/product",
  1198. className: classes.block
  1199. }, " Motor ")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1200. className: classes.inlineBlock
  1201. }, __jsx("a", {
  1202. href: "/yamaha/product/ygp",
  1203. className: classes.block
  1204. }, " YGP ")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1205. className: classes.inlineBlock
  1206. }, __jsx("a", {
  1207. href: "/yamaha/product/yamalube",
  1208. className: classes.block
  1209. }, " Yamalube ")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1210. className: classes.inlineBlock
  1211. }, __jsx("a", {
  1212. href: "/yamaha/product/apparel",
  1213. className: classes.block
  1214. }, " Apparel ")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1215. className: classes.inlineBlock
  1216. }, __jsx("a", {
  1217. href: "/yamaha/product/helmet",
  1218. className: classes.block
  1219. }, " Helmet ")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1220. className: classes.inlineBlock
  1221. }, __jsx("a", {
  1222. href: "/yamaha/product/accessories",
  1223. className: classes.block
  1224. }, " Accessories ")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1225. className: classes.inlineBlock
  1226. }, __jsx("a", {
  1227. href: "/yamaha/product/service",
  1228. className: classes.block
  1229. }, " Service ")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1230. className: classes.inlineBlock
  1231. }, __jsx("a", {
  1232. href: "/yamaha/product/dealer",
  1233. className: classes.block
  1234. }, " Dealer ")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1235. className: classes.inlineBlock
  1236. }, __jsx("a", {
  1237. href: "/yamaha/latestsnews",
  1238. className: classes.block
  1239. }, " Latest News ")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1240. className: classes.inlineBlock
  1241. }, __jsx("a", {
  1242. href: "/yamaha/carrer",
  1243. className: classes.block
  1244. }, " Carrer ")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1245. className: classes.inlineBlock
  1246. }, __jsx("a", {
  1247. href: "/yamaha/about_us/aboutus",
  1248. className: classes.block
  1249. }, " About Us ")))), __jsx("div", {
  1250. align: "center"
  1251. }, __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["List"], {
  1252. className: classes.list
  1253. }, __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1254. className: classes.inlineBlock,
  1255. style: {
  1256. padding: "10px"
  1257. }
  1258. }, __jsx("a", {
  1259. href: "#",
  1260. class: "fa fa-facebook"
  1261. })), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1262. className: classes.inlineBlock,
  1263. style: {
  1264. padding: "10px"
  1265. }
  1266. }, __jsx("a", {
  1267. href: "#",
  1268. class: "fa fa-instagram"
  1269. })), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1270. className: classes.inlineBlock,
  1271. style: {
  1272. padding: "10px"
  1273. }
  1274. }, __jsx("a", {
  1275. href: "#",
  1276. class: "fa fa-twitter"
  1277. })), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1278. className: classes.inlineBlock,
  1279. style: {
  1280. padding: "10px"
  1281. }
  1282. }, __jsx("a", {
  1283. href: "#",
  1284. class: "fa fa-youtube"
  1285. })))), __jsx("br", null), __jsx("br", null), __jsx("div", {
  1286. align: "center"
  1287. }, "\xA9 ", 1900 + new Date().getYear(), " , All Right Reserved", " ", " by", " ", " @Thamrin Brothers"), __jsx("br", null), __jsx("br", null));
  1288. }
  1289. /***/ }),
  1290. /***/ "JQ2V":
  1291. /***/ (function(module, exports) {
  1292. module.exports = require("@material-ui/core/Grid");
  1293. /***/ }),
  1294. /***/ "K2gz":
  1295. /***/ (function(module, exports) {
  1296. module.exports = require("classnames");
  1297. /***/ }),
  1298. /***/ "K2z0":
  1299. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1300. "use strict";
  1301. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Footer; });
  1302. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  1303. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  1304. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("K2gz");
  1305. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
  1306. /* harmony import */ var _material_ui_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("KKbo");
  1307. /* harmony import */ var _material_ui_core__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__);
  1308. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("9Pu4");
  1309. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3__);
  1310. /* harmony import */ var components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("Kg+a");
  1311. /* harmony import */ var assets_jss_nextjs_material_kit_components_footerStyle_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("oLCs");
  1312. var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
  1313. /*eslint-disable*/
  1314. // nodejs library to set properties for components
  1315. // nodejs library that concatenates classes
  1316. // material-ui core components
  1317. const useStyles = Object(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3__["makeStyles"])(assets_jss_nextjs_material_kit_components_footerStyle_js__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"]);
  1318. function Footer(props) {
  1319. const classes = useStyles();
  1320. const {
  1321. whiteFont
  1322. } = props;
  1323. const footerClasses = classnames__WEBPACK_IMPORTED_MODULE_1___default()({
  1324. [classes.footer]: true,
  1325. [classes.footerWhiteFont]: whiteFont
  1326. });
  1327. const aClasses = classnames__WEBPACK_IMPORTED_MODULE_1___default()({
  1328. [classes.a]: true,
  1329. [classes.footerWhiteFont]: whiteFont
  1330. });
  1331. return __jsx("footer", {
  1332. className: footerClasses
  1333. }, __jsx("div", {
  1334. className: classes.container
  1335. }, __jsx("div", null, __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["List"], {
  1336. justify: "center",
  1337. className: classes.list
  1338. }, __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1339. className: classes.inlineBlock
  1340. }, __jsx("a", {
  1341. href: "tugas_fungsi",
  1342. className: classes.block
  1343. }, "Tugas & Fungsi")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1344. className: classes.inlineBlock
  1345. }, __jsx("a", {
  1346. href: "sejarah",
  1347. className: classes.block
  1348. }, "Sejarah Perusahaan")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1349. className: classes.inlineBlock
  1350. }, __jsx("a", {
  1351. href: "profile",
  1352. className: classes.block
  1353. }, "Profil Perusahaan")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1354. className: classes.inlineBlock
  1355. }, __jsx("a", {
  1356. href: "tata_kelola",
  1357. className: classes.block
  1358. }, "Tata Kelola Perusahaan")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1359. className: classes.inlineBlock
  1360. }, __jsx("a", {
  1361. href: "struktur_organisasi",
  1362. className: classes.block
  1363. }, "Struktur Organisasi")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1364. className: classes.inlineBlock
  1365. }, __jsx("a", {
  1366. href: "saham",
  1367. className: classes.block
  1368. }, "Kepemilikan Saham")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1369. className: classes.inlineBlock
  1370. }, __jsx("a", {
  1371. href: "penghargaan",
  1372. className: classes.block
  1373. }, "Penghargaan"))))));
  1374. }
  1375. /***/ }),
  1376. /***/ "KKbo":
  1377. /***/ (function(module, exports) {
  1378. module.exports = require("@material-ui/core");
  1379. /***/ }),
  1380. /***/ "Kg+a":
  1381. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1382. "use strict";
  1383. // EXTERNAL MODULE: external "react"
  1384. var external_react_ = __webpack_require__("cDcd");
  1385. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  1386. // EXTERNAL MODULE: external "classnames"
  1387. var external_classnames_ = __webpack_require__("K2gz");
  1388. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  1389. // EXTERNAL MODULE: external "@material-ui/core/styles/makeStyles"
  1390. var makeStyles_ = __webpack_require__("8//M");
  1391. var makeStyles_default = /*#__PURE__*/__webpack_require__.n(makeStyles_);
  1392. // EXTERNAL MODULE: external "@material-ui/core/Button"
  1393. var Button_ = __webpack_require__("Wh1t");
  1394. var Button_default = /*#__PURE__*/__webpack_require__.n(Button_);
  1395. // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
  1396. var nextjs_material_kit = __webpack_require__("eDSW");
  1397. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/buttonStyle.js
  1398. const buttonStyle = {
  1399. button: {
  1400. minHeight: "auto",
  1401. minWidth: "auto",
  1402. backgroundColor: nextjs_material_kit["i" /* grayColor */],
  1403. color: "#FFFFFF",
  1404. 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)",
  1405. border: "none",
  1406. borderRadius: "3px",
  1407. position: "relative",
  1408. padding: "12px 30px",
  1409. margin: ".3125rem 1px",
  1410. fontSize: "12px",
  1411. fontWeight: "400",
  1412. textTransform: "uppercase",
  1413. letterSpacing: "0",
  1414. willChange: "box-shadow, transform",
  1415. transition: "box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1)",
  1416. lineHeight: "1.42857143",
  1417. textAlign: "center",
  1418. whiteSpace: "nowrap",
  1419. verticalAlign: "middle",
  1420. touchAction: "manipulation",
  1421. cursor: "pointer",
  1422. "&:hover,&:focus": {
  1423. color: "#FFFFFF",
  1424. backgroundColor: nextjs_material_kit["i" /* grayColor */],
  1425. 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)"
  1426. },
  1427. "& .fab,& .fas,& .far,& .fal,& .material-icons": {
  1428. position: "relative",
  1429. display: "inline-block",
  1430. top: "0",
  1431. fontSize: "1.1rem",
  1432. marginRight: "4px",
  1433. verticalAlign: "middle"
  1434. },
  1435. "& svg": {
  1436. position: "relative",
  1437. display: "inline-block",
  1438. top: "0",
  1439. width: "18px",
  1440. height: "18px",
  1441. marginRight: "4px",
  1442. verticalAlign: "middle"
  1443. },
  1444. "&$justIcon": {
  1445. "& .fab,& .fas,& .far,& .fal,& .material-icons": {
  1446. marginRight: "0px",
  1447. position: "absolute",
  1448. width: "100%",
  1449. transform: "none",
  1450. left: "0px",
  1451. top: "0px",
  1452. height: "100%",
  1453. lineHeight: "41px",
  1454. fontSize: "20px"
  1455. }
  1456. }
  1457. },
  1458. fullWidth: {
  1459. width: "100%"
  1460. },
  1461. primary: {
  1462. backgroundColor: nextjs_material_kit["p" /* primaryColor */],
  1463. 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)}`,
  1464. "&:hover,&:focus": {
  1465. backgroundColor: nextjs_material_kit["p" /* primaryColor */],
  1466. 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)}`
  1467. }
  1468. },
  1469. info: {
  1470. backgroundColor: nextjs_material_kit["m" /* infoColor */],
  1471. 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)}`,
  1472. "&:hover,&:focus": {
  1473. backgroundColor: nextjs_material_kit["m" /* infoColor */],
  1474. 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)}`
  1475. }
  1476. },
  1477. success: {
  1478. backgroundColor: nextjs_material_kit["u" /* successColor */],
  1479. 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)}`,
  1480. "&:hover,&:focus": {
  1481. backgroundColor: nextjs_material_kit["u" /* successColor */],
  1482. 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)}`
  1483. }
  1484. },
  1485. warning: {
  1486. backgroundColor: nextjs_material_kit["z" /* warningColor */],
  1487. 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)}`,
  1488. "&:hover,&:focus": {
  1489. backgroundColor: nextjs_material_kit["z" /* warningColor */],
  1490. 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)}`
  1491. }
  1492. },
  1493. danger: {
  1494. backgroundColor: nextjs_material_kit["f" /* dangerColor */],
  1495. 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)}`,
  1496. "&:hover,&:focus": {
  1497. backgroundColor: nextjs_material_kit["f" /* dangerColor */],
  1498. 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)}`
  1499. }
  1500. },
  1501. rose: {
  1502. backgroundColor: nextjs_material_kit["r" /* roseColor */],
  1503. 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)}`,
  1504. "&:hover,&:focus": {
  1505. backgroundColor: nextjs_material_kit["r" /* roseColor */],
  1506. 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)}`
  1507. }
  1508. },
  1509. white: {
  1510. "&,&:focus,&:hover,&:visited": {
  1511. backgroundColor: "#FFFFFF",
  1512. color: nextjs_material_kit["i" /* grayColor */]
  1513. }
  1514. },
  1515. twitter: {
  1516. backgroundColor: "#55acee",
  1517. color: "#fff",
  1518. 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)",
  1519. "&:hover,&:focus,&:visited": {
  1520. backgroundColor: "#55acee",
  1521. color: "#fff",
  1522. 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)"
  1523. }
  1524. },
  1525. facebook: {
  1526. backgroundColor: "#3b5998",
  1527. color: "#fff",
  1528. 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)",
  1529. "&:hover,&:focus": {
  1530. backgroundColor: "#3b5998",
  1531. color: "#fff",
  1532. 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)"
  1533. }
  1534. },
  1535. google: {
  1536. backgroundColor: "#dd4b39",
  1537. color: "#fff",
  1538. 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)",
  1539. "&:hover,&:focus": {
  1540. backgroundColor: "#dd4b39",
  1541. color: "#fff",
  1542. 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)"
  1543. }
  1544. },
  1545. github: {
  1546. backgroundColor: "#333333",
  1547. color: "#fff",
  1548. 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)",
  1549. "&:hover,&:focus": {
  1550. backgroundColor: "#333333",
  1551. color: "#fff",
  1552. 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)"
  1553. }
  1554. },
  1555. simple: {
  1556. "&,&:focus,&:hover,&:visited": {
  1557. color: "#FFFFFF",
  1558. background: "transparent",
  1559. boxShadow: "none"
  1560. },
  1561. "&$primary": {
  1562. "&,&:focus,&:hover,&:visited": {
  1563. color: nextjs_material_kit["p" /* primaryColor */]
  1564. }
  1565. },
  1566. "&$info": {
  1567. "&,&:focus,&:hover,&:visited": {
  1568. color: nextjs_material_kit["m" /* infoColor */]
  1569. }
  1570. },
  1571. "&$success": {
  1572. "&,&:focus,&:hover,&:visited": {
  1573. color: nextjs_material_kit["u" /* successColor */]
  1574. }
  1575. },
  1576. "&$warning": {
  1577. "&,&:focus,&:hover,&:visited": {
  1578. color: nextjs_material_kit["z" /* warningColor */]
  1579. }
  1580. },
  1581. "&$rose": {
  1582. "&,&:focus,&:hover,&:visited": {
  1583. color: nextjs_material_kit["r" /* roseColor */]
  1584. }
  1585. },
  1586. "&$danger": {
  1587. "&,&:focus,&:hover,&:visited": {
  1588. color: nextjs_material_kit["f" /* dangerColor */]
  1589. }
  1590. },
  1591. "&$twitter": {
  1592. "&,&:focus,&:hover,&:visited": {
  1593. color: "#55acee"
  1594. }
  1595. },
  1596. "&$facebook": {
  1597. "&,&:focus,&:hover,&:visited": {
  1598. color: "#3b5998"
  1599. }
  1600. },
  1601. "&$google": {
  1602. "&,&:focus,&:hover,&:visited": {
  1603. color: "#dd4b39"
  1604. }
  1605. },
  1606. "&$github": {
  1607. "&,&:focus,&:hover,&:visited": {
  1608. color: "#333333"
  1609. }
  1610. }
  1611. },
  1612. transparent: {
  1613. "&,&:focus,&:hover,&:visited": {
  1614. color: "inherit",
  1615. background: "transparent",
  1616. boxShadow: "none"
  1617. }
  1618. },
  1619. disabled: {
  1620. opacity: "0.65",
  1621. pointerEvents: "none"
  1622. },
  1623. lg: {
  1624. padding: "1.125rem 2.25rem",
  1625. fontSize: "0.875rem",
  1626. lineHeight: "1.333333",
  1627. borderRadius: "0.2rem"
  1628. },
  1629. sm: {
  1630. padding: "0.40625rem 1.25rem",
  1631. fontSize: "0.6875rem",
  1632. lineHeight: "1.5",
  1633. borderRadius: "0.2rem"
  1634. },
  1635. round: {
  1636. borderRadius: "30px"
  1637. },
  1638. block: {
  1639. width: "100% !important"
  1640. },
  1641. link: {
  1642. "&,&:hover,&:focus": {
  1643. backgroundColor: "transparent",
  1644. color: "#999999",
  1645. boxShadow: "none"
  1646. }
  1647. },
  1648. justIcon: {
  1649. paddingLeft: "12px",
  1650. paddingRight: "12px",
  1651. fontSize: "20px",
  1652. height: "41px",
  1653. minWidth: "41px",
  1654. width: "41px",
  1655. "& .fab,& .fas,& .far,& .fal,& svg,& .material-icons": {
  1656. marginRight: "0px"
  1657. },
  1658. "&$lg": {
  1659. height: "57px",
  1660. minWidth: "57px",
  1661. width: "57px",
  1662. lineHeight: "56px",
  1663. "& .fab,& .fas,& .far,& .fal,& .material-icons": {
  1664. fontSize: "32px",
  1665. lineHeight: "56px"
  1666. },
  1667. "& svg": {
  1668. width: "32px",
  1669. height: "32px"
  1670. }
  1671. },
  1672. "&$sm": {
  1673. height: "30px",
  1674. minWidth: "30px",
  1675. width: "30px",
  1676. "& .fab,& .fas,& .far,& .fal,& .material-icons": {
  1677. fontSize: "17px",
  1678. lineHeight: "29px"
  1679. },
  1680. "& svg": {
  1681. width: "17px",
  1682. height: "17px"
  1683. }
  1684. }
  1685. }
  1686. };
  1687. /* harmony default export */ var components_buttonStyle = (buttonStyle);
  1688. // CONCATENATED MODULE: ./components/CustomButtons/Button.js
  1689. var __jsx = external_react_default.a.createElement;
  1690. 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); }
  1691. 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; }
  1692. 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; }
  1693. 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; }
  1694. 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; }
  1695. 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; }
  1696. // nodejs library to set properties for components
  1697. // nodejs library that concatenates classes
  1698. // @material-ui/core components
  1699. // core components
  1700. const makeComponentStyles = makeStyles_default()(() => _objectSpread({}, components_buttonStyle));
  1701. const RegularButton = external_react_default.a.forwardRef((props, ref) => {
  1702. const {
  1703. color,
  1704. round,
  1705. children,
  1706. fullWidth,
  1707. disabled,
  1708. simple,
  1709. size,
  1710. block,
  1711. link,
  1712. justIcon,
  1713. className
  1714. } = props,
  1715. rest = _objectWithoutProperties(props, ["color", "round", "children", "fullWidth", "disabled", "simple", "size", "block", "link", "justIcon", "className"]);
  1716. const classes = makeComponentStyles();
  1717. const btnClasses = external_classnames_default()({
  1718. [classes.button]: true,
  1719. [classes[size]]: size,
  1720. [classes[color]]: color,
  1721. [classes.round]: round,
  1722. [classes.fullWidth]: fullWidth,
  1723. [classes.disabled]: disabled,
  1724. [classes.simple]: simple,
  1725. [classes.block]: block,
  1726. [classes.link]: link,
  1727. [classes.justIcon]: justIcon,
  1728. [className]: className
  1729. });
  1730. return __jsx(Button_default.a, _extends({}, rest, {
  1731. ref: ref,
  1732. classes: {
  1733. root: btnClasses
  1734. }
  1735. }), children);
  1736. });
  1737. /* harmony default export */ var Button = __webpack_exports__["a"] = (RegularButton);
  1738. /***/ }),
  1739. /***/ "Ms0O":
  1740. /***/ (function(module, exports) {
  1741. module.exports = require("@material-ui/core/Toolbar");
  1742. /***/ }),
  1743. /***/ "Osoz":
  1744. /***/ (function(module, exports) {
  1745. module.exports = require("next/dist/next-server/lib/router-context.js");
  1746. /***/ }),
  1747. /***/ "Q01v":
  1748. /***/ (function(module, exports) {
  1749. module.exports = require("@material-ui/core/Drawer");
  1750. /***/ }),
  1751. /***/ "QOEo":
  1752. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1753. "use strict";
  1754. // EXPORTS
  1755. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ CustomDropdown; });
  1756. // EXTERNAL MODULE: external "react"
  1757. var external_react_ = __webpack_require__("cDcd");
  1758. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  1759. // EXTERNAL MODULE: external "classnames"
  1760. var external_classnames_ = __webpack_require__("K2gz");
  1761. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  1762. // EXTERNAL MODULE: external "@material-ui/core/styles"
  1763. var styles_ = __webpack_require__("9Pu4");
  1764. // EXTERNAL MODULE: external "@material-ui/core/MenuItem"
  1765. var MenuItem_ = __webpack_require__("x54t");
  1766. var MenuItem_default = /*#__PURE__*/__webpack_require__.n(MenuItem_);
  1767. // EXTERNAL MODULE: external "@material-ui/core/MenuList"
  1768. var MenuList_ = __webpack_require__("xmQw");
  1769. var MenuList_default = /*#__PURE__*/__webpack_require__.n(MenuList_);
  1770. // EXTERNAL MODULE: external "@material-ui/core/ClickAwayListener"
  1771. var ClickAwayListener_ = __webpack_require__("31Yn");
  1772. var ClickAwayListener_default = /*#__PURE__*/__webpack_require__.n(ClickAwayListener_);
  1773. // EXTERNAL MODULE: external "@material-ui/core/Paper"
  1774. var Paper_ = __webpack_require__("qt1I");
  1775. var Paper_default = /*#__PURE__*/__webpack_require__.n(Paper_);
  1776. // EXTERNAL MODULE: external "@material-ui/core/Grow"
  1777. var Grow_ = __webpack_require__("mf1M");
  1778. var Grow_default = /*#__PURE__*/__webpack_require__.n(Grow_);
  1779. // EXTERNAL MODULE: external "@material-ui/core/Divider"
  1780. var Divider_ = __webpack_require__("nybW");
  1781. var Divider_default = /*#__PURE__*/__webpack_require__.n(Divider_);
  1782. // EXTERNAL MODULE: external "@material-ui/core/Icon"
  1783. var Icon_ = __webpack_require__("7vM9");
  1784. var Icon_default = /*#__PURE__*/__webpack_require__.n(Icon_);
  1785. // EXTERNAL MODULE: external "@material-ui/core/Popper"
  1786. var Popper_ = __webpack_require__("jD8W");
  1787. var Popper_default = /*#__PURE__*/__webpack_require__.n(Popper_);
  1788. // EXTERNAL MODULE: ./components/CustomButtons/Button.js + 1 modules
  1789. var Button = __webpack_require__("Kg+a");
  1790. // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
  1791. var nextjs_material_kit = __webpack_require__("eDSW");
  1792. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/customDropdownStyle.js
  1793. 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; }
  1794. 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; }
  1795. 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; }
  1796. const customDropdownStyle = theme => ({
  1797. popperClose: {
  1798. pointerEvents: "none"
  1799. },
  1800. pooperNav: {
  1801. [theme.breakpoints.down("sm")]: {
  1802. position: "static !important",
  1803. left: "unset !important",
  1804. top: "unset !important",
  1805. transform: "none !important",
  1806. willChange: "none !important",
  1807. "& > div": {
  1808. boxShadow: "none !important",
  1809. marginLeft: "1.5rem",
  1810. marginRight: "1.5rem",
  1811. transition: "none !important",
  1812. marginTop: "0px !important",
  1813. marginBottom: "5px !important",
  1814. padding: "0px !important"
  1815. }
  1816. }
  1817. },
  1818. dropdown: {
  1819. borderRadius: "3px",
  1820. border: "0",
  1821. boxShadow: "0 2px 5px 0 rgba(0, 0, 0, 0.26)",
  1822. top: "100%",
  1823. zIndex: "1000",
  1824. minWidth: "160px",
  1825. padding: "5px 0",
  1826. margin: "2px 0 0",
  1827. fontSize: "14px",
  1828. textAlign: "left",
  1829. listStyle: "none",
  1830. backgroundColor: "#fff",
  1831. backgroundClip: "padding-box"
  1832. },
  1833. menuList: {
  1834. padding: "0"
  1835. },
  1836. popperResponsive: {
  1837. zIndex: "1200",
  1838. position: "absolute !important",
  1839. [theme.breakpoints.down("sm")]: {
  1840. zIndex: "1640",
  1841. position: "static !important",
  1842. float: "none",
  1843. width: "auto",
  1844. marginTop: "0",
  1845. backgroundColor: "transparent",
  1846. border: "0",
  1847. boxShadow: "none",
  1848. color: "black"
  1849. }
  1850. },
  1851. dropdownItem: _objectSpread({}, nextjs_material_kit["g" /* defaultFont */], {
  1852. fontSize: "13px",
  1853. padding: "10px 20px",
  1854. margin: "0 5px",
  1855. borderRadius: "2px",
  1856. position: "relative",
  1857. transition: "all 150ms linear",
  1858. display: "block",
  1859. clear: "both",
  1860. fontWeight: "400",
  1861. height: "fit-content",
  1862. color: "#333",
  1863. whiteSpace: "nowrap",
  1864. minHeight: "unset"
  1865. }),
  1866. blackHover: {
  1867. "&:hover": {
  1868. boxShadow: "0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(33, 33, 33, 0.4)",
  1869. backgroundColor: "#212121",
  1870. color: "#fff"
  1871. }
  1872. },
  1873. primaryHover: {
  1874. "&:hover": _objectSpread({
  1875. backgroundColor: nextjs_material_kit["m" /* infoColor */],
  1876. color: "#FFFFFF"
  1877. }, nextjs_material_kit["n" /* primaryBoxShadow */])
  1878. },
  1879. infoHover: {
  1880. "&:hover": _objectSpread({
  1881. backgroundColor: nextjs_material_kit["m" /* infoColor */],
  1882. color: "#FFFFFF"
  1883. }, nextjs_material_kit["k" /* infoBoxShadow */])
  1884. },
  1885. successHover: {
  1886. "&:hover": _objectSpread({
  1887. backgroundColor: nextjs_material_kit["u" /* successColor */],
  1888. color: "#FFFFFF"
  1889. }, nextjs_material_kit["s" /* successBoxShadow */])
  1890. },
  1891. warningHover: {
  1892. "&:hover": _objectSpread({
  1893. backgroundColor: nextjs_material_kit["z" /* warningColor */],
  1894. color: "#FFFFFF"
  1895. }, nextjs_material_kit["x" /* warningBoxShadow */])
  1896. },
  1897. dangerHover: {
  1898. "&:hover": _objectSpread({
  1899. backgroundColor: nextjs_material_kit["f" /* dangerColor */],
  1900. color: "#FFFFFF"
  1901. }, nextjs_material_kit["d" /* dangerBoxShadow */])
  1902. },
  1903. roseHover: {
  1904. "&:hover": _objectSpread({
  1905. backgroundColor: nextjs_material_kit["r" /* roseColor */],
  1906. color: "#FFFFFF"
  1907. }, nextjs_material_kit["q" /* roseBoxShadow */])
  1908. },
  1909. dropdownItemRTL: {
  1910. textAlign: "right"
  1911. },
  1912. dropdownDividerItem: {
  1913. margin: "5px 0",
  1914. backgroundColor: "rgba(0, 0, 0, 0.12)",
  1915. height: "1px",
  1916. overflow: "hidden"
  1917. },
  1918. buttonIcon: {
  1919. width: "20px",
  1920. height: "20px"
  1921. },
  1922. caret: {
  1923. transition: "all 150ms ease-in",
  1924. display: "inline-block",
  1925. width: "0",
  1926. height: "0",
  1927. marginLeft: "4px",
  1928. verticalAlign: "middle",
  1929. borderTop: "4px solid",
  1930. borderRight: "4px solid transparent",
  1931. borderLeft: "4px solid transparent"
  1932. },
  1933. caretActive: {
  1934. transform: "rotate(180deg)"
  1935. },
  1936. caretRTL: {
  1937. marginRight: "4px"
  1938. },
  1939. dropdownHeader: {
  1940. display: "block",
  1941. padding: "0.1875rem 1.25rem",
  1942. fontSize: "0.75rem",
  1943. lineHeight: "1.428571",
  1944. color: "#777",
  1945. whiteSpace: "nowrap",
  1946. fontWeight: "inherit",
  1947. marginTop: "10px",
  1948. minHeight: "unset",
  1949. "&:hover,&:focus": {
  1950. backgroundColor: "transparent",
  1951. cursor: "auto"
  1952. }
  1953. },
  1954. noLiPadding: {
  1955. padding: "0"
  1956. }
  1957. });
  1958. /* harmony default export */ var components_customDropdownStyle = (customDropdownStyle);
  1959. // CONCATENATED MODULE: ./components/CustomDropdown/CustomDropdown.js
  1960. var __jsx = external_react_default.a.createElement;
  1961. 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); }
  1962. // nodejs library that concatenates classes
  1963. // nodejs library to set properties for components
  1964. // @material-ui/core components
  1965. // core components
  1966. const useStyles = Object(styles_["makeStyles"])(components_customDropdownStyle);
  1967. function CustomDropdown(props) {
  1968. const [anchorEl, setAnchorEl] = external_react_default.a.useState(null);
  1969. const handleClick = event => {
  1970. if (anchorEl && anchorEl.contains(event.target)) {
  1971. setAnchorEl(null);
  1972. } else {
  1973. setAnchorEl(event.currentTarget);
  1974. }
  1975. };
  1976. const handleClose = param => {
  1977. setAnchorEl(null);
  1978. if (props && props.onClick) {
  1979. props.onClick(param);
  1980. }
  1981. };
  1982. const handleCloseAway = event => {
  1983. if (anchorEl.contains(event.target)) {
  1984. return;
  1985. }
  1986. setAnchorEl(null);
  1987. };
  1988. const classes = useStyles();
  1989. const {
  1990. buttonText,
  1991. buttonIcon,
  1992. dropdownList,
  1993. buttonProps,
  1994. dropup,
  1995. dropdownHeader,
  1996. caret,
  1997. hoverColor,
  1998. left,
  1999. rtlActive,
  2000. noLiPadding,
  2001. navDropdown
  2002. } = props;
  2003. const caretClasses = external_classnames_default()({
  2004. [classes.caret]: true,
  2005. [classes.caretActive]: Boolean(anchorEl),
  2006. [classes.caretRTL]: rtlActive
  2007. });
  2008. const dropdownItem = external_classnames_default()({
  2009. [classes.dropdownItem]: true,
  2010. [classes[hoverColor + "Hover"]]: true,
  2011. [classes.noLiPadding]: noLiPadding,
  2012. [classes.dropdownItemRTL]: rtlActive
  2013. });
  2014. let icon = null;
  2015. switch (typeof buttonIcon) {
  2016. case "object":
  2017. icon = __jsx(props.buttonIcon, {
  2018. className: classes.buttonIcon
  2019. });
  2020. break;
  2021. case "string":
  2022. icon = __jsx(Icon_default.a, {
  2023. className: classes.buttonIcon
  2024. }, props.buttonIcon);
  2025. break;
  2026. default:
  2027. icon = null;
  2028. break;
  2029. }
  2030. return __jsx("div", null, __jsx("div", null, __jsx(Button["a" /* default */], _extends({
  2031. "aria-label": "Notifications",
  2032. "aria-owns": anchorEl ? "menu-list" : null,
  2033. "aria-haspopup": "true"
  2034. }, buttonProps, {
  2035. onClick: handleClick
  2036. }), icon, buttonText !== undefined ? buttonText : null, caret ? __jsx("b", {
  2037. className: caretClasses
  2038. }) : null)), __jsx(Popper_default.a, {
  2039. open: Boolean(anchorEl),
  2040. anchorEl: anchorEl,
  2041. transition: true,
  2042. disablePortal: true,
  2043. placement: dropup ? left ? "top-start" : "top" : left ? "bottom-start" : "bottom",
  2044. className: external_classnames_default()({
  2045. [classes.popperClose]: !anchorEl,
  2046. [classes.popperResponsive]: true,
  2047. [classes.pooperNav]: Boolean(anchorEl) && navDropdown
  2048. })
  2049. }, () => __jsx(Grow_default.a, {
  2050. in: Boolean(anchorEl),
  2051. id: "menu-list",
  2052. style: dropup ? {
  2053. transformOrigin: "0 100% 0"
  2054. } : {
  2055. transformOrigin: "0 0 0"
  2056. }
  2057. }, __jsx(Paper_default.a, {
  2058. className: classes.dropdown
  2059. }, __jsx(ClickAwayListener_default.a, {
  2060. onClickAway: handleCloseAway
  2061. }, __jsx(MenuList_default.a, {
  2062. role: "menu",
  2063. className: classes.menuList
  2064. }, dropdownHeader !== undefined ? __jsx(MenuItem_default.a, {
  2065. onClick: () => handleClose(dropdownHeader),
  2066. className: classes.dropdownHeader
  2067. }, dropdownHeader) : null, dropdownList.map((prop, key) => {
  2068. if (prop.divider) {
  2069. return __jsx(Divider_default.a, {
  2070. key: key,
  2071. onClick: () => handleClose("divider"),
  2072. className: classes.dropdownDividerItem
  2073. });
  2074. }
  2075. return __jsx(MenuItem_default.a, {
  2076. key: key,
  2077. onClick: () => handleClose(prop),
  2078. className: dropdownItem
  2079. }, prop);
  2080. })))))));
  2081. }
  2082. CustomDropdown.defaultProps = {
  2083. caret: true,
  2084. hoverColor: "primary"
  2085. };
  2086. /***/ }),
  2087. /***/ "UsYt":
  2088. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2089. "use strict";
  2090. // EXPORTS
  2091. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ CardBody; });
  2092. // EXTERNAL MODULE: external "react"
  2093. var external_react_ = __webpack_require__("cDcd");
  2094. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  2095. // EXTERNAL MODULE: external "classnames"
  2096. var external_classnames_ = __webpack_require__("K2gz");
  2097. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  2098. // EXTERNAL MODULE: external "@material-ui/core/styles"
  2099. var styles_ = __webpack_require__("9Pu4");
  2100. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/cardBodyStyle.js
  2101. const cardBodyStyle = {
  2102. cardBody: {
  2103. padding: "0.9375rem 1.875rem",
  2104. flex: "1 1 auto"
  2105. }
  2106. };
  2107. /* harmony default export */ var components_cardBodyStyle = (cardBodyStyle);
  2108. // CONCATENATED MODULE: ./components/Card/CardBody.js
  2109. var __jsx = external_react_default.a.createElement;
  2110. 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); }
  2111. 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; }
  2112. 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; }
  2113. // nodejs library that concatenates classes
  2114. // nodejs library to set properties for components
  2115. // @material-ui/core components
  2116. // @material-ui/icons
  2117. // core components
  2118. const useStyles = Object(styles_["makeStyles"])(components_cardBodyStyle);
  2119. function CardBody(props) {
  2120. const classes = useStyles();
  2121. const {
  2122. className,
  2123. children
  2124. } = props,
  2125. rest = _objectWithoutProperties(props, ["className", "children"]);
  2126. const cardBodyClasses = external_classnames_default()({
  2127. [classes.cardBody]: true,
  2128. [className]: className !== undefined
  2129. });
  2130. return __jsx("div", _extends({
  2131. className: cardBodyClasses
  2132. }, rest), children);
  2133. }
  2134. /***/ }),
  2135. /***/ "Wh1t":
  2136. /***/ (function(module, exports) {
  2137. module.exports = require("@material-ui/core/Button");
  2138. /***/ }),
  2139. /***/ "Y8uC":
  2140. /***/ (function(module, exports) {
  2141. module.exports = require("@material-ui/core/Hidden");
  2142. /***/ }),
  2143. /***/ "YFqc":
  2144. /***/ (function(module, exports, __webpack_require__) {
  2145. module.exports = __webpack_require__("cTJO")
  2146. /***/ }),
  2147. /***/ "YTqd":
  2148. /***/ (function(module, exports, __webpack_require__) {
  2149. "use strict";
  2150. Object.defineProperty(exports, "__esModule", {
  2151. value: true
  2152. }); // this isn't importing the escape-string-regex module
  2153. // to reduce bytes
  2154. function escapeRegex(str) {
  2155. return str.replace(/[|\\{}()[\]^$+*?.-]/g, '\\$&');
  2156. }
  2157. function getRouteRegex(normalizedRoute) {
  2158. // Escape all characters that could be considered RegEx
  2159. const escapedRoute = escapeRegex(normalizedRoute.replace(/\/$/, '') || '/');
  2160. const groups = {};
  2161. let groupIndex = 1;
  2162. const parameterizedRoute = escapedRoute.replace(/\/\\\[([^/]+?)\\\](?=\/|$)/g, (_, $1) => {
  2163. const isCatchAll = /^(\\\.){3}/.test($1);
  2164. groups[$1 // Un-escape key
  2165. .replace(/\\([|\\{}()[\]^$+*?.-])/g, '$1').replace(/^\.{3}/, '') // eslint-disable-next-line no-sequences
  2166. ] = {
  2167. pos: groupIndex++,
  2168. repeat: isCatchAll
  2169. };
  2170. return isCatchAll ? '/(.+?)' : '/([^/]+?)';
  2171. });
  2172. let namedParameterizedRoute; // dead code eliminate for browser since it's only needed
  2173. // while generating routes-manifest
  2174. if (true) {
  2175. namedParameterizedRoute = escapedRoute.replace(/\/\\\[([^/]+?)\\\](?=\/|$)/g, (_, $1) => {
  2176. const isCatchAll = /^(\\\.){3}/.test($1);
  2177. const key = $1 // Un-escape key
  2178. .replace(/\\([|\\{}()[\]^$+*?.-])/g, '$1').replace(/^\.{3}/, '');
  2179. return isCatchAll ? `/(?<${escapeRegex(key)}>.+?)` : `/(?<${escapeRegex(key)}>[^/]+?)`;
  2180. });
  2181. }
  2182. return Object.assign({
  2183. re: new RegExp('^' + parameterizedRoute + '(?:/)?$', 'i'),
  2184. groups
  2185. }, namedParameterizedRoute ? {
  2186. namedRegex: `^${namedParameterizedRoute}(?:/)?$`
  2187. } : {});
  2188. }
  2189. exports.getRouteRegex = getRouteRegex;
  2190. /***/ }),
  2191. /***/ "Z2Lm":
  2192. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2193. "use strict";
  2194. // EXPORTS
  2195. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ Parallax; });
  2196. // EXTERNAL MODULE: external "react"
  2197. var external_react_ = __webpack_require__("cDcd");
  2198. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  2199. // EXTERNAL MODULE: external "classnames"
  2200. var external_classnames_ = __webpack_require__("K2gz");
  2201. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  2202. // EXTERNAL MODULE: external "@material-ui/core/styles"
  2203. var styles_ = __webpack_require__("9Pu4");
  2204. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/parallaxStyle.js
  2205. const parallaxStyle = theme => ({
  2206. parallax: {
  2207. height: "90vh",
  2208. maxHeight: "1000px",
  2209. overflow: "hidden",
  2210. position: "relative",
  2211. backgroundPosition: "center top",
  2212. backgroundSize: "cover",
  2213. margin: "0",
  2214. padding: "0",
  2215. border: "0",
  2216. display: "flex",
  2217. alignItems: "center"
  2218. },
  2219. filter: {
  2220. "&:before": {
  2221. background: "#212121"
  2222. },
  2223. "&:after,&:before": {
  2224. position: "absolute",
  2225. zIndex: "1",
  2226. width: "100%",
  2227. height: "100%",
  2228. display: "block",
  2229. left: "0",
  2230. top: "0",
  2231. content: "''"
  2232. }
  2233. },
  2234. small: {
  2235. height: "380px"
  2236. },
  2237. parallaxResponsive: {
  2238. [theme.breakpoints.down("md")]: {
  2239. minHeight: "660px"
  2240. }
  2241. }
  2242. });
  2243. /* harmony default export */ var components_parallaxStyle = (parallaxStyle);
  2244. // CONCATENATED MODULE: ./components/Parallax/Parallax.js
  2245. var __jsx = external_react_default.a.createElement;
  2246. 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; }
  2247. 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; }
  2248. 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; }
  2249. // nodejs library that concatenates classes
  2250. // nodejs library to set properties for components
  2251. // @material-ui/core components
  2252. // core components
  2253. const useStyles = Object(styles_["makeStyles"])(components_parallaxStyle);
  2254. function Parallax(props) {
  2255. let windowScrollTop; // if (window.innerWidth >= 768) {
  2256. // windowScrollTop = window.pageYOffset / 3;
  2257. // } else {
  2258. // windowScrollTop = 0;
  2259. // }
  2260. const [transform, setTransform] = external_react_default.a.useState("translate3d(0,0px,0)");
  2261. external_react_default.a.useEffect(() => {
  2262. if (window.innerWidth >= 768) {
  2263. window.addEventListener("scroll", resetTransform);
  2264. }
  2265. return function cleanup() {
  2266. if (window.innerWidth >= 768) {
  2267. window.removeEventListener("scroll", resetTransform);
  2268. }
  2269. };
  2270. });
  2271. const resetTransform = () => {
  2272. var windowScrollTop = window.pageYOffset / 3;
  2273. setTransform("translate3d(0," + windowScrollTop + "px,0)");
  2274. };
  2275. const {
  2276. filter,
  2277. className,
  2278. children,
  2279. style,
  2280. image,
  2281. small,
  2282. responsive
  2283. } = props;
  2284. const classes = useStyles();
  2285. const parallaxClasses = external_classnames_default()({
  2286. [classes.parallax]: true,
  2287. [classes.filter]: filter,
  2288. [classes.small]: small,
  2289. [classes.parallaxResponsive]: responsive,
  2290. [className]: className !== undefined
  2291. });
  2292. return __jsx("div", {
  2293. className: parallaxClasses,
  2294. style: _objectSpread({}, style, {
  2295. backgroundImage: "url(" + image + ")",
  2296. transform: transform
  2297. })
  2298. }, children);
  2299. }
  2300. /***/ }),
  2301. /***/ "bhG4":
  2302. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2303. "use strict";
  2304. /* harmony import */ var _jss_nextjs_material_kit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("eDSW");
  2305. const componentsStyle = {
  2306. container: _jss_nextjs_material_kit__WEBPACK_IMPORTED_MODULE_0__[/* container */ "c"],
  2307. brand: {
  2308. color: "#FFFFFF",
  2309. textAlign: "left"
  2310. },
  2311. title: {
  2312. fontSize: "4.2rem",
  2313. fontWeight: "600",
  2314. display: "inline-block",
  2315. position: "relative"
  2316. },
  2317. subtitle: {
  2318. fontSize: "1.313rem",
  2319. maxWidth: "510px",
  2320. margin: "10px 0 0"
  2321. },
  2322. main: {
  2323. background: "#FFFFFF",
  2324. position: "relative",
  2325. zIndex: "3"
  2326. },
  2327. mainRaised: {
  2328. margin: "-60px 30px 0px",
  2329. borderRadius: "6px",
  2330. 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)",
  2331. "@media (max-width: 830px)": {
  2332. marginLeft: "10px",
  2333. marginRight: "10px"
  2334. }
  2335. },
  2336. link: {
  2337. textDecoration: "none"
  2338. },
  2339. textCenter: {
  2340. textAlign: "center"
  2341. }
  2342. };
  2343. /* harmony default export */ __webpack_exports__["a"] = (componentsStyle);
  2344. /***/ }),
  2345. /***/ "bzos":
  2346. /***/ (function(module, exports) {
  2347. module.exports = require("url");
  2348. /***/ }),
  2349. /***/ "c25J":
  2350. /***/ (function(module, exports) {
  2351. module.exports = require("@material-ui/core/ListItem");
  2352. /***/ }),
  2353. /***/ "cDcd":
  2354. /***/ (function(module, exports) {
  2355. module.exports = require("react");
  2356. /***/ }),
  2357. /***/ "cTJO":
  2358. /***/ (function(module, exports, __webpack_require__) {
  2359. "use strict";
  2360. var _interopRequireDefault = __webpack_require__("AroE");
  2361. var _interopRequireWildcard = __webpack_require__("7KCV");
  2362. exports.__esModule = true;
  2363. exports.default = void 0;
  2364. var _react = _interopRequireWildcard(__webpack_require__("cDcd"));
  2365. var _url = __webpack_require__("bzos");
  2366. var _utils = __webpack_require__("kYf9");
  2367. var _router = _interopRequireDefault(__webpack_require__("nOHt"));
  2368. var _router2 = __webpack_require__("elyg");
  2369. function isLocal(href) {
  2370. var url = (0, _url.parse)(href, false, true);
  2371. var origin = (0, _url.parse)((0, _utils.getLocationOrigin)(), false, true);
  2372. return !url.host || url.protocol === origin.protocol && url.host === origin.host;
  2373. }
  2374. function memoizedFormatUrl(formatFunc) {
  2375. var lastHref = null;
  2376. var lastAs = null;
  2377. var lastResult = null;
  2378. return (href, as) => {
  2379. if (lastResult && href === lastHref && as === lastAs) {
  2380. return lastResult;
  2381. }
  2382. var result = formatFunc(href, as);
  2383. lastHref = href;
  2384. lastAs = as;
  2385. lastResult = result;
  2386. return result;
  2387. };
  2388. }
  2389. function formatUrl(url) {
  2390. return url && typeof url === 'object' ? (0, _utils.formatWithValidation)(url) : url;
  2391. }
  2392. var observer;
  2393. var listeners = new Map();
  2394. var IntersectionObserver = false ? undefined : null;
  2395. var prefetched = {};
  2396. function getObserver() {
  2397. // Return shared instance of IntersectionObserver if already created
  2398. if (observer) {
  2399. return observer;
  2400. } // Only create shared IntersectionObserver if supported in browser
  2401. if (!IntersectionObserver) {
  2402. return undefined;
  2403. }
  2404. return observer = new IntersectionObserver(entries => {
  2405. entries.forEach(entry => {
  2406. if (!listeners.has(entry.target)) {
  2407. return;
  2408. }
  2409. var cb = listeners.get(entry.target);
  2410. if (entry.isIntersecting || entry.intersectionRatio > 0) {
  2411. observer.unobserve(entry.target);
  2412. listeners.delete(entry.target);
  2413. cb();
  2414. }
  2415. });
  2416. }, {
  2417. rootMargin: '200px'
  2418. });
  2419. }
  2420. var listenToIntersections = (el, cb) => {
  2421. var observer = getObserver();
  2422. if (!observer) {
  2423. return () => {};
  2424. }
  2425. observer.observe(el);
  2426. listeners.set(el, cb);
  2427. return () => {
  2428. try {
  2429. observer.unobserve(el);
  2430. } catch (err) {
  2431. console.error(err);
  2432. }
  2433. listeners.delete(el);
  2434. };
  2435. };
  2436. class Link extends _react.Component {
  2437. constructor(props) {
  2438. super(props);
  2439. this.p = void 0;
  2440. this.cleanUpListeners = () => {};
  2441. this.formatUrls = memoizedFormatUrl((href, asHref) => {
  2442. return {
  2443. href: (0, _router2.addBasePath)(formatUrl(href)),
  2444. as: asHref ? (0, _router2.addBasePath)(formatUrl(asHref)) : asHref
  2445. };
  2446. });
  2447. this.linkClicked = e => {
  2448. var {
  2449. nodeName,
  2450. target
  2451. } = e.currentTarget;
  2452. if (nodeName === 'A' && (target && target !== '_self' || e.metaKey || e.ctrlKey || e.shiftKey || e.nativeEvent && e.nativeEvent.which === 2)) {
  2453. // ignore click for new tab / new window behavior
  2454. return;
  2455. }
  2456. var {
  2457. href,
  2458. as
  2459. } = this.formatUrls(this.props.href, this.props.as);
  2460. if (!isLocal(href)) {
  2461. // ignore click if it's outside our scope (e.g. https://google.com)
  2462. return;
  2463. }
  2464. var {
  2465. pathname
  2466. } = window.location;
  2467. href = (0, _url.resolve)(pathname, href);
  2468. as = as ? (0, _url.resolve)(pathname, as) : href;
  2469. e.preventDefault(); // avoid scroll for urls with anchor refs
  2470. var {
  2471. scroll
  2472. } = this.props;
  2473. if (scroll == null) {
  2474. scroll = as.indexOf('#') < 0;
  2475. } // replace state instead of push if prop is present
  2476. _router.default[this.props.replace ? 'replace' : 'push'](href, as, {
  2477. shallow: this.props.shallow
  2478. }).then(success => {
  2479. if (!success) return;
  2480. if (scroll) {
  2481. window.scrollTo(0, 0);
  2482. document.body.focus();
  2483. }
  2484. });
  2485. };
  2486. if (false) {}
  2487. this.p = props.prefetch !== false;
  2488. }
  2489. componentWillUnmount() {
  2490. this.cleanUpListeners();
  2491. }
  2492. getPaths() {
  2493. var {
  2494. pathname
  2495. } = window.location;
  2496. var {
  2497. href: parsedHref,
  2498. as: parsedAs
  2499. } = this.formatUrls(this.props.href, this.props.as);
  2500. var resolvedHref = (0, _url.resolve)(pathname, parsedHref);
  2501. return [resolvedHref, parsedAs ? (0, _url.resolve)(pathname, parsedAs) : resolvedHref];
  2502. }
  2503. handleRef(ref) {
  2504. if (this.p && IntersectionObserver && ref && ref.tagName) {
  2505. this.cleanUpListeners();
  2506. var isPrefetched = prefetched[this.getPaths().join( // Join on an invalid URI character
  2507. '%')];
  2508. if (!isPrefetched) {
  2509. this.cleanUpListeners = listenToIntersections(ref, () => {
  2510. this.prefetch();
  2511. });
  2512. }
  2513. }
  2514. } // The function is memoized so that no extra lifecycles are needed
  2515. // as per https://reactjs.org/blog/2018/06/07/you-probably-dont-need-derived-state.html
  2516. prefetch(options) {
  2517. if (!this.p || true) return; // Prefetch the JSON page if asked (only in the client)
  2518. var paths = this.getPaths(); // We need to handle a prefetch error here since we may be
  2519. // loading with priority which can reject but we don't
  2520. // want to force navigation since this is only a prefetch
  2521. _router.default.prefetch(paths[
  2522. /* href */
  2523. 0], paths[
  2524. /* asPath */
  2525. 1], options).catch(err => {
  2526. if (false) {}
  2527. });
  2528. prefetched[paths.join( // Join on an invalid URI character
  2529. '%')] = true;
  2530. }
  2531. render() {
  2532. var {
  2533. children
  2534. } = this.props;
  2535. var {
  2536. href,
  2537. as
  2538. } = 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
  2539. if (typeof children === 'string') {
  2540. children = _react.default.createElement("a", null, children);
  2541. } // This will return the first child, if multiple are provided it will throw an error
  2542. var child = _react.Children.only(children);
  2543. var props = {
  2544. ref: el => {
  2545. this.handleRef(el);
  2546. if (child && typeof child === 'object' && child.ref) {
  2547. if (typeof child.ref === 'function') child.ref(el);else if (typeof child.ref === 'object') {
  2548. child.ref.current = el;
  2549. }
  2550. }
  2551. },
  2552. onMouseEnter: e => {
  2553. if (child.props && typeof child.props.onMouseEnter === 'function') {
  2554. child.props.onMouseEnter(e);
  2555. }
  2556. this.prefetch({
  2557. priority: true
  2558. });
  2559. },
  2560. onClick: e => {
  2561. if (child.props && typeof child.props.onClick === 'function') {
  2562. child.props.onClick(e);
  2563. }
  2564. if (!e.defaultPrevented) {
  2565. this.linkClicked(e);
  2566. }
  2567. }
  2568. }; // If child is an <a> tag and doesn't have a href attribute, or if the 'passHref' property is
  2569. // defined, we specify the current 'href', so that repetition is not needed by the user
  2570. if (this.props.passHref || child.type === 'a' && !('href' in child.props)) {
  2571. props.href = as || href;
  2572. } // Add the ending slash to the paths. So, we can serve the
  2573. // "<page>/index.html" directly.
  2574. if (false) { var rewriteUrlForNextExport; }
  2575. return _react.default.cloneElement(child, props);
  2576. }
  2577. }
  2578. if (false) { var exact, PropTypes, warn; }
  2579. var _default = Link;
  2580. exports.default = _default;
  2581. /***/ }),
  2582. /***/ "dZ6Y":
  2583. /***/ (function(module, exports, __webpack_require__) {
  2584. "use strict";
  2585. /*
  2586. MIT License
  2587. Copyright (c) Jason Miller (https://jasonformat.com/)
  2588. 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:
  2589. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  2590. 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.
  2591. */
  2592. Object.defineProperty(exports, "__esModule", {
  2593. value: true
  2594. });
  2595. function mitt() {
  2596. const all = Object.create(null);
  2597. return {
  2598. on(type, handler) {
  2599. ;
  2600. (all[type] || (all[type] = [])).push(handler);
  2601. },
  2602. off(type, handler) {
  2603. if (all[type]) {
  2604. // tslint:disable-next-line:no-bitwise
  2605. all[type].splice(all[type].indexOf(handler) >>> 0, 1);
  2606. }
  2607. },
  2608. emit(type, ...evts) {
  2609. // eslint-disable-next-line array-callback-return
  2610. ;
  2611. (all[type] || []).slice().map(handler => {
  2612. handler(...evts);
  2613. });
  2614. }
  2615. };
  2616. }
  2617. exports.default = mitt;
  2618. /***/ }),
  2619. /***/ "eDSW":
  2620. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2621. "use strict";
  2622. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return hexToRGBAlpha; });
  2623. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return drawerWidth; });
  2624. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return transition; });
  2625. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return container; });
  2626. /* unused harmony export conatinerFluid */
  2627. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return boxShadow; });
  2628. /* unused harmony export card */
  2629. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return defaultFont; });
  2630. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return primaryColor; });
  2631. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return warningColor; });
  2632. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return dangerColor; });
  2633. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return successColor; });
  2634. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return infoColor; });
  2635. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return roseColor; });
  2636. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return grayColor; });
  2637. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return primaryBoxShadow; });
  2638. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return infoBoxShadow; });
  2639. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return successBoxShadow; });
  2640. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return warningBoxShadow; });
  2641. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return dangerBoxShadow; });
  2642. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return roseBoxShadow; });
  2643. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return warningCardHeader; });
  2644. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return successCardHeader; });
  2645. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return dangerCardHeader; });
  2646. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return infoCardHeader; });
  2647. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return primaryCardHeader; });
  2648. /* unused harmony export roseCardHeader */
  2649. /* unused harmony export cardActions */
  2650. /* unused harmony export cardHeader */
  2651. /* unused harmony export defaultBoxShadow */
  2652. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return title; });
  2653. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return cardTitle; });
  2654. /* unused harmony export cardLink */
  2655. /* unused harmony export cardSubtitle */
  2656. 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; }
  2657. 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; }
  2658. 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; }
  2659. const hexColorToRGB = function (hexColor) {
  2660. let detectShorthand = /^#?([a-f\d])([a-f\d])([a-f\d])$/i; // #000 vs #000000
  2661. hexColor = hexColor.replace(detectShorthand, function (m, r, g, b) {
  2662. return r + r + g + g + b + b;
  2663. });
  2664. const hex_array = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hexColor); // #000000 to #ffffff
  2665. return hex_array ? {
  2666. r: parseInt(hex_array[1], 16),
  2667. // 0-255
  2668. g: parseInt(hex_array[2], 16),
  2669. // 0-255
  2670. b: parseInt(hex_array[3], 16) // 0-255
  2671. } : null;
  2672. };
  2673. const hexToRGBAlpha = function (hexColor, alpha) {
  2674. let rgb = hexColorToRGB(hexColor);
  2675. return `rgba(${rgb.r},${rgb.g},${rgb.b},${alpha})`;
  2676. };
  2677. const drawerWidth = 260;
  2678. const transition = {
  2679. transition: "all 0.33s cubic-bezier(0.685, 0.0473, 0.346, 1)"
  2680. };
  2681. const conatinerFluid = {
  2682. paddingRight: "15px",
  2683. paddingLeft: "15px",
  2684. marginRight: "auto",
  2685. marginLeft: "auto",
  2686. width: "100%"
  2687. };
  2688. const container = _objectSpread({}, conatinerFluid, {
  2689. "@media (min-width: 576px)": {
  2690. maxWidth: "540px"
  2691. },
  2692. "@media (min-width: 768px)": {
  2693. maxWidth: "720px"
  2694. },
  2695. "@media (min-width: 992px)": {
  2696. maxWidth: "960px"
  2697. },
  2698. "@media (min-width: 1200px)": {
  2699. maxWidth: "1140px"
  2700. }
  2701. });
  2702. const boxShadow = {
  2703. 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)"
  2704. };
  2705. const card = {
  2706. display: "inline-block",
  2707. position: "relative",
  2708. width: "100%",
  2709. margin: "25px 0",
  2710. boxShadow: "0 1px 4px 0 rgba(0, 0, 0, 0.14)",
  2711. borderRadius: "3px",
  2712. color: "rgba(0, 0, 0, 0.87)",
  2713. background: "#fff"
  2714. };
  2715. const defaultFont = {
  2716. fontFamily: '"Roboto", "Helvetica", "Arial", sans-serif',
  2717. fontWeight: "300",
  2718. lineHeight: "1.5em"
  2719. };
  2720. const primaryColor = "#212121";
  2721. const warningColor = "#ff9800";
  2722. const dangerColor = "#f44336";
  2723. const successColor = "#4caf50";
  2724. const infoColor = "#212121";
  2725. const roseColor = "#e91e63";
  2726. const grayColor = "#ffffff";
  2727. const primaryBoxShadow = {
  2728. 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)}`
  2729. };
  2730. const infoBoxShadow = {
  2731. 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)}`
  2732. };
  2733. const successBoxShadow = {
  2734. 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)}`
  2735. };
  2736. const warningBoxShadow = {
  2737. 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)}`
  2738. };
  2739. const dangerBoxShadow = {
  2740. 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)}`
  2741. };
  2742. const roseBoxShadow = {
  2743. boxShadow: `0 4px 20px 0px ${hexToRGBAlpha("#000", 0.14)}, 0 7px 10px -5px ${hexToRGBAlpha(roseColor, 0.4)}`
  2744. };
  2745. const warningCardHeader = _objectSpread({
  2746. color: "#fff",
  2747. background: "linear-gradient(60deg, #ffa726, #fb8c00)"
  2748. }, warningBoxShadow);
  2749. const successCardHeader = _objectSpread({
  2750. color: "#fff",
  2751. background: "linear-gradient(60deg, #66bb6a, #43a047)"
  2752. }, successBoxShadow);
  2753. const dangerCardHeader = _objectSpread({
  2754. color: "#fff",
  2755. background: "linear-gradient(60deg, #ef5350, #e53935)"
  2756. }, dangerBoxShadow);
  2757. const infoCardHeader = _objectSpread({
  2758. color: "#fff",
  2759. background: "#212121"
  2760. }, infoBoxShadow);
  2761. const primaryCardHeader = _objectSpread({
  2762. color: "#fff",
  2763. background: "linear-gradient(60deg, #ab47bc, #8e24aa)"
  2764. }, primaryBoxShadow);
  2765. const roseCardHeader = _objectSpread({
  2766. color: "#fff",
  2767. background: "linear-gradient(60deg, #ec407a, #d81b60)"
  2768. }, roseBoxShadow);
  2769. const cardActions = _objectSpread({
  2770. margin: "0 20px 10px",
  2771. paddingTop: "10px",
  2772. borderTop: "1px solid #eeeeee",
  2773. height: "auto"
  2774. }, defaultFont);
  2775. const cardHeader = {
  2776. margin: "-30px 15px 0",
  2777. borderRadius: "3px",
  2778. padding: "15px"
  2779. };
  2780. const defaultBoxShadow = {
  2781. border: "0",
  2782. borderRadius: "3px",
  2783. 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)",
  2784. padding: "10px 0",
  2785. transition: "all 150ms ease 0s"
  2786. };
  2787. const title = {
  2788. color: "#ffffff",
  2789. margin: "1.75rem 0 0.875rem",
  2790. textDecoration: "none",
  2791. fontWeight: "700",
  2792. fontFamily: `"Roboto Slab", "Times New Roman", serif`
  2793. };
  2794. const cardTitle = _objectSpread({}, title, {
  2795. marginTop: ".625rem"
  2796. });
  2797. const cardLink = {
  2798. "& + $cardLink": {
  2799. marginLeft: "1.25rem"
  2800. }
  2801. };
  2802. const cardSubtitle = {
  2803. marginBottom: "0",
  2804. marginTop: "-.375rem"
  2805. };
  2806. /***/ }),
  2807. /***/ "elyg":
  2808. /***/ (function(module, exports, __webpack_require__) {
  2809. "use strict";
  2810. var __importDefault = this && this.__importDefault || function (mod) {
  2811. return mod && mod.__esModule ? mod : {
  2812. "default": mod
  2813. };
  2814. };
  2815. Object.defineProperty(exports, "__esModule", {
  2816. value: true
  2817. });
  2818. const url_1 = __webpack_require__("bzos");
  2819. const mitt_1 = __importDefault(__webpack_require__("dZ6Y"));
  2820. const utils_1 = __webpack_require__("g/15");
  2821. const is_dynamic_1 = __webpack_require__("/jkW");
  2822. const route_matcher_1 = __webpack_require__("gguc");
  2823. const route_regex_1 = __webpack_require__("YTqd");
  2824. const basePath = false || '';
  2825. function addBasePath(path) {
  2826. return path.indexOf(basePath) !== 0 ? basePath + path : path;
  2827. }
  2828. exports.addBasePath = addBasePath;
  2829. function delBasePath(path) {
  2830. return path.indexOf(basePath) === 0 ? path.substr(basePath.length) || '/' : path;
  2831. }
  2832. exports.delBasePath = delBasePath;
  2833. function toRoute(path) {
  2834. return path.replace(/\/$/, '') || '/';
  2835. }
  2836. const prepareRoute = path => toRoute(!path || path === '/' ? '/index' : path);
  2837. function fetchNextData(pathname, query, isServerRender, cb) {
  2838. let attempts = isServerRender ? 3 : 1;
  2839. function getResponse() {
  2840. return fetch(utils_1.formatWithValidation({
  2841. pathname: addBasePath( // @ts-ignore __NEXT_DATA__
  2842. `/_next/data/${__NEXT_DATA__.buildId}${delBasePath(pathname)}.json`),
  2843. query
  2844. }), {
  2845. // Cookies are required to be present for Next.js' SSG "Preview Mode".
  2846. // Cookies may also be required for `getServerSideProps`.
  2847. //
  2848. // > `fetch` won’t send cookies, unless you set the credentials init
  2849. // > option.
  2850. // https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch
  2851. //
  2852. // > For maximum browser compatibility when it comes to sending &
  2853. // > receiving cookies, always supply the `credentials: 'same-origin'`
  2854. // > option instead of relying on the default.
  2855. // https://github.com/github/fetch#caveats
  2856. credentials: 'same-origin'
  2857. }).then(res => {
  2858. if (!res.ok) {
  2859. if (--attempts > 0 && res.status >= 500) {
  2860. return getResponse();
  2861. }
  2862. throw new Error(`Failed to load static props`);
  2863. }
  2864. return res.json();
  2865. });
  2866. }
  2867. return getResponse().then(data => {
  2868. return cb ? cb(data) : data;
  2869. }).catch(err => {
  2870. // We should only trigger a server-side transition if this was caused
  2871. // on a client-side transition. Otherwise, we'd get into an infinite
  2872. // loop.
  2873. if (!isServerRender) {
  2874. ;
  2875. err.code = 'PAGE_LOAD_ERROR';
  2876. }
  2877. throw err;
  2878. });
  2879. }
  2880. class Router {
  2881. constructor(pathname, query, as, {
  2882. initialProps,
  2883. pageLoader,
  2884. App,
  2885. wrapApp,
  2886. Component,
  2887. err,
  2888. subscription,
  2889. isFallback
  2890. }) {
  2891. // Static Data Cache
  2892. this.sdc = {};
  2893. this.onPopState = e => {
  2894. if (!e.state) {
  2895. // We get state as undefined for two reasons.
  2896. // 1. With older safari (< 8) and older chrome (< 34)
  2897. // 2. When the URL changed with #
  2898. //
  2899. // In the both cases, we don't need to proceed and change the route.
  2900. // (as it's already changed)
  2901. // But we can simply replace the state with the new changes.
  2902. // Actually, for (1) we don't need to nothing. But it's hard to detect that event.
  2903. // So, doing the following for (1) does no harm.
  2904. const {
  2905. pathname,
  2906. query
  2907. } = this;
  2908. this.changeState('replaceState', utils_1.formatWithValidation({
  2909. pathname,
  2910. query
  2911. }), utils_1.getURL());
  2912. return;
  2913. } // Make sure we don't re-render on initial load,
  2914. // can be caused by navigating back from an external site
  2915. if (e.state && this.isSsr && e.state.as === this.asPath && url_1.parse(e.state.url).pathname === this.pathname) {
  2916. return;
  2917. } // If the downstream application returns falsy, return.
  2918. // They will then be responsible for handling the event.
  2919. if (this._bps && !this._bps(e.state)) {
  2920. return;
  2921. }
  2922. const {
  2923. url,
  2924. as,
  2925. options
  2926. } = e.state;
  2927. if (false) {}
  2928. this.replace(url, as, options);
  2929. };
  2930. this._getStaticData = asPath => {
  2931. const pathname = prepareRoute(url_1.parse(asPath).pathname);
  2932. return true && this.sdc[pathname] ? Promise.resolve(this.sdc[pathname]) : fetchNextData(pathname, null, this.isSsr, data => this.sdc[pathname] = data);
  2933. };
  2934. this._getServerData = asPath => {
  2935. let {
  2936. pathname,
  2937. query
  2938. } = url_1.parse(asPath, true);
  2939. pathname = prepareRoute(pathname);
  2940. return fetchNextData(pathname, query, this.isSsr);
  2941. }; // represents the current component key
  2942. this.route = toRoute(pathname); // set up the component cache (by route keys)
  2943. this.components = {}; // We should not keep the cache, if there's an error
  2944. // Otherwise, this cause issues when when going back and
  2945. // come again to the errored page.
  2946. if (pathname !== '/_error') {
  2947. this.components[this.route] = {
  2948. Component,
  2949. props: initialProps,
  2950. err,
  2951. __N_SSG: initialProps && initialProps.__N_SSG,
  2952. __N_SSP: initialProps && initialProps.__N_SSP
  2953. };
  2954. }
  2955. this.components['/_app'] = {
  2956. Component: App
  2957. }; // Backwards compat for Router.router.events
  2958. // TODO: Should be remove the following major version as it was never documented
  2959. this.events = Router.events;
  2960. this.pageLoader = pageLoader;
  2961. this.pathname = pathname;
  2962. this.query = query; // if auto prerendered and dynamic route wait to update asPath
  2963. // until after mount to prevent hydration mismatch
  2964. this.asPath = // @ts-ignore this is temporarily global (attached to window)
  2965. is_dynamic_1.isDynamicRoute(pathname) && __NEXT_DATA__.autoExport ? pathname : as;
  2966. this.basePath = basePath;
  2967. this.sub = subscription;
  2968. this.clc = null;
  2969. this._wrapApp = wrapApp; // make sure to ignore extra popState in safari on navigating
  2970. // back from external site
  2971. this.isSsr = true;
  2972. this.isFallback = isFallback;
  2973. if (false) {}
  2974. } // @deprecated backwards compatibility even though it's a private method.
  2975. static _rewriteUrlForNextExport(url) {
  2976. if (false) {} else {
  2977. return url;
  2978. }
  2979. }
  2980. update(route, mod) {
  2981. const Component = mod.default || mod;
  2982. const data = this.components[route];
  2983. if (!data) {
  2984. throw new Error(`Cannot update unavailable route: ${route}`);
  2985. }
  2986. const newData = Object.assign(Object.assign({}, data), {
  2987. Component,
  2988. __N_SSG: mod.__N_SSG,
  2989. __N_SSP: mod.__N_SSP
  2990. });
  2991. this.components[route] = newData; // pages/_app.js updated
  2992. if (route === '/_app') {
  2993. this.notify(this.components[this.route]);
  2994. return;
  2995. }
  2996. if (route === this.route) {
  2997. this.notify(newData);
  2998. }
  2999. }
  3000. reload() {
  3001. window.location.reload();
  3002. }
  3003. /**
  3004. * Go back in history
  3005. */
  3006. back() {
  3007. window.history.back();
  3008. }
  3009. /**
  3010. * Performs a `pushState` with arguments
  3011. * @param url of the route
  3012. * @param as masks `url` for the browser
  3013. * @param options object you can define `shallow` and other options
  3014. */
  3015. push(url, as = url, options = {}) {
  3016. return this.change('pushState', url, as, options);
  3017. }
  3018. /**
  3019. * Performs a `replaceState` with arguments
  3020. * @param url of the route
  3021. * @param as masks `url` for the browser
  3022. * @param options object you can define `shallow` and other options
  3023. */
  3024. replace(url, as = url, options = {}) {
  3025. return this.change('replaceState', url, as, options);
  3026. }
  3027. change(method, _url, _as, options) {
  3028. return new Promise((resolve, reject) => {
  3029. if (!options._h) {
  3030. this.isSsr = false;
  3031. } // marking route changes as a navigation start entry
  3032. if (utils_1.ST) {
  3033. performance.mark('routeChange');
  3034. } // If url and as provided as an object representation,
  3035. // we'll format them into the string version here.
  3036. let url = typeof _url === 'object' ? utils_1.formatWithValidation(_url) : _url;
  3037. let as = typeof _as === 'object' ? utils_1.formatWithValidation(_as) : _as;
  3038. url = addBasePath(url);
  3039. as = addBasePath(as); // Add the ending slash to the paths. So, we can serve the
  3040. // "<page>/index.html" directly for the SSR page.
  3041. if (false) {}
  3042. this.abortComponentLoad(as); // If the url change is only related to a hash change
  3043. // We should not proceed. We should only change the state.
  3044. // WARNING: `_h` is an internal option for handing Next.js client-side
  3045. // hydration. Your app should _never_ use this property. It may change at
  3046. // any time without notice.
  3047. if (!options._h && this.onlyAHashChange(as)) {
  3048. this.asPath = as;
  3049. Router.events.emit('hashChangeStart', as);
  3050. this.changeState(method, url, as, options);
  3051. this.scrollToHash(as);
  3052. Router.events.emit('hashChangeComplete', as);
  3053. return resolve(true);
  3054. }
  3055. const {
  3056. pathname,
  3057. query,
  3058. protocol
  3059. } = url_1.parse(url, true);
  3060. if (!pathname || protocol) {
  3061. if (false) {}
  3062. return resolve(false);
  3063. } // If asked to change the current URL we should reload the current page
  3064. // (not location.reload() but reload getInitialProps and other Next.js stuffs)
  3065. // We also need to set the method = replaceState always
  3066. // as this should not go into the history (That's how browsers work)
  3067. // We should compare the new asPath to the current asPath, not the url
  3068. if (!this.urlIsNew(as)) {
  3069. method = 'replaceState';
  3070. }
  3071. const route = toRoute(pathname);
  3072. const {
  3073. shallow = false
  3074. } = options;
  3075. if (is_dynamic_1.isDynamicRoute(route)) {
  3076. const {
  3077. pathname: asPathname
  3078. } = url_1.parse(as);
  3079. const routeRegex = route_regex_1.getRouteRegex(route);
  3080. const routeMatch = route_matcher_1.getRouteMatcher(routeRegex)(asPathname);
  3081. if (!routeMatch) {
  3082. const missingParams = Object.keys(routeRegex.groups).filter(param => !query[param]);
  3083. if (missingParams.length > 0) {
  3084. if (false) {}
  3085. 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`));
  3086. }
  3087. } else {
  3088. // Merge params into `query`, overwriting any specified in search
  3089. Object.assign(query, routeMatch);
  3090. }
  3091. }
  3092. Router.events.emit('routeChangeStart', as); // If shallow is true and the route exists in the router cache we reuse the previous result
  3093. this.getRouteInfo(route, pathname, query, as, shallow).then(routeInfo => {
  3094. const {
  3095. error
  3096. } = routeInfo;
  3097. if (error && error.cancelled) {
  3098. return resolve(false);
  3099. }
  3100. Router.events.emit('beforeHistoryChange', as);
  3101. this.changeState(method, url, as, options);
  3102. if (false) {}
  3103. this.set(route, pathname, query, as, routeInfo);
  3104. if (error) {
  3105. Router.events.emit('routeChangeError', error, as);
  3106. throw error;
  3107. }
  3108. Router.events.emit('routeChangeComplete', as);
  3109. return resolve(true);
  3110. }, reject);
  3111. });
  3112. }
  3113. changeState(method, url, as, options = {}) {
  3114. if (false) {}
  3115. if (method !== 'pushState' || utils_1.getURL() !== as) {
  3116. window.history[method]({
  3117. url,
  3118. as,
  3119. options
  3120. }, // Most browsers currently ignores this parameter, although they may use it in the future.
  3121. // Passing the empty string here should be safe against future changes to the method.
  3122. // https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState
  3123. '', as);
  3124. }
  3125. }
  3126. getRouteInfo(route, pathname, query, as, shallow = false) {
  3127. const cachedRouteInfo = this.components[route]; // If there is a shallow route transition possible
  3128. // If the route is already rendered on the screen.
  3129. if (shallow && cachedRouteInfo && this.route === route) {
  3130. return Promise.resolve(cachedRouteInfo);
  3131. }
  3132. const handleError = (err, loadErrorFail) => {
  3133. return new Promise(resolve => {
  3134. if (err.code === 'PAGE_LOAD_ERROR' || loadErrorFail) {
  3135. // If we can't load the page it could be one of following reasons
  3136. // 1. Page doesn't exists
  3137. // 2. Page does exist in a different zone
  3138. // 3. Internal error while loading the page
  3139. // So, doing a hard reload is the proper way to deal with this.
  3140. window.location.href = as; // Changing the URL doesn't block executing the current code path.
  3141. // So, we need to mark it as a cancelled error and stop the routing logic.
  3142. err.cancelled = true; // @ts-ignore TODO: fix the control flow here
  3143. return resolve({
  3144. error: err
  3145. });
  3146. }
  3147. if (err.cancelled) {
  3148. // @ts-ignore TODO: fix the control flow here
  3149. return resolve({
  3150. error: err
  3151. });
  3152. }
  3153. resolve(this.fetchComponent('/_error').then(res => {
  3154. const {
  3155. page: Component
  3156. } = res;
  3157. const routeInfo = {
  3158. Component,
  3159. err
  3160. };
  3161. return new Promise(resolve => {
  3162. this.getInitialProps(Component, {
  3163. err,
  3164. pathname,
  3165. query
  3166. }).then(props => {
  3167. routeInfo.props = props;
  3168. routeInfo.error = err;
  3169. resolve(routeInfo);
  3170. }, gipErr => {
  3171. console.error('Error in error page `getInitialProps`: ', gipErr);
  3172. routeInfo.error = err;
  3173. routeInfo.props = {};
  3174. resolve(routeInfo);
  3175. });
  3176. });
  3177. }).catch(err => handleError(err, true)));
  3178. });
  3179. };
  3180. return new Promise((resolve, reject) => {
  3181. if (cachedRouteInfo) {
  3182. return resolve(cachedRouteInfo);
  3183. }
  3184. this.fetchComponent(route).then(res => resolve({
  3185. Component: res.page,
  3186. __N_SSG: res.mod.__N_SSG,
  3187. __N_SSP: res.mod.__N_SSP
  3188. }), reject);
  3189. }).then(routeInfo => {
  3190. const {
  3191. Component,
  3192. __N_SSG,
  3193. __N_SSP
  3194. } = routeInfo;
  3195. if (false) {}
  3196. 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`
  3197. {
  3198. pathname,
  3199. query,
  3200. asPath: as
  3201. })).then(props => {
  3202. routeInfo.props = props;
  3203. this.components[route] = routeInfo;
  3204. return routeInfo;
  3205. });
  3206. }).catch(handleError);
  3207. }
  3208. set(route, pathname, query, as, data) {
  3209. this.isFallback = false;
  3210. this.route = route;
  3211. this.pathname = pathname;
  3212. this.query = query;
  3213. this.asPath = as;
  3214. this.notify(data);
  3215. }
  3216. /**
  3217. * Callback to execute before replacing router state
  3218. * @param cb callback to be executed
  3219. */
  3220. beforePopState(cb) {
  3221. this._bps = cb;
  3222. }
  3223. onlyAHashChange(as) {
  3224. if (!this.asPath) return false;
  3225. const [oldUrlNoHash, oldHash] = this.asPath.split('#');
  3226. const [newUrlNoHash, newHash] = as.split('#'); // Makes sure we scroll to the provided hash if the url/hash are the same
  3227. if (newHash && oldUrlNoHash === newUrlNoHash && oldHash === newHash) {
  3228. return true;
  3229. } // If the urls are change, there's more than a hash change
  3230. if (oldUrlNoHash !== newUrlNoHash) {
  3231. return false;
  3232. } // If the hash has changed, then it's a hash only change.
  3233. // This check is necessary to handle both the enter and
  3234. // leave hash === '' cases. The identity case falls through
  3235. // and is treated as a next reload.
  3236. return oldHash !== newHash;
  3237. }
  3238. scrollToHash(as) {
  3239. const [, hash] = as.split('#'); // Scroll to top if the hash is just `#` with no value
  3240. if (hash === '') {
  3241. window.scrollTo(0, 0);
  3242. return;
  3243. } // First we check if the element by id is found
  3244. const idEl = document.getElementById(hash);
  3245. if (idEl) {
  3246. idEl.scrollIntoView();
  3247. return;
  3248. } // If there's no element with the id, we check the `name` property
  3249. // To mirror browsers
  3250. const nameEl = document.getElementsByName(hash)[0];
  3251. if (nameEl) {
  3252. nameEl.scrollIntoView();
  3253. }
  3254. }
  3255. urlIsNew(asPath) {
  3256. return this.asPath !== asPath;
  3257. }
  3258. /**
  3259. * Prefetch page code, you may wait for the data during page rendering.
  3260. * This feature only works in production!
  3261. * @param url the href of prefetched page
  3262. * @param asPath the as path of the prefetched page
  3263. */
  3264. prefetch(url, asPath = url, options = {}) {
  3265. return new Promise((resolve, reject) => {
  3266. const {
  3267. pathname,
  3268. protocol
  3269. } = url_1.parse(url);
  3270. if (!pathname || protocol) {
  3271. if (false) {}
  3272. return;
  3273. } // Prefetch is not supported in development mode because it would trigger on-demand-entries
  3274. if (false) {}
  3275. const route = delBasePath(toRoute(pathname));
  3276. Promise.all([this.pageLoader.prefetchData(url, delBasePath(asPath)), this.pageLoader[options.priority ? 'loadPage' : 'prefetch'](route)]).then(() => resolve(), reject);
  3277. });
  3278. }
  3279. async fetchComponent(route) {
  3280. let cancelled = false;
  3281. const cancel = this.clc = () => {
  3282. cancelled = true;
  3283. };
  3284. route = delBasePath(route);
  3285. const componentResult = await this.pageLoader.loadPage(route);
  3286. if (cancelled) {
  3287. const error = new Error(`Abort fetching component for route: "${route}"`);
  3288. error.cancelled = true;
  3289. throw error;
  3290. }
  3291. if (cancel === this.clc) {
  3292. this.clc = null;
  3293. }
  3294. return componentResult;
  3295. }
  3296. _getData(fn) {
  3297. let cancelled = false;
  3298. const cancel = () => {
  3299. cancelled = true;
  3300. };
  3301. this.clc = cancel;
  3302. return fn().then(data => {
  3303. if (cancel === this.clc) {
  3304. this.clc = null;
  3305. }
  3306. if (cancelled) {
  3307. const err = new Error('Loading initial props cancelled');
  3308. err.cancelled = true;
  3309. throw err;
  3310. }
  3311. return data;
  3312. });
  3313. }
  3314. getInitialProps(Component, ctx) {
  3315. const {
  3316. Component: App
  3317. } = this.components['/_app'];
  3318. const AppTree = this._wrapApp(App);
  3319. ctx.AppTree = AppTree;
  3320. return utils_1.loadGetInitialProps(App, {
  3321. AppTree,
  3322. Component,
  3323. router: this,
  3324. ctx
  3325. });
  3326. }
  3327. abortComponentLoad(as) {
  3328. if (this.clc) {
  3329. const e = new Error('Route Cancelled');
  3330. e.cancelled = true;
  3331. Router.events.emit('routeChangeError', e, as);
  3332. this.clc();
  3333. this.clc = null;
  3334. }
  3335. }
  3336. notify(data) {
  3337. this.sub(data, this.components['/_app'].Component);
  3338. }
  3339. }
  3340. exports.default = Router;
  3341. Router.events = mitt_1.default();
  3342. /***/ }),
  3343. /***/ "g/15":
  3344. /***/ (function(module, exports, __webpack_require__) {
  3345. "use strict";
  3346. Object.defineProperty(exports, "__esModule", {
  3347. value: true
  3348. });
  3349. const url_1 = __webpack_require__("bzos");
  3350. /**
  3351. * Utils
  3352. */
  3353. function execOnce(fn) {
  3354. let used = false;
  3355. let result;
  3356. return (...args) => {
  3357. if (!used) {
  3358. used = true;
  3359. result = fn(...args);
  3360. }
  3361. return result;
  3362. };
  3363. }
  3364. exports.execOnce = execOnce;
  3365. function getLocationOrigin() {
  3366. const {
  3367. protocol,
  3368. hostname,
  3369. port
  3370. } = window.location;
  3371. return `${protocol}//${hostname}${port ? ':' + port : ''}`;
  3372. }
  3373. exports.getLocationOrigin = getLocationOrigin;
  3374. function getURL() {
  3375. const {
  3376. href
  3377. } = window.location;
  3378. const origin = getLocationOrigin();
  3379. return href.substring(origin.length);
  3380. }
  3381. exports.getURL = getURL;
  3382. function getDisplayName(Component) {
  3383. return typeof Component === 'string' ? Component : Component.displayName || Component.name || 'Unknown';
  3384. }
  3385. exports.getDisplayName = getDisplayName;
  3386. function isResSent(res) {
  3387. return res.finished || res.headersSent;
  3388. }
  3389. exports.isResSent = isResSent;
  3390. async function loadGetInitialProps(App, ctx) {
  3391. var _a;
  3392. if (false) {} // when called from _app `ctx` is nested in `ctx`
  3393. const res = ctx.res || ctx.ctx && ctx.ctx.res;
  3394. if (!App.getInitialProps) {
  3395. if (ctx.ctx && ctx.Component) {
  3396. // @ts-ignore pageProps default
  3397. return {
  3398. pageProps: await loadGetInitialProps(ctx.Component, ctx.ctx)
  3399. };
  3400. }
  3401. return {};
  3402. }
  3403. const props = await App.getInitialProps(ctx);
  3404. if (res && isResSent(res)) {
  3405. return props;
  3406. }
  3407. if (!props) {
  3408. const message = `"${getDisplayName(App)}.getInitialProps()" should resolve to an object. But found "${props}" instead.`;
  3409. throw new Error(message);
  3410. }
  3411. if (false) {}
  3412. return props;
  3413. }
  3414. exports.loadGetInitialProps = loadGetInitialProps;
  3415. exports.urlObjectKeys = ['auth', 'hash', 'host', 'hostname', 'href', 'path', 'pathname', 'port', 'protocol', 'query', 'search', 'slashes'];
  3416. function formatWithValidation(url, options) {
  3417. if (false) {}
  3418. return url_1.format(url, options);
  3419. }
  3420. exports.formatWithValidation = formatWithValidation;
  3421. exports.SP = typeof performance !== 'undefined';
  3422. exports.ST = exports.SP && typeof performance.mark === 'function' && typeof performance.measure === 'function';
  3423. /***/ }),
  3424. /***/ "gguc":
  3425. /***/ (function(module, exports, __webpack_require__) {
  3426. "use strict";
  3427. Object.defineProperty(exports, "__esModule", {
  3428. value: true
  3429. });
  3430. function getRouteMatcher(routeRegex) {
  3431. const {
  3432. re,
  3433. groups
  3434. } = routeRegex;
  3435. return pathname => {
  3436. const routeMatch = re.exec(pathname);
  3437. if (!routeMatch) {
  3438. return false;
  3439. }
  3440. const decode = param => {
  3441. try {
  3442. return decodeURIComponent(param);
  3443. } catch (_) {
  3444. const err = new Error('failed to decode param');
  3445. err.code = 'DECODE_FAILED';
  3446. throw err;
  3447. }
  3448. };
  3449. const params = {};
  3450. Object.keys(groups).forEach(slugName => {
  3451. const g = groups[slugName];
  3452. const m = routeMatch[g.pos];
  3453. if (m !== undefined) {
  3454. params[slugName] = ~m.indexOf('/') ? m.split('/').map(entry => decode(entry)) : g.repeat ? [decode(m)] : decode(m);
  3455. }
  3456. });
  3457. return params;
  3458. };
  3459. }
  3460. exports.getRouteMatcher = getRouteMatcher;
  3461. /***/ }),
  3462. /***/ "i4t8":
  3463. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3464. "use strict";
  3465. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return GridItem; });
  3466. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  3467. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  3468. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("9Pu4");
  3469. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__);
  3470. /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("JQ2V");
  3471. /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2__);
  3472. var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
  3473. 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); }
  3474. 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; }
  3475. 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; }
  3476. // nodejs library to set properties for components
  3477. // @material-ui/core components
  3478. const styles = {
  3479. grid: {
  3480. position: "relative",
  3481. width: "100%",
  3482. minHeight: "1px",
  3483. paddingRight: "15px",
  3484. paddingLeft: "15px",
  3485. flexBasis: "auto"
  3486. }
  3487. };
  3488. const useStyles = Object(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__["makeStyles"])(styles);
  3489. function GridItem(props) {
  3490. const classes = useStyles();
  3491. const {
  3492. children,
  3493. className
  3494. } = props,
  3495. rest = _objectWithoutProperties(props, ["children", "className"]);
  3496. return __jsx(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2___default.a, _extends({
  3497. item: true
  3498. }, rest, {
  3499. className: classes.grid + " " + className
  3500. }), children);
  3501. }
  3502. GridItem.defaultProps = {
  3503. className: ""
  3504. };
  3505. /***/ }),
  3506. /***/ "jD8W":
  3507. /***/ (function(module, exports) {
  3508. module.exports = require("@material-ui/core/Popper");
  3509. /***/ }),
  3510. /***/ "kYf9":
  3511. /***/ (function(module, exports) {
  3512. module.exports = require("next/dist/next-server/lib/utils.js");
  3513. /***/ }),
  3514. /***/ "mf1M":
  3515. /***/ (function(module, exports) {
  3516. module.exports = require("@material-ui/core/Grow");
  3517. /***/ }),
  3518. /***/ "mtPR":
  3519. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3520. "use strict";
  3521. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return GridContainer; });
  3522. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  3523. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  3524. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("9Pu4");
  3525. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__);
  3526. /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("JQ2V");
  3527. /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2__);
  3528. var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
  3529. 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); }
  3530. 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; }
  3531. 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; }
  3532. // nodejs library to set properties for components
  3533. // @material-ui/core components
  3534. const styles = {
  3535. grid: {
  3536. marginRight: "-15px",
  3537. marginLeft: "-15px",
  3538. width: "auto"
  3539. }
  3540. };
  3541. const useStyles = Object(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__["makeStyles"])(styles);
  3542. function GridContainer(props) {
  3543. const classes = useStyles();
  3544. const {
  3545. children,
  3546. className
  3547. } = props,
  3548. rest = _objectWithoutProperties(props, ["children", "className"]);
  3549. return __jsx(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2___default.a, _extends({
  3550. container: true
  3551. }, rest, {
  3552. className: classes.grid + " " + className
  3553. }), children);
  3554. }
  3555. GridContainer.defaultProps = {
  3556. className: ""
  3557. };
  3558. /***/ }),
  3559. /***/ "nJn1":
  3560. /***/ (function(module, exports) {
  3561. module.exports = "/_next/static/images/tb-07080d5d3d7b45d4452f1aae75c323f1.png";
  3562. /***/ }),
  3563. /***/ "nOHt":
  3564. /***/ (function(module, exports, __webpack_require__) {
  3565. "use strict";
  3566. var _interopRequireWildcard = __webpack_require__("7KCV");
  3567. var _interopRequireDefault = __webpack_require__("AroE");
  3568. exports.__esModule = true;
  3569. exports.useRouter = useRouter;
  3570. exports.makePublicRouterInstance = makePublicRouterInstance;
  3571. exports.createRouter = exports.withRouter = exports.default = void 0;
  3572. var _react = _interopRequireDefault(__webpack_require__("cDcd"));
  3573. var _router2 = _interopRequireWildcard(__webpack_require__("elyg"));
  3574. exports.Router = _router2.default;
  3575. exports.NextRouter = _router2.NextRouter;
  3576. var _routerContext = __webpack_require__("Osoz");
  3577. var _withRouter = _interopRequireDefault(__webpack_require__("0Bsm"));
  3578. exports.withRouter = _withRouter.default;
  3579. /* global window */
  3580. var singletonRouter = {
  3581. router: null,
  3582. // holds the actual router instance
  3583. readyCallbacks: [],
  3584. ready(cb) {
  3585. if (this.router) return cb();
  3586. if (false) {}
  3587. }
  3588. }; // Create public properties and methods of the router in the singletonRouter
  3589. var urlPropertyFields = ['pathname', 'route', 'query', 'asPath', 'components', 'isFallback', 'basePath'];
  3590. var routerEvents = ['routeChangeStart', 'beforeHistoryChange', 'routeChangeComplete', 'routeChangeError', 'hashChangeStart', 'hashChangeComplete'];
  3591. 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
  3592. Object.defineProperty(singletonRouter, 'events', {
  3593. get() {
  3594. return _router2.default.events;
  3595. }
  3596. });
  3597. urlPropertyFields.forEach(field => {
  3598. // Here we need to use Object.defineProperty because, we need to return
  3599. // the property assigned to the actual router
  3600. // The value might get changed as we change routes and this is the
  3601. // proper way to access it
  3602. Object.defineProperty(singletonRouter, field, {
  3603. get() {
  3604. var router = getRouter();
  3605. return router[field];
  3606. }
  3607. });
  3608. });
  3609. coreMethodFields.forEach(field => {
  3610. // We don't really know the types here, so we add them later instead
  3611. ;
  3612. singletonRouter[field] = function () {
  3613. var router = getRouter();
  3614. return router[field](...arguments);
  3615. };
  3616. });
  3617. routerEvents.forEach(event => {
  3618. singletonRouter.ready(() => {
  3619. _router2.default.events.on(event, function () {
  3620. var eventField = "on" + event.charAt(0).toUpperCase() + event.substring(1);
  3621. var _singletonRouter = singletonRouter;
  3622. if (_singletonRouter[eventField]) {
  3623. try {
  3624. _singletonRouter[eventField](...arguments);
  3625. } catch (err) {
  3626. // tslint:disable-next-line:no-console
  3627. console.error("Error when running the Router event: " + eventField); // tslint:disable-next-line:no-console
  3628. console.error(err.message + "\n" + err.stack);
  3629. }
  3630. }
  3631. });
  3632. });
  3633. });
  3634. function getRouter() {
  3635. if (!singletonRouter.router) {
  3636. var message = 'No router instance found.\n' + 'You should only use "next/router" inside the client side of your app.\n';
  3637. throw new Error(message);
  3638. }
  3639. return singletonRouter.router;
  3640. } // Export the singletonRouter and this is the public API.
  3641. var _default = singletonRouter; // Reexport the withRoute HOC
  3642. exports.default = _default;
  3643. function useRouter() {
  3644. return _react.default.useContext(_routerContext.RouterContext);
  3645. } // INTERNAL APIS
  3646. // -------------
  3647. // (do not use following exports inside the app)
  3648. // Create a router and assign it as the singleton instance.
  3649. // This is used in client side when we are initilizing the app.
  3650. // This should **not** use inside the server.
  3651. var createRouter = function createRouter() {
  3652. for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
  3653. args[_key] = arguments[_key];
  3654. }
  3655. singletonRouter.router = new _router2.default(...args);
  3656. singletonRouter.readyCallbacks.forEach(cb => cb());
  3657. singletonRouter.readyCallbacks = [];
  3658. return singletonRouter.router;
  3659. }; // This function is used to create the `withRouter` router instance
  3660. exports.createRouter = createRouter;
  3661. function makePublicRouterInstance(router) {
  3662. var _router = router;
  3663. var instance = {};
  3664. for (var property of urlPropertyFields) {
  3665. if (typeof _router[property] === 'object') {
  3666. instance[property] = Object.assign({}, _router[property]); // makes sure query is not stateful
  3667. continue;
  3668. }
  3669. instance[property] = _router[property];
  3670. } // Events is a static property on the router, the router doesn't have to be initialized to use it
  3671. instance.events = _router2.default.events;
  3672. coreMethodFields.forEach(field => {
  3673. instance[field] = function () {
  3674. return _router[field](...arguments);
  3675. };
  3676. });
  3677. return instance;
  3678. }
  3679. /***/ }),
  3680. /***/ "nybW":
  3681. /***/ (function(module, exports) {
  3682. module.exports = require("@material-ui/core/Divider");
  3683. /***/ }),
  3684. /***/ "oLCs":
  3685. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3686. "use strict";
  3687. /* harmony import */ var assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("eDSW");
  3688. const footerStyle = {
  3689. block: {
  3690. color: "inherit",
  3691. padding: "0.9375rem",
  3692. fontWeight: "500",
  3693. fontSize: "12px",
  3694. textTransform: "uppercase",
  3695. borderRadius: "3px",
  3696. textDecoration: "none",
  3697. position: "relative",
  3698. display: "block"
  3699. },
  3700. left: {
  3701. float: "left!important",
  3702. display: "block"
  3703. },
  3704. right: {
  3705. padding: "15px 0",
  3706. margin: "0",
  3707. float: "right!important"
  3708. },
  3709. footer: {
  3710. padding: "0.9375rem 0",
  3711. textAlign: "center",
  3712. display: "flex",
  3713. zIndex: "2",
  3714. position: "relative"
  3715. },
  3716. a: {
  3717. color: assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__[/* primaryColor */ "p"],
  3718. textDecoration: "none",
  3719. backgroundColor: "transparent"
  3720. },
  3721. footerWhiteFont: {
  3722. "&,&:hover,&:focus": {
  3723. color: "#FFFFFF"
  3724. }
  3725. },
  3726. container: assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__[/* container */ "c"],
  3727. list: {
  3728. marginBottom: "0",
  3729. padding: "0",
  3730. marginTop: "0"
  3731. },
  3732. inlineBlock: {
  3733. display: "inline-block",
  3734. padding: "0px",
  3735. width: "auto"
  3736. },
  3737. icon: {
  3738. width: "18px",
  3739. height: "18px",
  3740. position: "relative",
  3741. top: "3px"
  3742. }
  3743. };
  3744. /* harmony default export */ __webpack_exports__["a"] = (footerStyle);
  3745. /***/ }),
  3746. /***/ "qt1I":
  3747. /***/ (function(module, exports) {
  3748. module.exports = require("@material-ui/core/Paper");
  3749. /***/ }),
  3750. /***/ "sBtl":
  3751. /***/ (function(module, exports) {
  3752. module.exports = "/_next/static/images/aboutus-d76b56c864c47997d857fe44b3567c36.jpg";
  3753. /***/ }),
  3754. /***/ "x54t":
  3755. /***/ (function(module, exports) {
  3756. module.exports = require("@material-ui/core/MenuItem");
  3757. /***/ }),
  3758. /***/ "xmQw":
  3759. /***/ (function(module, exports) {
  3760. module.exports = require("@material-ui/core/MenuList");
  3761. /***/ })
  3762. /******/ });