1"use strict";(self.webpackChunkcallyzer_ms_angular=self.webpackChunkcallyzer_ms_angular||[]).push([[6256,8423,8480,7239,4246,4496,8140,9210,7359,4251,7941,7011,5610,7667,3414,3561],{73323:(L,x,l)=>{l.d(x,{j:()=>e});var o=l(94650),b=l(49472),S=l(35842),A=l(9116),D=l(89383),p=l(15031),_=l(24006),v=l(36895),h=l(88796);function C(M,f){if(1&M&&(o.TgZ(0,"ng-option",2),o._uU(1),o.qZA()),2&M){const m=f.$implicit;o.Q6J("value",m.numberOfData),o.xp6(1),o.hij(" ",m.numberOfData,"")}}class e{commonService;router;translate;layoutService;userRole;childLength;changeDropdown=new o.vpe;constructor(f,m,d,u){this.commonService=f,this.router=m,this.translate=d,this.layoutService=u,d.setDefaultLang(this.commonService.getLocalStorage(b.t.LANGUAGE))}ngOnInit(){this.userRole=this.commonService.getCookie(b.t.COOKIE_USER_ROLE),console.log("PagebleCommonConfigComponent: User Role from Cookie:",this.userRole)}pageData=[{numberOfData:5},{numberOfData:10},{numberOfData:25},{numberOfData:50},{numberOfData:100}];showentries(){this.updatePageSizePreferenceValue()}updatePageSizePreferenceValue(){this.layoutService.updatePageSizePreferenceValue(this.childLength,this.userRole).subscribe({next:f=>{this.changeDropdown.emit(Number(this.childLength)),this.commonService.setLocalStorage(b.t.PAGE_SIZE_PREFERENCE_WISE,this.childLength.toString())},error:f=>{this.changeDropdown.emit(Number(this.childLength)),this.commonService.setLocalStorage(b.t.PAGE_SIZE_PREFERENCE_WISE,this.childLength.toString())}})}static \u0275fac=function(m){return new(m||e)(o.Y36(S.v),o.Y36(A.F0),o.Y36(D.sK),o.Y36(p.P))};static \u0275cmp=o.Xpm({type:e,selectors:[["pageable-dropdown"]],inputs:{childLength:"childLength"},outputs:{changeDropdown:"changeDropdown"},decls:3,vars:4,consts:[[3,"ngModel","clearable","searchable","change","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(m,d){1&m&&(o.TgZ(0,"div")(1,"ng-select",0),o.NdJ("change",function(){return d.showentries()})("ngModelChange",function(R){return d.childLength=R}),o.YNc(2,C,2,2,"ng-option",1),o.qZA()()),2&m&&(o.xp6(1),o.Q6J("ngModel",d.childLength)("clearable",!1)("searchable",!1),o.xp6(1),o.Q6J("ngForOf",d.pageData))},dependencies:[_.JJ,_.On,v.sg,h.w9,h.jq]})}},46256:(L,x,l)=>{l.r(x),l.d(x,{MY_CUSTOM_FORMATS:()=>Ne,NeverReceivedCallsModule:()=>B});var o=l(36895),b=l(24006),S=l(9116),A=l(32821),D=l(49472),p=l(15439),_=l.n(p),v=l(35226),h=l.n(v),C=l(85864),e=l(94650),M=l(8715),f=l(35842),m=l(68609),d=l(15031),u=l(66062),R=l(89383),P=l(68423),O=l(84981),N=l(22486),y=l(94954),w=l(3056),I=l(94628),E=l(70027),c=l(43056),g=l(73323);const T=["fromTimeId"],Z=["toTimeId"];function U(r,i){if(1&r&&(e.TgZ(0,"strong"),e._UZ(1,"i",73),e._uU(2),e.qZA()),2&r){const t=e.oxw(2);e.xp6(2),e.hij(" ",t.error,"")}}const J=function(r){return{"alert-danger":r}};function H(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",70),e.YNc(1,U,3,1,"strong",67),e.TgZ(2,"button",71),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.closeMessageAlert())}),e.TgZ(3,"span",72),e._uU(4,"\xd7"),e.qZA()()()}if(2&r){const t=e.oxw();e.Q6J("ngClass",e.VKq(2,J,t.error&&t.error.length>0)),e.xp6(1),e.Q6J("ngIf",t.error&&t.error.length>0)}}function Q(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"li",74)(1,"span",75)(2,"a",76),e._UZ(3,"i",77),e._uU(4),e.ALo(5,"translate"),e._UZ(6,"i",78),e.qZA(),e.TgZ(7,"div",79)(8,"a",80),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.exportToCsv())}),e._UZ(9,"i",81),e._uU(10," CSV "),e.qZA()()()()}2&r&&(e.xp6(4),e.hij(" ",e.lcZ(5,2,"Export")," "),e.xp6(4),e.Q6J("appTooltip","Export to CSV"))}function q(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"timepicker",82),e.NdJ("ngModelChange",function(a){e.CHM(t);const s=e.oxw();return e.KtG(s.fromTime=a)})("ngModelChange",function(a){e.CHM(t);const s=e.oxw();return e.KtG(s.onFromTimeChange(a))}),e.qZA(),e.TgZ(1,"ul",83)(2,"li")(3,"button",84),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setFromTime())}),e._uU(4,"Set"),e.qZA()(),e.TgZ(5,"li")(6,"button",85),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.cancelFromTimePicker())}),e._uU(7,"Cancel"),e.qZA()()()}if(2&r){const t=e.oxw();e.Q6J("ngModel",t.fromTime)("minuteStep",1)("showMeridian",!0)}}function j(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"timepicker",82),e.NdJ("ngModelChange",function(a){e.CHM(t);const s=e.oxw();return e.KtG(s.toTime=a)})("ngModelChange",function(a){e.CHM(t);const s=e.oxw();return e.KtG(s.onToTimeChange(a))}),e.qZA(),e.TgZ(1,"ul",83)(2,"li")(3,"button",84),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setToTime())}),e._uU(4),e.ALo(5,"translate"),e.qZA()(),e.TgZ(6,"li")(7,"button",85),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.cancelToTimePicker())}),e._uU(8),e.ALo(9,"translate"),e.qZA()()()}if(2&r){const t=e.oxw();e.Q6J("ngModel",t.toTime)("minuteStep",1)("showMeridian",!0),e.xp6(4),e.Oqu(e.l
1cZ(5,5,"Set")),e.xp6(4),e.Oqu(e.lcZ(9,7,"Cancel"))}}function V(r,i){1&r&&(e.TgZ(0,"label",90),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij("",e.lcZ(2,1,"Duration")," (Seconds)"))}function z(r,i){1&r&&(e.TgZ(0,"span",91),e._uU(1,"-"),e.qZA())}function G(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div")(1,"input",92),e.NdJ("keypress",function(a){e.CHM(t);const s=e.oxw(2);return e.KtG(s.numberOnly(a))})("input",function(a){e.CHM(t);const s=e.oxw(2);return e.KtG(s.validateRingingDigits(a,"to"))})("drop",function(a){e.CHM(t);const s=e.oxw(2);return e.KtG(s.handleEvent(a))})("dragenter",function(a){e.CHM(t);const s=e.oxw(2);return e.KtG(s.handleEvent(a))})("paste",function(a){e.CHM(t);const s=e.oxw(2);return e.KtG(s.handleEvent(a))})("blur",function(a){e.CHM(t);const s=e.oxw(2);return e.KtG(s.onChangeRingingDuration(a))}),e.qZA()()}if(2&r){const t=e.oxw(2);e.xp6(1),e.Q6J("ngClass","Between"==t.selectedRingingRange?"right-calltype":"calltype-single")}}function X(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"div",86),e.YNc(1,V,3,3,"label",87),e.TgZ(2,"div",51)(3,"div")(4,"input",88),e.NdJ("keypress",function(a){e.CHM(t);const s=e.oxw();return e.KtG(s.numberOnly(a))})("input",function(a){e.CHM(t);const s=e.oxw();return e.KtG(s.validateRingingDigits(a,"from"))})("drop",function(a){e.CHM(t);const s=e.oxw();return e.KtG(s.handleEvent(a))})("dragenter",function(a){e.CHM(t);const s=e.oxw();return e.KtG(s.handleEvent(a))})("paste",function(a){e.CHM(t);const s=e.oxw();return e.KtG(s.handleEvent(a))})("blur",function(a){e.CHM(t);const s=e.oxw();return e.KtG(s.onChangeRingingDuration(a))}),e.qZA()(),e.YNc(5,z,2,0,"span",89),e.YNc(6,G,2,1,"div",67),e.qZA()()}if(2&r){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",""!=t.selectedRingingRange&&null!=t.selectedRingingRange),e.xp6(3),e.Q6J("ngClass","Between"==t.selectedRingingRange?"left-calltype":"calltype-single")("placeholder","Between"==t.selectedRingingRange?"From":"Select Duration"),e.xp6(1),e.Q6J("ngIf","Between"==t.selectedRingingRange),e.xp6(1),e.Q6J("ngIf",t.isToRingingDuration)}}function ee(r,i){1&r&&(e.O4$(),e.TgZ(0,"svg",101),e._UZ(1,"path",102),e.qZA()),2&r&&e.Q6J("appTooltip","WhatsApp Video Call")}function te(r,i){if(1&r&&(e.O4$(),e.TgZ(0,"svg",103),e._UZ(1,"path",104),e.qZA()),2&r){const t=e.oxw(2).$implicit;e.Q6J("appTooltip","Video"!==t.callMode?"WhatsApp Voice Call":"WhatsApp Video Call")}}function ne(r,i){1&r&&(e.O4$(),e.TgZ(0,"svg",105),e._UZ(1,"path",106)(2,"path",107),e.qZA()),2&r&&e.Q6J("appTooltip","Phone Voice Call")}function ie(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=i.ngIf;e.xp6(1),e.hij(" ",t," ")}}function oe(r,i){if(1&r&&(e.TgZ(0,"tr")(1,"td",93),e._UZ(2,"i",94),e._uU(3),e.TgZ(4,"div",95),e.YNc(5,ee,2,1,"svg",96),e.YNc(6,te,2,1,"svg",97),e.YNc(7,ne,3,1,"svg",98),e.qZA()(),e.TgZ(8,"td",99),e._uU(9),e.qZA(),e.TgZ(10,"td",100),e.YNc(11,ie,2,1,"span",67),e.qZA()()),2&r){const t=i.$implicit,n=e.oxw(2);e.xp6(3),e.hij(" ",t.callType," "),e.xp6(2),e.Q6J("ngIf","Video"===t.callMode),e.xp6(1),e.Q6J("ngIf","WhatsAppCall"===t.callMethod),e.xp6(1),e.Q6J("ngIf","PhoneCall"===t.callMethod),e.xp6(2),e.AsE("",t.callDate,", ",t.callTime,""),e.xp6(2),e.Q6J("ngIf",n.commonService.getRingingTimeLabel(t.ringingTime))}}function ae(r,i){if(1&r&&(e.ynx(0),e.TgZ(1,"tr",61)(2,"td"),e._uU(3),e.qZA(),e.TgZ(4,"td"),e._uU(5),e.qZA(),e.TgZ(6,"td"),e._uU(7),e.qZA()(),e.YNc(8,oe,12,7,"tr",66),e.BQk()),2&r){const t=i.$implicit,n=i.index,a=e.oxw();e.xp6(2),e.uIk("rowspan",t.neverAttendedCallDtos.length+1),e.xp6(1),e.Oqu(a.srNoCounterStart+n),e.xp6(1),e.uIk("rowspan",t.neverAttendedCallDtos.length+1),e.xp6(1),e.Oqu(t.fromName),e.xp6(1),e.uIk("rowspan",t.neverAttendedCallDtos.length+1),e.xp6(1),e.Oqu(t.toName),e.xp6(1),e.Q6J("ngForOf",t.neverAttendedCallDtos)}}function re(r,i){1&r&&(e.TgZ(0,"tr")(1,"td",108),e._uU(2),e.ALo(3,"translate"),e.qZA()()),2&r&&(e.xp6(2),e.Oqu(e.lcZ(3,1,"No data available")))}function se(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Oqu(t.start+1)}}function le(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Oqu(t.start)}}function ce(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Oqu(t.totalRecords)}}function _e(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const t=e.oxw(2);e.xp6(1),e.Oqu(t.start+t.length)}}function de(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"a",122),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.getNeverReceivedData(1))}),e._UZ(1,"i",123),e.qZA()}}function pe(r,i){if(1&r&&(e.TgZ(0,"a",124),e._UZ(1,"i",123),e.qZA()),2&r){const t=e.oxw(2);e.uIk("disabled",1===t.pager.currentPage)}}function ge(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"a",125),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.getNeverReceivedData(a.pager.currentPage-1))}),e._UZ(1,"i",126),e.TgZ(2,"span",127),e._uU(3,"Prev"),e.qZA()()}}function ue(r,i){if(1&r&&(e.TgZ(0,"a",128),e._UZ(1,"i",126),e.TgZ(2,"span",127),e._uU(3,"Prev"),e.qZA()()),2&r){const t=e.oxw(2);e.uIk("disabled",1===t.pager.currentPage)}}const me=function(r){return{active:r}};function he(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"li",129)(1,"a",130),e.NdJ("click",function(){const s=e.CHM(t).$implicit,k=e.oxw(2);return e.KtG(k.getNeverReceivedData(s))}),e._uU(2),e.qZA()()}if(2&r){const t=i.$implicit,n=e.oxw(2);e.xp6(1),e.Q6J("ngClass",e.VKq(2,me,n.pager.currentPage===t)),e.xp6(1),e.Oqu(t)}}function ve(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"a",131),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.getNeverReceivedData(a.pager.currentPage+1))}),e.TgZ(1,"span",127),e._uU(2,"Next"),e.qZA(),e._UZ(3,"i",132),e.qZA()}}function fe(r,i){if(1&r&&(e.TgZ(0,"a",133)(1,"span",127),e._uU(2,"Next"),e.qZA(),e._UZ(3,"i",132),e.qZA()),2&r){const t=e.oxw(2);e.uIk("disabled",t.pager.currentPage===t.pager.totalPages)}}function De(r,i){if(1&r){const t=e.EpF();e.TgZ(0,"a",122),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.getNeverReceivedData(a.pager.totalPages))}),e._UZ(1,"i",134),e.qZA()}}function Ce(r,i){if(1&r&&(e.TgZ(0,"a",124),e._UZ(1,"i",134),e.qZA()),2&r){const t=e.oxw(2);e.uIk("disabled",t.pager.currentPage===t.pager.totalPages)}}function Te(r,i){if(1&r&&(e.TgZ(0,"div",109)(1,"div",110)(2,"p",111),e.YNc(3,se,2,1,"span",67),e.YNc(4,le,2,1,"span",67),e._uU(5," - "),e.YNc(6,ce,2,1,"span",67),e.YNc(7,_e,2,1,"span",67),e._uU(8),e.ALo(9,"translate"),e.qZA()(),e.TgZ(10,"div",110)(11,"div",112)(12,"ul",113)(13,"li",44)(14,"ul",114)(15,"li",44),e.YNc(16,de,2,0,"a",115),e.YNc(17,pe,2,1,"a",116),e.YNc(18,ge,4,0,"a",117),e.YNc(19,ue,4,1,"a",118),e.qZA(),e.YNc(20,he,3,4,"li",119),e.TgZ(21,"li",44),e.YNc(22,ve,4,0,"a",120),e.YNc(23,fe,4,1,"a",121),e.YNc(24,De,2,0,"a",115),e.YNc(25,Ce,2,1,"a",116),e.qZA()()()()()()()),2&r){const t=e.oxw();e.xp6(3),e.Q6J("ngIf",t.totalRecords>0),e.xp6(1),e.Q6J("ngIf",0==t.totalRecords),e.xp6(2),e.Q6J("ngIf",t.start+t.length>t.totalRecords),e.xp6(1),e.Q6J("ngIf",t.start+t.length<=t.totalRecords),e.xp6(1),e.AsE(" ",e.lcZ(9,15,"of")," ",t.totalRecords,""),e.xp6(8),e.Q6J("ngIf",1!=t.pager.currentPage&&t.pager.currentPage>1),e.xp6(1),e.Q6J("ngIf",1==t.pager.currentPage||t.pager.currentPage<1),e.xp6(1),e.Q6J("ngIf",t.pager.currentPage>1),e.xp6(1),e.Q6J("ngIf",t.pager.currentPage<=1),e.xp6(1),e.Q6J("ngForOf",t.pager.pages),e.xp6(2),e.Q6J("ngIf",t.pager.currentPage!=t.pager.totalPages),e.xp6(1),e.Q6J("ngIf",t.pager.currentPage==t.pager.totalPages),e.xp6(1),e.Q6J("ngIf",t.pager.currentPage!=t.pager.totalPages),e.xp6(1),e.Q6J("ngIf",t.pager.currentPage==t.pager.totalPages)}}const Re=function(){return["PER_ALL_ACCESS","PER_EXPORT_NOT_PIKED_UP_REPORT"]},K=function(r){return{format:r,firstDay:1}},Ee=function(r,i){return{"dt-disable":r,"dt-cursor":i}},Me=function(){return["/manageExcludeNos"]};class F{router;reportsService;commonService;devicesService;datePipe;layoutService;pagerService;translate;spinner;userService;commonRepository;permissionService;diffInDays;isDisable;constructor(i,t,n,a,s,k,ye,W,Ie,we,Ze,Le){this.router=i,this.reportsService=t,this.commonService=n,this.devicesService=a,this.datePipe=s,this.layoutService=k,this.pagerService=ye,this.translate=W,this.spinner=Ie,this.userService=we,this.commonRepository=Ze,this.permissionService=Le,W.setDefaultLang(this.commonService.getLocalStorage(D.t.LANGUAGE))}error;companyName;userName;allInitialDeviceList=[];neverReceivedCallList=[];deviceList=[];tagList=[];selectedTags=[];
1selectedDevices;selectedDeviceStr="";selectedTagsStr="";selectedDate;fromDate=new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate());toDate=new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate());setDateRange;deviceSettings={};tagsSetting={};tomorrow=_()();twoYearsAgo=_()().subtract(2,"years");userRole;dateFormat;isActiveDevice=!0;excludeNumberFlag=!0;pickerDirective;toDateModal;fromDateModal;maxToDate=new Date;maxFromDate=new Date;minToDate;isDateChange=!0;csvProcessFlag=!1;isRequestForCsvFlag=!1;fromTime=new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate(),0,0,0);toTime=new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate(),23,59,59);toTimeFormat;fromTimeFormat;token;localTimeZone;timeFormat;dateTimeFormat;durationFormat;start=0;length=50;currentPage=0;pager={};pagedItems;totalRecords;searchColName;searchColValue;srNoCounterStart=0;neverReceivedTabData;orderCol=2;order="asc";column1order="desc";column2order="desc";column1sort=!1;column2sort=!0;toName="";fromName="";neverReceivedDataForTabPageWiseSearchSubscripton;isSearchRegisterMobile;isSearchToName;selectedRingingRange;fromRingingDuration;toRingingDuration;isToRingingDuration=!1;isRingingDurationDisable=!0;selectedRingingRangeStr;rangeList=["Greater than","Less than","Between"];rangeSetting={singleSelection:!0,allowSearchFilter:!1,closeDropDownOnSelection:!0};recentFilterData={selectedDeviceStr:"",selectedTagsStr:"selectedTagsStr",fromDate:"",toDate:"",excludeNumberFlag:this.excludeNumberFlag,selectedRingingRangeStr:"",fromRingingDuration:"",toRingingDuration:""};Toast=h().mixin({toast:!0,position:"top-end",showConfirmButton:!1,showCloseButton:!0,customClass:{container:"swal-info"},timerProgressBar:!0,timer:4e3});fromTimeId;toTimeId;ngOnInit(){this.token="Bearer "+this.commonRepository.getToken(),this.companyName=this.commonService.getCookie(D.t.COOKIE_COMPANY_NAME),this.userName=this.commonService.getCookie(D.t.COOKIE_USER_NAME),null!=this.commonService.getLocalStorage(D.t.PAGE_SIZE_PREFERENCE_WISE)?this.length=Number(this.commonService.getLocalStorage(D.t.PAGE_SIZE_PREFERENCE_WISE)):this.commonService.setLocalStorage(D.t.PAGE_SIZE_PREFERENCE_WISE,this.length.toString()),this.permissionService.loadPermissions(this.commonService.getPermission()),this.hoverTab(),this.setFormat(),this.setDefaultTodayDate(),this.getInitialConfigValues(),this.dropDownSetting()}openPopup(){"false"==this.commonService.getLocalStorage(D.t.IS_ANY_DEVICE_CONNECTED)&&h().fire({title:"",text:"There are no phone numbers registered. Please register phone numbers operated by your employee to view reports.",confirmButtonText:"How to add phone numbers?",icon:"warning"}).then(i=>{i.value&&this.router.navigateByUrl("/"+A.iM)})}excludeNumbers(i){1==i.target.checked?this.excludeNumberFlag=!0:this.excludeNumberFlag=!1}setFormat(){this.localTimeZone=this.commonService.getLocalTimeZone(),this.dateFormat=this.commonService.getDateFormat(),this.timeFormat=this.commonService.getTimeFormat(),this.dateTimeFormat=this.commonService.getDateTimeFormat(),this.durationFormat=this.commonService.getDurationFormat()}getInitialConfigValues(){$("#displayBlockFlag").hide(),this.spinner.show("sp3"),this.getAllCustomerDevices(),this.getDistinctTags()}setDefaultTodayDate(){this.selectedDate={startDate:_()(new Date),endDate:_()(new Date)},this.fromDateModal={startDate:_()(new Date),endDate:_()(new Date)},this.toDateModal={startDate:_()(new Date),endDate:_()(new Date)},this.fromDate=_()(new Date).format("YYYY-MM-DD")+"T00:00:00",this.toDate=_()(new Date).format("YYYY-MM-DD")+"T23:59:59",this.fromTime=new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate(),0,0,0),this.toTime=new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate(),23,59,59),this.fromTimeFormat=this.datePipe.transform(this.fromTime,"hh:mm a"),this.toTimeFormat=this.datePipe.transform(this.toTime,"hh:mm a"),this.maxToDate=new Date,this.maxFromDate=new Date,this.minToDate=null,this.loadDataTableForReceivedCalls()}getAllCustomerDevices(){this.devicesService.getAllDeviceByCondition(this.isActiveDevice).subscribe({next:i=>{this.deviceList=i.data,this.allInitialDeviceList=i.data,this.selectedDevices,this.selectedDeviceStr=""},error:i=>{this.error=i.error.message||i.error.data}})}onDeviceSelect(i){this.getDeviceStr()}onDeviceDeSelect(i){0==this.selectedDevices.length?(this.selectedDevices=null,this.selectedDeviceStr=""):this.getDeviceStr()}onDeviceSelectAll(i){this.selectedDevices=i,this.getDeviceStr()}onDeviceDeSelectAll(i){this.selectedDevices=null,this.selectedDeviceStr=""}getDeviceStr(){let i=[];if(void 0!==this.selectedDevices&&null!==this.selectedDevices){for(let t=0;t<this.selectedDevices.length;t++)i.push(this.selectedDevices[t].id);this.selectedDeviceStr=i.join()}}dropDownSetting(){this.deviceSettings={singleSelection:!1,idField:"id",textField:"deviceName",selectAllText:"Select All",unSelectAllText:"UnSelect All",itemsShowLimit:2,allowSearchFilter:!0,enableCheckAll:!1},this.tagsSetting={singleSelection:!1,selectAllText:"Select All",unSelectAllText:"UnSelect All",itemsShowLimit:2,allowSearchFilter:!0,enableCheckAll:!1}}getDistinctTags(){this.userService.getTagsForCustomer().subscribe({next:i=>{this.tagList=i.data}})}onTagSelect(i){this.selectedDevices=null,this.selectedDeviceStr="",this.selectedTagsStr=this.selectedTags.join(),""!=this.selectedTagsStr&&this.devicesService.getDevicesByTagsByCondition(this.selectedTagsStr,!0).subscribe({next:t=>{this.deviceList=t.data}})}onTagSelectAll(i){this.selectedDevices=null,this.selectedDeviceStr="",this.selectedTags=i,this.selectedTagsStr=this.selectedTags.join(),""!=this.selectedTagsStr&&this.devicesService.getDevicesByTagsByCondition(this.selectedTagsStr,!0).subscribe({next:t=>{this.deviceList=t.data}})}onTagDeSelect(i){this.selectedDevices=null,this.selectedDeviceStr="",0==this.selectedTags.length?(this.selectedTags=null,this.selectedTagsStr="",this.setAllDevices()):this.selectedTagsStr=this.selectedTags.join(),""!=this.selectedTagsStr&&this.devicesService.getDevicesByTagsByCondition(this.selectedTagsStr,!0).subscribe({next:t=>{this.deviceList=t.data}})}onTagDeSelectAll(i){this.setAllDevices(),this.selectedTags=null,this.selectedTagsStr="",this.selectedDevices=null,this.selectedDeviceStr=""}setAllDevices(){this.deviceList=this.allInitialDeviceList}applyFilter(){this.validationOnRingingDuration()||(this.fromDate>this.toDate?this.error="From Date can not greater than To Date, please provide valid date":this.clearSortAndSearch(),this.loadDataTableForReceivedCalls())}resetData(){this.excludeNumberFlag=!0,document.getElementById("excludeNos").checked=!0,this.selectedDeviceStr="",this.selectedDevices=null,this.selectedTagsStr="",this.selectedTags=null,this.setAllDevices(),this.clearSortAndSearch(),this.setDefaultTodayDate(
1),this.isDateChange=!0,this.selectedRingingRange=null,this.selectedRingingRangeStr=null,this.fromRingingDuration=null,this.toRingingDuration=null,this.isRingingDurationDisable=!0,this.isToRingingDuration=!1}clearSortAndSearch(){this.searchColName=null,this.searchColValue=null,this.searchColName=null,this.searchColValue=null,this.column1order="desc",this.column2order="desc",this.column1sort=!1,this.column2sort=!0,this.toName=null,this.fromName=null,this.start=0,this.length=Number(this.commonService.getLocalStorage(D.t.PAGE_SIZE_PREFERENCE_WISE))}loadDataTableForReceivedCalls(){this.spinner.show("sp3"),(null==this.selectedDeviceStr||null==this.selectedDeviceStr)&&(this.selectedDeviceStr=""),(null==this.selectedTagsStr||null==this.selectedTagsStr)&&(this.selectedTagsStr=""),this.recentFilterData.selectedDeviceStr=this.selectedDeviceStr,this.recentFilterData.selectedTagsStr=this.selectedTagsStr,this.recentFilterData.fromDate=this.fromDate,this.recentFilterData.toDate=this.toDate,this.recentFilterData.excludeNumberFlag=this.excludeNumberFlag,this.recentFilterData.selectedRingingRangeStr=this.selectedRingingRangeStr||"",this.recentFilterData.fromRingingDuration=this.fromRingingDuration||"",this.recentFilterData.toRingingDuration=this.toRingingDuration||"",this.getNeverReceivedData(1)}closeMessageAlert(){this.error=""}open(i){this.pickerDirective.open(i)}onFromDateChanged(i){this.closeMessageAlert(),null!=i.startDate&&(this.minToDate=_()(new Date(i.startDate._d)),this.fromDate=_()(i.startDate).format("YYYY-MM-DD")+"T"+this.datePipe.transform(this.fromTime,"HH:mm"),this.fromTimeFormat=this.datePipe.transform(this.fromTime,"hh:mm a"),this.isDateChange=!1),null!=i.startDate&&null!=i.endDate&&(this.isDisable=!1,null!=this.toDate&&(this.diffInDays=Math.abs(_()(this.fromDate).diff(_()(this.toDate),"days"))),this.diffInDays>D.t.SIX_MONTHS_DURATION&&(this.isDisable=!0,this.error=this.translate.instant(D.t.ERROR_MAX_180_DAYS)))}onToDateChanged(i){this.closeMessageAlert(),null!=i.startDate&&(this.minToDate=_()(new Date(i.endDate._d)),this.toDate=_()(i.endDate).format("YYYY-MM-DD")+"T"+this.datePipe.transform(this.toTime,"HH:mm"),this.toTimeFormat=this.datePipe.transform(this.toTime,"hh:mm a"),this.isDateChange=!1),null!=i.startDate&&null!=i.endDate&&(this.isDisable=!1,null!=this.fromDate&&(this.diffInDays=Math.abs(_()(this.fromDate).diff(_()(this.toDate),"days"))),this.diffInDays>D.t.SIX_MONTHS_DURATION&&(this.isDisable=!0,this.error=this.translate.instant(D.t.ERROR_MAX_180_DAYS)))}exportToCsv(){if(this.closeMessageAlert(),this.csvProcessFlag=!0,this.isRequestForCsvFlag=!0,null==this.neverReceivedTabData||null==this.neverReceivedTabData||0==this.neverReceivedTabData.length)return void this.Toast.fire({icon:"error",title:"<span>Export failed; file cannot be exported as there is no data.</span> "});let i=$('input[type="search"]').val();if((null==i||null==i)&&(i=""),this.totalRecords&&this.totalRecords>D.t.EXPORT_REPORT_LIMIT)return void(this.error="You can export a maximum of "+D.t.EXPORT_REPORT_LIMIT+" record at a time. Please split your data into batches of "+D.t.EXPORT_REPORT_LIMIT+" or less and try again.");this.reportsService.getNeverAttendedReceivedDataForTab(this.recentFilterData.selectedDeviceStr,this.recentFilterData.selectedTagsStr,this.recentFilterData.fromDate,this.recentFilterData.toDate,this.recentFilterData.excludeNumberFlag,!1,this.searchColName,this.searchColValue,"","","","","Periodic Reports | Not Pickup By Client",null,this.recentFilterData.selectedRingingRangeStr,this.recentFilterData.fromRingingDuration,this.recentFilterData.toRingingDuration).subscribe({next:n=>{this.Toast.fire({icon:"info",title:"<span>"+n.message+"</span> "}),this.isRequestForCsvFlag=!1},error:n=>{this.csvProcessFlag=!1,this.isRequestForCsvFlag=!1,this.error=n.error.message||n.error.data}})}onFromTimeChange(i){null==i?this.setDeafultFromTime():(this.fromDate=_()(this.fromDate).format("YYYY-MM-DD")+"T"+this.datePipe.transform(i,"HH:mm"),this.fromTimeFormat=this.datePipe.transform(i,"hh:mm a"))}onToTimeChange(i){null==i?this.setDeafultToTime():(this.toDate=_()(this.toDate).format("YYYY-MM-DD")+"T"+this.datePipe.transform(i,"HH:mm"),this.toTimeFormat=this.datePipe.transform(i,"hh:mm a"))}cancelFromTimePicker(){this.fromTimeId.nativeElement.click(),this.setDeafultFromTime()}cancelToTimePicker(){this.toTimeId.nativeElement.click(),this.setDeafultToTime()}setDeafultFromTime(){this.fromTime=new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate(),0,0,0),this.fromDate=_()(this.fromDate).format("YYYY-MM-DD")+"T"+this.datePipe.transform(this.fromTime,"HH:mm"),this.fromTimeFormat=this.datePipe.transform(this.fromTime,"hh:mm a")}setDeafultToTime(){this.toTime=new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate(),23,59,59),this.toDate=_()(this.toDate).format("YYYY-MM-DD")+"T"+this.datePipe.transform(this.toT
1ime,"HH:mm"),this.toTimeFormat=this.datePipe.transform(this.toTime,"hh:mm a")}setFromTime(){this.fromTimeId.nativeElement.click(),this.onFromTimeChange(this.fromTime)}setToTime(){this.toTimeId.nativeElement.click(),this.onToTimeChange(this.toTime)}loadScript(i){const t=document.body,n=document.createElement("script");n.innerHTML="",n.src=i,n.async=!1,n.defer=!0,t.appendChild(n)}getNeverReceivedData(i){this.closeMessageAlert(),!this.isSearchRegisterMobile&&!this.isSearchToName&&this.spinner.show("sp3"),this.currentPage=i,this.start=(i-1)*this.length,this.neverReceivedDataForTabPageWiseSearchSubscripton&&this.neverReceivedDataForTabPageWiseSearchSubscripton.unsubscribe(),this.neverReceivedDataForTabPageWiseSearchSubscripton=this.reportsService.getNeverReceivedDataForTabPageWise(this.recentFilterData.selectedDeviceStr,this.recentFilterData.selectedTagsStr,this.recentFilterData.fromDate,this.recentFilterData.toDate,this.recentFilterData.excludeNumberFlag,!1,this.searchColName,this.searchColValue,"",this.orderCol,this.order,this.start,this.length,"","","","",this.recentFilterData.selectedRingingRangeStr,this.recentFilterData.fromRingingDuration,this.recentFilterData.toRingingDuration).subscribe({next:t=>{this.neverReceivedTabData=t.data.neverReceivedCallLogDtos,this.totalRecords=t.recordsTotal,this.srNoCounterStart=t.srNoCounterStart+1,this.setDateRange=t.data.dateRange,this.setPage(i),this.spinner.hide("sp3"),this.setIsSeachFlag()},error:t=>{this.spinner.hide("sp3"),this.error=t.error.message,this.setIsSeachFlag()}})}setPage(i){this.pager=this.pagerService.getPager(this.totalRecords,i,this.length)}showentries(){this.length=Number(this.length),this.getNeverReceivedData(1)}sortCol1(){this.column2sort=!1,this.column1sort=!0,"asc"==this.column1order?this.column1order="desc":this.column1order="asc",this.orderCol=1,this.order=this.column1order,this.getNeverReceivedData(1)}sortCol2(){this.column1sort=!1,this.column2sort=!0,"asc"==this.column2order?this.column2order="desc":this.column2order="asc",this.orderCol=2,this.order=this.column2order,this.getNeverReceivedData(1)}search(){if(null!=this.toName&&null!=this.toName&&""!=this.toName){let i=this.toName.replace("+","#");this.toName=i}if(null!=this.fromName&&null!=this.fromName&&""!=this.fromName){let i=this.fromName.replace("+","#");this.fromName=i}this.searchColName=[],this.searchColValue=[],null!=this.fromName&&null!=this.fromName&&""!=this.fromName&&(this.searchColName.push("fromNumber"),this.searchColValue.push(this.fromName)),null!=this.toName&&null!=this.toName&&""!=this.toName&&(this.searchColName.push("toNumber"),this.searchColValue.push(this.toName)),this.getNeverReceivedData(1)}hoverTab(){$(".filter-menu").click(function(){$(".la-angle-up").toggleClass("filter-menu-active")}),$(".filter-menu").click(function(){$(".date-filter-block").slideToggle()})}setIsSeachFlag(){this.neverReceivedDataForTabPageWiseSearchSubscripton=void 0,this.isSearchRegisterMobile=!1,this.isSearchToName=!1}changeDropdown(i){this.length=i,this.showentries()}changeRingingRange(){this.fromRingingDuration=null,this.toRingingDuration=null,$("#toRingingDuration").val(null),$("#fromRingingDuration").val(null),this.isToRingingDuration="Between"==this.selectedRingingRange,this.isRingingDurationDisable=!1,this.selectedRingingRangeStr=this.selectedRingingRange==this.rangeList[0]?"After":this.selectedRingingRange==this.rangeList[1]?"Before":this.selectedRingingRange}deselectRingingRange(){this.fromRingingDuration=null,this.toRingingDuration=null,this.selectedRingingRange=null,this.selectedRingingRangeStr=null,this.isRingingDurationDisable=!0,this.isToRingingDuration=!1}onChangeRingingDuration(i){"toRingingDuration"==i.target.id?this.toRingingDuration=i.target.value:this.fromRingingDuration=i.target.value}validateRingingDigits(i,t){let n=i.target.value.replace(/[^0-9]/g,"");""!==n&&parseInt(n)>999&&(n="999"),i.target.value=n,"to"===t?this.toRingingDuration=n:this.fromRingingDuration=n}validationOnRingingDuration(){if(this.selectedRingingRange==this.rangeList[0]||this.selectedRingingRange==this.rangeList[1]){if(null==this.fromRingingDuration||""===this.fromRingingDuration)return this.error="Please provide duration.",!0}else if(this.selectedRingingRange==this.rangeList[2]){if(null==this.fromRingingDuration||null==this.toRingingDuration||""===this.fromRingingDuration||""===this.toRingingDuration)return this.error="Please provide from and to duration.",!0;
1if(parseInt(this.fromRingingDuration)>parseInt(this.toRingingDuration))return this.error="From duration cannot be greater than To duration, please provide valid duration.",!0}return!1}numberOnly(i){const t=i.which?i.which:i.keyCode;return!(t>31&&(t<48||t>57))}handleEvent(i){if("dragenter"===i.type){if(!i.dataTransfer.getData("text/plain").match(/^\d+$/))return void i.preventDefault()}else if("drop"===i.type){if(!i.dataTransfer.getData("text/plain").match(/^\d+$/))return void i.preventDefault()}else if("paste"===i.type&&!i.clipboardData?.getData("text/plain")?.match(/^\d+$/))return void i.preventDefault()}static \u0275fac=function(t){return new(t||F)(e.Y36(S.F0),e.Y36(M.F),e.Y36(f.v),e.Y36(m.I),e.Y36(o.uU),e.Y36(d.P),e.Y36(u.e),e.Y36(R.sK),e.Y36(P.t2),e.Y36(O.K),e.Y36(N.J),e.Y36(y.YI))};static \u0275cmp=e.Xpm({type:F,selectors:[["ng-component"]],viewQuery:function(t,n){if(1&t&&(e.Gf(C.SP,5),e.Gf(T,5),e.Gf(Z,5)),2&t){let a;e.iGM(a=e.CRH())&&(n.pickerDirective=a.first),e.iGM(a=e.CRH())&&(n.fromTimeId=a.first),e.iGM(a=e.CRH())&&(n.toTimeId=a.first)}},decls:150,vars:135,consts:[[1,"content","setting-page"],[1,"row"],[1,"col-12"],["class","alert alert-dismissible fade show","role","alert",3,"ngClass",4,"ngIf"],[1,"custom-card"],[1,"custom-card-header","d-block","d-md-flex","justify-content-between"],[1,"title"],[1,"list-unstyled","mb-0","separator"],["class","separator-item",4,"ngxPermissionsOnly"],[1,"separator-item","filter-menu"],["href","javascript:void(0)"],[1,"las","la-filter"],[1,"las","la-angle-up"],[1,"custom-card-body","p-0"],[1,"date-filter-block"],[1,"start-date"],[1,"form-group"],[1,"row","no-gutters"],[1,"col-xl-7","col-lg-7","col-md-7","col-sm-7","col-7"],["type","text","ngxDaterangepickerMd","","readonly","true",1,"form-control","for-datePicker",3,"singleDatePicker","placeholder","showDropdowns","autoApply","ngModel","minDate","linkedCalendars","maxDate","locale","ngModelChange"],[1,"col-xl-5","col-lg-5","col-md-5","col-sm-5","col-5"],[1,"24hr-example"],["fromTimeTemplate",""],["type","text","id","fromTimeId","readonly","true","placement","bottom",1,"date-time-picker","for-timePicker",3,"value","popover","outsideClick","click"],["fromTimeId",""],["toTimeTemplate",""],["type","text","id","toTimeId","readonly","true","placement","bottom",1,"date-time-picker","for-timePicker",3,"value","popover","outsideClick","click"],["toTimeId",""],[1,"select-tag"],[3,"data","ngModel","settings","ngModelChange","onSelect","onSelectAll","onDeSelect","onDeSelectAll"],[1,"select-emp"],[3,"data","ngModel","settings","ngModelChange","onDeSelect","onDeSelectAll","onSelect","onSelectAll"],[1,"select-call-type"],[3,"data","ngModel","settings","ngModelChange","onDeSelect","onSelect"],["class","duration-select-between select-call-type w-12",4,"ngIf"],[1,"button-block"],[1,"btn","btn-theme",3,"disabled","click"],[1,"btn","btn-outline-theme","float-right","dt-disable",3,"ngClass","disabled","click"],[1,"custom-control","custom-checkbox","exclude-no"],["type","checkbox","id","excludeNos","value","option1","checked","checked","name","example1",1,"custom-control-input",3,"click"],["for","excludeNos",1,"custom-control-label"],["href","#","target","_blank",1,"text-theme",3,"routerLink"],[1,"custom-card-body","filter-date"],[1,"list-inline","mb-0"],[1,"list-inline-item"],[1,"display-inline","mb-0"],[1,"las","la-calendar","text-theme"],[1,"col-md-12","px-0"],[1,"lead_strip"],[1,"col-xl-12","col-lg-12","col-md-12","col-sm-12","px-0"],[1,"ng-select-show-info","float-right"],[1,"d-flex"],[1,"px-1","show-label"],[3,"childLength","changeDropdown"],[1,"custom-card-body","tabs-block"],[1,"table-responsive","manage-emp"],[1,"table","table-bordered","m-b-0","generaltbl"],["width","5%"],["width","27%",1,"dt-cursor",3,"click"],[3,"ngClass"],[1,"td-border-none","td-border-top"],[1,"td-border-top"],[1,"searchBox-Wrapper"],["type","text","type","text","placeholder","Search",1,"form-control",3,"ngModel","ngModelChange","keyup.enter","keyup"],[1,"search-btn","searchEmpicn"],[1,"position-relative"],[4,"ngFor","ngForOf"],[4,"ngIf"],["bdOpacity","1","color","#000","name","sp3","type","ball-spin-clockwise",3,"fullScreen"],["class","row pl-15",4,"ngIf"],["role","alert",1,"alert","alert-dismissible","fade","show",3,"ngClass"],["type","button","data-dismiss","alert","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],[1,"las","la-exclamation-triangle"],[1,"separator-item"],[1,"dropdown"],["href","javascript:void(0)","data-toggle","dropdown",1,"dropdown-toggle"],[1,"las","la-file-download"],[1,"las","la-angle-down"],[1,"dropdown-menu","dropdown-menu-right"],["href","javascript:void(0);",1,"dropdown-item",3,"appTooltip","click"],[1,"las","la-file-csv"],[3,"ngModel","minuteStep","showMeridian","ngModelChange"],[1,"list-inline","mb-0","text-center"],["type","button",1,"btn","btn-theme","time-pick-btn",3,"click"],["type","button",1,"btn","btn-theme-black","time-pick-btn",3,"click"],[1,"duration-select-between","select-call-type","w-12"],["style","font-size: 15px; line-height: 14px; color: #2f2f39; font-weight: 700;",4,"ngIf"],["type","text","pattern","\\d*","maxlength","3","id","fromRingingDuration","name","fromRingingDuration",1,"form-control",3,"ngClass","placeholder","keypress","input","drop","dragenter","paste","blur"],["class","between-icon",4,"ngIf"],[2,"font-size","15px","line-height","14px","color","#2f2f39","font-weight","700"],[1,"between-icon"],["type","text","pattern","\\d*","maxlength","3","placeholder","To","id","toRingingDuration","name","toRingingDuration",1,"form-control",3,"ngClass","keypress","input","drop","dragenter","paste","blur"],[1,"outgoing-text","td-border-none","text-center"],[1,"las","la-undo","outgoing-icon"],[1,"d-inline-flex","align-items-center","icon-wrapper","ml-2",2,"gap","5px"],["alt","video","width","18","height","11","viewBox","0 0 18 11","fill","none","xmlns","http://www.w3.org/2000/svg",3,"appTooltip",4,"ngIf"],["alt","whatsapp","width","20","height","20","viewBox","0 0 20 20","fill","none","xmlns","http://www.w3.org/2000/svg",3,"appTooltip",4,"ngIf"],["alt","phone","width","20","height","20","viewBox","0 0 20 20","fill","none","xmlns","http://www.w3.org/2000/svg",3,"appTooltip",4,"ngIf"],[1,"td-border-none","text-center"],[1,"border-top-0","border-bottom-0",2,"min-width","100px","text-align","center"],["alt","video","width","18","height","11","viewBox","0 0 18 11","fill","none","xmlns","http://www.w3.org/2000/svg",3,"appTooltip"],["d","M8.45909 0.75H2.49545C2.03253 0.75 1.58857 0.939642 1.26123 1.2772
11C0.933896 1.61477 0.75 2.07261 0.75 2.55V7.95C0.75 8.42739 0.933896 8.88523 1.26123 9.22279C1.58857 9.56036 2.03253 9.75 2.49545 9.75H8.45909C8.68831 9.75 8.91528 9.70344 9.12705 9.61298C9.33882 9.52252 9.53123 9.38994 9.69331 9.22279C9.85539 9.05565 9.98396 8.85722 10.0717 8.63883C10.1594 8.42044 10.2045 8.18638 10.2045 7.95V2.55C10.2045 2.31362 10.1594 2.07956 10.0717 1.86117C9.98396 1.64278 9.85539 1.44435 9.69331 1.27721C9.53123 1.11006 9.33882 0.977475 9.12705 0.887017C8.91528 0.796558 8.68831 0.75 8.45909 0.75ZM16.75 0.75L12.3864 5.25L16.75 9.75V0.75Z","stroke","#939393","stroke-width","1.5","stroke-linejoin","round"],["alt","whatsapp","width","20","height","20","viewBox","0 0 20 20","fill","none","xmlns","http://www.w3.org/2000/svg",3,"appTooltip"],["d","M15.8747 4.09301C15.1106 3.32144 14.2005 2.70965 13.1976 2.29332C12.1947 1.87698 11.1189 1.66442 10.033 1.66801C5.48301 1.66801 1.77467 5.37635 1.77467 9.92635C1.77467 11.3847 2.15801 12.8013 2.87467 14.0513L1.70801 18.3347L6.08301 17.1847C7.29134 17.843 8.64967 18.193 10.033 18.193C14.583 18.193 18.2913 14.4847 18.2913 9.93468C18.2913 7.72635 17.433 5.65135 15.8747 4.09301ZM10.033 16.793C8.79967 16.793 7.59134 16.4597 6.53301 15.8347L6.28301 15.6847L3.68301 16.368L4.37467 13.8347L4.20801 13.5763C3.52263 12.4822 3.15878 11.2174 3.15801 9.92635C3.15801 6.14301 6.24134 3.05968 10.0247 3.05968C11.858 3.05968 13.583 3.77635 14.8747 5.07635C15.5144 5.7129 16.0213 6.47013 16.366 7.30412C16.7108 8.13811 16.8865 9.03225 16.883 9.93468C16.8997 13.718 13.8163 16.793 10.033 16.793ZM13.7997 11.6597C13.5913 11.5597 12.5747 11.0597 12.3913 10.9847C12.1997 10.918 12.0663 10.8847 11.9247 11.0847C11.783 11.293 11.3913 11.7597 11.2747 11.893C11.158 12.0347 11.033 12.0513 10.8247 11.943C10.6163 11.843 9.94967 11.618 9.16634 10.918C8.54967 10.368 8.14134 9.69301 8.01634 9.48468C7.89967 9.27635 7.99967 9.16801 8.10801 9.05968C8.19967 8.96801 8.31634 8.81801 8.41634 8.70135C8.51634 8.58468 8.55801 8.49301 8.62467 8.35968C8.69134 8.21801 8.65801 8.10135 8.60801 8.00135C8.55801 7.90135 8.14134 6.88468 7.97467 6.46801C7.80801 6.06801 7.63301 6.11801 7.50801 6.10968H7.10801C6.96634 6.10968 6.74967 6.15968 6.55801 6.36801C6.37467 6.57635 5.84134 7.07635 5.84134 8.09301C5.84134 9.10968 6.58301 10.093 6.68301 10.2263C6.78301 10.368 8.14134 12.4513 10.208 13.343C10.6997 13.5597 11.083 13.6847 11.383 13.7763C11.8747 13.9347 12.3247 13.9097 12.683 13.8597C13.083 13.8013 13.908 13.3597 14.0747 12.8763C14.2497 12.393 14.2497 11.9847 14.1913 11.893C14.133 11.8013 14.008 11.7597 13.7997 11.6597Z","fill","#939393"],["alt","phone","width","20","height","20","viewBox","0 0 20 20","fill","none","xmlns","http://www.w3.org/2000/svg",3,"appTooltip"],["d","M15.625 17.5H4.375C4.20924 17.5 4.05027 17.4342 3.93306 17.3169C3.81585 17.1997 3.75 17.0408 3.75 16.875V3.125C3.75 2.95924 3.81585 2.80027 3.93306 2.68306C4.05027 2.56585 4.20924 2.5 4.375 2.5H11.875L16.25 6.875V16.875C16.25 17.0408 16.1842 17.1997 16.0669 17.3169C15.9497 17.4342 15.7908 17.5 15.625 17.5Z","stroke","#A4A4A4","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round"],["d","M13.3125 13.75C12.4444 13.75 11.5868 13.5608 10.7396 13.1825C9.89236 12.8042 9.12153 12.2676 8.42708 11.5729C7.73264 10.8782 7.19625 10.1074 6.81792 9.26042C6.43958 8.41347 6.25028 7.55583 6.25 6.6875C6.25 6.5625 6.29167 6.45833 6.375 6.375C6.45833 6.29167 6.5625 6.25 6.6875 6.25H8.375C8.47222 6.25 8.55903 6.28306 8.63542 6.34917C8.71181 6.41528 8.75694 6.49333 8.77083 6.58333L9.04167 8.04167C9.05556 8.15278 9.05208 8.24653 9.03125 8.32292C9.01042 8.39931 8.97222 8.46528 8.91667 8.52083L7.90625 9.54167C8.04514 9.79861 8.21 10.0468 8.40083 10.2863C8.59167 10.5257 8.80181 10.7567 9.03125 10.9792C9.24653 11.1944 9.47222 11.3942 9.70833 11.5783C9.94444 11.7625 10.1944 11.9308 10.4583 12.0833L11.4375 11.1042C11.5 11.0417 11.5817 10.9949 11.6825 10.9637C11.7833 10.9326 11.8822 10.9239 11.9792 10.9375L13.4167 11.2292C13.5139 11.2569 13.5937 11.3074 13.6562 11.3804C13.7187 11.4535 13.75 11.535 13.75 11.625V13.3125C13.75 13.4375 13.7083 13.5417 13.625 13.625C13.5417 13.7083 13.4375 13.75 13.3125 13.75Z","fill","#A4A4A4"],["colspan","6",1,"text-center","border-0","no-data"],[1,"row","pl-15"],[1,"col-xl-6","col-lg-6","col-md-6","col-sm-6","col-6"],[1,"p_20"],[1,"table-footer-pagination"],[1,"list-inline"],[1,"list-inline","mb-0","pagination-page","d-flex","align-items-center"],["href","javascript:void(0)","class","d-none d-md-inline-block",3,"click",4,"ngIf"],["class","dt-disable d-none d-md-inline-block",4,"ngIf"],["href","javascript:void(0)","class","d-flex d-md-inline-block align-items-center mr-2 mr-md-0",3,"click",4,"ngIf"],["class","dt-disable d-flex d-md-inline-block align-items-center mr-2 mr-md-0",4,"ngIf"],["class","list-inline-item d-none d-md-inline-block",4,"ngFor","ngForOf"],["href","javascript:void(0)","class","d-flex d-md-inline-block align-items-center ml-2 ml-md-0",3,"click",4,"ngIf"],["class","dt-disable d-flex d-md-inline-block align-items-center ml-2 ml-md-0",4,"ngIf"],["href","javascript:void(0)",1,"d-none","d-md-inline-block",3,"click"],[1,"las","la-caret-left"],[1,"dt-disable","d-none","d-md-inline-block"],["href","javascript:void(0)",1,"d-flex","d-md-inline-block","align-items-center","mr-2","mr-md-0",3,"click"],[1,"las","la-angle-left"],[1,"d-block","d-md-none","pagination-text"],[1,"dt-disable","d-flex","d-md-inline-block","align-items-center","mr-2","mr-md-0"],[1,"list-inline-item","d-none","d-md-inline-block"],["href","javascript:void(0)",3,"ngClass","click"],["href","javascript:void(0)",1,"d-flex","d-md-inline-block","align-items-center","ml-2","ml-md-0",3,"click"],[1,"las","la-angle-right"],[1,"dt-disable","d-flex","d-md-inline-block","align-items-center","ml-2","ml-md-0"],[1,"las","la-caret-right"]],template:function(t,n){if(1&t&&(e.TgZ(0,"section",0)(1,"div",1)(2,"div",2),e.YNc(3,H,5,4,"div",3),e.TgZ(4,"div",4)(5,"div",5)(6,"h2",6),e._uU(7),e.ALo(8,"translate"),e.qZA(),e.TgZ(9,"ul",7),e.YNc(10,Q,11,4,"li",8),e.TgZ(11,"li",9)(12,"a",10),e._UZ(13,"i",11),e._uU(14),e.ALo(15,"translate"),e._UZ(16,"i",12),e.qZA()()()(),e.TgZ(17,"div",13)(18,"div",14)(19,"div",15)(20,"div",16)(21,"label"),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.TgZ(24,"div",17)(25,"div",18)(26,"input",19),e.NdJ("ngModelChange",function(s){return n.onFromDateChanged(s)})("ngModelChange",function(s){return n.fromDateModal=s}),e.ALo(27,"translate"),e.ALo(28,"translate"),e.ALo(29,"uppercase"),e.qZA()(),e.TgZ(30,"div",20)(31,"div",21),e.YNc(32,q,8,3,"ng-template",null,22,e.W1O),e.TgZ(34,"input",23,24),e.NdJ("click",function(){return n.closeMessageAlert()}),e.qZA()()()()()(),e.TgZ(36,"div",15)(37,"div",16)(38,"label"),e._uU(39),e.ALo(40,"translate"),e.qZA(),e.TgZ(41,"div",17)(42,"div",18)(43,"input",19),e.NdJ("ngModelChange",function(s){return n.onToDateChanged(s)})("ngModelChange",function(s){return n.toDateModal=s}),e.ALo(44,"translate"),e.ALo(45,"translate"),e.ALo(46,"uppercase"),e.qZA()(),e.TgZ(47,"div",20)(48,"div",21),e.YNc(49,j,10,9,"ng-template",null,25,e.W1O),e.TgZ(51,"input",26,27),e.NdJ("click",function(){return n.closeMessageAlert()}),e.qZA()()()()()(),e.TgZ(53,"div",28)(54,"div",16)(55,"label"),e._uU(56),e.ALo(57,"translate"),e.qZA(),e.TgZ(58,"ng-multiselect-dropdown",29),e.NdJ("ngModelChange",function(s){return n.selectedTags=s})("onSelect",function(s){return n.onTagSelect(s)})("onSelectAll",function(s){return n.onTagSelectAll(s)})("onDeSelect",function(s){return n.onTagDeSelect(s)})("onDeSelectAll",function(s){return n.onTagDeSelectAll(s)}),e.qZA()()(),e.TgZ(59,"div",30)(60,"div",16)(61,"label"),e._uU(62),e.ALo(63,"translate"),e.ALo(64,"translate"),e.qZA(),e.TgZ(65,"ng-multiselect-dropdown",31),e.NdJ("ngModelChange",function(s){return n.selectedDevices=s})("onDeSelect",function(s){return n.onDeviceDeSelect(s)})("onDeSelectAll",function(s){return n.onDeviceDeSelectAll(s)})("onSelect",function(s){return n.onDeviceSelect(s)})("onSelectAll",function(s){return n.onDeviceSelectAll(s)}),e.qZA()()(),e.TgZ(66,"div",32)(67,"div",16)(68,"label"),e._uU(69),e.ALo(70,"translate"),e.ALo(71,"translate"),e.qZA(),e.TgZ(72,"ng-multiselect-dropdown",33),e.NdJ("ngModelChange",function(s){return n.selectedRingingRange=s})("onDeSelect",function(){return n.deselectRingingRange()})("onSelect",function(){return n.changeRingingRange()}),e.qZA()()(),e.YNc(73,X,7,5,"div",34),e.TgZ(74,"div",35)(75,"button",36),e.NdJ("click",function(){return n.applyFilter()}),e._uU(76),e.ALo(77,"translate"),e.qZA(),e.TgZ(78,"button",37),e.NdJ("click",function(){return n.resetData()}),e._uU(79),e.ALo(80,"translate"),e.qZA()(),e.TgZ(81,"div",38)(82,"input",39),e.NdJ("click",function(s){return n.excludeNumbers(s)}),e.qZA(),e._UZ(83,"label",40),e._uU(84),e.ALo(85,"translate"),e.TgZ(86,"a",41),e._uU(87),e.ALo(88,"translate"),e.qZA()()()(),e.TgZ(89,"div",42)(90,"ul",43)(91,"li",44)(92,"p",45),e._UZ(93,"i",46),e._uU(94),e.qZA()()()(),e.TgZ(95,"div",47)(96,"div",48)(97,"div",1)(98,"div",49)(99,"div",50)(100,"div",51)(101,"div",52),e._uU(102),e.ALo(103,"translate"),e.qZA(),e.TgZ(104,"pageable-dropdown",53),e.NdJ("changeDropdown",function(s){return n.changeDropdown(s)}),e.qZA()()()()()()(),e.TgZ(105,"div",54)(106,"div",55)(107,"table",56)(108,"thead")(109,"tr")(110,"th",57),e._uU(111),e.ALo(112,"translate"),e.qZA(),e.TgZ(113,"th",58),e.NdJ("click",function(){return n.sortCol1()}),e._uU(114),e.ALo(115,"translate"),e._UZ(116,"i",59),e.qZA(),e.TgZ(117,"th",58),e.NdJ("click",function(){return n.sortCol2()}),e._uU(118),e.ALo(119,"translate"),e._UZ(120,"i",59),e.qZA(),e.TgZ(121,"th",60),e._uU(122),e.ALo(123,"translate"),e.qZA(),e.TgZ(124,"th",60),e._uU(125),e.ALo(126,"translate"),e.qZA(),e.TgZ(127,"th",61),e._uU(128),e.ALo(129,"translate"),e.qZA()(),e.TgZ(130,"tr"),e._UZ(131,"th"),e.TgZ(132,"th")(133,"div",62)(134,"input",63),e.NdJ("ngModelChange",function(s){return n.fromName=s})("keyup.enter",function(){return n.search()})("keyup",function(){return n.isSearchRegisterMobile=!0,n.search()}),e.qZA(),e.TgZ(135,"div",64),e._UZ(136,"i",59),e.qZA()()(),e.TgZ(137,"th")(138,"div",62)(139,"input",63),e.NdJ("ngModelChange",function(s){return n.toName=s})("keyup.enter",function(){return n.search()})("keyup",function(){return n.isSearchToName=!0,n.search()}),e.qZA(),e.TgZ(140,"div",64),e._UZ(141,"i",59),e.qZA()()(),e._UZ(142,"th",60)(143,"th",60)(144,"th"),e.qZA()(),e.TgZ(145,"tbody",65),e.YNc(146,ae,9,7,"ng-container",66),e.YNc(147,re,4,3,"tr",67),e._UZ(148,"ngx-spinner",68),e.qZA()()(),e.YNc(149,Te,26,17,"div",69),e.qZA()()()()()),2&t){const a=e.MAs(33),s=e.MAs(50);e.xp6(3),e.Q6J("ngIf",n.error&&n.error.length>
10),e.xp6(4),e.Oqu(e.lcZ(8,74,"Not Pickup by Client")),e.xp6(3),e.Q6J("ngxPermissionsOnly",e.DdM(126,Re)),e.xp6(4),e.hij(" ",e.lcZ(15,76,"Filters")," "),e.xp6(8),e.Oqu(e.lcZ(23,78,"From Date")),e.xp6(4),e.hYB("placeholder","",e.lcZ(27,80,"Select"),"",e.lcZ(28,82,"Date"),""),e.Q6J("singleDatePicker",!0)("showDropdowns",!0)("autoApply",!0)("ngModel",n.fromDateModal)("minDate",n.twoYearsAgo)("linkedCalendars",!0)("maxDate",n.tomorrow)("locale",e.VKq(127,K,e.lcZ(29,84,n.dateFormat))),e.xp6(8),e.s9C("value",n.fromTimeFormat),e.Q6J("popover",a)("outsideClick",!0),e.xp6(5),e.Oqu(e.lcZ(40,86,"To Date")),e.xp6(4),e.hYB("placeholder","",e.lcZ(44,88,"Select"),"",e.lcZ(45,90,"Date"),""),e.Q6J("singleDatePicker",!0)("showDropdowns",!0)("autoApply",!0)("ngModel",n.toDateModal)("minDate",n.twoYearsAgo)("linkedCalendars",!0)("maxDate",n.tomorrow)("locale",e.VKq(129,K,e.lcZ(46,92,n.dateFormat))),e.xp6(8),e.s9C("value",n.toTimeFormat),e.Q6J("popover",s)("outsideClick",!0),e.xp6(5),e.Oqu(e.lcZ(57,94,"Select Tags")),e.xp6(2),e.Q6J("data",n.tagList)("ngModel",n.selectedTags)("settings",n.tagsSetting),e.xp6(4),e.AsE("",e.lcZ(63,96,"Select")," ",e.lcZ(64,98,"Employees"),""),e.xp6(3),e.Q6J("data",n.deviceList)("ngModel",n.selectedDevices)("settings",n.deviceSettings),e.xp6(4),e.AsE("",e.lcZ(70,100,"Ringing Time")," ",e.lcZ(71,102,"(Seconds)"),""),e.xp6(3),e.Q6J("data",n.rangeList)("ngModel",n.selectedRingingRange)("settings",n.rangeSetting),e.xp6(1),e.Q6J("ngIf",""!=n.selectedRingingRange&&null!=n.selectedRingingRange),e.xp6(2),e.Q6J("disabled",n.isDisable),e.xp6(1),e.Oqu(e.lcZ(77,104,"Apply")),e.xp6(2),e.Q6J("ngClass",e.WLB(131,Ee,(null==n.selectedDevices||n.selectedDevices.length<=0)&&(null==n.selectedTags||n.selectedTags.length<=0)&&n.excludeNumberFlag&&n.isDateChange&&null==n.fromN
1ame&&null==n.toName,null!=n.selectedDevices&&n.selectedDevices.length>0||null!=n.selectedTags&&n.selectedTags.length>0||!n.excludeNumberFlag||!n.isDateChange||null!=n.fromName||null!=n.toName))("disabled",(null==n.selectedDevices||n.selectedDevices.length<=0)&&(null==n.selectedTags||n.selectedTags.length<=0)&&n.excludeNumberFlag&&n.isDateChange&&null==n.fromName&&null==n.toName),e.xp6(1),e.Oqu(e.lcZ(80,106,"Reset")),e.xp6(5),e.hij(" ",e.lcZ(85,108,"Exclude Numbers Mentioned in")," "),e.xp6(2),e.Q6J("routerLink",e.DdM(134,Me)),e.xp6(1),e.Oqu(e.lcZ(88,110,"Exclude Phone Numbers")),e.xp6(7),e.hij(" ",n.setDateRange,""),e.xp6(8),e.Oqu(e.lcZ(103,112,"Show")),e.xp6(2),e.Q6J("childLength",n.length),e.xp6(7),e.Oqu(e.lcZ(112,114,"Sr. No.")),e.xp6(3),e.Oqu(e.lcZ(115,116,"Employee")),e.xp6(2),e.Q6J("ngClass","asc"==n.column1order&&n.column1sort?"la la-sort-up":"desc"==n.column1order&&n.column1sort?"la la-sort-down":"la la-fw la-sort"),e.xp6(2),e.hij("",e.lcZ(119,118,"To Number")," "),e.xp6(2),e.Q6J("ngClass","asc"==n.column2order&&n.column2sort?"la la-sort-up":"desc"==n.column2order&&n.column2sort?"la la-sort-down":"la la-fw la-sort"),e.xp6(2),e.Oqu(e.lcZ(123,120,"Call Type")),e.xp6(3),e.Oqu(e.lcZ(126,122,"Call Time")),e.xp6(3),e.Oqu(e.lcZ(129,124,"Ringing Time")),e.xp6(6),e.Q6J("ngModel",n.fromName),e.xp6(2),e.Q6J("ngClass",n.isSearchRegisterMobile?"las la-spinner la-spin text-theme":"las la-search"),e.xp6(3),e.Q6J("ngModel",n.toName),e.xp6(2),e.Q6J("ngClass",n.isSearchToName?"las la-spinner la-spin text-theme":"las la-search"),e.xp6(5),e.Q6J("ngForOf",n.neverReceivedTabData),e.xp6(1),e.Q6J("ngIf",null==n.neverReceivedTabData||null==n.neverReceivedTabData||0==n.neverReceivedTabData.length),e.xp6(1),e.Q6J("fullScreen",!1),e.xp6(1),e.Q6J("ngIf",null!=n.neverReceivedTabData&&null!=n.neverReceivedTabData&&0!=n.neverReceivedTabData.length)}},dependencies:[o.mk,o.sg,o.O5,b.Fj,b.JJ,b.On,S.rH,P.Ro,C.SP,w.OP,I.i,E.EV,c.k5,y.gE,g.j,o.gd,R.X$],encapsulation:2})}const be=[{path:"",component:F}],Pe=S.Bz.forChild(be);var Ae=l(65415),Se=l(21256),Oe=l(99850),xe=l(88796);let Y=D.t.DATE_FORMAT_DEFAULT;const Ne={fullPickerInput:Y,parseInput:"LL LT",datePickerInput:Y,timePickerInput:"LT",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"};class B{static \u0275fac=function(t){return new(t||B)};static \u0275mod=e.oAB({type:B});static \u0275inj=e.cJS({imports:[o.ez,b.u5,b.UX,Pe,P.ef,C.n1.forRoot(),w.ZQ.forRoot(),Ae.T,Se.m,xe.A0,E.Db.forRoot(),c.UU.forRoot(),y.VI.forChild(),Oe.N]})}},99850:(L,x,l)=>{l.d(x,{N:()=>p});var o=l(36895),b=l(21256),S=l(24006),A=l(88796),D=l(94650);class p{static \u0275fac=function(h){return new(h||p)};static \u0275mod=D.oAB({type:p});static \u0275inj=D.cJS({imports:[S.u5,o.ez,A.A0,b.m]})}},65415:(L,x,l)=>{l.d(x,{T:()=>D});var o=l(94650),A=(function(){function p(_,v,h){this.el=_,this.vcr=v,this.renderer=h,this.dtOptions={}}p.prototype.ngOnInit=function(){var _=this;this.dtTrigger?this.dtTrigger.subscribe(function(v){_.displayTable(v)}):this.displayTable(null)},p.prototype.ngOnDestroy=function(){this.dtTrigger&&this.dtTrigger.unsubscribe(),this.dt&&this.dt.destroy(!0)},p.prototype.displayTable=function(_){var v=this;_&&(this.dtOptions=_),this.dtInstance=new Promise(function(h,C){Promise.resolve(v.dtOptions).then(function(e){0===Object.keys(e).length&&0===$("tbody tr",v.el.nativeElement).length?C("Both the table and dtOptions cannot be empty"):setTimeout(function(){var f={rowCallback:function(m,d,u){if(e.columns){var R=e.columns;v.applyNgPipeTransform(m,R),v.applyNgRefTemplate(m,R,d)}e.rowCallback&&e.rowCallback(m,d,u)}};f=Object.assign({},e,f),v.dt=$(v.el.nativeElement).DataTable(f),h(v.dt)})})})},p.prototype.applyNgPipeTransform=function(_,v){v.filter(function(C){return C.ngPipeInstance&&!C.ngTemplateRef}).forEach(function(C){var e=C.ngPipeInstance,M=C.ngPipeArgs||[],f=v.filter(function(R){return!1!==R.visible}).findIndex(function(R){return R.data===C.data}),m=_.childNodes.item(f),d=$(m).text(),u=e.transform.apply(e,function(p,_,v){if(v||2===arguments.length)for(var e,h=0,C=_.length;h<C;h++)(e||!(h in _))&&(e||(e=Array.prototype.slice.call(_,0,h)),e[h]=_[h]);return p.concat(e||Array.prototype.slice.call(_))}([d],M,!1));$(m).text(u)})},p.prototype.applyNgRefTemplate=function(_,v,h){var C=this;v.filter(function(M){return M.ngTemplateRef&&!M.ngPipeInstance}
1).forEach(function(M){var f=M.ngTemplateRef,m=f.ref,d=f.context,u=v.filter(function(N){return!1!==N.visible}).findIndex(function(N){return N.data===M.data}),R=_.childNodes.item(u);$(R).html("");var P=Object.assign({},d,d?.userData,{adtData:h}),O=C.vcr.createEmbeddedView(m,P);C.renderer.appendChild(R,O.rootNodes[0])})},p.\u0275fac=function(v){return new(v||p)(o.Y36(o.SBq),o.Y36(o.s_b),o.Y36(o.Qsj))},p.\u0275dir=o.lG2({type:p,selectors:[["","datatable",""]],inputs:{dtOptions:"dtOptions",dtTrigger:"dtTrigger"}})}(),l(36895)),D=function(){function p(){}return p.forRoot=function(){return{ngModule:p}},p.\u0275fac=function(v){return new(v||p)},p.\u0275mod=o.oAB({type:p}),p.\u0275inj=o.cJS({imports:[A.ez]}),p}()},43056:(L,x,l)=>{l.d(x,{UU:()=>f,k5:()=>M});var o=l(94650),b=l(82381),S=l(21607),A=l(65987),D=l(36895),p=l(5963);function _(m,d){if(1&m&&(o.TgZ(0,"h3",3),o._uU(1),o.qZA()),2&m){const u=o.oxw();o.xp6(1),o.Oqu(u.title)}}class h{constructor(){this.adaptivePosition=!0,this.placement="top",this.triggers="click",this.outsideClick=!1,this.delay=0}}h.\u0275fac=function(d){return new(d||h)},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"});class C{constructor(d){this._placement="top",Object.assign(this,d)}set placement(d){this._bsVersions.isBs5?this._placement=A.Bz[d]:this._placement=d}get _bsVersions(){return(0,S.Wl)()}checkMarginNecessity(){return(0,A.lx)(this._placement)}}C.\u0275fac=function(d){return new(d||C)(o.Y36(h))},C.\u0275cmp=o.Xpm({type:C,selectors:[["popover-container"]],hostAttrs:["role","tooltip",2,"display","block","position","absolute"],hostVars:7,hostBindings:function(d,u){2&d&&(o.uIk("id",u.popoverId),o.Tol("popover in popover-"+u._placement+" bs-popover-"+u._placement+" "+u._placement+" "+u.containerClass+" "+u.checkMarginNecessity()),o.ekj("show",!u._bsVersions.isBs3)("bs3",u._bsVersions.isBs3))},inputs:{placement:"placement",title:"title"},ngContentSelectors:["*"],decls:4,vars:1,consts:[[1,"popover-arrow","arrow"],["class","popover-title popover-header",4,"ngIf"],[1,"popover-content","popover-body"],[1,"popover-title","popover-header"]],template:function(d,u){1&d&&(o.F$t(),o._UZ(0,"div",0),o.YNc(1,_,2,1,"h3",1),o.TgZ(2,"div",2),o.Hsn(3),o.qZA()),2&d&&(o.xp6(1),o.Q6J("ngIf",u.title))},dependencies:[D.O5],styles:[".popover.bottom[_nghost-%COMP%] > .arrow[_ngcontent-%COMP%]{margin-left:-4px}[_nghost-%COMP%] .popover-arrow[_ngcontent-%COMP%]{position:absolute}"],changeDetection:0});let e=0;class M{constructor(d,u,R,P,O,N){this._elementRef=u,this._renderer=R,this._positionService=N,this.popoverId=e++,this.adaptivePosition=!0,this.placement="top",this.outsideClick=!1,this.triggers="click",this.containerClass="",this.delay=0,this._isInited=!1,this._popover=O.createLoader(u,P,R).provide({provide:h,useValue:d}),Object.assign(this,d),this.onShown=this._popover.onShown,this.onHidden=this._popover.onHidden,typeof window<"u"&&u.nativeElement.addEventListener("click",function(){try{u.nativeElement.focus()}catch{return}})}get isOpen(){return this._popover.isShown}set isOpen(d){d?this.show():this.hide()}setAriaDescribedBy(){this._ariaDescribedby=this.isOpen?`ngx-popover-${this.popoverId}`:void 0,this._ariaDescribedby?(this._popover.instance&&(this._popover.instance.popoverId=this._ariaDescribedby),this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ariaDescribedby)):this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby")}show(){if(this._popover.isShown||!this.popover||this._delayTimeoutId)return;this._positionService.setOptions({modifiers:{flip:{enabled:this.adaptivePosition},preventOverflow:{enabled:this.adaptivePosition,boundariesElement:this.boundariesElement||"scrollParent"}}});const d=()=>{this._delayTimeoutId&&(this._delayTimeoutId=void 0),this._popover.attach(C).to(this.container).position({attachment:this.placement}).show({content:this.popover,context:this.popoverContext,placement:this.placement,title:this.popoverTitle,containerClass:this.containerClass}),!this.adaptivePosition&&this._popover._componentRef&&(this._positionService.calcPosition(),this._positionService.deletePositionElement(this._popover._componentRef.location)),this.isOpen=!0,this.setAriaDescribedBy()},u=()=>{this._popoverCancelShowFn&&this._popoverCancelShowFn()};if(this.delay){const R=(0,p.H)(this.delay).subscribe(()=>{d(),u()});
1this.triggers&&(0,S.AL)(this.triggers).forEach(P=>{P.close&&(this._popoverCancelShowFn=this._renderer.listen(this._elementRef.nativeElement,P.close,()=>{R.unsubscribe(),u()}))})}else d()}hide(){this._delayTimeoutId&&(clearTimeout(this._delayTimeoutId),this._delayTimeoutId=void 0),this.isOpen&&(this._popover.hide(),this.setAriaDescribedBy(),this.isOpen=!1)}toggle(){if(this.isOpen)return this.hide();this.show()}ngOnInit(){this._isInited||(this._isInited=!0,this._popover.listen({triggers:this.triggers,outsideClick:this.outsideClick,show:()=>this.show(),hide:()=>this.hide()}))}ngOnDestroy(){this._popover.dispose()}}M.\u0275fac=function(d){return new(d||M)(o.Y36(h),o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(o.s_b),o.Y36(b.oj),o.Y36(A.sA))},M.\u0275dir=o.lG2({type:M,selectors:[["","popover",""]],inputs:{adaptivePosition:"adaptivePosition",boundariesElement:"boundariesElement",popover:"popover",popoverContext:"popoverContext",popoverTitle:"popoverTitle",placement:"placement",outsideClick:"outsideClick",triggers:"triggers",container:"container",containerClass:"containerClass",isOpen:"isOpen",delay:"delay"},outputs:{onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-popover"]});class f{static forRoot(){return{ngModule:f,providers:[b.oj,A.sA]}}}f.\u0275fac=function(d){return new(d||f)},f.\u0275mod=o.oAB({type:f}),f.\u0275inj=o.cJS({imports:[D.ez]})},68423:(L,x,l)=>{l.d(x,{Ro:()=>w,ef:()=>I,t2:()=>O});var o=l(94650),b=l(61135),S=l(77579),A=l(39300),D=l(82722),p=l(37340),_=l(36895),v=l(11481);const h=["overlay"];function C(E,c){1&E&&o._UZ(0,"div")}function e(E,c){if(1&E&&(o.TgZ(0,"div"),o.YNc(1,C,1,0,"div",6),o.qZA()),2&E){const g=o.oxw(2);o.Tol(g.spinner.class),o.Udp("color",g.spinner.color),o.xp6(1),o.Q6J("ngForOf",g.spinner.divArray)}}function M(E,c){if(1&E&&(o._UZ(0,"div",7),o.ALo(1,"safeHtml")),2&E){const g=o.oxw(2);o.Q6J("innerHTML",o.lcZ(1,1,g.template),o.oJD)}}function f(E,c){if(1&E&&(o.TgZ(0,"div",1,2),o.YNc(2,e,2,5,"div",3),o.YNc(3,M,2,3,"div",4),o.TgZ(4,"div",5),o.Hsn(5),o.qZA()()),2&E){const g=o.oxw();o.Udp("background-color",g.spinner.bdColor)("z-index",g.spinner.zIndex)("position",g.spinner.fullScreen?"fixed":"absolute"),o.Q6J("@.disabled",g.disableAnimation)("@fadeIn","in"),o.xp6(2),o.Q6J("ngIf",!g.template),o.xp6(1),o.Q6J("ngIf",g.template),o.xp6(1),o.Udp("z-index",g.spinner.zIndex)}}const d={"ball-8bits":16,"ball-atom":4,"ball-beat":3,"ball-circus":5,"ball-climbing-dot":4,"ball-clip-rotate":1,"ball-clip-rotate-multiple":2,"ball-clip-rotate-pulse":2,"ball-elastic-dots":5,"ball-fall":3,"ball-fussion":4,"ball-grid-beat":9,"ball-grid-pulse":9,"ball-newton-cradle":4,"ball-pulse":3,"ball-pulse-rise":5,"ball-pulse-sync":3,"ball-rotate":1,"ball-running-dots":5,"ball-scale":1,"ball-scale-multiple":3,"ball-scale-pulse":2,"ball-scale-ripple":1,"ball-scale-ripple-multiple":3,"ball-spin":8,"ball-spin-clockwise":8,"ball-spin-clockwise-fade":8,"ball-spin-clockwise-fade-rotating":8,"ball-spin-fade":8,"ball-spin-fade-rotating":8,"ball-spin-rotate":2,"ball-square-clockwise-spin":8,"ball-square-spin":8,"ball-triangle-path":3,"ball-zig-zag":2,"ball-zig-zag-deflect":2,cog:1,"cube-transition":2,fire:3,"line-scale":5,"line-scale-party":5,"line-scale-pulse-out":5,"line-scale-pulse-out-rapid":5,"line-spin-clockwise-fade":8,"line-spin-clockwise-fade-rotating":8,"line-spin-fade":8,"line-spin-fade-rotating":8,pacman:6,"square-jelly-box":2,"square-loader":1,"square-spin":1,timer:1,"triangle-skew-spin":1},u_BD_COLOR="rgba(51,51,51,0.8)",u_SPINNER_COLOR="#fff",u_Z_INDEX=99999,R="primary";class P{constructor(c){Object.assign(this,c)}static create(c){return!c?.template&&(null==c?.type||0===c.type.length)&&console.warn('[ngx-spinner]: Property "type" is missed. Please, provide animation type to <ngx-spinner> component\n and ensure css is added to angular.json file'),new P(c)}}class O{constructor(){this.spinnerObservable=new b.X(null)}getSpinner(c){return this.spinnerObservable.asObservable().pipe((0,A.h)(g=>g&&g.name===c))}show(c=R,g){return new Promise((T,Z)=>{setTimeout(()=>{g&&Object.keys(g).length?(g.name=c,this.spinnerObservable.next(new P({...g,show:!0})),T(!0)):(this.spinnerObservable.next(new P({name:c,show:!0})),T(!0))},10)})}hide(c=R,g=10){return new Promise((T,Z)=>{setTimeout(()=>{this.spinnerObservable.next(new P({name:c,show:!1})),T(!0)},g)})}}O.\u0275fac=function(c){return new(c||O)},O.\u0275prov=o.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"});const N=new o.OlP("NGX_SPINNER_CONFIG");class y{constructor(c){this._sanitizer=c}transform(c){if(c)return this._sanitizer.bypassSecurityTrustHtml(c)}}y.\u0275fac=function(c){return new(c||y)(o.Y36(v.H7,16))},y.\u0275pipe=o.Yjl({name:"safeHtml",type:y,pure:!0});class w{constructor(c,g,T,Z){this.spinnerService=c,this.changeDetector=g,this.elementRef=T,this.globalConfig=Z,this.disableAnimation=!1,this.spinner=new P,this.ngUnsubscribe=new S.x,this.setDefaultOptions=()=>{const{type:U}=this.globalConfig??{};this.spinner=P.create({name:this.name,bdColor:this.bdColor,size:this.size,color:this.color,type:this.t
1ype??U,fullScreen:this.fullScreen,divArray:this.divArray,divCount:this.divCount,show:this.show,zIndex:this.zIndex,template:this.template,showSpinner:this.showSpinner})},this.bdColor=u_BD_COLOR,this.zIndex=u_Z_INDEX,this.color=u_SPINNER_COLOR,this.size="large",this.fullScreen=!0,this.name=R,this.template=null,this.showSpinner=!1,this.divArray=[],this.divCount=0,this.show=!1}handleKeyboardEvent(c){this.spinnerDOM&&this.spinnerDOM.nativeElement&&(this.fullScreen||!this.fullScreen&&this.isSpinnerZone(c.target))&&(c.returnValue=!1,c.preventDefault())}initObservable(){this.spinnerService.getSpinner(this.name).pipe((0,D.R)(this.ngUnsubscribe)).subscribe(c=>{this.setDefaultOptions(),Object.assign(this.spinner,c),c.show&&this.onInputChange(),this.changeDetector.detectChanges()})}ngOnInit(){this.setDefaultOptions(),this.initObservable()}isSpinnerZone(c){return c===this.elementRef.nativeElement.parentElement||c.parentNode&&this.isSpinnerZone(c.parentNode)}ngOnChanges(c){for(const g in c)if(g){const T=c[g];if(T.isFirstChange())return;typeof T.currentValue<"u"&&T.currentValue!==T.previousValue&&""!==T.currentValue&&(this.spinner[g]=T.currentValue,"showSpinner"===g&&(T.currentValue?this.spinnerService.show(this.spinner.name,this.spinner):this.spinnerService.hide(this.spinner.name)),"name"===g&&this.initObservable())}}getClass(c,g){this.spinner.divCount=d[c],this.spinner.divArray=Array(this.spinner.divCount).fill(0).map((Z,U)=>U);let T="";switch(g.toLowerCase()){case"small":T="la-sm";break;case"medium":T="la-2x";break;case"large":T="la-3x"}return"la-"+c+" "+T}onInputChange(){this.spinner.class=this.getClass(this.spinner.type,this.spinner.size)}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}}w.\u0275fac=function(c){return new(c||w)(o.Y36(O),o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(N,8))},w.\u0275cmp=o.Xpm({type:w,selectors:[["ngx-spinner"]],viewQuery:function(c,g){if(1&c&&o.Gf(h,5),2&c){let T;o.iGM(T=o.CRH())&&(g.spinnerDOM=T.first)}},hostBindings:function(c,g){1&c&&o.NdJ("keydown",function(Z){return g.handleKeyboardEvent(Z)},!1,o.evT)},inputs:{bdColor:"bdColor",size:"size",color:"color",type:"type",fullScreen:"fullScreen",name:"name",zIndex:"zIndex",template:"template",showSpinner:"showSpinner",disableAnimation:"disableAnimation"},features:[o.TTD],ngContentSelectors:["*"],decls:1,vars:1,consts:[["class","ngx-spinner-overlay",3,"background-color","z-index","position",4,"ngIf"],[1,"ngx-spinner-overlay"],["overlay",""],[3,"class","color",4,"ngIf"],[3,"innerHTML",4,"ngIf"],[1,"loading-text"],[4,"ngFor","ngForOf"],[3,"innerHTML"]],template:function(c,g){1&c&&(o.F$t(),o.YNc(0,f,6,12,"div",0)),2&c&&o.Q6J("ngIf",g.spinner.show)},dependencies:[_.sg,_.O5,y],styles:[".ngx-spinner-overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%}.ngx-spinner-overlay[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.loading-text){top:50%;left:50%;margin:0;position:absolute;transform:translate(-50%,-50%)}.loading-text[_ngcontent-%COMP%]{position:absolute;top:60%;left:50%;transform:translate(-50%,-60%)}"],data:{animation:[(0,p.X$)("fadeIn",[(0,p.SB)("in",(0,p.oB)({opacity:1})),(0,p.eR)(":enter",[(0,p.oB)({opacity:0}),(0,p.jt)(300)]),(0,p.eR)(":leave",(0,p.jt)(200,(0,p.oB)({opacity:0})))])]},changeDetection:0});class I{static forRoot(c){return{ngModule:I,providers:[{provide:N,useValue:c}]}}}I.\u0275fac=function(c){return new(c||I)},I.\u0275mod=o.oAB({type:I}),I.\u0275inj=o.cJS({imports:[_.ez]})}}]);
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.