No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 

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