"use strict";
(() => {
var exports = {};
exports.id = 7403;
exports.ids = [7403,8105];
exports.modules = {

/***/ 2495:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// EXPORTS
__webpack_require__.d(__webpack_exports__, {
  "DatabaseShellContext": () => (/* binding */ DatabaseShellContext),
  "default": () => (/* binding */ DatabaseShellPage),
  "getServerSideProps": () => (/* binding */ getServerSideProps)
});

// EXTERNAL MODULE: external "react/jsx-runtime"
var jsx_runtime_ = __webpack_require__(997);
// EXTERNAL MODULE: external "react"
var external_react_ = __webpack_require__(6689);
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
// EXTERNAL MODULE: ./layouts/AdminLayout.jsx + 2 modules
var AdminLayout = __webpack_require__(4858);
// EXTERNAL MODULE: ./functions/backend/userAuth.js
var userAuth = __webpack_require__(370);
var userAuth_default = /*#__PURE__*/__webpack_require__.n(userAuth);
// EXTERNAL MODULE: ./components/general/ExtraContentDatabase.jsx
var ExtraContentDatabase = __webpack_require__(4941);
// EXTERNAL MODULE: ./package-shared/functions/backend/varDatabaseDbHandler.js
var varDatabaseDbHandler = __webpack_require__(1206);
var varDatabaseDbHandler_default = /*#__PURE__*/__webpack_require__.n(varDatabaseDbHandler);
// EXTERNAL MODULE: ./components/general/BackButton.jsx
var BackButton = __webpack_require__(1781);
// EXTERNAL MODULE: ./components/general/Breadcrumbs.jsx
var Breadcrumbs = __webpack_require__(424);
// EXTERNAL MODULE: ./components/general/LoadingBlock.jsx
var LoadingBlock = __webpack_require__(5264);
// EXTERNAL MODULE: ./functions/frontend/fetchApi.js
var fetchApi = __webpack_require__(6729);
// EXTERNAL MODULE: external "@mui/material/styles"
var styles_ = __webpack_require__(8442);
// EXTERNAL MODULE: external "@mui/material/Table"
var Table_ = __webpack_require__(9181);
var Table_default = /*#__PURE__*/__webpack_require__.n(Table_);
// EXTERNAL MODULE: external "@mui/material/TableBody"
var TableBody_ = __webpack_require__(8823);
var TableBody_default = /*#__PURE__*/__webpack_require__.n(TableBody_);
// EXTERNAL MODULE: external "@mui/material/TableCell"
var TableCell_ = __webpack_require__(5612);
var TableCell_default = /*#__PURE__*/__webpack_require__.n(TableCell_);
// EXTERNAL MODULE: external "@mui/material/TableContainer"
var TableContainer_ = __webpack_require__(443);
var TableContainer_default = /*#__PURE__*/__webpack_require__.n(TableContainer_);
// EXTERNAL MODULE: external "@mui/material/TableHead"
var TableHead_ = __webpack_require__(5953);
var TableHead_default = /*#__PURE__*/__webpack_require__.n(TableHead_);
// EXTERNAL MODULE: external "@mui/material/TableRow"
var TableRow_ = __webpack_require__(4848);
var TableRow_default = /*#__PURE__*/__webpack_require__.n(TableRow_);
// EXTERNAL MODULE: external "@mui/material/Paper"
var Paper_ = __webpack_require__(1168);
var Paper_default = /*#__PURE__*/__webpack_require__.n(Paper_);
;// CONCATENATED MODULE: ./components/admin/databases/DatabaseShellQueryResult.jsx
// @ts-check
/**
 * ==============================================================================
 * Imports
 * ==============================================================================
 */ 










/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ const StyledTableCell = (0,styles_.styled)((TableCell_default()))(({ theme  })=>({
        [`&.${TableCell_.tableCellClasses.head}`]: {
            backgroundColor: "var(--slate-800)",
            color: "white"
        },
        [`&.${TableCell_.tableCellClasses.body}`]: {
        }
    }));
/** ****************************************************************************** */ /**
 * ==============================================================================
 * Main Component { Functional }
 * ==============================================================================
 * @param {Object} props - Server props
 * @param {any} props.data
 * @param {import("@/package-shared/types").UserType} props.user
 */ function DatabaseShellQueryResult({ data , user  }) {
    /**
     * Get Contexts
     *
     * @abstract { React.useContext }
     */ ////////////////////////////////////////
    ////////////////////////////////////////
    ////////////////////////////////////////
    try {
        /**
         * Javascript Variables
         *
         * @abstract Non hook variables and functions
         */ const headers = Object.keys(data[0]);
        ////////////////////////////////////////
        ////////////////////////////////////////
        ////////////////////////////////////////
        /**
         * React Hooks
         *
         * @abstract { useState, useEffect, useRef, etc ... }
         */ ////////////////////////////////////////
        ////////////////////////////////////////
        ////////////////////////////////////////
        /**
         * Function Return
         *
         * @abstract Main Function Return
         */ return /*#__PURE__*/ jsx_runtime_.jsx((external_react_default()).Fragment, {
            children: /*#__PURE__*/ jsx_runtime_.jsx("div", {
                className: "p-4 bg-slate-200 rounded-md overflow-hidden",
                children: /*#__PURE__*/ jsx_runtime_.jsx((TableContainer_default()), {
                    component: (Paper_default()),
                    sx: {
                        width: "100%"
                    },
                    children: /*#__PURE__*/ (0,jsx_runtime_.jsxs)((Table_default()), {
                        sx: {
                            minWidth: 650
                        },
                        "aria-label": "simple table",
                        children: [
                            /*#__PURE__*/ jsx_runtime_.jsx((TableHead_default()), {
                                children: /*#__PURE__*/ jsx_runtime_.jsx((TableRow_default()), {
                                    children: headers && headers[0] && headers.map((header, index)=>{
                                        return /*#__PURE__*/ jsx_runtime_.jsx(StyledTableCell, {
                                            align: "left",
                                            children: header
                                        }, index + 1);
                                    })
                                })
                            }),
                            /*#__PURE__*/ jsx_runtime_.jsx((TableBody_default()), {
                                children: data && data[0] && data.map((/** @type {any} */ dataObject, /** @type {number} */ index)=>{
                                    return /*#__PURE__*/ jsx_runtime_.jsx((TableRow_default()), {
                                        sx: {
                                            "&:last-child td, &:last-child th": {
                                                border: 0
                                            }
                                        },
                                        children: headers.map((header, _index)=>{
                                            return /*#__PURE__*/ jsx_runtime_.jsx(StyledTableCell, {
                                                align: "left",
                                                children: dataObject[header]
                                            }, _index + 1);
                                        })
                                    }, index + 1);
                                })
                            })
                        ]
                    })
                })
            })
        });
    ////////////////////////////////////////
    ////////////////////////////////////////
    ////////////////////////////////////////
    } catch (/** @type {any} */ error) {
        external_react_default().useEffect(()=>{
            (0,fetchApi/* default */.Z)("/api/admin/clientError", {
                method: "post",
                body: {
                    component: "DatabaseShellQueryResult/catch-error-return",
                    message: error.message,
                    user: user
                }
            });
        }, []);
        return /*#__PURE__*/ jsx_runtime_.jsx((external_react_default()).Fragment, {
            children: /*#__PURE__*/ jsx_runtime_.jsx("span", {
                children: "No results"
            })
        });
    }
} /** ****************************************************************************** */  /** ****************************************************************************** */  /** ****************************************************************************** */  /** ****************************************************************************** */  /** ****************************************************************************** */  /** ****************************************************************************** */ 

;// CONCATENATED MODULE: ./components/admin/databases/DatabaseShellContent.jsx
// @ts-check
/**
 * ==============================================================================
 * Imports
 * ==============================================================================
 */ 







/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**
 * ==============================================================================
 * Main Component { Functional }
 * ==============================================================================
 * @param {Object} props - Server props
 */ function DatabaseShellContent(props) {
    /**
     * Get Contexts
     *
     * @abstract { React.useContext }
     */ const { database , dbSchemaData , tables , user  } = external_react_default().useContext(DatabaseShellContext);
    ////////////////////////////////////////
    ////////////////////////////////////////
    ////////////////////////////////////////
    if (!user) {
        return null;
    }
    try {
        /**
         * Javascript Variables
         *
         * @abstract Non hook variables and functions
         */ ////////////////////////////////////////
        ////////////////////////////////////////
        ////////////////////////////////////////
        /**
         * React Hooks
         *
         * @abstract { useState, useEffect, useRef, etc ... }
         */ const sqlEditorRef = external_react_default().useRef();
        /** @type {React.MutableRefObject<AceAjax.Editor | undefined>} */ const editorRef = external_react_default().useRef();
        const [loading, setLoading] = external_react_default().useState(false);
        const [data, setData] = external_react_default().useState(false);
        const [refresh, setRefresh] = external_react_default().useState(0);
        function runQuery() {
            setLoading(true);
            /** @type {string|null} */ const query = editorRef.current ? editorRef.current.getValue() : null;
            if (!query?.match(/./)) return;
            const formattedQuery = query.replace(/^--.*/gm, "").replace(/\n|\r|\n\r/gm, "").replace(/ {2,}/g, " ");
            (0,fetchApi/* default */.Z)("/api/runUserDbQuery", {
                method: "post",
                body: {
                    database: database?.db_slug,
                    query: formattedQuery,
                    tables: tables?.map((tbl)=>tbl.tableSlug)
                }
            }, true).then((res)=>{
                if (res.success) {
                    setData(res.result);
                } else if (res.msg) {
                    window.alert(res.msg);
                }
                setTimeout(()=>{
                    setLoading(false);
                }, 500);
            });
        }
        external_react_default().useEffect(()=>{
            if (!ace?.edit) {
                setTimeout(()=>{
                    setRefresh((prev)=>prev + 1);
                }, 1000);
                return;
            }
            /** @type {AceAjax.Editor} */ const editor = ace.edit("ace-editor-wrapper");
            editor.setOptions({
                mode: "ace/mode/mysql",
                theme: "ace/theme/twilight",
                value: `SELECT * FROM ${tables?.[0] ? tables[0].tableSlug : "no_tables_yet"}`,
                placeholder: "Type an SQL query",
                enableBasicAutocompletion: true,
                enableLiveAutocompletion: true
            });
            editor.commands.addCommand({
                name: "myCommand",
                bindKey: {
                    win: "Ctrl-Enter",
                    mac: "Command-Enter"
                },
                exec: function(editor) {
                    runQuery();
                },
                readOnly: true
            });
            editorRef.current = editor;
        }, [
            refresh
        ]);
        ////////////////////////////////////////
        ////////////////////////////////////////
        ////////////////////////////////////////
        /**
         * Function Return
         *
         * @abstract Main Function Return
         */ return /*#__PURE__*/ (0,jsx_runtime_.jsxs)((external_react_default()).Fragment, {
            children: [
                /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
                    className: "flex-col items-start gap-0 w-full",
                    children: [
                        /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
                            className: "",
                            children: [
                                /*#__PURE__*/ jsx_runtime_.jsx(BackButton/* default */.Z, {}),
                                /*#__PURE__*/ jsx_runtime_.jsx("h1", {
                                    className: "text-3xl m-0",
                                    children: /*#__PURE__*/ (0,jsx_runtime_.jsxs)("span", {
                                        children: [
                                            database?.db_name,
                                            " Database Shell"
                                        ]
                                    })
                                })
                            ]
                        }),
                        /*#__PURE__*/ jsx_runtime_.jsx(Breadcrumbs/* default */.Z, {
                            user: user
                        })
                    ]
                }),
                /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
                    className: "w-full flex-col relative",
                    children: [
                        /*#__PURE__*/ jsx_runtime_.jsx("div", {
                            // @ts-ignore
                            ref: sqlEditorRef,
                            id: "ace-editor-wrapper"
                        }),
                        /*#__PURE__*/ (0,jsx_runtime_.jsxs)("button", {
                            className: "absolute right-4 bottom-4" + (loading ? " pointer-events-none opacity-70" : ""),
                            onClick: (e)=>{
                                runQuery();
                            },
                            children: [
                                loading && /*#__PURE__*/ jsx_runtime_.jsx(LoadingBlock/* default */.Z, {
                                    position: "relative",
                                    width: "15px",
                                    borderWidth: "3px",
                                    style: {
                                        backgroundColor: "transparent"
                                    }
                                }),
                                loading ? "Running Query ..." : "Run Query"
                            ]
                        })
                    ]
                }),
                data && !loading && /*#__PURE__*/ jsx_runtime_.jsx("section", {
                    className: "card",
                    children: /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
                        className: "w-full flex-col items-start overflow-x-scroll",
                        children: [
                            /*#__PURE__*/ jsx_runtime_.jsx("h2", {
                                className: "text-xl",
                                children: "Query Results"
                            }),
                            /*#__PURE__*/ jsx_runtime_.jsx(DatabaseShellQueryResult, {
                                data: data,
                                user: user
                            })
                        ]
                    })
                })
            ]
        });
    ////////////////////////////////////////
    ////////////////////////////////////////
    ////////////////////////////////////////
    } catch (/** @type {any} */ error) {
        external_react_default().useEffect(()=>{
            (0,fetchApi/* default */.Z)("/api/admin/clientError", {
                method: "post",
                body: {
                    component: "DatabaseShellContent/catch-error-return",
                    message: error.message,
                    user: user
                }
            });
        }, []);
        return /*#__PURE__*/ (0,jsx_runtime_.jsxs)((external_react_default()).Fragment, {
            children: [
                /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
                    className: "flex-col items-start gap-0 w-full",
                    children: [
                        /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
                            className: "",
                            children: [
                                /*#__PURE__*/ jsx_runtime_.jsx(BackButton/* default */.Z, {}),
                                /*#__PURE__*/ (0,jsx_runtime_.jsxs)("h1", {
                                    className: "text-3xl m-0",
                                    children: [
                                        /*#__PURE__*/ jsx_runtime_.jsx("span", {
                                            className: "px-2 bg-slate-100 dark:bg-white/10 border border-solid border-slate-300 dark:border-slate-300/20 rounded py-1",
                                            children: database?.db_name
                                        }),
                                        "\xa0",
                                        /*#__PURE__*/ jsx_runtime_.jsx("span", {
                                            children: "Database Shell"
                                        })
                                    ]
                                })
                            ]
                        }),
                        /*#__PURE__*/ jsx_runtime_.jsx(Breadcrumbs/* default */.Z, {
                            user: user
                        })
                    ]
                }),
                /*#__PURE__*/ jsx_runtime_.jsx("section", {
                    className: "card",
                    children: /*#__PURE__*/ jsx_runtime_.jsx("h2", {
                        className: "text-xl m-0",
                        children: "Shell not available at this time"
                    })
                })
            ]
        });
    }
} /** ****************************************************************************** */  /** ****************************************************************************** */  /** ****************************************************************************** */  /** ****************************************************************************** */  /** ****************************************************************************** */  /** ****************************************************************************** */ 

// EXTERNAL MODULE: ./package-shared/utils/backend/global-db/DB_HANDLER.js
var DB_HANDLER = __webpack_require__(9395);
var DB_HANDLER_default = /*#__PURE__*/__webpack_require__.n(DB_HANDLER);
// EXTERNAL MODULE: ./functions/backend/grabUserSchemaData.js
var grabUserSchemaData = __webpack_require__(2527);
;// CONCATENATED MODULE: ./pages/admin/[user_id]/databases/[single]/shell.jsx
// @ts-check
/**
 * ==============================================================================
 * Imports
 * ==============================================================================
 */ 

////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////







/** ****************************************************************************** */ /** @type {import("@/package-shared/types").DbShellContextType} */ const databaseShellInit = {};
const DatabaseShellContext = /*#__PURE__*/ external_react_default().createContext(databaseShellInit);
/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**
 * ==============================================================================
 * Main Component { Functional }
 * ==============================================================================
 * @param {Object} props - Server props
 * @param {import("@/package-shared/types").UserType} props.user
 * @param {import("@/package-shared/types").DSQL_MYSQL_user_databases_Type} props.database
 * @param {any} props.query
 * @param {import("@/package-shared/types").DSQL_DatabaseSchemaType[]} props.dbSchemaData
 * @param {any[]} props.tables
 */ function DatabaseShellPage({ user , database , query , dbSchemaData , tables ,  }) {
    /**
     * Get Contexts
     *
     * @abstract { React.useContext }
     */ ////////////////////////////////////////
    ////////////////////////////////////////
    ////////////////////////////////////////
    /**
     * Javascript Variables
     *
     * @abstract Non hook variables and functions
     */ const pageTitle = "Database Shell | Datasquirel";
    const pageDescription = "Database Shell";
    let head = /*#__PURE__*/ (0,jsx_runtime_.jsxs)(jsx_runtime_.Fragment, {
        children: [
            /*#__PURE__*/ jsx_runtime_.jsx("title", {
                children: pageTitle
            }),
            /*#__PURE__*/ jsx_runtime_.jsx("meta", {
                name: "description",
                content: pageDescription
            }),
            /*#__PURE__*/ jsx_runtime_.jsx("link", {
                rel: "stylesheet",
                href: "/styles/shell-page.css"
            })
        ]
    });
    ////////////////////////////////////////
    ////////////////////////////////////////
    ////////////////////////////////////////
    /**
     * React Hooks
     *
     * @abstract { useState, useEffect, useRef, etc ... }
     */ const [dbImage, setDbImage] = external_react_default().useState(database.db_image);
    ////////////////////////////////////////
    ////////////////////////////////////////
    ////////////////////////////////////////
    /**
     * Function Return
     *
     * @abstract Main Function Return
     */ return /*#__PURE__*/ jsx_runtime_.jsx(AdminLayout/* default */.Z, {
        head: head,
        user: user,
        extraHeaderContent: /*#__PURE__*/ jsx_runtime_.jsx(ExtraContentDatabase/* default */.Z, {
            database: database,
            query: query,
            user: user
        }),
        aceEditor: true,
        children: /*#__PURE__*/ jsx_runtime_.jsx(DatabaseShellContext.Provider, {
            value: {
                user,
                database,
                dbImage,
                setDbImage,
                dbSchemaData,
                tables
            },
            children: /*#__PURE__*/ jsx_runtime_.jsx(DatabaseShellContent, {})
        })
    });
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
}
/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**
 * ==============================================================================
 * Server Side Props or Static Props
 * ==============================================================================
 * @type {import("next").GetServerSideProps}
 */ async function getServerSideProps({ req , res , query  }) {
    try {
        /**
         * User Auth
         *
         * @description User Auth
         */ const user = await userAuth_default()(req, res);
        if (!user?.logged_in_status) {
            return {
                redirect: {
                    destination: "/login",
                    permanent: false
                }
            };
        }
        if (!user?.logged_in_status) {
            return {
                redirect: {
                    destination: "/login",
                    permanent: false
                }
            };
        }
        /**
         * Page/Site Data Data Fetching
         *
         * @description Fetch data on the server before returning
         */ const database = await DB_HANDLER_default()(`SELECT * FROM user_databases WHERE user_id='${user.id}' AND db_slug='${query.single}'`);
        if (!database || !database[0]) {
            return {
                redirect: {
                    destination: `/admin/${user?.id}/databases`,
                    permanent: false
                }
            };
        }
        const tables = await varDatabaseDbHandler_default()({
            queryString: `SHOW TABLES`,
            database: database[0].db_full_name
        });
        const dbSchemaData = (0,grabUserSchemaData/* default */.Z)({
            userId: user.id
        });
        if (!dbSchemaData) throw new Error("User schema data not found!");
        ////////////////////////////////////////
        ////////////////////////////////////////
        ////////////////////////////////////////
        /**
         * Server props return
         *
         * @description Return data fetched on the server side
         */ return {
            props: {
                user: user,
                database: database[0],
                query,
                dbSchemaData: dbSchemaData ? dbSchemaData : [],
                tables: tables && tables[0] ? tables.map((/** @type {any} */ table)=>{
                    const title = Object.keys(table)[0];
                    return {
                        tableSlug: table[title]
                    };
                }) : []
            }
        };
    ////////////////////////////////////////
    ////////////////////////////////////////
    ////////////////////////////////////////
    } catch (error) {
        console.log(error);
        return {
            redirect: {
                destination: "/",
                permanent: false
            }
        };
    }
}


/***/ }),

/***/ 4003:
/***/ ((module) => {

module.exports = require("@mui/icons-material/AdminPanelSettingsTwoTone");

/***/ }),

/***/ 3257:
/***/ ((module) => {

module.exports = require("@mui/icons-material/ArrowBackIosRounded");

/***/ }),

/***/ 69:
/***/ ((module) => {

module.exports = require("@mui/icons-material/CloudOffTwoTone");

/***/ }),

/***/ 4008:
/***/ ((module) => {

module.exports = require("@mui/icons-material/CloudQueueRounded");

/***/ }),

/***/ 3849:
/***/ ((module) => {

module.exports = require("@mui/icons-material/CodeRounded");

/***/ }),

/***/ 7306:
/***/ ((module) => {

module.exports = require("@mui/icons-material/CollectionsTwoTone");

/***/ }),

/***/ 5050:
/***/ ((module) => {

module.exports = require("@mui/icons-material/CopyAllTwoTone");

/***/ }),

/***/ 386:
/***/ ((module) => {

module.exports = require("@mui/icons-material/CottageTwoTone");

/***/ }),

/***/ 8979:
/***/ ((module) => {

module.exports = require("@mui/icons-material/DynamicFormTwoTone");

/***/ }),

/***/ 300:
/***/ ((module) => {

module.exports = require("@mui/icons-material/LanguageOutlined");

/***/ }),

/***/ 2814:
/***/ ((module) => {

module.exports = require("@mui/icons-material/LockTwoTone");

/***/ }),

/***/ 5557:
/***/ ((module) => {

module.exports = require("@mui/icons-material/MenuBookTwoTone");

/***/ }),

/***/ 9806:
/***/ ((module) => {

module.exports = require("@mui/icons-material/PeopleOutlineTwoTone");

/***/ }),

/***/ 36:
/***/ ((module) => {

module.exports = require("@mui/icons-material/RefreshRounded");

/***/ }),

/***/ 1799:
/***/ ((module) => {

module.exports = require("@mui/icons-material/SchemaTwoTone");

/***/ }),

/***/ 6500:
/***/ ((module) => {

module.exports = require("@mui/icons-material/SendToMobileTwoTone");

/***/ }),

/***/ 7428:
/***/ ((module) => {

module.exports = require("@mui/icons-material/SummarizeTwoTone");

/***/ }),

/***/ 507:
/***/ ((module) => {

module.exports = require("@mui/icons-material/TipsAndUpdatesTwoTone");

/***/ }),

/***/ 1168:
/***/ ((module) => {

module.exports = require("@mui/material/Paper");

/***/ }),

/***/ 9181:
/***/ ((module) => {

module.exports = require("@mui/material/Table");

/***/ }),

/***/ 8823:
/***/ ((module) => {

module.exports = require("@mui/material/TableBody");

/***/ }),

/***/ 5612:
/***/ ((module) => {

module.exports = require("@mui/material/TableCell");

/***/ }),

/***/ 443:
/***/ ((module) => {

module.exports = require("@mui/material/TableContainer");

/***/ }),

/***/ 5953:
/***/ ((module) => {

module.exports = require("@mui/material/TableHead");

/***/ }),

/***/ 4848:
/***/ ((module) => {

module.exports = require("@mui/material/TableRow");

/***/ }),

/***/ 8442:
/***/ ((module) => {

module.exports = require("@mui/material/styles");

/***/ }),

/***/ 2423:
/***/ ((module) => {

module.exports = require("lucide-react");

/***/ }),

/***/ 968:
/***/ ((module) => {

module.exports = require("next/head");

/***/ }),

/***/ 6689:
/***/ ((module) => {

module.exports = require("react");

/***/ }),

/***/ 997:
/***/ ((module) => {

module.exports = require("react/jsx-runtime");

/***/ }),

/***/ 2261:
/***/ ((module) => {

module.exports = require("serverless-mysql");

/***/ }),

/***/ 4300:
/***/ ((module) => {

module.exports = require("buffer");

/***/ }),

/***/ 6113:
/***/ ((module) => {

module.exports = require("crypto");

/***/ }),

/***/ 7147:
/***/ ((module) => {

module.exports = require("fs");

/***/ }),

/***/ 3685:
/***/ ((module) => {

module.exports = require("http");

/***/ }),

/***/ 1017:
/***/ ((module) => {

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, [4017,8313,5264,6729,5449,913,4480,370,424,4858,1781,4941,7023,8682,2317,1206,3314], () => (__webpack_exec__(2495)));
module.exports = __webpack_exports__;

})();