nyx-dashboard/.next/server/pages/_app.js
2021-06-20 20:44:22 +08:00

204 lines
No EOL
5.6 KiB
JavaScript

(function() {
var exports = {};
exports.id = 888;
exports.ids = [888];
exports.modules = {
/***/ 703:
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"default": function() { return /* binding */ _app; }
});
// EXTERNAL MODULE: external "react/jsx-runtime"
var jsx_runtime_ = __webpack_require__(282);
// EXTERNAL MODULE: external "react"
var external_react_ = __webpack_require__(297);
// EXTERNAL MODULE: ./node_modules/@material-ui/core/esm/styles/makeStyles.js
var makeStyles = __webpack_require__(120);
// EXTERNAL MODULE: ./node_modules/@material-ui/core/esm/AppBar/AppBar.js
var AppBar = __webpack_require__(258);
// EXTERNAL MODULE: ./node_modules/@material-ui/core/esm/Toolbar/Toolbar.js
var Toolbar = __webpack_require__(358);
// EXTERNAL MODULE: ./node_modules/@material-ui/core/esm/Typography/Typography.js
var Typography = __webpack_require__(318);
// EXTERNAL MODULE: ./node_modules/@material-ui/core/esm/Button/Button.js
var Button = __webpack_require__(189);
// EXTERNAL MODULE: ./node_modules/@material-ui/core/esm/IconButton/IconButton.js
var IconButton = __webpack_require__(812);
;// CONCATENATED MODULE: external "@material-ui/icons/Menu"
var Menu_namespaceObject = require("@material-ui/icons/Menu");;
var Menu_default = /*#__PURE__*/__webpack_require__.n(Menu_namespaceObject);
;// CONCATENATED MODULE: ./components/Navbar.js
const useStyles = (0,makeStyles/* default */.Z)(theme => ({
root: {
flexGrow: 1
},
menuButton: {
marginRight: theme.spacing(2)
},
title: {
flexGrow: 1
}
}));
function ButtonAppBar() {
const classes = useStyles();
return /*#__PURE__*/jsx_runtime_.jsx("div", {
className: classes.root,
children: /*#__PURE__*/jsx_runtime_.jsx(AppBar/* default */.Z, {
position: "static",
color: "primary",
style: {
background: '#1F1B24'
},
children: /*#__PURE__*/(0,jsx_runtime_.jsxs)(Toolbar/* default */.Z, {
children: [/*#__PURE__*/jsx_runtime_.jsx(IconButton/* default */.Z, {
edge: "start",
className: classes.menuButton,
color: "inherit",
"aria-label": "menu",
children: /*#__PURE__*/jsx_runtime_.jsx((Menu_default()), {})
}), /*#__PURE__*/jsx_runtime_.jsx(Typography/* default */.Z, {
variant: "h6",
className: classes.title,
children: "Cath.exe"
}), /*#__PURE__*/jsx_runtime_.jsx(Button/* default */.Z, {
color: "inherit",
children: "Stats"
}), /*#__PURE__*/jsx_runtime_.jsx(Button/* default */.Z, {
color: "inherit",
children: "Control Panel"
})]
})
})
});
}
;// CONCATENATED MODULE: ./pages/_app.js
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function MyApp({
Component,
pageProps
}) {
return /*#__PURE__*/(0,jsx_runtime_.jsxs)(jsx_runtime_.Fragment, {
children: [/*#__PURE__*/jsx_runtime_.jsx(ButtonAppBar, {}), /*#__PURE__*/jsx_runtime_.jsx("div", {
className: "page-container",
children: /*#__PURE__*/jsx_runtime_.jsx(Component, _objectSpread({}, pageProps))
})]
});
}
/* harmony default export */ var _app = (MyApp);
/***/ }),
/***/ 47:
/***/ (function(module) {
"use strict";
module.exports = require("@material-ui/styles");;
/***/ }),
/***/ 137:
/***/ (function(module) {
"use strict";
module.exports = require("@material-ui/system");;
/***/ }),
/***/ 958:
/***/ (function(module) {
"use strict";
module.exports = require("@material-ui/utils");;
/***/ }),
/***/ 536:
/***/ (function(module) {
"use strict";
module.exports = require("clsx");;
/***/ }),
/***/ 229:
/***/ (function(module) {
"use strict";
module.exports = require("prop-types");;
/***/ }),
/***/ 297:
/***/ (function(module) {
"use strict";
module.exports = require("react");;
/***/ }),
/***/ 268:
/***/ (function(module) {
"use strict";
module.exports = require("react-dom");;
/***/ }),
/***/ 810:
/***/ (function(module) {
"use strict";
module.exports = require("react-transition-group");;
/***/ }),
/***/ 282:
/***/ (function(module) {
"use strict";
module.exports = require("react/jsx-runtime");;
/***/ })
};
;
// load runtime
var __webpack_require__ = require("../webpack-runtime.js");
__webpack_require__.C(exports);
var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
var __webpack_exports__ = __webpack_require__.X(0, [185,596], function() { return __webpack_exec__(703); });
module.exports = __webpack_exports__;
})();