|
- module.exports =
- /******/ (function(modules) { // webpackBootstrap
- /******/ // The module cache
- /******/ var installedModules = require('../../../ssr-module-cache.js');
- /******/
- /******/ // The require function
- /******/ function __webpack_require__(moduleId) {
- /******/
- /******/ // Check if module is in cache
- /******/ if(installedModules[moduleId]) {
- /******/ return installedModules[moduleId].exports;
- /******/ }
- /******/ // Create a new module (and put it into the cache)
- /******/ var module = installedModules[moduleId] = {
- /******/ i: moduleId,
- /******/ l: false,
- /******/ exports: {}
- /******/ };
- /******/
- /******/ // Execute the module function
- /******/ var threw = true;
- /******/ try {
- /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
- /******/ threw = false;
- /******/ } finally {
- /******/ if(threw) delete installedModules[moduleId];
- /******/ }
- /******/
- /******/ // Flag the module as loaded
- /******/ module.l = true;
- /******/
- /******/ // Return the exports of the module
- /******/ return module.exports;
- /******/ }
- /******/
- /******/
- /******/ // expose the modules object (__webpack_modules__)
- /******/ __webpack_require__.m = modules;
- /******/
- /******/ // expose the module cache
- /******/ __webpack_require__.c = installedModules;
- /******/
- /******/ // define getter function for harmony exports
- /******/ __webpack_require__.d = function(exports, name, getter) {
- /******/ if(!__webpack_require__.o(exports, name)) {
- /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
- /******/ }
- /******/ };
- /******/
- /******/ // define __esModule on exports
- /******/ __webpack_require__.r = function(exports) {
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
- /******/ }
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
- /******/ };
- /******/
- /******/ // create a fake namespace object
- /******/ // mode & 1: value is a module id, require it
- /******/ // mode & 2: merge all properties of value into the ns
- /******/ // mode & 4: return value when already ns object
- /******/ // mode & 8|1: behave like require
- /******/ __webpack_require__.t = function(value, mode) {
- /******/ if(mode & 1) value = __webpack_require__(value);
- /******/ if(mode & 8) return value;
- /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
- /******/ var ns = Object.create(null);
- /******/ __webpack_require__.r(ns);
- /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
- /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
- /******/ return ns;
- /******/ };
- /******/
- /******/ // getDefaultExport function for compatibility with non-harmony modules
- /******/ __webpack_require__.n = function(module) {
- /******/ var getter = module && module.__esModule ?
- /******/ function getDefault() { return module['default']; } :
- /******/ function getModuleExports() { return module; };
- /******/ __webpack_require__.d(getter, 'a', getter);
- /******/ return getter;
- /******/ };
- /******/
- /******/ // Object.prototype.hasOwnProperty.call
- /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
- /******/
- /******/ // __webpack_public_path__
- /******/ __webpack_require__.p = "";
- /******/
- /******/
- /******/ // Load entry module and return exports
- /******/ return __webpack_require__(__webpack_require__.s = 28);
- /******/ })
- /************************************************************************/
- /******/ ({
-
- /***/ "+7RK":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/7-febba2e485c57a24241dbdbbe5aa32c9.jpg";
-
- /***/ }),
-
- /***/ "+dZB":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/4-a612c18a5bfd951a464c063076cd742e.jpg";
-
- /***/ }),
-
- /***/ "/jkW":
- /***/ (function(module, exports, __webpack_require__) {
-
- "use strict";
-
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- }); // Identify /[param]/ in route string
-
- const TEST_ROUTE = /\/\[[^/]+?\](?=\/|$)/;
-
- function isDynamicRoute(route) {
- return TEST_ROUTE.test(route);
- }
-
- exports.isDynamicRoute = isDynamicRoute;
-
- /***/ }),
-
- /***/ "0Bsm":
- /***/ (function(module, exports, __webpack_require__) {
-
- "use strict";
-
-
- var _interopRequireDefault = __webpack_require__("AroE");
-
- exports.__esModule = true;
- exports.default = withRouter;
-
- var _react = _interopRequireDefault(__webpack_require__("cDcd"));
-
- var _router = __webpack_require__("nOHt");
-
- function withRouter(ComposedComponent) {
- function WithRouterWrapper(props) {
- return _react.default.createElement(ComposedComponent, Object.assign({
- router: (0, _router.useRouter)()
- }, props));
- }
-
- WithRouterWrapper.getInitialProps = ComposedComponent.getInitialProps // This is needed to allow checking for custom getInitialProps in _app
- ;
- WithRouterWrapper.origGetInitialProps = ComposedComponent.origGetInitialProps;
-
- if (false) { var name; }
-
- return WithRouterWrapper;
- }
-
- /***/ }),
-
- /***/ "0G1C":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
-
- "use strict";
-
- // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
- var nextjs_material_kit = __webpack_require__("eDSW");
-
- // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/tooltipsStyle.js
- const tooltipsStyle = {
- tooltip: {
- padding: "10px 15px",
- minWidth: "130px",
- color: "#555555",
- lineHeight: "1.7em",
- background: "#FFFFFF",
- border: "none",
- borderRadius: "3px",
- 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)",
- maxWidth: "200px",
- textAlign: "center",
- fontFamily: '"Helvetica Neue",Helvetica,Arial,sans-serif',
- fontSize: "0.875em",
- fontStyle: "normal",
- fontWeight: "400",
- textShadow: "none",
- textTransform: "none",
- letterSpacing: "normal",
- wordBreak: "normal",
- wordSpacing: "normal",
- wordWrap: "normal",
- whiteSpace: "normal",
- lineBreak: "auto"
- }
- };
- /* harmony default export */ var nextjs_material_kit_tooltipsStyle = (tooltipsStyle);
- // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/headerLinksStyle.js
- 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; }
-
- 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; }
-
- 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; }
-
-
-
-
- const headerLinksStyle = theme => _objectSpread({
- list: _objectSpread({}, nextjs_material_kit["g" /* defaultFont */], {
- fontSize: "14px",
- margin: 0,
- paddingLeft: "0",
- listStyle: "none",
- paddingTop: "0",
- paddingBottom: "0",
- color: "inherit"
- }),
- listItem: {
- float: "left",
- color: "inherit",
- position: "relative",
- display: "block",
- width: "auto",
- margin: "0",
- padding: "0",
- [theme.breakpoints.down("sm")]: {
- width: "100%",
- "&:after": {
- width: "100%",
- content: '""',
- display: "block",
- height: "1px",
- backgroundColor: "#e5e5e5"
- }
- }
- },
- listItemText: {
- padding: "0 !important"
- },
- navLink: {
- color: "inherit",
- position: "relative",
- padding: "0.9375rem",
- fontWeight: "400",
- fontSize: "12px",
- textTransform: "uppercase",
- borderRadius: "3px",
- lineHeight: "20px",
- textDecoration: "none",
- margin: "0px",
- display: "inline-flex",
- "&:hover,&:focus": {
- color: "inherit",
- background: "rgba(200, 200, 200, 0.2)"
- },
- [theme.breakpoints.down("sm")]: {
- width: "calc(100% - 30px)",
- marginLeft: "15px",
- marginBottom: "8px",
- marginTop: "8px",
- textAlign: "left",
- "& > span:first-child": {
- justifyContent: "flex-start"
- }
- }
- },
- notificationNavLink: {
- [theme.breakpoints.down("md")]: {
- top: "0",
- margin: "5px 15px"
- },
- color: "#FFF",
- fontWeight: "400",
- fontSize: "12px",
- textTransform: "uppercase",
- lineHeight: "20px",
- textDecoration: "none",
- margin: "0px",
- display: "inline-flex",
- top: "4px"
- },
- registerNavLink: {
- [theme.breakpoints.down("md")]: {
- top: "0",
- margin: "5px 15px"
- },
- top: "3px",
- position: "relative",
- fontWeight: "400",
- fontSize: "12px",
- textTransform: "uppercase",
- lineHeight: "20px",
- textDecoration: "none",
- margin: "0px",
- display: "inline-flex"
- },
- navLinkActive: {
- color: "inherit",
- backgroundColor: "rgba(255, 255, 255, 0.1)"
- },
- icons: {
- width: "20px",
- height: "20px",
- marginRight: "3px"
- },
- socialIcons: {
- position: "relative",
- fontSize: "20px !important",
- marginRight: "4px"
- },
- dropdownLink: {
- "&,&:hover,&:focus": {
- color: "inherit",
- textDecoration: "none",
- display: "block",
- padding: "10px 20px"
- }
- }
- }, nextjs_material_kit_tooltipsStyle, {
- marginRight5: {
- marginRight: "5px"
- }
- });
-
- /* harmony default export */ var components_headerLinksStyle = __webpack_exports__["a"] = (headerLinksStyle);
-
- /***/ }),
-
- /***/ "0LMq":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/core/List");
-
- /***/ }),
-
- /***/ "1kN1":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/pim-203bceb1b44b7dfde830127819c23183.jpg";
-
- /***/ }),
-
- /***/ 28:
- /***/ (function(module, exports, __webpack_require__) {
-
- module.exports = __webpack_require__("CH2o");
-
-
- /***/ }),
-
- /***/ "2kat":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/icons");
-
- /***/ }),
-
- /***/ "2wdC":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/8-4d0b317c7cd028a32e5af2f2ebe715a4.jpg";
-
- /***/ }),
-
- /***/ "31Yn":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/core/ClickAwayListener");
-
- /***/ }),
-
- /***/ "4151":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/core/AppBar");
-
- /***/ }),
-
- /***/ "4D1s":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/icons/Menu");
-
- /***/ }),
-
- /***/ "4esR":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/bpr-691f24d296ad44d7a9c0e3b1655985f9.jpg";
-
- /***/ }),
-
- /***/ "7KCV":
- /***/ (function(module, exports, __webpack_require__) {
-
- var _typeof = __webpack_require__("C+bE");
-
- function _getRequireWildcardCache() {
- if (typeof WeakMap !== "function") return null;
- var cache = new WeakMap();
-
- _getRequireWildcardCache = function _getRequireWildcardCache() {
- return cache;
- };
-
- return cache;
- }
-
- function _interopRequireWildcard(obj) {
- if (obj && obj.__esModule) {
- return obj;
- }
-
- if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") {
- return {
- "default": obj
- };
- }
-
- var cache = _getRequireWildcardCache();
-
- if (cache && cache.has(obj)) {
- return cache.get(obj);
- }
-
- var newObj = {};
- var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
-
- for (var key in obj) {
- if (Object.prototype.hasOwnProperty.call(obj, key)) {
- var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
-
- if (desc && (desc.get || desc.set)) {
- Object.defineProperty(newObj, key, desc);
- } else {
- newObj[key] = obj[key];
- }
- }
- }
-
- newObj["default"] = obj;
-
- if (cache) {
- cache.set(obj, newObj);
- }
-
- return newObj;
- }
-
- module.exports = _interopRequireWildcard;
-
- /***/ }),
-
- /***/ "7WxK":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/Black-899735fcb67d236467fe7be0e3ade7fb.png";
-
- /***/ }),
-
- /***/ "7vM9":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/core/Icon");
-
- /***/ }),
-
- /***/ "8//M":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/core/styles/makeStyles");
-
- /***/ }),
-
- /***/ "8x5e":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
-
- "use strict";
-
- // EXPORTS
- __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ Header; });
-
- // EXTERNAL MODULE: external "react"
- var external_react_ = __webpack_require__("cDcd");
- var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
-
- // EXTERNAL MODULE: ./node_modules/next/link.js
- var next_link = __webpack_require__("YFqc");
- var link_default = /*#__PURE__*/__webpack_require__.n(next_link);
-
- // EXTERNAL MODULE: external "classnames"
- var external_classnames_ = __webpack_require__("K2gz");
- var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
-
- // EXTERNAL MODULE: external "@material-ui/core/styles"
- var styles_ = __webpack_require__("9Pu4");
-
- // EXTERNAL MODULE: external "@material-ui/core/AppBar"
- var AppBar_ = __webpack_require__("4151");
- var AppBar_default = /*#__PURE__*/__webpack_require__.n(AppBar_);
-
- // EXTERNAL MODULE: external "@material-ui/core/Toolbar"
- var Toolbar_ = __webpack_require__("Ms0O");
- var Toolbar_default = /*#__PURE__*/__webpack_require__.n(Toolbar_);
-
- // EXTERNAL MODULE: external "@material-ui/core/IconButton"
- var IconButton_ = __webpack_require__("EmCc");
- var IconButton_default = /*#__PURE__*/__webpack_require__.n(IconButton_);
-
- // EXTERNAL MODULE: external "@material-ui/core/Button"
- var Button_ = __webpack_require__("Wh1t");
- var Button_default = /*#__PURE__*/__webpack_require__.n(Button_);
-
- // EXTERNAL MODULE: external "@material-ui/core/Hidden"
- var Hidden_ = __webpack_require__("Y8uC");
- var Hidden_default = /*#__PURE__*/__webpack_require__.n(Hidden_);
-
- // EXTERNAL MODULE: external "@material-ui/core/Drawer"
- var Drawer_ = __webpack_require__("Q01v");
- var Drawer_default = /*#__PURE__*/__webpack_require__.n(Drawer_);
-
- // EXTERNAL MODULE: external "@material-ui/icons/Menu"
- var Menu_ = __webpack_require__("4D1s");
- var Menu_default = /*#__PURE__*/__webpack_require__.n(Menu_);
-
- // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
- var nextjs_material_kit = __webpack_require__("eDSW");
-
- // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/headerStyle.js
- 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; }
-
- 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; }
-
- 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; }
-
-
- const headerStyle = {
- appBar: {
- display: "flex",
- border: "0",
- borderRadius: "3px",
- padding: "0.625rem 0",
- marginBottom: "20px",
- color: "#555",
- width: "100%",
- backgroundColor: "#000",
- boxShadow: "0 4px 18px 0px rgba(0, 0, 0, 0.12), 0 7px 10px -5px rgba(0, 0, 0, 0.15)",
- transition: "all 150ms ease 0s",
- alignItems: "center",
- flexFlow: "row nowrap",
- justifyContent: "flex-start",
- position: "relative",
- zIndex: "unset"
- },
- absolute: {
- position: "absolute",
- zIndex: "1100"
- },
- fixed: {
- position: "fixed",
- zIndex: "1100"
- },
- container: _objectSpread({}, nextjs_material_kit["c" /* container */], {
- minHeight: "50px",
- flex: "1",
- alignItems: "center",
- justifyContent: "space-between",
- display: "flex",
- flexWrap: "nowrap"
- }),
- flex: {
- flex: 1
- },
- title: _objectSpread({}, nextjs_material_kit["g" /* defaultFont */], {
- lineHeight: "30px",
- fontSize: "18px",
- borderRadius: "3px",
- textTransform: "none",
- color: "inherit",
- padding: "8px 16px",
- letterSpacing: "unset",
- "&:hover,&:focus": {
- color: "inherit",
- background: "transparent"
- }
- }),
- appResponsive: {
- margin: "20px 10px"
- },
- primary: {
- backgroundColor: nextjs_material_kit["p" /* primaryColor */],
- color: "#FFFFFF",
- 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)}`
- },
- info: {
- backgroundColor: nextjs_material_kit["m" /* infoColor */],
- color: "#FFFFFF",
- 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)}`
- },
- success: {
- backgroundColor: nextjs_material_kit["u" /* successColor */],
- color: "#FFFFFF",
- 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)}`
- },
- warning: {
- backgroundColor: nextjs_material_kit["z" /* warningColor */],
- color: "#FFFFFF",
- 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)}`
- },
- danger: {
- backgroundColor: nextjs_material_kit["f" /* dangerColor */],
- color: "#FFFFFF",
- 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)}`
- },
- rose: {
- backgroundColor: nextjs_material_kit["r" /* roseColor */],
- color: "#FFFFFF",
- 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)}`
- },
- transparent: {
- backgroundColor: "transparent !important",
- boxShadow: "none",
- paddingTop: "25px",
- color: "#FFFFFF"
- },
- dark: {
- color: "#FFFFFF",
- backgroundColor: "#212121 !important",
- boxShadow: "0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px rgba(33, 33, 33, 0.46)"
- },
- white: {
- border: "0",
- padding: "0.625rem 0",
- marginBottom: "20px",
- color: "#555",
- backgroundColor: "#fff !important",
- boxShadow: "0 4px 18px 0px rgba(0, 0, 0, 0.12), 0 7px 10px -5px rgba(0, 0, 0, 0.15)"
- },
- drawerPaper: _objectSpread({
- border: "none",
- bottom: "0",
- transitionProperty: "top, bottom, width",
- transitionDuration: ".2s, .2s, .35s",
- transitionTimingFunction: "linear, linear, ease",
- width: nextjs_material_kit["h" /* drawerWidth */]
- }, nextjs_material_kit["a" /* boxShadow */], {
- position: "fixed",
- display: "block",
- top: "0",
- height: "100vh",
- right: "0",
- left: "auto",
- visibility: "visible",
- overflowY: "visible",
- borderTop: "none",
- textAlign: "left",
- paddingRight: "0px",
- paddingLeft: "0"
- }, nextjs_material_kit["w" /* transition */])
- };
- /* harmony default export */ var components_headerStyle = (headerStyle);
- // CONCATENATED MODULE: ./components/Header/Header.js
- var __jsx = external_react_default.a.createElement;
-
- // nodejs library that concatenates classes
-
- // nodejs library to set properties for components
-
- // @material-ui/core components
-
-
-
-
-
-
- // @material-ui/icons
-
- // core components
-
-
- const useStyles = Object(styles_["makeStyles"])(components_headerStyle);
- function Header(props) {
- const classes = useStyles();
- const [mobileOpen, setMobileOpen] = external_react_default.a.useState(false);
- external_react_default.a.useEffect(() => {
- if (props.changeColorOnScroll) {
- window.addEventListener("scroll", headerColorChange);
- }
-
- return function cleanup() {
- if (props.changeColorOnScroll) {
- window.removeEventListener("scroll", headerColorChange);
- }
- };
- });
-
- const handleDrawerToggle = () => {
- setMobileOpen(!mobileOpen);
- };
-
- const headerColorChange = () => {
- const {
- color,
- changeColorOnScroll
- } = props;
- const windowsScrollTop = window.pageYOffset;
-
- if (windowsScrollTop > changeColorOnScroll.height) {
- document.body.getElementsByTagName("header")[0].classList.remove(classes[color]);
- document.body.getElementsByTagName("header")[0].classList.add(classes[changeColorOnScroll.color]);
- } else {
- document.body.getElementsByTagName("header")[0].classList.add(classes[color]);
- document.body.getElementsByTagName("header")[0].classList.remove(classes[changeColorOnScroll.color]);
- }
- };
-
- const {
- color,
- rightLinks,
- leftLinks,
- brand,
- fixed,
- absolute
- } = props;
- const appBarClasses = external_classnames_default()({
- [classes.appBar]: true,
- [classes[color]]: color,
- [classes.absolute]: absolute,
- [classes.fixed]: fixed
- });
-
- const brandComponent = __jsx(link_default.a, {
- href: "/components",
- as: "/components"
- }, __jsx(Button_default.a, {
- className: classes.title
- }, brand));
-
- return __jsx(AppBar_default.a, {
- className: appBarClasses
- }, __jsx(Toolbar_default.a, {
- className: classes.container
- }, leftLinks !== undefined ? brandComponent : null, __jsx("div", {
- className: classes.flex
- }, leftLinks !== undefined ? __jsx(Hidden_default.a, {
- smDown: true,
- implementation: "css"
- }, leftLinks) : brandComponent), __jsx(Hidden_default.a, {
- smDown: true,
- implementation: "css"
- }, rightLinks), __jsx(Hidden_default.a, {
- mdUp: true
- }, __jsx(IconButton_default.a, {
- color: "inherit",
- "aria-label": "open drawer",
- onClick: handleDrawerToggle
- }, __jsx(Menu_default.a, null)))), __jsx(Hidden_default.a, {
- mdUp: true,
- implementation: "js"
- }, __jsx(Drawer_default.a, {
- variant: "temporary",
- anchor: "right",
- open: mobileOpen,
- classes: {
- paper: classes.drawerPaper
- },
- onClose: handleDrawerToggle
- }, __jsx("div", {
- className: classes.appResponsive
- }, leftLinks, rightLinks))));
- }
- Header.defaultProp = {
- color: "black"
- };
-
- /***/ }),
-
- /***/ "9Pu4":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/core/styles");
-
- /***/ }),
-
- /***/ "A2So":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
-
- "use strict";
-
- // EXPORTS
- __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ Card; });
-
- // EXTERNAL MODULE: external "react"
- var external_react_ = __webpack_require__("cDcd");
- var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
-
- // EXTERNAL MODULE: external "classnames"
- var external_classnames_ = __webpack_require__("K2gz");
- var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
-
- // EXTERNAL MODULE: external "@material-ui/core/styles"
- var styles_ = __webpack_require__("9Pu4");
-
- // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/cardStyle.js
- const cardStyle = {
- card: {
- border: "0",
- marginBottom: "30px",
- marginTop: "30px",
- borderRadius: "6px",
- color: "rgba(0, 0, 0, 0.87)",
- background: "#fff",
- width: "100%",
- 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)",
- position: "relative",
- display: "flex",
- flexDirection: "column",
- minWidth: "0",
- wordWrap: "break-word",
- fontSize: ".875rem",
- transition: "all 300ms linear"
- },
- cardPlain: {
- background: "transparent",
- boxShadow: "none"
- },
- cardCarousel: {
- overflow: "hidden"
- }
- };
- /* harmony default export */ var components_cardStyle = (cardStyle);
- // CONCATENATED MODULE: ./components/Card/Card.js
- var __jsx = external_react_default.a.createElement;
-
- 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); }
-
- 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; }
-
- 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; }
-
- // nodejs library that concatenates classes
-
- // nodejs library to set properties for components
-
- // @material-ui/core components
- // @material-ui/icons
- // core components
-
-
- const useStyles = Object(styles_["makeStyles"])(components_cardStyle);
- function Card(props) {
- const classes = useStyles();
-
- const {
- className,
- children,
- plain,
- carousel
- } = props,
- rest = _objectWithoutProperties(props, ["className", "children", "plain", "carousel"]);
-
- const cardClasses = external_classnames_default()({
- [classes.card]: true,
- [classes.cardPlain]: plain,
- [classes.cardCarousel]: carousel,
- [className]: className !== undefined
- });
- return __jsx("div", _extends({
- className: cardClasses
- }, rest), children);
- }
-
- /***/ }),
-
- /***/ "AqwQ":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/hino-d387ab83c9269c455c1b597ea390a888.jpg";
-
- /***/ }),
-
- /***/ "AroE":
- /***/ (function(module, exports) {
-
- function _interopRequireDefault(obj) {
- return obj && obj.__esModule ? obj : {
- "default": obj
- };
- }
-
- module.exports = _interopRequireDefault;
-
- /***/ }),
-
- /***/ "BmGO":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/home-6e603e834cee0599bda40518ef2ad4ad.jpg";
-
- /***/ }),
-
- /***/ "C+bE":
- /***/ (function(module, exports) {
-
- 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); }
-
- function _typeof(obj) {
- if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") {
- module.exports = _typeof = function _typeof(obj) {
- return _typeof2(obj);
- };
- } else {
- module.exports = _typeof = function _typeof(obj) {
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj);
- };
- }
-
- return _typeof(obj);
- }
-
- module.exports = _typeof;
-
- /***/ }),
-
- /***/ "CH2o":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
-
- "use strict";
- // ESM COMPAT FLAG
- __webpack_require__.r(__webpack_exports__);
-
- // EXPORTS
- __webpack_require__.d(__webpack_exports__, "default", function() { return /* binding */ LandingPage; });
-
- // EXTERNAL MODULE: external "react"
- var external_react_ = __webpack_require__("cDcd");
- var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
-
- // EXTERNAL MODULE: external "classnames"
- var external_classnames_ = __webpack_require__("K2gz");
- var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
-
- // EXTERNAL MODULE: external "@material-ui/core/styles"
- var styles_ = __webpack_require__("9Pu4");
-
- // EXTERNAL MODULE: ./components/Header/Header.js + 1 modules
- var Header = __webpack_require__("8x5e");
-
- // EXTERNAL MODULE: external "@material-ui/core"
- var core_ = __webpack_require__("KKbo");
-
- // EXTERNAL MODULE: external "@material-ui/icons/Favorite"
- var Favorite_ = __webpack_require__("Fm7H");
-
- // EXTERNAL MODULE: ./components/Grid/GridContainer.js
- var GridContainer = __webpack_require__("mtPR");
-
- // EXTERNAL MODULE: external "@material-ui/core/Grid"
- var Grid_ = __webpack_require__("JQ2V");
- var Grid_default = /*#__PURE__*/__webpack_require__.n(Grid_);
-
- // EXTERNAL MODULE: ./components/Grid/GridItem.js
- var GridItem = __webpack_require__("i4t8");
-
- // EXTERNAL MODULE: external "@material-ui/core/Paper"
- var Paper_ = __webpack_require__("qt1I");
-
- // EXTERNAL MODULE: ./components/Card/Card.js + 1 modules
- var Card = __webpack_require__("A2So");
-
- // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit/components/footerStyle.js
- var footerStyle = __webpack_require__("oLCs");
-
- // EXTERNAL MODULE: ./assets/img/White.png
- var White = __webpack_require__("gpfI");
-
- // EXTERNAL MODULE: external "react-slick"
- var external_react_slick_ = __webpack_require__("O/hg");
- var external_react_slick_default = /*#__PURE__*/__webpack_require__.n(external_react_slick_);
-
- // CONCATENATED MODULE: ./components/Footer/FooterHome.js
- var __jsx = external_react_default.a.createElement;
-
- /*eslint-disable*/
-
-
-
-
-
-
-
-
-
-
-
-
- // import Styless from "components/Footer/footersosmed.css";
-
- const useStyles = Object(styles_["makeStyles"])(footerStyle["a" /* default */]);
- function Footer(props) {
- const classes = useStyles();
- const {
- whiteFont
- } = props;
- const footerClasses = external_classnames_default()({
- [classes.footer]: true,
- [classes.footerWhiteFont]: whiteFont
- });
- const aClasses = external_classnames_default()({
- [classes.a]: true,
- [classes.footerWhiteFont]: whiteFont
- });
- const settings = {
- dots: true,
- infinite: true,
- speed: 500,
- slidesToShow: 1,
- slidesToScroll: 1,
- autoplay: true,
- time: 5
- };
- return __jsx(GridItem["a" /* default */], {
- xs: 12
- }, __jsx("link", {
- rel: "stylesheet",
- href: "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
- }), __jsx("div", {
- align: "center"
- }, __jsx(core_["List"], {
- className: classes.list
- }, __jsx(core_["ListItem"], {
- className: classes.inlineBlock
- }, __jsx("a", {
- href: "/yamaha/home",
- target: "_blank",
- className: classes.block
- }, " Yamaha ")), __jsx(core_["ListItem"], {
- className: classes.inlineBlock
- }, __jsx("a", {
- href: "/suzuki/home",
- target: "_blank",
- className: classes.block
- }, " Suzuki ")), __jsx(core_["ListItem"], {
- className: classes.inlineBlock
- }, __jsx("a", {
- href: "/honda/home",
- target: "_blank",
- className: classes.block
- }, " Honda ")), __jsx(core_["ListItem"], {
- className: classes.inlineBlock
- }, __jsx("a", {
- href: "/hino/home",
- target: "_blank",
- className: classes.block
- }, " Hino ")), __jsx(core_["ListItem"], {
- className: classes.inlineBlock
- }, __jsx("a", {
- href: "https://www.thamrin.mercedes-benz.co.id/en/desktop/passenger-cars.html",
- target: "_blank",
- className: classes.block
- }, " Mercedes Benz ")), __jsx(core_["ListItem"], {
- className: classes.inlineBlock
- }, __jsx("a", {
- href: "http://www.emilia-hotel.com/",
- target: "_blank",
- className: classes.block
- }, " Emilia Hotel ")), __jsx(core_["ListItem"], {
- className: classes.inlineBlock
- }, __jsx("a", {
- href: "https://www.instagram.com/palembangindahmall/?hl=id",
- target: "_blank",
- className: classes.block
- }, " Palembang Indah Mall ")), __jsx(core_["ListItem"], {
- className: classes.inlineBlock
- }, __jsx("a", {
- href: "http://bprberkatsejati.com/",
- target: "_blank",
- className: classes.block
- }, " BRP Berkat Sejati ")), __jsx(core_["ListItem"], {
- className: classes.inlineBlock
- }, __jsx("a", {
- href: "http://homes.thamrin.xyz/",
- target: "_blank",
- className: classes.block
- }, " Thamrin Homes ")))), __jsx("div", {
- align: "center"
- }, __jsx(core_["List"], {
- className: classes.list
- }, __jsx(core_["ListItem"], {
- className: classes.inlineBlock,
- style: {
- padding: "10px"
- }
- }, __jsx("a", {
- href: "#",
- target: "_blank",
- class: "fa fa-facebook"
- })), __jsx(core_["ListItem"], {
- className: classes.inlineBlock,
- style: {
- padding: "10px"
- }
- }, __jsx("a", {
- href: "#",
- target: "_blank",
- class: "fa fa-instagram"
- })), __jsx(core_["ListItem"], {
- className: classes.inlineBlock,
- style: {
- padding: "10px"
- }
- }, __jsx("a", {
- href: "#",
- target: "_blank",
- class: "fa fa-twitter"
- })), __jsx(core_["ListItem"], {
- className: classes.inlineBlock,
- style: {
- padding: "10px"
- }
- }, __jsx("a", {
- href: "#",
- target: "_blank",
- class: "fa fa-youtube"
- })))), __jsx("br", null), __jsx("br", null), __jsx("div", {
- align: "center"
- }, "\xA9 ", 1900 + new Date().getYear(), " , All Right Reserved", " ", " by", " ", " @Thamrin Group Company"), __jsx("br", null), __jsx("br", null));
- }
- // EXTERNAL MODULE: external "react-scroll"
- var external_react_scroll_ = __webpack_require__("I/1N");
-
- // EXTERNAL MODULE: external "@material-ui/core/List"
- var List_ = __webpack_require__("0LMq");
- var List_default = /*#__PURE__*/__webpack_require__.n(List_);
-
- // EXTERNAL MODULE: external "@material-ui/core/ListItem"
- var ListItem_ = __webpack_require__("c25J");
- var ListItem_default = /*#__PURE__*/__webpack_require__.n(ListItem_);
-
- // EXTERNAL MODULE: external "@material-ui/core/Icon"
- var Icon_ = __webpack_require__("7vM9");
- var Icon_default = /*#__PURE__*/__webpack_require__.n(Icon_);
-
- // EXTERNAL MODULE: ./components/Header/HeaderHome.css
- var HeaderHome = __webpack_require__("T+ot");
-
- // EXTERNAL MODULE: external "@material-ui/icons"
- var icons_ = __webpack_require__("2kat");
-
- // EXTERNAL MODULE: ./components/CustomDropdown/CustomDropdown.js + 1 modules
- var CustomDropdown = __webpack_require__("QOEo");
-
- // EXTERNAL MODULE: ./components/CustomButtons/Button.js + 1 modules
- var Button = __webpack_require__("Kg+a");
-
- // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit/components/headerLinksStyle.js + 1 modules
- var headerLinksStyle = __webpack_require__("0G1C");
-
- // EXTERNAL MODULE: ./assets/img/Blue.png
- var Blue = __webpack_require__("vcqE");
- var Blue_default = /*#__PURE__*/__webpack_require__.n(Blue);
-
- // CONCATENATED MODULE: ./components/Header/HeaderHome.js
- var HeaderHome_jsx = external_react_default.a.createElement;
-
- /*eslint-disable*/
-
- // @material-ui/core components
-
-
-
-
- // import People from "@material-ui/core/People";
-
- // @material-ui/icons
-
- // core components
-
-
-
-
-
- const HeaderHome_useStyles = Object(styles_["makeStyles"])(headerLinksStyle["a" /* default */]);
- function HeaderHome_HeaderHome(props) {
- const classes = HeaderHome_useStyles();
- return HeaderHome_jsx("div", {
- align: "left"
- }, HeaderHome_jsx(List_default.a, {
- className: classes.list
- }, HeaderHome_jsx(ListItem_default.a, {
- className: classes.listItem
- }, HeaderHome_jsx(external_react_scroll_["Link"], {
- href: "#"
- }, HeaderHome_jsx(Button["a" /* default */], {
- color: "transparent",
- className: classes.navLink
- }, HeaderHome_jsx("img", {
- src: Blue_default.a,
- width: "180px"
- })))), HeaderHome_jsx(ListItem_default.a, {
- className: classes.listItem
- }, HeaderHome_jsx(external_react_scroll_["Link"], {
- to: "home",
- spy: true,
- smooth: true
- }, HeaderHome_jsx(Button["a" /* default */], {
- color: "transparent",
- className: classes.navLink,
- style: {
- marginTop: "10px"
- }
- }, HeaderHome_jsx("div", {
- className: "header"
- }, HeaderHome_jsx(Icon_default.a, {
- className: classes.icons
- }, "home"), "Home")))), HeaderHome_jsx(ListItem_default.a, {
- className: classes.listItem
- }, HeaderHome_jsx(external_react_scroll_["Link"], {
- to: "business_partner",
- spy: true,
- smooth: true
- }, HeaderHome_jsx(Button["a" /* default */], {
- color: "transparent",
- className: classes.navLink,
- style: {
- marginTop: "10px"
- }
- }, HeaderHome_jsx("div", {
- className: "header"
- }, HeaderHome_jsx(Icon_default.a, {
- className: classes.icons
- }, "business"), " Businees Partner")))), HeaderHome_jsx(ListItem_default.a, {
- className: classes.listItem
- }, HeaderHome_jsx(external_react_scroll_["Link"], {
- to: "gallery",
- spy: true,
- smooth: true
- }, HeaderHome_jsx(Button["a" /* default */], {
- color: "transparent",
- className: classes.navLink,
- style: {
- marginTop: "10px"
- }
- }, HeaderHome_jsx("div", {
- className: "header"
- }, HeaderHome_jsx(Icon_default.a, {
- className: classes.icons
- }, "dashboard"), " Gallery"))))));
- }
- // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
- var nextjs_material_kit = __webpack_require__("eDSW");
-
- // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/pages/home.js
- 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; }
-
- 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; }
-
- 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; }
-
-
- const landingPageStyle = {
- main: {
- background: "#000000"
- },
- title: _objectSpread({}, nextjs_material_kit["v" /* title */], {
- display: "inline-block",
- position: "relative",
- marginTop: "30px",
- minHeight: "32px",
- color: "#ffffff",
- textDecoration: "none"
- }),
- subtitle: {
- fontSize: "1.313rem",
- maxWidth: "500px",
- margin: "10px auto 0"
- }
- };
- /* harmony default export */ var home = (landingPageStyle);
- // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/pages/componentsSections/homeStyle.js
- function homeStyle_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; }
-
- function homeStyle_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { homeStyle_ownKeys(Object(source), true).forEach(function (key) { homeStyle_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { homeStyle_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
-
- function homeStyle_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; }
-
-
- const notificationsStyles = {
- section: {
- backgroundColor: "#000000",
- display: "block",
- width: "100%",
- position: "relative"
- },
- title: homeStyle_objectSpread({}, nextjs_material_kit["v" /* title */], {
- marginTop: "30px",
- minHeight: "32px",
- textDecoration: "none"
- }),
- container: nextjs_material_kit["c" /* container */]
- };
- /* harmony default export */ var homeStyle = (notificationsStyles);
- // EXTERNAL MODULE: ./assets/img/carousel/1.jpg
- var _1 = __webpack_require__("aK6x");
-
- // EXTERNAL MODULE: ./assets/img/carousel/2.jpg
- var _2 = __webpack_require__("n6U9");
-
- // EXTERNAL MODULE: ./assets/img/home/banner2.jpg
- var banner2 = __webpack_require__("M9mM");
- var banner2_default = /*#__PURE__*/__webpack_require__.n(banner2);
-
- // EXTERNAL MODULE: ./assets/img/home/banner1.jpg
- var banner1 = __webpack_require__("q9Kh");
- var banner1_default = /*#__PURE__*/__webpack_require__.n(banner1);
-
- // CONCATENATED MODULE: ./pages-sections/home/Carousel.js
- var Carousel_jsx = external_react_default.a.createElement;
-
-
-
-
-
-
-
-
-
-
-
-
- const Carousel_useStyles = Object(styles_["makeStyles"])(homeStyle);
-
- const DataCarousel = function () {
- const classes = Carousel_useStyles();
- const settings = {
- dots: true,
- infinite: true,
- speed: 500,
- slidesToShow: 1,
- slidesToScroll: 1,
- autoplay: true,
- time: 5
- };
- return Carousel_jsx("div", {
- id: "carousel",
- className: classes.root
- }, Carousel_jsx(Grid_default.a, {
- item: true,
- xs: 12,
- sm: 12,
- className: classes.marginAuto
- }, Carousel_jsx(Card["a" /* default */], null, Carousel_jsx("div", {
- className: "container"
- }, Carousel_jsx(external_react_slick_default.a, settings, Carousel_jsx("img", {
- src: banner2_default.a,
- alt: "First slide",
- className: "slick-image"
- }), Carousel_jsx("img", {
- src: banner1_default.a,
- alt: "First slide",
- className: "slick-image"
- }))))));
- };
-
- /* harmony default export */ var Carousel = (DataCarousel);
- // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/pages/landingPageSections/workStyle.js
- function workStyle_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; }
-
- function workStyle_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { workStyle_ownKeys(Object(source), true).forEach(function (key) { workStyle_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { workStyle_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
-
- function workStyle_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; }
-
-
- const workStyle = {
- section: {
- padding: "70px 0"
- },
- title: workStyle_objectSpread({}, nextjs_material_kit["v" /* title */], {
- marginBottom: "50px",
- marginTop: "30px",
- minHeight: "32px",
- textDecoration: "none",
- textAlign: "center"
- }),
- description: {
- color: "#999",
- textAlign: "center"
- },
- textCenter: {
- textAlign: "center"
- },
- textArea: {
- marginRight: "15px",
- marginLeft: "15px"
- }
- };
- /* harmony default export */ var landingPageSections_workStyle = (workStyle);
- // EXTERNAL MODULE: external "@material-ui/core/Container"
- var Container_ = __webpack_require__("Uynj");
-
- // EXTERNAL MODULE: external "@material-ui/core/Typography"
- var Typography_ = __webpack_require__("UVoM");
-
- // EXTERNAL MODULE: ./pages-sections/home/business-partner.css
- var business_partner = __webpack_require__("cpj4");
- var business_partner_default = /*#__PURE__*/__webpack_require__.n(business_partner);
-
- // EXTERNAL MODULE: ./assets/img/home/yamaha1.jpg
- var yamaha1 = __webpack_require__("qY8J");
- var yamaha1_default = /*#__PURE__*/__webpack_require__.n(yamaha1);
-
- // EXTERNAL MODULE: ./assets/img/home/suzuki.jpg
- var suzuki = __webpack_require__("J4G4");
- var suzuki_default = /*#__PURE__*/__webpack_require__.n(suzuki);
-
- // EXTERNAL MODULE: ./assets/img/home/mercedes.jpg
- var mercedes = __webpack_require__("ovCH");
- var mercedes_default = /*#__PURE__*/__webpack_require__.n(mercedes);
-
- // EXTERNAL MODULE: ./assets/img/home/hino.jpg
- var hino = __webpack_require__("AqwQ");
- var hino_default = /*#__PURE__*/__webpack_require__.n(hino);
-
- // EXTERNAL MODULE: ./assets/img/home/honda.jpg
- var honda = __webpack_require__("djX/");
- var honda_default = /*#__PURE__*/__webpack_require__.n(honda);
-
- // EXTERNAL MODULE: ./assets/img/home/pim.jpg
- var pim = __webpack_require__("1kN1");
- var pim_default = /*#__PURE__*/__webpack_require__.n(pim);
-
- // EXTERNAL MODULE: ./assets/img/home/emilia.jpg
- var emilia = __webpack_require__("MXZv");
- var emilia_default = /*#__PURE__*/__webpack_require__.n(emilia);
-
- // EXTERNAL MODULE: ./assets/img/home/bpr.jpg
- var bpr = __webpack_require__("4esR");
- var bpr_default = /*#__PURE__*/__webpack_require__.n(bpr);
-
- // EXTERNAL MODULE: ./assets/img/home/home.jpg
- var home_home = __webpack_require__("BmGO");
- var home_default = /*#__PURE__*/__webpack_require__.n(home_home);
-
- // CONCATENATED MODULE: ./pages-sections/home/Businees-Partner.js
- var Businees_Partner_jsx = external_react_default.a.createElement;
-
- // core components
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- const Businees_Partner_useStyles = Object(styles_["makeStyles"])(landingPageSections_workStyle);
- function WorkSection() {
- const classes = Businees_Partner_useStyles();
- console.log(business_partner_default.a.container);
- return Businees_Partner_jsx("div", {
- id: "business_partner",
- style: {
- marginTop: "-30px"
- }
- }, Businees_Partner_jsx("br", null), Businees_Partner_jsx("h3", {
- className: classes.title
- }, "Thamrin Group Businees Partner"), Businees_Partner_jsx("div", {
- className: classes.root
- }, Businees_Partner_jsx(Grid_default.a, {
- item: true,
- xs: 12,
- sm: 12,
- className: classes.marginAuto
- }, Businees_Partner_jsx(Card["a" /* default */], null, Businees_Partner_jsx("div", {
- className: "container"
- }, Businees_Partner_jsx("img", {
- src: yamaha1_default.a,
- alt: "Snow",
- style: {
- width: "100%"
- }
- }), Businees_Partner_jsx(Button["a" /* default */], {
- href: "/yamaha/home",
- target: "_blank",
- className: "btn"
- }, "Visit Page")))), Businees_Partner_jsx(Grid_default.a, {
- item: true,
- xs: 12,
- sm: 12,
- style: {
- marginTop: "-30px"
- },
- className: classes.marginAuto
- }, Businees_Partner_jsx(Card["a" /* default */], null, Businees_Partner_jsx("div", {
- className: "container"
- }, Businees_Partner_jsx("img", {
- src: suzuki_default.a,
- alt: "Snow",
- style: {
- width: "100%"
- }
- }), Businees_Partner_jsx(Button["a" /* default */], {
- href: "/suzuki/home",
- target: "_blank",
- className: "btn"
- }, "Visit Page")))), Businees_Partner_jsx(Grid_default.a, {
- item: true,
- xs: 12,
- sm: 12,
- style: {
- marginTop: "-30px"
- },
- className: classes.marginAuto
- }, Businees_Partner_jsx(Card["a" /* default */], null, Businees_Partner_jsx("div", {
- className: "container"
- }, Businees_Partner_jsx("img", {
- src: hino_default.a,
- alt: "Snow",
- style: {
- width: "100%"
- }
- }), Businees_Partner_jsx(Button["a" /* default */], {
- href: "/hino/home",
- target: "_blank",
- className: "btn"
- }, "Visit Page")))), Businees_Partner_jsx(Grid_default.a, {
- item: true,
- xs: 12,
- sm: 12,
- style: {
- marginTop: "-30px"
- },
- className: classes.marginAuto
- }, Businees_Partner_jsx(Card["a" /* default */], null, Businees_Partner_jsx("div", {
- className: "container"
- }, Businees_Partner_jsx("img", {
- src: honda_default.a,
- alt: "Snow",
- style: {
- width: "100%"
- }
- }), Businees_Partner_jsx(Button["a" /* default */], {
- href: "/honda/home",
- target: "_blank",
- className: "btn"
- }, "Visit Page")))), Businees_Partner_jsx(Grid_default.a, {
- item: true,
- xs: 12,
- sm: 12,
- style: {
- marginTop: "-30px"
- },
- className: classes.marginAuto
- }, Businees_Partner_jsx(Card["a" /* default */], null, Businees_Partner_jsx("div", {
- className: "container"
- }, Businees_Partner_jsx("img", {
- src: mercedes_default.a,
- alt: "Snow",
- style: {
- width: "100%"
- }
- }), Businees_Partner_jsx(Button["a" /* default */], {
- href: "https://www.thamrin.mercedes-benz.co.id/en/desktop/passenger-cars.html",
- target: "_blank",
- className: "btn"
- }, "Visit Page")))), Businees_Partner_jsx(Grid_default.a, {
- item: true,
- xs: 12,
- sm: 12,
- style: {
- marginTop: "-30px"
- },
- className: classes.marginAuto
- }, Businees_Partner_jsx(Card["a" /* default */], null, Businees_Partner_jsx("div", {
- className: "container"
- }, Businees_Partner_jsx("img", {
- src: bpr_default.a,
- alt: "Snow",
- style: {
- width: "100%"
- }
- }), Businees_Partner_jsx(Button["a" /* default */], {
- href: "http://bprberkatsejati.com/",
- target: "_blank",
- className: "btn"
- }, "Visit Page")))), Businees_Partner_jsx(Grid_default.a, {
- item: true,
- xs: 12,
- sm: 12,
- style: {
- marginTop: "-30px"
- },
- className: classes.marginAuto
- }, Businees_Partner_jsx(Card["a" /* default */], null, Businees_Partner_jsx("div", {
- className: "container"
- }, Businees_Partner_jsx("img", {
- src: emilia_default.a,
- alt: "Snow",
- style: {
- width: "100%"
- }
- }), Businees_Partner_jsx(Button["a" /* default */], {
- href: "http://www.emilia-hotel.com/",
- target: "_blank",
- className: "btn"
- }, "Visit Page")))), Businees_Partner_jsx(Grid_default.a, {
- item: true,
- xs: 12,
- sm: 12,
- style: {
- marginTop: "-30px"
- },
- className: classes.marginAuto
- }, Businees_Partner_jsx(Card["a" /* default */], null, Businees_Partner_jsx("div", {
- className: "container"
- }, Businees_Partner_jsx("img", {
- src: pim_default.a,
- alt: "Snow",
- style: {
- width: "100%"
- }
- }), Businees_Partner_jsx(Button["a" /* default */], {
- href: "https://www.instagram.com/palembangindahmall/?hl=id",
- target: "_blank",
- className: "btn"
- }, "Visit Page")))), Businees_Partner_jsx(Grid_default.a, {
- item: true,
- xs: 12,
- sm: 12,
- style: {
- marginTop: "-30px"
- },
- className: classes.marginAuto
- }, Businees_Partner_jsx(Card["a" /* default */], null, Businees_Partner_jsx("div", {
- className: "container"
- }, Businees_Partner_jsx("img", {
- src: home_default.a,
- alt: "Snow",
- style: {
- width: "100%"
- }
- }), Businees_Partner_jsx(Button["a" /* default */], {
- href: "http://homes.thamrin.xyz/",
- target: "_blank",
- className: "btn"
- }, "Visit Page"))))));
- }
- // EXTERNAL MODULE: ./assets/img/gallery/1.jpg
- var gallery_1 = __webpack_require__("K/Fe");
- var gallery_1_default = /*#__PURE__*/__webpack_require__.n(gallery_1);
-
- // EXTERNAL MODULE: ./assets/img/gallery/2.jpg
- var gallery_2 = __webpack_require__("ewzQ");
- var gallery_2_default = /*#__PURE__*/__webpack_require__.n(gallery_2);
-
- // EXTERNAL MODULE: ./assets/img/gallery/3.jpg
- var _3 = __webpack_require__("pvnu");
- var _3_default = /*#__PURE__*/__webpack_require__.n(_3);
-
- // EXTERNAL MODULE: ./assets/img/gallery/4.jpg
- var _4 = __webpack_require__("+dZB");
- var _4_default = /*#__PURE__*/__webpack_require__.n(_4);
-
- // EXTERNAL MODULE: ./assets/img/gallery/5.jpg
- var _5 = __webpack_require__("wmUz");
- var _5_default = /*#__PURE__*/__webpack_require__.n(_5);
-
- // EXTERNAL MODULE: ./assets/img/gallery/6.jpg
- var _6 = __webpack_require__("fJ1K");
- var _6_default = /*#__PURE__*/__webpack_require__.n(_6);
-
- // EXTERNAL MODULE: ./assets/img/gallery/7.jpg
- var _7 = __webpack_require__("+7RK");
- var _7_default = /*#__PURE__*/__webpack_require__.n(_7);
-
- // EXTERNAL MODULE: ./assets/img/gallery/8.jpg
- var _8 = __webpack_require__("2wdC");
- var _8_default = /*#__PURE__*/__webpack_require__.n(_8);
-
- // CONCATENATED MODULE: ./pages-sections/home/gallery.js
- var gallery_jsx = external_react_default.a.createElement;
-
- // core components
-
-
-
-
-
-
-
-
- //image
-
-
-
-
-
-
-
-
-
- const gallery_useStyles = Object(styles_["makeStyles"])(landingPageSections_workStyle);
- function gallery_WorkSection() {
- const classes = gallery_useStyles();
- return gallery_jsx("div", {
- id: "gallery"
- }, gallery_jsx("br", null), gallery_jsx("h3", {
- className: classes.title
- }, "Thamrin Group Gallery"), gallery_jsx("div", {
- className: classes.section,
- id: "notifications",
- style: {
- marginTop: "-150px"
- }
- }, gallery_jsx("div", {
- className: classes.section
- }, gallery_jsx("div", {
- className: classes.container,
- align: "center"
- }, gallery_jsx(Grid_default.a, {
- container: true,
- style: {
- padding: "10px"
- }
- }, gallery_jsx(Grid_default.a, {
- item: true,
- xs: 3,
- style: {
- padding: "10px"
- }
- }, gallery_jsx(Card["a" /* default */], null, gallery_jsx("img", {
- src: gallery_1_default.a,
- alt: "First slide",
- className: "slick-image"
- }))), gallery_jsx(Grid_default.a, {
- item: true,
- xs: 3,
- style: {
- padding: "10px"
- }
- }, gallery_jsx(Card["a" /* default */], null, gallery_jsx("img", {
- src: gallery_2_default.a,
- alt: "First slide",
- className: "slick-image"
- }))), gallery_jsx(Grid_default.a, {
- item: true,
- xs: 3,
- style: {
- padding: "10px"
- }
- }, gallery_jsx(Card["a" /* default */], null, gallery_jsx("img", {
- src: _3_default.a,
- alt: "First slide",
- className: "slick-image"
- }))), gallery_jsx(Grid_default.a, {
- item: true,
- xs: 3,
- style: {
- padding: "10px"
- }
- }, gallery_jsx(Card["a" /* default */], null, gallery_jsx("img", {
- src: _4_default.a,
- alt: "First slide",
- className: "slick-image"
- })))), gallery_jsx(Grid_default.a, {
- container: true,
- style: {
- padding: "10px",
- marginTop: "-80px"
- }
- }, gallery_jsx(Grid_default.a, {
- item: true,
- xs: 3,
- style: {
- padding: "10px"
- }
- }, gallery_jsx(Card["a" /* default */], null, gallery_jsx("img", {
- src: _5_default.a,
- alt: "First slide",
- className: "slick-image"
- }))), gallery_jsx(Grid_default.a, {
- item: true,
- xs: 3,
- style: {
- padding: "10px"
- }
- }, gallery_jsx(Card["a" /* default */], null, gallery_jsx("img", {
- src: _6_default.a,
- alt: "First slide",
- className: "slick-image"
- }))), gallery_jsx(Grid_default.a, {
- item: true,
- xs: 3,
- style: {
- padding: "10px"
- }
- }, gallery_jsx(Card["a" /* default */], null, gallery_jsx("img", {
- src: _7_default.a,
- alt: "First slide",
- className: "slick-image"
- }))), gallery_jsx(Grid_default.a, {
- item: true,
- xs: 3,
- style: {
- padding: "10px"
- }
- }, gallery_jsx(Card["a" /* default */], null, gallery_jsx("img", {
- src: _8_default.a,
- alt: "First slide",
- className: "slick-image"
- }))))))));
- }
- // EXTERNAL MODULE: ./pages/home.css
- var pages_home = __webpack_require__("M9IG");
- var pages_home_default = /*#__PURE__*/__webpack_require__.n(pages_home);
-
- // EXTERNAL MODULE: ./assets/img/Black.png
- var Black = __webpack_require__("7WxK");
-
- // EXTERNAL MODULE: ./assets/img/wa.png
- var wa = __webpack_require__("ZAH2");
-
- // CONCATENATED MODULE: ./pages/home.js
- var home_jsx = external_react_default.a.createElement;
- // nodejs library that concatenates classes
-
- // @material-ui/core components
-
- // @material-ui/icons
- // core components
-
-
-
-
- // Sections for this page
-
-
-
-
- //image
-
-
-
- const dashboardRoutes = [];
- const home_useStyles = Object(styles_["makeStyles"])(home);
- function LandingPage(props) {
- const classes = home_useStyles();
- const rest = Object.assign({}, props);
- console.log(pages_home_default.a.act);
- return home_jsx("div", {
- id: "home"
- }, home_jsx("link", {
- rel: "stylesheet",
- href: "https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"
- }), home_jsx(Header["a" /* default */], {
- color: "dark",
- routes: dashboardRoutes,
- leftLinks: home_jsx(HeaderHome_HeaderHome, null),
- fixed: true
- }), home_jsx("div", {
- className: external_classnames_default()(classes.main, classes.mainRaised),
- style: {
- marginTop: "70px"
- }
- }, home_jsx("div", {
- className: classes.container
- }, home_jsx(Carousel, null), home_jsx(WorkSection, null), home_jsx(gallery_WorkSection, null), home_jsx("a", {
- href: "https://wa.me/+6287797315685",
- className: "float",
- target: "_blank"
- }, home_jsx("i", {
- className: "fa fa-whatsapp my-float"
- })))), home_jsx("br", null), home_jsx(Footer, null));
- }
-
- /***/ }),
-
- /***/ "EmCc":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/core/IconButton");
-
- /***/ }),
-
- /***/ "Fm7H":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/icons/Favorite");
-
- /***/ }),
-
- /***/ "I/1N":
- /***/ (function(module, exports) {
-
- module.exports = require("react-scroll");
-
- /***/ }),
-
- /***/ "J4G4":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/suzuki-c1132f96464338ff66d35172cd1ff61b.jpg";
-
- /***/ }),
-
- /***/ "JQ2V":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/core/Grid");
-
- /***/ }),
-
- /***/ "K/Fe":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/1-65504329d828dc760730454885b8e63f.jpg";
-
- /***/ }),
-
- /***/ "K2gz":
- /***/ (function(module, exports) {
-
- module.exports = require("classnames");
-
- /***/ }),
-
- /***/ "KKbo":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/core");
-
- /***/ }),
-
- /***/ "Kg+a":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
-
- "use strict";
-
- // EXTERNAL MODULE: external "react"
- var external_react_ = __webpack_require__("cDcd");
- var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
-
- // EXTERNAL MODULE: external "classnames"
- var external_classnames_ = __webpack_require__("K2gz");
- var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
-
- // EXTERNAL MODULE: external "@material-ui/core/styles/makeStyles"
- var makeStyles_ = __webpack_require__("8//M");
- var makeStyles_default = /*#__PURE__*/__webpack_require__.n(makeStyles_);
-
- // EXTERNAL MODULE: external "@material-ui/core/Button"
- var Button_ = __webpack_require__("Wh1t");
- var Button_default = /*#__PURE__*/__webpack_require__.n(Button_);
-
- // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
- var nextjs_material_kit = __webpack_require__("eDSW");
-
- // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/buttonStyle.js
-
- const buttonStyle = {
- button: {
- minHeight: "auto",
- minWidth: "auto",
- backgroundColor: nextjs_material_kit["i" /* grayColor */],
- color: "#FFFFFF",
- 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)",
- border: "none",
- borderRadius: "3px",
- position: "relative",
- padding: "12px 30px",
- margin: ".3125rem 1px",
- fontSize: "12px",
- fontWeight: "400",
- textTransform: "uppercase",
- letterSpacing: "0",
- willChange: "box-shadow, transform",
- transition: "box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1)",
- lineHeight: "1.42857143",
- textAlign: "center",
- whiteSpace: "nowrap",
- verticalAlign: "middle",
- touchAction: "manipulation",
- cursor: "pointer",
- "&:hover,&:focus": {
- color: "#FFFFFF",
- backgroundColor: nextjs_material_kit["i" /* grayColor */],
- 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)"
- },
- "& .fab,& .fas,& .far,& .fal,& .material-icons": {
- position: "relative",
- display: "inline-block",
- top: "0",
- fontSize: "1.1rem",
- marginRight: "4px",
- verticalAlign: "middle"
- },
- "& svg": {
- position: "relative",
- display: "inline-block",
- top: "0",
- width: "18px",
- height: "18px",
- marginRight: "4px",
- verticalAlign: "middle"
- },
- "&$justIcon": {
- "& .fab,& .fas,& .far,& .fal,& .material-icons": {
- marginRight: "0px",
- position: "absolute",
- width: "100%",
- transform: "none",
- left: "0px",
- top: "0px",
- height: "100%",
- lineHeight: "41px",
- fontSize: "20px"
- }
- }
- },
- fullWidth: {
- width: "100%"
- },
- primary: {
- backgroundColor: nextjs_material_kit["p" /* primaryColor */],
- 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)}`,
- "&:hover,&:focus": {
- backgroundColor: nextjs_material_kit["p" /* primaryColor */],
- 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)}`
- }
- },
- info: {
- backgroundColor: nextjs_material_kit["m" /* infoColor */],
- 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)}`,
- "&:hover,&:focus": {
- backgroundColor: nextjs_material_kit["m" /* infoColor */],
- 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)}`
- }
- },
- success: {
- backgroundColor: nextjs_material_kit["u" /* successColor */],
- 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)}`,
- "&:hover,&:focus": {
- backgroundColor: nextjs_material_kit["u" /* successColor */],
- 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)}`
- }
- },
- warning: {
- backgroundColor: nextjs_material_kit["z" /* warningColor */],
- 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)}`,
- "&:hover,&:focus": {
- backgroundColor: nextjs_material_kit["z" /* warningColor */],
- 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)}`
- }
- },
- danger: {
- backgroundColor: nextjs_material_kit["f" /* dangerColor */],
- 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)}`,
- "&:hover,&:focus": {
- backgroundColor: nextjs_material_kit["f" /* dangerColor */],
- 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)}`
- }
- },
- rose: {
- backgroundColor: nextjs_material_kit["r" /* roseColor */],
- 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)}`,
- "&:hover,&:focus": {
- backgroundColor: nextjs_material_kit["r" /* roseColor */],
- 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)}`
- }
- },
- white: {
- "&,&:focus,&:hover,&:visited": {
- backgroundColor: "#FFFFFF",
- color: nextjs_material_kit["i" /* grayColor */]
- }
- },
- twitter: {
- backgroundColor: "#55acee",
- color: "#fff",
- 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)",
- "&:hover,&:focus,&:visited": {
- backgroundColor: "#55acee",
- color: "#fff",
- 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)"
- }
- },
- facebook: {
- backgroundColor: "#3b5998",
- color: "#fff",
- 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)",
- "&:hover,&:focus": {
- backgroundColor: "#3b5998",
- color: "#fff",
- 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)"
- }
- },
- google: {
- backgroundColor: "#dd4b39",
- color: "#fff",
- 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)",
- "&:hover,&:focus": {
- backgroundColor: "#dd4b39",
- color: "#fff",
- 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)"
- }
- },
- github: {
- backgroundColor: "#333333",
- color: "#fff",
- 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)",
- "&:hover,&:focus": {
- backgroundColor: "#333333",
- color: "#fff",
- 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)"
- }
- },
- simple: {
- "&,&:focus,&:hover,&:visited": {
- color: "#FFFFFF",
- background: "transparent",
- boxShadow: "none"
- },
- "&$primary": {
- "&,&:focus,&:hover,&:visited": {
- color: nextjs_material_kit["p" /* primaryColor */]
- }
- },
- "&$info": {
- "&,&:focus,&:hover,&:visited": {
- color: nextjs_material_kit["m" /* infoColor */]
- }
- },
- "&$success": {
- "&,&:focus,&:hover,&:visited": {
- color: nextjs_material_kit["u" /* successColor */]
- }
- },
- "&$warning": {
- "&,&:focus,&:hover,&:visited": {
- color: nextjs_material_kit["z" /* warningColor */]
- }
- },
- "&$rose": {
- "&,&:focus,&:hover,&:visited": {
- color: nextjs_material_kit["r" /* roseColor */]
- }
- },
- "&$danger": {
- "&,&:focus,&:hover,&:visited": {
- color: nextjs_material_kit["f" /* dangerColor */]
- }
- },
- "&$twitter": {
- "&,&:focus,&:hover,&:visited": {
- color: "#55acee"
- }
- },
- "&$facebook": {
- "&,&:focus,&:hover,&:visited": {
- color: "#3b5998"
- }
- },
- "&$google": {
- "&,&:focus,&:hover,&:visited": {
- color: "#dd4b39"
- }
- },
- "&$github": {
- "&,&:focus,&:hover,&:visited": {
- color: "#333333"
- }
- }
- },
- transparent: {
- "&,&:focus,&:hover,&:visited": {
- color: "inherit",
- background: "transparent",
- boxShadow: "none"
- }
- },
- disabled: {
- opacity: "0.65",
- pointerEvents: "none"
- },
- lg: {
- padding: "1.125rem 2.25rem",
- fontSize: "0.875rem",
- lineHeight: "1.333333",
- borderRadius: "0.2rem"
- },
- sm: {
- padding: "0.40625rem 1.25rem",
- fontSize: "0.6875rem",
- lineHeight: "1.5",
- borderRadius: "0.2rem"
- },
- round: {
- borderRadius: "30px"
- },
- block: {
- width: "100% !important"
- },
- link: {
- "&,&:hover,&:focus": {
- backgroundColor: "transparent",
- color: "#999999",
- boxShadow: "none"
- }
- },
- justIcon: {
- paddingLeft: "12px",
- paddingRight: "12px",
- fontSize: "20px",
- height: "41px",
- minWidth: "41px",
- width: "41px",
- "& .fab,& .fas,& .far,& .fal,& svg,& .material-icons": {
- marginRight: "0px"
- },
- "&$lg": {
- height: "57px",
- minWidth: "57px",
- width: "57px",
- lineHeight: "56px",
- "& .fab,& .fas,& .far,& .fal,& .material-icons": {
- fontSize: "32px",
- lineHeight: "56px"
- },
- "& svg": {
- width: "32px",
- height: "32px"
- }
- },
- "&$sm": {
- height: "30px",
- minWidth: "30px",
- width: "30px",
- "& .fab,& .fas,& .far,& .fal,& .material-icons": {
- fontSize: "17px",
- lineHeight: "29px"
- },
- "& svg": {
- width: "17px",
- height: "17px"
- }
- }
- }
- };
- /* harmony default export */ var components_buttonStyle = (buttonStyle);
- // CONCATENATED MODULE: ./components/CustomButtons/Button.js
- var __jsx = external_react_default.a.createElement;
-
- 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); }
-
- 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; }
-
- 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; }
-
- 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; }
-
- 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; }
-
- 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; }
-
- // nodejs library to set properties for components
-
- // nodejs library that concatenates classes
- // @material-ui/core components
-
-
- // core components
-
-
- const makeComponentStyles = makeStyles_default()(() => _objectSpread({}, components_buttonStyle));
- const RegularButton = external_react_default.a.forwardRef((props, ref) => {
- const {
- color,
- round,
- children,
- fullWidth,
- disabled,
- simple,
- size,
- block,
- link,
- justIcon,
- className
- } = props,
- rest = _objectWithoutProperties(props, ["color", "round", "children", "fullWidth", "disabled", "simple", "size", "block", "link", "justIcon", "className"]);
-
- const classes = makeComponentStyles();
- const btnClasses = external_classnames_default()({
- [classes.button]: true,
- [classes[size]]: size,
- [classes[color]]: color,
- [classes.round]: round,
- [classes.fullWidth]: fullWidth,
- [classes.disabled]: disabled,
- [classes.simple]: simple,
- [classes.block]: block,
- [classes.link]: link,
- [classes.justIcon]: justIcon,
- [className]: className
- });
- return __jsx(Button_default.a, _extends({}, rest, {
- ref: ref,
- classes: {
- root: btnClasses
- }
- }), children);
- });
- /* harmony default export */ var Button = __webpack_exports__["a"] = (RegularButton);
-
- /***/ }),
-
- /***/ "M9IG":
- /***/ (function(module, exports) {
-
-
-
- /***/ }),
-
- /***/ "M9mM":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/banner2-9b13bfcc35584684c36fa83e18cb55f3.jpg";
-
- /***/ }),
-
- /***/ "MXZv":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/emilia-d6ad9d26dda2a0eac3893d42b9bfcff8.jpg";
-
- /***/ }),
-
- /***/ "Ms0O":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/core/Toolbar");
-
- /***/ }),
-
- /***/ "O/hg":
- /***/ (function(module, exports) {
-
- module.exports = require("react-slick");
-
- /***/ }),
-
- /***/ "Osoz":
- /***/ (function(module, exports) {
-
- module.exports = require("next/dist/next-server/lib/router-context.js");
-
- /***/ }),
-
- /***/ "Q01v":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/core/Drawer");
-
- /***/ }),
-
- /***/ "QOEo":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
-
- "use strict";
-
- // EXPORTS
- __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ CustomDropdown; });
-
- // EXTERNAL MODULE: external "react"
- var external_react_ = __webpack_require__("cDcd");
- var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
-
- // EXTERNAL MODULE: external "classnames"
- var external_classnames_ = __webpack_require__("K2gz");
- var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
-
- // EXTERNAL MODULE: external "@material-ui/core/styles"
- var styles_ = __webpack_require__("9Pu4");
-
- // EXTERNAL MODULE: external "@material-ui/core/MenuItem"
- var MenuItem_ = __webpack_require__("x54t");
- var MenuItem_default = /*#__PURE__*/__webpack_require__.n(MenuItem_);
-
- // EXTERNAL MODULE: external "@material-ui/core/MenuList"
- var MenuList_ = __webpack_require__("xmQw");
- var MenuList_default = /*#__PURE__*/__webpack_require__.n(MenuList_);
-
- // EXTERNAL MODULE: external "@material-ui/core/ClickAwayListener"
- var ClickAwayListener_ = __webpack_require__("31Yn");
- var ClickAwayListener_default = /*#__PURE__*/__webpack_require__.n(ClickAwayListener_);
-
- // EXTERNAL MODULE: external "@material-ui/core/Paper"
- var Paper_ = __webpack_require__("qt1I");
- var Paper_default = /*#__PURE__*/__webpack_require__.n(Paper_);
-
- // EXTERNAL MODULE: external "@material-ui/core/Grow"
- var Grow_ = __webpack_require__("mf1M");
- var Grow_default = /*#__PURE__*/__webpack_require__.n(Grow_);
-
- // EXTERNAL MODULE: external "@material-ui/core/Divider"
- var Divider_ = __webpack_require__("nybW");
- var Divider_default = /*#__PURE__*/__webpack_require__.n(Divider_);
-
- // EXTERNAL MODULE: external "@material-ui/core/Icon"
- var Icon_ = __webpack_require__("7vM9");
- var Icon_default = /*#__PURE__*/__webpack_require__.n(Icon_);
-
- // EXTERNAL MODULE: external "@material-ui/core/Popper"
- var Popper_ = __webpack_require__("jD8W");
- var Popper_default = /*#__PURE__*/__webpack_require__.n(Popper_);
-
- // EXTERNAL MODULE: ./components/CustomButtons/Button.js + 1 modules
- var Button = __webpack_require__("Kg+a");
-
- // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
- var nextjs_material_kit = __webpack_require__("eDSW");
-
- // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/customDropdownStyle.js
- 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; }
-
- 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; }
-
- 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; }
-
-
-
- const customDropdownStyle = theme => ({
- popperClose: {
- pointerEvents: "none"
- },
- pooperNav: {
- [theme.breakpoints.down("sm")]: {
- position: "static !important",
- left: "unset !important",
- top: "unset !important",
- transform: "none !important",
- willChange: "none !important",
- "& > div": {
- boxShadow: "none !important",
- marginLeft: "1.5rem",
- marginRight: "1.5rem",
- transition: "none !important",
- marginTop: "0px !important",
- marginBottom: "5px !important",
- padding: "0px !important"
- }
- }
- },
- dropdown: {
- borderRadius: "3px",
- border: "0",
- boxShadow: "0 2px 5px 0 rgba(0, 0, 0, 0.26)",
- top: "100%",
- zIndex: "1000",
- minWidth: "160px",
- padding: "5px 0",
- margin: "2px 0 0",
- fontSize: "14px",
- textAlign: "left",
- listStyle: "none",
- backgroundColor: "#fff",
- backgroundClip: "padding-box"
- },
- menuList: {
- padding: "0"
- },
- popperResponsive: {
- zIndex: "1200",
- position: "absolute !important",
- [theme.breakpoints.down("sm")]: {
- zIndex: "1640",
- position: "static !important",
- float: "none",
- width: "auto",
- marginTop: "0",
- backgroundColor: "transparent",
- border: "0",
- boxShadow: "none",
- color: "black"
- }
- },
- dropdownItem: _objectSpread({}, nextjs_material_kit["g" /* defaultFont */], {
- fontSize: "13px",
- padding: "10px 20px",
- margin: "0 5px",
- borderRadius: "2px",
- position: "relative",
- transition: "all 150ms linear",
- display: "block",
- clear: "both",
- fontWeight: "400",
- height: "fit-content",
- color: "#333",
- whiteSpace: "nowrap",
- minHeight: "unset"
- }),
- blackHover: {
- "&:hover": {
- boxShadow: "0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(33, 33, 33, 0.4)",
- backgroundColor: "#212121",
- color: "#fff"
- }
- },
- primaryHover: {
- "&:hover": _objectSpread({
- backgroundColor: nextjs_material_kit["m" /* infoColor */],
- color: "#FFFFFF"
- }, nextjs_material_kit["n" /* primaryBoxShadow */])
- },
- infoHover: {
- "&:hover": _objectSpread({
- backgroundColor: nextjs_material_kit["m" /* infoColor */],
- color: "#FFFFFF"
- }, nextjs_material_kit["k" /* infoBoxShadow */])
- },
- successHover: {
- "&:hover": _objectSpread({
- backgroundColor: nextjs_material_kit["u" /* successColor */],
- color: "#FFFFFF"
- }, nextjs_material_kit["s" /* successBoxShadow */])
- },
- warningHover: {
- "&:hover": _objectSpread({
- backgroundColor: nextjs_material_kit["z" /* warningColor */],
- color: "#FFFFFF"
- }, nextjs_material_kit["x" /* warningBoxShadow */])
- },
- dangerHover: {
- "&:hover": _objectSpread({
- backgroundColor: nextjs_material_kit["f" /* dangerColor */],
- color: "#FFFFFF"
- }, nextjs_material_kit["d" /* dangerBoxShadow */])
- },
- roseHover: {
- "&:hover": _objectSpread({
- backgroundColor: nextjs_material_kit["r" /* roseColor */],
- color: "#FFFFFF"
- }, nextjs_material_kit["q" /* roseBoxShadow */])
- },
- dropdownItemRTL: {
- textAlign: "right"
- },
- dropdownDividerItem: {
- margin: "5px 0",
- backgroundColor: "rgba(0, 0, 0, 0.12)",
- height: "1px",
- overflow: "hidden"
- },
- buttonIcon: {
- width: "20px",
- height: "20px"
- },
- caret: {
- transition: "all 150ms ease-in",
- display: "inline-block",
- width: "0",
- height: "0",
- marginLeft: "4px",
- verticalAlign: "middle",
- borderTop: "4px solid",
- borderRight: "4px solid transparent",
- borderLeft: "4px solid transparent"
- },
- caretActive: {
- transform: "rotate(180deg)"
- },
- caretRTL: {
- marginRight: "4px"
- },
- dropdownHeader: {
- display: "block",
- padding: "0.1875rem 1.25rem",
- fontSize: "0.75rem",
- lineHeight: "1.428571",
- color: "#777",
- whiteSpace: "nowrap",
- fontWeight: "inherit",
- marginTop: "10px",
- minHeight: "unset",
- "&:hover,&:focus": {
- backgroundColor: "transparent",
- cursor: "auto"
- }
- },
- noLiPadding: {
- padding: "0"
- }
- });
-
- /* harmony default export */ var components_customDropdownStyle = (customDropdownStyle);
- // CONCATENATED MODULE: ./components/CustomDropdown/CustomDropdown.js
- var __jsx = external_react_default.a.createElement;
-
- 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); }
-
- // nodejs library that concatenates classes
-
- // nodejs library to set properties for components
-
- // @material-ui/core components
-
-
-
-
-
-
-
-
- // core components
-
-
-
- const useStyles = Object(styles_["makeStyles"])(components_customDropdownStyle);
- function CustomDropdown(props) {
- const [anchorEl, setAnchorEl] = external_react_default.a.useState(null);
-
- const handleClick = event => {
- if (anchorEl && anchorEl.contains(event.target)) {
- setAnchorEl(null);
- } else {
- setAnchorEl(event.currentTarget);
- }
- };
-
- const handleClose = param => {
- setAnchorEl(null);
-
- if (props && props.onClick) {
- props.onClick(param);
- }
- };
-
- const handleCloseAway = event => {
- if (anchorEl.contains(event.target)) {
- return;
- }
-
- setAnchorEl(null);
- };
-
- const classes = useStyles();
- const {
- buttonText,
- buttonIcon,
- dropdownList,
- buttonProps,
- dropup,
- dropdownHeader,
- caret,
- hoverColor,
- left,
- rtlActive,
- noLiPadding,
- navDropdown
- } = props;
- const caretClasses = external_classnames_default()({
- [classes.caret]: true,
- [classes.caretActive]: Boolean(anchorEl),
- [classes.caretRTL]: rtlActive
- });
- const dropdownItem = external_classnames_default()({
- [classes.dropdownItem]: true,
- [classes[hoverColor + "Hover"]]: true,
- [classes.noLiPadding]: noLiPadding,
- [classes.dropdownItemRTL]: rtlActive
- });
- let icon = null;
-
- switch (typeof buttonIcon) {
- case "object":
- icon = __jsx(props.buttonIcon, {
- className: classes.buttonIcon
- });
- break;
-
- case "string":
- icon = __jsx(Icon_default.a, {
- className: classes.buttonIcon
- }, props.buttonIcon);
- break;
-
- default:
- icon = null;
- break;
- }
-
- return __jsx("div", null, __jsx("div", null, __jsx(Button["a" /* default */], _extends({
- "aria-label": "Notifications",
- "aria-owns": anchorEl ? "menu-list" : null,
- "aria-haspopup": "true"
- }, buttonProps, {
- onClick: handleClick
- }), icon, buttonText !== undefined ? buttonText : null, caret ? __jsx("b", {
- className: caretClasses
- }) : null)), __jsx(Popper_default.a, {
- open: Boolean(anchorEl),
- anchorEl: anchorEl,
- transition: true,
- disablePortal: true,
- placement: dropup ? left ? "top-start" : "top" : left ? "bottom-start" : "bottom",
- className: external_classnames_default()({
- [classes.popperClose]: !anchorEl,
- [classes.popperResponsive]: true,
- [classes.pooperNav]: Boolean(anchorEl) && navDropdown
- })
- }, () => __jsx(Grow_default.a, {
- in: Boolean(anchorEl),
- id: "menu-list",
- style: dropup ? {
- transformOrigin: "0 100% 0"
- } : {
- transformOrigin: "0 0 0"
- }
- }, __jsx(Paper_default.a, {
- className: classes.dropdown
- }, __jsx(ClickAwayListener_default.a, {
- onClickAway: handleCloseAway
- }, __jsx(MenuList_default.a, {
- role: "menu",
- className: classes.menuList
- }, dropdownHeader !== undefined ? __jsx(MenuItem_default.a, {
- onClick: () => handleClose(dropdownHeader),
- className: classes.dropdownHeader
- }, dropdownHeader) : null, dropdownList.map((prop, key) => {
- if (prop.divider) {
- return __jsx(Divider_default.a, {
- key: key,
- onClick: () => handleClose("divider"),
- className: classes.dropdownDividerItem
- });
- }
-
- return __jsx(MenuItem_default.a, {
- key: key,
- onClick: () => handleClose(prop),
- className: dropdownItem
- }, prop);
- })))))));
- }
- CustomDropdown.defaultProps = {
- caret: true,
- hoverColor: "primary"
- };
-
- /***/ }),
-
- /***/ "T+ot":
- /***/ (function(module, exports) {
-
-
-
- /***/ }),
-
- /***/ "UVoM":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/core/Typography");
-
- /***/ }),
-
- /***/ "Uynj":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/core/Container");
-
- /***/ }),
-
- /***/ "Wh1t":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/core/Button");
-
- /***/ }),
-
- /***/ "Y8uC":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/core/Hidden");
-
- /***/ }),
-
- /***/ "YFqc":
- /***/ (function(module, exports, __webpack_require__) {
-
- module.exports = __webpack_require__("cTJO")
-
-
- /***/ }),
-
- /***/ "YTqd":
- /***/ (function(module, exports, __webpack_require__) {
-
- "use strict";
-
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- }); // this isn't importing the escape-string-regex module
- // to reduce bytes
-
- function escapeRegex(str) {
- return str.replace(/[|\\{}()[\]^$+*?.-]/g, '\\$&');
- }
-
- function getRouteRegex(normalizedRoute) {
- // Escape all characters that could be considered RegEx
- const escapedRoute = escapeRegex(normalizedRoute.replace(/\/$/, '') || '/');
- const groups = {};
- let groupIndex = 1;
- const parameterizedRoute = escapedRoute.replace(/\/\\\[([^/]+?)\\\](?=\/|$)/g, (_, $1) => {
- const isCatchAll = /^(\\\.){3}/.test($1);
- groups[$1 // Un-escape key
- .replace(/\\([|\\{}()[\]^$+*?.-])/g, '$1').replace(/^\.{3}/, '') // eslint-disable-next-line no-sequences
- ] = {
- pos: groupIndex++,
- repeat: isCatchAll
- };
- return isCatchAll ? '/(.+?)' : '/([^/]+?)';
- });
- let namedParameterizedRoute; // dead code eliminate for browser since it's only needed
- // while generating routes-manifest
-
- if (true) {
- namedParameterizedRoute = escapedRoute.replace(/\/\\\[([^/]+?)\\\](?=\/|$)/g, (_, $1) => {
- const isCatchAll = /^(\\\.){3}/.test($1);
- const key = $1 // Un-escape key
- .replace(/\\([|\\{}()[\]^$+*?.-])/g, '$1').replace(/^\.{3}/, '');
- return isCatchAll ? `/(?<${escapeRegex(key)}>.+?)` : `/(?<${escapeRegex(key)}>[^/]+?)`;
- });
- }
-
- return Object.assign({
- re: new RegExp('^' + parameterizedRoute + '(?:/)?$', 'i'),
- groups
- }, namedParameterizedRoute ? {
- namedRegex: `^${namedParameterizedRoute}(?:/)?$`
- } : {});
- }
-
- exports.getRouteRegex = getRouteRegex;
-
- /***/ }),
-
- /***/ "ZAH2":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/wa-2ae55f7d04bded7d00a9e1d55df479f3.png";
-
- /***/ }),
-
- /***/ "aK6x":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/1-416162d55345d3080e5f067b2bbba6d9.jpg";
-
- /***/ }),
-
- /***/ "bzos":
- /***/ (function(module, exports) {
-
- module.exports = require("url");
-
- /***/ }),
-
- /***/ "c25J":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/core/ListItem");
-
- /***/ }),
-
- /***/ "cDcd":
- /***/ (function(module, exports) {
-
- module.exports = require("react");
-
- /***/ }),
-
- /***/ "cTJO":
- /***/ (function(module, exports, __webpack_require__) {
-
- "use strict";
-
-
- var _interopRequireDefault = __webpack_require__("AroE");
-
- var _interopRequireWildcard = __webpack_require__("7KCV");
-
- exports.__esModule = true;
- exports.default = void 0;
-
- var _react = _interopRequireWildcard(__webpack_require__("cDcd"));
-
- var _url = __webpack_require__("bzos");
-
- var _utils = __webpack_require__("kYf9");
-
- var _router = _interopRequireDefault(__webpack_require__("nOHt"));
-
- var _router2 = __webpack_require__("elyg");
-
- function isLocal(href) {
- var url = (0, _url.parse)(href, false, true);
- var origin = (0, _url.parse)((0, _utils.getLocationOrigin)(), false, true);
- return !url.host || url.protocol === origin.protocol && url.host === origin.host;
- }
-
- function memoizedFormatUrl(formatFunc) {
- var lastHref = null;
- var lastAs = null;
- var lastResult = null;
- return (href, as) => {
- if (lastResult && href === lastHref && as === lastAs) {
- return lastResult;
- }
-
- var result = formatFunc(href, as);
- lastHref = href;
- lastAs = as;
- lastResult = result;
- return result;
- };
- }
-
- function formatUrl(url) {
- return url && typeof url === 'object' ? (0, _utils.formatWithValidation)(url) : url;
- }
-
- var observer;
- var listeners = new Map();
- var IntersectionObserver = false ? undefined : null;
- var prefetched = {};
-
- function getObserver() {
- // Return shared instance of IntersectionObserver if already created
- if (observer) {
- return observer;
- } // Only create shared IntersectionObserver if supported in browser
-
-
- if (!IntersectionObserver) {
- return undefined;
- }
-
- return observer = new IntersectionObserver(entries => {
- entries.forEach(entry => {
- if (!listeners.has(entry.target)) {
- return;
- }
-
- var cb = listeners.get(entry.target);
-
- if (entry.isIntersecting || entry.intersectionRatio > 0) {
- observer.unobserve(entry.target);
- listeners.delete(entry.target);
- cb();
- }
- });
- }, {
- rootMargin: '200px'
- });
- }
-
- var listenToIntersections = (el, cb) => {
- var observer = getObserver();
-
- if (!observer) {
- return () => {};
- }
-
- observer.observe(el);
- listeners.set(el, cb);
- return () => {
- try {
- observer.unobserve(el);
- } catch (err) {
- console.error(err);
- }
-
- listeners.delete(el);
- };
- };
-
- class Link extends _react.Component {
- constructor(props) {
- super(props);
- this.p = void 0;
-
- this.cleanUpListeners = () => {};
-
- this.formatUrls = memoizedFormatUrl((href, asHref) => {
- return {
- href: (0, _router2.addBasePath)(formatUrl(href)),
- as: asHref ? (0, _router2.addBasePath)(formatUrl(asHref)) : asHref
- };
- });
-
- this.linkClicked = e => {
- var {
- nodeName,
- target
- } = e.currentTarget;
-
- if (nodeName === 'A' && (target && target !== '_self' || e.metaKey || e.ctrlKey || e.shiftKey || e.nativeEvent && e.nativeEvent.which === 2)) {
- // ignore click for new tab / new window behavior
- return;
- }
-
- var {
- href,
- as
- } = this.formatUrls(this.props.href, this.props.as);
-
- if (!isLocal(href)) {
- // ignore click if it's outside our scope (e.g. https://google.com)
- return;
- }
-
- var {
- pathname
- } = window.location;
- href = (0, _url.resolve)(pathname, href);
- as = as ? (0, _url.resolve)(pathname, as) : href;
- e.preventDefault(); // avoid scroll for urls with anchor refs
-
- var {
- scroll
- } = this.props;
-
- if (scroll == null) {
- scroll = as.indexOf('#') < 0;
- } // replace state instead of push if prop is present
-
-
- _router.default[this.props.replace ? 'replace' : 'push'](href, as, {
- shallow: this.props.shallow
- }).then(success => {
- if (!success) return;
-
- if (scroll) {
- window.scrollTo(0, 0);
- document.body.focus();
- }
- });
- };
-
- if (false) {}
-
- this.p = props.prefetch !== false;
- }
-
- componentWillUnmount() {
- this.cleanUpListeners();
- }
-
- getPaths() {
- var {
- pathname
- } = window.location;
- var {
- href: parsedHref,
- as: parsedAs
- } = this.formatUrls(this.props.href, this.props.as);
- var resolvedHref = (0, _url.resolve)(pathname, parsedHref);
- return [resolvedHref, parsedAs ? (0, _url.resolve)(pathname, parsedAs) : resolvedHref];
- }
-
- handleRef(ref) {
- if (this.p && IntersectionObserver && ref && ref.tagName) {
- this.cleanUpListeners();
- var isPrefetched = prefetched[this.getPaths().join( // Join on an invalid URI character
- '%')];
-
- if (!isPrefetched) {
- this.cleanUpListeners = listenToIntersections(ref, () => {
- this.prefetch();
- });
- }
- }
- } // The function is memoized so that no extra lifecycles are needed
- // as per https://reactjs.org/blog/2018/06/07/you-probably-dont-need-derived-state.html
-
-
- prefetch(options) {
- if (!this.p || true) return; // Prefetch the JSON page if asked (only in the client)
-
- var paths = this.getPaths(); // We need to handle a prefetch error here since we may be
- // loading with priority which can reject but we don't
- // want to force navigation since this is only a prefetch
-
- _router.default.prefetch(paths[
- /* href */
- 0], paths[
- /* asPath */
- 1], options).catch(err => {
- if (false) {}
- });
-
- prefetched[paths.join( // Join on an invalid URI character
- '%')] = true;
- }
-
- render() {
- var {
- children
- } = this.props;
- var {
- href,
- as
- } = 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
-
- if (typeof children === 'string') {
- children = _react.default.createElement("a", null, children);
- } // This will return the first child, if multiple are provided it will throw an error
-
-
- var child = _react.Children.only(children);
-
- var props = {
- ref: el => {
- this.handleRef(el);
-
- if (child && typeof child === 'object' && child.ref) {
- if (typeof child.ref === 'function') child.ref(el);else if (typeof child.ref === 'object') {
- child.ref.current = el;
- }
- }
- },
- onMouseEnter: e => {
- if (child.props && typeof child.props.onMouseEnter === 'function') {
- child.props.onMouseEnter(e);
- }
-
- this.prefetch({
- priority: true
- });
- },
- onClick: e => {
- if (child.props && typeof child.props.onClick === 'function') {
- child.props.onClick(e);
- }
-
- if (!e.defaultPrevented) {
- this.linkClicked(e);
- }
- }
- }; // If child is an <a> tag and doesn't have a href attribute, or if the 'passHref' property is
- // defined, we specify the current 'href', so that repetition is not needed by the user
-
- if (this.props.passHref || child.type === 'a' && !('href' in child.props)) {
- props.href = as || href;
- } // Add the ending slash to the paths. So, we can serve the
- // "<page>/index.html" directly.
-
-
- if (false) { var rewriteUrlForNextExport; }
-
- return _react.default.cloneElement(child, props);
- }
-
- }
-
- if (false) { var exact, PropTypes, warn; }
-
- var _default = Link;
- exports.default = _default;
-
- /***/ }),
-
- /***/ "cpj4":
- /***/ (function(module, exports) {
-
-
-
- /***/ }),
-
- /***/ "dZ6Y":
- /***/ (function(module, exports, __webpack_require__) {
-
- "use strict";
-
- /*
- MIT License
-
- Copyright (c) Jason Miller (https://jasonformat.com/)
-
- 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:
-
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
- 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.
- */
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- function mitt() {
- const all = Object.create(null);
- return {
- on(type, handler) {
- ;
- (all[type] || (all[type] = [])).push(handler);
- },
-
- off(type, handler) {
- if (all[type]) {
- // tslint:disable-next-line:no-bitwise
- all[type].splice(all[type].indexOf(handler) >>> 0, 1);
- }
- },
-
- emit(type, ...evts) {
- // eslint-disable-next-line array-callback-return
- ;
- (all[type] || []).slice().map(handler => {
- handler(...evts);
- });
- }
-
- };
- }
-
- exports.default = mitt;
-
- /***/ }),
-
- /***/ "djX/":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/honda-a638f272ea2bcb2f799a3e1b3d9cb10c.jpg";
-
- /***/ }),
-
- /***/ "eDSW":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
-
- "use strict";
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return hexToRGBAlpha; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return drawerWidth; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return transition; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return container; });
- /* unused harmony export conatinerFluid */
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return boxShadow; });
- /* unused harmony export card */
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return defaultFont; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return primaryColor; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return warningColor; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return dangerColor; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return successColor; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return infoColor; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return roseColor; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return grayColor; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return primaryBoxShadow; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return infoBoxShadow; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return successBoxShadow; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return warningBoxShadow; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return dangerBoxShadow; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return roseBoxShadow; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return warningCardHeader; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return successCardHeader; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return dangerCardHeader; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return infoCardHeader; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return primaryCardHeader; });
- /* unused harmony export roseCardHeader */
- /* unused harmony export cardActions */
- /* unused harmony export cardHeader */
- /* unused harmony export defaultBoxShadow */
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return title; });
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return cardTitle; });
- /* unused harmony export cardLink */
- /* unused harmony export cardSubtitle */
- 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; }
-
- 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; }
-
- 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; }
-
- const hexColorToRGB = function (hexColor) {
- let detectShorthand = /^#?([a-f\d])([a-f\d])([a-f\d])$/i; // #000 vs #000000
-
- hexColor = hexColor.replace(detectShorthand, function (m, r, g, b) {
- return r + r + g + g + b + b;
- });
- const hex_array = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hexColor); // #000000 to #ffffff
-
- return hex_array ? {
- r: parseInt(hex_array[1], 16),
- // 0-255
- g: parseInt(hex_array[2], 16),
- // 0-255
- b: parseInt(hex_array[3], 16) // 0-255
-
- } : null;
- };
-
- const hexToRGBAlpha = function (hexColor, alpha) {
- let rgb = hexColorToRGB(hexColor);
- return `rgba(${rgb.r},${rgb.g},${rgb.b},${alpha})`;
- };
-
- const drawerWidth = 260;
- const transition = {
- transition: "all 0.33s cubic-bezier(0.685, 0.0473, 0.346, 1)"
- };
- const conatinerFluid = {
- paddingRight: "15px",
- paddingLeft: "15px",
- marginRight: "auto",
- marginLeft: "auto",
- width: "100%"
- };
-
- const container = _objectSpread({}, conatinerFluid, {
- "@media (min-width: 576px)": {
- maxWidth: "540px"
- },
- "@media (min-width: 768px)": {
- maxWidth: "720px"
- },
- "@media (min-width: 992px)": {
- maxWidth: "960px"
- },
- "@media (min-width: 1200px)": {
- maxWidth: "1140px"
- }
- });
-
- const boxShadow = {
- 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)"
- };
- const card = {
- display: "inline-block",
- position: "relative",
- width: "100%",
- margin: "25px 0",
- boxShadow: "0 1px 4px 0 rgba(0, 0, 0, 0.14)",
- borderRadius: "3px",
- color: "rgba(0, 0, 0, 0.87)",
- background: "#fff"
- };
- const defaultFont = {
- fontFamily: '"Roboto", "Helvetica", "Arial", sans-serif',
- fontWeight: "300",
- lineHeight: "1.5em"
- };
- const primaryColor = "#212121";
- const warningColor = "#ff9800";
- const dangerColor = "#f44336";
- const successColor = "#4caf50";
- const infoColor = "#212121";
- const roseColor = "#e91e63";
- const grayColor = "#ffffff";
- const primaryBoxShadow = {
- 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)}`
- };
- const infoBoxShadow = {
- 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)}`
- };
- const successBoxShadow = {
- 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)}`
- };
- const warningBoxShadow = {
- 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)}`
- };
- const dangerBoxShadow = {
- 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)}`
- };
- const roseBoxShadow = {
- boxShadow: `0 4px 20px 0px ${hexToRGBAlpha("#000", 0.14)}, 0 7px 10px -5px ${hexToRGBAlpha(roseColor, 0.4)}`
- };
-
- const warningCardHeader = _objectSpread({
- color: "#fff",
- background: "linear-gradient(60deg, #ffa726, #fb8c00)"
- }, warningBoxShadow);
-
- const successCardHeader = _objectSpread({
- color: "#fff",
- background: "linear-gradient(60deg, #66bb6a, #43a047)"
- }, successBoxShadow);
-
- const dangerCardHeader = _objectSpread({
- color: "#fff",
- background: "linear-gradient(60deg, #ef5350, #e53935)"
- }, dangerBoxShadow);
-
- const infoCardHeader = _objectSpread({
- color: "#fff",
- background: "#212121"
- }, infoBoxShadow);
-
- const primaryCardHeader = _objectSpread({
- color: "#fff",
- background: "linear-gradient(60deg, #ab47bc, #8e24aa)"
- }, primaryBoxShadow);
-
- const roseCardHeader = _objectSpread({
- color: "#fff",
- background: "linear-gradient(60deg, #ec407a, #d81b60)"
- }, roseBoxShadow);
-
- const cardActions = _objectSpread({
- margin: "0 20px 10px",
- paddingTop: "10px",
- borderTop: "1px solid #eeeeee",
- height: "auto"
- }, defaultFont);
-
- const cardHeader = {
- margin: "-30px 15px 0",
- borderRadius: "3px",
- padding: "15px"
- };
- const defaultBoxShadow = {
- border: "0",
- borderRadius: "3px",
- 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)",
- padding: "10px 0",
- transition: "all 150ms ease 0s"
- };
- const title = {
- color: "#ffffff",
- margin: "1.75rem 0 0.875rem",
- textDecoration: "none",
- fontWeight: "700",
- fontFamily: `"Roboto Slab", "Times New Roman", serif`
- };
-
- const cardTitle = _objectSpread({}, title, {
- marginTop: ".625rem"
- });
-
- const cardLink = {
- "& + $cardLink": {
- marginLeft: "1.25rem"
- }
- };
- const cardSubtitle = {
- marginBottom: "0",
- marginTop: "-.375rem"
- };
-
-
- /***/ }),
-
- /***/ "elyg":
- /***/ (function(module, exports, __webpack_require__) {
-
- "use strict";
-
-
- var __importDefault = this && this.__importDefault || function (mod) {
- return mod && mod.__esModule ? mod : {
- "default": mod
- };
- };
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- const url_1 = __webpack_require__("bzos");
-
- const mitt_1 = __importDefault(__webpack_require__("dZ6Y"));
-
- const utils_1 = __webpack_require__("g/15");
-
- const is_dynamic_1 = __webpack_require__("/jkW");
-
- const route_matcher_1 = __webpack_require__("gguc");
-
- const route_regex_1 = __webpack_require__("YTqd");
-
- const basePath = false || '';
-
- function addBasePath(path) {
- return path.indexOf(basePath) !== 0 ? basePath + path : path;
- }
-
- exports.addBasePath = addBasePath;
-
- function delBasePath(path) {
- return path.indexOf(basePath) === 0 ? path.substr(basePath.length) || '/' : path;
- }
-
- exports.delBasePath = delBasePath;
-
- function toRoute(path) {
- return path.replace(/\/$/, '') || '/';
- }
-
- const prepareRoute = path => toRoute(!path || path === '/' ? '/index' : path);
-
- function fetchNextData(pathname, query, isServerRender, cb) {
- let attempts = isServerRender ? 3 : 1;
-
- function getResponse() {
- return fetch(utils_1.formatWithValidation({
- pathname: addBasePath( // @ts-ignore __NEXT_DATA__
- `/_next/data/${__NEXT_DATA__.buildId}${delBasePath(pathname)}.json`),
- query
- }), {
- // Cookies are required to be present for Next.js' SSG "Preview Mode".
- // Cookies may also be required for `getServerSideProps`.
- //
- // > `fetch` won’t send cookies, unless you set the credentials init
- // > option.
- // https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch
- //
- // > For maximum browser compatibility when it comes to sending &
- // > receiving cookies, always supply the `credentials: 'same-origin'`
- // > option instead of relying on the default.
- // https://github.com/github/fetch#caveats
- credentials: 'same-origin'
- }).then(res => {
- if (!res.ok) {
- if (--attempts > 0 && res.status >= 500) {
- return getResponse();
- }
-
- throw new Error(`Failed to load static props`);
- }
-
- return res.json();
- });
- }
-
- return getResponse().then(data => {
- return cb ? cb(data) : data;
- }).catch(err => {
- // We should only trigger a server-side transition if this was caused
- // on a client-side transition. Otherwise, we'd get into an infinite
- // loop.
- if (!isServerRender) {
- ;
- err.code = 'PAGE_LOAD_ERROR';
- }
-
- throw err;
- });
- }
-
- class Router {
- constructor(pathname, query, as, {
- initialProps,
- pageLoader,
- App,
- wrapApp,
- Component,
- err,
- subscription,
- isFallback
- }) {
- // Static Data Cache
- this.sdc = {};
-
- this.onPopState = e => {
- if (!e.state) {
- // We get state as undefined for two reasons.
- // 1. With older safari (< 8) and older chrome (< 34)
- // 2. When the URL changed with #
- //
- // In the both cases, we don't need to proceed and change the route.
- // (as it's already changed)
- // But we can simply replace the state with the new changes.
- // Actually, for (1) we don't need to nothing. But it's hard to detect that event.
- // So, doing the following for (1) does no harm.
- const {
- pathname,
- query
- } = this;
- this.changeState('replaceState', utils_1.formatWithValidation({
- pathname,
- query
- }), utils_1.getURL());
- return;
- } // Make sure we don't re-render on initial load,
- // can be caused by navigating back from an external site
-
-
- if (e.state && this.isSsr && e.state.as === this.asPath && url_1.parse(e.state.url).pathname === this.pathname) {
- return;
- } // If the downstream application returns falsy, return.
- // They will then be responsible for handling the event.
-
-
- if (this._bps && !this._bps(e.state)) {
- return;
- }
-
- const {
- url,
- as,
- options
- } = e.state;
-
- if (false) {}
-
- this.replace(url, as, options);
- };
-
- this._getStaticData = asPath => {
- const pathname = prepareRoute(url_1.parse(asPath).pathname);
- return true && this.sdc[pathname] ? Promise.resolve(this.sdc[pathname]) : fetchNextData(pathname, null, this.isSsr, data => this.sdc[pathname] = data);
- };
-
- this._getServerData = asPath => {
- let {
- pathname,
- query
- } = url_1.parse(asPath, true);
- pathname = prepareRoute(pathname);
- return fetchNextData(pathname, query, this.isSsr);
- }; // represents the current component key
-
-
- this.route = toRoute(pathname); // set up the component cache (by route keys)
-
- this.components = {}; // We should not keep the cache, if there's an error
- // Otherwise, this cause issues when when going back and
- // come again to the errored page.
-
- if (pathname !== '/_error') {
- this.components[this.route] = {
- Component,
- props: initialProps,
- err,
- __N_SSG: initialProps && initialProps.__N_SSG,
- __N_SSP: initialProps && initialProps.__N_SSP
- };
- }
-
- this.components['/_app'] = {
- Component: App
- }; // Backwards compat for Router.router.events
- // TODO: Should be remove the following major version as it was never documented
-
- this.events = Router.events;
- this.pageLoader = pageLoader;
- this.pathname = pathname;
- this.query = query; // if auto prerendered and dynamic route wait to update asPath
- // until after mount to prevent hydration mismatch
-
- this.asPath = // @ts-ignore this is temporarily global (attached to window)
- is_dynamic_1.isDynamicRoute(pathname) && __NEXT_DATA__.autoExport ? pathname : as;
- this.basePath = basePath;
- this.sub = subscription;
- this.clc = null;
- this._wrapApp = wrapApp; // make sure to ignore extra popState in safari on navigating
- // back from external site
-
- this.isSsr = true;
- this.isFallback = isFallback;
-
- if (false) {}
- } // @deprecated backwards compatibility even though it's a private method.
-
-
- static _rewriteUrlForNextExport(url) {
- if (false) {} else {
- return url;
- }
- }
-
- update(route, mod) {
- const Component = mod.default || mod;
- const data = this.components[route];
-
- if (!data) {
- throw new Error(`Cannot update unavailable route: ${route}`);
- }
-
- const newData = Object.assign(Object.assign({}, data), {
- Component,
- __N_SSG: mod.__N_SSG,
- __N_SSP: mod.__N_SSP
- });
- this.components[route] = newData; // pages/_app.js updated
-
- if (route === '/_app') {
- this.notify(this.components[this.route]);
- return;
- }
-
- if (route === this.route) {
- this.notify(newData);
- }
- }
-
- reload() {
- window.location.reload();
- }
- /**
- * Go back in history
- */
-
-
- back() {
- window.history.back();
- }
- /**
- * Performs a `pushState` with arguments
- * @param url of the route
- * @param as masks `url` for the browser
- * @param options object you can define `shallow` and other options
- */
-
-
- push(url, as = url, options = {}) {
- return this.change('pushState', url, as, options);
- }
- /**
- * Performs a `replaceState` with arguments
- * @param url of the route
- * @param as masks `url` for the browser
- * @param options object you can define `shallow` and other options
- */
-
-
- replace(url, as = url, options = {}) {
- return this.change('replaceState', url, as, options);
- }
-
- change(method, _url, _as, options) {
- return new Promise((resolve, reject) => {
- if (!options._h) {
- this.isSsr = false;
- } // marking route changes as a navigation start entry
-
-
- if (utils_1.ST) {
- performance.mark('routeChange');
- } // If url and as provided as an object representation,
- // we'll format them into the string version here.
-
-
- let url = typeof _url === 'object' ? utils_1.formatWithValidation(_url) : _url;
- let as = typeof _as === 'object' ? utils_1.formatWithValidation(_as) : _as;
- url = addBasePath(url);
- as = addBasePath(as); // Add the ending slash to the paths. So, we can serve the
- // "<page>/index.html" directly for the SSR page.
-
- if (false) {}
-
- this.abortComponentLoad(as); // If the url change is only related to a hash change
- // We should not proceed. We should only change the state.
- // WARNING: `_h` is an internal option for handing Next.js client-side
- // hydration. Your app should _never_ use this property. It may change at
- // any time without notice.
-
- if (!options._h && this.onlyAHashChange(as)) {
- this.asPath = as;
- Router.events.emit('hashChangeStart', as);
- this.changeState(method, url, as, options);
- this.scrollToHash(as);
- Router.events.emit('hashChangeComplete', as);
- return resolve(true);
- }
-
- const {
- pathname,
- query,
- protocol
- } = url_1.parse(url, true);
-
- if (!pathname || protocol) {
- if (false) {}
-
- return resolve(false);
- } // If asked to change the current URL we should reload the current page
- // (not location.reload() but reload getInitialProps and other Next.js stuffs)
- // We also need to set the method = replaceState always
- // as this should not go into the history (That's how browsers work)
- // We should compare the new asPath to the current asPath, not the url
-
-
- if (!this.urlIsNew(as)) {
- method = 'replaceState';
- }
-
- const route = toRoute(pathname);
- const {
- shallow = false
- } = options;
-
- if (is_dynamic_1.isDynamicRoute(route)) {
- const {
- pathname: asPathname
- } = url_1.parse(as);
- const routeRegex = route_regex_1.getRouteRegex(route);
- const routeMatch = route_matcher_1.getRouteMatcher(routeRegex)(asPathname);
-
- if (!routeMatch) {
- const missingParams = Object.keys(routeRegex.groups).filter(param => !query[param]);
-
- if (missingParams.length > 0) {
- if (false) {}
-
- 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`));
- }
- } else {
- // Merge params into `query`, overwriting any specified in search
- Object.assign(query, routeMatch);
- }
- }
-
- Router.events.emit('routeChangeStart', as); // If shallow is true and the route exists in the router cache we reuse the previous result
-
- this.getRouteInfo(route, pathname, query, as, shallow).then(routeInfo => {
- const {
- error
- } = routeInfo;
-
- if (error && error.cancelled) {
- return resolve(false);
- }
-
- Router.events.emit('beforeHistoryChange', as);
- this.changeState(method, url, as, options);
-
- if (false) {}
-
- this.set(route, pathname, query, as, routeInfo);
-
- if (error) {
- Router.events.emit('routeChangeError', error, as);
- throw error;
- }
-
- Router.events.emit('routeChangeComplete', as);
- return resolve(true);
- }, reject);
- });
- }
-
- changeState(method, url, as, options = {}) {
- if (false) {}
-
- if (method !== 'pushState' || utils_1.getURL() !== as) {
- window.history[method]({
- url,
- as,
- options
- }, // Most browsers currently ignores this parameter, although they may use it in the future.
- // Passing the empty string here should be safe against future changes to the method.
- // https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState
- '', as);
- }
- }
-
- getRouteInfo(route, pathname, query, as, shallow = false) {
- const cachedRouteInfo = this.components[route]; // If there is a shallow route transition possible
- // If the route is already rendered on the screen.
-
- if (shallow && cachedRouteInfo && this.route === route) {
- return Promise.resolve(cachedRouteInfo);
- }
-
- const handleError = (err, loadErrorFail) => {
- return new Promise(resolve => {
- if (err.code === 'PAGE_LOAD_ERROR' || loadErrorFail) {
- // If we can't load the page it could be one of following reasons
- // 1. Page doesn't exists
- // 2. Page does exist in a different zone
- // 3. Internal error while loading the page
- // So, doing a hard reload is the proper way to deal with this.
- window.location.href = as; // Changing the URL doesn't block executing the current code path.
- // So, we need to mark it as a cancelled error and stop the routing logic.
-
- err.cancelled = true; // @ts-ignore TODO: fix the control flow here
-
- return resolve({
- error: err
- });
- }
-
- if (err.cancelled) {
- // @ts-ignore TODO: fix the control flow here
- return resolve({
- error: err
- });
- }
-
- resolve(this.fetchComponent('/_error').then(res => {
- const {
- page: Component
- } = res;
- const routeInfo = {
- Component,
- err
- };
- return new Promise(resolve => {
- this.getInitialProps(Component, {
- err,
- pathname,
- query
- }).then(props => {
- routeInfo.props = props;
- routeInfo.error = err;
- resolve(routeInfo);
- }, gipErr => {
- console.error('Error in error page `getInitialProps`: ', gipErr);
- routeInfo.error = err;
- routeInfo.props = {};
- resolve(routeInfo);
- });
- });
- }).catch(err => handleError(err, true)));
- });
- };
-
- return new Promise((resolve, reject) => {
- if (cachedRouteInfo) {
- return resolve(cachedRouteInfo);
- }
-
- this.fetchComponent(route).then(res => resolve({
- Component: res.page,
- __N_SSG: res.mod.__N_SSG,
- __N_SSP: res.mod.__N_SSP
- }), reject);
- }).then(routeInfo => {
- const {
- Component,
- __N_SSG,
- __N_SSP
- } = routeInfo;
-
- if (false) {}
-
- 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`
- {
- pathname,
- query,
- asPath: as
- })).then(props => {
- routeInfo.props = props;
- this.components[route] = routeInfo;
- return routeInfo;
- });
- }).catch(handleError);
- }
-
- set(route, pathname, query, as, data) {
- this.isFallback = false;
- this.route = route;
- this.pathname = pathname;
- this.query = query;
- this.asPath = as;
- this.notify(data);
- }
- /**
- * Callback to execute before replacing router state
- * @param cb callback to be executed
- */
-
-
- beforePopState(cb) {
- this._bps = cb;
- }
-
- onlyAHashChange(as) {
- if (!this.asPath) return false;
- const [oldUrlNoHash, oldHash] = this.asPath.split('#');
- const [newUrlNoHash, newHash] = as.split('#'); // Makes sure we scroll to the provided hash if the url/hash are the same
-
- if (newHash && oldUrlNoHash === newUrlNoHash && oldHash === newHash) {
- return true;
- } // If the urls are change, there's more than a hash change
-
-
- if (oldUrlNoHash !== newUrlNoHash) {
- return false;
- } // If the hash has changed, then it's a hash only change.
- // This check is necessary to handle both the enter and
- // leave hash === '' cases. The identity case falls through
- // and is treated as a next reload.
-
-
- return oldHash !== newHash;
- }
-
- scrollToHash(as) {
- const [, hash] = as.split('#'); // Scroll to top if the hash is just `#` with no value
-
- if (hash === '') {
- window.scrollTo(0, 0);
- return;
- } // First we check if the element by id is found
-
-
- const idEl = document.getElementById(hash);
-
- if (idEl) {
- idEl.scrollIntoView();
- return;
- } // If there's no element with the id, we check the `name` property
- // To mirror browsers
-
-
- const nameEl = document.getElementsByName(hash)[0];
-
- if (nameEl) {
- nameEl.scrollIntoView();
- }
- }
-
- urlIsNew(asPath) {
- return this.asPath !== asPath;
- }
- /**
- * Prefetch page code, you may wait for the data during page rendering.
- * This feature only works in production!
- * @param url the href of prefetched page
- * @param asPath the as path of the prefetched page
- */
-
-
- prefetch(url, asPath = url, options = {}) {
- return new Promise((resolve, reject) => {
- const {
- pathname,
- protocol
- } = url_1.parse(url);
-
- if (!pathname || protocol) {
- if (false) {}
-
- return;
- } // Prefetch is not supported in development mode because it would trigger on-demand-entries
-
-
- if (false) {}
-
- const route = delBasePath(toRoute(pathname));
- Promise.all([this.pageLoader.prefetchData(url, delBasePath(asPath)), this.pageLoader[options.priority ? 'loadPage' : 'prefetch'](route)]).then(() => resolve(), reject);
- });
- }
-
- async fetchComponent(route) {
- let cancelled = false;
-
- const cancel = this.clc = () => {
- cancelled = true;
- };
-
- route = delBasePath(route);
- const componentResult = await this.pageLoader.loadPage(route);
-
- if (cancelled) {
- const error = new Error(`Abort fetching component for route: "${route}"`);
- error.cancelled = true;
- throw error;
- }
-
- if (cancel === this.clc) {
- this.clc = null;
- }
-
- return componentResult;
- }
-
- _getData(fn) {
- let cancelled = false;
-
- const cancel = () => {
- cancelled = true;
- };
-
- this.clc = cancel;
- return fn().then(data => {
- if (cancel === this.clc) {
- this.clc = null;
- }
-
- if (cancelled) {
- const err = new Error('Loading initial props cancelled');
- err.cancelled = true;
- throw err;
- }
-
- return data;
- });
- }
-
- getInitialProps(Component, ctx) {
- const {
- Component: App
- } = this.components['/_app'];
-
- const AppTree = this._wrapApp(App);
-
- ctx.AppTree = AppTree;
- return utils_1.loadGetInitialProps(App, {
- AppTree,
- Component,
- router: this,
- ctx
- });
- }
-
- abortComponentLoad(as) {
- if (this.clc) {
- const e = new Error('Route Cancelled');
- e.cancelled = true;
- Router.events.emit('routeChangeError', e, as);
- this.clc();
- this.clc = null;
- }
- }
-
- notify(data) {
- this.sub(data, this.components['/_app'].Component);
- }
-
- }
-
- exports.default = Router;
- Router.events = mitt_1.default();
-
- /***/ }),
-
- /***/ "ewzQ":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/2-1080f82f8b1e678dc61ed590cf39b1b8.jpg";
-
- /***/ }),
-
- /***/ "fJ1K":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/6-66e3aad6f5f3098dfdc1586ee76f2122.jpg";
-
- /***/ }),
-
- /***/ "g/15":
- /***/ (function(module, exports, __webpack_require__) {
-
- "use strict";
-
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- const url_1 = __webpack_require__("bzos");
- /**
- * Utils
- */
-
-
- function execOnce(fn) {
- let used = false;
- let result;
- return (...args) => {
- if (!used) {
- used = true;
- result = fn(...args);
- }
-
- return result;
- };
- }
-
- exports.execOnce = execOnce;
-
- function getLocationOrigin() {
- const {
- protocol,
- hostname,
- port
- } = window.location;
- return `${protocol}//${hostname}${port ? ':' + port : ''}`;
- }
-
- exports.getLocationOrigin = getLocationOrigin;
-
- function getURL() {
- const {
- href
- } = window.location;
- const origin = getLocationOrigin();
- return href.substring(origin.length);
- }
-
- exports.getURL = getURL;
-
- function getDisplayName(Component) {
- return typeof Component === 'string' ? Component : Component.displayName || Component.name || 'Unknown';
- }
-
- exports.getDisplayName = getDisplayName;
-
- function isResSent(res) {
- return res.finished || res.headersSent;
- }
-
- exports.isResSent = isResSent;
-
- async function loadGetInitialProps(App, ctx) {
- var _a;
-
- if (false) {} // when called from _app `ctx` is nested in `ctx`
-
-
- const res = ctx.res || ctx.ctx && ctx.ctx.res;
-
- if (!App.getInitialProps) {
- if (ctx.ctx && ctx.Component) {
- // @ts-ignore pageProps default
- return {
- pageProps: await loadGetInitialProps(ctx.Component, ctx.ctx)
- };
- }
-
- return {};
- }
-
- const props = await App.getInitialProps(ctx);
-
- if (res && isResSent(res)) {
- return props;
- }
-
- if (!props) {
- const message = `"${getDisplayName(App)}.getInitialProps()" should resolve to an object. But found "${props}" instead.`;
- throw new Error(message);
- }
-
- if (false) {}
-
- return props;
- }
-
- exports.loadGetInitialProps = loadGetInitialProps;
- exports.urlObjectKeys = ['auth', 'hash', 'host', 'hostname', 'href', 'path', 'pathname', 'port', 'protocol', 'query', 'search', 'slashes'];
-
- function formatWithValidation(url, options) {
- if (false) {}
-
- return url_1.format(url, options);
- }
-
- exports.formatWithValidation = formatWithValidation;
- exports.SP = typeof performance !== 'undefined';
- exports.ST = exports.SP && typeof performance.mark === 'function' && typeof performance.measure === 'function';
-
- /***/ }),
-
- /***/ "gguc":
- /***/ (function(module, exports, __webpack_require__) {
-
- "use strict";
-
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- function getRouteMatcher(routeRegex) {
- const {
- re,
- groups
- } = routeRegex;
- return pathname => {
- const routeMatch = re.exec(pathname);
-
- if (!routeMatch) {
- return false;
- }
-
- const decode = param => {
- try {
- return decodeURIComponent(param);
- } catch (_) {
- const err = new Error('failed to decode param');
- err.code = 'DECODE_FAILED';
- throw err;
- }
- };
-
- const params = {};
- Object.keys(groups).forEach(slugName => {
- const g = groups[slugName];
- const m = routeMatch[g.pos];
-
- if (m !== undefined) {
- params[slugName] = ~m.indexOf('/') ? m.split('/').map(entry => decode(entry)) : g.repeat ? [decode(m)] : decode(m);
- }
- });
- return params;
- };
- }
-
- exports.getRouteMatcher = getRouteMatcher;
-
- /***/ }),
-
- /***/ "gpfI":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/White-bd6f0737533faa5691f72c5d9b00aeb6.png";
-
- /***/ }),
-
- /***/ "i4t8":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
-
- "use strict";
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return GridItem; });
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
- /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("9Pu4");
- /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__);
- /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("JQ2V");
- /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2__);
- var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
-
- 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); }
-
- 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; }
-
- 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; }
-
- // nodejs library to set properties for components
-
- // @material-ui/core components
-
-
- const styles = {
- grid: {
- position: "relative",
- width: "100%",
- minHeight: "1px",
- paddingRight: "15px",
- paddingLeft: "15px",
- flexBasis: "auto"
- }
- };
- const useStyles = Object(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__["makeStyles"])(styles);
- function GridItem(props) {
- const classes = useStyles();
-
- const {
- children,
- className
- } = props,
- rest = _objectWithoutProperties(props, ["children", "className"]);
-
- return __jsx(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2___default.a, _extends({
- item: true
- }, rest, {
- className: classes.grid + " " + className
- }), children);
- }
- GridItem.defaultProps = {
- className: ""
- };
-
- /***/ }),
-
- /***/ "jD8W":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/core/Popper");
-
- /***/ }),
-
- /***/ "kYf9":
- /***/ (function(module, exports) {
-
- module.exports = require("next/dist/next-server/lib/utils.js");
-
- /***/ }),
-
- /***/ "mf1M":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/core/Grow");
-
- /***/ }),
-
- /***/ "mtPR":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
-
- "use strict";
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return GridContainer; });
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
- /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("9Pu4");
- /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__);
- /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("JQ2V");
- /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2__);
- var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
-
- 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); }
-
- 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; }
-
- 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; }
-
- // nodejs library to set properties for components
-
- // @material-ui/core components
-
-
- const styles = {
- grid: {
- marginRight: "-15px",
- marginLeft: "-15px",
- width: "auto"
- }
- };
- const useStyles = Object(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__["makeStyles"])(styles);
- function GridContainer(props) {
- const classes = useStyles();
-
- const {
- children,
- className
- } = props,
- rest = _objectWithoutProperties(props, ["children", "className"]);
-
- return __jsx(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2___default.a, _extends({
- container: true
- }, rest, {
- className: classes.grid + " " + className
- }), children);
- }
- GridContainer.defaultProps = {
- className: ""
- };
-
- /***/ }),
-
- /***/ "n6U9":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/2-ab20be31e4afcad441ac2b169537f96e.jpg";
-
- /***/ }),
-
- /***/ "nOHt":
- /***/ (function(module, exports, __webpack_require__) {
-
- "use strict";
-
-
- var _interopRequireWildcard = __webpack_require__("7KCV");
-
- var _interopRequireDefault = __webpack_require__("AroE");
-
- exports.__esModule = true;
- exports.useRouter = useRouter;
- exports.makePublicRouterInstance = makePublicRouterInstance;
- exports.createRouter = exports.withRouter = exports.default = void 0;
-
- var _react = _interopRequireDefault(__webpack_require__("cDcd"));
-
- var _router2 = _interopRequireWildcard(__webpack_require__("elyg"));
-
- exports.Router = _router2.default;
- exports.NextRouter = _router2.NextRouter;
-
- var _routerContext = __webpack_require__("Osoz");
-
- var _withRouter = _interopRequireDefault(__webpack_require__("0Bsm"));
-
- exports.withRouter = _withRouter.default;
- /* global window */
-
- var singletonRouter = {
- router: null,
- // holds the actual router instance
- readyCallbacks: [],
-
- ready(cb) {
- if (this.router) return cb();
-
- if (false) {}
- }
-
- }; // Create public properties and methods of the router in the singletonRouter
-
- var urlPropertyFields = ['pathname', 'route', 'query', 'asPath', 'components', 'isFallback', 'basePath'];
- var routerEvents = ['routeChangeStart', 'beforeHistoryChange', 'routeChangeComplete', 'routeChangeError', 'hashChangeStart', 'hashChangeComplete'];
- 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
-
- Object.defineProperty(singletonRouter, 'events', {
- get() {
- return _router2.default.events;
- }
-
- });
- urlPropertyFields.forEach(field => {
- // Here we need to use Object.defineProperty because, we need to return
- // the property assigned to the actual router
- // The value might get changed as we change routes and this is the
- // proper way to access it
- Object.defineProperty(singletonRouter, field, {
- get() {
- var router = getRouter();
- return router[field];
- }
-
- });
- });
- coreMethodFields.forEach(field => {
- // We don't really know the types here, so we add them later instead
- ;
-
- singletonRouter[field] = function () {
- var router = getRouter();
- return router[field](...arguments);
- };
- });
- routerEvents.forEach(event => {
- singletonRouter.ready(() => {
- _router2.default.events.on(event, function () {
- var eventField = "on" + event.charAt(0).toUpperCase() + event.substring(1);
- var _singletonRouter = singletonRouter;
-
- if (_singletonRouter[eventField]) {
- try {
- _singletonRouter[eventField](...arguments);
- } catch (err) {
- // tslint:disable-next-line:no-console
- console.error("Error when running the Router event: " + eventField); // tslint:disable-next-line:no-console
-
- console.error(err.message + "\n" + err.stack);
- }
- }
- });
- });
- });
-
- function getRouter() {
- if (!singletonRouter.router) {
- var message = 'No router instance found.\n' + 'You should only use "next/router" inside the client side of your app.\n';
- throw new Error(message);
- }
-
- return singletonRouter.router;
- } // Export the singletonRouter and this is the public API.
-
-
- var _default = singletonRouter; // Reexport the withRoute HOC
-
- exports.default = _default;
-
- function useRouter() {
- return _react.default.useContext(_routerContext.RouterContext);
- } // INTERNAL APIS
- // -------------
- // (do not use following exports inside the app)
- // Create a router and assign it as the singleton instance.
- // This is used in client side when we are initilizing the app.
- // This should **not** use inside the server.
-
-
- var createRouter = function createRouter() {
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- singletonRouter.router = new _router2.default(...args);
- singletonRouter.readyCallbacks.forEach(cb => cb());
- singletonRouter.readyCallbacks = [];
- return singletonRouter.router;
- }; // This function is used to create the `withRouter` router instance
-
-
- exports.createRouter = createRouter;
-
- function makePublicRouterInstance(router) {
- var _router = router;
- var instance = {};
-
- for (var property of urlPropertyFields) {
- if (typeof _router[property] === 'object') {
- instance[property] = Object.assign({}, _router[property]); // makes sure query is not stateful
-
- continue;
- }
-
- instance[property] = _router[property];
- } // Events is a static property on the router, the router doesn't have to be initialized to use it
-
-
- instance.events = _router2.default.events;
- coreMethodFields.forEach(field => {
- instance[field] = function () {
- return _router[field](...arguments);
- };
- });
- return instance;
- }
-
- /***/ }),
-
- /***/ "nybW":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/core/Divider");
-
- /***/ }),
-
- /***/ "oLCs":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
-
- "use strict";
- /* harmony import */ var assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("eDSW");
-
- const footerStyle = {
- block: {
- color: "inherit",
- padding: "0.9375rem",
- fontWeight: "500",
- fontSize: "12px",
- textTransform: "uppercase",
- borderRadius: "3px",
- textDecoration: "none",
- position: "relative",
- display: "block"
- },
- left: {
- float: "left!important",
- display: "block"
- },
- right: {
- padding: "15px 0",
- margin: "0",
- float: "right!important"
- },
- footer: {
- padding: "0.9375rem 0",
- textAlign: "center",
- display: "flex",
- zIndex: "2",
- position: "relative"
- },
- a: {
- color: assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__[/* primaryColor */ "p"],
- textDecoration: "none",
- backgroundColor: "transparent"
- },
- footerWhiteFont: {
- "&,&:hover,&:focus": {
- color: "#FFFFFF"
- }
- },
- container: assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__[/* container */ "c"],
- list: {
- marginBottom: "0",
- padding: "0",
- marginTop: "0"
- },
- inlineBlock: {
- display: "inline-block",
- padding: "0px",
- width: "auto"
- },
- icon: {
- width: "18px",
- height: "18px",
- position: "relative",
- top: "3px"
- }
- };
- /* harmony default export */ __webpack_exports__["a"] = (footerStyle);
-
- /***/ }),
-
- /***/ "ovCH":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/mercedes-4556e45b752dfcddc36f5ee294a964d9.jpg";
-
- /***/ }),
-
- /***/ "pvnu":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/3-7848a229413c4ca6244c39288cfc8cba.jpg";
-
- /***/ }),
-
- /***/ "q9Kh":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/banner1-43a89912749104523e5869f1c72e3c2b.jpg";
-
- /***/ }),
-
- /***/ "qY8J":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/yamaha1-1b8dd8e10a85975df2831e83c77088a9.jpg";
-
- /***/ }),
-
- /***/ "qt1I":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/core/Paper");
-
- /***/ }),
-
- /***/ "vcqE":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/Blue-65ac076684958d807ddaaf34ef9647f9.png";
-
- /***/ }),
-
- /***/ "wmUz":
- /***/ (function(module, exports) {
-
- module.exports = "/_next/static/images/5-a327457d484718fd10bb3e23741bcee5.jpg";
-
- /***/ }),
-
- /***/ "x54t":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/core/MenuItem");
-
- /***/ }),
-
- /***/ "xmQw":
- /***/ (function(module, exports) {
-
- module.exports = require("@material-ui/core/MenuList");
-
- /***/ })
-
- /******/ });
|