PageSourceSearch

https://viskit.net/4421.be3e024d0ad3ff2a.js

js viskit.net collected 2026-10-07 11:17:14 UTC 25,148 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebclient_webpack=self.webpackChunkwebclient_webpack||[]).push([[4421],{42318(A,m,s){s.d(m,{i:()=>_});class _{showRingingExternalCalls=!0;showParkedCalls=!0;showExternalConnectedCalls=!0;showInternalConnectedCalls=!0;showIvrCalls=!0;showQueueCalls=!0}},54743(A,m,s){s.d(m,{g:()=>c});var _=s(35547),M=s(85802);let c=(()=>{class C{static \u0275fac=function(g){return new(g||C)};static \u0275cmp=_.VBU({type:C,selectors:[["app-long-arrow-down-light-icon"],["","app-long-arrow-down-light-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 256 512"],["d","m252.485 343.03-7.07-7.071c-4.686-4.686-12.284-4.686-16.971 0L145 419.887V44c0-6.627-5.373-12-12-12h-10c-6.627 0-12 5.373-12 12v375.887l-83.444-83.928c-4.686-4.686-12.284-4.686-16.971 0l-7.07 7.071c-4.686 4.686-4.686 12.284 0 16.97l116 116.485c4.686 4.686 12.284 4.686 16.971 0l116-116.485c4.686-4.686 4.686-12.284-.001-16.97z"]],template:function(g,D){1&g&&(M.qSk(),_.rj2(0,"svg",0),_.Hgh(1,"path",1),_.eux())},encapsulation:2})}return C})()},74421(A,m,s){s.d(m,{T:()=>Qn});var _=s(96354),M=s(97647),c=s(85802),C=s(12426),R=s(42610),f=s(42318),g=s(58079),D=s(66029),O=s(51667),S=s(19499),y=s(18530),F=s(25558),j=s(96697),k=s(44668),h=s(68018),$=s(75294),I=s(49769),p=s(8516),V=s(58689),n=s(35547);const E=["basicMenu"];function X(e,o){if(1&e&&n.nrm(0,"lucide-icon",3),2&e){const t=n.XpG(3);n.Y8G("img",t.handIcon)}}function N(e,o){if(1&e&&(n.nVh(0,X,1,1,"lucide-icon",3),n.j41(1,"span"),n.EFF(2),n.nI1(3,"translate"),n.k0s()),2&e){const t=n.XpG(2);n.vxM(t.isNewDesign()?0:-1),n.R7$(2),n.JRh(n.bMT(3,2,"_i18n.PickUp"))}}function B(e,o){if(1&e&&n.nrm(0,"lucide-icon",3),2&e){const t=n.XpG(3);n.Y8G("img",t.splitIcon)}}function Y(e,o){if(1&e&&(n.nVh(0,B,1,1,"lucide-icon",3),n.j41(1,"span"),n.EFF(2),n.nI1(3,"translate"),n.k0s()),2&e){const t=n.XpG(2);n.vxM(t.isNewDesign()?0:-1),n.R7$(2),n.JRh(n.bMT(3,2,"_i18n.Divert"))}}function J(e,o){if(1&e&&n.nrm(0,"lucide-icon",3),2&e){const t=n.XpG(3);n.Y8G("img",t.logInIcon)}}function L(e,o){if(1&e&&(n.nVh(0,J,1,1,"lucide-icon",3),n.j41(1,"span"),n.EFF(2),n.nI1(3,"translate"),n.k0s()),2&e){const t=n.XpG(2);n.vxM(t.isNewDesign()?0:-1),n.R7$(2),n.JRh(n.bMT(3,2,"_i18n.BargeIn"))}}function Q(e,o){if(1&e&&n.nrm(0,"lucide-icon",3),2&e){const t=n.XpG(3);n.Y8G("img",t.headphonesIcon)}}function W(e,o){if(1&e&&(n.nVh(0,Q,1,1,"lucide-icon",3),n.j41(1,"span"),n.EFF(2),n.nI1(3,"translate"),n.k0s()),2&e){const t=n.XpG(2);n.vxM(t.isNewDesign()?0:-1),n.R7$(2),n.JRh(n.bMT(3,2,"_i18n.Listen"))}}function H(e,o){if(1&e&&n.nrm(0,"lucide-icon",3),2&e){const t=n.XpG(4);n.Y8G("img",t.speechIcon)}}function U(e,o){if(1&e&&(n.nVh(0,H,1,1,"lucide-icon",3),n.j41(1,"span"),n.EFF(2),n.nI1(3,"translate"),n.k0s()),2&e){const t=n.XpG().$implicit,i=n.XpG(2);n.vxM(i.isNewDesign()?0:-1),n.R7$(2),n.Lme("",n.bMT(3,3,"_i18n.WhisperTo")," ",i.callService.GetOwnerPresentationString(t))}}function z(e,o){if(1&e){const t=n.RV6();n.DNE(0,U,4,5,"ng-template",4),n.bIt("execute",function(){const a=c.eBV(t).$implicit,l=n.XpG(2);return l.hideMenu(),c.Njj(l.callService.whisper(a))})}}function K(e,o){if(1&e&&n.nrm(0,"lucide-icon",3),2&e){const t=n.XpG(4);n.Y8G("img",t.phoneForwardedIcon)}}function Z(e,o){if(1&e&&(n.nVh(0,K,1,1,"lucide-icon",3),n.j41(1,"span"),n.EFF(2),n.nI1(3,"translate"),n.k0s()),2&e){const t=n.XpG().$implicit,i=n.XpG(2);n.vxM(i.isNewDesign()?0:-1),n.R7$(2),n.Lme("",n.bMT(3,3,"_i18n.Transfer")," ",i.callService.GetOtherPartyPresentationString(t))}}function q(e,o){if(1&e){const t=n.RV6();n.DNE(0,Z,4,5,"ng-template",4),n.bIt("execute",function(a){const l=c.eBV(t).$implicit,r=n.XpG(2);return r.hideMenu(),c.Njj(r.callService.openTransferDialog(a.item,l))})}}function nn(e,o){if(1&e&&n.nrm(0,"lucide-icon",3),2&e){const t=n.XpG(4);n.Y8G("img",t.pauseIcon)}}function en(e,o){if(1&e&&(n.nVh(0,nn,1,1,"lucide-icon",3),n.j41(1,"span"),n.EFF(2),n.nI1(3,"translate"),n.k0s()),2&e){const t=n.XpG().$implicit,i=n.XpG(2);n.vxM(i.isNewDesign()?0:-1),n.R7$(2),n.Lme("",n.bMT(3,3,"_i18n.Park")," ",i.callService.GetOtherPartyPresentationString(t))}}function tn(e,o){if(1&e){const t=n.RV6();n.DNE(0,en,4,5,"ng-template",4),n.bIt("execute",function(){const a=c.eBV(t).$implicit,l=n.XpG(2);return l.hideMenu(),c.Njj(l.callService.park(a))})}}function ln(e,o){if(1&e&&n.nrm(0,"lucide-icon",3),2&e){const t=n.XpG(3);n.Y8G("img",t.stepForwardIcon)}}function an(e,o){if(1&e&&(n.nVh(0,ln,1,1,"lucide-icon",3),n.j41(1,"span"),n.EFF(2),n.nI1(3,"translate"),n.k0s()),2&e){const t=n.XpG(2);n.vxM(t.isNewDesign()?0:-1),n.R7$(2),n.JRh(n.bMT(3,2,"_i18n.Unpark"))}}function on(e,o){if(1&e&&n.nrm(0,"lucide-icon",3),2&e){const t=n.XpG(3);
1n.Y8G("img",t.phoneOffIcon)}}function cn(e,o){if(1&e&&(n.nVh(0,on,1,1,"lucide-icon",3),n.j41(1,"span"),n.EFF(2),n.nI1(3,"translate"),n.k0s()),2&e){const t=n.XpG(2);n.vxM(t.isNewDesign()?0:-1),n.R7$(2),n.JRh(n.bMT(3,2,"_i18n.Drop"))}}function sn(e,o){if(1&e&&n.nrm(0,"lucide-icon",3),2&e){const t=n.XpG(3);n.Y8G("img",t.micIcon)}}function rn(e,o){if(1&e&&(n.nVh(0,sn,1,1,"lucide-icon",3),n.j41(1,"span"),n.EFF(2),n.nI1(3,"translate"),n.k0s()),2&e){const t=n.XpG(2);n.vxM(t.isNewDesign()?0:-1),n.R7$(2),n.JRh(n.bMT(3,2,"_i18n.Record"))}}function pn(e,o){if(1&e&&n.nrm(0,"lucide-icon",3),2&e){const t=n.XpG(3);n.Y8G("img",t.micOffIcon)}}function dn(e,o){if(1&e&&(n.nVh(0,pn,1,1,"lucide-icon",3),n.j41(1,"span"),n.EFF(2),n.nI1(3,"translate"),n.k0s()),2&e){const t=n.XpG(2);n.vxM(t.isNewDesign()?0:-1),n.R7$(2),n.JRh(n.bMT(3,2,"_i18n.StopRecording"))}}function _n(e,o){if(1&e&&n.nrm(0,"lucide-icon",3),2&e){const t=n.XpG(3);n.Y8G("img",t.signalIcon)}}function un(e,o){if(1&e&&(n.nVh(0,_n,1,1,"lucide-icon",3),n.j41(1,"span"),n.EFF(2),n.nI1(3,"translate"),n.k0s()),2&e){const t=n.XpG(2);n.vxM(t.isNewDesign()?0:-1),n.R7$(2),n.JRh(n.bMT(3,2,"_i18n.RequestCallReport"))}}function Cn(e,o){if(1&e){const t=n.RV6();n.DNE(0,N,4,4,"ng-template",1),n.bIt("execute",function(){const a=c.eBV(t),l=n.XpG();return c.Njj(l.callService.pickup(a.pickupConnection))}),n.DNE(1,Y,4,4,"ng-template",1),n.bIt("execute",function(a){const l=c.eBV(t),r=n.XpG();return c.Njj(r.callService.openDivertDialog(a.item,l.divertConnection))}),n.DNE(2,L,4,4,"ng-template",1),n.bIt("execute",function(){const a=c.eBV(t),l=n.XpG();return c.Njj(l.callService.bargeIn(a.bargeInConnection))}),n.DNE(3,W,4,4,"ng-template",1),n.bIt("execute",function(){const a=c.eBV(t),l=n.XpG();return c.Njj(l.callService.listen(a.listenConnection))}),n.Z7z(4,z,1,0,null,2,n.fX1),n.Z7z(6,q,1,0,null,2,n.fX1),n.Z7z(8,tn,1,0,null,2,n.fX1),n.DNE(10,an,4,4,"ng-template",1),n.bIt("execute",function(){const a=c.eBV(t),l=n.XpG();return c.Njj(l.callService.unpark(a.unparkConnection))}),n.DNE(11,cn,4,4,"ng-template",1),n.bIt("execute",function(){const a=c.eBV(t),l=n.XpG();return c.Njj(l.callService.drop(a.dropConnection))}),n.DNE(12,rn,4,4,"ng-template",1),n.bIt("execute",function(){const a=c.eBV(t),l=n.XpG();return c.Njj(l.callService.record(a.recordConnection))}),n.DNE(13,dn,4,4,"ng-template",1),n.bIt("execute",function(){const a=c.eBV(t),l=n.XpG();return c.Njj(l.callService.stopRecording(a.stopRecordingConnection))}),n.DNE(14,un,4,4,"ng-template",1),n.bIt("execute",function(){const a=c.eBV(t),l=n.XpG();return c.Njj(l.callService.requestCallReport(a.requestCallReport))})}if(2&e){const t=o;n.Y8G("visible",!!t.pickupConnection),n.R7$(),n.Y8G("visible",!!t.divertConnection),n.R7$(),n.Y8G("visible",!!t.bargeInConnection),n.R7$(),n.Y8G("visible",!!t.listenConnection),n.R7$(),n.Dyx(t.whisperConnections),n.R7$(2),n.Dyx(t.transferConnections),n.R7$(2),n.Dyx(t.parkConnections),n.R7$(2),n.Y8G("visible",!!t.unparkConnection),n.R7$(),n.Y8G("visible",!!t.dropConnection),n.R7$(),n.Y8G("visible",!!t.recordConnection),n.R7$(),n.Y8G("visible",!!t.stopRecordingConnection),n.R7$(),n.Y8G("visible",!!t.requestCallReport)}}let b=(()=>{class e{callService=(0,c.WQX)(D.N);contextMenuService=(0,c.WQX)(S.K);isNewDesign=(0,c.WQX)(V.T);phoneForwardedIcon=p.P9u;playIcon=p.jGG;pauseIcon=p.vRz;micIcon=p.GOn;micOffIcon=p.jjZ;phoneOffIcon=p.Q3b;trashIcon=p.TBR;headphonesIcon=p.oUU;speechIcon=p.xvR;signalIcon=p.HN0;logInIcon=p.G5D;handIcon=p.UdZ;splitIcon=p.B19;stepForwardIcon=p.awq;basicMenu;onContext$=new y.B;actions$;contextMenuSubscription;ngOnInit(){const t=this.onContext$.pipe((0,F.n)(i=>this.callService.getCallActions(i.activeCall).pipe((0,j.s)(1),(0,_.T)(a=>({context:i,actions:a})))),(0,k.t)({refCount:!0,bufferSize:1}));this.actions$=t.pipe((0,_.T)(i=>i.actions)),this.contextMenuSubscription=t.subscribe(i=>{this.contextMenuService.show.next({contextMenu:this.basicMenu,event:i.context.$event,item:i.context.activeCall})})}ngOnDestroy(){this.contextMenuSubscription?.unsubscribe()}onContextMenu(t,i){t.preventDefault(),t.stopPropagation(),this.onContext$.next({activeCall:i,$event:t})}hideMenu(){this.basicMenu.hideMenu()}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=n.VBU({type:e,selectors:[["active-call-menu"]],viewQuery:function(i,a){if(1&i&&n.GBs(E,7),2&i){let l;n.mGM(l=n.lsd())&&(a.basicMenu=l.first)}},decls:4,vars:3,consts:[["basicMenu",""],["contextMenuItem","",3,"execute","visible"],["contextMenuItem",""],[3,"img"],["contextMenuItem","",3,"execute"]],template:function(i,a){if(1&i&&(n.j41(0,"context-menu",null,0),n.nVh(2,Cn,15,9),n.nI1(3,"async"),n.k0s()),2&i){let l;n.R7$(2),n.vxM((l=n.bMT(3,1,a.actions$))?2:-1,l)}},dependencies:[O.E,$.J,p.flO,p.WGl,h.D9,I.Jj],encapsulation:2})}return e})();var d=s(1211),mn=s(84572),gn=s(92771),vn=s(48039),Mn=s(16444),hn=s(96106),xn=s(19859);let fn=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=n.VBU({type:e,selectors:[["app-exclamation-circle-light-icon"],["","app-exclamation-circle-light-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M256 40c118.621 0 216 96.075 216 216 0 119.291-96.61 216-216 216-119.244 0-216-96.562-216-216 0-119.203 96.602-216 216-216m0-32C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm-11.49 120h22.979c6.823 0 12.274 5.682 11.99 12.5l-7 168c-.268 6.428-5.556 11.5-11.99 11.5h-8.979c-6.433 0-11.722-5.073-11.99-11.5l-7-168c-.283-6.818 5.167-12.5 11.99-12.5zM256 340c-15.464 0-28 12.536-28 28s12.536 28 28 28 28-12.536 28-28-12.536-28-28-28z"]],template:function(i,a){1&i&&(c.qSk(),n.r
1j2(0,"svg",0),n.Hgh(1,"path",1),n.eux())},encapsulation:2})}return e})();var Dn=s(74743),Tn=s(54743);let An=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=n.VBU({type:e,selectors:[["app-ban-solid-icon"],["","app-ban-solid-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["d","M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]],template:function(i,a){1&i&&(c.qSk(),n.rj2(0,"svg",0),n.Hgh(1,"path",1),n.eux())},encapsulation:2})}return e})();var In=s(97684),bn=s(7673);let wn=(()=>{class e{translate=(0,c.WQX)(h.c$);transform(t){return t.length?this.translate.get(t).pipe((0,_.T)(i=>Object.values(i).join(", "))):(0,bn.of)("")}static \u0275fac=function(i){return new(i||e)};static \u0275pipe=n.EJ8({name:"callDetails",type:e,pure:!0})}return e})();var T=s(61811),x=s(99044);const Gn={[x.D.BlindTransfer]:"_i18n.HotkeyBlindTransfer",[x.D.AttendedTransfer]:"_i18n.HotkeyAttendedTransfer",[x.D.Divert]:"_i18n.Divert"};let Pn=(()=>{class e{transform(t){return t?Gn[t]:""}static \u0275fac=function(i){return new(i||e)};static \u0275pipe=n.EJ8({name:"appDragAndDropAction",type:e,pure:!0})}return e})();var Rn=s(50779);const On=["basicMenu"],Sn=()=>["people-list-container","agents-list-container"];function yn(e,o){1&e&&n.nrm(0,"app-spinner-regular-icon",25)}function Fn(e,o){1&e&&n.nrm(0,"app-ban-solid-icon",26)}function jn(e,o){1&e&&n.nrm(0,"app-long-arrow-down-light-icon",27)}function kn(e,o){if(1&e&&(n.j41(0,"div",24),n.nVh(1,yn,1,0,"app-spinner-regular-icon",25),n.nI1(2,"async"),n.nI1(3,"async"),n.nI1(4,"async"),n.vZN(5,Fn,1,0,"app-ban-solid-icon",26)(6,jn,1,0,"app-long-arrow-down-light-icon",27),n.j41(7,"div",28)(8,"span"),n.EFF(9),n.nI1(10,"async"),n.nI1(11,"appDragAndDropAction"),n.nI1(12,"translate"),n.k0s(),n.j41(13,"span"),n.EFF(14),n.nI1(15,"async"),n.nI1(16,"translate"),n.k0s()()()),2&e){let t;const i=n.XpG(2);n.AVh("hide-drag-preview",!i.isDragging),n.R7$(),n.vxM(n.bMT(2,5,null==i.activeCallsDragAndDropService?null:i.activeCallsDragAndDropService.loadingCallActions$)?1:n.bMT(3,7,null==i.activeCallsDragAndDropService?null:i.activeCallsDragAndDropService.dragAndDropTransferInfo$)&&n.bMT(4,9,null==i.activeCallsDragAndDropService?null:i.activeCallsDragAndDropService.destinationNumber$)?6:5),n.R7$(8),n.SpI(" ",n.bMT(12,15,n.bMT(11,13,null==(t=n.bMT(10,11,null==i.activeCallsDragAndDropService?null:i.activeCallsDragAndDropService.dragAndDropTransferInfo$))?null:t.action))),n.R7$(5),n.JRh(n.bMT(16,19,n.bMT(15,17,null==i.activeCallsDragAndDropService?null:i.activeCallsDragAndDropService.connectionPresentation$)))}}function $n(e,o){1&e&&(n.nrm(0,"i",11),n.nI1(1,"translate")),2&e&&n.Y8G("title",n.bMT(1,1,"_i18n.Ringing"))}function Vn(e,o){1&e&&(n.nrm(0,"i",12),n.nI1(1,"translate")),2&e&&n.Y8G("title",n.bMT(1,1,"_i18n.Dialing"))}function En(e,o){1&e&&(n.nrm(0,"i",13),n.nI1(1,"translate")),2&e&&n.Y8G("title",n.bMT(1,1,"_i18n.Connected"))}function Xn(e,o){1&e&&(n.nrm(0,"i",14),n.nI1(1,"translate")),2&e&&n.Y8G("title",n.bMT(1,1,"_i18n.ConnectingCall"))}function Nn(e,o){1&e&&(n.nrm(0,"i",15),n.nI1(1,"translate")),2&e&&n.Y8G("title",n.bMT(1,1,"_i18n.Breached"))}function Bn(e,o){1&e&&(n.nrm(0,"i",16),n.nI1(1,"translate")),2&e&&n.Y8G("title",n.bMT(1,1,"_i18n.WaitingInQueue"))}function Yn(e,o){1&e&&(n.nrm(0,"div",4),n.j41(1,"div",18),n.EFF(2),n.k0s()),2&e&&(n.Y8G("translate","_i18n.DNType_Queue"),n.R7$(2),n.JRh(o))}function Jn(e,o){1&e&&(n.nrm(0,"div",4),n.j41(1,"div",18),n.EFF(2),n.k0s()),2&e&&(n.Y8G("translate","_i18n.Details"),n.R7$(2),n.JRh(o))}function Ln(e,o){if(1&e){const t=n.RV6();n.j41(0,"div",8),n.bIt("cdkDragStarted",function(){const a=c.eBV(t).$implicit,l=n.XpG();return c.Njj(l.onCdkDragStart(a))})("cdkDragReleased",function(){const a=c.eBV(t).$implicit,l=n.XpG();return c.Njj(l.onCdkDragReleased(a))})("contextmenu",function(a){const l=c.eBV(t).$implicit;n.XpG();const r=n.sdS(22);return c.Njj(r.onContextMenu(a,l))}),n.DNE(1,kn,17,21,"div",9),n.j41(2,"div",10),n.nVh(3,$n,2,3,"i",11)(4,Vn,2,3,"i",12)(5,En,2,3,"i",13)(6,Xn,2,3,"i",14)(7,Nn,2,3,"i",15)(8,Bn,2,3,"i",16),n.k0s(),n.j41(9,"div",17),n.nrm(10,"div",4),n.j41(11,"div",18),n.EFF(12),n.k0s()(),n.j41(13,"div",19),n.nrm(14,"div",4),n.j41(15,"div",18),n.EFF(16),n.k0s()(),n.j41(17,"div",20),n.nVh(18,Yn,3,2),n.k0s(),n.j41(19,"div",21),n.nrm(20,"div",4)(21,"duration",22),n.k0s(),n.j41(22,"div",23),n.nVh(23,Jn,3,2),n.nI1(24,"callDetails"),n.nI1(25,"async"),n.k0s()()}if(2&e){let t,i,a;const l=o.$implicit,r=n.XpG();n.AVh("cursor-move",r.isDragAndDropEnabled)("st-selected",r.isActiveCallSelected(l)),n.Y8G("cdkDragData",l)("cdkDragDisabled",!r.isDragAndDropEnabled),n.R7$(3),n.vxM((t=l.State)===r.ActiveCallState.Ringing?3:t===r.ActiveCallState.Dialing?4:t===r.ActiveCallState.Connected?5:t===r.ActiveCallState.Connecting?6:t===r.ActiveCallState.Breached?7:t===r.ActiveCallState.WaitingInQueue?8:-1),n.R7$(7),n.Y8G("translate","_i18n.Caller"),n.R7$(2),n.JRh(l.Caller),n.R7$(2),n.Y8G("translate","_i18n.Callee"),n.R7$(2),n.JRh(l.Callee),n.R7$(2),n.vxM((i=l.QueueName)?18:-1,i),n.R7$(2),n.Y8G("translate","_i18n.Duration"),n.R7$(),n.Y8G("startedAt",l.StartedAt),n.R7$(2),n.vxM((a=n.bMT(25,17,n.bMT(24,15,l.CallDetails)))?23:-1,a)}}let Qn=(()=>{class e{localStorage=(0,c.WQX)(C.sj);myPhoneService=(0,c.WQX)(Mn.gx);activeCalls=(0,c.WQX)(D.N);bsModal=(0,c.WQX)(Rn.I8);activeCallsDragAndDropService=(0,c.WQX)(x.H,{optional:!0});header;calls;queueVisible;ActiveCallState=g.S;DnType=d.Jhl;activeCalls$;callMenu;checkSubscription;
1activeCallsShared$;isDragging=!1;isDragAndDropEnabled=!!this.activeCallsDragAndDropService;ngOnInit(){const t=(0,hn.lB)(this.localStorage,R.Hh.ActiveCallsFilter,new f.i);this.activeCallsShared$=(0,mn.z)([this.myPhoneService.myPhoneSession,this.calls,t]).pipe((0,_.T)(i=>{const[a,l,r]=i,u=(0,vn.T)(a.activeCallHandler,l);for(const v of Object.keys(u))(!u[v].CanShow||!this.isActiveCallVisible(u[v],r))&&delete u[v];return u}),(0,M.u)({connector:()=>new gn.m(1)})),this.activeCalls$=this.activeCallsShared$.pipe((0,_.T)(i=>Object.values(i)))}ngAfterViewInit(){this.checkSubscription=this.activeCallsShared$.subscribe(t=>{this.callMenu.basicMenu&&this.callMenu.basicMenu.isShown&&!t[this.callMenu.basicMenu.item.id]&&this.callMenu.basicMenu.hideMenu(),this.activeCalls.activeCallInModal&&!t[this.activeCalls.activeCallInModal.id]&&1===this.bsModal.getModalsCount()&&this.bsModal.hide()})}ngOnDestroy(){this.checkSubscription.unsubscribe()}isActiveCallSelected(t){return this.activeCalls.activeCallInModal===t||this.callMenu.basicMenu.isShown&&this.callMenu.basicMenu.item===t}isActiveCallVisible(t,i){if(!i.showQueueCalls&&(t.CallerType===d.Jhl.Queue||t.CalleeType===d.Jhl.Queue)||!i.showIvrCalls&&(t.CallerType===d.Jhl.IVR||t.CalleeType===d.Jhl.IVR))return!1;const a=t.CallerType,l=t.CalleeType;if(!i.showParkedCalls&&(l===d.Jhl.Parking||a===d.Jhl.Parking))return!1;const u=t.RawState,G=u===d.Tll.Connected;if(!i.showInternalConnectedCalls&&a===d.Jhl.Extension&&(l===d.Jhl.Extension||l===d.Jhl.None)&&G)return!1;const P=a===d.Jhl.ExternalLine||l===d.Jhl.ExternalLine;return!(!i.showExternalConnectedCalls&&P&&G||!i.showRingingExternalCalls&&P&&(u===d.Tll.Ringing||u===d.Tll.Dialing))}identify(t,i){return i.id}onCdkDragStart(t){this.activeCallsDragAndDropService?.setActiveCallInfo(t),this.isDragging=!0}onCdkDragReleased(t){this.isDragging=!1}handleKeyDown(t){(t.ctrlKey||t.metaKey)&&this.activeCallsDragAndDropService?.setControlPressed(!0)}handleKeyUp(t){this.activeCallsDragAndDropService?.setControlPressed(!1)}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=n.VBU({type:e,selectors:[["active-calls"]],viewQuery:function(i,a){if(1&i&&n.GBs(On,7,b),2&i){let l;n.mGM(l=n.lsd())&&(a.callMenu=l.first)}},hostAttrs:[1,"keep-old-design"],hostBindings:function(i,a){1&i&&n.bIt("keydown",function(r){return a.handleKeyDown(r)},n.tSv)("keyup",function(r){return a.handleKeyUp(r)},n.tSv)},inputs:{header:"header",calls:"calls",queueVisible:"queueVisible"},decls:23,vars:17,consts:[["basicMenu",""],["data-qa","active-calls",1,"card"],[1,"card-header"],[1,"call-row","calls-list-header"],[1,"call-data-header",3,"translate"],[1,"call-data-header","queue-name",3,"translate"],["cdkDropList","","cdkDropListSortingDisabled","","cdkDropListHasAnchor","",2,"overflow","auto","flex","1",3,"cdkDropListData","cdkDropListConnectedTo"],["cdkDrag","","cdkDragBoundary",".standard-layout3",1,"call-row",3,"cdkDragData","cdkDragDisabled","cursor-move","st-selected"],["cdkDrag","","cdkDragBoundary",".standard-layout3",1,"call-row",3,"cdkDragStarted","cdkDragReleased","contextmenu","cdkDragData","cdkDragDisabled"],["class","d-flex align-items-center p-1 gap-1",3,"hide-drag-preview",4,"cdkDragPreview"],[1,"call-icon"],["app-phone-alt-solid-icon","",1,"customSVGIcons","svg-sm","fillIconRed",3,"title"],["app-phone-alt-solid-icon","",1,"customSVGIcons","svg-sm","fillIconBlueVariant",3,"title"],["app-phone-alt-solid-icon","",1,"customSVGIcons","svg-sm","fillIconYellow",3,"title"],["app-phone-alt-solid-icon","",1,"customSVGIcons","svg-sm","fillIconOrange",3,"title"],["app-exclamation-circle-light-icon","",1,"customSVGIcons","svg-sm","fillIconRed",3,"title"],["app-spinner-regular-icon","",1,"customSVGIcons","svg-sm","fillIconOrange",3,"title"],[1,"caller"],[1,"text-break"],[1,"callee"],[1,"queue-name"],[1,"call-duration"],[3,"startedAt"],[1,"call-details"],[1,"d-flex","align-items-center","p-1","gap-1"],[1,"svg-md","fillIconWithTertiary"],[1,"svg-md","fillIconRed"],[1,"svg-md","fillIconWithTertiary",2,"transform","rotate(225deg)"],[1,"d-flex","flex-column"]],template:function(i,a){1&i&&(n.j41(0,"div",1)(1,"div",2),n.EFF(2),n.nI1(3,"translate"),n.k0s(),n.j41(4,"div",3),n.nrm(5,"div"),n.j41(6,"div",4),n.EFF(7,"Caller"),n.k0s(),n.j41(8,"div",4),n.EFF(9,"Callee"),n.k0s(),n.j41(10,"div",5),n.EFF(11,"Queue"),n.k0s(),n.j41(12,"div",4),n.EFF(13,"Duration"),n.k0s(),n.j41(14,"div",4),n.EFF(15,"Details"),n.k0s()(),n.j41(16,"div",6),n.nI1(17,"async"),n.Z7z(18,Ln,26,19,"div",7,a.identify,!0),n.n
1I1(20,"async"),n.nrm(21,"active-call-menu",null,0),n.k0s()()),2&i&&(n.AVh("hide-queue-name",!a.queueVisible),n.R7$(2),n.SpI("",n.bMT(3,10,a.header||"")," "),n.R7$(4),n.Y8G("translate","_i18n.Caller"),n.R7$(2),n.Y8G("translate","_i18n.Callee"),n.R7$(2),n.Y8G("translate","_i18n.DNType_Queue"),n.R7$(2),n.Y8G("translate","_i18n.Duration"),n.R7$(2),n.Y8G("translate","_i18n.Details"),n.R7$(2),n.Y8G("cdkDropListData",n.bMT(17,12,a.activeCalls$))("cdkDropListConnectedTo",n.lJ4(16,Sn)),n.R7$(2),n.Dyx(n.bMT(20,14,a.activeCalls$)))},dependencies:[h.Mm,xn.v,fn,Dn.a,In.U,b,T.O7,T.T1,T.r0,Tn.g,An,h.D9,I.Jj,wn,Pn],styles:['@media(max-width:1399.98px){.d-xxl-down-none[_ngcontent-%COMP%], .xxl-visible[_ngcontent-%COMP%]{display:none}}@media(max-width:1199.98px){.d-xl-down-none[_ngcontent-%COMP%], .xl-visible[_ngcontent-%COMP%]{display:none}}@media(max-width:991.98px){.d-lg-down-none[_ngcontent-%COMP%], .lg-visible[_ngcontent-%COMP%]{display:none}}@media(max-width:767.98px){.d-md-down-none[_ngcontent-%COMP%], .md-visible[_ngcontent-%COMP%]{display:none!important}}@media(max-width:575.98px){.d-sm-down-none[_ngcontent-%COMP%], .sm-visible[_ngcontent-%COMP%]{display:none!important}}.cdk-drag-placeholder[_ngcontent-%COMP%]{visibility:visible!important}.cdk-drag-preview.hide-drag-preview[_ngcontent-%COMP%]{visibility:hidden!important}[_nghost-%COMP%]{overflow:auto;grid-area:calls}.card[_ngcontent-%COMP%]{height:100%;border:0;background:var(--background);margin-bottom:0}.card-header[_ngcontent-%COMP%]{background:var(--bg-primary);border-bottom:1px solid var(--border-color)}.call-row[_ngcontent-%COMP%]{display:grid;grid-template-columns:50px repeat(5,1fr);grid-template-areas:"icon caller callee queue-name call-duration call-details";grid-column-gap:var(--spacer-semi-small);padding:var(--spacer-xs) 0;background:var(--bg-primary);border-bottom:1px solid var(--border-color)}.call-row[_ngcontent-%COMP%]   .call-icon[_ngcontent-%COMP%]{display:flex;justify-content:center;padding-top:2px;grid-area:icon}
1.hide-queue-name[_ngcontent-%COMP%]   .call-row[_ngcontent-%COMP%]{grid-template-columns:50px repeat(4,1fr);grid-template-areas:"icon caller callee call-duration call-details"}.hide-queue-name[_ngcontent-%COMP%]   .call-row[_ngcontent-%COMP%]   .queue-name[_ngcontent-%COMP%]{display:none}.call-row[_ngcontent-%COMP%]   .caller[_ngcontent-%COMP%], .call-row[_ngcontent-%COMP%]   .callee[_ngcontent-%COMP%], .call-row[_ngcontent-%COMP%]   .queue-name[_ngcontent-%COMP%], .call-row[_ngcontent-%COMP%]   .call-duration[_ngcontent-%COMP%], .call-row[_ngcontent-%COMP%]   .call-details[_ngcontent-%COMP%]{display:flex}@media(min-width:768px){.call-row[_ngcontent-%COMP%]   .caller[_ngcontent-%COMP%]   .call-data-header[_ngcontent-%COMP%], .call-row[_ngcontent-%COMP%]   .callee[_ngcontent-%COMP%]   .call-data-header[_ngcontent-%COMP%], .call-row[_ngcontent-%COMP%]   .queue-name[_ngcontent-%COMP%]   .call-data-header[_ngcontent-%COMP%], .call-row[_ngcontent-%COMP%]   .call-duration[_ngcontent-%COMP%]   .call-data-header[_ngcontent-%COMP%], .call-row[_ngcontent-%COMP%]   .call-details[_ngcontent-%COMP%]   .call-data-header[_ngcontent-%COMP%]{display:none}}.call-row[_ngcontent-%COMP%]   .caller[_ngcontent-%COMP%]{grid-area:caller}.call-row[_ngcontent-%COMP%]   .callee[_ngcontent-%COMP%]{grid-area:callee}.call-row[_ngcontent-%COMP%]   .call-duration[_ngcontent-%COMP%]{grid-area:call-duration}.call-row[_ngcontent-%COMP%]   .call-details[_ngcontent-%COMP%]{grid-area:call-details;padding-right:var(--spacer-l)}.call-row[_ngcontent-%COMP%]   .call-data-header[_ngcontent-%COMP%]{white-space:nowrap;min-width:70px;font-weight:700}.call-row.calls-list-header[_ngcontent-%COMP%]{padding-right:10px}@media(max-width:767.98px){.call-row[_ngcontent-%COMP%]{grid-template-columns:50px 1fr;grid-template-areas:"icon caller" "icon callee" "icon queue-name" "icon call-duration" "icon call-details"}.call-row.calls-list-header[_ngcontent-%COMP%]{display:none}
1.hide-queue-name[_ngcontent-%COMP%]   .call-row[_ngcontent-%COMP%]{grid-template-areas:"icon caller" "icon callee" "icon call-duration" "icon call-details"}.hide-queue-name[_ngcontent-%COMP%]   .call-row[_ngcontent-%COMP%]   .queue-name[_ngcontent-%COMP%]{display:none}.call-row[_ngcontent-%COMP%]   .caller[_ngcontent-%COMP%], .call-row[_ngcontent-%COMP%]   .callee[_ngcontent-%COMP%], .call-row[_ngcontent-%COMP%]   .queue-name[_ngcontent-%COMP%]:not(:empty), .call-row[_ngcontent-%COMP%]   .call-duration[_ngcontent-%COMP%]{margin-bottom:var(--spacer-xs)}}.st-selected[_ngcontent-%COMP%]{background:#0000001f!important}']})}return e})()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.