File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/js/im/v2/lib/old-chat-embedding/menu/dist/registry.bundle.js.map
Back
{"version":3,"file":"registry.bundle.js","sources":["../src/base/base.js","../src/recent/pin-manager.js","../src/recent/unread-manager.js","../src/recent/mute-manager.js","../src/recent/invite-manager.js","../src/recent/call-helper.js","../src/recent/recent.js"],"sourcesContent":["import {MenuManager} from 'main.popup';\nimport {EventEmitter} from 'main.core.events';\nimport {EventType} from 'im.v2.const';\n\nexport class BaseMenu\n{\n\tmenuInstance: Object = null;\n\tcontext: Object = null;\n\ttarget: HTMLElement = null;\n\tstore: Object = null;\n\trestClient: Object = null;\n\tid: String = 'im-base-context-menu';\n\n\tconstructor($Bitrix: Object)\n\t{\n\t\tthis.$Bitrix = $Bitrix;\n\t\tthis.store = $Bitrix.Data.get('controller').store;\n\t\tthis.restClient = $Bitrix.RestClient.get();\n\n\t\tthis.onClosePopupHandler = this.onClosePopup.bind(this);\n\t\tEventEmitter.subscribe(EventType.dialog.closePopup, this.onClosePopupHandler);\n\t}\n\n\t// public\n\topenMenu(context: Object, target: HTMLElement)\n\t{\n\t\tif (this.menuInstance)\n\t\t{\n\t\t\tthis.menuInstance.destroy();\n\t\t\tthis.menuInstance = null;\n\t\t}\n\t\tthis.context = context;\n\t\tthis.target = target;\n\t\tthis.menuInstance = this.getMenuInstance();\n\t\tthis.menuInstance.show();\n\t}\n\n\tgetMenuInstance()\n\t{\n\t\treturn MenuManager.create(this.getMenuOptions());\n\t}\n\n\tgetMenuOptions(): Object\n\t{\n\t\treturn {\n\t\t\tid: this.id,\n\t\t\tbindOptions: {forceBindPosition: true, position: 'bottom'},\n\t\t\ttargetContainer: document.body,\n\t\t\tbindElement: this.target,\n\t\t\tcacheable: false,\n\t\t\tclassName: this.getMenuClassName(),\n\t\t\titems: this.getMenuItems()\n\t\t};\n\t}\n\n\tgetMenuItems(): Array\n\t{\n\t\treturn [];\n\t}\n\n\tgetMenuClassName(): string\n\t{\n\t\treturn this.isDarkMode() ? 'im-context-menu-dark' : '';\n\t}\n\n\tisDarkMode(): boolean\n\t{\n\t\treturn this.store.state.application.options.darkTheme;\n\t}\n\n\tonClosePopup()\n\t{\n\t\tthis.destroy();\n\t}\n\n\tclose()\n\t{\n\t\tif (!this.menuInstance)\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\tthis.menuInstance.destroy();\n\t\tthis.menuInstance = null;\n\t}\n\n\tdestroy()\n\t{\n\t\tthis.close();\n\t\tEventEmitter.unsubscribe(EventType.dialog.closePopup, this.onClosePopupHandler);\n\t}\n}","import {RestMethod} from 'im.v2.const';\n\nexport class PinManager\n{\n\tstore: Object = null;\n\trestClient: Object = null;\n\n\tconstructor($Bitrix)\n\t{\n\t\tthis.store = $Bitrix.Data.get('controller').store;\n\t\tthis.restClient = $Bitrix.RestClient.get();\n\t}\n\n\tpinDialog(dialogId: string)\n\t{\n\t\tthis.store.dispatch('recent/pin', {id: dialogId, action: true});\n\t\tconst queryParams = {'DIALOG_ID': dialogId, 'ACTION': 'Y'};\n\t\tthis.restClient.callMethod(RestMethod.imRecentPin, queryParams).catch(error => {\n\t\t\tconsole.error('Im.RecentList: error pinning chat', error);\n\t\t\tthis.store.dispatch('recent/pin', {id: dialogId, action: false});\n\t\t});\n\t}\n\n\tunpinDialog(dialogId: string)\n\t{\n\t\tthis.store.dispatch('recent/pin', {id: dialogId, action: false});\n\t\tconst queryParams = {'DIALOG_ID': dialogId, 'ACTION': 'N'};\n\t\tthis.restClient.callMethod(RestMethod.imRecentPin, queryParams).catch(error => {\n\t\t\tconsole.error('Im.RecentList: error unpinning chat', error);\n\t\t\tthis.store.dispatch('recent/pin', {id: dialogId, action: true});\n\t\t});\n\t}\n}","import {RestMethod} from 'im.v2.const';\n\nexport class UnreadManager\n{\n\tstore: Object = null;\n\trestClient: Object = null;\n\n\tconstructor($Bitrix)\n\t{\n\t\tthis.store = $Bitrix.Data.get('controller').store;\n\t\tthis.restClient = $Bitrix.RestClient.get();\n\t}\n\n\treadDialog(dialogId: string)\n\t{\n\t\tlet queryParams;\n\n\t\tconst dialog = this.store.getters['dialogues/get'](dialogId, true);\n\t\tif (dialog.counter > 0)\n\t\t{\n\t\t\tqueryParams = {'DIALOG_ID': dialogId};\n\t\t\tthis.restClient.callMethod(RestMethod.imDialogRead, queryParams).catch(error => {\n\t\t\t\tconsole.error('Im.RecentList: error reading chat', error);\n\t\t\t});\n\n\t\t\treturn;\n\t\t}\n\n\t\tthis.store.dispatch('recent/unread', {id: dialogId, action: false});\n\t\tqueryParams = {'DIALOG_ID': dialogId, 'ACTION': 'N'};\n\t\tthis.restClient.callMethod(RestMethod.imRecentUnread, queryParams).catch(error => {\n\t\t\tconsole.error('Im.RecentList: error reading chat', error);\n\t\t\tthis.store.dispatch('recent/unread', {id: dialogId, action: true});\n\t\t});\n\t}\n\n\tunreadDialog(dialogId: string)\n\t{\n\t\tthis.store.dispatch('recent/unread', {id: dialogId, action: true});\n\t\tconst queryParams = {'DIALOG_ID': dialogId, 'ACTION': 'Y'};\n\t\tthis.restClient.callMethod(RestMethod.imRecentUnread, queryParams).catch(error => {\n\t\t\tconsole.error('Im.RecentList: error unreading chat', error);\n\t\t\tthis.store.dispatch('recent/unread', {id: dialogId, action: false});\n\t\t});\n\t}\n}","import {RestMethod} from 'im.v2.const';\n\nexport class MuteManager\n{\n\tstore: Object = null;\n\trestClient: Object = null;\n\n\tconstructor($Bitrix)\n\t{\n\t\tthis.store = $Bitrix.Data.get('controller').store;\n\t\tthis.restClient = $Bitrix.RestClient.get();\n\t}\n\n\tmuteDialog(dialogId: string)\n\t{\n\t\tthis.store.dispatch('dialogues/mute', {dialogId});\n\t\tconst queryParams = {'DIALOG_ID': dialogId, 'ACTION': 'Y'};\n\t\tthis.restClient.callMethod(RestMethod.imChatMute, queryParams).catch(error => {\n\t\t\tconsole.error('Im.RecentList: error muting chat', error);\n\t\t\tthis.store.dispatch('dialogues/unmute', {dialogId});\n\t\t});\n\t}\n\n\tunmuteDialog(dialogId: string)\n\t{\n\t\tthis.store.dispatch('dialogues/unmute', {dialogId});\n\t\tconst queryParams = {'DIALOG_ID': dialogId, 'ACTION': 'N'};\n\t\tthis.restClient.callMethod(RestMethod.imChatMute, queryParams).catch(error => {\n\t\t\tconsole.error('Im.RecentList: error unmuting chat', error);\n\t\t\tthis.store.dispatch('dialogues/mute', {dialogId});\n\t\t});\n\t}\n}","import {ajax as Ajax, Loc} from 'main.core';\n\nconst resendAction = 'intranet.controller.invite.reinvite';\nconst cancelAction = 'intranet.controller.invite.deleteinvitation';\n\nexport const InviteManager = {\n\tresendInvite(userId: number)\n\t{\n\t\tconst data = {\n\t\t\tparams: {userId}\n\t\t};\n\t\tAjax.runAction(resendAction, {data}).then(() => {\n\t\t\tthis.showNotification(Loc.getMessage('IM_RECENT_CONTEXT_MENU_INVITE_RESEND_DONE'), 2000);\n\t\t}, (error) => {\n\t\t\tthis.handleActionError(error);\n\t\t});\n\t},\n\n\tcancelInvite(userId: number)\n\t{\n\t\tconst data = {\n\t\t\tparams: {userId}\n\t\t};\n\t\tAjax.runAction(cancelAction, {data}).then(() => {\n\t\t\tthis.showNotification(Loc.getMessage('IM_RECENT_CONTEXT_MENU_INVITE_CANCEL_DONE'), 2000);\n\t\t}, (error) => {\n\t\t\tthis.handleActionError(error);\n\t\t});\n\t},\n\n\tshowNotification(text: string, autoHideDelay: number = 4000)\n\t{\n\t\tBX.UI.Notification.Center.notify({\n\t\t\tcontent: text,\n\t\t\tautoHideDelay\n\t\t});\n\t},\n\n\thandleActionError(error: Object)\n\t{\n\t\tif (error.status === 'error' && error.errors.length > 0)\n\t\t{\n\t\t\tconst errorContent = error.errors.map((element) => {\n\t\t\t\treturn element.message;\n\t\t\t}).join('. ');\n\t\t\tthis.showNotification(errorContent);\n\n\t\t\treturn true;\n\t\t}\n\n\t\tthis.showNotification(Loc.getMessage('IM_RECENT_CONNECT_ERROR'));\n\t}\n};","export class CallHelper\n{\n\tstore: Object = null;\n\n\tconstructor($Bitrix)\n\t{\n\t\tthis.store = $Bitrix.Data.get('controller').store;\n\t}\n\n\tcheckCallSupport(dialogId: string): boolean\n\t{\n\t\tif (!BX.MessengerProxy.getPushServerStatus() || !BX.Call.Util.isWebRTCSupported())\n\t\t{\n\t\t\treturn false;\n\t\t}\n\n\t\tconst userId = Number.parseInt(dialogId, 10);\n\n\t\treturn userId > 0 ? this.checkUserCallSupport(userId) : this.checkChatCallSupport(dialogId);\n\t}\n\n\tcheckUserCallSupport(userId: number): boolean\n\t{\n\t\tconst user = this.store.getters['users/get'](userId);\n\t\treturn (\n\t\t\tuser\n\t\t\t&& user.status !== 'guest'\n\t\t\t&& !user.bot\n\t\t\t&& !user.network\n\t\t\t&& user.id !== this.getCurrentUserId()\n\t\t\t&& !!user.lastActivityDate\n\t\t);\n\t}\n\n\tcheckChatCallSupport(dialogId: string): boolean\n\t{\n\t\tconst dialog = this.store.getters['dialogues/get'](dialogId);\n\t\tif (!dialog)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\n\t\tconst {userCounter} = dialog;\n\n\t\treturn userCounter > 1 && userCounter <= BX.Call.Util.getUserLimit();\n\t}\n\n\thasActiveCall(): boolean\n\t{\n\t\treturn BX.MessengerProxy.getCallController().hasActiveCall();\n\t}\n\n\tgetCurrentUserId(): number\n\t{\n\t\treturn this.store.state.application.common.userId;\n\t}\n}","import {Loc} from 'main.core';\nimport {EventEmitter} from 'main.core.events';\nimport {MessageBox, MessageBoxButtons} from 'ui.dialogs.messagebox';\n\nimport {ChatTypes, EventType, OpenTarget, ChatOption} from 'im.v2.const';\n\nimport {BaseMenu} from '../base/base';\nimport {PinManager} from './pin-manager';\nimport {UnreadManager} from './unread-manager';\nimport {MuteManager} from './mute-manager';\nimport {InviteManager} from './invite-manager';\nimport {CallHelper} from './call-helper';\n\nexport class RecentMenu extends BaseMenu\n{\n\tpinManager: Object = null;\n\tunreadManager: Object = null;\n\tmuteManager: Object = null;\n\tcallHelper: Object = null;\n\n\tconstructor($Bitrix)\n\t{\n\t\tsuper($Bitrix);\n\n\t\tthis.id = 'im-recent-context-menu';\n\t\tthis.pinManager = new PinManager($Bitrix);\n\t\tthis.unreadManager = new UnreadManager($Bitrix);\n\t\tthis.muteManager = new MuteManager($Bitrix);\n\t\tthis.callHelper = new CallHelper($Bitrix);\n\t}\n\n\tgetMenuOptions(): Object\n\t{\n\t\treturn {\n\t\t\t...super.getMenuOptions(),\n\t\t\tclassName: this.getMenuClassName(),\n\t\t\tangle: true,\n\t\t\toffsetLeft: 32\n\t\t};\n\t}\n\n\tgetMenuClassName(): String\n\t{\n\t\treturn this.context.compactMode ? '' : super.getMenuClassName();\n\t}\n\n\tgetMenuItems(): Array\n\t{\n\t\tif (this.context.invitation.isActive)\n\t\t{\n\t\t\treturn this.getInviteItems();\n\t\t}\n\n\t\treturn [\n\t\t\tthis.getSendMessageItem(),\n\t\t\tthis.getUnreadMessageItem(),\n\t\t\tthis.getPinMessageItem(),\n\t\t\tthis.getMuteItem(),\n\t\t\tthis.getCallItem(),\n\t\t\tthis.getHistoryItem(),\n\t\t\tthis.getOpenProfileItem(),\n\t\t\tthis.getHideItem(),\n\t\t\tthis.getLeaveItem()\n\t\t];\n\t}\n\n\tgetSendMessageItem(): Object\n\t{\n\t\treturn {\n\t\t\ttext: Loc.getMessage('IM_RECENT_CONTEXT_MENU_WRITE'),\n\t\t\tonclick: function() {\n\t\t\t\tconst target = this.context.target === OpenTarget.current? OpenTarget.current: OpenTarget.auto;\n\n\t\t\t\tEventEmitter.emit(EventType.dialog.open, {\n\t\t\t\t\t...this.context,\n\t\t\t\t\tchat: this.store.getters['dialogues/get'](this.context.dialogId, true),\n\t\t\t\t\tuser: this.store.getters['users/get'](this.context.dialogId, true),\n\t\t\t\t\ttarget\n\t\t\t\t});\n\t\t\t\tthis.menuInstance.close();\n\t\t\t}.bind(this)\n\t\t};\n\t}\n\n\tgetUnreadMessageItem(): Object\n\t{\n\t\tlet isUnreaded = this.context.unread;\n\t\tif (!isUnreaded)\n\t\t{\n\t\t\tconst dialog = this.store.getters['dialogues/get'](this.context.dialogId, true);\n\t\t\tisUnreaded = dialog.counter > 0;\n\t\t}\n\n\t\treturn {\n\t\t\ttext: isUnreaded ? Loc.getMessage('IM_RECENT_CONTEXT_MENU_READ') : Loc.getMessage('IM_RECENT_CONTEXT_MENU_UNREAD'),\n\t\t\tonclick: function() {\n\t\t\t\tif (isUnreaded)\n\t\t\t\t{\n\t\t\t\t\tthis.unreadManager.readDialog(this.context.dialogId);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tthis.unreadManager.unreadDialog(this.context.dialogId);\n\t\t\t\t}\n\t\t\t\tthis.menuInstance.close();\n\t\t\t}.bind(this)\n\t\t};\n\t}\n\n\tgetPinMessageItem(): Object\n\t{\n\t\tconst isPinned = this.context.pinned;\n\n\t\treturn {\n\t\t\ttext: isPinned ? Loc.getMessage('IM_RECENT_CONTEXT_MENU_UNPIN') : Loc.getMessage('IM_RECENT_CONTEXT_MENU_PIN'),\n\t\t\tonclick: function() {\n\t\t\t\tif (isPinned)\n\t\t\t\t{\n\t\t\t\t\tthis.pinManager.unpinDialog(this.context.dialogId);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tthis.pinManager.pinDialog(this.context.dialogId);\n\t\t\t\t}\n\t\t\t\tthis.menuInstance.close();\n\t\t\t}.bind(this)\n\t\t};\n\t}\n\n\tgetMuteItem(): ?Object\n\t{\n\t\tconst dialog = this.store.getters['dialogues/get'](this.context.dialogId);\n\t\tconst isUser = dialog.type === ChatTypes.user;\n\t\tconst isAnnouncement = dialog.type === ChatTypes.announcement;\n\t\tif (!dialog || isUser || isAnnouncement)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\n\t\tconst muteAllowed = this.store.getters['dialogues/getChatOption'](dialog.type, ChatOption.mute);\n\t\tif (!muteAllowed)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\n\t\tconst isMuted = dialog.muteList.includes(this.getCurrentUserId());\n\t\treturn {\n\t\t\ttext: isMuted? Loc.getMessage('IM_RECENT_CONTEXT_MENU_UNMUTE') : Loc.getMessage('IM_RECENT_CONTEXT_MENU_MUTE'),\n\t\t\tonclick: function() {\n\t\t\t\tif (isMuted)\n\t\t\t\t{\n\t\t\t\t\tthis.muteManager.unmuteDialog(this.context.dialogId);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tthis.muteManager.muteDialog(this.context.dialogId);\n\t\t\t\t}\n\t\t\t\tthis.menuInstance.close();\n\t\t\t}.bind(this)\n\t\t};\n\t}\n\n\tgetCallItem(): ?Object\n\t{\n\t\tconst dialog = this.store.getters['dialogues/get'](this.context.dialogId);\n\t\tif (!dialog)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\n\t\tconst isChat = dialog.type !== ChatTypes.user;\n\t\tconst callAllowed = this.store.getters['dialogues/getChatOption'](dialog.type, ChatOption.call);\n\t\tif (isChat && !callAllowed)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\n\t\tconst callSupport = this.callHelper.checkCallSupport(this.context.dialogId);\n\t\tconst isAnnouncement = dialog.type === ChatTypes.announcement;\n\t\tconst isExternalTelephonyCall = dialog.type === ChatTypes.call;\n\t\tconst hasActiveCall = this.callHelper.hasActiveCall();\n\t\tif (!callSupport || isAnnouncement || isExternalTelephonyCall || hasActiveCall)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\n\t\treturn {\n\t\t\ttext: Loc.getMessage('IM_RECENT_CONTEXT_MENU_CALL'),\n\t\t\tonclick: function() {\n\t\t\t\tEventEmitter.emit(EventType.dialog.call, this.context);\n\t\t\t\tthis.menuInstance.close();\n\t\t\t}.bind(this)\n\t\t};\n\t}\n\n\tgetHistoryItem(): ?Object\n\t{\n\t\tconst dialog = this.store.getters['dialogues/get'](this.context.dialogId, true);\n\t\tconst isUser = dialog.type === ChatTypes.user;\n\t\tif (isUser)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\n\t\treturn {\n\t\t\ttext: Loc.getMessage('IM_RECENT_CONTEXT_MENU_HISTORY'),\n\t\t\tonclick: function() {\n\t\t\t\tconst target = this.context.target === OpenTarget.current? OpenTarget.current: OpenTarget.auto;\n\n\t\t\t\tEventEmitter.emit(EventType.dialog.openHistory, {\n\t\t\t\t\t...this.context,\n\t\t\t\t\tchat: this.store.getters['dialogues/get'](this.context.dialogId, true),\n\t\t\t\t\tuser: this.store.getters['users/get'](this.context.dialogId, true),\n\t\t\t\t\ttarget\n\t\t\t\t});\n\t\t\t\tthis.menuInstance.close();\n\t\t\t}.bind(this)\n\t\t};\n\t}\n\n\tgetOpenProfileItem(): ?Object\n\t{\n\t\tconst dialog = this.store.getters['dialogues/get'](this.context.dialogId, true);\n\t\tconst isUser = dialog.type === ChatTypes.user;\n\t\tif (!isUser)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\n\t\tconst profileUri = `/company/personal/user/${this.context.dialogId}/`;\n\n\t\treturn {\n\t\t\ttext: Loc.getMessage('IM_RECENT_CONTEXT_MENU_PROFILE'),\n\t\t\thref: profileUri,\n\t\t\tonclick: function() {\n\t\t\t\tthis.menuInstance.close();\n\t\t\t}.bind(this)\n\t\t};\n\t}\n\n\tgetHideItem(): ?Object\n\t{\n\t\tif (this.context.invitation.isActive || this.context.options.default_user_record)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\n\t\treturn {\n\t\t\ttext: Loc.getMessage('IM_RECENT_CONTEXT_MENU_HIDE'),\n\t\t\tonclick: function() {\n\t\t\t\tEventEmitter.emit(EventType.dialog.hide, {\n\t\t\t\t\t...this.context,\n\t\t\t\t\tchat: this.store.getters['dialogues/get'](this.context.dialogId, true),\n\t\t\t\t\tuser: this.store.getters['users/get'](this.context.dialogId, true)\n\t\t\t\t});\n\t\t\t\tthis.menuInstance.close();\n\t\t\t}.bind(this)\n\t\t};\n\t}\n\n\tgetLeaveItem(): ?Object\n\t{\n\t\tconst dialog = this.store.getters['dialogues/get'](this.context.dialogId);\n\t\tif (!dialog)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\n\t\tconst isUser = dialog.type === ChatTypes.user;\n\t\tif (isUser)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\n\t\tlet optionToCheck = ChatOption.leave;\n\t\tif (dialog.owner === this.getCurrentUserId())\n\t\t{\n\t\t\toptionToCheck = ChatOption.leaveOwner;\n\t\t}\n\t\tconst leaveAllowed = this.store.getters['dialogues/getChatOption'](dialog.type, optionToCheck);\n\n\t\tconst isExternalTelephonyCall = dialog.type === ChatTypes.call;\n\t\tif (isExternalTelephonyCall || !leaveAllowed)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\n\t\treturn {\n\t\t\ttext: Loc.getMessage('IM_RECENT_CONTEXT_MENU_LEAVE'),\n\t\t\tonclick: function() {\n\t\t\t\tEventEmitter.emit(EventType.dialog.leave, {\n\t\t\t\t\t...this.context,\n\t\t\t\t\tchat: this.store.getters['dialogues/get'](this.context.dialogId, true),\n\t\t\t\t\tuser: this.store.getters['users/get'](this.context.dialogId, true)\n\t\t\t\t});\n\t\t\t\tthis.menuInstance.close();\n\t\t\t}.bind(this)\n\t\t};\n\t}\n\n\t// invitation\n\tgetInviteItems(): Array\n\t{\n\t\tconst items = [\n\t\t\tthis.getSendMessageItem(),\n\t\t\tthis.getOpenProfileItem()\n\t\t];\n\n\t\tconst canManageInvite = BX.MessengerProxy.canInvite() && this.getCurrentUserId() === this.context.invitation.originator;\n\t\tif (canManageInvite)\n\t\t{\n\t\t\titems.push(\n\t\t\t\tthis.getDelimiter(),\n\t\t\t\tthis.context.invitation.canResend? this.getResendInviteItem(): null,\n\t\t\t\tthis.getCancelInviteItem()\n\t\t\t);\n\t\t}\n\n\t\treturn items;\n\t}\n\n\tgetResendInviteItem(): Object\n\t{\n\t\treturn {\n\t\t\ttext: Loc.getMessage('IM_RECENT_CONTEXT_MENU_INVITE_RESEND'),\n\t\t\tonclick: function() {\n\t\t\t\tInviteManager.resendInvite(this.context.dialogId);\n\t\t\t\tthis.menuInstance.close();\n\t\t\t}.bind(this)\n\t\t};\n\t}\n\n\tgetCancelInviteItem(): Object\n\t{\n\t\treturn {\n\t\t\ttext: Loc.getMessage('IM_RECENT_CONTEXT_MENU_INVITE_CANCEL'),\n\t\t\tonclick: function() {\n\t\t\t\tMessageBox.show({\n\t\t\t\t\tmessage: Loc.getMessage('IM_RECENT_CONTEXT_MENU_INVITE_CANCEL_CONFIRM'),\n\t\t\t\t\tmodal: true,\n\t\t\t\t\tbuttons: MessageBoxButtons.OK_CANCEL,\n\t\t\t\t\tonOk: (messageBox) => {\n\t\t\t\t\t\tInviteManager.cancelInvite(this.context.dialogId);\n\t\t\t\t\t\tmessageBox.close();\n\t\t\t\t\t},\n\t\t\t\t\tonCancel: (messageBox) => {\n\t\t\t\t\t\tmessageBox.close();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tthis.menuInstance.close();\n\t\t\t}.bind(this)\n\t\t};\n\t}\n\t// invitation end\n\n\tgetDelimiter(): Object\n\t{\n\t\treturn {delimiter: true};\n\t}\n\n\tgetCurrentUserId(): number\n\t{\n\t\treturn this.store.state.application.common.userId;\n\t}\n}"],"names":["BaseMenu","constructor","$Bitrix","menuInstance","context","target","store","restClient","id","Data","get","RestClient","onClosePopupHandler","onClosePopup","bind","EventEmitter","subscribe","EventType","dialog","closePopup","openMenu","destroy","getMenuInstance","show","MenuManager","create","getMenuOptions","bindOptions","forceBindPosition","position","targetContainer","document","body","bindElement","cacheable","className","getMenuClassName","items","getMenuItems","isDarkMode","state","application","options","darkTheme","close","unsubscribe","PinManager","pinDialog","dialogId","dispatch","action","queryParams","callMethod","RestMethod","imRecentPin","catch","error","console","unpinDialog","UnreadManager","readDialog","getters","counter","imDialogRead","imRecentUnread","unreadDialog","MuteManager","muteDialog","imChatMute","unmuteDialog","resendAction","cancelAction","InviteManager","resendInvite","userId","data","params","Ajax","runAction","then","showNotification","Loc","getMessage","handleActionError","cancelInvite","text","autoHideDelay","BX","UI","Notification","Center","notify","content","status","errors","length","errorContent","map","element","message","join","CallHelper","checkCallSupport","MessengerProxy","getPushServerStatus","Call","Util","isWebRTCSupported","Number","parseInt","checkUserCallSupport","checkChatCallSupport","user","bot","network","getCurrentUserId","lastActivityDate","userCounter","getUserLimit","hasActiveCall","getCallController","common","RecentMenu","pinManager","unreadManager","muteManager","callHelper","angle","offsetLeft","compactMode","invitation","isActive","getInviteItems","getSendMessageItem","getUnreadMessageItem","getPinMessageItem","getMuteItem","getCallItem","getHistoryItem","getOpenProfileItem","getHideItem","getLeaveItem","onclick","OpenTarget","current","auto","emit","open","chat","isUnreaded","unread","isPinned","pinned","isUser","type","ChatTypes","isAnnouncement","announcement","muteAllowed","ChatOption","mute","isMuted","muteList","includes","isChat","callAllowed","call","callSupport","isExternalTelephonyCall","openHistory","profileUri","href","default_user_record","hide","optionToCheck","leave","owner","leaveOwner","leaveAllowed","canManageInvite","canInvite","originator","push","getDelimiter","canResend","getResendInviteItem","getCancelInviteItem","MessageBox","modal","buttons","MessageBoxButtons","OK_CANCEL","onOk","messageBox","onCancel","delimiter"],"mappings":";;;;;;CAIO,MAAMA,QAAQ,CACrB;GAQCC,WAAW,CAACC,OAAe,EAC3B;KAAA,KARAC,YAAY,GAAW,IAAI;KAAA,KAC3BC,OAAO,GAAW,IAAI;KAAA,KACtBC,MAAM,GAAgB,IAAI;KAAA,KAC1BC,KAAK,GAAW,IAAI;KAAA,KACpBC,UAAU,GAAW,IAAI;KAAA,KACzBC,EAAE,GAAW,sBAAsB;KAIlC,IAAI,CAACN,OAAO,GAAGA,OAAO;KACtB,IAAI,CAACI,KAAK,GAAGJ,OAAO,CAACO,IAAI,CAACC,GAAG,CAAC,YAAY,CAAC,CAACJ,KAAK;KACjD,IAAI,CAACC,UAAU,GAAGL,OAAO,CAACS,UAAU,CAACD,GAAG,EAAE;KAE1C,IAAI,CAACE,mBAAmB,GAAG,IAAI,CAACC,YAAY,CAACC,IAAI,CAAC,IAAI,CAAC;KACvDC,6BAAY,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