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

4573 rader
155 KiB

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