text: 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 = 4);
  /******/ })
  /************************************************************************/
  /******/ ({
  
  /***/ "./node_modules/@babel/runtime-corejs2/core-js/map.js":
  /*!************************************************************!*\
    !*** ./node_modules/@babel/runtime-corejs2/core-js/map.js ***!
    \************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  module.exports = __webpack_require__(/*! core-js/library/fn/map */ "core-js/library/fn/map");
  
  /***/ }),
  
  /***/ "./node_modules/@babel/runtime-corejs2/core-js/object/assign.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/@babel/runtime-corejs2/core-js/object/assign.js ***!
    \**********************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  module.exports = __webpack_require__(/*! core-js/library/fn/object/assign */ "core-js/library/fn/object/assign");
  
  /***/ }),
  
  /***/ "./node_modules/@babel/runtime-corejs2/core-js/object/create.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/@babel/runtime-corejs2/core-js/object/create.js ***!
    \**********************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  module.exports = __webpack_require__(/*! core-js/library/fn/object/create */ "core-js/library/fn/object/create");
  
  /***/ }),
  
  /***/ "./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js":
  /*!*******************************************************************************!*\
    !*** ./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js ***!
    \*******************************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  module.exports = __webpack_require__(/*! core-js/library/fn/object/define-property */ "core-js/library/fn/object/define-property");
  
  /***/ }),
  
  /***/ "./node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-descriptor.js":
  /*!*******************************************************************************************!*\
    !*** ./node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-descriptor.js ***!
    \*******************************************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  module.exports = __webpack_require__(/*! core-js/library/fn/object/get-own-property-descriptor */ "core-js/library/fn/object/get-own-property-descriptor");
  
  /***/ }),
  
  /***/ "./node_modules/@babel/runtime-corejs2/core-js/object/keys.js":
  /*!********************************************************************!*\
    !*** ./node_modules/@babel/runtime-corejs2/core-js/object/keys.js ***!
    \********************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  module.exports = __webpack_require__(/*! core-js/library/fn/object/keys */ "core-js/library/fn/object/keys");
  
  /***/ }),
  
  /***/ "./node_modules/@babel/runtime-corejs2/core-js/promise.js":
  /*!****************************************************************!*\
    !*** ./node_modules/@babel/runtime-corejs2/core-js/promise.js ***!
    \****************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  module.exports = __webpack_require__(/*! core-js/library/fn/promise */ "core-js/library/fn/promise");
  
  /***/ }),
  
  /***/ "./node_modules/@babel/runtime-corejs2/core-js/weak-map.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/@babel/runtime-corejs2/core-js/weak-map.js ***!
    \*****************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  module.exports = __webpack_require__(/*! core-js/library/fn/weak-map */ "core-js/library/fn/weak-map");
  
  /***/ }),
  
  /***/ "./node_modules/@babel/runtime-corejs2/helpers/extends.js":
  /*!****************************************************************!*\
    !*** ./node_modules/@babel/runtime-corejs2/helpers/extends.js ***!
    \****************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  var _Object$assign = __webpack_require__(/*! ../core-js/object/assign */ "./node_modules/@babel/runtime-corejs2/core-js/object/assign.js");
  
  function _extends() {
    module.exports = _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);
  }
  
  module.exports = _extends;
  
  /***/ }),
  
  /***/ "./node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js ***!
    \******************************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  function _interopRequireDefault(obj) {
    return obj && obj.__esModule ? obj : {
      "default": obj
    };
  }
  
  module.exports = _interopRequireDefault;
  
  /***/ }),
  
  /***/ "./node_modules/@babel/runtime-corejs2/helpers/interopRequireWildcard.js":
  /*!*******************************************************************************!*\
    !*** ./node_modules/@babel/runtime-corejs2/helpers/interopRequireWildcard.js ***!
    \*******************************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  var _Object$getOwnPropertyDescriptor = __webpack_require__(/*! ../core-js/object/get-own-property-descriptor */ "./node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-descriptor.js");
  
  var _Object$defineProperty = __webpack_require__(/*! ../core-js/object/define-property */ "./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js");
  
  var _WeakMap = __webpack_require__(/*! ../core-js/weak-map */ "./node_modules/@babel/runtime-corejs2/core-js/weak-map.js");
  
  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;
    }
  
    var cache = _getRequireWildcardCache();
  
    if (cache && cache.has(obj)) {
      return cache.get(obj);
    }
  
    var newObj = {};
  
    if (obj != null) {
      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;
  
  /***/ }),
  
  /***/ "./node_modules/next/dist/client/link.js":
  /*!***********************************************!*\
    !*** ./node_modules/next/dist/client/link.js ***!
    \***********************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  "use strict";
  
  
  var _interopRequireWildcard = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireWildcard */ "./node_modules/@babel/runtime-corejs2/helpers/interopRequireWildcard.js");
  
  var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "./node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js");
  
  exports.__esModule = true;
  exports.default = void 0;
  
  var _map = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/map */ "./node_modules/@babel/runtime-corejs2/core-js/map.js"));
  
  var _url = __webpack_require__(/*! url */ "url");
  
  var _react = _interopRequireWildcard(__webpack_require__(/*! react */ "react"));
  
  var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ "prop-types"));
  
  var _router = _interopRequireDefault(__webpack_require__(/*! ./router */ "./node_modules/next/dist/client/router.js"));
  
  var _rewriteUrlForExport = __webpack_require__(/*! ../next-server/lib/router/rewrite-url-for-export */ "./node_modules/next/dist/next-server/lib/router/rewrite-url-for-export.js");
  
  var _utils = __webpack_require__(/*! ../next-server/lib/utils */ "./node_modules/next/dist/next-server/lib/utils.js");
  
  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.default();
  var IntersectionObserver = false ? undefined : null;
  
  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: formatUrl(href),
          as: asHref ? formatUrl(asHref) : asHref
        };
      });
  
      this.linkClicked = e => {
        // @ts-ignore target exists on currentTarget
        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 (true) {
        if (props.prefetch) {
          console.warn('Next.js auto-prefetches automatically based on viewport. The prefetch attribute is no longer needed. More: https://err.sh/zeit/next.js/prefetch-true-deprecated');
        }
      }
  
      this.p = props.prefetch !== false;
    }
  
    componentWillUnmount() {
      this.cleanUpListeners();
    }
  
    handleRef(ref) {
      if (this.p && IntersectionObserver && ref && ref.tagName) {
        this.cleanUpListeners();
        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() {
      if (!this.p || true) return; // Prefetch the JSON page if asked (only in the client)
  
      var {
        pathname
      } = window.location;
      var {
        href: parsedHref
      } = this.formatUrls(this.props.href, this.props.as);
      var href = (0, _url.resolve)(pathname, parsedHref);
  
      _router.default.prefetch(href);
    }
  
    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();
        },
        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) {}
  
      return _react.default.cloneElement(child, props);
    }
  
  }
  
  Link.propTypes = void 0;
  
  if (true) {
    var warn = (0, _utils.execOnce)(console.error); // This module gets removed by webpack.IgnorePlugin
  
    var exact = __webpack_require__(/*! prop-types-exact */ "prop-types-exact");
  
    Link.propTypes = exact({
      href: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object]).isRequired,
      as: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object]),
      prefetch: _propTypes.default.bool,
      replace: _propTypes.default.bool,
      shallow: _propTypes.default.bool,
      passHref: _propTypes.default.bool,
      scroll: _propTypes.default.bool,
      children: _propTypes.default.oneOfType([_propTypes.default.element, (props, propName) => {
        var value = props[propName];
  
        if (typeof value === 'string') {
          warn("Warning: You're using a string directly inside <Link>. This usage has been deprecated. Please add an <a> tag as child of <Link>");
        }
  
        return null;
      }]).isRequired
    });
  }
  
  var _default = Link;
  exports.default = _default;
  
  /***/ }),
  
  /***/ "./node_modules/next/dist/client/router.js":
  /*!*************************************************!*\
    !*** ./node_modules/next/dist/client/router.js ***!
    \*************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  "use strict";
  
  
  var _interopRequireWildcard = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireWildcard */ "./node_modules/@babel/runtime-corejs2/helpers/interopRequireWildcard.js");
  
  var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "./node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js");
  
  exports.__esModule = true;
  exports.useRouter = useRouter;
  exports.makePublicRouterInstance = makePublicRouterInstance;
  exports.createRouter = exports.withRouter = exports.default = void 0;
  
  var _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/extends */ "./node_modules/@babel/runtime-corejs2/helpers/extends.js"));
  
  var _defineProperty = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"));
  
  var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
  
  var _router2 = _interopRequireWildcard(__webpack_require__(/*! ../next-server/lib/router/router */ "./node_modules/next/dist/next-server/lib/router/router.js"));
  
  exports.Router = _router2.default;
  exports.NextRouter = _router2.NextRouter;
  
  var _routerContext = __webpack_require__(/*! ../next-server/lib/router-context */ "./node_modules/next/dist/next-server/lib/router-context.js");
  
  var _withRouter = _interopRequireDefault(__webpack_require__(/*! ./with-router */ "./node_modules/next/dist/client/with-router.js"));
  
  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'];
  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
  
  (0, _defineProperty.default)(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
    (0, _defineProperty.default)(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] = (0, _extends2.default)({}, _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;
  }
  
  /***/ }),
  
  /***/ "./node_modules/next/dist/client/with-router.js":
  /*!******************************************************!*\
    !*** ./node_modules/next/dist/client/with-router.js ***!
    \******************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  "use strict";
  
  
  var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "./node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js");
  
  exports.__esModule = true;
  exports.default = withRouter;
  
  var _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/extends */ "./node_modules/@babel/runtime-corejs2/helpers/extends.js"));
  
  var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
  
  var _router = __webpack_require__(/*! ./router */ "./node_modules/next/dist/client/router.js");
  
  function withRouter(ComposedComponent) {
    function WithRouterWrapper(props) {
      return _react.default.createElement(ComposedComponent, (0, _extends2.default)({
        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 (true) {
      var name = ComposedComponent.displayName || ComposedComponent.name || 'Unknown';
      WithRouterWrapper.displayName = "withRouter(" + name + ")";
    }
  
    return WithRouterWrapper;
  }
  
  /***/ }),
  
  /***/ "./node_modules/next/dist/next-server/lib/mitt.js":
  /*!********************************************************!*\
    !*** ./node_modules/next/dist/next-server/lib/mitt.js ***!
    \********************************************************/
  /*! no static exports found */
  /***/ (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.
  */
  
  var _Object$create = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/create */ "./node_modules/@babel/runtime-corejs2/core-js/object/create.js");
  
  var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js");
  
  _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;
  
  /***/ }),
  
  /***/ "./node_modules/next/dist/next-server/lib/router-context.js":
  /*!******************************************************************!*\
    !*** ./node_modules/next/dist/next-server/lib/router-context.js ***!
    \******************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  "use strict";
  
  
  var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js");
  
  var __importStar = this && this.__importStar || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
  };
  
  _Object$defineProperty(exports, "__esModule", {
    value: true
  });
  
  const React = __importStar(__webpack_require__(/*! react */ "react"));
  
  exports.RouterContext = React.createContext(null);
  
  /***/ }),
  
  /***/ "./node_modules/next/dist/next-server/lib/router/rewrite-url-for-export.js":
  /*!*********************************************************************************!*\
    !*** ./node_modules/next/dist/next-server/lib/router/rewrite-url-for-export.js ***!
    \*********************************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  "use strict";
  
  
  var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js");
  
  _Object$defineProperty(exports, "__esModule", {
    value: true
  });
  
  function rewriteUrlForNextExport(url) {
    const [pathname, hash] = url.split('#'); // tslint:disable-next-line
  
    let [path, qs] = pathname.split('?');
    path = path.replace(/\/$/, ''); // Append a trailing slash if this path does not have an extension
  
    if (!/\.[^/]+\/?$/.test(path)) path += `/`;
    if (qs) path += '?' + qs;
    if (hash) path += '#' + hash;
    return path;
  }
  
  exports.rewriteUrlForNextExport = rewriteUrlForNextExport;
  
  /***/ }),
  
  /***/ "./node_modules/next/dist/next-server/lib/router/router.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/next/dist/next-server/lib/router/router.js ***!
    \*****************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  "use strict";
  
  
  var _Promise = __webpack_require__(/*! @babel/runtime-corejs2/core-js/promise */ "./node_modules/@babel/runtime-corejs2/core-js/promise.js");
  
  var _Object$assign = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/assign */ "./node_modules/@babel/runtime-corejs2/core-js/object/assign.js");
  
  var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js");
  
  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__(/*! url */ "url");
  
  const mitt_1 = __importDefault(__webpack_require__(/*! ../mitt */ "./node_modules/next/dist/next-server/lib/mitt.js"));
  
  const utils_1 = __webpack_require__(/*! ../utils */ "./node_modules/next/dist/next-server/lib/utils.js");
  
  const rewrite_url_for_export_1 = __webpack_require__(/*! ./rewrite-url-for-export */ "./node_modules/next/dist/next-server/lib/router/rewrite-url-for-export.js");
  
  const is_dynamic_1 = __webpack_require__(/*! ./utils/is-dynamic */ "./node_modules/next/dist/next-server/lib/router/utils/is-dynamic.js");
  
  const route_matcher_1 = __webpack_require__(/*! ./utils/route-matcher */ "./node_modules/next/dist/next-server/lib/router/utils/route-matcher.js");
  
  const route_regex_1 = __webpack_require__(/*! ./utils/route-regex */ "./node_modules/next/dist/next-server/lib/router/utils/route-regex.js");
  
  function toRoute(path) {
    return path.replace(/\/$/, '') || '/';
  }
  
  class Router {
    constructor(pathname, query, as, {
      initialProps,
      pageLoader,
      App,
      wrapApp,
      Component,
      err,
      subscription
    }) {
      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.url === this.pathname && e.state.as === this.asPath) {
          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 (true) {
          if (typeof url === 'undefined' || typeof as === 'undefined') {
            console.warn('`popstate` event triggered but `event.state` did not have `url` or `as` https://err.sh/zeit/next.js/popstate-state-empty');
          }
        }
  
        this.replace(url, as, options);
      }; // 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
        };
      }
  
      this.components['/_app'] = {
        Component: App
      }; // Backwards compat for Router.router.events
      // TODO: Should be remove the following major version as it was never documented
      // @ts-ignore backwards compatibility
  
      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.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;
  
      if (false) {}
    } // @deprecated backwards compatibility even though it's a private method.
  
  
    static _rewriteUrlForNextExport(url) {
      return rewrite_url_for_export_1.rewriteUrlForNextExport(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({}, data, {
        Component
      });
  
      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.SUPPORTS_PERFORMANCE_USER_TIMING) {
          performance.mark('routeChange');
        } // If url and as provided as an object representation,
        // we'll format them into the string version here.
  
  
        const url = typeof _url === 'object' ? utils_1.formatWithValidation(_url) : _url;
        let as = typeof _as === 'object' ? utils_1.formatWithValidation(_as) : _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);
          this.scrollToHash(as);
          Router.events.emit('hashChangeComplete', as);
          return resolve(true);
        }
  
        const {
          pathname,
          query,
          protocol
        } = url_1.parse(url, true);
  
        if (!pathname || protocol) {
          if (true) {
            throw new Error(`Invalid href passed to router: ${url} https://err.sh/zeit/next.js/invalid-href-passed`);
          }
  
          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';
        } // @ts-ignore pathname is always a string
  
  
        const route = toRoute(pathname);
        const {
          shallow = false
        } = options;
  
        if (is_dynamic_1.isDynamicRoute(route)) {
          const {
            pathname: asPathname
          } = url_1.parse(as);
          const rr = route_regex_1.getRouteRegex(route);
          const routeMatch = route_matcher_1.getRouteMatcher(rr)(asPathname);
  
          if (!routeMatch) {
            const error = 'The provided `as` value is incompatible with the `href` value. This is invalid. https://err.sh/zeit/next.js/incompatible-href-as';
  
            if (true) {
              throw new Error(error);
            } else {}
  
            return resolve(false);
          } // 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
        // @ts-ignore pathname is always a string
  
        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);
          const hash = window.location.hash.substring(1);
  
          if (true) {
            const appComp = this.components['/_app'].Component;
            window.next.isPrerendered = appComp.getInitialProps === appComp.origGetInitialProps && !routeInfo.Component.getInitialProps;
          } // @ts-ignore pathname is always defined
  
  
          this.set(route, pathname, query, as, _Object$assign({}, routeInfo, {
            hash
          }));
  
          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 (true) {
        if (typeof window.history === 'undefined') {
          console.error(`Warning: window.history is not available.`);
          return;
        } // @ts-ignore method should always exist on history
  
  
        if (typeof window.history[method] === 'undefined') {
          console.error(`Warning: window.history.${method} is not available`);
          return;
        }
      }
  
      if (method !== 'pushState' || utils_1.getURL() !== as) {
        // @ts-ignore method should always exist on history
        window.history[method]({
          url,
          as,
          options
        }, null, 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);
      }
  
      return new _Promise((resolve, reject) => {
        if (cachedRouteInfo) {
          return resolve(cachedRouteInfo);
        }
  
        this.fetchComponent(route).then(Component => resolve({
          Component
        }), reject);
      }).then(routeInfo => {
        const {
          Component
        } = routeInfo;
  
        if (true) {
          const {
            isValidElementType
          } = __webpack_require__(/*! react-is */ "react-is");
  
          if (!isValidElementType(Component)) {
            throw new Error(`The default export is not a React Component in page: "${pathname}"`);
          }
        }
  
        return new _Promise((resolve, reject) => {
          // we provide AppTree later so this needs to be `any`
          this.getInitialProps(Component, {
            pathname,
            query,
            asPath: as
          }).then(props => {
            routeInfo.props = props;
            this.components[route] = routeInfo;
            resolve(routeInfo);
          }, reject);
        });
      }).catch(err => {
        return new _Promise(resolve => {
          if (err.code === 'PAGE_LOAD_ERROR') {
            // 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(Component => {
            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);
              });
            });
          }));
        });
      });
    }
  
    set(route, pathname, query, as, data) {
      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 of prefetched `page`
     */
  
  
    prefetch(url) {
      return new _Promise((resolve, reject) => {
        const {
          pathname,
          protocol
        } = url_1.parse(url);
  
        if (!pathname || protocol) {
          if (true) {
            throw new Error(`Invalid href passed to router: ${url} https://err.sh/zeit/next.js/invalid-href-passed`);
          }
  
          return;
        } // Prefetch is not supported in development mode because it would trigger on-demand-entries
  
  
        if (true) return; // @ts-ignore pathname is always defined
  
        const route = toRoute(pathname);
        this.pageLoader.prefetch(route).then(resolve, reject);
      });
    }
  
    async fetchComponent(route) {
      let cancelled = false;
  
      const cancel = this.clc = () => {
        cancelled = true;
      };
  
      const Component = 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 Component;
    }
  
    async getInitialProps(Component, ctx) {
      let cancelled = false;
  
      const cancel = () => {
        cancelled = true;
      };
  
      this.clc = cancel;
      const {
        Component: App
      } = this.components['/_app'];
      let props;
  
      if (Component.__NEXT_SPR) {
        let status; // pathname should have leading slash
  
        let {
          pathname
        } = url_1.parse(ctx.asPath || ctx.pathname);
        pathname = !pathname || pathname === '/' ? '/index' : pathname;
        props = await fetch( // @ts-ignore __NEXT_DATA__
        `/_next/data/${__NEXT_DATA__.buildId}${pathname}.json`).then(res => {
          if (!res.ok) {
            status = res.status;
            throw new Error('failed to load prerender data');
          }
  
          return res.json();
        }).catch(err => {
          console.error(`Failed to load data`, status, err);
          window.location.href = pathname;
          return new _Promise(() => {});
        });
      } else {
        const AppTree = this._wrapApp(App);
  
        ctx.AppTree = AppTree;
        props = await utils_1.loadGetInitialProps(App, {
          AppTree,
          Component,
          router: this,
          ctx
        });
      }
  
      if (cancel === this.clc) {
        this.clc = null;
      }
  
      if (cancelled) {
        const err = new Error('Loading initial props cancelled');
        err.cancelled = true;
        throw err;
      }
  
      return props;
    }
  
    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);
    }
  
  }
  
  Router.events = mitt_1.default();
  exports.default = Router;
  
  /***/ }),
  
  /***/ "./node_modules/next/dist/next-server/lib/router/utils/is-dynamic.js":
  /*!***************************************************************************!*\
    !*** ./node_modules/next/dist/next-server/lib/router/utils/is-dynamic.js ***!
    \***************************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  "use strict";
  
  
  var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js");
  
  _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;
  
  /***/ }),
  
  /***/ "./node_modules/next/dist/next-server/lib/router/utils/route-matcher.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/next/dist/next-server/lib/router/utils/route-matcher.js ***!
    \******************************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  "use strict";
  
  
  var _Object$keys = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/keys */ "./node_modules/@babel/runtime-corejs2/core-js/object/keys.js");
  
  var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js");
  
  _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 params = {};
  
      _Object$keys(groups).forEach(slugName => {
        const m = routeMatch[groups[slugName]];
  
        if (m !== undefined) {
          params[slugName] = m.indexOf('/') !== -1 ? m.split('/').map(entry => decodeURIComponent(entry)) : decodeURIComponent(m);
        }
      });
  
      return params;
    };
  }
  
  exports.getRouteMatcher = getRouteMatcher;
  
  /***/ }),
  
  /***/ "./node_modules/next/dist/next-server/lib/router/utils/route-regex.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/next/dist/next-server/lib/router/utils/route-regex.js ***!
    \****************************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  "use strict";
  
  
  var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js");
  
  _Object$defineProperty(exports, "__esModule", {
    value: true
  });
  
  function getRouteRegex(normalizedRoute) {
    // Escape all characters that could be considered RegEx
    const escapedRoute = (normalizedRoute.replace(/\/$/, '') || '/').replace(/[|\\{}()[\]^$+*?.-]/g, '\\$&');
    const groups = {};
    let groupIndex = 1;
    const parameterizedRoute = escapedRoute.replace(/\/\\\[([^/]+?)\\\](?=\/|$)/g, (_, $1) => (groups[$1 // Un-escape key
    .replace(/\\([|\\{}()[\]^$+*?.-])/g, '$1').replace(/^\.{3}/, '') // eslint-disable-next-line no-sequences
    ] = groupIndex++, $1.indexOf('\\.\\.\\.') === 0 ? '/(.+?)' : '/([^/]+?)'));
    return {
      re: new RegExp('^' + parameterizedRoute + '(?:/)?$', 'i'),
      groups
    };
  }
  
  exports.getRouteRegex = getRouteRegex;
  
  /***/ }),
  
  /***/ "./node_modules/next/dist/next-server/lib/utils.js":
  /*!*********************************************************!*\
    !*** ./node_modules/next/dist/next-server/lib/utils.js ***!
    \*********************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  "use strict";
  
  
  var _Object$keys = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/keys */ "./node_modules/@babel/runtime-corejs2/core-js/object/keys.js");
  
  var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js");
  
  _Object$defineProperty(exports, "__esModule", {
    value: true
  });
  
  const url_1 = __webpack_require__(/*! url */ "url");
  /**
   * Utils
   */
  
  
  function execOnce(fn) {
    let used = false;
    let result = null;
    return (...args) => {
      if (!used) {
        used = true;
        result = fn.apply(this, 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) {
    if (true) {
      if (App.prototype && App.prototype.getInitialProps) {
        const message = `"${getDisplayName(App)}.getInitialProps()" is defined as an instance method - visit https://err.sh/zeit/next.js/get-initial-props-as-an-instance-method for more information.`;
        throw new Error(message);
      }
    } // 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 (true) {
      if (_Object$keys(props).length === 0 && !ctx.ctx) {
        console.warn(`${getDisplayName(App)} returned an empty object from \`getInitialProps\`. This de-optimizes and prevents automatic static optimization. https://err.sh/zeit/next.js/empty-object-getInitialProps`);
      }
    }
  
    return props;
  }
  
  exports.loadGetInitialProps = loadGetInitialProps;
  exports.urlObjectKeys = ['auth', 'hash', 'host', 'hostname', 'href', 'path', 'pathname', 'port', 'protocol', 'query', 'search', 'slashes'];
  
  function formatWithValidation(url, options) {
    if (true) {
      if (url !== null && typeof url === 'object') {
        _Object$keys(url).forEach(key => {
          if (exports.urlObjectKeys.indexOf(key) === -1) {
            console.warn(`Unknown key passed via urlObject into url.format: ${key}`);
          }
        });
      }
    }
  
    return url_1.format(url, options);
  }
  
  exports.formatWithValidation = formatWithValidation;
  exports.SUPPORTS_PERFORMANCE = typeof performance !== 'undefined';
  exports.SUPPORTS_PERFORMANCE_USER_TIMING = exports.SUPPORTS_PERFORMANCE && typeof performance.mark === 'function' && typeof performance.measure === 'function';
  
  /***/ }),
  
  /***/ "./node_modules/next/link.js":
  /*!***********************************!*\
    !*** ./node_modules/next/link.js ***!
    \***********************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  module.exports = __webpack_require__(/*! ./dist/client/link */ "./node_modules/next/dist/client/link.js")
  
  
  /***/ }),
  
  /***/ "./pages/comps/Header.js":
  /*!*******************************!*\
    !*** ./pages/comps/Header.js ***!
    \*******************************/
  /*! exports provided: default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! next/link */ "./node_modules/next/link.js");
  /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_1__);
  var _jsxFileName = "/home/g-ah/Documents/Gobi/study/reactjs-study/pages/comps/Header.js";
  
  var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
  
  const linkStyle = {
    marginRight: 15
  };
  
  const Header = () => __jsx("div", {
    __source: {
      fileName: _jsxFileName,
      lineNumber: 7
    },
    __self: undefined
  }, __jsx(next_link__WEBPACK_IMPORTED_MODULE_1___default.a, {
    href: "/",
    __source: {
      fileName: _jsxFileName,
      lineNumber: 8
    },
    __self: undefined
  }, __jsx("a", {
    style: linkStyle,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 9
    },
    __self: undefined
  }, "Home")), __jsx(next_link__WEBPACK_IMPORTED_MODULE_1___default.a, {
    href: "/about",
    __source: {
      fileName: _jsxFileName,
      lineNumber: 11
    },
    __self: undefined
  }, __jsx("a", {
    style: linkStyle,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 12
    },
    __self: undefined
  }, "About")), __jsx(next_link__WEBPACK_IMPORTED_MODULE_1___default.a, {
    href: "/users/list",
    __source: {
      fileName: _jsxFileName,
      lineNumber: 14
    },
    __self: undefined
  }, __jsx("a", {
    style: linkStyle,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 15
    },
    __self: undefined
  }, "Users")));
  
  /* harmony default export */ __webpack_exports__["default"] = (Header);
  
  /***/ }),
  
  /***/ "./pages/comps/MyLayout.js":
  /*!*********************************!*\
    !*** ./pages/comps/MyLayout.js ***!
    \*********************************/
  /*! exports provided: default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  /* harmony import */ var _comps_Header__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../comps/Header */ "./pages/comps/Header.js");
  var _jsxFileName = "/home/g-ah/Documents/Gobi/study/reactjs-study/pages/comps/MyLayout.js";
  
  var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
  
  const layoutStyle = {
    margin: 20,
    padding: 20,
    border: '1px solid #DDD'
  };
  
  const Layout = props => __jsx("div", {
    style: layoutStyle,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 9
    },
    __self: undefined
  }, __jsx(_comps_Header__WEBPACK_IMPORTED_MODULE_1__["default"], {
    __source: {
      fileName: _jsxFileName,
      lineNumber: 10
    },
    __self: undefined
  }), props.children);
  
  /* harmony default export */ __webpack_exports__["default"] = (Layout);
  
  /***/ }),
  
  /***/ "./pages/index.js":
  /*!************************!*\
    !*** ./pages/index.js ***!
    \************************/
  /*! exports provided: default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var styled_jsx_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! styled-jsx/style */ "styled-jsx/style");
  /* harmony import */ var styled_jsx_style__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(styled_jsx_style__WEBPACK_IMPORTED_MODULE_0__);
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  /* harmony import */ var _comps_MyLayout__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./comps/MyLayout */ "./pages/comps/MyLayout.js");
  /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! next/link */ "./node_modules/next/link.js");
  /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_3__);
  /* harmony import */ var react_markdown__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-markdown */ "react-markdown");
  /* harmony import */ var react_markdown__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_markdown__WEBPACK_IMPORTED_MODULE_4__);
  /* harmony import */ var isomorphic_unfetch__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! isomorphic-unfetch */ "isomorphic-unfetch");
  /* harmony import */ var isomorphic_unfetch__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(isomorphic_unfetch__WEBPACK_IMPORTED_MODULE_5__);
  var _jsxFileName = "/home/g-ah/Documents/Gobi/study/reactjs-study/pages/index.js";
  
  
  var __jsx = react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement;
  // import Header from '../pages/comps/Header';
  
  
  
  
  
  const Index = props => __jsx(_comps_MyLayout__WEBPACK_IMPORTED_MODULE_2__["default"], {
    __source: {
      fileName: _jsxFileName,
      lineNumber: 8
    },
    __self: undefined
  }, __jsx("h1", {
    className: "jsx-2634616743",
    __source: {
      fileName: _jsxFileName,
      lineNumber: 9
    },
    __self: undefined
  }, "Batman TV SHows"), __jsx("ul", {
    className: "jsx-2634616743",
    __source: {
      fileName: _jsxFileName,
      lineNumber: 10
    },
    __self: undefined
  }, props.shows.map(show => __jsx("li", {
    key: show.id,
    className: "jsx-2634616743",
    __source: {
      fileName: _jsxFileName,
      lineNumber: 12
    },
    __self: undefined
  }, __jsx(next_link__WEBPACK_IMPORTED_MODULE_3___default.a, {
    href: "/p/[id]",
    as: `/p/${show.id}`,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 13
    },
    __self: undefined
  }, __jsx("a", {
    className: "jsx-2634616743",
    __source: {
      fileName: _jsxFileName,
      lineNumber: 14
    },
    __self: undefined
  }, show.name))))), __jsx("div", {
    className: "jsx-2634616743" + " " + "markdown",
    __source: {
      fileName: _jsxFileName,
      lineNumber: 19
    },
    __self: undefined
  }, __jsx(react_markdown__WEBPACK_IMPORTED_MODULE_4___default.a, {
    source: `
  This is our blog post.
  Yes. We can have a [link](/link).
  And we can have a title as well.
  
  ### This is a title
  
  And here's the content.
        `,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 20
    },
    __self: undefined
  })), __jsx(styled_jsx_style__WEBPACK_IMPORTED_MODULE_0___default.a, {
    id: "344512576",
    __self: undefined
  }, "h1.jsx-2634616743,a.jsx-2634616743{font-family:'Arial';}ul.jsx-2634616743{padding:0;}li.jsx-2634616743{list-style:none;margin:5px 0;}a.jsx-2634616743{-webkit-text-decoration:none;text-decoration:none;color:blue;}a.jsx-2634616743:hover{opacity:0.6;}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL2ctYWgvRG9jdW1lbnRzL0dvYmkvc3R1ZHkvcmVhY3Rqcy1zdHVkeS9wYWdlcy9pbmRleC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUErQm9CLEFBSStCLEFBSVYsQUFJTSxBQUtLLEFBS1QsVUFiZCxFQWNBLElBVmUsSUFSZixTQVNBLHFCQUlhLFdBQ2IiLCJmaWxlIjoiL2hvbWUvZy1haC9Eb2N1bWVudHMvR29iaS9zdHVkeS9yZWFjdGpzLXN0dWR5L3BhZ2VzL2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gaW1wb3J0IEhlYWRlciBmcm9tICcuLi9wYWdlcy9jb21wcy9IZWFkZXInO1xuaW1wb3J0IExheW91dCBmcm9tICcuL2NvbXBzL015TGF5b3V0JztcbmltcG9ydCBMaW5rIGZyb20gJ25leHQvbGluayc7XG5pbXBvcnQgTWFya2Rvd24gZnJvbSAncmVhY3QtbWFya2Rvd24nO1xuaW1wb3J0IGZldGNoIGZyb20gJ2lzb21vcnBoaWMtdW5mZXRjaCc7XG5cbmNvbnN0IEluZGV4ID0gcHJvcHMgPT4oXG4gICAgPExheW91dD5cbiAgICAgICAgPGgxPkJhdG1hbiBUViBTSG93czwvaDE+XG4gICAgICAgIDx1bD5cbiAgICAgICAgICAgIHtwcm9wcy5zaG93cy5tYXAoc2hvdyA9PiAoXG4gICAgICAgICAgICAgICAgPGxpIGtleT17c2hvdy5pZH0+XG4gICAgICAgICAgICAgICAgICAgIDxMaW5rIGhyZWY9XCIvcC9baWRdXCIgYXM9e2AvcC8ke3Nob3cuaWR9YH0+XG4gICAgICAgICAgICAgICAgICAgICAgICA8YT57IHNob3cubmFtZX08L2E+XG4gICAgICAgICAgICAgICAgICAgIDwvTGluaz5cbiAgICAgICAgICAgICAgICA8L2xpPlxuICAgICAgICAgICAgKSl9XG4gICAgICAgIDwvdWw+XG4gICAgICAgIDxkaXYgY2xhc3NOYW1lPVwibWFya2Rvd25cIj5cbiAgICAgICAgPE1hcmtkb3duXG4gICAgICAgICAgc291cmNlPXtgXG5UaGlzIGlzIG91ciBibG9nIHBvc3QuXG5ZZXMuIFdlIGNhbiBoYXZlIGEgW2xpbmtdKC9saW5rKS5cbkFuZCB3ZSBjYW4gaGF2ZSBhIHRpdGxlIGFzIHdlbGwuXG5cbiMjIyBUaGlzIGlzIGEgdGl0bGVcblxuQW5kIGhlcmUncyB0aGUgY29udGVudC5cbiAgICAgIGB9XG4gICAgICAgIC8+XG4gICAgICA8L2Rpdj5cbiAgICAgICAgPHN0eWxlIGpzeD57YFxuICAgICAgICBoMSxcbiAgICAgICAgYSB7XG4gICAgICAgICAgZm9udC1mYW1pbHk6ICdBcmlhbCc7XG4gICAgICAgIH1cblxuICAgICAgICB1bCB7XG4gICAgICAgICAgcGFkZGluZzogMDtcbiAgICAgICAgfVxuXG4gICAgICAgIGxpIHtcbiAgICAgICAgICBsaXN0LXN0eWxlOiBub25lO1xuICAgICAgICAgIG1hcmdpbjogNXB4IDA7XG4gICAgICAgIH1cblxuICAgICAgICBhIHtcbiAgICAgICAgICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XG4gICAgICAgICAgY29sb3I6IGJsdWU7XG4gICAgICAgIH1cblxuICAgICAgICBhOmhvdmVyIHtcbiAgICAgICAgICBvcGFjaXR5OiAwLjY7XG4gICAgICAgIH1cbiAgICAgIGB9PC9zdHlsZT5cbiAgICAgIDxzdHlsZSBqc3ggZ2xvYmFsPntgXG4gICAgICAgIC5tYXJrZG93biB7XG4gICAgICAgICAgZm9udC1mYW1pbHk6ICdBcmlhbCc7XG4gICAgICAgIH1cblxuICAgICAgICAubWFya2Rvd24gYSB7XG4gICAgICAgICAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xuICAgICAgICAgIGNvbG9yOiBibHVlO1xuICAgICAgICB9XG5cbiAgICAgICAgLm1hcmtkb3duIGE6aG92ZXIge1xuICAgICAgICAgIG9wYWNpdHk6IDAuNjtcbiAgICAgICAgfVxuXG4gICAgICAgIC5tYXJrZG93biBoMyB7XG4gICAgICAgICAgbWFyZ2luOiAwO1xuICAgICAgICAgIHBhZGRpbmc6IDA7XG4gICAgICAgICAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbiAgICAgICAgfVxuICAgICAgYH08L3N0eWxlPlxuICAgIDwvTGF5b3V0PlxuKTtcblxuSW5kZXguZ2V0SW5pdGlhbFByb3BzID0gYXN5bmMgZnVuY3Rpb24oKXtcbiAgICBjb25zdCByZXMgPSBhd2FpdCBmZXRjaChcImh0dHBzOi8vYXBpLnR2bWF6ZS5jb20vc2VhcmNoL3Nob3dzP3E9YmF0bWFuXCIpO1xuICAgIGNvbnN0IGRhdGEgPSBhd2FpdCByZXMuanNvbigpO1xuXG4gICAgY29uc29sZS5sb2coYEZldGNoZWQgRGF0YSAgQ291bnQ6JHtkYXRhLmxlbmd0aH1gKTtcbiAgICByZXR1cm4ge1xuICAgICAgICBzaG93czpkYXRhLm1hcChlbnRyeSA9PiBlbnRyeS5zaG93KVxuICAgIH1cbn1cblxuZXhwb3J0IGRlZmF1bHQgSW5kZXg7Il19 */\n/*@ sourceURL=/home/g-ah/Documents/Gobi/study/reactjs-study/pages/index.js */"), __jsx(styled_jsx_style__WEBPACK_IMPORTED_MODULE_0___default.a, {
    id: "2647703310",
    __self: undefined
  }, ".markdown{font-family:'Arial';}.markdown a{-webkit-text-decoration:none;text-decoration:none;color:blue;}.markdown a:hover{opacity:0.6;}.markdown h3{margin:0;padding:0;text-transform:uppercase;}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL2ctYWgvRG9jdW1lbnRzL0dvYmkvc3R1ZHkvcmVhY3Rqcy1zdHVkeS9wYWdlcy9pbmRleC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF1RHlCLEFBRytCLEFBSUMsQUFLVCxBQUlILFNBQ0MsR0FKWixPQUsyQixDQWQzQix3QkFlQSxNQVhhLFdBQ2IiLCJmaWxlIjoiL2hvbWUvZy1haC9Eb2N1bWVudHMvR29iaS9zdHVkeS9yZWFjdGpzLXN0dWR5L3BhZ2VzL2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gaW1wb3J0IEhlYWRlciBmcm9tICcuLi9wYWdlcy9jb21wcy9IZWFkZXInO1xuaW1wb3J0IExheW91dCBmcm9tICcuL2NvbXBzL015TGF5b3V0JztcbmltcG9ydCBMaW5rIGZyb20gJ25leHQvbGluayc7XG5pbXBvcnQgTWFya2Rvd24gZnJvbSAncmVhY3QtbWFya2Rvd24nO1xuaW1wb3J0IGZldGNoIGZyb20gJ2lzb21vcnBoaWMtdW5mZXRjaCc7XG5cbmNvbnN0IEluZGV4ID0gcHJvcHMgPT4oXG4gICAgPExheW91dD5cbiAgICAgICAgPGgxPkJhdG1hbiBUViBTSG93czwvaDE+XG4gICAgICAgIDx1bD5cbiAgICAgICAgICAgIHtwcm9wcy5zaG93cy5tYXAoc2hvdyA9PiAoXG4gICAgICAgICAgICAgICAgPGxpIGtleT17c2hvdy5pZH0+XG4gICAgICAgICAgICAgICAgICAgIDxMaW5rIGhyZWY9XCIvcC9baWRdXCIgYXM9e2AvcC8ke3Nob3cuaWR9YH0+XG4gICAgICAgICAgICAgICAgICAgICAgICA8YT57IHNob3cubmFtZX08L2E+XG4gICAgICAgICAgICAgICAgICAgIDwvTGluaz5cbiAgICAgICAgICAgICAgICA8L2xpPlxuICAgICAgICAgICAgKSl9XG4gICAgICAgIDwvdWw+XG4gICAgICAgIDxkaXYgY2xhc3NOYW1lPVwibWFya2Rvd25cIj5cbiAgICAgICAgPE1hcmtkb3duXG4gICAgICAgICAgc291cmNlPXtgXG5UaGlzIGlzIG91ciBibG9nIHBvc3QuXG5ZZXMuIFdlIGNhbiBoYXZlIGEgW2xpbmtdKC9saW5rKS5cbkFuZCB3ZSBjYW4gaGF2ZSBhIHRpdGxlIGFzIHdlbGwuXG5cbiMjIyBUaGlzIGlzIGEgdGl0bGVcblxuQW5kIGhlcmUncyB0aGUgY29udGVudC5cbiAgICAgIGB9XG4gICAgICAgIC8+XG4gICAgICA8L2Rpdj5cbiAgICAgICAgPHN0eWxlIGpzeD57YFxuICAgICAgICBoMSxcbiAgICAgICAgYSB7XG4gICAgICAgICAgZm9udC1mYW1pbHk6ICdBcmlhbCc7XG4gICAgICAgIH1cblxuICAgICAgICB1bCB7XG4gICAgICAgICAgcGFkZGluZzogMDtcbiAgICAgICAgfVxuXG4gICAgICAgIGxpIHtcbiAgICAgICAgICBsaXN0LXN0eWxlOiBub25lO1xuICAgICAgICAgIG1hcmdpbjogNXB4IDA7XG4gICAgICAgIH1cblxuICAgICAgICBhIHtcbiAgICAgICAgICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XG4gICAgICAgICAgY29sb3I6IGJsdWU7XG4gICAgICAgIH1cblxuICAgICAgICBhOmhvdmVyIHtcbiAgICAgICAgICBvcGFjaXR5OiAwLjY7XG4gICAgICAgIH1cbiAgICAgIGB9PC9zdHlsZT5cbiAgICAgIDxzdHlsZSBqc3ggZ2xvYmFsPntgXG4gICAgICAgIC5tYXJrZG93biB7XG4gICAgICAgICAgZm9udC1mYW1pbHk6ICdBcmlhbCc7XG4gICAgICAgIH1cblxuICAgICAgICAubWFya2Rvd24gYSB7XG4gICAgICAgICAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xuICAgICAgICAgIGNvbG9yOiBibHVlO1xuICAgICAgICB9XG5cbiAgICAgICAgLm1hcmtkb3duIGE6aG92ZXIge1xuICAgICAgICAgIG9wYWNpdHk6IDAuNjtcbiAgICAgICAgfVxuXG4gICAgICAgIC5tYXJrZG93biBoMyB7XG4gICAgICAgICAgbWFyZ2luOiAwO1xuICAgICAgICAgIHBhZGRpbmc6IDA7XG4gICAgICAgICAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbiAgICAgICAgfVxuICAgICAgYH08L3N0eWxlPlxuICAgIDwvTGF5b3V0PlxuKTtcblxuSW5kZXguZ2V0SW5pdGlhbFByb3BzID0gYXN5bmMgZnVuY3Rpb24oKXtcbiAgICBjb25zdCByZXMgPSBhd2FpdCBmZXRjaChcImh0dHBzOi8vYXBpLnR2bWF6ZS5jb20vc2VhcmNoL3Nob3dzP3E9YmF0bWFuXCIpO1xuICAgIGNvbnN0IGRhdGEgPSBhd2FpdCByZXMuanNvbigpO1xuXG4gICAgY29uc29sZS5sb2coYEZldGNoZWQgRGF0YSAgQ291bnQ6JHtkYXRhLmxlbmd0aH1gKTtcbiAgICByZXR1cm4ge1xuICAgICAgICBzaG93czpkYXRhLm1hcChlbnRyeSA9PiBlbnRyeS5zaG93KVxuICAgIH1cbn1cblxuZXhwb3J0IGRlZmF1bHQgSW5kZXg7Il19 */\n/*@ sourceURL=/home/g-ah/Documents/Gobi/study/reactjs-study/pages/index.js */"));
  
  Index.getInitialProps = async function () {
    const res = await isomorphic_unfetch__WEBPACK_IMPORTED_MODULE_5___default()("https://api.tvmaze.com/search/shows?q=batman");
    const data = await res.json();
    console.log(`Fetched Data  Count:${data.length}`);
    return {
      shows: data.map(entry => entry.show)
    };
  };
  
  /* harmony default export */ __webpack_exports__["default"] = (Index);
  
  /***/ }),
  
  /***/ 4:
  /*!******************************!*\
    !*** multi ./pages/index.js ***!
    \******************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  module.exports = __webpack_require__(/*! /home/g-ah/Documents/Gobi/study/reactjs-study/pages/index.js */"./pages/index.js");
  
  
  /***/ }),
  
  /***/ "core-js/library/fn/map":
  /*!*****************************************!*\
    !*** external "core-js/library/fn/map" ***!
    \*****************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = require("core-js/library/fn/map");
  
  /***/ }),
  
  /***/ "core-js/library/fn/object/assign":
  /*!***************************************************!*\
    !*** external "core-js/library/fn/object/assign" ***!
    \***************************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = require("core-js/library/fn/object/assign");
  
  /***/ }),
  
  /***/ "core-js/library/fn/object/create":
  /*!***************************************************!*\
    !*** external "core-js/library/fn/object/create" ***!
    \***************************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = require("core-js/library/fn/object/create");
  
  /***/ }),
  
  /***/ "core-js/library/fn/object/define-property":
  /*!************************************************************!*\
    !*** external "core-js/library/fn/object/define-property" ***!
    \************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = require("core-js/library/fn/object/define-property");
  
  /***/ }),
  
  /***/ "core-js/library/fn/object/get-own-property-descriptor":
  /*!************************************************************************!*\
    !*** external "core-js/library/fn/object/get-own-property-descriptor" ***!
    \************************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = require("core-js/library/fn/object/get-own-property-descriptor");
  
  /***/ }),
  
  /***/ "core-js/library/fn/object/keys":
  /*!*************************************************!*\
    !*** external "core-js/library/fn/object/keys" ***!
    \*************************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = require("core-js/library/fn/object/keys");
  
  /***/ }),
  
  /***/ "core-js/library/fn/promise":
  /*!*********************************************!*\
    !*** external "core-js/library/fn/promise" ***!
    \*********************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = require("core-js/library/fn/promise");
  
  /***/ }),
  
  /***/ "core-js/library/fn/weak-map":
  /*!**********************************************!*\
    !*** external "core-js/library/fn/weak-map" ***!
    \**********************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = require("core-js/library/fn/weak-map");
  
  /***/ }),
  
  /***/ "isomorphic-unfetch":
  /*!*************************************!*\
    !*** external "isomorphic-unfetch" ***!
    \*************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = require("isomorphic-unfetch");
  
  /***/ }),
  
  /***/ "prop-types":
  /*!*****************************!*\
    !*** external "prop-types" ***!
    \*****************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = require("prop-types");
  
  /***/ }),
  
  /***/ "prop-types-exact":
  /*!***********************************!*\
    !*** external "prop-types-exact" ***!
    \***********************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = require("prop-types-exact");
  
  /***/ }),
  
  /***/ "react":
  /*!************************!*\
    !*** external "react" ***!
    \************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = require("react");
  
  /***/ }),
  
  /***/ "react-is":
  /*!***************************!*\
    !*** external "react-is" ***!
    \***************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = require("react-is");
  
  /***/ }),
  
  /***/ "react-markdown":
  /*!*********************************!*\
    !*** external "react-markdown" ***!
    \*********************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = require("react-markdown");
  
  /***/ }),
  
  /***/ "styled-jsx/style":
  /*!***********************************!*\
    !*** external "styled-jsx/style" ***!
    \***********************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = require("styled-jsx/style");
  
  /***/ }),
  
  /***/ "url":
  /*!**********************!*\
    !*** external "url" ***!
    \**********************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = require("url");
  
  /***/ })
  
  /******/ });
  //# sourceMappingURL=index.js.map