text: /*
   * ATTENTION: An "eval-source-map" devtool has been used.
   * This devtool is neither made for production nor for readable output files.
   * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
   * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
   * or disable the default devtool with "devtool: false".
   * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
   */
  self["webpackHotUpdate_N_E"]("pages/_app",{
  
  /***/ "./src/components/ActiveLink/index.tsx":
  /*!*********************************************!*\
    !*** ./src/components/ActiveLink/index.tsx ***!
    \*********************************************/
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"ActiveLink\": function() { return /* binding */ ActiveLink; }\n/* harmony export */ });\n/* harmony import */ var _Users_m_silva_pereira_Desktop_Dev_Rocketseat_bootcamp_ignite_react_aulas_chapter_III_ignews_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"./node_modules/react/jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _Users_m_silva_pereira_Desktop_Dev_Rocketseat_bootcamp_ignite_react_aulas_chapter_III_ignews_node_modules_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties */ \"./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js\");\n/* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! next/router */ \"./node_modules/next/router.js\");\n/* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(next_router__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! next/link */ \"./node_modules/next/link.js\");\n/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_4__);\n/* module decorator */ module = __webpack_require__.hmd(module);\n\n\n\n\nvar _jsxFileName = \"/Users/m.silva.pereira/Desktop/Dev/Rocketseat/bootcamp-ignite-react/aulas/chapter-III/ignews/src/components/ActiveLink/index.tsx\",\n    _s = $RefreshSig$();\n\nfunction 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; }\n\nfunction _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) { (0,_Users_m_silva_pereira_Desktop_Dev_Rocketseat_bootcamp_ignite_react_aulas_chapter_III_ignews_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__.default)(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; }\n\n\n\nfunction ActiveLink(_ref) {\n  _s();\n\n  var children = _ref.children,\n      activeClassName = _ref.activeClassName,\n      rest = (0,_Users_m_silva_pereira_Desktop_Dev_Rocketseat_bootcamp_ignite_react_aulas_chapter_III_ignews_node_modules_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__.default)(_ref, [\"children\", \"activeClassName\"]);\n\n  var _useRouter = (0,next_router__WEBPACK_IMPORTED_MODULE_3__.useRouter)(),\n      asPath = _useRouter.asPath;\n\n  var className = asPath === rest.href ? activeClassName : '';\n  return /*#__PURE__*/(0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxDEV)((next_link__WEBPACK_IMPORTED_MODULE_4___default()), _objectSpread(_objectSpread({}, rest), {}, {\n    children: children\n  }), void 0, false, {\n    fileName: _jsxFileName,\n    lineNumber: 18,\n    columnNumber: 5\n  }, this);\n}\n\n_s(ActiveLink, \"2F48WNebuXCpWV2Gp8hgxMpYgEU=\", false, function () {\n  return [next_router__WEBPACK_IMPORTED_MODULE_3__.useRouter];\n});\n\n_c = ActiveLink;\n\nvar _c;\n\n$RefreshReg$(_c, \"ActiveLink\");\n\n;\n    var _a, _b;\n    // Legacy CSS implementations will `eval` browser code in a Node.js context\n    // to extract CSS. For backwards compatibility, we need to check we're in a\n    // browser context before continuing.\n    if (typeof self !== 'undefined' &&\n        // AMP / No-JS mode does not inject these helpers:\n        '$RefreshHelpers$' in self) {\n        var currentExports = module.__proto__.exports;\n        var prevExports = (_b = (_a = module.hot.data) === null || _a === void 0 ? void 0 : _a.prevExports) !== null && _b !== void 0 ? _b : null;\n        // This cannot happen in MainTemplate because the exports mismatch between\n        // templating and execution.\n        self.$RefreshHelpers$.registerExportsForReactRefresh(currentExports, module.id);\n        // A module can be accepted automatically based on its exports, e.g. when\n        // it is a Refresh Boundary.\n        if (self.$RefreshHelpers$.isReactRefreshBoundary(currentExports)) {\n            // Save the previous exports on update so we can compare the boundary\n            // signatures.\n            module.hot.dispose(function (data) {\n                data.prevExports = currentExports;\n            });\n            // Unconditionally accept an update to this module, we'll check if it's\n            // still a Refresh Boundary later.\n            module.hot.accept();\n            // This field is set when the previous version of this module was a\n            // Refresh Boundary, letting us know we need to check for invalidation or\n            // enqueue an update.\n            if (prevExports !== null) {\n                // A boundary can become ineligible if its exports are incompatible\n                // with the previous exports.\n                //\n                // For example, if you add/remove/change exports, we'll want to\n                // re-execute the importing modules, and force those components to\n                // re-render. Similarly, if you convert a class component to a\n                // function, we want to invalidate the boundary.\n                if (self.$RefreshHelpers$.shouldInvalidateReactRefreshBoundary(prevExports, currentExports)) {\n                    module.hot.invalidate();\n                }\n                else {\n                    self.$RefreshHelpers$.scheduleUpdate();\n                }\n            }\n        }\n        else {\n            // Since we just executed the code for the module, it's possible that the\n            // new exports made it ineligible for being a boundary.\n            // We only care about the case when we were _previously_ a boundary,\n            // because we already accepted this update (accidental side effect).\n            var isNoLongerABoundary = prevExports !== null;\n            if (isNoLongerABoundary) {\n                module.hot.invalidate();\n            }\n        }\n    }\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9fTl9FLy4vc3JjL2NvbXBvbmVudHMvQWN0aXZlTGluay9pbmRleC50c3g/OTViYyJdLCJuYW1lcyI6WyJBY3RpdmVMaW5rIiwiY2hpbGRyZW4iLCJhY3RpdmVDbGFzc05hbWUiLCJyZXN0IiwidXNlUm91dGVyIiwiYXNQYXRoIiwiY2xhc3NOYW1lIiwiaHJlZiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUE7QUFDQTtBQVFPLFNBQVNBLFVBQVQsT0FBd0U7QUFBQTs7QUFBQSxNQUFuREMsUUFBbUQsUUFBbkRBLFFBQW1EO0FBQUEsTUFBekNDLGVBQXlDLFFBQXpDQSxlQUF5QztBQUFBLE1BQXRCQyxJQUFzQjs7QUFBQSxtQkFFM0RDLHNEQUFTLEVBRmtEO0FBQUEsTUFFckVDLE1BRnFFLGNBRXJFQSxNQUZxRTs7QUFHN0UsTUFBTUMsU0FBUyxHQUFHRCxNQUFNLEtBQUtGLElBQUksQ0FBQ0ksSUFBaEIsR0FDYkwsZUFEYSxHQUVkLEVBRko7QUFJQSxzQkFDRSw4REFBQyxrREFBRCxrQ0FBVUMsSUFBVjtBQUFBLGNBQ0dGO0FBREg7QUFBQTtBQUFBO0FBQUE7QUFBQSxVQURGO0FBS0Q7O0dBWmVELFU7VUFFSUksa0Q7OztLQUZKSixVIiwiZmlsZSI6Ii4vc3JjL2NvbXBvbmVudHMvQWN0aXZlTGluay9pbmRleC50c3guanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyB1c2VSb3V0ZXIgfSBmcm9tIFwibmV4dC9yb3V0ZXJcIjtcbmltcG9ydCBMaW5rLHsgTGlua1Byb3BzfSBmcm9tIFwibmV4dC9saW5rXCI7XG5pbXBvcnQge1JlYWN0RWxlbWVudH0gZnJvbSAncmVhY3QnO1xuXG5pbnRlcmZhY2UgQWN0aXZlTGlua1Byb3BzIGV4dGVuZHMgTGlua1Byb3Bze1xuICBjaGlsZHJlbjogUmVhY3RFbGVtZW50O1xuICBhY3RpdmVDbGFzc05hbWU6IHN0cmluZztcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIEFjdGl2ZUxpbmsoe2NoaWxkcmVuLCBhY3RpdmVDbGFzc05hbWUsLi4ucmVzdH06QWN0aXZlTGlua1Byb3BzKXtcblxuICBjb25zdCB7IGFzUGF0aH0gPSB1c2VSb3V0ZXIoKVxuICBjb25zdCBjbGFzc05hbWUgPSBhc1BhdGggPT09IHJlc3QuaHJlZiBcbiAgICAgPyBhY3RpdmVDbGFzc05hbWVcbiAgICA6ICcnO1xuXG4gIHJldHVybiAoXG4gICAgPExpbmsgey4uLnJlc3R9PlxuICAgICAge2NoaWxkcmVufVxuICAgIDwvTGluaz5cbiAgKVxufSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/components/ActiveLink/index.tsx\n");
  
  /***/ }),
  
  /***/ "./node_modules/next/router.js":
  /*!*************************************!*\
    !*** ./node_modules/next/router.js ***!
    \*************************************/
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
  
  eval("module.exports = __webpack_require__(/*! ./dist/client/router */ \"./node_modules/next/dist/client/router.js\")\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9fTl9FLy4vbm9kZV9tb2R1bGVzL25leHQvcm91dGVyLmpzP2RiNDYiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsNkdBQWdEIiwiZmlsZSI6Ii4vbm9kZV9tb2R1bGVzL25leHQvcm91dGVyLmpzLmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSByZXF1aXJlKCcuL2Rpc3QvY2xpZW50L3JvdXRlcicpXG4iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/next/router.js\n");
  
  /***/ })
  
  });