"use strict";
/*
 * 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/note/[id]",{

/***/ "./components/MDContent.js":
/*!*********************************!*\
  !*** ./components/MDContent.js ***!
  \*********************************/
/***/ (function(module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"./node_modules/react/jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! next/router */ \"./node_modules/next/router.js\");\n/* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_router__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n\n\n\nvar _s = $RefreshSig$();\nfunction BackLinks(param) {\n    var linkList = param.linkList;\n    var _this = this;\n    return(/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n        className: \"note-footer\",\n        children: [\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                className: \"backlink-heading\",\n                children: \"Link to this note\"\n            }, void 0, false, {\n                fileName: \"/Users/wyattwalsh/Documents - Wyatt’s MacBook Air/projects/data-science-notes/digital-garden/components/MDContent.js\",\n                lineNumber: 7,\n                columnNumber: 13\n            }, this),\n            linkList != null && linkList.length > 0 ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: \"backlink-container\",\n                    children: linkList.map(function(aLink) {\n                        /*#__PURE__*/ return (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"backlink\",\n                            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n                                href: aLink.slug,\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                        className: \"backlink-title\",\n                                        children: aLink.title\n                                    }, void 0, false, {\n                                        fileName: \"/Users/wyattwalsh/Documents - Wyatt’s MacBook Air/projects/data-science-notes/digital-garden/components/MDContent.js\",\n                                        lineNumber: 17,\n                                        columnNumber: 33\n                                    }, _this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                        className: \"backlink-preview\",\n                                        children: [\n                                            aLink.shortSummary,\n                                            \" \"\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/Users/wyattwalsh/Documents - Wyatt’s MacBook Air/projects/data-science-notes/digital-garden/components/MDContent.js\",\n                                        lineNumber: 18,\n                                        columnNumber: 33\n                                    }, _this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/Users/wyattwalsh/Documents - Wyatt’s MacBook Air/projects/data-science-notes/digital-garden/components/MDContent.js\",\n                                lineNumber: 16,\n                                columnNumber: 29\n                            }, _this)\n                        }, aLink.slug, false, {\n                            fileName: \"/Users/wyattwalsh/Documents - Wyatt’s MacBook Air/projects/data-science-notes/digital-garden/components/MDContent.js\",\n                            lineNumber: 14,\n                            columnNumber: 25\n                        }, _this);\n                    })\n                }, void 0, false, {\n                    fileName: \"/Users/wyattwalsh/Documents - Wyatt’s MacBook Air/projects/data-science-notes/digital-garden/components/MDContent.js\",\n                    lineNumber: 12,\n                    columnNumber: 17\n                }, this)\n            }, void 0, false) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n                children: [\n                    \" \",\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                        className: \"no-backlinks\",\n                        children: \" No backlinks found\"\n                    }, void 0, false, {\n                        fileName: \"/Users/wyattwalsh/Documents - Wyatt’s MacBook Air/projects/data-science-notes/digital-garden/components/MDContent.js\",\n                        lineNumber: 25,\n                        columnNumber: 18\n                    }, this),\n                    \" \"\n                ]\n            }, void 0, true)\n        ]\n    }, void 0, true, {\n        fileName: \"/Users/wyattwalsh/Documents - Wyatt’s MacBook Air/projects/data-science-notes/digital-garden/components/MDContent.js\",\n        lineNumber: 6,\n        columnNumber: 13\n    }, this));\n}\n_c = BackLinks;\nfunction MDContent(param) {\n    var content = param.content, backLinks = param.backLinks, handleOpenNewContent = param.handleOpenNewContent;\n    var handleInternalLinkClick = function handleInternalLinkClick() {\n        //Processing fetching\n        //pass result up to parent container\n        //TODO: handle clicking on internal link, go fetching md content from file then passing it up to parent\n        handleOpenNewContent(content);\n    };\n    _s();\n    (0,next_router__WEBPACK_IMPORTED_MODULE_1__.useRouter)();\n    return(/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n        className: \"markdown-rendered\",\n        children: [\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                dangerouslySetInnerHTML: {\n                    __html: content\n                }\n            }, void 0, false, {\n                fileName: \"/Users/wyattwalsh/Documents - Wyatt’s MacBook Air/projects/data-science-notes/digital-garden/components/MDContent.js\",\n                lineNumber: 47,\n                columnNumber: 13\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(BackLinks, {\n                    linkList: backLinks\n                }, void 0, false, {\n                    fileName: \"/Users/wyattwalsh/Documents - Wyatt’s MacBook Air/projects/data-science-notes/digital-garden/components/MDContent.js\",\n                    lineNumber: 51,\n                    columnNumber: 17\n                }, this)\n            }, void 0, false, {\n                fileName: \"/Users/wyattwalsh/Documents - Wyatt’s MacBook Air/projects/data-science-notes/digital-garden/components/MDContent.js\",\n                lineNumber: 50,\n                columnNumber: 13\n            }, this)\n        ]\n    }, void 0, true, {\n        fileName: \"/Users/wyattwalsh/Documents - Wyatt’s MacBook Air/projects/data-science-notes/digital-garden/components/MDContent.js\",\n        lineNumber: 41,\n        columnNumber: 9\n    }, this));\n}\n_s(MDContent, \"CeygcqajjFExIxFEzW4x/gfWEGQ=\", false, function() {\n    return [\n        next_router__WEBPACK_IMPORTED_MODULE_1__.useRouter\n    ];\n});\n_c1 = MDContent;\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDContent);\nvar _c, _c1;\n$RefreshReg$(_c, \"BackLinks\");\n$RefreshReg$(_c1, \"MDContent\");\n\n\n;\n    // Wrapped in an IIFE to avoid polluting the global scope\n    ;\n    (function () {\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            // @ts-ignore __webpack_module__ is global\n            var currentExports = module.exports;\n            // @ts-ignore __webpack_module__ is global\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                // @ts-ignore importMeta is replaced in the loader\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    })();\n//# sourceURL=[module]\n//# sourceM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bGFzc05hbWU9XCJiYWNrbGluay1oZWFkaW5nXCI+TGluayB0byB0aGlzIG5vdGU8L2gzPlxuICAgICAgICB7KGxpbmtMaXN0ICE9IG51bGwgJiYgbGlua0xpc3QubGVuZ3RoID4gMClcbiAgICAgICAgICAgID9cbiAgICAgICAgICAgIDw+XG5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzTmFtZT1cImJhY2tsaW5rLWNvbnRhaW5lclwiPlxuICAgICAgICAgICAgICAgICAgICB7bGlua0xpc3QubWFwKGFMaW5rID0+XG4gICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGtleT17YUxpbmsuc2x1Z30gY2xhc3NOYW1lPVwiYmFja2xpbmtcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB7Lyo8TGluayBocmVmPXthTGluay5zbHVnfT4qL31cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YSBocmVmPXthTGluay5zbHVnfT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHAgY2xhc3NOYW1lPVwiYmFja2xpbmstdGl0bGVcIj57YUxpbmsudGl0bGV9PC9wPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cCBjbGFzc05hbWU9XCJiYWNrbGluay1wcmV2aWV3XCI+e2FMaW5rLnNob3J0U3VtbWFyeX0gPC9wPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvYT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB7Lyo8L0xpbms+Ki99XG4gICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgKX1cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDwvPlxuICAgICAgICAgICAgOiA8PiA8cCBjbGFzc05hbWU9XCJuby1iYWNrbGlua3NcIj4gTm8gYmFja2xpbmtzIGZvdW5kPC9wPiA8Lz59XG4gICAgPC9kaXY+KTtcbn1cblxuZnVuY3Rpb24gTURDb250Z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9idXR0b24+Ki99XG4gICAgICAgICAgICB7Lyo8aHIvPiovfVxuICAgICAgICAgICAgPGRpdj5cbiAgICAgICAgICAgICAgICA8QmFja0xpbmtzIGxpbmtMaXN0PXtiYWNrTGlua3N9Lz5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgey8qIDxoci8+XG4gICAgICAgICAgICA8Zm9vdGVyPlxuICAgICAgICAgICAgICAgIDxwPlBvd2VyZWQgYnkgIDxhIGhyZWY9XCJodHRwczovL2dpdGh1Yi5jb20vVHVhbk1hbmhDYW8vZGlnaXRhbC1nYXJkZW5cIj5NaW5kIFN0b25lPC9hPiwgwqkgMjAyMjwvcD5cbiAgICAgICAgICAgIDwvZm9vdGVyPiAqL31cbiAgICAgICAgPC9kaXY+XG4gICAgKTtcbn1cblxuZXhwb3J0IGRlZmF1bHQgTURDb250ZW50OyJdLCJuYW1lcyI6WyJ1c2VSb3V0ZXIiLCJSZWFjdCIsIkJhY2tMaW5rcyIsImxpbmtMaXN0IiwiZGl2IiwiY2xhc3NOYW1lIiwiaDMiLCJsZW5ndGgiLCJtYXAiLCJhTGluayIsImEiLCJocmVmIiwic2x1ZyIsInAiLCJ0aXRsZSIsInNob3J0U3VtbWFyeSIsIk1EQ29udGVudCIsImNvbnRlbnQiLCJiYWNrTGlua3MiLCJoYW5kbGVPcGVuTmV3Q29udGVudCIsImhhbmRsZUludGVybmFsTGlua0NsaWNrIiwiZGFuZ2Vyb3VzbHlTZXRJbm5lckhUTUwiLCJfX2h0bWwiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./components/MDContent.js\n");

/***/ })

});