{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/GuppywidgetChatBox/GuppyFloatingChatList.vue?b13a","webpack:///./src/components/GuppyChatSidebar/GuppyChatCustomerSupport/CustomerSupport.vue?bcf2","webpack:///./src/components/GuppyChatMessages/GuppyChatMessageActions/GuppyChatMessageActions.vue?3ce6","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./src/components/GuppyChatSidebar/GuppyChatSidebar.vue?2573","webpack:///./src/components/GuppyChatSidebar/GuppyChatWhatsappUserList/GuppyChatWhatsappUserList.vue?6a31","webpack:///./src/components/GuppyChatMessages/GuppyChatTextMessage/GuppyChatTextMessage.vue?0398","webpack:///./src/resources/constants.js","webpack:///./src/resources/controller.js","webpack:///./src/services/socketio.service.js","webpack:///./src/resources/RestApiController.js","webpack:///./src/vuex/store.js","webpack:///./src/mixins/GlobalMixins.js","webpack:///./src/components/App.vue?fe6b","webpack:///./src/components/GuppyChatSidebar/GuppyChatSidebar.vue?0bfb","webpack:///./src/components/GuppyChatSidebar/GuppyChatSidebarFooter/GuppyChatSidebarFooter.vue?11d3","webpack:///./src/components/EmptyViews/GuppySvgIcons.vue?b4e0","webpack:///src/components/EmptyViews/GuppySvgIcons.vue","webpack:///./src/components/EmptyViews/GuppySvgIcons.vue?0fcb","webpack:///./src/components/EmptyViews/GuppySvgIcons.vue","webpack:///src/components/GuppyChatSidebar/GuppyChatSidebarFooter/GuppyChatSidebarFooter.vue","webpack:///./src/components/GuppyChatSidebar/GuppyChatSidebarFooter/GuppyChatSidebarFooter.vue?ed3e","webpack:///./src/components/GuppyChatSidebar/GuppyChatSidebarFooter/GuppyChatSidebarFooter.vue?734e","webpack:///./src/components/GuppyChatSidebar/GuppyChatBlockUserList/GuppyChatBlockUserList.vue?128d","webpack:///./src/components/EmptyViews/GuppyChatEmptyView.vue?2828","webpack:///src/components/EmptyViews/GuppyChatEmptyView.vue","webpack:///./src/components/EmptyViews/GuppyChatEmptyView.vue?39e2","webpack:///./src/components/EmptyViews/GuppyChatEmptyView.vue?67d3","webpack:///./src/components/GuppyChatLoader/GuppyChatLoader.vue?569d","webpack:///src/components/GuppyChatLoader/GuppyChatLoader.vue","webpack:///./src/components/GuppyChatLoader/GuppyChatLoader.vue?fce2","webpack:///./src/components/GuppyChatLoader/GuppyChatLoader.vue?4268","webpack:///./src/components/GuppyChatLoader/GuppyChatInnerLoader.vue?354d","webpack:///src/components/GuppyChatLoader/GuppyChatInnerLoader.vue","webpack:///./src/components/GuppyChatLoader/GuppyChatInnerLoader.vue?8160","webpack:///./src/components/GuppyChatLoader/GuppyChatInnerLoader.vue?42cc","webpack:///src/components/GuppyChatSidebar/GuppyChatBlockUserList/GuppyChatBlockUserList.vue","webpack:///./src/components/GuppyChatSidebar/GuppyChatBlockUserList/GuppyChatBlockUserList.vue?08f8","webpack:///./src/components/GuppyChatSidebar/GuppyChatBlockUserList/GuppyChatBlockUserList.vue?2b6a","webpack:///./src/components/GuppyChatSidebar/GuppyChatUsersList/GuppyChatUsersList.vue?d1f0","webpack:///./src/components/GuppyChatSidebar/GuppyChatUsersList/GuppyChatContactList.vue?2f32","webpack:///./src/components/GuppyChatSidebar/GuppyChatUsersList/GuppyChatUserListItem.vue?a061","webpack:///src/components/GuppyChatSidebar/GuppyChatUsersList/GuppyChatUserListItem.vue","webpack:///./src/components/GuppyChatSidebar/GuppyChatUsersList/GuppyChatUserListItem.vue?9c0b","webpack:///./src/components/GuppyChatSidebar/GuppyChatUsersList/GuppyChatUserListItem.vue?2cbc","webpack:///src/components/GuppyChatSidebar/GuppyChatUsersList/GuppyChatContactList.vue","webpack:///./src/components/GuppyChatSidebar/GuppyChatUsersList/GuppyChatContactList.vue?0b04","webpack:///./src/components/GuppyChatSidebar/GuppyChatUsersList/GuppyChatContactList.vue","webpack:///./src/components/GuppyChatSidebar/GuppyChatUsersList/GuppyChatRequestsList.vue?8dd7","webpack:///src/components/GuppyChatSidebar/GuppyChatUsersList/GuppyChatRequestsList.vue","webpack:///./src/components/GuppyChatSidebar/GuppyChatUsersList/GuppyChatRequestsList.vue?439f","webpack:///./src/components/GuppyChatSidebar/GuppyChatUsersList/GuppyChatRequestsList.vue","webpack:///src/components/GuppyChatSidebar/GuppyChatUsersList/GuppyChatUsersList.vue","webpack:///./src/components/GuppyChatSidebar/GuppyChatUsersList/GuppyChatUsersList.vue?bb47","webpack:///./src/components/GuppyChatSidebar/GuppyChatUsersList/GuppyChatUsersList.vue?e968","webpack:///./src/components/GuppyChatSidebar/GuppyChatFriendList/GuppyChatFriendList.vue?1f34","webpack:///src/components/GuppyChatSidebar/GuppyChatFriendList/GuppyChatFriendList.vue","webpack:///./src/components/GuppyChatSidebar/GuppyChatFriendList/GuppyChatFriendList.vue?2916","webpack:///./src/components/GuppyChatSidebar/GuppyChatFriendList/GuppyChatFriendList.vue","webpack:///./src/components/GuppyChatSidebar/GuppyChatCustomerSupport/CustomerSupport.vue?10a7","webpack:///./src/components/GuppyChatSidebar/GuppyChatCustomerSupport/CustomerSupportUserList.vue?d2ea","webpack:///src/components/GuppyChatSidebar/GuppyChatCustomerSupport/CustomerSupportUserList.vue","webpack:///./src/components/GuppyChatSidebar/GuppyChatCustomerSupport/CustomerSupportUserList.vue?f6da","webpack:///./src/components/GuppyChatSidebar/GuppyChatCustomerSupport/CustomerSupportUserList.vue","webpack:///./src/components/GuppyChatSidebar/GuppyChatCustomerSupport/CustomerSupportChatList.vue?ee73","webpack:///src/components/GuppyChatSidebar/GuppyChatCustomerSupport/CustomerSupportChatList.vue","webpack:///./src/components/GuppyChatSidebar/GuppyChatCustomerSupport/CustomerSupportChatList.vue?040f","webpack:///./src/components/GuppyChatSidebar/GuppyChatCustomerSupport/CustomerSupportChatList.vue","webpack:///src/components/GuppyChatSidebar/GuppyChatCustomerSupport/CustomerSupport.vue","webpack:///./src/components/GuppyChatSidebar/GuppyChatCustomerSupport/CustomerSupport.vue?cf98","webpack:///./src/components/GuppyChatSidebar/GuppyChatCustomerSupport/CustomerSupport.vue?b847","webpack:///./src/components/GuppyChatSidebar/GuppyChatWhatsappUserList/GuppyChatWhatsappUserList.vue?9570","webpack:///./src/components/GuppyChatSidebar/GuppyChatWhatsappUserList/WhatsappImage.vue?2612","webpack:///src/components/GuppyChatSidebar/GuppyChatWhatsappUserList/WhatsappImage.vue","webpack:///./src/components/GuppyChatSidebar/GuppyChatWhatsappUserList/WhatsappImage.vue?98ce","webpack:///./src/components/GuppyChatSidebar/GuppyChatWhatsappUserList/WhatsappImage.vue","webpack:///src/components/GuppyChatSidebar/GuppyChatWhatsappUserList/GuppyChatWhatsappUserList.vue","webpack:///./src/components/GuppyChatSidebar/GuppyChatWhatsappUserList/GuppyChatWhatsappUserList.vue?654a","webpack:///./src/components/GuppyChatSidebar/GuppyChatWhatsappUserList/GuppyChatWhatsappUserList.vue?de7a","webpack:///./src/components/GuppyChatSidebar/GuppyChatProfileSetting/GuppyChatProfileSetting.vue?8bc2","webpack:///src/components/GuppyChatSidebar/GuppyChatProfileSetting/GuppyChatProfileSetting.vue","webpack:///./src/components/GuppyChatSidebar/GuppyChatProfileSetting/GuppyChatProfileSetting.vue?8ecc","webpack:///./src/components/GuppyChatSidebar/GuppyChatProfileSetting/GuppyChatProfileSetting.vue?7e47","webpack:///./src/components/GuppyChatSidebar/GuppyChatConversationList/GuppyChatPrivateList.vue?7194","webpack:///./src/components/GuppyChatSidebar/GuppyChatConversationList/GuppyConversationListItem.vue?28a4","webpack:///src/components/GuppyChatSidebar/GuppyChatConversationList/GuppyConversationListItem.vue","webpack:///./src/components/GuppyChatSidebar/GuppyChatConversationList/GuppyConversationListItem.vue?56cf","webpack:///./src/components/GuppyChatSidebar/GuppyChatConversationList/GuppyConversationListItem.vue","webpack:///src/components/GuppyChatSidebar/GuppyChatConversationList/GuppyChatPrivateList.vue","webpack:///./src/components/GuppyChatSidebar/GuppyChatConversationList/GuppyChatPrivateList.vue?f77f","webpack:///./src/components/GuppyChatSidebar/GuppyChatConversationList/GuppyChatPrivateList.vue?f409","webpack:///src/components/GuppyChatSidebar/GuppyChatSidebar.vue","webpack:///./src/components/GuppyChatSidebar/GuppyChatSidebar.vue?1578","webpack:///./src/components/GuppyChatSidebar/GuppyChatSidebar.vue?6ba3","webpack:///./src/components/GuppyChatMessages/GuppyChatMessages/GuppyChatMessages.vue?457c","webpack:///./src/components/GuppyChatMessages/GuppyChatInviteResponse/GuppyChatInviteResponse.vue?170d","webpack:///src/components/GuppyChatMessages/GuppyChatInviteResponse/GuppyChatInviteResponse.vue","webpack:///./src/components/GuppyChatMessages/GuppyChatInviteResponse/GuppyChatInviteResponse.vue?32be","webpack:///./src/components/GuppyChatMessages/GuppyChatInviteResponse/GuppyChatInviteResponse.vue?411b","webpack:///./src/components/GuppyChatMessages/GuppyChatMessageHeader/GuppyChatMessageHeader.vue?bd83","webpack:///./src/components/GuppyChatMessages/GuppyChatMessageHeader/GuppyChatSidebarSetting.vue?0641","webpack:///src/components/GuppyChatMessages/GuppyChatMessageHeader/GuppyChatSidebarSetting.vue","webpack:///./src/components/GuppyChatMessages/GuppyChatMessageHeader/GuppyChatSidebarSetting.vue?f6f7","webpack:///./src/components/GuppyChatMessages/GuppyChatMessageHeader/GuppyChatSidebarSetting.vue?4854","webpack:///src/components/GuppyChatMessages/GuppyChatMessageHeader/GuppyChatMessageHeader.vue","webpack:///./src/components/GuppyChatMessages/GuppyChatMessageHeader/GuppyChatMessageHeader.vue?19ad","webpack:///./src/components/GuppyChatMessages/GuppyChatMessageHeader/GuppyChatMessageHeader.vue?d25d","webpack:///./src/components/GuppyChatMessages/GuppyChatMessageFooter/GuppyChatMessageFooter.vue?4b3a","webpack:///./src/components/GuppyChatMessages/GuppyChatQuotedMessages/GuppyChatQuotedMessages.vue?8032","webpack:///src/components/GuppyChatMessages/GuppyChatQuotedMessages/GuppyChatQuotedMessages.vue","webpack:///./src/components/GuppyChatMessages/GuppyChatQuotedMessages/GuppyChatQuotedMessages.vue?bdf6","webpack:///./src/components/GuppyChatMessages/GuppyChatQuotedMessages/GuppyChatQuotedMessages.vue?0e55","webpack:///./src/components/GuppyChatMessages/GuppyChatMessageFooter/GuppyChatSendTextMessage.vue?e399","webpack:///src/components/GuppyChatMessages/GuppyChatMessageFooter/GuppyChatSendTextMessage.vue","webpack:///./src/components/GuppyChatMessages/GuppyChatMessageFooter/GuppyChatSendTextMessage.vue?bcbf","webpack:///./src/components/GuppyChatMessages/GuppyChatMessageFooter/GuppyChatSendTextMessage.vue","webpack:///src/components/GuppyChatMessages/GuppyChatMessageFooter/GuppyChatMessageFooter.vue","webpack:///./src/components/GuppyChatMessages/GuppyChatMessageFooter/GuppyChatMessageFooter.vue?fb1f","webpack:///./src/components/GuppyChatMessages/GuppyChatMessageFooter/GuppyChatMessageFooter.vue?08f8","webpack:///./src/components/GuppyChatMessages/GuppyChatMessages/GuppyChatMessagesContainer.vue?90b0","webpack:///./src/components/GuppyChatMessages/GuppyChatMessages/GuppyChatMessagesList.vue?8945","webpack:///./src/components/GuppyChatMessages/GuppyChatTextMessage/GuppyChatTextMessage.vue?fa98","webpack:///./src/components/GuppyChatMessages/GuppyChatMessageActions/GuppyChatMessageActions.vue?201c","webpack:///src/components/GuppyChatMessages/GuppyChatMessageActions/GuppyChatMessageActions.vue","webpack:///./src/components/GuppyChatMessages/GuppyChatMessageActions/GuppyChatMessageActions.vue?7030","webpack:///./src/components/GuppyChatMessages/GuppyChatMessageActions/GuppyChatMessageActions.vue?09a7","webpack:///./src/components/GuppyChatMessages/GuppyChatQuotedMessages/GuppyChatQuoteMessageList.vue?81d6","webpack:///src/components/GuppyChatMessages/GuppyChatQuotedMessages/GuppyChatQuoteMessageList.vue","webpack:///./src/components/GuppyChatMessages/GuppyChatQuotedMessages/GuppyChatQuoteMessageList.vue?a62d","webpack:///./src/components/GuppyChatMessages/GuppyChatQuotedMessages/GuppyChatQuoteMessageList.vue","webpack:///src/components/GuppyChatMessages/GuppyChatTextMessage/GuppyChatTextMessage.vue","webpack:///./src/components/GuppyChatMessages/GuppyChatTextMessage/GuppyChatTextMessage.vue?c68b","webpack:///./src/components/GuppyChatMessages/GuppyChatTextMessage/GuppyChatTextMessage.vue?1b55","webpack:///./src/components/GuppyChatMessages/GuppyChatNotifyMessage/GuppyChatNotifyMessage.vue?9b3e","webpack:///src/components/GuppyChatMessages/GuppyChatNotifyMessage/GuppyChatNotifyMessage.vue","webpack:///./src/components/GuppyChatMessages/GuppyChatNotifyMessage/GuppyChatNotifyMessage.vue?e3d8","webpack:///./src/components/GuppyChatMessages/GuppyChatNotifyMessage/GuppyChatNotifyMessage.vue","webpack:///./src/components/GuppyChatMessages/GuppyDeleteMessage/GuppyDeleteMessage.vue?fab0","webpack:///src/components/GuppyChatMessages/GuppyDeleteMessage/GuppyDeleteMessage.vue","webpack:///./src/components/GuppyChatMessages/GuppyDeleteMessage/GuppyDeleteMessage.vue?fdec","webpack:///./src/components/GuppyChatMessages/GuppyDeleteMessage/GuppyDeleteMessage.vue","webpack:///src/components/GuppyChatMessages/GuppyChatMessages/GuppyChatMessagesList.vue","webpack:///./src/components/GuppyChatMessages/GuppyChatMessages/GuppyChatMessagesList.vue?763d","webpack:///./src/components/GuppyChatMessages/GuppyChatMessages/GuppyChatMessagesList.vue","webpack:///src/components/GuppyChatMessages/GuppyChatMessages/GuppyChatMessagesContainer.vue","webpack:///./src/components/GuppyChatMessages/GuppyChatMessages/GuppyChatMessagesContainer.vue?d884","webpack:///./src/components/GuppyChatMessages/GuppyChatMessages/GuppyChatMessagesContainer.vue?cff1","webpack:///src/components/GuppyChatMessages/GuppyChatMessages/GuppyChatMessages.vue","webpack:///./src/components/GuppyChatMessages/GuppyChatMessages/GuppyChatMessages.vue?c7a8","webpack:///./src/components/GuppyChatMessages/GuppyChatMessages/GuppyChatMessages.vue?77c9","webpack:///./src/components/GuppyChatMessages/GuppyChatSidebarSettingPopup.vue?34a4","webpack:///src/components/GuppyChatMessages/GuppyChatSidebarSettingPopup.vue","webpack:///./src/components/GuppyChatMessages/GuppyChatSidebarSettingPopup.vue?d524","webpack:///./src/components/GuppyChatMessages/GuppyChatSidebarSettingPopup.vue?7877","webpack:///src/components/App.vue","webpack:///./src/components/App.vue?d97b","webpack:///./src/components/App.vue","webpack:///./src/components/widgetChatApp.vue?c8d5","webpack:///./src/components/GuppywidgetChatBox/GuppyFloatingChatList.vue?83a5","webpack:///./src/components/GuppywidgetChatBox/GuppywidgetChatBox.vue?8b8e","webpack:///./src/components/GuppywidgetChatBox/GuppywidgetChatBoxHeader.vue?58b5","webpack:///src/components/GuppywidgetChatBox/GuppywidgetChatBoxHeader.vue","webpack:///./src/components/GuppywidgetChatBox/GuppywidgetChatBoxHeader.vue?9f55","webpack:///./src/components/GuppywidgetChatBox/GuppywidgetChatBoxHeader.vue","webpack:///./src/components/GuppywidgetChatBox/GuppywidgetChatBoxFooter.vue?5b1e","webpack:///src/components/GuppywidgetChatBox/GuppywidgetChatBoxFooter.vue","webpack:///./src/components/GuppywidgetChatBox/GuppywidgetChatBoxFooter.vue?7fd7","webpack:///./src/components/GuppywidgetChatBox/GuppywidgetChatBoxFooter.vue?a38a","webpack:///src/components/GuppywidgetChatBox/GuppywidgetChatBox.vue","webpack:///./src/components/GuppywidgetChatBox/GuppywidgetChatBox.vue?cbfd","webpack:///./src/components/GuppywidgetChatBox/GuppywidgetChatBox.vue","webpack:///./src/components/GuppywidgetChatBox/GuppyWhatsappChatBox.vue?d235","webpack:///src/components/GuppywidgetChatBox/GuppyWhatsappChatBox.vue","webpack:///./src/components/GuppywidgetChatBox/GuppyWhatsappChatBox.vue?1712","webpack:///./src/components/GuppywidgetChatBox/GuppyWhatsappChatBox.vue?160d","webpack:///./src/components/GuppywidgetChatBox/guppyChatSignInBox/SignInBox.vue?8e7c","webpack:///./src/components/GuppywidgetChatBox/guppyChatSignInBox/GuestUserLogin.vue?e616","webpack:///src/components/GuppywidgetChatBox/guppyChatSignInBox/GuestUserLogin.vue","webpack:///./src/components/GuppywidgetChatBox/guppyChatSignInBox/GuestUserLogin.vue?a50d","webpack:///./src/components/GuppywidgetChatBox/guppyChatSignInBox/GuestUserLogin.vue","webpack:///./src/components/GuppywidgetChatBox/guppyChatSignInBox/RealUserLogin.vue?a55a","webpack:///src/components/GuppywidgetChatBox/guppyChatSignInBox/RealUserLogin.vue","webpack:///./src/components/GuppywidgetChatBox/guppyChatSignInBox/RealUserLogin.vue?d30d","webpack:///./src/components/GuppywidgetChatBox/guppyChatSignInBox/RealUserLogin.vue","webpack:///src/components/GuppywidgetChatBox/guppyChatSignInBox/SignInBox.vue","webpack:///./src/components/GuppywidgetChatBox/guppyChatSignInBox/SignInBox.vue?b9c9","webpack:///./src/components/GuppywidgetChatBox/guppyChatSignInBox/SignInBox.vue","webpack:///src/components/GuppywidgetChatBox/GuppyFloatingChatList.vue","webpack:///./src/components/GuppywidgetChatBox/GuppyFloatingChatList.vue?df21","webpack:///./src/components/GuppywidgetChatBox/GuppyFloatingChatList.vue","webpack:///src/components/widgetChatApp.vue","webpack:///./src/components/widgetChatApp.vue?41e5","webpack:///./src/components/widgetChatApp.vue","webpack:///./src/main.js","webpack:///./src/components/GuppyChatSidebar/GuppyChatBlockUserList/GuppyChatBlockUserList.vue?4021","webpack:///./src/components/GuppyChatMessages/GuppyChatMessageHeader/GuppyChatMessageHeader.vue?1ad3","webpack:///./src/components/GuppywidgetChatBox/GuppyWhatsappChatBox.vue?50de","webpack:///./src/components/GuppyChatMessages/GuppyChatMessageFooter/GuppyChatMessageFooter.vue?53a9","webpack:///./src/components/EmptyViews/GuppyChatEmptyView.vue?8433","webpack:///./src/components/GuppyChatMessages/GuppyChatMessages/GuppyChatMessages.vue?39ce","webpack:///./src/components/GuppyChatMessages/GuppyChatQuotedMessages/GuppyChatQuotedMessages.vue?20dd","webpack:///./src/components/GuppyChatMessages/GuppyChatSidebarSettingPopup.vue?fb57","webpack:///./src/components/GuppyChatLoader/GuppyChatLoader.vue?395f","webpack:///./src/components/GuppyChatSidebar/GuppyChatProfileSetting/GuppyChatProfileSetting.vue?58fe","webpack:///./src/components/GuppyChatMessages/GuppyChatMessageHeader/GuppyChatSidebarSetting.vue?bce8","webpack:///./src/components/GuppyChatMessages/GuppyChatMessages/GuppyChatMessagesContainer.vue?cb67","webpack:///./src/components/GuppyChatMessages/GuppyChatInviteResponse/GuppyChatInviteResponse.vue?d474","webpack:///./src/components/GuppyChatLoader/GuppyChatInnerLoader.vue?e408","webpack:///./src/components/GuppyChatSidebar/GuppyChatConversationList/GuppyChatPrivateList.vue?9499","webpack:///./src/components/GuppyChatSidebar/GuppyChatSidebarFooter/GuppyChatSidebarFooter.vue?a89c","webpack:///./src/components/GuppyChatSidebar/GuppyChatUsersList/GuppyChatUsersList.vue?dec2","webpack:///./src/components/GuppyChatSidebar/GuppyChatProfileSetting/resource/defaultAvatar.png","webpack:///./src/components/GuppywidgetChatBox/GuppywidgetChatBoxFooter.vue?980a","webpack:///./src/components/App.vue?2cc5","webpack:///./src/components/GuppyChatSidebar/GuppyChatUsersList/GuppyChatUserListItem.vue?fc2c","webpack:///./src/resources/avatar.png"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","map","webpackContext","req","id","webpackContextResolve","e","Error","code","keys","resolve","GUPPYCHAT_CONSTANTS","AVATAR","UserDefaultImage","TODAY","YESTERDAY","VIDEO_THUMBNAIL","wpguppy_scripts_vars","videoThumbnail","GUPPYCHAT_SETTINGS","chatSetting","GUPPYCHAT_LOGOUT","logoutUrl","GUPPYCHAT_TRANSLATION","translations","GUPPYCHAT_SOCKET_ENDPOINT","socketHost","socketPort","GuppyChatManager","store","state","userId","Vue","axios","post","response","type","userData","JSON","parse","stringify","statusType","userProfile","userName","userAvatar","muteNotification","payload","dispatch","console","log","autoInvite","messagelistData","friendData","resendRequest","commit","chatData","chatType","chatId","messageTimeStamp","dateTime","dateFormat","Date","timeStamp","timestamp","messageTimestamp","currentMessageDate","moment","today","endOf","dateDifference","diff","toLocaleDateString","then","includes","Number","messageIds","senderId","messageCounter","alertBox","TRANS","error_title","message_desc","catch","errors","email","re","test","scrollHeight","nextTick","containerId","document","getElementById","scrollTop","bellSrc","notificationBellUrl","audio","createElement","autoplay","load","addEventListener","play","src","SocketioService","authToken","secureConnection","location","protocol","this","socket","io","auth","token","secure","reconnect","emit","connected","RestApiManager","showRec","offset","search","friendStatus","userType","isSupportMember","jQuery","removeClass","chatInfo","isMessangerChat","chatResponce","unReadContent","error","muteType","isMute","muteAll","userInfo","onlineFriendslist","accountInfo","pair","cookie","split","find","x","startsWith","decodeURIComponent","userEmail","userPhone","use","Vuex","canType","throttleTime","Store","adminSupportUserListFlag","adminSupportUserListOffset","noMoreAdminSupportUsers","adminSupportUserSearch","adminSupportUserList","adminSupportChatsFlag","adminSupportChatsOffset","noMoreAdminSupportChats","adminSupportChatsSearch","adminSupportChats","adminSupportChatCount","privateChatOffset","noMorePrivateChat","privateConvFlag","privateChatSearch","privateConversation","privateChatCount","contactListFlag","contactListOffset","noMoreContactUsers","contactUserSearch","contactList","requestListFlag","requestListOffset","noMoreRequesttUsers","requestUserSearch","requestList","requestCount","friendListFlag","friendListOffset","noMoreFriendUsers","friendUserSearch","friendList","blockListFlag","blockListOffset","noMoreBlockUsers","blockUserSearch","blockList","whatsappListFlag","whatsappListOffset","noMoreWhatsappUsers","whatsappUserSearch","whatsappList","windowWidth","FriendsOffset","BlocksOffset","isScrollList","pusher","noMoreFriends","invitationResp","ReceiveInvitation","userFriendFlag","userBlockFlag","isEmptyView","isOpenMessagesScr","isWhatsappChat","isMobileView","userResponseData","unseenMsgCount","quoteMessageId","widgetChatMessageInput","messageInput","friendSearch","activeTab","messagesList","selectedChatId","isfloatingChat","getters","getTotalUnreadCount","privateCount","getMessageInput","typingUsersIndicatorText","existKey","indicator","typingUsers","tUsers","users","selectUsers","join","isDisabledFooter","chatInfoId","message","messages","at","messageType","loadChat","messageLoading","messagesLoading","widgetChats","values","filter","chat","isMinimize","minimizeChats","reverse","getQuoteMessage","chatKey","quoteMsgId","messageId","getQuoteMessageId","muteChatNotify","infoKey","chatInformation","messagesListData","cDate","messageSentDate","getChatInfo","chatInfoData","mutations","removeChatInfo","delete","refreshSupportChats","set","updateUserInfo","removeContactListItem","updateWidgetType","updateChatInfo","userClick","infoData","totalWindows","recExist","openChatWindows","recIndex","findIndex","record","unseenCountMessage","supportbaseChatCount","updateTabListRecord","listType","isScrolling","list","selectTab","enableTabs","enabledTabs","startChat","conversationData","isStartChat","blockedId","messageStatus","isBlocked","updateRecord","assign","updatedConversation","addClass","updateConversationMessage","forEach","unReadCount","UnreadCount","openChatWindow","counter","newConvList","updateWindowWidth","updateSelectedChatId","closeWidgetChatbox","minimizeWidgetChatbox","updateSeenMessagesCounter","updateQuoteMessageId","removeQuote","updateMessageInput","text","updateSearch","searchValue","updateRecordList","RecordList","RecordListValue","updateOffset","offsetValue","updateListFlag","flag","flagValue","declineInvite","blockUser","acceptInvite","toggleMessagesScr","UpdateMessageList","messagesScrollList","lastScrollTop","userResponse","UpdateSelectUserStatus","blockerId","clearChat","isOnline","setUserProfile","receiveMessage","isSender","playNotificationBell","messageIndex","randNumber","metaData","randNum","randNumberIndex","animate","updateUnseenCounter","selectList","msgCountKey","item","updateCount","appendMessage","updateMessageStatus","entries","counterlist","totalUnseenCounter","updateUser","status","deleteMessageStatus","counterType","clearGuppyChat","stateList","updateMessageLoadingFlag","updateMuteChatNotify","updateTypeIndicator","isExist","index","indexOf","actions","startConversation","context","unBlockUser","receiverId","messageData","currentMessageList","chatMessages","concat","muteNotfication","initializePusher","Pusher","pusherKey","cluster","pusherCluster","authEndpoint","restApiUrl","channel","subscribe","initializeSocket","settings","socketConnection","connectUser","on","triggerSocketEvents","realTimeOption","socketEnable","event","sendMessage","updateMsgStatus","deleteMessage","triggerclientEvents","isTyping","pusherEnable","pusherTypeIndicator","setTimeout","initRealTimeChatSetting","restapiurl","messagesOffset","UserChatOffset","isLoading","RecordLimit","StatusText","friendListStatusText","isSingle","computed","mapState","methods","title","description","$swal","icon","showCloseButton","showConfirmButton","_vm","_h","$createElement","_c","_self","staticClass","class","isRtl","staticRenderFns","_e","directives","rawName","expression","$event","toggleOverLay","isShowButton","attrs","preventDefault","showWidget","toogleMenu","defaultAvatar","style","_v","_s","selectedActiveTab","closeMenu","contact_tab_txt","friend_tab_txt","block_tab_txt","private_tab_txt","customer_tab_txt","setting_tab_txt","login","login_tab_txt","imageWidth","imageHeight","viewBox","ImageColor","isActive","colorOnActive","primaryColor","imagePath","fill","props","default","required","activeColor","secondaryColor","path","component","components","GuppySvgIcons","isMobileDevice","toggleMenue","defaultActiveTab","toggle","domProps","target","composing","searchBlockUser","blockListScrollHandler","_l","Math","floor","random","_f","activeUser","unblockUser","unblock","listIcon","no_results","admin_start_conversation","isSidebarProps","svgIcon","_m","search_results","GuppyChatEmptyView","GuppyChatLoader","GuppyChatInnerLoader","userStatus","timer","clearTimeout","getBlockUser","currentMoreRecord","elem","updateListRecord","recList","created","mounted","selectedTab","contacts","requests_heading","modifiers","trim","searchUser","$forceUpdate","userScrollHandler","user","userProps","tab","updateUserStatus","start_chat_txt","statusText","decline_user","isDisabled","userStatusClass","oldVal","recordList","GuppyChatUserListItem","inviteResonseData","scrolledToBottom","getUsers","ContactList","RequestsList","searchFriends","friendListScrollHandler","friend","openConversation","getFriends","params","admin_support_agent_tab","admin_support_msgs_tab","searchAdminUser","customerListScrollHandler","supportUser","userChatId","getMessageTime","getAdminSupportUser","openChat","searchAdminChat","customerSupportScrollHandler","stopPropagation","deleted_message","you_sent_attachment","sent_you_attachment","you_sent_location","sent_you_location","you_sent_voice_note","sent_you_voice_note","watch","newVal","UserList","ChatList","whatsap_list_title","whatsappText","userSearch","list_respond_text","userListScrollHandler","whatsappUser","userDesignation","startTime","endTime","GMTTimezone","offline","WhatsappImage","getUsersList","profile_settings","full_name","profileInfo","isAllowEditAccSetting","your_name","$set","your_email","phone","your_phone","uploadImage","upload_photo_dsc","upload_photo_btn","removeImage","remove","uploadImgExt","onImageUpload","arguments","userProfileData","mute_alert_txt","logout","isloadingUpdt","updateProfileInfo","save_changes","removeAvatar","notificationLoader","thumbnailImg","file","showImage","getUserIfno","fileExt","setProfileInfo","info","searchConversation","conversation","conversationScrollHandler","itemProps","selectUserChat","notifyMessage","transText","GuppyChatConversationListItem","initScroll","getConversation","onlineUserListScroll","scrollUserList","isDown","startX","scrollLeft","GuppyCahtUserList","GuppyChatSidebarFooter","GuppyChatFriendList","GuppyChatBlockUserList","CustomerSupport","GuppyChatPrivateList","WhatsappUserList","GuppyChatProfileSetting","isWidgetChat","Tab","beforeCreate","convData","you_are_blocked","unblockButtonText","updateMessageList","loadUserChat","isShowDefaultMessage","closePopUp","invitation_top_desc","actionType","inviteResponse","accept_invite","decline_invite","block_user","invitaion_bottom_desc","toggleScreen","backToTabList","online","memberDisable","unmute_conversation","mute_conversation","privacy_settings","unblock_user","clear_chat","isloading","isAllowClearChat","actionTo","GuppyChatSidebarSetting","quoteMessage","sendTextMessage","quoteMsgProps","removeQuoteMessage","ref","type_message","CurrentDate","isBlockedByMe","updated","autoHeightInput","setMessageInput","element","openWhatsappChat","replyTo","latitude","longitude","replyId","messageSentTime","messageInputId","scrollListToBottom","ele","_this","GuppyChatQuotedMessages","SendTextMessage","uploadType","sendingMessages","typingIcon","inputTypingText","typingText","scrollHandler","deleteChatMessage","responsiveClass","messageProps","replyMessage","scopedSlots","_u","disableReply","fn","proxy","reply_message","enableDeleteMessage","isSending","isDownloading","disableDeleteMessage","_t","GuppyChatMessageActions","GuppyChatQuoteMessageList","messageText","GuppyChatTextMessage","GuppyDeleteMessage","GuppyChatNotifyMessage","deletMessage","GuppyChatMessagesList","converData","loadChatMessages","scrollListToPosition","updateConvData","NoRecordFound","GuppyChatInviteResponse","GuppyChatMessageHeader","GuppyChatMessageFooter","MessagesContainer","handler","parems","unblock_user_heading","replace","block_user_title","unblock_user_description","block_user_description","toggleBlockUser","unblock_button","block_user_button","not_right_now","clear_chat_description","clear_chat_button","isCroppedImage","proCroppieBoundry","proCroppieViewport","proCroppedImage","crop_img_txt","cancel_txt","isOpenInvitePopUp","width","height","popUp","openPopUp","setProfileImage","reader","url","size","format","imageUrl","capitalizeText","SidebarPopup","GuppyChatSidebar","GuppyChatMessages","css","responsive","guppyAddClass","startChating","getMessangerChatInfo","window_idth","minimizeList","floatingWidgetEnable","floatingMessenger","marginBottom","widgetCircle1","toggleWhatsappChat","widgetCircle2","opacity","itemOpacity","showChatWidget","toggleWidgetChat","floatingIcon","topChats","single","bottomChats","toggleUsersMenue","isOpenMenu","closeAllChats","close_all_conversation","chats","isOpenSignInWindow","floatChatClass","toggleMenu","staticStyle","messangerPage","open_in_messenger","updateSelectChatId","mapGetters","GuppywidgetChatBoxHeader","GuppywidgetChatBoxFooter","replyClass","whatsapp_loading_msg","userMessageText","currentTime","whatsappBackground","chatBackround","backgroundImage","backgroundColor","loadingMessage","signin_box_hdr_txt","$root","$emit","dont_have_account_txt","guest_login_txt","have_account_txt","login_txt","name_txt","_k","keyCode","signIn","start_chat_text","guestName","guestEmail","password","userpassword","username","openFloatingList","GuestUserLogin","RealUserLogin","WhatsappChatBox","GuppywidgetChatBox","SignInBox","enableWhatsappWidgetBox","showTopChats","FloatingChats","isShowWidget","whatsappSupportEnable","isWhatsappClick","openWidget","closeWidgetChat","whatsappAddClass","timeout","ms","openWidgetChat","isOpenWhatsApp","directive","linkify","VueCroppie","RuntimeTemplateCompiler","defaults","baseURL","headers","common","VueSweetalert2","VueAxios","config","productionTip","mixin","Mixin","el","binding","vnode","clickOutsideEvent","contains","body","unbind","removeEventListener","toString","charAt","toUpperCase","render","h","App","$mount","widgetChatApp"],"mappings":"aACE,SAASA,EAAqBC,GAQ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,W,oFCAA,W,yDCAA,W,kCCAA,W,kCCAA,W,kCCAA,W,yDCAA,W,kCCAA,W,qJCAA,W,oBCAA73B,EAAOD,QAAU,0xC,kCCAjB,W,kCCAA,W,kCCAA,W,mBCAAC,EAAOD,QAAU,khE","file":"js/app.81ed9194.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./GuppyFloatingChatList.vue?vue&type=style&index=0&id=50805430&scoped=true&lang=css&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./CustomerSupport.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./GuppyChatMessageActions.vue?vue&type=style&index=0&lang=css&\"","var map = {\n\t\"./af\": \"2bfb\",\n\t\"./af.js\": \"2bfb\",\n\t\"./ar\": \"8e73\",\n\t\"./ar-dz\": \"a356\",\n\t\"./ar-dz.js\": \"a356\",\n\t\"./ar-kw\": \"423e\",\n\t\"./ar-kw.js\": \"423e\",\n\t\"./ar-ly\": \"1cfd\",\n\t\"./ar-ly.js\": \"1cfd\",\n\t\"./ar-ma\": \"0a84\",\n\t\"./ar-ma.js\": \"0a84\",\n\t\"./ar-sa\": \"8230\",\n\t\"./ar-sa.js\": \"8230\",\n\t\"./ar-tn\": \"6d83\",\n\t\"./ar-tn.js\": \"6d83\",\n\t\"./ar.js\": \"8e73\",\n\t\"./az\": \"485c\",\n\t\"./az.js\": \"485c\",\n\t\"./be\": \"1fc1\",\n\t\"./be.js\": \"1fc1\",\n\t\"./bg\": \"84aa\",\n\t\"./bg.js\": \"84aa\",\n\t\"./bm\": \"a7fa\",\n\t\"./bm.js\": \"a7fa\",\n\t\"./bn\": \"9043\",\n\t\"./bn-bd\": \"9686\",\n\t\"./bn-bd.js\": \"9686\",\n\t\"./bn.js\": \"9043\",\n\t\"./bo\": \"d26a\",\n\t\"./bo.js\": \"d26a\",\n\t\"./br\": \"6887\",\n\t\"./br.js\": \"6887\",\n\t\"./bs\": \"2554\",\n\t\"./bs.js\": \"2554\",\n\t\"./ca\": \"d716\",\n\t\"./ca.js\": \"d716\",\n\t\"./cs\": \"3c0d\",\n\t\"./cs.js\": \"3c0d\",\n\t\"./cv\": \"03ec\",\n\t\"./cv.js\": \"03ec\",\n\t\"./cy\": \"9797\",\n\t\"./cy.js\": \"9797\",\n\t\"./da\": \"0f14\",\n\t\"./da.js\": \"0f14\",\n\t\"./de\": \"b469\",\n\t\"./de-at\": \"b3eb\",\n\t\"./de-at.js\": \"b3eb\",\n\t\"./de-ch\": \"bb71\",\n\t\"./de-ch.js\": \"bb71\",\n\t\"./de.js\": \"b469\",\n\t\"./dv\": \"598a\",\n\t\"./dv.js\": \"598a\",\n\t\"./el\": \"8d47\",\n\t\"./el.js\": \"8d47\",\n\t\"./en-au\": \"0e6b\",\n\t\"./en-au.js\": \"0e6b\",\n\t\"./en-ca\": \"3886\",\n\t\"./en-ca.js\": \"3886\",\n\t\"./en-gb\": \"39a6\",\n\t\"./en-gb.js\": \"39a6\",\n\t\"./en-ie\": \"e1d3\",\n\t\"./en-ie.js\": \"e1d3\",\n\t\"./en-il\": \"7333\",\n\t\"./en-il.js\": \"7333\",\n\t\"./en-in\": \"ec2e\",\n\t\"./en-in.js\": \"ec2e\",\n\t\"./en-nz\": \"6f50\",\n\t\"./en-nz.js\": \"6f50\",\n\t\"./en-sg\": \"b7e9\",\n\t\"./en-sg.js\": \"b7e9\",\n\t\"./eo\": \"65db\",\n\t\"./eo.js\": \"65db\",\n\t\"./es\": \"898b\",\n\t\"./es-do\": \"0a3c\",\n\t\"./es-do.js\": \"0a3c\",\n\t\"./es-mx\": \"b5b7\",\n\t\"./es-mx.js\": \"b5b7\",\n\t\"./es-us\": \"55c9\",\n\t\"./es-us.js\": \"55c9\",\n\t\"./es.js\": \"898b\",\n\t\"./et\": \"ec18\",\n\t\"./et.js\": \"ec18\",\n\t\"./eu\": \"0ff2\",\n\t\"./eu.js\": \"0ff2\",\n\t\"./fa\": \"8df4\",\n\t\"./fa.js\": \"8df4\",\n\t\"./fi\": \"81e9\",\n\t\"./fi.js\": \"81e9\",\n\t\"./fil\": \"d69a\",\n\t\"./fil.js\": \"d69a\",\n\t\"./fo\": \"0721\",\n\t\"./fo.js\": \"0721\",\n\t\"./fr\": \"9f26\",\n\t\"./fr-ca\": \"d9f8\",\n\t\"./fr-ca.js\": \"d9f8\",\n\t\"./fr-ch\": \"0e49\",\n\t\"./fr-ch.js\": \"0e49\",\n\t\"./fr.js\": \"9f26\",\n\t\"./fy\": \"7118\",\n\t\"./fy.js\": \"7118\",\n\t\"./ga\": \"5120\",\n\t\"./ga.js\": \"5120\",\n\t\"./gd\": \"f6b4\",\n\t\"./gd.js\": \"f6b4\",\n\t\"./gl\": \"8840\",\n\t\"./gl.js\": \"8840\",\n\t\"./gom-deva\": \"aaf2\",\n\t\"./gom-deva.js\": \"aaf2\",\n\t\"./gom-latn\": \"0caa\",\n\t\"./gom-latn.js\": \"0caa\",\n\t\"./gu\": \"e0c5\",\n\t\"./gu.js\": \"e0c5\",\n\t\"./he\": \"c7aa\",\n\t\"./he.js\": \"c7aa\",\n\t\"./hi\": \"dc4d\",\n\t\"./hi.js\": \"dc4d\",\n\t\"./hr\": \"4ba9\",\n\t\"./hr.js\": \"4ba9\",\n\t\"./hu\": \"5b14\",\n\t\"./hu.js\": \"5b14\",\n\t\"./hy-am\": \"d6b6\",\n\t\"./hy-am.js\": \"d6b6\",\n\t\"./id\": \"5038\",\n\t\"./id.js\": \"5038\",\n\t\"./is\": \"0558\",\n\t\"./is.js\": \"0558\",\n\t\"./it\": \"6e98\",\n\t\"./it-ch\": \"6f12\",\n\t\"./it-ch.js\": \"6f12\",\n\t\"./it.js\": \"6e98\",\n\t\"./ja\": \"079e\",\n\t\"./ja.js\": \"079e\",\n\t\"./jv\": \"b540\",\n\t\"./jv.js\": \"b540\",\n\t\"./ka\": \"201b\",\n\t\"./ka.js\": \"201b\",\n\t\"./kk\": \"6d79\",\n\t\"./kk.js\": \"6d79\",\n\t\"./km\": \"e81d\",\n\t\"./km.js\": \"e81d\",\n\t\"./kn\": \"3e92\",\n\t\"./kn.js\": \"3e92\",\n\t\"./ko\": \"22f8\",\n\t\"./ko.js\": \"22f8\",\n\t\"./ku\": \"2421\",\n\t\"./ku.js\": \"2421\",\n\t\"./ky\": \"9609\",\n\t\"./ky.js\": \"9609\",\n\t\"./lb\": \"440c\",\n\t\"./lb.js\": \"440c\",\n\t\"./lo\": \"b29d\",\n\t\"./lo.js\": \"b29d\",\n\t\"./lt\": \"26f9\",\n\t\"./lt.js\": \"26f9\",\n\t\"./lv\": \"b97c\",\n\t\"./lv.js\": \"b97c\",\n\t\"./me\": \"293c\",\n\t\"./me.js\": \"293c\",\n\t\"./mi\": \"688b\",\n\t\"./mi.js\": \"688b\",\n\t\"./mk\": \"6909\",\n\t\"./mk.js\": \"6909\",\n\t\"./ml\": \"02fb\",\n\t\"./ml.js\": \"02fb\",\n\t\"./mn\": \"958b\",\n\t\"./mn.js\": \"958b\",\n\t\"./mr\": \"39bd\",\n\t\"./mr.js\": \"39bd\",\n\t\"./ms\": \"ebe4\",\n\t\"./ms-my\": \"6403\",\n\t\"./ms-my.js\": \"6403\",\n\t\"./ms.js\": \"ebe4\",\n\t\"./mt\": \"1b45\",\n\t\"./mt.js\": \"1b45\",\n\t\"./my\": \"8689\",\n\t\"./my.js\": \"8689\",\n\t\"./nb\": \"6ce3\",\n\t\"./nb.js\": \"6ce3\",\n\t\"./ne\": \"3a39\",\n\t\"./ne.js\": \"3a39\",\n\t\"./nl\": \"facd\",\n\t\"./nl-be\": \"db29\",\n\t\"./nl-be.js\": \"db29\",\n\t\"./nl.js\": \"facd\",\n\t\"./nn\": \"b84c\",\n\t\"./nn.js\": \"b84c\",\n\t\"./oc-lnc\": \"167b\",\n\t\"./oc-lnc.js\": \"167b\",\n\t\"./pa-in\": \"f3ff\",\n\t\"./pa-in.js\": \"f3ff\",\n\t\"./pl\": \"8d57\",\n\t\"./pl.js\": \"8d57\",\n\t\"./pt\": \"f260\",\n\t\"./pt-br\": \"d2d4\",\n\t\"./pt-br.js\": \"d2d4\",\n\t\"./pt.js\": \"f260\",\n\t\"./ro\": \"972c\",\n\t\"./ro.js\": \"972c\",\n\t\"./ru\": \"957c\",\n\t\"./ru.js\": \"957c\",\n\t\"./sd\": \"6784\",\n\t\"./sd.js\": \"6784\",\n\t\"./se\": \"ffff\",\n\t\"./se.js\": \"ffff\",\n\t\"./si\": \"eda5\",\n\t\"./si.js\": \"eda5\",\n\t\"./sk\": \"7be6\",\n\t\"./sk.js\": \"7be6\",\n\t\"./sl\": \"8155\",\n\t\"./sl.js\": \"8155\",\n\t\"./sq\": \"c8f3\",\n\t\"./sq.js\": \"c8f3\",\n\t\"./sr\": \"cf1e\",\n\t\"./sr-cyrl\": \"13e9\",\n\t\"./sr-cyrl.js\": \"13e9\",\n\t\"./sr.js\": \"cf1e\",\n\t\"./ss\": \"52bd\",\n\t\"./ss.js\": \"52bd\",\n\t\"./sv\": \"5fbd\",\n\t\"./sv.js\": \"5fbd\",\n\t\"./sw\": \"74dc\",\n\t\"./sw.js\": \"74dc\",\n\t\"./ta\": \"3de5\",\n\t\"./ta.js\": \"3de5\",\n\t\"./te\": \"5cbb\",\n\t\"./te.js\": \"5cbb\",\n\t\"./tet\": \"576c\",\n\t\"./tet.js\": \"576c\",\n\t\"./tg\": \"3b1b\",\n\t\"./tg.js\": \"3b1b\",\n\t\"./th\": \"10e8\",\n\t\"./th.js\": \"10e8\",\n\t\"./tk\": \"5aff\",\n\t\"./tk.js\": \"5aff\",\n\t\"./tl-ph\": \"0f38\",\n\t\"./tl-ph.js\": \"0f38\",\n\t\"./tlh\": \"cf75\",\n\t\"./tlh.js\": \"cf75\",\n\t\"./tr\": \"0e81\",\n\t\"./tr.js\": \"0e81\",\n\t\"./tzl\": \"cf51\",\n\t\"./tzl.js\": \"cf51\",\n\t\"./tzm\": \"c109\",\n\t\"./tzm-latn\": \"b53d\",\n\t\"./tzm-latn.js\": \"b53d\",\n\t\"./tzm.js\": \"c109\",\n\t\"./ug-cn\": \"6117\",\n\t\"./ug-cn.js\": \"6117\",\n\t\"./uk\": \"ada2\",\n\t\"./uk.js\": \"ada2\",\n\t\"./ur\": \"5294\",\n\t\"./ur.js\": \"5294\",\n\t\"./uz\": \"2e8c\",\n\t\"./uz-latn\": \"010e\",\n\t\"./uz-latn.js\": \"010e\",\n\t\"./uz.js\": \"2e8c\",\n\t\"./vi\": \"2921\",\n\t\"./vi.js\": \"2921\",\n\t\"./x-pseudo\": \"fd7e\",\n\t\"./x-pseudo.js\": \"fd7e\",\n\t\"./yo\": \"7f33\",\n\t\"./yo.js\": \"7f33\",\n\t\"./zh-cn\": \"5c3a\",\n\t\"./zh-cn.js\": \"5c3a\",\n\t\"./zh-hk\": \"49ab\",\n\t\"./zh-hk.js\": \"49ab\",\n\t\"./zh-mo\": \"3a6c\",\n\t\"./zh-mo.js\": \"3a6c\",\n\t\"./zh-tw\": \"90ea\",\n\t\"./zh-tw.js\": \"90ea\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"4678\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./GuppyChatSidebar.vue?vue&type=style&index=0&id=5c186318&scoped=true&lang=css&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./GuppyChatWhatsappUserList.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./GuppyChatTextMessage.vue?vue&type=style&index=0&lang=css&\"","import UserDefaultImage from \"./avatar.png\";\r\nexport const GUPPYCHAT_CONSTANTS = {\r\n AVATAR : UserDefaultImage,\r\n TODAY: \"Today\",\r\n YESTERDAY: \"Yesterday\",\r\n VIDEO_THUMBNAIL : window.wpguppy_scripts_vars.videoThumbnail\r\n}\r\nexport const GUPPYCHAT_SETTINGS = window.wpguppy_scripts_vars.chatSetting;\r\nexport const GUPPYCHAT_LOGOUT = window.wpguppy_scripts_vars.logoutUrl;\r\nexport const GUPPYCHAT_TRANSLATION = window.wpguppy_scripts_vars.chatSetting.translations;\r\nexport const GUPPYCHAT_SOCKET_ENDPOINT = window.wpguppy_scripts_vars.chatSetting.socketHost + ':' + window.wpguppy_scripts_vars.chatSetting.socketPort;\r\nexport const GUPPYCHAT_SOCKET_PORT = window.wpguppy_scripts_vars.chatSetting.socketPort; ","import dateFormat from \"dateformat\";\r\n\r\nimport { GUPPYCHAT_CONSTANTS,GUPPYCHAT_SETTINGS } from \"../resources/constants\"\r\nimport moment from \"moment\";\r\nimport Vue from 'vue';\r\nimport store from '../vuex/store.js';\r\nexport default class GuppyChatManager {\r\n userId = store.state.userId;\r\n static async updateUserStatus( data ) {\r\n try {\r\n let response = await Vue.axios.post('update-user-status', data);\r\n if(response.data.type ==\"success\"){\r\n let userData = JSON.parse(JSON.stringify(response.data.userData));\r\n if(data.statusType == 4 || data.statusType == 3){\r\n userData['senderUserName'] = store.state.userProfile.userName\r\n userData['senderUserAvatar'] = store.state.userProfile.userAvatar\r\n userData['receiverMuteNotification'] = data.muteNotification\r\n let payload = { userData }\r\n store.dispatch('triggerSocketEvents', {'event':'updateUser', payload});\r\n }\r\n }\r\n return response;\r\n } catch (error) {\r\n console.log(error);\r\n return error;\r\n }\r\n }\r\n\r\n static async sendGuppyInvite(data){\r\n try {\r\n let response = await Vue.axios.post('send-guppy-invite', data);\r\n if(response.data.type ==\"success\"){\r\n if( response.data.autoInvite \r\n && response.data.messagelistData \r\n && response.data.friendData \r\n && response.data.resendRequest ){\r\n store.commit('startChat', {friendData: response.data.friendData, messagelistData : response.data.messagelistData});\r\n }\r\n if(response.data.messagelistData && response.data.chatData){\r\n let messagelistData = JSON.parse(JSON.stringify(response.data.messagelistData));\r\n let chatData = JSON.parse(JSON.stringify(response.data.chatData));\r\n let userName = response.data.userName;\r\n let userAvatar = response.data.userAvatar;\r\n let chatType = response.data.chatData.chatType;\r\n let userId = 0;\r\n let payload = { chatData, messagelistData, userName, userAvatar, userId, chatType }\r\n store.dispatch('triggerSocketEvents', {'event':'sendMessage', payload});\r\n }\r\n }\r\n return response;\r\n } catch (error) {\r\n console.log(error);\r\n return error;\r\n }\r\n }\r\n static async getMessangerChatInfo(data){\r\n try {\r\n let response = await Vue.axios.get('get-messenger-chat-info?chatType='+data.chatType+'&chatId='+data.chatId+'&userId='+data.userId);\r\n return response;\r\n } catch (error) {\r\n console.log(error);\r\n return error;\r\n }\r\n }\r\n\r\n static getMessageTime(messageTimeStamp) {\r\n let dateTime = null;\r\n if( messageTimeStamp ){\r\n dateTime = dateFormat(new Date( messageTimeStamp * 1000), \"h:MM tt\");\r\n }\r\n return dateTime;\r\n }\r\n\r\n static getLongDateTime(timeStamp){\r\n let timestamp = null;\r\n const messageTimestamp = new Date( timeStamp * 1000);\r\n var currentMessageDate = moment(messageTimestamp); \r\n var today = moment().endOf('day');\r\n let dateDifference = today.diff(currentMessageDate, 'days');\r\n if(dateDifference == 0){\r\n timestamp = dateFormat(messageTimestamp, \"h:MM tt\");\r\n } else if( dateDifference == 1 ) {\r\n timestamp = GUPPYCHAT_CONSTANTS.YESTERDAY;\r\n } else if( dateDifference > 1 && dateDifference < 7) {\r\n timestamp = dateFormat(messageTimestamp, \"ddd\");\r\n } else {\r\n timestamp = new Date( timeStamp * 1000).toLocaleDateString();\r\n }\r\n return timestamp;\r\n }\r\n\r\n static updateSeenMessagesCounter(data){\r\n Vue.axios.post(\"update-guppy-message\",data).then((response) => {\r\n if( response.data.type == 'success'){\r\n if( [1,3].includes( Number(response.data.chatType) ) ){\r\n if(Object.keys(response.data.messageIds).length){\r\n let payload = {\r\n senderId : response.data.senderId,\r\n chatId : response.data.chatId,\r\n messageIds : response.data.messageIds,\r\n messageCounter : response.data.messageCounter,\r\n chatType : response.data.chatType\r\n }\r\n store.dispatch('triggerSocketEvents', {'event':'updateMsgStatus', payload});\r\n }\r\n }\r\n } else if( response.data.type == \"error\" ) {\r\n this.alertBox('error', this.TRANS.error_title, response.data.message_desc);\r\n } \r\n }).catch((errors) => {\r\n console.log(errors);\r\n });\r\n }\r\n \r\n static validateEmail(email) {\r\n const re = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;\r\n return re.test(email);\r\n }\r\n\r\n static messagesScrollList(scrollHeight = 0, chatId ) {\r\n Vue.nextTick(() => {\r\n let containerId= document.getElementById('message-wrap_' + chatId);\r\n if (containerId) {\r\n containerId.scrollTop = containerId.scrollHeight - scrollHeight;\r\n }\r\n });\r\n }\r\n\r\n static playNotificationBell(){\r\n let bellSrc = GUPPYCHAT_SETTINGS.notificationBellUrl;\r\n var audio = document.createElement(\"audio\");\r\n audio.autoplay = true;\r\n audio.load()\r\n audio.addEventListener(\"load\", ()=> { audio.play(); }, true);\r\n audio.src = bellSrc;\r\n }\r\n}\r\n","import { io } from 'socket.io-client';\r\nimport { GUPPYCHAT_SOCKET_ENDPOINT} from \"../resources/constants\";\r\nclass SocketioService {\r\n socket;\r\n constructor() {}\r\n\r\n // connect to socket server\r\n socketConnection(authToken) {\r\n let secureConnection = false;\r\n if (window.location.protocol === 'https:') { \r\n secureConnection = true;\r\n }\r\n this.socket = io(GUPPYCHAT_SOCKET_ENDPOINT, {\r\n auth: {\r\n token: authToken\r\n },\r\n secure: secureConnection,\r\n reconnect:true\r\n });\r\n return this.socket;\r\n }\r\n\r\n // connect user \r\n connectUser(userId){\r\n if(this.socket){\r\n this.socket.emit('addUser', { userId: userId } );\r\n }\r\n }\r\n \r\n // send message\r\n sendMessage(data){\r\n if(this.socket && this.socket.connected){\r\n this.socket.emit('receiverChatData' , data);\r\n this.socket.emit('senderChatData' , data );\r\n }\r\n }\r\n\r\n // update Message Status\r\n updateMsgStatus(data){\r\n if(this.socket && this.socket.connected){\r\n this.socket.emit('updateMsgStatus' , data);\r\n }\r\n }\r\n\r\n // update Message Status\r\n deleteMessage(data){\r\n if(this.socket && this.socket.connected){\r\n this.socket.emit('deleteSenderMessage' , data);\r\n this.socket.emit('deleteReceiverMessage' , data);\r\n }\r\n }\r\n\r\n // is typing\r\n isTyping(data){\r\n if(this.socket && this.socket.connected){\r\n this.socket.emit('isTyping' , data);\r\n }\r\n }\r\n\r\n // update user\r\n updateUser(data){\r\n if(this.socket && this.socket.connected){\r\n this.socket.emit('updateReceiverUser' , data);\r\n }\r\n if(this.socket && this.socket.connected){\r\n this.socket.emit('updateSenderUser' , data);\r\n }\r\n }\r\n\r\n // update mute notification status\r\n updateMuteChatNotify(data){\r\n if(this.socket && this.socket.connected){\r\n this.socket.emit('updateMuteChatNotify' , data);\r\n }\r\n }\r\n\r\n // clear Chat notification status\r\n clearChat(data){\r\n if(this.socket && this.socket.connected){\r\n this.socket.emit('clearChat' , data);\r\n }\r\n }\r\n}\r\n\r\nexport default new SocketioService();\r\n","import Vue from 'vue';\r\nimport store from '../vuex/store.js';\r\nimport jQuery from \"jquery\";\r\n\r\nclass RestApiManager {\r\n userId = window.wpguppy_scripts_vars.userId;\r\n recordLimit = Number(window.wpguppy_scripts_vars.showRec);\r\n async getConversation(offset, search, chatType){\r\n let userId = store.state.userId;\r\n try {\r\n return await Vue.axios.get( \"load-guppy-messages-list?userId=\"+userId+\"&offset=\" + offset + '&search='+ search + '&chatType=' + chatType);\r\n } catch(error){\r\n console.log(error);\r\n return error;\r\n }\r\n }\r\n\r\n async getUsersList(offset,search = '') {\r\n let userId = store.state.userId;\r\n try {\r\n return await Vue.axios.get(\"load-guppy-users?userId=\"+userId+\"&offset=\"+offset+'&search='+search)\r\n } catch(error){\r\n console.log(error);\r\n return error;\r\n }\r\n }\r\n async getFriendRequestsList(offset,search = '') {\r\n let userId = store.state.userId;\r\n try {\r\n return await Vue.axios.get(\"load-guppy-friend-requests?userId=\"+userId+\"&offset=\"+offset+'&search='+search)\r\n } catch(error){\r\n console.log(error);\r\n return error;\r\n }\r\n }\r\n async getContactList( offset, friendStatus, search = '' ) {\r\n let userId = store.state.userId;\r\n try {\r\n return await Vue.axios.get('load-guppy-contacts?userId='+userId+'&offset=' + offset + '&search=' + search+'&friendStatus=' + friendStatus)\r\n } catch(error){\r\n console.log(error);\r\n return error;\r\n }\r\n }\r\n\r\n async getWhatsappUserList( offset, search = '' ) {\r\n let userId = store.state.userId;\r\n try {\r\n return await Vue.axios.get('load-guppy-whatsapp-users?userId='+userId+'&offset=' + offset + '&search=' + search)\r\n } catch(error){\r\n console.log(error);\r\n return error;\r\n }\r\n }\r\n async getAdminSupportUserList( offset, search = '' ) {\r\n let userId = store.state.userId;\r\n let userType = Number(store.state.userType);\r\n try {\r\n return await Vue.axios.get('load-guppy-support-users?userId='+userId+'&offset=' + offset + '&userType='+userType+'&search=' + search)\r\n } catch(error){\r\n console.log(error);\r\n return error;\r\n }\r\n }\r\n async getAdminSupportUserChats( offset, search = '', isSupportMember ) {\r\n let userId = store.state.userId;\r\n let userType = Number(store.state.userType);\r\n try {\r\n return await Vue.axios.get('load-guppy-support-messages-list?userId='+userId+'&offset=' + offset + '&userType='+userType+'&search=' + search + '&isSupportMember=' + isSupportMember)\r\n } catch(error){\r\n console.log(error);\r\n return error;\r\n }\r\n }\r\n\r\n async sendMessage( data, chatId = '' ){\r\n jQuery('.at-replay_upload').removeClass('at-uploadoption_open');\r\n let userName = ''; \r\n let userAvatar = '';\r\n let chatInfo = new Object();\r\n if(store.state.isMessangerChat){\r\n chatInfo = {...store.state.chatInfo};\r\n } else {\r\n chatInfo = {...store.state.chatInfo[chatId]};\r\n }\r\n \r\n let muteNotification = chatInfo.muteNotification;\r\n if(chatInfo.chatType == 3 || chatInfo.chatType == 1){\r\n userName = chatInfo.userName;\r\n userAvatar = chatInfo.userAvatar;\r\n } \r\n try {\r\n let response = await Vue.axios.post('send-guppy-message', data);\r\n if( response.data.type == 'success' ){\r\n let chatResponce = JSON.parse(JSON.stringify(response.data.chatData));\r\n chatResponce[\"isSender\"] = true;\r\n store.commit(\"appendMessage\", chatResponce);\r\n let messagelistData = JSON.parse(JSON.stringify(response.data.messagelistData));\r\n let chatData = JSON.parse(JSON.stringify(response.data.chatData));\r\n let chatType = response.data.chatType;\r\n let userId = store.state.userId;\r\n \r\n let payload = { chatData, messagelistData, userName, userAvatar, userId, chatType, muteNotification }\r\n store.dispatch('triggerSocketEvents', {'event':'sendMessage', payload});\r\n }\r\n return response.data\r\n } catch( error ) {\r\n this.errors = error;\r\n return error;\r\n }\r\n }\r\n async pusherTypeIndicator(data) {\r\n try {\r\n return await Vue.axios.post(\"user-typing\", data)\r\n } catch(error){\r\n console.log(error);\r\n return error;\r\n }\r\n }\r\n getUnReadMessages(){\r\n let userId = store.state.userId;\r\n let userType = Number(store.state.userType);\r\n let isSupportMember = store.state.isSupportMember;\r\n Vue.axios.get('load-unread-count?userId='+userId+'&userType='+userType+'&isSupportMember='+isSupportMember).then(response=>{\r\n store.commit('unseenCountMessage', response.data.unReadContent);\r\n }).catch(error=>{\r\n console.log(error);\r\n });\r\n }\r\n async muteNotification(data){\r\n let userId = store.state.userId;\r\n try {\r\n let response = await Vue.axios.post( \"mute-guppy-notifications\", data );\r\n if( response.data.type == 'success'){\r\n let payload = {\r\n muteType : data.muteType,\r\n chatType : data.chatType,\r\n chatId : data.chatId,\r\n isMute : ( response.data.muteAll == '1') ? true : false,\r\n userId\r\n };\r\n store.commit('updateMuteChatNotify', payload);\r\n store.dispatch('triggerSocketEvents', {'event':'updateMuteChatNotify', payload});\r\n }\r\n return response;\r\n } catch(error){\r\n console.log(error);\r\n return error;\r\n }\r\n }\r\n\r\n getProfileInfo(){\r\n let userId = store.state.userId;\r\n let userType = Number(store.state.userType);\r\n Vue.axios.get('load-profile-info?userId='+userId+'&userType='+userType).then( response =>{\r\n if(response.data.type == 'success'){\r\n let payload = {\r\n userInfo: response.data.userInfo,\r\n }\r\n if(response.data.onlineFriendslist){\r\n payload.onlineFriendslist = response.data.onlineFriendslist;\r\n }\r\n store.commit('setUserProfile', payload);\r\n } else if( response.data.type == \"error\" ) {\r\n // this.alertBox('error', this.TRANS.error_title, response.data.message_desc);\r\n }\r\n }).catch( errors =>{\r\n console.log(errors)\r\n });\r\n }\r\n \r\n getGuestUserInfo(){\r\n let accountInfo = '';\r\n var pair = document.cookie.split('; ').find(x => x.startsWith('guppy_guest_account='));\r\n if (pair) {\r\n accountInfo = pair.split('=')[1];\r\n }\r\n\r\n if ( accountInfo ){\r\n let data = decodeURIComponent(accountInfo).split('|');\r\n let userInfo = {\r\n muteNotification : false,\r\n userAvatar : '',\r\n userEmail : '',\r\n userId : data[1],\r\n userName : data[0],\r\n userPhone : ''\r\n }\r\n store.commit('setUserProfile', { userInfo });\r\n }\r\n }\r\n}\r\n\r\nexport default new RestApiManager;","import Vue from 'vue';\r\nimport Vuex from 'vuex';\r\nimport Pusher from 'pusher-js';\r\nimport jQuery from \"jquery\";\r\nimport GuppyChatManager from \"../resources/controller\";\r\nimport SocketioService from '../services/socketio.service';\r\nimport { GUPPYCHAT_CONSTANTS } from \"../resources/constants\";\r\nimport RestApiManager from \"../resources/RestApiController\";\r\n\r\nimport dateFormat from \"dateformat\";\r\nimport moment from \"moment\";\r\n\r\nimport { GUPPYCHAT_SETTINGS } from \"../resources/constants\";\r\nVue.use(Vuex)\r\n\r\nvar canType = true;\r\nvar throttleTime = 1500;\r\n\r\nexport default new Vuex.Store({\r\n state: {\r\n chatInfo : {},\r\n // admin support user list properties\r\n adminSupportUserListFlag : false,\r\n adminSupportUserListOffset: 0,\r\n noMoreAdminSupportUsers : false,\r\n adminSupportUserSearch : '',\r\n adminSupportUserList : {},\r\n // admin support chat list properties\r\n adminSupportChatsFlag : false,\r\n adminSupportChatsOffset : 0,\r\n noMoreAdminSupportChats : false,\r\n adminSupportChatsSearch : '',\r\n adminSupportChats : {},\r\n adminSupportChatCount : 0,\r\n \r\n // private chat properties\r\n privateChatOffset : 0,\r\n noMorePrivateChat : false,\r\n privateConvFlag : false,\r\n privateChatSearch : '',\r\n privateConversation : {},\r\n privateChatCount : 0,\r\n\r\n // contacts list properties\r\n contactListFlag : false,\r\n contactListOffset \t : 0,\r\n noMoreContactUsers : false,\r\n contactUserSearch : '',\r\n contactList : {},\r\n\r\n // requests list properties\r\n requestListFlag : false,\r\n requestListOffset \t : 0,\r\n noMoreRequesttUsers : false,\r\n requestUserSearch : '',\r\n requestList : {},\r\n requestCount : 0,\r\n\r\n // friend list properties\r\n friendListFlag : false,\r\n friendListOffset \t : 0,\r\n noMoreFriendUsers : false,\r\n friendUserSearch : '',\r\n friendList : {},\r\n\r\n // Block user list properties\r\n blockListFlag : false,\r\n blockListOffset \t : 0,\r\n noMoreBlockUsers : false,\r\n blockUserSearch : '',\r\n blockList : {},\r\n // Whatsapp list properties\r\n whatsappListFlag : false,\r\n whatsappListOffset \t : 0,\r\n noMoreWhatsappUsers : false,\r\n whatsappUserSearch : '',\r\n whatsappList : {},\r\n\r\n windowWidth : 0,\r\n userId : window.wpguppy_scripts_vars.userId, // current loggedin user id\r\n userType : window.wpguppy_scripts_vars.userType,\r\n isSupportMember : window.wpguppy_scripts_vars.isSupportMember,\r\n FriendsOffset \t\t : 0,\r\n BlocksOffset \t\t : 0,\r\n isScrollList \t\t : false,\r\n pusher \t\t : false,\r\n noMoreFriends : false,\r\n invitationResp : false,\r\n ReceiveInvitation : false,\r\n userFriendFlag : false,\r\n userBlockFlag : false,\r\n autoInvite : true,\r\n isEmptyView : true,\r\n isOpenMessagesScr : false,\r\n isMessangerChat : false,\r\n isWhatsappChat : false, \r\n isMobileView : false, \r\n userResponseData : '',\r\n unseenMsgCount : '',\r\n userProfile : '',\r\n quoteMessageId \t\t : {},\r\n widgetChatMessageInput : {},\r\n messageInput : '',\r\n friendSearch : '',\r\n activeTab : 'users',\r\n messagesList : {},\r\n selectedChatId : '',\r\n isfloatingChat : false\r\n },\r\n getters: {\r\n // put sychronous functions for changing state e.g. add, edit, delete\r\n getTotalUnreadCount: (state) => {\r\n let privateCount = state.privateChatCount\r\n let adminSupportChatCount = state.adminSupportChatCount;\r\n let requestCount = state.requestCount;\r\n return Number(privateCount) + Number(adminSupportChatCount) + Number(requestCount);\r\n },\r\n getMessageInput : ( state ) => ( chatId ) => {\r\n if(state.isMessangerChat){\r\n return state.messageInput\r\n } else if( chatId ){\r\n return state.widgetChatMessageInput[chatId]\r\n }\r\n },\r\n typingUsersIndicatorText : ( state ) => ( chatId ) => {\r\n let chatInfo = '';\r\n if(state.isMessangerChat){\r\n chatInfo = state.chatInfo\r\n } else if( chatId ){\r\n chatInfo = state.chatInfo[chatId];\r\n }\r\n\r\n let existKey = 'typingUsers' in chatInfo\r\n let indicator = '', typingUsers = '', tUsers = 0;\r\n if(existKey){\r\n let users = chatInfo.typingUsers;\r\n tUsers = users.length;\r\n if( tUsers ){\r\n let selectUsers = users.slice(0,3);\r\n \r\n if( tUsers == 1 ){\r\n indicator = 'isTypingText';\r\n typingUsers = selectUsers[0];\r\n } else if( tUsers == 2 || tUsers == 3 ){\r\n indicator = 'areTypingText';\r\n typingUsers = selectUsers.join(', ');\r\n } else {\r\n indicator = 'moreTypingText';\r\n typingUsers = selectUsers.join(', ');\r\n }\r\n }\r\n }\r\n return { indicator, typingUsers , tUsers};\r\n },\r\n isDisabledFooter : ( state ) => ( chatId ) => {\r\n let chatInfoId = '';\r\n if(state.isMessangerChat){\r\n chatInfoId = state.chatInfo.chatId\r\n } else if( chatId ){\r\n chatInfoId = chatId;\r\n }\r\n if ( state.messagesList[chatInfoId] ) {\r\n let message = state.messagesList[chatInfoId].messages.at(-1);\r\n if (message) {\r\n return message.messageType == 5;\r\n }\r\n }\r\n return false;\r\n },\r\n loadChat : ( state ) => ( chatId = '' ) => {\r\n if(state.isMessangerChat){\r\n if(state.messagesList[state.chatInfo.chatId]){\r\n return state.messagesList[state.chatInfo.chatId].loadChat;\r\n }\r\n } else if ( chatId && state.messagesList[chatId] ) {\r\n return state.messagesList[chatId].loadChat;\r\n }\r\n return true;\r\n },\r\n messageLoading : ( state ) => ( chatId = '' ) => {\r\n if(state.isMessangerChat){\r\n if(state.messagesList[state.chatInfo.chatId]){\r\n return state.messagesList[state.chatInfo.chatId].messagesLoading;\r\n }\r\n } else if ( chatId && state.messagesList[chatId] ) {\r\n return state.messagesList[chatId].messagesLoading;\r\n }\r\n return false;\r\n },\r\n widgetChats : state => {\r\n if(!state.isMessangerChat){\r\n return Object.values(state.chatInfo).filter(chat => chat.isMinimize === false);\r\n }\r\n return [];\r\n },\r\n minimizeChats : state => {\r\n if(!state.isMessangerChat){\r\n return Object.values(state.chatInfo).reverse().filter(chat => chat.isMinimize === true);\r\n }\r\n return [];\r\n },\r\n getQuoteMessage : (state) => ( chatKey = '') => {\r\n let chatId = ''\r\n if(state.isMessangerChat){\r\n chatId = state.chatInfo.chatId\r\n } else {\r\n chatId = chatKey;\r\n }\r\n let quoteMsgId = state.quoteMessageId[chatId];\r\n if(quoteMsgId){\r\n let messagesList = state.messagesList[chatId];\r\n if(messagesList){\r\n return messagesList.messages.find((message) => message.messageId == quoteMsgId);\r\n }\r\n }\r\n return ''\r\n },\r\n getQuoteMessageId : (state) => ( chatKey = '') => {\r\n let chatId = ''\r\n if(state.isMessangerChat){\r\n chatId = state.chatInfo.chatId\r\n } else {\r\n chatId = chatKey;\r\n }\r\n return state.quoteMessageId[chatId];\r\n \r\n },\r\n muteChatNotify: (state) => ( infoKey = '') => { // infoKey requeired when wiget chat is on\r\n if(state.isMessangerChat){\r\n return state.chatInfo.muteNotification\r\n }else{\r\n let chatInformation = {...state.chatInfo[infoKey]};\r\n if(chatInformation){\r\n return chatInformation.muteNotification;\r\n }\r\n }\r\n return false;\r\n },\r\n messagesListData : ( state) => (chatKey = '') => {\r\n let cDate = null;\r\n let chatId = ''\r\n if(state.isMessangerChat){\r\n chatId = state.chatInfo.chatId\r\n } else {\r\n chatId = chatKey;\r\n }\r\n if ( state.messagesList[chatId] ) {\r\n return state.messagesList[chatId].messages.map(\r\n (message) => {\r\n const messageSentDate = new Date(message.timeStamp * 1000).toLocaleDateString();\r\n if (cDate !== messageSentDate) {\r\n var currentMessageDate = moment(new Date(message.timeStamp * 1000));\r\n var today = moment().endOf(\"day\");\r\n let dateDifference = today.diff(currentMessageDate, \"days\");\r\n\r\n if (dateDifference == 0) {\r\n message.messageSentDate = GUPPYCHAT_CONSTANTS.TODAY;\r\n } else if (dateDifference == 1) {\r\n message.messageSentDate = GUPPYCHAT_CONSTANTS.YESTERDAY;\r\n } else if (dateDifference > 1 && dateDifference < 7) {\r\n message.messageSentDate = dateFormat(new Date(message.timeStamp * 1000), \"dddd\");\r\n } else {\r\n message.messageSentDate = dateFormat(new Date(message.timeStamp * 1000),\"dddd, mmm d, yyyy\");\r\n }\r\n } else {\r\n message.messageSentDate = \"\";\r\n }\r\n cDate = messageSentDate;\r\n message['chatId'] = chatId;\r\n return message;\r\n }\r\n );\r\n } else {\r\n return [];\r\n }\r\n },\r\n getChatInfo : (state) => ( chatId = '') => {\r\n let chatInfo = {}\r\n if(state.isMessangerChat){\r\n chatInfo = state.chatInfo;\r\n } else if( chatId ){\r\n chatInfo = state.chatInfo[chatId];\r\n } else if( state.selectedChatId ){ // for popUps\r\n chatInfo = state.chatInfo[state.selectedChatId];\r\n }\r\n if(chatInfo){\r\n return chatInfo\r\n } else {\r\n return {}\r\n }\r\n },\r\n chatInfoData : (state) => ( chatId = null ) => {\r\n if( state.isMessangerChat){\r\n return state.chatInfo;\r\n } else if(chatId) {\r\n return state.chatInfo[chatId];\r\n }\r\n return {}\r\n },\r\n },\r\n mutations: {\r\n removeChatInfo( state, payload ){\r\n Vue.delete(state.chatInfo, payload.chatId);\r\n },\r\n refreshSupportChats(state){\r\n Vue.set(state, 'adminSupportChatsFlag', false );\r\n Vue.set(state, 'adminSupportChatsOffset', 0);\r\n Vue.set(state, 'noMoreAdminSupportChats', false );\r\n Vue.set(state, 'adminSupportChatsSearch', '' );\r\n Vue.set(state, 'adminSupportChats', {} );\r\n Vue.set(state, 'adminSupportChatCount', 0 );\r\n },\r\n updateUserInfo( state, payload ){\r\n if('userId' in payload){\r\n Vue.set(state, 'userId', payload.userId);\r\n }\r\n if('userType' in payload){\r\n Vue.set(state, 'userType', payload.userType);\r\n }\r\n if('isSupportMember' in payload){\r\n Vue.set(state, 'isSupportMember', payload.isSupportMember);\r\n }\r\n },\r\n removeContactListItem( state, payload){\r\n Vue.delete(state.contactList, payload.chatId);\r\n },\r\n updateWidgetType( state, payload){\r\n if( 'isMessangerChat' in payload ) {\r\n state.isMessangerChat = payload.isMessangerChat;\r\n if(state.isMobileView){\r\n state.chatInfo = new Object();\r\n }\r\n }\r\n \r\n if('isWhatsappChat' in payload){\r\n state.isWhatsappChat = payload.isWhatsappChat;\r\n }\r\n \r\n if( 'isMobileView' in payload ) {\r\n state.isMobileView = payload.isMobileView;\r\n }\r\n if( 'isfloatingChat' in payload ) {\r\n state.isfloatingChat = payload.isfloatingChat;\r\n }\r\n \r\n },\r\n updateChatInfo( state, payload ){\r\n if(Object.keys(payload).length == 0){\r\n Vue.set(state, 'chatInfo', {});\r\n Vue.set(state, 'widgetChatMessageInput', {});\r\n Vue.set(state, 'messageInput', '');\r\n } else {\r\n if( state.isMessangerChat ){\r\n Vue.set(state, 'chatInfo', payload.data);\r\n }else if( payload.userClick && state.isWhatsappChat){\r\n let infoData = new Object();\r\n infoData['00_4'] = payload.data;\r\n Vue.set(state, 'chatInfo', infoData);\r\n Vue.delete(state.widgetChatMessageInput, '00_4')\r\n }else{\r\n if( state.chatInfo['00_4'] && payload.userClick){\r\n Vue.delete(state.chatInfo, '00_4');\r\n }\r\n Vue.delete(state.widgetChatMessageInput, '00_4')\r\n let windowWidth = state.windowWidth;\r\n let totalWindows = 3;\r\n if(windowWidth < 1141){\r\n totalWindows = 1;\r\n }else if(windowWidth < 1601){\r\n totalWindows = 2;\r\n } \r\n let chatId = payload.data.chatId;\r\n let recExist = false;\r\n let userClick = false;\r\n if(Object.prototype.hasOwnProperty.call(state.chatInfo, chatId ) ){\r\n recExist = true;\r\n }\r\n if(payload.userClick){\r\n userClick = true;\r\n }\r\n let openChatWindows = Object.values(state.chatInfo).filter(chat => chat.isMinimize == false);\r\n if(openChatWindows.length == totalWindows){\r\n if(userClick){\r\n if(!recExist){\r\n Vue.set( state.chatInfo[openChatWindows[0].chatId],'isMinimize', true);\r\n payload.data['isMinimize'] = false;\r\n Vue.set(state.chatInfo, chatId, payload.data);\r\n }else{\r\n let recIndex = openChatWindows.findIndex( (chat => chat.chatId == chatId) );\r\n if(recIndex == -1){\r\n let record = {};\r\n record = state.chatInfo[chatId];\r\n record.isMinimize = false;\r\n Vue.delete(state.chatInfo, chatId);\r\n Vue.set(state.chatInfo, chatId, record);\r\n Vue.set( state.chatInfo[openChatWindows[0].chatId],'isMinimize', true);\r\n }\r\n }\r\n }else{\r\n payload.data['isMinimize'] = !recExist ? true : false;\r\n Vue.set(state.chatInfo, chatId, payload.data);\r\n }\r\n }else{\r\n if(userClick){\r\n if(recExist){\r\n let record = {};\r\n record = state.chatInfo[chatId];\r\n record.isMinimize = false;\r\n // Vue.delete(state.chatInfo, chatId);\r\n Vue.set(state.chatInfo, chatId, record);\r\n }else{\r\n payload.data['isMinimize'] = false;\r\n Vue.set(state.chatInfo, chatId, payload.data);\r\n }\r\n }else{\r\n if(recExist){\r\n let recIndex = openChatWindows.findIndex( (chat => chat.chatId == chatId) );\r\n let isMinimize = true;\r\n if(recIndex != -1){\r\n isMinimize = false;\r\n }\r\n payload.data['isMinimize'] = isMinimize;\r\n Vue.set(state.chatInfo, chatId, payload.data);\r\n }else{\r\n payload.data['isMinimize'] = true;\r\n Vue.set(state.chatInfo, chatId, payload.data);\r\n }\r\n } \r\n }\r\n }\r\n }\r\n },\r\n unseenCountMessage( state, payload ){\r\n state.privateChatCount = Number(payload.privateChatCount);\r\n state.adminSupportChatCount = Number(payload.supportbaseChatCount);\r\n state.requestCount = Number(payload.requestCount);\r\n },\r\n updateTabListRecord(state, payload){\r\n if( Object.keys(state[payload.listType]).length && payload.isScrolling){\r\n let data = {...state[payload.listType], ...payload.list}\r\n Vue.set(state, payload.listType, data)\r\n } else {\r\n Vue.set(state, payload.listType, payload.list)\r\n }\r\n \r\n },\r\n selectTab( state, payload ){\r\n let enableTabs = [...GUPPYCHAT_SETTINGS.enabledTabs,'profile'];\r\n if( enableTabs.includes(payload) ) {\r\n state.activeTab = payload;\r\n }\r\n },\r\n startChat( state, payload){\r\n let friendData = payload.friendData;\r\n let messagelistData = payload.messagelistData;\r\n let chatId = friendData.chatId;\r\n Vue.delete(state.contactList, chatId);\r\n \r\n let conversationData = {\r\n ...friendData,\r\n 'isSender' : true,\r\n 'message' : messagelistData.message,\r\n 'isStartChat' : messagelistData.isStartChat,\r\n 'blockedId' : messagelistData.blockedId,\r\n 'messageId' : messagelistData.messageId,\r\n 'messageStatus' : messagelistData.messageStatus,\r\n 'messageType' : messagelistData.messageType,\r\n 'muteNotification' : false,\r\n 'timeStamp' : messagelistData.timeStamp,\r\n 'isMinimize' : false,\r\n }\r\n \r\n state.activeTab = \"messages\"; \r\n \r\n if(!Object.prototype.hasOwnProperty.call(state.friendList, chatId ) && !friendData.isBlocked){\r\n const updateRecord = Object.assign({ chatId: friendData}, state.friendList);\r\n Vue.set(state, 'friendList', updateRecord );\r\n }\r\n \r\n if(!Object.prototype.hasOwnProperty.call(state.privateConversation, chatId ) ){\r\n const updatedConversation = Object.assign({ chatId: conversationData}, state.privateConversation);\r\n Vue.set(state, 'privateConversation', updatedConversation) \r\n }\r\n \r\n if(state.isMessangerChat){\r\n Vue.set(state, 'chatInfo', conversationData);\r\n } else {\r\n Vue.set(state.chatInfo, chatId, conversationData);\r\n }\r\n \r\n jQuery('.at-chat').addClass('at-opnchatbox');\r\n },\r\n updateConversationMessage(state, payload){\r\n let chatId = payload.chatId;\r\n let chatType = payload.chatType;\r\n let listType = '';\r\n if(chatType == 1){\r\n listType = ['privateConversation', 'friendList'];\r\n } else if ( chatType == 3 ){\r\n listType = [ 'adminSupportUserList', 'adminSupportChats'];\r\n }\r\n \r\n if(payload.messageId){ // for delete message\r\n listType.forEach( type => {\r\n if(Object.prototype.hasOwnProperty.call(state[type], chatId ) && state[type][chatId].messageId == payload.messageId){\r\n state[type][chatId].messageStatus = 2;\r\n }\r\n })\r\n\r\n }else if(payload.messagelistData){\r\n let data = JSON.parse(JSON.stringify(payload.messagelistData));\r\n data['clearChat'] = false;\r\n let unReadCount = 0;\r\n listType.forEach( type => {\r\n if( Object.prototype.hasOwnProperty.call(state[type], chatId ) ){\r\n Vue.delete(state[type], chatId);\r\n }\r\n })\r\n if(state.isMessangerChat){ // for messanger base chat\r\n if(Object.keys(state.chatInfo).length === 0 || (state.chatInfo.chatId != chatId || state.chatInfo.chatType != chatType) ){\r\n unReadCount = data.UnreadCount;\r\n }\r\n if(data.isStartChat){\r\n Vue.set(state, 'chatInfo', data);\r\n jQuery('.at-chat').addClass('at-opnchatbox');\r\n }\r\n }else{\r\n let openChatWindow = Object.values(state.chatInfo).filter(chat => chat.isMinimize == false && chat.chatId == chatId).length;\r\n if(openChatWindow == 0){\r\n unReadCount = data.UnreadCount;\r\n }\r\n let userClick = false; \r\n if(data.isStartChat){\r\n userClick = true;\r\n }\r\n if(!state.isMobileView){\r\n this.commit(\"updateChatInfo\", { data, userClick });\r\n }\r\n }\r\n \r\n if(Number( unReadCount ) > 0 ){\r\n if(data.chatType == 1){\r\n let counter = Number( state.privateChatCount ) + 1;\r\n Vue.set(state, 'privateChatCount', counter);\r\n } else if(data.chatType == 3){\r\n let counter = Number( state.adminSupportChatCount ) + 1;\r\n Vue.set(state, 'adminSupportChatCount', counter);\r\n }\r\n }\r\n \r\n data.UnreadCount = unReadCount;\r\n let record = new Object();\r\n record[chatId] = data;\r\n listType.forEach( type => {\r\n let newConvList = {...record, ...state[type]};\r\n Vue.set(state, type, newConvList); \r\n });\r\n }\r\n },\r\n updateWindowWidth(state, payload){\r\n state.windowWidth = payload.windowWidth;\r\n },\r\n updateSelectedChatId(state, payload){\r\n Vue.set( state, 'selectedChatId', payload.chatId )\r\n },\r\n closeWidgetChatbox( state, payload ){\r\n Vue.delete(state.widgetChatMessageInput, payload.chatId)\r\n Vue.delete(state.chatInfo, payload.chatId);\r\n Vue.delete(state.quoteMessageId, payload.chatId);\r\n },\r\n minimizeWidgetChatbox( state, payload ){\r\n let chatId = payload.chatId;\r\n if(payload.isMinimize){\r\n let record = { ...state.chatInfo[chatId] }\r\n record.isMinimize = true;\r\n Vue.delete(state.widgetChatMessageInput, chatId)\r\n Vue.delete(state.chatInfo, chatId);\r\n Vue.set(state.chatInfo, chatId, record )\r\n }else{\r\n let windowWidth = state.windowWidth;\r\n let totalWindows = 3;\r\n if(windowWidth < 1141){\r\n totalWindows = 1;\r\n }else if(windowWidth < 1601){\r\n totalWindows = 2;\r\n } \r\n let openChatWindows = Object.values(state.chatInfo).filter(chat => chat.isMinimize == false);\r\n if(openChatWindows.length == totalWindows){\r\n Vue.set( state.chatInfo[openChatWindows[0].chatId],'isMinimize', true); \r\n }\r\n if(state.chatInfo[chatId].UnreadCount > 0){\r\n let userId = state.userId;\r\n let data = {\r\n chatId,\r\n chatType : state.chatInfo[chatId].chatType,\r\n userId\r\n }\r\n GuppyChatManager.updateSeenMessagesCounter(data);\r\n }\r\n let record = { ...state.chatInfo[chatId] }\r\n record.isMinimize = false;\r\n Vue.delete(state.chatInfo, chatId);\r\n Vue.set(state.chatInfo, chatId, record );\r\n }\r\n },\r\n updateQuoteMessageId(state, payload){\r\n Vue.set(state.quoteMessageId,payload.chatId, payload.messageId)\r\n },\r\n removeQuote(state, payload){\r\n Vue.delete(state.quoteMessageId,payload.chatId)\r\n }, \r\n updateMessageInput(state, payload){\r\n if(state.isMessangerChat){\r\n Vue.set(state, 'messageInput', payload.text);\r\n } else if(payload.chatId) {\r\n Vue.set(state.widgetChatMessageInput, payload.chatId, payload.text);\r\n }\r\n },\r\n updateSearch( state, payload){\r\n state[payload.search] = payload.searchValue;\r\n },\r\n updateRecordList( state, payload){\r\n state[payload.RecordList] = payload.RecordListValue;\r\n },\r\n // update the offset of list tabs\r\n updateOffset( state, payload){\r\n state[payload.offset] = payload.offsetValue;\r\n },\r\n //update flag the first time load tab data\r\n updateListFlag( state, payload){\r\n state[payload.flag] = payload.flagValue;\r\n },\r\n // Reject the invitation\r\n declineInvite(state, payload ){\r\n Vue.delete(state.requestList, payload.chatId);\r\n Vue.set(state.contactList, payload.chatId, payload)\r\n },\r\n blockUser( state, payload ){\r\n Vue.delete(state.requestList, payload.chatId)\r\n Vue.set(state.blockList, payload.chatId, payload);\r\n },\r\n acceptInvite( state, payload ){\r\n let chatId = payload.chatId;\r\n Vue.delete(state.requestList, chatId);\r\n Vue.set(state.friendList, chatId, payload );\r\n if(state.isMessangerChat){\r\n Vue.set(state, 'chatInfo', payload);\r\n } else {\r\n payload['isMinimize'] = false;\r\n Vue.set(state.chatInfo, chatId, payload)\r\n }\r\n state.isEmptyView = false;\r\n state.isOpenMessagesScr = true;\r\n },\r\n toggleMessagesScr( state, payload ){\r\n state.isEmptyView = payload.isEmptyView;\r\n state.isOpenMessagesScr = payload.isOpenMessagesScr;\r\n },\r\n UpdateMessageList( state, payload ){\r\n let chatId = payload.chatId;\r\n let data = {\r\n messages : payload.messages,\r\n loadChat : payload.loadChat,\r\n messagesLoading : false,\r\n }\r\n\r\n let scrollTop = false;\r\n if( Object.prototype.hasOwnProperty.call(state.messagesList, chatId ) ) {\r\n state.messagesList[chatId].messages = data.messages;\r\n state.messagesList[chatId].loadChat = data.loadChat;\r\n state.messagesList[chatId].messagesLoading = false;\r\n scrollTop = true;\r\n } else {\r\n Vue.set(state.messagesList, chatId, data )\r\n } \r\n \r\n if(scrollTop){ //top\r\n GuppyChatManager.messagesScrollList( payload.lastScrollTop, payload.chatId);\r\n }else{ //bottom\r\n GuppyChatManager.messagesScrollList( 0, payload.chatId);\r\n }\r\n },\r\n userResponse( state, payload ){\r\n state.userResponseData = payload;\r\n state.isEmptyView = false;\r\n state.isOpenMessagesScr = false;\r\n },\r\n UpdateSelectUserStatus( state, payload ){\r\n if(payload.chatType == 1 ){\r\n if( payload.chatId in state.privateConversation ){\r\n Vue.set(state.privateConversation[payload.chatId], 'isBlocked' , payload.isBlocked);\r\n }\r\n if( payload.isBlocked ){\r\n if(payload.chatId in state.friendList ){\r\n Vue.delete(state.friendList, payload.chatId)\r\n }\r\n\r\n if( !Object.prototype.hasOwnProperty.call(state.blockList, payload.chatId ) ){\r\n Vue.set(state.blockList, payload.chatId, payload);\r\n }\r\n }else{\r\n if( Object.prototype.hasOwnProperty.call(state.blockList, payload.chatId ) ){\r\n Vue.delete(state.blockList, payload.chatId);\r\n }\r\n if( payload.friendStatus == 1){\r\n Vue.set(state.friendList, payload.chatId, payload)\r\n }else{\r\n if( !Object.prototype.hasOwnProperty.call(state.contactList, payload.chatId ) ){\r\n Vue.set(state.contactList, payload.chatId, payload)\r\n }\r\n }\r\n }\r\n }\r\n let blockedId = payload.chatId.split('_');\r\n blockedId = payload.chatType == 1 ? blockedId[0] : blockedId[1];\r\n if(state.isMessangerChat){\r\n if( state.chatInfo.chatType == 1 ){ // this only private case\r\n state.chatInfo = payload\r\n }\r\n } else {\r\n if(payload.chatId in state.chatInfo ){\r\n payload['isMinimize'] = false;\r\n let chatInfoData = state.chatInfo[payload.chatId]\r\n if(chatInfoData){\r\n chatInfoData['blockedId'] = blockedId\r\n chatInfoData['blockerId'] = payload.blockerId\r\n chatInfoData['clearChat'] = payload.clearChat\r\n chatInfoData['isBlocked'] = payload.isBlocked\r\n chatInfoData['isOnline'] = payload.isOnline\r\n Vue.set(state.chatInfo, payload.chatId, chatInfoData);\r\n }\r\n }\r\n }\r\n },\r\n setUserProfile( state, payload ){\r\n state.userProfile = payload.userInfo;\r\n },\r\n receiveMessage(state, payload){\r\n let chatId = payload.chatId;\r\n let chatType = payload.chatData.chatType;\r\n let isSender = payload.chatData.isSender;\r\n let listType = '';\r\n if(chatType == 1){\r\n listType = 'privateConversation';\r\n } else if ( chatType == 3 ) {\r\n listType = 'adminSupportChats';\r\n }\r\n\r\n if( Object.prototype.hasOwnProperty.call(state[listType], chatId ) ){\r\n let isMute = state[listType][chatId].muteNotification;\r\n if(!state.userProfile.muteNotification && !isMute && !isSender){\r\n GuppyChatManager.playNotificationBell();\r\n }\r\n }\r\n if(state.messagesList[chatId]){\r\n let messageIndex = state.messagesList[chatId].messages.findIndex( (message => message.messageId == payload.chatData.messageId) );\r\n let randNumber = payload.chatData.metaData.randNum;\r\n let randNumberIndex = state.messagesList[chatId].messages.findIndex( \r\n (message => {\r\n if(message.metaData){\r\n return message.metaData.randNum == randNumber\r\n } else {\r\n return false;\r\n }\r\n }) \r\n );\r\n if(messageIndex == -1 && randNumberIndex == -1){\r\n state.messagesList[chatId].messages.push(payload.chatData);\r\n }\r\n if(jQuery('#message-wrap_'+chatId).length){\r\n jQuery('#message-wrap_'+chatId).animate({ scrollTop: jQuery('#message-wrap_'+chatId)[0].scrollHeight}, 800);\r\n }\r\n }\r\n if(state.isMessangerChat){ \r\n if(state.chatInfo.chatId == payload.chatId && state.chatInfo.chatType == payload.chatData.chatType && !isSender){\r\n let userId = state.userId;\r\n let data = {\r\n chatId : state.chatInfo.chatId,\r\n chatType : payload.chatData.chatType,\r\n userId\r\n }\r\n GuppyChatManager.updateSeenMessagesCounter(data);\r\n }\r\n }else{\r\n let openChatWindow = Object.values(state.chatInfo).filter(chat => chat.isMinimize == false && chat.chatId == chatId).length;\r\n if(openChatWindow != 0 && !isSender){\r\n let userId = state.userId;\r\n let data = {\r\n chatId : state.chatInfo[chatId].chatId,\r\n chatType : payload.chatData.chatType,\r\n userId\r\n }\r\n GuppyChatManager.updateSeenMessagesCounter(data);\r\n }\r\n }\r\n },\r\n updateUnseenCounter(state, payload){\r\n let selectList = '';\r\n let msgCountKey = '';\r\n if( payload.chatType == 1 ) {\r\n msgCountKey = 'privateChatCount';\r\n selectList = ['privateConversation', 'friendList'];\r\n } else if( payload.chatType == 3 ) {\r\n msgCountKey = 'adminSupportChatCount';\r\n selectList = [ 'adminSupportUserList', 'adminSupportChats'];\r\n } else if ( payload.chatType == 5 ){ // for request invitations\r\n msgCountKey = 'requestCount';\r\n }\r\n\r\n if(payload.chatType == 1 || payload.chatType == 3) {\r\n selectList.forEach( item =>{\r\n if( payload.chatId && state[item][payload.chatId] ){\r\n Vue.set(state[item][payload.chatId], 'UnreadCount', 0);\r\n }\r\n });\r\n }\r\n\r\n let updateCount = 0;\r\n if(state[msgCountKey] > 0 ){\r\n updateCount = Number(state[msgCountKey]) - Number(payload.UnreadCount);\r\n Vue.set(state, msgCountKey, updateCount);\r\n }\r\n },\r\n\r\n appendMessage(state, payload){\r\n let chatId = payload.chatId;\r\n let randNumber = payload.metaData.randNum;\r\n if( state.messagesList[chatId] ) {\r\n let messageIndex = state.messagesList[chatId].messages.findIndex( \r\n (message => {\r\n if(message.metaData){\r\n return message.metaData.randNum == randNumber\r\n } else {\r\n return false;\r\n }\r\n }) \r\n );\r\n if( messageIndex > -1 ){\r\n Vue.set(state.messagesList[chatId]['messages'], messageIndex, payload);\r\n } else {\r\n state.messagesList[chatId]['messages'].push(payload);\r\n }\r\n GuppyChatManager.messagesScrollList( 0, payload.chatId);\r\n }\r\n },\r\n updateMessageStatus(state, payload){\r\n let chatId = payload.chatId;\r\n let messageIds = payload.messageIds;\r\n let messageCounter = payload.messageCounter;\r\n let chatType = payload.chatType;\r\n let isSender = payload.isSender;\r\n let listType = '';\r\n if(chatType == 1){\r\n listType = ['privateConversation','friendList'];\r\n } else if( chatType == 3 ){\r\n listType = [ 'adminSupportUserList', 'adminSupportChats'];\r\n }\r\n if(state.messagesList[chatId] && isSender){\r\n if( chatType == '1' || chatType == '3'){\r\n if(messageIds){\r\n for (let [id] of Object.entries(messageIds)) {\r\n let messageIndex = state.messagesList[chatId].messages.findIndex( (message => message.messageId == id));\r\n if(messageIndex > -1){\r\n state.messagesList[chatId].messages[messageIndex].messageStatus = 1;\r\n }\r\n }\r\n }\r\n }\r\n }else if(!isSender){\r\n chatId = chatId.split('_');\r\n let counterlist = '';\r\n if(chatType == 1){\r\n let senderId = payload.senderId;\r\n counterlist = 'privateChatCount';\r\n chatId = senderId + '_' + chatType;\r\n } else if( chatType == 3 ){\r\n let senderId = payload.senderId;\r\n counterlist = 'adminSupportChatCount';\r\n chatId = senderId + '_' + chatType;\r\n }\r\n\r\n listType.forEach( type =>{\r\n if( Object.prototype.hasOwnProperty.call(state[type], chatId ) ){\r\n let counter = Number(state[type][chatId].UnreadCount) - Number(messageCounter);\r\n if(Number( counter ) >= 0 ){\r\n Vue.set( state[type][chatId],'UnreadCount', counter);\r\n }\r\n }\r\n });\r\n\r\n if(state[counterlist] > 0 ){\r\n let totalUnseenCounter = Number( state[counterlist] ) - Number(messageCounter);\r\n Vue.set(state, counterlist, totalUnseenCounter);\r\n }\r\n\r\n if(!state.isMessangerChat){\r\n if(Object.prototype.hasOwnProperty.call(state.chatInfo, chatId ) ){\r\n Vue.set( state.chatInfo[chatId],'UnreadCount', 0);\r\n }\r\n }\r\n }\r\n },\r\n updateUser(state, payload){\r\n let chatId = payload.chatId;\r\n let status = payload.status;\r\n let blockedId = 0;\r\n let isBlocked = payload.isBlocked;\r\n let chatType = payload.chatType;\r\n let blockerId = payload.blockerId;\r\n let listType = '';\r\n \r\n if(chatType == 1){\r\n listType = 'privateConversation';\r\n blockedId = payload.blockedId;\r\n }\r\n\r\n if(chatType == 1){\r\n if(status == 3){\r\n if(chatId in state.friendList ){\r\n Vue.delete(state.friendList, chatId)\r\n }\r\n if(state.userId == blockerId ){\r\n if( !Object.prototype.hasOwnProperty.call(state.blockList, chatId ) ){\r\n Vue.set(state.blockList, chatId, payload);\r\n }\r\n }\r\n }else if(status == 1) {\r\n if( !Object.prototype.hasOwnProperty.call(state.friendList, chatId ) ){\r\n Vue.set(state.friendList, chatId, payload);\r\n }\r\n if(state.userId == blockerId ){\r\n if(chatId in state.blockList ){\r\n Vue.delete(state.blockList, chatId)\r\n }\r\n }\r\n }\r\n if( Object.prototype.hasOwnProperty.call(state[listType], chatId ) ){\r\n state[listType][chatId].blockedId = blockedId;\r\n state[listType][chatId].friendStatus = status;\r\n state[listType][chatId].isBlocked = isBlocked;\r\n state[listType][chatId].isOnline = payload.isOnline;\r\n state[listType][chatId].muteNotification = payload.muteNotification;\r\n }\r\n }\r\n\r\n if(state.isMessangerChat){\r\n if(state.chatInfo.chatId == chatId && state.chatInfo.chatType == chatType){\r\n state.chatInfo.isBlocked = isBlocked;\r\n state.chatInfo['blockedId'] = blockedId;\r\n state.chatInfo['friendStatus'] = status;\r\n state.chatInfo['muteNotification'] = payload.muteNotification;\r\n }\r\n }else{\r\n if( Object.prototype.hasOwnProperty.call(state.chatInfo, chatId ) ){\r\n Vue.set(state.chatInfo[chatId], 'isBlocked', isBlocked);\r\n Vue.set(state.chatInfo[chatId], 'blockedId', blockedId);\r\n Vue.set(state.chatInfo[chatId], 'friendStatus', status);\r\n Vue.set(state.chatInfo[chatId], 'muteNotification', payload.muteNotification);\r\n Vue.set(state.chatInfo[chatId], 'muteNotification', payload.muteNotification);\r\n }\r\n }\r\n },\r\n deleteMessageStatus(state, payload){\r\n let messageId = payload.messageId;\r\n let chatId = payload.chatId;\r\n let chatType = payload.chatType;\r\n if( state.messagesList[chatId] ){\r\n let messageIndex = state.messagesList[chatId].messages.findIndex( (message => message.messageId == messageId));\r\n if(messageIndex > -1){\r\n state.messagesList[chatId].messages[messageIndex].messageStatus = 2;\r\n }\r\n }\r\n if(!state.isMessangerChat && Object.prototype.hasOwnProperty.call(state.chatInfo, chatId )){\r\n let UnreadCount = state.chatInfo[chatId].UnreadCount;\r\n UnreadCount = UnreadCount - 1;\r\n if(UnreadCount >= 0 ){\r\n Vue.set( state.chatInfo[chatId],'UnreadCount', UnreadCount);\r\n }\r\n }\r\n let listType = '';\r\n let counterType = '';\r\n let counter = 0;\r\n if(chatType == 1){\r\n counter = state.privateChatCount - 1;\r\n counterType = 'privateChatCount';\r\n listType = 'privateConversation';\r\n }\r\n\r\n if(counter >= 0 ){\r\n Vue.set(state, counterType, counter);\r\n Vue.set(state[listType][chatId],'UnreadCount', counter);\r\n }\r\n },\r\n clearGuppyChat(state, payload){\r\n let chatId = payload.chatId;\r\n\r\n if( state.messagesList[chatId] ){\r\n state.messagesList[chatId]['messages'] = [];\r\n state.messagesList[chatId].loadChat = false;\r\n }\r\n let stateList = '';\r\n if( payload.chatType == 1 ) {\r\n stateList = ['privateConversation', 'friendList']; // also update in friend list\r\n }\r\n\r\n stateList.forEach(item=>{\r\n if( state[item][chatId] ){\r\n Vue.set(state[item][chatId],'clearChat', true)\r\n }\r\n });\r\n\r\n },\r\n updateMessageLoadingFlag(state, payload){\r\n if( state.messagesList[payload.chatId] ){\r\n Vue.set(state.messagesList[payload.chatId], 'messagesLoading', payload.flagValue);\r\n } else {\r\n let data ={\r\n messages : null,\r\n loadChat : true,\r\n messagesLoading : payload.flagValue,\r\n }\r\n Vue.set(state.messagesList,payload.chatId, data)\r\n }\r\n },\r\n updateMuteChatNotify(state, payload){\r\n let muteType = payload.muteType;\r\n let stateList = []; \r\n if( muteType == 0 ) {\r\n\r\n if( payload.chatType == 1 ) {\r\n stateList = ['privateConversation', 'friendList']; // also update in friend list\r\n }\r\n\r\n if( state.isMessangerChat ){\r\n if(state.chatInfo.chatId == payload.chatId){\r\n Vue.set(state.chatInfo, 'muteNotification', payload.isMute);\r\n }\r\n } else {\r\n if(state.chatInfo[payload.chatId]){\r\n state.chatInfo[payload.chatId]['muteNotification'] = payload.isMute;\r\n }\r\n }\r\n stateList.forEach( item => {\r\n if( state[item][payload.chatId] ){\r\n Vue.set(state[item][payload.chatId],'muteNotification', payload.isMute)\r\n }\r\n });\r\n } else {\r\n state.userProfile.muteNotification = payload.isMute; \r\n }\r\n\r\n },\r\n updateTypeIndicator(state, payload){\r\n let data = {};\r\n let chatKey = payload.chatId;\r\n if(state.isMessangerChat){\r\n data = JSON.parse(JSON.stringify(state.chatInfo));\r\n }else{\r\n if(payload.chatType == 1){\r\n chatKey = payload.senderId + '_' + payload.chatType;\r\n }else if(payload.chatType == 3){\r\n chatKey = chatKey.split('_');\r\n chatKey = payload.senderId + '_'+ payload.chatType;\r\n }\r\n if(Object.prototype.hasOwnProperty.call(state.chatInfo, chatKey ) ){\r\n data = JSON.parse(JSON.stringify(state.chatInfo[chatKey]));\r\n }\r\n }\r\n if(Object.keys(data).length){\r\n let isExist = 'typingUsers' in data;\r\n if( !isExist ){ data['typingUsers'] = []; }\r\n \r\n if( payload.chatType == 1 || payload.chatType == 3 ){\r\n let senderId = data.chatId;\r\n senderId = senderId.split('_');\r\n if(payload.chatType == 0){\r\n senderId = senderId[1];\r\n }else{\r\n senderId = senderId[0];\r\n }\r\n \r\n if( senderId == payload.senderId && data.chatType == payload.chatType){\r\n if(payload.text){\r\n data['typingUsers'] = [];\r\n data.typingUsers.push(payload.userName);\r\n }else{\r\n let index = data.typingUsers.indexOf(payload.userName);\r\n if ( index > -1){ data.typingUsers.splice(index, 1); }\r\n }\r\n }else{\r\n let index = data.typingUsers.indexOf(payload.userName);\r\n if ( index > -1){ data.typingUsers.splice(index, 1); }\r\n } \r\n }\r\n\r\n if(state.isMessangerChat){\r\n Vue.set(state.chatInfo, 'typingUsers', data.typingUsers);\r\n }else{\r\n Vue.set(state.chatInfo[chatKey], 'typingUsers', data.typingUsers);\r\n }\r\n }\r\n },\r\n },\r\n actions: {\r\n startConversation(context, payload ) {\r\n context.commit('startConversation', payload)\r\n },\r\n unBlockUser (context, payload) {\r\n context.commit('unBlockUser', payload)\r\n },\r\n toggleMessagesScr(context, payload ) {\r\n context.commit('toggleMessagesScr', payload)\r\n },\r\n userResponse( context, payload ) {\r\n context.commit('userResponse', payload)\r\n },\r\n clearGuppyChat(context, payload){\r\n context.commit('clearGuppyChat', payload)\r\n },\r\n UpdateMessageList( context, payload ) {\r\n let state = context.state;\r\n let chatData = payload.chatData;\r\n let chatId = chatData.chatId;\r\n let receiverId = chatData.receiverId;\r\n let chatType = Number(chatData.chatType);\r\n let userId = state.userId;\r\n let messageData = [];\r\n let offset = 0;\r\n let loadChat = true;\r\n let userType = state.userType;\r\n let currentMessageList = [];\r\n\r\n if(state.messagesList[chatId]){\r\n currentMessageList = state.messagesList[chatId].messages;\r\n if(currentMessageList.length){\r\n context.commit('updateMessageLoadingFlag', { flagValue : true, chatId })\r\n offset = currentMessageList[0].messageId;\r\n }\r\n }\r\n\r\n Vue.axios.get(\r\n 'load-guppy-chat?offset=' +offset +\r\n '&receiverId='+ receiverId +\r\n '&userId='+ userId +\r\n '&chatType='+ chatType +\r\n '&userType=' + userType\r\n ).then( response => {\r\n if( response.data.type == 'success' ){\r\n if( !response.data.chatMessages.length ) {\r\n loadChat = false;\r\n }\r\n if( currentMessageList.length ){\r\n messageData = [].concat(response.data.chatMessages, currentMessageList);\r\n } else {\r\n messageData = response.data.chatMessages;\r\n }\r\n\r\n let data = {\r\n messages : messageData,\r\n lastScrollTop : payload.lastScrollTop,\r\n messagesLoading : true,\r\n loadChat,\r\n chatId,\r\n }\r\n\r\n if(typeof response.data.muteNotfication != 'undefined'){\r\n data['muteNotfication'] = response.data.muteNotfication;\r\n }\r\n context.commit('UpdateMessageList', data)\r\n\r\n }\r\n }).catch( error => {\r\n console.log( error )\r\n });\r\n },\r\n updateConversationMessage( context, payload ) {\r\n context.commit('updateConversationMessage', payload)\r\n },\r\n updateMessageStatus( context, payload ) {\r\n context.commit('updateMessageStatus', payload)\r\n },\r\n deleteMessageStatus( context, payload ) {\r\n context.commit('deleteMessageStatus', payload)\r\n },\r\n initializePusher(context, payload){\r\n let pusher = new Pusher(payload.pusherKey, {\r\n cluster: payload.pusherCluster,\r\n authEndpoint: payload.restApiUrl+'channel-authorize',\r\n });\r\n \r\n if(pusher){\r\n let channel = pusher.subscribe('private-user-'+payload.userId);\r\n context.state.pusher = pusher;\r\n channel.bind('recChatData', function (data) {\r\n context.commit('updateConversationMessage', data);\r\n context.commit('receiveMessage', data);\r\n });\r\n\r\n channel.bind('updateUser', function (data) {\r\n context.commit('updateUser', data);\r\n });\r\n\r\n channel.bind('clearChat', function (data) {\r\n context.commit('clearGuppyChat', data);\r\n });\r\n\r\n\r\n // update ChatMuteNoification status\r\n channel.bind('updateMuteChatNotify' , function (data) {\r\n context.commit('updateMuteChatNotify', data);\r\n });\r\n \r\n channel.bind('senderChatData', function (data) {\r\n context.commit('receiveMessage', data);\r\n context.commit('updateConversationMessage', data);\r\n });\r\n\r\n channel.bind('updateMessage', function (data) {\r\n context.commit('updateMessageStatus', data);\r\n });\r\n channel.bind('deleteMessage', function (data) {\r\n context.commit('deleteMessageStatus', data);\r\n context.commit('updateConversationMessage', data);\r\n });\r\n channel.bind('isTyping', function (data) {\r\n context.commit('updateTypeIndicator', data);\r\n });\r\n }\r\n },\r\n\r\n initializeSocket(context, settings){\r\n let socket = SocketioService.socketConnection(settings.authToken);\r\n if(socket){\r\n\r\n // add user to socket \r\n if(settings.userId){\r\n let id = settings.userId;\r\n SocketioService.connectUser(id);\r\n }\r\n\r\n // listening for sending data and update receiver \r\n socket.on('receiverChatData' , (data) => {\r\n context.commit('receiveMessage', data);\r\n context.commit('updateConversationMessage', data);\r\n });\r\n\r\n // listening for sending data and update sender \r\n socket.on('senderChatData' , (data) => {\r\n context.commit('receiveMessage', data);\r\n context.commit('updateConversationMessage', data);\r\n });\r\n\r\n // update message status \r\n socket.on('updateMsgStatus' , (data) => {\r\n context.commit('updateMessageStatus', data);\r\n });\r\n\r\n // delete message from sender \r\n socket.on('deleteSenderMessage' , (data) => {\r\n context.commit('deleteMessageStatus', data);\r\n context.commit('updateConversationMessage', data);\r\n });\r\n\r\n // delete message from receiver \r\n socket.on('deleteReceiverMessage' , (data) => {\r\n context.commit('deleteMessageStatus', data);\r\n context.commit('updateConversationMessage', data);\r\n });\r\n\r\n // is typing \r\n socket.on('isTyping' , (data) => {\r\n context.commit('updateTypeIndicator', data);\r\n });\r\n\r\n // update user status\r\n socket.on('updateUser' , (data) => {\r\n context.commit('updateUser', data);\r\n });\r\n\r\n // update ChatMuteNoification status\r\n socket.on('updateMuteChatNotify' , (data) => {\r\n context.commit('updateMuteChatNotify', data);\r\n });\r\n\r\n // update ChatMuteNoification status\r\n socket.on('clearChat' , (data) => {\r\n context.commit('clearGuppyChat', data)\r\n });\r\n\r\n }\r\n },\r\n triggerSocketEvents(context, data){\r\n if(GUPPYCHAT_SETTINGS.realTimeOption == 'socket' && GUPPYCHAT_SETTINGS.socketEnable){\r\n if(data.event == 'sendMessage'){\r\n SocketioService.sendMessage(data.payload);\r\n } else if(data.event == 'updateMuteChatNotify'){\r\n SocketioService.updateMuteChatNotify(data.payload);\r\n } else if(data.event == 'updateMsgStatus'){\r\n SocketioService.updateMsgStatus(data.payload);\r\n }else if(data.event == 'clearChat'){\r\n SocketioService.clearChat(data.payload);\r\n }else if(data.event == 'deleteMessage'){\r\n SocketioService.deleteMessage(data.payload);\r\n }else if(data.event == 'updateUser'){\r\n SocketioService.updateUser(data.payload);\r\n }\r\n }\r\n },\r\n triggerclientEvents(context, data){\r\n if(GUPPYCHAT_SETTINGS.realTimeOption == 'socket' && GUPPYCHAT_SETTINGS.socketEnable){\r\n if(data.event == 'isTyping'){\r\n SocketioService.isTyping(data.payload);\r\n }\r\n }else if(GUPPYCHAT_SETTINGS.realTimeOption == 'pusher' && GUPPYCHAT_SETTINGS.pusherEnable){\r\n if( data.event == 'isTyping'){\r\n if(canType) {\r\n RestApiManager.pusherTypeIndicator({userId : context.state.userId, ...data.payload});\r\n canType = false;\r\n setTimeout(function() {\r\n canType = true;\r\n }, throttleTime);\r\n }\r\n }\r\n }\r\n },\r\n initRealTimeChatSetting( context, payload ){\r\n if(GUPPYCHAT_SETTINGS.realTimeOption == 'pusher' && GUPPYCHAT_SETTINGS.pusherEnable){\r\n let settings = { \r\n pusherKey : GUPPYCHAT_SETTINGS.pusherKey,\r\n pusherCluster : GUPPYCHAT_SETTINGS.pusherCluster,\r\n restApiUrl : window.wpguppy_scripts_vars.restapiurl,\r\n userId : context.state.userId,\r\n };\r\n context.dispatch('initializePusher', settings);\r\n } else if(GUPPYCHAT_SETTINGS.realTimeOption == 'socket' && GUPPYCHAT_SETTINGS.socketEnable){\r\n let settings = { \r\n authToken : payload.authToken,\r\n userId : context.state.userId,\r\n };\r\n context.dispatch('initializeSocket', settings);\r\n }\r\n }\r\n }\r\n\r\n})","import { GUPPYCHAT_TRANSLATION } from \"../resources/constants\";\r\nimport { mapState } from 'vuex';\r\nexport default {\r\n data(){\r\n return {\r\n messagesOffset \t: 0,\r\n UserChatOffset \t : 0,\r\n isLoading : false,\r\n isScrolling : false,\r\n RecordLimit : Number(window.wpguppy_scripts_vars.showRec),\r\n StatusText : window.wpguppy_scripts_vars.friendListStatusText,\r\n isSingle : window.wpguppy_scripts_vars.isSingle,\r\n errors : '',\r\n TRANS : GUPPYCHAT_TRANSLATION,\r\n }\r\n },\r\n computed : mapState({\r\n userId : state => {\r\n if(state.userId == \"0\"){\r\n return '';\r\n }\r\n return state.userId\r\n },\r\n userType : state => state.userType\r\n }),\r\n methods: {\r\n alertBox(type, title, description){ // type : warning, error, success, info, question\r\n this.$swal({\r\n icon: type,\r\n title: title,\r\n text: description,\r\n showCloseButton: true,\r\n showConfirmButton: false,\r\n }) \r\n }\r\n }\r\n};","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-chat\",class:{'wpguppy-rtl' : _vm.isRtl}},[_c('guppy-chat-sidebar'),_c('guppy-chat-messages'),_c('sidebar-popup')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.isWhatsappChat ? 'gp-chat_sidebar' : 'at-chat_sidebar'},[(_vm.isWhatsappChat)?_c('whatsapp-user-List'):(_vm.userId && Number(_vm.userType))?[(_vm.activeTab == 'contacts')?_c('guppy-caht-user-list'):(_vm.activeTab == 'friends')?_c('guppy-chat-friend-list'):(_vm.activeTab == 'blocked')?_c('guppy-chat-block-user-list'):(_vm.activeTab == 'messages')?_c('guppy-chat-private-list'):(_vm.activeTab == 'customer_support')?_c('customer-support'):(_vm.activeTab == 'profile')?_c('guppy-chat-profile-setting'):_vm._e(),_c('guppy-chat-sidebar-footer')]:(_vm.userId && !Number(_vm.userType))?[_c('customer-support'),_c('guppy-chat-sidebar-footer')]:_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.closeMenu),expression:\"closeMenu\"}],staticClass:\"at-chat_sidebar_footer\",on:{\"mouseover\":function($event){return _vm.toggleOverLay(true)},\"mouseleave\":function($event){return _vm.toggleOverLay(false)}}},[(_vm.isShowButton)?_c('li',{staticClass:\"at-listonrespon\"},[_c('div',{staticClass:\"at-responmenu\"},[_c('div',{staticClass:\"at-responsivelist\"},[(_vm.isMessangerChat && _vm.isShowButton && _vm.isfloatingChat)?_c('a',{attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();return _vm.showWidget()}}},[_c('i',{staticClass:\"guppy-x\"})]):_vm._e(),_c('a',{staticClass:\"at-menuicon\",attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();return _vm.toogleMenu()}}},[_c('i',{staticClass:\"guppy-menu\"})])]),_c('div',{staticClass:\"at-imgresponsivearea\"},[_c('a',{attrs:{\"href\":\"javascript:void(0);\"}},[_c('img',{attrs:{\"src\":_vm.userProfile.userAvatar ? _vm.userProfile.userAvatar : _vm.defaultAvatar,\"alt\":_vm.userProfile.userName}})]),_c('div',{staticClass:\"at-sidebar-item\"},[_c('h5',{style:(!_vm.isfloatingChat && _vm.windowWidth <= 768 ? 'width : 100px' : '')},[_vm._v(_vm._s(_vm.userProfile.userName))])])])])]):_vm._e(),(!_vm.isShowButton)?_c('li',{staticClass:\"at-hasimage\"},[_c('a',{attrs:{\"href\":\"javascript:void(0);\"}},[_c('img',{attrs:{\"src\":_vm.userProfile.userAvatar ? _vm.userProfile.userAvatar : _vm.defaultAvatar,\"alt\":_vm.userProfile.userName}}),(_vm.userProfile.userName)?_c('div',{staticClass:\"at-sidebar-item\"},[_c('h5',[_vm._v(_vm._s(_vm.userProfile.userName))])]):_vm._e()])]):_vm._e(),(_vm.userId && Number(_vm.userType))?[(_vm.enableTabs.includes('contacts'))?_c('li',{class:{ 'active' : _vm.selectedActiveTab == 'contacts'},on:{\"click\":function($event){$event.preventDefault();return _vm.closeMenu()}}},[_c('a',{class:{'at-newnotify': _vm.requestCount > 0 },attrs:{\"href\":\"javascript:void(0);\",\"id\":\"at-contacts\"},on:{\"click\":function($event){$event.preventDefault();return _vm.activeTab('contacts')}}},[_c('i',{staticClass:\"guppy-users\"}),_c('div',{staticClass:\"at-sidebar-item\"},[_c('h6',[_vm._v(_vm._s(_vm.TRANS.contact_tab_txt))]),(_vm.requestCount > 0)?_c('em',{staticClass:\"at-userchat_tab-noti\"},[_vm._v(_vm._s(_vm.requestCount >= 100 ? '+99' : _vm.requestCount))]):_vm._e()])])]):_vm._e(),(_vm.enableTabs.includes('friends'))?_c('li',{class:{ 'active' : _vm.selectedActiveTab == 'friends'},on:{\"click\":function($event){$event.preventDefault();return _vm.closeMenu()}}},[_c('a',{attrs:{\"href\":\"javascript:void(0);\",\"id\":\"at-friends\"},on:{\"click\":function($event){$event.preventDefault();return _vm.activeTab('friends')}}},[_c('i',{staticClass:\"guppy-user-check\"}),_c('div',{staticClass:\"at-sidebar-item\"},[_c('h6',[_vm._v(_vm._s(_vm.TRANS.friend_tab_txt))])])])]):_vm._e(),(_vm.enableTabs.includes('blocked'))?_c('li',{class:{ 'active' : _vm.selectedActiveTab == 'blocked'},on:{\"click\":function($event){$event.preventDefault();return _vm.closeMenu()}}},[_c('a',{attrs:{\"href\":\"javascript:void(0);\",\"id\":\"at-blocked-users\"},on:{\"click\":function($event){$event.preventDefault();return _vm.activeTab('blocked')}}},[_c('i',{staticClass:\"guppy-user-x\"}),_c('div',{staticClass:\"at-sidebar-item\"},[_c('h6',[_vm._v(_vm._s(_vm.TRANS.block_tab_txt))])])])]):_vm._e(),(_vm.enableTabs.includes('messages') || _vm.enableTabs.includes('messages'))?_c('li',{class:{ 'active' : _vm.selectedActiveTab == 'messages'},on:{\"click\":function($event){$event.preventDefault();return _vm.closeMenu()}}},[_c('a',{class:{'at-newnotify': _vm.privateChatCount > 0 },attrs:{\"href\":\"javascript:void(0);\",\"id\":\"at-messages\"},on:{\"click\":function($event){$event.preventDefault();return _vm.activeTab('messages')}}},[_c('i',{staticClass:\"guppy-message-square\"}),_c('div',{staticClass:\"at-sidebar-item\"},[_c('h6',[_vm._v(_vm._s(_vm.TRANS.private_tab_txt))]),(_vm.privateChatCount > 0)?_c('em',{staticClass:\"at-userchat_tab-noti\"},[_vm._v(_vm._s(_vm.privateChatCount >= 100 ? '+99' : _vm.privateChatCount))]):_vm._e()])])]):_vm._e(),(_vm.enableTabs.includes('customer_support'))?_c('li',{class:{ 'active' : _vm.selectedActiveTab == 'customer_support'},on:{\"click\":function($event){$event.preventDefault();return _vm.closeMenu()}}},[_c('a',{class:{'at-newnotify': _vm.adminSupportChatCount > 0 },attrs:{\"href\":\"javascript:void(0);\",\"id\":\"at-customer_support\"},on:{\"click\":function($event){$event.preventDefault();return _vm.activeTab('customer_support')}}},[_c('guppy-svg-icons',{attrs:{\"ImageColor\":\"support\",\"isActive\":_vm.selectedActiveTab == 'customer_support'}}),_c('div',{staticClass:\"at-sidebar-item\"},[_c('h6',[_vm._v(_vm._s(_vm.TRANS.customer_tab_txt))]),(_vm.adminSupportChatCount > 0)?_c('em',{staticClass:\"at-userchat_tab-noti\"},[_vm._v(_vm._s(_vm.adminSupportChatCount >= 100 ? '+99' : _vm.adminSupportChatCount))]):_vm._e()])],1)]):_vm._e(),_c('li',{class:{ 'active' : _vm.selectedActiveTab == 'profile'},on:{\"click\":function($event){$event.preventDefault();_vm.closeMenu(), _vm.activeTab('profile')}}},[_c('a',{attrs:{\"href\":\"javascript:void(0);\"}},[_c('i',{staticClass:\"guppy-settings\"}),_c('div',{staticClass:\"at-sidebar-item\"},[_c('h6',[_vm._v(_vm._s(_vm.TRANS.setting_tab_txt))])])])])]:(!Number(_vm.userType))?[_c('li',{staticClass:\"active\",on:{\"click\":function($event){$event.preventDefault();return _vm.closeMenu()}}},[_c('a',{class:{'at-newnotify': _vm.adminSupportChatCount > 0 },attrs:{\"href\":\"javascript:void(0);\",\"id\":\"at-customer_support\"},on:{\"click\":function($event){$event.preventDefault();return _vm.activeTab('customer_support')}}},[_c('guppy-svg-icons',{attrs:{\"ImageColor\":\"support\",\"isActive\":true}}),_c('div',{staticClass:\"at-sidebar-item\"},[_c('h6',[_vm._v(_vm._s(_vm.TRANS.customer_tab_txt))]),(_vm.adminSupportChatCount > 0)?_c('em',{staticClass:\"at-userchat_tab-noti\"},[_vm._v(_vm._s(_vm.adminSupportChatCount >= 100 ? '+99' : _vm.adminSupportChatCount))]):_vm._e()])],1)]),(_vm.isfloatingChat)?_c('li',{on:{\"click\":function($event){$event.preventDefault();return _vm.closeMenu()}}},[_c('a',{attrs:{\"href\":\"javascript:void(0);\",\"id\":\"at-login\"},on:{\"click\":function($event){$event.preventDefault();return _vm.login()}}},[_c('i',{staticClass:\"guppy-log-in\"}),_c('div',{staticClass:\"at-sidebar-item\"},[_c('h6',[_vm._v(_vm._s(_vm.TRANS.login_tab_txt))])])])]):_vm._e()]:_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{attrs:{\"width\":_vm.imageWidth,\"height\":_vm.imageHeight,\"viewBox\":_vm.viewBox,\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[(_vm.ImageColor == 'pin')?[_c('path',{attrs:{\"d\":\"M2 1H18V2.42105H2V1Z\",\"fill\":_vm.isActive ? _vm.colorOnActive : _vm.isEmptyView ? _vm.primaryColor : _vm.isEmptyView ? _vm.primaryColor : '#999999'}}),_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"clip-rule\":\"evenodd\",\"d\":\"M12.1333 7.56011V2.42105H7.86667V7.56011L4.8633 11.8947H15.1367L12.1333 7.56011ZM18 13.3158H2L6.26667 7.1579V1H13.7333V7.1579L18 13.3158Z\",\"fill\":_vm.isActive ? _vm.colorOnActive : _vm.isEmptyView ? _vm.primaryColor : '#999999'}}),_c('path',{attrs:{\"d\":\"M9.46667 13.3158H11.0667V18.2895C11.0667 18.6819 10.7085 19 10.2667 19C9.82484 19 9.46667 18.6819 9.46667 18.2895V13.3158Z\",\"fill\":_vm.isActive ? _vm.colorOnActive : _vm.isEmptyView ? _vm.primaryColor : '#999999'}})]:(_vm.ImageColor =='group')?[_c('path',{attrs:{\"d\":\"M1.8 19.3002C1.7 19.3002 1.6 19.3002 1.5 19.2002C1.2 19.1002 1 18.8002 1 18.4002V8.2002C1 6.8002 2.1 5.7002 3.5 5.7002H12.2C13.6 5.7002 14.7 6.8002 14.7 8.2002V13.5002C14.7 14.9002 13.6 16.0002 12.2 16.0002H5.5L2.4 19.1002C2.2 19.2002 2 19.3002 1.8 19.3002ZM3.5 7.3002C3 7.3002 2.7 7.70019 2.7 8.10019V16.4002L4.6 14.5002C4.8 14.3002 5 14.3002 5.2 14.3002H12.2C12.7 14.3002 13 13.9002 13 13.5002V8.2002C13 7.7002 12.6 7.4002 12.2 7.4002H3.5V7.3002Z\",\"fill\":_vm.isActive ? _vm.colorOnActive : _vm.isEmptyView ? _vm.primaryColor : '#999999'}}),_c('path',{attrs:{\"d\":\"M17.2563 2.44231H5.30005V1H17.2563C18.385 1 19.3 1.86099 19.3 2.92308V11H17.7672V2.92308C17.7672 2.65756 17.5384 2.44231 17.2563 2.44231Z\",\"fill\":_vm.isActive ? _vm.colorOnActive : _vm.isEmptyView ? _vm.primaryColor : '#999999'}}),_c('path',{attrs:{\"d\":\"M5.30005 1H6.80005V4H5.30005V1Z\",\"fill\":_vm.isActive ? _vm.colorOnActive : _vm.isEmptyView ? _vm.primaryColor : '#999999'}}),_c('path',{attrs:{\"d\":\"M19.3 10V11.5H16.3V10H19.3Z\",\"fill\":_vm.isActive ? _vm.colorOnActive : _vm.isEmptyView ? _vm.primaryColor : '#999999'}})]:(_vm.ImageColor == 'support')?[_c('path',{attrs:{\"d\":\"M3.24442 19.6949C3.44876 19.7966 3.65309 19.8983 3.85743 19.8983C3.9596 19.8983 4.06177 19.8983 4.16393 20L8.65933 18.4745C9.68102 18.983 10.8049 19.1864 11.9287 19.1864C14.9938 19.1864 17.7523 17.4574 19.1827 14.7115C19.6935 13.6944 20 12.3723 20 11.1519V10.6434C19.8119 6.80542 17.0273 3.7429 13.3189 3.12115H13.2073V4.75464C16.0504 5.31298 18.1795 7.68381 18.3653 10.6434V10.9485C18.3653 11.9655 18.0588 12.8808 17.6501 13.7962C16.5263 16.0336 14.3808 17.3557 11.9287 17.3557C10.907 17.3557 9.98752 17.0506 9.06801 16.6438C8.86367 16.5421 8.65933 16.5421 8.455 16.6438L5.18562 17.7625L6.30947 14.5081C6.41163 14.3047 6.41163 14.1013 6.30947 13.8979C6.1431 13.5998 6.00924 13.3017 5.90436 13.0001H4.08941C4.20302 13.4475 4.36169 13.8847 4.57261 14.3047L3.04008 18.7796C2.93792 19.0847 3.04008 19.4915 3.24442 19.6949Z\",\"fill\":_vm.isActive ? _vm.colorOnActive : _vm.isEmptyView ? _vm.primaryColor : _vm.isEmptyView ? _vm.primaryColor : '#999999'}}),_c('path',{attrs:{\"d\":\"M7.81299 0.509272C10.4163 1.77033 11.6698 4.77746 10.802 7.49358L15.7042 12.2441L14.5803 13.2476L9.45213 8.26962C9.16287 8.07561 9.16287 7.68759 9.25929 7.39658C10.1271 5.35949 9.25929 2.93438 7.23447 2.06134C6.75238 1.77033 6.17386 1.67332 5.59534 1.67332C5.4025 1.67332 5.30608 1.67332 5.11324 1.77033L7.13806 3.80742C7.71657 4.38944 7.71657 5.45649 7.13806 6.03852L5.8846 7.29957C5.30608 7.9786 4.24547 7.9786 3.76337 7.29957L1.73855 5.26248C1.64214 5.84451 1.73855 6.52354 1.93139 7.10556C2.31707 8.07561 3.08843 8.85164 4.05263 9.33666C5.11324 9.82168 6.27028 9.82168 7.33089 9.33666C7.62015 9.23966 8.00583 9.33666 8.19867 9.53067L13.2577 14.4389L12 15.5L7.52373 11.1797C6.17386 11.6648 4.63114 11.5678 3.37769 10.9857C1.93139 10.3067 0.967197 9.23966 0.388679 7.78459C-0.18984 6.32953 -0.0934202 4.77746 0.485098 3.4194C0.581517 3.12839 0.774357 2.93438 1.06362 2.93438C1.25646 2.83738 1.54572 2.93438 1.73855 3.12839L4.72756 6.13552L5.98102 4.87447L2.99201 1.86733C2.79917 1.67332 2.79917 1.47932 2.79917 1.1883C2.79917 0.89729 2.99201 0.703281 3.18485 0.509273C4.63114 -0.169757 6.3667 -0.169758 7.81299 0.509272Z\",\"fill\":_vm.isActive ? _vm.colorOnActive : _vm.isEmptyView ? _vm.primaryColor : _vm.isEmptyView ? _vm.primaryColor : '#999999'}})]:_c('path',{attrs:{\"d\":_vm.imagePath,\"fill\":_vm.fill}})],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <svg :width=\"imageWidth\" :height=\"imageHeight\" :viewBox=\"viewBox\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <template v-if=\"ImageColor == 'pin'\">\r\n <path d=\"M2 1H18V2.42105H2V1Z\" :fill=\" isActive ? colorOnActive : isEmptyView ? primaryColor : isEmptyView ? primaryColor : '#999999' \"/>\r\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12.1333 7.56011V2.42105H7.86667V7.56011L4.8633 11.8947H15.1367L12.1333 7.56011ZM18 13.3158H2L6.26667 7.1579V1H13.7333V7.1579L18 13.3158Z\" :fill=\" isActive ? colorOnActive : isEmptyView ? primaryColor : '#999999' \"/>\r\n <path d=\"M9.46667 13.3158H11.0667V18.2895C11.0667 18.6819 10.7085 19 10.2667 19C9.82484 19 9.46667 18.6819 9.46667 18.2895V13.3158Z\" :fill=\" isActive ? colorOnActive : isEmptyView ? primaryColor : '#999999' \"/>\r\n </template>\r\n <template v-else-if=\"ImageColor =='group'\">\r\n <path d=\"M1.8 19.3002C1.7 19.3002 1.6 19.3002 1.5 19.2002C1.2 19.1002 1 18.8002 1 18.4002V8.2002C1 6.8002 2.1 5.7002 3.5 5.7002H12.2C13.6 5.7002 14.7 6.8002 14.7 8.2002V13.5002C14.7 14.9002 13.6 16.0002 12.2 16.0002H5.5L2.4 19.1002C2.2 19.2002 2 19.3002 1.8 19.3002ZM3.5 7.3002C3 7.3002 2.7 7.70019 2.7 8.10019V16.4002L4.6 14.5002C4.8 14.3002 5 14.3002 5.2 14.3002H12.2C12.7 14.3002 13 13.9002 13 13.5002V8.2002C13 7.7002 12.6 7.4002 12.2 7.4002H3.5V7.3002Z\" :fill=\" isActive ? colorOnActive : isEmptyView ? primaryColor : '#999999' \"/>\r\n <path d=\"M17.2563 2.44231H5.30005V1H17.2563C18.385 1 19.3 1.86099 19.3 2.92308V11H17.7672V2.92308C17.7672 2.65756 17.5384 2.44231 17.2563 2.44231Z\" :fill=\" isActive ? colorOnActive : isEmptyView ? primaryColor : '#999999' \"/>\r\n <path d=\"M5.30005 1H6.80005V4H5.30005V1Z\" :fill=\" isActive ? colorOnActive : isEmptyView ? primaryColor : '#999999' \"/>\r\n <path d=\"M19.3 10V11.5H16.3V10H19.3Z\" :fill=\" isActive ? colorOnActive : isEmptyView ? primaryColor : '#999999' \"/>\r\n </template>\r\n <template v-else-if=\"ImageColor == 'support'\">\r\n <path d=\"M3.24442 19.6949C3.44876 19.7966 3.65309 19.8983 3.85743 19.8983C3.9596 19.8983 4.06177 19.8983 4.16393 20L8.65933 18.4745C9.68102 18.983 10.8049 19.1864 11.9287 19.1864C14.9938 19.1864 17.7523 17.4574 19.1827 14.7115C19.6935 13.6944 20 12.3723 20 11.1519V10.6434C19.8119 6.80542 17.0273 3.7429 13.3189 3.12115H13.2073V4.75464C16.0504 5.31298 18.1795 7.68381 18.3653 10.6434V10.9485C18.3653 11.9655 18.0588 12.8808 17.6501 13.7962C16.5263 16.0336 14.3808 17.3557 11.9287 17.3557C10.907 17.3557 9.98752 17.0506 9.06801 16.6438C8.86367 16.5421 8.65933 16.5421 8.455 16.6438L5.18562 17.7625L6.30947 14.5081C6.41163 14.3047 6.41163 14.1013 6.30947 13.8979C6.1431 13.5998 6.00924 13.3017 5.90436 13.0001H4.08941C4.20302 13.4475 4.36169 13.8847 4.57261 14.3047L3.04008 18.7796C2.93792 19.0847 3.04008 19.4915 3.24442 19.6949Z\" :fill=\" isActive ? colorOnActive : isEmptyView ? primaryColor : isEmptyView ? primaryColor : '#999999' \"/>\r\n <path d=\"M7.81299 0.509272C10.4163 1.77033 11.6698 4.77746 10.802 7.49358L15.7042 12.2441L14.5803 13.2476L9.45213 8.26962C9.16287 8.07561 9.16287 7.68759 9.25929 7.39658C10.1271 5.35949 9.25929 2.93438 7.23447 2.06134C6.75238 1.77033 6.17386 1.67332 5.59534 1.67332C5.4025 1.67332 5.30608 1.67332 5.11324 1.77033L7.13806 3.80742C7.71657 4.38944 7.71657 5.45649 7.13806 6.03852L5.8846 7.29957C5.30608 7.9786 4.24547 7.9786 3.76337 7.29957L1.73855 5.26248C1.64214 5.84451 1.73855 6.52354 1.93139 7.10556C2.31707 8.07561 3.08843 8.85164 4.05263 9.33666C5.11324 9.82168 6.27028 9.82168 7.33089 9.33666C7.62015 9.23966 8.00583 9.33666 8.19867 9.53067L13.2577 14.4389L12 15.5L7.52373 11.1797C6.17386 11.6648 4.63114 11.5678 3.37769 10.9857C1.93139 10.3067 0.967197 9.23966 0.388679 7.78459C-0.18984 6.32953 -0.0934202 4.77746 0.485098 3.4194C0.581517 3.12839 0.774357 2.93438 1.06362 2.93438C1.25646 2.83738 1.54572 2.93438 1.73855 3.12839L4.72756 6.13552L5.98102 4.87447L2.99201 1.86733C2.79917 1.67332 2.79917 1.47932 2.79917 1.1883C2.79917 0.89729 2.99201 0.703281 3.18485 0.509273C4.63114 -0.169757 6.3667 -0.169758 7.81299 0.509272Z\" :fill=\" isActive ? colorOnActive : isEmptyView ? primaryColor : isEmptyView ? primaryColor : '#999999' \"/>\r\n </template>\r\n <path v-else :d=\"imagePath\" :fill=\"fill\"/>\r\n </svg>\r\n</template>\r\n\r\n<script>\r\n import { GUPPYCHAT_SETTINGS } from \"../../resources/constants\";\r\nexport default {\r\n name : 'GuppySvgIcons',\r\n props : {\r\n ImageColor:{\r\n type : String,\r\n default : '#25D366',\r\n required : false\r\n },\r\n isActive : {\r\n type : Boolean,\r\n default : false,\r\n required : false\r\n },\r\n isEmptyView : {\r\n type : Boolean,\r\n default : false,\r\n required : false\r\n },\r\n activeColor : {\r\n type : String,\r\n default : '',\r\n required : false\r\n },\r\n },\r\n data(){\r\n return {\r\n primaryColor : GUPPYCHAT_SETTINGS.primaryColor,\r\n secondaryColor : GUPPYCHAT_SETTINGS.secondaryColor,\r\n }\r\n },\r\n computed:{\r\n fill : function(){\r\n return this.ImageColor == 'white' || this.ImageColor == 'lightGreen' ? 'white' : '#25D366';\r\n },\r\n imageWidth : function(){\r\n if(this.isEmptyView){\r\n if(!this.$store.state.isfloatingChat && this.$store.state.windowWidth > 768){\r\n return 52;\r\n }\r\n return 32;\r\n }\r\n return this.ImageColor == 'white' ? 44 : this.ImageColor == 'lightGreen' ? 47 : this.ImageColor == 'pin' ? 20 : 20;\r\n },\r\n imageHeight : function(){\r\n if(this.isEmptyView){\r\n if(!this.$store.state.isfloatingChat && this.$store.state.windowWidth > 768){\r\n return 52;\r\n }\r\n return 32;\r\n }\r\n return this.ImageColor == 'white' ? 44 : this.ImageColor == 'lightGreen' ? 60 : this.ImageColor == 'pin' ? 20 : 20;\r\n },\r\n viewBox: function(){ \r\n return this.ImageColor == 'white' ? '0 0 44 44' : this.ImageColor == 'lightGreen' ? '0 0 47 60' : this.ImageColor == 'pin' ? '0 0 20 20' : '0 0 20 20';\r\n },\r\n imagePath : function(){\r\n let path = 'M17.0045 2.90625C15.1339 1.03125 12.6429 0 9.99554 0C4.53125 0 0.0848214 4.44643 0.0848214 9.91071C0.0848214 11.6562 0.540179 13.3616 1.40625 14.8661L0 20L5.25446 18.6205C6.70089 19.4107 8.33036 19.8259 9.99107 19.8259H9.99554C15.4554 19.8259 20 15.3795 20 9.91518C20 7.26786 18.875 4.78125 17.0045 2.90625ZM9.99554 18.1563C8.51339 18.1563 7.0625 17.7589 5.79911 17.0089L5.5 16.8304L2.38393 17.6473L3.21429 14.6071L3.01786 14.2946C2.19196 12.9821 1.75893 11.4688 1.75893 9.91071C1.75893 5.37054 5.45536 1.67411 10 1.67411C12.2009 1.67411 14.2679 2.53125 15.8214 4.08929C17.375 5.64732 18.3304 7.71429 18.3259 9.91518C18.3259 14.4598 14.5357 18.1563 9.99554 18.1563ZM14.5134 11.9866C14.2679 11.8616 13.0491 11.2634 12.8214 11.183C12.5938 11.0982 12.4286 11.058 12.2634 11.308C12.0982 11.558 11.625 12.1116 11.4777 12.2813C11.3348 12.4464 11.1875 12.4688 10.942 12.3438C9.48661 11.6161 8.53125 11.0446 7.57143 9.39732C7.31696 8.95982 7.82589 8.99107 8.29911 8.04464C8.37946 7.87946 8.33929 7.73661 8.27679 7.61161C8.21429 7.48661 7.71875 6.26786 7.51339 5.77232C7.3125 5.29018 7.10714 5.35714 6.95536 5.34821C6.8125 5.33929 6.64732 5.33929 6.48214 5.33929C6.31696 5.33929 6.04911 5.40179 5.82143 5.64732C5.59375 5.89732 4.95536 6.49554 4.95536 7.71429C4.95536 8.93304 5.84375 10.1116 5.96429 10.2768C6.08929 10.442 7.70982 12.942 10.1964 14.0179C11.7679 14.6964 12.3839 14.7545 13.1696 14.6384C13.6473 14.567 14.6339 14.0402 14.8393 13.4598C15.0446 12.8795 15.0446 12.3839 14.9821 12.2813C14.9241 12.1696 14.7589 12.1071 14.5134 11.9866Z';\r\n if( this.ImageColor == 'white' ){\r\n path = 'M37.4098 6.39375C33.2946 2.26875 27.8143 0 21.9902 0C9.96875 0 0.186607 9.78214 0.186607 21.8036C0.186607 25.6437 1.18839 29.3955 3.09375 32.7054L0 44L11.5598 40.9652C14.742 42.7036 18.3268 43.617 21.9804 43.617H21.9902C34.0018 43.617 44 33.8348 44 21.8134C44 15.9893 41.525 10.5187 37.4098 6.39375ZM21.9902 39.9437C18.7295 39.9437 15.5375 39.0696 12.758 37.4196L12.1 37.0268L5.24464 38.8241L7.07143 32.1357L6.63929 31.4482C4.82232 28.5607 3.86964 25.2312 3.86964 21.8036C3.86964 11.8152 12.0018 3.68304 22 3.68304C26.842 3.68304 31.3893 5.56875 34.8071 8.99643C38.225 12.4241 40.3268 16.9714 40.317 21.8134C40.317 31.8116 31.9786 39.9437 21.9902 39.9437ZM31.9295 26.3705C31.3893 26.0955 28.708 24.7795 28.2071 24.6027C27.7063 24.4161 27.3429 24.3277 26.9795 24.8777C26.6161 25.4277 25.575 26.6455 25.2509 27.0187C24.9366 27.3821 24.6125 27.4312 24.0723 27.1562C20.8705 25.5554 18.7688 24.2982 16.6571 20.6741C16.0973 19.7116 17.217 19.7804 18.258 17.6982C18.4348 17.3348 18.3464 17.0205 18.2089 16.7455C18.0714 16.4705 16.9813 13.7893 16.5295 12.6991C16.0875 11.6384 15.6357 11.7857 15.3018 11.7661C14.9875 11.7464 14.6241 11.7464 14.2607 11.7464C13.8973 11.7464 13.308 11.8839 12.8071 12.4241C12.3062 12.9741 10.9018 14.2902 10.9018 16.9714C10.9018 19.6527 12.8563 22.2455 13.1214 22.6089C13.3964 22.9723 16.9616 28.4723 22.4321 30.8393C25.8893 32.3321 27.2446 32.4598 28.9732 32.2045C30.0241 32.0473 32.1946 30.8884 32.6464 29.6116C33.0982 28.3348 33.0982 27.2446 32.9607 27.0187C32.833 26.7732 32.4696 26.6357 31.9295 26.3705Z';\r\n } else if(this.ImageColor == 'lightGreen'){\r\n path=\"M38.0134 8.71875C32.4018 3.09375 24.9286 0 16.9866 0C0.593748 0 -12.7455 13.3393 -12.7455 29.7321C-12.7455 34.9688 -11.3795 40.0848 -8.78125 44.5982L-13 60L2.76339 55.8616C7.10268 58.2321 11.9911 59.4777 16.9732 59.4777H16.9866C33.3661 59.4777 47 46.1384 47 29.7455C47 21.8036 43.625 14.3437 38.0134 8.71875ZM16.9866 54.4688C12.5402 54.4688 8.1875 53.2768 4.39732 51.0268L3.5 50.4911L-5.84821 52.942L-3.35714 43.8214L-3.94643 42.8839C-6.42411 38.9464 -7.72321 34.4062 -7.72321 29.7321C-7.72321 16.1116 3.36607 5.02232 17 5.02232C23.6027 5.02232 29.8036 7.59375 34.4643 12.2679C39.125 16.942 41.9911 23.1429 41.9777 29.7455C41.9777 43.3795 30.6071 54.4688 16.9866 54.4688ZM30.5402 35.9598C29.8036 35.5848 26.1473 33.7902 25.4643 33.5491C24.7812 33.2946 24.2857 33.1741 23.7902 33.9241C23.2946 34.6741 21.875 36.3348 21.433 36.8438C21.0045 37.3393 20.5625 37.4062 19.8259 37.0312C15.4598 34.8482 12.5938 33.1339 9.71428 28.192C8.95089 26.8795 10.4777 26.9732 11.8973 24.1339C12.1384 23.6384 12.0179 23.2098 11.8304 22.8348C11.6429 22.4598 10.1562 18.8036 9.54018 17.317C8.9375 15.8705 8.32143 16.0714 7.86607 16.0446C7.4375 16.0179 6.94196 16.0179 6.44643 16.0179C5.95089 16.0179 5.14732 16.2054 4.46428 16.942C3.78125 17.692 1.86607 19.4866 1.86607 23.1429C1.86607 26.7991 4.53125 30.3348 4.89286 30.8304C5.26786 31.3259 10.1295 38.8259 17.5893 42.0536C22.3036 44.0893 24.1518 44.2634 26.5089 43.9152C27.942 43.7009 30.9018 42.1205 31.5179 40.3795C32.1339 38.6384 32.1339 37.1518 31.9464 36.8438C31.7723 36.5089 31.2768 36.3214 30.5402 35.9598Z\";\r\n }\r\n\r\n return path\r\n },\r\n colorOnActive : function(){\r\n if( this.activeColor ) {\r\n return this.activeColor;\r\n } else {\r\n return this.secondaryColor;\r\n }\r\n }\r\n }\r\n}\r\n</script>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppySvgIcons.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppySvgIcons.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppySvgIcons.vue?vue&type=template&id=4ed3535a&\"\nimport script from \"./GuppySvgIcons.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppySvgIcons.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\r\n <ul class=\"at-chat_sidebar_footer\" v-click-outside=\"closeMenu\" @mouseover=\"toggleOverLay(true)\" @mouseleave=\"toggleOverLay(false)\">\r\n <li class=\"at-listonrespon\" v-if=\"isShowButton\">\r\n <div class=\"at-responmenu\">\r\n <div class=\"at-responsivelist\">\r\n <a href=\"javascript:void(0);\" v-if=\"isMessangerChat && isShowButton && isfloatingChat\" @click.prevent=\"showWidget()\" ><i class=\"guppy-x\"></i></a>\r\n <a class=\"at-menuicon\" @click.prevent=\"toogleMenu()\" href=\"javascript:void(0);\"><i class=\"guppy-menu\"></i></a>\r\n </div>\r\n <div class=\"at-imgresponsivearea\">\r\n <a href=\"javascript:void(0);\">\r\n <img :src=\"userProfile.userAvatar ? userProfile.userAvatar : defaultAvatar\" :alt=\"userProfile.userName\">\r\n </a>\r\n <div class=\"at-sidebar-item\">\r\n <h5 :style=\"!isfloatingChat && windowWidth <= 768 ? 'width : 100px' : ''\">{{userProfile.userName}}</h5>\r\n </div>\r\n </div>\r\n </div>\r\n </li> \r\n\r\n <li class=\"at-hasimage\" v-if=\"!isShowButton\"> \r\n <a href=\"javascript:void(0);\">\r\n <img :src=\"userProfile.userAvatar ? userProfile.userAvatar : defaultAvatar\" :alt=\"userProfile.userName\">\r\n <div v-if=\"userProfile.userName\" class=\"at-sidebar-item\">\r\n <h5>{{userProfile.userName}}</h5>\r\n </div>\r\n </a>\r\n </li>\r\n <template v-if=\"userId && Number(userType)\">\r\n <li @click.prevent=\"closeMenu()\" :class=\"{ 'active' : selectedActiveTab == 'contacts'}\" v-if=\"enableTabs.includes('contacts')\">\r\n <a href=\"javascript:void(0);\" id=\"at-contacts\" @click.prevent=\"activeTab('contacts')\" :class=\"{'at-newnotify': requestCount > 0 }\">\r\n <i class=\"guppy-users\"></i>\r\n <div class=\"at-sidebar-item\">\r\n <h6>{{TRANS.contact_tab_txt}}</h6>\r\n <em class=\"at-userchat_tab-noti\" v-if=\"requestCount > 0\">{{ requestCount >= 100 ? '+99' : requestCount }}</em>\r\n </div>\r\n </a>\r\n </li>\r\n <li @click.prevent=\"closeMenu()\" :class=\"{ 'active' : selectedActiveTab == 'friends'}\" v-if=\"enableTabs.includes('friends')\">\r\n <a href=\"javascript:void(0);\" id=\"at-friends\" @click.prevent=\"activeTab('friends')\">\r\n <i class=\"guppy-user-check\"></i>\r\n <div class=\"at-sidebar-item\">\r\n <h6>{{TRANS.friend_tab_txt}}</h6>\r\n </div>\r\n </a>\r\n </li>\r\n <li @click.prevent=\"closeMenu()\" :class=\"{ 'active' : selectedActiveTab == 'blocked'}\" v-if=\"enableTabs.includes('blocked')\">\r\n <a href=\"javascript:void(0);\" id=\"at-blocked-users\" @click.prevent=\"activeTab('blocked')\">\r\n <i class=\"guppy-user-x\"></i>\r\n <div class=\"at-sidebar-item\">\r\n <h6>{{TRANS.block_tab_txt}}</h6>\r\n </div>\r\n </a>\r\n </li>\r\n <li @click.prevent=\"closeMenu()\" :class=\"{ 'active' : selectedActiveTab == 'messages'}\" v-if=\"enableTabs.includes('messages') || enableTabs.includes('messages')\">\r\n <a href=\"javascript:void(0);\" id=\"at-messages\" @click.prevent=\"activeTab('messages')\" :class=\"{'at-newnotify': privateChatCount > 0 }\">\r\n <i class=\"guppy-message-square\"></i>\r\n <div class=\"at-sidebar-item\">\r\n <h6>{{TRANS.private_tab_txt}}</h6>\r\n <em class=\"at-userchat_tab-noti\" v-if=\"privateChatCount > 0\">{{ privateChatCount >= 100 ? '+99' : privateChatCount}}</em>\r\n </div>\r\n </a>\r\n </li>\r\n <li @click.prevent=\"closeMenu()\" :class=\"{ 'active' : selectedActiveTab == 'customer_support'}\" v-if=\"enableTabs.includes('customer_support')\">\r\n <a href=\"javascript:void(0);\" id=\"at-customer_support\" @click.prevent=\"activeTab('customer_support')\" :class=\"{'at-newnotify': adminSupportChatCount > 0 }\" >\r\n <guppy-svg-icons ImageColor=\"support\" :isActive=\"selectedActiveTab == 'customer_support'\"/>\r\n <div class=\"at-sidebar-item\">\r\n <h6>{{TRANS.customer_tab_txt}}</h6>\r\n <em class=\"at-userchat_tab-noti\" v-if=\"adminSupportChatCount > 0\">{{ adminSupportChatCount >= 100 ? '+99' : adminSupportChatCount}}</em>\r\n </div>\r\n </a>\r\n </li>\r\n <li @click.prevent=\"closeMenu(), activeTab('profile')\" :class=\"{ 'active' : selectedActiveTab == 'profile'}\">\r\n <a href=\"javascript:void(0);\">\r\n <i class=\"guppy-settings\"></i>\r\n <div class=\"at-sidebar-item\">\r\n <h6>{{TRANS.setting_tab_txt}}</h6>\r\n </div>\r\n </a>\r\n </li>\r\n </template>\r\n <template v-else-if=\"!Number(userType)\">\r\n <li class=\"active\" @click.prevent=\"closeMenu()\">\r\n <a href=\"javascript:void(0);\" id=\"at-customer_support\" @click.prevent=\"activeTab('customer_support')\" :class=\"{'at-newnotify': adminSupportChatCount > 0 }\" >\r\n <guppy-svg-icons ImageColor=\"support\" :isActive=\"true\"/>\r\n <div class=\"at-sidebar-item\">\r\n <h6>{{TRANS.customer_tab_txt}}</h6>\r\n <em class=\"at-userchat_tab-noti\" v-if=\"adminSupportChatCount > 0\">{{ adminSupportChatCount >= 100 ? '+99' : adminSupportChatCount}}</em>\r\n </div>\r\n </a>\r\n </li>\r\n <li v-if=\"isfloatingChat\" @click.prevent=\"closeMenu()\">\r\n <a href=\"javascript:void(0);\" id=\"at-login\" @click.prevent=\"login()\" >\r\n <i class=\"guppy-log-in\"></i>\r\n <div class=\"at-sidebar-item\">\r\n <h6>{{TRANS.login_tab_txt}}</h6>\r\n </div>\r\n </a>\r\n </li>\r\n </template>\r\n </ul>\r\n</template>\r\n\r\n<script>\r\n\r\nimport { mapState } from 'vuex';\r\nimport { GUPPYCHAT_SETTINGS, GUPPYCHAT_CONSTANTS } from '../../../resources/constants';\r\nimport GuppySvgIcons from \"../../EmptyViews/GuppySvgIcons.vue\";\r\nimport jQuery from 'jquery';\r\nexport default {\r\n components: { GuppySvgIcons },\r\n name: \"GuppyChatSidebarFooter\",\r\n data(){\r\n return{\r\n isMobileDevice: GUPPYCHAT_SETTINGS.isMobileDevice,\r\n defaultAvatar : GUPPYCHAT_CONSTANTS.AVATAR,\r\n toggleMenue : false,\r\n }\r\n },\r\n computed :mapState({\r\n privateChatCount : state => state.privateChatCount,\r\n userProfile : state => state.userProfile,\r\n requestCount : state => state.requestCount,\r\n adminSupportChatCount : state => state.adminSupportChatCount,\r\n selectedActiveTab : state => state.activeTab,\r\n enableTabs : function() {\r\n if(GUPPYCHAT_SETTINGS){\r\n return GUPPYCHAT_SETTINGS.enabledTabs\r\n }\r\n return [];\r\n },\r\n defaultActiveTab : function(){\r\n if(GUPPYCHAT_SETTINGS){\r\n return GUPPYCHAT_SETTINGS.defaultActiveTab;\r\n }\r\n return '';\r\n },\r\n isMessangerChat : state => state.isMessangerChat,\r\n isfloatingChat : state => state.isfloatingChat,\r\n windowWidth : state => state.windowWidth,\r\n isShowButton : state => { \r\n if(state.windowWidth <= 768){\r\n return true;\r\n }\r\n return false\r\n }\r\n }),\r\n methods:{\r\n login(){\r\n this.$root.$emit('toggleSignInWindow', true);\r\n if(this.isfloatingChat && this.windowWidth < 768 ){\r\n this.$root.$emit('showWidget')\r\n }\r\n },\r\n toogleMenu(){\r\n this.toggleMenue = !this.toggleMenue\r\n let targetClass = '.at-chat_sidebar_footer';\r\n let applyClass = 'at-sidebarshow';\r\n if(this.toggleMenue){\r\n jQuery(targetClass).addClass(applyClass);\r\n } else {\r\n jQuery(targetClass).removeClass(applyClass);\r\n }\r\n this.toggleOverLay(this.toggleMenue, true)\r\n },\r\n closeMenu(){\r\n jQuery('.at-chat_sidebar_footer').removeClass('at-sidebarshow');\r\n jQuery('.at-chat_sidebar').removeClass('at-ovelay');\r\n this.toggleMenue = false;\r\n },\r\n toggleOverLay(toggle, openMenu = false){\r\n if(this.windowWidth >= 768 || openMenu ){\r\n let targetClass = '.at-chat_sidebar';\r\n let applyClass = 'at-ovelay';\r\n let sibebarWidth = this.isfloatingChat ? '60px' : '70px';\r\n if(toggle){\r\n jQuery('ul.at-chat_sidebar_footer').css('width','270px')\r\n jQuery(targetClass).addClass(applyClass);\r\n } else {\r\n jQuery('ul.at-chat_sidebar_footer').css('width',sibebarWidth)\r\n jQuery(targetClass).removeClass(applyClass);\r\n }\r\n }\r\n },\r\n activeTab(data){\r\n this.$store.commit('selectTab', data);\r\n },\r\n showWidget(){\r\n this.$root.$emit('showWidget');\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style scoped>\r\n.at-chat_sidebar_footer {\r\n bottom: 0;\r\n margin: 0;\r\n padding: 0;\r\n z-index: 9;\r\n width: 70px;\r\n height: 100%;\r\n overflow: auto;\r\n overflow-x: hidden;\r\n line-height: 30px;\r\n position: absolute;\r\n display: inline-flex;\r\n flex-direction: column;\r\n background-color: #fff;\r\n justify-content: flex-start;\r\n border-right: 1px solid #eee;\r\n transition: width 0.5s ease;\r\n}\r\n.at-chat .at-chat_sidebar_footer{scrollbar-width: none;}\r\n.at-chat_sidebar_footer:hover{\r\n width: 270px;\r\n\r\n}\r\n.at-chat_sidebar_footer:hover .at-sidebar-item{ \r\n visibility: visible;\r\n opacity: 1;\r\n z-index: 1;\r\n}\r\n/* Sidebar */\r\n.at-sidebar-item {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n padding: 20px 20px 20px 0;\r\n border-left: 0;max-width: 200px;\r\n width: 200px;\r\n visibility: hidden;\r\n position: absolute;\r\n left: 60px;\r\n opacity: 0;\r\n transition: all 0.4s ease-in-out;\r\n z-index: -1;\r\n}\r\n.at-sidebar-item h6 {\r\n display: inline-flex;\r\n font-size: 16px;\r\n line-height: 19px;\r\n font-weight: 600 !important;\r\n text-transform: inherit !important;\r\n letter-spacing: 0.5px;\r\n margin: 0;\r\n}\r\n.at-sidebar-item h5 {\r\n margin: 0;\r\n text-transform: capitalize;\r\n font-size: 18px;\r\n line-height: 22px;\r\n letter-spacing: 0.5px;\r\n width: 170px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n}\r\n.at-sidebar-item span {\r\n display:inline-block;\r\n font-weight: 600;\r\n font-size: 13px;\r\n line-height: 16px;\r\n font-family: var(--primchatfont);\r\n\r\n}\r\n.at-chat_sidebar_footer::-webkit-scrollbar {\r\n width: 0;\r\n height: 0;\r\n}\r\n.at-chat_sidebar_footer .at-nestedsetting {padding:0;}\r\n.at-chat_sidebar_footer > li {\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-start;\r\n list-style-type: none;\r\n margin: 0;\r\n width: auto ;\r\n border: none ;\r\n box-shadow: inset 0px -1px 0px #EEEEEE;\r\n background:#fff;\r\n}\r\n .at-nestedsetting > li{\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-start;\r\n list-style-type: none;\r\n margin: 0;\r\n width: 260px;\r\n background: #fff;\r\n }\r\n .at-nestedsetting > li.active a::after {\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n content: '';\r\n width: 100%;\r\n height: 100%;\r\n }\r\n.at-chat_sidebar_footer > li:last-child{\r\n height: 100%;\r\n\r\n}\r\n.at-chat_sidebar_footer li.at-hasimage a {\r\n padding: 8px 10px !important;\r\n}\r\n.at-chat_sidebar_footer li > a {\r\n font-size: 20px;\r\n color: #999999;\r\n display: inline-flex;\r\n position: relative;\r\n width: auto;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n.at-chat_sidebar_footer li a svg {\r\n margin: 20px ;\r\n}\r\n.at-messanger-chat .at-chat_sidebar_footer li a svg{\r\n margin: 20px 25px;\r\n}\r\n.at-chat_sidebar_footer li:last-child{\r\n display: flex;\r\n align-items: flex-end;\r\n height: 60px;\r\n margin-top: auto;\r\n border-top: 1px solid #eee;\r\n}\r\n\r\n.at-chat_sidebar_footer li > a > i{\r\n padding: 20px;\r\n display: inline-block;\r\n} \r\n.at-messanger-chat .at-chat_sidebar_footer > li > a {\r\n width: auto;\r\n}\r\n.at-chat_sidebar_footer a img{\r\n max-width: 44px;\r\n border-radius: 50%;\r\n height: 44px;\r\n}\r\n\r\n.at-chat_sidebar_footer > li.active , .at-nestedsetting li.active{\r\n position: relative;\r\n box-shadow: inset 3px 0px 0px var(--primguppycolor), inset 0px -1px 0px #eeeeee;\r\n}\r\n\r\n.at-nestedsetting li.active {\r\n border-top: 1px solid #eee;\r\n box-shadow: inset 3px 0px 0px #ff7300, inset 0px 0px 0px #eeeeee;\r\n\r\n}\r\n.at-chat_sidebar_footer > li.active a{\r\n color: var(--secguppycolor);\r\n}\r\n\r\n.at-chat_sidebar_footer a .at-notify {\r\n pointer-events: none;\r\n top: -10px;\r\n left: 100%;\r\n position: absolute;\r\n margin-left: -10px;\r\n -webkit-box-shadow: 0 0 0 3px var(--secguppycolor);\r\n box-shadow: 0 0 0 3px var(--secguppycolor);\r\n font-family: var(--secchatfont);\r\n}\r\n.at-nestedsetting{\r\n width:100%;\r\n height: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: flex-end;\r\n padding: 0;\r\n margin: 0;\r\n transition: all 0.4s ease-in-out;\r\n background:#fff;\r\n}\r\n.at-nestedsetting li{\r\n box-shadow: inset 0px 1px 0px #EEEEEE;\r\n}\r\n.at-nestedsetting li.active a{\r\n color: var(--secguppycolor);\r\n}\r\n.at-messanger-chat .at-chat_sidebar_footer li.at-hasimage {\r\n justify-content:flex-start;\r\n}\r\n.at-messanger-chat .at-chat_sidebar_footer li , \r\n.at-messanger-chat .at-nestedsetting > li{\r\n width: 70px;\r\n}\r\n.at-messanger-chat .at-chat_sidebar_footer li a , \r\n.at-messanger-chat .at-nestedsetting > li a{\r\n padding: 0;\r\n width: 70px;\r\n}\r\n.at-messanger-chat .at-chat_sidebar_footer:hover li , \r\n.at-messanger-chat .at-nestedsetting:hover li {\r\n width: 270px;\r\n}\r\n.at-messanger-chat .at-nestedsetting li{\r\n width: 70px;\r\n}\r\n.at-chat_sidebar_footer .at-hasimage .at-sidebar-item {\r\n padding: 0 10px;\r\n}\r\n.at-chat_sidebar_footer > li {\r\n width: 270px;\r\n}\r\n.at-messanger-chat .at-chat_sidebar_footer a i{\r\n padding: 19.5px 25px;\r\n}\r\n.at-messanger-chat .at-sidebar-item {\r\n left: 70px;\r\n}\r\n\r\n.at-responmenu {\r\n display: flex;\r\n width:100%;\r\n}\r\n.at-responsivelist {\r\n display: flex;\r\n flex-direction: column;\r\n width: 60px;\r\n}\r\n.at-messanger-chat .at-responsivelist {\r\n width: 70px;\r\n}\r\n.at-imgresponsivearea {\r\n display: flex;\r\n padding: 14px 20px;\r\n align-items: flex-start;\r\n border-left: 1px solid #eee;\r\n border-bottom: 1px solid #eee;\r\n width: 100%;\r\n}\r\n.at-imgresponsivearea > a{\r\n padding: 0 !important;\r\n}\r\n.at-imgresponsivearea a {\r\n display: flex;\r\n padding: 0 !important;\r\n}\r\n.at-imgresponsivearea .at-sidebar-item {\r\n padding: 0;\r\n border: 0;\r\n flex-direction: column;\r\n margin: 10px 0 0;\r\n position: relative;\r\n align-items: flex-start;\r\n left: 0;\r\n max-width: 100%;\r\n width: 100%;\r\n}\r\n.at-responsivelist a {\r\n font-size: 20px;\r\n color: #999999;\r\n display: inline-flex;\r\n position: relative;\r\n width: auto;\r\n justify-content: center;\r\n align-items: center;\r\n box-shadow: inset 0px -1px 0px #EEEEEE;\r\n padding: 18px 20px;\r\n\r\n}\r\n.at-responsivelist a:focus{\r\n box-shadow: inset 0px -1px 0px #eeeeee !important;\r\n}\r\n.at-sidebarshow .at-menuicon{\r\n background: #F7F8FC !important;\r\n}\r\n.at-menuicon{\r\n box-shadow: inset 0px -1px 0px #EEEEEE;\r\n}\r\n.at-chat_sidebar_footer .at-listonrespon{\r\n box-shadow:none;\r\n}\r\n.at-sidebarshow {\r\n width: 260px !important;\r\n}\r\n.at-messanger-chat .at-chat_sidebar_footer:hover {\r\n width: 270px;\r\n}\r\n@media (max-width: 767px){\r\n .at-imgresponsivearea {\r\n padding: 7px 20px;\r\n}\r\n .gp-chat_previewfloat .at-imgresponsivearea {\r\n flex-direction: column;\r\n justify-content: center;\r\n }\r\n .gp-chat_previewfloat .at-imgresponsivearea .at-sidebar-item {\r\n margin-left: 0;\r\n }\r\n .at-chat_sidebar_footer:hover {\r\n width: 60px;\r\n }\r\n .at-messanger-chat .at-chat_sidebar_footer:hover {\r\n width: 70px;\r\n }\r\n .at-messanger-chat .at-imgresponsivearea a { \r\n border: 0 !important;\r\n }\r\n .at-messanger-chat .at-userchat_tab a {\r\n padding: 14px 10px;\r\n}\r\n.at-messanger-chat .at-userlist_tab .at-sidebarhead_searchv2 {\r\n padding: 9.5px 0;\r\n}\r\n.at-chat_sidebar_footer .at-sidebar-item{\r\n visibility: visible;\r\n opacity: 1;\r\n z-index: 1;\r\n}\r\n.at-imgresponsivearea .at-sidebar-item {\r\n margin: 10px 0 0 10px;\r\n}\r\n}\r\n @media (max-width: 480px){\r\n .at-imgresponsivearea {\r\n padding: 7px 20px;\r\n }\r\n .at-empty-conversation i {\r\n font-size: 27px;\r\n }\r\n }\r\n</style>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatSidebarFooter.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatSidebarFooter.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatSidebarFooter.vue?vue&type=template&id=6d25bf73&scoped=true&\"\nimport script from \"./GuppyChatSidebarFooter.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatSidebarFooter.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuppyChatSidebarFooter.vue?vue&type=style&index=0&id=6d25bf73&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6d25bf73\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-userlist_tab\",attrs:{\"id\":\"friendlist\"}},[_c('div',{staticClass:\"at-sidebarhead_search at-sidebarhead_searchv2\"},[_c('div',{staticClass:\"at-form-group\"},[_c('i',{staticClass:\"guppy-search\"}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.search),expression:\"search\"}],staticClass:\"at-form-control\",attrs:{\"type\":\"search\",\"name\":\"search\",\"placeholder\":_vm.TRANS.search},domProps:{\"value\":(_vm.search)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.search=$event.target.value},function($event){return _vm.searchBlockUser()}]}})])]),(Object.keys(_vm.blockList).length)?_c('ul',{staticClass:\"conversation-list\",on:{\"scroll\":function($event){$event.preventDefault();return _vm.blockListScrollHandler($event)}}},[_vm._l((_vm.blockList),function(blockUser){return _c('li',{key:blockUser.chatId+Math.floor(Math.random() * 10000),staticClass:\"at-userbar\"},[_c('figure',{staticClass:\"at-userbar_profile at-blockuser\"},[_c('i',{staticClass:\"guppy-slash\"}),_c('img',{attrs:{\"src\":blockUser.userAvatar,\"alt\":blockUser.userName}})]),(blockUser.userName)?_c('div',{staticClass:\"at-userbar_title\"},[_c('h3',[_vm._v(_vm._s(_vm._f(\"capitalize\")(blockUser.userName)))])]):_vm._e(),_c('div',{staticClass:\"at-userbar_right\"},[_c('a',{staticClass:\"at-btn-blocked\",class:{'at-disable-btn' : _vm.activeUser == 'block_user_'+blockUser.chatId },attrs:{\"href\":\"javascript:void(0);\",\"id\":'block_user_'+blockUser.chatId},on:{\"click\":function($event){$event.preventDefault();return _vm.unblockUser( blockUser.chatId, 'block_user_'+blockUser.chatId )}}},[_vm._v(\" \"+_vm._s(_vm.TRANS.unblock))])])])}),(_vm.isLoading)?_c('guppy-chat-inner-loader'):_vm._e()],2):[(_vm.isLoading)?_c('guppy-chat-loader'):_c('guppy-chat-empty-view',{attrs:{\"isSidebarProps\":true,\"listIcon\":'guppy-user-x'}})]],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-empty-conversation\"},[(_vm.svgIcon)?_c('guppy-svg-icons',{attrs:{\"isEmptyView\":true,\"ImageColor\":_vm.listIcon}}):_c('i',{class:_vm.listIcon}),(_vm.isSidebarProps)?_c('span',[_vm._v(_vm._s(_vm.TRANS.no_results))]):_c('span',[_vm._v(_vm._s(_vm.TRANS.admin_start_conversation))])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"at-empty-conversation\">\r\n <guppy-svg-icons v-if=\"svgIcon\" :isEmptyView=\"true\" :ImageColor=\"listIcon\"/>\r\n <i v-else :class=\"listIcon\"></i>\r\n <span v-if=\"isSidebarProps\">{{TRANS.no_results}}</span>\r\n <span v-else>{{TRANS.admin_start_conversation}}</span>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import GuppySvgIcons from \"./GuppySvgIcons.vue\";\r\n export default {\r\n name : \"EmptyView\",\r\n props: {\r\n isSidebarProps : {\r\n type : Boolean,\r\n default : false,\r\n required : false\r\n },\r\n listIcon : {\r\n type : String,\r\n default : '',\r\n required : false\r\n },\r\n svgIcon : {\r\n type : Boolean,\r\n default : false,\r\n required : false\r\n },\r\n },\r\n components : {\r\n GuppySvgIcons\r\n }\r\n }\r\n</script>\r\n\r\n<style>\r\n.at-empty-conversation {\r\n text-align: center;\r\n background-color: #F7F7F7;\r\n flex-direction: column;\r\n align-items: center;\r\n justify-content: center;\r\n height: 100%;\r\n display: -ms-flexbox;\r\n display: flex;\r\n -ms-flex-wrap: wrap;\r\n flex-wrap: wrap;\r\n}\r\n.at-empty-conversation i {\r\n color: var(--primguppycolor);\r\n font-size: 52px;\r\n display: block;\r\n margin-bottom: 20px;\r\n}\r\n.at-empty-conversation span {\r\n color: var(--terguppycolor);\r\n display: block;\r\n font: 500 18px/30px var(--primchatfont);\r\n}\r\n @media (max-width: 480px){\r\n\r\n .at-empty-conversation i {\r\n font-size: 27px;\r\n margin: 0 0 12px;\r\n }\r\n }\r\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatEmptyView.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatEmptyView.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatEmptyView.vue?vue&type=template&id=869518dc&\"\nimport script from \"./GuppyChatEmptyView.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatEmptyView.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuppyChatEmptyView.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-empty-conversation\"},[_vm._m(0),_c('span',[_vm._v(_vm._s(_vm.TRANS.search_results))])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-chatloader\"},[_c('span'),_c('span'),_c('span'),_c('span'),_c('span'),_c('span'),_c('span'),_c('span')])}]\n\nexport { render, staticRenderFns }","<template v-if=\"listItem\">\r\n <div class=\"at-empty-conversation\"><div class=\"at-chatloader\"><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span></div><span>{{TRANS.search_results}}</span></div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name : \"GuppyChatLoader\",\r\n}\r\n</script>\r\n\r\n<style>\r\n.at-userbar_loader {\r\n position: absolute;\r\n bottom: 0;\r\n border: 0 !important;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n height: 100%;\r\n width: 100%;\r\n}\r\n.at-userbar_loader .at-spinericon {\r\n display: inline-block;\r\n line-height: 64px;\r\n}\r\n.at-spinericon {\r\n color: var(--terguppycolor) !important;\r\n -webkit-animation: spinericon 2s linear infinite;\r\n animation: spinericon 2s linear infinite;\r\n}\r\n.at-userbar_loader span {\r\n text-align: center;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n width: 64px;\r\n line-height: 64px;\r\n background: #FFFFFF;\r\n font-size: 24px;\r\n border-radius: 40px;\r\n}\r\n@-webkit-keyframes spinericon {\r\n 0% {\r\n -webkit-transform: rotate(0deg);\r\n transform: rotate(0deg);\r\n }\r\n to {\r\n -webkit-transform: rotate(1turn);\r\n transform: rotate(1turn);\r\n }\r\n}\r\n@keyframes spinericon {\r\n 0% {\r\n -webkit-transform: rotate(0deg);\r\n transform: rotate(0deg);\r\n }\r\n to {\r\n -webkit-transform: rotate(1turn);\r\n transform: rotate(1turn);\r\n }\r\n}\r\n.at-chatloader {\r\n width: 52px;\r\n height: 52px;\r\n margin: 0 0 20px;\r\n position: relative;\r\n transform: translateZ(0) scale(0.52);\r\n transform-origin: 0 0;\r\n}\r\n.at-chatloader span {\r\n left: 49px;\r\n top: 0px;\r\n position: absolute;\r\n animation: at-chatloader linear 0.78125s infinite;\r\n background: var(--terguppycolor);\r\n width: 5.8px;\r\n height: 25px;\r\n border-radius: 1.5px;\r\n transform-origin: 1px 49px;\r\n display: block;\r\n}\r\n.at-chatloader span:nth-child(1) {\r\n transform: rotate(0deg);\r\n animation-delay: -0.68359375s;\r\n}\r\n.at-chatloader span:nth-child(2) {\r\n transform: rotate(45deg);\r\n animation-delay: -0.5859375s;\r\n}\r\n.at-chatloader span:nth-child(3) {\r\n transform: rotate(90deg);\r\n animation-delay: -0.48828125s;\r\n}\r\n.at-chatloader span:nth-child(4) {\r\n transform: rotate(135deg);\r\n animation-delay: -0.390625s;\r\n}\r\n.at-chatloader span:nth-child(5) {\r\n transform: rotate(180deg);\r\n animation-delay: -0.29296875s;\r\n}\r\n.at-chatloader span:nth-child(6) {\r\n transform: rotate(225deg);\r\n animation-delay: -0.1953125s;\r\n}\r\n.at-chatloader span:nth-child(7) {\r\n transform: rotate(270deg);\r\n animation-delay: -0.09765625s;\r\n}\r\n.at-chatloader span:nth-child(8) {\r\n transform: rotate(315deg);\r\n animation-delay: 0s;\r\n}\r\n@keyframes at-chatloader {\r\n 0% { opacity: 1 }\r\n 100% { opacity: 0 }\r\n}\r\n.at-empty-conversation{\r\n width: 100%;\r\n background: transparent;\r\n z-index: -2;\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n align-items: center;\r\n height: 100%;\r\n margin: 60px 0 0;\r\n}\r\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatLoader.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatLoader.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatLoader.vue?vue&type=template&id=62d27116&v-if=listItem&\"\nimport script from \"./GuppyChatLoader.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatLoader.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuppyChatLoader.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:\"at-userbar_loader at-inner-loaader\"},[_c('span',[_c('i',{staticClass:\"at-spinericon\"})])])}]\n\nexport { render, staticRenderFns }","<template v-if=\"listItem\">\r\n <li class=\"at-userbar_loader at-inner-loaader\">\r\n <span><i class=\"at-spinericon\"></i></span>\r\n </li>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name : \"GuppyChatInnerLoader\",\r\n}\r\n</script>\r\n\r\n<style>\r\n.at-userbar_loader.at-inner-loaader,\r\n .at-inner-loaader{\r\n height: 134px;\r\n bottom: 60px;\r\n background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 59.37%);\r\n }\r\n .at-inner-loaader span{\r\n height: 64px;\r\n }\r\n .at-inner-loaader i{\r\n width: 24px;\r\n height: 24px;\r\n border: 3px solid #ddd;\r\n border-right-color: #fff;\r\n border-radius: 50px 50px 50px 50px;\r\n animation: spinericon 1s linear infinite;\r\n }\r\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatInnerLoader.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatInnerLoader.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatInnerLoader.vue?vue&type=template&id=466fc54c&v-if=listItem&\"\nimport script from \"./GuppyChatInnerLoader.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatInnerLoader.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuppyChatInnerLoader.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\r\n <div id=\"friendlist\" class=\"at-userlist_tab\">\r\n <div class=\"at-sidebarhead_search at-sidebarhead_searchv2\">\r\n <div class=\"at-form-group\">\r\n <i class=\"guppy-search\"></i>\r\n <input \r\n v-model=\"search\"\r\n @input=\"searchBlockUser()\" \r\n type=\"search\" \r\n class=\"at-form-control\" \r\n name=\"search\" \r\n :placeholder=\"TRANS.search\" />\r\n </div>\r\n </div>\r\n <ul v-if=\"Object.keys(blockList).length\" @scroll.prevent=\"blockListScrollHandler($event)\" class=\"conversation-list\">\r\n <li class=\"at-userbar\" v-for=\"blockUser in blockList\" :key=\"blockUser.chatId+Math.floor(Math.random() * 10000)\">\r\n <figure class=\"at-userbar_profile at-blockuser\">\r\n <i class=\"guppy-slash\"></i>\r\n <img :src=\"blockUser.userAvatar\" :alt=\"blockUser.userName\">\r\n </figure>\r\n <div v-if=\"blockUser.userName\" class=\"at-userbar_title\">\r\n <h3>{{ blockUser.userName | capitalize }}</h3>\r\n </div>\r\n <div class=\"at-userbar_right\">\r\n <a href=\"javascript:void(0);\" \r\n @click.prevent=\"unblockUser( blockUser.chatId, 'block_user_'+blockUser.chatId )\" \r\n :id=\"'block_user_'+blockUser.chatId\" :class=\"{'at-disable-btn' : activeUser == 'block_user_'+blockUser.chatId }\"\r\n class=\"at-btn-blocked\">\r\n {{TRANS.unblock}}</a>\r\n </div>\r\n </li>\r\n <guppy-chat-inner-loader v-if=\"isLoading\"/>\r\n </ul>\r\n <template v-else>\r\n <guppy-chat-loader v-if=\"isLoading\"/>\r\n <guppy-chat-empty-view v-else :isSidebarProps=\"true\" :listIcon=\"'guppy-user-x'\"/> \r\n </template>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport GuppyChatEmptyView from \"../../EmptyViews/GuppyChatEmptyView.vue\";\r\nimport GuppyChatLoader from \"../../GuppyChatLoader/GuppyChatLoader.vue\";\r\nimport GuppyChatInnerLoader from \"../../GuppyChatLoader/GuppyChatInnerLoader.vue\";\r\nimport GuppyChatManager from \"../../../resources/controller\"\r\nimport RestApiManager from \"../../../resources/RestApiController\";\r\nimport { mapState } from 'vuex';\r\nexport default {\r\n name : \"GuppyChatBlockUserList\",\r\n components:{\r\n GuppyChatEmptyView,\r\n GuppyChatLoader,\r\n GuppyChatInnerLoader\r\n },\r\n data(){\r\n return{\r\n search : '',\r\n userStatus : 3,\r\n activeUser : '',\r\n timer : null,\r\n }\r\n },\r\n computed :mapState({\r\n blockList : state => state.blockList,\r\n blockListFlag : state => state.blockListFlag,\r\n blockListOffset : state => state.blockListOffset,\r\n noMoreBlockUsers : state => state.noMoreBlockUsers,\r\n blockUserSearch : state => state.blockUserSearch,\r\n }),\r\n methods:{\r\n searchBlockUser(){\r\n this.$store.commit('updateRecordList', {RecordList: 'noMoreBlockUsers', RecordListValue: false});\r\n this.isScrolling = false;\r\n clearTimeout(this.timer); \r\n this.timer = setTimeout(()=>{\r\n this.updateListRecord( {} );\r\n this.$store.commit('updateOffset', { offset:'blockListOffset', offsetValue: 0 });\r\n this.$store.commit('updateSearch', {search:'blockUserSearch', searchValue: this.search});\r\n this.getBlockUser();\r\n this.updateOffset();\r\n }, 800)\r\n },\r\n async getBlockUser(){\r\n if ( !this.noMoreBlockUsers ) {\r\n this.isLoading = true;\r\n let response = await RestApiManager.getContactList(this.blockListOffset,this.userStatus, this.search)\r\n this.isLoading = false;\r\n if( response.data.type == \"success\" ) {\r\n let currentMoreRecord = Object.keys(response.data.contacts).length == 0 ? true : false;\r\n this.$store.commit('updateRecordList', {RecordList: 'noMoreBlockUsers', RecordListValue: currentMoreRecord});\r\n if(!this.blockListFlag){\r\n this.$store.commit('updateListFlag', {flag: 'blockListFlag', flagValue:true});\r\n }\r\n this.updateListRecord( response.data.contacts );\r\n } else if( response.data.type == \"error\" ) {\r\n\t\t\t\t\tthis.alertBox('error', this.TRANS.error_title, response.data.message_desc);\r\n\t\t\t\t}\r\n }\r\n },\r\n updateOffset(){\r\n let currentOffset = this.blockListOffset + this.RecordLimit;\r\n this.$store.commit('updateOffset', {offset:'blockListOffset', offsetValue: currentOffset});\r\n },\r\n async unblockUser( receiverId, activeUser ){\r\n let data = {\r\n 'statusType': 4,\r\n 'actionTo' : receiverId,\r\n 'userId' : this.userId,\r\n }\r\n\r\n this.activeUser = activeUser;\r\n let response = await GuppyChatManager.updateUserStatus(data);\r\n if( response.data.type == \"success\" ) {\r\n let data = response.data.userData\r\n data['statusText'] = 'invite';\r\n this.$store.commit('UpdateSelectUserStatus', data );\r\n } else if( response.data.type == \"error\" ) {\r\n this.alertBox('error', this.TRANS.error_title, response.data.message_desc);\r\n }\r\n this.activeUser = '';\r\n },\r\n blockListScrollHandler(elem) {\r\n if (\r\n (elem.target.offsetHeight + elem.target.scrollTop) >=\r\n elem.target.scrollHeight\r\n ) {\r\n this.isScrolling = true;\r\n this.getBlockUser();\r\n this.updateOffset();\r\n }\r\n },\r\n updateListRecord( recList ){\r\n let data = {\r\n 'list' : recList,\r\n 'listType' : 'blockList',\r\n 'isScrolling' : this.isScrolling\r\n }\r\n this.$store.commit('updateTabListRecord', data)\r\n }\r\n },\r\n created(){\r\n if( !Object.keys(this.blockList).length || !this.blockListFlag){\r\n this.getBlockUser();\r\n this.updateOffset();\r\n }\r\n },\r\n mounted(){\r\n this.search = this.blockUserSearch;\r\n }\r\n\r\n}\r\n</script>\r\n\r\n<style>\r\n .conversation-list{\r\n height : 600px;\r\n overflow-y : auto;\r\n margin : 0;\r\n padding : 0;\r\n }\r\n</style>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatBlockUserList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatBlockUserList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatBlockUserList.vue?vue&type=template&id=52bdfc78&\"\nimport script from \"./GuppyChatBlockUserList.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatBlockUserList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuppyChatBlockUserList.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-sidbarwrapper at-userlist_tab at-contacts_list\"},[_c('div',{staticClass:\"at-userchat_tab\"},[_c('a',{class:{'at-tabactive': _vm.selectedTab == 'contacts'},attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();_vm.selectedTab = 'contacts'}}},[_c('i',{staticClass:\"guppy-user\"}),_c('span',[_vm._v(\" \"+_vm._s(_vm.TRANS.contacts)+\" \")])]),_c('a',{class:{'at-tabactive': _vm.selectedTab == 'requests'},attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();_vm.selectedTab = 'requests'}}},[_c('i',{staticClass:\"guppy-user-plus\"}),_c('span',[_vm._v(\" \"+_vm._s(_vm.TRANS.requests_heading)+\" \")]),(_vm.requestCount)?_c('em',{staticClass:\"at-userchat_tab-noti\"},[_vm._v(_vm._s(_vm.requestCount > 99 ? '+99': _vm.requestCount))]):_vm._e()])]),(_vm.selectedTab == 'contacts')?[_c('contact-list')]:(_vm.selectedTab == 'requests')?[_c('requests-list')]:_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-userlist_tab active\",attrs:{\"id\":\"userlist\"}},[_c('div',{staticClass:\"at-sidebarhead_search at-sidebarhead_searchv2\"},[_c('div',{staticClass:\"at-form-group\"},[_c('i',{staticClass:\"guppy-search\"}),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.search),expression:\"search\",modifiers:{\"trim\":true}}],staticClass:\"form-control\",attrs:{\"type\":\"search\",\"name\":\"search\",\"placeholder\":_vm.TRANS.search},domProps:{\"value\":(_vm.search)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.search=$event.target.value.trim()},function($event){return _vm.searchUser()}],\"blur\":function($event){return _vm.$forceUpdate()}}})])]),(Object.keys(_vm.contactList).length)?_c('ul',{staticClass:\"user-list\",on:{\"scroll\":function($event){$event.preventDefault();return _vm.userScrollHandler($event)}}},[_vm._l((_vm.contactList),function(user){return _c('guppy-chat-user-list-item',{key:user.chatId,attrs:{\"userProps\":user,\"tab\":\"contacts\"}})}),(_vm.isLoading)?_c('guppy-chat-inner-loader'):_vm._e()],2):[(_vm.isLoading)?_c('guppy-chat-loader'):_c('guppy-chat-empty-view',{attrs:{\"isSidebarProps\":true,\"listIcon\":'guppy-users'}})]],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:\"at-userbar\",attrs:{\"id\":_vm.userProps.chatId + '_' + Math.floor(Math.random() * 99999999)}},[_c('figure',{staticClass:\"at-userbar_profile\"},[_c('span',{staticClass:\"at-userstatus\",class:_vm.userProps.isOnline ? 'online' : 'offline'}),_c('img',{attrs:{\"src\":_vm.userProps.userAvatar ? _vm.userProps.userAvatar : _vm.defaultAvatar,\"alt\":_vm.userProps.userName}})]),(_vm.userProps.userName)?_c('div',{staticClass:\"at-userbar_title\"},[_c('h3',[_vm._v(_vm._s(_vm._f(\"capitalize\")(_vm.userProps.userName)))])]):_vm._e(),_c('div',{staticClass:\"at-userbar_right\"},[( _vm.tab == 'contacts' && _vm.autoInvite)?_c('a',{staticClass:\"at-btn-sm at-linebtn\",class:{'at-disable-btn' : _vm.isLoading },attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();return _vm.updateUserStatus(1)}}},[_vm._v(\" \"+_vm._s(_vm.TRANS.start_chat_txt)+\" \")]):_c('a',{staticClass:\"at-btn-sm\",class:_vm.isLoading ? 'at-disable-btn' :\n _vm.userProps.statusText == 'sent' ? 'at-sendbtn' : \n _vm.userProps.statusText == 'respond' ? '' : \n _vm.userProps.statusText == 'resend' ? 'at-btn-resend' : \n _vm.userProps.statusText == 'invite' ? 'at-btn-link' : '',attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();return _vm.updateUserStatus(0)}}},[_vm._v(\" \"+_vm._s(_vm.StatusText[_vm.userProps.statusText])+\" \"),(_vm.userProps.statusText == 'invite')?_c('i',{staticClass:\"guppy-plus\"}):(_vm.userProps.statusText == 'sent')?_c('i',{staticClass:\"guppy-check\"}):_vm._e(),(_vm.userProps.statusText == 'resend' )?_c('span',{staticClass:\"at-infotolltip\"},[_c('i',{staticClass:\"guppy-info\"}),_c('em',[_vm._v(_vm._s(_vm.TRANS.decline_user))])]):_vm._e()])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <li class=\"at-userbar\" :id=\"userProps.chatId + '_' + Math.floor(Math.random() * 99999999)\">\r\n <figure class=\"at-userbar_profile\">\r\n <span class=\"at-userstatus\" :class=\"userProps.isOnline ? 'online' : 'offline'\"></span>\r\n <img :src=\"userProps.userAvatar ? userProps.userAvatar : defaultAvatar\" :alt=\"userProps.userName\" />\r\n </figure>\r\n <div v-if=\"userProps.userName\" class=\"at-userbar_title\">\r\n <h3>{{ userProps.userName | capitalize}}</h3>\r\n </div>\r\n <div class=\"at-userbar_right\">\r\n <!-- for atuo start chat invite button -->\r\n <a v-if=\" tab == 'contacts' && autoInvite\" class=\"at-btn-sm at-linebtn\" :class=\"{'at-disable-btn' : isLoading }\" href=\"javascript:void(0);\" @click.prevent=\"updateUserStatus(1)\"> {{TRANS.start_chat_txt}} </a>\r\n <a v-else href=\"javascript:void(0);\" @click.prevent=\"updateUserStatus(0)\" class=\"at-btn-sm\" \r\n :class=\" \r\n isLoading ? 'at-disable-btn' :\r\n userProps.statusText == 'sent' ? 'at-sendbtn' : \r\n userProps.statusText == 'respond' ? '' : \r\n userProps.statusText == 'resend' ? 'at-btn-resend' : \r\n userProps.statusText == 'invite' ? 'at-btn-link' : ''\" >\r\n {{StatusText[userProps.statusText]}}\r\n <i v-if=\"userProps.statusText == 'invite'\" class=\"guppy-plus\"></i>\r\n <i v-else-if=\"userProps.statusText == 'sent'\" class=\"guppy-check\"></i>\r\n <span class=\"at-infotolltip\" v-if=\"userProps.statusText == 'resend' \">\r\n <i class=\"guppy-info\"></i><em>{{TRANS.decline_user}}</em>\r\n </span>\r\n </a>\r\n </div>\r\n </li>\r\n</template>\r\n\r\n<script>\r\nimport { GUPPYCHAT_CONSTANTS, GUPPYCHAT_SETTINGS } from \"../../../resources/constants\";\r\nimport GuppyChatManager from \"../../../resources/controller\";\r\nimport { mapState } from 'vuex';\r\n\r\nexport default {\r\n name : \"GuppyChatUserListItem\",\r\n props: ['userProps', 'tab'],\r\n data(){\r\n return {\r\n defaultAvatar : GUPPYCHAT_CONSTANTS.AVATAR,\r\n isDisabled : false,\r\n userStatusClass : '',\r\n oldVal : ''\r\n }\r\n },\r\n computed :{ ...mapState({\r\n autoInvite: state => state.autoInvite,\r\n isMessangerChat: state => state.isMessangerChat,\r\n }),\r\n },\r\n methods:{\r\n async updateUserStatus(startChat){\r\n if( this.userProps.statusText == 'respond' && !startChat){\r\n this.$store.dispatch('userResponse', this.userProps);\r\n if(!this.isMessangerChat){\r\n this.$root.$emit('openPopUp', { type : 'acceptInvite' });\r\n }\r\n } else {\r\n let data = {\r\n 'sendTo' : this.userProps.chatId.split('_')[0],\r\n 'userId' : this.userId,\r\n 'startChat' : startChat\r\n }\r\n this.isLoading = true;\r\n let response = await GuppyChatManager.sendGuppyInvite(data);\r\n if(response){\r\n this.isLoading = false;\r\n if( response.data.type == \"success\" ) {\r\n let friendData = response.data.friendData;\r\n \r\n if(friendData.chatId in this.$store.state.requestList){\r\n this.$store.commit('deleteRecord', {recordList : 'requestList', key : friendData.chatId})\r\n }\r\n if(response.data.autoInvite){\r\n if(!GUPPYCHAT_SETTINGS.pusherEnable && !GUPPYCHAT_SETTINGS.socketEnable){\r\n this.$store.commit('startChat', { friendData: response.data.friendData, messagelistData : response.data.messagelistData } );\r\n } else {\r\n if(startChat){\r\n this.$store.commit('removeContactListItem', {chatId : this.userProps.chatId } );\r\n }\r\n }\r\n }\r\n this.userProps.statusText = 'sent';\r\n this.userStatusClass = 'at-disabled';\r\n this.isDisabled = true;\r\n } else if( response.data.type == \"error\" ) {\r\n this.alertBox('error', this.TRANS.error_title, response.data.message_desc);\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\n</script>\r\n\r\n<style>\r\n.at-userbar {\r\n padding: 14px 20px !important;\r\n display: flex;\r\n align-items: center;\r\n cursor: pointer;\r\n transition: all 0.3s ease-in-out;\r\n}\r\n.at-userbar.active .at-userbar_profile,\r\n.at-userbar:hover .at-userbar_profile{background-color: unset;}\r\n.at-userbar.active,\r\n.at-userbar:hover {\r\n background: #F7F8FC;\r\n}\r\n.at-userbar_profile {\r\n flex: none;\r\n width: 100%;\r\n max-width: 40px;\r\n height: 40px;\r\n border-radius: 50px;\r\n margin: 0;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n background: #f7f7f7;\r\n transition: all 0.3s ease-in-out;\r\n position: relative;\r\n}\r\n.at-userbar_profile .at-userstatus{\r\n right: 0;\r\n bottom: 0;\r\n z-index: 0;\r\n position: absolute;\r\n}\r\n.at-userbar_profile .at-userstatus:before{\r\n margin: 0;\r\n width: 8px;\r\n height: 8px;\r\n outline: 2px solid #fff;\r\n}\r\n.at-userbar.active .at-userbar_profile .at-userstatus:before,\r\n.at-userbar:hover .at-userbar_profile .at-userstatus:before{\r\n border-color: #f7f7f7; \r\n}\r\n.at-userbar_profile .at-userstatus:before{background: #DDDDDD;}\r\n.at-userbar_profile img {\r\n width: 100%;\r\n margin: 0 auto;\r\n height: 44px;\r\n display: block;\r\n object-fit: cover;\r\n border-radius: 50px !important;\r\n}\r\n.at-userbar_profile + .at-userbar_title{\r\n margin-left: 12px;\r\n}\r\n.at-userbar_title {\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n}\r\n.at-userbar_title h3 {\r\n font-size: 16px;\r\n line-height: 21px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n margin: 0;\r\n text-overflow: ellipsis;\r\n font-weight: 600 !important;\r\n}\r\n.at-chat_previewfloat .at-userbar_title h3 {\r\n font-size: 15px;\r\n line-height: 21px;\r\n}\r\n.at-userbar_title span {\r\n font-size: 14px;\r\n line-height: 22px;\r\n display: block;\r\n letter-spacing: 0.01em;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n}\r\n.at-userbar_title span i {\r\n font-size: 16px;\r\n color: var(--terguppycolor);\r\n margin-right: 5px;\r\n line-height: 22px;\r\n display: inline-block;\r\n vertical-align: middle;\r\n}\r\n.at-userbar_right {\r\n display: inline-flex;\r\n text-align: right;\r\n margin-left: auto;\r\n flex: none;\r\n padding-left: 10px;\r\n margin-top: 1px;\r\n}\r\n.at-userbar_right em {\r\n margin-left:8px;\r\n}\r\n.at-userbar_right a{text-decoration: none !important;}\r\n.at-userbar_right > span {\r\n display: block;\r\n font-size: 13px;\r\n line-height: 22px;\r\n color: var(--terguppycolor);\r\n}\r\n.at-userbar:hover .at-disabled {\r\n background-color: #fff;\r\n}\r\n\r\n</style>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatUserListItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatUserListItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatUserListItem.vue?vue&type=template&id=026b26da&\"\nimport script from \"./GuppyChatUserListItem.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatUserListItem.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuppyChatUserListItem.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\r\n <div id=\"userlist\" class=\"at-userlist_tab active\">\r\n <div class=\"at-sidebarhead_search at-sidebarhead_searchv2\">\r\n <div class=\"at-form-group\">\r\n <i class=\"guppy-search\"></i>\r\n <input \r\n @input=\"searchUser()\" \r\n v-model.trim=\"search\" \r\n type=\"search\" \r\n class=\"form-control\" \r\n name=\"search\" \r\n :placeholder=\"TRANS.search\" />\r\n </div>\r\n </div>\r\n <ul class=\"user-list\" v-if=\"Object.keys(contactList).length\" @scroll.prevent=\"userScrollHandler($event)\" >\r\n <guppy-chat-user-list-item\r\n v-for=\"(user) in contactList\"\r\n :key=\"user.chatId\"\r\n :userProps=\"user\"\r\n tab=\"contacts\"\r\n />\r\n <guppy-chat-inner-loader v-if=\"isLoading\"/>\r\n </ul>\r\n <template v-else>\r\n <guppy-chat-loader v-if=\"isLoading\"/>\r\n <guppy-chat-empty-view v-else :isSidebarProps=\"true\" :listIcon=\"'guppy-users'\"/> \r\n </template>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport GuppyChatUserListItem from \"./GuppyChatUserListItem.vue\";\r\nimport GuppyChatLoader from \"../../GuppyChatLoader/GuppyChatLoader.vue\";\r\nimport GuppyChatInnerLoader from \"../../GuppyChatLoader/GuppyChatInnerLoader.vue\";\r\nimport GuppyChatEmptyView from \"../../EmptyViews/GuppyChatEmptyView.vue\";\r\nimport RestApiManager from \"../../../resources/RestApiController\";\r\nimport { mapState } from 'vuex';\r\nexport default {\r\n name : \"GuppyChatContactList\",\r\n components : {\r\n GuppyChatUserListItem,\r\n GuppyChatLoader,\r\n GuppyChatInnerLoader,\r\n GuppyChatEmptyView\r\n },\r\n data(){\r\n return{\r\n search : '',\r\n inviteResonseData : '',\r\n timer : null,\r\n scrolledToBottom : false,\r\n selectedTab: 'contacts'\r\n }\r\n },\r\n computed :mapState({\r\n contactList: state => state.contactList,\r\n contactListFlag: state => state.contactListFlag,\r\n contactListOffset: state => state.contactListOffset,\r\n noMoreContactUsers: state => state.noMoreContactUsers,\r\n contactUserSearch: state => state.contactUserSearch,\r\n }),\r\n methods:{\r\n searchUser(){\r\n this.$store.commit('updateRecordList', {RecordList: 'noMoreContactUsers', RecordListValue: false});\r\n this.isScrolling = false;\r\n clearTimeout(this.timer); \r\n this.timer = setTimeout(()=>{\r\n this.updateListRecord( {} );\r\n this.$store.commit('updateOffset', {offset:'contactListOffset', offsetValue: 0});\r\n this.$store.commit('updateSearch', {search:'contactUserSearch', searchValue: this.search});\r\n this.getUsers();\r\n this.updateOffset();\r\n }, 800)\r\n },\r\n updateOffset(){\r\n let currentOffset = this.contactListOffset + this.RecordLimit;\r\n this.$store.commit('updateOffset', {offset:'contactListOffset', offsetValue: currentOffset});\r\n },\r\n async getUsers() {\r\n if ( !this.noMoreContactUsers ) {\r\n this.isLoading = true;\r\n let response = await RestApiManager.getUsersList(this.contactListOffset,this.search)\r\n this.isLoading = false;\r\n if (response.data.type == \"success\") {\r\n let currentMoreRecord = Object.keys(response.data.guppyUsers).length == 0 ? true : false;\r\n this.$store.state.autoInvite = response.data.autoInvite;\r\n this.$store.commit('updateRecordList', {RecordList: 'noMoreContactUsers', RecordListValue: currentMoreRecord});\r\n if(!this.contactListFlag){\r\n this.$store.commit('updateListFlag', {flag: 'contactListFlag', flagValue:true});\r\n }\r\n this.updateListRecord( response.data.guppyUsers );\r\n } else if(response.data.type == \"error\"){\r\n this.alertBox('error', this.TRANS.error_title, response.data.message_desc);\r\n }\r\n }\r\n },\r\n //Handles user list scroll\r\n userScrollHandler(elem) {\r\n if ( elem.target.offsetHeight + elem.target.scrollTop >= elem.target.scrollHeight - 20 ) {\r\n this.isScrolling = true;\r\n this.getUsers();\r\n this.updateOffset();\r\n }\r\n },\r\n updateListRecord( recList ){\r\n let data = {\r\n 'list' : recList,\r\n 'listType' : 'contactList',\r\n 'isScrolling' : this.isScrolling\r\n }\r\n this.$store.commit('updateTabListRecord', data)\r\n }\r\n },\r\n mounted(){\r\n this.search = this.contactUserSearch;\r\n },\r\n created(){\r\n if( !this.contactListFlag || !Object.keys(this.contactList).length ){\r\n this.getUsers();\r\n this.updateOffset();\r\n }\r\n }\r\n}\r\n</script>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatContactList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatContactList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatContactList.vue?vue&type=template&id=502ce3b2&\"\nimport script from \"./GuppyChatContactList.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatContactList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-userlist_tab active\",attrs:{\"id\":\"userlist\"}},[_c('div',{staticClass:\"at-sidebarhead_search at-sidebarhead_searchv2\"},[_c('div',{staticClass:\"at-form-group\"},[_c('i',{staticClass:\"guppy-search\"}),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.search),expression:\"search\",modifiers:{\"trim\":true}}],staticClass:\"form-control\",attrs:{\"type\":\"search\",\"name\":\"search\",\"placeholder\":_vm.TRANS.search},domProps:{\"value\":(_vm.search)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.search=$event.target.value.trim()},function($event){return _vm.searchUser()}],\"blur\":function($event){return _vm.$forceUpdate()}}})])]),(Object.keys(_vm.requestList).length)?_c('ul',{staticClass:\"user-list\",on:{\"scroll\":function($event){$event.preventDefault();return _vm.userScrollHandler($event)}}},[_vm._l((Object.values(_vm.requestList)),function(user){return _c('guppy-chat-user-list-item',{key:user.chatId,attrs:{\"userProps\":user,\"tab\":\"requests\"}})}),(_vm.isLoading)?_c('guppy-chat-inner-loader'):_vm._e()],2):[(_vm.isLoading)?_c('guppy-chat-loader'):_c('guppy-chat-empty-view',{attrs:{\"isSidebarProps\":true,\"listIcon\":'guppy-users'}})]],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div id=\"userlist\" class=\"at-userlist_tab active\">\r\n <div class=\"at-sidebarhead_search at-sidebarhead_searchv2\">\r\n <div class=\"at-form-group\">\r\n <i class=\"guppy-search\"></i>\r\n <input \r\n @input=\"searchUser()\" \r\n v-model.trim=\"search\" \r\n type=\"search\" \r\n class=\"form-control\" \r\n name=\"search\" \r\n :placeholder=\"TRANS.search\" />\r\n </div>\r\n </div>\r\n <ul class=\"user-list\" v-if=\"Object.keys(requestList).length\" @scroll.prevent=\"userScrollHandler($event)\" >\r\n <guppy-chat-user-list-item\r\n v-for=\"user in Object.values(requestList)\"\r\n :key=\"user.chatId\"\r\n :userProps=\"user\"\r\n tab=\"requests\"\r\n />\r\n <guppy-chat-inner-loader v-if=\"isLoading\"/>\r\n </ul>\r\n <template v-else>\r\n <guppy-chat-loader v-if=\"isLoading\"/>\r\n <guppy-chat-empty-view v-else :isSidebarProps=\"true\" :listIcon=\"'guppy-users'\"/> \r\n </template>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport GuppyChatUserListItem from \"./GuppyChatUserListItem.vue\";\r\nimport GuppyChatLoader from \"../../GuppyChatLoader/GuppyChatLoader.vue\";\r\nimport GuppyChatInnerLoader from \"../../GuppyChatLoader/GuppyChatInnerLoader.vue\";\r\nimport GuppyChatEmptyView from \"../../EmptyViews/GuppyChatEmptyView.vue\";\r\nimport RestApiManager from \"../../../resources/RestApiController\";\r\nimport { mapState } from 'vuex';\r\nexport default {\r\n name : \"GuppyChatRequestList\",\r\n components : {\r\n GuppyChatUserListItem,\r\n GuppyChatLoader,\r\n GuppyChatInnerLoader,\r\n GuppyChatEmptyView\r\n },\r\n data(){\r\n return{\r\n search : '',\r\n inviteResonseData : '',\r\n timer : null,\r\n scrolledToBottom : false,\r\n selectedTab: 'contacts'\r\n }\r\n },\r\n computed :mapState({\r\n requestList: state => state.requestList,\r\n requestListFlag: state => state.requestListFlag,\r\n requestListOffset: state => state.requestListOffset,\r\n noMoreRequesttUsers: state => state.noMoreRequesttUsers,\r\n requestUserSearch: state => state.requestUserSearch,\r\n }),\r\n methods:{\r\n searchUser(){\r\n this.$store.commit('updateRecordList', {RecordList: 'noMoreRequesttUsers', RecordListValue: false});\r\n this.isScrolling = false;\r\n clearTimeout(this.timer); \r\n this.timer = setTimeout(()=>{\r\n this.updateListRecord( {} );\r\n this.$store.commit('updateOffset', {offset:'requestListOffset', offsetValue: 0});\r\n this.$store.commit('updateSearch', {search:'requestUserSearch', searchValue: this.search});\r\n this.getUsers();\r\n this.updateOffset();\r\n }, 800)\r\n },\r\n updateOffset(){\r\n let currentOffset = this.requestListOffset + this.RecordLimit;\r\n this.$store.commit('updateOffset', {offset:'requestListOffset', offsetValue: currentOffset});\r\n },\r\n async getUsers() {\r\n if ( !this.noMoreRequesttUsers ) {\r\n this.isLoading = true;\r\n let response = await RestApiManager.getFriendRequestsList(this.requestListOffset,this.search)\r\n this.isLoading = false;\r\n if (response.data.type == \"success\") {\r\n let currentMoreRecord = Object.keys(response.data.guppyFriendRequests).length == 0 ? true : false;\r\n this.$store.commit('updateRecordList', {RecordList: 'noMoreRequesttUsers', RecordListValue: currentMoreRecord});\r\n if(!this.requestListFlag){\r\n this.$store.commit('updateListFlag', {flag: 'requestListFlag', flagValue:true});\r\n }\r\n this.updateListRecord( response.data.guppyFriendRequests );\r\n } else if(response.data.type == \"error\"){\r\n this.alertBox('error', this.TRANS.error_title, response.data.message_desc);\r\n }\r\n }\r\n },\r\n //Handles user list scroll\r\n userScrollHandler(elem) {\r\n if ( (elem.target.offsetHeight + elem.target.scrollTop ) + 1 >= elem.target.scrollHeight ) {\r\n this.isScrolling = true;\r\n this.getUsers();\r\n this.updateOffset();\r\n }\r\n },\r\n updateListRecord( recList ){\r\n let data = {\r\n 'list' : recList,\r\n 'listType' : 'requestList',\r\n 'isScrolling' : this.isScrolling\r\n }\r\n this.$store.commit('updateTabListRecord', data)\r\n }\r\n },\r\n mounted(){\r\n this.search = this.requestUserSearch;\r\n },\r\n created(){\r\n if( !this.requestListFlag || !Object.keys(this.requestList).length ){\r\n this.getUsers();\r\n this.updateOffset();\r\n }\r\n }\r\n}\r\n</script>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatRequestsList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatRequestsList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatRequestsList.vue?vue&type=template&id=3358e95c&\"\nimport script from \"./GuppyChatRequestsList.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatRequestsList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\r\n <div class=\"at-sidbarwrapper at-userlist_tab at-contacts_list\">\r\n <div class=\"at-userchat_tab\">\r\n <a href=\"javascript:void(0);\" :class=\"{'at-tabactive': selectedTab == 'contacts'}\" @click.prevent=\"selectedTab = 'contacts' \">\r\n <i class=\"guppy-user\"></i> \r\n <span>\r\n {{TRANS.contacts}}\r\n </span>\r\n </a>\r\n <a href=\"javascript:void(0);\" :class=\"{'at-tabactive': selectedTab == 'requests'}\" @click.prevent=\"selectedTab = 'requests' \">\r\n <i class=\"guppy-user-plus\"></i> \r\n <span>\r\n {{TRANS.requests_heading}} \r\n </span>\r\n <em class=\"at-userchat_tab-noti\" v-if=\"requestCount\">{{ requestCount > 99 ? '+99': requestCount}}</em>\r\n </a>\r\n </div>\r\n <template v-if=\"selectedTab == 'contacts'\">\r\n <contact-list />\r\n </template>\r\n <template v-else-if=\"selectedTab == 'requests'\">\r\n <requests-list />\r\n </template>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport GuppyChatContactList from \"./GuppyChatContactList.vue\";\r\nimport GuppyChatRequestsList from \"./GuppyChatRequestsList.vue\";\r\nimport { mapState } from 'vuex';\r\nexport default {\r\n name : \"GuppyChatUserList\",\r\n components : {\r\n ContactList: GuppyChatContactList,\r\n RequestsList : GuppyChatRequestsList,\r\n },\r\n data(){\r\n return{\r\n search : '',\r\n inviteResonseData : '',\r\n timer : null,\r\n scrolledToBottom: false,\r\n selectedTab: 'contacts'\r\n }\r\n },\r\n computed :mapState({\r\n requestCount: state => state.requestCount,\r\n autoInvite: state => state.autoInvite,\r\n }),\r\n}\r\n</script>\r\n\r\n<style>\r\n\r\n.user-list{\r\n height : 600px;\r\n overflow-y : auto;\r\n margin : 0;\r\n padding : 0;\r\n}\r\n.at-chatsidebar_float .at-userlist_tab { padding-left: 60px;}\r\n.at-userlist_tab {\r\n display: flex;\r\n flex-direction: column;\r\n height: 100%;\r\n padding-left: 70px;\r\n}\r\n.at-userlist_tab .at-userlist_tab{padding-bottom: 0; padding-left: 0;}\r\n\r\n.at-userlist_tab ul {\r\n background: #fff;\r\n height: calc(100% - 0px);\r\n flex-direction: column;\r\n width: 100%;\r\n margin: 0;\r\n padding: 0;\r\n}\r\n.at-userlist_tab .at-userchat_tab + .at-sidebarhead_search + ul,\r\n.at-userlist_tab .at-userchat_tab + ul{\r\n height: calc(100% - 168px);\r\n}\r\n.at-userlist_tab li {\r\n list-style-type: none;\r\n width: 100% !important;\r\n margin: 0;\r\n}\r\n.at-guppysidepopup .at-userlist_tab li.at-userbar:last-child{margin-bottom: 20px;}\r\n.at-userlist_tab .at-empty-conversation{\r\n width: 100%;\r\n background: transparent;\r\n z-index: -2;\r\n}\r\n.at-userlist_tab .at-empty-conversation > span{\r\n letter-spacing: 0.5px;\r\n font-weight: 500;\r\n font-size: 18px;\r\n line-height: 26px;\r\n}\r\n.at-chatsidebar_float .at-userlist_tab .at-empty-conversation > span{\r\n font-size: 16px;\r\n line-height: 24px;\r\n}\r\n.at-userlist_tab li.at-inner-loaader{\r\n width: calc(100% - 80px) !important;\r\n}\r\n</style>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatUsersList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatUsersList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatUsersList.vue?vue&type=template&id=0b9fe9eb&\"\nimport script from \"./GuppyChatUsersList.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatUsersList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuppyChatUsersList.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-userlist_tab\",attrs:{\"id\":\"friendlist\"}},[_c('div',{staticClass:\"at-sidebarhead_search at-sidebarhead_searchv2\"},[_c('div',{staticClass:\"at-form-group\"},[_c('i',{staticClass:\"guppy-search\"}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.search),expression:\"search\"}],staticClass:\"at-form-control\",attrs:{\"type\":\"search\",\"name\":\"search\",\"placeholder\":_vm.TRANS.search},domProps:{\"value\":(_vm.search)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.search=$event.target.value},function($event){return _vm.searchFriends()}]}})])]),(Object.keys(_vm.friendList).length)?_c('ul',{staticClass:\"conversation-list\",on:{\"scroll\":function($event){$event.preventDefault();return _vm.friendListScrollHandler($event)}}},[_vm._l((_vm.friendList),function(friend,index){return _c('li',{key:index,staticClass:\"at-userbar\",class:{'active' : friend.chatId == _vm.chatInfo.chatId},on:{\"click\":function($event){$event.preventDefault();return _vm.openConversation( friend )}}},[_c('figure',{staticClass:\"at-userbar_profile\"},[_c('span',{staticClass:\"at-userstatus\",class:friend.isOnline ? 'online':'offline'}),_c('img',{attrs:{\"src\":friend.userAvatar ? friend.userAvatar : _vm.defaultAvatar,\"alt\":friend.userName}})]),(friend.userName)?_c('div',{staticClass:\"at-userbar_title\"},[_c('h3',[_vm._v(_vm._s(_vm._f(\"capitalize\")(friend.userName)))])]):_vm._e()])}),(_vm.isLoading)?_c('guppy-chat-inner-loader'):_vm._e()],2):[(_vm.isLoading)?_c('guppy-chat-loader'):_c('guppy-chat-empty-view',{attrs:{\"isSidebarProps\":true,\"listIcon\":'guppy-user-plus'}})]],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div id=\"friendlist\" class=\"at-userlist_tab\">\r\n <div class=\"at-sidebarhead_search at-sidebarhead_searchv2\">\r\n <div class=\"at-form-group\">\r\n <i class=\"guppy-search\"></i>\r\n <input \r\n type=\"search\" \r\n v-model=\"search\"\r\n @input=\"searchFriends()\" \r\n class=\"at-form-control\" \r\n name=\"search\" \r\n :placeholder=\"TRANS.search\" />\r\n </div>\r\n </div>\r\n <ul v-if=\"Object.keys(friendList).length\" @scroll.prevent=\"friendListScrollHandler($event)\" class=\"conversation-list\">\r\n <li class=\"at-userbar\" :class=\"{'active' : friend.chatId == chatInfo.chatId}\" @click.prevent=\"openConversation( friend )\" v-for=\"(friend, index ) in friendList\" :key=\"index\">\r\n <figure class=\"at-userbar_profile\">\r\n <span class=\"at-userstatus\" :class=\"friend.isOnline ? 'online':'offline'\"></span>\r\n <img :src=\"friend.userAvatar ? friend.userAvatar : defaultAvatar\" :alt=\"friend.userName\">\r\n </figure>\r\n <div v-if=\"friend.userName\" class=\"at-userbar_title\">\r\n <h3>{{ friend.userName | capitalize }}</h3>\r\n </div>\r\n </li>\r\n <guppy-chat-inner-loader v-if=\"isLoading\"/>\r\n </ul>\r\n <template v-else>\r\n <guppy-chat-loader v-if=\"isLoading\"/>\r\n <guppy-chat-empty-view v-else :isSidebarProps=\"true\" :listIcon=\"'guppy-user-plus'\"/> \r\n </template>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { GUPPYCHAT_CONSTANTS } from \"../../../resources/constants\";\r\nimport GuppyChatEmptyView from \"../../EmptyViews/GuppyChatEmptyView.vue\";\r\nimport GuppyChatLoader from \"../../GuppyChatLoader/GuppyChatLoader.vue\";\r\nimport GuppyChatInnerLoader from \"../../GuppyChatLoader/GuppyChatInnerLoader.vue\";\r\nimport RestApiManager from \"../../../resources/RestApiController\";\r\nimport GuppyChatManager from \"../../../resources/controller\";\r\nimport { mapState } from 'vuex';\r\nexport default {\r\n name : \"GuppyChatFriendList\",\r\n props:['TabProps'],\r\n components:{\r\n GuppyChatEmptyView,\r\n GuppyChatLoader,\r\n GuppyChatInnerLoader\r\n },\r\n data(){\r\n return{\r\n defaultAvatar : GUPPYCHAT_CONSTANTS.AVATAR,\r\n search : '',\r\n userStatus : 1,\r\n timer : null,\r\n }\r\n },\r\n computed :mapState({\r\n friendList: state => state.friendList,\r\n friendListFlag: state => state.friendListFlag,\r\n friendListOffset: state => state.friendListOffset,\r\n noMoreFriendUsers: state => state.noMoreFriendUsers,\r\n friendUserSearch: state => state.friendUserSearch,\r\n chatInfo: state => state.chatInfo,\r\n userProfile: state => state.userProfile,\r\n }),\r\n methods:{\r\n searchFriends(){\r\n this.$store.commit('updateRecordList', {RecordList: 'noMoreFriendUsers', RecordListValue: false});\r\n this.isScrolling = false;\r\n clearTimeout(this.timer); \r\n this.timer = setTimeout(()=>{\r\n this.updateListRecord( {} );\r\n this.$store.commit('updateOffset', {offset:'friendListOffset', offsetValue: 0});\r\n this.$store.commit('updateSearch', {search:'friendUserSearch', searchValue: this.search});\r\n this.getFriends();\r\n this.updateOffset();\r\n }, 800)\r\n },\r\n async getFriends(){\r\n if ( !this.noMoreFriendUsers ) {\r\n this.isLoading = true;\r\n let response = await RestApiManager.getContactList(this.friendListOffset,this.userStatus, this.search)\r\n this.isLoading = false;\r\n if( response.data.type == \"success\" ) {\r\n let currentMoreRecord = Object.keys(response.data.contacts).length == 0 ? true : false;\r\n this.$store.commit('updateRecordList', {RecordList: 'noMoreFriendUsers', RecordListValue: currentMoreRecord});\r\n if( !this.friendListFlag ) {\r\n this.$store.commit('updateListFlag', {flag: 'friendListFlag', flagValue:true});\r\n }\r\n this.updateListRecord( response.data.contacts )\r\n } else if( response.data.type == \"error\" ) {\r\n\t\t\t\t\tthis.alertBox('error', this.TRANS.error_title, response.data.message_desc);\r\n\t\t\t\t}\r\n }\r\n },\r\n updateOffset(){\r\n let currentOffset = this.friendListOffset + this.RecordLimit;\r\n this.$store.commit('updateOffset', {offset:'friendListOffset', offsetValue: currentOffset});\r\n },\r\n // Handles friend list scroll\r\n friendListScrollHandler(elem) {\r\n if (\r\n (elem.target.offsetHeight + elem.target.scrollTop) >=\r\n elem.target.scrollHeight\r\n ) {\r\n this.isScrolling = true;\r\n this.getFriends();\r\n this.updateOffset();\r\n }\r\n },\r\n openConversation( params ){\r\n params['chatType'] = 1;\r\n if(this.chatInfo){\r\n if(Number(this.chatInfo.chatId) != Number(params.chatId)){\r\n let payload = {\r\n userName : this.userProfile.userName,\r\n chatType : this.chatInfo.chatType,\r\n chatId : this.chatInfo.chatId,\r\n senderId : params.chatId,\r\n text : '',\r\n }\r\n this.$store.dispatch('triggerclientEvents', {'event':'isTyping', payload});\r\n }\r\n }\r\n\r\n if(params.UnreadCount > 0){\r\n let dataValues = {\r\n chatId : params.chatId,\r\n userId : this.userId,\r\n userType : this.userType,\r\n chatType : params.chatType,\r\n }\r\n GuppyChatManager.updateSeenMessagesCounter(dataValues);\r\n }\r\n\r\n this.$store.commit('updateChatInfo', { data: params, userClick : true});\r\n },\r\n updateListRecord( recList ){\r\n let data = {\r\n 'list' : recList,\r\n 'listType' : 'friendList',\r\n 'isScrolling' : this.isScrolling\r\n }\r\n this.$store.commit('updateTabListRecord', data)\r\n },\r\n },\r\n created(){\r\n if(!Object.keys(this.friendList).length || !this.friendListFlag ){\r\n this.getFriends();\r\n this.updateOffset();\r\n }\r\n },\r\n mounted(){\r\n this.search = this.friendUserSearch;\r\n }\r\n\r\n}\r\n</script>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatFriendList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatFriendList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatFriendList.vue?vue&type=template&id=6a2580d6&\"\nimport script from \"./GuppyChatFriendList.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatFriendList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-sidbarwrapper at-userlist_tab\",class:_vm.isSupportMember ? 'at-contacts_list at-support-messages' : 'at-support-agents'},[(!_vm.isSupportMember)?_c('div',{staticClass:\"at-userchat_tab\"},[_c('a',{class:{'at-tabactive': _vm.selectedTab == 'agents'},attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();_vm.selectedTab = 'agents'}}},[_c('i',{staticClass:\"guppy-users\"}),_c('span',[_vm._v(\" \"+_vm._s(_vm.TRANS.admin_support_agent_tab)+\" \")])]),_c('a',{class:{'at-tabactive': _vm.selectedTab == 'messages', 'at-newnotify': _vm.adminSupportChatCount > 0},attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();_vm.selectedTab = 'messages'}}},[_c('guppy-svg-icons',{attrs:{\"ImageColor\":\"group\",\"isActive\":_vm.selectedTab == 'messages',\"activeColor\":\"#0A0F26\"}}),_c('span',[_vm._v(\" \"+_vm._s(_vm.TRANS.admin_support_msgs_tab)+\" \")])],1)]):_vm._e(),(!_vm.isSupportMember)?[(_vm.selectedTab == 'agents')?[_c('user-list')]:(_vm.selectedTab == 'messages')?[_c('chat-list')]:_vm._e()]:[_c('chat-list')]],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-userlist_tab at-userlist_tabv2\",attrs:{\"id\":\"at-admin-support-list\"}},[_c('div',{staticClass:\"at-sidebarhead_search at-sidebarhead_searchv2\"},[_c('div',{staticClass:\"at-form-group\"},[_c('i',{staticClass:\"guppy-search\"}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.search),expression:\"search\"}],staticClass:\"at-form-control\",attrs:{\"type\":\"search\",\"name\":\"search\",\"placeholder\":_vm.TRANS.search},domProps:{\"value\":(_vm.search)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.search=$event.target.value},function($event){return _vm.searchAdminUser()}]}})])]),(Object.keys(_vm.adminSupportUserList).length)?_c('ul',{staticClass:\"conversation-list\",on:{\"scroll\":function($event){$event.preventDefault();return _vm.customerListScrollHandler($event)}}},[_vm._l((_vm.adminSupportUserList),function(supportUser,index){return _c('li',{key:index+ '_' + Math.floor(Math.random() * 99999999),staticClass:\"at-userbar\",on:{\"click\":function($event){$event.preventDefault();return _vm.openConversation( supportUser )}}},[_c('figure',{staticClass:\"at-userbar_profile\"},[_c('span',{staticClass:\"at-userstatus\",class:supportUser.isOnline && _vm.userType == 1 ? 'online':'offline'}),_c('img',{attrs:{\"src\":supportUser.userAvatar ? supportUser.userAvatar : _vm.defaultAvatar,\"alt\":supportUser.userName}})]),(supportUser.userName)?_c('div',{staticClass:\"at-userbar_title at-userbar_title-v2\"},[(supportUser.userName)?_c('h3',[_vm._v(_vm._s(_vm._f(\"capitalize\")(supportUser.userName)))]):_vm._e(),_c('div',{staticClass:\"at-userbar_right\"},[_c('a',{staticClass:\"at-btn-sm at-linebtn\",attrs:{\"href\":\"javascript:void(0);\"}},[_vm._v(\" \"+_vm._s(_vm.TRANS.start_chat_txt)+\" \")])])]):_vm._e()])}),(_vm.isLoading)?_c('guppy-chat-inner-loader'):_vm._e()],2):[(_vm.isLoading)?_c('guppy-chat-loader'):_c('guppy-chat-empty-view',{attrs:{\"isSidebarProps\":true,\"listIcon\":'guppy-users'}})]],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div id=\"at-admin-support-list\" class=\"at-userlist_tab at-userlist_tabv2\">\r\n <div class=\"at-sidebarhead_search at-sidebarhead_searchv2\">\r\n <div class=\"at-form-group\">\r\n <i class=\"guppy-search\"></i>\r\n <input type=\"search\" v-model=\"search\" @input=\"searchAdminUser()\" class=\"at-form-control\" name=\"search\" :placeholder=\"TRANS.search\" />\r\n </div>\r\n </div>\r\n <ul v-if=\"Object.keys(adminSupportUserList).length\" @scroll.prevent=\"customerListScrollHandler($event)\" class=\"conversation-list\">\r\n <li class=\"at-userbar\" @click.prevent=\"openConversation( supportUser )\" v-for=\"(supportUser, index ) in adminSupportUserList\" :key=\"index+ '_' + Math.floor(Math.random() * 99999999)\">\r\n <figure class=\"at-userbar_profile\">\r\n <span class=\"at-userstatus\" :class=\"supportUser.isOnline && userType == 1 ? 'online':'offline'\"></span>\r\n <img :src=\"supportUser.userAvatar ? supportUser.userAvatar : defaultAvatar\" :alt=\"supportUser.userName\">\r\n </figure>\r\n <div v-if=\"supportUser.userName\" class=\"at-userbar_title at-userbar_title-v2\">\r\n <h3 v-if=\"supportUser.userName\">{{supportUser.userName | capitalize}}</h3>\r\n <div class=\"at-userbar_right\">\r\n <a class=\"at-btn-sm at-linebtn\" href=\"javascript:void(0);\" > {{TRANS.start_chat_txt}} </a>\r\n </div>\r\n </div>\r\n </li>\r\n <guppy-chat-inner-loader v-if=\"isLoading\"/>\r\n </ul>\r\n <template v-else>\r\n <guppy-chat-loader v-if=\"isLoading\"/>\r\n <guppy-chat-empty-view v-else :isSidebarProps=\"true\" :listIcon=\"'guppy-users'\"/> \r\n </template>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { GUPPYCHAT_CONSTANTS } from \"../../../resources/constants\";\r\nimport GuppyChatManager from \"../../../resources/controller\";\r\nimport GuppyChatEmptyView from \"../../EmptyViews/GuppyChatEmptyView.vue\";\r\nimport GuppyChatLoader from \"../../GuppyChatLoader/GuppyChatLoader.vue\";\r\nimport GuppyChatInnerLoader from \"../../GuppyChatLoader/GuppyChatInnerLoader.vue\";\r\nimport RestApiManager from \"../../../resources/RestApiController\";\r\nimport { mapState } from 'vuex';\r\nexport default {\r\n name : \"CustomerSupportUserList\",\r\n components:{\r\n GuppyChatEmptyView,\r\n GuppyChatLoader,\r\n GuppyChatInnerLoader\r\n },\r\n data(){\r\n return{\r\n defaultAvatar : GUPPYCHAT_CONSTANTS.AVATAR,\r\n search : '',\r\n timer : null,\r\n userChatId : '',\r\n }\r\n },\r\n computed : {\r\n chatInfo(){\r\n return this.$store.getters.getChatInfo(this.userChatId)\r\n },\r\n ...mapState({\r\n adminSupportUserList : state => state.adminSupportUserList,\r\n adminSupportUserListFlag : state => state.adminSupportUserListFlag,\r\n adminSupportUserListOffset : state => state.adminSupportUserListOffset,\r\n noMoreAdminSupportUsers : state => state.noMoreAdminSupportUsers,\r\n adminSupportUserSearch : state => state.adminSupportUserSearch,\r\n userProfile : state => state.userProfile,\r\n })\r\n },\r\n methods:{\r\n getMessageTime(messageTimeStamp) {\r\n return GuppyChatManager.getLongDateTime(messageTimeStamp)\r\n },\r\n searchAdminUser(){\r\n this.$store.commit('updateRecordList', {RecordList: 'noMoreAdminSupportUsers', RecordListValue: false});\r\n this.isScrolling = false;\r\n clearTimeout(this.timer); \r\n this.timer = setTimeout(()=>{\r\n this.updateListRecord( {} );\r\n this.$store.commit('updateOffset', {offset:'adminSupportUserListOffset', offsetValue: 0});\r\n this.$store.commit('updateSearch', {search:'adminSupportUserSearch', searchValue: this.search});\r\n this.getAdminSupportUser();\r\n this.updateOffset();\r\n }, 800)\r\n },\r\n async getAdminSupportUser(){\r\n if ( !this.noMoreAdminSupportUsers ) {\r\n this.isLoading = true;\r\n let response = await RestApiManager.getAdminSupportUserList(this.adminSupportUserListOffset, this.search)\r\n this.isLoading = false;\r\n if( response.data.type == \"success\" ) {\r\n let currentMoreRecord = Object.keys(response.data.supportUsers).length == 0 ? true : false;\r\n this.$store.commit('updateRecordList', {RecordList: 'noMoreAdminSupportUsers', RecordListValue: currentMoreRecord});\r\n if( !this.adminSupportUserListFlag ) {\r\n this.$store.commit('updateListFlag', {flag: 'adminSupportUserListFlag', flagValue:true});\r\n }\r\n this.updateListRecord( response.data.supportUsers )\r\n } else if(response.data.type == \"error\"){\r\n this.alertBox('error', this.TRANS.error_title, response.data.message_desc);\r\n }\r\n }\r\n },\r\n updateOffset(){\r\n let currentOffset = this.adminSupportUserListOffset + this.RecordLimit;\r\n this.$store.commit('updateOffset', {offset:'adminSupportUserListOffset', offsetValue: currentOffset});\r\n },\r\n // Handles AdminSupportUser list scroll\r\n customerListScrollHandler(elem) {\r\n if (\r\n (elem.target.offsetHeight + elem.target.scrollTop) >=\r\n elem.target.scrollHeight\r\n ) {\r\n this.isScrolling = true;\r\n this.getAdminSupportUser();\r\n this.updateOffset();\r\n }\r\n },\r\n openConversation( data ){\r\n if( Number( this.userId ) ){\r\n this.openChat(data)\r\n } else {\r\n this.$root.$emit('toggleSignInWindow', false);\r\n this.openChat(data)\r\n }\r\n },\r\n openChat( params ){\r\n if(params.UnreadCount > 0){\r\n let dataValues = {\r\n chatId : params.chatId,\r\n userId : this.userId,\r\n userType : this.userType,\r\n chatType : params.chatType,\r\n }\r\n GuppyChatManager.updateSeenMessagesCounter(dataValues);\r\n }\r\n\r\n this.userChatId = params.chatId;\r\n if( Object.keys(this.chatInfo).length ){\r\n if( this.chatInfo.chatId != params.chatId ){\r\n let payload = {\r\n userName : this.userProfile.userName,\r\n chatType : this.chatInfo.chatType,\r\n chatId : this.chatInfo.chatId,\r\n senderId : params.chatId,\r\n userType : this.userType,\r\n text : '',\r\n }\r\n this.$store.dispatch('triggerclientEvents', {'event':'isTyping', payload});\r\n \r\n }\r\n }\r\n this.$store.commit('updateChatInfo', { data: params, userClick : true});\r\n },\r\n updateListRecord( recList ){\r\n let data = {\r\n 'list' : recList,\r\n 'listType' : 'adminSupportUserList',\r\n 'isScrolling' : this.isScrolling\r\n }\r\n this.$store.commit('updateTabListRecord', data)\r\n },\r\n },\r\n created(){\r\n if(!Object.keys(this.adminSupportUserList).length || !this.adminSupportUserListFlag ){\r\n this.getAdminSupportUser();\r\n this.updateOffset();\r\n }\r\n },\r\n mounted(){\r\n this.search = this.adminSupportUserSearch;\r\n }\r\n\r\n}\r\n</script>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomerSupportUserList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomerSupportUserList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CustomerSupportUserList.vue?vue&type=template&id=03d6df03&\"\nimport script from \"./CustomerSupportUserList.vue?vue&type=script&lang=js&\"\nexport * from \"./CustomerSupportUserList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-userlist_tab at-userlist_tabv2\",attrs:{\"id\":\"at-admin-support-list\"}},[_c('div',{staticClass:\"at-sidebarhead_search at-sidebarhead_searchv2\",class:{'at-support-chat' : _vm.isSupportMember}},[_c('div',{staticClass:\"at-form-group\"},[_c('i',{staticClass:\"guppy-search\"}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.search),expression:\"search\"}],staticClass:\"at-form-control\",attrs:{\"type\":\"search\",\"name\":\"search\",\"placeholder\":_vm.TRANS.search},domProps:{\"value\":(_vm.search)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.search=$event.target.value},function($event){return _vm.searchAdminChat()}]}})])]),(Object.keys(_vm.adminSupportChats).length)?_c('ul',{staticClass:\"conversation-list\",on:{\"scroll\":function($event){$event.preventDefault();return _vm.customerSupportScrollHandler($event)}}},[_vm._l((_vm.adminSupportChats),function(supportUser,index){return _c('li',{key:index+ '_' + Math.floor(Math.random() * 99999999),staticClass:\"at-userbar\",on:{\"click\":function($event){$event.preventDefault();return _vm.openConversation( supportUser )}}},[_c('figure',{staticClass:\"at-userbar_profile\"},[_c('span',{staticClass:\"at-userstatus\",class:supportUser.isOnline && _vm.userType == 1 ? 'online':'offline'}),_c('img',{attrs:{\"src\":supportUser.userAvatar ? supportUser.userAvatar : _vm.defaultAvatar,\"alt\":supportUser.userName}})]),(supportUser.userName)?_c('div',{staticClass:\"at-userbar_title\"},[(supportUser.userName)?_c('h3',[_vm._v(_vm._s(_vm._f(\"capitalize\")(supportUser.userName)))]):_vm._e(),(supportUser.startChat)?[_c('a',{staticClass:\"at-btn-sm at-linebtn\",attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.openConversation( supportUser )}}},[_vm._v(\" \"+_vm._s(_vm.TRANS.start_chat_txt)+\" \")])]:[(Number(supportUser.messageStatus) == 2 )?_c('span',[_c('i',{staticClass:\"guppy-slash\"}),_vm._v(_vm._s(_vm.TRANS.deleted_message))]):(Number(supportUser.messageType) == 0 )?_c('span',[_vm._v(_vm._s(supportUser.message))]):(Number(supportUser.messageType) == 1 )?_c('span',[_c('i',{staticClass:\"guppy-paperclip\"}),_vm._v(_vm._s(supportUser.isSender ? _vm.TRANS.you_sent_attachment : _vm.TRANS.sent_you_attachment))]):(Number(supportUser.messageType) == 2 )?_c('span',[_c('i',{staticClass:\"guppy-map-pin\"}),_vm._v(_vm._s(supportUser.isSender ? _vm.TRANS.you_sent_location : _vm.TRANS.sent_you_location))]):(Number(supportUser.messageType) == 3 )?_c('span',[_c('i',{staticClass:\"guppy-mic\"}),_vm._v(_vm._s(supportUser.isSender ? _vm.TRANS.you_sent_voice_note : _vm.TRANS.sent_you_voice_note))]):_vm._e()]],2):_vm._e(),_c('div',{staticClass:\"at-userbar_right\"},[(supportUser.timeStamp)?_c('span',[_vm._v(_vm._s(_vm.getMessageTime(supportUser.timeStamp)))]):_vm._e(),(Number(supportUser.UnreadCount) > 0 && Number(supportUser.UnreadCount) < 100)?_c('em',{staticClass:\"at-notify\"},[_vm._v(_vm._s(supportUser.UnreadCount))]):(Number(supportUser.UnreadCount) > 99)?_c('em',{staticClass:\"at-notify\"},[_vm._v(\"99+\")]):_vm._e()])])}),(_vm.isLoading)?_c('guppy-chat-inner-loader'):_vm._e()],2):[(_vm.isLoading)?_c('guppy-chat-loader'):_c('guppy-chat-empty-view',{attrs:{\"isSidebarProps\":true,\"svgIcon\":true,\"listIcon\":\"group\"}})]],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div id=\"at-admin-support-list\" class=\"at-userlist_tab at-userlist_tabv2\">\r\n <div class=\"at-sidebarhead_search at-sidebarhead_searchv2\" :class=\"{'at-support-chat' : isSupportMember}\">\r\n <div class=\"at-form-group\">\r\n <i class=\"guppy-search\"></i>\r\n <input type=\"search\" v-model=\"search\" @input=\"searchAdminChat()\" class=\"at-form-control\" name=\"search\" :placeholder=\"TRANS.search\" />\r\n </div>\r\n </div>\r\n <ul v-if=\"Object.keys(adminSupportChats).length\" @scroll.prevent=\"customerSupportScrollHandler($event)\" class=\"conversation-list\">\r\n <li class=\"at-userbar\" @click.prevent=\"openConversation( supportUser )\" v-for=\"(supportUser, index ) in adminSupportChats\" :key=\"index+ '_' + Math.floor(Math.random() * 99999999)\">\r\n <figure class=\"at-userbar_profile\">\r\n <span class=\"at-userstatus\" :class=\"supportUser.isOnline && userType == 1 ? 'online':'offline'\"></span>\r\n <img :src=\"supportUser.userAvatar ? supportUser.userAvatar : defaultAvatar\" :alt=\"supportUser.userName\">\r\n </figure>\r\n <div v-if=\"supportUser.userName\" class=\"at-userbar_title\">\r\n <h3 v-if=\"supportUser.userName\">{{supportUser.userName | capitalize}}</h3>\r\n <template v-if=\"supportUser.startChat\">\r\n <a class=\"at-btn-sm at-linebtn\" href=\"javascript:void(0);\" v-on:click.stop.prevent=\"openConversation( supportUser )\"> {{TRANS.start_chat_txt}} </a>\r\n </template>\r\n <template v-else>\r\n <span v-if=\"Number(supportUser.messageStatus) == 2 \"><i class=\"guppy-slash\"></i>{{TRANS.deleted_message}}</span>\t\r\n <span v-else-if=\"Number(supportUser.messageType) == 0 \">{{supportUser.message}}</span>\r\n <span v-else-if=\"Number(supportUser.messageType) == 1 \"><i class=\"guppy-paperclip\"></i>{{supportUser.isSender ? TRANS.you_sent_attachment : TRANS.sent_you_attachment }}</span>\r\n <span v-else-if=\"Number(supportUser.messageType) == 2 \"><i class=\"guppy-map-pin\"></i>{{supportUser.isSender ? TRANS.you_sent_location : TRANS.sent_you_location }}</span>\r\n <span v-else-if=\"Number(supportUser.messageType) == 3 \"><i class=\"guppy-mic\"></i>{{supportUser.isSender ? TRANS.you_sent_voice_note : TRANS.sent_you_voice_note }}</span>\t\r\n </template>\r\n </div>\r\n <div class=\"at-userbar_right\">\r\n <span v-if=\"supportUser.timeStamp\">{{getMessageTime(supportUser.timeStamp)}}</span>\r\n <em v-if=\"Number(supportUser.UnreadCount) > 0 && Number(supportUser.UnreadCount) < 100\" class=\"at-notify\">{{supportUser.UnreadCount}}</em>\r\n <em v-else-if=\"Number(supportUser.UnreadCount) > 99\" class=\"at-notify\">99+</em>\r\n </div>\r\n </li>\r\n <guppy-chat-inner-loader v-if=\"isLoading\"/>\r\n </ul>\r\n <template v-else>\r\n <guppy-chat-loader v-if=\"isLoading\"/>\r\n <guppy-chat-empty-view v-else :isSidebarProps=\"true\" :svgIcon=\"true\" listIcon=\"group\"/> \r\n </template>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { GUPPYCHAT_CONSTANTS } from \"../../../resources/constants\";\r\nimport GuppyChatManager from \"../../../resources/controller\";\r\nimport GuppyChatEmptyView from \"../../EmptyViews/GuppyChatEmptyView.vue\";\r\nimport GuppyChatLoader from \"../../GuppyChatLoader/GuppyChatLoader.vue\";\r\nimport GuppyChatInnerLoader from \"../../GuppyChatLoader/GuppyChatInnerLoader.vue\";\r\nimport RestApiManager from \"../../../resources/RestApiController\";\r\nimport { mapState } from 'vuex';\r\nexport default {\r\n name : \"CustomerSupportChatList\",\r\n components:{\r\n GuppyChatEmptyView,\r\n GuppyChatLoader,\r\n GuppyChatInnerLoader\r\n },\r\n data(){\r\n return{\r\n defaultAvatar : GUPPYCHAT_CONSTANTS.AVATAR,\r\n search : '',\r\n timer : null,\r\n userChatId : '',\r\n }\r\n },\r\n watch : {\r\n userType(newVal, oldVal){\r\n if(newVal == 1 && oldVal == 0 ){\r\n this.$store.commit('refreshSupportChats');\r\n setTimeout(()=>{\r\n this.getAdminSupportUser();\r\n },100)\r\n }\r\n },\r\n },\r\n computed : {\r\n chatInfo(){\r\n return this.$store.getters.getChatInfo(this.userChatId)\r\n },\r\n ...mapState({\r\n adminSupportChats : state => state.adminSupportChats,\r\n adminSupportChatsFlag : state => state.adminSupportChatsFlag,\r\n adminSupportChatsOffset : state => state.adminSupportChatsOffset,\r\n noMoreAdminSupportChats : state => state.noMoreAdminSupportChats,\r\n adminSupportChatsSearch : state => state.adminSupportChatsSearch,\r\n isSupportMember : state => state.isSupportMember,\r\n userProfile : state => state.userProfile,\r\n })\r\n },\r\n methods:{\r\n getMessageTime(messageTimeStamp) {\r\n return GuppyChatManager.getLongDateTime(messageTimeStamp)\r\n },\r\n searchAdminChat(){\r\n this.$store.commit('updateRecordList', {RecordList: 'noMoreAdminSupportChats', RecordListValue: false});\r\n this.isScrolling = false;\r\n clearTimeout(this.timer); \r\n this.timer = setTimeout(()=>{\r\n this.updateListRecord( {} );\r\n this.$store.commit('updateOffset', {offset:'adminSupportChatsOffset', offsetValue: 0});\r\n this.$store.commit('updateSearch', {search:'adminSupportChatsSearch', searchValue: this.search});\r\n this.getAdminSupportUser();\r\n this.updateOffset();\r\n }, 800)\r\n },\r\n async getAdminSupportUser(){\r\n if ( !this.noMoreAdminSupportChats ) {\r\n this.isLoading = true;\r\n let response = await RestApiManager.getAdminSupportUserChats(this.adminSupportChatsOffset, this.search, this.isSupportMember)\r\n this.isLoading = false;\r\n if( response.data.type == \"success\" ) {\r\n let currentMoreRecord = Object.keys(response.data.guppyMessageList).length == 0 ? true : false;\r\n this.$store.commit('updateRecordList', {RecordList: 'noMoreAdminSupportChats', RecordListValue: currentMoreRecord});\r\n if( !this.adminSupportChatsFlag ) {\r\n this.$store.commit('updateListFlag', {flag: 'adminSupportChatsFlag', flagValue:true});\r\n }\r\n this.updateListRecord( response.data.guppyMessageList )\r\n } else if(response.data.type == \"error\"){\r\n this.alertBox('error', this.TRANS.error_title, response.data.message_desc);\r\n }\r\n }\r\n },\r\n updateOffset(){\r\n let currentOffset = this.adminSupportChatsOffset + this.RecordLimit;\r\n this.$store.commit('updateOffset', {offset:'adminSupportChatsOffset', offsetValue: currentOffset});\r\n },\r\n // Handles AdminSupportUser list scroll\r\n customerSupportScrollHandler(elem) {\r\n if (\r\n (elem.target.offsetHeight + elem.target.scrollTop) >=\r\n elem.target.scrollHeight\r\n ) {\r\n this.isScrolling = true;\r\n this.getAdminSupportUser();\r\n this.updateOffset();\r\n }\r\n },\r\n openConversation( data ){\r\n if( this.userId){\r\n this.openChat(data)\r\n } else {\r\n this.$root.$emit('toggleSignInWindow', true);\r\n }\r\n },\r\n openChat( params ){\r\n if(params.UnreadCount > 0){\r\n let dataValues = {\r\n chatId : params.chatId,\r\n userId : this.userId,\r\n userType : this.userType,\r\n chatType : params.chatType,\r\n }\r\n this.$store.commit('updateUnseenCounter', params);\r\n GuppyChatManager.updateSeenMessagesCounter(dataValues);\r\n }\r\n this.userChatId = params.chatId;\r\n if( Object.keys(this.chatInfo).length ){\r\n if( this.chatInfo.chatId != params.chatId ){\r\n let payload = {\r\n userName : this.userProfile.userName,\r\n chatType : this.chatInfo.chatType,\r\n chatId : this.chatInfo.chatId,\r\n senderId : params.chatId,\r\n userType : this.userType,\r\n text : '',\r\n }\r\n this.$store.dispatch('triggerclientEvents', {'event':'isTyping', payload});\r\n }\r\n }\r\n this.$store.commit('updateChatInfo', { data: params, userClick : true});\r\n },\r\n updateListRecord( recList ){\r\n let data = {\r\n 'list' : recList,\r\n 'listType' : 'adminSupportChats',\r\n 'isScrolling' : this.isScrolling\r\n }\r\n this.$store.commit('updateTabListRecord', data)\r\n },\r\n },\r\n created(){\r\n if(!Object.keys(this.adminSupportChats).length || !this.adminSupportChatsFlag ){\r\n this.getAdminSupportUser();\r\n this.updateOffset();\r\n }\r\n },\r\n mounted(){\r\n this.search = this.adminSupportChatsSearch;\r\n this.$root.$on('refreshSupportChatList',()=>{\r\n\r\n });\r\n }\r\n\r\n}\r\n</script>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomerSupportChatList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomerSupportChatList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CustomerSupportChatList.vue?vue&type=template&id=6f3f614a&\"\nimport script from \"./CustomerSupportChatList.vue?vue&type=script&lang=js&\"\nexport * from \"./CustomerSupportChatList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\r\n <div class=\"at-sidbarwrapper at-userlist_tab\" :class=\"isSupportMember ? 'at-contacts_list at-support-messages' : 'at-support-agents' \">\r\n <div class=\"at-userchat_tab\" v-if=\"!isSupportMember\">\r\n <a href=\"javascript:void(0);\" :class=\"{'at-tabactive': selectedTab == 'agents'}\" @click.prevent=\" selectedTab = 'agents' \">\r\n <i class=\"guppy-users\"></i>\r\n <span> {{TRANS.admin_support_agent_tab}} </span>\r\n </a>\r\n <a href=\"javascript:void(0);\" :class=\"{'at-tabactive': selectedTab == 'messages', 'at-newnotify': adminSupportChatCount > 0}\" @click.prevent=\"selectedTab = 'messages' \">\r\n <guppy-svg-icons ImageColor=\"group\" :isActive=\"selectedTab == 'messages'\" activeColor=\"#0A0F26\"/>\r\n <span> {{TRANS.admin_support_msgs_tab}} </span>\r\n </a>\r\n </div>\r\n <template v-if=\"!isSupportMember\">\r\n <template v-if=\"selectedTab == 'agents'\">\r\n <user-list />\r\n </template>\r\n <template v-else-if=\"selectedTab == 'messages'\">\r\n <chat-list />\r\n </template>\r\n </template>\r\n <template v-else>\r\n <chat-list />\r\n </template>\r\n \r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport CustomerSupportUserList from \"./CustomerSupportUserList.vue\";\r\nimport CustomerSupportChatList from \"./CustomerSupportChatList.vue\";\r\nimport GuppySvgIcons from \"../../EmptyViews/GuppySvgIcons.vue\";\r\nimport { mapState } from 'vuex';\r\nexport default {\r\n name : \"CustomerSupport\",\r\n components : {\r\n UserList: CustomerSupportUserList,\r\n ChatList : CustomerSupportChatList,\r\n GuppySvgIcons\r\n },\r\n data(){\r\n return {\r\n selectedTab : 'agents',\r\n }\r\n },\r\n computed : mapState({\r\n adminSupportChatCount : state => state.adminSupportChatCount,\r\n isSupportMember : state => state.isSupportMember\r\n }),\r\n}\r\n</script>\r\n\r\n<style>\r\n.user-list{\r\n height : 600px;\r\n overflow-y : auto;\r\n margin : 0;\r\n padding : 0;\r\n}\r\n.at-userlist_tab {\r\n display: flex;\r\n flex-direction: column;\r\n height: 100%;\r\n padding-left: 70px;\r\n}\r\n.at-userlist_tab .at-userlist_tab{padding-bottom: 0; padding-left: 0;}\r\n.at-userchat_tab + .at-userlist_tab ul{\r\n height: 100%;\r\n}\r\n.at-userlist_tab ul {\r\n background: #fff;\r\n height: calc(100% - 0px);\r\n flex-direction: column;\r\n width: 100%;\r\n margin: 0;\r\n padding: 0;\r\n}\r\n.at-userlist_tab .at-userchat_tab + .at-sidebarhead_search + ul,\r\n.at-userlist_tab .at-userchat_tab + ul{\r\n height: calc(100% - 168px);\r\n}\r\n.at-userlist_tab li {\r\n list-style-type: none;\r\n width: 100% !important;\r\n margin: 0;\r\n}\r\n.at-guppysidepopup .at-userlist_tab li.at-userbar:last-child{margin-bottom: 0px;}\r\n.at-userlist_tab .at-empty-conversation{\r\n width: 100%;\r\n background: transparent;\r\n z-index: -2;\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n align-items: center;\r\n height: 100%;\r\n margin: 60px 0 0;\r\n}\r\n.at-userlist_tab .at-empty-conversation > span{\r\n letter-spacing: 0.5px;\r\n font-weight: 500;\r\n font-size: 18px;\r\n line-height: 26px;\r\n}\r\n.at-userlist_tab li.at-inner-loaader{\r\n width: calc(100% - 80px) !important;\r\n}\r\n</style>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomerSupport.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomerSupport.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CustomerSupport.vue?vue&type=template&id=c6e110aa&\"\nimport script from \"./CustomerSupport.vue?vue&type=script&lang=js&\"\nexport * from \"./CustomerSupport.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CustomerSupport.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"gp-whatsappchatfloat\"},[_c('div',{staticClass:\"gp-sidebarhead\"},[_c('h2',[_vm._v(_vm._s(_vm.TRANS.whatsap_list_title))]),_c('p',{domProps:{\"innerHTML\":_vm._s(_vm.whatsappText)}}),_c('whatsapp-image',{attrs:{\"ImageColor\":\"lightGreen\"}})],1),_c('div',{staticClass:\"gp-userlist_tab\",attrs:{\"id\":\"friendlist\"}},[_c('div',{staticClass:\"gp-sidebarhead_search\"},[_c('div',{staticClass:\"gp-form-group\"},[_c('i',{staticClass:\"guppy-search\"}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.search),expression:\"search\"}],staticClass:\"gp-form-control\",attrs:{\"type\":\"search\",\"placeholder\":_vm.TRANS.search},domProps:{\"value\":(_vm.search)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.search=$event.target.value},function($event){return _vm.userSearch()}]}})])]),_c('div',{staticClass:\"gp-willrespond\"},[_c('span',[_vm._v(_vm._s(_vm.TRANS.list_respond_text))])]),(Object.keys(_vm.whatsappList).length)?_c('ul',{staticClass:\"gp-conversation-list\",on:{\"scroll\":function($event){$event.preventDefault();return _vm.userListScrollHandler($event)}}},[_vm._l((_vm.whatsappList),function(whatsappUser,index){return _c('li',{key:index + '_' + Math.floor(Math.random() * 99999999),staticClass:\"gp-userbar gp-whatsapp-user\",class:{'active' : whatsappUser.chatId == _vm.chatInfo.chatId, 'gp-notavailable' : !whatsappUser.isOnline},on:{\"click\":function($event){$event.preventDefault();return _vm.openConversation( whatsappUser )}}},[_c('figure',{staticClass:\"gp-userbar_profile gp-profileuserstatus\"},[_c('span',{staticClass:\"gp-userstatus\",class:whatsappUser.isOnline ? 'online' : 'offline'}),_c('img',{attrs:{\"src\":whatsappUser.userAvatar ? whatsappUser.userAvatar : _vm.defaultAvatar,\"alt\":whatsappUser.userName}})]),_c('div',{staticClass:\"gp-userbar_title\"},[(whatsappUser.userDesignation)?_c('em',[_vm._v(_vm._s(whatsappUser.userDesignation))]):_vm._e(),(whatsappUser.userName)?_c('h3',[_vm._v(_vm._s(_vm._f(\"capitalize\")(whatsappUser.userName)))]):_vm._e(),(whatsappUser.startTime && whatsappUser.endTime)?_c('p',[_c('span',[_vm._v(\" \"+_vm._s(whatsappUser.startTime)+\" - \"+_vm._s(whatsappUser.endTime))]),_vm._v(\" \"),(whatsappUser.GMTTimezone)?_c('span',[_vm._v(\"( \"),_c('b',[_vm._v(\"GMT \"+_vm._s(whatsappUser.GMTTimezone)+\" hrs \")]),_vm._v(\" ) \")]):_vm._e()]):_c('p',[_vm._v(_vm._s(_vm.TRANS.offline))])]),_c('div',{staticClass:\"gp-userbar_right\"},[_c('a',{staticClass:\"gp-whatsappbtn\",attrs:{\"href\":\"javascript:void(0);\"}},[_c('whatsapp-image')],1)])])}),(_vm.isLoading)?_c('guppy-chat-inner-loader'):_vm._e()],2):[(_vm.isLoading)?_c('guppy-chat-loader'):_c('guppy-chat-empty-view',{attrs:{\"isSidebarProps\":true,\"listIcon\":\"guppy-user-plus\"}})]],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{attrs:{\"width\":_vm.imageWidth,\"height\":_vm.imageHeight,\"viewBox\":_vm.viewBox,\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[(_vm.ImageColor == 'pin')?[_c('path',{attrs:{\"d\":\"M2 1H18V2.42105H2V1Z\",\"fill\":_vm.isActive ? _vm.secondaryColor : '#999999'}}),_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"clip-rule\":\"evenodd\",\"d\":\"M12.1333 7.56011V2.42105H7.86667V7.56011L4.8633 11.8947H15.1367L12.1333 7.56011ZM18 13.3158H2L6.26667 7.1579V1H13.7333V7.1579L18 13.3158Z\",\"fill\":_vm.isActive ? _vm.secondaryColor : '#999999'}}),_c('path',{attrs:{\"d\":\"M9.46667 13.3158H11.0667V18.2895C11.0667 18.6819 10.7085 19 10.2667 19C9.82484 19 9.46667 18.6819 9.46667 18.2895V13.3158Z\",\"fill\":_vm.isActive ? _vm.secondaryColor : '#999999'}})]:_c('path',{attrs:{\"d\":_vm.imagePath,\"fill\":_vm.fill}})],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <svg :width=\"imageWidth\" :height=\"imageHeight\" :viewBox=\"viewBox\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <template v-if=\"ImageColor == 'pin'\">\r\n <path d=\"M2 1H18V2.42105H2V1Z\" :fill=\" isActive ? secondaryColor : '#999999' \"/>\r\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12.1333 7.56011V2.42105H7.86667V7.56011L4.8633 11.8947H15.1367L12.1333 7.56011ZM18 13.3158H2L6.26667 7.1579V1H13.7333V7.1579L18 13.3158Z\" :fill=\" isActive ? secondaryColor : '#999999' \"/>\r\n <path d=\"M9.46667 13.3158H11.0667V18.2895C11.0667 18.6819 10.7085 19 10.2667 19C9.82484 19 9.46667 18.6819 9.46667 18.2895V13.3158Z\" :fill=\" isActive ? secondaryColor : '#999999' \"/>\r\n </template>\r\n <path v-else :d=\"imagePath\" :fill=\"fill\"/>\r\n </svg>\r\n</template>\r\n\r\n<script>\r\n import { GUPPYCHAT_SETTINGS } from \"../../../resources/constants\";\r\nexport default {\r\n name : 'WhatsappImage',\r\n props : {\r\n ImageColor:{\r\n type : String,\r\n default : '#25D366',\r\n required : false\r\n },\r\n isActive : {\r\n type : Boolean,\r\n default : false,\r\n required : false\r\n }\r\n },\r\n data(){\r\n return {\r\n secondaryColor : GUPPYCHAT_SETTINGS.secondaryColor\r\n }\r\n },\r\n computed:{\r\n fill : function(){\r\n return this.ImageColor == 'white' || this.ImageColor == 'lightGreen' ? 'white' : '#25D366';\r\n },\r\n imageWidth : function(){\r\n return this.ImageColor == 'white' ? 44 : this.ImageColor == 'lightGreen' ? 47 : this.ImageColor == 'pin' ? 20 : 20;\r\n },\r\n imageHeight : function(){\r\n return this.ImageColor == 'white' ? 44 : this.ImageColor == 'lightGreen' ? 60 : this.ImageColor == 'pin' ? 20 : 20;\r\n },\r\n viewBox: function(){ \r\n return this.ImageColor == 'white' ? '0 0 44 44' : this.ImageColor == 'lightGreen' ? '0 0 47 60' : this.ImageColor == 'pin' ? '0 0 20 20' : '0 0 20 20';\r\n },\r\n imagePath : function(){\r\n let path = 'M17.0045 2.90625C15.1339 1.03125 12.6429 0 9.99554 0C4.53125 0 0.0848214 4.44643 0.0848214 9.91071C0.0848214 11.6562 0.540179 13.3616 1.40625 14.8661L0 20L5.25446 18.6205C6.70089 19.4107 8.33036 19.8259 9.99107 19.8259H9.99554C15.4554 19.8259 20 15.3795 20 9.91518C20 7.26786 18.875 4.78125 17.0045 2.90625ZM9.99554 18.1563C8.51339 18.1563 7.0625 17.7589 5.79911 17.0089L5.5 16.8304L2.38393 17.6473L3.21429 14.6071L3.01786 14.2946C2.19196 12.9821 1.75893 11.4688 1.75893 9.91071C1.75893 5.37054 5.45536 1.67411 10 1.67411C12.2009 1.67411 14.2679 2.53125 15.8214 4.08929C17.375 5.64732 18.3304 7.71429 18.3259 9.91518C18.3259 14.4598 14.5357 18.1563 9.99554 18.1563ZM14.5134 11.9866C14.2679 11.8616 13.0491 11.2634 12.8214 11.183C12.5938 11.0982 12.4286 11.058 12.2634 11.308C12.0982 11.558 11.625 12.1116 11.4777 12.2813C11.3348 12.4464 11.1875 12.4688 10.942 12.3438C9.48661 11.6161 8.53125 11.0446 7.57143 9.39732C7.31696 8.95982 7.82589 8.99107 8.29911 8.04464C8.37946 7.87946 8.33929 7.73661 8.27679 7.61161C8.21429 7.48661 7.71875 6.26786 7.51339 5.77232C7.3125 5.29018 7.10714 5.35714 6.95536 5.34821C6.8125 5.33929 6.64732 5.33929 6.48214 5.33929C6.31696 5.33929 6.04911 5.40179 5.82143 5.64732C5.59375 5.89732 4.95536 6.49554 4.95536 7.71429C4.95536 8.93304 5.84375 10.1116 5.96429 10.2768C6.08929 10.442 7.70982 12.942 10.1964 14.0179C11.7679 14.6964 12.3839 14.7545 13.1696 14.6384C13.6473 14.567 14.6339 14.0402 14.8393 13.4598C15.0446 12.8795 15.0446 12.3839 14.9821 12.2813C14.9241 12.1696 14.7589 12.1071 14.5134 11.9866Z';\r\n if( this.ImageColor == 'white' ){\r\n path = 'M37.4098 6.39375C33.2946 2.26875 27.8143 0 21.9902 0C9.96875 0 0.186607 9.78214 0.186607 21.8036C0.186607 25.6437 1.18839 29.3955 3.09375 32.7054L0 44L11.5598 40.9652C14.742 42.7036 18.3268 43.617 21.9804 43.617H21.9902C34.0018 43.617 44 33.8348 44 21.8134C44 15.9893 41.525 10.5187 37.4098 6.39375ZM21.9902 39.9437C18.7295 39.9437 15.5375 39.0696 12.758 37.4196L12.1 37.0268L5.24464 38.8241L7.07143 32.1357L6.63929 31.4482C4.82232 28.5607 3.86964 25.2312 3.86964 21.8036C3.86964 11.8152 12.0018 3.68304 22 3.68304C26.842 3.68304 31.3893 5.56875 34.8071 8.99643C38.225 12.4241 40.3268 16.9714 40.317 21.8134C40.317 31.8116 31.9786 39.9437 21.9902 39.9437ZM31.9295 26.3705C31.3893 26.0955 28.708 24.7795 28.2071 24.6027C27.7063 24.4161 27.3429 24.3277 26.9795 24.8777C26.6161 25.4277 25.575 26.6455 25.2509 27.0187C24.9366 27.3821 24.6125 27.4312 24.0723 27.1562C20.8705 25.5554 18.7688 24.2982 16.6571 20.6741C16.0973 19.7116 17.217 19.7804 18.258 17.6982C18.4348 17.3348 18.3464 17.0205 18.2089 16.7455C18.0714 16.4705 16.9813 13.7893 16.5295 12.6991C16.0875 11.6384 15.6357 11.7857 15.3018 11.7661C14.9875 11.7464 14.6241 11.7464 14.2607 11.7464C13.8973 11.7464 13.308 11.8839 12.8071 12.4241C12.3062 12.9741 10.9018 14.2902 10.9018 16.9714C10.9018 19.6527 12.8563 22.2455 13.1214 22.6089C13.3964 22.9723 16.9616 28.4723 22.4321 30.8393C25.8893 32.3321 27.2446 32.4598 28.9732 32.2045C30.0241 32.0473 32.1946 30.8884 32.6464 29.6116C33.0982 28.3348 33.0982 27.2446 32.9607 27.0187C32.833 26.7732 32.4696 26.6357 31.9295 26.3705Z';\r\n } else if(this.ImageColor == 'lightGreen'){\r\n path=\"M38.0134 8.71875C32.4018 3.09375 24.9286 0 16.9866 0C0.593748 0 -12.7455 13.3393 -12.7455 29.7321C-12.7455 34.9688 -11.3795 40.0848 -8.78125 44.5982L-13 60L2.76339 55.8616C7.10268 58.2321 11.9911 59.4777 16.9732 59.4777H16.9866C33.3661 59.4777 47 46.1384 47 29.7455C47 21.8036 43.625 14.3437 38.0134 8.71875ZM16.9866 54.4688C12.5402 54.4688 8.1875 53.2768 4.39732 51.0268L3.5 50.4911L-5.84821 52.942L-3.35714 43.8214L-3.94643 42.8839C-6.42411 38.9464 -7.72321 34.4062 -7.72321 29.7321C-7.72321 16.1116 3.36607 5.02232 17 5.02232C23.6027 5.02232 29.8036 7.59375 34.4643 12.2679C39.125 16.942 41.9911 23.1429 41.9777 29.7455C41.9777 43.3795 30.6071 54.4688 16.9866 54.4688ZM30.5402 35.9598C29.8036 35.5848 26.1473 33.7902 25.4643 33.5491C24.7812 33.2946 24.2857 33.1741 23.7902 33.9241C23.2946 34.6741 21.875 36.3348 21.433 36.8438C21.0045 37.3393 20.5625 37.4062 19.8259 37.0312C15.4598 34.8482 12.5938 33.1339 9.71428 28.192C8.95089 26.8795 10.4777 26.9732 11.8973 24.1339C12.1384 23.6384 12.0179 23.2098 11.8304 22.8348C11.6429 22.4598 10.1562 18.8036 9.54018 17.317C8.9375 15.8705 8.32143 16.0714 7.86607 16.0446C7.4375 16.0179 6.94196 16.0179 6.44643 16.0179C5.95089 16.0179 5.14732 16.2054 4.46428 16.942C3.78125 17.692 1.86607 19.4866 1.86607 23.1429C1.86607 26.7991 4.53125 30.3348 4.89286 30.8304C5.26786 31.3259 10.1295 38.8259 17.5893 42.0536C22.3036 44.0893 24.1518 44.2634 26.5089 43.9152C27.942 43.7009 30.9018 42.1205 31.5179 40.3795C32.1339 38.6384 32.1339 37.1518 31.9464 36.8438C31.7723 36.5089 31.2768 36.3214 30.5402 35.9598Z\";\r\n }\r\n\r\n return path\r\n },\r\n }\r\n}\r\n</script>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WhatsappImage.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WhatsappImage.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./WhatsappImage.vue?vue&type=template&id=312ef72e&\"\nimport script from \"./WhatsappImage.vue?vue&type=script&lang=js&\"\nexport * from \"./WhatsappImage.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\r\n <div class=\"gp-whatsappchatfloat\">\r\n <div class=\"gp-sidebarhead\">\r\n <h2>{{TRANS.whatsap_list_title}}</h2>\r\n <p v-html=\"whatsappText\"></p>\r\n <whatsapp-image ImageColor=\"lightGreen\" />\r\n </div>\r\n <div id=\"friendlist\" class=\"gp-userlist_tab\">\r\n <div class=\"gp-sidebarhead_search\">\r\n <div class=\"gp-form-group\">\r\n <i class=\"guppy-search\"></i>\r\n <input type=\"search\" v-model=\"search\" @input=\"userSearch()\" class=\"gp-form-control\" :placeholder=\"TRANS.search\" />\r\n </div> \r\n </div>\r\n <div class=\"gp-willrespond\">\r\n <span>{{TRANS.list_respond_text}}</span>\r\n </div>\r\n <ul v-if=\"Object.keys(whatsappList).length\" @scroll.prevent=\"userListScrollHandler($event)\" class=\"gp-conversation-list\">\r\n <li @click.prevent=\"openConversation( whatsappUser )\" class=\"gp-userbar gp-whatsapp-user\" :class=\"{'active' : whatsappUser.chatId == chatInfo.chatId, 'gp-notavailable' : !whatsappUser.isOnline}\" v-for=\"(whatsappUser, index ) in whatsappList\" :key=\"index + '_' + Math.floor(Math.random() * 99999999)\" >\r\n <figure class=\"gp-userbar_profile gp-profileuserstatus\">\r\n <span class=\"gp-userstatus\" :class=\"whatsappUser.isOnline ? 'online' : 'offline'\"></span>\r\n <img :src=\"whatsappUser.userAvatar ? whatsappUser.userAvatar : defaultAvatar\" :alt=\"whatsappUser.userName\">\r\n </figure>\r\n <div class=\"gp-userbar_title\">\r\n <em v-if=\"whatsappUser.userDesignation\">{{whatsappUser.userDesignation}}</em>\r\n <h3 v-if=\"whatsappUser.userName\">{{ whatsappUser.userName | capitalize }}</h3>\r\n <p v-if=\"whatsappUser.startTime && whatsappUser.endTime\"><span> {{whatsappUser.startTime}} - {{whatsappUser.endTime}}</span> <span v-if=\"whatsappUser.GMTTimezone\">( <b>GMT {{whatsappUser.GMTTimezone}} hrs </b> ) </span> </p>\r\n <p v-else>{{TRANS.offline}}</p>\r\n </div>\r\n <div class=\"gp-userbar_right\">\r\n <a href=\"javascript:void(0);\" class=\"gp-whatsappbtn\">\r\n <whatsapp-image />\r\n </a>\r\n </div>\r\n </li>\r\n <guppy-chat-inner-loader v-if=\"isLoading\"/>\r\n </ul>\r\n <template v-else>\r\n <guppy-chat-loader v-if=\"isLoading\"/>\r\n <guppy-chat-empty-view v-else :isSidebarProps=\"true\" listIcon=\"guppy-user-plus\"/> \r\n </template>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { GUPPYCHAT_CONSTANTS, GUPPYCHAT_SETTINGS } from \"../../../resources/constants\";\r\nimport GuppyChatEmptyView from \"../../EmptyViews/GuppyChatEmptyView.vue\";\r\nimport GuppyChatLoader from \"../../GuppyChatLoader/GuppyChatLoader.vue\";\r\nimport GuppyChatInnerLoader from \"../../GuppyChatLoader/GuppyChatInnerLoader.vue\";\r\nimport RestApiManager from \"../../../resources/RestApiController\";\r\nimport WhatsappImage from \"./WhatsappImage.vue\";\r\nimport moment from 'moment-timezone';\r\nimport jQuery from \"jquery\";\r\nimport { mapState } from 'vuex';\r\nexport default {\r\n name : \"GuppyChatWhatsappUserList\",\r\n components:{\r\n GuppyChatEmptyView,\r\n GuppyChatLoader,\r\n GuppyChatInnerLoader,\r\n WhatsappImage\r\n },\r\n data(){\r\n return{\r\n defaultAvatar : GUPPYCHAT_CONSTANTS.AVATAR,\r\n search : '',\r\n timer : null,\r\n }\r\n },\r\n computed :{\r\n whatsappText : function (){\r\n let text = GUPPYCHAT_SETTINGS.translations.whatsapp_support_desc;\r\n let convName = '<span>'+GUPPYCHAT_SETTINGS.translations.conversation_name_txt+'</span>';\r\n return text.replace('{{conversation_name}}', convName);\r\n },\r\n ...mapState({\r\n whatsappList : state => {\r\n let userList = state.whatsappList\r\n if(Object.keys(userList).length){\r\n let utcDate = moment.utc().format('YYYY-MM-DD HH:mm:ss'); // in utc\r\n let utcCutoff = moment.utc(utcDate, 'YYYYMMDD HH:mm:ss');\r\n \r\n return Object.values(userList).map( whatsappUser => {\r\n let timeZoneDate = utcCutoff.clone().tz(whatsappUser.usertimeZone);\r\n \r\n let timeZoneDay = timeZoneDate.format('dddd').toLowerCase(); \r\n let currentDate = timeZoneDate.format('YYYY-MM-DD');\r\n let currentDatetime = timeZoneDate.format('YYYY-MM-DD HH:mm:ss');\r\n \r\n let currentDay = whatsappUser.availableTime[timeZoneDay];\r\n let isOnline = false;\r\n let GMTTimezone = 0;\r\n if(currentDay){\r\n \r\n let startDateTime = `${currentDate} ${currentDay['start_time']}`;\r\n let endDateTime = `${currentDate} ${currentDay['end_time']}`;\r\n isOnline = moment(currentDatetime).isBetween( startDateTime, endDateTime );\r\n\r\n let currentTimeZone = moment.tz.guess();\r\n let currentUtcCutoff = utcCutoff.clone().tz(currentTimeZone, true);\r\n\r\n let userTimeZoneCutOff = Number(timeZoneDate.format('Z').split(':')[0]);\r\n let currentTimeZoneCutOff = Number(currentUtcCutoff.format('Z').split(':')[0]);\r\n\r\n let timeZoneDiff = currentTimeZoneCutOff - userTimeZoneCutOff;\r\n GMTTimezone = timeZoneDiff * (-1);\r\n\r\n let currentZoneDate = currentUtcCutoff.format('YYYY-MM-DD');\r\n let _startDateTime = `${currentZoneDate} ${currentDay['start_time']}`;\r\n let _endDateTime = `${currentZoneDate} ${currentDay['end_time']}`;\r\n \r\n let displayFormat = 'hh:mm a';\r\n\r\n let startTime = moment(_startDateTime).format(displayFormat);\r\n let endTime = moment(_endDateTime).format(displayFormat);\r\n \r\n whatsappUser.startTime = startTime;\r\n whatsappUser.endTime = endTime;\r\n\r\n\r\n }\r\n whatsappUser.isOnline = isOnline\r\n whatsappUser.GMTTimezone = GMTTimezone\r\n return whatsappUser\r\n });\r\n } else {\r\n return []\r\n }\r\n },\r\n whatsappListFlag : state => state.whatsappListFlag,\r\n whatsappListOffset : state => state.whatsappListOffset,\r\n noMoreWhatsappUsers : state => state.noMoreWhatsappUsers,\r\n whatsappUserSearch : state => state.whatsappUserSearch,\r\n chatInfo : state => state.chatInfo,\r\n userProfile : state => state.userProfile,\r\n })\r\n },\r\n methods:{\r\n showWidget(){\r\n this.$root.$emit('showWidget');\r\n },\r\n userSearch(){\r\n this.$store.commit('updateRecordList', {RecordList: 'noMoreWhatsappUsers', RecordListValue: false});\r\n this.isScrolling = false;\r\n clearTimeout(this.timer); \r\n this.timer = setTimeout(()=>{\r\n this.updateListRecord( {} );\r\n this.$store.commit('updateOffset', {offset:'whatsappListOffset', offsetValue: 0});\r\n this.$store.commit('updateSearch', {search:'whatsappUserSearch', searchValue: this.search});\r\n this.getUsersList();\r\n this.updateOffset();\r\n }, 800)\r\n },\r\n async getUsersList(){\r\n if ( !this.noMoreWhatsappUsers ) {\r\n this.isLoading = true;\r\n let response = await RestApiManager.getWhatsappUserList(this.whatsappListOffset, this.search)\r\n this.isLoading = false;\r\n if( response.data.type == \"success\" ) {\r\n let currentMoreRecord = Object.keys(response.data.userList).length == 0 ? true : false;\r\n this.$store.commit('updateRecordList', {RecordList: 'noMoreWhatsappUsers', RecordListValue: currentMoreRecord});\r\n if( !this.whatsappListFlag ) {\r\n this.$store.commit('updateListFlag', {flag: 'whatsappListFlag', flagValue:true});\r\n }\r\n this.updateListRecord( response.data.userList )\r\n } else if(response.data.type == \"error\"){\r\n this.alertBox('error', this.TRANS.error_title, response.data.message_desc);\r\n }\r\n }\r\n },\r\n updateOffset(){\r\n let currentOffset = this.whatsappListOffset + this.RecordLimit;\r\n this.$store.commit('updateOffset', {offset:'whatsappListOffset', offsetValue: currentOffset});\r\n },\r\n // Handles user list scroll\r\n userListScrollHandler(elem) {\r\n if ( (elem.target.offsetHeight + elem.target.scrollTop) + 1 >= elem.target.scrollHeight ) {\r\n this.isScrolling = true;\r\n this.getUsersList();\r\n this.updateOffset();\r\n }\r\n },\r\n openConversation( params ){\r\n let width = jQuery('.gp-chat').width();\r\n if ( width <= 768){\r\n jQuery('.gp-chat').addClass(\"gp-opnchatbox\")\r\n }\r\n this.$store.commit('updateChatInfo', { data: params, userClick : true });\r\n this.$root.$emit('toggleSignInWindow', false);\r\n },\r\n updateListRecord( recList ){\r\n let data = {\r\n 'list' : recList,\r\n 'listType' : 'whatsappList',\r\n 'isScrolling' : this.isScrolling\r\n }\r\n this.$store.commit('updateTabListRecord', data)\r\n setTimeout(()=>{\r\n jQuery('.gp-users-list .gp-conversation-list').addClass('active');\r\n },200)\r\n },\r\n },\r\n created(){\r\n if(!Object.keys(this.whatsappList).length || !this.whatsappListFlag ){\r\n this.getUsersList();\r\n this.updateOffset();\r\n }\r\n },\r\n mounted(){\r\n this.search = this.whatsappUserSearch;\r\n }\r\n\r\n}\r\n</script>\r\n<style>\r\n.gp-closechat{\r\n margin-left: auto;\r\n color: #fff;\r\n font-size: 28px;\r\n text-decoration: none;\r\n}\r\n.gp-userbar_title {\r\n white-space: normal;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n margin-left: 15px;\r\n}\r\n.gp-userbar_title > em{\r\n display: block;\r\n margin: 0 0 2px;\r\n color: #3C57E5;\r\n font-size: 14px;\r\n font-weight: 600;\r\n line-height: 22px;\r\n font-style: normal;\r\n \r\n}\r\n.gp-userbar_title h3{\r\n font-size: 16px;\r\n line-height: 19px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n margin: 0;\r\n text-overflow: ellipsis;\r\n}\r\n.gp-userbar_title > p{\r\n margin: 0;\r\n display: flex;\r\n flex-wrap: wrap;\r\n font-size: 14px;\r\n align-items: center;\r\n line-height: 22px;\r\n color: var(--secwhatsappcolor);\r\n}\r\n.gp-floatchat_title-right a i{display: block;}\r\n.gp-userbar_title > p span{\r\n margin: 0;\r\n line-height: 22px;\r\n color: var(--terwhatsappcolor);\r\n}\r\n.gp-userbar_title > p em{\r\n font-style: normal;\r\n line-height: 22px;\r\n}\r\n.gp-whatsappbtn{\r\n display: flex;\r\n align-items: center;\r\n border-radius: 60px;\r\n padding: 8.5px 14.5px;\r\n border: 1.5px solid var(--primguppycolor);\r\n}\r\n.gp-whatsappbtn svg path{fill: var(--primguppycolor);}\r\n.gp-whatsappbtn svg{\r\n margin-right: 10px;\r\n}\r\n.gp-whatsappbtn span{\r\n color: var(--secwhatsappcolor);\r\n font: 700 13px/20px var(--primchatfont);\r\n}\r\n.gp-userlist_tab {\r\n display: flex;\r\n flex-direction: column;\r\n height: calc(100vh - 70px); \r\n}\r\n.gp-inner-loaader{\r\n bottom: 0;\r\n}\r\n.gp-sidebarhead {\r\n\tz-index: 2;\r\n\tpadding: 20px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tposition: relative;\r\n background: var(--primguppycolor);\r\n}\r\n.gp-sidebarhead > img {\r\n\tmargin-right: 10px;\r\n\tborder-radius: 50% !important;\r\n\twidth: 50px;\r\n\theight: 50px;\r\n}\r\n.gp-whatsappsidepopup{\r\n position: relative;\r\n z-index: 9999999;\r\n color: var(--secwhatsappcolor);\r\n font: 400 14px/26px var(--terwhatsappcolor);\r\n}\r\n.gp-sidebarhead > h2 {\r\n\tcolor: #fff !important;\r\n\tletter-spacing: 0.5px;\r\n\tfont-size: 22px;\r\n\tmargin: 0;\r\n\tline-height: 30px;\r\n\twhite-space: nowrap;\r\n\toverflow: hidden;\r\n\tpadding-top: 0;\r\n\ttext-overflow: ellipsis;\r\n}\r\n.gp-userlist_tab li.gp-userbar:last-child {\r\n margin-bottom: 40px;\r\n}\r\n\r\n.gp-sidebarhead>a:hover{color: #fff;}\r\n.gp-sidebarhead_search {\r\n width: 100%;\r\n position: relative;\r\n padding: 20px;\r\n background: #ffffff;\r\n align-self: flex-start;\r\n display: -ms-flexbox;\r\n display: flex;\r\n -ms-flex-wrap: wrap;\r\n flex-wrap: wrap;\r\n border-bottom: 1px solid #ddd;\r\n}\r\n.gp-sidebarhead_search h3 {\r\n font-size: 18px;\r\n line-height: 26px;\r\n letter-spacing: 0.5px;\r\n display: flex;\r\n align-items: center;\r\n width: 100%;\r\n margin: 0 0 10px;\r\n}\r\n.gp-sidebarhead_search .gp-form-group i {\r\n position: absolute;\r\n left: 18px;\r\n font-size: 18px;\r\n color: var(--terwhatsappcolor);\r\n}\r\n.gp-sidebarhead_search .gp-form-group {\r\n padding: 0;\r\n display: flex;\r\n align-items: center;\r\n position: relative;\r\n width: 100%;\r\n}\r\n.gp-sidebarhead_search .gp-form-group input {\r\n font-size: 14px;\r\n padding-left: 45px;\r\n width: 100%;\r\n height: 40px;\r\n outline: none;\r\n border-radius: 3px;\r\n}\r\n.gp-userlist_tab ul {\r\n height: calc(100% - 116px);\r\n flex-direction: column;\r\n width: 100%;\r\n margin: 0;\r\n padding: 0;\r\n overflow-y: auto;\r\n}\r\n.gp-userlist_tab li {\r\n list-style-type: none;\r\n width: 100%;\r\n margin: 0;\r\n}\r\n.gp-userbar {\r\n padding: 20px !important;\r\n display: flex;\r\n align-items: center;\r\n cursor: pointer;\r\n transition: all 0.3s ease-in-out;\r\n}\r\n.gp-userbar_profile {\r\n flex: none;\r\n width: 100%;\r\n max-width: 50px;\r\n height: 50px;\r\n border-radius: 50%;\r\n margin: 0;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n background: #f7f7f7;\r\n transition: all 0.3s ease-in-out;\r\n position: relative;\r\n}\r\n.gp-userbar_profile img {\r\n width: 100%;\r\n margin: 0 auto;\r\n height: 50px;\r\n display: block;\r\n object-fit: cover;\r\n border-radius: 50px !important;\r\n}\r\n.gp-userstatus {\r\n font-size: 14px;\r\n line-height: 26px;\r\n letter-spacing: 0.01em;\r\n display: inline-flex;\r\n vertical-align: middle;\r\n align-items: center;\r\n right: 0;\r\n bottom: 0;\r\n z-index: 1;\r\n position: absolute;\r\n}\r\n.gp-userstatus::before {\r\n content: '';\r\n margin: 0;\r\n width: 6px;\r\n height: 6px;\r\n border-radius: 50%;\r\n display: inline-block;\r\n}\r\n.gp-userbar_profile .gp-userstatus:before {\r\n margin: 0;\r\n width: 14px;\r\n height: 14px;\r\n border: 3px solid #fff;\r\n}\r\n.gp-userstatus.online:before {\r\n background-color: #22C55E;\r\n}\r\n.gp-userstatus.offline:before {\r\n background-color: #ddd;\r\n}\r\n.gp-userstatus.away:before {\r\n background-color: #EAB308;\r\n}\r\n.gp-userstatus.notify:before {\r\n background-color: #FF7300;\r\n}\r\n.gp-userbar.gp-notavailable {\r\n mix-blend-mode: luminosity;\r\n}\r\n.gp-userbar_right {\r\n text-align: right;\r\n margin-left: auto;\r\n flex: none;\r\n padding-left: 10px;\r\n}\r\n.gp-userbar_right a{text-decoration: none !important;}\r\n.gp-userbar_right > span {\r\n display: block;\r\n font-size: 14px;\r\n line-height: 24px;\r\n color: var(--terwhatsappcolor);\r\n}\r\n.gp-userlist_tab li + li {\r\n border-top: 1px solid #ddd;\r\n}\r\n\r\n@media (max-width: 420px){\r\n .gp-whatsappbtn{\r\n padding: 13.5px;\r\n }\r\n .gp-whatsappbtn span{\r\n display: none;\r\n }\r\n .gp-whatsappbtn svg{\r\n margin: 0;\r\n }\r\n}\r\n/* NEWWIDGET */\r\n.gp-willrespond{\r\n background: #F7F7F7;\r\n box-shadow: inset 0px -1px 0px #eeeeee;\r\n padding: 10px 20px;\r\n display: flex;\r\n justify-self: center;\r\n align-items: center;\r\n text-align: center;\r\n width: 100%;\r\n}\r\n.gp-willrespond span{\r\n color: #999999;\r\n font-size: 13px;\r\n line-height: 18px;\r\n font-weight: 600;\r\n display: inline-block;\r\n font-family: var(--secchatfont);\r\n width: 100%;\r\n text-align: center;\r\n}\r\n.gp-users-list::after{\r\n position: absolute;\r\n content: '';\r\n right: 48px;\r\n display: inline-block;\r\n z-index: 1111;\r\n width: 0;\r\n height: 0;\r\n border-left: 10px solid transparent;\r\n border-right: 10px solid transparent;\r\n border-top: 10px solid #fff;\r\n box-shadow: inset 1px -1px 0px #EEEEEE;\r\n \r\n}\r\n.gp-users-list .gp-sidebarhead_search{\r\n box-shadow: inset 0px -1px 0px #eeeeee;\r\n border: 0;\r\n}\r\n.gp-users-list .gp-conversation-list{\r\n padding:20px;\r\n height: calc(100% - 235px);\r\n}\r\n.gp-users-list .gp-chat_sidebar{\r\n border-radius:0 0 10px 10px;\r\n display: block !important;\r\n}\r\n.gp-users-list .gp-conversation-list li {\r\n border-radius: 0px 10px 10px 0px;\r\n border: 1px solid #EEEEEE;\r\n padding: 16px 20px !important;\r\n box-shadow: 0px 4px 6px rgb(0 0 0 / 0) ,inset 3px 0px 0px #25d366;\r\n transition: all .300s ease-in-out;\r\n -webkit-transition: all 0.3s;\r\n -moz-transition: all 0.3s;\r\n -o-transition: all 0.3s;\r\n transition: all 0.3s;\r\n opacity: 0;\r\n -webkit-transform: translateY(-10px);\r\n -moz-transform: translateY(-10px);\r\n -ms-transform: translateY(-10px);\r\n -o-transform: translateY(-10px);\r\n transform: translateY(-10px);\r\n position: relative;\r\n}\r\n.gp-users-list.active {\r\n max-height: 600px;\r\n -webkit-transition: all 0.5s;\r\n -moz-transition: all 0.5s;\r\n -o-transition: all 0.5s;\r\n transition: all 0.5s;\r\n}\r\n.gp-conversation-list.active li {\r\n opacity: 1;\r\n -webkit-transform: translateY(0px);\r\n -moz-transform: translateY(0px);\r\n -ms-transform: translateY(0px);\r\n -o-transform: translateY(0px);\r\n transform: translateY(0px);\r\n}\r\n.gp-conversation-list.active li:nth-of-type(1) {\r\n transition-delay: 0.3s;\r\n}\r\n.gp-conversation-list.active li:nth-of-type(2) {\r\n transition-delay: 0.6s;\r\n}\r\n.gp-conversation-list.active li:nth-of-type(3) {\r\n transition-delay: 0.7s;\r\n}\r\n\r\n.gp-conversation-list.active li:nth-of-type(4) {\r\n transition-delay: 0.8s;\r\n}\r\n\r\n.gp-conversation-list.active li:nth-of-type(5) {\r\n transition-delay: 0.9s;\r\n}\r\n.gp-users-list .gp-conversation-list li:hover{\r\n box-shadow:0px 4px 6px rgb(0 0 0 / 7%), inset 3px 0px 0px #25D366 ;\r\n}\r\n.gp-users-list .gp-conversation-list li + li {\r\n margin: 10px 0 0;\r\n}\r\n.gp-users-list .gp-userbar_title h3 {\r\n font-size: 16px;\r\n line-height: 19px;\r\n}\r\n.gp-users-list .gp-userbar_title > em {\r\n display: block;\r\n margin: 0 0 2px;\r\n color: #3C57E5;\r\n font-size: 13px;\r\n font-weight: 600;\r\n line-height: 17px;\r\n}\r\n.gp-users-list .gp-userbar_title > p span {\r\n font-size:13px;\r\n margin: 2px 0 0;\r\n line-height: 18px;\r\n font-weight: 600;\r\n font-family: var(--secchatfont);\r\n}\r\n.gp-users-list .gp-whatsapp-user .gp-userbar_right .gp-whatsappbtn {\r\n background: var(--primguppycolor);\r\n width: 44px;\r\n border-radius: 50%;\r\n line-height: 44px;\r\n height: 44px;\r\n padding: 0;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n\r\n}\r\n.gp-users-list .gp-whatsapp-user .gp-userbar_right .gp-whatsappbtn svg{\r\n margin:0;\r\n}\r\n.gp-users-list .gp-whatsappbtn svg path {\r\n fill: #ffffff;\r\n}\r\n.gp-users-list .gp-conversation-list li.gp-notavailable .gp-userbar_right .gp-whatsappbtn{\r\n background:#ffffff;\r\n border: 2px solid #EEEEEE;\r\n}\r\n.gp-users-list .gp-conversation-list li.gp-notavailable{\r\n background: #F7F7F7;\r\n mix-blend-mode: normal;\r\n box-shadow: 0px 4px 6px rgb(0 0 0 / 0%), inset 3px 0px 0px #999999;\r\n}\r\n.gp-users-list .gp-conversation-list li.gp-notavailable figure {\r\n mix-blend-mode: luminosity;\r\n}\r\n.gp-singleimg.gp-notavailable img{\r\n filter: grayscale(1);\r\n}\r\n.gp-users-list .gp-conversation-list li.gp-notavailable:hover{\r\n box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.07), inset 3px 0px 0px #999999;\r\n}\r\n.gp-users-list .gp-conversation-list li.gp-notavailable svg path {\r\n fill: #999999;\r\n}\r\n.gp-users-list .gp-userstatus.offline:before {\r\n background-color: #999999;\r\n}\r\n.gp-users-list .gp-userbar_title {\r\n margin-left: 10px;\r\n}\r\n.gp-users-list .gp-conversation-list li.gp-notavailable .gp-userbar_title > em {\r\n color: #3C57E5;\r\n font-family: var(--secchatfont);\r\n}\r\n.gp-users-list .gp-sidebarhead {\r\n flex-direction: column;\r\n align-items: flex-start;\r\n padding: 16px 20px 16px 67px;\r\n border-radius: 10px 10px 0 0;\r\n}\r\n.gp-users-list .gp-sidebarhead svg {\r\n position: absolute;\r\n left: 0;\r\n opacity: 0.5;\r\n}\r\n.gp-users-list .gp-sidebarhead > h2 {\r\n margin: 0 0 4px;\r\n font-size:20px;\r\n line-height:22px;\r\n white-space: normal;\r\n}\r\n.gp-users-list .gp-sidebarhead p{\r\n font-size: 15px;\r\n line-height: 22px;\r\n color: #fff;\r\n font-weight: 400;\r\n width: 90%;\r\n margin: 0;\r\n}\r\n.gp-users-list .gp-sidebarhead p span {\r\n font-weight: 700;\r\n}\r\n.gp-chatsidebar_float.gp-users-list{\r\n max-width: 400px;\r\n border-radius: 10px;\r\n top: 20vh;\r\n height: auto;\r\n bottom: 146px;\r\n}\r\n.gp-users-list .gp-userlist_tab {\r\n height: calc(100% - 55px);\r\n}\r\n.gp-users-list .gp-whatsappchatfloat{\r\n width: 100%;\r\n height: 100%;\r\n}\r\n.gp-users-list .gp-userlist_tab li.gp-userbar:last-child {\r\n margin-bottom: 0;\r\n}\r\n.gp-chatsidebar_float:not(.gp-widgetclose) + .gp-chatfloatholder .gp-chatfloat.gp-layouttwo{\r\n visibility: visible;\r\n opacity: 1;\r\n display: block;\r\n height: 100%;\r\n}\r\n.gp-chatfloat.gp-layouttwo > span a{\r\n text-decoration: none;\r\n width: 67px;\r\n height: 67px;\r\n}\r\n.gp-chatfloat.gp-layouttwo > span a i{\r\n color: #ffffff;\r\n}\r\n.gp-chatfloatholder.gp-floatholdertwo{\r\n right: 40px;\r\n}\r\n.gp-floatholdertwo .gp-floatchat_content {\r\n border-radius: 20px 20px 0 0;\r\n}\r\n.gp-floatholdertwo .gp-floatchat_titlev2{\r\n border-radius: 20px 20px 0 0;\r\n}\r\n.gp-floatholdertwo .gp-floatchat_titlev2 .gp-singleimg .gp-userstatus {\r\n outline: 3px solid #128C7E;\r\n border-width: 0;\r\n}\r\n.gp-floatholdertwo .gp-floatchat {\r\n right: 450px;\r\n}\r\n/* otherlayout */\r\n.gp-layout-one .gp-conversation-list {\r\n padding: 0;\r\n height: calc(100% - 152px);\r\n}\r\n.gp-layout-one .gp-conversation-list::-webkit-scrollbar {\r\n width: 3px;\r\n}\r\n\r\n .at-empty-conversation svg {\r\n margin: 0 0 20px;\r\n}\r\n.gp-layout-one .gp-users-list .gp-conversation-list li + li {\r\n margin: 0;\r\n bottom: 0;\r\n border-radius: 0;\r\n}\r\n.gp-layout-one .gp-users-list .gp-conversation-list li.gp-notavailable{\r\n box-shadow:none;\r\n border-radius: 0;\r\n}\r\n.gp-layout-one .gp-users-list .gp-conversation-list li {\r\n padding: 20px !important;\r\n box-shadow: none;\r\n border-radius: 0;\r\n z-index: 1;\r\n}\r\n.gp-layout-one .gp-users-list .gp-sidebarhead {\r\n flex-direction: column;\r\n align-items: flex-start;\r\n padding: 16px 20px 16px 52px;\r\n}\r\n.gp-layout-one .gp-users-list .gp-sidebarhead > h2 {\r\n margin: 0;\r\n}\r\n.gp-layout-one .gp-users-list .gp-conversation-list li.gp-notavailable .gp-userbar_right .gp-whatsappbtn{\r\n background:#ffffff;\r\n}\r\n.gp-needchat{\r\n display: flex;\r\n padding: 10px 20px;\r\n align-items: center;\r\n box-shadow: 0px 2px 4px rgb(40 41 61 / 4%), 0px 8px 16px rgb(96 97 112 / 16%);\r\n border-radius: 10px 10px 0px 0px;\r\n cursor: pointer;\r\n}\r\n.gp-needchat svg{\r\n width: 24px;\r\n height: 24px;\r\n margin: 0 10px 0 0;\r\n}\r\n.gp-needchat h6{\r\n font-weight: 700;\r\n font-size: 15px;\r\n line-height: 20px;\r\n color:#ffffff !important;\r\n}\r\n.gp-layout-one .gp-chatfloatholder{\r\n bottom: 0;\r\n right: 20px;\r\n}\r\n.gp-layout-one .gp-chatsidebar_float.gp-users-list {\r\n top: 20vh;\r\n height: auto;\r\n bottom: 73px; \r\n}\r\n.gp-opnchatbox .gp-whatsappside-responsive.gp-opnchatbox .gp-chat_sidebar {\r\n display: block !important;\r\n}\r\n.gp-whatsappside-responsive:not(.gp-layout-one) .gp-users-list.gp-chatsidebar_float.gp-users-list {\r\n max-width: 100%;\r\n bottom: 0;\r\n top: 0;\r\n left: 0;\r\n z-index: 99999;\r\n}\r\n.gp-whatsappside-responsive:not(.gp-layout-one) .gp-users-list .gp-sidebarhead{\r\n border-radius: 0;\r\n}\r\n.gp-whatsappside-responsive .gp-layout-one .gp-chatsidebar_float.gp-users-list{\r\n right: 20px;\r\n width: 90%;\r\n}\r\n.gp-layout-one .gp-whatsappside-responsive.gp-opnchatbox .gp-chat_sidebar{\r\n display: block !important;\r\n}\r\n.gp-whatsappside-responsive .gp-users-list::after {\r\n position: absolute;\r\n content: '';\r\n right: 4px;\r\n bottom: -7px;\r\n}\r\n.gp-whatsappside-responsive .gp-users-list .gp-sidebarhead {\r\n flex-direction: column;\r\n align-items: flex-start;\r\n padding: 16px 20px 16px 50px;\r\n}\r\n.gp-whatsappside-responsive:not(.gp-layout-one) .gp-sidebarhead > h2 {\r\n margin: 0 0 4px;\r\n font-size: 16px;\r\n line-height: 17px;\r\n}\r\n.whatsappside-responsive .gp-users-list .gp-conversation-list {\r\n height: calc(100% - 265px);\r\n}\r\n.gp-closeremovechat{\r\n position: absolute;\r\n right: 20px;\r\n text-decoration: none;\r\n display: inline-block;\r\n top: 20px;\r\n}\r\n.gp-closeremovechat i{\r\n color:#fff;\r\n font-size:25px;\r\n}\r\n.gp-layout-one.gp-layout-overlay {\r\n position: fixed;\r\n width: 100%;\r\n height: 100%;\r\n top: 0;\r\n background: rgb(0 0 0 / 50%);\r\n}\r\n.gp-layout-one.gp-whatsappside-responsive .gp-users-list::after {\r\n position: absolute;\r\n content: '';\r\n right: 34px;\r\n bottom: -7px;\r\n}\r\n.gp-users-list.gp-chatsidebar-widgetclose.gp-chatsidebar_float {\r\n opacity: 0;\r\n right: 0;\r\n bottom: 0;\r\n visibility: hidden;\r\n transform: scale(0);\r\n transition: all .3s ease-in-out;\r\n}\r\n.gp-layout-one.gp-opnchatbox .gp-users-list {\r\n display: none;\r\n}\r\n.gp-layout-one.gp-whatsappside-responsive .gp-floatchat {\r\n right: 20px;\r\n}\r\n.gp-whatsappside-responsive .gp-whatsappchat-responsive .gp-message[data-v-42308e4f] {\r\n max-width: 290px;\r\n}\r\n.wpguppy-rtl.gp-layout-one .gp-needchat svg{\r\n margin-left: 10px;\r\n margin-right: 0;\r\n}\r\n.wpguppy-rtl.gp-layout-one .gp-users-list {\r\n left: 20px;\r\n right: auto;\r\n}\r\n.wpguppy-rtl.gp-layout-one .gp-users-list::after {\r\n right: auto;\r\n left: 48px;\r\n}\r\n.wpguppy-rtl.gp-layout-one.gp-whatsappside-responsive .gp-floatchat {\r\n left: 20px;\r\n right: auto;\r\n}\r\n.wpguppy-rtl.gp-layout-one .gp-iconclosered {\r\n justify-content: flex-start;\r\n}\r\n.wpguppy-rtl .gp-chatsidebar_float.gp-users-list {\r\n right: auto;\r\n left: 20px;\r\n}\r\n.wpguppy-rtl .gp-floatholdertwo .gp-floatchat {\r\n left: 450px;\r\n right: auto;\r\n}\r\n.wpguppy-rtl.gp-layout-one.gp-whatsappside-responsive .gp-chatfloatholder {\r\n right: auto;\r\n left: 44px;\r\n}\r\n.wpguppy-rtl .gp-users-list .gp-sidebarhead svg {\r\n right: 20px;\r\n left: auto;\r\n}\r\n/* .gp-layout-one.wpguppy-rtl .gp-users-list .gp-sidebarhead svg{\r\n right: 20px;\r\n transform: translate(0%, -50%);\r\n} */\r\n.wpguppy-rtl .gp-users-list .gp-sidebarhead svg{\r\n right: 0;\r\n transform: rotate(180deg);\r\n}\r\n.gp-layout-one.wpguppy-rtl .gp-floatchat {\r\n right: auto;\r\n left: 443px;\r\n}\r\n.gp-layout-one.wpguppy-rtl .gp-widgetclose ~ .gp-chatfloatholder .gp-floatchat {\r\n right: auto;\r\n left: 299px;\r\n}\r\n.wpguppy-rtl .gp-users-list .gp-sidebarhead {\r\n flex-direction: column;\r\n align-items: flex-start;\r\n padding: 16px 67px 16px 20px;\r\n}\r\n.wpguppy-rtl .gp-floatholdertwo .gp-floatchat_title h2{\r\n padding-left: 20px;\r\n padding-right: 0;\r\n}\r\n.wpguppy-rtl .gp-users-list .gp-closeremovechat {\r\n left: 20px;\r\n right: auto;\r\n}\r\n.wpguppy-rtl .gp-users-list .gp-whatsappchat-responsive .gp-userinfo_title_img[data-v-42308e4f]{\r\n margin-right: 0 !important;\r\n margin-left: 10px !important;\r\n}\r\n.wpguppy-rtl .gp-users-list .gp-backtolist[data-v-42308e4f] {\r\n margin-left: 15px;\r\n margin-right: 0;\r\n transform: rotate(180deg);\r\n}\r\n.gp-layout-one .gp-widgetclose ~ .gp-chatfloatholder .gp-floatchat {\r\n right: 275px;\r\n}\r\n\r\n@media (max-width: 480px){\r\n .gp-users-list .gp-userbar_title > em,\r\n .gp-users-list .gp-userbar_title > p span{\r\n font-size: 12px;\r\n }\r\n .gp-layout-one.gp-whatsappside-responsive .gp-chatsidebar_float {\r\n max-width: 340px;\r\n }\r\n .gp-layout-one .gp-users-list .gp-sidebarhead > h2{\r\n font-size: 16px;\r\n }\r\n .gp-layout-one .gp-users-list .gp-conversation-list li {\r\n padding: 10px !important;\r\n }\r\n .gp-layout-one .gp-userbar_title h3 {\r\n font-size: 16px;\r\n line-height: 17px;\r\n }\r\n .gp-layout-one .gp-userbar_profile img {\r\n height: 40px;\r\n }\r\n .gp-layout-one .gp-userbar_profile {\r\n max-width: 40px;\r\n height: 40px;\r\n }\r\n .gp-layout-one.gp-whatsappside-responsive .gp-floatchat{\r\n width: calc(100% + -40px);\r\n }\r\n .wpguppy-rtl.gp-layout-one.gp-whatsappside-responsive .gp-floatchat {\r\n left: 20px;\r\n right: auto;\r\n }\r\n}\r\n@media (max-width: 360px){\r\n.gp-layout-one.gp-whatsappside-responsive .gp-floatchat {\r\n max-width: 290px;\r\n}\r\n.gp-layout-one .gp-conversation-list {\r\n padding: 0;\r\n height: calc(100% - 172px);\r\n}\r\n.at-chatsidebar_float {\r\n max-width: 296px;\r\n}\r\n.wpguppy-rtl.gp-layout-one .gp-users-list{\r\n left: 10px;\r\n right: auto;\r\n max-width: 290px;\r\n}\r\n.gp-sidebarhead_search{padding: 10px;}\r\n.gp-layout-one.gp-whatsappside-responsive .gp-chatsidebar_float {\r\n max-width: 290px;\r\n}\r\n}\r\n</style>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatWhatsappUserList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatWhatsappUserList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatWhatsappUserList.vue?vue&type=template&id=b7541fd6&\"\nimport script from \"./GuppyChatWhatsappUserList.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatWhatsappUserList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuppyChatWhatsappUserList.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-sidebarhead\"},[_c('div',{staticClass:\"at-chat_sidebarsetting at-userlist_tab at-userlist_tabv2\"},[_c('div',{staticClass:\"at-chat_sidebarsettingtitle\"},[_c('h2',[_vm._v(_vm._s(_vm.TRANS.profile_settings))])]),_c('div',{staticClass:\"at-chat_profile\"},[_c('form',{staticClass:\"at-themeform\",attrs:{\"enctype\":\"multipart/form-data\"}},[_c('fieldset',[_c('div',{staticClass:\"at-form-group-wrap\"},[_c('div',{staticClass:\"at-form-group\"},[_c('label',{staticClass:\"at-formtitle at-important\"},[_vm._v(_vm._s(_vm.TRANS.full_name))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.profileInfo.userName),expression:\"profileInfo.userName\"}],staticClass:\"at-form-control\",class:{'at-disabled': !_vm.isAllowEditAccSetting },attrs:{\"type\":\"text\",\"required\":\"\",\"disabled\":!_vm.isAllowEditAccSetting,\"placeholder\":_vm.TRANS.your_name},domProps:{\"value\":(_vm.profileInfo.userName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.profileInfo, \"userName\", $event.target.value)}}})]),_c('div',{staticClass:\"at-form-group\"},[_c('label',{staticClass:\"at-formtitle at-important\"},[_vm._v(_vm._s(_vm.TRANS.email))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.profileInfo.userEmail),expression:\"profileInfo.userEmail\"}],staticClass:\"at-form-control\",class:{'at-disabled': !_vm.isAllowEditAccSetting },attrs:{\"type\":\"email\",\"required\":\"\",\"disabled\":!_vm.isAllowEditAccSetting,\"placeholder\":_vm.TRANS.your_email},domProps:{\"value\":(_vm.profileInfo.userEmail)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.profileInfo, \"userEmail\", $event.target.value)}}})]),_c('div',{staticClass:\"at-form-group\"},[_c('label',{staticClass:\"at-formtitle at-important\"},[_vm._v(_vm._s(_vm.TRANS.phone))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.profileInfo.userPhone),expression:\"profileInfo.userPhone\"}],staticClass:\"at-form-control\",class:{'at-disabled': !_vm.isAllowEditAccSetting },attrs:{\"type\":\"text\",\"disabled\":!_vm.isAllowEditAccSetting,\"required\":\"\",\"placeholder\":_vm.TRANS.your_phone},domProps:{\"value\":(_vm.profileInfo.userPhone)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.profileInfo, \"userPhone\", $event.target.value)}}})]),_c('div',{staticClass:\"at-form-group\"},[_c('div',{staticClass:\"at-dropbox sv-newslots\",class:{'at-dropboxv2': _vm.isMessangerChat }},[_c('div',{staticClass:\"at-viewuploadimg\"},[(_vm.uploadImage)?_c('img',{attrs:{\"src\":_vm.uploadImage}}):_vm._e(),_c('svg',[_c('rect',{attrs:{\"width\":\"100%\",\"height\":\"100%\"}})]),_c('div',{staticClass:\"at-uploadarea\"},[_c('h6',[_vm._v(_vm._s(_vm.TRANS.upload_photo_dsc))]),(_vm.isAllowEditAccSetting)?_c('div',{staticClass:\"at-btnareasetting\"},[_c('label',{staticClass:\"at-btn at-btnsm\",attrs:{\"for\":\"dropbox\"}},[_vm._v(\" \"+_vm._s(_vm.TRANS.upload_photo_btn)+\" \")]),_c('button',{staticClass:\"at-btn at-btnplain\",on:{\"click\":function($event){$event.preventDefault();return _vm.removeImage()}}},[_vm._v(\" \"+_vm._s(_vm.TRANS.remove)+\" \"),_c('i',{staticClass:\"guppy-trash-2\"})])]):_vm._e()])]),(_vm.isAllowEditAccSetting)?_c('input',{attrs:{\"type\":\"file\",\"accept\":_vm.uploadImgExt.join(','),\"id\":\"dropbox\",\"name\":\"dropbox\"},on:{\"change\":function($event){$event.preventDefault();return _vm.onImageUpload.apply(null, arguments)}}}):_vm._e()])]),_c('div',{staticClass:\"at-settingbtns at-form-group\"},[_c('div',{staticClass:\"at-rightswitcharea\",class:_vm.userProfileData.muteNotification ? 'at-muted' : 'at-mute',on:{\"click\":function($event){$event.preventDefault();return _vm.muteNotification()}}},[_c('i',{class:_vm.userProfileData.muteNotification ? 'guppy-volume-x' : 'guppy-volume-2'}),_c('span',[_vm._v(_vm._s(_vm.TRANS.mute_alert_txt))])]),_c('div',{staticClass:\"at-rightswitcharea at-logout\",on:{\"click\":function($event){$event.preventDefault();return _vm.logout()}}},[_c('i',{staticClass:\"guppy-power\"}),_c('span',[_vm._v(_vm._s(_vm.TRANS.logout))])])]),(_vm.isAllowEditAccSetting)?_c('div',{staticClass:\"at-form-group\"},[_c('button',{staticClass:\"at-btn at-btn-block\",class:{'at-disable-btn' : _vm.isloadingUpdt },attrs:{\"disabled\":_vm.isloadingUpdt},on:{\"click\":function($event){$event.preventDefault();return _vm.updateProfileInfo()}}},[_vm._v(\" \"+_vm._s(_vm.TRANS.save_changes)+\" \")])]):_vm._e()])])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n\t<div class=\"at-sidebarhead\">\r\n\t\t<div class=\"at-chat_sidebarsetting at-userlist_tab at-userlist_tabv2\">\r\n\t\t\t<div class=\"at-chat_sidebarsettingtitle\">\r\n\t\t\t\t<h2>{{TRANS.profile_settings}}</h2>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"at-chat_profile\">\r\n\t\t\t\t<form class=\"at-themeform\" enctype='multipart/form-data'>\r\n\t\t\t\t\t<fieldset>\r\n\t\t\t\t\t\t<div class=\"at-form-group-wrap\">\r\n\t\t\t\t\t\t\t<div class=\"at-form-group\">\r\n\t\t\t\t\t\t\t\t<label class=\"at-formtitle at-important\">{{TRANS.full_name}}</label>\r\n\t\t\t\t\t\t\t\t<input type=\"text\" required :class=\"{'at-disabled': !isAllowEditAccSetting }\" :disabled=\"!isAllowEditAccSetting\" class=\"at-form-control\" :placeholder=\"TRANS.your_name\" v-model=\"profileInfo.userName\">\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div class=\"at-form-group\">\r\n\t\t\t\t\t\t\t\t<label class=\"at-formtitle at-important\">{{TRANS.email}}</label>\r\n\t\t\t\t\t\t\t\t<input type=\"email\" required class=\"at-form-control\" :class=\"{'at-disabled': !isAllowEditAccSetting }\" :disabled=\"!isAllowEditAccSetting\" :placeholder=\"TRANS.your_email\" v-model=\"profileInfo.userEmail\">\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div class=\"at-form-group\">\r\n\t\t\t\t\t\t\t\t<label class=\"at-formtitle at-important\">{{TRANS.phone}}</label>\r\n\t\t\t\t\t\t\t\t<input type=\"text\" class=\"at-form-control\" :class=\"{'at-disabled': !isAllowEditAccSetting }\" :disabled=\"!isAllowEditAccSetting\" required :placeholder=\"TRANS.your_phone\" v-model=\"profileInfo.userPhone\">\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div class=\"at-form-group\">\r\n\t\t\t\t\t\t\t\t<div class=\"at-dropbox sv-newslots\" :class=\"{'at-dropboxv2': isMessangerChat }\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"at-viewuploadimg\">\r\n\t\t\t\t\t\t\t\t\t\t<img v-if=\"uploadImage\" :src=\"uploadImage\" />\r\n\t\t\t\t\t\t\t\t\t\t<svg><rect width=\"100%\" height=\"100%\"></rect></svg>\r\n\t\t\t\t\t\t\t\t\t\t<div class=\"at-uploadarea\">\r\n\t\t\t\t\t\t\t\t\t\t\t<h6>{{TRANS.upload_photo_dsc}}</h6>\r\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"at-btnareasetting\" v-if=\"isAllowEditAccSetting\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"at-btn at-btnsm\" for=\"dropbox\"> {{TRANS.upload_photo_btn}} </label>\r\n\t\t\t\t\t\t\t\t\t\t\t\t<button class=\"at-btn at-btnplain\" @click.prevent=\"removeImage()\"> {{TRANS.remove}} <i class=\"guppy-trash-2\"></i> </button>\r\n\t\t\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t\t<input type=\"file\" v-if=\"isAllowEditAccSetting\" :accept=\"uploadImgExt.join(',')\" id=\"dropbox\" name=\"dropbox\" @change.prevent=\"onImageUpload\">\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div class=\"at-settingbtns at-form-group\">\r\n\t\t\t\t\t\t\t\t<div @click.prevent=\"muteNotification()\" class=\"at-rightswitcharea\" :class=\"userProfileData.muteNotification ? 'at-muted' : 'at-mute' \">\r\n\t\t\t\t\t\t\t\t\t<i :class=\"userProfileData.muteNotification ? 'guppy-volume-x' : 'guppy-volume-2'\"></i>\r\n\t\t\t\t\t\t\t\t\t<span>{{TRANS.mute_alert_txt}}</span>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t<div @click.prevent=\"logout()\" class=\"at-rightswitcharea at-logout\">\r\n\t\t\t\t\t\t\t\t\t<i class=\"guppy-power\"></i>\r\n\t\t\t\t\t\t\t\t\t<span>{{TRANS.logout}}</span>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<div v-if=\"isAllowEditAccSetting\" class=\"at-form-group\">\r\n\t\t\t\t\t\t\t\t<button :disabled=\"isloadingUpdt\" :class=\"{'at-disable-btn' : isloadingUpdt }\" class=\"at-btn at-btn-block\" @click.prevent=\"updateProfileInfo()\">\r\n\t\t\t\t\t\t\t\t\t{{TRANS.save_changes}}\r\n\t\t\t\t\t\t\t\t</button>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</fieldset>\r\n\t\t\t\t</form>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</template>\r\n\r\n<script>\r\n\timport { GUPPYCHAT_SETTINGS, GUPPYCHAT_LOGOUT } from \"../../../resources/constants\";\r\n\timport GuppyChatManager from \"../../../resources/controller\";\r\n\timport RestApiManager from \"../../../resources/RestApiController\";\r\n\timport defaultAvatar from \"./resource/defaultAvatar.png\"\r\n\timport { mapState } from \"vuex\";\r\n\texport default {\r\n\t\tname : \"GuppyChatProfileSetting\",\r\n\t\tdata(){\r\n\t\t\treturn {\r\n\t\t\t\tdefaultAvatar : defaultAvatar,\r\n\t\t\t\tlogoutUrl : GUPPYCHAT_LOGOUT,\r\n\t\t\t\tprofileInfo : {\r\n\t\t\t\t\tmuteNotification : '',\r\n\t\t\t\t\tuserAvatar \t:'' ,\r\n\t\t\t\t\tuserEmail \t:'' ,\r\n\t\t\t\t\tuserId \t\t:'' ,\r\n\t\t\t\t\tuserName \t:'' ,\r\n\t\t\t\t\tuserPhone \t:'' ,\r\n\t\t\t\t},\r\n\t\t\t\tremoveAvatar \t: 0,\r\n\t\t\t\tnotificationLoader : false, \r\n\t\t\t\tuploadImgExt : ['.png','.jpeg','.jpg', '.gif'],\r\n\t\t\t\tuploadImage \t: '',\r\n\t\t\t\tthumbnailImg \t: '',\r\n\t\t\t\tfile \t\t\t: '',\r\n\t\t\t\tshowImage \t\t: true,\r\n\t\t\t\tisloadingUpdt \t: false,\r\n\t\t\t\tgetUserIfno \t: true,\r\n\t\t\t\tnewVal : ''\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed :{\r\n\t\t\tisAllowEditAccSetting(){\r\n\t\t\t\treturn !GUPPYCHAT_SETTINGS.hideAccSettings\r\n\t\t\t},\r\n\t\t\t...mapState({\r\n\t\t\t\tisMessangerChat: state => state.isMessangerChat,\r\n\t\t\t\tuserProfileData: state => state.userProfile,\r\n\t\t\t}),\r\n\t\t},\r\n\t\twatch:{\r\n\t\t\tuserProfileData(newVal, oldVal){\r\n\t\t\t\tif(oldVal == ''){\r\n\t\t\t\t\tthis.setProfileInfo();\r\n\t\t\t\t\tthis.newVal = newVal\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\tlogout(){\r\n\t\t\t\twindow.location.href = GUPPYCHAT_LOGOUT;\r\n\t\t\t},\r\n\t\t\tasync muteNotification(){\r\n\t\t\t\tlet data = {\r\n\t\t\t\t\tmuteType : 1,\r\n\t\t\t\t\tuserId : this.userId,\r\n\t\t\t\t\tchatType : '',\r\n\t\t\t\t\tchatId : ''\r\n\t\t\t\t}\r\n\t\t\t\tthis.notificationLoader = true;\r\n\t\t\t\tlet response = await RestApiManager.muteNotification(data);\r\n\t\t\t\tthis.notificationLoader = false;\r\n\t\t\t\tif( response.data.type == 'error'){\r\n\t\t\t\t\tthis.alertBox('error', this.TRANS.error_title, response.data.desc)\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tupdateProfileInfo(){\r\n\t\t\t\tlet dataVal = this.profileInfo;\r\n\t\t\t\tlet validEmail = GuppyChatManager.validateEmail(dataVal.userEmail);\r\n\t\t\t\tif(dataVal.userEmail && dataVal.userName && dataVal.userPhone && validEmail){\r\n\t\t\t\t\tlet data = new FormData();\r\n\t\t\t\t\tObject.keys(this.profileInfo).map(item =>{\r\n\t\t\t\t\t\tdata.append(item, this.profileInfo[item]);\r\n\t\t\t\t\t});\r\n\t\t\t\t\tdata.append('removeAvatar' , this.removeAvatar);\r\n\t\t\t\t\tif( this.file ){\r\n\t\t\t\t\t\tdata.append(0, this.file);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.isloadingUpdt = true;\r\n\t\t\t\t\tthis.axios.post('update-profile-info', data).then( response =>{\r\n\t\t\t\t\t\tthis.isloadingUpdt = false;\r\n\t\t\t\t\t\tif( response.data.type == 'success' ){\r\n\t\t\t\t\t\t\tlet data = response.data.userInfo;\r\n\t\t\t\t\t\t\tthis.profileInfo.userEmail = data.userEmail;\r\n\t\t\t\t\t\t\tthis.profileInfo.userPhone = data.userPhone;\r\n\t\t\t\t\t\t\tthis.profileInfo.userName = data.userName;\r\n\t\t\t\t\t\t\tif( data.userAvatar ){\r\n\t\t\t\t\t\t\t\tthis.profileInfo.userAvatar = data.userAvatar;\r\n\t\t\t\t\t\t\t\tthis.uploadImage = this.thumbnailImg = data.userAvatar;\r\n\t\t\t\t\t\t\t} else if( this.removeAvatar == 1){\r\n\t\t\t\t\t\t\t\tthis.thumbnailImg = '';\r\n\t\t\t\t\t\t\t\tthis.profileInfo.userAvatar = ''\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tdata['userAvatar'] \t\t\t= this.profileInfo.userAvatar;\r\n\t\t\t\t\t\t\tdata['muteNotification'] \t= this.userProfileData.muteNotification;\r\n\t\t\t\t\t\t\tlet payload = { userInfo: data };\r\n\t\t\t\t\t\t\tthis.$store.commit('setUserProfile', payload);\r\n\t\t\t\t\t\t} else if( response.data.type == \"error\" ) {\r\n\t\t\t\t\t\t\tthis.alertBox('error', this.TRANS.error_title, response.data.message_desc);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}).catch( errors =>{\r\n\t\t\t\t\t\tthis.isloadingUpdt\t= false;\r\n\t\t\t\t\t\tthis.errors \t\t= errors;\r\n\t\t\t\t\t\tconsole.log(errors)\r\n\t\t\t\t\t});\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.alertBox('error', this.TRANS.error_title, this.TRANS.empty_input_err_txt );\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tonImageUpload(e){\r\n\t\t\t\tlet file\t= e.target.files[0];\r\n\t\t\t\tlet fileExt = file.name.split('.').pop();\r\n\t\t\t\t\tfileExt = fileExt ? fileExt.toLowerCase() : '';\r\n\t\t\t\t if( this.uploadImgExt.includes('.'+fileExt) ){\r\n\t\t\t\t\tthis.removeAvatar \t= 0;\r\n\t\t\t\t\tthis.showImage \t\t= true;\r\n\t\t\t\t\tthis.$root.$emit('croppedProfileImage', file)\r\n\t\t\t\t } else {\r\n\t\t\t\t\tthis.alertBox('error', this.TRANS.error_title, this.TRANS.invalid_input_file);\r\n \t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\te.target.value = ''\r\n\t\t\t},\r\n\t\t\tremoveImage(){\r\n\t\t\t\tthis.removeAvatar \t= 1;\r\n\t\t\t\tthis.showImage \t \t= false;\r\n\t\t\t\tthis.uploadImage \t= this.defaultAvatar;\r\n\t\t\t\tthis.file\t\t \t= '';\r\n\t\t\t\tthis.profileInfo.userAvatar = ''\r\n\t\t\t},\r\n\t\t\tsetProfileInfo(){\r\n\t\t\t\tlet data = this.userProfileData;\r\n\t\t\t\tlet info = this.profileInfo;\r\n\t\t\t\tinfo.muteNotification \t= data.muteNotification;\r\n\t\t\t\tinfo.userAvatar \t\t= data.userAvatar;\r\n\t\t\t\tinfo.userEmail \t\t\t= data.userEmail;\r\n\t\t\t\tinfo.userId \t\t\t= data.userId;\r\n\t\t\t\tinfo.userName \t\t\t= data.userName;\r\n\t\t\t\tinfo.userPhone \t\t\t= data.userPhone;\r\n\t\t\t\tthis.uploadImage = this.thumbnailImg = data.userAvatar;\r\n\t\t\t\tthis.showImage = data.userAvatar ? true : false; \r\n\t\t\t}\r\n\t\t},\r\n\t\tmounted(){\r\n\t\t\tthis.$root.$on('CroppedfileParams', (data)=>{\r\n\t\t\t\tthis.file \t\t = data.file;\r\n\t\t\t\tthis.uploadImage = data.imageUrl;\r\n\t\t\t});\r\n\t\t},\r\n\t\tcreated(){\r\n\t\t\tthis.setProfileInfo();\r\n\t\t}\r\n\t};\r\n</script>\r\n\r\n<style>\r\n.mCSB_inside>.mCSB_container{margin: 0;}\r\n.at-sidebarhead {\r\n\tz-index: 0;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tposition: relative;\r\n\theight:100%;\r\n}\r\n.at-sidebarhead > img {\r\n\tmargin-right: 10px;\r\n\tborder-radius: 50% !important;\r\n\twidth: 50px;\r\n\theight: 50px;\r\n}\r\n.at-sidebarhead > h2 {\r\n\tcolor: #fff !important;\r\n\tletter-spacing: 0.5px;\r\n\tfont-size: 22px;\r\n\tmargin: 0;\r\n\tline-height: 30px;\r\n\twhite-space: nowrap;\r\n\toverflow: hidden;\r\n\tpadding-top: 0;\r\n\ttext-overflow: ellipsis;\r\n}\r\n.at-sidebarhead_menu{\r\n\tmargin-left: auto;\r\n\tposition: relative;\r\n\tdisplay: inline-flex;\r\n\tpadding-left: 20px;\r\n}\r\n.at-sidebarhead_menu > a {\r\n\tcolor: #fff;\r\n\tfont-size: 28px;\r\n\tdisplay: inline-block;\r\n\ttext-decoration: none !important;\r\n}\r\n.at-sidebarhead_menu .at-uploadoption {\r\n\tbottom: auto;\r\n top: 100%;\r\n right: 0;\r\n}\r\n.at-sidebarhead>a:hover{color: #fff;}\r\n.at-overlay::before {\r\n content: \"\";\r\n position: absolute;\r\n top: 90px;\r\n left: 0;\r\n width: 100%;\r\n height: calc(100vh - 150px);\r\n background-color: rgba(0, 0, 0, 0.5);\r\n z-index: 1;\r\n}\r\n.at-dropbox {\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n justify-content: center;\r\n padding: 20px;\r\n text-align: center;\r\n width: 100%;\r\n border: 1.5px dashed #DDDDDD;\r\n border-radius: 3px;\r\n flex-wrap: wrap;\r\n background: transparent;\r\n}\r\n.at-dropbox input {\r\n\tdisplay: none;\r\n}\r\n.at-dropbox label {\r\n\tmargin: 0;\r\n\tfont: 500 14px/24px var(--primchatfont);\r\n\tletter-spacing: 0.5px;\r\n\tcolor: var(--secguppycolor);\r\n\tmax-width: 180px;\r\n\tcursor: copy;\r\n}\r\n.at-dropbox label span {\r\n\tcolor: #3C57E5;\r\n}\r\n\r\n.at-dropboxempty {\r\n\tborder: 0;\r\n\tmargin-top: 10px;\r\n\tmin-height: 194px;\r\n}\r\n.at-dropboxempty i {\r\n\tpadding: 0;\r\n\tcolor: #ddd;\r\n\tfont-size: 38px;\r\n\tmargin: 0 0 10px;\r\n\tbackground-color: transparent;\r\n}\r\n.at-dropboxempty label {\r\n\tfont-size: 15px;\r\n\tline-height: 24px;\r\n\tcolor: var(--terguppycolor);\r\n\tmax-width: initial;\r\n\tcursor: initial;\r\n\tfont-weight: 700;\r\n}\r\n.at-viewuploadimg{\r\n\tdisplay: flex;\r\n align-items: center;\r\n\tflex-direction: column;\r\n}\r\n.at-viewuploadimg img{\r\n\tflex: none;\r\n\tborder-radius: 5px 5px 0 0;\r\n height: 300px;\r\n width: 100%;\r\n border-radius: 5px;\r\n width: 100%;\r\n\tmargin: 0 0 10px;\r\n}\r\n.at-uploadarea .at-btnareasetting {\r\n\tmargin: 10px 0 0;\r\n}\r\n\r\n.at-removeuploadimg{\r\n\tline-height: 20px;\r\n\tbackground: #EF4444;\r\n\tborder-radius: 0px 0px 10px 10px;\r\n\tpadding: 10px 20px;\r\n\tletter-spacing: 0.5px;\r\n\tdisplay: block;\r\n\ttext-align: center;\r\n\tcolor: #FFFFFF;\r\n\tfont-size: 16px;\r\n\tfont-family: var(--primchatfont);\r\n\tfont-weight: 700;\r\n\tborder-radius: 0 0 10px 10px;\r\n\tposition: absolute;\r\n\tleft: 0;\r\n\tbottom: 0;\r\n\tmin-width: initial;\r\n\twidth: 100%;\r\n\ttransition: all 300ms ease-in-out;\r\n\ttext-decoration: none !important;\r\n}\r\n.at-uploadarea h6 {\r\n\tfont-weight: 500 !important;\r\n\tfont-size: 14px;\r\n\ttext-transform: none;\r\n\tline-height: 22px;\r\n\tletter-spacing: 0.5px;\r\n\ttext-align: center;\r\n\tmargin: 0;\r\n}\r\n.at-removeuploadimg:focus,\r\n.at-removeuploadimg:hover{color: #fff;}\r\n.at-chat .at-removeuploadimg:focus{\r\n\tbackground: #EF4444 !important;\r\n}\r\n.at-chat_sidebarsettingtitle {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n padding: 15px 20px;\r\n background: #fff;\r\n box-shadow: inset 0px -1px 0px #eeeeee;\r\n}\r\n.at-chat_sidebarsettingtitle h2 {\r\n margin: 0;\r\n font-size: 18px;\r\n line-height: 26px;\r\n letter-spacing: 0.5px;\r\n font-weight: 600 !important;\r\n}\r\n.at-chat_sidebarsettingtitle > a {\r\n margin: 0 -4px 0 16px;\r\n font-size: 28px;\r\n color: var(--secguppycolor);\r\n display: inline-flex;\r\n text-decoration: none;\r\n}\r\n.at-chat_sidebarsettingtitle>a:hover{color: var(--secguppycolor);}\r\n.at-sidebarhead .at-chat_sidebarsetting {\r\n width: 100%;\r\n padding-left: 60px;\r\n}\r\n.at-sidebarhead .at-chat_profilesettingopen {\r\n transform: translateX(0);\r\n}\r\n.at-chat_mutenotify {\r\n align-items: center;\r\n display: -ms-flexbox;\r\n display: flex;\r\n -ms-flex-wrap: wrap;\r\n flex-wrap: wrap;\r\n}\r\n.at-chat_mutenotify.at-disabled{\r\n\tbackground: transparent;\r\n\topacity: 0.5;\r\n}\r\n.at-chat_mutenotify input {\r\n display: none;\r\n}\r\n.at-chat_mutenotify input:checked + label {\r\n color: var(--terguppycolor);\r\n}\r\n.at-chat_mutenotify input:checked + label i {\r\n background-color: #F7F7F7;\r\n color: var(--terguppycolor);\r\n}\r\n.at-chat_mutenotify input:checked + label i::before {\r\n content: \"î¨\";\r\n}\r\n.at-chat_mutenotify input + label {\r\n align-items: center;\r\n font: 700 16px/26px var(--primchatfont);\r\n letter-spacing: 0.5px;\r\n color: var(--secguppycolor);\r\n width: 100%;\r\n cursor: pointer;\r\n margin: 0 !important;\r\n display: -ms-flexbox;\r\n display: flex !important;\r\n -ms-flex-wrap: wrap;\r\n flex-wrap: wrap;\r\n padding: 0 !important;\r\n}\r\n.at-chat_mutenotify label span {\r\n align-items: center;\r\n flex: auto;\r\n height: 48px;\r\n padding-right: 20px;\r\n display: -ms-flexbox;\r\n display: flex;\r\n -ms-flex-wrap: wrap;\r\n flex-wrap: wrap;\r\n}\r\n.at-chat_mutenotify label i {\r\n align-items: center;\r\n justify-content: center;\r\n width: 48px;\r\n height: 48px;\r\n flex: none;\r\n border-radius: 3px;\r\n background-color: var(--primguppycolor);\r\n font-size: 27px;\r\n color: #fff;\r\n display: -ms-flexbox;\r\n display: flex;\r\n -ms-flex-wrap: wrap;\r\n flex-wrap: wrap;\r\n}\r\n.at-menue-options .at-guppylogout{\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tpadding: 26px 30px;\r\n\twidth: 100%;\r\n\tborder-top: 0;\r\n}\r\n.at-menue-options .at-guppylogout a{\r\n display: inline-flex;\r\n color: #EF4444 !important;\r\n outline: none !important;\r\n box-shadow: none !important;\r\n background: transparent !important;\r\n letter-spacing: 0.5px;\r\n align-items: center;\r\n font: 500 16px/32px var(--primchatfont);\r\n width: 100%;\r\n}\r\n.at-guppylogout a i{\r\n\tcolor: #EF4444 !important;\r\n\tfont-size: 22px;\r\n display: inline-block;\r\n vertical-align: middle;\r\n margin-right: 10px;\r\n}\r\n.at-cropping-popup .at-modaldialog{\r\n\tmax-width: 700px;\r\n}\r\n.at-guppytooltip{\r\n\tposition: relative;\r\n\tdisplay: inline-block;\r\n}\r\n.at-guppytooltip > em{\r\n\tleft: 0;\r\n\twidth: auto;\r\n right: auto;\r\n margin-left: 0;\r\n border-radius: 4px 4px 4px 0;\r\n\tmargin-bottom: 10px;\r\n bottom: 100%;\r\n transform: scale(0.5);\r\n position: absolute;\r\n color: #fff;\r\n background: var(--secguppycolor);\r\n padding: 5px 12px;\r\n letter-spacing: 0.5px;\r\n opacity: 0;\r\n visibility: hidden;\r\n font: 700 14px/22px var(--primchatfont);\r\n transition: all 0.3s ease-in-out;\r\n}\r\n.at-guppytooltip > em:after{\r\n\tleft: 0;\r\n right: auto;\r\n border-left: 0;\r\n border-right: 10px solid transparent;\r\n\twidth: 0;\r\n height: 0;\r\n border-top: 8px solid var(--secguppycolor);\r\n content: \"\";\r\n position: absolute;\r\n top: 100%;\r\n}\r\n.at-guppytooltip:hover em{\r\n\topacity: 1;\r\n visibility: visible;\r\n transform: scale(1);\r\n}\r\n.at-chat_formwrapper{\r\n\tpadding: 10px 20px;\r\n}\r\n.at-btn.at-btnsm{\r\n\t background: #22C55E !important;\r\n height: 32px;\r\n font-size: 12px;\r\n line-height: 20px;\r\n min-width: 115px;\r\n font-weight: 700;\r\n padding: 0 5px;\r\n}\r\n.at-btn.at-btnplain {\r\n height: 32px;\r\n background: #EF4444 !important;\r\n min-width: 115px;\r\n font: 700 12px var(--primchatfont);\r\n padding: 0 15px;\r\n}\r\n.at-btn.at-btnplain i {\r\n\tdisplay:inline-block;\r\n\tmargin: 0 0 0 6px;\r\n\tfont-size:12px;\r\n}\r\n.at-btnareasetting{\r\n display: flex;\r\n flex-wrap: nowrap;\r\n justify-content: center;\r\n gap: 10px;\r\n}\r\n.at-btn-block{\r\n\twidth: 100%;\r\n}\r\n.at-switchbtn{\r\n\tdisplay: flex;\r\n align-items: center;\r\n}\r\n.at-rightswitcharea {\r\n\tdisplay: flex;\r\n align-items: center;\r\n}\r\n.at-rightswitcharea i {\r\n\tdisplay: flex;\r\n\talign-self: center;\r\n\tcolor: #999999;\r\n\tfont-size: 21px;\r\n\tmargin: 0 13px 0 0;\r\n}\r\n.at-switchbtn input[type=checkbox] {\r\n position: relative;\r\n width: 38px;\r\n height: 20px;\r\n border: 1.5px solid #ddd;\r\n -webkit-appearance: none;\r\n background: #fff;\r\n background-color: #fff;\r\n outline: none;\r\n cursor: pointer;\r\n border-radius: 20px;\r\n transition: background 300ms linear;\r\n}\r\n.at-switchbtn input[type=checkbox]::before {\r\n position: absolute;\r\n content: \"\";\r\n width: 24px;\r\n height: 24px;\r\n top: -4px;\r\n left: -5px;\r\n border-radius: 20px;\r\n background-color: #ddd;\r\n box-shadow: 0 2px 5px rgb(0 0 0 / 20%);\r\n transition: left 300ms;\r\n}\r\n.at-switchbtn input[type=checkbox]::after{\r\n\topacity: 0 !important;\r\n}\r\n.at-switchbtn input[type=checkbox]:checked {\r\n background-color: #fff;\r\n border: 1.5px solid #4dcf7d;\r\n}\r\n.at-switchbtn input[type=checkbox]:checked::before {\r\n left: 15px;\r\n background-color: #4dcf7d;\r\n}\r\n.at-dropboxv2 .at-viewuploadimg {\r\n\twidth: 100%;\r\n\tflex-direction: row;\r\n}\r\n.at-dropboxv2 .at-viewuploadimg img {\r\n\t margin: 0 10px 0 0;\r\n}\r\n.at-form-group .at-dropboxv2 {\r\n\tpadding: 10px;\r\n}\r\n.at-dropboxv2 .at-viewuploadimg .at-uploadarea h6{\r\n\ttext-align: left;\r\n\tmargin:0;\r\n}\r\n.at-dropboxv2 .at-viewuploadimg .at-btnareasetting{\r\n justify-content: flex-start;\r\n\tflex-wrap: wrap;\r\n}\r\n.sv-newslots{\r\n position: relative;\r\n z-index: 0;\r\n border-radius: 10px;\r\n\tborder: 0 !important;\r\n padding: 20px;\r\n width: 100%;\r\n}\r\n.sv-newslots svg{\r\n\tposition: absolute;\r\n\tfill: transparent;\r\n\tstroke: #ddd;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tright: 0;\r\n\tmargin: auto;\r\n\toverflow: visible;\r\n\tz-index: -1;\r\n\tpadding: 0 1px;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n}\r\n.sv-newslots svg rect{\r\n\tstroke-width: 1px;\r\n\tstroke-dasharray: 10, 10;\r\n\trx: 10px;\r\n}\r\n.sv-newslots .at-viewuploadimg img{\r\n\tmax-width: 90px;\r\n\theight: 90px;\r\n}\r\n.at-settingbtns{\r\n\tjustify-content: space-between;\r\n\tdisplay: flex;\r\n}\r\n.at-settingbtns .at-rightswitcharea{\r\n\tmax-width: 49%;\r\n background: #FFFFFF;\r\n border: 1.5px solid #DDDDDD;\r\n border-radius: 4px;\r\n padding: 5px 12px;\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n align-items: center;\r\n width: 100%;\r\n\tcursor: pointer;\r\n}\r\n.at-settingbtns .at-rightswitcharea i {\r\n\tmargin-bottom: 6px !important;\r\n\tfont-size:24px;\r\n\tmargin: 0;\r\n}\r\n.at-logout i {\r\n\tcolor:#EF4444;\r\n}\r\n.at-mute i {\r\n\tcolor:#22C55E;\r\n}\r\n.at-muted i {\r\n\tcolor:#999999;\r\n}\r\n</style>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatProfileSetting.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatProfileSetting.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatProfileSetting.vue?vue&type=template&id=fd4cde66&\"\nimport script from \"./GuppyChatProfileSetting.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatProfileSetting.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuppyChatProfileSetting.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-userlist_tab at-userlist_tabv2\",attrs:{\"id\":\"messages\"}},[_c('div',{staticClass:\"at-sidebarhead_search at-sidebarhead_searchv2\"},[_c('div',{staticClass:\"at-form-group\"},[_c('i',{staticClass:\"guppy-search\"}),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.search),expression:\"search\",modifiers:{\"trim\":true}}],staticClass:\"at-form-control\",attrs:{\"type\":\"search\",\"name\":\"search\",\"placeholder\":_vm.TRANS.search},domProps:{\"value\":(_vm.search)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.search=$event.target.value.trim()},function($event){return _vm.searchConversation()}],\"blur\":function($event){return _vm.$forceUpdate()}}})])]),(Object.keys(_vm.conversation).length)?_c('ul',{staticClass:\"conversation-list\",on:{\"scroll\":function($event){return _vm.conversationScrollHandler($event)}}},[_vm._l((_vm.conversation),function(item){return _c('guppy-chat-conversation-list-item',{key:item.chatId,attrs:{\"itemProps\":item}})}),(_vm.isLoading)?_c('guppy-chat-inner-loader'):_vm._e()],2):[(_vm.isLoading)?_c('guppy-chat-loader'):_c('guppy-chat-empty-view',{attrs:{\"isSidebarProps\":true,\"listIcon\":'guppy-message-square'}})]],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:\"at-userbar\",class:Number(_vm.chatInfo.chatId) == Number(_vm.itemProps.chatId) && Number(_vm.chatInfo.chatType ) == Number(_vm.itemProps.chatType) ? 'active' : '',on:{\"click\":function($event){$event.preventDefault();return _vm.selectUserChat()}}},[_c('figure',{staticClass:\"at-userbar_profile\",class:{'at-blockuser' : _vm.itemProps.isBlocked}},[(_vm.itemProps.isBlocked)?_c('i',{staticClass:\"guppy-slash\"}):_c('span',{staticClass:\"at-userstatus\",class:_vm.itemProps.isOnline ? 'online' : 'offline'}),_c('img',{attrs:{\"src\":_vm.itemProps.userAvatar,\"alt\":\"profile image\"}})]),_c('div',{staticClass:\"at-userbar_title\"},[(_vm.itemProps.userName)?_c('h3',[_vm._v(\" \"+_vm._s(_vm.itemProps.userName)+\" \")]):_vm._e(),(!_vm.itemProps.clearChat)?[(Number(_vm.itemProps.messageStatus) == 2 )?_c('span',[_c('i',{staticClass:\"guppy-slash\"}),_vm._v(_vm._s(_vm.TRANS.deleted_message))]):(Number(_vm.itemProps.messageType) == 0 )?_c('span',[_vm._v(_vm._s(_vm.itemProps.message))]):_vm._e(),(Number(_vm.itemProps.messageType) == 4)?_c('span',[_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.notifyMessage(_vm.itemProps))}})]):_vm._e()]:_vm._e()],2),(_vm.itemProps.clearChat == false)?_c('div',{staticClass:\"at-userbar_right\"},[(_vm.itemProps.timeStamp)?_c('span',[_vm._v(_vm._s(_vm.getMessageTime(_vm.itemProps.timeStamp)))]):_vm._e(),(Number(_vm.itemProps.UnreadCount) > 0 && Number(_vm.itemProps.UnreadCount) < 100)?_c('em',{staticClass:\"at-notify\"},[_vm._v(_vm._s(_vm.itemProps.UnreadCount))]):(Number(_vm.itemProps.UnreadCount) > 99)?_c('em',{staticClass:\"at-notify\"},[_vm._v(\"99+\")]):_vm._e()]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <li class=\"at-userbar\" :class=\" Number(chatInfo.chatId) == Number(itemProps.chatId) && Number(chatInfo.chatType ) == Number(itemProps.chatType) ? 'active' : ''\" @click.prevent=\"selectUserChat()\">\r\n <!-- for one-to-one chat avatar -->\r\n <figure class=\"at-userbar_profile\" :class=\"{'at-blockuser' : itemProps.isBlocked}\">\r\n <i v-if=\"itemProps.isBlocked\" class=\"guppy-slash\"></i>\r\n <span v-else class=\"at-userstatus\" :class=\"itemProps.isOnline ? 'online' : 'offline' \"></span>\r\n <img :src=\"itemProps.userAvatar\" alt=\"profile image\" />\r\n </figure>\r\n <!-- for user display name and slogan message -->\r\n <div class=\"at-userbar_title\">\r\n <h3 v-if=\"itemProps.userName\">\r\n {{itemProps.userName}}\r\n </h3>\r\n <!-- when clear chat is false -->\r\n <template v-if=\"!itemProps.clearChat\">\r\n <span v-if=\"Number(itemProps.messageStatus) == 2 \"><i class=\"guppy-slash\"></i>{{TRANS.deleted_message}}</span>\t\r\n <span v-else-if=\"Number(itemProps.messageType) == 0 \">{{itemProps.message}}</span>\r\n <!-- for notify messages -->\r\n <span v-if=\"Number(itemProps.messageType) == 4\"> \r\n <span v-html=\"notifyMessage(itemProps)\"></span>\r\n </span>\r\n </template>\r\n </div>\r\n <div v-if=\"itemProps.clearChat == false\" class=\"at-userbar_right\">\r\n <span v-if=\"itemProps.timeStamp\">{{getMessageTime(itemProps.timeStamp)}}</span>\r\n <em v-if=\"Number(itemProps.UnreadCount) > 0 && Number(itemProps.UnreadCount) < 100\" class=\"at-notify\">{{itemProps.UnreadCount}}</em>\r\n <em v-else-if=\"Number(itemProps.UnreadCount) > 99\" class=\"at-notify\">99+</em>\r\n </div>\r\n </li>\r\n</template>\r\n\r\n<script>\r\n import GuppyChatManager from \"../../../resources/controller\";\r\n import { mapState } from \"vuex\";\r\n export default {\r\n name : \"ConversationListItem\",\r\n props:['itemProps'],\r\n data(){\r\n return {\r\n }\r\n },\r\n computed :{\r\n chatInfo(){\r\n return this.$store.getters.getChatInfo(this.itemProps.chatId)\r\n },\r\n ...mapState({\r\n userProfile: state => state.userProfile,\r\n })\r\n },\r\n methods:{\r\n notifyMessage(data){\r\n let chatType = data.chatType;\r\n let notifymessageData = data.message;\r\n let notifyType = Number(notifymessageData.type);\r\n let translation = this.TRANS;\r\n if( chatType == 1 ) { // for one to one chat\r\n if( notifyType == 1 ){\r\n let transText = data.isSender ? translation.auto_inv_sender_msg : translation.auto_inv_receiver_msg;\r\n transText = transText.replace(/\\\\/g, '');\r\n return transText.replace('((username))', data.userName)\r\n }\r\n }\r\n return ''\r\n },\r\n selectUserChat(){\r\n let data = this.itemProps;\r\n if(data.UnreadCount > 0){\r\n let dataValues = {\r\n chatId : data.chatId,\r\n userId : this.userId,\r\n chatType : data.chatType,\r\n }\r\n this.$store.commit('updateUnseenCounter', this.itemProps);\r\n GuppyChatManager.updateSeenMessagesCounter(dataValues);\r\n }\r\n if( Object.keys(this.chatInfo).length ) {\r\n let payload = {\r\n userName : this.userProfile.userName,\r\n chatType : this.chatInfo.chatType,\r\n chatId : this.chatInfo.chatId,\r\n senderId : this.userId,\r\n text : '',\r\n }\r\n this.$store.dispatch('triggerclientEvents', {'event':'isTyping', payload});\r\n }\r\n this.$store.commit('updateChatInfo', {data, userClick : true});\r\n },\r\n getMessageTime(messageTimeStamp) {\r\n return GuppyChatManager.getLongDateTime(messageTimeStamp)\r\n },\r\n },\r\n }\r\n</script>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyConversationListItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyConversationListItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyConversationListItem.vue?vue&type=template&id=68ba58bc&\"\nimport script from \"./GuppyConversationListItem.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyConversationListItem.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\r\n <div id=\"messages\" class=\"at-userlist_tab at-userlist_tabv2\">\r\n <div class=\"at-sidebarhead_search at-sidebarhead_searchv2\">\r\n <div class=\"at-form-group\">\r\n <i class=\"guppy-search\"></i>\r\n <input\r\n v-model.trim=\"search\"\r\n @input=\"searchConversation()\"\r\n type=\"search\"\r\n class=\"at-form-control\"\r\n name=\"search\"\r\n :placeholder=\"TRANS.search\"\r\n />\r\n </div>\r\n </div>\r\n <ul v-if=\"Object.keys(conversation).length\" class=\"conversation-list\" @scroll=\"conversationScrollHandler($event)\">\r\n <guppy-chat-conversation-list-item \r\n v-for=\"item in conversation\" \r\n :itemProps=\"item\" \r\n :key=\"item.chatId\" \r\n />\r\n <guppy-chat-inner-loader v-if=\"isLoading\"/>\r\n </ul>\r\n <template v-else>\r\n <guppy-chat-loader v-if=\"isLoading\"/>\r\n <guppy-chat-empty-view v-else :isSidebarProps=\"true\" :listIcon=\"'guppy-message-square'\"/> \r\n </template>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport GuppyChatInnerLoader from \"../../GuppyChatLoader/GuppyChatInnerLoader.vue\";\r\nimport GuppyChatLoader from \"../../GuppyChatLoader/GuppyChatLoader.vue\";\r\nimport GuppyChatConversationListItem from \"./GuppyConversationListItem.vue\";\r\nimport GuppyChatEmptyView from \"../../EmptyViews/GuppyChatEmptyView.vue\";\r\nimport RestApiManager from \"../../../resources/RestApiController\";\r\nimport { mapState } from 'vuex';\r\nexport default {\r\n name: \"GuppyChatPrivateList\",\r\n components:{ \r\n GuppyChatConversationListItem,\r\n GuppyChatLoader,\r\n GuppyChatInnerLoader,\r\n GuppyChatEmptyView\r\n },\r\n data(){\r\n return {\r\n search :'',\r\n timer : null,\r\n initScroll : false\r\n }\r\n },\r\n computed :{\r\n ...mapState({\r\n isMessangerChat : state => state.isMessangerChat,\r\n conversation : state => state.privateConversation,\r\n privateConvFlag : state => state.privateConvFlag,\r\n privateChatOffset : state => state.privateChatOffset,\r\n noMorePrivateChat : state => state.noMorePrivateChat,\r\n privateChatSearch : state => state.privateChatSearch,\r\n windowWidth : state => state.windowWidth,\r\n }),\r\n },\r\n methods:{\r\n searchConversation(){\r\n this.$store.commit('updateRecordList', {RecordList: 'noMorePrivateChat', RecordListValue: false});\r\n this.isScrolling = false;\r\n clearTimeout(this.timer); \r\n this.timer = setTimeout(()=>{\r\n this.updateListRecord( {} );\r\n this.$store.commit('updateOffset', { offset:'privateChatOffset', offsetValue: 0 });\r\n this.$store.commit('updateSearch', {search:'privateChatSearch', searchValue: this.search});\r\n this.getConversation();\r\n this.updateOffset();\r\n }, 800);\r\n },\r\n updateOffset(){\r\n let currentOffset = this.privateChatOffset + this.RecordLimit;\r\n this.$store.commit('updateOffset', {offset:'privateChatOffset', offsetValue: currentOffset});\r\n },\r\n async getConversation(){\r\n if ( !this.noMorePrivateChat ) {\r\n this.isLoading = true;\r\n let response = await RestApiManager.getConversation(this.privateChatOffset, this.search, 1);\r\n this.isLoading = false;\r\n\r\n if (response.data.type == \"success\") { \r\n let currentMoreRecord = Object.keys(response.data.guppyMessageList).length == 0 ? true : false;\r\n this.$store.commit('updateRecordList', {RecordList: 'noMorePrivateChat', RecordListValue: currentMoreRecord});\r\n if(!this.privateConvFlag){\r\n this.$store.commit('updateListFlag', {flag: 'privateConvFlag', flagValue:true});\r\n }\r\n this.updateListRecord( response.data.guppyMessageList );\r\n } else if(response.data.type == \"error\"){\r\n this.alertBox('error', this.TRANS.error_title, response.data.message_desc);\r\n }\r\n }\r\n },\r\n updateListRecord( recList ){\r\n let data = {\r\n 'list' : recList,\r\n 'listType' : 'privateConversation',\r\n 'isScrolling' : this.isScrolling\r\n }\r\n this.$store.commit('updateTabListRecord', data)\r\n },\r\n conversationScrollHandler(elem) {\r\n if (\r\n ((elem.target.offsetHeight + elem.target.scrollTop) + 1 ) >=\r\n elem.target.scrollHeight\r\n ) {\r\n this.isScrolling = true;\r\n this.getConversation();\r\n this.updateOffset();\r\n }\r\n },\r\n openChat( params ){\r\n params['chatType'] = 1;\r\n if(this.chatInfo){\r\n if(this.chatInfo.chatId != params.chatId){\r\n let payload = {\r\n userName : this.userProfile.userName,\r\n chatType : this.chatInfo.chatType,\r\n chatId : this.chatInfo.chatId,\r\n senderId : params.chatId,\r\n userType : this.userType,\r\n text : '',\r\n }\r\n this.$store.dispatch('triggerclientEvents', {'event':'isTyping', payload});\r\n }\r\n }\r\n this.$store.commit('updateChatInfo', { data: params, userClick : true});\r\n },\r\n onlineUserListScroll(){\r\n const scrollUserList = document.querySelector('.at-onlineusers');\r\n scrollUserList.addEventListener('wheel', function(e) {\r\n const race = 15; // How many pixels to scroll\r\n\r\n if (e.deltaY > 0) // Scroll right\r\n scrollUserList.scrollLeft += race;\r\n else // Scroll left\r\n scrollUserList.scrollLeft -= race;\r\n e.preventDefault();\r\n });\r\n let isDown = false;\r\n let startX;\r\n let scrollLeft;\r\n\r\n scrollUserList.addEventListener('mousedown', (e) => {\r\n isDown = true;\r\n scrollUserList.classList.add('active');\r\n startX = e.pageX - scrollUserList.offsetLeft;\r\n scrollLeft = scrollUserList.scrollLeft;\r\n });\r\n scrollUserList.addEventListener('mouseleave', () => {\r\n isDown = false;\r\n scrollUserList.classList.remove('active');\r\n });\r\n scrollUserList.addEventListener('mouseup', () => {\r\n isDown = false;\r\n scrollUserList.classList.remove('active');\r\n });\r\n scrollUserList.addEventListener('mousemove', (e) => {\r\n if(!isDown) return;\r\n e.preventDefault();\r\n const x = e.pageX - scrollUserList.offsetLeft;\r\n const walk = (x - startX) * 1; //scroll-fast\r\n scrollUserList.scrollLeft = scrollLeft - walk;\r\n });\r\n }\r\n },\r\n created(){\r\n if( !Object.keys(this.conversation).length || !this.privateConvFlag){\r\n this.getConversation();\r\n this.updateOffset();\r\n }\r\n },\r\n mounted(){\r\n this.search = this.privateChatSearch;\r\n },\r\n};\r\n</script>\r\n<style>\r\n.at-onlineusers{\r\n margin: 0;\r\n display: flex;\r\n overflow: auto;\r\n margin: 0 -20px;\r\n list-style: none;\r\n padding: 30px 0 10px;\r\n height: auto !important;\r\n width: calc(100% + 40px);\r\n flex-direction: row !important;\r\n}\r\n.at-onlineusers::-webkit-scrollbar {\r\n width: 0 !important;\r\n height: 0 !important;\r\n}\r\n.at-onlineusers > li{\r\n border: 0;\r\n flex: none;\r\n display: block;\r\n cursor: pointer;\r\n max-width: 85px;\r\n list-style-type: none;\r\n padding: 0 !important;\r\n background: transparent;\r\n margin-bottom: 0 !important;\r\n}\r\n.at-onlineusers > li:first-child{\r\n margin-left: 20px;\r\n}\r\n.at-onlineusers > li:last-child{\r\n margin-right: 20px;\r\n}\r\n.at-onlineusers .at-userstatus{\r\n right: 0;\r\n bottom: 0;\r\n border: 2px solid #fff;\r\n}\r\n.at-onlineusers .at-userstatus:before{\r\n width: 8px;\r\n height: 8px;\r\n}\r\n.at-onlineusers figure{\r\n max-width: 50px;\r\n position: relative;\r\n margin: 0 auto !important;\r\n}\r\n\r\n.at-onlineusers .at-singleimg img{\r\n width: 50px;\r\n height: 50px;\r\n}\r\n.at-userlist_tab .at-sidebarhead_searchv2 {\r\n padding: 7.5px 0;\r\n border-bottom: 1px solid #eee;\r\n}\r\n.at-support-agents .at-userlist_tab .at-sidebarhead_searchv2 {\r\n padding: 9.5px 0;\r\n}\r\n.at-userlist_tab .at-sidebarhead_searchv2 .at-form-group input {\r\n border: 0;\r\n padding-left: 43px;\r\n}\r\n.at-admin-chat .at-sidebarhead_searchv2 .at-form-group input {\r\n height: 44px;\r\n}\r\n</style>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatPrivateList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatPrivateList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatPrivateList.vue?vue&type=template&id=045fec8e&\"\nimport script from \"./GuppyChatPrivateList.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatPrivateList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuppyChatPrivateList.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\r\n <div :class=\"isWhatsappChat ? 'gp-chat_sidebar' : 'at-chat_sidebar'\">\r\n <whatsapp-user-List v-if=\"isWhatsappChat\"/>\r\n <template v-else-if=\"userId && Number(userType)\" >\r\n <guppy-caht-user-list v-if=\"activeTab == 'contacts'\" />\r\n <guppy-chat-friend-list v-else-if=\"activeTab == 'friends'\" />\r\n <guppy-chat-block-user-list v-else-if=\"activeTab == 'blocked'\" />\r\n <guppy-chat-private-list v-else-if=\"activeTab == 'messages'\" />\r\n <customer-support v-else-if=\"activeTab == 'customer_support'\"/>\r\n <guppy-chat-profile-setting v-else-if=\"activeTab == 'profile'\" />\r\n <guppy-chat-sidebar-footer />\r\n </template>\r\n <template v-else-if=\"userId && !Number(userType)\">\r\n <customer-support/>\r\n <guppy-chat-sidebar-footer />\r\n </template>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport GuppyChatSidebarFooter from \"./GuppyChatSidebarFooter/GuppyChatSidebarFooter.vue\";\r\nimport GuppyChatBlockUserList from \"./GuppyChatBlockUserList/GuppyChatBlockUserList.vue\";\r\nimport GuppyCahtUserList from \"./GuppyChatUsersList/GuppyChatUsersList.vue\";\r\nimport GuppyChatFriendList from \"./GuppyChatFriendList/GuppyChatFriendList.vue\";\r\nimport CustomerSupport from \"./GuppyChatCustomerSupport/CustomerSupport.vue\";\r\nimport { GUPPYCHAT_SETTINGS } from \"./../../resources/constants\";\r\nimport GuppyChatWhatsappUserList from \"./GuppyChatWhatsappUserList/GuppyChatWhatsappUserList.vue\";\r\nimport GuppyChatProfileSetting from \"./GuppyChatProfileSetting/GuppyChatProfileSetting.vue\";\r\nimport GuppyChatPrivateList from \"./GuppyChatConversationList/GuppyChatPrivateList.vue\";\r\nimport RestApiManager from \"../../resources/RestApiController\";\r\nimport { mapState } from 'vuex';\r\nexport default {\r\n name : \"GuppyChatSidebar\",\r\n components: {\r\n GuppyCahtUserList,\r\n GuppyChatSidebarFooter,\r\n GuppyChatFriendList,\r\n GuppyChatBlockUserList,\r\n CustomerSupport,\r\n GuppyChatPrivateList,\r\n WhatsappUserList : GuppyChatWhatsappUserList,\r\n GuppyChatProfileSetting\r\n },\r\n props:{\r\n isWidgetChat : {\r\n\t\t\t\ttype : Boolean,\r\n\t\t\t\trequired : false,\r\n\t\t\t\tdefault : false\r\n\t\t\t}\r\n },\r\n data(){\r\n return{\r\n Tab : 'users'\r\n }\r\n },\r\n watch:{\r\n userType(type){\r\n RestApiManager.getUnReadMessages()\r\n if(Number(type) == 1){\r\n RestApiManager.getProfileInfo();\r\n }\r\n }\r\n },\r\n computed :mapState({\r\n isWhatsappChat: state => state.isWhatsappChat,\r\n activeTab: state => state.activeTab,\r\n }),\r\n beforeCreate(){\r\n this.$store.commit('selectTab', GUPPYCHAT_SETTINGS.defaultActiveTab);\r\n \r\n },\r\n created(){\r\n if(this.userType){\r\n RestApiManager.getUnReadMessages()\r\n Number(this.userType) == 0 && RestApiManager.getGuestUserInfo();\r\n Number(this.userType) == 1 && RestApiManager.getProfileInfo();\r\n }\r\n }\r\n}\r\n</script>\r\n<style scoped>\r\n.at-chat_sidebar {\r\n position: relative;\r\n -webkit-box-flex: 0;\r\n -ms-flex: 0 0 32%;\r\n flex: 0 0 32%;\r\n max-width: 32%;\r\n border-right: 1px solid #eee;\r\n\r\n}\r\n.at-chat_sidebar:before{\r\n width: 100%;\r\n position: absolute;\r\n content: '';\r\n height: 100%;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n background-color: rgba(0,0,0,0);\r\n opacity: 0;\r\n visibility: hidden;\r\n z-index: 1;\r\n transition: all 0.6s ease-in-out;\r\n cursor: pointer;\r\n}\r\n.at-ovelay:before{\r\n opacity: 1;\r\n visibility: visible;\r\n background-color: rgba(0,0,0,0.3);\r\n transition: all 0.6s ease-in-out;\r\n}\r\n\r\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatSidebar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatSidebar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatSidebar.vue?vue&type=template&id=5c186318&scoped=true&\"\nimport script from \"./GuppyChatSidebar.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatSidebar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuppyChatSidebar.vue?vue&type=style&index=0&id=5c186318&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5c186318\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-chat_messages\"},[(_vm.isEmptyView)?_c('no-record-found',{attrs:{\"listIcon\":'guppy-message-circle'}}):[(_vm.isOpenMessagesScr)?[(_vm.chatInfo.chatId)?_c('guppy-chat-message-header'):_vm._e(),_c('messages-container',{attrs:{\"conversationData\":_vm.convData}}),(_vm.chatInfo.isBlocked && _vm.chatInfo.blockedId == _vm.userId)?_c('div',{staticClass:\"at-chatblockuser\"},[_c('span',[_vm._v(\" \"+_vm._s(_vm.TRANS.you_are_blocked)+\" \")])]):(_vm.chatInfo.isBlocked && _vm.chatInfo.blockedId != _vm.userId)?_c('div',{staticClass:\"at-chatblockuser\"},[_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.unblockButtonText)}})]):_c('guppy-chat-message-footer',{attrs:{\"isDisabledFooter\":_vm.loadChat && !_vm.messagesList.length ? true : _vm.isDisabledFooter},on:{\"loadMessageListEvent\":function($event){return _vm.updateMessageList($event)}}})]:_c('guppy-chat-invite-response',{on:{\"loadUserChat\":function($event){return _vm.loadUserChat($event)}}})]],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-messagewrap at-unknownuser\"},[(_vm.isShowDefaultMessage)?_c('a',{staticClass:\"at-backtolist\",attrs:{\"href\":\"javascript:void(0);\"}},[_c('i',{staticClass:\"guppy-chevron-left\"})]):_vm._e(),_c('div',{staticClass:\"at-alert\"},[(!_vm.isShowDefaultMessage)?_c('a',{staticClass:\"at-closepopup\",attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();return _vm.closePopUp()}}},[_c('i',{staticClass:\"guppy-x\"})]):_vm._e(),_c('i',{staticClass:\"guppy-alert-circle\"}),_c('h2',[_vm._v(_vm._s(_vm.userResponseData.userName))]),_c('p',[_vm._v(_vm._s(_vm.TRANS.invitation_top_desc))]),_c('ul',{staticClass:\"at-btnlist\"},[_c('li',[_c('a',{staticClass:\"at-btn at-bgsuccess\",class:{'at-disable-btn' : _vm.isLoading && _vm.actionType == 1 },attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();return _vm.inviteResponse(1)}}},[_vm._v(\" \"+_vm._s(_vm.TRANS.accept_invite)+\" \")])]),_c('li',[_c('a',{staticClass:\"at-btn at-bgdanger\",class:{'at-disable-btn' : _vm.isLoading && _vm.actionType == 2 },attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();return _vm.inviteResponse(2)}}},[_vm._v(_vm._s(_vm.TRANS.decline_invite)+\" \")])])]),_c('a',{staticClass:\"at-anchor\",class:{'at-disable-btn' : _vm.isLoading && _vm.actionType == 3 },attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();return _vm.inviteResponse(3)}}},[_vm._v(\" \"+_vm._s(_vm.TRANS.block_user)+\" \")])]),(_vm.isShowDefaultMessage)?_c('div',{staticClass:\"at-messages at-message_sender\"},[_c('div',{staticClass:\"at-message\"},[_vm._v(\" \"+_vm._s(_vm.TRANS.invitaion_bottom_desc)+\" \")])]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"at-messagewrap at-unknownuser\">\r\n <a v-if=\"isShowDefaultMessage\" href=\"javascript:void(0);\" class=\"at-backtolist\"><i class=\"guppy-chevron-left\"></i></a>\r\n <div class=\"at-alert\">\r\n <a href=\"javascript:void(0);\" v-if=\"!isShowDefaultMessage\" @click.prevent=\"closePopUp()\" class=\"at-closepopup\"><i class=\"guppy-x\"></i></a>\r\n <i class=\"guppy-alert-circle\"></i>\r\n <h2>{{userResponseData.userName}}</h2>\r\n <p>{{TRANS.invitation_top_desc}}</p>\r\n <ul class=\"at-btnlist\">\r\n <!-- for accept invite -->\r\n <li>\r\n <a href=\"javascript:void(0);\" \r\n @click.prevent=\"inviteResponse(1)\" \r\n class=\"at-btn at-bgsuccess\"\r\n :class=\"{'at-disable-btn' : isLoading && actionType == 1 }\"\r\n >\r\n {{TRANS.accept_invite}}\r\n </a>\r\n </li>\r\n <!-- for decline invite -->\r\n <li>\r\n <a href=\"javascript:void(0);\" \r\n @click.prevent=\"inviteResponse(2)\" \r\n class=\"at-btn at-bgdanger\"\r\n :class=\"{'at-disable-btn' : isLoading && actionType == 2 }\"\r\n >{{TRANS.decline_invite}}\r\n </a>\r\n </li>\r\n </ul>\r\n <!-- for block invite -->\r\n <a \r\n href=\"javascript:void(0);\" \r\n class=\"at-anchor\" \r\n :class=\"{'at-disable-btn' : isLoading && actionType == 3 }\"\r\n @click.prevent=\"inviteResponse(3)\"\r\n >\r\n {{TRANS.block_user}}\r\n </a>\r\n </div>\r\n <div v-if=\"isShowDefaultMessage\" class=\"at-messages at-message_sender\">\r\n <div class=\"at-message\">\r\n {{TRANS.invitaion_bottom_desc}}\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { mapState } from 'vuex';\r\nimport GuppyChatManager from \"../../../resources/controller\";\r\nexport default {\r\n name : \"GuppyChatInviteResponse\",\r\n props : {\r\n isShowDefaultMessage : {\r\n type : Boolean,\r\n required : false,\r\n default : true\r\n }\r\n },\r\n data(){\r\n return {\r\n actionType : 0,\r\n }\r\n },\r\n computed:{\r\n ...mapState({\r\n userResponseData : (state) => state.userResponseData,\r\n })\r\n },\r\n methods : {\r\n closePopUp(){\r\n this.$root.$emit('closePopUp', { type : 'acceptInvite' });\r\n },\r\n async inviteResponse( status ){\r\n let userId = this.userResponseData.userId;\r\n let params = {\r\n 'statusType' : status,\r\n 'actionTo' : userId,\r\n 'userId' : this.userId,\r\n }\r\n\r\n this.actionType = status;\r\n this.isLoading = true;\r\n let response = await GuppyChatManager.updateUserStatus(params);\r\n\r\n if( response.data.type == \"success\" ) {\r\n let data = response.data.userData\r\n if( data.status == 2 ) {\r\n data['statusText'] = \"invite\";\r\n this.$store.commit('declineInvite', data);\r\n this.toggleScreen()\r\n } else if( data.status == 3 ) {\r\n this.$store.commit('blockUser', data);\r\n this.toggleScreen()\r\n } else if( data.status == 1 ) {\r\n this.$store.commit('acceptInvite', data);\r\n this.$emit('loadUserChat', this.userResponseData);\r\n }\r\n this.$store.commit('updateUnseenCounter', { UnreadCount : 1, chatType : 5, chatId: data.chatId }); // custom chatType for request invitations\r\n } else if( response.data.type == \"error\" ) {\r\n this.alertBox('error', this.TRANS.error_title, response.data.message_desc);\r\n }\r\n this.isLoading = false;\r\n this.closePopUp();\r\n },\r\n toggleScreen(){\r\n let data = { isEmptyView : true, isOpenMessagesScr : false}\r\n this.$store.dispatch('toggleMessagesScr', data)\r\n }\r\n },\r\n created(){\r\n\r\n }\r\n}\r\n</script>\r\n\r\n<style>\r\n.at-unknownuser .at-backtolist{\r\n align-self: flex-start;\r\n}\r\n.at-unknownuser {\r\n height: calc(100vh);\r\n padding-bottom: 21px !important;\r\n display: flex !important;\r\n align-items: center;\r\n flex-direction: column;\r\n justify-content: center;\r\n padding-top: 20px;\r\n}\r\n.at-unknownuser .at-message{\r\n padding: 20px;\r\n max-width: 100%;\r\n}\r\n.at-unknownuser .at-messages{\r\n padding-left: 0;\r\n padding-right: 0;\r\n margin: 0 !important;\r\n padding-top: 30px;\r\n}\r\n.at-alert {\r\n margin: auto;\r\n padding: 30px;\r\n background-color: #fff;\r\n border-radius: 10px;\r\n text-align: center;\r\n max-width: 528px;\r\n filter: drop-shadow(0px 2px 4px rgba(40, 41, 61, 0.04)) drop-shadow(0px 8px 16px rgba(96, 97, 112, 0.16));\r\n}\r\n.at-alert i {\r\n color: var(--terguppycolor);\r\n font-size: 54px;\r\n}\r\n.at-alert h2 {\r\n margin: 0;\r\n font-size: 28px;\r\n line-height: 40px;\r\n letter-spacing: 0.5px;\r\n}\r\n.at-alert p {\r\n font-size: 15px;\r\n line-height: 28px;\r\n letter-spacing: 0.5px;\r\n color: var(--secguppycolor);\r\n margin: 0 0 16px;\r\n}\r\n.at-alert > a {\r\n margin-top: 20px;\r\n}\r\n.at-alert > .at-closepopup{\r\n margin: 0;\r\n top: 20px;\r\n right: 20px;\r\n position: absolute;\r\n}\r\n.at-alert > .at-closepopup i{\r\n font-size: 24px;\r\n}\r\n.at-chat480 .at-unknownuser{\r\n padding-right: 15px!important;\r\n padding-left: 15px !important;\r\n}\r\n.at-chat480 .at-unknownuser .at-messages{\r\n padding-right: 0;\r\n padding-left: 0;\r\n}\r\n.at-chat480 .at-unknownuser .at-message{\r\n max-width: 100%;\r\n}\r\n</style>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatInviteResponse.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatInviteResponse.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatInviteResponse.vue?vue&type=template&id=79ce9db6&\"\nimport script from \"./GuppyChatInviteResponse.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatInviteResponse.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuppyChatInviteResponse.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-userinfo\"},[_c('div',{staticClass:\"at-userinfo_title\"},[_c('a',{staticClass:\"at-backtolist\",attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();return _vm.backToTabList()}}},[_c('i',{staticClass:\"guppy-chevron-left\"})]),([1,3].includes( Number(_vm.chatInfo.chatType)))?_c('figure',{staticClass:\"at-userinfo_title_img\"},[_c('img',{attrs:{\"src\":_vm.chatInfo.userAvatar ? _vm.chatInfo.userAvatar : _vm.defaultAvatar,\"alt\":\"profile image\"}})]):_vm._e(),_c('div',{staticClass:\"at-userinfo_title_name\"},[([1,3].includes( Number(_vm.chatInfo.chatType)))?_c('h3',[_vm._v(_vm._s(_vm._f(\"capitalize\")(_vm.chatInfo.userName)))]):_vm._e(),([1,3].includes( Number(_vm.chatInfo.chatType)))?_c('span',{staticClass:\"at-userstatus\",class:_vm.chatInfo.isOnline && _vm.userType == 1 ? 'online' : 'offline'},[_vm._v(\" \"+_vm._s(_vm.chatInfo.isOnline && _vm.userType == 1 ? _vm.TRANS.online : _vm.TRANS.offline)+\" \")]):_vm._e()])]),(_vm.chatInfo && _vm.chatInfo.chatType == 1)?[_vm._m(0),_c('guppy-chat-sidebar-setting')]:_vm._e()],2)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-userinfo_settings\"},[_c('a',{attrs:{\"href\":\"javascript:void(0);\"}},[_c('i',{staticClass:\"guppy-sliders\"})])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-chat_sidebarsetting\"},[_c('div',{staticClass:\"at-chat_sidebarsettingtitle\"},[_c('h2',[_vm._v(_vm._s(_vm.TRANS.settings))]),_vm._m(0)]),_c('div',{staticClass:\"at-chat_sidebarsettingarea\"},[(!_vm.chatInfo.memberDisable && Number(_vm.chatInfo.chatType) != 3)?_c('div',{staticClass:\"at-chat_sidebarsettingcontent\"},[_c('h4',[_vm._v(_vm._s(_vm.TRANS.actions))]),_c('a',{class:{'at-disable-btn' : _vm.notificationLoader },attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();return _vm.muteNotification()}}},[_vm._v(\" \"+_vm._s(_vm.muteChatNotify ? _vm.TRANS.unmute_conversation : _vm.TRANS.mute_conversation)+\" \")])]):_vm._e(),(Number(_vm.chatInfo.chatType) != 3)?_c('div',{staticClass:\"at-chat_sidebarsettingcontent\"},[_c('h4',[_vm._v(_vm._s(_vm.TRANS.privacy_settings))]),(_vm.chatInfo.chatType == 1)?[(_vm.chatInfo.isBlocked)?[(_vm.chatInfo.blockedId != _vm.userId)?_c('a',{staticClass:\"at-danger\",attrs:{\"href\":\"javascript:void(0);\",\"guppy-data-target\":\"#blockuser\"}},[_vm._v(\" \"+_vm._s(_vm.TRANS.unblock_user)+\" \")]):_vm._e()]:[_c('a',{staticClass:\"at-danger\",attrs:{\"href\":\"javascript:void(0);\",\"guppy-data-target\":\"#blockuser\"}},[_vm._v(\" \"+_vm._s(_vm.TRANS.block_user)+\" \")])]]:_vm._e(),(_vm.isAllowClearChat)?_c('a',{staticClass:\"at-danger\",attrs:{\"href\":\"javascript:void(0);\",\"guppy-data-target\":\"#clearchat\"}},[_vm._v(_vm._s(_vm.TRANS.clear_chat))]):_vm._e()],2):_vm._e()])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{attrs:{\"href\":\"javascript:void(0);\"}},[_c('i',{staticClass:\"guppy-x\"})])}]\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"at-chat_sidebarsetting\">\r\n <div class=\"at-chat_sidebarsettingtitle\">\r\n <h2>{{TRANS.settings}}</h2>\r\n <a href=\"javascript:void(0);\"><i class=\"guppy-x\"></i></a>\r\n </div>\r\n <div class=\"at-chat_sidebarsettingarea\">\r\n <div v-if=\"!chatInfo.memberDisable && Number(chatInfo.chatType) != 3\" class=\"at-chat_sidebarsettingcontent\">\r\n <h4>{{TRANS.actions}}</h4>\r\n <a href=\"javascript:void(0);\" @click.prevent=\"muteNotification()\" :class=\"{'at-disable-btn' : notificationLoader }\" > \r\n {{muteChatNotify ? TRANS.unmute_conversation : TRANS.mute_conversation}}\r\n </a>\r\n </div>\r\n <div class=\"at-chat_sidebarsettingcontent\" v-if=\"Number(chatInfo.chatType) != 3\">\r\n <h4>{{TRANS.privacy_settings}}</h4>\r\n <template v-if=\"chatInfo.chatType == 1\">\r\n <template v-if=\"chatInfo.isBlocked\">\r\n <a v-if=\"chatInfo.blockedId != userId\" href=\"javascript:void(0);\" class=\"at-danger\" guppy-data-target=\"#blockuser\">\r\n {{TRANS.unblock_user}}\r\n </a>\r\n </template>\r\n <template v-else>\r\n <a href=\"javascript:void(0);\" class=\"at-danger\" guppy-data-target=\"#blockuser\">\r\n {{TRANS.block_user}}\r\n </a>\r\n </template>\r\n </template>\r\n <a href=\"javascript:void(0);\" class=\"at-danger\" v-if=\"isAllowClearChat\" guppy-data-target=\"#clearchat\">{{TRANS.clear_chat}}</a>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport RestApiManager from \"../../../resources/RestApiController\";\r\nimport { mapState } from \"vuex\";\r\nimport {GUPPYCHAT_SETTINGS} from \"../../../resources/constants\";\r\nexport default {\r\n name : \"GuppyChatSidebarSetting\",\r\n data(){\r\n return {\r\n isloading : false,\r\n notificationLoader : false,\r\n }\r\n },\r\n computed: {\r\n muteChatNotify(){\r\n return this.$store.getters.muteChatNotify();\r\n },\r\n ...mapState({\r\n chatInfo: state => state.chatInfo,\r\n isAllowClearChat(){\r\n return GUPPYCHAT_SETTINGS.clearChatOption\r\n },\r\n }) \r\n },\r\n methods:{\r\n async muteNotification(){\r\n let actionTo = this.chatInfo.chatId.split('_')[0];\r\n\t\t\t\tlet data = {\r\n\t\t\t\t\tmuteType : 0,\r\n\t\t\t\t\tuserId : this.userId,\r\n\t\t\t\t\tchatId : this.chatInfo.chatId,\r\n\t\t\t\t\tchatType : this.chatInfo.chatType,\r\n actionTo : actionTo,\r\n\t\t\t\t}\r\n\t\t\t\tthis.notificationLoader = true;\r\n let response = await RestApiManager.muteNotification(data);\r\n\t\t\t\tthis.notificationLoader = false;\r\n if( response.data.type == 'error'){\r\n this.alertBox('error', this.TRANS.error_title, response.data.desc)\r\n }\r\n\t\t\t}\r\n },\r\n};\r\n</script>\r\n<style scoped>\r\n.at-chat_sidebarsetting {\r\n flex: 0 0 300px;\r\n max-width: 300px;\r\n width: 100%;\r\n background: #FFFFFF;\r\n position: absolute;\r\n right: 0;\r\n top: 0;\r\n z-index: 9999;\r\n transform: translateX(100%);\r\n transition: all 0.3s ease-in-out;\r\n height: 100%;\r\n}\r\n.at-chat_sidebarsettingopen {\r\n transform: translateX(0);\r\n box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.05);\r\n}\r\n.at-chat_sidebarsettingcontent {\r\n padding: 26px 30px;\r\n}\r\n.at-chat_sidebarsettingcontent h4 {\r\n letter-spacing: 0.5px;\r\n color: var(--terguppycolor) !important;\r\n line-height: 28px;\r\n font-size: 18px;\r\n margin: 0;\r\n}\r\n.at-chat_sidebarsettingcontent > a {\r\n color: var(--terguppycolor) !important;\r\n font: 700 16px/26px var(--primchatfont);\r\n letter-spacing: 0.5px;\r\n margin-top: 10px;\r\n display: block;\r\n transition: none;\r\n}\r\n.at-chat_sidebarsettingcontent > a.at-danger{\r\n color: #EF4444 !important;\r\n}\r\n.at-chat_sidebarsettingcontent .at-themeform {\r\n padding-top: 10px;\r\n}\r\n.at-chat_sidebarsettingcontent .at-btnlist {\r\n margin: 0;\r\n}\r\n.at-chat_sidebarsettingcontent .at-btnlist li {\r\n width: 100% !important;\r\n padding: 0 !important;\r\n}\r\n.at-chat_sidebarsettingcontent ~ .at-chat_sidebarsettingcontent {\r\n border-top: 1px solid #ddd;\r\n}\r\n.at-chat_sidebarsettingarea {\r\n height: calc(100vh - 91px);\r\n overflow-y: auto;\r\n}\r\n.at-gallerylistwrap{\r\n padding: 20px 30px;\r\n border-top: 1px solid #ddd;\r\n}\r\n.at-gallerylistwrap h4 {\r\n letter-spacing: 0.5px;\r\n color: var(--terguppycolor) !important;\r\n line-height: 28px;\r\n font-size: 18px;\r\n margin: 0;\r\n}\r\n.at-gallerylist {\r\n margin: -5px;\r\n padding: 20px 0 0;\r\n display: -ms-flexbox;\r\n display: flex;\r\n -ms-flex-wrap: wrap;\r\n flex-wrap: wrap;\r\n}\r\n.at-gallerylist li {\r\n margin: 0;\r\n list-style: none;\r\n padding: 5px !important;\r\n width: 33.333% !important;\r\n}\r\n\r\n.at-gallerylist li:not(.at-loadmorecontent) a {\r\n display: flex;\r\n height: 100%;\r\n justify-content: center;\r\n align-items: center;\r\n position: relative;\r\n border-radius: 5px;\r\n min-height: 73.33px;\r\n max-height: 73.33px;\r\n border: 1px solid #DDDDDD;\r\n color: var(--primguppycolor);\r\n}\r\n.at-gallerylist li.at-loadmorecontent{\r\n width: 100% !important;\r\n margin-top: 10px;\r\n}\r\n.at-gallerylist li a i{\r\n display: inline-block;\r\n background: #fff;\r\n text-align: center;\r\n font-size: 24px;\r\n}\r\n.at-gallerylist li a img {\r\n max-width: 100%;\r\n object-fit: cover;\r\n border-radius: 5px;\r\n}\r\n.at-danger {\r\n color: #EF4444 !important;\r\n}\r\n.at-imgdownloader{\r\n outline: none !important;\r\n text-decoration: none !important;\r\n background-color: transparent !important;\r\n font: 700 16px/26px var(--primchatfont);\r\n letter-spacing: 0.5px;\r\n margin-top: 10px;\r\n display: inline-flex;\r\n vertical-align: middle;\r\n color: #3C57E5 !important;\r\n align-items: center;\r\n}\r\n.at-imgdownloader.at-disable-btn{\r\n background-color: transparent !important;\r\n}\r\n.at-imgdownloader .at-msgload{\r\n margin: 0;\r\n position: initial;\r\n display: inline-block;\r\n margin-right: 10px;\r\n}\r\n.at-imgdownloader .at-msgload i{\r\n border-right-color: #fff;\r\n display: block;\r\n width: 20px;\r\n height: 20px;\r\n}\r\n</style>\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatSidebarSetting.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatSidebarSetting.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatSidebarSetting.vue?vue&type=template&id=0d0d1444&scoped=true&\"\nimport script from \"./GuppyChatSidebarSetting.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatSidebarSetting.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuppyChatSidebarSetting.vue?vue&type=style&index=0&id=0d0d1444&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0d0d1444\",\n null\n \n)\n\nexport default component.exports","<template>\r\n <div class=\"at-userinfo\">\r\n <div class=\"at-userinfo_title\">\r\n <a href=\"javascript:void(0);\" @click.prevent=\"backToTabList()\" class=\"at-backtolist\"><i class=\"guppy-chevron-left\"></i></a>\r\n <figure v-if=\"[1,3].includes( Number(chatInfo.chatType))\" class=\"at-userinfo_title_img\">\r\n <img :src=\"chatInfo.userAvatar ? chatInfo.userAvatar : defaultAvatar\" alt=\"profile image\" />\r\n </figure>\r\n <div class=\"at-userinfo_title_name\">\r\n <h3 v-if=\"[1,3].includes( Number(chatInfo.chatType))\">{{chatInfo.userName | capitalize}}</h3>\r\n <span v-if=\"[1,3].includes( Number(chatInfo.chatType))\" class=\"at-userstatus\" :class=\"chatInfo.isOnline && userType == 1 ? 'online' : 'offline'\">\r\n {{chatInfo.isOnline && userType == 1 ? TRANS.online : TRANS.offline}}\r\n </span>\r\n </div>\r\n </div>\r\n <template v-if=\"chatInfo && chatInfo.chatType == 1\">\r\n <div class=\"at-userinfo_settings\">\r\n <a href=\"javascript:void(0);\"><i class=\"guppy-sliders\"></i></a>\r\n </div>\r\n <guppy-chat-sidebar-setting />\r\n </template>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport GuppyChatSidebarSetting from \"./GuppyChatSidebarSetting.vue\";\r\nimport { GUPPYCHAT_CONSTANTS } from \"../../../resources/constants\";\r\nexport default {\r\n name: \"GuppyChatMessagesHeader\",\r\n components: { GuppyChatSidebarSetting },\r\n data(){\r\n return {\r\n defaultAvatar : GUPPYCHAT_CONSTANTS.AVATAR\r\n }\r\n },\r\n computed:{\r\n chatInfo(){\r\n return this.$store.getters.getChatInfo();\r\n },\r\n },\r\n methods:{\r\n backToTabList(){\r\n let data = { isEmptyView : true, isOpenMessagesScr : false}\r\n this.$store.dispatch('toggleMessagesScr', data)\r\n this.$store.commit('updateChatInfo', {})\r\n }\r\n }\r\n};\r\n</script>\r\n\r\n<style>\r\n .at-userinfo {\r\n padding: 16px 20px;\r\n display: flex;\r\n background-color: #fff;\r\n align-items: center;\r\n box-shadow: inset 0px -1px 0px #EEEEEE;\r\n}\r\n.at-userinfo_title {\r\n display: flex;\r\n align-items: center;\r\n}\r\n.at-userinfo_title_name{\r\n display: -ms-flexbox;\r\n display: flex;\r\n -ms-flex-wrap: wrap;\r\n flex-wrap: wrap;\r\n}\r\n.at-userinfo_title_img {\r\n flex: none;\r\n margin:0 15px 0 0 !important;\r\n max-width: 50px;\r\n}\r\n.at-userinfo_title_img img {\r\n display: block;\r\n width: 100%;\r\n height: 50px;\r\n object-fit: cover;\r\n border-radius: 50% !important;\r\n}\r\n.at-userinfo_title_name h3 {\r\n width: 100%;\r\n word-break: break-word;\r\n margin: 0;\r\n font-size: 18px;\r\n line-height: 32px;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 1;\r\n -webkit-box-orient: vertical;\r\n}\r\n.at-userinfo_title_name p{\r\n font-size: 14px;\r\n line-height: 26px;\r\n letter-spacing: 0.01em;\r\n color: #999999;\r\n margin: 0;\r\n}\r\n.at-userinfo_title_name p > span{\r\n display: block;\r\n}\r\n.at-userinfo_title_name p a{\r\n color: #3C57E5 !important;\r\n outline: none !important;\r\n}\r\n.at-userinfo_settings {\r\n margin-left: auto;\r\n}\r\n.at-userinfo_settings a {\r\n width: 42px;\r\n display: block;\r\n text-align: center;\r\n line-height: 57px;\r\n color: var(--secguppycolor);\r\n font-size: 24px;\r\n text-decoration: none;\r\n}\r\n.at-userinfo_settings a:hover{color: var(--secguppycolor);}\r\n.at-userstatus {\r\n font-size: 14px;\r\n line-height: 26px;\r\n letter-spacing: 0.01em;\r\n display: inline-flex;\r\n vertical-align: middle;\r\n align-items: center;\r\n}\r\n.at-userstatus:before {\r\n margin-right: 5px;\r\n display: inline-block;\r\n content: \"\";\r\n width: 6px;\r\n height: 6px;\r\n border-radius: 50%;\r\n}\r\n.at-userstatus.online:before {\r\n background-color: #22C55E;\r\n}\r\n.at-userstatus.offline:before {\r\n background-color: #ddd;\r\n}\r\n.at-userstatus.away:before {\r\n background-color: #EAB308;\r\n}\r\n.at-userstatus.notify:before {\r\n background-color: #FF7300;\r\n}\r\n.at-backtolist{\r\n font-size: 22px;\r\n color: #000;\r\n margin-right: 15px;\r\n line-height: 0.8;\r\n display: none;\r\n}\r\n.at-chat991 .at-backtolist {\r\n display: block;\r\n}\r\n</style>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatMessageHeader.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatMessageHeader.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatMessageHeader.vue?vue&type=template&id=08d6627f&\"\nimport script from \"./GuppyChatMessageHeader.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatMessageHeader.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuppyChatMessageHeader.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-replay\",class:{'at-replay_disable' : _vm.isDisabledFooter }},[(_vm.quoteMessage)?_c('guppy-chat-quoted-messages',{attrs:{\"quoteMsgProps\":_vm.quoteMessage},on:{\"removeQuoteMessage\":function($event){return _vm.removeQuote();}}}):_vm._e(),_c('span',{staticClass:\"at-typing\",domProps:{\"innerHTML\":_vm._s(_vm.typingUsers)}}),_c('div',{staticClass:\"at-replay_content\"},[_c('send-text-message'),(_vm.isMobileDevice)?[(_vm.inputTypingText)?_c('a',{staticClass:\"at-sendmsg-responsive\",attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){$event.preventDefault();return _vm.sendTextMessage()}}},[_c('i',{staticClass:\"guppy-send\"})]):_vm._e()]:_vm._e()],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-replay_message\"},[_c('div',{staticClass:\"at-message-qoute\"},[_c('div',{staticClass:\"at-message-qoute_content\"},[(Number(_vm.quoteMsgProps.messageType) == 0)?_c('div',{staticClass:\"at-sendfile\"},[_c('span',[_vm._v(_vm._s(_vm.quoteMsgProps.message))])]):_vm._e()]),_c('span',{staticClass:\"at-remove-quotes\",on:{\"click\":function($event){$event.preventDefault();return _vm.removeQuoteMessage()}}},[_c('i',{staticClass:\"guppy-x\"})])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"at-replay_message\">\r\n <div class=\"at-message-qoute\">\r\n <div class=\"at-message-qoute_content\">\r\n <div v-if=\"Number(quoteMsgProps.messageType) == 0\" class=\"at-sendfile\">\r\n <span>{{quoteMsgProps.message}}</span>\r\n </div>\r\n </div>\r\n <span class=\"at-remove-quotes\" @click.prevent=\"removeQuoteMessage()\"> <i class=\"guppy-x\" /> </span>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name : \"GuppyChatQuotedMessages\",\r\n props:['quoteMsgProps'],\r\n methods:{\r\n removeQuoteMessage(){\r\n this.$emit('removeQuoteMessage');\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style>\r\n.at-replay_message {\r\n background-color: #F7F7F7;\r\n padding: 10px 20px;\r\n margin: 0 0 10px 0;\r\n border-radius: 10px;\r\n}\r\n.at-replay_message .at-message-qoute {\r\n margin: 0;\r\n}\r\n.at-message-qoute_content{\r\n padding: 14px;\r\n background: #fff;\r\n border-radius: 3px;\r\n}\r\n.at-message-qoute_content .at-sendfile{\r\n background: transparent;\r\n padding: 0;\r\n}\r\n.at-message-qoute .at-sendfile span {\r\n font-size: 12px;\r\n line-height: 16px;\r\n display: block;\r\n line-height: 20px;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 1;\r\n -webkit-box-orient: vertical;\r\n}\r\n</style>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatQuotedMessages.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatQuotedMessages.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatQuotedMessages.vue?vue&type=template&id=3945c645&\"\nimport script from \"./GuppyChatQuotedMessages.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatQuotedMessages.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuppyChatQuotedMessages.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-replay_msg gp-replay_msg\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.messageInput),expression:\"messageInput\"}],ref:\"messageInputRef\",class:{'gp-form-control gp-replay_msg' : _vm.chatId == '00_4', 'at-form-control at-form-replay' : _vm.chatId != '00_4'},attrs:{\"id\":(\"input-text-message-\" + (_vm.chatInfo.chatId)),\"type\":\"text\",\"name\":\"replay\",\"placeholder\":_vm.TRANS.type_message,\"autocomplete\":\"off\"},domProps:{\"value\":(_vm.messageInput)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.messageInput=$event.target.value}}}),(!_vm.isMobileDevice)?[(_vm.isMessangerChat)?_c('a',{staticClass:\"at-sendmsg\",attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){$event.preventDefault();return _vm.sendMessage()}}},[_c('i',{staticClass:\"guppy-send\"})]):_vm._e()]:_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"at-replay_msg gp-replay_msg\">\r\n <textarea \r\n :id=\"`input-text-message-${chatInfo.chatId}`\" \r\n ref=\"messageInputRef\" \r\n type=\"text\" \r\n v-model=\"messageInput\" \r\n name=\"replay\" \r\n :placeholder=\"TRANS.type_message\"\r\n autocomplete=\"off\"\r\n :class=\"{'gp-form-control gp-replay_msg' : chatId == '00_4', 'at-form-control at-form-replay' : chatId != '00_4'}\"\r\n ></textarea>\r\n <template v-if=\"!isMobileDevice\">\r\n <a v-if=\"isMessangerChat\" @click.prevent=\"sendMessage()\" href=\"javascript:void(0)\" class=\"at-sendmsg\" ><i class=\"guppy-send\"></i></a>\r\n </template>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { mapState } from \"vuex\";\r\nimport { GUPPYCHAT_SETTINGS } from \"../../../resources/constants\";\r\nimport GuppyChatManager from \"../../../resources/controller\";\r\nimport RestApiManager from \"../../../resources/RestApiController\";\r\nimport jQuery from \"jquery\";\r\n\r\nexport default {\r\n name:'GuppyChatSendTextMessage',\r\n props : {\r\n 'chatId':{\r\n type: String,\r\n required : false,\r\n default : ()=>{\r\n return null\r\n }\r\n },\r\n },\r\n data(){\r\n return {\r\n isMobileDevice : GUPPYCHAT_SETTINGS.isMobileDevice,\r\n }\r\n },\r\n computed:{\r\n messageInput : {\r\n get () {\r\n return this.$store.getters.getMessageInput(this.chatId)\r\n },\r\n set (value) {\r\n this.$store.commit('updateMessageInput', { 'text' : value, 'chatId' : this.chatId })\r\n }\r\n },\r\n quoteMessage(){\r\n return this.$store.getters.getQuoteMessage(this.chatId)\r\n },\r\n quoteMessageId(){\r\n return this.$store.getters.getQuoteMessageId(this.chatId)\r\n },\r\n CurrentDate: function(){\r\n var myDate = new Date();\r\n let monthsList = ['January ', 'February ', 'March ', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' ];\r\n let date = myDate.getDate();\r\n let month = monthsList[myDate.getMonth()];\r\n let year = myDate.getFullYear();\r\n return `${month} ${date}, ${year}`;\r\n },\r\n chatInfo(){\r\n return this.$store.getters.getChatInfo(this.chatId)\r\n },\r\n ...mapState({\r\n userProfile : state => state.userProfile,\r\n isMessangerChat : state => state.isMessangerChat,\r\n isBlockedByMe : state => {\r\n return state.chatInfo.isBlocked\r\n }\r\n })\r\n },\r\n watch:{\r\n messageInput(value) {\r\n let payload = {\r\n userName : this.userProfile.userName,\r\n chatType : this.chatInfo.chatType,\r\n chatId : this.chatInfo.chatId,\r\n senderId : this.userId,\r\n text : value,\r\n }\r\n this.isTyping(payload);\r\n }\r\n },\r\n updated() {\r\n this.autoHeightInput();\r\n },\r\n methods:{\r\n autoHeightInput(){\r\n let inputtextId = `#input-text-message-${this.chatInfo.chatId}`;\r\n var elmnt = document.getElementById(`input-text-message-${this.chatInfo.chatId}`);\r\n if(elmnt){\r\n let paddingTop = jQuery(inputtextId).css('padding-top').split('px')[0];\r\n let paddingBottom = jQuery(inputtextId).css('padding-bottom').split('px')[0];\r\n let padding = Number(paddingTop) + Number(paddingBottom);\r\n jQuery(inputtextId).height(0).height( elmnt.scrollHeight - padding);\r\n if (jQuery(inputtextId).height() >= 60) {\r\n jQuery('textarea.at-form-replay').css(\"overflow\", \"auto\");\r\n }else {\r\n jQuery('textarea.at-form-replay').css(\"overflow\", \"hidden\");\r\n }\r\n }\r\n },\r\n isTyping(payload){\r\n this.$store.dispatch('triggerclientEvents', {'event':'isTyping', payload});\r\n },\r\n setMessageInput(element) {\r\n this.messageInput = element.value;\r\n },\r\n sendMessage(){\r\n if( this.chatId == '00_4' ){\r\n this.openWhatsappChat()\r\n } else {\r\n this.sendTextMessage()\r\n }\r\n },\r\n openWhatsappChat(){\r\n window.open(`https://wa.me/${this.chatInfo.userContact}?text=${this.messageInput}`, '_blank');\r\n },\r\n async sendTextMessage(){\r\n let data = {\r\n receiverId : [1,3].includes(Number(this.chatInfo.chatType)) ? this.chatInfo.chatId.split('_')[0] : '',\r\n userId : this.userId,\r\n chatId : this.chatInfo.chatId,\r\n chatType : Number(this.chatInfo.chatType),\r\n message : this.messageInput,\r\n isSender : true,\r\n replyTo : '',\r\n latitude : '',\r\n longitude : '',\r\n messageType : 0,\r\n messageStatus : 0,\r\n replyId : this.quoteMessageId,\r\n timeStamp : Math.floor(new Date().getTime()/1000),\r\n userType : this.userType,\r\n messageSentTime : this.CurrentDate,\r\n metaData : { randNum : Math.floor(Math.random() * 999999999) },\r\n }\r\n\r\n if( this.messageInput ) {\r\n if( this.quoteMessage ) {\r\n data[\"replyMessage\"] = this.quoteMessage;\r\n }\r\n\r\n this.$store.commit(\"appendMessage\", data);\r\n this.$store.commit('removeQuote', {chatId : this.chatInfo.chatId});\r\n this.scrollListToBottom();\r\n\r\n this.$store.commit('updateMessageInput', { 'text' : '', 'chatId' : this.chatInfo.chatId });\r\n let messageInputId = document.getElementById(`input-text-message-${this.chatInfo.chatId}`);\r\n if(messageInputId){\r\n messageInputId.focus();\r\n }\r\n let response = await RestApiManager.sendMessage(data, this.chatInfo.chatId);\r\n if(response.type == 'error'){\r\n this.alertBox('error', this.TRANS.error_title, response.message_desc)\r\n }\r\n }\r\n },\r\n scrollListToBottom(scrollHeight = 0) {\r\n GuppyChatManager.messagesScrollList(scrollHeight, this.chatInfo.chatId);\r\n },\r\n },\r\n mounted(){\r\n const ele = document.getElementById(`input-text-message-${this.chatInfo.chatId}`);\r\n let _this = this;\r\n ele.addEventListener('keydown', function (e) {\r\n let keyCode = e.which || e.keyCode;\r\n if (keyCode === 13 && !e.shiftKey) {\r\n e.preventDefault();\r\n _this.sendMessage();\r\n }\r\n });\r\n\r\n this.$root.$on('sendMessage', (data)=>{\r\n if(data.chatId == this.chatInfo.chatId){\r\n this.sendTextMessage()\r\n }\r\n });\r\n this.$root.$on('openWhatsapp', (data)=>{\r\n if(data.chatId == this.chatInfo.chatId){\r\n this.openWhatsappChat()\r\n }\r\n })\r\n }\r\n}\r\n</script>\r\n\r\n<style>\r\n\r\n</style>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatSendTextMessage.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatSendTextMessage.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatSendTextMessage.vue?vue&type=template&id=86f6c266&\"\nimport script from \"./GuppyChatSendTextMessage.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatSendTextMessage.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\r\n <div class=\"at-replay\" :class=\"{'at-replay_disable' : isDisabledFooter }\">\r\n <guppy-chat-quoted-messages @removeQuoteMessage=\"removeQuote();\" v-if=\"quoteMessage\" :quoteMsgProps=\"quoteMessage\"/>\r\n <span v-html=\"typingUsers\" class=\"at-typing\"></span>\r\n <div class=\"at-replay_content\">\r\n <send-text-message />\r\n <template v-if=\"isMobileDevice\">\r\n <a v-if=\"inputTypingText\" @click.prevent=\"sendTextMessage()\" href=\"javascript:void(0)\" class=\"at-sendmsg-responsive\" ><i class=\"guppy-send\"></i></a>\r\n </template>\r\n </div> \r\n </div>\r\n</template>\r\n\r\n<script>\r\n import { mapState } from \"vuex\";\r\n import GuppyChatQuotedMessages from \"../GuppyChatQuotedMessages/GuppyChatQuotedMessages.vue\"\r\n import { GUPPYCHAT_SETTINGS, GUPPYCHAT_TRANSLATION } from \"../../../resources/constants\";\r\n import GuppyChatManager from \"../../../resources/controller\";\r\n import GuppyChatSendTextMessage from \"./GuppyChatSendTextMessage.vue\";\r\n export default {\r\n name: \"GuppyChatMessagesFooter\",\r\n components : {\r\n GuppyChatQuotedMessages,\r\n SendTextMessage : GuppyChatSendTextMessage,\r\n },\r\n props:[ 'isDisabledFooter' ],\r\n data(){\r\n return {\r\n uploadType : '',\r\n sendingMessages : [],\r\n typingIcon : GUPPYCHAT_SETTINGS.typingIcon,\r\n isMobileDevice : GUPPYCHAT_SETTINGS.isMobileDevice,\r\n }\r\n },\r\n computed:{ \r\n inputTypingText : function(){\r\n return this.$store.getters.getMessageInput()\r\n },\r\n quoteMessage : function(){\r\n return this.$store.getters.getQuoteMessage()\r\n },\r\n quoteMessageId(){\r\n return this.$store.getters.getQuoteMessageId()\r\n },\r\n typingUsers(){\r\n let data = this.$store.getters.typingUsersIndicatorText();\r\n let isTypingText = GUPPYCHAT_TRANSLATION.is_typing\r\n let areTypingText = GUPPYCHAT_TRANSLATION.are_typing\r\n let moreTypingText = GUPPYCHAT_TRANSLATION.more_user_typing\r\n let indicator = data.indicator , typingUsers = data.typingUsers, tUsers = data.tUsers, typingText = '';\r\n if( tUsers ){\r\n if( indicator == 'isTypingText' && typingUsers ){\r\n typingText = '<em class=\"at-typing-name\">'+typingUsers+'</em>'+isTypingText;\r\n } else if( indicator == 'areTypingText' && typingUsers ){\r\n typingText = '<em class=\"at-typing-name\">' + typingUsers+'</em>'+areTypingText;\r\n } else {\r\n let moreText = '<em class=\"at-typing-name\">'+typingUsers+'</em>'+moreTypingText;\r\n typingText = moreText.replace('((user_count))', Number(tUsers)-3 )\r\n }\r\n typingText +='<em><img src=\"'+GUPPYCHAT_SETTINGS.typingIcon+'\" alt=\"users typing\"></em>';\r\n }\r\n return typingText\r\n },\r\n ...mapState({\r\n chatInfo : state => state.chatInfo,\r\n }) },\r\n watch:{\r\n chatInfo(newVal,oldVal){\r\n if(newVal.chatId != oldVal.chatId || newVal.chatType != oldVal.chatType){\r\n this.$store.commit('updateMessageInput', {text : '', chatId : newVal.chatId});\r\n this.removeQuote();\r\n }\r\n },\r\n },\r\n methods:{\r\n sendTextMessage(){\r\n document.getElementById(`input-text-message-${this.chatInfo.chatId}`).focus();\r\n this.$root.$emit('sendMessage', {chatId : this.chatInfo.chatId});\r\n },\r\n removeQuote(){\r\n this.$store.commit('removeQuote', { chatId : this.chatInfo.chatId } );\r\n },\r\n scrollListToBottom(scrollHeight = 0) {\r\n GuppyChatManager.messagesScrollList(scrollHeight, this.chatInfo.chatId);\r\n },\r\n }\r\n \r\n };\r\n</script>\r\n\r\n<style>\r\n.at-replay {\r\n background-color: #fff;\r\n position: relative;\r\n margin-top: auto;\r\n padding: 20px;\r\n}\r\n.at-replay_content {\r\n display: flex;\r\n align-items: center;\r\n}\r\n.at-replay_msg {\r\n flex: auto;\r\n display: flex;\r\n position: relative;\r\n align-items: center;\r\n}\r\n\r\n.at-replay_msg .at-sendmsg{\r\n margin-left: 10px;\r\n border-radius: 3px;\r\n}\r\n.at-chat .at-replay_msg textarea.at-form-control{\r\n resize: none;\r\n height: 60px;\r\n max-height:100px;\r\n padding-top: 15px;\r\n padding-bottom: 15px;\r\n min-height: 60px !important;\r\n}\r\n.at-chat .at-replay_msg textarea.at-form-control::placeholder{\r\n overflow:hidden;\r\n white-space:nowrap;\r\n text-overflow:ellipsis;\r\n}\r\n.at-replay_msg > input::placeholder{\r\n color: var(--terguppycolor);\r\n}\r\n.at-replay_msg > a:not(.at-sendmsg) {\r\n position: absolute;\r\n right: 91px;\r\n}\r\n.at-replay_msg > a:not(.at-sendmsg) img {\r\n display: block;\r\n}\r\n.at-replay_msg > a:not(.at-sendmsg) + input {\r\n padding-right: 60px;\r\n}\r\n.at-sendmsg-responsive,\r\n.at-replay_audio, .at-replay_upload {\r\n flex: none;\r\n position: relative;\r\n}\r\n.at-sendmsg-responsive{\r\n margin-left: 10px;\r\n}\r\n.at-uploadoption_open{z-index: 9999;}\r\n.at-sendmsg-responsive:hover,\r\n.at-replay_audio:hover > a, .at-replay_upload:hover > a {\r\n background: #F7F7F7;\r\n}\r\n.at-sendmsg-responsive,\r\n.at-replay_audio > a, .at-replay_upload > a {\r\n font-size: 26px;\r\n color: var(--terguppycolor) !important;\r\n border-radius: 3px;\r\n line-height: 58px;\r\n width: 60px;\r\n display: block;\r\n text-align: center;\r\n border: 1px solid #ddd;\r\n transition: all 0.3s ease-in-out;\r\n}\r\n.at-sendmsg-responsive i{\r\n display: block;\r\n line-height: inherit;\r\n}\r\n.at-sendmsg-responsive:focus,\r\n.at-replay_audio > a:focus,\r\n.at-replay_upload > a:focus{\r\n text-decoration: none !important;\r\n background: transparent !important;\r\n outline: none !important;\r\n}\r\n.at-replay_audio.at-startrecording a, .at-replay_audio:focus a {\r\n color: #fff !important;\r\n background-color: var(--primguppycolor) !important;\r\n border-color: var(--primguppycolor);\r\n}\r\n.at-recorddisabled a{\r\n pointer-events: none;\r\n color: var(--terguppycolor) !important;\r\n background: #fff !important;\r\n border-color: #ddd !important;\r\n}\r\n.at-recorddisabled a i:before{\r\n content: \"\\e9a0\";\r\n}\r\n.at-autoreplay {\r\n box-shadow: inset 0px -1px 0px #EEEEEE;\r\n display: flex;\r\n position: absolute;\r\n bottom: 100%;\r\n left: 0;\r\n background: #F7F7F7;\r\n padding-left: 20px;\r\n z-index: 8;\r\n padding-bottom: 20px;\r\n width: 100%;\r\n}\r\n.at-autoreplay span {\r\n cursor: pointer;\r\n margin: 10px;\r\n background: #fff;\r\n display: inline-block;\r\n padding: 6px 20px;\r\n border-radius: 60px;\r\n font-size: 15px;\r\n border: 1px solid #ddd;\r\n line-height: 26px;\r\n -webkit-box-shadow: 0px 2px 4px rgba(40, 41, 61, 0.04), 0px 8px 16px rgba(96, 97, 112, 0.16);\r\n box-shadow: 0px 2px 4px rgba(40, 41, 61, 0.04), 0px 8px 16px rgba(96, 97, 112, 0.16);\r\n}\r\n.at-sendmsg {\r\n flex: none;\r\n width: 60px;\r\n line-height: 60px;\r\n display: inline-block;\r\n background-color: var(--primguppycolor);\r\n text-align: center;\r\n font-size: 22px;\r\n color: #fff;\r\n border-radius: 0 3px 3px 0;\r\n}\r\n.at-sendmsg:hover, .at-sendmsg:focus {\r\n color: #fff;\r\n text-decoration: none !important;\r\n outline: none !important;\r\n background: var(--primguppycolor) !important;\r\n}\r\n.at-uploadoption {\r\n background: #fff;\r\n border-radius: 3px;\r\n overflow: hidden;\r\n display: none;\r\n position: absolute;\r\n bottom: 100%;\r\n width: 240px !important;\r\n z-index: 99;\r\n font: 500 16px/32px var(--primchatfont);\r\n flex-direction: column;\r\n -webkit-box-shadow: 0px 2px 4px rgb(40 41 61 / 4%), 0px 8px 16px rgb(96 97 112 / 16%);\r\n box-shadow: 0px 2px 4px rgb(40 41 61 / 4%), 0px 8px 16px rgb(96 97 112 / 16%);\r\n padding: 0;\r\n margin: 0;\r\n}\r\n.at-uploadoption_open .at-uploadoption{\r\n display: -ms-flexbox;\r\n display: flex;\r\n -ms-flex-wrap: wrap;\r\n flex-wrap: wrap;\r\n}\r\n.at-uploadoption li {\r\n line-height: inherit;\r\n list-style-type: none;\r\n margin: 0;\r\n width: 100% !important;\r\n padding: 0 !important;\r\n}\r\n.at-uploadoption li:not(:last-child) {\r\n border-bottom: 1px solid #ddd;\r\n}\r\n.at-uploadoption input[type=file] {\r\n display: none;\r\n}\r\n.at-uploadoption a,\r\n.at-uploadoption label {\r\n cursor: pointer;\r\n margin: 0;\r\n align-items: center;\r\n font-weight: 500;\r\n padding: 10px 20px;\r\n display: flex;\r\n font-size: 16px;\r\n color: var(--secguppycolor) !important;\r\n transition: all 0.3s ease-in-out;\r\n}\r\n.at-uploadoption a:hover,\r\n.at-uploadoption label:hover {\r\n background-color: #F7F7F7;\r\n}\r\n.at-uploadoption a:focus,\r\n.at-uploadoption label:focus {\r\n outline:none !important;\r\n text-decoration:none !important;\r\n text-decoration-skip-ink: none;\r\n background: transparent !important;\r\n}\r\n.at-uploadoption a i,\r\n.at-uploadoption label i {\r\n color: var(--terguppycolor);\r\n font-size: 18px;\r\n width: 20px;\r\n display: inline-block;\r\n margin-right: 10px;\r\n text-align: center;\r\n}\r\n.at-replay_disable {\r\n pointer-events: none;\r\n}\r\n.at-replay_disable .at-sendmsg {\r\n background-color: #ddd;\r\n}\r\n.at-replay_disable .at-replay_audio.at-startrecording a,\r\n.at-replay_disable .at-replay_audio:focus a {\r\n color: var(--terguppycolor) !important;\r\n background-color: #fff;\r\n border-color: #ddd;\r\n}\r\n.at-replay_disable .at-replay_msg {\r\n filter: grayscale(1);\r\n}\r\n.at-replay_audio > a{position: relative;z-index: 1;}\r\n.at-replay_audio a:after {\r\n top: 50%;\r\n left: 50%;\r\n content: '';\r\n width: 40px;\r\n height: 40px;\r\n position: absolute;\r\n border-radius: 50px;\r\n background: rgba(255, 255, 255, 0.7);\r\n -webkit-animation: sonarWavea 1s linear infinite;\r\n animation: sonarWavea 1s linear infinite;\r\n z-index: -1;\r\n margin: -20px 0 0 -20px;\r\n opacity: 0;\r\n visibility: hidden;\r\n}\r\n.at-startrecording a i:before{content: \"\\e9b2\";}\r\n.at-startrecording a:after{\r\n opacity: 1;\r\n visibility: visible;\r\n}\r\n.at-typing{\r\n margin:0 0 10px;\r\n display: flex;\r\n align-items: center;\r\n font-size: 12px;\r\n line-height: 16px;\r\n}\r\n.at-typing:empty{display: none;}\r\n.at-typing em:not(.at-typing-name){\r\n max-width: 20px;\r\n margin-left: 8px;\r\n display: inline-block;\r\n}\r\n.at-typing-name{\r\n margin-right: 5px;\r\n font-style: normal;\r\n color: var(--primguppycolor);\r\n}\r\n@keyframes sonarWavea {\r\n from {\r\n opacity: 1;\r\n }\r\n to {\r\n transform: scale(1.5);\r\n opacity: 0;\r\n }\r\n}\r\n</style>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatMessageFooter.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatMessageFooter.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatMessageFooter.vue?vue&type=template&id=6c8a8582&\"\nimport script from \"./GuppyChatMessageFooter.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatMessageFooter.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuppyChatMessageFooter.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-view-messages\"},[(_vm.loadChat && !_vm.messagesList.length)?_c('div',{staticClass:\"at-empty-conversation\"},[_vm._m(0)]):_vm._e(),(_vm.messagesList.length)?[_c('div',{ref:\"messagesEnd\",staticClass:\"at-messagewrap\",attrs:{\"id\":'message-wrap_' + _vm.chatInfo.chatId},on:{\"scroll\":function($event){return _vm.scrollHandler($event)}}},[(_vm.messagesLoading)?[_vm._m(1)]:_vm._e(),_c('guppy-chat-messages-list',{attrs:{\"chatId\":_vm.chatId}})],2)]:_vm._e()],2)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-chatloader\"},[_c('span'),_c('span'),_c('span'),_c('span'),_c('span'),_c('span'),_c('span'),_c('span')])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-messages at-inner-loaader\"},[_c('span',[_c('i',{staticClass:\"at-spinericon\"})])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.messagesList),function(message){return _c('div',{key:message.messageId + '_' + Math.floor(Math.random() * 99999999),staticClass:\"at-messages\",class:{ 'at-message_sender': message.isSender }},[(message.messageSentDate)?_c('div',{key:message.messageId,staticClass:\"at-chatseparation\"},[_c('span',[_vm._v(\" \"+_vm._s(message.messageSentDate)+\" \")])]):_vm._e(),(Number(message.messageStatus) == 2)?_c('guppy-delete-message',{attrs:{\"messageProps\":message}}):(Number(message.messageType) == 0)?_c('guppy-chat-text-message',{attrs:{\"messageProps\":message},on:{\"deleteMsgEvt\":function($event){return _vm.deleteChatMessage($event)}}}):(Number(message.messageType) == 4)?_c('guppy-chat-notify-message',{attrs:{\"chatInfo\":_vm.chatInfo,\"messageProps\":message}}):_vm._e(),_c('span',{staticClass:\"at-message_time\",class:{ 'at-seenmsg': message.isSender && Number(message.messageStatus) == 1 }},[_vm._v(\" \"+_vm._s(_vm.getMessageTime(message.timeStamp))+\" \")])],1)}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-message at-messagetext\",class:_vm.responsiveClass,attrs:{\"id\":'message_'+_vm.messageProps.messageId}},[(_vm.messageProps.replyMessage && !_vm.messageProps.messageId)?_c('span',{staticClass:\"at-msgload\"},[_c('i',{staticClass:\"at-spinericon\"})]):_vm._e(),(_vm.messageProps.replyMessage)?_c('guppy-chat-quote-message-list',{attrs:{\"messageProps\":_vm.messageProps.replyMessage},scopedSlots:_vm._u([(!_vm.disableReply)?{key:\"message_actions\",fn:function(){return [(_vm.messageProps.messageId)?_c('guppy-chat-message-actions',{attrs:{\"messageProps\":_vm.messageProps},on:{\"deleteMessageEvent\":function($event){return _vm.deleteMessage($event)}}}):_vm._e()]},proxy:true}:null],null,true)},[_c('span',{directives:[{name:\"linkified\",rawName:\"v-linkified\"}]},[_vm._v(_vm._s(_vm.messageProps.message))])]):[_c('span',{directives:[{name:\"linkified\",rawName:\"v-linkified\"}]},[_vm._v(_vm._s(_vm.messageProps.message))]),(!_vm.disableReply)?[(_vm.messageProps.messageId)?_c('guppy-chat-message-actions',{attrs:{\"messageProps\":_vm.messageProps},on:{\"deleteMessageEvent\":function($event){return _vm.deleteMessage($event)}}}):_c('span',{staticClass:\"at-msgload\"},[_c('i',{staticClass:\"at-spinericon\"})])]:_vm._e()]],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-messageoption\"},[_vm._m(0),_c('ul',{staticClass:\"at-messageoption_list\"},[_c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){return _vm.quoteMessage()}}},[_c('i',{staticClass:\"guppy-message-circle\"}),_vm._v(\" \"+_vm._s(_vm.TRANS.reply_message))])]),(_vm.messageProps.chatType == 1 && _vm.messageProps.isSender && Number(_vm.messageProps.messageStatus) == 0 && _vm.enableDeleteMessage)?_c('li',{on:{\"click\":function($event){$event.preventDefault();return _vm.deleteMessage()}}},[_c('a',{class:{'at-disable-btn': _vm.isSending },attrs:{\"href\":\"javascript:void(0);\"}},[(!_vm.isSending)?_c('i',{staticClass:\"guppy-trash\"}):_vm._e(),_vm._v(_vm._s(_vm.TRANS.delete)+\" \")])]):_vm._e()])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{staticClass:\"at-messageoption_btn\",attrs:{\"href\":\"javascript:void(0);\"}},[_c('i',{staticClass:\"guppy-chevron-down\"})])}]\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"at-messageoption\">\r\n <a href=\"javascript:void(0);\" class=\"at-messageoption_btn\" ><i class=\"guppy-chevron-down\"></i></a>\r\n <ul class=\"at-messageoption_list\">\r\n <li>\r\n <a href=\"javascript:void(0);\" @click=\"quoteMessage()\"><i class=\"guppy-message-circle\"></i>\r\n {{TRANS.reply_message}}</a>\r\n </li>\r\n <li v-if=\"messageProps.chatType == 1 && messageProps.isSender && Number(messageProps.messageStatus) == 0 && enableDeleteMessage\" @click.prevent=\"deleteMessage()\">\r\n <a href=\"javascript:void(0);\" :class=\"{'at-disable-btn': isSending }\">\r\n <i v-if=\"!isSending\" class=\"guppy-trash\"></i>{{TRANS.delete}}\r\n </a>\r\n </li>\r\n </ul>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport jQuery from 'jquery';\r\nimport {GUPPYCHAT_SETTINGS} from \"../../../resources/constants\";\r\nexport default {\r\n name : \"GuppyChatTextMessageAction\",\r\n props : {\r\n 'messageProps':{\r\n type: Object,\r\n required : true,\r\n default : ()=>{\r\n return {\r\n isSender : true,\r\n messageStatus : 0\r\n }\r\n }\r\n },\r\n },\r\n data(){\r\n return {\r\n isSending : false,\r\n isDownloading : false,\r\n }\r\n },\r\n computed:{\r\n disableDeleteMessage:function(){\r\n let data = this.messageProps;\r\n if(data.chatType == 2 ){\r\n if( 'messageSeenIds' in data ) {\r\n if(data.messageSeenIds){\r\n return data.messageSeenIds.length ? false : true\r\n }\r\n }\r\n }\r\n return true\r\n },\r\n enableDeleteMessage(){\r\n return GUPPYCHAT_SETTINGS.deleteMessageOption\r\n }\r\n },\r\n methods:{\r\n deleteMessage(){\r\n if(!this.isSending) {\r\n this.isSending = true;\r\n let data ={\r\n userId : this.userId,\r\n messageId : this.messageProps.messageId,\r\n }\r\n this.axios.post('delete-guppy-message', data).then(response =>{\r\n this.isSending = false;\r\n if(response.data.type == 'success'){\r\n jQuery('.at-messageoption_open').removeClass(\"at-messageoption_open\");\r\n this.$emit('deleteMessageEvent', response.data.messageId);\r\n let userId = this.userId;\r\n let receiverId = response.data.receiverId;\r\n let payload = {\r\n chatId : response.data.chatId,\r\n chatType : response.data.chatType,\r\n messageId : response.data.messageId,\r\n receiverId, \r\n userId,\r\n }\r\n this.$store.dispatch('triggerSocketEvents', {'event':'deleteMessage', payload});\r\n } else if( response.data.type == \"error\" ) {\r\n this.alertBox('error', this.TRANS.error_title, response.data.message_desc);\r\n }\r\n }).catch(errors => {\r\n this.isSending = false;\r\n this.errors = errors;\r\n });\r\n }\r\n },\r\n quoteMessage(){\r\n jQuery('.at-messageoption_open').removeClass(\"at-messageoption_open\");\r\n this.$store.commit('updateQuoteMessageId', {chatId : this.messageProps.chatId, messageId : this.messageProps.messageId});\r\n }\r\n },\r\n};\r\n</script>\r\n\r\n<style>\r\n.at-messageoption {\r\n top: 10px;\r\n right: 18px;\r\n position: absolute;\r\n transform: scale(0);\r\n transition: all 0.3s ease-in-out;\r\n}\r\n.at-messageoption.at-messageoption_open,\r\n.at-message:hover .at-messageoption{\r\n transform: scale(1);\r\n}\r\n.at-messageoption_btn {\r\n display: block;\r\n font-size: 18px;\r\n color: var(--terguppycolor);\r\n transition: all 0.3s ease-in-out;\r\n}\r\n.at-messageoption_btn:focus,\r\n.at-messageoption_btn:hover {\r\n color: var(--terguppycolor);\r\n text-decoration: none !important;\r\n background: transparent !important;\r\n outline: none !important;\r\n}\r\n.at-messageoption_open .at-messageoption_list {\r\n display: block;\r\n}\r\n.at-messageoption_list {\r\n padding: 0;\r\n background: #fff;\r\n border-radius: 3px;\r\n overflow: hidden;\r\n display: none;\r\n position: absolute;\r\n top: 100%;\r\n width: 240px !important;\r\n z-index: 99;\r\n left: 0;\r\n font: 500 16px/32px var(--primchatfont);\r\n flex-direction: column;\r\n -webkit-box-shadow: 0px 2px 4px rgb(40 41 61 / 4%), 0px 8px 16px rgb(96 97 112 / 16%);\r\n box-shadow: 0px 2px 4px rgb(40 41 61 / 4%), 0px 8px 16px rgb(96 97 112 / 16%);\r\n margin: 0;\r\n}\r\n.at-messageoption_list li {\r\n line-height: inherit;\r\n list-style-type: none;\r\n margin: 0;\r\n padding: 0 !important;\r\n width: 100% !important;\r\n}\r\n.at-messageoption_list li:not(:last-child){\r\n border-bottom: 1px solid #ddd;\r\n}\r\n.at-messageoption_list a {\r\n cursor: pointer;\r\n margin: 0;\r\n align-items: center;\r\n font-weight: 500;\r\n padding: 10px 20px;\r\n display: flex;\r\n color: var(--secguppycolor);\r\n transition: all 0.3s ease-in-out;\r\n outline: none !important;\r\n background: #fff !important;\r\n text-decoration: none !important;\r\n}\r\n.at-messageoption_list a:hover {\r\n background-color: #F7F7F7 !important;\r\n}\r\n.at-messageoption_list a i {\r\n color: var(--terguppycolor);\r\n font-size: 18px;\r\n width: 20px;\r\n display: inline-block;\r\n margin-right: 10px;\r\n text-align: center;\r\n}\r\n</style>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatMessageActions.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatMessageActions.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatMessageActions.vue?vue&type=template&id=e31ef1a6&\"\nimport script from \"./GuppyChatMessageActions.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatMessageActions.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuppyChatMessageActions.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"at-message-qoute\"},[_c('div',{staticClass:\"at-message-qoute_content\"},[_c('span',[_vm._v(_vm._s(_vm.messageProps.message))])]),_vm._t(\"message_actions\")],2),_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div>\r\n <div class=\"at-message-qoute\">\r\n <div class=\"at-message-qoute_content\">\r\n <span>{{messageProps.message}}</span> \r\n </div>\r\n <slot name=\"message_actions\"></slot>\r\n </div>\r\n <slot></slot>\r\n </div> \r\n</template>\r\n\r\n<script>\r\n export default {\r\n name : \"GuppyChatQuoteMessageList\",\r\n props:['messageProps', 'chatId'],\r\n }\r\n</script>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatQuoteMessageList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatQuoteMessageList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatQuoteMessageList.vue?vue&type=template&id=48e6e972&\"\nimport script from \"./GuppyChatQuoteMessageList.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatQuoteMessageList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\r\n <div class=\"at-message at-messagetext\" :class=\"responsiveClass\" :id=\"'message_'+messageProps.messageId\">\r\n <span class=\"at-msgload\" v-if=\"messageProps.replyMessage && !messageProps.messageId\" ><i class=\"at-spinericon\"></i></span>\r\n <guppy-chat-quote-message-list :messageProps=\"messageProps.replyMessage\" v-if=\"messageProps.replyMessage\">\r\n <span v-linkified>{{messageProps.message}}</span>\r\n <template v-slot:message_actions v-if=\"!disableReply\">\r\n <guppy-chat-message-actions v-if=\"messageProps.messageId\"\r\n @deleteMessageEvent=\"deleteMessage($event)\"\r\n :messageProps=\"messageProps\" \r\n />\r\n </template>\r\n </guppy-chat-quote-message-list>\r\n <template v-else>\r\n <span v-linkified>{{messageProps.message}}</span>\r\n <template v-if=\"!disableReply\">\r\n <guppy-chat-message-actions\r\n @deleteMessageEvent=\"deleteMessage($event)\"\r\n v-if=\"messageProps.messageId\"\r\n :messageProps=\"messageProps\" \r\n />\r\n <span class=\"at-msgload\" v-else><i class=\"at-spinericon\"></i></span>\r\n </template>\r\n </template>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport GuppyChatMessageActions from \"../GuppyChatMessageActions/GuppyChatMessageActions.vue\";\r\nimport GuppyChatQuoteMessageList from \"../GuppyChatQuotedMessages/GuppyChatQuoteMessageList.vue\"\r\nimport { mapState } from \"vuex\";\r\nexport default {\r\n name : \"GuppyChatTextMessage\",\r\n components : { \r\n GuppyChatMessageActions,\r\n GuppyChatQuoteMessageList\r\n },\r\n props : [ 'messageProps', 'disableReply' ],\r\n data(){\r\n return {\r\n responsiveClass :''\r\n }\r\n },\r\n computed:mapState({\r\n isMessangerChat : state => state.isMessangerChat\r\n }),\r\n methods:{\r\n deleteMessage( data){\r\n this.$emit('deleteMsgEvt', data )\r\n },\r\n },\r\n mounted(){\r\n let contentId = document.getElementById('message_'+this.messageProps.messageId);\r\n if(contentId){\r\n let contentWidth = contentId.clientWidth\r\n if(this.isMessangerChat){\r\n if(contentWidth >= 220 ){\r\n this.responsiveClass = 'at-chat-msg-220'\r\n }\r\n } else {\r\n if(contentWidth >= 270 ){\r\n this.responsiveClass = 'at-chat-msg-270'\r\n } else if(contentWidth >= 190 ){\r\n this.responsiveClass = 'at-chat-msg-190'\r\n } else if(contentWidth >= 110 ){\r\n this.responsiveClass = 'at-chat-msg-110'\r\n }\r\n }\r\n }\r\n }\r\n\r\n}\r\n</script>\r\n\r\n<style>\r\n.at-messages:not(.at-message_sender) .at-msgload{display: none;}\r\n.at-msgload{\r\n position: absolute;\r\n left: -30px;\r\n top: 50%;\r\n margin-top: -10px;\r\n}\r\n.at-msgload i{\r\n width: 20px;\r\n height: 20px;\r\n border: 3px solid #ddd;\r\n border-right-color: #F7F7F7;\r\n border-radius: 50px 50px 50px 50px;\r\n -webkit-animation: spinericon 1s linear infinite;\r\n animation: spinericon 1s linear infinite;\r\n display: block;\r\n line-height: 20px;\r\n}\r\n.at-messages {\r\n width: 100%;\r\n float: left;\r\n padding: 3px 20px;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: flex-start;\r\n}\r\n.at-messages:last-child .at-messageoption_list {\r\n top: auto;\r\n bottom: 100%;\r\n}\r\n.at-message {\r\n max-width: 75%;\r\n word-break: break-word;\r\n position: relative;\r\n color: var(--secguppycolor);\r\n border-radius: 0px 20px 20px 20px;\r\n background-color: #fff;\r\n padding: 19px 20px;\r\n display: inline-block;\r\n margin: 0;\r\n font-size: 15px;\r\n line-height: 28px;\r\n}\r\n.at-message:hover .at-messageoption_btn{transform: scale(1);}\r\n.at-messagetext{padding: 19px 44px 19px 20px;}\r\n.at-messagetext > div:not(.at-messageoption) {\r\n margin-right: -24px;\r\n}\r\n.at-message > a{\r\n text-decoration: none;\r\n border: none;\r\n outline: none;\r\n color: #3C57E5;\r\n}\r\n.at-message_sender {\r\n align-items: flex-end;\r\n}\r\n.at-message_sender .at-message-qoute + .at-sendfile{float: right;}\r\n.at-messages:last-child {\r\n padding-bottom: 15px;\r\n margin-top: auto;\r\n}\r\n.at-message_sender .at-message {\r\n border-radius: 20px 20px 0 20px;\r\n}\r\n.at-message_sender .at-message_time svg {\r\n margin-right: 7px;\r\n}\r\n.at-message_sender .at-message_time:before {\r\n font-size: 18px;\r\n vertical-align: middle;\r\n margin-right: 10px;\r\n content: \"\";\r\n font-family: \"guppy-icomoon\";\r\n line-height: 15px;\r\n display: inline-block;\r\n}\r\n.at-resmsg:before,\r\n.at-seenmsg:before {\r\n content: \"\\ea1e\" !important;\r\n font-size: 12px !important;\r\n}\r\n\r\n.at-seenmsg:before {\r\n color: #3C57E5;\r\n}\r\n.at-message_sender .at-messageoption_list {\r\n left: auto;\r\n right: 0;\r\n}\r\n.at-message-qoute + .at-messageoption{\r\n top: 30px;\r\n right: 37px;\r\n}\r\n.at-chat480 .at-msgload{\r\n left: -20px;\r\n margin-top: -7px;\r\n}\r\n.at-chat480 .at-msgload i{\r\n width: 14px;\r\n height: 14px;\r\n}\r\n</style>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatTextMessage.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatTextMessage.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatTextMessage.vue?vue&type=template&id=037fe750&\"\nimport script from \"./GuppyChatTextMessage.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatTextMessage.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuppyChatTextMessage.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-leftgroupinfo\"},[_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.messageText)}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"at-leftgroupinfo\">\r\n <span v-html=\"messageText\"></span>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport {GUPPYCHAT_TRANSLATION} from \"../../../resources/constants\";\r\nexport default {\r\n name:'GuppyChatNotifyMessage',\r\n props:['messageProps', 'chatInfo'],\r\n computed:{\r\n messageText: function(){\r\n let data = this.messageProps;\r\n let chatType = data.chatType;\r\n let notifymessageData = this.messageProps.message;\r\n let notifyType = Number(notifymessageData.type);\r\n let translation = GUPPYCHAT_TRANSLATION;\r\n if( chatType == 1 ) { // for one to one chat\r\n if( notifyType == 1 ){\r\n let transText = data.isSender ? translation.auto_inv_sender_msg : translation.auto_inv_receiver_msg;\r\n transText = transText.replace(/\\\\/g, '');\r\n return transText.replace('((username))', this.chatInfo.userName);\r\n }\r\n }\r\n return ''\r\n },\r\n },\r\n methods:{\r\n\r\n }\r\n}\r\n</script>\r\n\r\n<style>\r\n</style>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatNotifyMessage.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatNotifyMessage.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatNotifyMessage.vue?vue&type=template&id=5f0fc550&\"\nimport script from \"./GuppyChatNotifyMessage.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatNotifyMessage.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-message at-deletemsg\"},[_c('div',{staticClass:\"at-del-msg\"},[_c('i',{staticClass:\"guppy-slash\"}),_vm._v(\" \"+_vm._s(_vm.TRANS.deleted_message))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"at-message at-deletemsg\">\r\n <div class=\"at-del-msg\"><i class=\"guppy-slash\"></i> {{TRANS.deleted_message}}</div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: \"GuppyDeleteMessage\",\r\n props:['messageProps'],\r\n};\r\n</script>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyDeleteMessage.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyDeleteMessage.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyDeleteMessage.vue?vue&type=template&id=7806b5d0&\"\nimport script from \"./GuppyDeleteMessage.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyDeleteMessage.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\r\n <div>\r\n <div class=\"at-messages\" :class=\"{ 'at-message_sender': message.isSender }\" :key=\"message.messageId + '_' + Math.floor(Math.random() * 99999999)\" v-for=\"message in messagesList\" >\r\n <!-- for show date message -->\r\n <div v-if=\"message.messageSentDate\" class=\"at-chatseparation\" :key=\"message.messageId\" >\r\n <span> {{ message.messageSentDate }} </span>\r\n </div>\r\n <!-- for delete message template -->\r\n <guppy-delete-message :messageProps=\"message\" v-if=\"Number(message.messageStatus) == 2\" />\r\n\r\n <!-- for text message template-->\r\n <guppy-chat-text-message v-else-if=\"Number(message.messageType) == 0\" :messageProps=\"message\" @deleteMsgEvt=\"deleteChatMessage($event)\" />\r\n\r\n <!-- for notify message template -->\r\n <guppy-chat-notify-message v-else-if=\"Number(message.messageType) == 4\" :chatInfo=\"chatInfo\" :messageProps=\"message\" />\r\n\r\n <!-- for private chat display time template -->\r\n <span class=\"at-message_time\" :class=\"{ 'at-seenmsg': message.isSender && Number(message.messageStatus) == 1 }\" >\r\n {{ getMessageTime(message.timeStamp) }}\r\n </span>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import GuppyChatTextMessage from \"../GuppyChatTextMessage/GuppyChatTextMessage.vue\";\r\n import GuppyChatNotifyMessage from \"../GuppyChatNotifyMessage/GuppyChatNotifyMessage.vue\";\r\n import GuppyDeleteMessage from \"../GuppyDeleteMessage/GuppyDeleteMessage.vue\";\r\n import GuppyChatManager from \"../../../resources/controller\";\r\n export default {\r\n name: \"GuppyChatMessagesList\",\r\n components: {\r\n GuppyChatTextMessage,\r\n GuppyDeleteMessage,\r\n GuppyChatNotifyMessage,\r\n },\r\n props : {\r\n 'chatId':{\r\n type: String,\r\n required : false,\r\n default : ()=>{\r\n return null\r\n }\r\n },\r\n },\r\n computed: {\r\n messagesList(){\r\n return this.$store.getters.messagesListData(this.chatId);\r\n },\r\n chatInfo(){\r\n return this.$store.getters.getChatInfo(this.chatId);\r\n },\r\n },\r\n methods: {\r\n getMessageTime(messageTimeStamp) {\r\n return GuppyChatManager.getMessageTime(messageTimeStamp);\r\n },\r\n deleteChatMessage(messageId) {\r\n let recordIndex = this.messagesList.findIndex((message) => message.messageId == messageId);\r\n let deletMessage = this.messagesList[recordIndex];\r\n deletMessage.messageStatus = 2;\r\n this.$set(this.messagesList, recordIndex, deletMessage);\r\n },\r\n },\r\n };\r\n</script>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatMessagesList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatMessagesList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatMessagesList.vue?vue&type=template&id=a121dfae&\"\nimport script from \"./GuppyChatMessagesList.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatMessagesList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\r\n <div class=\"at-view-messages\" > \r\n <div v-if=\"loadChat && !messagesList.length\" class=\"at-empty-conversation\" >\r\n <div class=\"at-chatloader\">\r\n <span></span><span></span><span></span><span></span><span></span\r\n ><span></span><span></span><span></span>\r\n </div>\r\n </div>\r\n <template v-if=\"messagesList.length\">\r\n <div :id=\"'message-wrap_' + chatInfo.chatId\" ref=\"messagesEnd\" class=\"at-messagewrap\" @scroll=\"scrollHandler($event)\">\r\n <!-- message list start -->\r\n <template v-if=\"messagesLoading\">\r\n <div class=\"at-messages at-inner-loaader\">\r\n <span><i class=\"at-spinericon\"></i></span>\r\n </div>\r\n </template>\r\n <!-- messageList component -->\r\n <guppy-chat-messages-list :chatId=\"chatId\"/>\r\n </div>\r\n </template>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { mapState } from 'vuex';\r\nimport GuppyChatMessagesList from './GuppyChatMessagesList.vue';\r\nimport GuppyChatManager from \"../../../resources/controller\";\r\nexport default {\r\n name : 'GuppyChatMessagesContainer',\r\n components:{\r\n GuppyChatMessagesList\r\n },\r\n props : {\r\n 'chatId':{\r\n type: String,\r\n required : false,\r\n default : ()=>{\r\n return null\r\n }\r\n },\r\n 'conversationData':{\r\n type: Object,\r\n required : false,\r\n default : ()=>{\r\n return null\r\n }\r\n },\r\n },\r\n data(){\r\n return {\r\n lastScrollTop : 0,\r\n convData: {\r\n offset : 0,\r\n userId : \"\",\r\n chatType : \"\",\r\n receiverId : \"\",\r\n chatId : \"\",\r\n },\r\n }\r\n },\r\n computed:{\r\n messagesList(){\r\n return this.$store.getters.messagesListData(this.chatId);\r\n },\r\n chatInfo(){\r\n return this.$store.getters.getChatInfo(this.chatId)\r\n },\r\n loadChat(){\r\n return this.$store.getters.loadChat(this.chatId);\r\n },\r\n messagesLoading(){\r\n return this.$store.getters.messageLoading(this.chatId);\r\n },\r\n ...mapState({\r\n isMessangerChat : (state) => state.isMessangerChat\r\n }),\r\n },\r\n watch:{\r\n conversationData(converData){\r\n if(converData && this.isMessangerChat){\r\n this.convData = converData;\r\n }\r\n },\r\n chatInfo(){\r\n GuppyChatManager.messagesScrollList( this.lastScrollTop, this.chatId);\r\n }\r\n },\r\n methods:{\r\n loadChatMessages() {\r\n if (this.loadChat) {\r\n this.$store.dispatch(\"UpdateMessageList\", {\r\n chatData: this.convData,\r\n lastScrollTop: this.lastScrollTop ? this.lastScrollTop : 0,\r\n });\r\n }\r\n },\r\n scrollHandler(e) {\r\n let scrollTop = e.currentTarget.scrollTop;\r\n let scrollHeight = this.$refs.messagesEnd ? this.$refs.messagesEnd.scrollHeight : 0;\r\n this.lastScrollTop = scrollHeight - scrollTop;\r\n const top = Math.round(scrollTop) === 0;\r\n if (top && this.messagesList.length) {\r\n if ( scrollHeight > e.currentTarget.offsetHeight ) {\r\n this.loadChatMessages();\r\n }\r\n }\r\n },\r\n scrollListToBottom(scrollHeight = 0) {\r\n GuppyChatManager.messagesScrollList(scrollHeight, this.chatInfo.chatId);\r\n },\r\n scrollListToPosition() {\r\n this.scrollListToBottom(this.lastScrollTop);\r\n },\r\n updateConvData(){\r\n let offset = 0;\r\n let userId = \"\", chatType = \"\", receiverId = \"\", chatId = \"\";\r\n chatType = Number(this.chatInfo.chatType);\r\n chatId = this.chatInfo.chatId;\r\n userId = this.userId;\r\n if ( [1,3].includes(Number(this.chatInfo.chatType))) {\r\n receiverId = chatId.split('_')[0];\r\n }\r\n this.convData = { offset, userId, chatType,receiverId, chatId }\r\n }\r\n },\r\n created(){\r\n if(this.isMessangerChat){\r\n this.convData = this.conversationData;\r\n } else {\r\n this.updateConvData();\r\n if(!this.messagesList.length){\r\n this.loadChatMessages();\r\n }\r\n GuppyChatManager.messagesScrollList( this.lastScrollTop, this.chatId);\r\n }\r\n },\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.at-messagewrap {\r\n display: flex;\r\n overflow: auto;\r\n min-height: 280px;\r\n padding: 10px 10px 0;\r\n flex-direction: column;\r\n}\r\n.at-messagewrap > div{\r\n margin-top: auto;\r\n}\r\n.at-messagewrap .at-alert {\r\n margin: auto;\r\n}\r\n.at-messagewrap .at-userbar_loader {\r\n background: transparent;\r\n position: relative;\r\n height: auto;\r\n padding: 20px 0 30px;\r\n}\r\n</style>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatMessagesContainer.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatMessagesContainer.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatMessagesContainer.vue?vue&type=template&id=7f007d8c&scoped=true&\"\nimport script from \"./GuppyChatMessagesContainer.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatMessagesContainer.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuppyChatMessagesContainer.vue?vue&type=style&index=0&id=7f007d8c&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7f007d8c\",\n null\n \n)\n\nexport default component.exports","<template>\r\n <div class=\"at-chat_messages\">\r\n <no-record-found :listIcon=\"'guppy-message-circle'\" v-if=\"isEmptyView\" />\r\n <template v-else>\r\n <template v-if=\"isOpenMessagesScr\">\r\n <guppy-chat-message-header v-if=\"chatInfo.chatId\" />\r\n <messages-container :conversationData=\"convData\"/>\r\n <div v-if=\"chatInfo.isBlocked && chatInfo.blockedId == userId\" class=\"at-chatblockuser\" >\r\n <span> {{ TRANS.you_are_blocked }} </span>\r\n </div>\r\n <div v-else-if=\"chatInfo.isBlocked && chatInfo.blockedId != userId\" class=\"at-chatblockuser\" >\r\n <span v-html=\"unblockButtonText\"></span>\r\n </div>\r\n <guppy-chat-message-footer v-else\r\n :isDisabledFooter=\"loadChat && !messagesList.length ? true : isDisabledFooter\"\r\n @loadMessageListEvent=\"updateMessageList($event)\"\r\n />\r\n </template>\r\n <guppy-chat-invite-response @loadUserChat=\"loadUserChat($event)\" v-else />\r\n </template>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport GuppyChatInviteResponse from \"../GuppyChatInviteResponse/GuppyChatInviteResponse.vue\";\r\nimport GuppyChatMessageHeader from \"../GuppyChatMessageHeader/GuppyChatMessageHeader.vue\";\r\nimport GuppyChatMessageFooter from \"../GuppyChatMessageFooter/GuppyChatMessageFooter.vue\";\r\nimport { GUPPYCHAT_TRANSLATION } from \"../../../resources/constants\";\r\nimport GuppyChatEmptyView from \"../../EmptyViews/GuppyChatEmptyView.vue\";\r\nimport GuppyChatMessagesContainer from \"./GuppyChatMessagesContainer.vue\";\r\nimport { mapState } from \"vuex\";\r\nimport GuppyChatManager from \"../../../resources/controller\";\r\n\r\nexport default {\r\n name: \"GuppyChatMessages\",\r\n components: {\r\n NoRecordFound: GuppyChatEmptyView,\r\n GuppyChatInviteResponse,\r\n GuppyChatMessageHeader,\r\n GuppyChatMessageFooter,\r\n MessagesContainer :GuppyChatMessagesContainer\r\n },\r\n data() {\r\n return {\r\n convData: {\r\n offset : 0,\r\n userId : \"\",\r\n chatType : \"\",\r\n receiverId : \"\",\r\n chatId : \"\",\r\n },\r\n };\r\n },\r\n watch:{\r\n chatInfo : {\r\n handler : function(){\r\n if(this.isMessangerChat){\r\n this.updateConvData();\r\n if (!this.messagesList.length) {\r\n this.loadChatMessages();\r\n }\r\n this.scrollListToBottom();\r\n let toggleData = { isEmptyView: false, isOpenMessagesScr: true };\r\n this.$store.dispatch(\"toggleMessagesScr\", toggleData);\r\n }\r\n }\r\n }\r\n },\r\n computed: {\r\n messagesList(){\r\n let chatId = ''\r\n if(this.$store.state.isMessangerChat){\r\n chatId = this.$store.state.chatInfo.chatId\r\n } else {\r\n chatId = this.chatId;\r\n }\r\n return this.$store.getters.messagesListData(chatId);\r\n },\r\n loadChat(){\r\n if(this.$store.state.isMessangerChat){\r\n return this.$store.getters.loadChat(this.$store.state.chatInfo.chatId);\r\n }\r\n return true;\r\n },\r\n isDisabledFooter(){\r\n return this.$store.getters.isDisabledFooter();\r\n },\r\n chatInfo(){\r\n return this.$store.getters.getChatInfo();\r\n },\r\n ...mapState({\r\n isOpenMessagesScr : (state) => state.isOpenMessagesScr,\r\n isEmptyView : (state) => state.isEmptyView,\r\n isMessangerChat : (state) => state.isMessangerChat,\r\n unblockButtonText() {\r\n let text = GUPPYCHAT_TRANSLATION.blocked_user_message;\r\n let buttonText = GUPPYCHAT_TRANSLATION.unblock_now;\r\n let button = '<a href=\"javascript:;\" guppy-data-target=\"#blockuser\">' + buttonText + \" </a>\";\r\n let updatedText = text.replace(\"%Unblock%\", button);\r\n return updatedText;\r\n },\r\n }),\r\n },\r\n methods: {\r\n updateConvData(){\r\n let offset = 0;\r\n let userId = \"\", chatType = \"\", receiverId = \"\", chatId =\"\";\r\n chatType = Number(this.chatInfo.chatType);\r\n chatId = this.chatInfo.chatId;\r\n userId = this.userId;\r\n if ([1,3].includes(Number(this.chatInfo.chatType)) ) {\r\n receiverId = chatId.split('_')[0];\r\n }\r\n this.convData = { offset, userId, chatType,receiverId, chatId }\r\n },\r\n loadChatMessages() {\r\n if (this.loadChat) {\r\n this.$store.dispatch(\"UpdateMessageList\", {\r\n chatData: this.convData,\r\n lastScrollTop: this.lastScrollTop ? this.lastScrollTop : 0,\r\n });\r\n }\r\n },\r\n loadUserChat(parems) {\r\n this.convData = {\r\n offset : 0,\r\n userId : this.userId,\r\n chatType : 1,\r\n receiverId : parems.userId,\r\n chatId : parems.chatId,\r\n };\r\n this.loadChatMessages();\r\n },\r\n scrollListToBottom(scrollHeight = 0) {\r\n GuppyChatManager.messagesScrollList(scrollHeight, this.chatInfo.chatId);\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style scoped>\r\n.at-chat_messages {\r\n background-color: #f7f7f7;\r\n flex-direction: column;\r\n -webkit-box-flex: 0;\r\n -ms-flex: 0 0 68%;\r\n flex: 0 0 68%;\r\n max-width: 68%;\r\n display: -ms-flexbox;\r\n display: flex;\r\n transition: all 0.3s ease-in-out;\r\n}\r\n.at-chat_messagesslide {\r\n -ms-flex: 0 0 calc(75% - 300px);\r\n flex: 0 0 calc(75% - 300px);\r\n max-width: calc(75% - 300px);\r\n}\r\n\r\n.at-unknownuser {\r\n padding-left: 30px;\r\n padding-right: 30px;\r\n}\r\n\r\n.at-loadermsg {\r\n display: flex;\r\n align-items: center;\r\n padding: 20px;\r\n color: var(--terguppycolor);\r\n height: auto;\r\n bottom: auto;\r\n}\r\n.at-loadermsg + .at-message_time {\r\n display: none;\r\n}\r\n.at-loadermsg i {\r\n font-size: 24px;\r\n display: inline-block;\r\n margin-right: 12px;\r\n vertical-align: middle;\r\n width: 20px;\r\n height: 20px;\r\n}\r\n.at-chatseparation {\r\n width: 100%;\r\n position: relative;\r\n margin: 10px 0;\r\n z-index: 1;\r\n display: flex;\r\n align-items: center;\r\n text-align: center;\r\n justify-content: center;\r\n}\r\n.at-chatseparation:before {\r\n height: 1px;\r\n width: 100%;\r\n content: \"\";\r\n position: absolute;\r\n left: 0;\r\n top: 50%;\r\n z-index: -1;\r\n background: #ddd;\r\n}\r\n.at-chatseparation span {\r\n color: var(--terguppycolor);\r\n background: #f7f7f7;\r\n padding: 0 20px;\r\n font-size: 15px;\r\n line-height: 28px;\r\n letter-spacing: 0.5px;\r\n}\r\n</style>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatMessages.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatMessages.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatMessages.vue?vue&type=template&id=26904eda&scoped=true&\"\nimport script from \"./GuppyChatMessages.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatMessages.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuppyChatMessages.vue?vue&type=style&index=0&id=26904eda&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"26904eda\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[[_c('div',{staticClass:\"at-modal\",attrs:{\"id\":\"blockuser\"}},[_c('div',{staticClass:\"at-modaldialog\"},[_c('div',{staticClass:\"at-alert\"},[_c('i',{staticClass:\"guppy-alert-circle\"}),_c('h2',[_vm._v(_vm._s(_vm.chatInfo.isBlocked ? _vm.TRANS.unblock_user_heading.replace('((username))', _vm.chatInfo.userName) : _vm.TRANS.block_user_title.replace('((username))', _vm.chatInfo.userName)))]),_c('p',[_vm._v(_vm._s(_vm.chatInfo.isBlocked ? _vm.TRANS.unblock_user_description : _vm.TRANS.block_user_description))]),_c('a',{staticClass:\"at-btn\",class:{'at-disable-btn' : _vm.isloadingUpdt },attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();return _vm.toggleBlockUser()}}},[_vm._v(\" \"+_vm._s(_vm.chatInfo.isBlocked ? _vm.TRANS.unblock_button : _vm.TRANS.block_user_button)+\" \")]),_c('a',{staticClass:\"at-anchor at-guppy-removemodal\",attrs:{\"href\":\"javascript:void(0);\"}},[_vm._v(\" \"+_vm._s(_vm.TRANS.not_right_now)+\" \")])])])])],[_c('div',{staticClass:\"at-modal\",attrs:{\"id\":\"clearchat\"}},[_c('div',{staticClass:\"at-modaldialog\"},[_c('div',{staticClass:\"at-alert\"},[_c('i',{staticClass:\"guppy-alert-circle\"}),_c('h2',[_vm._v(_vm._s(_vm.TRANS.clear_chat))]),_c('p',[_vm._v(_vm._s(_vm.TRANS.clear_chat_description))]),_c('a',{staticClass:\"at-btn\",class:{'at-disable-btn' : _vm.isloadingUpdt },attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();return _vm.clearChat()}}},[_vm._v(\" \"+_vm._s(_vm.TRANS.clear_chat_button)+\" \")]),_c('a',{staticClass:\"at-anchor at-guppy-removemodal\",attrs:{\"href\":\"javascript:void(0);\"}},[_vm._v(_vm._s(_vm.TRANS.not_right_now))])])])])],[_c('div',{staticClass:\"at-modal at-cropping-popup\",class:{'at-modalopen at-fadin' : _vm.isCroppedImage},attrs:{\"id\":\"image_crop\"}},[_c('div',{staticClass:\"at-modaldialog\"},[_c('div',{staticClass:\"at-alert\"},[_c('vue-croppie',{ref:\"profCroppieRef\",attrs:{\"enableResize\":false,\"boundary\":_vm.proCroppieBoundry,\"viewport\":_vm.proCroppieViewport}}),_c('div',{staticClass:\"at-form-group\"},[_c('ul',{staticClass:\"at-btnlist\"},[_c('li',[_c('a',{staticClass:\"at-btn\",class:{'at-disable-btn' : _vm.isloadingUpdt },attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();return _vm.proCroppedImage()}}},[_vm._v(_vm._s(_vm.TRANS.crop_img_txt))])]),_c('li',[_c('a',{staticClass:\"at-btn at-btnv2\",attrs:{\"href\":\"javascript:void(0);\",\"id\":\"cancel_crop_image\"},on:{\"click\":function($event){$event.preventDefault();return _vm.closePopUp('cropImage')}}},[_vm._v(_vm._s(_vm.TRANS.cancel_txt))])])])])],1)])])],[_c('div',{staticClass:\"at-modal at-invitepopup\",class:{'at-modalopen at-fadin' : _vm.isOpenInvitePopUp},attrs:{\"id\":\"accept_invite\"}},[_c('div',{staticClass:\"at-modaldialog\"},[_c('guppy-chat-invite-response',{attrs:{\"isShowDefaultMessage\":false}})],1)])]],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div>\r\n <!-- Block User PopUp -->\r\n <template>\r\n <div id=\"blockuser\" class=\"at-modal\">\r\n <div class=\"at-modaldialog\">\r\n <div class=\"at-alert\">\r\n <i class=\"guppy-alert-circle\"></i>\r\n <h2>{{chatInfo.isBlocked ? TRANS.unblock_user_heading.replace('((username))', chatInfo.userName) : TRANS.block_user_title.replace('((username))', chatInfo.userName)}}</h2>\r\n <p>{{ chatInfo.isBlocked ? TRANS.unblock_user_description : TRANS.block_user_description}}</p>\r\n <a href=\"javascript:void(0);\" @click.prevent=\"toggleBlockUser()\" :class=\"{'at-disable-btn' : isloadingUpdt }\" class=\"at-btn\">\r\n {{chatInfo.isBlocked ? TRANS.unblock_button : TRANS.block_user_button}}\r\n </a>\r\n <a href=\"javascript:void(0);\" class=\"at-anchor at-guppy-removemodal\">\r\n {{TRANS.not_right_now}}\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </template>\r\n <!-- Clear PopUp -->\r\n <template>\r\n <div id=\"clearchat\" class=\"at-modal\">\r\n <div class=\"at-modaldialog\">\r\n <div class=\"at-alert\">\r\n <i class=\"guppy-alert-circle\"></i>\r\n <h2>{{ TRANS.clear_chat }}</h2>\r\n <p>{{ TRANS.clear_chat_description}}</p>\r\n <a href=\"javascript:void(0);\" @click.prevent=\"clearChat()\" :class=\"{'at-disable-btn' : isloadingUpdt }\" class=\"at-btn\">\r\n {{TRANS.clear_chat_button}}\r\n </a>\r\n <a href=\"javascript:void(0);\" class=\"at-anchor at-guppy-removemodal\">{{TRANS.not_right_now}}</a>\r\n </div>\r\n </div>\r\n </div>\r\n </template>\r\n\r\n <!-- Crop Profile image popup -->\r\n <template>\r\n\t\t\t<div id=\"image_crop\" class=\"at-modal at-cropping-popup\" :class=\"{'at-modalopen at-fadin' : isCroppedImage}\">\r\n <div class=\"at-modaldialog\"> \r\n <div class=\"at-alert\">\r\n <vue-croppie ref=\"profCroppieRef\" :enableResize=\"false\" :boundary=\"proCroppieBoundry\" :viewport=\"proCroppieViewport\"></vue-croppie>\r\n\t\t\t\t\t <div class=\"at-form-group\">\r\n <ul class=\"at-btnlist\">\r\n <li><a href=\"javascript:void(0);\" @click.prevent=\"proCroppedImage()\" :class=\"{'at-disable-btn' : isloadingUpdt }\" class=\"at-btn\">{{TRANS.crop_img_txt}}</a></li>\r\n <li><a href=\"javascript:void(0);\" id=\"cancel_crop_image\" @click.prevent=\"closePopUp('cropImage')\" class=\"at-btn at-btnv2\">{{TRANS.cancel_txt}}</a></li>\r\n </ul>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </template>\r\n\r\n <!-- Accept invite popup -->\r\n <template>\r\n\t\t\t<div id=\"accept_invite\" class=\"at-modal at-invitepopup\" :class=\"{'at-modalopen at-fadin' : isOpenInvitePopUp}\">\r\n <div class=\"at-modaldialog\"> \r\n <guppy-chat-invite-response :isShowDefaultMessage=\"false\"/>\r\n </div>\r\n </div>\r\n </template>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import jQuery from \"jquery\";\r\n import GuppyChatManager from \"../../resources/controller\";\r\n import GuppyChatInviteResponse from \"./GuppyChatInviteResponse/GuppyChatInviteResponse.vue\";\r\n export default {\r\n name : \"GuppyChatSidebarSettingPopup\",\r\n components:{\r\n GuppyChatInviteResponse\r\n },\r\n data(){\r\n return {\r\n isloadingUpdt : false,\r\n proCroppieBoundry : {\r\n width: 600, \r\n height: 460,\r\n },\r\n proCroppieViewport : {\r\n width:500, \r\n height:450, \r\n 'type':'square'\r\n },\r\n isCroppedImage : false,\r\n isOpenInvitePopUp : false,\r\n }\r\n },\r\n computed: {\r\n chatInfo(){\r\n return this.$store.getters.getChatInfo()\r\n },\r\n },\r\n methods:{\r\n closePopUp( popUp ){\r\n switch(popUp){\r\n case 'cropImage':\r\n this.isCroppedImage = false;\r\n break;\r\n case 'acceptInvite':\r\n this.isOpenInvitePopUp = false;\r\n break;\r\n }\r\n },\r\n openPopUp( popUp ){\r\n switch(popUp){\r\n case 'cropImage':\r\n this.isCroppedImage = true;\r\n break;\r\n case 'acceptInvite':\r\n this.isOpenInvitePopUp = true;\r\n break;\r\n }\r\n },\r\n setProfileImage(file){\r\n var reader \t\t\t= new FileReader();\r\n this.isCroppedImage = true;\r\n reader.onload = e => {\r\n this.$refs.profCroppieRef.bind({\r\n url: e.target.result\r\n });\r\n }\r\n reader.readAsDataURL(file);\r\n },\r\n proCroppedImage() {\r\n let options = {\r\n type: 'blob',\r\n size: { width: 600, height: 450 },\r\n format: 'jpeg'\r\n };\r\n let imageUrl = '',file = '';\r\n this.$refs.profCroppieRef.result(options, output => {\r\n const CroppedImage = new File( [output], \r\n `image_${Math.floor(Math.random() * 99999999)}.jpeg`, \r\n { type: output.type, } );\r\n file \t\t = CroppedImage;\r\n imageUrl = URL.createObjectURL(CroppedImage);\r\n this.isCroppedImage = false;\r\n this.$root.$emit('CroppedfileParams', { imageUrl, file })\r\n });\r\n },\r\n capitalizeText(s){\r\n if (typeof s !== 'string') return ''\r\n return s.charAt(0).toUpperCase() + s.slice(1)\r\n },\r\n async toggleBlockUser(){\r\n let data = {\r\n 'statusType' : this.chatInfo.isBlocked ? 4 : 3,\r\n 'actionTo' : this.chatInfo.chatId.split('_')[0],\r\n 'userId' : this.userId,\r\n 'muteNotification' : this.chatInfo.muteNotification\r\n }\r\n this.isloadingUpdt = true;\r\n let response = await GuppyChatManager.updateUserStatus(data);\r\n jQuery('#blockuser').removeClass('at-modalopen at-fadin');\r\n jQuery(\".at-chat_sidebarsetting\").removeClass(\"at-chat_sidebarsettingopen\");\r\n jQuery(\".at-chat_messages\").removeClass(\"at-chat_messagesslide\");\r\n jQuery('body').css('overflow','');\r\n if( response.data.type == \"success\" ) {\r\n this.$store.commit('UpdateSelectUserStatus', response.data.userData );\r\n } else if( response.data.type == \"error\" ) {\r\n this.alertBox('error', this.TRANS.error_title, response.data.message_desc);\r\n }\r\n this.isloadingUpdt = false;\r\n },\r\n clearChat(){\r\n let actionTo = this.chatInfo.chatId.split('_')[0];\r\n let chatType = this.chatInfo.chatType;\r\n let chatId = this.chatInfo.chatId;\r\n \r\n let data = {\r\n 'actionTo' : chatType == 1 ? actionTo : '',\r\n 'chatId' : chatId,\r\n 'userId' : this.userId,\r\n 'chatType' : chatType,\r\n }\r\n this.isloadingUpdt = true;\r\n this.axios.post(\"clear-guppy-chat\", data).then((response) => {\r\n \r\n if( response.data.type == \"success\" ) {\r\n this.isloadingUpdt = false;\r\n jQuery('#clearchat').removeClass('at-modalopen at-fadin');\r\n jQuery(\".at-chat_sidebarsetting\").removeClass(\"at-chat_sidebarsettingopen\");\r\n jQuery(\".at-chat_messages\").removeClass(\"at-chat_messagesslide\");\r\n jQuery('body').css('overflow','');\r\n this.$store.dispatch('clearGuppyChat', data );\r\n this.$store.dispatch('triggerSocketEvents', {'event':'clearChat', payload : data})\r\n } else if( response.data.type == \"error\" ) {\r\n this.alertBox('error', this.TRANS.error_title, response.data.message_desc);\r\n }\r\n }).catch((error) => {\r\n this.isloadingUpdt = false;\r\n console.log(error);\r\n });\r\n },\r\n },\r\n mounted(){\r\n this.$root.$on('croppedProfileImage', (data)=>{\r\n this.setProfileImage(data);\r\n });\r\n this.$root.$on('openPopUp', (data)=>{\r\n this.openPopUp(data.type)\r\n });\r\n this.$root.$on('closePopUp', (data)=>{\r\n this.closePopUp(data.type)\r\n });\r\n },\r\n }\r\n</script>\r\n\r\n<style>\r\n.at-modal {\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n z-index: 10501;\r\n display: none;\r\n width: 100%;\r\n height: 100%;\r\n overflow: auto;\r\n outline: 0;\r\n opacity: 0;\r\n transition: all 0.3s ease-in-out;\r\n}\r\n.at-modal:before {\r\n content: \"\";\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n width: 100vw;\r\n height: 100vh;\r\n background-color: rgba(0, 0, 0, 0.5);\r\n z-index: -1;\r\n}\r\n\r\n.at-modalopen {\r\n display: flex;\r\n}\r\n\r\n.at-modaldialog {\r\n width: 100%;\r\n margin: auto;\r\n display: flex;\r\n padding: 30px 0;\r\n max-width: 528px;\r\n align-items: center;\r\n}\r\n.at-chat575 .at-modaldialog{\r\n max-width: 100%;\r\n padding-left: 15px;\r\n padding-right: 15px;\r\n}\r\n.at-guppyside-responsive .at-modaldialog{\r\n padding-left: 15px;\r\n padding-right: 15px;\r\n}\r\n.at-modaldialog .at-alert {\r\n max-width: initial;\r\n width: 100%;\r\n}\r\n\r\n.at-fadin {\r\n opacity: 1;\r\n}\r\n.at-alert .at-themeform{\r\n text-align: left;\r\n}\r\n.at-chat textarea.at-form-control {\r\n resize: none;\r\n padding-top: 12px;\r\n}\r\n.at-chat .at-dropdownholder .at-form-control {\r\n display: flex;\r\n align-items: center;\r\n cursor: pointer;\r\n}\r\n.at-dropdownholder .at-form-control > span,\r\n.at-placeholder {\r\n color: var(--terguppycolor);\r\n font: 400 14px/24px var(--secchatfont);\r\n}\r\n.at-dropdownholder .at-form-control > span:not(.at-placeholder){color: var(--secguppycolor);}\r\n.at-dropdown {\r\n margin:0;\r\n padding: 0;\r\n background: #fff;\r\n border-radius: 3px;\r\n overflow: hidden;\r\n display: none;\r\n position: absolute;\r\n top: 100%;\r\n width: 100%;\r\n z-index: 99;\r\n left: 0;\r\n font: 500 14px/2em \"Urbanist\", sans-serif;\r\n flex-direction: column;\r\n -webkit-box-shadow: 0px 2px 4px rgba(40, 41, 61, 0.04), 0px 8px 16px rgba(96, 97, 112, 0.16);\r\n box-shadow: 0px 2px 4px rgba(40, 41, 61, 0.04), 0px 8px 16px rgba(96, 97, 112, 0.16);\r\n max-height: 200px;\r\n overflow-y: auto;\r\n}\r\n.at-dropdown li {\r\n line-height: inherit;\r\n list-style-type: none;\r\n outline: none;\r\n}\r\n.at-dropdown a {\r\n cursor: pointer;\r\n margin: 0;\r\n align-items: center;\r\n font-weight: 500;\r\n padding: 6px 20px;\r\n display: flex;\r\n color: #0A0F26;\r\n transition: all 0.3s ease-in-out;\r\n}\r\n.at-dropdown a:hover {\r\n background-color: #F7F7F7 !important;\r\n}\r\n.at-dropdown a:focus{\r\n outline: none !important;\r\n}\r\n.at-dropdown a i {\r\n color: var(--terguppycolor);\r\n font-size: 18px;\r\n width: 20px;\r\n display: inline-block;\r\n margin-right: 10px;\r\n text-align: center;\r\n}\r\n.at-dropdown.at-uploadoption_open{\r\n display: -ms-flexbox;\r\n display: flex;\r\n -ms-flex-wrap: wrap;\r\n flex-wrap: wrap;\r\n}\r\n.at-dropcontentholder {\r\n text-align: left;\r\n padding: 20px;\r\n background: #fff !important;\r\n}\r\n\r\n.at-dropboxuploader {\r\n display: flex;\r\n align-items: center;\r\n width: 100%;\r\n flex-direction: column;\r\n text-align: center;\r\n}\r\n\r\n.at-dropcontent {\r\n display: flex;\r\n flex-flow: wrap row;\r\n align-items: center;\r\n width: 100%;\r\n}\r\n.at-dropcontent img {\r\n margin-right: 10px;\r\n border-radius: 10px;\r\n flex: none;\r\n}\r\n.at-dropcontent .at-removedrop {\r\n font-size: 20px;\r\n color: #EF4444;\r\n margin-left: auto;\r\n}\r\n\r\n.at-droptitle {\r\n flex: auto;\r\n}\r\n.at-droptitle > span {\r\n font: 500 0.875rem/1.5714285714em \"Urbanist\", sans-serif;\r\n letter-spacing: 0.5px;\r\n display: block;\r\n}\r\n\r\n.at-progressbarholder {\r\n position: relative;\r\n height: 3px;\r\n margin-top: 10px;\r\n}\r\n\r\n.at-progressbar {\r\n width: 100%;\r\n background-color: #F7F7F7;\r\n}\r\n\r\n.at-progressbar,\r\n.at-progressbar_fill {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n height: 3px;\r\n border-radius: 60px;\r\n}\r\n\r\n.at-progressbar_fill {\r\n background-color: #FF7300;\r\n}\r\n.at-dropboxuploader i {\r\n line-height: 60px;\r\n width: 60px;\r\n text-align: center;\r\n\tbackground: #F7F7F7;\r\n\tborder-radius: 10px;\r\n\tfont-size: 28px;\r\n\tcolor: var(--terguppycolor);\r\n\tmargin-bottom: 10px;\r\n\tdisplay: inline-block;\r\n}\r\n.at-creategroup .at-dropbox{\r\n border-radius: 4px;\r\n padding: 30px 20px;\r\n}\r\n.at-makeadmin{\r\n flex: none;\r\n margin-left: auto;\r\n padding: 3px 8px;\r\n border: 1px solid #DDDDDD;\r\n border-radius: 3px;\r\n letter-spacing: 0.01em;\r\n font-family: var(--secchatfont);\r\n color: #999999 !important;\r\n font-weight: 600;\r\n font-size: 10px;\r\n line-height: 14px;\r\n display: none;\r\n}\r\ninput[type=\"checkbox\"]:checked + .at-groupuserbar_content .at-makeadmin{\r\n display: inline-flex;\r\n visibility: visible;\r\n opacity: 1;\r\n}\r\n.at-makeadmin i{\r\n margin-right: 2px;\r\n font-weight: 700;\r\n}\r\n.at-makeadmin:not(.at-makeadmin-check){\r\n opacity: 0;\r\n visibility: hidden;\r\n}\r\n.at-groupuserbar_content:hover .at-makeadmin:not(.at-makeadmin-check){\r\n opacity: 1;\r\n visibility: visible;\r\n}\r\n.at-makeadmin-check{\r\n background: #22C55E;\r\n border-color: #22C55E;\r\n color: #fff !important;\r\n}\r\n.at-makeadmin-check::before{\r\n content: \"\\e92b\";\r\n font-family: 'icomoon';\r\n color: #fff;\r\n margin-right: 4px;\r\n}\r\n.at-dropboxuploader img{\r\n margin: 0 0 10px;\r\n}\r\n.at-creategroup .at-form-group .at-btnlist{\r\n width: auto;\r\n box-shadow: inset 0px 1px 0px #dddddd;\r\n margin: 0 -30px -10px -30px;\r\n padding: 10px 20px 0;\r\n}\r\n.at-btnlist .at-groupuserbar_content{\r\n padding: 0 0 0 34px !important;\r\n}\r\n.at-btnlist .at-groupuserbar_title{\r\n white-space: pre-wrap;\r\n letter-spacing: 0.01em;\r\n font: 400 16px/26px var(--secchatfont);\r\n}\r\n.at-btnlist .at-groupuserbar_content:hover,\r\n.at-btnlist .at-groupuserbar:hover{\r\n background: transparent;\r\n}\r\n.at-btnlist .at-groupuserbar_content::after{\r\n left: 0;\r\n}\r\n .at-creategroup .at-popupcontent{ \r\n background: transparent;\r\n }\r\n .at-creategroup .at-themeform{\r\n background-color: #fff;\r\n }\r\n /* Leave Group */\r\n .at-assignlist-wrap .at-form-search{ \r\n margin: 0 0 10px;\r\n }\r\n.at-form-search{\r\n position: relative;\r\n display: flex;\r\n align-items: center;\r\n}\r\n.at-form-search i{\r\n position: absolute;\r\n left: 18px;\r\n font-size: 18px;\r\n color: var(--terguppycolor);\r\n}\r\n.at-chat .at-form-search .at-form-control{\r\n font-size: 14px;\r\n padding-left: 45px;\r\n width: 100%;\r\n height: 40px;\r\n outline: none;\r\n}\r\n.at-admin-leavegroup .at-themeform fieldset{\r\n margin: -5px;\r\n}\r\n.at-admin-leavegroup .at-themeform fieldset .at-form-group{padding: 5px;}\r\n.at-assignlist{\r\n margin: 0;\r\n padding: 0;\r\n max-height: 350px;\r\n overflow: auto;\r\n}\r\n.at-assignlist li{\r\n display: flex;\r\n padding: 10px 14px;\r\n align-items: center;\r\n transition: all 0.3s ease-in-out;\r\n}\r\n.at-assignlist li:hover{\r\n background: #F7F7F7;\r\n}\r\n.at-assignlist .at-makeadmin{\r\n margin-left: auto;\r\n opacity: 1;\r\n visibility: visible;\r\n display: inline-block;\r\n padding: 3px 6px;\r\n}\r\n.at-assignlist figure{\r\n margin: 0;\r\n display: flex;\r\n align-items: center;\r\n}\r\n.at-assignlist figure img{\r\n max-width: 30px;\r\n border-radius: 50%;\r\n max-height: 30px;\r\n margin-right: 10px;\r\n}\r\n.at-assignlist figure figcaption{\r\n font: 700 14px/26px var(--primchatfont);\r\n color: var(--secguppycolor);\r\n}\r\n.at-leavebtn{\r\n background-color: #EF4444 !important;\r\n}\r\n.at-uploadimg{\r\n display: flex;\r\n min-width: 200px;\r\n min-height: 200px;\r\n max-height: 400px;\r\n align-items: center;\r\n padding-bottom: 40px;\r\n justify-content: center;\r\n}\r\n.at-uploadimg img{\r\n border-radius: 5px 5px 0 0;\r\n}\r\n @media (max-width: 480px){\r\n .at-creategroup .at-form-group .at-btnlist{\r\n padding: 10px 10px 0;\r\n margin: 0 -15px -10px;\r\n }\r\n}\r\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatSidebarSettingPopup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyChatSidebarSettingPopup.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyChatSidebarSettingPopup.vue?vue&type=template&id=6660eba9&\"\nimport script from \"./GuppyChatSidebarSettingPopup.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyChatSidebarSettingPopup.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuppyChatSidebarSettingPopup.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\r\n <div class=\"at-chat\" :class=\"{'wpguppy-rtl' : isRtl}\">\r\n <guppy-chat-sidebar/>\r\n <guppy-chat-messages />\r\n <sidebar-popup />\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport GuppyChatSidebar from \"./GuppyChatSidebar/GuppyChatSidebar.vue\";\r\nimport GuppyChatMessages from \"./GuppyChatMessages/GuppyChatMessages/GuppyChatMessages.vue\";\r\nimport { GUPPYCHAT_SETTINGS } from \"../resources/constants\";\r\nimport GuppyChatManager from \"../resources/controller\";\r\nimport GuppyChatSidebarSettingPopup from \"./GuppyChatMessages/GuppyChatSidebarSettingPopup.vue\";\r\nimport jQuery from \"jquery\";\r\n\r\nexport default {\r\n name: 'App',\r\n components: { \r\n SidebarPopup : GuppyChatSidebarSettingPopup,\r\n GuppyChatSidebar,\r\n GuppyChatMessages,\r\n },\r\n data(){\r\n return {\r\n isRtl : false,\r\n windowWidth : ''\r\n }\r\n },\r\n computed:{\r\n css: function(){\r\n return \"<style> :root { --primguppycolor: \" + GUPPYCHAT_SETTINGS.primaryColor+ \"; --secguppycolor: \" + GUPPYCHAT_SETTINGS.secondaryColor + \"; --terguppycolor: \" + GUPPYCHAT_SETTINGS.textColor + \"; } </style>\"\r\n }\r\n },\r\n watch: {\r\n windowWidth(newVal, oldVal){\r\n if(newVal != oldVal && oldVal != ''){\r\n this.guppyAddClass()\r\n }\r\n }\r\n },\r\n methods : {\r\n responsive(){\r\n jQuery(document).on(\"click\",'.conversation-list .at-userbar',function() {\r\n jQuery(\".at-chat_sidebarsetting\").removeClass(\"at-chat_sidebarsettingopen\");\r\n jQuery(\".at-chat_messages\").removeClass(\"at-chat_messagesslide\");\r\n });\r\n },\r\n guppyAddClass(){\r\n let width = jQuery('.at-chat').width();\r\n let isRtlTrue = this.isRtl ? 'wpguppy-rtl' : '';\r\n let customerSupportClass = !Number(this.userType) ? 'at-customer-support' : '';\r\n if (width >= 1440){\r\n jQuery('.at-chat').attr('class', 'at-chat at-messanger-chat '+customerSupportClass);\r\n }\r\n\r\n if (width <= 1440){\r\n jQuery('.at-chat').attr('class', 'at-chat at-chat1440 at-messanger-chat '+customerSupportClass);\r\n }\r\n\r\n if (width <= 1199){\r\n jQuery('.at-chat').attr('class', 'at-chat at-chat1199 at-messanger-chat '+customerSupportClass);\r\n }\r\n\r\n if (width <= 1080){\r\n jQuery('.at-chat').attr('class', 'at-chat at-chat1080 at-messanger-chat '+customerSupportClass);\r\n }\r\n\r\n if (width <= 991){\r\n jQuery('.at-chat').attr('class', 'at-chat at-chat991 at-messanger-chat '+customerSupportClass);\r\n\r\n jQuery(document).on(\"click\",'.conversation-list .at-userbar, .at-btn-respond',function() {\r\n jQuery('.at-chat').addClass(\"at-opnchatbox\")\r\n });\r\n\r\n jQuery(document).on(\"click\",'.at-backtolist',function() {\r\n jQuery('.at-chat').removeClass('at-opnchatbox')\r\n });\r\n\r\n }\r\n\r\n jQuery(document).on(\"click\",'.at-messanger-chat ul.at-chat_sidebar_footer li',function() {\r\n jQuery('ul.at-chat_sidebar_footer').css('width','70px')\r\n });\r\n\r\n if ( width <= 640){\r\n jQuery('.at-chat').attr('class', 'at-chat at-chat640 at-chat991 at-messanger-chat '+customerSupportClass);\r\n }\r\n\r\n if (width <= 575){\r\n jQuery('.at-chat').attr('class', 'at-chat at-chat575 at-chat640 at-chat991 at-messanger-chat '+customerSupportClass);\r\n } \r\n\r\n if (width <= 480){\r\n jQuery('.at-chat').attr('class', 'at-chat at-chat480 at-chat575 at-chat640 at-chat991 at-messanger-chat '+customerSupportClass);\r\n } \r\n\r\n if (width <= 420){\r\n jQuery('.at-chat').attr('class', 'at-chat at-chat420 at-chat480 at-chat575 at-chat640 at-chat991 at-messanger-chat '+customerSupportClass);\r\n }\r\n\r\n jQuery('.at-chat').addClass(isRtlTrue);\r\n\t },\r\n async startChating(chatId){\r\n let data = {\r\n 'sendTo' : chatId,\r\n 'userId' : this.userId,\r\n 'startChat' : 1\r\n }\r\n this.isLoading = true;\r\n let response = await GuppyChatManager.sendGuppyInvite(data);\r\n if(response){\r\n if( response.data.type == \"success\" ) {\r\n if(response.data.autoInvite){\r\n if(!GUPPYCHAT_SETTINGS.socketEnable){\r\n this.$store.commit('startChat', {friendData: response.data.friendData, messagelistData : response.data.messagelistData});\r\n }\r\n }\r\n } else if( response.data.type == \"error\" ) {\r\n this.$store.commit('toggleMessagesScr',{ isEmptyView : true, isOpenMessagesScr : false });\r\n let description = response.data.message_desc ? response.data.message_desc : this.TRANS.input_params_err; \r\n this.alertBox('error', this.TRANS.error_title, description)\r\n }\r\n }\r\n },\r\n async getMessangerChatInfo(chatId,chatType){\r\n let data = {\r\n 'chatId' : chatId,\r\n 'chatType' : chatType,\r\n 'userId' : this.userId,\r\n }\r\n let response = await GuppyChatManager.getMessangerChatInfo(data);\r\n if(response.data.type == 'success' && response.data.chatInfo !=''){\r\n this.$store.commit(\"updateChatInfo\", {data : response.data.chatInfo});\r\n } else if( response.data.type == \"error\" ) {\r\n this.alertBox('error', this.TRANS.error_title, response.data.message_desc)\r\n this.$store.commit('toggleMessagesScr',{ isEmptyView : true, isOpenMessagesScr : false });\r\n }\r\n }\r\n },\r\n mounted(){\r\n this.responsive();\r\n this.guppyAddClass();\r\n let _Windowwidth = jQuery('.at-chat').width();\r\n this.$store.commit('updateWindowWidth',{ windowWidth : _Windowwidth });\r\n },\r\n created(){\r\n // to open chat in widget boxes\r\n this.$store.commit('updateWidgetType', { isMessangerChat : true });\r\n let uri = window.location.search.substring(1); \r\n let params = new URLSearchParams(uri);\r\n let chatId = params.get(\"chat_id\");\r\n let chatType = params.get(\"chat_type\");\r\n let type = params.get(\"type\");\r\n\r\n if(type == 'messanger' && chatType && chatId){\r\n this.$store.commit('toggleMessagesScr',{ isEmptyView : false, isOpenMessagesScr : true });\r\n this.getMessangerChatInfo(chatId,chatType);\r\n } else if( chatId && Number(chatId) > 0 && chatType == 1){\r\n this.$store.commit('toggleMessagesScr',{ isEmptyView : false, isOpenMessagesScr : true });\r\n this.startChating(chatId);\r\n }\r\n\r\n window.addEventListener(\"resize\", ()=>{\r\n this.windowWidth = jQuery('.at-chat').width();\r\n });\r\n \r\n jQuery('head').prepend(this.css);\r\n this.isRtl = GUPPYCHAT_SETTINGS.isRtl;\r\n this.$store.dispatch('initRealTimeChatSetting',{ authToken : window.wpguppy_scripts_vars.authToken });\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n @import url(\"./resources/style.css\");\r\n @import url(\"./resources/rtl.css\");\r\n @import url('./resources/updatestyle.css');\r\n @import url('./resources/whatsappstyle.css');\r\n</style>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=9167796c&scoped=true&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=9167796c&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"9167796c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-guppysidepopup at-chat at-user-chat\",class:{ \n 'wpguppy-rtl' : _vm.isRtl, \n 'gp-whatsappsidepopup gp-chat gp-layout-one' : _vm.isWhatsappChat, \n 'gp-whatsappside-responsive': _vm.isMobileView,\n 'at-guppyside-responsive' : _vm.window_idth <= 768 && !_vm.isWhatsappChat,\n 'at-customer-support' : !Number(_vm.userType) }},[_c('div',{staticClass:\"at-chatsidebar_float at-chatsidebar-widgetclose gp-users-list gp-layout-overlay\"},[_c('div',{staticClass:\"at-chat_previewfloat gp-chat_previewfloat\"},[_c('guppy-chat-sidebar'),(_vm.isMessangerChat && !_vm.isWhatsappChat)?_c('guppy-chat-messages'):_vm._e()],1)]),_c('div',{staticClass:\"at-chatfloatholder\"},[_c('floating-chats'),(_vm.isShowWidget)?[_c('div',{staticClass:\"at-chatfloat\"},[_c('span',{on:{\"click\":function($event){return _vm.minimizeList()}}},[_vm._m(0)])])]:(_vm.floatingWidgetEnable && _vm.floatingMessenger)?[_c('ul',{staticClass:\"at-chatfloatlist at-chatfloatlist_circle\"},[(_vm.whatsappSupportEnable)?_c('li',{style:({marginBottom : _vm.widgetCircle1}),on:{\"click\":function($event){$event.preventDefault();return _vm.toggleWhatsappChat()}}},[_c('a',{staticClass:\"at-whatsapp_chat\",attrs:{\"href\":\"javascript:void(0);\",\"id\":\"at-whatsappchatopen\"}},[_c('whatsapp-image',{attrs:{\"ImageColor\":'white'}})],1)]):_vm._e(),_c('li',{staticClass:\"at-theme_chat\",style:({marginBottom : _vm.widgetCircle2, opacity : _vm.itemOpacity}),on:{\"click\":function($event){$event.preventDefault();return _vm.showChatWidget()}}},[_vm._m(1)])]),_c('div',{staticClass:\"at-chatfloat\",on:{\"click\":function($event){$event.preventDefault();return _vm.toggleWidgetChat()}}},[_c('span',[(_vm.isMobileView && _vm.getTotalUnreadCount)?_c('em',{staticClass:\"at-userchat_tab-noti\"},[_vm._v(_vm._s(_vm.getTotalUnreadCount > 99 ? '+99' : _vm.getTotalUnreadCount))]):_vm._e(),_c('a',{attrs:{\"id\":\"at-float_widget_icon\",\"href\":\"javascript:void(0);\"}},[_c('i',{staticClass:\"guppy-x\"}),_c('img',{attrs:{\"src\":_vm.floatingIcon,\"alt\":\"floating button\"}})])])])]:(_vm.whatsappSupportEnable)?_c('div',{staticClass:\"at-chatfloat at-whatsappgp\"},[_c('span',[_c('a',{attrs:{\"href\":\"javascript:void(0);\",\"id\":\"at-whatsappchatopen\"},on:{\"click\":function($event){$event.preventDefault();return _vm.toggleWhatsappChat()}}},[_c('whatsapp-image',{attrs:{\"ImageColor\":'white'}})],1)])]):_vm._e()],2),_c('sidebar-popup')],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{attrs:{\"id\":\"at-float_widget_close\",\"href\":\"javascript:void(0);\"}},[_c('i',{staticClass:\"guppy-x\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{attrs:{\"href\":\"javascript:void(0);\",\"id\":\"at-themechatopen\"}},[_c('i',{staticClass:\"guppy-message-square\"})])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.minimizeChats.topChats.length)?_c('ul',{staticClass:\"at-floatimglist\"},[_vm._l((_vm.minimizeChats.topChats),function(single){return _c('li',{key:single.chatId},[_c('a',{attrs:{\"href\":\"javascript:void(0);\"}},[([1,3].includes(Number(single.chatType)))?[_c('img',{attrs:{\"src\":single.userAvatar ? single.userAvatar : _vm.defaultAvatar,\"alt\":single.userName},on:{\"click\":function($event){$event.preventDefault();return _vm.minimizeWidgetChatbox(single.chatId)}}}),_c('span',{staticClass:\"at-infotolltip\"},[_c('em',[_vm._v(_vm._s(single.userName))])])]:_vm._e(),_c('i',{staticClass:\"guppy-x\",on:{\"click\":function($event){$event.preventDefault();return _vm.closeWidgetChatbox(single.chatId)}}}),(single.UnreadCount > 0)?_c('span',{staticClass:\"at-userstatus notify\"}):_vm._e()],2)])}),(_vm.minimizeChats.bottomChats.length)?_c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0);\",\"id\":\"at_moreitems\"},on:{\"click\":function($event){$event.preventDefault();return _vm.toggleUsersMenue(!_vm.isOpenMenu)}}},[_c('em',[_c('i',{class:_vm.isOpenMenu ? 'guppy-x' : 'guppy-more-horizontal'})])]),_c('div',{staticClass:\"at-floatdropdownholder\"},[_c('ul',{staticClass:\"at-floatdropdown\"},_vm._l((_vm.minimizeChats.bottomChats),function(single){return _c('li',{key:single.chatId},[_c('a',{attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();return _vm.minimizeWidgetChatbox(single.chatId)}}},[([1,3].includes(single.chatType))?[_c('img',{attrs:{\"src\":single.userAvatar ? single.userAvatar : _vm.defaultAvatar,\"alt\":single.userName}})]:_vm._e()],2)])}),0),_c('a',{attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();return _vm.closeAllChats()}}},[_c('i',{staticClass:\"guppy-x\"}),_vm._v(_vm._s(_vm.TRANS.close_all_conversation)+\" \")])])]):_vm._e()],2):_vm._e(),(Object.keys(_vm.chats).length)?_vm._l((_vm.chats),function(chat){return _c('guppywidget-chat-box',{key:chat.chatId,attrs:{\"chatId\":chat.chatId}})}):[(_vm.enableWhatsappWidgetBox)?_c('whatsapp-chat-box'):(_vm.isOpenSignInWindow)?_c('sign-in-box',{on:{\"closeSignInWindow\":function($event){_vm.isOpenSignInWindow = false}}}):_vm._e()]],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-floatchat\",class:_vm.floatChatClass,attrs:{\"id\":(\"floatchat_\" + _vm.chatId)}},[_c('div',{staticClass:\"at-floatchat_content\"},[_c('guppywidget-chat-box-header',{attrs:{\"chatInfo\":_vm.chatInfo}}),_c('messages-container',{attrs:{\"chatId\":_vm.chatId}}),_c('guppywidget-chat-box-footer',{attrs:{\"chatInfo\":_vm.chatInfo}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-floatchat_title\"},[([1,3].includes(Number(_vm.chatInfo.chatType)))?_c('figure',{staticClass:\"at-singleimg\"},[_c('img',{attrs:{\"src\":_vm.chatInfo.userAvatar ? _vm.chatInfo.userAvatar : _vm.defaultAvatar,\"alt\":\"profile image\"}}),_c('span',{staticClass:\"at-userstatus\",class:_vm.chatInfo.isOnline && _vm.userType == 1 ? 'online' : 'offline'})]):_vm._e(),_c('h2',[_c('em',[_vm._v(_vm._s(_vm.title))])]),_c('div',{staticClass:\"at-floatchat_title-right\"},[_c('div',{staticClass:\"at-floatchatdropdownholder\"},[_c('a',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.closeMenu),expression:\"closeMenu\"}],staticClass:\"at-floatchatdrop\",attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();return _vm.toggleMenu()}}},[_c('i',{staticClass:\"guppy-chevron-down\"})]),_c('div',{staticClass:\"at-floatchatdropdown\",staticStyle:{\"display\":\"none\"},attrs:{\"id\":(\"dropdown_\" + _vm.chatId)}},[_c('div',{staticClass:\"at-chat_sidebarsettingcontent at-openmsg\"},[_c('a',{attrs:{\"href\":_vm.messangerPage,\"target\":\"_blank\"}},[_c('i',{staticClass:\"guppy-external-link\"}),_vm._v(_vm._s(_vm.TRANS.open_in_messenger))])]),(_vm.chatInfo.chatType == 1)?[_c('div',{staticClass:\"at-chat_sidebarsettingcontent\"},[_c('h4',[_vm._v(_vm._s(_vm.TRANS.actions))]),_c('a',{class:{'at-disable-btn' : _vm.notificationLoader },attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();return _vm.muteNotification()}}},[_vm._v(\" \"+_vm._s(_vm.muteChatNotify ? _vm.TRANS.unmute_conversation : _vm.TRANS.mute_conversation)+\" \")])]),_c('div',{staticClass:\"at-chat_sidebarsettingcontent\"},[_c('h4',[_vm._v(_vm._s(_vm.TRANS.privacy_settings))]),[(_vm.chatInfo.isBlocked)?[(_vm.chatInfo.blockedId != _vm.userId)?_c('a',{staticClass:\"at-danger\",attrs:{\"href\":\"javascript:void(0);\",\"guppy-data-target\":\"#blockuser\"},on:{\"click\":function($event){$event.preventDefault();return _vm.updateSelectChatId()}}},[_vm._v(\" \"+_vm._s(_vm.TRANS.unblock_user)+\" \")]):_vm._e()]:[_c('a',{staticClass:\"at-danger\",attrs:{\"href\":\"javascript:void(0);\",\"guppy-data-target\":\"#blockuser\"},on:{\"click\":function($event){$event.preventDefault();return _vm.updateSelectChatId()}}},[_vm._v(\" \"+_vm._s(_vm.TRANS.block_user)+\" \")])]],(_vm.isAllowClearChat)?_c('a',{staticClass:\"at-danger\",attrs:{\"href\":\"javascript:void(0);\",\"guppy-data-target\":\"#clearchat\"},on:{\"click\":function($event){$event.preventDefault();return _vm.updateSelectChatId()}}},[_vm._v(\" \"+_vm._s(_vm.TRANS.clear_chat)+\" \")]):_vm._e()],2)]:_vm._e()],2)]),(!_vm.isMobileView)?_c('a',{staticClass:\"at-minimize\",attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();return _vm.minimizeWidgetChatbox()}}},[_c('i',{staticClass:\"guppy-minus\",attrs:{\"id\":'guppy-minus'+_vm.chatId}})]):_vm._e(),_c('a',{staticClass:\"at-removechat\",attrs:{\"href\":\"javascript:void(0);\"}},[_c('i',{staticClass:\"guppy-x\",on:{\"click\":function($event){$event.preventDefault();return _vm.closeWidgetChatbox()}}})])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"at-floatchat_title\">\r\n <figure v-if=\"[1,3].includes(Number(chatInfo.chatType))\" class=\"at-singleimg\">\r\n <img :src=\"chatInfo.userAvatar ? chatInfo.userAvatar : defaultAvatar\" alt=\"profile image\" />\r\n <span class=\"at-userstatus\" :class=\"chatInfo.isOnline && userType == 1 ? 'online' : 'offline'\"></span>\r\n </figure>\r\n <h2><em>{{title}}</em></h2>\r\n <div class=\"at-floatchat_title-right\">\r\n <div class=\"at-floatchatdropdownholder\">\r\n <a href=\"javascript:void(0);\" class=\"at-floatchatdrop\" v-click-outside=\"closeMenu\" @click.prevent=\"toggleMenu()\"><i class=\"guppy-chevron-down\"></i></a>\r\n <div class=\"at-floatchatdropdown\" :id=\"`dropdown_${chatId}`\" style=\"display:none\">\r\n <div class=\"at-chat_sidebarsettingcontent at-openmsg\">\r\n <a :href=\"messangerPage\" target=\"_blank\"><i class=\"guppy-external-link\"></i>{{TRANS.open_in_messenger}}</a>\r\n </div>\r\n <template v-if=\"chatInfo.chatType == 1\" >\r\n <div class=\"at-chat_sidebarsettingcontent\">\r\n <h4>{{TRANS.actions}}</h4>\r\n <a href=\"javascript:void(0);\" @click.prevent=\"muteNotification()\" :class=\"{'at-disable-btn' : notificationLoader }\" > \r\n {{muteChatNotify ? TRANS.unmute_conversation : TRANS.mute_conversation}}\r\n </a>\r\n </div>\r\n <div class=\"at-chat_sidebarsettingcontent\">\r\n <h4>{{TRANS.privacy_settings}}</h4>\r\n <template>\r\n <template v-if=\"chatInfo.isBlocked\">\r\n <a v-if=\"chatInfo.blockedId != userId\" href=\"javascript:void(0);\" class=\"at-danger\" @click.prevent=\"updateSelectChatId()\" guppy-data-target=\"#blockuser\">\r\n {{TRANS.unblock_user}}\r\n </a>\r\n </template>\r\n <template v-else> \r\n <a href=\"javascript:void(0);\" @click.prevent=\"updateSelectChatId()\" class=\"at-danger\" guppy-data-target=\"#blockuser\">\r\n {{TRANS.block_user}}\r\n </a>\r\n </template>\r\n </template>\r\n <a href=\"javascript:void(0);\" v-if=\"isAllowClearChat\" class=\"at-danger\" guppy-data-target=\"#clearchat\" @click.prevent=\"updateSelectChatId()\">\r\n {{TRANS.clear_chat}}\r\n </a>\r\n </div>\r\n </template>\r\n </div>\r\n </div>\r\n <a href=\"javascript:void(0);\" class=\"at-minimize\" v-if=\"!isMobileView\" @click.prevent=\"minimizeWidgetChatbox()\"><i class=\"guppy-minus\" :id=\"'guppy-minus'+chatId\"></i></a>\r\n <a href=\"javascript:void(0);\" class=\"at-removechat\"><i class=\"guppy-x\" @click.prevent=\"closeWidgetChatbox()\" ></i></a>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport jQuery from 'jquery';\r\nimport { GUPPYCHAT_SETTINGS, GUPPYCHAT_CONSTANTS } from \"../../resources/constants\";\r\nimport RestApiManager from \"../../resources/RestApiController\";\r\nimport { mapState } from \"vuex\"\r\nexport default {\r\n name : \"GuppywidgetChatBoxHeader\",\r\n props:['chatInfo'],\r\n data(){\r\n return {\r\n chatId : this.chatInfo.chatId,\r\n notificationLoader : false,\r\n defaultAvatar : GUPPYCHAT_CONSTANTS.AVATAR,\r\n messangerPage : GUPPYCHAT_SETTINGS.messangerPage !='' ? GUPPYCHAT_SETTINGS.messangerPage+GUPPYCHAT_SETTINGS.messangerPageSeprator+'chat_type='+this.chatInfo.chatType+'&chat_id='+this.chatInfo.chatId+'&type=messanger' : window.location.href,\r\n }\r\n },\r\n computed:{\r\n ...mapState({\r\n isMobileView : state => state.isMobileView\r\n }),\r\n muteChatNotify(){\r\n return this.$store.getters.muteChatNotify(this.chatId);\r\n },\r\n title(){\r\n if ( [1,3].includes( Number(this.chatInfo.chatType)) ){\r\n return this.chatInfo.userName\r\n }\r\n return '';\r\n },\r\n isAllowClearChat(){\r\n return GUPPYCHAT_SETTINGS.clearChatOption\r\n },\r\n },\r\n methods:{\r\n updateSelectChatId() {\r\n this.$store.commit('updateSelectedChatId', {chatId : this.chatInfo.chatId})\r\n this.toggleMenu();\r\n },\r\n closeWidgetChatbox(){\r\n jQuery(`#floatchat_${this.chatId}`).addClass('at-minimizefloatchat');\r\n this.$store.commit('closeWidgetChatbox', {chatId: this.chatId })\r\n },\r\n minimizeWidgetChatbox(){\r\n jQuery('#guppy-minus'+this.chatId).parents('.at-floatchat').addClass('at-minimizefloatchat');\r\n this.$store.commit('minimizeWidgetChatbox', {chatId: this.chatId, isMinimize:true });\r\n if(this.userType == 0){\r\n this.$root.$emit('toggleSignInWindow', false)\r\n }\r\n },\r\n toggleMenu(){\r\n jQuery(`#dropdown_${this.chatId}`).slideToggle();\r\n },\r\n closeMenu(){\r\n jQuery(`#dropdown_${this.chatId}`).slideUp();\r\n },\r\n async muteNotification(){\r\n let actionTo = this.chatInfo.chatId.split('_')[0];\r\n\t\t\t\tlet data = {\r\n\t\t\t\t\tmuteType : 0,\r\n\t\t\t\t\tuserId : this.userId,\r\n\t\t\t\t\tchatId : this.chatInfo.chatId,\r\n\t\t\t\t\tchatType : this.chatInfo.chatType,\r\n actionTo : actionTo,\r\n\t\t\t\t}\r\n\t\t\t\tthis.notificationLoader = true;\r\n let response = await RestApiManager.muteNotification(data);\r\n this.notificationLoader = false;\r\n if( response.data.type == 'error'){\r\n this.alertBox('error', this.TRANS.error_title, response.data.desc)\r\n }\r\n\t\t\t}\r\n },\r\n\r\n}\r\n</script>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppywidgetChatBoxHeader.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppywidgetChatBoxHeader.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppywidgetChatBoxHeader.vue?vue&type=template&id=66173a9c&\"\nimport script from \"./GuppywidgetChatBoxHeader.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppywidgetChatBoxHeader.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.chatInfo.isBlocked && _vm.chatInfo.blockedId == _vm.userId)?_c('div',{staticClass:\"at-chatblockuser\"},[_c('span',[_vm._v(\" \"+_vm._s(_vm.TRANS.you_are_blocked)+\" \")])]):(_vm.chatInfo.isBlocked && _vm.chatInfo.blockedId != _vm.userId)?_c('div',{staticClass:\"at-chatblockuser\"},[_c('runtime-template-compiler',{attrs:{\"template\":_vm.unblockButtonText}})],1):[_c('div',{staticClass:\"at-replay\",class:{'at-replay_disable' : _vm.isDisabledFooter(_vm.chatInfo.chatId) }},[(_vm.quoteMessage)?_c('guppy-chat-quoted-messages',{attrs:{\"quoteMsgProps\":_vm.quoteMessage},on:{\"removeQuoteMessage\":function($event){return _vm.removeQuote();}}}):_vm._e(),_c('span',{staticClass:\"at-typing\",domProps:{\"innerHTML\":_vm._s(_vm.typingUsers)}}),_c('div',{staticClass:\"at-widgetreply\"},[_c('send-text-message',{attrs:{\"chatId\":_vm.chatInfo.chatId}}),(_vm.inputTypingText)?_c('a',{staticClass:\"at-sendmsg-responsive\",attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){$event.preventDefault();return _vm.sendTextMessage()}}},[_c('i',{staticClass:\"guppy-send\"})]):_vm._e()],1)],1)],_vm._m(0)],2)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:\"at-chat_sidebar_footervtwo\"},[_c('li'),_c('li')])}]\n\nexport { render, staticRenderFns }","<template>\r\n <div>\r\n <!-- show block user text -->\r\n <div v-if=\"chatInfo.isBlocked && chatInfo.blockedId == userId\" class=\"at-chatblockuser\" >\r\n <span> {{ TRANS.you_are_blocked }} </span>\r\n </div>\r\n <!-- for unblock user -->\r\n <div v-else-if=\"chatInfo.isBlocked && chatInfo.blockedId != userId\" class=\"at-chatblockuser\" >\r\n <runtime-template-compiler :template=\"unblockButtonText\" />\r\n </div> \r\n <template v-else>\r\n <div class=\"at-replay\" :class=\"{'at-replay_disable' : isDisabledFooter(chatInfo.chatId) }\">\r\n <guppy-chat-quoted-messages @removeQuoteMessage=\"removeQuote();\" v-if=\"quoteMessage\" :quoteMsgProps=\"quoteMessage\"/>\r\n <span v-html=\"typingUsers\" class=\"at-typing\"></span>\r\n <div class=\"at-widgetreply\">\r\n <send-text-message :chatId=\"chatInfo.chatId\"/>\r\n <a v-if=\"inputTypingText\" @click.prevent=\"sendTextMessage()\" href=\"javascript:void(0)\" class=\"at-sendmsg-responsive\" ><i class=\"guppy-send\"></i></a>\r\n </div>\r\n </div>\r\n </template>\r\n <ul class=\"at-chat_sidebar_footervtwo\">\r\n <li></li>\r\n <li></li>\r\n </ul>\r\n </div>\r\n</template>\r\n<script>\r\n import GuppyChatQuotedMessages from \"../GuppyChatMessages/GuppyChatQuotedMessages/GuppyChatQuotedMessages.vue\";\r\n import GuppyChatSendTextMessage from \"../GuppyChatMessages/GuppyChatMessageFooter/GuppyChatSendTextMessage.vue\";\r\n import { GUPPYCHAT_SETTINGS , GUPPYCHAT_TRANSLATION } from \"../../resources/constants\";\r\n import { mapGetters } from 'vuex';\r\n\r\n export default {\r\n name : \"GuppywidgetChatBoxFooter\",\r\n components:{\r\n GuppyChatQuotedMessages,\r\n SendTextMessage : GuppyChatSendTextMessage,\r\n },\r\n props:{\r\n 'chatInfo':{\r\n type: Object,\r\n required : true,\r\n default : ()=>{\r\n return new Object();\r\n }\r\n },\r\n },\r\n computed:{\r\n inputTypingText(){\r\n return this.$store.getters.getMessageInput(this.chatInfo.chatId)\r\n },\r\n unblockButtonText() {\r\n let text = GUPPYCHAT_TRANSLATION.blocked_user_message;\r\n let buttonText = GUPPYCHAT_TRANSLATION.unblock_now;\r\n let button = '<a href=\"javascript:;\" @click.prevent=\"updateSelectChatId()\" guppy-data-target=\"#blockuser\">' + buttonText + \" </a>\";\r\n let updatedText = `<span>${text.replace(\"%Unblock%\", button)}</span>`;\r\n return updatedText;\r\n },\r\n typingUsers(){\r\n let data = this.$store.getters.typingUsersIndicatorText(this.chatInfo.chatId);\r\n let isTypingText = GUPPYCHAT_TRANSLATION.is_typing\r\n let areTypingText = GUPPYCHAT_TRANSLATION.are_typing\r\n let moreTypingText = GUPPYCHAT_TRANSLATION.more_user_typing\r\n let indicator = data.indicator , typingUsers = data.typingUsers, tUsers = data.tUsers, typingText = '';\r\n if( tUsers ){\r\n if( indicator == 'isTypingText' && typingUsers ){\r\n typingText = `<em class=\"at-typing-name\">${typingUsers}</em>${isTypingText}`;\r\n } else if( indicator == 'areTypingText' && typingUsers ){\r\n typingText = `<em class=\"at-typing-name\">${typingUsers}</em>${areTypingText}`;\r\n } else {\r\n let moreText = `<em class=\"at-typing-name\">${typingUsers}</em>${moreTypingText}`;\r\n typingText = moreText.replace('((user_count))', Number(tUsers)-3 )\r\n }\r\n typingText +='<em><img src=\"'+GUPPYCHAT_SETTINGS.typingIcon+'\" alt=\"users typing\"></em>';\r\n }\r\n return typingText\r\n },\r\n quoteMessage : function(){\r\n return this.$store.getters.getQuoteMessage(this.chatInfo.chatId)\r\n },\r\n quoteMessageId(){\r\n return this.$store.getters.getQuoteMessageId()\r\n },\r\n ...mapGetters({\r\n 'isDisabledFooter': 'isDisabledFooter',\r\n }),\r\n },\r\n methods:{\r\n sendTextMessage(){\r\n let messageInputId = document.getElementById(`input-text-message-${this.chatInfo.chatId}`);\r\n if(messageInputId){\r\n messageInputId.focus();\r\n }\r\n this.$root.$emit('sendMessage', {chatId : this.chatInfo.chatId});\r\n },\r\n updateSelectChatId() {\r\n this.$store.commit('updateSelectedChatId', {chatId : this.chatInfo.chatId})\r\n },\r\n removeQuote(){\r\n this.$store.commit('removeQuote', {chatId: this.chatInfo.chatId});\r\n },\r\n }\r\n }\r\n</script>\r\n<style scoped>\r\n .at-floatchat_content .at-replay_msg {\r\n padding: 0;\r\n}\r\n.at-floatchat_content .at-replay_msg input {\r\n height: 40px;\r\n border-radius: 3px;\r\n}\r\n.at-replay_msg > a:not(.at-sendmsg) + input {\r\n padding-right: 60px;\r\n}\r\n.at-floatchat_content .at-replay_msg input {\r\n height: 40px;\r\n border-radius: 3px;\r\n}\r\n.at-floatchat_content .at-replay{\r\n display: block;\r\n border-top: 1px solid #DDDDDD;\r\n background-color: #f7f7f7;\r\n}\r\n.at-floatchat_content .at-replay_msg > a:not(.at-sendmsg) {\r\n right: 21px;\r\n}\r\n.at-floatchat_content .at-chat_sidebar_footer {\r\n position: static;\r\n}\r\n.at-floatchat_content .at-chat_sidebar_footer li {\r\n padding: 0 !important;\r\n width: 100% !important;\r\n}\r\n.at-floatchat_content .at-chat_sidebar_footer li > div{width: 100%;}\r\n.at-floatchat_content .at-chat_sidebar_footer a {\r\n padding: 18px 15px;\r\n width: 100%;\r\n display: flex;\r\n justify-content: center;\r\n}\r\n.at-floatchat_content .at-chat_sidebar_footer a.active {\r\n color: #fff;\r\n background-color: #FF7300;\r\n}\r\n.at-chat_sidebar_footervtwo{\r\n background-color: var(--secguppycolor);\r\n position: static;\r\n display: flex;\r\n padding: 0;\r\n margin: 0;\r\n width: 100%;\r\n}\r\n.at-chat_sidebar_footervtwo li{\r\n padding: 14px 0;\r\n\r\n}\r\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppywidgetChatBoxFooter.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppywidgetChatBoxFooter.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppywidgetChatBoxFooter.vue?vue&type=template&id=4e208769&scoped=true&\"\nimport script from \"./GuppywidgetChatBoxFooter.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppywidgetChatBoxFooter.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuppywidgetChatBoxFooter.vue?vue&type=style&index=0&id=4e208769&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4e208769\",\n null\n \n)\n\nexport default component.exports","<template>\r\n <div class=\"at-floatchat\" :class=\"floatChatClass\" :id=\"`floatchat_${chatId}`\">\r\n <div class=\"at-floatchat_content\">\r\n <guppywidget-chat-box-header :chatInfo=\"chatInfo\"/>\r\n <messages-container :chatId=\"chatId\"/>\r\n <guppywidget-chat-box-footer :chatInfo=\"chatInfo\" />\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport GuppywidgetChatBoxHeader from \"./GuppywidgetChatBoxHeader.vue\";\r\nimport GuppywidgetChatBoxFooter from \"./GuppywidgetChatBoxFooter.vue\";\r\nimport GuppyChatMessagesContainer from \"../GuppyChatMessages/GuppyChatMessages/GuppyChatMessagesContainer.vue\";\r\nexport default {\r\n name : \"GuppywidgetChatBox\",\r\n props:['chatId'],\r\n components: {\r\n GuppywidgetChatBoxHeader,\r\n GuppywidgetChatBoxFooter,\r\n MessagesContainer : GuppyChatMessagesContainer\r\n },\r\n computed:{\r\n chatInfo(){\r\n return this.$store.getters.getChatInfo(this.chatId);\r\n },\r\n quoteMessage : function(){\r\n return this.$store.getters.getQuoteMessage(this.chatId)\r\n },\r\n floatChatClass : function(){\r\n let quoteMessage = this.$store.getters.getQuoteMessage(this.chatId);\r\n let replyClass = '';\r\n if(quoteMessage){\r\n replyClass = 'at-floatchat-reply';\r\n }\r\n return replyClass;\r\n }\r\n },\r\n}\r\n</script>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppywidgetChatBox.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppywidgetChatBox.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppywidgetChatBox.vue?vue&type=template&id=2982c384&\"\nimport script from \"./GuppywidgetChatBox.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppywidgetChatBox.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"gp-floatchat gp-whatsappfloat\",attrs:{\"id\":(\"whatsappchat_\" + (_vm.chatInfo.chatId))}},[_c('div',{staticClass:\"gp-floatchat_content gp-whatsappchat gp-widget-box\"},[_c('div',{staticClass:\"gp-floatchat_title gp-floatchat_titlev2\"},[_c('figure',{staticClass:\"gp-singleimg\",class:{'gp-notavailable' : !_vm.chatInfo.isOnline}},[_c('img',{attrs:{\"src\":_vm.chatInfo.userAvatar ? _vm.chatInfo.userAvatar : _vm.defaultAvatar,\"alt\":_vm.chatInfo.userName}}),_c('span',{staticClass:\"gp-userstatus\",class:_vm.chatInfo.isOnline ? 'online' : 'offline'})]),_c('div',{staticClass:\"gp-whatsapptitle\"},[(_vm.chatInfo.userName)?_c('h2',[_vm._v(_vm._s(_vm._f(\"capitalize\")(_vm.chatInfo.userName)))]):_vm._e(),_c('div',{staticClass:\"gp-floatchat_title-right\"},[_c('a',{attrs:{\"href\":\"javascript:void(0);\"}},[_c('i',{staticClass:\"guppy-x\",on:{\"click\":function($event){$event.preventDefault();return _vm.closeWidgetChatbox()}}})])])])]),_c('div',{staticClass:\"gp-messagewrap\",style:(_vm.chatBackround)},[(_vm.isLoading)?_c('div',{staticClass:\"gp-msgautotyper\"},[_c('img',{attrs:{\"src\":_vm.typingIcon,\"alt\":_vm.TRANS.whatsapp_loading_msg}})]):_c('div',{staticClass:\"gp-messages\"},[_c('div',{staticClass:\"gp-message\"},[_c('span',{directives:[{name:\"linkified\",rawName:\"v-linkified\"}],domProps:{\"innerHTML\":_vm._s(_vm.userMessageText)}}),_c('span',{staticClass:\"gp-message_time\"},[_vm._v(_vm._s(_vm.currentTime))])])])]),_c('div',{staticClass:\"at-replay at-replaywt\"},[_c('send-text-message',{attrs:{\"chatId\":'00_4'}}),_c('span',[(_vm.getMessageInput)?_c('a',{staticClass:\"at-send\",attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();return _vm.sendTextMessage()}}},[_c('i',{staticClass:\"guppy-send\"})]):_vm._e()])],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"gp-floatchat gp-whatsappfloat\" :id=\"`whatsappchat_${chatInfo.chatId}`\">\r\n <div class=\"gp-floatchat_content gp-whatsappchat gp-widget-box\">\r\n <div class=\"gp-floatchat_title gp-floatchat_titlev2\">\r\n <figure class=\"gp-singleimg\" :class=\"{'gp-notavailable' : !chatInfo.isOnline}\">\r\n <img :src=\"chatInfo.userAvatar ? chatInfo.userAvatar : defaultAvatar\" :alt=\"chatInfo.userName\">\r\n <span class=\"gp-userstatus\" :class=\"chatInfo.isOnline ? 'online' : 'offline'\"></span>\r\n </figure>\r\n <div class=\"gp-whatsapptitle\">\r\n <h2 v-if=\"chatInfo.userName\">{{ chatInfo.userName | capitalize }}</h2>\r\n <div class=\"gp-floatchat_title-right\">\r\n <a href=\"javascript:void(0);\"><i class=\"guppy-x\" @click.prevent=\"closeWidgetChatbox()\" ></i></a>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"gp-messagewrap\" :style=\"chatBackround\" >\r\n <div v-if=\"isLoading\" class=\"gp-msgautotyper\">\r\n <img :src=\"typingIcon\" :alt=\"TRANS.whatsapp_loading_msg\">\r\n </div>\r\n <div v-else class=\"gp-messages\">\r\n <div class=\"gp-message\"> \r\n <span v-linkified v-html=\"userMessageText\"></span> \r\n <span class=\"gp-message_time\">{{currentTime}}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"at-replay at-replaywt\">\r\n <send-text-message :chatId=\"'00_4'\"/>\r\n <span><a v-if=\"getMessageInput\" @click.prevent=\"sendTextMessage()\" href=\"javascript:void(0);\" class=\"at-send\"><i class=\"guppy-send\"></i></a></span>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import moment from \"moment\";\r\n import GuppyChatSendTextMessage from \"../GuppyChatMessages/GuppyChatMessageFooter/GuppyChatSendTextMessage.vue\"\r\n import { GUPPYCHAT_SETTINGS, GUPPYCHAT_CONSTANTS } from \"../../resources/constants\";\r\n import jQuery from 'jquery';\r\n import Vue from 'vue'\r\n import linkify from 'vue-linkify';\r\n Vue.directive('linkified', linkify);\r\n export default {\r\n name : 'GuppyWhatsappChatBox',\r\n components : {\r\n SendTextMessage : GuppyChatSendTextMessage,\r\n },\r\n data(){\r\n return {\r\n defaultAvatar : GUPPYCHAT_CONSTANTS.AVATAR,\r\n currentTime : moment().format(\"LT\"),\r\n typingIcon : GUPPYCHAT_SETTINGS.typingIcon,\r\n whatsappBackground : GUPPYCHAT_SETTINGS.whatsappBackground,\r\n }\r\n },\r\n computed:{\r\n chatBackround(){\r\n if(this.whatsappBackground){\r\n return { backgroundImage : `url(${this.whatsappBackground})` }\r\n }\r\n return { backgroundColor : '#F7F1E7' };\r\n },\r\n chatInfo(){\r\n return this.$store.getters.getChatInfo('00_4');\r\n },\r\n getMessageInput(){\r\n return this.$store.getters.getMessageInput('00_4');\r\n },\r\n userMessageText(){\r\n let chatInfo = this.$store.getters.getChatInfo('00_4');\r\n if(Object.keys(chatInfo).length){\r\n return chatInfo.isOnline ? chatInfo.userDefaultMessage : chatInfo.userOfflineMessage\r\n }\r\n return '';\r\n }\r\n \r\n },\r\n watch:{\r\n chatInfo(newVal, oldVal){\r\n if(newVal.chatId != oldVal.chatId){\r\n if(newVal.isOnline){\r\n this.isLoading = true;\r\n this.loadingMessage();\r\n }\r\n }\r\n }\r\n },\r\n methods:{\r\n sendTextMessage(){\r\n document.getElementById(`input-text-message-${this.chatInfo.chatId}`).focus();\r\n this.$root.$emit('openWhatsapp', {chatId : this.chatInfo.chatId});\r\n },\r\n closeWidgetChatbox(){\r\n jQuery('.gp-chat').removeClass('gp-opnchatbox');\r\n this.$store.commit('removeChatInfo', {chatId:'00_4'});\r\n },\r\n loadingMessage(){\r\n setTimeout(()=>{\r\n this.isLoading = false;\r\n },2000);\r\n }\r\n },\r\n created(){\r\n if(this.chatInfo.isOnline){\r\n this.isLoading = true;\r\n this.loadingMessage()\r\n }\r\n }\r\n }\r\n</script>\r\n\r\n<style scoped>\r\n.at-whatsappchat .at-messagewrap{\r\n height: 100%;\r\n padding: 30px;\r\n min-height: auto;\r\n max-height: 100%;\r\n background-size: cover;\r\n background-repeat: no-repeat;\r\n}\r\n.at-whatsappchat .at-messages{\r\n padding: 0;\r\n}\r\n.at-whatsappchat .at-message{\r\n font-size: 15px;\r\n max-width: 100%;\r\n line-height: 22px;\r\n padding: 20px 20px 14px 20px; \r\n}\r\n.at-whatsappchat .at-message span{\r\n margin: 0;\r\n}\r\n.at-whatsappchat{\r\n height: 100vh;\r\n max-height: 427px;\r\n}\r\n.at-whatsappchat .at-messagewrap > img{\r\n padding: 30px;\r\n display: block;\r\n}\r\n.at-floatchat_titlev2 .at-floatchat_title-right a{\r\n font-size: 28px;\r\n}\r\n.at-replaywt{\r\n height: 80px;\r\n padding: 15px 20px 20px;\r\n}\r\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyWhatsappChatBox.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyWhatsappChatBox.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyWhatsappChatBox.vue?vue&type=template&id=9a02c88c&scoped=true&\"\nimport script from \"./GuppyWhatsappChatBox.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyWhatsappChatBox.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuppyWhatsappChatBox.vue?vue&type=style&index=0&id=9a02c88c&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"9a02c88c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-sidbarwrapper at-userlist_tab at-contacts_list\"},[_c('div',{staticClass:\"at-chatfloatholder\"},[_c('div',{staticClass:\"at-floatchat at-signin\"},[_c('div',{staticClass:\"at-floatchat_content\"},[_c('div',{staticClass:\"at-floatchat_title\"},[_c('h2',[_vm._v(_vm._s(_vm.TRANS.signin_box_hdr_txt))]),_c('div',{staticClass:\"at-floatchat_title-right\"},[_c('a',{staticClass:\"at-removechat\",attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();return _vm.$root.$emit('toggleSignInWindow',false)}}},[_c('i',{staticClass:\"guppy-x\"})])])]),_c('form',{staticClass:\"at-themeform at-floatsignin\"},[_c('fieldset',[(_vm.selectedTab == 'guest')?[_c('guest-user-login')]:(_vm.selectedTab == 'real')?[_c('real-user-login')]:_vm._e()],2)]),(!_vm.userId)?_c('ul',{staticClass:\"at-joinnow\"},[(_vm.selectedTab == 'real')?_c('li',{on:{\"click\":function($event){$event.preventDefault();_vm.selectedTab = 'guest'}}},[_c('span',[_vm._v(_vm._s(_vm.TRANS.dont_have_account_txt)+\" \"),_c('a',{attrs:{\"href\":\"javascript:void(0);\"}},[_vm._v(_vm._s(_vm.TRANS.guest_login_txt))])])]):_vm._e(),(_vm.selectedTab == 'guest')?_c('li',{on:{\"click\":function($event){$event.preventDefault();_vm.selectedTab = 'real'}}},[_c('span',[_vm._v(_vm._s(_vm.TRANS.have_account_txt)+\" \"),_c('a',{attrs:{\"href\":\"javascript:void(0);\"}},[_vm._v(_vm._s(_vm.TRANS.login_txt))])])]):_vm._e()]):_vm._e()])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-form-group-wrap\"},[_c('div',{staticClass:\"at-form-group\"},[_c('label',{staticClass:\"at-formtitle at-important\"},[_vm._v(_vm._s(_vm.TRANS.name_txt))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.data.guestName),expression:\"data.guestName\"}],staticClass:\"at-form-control\",attrs:{\"type\":\"text\",\"required\":\"\",\"placeholder\":_vm.TRANS.name_txt},domProps:{\"value\":(_vm.data.guestName)},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.signIn()},\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.data, \"guestName\", $event.target.value)}}})]),_c('div',{staticClass:\"at-form-group\"},[_c('label',{staticClass:\"at-formtitle at-important\"},[_vm._v(_vm._s(_vm.TRANS.email))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.data.guestEmail),expression:\"data.guestEmail\"}],staticClass:\"at-form-control\",attrs:{\"type\":\"email\",\"required\":\"\",\"placeholder\":_vm.TRANS.email},domProps:{\"value\":(_vm.data.guestEmail)},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.signIn()},\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.data, \"guestEmail\", $event.target.value)}}})]),_c('div',{staticClass:\"at-form-group\"},[_c('a',{staticClass:\"at-btn\",class:{'at-disable-btn' : _vm.isloading },attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();return _vm.signIn()}}},[_vm._v(_vm._s(_vm.TRANS.start_chat_text))])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"at-form-group-wrap\">\r\n <div class=\"at-form-group\">\r\n <label class=\"at-formtitle at-important\">{{TRANS.name_txt}}</label>\r\n <input type=\"text\" @keyup.enter=\"signIn()\" v-model=\"data.guestName\" required class=\"at-form-control\" :placeholder=\"TRANS.name_txt\">\r\n </div>\r\n <div class=\"at-form-group\">\r\n <label class=\"at-formtitle at-important\">{{TRANS.email}}</label>\r\n <input type=\"email\" required @keyup.enter=\"signIn()\" v-model=\"data.guestEmail\" class=\"at-form-control\" :placeholder=\"TRANS.email\">\r\n </div>\r\n <div class=\"at-form-group\">\r\n <a href=\"javascript:void(0);\" :class=\"{'at-disable-btn' : isloading }\" @click.prevent=\"signIn()\" class=\"at-btn\">{{TRANS.start_chat_text}}</a>\r\n </div>\r\n </div> \r\n</template>\r\n\r\n<script>\r\nimport GuppyChatManager from \"../../../resources/controller\";\r\nimport RestApiManager from \"../../../resources/RestApiController\";\r\nexport default {\r\n name : 'GuestUserLogin',\r\n data(){\r\n return {\r\n data : { \r\n guestName : '',\r\n guestEmail : '',\r\n },\r\n isloading : false\r\n }\r\n },\r\n methods:{\r\n signIn(){\r\n if(!this.isloading){\r\n this.isloading = true;\r\n if(this.data.guestName && this.data.guestEmail ){\r\n if(GuppyChatManager.validateEmail(this.data.guestEmail)){\r\n this.axios.post('register-guppy-account', this.data).then( response =>{\r\n this.isloading = false;\r\n if(response.data.type == 'success' ){\r\n let data = response.data;\r\n this.axios.defaults.headers.common['Authorization'] = `Bearer ` + data.authToken;\r\n this.$store.commit('updateUserInfo', { userId : data.userId, userType : 0 });\r\n this.$root.$emit('openFloatingTab');\r\n this.$root.$emit('toggleSignInWindow', false);\r\n this.$store.dispatch('initRealTimeChatSetting',{ authToken : data.authToken });\r\n RestApiManager.getGuestUserInfo();\r\n } else {\r\n this.alertBox('error', this.TRANS.error_title, response.data.message_desc );\r\n }\r\n }).catch( errors => {\r\n this.isloading = false;\r\n this.errors = errors;\r\n this.alertBox('error', this.TRANS.error_title, this.TRANS.input_params_err );\r\n })\r\n } else {\r\n this.isloading = false;\r\n this.alertBox('error', this.TRANS.error_title, this.TRANS.invalid_email );\r\n }\r\n } else {\r\n this.isloading = false;\r\n this.alertBox('error', this.TRANS.error_title, this.TRANS.empty_input_err_txt );\r\n }\r\n }\r\n }\r\n },\r\n\r\n}\r\n</script>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuestUserLogin.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuestUserLogin.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuestUserLogin.vue?vue&type=template&id=37fc3c40&\"\nimport script from \"./GuestUserLogin.vue?vue&type=script&lang=js&\"\nexport * from \"./GuestUserLogin.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"at-form-group-wrap\"},[_c('div',{staticClass:\"at-form-group\"},[_c('label',{staticClass:\"at-formtitle at-important\"},[_vm._v(_vm._s(_vm.TRANS.email))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.data.username),expression:\"data.username\"}],staticClass:\"at-form-control\",attrs:{\"type\":\"text\",\"required\":\"\",\"placeholder\":_vm.TRANS.email},domProps:{\"value\":(_vm.data.username)},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.signIn()},\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.data, \"username\", $event.target.value)}}})]),_c('div',{staticClass:\"at-form-group\"},[_c('label',{staticClass:\"at-formtitle at-important\"},[_vm._v(_vm._s(_vm.TRANS.password))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.data.userpassword),expression:\"data.userpassword\"}],staticClass:\"at-form-control\",attrs:{\"type\":\"password\",\"required\":\"\",\"placeholder\":_vm.TRANS.password},domProps:{\"value\":(_vm.data.userpassword)},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.signIn()},\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.data, \"userpassword\", $event.target.value)}}})]),_c('div',{staticClass:\"at-form-group\"},[_c('a',{staticClass:\"at-btn\",class:{'at-disable-btn' : _vm.isloading },attrs:{\"href\":\"javascript:void(0);\"},on:{\"click\":function($event){$event.preventDefault();return _vm.signIn()}}},[_vm._v(_vm._s(_vm.TRANS.start_chat_text))])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"at-form-group-wrap\">\r\n <div class=\"at-form-group\">\r\n <label class=\"at-formtitle at-important\">{{TRANS.email}}</label>\r\n <input type=\"text\" required @keyup.enter=\"signIn()\" v-model=\"data.username\" class=\"at-form-control\" :placeholder=\"TRANS.email\">\r\n </div>\r\n <div class=\"at-form-group\">\r\n <label class=\"at-formtitle at-important\">{{TRANS.password}}</label>\r\n <input type=\"password\" @keyup.enter=\"signIn()\" v-model=\"data.userpassword\" required class=\"at-form-control\" :placeholder=\"TRANS.password\">\r\n </div>\r\n <div class=\"at-form-group\">\r\n <a href=\"javascript:void(0);\" :class=\"{'at-disable-btn' : isloading }\" @click.prevent=\"signIn()\" class=\"at-btn\">{{TRANS.start_chat_text}}</a>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport RestApiManager from \"../../../resources/RestApiController\";\r\nexport default {\r\n name : 'RealUserLogin',\r\n data(){\r\n return {\r\n data : { \r\n userpassword : '',\r\n username : ''\r\n },\r\n isloading : false\r\n }\r\n },\r\n methods:{\r\n signIn(){\r\n if(!this.isloading){\r\n this.isloading = true;\r\n if(this.data.username && this.data.userpassword ){\r\n this.axios.post('user-login', this.data).then( response =>{\r\n this.isloading = false;\r\n if(response.data.type == 'success' ){\r\n let data = response.data;\r\n this.axios.defaults.headers.common['Authorization'] = `Bearer ` + data.authToken;\r\n this.$store.commit('refreshSupportChats');\r\n let openFloatingList = true;\r\n RestApiManager.getProfileInfo();\r\n if(this.userType == '0' && this.$store.state.windowWidth > 768){\r\n openFloatingList = false;\r\n }\r\n this.$store.commit('updateUserInfo', { userId : data.userInfo.userId, userType : 1, isSupportMember : data.isSupportMember });\r\n this.$root.$emit('toggleSignInWindow', false);\r\n if(openFloatingList)this.$root.$emit('openFloatingTab');\r\n this.$store.dispatch('initRealTimeChatSetting',{ authToken : data.authToken });\r\n } else {\r\n this.alertBox('error', this.TRANS.error_title, response.data.message );\r\n }\r\n }).catch( errors => {\r\n this.isloading = false;\r\n this.errors = errors;\r\n this.alertBox('error', this.TRANS.error_title, this.TRANS.input_params_err );\r\n })\r\n } else {\r\n this.isloading = false;\r\n this.alertBox('error', this.TRANS.error_title, this.TRANS.empty_input_err_txt );\r\n }\r\n }\r\n }\r\n },\r\n\r\n}\r\n</script>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RealUserLogin.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RealUserLogin.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RealUserLogin.vue?vue&type=template&id=43435887&\"\nimport script from \"./RealUserLogin.vue?vue&type=script&lang=js&\"\nexport * from \"./RealUserLogin.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\r\n <div class=\"at-sidbarwrapper at-userlist_tab at-contacts_list\">\r\n <div class=\"at-chatfloatholder\">\r\n <div class=\"at-floatchat at-signin\">\r\n <div class=\"at-floatchat_content\">\r\n <div class=\"at-floatchat_title\">\r\n <h2>{{TRANS.signin_box_hdr_txt}}</h2>\r\n <div class=\"at-floatchat_title-right\">\r\n <a href=\"javascript:void(0);\" class=\"at-removechat\" @click.prevent=\"$root.$emit('toggleSignInWindow',false)\"><i class=\"guppy-x\"></i></a>\r\n </div>\r\n </div>\r\n <form class=\"at-themeform at-floatsignin\">\r\n <fieldset>\r\n <template v-if=\"selectedTab == 'guest'\">\r\n <guest-user-login />\r\n </template>\r\n <template v-else-if=\"selectedTab == 'real'\">\r\n <real-user-login />\r\n </template>\r\n </fieldset>\r\n </form>\r\n <ul v-if=\"!userId\" class=\"at-joinnow\">\r\n <li @click.prevent=\"selectedTab = 'guest'\" v-if=\"selectedTab == 'real'\"><span>{{TRANS.dont_have_account_txt}} <a href=\"javascript:void(0);\">{{TRANS.guest_login_txt}}</a> </span></li>\r\n <li @click.prevent=\"selectedTab = 'real'\" v-if=\"selectedTab == 'guest'\"><span>{{TRANS.have_account_txt}} <a href=\"javascript:void(0);\">{{TRANS.login_txt}}</a> </span></li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport GuestUserLogin from \"./GuestUserLogin.vue\";\r\nimport RealUserLogin from \"./RealUserLogin.vue\";\r\nexport default {\r\n name : 'SignInBox',\r\n components : {\r\n GuestUserLogin,\r\n RealUserLogin\r\n },\r\n data(){\r\n return {\r\n selectedTab : 'real'\r\n }\r\n },\r\n\r\n}\r\n</script>","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SignInBox.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SignInBox.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SignInBox.vue?vue&type=template&id=3e173a08&\"\nimport script from \"./SignInBox.vue?vue&type=script&lang=js&\"\nexport * from \"./SignInBox.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\r\n <div>\r\n <ul class=\"at-floatimglist\" v-if=\"minimizeChats.topChats.length\">\r\n <li v-for=\"single in minimizeChats.topChats\" :key=\"single.chatId\">\r\n <a href=\"javascript:void(0);\">\r\n <template v-if=\"[1,3].includes(Number(single.chatType))\">\r\n <img :src=\"single.userAvatar ? single.userAvatar : defaultAvatar\" :alt=\"single.userName\" @click.prevent=\"minimizeWidgetChatbox(single.chatId)\" >\r\n <span class=\"at-infotolltip\">\r\n <em>{{ single.userName }}</em>\r\n </span>\r\n </template>\r\n <i class=\"guppy-x\" @click.prevent=\"closeWidgetChatbox(single.chatId)\"></i>\r\n <span v-if=\"single.UnreadCount > 0\" class=\"at-userstatus notify\"></span>\r\n </a>\r\n </li>\r\n \r\n <li v-if=\"minimizeChats.bottomChats.length\">\r\n <a href=\"javascript:void(0);\" @click.prevent=\"toggleUsersMenue(!isOpenMenu)\" id=\"at_moreitems\">\r\n <em> <i :class=\"isOpenMenu ? 'guppy-x' : 'guppy-more-horizontal'\"></i> </em>\r\n </a>\r\n <div class=\"at-floatdropdownholder\">\r\n <ul class=\"at-floatdropdown\">\r\n <li v-for=\"single in minimizeChats.bottomChats\" :key=\"single.chatId\">\r\n <a href=\"javascript:void(0);\" @click.prevent=\"minimizeWidgetChatbox(single.chatId)\">\r\n <template v-if=\"[1,3].includes(single.chatType)\">\r\n <img :src=\"single.userAvatar ? single.userAvatar : defaultAvatar\" :alt=\"single.userName\" >\r\n </template>\r\n </a>\r\n </li>\r\n </ul>\r\n <a href=\"javascript:void(0);\" @click.prevent=\"closeAllChats()\" >\r\n <i class=\"guppy-x\"></i>{{TRANS.close_all_conversation}}\r\n </a>\r\n </div>\r\n </li>\r\n </ul>\r\n <template v-if=\"Object.keys(chats).length\">\r\n <guppywidget-chat-box :chatId=\"chat.chatId\" v-for=\"chat in chats\" :key=\"chat.chatId\"/>\r\n </template>\r\n <template v-else>\r\n <whatsapp-chat-box v-if=\"enableWhatsappWidgetBox\"/>\r\n <sign-in-box v-else-if=\"isOpenSignInWindow\" @closeSignInWindow=\"isOpenSignInWindow = false\" />\r\n </template>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { GUPPYCHAT_CONSTANTS } from \"../../resources/constants\";\r\nimport GuppywidgetChatBox from \"./GuppywidgetChatBox.vue\";\r\nimport jQuery from 'jquery';\r\nimport GuppyWhatsappChatBox from \"./GuppyWhatsappChatBox.vue\";\r\nimport SignInBox from \"./guppyChatSignInBox/SignInBox.vue\";\r\nexport default { \r\n name : \"GuppyFloatingChatList\",\r\n components :{\r\n WhatsappChatBox : GuppyWhatsappChatBox,\r\n GuppywidgetChatBox,\r\n SignInBox,\r\n },\r\n data(){\r\n return {\r\n isOpenMenu : false,\r\n isOpenSignInWindow : false,\r\n defaultAvatar : GUPPYCHAT_CONSTANTS.AVATAR\r\n }\r\n },\r\n computed:{\r\n enableWhatsappWidgetBox(){\r\n let chatInfo = new Object();\r\n if(!this.$store.state.isMessangerChat){\r\n chatInfo = this.$store.getters.getChatInfo('00_4');\r\n }\r\n return Object.keys(chatInfo).length ? true : false;\r\n },\r\n minimizeChats(){\r\n let windowHeight = jQuery( window ).height();\r\n let showTopChats = 7; \r\n if(windowHeight <= 800){\r\n showTopChats = 5;\r\n } else if(windowHeight < 770){\r\n showTopChats = 3;\r\n }\r\n let data = { topChats : [] , bottomChats : [] }\r\n let chats = this.$store.getters.minimizeChats; \r\n data.topChats = chats.slice(0,showTopChats);\r\n data.bottomChats = chats.slice(showTopChats,chats.length);\r\n return data;\r\n },\r\n chats(){\r\n return this.$store.getters.widgetChats;\r\n },\r\n },\r\n methods:{\r\n toggleUsersMenue(toggle){\r\n this.isOpenMenu = toggle ;\r\n jQuery('.at-floatdropdownholder').slideToggle(200);\r\n },\r\n minimizeWidgetChatbox(chatId){\r\n this.$store.commit('minimizeWidgetChatbox', {chatId: chatId, isMinimize : false });\r\n this.isOpenMenu = false;\r\n jQuery('.at-floatdropdownholder').hide();\r\n },\r\n closeWidgetChatbox(chatId){\r\n this.$store.commit('closeWidgetChatbox', {chatId: chatId });\r\n },\r\n closeAllChats(){\r\n this.$store.commit('updateChatInfo', {});\r\n },\r\n },\r\n created(){\r\n this.$store.dispatch('initRealTimeChatSetting',{ authToken : window.wpguppy_scripts_vars.authToken });\r\n },\r\n mounted(){\r\n this.$root.$on('toggleSignInWindow',(value)=>{\r\n if(value){\r\n this.$store.commit('updateChatInfo', {})\r\n }\r\n this.isOpenSignInWindow = value;\r\n });\r\n }\r\n}\r\n</script>\r\n<style scoped>\r\n @import url('../resources/style.css');\r\n @import url('../resources/rtl.css');\r\n @import url('../resources/updatestyle.css');\r\n @import url('../resources/whatsappstyle.css');\r\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyFloatingChatList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuppyFloatingChatList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GuppyFloatingChatList.vue?vue&type=template&id=50805430&scoped=true&\"\nimport script from \"./GuppyFloatingChatList.vue?vue&type=script&lang=js&\"\nexport * from \"./GuppyFloatingChatList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuppyFloatingChatList.vue?vue&type=style&index=0&id=50805430&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"50805430\",\n null\n \n)\n\nexport default component.exports","<template>\r\n <div class=\"at-guppysidepopup at-chat at-user-chat\" \r\n :class=\"{ \r\n 'wpguppy-rtl' : isRtl, \r\n 'gp-whatsappsidepopup gp-chat gp-layout-one' : isWhatsappChat, \r\n 'gp-whatsappside-responsive': isMobileView,\r\n 'at-guppyside-responsive' : window_idth <= 768 && !isWhatsappChat,\r\n 'at-customer-support' : !Number(userType) } \">\r\n \r\n <div class=\"at-chatsidebar_float at-chatsidebar-widgetclose gp-users-list gp-layout-overlay\">\r\n <div class=\"at-chat_previewfloat gp-chat_previewfloat\">\r\n <guppy-chat-sidebar />\r\n <guppy-chat-messages v-if=\"isMessangerChat && !isWhatsappChat\"/>\r\n </div>\r\n </div>\r\n\r\n <div class=\"at-chatfloatholder\">\r\n <floating-chats />\r\n <template v-if=\"isShowWidget\">\r\n <div class=\"at-chatfloat\">\r\n <span @click=\"minimizeList()\">\r\n <a id=\"at-float_widget_close\" href=\"javascript:void(0);\">\r\n <i class=\"guppy-x\"></i>\r\n </a>\r\n </span> \r\n </div>\r\n </template>\r\n <template v-else-if=\"floatingWidgetEnable && floatingMessenger\">\r\n <ul class=\"at-chatfloatlist at-chatfloatlist_circle\">\r\n <li v-if=\"whatsappSupportEnable\" :style=\"{marginBottom : widgetCircle1}\" @click.prevent=\"toggleWhatsappChat()\">\r\n <a href=\"javascript:void(0);\" id=\"at-whatsappchatopen\" class=\"at-whatsapp_chat\">\r\n <whatsapp-image :ImageColor=\"'white'\" />\r\n </a>\r\n </li>\r\n <li :style=\"{marginBottom : widgetCircle2, opacity : itemOpacity}\" class=\"at-theme_chat\" @click.prevent=\"showChatWidget()\">\r\n <a href=\"javascript:void(0);\" id=\"at-themechatopen\">\r\n <i class=\"guppy-message-square\"></i>\r\n </a>\r\n </li>\r\n </ul>\r\n <div class=\"at-chatfloat\" @click.prevent=\"toggleWidgetChat()\">\r\n <span>\r\n <em v-if=\"isMobileView && getTotalUnreadCount\" class=\"at-userchat_tab-noti\">{{getTotalUnreadCount > 99 ? '+99' : getTotalUnreadCount}}</em>\r\n <a id=\"at-float_widget_icon\" href=\"javascript:void(0);\">\r\n <i class=\"guppy-x\"></i>\r\n <img :src=\"floatingIcon\" alt=\"floating button\">\r\n </a>\r\n </span> \r\n </div>\r\n </template>\r\n <div v-else-if=\"whatsappSupportEnable\" class=\"at-chatfloat at-whatsappgp\">\r\n <span>\r\n <a @click.prevent=\"toggleWhatsappChat()\" href=\"javascript:void(0);\" id=\"at-whatsappchatopen\">\r\n <whatsapp-image :ImageColor=\"'white'\" />\r\n </a>\r\n </span> \r\n </div>\r\n </div>\r\n <sidebar-popup />\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport GuppyFloatingChatList from \"./GuppywidgetChatBox/GuppyFloatingChatList.vue\";\r\nimport GuppyChatSidebar from \"./GuppyChatSidebar/GuppyChatSidebar.vue\";\r\nimport { GUPPYCHAT_SETTINGS } from \"../resources/constants\";\r\nimport GuppyChatSidebarSettingPopup from \"./GuppyChatMessages/GuppyChatSidebarSettingPopup.vue\";\r\nimport jQuery from \"jquery\";\r\nimport GuppyChatMessages from \"./GuppyChatMessages/GuppyChatMessages/GuppyChatMessages.vue\";\r\nimport WhatsappImage from \"./GuppyChatSidebar/GuppyChatWhatsappUserList/WhatsappImage.vue\";\r\nimport { mapState } from 'vuex';\r\nexport default {\r\n name: 'widgetChatApp',\r\n components: { \r\n SidebarPopup : GuppyChatSidebarSettingPopup,\r\n FloatingChats : GuppyFloatingChatList,\r\n GuppyChatSidebar,\r\n GuppyChatMessages,\r\n WhatsappImage,\r\n },\r\n data(){\r\n return {\r\n isRtl : false,\r\n isShowWidget : false,\r\n floatingIcon : GUPPYCHAT_SETTINGS.floatingIcon,\r\n isMobileDevice : GUPPYCHAT_SETTINGS.isMobileDevice,\r\n floatingWidgetEnable : GUPPYCHAT_SETTINGS.floatingWindowEnable,\r\n whatsappSupportEnable : GUPPYCHAT_SETTINGS.whatsappSupportEnable,\r\n floatingMessenger : GUPPYCHAT_SETTINGS.floatingMessenger,\r\n isWhatsappClick : false,\r\n widgetCircle1 : '-49px',\r\n widgetCircle2 : '-80px',\r\n openWidget : false,\r\n itemOpacity : 0,\r\n window_idth : '',\r\n }\r\n },\r\n computed:{\r\n ...mapState({\r\n isMessangerChat : (state) => state.isMessangerChat,\r\n isWhatsappChat : (state) => state.isWhatsappChat,\r\n isMobileView : (state) => state.isMobileView,\r\n }),\r\n getTotalUnreadCount(){\r\n return this.$store.getters.getTotalUnreadCount\r\n },\r\n css: function(){\r\n return \"<style> :root { --primguppycolor: \" + GUPPYCHAT_SETTINGS.primaryColor+ \"; --secguppycolor: \" + GUPPYCHAT_SETTINGS.secondaryColor + \"; --terguppycolor: \" + GUPPYCHAT_SETTINGS.textColor + \"; } </style>\"\r\n },\r\n },\r\n methods:{\r\n minimizeList(){\r\n jQuery('.at-chatsidebar_float').addClass('at-chatsidebar-widgetclose');\r\n this.isShowWidget = false;\r\n this.widgetCircle1 = '-49px';\r\n this.widgetCircle2 = '-80px';\r\n this.itemOpacity = 0;\r\n this.openWidget = false;\r\n jQuery('#at-float_widget_icon').removeClass('at-float-icon');\r\n jQuery('.gp-conversation-list').removeClass('active');\r\n jQuery('html').css('overflow','');\r\n },\r\n toggleWhatsappChat(){\r\n this.isWhatsappClick = true;\r\n this.$store.commit('updateChatInfo', {});\r\n this.$root.$emit('toggleSignInWindow', false)\r\n this.showChatWidget(true);\r\n },\r\n toggleWidgetChat(){\r\n this.openWidgetChat();\r\n },\r\n async closeWidgetChat(){\r\n if(this.userId){\r\n this.showChatWidget();\r\n await this.timeout(500);\r\n this.isWhatsappClick = false;\r\n this.$store.commit('updateWidgetType', { isWhatsappChat : false });\r\n }\r\n },\r\n guppyAddClass(){\r\n let width = jQuery('.at-chat').width();\r\n if ( width <= 768){\r\n jQuery('.at-guppysidepopup').addClass('at-guppyside-responsive');\r\n jQuery(document).on(\"click\",'.at-onlineusers .at-userbar, .conversation-list .at-userbar, .at-guppysidepopup .user-list .at-btn-respond',function() {\r\n jQuery('.at-chat').addClass(\"at-opnchatbox\")\r\n });\r\n }\r\n jQuery(document).on(\"click\",'.at-backtolist',function() {\r\n jQuery('.at-chat').removeClass('at-opnchatbox')\r\n });\r\n jQuery(document).on(\"click\",'.at-chat_previewfloat ul.at-chat_sidebar_footer li',function() {\r\n jQuery('ul.at-chat_sidebar_footer').css('width','60px')\r\n });\r\n },\r\n whatsappAddClass(){\r\n let width = jQuery('.gp-chat').width();\r\n if ( width <= 768){\r\n jQuery('.gp-whatsappsidepopup').addClass('gp-whatsappside-responsive');\r\n jQuery(document).on(\"click\",'.gp-whatsappsidepopup .conversation-list .gp-whatsappsidepopup .user-list .gp-btn-respond',function() {\r\n jQuery('.gp-chat').addClass(\"gp-opnchatbox\")\r\n });\r\n }\r\n jQuery(document).on(\"click\",'.gp-backtolist',function() {\r\n jQuery('.gp-chat').removeClass('gp-opnchatbox')\r\n });\r\n },\r\n timeout(ms){\r\n return new Promise(resolve => setTimeout(resolve, ms));\r\n },\r\n openWidgetChat(){\r\n if( this.whatsappSupportEnable ) {\r\n if(this.openWidget){\r\n this.widgetCircle1 = '-49px';\r\n this.widgetCircle2 = '-80px';\r\n this.itemOpacity = 0;\r\n } else {\r\n this.widgetCircle1 = '';\r\n this.widgetCircle2 = '';\r\n this.itemOpacity = 1;\r\n }\r\n \r\n this.openWidget = this.openWidget ? false : true;\r\n jQuery('#at-float_widget_icon').toggleClass('at-float-icon');\r\n } else {\r\n this.showChatWidget();\r\n }\r\n },\r\n async showChatWidget( isOpenWhatsApp = false){\r\n if(!isOpenWhatsApp && !this.userId){\r\n this.$root.$emit('toggleSignInWindow', true);\r\n this.minimizeList();\r\n } else {\r\n let width = jQuery('.at-chat').width();\r\n jQuery('.at-floatdropdownholder').hide();\r\n jQuery('.at-chatsidebar_float').toggleClass('at-chatsidebar-widgetclose');\r\n if(this.isShowWidget){\r\n await this.timeout(500);\r\n this.isShowWidget = false;\r\n }else{\r\n this.isShowWidget = true;\r\n }\r\n if(this.isMobileDevice){\r\n if(this.isShowWidget){\r\n jQuery('html').css('overflow','hidden');\r\n }else {\r\n jQuery('html').css('overflow','');\r\n }\r\n }\r\n let isMessangerChat = false;\r\n if ( width <= 768 && !isOpenWhatsApp){\r\n isMessangerChat = this.isShowWidget ? true : false;\r\n }\r\n this.$store.commit('updateWidgetType', { isMessangerChat, isWhatsappChat : isOpenWhatsApp ? true : false });\r\n this.isWhatsappClick = false;\r\n if(isOpenWhatsApp){\r\n await this.timeout(300);\r\n jQuery('.gp-conversation-list').addClass('active');\r\n }\r\n }\r\n }\r\n },\r\n created(){\r\n jQuery('head').prepend(this.css);\r\n let windowWidth = jQuery( window ).width();\r\n this.window_idth = windowWidth;\r\n let isMobileView = false;\r\n if( windowWidth < 768 ) {\r\n isMobileView = true;\r\n }\r\n this.$store.commit('updateWidgetType', { isMobileView, isfloatingChat : true });\r\n this.isRtl = GUPPYCHAT_SETTINGS.isRtl;\r\n this.$store.commit('updateWindowWidth',{ windowWidth });\r\n },\r\n mounted(){\r\n this.guppyAddClass();\r\n this.whatsappAddClass();\r\n this.$root.$on('showWidget',()=>{\r\n this.minimizeList();\r\n })\r\n this.$root.$on('openFloatingTab',()=>{\r\n this.showChatWidget();\r\n })\r\n },\r\n}\r\n</script>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./widgetChatApp.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./widgetChatApp.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./widgetChatApp.vue?vue&type=template&id=1560fbf8&\"\nimport script from \"./widgetChatApp.vue?vue&type=script&lang=js&\"\nexport * from \"./widgetChatApp.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue';\r\nimport axios from 'axios';\r\nimport store from \"./vuex/store\";\r\nimport VueAxios from 'vue-axios';\r\nimport Mixin from \"./mixins/GlobalMixins\";\r\nimport linkify from 'vue-linkify'\r\nVue.directive('linkified', linkify);\r\n\r\nimport App from './components/App.vue';\r\nimport widgetChatApp from './components/widgetChatApp.vue';\r\nimport jQuery from 'jquery';\r\nimport VueCroppie from 'vue-croppie';\r\nimport 'croppie/croppie.css'\r\nVue.use(VueCroppie);\r\n\r\nimport RuntimeTemplateCompiler from \"vue-runtime-template-compiler\"\r\nVue.use(RuntimeTemplateCompiler)\r\n\r\naxios.defaults.baseURL = window.wpguppy_scripts_vars.restapiurl;\r\naxios.defaults.headers.common['Authorization'] = `Bearer ` + window.wpguppy_scripts_vars.authToken;\r\nimport VueSweetalert2 from 'vue-sweetalert2';\r\nimport 'sweetalert2/dist/sweetalert2.min.css';\r\nVue.use(VueSweetalert2);\r\n\r\nVue.use(VueAxios, axios);\r\nVue.config.productionTip = true;\r\nVue.mixin(Mixin); \r\nVue.directive('click-outside', {\r\n bind: function (el, binding, vnode) {\r\n el.clickOutsideEvent = function (event) {\r\n // here I check that click was outside the el and his children\r\n if (!(el == event.target || el.contains(event.target))) {\r\n // and if it did, call method provided in attribute value\r\n vnode.context[binding.expression](event);\r\n }\r\n };\r\n document.body.addEventListener('click', el.clickOutsideEvent)\r\n },\r\n unbind: function (el) {\r\n document.body.removeEventListener('click', el.clickOutsideEvent)\r\n },\r\n});\r\n\r\n// Filters\r\nVue.filter('capitalize', function (value) {\r\n if (!value) return ''\r\n value = value.toString()\r\n return value.charAt(0).toUpperCase() + value.slice(1)\r\n});\r\n// messanger chat\r\nif( jQuery('#wpguppy-messanger-chat').length && window.wpguppy_scripts_vars.userId ) {\r\n new Vue({\r\n store,\r\n render: h => h(App),\r\n }).$mount('#wpguppy-messanger-chat')\r\n}else if( jQuery('#wpguppy-widget-chat').length) { // for widget chat\r\n new Vue({\r\n store,\r\n render: h => h(widgetChatApp),\r\n }).$mount('#wpguppy-widget-chat')\r\n}\r\n\r\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./GuppyChatBlockUserList.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./GuppyChatMessageHeader.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./GuppyWhatsappChatBox.vue?vue&type=style&index=0&id=9a02c88c&scoped=true&lang=css&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./GuppyChatMessageFooter.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./GuppyChatEmptyView.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./GuppyChatMessages.vue?vue&type=style&index=0&id=26904eda&scoped=true&lang=css&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./GuppyChatQuotedMessages.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./GuppyChatSidebarSettingPopup.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./GuppyChatLoader.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./GuppyChatProfileSetting.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./GuppyChatSidebarSetting.vue?vue&type=style&index=0&id=0d0d1444&scoped=true&lang=css&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./GuppyChatMessagesContainer.vue?vue&type=style&index=0&id=7f007d8c&scoped=true&lang=css&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./GuppyChatInviteResponse.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./GuppyChatInnerLoader.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./GuppyChatPrivateList.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./GuppyChatSidebarFooter.vue?vue&type=style&index=0&id=6d25bf73&scoped=true&lang=css&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./GuppyChatUsersList.vue?vue&type=style&index=0&lang=css&\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAANVSURBVHgB7ZtNTiJBFMdfd6MMfiTqRjcajG50gzeY2bkyM+MJ9AZzA/UEZk7g3GCcxI3sXLOBDbAhMrCBDZDwDQnM+/ekSA8DolYXDdX8Emzp0NC/qnqvqqu7DBpBv9/faDabF6ZpfuT/T3hXmOaDrGEYcT7nX6FQ6MeoDxjDO+r1+hc+6I5fGzTfZPl1MyxuOt+0Wq1brtWfGsiCML/uuKVeOXcOhNvt9hU3hW+kH9eNRuNWvLGbdK1Wu7As6440ptfrfV1dXb23hbnan2l+EtO74DCtBIPBfQu1y3F7QfrzodvtFs1AIPCZ/MMnk9t2mHwCN+uIwfHbJx9hks9YCOvOQlh3AuQCnU6HMpmMvVXB8vIy7e7u0traGski3S2lUimKx+N0eHhon5gKeDRIhUKBjo+P6ejoiGSQqmGcSDKZpLOzM1dKf9JvPTw80MHBgVTBSsVwPp+nnZ0d5bIAvwFZhI4MUsKI2WnIClCzsnli0S25CWoDyQbxNyu40i2NAtkbCW19fZ2q1aqdxSORCHmNEmHUaCwWo/PzczvGRYbd3t62k5yXKGnSEHRmb2wxcOApYPIaJcJbW1tUKpUGsYtYLhaLxJNo5DVKmjS6D4yIotGo3Ywhiz50UnNGAaFvlx1NvYSypIUEBUlk6dfKooB4btxuEaoSnDJhgNhFdp6EkIUkYv3x8dHer0La84GHU1aMk09PTymXy1EikSC38VR4WFagUtoz4XGyAlXSSmN4HJNkBUJaxLQbTL2GXysrcNa07KUhmKrwW2UFQnppaYlkmZrwe2UFkN7b2yNZpiIsK+smyoVnSRYoFZ41WaBMeBZlgbLr4VmUBVLCo2YRVcriu2Un+6WExTyxuNBXLYvralxNySB9qwUTdel0enChj8GBG/2lE3HvCgUpOzngyiMPKH0M/brdLqkAhejWvavFMx66sxDWnYWw7kA4Sz6B57zjJtYIkH/4jYdLn8gncOXeG+VyeSMYDD5rss7hJbKhUGjf3NzcrHDbviT9ucEfO0tjLQBLfydN4bAdLOf5Z90Sj6uveXNFGoGKXFlZGazW+W+hFlak0V/pMM0xLFqxLOuS89O9c78x7gCI80FYDxHmhHZC80EWfS1vn9CEsZJl+AN/AE8Arqib3xs6AAAAAElFTkSuQmCC\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./GuppywidgetChatBoxFooter.vue?vue&type=style&index=0&id=4e208769&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&id=9167796c&scoped=true&lang=css&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./GuppyChatUserListItem.vue?vue&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