mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
1 line
9.4 KiB
JSON
1 line
9.4 KiB
JSON
{"ast":null,"code":"var _jsxFileName = \"/app/src/App.js\";\nimport { Route, Switch, withRouter } from 'react-router-dom';\nimport Home from './Pages/Home';\nimport About from './Pages/About';\nimport Profile from './Pages/Profile';\nimport Artist from './Pages/Artist';\nimport Album from './Pages/Album';\nimport AlbumEdit from './Pages/AlbumEdit';\nimport ArtistEdit from './Pages/ArtistEdit';\nimport Track from './Pages/Track';\nimport Recent from './Pages/Recent';\nimport User from './Pages/User';\nimport Admin from './Pages/Admin';\nimport Login from './Pages/Login';\nimport Register from './Pages/Register';\nimport Reset from './Pages/Reset';\nimport Navigation from './Components/Navigation';\nimport 'bootstrap/dist/css/bootstrap.min.css';\nimport './App.css';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst App = () => {\n let boolTrue = true; // Remove loading spinner on load\n\n const el = document.querySelector(\".loader-container\");\n\n if (el) {\n el.remove();\n }\n\n return /*#__PURE__*/_jsxDEV(\"div\", {\n children: [/*#__PURE__*/_jsxDEV(Navigation, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 33,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(Switch, {\n children: [/*#__PURE__*/_jsxDEV(Route, {\n exact: boolTrue,\n path: [\"/\", \"/home\"],\n component: Home\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 35,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/about\",\n component: About\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 36,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/recent\",\n component: Recent\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 37,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/user\",\n component: User\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 39,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/u/:uuid\",\n component: Profile\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 40,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/artist/:uuid/edit\",\n component: ArtistEdit\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 41,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/artist/:uuid\",\n component: Artist\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 42,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/album/:uuid/edit\",\n component: AlbumEdit\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 43,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/album/:uuid\",\n component: Album\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 44,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/track/:uuid\",\n component: Track\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 45,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/admin\",\n component: Admin\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 47,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/login\",\n component: Login\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 49,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/register\",\n component: Register\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 50,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/reset/:token\",\n component: Reset\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 52,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/reset\",\n component: Reset\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 53,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 34,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 32,\n columnNumber: 7\n }, this);\n};\n\n_c = App;\nexport default _c2 = withRouter(App);\n\nvar _c, _c2;\n\n$RefreshReg$(_c, \"App\");\n$RefreshReg$(_c2, \"%default%\");","map":{"version":3,"sources":["/app/src/App.js"],"names":["Route","Switch","withRouter","Home","About","Profile","Artist","Album","AlbumEdit","ArtistEdit","Track","Recent","User","Admin","Login","Register","Reset","Navigation","App","boolTrue","el","document","querySelector","remove"],"mappings":";AAAA,SAASA,KAAT,EAAgBC,MAAhB,EAAwBC,UAAxB,QAA0C,kBAA1C;AACA,OAAOC,IAAP,MAAiB,cAAjB;AACA,OAAOC,KAAP,MAAkB,eAAlB;AACA,OAAOC,OAAP,MAAoB,iBAApB;AACA,OAAOC,MAAP,MAAmB,gBAAnB;AACA,OAAOC,KAAP,MAAkB,eAAlB;AACA,OAAOC,SAAP,MAAsB,mBAAtB;AACA,OAAOC,UAAP,MAAuB,oBAAvB;AACA,OAAOC,KAAP,MAAkB,eAAlB;AACA,OAAOC,MAAP,MAAmB,gBAAnB;AACA,OAAOC,IAAP,MAAiB,cAAjB;AACA,OAAOC,KAAP,MAAkB,eAAlB;AACA,OAAOC,KAAP,MAAkB,eAAlB;AACA,OAAOC,QAAP,MAAqB,kBAArB;AACA,OAAOC,KAAP,MAAkB,eAAlB;AAEA,OAAOC,UAAP,MAAuB,yBAAvB;AAEA,OAAO,sCAAP;AACA,OAAO,WAAP;;;AAEA,MAAMC,GAAG,GAAG,MAAM;AACd,MAAIC,QAAQ,GAAG,IAAf,CADc,CAGd;;AACA,QAAMC,EAAE,GAAGC,QAAQ,CAACC,aAAT,CAAuB,mBAAvB,CAAX;;AACA,MAAIF,EAAJ,EAAQ;AACNA,IAAAA,EAAE,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QAAA,SAAS,EAAEG;AAAtC;AAAA;AAAA;AAAA;AAAA,cAXF,eAaE,QAAC,KAAD;AAAO,QAAA,IAAI,EAAC,QAAZ;AAAqB,QAAA,SAAS,EAAEG;AAAhC;AAAA;AAAA;AAAA;AAAA,cAbF,eAeE,QAAC,KAAD;AAAO,QAAA,IAAI,EAAC,QAAZ;AAAqB,QAAA,SAAS,EAAEC;AAAhC;AAAA;AAAA;AAAA;AAAA,cAfF,eAgBE,QAAC,KAAD;AAAO,QAAA,IAAI,EAAC,WAAZ;AAAwB,QAAA,SAAS,EAAEC;AAAnC;AAAA;AAAA;AAAA;AAAA,cAhBF,eAkBE,QAAC,KAAD;AAAO,QAAA,IAAI,EAAC,eAAZ;AAA4B,QAAA,SAAS,EAAEC;AAAvC;AAAA;AAAA;AAAA;AAAA,cAlBF,eAmBE,QAAC,KAAD;AAAO,QAAA,IAAI,EAAC,QAAZ;AAAqB,QAAA,SAAS,EAAEA;AAAhC;AAAA;AAAA;AAAA;AAAA,cAnBF;AAAA;AAAA;AAAA;AAAA;AAAA,YAFF;AAAA;AAAA;AAAA;AAAA;AAAA,UADF;AA2BH,CApCD;;KAAME,G;AAuCN,qBAAehB,UAAU,CAACgB,GAAD,CAAzB","sourcesContent":["import { Route, Switch, withRouter } from 'react-router-dom';\nimport Home from './Pages/Home';\nimport About from './Pages/About';\nimport Profile from './Pages/Profile';\nimport Artist from './Pages/Artist';\nimport Album from './Pages/Album';\nimport AlbumEdit from './Pages/AlbumEdit';\nimport ArtistEdit from './Pages/ArtistEdit';\nimport Track from './Pages/Track';\nimport Recent from './Pages/Recent';\nimport User from './Pages/User';\nimport Admin from './Pages/Admin';\nimport Login from './Pages/Login';\nimport Register from './Pages/Register';\nimport Reset from './Pages/Reset';\n\nimport Navigation from './Components/Navigation';\n\nimport 'bootstrap/dist/css/bootstrap.min.css';\nimport './App.css';\n\nconst App = () => {\n let boolTrue = true;\n\n // Remove loading spinner on load\n const el = document.querySelector(\".loader-container\");\n if (el) {\n el.remove();\n }\n\n return (\n <div>\n <Navigation />\n <Switch>\n <Route exact={boolTrue} path={[\"/\", \"/home\"]} component={Home} />\n <Route path=\"/about\" component={About} />\n <Route path=\"/recent\" component={Recent} />\n\n <Route path=\"/user\" component={User} />\n <Route path=\"/u/:uuid\" component={Profile} />\n <Route path=\"/artist/:uuid/edit\" component={ArtistEdit} />\n <Route path=\"/artist/:uuid\" component={Artist} />\n <Route path=\"/album/:uuid/edit\" component={AlbumEdit} />\n <Route path=\"/album/:uuid\" component={Album} />\n <Route path=\"/track/:uuid\" component={Track} />\n\n <Route path=\"/admin\" component={Admin} />\n\n <Route path=\"/login\" component={Login} />\n <Route path=\"/register\" component={Register} />\n\n <Route path=\"/reset/:token\" component={Reset} />\n <Route path=\"/reset\" component={Reset} />\n\n </Switch>\n </div>\n );\n}\n\n\nexport default withRouter(App);"]},"metadata":{},"sourceType":"module"} |