-
Notifications
You must be signed in to change notification settings - Fork 40
/
matrix-element.1.min.js.map
1 lines (1 loc) · 48 KB
/
matrix-element.1.min.js.map
1
{"version":3,"sources":["webpack:///./src/components/chats/assets/icon.vue?fb07","webpack:///./src/components/chats/preview/index.vue","webpack:///./src/components/chats/assets/time.vue","webpack:///src/components/chats/assets/time.vue","webpack:///./src/components/chats/assets/time.vue?30b8","webpack:///./src/components/chats/assets/time.vue?b835","webpack:///./src/components/chats/preview/index.js","webpack:///./src/components/chats/preview","webpack:///./src/components/chats/preview/index.vue?a8e5","webpack:///./src/components/chats/dummypreviews/index.vue?6d9c","webpack:///./src/components/chats/dummypreviews/index.vue?d7f7","webpack:///./src/components/chats/assets/icon.vue?c595","webpack:///./src/components/chats/assets/time.vue?ab21","webpack:///./src/components/chats/preview/index.sass","webpack:///./src/components/chats/assets/icon.vue","webpack:///src/components/chats/assets/icon.vue","webpack:///./src/components/chats/assets/icon.vue?e412","webpack:///./src/components/chats/assets/icon.vue?5232","webpack:///./src/components/chats/assets/name.vue?ad6e","webpack:///./src/components/chats/preview/index.sass?ae33","webpack:///./src/components/chats/assets/icon.vue?712c","webpack:///./src/components/chats/preview/index.sass?19be","webpack:///./src/components/chats/dummypreviews/index.vue","webpack:///src/components/chats/dummypreviews/index.vue","webpack:///./src/components/chats/dummypreviews/index.vue?4793","webpack:///./src/components/chats/dummypreviews/index.vue?d4a6","webpack:///./src/components/chats/assets/name.vue","webpack:///src/components/chats/assets/name.vue","webpack:///./src/components/chats/assets/name.vue?82f9","webpack:///./src/components/chats/assets/name.vue?73d3","webpack:///./src/components/chats/dummypreviews/index.vue?c7b9","webpack:///./src/components/chats/assets/name.vue?57cf","webpack:///./src/components/chats/assets/time.vue?1752","webpack:///./src/components/chats/assets/name.vue?0af0","webpack:///./src/components/chats/assets/time.vue?475a"],"names":["___CSS_LOADER_API_IMPORT___","exports","push","module","i","render","_vm","this","_c","_self","_setupProxy","staticClass","class","minimized","active","dummy","attrs","m_chat","chat","ready","roomMuted","_e","event","matrixevent","staticRenderFns","time","_v","_s","$t","name","props","Object","computed","d","lastModified","selfMembership","timeFromNow","moment","utc","toDate","local","fromNow","injectStyles","context","style0","__inject__","component","Boolean","search","String","messages","Array","inject","components","chatName","chatTime","chatIcon","data","loading","lastEvent","userStatusRoom","watch","immediate","handler","_","isEmpty","core","mtrx","kit","prepareChat","then","r","mounted","mapState","auth","state","blockedCheck","users","anotherChatUsers","roomId","length","blockeduser","userId","pushRules","client","pushProcessor","getPushRuleById","store","rooms","chatevents","events","timeline","key","event_id","unknowngroupusers","e","get","methods","content","__esModule","default","locals","add","shadowRoot","groupAvatar","allnotifications","opacity","slidesPerView","usersinfo","status","unseen","singleAvatar","single","Number","hideunseen","dontuseslides","$store","f","date","addseconds","summary","Date","getUnreadNotificationCount","u","first","shuffle","getJoinRule","currentState","getMembers","member","getmatrixid","membership","image","source","chatUsersInfo","us","each","_this$m_chat$currentS","avatar","getStateEvents","avatarUrl","_l","a","va","id","messagesPreview","preview","isShowGroupIcon","public","isPublic","miniappicon","convertedName","_this$m_chat","_this$m_chat2","getContent","filter","user","userinfo","names","map","indexOf","replace","join","chatUsers","markMatches","markText","_this$m_chat3","miniappchat","slice","icon"],"mappings":"oGACA,IAAIA,EAA8B,EAAQ,QAC1CC,EAAUD,GAA4B,GAEtCC,EAAQC,KAAK,CAACC,EAAOC,EAAI,slBAAulB,KAEhnBD,EAAOF,QAAUA,G,oCCNjB,IAAII,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,eAAeC,MAAM,CAAEC,UAAWP,EAAIO,UAAWC,OAAQR,EAAIQ,SAAU,CAACN,EAAG,MAAM,CAACG,YAAY,QAAQ,CAACH,EAAG,MAAM,CAACG,YAAY,kBAAkB,CAACH,EAAG,MAAM,CAACG,YAAY,eAAe,CAAGL,EAAIS,MAAyFP,EAAG,MAAM,CAACG,YA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A,EAAQC,aAAYD,EAAUA,EAAQE,SACnB,kBAAZF,IAAsBA,EAAU,CAAC,CAAC/F,EAAOC,EAAI8F,EAAS,MAC7DA,EAAQG,SAAQlG,EAAOF,QAAUiG,EAAQG,QAE5C,IAAIC,EAAM,EAAQ,QAAqEF,QACvFjG,EAAOF,QAAQ4C,WAAa,SAAU0D,GACpCD,EAAI,WAAYJ,EAASK,K,qBCT3B,IAAIvG,EAA8B,EAAQ,QAC1CC,EAAUD,GAA4B,GAEtCC,EAAQC,KAAK,CAACC,EAAOC,EAAI,sDAAuD,KAEhFD,EAAOF,QAAUA,G,qBCLjB,IAAID,EAA8B,EAAQ,QAC1CC,EAAUD,GAA4B,GAEtCC,EAAQC,KAAK,CAACC,EAAOC,EAAI,wqBAAyqB,KAElsBD,EAAOF,QAAUA,G,kCCNjB","file":"matrix-element.1.min.js","sourcesContent":["// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".opacity[data-v-59e90d10]{opacity:0}.chatIcon[data-v-59e90d10]{width:100%;position:relative}.unknowngroupusersicon[data-v-59e90d10]{position:absolute;left:0;top:0;bottom:0;right:0;font-size:.7em;display:flex;justify-content:center;align-items:center;color:#fff}.unknowngroupusers .bgimage[data-v-59e90d10]{transform:scale(.7)}.chatGroupIcon[data-v-59e90d10],.chatGroupIcon img[data-v-59e90d10]{width:100%;height:100%}.chatGroupIcon img[data-v-59e90d10]{border-radius:50%;-o-object-fit:cover;object-fit:cover;-o-object-position:50% 50%;object-position:50% 50%;position:absolute;top:0;z-index:100}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"chatsPreview\",class:{ minimized: _vm.minimized, active: _vm.active }},[_c('div',{staticClass:\"work\"},[_c('div',{staticClass:\"previewWrapper\"},[_c('div',{staticClass:\"iconWrapper\"},[(!_vm.dummy)?_c('chatIcon',{attrs:{\"m_chat\":_vm.m_chat,\"chat\":_vm.chat,\"dontuseslides\":true}}):_c('div',{staticClass:\"dummyicon loadinggradient\"})],1),_c('div',{staticClass:\"infoWrapper\"},[(!_vm.dummy && _vm.ready)?_c('div',{staticClass:\"summaryLine\"},[_c('div',{staticClass:\"caption flexBlock\"},[(_vm.roomMuted)?_c('div',{staticClass:\"roomMuted\"},[_c('i',{staticClass:\"fas fa-bell-slash\"})]):_vm._e(),_c('chatName',{attrs:{\"preview\":true,\"chat\":_vm.chat,\"m_chat\":_vm.m_chat}})],1),_c('div',{staticClass:\"time\"},[_c('chatTime',{attrs:{\"chat\":_vm.chat,\"m_chat\":_vm.m_chat}})],1)]):_vm._e(),(!_vm.dummy && _vm.ready)?_c('div',{staticClass:\"eventsLine maxwidth\"},[(_vm.event)?_c('eventsEvent',{attrs:{\"event\":_vm.matrixevent,\"chat\":_vm.m_chat,\"preview\":true}}):_vm._e()],1):_vm._e(),(_vm.dummy)?_c('div',{staticClass:\"eventsLine\"},[_c('div',{staticClass:\"dummyline loadinggradient\"})]):_vm._e()])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"chatTime\"},[(_vm.time)?_c('date',{attrs:{\"date\":_vm.time,\"nofuture\":true}}):_c('span',{staticClass:\"new\"},[_vm._v(_vm._s(_vm.$t(\"caption.new\")))])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n\t<div class=\"chatTime\">\r\n\t\t<date v-if=\"time\" :date=\"time\" :nofuture=\"true\" />\r\n\t\t<span class=\"new\" v-else>{{ $t(\"caption.new\") }}</span>\r\n\t</div>\r\n</template>\r\n\r\n<style scoped lang=\"sass\">\r\n.new\r\n color: srgb(--color-good)\r\n</style>\r\n\r\n<script>\r\nexport default {\r\n\tname: \"chatTime\",\r\n\r\n\tprops: {\r\n\t\tchat: Object,\r\n\t\tm_chat: {},\r\n\t},\r\n\r\n\tcomputed: {\r\n\t\ttime: function () {\r\n\t\t\tvar d = this.chat.lastModified;\r\n\t\t\tif (this.m_chat.selfMembership === \"invite\") {\r\n\t\t\t\tvar timeFromNow = moment(moment.utc(d).toDate()).local().fromNow();\r\n\t\t\t\tif (\r\n\t\t\t\t\ttimeFromNow === \"in a few seconds\" ||\r\n\t\t\t\t\ttimeFromNow === \"a few seconds ago\"\r\n\t\t\t\t) {\r\n\t\t\t\t\td = -1;\r\n\t\t\t\t} else {\r\n\t\t\t\t\treturn d;\r\n\t\t\t\t}\r\n\t\t\t\tif (d < 0) return null;\r\n\r\n\t\t\t\treturn d;\r\n\t\t\t} else {\r\n\t\t\t\treturn d;\r\n\t\t\t}\r\n\t\t},\r\n\t},\r\n};\r\n</script>\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../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!./time.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../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!./time.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./time.vue?vue&type=template&id=557108c1&scoped=true\"\nimport script from \"./time.vue?vue&type=script&lang=js\"\nexport * from \"./time.vue?vue&type=script&lang=js\"\nfunction injectStyles (context) {\n \n var style0 = require(\"./time.vue?vue&type=style&index=0&id=557108c1&prod&scoped=true&lang=sass\")\nif (style0.__inject__) style0.__inject__(context)\n\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 injectStyles,\n \"557108c1\",\n null\n ,true\n)\n\nexport default component.exports","import { mapState } from \"vuex\";\r\nimport chatName from \"@/components/chats/assets/name.vue\";\r\nimport chatTime from \"@/components/chats/assets/time.vue\";\r\nimport chatIcon from \"@/components/chats/assets/icon.vue\";\r\nimport f from \"@/application/functions.js\";\r\n\r\nexport default {\r\n\tname: \"preview\",\r\n\tprops: {\r\n\t\tchat: Object,\r\n\t\tdummy: Boolean,\r\n\t\tsearch: String,\r\n\t\tmessages: Array,\r\n\t},\r\n\tinject: [\"matches\"],\r\n\r\n\tcomponents: {\r\n\t\tchatName,\r\n\t\tchatTime,\r\n\t\tchatIcon,\r\n\t},\r\n\r\n\tdata: function () {\r\n\t\treturn {\r\n\t\t\tloading: false,\r\n\t\t\tready: false,\r\n\t\t\tlastEvent: {},\r\n\t\t\tuserStatusRoom: String,\r\n\t\t};\r\n\t},\r\n\r\n\twatch: {\r\n\t\r\n\t\tm_chat: {\r\n\t\t\timmediate: true,\r\n\t\t\thandler: function () {\r\n\t\t\t\tthis.ready = false;\r\n\r\n\t\t\t\tif (this.m_chat && !_.isEmpty(this.m_chat)) {\r\n\r\n\t\t\t\t\tthis.core.mtrx.kit.prepareChat(this.m_chat).then((r) => {\r\n\t\t\t\t\t\tthis.ready = true;\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t},\r\n\t},\r\n\r\n\tmounted: function () {},\r\n\r\n\tcomputed: mapState({\r\n\t\tauth: (state) => state.auth,\r\n\t\tblockedCheck: function () {\r\n\t\t\tvar users = this.core.mtrx.anotherChatUsers(this.m_chat.roomId);\r\n\r\n\t\t\tif (users.length == 1) {\r\n\t\t\t\treturn this.core.mtrx.blockeduser(users[0].userId);\r\n\t\t\t}\r\n\t\t},\r\n\t\troomMuted: function(){\r\n\t\t\tif(this.chat){\r\n\r\n\r\n\t\t\t\tlet pushRules = this.core.mtrx.client.pushProcessor.getPushRuleById(\r\n\t\t\t\t\tthis.chat.roomId\r\n\t\t\t\t);\r\n\t\r\n\t\t\t\tif (pushRules !== null) {\r\n\t\t\t\t\treturn true\r\n\t\t\t\t}\r\n\r\n\t\t\t\t\r\n\t\t\t}\r\n\r\n\t\t\treturn false\r\n\t\t},\r\n\r\n\t\tm_chat: function (state) {\r\n\t\t\tif (!this.core.mtrx.client || !this.chat) return null;\r\n\r\n\t\t\tif (this.chat.roomId) {\r\n\r\n\t\t\t\treturn this.core.mtrx.store.rooms[this.chat.roomId] || null;\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t},\r\n\t\tchatevents: function () {\r\n\t\t\treturn (this.events[this.chat.roomId] || {}).timeline || [];\r\n\t\t},\r\n\r\n\t\tkey: function () {\r\n\t\t\tif (this.event) return this.event.event_id;\r\n\r\n\t\t\treturn \"key\";\r\n\t\t},\r\n\r\n\t\tunknowngroupusers: function () {\r\n\t\t\treturn this.core.mtrx.kit.unknowngroupusers(this.chat);\r\n\t\t},\r\n\r\n\t\tmatrixevent: function () {\r\n\t\t\tvar e = this.event;\r\n\r\n\r\n\t\t\tif (e) {\r\n\t\t\t\treturn e.get ? e.get() : e;\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tevent: function () {\r\n\t\t\tif (this.chat && this.chat.roomId) {\r\n\t\t\t\tif (this.messages) {\r\n\t\t\t\t\treturn this.messages[0];\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn this.chatevents[0]\r\n\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\t...mapState([\"minimized\", \"active\", \"events\"]),\r\n\t}),\r\n\r\n\tmethods: {},\r\n};\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/babel-loader/lib/index.js!./index.js?vue&type=script&lang=js&external\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/babel-loader/lib/index.js!./index.js?vue&type=script&lang=js&external\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=009794bc&scoped=true\"\nimport script from \"./index.js?vue&type=script&lang=js&external\"\nexport * from \"./index.js?vue&type=script&lang=js&external\"\nfunction injectStyles (context) {\n \n var style0 = require(\"./index.sass?vue&type=style&index=0&id=009794bc&prod&scoped=true&lang=sass&external\")\nif (style0.__inject__) style0.__inject__(context)\n\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 injectStyles,\n \"009794bc\",\n null\n ,true\n)\n\nexport default component.exports","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../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=79ba8832&prod&scoped=true&lang=sass\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add CSS to Shadow Root\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesShadow.js\").default\nmodule.exports.__inject__ = function (shadowRoot) {\n add(\"0e9d6265\", content, shadowRoot)\n};","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \"[data-v-79ba8832] .infoWrapper{display:flex;align-items:center}[data-v-79ba8832] .infoWrapper .eventsLine{width:100%}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../node_modules/vue-style-loader/index.js??ref--10-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./icon.vue?vue&type=style&index=0&id=59e90d10&prod&scoped=true&lang=sass\"","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./time.vue?vue&type=style&index=0&id=557108c1&prod&scoped=true&lang=sass\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add CSS to Shadow Root\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesShadow.js\").default\nmodule.exports.__inject__ = function (shadowRoot) {\n add(\"9d80090e\", content, shadowRoot)\n};","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".minimized.active .dummyline[data-v-009794bc]{height:44px;opacity:.3}.minimized.active .dummyicon[data-v-009794bc]{width:44px;height:44px;opacity:.3}.previewWrapper[data-v-009794bc]{cursor:pointer;display:flex;align-items:center;padding:10px 0}.previewWrapper .dummyline[data-v-009794bc]{height:22px;border-radius:5px;transition:.3s}.previewWrapper .dummyicon[data-v-009794bc]{width:22px;height:22px;border-radius:50%;margin:0 auto;transition:.3s}.previewWrapper .iconWrapper[data-v-009794bc]{width:44px;display:flex;align-items:center;min-width:44px}.previewWrapper .iconWrapper .oneuser i[data-v-009794bc]{font-size:.7em}.previewWrapper .infoWrapper[data-v-009794bc]{padding-left:.5em;flex-grow:1;overflow:hidden;text-overflow:ellipsis;min-height:50px}.emptyEvent span[data-v-009794bc]{color:rgb(var(--color-good));font-size:.8em}.eventsLine[data-v-009794bc]{position:relative;height:25px;contain:strict}.eventsLine .roomMuted[data-v-009794bc]{position:absolute;right:8px;top:0}.eventsLine .roomMuted i[data-v-009794bc]{color:rgb(var(--neutral-grad-3))}.eventsLine[data-v-009794bc] .previewMessage{max-width:90%;overflow:hidden;text-overflow:ellipsis}.eventsLine[data-v-009794bc] .messagePreview{max-width:100%;overflow:hidden;text-overflow:ellipsis}.eventsLine[data-v-009794bc] .msgtext{display:inline;font-size:.9em;white-space:nowrap}.eventsLine[data-v-009794bc] .deletedMessage{text-align:left;font-size:.9em;padding:0}.eventsLine[data-v-009794bc] span{color:rgb(var(--text-color));opacity:.8;font-size:.9em;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.roomMuted[data-v-009794bc]{font-size:.4em;width:16px;min-width:16px;text-align:center;height:16px;line-height:16px;border-radius:8px;background:rgb(var(--neutral-grad-2));margin-right:.25em;margin-block:.25em}.roomMuted i[data-v-009794bc]{color:rgb(var(--neutral-grad-1))}.summaryLine[data-v-009794bc]{display:flex;min-height:25px}.summaryLine .time[data-v-009794bc]{padding-top:.25em;opacity:.3;font-weight:500;text-align:right;max-width:110px;maring-right:.5em}.summaryLine .time .chatTime[data-v-009794bc]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.summaryLine .time[data-v-009794bc] span{font-size:.8em;display:block}.summaryLine .caption[data-v-009794bc]{flex-grow:1;display:flex;align-items:flex-end}.summaryLine .caption[data-v-009794bc] .nameofchat{overflow:hidden;text-overflow:ellipsis;max-width:150px}.summaryLine .caption[data-v-009794bc] span{font-size:1em;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:500;display:inline-block;max-width:190px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"chatIcon\",class:{ unknowngroupusers: _vm.unknowngroupusers }},[(_vm.groupAvatar)?_c('div',{staticClass:\"chatGroupIcon\"},[_c('userpic',{attrs:{\"image\":_vm.groupAvatar}})],1):_c('userspic',{key:_vm.allnotifications,class:{ opacity: _vm.groupAvatar },attrs:{\"slidesPerView\":_vm.slidesPerView,\"users\":_vm.usersinfo,\"status\":_vm.status,\"unseen\":_vm.unseen,\"single\":_vm.singleAvatar}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n\t<div class=\"chatIcon\" :class=\"{ unknowngroupusers }\">\r\n\t\t<div v-if=\"groupAvatar\" class=\"chatGroupIcon\">\r\n\t\t\t<userpic :image=\"groupAvatar\"/>\r\n\t\t</div>\r\n\t\t<userspic\r\n\t\t\tv-else\r\n\t\t\t:slidesPerView=\"slidesPerView\"\r\n\t\t\t:users=\"usersinfo\"\r\n\t\t\t:status=\"status\"\r\n\t\t\t:unseen=\"unseen\"\r\n\t\t\t:key=\"allnotifications\"\r\n\t\t\t:single=\"singleAvatar\"\r\n\t\t\t:class=\"{ opacity: groupAvatar }\"\r\n\t\t/>\r\n\r\n\t\t<!--<div class=\"unknowngroupusersicon\" v-if=\"unknowngroupusers\">\r\n\t\t\t<i class=\"fas fa-question\"></i>\r\n\t\t</div>-->\r\n\t</div>\r\n</template>\r\n\r\n<style scoped lang=\"sass\">\r\n.opacity\r\n\topacity: 0\r\n.chatIcon\r\n\twidth: 100%\r\n\tposition: relative\r\n\r\n.unknowngroupusersicon\r\n\tposition: absolute\r\n\tleft: 0\r\n\ttop: 0\r\n\tbottom: 0\r\n\tright: 0\r\n\tfont-size: 0.7em\r\n\tdisplay: flex\r\n\tjustify-content: center\r\n\talign-items: center\r\n\tcolor: #fff\r\n\r\n.unknowngroupusers\r\n\t.bgimage\r\n\t\ttransform: scale(0.7)\r\n.chatGroupIcon\r\n\twidth: 100%\r\n\theight: 100%\r\n.chatGroupIcon img\r\n\twidth: 100%\r\n\theight: 100%\r\n\tborder-radius: 50%\r\n\tobject-fit: cover\r\n\tobject-position: 50% 50%\r\n\tposition: absolute\r\n\ttop: 0\r\n\tz-index: 100\r\n</style>\r\n\r\n<script>\r\nimport f from \"@/application/functions\";\r\n\r\nexport default {\r\n\tname: \"chatIcon\",\r\n\tdata: function () {\r\n\t\treturn {\r\n\t\t\tsingle: [],\r\n\t\t};\r\n\t},\r\n\tprops: {\r\n\t\tchat: {},\r\n\t\tm_chat: {},\r\n\t\tslidesPerView: Number,\r\n\t\thideunseen: Boolean,\r\n\t\tdontuseslides: Boolean,\r\n\t},\r\n\tcomputed: {\r\n\t\tallnotifications: function () {\r\n\t\t\treturn this.$store.state.allnotifications || \"0\";\r\n\t\t},\r\n\r\n\t\tunseen: function () {\r\n\t\t\tif (this.hideunseen) return 0;\r\n\r\n\t\t\tif (this.blockedCheck) return 0;\r\n\r\n\t\t\tif (this.m_chat.selfMembership === \"invite\") {\r\n\t\t\t\tif (\r\n\t\t\t\t\tf.date.addseconds(\r\n\t\t\t\t\t\tmoment.utc(this.m_chat.summary.lastModified).toDate(),\r\n\t\t\t\t\t\t86400\r\n\t\t\t\t\t) > new Date()\r\n\t\t\t\t)\r\n\t\t\t\t\treturn 1;\r\n\t\t\t}\r\n\r\n\t\t\tthis.allnotifications;\r\n\r\n\t\t\treturn this.m_chat.getUnreadNotificationCount();\r\n\t\t},\r\n\t\tusers: function () {\r\n\t\t\tif (!this.chat) return [];\r\n\r\n\t\t\tvar u = this.core.mtrx.anotherChatUsers(this.chat.roomId);\r\n\r\n\t\t\tif (this.dontuseslides) {\r\n\t\t\t\tu = _.first(u, 4);\r\n\t\t\t}\r\n\r\n\t\t\treturn _.first(_.shuffle(u), 49);\r\n\t\t},\r\n\t\tsingleAvatar: function () {\r\n\t\t\tif (!this.chat && !this.m_chat) return {};\r\n\t\t\tif (\r\n\t\t\t\tthis.m_chat.getJoinRule() === \"public\" &&\r\n\t\t\t\tthis.m_chat.currentState.getMembers().length === 1\r\n\t\t\t) {\r\n\t\t\t\tvar member = this.m_chat.currentState.getMembers()[0];\r\n\t\t\t\tvar data = this.$store.state.users[f.getmatrixid(member.userId)];\r\n\t\t\t\tif (data) {\r\n\t\t\t\t\tdata.status = member.membership;\r\n\t\t\t\t\tdata.image = data.source.i;\r\n\t\t\t\t\treturn data;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn {};\r\n\t\t},\r\n\t\tblockedCheck: function () {\r\n\t\t\tvar users = this.core.mtrx.anotherChatUsers(this.m_chat.roomId);\r\n\r\n\t\t\tif (users.length == 1) {\r\n\t\t\t\treturn this.core.mtrx.blockeduser(users[0].userId);\r\n\t\t\t}\r\n\t\t},\r\n\t\tusersinfo: function () {\r\n\t\t\tvar u = this.core.mtrx.chatUsersInfo(\r\n\t\t\t\tthis.chat.roomId,\r\n\t\t\t\t\"anotherChatUsers\"\r\n\t\t\t);\r\n\r\n\t\t\tif (this.dontuseslides) {\r\n\t\t\t\tu = _.first(u, 4);\r\n\t\t\t}\r\n\r\n\t\t\treturn _.first(_.shuffle(u), 49);\r\n\t\t},\r\n\r\n\t\tstatus: function () {\r\n\t\t\tvar us = {};\r\n\r\n\t\t\t_.each(this.users, (u) => {\r\n\t\t\t\tus[u.userId] = this.core.mtrx.blockeduser(u.userId)\r\n\t\t\t\t\t? \"blocked\"\r\n\t\t\t\t\t: u.membership;\r\n\t\t\t});\r\n\r\n\t\t\treturn us;\r\n\t\t},\r\n\r\n\t\tunknowngroupusers: function () {\r\n\t\t\treturn this.core.mtrx.kit.unknowngroupusers(this.m_chat);\r\n\t\t},\r\n\r\n\t\tgroupAvatar: function () {\r\n\t\t\tconst avatar =\r\n\t\t\t\tthis.m_chat.currentState.getStateEvents(\"m.room.avatar\")[0]?.event\r\n\t\t\t\t\t.content.avatarUrl;\r\n\t\t\treturn avatar !== \"\" ? avatar : \"\";\r\n\t\t}\r\n\t},\r\n};\r\n</script>\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../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!./icon.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../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!./icon.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./icon.vue?vue&type=template&id=59e90d10&scoped=true\"\nimport script from \"./icon.vue?vue&type=script&lang=js\"\nexport * from \"./icon.vue?vue&type=script&lang=js\"\nfunction injectStyles (context) {\n \n var style0 = require(\"./icon.vue?vue&type=style&index=0&id=59e90d10&prod&scoped=true&lang=sass\")\nif (style0.__inject__) style0.__inject__(context)\n\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 injectStyles,\n \"59e90d10\",\n null\n ,true\n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/vue-style-loader/index.js??ref--10-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./name.vue?vue&type=style&index=0&id=0cdce284&prod&scoped=true&lang=sass\"","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-4!./index.sass?vue&type=style&index=0&id=009794bc&prod&scoped=true&lang=sass&external\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add CSS to Shadow Root\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesShadow.js\").default\nmodule.exports.__inject__ = function (shadowRoot) {\n add(\"8198da1c\", content, shadowRoot)\n};","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./icon.vue?vue&type=style&index=0&id=59e90d10&prod&scoped=true&lang=sass\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add CSS to Shadow Root\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesShadow.js\").default\nmodule.exports.__inject__ = function (shadowRoot) {\n add(\"39da9174\", content, shadowRoot)\n};","export * from \"-!../../../../node_modules/vue-style-loader/index.js??ref--10-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-4!./index.sass?vue&type=style&index=0&id=009794bc&prod&scoped=true&lang=sass&external\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"dummypreviews\"}},_vm._l((_vm.a),function(va){return _c('preview',{key:va.id,attrs:{\"dummy\":true}})}),1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n\t<div id=\"dummypreviews\">\r\n\t\t<!-- <div v-for=\"va in a\">-->\r\n\t\t<!-- <div class=\"messagesLine\" v-if=\"messagesPreview\">-->\r\n\t\t<!-- <div class=\"circlePreview loadinggradient\" v-if=\"va % 2 === 0\">-->\r\n\r\n\t\t<!-- </div>-->\r\n\t\t<!-- <div class=\"messageLine loadinggradient\" :style=\"{width: '1' + va + '0px'}\" v-if=\"va % 2 === 0\">-->\r\n\r\n\t\t<!-- </div>-->\r\n\r\n\t\t<!-- <div class=\"myMessageLine loadinggradient\" :style=\"{width: '1' + va + '0px'}\" v-else></div>-->\r\n\t\t<!-- </div>-->\r\n\t\t<!-- </div>-->\r\n\t\t<preview :dummy=\"true\" v-for=\"va in a\" :key=\"va.id\" />\r\n\t</div>\r\n</template>\r\n\r\n<style scoped lang=\"sass\">\r\n\r\n::v-deep\r\n .infoWrapper\r\n display: flex\r\n align-items: center\r\n .eventsLine\r\n width: 100%\r\n</style>\r\n\r\n<script>\r\nimport { mapState } from \"vuex\";\r\nimport preview from \"@/components/chats/preview/index.vue\";\r\n\r\nexport default {\r\n\tname: \"dummypreviews\",\r\n\tdata: () => {\r\n\t\treturn {\r\n\t\t\tmessagesPreview: false,\r\n\t\t};\r\n\t},\r\n\tprops: {\r\n\t\tdata: Object,\r\n\t},\r\n\tcomponents: {\r\n\t\tpreview,\r\n\t},\r\n\r\n\tcomputed: mapState({\r\n\t\tauth: (state) => state.auth,\r\n\t\ta: function () {\r\n\t\t\tif (this.messagesPreview) {\r\n\t\t\t\treturn [1];\r\n\t\t\t} else {\r\n\t\t\t\treturn [1, 2, 3, 4, 5, 6];\r\n\t\t\t}\r\n\t\t},\r\n\t}),\r\n\r\n\tmethods: {},\r\n};\r\n</script>\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../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/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=79ba8832&scoped=true\"\nimport script from \"./index.vue?vue&type=script&lang=js\"\nexport * from \"./index.vue?vue&type=script&lang=js\"\nfunction injectStyles (context) {\n \n var style0 = require(\"./index.vue?vue&type=style&index=0&id=79ba8832&prod&scoped=true&lang=sass\")\nif (style0.__inject__) style0.__inject__(context)\n\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 injectStyles,\n \"79ba8832\",\n null\n ,true\n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"nameline\"},[(_vm.isShowGroupIcon)?_c('div',{staticClass:\"iconGroup\",class:{public : _vm.isPublic}},[(!_vm.isPublic)?_c('i',{staticClass:\"fas fa-user-friends\"}):_c('i',{staticClass:\"fas fa-users\"})]):_vm._e(),(_vm.miniappicon)?_c('div',{staticClass:\"miniappicon\"},[_c('bgimage',{attrs:{\"src\":_vm.miniappicon}})],1):_vm._e(),_c('div',{staticClass:\"nameofchat\"},[_vm._v(_vm._s(_vm.convertedName))])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n\t<div class=\"nameline\">\r\n\t\t<div class=\"iconGroup\" :class=\"{public : isPublic}\" v-if=\"isShowGroupIcon\">\r\n\t\t\t<i class=\"fas fa-user-friends\" v-if=\"!isPublic\"></i>\r\n\t\t\t<i class=\"fas fa-users\" v-else></i>\r\n\t\t</div>\r\n\t\t<div class=\"miniappicon\" v-if=\"miniappicon\">\r\n\t\t\t<bgimage :src=\"miniappicon\" />\r\n\t\t</div>\r\n\t\t<div class=\"nameofchat\" >{{convertedName}}</div>\r\n\t</div>\r\n</template>\r\n\r\n<style scoped lang=\"sass\">\r\n\r\n.nameofchat\r\n\twhite-space: nowrap\r\n.nameline\r\n\tdisplay: flex\r\n\talign-items: flex-end\r\n\r\n.miniappicon\r\n\tmargin-right: 0.5 * $r\r\n\tmargin-block: 0.5 * $r\r\n\r\n\t.bgimage\r\n\t\twidth : 12px\r\n\t\theight: 12px\r\n\t\tborder-radius: 2px\r\n\r\n.iconGroup\r\n\tfont-size: 0.4em\r\n\twidth: 16px\r\n\tmin-width: 16px\r\n\ttext-align: center\r\n\theight: 16px\r\n\tline-height: 16px\r\n\tborder-radius: 8px\r\n\tbackground: srgb(--neutral-grad-2)\r\n\tmargin-right: $r\r\n\tmargin-block: 0.5 * $r\r\n\r\n\t&.public\r\n\t\tbackground: srgb(--color-good)\r\n\r\n\t\ti\r\n\t\t\tcolor: srgb(--text-on-bg-shadow-color)\r\n\r\n\ti\r\n\t\tcolor: srgb(--neutral-grad-1)\r\n\r\n\r\n\r\n\t\r\n</style>\r\n\r\n<script>\r\nexport default {\r\n\tname: \"chatName\",\r\n\r\n\tprops: {\r\n\t\tchat: Object,\r\n\t\tpreview: Boolean,\r\n\t\tm_chat: {},\r\n\t},\r\n\tinject: [\"matches\", \"markText\"],\r\n\tdata: function () {\r\n\t\treturn {\r\n\t\t\t//convertedName: ''\r\n\t\t};\r\n\t},\r\n\tcomputed: {\r\n\t\tusers: function () {\r\n\t\t\tif (!this.chat) return [];\r\n\r\n\t\t\treturn this.core.mtrx.anotherChatUsers(this.chat.roomId);\r\n\t\t},\r\n\r\n\t\tconvertedName: function () {\r\n\t\t\tif (\r\n\t\t\t\tthis.m_chat &&\r\n\t\t\t\tthis.m_chat.getJoinRule() === \"public\" &&\r\n\t\t\t\tthis.m_chat.currentState.getStateEvents(\"m.room.name\").length > 0\r\n\t\t\t) {\r\n\t\t\t\treturn this.m_chat.currentState\r\n\t\t\t\t\t.getStateEvents(\"m.room.name\")[0]\r\n\t\t\t\t\t.getContent()?.name;\r\n\t\t\t}\r\n\t\t\tvar users = _.filter(this.users, (user) => {\r\n\t\t\t\treturn user.userId != this.core.user.userinfo.id;\r\n\t\t\t});\r\n\r\n\t\t\tvar names = _.filter(\r\n\t\t\t\t_.map(users, (user) => {\r\n\t\t\t\t\tif (this.$store.state.users[user.userId])\r\n\t\t\t\t\t\treturn this.$store.state.users[user.userId].name;\r\n\t\t\t\t}),\r\n\t\t\t\tfunction (name) {\r\n\t\t\t\t\treturn name;\r\n\t\t\t\t}\r\n\t\t\t);\r\n\r\n\t\t\tif (!names.length) {\r\n\t\t\t\tif (this.core.mtrx.chatUsers(this.chat.roomId).length) {\r\n\t\t\t\t\treturn \"-\";\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn \"-\";\r\n\t\t\t}\r\n\r\n\t\t\tif (this.m_chat?.name.indexOf(\"@\") == 0)\r\n\t\t\t\treturn this.m_chat?.name.replace(\"@\", \"\");\r\n\r\n\t\t\treturn names.join(\", \");\r\n\t\t},\r\n\r\n\t\tmarkMatches: function () {\r\n\r\n\r\n\r\n\t\t\treturn this.markText ? this.markText(this.convertedName, true) : this.convertedName;\r\n\t\t},\r\n\r\n\t\tisPublic(){\r\n\t\t\treturn this.isShowGroupIcon && this.m_chat.getJoinRule() === \"public\"\r\n\t\t},\r\n\r\n\t\tisShowGroupIcon() {\r\n\r\n\t\t\treturn !this.chat.miniappchat && this.m_chat?.name.slice(0, 1) === \"@\";\r\n\t\t},\r\n\r\n\t\tminiappicon(){\r\n\t\t\treturn this.chat.miniappchat ? this.chat.miniappchat.icon : null\r\n\t\t}\r\n\r\n\t\t\r\n\t},\r\n\r\n\tmounted: function () {},\r\n};\r\n</script>\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../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!./name.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../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!./name.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./name.vue?vue&type=template&id=0cdce284&scoped=true\"\nimport script from \"./name.vue?vue&type=script&lang=js\"\nexport * from \"./name.vue?vue&type=script&lang=js\"\nfunction injectStyles (context) {\n \n var style0 = require(\"./name.vue?vue&type=style&index=0&id=0cdce284&prod&scoped=true&lang=sass\")\nif (style0.__inject__) style0.__inject__(context)\n\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 injectStyles,\n \"0cdce284\",\n null\n ,true\n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/vue-style-loader/index.js??ref--10-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../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=79ba8832&prod&scoped=true&lang=sass\"","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./name.vue?vue&type=style&index=0&id=0cdce284&prod&scoped=true&lang=sass\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add CSS to Shadow Root\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesShadow.js\").default\nmodule.exports.__inject__ = function (shadowRoot) {\n add(\"2c649d38\", content, shadowRoot)\n};","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".new[data-v-557108c1]{color:rgb(var(--color-good))}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".nameofchat[data-v-0cdce284]{white-space:nowrap}.nameline[data-v-0cdce284]{display:flex;align-items:flex-end}.miniappicon[data-v-0cdce284]{margin-right:.25em;margin-block:.25em}.miniappicon .bgimage[data-v-0cdce284]{width:12px;height:12px;border-radius:2px}.iconGroup[data-v-0cdce284]{font-size:.4em;width:16px;min-width:16px;text-align:center;height:16px;line-height:16px;border-radius:8px;background:rgb(var(--neutral-grad-2));margin-right:.5em;margin-block:.25em}.iconGroup.public[data-v-0cdce284]{background:rgb(var(--color-good))}.iconGroup.public i[data-v-0cdce284]{color:rgb(var(--text-on-bg-shadow-color))}.iconGroup i[data-v-0cdce284]{color:rgb(var(--neutral-grad-1))}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../node_modules/vue-style-loader/index.js??ref--10-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./time.vue?vue&type=style&index=0&id=557108c1&prod&scoped=true&lang=sass\""],"sourceRoot":""}