plutonium/launcher/assets/js/chunk-520ec366.59e39e11.js.map
2023-12-10 08:25:41 -05:00

1 line
9.2 KiB
Plaintext

{"version":3,"sources":["webpack:///./src/assets/avatar-default.jpg","webpack:///./src/peek/profile/index.vue?12b1","webpack:///src/peek/profile/index.vue","webpack:///./src/peek/profile/index.vue?5e74","webpack:///./src/peek/profile/index.vue","webpack:///./src/peek/profile/index.vue?9884"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","on","logout","_v","_s","user","username","attrs","profilePic","friends","length","_e","reloadFriends","_l","friend","key","uid","avatar","coreVersion","launcherUIVersion","staticRenderFns","computed","mapGetters","showPeek","$store","getters","launcherVersion","created","methods","checkClose","i","target","$el","closePeek","dispatch","component"],"mappings":"8HAAAA,EAAOC,QAAU,IAA0B,mC,2CCA3C,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,YAAY,CAACF,EAAG,MAAM,CAACE,YAAY,4BAA4BC,GAAG,CAAC,MAAQP,EAAIQ,SAAS,CAACJ,EAAG,IAAI,CAACE,YAAY,wBAAwBN,EAAIS,GAAG,cAAcL,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,MAAM,CAACE,YAAY,SAAS,CAACN,EAAIS,GAAG,IAAIT,EAAIU,GAAGV,EAAIW,KAAKC,UAAU,OAAOR,EAAG,MAAM,CAACS,MAAM,CAAC,IAAMb,EAAIW,KAAKG,YAAc,EAAQ,eAAoCV,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACN,EAAIS,GAAG,aAAcT,EAAIW,KAAKI,SAAWf,EAAIW,KAAKI,QAAQC,OAAQZ,EAAG,OAAO,CAACJ,EAAIS,GAAG,OAAOT,EAAIU,GAAGV,EAAIW,KAAKI,QAAQC,QAAQ,OAAOh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KsC,YACLtC,KAAK6B,OAAOU,SAAS,0BAEvBtB,cAXJ,WAYMjB,KAAK6B,OAAOU,SAAS,iCCtFmU,I,wBCQ1VC,EAAY,eACd,EACA1C,EACA2B,GACA,EACA,KACA,WACA,MAIa,aAAAe,E,2CCnBf","file":"js/chunk-520ec366.59e39e11.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/avatar-default.849d500f.jpg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"titleBar\"},[_c('div',{staticClass:\"float-left cursor-pointer\",on:{\"click\":_vm.logout}},[_c('i',{staticClass:\"fal fa-sign-out-alt\"}),_vm._v(\" Logout \")]),_c('div',{staticClass:\"float-right\"},[_c('div',{staticClass:\"title\"},[_vm._v(\" \"+_vm._s(_vm.user.username)+\" \")]),_c('img',{attrs:{\"src\":_vm.user.profilePic || require('assets/avatar-default.jpg')}})])]),_c('div',{staticClass:\"content\"},[_c('div',{staticClass:\"header\"},[_vm._v(\" Friends \"),(_vm.user.friends && _vm.user.friends.length)?_c('span',[_vm._v(\" - [\"+_vm._s(_vm.user.friends.length)+\"]\")]):_vm._e(),_c('div',{on:{\"click\":_vm.reloadFriends}},[_c('i',{staticClass:\"fas fa-sync-alt float-right clickable\"})])]),(_vm.user.friends)?[(!_vm.user.friends.length)?_c('em',[_vm._v(\"No Friends online\")]):_vm._l((_vm.user.friends),function(friend){return _c('div',{key:friend.uid,staticClass:\"friend\"},[_c('img',{staticClass:\"clickable round-highlight\",attrs:{\"src\":friend.avatar}}),_c('div',{staticClass:\"name\"},[_vm._v(\" \"+_vm._s(friend.username)+\" \")])])})]:_vm._e(),_c('div',{staticClass:\"header\"},[_vm._v(\" Settings \")]),_c('em',[_vm._v(\"Settings currently not available\")])],2),_c('div',{staticClass:\"footer\"},[_vm._v(\" Core version: \"),_c('em',[_vm._v(_vm._s(_vm.coreVersion))]),_c('br'),_vm._v(\" Launcher version: \"),_c('em',[_vm._v(_vm._s(_vm.launcherUIVersion))])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div>\r\n <div class=\"titleBar\">\r\n <div\r\n class=\"float-left cursor-pointer\"\r\n @click=\"logout\"\r\n >\r\n <i class=\"fal fa-sign-out-alt\" /> Logout\r\n </div>\r\n <div class=\"float-right\">\r\n <div class=\"title\">\r\n {{ user.username }}\r\n </div>\r\n <img :src=\"user.profilePic || require('assets/avatar-default.jpg')\">\r\n </div>\r\n </div>\r\n <div class=\"content\">\r\n <div class=\"header\">\r\n Friends <span v-if=\"user.friends && user.friends.length\"> - [{{ user.friends.length }}]</span>\r\n <div @click=\"reloadFriends\">\r\n <i class=\"fas fa-sync-alt float-right clickable\" />\r\n </div>\r\n </div>\r\n <template v-if=\"user.friends\">\r\n <em v-if=\"!user.friends.length\">No Friends online</em>\r\n <div\r\n v-for=\"friend in user.friends\"\r\n v-else\r\n :key=\"friend.uid\"\r\n class=\"friend\"\r\n >\r\n <img\r\n :src=\"friend.avatar\"\r\n class=\"clickable round-highlight\"\r\n >\r\n <div class=\"name\">\r\n {{ friend.username }}\r\n </div>\r\n </div>\r\n </template>\r\n <div class=\"header\">\r\n Settings\r\n </div>\r\n <em>Settings currently not available</em>\r\n </div>\r\n <div class=\"footer\">\r\n Core version: <em>{{ coreVersion }}</em>\r\n <br>\r\n Launcher version: <em>{{ launcherUIVersion }}</em>\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\nimport { mapGetters } from 'vuex'\r\n// eslint-disable-next-line no-unused-vars\r\nexport default {\r\n computed: {\r\n ...mapGetters({\r\n user: 'authentication/user'\r\n }),\r\n showPeek () {\r\n return this.$store.getters['ui/showPeek']\r\n },\r\n coreVersion () {\r\n // eslint-disable-next-line no-undef\r\n return launcherVersion()\r\n },\r\n launcherUIVersion () {\r\n return process.env.VUE_APP_LAUNCHER_VERSION || 'Unknown'\r\n }\r\n },\r\n created () {\r\n if (!this.user.friends.length) this.reloadFriends()\r\n },\r\n methods: {\r\n checkClose (i) {\r\n if (i.target === this.$el) this.closePeek()\r\n },\r\n closePeek () {\r\n this.$store.dispatch('ui/setPeek', false)\r\n },\r\n logout () {\r\n this.closePeek()\r\n this.$store.dispatch('authentication/logout')\r\n },\r\n reloadFriends () {\r\n this.$store.dispatch('authentication/loadFriends')\r\n }\r\n }\r\n}\r\n</script>\r\n<style lang=\"stylus\" scoped>\r\n.friend {\r\n display: inline-block;\r\n position: relative;\r\n\r\n img {\r\n width: 48px;\r\n border-radius: 100%;\r\n margin: 8px;\r\n margin-left: 13px;\r\n margin-right: 13px;\r\n background-color: alpha(black, 0.05);\r\n }\r\n\r\n &:hover {\r\n cursor: pointer;\r\n\r\n .name {\r\n display: block;\r\n }\r\n }\r\n\r\n .name {\r\n text-align: center;\r\n position: absolute;\r\n bottom: -10px;\r\n width: 100%;\r\n display: none;\r\n white-space: nowrap;\r\n }\r\n}\r\n\r\n.content {\r\n padding: 16px;\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=a6e43a64&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=a6e43a64&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a6e43a64\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--12-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--12-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--12-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--12-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=a6e43a64&lang=stylus&scoped=true&\""],"sourceRoot":""}