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

4566 line
154 KiB

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