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

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