GoScrobble/web/node_modules/.cache/babel-loader/d5dc55750ff286ec307b0a5420c1d97c.json

1 line
5.0 KiB
JSON
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
{"ast":null,"code":"var _jsxFileName = \"/app/src/Components/RecentScrobbleTable.js\";\nimport React from \"react\";\nimport { Link } from 'react-router-dom';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst RecentScrobbleTable = props => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n style: {\n border: `1px solid #FFFFFF`,\n width: `100%`,\n display: `flex`,\n flexWrap: `wrap`,\n minWidth: `300px`,\n maxWidth: `1200px`\n },\n children: props.data && props.data.map(function (element) {\n let localTime = new Date(element.time);\n return /*#__PURE__*/_jsxDEV(\"div\", {\n style: {\n borderBottom: `1px solid #CCC`,\n width: `100%`,\n padding: `2px`\n },\n children: [localTime.toLocaleString(), /*#__PURE__*/_jsxDEV(Link, {\n to: \"/track/\" + element.track.uuid,\n children: [\" \", element.track.name]\n }, \"track\" + element.time, true, {\n fileName: _jsxFileName,\n lineNumber: 20,\n columnNumber: 22\n }, this), \" -\\xA0\", /*#__PURE__*/_jsxDEV(Link, {\n to: \"/artist/\" + element.artist.uuid,\n children: element.artist.name\n }, \"artist\" + element.time, false, {\n fileName: _jsxFileName,\n lineNumber: 24,\n columnNumber: 22\n }, this), \"\\xA0by \", /*#__PURE__*/_jsxDEV(Link, {\n to: \"/u/\" + element.user.name,\n children: [\" \", element.user.name]\n }, \"user\" + element.time, true, {\n fileName: _jsxFileName,\n lineNumber: 28,\n columnNumber: 31\n }, this)]\n }, \"box\" + element.time, true, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 23\n }, this);\n })\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 6,\n columnNumber: 9\n }, this);\n};\n\n_c = RecentScrobbleTable;\nexport default RecentScrobbleTable;\n\nvar _c;\n\n$RefreshReg$(_c, \"RecentScrobbleTable\");","map":{"version":3,"sources":["/app/src/Components/RecentScrobbleTable.js"],"names":["React","Link","RecentScrobbleTable","props","border","width","display","flexWrap","minWidth","maxWidth","data","map","element","localTime","Date","time","borderBottom","padding","toLocaleString","track","uuid","name","artist","user"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,SAASC,IAAT,QAAqB,kBAArB;;;AAEA,MAAMC,mBAAmB,GAAIC,KAAD,IAAW;AACnC,sBACI;AAAK,IAAA,KAAK,EAAE;AACXC,MAAAA,MAAM,EAAG,mBADE;AAEXC,MAAAA,KAAK,EAAG,MAFG;AAGXC,MAAAA,OAAO,EAAG,MAHC;AAIXC,MAAAA,QAAQ,EAAG,MAJA;AAKXC,MAAAA,QAAQ,EAAG,OALA;AAMXC,MAAAA,QAAQ,EAAG;AANA,KAAZ;AAAA,cASIN,KAAK,CAACO,IAAN,IACAP,KAAK,CAACO,IAAN,CAAWC,GAAX,CAAe,UAAUC,OAAV,EAAmB;AAC/B,UAAIC,SAAS,GAAG,IAAIC,IAAJ,CAASF,OAAO,CAACG,IAAjB,CAAhB;AACA,0BAAO;AAAK,QAAA,KAAK,EAAE;AAACC,UAAAA,YAAY,EAAG,gBAAhB;AAAiCX,UAAAA,KAAK,EAAG,MAAzC;AAAgDY,UAAAA,OAAO,EAAG;AAA1D,SAAZ;AAAA,mBACDJ,SAAS,CAACK,cAAV,EADC,eAED,QAAC,IAAD;AAEG,UAAA,EAAE,EAAE,YAAUN,OAAO,CAACO,KAAR,CAAcC,IAF/B;AAAA,0BAGAR,OAAO,CAACO,KAAR,CAAcE,IAHd;AAAA,WACQ,UAAUT,OAAO,CAACG,IAD1B;AAAA;AAAA;AAAA;AAAA,gBAFC,yBAMD,QAAC,IAAD;AAEG,UAAA,EAAE,EAAE,aAAWH,OAAO,CAACU,MAAR,CAAeF,IAFjC;AAAA,oBAGER,OAAO,CAACU,MAAR,CAAeD;AAHjB,WACQ,WAAWT,OAAO,CAACG,IAD3B;AAAA;AAAA;AAAA;AAAA,gBANC,0BAUQ,QAAC,IAAD;AAEN,UAAA,EAAE,EAAE,QAAMH,OAAO,CAACW,IAAR,CAAaF,IAFjB;AAAA,0BAGNT,OAAO,CAACW,IAAR,CAAaF,IAHP;AAAA,WACD,SAAST,OAAO,CAACG,IADhB;AAAA;AAAA;AAAA;AAAA,gBAVR;AAAA,SAAkF,QAAQH,OAAO,CAACG,IAAlG;AAAA;AAAA;AAAA;AAAA,cAAP;AAgBF,KAlBD;AAVJ;AAAA;AAAA;AAAA;AAAA,UADJ;AAiCH,CAlCD;;KAAMb,mB;AAoCN,eAAeA,mBAAf","sourcesContent":["import React from \"react\";\nimport { Link } from 'react-router-dom';\n\nconst RecentScrobbleTable = (props) => {\n return (\n <div style={{\n border: `1px solid #FFFFFF`,\n width: `100%`,\n display: `flex`,\n flexWrap: `wrap`,\n minWidth: `300px`,\n maxWidth: `1200px`,\n }}>\n {\n props.data &&\n props.data.map(function (element) {\n