Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 

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