{"version":3,"sources":["webpack:///./src/components/live-chat/ui-fragments/MessagesWindow.vue?c7aa","webpack:///./src/components/live-chat/ChatHistory.vue?1966","webpack:///./src/components/general/LoadingSpinner.vue?f586","webpack:///./src/components/live-chat/ChatHistory.vue?7c28","webpack:///./src/components/live-chat/custom/ChatUserSearchField.vue?06be","webpack:///./src/components/live-chat/custom/ChatUserSearchField.vue","webpack:///./src/components/live-chat/custom/ChatUserSearchField.vue?199b","webpack:///./src/components/live-chat/ui-fragments/ChatHistoryEntry.vue?a288","webpack:///./src/components/live-chat/ui-fragments/ChatHistoryEntry.vue","webpack:///./src/components/live-chat/ui-fragments/ChatHistoryEntry.vue?7773","webpack:///./src/components/live-chat/ChatHistory.vue","webpack:///./src/components/live-chat/ChatHistory.vue?bcac","webpack:///./src/components/Icons/IconRightArrow.vue?9894","webpack:///./src/components/Icons/IconRightArrow.vue","webpack:///./src/components/Icons/IconRightArrow.vue?a85d","webpack:///./src/components/live-chat/ui-fragments/ChatWindow.vue?bb81","webpack:///./src/components/live-chat/ui-fragments/MessagesWindow.vue?d00a","webpack:///./src/components/live-chat/ui-fragments/UserMessage.vue?17f1","webpack:///./src/components/live-chat/ui-fragments/UserMessage.vue","webpack:///./src/components/live-chat/ui-fragments/UserMessage.vue?c69d","webpack:///./src/components/live-chat/custom/CustomChatLoading.vue?0ba5","webpack:///./src/components/live-chat/custom/CustomChatLoading.vue","webpack:///./src/components/live-chat/custom/CustomChatLoading.vue?d229","webpack:///./src/components/live-chat/ui-fragments/MessagesWindow.vue","webpack:///./src/components/live-chat/ui-fragments/MessagesWindow.vue?7f09","webpack:///./src/components/live-chat/ui-fragments/SendMessageBox.vue?3e01","webpack:///./src/components/live-chat/ui-fragments/SendMessageBox.vue","webpack:///./src/components/live-chat/ui-fragments/SendMessageBox.vue?0f5b","webpack:///./src/components/live-chat/ui-fragments/ChatWindowHeader.vue?a0e8","webpack:///./src/components/live-chat/ui-fragments/ChatWindowHeader.vue","webpack:///./src/components/live-chat/ui-fragments/ChatWindowHeader.vue?9751","webpack:///./src/components/live-chat/ui-fragments/ChatWindow.vue","webpack:///./src/components/live-chat/ui-fragments/ChatWindow.vue?ea0d","webpack:///./src/components/live-chat/ChatHistory.vue?9aaf","webpack:///./src/components/general/LoadingSpinner.vue?a742","webpack:///./src/components/general/LoadingSpinner.vue","webpack:///./src/components/general/LoadingSpinner.vue?4fce"],"names":["_withScopeId","n","_hoisted_1","key","class","_hoisted_2","_hoisted_3","_hoisted_4","render","_ctx","_cache","$props","$setup","$data","$options","_component_ChatUserSearchField","_component_LoadingSpinner","_component_el_empty","_component_ChatHistoryEntry","isDrawer","$can","onSelectUser","handleSelectUser","loading","history","length","entry","onChangeSelectedChat","data","$emit","userId","chatId","id","chatName","participants","description","_component_el_autocomplete","placeholder","modelValue","inputValue","$event","debounce","size","teleported","onSelect","handleSelect","searchUsers","name","setup","props","emit","store","event","query","callBack","dispatch","then","result","map","item","value","__exports__","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","src","chatData","photo","onClick","is_group","subText","unreadMessages","type","Object","required","lastMessage","last_message","unread_messages","getters","currentUser","participant","find","email","components","ChatUserSearchField","LoadingSpinner","ChatHistoryEntry","Boolean","default","chatHistory","slice","sort","a","b","localeCompare","setLoading","loadChatHistory","finally","eventData","xmlns","width","height","viewBox","version","stroke","fill","points","opacity","transform","x","y","rx","d","_component_ChatWindowHeader","_component_MessagesWindow","_component_SendMessageBox","onBackToHistory","onCloseDrawerChat","onLoadOlderMessages","handleLoadOlderMessages","messages","chatMessages","pagination","current_page","messageBoxKey","ref","onSendMessage","handleSendMessage","isSendingMessage","_component_CustomChatLoading","_component_UserMessage","_component_el_skeleton","style","animated","template","groupedMessages","message","user","messageData","_","href","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","isOwn","alt","getHumanFormatFromDateString","created_at","body","dateString","timeOfMessage","utc","isValid","now","hoursDifference","diff","minutes","minuteString","local","format","_component_el_skeleton_item","variant","CustomChatLoading","UserMessage","Array","currentPage","Number","scrollContainer","scrollToBottom","scrollTop","scrollHeight","handleScroll","loadScrollToTopListener","addEventListener","handleMarkAsRead","hasUnread","filter","is_read","timeDifferenceInSeconds","push","console","log","onSubmit","ev","preventDefault","autofocus","onKeyup","args","disabled","isSending","hasMessage","input","document","getElementById","focus","trim","clearField","_component_IconRightArrow","userName","title","IconRightArrow","String","ChatWindowHeader","SendMessageBox","MessagesWindow","sendMessageBox","last_page","fetchChatMessages","triggerLoading","chat_id","page","response","reverse","forEach","element","unshift","meta","messageBody","chat","on","el","sender","updated_at","is_group_chat","spinnerColor","role"],"mappings":"kHAAA,W,oCCAA,W,2DCAA,W,6ECEMA,EAAe,SAAAC,GAAK,OAAC,yBAAa,mBAAmBA,EAAEA,IAAI,0BAAcA,GACzEC,EAAa,CACjBC,IAAK,EACLC,MAAO,qCAEHC,EAA2BL,GAAa,WAAmB,uCAAoB,OAAQ,CAAEI,MAAO,gBAAkB,SAAU,MAC5HE,EAAa,CACjBD,GAEIE,EAAa,CAAEH,MAAO,sCAErB,SAASI,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,IAAMC,EAAiC,8BAAkB,uBACnDC,EAA4B,8BAAkB,kBAC9CC,EAAsB,8BAAkB,YACxCC,EAA8B,8BAAkB,oBAEtD,OAAQ,yBAAc,gCAAoB,MAAO,CAC/Cd,MAAO,4BAAgB,UAAGK,EAAKU,SAAW,2BAA6B,4EACtE,CACD,gCAAoB,MAAO,CACzBf,MAAO,4BAAgB,UAAGK,EAAKU,SAAW,GAAK,qBAC9C,CACAV,EAAa,UACT,yBAAc,gCAAoB,MAAOP,EAAYI,IACtD,gCAAoB,IAAI,GAC3BG,EAAKW,KAAK,sBAAuB,SAC7B,yBAAc,gCAAoB,MAAO,CACxCjB,IAAK,EACLC,MAAO,4BAAgB,UAAGK,EAAKU,SAAW,OAAS,sBAClD,CACD,yBAAaJ,EAAgC,CAAEM,aAAcZ,EAAKa,kBAAoB,KAAM,EAAG,CAA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EG,SAAU,MAAQ2F,EAAa9D,OACtDX,EAAMrB,KAAKG,SAAWoE,EAAUsC,QAAQ0E,SAC1CzF,EAAa9D,MAAMyH,KAAK,CACtBF,SAAS,EACTnJ,GAAImE,EAAUsC,QAAQzG,GACtBqH,WAAYlD,EAAUsC,QAAQY,WAC9BX,KAAMvC,EAAU4H,OAChBzE,KAAMnD,EAAUsC,QAAQa,KACxB0E,WAAY7H,EAAUsC,QAAQuF,WAC9B1J,SAAU6B,EAAU8H,mBAyC5B,wBAAU,WACRhB,GAAkB,MA8Bb,CACLzF,wBAAuB,EACvBQ,kBAAiB,EACjBC,iBAAgB,EAChB8E,eAAc,EACdlF,cAAa,EACbH,aAAY,EACZC,WAAU,EACVpG,QAAO,MCzIb,MAAM,GAA2B,IAAgB,GAAQ,CAAC,CAAC,SAASf,KAErD,W,yDCPf,W,kDCGMN,EAAa,CAAEE,MAAO,iCAErB,SAASI,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,OAAQ,yBAAc,gCAAoB,MAAOZ,EAAY,CAC3D,gCAAoB,MAAO,CACzBE,MAAO,4BAAgB,CAAC,4CAA6CK,EAAKyN,eAC1EC,KAAM,UACL,KAAM,KCPE,mCAAgB,CAC7BpL,KAAM,iBACNE,MAAO,CACLiL,aAAc,CACZzJ,KAAMkI,OACNlH,QAAS,mB,iCCDf,MAAM5B,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASrD,GAAQ,CAAC,YAAY,qBAE1E","file":"js/chunk-451236e9.66a24f0b.js","sourcesContent":["export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./MessagesWindow.vue?vue&type=style&index=0&id=c70d86d4&scoped=true&lang=css\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ChatHistory.vue?vue&type=style&index=1&id=da196870&scoped=true&lang=css\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./LoadingSpinner.vue?vue&type=style&index=0&id=7cf22dc6&scoped=true&lang=css\"","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, normalizeClass as _normalizeClass, createBlock as _createBlock, renderList as _renderList, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-da196870\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"d-flex mb-4 justify-content-start\"\n}\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"fs-2 fw-bold\" }, \"Chats\", -1))\nconst _hoisted_3 = [\n _hoisted_2\n]\nconst _hoisted_4 = { class: \"scroll-y me-n5 pe-5 history-height\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ChatUserSearchField = _resolveComponent(\"ChatUserSearchField\")!\n const _component_LoadingSpinner = _resolveComponent(\"LoadingSpinner\")!\n const _component_el_empty = _resolveComponent(\"el-empty\")!\n const _component_ChatHistoryEntry = _resolveComponent(\"ChatHistoryEntry\")!\n\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass(`${_ctx.isDrawer ? 'd-flex flex-column w-100' : 'flex-column flex-lg-row-auto w-100 w-lg-300px w-xl-400px mb-10 mb-lg-0'}`)\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass(`${_ctx.isDrawer ? '' : 'card card-flush'}`)\n }, [\n (_ctx.isDrawer)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, _hoisted_3))\n : _createCommentVNode(\"\", true),\n (_ctx.$can('can_start_live_chat', ' all'))\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: _normalizeClass(`${_ctx.isDrawer ? 'mb-4' : 'card-header pt-7'}`)\n }, [\n _createVNode(_component_ChatUserSearchField, { onSelectUser: _ctx.handleSelectUser }, null, 8, [\"onSelectUser\"])\n ], 2))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n class: _normalizeClass(`${_ctx.isDrawer ? 'scroll-y overflow-x-hidden card-body mh-450px' : 'mh-600px card-body pt-5 overflow-scroll'}`)\n }, [\n _createElementVNode(\"div\", _hoisted_4, [\n (_ctx.loading)\n ? (_openBlock(), _createBlock(_component_LoadingSpinner, { key: 0 }))\n : (!_ctx.loading && _ctx.history.length == 0)\n ? (_openBlock(), _createBlock(_component_el_empty, {\n key: 1,\n description: \"No messages yet. Start the conversation!\"\n }))\n : (_openBlock(true), _createElementBlock(_Fragment, { key: 2 }, _renderList(_ctx.history, (entry) => {\n return (_openBlock(), _createBlock(_component_ChatHistoryEntry, {\n onChangeSelectedChat: _cache[0] || (_cache[0] = \n data =>\n _ctx.$emit('changeSelectedChat', {\n userId: null,\n chatId: data.id,\n chatName: data.chatName,\n participants: data.participants\n })\n ),\n key: entry.id,\n data: entry\n }, null, 8, [\"data\"]))\n }), 128))\n ])\n ], 2)\n ], 2)\n ], 2))\n}","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_el_autocomplete = _resolveComponent(\"el-autocomplete\")!\n\n return (_openBlock(), _createBlock(_component_el_autocomplete, {\n class: \"w-100\",\n placeholder: \"Search user by name\",\n modelValue: _ctx.inputValue,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.inputValue) = $event)),\n debounce: 400,\n size: \"large\",\n teleported: false,\n onSelect: _ctx.handleSelect,\n \"fetch-suggestions\": _ctx.searchUsers\n }, null, 8, [\"modelValue\", \"onSelect\", \"fetch-suggestions\"]))\n}","\nimport { useStore } from \"vuex\";\nimport { defineComponent, ref } from \"vue\";\n\nexport default defineComponent({\n name: \"chat-user-search-field\",\n setup(props, {emit}) {\n const store = useStore();\n const inputValue = ref(\"\");\n function handleSelect(event) {\n emit(\"selectUser\", event);\n }\n function searchUsers(query: string, callBack: (arg) => void) {\n store.dispatch(\"LiveChatModule/searchUsers\", query).then(result => {\n callBack(\n result.map(item => {\n return {\n value: item.name,\n userId: item.id\n };\n })\n );\n });\n }\n return {\n handleSelect,\n inputValue,\n searchUsers\n }\n }\n});\n","import { render } from \"./ChatUserSearchField.vue?vue&type=template&id=18d619f6&ts=true\"\nimport script from \"./ChatUserSearchField.vue?vue&type=script&lang=ts\"\nexport * from \"./ChatUserSearchField.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src1803551405/src/wci-front/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"d-flex justify-content-between py-4\"\n}\nconst _hoisted_2 = { class: \"d-flex align-items-center\" }\nconst _hoisted_3 = { class: \"symbol symbol-45px symbol-circle\" }\nconst _hoisted_4 = [\"src\"]\nconst _hoisted_5 = { class: \"ms-5\" }\nconst _hoisted_6 = { class: \"fw-semobold text-gray-400\" }\nconst _hoisted_7 = { class: \"d-flex align-items-center\" }\nconst _hoisted_8 = {\n key: 0,\n class: \"badge badge-sm badge-circle badge-light-primary\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_ctx.chatData)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"img\", {\n src: _ctx.chatData.photo\n }, null, 8, _hoisted_4)\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"span\", {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (\n _ctx.$emit('changeSelectedChat', {\n id: _ctx.data.id,\n chatName: _ctx.chatData.name,\n participants: _ctx.data.is_group == 1 ? _ctx.data.participants : null\n })\n )),\n class: \"cursor-pointer user-select-none fs-5 fw-bold text-gray-900 text-hover-primary mb-2\"\n }, _toDisplayString(_ctx.chatData.name), 1),\n _createElementVNode(\"div\", _hoisted_6, _toDisplayString(_ctx.chatData.subText), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n (_ctx.chatData.unreadMessages)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_8, _toDisplayString(_ctx.chatData.unreadMessages), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n}","\nimport { useStore } from \"vuex\";\nimport { computed, defineComponent, PropType } from \"vue\";\nimport { ChatHistoryEntryObject } from \"@/components/live-chat/ts/types\";\n\ninterface ChatHistoryEntry {\n name: string;\n subText: string;\n lastMessage: string | null;\n photo: string | null;\n unreadMessages: number;\n}\n\nexport default defineComponent({\n name: \"chat-history-entry\",\n props: {\n data: {\n type: Object as PropType,\n required: true\n }\n },\n setup(props) {\n const store = useStore();\n const chatData = computed(() => {\n if (props.data.is_group == 0) {\n const currentUser = store.getters.currentUser;\n if (currentUser) {\n const participant = props.data.participants.find(\n item => item.id != currentUser.id\n );\n if (participant) {\n return {\n name: participant.name,\n subText: participant.email,\n photo: participant.photo,\n lastMessage: props.data.last_message,\n unreadMessages: props.data.unread_messages\n };\n }\n return null;\n }\n } else {\n return {\n name: props.data.name == null ? \"Group chat\" : props.data.name,\n subText: `${props.data.participants.length} ${props.data.participants.length == 1 ? 'participant' : 'participants'}`,\n photo:\n \"https://eu.ui-avatars.com/api/?name=\" +\n (props.data.name == null ? \"Group chat\" : props.data.name),\n lastMessage: props.data.last_message,\n unreadMessages: props.data.unread_messages\n };\n }\n return null;\n });\n return {\n chatData\n };\n }\n});\n","import { render } from \"./ChatHistoryEntry.vue?vue&type=template&id=4d4a8c2e&ts=true\"\nimport script from \"./ChatHistoryEntry.vue?vue&type=script&lang=ts\"\nexport * from \"./ChatHistoryEntry.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src1803551405/src/wci-front/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { useStore } from \"vuex\";\nimport { computed, defineComponent, onMounted, PropType, ref } from \"vue\";\nimport LoadingSpinner from \"@/components/general/LoadingSpinner.vue\";\nimport { ChatHistoryEntryObject } from \"@/components/live-chat/ts/types\";\nimport ChatUserSearchField from \"@/components/live-chat/custom/ChatUserSearchField.vue\";\nimport ChatHistoryEntry from \"@/components/live-chat/ui-fragments/ChatHistoryEntry.vue\";\n\nexport default defineComponent({\n name: \"chat-history\",\n components: {\n ChatUserSearchField,\n LoadingSpinner,\n ChatHistoryEntry\n },\n props: {\n isDrawer: {\n type: Boolean as PropType,\n default: () => false\n }\n },\n setup(props, { emit }) {\n const store = useStore();\n const loading = ref(false);\n const history = computed(() => {\n const chatHistory = store.getters[\"LiveChatModule/getChatHistory\"];\n return chatHistory.slice().sort((a, b) => {\n if (a.last_message === null && b.last_message === null) {\n return 0;\n }\n if (a.last_message === null) {\n return 1;\n }\n if (b.last_message === null) {\n return -1;\n }\n return b.last_message.localeCompare(a.last_message);\n });\n });\n\n function setLoading(value: boolean): void {\n loading.value = value;\n }\n\n function loadChatHistory() {\n setLoading(true);\n store.dispatch(\"LiveChatModule/fetchChatHistory\").finally(() => {\n setLoading(false);\n });\n }\n function handleSelectUser(eventData: { value: string; userId: number }) {\n emit(\"changeSelectedChat\", {\n chatName: eventData.value,\n userId: eventData.userId,\n chatId: null,\n participants: null\n });\n }\n onMounted(() => {\n loadChatHistory();\n });\n return {\n handleSelectUser,\n setLoading,\n loading,\n history\n };\n }\n});\n","import { render } from \"./ChatHistory.vue?vue&type=template&id=da196870&scoped=true&ts=true\"\nimport script from \"./ChatHistory.vue?vue&type=script&lang=ts\"\nexport * from \"./ChatHistory.vue?vue&type=script&lang=ts\"\n\nimport \"./ChatHistory.vue?vue&type=style&index=0&id=da196870&scoped=true&lang=css\"\nimport \"./ChatHistory.vue?vue&type=style&index=1&id=da196870&scoped=true&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src1803551405/src/wci-front/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-da196870\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"svg-icon svg-icon-primary svg-icon-2x\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xmlns:xlink\": \"http://www.w3.org/1999/xlink\",\n width: \"24px\",\n height: \"24px\",\n viewBox: \"0 0 24 24\",\n version: \"1.1\"\n}, [\n /*#__PURE__*/_createElementVNode(\"g\", {\n stroke: \"none\",\n \"stroke-width\": \"1\",\n fill: \"none\",\n \"fill-rule\": \"evenodd\"\n }, [\n /*#__PURE__*/_createElementVNode(\"polygon\", { points: \"0 0 24 0 24 24 0 24\" }),\n /*#__PURE__*/_createElementVNode(\"rect\", {\n fill: \"#000000\",\n opacity: \"0.3\",\n transform: \"translate(12.000000, 12.000000) rotate(-90.000000) translate(-12.000000, -12.000000) \",\n x: \"11\",\n y: \"5\",\n width: \"2\",\n height: \"14\",\n rx: \"1\"\n }),\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M9.70710318,15.7071045 C9.31657888,16.0976288 8.68341391,16.0976288 8.29288961,15.7071045 C7.90236532,15.3165802 7.90236532,14.6834152 8.29288961,14.2928909 L14.2928896,8.29289093 C14.6714686,7.914312 15.281055,7.90106637 15.675721,8.26284357 L21.675721,13.7628436 C22.08284,14.136036 22.1103429,14.7686034 21.7371505,15.1757223 C21.3639581,15.5828413 20.7313908,15.6103443 20.3242718,15.2371519 L15.0300721,10.3841355 L9.70710318,15.7071045 Z\",\n fill: \"#000000\",\n \"fill-rule\": \"nonzero\",\n transform: \"translate(14.999999, 11.999997) scale(1, -1) rotate(90.000000) translate(-14.999999, -11.999997) \"\n })\n ])\n], -1)\nconst _hoisted_3 = [\n _hoisted_2\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"span\", _hoisted_1, _hoisted_3))\n}","\nimport {defineComponent} from \"vue\";\nexport default defineComponent({\n name: \"icon-right-arrow\"\n});\n","import { render } from \"./IconRightArrow.vue?vue&type=template&id=f9b9c412&ts=true\"\nimport script from \"./IconRightArrow.vue?vue&type=script&lang=ts\"\nexport * from \"./IconRightArrow.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src1803551405/src/wci-front/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, createVNode as _createVNode, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"card\" }\nconst _hoisted_2 = { key: 1 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_el_empty = _resolveComponent(\"el-empty\")!\n const _component_ChatWindowHeader = _resolveComponent(\"ChatWindowHeader\")!\n const _component_MessagesWindow = _resolveComponent(\"MessagesWindow\")!\n const _component_SendMessageBox = _resolveComponent(\"SendMessageBox\")!\n\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass(`flex-lg-row-fluid ${_ctx.isDrawer ? '' : 'ms-lg-7 ms-xl-10'}`)\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n (_ctx.data == null)\n ? (_openBlock(), _createBlock(_component_el_empty, {\n key: 0,\n description: \"Select a user to start conversation\"\n }))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createVNode(_component_ChatWindowHeader, {\n \"user-name\": _ctx.data.chatName,\n \"is-drawer\": _ctx.isDrawer,\n class: _normalizeClass(_ctx.isDrawer ? 'px-0' : ''),\n onBackToHistory: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$emit('backToHistory'))),\n onCloseDrawerChat: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('closeDrawerChat'))),\n participants: _ctx.data?.participants\n }, null, 8, [\"user-name\", \"is-drawer\", \"class\", \"participants\"]),\n _createVNode(_component_MessagesWindow, {\n \"is-drawer\": _ctx.isDrawer,\n onLoadOlderMessages: _ctx.handleLoadOlderMessages,\n class: _normalizeClass(_ctx.isDrawer ? 'px-0' : ''),\n messages: _ctx.chatMessages,\n \"current-page\": _ctx.pagination.current_page,\n \"chat-id\": _ctx.data?.chatId,\n loading: _ctx.loading\n }, null, 8, [\"is-drawer\", \"onLoadOlderMessages\", \"class\", \"messages\", \"current-page\", \"chat-id\", \"loading\"]),\n (!_ctx.loading)\n ? (_openBlock(), _createBlock(_component_SendMessageBox, {\n key: _ctx.messageBoxKey,\n ref: \"sendMessageBox\",\n class: _normalizeClass(_ctx.isDrawer ? 'px-0' : ''),\n \"is-drawer\": _ctx.isDrawer,\n onSendMessage: _ctx.handleSendMessage,\n \"is-sending\": _ctx.isSendingMessage\n }, null, 8, [\"class\", \"is-drawer\", \"onSendMessage\", \"is-sending\"]))\n : _createCommentVNode(\"\", true)\n ]))\n ])\n ], 2))\n}","import { resolveComponent as _resolveComponent, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, normalizeClass as _normalizeClass, createCommentVNode as _createCommentVNode, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-c70d86d4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"card-body\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_CustomChatLoading = _resolveComponent(\"CustomChatLoading\")!\n const _component_UserMessage = _resolveComponent(\"UserMessage\")!\n const _component_el_empty = _resolveComponent(\"el-empty\")!\n const _component_el_skeleton = _resolveComponent(\"el-skeleton\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_el_skeleton, {\n style: {\"height\":\"600px\"},\n loading: _ctx.loading,\n animated: \"\"\n }, {\n template: _withCtx(() => [\n _createVNode(_component_CustomChatLoading)\n ]),\n default: _withCtx(() => [\n (_ctx.messages?.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass(`scroll-y me-n5 pe-5 ${_ctx.isDrawer ? 'h-400px' : 'chat-height'}`),\n ref: \"scrollContainer\"\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.groupedMessages, (message) => {\n return (_openBlock(), _createBlock(_component_UserMessage, {\n class: \"user-message\",\n key: message.id,\n \"is-own\": message.user.id == _ctx.currentUser.id,\n messageData: message\n }, null, 8, [\"is-own\", \"messageData\"]))\n }), 128))\n ], 2))\n : (_openBlock(), _createBlock(_component_el_empty, {\n key: 1,\n description: \"Write a message to begin conversation\"\n }))\n ]),\n _: 1\n }, 8, [\"loading\"])\n ]))\n}","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = { class: \"d-flex align-items-center mb-2\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"d-flex\"\n}\nconst _hoisted_3 = { class: \"symbol symbol-35px symbol-circle\" }\nconst _hoisted_4 = [\"src\"]\nconst _hoisted_5 = { class: \"ms-3\" }\nconst _hoisted_6 = {\n href: \"#\",\n class: \"fs-5 fw-bold text-gray-900 text-hover-primary me-1\"\n}\nconst _hoisted_7 = { class: \"text-muted fs-7 mb-1\" }\nconst _hoisted_8 = {\n key: 1,\n class: \"me-3\"\n}\nconst _hoisted_9 = { class: \"text-muted fs-7 mb-1\" }\nconst _hoisted_10 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"fs-5 fw-bold text-gray-900 text-hover-primary ms-1\" }, \"You\", -1)\nconst _hoisted_11 = { class: \"symbol symbol-35px ms-1 symbol-circle\" }\nconst _hoisted_12 = [\"src\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass(`d-flex justify-content-${_ctx.isOwn ? 'end' : 'start'} ${_ctx.messageData.is_group ? '' : 'mt-10'}`)\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass(`d-flex flex-column align-items-${_ctx.isOwn ? 'end' : 'start'}`)\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n (!_ctx.isOwn && !_ctx.messageData.is_group)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"img\", {\n alt: \"Pic\",\n src: _ctx.messageData.user.photo\n }, null, 8, _hoisted_4)\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"a\", _hoisted_6, _toDisplayString(_ctx.messageData.user.name), 1),\n _createElementVNode(\"span\", _hoisted_7, _toDisplayString(_ctx.getHumanFormatFromDateString(_ctx.messageData.created_at)), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.isOwn && !_ctx.messageData.is_group)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createElementVNode(\"span\", _hoisted_9, _toDisplayString(_ctx.getHumanFormatFromDateString(_ctx.messageData.created_at)), 1),\n _hoisted_10,\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"img\", {\n alt: \"Pic\",\n src: _ctx.messageData.user.photo\n }, null, 8, _hoisted_12)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", {\n class: _normalizeClass(\n `p-5 rounded ${\n _ctx.isOwn ? 'bg-light-primary' : 'bg-light-info'\n } text-dark fw-semobold mw-lg-400px text-start`\n )\n }, _toDisplayString(_ctx.messageData.body), 3)\n ], 2)\n ], 2))\n}","\nimport { defineComponent, PropType } from \"vue\";\nimport {\n chatMessage,\n ChatMessageObject\n} from \"@/components/live-chat/ts/types\";\nimport moment from \"moment\";\n\nexport default defineComponent({\n name: \"user-message\",\n props: {\n isOwn: {\n type: Boolean as PropType,\n required: true\n },\n messageData: {\n type: Object as PropType,\n required: true\n }\n },\n setup() {\n function getHumanFormatFromDateString(dateString: string): string {\n const timeOfMessage = moment.utc(dateString);\n\n if (!timeOfMessage.isValid()) {\n return \"\";\n }\n\n const now = moment.utc();\n const hoursDifference = now.diff(timeOfMessage, \"hours\");\n\n if (hoursDifference < 1) {\n const minutes = now.diff(timeOfMessage, \"minutes\");\n const minuteString = minutes <= 1 ? \"minute ago\" : \"minutes ago\";\n return `${minutes < 1 ? 1 : minutes} ${minuteString}`;\n } else if (hoursDifference < 24) {\n return hoursDifference === 1\n ? `${hoursDifference} hour ago`\n : `${hoursDifference} hours ago`;\n } else {\n return timeOfMessage.local().format(\"MMMM Do, YYYY [at] h:mm A\");\n }\n }\n return {\n getHumanFormatFromDateString\n };\n }\n});\n","import { render } from \"./UserMessage.vue?vue&type=template&id=4f94fe38&ts=true\"\nimport script from \"./UserMessage.vue?vue&type=script&lang=ts\"\nexport * from \"./UserMessage.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src1803551405/src/wci-front/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"d-flex flex-column justify-content-start mt-4\" }\nconst _hoisted_2 = { class: \"d-flex flex-column justify-content-end align-items-end mt-4\" }\nconst _hoisted_3 = { class: \"d-flex flex-column justify-content-start mt-4\" }\nconst _hoisted_4 = { class: \"d-flex flex-column justify-content-end align-items-end mt-4\" }\nconst _hoisted_5 = { class: \"d-flex flex-column justify-content-start mt-4\" }\nconst _hoisted_6 = { class: \"d-flex flex-column justify-content-end align-items-end mt-4\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_el_skeleton_item = _resolveComponent(\"el-skeleton-item\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_el_skeleton_item, {\n variant: \"text\",\n class: \"mb-3\",\n style: {\"width\":\"25%\"}\n }),\n _createVNode(_component_el_skeleton_item, { style: {\"width\":\"35%\",\"height\":\"60px\"} })\n ]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_el_skeleton_item, {\n variant: \"text\",\n class: \"mb-3\",\n style: {\"width\":\"25%\"}\n }),\n _createVNode(_component_el_skeleton_item, { style: {\"width\":\"35%\",\"height\":\"60px\"} })\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_el_skeleton_item, {\n variant: \"text\",\n class: \"mb-3\",\n style: {\"width\":\"25%\"}\n }),\n _createVNode(_component_el_skeleton_item, { style: {\"width\":\"35%\",\"height\":\"60px\"} })\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_el_skeleton_item, {\n variant: \"text\",\n class: \"mb-3\",\n style: {\"width\":\"25%\"}\n }),\n _createVNode(_component_el_skeleton_item, { style: {\"width\":\"35%\",\"height\":\"60px\"} })\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_el_skeleton_item, {\n variant: \"text\",\n class: \"mb-3\",\n style: {\"width\":\"25%\"}\n }),\n _createVNode(_component_el_skeleton_item, { style: {\"width\":\"35%\",\"height\":\"60px\"} })\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_el_skeleton_item, {\n variant: \"text\",\n class: \"mb-3\",\n style: {\"width\":\"25%\"}\n }),\n _createVNode(_component_el_skeleton_item, { style: {\"width\":\"35%\",\"height\":\"60px\"} })\n ])\n ], 64))\n}","\nimport { defineComponent } from \"vue\";\n\nexport default defineComponent({\n name: \"custom-chat-loading\"\n});\n","import { render } from \"./CustomChatLoading.vue?vue&type=template&id=7127b5bf&ts=true\"\nimport script from \"./CustomChatLoading.vue?vue&type=script&lang=ts\"\nexport * from \"./CustomChatLoading.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src1803551405/src/wci-front/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n/* eslint-disable @typescript-eslint/camelcase */\n/* eslint-disable vue/no-mutating-props */\nimport { useStore } from \"vuex\";\nimport {\n defineComponent,\n computed,\n ref,\n PropType,\n watch,\n nextTick,\n onMounted\n} from \"vue\";\nimport { ChatMessageObject } from \"@/components/live-chat/ts/types\";\nimport UserMessage from \"@/components/live-chat/ui-fragments/UserMessage.vue\";\nimport CustomChatLoading from \"@/components/live-chat/custom/CustomChatLoading.vue\";\nimport moment from \"moment\";\nimport { setReadStatus } from \"@/pusher.js\";\nimport { debounce } from \"lodash\";\n\nexport default defineComponent({\n name: \"messages-window\",\n components: {\n CustomChatLoading,\n UserMessage\n },\n props: {\n messages: {\n type: Array as PropType,\n default: () => []\n },\n isDrawer: {\n type: Boolean as PropType,\n default: () => false\n },\n loading: {\n type: Boolean as PropType,\n required: true\n },\n currentPage: {\n type: Number as PropType,\n default: () => 1\n },\n chatId: {\n type: [Number, null] as PropType,\n default: () => null\n }\n },\n setup(props, { emit }) {\n const store = useStore();\n const currentUser = useStore().getters.currentUser;\n const scrollContainer = ref(null);\n function scrollToBottom() {\n if (scrollContainer.value != null && props.currentPage == 1) {\n scrollContainer.value.scrollTop = scrollContainer.value.scrollHeight;\n } else if (scrollContainer.value != null && props.currentPage > 1) {\n scrollContainer.value.scrollTop =\n scrollContainer.value.scrollHeight * 0.05;\n }\n }\n const handleScroll = debounce(() => {\n if (!scrollContainer.value) return;\n if (scrollContainer.value.scrollTop === 0) {\n emit(\"loadOlderMessages\");\n }\n }, 100);\n\n function loadScrollToTopListener() {\n if (scrollContainer.value) {\n scrollContainer.value.addEventListener(\"scroll\", handleScroll);\n }\n }\n\n function handleMarkAsRead(): void {\n if (currentUser && props.messages?.length) {\n const hasUnread =\n props.messages.filter(\n (item: ChatMessageObject) =>\n !item.is_read && item.user.id != currentUser.id\n ).length > 0;\n if (hasUnread) {\n setReadStatus(currentUser.id, props.chatId);\n }\n }\n }\n\n watch(\n () => scrollContainer.value,\n () => {\n loadScrollToTopListener();\n }\n );\n\n const groupedMessages = computed(() => {\n if (!props.messages) {\n return [];\n }\n const groupedMessages = [] as ChatMessageObject[];\n let lastMessage: ChatMessageObject | null = null;\n for (const message of props.messages) {\n if (!lastMessage || lastMessage.user.id !== message.user.id) {\n groupedMessages.push(message);\n } else {\n const timeDifferenceInSeconds = moment\n .utc(message.created_at)\n .diff(moment.utc(lastMessage.created_at), \"second\");\n if (timeDifferenceInSeconds < 300) {\n message.is_group = true;\n groupedMessages.push(message);\n } else {\n groupedMessages.push(message);\n }\n }\n lastMessage = message;\n }\n return groupedMessages;\n });\n watch(groupedMessages, () => {\n handleMarkAsRead();\n console.log(groupedMessages.value);\n nextTick().then(() => {\n scrollToBottom();\n if (props.currentPage > 1) {\n loadScrollToTopListener();\n }\n });\n });\n return {\n groupedMessages,\n scrollContainer,\n currentUser\n };\n }\n});\n","import { render } from \"./MessagesWindow.vue?vue&type=template&id=c70d86d4&scoped=true&ts=true\"\nimport script from \"./MessagesWindow.vue?vue&type=script&lang=ts\"\nexport * from \"./MessagesWindow.vue?vue&type=script&lang=ts\"\n\nimport \"./MessagesWindow.vue?vue&type=style&index=0&id=c70d86d4&scoped=true&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src1803551405/src/wci-front/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c70d86d4\"]])\n\nexport default __exports__","import { withKeys as _withKeys, vModelText as _vModelText, createElementVNode as _createElementVNode, withDirectives as _withDirectives, withModifiers as _withModifiers, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"card-footer pt-4\" }\nconst _hoisted_2 = { class: \"d-flex flex-column w-100\" }\nconst _hoisted_3 = [\"id\"]\nconst _hoisted_4 = { class: \"d-flex justify-content-end\" }\nconst _hoisted_5 = [\"disabled\"]\nconst _hoisted_6 = {\n key: 0,\n class: \"spinner-border spinner-border-sm align-middle ms-2\"\n}\nconst _hoisted_7 = /*#__PURE__*/_createTextVNode(\" Send \")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"form\", {\n onSubmit: _cache[2] || (_cache[2] = _withModifiers(ev => ev.preventDefault(), [\"prevent\"]))\n }, [\n _withDirectives(_createElementVNode(\"input\", {\n type: \"text\",\n autofocus: \"\",\n onKeyup: _cache[0] || (_cache[0] = _withKeys(\n//@ts-ignore\n(...args) => (_ctx.handleSendMessage && _ctx.handleSendMessage(...args)), [\"enter\"])),\n class: \"form-control form-control-flush mb-3\",\n placeholder: \"Type a message\",\n id: _ctx.isDrawer ? 'sendMessageInputDrawer' : 'sendMessageInput',\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.data.message) = $event))\n }, null, 40, _hoisted_3), [\n [_vModelText, _ctx.data.message]\n ])\n ], 32)\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"button\", {\n disabled: _ctx.isSending || _ctx.hasMessage,\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.handleSendMessage())),\n class: \"btn btn-primary\",\n type: \"submit\"\n }, [\n (_ctx.isSending)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6))\n : _createCommentVNode(\"\", true),\n _hoisted_7\n ], 8, _hoisted_5)\n ])\n ]))\n}","\nimport {\n computed,\n defineComponent,\n nextTick,\n onMounted,\n PropType,\n reactive\n} from \"vue\";\nexport default defineComponent({\n name: \"send-message-box\",\n props: {\n isSending: {\n type: Boolean as PropType,\n required: true\n },\n isDrawer: {\n type: Boolean as PropType,\n default: () => false\n }\n },\n setup(props, { emit }) {\n const data = reactive({\n message: \"\"\n });\n onMounted(() => {\n const input = document.getElementById(\n props.isDrawer ? \"sendMessageInputDrawer\" : \"sendMessageInput\"\n );\n if (input) {\n input.focus();\n }\n });\n const hasMessage = computed(() => \"\" === data.message.trim());\n function handleSendMessage(): void {\n if (props.isSending) {\n return;\n }\n\n if (!hasMessage.value) {\n emit(\"sendMessage\", data.message);\n }\n }\n function clearField(): void {\n data.message = \"\";\n const input = document.getElementById(\n props.isDrawer ? \"sendMessageInputDrawer\" : \"sendMessageInput\"\n );\n if (input) {\n input.focus();\n }\n }\n return {\n handleSendMessage,\n clearField,\n hasMessage,\n data\n };\n }\n});\n","import { render } from \"./SendMessageBox.vue?vue&type=template&id=450a493a&ts=true\"\nimport script from \"./SendMessageBox.vue?vue&type=script&lang=ts\"\nexport * from \"./SendMessageBox.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src1803551405/src/wci-front/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, renderList as _renderList, Fragment as _Fragment, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"d-flex justify-content-center flex-column me-3\"\n}\nconst _hoisted_2 = {\n href: \"#\",\n class: \"fs-4 fw-bold text-gray-900 text-hover-primary me-1 mb-2 lh-1\"\n}\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"mb-0 lh-1\" }, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"badge badge-success badge-circle w-10px h-10px me-1\" }),\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"fs-7 fw-semobold text-gray-400\" }, \" Active \")\n], -1)\nconst _hoisted_4 = {\n key: 1,\n class: \"d-flex flex-column\"\n}\nconst _hoisted_5 = { class: \"\" }\nconst _hoisted_6 = { class: \"fs-5 opacity-75 text-dark\" }\nconst _hoisted_7 = { class: \"symbol-group symbol-hover\" }\nconst _hoisted_8 = [\"title\"]\nconst _hoisted_9 = [\"src\"]\nconst _hoisted_10 = {\n key: 0,\n class: \"symbol symbol-35px symbol-circle\"\n}\nconst _hoisted_11 = [\"title\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_IconRightArrow = _resolveComponent(\"IconRightArrow\")!\n\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass(`${_ctx.isDrawer ? 'd-flex align-items-center justify-content-start pb-2 min-h-30px mt-0' : 'mt-0 pb-2 d-flex align-items-center justify-content-start d-md-block'} pt-6 card-header`)\n }, [\n (_ctx.isDrawer)\n ? (_openBlock(), _createBlock(_component_IconRightArrow, {\n key: 0,\n class: \"cursor-pointer svg-icon-dark fa-rotate-180 me-5\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$emit('closeDrawerChat')))\n }))\n : _createCommentVNode(\"\", true),\n (!_ctx.isDrawer)\n ? (_openBlock(), _createBlock(_component_IconRightArrow, {\n key: 1,\n class: \"d-block d-md-none cursor-pointer svg-icon-dark fa-rotate-180 me-5\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('backToHistory')))\n }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", null, [\n (_ctx.participants == null)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"a\", _hoisted_2, _toDisplayString(_ctx.userName), 1),\n _hoisted_3\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"span\", _hoisted_6, _toDisplayString(_ctx.userName), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.participants.slice(0, 8), (participant) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: participant.id,\n \"data-bs-toggle\": \"tooltip\",\n \"data-bs-trigger\": \"hover\",\n title: participant.name,\n class: \"symbol symbol-35px symbol-circle\"\n }, [\n _createElementVNode(\"img\", {\n alt: \"Pic\",\n src: participant.photo\n }, null, 8, _hoisted_9)\n ], 8, _hoisted_8))\n }), 128)),\n (_ctx.participants.length > 5)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _createElementVNode(\"span\", {\n class: \"symbol-label fs-8 fw-bold\",\n \"data-bs-toggle\": \"tooltip\",\n \"data-bs-trigger\": \"hover\",\n title: \n `${_ctx.participants.length - 5} more ${\n _ctx.participants.length - 5 == 1 ? 'user' : 'users'\n }`\n \n }, \"+ \" + _toDisplayString(_ctx.participants.length - 5), 9, _hoisted_11)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n ])\n ], 2))\n}","\nimport { computed, defineComponent, PropType } from \"vue\";\nimport CloseIcon from \"@/components/Icons/CloseIcon.vue\";\nimport { Participant } from \"@/components/live-chat/ts/types\";\nimport IconRightArrow from \"@/components/Icons/IconRightArrow.vue\";\n\nexport default defineComponent({\n name: \"chat-window-header\",\n components: { IconRightArrow },\n props: {\n userName: {\n type: String as PropType,\n default: () => \"\"\n },\n isDrawer: {\n type: Boolean as PropType,\n default: () => false\n },\n participants: {\n type: [Array, null] as PropType,\n default: () => null\n }\n }\n});\n","import { render } from \"./ChatWindowHeader.vue?vue&type=template&id=2b628ae6&ts=true\"\nimport script from \"./ChatWindowHeader.vue?vue&type=script&lang=ts\"\nexport * from \"./ChatWindowHeader.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src1803551405/src/wci-front/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n/* eslint-disable @typescript-eslint/camelcase */\nimport { useStore } from \"vuex\";\nimport {\n defineComponent,\n nextTick,\n onMounted,\n PropType,\n reactive,\n ref\n} from \"vue\";\nimport MessagesWindow from \"@/components/live-chat/ui-fragments/MessagesWindow.vue\";\nimport SendMessageBox from \"@/components/live-chat/ui-fragments/SendMessageBox.vue\";\nimport {\n WebSocketNewMessageEvent,\n ChatMessageObject,\n SelectChatEvent\n} from \"@/components/live-chat/ts/types\";\nimport ChatWindowHeader from \"@/components/live-chat/ui-fragments/ChatWindowHeader.vue\";\nimport { eventBus } from \"@/pusher.js\";\n\nexport default defineComponent({\n name: \"chat-window\",\n components: { ChatWindowHeader, SendMessageBox, MessagesWindow },\n props: {\n data: {\n type: [Object, null] as PropType,\n default: () => null\n },\n isDrawer: {\n type: Boolean as PropType,\n default: () => false\n }\n },\n setup: function(props, { emit }) {\n const store = useStore();\n const isSendingMessage = ref(false);\n const messageBoxKey = ref(0);\n const sendMessageBox = ref>();\n const chatMessages = ref(null);\n const loading = ref(false);\n const pagination = reactive({\n current_page: 1,\n last_page: 1\n });\n eventBus.on(\"MessageReadByUser\", (chatId: number) => {\n if (chatId && chatId == props.data?.chatId) {\n chatMessages.value?.forEach(el => {\n el.is_read = true;\n });\n }\n });\n eventBus.on(\"NewChatMessage\", (eventData: WebSocketNewMessageEvent) => {\n if (eventData && props.data?.chatId && null != chatMessages.value) {\n if (props.data.chatId === eventData.message.chat_id) {\n chatMessages.value.push({\n is_read: false,\n id: eventData.message.id,\n created_at: eventData.message.created_at,\n user: eventData.sender,\n body: eventData.message.body,\n updated_at: eventData.message.updated_at,\n is_group: eventData.is_group_chat\n });\n }\n }\n });\n\n function fetchChatMessages(triggerLoading) {\n if (null != props.data) {\n if (null != props.data.chatId) {\n loading.value = triggerLoading;\n store\n .dispatch(\"LiveChatModule/fetchConversation\", {\n chat_id: props.data.chatId,\n page: pagination.current_page\n })\n .then(response => {\n if (pagination.current_page == 1) {\n chatMessages.value = response.data.reverse();\n } else {\n response.data.reverse().forEach(element => {\n if (chatMessages.value) {\n chatMessages.value.unshift(element);\n }\n });\n }\n pagination.last_page = response.meta.last_page;\n loading.value = false;\n });\n } else {\n chatMessages.value = []; //handleUserChat\n }\n }\n }\n\n function handleLoadOlderMessages() {\n if (pagination.current_page + 1 <= pagination.last_page) {\n pagination.current_page++;\n fetchChatMessages(false);\n }\n }\n\n onMounted(() => {\n fetchChatMessages(true);\n });\n\n function handleSendMessage(messageBody: string): void {\n isSendingMessage.value = true;\n store\n .dispatch(\"LiveChatModule/sendMessage\", {\n ...props.data,\n messageBody: messageBody\n })\n .then(response => {\n if (pagination.current_page == 1) {\n chatMessages.value = response.data.messages.reverse();\n } else {\n if (chatMessages.value) {\n chatMessages.value.push(response.data.messages[0]);\n }\n }\n sendMessageBox.value?.clearField();\n if (null === props.data?.chatId) {\n emit(\"newChatCreated\", response.data.chat);\n } else {\n emit(\"updateLatestChat\", response.data.chat);\n }\n })\n .finally(() => {\n isSendingMessage.value = false;\n });\n }\n\n return {\n handleLoadOlderMessages,\n handleSendMessage,\n isSendingMessage,\n sendMessageBox,\n messageBoxKey,\n chatMessages,\n pagination,\n loading\n };\n }\n});\n","import { render } from \"./ChatWindow.vue?vue&type=template&id=0c2cb144&ts=true\"\nimport script from \"./ChatWindow.vue?vue&type=script&lang=ts\"\nexport * from \"./ChatWindow.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src1803551405/src/wci-front/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ChatHistory.vue?vue&type=style&index=0&id=da196870&scoped=true&lang=css\"","import { normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7cf22dc6\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"d-flex justify-content-center\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"spinner-border m-20 spinner-size-increase\", _ctx.spinnerColor]),\n role: \"status\"\n }, null, 2)\n ]))\n}","\nimport { defineComponent, PropType } from \"vue\";\n\nexport default defineComponent({\n name: \"LoadingSpinner\",\n props: {\n spinnerColor: {\n type: String as PropType,\n default: \"text-primary\"\n }\n }\n});\n","import { render } from \"./LoadingSpinner.vue?vue&type=template&id=7cf22dc6&scoped=true&ts=true\"\nimport script from \"./LoadingSpinner.vue?vue&type=script&lang=ts\"\nexport * from \"./LoadingSpinner.vue?vue&type=script&lang=ts\"\n\nimport \"./LoadingSpinner.vue?vue&type=style&index=0&id=7cf22dc6&scoped=true&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src1803551405/src/wci-front/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7cf22dc6\"]])\n\nexport default __exports__"],"sourceRoot":""}