1"use strict";(self.webpackChunkcallyzer_ms_angular=self.webpackChunkcallyzer_ms_angular||[]).push([[9451],{39451:(ee,h,i)=>{i.r(h),i.d(h,{ExcludeNosCsvModule:()=>v});var p=i(36895),c=i(24006),m=i(9116),b=i(15861),g=i(49472),x=i(94327),C=i(35226),f=i.n(C),e=i(94650),Z=i(89383),A=i(35842),_=i(68423),N=i(20687),T=i(15031),E=i(47320),w=i(32320);function q(a,t){if(1&a&&(e.TgZ(0,"strong"),e._UZ(1,"i",64),e._uU(2),e.qZA()),2&a){const s=e.oxw(2);e.xp6(2),e.hij(" ",s.error,"")}}function U(a,t){if(1&a&&(e.TgZ(0,"strong"),e._uU(1),e.qZA()),2&a){const s=e.oxw(2);e.xp6(1),e.hij(" ",s.successMessage,"")}}const S=function(a,t){return{"alert-danger":a,"alert-success":t}};function k(a,t){if(1&a){const s=e.EpF();e.TgZ(0,"div",61),e.YNc(1,q,3,1,"strong",30),e.YNc(2,U,2,1,"strong",30),e.TgZ(3,"button",62),e.NdJ("click",function(){e.CHM(s);const o=e.oxw();return e.KtG(o.closeMessageAlert())}),e.TgZ(4,"span",63),e._uU(5,"\xd7"),e.qZA()()()}if(2&a){const s=e.oxw();e.Q6J("ngClass",e.WLB(3,S,s.error&&s.error.length>0,s.successMessage&&s.successMessage.length>0)),e.xp6(1),e.Q6J("ngIf",s.error&&s.error.length>0),e.xp6(1),e.Q6J("ngIf",s.successMessage&&s.successMessage.length>0)}}function D(a,t){if(1&a&&(e.TgZ(0,"p"),e._uU(1),e.qZA()),2&a){const s=e.oxw();e.xp6(1),e.Oqu(s.csvReportFile.name)}}function I(a,t){if(1&a&&(e.TgZ(0,"strong"),e._UZ(1,"i",71),e._uU(2),e.qZA()),2&a){const s=e.oxw(3);e.xp6(2),e.Oqu(s.isValidcsv)}}function M(a,t){if(1&a&&(e.TgZ(0,"div",70),e.YNc(1,I,3,1,"strong",30),e.qZA()),2&a){const s=e.oxw(2);e.xp6(1),e.Q6J("ngIf",s.isValidcsv)}}function L(a,t){if(1&a&&(e.TgZ(0,"tr")(1,"td"),e._uU(2),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA()()),2&a){const s=t.$implicit;e.xp6(2),e.Oqu(s.split(")")[0]),e.xp6(2),e.Oqu(s.split(")")[1])}}function O(a,t){if(1&a&&(e.TgZ(0,"div",54)(1,"table",72)(2,"thead")(3,"tr")(4,"th",73),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"th",74),e._uU(8),e.ALo(9,"translate"),e.qZA()()(),e.TgZ(10,"tbody"),e.YNc(11,L,5,2,"tr",75),e.qZA()()()),2&a){const s=e.oxw(2);
1e.xp6(5),e.Oqu(e.lcZ(6,3,"Row Number")),e.xp6(3),e.Oqu(e.lcZ(9,5,"Invalid Fields")),e.xp6(3),e.Q6J("ngForOf",s.manageExcludeNosDataDto.errorMsgs)}}function F(a,t){if(1&a){const s=e.EpF();e.TgZ(0,"a",76),e.NdJ("click",function(){e.CHM(s);const o=e.oxw(2);return o.exportInvalidRowsCSV(),e.KtG(o.closeMessageAlert())}),e._UZ(1,"i",77),e._uU(2),e.ALo(3,"translate"),e.qZA()}2&a&&(e.xp6(2),e.hij(" ",e.lcZ(3,1,"Download"),""))}const r=function(){return["/manageExcludeNos"]};function J(a,t){if(1&a){const s=e.EpF();e.TgZ(0,"div",32)(1,"div",1)(2,"div",78)(3,"a",79),e.NdJ("click",function(){e.CHM(s);const o=e.oxw(2);return o.goToStep(1),e.KtG(o.closeMessageAlert())}),e._UZ(4,"i",50),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"a",80),e._UZ(8,"i",50),e._uU(9),e.ALo(10,"translate"),e.qZA()(),e.TgZ(11,"div",81)(12,"a",82),e.NdJ("click",function(){e.CHM(s);const o=e.oxw(2);return o.correctCsvAndGoToStep(),e.KtG(o.closeMessageAlert())}),e._UZ(13,"i",50),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.TgZ(16,"a",83),e.NdJ("click",function(){e.CHM(s);const o=e.oxw(2);return o.goToStep(3),e.KtG(o.closeMessageAlert())}),e._uU(17),e.ALo(18,"translate"),e._UZ(19,"i",37),e.qZA()()()()}2&a&&(e.xp6(5),e.hij(" ",e.lcZ(6,5,"Back"),""),e.xp6(2),e.Q6J("routerLink",e.DdM(13,r)),e.xp6(2),e.hij(" ",e.lcZ(10,7,"Cancel"),""),e.xp6(5),e.hij(" ",e.lcZ(15,9,"Correct CSV and Import again")," "),e.xp6(3),e.hij("",e.lcZ(18,11,"Ignore those rows and Import")," "))}function y(a,t){if(1&a){const s=e.EpF();e.TgZ(0,"div",32)(1,"div",1)(2,"div",33)(3,"a",34),e._uU(4),e.ALo(5,"translate"),e.qZA()(),e.TgZ(6,"div",35)(7,"button",84),e.NdJ("click",function(){e.CHM(s);const o=e.oxw(2);return e.KtG(o.goToStep(3))}),e._uU(8),e.ALo(9,"translate"),e._UZ(10,"i",37),e.qZA()()()()}2&a&&(e.xp6(3),e.Q6J("routerLink",e.DdM(7,r)),e.xp6(1),e.Oqu(e.lcZ(5,3,"Cancel")),e.xp6(4),e.hij("",e.lcZ(9,5,"Next")," "))}function Q(a,t){if(1&a&&(e.TgZ(0,"div",65),e.YNc(1,M,2,1,"div",66),e.YNc(2,O,12,7,"div",67),e.YNc(3,F,4,3,"a",68),e.YNc(4,J,20,14,"div",69),e.YNc(5,y,11,8,"div",69),e.qZA()),2&a){const s=e.oxw();e.xp6(1),e.Q6J("ngIf",0==s.manageExcludeNosDataDto.errorMsgs.length),e.xp6(1),e.Q6J("ngIf",s.manageExcludeNosDataDto.errorMsgs.length>0),e.xp6(1),e.Q6J("ngIf",s.manageExcludeNosDataDto.errorMsgs.length>0),e.xp6(1),e.Q6J("ngIf",s.manageExcludeNosDataDto.errorMsgs.length>0),e.xp6(1),e.Q6J("ngIf",0==s.manageExcludeNosDataDto.errorMsgs.length)}}function Y(a,t){if(1&a&&(e.TgZ(0,"div",41)(1,"div",85),e._UZ(2,"i",86),e._uU(3),e.qZA()()),2&a){const s=e.oxw();e.xp6(3),e.hij(" ",s.infoMessage," ")}}function j(a,t){if(1&a&&(e.TgZ(0,"td",89),e._uU(1),e.qZA()),2&a){const s=e.oxw(3);e.xp6(1),e.hij("Total ",s.manageExcludeNosDataDto.excludePhoneNumbersDto.length," valid exclude numbers in csv")}}function R(a,t){1&a&&(e.TgZ(0,"td",89),e._uU(1,"Ignore those rows and Import"),e.qZA())}function H(a,t){1&a&&(e.TgZ(0,"td",89),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&a&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"Overwrite Duplicates")))}function V(a,t){if(1&a&&(e.TgZ(0,"tbody")(1,"tr")(2,"th",88),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"td",89),e._uU(6),e.qZA()(),e.TgZ(7,"tr")(8,"th",88),e._uU(9),e.ALo(10,"translate"),e.qZA(),e.YNc(11,j,2,1,"td",90),e.qZA(),e.TgZ(12,"tr")(13,"th",88),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.TgZ(16,"td",89),e._uU(17),e.qZA()(),e.TgZ(18,"tr")(19,"th",88),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,R,2,0,"td",90),e.YNc(23,H,3,3,"td",90),e.qZA()()),2&a){const s=e.oxw(2);e.xp6(3),e.Oqu(e.lcZ(4,9,"Selected File")),e.xp6(3),e.Oqu(s.manageExcludeNosDataDto.fileName),e.xp6(3),e.Oqu(e.lcZ(10,11,"Valid rows")),e.xp6(2),e.Q6J("ngIf",s.manageExcludeNosDataDto.excludePhoneNumbersDto),e.xp6(3),e.Oqu(e.lcZ(15,13,"Invalid rows")),e.xp6(3),e.hij("",s.manageExcludeNosDataDto.errorMsgs.length," rows (which will be skipped)"),e.xp6(3),e.Oqu(e.lcZ(21,15,"Handling duplicate Exclude Number records")),e.xp6(2),e.Q6J("ngIf",1==s.manageExcludeNosDataDto.handlingDuplicateOption),e.xp6(1),e.Q6J("ngIf",2==s.manageExcludeNosDataDto.handlingDuplicateOption)}}function P(a,t){if(1&a&&(e.TgZ(0,"table",87),e.YNc(1,V,24,17,"tbody",30),e.qZA()),2&a){const s=e.oxw();e.xp6(1),e.Q6J("ngIf",s.manageExcludeNosDataDto)}}function G(a,t){if(1&a&&(e.TgZ(0,"div",91),e._UZ(1,"i",71),e.TgZ(2,"strong"),e._uU(3),e.qZA(),e._UZ(4,"br"),e.TgZ(5,"a",92)(6,"strong"),e._uU(7),e.ALo(8,"translate"),e.qZA()()()),2&a){const s=e.oxw();e.Q6J("ngClass","alert-success"),e.xp6(3),e.hij(" ",s.isImportStart," "),e.xp6(2),e.Q6J("routerLink",e.DdM(6,r)),e.xp6(2),e.Oqu(e.l
1cZ(8,4,"Back to Exclude Phone Numbers"))}}const z=function(a,t){return{"dt-disable":a,"dt-cursor":t}};class u{translate;router;commonService;spinner;excludeNosService;layoutService;notificationService;step=1;companyName;uploadFileForm;csvReportFile=null;manageExcludeNosDataDto={errorMsgs:[]};duplicateHandler=null;fileError;error;successMessage;isValidcsv;isImportStart;userRole;infoMessage;userName;constructor(t,s,l,o,n,d,W){this.translate=t,this.router=s,this.commonService=l,this.spinner=o,this.excludeNosService=n,this.layoutService=d,this.notificationService=W,t.setDefaultLang(this.commonService.getLocalStorage(g.t.LANGUAGE))}ngOnInit(){this.companyName=this.commonService.getCookie(g.t.COOKIE_COMPANY_NAME),this.userName=this.commonService.getCookie(g.t.COOKIE_USER_NAME),this.initializeForms()}initializeForms(){this.uploadFileForm=new c.cw({csvFile:new c.NI("",[c.kI.required])})}handleFile(t){this.closeMessageAlert(),this.removeCsvFile(),null==t||null==t||0==t.length?this.fileError=this.translate.instant("Please upload report in CSV file type"):(this.csvReportFile=t[0],this.isValidCsvFile()&&(null!=this.csvReportFile&&null!=this.csvReportFile&&this.csvReportFile.size>1e7?(this.error=this.translate.instant("Maximum 10 mb file allowed"),this.error=this.translate.instant("Maximum 10 mb file allowed"),this.removeCsvFile()):(this.fileError="",this.uploadFileForm.controls.csvFile.setValue(this.csvReportFile))))}removeCsvFile(){this.uploadFileForm.controls.csvFile.setValue(null),this.csvReportFile=null}correctCsvAndGoToStep(){this.removeCsvFile(),this.goToStep(1)}isValidCsvFile(){return"csv"!=this.csvReportFile.name.substring(this.csvReportFile.name.lastIndexOf(".")+1).toLowerCase()?(this.error=this.translate.instant("Please upload report in CSV file type"),!1):!(this.csvReportFile.size<19)||(this.error=this.translate.instant("Records are invalid, please add valid records in a file"),!1)}uploadExcludeCsvReport(){this.uploadFileForm.valid?(this.spinner.show("sp3"),this.excludeNosService.uploadExcludeNosCsv(this.csvReportFile).subscribe({next:t=>{this.manageExcludeNosDataDto=t.data,this.closeMessageAlert(),0==t.data.errorMsgs.length?(this.isValidcsv=this.translate.instant("Great! All data is valid. Please proceed."),this.goToStep(2),this.spinner.hide("sp3")):0==t.data.excludePhoneNumbersDto.length?(this.spinner.hide("sp3"),this.error=this.translate.instant("Values in all rows are incorrect please upload valid values in CSV "),this.correctCsvAndGoToStep()):(this.error=this.translate.instant("The csv file contains invalid exclude number data in ")+t.data.errorMsgs.length+this.translate.instant("rows"),this.goToStep(2),this.spinner.hide("sp3"))},error:t=>{let s=t.error;this.spinner.hide("sp3"),this.error=s.message}})):this.error=this.translate.instant("Please provide valid csv")}goToStep(t){this.step=t,this.addActiveStep(),this.duplicateHandler=this.manageExcludeNosDataDto.handlingDuplicateOption}checkHandingDuplicate(t){this.manageExcludeNosDataDto.handlingDuplicateOption=t,this.duplicateHandler=t,this.infoMessage=1==t?"If a similar phone number is found, the system will skip record from CSV.":"If a similar phone number is found, the system will overwrite all the details."}startImport(){var t=this;return(0,b.Z)(function*(){t.spinner.show("sp3");let s=yield t.addNotification();t.manageExcludeNosDataDto.notificationId=s.data.id,t.manageExcludeNosDataDto.handlingDuplicateOption=t.duplicateHandler,t.excludeNosService.startImportExcludeCSV(t.manageExcludeNosDataDto).subscribe({next:l=>{t.isImportStart=l.message,t.spinner.hide("sp3")},error:l=>{t.spinner.hide("sp3"),t.error=l}})})()}closeMessageAlert(){this.error="",this.successMessage=""}validateStep3(){1==this.duplicateHandler||2==this.duplicateHandler||3==this.duplicateHandler?(this.goToStep(4),this.closeMessageAlert()):this.error=this.translate.instant("Please select one duplicate handling option")}addActiveStep(){1==this.step?($("#step-1-tab").addClass("active"),$("#step-3-tab").removeClass("active activated"),$("#step-4-tab").removeClass("active activated"),$("#step-5-tab").removeClass("active activated"),$("#step1").addClass("show active"),$("#step3").removeClass("show active"),$("#step4").removeClass("show active"),$("#step5").removeClass("show active")):2==this.step?($("#step-1-tab").addClass("active activated"),$("#step-3-tab").addClass("active"),$("#step-4-tab").removeClass("active activated"),$("#step-5-tab").removeClass("active activated"),$("#step1").removeClass("show active"),$("#step3").addClass("show active"),$("#step4").removeClass("show active"),$("#step5").removeClass("show active")):3==this.step?($("#step-1-tab").addClass("active activated"),$("#step-3-tab").addClass("active activated"),$("#step-4-tab").addClass("active"),$("#step-5-tab").removeClass("active activated"),$("#step1").removeClass("show active"),$("#step3").removeClass("show active"),$("#step4").addClass("show active"),$("#step5").removeClass("show active")):4==this.step&&($("#step-1-tab").addClass("active activated"),$("#step-3-tab").addClass("active activated"),$("#step-4-tab").addClass("active activated"),$("#step-5-tab").addClass("active activated"),$("#step1").removeClass("show active"),$("#step3").removeClass("show active"),$("#step4").removeClass("show active"),$("#step5").addClass("show active"))}exportInvalidRowsCSV(){f().fire("","Invalid list of numbers is downloading in background, please wait for a while!","success"),this.excludeNosService.exportInvalidExcludeRowsCsv(this.manageExcludeNosDataDto).subscribe({next:t=>{(0,x.saveAs)(t.data,"invalid_exclude_numbers_rows.csv")},error:t=>{this.error=t.error.message||t.error.data}})}downloadSample(){f().fire("","Exclude number csv sample file is downloading in background, please wait for a while!","success"),this.excludeNosService.downloadSampleExcludeNosCSV().subscribe({next:t=>{(0,x.saveAs)(t.data,"sample_exclude_number.csv")},error:t=>{this.error=t.error.message||t.error.data}})}resetStep3(){}addNotification(){return new Promise(t=>{this.notificationService.sendNotification("Importing exclude phone numbers from "+this.manageExcludeNosDataDto.fileName,this.userName,"Exclude Nos Import").subscribe({next:s=>{t(s)},error:s=>{t("")}})})}static \u0275fac=function(s){return new(s||u)(e.Y36(Z.sK),e.Y36(m.F0),e.Y36(A.v),e.Y36(_.t2),e.Y36(N.X),e.Y36(T.P),e.Y36(E.g))};static \u0275cmp=e.Xpm({type:u,selectors:[["app-excludeNosCsv"]],decls:154,vars:108,consts:[[1,"content"],[1,"row"],[1,"col-12"],["class","alert alert-dismissible fade show","role","alert",3,"ngClass",4,"ngIf"],[1,"custom-card","homepage-card","step"],[1,"home-card-inner"],[1,"custom-card-header","d-block","d-md-flex","justify-content-between"],[1,"title"],[1,"date-filter-block"],["id","myTab","role","tablist",1,"nav","nav-tabs"],[1,"nav-item"],["id","step-1-tab","data-toggle","tab","href","#step1","role","tab","aria-controls","1","aria-selected","true",1,"nav-link","active"],[1,"las","la-file-csv"],["id","step-3-tab","data-toggle","tab","href","#step3","role","tab","aria-controls","3","aria-selected","false",1,"nav-link"],[1,"las","la-check-square"],["id","step-4-tab","data-toggle","tab","href","#step4","role","tab","aria-controls","4","aria-selected","false",1,"nav-link"],[1,"las","la-hand-point-up"],["id","step-5-tab","data-toggle","tab","href","#step5","role","tab","aria-controls","5","aria-selected","false",1,"nav-link"],[1,"las","la-file-alt"],["id","myTabContent",1,"tab-content"],["id","step1","role","tabpanel","aria-labelledby","step-1-tab",1,"tab-pane","fade","show","active"],[1,"col-xl-12","col-lg-12","col-md-12","col-sm-12"],[1,"select_infom"],[1,"title_info"],[1,"s_flex"],[1,"upload-btn-wrapper"],[1,"btn","btn-theme"],[1,"las","la-cloud-upload-alt"],["type","file","id","file","name","myfile","title","","tooltip","","accept",".csv",3,"click","change"],["fileInput",""],[4,"ngIf"],["href","javascript:void(0)",1,"dw_link",3,"click"],[1,"btm_btn"],[1,"col-xl-6","col-lg-6","col-md-6","col-sm-6","col-6"],[1,"btn","btn-theme-black","mr-2",3,"routerLink"],[1,"col-xl-6","col-lg-6","col-md-6","col-sm-6","col-6","text-right"],["id","next_btn",1,"btn","btn-theme",3,"ngClass","disabled","click"],[1,"las","la-long-arrow-alt-right"],["class","tab-pane fade","id","step3","role","tabpanel","aria-labelledby","step-3-tab",4,"ngIf"],["id","step4","role","tabpanel","aria-labelledby","step-4-tab",1,"tab-pane","fade"],[1,"handling"],[1,"col-xl-6","col-lg-6","col-md-12","col-sm-12"],[1,"custom-control","custom-radio","custom-control-inline"],["type","radio","id","NO","name","duplicateHandler","value","false",1,"custom-control-input","dt-cursor",3,"checked","change"],["for","NO",1,"custom-control-label","dt-cursor"],["type","radio","id","YES","name","duplicateHandler",1,"custom-control-input","dt-cursor",3,"checked","change"],["for","YES",1,"custom-control-label","dt-cursor"],["class","col-xl-6 col-lg-6 col-md-12 col-sm-12",4,"ngIf"],[1,"col-xl-6","col-lg-6","col-md-6","col-sm-6","col-8"],["href","javascript:void(0)","id","prev_btn_3",1,"btn","btn-outline-theme","float-left",3,"click"],[1,"las","la-long-arrow-alt-left"],[1,"col-xl-6","col-lg-6","col-md-6","col-sm-6","col-4","text-right"],["href","javascript:void(0)","id","next_btn_4",1,"btn","btn-theme",3,"disabled","click"],["id","step5","role","tabpanel","aria-labelledby","step-5-tab",1,"tab-pane","fade"],[1,"table-responsive"],["class","select_table",4,"ngIf"],["class","alert fade show",3,"ngClass",4,"ngIf"],[1,"btn","btn-theme-black","mr-2",3,"routerLink","disabled"],["id","prev_btn_4",1,"btn","btn-outline-theme","float-left",3,"disabled","click"],["id","next_btn_5",1,"btn","btn-theme",3,"disabled","click"],["bdOpacity","1","color","#000","name","sp3","type","ball-spin-clockwise",3,"fullScreen"],["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"],["id","step3","role","tabpanel","aria-labelledby","step-3-tab",1,"tab-pane","fade"],["class","alert alert-success fade show","role","alert",4,"ngIf"],["class","table-responsive",4,"ngIf"],["href","javascript:void(0)","class","btn btn-theme download_btn",3,"click",4,"ngIf"],["class","btm_btn",4,"ngIf"],["role","alert",1,"alert","alert-success","fade","show"],[1,"las","la-thumbs-up"],[1,"step_table"],["width","15%"],["width","85%"],[4,"ngFor","ngForOf"],["href","javascript:void(0)",1,"btn","btn-theme","download_btn",3,"click"],[1,"las","la-download"],[1,"col-xl-3","col-lg-3","col-md-3","col-sm-12","text-left"],["id","prev_btn_2",1,"btn","btn-outline-theme",3,"click"],["id","prev_btn",1,"btn","btn-theme-black","ml-2","black_b","text_normal",3,"routerLink"],[1,"col-xl-9","col-lg-9","col-md-9","col-sm-12","text-right"],["href","javascript:void(0)","id","prev_btn_2",1,"btn","btn-theme","black","mr-3","text_normal",3,"click"],["id","next_btn_3",1,"btn","btn-theme",3,"click"],["id","next_btn",1,"btn","btn-theme",3,"click"],[1,"h_info"],[1,"las","la-info-circle"],[1,"select_table"],["width","30%"],["width","70%"],["width","70%",4,"ngIf"],[1,"alert","fade","show",3,"ngClass"],[1,"link-text","text-theme",3,"routerLink"]],template:function(s,l){if(1&s){const o=e.EpF();e.TgZ(0,"section",0)(1,"div",1)(2,"div",2),e.YNc(3,k,6,6,"div",3),e.TgZ(4,"div",4)(5,"div",5)(6,"div",6)(7,"h2",7),e._uU(8),e.ALo(9,"translate"),e.ALo(10,"translate"),e.qZA()(),e.TgZ(11,"div",8)(12,"ul",9)(13,"li",10)(14,"a",11)(15,"small"),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.TgZ(18,"figure"),e._UZ(19,"i",12),e.qZA(),e.TgZ(20,"span"),e._uU(21),e.ALo(22,"translate"),e.qZA()()(),e.TgZ(23,"li",10)(24,"a",13)(25,"small"),e._uU(26),e.ALo(27,"translate"),e.qZA(),e.TgZ(28,"figure"),e._UZ(29,"i",14),e.qZA(),e.TgZ(30,"span"),e._uU(31),e.ALo(32,"translate"),e.qZA()()(),e.TgZ(33,"li",10)(34,"a",15)(35,"small"),e._uU(36),e.ALo(37,"translate"),e.qZA(),e.TgZ(38,"figure"),e._UZ(39,"i",16),e.qZA(),e.TgZ(40,"span"),e._uU(41),e.ALo(42,"translate"),e.qZA()()(),e.TgZ(43,"li",10)(44,"a",17)(45,"small"),e._uU(46),e.ALo(47,"translate"),e.qZA(),e.TgZ(48,"figure"),e._UZ(49,"i",18),e.qZA(),e.TgZ(50,"span"),e._uU(51),e.ALo(52,"translate"),e.qZA()()()(),e.TgZ(53,"div",19)(54,"div",20)(55,"div",1)(56,"div",21)(57,"div",22)(58,"h3",23),e._uU(59),e.ALo(60,"translate"),e.qZA(),e.TgZ(61,"div",24)(62,"p"),e._uU(63),e.ALo(64,"translate"),e.qZA(),e.TgZ(65,"div",25)(66,"button",26),e._UZ(67,"i",27),e._uU(68),e.ALo(69,"translate"),e.qZA(),e.TgZ(70,"input",28,29),e.NdJ("click",function(){e.CHM(o);const d=e.MAs(71);return l.removeCsvFile(),l.closeMessageAlert(),e.KtG(d.value=null)})("change",function(d){return l.handleFile(d.target.files)}),e.qZA(),e._uU(72," \xa0\xa0"),e.YNc(73,D,2,1,"p",30),e.qZA(),e._UZ(74,"br"),e.TgZ(75,"a",31),e.NdJ("click",function(){return l.downloadSample()}),e._uU(76),e.ALo(77,"translate"),e.ALo(78,"translate"),e.qZA(),e._uU(79," \xa0\xa0 "),e.TgZ(80,"p"),e._uU(81),e.ALo(82,"translate"),e.qZA()()()()(),e.TgZ(83,"div",32)(84,"div",1)(85,"div",33)(86,"a",34),e._uU(87),e.ALo(88,"translate"),e.qZA()(),e.TgZ(89,"div",35)(90,"button",36),e.NdJ("click",function(){return l.uploadExcludeCsvReport()}),e._uU(91),e.ALo(92,"translate"),e._UZ(93,"i",37),e.qZA()()()()(),e.YNc(94,Q,6,5,"div",38),e.TgZ(95,"div",39)(96,"div",1)(97,"div",21)(98,"h3",23),e._uU(99),e.ALo(100,"translate"),e.qZA(),e.TgZ(101,"div",40)(102,"h6"),e._uU(103),e.ALo(104,"translate"),e.qZA(),e.TgZ(105,"div",1)(106,"div",41)(107,"div",42)(108,"input",43),e.NdJ("change",function(){return l.checkHandingDuplicate(1)}),e.qZA(),e.TgZ(109,"label",44),e._uU(110),e.ALo(111,"translate"),e.qZA()(),e.TgZ(112,"div",42)(113,"input",45),e.NdJ("change",function(){return l.checkHandingDuplicate(2)}),e.qZA(),e.TgZ(114,"label",46),e._uU(115),e.ALo(116,"translate"),e.qZA()()()(),e.TgZ(117,"div",1),e.YNc(118,Y,4,1,"div",47),e.qZA()()()(),e.TgZ(119,"div",32)(120,"div",1)(121,"div",48)(122,"a",34),e._uU(123),e.ALo(124,"translate"),e.qZA(),e.TgZ(125,"a",49),e.NdJ("click",function(){return l.goToStep(2),l.closeMessageAlert()}),e._UZ(126,"i",50),e._uU(127),e.ALo(128,"translate"),e.qZA()(),e.TgZ(129,"div",51)(130,"button",52),e.NdJ("click",function(){return l.validateStep3()}),e._uU(131),e.ALo(132,"translate"),e._UZ(133,"i",37),e.qZA()()()()(),e.TgZ(134,"div",53)(135,"div",54),e.YNc(136,P,2,1,"table",55),e.YNc(137,G,9,7,"div",56),e.qZA(),e.TgZ(138,"div",32)(139,"div",1)(140,"div",48)(141,"button",57),e._uU(142),e.ALo(143,"translate"),e.qZA(),e.TgZ(144,"button",58),e.NdJ("click",function(){return l.goToStep(3),l.resetStep3(),l.closeMessageAlert()}),e._UZ(145,"i",50),e._uU(146),e.ALo(147,"translate"),e.qZA()(),e.TgZ(148,"div",51)(149,"button",59),e.NdJ("click",function(){return l.startImport()}),e._uU(150),e.ALo(151,"translate"),e._UZ(152,"i",37),e.qZA()()()()()()(),e._UZ(153,"ngx-spinner",60),e.qZA()()()()()}2&s&&(e.xp6(3),e.Q6J("ngIf",l.error&&l.error.length>0||l.successMessage&&l.successMessage.length>
10),e.xp6(5),e.AsE("",e.lcZ(9,46,"Import")," ",e.lcZ(10,48,"Exclude Phone Numbers"),""),e.xp6(8),e.Oqu(e.lcZ(17,50,"Step 1")),e.xp6(5),e.Oqu(e.lcZ(22,52,"Import CSV file")),e.xp6(5),e.Oqu(e.lcZ(27,54,"Step 2")),e.xp6(5),e.Oqu(e.lcZ(32,56,"Validate CSV")),e.xp6(5),e.Oqu(e.lcZ(37,58,"Step 3")),e.xp6(5),e.Oqu(e.lcZ(42,60,"Actions")),e.xp6(5),e.Oqu(e.lcZ(47,62,"Step 4")),e.xp6(5),e.Oqu(e.lcZ(52,64,"Summary")),e.xp6(8),e.Oqu(e.lcZ(60,66,"Select File")),e.xp6(4),e.Oqu(e.lcZ(64,68,"Supports CSV file with comma separated values")),e.xp6(5),e.hij(" ",e.lcZ(69,70,"Upload CSV")," "),e.xp6(5),e.Q6J("ngIf",l.csvReportFile),e.xp6(3),e.AsE("",e.lcZ(77,72,"Download")," ",e.lcZ(78,74,"Sample")," "),e.xp6(5),e.hij("( ",e.lcZ(82,76,"Please note that Contact Number is mandatory information")," )"),e.xp6(5),e.Q6J("routerLink",e.DdM(102,r)),e.xp6(1),e.Oqu(e.lcZ(88,78,"Cancel")),e.xp6(3),e.Q6J("ngClass",e.WLB(103,z,null==l.csvReportFile||l.error.length>0,null!=l.csvReportFile&&0==l.error.length))("disabled",null==l.csvReportFile||l.error.length>0),e.xp6(1),e.hij("",e.lcZ(92,80,"Next")," "),e.xp6(3),e.Q6J("ngIf",l.manageExcludeNosDataDto),e.xp6(5),e.Oqu(e.l
1cZ(100,82,"Exclude Numbers Import Rules")),e.xp6(4),e.hij("",e.lcZ(104,84,"Handling duplicate Exclude Number records"),":"),e.xp6(5),e.Q6J("checked",1==l.duplicateHandler),e.xp6(2),e.Oqu(e.lcZ(111,86,"Ignore duplicates")),e.xp6(3),e.Q6J("checked",2==l.duplicateHandler),e.xp6(2),e.Oqu(e.lcZ(116,88,"Overwrite duplicates")),e.xp6(3),e.Q6J("ngIf",null!=l.duplicateHandler),e.xp6(4),e.Q6J("routerLink",e.DdM(106,r)),e.xp6(1),e.Oqu(e.lcZ(124,90,"Cancel")),e.xp6(4),e.hij(" ",e.lcZ(128,92,"Back"),""),e.xp6(3),e.Q6J("disabled",null==l.duplicateHandler),e.xp6(1),e.hij("",e.lcZ(132,94,"Next")," "),e.xp6(5),e.Q6J("ngIf",!l.isImportStart),e.xp6(1),e.Q6J("ngIf",l.isImportStart),e.xp6(4),e.Q6J("routerLink",e.DdM(107,r))("disabled",!!l.isImportStart),e.xp6(1),e.Oqu(e.lcZ(143,96,"Cancel")),e.xp6(2),e.Q6J("disabled",!!l.isImportStart),e.xp6(2),e.hij(" ",e.lcZ(147,98,"Back"),""),e.xp6(3),e.Q6J("disabled",!!l.isImportStart),e.xp6(1),e.hij("",e.lcZ(151,100,"Start Import")," "),e.xp6(3),e.Q6J("fullScreen",!1))},dependencies:[p.mk,p.sg,p.O5,m.rH,w.i9,_.Ro,Z.X$],styles:[".ft-13[_ngcontent-%COMP%]{font-size:13px}.ft-15[_ngcontent-%COMP%]{font-size:15px}.disable[_ngcontent-%COMP%]{cursor:not-allowed}.succmsg[_ngcontent-%COMP%]{padding-left:10px!important;padding-right:10px!important}"]})}const K=[{path:"",component:u}],B=m.Bz.forChild(K);var X=i(21256);class v{static \u0275fac=function(s){return new(s||v)};static \u0275mod=e.oAB({type:v});static \u0275inj=e.cJS({imports:[p.ez,c.u5,c.UX,B,X.m,_.ef]})}}}]);
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.