dsql-admin/dsql-app/.local_dist/server/_error.js

377 lines
304 KiB
JavaScript
Raw Normal View History

2024-12-15 11:27:16 +00:00
/*
* 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/).
*/
(() => {
var exports = {};
exports.id = "/_error";
exports.ids = ["/_error"];
exports.modules = {
/***/ "__barrel_optimize__?names=ChevronDown!=!./node_modules/lucide-react/dist/esm/lucide-react.js":
/*!****************************************************************************************************!*\
!*** __barrel_optimize__?names=ChevronDown!=!./node_modules/lucide-react/dist/esm/lucide-react.js ***!
\****************************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ ChevronDown: () => (/* reexport safe */ _icons_chevron_down_js__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _icons_chevron_down_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./icons/chevron-down.js */ "./node_modules/lucide-react/dist/esm/icons/chevron-down.js");
/***/ }),
/***/ "__barrel_optimize__?names=ChevronUp!=!./node_modules/lucide-react/dist/esm/lucide-react.js":
/*!**************************************************************************************************!*\
!*** __barrel_optimize__?names=ChevronUp!=!./node_modules/lucide-react/dist/esm/lucide-react.js ***!
\**************************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ ChevronUp: () => (/* reexport safe */ _icons_chevron_up_js__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _icons_chevron_up_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./icons/chevron-up.js */ "./node_modules/lucide-react/dist/esm/icons/chevron-up.js");
/***/ }),
/***/ "__barrel_optimize__?names=CircleGauge!=!./node_modules/lucide-react/dist/esm/lucide-react.js":
/*!****************************************************************************************************!*\
!*** __barrel_optimize__?names=CircleGauge!=!./node_modules/lucide-react/dist/esm/lucide-react.js ***!
\****************************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ CircleGauge: () => (/* reexport safe */ _icons_circle_gauge_js__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _icons_circle_gauge_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./icons/circle-gauge.js */ "./node_modules/lucide-react/dist/esm/icons/circle-gauge.js");
/***/ }),
/***/ "__barrel_optimize__?names=Menu!=!./node_modules/lucide-react/dist/esm/lucide-react.js":
/*!*********************************************************************************************!*\
!*** __barrel_optimize__?names=Menu!=!./node_modules/lucide-react/dist/esm/lucide-react.js ***!
\*********************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ Menu: () => (/* reexport safe */ _icons_menu_js__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _icons_menu_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./icons/menu.js */ "./node_modules/lucide-react/dist/esm/icons/menu.js");
/***/ }),
/***/ "./node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2F_error&preferredRegion=&absolutePagePath=.%2Fnode_modules%2Fnext%2Fdist%2Fpages%2F_error.js&absoluteAppPath=private-next-pages%2F_app&absoluteDocumentPath=private-next-pages%2F_document&middlewareConfigBase64=e30%3D!":
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2F_error&preferredRegion=&absolutePagePath=.%2Fnode_modules%2Fnext%2Fdist%2Fpages%2F_error.js&absoluteAppPath=private-next-pages%2F_app&absoluteDocumentPath=private-next-pages%2F_document&middlewareConfigBase64=e30%3D! ***!
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ config: () => (/* binding */ config),\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */ getServerSideProps: () => (/* binding */ getServerSideProps),\n/* harmony export */ getStaticPaths: () => (/* binding */ getStaticPaths),\n/* harmony export */ getStaticProps: () => (/* binding */ getStaticProps),\n/* harmony export */ reportWebVitals: () => (/* binding */ reportWebVitals),\n/* harmony export */ routeModule: () => (/* binding */ routeModule),\n/* harmony export */ unstable_getServerProps: () => (/* binding */ unstable_getServerProps),\n/* harmony export */ unstable_getServerSideProps: () => (/* binding */ unstable_getServerSideProps),\n/* harmony export */ unstable_getStaticParams: () => (/* binding */ unstable_getStaticParams),\n/* harmony export */ unstable_getStaticPaths: () => (/* binding */ unstable_getStaticPaths),\n/* harmony export */ unstable_getStaticProps: () => (/* binding */ unstable_getStaticProps)\n/* harmony export */ });\n/* harmony import */ var next_dist_server_route_modules_pages_module_compiled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! next/dist/server/route-modules/pages/module.compiled */ \"./node_modules/next/dist/server/route-modules/pages/module.compiled.js\");\n/* harmony import */ var next_dist_server_route_modules_pages_module_compiled__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_route_modules_pages_module_compiled__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var next_dist_server_route_kind__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! next/dist/server/route-kind */ \"./node_modules/next/dist/server/route-kind.js\");\n/* harmony import */ var next_dist_build_templates_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! next/dist/build/templates/helpers */ \"./node_modules/next/dist/build/templates/helpers.js\");\n/* harmony import */ var private_next_pages_document__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! private-next-pages/_document */ \"./pages/_document.js\");\n/* harmony import */ var private_next_pages_app__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! private-next-pages/_app */ \"./pages/_app.js\");\n/* harmony import */ var _node_modules_next_dist_pages_error_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/next/dist/pages/_error.js */ \"./node_modules/next/dist/pages/_error.js\");\n/* harmony import */ var _node_modules_next_dist_pages_error_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_next_dist_pages_error_js__WEBPACK_IMPORTED_MODULE_5__);\n\n\n\n// Import the app and document modules.\n\n\n// Import the userland code.\n\n// Re-export the component (should be the default export).\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,next_dist_build_templates_helpers__WEBPACK_IMPORTED_MODULE_2__.hoist)(_node_modules_next_dist_pages_error_js__WEBPACK_IMPORTED_MODULE_5__, 'default'));\n// Re-export methods.\nconst getStaticProps = (0,next_dist_build_templates_helpers__WEBPACK_IMPORTED_MODULE_2__.hoist)(_node_modules_next_dist_pages_error_js__WEBPACK_IMPORTED_MODULE_5__, 'getStaticProps');\nconst getStaticPaths = (0,next_dist_build_templates_helpers__WEBPACK_IMPORTED_MODULE_2__.hoist)(_node_modules_next_dist_pages_error_js__WEBPACK_IMPORTED_MODULE_5__, 'getStaticPaths');\nconst getServerSideProps = (0,next_dist_build_templates_helpers__WEBPACK_IMPORTED_MODULE_2__.hoist)(_node_modules_next_dist_pages_error_js__WEBPACK_IMPORTED_MODULE_5__, 'getServerSideProps');\nconst config = (0,next_dist_build_templates_helpers__WEBPACK_IMPORTED_MODULE_2__.hoist)(_node_modules_next_dist_pages_error_js__WEBPACK_IMPORTED_MODULE_5__, 'config');\nconst reportWebVitals = (0,next_dist_build_templates_helpers__WEBPACK_IMPORTED_MODULE_2__.hoist)(_node_modules_next_dist_pages_error_js__WEBPACK_IMPORTED_MODULE_5__, '
/***/ }),
/***/ "./components/ErrorBoundary.jsx":
/*!**************************************!*\
!*** ./components/ErrorBoundary.jsx ***!
\**************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\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 react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _functions_frontend_fetchApi__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../functions/frontend/fetchApi */ \"./functions/frontend/fetchApi.js\");\n/* harmony import */ var _layouts_GeneralLayout__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../layouts/GeneralLayout */ \"./layouts/GeneralLayout.jsx\");\n/* harmony import */ var _general_PageHeadTags__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./general/PageHeadTags */ \"./components/general/PageHeadTags.jsx\");\n// @ts-check\n\n\n\n\n\nclass ErrorBoundary extends (react__WEBPACK_IMPORTED_MODULE_1___default().Component) {\n constructor(/** @type {any} */ props){\n super(props);\n // Define a state variable to track whether is an error or not\n this.state = {\n hasError: false\n };\n /**\r\n * Javascript Variables\r\n *\r\n * @abstract Non hook variables and functions\r\n */ const pageTitle = \"Error | Datasquirel\";\n const pageDescription = \"Datasquirel is a fast and efficient cloud-based SQL data management system that takes away the entire hassle of dealing with data both locally and across different platforms.\";\n let head = /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), {\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"title\", {\n children: pageTitle\n }, void 0, false, {\n fileName: \"/app/components/ErrorBoundary.jsx\",\n lineNumber: 26,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n name: \"description\",\n content: pageDescription\n }, void 0, false, {\n fileName: \"/app/components/ErrorBoundary.jsx\",\n lineNumber: 27,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_general_PageHeadTags__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n pageTitle: pageTitle,\n pageDescription: pageDescription,\n pagePathname: \"/\"\n }, void 0, false, {\n fileName: \"/app/components/ErrorBoundary.jsx\",\n lineNumber: 28,\n columnNumber: 17\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/components/ErrorBoundary.jsx\",\n lineNumber: 25,\n columnNumber: 13\n }, this);\n // @ts-ignore\n this.state.head = head;\n }\n static getDerivedStateFromError() {\n return {\n hasError: true\n };\n }\n componentDidCatch(/** @type {any} */ error, /** @type {any} */ errorInfo) {\n (0,_functions_frontend_fetchApi__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(\"/api/admin/clientError\", {\n method: \"post\",\n body: {\n compone
/***/ }),
/***/ "./components/general/LoadingBlock.jsx":
/*!*********************************************!*\
!*** ./components/general/LoadingBlock.jsx ***!
\*********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ LoadingBlock)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\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 react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * Loading Block Functional Component\r\n * ==============================================================================\r\n * @param {{\r\n * width?: string,\r\n * position?: *,\r\n * style?: import(\"react\").CSSProperties,\r\n * borderWidth?: string,\r\n * screen?: boolean,\r\n * title?: string,\r\n * }} props - React Component Props\r\n */ function LoadingBlock({ width, position, style, borderWidth, screen, title }) {\n return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \" top-0 left-0 w-full h-full flex items-center justify-center gap-4 bg-white/80 dark:bg-slate-800/80 z-50\" + (screen ? \" fixed\" : \" absolute\"),\n style: {\n ...style,\n position: position,\n zIndex: 20000\n },\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n className: \"general_loader\",\n style: width ? {\n width: width,\n height: width,\n minWidth: width,\n borderWidth: borderWidth ? borderWidth : \"4px\"\n } : {}\n }, void 0, false, {\n fileName: \"/app/components/general/LoadingBlock.jsx\",\n lineNumber: 49,\n columnNumber: 13\n }, this),\n title ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n children: title\n }, void 0, false, {\n fileName: \"/app/components/general/LoadingBlock.jsx\",\n lineNumber: 62,\n columnNumber: 22\n }, this) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), {}, void 0, false, {\n fileName: \"/app/components/general/LoadingBlock.jsx\",\n lineNumber: 62,\n columnNumber: 45\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/components/general/LoadingBlock.jsx\",\n lineNumber: 38,\n columnNumber: 9\n }, this);\n} /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ******************************************************
/***/ }),
/***/ "./components/general/Logo.jsx":
/*!*************************************!*\
!*** ./components/general/Logo.jsx ***!
\*************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Logo)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\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 _barrel_optimize_names_Menu_lucide_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! __barrel_optimize__?names=Menu!=!lucide-react */ \"__barrel_optimize__?names=Menu!=!./node_modules/lucide-react/dist/esm/lucide-react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n\n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * Main Component { Functional }\r\n * ==============================================================================\r\n * @param {{\r\n * size?: string,\r\n * adminAside?: boolean,\r\n * collapseAsideMobile?: boolean,\r\n * setCollapseAsideMobile?: React.Dispatch<React.SetStateAction<boolean>>,\r\n * }} props - React component props\r\n */ function Logo({ size, adminAside, collapseAsideMobile, setCollapseAsideMobile }) {\n /**\r\n * Get Contexts\r\n *\r\n * @abstract { React.useContext }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Javascript Variables\r\n *\r\n * @abstract Non hook variables and functions\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * React Hooks\r\n *\r\n * @abstract { useState, useEffect, useRef, etc ... }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Function Return\r\n *\r\n * @abstract Main Function Return\r\n */ return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/\",\n className: \"logo\",\n onClick: (e)=>{\n /** @type {*} */ const targetElement = e.target;\n if (targetElement?.closest(\"button\")) {\n return e.preventDefault();\n }\n },\n children: [\n adminAside && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n className: \"flex lg:hidden small-text mr-2 primary-light\",\n onClick: (e)=>{\n if (collapseAsideMobile && setCollapseAsideMobile) {\n setCollapseAsideMobile(false);\n } else if (setCollapseAsideMobile) {\n setCollapseAsideMobile(true);\n }\n },\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n cl
/***/ }),
/***/ "./components/general/PageHeadTags.jsx":
/*!*********************************************!*\
!*** ./components/general/PageHeadTags.jsx ***!
\*********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ PageHeadTags)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\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 react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * ==============================================================================\r\n * Main Component { Functional }\r\n * ==============================================================================\r\n * @param {Object} props - Server props\r\n * @param {string} props.pageTitle\r\n * @param {string} props.pageDescription\r\n * @param {string} props.pagePathname\r\n * @param {boolean} [props.aceEditor]\r\n */ function PageHeadTags({ pageTitle, pageDescription, pagePathname, aceEditor }) {\n /**\r\n * Function Return\r\n *\r\n * @abstract Main Function Return\r\n */ return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), {\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"link\", {\n rel: \"canonical\",\n href: \"http://localhost:7070\" + pagePathname\n }, void 0, false, {\n fileName: \"/app/components/general/PageHeadTags.jsx\",\n lineNumber: 40,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n property: \"og:url\",\n content: \"http://localhost:7070\" + pagePathname\n }, void 0, false, {\n fileName: \"/app/components/general/PageHeadTags.jsx\",\n lineNumber: 44,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n itemProp: \"url\",\n content: \"http://localhost:7070\" + pagePathname\n }, void 0, false, {\n fileName: \"/app/components/general/PageHeadTags.jsx\",\n lineNumber: 48,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n name: \"twitter:url\",\n content: \"http://localhost:7070\" + pagePathname\n }, void 0, false, {\n fileName: \"/app/components/general/PageHeadTags.jsx\",\n lineNumber: 52,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n property: \"og:title\",\n content: pageTitle\n }, void
/***/ }),
/***/ "./components/general/ThemeSelector.jsx":
/*!**********************************************!*\
!*** ./components/general/ThemeSelector.jsx ***!
\**********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ ThemeSelector)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\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 react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * ==============================================================================\r\n * Main Component { Functional }\r\n * ==============================================================================\r\n * @param {object} props - React component props\r\n */ function ThemeSelector(props) {\n /**\r\n * Get Contexts\r\n *\r\n * @abstract { React.useContext }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Javascript Variables\r\n *\r\n * @abstract Non hook variables and functions\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * React Hooks\r\n *\r\n * @abstract { useState, useEffect, useRef, etc ... }\r\n */ const [theme, setTheme] = react__WEBPACK_IMPORTED_MODULE_1___default().useState(\"Light Mode\");\n react__WEBPACK_IMPORTED_MODULE_1___default().useEffect({\n \"ThemeSelector.useEffect\": ()=>{\n let existingTheme = localStorage.getItem(\"theme\");\n if (existingTheme?.match(/dark/)) {\n setTheme(\"Dark Mode\");\n }\n }\n }[\"ThemeSelector.useEffect\"], []);\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Function Return\r\n *\r\n * @abstract Main Function Return\r\n */ return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"\",\n id: \"theme-selector-wrapper\",\n onClick: ()=>{\n const graphicWrapper = document.getElementById(\"theme-selector-graphic-wrapper\");\n let existingTheme = localStorage.getItem(\"theme\");\n const sunIcon = graphicWrapper?.querySelector(\"img.sun\");\n const moonIcon = graphicWrapper?.querySelector(\"img.moon\");\n ////////////////////////////////////////\n if (!existingTheme || existingTheme?.match(/light/)) {\n document.documentElement.className = \"dark\";\n localStorage.setItem(\"theme\", \"dark\");\n existingTheme = \"dark\";\n ////////////////////////////////////////\n sunIcon?.classList.add(\"hidden\");\n moonIcon?.classList.remove(\"hidden\");\n // @ts-ignore\n graphicWrapper?
/***/ }),
/***/ "./functions/frontend/fetchApi.js":
/*!****************************************!*\
!*** ./functions/frontend/fetchApi.js ***!
\****************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ fetchApi)\n/* harmony export */ });\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Fetch Function\r\n * ==============================================================================\r\n * @async\r\n *\r\n * @param {string} url - Admin or Site page\r\n * @param {{\r\n * method: \"POST\" | \"GET\" | \"DELETE\" | \"PUT\" | \"PATCH\" | \"post\" | \"get\" | \"delete\" | \"put\" | \"patch\",\r\n * body: object | string,\r\n * headers?: HeadersInit,\r\n * } | string} [options] - options object or string: **optional\r\n * @param {boolean} [csrf] - Add CSRF?\r\n *\r\n * @returns {Promise<*>}\r\n */ async function fetchApi(url, options, csrf) {\n /** ********************* Initialize data variable */ let data;\n const finalUrl = url.match(/\\?/) ? url : url + window.location.search;\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n if (typeof options === \"string\") {\n try {\n let fetchData;\n switch(options){\n case \"post\":\n fetchData = await fetch(finalUrl, {\n method: options,\n // @ts-ignore\n headers: {\n \"Content-Type\": \"application/json\",\n \"x-csrf-auth\": csrf ? localStorage.getItem(\"csrf\") : \"\"\n }\n });\n data = fetchData.json();\n break;\n default:\n fetchData = await fetch(finalUrl);\n data = fetchData.json();\n break;\n }\n } catch (error) {\n data = null;\n }\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n } else if (typeof options === \"object\") {\n try {\n let fetchData;\n /** ********************* Convert body to JSON if not JSON */ if (options.body && typeof options.body === \"object\") {\n let oldOptionsBody = options.body;\n options.body = JSON.stringify(oldOptionsBody);\n }\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n if (options.headers) {\n ////////////////////////////////////////\n // @ts-ignore\n options.headers[\"x-csrf-auth\"] = csrf ? localStorage.getItem(\"csrf\") : \"\";\n /** @type {any} */ const finalOptions = {\n ...options\n };\n fetchData = await fetch(finalUrl, finalOptions);\n ////////////////////////////////////////\n } else {\n fetchData = await fetch(finalUrl, {\n ...options,\n // @ts-ignore\n headers: {\n \"Content-Type\": \"application/json\",\n \"x-csrf-auth\": csrf ? localStorage.getItem(\"csrf\") : \"\"\n }\n });\n }\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n data = fetchData.json();\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n } catch (error) {\n data = null;\n }\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n } else {\n try {\n
/***/ }),
/***/ "./functions/frontend/updateNavLinks.js":
/*!**********************************************!*\
!*** ./functions/frontend/updateNavLinks.js ***!
\**********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ updateNavLinks)\n/* harmony export */ });\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n *\r\n * @param {object} param0\r\n * @param {HTMLAnchorElement[] | NodeListOf<HTMLAnchorElement>} [param0.links]\r\n */ async function updateNavLinks({ links }) {\n /** @type {NodeListOf<HTMLAnchorElement> | HTMLAnchorElement[]} */ let navLinks = links ? links : document.querySelectorAll(\"nav a\");\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n if (navLinks) {\n navLinks.forEach((link)=>{\n if (link.dataset.currentlink === window.location.pathname) {\n link.classList.add(\"active\");\n } else if (window.location.pathname.match(new RegExp(`${link.dataset.currentlink}\\\\/.*`)) && !link.dataset.strictlink) {\n link.classList.add(\"active\");\n }\n });\n }\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n const isDbPathValid = window.location.pathname.match(/\\/databases\\/.*/);\n if (isDbPathValid) {\n const links = document.querySelectorAll(\"a\");\n if (links && window.location.search.match(/delegated=true/)) {\n links.forEach((link, index)=>{\n if (!link?.pathname?.match(/databases/)) return;\n link.href = link.pathname + window.location.search;\n });\n }\n }\n} /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ \n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9mdW5jdGlvbnMvZnJvbnRlbmQvdXBkYXRlTmF2TGlua3MuanMiLCJtYXBwaW5ncyI6Ijs7OztBQUFBLFlBQVk7QUFFWjs7OztDQUlDLEdBRUQsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUNuRixtRkFBbUYsR0FFbkY7Ozs7Q0FJQyxHQUNjLGVBQWVBLGVBQWUsRUFBRUMsS0FBSyxFQUFFO0lBQ2xELGdFQUFnRSxHQUNoRSxJQUFJQyxXQUFXRCxRQUFRQSxRQUFRRSxTQUFTQyxnQkFBZ0IsQ0FBQztJQUV6RCx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUV4QyxJQUFJRixVQUFVO1FBQ1ZBLFNBQVNHLE9BQU8sQ0FBQyxDQUFDQztZQUNkLElBQUlBLEtBQUtDLE9BQU8sQ0FBQ0MsV0FBVyxLQUFLQyxPQUFPQyxRQUFRLENBQUNDLFFBQVEsRUFBRTtnQkFDdkRMLEtBQUtNLFNBQVMsQ0FBQ0MsR0FBRyxDQUFDO1lBQ3ZCLE9BQU8sSUFDSEosT0FBT0MsUUFBUSxDQUFDQyxRQUFRLENBQUNHLEtBQUssQ0FDMUIsSUFBSUMsT0FBTyxHQUFHVCxLQUFLQyxPQUFPLENBQUNDLFdBQVcsQ0FBQyxLQUFLLENBQUMsTUFFakQsQ0FBQ0YsS0FBS0MsT0FBTyxDQUFDUyxVQUFVLEVBQzFCO2dCQUNFVixLQUFLTSxTQUFTLENBQUNDLEdBQUcsQ0FBQztZQUN2QjtRQUNKO0lBQ0o7SUFFQSx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUV4QyxNQUFNSSxnQkFBZ0JSLE9BQU9DLFFBQVEsQ0FBQ0MsUUFBUSxDQUFDRyxLQUFLLENBQUM7SUFFckQsSUFBSUcsZUFBZTtRQUNmLE1BQU1oQixRQUFRRSxTQUFTQyxnQkFBZ0IsQ0FBQztRQUV4QyxJQ
/***/ }),
/***/ "./layouts/GeneralLayout.jsx":
/*!***********************************!*\
!*** ./layouts/GeneralLayout.jsx ***!
\***********************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ GeneralLayout)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\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 react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! next/head */ \"next/head\");\n/* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(next_head__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _functions_frontend_updateNavLinks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../functions/frontend/updateNavLinks */ \"./functions/frontend/updateNavLinks.js\");\n/* harmony import */ var _components_GeneralLayout_Header__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./components/GeneralLayout/Header */ \"./layouts/components/GeneralLayout/Header.jsx\");\n/* harmony import */ var _components_GeneralLayout_Footer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./components/GeneralLayout/Footer */ \"./layouts/components/GeneralLayout/Footer.jsx\");\n/* harmony import */ var _components_GeneralLayout_ProductionHeadComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./components/GeneralLayout/ProductionHeadComponent */ \"./layouts/components/GeneralLayout/ProductionHeadComponent.jsx\");\n/* harmony import */ var _components_GeneralLayout_ScrollToTopButton__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./components/GeneralLayout/ScrollToTopButton */ \"./layouts/components/GeneralLayout/ScrollToTopButton.jsx\");\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n\n\n////////////////////////////////////////\n////////////////////////////////////////\n////////////////////////////////////////\n\n\n\n\n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * ==============================================================================\r\n * Main Component { Functional }\r\n * ==============================================================================\r\n * @param {object} props - React Component Props\r\n * @param {React.ReactNode} props.children - children component\r\n * @param {React.ReactNode} props.head - head Items\r\n * @param {import(\"@/package-shared/types\").UserType | null} [props.user] - user object\r\n * @param {*} [props.productionEnvironment]\r\n * @param {boolean} [props.darkBgHeader]\r\n * @param {boolean} [props.transparentHeader]\r\n */ function GeneralLayout({ children, head, user, productionEnvironment, darkBgHeader, transparentHeader }) {\n /**\r\n * Get Contexts\r\n *\r\n * @abstract { React.useContext }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Javascript Variables\r\n *\r\n * @abstract Non hook variables and functions\
/***/ }),
/***/ "./layouts/components/AdminLayout/AdminUserBlock.jsx":
/*!***********************************************************!*\
!*** ./layouts/components/AdminLayout/AdminUserBlock.jsx ***!
\***********************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ AdminUserBlock)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\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 react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _components_general_LoadingBlock__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../components/general/LoadingBlock */ \"./components/general/LoadingBlock.jsx\");\n/* harmony import */ var _AdminUserDropdown__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../AdminUserDropdown */ \"./layouts/components/AdminUserDropdown.jsx\");\n/* harmony import */ var _components_general_ThemeSelector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../components/general/ThemeSelector */ \"./components/general/ThemeSelector.jsx\");\n/* harmony import */ var _barrel_optimize_names_ChevronDown_lucide_react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! __barrel_optimize__?names=ChevronDown!=!lucide-react */ \"__barrel_optimize__?names=ChevronDown!=!./node_modules/lucide-react/dist/esm/lucide-react.js\");\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n\n\n\n\n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * ==============================================================================\r\n * Main Component { Functional }\r\n * ==============================================================================\r\n * @param {object} props - React component props\r\n * @param {import(\"@/package-shared/types\").UserType | null} [props.activeUser] - user object\r\n * @param {boolean} [props.noModeSelector] - Add dark mode toggler or not\r\n */ function AdminUserBlock({ activeUser, noModeSelector }) {\n /**\r\n * Get Contexts\r\n *\r\n * @abstract { React.useContext }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Javascript Variables\r\n *\r\n * @abstract Non hook variables and functions\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * React Hooks\r\n *\r\n * @abstract { useState, useEffect, useRef, etc ... }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Function Return\r\n *\r\n * @abstract Main Function Return\r\n */ if (!activeUser?.logged_in_status) {\n return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), {}, void 0, false, {\n fileName: \"/app/layouts/components/AdminLayout/AdminUserBlock.jsx\",\n lineNumber: 67,\n columnNumber: 16\n }, this);\n }
/***/ }),
/***/ "./layouts/components/AdminUserDropdown.jsx":
/*!**************************************************!*\
!*** ./layouts/components/AdminUserDropdown.jsx ***!
\**************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
2024-12-15 11:57:19 +00:00
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ AdminUserDropdown)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\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 react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _barrel_optimize_names_CircleGauge_lucide_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! __barrel_optimize__?names=CircleGauge!=!lucide-react */ \"__barrel_optimize__?names=CircleGauge!=!./node_modules/lucide-react/dist/esm/lucide-react.js\");\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n\n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * Admin User Dropdown\r\n * ==============================================================================\r\n * @param {object} props\r\n * @param {import(\"@/package-shared/types\").UserType} props.user\r\n */ function AdminUserDropdown({ user }) {\n /**\r\n * Get Contexts\r\n *\r\n * @abstract { React.useContext }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Javascript Variables\r\n *\r\n * @abstract Non hook variables and functions\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * React Hooks\r\n *\r\n * @abstract { useState, useEffect, useRef, etc ... }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Function Return\r\n *\r\n * @abstract Main Function Return\r\n */ return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"dropdown right-aligned\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/admin\",\n className: \"button outlined gray more-padding relative z-20 mb-2\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CircleGauge_lucide_react__WEBPACK_IMPORTED_MODULE_2__.CircleGauge, {\n size: 18,\n className: \"mr-1\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/AdminUserDropdown.jsx\",\n lineNumber: 66,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n children: \"Dashboard\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/AdminUserDropdown.js
2024-12-15 11:27:16 +00:00
/***/ }),
/***/ "./layouts/components/GeneralLayout/Footer.jsx":
/*!*****************************************************!*\
!*** ./layouts/components/GeneralLayout/Footer.jsx ***!
\*****************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Footer)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\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 react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _components_general_Logo__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../components/general/Logo */ \"./components/general/Logo.jsx\");\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n\n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * ==============================================================================\r\n * Main Component { Functional }\r\n * ==============================================================================\r\n * @param {object} props - React component props\r\n */ function Footer(props) {\n /**\r\n * Get Contexts\r\n *\r\n * @abstract { React.useContext }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Javascript Variables\r\n *\r\n * @abstract Non hook variables and functions\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * React Hooks\r\n *\r\n * @abstract { useState, useEffect, useRef, etc ... }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Function Return\r\n *\r\n * @abstract Main Function Return\r\n */ return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"footer\", {\n className: \"p-8 md:p-10 w-full flex flex-col items-center\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"main-container items-start justify-between gap-6 flex-wrap flex-col md:flex-row pt-6\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"flex flex-col items-start gap-6\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_components_general_Logo__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {}, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Footer.jsx\",\n lineNumber: 64,\n columnNumber: 21\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n className: \"font-normal max-w-sm text-sm text-lef
/***/ }),
/***/ "./layouts/components/GeneralLayout/Header.jsx":
/*!*****************************************************!*\
!*** ./layouts/components/GeneralLayout/Header.jsx ***!
\*****************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Header)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\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 react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _components_general_ThemeSelector__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../components/general/ThemeSelector */ \"./components/general/ThemeSelector.jsx\");\n/* harmony import */ var _components_general_Logo__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../components/general/Logo */ \"./components/general/Logo.jsx\");\n/* harmony import */ var _AdminLayout_AdminUserBlock__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../AdminLayout/AdminUserBlock */ \"./layouts/components/AdminLayout/AdminUserBlock.jsx\");\n/* harmony import */ var _barrel_optimize_names_ChevronDown_lucide_react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! __barrel_optimize__?names=ChevronDown!=!lucide-react */ \"__barrel_optimize__?names=ChevronDown!=!./node_modules/lucide-react/dist/esm/lucide-react.js\");\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n\n\n\n\n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * ==============================================================================\r\n * Main Component { Functional }\r\n * ==============================================================================\r\n * @param {object} props - React component props\r\n * @param {import(\"@/package-shared/types\").UserType | null} [props.user]\r\n * @param {boolean} [props.darkBg]\r\n * @param {boolean} [props.transparent]\r\n */ function Header({ user, darkBg, transparent }) {\n /**\r\n * Get Contexts\r\n *\r\n * @abstract { React.useContext }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Javascript Variables\r\n *\r\n * @abstract Non hook variables and functions\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * React Hooks\r\n *\r\n * @abstract { useState, useEffect, useRef, etc ... }\r\n */ const [activeUser, setActiveUser] = react__WEBPACK_IMPORTED_MODULE_1___default().useState(user?.logged_in_status ? user : null);\n // const [activeUser, setActiveUser] = React.useState(user);\n react__WEBPACK_IMPORTED_MODULE_1___default().useEffect({\n \"Header.useEffect\": ()=>{\n /** @type {*} */ const mainNavWrapper = document.getElementById(\"main-nav-content-wrapper\");\n window.addEventListener(\"click\", {\n \"Header.useEffect\": (e)=>{\n /** @type {*} */ const clickTarget = e.target;\n if (clickTarget?.closest(\"#main-nav-content-wr
/***/ }),
/***/ "./layouts/components/GeneralLayout/ProductionHeadComponent.jsx":
/*!**********************************************************************!*\
!*** ./layouts/components/GeneralLayout/ProductionHeadComponent.jsx ***!
\**********************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ ProductionHeadComponent)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\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 react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * ==============================================================================\r\n * Main Component { Functional }\r\n * ==============================================================================\r\n * @param {object} props - React component props\r\n * @param {*} props.head\r\n * @param {*} props.productionEnvironment\r\n */ function ProductionHeadComponent(props) {\n /**\r\n * Get Contexts\r\n *\r\n * @abstract { React.useContext }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Javascript Variables\r\n *\r\n * @abstract Non hook variables and functions\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * React Hooks\r\n *\r\n * @abstract { useState, useEffect, useRef, etc ... }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Function Return\r\n *\r\n * @abstract Main Function Return\r\n */ return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), {}, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/ProductionHeadComponent.jsx\",\n lineNumber: 61,\n columnNumber: 12\n }, this);\n////////////////////////////////////////\n////////////////////////////////////////\n////////////////////////////////////////\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9sYXlvdXRzL2NvbXBvbmVudHMvR2VuZXJhbExheW91dC9Qcm9kdWN0aW9uSGVhZENvbXBvbmVudC5qc3giLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBQSxZQUFZO0FBRVo7Ozs7Q0FJQztBQUN5QjtBQUUxQixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUVuRjs7Ozs7OztDQU9DLEdBQ2MsU0FBU0Msd0JBQXdCQyxLQUFLO0lBQ2pEOzs7O0tBSUMsR0FFRCx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUV4Qzs7OztLQUlDLEdBRUQsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFFeEM7Ozs7S0FJQyxHQUVELHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBRXhDOzs7O0tBSUMsR0FDRCxxQkFBTyw4REFBQ0YsdURBQWM7Ozs7O0FBQ3RCLHdDQUF3QztBQUN4Qyx3Q0FBd0M7QUFDeEMsd0NBQXdDO0FBQzVDIiwic291cmNlcyI6WyIvYXBwL2xheW91dHMvY29tcG9uZW50cy9HZW5lcmFsTGF5b3V0L1Byb2R1Y3Rpb25IZWFkQ29tcG9uZW50LmpzeCJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBAdHMtY2hlY2tcclxuXHJcb
/***/ }),
/***/ "./layouts/components/GeneralLayout/ScrollToTopButton.jsx":
/*!****************************************************************!*\
!*** ./layouts/components/GeneralLayout/ScrollToTopButton.jsx ***!
\****************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ ScrollToTopButton)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\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 _barrel_optimize_names_ChevronUp_lucide_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! __barrel_optimize__?names=ChevronUp!=!lucide-react */ \"__barrel_optimize__?names=ChevronUp!=!./node_modules/lucide-react/dist/esm/lucide-react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n\n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * ==============================================================================\r\n * Main Component { Functional }\r\n * ==============================================================================\r\n * @param {object} props\r\n * @param {boolean} [props.snug]\r\n */ function ScrollToTopButton({ snug }) {\n /**\r\n * Get Contexts\r\n *\r\n * @abstract { React.useContext }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Javascript Variables\r\n *\r\n * @abstract Non hook variables and functions\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * React Hooks\r\n *\r\n * @abstract { useState, useEffect, useRef, etc ... }\r\n */ const [isVisible, setIsVisible] = react__WEBPACK_IMPORTED_MODULE_1___default().useState(false);\n react__WEBPACK_IMPORTED_MODULE_1___default().useEffect({\n \"ScrollToTopButton.useEffect\": ()=>{\n window.addEventListener(\"scroll\", {\n \"ScrollToTopButton.useEffect\": (e)=>{\n if (window.scrollY > 600) {\n setIsVisible(true);\n } else {\n setIsVisible(false);\n }\n }\n }[\"ScrollToTopButton.useEffect\"]);\n }\n }[\"ScrollToTopButton.useEffect\"], []);\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Function Return\r\n *\r\n * @abstract Main Function Return\r\n */ return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), {\n children: isVisible && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n className: \"fixed z-40 w-12 h-12 p-2 rounded-full bg-white dark:bg-slate-600 shadow-xl flex items-center justify-center hover:bg-slate-800 dark:hover:bg-slate-800 text-slate-500 dark:text-slate-200 outline-slate-300 dark:outline-t
/***/ }),
/***/ "./pages/_app.js":
/*!***********************!*\
!*** ./pages/_app.js ***!
\***********************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ AppContext: () => (/* binding */ AppContext),\n/* harmony export */ \"default\": () => (/* binding */ DataSquirel)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\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 react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var next_script__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! next/script */ \"./node_modules/next/script.js\");\n/* harmony import */ var next_script__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(next_script__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! next/head */ \"next/head\");\n/* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(next_head__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _styles_less_css__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../styles/less.css */ \"./styles/less.css\");\n/* harmony import */ var _styles_less_css__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_styles_less_css__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _styles_tailwind_css__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../styles/tailwind.css */ \"./styles/tailwind.css\");\n/* harmony import */ var _styles_tailwind_css__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_styles_tailwind_css__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _components_ErrorBoundary__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../components/ErrorBoundary */ \"./components/ErrorBoundary.jsx\");\n// @ts-check\n\n\n\n\n\n\n\n/** @type {React.Context<{pageProps: Object<string, any>}>} */ const AppContext = /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_1___default().createContext({\n pageProps: {}\n});\n/**\r\n * App Component\r\n * ==========================================\r\n * @param {import(\"next/app\").AppProps} props\r\n */ function DataSquirel({ Component, pageProps }) {\n return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(AppContext.Provider, {\n value: {\n pageProps\n },\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)((next_head__WEBPACK_IMPORTED_MODULE_3___default()), {\n children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n name: \"viewport\",\n content: \"width=device-width, initial-scale=1\"\n }, void 0, false, {\n fileName: \"/app/pages/_app.js\",\n lineNumber: 21,\n columnNumber: 17\n }, this)\n }, void 0, false, {\n fileName: \"/app/pages/_app.js\",\n lineNumber: 20,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_components_ErrorBoundary__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(Component, {\n ...pageProps\n }, void 0, false, {\n fileName: \"/app/pages/_app.js\",\n lineNumber: 27,\n columnNumber: 17\n }, this)\n }, void 0, false,
/***/ }),
/***/ "./pages/_document.js":
/*!****************************!*\
!*** ./pages/_document.js ***!
\****************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Document)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\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 react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var next_document__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! next/document */ \"./node_modules/next/document.js\");\n/* harmony import */ var next_document__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(next_document__WEBPACK_IMPORTED_MODULE_2__);\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n\n////////////////////////////////////////\n////////////////////////////////////////\n////////////////////////////////////////\n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * ==============================================================================\r\n * Main Component { Functional }\r\n * ==============================================================================\r\n * @param {Object} props - Server props\r\n */ function Document(props) {\n /**\r\n * Get Contexts\r\n *\r\n * @abstract { React.useContext }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Javascript Variables\r\n *\r\n * @abstract Non hook variables and functions\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * React Hooks\r\n *\r\n * @abstract { useState, useEffect, useRef, etc ... }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Function Return\r\n *\r\n * @abstract Main Function Return\r\n */ return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(next_document__WEBPACK_IMPORTED_MODULE_2__.Html, {\n lang: \"en\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(next_document__WEBPACK_IMPORTED_MODULE_2__.Head, {\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n name: \"author\",\n content: \"Datasquirel\"\n }, void 0, false, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 68,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n name: \"Copyright\",\n content: `Copyright (c) ${new Date().getFullYear()} Datasquirel`\n
/***/ }),
/***/ "./styles/less.css":
/*!*************************!*\
!*** ./styles/less.css ***!
\*************************/
/***/ (() => {
/***/ }),
/***/ "./styles/tailwind.css":
/*!*****************************!*\
!*** ./styles/tailwind.css ***!
\*****************************/
/***/ (() => {
/***/ }),
/***/ "next/dist/compiled/next-server/pages.runtime.dev.js":
/*!**********************************************************************!*\
!*** external "next/dist/compiled/next-server/pages.runtime.dev.js" ***!
\**********************************************************************/
/***/ ((module) => {
"use strict";
module.exports = require("next/dist/compiled/next-server/pages.runtime.dev.js");
/***/ }),
/***/ "next/head":
/*!****************************!*\
!*** external "next/head" ***!
\****************************/
/***/ ((module) => {
"use strict";
module.exports = require("next/head");
/***/ }),
/***/ "react":
/*!************************!*\
!*** external "react" ***!
\************************/
/***/ ((module) => {
"use strict";
module.exports = require("react");
/***/ }),
/***/ "react-dom":
/*!****************************!*\
!*** external "react-dom" ***!
\****************************/
/***/ ((module) => {
"use strict";
module.exports = require("react-dom");
/***/ }),
/***/ "react/jsx-dev-runtime":
/*!****************************************!*\
!*** external "react/jsx-dev-runtime" ***!
\****************************************/
/***/ ((module) => {
"use strict";
module.exports = require("react/jsx-dev-runtime");
/***/ }),
/***/ "react/jsx-runtime":
/*!************************************!*\
!*** external "react/jsx-runtime" ***!
\************************************/
/***/ ((module) => {
"use strict";
module.exports = require("react/jsx-runtime");
/***/ }),
/***/ "path":
/*!***********************!*\
!*** external "path" ***!
\***********************/
/***/ ((module) => {
"use strict";
module.exports = require("path");
/***/ })
};
;
// load runtime
var __webpack_require__ = require("./webpack-runtime.js");
__webpack_require__.C(exports);
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
var __webpack_exports__ = __webpack_require__.X(0, ["vendor-chunks/next","vendor-chunks/@swc","vendor-chunks/lucide-react"], () => (__webpack_exec__("./node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2F_error&preferredRegion=&absolutePagePath=.%2Fnode_modules%2Fnext%2Fdist%2Fpages%2F_error.js&absoluteAppPath=private-next-pages%2F_app&absoluteDocumentPath=private-next-pages%2F_document&middlewareConfigBase64=e30%3D!")));
module.exports = __webpack_exports__;
})();