1"use strict";(self.webpackChunkprivacypillar_sfo3=self.webpackChunkprivacypillar_sfo3||[]).push([["src_app_privacy_dsar_dsar-requestdetails_dsar-requestdetails_module_ts"],{26028:(j,P,f)=>{f.d(P,{y:()=>u});var T=f(94650),e=f(11481);let u=(()=>{const x=class{constructor(D){this.sanitizer=D}transform(D,b){switch(b){case"html":return this.sanitizer.bypassSecurityTrustHtml(D);case"style":return this.sanitizer.bypassSecurityTrustStyle(D);case"script":return this.sanitizer.bypassSecurityTrustScript(D);case"url":return this.sanitizer.bypassSecurityTrustUrl(D);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(D);default:throw new Error(`Invalid safe type specified: ${b}`)}}};let q=x;return x.\u0275fac=function(b){return new(b||x)(T.Y36(e.H7,16))},x.\u0275pipe=T.Yjl({name:"safe",type:x,pure:!0}),q})()},43074:(j,P,f)=>{f.d(P,{V:()=>T});const T={DEFAULT_DAYS:"90",HEADER_FONT_SIZE:"30"}},1260:(j,P,f)=>{f.d(P,{$:()=>E});var T=f(94650),e=f(92340),u=f(61737),q=f(5254),x=f(80096),k=f(27221),D=f(24850),b=f(28597),F=f(85740),J=f(80529),M=f(46262);let E=(()=>{const g=class{constructor(a,c){this.http=a,this.lokiService=c,this.onClickCancelBtn=new T.vpe}getDsarRequestList(a,c,d,_,m,v,y,S){let w="/ccpa/data/"+d+"/"+_+m;return void 0===v&&null==S?this.http.get(e.N.apiUrl+w).pipe((0,x.d)(1),(0,k.K)(Q=>(this.onSendLogs(b.o.INFO,Q,b.X.getDsarRequestList,a,c,w),(0,u._)(Q)))):""!==y&&void 0!==y&&null==S?this.http.get(e.N.apiUrl+w+y).pipe((0,x.d)(1),(0,k.K)(Q=>(this.onSendLogs(b.o.INFO,Q,b.X.getDsarRequestList,a,c,w),(0,u._)(Q)))):void 0===S?(w="/ccpa/data/"+d+"/"+_+m+v,this.http.get(e.N.apiUrl+w).pipe((0,x.d)(1),(0,k.K)(Q=>(this.onSendLogs(b.o.INFO,Q,b.X.getDsarRequestList,a,c,w),(0,u._)(Q))))):S.includes("true")?this.http.get(e.N.apiUrl+w+y+S,{responseType:"blob"}).pipe((0,x.d)(1),(0,k.K)(Q=>(this.onSendLogs(b.o.INFO,Q,b.X.getDsarRequestList,a,c,w),(0,u._)(Q)))):void 0}getDsarRequestFilter(a,c,d,_){const m="/ccpa/filter/"+a+"/"+c;return this.http.get(e.N.apiUrl+m).pipe((0,x.d)(1),(0,k.K)(v=>(this.onSendLogs(b.o.INFO,v,b.X.getDsarRequestFilter,d,_,m),(0,u._)(v))))}getDsarRequestFilterList(a,c,d,_,m){const v="/ccpa/data/"+a+"/"+c+d;return this.http.get(e.N.apiUrl+v).pipe((0,x.d)(1),(0,k.K)(y=>(this.onSendLogs(b.o.INFO,y,b.X.getDsarRequestFilterList,_,m,v),(0,u._)(y))))}getDSARRequestDetails(a,c,d,_,m){const v="/ccpa/data/"+a+"/"+c+"/"+d;return this.http.get(e.N.apiUrl+v).pipe((0,x.d)(1),(0,k.K)(y=>(this.onSendLogs(b.o.INFO,y,b.X.getDSARRequestDetails,_,m,v),(0,u._)(y))))}CreateEmailConfig(a,c,d,_){let m=F.R.CREATE_CUSTOMIZED_TEMPLATE.replace(":oid",_);return this.http.post(e.N.apiUrl+m,d).pipe((0,D.U)(v=>v),(0,k.K)(v=>(this.onSendLogs(b.o.INFO,v,b.X.billing,a,c,m),(0,u._)(v))))}Gettemplates(a,c,d){let _=F.R.CREATE_CUSTOMIZED_TEMPLATE.replace(":oid",d);return this.http.get(e.N.apiUrl+_).pipe((0,D.U)(m=>m),(0,k.K)(m=>(this.onSendLogs(b.o.INFO,m,b.X.billing,a,c,_),(0,u._)(m))))}edittemplates(a,c,d,_,m){let v=F.R.EDIT_CUSTOMIZED_TEMPLATE.replace(":oid",_);return v=v.replace(":id",m),this.http.put(e.N.apiUrl+v,d).pipe((0,D.U)(y=>y),(0,k.K)(y=>(this.onSendLogs(b.o.INFO,y,b.X.billing,a,c,v),(0,u._)(y))))}deleteTemplates(a,c,d,_){let m=F.R.EDIT_CUSTOMIZED_TEMPLATE.replace(":oid",d);return m=m.replace(":id",_),this.http.delete(e.N.apiUrl+m).pipe((0,D.U)(v=>v),(0,k.K)(v=>(this.onSendLogs(b.o.INFO,v,b.X.billing,a,c,m),(0,u._)(v))))}getEmailTemplate(a,c,d){let _="/email/template"+a;return this.http.get(e.N.apiUrl+"/email/template",{params:{oid:a}}).pipe((0,k.K)(m=>(this.onSendLogs(b.o.INFO,m,b.X.emailTemplate,c,d,_),(0,u._)(m))))}getDSARRequestDetailsByID(a,c,d,_,m){const v="/ccpa/data/"+a+"/"+c+"/"+d+"?edit_fields=true";return this.http.get(e.N.apiUrl+v).pipe((0,x.d)(1),(0,k.K)(y=>(this.onSendLogs(b.o.INFO,y,b.X.getDSARRequestDetailsByID,_,m,v),(0,u._)(y))))}updateDSARRequestDetailsByID(a,c,d,_,m,v){const y="/ccpa/data/"+a+"/"+c+"/"+d;return this.http.put(e.N.apiUrl+y,_).pipe((0,x.d)(1),(0,k.K)(S=>(this.onSendLogs(b.o.INFO,S,b.X.updateDSARRequestDetailsByID,m,v,y),(0,u._)(S))))}addSubTask(a,c,d,_,m,v){const y="/ccpa/subtask/"+a+"/"+c+"/"+d;return this.http.post(e.N.apiUrl+y,_).pipe((0,x.d)(1),(0,k.K)(S=>(this.onSendLogs(b.o.INFO,S,b.X.addSubTask,m,v,y),(0,u._)(S))))}
1updateSubTask(a,c,d,_,m){const v="/ccpa/subtask/edit/"+a+"/"+c;return this.http.put(e.N.apiUrl+v,d).pipe((0,x.d)(1),(0,k.K)(y=>(this.onSendLogs(b.o.INFO,y,b.X.updateSubTask,_,m,v),(0,u._)(y))))}addSubTaskResponse(a,c,d,_,m,v,y){const S="/ccpa/subtask/response/"+c+"/"+d+"/"+_+"/"+a;return this.http.put(e.N.apiUrl+S,m).pipe((0,x.d)(1),(0,k.K)(w=>(this.onSendLogs(b.o.INFO,w,b.X.addSubTaskResponse,v,y,S),(0,u._)(w))))}getSubTask(a,c,d,_,m){if(m){const v="/ccpa/subtask/"+d+"/"+_+"/"+m;return this.http.get(e.N.apiUrl+v).pipe((0,x.d)(1),(0,k.K)(y=>(this.onSendLogs(b.o.INFO,y,b.X.getSubTask,a,c,v),(0,u._)(y))))}{const v="/ccpa/subtask/"+d+"/"+_;return this.http.get(e.N.apiUrl+v).pipe((0,x.d)(1),(0,k.K)(y=>(this.onSendLogs(b.o.INFO,y,b.X.getSubTask,a,c,v),(0,u._)(y))))}}viewUserUploadedFile(a,c,d){const m="/dsar/user/file/"+a;return this.http.get(e.N.apiUrl+m).pipe((0,D.U)(v=>v.response),(0,x.d)(1),(0,k.K)(v=>(this.onSendLogs(b.o.INFO,v,b.X.viewUserUploadedFile,c,d,m),(0,u._)(v))))}getSubTaskByWorkflowID(a,c,d,_){const v="/ccpa/subtask/"+a+"?workflow_stage="+c;return this.http.get(e.N.apiUrl+v).pipe((0,D.U)(y=>y.response),(0,x.d)(1),(0,k.K)(y=>(this.onSendLogs(b.o.INFO,y,b.X.getSubTaskByWorkflowID,d,_,v),(0,u._)(y))))}verifyClientEmailID(a,c,d){const _="/dsar/email/verify/"+a;return this.http.post(e.N.apiUrl+_,{}).pipe((0,k.K)(m=>(this.onSendLogs(b.o.INFO,m,b.X.verifyClientEmailID,c,d,_),(0,u._)(m))))}onSendLogs(a,c,d,_,m,v){this.lokiService.onSendErrorLogs(a,c,d,_,m,v).subscribe()}viewClientsFileAttachments(a,c,d){const _="/dsar/file/"+a;return this.http.get(e.N.apiUrl+_,{}).pipe((0,k.K)(m=>(this.onSendLogs(b.o.INFO,m,b.X.viewClientsFileAttachments,c,d,_),(0,u._)(m))))}getSubtaskFileAttachements(a,c,d){const _="/upload/file?id="+a;return this.http.get(e.N.apiUrl+_,{}).pipe((0,k.K)(m=>(this.onSendLogs(b.o.INFO,m,b.X.viewSubtaskFileAttachements,c,d,_),(0,u._)(m))))}getClientsEmailAttachments(a,c,d){const _="/ccpa/file/email?email_activity_id="+a;return this.http.get(e.N.apiUrl+_,{}).pipe((0,k.K)(m=>(this.onSendLogs(b.o.INFO,m,b.X.viewClientsFileAttachments,c,d,_),(0,u._)(m))))}getRejectionReason(){return(0,q.D)([{id:1,reason:"Excessive request"},{id:2,reason:"Frivolous / unfounded request"},{id:3,reason:"Incomplete / partial request"},{id:4,reason:"No response verification"},{id:5,reason:"Not a privacy related request"},{id:6,reason:"Non-EU request"},{id:7,reason:"Repetitive request"}])}rejectDSARRequest(a,c,d,_){const m="/ccpa/activity/reject/"+a;return this.http.put(e.N.apiUrl+m,c).pipe((0,x.d)(1),(0,k.K)(v=>(this.onSendLogs(b.o.INFO,v,b.X.rejectDSARRequest,d,_,m),(0,u._)(v))))}reopenDeletedDSARRequest(a,c,d,_,m){const v="/ccpa/reopenrequest/"+a+"/"+c+"/"+d;return this.http.put(e.N.apiUrl+v,{}).pipe((0,x.d)(1),(0,k.K)(y=>(this.onSendLogs(b.o.INFO,y,b.X.reopenRejectedDSARRequest,_,m,v),(0,u._)(y))))}};let h=g;return g.\u0275fac=function(c){return new(c||g)(T.LFG(J.eN),T.LFG(M.L))},g.\u0275prov=T.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),h})()},73566:(j,P,f)=>{f.d(P,{_:()=>F});var T=f(92340),e=f(27221),u=f(28597),q=f(61737),x=f(85740),k=f(94650),D=f(80529),b=f(46262);let F=(()=>{const M=class{constructor(h,g){this.http=h,this.lokiService=g,this.applicationPath=location.pathname}SaveSystemIntegration(h,g,C,a){const c=`/integration/connection/${C}`;return this.http.post(T.N.apiUrl+c,a).pipe((0,e.K)(d=>(this.onSendLogs(u.o.INFO,d,u.X.getWorkflow,h,g,c),(0,q._)(d))))}UpdateSystemIntegration(h,g,C,a,c){const d=`/integration/connection/${C}/${a}`;return this.http.put(T.N.apiUrl+d,c).pipe((0,e.K)(_=>(this.onSendLogs(u.o.INFO,_,u.X.getWorkflow,h,g,d),(0,q._)(_))))}TestSystemIntegration(h,g,C,a,c){const d="/integration/live-check-connection-status";return this.http.post(T.N.apiUrl+d,a,{params:c}).pipe((0,e.K)(_=>(this.onSendLogs(u.o.INFO,_,u.X.getWorkflow,h,g,d),(0,q._)(_))))}deleteConnection(h,g,C){const a="/integration/connection/"+C;return this.http.delete(T.N.apiUrl+a).pipe((0,e.K)(c=>(this.onSendLogs(u.o.INFO,c,u.X.getWorkflow,h,g,a),(0,q._)(c))))}SaveConnectionIntegration(h,g,C){const a="/integration/connection";return this.http.post(T.N.apiUrl+a,C).pipe((0,e.K)(c=>(this.onSendLogs(u.o.INFO,c,u.X.getWorkflow,h,g,a),(0,q._)(c))))}GetSystemList(h,g){const C=x.R.SYSTEM_INTEGRATION_LIST;return this.http.get(T.N.apiUrl+C).pipe((0,e.K)(a=>(this.onSendLogs(u.o.INFO,a,u.X.getWorkflow,h,g,C),(0,q._)(a))))}GetCredListByCompany(h,g,C){const a=x.R.CONNECTION_INTEGRATION_LIST;return this.http.get(T.N.apiUrl+a,{params:C}).pipe((0,e.K)(c=>(this.onSendLogs(u.o.INFO,c,u.X.getWorkflow,h,g,a),(0,q._)(c))))}GetConfiguredConsentPreference(h,g,C){const a="/portal-consent/get-integration-consent-preference/"+C;return this.http.get(T.N.apiUrl+a).pipe((0,e.K)(c=>(this.onSendLogs(u.o.INFO,c,u.X.getWorkflow,h,g,a),(0,q._)(c))))}GetConnectionID(h,g,C,a){const c=x.R.GET_CONNECTION_IDS+"/"+C+"/"+a;return this.http.get(T.N.apiUrl+c).pipe((0,e.K)(d=>(this.onSendLogs(u.o.INFO,d,u.X.getWorkflow,h,g,c),(0,q._)(d))))}GetCredListBySystem(h,g){const C=x.R.CONNECTION_INTEGRATION_LIST;return this.http.get(T.N.apiUrl+C).pipe((0,e.K)(a=>(this.onSendLogs(u.o.INFO,a,u.X.getWorkflow,h,g,C),(0,q._)(a))))}GetSqlTables(h,g,C){const a=x.R.SQL_TABLES_LIST+"/"+g;return this.http.get(T.N.apiUrl+a).pipe((0,e.K)(c=>(this.onSendLogs(u.o.INFO,c,u.X.getWorkflow,h,C,a),(0,q._)(c))))}GetSqlTableColumns(h,g,C,a){const c=x.R.SQL_TABLE_COLUMNS_LIST+"/"+g;return this.http.get(T.N.apiUrl+c,{params:C}).pipe((0,e.K)(d=>(this.onSendLogs(u.o.INFO,d,u.X.getWorkflow,h,a,c),(0,q._)(d))))}GetCredList(h,g){const C=x.R.SYSTEM_INTEGRATION_LIST;return this.http.get(T.N.apiUrl+C).pipe((0,e.K)(a=>(this.onSendLogs(u.o.INFO,a,u.X.getWorkflow,h,g,C),(0,q._)(a))))}GetConnectionListBySystemID(h,g,C){const a=`/integration/connection/${C}`;return this.http.get(T.N.apiUrl+a).pipe((0,e.K)(c=>(this.onSendLogs(u.o.INFO,c,u.X.getWorkflow,h,g,a),(0,q._)(c))))}onSendLogs(h,g,C,a,c,d){this.lokiService.onSendErrorLogs(h,g,C,a,c,d).subscribe()}saveQueryBuilder(h,g,C,a,c,d){const _="/integration/save-query-builder/"+a+"/"+c+"/"+d;return this.http.post(T.N.apiUrl+_,C).pipe((0,e.K)(m=>(this.onSendLogs(u.o.INFO,m,u.X.getWorkflow,h,g,_),(0,q._)(m))))}updateQueryBuilder(h,g,C,a,c,d){const _="/integration/update-query-builder/"+a+"/"+c+"/"+d;return this.http.post(T.N.apiUrl+_,C).pipe((0,e.K)(m=>(this.onSendLogs(u.o.INFO,m,u.X.getWorkflow,h,g,_),(0,q._)(m))))}GetIntegratedConnectionsList(h,g,C,a){const c="/integration/get-connection-list-with-query-data/"+h+"/"+g;return this.http.get(T.N.apiUrl+c).pipe((0,e.K)(d=>(this.onSendLogs(u.o.INFO,d,u.X.getWorkflow,C,a,c),(0,q._)(d))))}GetQueryBuilderData(h,g,C,a,c){const d="/integration/get-query-builder-by-id/"+C+"/"+a+"/"+c;return this.http.get(T.N.apiUrl+d).pipe((0,e.K)(_=>(this.onSendLogs(u.o.INFO,_,u.X.getWorkflow,h,g,d),(0,q._)(_))))}
1GetsalesforceColumn(h,g,C,a,c){const d="/integration/field-objects";return this.http.post(T.N.apiUrl+d,C,{params:{system:a,object:c}}).pipe((0,e.K)(_=>(this.onSendLogs(u.o.INFO,_,u.X.getWorkflow,h,g,d),(0,q._)(_))))}GetacceloColumn(h,g,C,a){const c="/integration/field-objects";return this.http.post(T.N.apiUrl+c,C,{params:{system:a}}).pipe((0,e.K)(d=>(this.onSendLogs(u.o.INFO,d,u.X.getWorkflow,h,g,c),(0,q._)(d))))}Getconsentdetailsschema(h,g){const C="/consent-details-schema";return this.http.get(T.N.apiUrl+C).pipe((0,e.K)(a=>(this.onSendLogs(u.o.INFO,a,u.X.getWorkflow,h,g,C),(0,q._)(a))))}SaveConsentPreferenceConnection(h,g,C,a,c){const d="/portal-consent/create-integration-consent-preference/"+a+"/"+c;return this.http.post(T.N.apiUrl+d,C).pipe((0,e.K)(_=>(this.onSendLogs(u.o.INFO,_,u.X.getWorkflow,h,g,d),(0,q._)(_))))}SaveConsentSystemMap(h,g,C,a,c,d){const _="/portal-consent/create-consent-preference-system-map/"+a+"/"+c+"/"+d;return this.http.post(T.N.apiUrl+_,C).pipe((0,e.K)(m=>(this.onSendLogs(u.o.INFO,m,u.X.getWorkflow,h,g,_),(0,q._)(m))))}DeleteConsentPreferenceConnection(h,g,C,a,c){const d="/portal-consent/remove-integration-consent-preference/"+a+"/"+c;return this.http.delete(T.N.apiUrl+d,{params:{connectionID:C}}).pipe((0,e.K)(_=>(this.onSendLogs(u.o.INFO,_,u.X.getWorkflow,h,g,d),(0,q._)(_))))}};let J=M;return M.\u0275fac=function(g){return new(g||M)(k.LFG(D.eN),k.LFG(b.L))},M.\u0275prov=k.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),J})()},67075:(j,P,f)=>{f.d(P,{z:()=>E});var T=f(92340),e=f(591),u=f(61737),q=f(80096),x=f(27221),k=f(24850),D=f(28597),b=f(85740),F=f(94650),J=f(80529),M=f(46262);let E=(()=>{const g=class{constructor(a,c){this.httpClient=a,this.lokiService=c,this.workflowSource=new e.X(""),this.selectedWorkflow=this.workflowSource.asObservable()}getWorkflow(a,c,d,_,m){const y=void 0!==_?_:"",S=b.R.WORKFLOW+"/"+d;return""===_?this.httpClient.get(T.N.apiUrl+S).pipe((0,q.d)(1),(0,x.K)(w=>(this.onSendLogs(D.o.INFO,w,D.X.getWorkflow,a,c,S),(0,u._)(w)))):void 0!==m?this.httpClient.get(T.N.apiUrl+S+y+m).pipe((0,q.d)(1)):this.httpClient.get(T.N.apiUrl+S+y).pipe((0,q.d)(1))}getWorkflowByStatus(a,c,d){const _=b.R.WORKFLOW_STATUS;return this.workflowlist$||(this.workflowlist$=this.httpClient.get(T.N.apiUrl+_+a).pipe((0,q.d)(1),(0,x.K)(m=>(this.onSendLogs(D.o.INFO,m,D.X.getWorkflowByStatus,c,d,_),(0,u._)(m))))),this.workflowlist$}getWorkflowById(a,c,d,_,m){const v="response",y=void 0!==m?m:"",S=b.R.WORKFLOW_ORGID_WORKFLOW_ID.replace(":orgid",d);return""===y?this.httpClient.get(T.N.apiUrl+S+_).pipe((0,k.U)(w=>w[v]),(0,q.d)(1),(0,x.K)(w=>(this.onSendLogs(D.o.INFO,w,D.X.getWorkflowById,a,c,S),(0,u._)(w)))):this.httpClient.get(T.N.apiUrl+S+_+y).pipe((0,k.U)(w=>w[v]),(0,q.d)(1),(0,x.K)(w=>(this.onSendLogs(D.o.INFO,w,D.X.getWorkflowById,a,c,S),(0,u._)(w))))}createWorkflow(a,c,d){const _=b.R.WORKFLOW;return this.httpClient.post(T.N.apiUrl+_,d).pipe((0,x.K)(m=>(this.onSendLogs(D.o.INFO,m,D.X.createWorkflow,a,c,_),(0,u._)(m))))}updateWorkflow(a,c,d,_){const m=b.R.WORKFLOW_ID;return this.httpClient.put(T.N.apiUrl+m+d,_).pipe((0,x.K)(v=>(this.onSendLogs(D.o.INFO,v,D.X.updateWorkflow,a,c,m),(0,u._)(v))))}activateWorkflow(a,c,d,_){const m=b.R.ACTIVATE_WORKFLOW+d;return this.httpClient.put(T.N.apiUrl+m,_).pipe((0,x.K)(v=>(this.onSendLogs(D.o.INFO,v,D.X.activateWorkflow,a,c,m),(0,u._)(v))))}updateWorkflowName(a,c,d,_){const m=b.R.UPDATE_WORKFLOW_NAME+d;return this.httpClient.put(T.N.apiUrl+m,_).pipe((0,x.K)(v=>(this.onSendLogs(D.o.INFO,v,D.X.activateWorkflow,a,c,m),(0,u._)(v))))}changeCurrentSelectedWorkflow(a){this.workflowSource.next(a)}getActiveWorkflowList(a,c,d,_){const m="/workflow/"+d+"?workflow_status=active"+_;return this.httpClient.get(T.N.apiUrl+m).pipe((0,x.K)(v=>(this.onSendLogs(D.o.INFO,v,D.X.createWorkflow,a,c,m),(0,u._)(v))))}deleteWorkflowStage(a,c,d,_){const m="/workflow/stage/"+d+"/"+_;return this.httpClient.delete(T.N.apiUrl+m).pipe((0,x.K)(v=>(this.onSendLogs(D.o.INFO,v,D.X.createWorkflow,a,c,m),(0,u._)(v))))}onSendLogs(a,c,d,_,m,v){this.lokiService.onSendErrorLogs(a,c,d,_,m,v).subscribe()}};let h=g;return g.\u0275fac=function(c){return new(c||g)(F.LFG(J.eN),F.LFG(M.L)
1)},g.\u0275prov=F.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),h})()},75902:(j,P,f)=>{f.d(P,{J:()=>F});var T=f(61737),e=f(92340),u=f(27221),q=f(80096),x=f(28597),k=f(94650),D=f(80529),b=f(46262);let F=(()=>{const M=class{constructor(h,g){this.httpClient=h,this.lokiService=g}getCompanyDetails(h,g){const C="/company";return this.httpClient.get(e.N.apiUrl+C).pipe((0,u.K)(a=>(this.onSendLogs(x.o.INFO,a,x.X.getCompanyDetails,h,g,C),(0,T._)(a))))}updateCompanyDetails(h,g,C){const a="/company";return this.httpClient.put(e.N.apiUrl+a,C).pipe((0,u.K)(c=>(this.onSendLogs(x.o.INFO,c,x.X.updateCompanyDetails,h,g,a),(0,T._)(c))))}updateTwoFactorDetails(h,g,C){const a="/company/two-factor-auth";return this.httpClient.put(e.N.apiUrl+a,C).pipe((0,u.K)(c=>(this.onSendLogs(x.o.INFO,c,x.X.updateCompanyDetails,h,g,a),(0,T._)(c))))}updateTwoFactorUserDetails(h,g,C){const a="/user-update/two-factor-auth/"+C;return this.httpClient.put(e.N.apiUrl+a,{}).pipe((0,u.K)(c=>(this.onSendLogs(x.o.INFO,c,x.X.updateCompanyDetails,h,g,a),(0,T._)(c))))}resetTwoFactorUserDetails(h,g,C){const a="/user-reset/two-factor-auth/"+C;return this.httpClient.put(e.N.apiUrl+a,{}).pipe((0,u.K)(c=>(this.onSendLogs(x.o.INFO,c,x.X.updateCompanyDetails,h,g,a),(0,T._)(c))))}getCompanyTeamMembers(h,g,C){const a="/team_member";return this.httpClient.get(e.N.apiUrl+a+C).pipe((0,u.K)(c=>(this.onSendLogs(x.o.INFO,c?.error?.error||c,x.X.getCompanyTeamMembers,h,g,a),(0,T._)(c))))}inviteUser(h,g,C,a){const c="/invite/user";return this.httpClient.post(e.N.apiUrl+c,C,{params:a}).pipe((0,q.d)(1),(0,u.K)(d=>(this.onSendLogs(x.o.INFO,d?.error?.error||d,x.X.inviteUser,h,g,c),(0,T._)(d))))}generateToken(h,g){const C="/company/create-app-id";return this.httpClient.get(e.N.apiUrl+C).pipe((0,q.d)(1),(0,u.K)(a=>(this.onSendLogs(x.o.INFO,a?.error?.error||a,x.X.inviteUser,h,g,C),(0,T._)(a))))}updateToken(h,g){const C="/company/update-app-id";return this.httpClient.get(e.N.apiUrl+C).pipe((0,q.d)(1),(0,u.K)(a=>(this.onSendLogs(x.o.INFO,a?.error?.error||a,x.X.inviteUser,h,g,C),(0,T._)(a))))}getToken(h,g){const C="/company/get-app-id";return this.httpClient.get(e.N.apiUrl+C).pipe((0,q.d)(1),(0,u.K)(a=>(this.onSendLogs(x.o.INFO,a?.error?.error||a,x.X.inviteUser,h,g,C),(0,T._)(a))))}updateUserRole(h,g,C){const a="/invite/user/updaterole";return this.httpClient.put(e.N.apiUrl+a,C).pipe((0,u.K)(c=>(this.onSendLogs(x.o.INFO,c?.error?.error||c,x.X.updateUserRole,h,g,a),(0,T._)(c))))}removeTeamMember(h,g,C,a){let c;return c=a?"/invite/user/"+C.user_level+"/"+C.id+"/"+C.approver_id+"?orgid="+a:"/invite/user/"+C.user_level+"/"+C.id+"/"+C.approver_id,this.httpClient.delete(e.N.apiUrl+c).pipe((0,u.K)(d=>(this.onSendLogs(x.o.INFO,d?.error?.error||d,x.X.removeTeamMember,h,g,c),(0,T._)(d))))}resendInvitation(h,g,C,a){let c;return c=a?"/invite/user/resend?user_id="+C+"&orgid="+a:"/invite/user/resend?user_id="+C,this.httpClient.get(e.N.apiUrl+c).pipe((0,u.K)(d=>(this.onSendLogs(x.o.INFO,d,x.X.resendInvitation,h,g,c),(0,T._)(d))))}getUserList(h,g,C){const a="/invite/user/list?query="+h;return this.httpClient.get(e.N.apiUrl+a).pipe((0,u.K)(c=>(this.onSendLogs(x.o.INFO,c,x.X.getUserList,g,C,a),(0,T._)(c))))}onSendLogs(h,g,C,a,c,d){this.lokiService.onSendErrorLogs(h,g,C,a,c,d).subscribe()}};let J=M;return M.\u0275fac=function(g){return new(g||M)(k.LFG(D.eN),k.LFG(b.L))},M.\u0275prov=k.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),J})()},40727:(j,P,f)=>{f.r(P),f.d(P,{DsarRequestdetailsModule:()=>Jo});var T=f(51692),e=f(94650),u=f(24006),q=f(3940),x=f(36895),k=f(43074),D=f(92340),b=f(64491),F=f(1260),J=f(67075),M=f(61737),E=f(28597),h=f(27221),g=f(80529),C=f(46262);let a=(()=>{const l=class{constructor(n,s){this.httpClient=n,this.lokiService=s}createCCPAData(n,s,o,r){return this.httpClient.post(D.N.apiUrl+"/ccpa/data/"+n+"/"+s+"/"+o,r)}addCCPADataActivity(n,s,o,r,p){const A="/ccpa/activity/"+(0===o?"internal":"public")+"/"+r;return this.httpClient.post(D.N.apiUrl+A,p).pipe((0,h.K)(O=>(this.onSendLogs(E.o.INFO,O?.error?.error||O,E.X.getWorkflow,n,s,A),(0,M._)(O))))}getCCPADataActivityLog(n,s,o,r,p){const Z="internal";
1if(void 0!==p){const A="/ccpa/activity/"+Z+"/"+r+p;return this.httpClient.get(D.N.apiUrl+A).pipe((0,h.K)(O=>(this.onSendLogs(E.o.INFO,O?.error?.error||O,E.X.getCCPADataActivityLog,n,s,A),(0,M._)(O))))}{const A="/ccpa/activity/"+Z+"/"+r;return this.httpClient.get(D.N.apiUrl+A).pipe((0,h.K)(O=>(this.onSendLogs(E.o.INFO,O?.error?.error||O,E.X.getCCPADataActivityLog,n,s,A),(0,M._)(O))))}}addCCPADataEmailActivity(n,s,o,r,p){const A="/ccpa/email/"+o+"?email_level="+(0==p?"internal":"public");return this.httpClient.post(D.N.apiUrl+A,r).pipe((0,h.K)(O=>(this.onSendLogs(E.o.INFO,O?.error?.error||O,E.X.getWorkflow,n,s,A),(0,M._)(O))))}getCCPADataEmailLog(n,s,o){const r="/ccpa/email/"+o;return this.httpClient.get(D.N.apiUrl+r).pipe((0,h.K)(p=>(this.onSendLogs(E.o.INFO,p?.error?.error||p,E.X.getWorkflow,n,s,r),(0,M._)(p))))}deleteDSARRequestByID(n,s,o,r,p){const Z="/ccpa/data/"+o+"/"+r+"/"+p;return this.httpClient.delete(D.N.apiUrl+Z).pipe((0,h.K)(A=>(this.onSendLogs(E.o.INFO,A,E.X.getWorkflow,n,s,Z),(0,M._)(A))))}onSendLogs(n,s,o,r,p,Z){this.lokiService.onSendErrorLogs(n,s,o,r,p,Z).subscribe()}};let i=l;return l.\u0275fac=function(s){return new(s||l)(e.LFG(g.eN),e.LFG(C.L))},l.\u0275prov=e.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),i})();var c=f(81536),d=f(43265),_=f(20388),m=f(37407),v=f(73566),y=f(11481),S=f(75902),w=f(1637),Q=f(62976),$=f(22096),ee=f(73747),le=f(32320),re=f(4358),ae=f(14239),ce=f(12553),Y=f(42111),te=f(18178),ue=f(2854),G=f(96923),ne=f(38611),ie=f(98473);function pe(i,l){if(1&i&&(e.TgZ(0,"div",8)(1,"div",6)(2,"div",9)(3,"h6"),e._uU(4),e.qZA()(),e.TgZ(5,"div",10)(6,"p"),e._uU(7),e.qZA()()()()),2&i){const t=l.$implicit,n=e.oxw();e.xp6(4),e.Oqu(t.replaceAll("_"," ")),e.xp6(3),e.Oqu(null==n.connectionDetails||null==n.connectionDetails.response?null:n.connectionDetails.response.contacts[0][t])}}let de=(()=>{const l=class{constructor(){this.currentStep=new e.vpe}ngOnInit(){console.log("connectionDetails",this.connectionDetails)}goBack(){this.currentStep.emit(!0)}getColumnsParse(n){return JSON.parse(n)}};let i=l;return l.\u0275fac=function(s){return new(s||l)},l.\u0275cmp=e.Xpm({type:l,selectors:[["app-email-connection-list-active-campaign"]],inputs:{connectionDetails:"connectionDetails"},outputs:{currentStep:"currentStep"},decls:10,vars:2,consts:[[1,"card"],[1,"card-header"],[1,"float-left"],[1,"float-right","font-weight-bold","tx-15",3,"click"],[1,"fas","fa-chevron-left"],[1,"card-body","mt-3"],[1,"row"],["class","col-md-6",4,"ngFor","ngForOf"],[1,"col-md-6"],[1,"col-md-4"],[1,"col-md-8"]],template:function(s,o){1&s&&(e.TgZ(0,"div",0)(1,"div",1)(2,"h5",2),e._uU(3),e.qZA(),e.TgZ(4,"p",3),e.NdJ("click",function(){return o.goBack()}),e._UZ(5,"i",4),e._uU(6," Go Back"),e.qZA()(),e.TgZ(7,"div",5)(8,"div",6),e.YNc(9,pe,8,2,"div",7),e.qZA()()()),2&s&&(e.xp6(3),e.hij("Connection Details - ",null==o.connectionDetails?null:o.connectionDetails.connectionName,""),e.xp6(6),e.Q6J("ngForOf",o.getColumnsParse(null==o.connectionDetails?null:o.connectionDetails.columns)))},dependencies:[x.sg]}),i})();function _e(i,l){if(1&i&&(e.TgZ(0,"div",8)(1,"div",6)(2,"div",9)(3,"h6"),e._uU(4),e.qZA()(),e.TgZ(5,"div",10)(6,"p"),e._uU(7),e.qZA()()()()),2&i){const t=l.$implicit,n=e.oxw();e.xp6(4),e.Oqu(t.replaceAll("_"," ")),e.xp6(3),e.Oqu(null==n.connectionDetails?null:n.connectionDetails.response[t])}}let ge=(()=>{const l=class{constructor(){this.currentStep=new e.vpe}ngOnInit(){console.log("connectionDetails",this.connectionDetails)}goBack(){this.currentStep.emit(!0)}getColumnsParse(n){return JSON.parse(n)}};let i=l;return l.\u0275fac=function(s){return new(s||l)},l.\u0275cmp=e.Xpm({type:l,selectors:[["app-mailchimp-connection-list"]],inputs:{connectionDetails:"connectionDetails"},outputs:{currentStep:"currentStep"},decls:10,vars:2,consts:[[1,"card"],[1,"card-header"],[1,"float-left"],[1,"float-right","font-weight-bold","tx-15",3,"click"],[1,"fas","fa-chevron-left"],[1,"card-body","mt-3"],[1,"row"],["class","col-md-6",4,"ngFor","ngForOf"],[1,"col-md-6"],[1,"col-md-4"],[1,"col-md-8"]],template:function(s,o){1&s&&(e.TgZ(0,"div",0)(1,"div",1)(2,"h5",2),e._uU(3),e.qZA(),e.TgZ(4,"p",3),e.NdJ("click",function(){return o.goBack()}),e._UZ(5,"i",4),e._uU(6," Go Back"),e.qZA()(),e.TgZ(7,"div",5)(8,"div",6),e.YNc(9,_e,8,2,"div",7),e.qZA()()()),2&s&&(e.xp6(3),e.hij("Connection Details - ",null==o.connectionDetail
1s?null:o.connectionDetails.connectionName,""),e.xp6(6),e.Q6J("ngForOf",o.getColumnsParse(null==o.connectionDetails?null:o.connectionDetails.columns)))},dependencies:[x.sg]}),i})();function me(i,l){if(1&i&&(e.TgZ(0,"div",8)(1,"div",6)(2,"div",9)(3,"h6"),e._uU(4),e.qZA()(),e.TgZ(5,"div",10)(6,"p"),e._uU(7),e.qZA()()()()),2&i){const t=l.$implicit,n=e.oxw();e.xp6(4),e.Oqu(t.replaceAll("_"," ")),e.xp6(3),e.Oqu(null==n.connectionDetails||null==n.connectionDetails.response?null:n.connectionDetails.response.Context[t])}}let he=(()=>{const l=class{constructor(){this.currentStep=new e.vpe}ngOnInit(){console.log("connectionDetails",this.connectionDetails)}goBack(){this.currentStep.emit(!0)}getColumnsParse(n){return JSON.parse(n)}};let i=l;return l.\u0275fac=function(s){return new(s||l)},l.\u0275cmp=e.Xpm({type:l,selectors:[["app-moosend-connection-list"]],inputs:{connectionDetails:"connectionDetails"},outputs:{currentStep:"currentStep"},decls:10,vars:2,consts:[[1,"card"],[1,"card-header"],[1,"float-left"],[1,"float-right","font-weight-bold","tx-15",3,"click"],[1,"fas","fa-chevron-left"],[1,"card-body","mt-3"],[1,"row"],["class","col-md-6",4,"ngFor","ngForOf"],[1,"col-md-6"],[1,"col-md-4"],[1,"col-md-8"]],template:function(s,o){1&s&&(e.TgZ(0,"div",0)(1,"div",1)(2,"h5",2),e._uU(3),e.qZA(),e.TgZ(4,"p",3),e.NdJ("click",function(){return o.goBack()}),e._UZ(5,"i",4),e._uU(6," Go Back"),e.qZA()(),e.TgZ(7,"div",5)(8,"div",6),e.YNc(9,me,8,2,"div",7),e.qZA()()()),2&s&&(e.xp6(3),e.hij("Connection Details - ",null==o.connectionDetails?null:o.connectionDetails.connectionName,""),e.xp6(6),e.Q6J("ngForOf",o.getColumnsParse(null==o.connectionDetails?null:o.connectionDetails.columns)))},dependencies:[x.sg]}),i})();function fe(i,l){if(1&i&&(e.TgZ(0,"div",8)(1,"div",6)(2,"div",9)(3,"h6"),e._uU(4),e.qZA()(),e.TgZ(5,"div",10)(6,"p"),e._uU(7),e.qZA()()()()),2&i){const t=l.$implicit,n=e.oxw();e.xp6(4),e.Oqu(t.replaceAll("_"," ")),e.xp6(3),e.Oqu(null==n.connectionDetails||null==n.connectionDetails.response||null==n.connectionDetails.response.result[null==n.connectionDetails?null:n.connectionDetails.email]?null:n.connectionDetails.response.result[null==n.connectionDetails?null:n.connectionDetails.email].contact[t])}}let xe=(()=>{const l=class{constructor(){this.currentStep=new e.vpe}ngOnInit(){console.log("connectionDetails",this.connectionDetails)}goBack(){this.currentStep.emit(!0)}getColumnsParse(n){return JSON.parse(n)}};let i=l;return l.\u0275fac=function(s){return new(s||l)},l.\u0275cmp=e.Xpm({type:l,selectors:[["app-sendgrid-connection-list"]],inputs:{connectionDetails:"connectionDetails"},outputs:{currentStep:"currentStep"},decls:10,vars:2,consts:[[1,"card"],[1,"card-header"],[1,"float-left"],[1,"float-right","font-weight-bold","tx-15",3,"click"],[1,"fas","fa-chevron-left"],[1,"card-body","mt-3"],[1,"row"],["class","col-md-6",4,"ngFor","ngForOf"],[1,"col-md-6"],[1,"col-md-4"],[1,"col-md-8"]],template:function(s,o){1&s&&(e.TgZ(0,"div",0)(1,"div",1)(2,"h5",2),e._uU(3),e.qZA(),e.TgZ(4,"p",3),e.NdJ("click",function(){return o.goBack()}),e._UZ(5,"i",4),e._uU(6," Go Back"),e.qZA()(),e.TgZ(7,"div",5)(8,"div",6),e.YNc(9,fe,8,2,"div",7),e.qZA()()()),2&s&&(e.xp6(3),e.hij("Connection Details - ",null==o.connectionDetails?null:o.connectionDetails.connectionName,""),e.xp6(6),e.Q6J("ngForOf",o.getColumnsParse(null==o.connectionDetails?null:o.connectionDetails.columns)))},dependencies:[x.sg]}),i})();function Ce(i,l){if(1&i&&(e.TgZ(0,"div",8)(1,"div",6)(2,"div",9)(3,"h6"),e._uU(4),e.qZA()(),e.TgZ(5,"div",10)(6,"p"),e._uU(7),e.qZA()()()()),2&i){const t=l.$implicit,n=e.oxw();e.xp6(4),e.Oqu(t.replaceAll("_"," ")),e.xp6(3),e.Oqu(null==n.connectionDetails||null==n.connectionDetails.response||null==n.connectionDetails.response.results[0]?null:n.connectionDetails.response.results[0].properties[t])}}let ve=(()=>{const l=class{constructor(){this.currentStep=new e.vpe}ngOnInit(){console.log("connectionDetails",this.connectionDetails)}goBack(){this.currentStep.emit(!0)}getColumnsParse(n){return JSON.parse(n)}};let i=l;return l.\u0275fac=function(s){return new(s||l)},l.\u0275cmp=e.Xpm({type:l,selectors:[["app-hubspot-connection-list"]],inputs:{connectionDetail
1s:"connectionDetails"},outputs:{currentStep:"currentStep"},decls:10,vars:2,consts:[[1,"card"],[1,"card-header"],[1,"float-left"],[1,"float-right","font-weight-bold","tx-15",3,"click"],[1,"fas","fa-chevron-left"],[1,"card-body","mt-3"],[1,"row"],["class","col-md-6",4,"ngFor","ngForOf"],[1,"col-md-6"],[1,"col-md-4"],[1,"col-md-8"]],template:function(s,o){1&s&&(e.TgZ(0,"div",0)(1,"div",1)(2,"h5",2),e._uU(3),e.qZA(),e.TgZ(4,"p",3),e.NdJ("click",function(){return o.goBack()}),e._UZ(5,"i",4),e._uU(6," Go Back"),e.qZA()(),e.TgZ(7,"div",5)(8,"div",6),e.YNc(9,Ce,8,2,"div",7),e.qZA()()()),2&s&&(e.xp6(3),e.hij("Connection Details - ",null==o.connectionDetails?null:o.connectionDetails.connectionName,""),e.xp6(6),e.Q6J("ngForOf",o.getColumnsParse(null==o.connectionDetails?null:o.connectionDetails.columns)))},dependencies:[x.sg]}),i})();function be(i,l){if(1&i&&(e.TgZ(0,"th"),e._uU(1),e.qZA()),2&i){const t=l.$implicit;e.xp6(1),e.Oqu(t)}}function qe(i,l){if(1&i&&(e.TgZ(0,"tr"),e.YNc(1,be,2,1,"th",9),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.connectionDetailsKeys)}}function Te(i,l){if(1&i&&(e.TgZ(0,"td"),e._uU(1),e.qZA()),2&i){const t=l.$implicit,n=e.oxw().$implicit;e.xp6(1),e.Oqu(n[t])}}function Ze(i,l){if(1&i&&(e.TgZ(0,"tr"),e.YNc(1,Te,2,1,"td",9),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.connectionDetailsKeys)}}let De=(()=>{const l=class{constructor(){this.connectionDetailsKeys=[],this.currentStep=new e.vpe}ngOnInit(){}goBack(){this.currentStep.emit(!0)}getColumnsParse(n){return JSON.parse(n)}};let i=l;return l.\u0275fac=function(s){return new(s||l)},l.\u0275cmp=e.Xpm({type:l,selectors:[["app-restapi-connection-list"]],inputs:{connectionDetails:"connectionDetails",connectionDetailsKeys:"connectionDetailsKeys"},outputs:{currentStep:"currentStep"},decls:11,vars:2,consts:[[1,"card"],[1,"card-header"],[1,"float-left"],[1,"float-right","font-weight-bold","tx-15",3,"click"],[1,"fas","fa-chevron-left"],[1,"card-body","mt-3"],["responsiveLayout","scroll",3,"value"],["pTemplate","header"],["pTemplate","body"],[4,"ngFor","ngForOf"]],template:function(s,o){1&s&&(e.TgZ(0,"div",0)(1,"div",1)(2,"h5",2),e._uU(3),e.qZA(),e.TgZ(4,"p",3),e.NdJ("click",function(){return o.goBack()}),e._UZ(5,"i",4),e._uU(6," Go Back"),e.qZA()(),e.TgZ(7,"div",5)(8,"p-table",6),e.YNc(9,qe,2,1,"ng-template",7),e.YNc(10,Ze,2,1,"ng-template",8),e.qZA()()()),2&s&&(e.xp6(3),e.hij("Connection Details - ",null==o.connectionDetails?null:o.connectionDetails.connectionName,""),e.xp6(5),e.Q6J("value",o.connectionDetails))},dependencies:[x.sg,G.iA,Y.jx]}),i})();function ye(i,l){if(1&i&&(e.TgZ(0,"div")(1,"label",8),e._uU(2),e.qZA(),e.TgZ(3,"label",9),e._uU(4),e.qZA()()),2&i){const t=l.$implicit,n=e.oxw(3);e.xp6(2),e.hij(" ",t.key.replaceAll("_"," ")," "),e.xp6(2),e.hij(" ",n.isObject(t.value)?"--":t.value,"")}}function ke(i,l){if(1&i&&(e.ynx(0),e.TgZ(1,"label",8),e._uU(2),e.qZA(),e.TgZ(3,"label",9),e._uU(4),e.qZA(),e.TgZ(5,"div",10),e.YNc(6,ye,5,2,"div",6),e.ALo(7,"keyvalue"),e.qZA(),e.BQk()),2&i){const t=e.oxw().$implicit,n=e.oxw();e.xp6(2),e.hij(" ",t.replaceAll("_"," "),""),e.xp6(2),e.hij("","addresses"!=t&&"default_address"!=t||!n.isObject(n.testobj[t])?n.isArray(n.testobj[t])||n.isObject(n.testobj[t])?"--":n.testobj[t]:" "," "),e.xp6(2),e.Q6J("ngForOf",e.lcZ(7,3,n.testobj[t]))}}function Ae(i,l){if(1&i&&(e.TgZ(0,"div")(1,"label",8),e._uU(2),e.qZA(),e.TgZ(3,"label",9),e._uU(4),e.qZA()()),2&i){const t=l.$implicit;e.xp6(2),e.hij(" ",t.key.replaceAll("_"," ")," "),e.xp6(2),e.hij(" ",t.value?t.value:"--","")}}function Oe(i,l){if(1&i&&(e.TgZ(0,"div",12)(1,"label",13),e._uU(2),e.qZA(),e.YNc(3,Ae,5,2,"div",6),e.ALo(4,"keyvalue"),e.qZA()),2&i){const t=l.$implicit,n=e.oxw(2).$implicit;e.xp6(2),e.hij(" ",n.replaceAll("_"," ")," "),e.xp6(1),e.Q6J("ngForOf",e.lcZ(4,2,t.value))}}function we(i,l){if(1&i&&(e.ynx(0),e.YNc(1,Oe,5,4,"div",11),e.ALo(2,"keyvalue"),e.BQk()),2&i){const t=e.oxw().$implicit,n=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,n.testobj[t]))}}function Me(i,l){if(1&i&&(e.TgZ(0,"div"),e.YNc(1,ke,8,5,"ng-container",7),e.YNc(2,we,3,3,"ng-container",7),e.qZA()),2&i){const t=l.$implicit,n=e.oxw();e.xp6(1),e.Q6J("ngIf",!n.isArray(n.testobj[t])),e.xp6(1),e.Q6J("ngIf",n.isArray(n.testobj[t]))}}let Se=(()=>{const l=class{constructor(){this.currentStep=new e.vpe,this.finalObj=[],this.testobj=[],this.selectedcols=[],this.customobj={}}
1ngOnInit(){this.selectedcols=JSON.parse(this.connectionDetails.columns),this.testobj=this.connectionDetails.response.customers[0]}goBack(){this.currentStep.emit(!0)}getColumnsParse(n){return JSON.parse(n)}isArray(n){return Array.isArray(n)}isObject(n){return"object"==typeof n}};let i=l;return l.\u0275fac=function(s){return new(s||l)},l.\u0275cmp=e.Xpm({type:l,selectors:[["app-shopify-connection-list"]],inputs:{connectionDetails:"connectionDetails"},outputs:{currentStep:"currentStep"},decls:9,vars:2,consts:[[1,"card"],[1,"card-header"],[1,"float-left"],[1,"float-right","font-weight-bold","tx-15","cursor-pointer",3,"click"],[1,"fas","fa-chevron-left"],[1,"grid-container"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"label-key"],[1,"label-value"],[1,"objecttype"],["class","array-obj",4,"ngFor","ngForOf"],[1,"array-obj"],[2,"font-weight","bold","margin-right","10px","text-transform","capitalize"]],template:function(s,o){1&s&&(e.TgZ(0,"div",0)(1,"div",1)(2,"h5",2),e._uU(3),e.qZA(),e.TgZ(4,"p",3),e.NdJ("click",function(){return o.goBack()}),e._UZ(5,"i",4),e._uU(6," Go Back"),e.qZA()(),e.TgZ(7,"div",5),e.YNc(8,Me,3,2,"div",6),e.qZA()()),2&s&&(e.xp6(3),e.hij("Connection Details - ",null==o.connectionDetails?null:o.connectionDetails.connectionName,""),e.xp6(5),e.Q6J("ngForOf",o.selectedcols))},dependencies:[x.sg,x.O5,x.Nd],styles:[".grid-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto auto auto auto auto;gap:0px;margin:10px}.label-key[_ngcontent-%COMP%]{font-weight:700;margin-right:10px;text-transform:capitalize}.label-value[_ngcontent-%COMP%]{margin-right:3px;text-align:center}.array-obj[_ngcontent-%COMP%]:last-child{display:inline-flex;flex-wrap:wrap;align-content:center;flex-direction:row;align-items:center;justify-content:space-between}.objecttype[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:wrap;align-content:center;flex-direction:row;align-items:center;justify-content:space-between}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),i})();function Re(i,l){if(1&i&&(e.TgZ(0,"div",8)(1,"div",6)(2,"div",9)(3,"h6"),e._uU(4),e.qZA()(),e.TgZ(5,"div",10)(6,"p"),e._uU(7),e.qZA()()()()),2&i){const t=l.$implicit,n=e.oxw();e.xp6(4),e.Oqu(t.replaceAll("_"," ")),e.xp6(3),e.Oqu((null==n.connectionDetails?null:n.connectionDetails.response.length)>0&&null!=n.connectionDetails&&n.connectionDetails.response[0][t]?null==n.connectionDetails?null:n.connectionDetails.response[0][t]:"----")}}let Ie=(()=>{const l=class{constructor(){this.currentStep=new e.vpe}ngOnInit(){}goBack(){this.currentStep.emit(!0)}getColumnsParse(n){return JSON.parse(n)}};let i=l;return l.\u0275fac=function(s){return new(s||l)},l.\u0275cmp=e.Xpm({type:l,selectors:[["app-salesforce-connection-list"]],inputs:{connectionDetails:"connectionDetails"},outputs:{currentStep:"currentStep"},decls:10,vars:2,consts:[[1,"card"],[1,"card-header"],[1,"float-left"],[1,"float-right","font-weight-bold","tx-15",3,"click"],[1,"fas","fa-chevron-left"],[1,"card-body","mt-3"],[1,"row"],["class","col-md-6",4,"ngFor","ngForOf"],[1,"col-md-6"],[1,"col-md-4"],[1,"col-md-8"]],template:function(s,o){1&s&&(e.TgZ(0,"div",0)(1,"div",1)(2,"h5",2),e._uU(3),e.qZA(),e.TgZ(4,"p",3),e.NdJ("click",function(){return o.goBack()}),e._UZ(5,"i",4),e._uU(6," Go Back"),e.qZA()(),e.TgZ(7,"div",5)(8,"div",6),e.YNc(9,Re,8,2,"div",7),e.qZA()()()),2&s&&(e.xp6(3),e.hij("Connection Details - ",null==o.connectionDetails?null:o.connectionDetails.connectionName,""),e.xp6(6),e.Q6J("ngForOf",o.getColumnsParse(null==o.connectionDetails?null:o.connectionDetails.columns)))},dependencies:[x.sg]}),i})();function Ee(i,l){if(1&i&&(e.TgZ(0,"div",8)(1,"div",6)(2,"div",9)(3,"h6"),e._uU(4),e.qZA()(),e.TgZ(5,"div",10)(6,"p"),e._uU(7),e.qZA()()()()),2&i){const t=l.$implicit,n=e.oxw();e.xp6(4),e.Oqu(t.replaceAll("_"," ")),e.xp6(3),e.Oqu(null==n.connectionDetails?null:n.connectionDetails.response[0][t])}}let Le=(()=>{const l=class{constructor(){this.currentStep=new e.vpe}ngOnInit(){}goBack(){this.currentStep.emit(!0)}getColumnsParse(n){return JSON.parse(n)}};let i=l;return l.\u0275fac=function(s){return new(s||l)},l.\u0275cmp=e.Xpm({type:l,selectors:[["app-accelo-connection-list"]],inputs:{connectionDetail
1s:"connectionDetails"},outputs:{currentStep:"currentStep"},decls:10,vars:2,consts:[[1,"card"],[1,"card-header"],[1,"float-left"],[1,"float-right","font-weight-bold","tx-15",3,"click"],[1,"fas","fa-chevron-left"],[1,"card-body","mt-3"],[1,"row"],["class","col-md-6",4,"ngFor","ngForOf"],[1,"col-md-6"],[1,"col-md-4"],[1,"col-md-8"]],template:function(s,o){1&s&&(e.TgZ(0,"div",0)(1,"div",1)(2,"h5",2),e._uU(3),e.qZA(),e.TgZ(4,"p",3),e.NdJ("click",function(){return o.goBack()}),e._UZ(5,"i",4),e._uU(6," Go Back"),e.qZA()(),e.TgZ(7,"div",5)(8,"div",6),e.YNc(9,Ee,8,2,"div",7),e.qZA()()()),2&s&&(e.xp6(3),e.hij("Connection Details - ",null==o.connectionDetails?null:o.connectionDetails.connectionName,""),e.xp6(6),e.Q6J("ngForOf",o.getColumnsParse(null==o.connectionDetails?null:o.connectionDetails.columns)))},dependencies:[x.sg]}),i})();function Ne(i,l){if(1&i&&(e.TgZ(0,"div",8)(1,"div",6)(2,"div",9)(3,"h6"),e._uU(4),e.qZA()(),e.TgZ(5,"div",10)(6,"p"),e._uU(7),e.qZA()()()()),2&i){const t=l.$implicit,n=e.oxw();e.xp6(4),e.Oqu(t.replaceAll("_"," ")),e.xp6(3),e.Oqu(null==n.connectionDetails?null:n.connectionDetails.response.contacts[0][t])}}let Ue=(()=>{const l=class{constructor(){this.currentStep=new e.vpe}ngOnInit(){}goBack(){this.currentStep.emit(!0)}getColumnsParse(n){return JSON.parse(n)}};let i=l;return l.\u0275fac=function(s){return new(s||l)},l.\u0275cmp=e.Xpm({type:l,selectors:[["app-omnisend-connection-list"]],inputs:{connectionDetails:"connectionDetails"},outputs:{currentStep:"currentStep"},decls:10,vars:2,consts:[[1,"card"],[1,"card-header"],[1,"float-left"],[1,"float-right","font-weight-bold","tx-15",3,"click"],[1,"fas","fa-chevron-left"],[1,"card-body","mt-3"],[1,"row"],["class","col-md-6",4,"ngFor","ngForOf"],[1,"col-md-6"],[1,"col-md-4"],[1,"col-md-8"]],template:function(s,o){1&s&&(e.TgZ(0,"div",0)(1,"div",1)(2,"h5",2),e._uU(3),e.qZA(),e.TgZ(4,"p",3),e.NdJ("click",function(){return o.goBack()}),e._UZ(5,"i",4),e._uU(6," Go Back"),e.qZA()(),e.TgZ(7,"div",5)(8,"div",6),e.YNc(9,Ne,8,2,"div",7),e.qZA()()()),2&s&&(e.xp6(3),e.hij("Connection Details - ",null==o.connectionDetails?null:o.connectionDetails.connectionName,""),e.xp6(6),e.Q6J("ngForOf",o.getColumnsParse(null==o.connectionDetails?null:o.connectionDetails.columns)))},dependencies:[x.sg]}),i})();function Pe(i,l){if(1&i&&(e.TgZ(0,"div",8)(1,"div",6)(2,"div",9)(3,"h6"),e._uU(4),e.qZA()(),e.TgZ(5,"div",10)(6,"p"),e._uU(7),e.qZA()()()()),2&i){const t=l.$implicit,n=e.oxw();e.xp6(4),e.Oqu(t.replaceAll("_"," ")),e.xp6(3),e.Oqu((null==n.connectionDetails?null:n.connectionDetails.response.length)>0&&null!=n.connectionDetails&&n.connectionDetails.response[0].data[t]?null==n.connectionDetails?null:n.connectionDetails.response[0].data[t]:"----")}}let Fe=(()=>{const l=class{constructor(){this.currentStep=new e.vpe}ngOnInit(){}goBack(){this.currentStep.emit(!0)}getColumnsParse(n){return JSON.parse(n)}};let i=l;return l.\u0275fac=function(s){return new(s||l)},l.\u0275cmp=e.Xpm({type:l,selectors:[["app-zendesk-sell-connection-list"]],inputs:{connectionDetails:"connectionDetails"},outputs:{currentStep:"currentStep"},decls:10,vars:2,consts:[[1,"card"],[1,"card-header"],[1,"float-left"],[1,"float-right","font-weight-bold","tx-15",3,"click"],[1,"fas","fa-chevron-left"],[1,"card-body","mt-3"],[1,"row"],["class","col-md-6",4,"ngFor","ngForOf"],[1,"col-md-6"],[1,"col-md-4"],[1,"col-md-8"]],template:function(s,o){1&s&&(e.TgZ(0,"div",0)(1,"div",1)(2,"h5",2),e._uU(3),e.qZA(),e.TgZ(4,"p",3),e.NdJ("click",function(){return o.goBack()}),e._UZ(5,"i",4),e._uU(6," Go Back"),e.qZA()(),e.TgZ(7,"div",5)(8,"div",6),e.YNc(9,Pe,8,2,"div",7),e.qZA()()()),2&s&&(e.xp6(3),e.hij("Connection Details - ",null==o.connectionDetails?null:o.connectionDetails.connectionName,""),e.xp6(6),e.Q6J("ngForOf",o.getColumnsParse(null==o.connectionDetails?null:o.connectionDetails.columns)))},dependencies:[x.sg]}),i})();function Je(i,l){if(1&i&&(e.TgZ(0,"div",8)(1,"div",6)(2,"div",9)(3,"h6"),e._uU(4),e.qZA()(),e.TgZ(5,"div",10)(6,"p"),e._uU(7),e.qZA()()()()),2&i){const t=l.$implicit,n=e.oxw();e.xp6(4),e.Oqu(t.replaceAll("_"," ")),e.xp6(3),e.hij("",(null==n.connectionDetail
1s?null:n.connectionDetails.response.length)>0&&null!=n.connectionDetails&&n.connectionDetails.response[0][t]?null==n.connectionDetails?null:n.connectionDetails.response[0][t]:"----"," ")}}let Qe=(()=>{const l=class{constructor(){this.currentStep=new e.vpe}ngOnInit(){}goBack(){this.currentStep.emit(!0)}getColumnsParse(n){return JSON.parse(n)}};let i=l;return l.\u0275fac=function(s){return new(s||l)},l.\u0275cmp=e.Xpm({type:l,selectors:[["app-zendesk-support-connection-list"]],inputs:{connectionDetails:"connectionDetails"},outputs:{currentStep:"currentStep"},decls:10,vars:2,consts:[[1,"card"],[1,"card-header"],[1,"float-left"],[1,"float-right","font-weight-bold","tx-15",3,"click"],[1,"fas","fa-chevron-left"],[1,"card-body","mt-3"],[1,"row"],["class","col-md-6",4,"ngFor","ngForOf"],[1,"col-md-6"],[1,"col-md-4"],[1,"col-md-8"]],template:function(s,o){1&s&&(e.TgZ(0,"div",0)(1,"div",1)(2,"h5",2),e._uU(3),e.qZA(),e.TgZ(4,"p",3),e.NdJ("click",function(){return o.goBack()}),e._UZ(5,"i",4),e._uU(6," Go Back"),e.qZA()(),e.TgZ(7,"div",5)(8,"div",6),e.YNc(9,Je,8,2,"div",7),e.qZA()()()),2&s&&(e.xp6(3),e.hij("Connection Details - ",null==o.connectionDetails?null:o.connectionDetails.connectionName,""),e.xp6(6),e.Q6J("ngForOf",o.getColumnsParse(null==o.connectionDetails?null:o.connectionDetails.columns)))},dependencies:[x.sg]}),i})();const Be=["template"];function je(i,l){if(1&i&&(e.TgZ(0,"div")(1,"p",17),e._uU(2),e.qZA()()),2&i){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(null==t||null==t.errorLogs?null:t.errorLogs.message)}}const L=function(i,l){return{"status-stable":i,"status-error":l}},N=function(i,l){return{outofstock:i,instock:l}};function Ke(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"tr")(1,"td"),e._UZ(2,"img",14),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA(),e.TgZ(5,"td")(6,"span",15),e._uU(7),e.qZA()(),e.TgZ(8,"td")(9,"div",15),e._uU(10),e.qZA()(),e.TgZ(11,"td"),e.YNc(12,je,3,1,"div",6),e.qZA(),e.TgZ(13,"td")(14,"button",16),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(3);return e.KtG(r.onShowSqlData("sql",o))}),e.qZA()()()}if(2&i){const t=l.$implicit,n=e.oxw(3);e.xp6(4),e.Oqu(t.connectionName),e.xp6(2),e.Tol("customer-badge"),e.Q6J("ngClass",e.WLB(9,L,!(null!=t&&null!=t.errorLogs&&t.errorLogs.error),(null==t||null==t.errorLogs?null:t.errorLogs.error)||null===(null==t?null:t.response))),e.xp6(1),e.Oqu(null!=t&&null!=t.errorLogs&&t.errorLogs.error?"Error":null===(null==t?null:t.response)?"No Record":"Stable"),e.xp6(2),e.Q6J("ngClass",e.WLB(12,N,null===t.response||0===(null==t.response?null:t.response.length),null!==t.response||(null==t.response?null:t.response.length)>0)),e.xp6(1),e.hij(" ",n.onFindTotalCount(t)," "),e.xp6(2),e.Q6J("ngIf",null==t||null==t.errorLogs?null:t.errorLogs.error),e.xp6(2),e.Q6J("disabled",null===(null==t?null:t.response)||0===(null==t?null:t.response))}}function Ye(i,l){if(1&i&&(e.TgZ(0,"div")(1,"p",17),e._uU(2),e.qZA()()),2&i){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(null==t||null==t.errorLogs?null:t.errorLogs.message)}}function Ge(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"tr")(1,"td"),e._UZ(2,"img",18),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA(),e.TgZ(5,"td")(6,"span",15),e._uU(7),e.qZA()(),e.TgZ(8,"td")(9,"div",15),e._uU(10),e.qZA()(),e.TgZ(11,"td"),e.YNc(12,Ye,3,1,"div",6),e.qZA(),e.TgZ(13,"td")(14,"button",16),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(3);return e.KtG(r.onShowSqlData("sql",o))}),e.qZA()()()}if(2&i){const t=l.$implicit,n=e.oxw(3);e.xp6(4),e.Oqu(t.connectionName),e.xp6(2),e.Tol("customer-badge"),e.Q6J("ngClass",e.WLB(9,L,!(null!=t&&null!=t.errorLogs&&t.errorLogs.error),(null==t||null==t.errorLogs?null:t.errorLogs.error)||null===(null==t?null:t.response))),e.xp6(1),e.Oqu(null!=t&&null!=t.errorLogs&&t.errorLogs.error?"Error":null===(null==t?null:t.response)?"No Record":"Stable"),e.xp6(2),e.Q6J("ngClass",e.WLB(12,N,null===t.response||0===(null==t.response?null:t.response.length),null!==t.response||(null==t.response?null:t.response.length)>0)),e.xp6(1),e.hij(" ",n.onFindTotalCount(t)," "),e.xp6(2),e.Q6J("ngIf",null==t||null==t.errorLogs?null:t.errorLogs.error),e.xp6(2),e.Q6J("disabled",null===(null==t?null:t.response)||0===(null==t?null:t.response))}}function We(i,l){if(1&i&&(e.TgZ(0,"div")(1,"p",17),e._uU(2),e.qZA()()),2&i){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(null==t||null==t.errorLogs?null:t.errorLogs.message)}}function He(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"tr")(1,"td"),e._UZ(2,"img",19),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA(),e.TgZ(5,"td")(6,"span",15),e._uU(7),e.qZA()(),e.TgZ(8,"td")(9,"div",15),e._uU(10),e.qZA()(),e.TgZ(11,"td"),e.YNc(12,We,3,1,"div",6),e.qZA(),e.TgZ(13,"td")(14,"button",16),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(3);return e.KtG(r.onShowSqlData("mailChimp",o))}),e.qZA()()()}if(2&i){const t=l.$implicit,n=e.oxw(3);e.xp6(4),e.Oqu(t.connectionName),e.xp6(2),e.Tol("customer-badge"),e.Q6J("ngClass",e.WLB(9,L,!(null!=t&&null!=t.errorLogs&&t.errorLogs.error),(null==t||null==t.errorLogs?null:t.errorLogs.error)||null===(null==t?null:t.response))),e.xp6(1),e.Oqu(null!=t&&null!=t.errorLogs&&t.errorLogs.error?"Error":null===(null==t?null:t.response)?"No Record":"Stable"),e.xp6(2),e.Q6J("ngClass",e.WLB(12,N,null===t.response||0===(null==t.response?null:t.response.length),null!==t.response||(null==t.response?null:t.response.length)>0)),e.xp6(1),e.hij(" ",n.onFindTotalCount(t)," "),e.xp6(2),e.Q6J("ngIf",null==t||null==t.errorLogs?null:t.errorLogs.error),e.xp6(2),e.Q6J("disabled",null===(null==t?null:t.response)||0===(null==t?null:t.response))}}function ze(i,l){if(1&i&&(e.TgZ(0,"div")(1,"p",17),e._uU(2),e.qZA()()),2&i){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(null==t||null==t.errorLogs?null:t.errorLogs.message)}}function Ve(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"tr")(1,"td"),e._UZ(2,"img",20),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA(),e.TgZ(5,"td")(6,"span",15),e._uU(7),e.qZA()(),e.TgZ(8,"td")(9,"div",15),e._uU(10),e.qZA()(),e.TgZ(11,"td"),e.YNc(12,ze,3,1,"div",6),e.qZA(),e.TgZ(13,"td")(14,"button",16),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(3);return e.KtG(r.onShowSqlData("salesforce",o))}),e.qZA()()()}if(2&i){const t=l.$implicit,n=e.oxw(3);e.xp6(4),e.Oqu(t.connectionName),e.xp6(2),e.Tol("customer-badge"),e.Q6J("ngClass",e.WLB(9,L,!(null!=t&&null!=t.errorLogs&&t.errorLogs.error),(null==t||null==t.errorLogs?null:t.errorLogs.error)||null===(null==t?null:t.response))),e.xp6(1),e.Oqu(null!=t&&null!=t.errorLogs&&t.errorLogs.error?"Error":null===(null==t?null:t.response)?"No Record":"Stable"),e.xp6(2),e.Q6J("ngClass",e.WLB(12,N,null===t.response||0===(null==t.response?null:t.response.length),null!==t.response||(null==t.response?null:t.response.length)>0)),e.xp6(1),e.hij(" ",n.onFindTotalCount(t)," "),e.xp6(2),e.Q6J("ngIf",null==t||null==t.errorLogs?null:t.errorLogs.error),e.xp6(2),e.Q6J("disabled",null===(null==t?null:t.response)||0===(null==t||null==t.response?null:t.response.length))}}function Xe(i,l){if(1&i&&(e.TgZ(0,"div")(1,"p",17),e._uU(2),e.qZA()()),2&i){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(null==t||null==t.errorLogs?null:t.errorLogs.message)}}function $e(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"tr")(1,"td"),e._UZ(2,"img",21),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA(),e.TgZ(5,"td")(6,"span",15),e._uU(7),e.qZA()(),e.TgZ(8,"td")(9,"div",15),e._uU(10),e.qZA()(),e.TgZ(11,"td"),e.YNc(12,Xe,3,1,"div",6),e.qZA(),e.TgZ(13,"td")(14,"button",16),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(3);return e.KtG(r.onShowSqlData("zendesk",o))}),e.qZA()()()}if(2&i){const t=l.$implicit,n=e.oxw(3);e.xp6(4),e.Oqu(t.connectionName),e.xp6(2),e.Tol("customer-badge"),e.Q6J("ngClass",e.WLB(9,L,!(null!=t&&null!=t.errorLogs&&t.errorLogs.error),(null==t||null==t.errorLogs?null:t.errorLogs.error)||null===(null==t?null:t.response))),e.xp6(1),e.Oqu(null!=t&&null!=t.errorLogs&&t.errorLogs.error?"Error":null===(null==t?null:t.response)?"No Record":"Stable"),e.xp6(2),e.Q6J("ngClass",e.WLB(12,N,null===t.response||0===(null==t.response?null:t.response.length),null!==t.response||(null==t.response?null:t.response.length)>0)),e.xp6(1),e.hij(" ",n.onFindTotalCount(t)," "),e.xp6(2),e.Q6J("ngIf",null==t||null==t.errorLogs?null:t.errorLogs.error),e.xp6(2),e.Q6J("disabled",null===(null==t?null:t.response)||0===(null==t||null==t.response?null:t.response.length))}}function et(i,l){if(1&i&&(e.TgZ(0,"div")(1,"p",17),e._uU(2),e.qZA()()),2&i){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(null==t||null==t.errorLogs?null:t.errorLogs.message)}}function tt(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"tr")(1,"td"),e._UZ(2,"img",22),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA(),e.TgZ(5,"td")(6,"span",15),e._uU(7),e.qZA()(),e.TgZ(8,"td")(9,"div",15),e._uU(10),e.qZA()(),e.TgZ(11,"td"),e.YNc(12,et,3,1,"div",6),e.qZA(),e.TgZ(13,"td")(14,"button",16),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(3);
1return e.KtG(r.onShowSqlData("zendesk_support",o))}),e.qZA()()()}if(2&i){const t=l.$implicit,n=e.oxw(3);e.xp6(4),e.Oqu(t.connectionName),e.xp6(2),e.Tol("customer-badge"),e.Q6J("ngClass",e.WLB(9,L,!(null!=t&&null!=t.errorLogs&&t.errorLogs.error),(null==t||null==t.errorLogs?null:t.errorLogs.error)||null===(null==t?null:t.response))),e.xp6(1),e.Oqu(null!=t&&null!=t.errorLogs&&t.errorLogs.error?"Error":null===(null==t?null:t.response)?"No Record":"Stable"),e.xp6(2),e.Q6J("ngClass",e.WLB(12,N,null===t.response||0===(null==t.response?null:t.response.length),null!==t.response||(null==t.response?null:t.response.length)>0)),e.xp6(1),e.hij(" ",n.onFindTotalCount(t)," "),e.xp6(2),e.Q6J("ngIf",null==t||null==t.errorLogs?null:t.errorLogs.error),e.xp6(2),e.Q6J("disabled",null===(null==t?null:t.response)||0===(null==t||null==t.response?null:t.response.length))}}function nt(i,l){if(1&i&&(e.TgZ(0,"div")(1,"p",17),e._uU(2),e.qZA()()),2&i){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(null==t||null==t.errorLogs?null:t.errorLogs.message)}}function it(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"tr")(1,"td"),e._UZ(2,"img",23),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA(),e.TgZ(5,"td")(6,"span",15),e._uU(7),e.qZA()(),e.TgZ(8,"td")(9,"div",15),e._uU(10),e.qZA()(),e.TgZ(11,"td"),e.YNc(12,nt,3,1,"div",6),e.qZA(),e.TgZ(13,"td")(14,"button",16),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(3);return e.KtG(r.onShowRestAPIData("restApi",o))}),e.qZA()()()}if(2&i){const t=l.$implicit,n=e.oxw(3);e.xp6(4),e.Oqu(t.connectionName),e.xp6(2),e.Tol("customer-badge"),e.Q6J("ngClass",e.WLB(9,L,!(null!=t&&null!=t.errorLogs&&t.errorLogs.error),(null==t||null==t.errorLogs?null:t.errorLogs.error)||null===(null==t?null:t.response))),e.xp6(1),e.Oqu(null!=t&&null!=t.errorLogs&&t.errorLogs.error?"Error":null===(null==t?null:t.response)?"No Record":"Stable"),e.xp6(2),e.Q6J("ngClass",e.WLB(12,N,null===t.response||0===(null==t.response?null:t.response.length),null!==t.response||(null==t.response?null:t.response.length)>0)),e.xp6(1),e.hij(" ",n.onFindTotalCount(t)," "),e.xp6(2),e.Q6J("ngIf",null==t||null==t.errorLogs?null:t.errorLogs.error),e.xp6(2),e.Q6J("disabled",null===(null==t?null:t.response)||0===(null==t?null:t.response))}}function st(i,l){if(1&i&&(e.TgZ(0,"div")(1,"p",17),e._uU(2),e.qZA()()),2&i){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(null==t||null==t.errorLogs?null:t.errorLogs.message)}}function ot(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"tr")(1,"td"),e._UZ(2,"img",24),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA(),e.TgZ(5,"td")(6,"span",15),e._uU(7),e.qZA()(),e.TgZ(8,"td")(9,"div",15),e._uU(10),e.qZA()(),e.TgZ(11,"td"),e.YNc(12,st,3,1,"div",6),e.qZA(),e.TgZ(13,"td")(14,"button",16),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(3);return e.KtG(r.onShowSqlData("activeCampaign",o))}),e.qZA()()()}if(2&i){const t=l.$implicit,n=e.oxw(3);e.xp6(4),e.Oqu(t.connectionName),e.xp6(2),e.Tol("customer-badge"),e.Q6J("ngClass",e.WLB(9,L,!(null!=t&&null!=t.errorLogs&&t.errorLogs.error),(null==t||null==t.errorLogs?null:t.errorLogs.error)||null===(null==t?null:t.response))),e.xp6(1),e.Oqu(null!=t&&null!=t.errorLogs&&t.errorLogs.error?"Error":null===(null==t?null:t.response)?"No Record":"Stable"),e.xp6(2),e.Q6J("ngClass",e.WLB(12,N,null===(null==t.response?null:t.response.contacts)||0===(null==t.response||null==t.response.contacts?null:t.response.contacts.length),null!==(null==t.response?null:t.response.contacts)||(null==t.response||null==t.response.contacts?null:t.response.contacts.length)>0)),e.xp6(1),e.hij(" ",n.onFindTotalActiveCampaginCount(t)," "),e.xp6(2),e.Q6J("ngIf",null==t||null==t.errorLogs?null:t.errorLogs.error),e.xp6(2),e.Q6J("disabled",null===(null==t.response?null:t.response.contacts)||0===(null==t.response||null==t.response.contacts?null:t.response.contacts.length))}}function lt(i,l){if(1&i&&(e.TgZ(0,"div")(1,"p",17),e._uU(2),e.qZA()()),2&i){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(null==t||null==t.errorLogs?null:t.errorLogs.message)}}function rt(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"tr")(1,"td"),e._UZ(2,"img",25),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA(),e.TgZ(5,"td")(6,"span",15),e._uU(7),e.qZA()(),e.TgZ(8,"td")(9,"div",15),e._uU(10),e.qZA()(),e.TgZ(11,"td"),e.YNc(12,lt,3,1,"div",6),e.qZA(),e.TgZ(13,"td")(14,"button",16),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(3);return e.KtG(r.onShowSqlData("sendInBlue",o))}),e.qZA()()()}if(2&i){const t=l.$implicit,n=e.oxw(3);e.xp6(4),e.Oqu(t.connectionName),e.xp6(2),e.Tol("customer-badge"),e.Q6J("ngClass",e.WLB(9,L,!(null!=t&&null!=t.errorLogs&&t.errorLogs.error),(null==t||null==t.errorLogs?null:t.errorLogs.error)||null===(null==t?null:t.response))),e.xp6(1),e.Oqu(null!=t&&null!=t.errorLogs&&t.errorLogs.error?"Error":""===(null==t||null==t.response?null:t.response.email)?"No Record":"Stable"),e.xp6(2),e.Q6J("ngClass",e.WLB(12,N,""===(null==t.response?null:t.response.email),null==t.response?null:t.response.email)),e.xp6(1),e.hij(" ",n.onFindTotalSendInBlueCount(t)," "),e.xp6(2),e.Q6J("ngIf",null==t||null==t.errorLogs?null:t.errorLogs.error),e.xp6(2),e.Q6J("disabled",null===(null==t?null:t.response)||""===(null==t.response?null:t.response.email))}}function at(i,l){if(1&i&&(e.TgZ(0,"div")(1,"p",17),e._uU(2),e.qZA()()),2&i){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(null==t||null==t.errorLogs?null:t.errorLogs.message)}}function ct(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"tr")(1,"td"),e._UZ(2,"img",26),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA(),e.TgZ(5,"td")(6,"span",15),e._uU(7),e.qZA()(),e.TgZ(8,"td")(9,"div",15),e._uU(10),e.qZA()(),e.TgZ(11,"td"),e.YNc(12,at,3,1,"div",6),e.qZA(),e.TgZ(13,"td")(14,"button",16),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(3);return e.KtG(r.onShowSqlData("sendGrid",o))}),e.qZA()()()}if(2&i){const t=l.$implicit,n=e.oxw(3);e.xp6(4),e.Oqu(t.connectionName),e.xp6(2),e.Tol("customer-badge"),e.Q6J("ngClass",e.WLB(9,L,!(null!=t&&null!=t.errorLogs&&t.errorLogs.error),(null==t||null==t.errorLogs?null:t.errorLogs.error)||null===(null==t?null:t.response))),e.xp6(1),e.Oqu(null!=t&&null!=t.errorLogs&&t.errorLogs.error?"Error":null===(null==t?null:t.response)?"No Record":"Stable"),e.xp6(2),e.Q6J("ngClass",e.WLB(12,N,null===t.response||0===(null==t.response?null:t.response.length),null!==t.response||(null==t.response?null:t.response.length)>0)),e.xp6(1),e.hij(" ",n.onFindTotalCount(t)," "),e.xp6(2),e.Q6J("ngIf",null==t||null==t.errorLogs?null:t.errorLogs.error),e.xp6(2),e.Q6J("disabled",null===(null==t?null:t.response)||0===(null==t?null:t.response))}}function ut(i,l){if(1&i&&(e.TgZ(0,"div")(1,"p",17),e._uU(2),e.qZA()()),2&i){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(null==t||null==t.errorLogs?null:t.errorLogs.message)}}function pt(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"tr")(1,"td"),e._UZ(2,"img",27),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA(),e.TgZ(5,"td")(6,"span",15),e._uU(7),e.qZA()(),e.TgZ(8,"td")(9,"div",15),e._uU(10),e.qZA()(),e.TgZ(11,"td"),e.YNc(12,ut,3,1,"div",6),e.qZA(),e.TgZ(13,"td")(14,"button",16),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(3);return e.KtG(r.onShowSqlData("accelo",o))}),e.qZA()()()}if(2&i){const t=l.$implicit,n=e.oxw(3);e.xp6(4),e.Oqu(t.connectionName),e.xp6(2),e.Tol("customer-badge"),e.Q6J("ngClass",e.WLB(9,L,!(null!=t&&null!=t.errorLogs&&t.errorLogs.error),(null==t||null==t.errorLogs?null:t.errorLogs.error)||null===(null==t?null:t.response)||0===(null==t||null==t.response?null:t.response.length))),e.xp6(1),e.Oqu(null!=t&&null!=t.errorLogs&&t.errorLogs.error?"Error":null===(null==t?null:t.response)||0===(null==t||null==t.response?null:t.response.length)?"No Record":"Stable"),e.xp6(2),e.Q6J("ngClass",e.WLB(12,N,null===t.response||0===(null==t.response?null:t.response.length),null!==t.response||(null==t.response?null:t.response.length)>0)),e.xp6(1),e.hij(" ",n.onFindTotalCount(t)," "),e.xp6(2),e.Q6J("ngIf",null==t||null==t.errorLogs?null:t.errorLogs.error),e.xp6(2),e.Q6J("disabled",null===(null==t?null:t.response)||0===(null==t||null==t.response?null:t.response.length))}}function dt(i,l){if(1&i&&(e.TgZ(0,"div")(1,"p",17),e._uU(2),e.qZA()()),2&i){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(null==t||null==t.errorLogs?null:t.errorLogs.message)}}function _t(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"tr")(1,"td"),e._UZ(2,"img",28),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA(),e.TgZ(5,"td")(6,"span",15),e._uU(7),e.qZA()(),e.TgZ(8,"td")(9,"div",15),e._uU(10),e.qZA()(),e.TgZ(11,"td"),e.YNc(12,dt,3,1,"div",6),e.qZA(),e.TgZ(13,"td")(14,"button",16),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(3);return e.KtG(r.onShowSqlData("omnisend",o))}),e.qZA()()()}if(2&i){const t=l.$implicit,n=e.oxw(3);e.xp6(4),e.Oqu(t.connectionName),e.xp6(2),e.Tol("customer-badge"),e.Q6J("ngClass",e.WLB(9,L,!(null!=t&&null!=t.errorLogs&&t.errorLogs.error),(null==t||null==t.errorLogs?null:t.errorLogs.error)||null===(null==t?null:t.response)||0===(null==t||null==t.response?null:t.response.length))),e.xp6(1),e.Oqu(null!=t&&null!=t.errorLogs&&t.errorLogs.error?"Error":null===(null==t?null:t.response)||0===(null==t||null==t.response?null:t.response.length)?"No Record":"Stable"),e.xp6(2),e.Q6J("ngClass",e.WLB(12,N,null===t.response||0===(null==t.response?null:t.response.length),null!==t.response||(null==t.response?null:t.response.length)>0)),e.xp6(1),e.hij(" ",n.onFindTotalCount(t)," "),e.xp6(2),e.Q6J("ngIf",null==t||null==t.errorLogs?null:t.errorLogs.error),e.xp6(2),e.Q6J("disabled",null===(null==t?null:t.response)||0===(null==t||null==t.response?null:t.response.length))}}function gt(i,l){if(1&i&&(e.TgZ(0,"div")(1,"p",17),e._uU(2),e.qZA()()),2&i){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(null==t||null==t.errorLogs?null:t.errorLogs.message)}}function mt(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"tr")(1,"td"),e._UZ(2,"img",29),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA(),e.TgZ(5,"td")(6,"span",15),e._uU(7),e.qZA()(),e.TgZ(8,"td")(9,"div",15),e._uU(10),e.qZA()(),e.TgZ(11,"td"),e.YNc(12,gt,3,1,"div",6),e.qZA(),e.TgZ(13,"td")(14,"button",16),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(3);return e.KtG(r.onShowSqlData("hubSpot",o))}),e.qZA()()()}if(2&i){const t=l.$implicit;e.xp6(4),e.Oqu(t.connectionName),e.xp6(2),e.Tol("customer-badge"),e.Q6J("ngClass",e.WLB(9,L,!(null!=t&&null!=t.errorLogs&&t.errorLogs.error),(null==t||null==t.errorLogs?null:t.errorLogs.error)||null===(null==t||null==t.response?null:t.response.results)||0===(null==t||null==t.response?null:t.response.results.length))),e.xp6(1),e.Oqu(null!=t&&null!=t.errorLogs&&t.errorLogs.error?"Error":null===(null==t||null==t.response?null:t.response.results)||0===(null==t||null==t.response?null:t.response.results.length)?"No Record":"Stable"),e.xp6(2),e.Q6J("ngClass",e.WLB(12,N,null===t.response||0===(null==t.response?null:t.response.length)||0===(null==t||null==t.response||null==t.response.results?null:t.response.results.length),null!==t.response||(null==t.response?null:t.response.length)>0||(null==t||null==t.response||null==t.response.results?null:t.response.results.length)>0)),e.xp6(1),e.hij(" ",null==t||null==t.response||null==t.response.results?null:t.response.results.length," "),e.xp6(2),e.Q6J("ngIf",null==t||null==t.errorLogs?null:t.errorLogs.error),e.xp6(2),e.Q6J("disabled",null===(null==t?null:t.response)||0===(null==t?null:t.response)||0===(null==t||null==t.response||null==t.response.results?null:t.response.results.length))}}function ht(i,l){if(1&i&&(e.TgZ(0,"div")(1,"p",17),e._uU(2),e.qZA()()),2&i){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(null!=t&&null!=t.response&&t.response.Error?null==t||null==t.response?null:t.response.Error:null==t||null==t.errorLogs?null:t.errorLogs.message.replaceAll("_"," "))}}function ft(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"tr")(1,"td"),e._UZ(2,"img",30),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA(),e.TgZ(5,"td")(6,"span",15),e._uU(7),e.qZA()(),e.TgZ(8,"td")(9,"div",15),e._uU(10),e.qZA()(),e.TgZ(11,"td"),e.YNc(12,ht,3,1,"div",6),e.qZA(),e.TgZ(13,"td")(14,"button",16),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(3);return e.KtG(r.onShowSqlData("mooSend",o))}),e.qZA()()()}if(2&i){const t=l.$implicit,n=e.oxw(3);e.xp6(4),e.Oqu(t.connectionName),e.xp6(2),e.Tol("customer-badge"),e.Q6J("ngClass",e.WLB(9,L,!(null!=t&&null!=t.errorLogs&&t.errorLogs.error),(null==t||null==t.errorLogs?null:t.errorLogs.error)||(null==t||null==t.response?null:t.response.Error))),e.xp6(1),e.Oqu(null!=t&&null!=t.errorLogs&&t.errorLogs.error?"Error":null!=t&&null!=t.response&&t.response.Error?"No Record":"Stable"),e.xp6(2),e.Q6J("ngClass",e.WLB(12,N,null==t.response?null:t.response.Error,!(null!=t.response&&t.response.Error))),e.xp6(1),e.hij(" ",n.onFindTotalMoosendCount(t)," "),e.xp6(2),e.Q6J("ngIf",(null==t||null==t.errorLogs?null:t.errorLogs.error)||(null==t||null==t.response?null:t.response.Error)),e.xp6(2),e.Q6J("disabled",(null==t||null==t.errorLogs?null:t.errorLogs.error)||(null==t||null==t.response?null:t.response.Error))}}function xt(i,l){if(1&i&&(e.TgZ(0,"div")(1,"p",17),e._uU(2),e.qZA()()),2&i){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(null!=t&&null!=t.response&&t.response.error?null==t||null==t.response?null:t.response.error:null==t||null==t.errorLogs?null:t.errorLogs.message.replaceAll("_"," "))}}function Ct(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"tr")(1,"td"),e._UZ(2,"img",31),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA(),e.TgZ(5,"td")(6,"span",15),e._uU(7),e.qZA()(),e.TgZ(8,"td")(9,"div",15),e._uU(10),e.qZA()(),e.TgZ(11,"td"),e.YNc(12,xt,3,1,"div",6),e.qZA(),e.TgZ(13,"td")(14,"button",16),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(3);return e.KtG(r.onShowSqlData("shopify",o))}),e.qZA()()()}if(2&i){const t=l.$implicit,n=e.oxw(3);e.xp6(4),e.Oqu(t.connectionName),e.xp6(2),e.Tol("customer-badge"),e.Q6J("ngClass",e.WLB(9,L,!(null!=t.response&&t.response.error),(null==t||null==t.errorLogs?null:t.errorLogs.error)||null==(null==t?null:t.response)||void 0!==(null==t?null:t.response.customers)&&0==(null==t?null:t.response.customers.length))),e.xp6(1),e.Oqu(null!=t&&null!=t.errorLogs&&t.errorLogs.error?"Error":(null!=t.response&&t.response.error||null!=(null==t?null:t.response))&&(null!=t.response&&t.response.error||void 0===(null==t?null:t.response.customers)||0!=(null==t?null:t.response.customers.length))?"Stable":"No Record"),e.xp6(2),e.Q6J("ngClass",e.WLB(12,N,!(null!=t.response&&t.response.error)&&null==(null==t?null:t.response)||!(null!=t.response&&t.response.error)&&null!==(null==t?null:t.response)&&void 0!==(null==t?null:t.response.customers)&&0==(null==t?null:t.response.customers.length),!(null!=t.response&&t.response.error)&&null!==(null==t?null:t.response)&&void 0!==(null==t?null:t.response.customers)&&(null==t?null:t.response.customers.length)>0)),e.xp6(1),e.hij(" ",n.onFindTotalShopifyCount(t)," "),e.xp6(2),e.Q6J("ngIf",(null==t||null==t.errorLogs?null:t.errorLogs.error)||(null==t||null==t.response?null:t.response.Error)),e.xp6(2),e.Q6J("disabled",(null==t||null==t.errorLogs?null:t.errorLogs.error)||!(null!=t&&null!=t.errorLogs&&t.errorLogs.error)&&null==(null==t?null:t.response)||null!==(null==t?null:t.response)&&void 0!==(null==t?null:t.response.customers)&&0==(null==t?null:t.response.customers.length)||(null==t||null==t.response?null:t.response.Error))}}function vt(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",7)(1,"div",8)(2,"h5",9),e._uU(3,"Integrated Connections"),e.qZA(),e.TgZ(4,"button",10),e.NdJ("click",function(){e.CHM(t);const s=e.oxw(2);return e.KtG(s.onFetchConnectionsList())}),e.qZA()(),e.TgZ(5,"div",11)(6,"table",12)(7,"thead")(8,"tr")(9,"th"),e._uU(10,"System Name"),e.qZA(),e.TgZ(11,"th"),e._uU(12,"Connection Name"),e.qZA(),e.TgZ(13,"th"),e._uU(14,"Status"),e.qZA(),e.TgZ(15,"th"),e._uU(16,"Total Record"),e.qZA(),e.TgZ(17,"th"),e._uU(18,"Error Message"),e.qZA(),e.TgZ(19,"th"),e._uU(20,"View Details"),e.qZA()()(),e.TgZ(21,"tbody"),e.YNc(22,Ke,15,15,"tr",13),e.YNc(23,Ge,15,15,"tr",13),e.YNc(24,He,15,15,"tr",13),e.YNc(25,Ve,15,15,"tr",13),e.YNc(26,$e,15,15,"tr",13),e.YNc(27,tt,15,15,"tr",13),e.YNc(28,it,15,15,"tr",13),e.YNc(29,ot,15,15,"tr",13),e.YNc(30,rt,15,15,"tr",13),e.YNc(31,ct,15,15,"tr",13),e.YNc(32,pt,15,15,"tr",13),e.YNc(33,_t,15,15,"tr",13),e.YNc(34,mt,15,15,"tr",13),e.YNc(35,ft,15,15,"tr",13),e.YNc(36,Ct,15,15,"tr",13),e.qZA()()()()}if(2&i){const t=e.oxw(2);e.xp6(22),e.Q6J("ngForOf",null==t.connectionList?null:t.connectionList.mysql),e.xp6(1),e.Q6J("ngForOf",null==t.connectionList?null:t.connectionList.postgres),e.xp6(1),e.Q6J("ngForO
1f",null==t.connectionList?null:t.connectionList.mailChimp),e.xp6(1),e.Q6J("ngForOf",null==t.connectionList?null:t.connectionList.salesforce),e.xp6(1),e.Q6J("ngForOf",null==t.connectionList?null:t.connectionList.zendesk),e.xp6(1),e.Q6J("ngForOf",null==t.connectionList?null:t.connectionList.zendesk_support),e.xp6(1),e.Q6J("ngForOf",null==t.connectionList?null:t.connectionList.restApi),e.xp6(1),e.Q6J("ngForOf",null==t.connectionList?null:t.connectionList.activeCampaign),e.xp6(1),e.Q6J("ngForOf",null==t.connectionList?null:t.connectionList.sendInBlue),e.xp6(1),e.Q6J("ngForOf",null==t.connectionList?null:t.connectionList.sendGrid),e.xp6(1),e.Q6J("ngForOf",null==t.connectionList?null:t.connectionList.accelo),e.xp6(1),e.Q6J("ngForOf",null==t.connectionList?null:t.connectionList.omnisend),e.xp6(1),e.Q6J("ngForOf",null==t.connectionList?null:t.connectionList.hubSpot),e.xp6(1),e.Q6J("ngForOf",null==t.connectionList?null:t.connectionList.mooSend),e.xp6(1),e.Q6J("ngForOf",null==t.connectionList?null:t.connectionList.shopify)}}function bt(i,l){if(1&i&&(e.TgZ(0,"th"),e._uU(1),e.qZA()),2&i){const t=l.$implicit;e.xp6(1),e.Oqu(t)}}function qt(i,l){if(1&i&&(e.TgZ(0,"tr"),e.YNc(1,bt,2,1,"th",13),e.qZA()),2&i){const t=e.oxw(4);e.xp6(1),e.Q6J("ngForOf",null==t.connectionDetails?null:t.connectionDetails.cols)}}function Tt(i,l){if(1&i&&(e.TgZ(0,"td"),e._uU(1),e.qZA()),2&i){const t=l.$implicit,n=e.oxw().$implicit;e.xp6(1),e.Oqu(n[t])}}function Zt(i,l){if(1&i&&(e.TgZ(0,"tr"),e.YNc(1,Tt,2,1,"td",13),e.qZA()),2&i){const t=e.oxw(4);e.xp6(1),e.Q6J("ngForOf",null==t.connectionDetails?null:t.connectionDetails.cols)}}function Dt(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",43)(1,"div",7)(2,"div",8)(3,"h5",44),e._uU(4),e.qZA(),e.TgZ(5,"p",45),e.NdJ("click",function(){e.CHM(t);const s=e.oxw(3);return e.KtG(s.type=1)}),e._UZ(6,"i",46),e._uU(7," Go Back"),e.qZA()(),e.TgZ(8,"div",47)(9,"p-table",48),e.YNc(10,qt,2,1,"ng-template",49),e.YNc(11,Zt,2,1,"ng-template",50),e.qZA()()()()}if(2&i){const t=e.oxw(3);e.xp6(4),e.hij("Connection Details - ",null==t.connectionDetails?null:t.connectionDetails.connectionName,""),e.xp6(5),e.Q6J("value",null==t.connectionDetails?null:t.connectionDetails.response)}}function yt(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",51)(1,"app-restapi-connection-list",52),e.NdJ("currentStep",function(s){e.CHM(t);const o=e.oxw(3);return e.KtG(o.onGoBack(s))}),e.qZA()()}if(2&i){const t=e.oxw(3);e.xp6(1),e.Q6J("connectionDetailsKeys",t.connectionDetailsKeys)("connectionDetails",t.connectionDetails)}}function kt(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",43)(1,"app-email-connection-list-active-campaign",53),e.NdJ("currentStep",function(s){e.CHM(t);const o=e.oxw(3);return e.KtG(o.onGoBack(s))}),e.qZA()()}if(2&i){const t=e.oxw(3);e.xp6(1),e.Q6J("connectionDetails",t.connectionDetails)}}function At(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",54)(1,"div",7)(2,"div",8)(3,"h5",44),e._uU(4),e.qZA(),e.TgZ(5,"p",45),e.NdJ("click",function(){e.CHM(t);const s=e.oxw(3);return e.KtG(s.type=1)}),e._UZ(6,"i",46),e._uU(7," Go Back"),e.qZA()(),e.TgZ(8,"div",47)(9,"div",0)(10,"div",55)(11,"div",0)(12,"div",56)(13,"h6"),e._uU(14,"Email"),e.qZA()(),e.TgZ(15,"div",57)(16,"p"),e._uU(17),e.qZA()()(),e.TgZ(18,"div",0)(19,"div",56)(20,"h6"),e._uU(21,"Full Name"),e.qZA()(),e.TgZ(22,"div",57)(23,"p"),e._uU(24),e.qZA()()()(),e.TgZ(25,"div",55)(26,"div",0)(27,"div",56)(28,"h6"),e._uU(29,"EmailBlacklisted"),e.qZA()(),e.TgZ(30,"div",57)(31,"p"),e._uU(32),e.qZA()()(),e.TgZ(33,"div",0)(34,"div",56)(35,"h6"),e._uU(36,"SMS"),e.qZA()(),e.TgZ(37,"div",57)(38,"p"),e._uU(39),e.qZA()()()()()()()()}if(2&i){const t=e.oxw(3);e.xp6(4),e.hij("Connection Details - ",null==t.connectionDetails?null:t.connectionDetails.connectionName,""),e.xp6(13),e.Oqu(null==t.connectionDetails||null==t.connectionDetails.response?null:t.connectionDetails.response.email),e.xp6(7),e.AsE("",null==t.connectionDetails||null==t.connectionDetails.response||null==t.connectionDetails.response.attributes?null:t.connectionDetails.response.attributes.FIRSTNAME," ",null==t.connectionDetails||null==t.connectionDetails.response||null==t.connectionDetail
1s.response.attributes?null:t.connectionDetails.response.attributes.LASTNAME," "),e.xp6(8),e.Oqu(null==t.connectionDetails||null==t.connectionDetails.response?null:t.connectionDetails.response.emailBlacklisted),e.xp6(7),e.Oqu(null==t.connectionDetails||null==t.connectionDetails.response||null==t.connectionDetails.response.attributes?null:t.connectionDetails.response.attributes.SMS)}}function Ot(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",58)(1,"app-mailchimp-connection-list",53),e.NdJ("currentStep",function(s){e.CHM(t);const o=e.oxw(3);return e.KtG(o.onGoBack(s))}),e.qZA()()}if(2&i){const t=e.oxw(3);e.xp6(1),e.Q6J("connectionDetails",t.connectionDetails)}}function wt(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",58)(1,"app-accelo-connection-list",53),e.NdJ("currentStep",function(s){e.CHM(t);const o=e.oxw(3);return e.KtG(o.onGoBack(s))}),e.qZA()()}if(2&i){const t=e.oxw(3);e.xp6(1),e.Q6J("connectionDetails",t.connectionDetails)}}function Mt(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",58)(1,"app-omnisend-connection-list",53),e.NdJ("currentStep",function(s){e.CHM(t);const o=e.oxw(3);return e.KtG(o.onGoBack(s))}),e.qZA()()}if(2&i){const t=e.oxw(3);e.xp6(1),e.Q6J("connectionDetails",t.connectionDetails)}}function St(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",59)(1,"app-salesforce-connection-list",53),e.NdJ("currentStep",function(s){e.CHM(t);const o=e.oxw(3);return e.KtG(o.onGoBack(s))}),e.qZA()()}if(2&i){const t=e.oxw(3);e.xp6(1),e.Q6J("connectionDetails",t.connectionDetails)}}function Rt(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",60)(1,"app-zendesk-sell-connection-list",53),e.NdJ("currentStep",function(s){e.CHM(t);const o=e.oxw(3);return e.KtG(o.onGoBack(s))}),e.qZA()()}if(2&i){const t=e.oxw(3);e.xp6(1),e.Q6J("connectionDetails",t.connectionDetails)}}function It(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",61)(1,"app-zendesk-support-connection-list",53),e.NdJ("currentStep",function(s){e.CHM(t);const o=e.oxw(3);return e.KtG(o.onGoBack(s))}),e.qZA()()}if(2&i){const t=e.oxw(3);e.xp6(1),e.Q6J("connectionDetails",t.connectionDetails)}}function Et(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",62)(1,"app-moosend-connection-list",53),e.NdJ("currentStep",function(s){e.CHM(t);const o=e.oxw(3);return e.KtG(o.onGoBack(s))}),e.qZA()()}if(2&i){const t=e.oxw(3);e.xp6(1),e.Q6J("connectionDetails",t.connectionDetails)}}function Lt(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",63)(1,"app-sendgrid-connection-list",53),e.NdJ("currentStep",function(s){e.CHM(t);const o=e.oxw(3);return e.KtG(o.onGoBack(s))}),e.qZA()()}if(2&i){const t=e.oxw(3);e.xp6(1),e.Q6J("connectionDetails",t.connectionDetails)}}function Nt(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",64)(1,"app-hubspot-connection-list",53),e.NdJ("currentStep",function(s){e.CHM(t);const o=e.oxw(3);return e.KtG(o.onGoBack(s))}),e.qZA()()}if(2&i){const t=e.oxw(3);e.xp6(1),e.Q6J("connectionDetails",t.connectionDetails)}}function Ut(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",65)(1,"app-shopify-connection-list",53),e.NdJ("currentStep",function(s){e.CHM(t);const o=e.oxw(3);return e.KtG(o.onGoBack(s))}),e.qZA()()}if(2&i){const t=e.oxw(3);e.xp6(1),e.Q6J("connectionDetails",t.connectionDetails)}}function Pt(i,l){if(1&i&&(e.TgZ(0,"div"),e.YNc(1,Dt,12,2,"div",32),e.YNc(2,yt,2,2,"div",33),e.YNc(3,kt,2,1,"div",32),e.YNc(4,At,40,6,"div",34),e.YNc(5,Ot,2,1,"div",35),e.YNc(6,wt,2,1,"div",35),e.YNc(7,Mt,2,1,"div",35),e.YNc(8,St,2,1,"div",36),e.YNc(9,Rt,2,1,"div",37),e.YNc(10,It,2,1,"div",38),e.YNc(11,Et,2,1,"div",39),e.YNc(12,Lt,2,1,"div",40),e.YNc(13,Nt,2,1,"div",41),e.YNc(14,Ut,2,1,"div",42),e.qZA()),2&i){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf","sql"===t.currentStep),e.xp6(1),e.Q6J("ngIf","restApi"===t.currentStep),e.xp6(1),e.Q6J("ngIf","activeCampaign"===t.currentStep),e.xp6(1),e.Q6J("ngIf","sendInBlue"===t.currentStep),e.xp6(1),e.Q6J("ngIf","mailChimp"===t.currentStep),e.xp6(1),e.Q6J("ngIf","accelo"===t.currentStep),e.xp6(1),e.Q6J("ngIf","omnisend"===t.currentStep),e.xp6(1),e.Q6J("ngIf","salesforce"===t.currentStep),e.xp6(1),e.Q6J("ngIf","zendesk"===t.currentStep),e.xp6(1),e.Q6J("ngIf","zendesk_support"===t.currentStep),e.xp6(1),e.Q6J("ngIf","mooSend"===t.currentStep),e.xp6(1),e.Q6J("ngIf","sendGrid"===t.currentStep),e.xp6(1),e.Q6J("ngIf","hubSpot"===t.currentStep),e.xp6(1),e.Q6J("ngIf","shopify"===t.currentStep)}}function Ft(i,l){if(1&i&&(e.TgZ(0,"div",4),e.YNc(1,vt,37,15,"div",5),e.YNc(2,Pt,15,14,"div",6),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",1===t.type),e.xp6(1),e.Q6J("ngIf",2===t.type)}}const K=function(){return{width:"100%",height:"30px","border-radius":"10px",marginBottom:"5px"}};function Jt(i,l){1&i&&(e.TgZ(0,"div",66),e._UZ(1,"ngx-skeleton-loader",67)(2,"ngx-skeleton-loader",67),e.TgZ(3,"h5",68),e._uU(4,"Fetching ..."),e.qZA(),e._UZ(5,"ngx-skeleton-loader",67)(6,"ngx-skeleton-loader",67),e.qZA()),2&i&&(e.xp6(1),e.Q6J("theme",e.DdM(4,K)),e.xp6(1),e.Q6J("theme",e.DdM(5,K)),e.xp6(3),e.Q6J("theme",e.DdM(6,K)),e.xp6(1),e.Q6J("theme",e.DdM(7,K)))}function Qt(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",69)(1,"button",70),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(null==s.modalRef?null:s.modalRef.hide())}),e.TgZ(2,"span",71),e._uU(3,"\xd7"),e.qZA()()(),e.TgZ(4,"div",72)(5,"p",73),e._uU(6),e.qZA()()}if(2&i){const t=e.oxw();e.xp6(6),e.hij(" ",t.showDataonModal,"")}}let Bt=(()=>{const l=class{constructor(n,s,o){this.systemIntegrationService=n,this.modalService=s,this.cd=o,this.type=1,this.isLoading=!0,this.connectionList=null,this.connectionDetail
1s={response:[],cols:[],connectionName:""},this.connectionDetailsKeys=[],this.currentStep="",this.showDataonModal=""}ngOnInit(){this.onFetchConnectionsList()}onFetchConnectionsList(){this.isLoading=!0,this.systemIntegrationService.GetIntegratedConnectionsList(this.formID,this.requestID,this.constructor.name,q.e.dsarRequestModule).subscribe(n=>{n.status&&(this.connectionList=n.response),this.isLoading=!1},n=>{this.isLoading=!1})}onShowSqlData(n,s){this.currentStep=n,this.type=2,this.connectionDetails=s,this.cd.detectChanges()}onShowRestAPIData(n,s){this.currentStep=n,this.type=2,this.connectionDetails=s.responsePath?s.response[s.responsePath]:s.response,this.connectionDetailsKeys=Object.keys(this.connectionDetails[0]),this.cd.detectChanges()}openModal(n){this.modalRef=this.modalService.show(n)}onFindTotalCount(n){let s="0";return null!==n.response&&Array.isArray(n.response)?s=String(n.response.length):null!==n.response&&n.response.hasOwnProperty(n.responsePath)?Array.isArray(n.response[n.responsePath])&&(s=n.response[n.responsePath].length):null!==n.response&&(s="1"),s}onGoBack(n){this.type=1}onFindTotalActiveCampaginCount(n){let s="0";return Array.isArray(n?.response?.contacts)&&(s=String(n?.response?.contacts.length)),s}onFindTotalSendInBlueCount(n){let s="0";return n?.response?.email&&(s="1"),s}onFindTotalMoosendCount(n){let s="0";return n?.response?.Error||(s="1"),s}onFindTotalShopifyCount(n){let s="0";return null!==n?.response&&n?.response?.customers&&Array.isArray(n?.response?.customers)&&n?.response?.customers.length>0&&(s="1"),s}};let i=l;return l.\u0275fac=function(s){return new(s||l)(e.Y36(v._),e.Y36(_.tT),e.Y36(e.sBO))},l.\u0275cmp=e.Xpm({type:l,selectors:[["app-dsar-connection-list"]],viewQuery:function(s,o){if(1&s&&e.Gf(Be,5),2&s){let r;e.iGM(r=e.CRH())&&(o.template=r.first)}},inputs:{formID:"formID",requestID:"requestID"},decls:5,vars:2,consts:[[1,"row"],["class","col-md-12",4,"ngIf"],["class","loading col-md-12 mr-2",4,"ngIf"],["template",""],[1,"col-md-12"],["class","card",4,"ngIf"],[4,"ngIf"],[1,"card"],[1,"card-header"],[1,"float-left","pt-2"],["pButton","","pRipple","","type","button","icon","pi pi-refresh","label","Refresh",1,"p-button-raised","p-button-sm",2,"float","right",3,"click"],[1,"card-body","p-0"],[1,"table"],[4,"ngFor","ngForOf"],["src","assets/imgs/db/mysql.png","alt","mailchimp logo",2,"width","120px","height","30px"],[3,"ngClass"],["pButton","","pRipple","","icon","pi pi-eye",1,"p-button-rounded","p-button-success","p-mr-2",3,"disabled","click"],[1,"text-danger"],["src","assets/imgs/db/postgresql.svg","alt","mailchimp logo",2,"width","120px","height","30px"],["src","assets/imgs/db/mailchimp.png","alt","mailchimp logo",2,"width","120px","height","30px"],["src","assets/imgs/db/salesforce.png","alt","mailchimp logo",2,"width","120px","height","30px"],["src","assets/imgs/db/zendesk-sell.png","alt","mailchimp logo",2,"width","120px","height","40px"],["src","assets/imgs/db/Zendesk-Logo.png","alt","mailchimp logo",2,"width","120px","height","30px"],["src","assets/imgs/db/rest.png","alt","Rest API logo",2,"width","55px","height","48px"],["src","assets/imgs/db/ActiveCampaign_logo.svg.png","alt","mailchimp logo",1,"mt-2",2,"width","120px","height","22px"],["src","assets/imgs/db/send-in-blue.svg","alt","SendINBlue logo",2,"width","120px","height","30px"],["src","assets/imgs/db/sendgrid.png","alt","SendGrid logo",2,"width","120px","height","30px"],["src","assets/imgs/db/Accelologo.png","alt","SendGrid logo",2,"width","90px","height","50px"],["src","assets/imgs/db/omnisend.png","alt","SendGrid logo",2,"width","90px","height","50px"],["src","assets/imgs/db/hubspot.png","alt","HubSpot logo",2,"width","120px","height","30px"],["src","assets/imgs/db/moosend-1.png","alt","Moosend logo",2,"width","120px","height","30px"],["src","assets/imgs/db/shopify.png","alt","Moosend logo",2,"width","120px","height","35px"],["class","sql",4,"ngIf"],["class","restApi",4,"ngIf"],["class","sendInBlue",4,"ngIf"],["class","mailChimp",4,"ngIf"],["class","salesforce",4,"ngIf"],["class","zendesk",4,"ngIf"],["class","zendesk_supp
1ort",4,"ngIf"],["class","mooSend",4,"ngIf"],["class","sendGrid",4,"ngIf"],["class","hubSpot",4,"ngIf"],["class","shopify",4,"ngIf"],[1,"sql"],[1,"float-left"],[1,"float-right","font-weight-bold","tx-15",3,"click"],[1,"fas","fa-chevron-left"],[1,"card-body","mt-3"],["responsiveLayout","scroll",3,"value"],["pTemplate","header"],["pTemplate","body"],[1,"restApi"],[3,"connectionDetailsKeys","connectionDetails","currentStep"],[3,"connectionDetails","currentStep"],[1,"sendInBlue"],[1,"col-md-6"],[1,"col-md-4"],[1,"col-md-8"],[1,"mailChimp"],[1,"salesforce"],[1,"zendesk"],[1,"zendesk_support"],[1,"mooSend"],[1,"sendGrid"],[1,"hubSpot"],[1,"shopify"],[1,"loading","col-md-12","mr-2"],["appearance","circle",3,"theme"],[1,"text-center"],[1,"modal-header"],["type","button","aria-label","Close",1,"btn-close","close","pull-right",3,"click"],["aria-hidden","true",1,"visually-hidden"],[1,"modal-body"],[1,"overflow-hidden"]],template:function(s,o){1&s&&(e.TgZ(0,"div",0),e.YNc(1,Ft,3,2,"div",1),e.YNc(2,Jt,7,8,"div",2),e.qZA(),e.YNc(3,Qt,7,1,"ng-template",null,3,e.W1O)),2&s&&(e.xp6(1),e.Q6J("ngIf",!o.isLoading),e.xp6(1),e.Q6J("ngIf",o.isLoading))},dependencies:[x.mk,x.sg,x.O5,w.xr,G.iA,Y.jx,ne.Hq,ie.H,de,ge,he,xe,ve,De,Se,Ie,Le,Ue,Fe,Qe],styles:[".customer-badge.status-stable[_ngcontent-%COMP%]{background-color:#c8e6c9;color:#256029}.customer-badge[_ngcontent-%COMP%]{border-radius:2px;padding:.25em .5rem;text-transform:uppercase;font-weight:700;font-size:12px;letter-spacing:.3px}.customer-badge.status-error[_ngcontent-%COMP%]{background-color:#ffcdd2;color:#c63737}.instock[_ngcontent-%COMP%]{font-weight:700;color:#66bb6a}.outofstock[_ngcontent-%COMP%]{font-weight:700;color:#ff5252;text-decoration:line-through}"]}),i})();var jt=f(26028);const Kt=["toggleDayleftdiv"],Yt=["customDaysInput"],Gt=["confirmTemplate"],Wt=["filePreview"],Ht=["panel"],zt=["workflowStageScroller"],Vt=["confirmDeleteTemplate"],Xt=["extendDays"],$t=["rejectRequest"],en=["userAuthenticationAlert"],tn=["duplicateRequestModal"];function nn(i,l){if(1&i&&(e.TgZ(0,"div",65)(1,"div",66),e._UZ(2,"span",67),e._uU(3," \xa0 Loading..."),e.qZA()()),2&i){const t=e.oxw();e.Q6J("ngStyle",t.cardposition())}}function sn(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"button",68),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.openDuplicateRequest())}),e._uU(1,"View duplicate"),e.qZA()}}function on(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"button",69),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.reOpenrequest())}),e._uU(1,"Reopen"),e.qZA()}}function ln(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"button",70),e.NdJ("click",function(){e.CHM(t);const s=e.oxw(),o=e.MAs(144);return e.KtG(s.openModalPopup(o,""))}),e.O4$(),e.TgZ(1,"svg",71),e._UZ(2,"polygon",72),e.qZA(),e.kcU(),e.TgZ(3,"span",73),e._uU(4," Edit"),e.qZA()()}}function rn(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"button",74),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.openExtendModal())}),e._uU(1,"Extend Days"),e.qZA()}}function an(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"button",74),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.openReqestRejectModal())}),e._uU(1,"Reject"),e.qZA()}}function cn(i,l){1&i&&e._UZ(0,"ngx-skeleton-loader",75)}function un(i,l){1&i&&e._UZ(0,"ngx-skeleton-loader",75)}function pn(i,l){1&i&&e._UZ(0,"ngx-skeleton-loader",75)}function dn(i,l){if(1&i&&(e.TgZ(0,"p",13),e._uU(1),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.hij(" ",t.getDueIn(t.respCreatedAt,t.respDaysLeft),"")}}function _n(i,l){if(1&i&&(e.TgZ(0,"p",13),e._uU(1),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.Oqu(t.getDueInForCompleted(t.respCompletedAt,t.respDaysLeft))}}function gn(i,l){1&i&&e._UZ(0,"ngx-skeleton-loader",75)}function mn(i,l){if(1&i&&(e.TgZ(0,"p",13),e._uU(1),e.ALo(2,"date"),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,t.respCreatedAt,"longDate"))}}function hn(i,l){1&i&&e._UZ(0,"ngx-skeleton-loader",75)}function fn(i,l){1&i&&e._UZ(0,"ngx-skeleton-loader",75)}function xn(i,l){1&i&&e._UZ(0,"ngx-skeleton-loader",75)}function Cn(i,l){1&i&&e._UZ(0,"ngx-skeleton-loader",75)}function vn(i,l){1&i&&e._UZ(0,"ngx-skeleton-loader",75)}function bn(i,l){1&i&&e._UZ(0,"ngx-skeleton-loader",75)}function qn(i,l){if(1&i&&(e.TgZ(0,"p",13),e._uU(1),e.ALo(2,"date"),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.hij(" ",e.xi3(2,1,t.getDeadLine(t.respCreatedAt,t.respDaysLeft),"longDate"),"")}}function Tn(i,l){1&i&&e._UZ(0,"ngx-skeleton-loader",75)}function Zn(i,l){1&i&&e._UZ(0,"ngx-skeleton-loader",75)}function Dn(i,l){1&i&&e._UZ(0,"ngx-skeleton-loader",75)}function yn(i,l){if(1&i&&(e.TgZ(0,"p",76),e._uU(1),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.hij("",t.currentPropertyName," ")}}function kn(i,l){1&i&&e._UZ(0,"ngx-skeleton-loader",77)}const An=function(i,l){return{"badge-danger":i,hide:l}};function On(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"span",85),e.NdJ("click",function(){e.CHM(t);const s=e.oxw(3);return e.KtG(s.verifyUserEmailID())}),e._uU(1," Resend Verification"),e.qZA()}if(2&i){const t=e.oxw(2).$implicit,n=e.oxw();e.Q6J("ngClass",e.WLB(1,An,n.isCustomFieldEmail(t.key,n.isEmailVerified),!n.isCustomFieldEmail(t.key,n.isEmailVerified)))}}const wn=function(i){return{"hide-pre-email":i}},Mn=function(i,l){return{"badge-success":i,hide:l}};function Sn(i,l){if(1&i&&(e.TgZ(0,"div",80)(1,"label",81),e._uU(2),e.YNc(3,On,2,4,"span",82),e.TgZ(4,"span",83),e._UZ(5,"i-feather",84),e._uU(6," Verified "),e.qZA()(),e.TgZ(7,"p",13),e._uU(8),e.qZA()()),2&i){const t=e.oxw().$implicit,n=e.oxw();e.Q6J("ngClass",e.VKq(5,wn,"Pre mail verification"===t.key)),e.xp6(2),e.hij("","Requestdetails"==t.key?"Request Details":t.key," "),e.xp6(1),e.Q6J("ngIf",n.isemailverificationRequired),e.xp6(1),e.Q6J("ngClass",e.WLB(7,Mn,n.isEmailIDVerified(t.key,n.isEmailVerified),!n.isEmailIDVerified(t.key,n.isEmailVerified))),e.xp6(4),e.Oqu(t.value)}}function Rn(i,l){if(1&i&&(e.TgZ(0,"div",32)(1,"label",81),e._uU(2),e.qZA(),e.TgZ(3,"p",13),e._uU(4),e.qZA()()),2&i){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(t.key),e.xp6(2),e.hij("",t.value," ")}}function In(i,l){if(1&i&&(e.TgZ(0,"div"),e.YNc(1,Sn,9,10,"div",78),e.YNc(2,Rn,5,2,"ng-template",null,79,e.W1O),e.qZA()),2&i){const t=l.$implicit;e.xp6(1),e.Q6J("ngIf","Email verified"!==t.key)}}function En(i,l){1&i&&(e.TgZ(0,"p"),e._uU(1,"No attachment found"),e.qZA())}const Ln=function(i,l){return{show:i,hide:l}};function Nn(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",86)(1,"label",81),e._uU(2," Attachments"),e.qZA(),e.TgZ(3,"p",87),e._UZ(4,"i-feather",88),e.TgZ(5,"a",89),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.viewClientRequestFileAttachment())}),e._uU(6),e.qZA()(),e.YNc(7,En,2,0,"p",90),e.qZA()}if(2&i){const t=e.oxw();e.xp6(3),e.Q6J("ngClass",e.WLB(3,Ln,t.isAttachmentExist,!t.isAttachmentExist)),e.xp6(3),e.Oqu(t.attachedfileName),e.xp6(1),e.Q6J("ngIf",!t.isAttachmentExist)}}function Un(i,l){1&i&&e._UZ(0,"ngx-skeleton-loader",77)}const Pn=function(i,l){return{completedStage:i,"":l}},se=function(i,l){return{" ":i,"":l}};function Fn(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"li")(1,"div",102,103),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(2);return e.KtG(r.stageSelection(o))}),e.TgZ(3,"a")(4,"span",104),e._uU(5),e.qZA(),e.TgZ(6,"span",87),e._uU(7),e.qZA()()(),e.ynx(8),e._uU(9),e.BQk(),e.qZA()}if(2&i){const t=l.$implicit,n=e.oxw(2);e.xp6(1),e.Q6J("ngClass",e.WLB(6,Pn,n.isStageCompleted(t),t.order<n.nextStage||t.order==n.nextStage)),e.xp6(3),e.Q6J("ngClass",e.WLB(9,se,n.currentStage==t.order&&!n.isPreviousStageExist(t),n.nextStage>n.currentStage)),e.xp6(1),e.Oqu(t.order),e.xp6(1),e.Q6J("ngClass",e.WLB(12,se,n.currentStage==t.order&&!n.isPreviousStageExist(t),n.nextStage>n.currentStage)),e.xp6(1),e.hij(" ",t.stage_title," "),e.xp6(2),e.Oqu(n.showStageTitleAndContent(t))}}function Jn(i,l){1&i&&(e.TgZ(0,"li"),e._uU(1," No stage record found "),e.qZA())}const oe=function(i){return{hidebtns:i}},Qn=function(i){return{"add-min-height":i}},Bn=function(i){return{transform:i}};function jn(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",91)(1,"div",92),e._uU(2,"Advance Status"),e.qZA(),e.TgZ(3,"button",93),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.onPreviousSearchPosition())}),e._UZ(4,"i",94),e.qZA(),e.TgZ(5,"div",95)(6,"div",96,97),e.YNc(8,Un,1,0,"ngx-skeleton-loader",35),e.TgZ(9,"ul",98,99),e.YNc(11,Fn,10,15,"li",36),e.YNc(12,Jn,2,0,"li",90),e.qZA()()(),e.TgZ(13,"button",100),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.onNextSearchPosition())}),e._UZ(14,"i",101),e.qZA()()}if(2&i){const t=e.oxw();e.xp6(3),e.Q6J("ngClass",e.VKq(7,oe,t.leftClickStatus())),e.xp6(2),e.Q6J("ngClass",e.VKq(9,Qn,0==t.workflowStages.length)),e.xp6(3),e.Q6J("ngIf",t.skeletonStageLoading&&0===t.workflowStages.length),e.xp6(1),e.Q6J("ngStyle",e.VKq(11,Bn,"translateX("+t.translateX+"px)")),e.xp6(2),e.Q6J("ngForOf",t.workflowStages),e.xp6(1),e.Q6J("ngIf",!t.skeletonStageLoading&&0===(null==t.workflowStages?null:t.workflowStages.length)),e.xp6(1),e.Q6J("ngClass",e.VKq(13,oe,t.rightArrowStatus))}}function Kn(i,l){if(1&i&&(e.TgZ(0,"div",124)(1,"p",125),e._uU(2),e.qZA()()),2&i){const t=l.$implicit;e.xp6(2),e.hij("",t.name," ")}}function Yn(i,l){1&i&&(e.TgZ(0,"div"),e._uU(1,"Activity cannot be empty, add your post."),e.qZA())}function Gn(i,l){if(1&i&&(e.TgZ(0,"div",126),e.YNc(1,Yn,2,0,"div",90),e.qZA()),2&i){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",null==t.addActivity.editor?null:t.addActivity.editor.errors.required)}}const U=function(i){return{"is-invalid":i}};function Wn(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"form",105),e.NdJ("ngSubmit",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.onSubmitActivityPost())}),e.TgZ(1,"div",106)(2,"div",107)(3,"div",108)(4,"div",109)(5,"input",110),e.NdJ("change",function(s){e.CHM(t);const o=e.oxw();return e.KtG(o.changeActivityType(s))}),e.qZA(),e.TgZ(6,"label",111),e._uU(7,"Private"),e.qZA()(),e.TgZ(8,"div",112)(9,"input",113),e.NdJ("change",function(s){e.CHM(t);const o=e.oxw();return e.KtG(o.changeActivityType(s))}),e.qZA(),e.TgZ(10,"label",114),e._uU(11,"Public"),e.qZA()()()(),e.TgZ(12,"div",115)(13,"div",116),e._UZ(14,"label",117),e.TgZ(15,"div",118)(16,"p-dropdown",119),e.NdJ("onChange",function(s){e.CHM(t);const o=e.oxw();return e.KtG(o.onChangeRequestType(s,2))}),e.YNc(17,Kn,3,1,"ng-template",120),e.qZA()()()()(),e.TgZ(18,"div")(19,"quill-editor",121),e.NdJ("ngModelChange",function(s){e.CHM(t);const o=e.oxw();return e.KtG(o.editorActivityPost=s)}),e.qZA()(),e.YNc(20,Gn,2,1,"div",122),e.TgZ(21,"button",123),e._uU(22,"Post"),e.qZA()()}if(2&i){const t=e.oxw();e.Q6J("formGroup",t.quillEditorText),e.xp6(16),e.Q6J("options",t.emailTemplates),e.xp6(3),e.Q6J("modules",t.quillConfig)("ngClass",e.VKq(6,U,t.isActivitysubmitted&&(null==t.addActivity.editor?null:t.addActivity.editor.errors)))("ngModel",t.editorActivityPost),e.xp6(1),e.Q6J("ngIf",t.isActivitysubmitted&&(null==t.addActivity.editor||null==t.addActivity.editor.errors?null:t.addActivity.editor.errors.required))}}function Hn(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"button",157),e.NdJ("click",function(){e.CHM(t);const s=e.oxw(2);return e.KtG(s.onClickCCBtn())}),e._uU(1,"Cc"),e.qZA()}}function zn(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"button",158),e.NdJ("click",function(){e.CHM(t);const s=e.oxw(2);return e.KtG(s.onClickBCCBtn())}),e._uU(1,"Bcc"),e.qZA()}}function Vn(i,l){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ",void 0!==t.user_email?t.user_email:t," ")}}function Xn(i,l){if(1&i&&(e.TgZ(0,"span",165),e._uU(1),e.qZA()),2&i){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ",t," ")}}const W=function(i,l){return{"remove-list-border":i,"":l}},H=function(i,l){return{hidecrossbtn:i,"":l}};function $n(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"li",87),e.YNc(1,Vn,2,1,"span",90),e.YNc(2,Xn,2,1,"span",163),e.TgZ(3,"button",164),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(3);return e.KtG(r.removeFromSelectedList(o,"to"))}),e._uU(4,"x"),e.qZA()()}if(2&i){const t=l.$implicit,n=e.oxw(3);e.Q6J("ngClass",e.WLB(4,W,"emailtext"==n.currentActiveMailbox,"emailtext"!==n.currentActiveMailbox)),e.xp6(1),e.Q6J("ngIf",void 0!==t.user_email||n.validateEmailAddress(t)),e.xp6(1),e.Q6J("ngIf",!n.validateEmailAddress(t)),e.xp6(1),e.Q6J("ngClass",e.WLB(7,H,"emailtext"==n.currentActiveMailbox,"emailtext"!==n.currentActiveMailbox))}}const z=function(i,l){return{hidecontrols:i,showcontrols:l}};function ei(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"ul"),e.YNc(1,$n,5,10,"li",159),e.TgZ(2,"li",160)(3,"div",161)(4,"input",162),e.NdJ("keyup",function(s){e.CHM(t);const o=e.oxw(2);return e.KtG(o.typeAndSearchEmailIDS(s,"to"))})("keydown",function(s){e.CHM(t);const o=e.oxw(2);return e.KtG(o.onPressEnterKey(s,"to"))})("mouseout",function(s){e.CHM(t);const o=e.oxw(2);return e.KtG(o.clickedTextBox(s,"to"))})("mousedown",function(s){e.CHM(t);const o=e.oxw(2);return e.KtG(o.typeAndSearchEmailIDS(s,"to"))}),e.qZA()()()()}if(2&i){const t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.selectedEmailIds),e.xp6(2),e.Q6J("ngClass",e.WLB(3,z,!t.isEmailTextboxEnable,t.isEmailTextboxEnable)),e.xp6(1),e.Q6J("readonly",1==t.activitytypeEmail)}}function ti(i,l){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const t=e.oxw(4);
1e.xp6(1),e.hij(" ",t.moreThanTwoEmails(t.selectedEmailIds),"")}}function ni(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",167),e.NdJ("click",function(){e.CHM(t);const s=e.oxw(3);return e.KtG(s.onClickToCcBcc("to"))}),e._uU(1),e.YNc(2,ti,2,1,"span",90),e.qZA()}if(2&i){const t=e.oxw(3);e.xp6(1),e.hij(" ",t.selectedEmailIds.length>1?t.selectedEmailIds[0]+","+t.selectedEmailIds[1]:t.selectedEmailIds[0]," "),e.xp6(1),e.Q6J("ngIf",t.selectedEmailIds.length>2)}}function ii(i,l){if(1&i&&e.YNc(0,ni,3,2,"div",166),2&i){const t=e.oxw(2);e.Q6J("ngIf",t.selectedEmailIds.length>0)}}const si=function(i){return{bottom:i}};function oi(i,l){if(1&i&&(e.TgZ(0,"div",168),e._uU(1," To field is mandatory! "),e.qZA()),2&i){const t=e.oxw(2);e.Q6J("ngStyle",e.VKq(1,si,!t.errorMsgTo||t.isCC||t.isBCC||t.inValidEmailAddress?t.errorMsgTo&&!t.isCC&&!t.isBCC&&t.inValidEmailAddress?"13px":t.errorMsgTo&&!t.isCC&&!t.isBCC&&t.inValidEmailAddress?"4px":t.errorMsgTo&&t.inValidEmailAddress?"13px":"3px":"0"))}}function li(i,l){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ",void 0!==t.user_email?t.user_email:t," ")}}function ri(i,l){if(1&i&&(e.TgZ(0,"span",165),e._uU(1),e.qZA()),2&i){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ",t," ")}}function ai(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"li",87),e.YNc(1,li,2,1,"span",90),e.YNc(2,ri,2,1,"span",163),e.TgZ(3,"button",164),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(3);return e.KtG(r.removeFromSelectedList(o,"cc"))}),e._uU(4,"x"),e.qZA()()}if(2&i){const t=l.$implicit,n=e.oxw(3);e.Q6J("ngClass",e.WLB(4,W,"emailtext"==n.currentActiveMailbox,"emailtext"!==n.currentActiveMailbox)),e.xp6(1),e.Q6J("ngIf",void 0!==t.user_email||n.validateEmailAddress(t)),e.xp6(1),e.Q6J("ngIf",!n.validateEmailAddress(t)),e.xp6(1),e.Q6J("ngClass",e.WLB(7,H,"emailtext"==n.currentActiveMailbox,"emailtext"!==n.currentActiveMailbox))}}function ci(i,l){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const t=e.oxw(5);e.xp6(1),e.hij(" ",t.moreThanTwoEmails(t.selectedCCEmailIds),"")}}function ui(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",167),e.NdJ("click",function(){e.CHM(t);const s=e.oxw(4);return e.KtG(s.onClickToCcBcc("bcc"))}),e._uU(1),e.YNc(2,ci,2,1,"span",90),e.qZA()}if(2&i){const t=e.oxw(4);e.xp6(1),e.hij(" ",t.selectedCCEmailIds.length>1?t.selectedCCEmailIds[0]+","+t.selectedCCEmailIds[1]:t.selectedCCEmailIds[0]," "),e.xp6(1),e.Q6J("ngIf",t.selectedCCEmailIds.length>2)}}function pi(i,l){if(1&i&&e.YNc(0,ui,3,2,"div",166),2&i){const t=e.oxw(3);e.Q6J("ngIf",t.selectedCCEmailIds.length>0)}}function di(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",169),e.NdJ("click",function(){e.CHM(t);const s=e.oxw(2);return e.KtG(s.onClickToCcBcc("cc"))}),e.TgZ(1,"span",138),e._uU(2,"Cc"),e.qZA(),e.TgZ(3,"div",140),e.NdJ("click",function(){e.CHM(t);const s=e.oxw(2);return e.KtG(s.onClickToCcBcc("cc"))}),e.TgZ(4,"ul"),e.YNc(5,ai,5,10,"li",159),e.TgZ(6,"li",170)(7,"div",161)(8,"input",171,172),e.NdJ("keyup",function(s){e.CHM(t);const o=e.oxw(2);return e.KtG(o.typeAndSearchEmailIDS(s,"cc"))})("keydown",function(s){e.CHM(t);const o=e.oxw(2);return e.KtG(o.onPressEnterKey(s,"cc"))})("mouseout",function(s){e.CHM(t);const o=e.oxw(2);return e.KtG(o.clickedTextBox(s,"cc"))})("mousedown",function(s){e.CHM(t);const o=e.oxw(2);return e.KtG(o.typeAndSearchEmailIDS(s,"cc"))}),e.qZA()()()(),e.YNc(10,pi,1,1,"ng-template",null,173,e.W1O),e.qZA()()}if(2&i){const t=e.oxw(2);e.xp6(5),e.Q6J("ngForOf",t.selectedCCEmailIds),e.xp6(2),e.Q6J("ngClass",e.WLB(2,z,!t.isEmailTextboxEnable,t.isEmailTextboxEnable))}}function _i(i,l){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ",void 0!==t.user_email?t.user_email:t," ")}}function gi(i,l){if(1&i&&(e.TgZ(0,"span",165),e._uU(1),e.qZA()),2&i){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ",t," ")}}function mi(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"li",87),e.YNc(1,_i,2,1,"span",90),e.YNc(2,gi,2,1,"span",163),e.TgZ(3,"button",164),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(3);return e.KtG(r.removeFromSelectedList(o,"bcc"))}),e._uU(4,"x"),e.qZA()()}if(2&i){const t=l.$implicit,n=e.oxw(3);e.Q6J("ngClass",e.WLB(4,W,"emailtext"==n.currentActiveMailbox,"emailtext"!==n.currentActiveMailbox)),e.xp6(1),e.Q6J("ngIf",void 0!==t.user_email||n.validateEmailAddress(t)),e.xp6(1),e.Q6J("ngIf",!n.validateEmailAddress(t)),e.xp6(1),e.Q6J("ngClass",e.WLB(7,H,"emailtext"==n.currentActiveMailbox,"emailtext"!==n.currentActiveMailbox))}}function hi(i,l){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const t=e.oxw(5);
1e.xp6(1),e.hij(" ",t.moreThanTwoEmails(t.selectedBCCEmailIds),"")}}function fi(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",167),e.NdJ("click",function(){e.CHM(t);const s=e.oxw(4);return e.KtG(s.onClickToCcBcc("bcc"))}),e._uU(1),e.YNc(2,hi,2,1,"span",90),e.qZA()}if(2&i){const t=e.oxw(4);e.xp6(1),e.hij(" ",t.selectedBCCEmailIds.length>1?t.selectedBCCEmailIds[0]+","+t.selectedBCCEmailIds[1]:t.selectedBCCEmailIds[0]," "),e.xp6(1),e.Q6J("ngIf",t.selectedBCCEmailIds.length>2)}}function xi(i,l){if(1&i&&e.YNc(0,fi,3,2,"div",166),2&i){const t=e.oxw(3);e.Q6J("ngIf",t.selectedBCCEmailIds.length>0)}}function Ci(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",174),e.NdJ("click",function(){e.CHM(t);const s=e.oxw(2);return e.KtG(s.onClickToCcBcc("bcc"))}),e.TgZ(1,"span",138),e._uU(2,"Bcc"),e.qZA(),e.TgZ(3,"div",140),e.NdJ("click",function(){e.CHM(t);const s=e.oxw(2);return e.KtG(s.onClickToCcBcc("bcc"))}),e.TgZ(4,"ul"),e.YNc(5,mi,5,10,"li",159),e.TgZ(6,"li",170)(7,"div",161)(8,"input",175,176),e.NdJ("keyup",function(s){e.CHM(t);const o=e.oxw(2);return e.KtG(o.typeAndSearchEmailIDS(s,"bcc"))})("keydown",function(s){e.CHM(t);const o=e.oxw(2);return e.KtG(o.onPressEnterKey(s,"bcc"))})("mouseout",function(s){e.CHM(t);const o=e.oxw(2);return e.KtG(o.clickedTextBox(s,"bcc"))})("mousedown",function(s){e.CHM(t);const o=e.oxw(2);return e.KtG(o.typeAndSearchEmailIDS(s,"bcc"))}),e.qZA()()()(),e.YNc(10,xi,1,1,"ng-template",null,177,e.W1O),e.qZA()()}if(2&i){const t=e.oxw(2);e.xp6(5),e.Q6J("ngForOf",t.selectedBCCEmailIds),e.xp6(2),e.Q6J("ngClass",e.WLB(2,z,!t.isEmailTextboxEnable,t.isEmailTextboxEnable))}}function vi(i,l){1&i&&(e.TgZ(0,"span",181),e._UZ(1,"i",182),e.qZA())}const bi=function(i){return{"email-selected-state":i}};function qi(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"li")(1,"div",164),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(3);return e.KtG(r.isEmailAlreadySelected(o)?"":r.onSelectemail(o,"to"==r.currentActiveMailbox?"to":"cc"==r.currentActiveMailbox?"cc":"bcc"))}),e.TgZ(2,"div",179)(3,"span"),e._uU(4),e.qZA(),e.TgZ(5,"span"),e._uU(6),e.qZA()(),e.YNc(7,vi,2,0,"span",180),e.qZA()()}if(2&i){const t=l.$implicit,n=e.oxw(3);e.xp6(1),e.Q6J("ngClass",e.VKq(4,bi,n.isEmailAlreadySelected(t))),e.xp6(3),e.Oqu(void 0!==t.user_email?t.user_email:t),e.xp6(2),e.Oqu(t.user_name),e.xp6(1),e.Q6J("ngIf",n.isEmailAlreadySelected(t))}}function Ti(i,l){if(1&i&&(e.TgZ(0,"div",178)(1,"div")(2,"ul"),e.YNc(3,qi,8,6,"li",36),e.qZA()()()),2&i){const t=e.oxw(2);e.Q6J("ngStyle",t.addTopPostionStyle),e.xp6(3),e.Q6J("ngForOf",t.userEmailList)}}function Zi(i,l){1&i&&(e.TgZ(0,"div",183),e._uU(1,"Duplicate email address not allowed!"),e.qZA())}function Di(i,l){1&i&&(e.TgZ(0,"div",183),e._uU(1,"Enter valid email address!"),e.qZA())}function yi(i,l){if(1&i&&(e.TgZ(0,"div",124)(1,"p",125),e._uU(2),e.qZA()()),2&i){const t=l.$implicit;e.xp6(2),e.hij("",t.name," ")}}function ki(i,l){1&i&&(e.TgZ(0,"div"),e._uU(1,"Message cannot be empty, add your message."),e.qZA())}function Ai(i,l){if(1&i&&(e.TgZ(0,"div",126),e.YNc(1,ki,2,0,"div",90),e.qZA()),2&i){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",null==t.addEmailPost.editorEmailMessage?null:t.addEmailPost.editorEmailMessage.errors.required)}}const Oi=function(i){return{"padding-bottom":i}};function wi(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"form",127),e.NdJ("ngSubmit",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.onSubmitEmailPost())}),e.TgZ(1,"div",128)(2,"div",129),e._UZ(3,"label",117),e.qZA()(),e.TgZ(4,"div",106)(5,"div",130)(6,"div",108)(7,"div",109)(8,"input",131),e.NdJ("change",function(s){e.CHM(t);const o=e.oxw();return e.KtG(o.changeActivityType(s,"email"))}),e.qZA(),e.TgZ(9,"label",111),e._uU(10,"Private"),e.qZA()(),e.TgZ(11,"div",112)(12,"input",132),e.NdJ("change",function(s){e.CHM(t);const o=e.oxw();return e.KtG(o.changeActivityType(s,"email"))}),e.qZA(),e.TgZ(13,"label",114),e._uU(14,"Public"),e.qZA()()()()(),e.TgZ(15,"div",133)(16,"div",134),e.YNc(17,Hn,2,0,"button",135),e.YNc(18,zn,2,0,"button",136),e.qZA(),e.TgZ(19,"div",137),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.onClickToCcBcc("to"))}),e.TgZ(20,"span",138),e._uU(21,"To"),e.TgZ(22,"sup",139),e._uU(23,"*"),e.qZA()(),e.TgZ(24,"div",140),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.onClickToCcBcc("to"))}),e.YNc(25,ei,5,6,"ul",141),e.YNc(26,ii,1,1,"ng-template",null,142,e.W1O),e.qZA(),e.YNc(28,oi,2,3,"div",143),e.qZA(),e.YNc(29,di,12,5,"div",144),e.YNc(30,Ci,12,5,"div",145),e.YNc(31,Ti,4,2,"div",146),e.YNc(32,Zi,2,0,"div",147),e.YNc(33,Di,2,0,"div",147),e.qZA(),e.TgZ(34,"div")(35,"div",129),e._UZ(36,"label",117),e.TgZ(37,"div",118)(38,"p-dropdown",119),e.NdJ("onChange",function(s){e.CHM(t);const o=e.oxw();return e.KtG(o.onChangeRequestType(s))}),e.YNc(39,yi,3,1,"ng-template",120),e.qZA()()(),e.TgZ(40,"quill-editor",148),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.onClickEditorEmailMessage())}),e.qZA()(),e.YNc(41,Ai,2,1,"div",122),e.TgZ(42,"div",149)(43,"div",150)(44,"label",151),e._uU(45,"Attach file"),e.qZA(),e.TgZ(46,"div",152)(47,"div",153)(48,"input",154),e.NdJ("change",function(s){e.CHM(t);const o=e.oxw();return e.KtG(o.uploadFile(s,"email"))}),e.qZA(),e.TgZ(49,"label",155)(50,"span",156),e._uU(51),e.qZA()()()()(),e.TgZ(52,"button",123),e._uU(53,"Send "),e.qZA()()()}if(2&i){const t=e.MAs(27),n=e.oxw();e.Q6J("formGroup",n.quillEditorEmailText),e.xp6(8),e.Q6J("checked",0==n.activitytypeEmail),e.xp6(4),e.Q6J("checked",1==n.activitytypeEmail),e.xp6(3),e.Q6J("ngStyle",e.VKq(19,Oi,n.errorMsgTo&&n.inValidEmailAddress?"20px":!n.errorMsgTo||n.isCC||n.isBCC?n.errorMsgTo&&!n.inValidEmailAddress?"15px":n.errorMsgTo?"25px":n.inValidEmailAddress||n.duplicateEmailMsg?"10px":"":"10px")),e.xp6(2),e.Q6J("ngIf",1!=n.activitytypeEmail),e.xp6(1),e.Q6J("ngIf",1!=n.activitytypeEmail),e.xp6(7),e.Q6J("ngIf",0==n.activitytypeEmail)("ngIfElse",t),e.xp6(3),e.Q6J("ngIf",n.errorMsgTo),e.xp6(1),e.Q6J("ngIf",n.isCC&&1!=n.activitytypeEmail),e.xp6(1),e.Q6J("ngIf",n.isBCC&&1!=n.activitytypeEmail),e.xp6(1),e.Q6J("ngIf","emailtext"!==n.currentActiveMailbox&&!n.isClosebtnClick&&void 0!==n.userEmailList&&n.userEmailList.length>0),e.xp6(1),e.Q6J("ngIf",n.duplicateEmailMsg),e.xp6(1),e.Q6J("ngIf",n.inValidEmailAddress),e.xp6(
15),e.Q6J("options",n.emailTemplates),e.xp6(2),e.Q6J("modules",n.quillConfig)("ngClass",e.VKq(21,U,n.isEmailPostsubmitted&&(null==n.addEmailPost.editorEmailMessage?null:n.addEmailPost.editorEmailMessage.errors))),e.xp6(1),e.Q6J("ngIf",n.isEmailPostsubmitted&&(null==n.addEmailPost.editorEmailMessage?null:n.addEmailPost.editorEmailMessage.errors)),e.xp6(10),e.Oqu(n.uploadFilename?n.uploadFilename:"Choose file")}}function Mi(i,l){1&i&&(e.TgZ(0,"span",190),e._uU(1,"*"),e.qZA())}const Si=function(i,l){return{"badge-success":i,"badge-warning":l}};function Ri(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"tr")(1,"td")(2,"div",186),e.YNc(3,Mi,2,0,"span",187),e.TgZ(4,"a",5),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(2),p=e.MAs(154);return e.KtG(r.openResponseModalPopup(p,o))}),e._uU(5),e.qZA()()(),e.TgZ(6,"td"),e._UZ(7,"span",42),e.ALo(8,"safe"),e.qZA(),e.TgZ(9,"td")(10,"span",83),e._uU(11),e.qZA()(),e.TgZ(12,"td"),e._UZ(13,"span",42),e.ALo(14,"safe"),e.qZA(),e.TgZ(15,"td"),e._uU(16),e.ALo(17,"date"),e.qZA(),e.TgZ(18,"td"),e._uU(19),e.ALo(20,"date"),e.qZA(),e.TgZ(21,"td")(22,"a",188),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(2),p=e.MAs(152);return e.KtG(r.openModalPopup(p,o))}),e._UZ(23,"i",189),e._uU(24," Edit "),e.qZA()()()}if(2&i){const t=l.$implicit,n=e.oxw(2);e.xp6(3),e.Q6J("ngIf",t.required),e.xp6(2),e.Oqu(t.name),e.xp6(2),e.Q6J("innerHTML",e.xi3(8,8,n.getStagename(t.workflow_stage),"html"),e.oJD),e.xp6(3),e.Q6J("ngClass",e.WLB(20,Si,t.mark_completed,!t.mark_completed)),e.xp6(1),e.hij(" ",t.mark_completed?"Completed":"Assigned",""),e.xp6(2),e.Q6J("innerHTML",e.xi3(14,11,n.displayApproverName(t.assignee),"html"),e.oJD),e.xp6(3),e.hij(" ",e.xi3(17,14,t.deadline,"MM-dd-yyyy")," "),e.xp6(3),e.Oqu(e.xi3(20,17,t.reminder,"MM-dd-yyyy"))}}function Ii(i,l){1&i&&(e.TgZ(0,"tr")(1,"td",191),e._uU(2,"No record found."),e.qZA()())}function Ei(i,l){if(1&i&&(e.TgZ(0,"table",184)(1,"thead",185)(2,"tr")(3,"th"),e._uU(4,"Task"),e.qZA(),e.TgZ(5,"th"),e._uU(6,"Stage"),e.qZA(),e.TgZ(7,"th"),e._uU(8,"Status"),e.qZA(),e.TgZ(9,"th"),e._uU(10,"Assignee"),e.qZA(),e.TgZ(11,"th"),e._uU(12,"Deadline"),e.qZA(),e.TgZ(13,"th"),e._uU(14,"Reminder"),e.qZA(),e.TgZ(15,"th"),e._uU(16,"Action"),e.qZA()()(),e.TgZ(17,"tbody"),e.YNc(18,Ri,25,23,"tr",36),e.YNc(19,Ii,3,0,"tr",90),e.qZA()()),2&i){const t=e.oxw();e.xp6(18),e.Q6J("ngForOf",t.subTaskListResponse),e.xp6(1),e.Q6J("ngIf",0===t.subTaskListResponse.length)}}function Li(i,l){if(1&i&&e._UZ(0,"app-dsar-connection-list",192),2&i){const t=e.oxw();e.Q6J("formID",t.formID)("requestID",t.requestID)}}function Ni(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"button",193),e.NdJ("click",function(){e.CHM(t);const s=e.oxw(),o=e.MAs(152);return e.KtG(s.openModalPopup(o,""))}),e._uU(1," Subtask "),e.qZA()}if(2&i){const t=e.oxw();e.Q6J("disabled","Rejected"===t.currentWorkflowStage)}}function Ui(i,l){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"date"),e.qZA()),2&i){const t=e.oxw(2).$implicit;e.xp6(1),e.hij(" ",e.xi3(2,1,t.created_at,"mediumDate")," ")}}function Pi(i,l){if(1&i&&(e.TgZ(0,"span",208),e._uU(1),e.qZA()),2&i){const t=e.oxw(2).$implicit,n=e.oxw(2);e.xp6(1),e.Oqu(n.nameInitials(t.internal_firstname,t.internal_lastname))}}function Fi(i,l){if(1&i&&(e.TgZ(0,"span",208),e._uU(1),e.qZA()),2&i){const t=e.oxw(2).$implicit,n=e.oxw(2);e.xp6(1),e.Oqu(n.nameInitials(t.public_firstname,t.public_lastname))}}function Ji(i,l){if(1&i&&(e.TgZ(0,"strong"),e._uU(1),e.qZA()),2&i){const t=e.oxw(2).$implicit;e.xp6(1),e.AsE(" ",t.internal_firstname," ",t.internal_lastname,"")}}function Qi(i,l){if(1&i&&(e.TgZ(0,"strong"),e._uU(1),e.qZA()),2&i){const t=e.oxw(2).$implicit;e.xp6(1),e.AsE(" ",t.public_firstname," ",t.public_lastname,"")}}function Bi(i,l){if(1&i&&(e.TgZ(0,"strong"),e._uU(1),e.qZA()),2&i){const t=e.oxw(3).$implicit;e.xp6(1),e.AsE(" ",t.internal_firstname," ",t.internal_lastname,"")}}function ji(i,l){if(1&i&&(e.TgZ(0,"strong"),e._uU(1),e.qZA()),2&i){const t=e.oxw(3).$implicit;e.xp6(1),e.AsE(" ",t.public_firstname," ",t.public_lastname,"")}}function Ki(i,l){if(1&i&&(e.TgZ(0,"p",203),e.YNc(1,Bi,2,2,"strong",90),e.YNc(2,ji,2,2,"strong",90),e._uU(3," change status from "),e.TgZ(4,"strong"),e._uU(5),e.qZA(),e._uU(6," to "),e.TgZ(7,"strong"),e._uU(8),e.qZA(),e._uU(9," at "),e.TgZ(10,"small",204),e._uU(11),e.ALo(12,"date"),e.qZA()()),2&i){const t=e.oxw(2).$implicit;e.xp6(1),e.Q6J("ngIf",null!==t.internal_firstname||null!==t.internal_lastname),e.xp6(1),e.Q6J("ngIf",null!==t.public_firstname||null!==t.public_lastname),e.xp6(3),e.Oqu(t.previous_status),e.xp6(3),e.Oqu(t.current_status),e.xp6(3),e.Oqu(e.xi3(12,5,t.created_at,"mediumTime"))}}function Yi(i,l){if(1&i&&(e.TgZ(0,"strong"),e._uU(1),e.qZA()),2&i){const t=e.oxw(3).$implicit;e.xp6(1),e.AsE(" ",t.internal_firstname," ",t.internal_lastname,"")}}function Gi(i,l){if(1&i&&(e.TgZ(0,"strong"),e._uU(1),e.qZA()),2&i){const t=e.oxw(3).$implicit;e.xp6(1),e.AsE(" ",t.public_firstname," ",t.public_lastname,"")}}function Wi(i,l){if(1&i&&(e.TgZ(0,"p",203),e.YNc(1,Yi,2,2,"strong",90),e.YNc(2,Gi,2,2,"strong",90),e._uU(3," selected stage "),e.TgZ(4,"strong"),e._uU(5),e.qZA(),e._uU(6," at "),e.TgZ(7,"small",204),e._uU(8),e.ALo(9,"date"),e.qZA()()),2&i){const t=e.oxw(2).$implicit;e.xp6(1),e.Q6J("ngIf",null!==t.internal_firstname||null!==t.internal_lastname),e.xp6(1),e.Q6J("ngIf",null!==t.public_firstname||null!==t.public_lastname),e.xp6(3),e.Oqu(t.current_status),e.xp6(3),e.Oqu(e.xi3(9,4,t.created_at,"mediumTime"))}}function Hi(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div")(1,"button",209),e.NdJ("click",function(){e.CHM(t);const s=e.oxw(2).$implicit,o=e.oxw(2);return e.KtG(o.viewClientAttachedFile(s.id))}),e._UZ(2,"i-feather",210),e._uU(3),e.qZA()()}if(2&i){const t=e.oxw(2).$implicit;e.xp6(3),e.hij(" ",t.upload_exist," ")}}const zi=function(i,l){return{rejectedstatus:i,"":l}};function Vi(i,l){if(1&i&&(e.TgZ(0,"div",211),e._uU(1),e.qZA()),2&i){const t=e.oxw(2).$implicit;e.s9C("tooltip",t.current_status),e.Q6J("ngClass",e.WLB(3,zi,"Rejected"==t.current_status,"Rejected"!==t.current_status)),e.xp6(1),e.Oqu(t.current_status)}}function Xi(i,l){if(1&i&&(e.TgZ(0,"div",196)(1,"div",197),e.YNc(2,Ui,3,4,"span",90),e.ALo(3,"date"),e.ALo(4,"date"),e.qZA(),e.TgZ(5,"div",198)(6,"div",199)(7,"div",200),e.YNc(8,Pi,2,1,"span",201),e.YNc(9,Fi,2,1,"span",201),e.qZA(),e.TgZ(10,"div",202)(11,"p",203),e.YNc(12,Ji,2,2,"strong",90),e.YNc(13,Qi,2,2,"strong",90),e._uU(14," posted feedback at "),e.TgZ(15,"small",204),e._uU(16),e.ALo(17,"date"),e.qZA()(),e._UZ(18,"div",205),e.ALo(19,"safe"),e.YNc(20,Ki,13,8,"p",206),e.YNc(21,Wi,10,7,"p",206),e.qZA()(),e.YNc(22,Hi,4,1,"div",90),e.YNc(23,Vi,2,6,"div",207),e.qZA()()),2&i){const t=e.oxw(),n=t.index,s=t.$implicit,o=e.oxw(2);
1e.xp6(2),e.Q6J("ngIf",!n||e.xi3(3,11,s.created_at,"shortDate")!==e.xi3(4,14,o.activityLog[n-1].created_at,"shortDate")),e.xp6(6),e.Q6J("ngIf",null!==s.internal_firstname||null!==s.internal_lastname),e.xp6(1),e.Q6J("ngIf",null!==s.public_firstname||null!==s.public_lastname),e.xp6(3),e.Q6J("ngIf",null!==s.internal_firstname||null!==s.internal_lastname),e.xp6(1),e.Q6J("ngIf",null!==s.public_firstname||null!==s.public_lastname),e.xp6(3),e.hij(" ",e.xi3(17,17,s.created_at,"mediumTime"),""),e.xp6(2),e.Q6J("innerHTML",e.xi3(19,20,s.activity_feedback,"html"),e.oJD),e.xp6(2),e.Q6J("ngIf",s.previous_status&&""===s.activity_feedback),e.xp6(1),e.Q6J("ngIf",null===s.previous_status&&""===s.activity_feedback),e.xp6(1),e.Q6J("ngIf",s.upload_exist),e.xp6(1),e.Q6J("ngIf","mail_verification"!=s.activity_type)}}function $i(i,l){if(1&i&&(e.TgZ(0,"li"),e.YNc(1,Xi,24,23,"div",195),e.qZA()),2&i){const t=l.$implicit;e.xp6(1),e.Q6J("ngIf","submit"!==t.activity_feedback)}}function es(i,l){if(1&i&&(e.TgZ(0,"div",194)(1,"ul"),e.YNc(2,$i,2,1,"li",36),e.qZA()()),2&i){const t=e.oxw();e.xp6(2),e.Q6J("ngForOf",t.activityLog)}}function ts(i,l){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"date"),e.qZA()),2&i){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ",e.xi3(2,1,t.created_at,"longDate")," ")}}function ns(i,l){if(1&i&&(e.TgZ(0,"span",14)(1,"strong"),e._uU(2,"To:"),e.qZA(),e._uU(3,"\xa0"),e.TgZ(4,"span",217),e._uU(5),e.qZA()()),2&i){const t=e.oxw(2).$implicit,n=e.oxw(2);e.xp6(5),e.Oqu(n.removeBracesFromString(t.to))}}function is(i,l){if(1&i&&(e.TgZ(0,"span",14)(1,"strong"),e._uU(2,"Cc:"),e.qZA(),e._uU(3,"\xa0"),e.TgZ(4,"span",217),e._uU(5),e.qZA()()),2&i){const t=e.oxw(2).$implicit,n=e.oxw(2);e.xp6(5),e.Oqu(n.removeBracesFromString(t.cc))}}function ss(i,l){if(1&i&&(e.TgZ(0,"span",14)(1,"strong"),e._uU(2,"Bcc:"),e.qZA(),e._uU(3,"\xa0"),e.TgZ(4,"span",217),e._uU(5),e.qZA()()),2&i){const t=e.oxw(2).$implicit,n=e.oxw(2);e.xp6(5),e.Oqu(n.removeBracesFromString(t.bcc))}}function os(i,l){if(1&i&&(e.TgZ(0,"span",215),e.YNc(1,ns,6,1,"span",216),e.YNc(2,is,6,1,"span",216),e.YNc(3,ss,6,1,"span",216),e.qZA()),2&i){const t=e.oxw().$implicit;e.xp6(1),e.Q6J("ngIf",null!==t.to),e.xp6(1),e.Q6J("ngIf",null!==t.cc),e.xp6(1),e.Q6J("ngIf",null!==t.bcc)}}function ls(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div")(1,"button",218),e.NdJ("click",function(){e.CHM(t);const s=e.oxw().$implicit,o=e.oxw(2);return e.KtG(o.viewClientsEmailAttachment(s.id))}),e._UZ(2,"i-feather",210),e._uU(3),e.qZA()()}if(2&i){const t=e.oxw().$implicit;e.xp6(3),e.hij(" ",t.upload_ext," ")}}function rs(i,l){if(1&i&&(e.TgZ(0,"div",219),e._uU(1),e.qZA()),2&i){const t=e.oxw().$implicit;e.s9C("tooltip",t.current_status),e.xp6(1),e.Oqu(t.current_status)}}function as(i,l){if(1&i&&(e.TgZ(0,"li")(1,"div",196)(2,"div",197),e.YNc(3,ts,3,4,"span",90),e.ALo(4,"date"),e.ALo(5,"date"),e.qZA(),e.TgZ(6,"div",198)(7,"div",212)(8,"div",200)(9,"span",208),e._uU(10),e.qZA()(),e.TgZ(11,"div",202)(12,"p",203)(13,"strong"),e._uU(14),e.qZA(),e._uU(15," posted feedback at "),e.TgZ(16,"small",204),e._uU(17),e.ALo(18,"date"),e.qZA(),e.YNc(19,os,4,3,"span",213),e.qZA(),e._UZ(20,"div",205),e.ALo(21,"safe"),e.qZA()(),e.YNc(22,ls,4,1,"div",90),e.YNc(23,rs,2,2,"div",214),e.qZA()()()),2&i){const t=l.$implicit,n=l.index,s=e.oxw(2);e.xp6(3),e.Q6J("ngIf",!n||e.xi3(4,9,t.created_at,"longDate")!==e.xi3(5,12,s.emailLog[n-1].created_at,"longDate")),e.xp6(7),e.Oqu(s.nameInitials(t.user_firstname,t.user_lastname)),e.xp6(4),e.AsE(" ",t.user_firstname," ",t.user_lastname,""),e.xp6(3),e.Oqu(e.xi3(18,15,t.created_at,"mediumTime")),e.xp6(2),e.Q6J("ngIf",null!==t.to||null!==t.cc||null!==t.bcc),e.xp6(1),e.Q6J("innerHTML",e.xi3(21,18,t.email_body,"html"),e.oJD),e.xp6(2),e.Q6J("ngIf",t.upload_ext),e.xp6(1),e.Q6J("ngIf","mail_verification"!=t.activity_type)}}function cs(i,l){if(1&i&&(e.TgZ(0,"div",194)(1,"ul"),e.YNc(2,as,24,21,"li",36),e.qZA()()),2&i){const t=e.oxw();e.xp6(2),e.Q6J("ngForOf",t.emailLog)}}function us(i,l){1&i&&(e.TgZ(0,"div"),e._uU(1,"Request accepting agent is required"),e.qZA())}function ps(i,l){if(1&i&&(e.TgZ(0,"div",243),e.YNc(1,us,2,0,"div",90),e.qZA()),2&i){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.editRequest.requestacceptingagent.errors.required)}}function ds(i,l){if(1&i&&(e.ynx(0),e.TgZ(1,"option",244),e._uU(2),e.qZA(),e.BQk()),2&i){const t=l.$implicit;e.xp6(1),e.Q6J("value",t.value),e.xp6(1),e.hij(" ",t.value," ")}}function _s(i,l){1&i&&(e.TgZ(0,"div"),e._uU(1,"risk factor is required"),e.qZA())}function gs(i,l){if(1&i&&(e.TgZ(0,"div",243),e.YNc(1,_s,2,0,"div",90),e.qZA()),2&i){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.editRequest.riskfactor.errors.required)}}function ms(i,l){if(1&i&&(e.ynx(0),e.TgZ(1,"option",245),e._uU(2),e.qZA(),e.BQk()),2&i){const t=l.$implicit,n=e.oxw(2);e.xp6(1),e.Q6J("value",t.approver_id)("selected",t.approver_id===n.selectedApprover),e.xp6(1),e.hij(" ",t.user_name," ")}}function hs(i,l){1&i&&(e.TgZ(0,"div"),e._uU(1,"Approver is required"),e.qZA())}function fs(i,l){if(1&i&&(e.TgZ(0,"div"),e.YNc(1,hs,2,0,"div",90),e.qZA()),2&i){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.editRequest.approver.errors.required)}}function xs(i,l){1&i&&(e.TgZ(0,"div"),e._uU(1,"Country is required"),e.qZA())}function Cs(i,l){1&i&&(e.TgZ(0,"div"),e._uU(1,"Country allows only alphabets"),e.qZA())}function vs(i,l){if(1&i&&(e.TgZ(0,"div",243),e.YNc(1,xs,2,0,"div",90),e.YNc(2,Cs,2,0,"div",90),e.qZA()),2&i){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.editRequest.country.errors.required),e.xp6(1),e.Q6J("ngIf",t.editRequest.country.errors.pattern)}}function bs(i,l){1&i&&(e.TgZ(0,"div"),e._uU(1,"State is required"),e.qZA())}function qs(i,l){1&i&&(e.TgZ(0,"div"),e._uU(1,"State allows only alphabets"),e.qZA())}function Ts(i,l){if(1&i&&(e.TgZ(0,"div",243),e.YNc(1,bs,2,0,"div",90),e.YNc(2,qs,2,0,"div",90),e.qZA()),2&i){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.editRequest.state.errors.required),e.xp6(1),e.Q6J("ngIf",t.editRequest.state.errors.pattern)}}function Zs(i,l){1&i&&(e.TgZ(0,"div"),e._uU(1,"City is required"),e.qZA())}function Ds(i,l){1&i&&(e.TgZ(0,"div"),e._uU(1,"City allows only alphabets"),e.qZA())}function ys(i,l){if(1&i&&(e.TgZ(0,"div",243),e.YNc(1,Zs,2,0,"div",90),e.YNc(2,Ds,2,0,"div",90),e.qZA()),2&i){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.editRequest.city.errors.required),e.xp6(1),e.Q6J("ngIf",t.editRequest.city.errors.pattern)}}function ks(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",220)(1,"h4",221),e._uU(2,"Update Request Details"),e.qZA(),e.TgZ(3,"button",222),e.NdJ("click",function(){const o=e.CHM(t).$implicit;return e.KtG(o.dismiss("Close Clicked"))}),e.TgZ(4,"span",223),e._uU(5,"\xd7"),e.qZA()()(),e.TgZ(6,"form",224),e.NdJ("ngSubmit",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.updateRequestDetails())}),e.TgZ(7,"div",225)(8,"div",106)(9,"div",226)(10,"div",227)(11,"label",228),e._uU(12,"Request accepting agent"),e._UZ(13,"i",229),e.qZA(),e._UZ(14,"input",230),e.YNc(15,ps,2,1,"div",231),e.qZA()()(),e.TgZ(16,"div",106)(17,"div",232)(18,"label",233),e._uU(19," Select Risk factor"),e._UZ(20,"i",229),e.qZA(),e.TgZ(21,"select",234),e.YNc(22,ds,3,2,"ng-container",36),e.qZA(),e.YNc(23,gs,2,1,"div",231),e.qZA()(),e.TgZ(24,"div",106)(25,"div",226)(26,"label",235),e._uU(27," Select Approver"),e._UZ(28,"i",229),e.qZA(),e.TgZ(29,"select",236),e.YNc(30,ms,3,3,"ng-container",36),e.qZA(),e.YNc(31,fs,2,1,"div",90),e.qZA()(),e.TgZ(32,"div",106)(33,"div",226)(34,"label",235),e._uU(35," Country"),e._UZ(36,"i",229),e.qZA(),e.TgZ(37,"input",237),e.NdJ("typeaheadOnSelect",function(s){e.CHM(t);const o=e.oxw();return e.KtG(o.onSelectCountry(s))}),e.qZA(),e.YNc(38,vs,3,2,"div",231),e.qZA()(),e.TgZ(39,"div",106)(40,"div",226)(41,"label",235),e._uU(42," Select State"),e._UZ(43,"i",229),e.qZA(),e._UZ(44,"input",238),e.YNc(45,Ts,3,2,"div",231),e.qZA()(),e.TgZ(46,"div",106)(47,"div",226)(48,"label",235),e._uU(49," City"),e._UZ(50,"i",229),e.qZA(),e._UZ(51,"input",239),e.YNc(52,ys,3,2,"div",231),e.qZA()()(),e.TgZ(53,"div",240)(54,"button",241),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.onCancelClick())}),e._uU(55,"Cancel"),e.qZA(),e.TgZ(56,"button",242),e._uU(57,"Save"),e.qZA()()()}if(2&i){const t=e.oxw();e.xp6(6),e.Q6J("formGroup",t.editRequestDetailForm),e.xp6(8),e.Q6J("ngClass",e.VKq(21,U,t.editRequestDetailForm.controls.requestacceptingagent.invali
1d&&(t.editRequestDetailForm.controls.requestacceptingagent.dirty||t.editRequestDetailForm.controls.requestacceptingagent.touched)||t.isRequestDetailFormsubmit&&t.editRequest.requestacceptingagent.errors)),e.xp6(1),e.Q6J("ngIf",t.editRequestDetailForm.controls.requestacceptingagent.invalid&&(t.editRequestDetailForm.controls.requestacceptingagent.dirty||t.editRequestDetailForm.controls.requestacceptingagent.touched)||t.isRequestDetailFormsubmit&&t.editRequest.requestacceptingagent.errors),e.xp6(6),e.Q6J("ngClass",e.VKq(23,U,t.editRequestDetailForm.controls.riskfactor.invalid&&(t.editRequestDetailForm.controls.riskfactor.dirty||t.editRequestDetailForm.controls.riskfactor.touched)||t.isRequestDetailFormsubmit&&t.editRequest.riskfactor.errors)),e.xp6(1),e.Q6J("ngForOf",t.riskFactorList),e.xp6(1),e.Q6J("ngIf",t.editRequestDetailForm.controls.riskfactor.invalid&&(t.editRequestDetailForm.controls.riskfactor.dirty||t.editRequestDetailForm.controls.riskfactor.touched)||t.isRequestDetailFormsubmit&&t.editRequest.riskfactor.errors),e.xp6(6),e.Q6J("ngClass",e.VKq(25,U,t.editRequestDetailForm.controls.approver.invalid&&(t.editRequestDetailForm.controls.approver.dirty||t.editRequestDetailForm.controls.approver.touched)||t.isRequestDetailFormsubmit&&t.editRequest.approver.errors)),e.xp6(1),e.Q6J("ngForOf",t.ApproverList),e.xp6(1),e.Q6J("ngIf",t.editRequestDetailForm.controls.approver.invalid&&(t.editRequestDetailForm.controls.approver.dirty||t.editRequestDetailForm.controls.approver.touched)||t.isRequestDetailFormsubmit&&t.editRequest.approver.errors),e.xp6(6),e.Q6J("typeahead",t.countryList)("typeaheadScrollable",!0)("typeaheadOptionsInScrollableView",5)("ngClass",e.VKq(27,U,t.editRequestDetailForm.controls.country.invalid&&(t.editRequestDetailForm.controls.country.dirty||t.editRequestDetailForm.controls.country.touched)||t.isRequestDetailFormsubmit&&t.editRequest.country.errors)),e.xp6(1),e.Q6J("ngIf",t.editRequestDetailForm.controls.country.invalid&&(t.editRequestDetailForm.controls.country.dirty||t.editRequestDetailForm.controls.country.touched)||t.isRequestDetailFormsubmit&&t.editRequest.country.errors),e.xp6(6),e.Q6J("typeahead",t.filteredStateList)("ngClass",e.VKq(29,U,t.editRequestDetailForm.controls.state.invalid&&(t.editRequestDetailForm.controls.state.dirty||t.editRequestDetailForm.controls.state.touched)||t.isRequestDetailFormsubmit&&t.editRequest.state.errors))("typeaheadScrollable",!0)("typeaheadOptionsInScrollableView",5),e.xp6(1),e.Q6J("ngIf",t.editRequestDetailForm.controls.state.invalid&&(t.editRequestDetailForm.controls.state.dirty||t.editRequestDetailForm.controls.state.touched)||t.isRequestDetailFormsubmit&&t.editRequest.state.errors),e.xp6(6),e.Q6J("ngClass",e.VKq(31,U,t.editRequestDetailForm.controls.city.invalid&&(t.editRequestDetailForm.controls.city.dirty||t.editRequestDetailForm.controls.city.touched)||t.isRequestDetailFormsubmit&&t.editRequest.city.errors)),e.xp6(1),e.Q6J("ngIf",t.editRequestDetailForm.controls.city.invalid&&(t.editRequestDetailForm.controls.city.dirty||t.editRequestDetailForm.controls.city.touched)||t.isRequestDetailFormsubmit&&t.editRequest.city.errors)}}function As(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",246)(1,"p"),e._uU(2,"Do you want to revert stages?"),e.qZA(),e.TgZ(3,"button",247),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.confirm())}),e._uU(4,"Yes"),e.qZA(),e.TgZ(5,"button",248),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.decline())}),e._uU(6,"No"),e.qZA()()}}function Os(i,l){1&i&&(e.TgZ(0,"div",190),e._uU(1," Enter days from 1 to 90 "),e.qZA())}function ws(i,l){1&i&&(e.TgZ(0,"div",190),e._uU(1,"Reason cannot be empty, add your post."),e.qZA())}const V=function(){return{height:"90px"}};function Ms(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",220)(1,"h4",221),e._uU(2,"Extend Days"),e.qZA(),e.TgZ(3,"button",222),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.decline())}),e.TgZ(4,"span",223),e._uU(5,"\xd7"),e.qZA()()(),e.TgZ(6,"div")(7,"form",249),e.NdJ("ngSubmit",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.onSubmitExtendDays())}),e.TgZ(8,"div",225)(9,"div",106)(10,"div",250)(11,"label",251)(12,"span",190),e._uU(13,"*"),e.qZA(),e._uU(14,"Days required to extend"),e.qZA(),e.TgZ(15,"input",252),e.NdJ("input",function(s){e.CHM(t);const o=e.oxw();return e.KtG(o.onKeyChanges(s))}),e.qZA(),e.YNc(16,Os,2,0,"div",187),e.qZA()(),e.TgZ(17,"div",106)(18,"div",226)(19,"label",253)(20,"span",190),e._uU(21,"*"),e.qZA(),e._uU(22,"Reason for extending the days"),e.qZA(),e._UZ(23,"quill-editor",254),e.YNc(24,ws,2,0,"div",187),e.qZA()(),e.TgZ(25,"div",106)(26,"div",255)(27,"button",256),e._uU(28,"Post"),e.qZA()()()()()()}if(2&i){const t=e.oxw();e.xp6(7),e.Q6J("formGroup",t.quillEditorExtendDays),e.xp6(9),e.Q6J("ngIf",t.isExtendDaysExceeded||t.quillEditorExtendDays.controls.customdays.invalid&&(t.quillEditorExtendDays.controls.customdays.dirty||t.quillEditorExtendDays.controls.customdays.touched)||t.isExtenddasysubmitted&&(null==t.dayExtend.customdays?null:t.dayExtend.customdays.errors)),e.xp6(7),e.Q6J("styles",e.DdM(6,V))("modules",t.quillConfig)("ngClass",e.VKq(7,U,t.quillEditorExtendDays.controls.editorReason.invalid&&(t.quillEditorExtendDays.controls.editorReason.dirty||t.quillEditorExtendDays.controls.editorReason.touched)||t.isExtenddasysubmitted&&(null==t.dayExtend.editorReason?null:t.dayExtend.editorReason.errors))),e.xp6(1),e.Q6J("ngIf",t.quillEditorExtendDays.controls.editorReason.invalid&&(t.quillEditorExtendDays.controls.editorReason.dirty||t.quillEditorExtendDays.controls.editorReason.touched)||t.isExtenddasysubmitted&&(null==t.dayExtend.editorReason?null:t.dayExtend.editorReason.errors))}}function Ss(i,l){if(1&i&&(e.ynx(0),e.TgZ(1,"option",244),e._uU(2),e.qZA(),e.BQk()),2&i){const t=l.$implicit;e.xp6(1),e.Q6J("value",t.reason),e.xp6(1),e.Oqu(t.reason)}}function Rs(i,l){1&i&&(e.TgZ(0,"div",190),e._uU(1," Reason is required "),e.qZA())}function Is(i,l){1&i&&(e.TgZ(0,"div",190),e._uU(1,"Reason cannot be empty, add your post."),e.qZA())}function Es(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",220)(1,"h4",221),e._uU(2,"Reject Request"),e.qZA(),e.TgZ(3,"button",222),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.decline())}),e.TgZ(4,"span",223),e._uU(5,"\xd7"),e.qZA()()(),e.TgZ(6,"form",249),e.NdJ("ngSubmit",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.onSubmitRejectRequest())}),e.TgZ(7,"div",225)(8,"div",106)(9,"div",257)(10,"div",258)(11,"label",259)(12,"span",190),e._uU(13,"*"),e.qZA(),e._uU(14,"Select reason"),e.qZA(),e.TgZ(15,"select",260),e.NdJ("change",function(s){e.CHM(t);const o=e.oxw();return e.KtG(o.onChangeReason(s))}),e.TgZ(16,"option",261),e._uU(17,"select reason"),e.qZA(),e.YNc(18,Ss,3,2,"ng-container",36),e.qZA(),e.YNc(19,Rs,2,0,"div",187),e.qZA()()(),e.TgZ(20,"div",106)(21,"div",226)(22,"label",253)(23,"span",190),e._uU(24,"*"),e.qZA(),e._uU(25,"Reason for rejecting the request"),e.qZA(),e._UZ(26,"quill-editor",262),e.YNc(27,Is,2,0,"div",187),e.qZA()(),e.TgZ(28,"div",106)(29,"div",255)(30,"button",256),e._uU(31,"Post"),e.qZA()()()()()}if(2&i){const t=e.oxw();e.xp6(6),e.Q6J("formGroup",t.quillEditorRejectRequest),e.xp6(12),e.Q6J("ngForOf",t.reasonList),e.xp6(1),e.Q6J("ngIf",t.quillEditorRejectRequest.controls.reason.invalid&&(t.quillEditorRejectRequest.controls.reason.dirty||t.quillEditorRejectRequest.controls.reason.touched)||t.isRejectrequestsubmitted&&(null==t.requestReject.reason?null:t.requestReject.reason.errors)),e.xp6(7),e.Q6J("styles",e.DdM(6,V))("modules",t.quillConfig),e.xp6(1),e.Q6J("ngIf",t.quillEditorRejectRequest.controls.editorComments.invalid&&(t.quillEditorRejectRequest.controls.editorComments.dirty||t.quillEditorRejectRequest.controls.editorComments.touched)||t.isRejectrequestsubmitted&&(null==t.requestReject.editorComments?null:t.requestReject.editorComments.errors))}}function Ls(i,l){if(1&i&&(e.TgZ(0,"option",245),e._uU(1),e.qZA()),2&i){const t=e.oxw().$implicit,n=e.oxw(2);e.Q6J("value",t.approver_id)("selected",t.approver_id===n.selectedAssignee),e.xp6(1),e.hij(" ",t.user_name," ")}}function Ns(i,l){if(1&i&&(e.ynx(0),e.YNc(1,Ls,2,3,"option",284),e.BQk()),2&i){const t=l.$implicit;e.xp6(1),e.Q6J("ngIf"," "!==t.user_name&&t.email_verified)}}function Us(i,l){1&i&&(e.TgZ(0,"div"),e._uU(1,"Assignee is required"),e.qZA())}function Ps(i,l){if(1&i&&(e.TgZ(0,"div",243),e.YNc(1,Us,2,0,"div",90),e.qZA()),2&i){e.oxw();const t=e.MAs(15);e.xp6(1),e.Q6J("ngIf",null==t?null:t.errors.required)}}function Fs(i,l){1&i&&(e.TgZ(0,"div"),e._uU(1,"Sub Task Name is required"),e.qZA())}function Js(i,l){if(1&i&&(e.TgZ(0,"div",243),e.YNc(1,Fs,2,0,"div",90),e.qZA()),2&i){e.oxw();const t=e.MAs(24);e.xp6(1),e.Q6J("ngIf",null==t?null:t.errors.required)}}function Qs(i,l){1&i&&(e.TgZ(0,"div"),e._uU(1,"Subtask description is required "),e.qZA())}function Bs(i,l){if(1&i&&(e.TgZ(0,"div",243),e.YNc(1,Qs,2,0,"div",90),e.qZA()),2&i){e.oxw();const t=e.MAs(31);e.xp6(1),e.Q6J("ngIf",null==t?null:t.errors.required)}}function js(i,l){1&i&&(e.TgZ(0,"div"),e._uU(1,"Deadline date is required"),e.qZA())}function Ks(i,l){if(1&i&&(e.TgZ(0,"div",243),e.YNc(1,js,2,0,"div",90),e.qZA()),2&i){e.oxw();const t=e.MAs(47);e.xp6(1),e.Q6J("ngIf",null==t?null:t.errors.required)}}const Ys=function(){return{dateInputFormat:"MM-DD-YYYY",adaptivePosition:!0,returnFocusToInput:!0,selectFromOtherMonth:!0}},Gs=function(){return{dateInputFormat:"MM-DD-YYYY",adaptivePosition:!0,selectFromOtherMonth:!0,returnFocusToInput:!0}};function Ws(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",220)(1,"h4",221),e._uU(2),e.qZA(),e.TgZ(3,"button",222),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.onResetSubTask())}),e.TgZ(4,"span",223),e._uU(5,"\xd7"),e.qZA()()(),e.TgZ(6,"form",263,264),e.NdJ("ngSubmit",function(){e.CHM(t);const s=e.MAs(7),o=e.oxw();return e.KtG(o.onSubmitAddSubTask(s))}),e.TgZ(8,"div",225)(9,"div",106)(10,"div",226)(11,"div",258)(12,"label",265),e._uU(13," Assignee"),e.qZA(),e.TgZ(14,"select",266,267),e.NdJ("ngModelChange",function(s){e.CHM(t);const o=e.oxw();return e.KtG(o.subTaskFields.assignee=s)}),e.YNc(16,Ns,2,1,"ng-container",36),e.qZA(),e.YNc(17,Ps,2,1,"div",231),e.qZA()()(),e.TgZ(18,"div",106)(19,"div",226)(20,"div",227)(21,"label",268),e._uU(22,"Sub Task Name"),e.qZA(),e.TgZ(23,"input",269,270),e.NdJ("ngModelChange",function(s){e.CHM(t);const o=e.oxw();return e.KtG(o.subTaskFields.name=s)}),e.qZA(),e.YNc(25,Js,2,1,"div",231),e.qZA()()(),e.TgZ(26,"div",106)(27,"div",232)(28,"label",271),e._uU(29," Sub task description"),e.qZA(),e.TgZ(30,"textarea",272,273),e.NdJ("ngModelChange",function(s){e.CHM(t);const o=e.oxw();return e.KtG(o.subTaskFields.description=s)}),e._uU(32," "),e.qZA(),e.YNc(33,Bs,2,1,"div",231),e.qZA()(),e.TgZ(34,"div",106)(35,"div",274)(36,"div",275)(37,"span",276)(38,"input",277),e.NdJ("ngModelChange",function(s){e.CHM(t);const o=e.oxw();return e.KtG(o.subTaskFields.required=s)}),e.qZA()(),e.TgZ(39,"label",278)(40,"span"),e._uU(41,"Is Required"),e.qZA()()()()(),e.TgZ(42,"div",106)(43,"div",232)(44,"label",271),e._uU(45," Deadline"),e.qZA(),e.TgZ(46,"input",279,28
10),e.NdJ("ngModelChange",function(s){e.CHM(t);const o=e.oxw();return e.KtG(o.subTaskFields.deadline=s)})("bsValueChange",function(s){e.CHM(t);const o=e.oxw();return e.KtG(o.onValueChange(s))})("bsValueChange",function(s){e.CHM(t);const o=e.oxw();return e.KtG(o.subTaskFields.deadline=s)}),e.qZA(),e.YNc(49,Ks,2,1,"div",231),e.qZA()(),e.TgZ(50,"div",106)(51,"div",232)(52,"label",271),e._uU(53," Reminder "),e.qZA(),e.TgZ(54,"input",281,282),e.NdJ("ngModelChange",function(s){e.CHM(t);const o=e.oxw();return e.KtG(o.subTaskFields.reminder=s)})("bsValueChange",function(s){e.CHM(t);const o=e.oxw();return e.KtG(o.onValueChange(s))}),e.qZA()()()(),e.TgZ(57,"div",240)(58,"button",241),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.onResetSubTask())}),e._uU(59,"Cancel"),e.qZA(),e.TgZ(60,"button",283),e._uU(61,"Save"),e.qZA()()()}if(2&i){const t=e.MAs(7),n=e.MAs(15),s=e.MAs(24),o=e.MAs(31),r=e.MAs(47),p=e.oxw();e.xp6(2),e.Oqu(p.isEditSubTask?"Edit Subtask":"Add Subtask"),e.xp6(12),e.Q6J("ngModel",p.subTaskFields.assignee)("ngClass",e.VKq(25,U,n.invalid&&t.submitted)),e.xp6(2),e.Q6J("ngForOf",p.ApproverList),e.xp6(1),e.Q6J("ngIf",n.invalid&&t.submitted),e.xp6(6),e.Q6J("ngModel",p.subTaskFields.name)("ngClass",e.VKq(27,U,s.invalid&&t.submitted)),e.xp6(2),e.Q6J("ngIf",s.invalid&&t.submitted),e.xp6(5),e.Q6J("ngModel",p.subTaskFields.description)("ngClass",e.VKq(29,U,o.invalid&&t.submitted)),e.xp6(3),e.Q6J("ngIf",o.invalid&&t.submitted),e.xp6(5),e.Q6J("ngModel",p.subTaskFields.required),e.xp6(8),e.Q6J("ngModel",p.subTaskFields.deadline)("ngClass",e.VKq(31,U,r.invalid&&t.submitted))("maxDate",p.subtaskDeadlineDate)("minDate",p.minDate)("bsConfig",e.DdM(33,Ys))("bsValue",p.subTaskFields.deadline),e.xp6(3),e.Q6J("ngIf",r.invalid&&t.submitted),e.xp6(5),e.Q6J("ngModel",p.subTaskFields.reminder)("maxDate",p.maxDate)("bsConfig",e.DdM(34,Gs))("minDate",p.minDate)("bsValue",p.bsValue),e.xp6(6),e.uIk("disabled",!!p.isSubmitBtnClickedOnce||null)}}function Hs(i,l){1&i&&(e.TgZ(0,"div"),e._uU(1,"Sub Task Response is required"),e.qZA())}function zs(i,l){if(1&i&&(e.TgZ(0,"div",243),e.YNc(1,Hs,2,0,"div",90),e.qZA()),2&i){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",null==t.subTaskResponse.taskresponse?null:t.subTaskResponse.taskresponse.errors.required)}}function Vs(i,l){1&i&&(e.TgZ(0,"div",301),e._uU(1,"Mark as complete is required"),e.qZA())}function Xs(i,l){1&i&&(e.TgZ(0,"label",287),e._uU(1,"Available attachments"),e.qZA())}function $s(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div")(1,"button",302),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(2);return e.KtG(r.viewSubtaskResponseAttachedFile(o))}),e._uU(2),e.qZA()()}if(2&i){const t=l.$implicit;e.xp6(2),e.hij(" ",t.filename," ")}}function eo(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div"),e._UZ(1,"img",303),e._uU(2),e.TgZ(3,"button",158),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(2);return e.KtG(r.removeFile(o))}),e._uU(4,"\xd7"),e.qZA()()}if(2&i){const t=l.$implicit;e.xp6(2),e.hij(" ",t.name," ")}}function to(i,l){1&i&&(e.TgZ(0,"div",304),e._uU(1," File size should not exceed 2MB "),e.qZA())}function no(i,l){1&i&&(e.TgZ(0,"div",304),e._uU(1," Only pdf, jpg, txt, doc, docx file area allowed. "),e.qZA())}function io(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",220)(1,"h4",221),e._uU(2,"Task Response"),e.qZA(),e.TgZ(3,"button",222),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.onCancelSubTaskResponse())}),e.TgZ(4,"span",223),e._uU(5,"\xd7"),e.qZA()()(),e.TgZ(6,"div",285)(7,"div",106)(8,"div",286)(9,"label",287),e._uU(10,"Task Name"),e.qZA(),e.TgZ(11,"label",288),e._uU(12),e.qZA()(),e.TgZ(13,"div",286)(14,"label",287),e._uU(15,"Task Description"),e.qZA(),e.TgZ(16,"label",288),e._uU(17),e.qZA()(),e.TgZ(18,"div",289)(19,"label",287),e._uU(20,"Task Deadline"),e.qZA(),e.TgZ(21,"label",288),e._uU(22),e.ALo(23,"date"),e.qZA()()()(),e.TgZ(24,"form",290),e.NdJ("ngSubmit",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.onSubmitSubTaskResponse())}),e.TgZ(25,"div",225)(26,"div",106)(27,"div",226)(28,"div",258)(29,"label",291),e._uU(30," Task Response"),e.qZA(),e.TgZ(31,"textarea",292),e._uU(32," "),e.qZA(),e.YNc(33,zs,2,1,"div",231),e.qZA()()(),e.TgZ(34,"div")(35,"div",293)(36,"div",294),e._UZ(37,"input",295),e.TgZ(38,"label",296)(39,"
1span"),e._uU(40,"Mark as complete"),e.qZA()(),e.YNc(41,Vs,2,0,"div",297),e.qZA()()(),e.YNc(42,Xs,2,0,"label",298),e.YNc(43,$s,3,1,"div",36),e.YNc(44,eo,5,1,"div",36),e.TgZ(45,"div",106)(46,"div",226)(47,"label",291),e._uU(48," Attachments"),e.qZA(),e.TgZ(49,"div",152)(50,"div",153)(51,"input",299),e.NdJ("change",function(s){e.CHM(t);const o=e.oxw();return e.KtG(o.uploadFile(s))}),e.qZA(),e.TgZ(52,"label",155),e._uU(53),e.qZA()()(),e.YNc(54,to,2,0,"div",300),e.YNc(55,no,2,0,"div",300),e.qZA()()(),e.TgZ(56,"div",240)(57,"button",241),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.onCancelSubTaskResponse())}),e._uU(58,"Cancel"),e.qZA(),e.TgZ(59,"button",242),e._uU(60,"Save"),e.qZA()()()}if(2&i){const t=e.oxw();e.xp6(12),e.hij(" ",t.displayTaskname,""),e.xp6(5),e.hij(" ",t.displayTaskDescription,""),e.xp6(5),e.hij(" ",e.xi3(23,13,t.displayTaskDeadline,"MM/dd/yyyy"),""),e.xp6(2),e.Q6J("formGroup",t.subTaskResponseForm),e.xp6(7),e.Q6J("ngClass",e.VKq(16,U,t.isResponseSubmitted&&(null==t.subTaskResponse.taskresponse?null:t.subTaskResponse.taskresponse.errors))),e.xp6(2),e.Q6J("ngIf",t.isResponseSubmitted&&(null==t.subTaskResponse.taskresponse?null:t.subTaskResponse.taskresponse.errors)),e.xp6(8),e.Q6J("ngIf",t.isResponseSubmitted&&t.subTaskResponse.markcompleted.errors),e.xp6(1),e.Q6J("ngIf",0!==t.subtaskAttachments.length),e.xp6(1),e.Q6J("ngForOf",t.subtaskAttachments),e.xp6(1),e.Q6J("ngForOf",t.multipleFile),e.xp6(9),e.Oqu(t.uploadFilename?t.uploadFilename:"Choose file"),e.xp6(1),e.Q6J("ngIf",t.showFilesizeerror),e.xp6(1),e.Q6J("ngIf",t.showFileExtnerror)}}function so(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"alert",307),e.NdJ("onClosed",function(){e.CHM(t);const s=e.oxw(2);return e.KtG(s.onClosed(s.alertMsg))}),e._uU(1),e.qZA()}if(2&i){const t=e.oxw(2);e.Q6J("type",t.alertType)("dismissible",t.dismissible),e.xp6(1),e.Oqu(t.alertMsg)}}function oo(i,l){if(1&i&&(e.TgZ(0,"div",305),e.YNc(1,so,2,3,"alert",306),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",t.isOpen)}}function lo(i,l){1&i&&(e.TgZ(0,"div",315),e._uU(1," Enter appropriate text "),e.qZA())}function ro(i,l){if(1&i&&(e.TgZ(0,"button",316),e._uU(1),e.qZA()),2&i){const t=e.oxw(2);e.xp6(1),e.hij("I understand the consequences, delete this ",t.controlname,"")}}function ao(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",220)(1,"h5",308),e._uU(2,"Are you absolutely sure?"),e.qZA(),e.TgZ(3,"button",309),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.cancelModal())}),e.TgZ(4,"span",223),e._uU(5,"\xd7"),e.qZA()()(),e.TgZ(6,"div",246)(7,"p"),e._uU(8," This will delete selected "),e.TgZ(9,"span",310),e._uU(10),e.qZA(),e._uU(11),e.qZA(),e.TgZ(12,"p"),e._uU(13,"Please type "),e.TgZ(14,"strong"),e._uU(15,"'Delete'"),e.qZA(),e._uU(16," to confirm"),e.qZA(),e.TgZ(17,"form",105),e.NdJ("ngSubmit",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.onSubmitConfirmation(s.controlname))}),e._UZ(18,"input",311),e.YNc(19,lo,2,0,"div",312),e.TgZ(20,"div",313),e.YNc(21,ro,2,1,"button",314),e.qZA()()()}if(2&i){const t=e.oxw();e.xp6(10),e.hij(" ",t.showControlContent(),""),e.xp6(1),e.hij(" ",t.controlname,""),e.xp6(6),e.Q6J("formGroup",t.confirmationForm),e.xp6(1),e.Q6J("ngClass",e.VKq(6,U,t.isconfirmationsubmitted&&"Delete"!==t.confirmDelete.userInput.value)),e.xp6(1),e.Q6J("ngIf",t.isconfirmationsubmitted&&"Delete"!==t.confirmDelete.userInput.value),e.xp6(2),e.Q6J("ngIf","DSAR Request detail"==t.controlname)}}function co(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",317)(1,"button",222),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.onCancelFilePreview())}),e.TgZ(2,"span",223),e._uU(3,"\xd7"),e.qZA()(),e._UZ(4,"iframe",318,319),e.qZA()}}function uo(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",246)(1,"p"),e._uU(2,"You are not authorized to check this request!"),e.qZA(),e.TgZ(3,"button",320),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.onCloseUserAuthModal())}),e._uU(4," OK "),e.qZA()()}}function po(i,l){1&i&&(e.TgZ(0,"span",332),e._uU(1,"New"),e.qZA())}function _o(i,l){1&i&&(e.TgZ(0,"span",333),e._uU(1,"In progress"),e.qZA())}function go(i,l){1&i&&(e.TgZ(0,"span",334),e._uU(1,"Completed"),e.qZA())}function mo(i,l){1&i&&(e.TgZ(0,"span",335),e._uU(1,"Rejected"),e.qZA())}const ho=function(i,l){return{activelistid:i,"":l}};function fo(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"li",87)(1,"a",5),e.NdJ("click",function(){const o=e.CHM(t).$implicit,r=e.oxw(3);return e.KtG(r.showReqData(o))}),e.TgZ(2,"div",327),e._uU(3),e.qZA(),e.YNc(4,po,2,0,"span",328),e.YNc(5,_o,2,0,"span",329),e.YNc(6,go,2,0,"span",330),e.YNc(7,mo,2,0,"span",331),e.qZA()()}if(2&i){const t=l.$implicit,n=e.oxw(3);e.Q6J("ngClass",e.WLB(6,ho,t.id==n.duplicateRequestID,t.id!=n.duplicateRequestID)),e.xp6(3),e.hij(" ",t.id," "),e.xp6(1),e.Q6J("ngIf",1==t.request_status),e.xp6(1),e.Q6J("ngIf",2==t.request_status),e.xp6(1),e.Q6J("ngIf",3==t.request_status),e.xp6(1),e.Q6J("ngIf",-1==t.request_status)}}function xo(i,l){if(1&i&&(e.TgZ(0,"div",326)(1,"ul"),e.YNc(2,fo,8,9,"li",159),e.qZA()()),2&i){const t=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",t.duplicateRequest)}}function Co(i,l){if(1&i&&(e.TgZ(0,"div",337)(1,"span"),e._uU(2,"Request ID : "),e.TgZ(3,"span",338),e._uU(4),e.qZA()(),e.TgZ(5,"span"),e._uU(6,"Status: "),e.TgZ(7,"span",339),e._uU(8),e.qZA()()()),2&i){const t=e.oxw(3);e.xp6(4),e.Oqu(t.duplicateRequestID),e.xp6(3),e.Q6J("ngStyle",t.duplicateRequestStatus),e.xp6(1),e.Oqu(t.progressStaus)}}function vo(i,l){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const t=e.oxw().$implicit,n=e.oxw(2);e.xp6(1),e.AsE(" ",n.capitalizatFirstLetterForDuplicate(t[0]),": ",t[1]," ")}}function bo(i,l){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const t=e.oxw().$implicit,n=e.oxw(2);e.xp6(1),e.AsE(" ",n.capitalizatFirstLetterForDuplicate(t[0]),": ",n.duplicateReqType," ")}}function qo(i,l){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const t=e.oxw().$implicit,n=e.oxw(2);e.xp6(1),e.AsE(" ",n.capitalizatFirstLetterForDuplicate(t[0]),": ",n.duplicateSubType," ")}}function To(i,l){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const t=e.oxw().$implicit,n=e.oxw(2);e.xp6(1),e.AsE(" ",n.capitalizatFirstLetterForDuplicate(t[0]),": ",n.currentWorkflowname," ")}}function Zo(i,l){if(1&i&&(e.ynx(0),e.YNc(1,Co,9,3,"div",336),e.TgZ(2,"li",87),e.YNc(3,vo,2,2,"span",90),e.YNc(4,bo,2,2,"span",90),e.YNc(5,qo,2,2,"span",90),e.YNc(6,To,2,2,"span",90),e.qZA(),e.BQk()),2&i){const t=l.$implicit,n=l.index;e.xp6(1),e.Q6J("ngIf",0==n),e.xp6(1),e.Q6J("ngClass","approver"==t[0]||"captchacode"==t[0]||"request_details"==t[0]?"hide":"showrows"),e.xp6(1),e.Q6J("ngIf","approver"!==t[0]&&"captchacode"!==t[0]&&"request_details"!==t[0]&&"request_type"!==t[0]&&"subject_type"!==t[0]&&"workflow"!==t[0]),e.xp6(1),e.Q6J("ngIf","request_type"==t[0]),e.xp6(1),e.Q6J("ngIf","subject_type"==t[0]),e.xp6(1),e.Q6J("ngIf","workflow"==t[0])}}function Do(i,l){if(1&i&&(e.ynx(0),e.TgZ(1,"option",244),e._uU(2),e.qZA(),e.BQk()),2&i){const t=l.$implicit;e.xp6(1),e.Q6J("value",t.reason),e.xp6(1),e.Oqu(t.reason)}}function yo(i,l){1&i&&(e.TgZ(0,"div",190),e._uU(1," Reason is required "),e.qZA())}function ko(i,l){1&i&&(e.TgZ(0,"div",190),e._uU(1,"Reason cannot be empty, add your post."),e.qZA())}function Ao(i,l){if(1&i){const t=e.EpF();e.TgZ(0,"div",220)(1,"h4",221),e._uU(2,"Duplicate Requests"),e.qZA(),e.TgZ(3,"button",222),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.onCloseDuplicatereqModal())}),e.TgZ(4,"span",223),e._uU(5,"\xd7"),e.qZA()()(),e.TgZ(6,"div",317)(7,"div",321),e.YNc(8,xo,3,1,"div",322),e.TgZ(9,"div",323)(10,"ul",324),e.YNc(11,Zo,7,6,"ng-container",36),e.qZA(),e.TgZ(12,"div")(13,"form",105),e.NdJ("ngSubmit",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.onSubmitRejectRequest("duplicate"))}),e.TgZ(14,"div",225)(15,"div",106)(16,"div",257)(17,"div",258)(18,"label",325),e._uU(19," Select reason"),e.qZA(),e.TgZ(20,"select",260),e.NdJ("change",function(s){e.CHM(t);const o=e.oxw();return e.KtG(o.onChangeReason(s))}),e.TgZ(21,"option",261),e._uU(22,"select reason"),e.qZA(),e.YNc(23,Do,3,2,"ng-container",36),e.qZA(),e.YNc(24,yo,2,0,"div",187),e.qZA()()(),e.TgZ(25,"div",106)(26,"div",226)(27,"label",253)(28,"span",190),e._uU(29,"*"),e.qZA(),e._uU(30,"Reason for rejecting the request"),e.qZA(),e._UZ(31,"quill-editor",262),e.YNc(32,ko,2,0,"div",187),e.qZA()(),e.TgZ(33,"div",106)(34,"div",255)(35,"button",256),e._uU(36,"Post"),e.qZA()()()()()()()()()}if(2&i){const t=e.oxw();e.xp6(8),e.Q6J("ngIf",t.duplicateRequest.length>0),e.xp6(3),e.Q6J("ngForOf",t.displayCurrentRequestData),e.xp6(2),e.Q6J("formGroup",t.quillEditorRejectRequest),e.xp6(10),e.Q6J("ngForOf",t.reasonList),e.xp6(1),e.Q6J("ngIf",t.isRejectrequestsubmitted&&(null==t.requestReject.reason?null:t.requestReject.reason.errors)),e.xp6(7),e.Q6J("styles",e.DdM(8,V))("modules",t.quillConfig),e.xp6(1),e.Q6J("ngIf",t.isRejectrequestsubmitted&&(null==t.requestReject.editorComments?null:t.requestReject.editorComments.errors))}}const Oo=function(i,l){return{"tx-success":i,"tx-danger":l}};let wo=(()=>{const l=class{constructor(n,s,o,r,p,Z,A,O,R,I,B,X,Qo,Bo,jo,Ko,Yo,Go){this.activatedRoute=n,this.router=s,this.orgService=o,this.dsarRequestService=r,this.workflowService=p,this.ccpaDataService=Z,this.ccpaFormConfigService=A,this.modalService=O,this.formBuilder=R,this.renderer2=I,this.bsmodalService=B,this.loading=X,this.cdRef=Qo,this.userService=Bo,this.authService=jo,this.systemIntegrationService=Ko,this.titleService=Yo,this.companyService=Go,this.requestDetails=[],this.disabled=!0,this.Ap
1proverList=[],this.workflowStages=[],this.selectedStages=[],this.emailTemplates=[],this.activityLog=[],this.emailLog=[],this.dismissible=!0,this.isOpen=!1,this.subjectTypeById=[],this.requestTypeById=[],this.customdayslist=[5,10,20,30,40],this.isListVisible=!1,this.riskFactorList=[],this.countryList=[],this.stateList=[],this.filteredStateList=[],this.p=1,this.pageSize=5,this.isEditSubTask=!1,this.isResponseToSubTask=!1,this.isDisable=!0,this.quillConfig={toolbar:{container:[["bold","italic","underline","strike"],[{header:1},{header:2}],["link"],[{align:[]}],[{size:["small",!1,"large","huge"]}]]}},this.status=0,this.subTaskListResponse=[],this.isTaskTabOpen=!1,this.isAddSubTaskSubmit=!1,this.showFilesizeerror=!1,this.showFileExtnerror=!1,this.isEmailVerified=!1,this.activitytypeEmail=0,this.bsValue=null,this.skeletonLoading=!0,this.skeletonCustomLoading=!0,this.skeletonStageLoading=!0,this.translateX=0,this.leftbtnVisibility=!1,this.rightbtnVisibility=!0,this.scrollLimit=0,this.multipleFile=[],this.subtaskAttachments=[],this.emailVerificationStatus=!1,this.isExtenddasysubmitted=!1,this.isRejectrequestsubmitted=!1,this.isUserNotMatched=!1,this.reasonList=[],this.rightArrowStatus=!1,this.isRequestCompleted=!1,this.customFieldObj=[],this.duplicateRequest=[],this.isExtendDaysExceeded=!1,this.requestForm=[],this.teamMemberList=[],this.lastkeydown1=0,this.isEmailselected=!1,this.selectedEmailIds=[],this.selectedCCEmailIds=[],this.selectedBCCEmailIds=[],this.isBCC=!1,this.isCC=!1,this.isMouseout=!1,this.isClosebtnClick=!1,this.isEmailTextboxEnable=!0,this.sendMailtoOtherUsers=!1,this.duplicateEmailMsg=!1,this.inValidEmailAddress=!1,this.errorMsgTo=!1,this.isClickOnRefreshbtn=!1,this.paginationConfig={itemsPerPage:this.pageSize,currentPage:this.p,totalItems:this.totalCount,id:"userPagination"},this.activitytype=0,this.titleService.setTitle("DSAR Requests details - "+D.N.portalPrefix)}ngOnInit(){this.subTaskFields={assignee:"",name:"",description:"",required:!1,deadline:new Date(null),reminder:new Date(null)},this.activatedRoute.paramMap.subscribe(s=>{let o=s.get("reqid"),r=s.get("formID"),p=s.get("companyid"),Z=s.get("orgid"),A=s.get("propid");null!=this.requestID&&(this.requestID!=o||this.formID!=r||this.queryCompanyID!=p||this.queryOrgID!=Z||this.queryPropID!=A)&&(this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.navigateByUrl(this.router.url)),this.requestID=o,this.formID=r,this.queryCompanyID=p,this.queryOrgID=Z,this.queryPropID=A}),this.activatedRoute.queryParamMap.subscribe(s=>{this.queryOID=s.get("oid"),this.queryPID=s.get("pid")}),this.quillEditorText=new u.nJ({editor:new u.p4("",u.kI.required),publicprivatetype:new u.p4("0"),dropdownEmailTemplate:new u.p4("")}),this.quillEditorEmailText=this.formBuilder.group({dropdownEmailTemplate:[""],mailto:[""],cc:[""],bcc:[""],editorEmailMessage:["",[u.kI.required]],emailAttachment:[""]}),this.quillEditorExtendDays=new u.nJ({customdays:new u.p4("30",u.kI.required),editorReason:new u.p4("",u.kI.required)}),this.quillEditorRejectRequest=new u.nJ({reason:new u.p4("",u.kI.required),editorComments:new u.p4("",u.kI.required)}),this.loadEmailTemplate(),this.isActivityLogOpen=!0,this.editRequestDetailForm=this.formBuilder.group({requestacceptingagent:["",[u.kI.required]],riskfactor:["",[u.kI.required]],approver:["",[u.kI.required]],country:["",[u.kI.required,u.kI.pattern("^[a-zA-Z ]*$")]],state:["",[u.kI.required,u.kI.pattern("^[a-zA-Z ]*$")]],city:["",[u.kI.required,u.kI.pattern("^[a-zA-Z ]*$")]]}),this.subTaskResponseForm=this.formBuilder.group({taskresponse:["",[u.kI.required]],markcompleted:["",[u.kI.requiredTrue]],uploaddocument:[""]}),this.confirmationForm=this.formBuilder.group({userInput:["",[u.kI.required]]}),this.getCurrentLoggedInUser(),this.getSelectedOrgIDPropertyID(),this.loadDataRequestDetails(),this.getApprover(),this.loadCountryList(),this.loadStateList(),this.loadDSARRequestDetailsByID(this.currentManagedOrgID,this.currrentManagedPropID,this.requestID),this.preFillData(),this.minDate=new Date,this.loadReasonList(),this.loadOrgTeamMembers(this.currentManagedOrgID)}get addActivity(){return this.quillEditorText.controls}get addEmailPost(){return this.quillEditorEmailText.controls}get editRequest(){return this.editRequestDetailForm.controls}get subTaskResponse(){return this.subTaskResponseForm.controls}get confirmDelete(){return this.confirmationForm.controls}get dayExtend(){return this.quillEditorExtendDays.controls}get requestReject(){return this.quillEditorRejectRequest.controls}getSelectedOrgIDPropertyID(){const n=this.orgService.getCurrentOrgWithProperty();void 0!==n&&(this.currentPropertyName=n.property_name,this.currentSelectedOrgname=n.organization_name),this.orgService.currentProperty.subscribe(s=>{""!==s?(this.currentManagedOrgID=s.organization_id||s.response.oid,this.currrentManagedPropID=s.property_id||s.response.id):(this.currentManagedOrgID=this.queryOID,this.currrentManagedPropID=this.queryPID)},s=>{this.alertMsg=s,this.isOpen=!0,this.alertType="danger"})}backToDSARRequest(){this.router.navigate(["privacy/dsar/requests"],{queryParams:{oid:this.queryOID,pid:this.queryPID},queryParamsHandling:"merge",skipLocationChange:!1})}onRefresh(){this.isClickOnRefreshbtn=!0,this.loadDataRequestDetails(),this.loadEmailLog(this.requestID),this.loadActivityLog(this.requestID)}getCurrentLoggedInUser(){this.userService.getLoggedInUserDetails(this.constructor.name,q.e.headerModule).subscribe(n=>{this.userData=n,this.resuserCID=this.userData.response.cID,void 0!==this.resuserCID&&this.queryCompanyID!==this.resuserCID&&this.openModal(this.userAuthenticationModal)})}getOrder(){return JSON.parse(this.requestForm)[0].map(n=>n.indexCount.replace(/_Index$/,""))}loadDataRequestDetails(){this.dsarRequestService.getDSARRequestDetails(this.currentManagedOrgID,this.currrentManagedPropID,this.requestID,this.constructor.name,q.e.dsarRequestModule).subscribe(n=>{"No data found."!==n.response?(this.requestDetails.push(n.response),this.customFields=n.response.custom_data,this.requestForm=n.response.request_form,this.respApprover=n.response.approver_firstname+" "+n.response.approver_lastname,this.respState=n.response.custom_data.state,this.respCity=n.response.custom_data.city,this.respCountry=n.response.custom_data.country,this.respCreatedAt=n.response.created_at,this.requestStatus=n.response.request_status,this.respUpdatedAt=n.response.updated_at,this.respCompletedAt=n.response.request_completed_at,this.respDaysLeft=n.response.days_left,this.respFirstName=n.response.custom_data.first_name,this.respLastName=n.response.custom_data.last_name,this.respEmailID=n.response.custom_data.email,this.respCDID=n.response.id,this.formName=n.response.form_name,this.requestType=this.getCustomRequestType("requesttype",n.response.custom_data.request_type,n.response.custom_data),this.subjectType=this.getCustomSubjectType("subjecttype",n.response.custom_data.subject_type,n.response.custom_data),this.request_typeid=n.response.request_type_id,this.subject_typeid=n.response.subject_type_id,this.workflowName=n.response.workflow_name,this.workflowId=n.response.workflow_id,this.reqAcceptingagent=n.response.req_accepting_agent,this.riskFactorText=n.response.risk_factor,this.currentWorkflowStage=n.response.workflow_stage||"New",this.currentWorkflowStageID=n.response.workflow_stage_id||"",this.isEmailVerified=n.response.email_verified,this.isemailverificationRequired=n.response.required_email_verification,this.isAttachmentExist=this.isFileExist(n.response.upload_exist),this.attachedfileName=n.response.upload_exist,this.skeletonCustomLoading=!1,this.currentPropertyName=n.response.property,this.getCustomFields(this.customFields),this.getWorkflowStages(this.workflowId),this.showCustomFieldValues(),null!==n.response.duplicate_request?(this.duplicateRequest=n.response.duplicate_request,this.showReqData(this.duplicateRequest[0])):this.duplicateRequest.length=0,this.editRequestDetailForm.controls.country.setValue(this.respCountry),this.editRequestDetailForm.controls.state.setValue(this.respState),this.editRequestDetailForm.controls.city.setValue(this.respCity),this.editRequestDetailForm.controls.requestacceptingagent.setValue(this.reqAcceptingagent),this.editRequestDetailForm.controls.riskfactor.setValue(this.riskFactorText),this.skeletonLoading=!1,this.isClickOnRefreshbtn=!1):this.backToDSARRequest()},n=>{this.alertMsg=n,this.isOpen=!0,this.alertType="danger"})}getApprover(){let n;this.orgService.getOrgTeamMembers(this.currentManagedOrgID,this.constructor.name,q.e.companyModule).subscribe(s=>{n=s.response;let o=n.filter(r=>" "!==r.user_name&&-1==r.role_name.indexOf("View")&&r.email_verified);this.ApproverList=o},s=>{this.alertMsg=s,this.isOpen=!0,this.alertType="danger"})}onNavChange(n){1===n.activeId&&2===n.nextId?(this.isActivityLogOpen=!1,this.isEmailLogOpen=!0,this.isTaskTabOpen=!1):2===n.activeId&&1===n.nextId?(this.isActivityLogOpen=!0,this.isEmailLogOpen=!1,this.isTaskTabOpen=!1):3===n.activeId&&1===n.nextId?(this.isEmailLogOpen=!1,this.isActivityLogOpen=!0,this.isTaskTabOpen=!1):3===n.activeId&&2===n.nextId?(this.isEmailLogOpen=!0,this.isActivityLogOpen=!1,this.isTaskTabOpen=!1):4===n.nextId?(this.isEmailLogOpen=!1,this.isActivityLogOpen=!1,this.isTaskTabOpen=!1):4===n.activeId&&1===n.nextId?this.isActivityLogOpen=!0:4===n.activeId&&2===n.nextId?this.isEmailLogOpen=!0:(1===n.activeId&&3===n.nextId||4===n.activeId&&3===n.nextId||2===n.activeId&&3===n.nextId)&&(this.isActivityLogOpen=!1,this.isEmailLogOpen=!1,this.isTaskTabOpen=!0,this.get
1SubTaskList())}tabSelection(n){switch(n){case 1:this.previousTabOne=!0;break;case 2:this.previousTabTwo=!0;break;case 3:this.previousTabThree=!0;break;case 4:this.previousTabFour=!0;break;case 5:this.previousTabFive=!0}}getDeadLine(n,s){const o=new Date(n);return o.setDate(o.getDate()+Number(this.respDaysLeft)),this.subtaskDeadlineDate=o,this.subtaskDeadlineDate}getDueIn(n,s){const o=new Date(n),r=new Date(Date.now()),p=Math.abs(r-o),Z=Math.floor(p/864e5);return s-Z>0?s-Z:0}getDueInForCompleted(n,s){const o=new Date(this.respCreatedAt),r=new Date(n),p=Math.abs(r-o),Z=Math.floor(p/864e5);return s-Z>0?s-Z:0}isNumber(n){return Number.isNaN(n)}getCustomFields(n){if(void 0!==n){const s=this.getOrder();this.customFieldObj=[],s.forEach(o=>{if(n[o]||"request_details"===o||"preferedlanguages"===o){let r="request_details"===o?"Requestdetails":o;if("Requestdetails"===r&&this.customFieldObj.push({key:"Request Details",value:n.requestdetails}),"preferedlanguages"===r&&this.customFieldObj.push({key:"Form language",value:n.form_language}),void 0!==r&&"request_type"!==r&&"subject_type"!==r&&"Requestdetails"!==r&&"preferedlanguages"!==r){let p="undefined"==n[r]?"--":n[r],Z=r.replace(/_/g," "),A=this.capitalizeFirstLetter(Z);this.customFieldObj.push({key:A,value:p})}}})}return this.customFieldObj}capitalizeFirstLetter(n){return n.charAt(0).toUpperCase()+n.slice(1)}getWorkflowStages(n){this.workflowService.getWorkflowById(this.constructor.name,q.e.workFlowModule,this.currentManagedOrgID,n).subscribe(s=>{if(s.length>0){const o=s[0].workflow_stages;this.currentworkflowID=s[0].id,this.currentWorkflowname=s[0].workflow_name,this.workflowStages=this.rearrangeArrayResponse(o),this.skeletonStageLoading=!1,this.selectStageOnPageLoad(this.currentWorkflowStageID),this.getSubTaskList()}else this.skeletonStageLoading=!1,this.alertMsg="No records found!",this.isOpen=!0,this.alertType="info"},s=>{this.skeletonStageLoading=!1,this.alertMsg=JSON.stringify(s),this.isOpen=!0,this.alertType="danger"})}stageSelection(n){let s,o;if(this.isemailverificationRequired){if(!this.isEmailIDVerified("Email",this.isEmailVerified))return this.alertMsg="Cannot select stages without email verification!",this.isOpen=!0,this.alertType="danger",!1;s=!0}if(this.currentStage=n.order,!this.isSubTaskExist(n))return this.alertMsg="Without completing subtask cannot switch to other stage",this.isOpen=!0,this.alertType="danger",!1;if(this.nextStage=0===this.selectedStages.length?0:this.selectedStages[this.selectedStages.length-1].order,this.isPreviousStageExist(n))this.isPreviousStageSelected(n)&&this.openModal(this.confirmModal,this.nextStage-n.order,n);else{if(n.order-this.nextStage!=1)return this.alertMsg="Cannot skip stages!",this.isOpen=!0,this.alertType="danger",!1;{let Z;-1===this.selectedStages.findIndex(A=>A.order===n.order)&&this.selectedStages.push(n),this.nextStage=this.selectedStages[this.selectedStages.length-1].order,this.currentStageId=n.id,1!==n.order&&(this.previousStageId=this.selectedStages.filter(A=>A.order==n.order-1)[0].id),this.previousStageId?(Z={current_status:this.currentStageId,previous_status:this.previousStageId},o=new FormData,o.append("current_status",Z.current_status),o.append("previous_status",Z.previous_status),o.append("final_status",n.stage_title)):(Z={current_status:this.currentStageId},o=new FormData,o.append("current_status",Z.current_status),o.append("final_status",n.stage_title)),this.stageAPI(this.requestID,o)}}}openModal(n,s,o){this.modalRef=this.bsmodalService.show(n,{class:"",keyboard:!1}),this.stageDiff=s,this.revertedStage=o}openCommonModal(n){this.modalRef=this.bsmodalService.show(n,{class:"",keyboard:!1})}openCommonLargeModal(n){this.modalRef=this.bsmodalService.show(n,{class:"modal-lg",keyboard:!1})}openExtendModal(){this.openModal(this.extendDaysModal)}openReqestRejectModal(){this.openModal(this.rejectRequestModal)}confirm(){let n;if(this.modalRef.hide(),this.isConfirmed=!0,this.isConfirmed){if(0===this.stageDiff)return!1;if(this.isPreviousStageSelected(this.revertedStage))if(1===this.stageDiff){this.selectedStages.splice(this.selectedStages.length-1,1),this.previousStageId=this.selectedStages[this.selectedStages.length-1].id;const o={current_status:this.previousStageId,previous_status:this.currentStageId};n=new FormData,n.append("current_status",o.current_status),n.append("previous_status",o.previous_status),this.stageAPI(this.requestID,n),this.get
1SubTaskList()}else{this.previousStageId=this.selectedStages[this.selectedStages.length-1].id;for(let o=this.stageDiff;o>0;o--)this.selectedStages.splice(this.selectedStages.length-o,1);const s={current_status:this.revertedStage.id,previous_status:this.previousStageId};n=new FormData,n.append("current_status",s.current_status),n.append("previous_status",s.previous_status),this.stageAPI(this.requestID,n),this.getSubTaskList()}}else{const s={current_status:this.currentStageId,previous_status:this.previousStageId,activity_feedback:this.quillEditorText.get("editor").value};this.stageAPI(this.requestID,s)}}decline(){this.isConfirmed=!1,this.modalRef.hide(),this.quillEditorExtendDays.reset()}isStageCompleted(n){return"Rejected"!==this.currentWorkflowStage&&(void 0!==n?this.selectedStages.some(s=>s.order==n.order):void 0)}isPreviousStageSelected(n){return n.order<this.nextStage}isCurrentPreviousStageEqual(n){return this.nextStage===n.order}isPreviousStageExist(n){return this.selectedStages.some(s=>s.order==n.order)}isNextStageExist(n){return-1===this.selectedStages.findIndex(s=>s.order==n.order)}isSubTaskExist(n){if(void 0!==this.subTaskListResponse[0]&&0!==this.subTaskListResponse.length){const s=this.selectedStages[this.selectedStages.length-1];return!this.subTaskListResponse.some(r=>r.workflow_stage===s.id&&!1===r.mark_completed&&!0===r.required)}if(0===this.subTaskListResponse.length)return!0}rearrangeArrayResponse(n){return n.sort((s,o)=>s.order-o.order),n}onSubmitActivityPost(){if(this.isActivitysubmitted=!0,this.quillEditorText.invalid)return!1;if(0===this.selectedStages.length)return this.alertMsg="Stage not selected!",this.isOpen=!0,this.alertType="info",!1;{const n={current_status:this.selectedStages[this.selectedStages.length-1].id,previous_status:this.previousStageId,activity_feedback:this.quillEditorText.get("editor").value};Object.keys(n).forEach(o=>{void 0===n[o]&&delete n[o]});const s=new FormData;s.append("current_status",n.current_status),s.append("previous_status",n.previous_status),s.append("activity_feedback",n.activity_feedback),this.stageAPI(this.requestID,s),this.quillEditorText.get("dropdownEmailTemplate").reset()}}onSubmitEmailPost(){if(0!=this.activitytypeEmail||0!=this.selectedEmailIds.length){if(this.errorMsgTo=!1,this.isEmailPostsubmitted=!0,this.quillEditorEmailText.invalid)return!1;if(0===this.selectedStages.length)return this.alertMsg="Stage is not selected!",this.isOpen=!0,this.alertType="info",!1;{const s=new FormData;if(0==this.selectedEmailIds.length&&0==this.selectedCCEmailIds.length&&0==this.selectedBCCEmailIds.length)s.append("current_status",this.currentWorkflowStageID||this.selectedStages[this.selectedStages.length-1].id),s.append("email_body",this.quillEditorEmailText.get("editorEmailMessage").value),s.append("email_level",this.activitytypeEmail),s.append("upload",this.quillEditorEmailText.get("emailAttachment").value);else{if(0===this.selectedEmailIds.length)return this.errorMsgTo=!0,this.currentActiveMailbox="to",!1;s.append("current_status",this.currentWorkflowStageID||this.selectedStages[this.selectedStages.length-1].id),s.append("email_body",this.quillEditorEmailText.get("editorEmailMessage").value),s.append("mailTo",this.selectedEmailIds),s.append("cc",this.selectedCCEmailIds),s.append("bcc",this.selectedBCCEmailIds),s.append("upload",this.quillEditorEmailText.get("emailAttachment").value)}this.ccpaDataService.addCCPADataEmailActivity(this.constructor.name,q.e.dsarRequestModule,this.requestID,s,this.activitytypeEmail).subscribe(o=>{o&&(this.alertMsg=o.response,this.isOpen=!0,this.alertType="success",this.loadEmailLog(this.requestID),this.quillEditorEmailText.get("editorEmailMessage").reset(),this.quillEditorEmailText.get("emailAttachment").reset(),this.resetQuillEditorEmailTextForm(),this.uploadFilename="",this.isEmailPostsubmitted=!1,0==this.activitytypeEmail&&(this.selectedEmailIds=[]),this.selectedCCEmailIds=[],this.selectedBCCEmailIds=[])},o=>{this.alertMsg=o?.error?.error||o,this.isOpen=!0,this.alertType="danger"})}}else this.errorMsgTo=!0}stageAPI(n,s){this.ccpaDataService.addCCPADataActivity(this.constructor.name,q.e.dsarRequestModule,this.activitytype,n,s).subscribe(o=>{o&&(this.loadDataRequestDetails(),this.alertMsg=o.response,this.isOpen=!0,this.alertType="success",this.loadActivityLog(n),this.quillEditorText.get("editor").setValue(""),this.quillEditorExtendDays.reset(),this.isActivitysubmitted=!1)},o=>{this.alertMsg=o,this.isOpen=!0,this.alertType="danger"})}loadActivityLog(n){this.paginationConfig.currentPage=1,this.ccpaDataService.getCCPADataActivityLog(this.constructor.name,q.e.dsarRequestModule,this.activitytype,n,"?limit="+this.paginationConfig.itemsPerPage+"&page="+this.paginationConfig.currentPage).subscribe(o=>{this.activityLog=o.response.map(p=>p.hasOwnProperty("activity_feedback")&&p.activity_feedback.includes("base64")?{...p,activity_feedback:"<img src="+p.activity_feedback+">"}:p)})}loadEmailLog(n){this.ccpaDataService.getCCPADataEmailLog(this.constructor.name,q.e.dsarRequestModule,n).subscribe(s=>{this.emailLog=s.response})}loadEmailTemplate(){this.dsarRequestService.getEmailTemplate(this.queryOID,this.constructor.name,q.e.dsarRequestModule).subscribe(n=>{this.emailTemplates=n.response})}loadReasonList(){return this.dsarRequestService.getRejectionReason().subscribe(n=>{this.reasonList.push(n)}),this.reasonList}onChangeRequestType(n,s=0){let r=this.checkHtmlText(n.value.template).replace(/\[/g,"").replace(/]/g,"");2==s?this.quillEditorText.controls.editor.setValue(r):this.quillEditorEmailText.controls.editorEmailMessage.setValue(r)}checkHtmlText(n){const s={"Data Subject Name":this.firstName,"Consumer Name":this.firstName,"Company name":this.currentSelectedOrgname,"Company name privacy team":this.currentSelectedOrgname,"Company Name":this.currentSelectedOrgname};var o=new RegExp(Object.keys(s).join("|"),"gi");return n.replace(o,function(r){return s[r]})}onChangeReason(n){this.quillEditorRejectRequest.controls.reason.setValue(n.target.value)}nameInitials(n,s){if(void 0!==n&&void 0!==s)return n.charAt(0)+s.charAt(0)}onClosed(n){this.alertMsg=!n,this.isOpen=!1}openModalPopup(n,s){""!==s?(this.isResponseToSubTask=!1,this.isEditSubTask=!0,this.selectedTaskID=s.id,this.selectedAssignee=s.assignee,this.subTaskFields.assignee=s.assignee,this.subTaskFields.name=s.name,this.subTaskFields.description=s.description,this.subTaskFields.required=s.required,this.subTaskFields.deadline=new Date(s.deadline),this.subTaskFields.reminder=null===s.reminder?null:new Date(s.reminder),this.modalService.open(n,{ariaLabelledBy:"modal-basic-title"}).result.then(r=>{},r=>{})):(this.subTaskFields.deadline=null,this.subTaskFields.reminder=null,this.subTaskFields.assignee=null,this.subTaskFields.description=null,this.subTaskFields.name=null,this.subTaskFields.required=null,this.isEditSubTask=!1,this.selectedAssignee="",this.onResetSubTask(),this.isAddSubTaskSubmit=!1,this.modalService.open(n,{ariaLabelledBy:"modal-basic-title"}).result.then(o=>{},o=>{}))}openResponseModalPopup(n,s){this.isResponseToSubTask=!1,this.selectedTaskID=s.id,this.subtaskAttachments=s.upload,this.displayTaskDescription=s.description,this.displayTaskname=s.name,this.displayTaskDeadline=s.deadline,this.modalService.open(n,{ariaLabelledBy:"modal-basic-title"}).result.then(o=>{},o=>{this.subTaskResponseForm.reset()})}openFilePreviewModalPopup(n){this.modalService.open(n,{ariaLabelledBy:"modal-basic-title"}).result.then(s=>{},s=>{})}
1updateRequestDetails(){if(this.isRequestDetailFormsubmit=!0,this.editRequestDetailForm.invalid)return!1;this.dsarRequestService.updateDSARRequestDetailsByID(this.currentManagedOrgID,this.currrentManagedPropID,this.requestID,{req_accepting_agent:this.editRequestDetailForm.controls.requestacceptingagent.value,approver:this.editRequestDetailForm.controls.approver.value,risk_factor:this.editRequestDetailForm.controls.riskfactor.value,country:this.editRequestDetailForm.controls.country.value,state:this.editRequestDetailForm.controls.state.value,city:this.editRequestDetailForm.controls.city.value},this.constructor.name,q.e.dsarRequestModule).subscribe(s=>{this.alertMsg=s.response,this.isOpen=!0,this.alertType="success",this.loadDataRequestDetails(),this.modalService.dismissAll("Canceled")},s=>{this.alertMsg=s,this.isOpen=!0,this.alertType="danger",this.modalService.dismissAll("Canceled")})}loadDSARRequestDetailsByID(n,s,o){let r;this.dsarRequestService.getDSARRequestDetailsByID(n,s,o,this.constructor.name,q.e.dsarRequestModule).subscribe(p=>{"No data found."!==p.response?(this.requestDetailsbyId=p.response,this.riskFactorList=p.response.risk_factor,r=p.response.approver,this.selectedApprover=r[0].approver_id,this.editRequestDetailForm.controls.approver.setValue(this.selectedApprover)):(this.alertMsg=p.response,this.isOpen=!0,this.alertType="info")},p=>{this.alertMsg=p,this.isOpen=!0,this.alertType="danger"})}toggleBtn(){this.isListVisible=!this.isListVisible}onClickEndDays(n,s){this.isListVisible=!1;const o={extend_days:Number(this.respDaysLeft),days_left:Number(n),reason:s};this.dsarRequestService.updateDSARRequestDetailsByID(this.currentManagedOrgID,this.currrentManagedPropID,this.requestID,o,this.constructor.name,q.e.dsarRequestModule).subscribe(r=>{this.alertMsg=r.response,this.isOpen=!0,this.alertType="success",this.loadDataRequestDetails()},r=>{this.alertMsg=r,this.isOpen=!0,this.alertType="danger"})}onSubmitEndDays(n){if(this.customdays<=0)return this.alertMsg="Negative numbers are not allowed!",this.isOpen=!0,this.alertType="danger",!1;this.isListVisible=!1;const s={extend_days:Number(this.respDaysLeft),days_left:Number(this.customdays)};this.dsarRequestService.updateDSARRequestDetailsByID(this.currentManagedOrgID,this.currrentManagedPropID,this.requestID,s,this.constructor.name,q.e.dsarRequestModule).subscribe(o=>{this.alertMsg=o.response,this.isOpen=!0,this.alertType="success",this.customdays="",this.loadDataRequestDetails()},o=>{this.alertMsg=o,this.isOpen=!0,this.alertType="danger"})}loadCountryList(){this.ccpaFormConfigService.getCountryListLocal().subscribe(n=>this.countryList=n)}loadStateList(){this.ccpaFormConfigService.getStateListLocal().subscribe(n=>this.stateList=n)}onSelectCountry(n){this.filteredStateList=[],this.filteredStateList=this.stateList.filter(s=>s.country_id==n.item.id)}onCancelClick(){this.isRequestDetailFormsubmit=!1,this.modalService.dismissAll("Canceled")}preFillData(){this.editRequestDetailForm.controls.country.setValue(this.respCountry),this.editRequestDetailForm.controls.state.setValue(this.respState),this.editRequestDetailForm.controls.city.setValue(this.respCity),this.editRequestDetailForm.controls.requestacceptingagent.setValue(this.reqAcceptingagent)}pageChangeEvent(n){this.paginationConfig.currentPage=n,this.ccpaDataService.getCCPADataActivityLog(this.constructor.name,q.e.dsarRequestModule,this.activitytype,this.requestID,"?limit="+this.paginationConfig.itemsPerPage+"&page="+this.paginationConfig.currentPage).subscribe(o=>{this.activityLog=o.response,0!==o.response.length?this.activityLog=o.response:(this.alertMsg="No record found",this.isOpen=!0,this.alertType="info")},o=>{this.alertMsg=o,this.isOpen=!0,this.alertType="danger"})}onSubmitAddSubTask(n){if(this.isAddSubTaskSubmit=!0,n.invalid)return!1;let s;if(this.isSubmitBtnClickedOnce=!0,s=this.isConfirmed?this.currentWorkflowStageID:this.currentStageId,(null==this.isConfirmed||!this.isConfirmed)&&(s=this.currentWorkflowStageID),void 0!==s){const o={assignee:n.value.assignee,name:n.value.name,description:n.value.description,required:n.value.required||!1,deadline:n.value.deadline,reminder:n.value.reminder};this.isEditSubTask?this.dsarRequestService.updateSubTask(this.queryCompanyID,this.selectedTaskID,o,this.constructor.name,q.e.dsarRequestModule).subscribe(r=>{this.alertMsg=r.response,this.isOpen=!0,this.alertType="success",this.authService.n
1otificationUpdated.next(!0),this.getSubTaskList(),n.resetForm(),this.onResetSubTask(),this.isSubmitBtnClickedOnce=!1},r=>{this.alertMsg=r,this.isOpen=!0,this.alertType="danger",this.isSubmitBtnClickedOnce=!1,this.onResetSubTask()}):this.dsarRequestService.addSubTask(this.queryCompanyID,this.requestID,s,o,this.constructor.name,q.e.dsarRequestModule).subscribe(r=>{this.alertMsg=r.response,this.isOpen=!0,this.alertType="success",this.authService.notificationUpdated.next(!0),n.resetForm(),this.getSubTaskList(),this.isSubmitBtnClickedOnce=!1,this.modalService.dismissAll("Canceled")},r=>{this.onResetSubTask(),this.isSubmitBtnClickedOnce=!1,this.alertMsg=r,this.isOpen=!0,this.alertType="danger"})}else this.onResetSubTask(),this.alertMsg="Workflow stages are not available!",this.isOpen=!0,this.alertType="info",this.isSubmitBtnClickedOnce=!1}onSubmitExtendDays(){if(this.isExtenddasysubmitted=!0,this.isExtendDaysExceeded=this.quillEditorExtendDays.controls.customdays.value<1||this.quillEditorExtendDays.controls.editorReason.value>Number(k.V.DEFAULT_DAYS),this.quillEditorExtendDays.invalid)return!1;if(this.isExtendDaysExceeded)return!1;if(this.onClickEndDays(this.quillEditorExtendDays.get("customdays").value,this.quillEditorExtendDays.controls.editorReason.value),0!==this.selectedStages.length){const n={current_status:this.selectedStages[this.selectedStages.length-1].id,previous_status:this.previousStageId,activity_feedback:"Days Extended: "+this.quillEditorExtendDays.get("customdays").value+"<br/>"+this.quillEditorExtendDays.get("editorReason").value,reason:this.quillEditorExtendDays.get("editorReason").value};Object.keys(n).forEach(o=>{void 0===n[o]&&delete n[o]});const s=new FormData;s.append("current_status",n.current_status),s.append("previous_status",n.previous_status),s.append("activity_feedback",n.activity_feedback),this.stageAPI(this.requestID,s),this.decline(),this.isExtenddasysubmitted=!1}else this.alertMsg="Select stage!",this.isOpen=!0,this.alertType="danger"}onSubmitRejectRequest(n){if(this.isRejectrequestsubmitted=!0,this.quillEditorRejectRequest.invalid)return!1;{const s={comment:this.quillEditorRejectRequest.get("editorComments").value,reason:this.quillEditorRejectRequest.get("reason").value};Object.keys(s).forEach(p=>{void 0===s[p]&&delete s[p]}),(new FormData).append("comment",s.comment);const r="duplicate"==n?this.duplicateRequestID:this.requestID;this.dsarRequestService.rejectDSARRequest(r,s,this.constructor.name,q.e.dsarRequestModule).subscribe(p=>{200==p.status&&(this.alertMsg="Request has been rejected!",this.isOpen=!0,this.alertType="success",this.loadDataRequestDetails(),this.loadActivityLog(r))},p=>{this.alertMsg="error",this.isOpen=!0,this.alertType="danger"}),this.decline()}}resetSubtaskForm(n){n.resetForm()}onResetSubTask(){this.isAddSubTaskSubmit=!1,this.modalService.dismissAll("Canceled")}isInvalidDate(n){"Invalid date"===n.target.value&&(n.target.value=(0,x.p6)(new Date,"MM/dd/yyyy","en"))}uploadFile(n,s){const o=["pdf","txt","jpeg","jpg","png","doc","docx","csv","xls"];if(n.target.files[0].size>2097152)return this.showFilesizeerror=!0,!1;{let r=n.target.files[0].name.split(".").pop();if(o.some(p=>p==r)){this.showFilesizeerror=!1,this.showFileExtnerror=!1;const p=n.target.files[0];"email"!==s?(this.uploadFilename=p.name,this.multipleFile.push(n.target.files[0]),this.subTaskResponseForm.get("uploaddocument").setValue(this.multipleFile)):(this.uploadFilename=p.name,this.quillEditorEmailText.get("emailAttachment").setValue(p))}else this.showFileExtnerror=!0}}removeFile(n){const s=this.multipleFile.indexOf(n);this.multipleFile.splice(s,1)}onSubmitSubTaskResponse(){if(this.isResponseSubmitted=!0,this.subTaskResponseForm.invali
1d)return!1;{const s=new FormData;if(s.append("task_response",this.subTaskResponseForm.get("taskresponse").value),s.append("mark_completed",this.subTaskResponseForm.get("markcompleted").value),0!==this.multipleFile.length)for(var n=0;n<this.multipleFile.length;n++)s.append("upload[]",this.multipleFile[n]);this.dsarRequestService.addSubTaskResponse(this.selectedTaskID,this.queryCompanyID,this.currentManagedOrgID,this.currrentManagedPropID,s,this.constructor.name,q.e.dsarRequestModule).subscribe(o=>{this.getSubTaskList(),this.alertMsg="subtask response submitted successfully",this.isOpen=!0,this.alertType="success",this.authService.notificationUpdated.next(!0),this.multipleFile=[],this.onCancelSubTaskResponse()},o=>{this.onCancelSubTaskResponse(),this.alertMsg=JSON.stringify(o),this.isOpen=!0,this.alertType="danger"})}}selectStageOnPageLoad(n){if(n){let s;const o=this.workflowStages.filter(r=>r.id===n);void 0!==o&&o.length>0&&(s=this.workflowStages.slice(0,o[0].order),this.selectedStages=s)}else this.isEmailVerified&&this.isemailverificationRequired?(this.selectedStages.push(this.workflowStages[0]),this.selectedStages.push(this.workflowStages[1]),this.currentWorkflowStageID=this.workflowStages[1].id):this.isEmailVerified||this.isemailverificationRequired?(this.selectedStages.push(this.workflowStages[0]),this.currentWorkflowStageID=this.workflowStages[0].id):(this.selectedStages.push(this.workflowStages[0]),this.selectedStages.push(this.workflowStages[1]),this.currentWorkflowStageID=this.workflowStages[1].id)}getSubTaskList(){let n;n=this.selectedStages.length>=1?this.getWorkflowStageID(this.selectedStages):this.currentStageId?this.currentStageId:this.currentWorkflowStageID,void 0!==n&&0!==n.length?this.dsarRequestService.getSubTaskByWorkflowID(this.requestID,n,this.constructor.name,q.e.dsarRequestModule).subscribe(o=>{this.subTaskListResponse=o},o=>{this.alertMsg=o,this.isOpen=!0,this.alertType="danger"}):(this.alertMsg="Stage not selected!",this.isOpen=!0,this.alertType="info")}getWorkflowStageID(n){const s=[];return n.forEach(o=>{s.push(o.id)}),s}getStagename(n){const s=this.workflowStages.filter(o=>o.id===n);if(0!==s.length)return s[0].stage_title}onValueChange(n){this.minDate=new Date,this.maxDate=null===n?new Date(this.subTaskFields.deadline):new Date(n),this.minDate.setDate(this.minDate.getDate()),this.maxDate.setDate(this.maxDate.getDate())}displayApproverName(n){let s=this.ApproverList.findIndex(o=>o.approver_id==n&&o.email_verified);return this.displayAssignee=this.ApproverList[s].user_name}onCancelSubTaskResponse(){this.isResponseSubmitted=!1,this.uploadFilename="",this.subTaskResponseForm.reset(),this.modalService.dismissAll("Canceled")}onCancelFilePreview(){this.modalService.dismissAll("Canceled")}onChanges(){this.subTaskResponseForm.get("taskresponse").valueChanges.subscribe(n=>{""!==n?this.subTaskResponseForm.get("markcompleted").enable():this.subTaskResponseForm.get("markcompleted").disable()})}viewClientRequestFileAttachment(){let n,s;this.skeletonLoading=!0,this.dsarRequestService.viewUserUploadedFile(this.requestID,this.constructor.name,q.e.dsarRequestModule).subscribe(o=>{if(this.skeletonLoading=!1,o){this.base64FileCode=o.upload,n=o.upload_ext;let r=n.split(".");s=this.changeFileType(r[1]);const p=new Blob([this._base64ToArrayBuffer(this.base64FileCode)],{type:s}),Z=URL.createObjectURL(p);return window.open(Z,"iframeFilepreview")}},o=>{this.skeletonLoading=!1})}changeFileType(n){switch(n){case"txt":return"text/plain";case"pdf":return"application/pdf";case"doc":case"docx":return"application/msword";case"csv":return"text/csv";case"png":return"image/png";case"jpg":return"image/jpg";case"jpeg":return"image/jpeg"}}_base64ToArrayBuffer(n){const s=window.atob(n),o=s.length,r=new Uint8Array(o);for(let p=0;p<o;p++)r[p]=s.charCodeAt(p);return r.buffer}isCustomFieldEmail(n,s){return"Email"===n&&!s}isEmailIDVerified(n,s){return this.emailVerificationStatus="Email"===n&&s,this.emailVerificationStatus}isContainCaptchacodeLabel(n){return"Captcha code"===n}isFileExist(n){return""!==n}verifyUserEmailID(){this.dsarRequestService.verifyClientEmailID(this.requestID,this.constructor.name,q.e.dsarRequestModule).subscribe(n=>{this.alertMsg=n.response,this.isOpen=!0,this.alertType="success",this.loadActivityLog(this.requestID)},n=>{this.alertMsg="error",this.isOpen=!0,this.alertType="danger"})}onPreviousSearchPosition(){this.translateX+=150}onNextSearchPosition(){this.translateX-=150}removeDSARRequest(n){this.controlname=n,this.openModal(this.confirmDeleteModal)}deleteDSARRequest(){this.ccpaDataService.deleteDSARRequestByID(this.constructor.name,q.e.dsarRequestModule,this.currentManagedOrgID,this.currrentManagedPropID,this.requestID).subscribe(n=>{this.alertMsg=n.response,this.isOpen=!0,this.alertType="success",this.router.navigate(["privacy/dsar/requests"],{queryParams:{oid:this.queryOID,pid:this.queryPID},queryParamsHandling:"merge",skipLocationChange:!1})},n=>{this.alertMsg="error",this.isOpen=!0,this.alertType="danger"})}cancelModal(){return this.modalRef.hide(),this.confirmationForm.reset(),this.isconfirmationsubmitted=!1,!1}showControlContent(){if("DSAR Request detail"===this.controlname)return this.requestID}confirmDeleteDSARRequest(){this.modalRef.hide(),this.deleteDSARRequest()}onCloseDuplicatereqModal(){this.isRejectrequestsubmitted=!1,this.modalRef.hide()}onSubmitConfirmation(n){return this.isconfirmationsubmitted=!0,!this.confirmationForm.invali
1d&&"Delete"===this.confirmationForm.value.userInput&&void("DSAR Request detail"===n&&this.confirmDeleteDSARRequest())}stageContentStyle(){return void 0===this.showStageGuidanceText?{"min-height":"20px"}:this.showStageGuidanceText.length<=150?{"min-height":"80px"}:this.showStageGuidanceText.length<=300?{"min-height":"90px"}:this.showStageGuidanceText.length<=450?{"min-height":"100px"}:this.showStageGuidanceText.length<=650?{"min-height":"120px"}:this.showStageGuidanceText.length<=1050?{"min-height":"210px"}:void 0}leftClickStatus(){if(this.translateX>=0)return!0}rightClickStatus(){return this.translateX<=this.scrollLimit}showStageTitleAndContent(n){n.id===this.currentWorkflowStageID&&(this.showStageTitle=n.stage_title,this.showStageGuidanceText=n.guidance_text,this.cdRef.markForCheck())}viewClientAttachedFile(n){let s,o;this.skeletonLoading=!0,this.dsarRequestService.viewClientsFileAttachments(n,this.constructor.name,q.e.dsarRequestModule).subscribe(r=>{if(this.skeletonLoading=!1,r){this.base64FileCode=r.response.upload,s=r.response.filename;let p=s.split(".");o=this.changeFileType(p[1]);const Z=new Blob([this._base64ToArrayBuffer(this.base64FileCode)],{type:o}),A=URL.createObjectURL(Z);return window.open(A,"iframeFilepreview")}},r=>{this.skeletonLoading=!1})}viewClientsEmailAttachment(n){let s,o;this.skeletonLoading=!0,this.dsarRequestService.getClientsEmailAttachments(n,this.constructor.name,q.e.dsarRequestModule).subscribe(r=>{if(this.skeletonLoading=!1,r){this.base64FileCode=r.response.upload,s=r.response.filename;let p=s.split(".");o=this.changeFileType(p[1]);const Z=new Blob([this._base64ToArrayBuffer(this.base64FileCode)],{type:o}),A=URL.createObjectURL(Z);return window.open(A,"iframeFilepreview")}},r=>{this.skeletonLoading=!1})}viewSubtaskResponseAttachedFile(n){let s,o=n.filename.split(".");s=this.changeFileType(o[1]),this.dsarRequestService.getSubtaskFileAttachements(n.id,this.constructor.name,q.e.dsarRequestModule).subscribe(r=>{const p=new Blob([this._base64ToArrayBuffer(r.response[0].content)],{type:s}),Z=URL.createObjectURL(p);return window.open(Z,"iframeFilepreview")},r=>{console.log(r,"error..")})}isWorkflowStageCompleted(){return this.selectedStages.length===this.workflowStages.length}showCustomFieldValues(){let n,s;void 0!==this.customFieldObj&&this.customFieldObj.forEach(o=>{"First name"==o.key?n=o.value:"Last name"==o.key&&(s=o.value,this.firstName=n+" "+s)})}ngAfterViewChecked(){let n=this.rightClickStatus(),s=this.isWorkflowStageCompleted();if(n!==this.rightArrowStatus&&(this.rightArrowStatus=n,this.cdRef.detectChanges()),s!==this.isRequestCompleted&&(this.isRequestCompleted=s,this.cdRef.detectChanges()),void 0!==this.workflowStageScroller&&null!==this.workflowStageScroller.nativeElement.querySelector("li").offsetWidth){const r=this.workflowStageScroller.nativeElement.parentElement.offsetWidth,p=this.workflowStageScroller.nativeElement.querySelector("li").offsetWidth;this.scrollLimit=-(p*this.workflowStageScroller.nativeElement.childElementCount-r)}!this.isClosebtnClick&&"emailtext"!==this.currentActiveMailbox&&this.userService.isUserClickOutsideCustomDropDown&&(this.isClosebtnClick=this.userService.isUserClickOutsideCustomDropDown)}onCloseUserAuthModal(){this.bsmodalService.hide(1),this.backToDSARRequest()}ngAfterViewInit(){this.loadEmailLog(this.requestID),this.loadActivityLog(this.requestID),this.cdRef.detectChanges()}ngAfterContentChecked(){this.cdRef.detectChanges()}openDuplicateRequest(){this.openCommonLargeModal(this.duplicateRequestModal)}isSamerequestType(){this.duplicateRequest[0].request_data&&(this.subject_typeid==JSON.parse(this.duplicateRequest[0].request_data).subject_type[0]&&(this.duplicateReqType=this.subjectType),this.request_typeid==JSON.parse(this.duplicateRequest[0].request_data).request_type[0]&&(this.duplicateSubType=this.requestType))}showReqData(n){this.duplicateRequestID=n.id,this.progressStaus=1==n.request_status?"New":2==n.request_status?"In progress":-1==n.request_status?"Rejected":"Completed",this.subject_typeid===JSON.parse(n.request_data).subject_type[0]&&(this.duplicateSubType=this.subjectType),this.request_typeid===JSON.parse(n.request_data).request_type[0]&&(this.duplicateReqType=this.requestType),this.currentworkflowID===JSON.parse(n.request_data).workflow&&(this.duplicateReqWorkflow=this.workflowName),this.duplicateRequestStatus=this.getStatusStyle(n.request_status);let s=JSON.parse(n.request_data),o=Object.keys(s).map(r=>[r,s[r]]);return this.capitalizatFirstLetterForDuplicate(Object.keys(JSON.parse(n.request_data))),this.displayCurrentRequestData=o}capitalizatFirstLetterForDuplicate(n){if("object"!=typeof n){let s=n.replace("_"," ");return s.charAt(0).toUpperCase()+s.slice(1)}for(const s of n){let o=s.replace("_"," ");return o.charAt(0).toUpperCase()+o.slice(1)}}getStatusStyle(n){return{color:1==n?"#007bff":2==n?"#ffc107":-1==n?"#bd2130":"#28a745"}}onClickEmail(){this.activitytypeEmail=0,1==this.activitytypeEmail?this.selectedEmailIds=[this.getCustomFields(this.customFields).find(n=>"Email"===n.key)?.value]:(this.selectedEmailIds=[],this.selectedBCCEmailIds=[],this.selectedCCEmailIds=[],this.quillEditorEmailText.controls.mailto.reset(),this.quillEditorEmailText.controls.cc.reset(),this.quillEditorEmailText.controls.bcc.reset(),this.isCC=!1,this.isBCC=!1)}changeActivityType(n,s=""){"email"==s?(this.activitytypeEmail=parseInt(n.currentTarget.value),1==this.activitytypeEmail?(this.errorMsgTo=!1,this.selectedEmailIds=[this.getCustomFields(this.customFields).find(o=>"Email"===o.key)?.value]):(this.selectedEmailIds=[],this.selectedBCCEmailIds=[],this.selectedCCEmailIds=[],this.quillEditorEmailText.controls.mailto.reset(),this.quillEditorEmailText.controls.cc.reset(),this.quillEditorEmailText.controls.bcc.reset(),this.isCC=!1,this.isBCC=!1)):this.activitytype=parseInt(n.currentTarget.value)}reOpenrequest(){this.dsarRequestService.reopenDeletedDSARRequest(this.currentManagedOrgID,this.currrentManagedPropID,this.requestID,this.constructor.name,q.e.dsarRequestModule).subscribe(n=>{if(200==n.status)if(0!==this.selectedStages.length){const s={current_status:this.selectedStages[this.selectedStages.length-1].id,previous_status:this.previousStageId,activity_feedback:"Request reopen"};
1Object.keys(s).forEach(r=>{void 0===s[r]&&delete s[r]});const o=new FormData;o.append("current_status",s.current_status),o.append("previous_status",s.previous_status),o.append("activity_feedback",s.activity_feedback),this.stageAPI(this.requestID,o),this.isExtenddasysubmitted=!1}else this.alertMsg="Select stage!",this.isOpen=!0,this.alertType="danger"},n=>{this.alertMsg=n,this.isOpen=!0,this.alertType="danger"})}onKeyChanges(n){this.isExtendDaysExceeded=!(n.target.value>=1&&n.target.value<=Number(k.V.DEFAULT_DAYS))}getCustomSubjectType(n,s,o){const r=JSON.parse(this.requestForm);let p;if(!Array.isArray(r[0])){const Z=JSON.parse(this.requestForm),A=Z.findIndex(R=>R.controlId==n);let O=[];for(let R=0;R<Object.values(s).length;R++)Z[A].selectOptions.filter(I=>{I.subject_type_id==Object.values(s)[R]&&(O.includes(I.name)||O.push(I.name))});return O}for(let Z=0;Z<r.length;Z++){let A="undefined"!==o.form_language?o.form_language:"EN";if(p=r[Z].findIndex(O=>O.languageselected==A),-1!==p){const O=r[Z].findIndex(I=>I.controlId==n);let R=[];for(let I=0;I<Object.values(s).length;I++)-1!==O&&r[Z][O].selectOptions.filter(B=>{B.subject_type_id==Object.values(s)[I]&&(R.includes(B.name)||R.push(B.name))});return R}}}getCustomRequestType(n,s,o){const r=JSON.parse(this.requestForm);let p;if(!Array.isArray(r[0])){const Z=JSON.parse(this.requestForm),A=Z.findIndex(R=>R.controlId==n);let O=[];for(let R=0;R<Object.values(s).length;R++)Z[A].selectOptions.filter(I=>{I.request_type_id==Object.values(s)[R]&&(O.includes(I.name)||O.push(I.name))});return O}for(let Z=0;Z<r.length;Z++){let A="undefined"!==o.form_language?o.form_language:"EN";if(p=r[Z].findIndex(O=>O.languageselected==A),-1!==p){const O=r[Z].findIndex(I=>I.controlId==n);let R=[];for(let I=0;I<Object.values(s).length;I++)-1!==O&&r[Z][O].selectOptions.filter(B=>{B.request_type_id==Object.values(s)[I]&&(R.includes(B.name)||R.push(B.name))});return R}}}loadOrgTeamMembers(n){this.orgService.getOrgTeamMembers(n,this.constructor.name,q.e.companyModule).subscribe(s=>{let r=s.response.filter(p=>1==p.email_verified);this.teamMemberList=r,this.paginationConfig.totalItems=s.count})}typeAndSearchEmailIDS(n,s){this.currentActiveMailbox=s,this.isEmailselected=!1,this.isClosebtnClick=!1,this.userService.isUserClickOutsideCustomDropDown=!1;let r=document.getElementById("txtemailto")?.value,p=document.getElementById("txtemailcc")?.value,Z=document.getElementById("txtemailbcc")?.value;this.userEmailList=[],"emailtext"==this.currentActiveMailbox&&(document.getElementById("txtemailto").value="",document.getElementById("txtemailcc").value="",document.getElementById("txtemailbcc").value=""),void 0!==r&&r.length>0&&"to"==s&&(this.currentActiveMailbox=s,this.userEmailList=this.searchFromArray(this.teamMemberList,r)),void 0!==p&&p.length>0&&"cc"==s&&(this.currentActiveMailbox=s,this.userEmailList=this.searchFromArray(this.teamMemberList,p)),void 0!==Z&&Z.length>0&&"bcc"==s&&(this.currentActiveMailbox=s,this.userEmailList=this.searchFromArray(this.teamMemberList,Z))}onClickEditorEmailMessage(){this.currentActiveMailbox="emailtext",this.inValidEmailAddress=!1,this.duplicateEmailMsg=!1,(void 0!==this.selectedEmailIds&&this.selectedEmailIds.length>0||void 0!==this.selectedCCEmailIds&&this.selectedCCEmailIds.length>0||void 0!==this.selectedBCCEmailIds&&this.selectedBCCEmailIds.length>0)&&(this.isEmailTextboxEnable=!1)}onClickToCcBcc(n){return null!==document.getElementById("txtemailto")&&(document.getElementById("txtemailto").value=""),null!==document.getElementById("txtemailcc")&&(document.getElementById("txtemailcc").value=""),null!==document.getElementById("txtemailbcc")&&(document.getElementById("txtemailbcc").value=""),"to"==n?(this.currentActiveMailbox="to",this.isEmailTextboxEnable=!0):"cc"==n?(this.isCC=!0,this.currentActiveMailbox="cc",this.isEmailTextboxEnable=!0):"bcc"==n?(this.isBCC=!0,this.currentActiveMailbox="bcc",this.isEmailTextboxEnable=!0):this.isEmailTextboxEnable=!1}searchFromArray(n,s){let r,o=[];for(r=0;r<n.length;r++)(-1!==n[r].user_email.indexOf(s)||-1!==n[r].user_name.indexOf(s))&&o.push(n[r]);return o}onSelectemail(n,s,o){if(document.getElementById("txtemailto").value="",void 0!==n.user_email)"to"==s&&(this.selectedEmailIds.includes(n.user_email)||(this.selectedEmailIds.push(n.user_email),this.isClosebtnClick=!0,document.getElementById("txtemailto").value="")),"cc"==s&&(this.selectedCCEmailIds.includes(n.user_email)||(this.selectedCCEmailIds.push(n.user_email),this.isClosebtnClick=!0,document.getElementById("txtemailcc").value="")),"bcc"==s&&(this.selectedBCCEmailIds.includes(n.user_email)||(this.selectedBCCEmailIds.push(n.user_email),this.isClosebtnClick=!0,document.getElementById("txtemailbcc").value=""));else{if("to"==s)if(this.validateEmailAddress(n))if(n.includes(",")||n.includes(" ")){let r=n.includes(" ")?n.split(" "):n.split(",");for(let p of r)this.selectedEmailIds.push(p)}else this.selectedCCEmailIds.includes(n)||this.selectedEmailIds.includes(n)||this.selectedBCCEmailIds.includes(n)?this.duplicateEmailMsg=!0:this.selectedEmailIds.push(n);else if(n.length>=5)if(n.includes(",")||n.includes(" ")){let r=n.includes(" ")?n.split(" "):n.split(",");for(let p of r)this.validateEmailAddress(p)?this.selectedEmailIds.push(p):this.inValidEmailAddress=!0}else this.validateEmailAddress(n)?(this.selectedCCEmailIds.includes(n)||this.selectedEmailIds.includes(n)||this.selectedBCCEmailIds.includes(n)?this.duplicateEmailMsg=!0:this.selectedEmailIds.push(n),this.isClosebtnClick=!0):this.inValidEmailAddress=!0;if("cc"==s){if(this.validateEmailAddress(n)){let r=n.includes(" ")?n.split(" "):n.split(",");for(let p of r)this.selectedCCEmailIds.includes(p)||this.selectedEmailIds.includes(p)||this.selectedBCCEmailIds.includes(p)?this.duplicateEmailMsg=!0:this.selectedCCEmailIds.push(p)}else if(n.length>=5)if(n.includes(",")||n.includes(" ")){let r=n.includes(" ")?n.split(" "):n.split(",");for(let p of r)this.validateEmailAddress(p)?this.selectedCCEmailIds.includes(p)||this.selectedEmailIds.includes(p)||this.selectedBCCEmailIds.includes(p)?this.duplicateEmailMsg=!0:(this.selectedCCEmailIds.push(p),this.isClosebtnClick=!0):this.inValidEmailAddress=!0}else this.validateEmailAddress(n)?this.selectedCCEmailIds.includes(n)||this.selectedEmailIds.includes(n)||this.selectedBCCEmailIds.includes(n)?this.duplicateEmailMsg=!0:(this.selectedCCEmailIds.push(n),this.isClosebtnClick=!0):this.inValidEmailAddress=!0;document.getElementById("txtemailcc").value=""}if("bcc"==s){if(this.validateEmailAddress(n)){let r=n.includes(" ")?n.split(" "):n.split(",");for(let p of r)this.selectedBCCEmailIds.includes(p)||this.selectedCCEmailIds.includes(p)||this.selectedEmailIds.includes(p)?this.duplicateEmailMsg=!0:this.selectedBCCEmailIds.push(p)}else if(n.length>=5)if(n.includes(",")||n.includes(" ")){let r=n.includes(" ")?n.split(" "):n.split(",");for(let p of r)this.validateEmailAddress(p)?!this.selectedBCCEmailIds.includes(p)&&!this.selectedCCEmailIds.includes(p)&&!this.selectedEmailIds.includes(p)&&
1(this.selectedBCCEmailIds.push(p),this.isClosebtnClick=!0):this.inValidEmailAddress=!0}else this.validateEmailAddress(n)?this.selectedBCCEmailIds.includes(n)||this.selectedCCEmailIds.includes(n)||this.selectedEmailIds.includes(n)?this.duplicateEmailMsg=!0:(this.selectedBCCEmailIds.push(n),this.isClosebtnClick=!0):this.inValidEmailAddress=!0;document.getElementById("txtemailbcc").value=""}}}validateEmailAddress(n){let s=/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;if(n.includes(",")||n.includes(" ")){let o=n.includes(",")?n.split(" "):n.split(",");for(let r of o)return!!s.test(r)}return!!s.test(n)}onClickCCBtn(){this.inValidEmailAddress=!1,this.duplicateEmailMsg=!1,this.isClosebtnClick||(this.isClosebtnClick=!0),this.isCC=!this.isCC}onClickBCCBtn(){this.inValidEmailAddress=!1,this.duplicateEmailMsg=!1,this.isClosebtnClick||(this.isClosebtnClick=!0),this.isBCC=!this.isBCC}removeFromSelectedList(n,s){if("to"==s){const o=this.selectedEmailIds.findIndex(r=>r==n);-1!==o&&this.selectedEmailIds.splice(o,1)}else if("cc"==s){const o=this.selectedCCEmailIds.findIndex(r=>r==n);this.selectedCCEmailIds.splice(o,1)}else if("bcc"==s){const o=this.selectedBCCEmailIds.findIndex(r=>r==n);this.selectedBCCEmailIds.splice(o,1)}}isEmailAlreadySelected(n){if(this.selectedEmailIds.some(s=>s==n.user_email)||this.selectedCCEmailIds.some(s=>s==n.user_email)||this.selectedBCCEmailIds.some(s=>s==n.user_email))return!0}onClickCrossbtn(){this.isClosebtnClick=!this.isClosebtnClick}clickedTextBox(n,s){this.currentActiveMailbox=s,this.isMouseout=!0;let o=document.getElementById("txtemailto")?.value,r=document.getElementById("txtemailbcc")?.value;(null!=o||null!=r)&&(this.userService.isUserClickOutsideCustomDropDown=!1),""!==n.target.value&&"to"==s&&(this.userEmailList=this.searchFromArray(this.teamMemberList,n.target.value),this.onSelectemail(n.target.value,"to","mouseout")),""!==n.target.value&&"cc"==s&&(this.userEmailList=this.searchFromArray(this.teamMemberList,n.target.value),this.onSelectemail(n.target.value,"cc","mouseout")),""!==n.target.value&&"bcc"==s&&(this.userEmailList=this.searchFromArray(this.teamMemberList,n.target.value),this.onSelectemail(n.target.value,"bcc","mouseout"))}onPressEnterKey(n,s){if(this.duplicateEmailMsg=!1,this.inValidEmailAddress=!1,"to"==s&&(this.errorMsgTo=!1),"Enter"==n.key)return this.addTopPostionStyle="",this.onSelectemail(n.target.value,s),this.errorMsgTo=!1,!1;if("Backspace"==n.key&&"to"==s){if(""!==n.target.value&&void 0!==n.target.value)return!0;this.selectedEmailIds.splice(this.selectedEmailIds.length-1,1)}if("Backspace"==n.key&&"cc"==s){if(""!==n.target.value&&void 0!==n.target.value)return!0;this.selectedCCEmailIds.splice(this.selectedCCEmailIds.length-1,1)}if("Backspace"==n.key&&"bcc"==s){if(""!==n.target.value&&void 0!==n.target.value)return!0;this.selectedBCCEmailIds.splice(this.selectedBCCEmailIds.length-1,1)}("Backspace"!==n.key&&"to"==s||"Backspace"!==n.key&&"cc"==s||"Backspace"!==n.key&&"bcc"==s)&&(this.addTopPostionStyle=this.addTopPostion())}addPixel(){let p,n=0,s=0,o=0;return void 0!==document.getElementById("divto")&&null!==document.getElementById("divto")&&(n=document.getElementById("divto").getBoundingClientRect().height-30),void 0!==document.getElementById("divcc")&&null!==document.getElementById("divcc")&&(s=document.getElementById("divcc").getBoundingClientRect().height-30),void 0!==document.getElementById("divbcc")&&null!==document.getElementById("divbcc")&&(o=document.getElementById("divbcc").getBoundingClientRect().height-30),"to"==this.currentActiveMailbox?(p=60,n<=30?p:p+(n-1
15)):"cc"==this.currentActiveMailbox?(p=110,n+s<=60?p:p+(n+s-20)):"bcc"==this.currentActiveMailbox?(p=160,0!==s&&n+s+o<=90?p:0==s&&n+s+o<=90?p=110:p+(n+s+o-60)):void 0}addTopPostion(){if("emailtext"!==this.currentActiveMailbox)return{top:this.addPixel()+"px"}}moreThanTwoEmails(n){if(n.length>2){if(n.length-2!=0)return n.length-2+" more";if(n.length-1!=0)return n.length-1+" more"}if(n.length>2){if(n.length-2!=0)return n.length-2+" more";if(n.length-1!=0)return n.length-1+" more"}}resetQuillEditorEmailTextForm(){this.quillEditorEmailText=this.formBuilder.group({dropdownEmailTemplate:[""],mailto:[""],cc:[""],bcc:[""],editorEmailMessage:["",[u.kI.required]],emailAttachment:[""]})}onClickSendMailtoOtherUsers(n){"close"==n&&(this.isCC=!1,this.isBCC=!1,this.selectedEmailIds=[],this.selectedBCCEmailIds=[],this.selectedCCEmailIds=[],null!==document.getElementById("txtemailto")&&(document.getElementById("txtemailto").value=""),null!==document.getElementById("txtemailcc")&&(document.getElementById("txtemailcc").value=""),null!==document.getElementById("txtemailbcc")&&(document.getElementById("txtemailbcc").value=""),this.quillEditorEmailText.controls.mailto.reset(),this.quillEditorEmailText.controls.cc.reset(),this.quillEditorEmailText.controls.bcc.reset()),this.sendMailtoOtherUsers=!this.sendMailtoOtherUsers,this.sendMailtoOtherUsers&&(this.currentActiveMailbox="to")}getCardDivHeight(){if(void 0!==document.getElementsByClassName("col-lg-6")[0]){let n=document.getElementsByClassName("col-lg-6")[0].getBoundingClientRect();return Math.floor(n.height-60)}}cardposition(){if(void 0!==this.getCardDivHeight)return{height:this.getCardDivHeight()+"px"}}removeBracesFromString(n){if(null!==n&&n.length>0)return n.replace("{","").replace("}","")}};let i=l;return l.\u0275fac=function(s){return new(s||l)(e.Y36(T.gz),e.Y36(T.F0),e.Y36(b.Mn),e.Y36(F.$),e.Y36(J.z),e.Y36(a),e.Y36(c.y),e.Y36(d.FF),e.Y36(u.QS),e.Y36(e.Qsj),e.Y36(_.tT),e.Y36(m.LA),e.Y36(e.sBO),e.Y36(b.KD),e.Y36(b.$h),e.Y36(v._),e.Y36(y.Dx),e.Y36(S.J))},l.\u0275cmp=e.Xpm({type:l,selectors:[["app-dsar-requestdetails"]],viewQuery:function(s,o){if(1&s&&(e.Gf(Kt,7),e.Gf(Yt,5),e.Gf(Gt,5),e.Gf(Wt,7),e.Gf(Ht,7),e.Gf(zt,5,e.SBq),e.Gf(Vt,5),e.Gf(Xt,7),e.Gf($t,7),e.Gf(en,5),e.Gf(tn,5)),2&s){let r;e.iGM(r=e.CRH())&&(o.toggleDayleftdiv=r.first),e.iGM(r=e.CRH())&&(o.customDaysInput=r.first),e.iGM(r=e.CRH())&&(o.confirmModal=r.first),e.iGM(r=e.CRH())&&(o.filePreview=r.first),e.iGM(r=e.CRH())&&(o.panel=r.first),e.iGM(r=e.CRH())&&(o.workflowStageScroller=r.first),e.iGM(r=e.CRH())&&(o.confirmDeleteModal=r.first),e.iGM(r=e.CRH())&&(o.extendDaysModal=r.first),e.iGM(r=e.CRH())&&(o.rejectRequestModal=r.first),e.iGM(r=e.CRH())&&(o.userAuthenticationModal=r.first),e.iGM(r=e.CRH())&&(o.duplicateRequestModal=r.first)}},decls:164,vars:54,consts:[["appTheme",""],[1,"mb-3"],["aria-label","breadcrumb"],[1,"breadcrumb","breadcrumb-style1","mg-b-0"],[1,"breadcrumb-item"],[3,"click"],["aria-current","page",1,"breadcrumb-item","active"],[1,"row","row-sm"],[1,"col-lg-6","col-xl-12","mg-t-10"],["class","loading-div",3,"ngStyle",4,"ngIf"],[1,"card"],[1,"card-header","d-flex","align-items-center","justify-content-between","pd-13"],[1,"tx-12","tx-color-03","mg-b-0"],[1,"mg-b-0"],[1,"d-flex"],["type","button","class","btn btn-sm btn-outline-secondary btn-uppercase mr-2",3,"click",4,"ngIf"],["class","btn btn-sm btn-outline-secondary btn-uppercase mr-2",3,"click",4,"ngIf"],[1,"btn","btn-sm","btn-uppercase","btn-outline-secondary","pt-2","mr-2","lineheight-22",2,"text-transform","none","font-size","12px",3,"click"],[1,"fas","fa-sync","feather-16"],["data-toggle","modal","class","btn btn-sm btn-outline-secondary btn-uppercase mr-2","style","text-transform: none;font-size: 12px;",3,"click",4,"ngIf"],["class","btn btn-sm btn-outline-secondary btn-uppercase mr-2","style","text-transform: none;font-size: 12px;",3,"click",4,"ngIf"],[1,"btn","btn-sm","btn-uppercase","btn-danger",2,"text-transform","none","font-size","12px",3,"click"],[1,"card-body","pd-10"],[1,"row","row-sm","pd-t-5"],[1,"col-sm"],[1,"tx-11","tx-medium","tx-spacing-1","tx-color-03","tx-sans","mg-y-0"],["count","1",4,"ngIf"],["class","mg-b-0",4,"ngIf"],[1,"row","row-sm","pd-t-10","bd-t"],[1,"tx-spacing-1","tx-12","tx-semibold","status-text","tx-success",3,"ngClass"],[1,"tx-spacing-1","tx-13","tx-semibold","mg-b-0","tx-danger"],[1,"divwrapper"],[1,"customdata"],[1,"tx-10","tx-medium","tx-spacing-1","tx-color-03","tx-uppercase","tx-sans","mg-y-0"],["class","tx-13 tx-spacing-1 mg-b-0",4,"ngIf"],["count","2",4,"ngIf"],[4,"ngFor","ngForOf"],["class","col-sm-2 customdata downloadFile",4,"ngIf"],["class","stagediv",4,"ngIf"],[1,"title-guidancetext-wrapper",3,"ngStyle"],[1,"selected-title",3,"innerHTML"],[1,"word-wrap","selected-stage-content"],[3,"innerHTML"],[1,"card","mt-2","activitytab"],["ngbNav","",1,"nav-tabs","nav","mt-1","mb-1",3,"navChange"],["nav","ngbNav"],[3,"ngbNavItem"],["ngbNavLink",""],["ngbNavContent",""],["ngbNavLink","",3,"click"],["ngbNavItem","",3,"ngbNavItem"],["class","btn btn-sm btn-outline-secondary btn-uppercase btnSubtask","
1style","font-size: small;text-transform: none;","data-toggle","modal",3,"disabled","click",4,"ngIf"],[1,"m-2",3,"ngbNavOutlet"],["class","activity",4,"ngIf"],["editRequestDetails",""],["confirmTemplate",""],["extendDays",""],["rejectRequest",""],["subTask",""],["subTaskResponseModal",""],["class","col-sm-5 mr-0 float-right flotingdiv",4,"ngIf"],["confirmDeleteTemplate",""],["previewFile",""],["userAuthenticationAlert",""],["duplicateRequestModal",""],[1,"loading-div",3,"ngStyle"],[1,"loading-circle"],[1,"spinner-border"],["type","button",1,"btn","btn-sm","btn-outline-secondary","btn-uppercase","mr-2",3,"click"],[1,"btn","btn-sm","btn-outline-secondary","btn-uppercase","mr-2",3,"click"],["data-toggle","modal",1,"btn","btn-sm","btn-outline-secondary","btn-uppercase","mr-2",2,"text-transform","none","font-size","12px",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round",1,"feather","feather-edit-2"],["points","16 3 21 8 8 21 3 21 3 16 16 3"],[1,"d-none","d-sm-inline","mg-l-5"],[1,"btn","btn-sm","btn-outline-secondary","btn-uppercase","mr-2",2,"text-transform","none","font-size","12px",3,"click"],["count","1"],[1,"tx-13","tx-spacing-1","mg-b-0"],["count","2"],["class","customdata",3,"ngClass",4,"ngIf"],["elseEmailverified",""],[1,"customdata",3,"ngClass"],[1,"tx-sans"],["class","badge","tooltip","Resend the verification email to the request sender to confirm his / her email",3,"ngClass","click",4,"ngIf"],[1,"badge",3,"ngClass"],["name","check",1,"feather-tick"],["tooltip","Resend the verification email to the request sender to confirm his / her email",1,"badge",3,"ngClass","click"],[1,"col-sm-2","customdata","downloadFile"],[3,"ngClass"],["name","file",1,"feather-file"],[1,"width120",2,"cursor","pointer",3,"click"],[4,"ngIf"],[1,"stagediv"],[1,"divider-text","mg-y-5"],[1,"arrowbtn","leftarrow",3,"ngClass","click"],[1,"fa","fa-angle-left"],[1,"divflex",3,"ngClass"],[1,"customtab"],["panel",""],[1,"nav-tabs",3,"ngStyle"],["workflowStageScroller",""],[1,"arrowbtn","rightarrow",3,"ngClass","click"],[1,"fa","fa-angle-right"],[1,"tabTitleWrapper",3,"ngClass","click"],["stageContent",""],[1,"step-number",3,"ngClass"],[3,"formGroup","ngSubmit"],[1,"row"],[1,"col-sm-7"],[1,"radiobtn-wrapperr"],[1,"form-check"],["type","radio","name","publicprivatetype","id","private","value","0","checked","",1,"form-check-input","tgl-radio-tab-child",3,"change"],["for","private","tooltip","For Private Conversation","placement","top",1,"mr-2",2,"margin-bottom","0"],[1,"form-check","pl-2"],["type","radio","name","publicprivatetype","id","public","value","1",1,"form-check-input","tgl-radio-tab-child",3,"change"],["for","public","tooltip","For Public Conversation","placement","top",2,"margin-bottom","0"],[1,"col-sm-5"],[1,"email-template-dropdown","activity-dropdown"],[1,"ml-2","mb-0","label-bold"],[1,"col-sm-8","mr-0","pr-0"],["placeholder","Select Template","filter","true","formControlName","dropdownEmailTemplate","optionLabel","name",3,"options","onChange"],["pTemplate","item"],["formControlName","editor",3,"modules","ngClass","ngModel","ngModelChange"],["class","text-danger float-left col-5",4,"ngIf"],["type","submit",1,"btn","btn-sm","btn-uppercase","btn-primary","float-right","mb-2","mt-2"],[1,"country-item","row"],[1,"pl-2","dropdown-p"],[1,"text-danger","float-left","col-5"],["autocomplete","false",3,"formGroup","ngSubmit"],[1,"col-sm-5","mr-0","pr-0","template-dp-position"],[1,"email-template-dropdown","email-activity-dropdown"],[1,"col-4",2,"z-index","0 !important"],["type","radio","name","publicprivatetype","id","private","value","0",1,"form-check-input","tgl-radio-tab-child",3,"checked","change"],["type","radio","name","publicprivatetype","id","public","value","1",1,"form-check-input","tgl-radio-tab-child",3,"checked","change"],[1,"wrapper-mailto",3,"ngStyle"],[1,"cc-bcc-btn-wrapper"],["class","btn btn-link mr-2","type","button",3,"click",4,"ngIf"],["class","btn btn-link","type","button",3,"click",4,"ngIf"],["id","divto",1,"mail-to-selecteduser",3,"click"],[1,"width-30"],[1,"email-to-sup"],[2,"display","flex","flex-wrap","wrap","flex-direction","column",3,"click"],[4,"ngIf","ngIfElse"],["shortViewOfMailTo",""],["class","color-red to-email-msg",3,"ngStyle",4,"ngIf"],["class","mail-to-selecteduser","id","divcc",3,"click",4,"ngIf"],["class","mail-to-selecteduser","id","divbcc",3,"click",4,"ngIf"],["id","populated-email-list","class","populated-email-list",3,"ngStyle",4,"ngIf"],["class","color-red duplicate-email-msg",4,"ngIf"],["formControlName","editorEmailMessage",3,"modules","ngClass","click"],[1,"email-attachment-wrapper"],[1,"d-flex","align-items-center"],[1,"email-lbl"],[1,"input-group"],[1,"custom-file"],["type","file","id","emailAttachment",1,"custom-file-input",3,"change"],["for","inputGroupFile01",1,"custom-file-label"],[1,"emailspan"],["type","button",1,"btn","btn-link","mr-2",3,"click"],["type","button",1,"btn","btn-link",3,"click"],[3,"ngClass",4,"ngFor","ngForOf"],[2,"margin-left","0","border","0","background","transparent","position","relative"],["placeholder","enter email address",1,"mailto-textbox",3,"ngClass"],["type","text","autocomplete","to-off","id","txtemailto","formControlName","mailto",1,"form-control",3,"readonly","keyup","keydown","mouseout","mousedown"],["style","margin: 1px; border: 0;border-bottom: 1px dashed #ff2c2c;",4,"ngIf"],[3,"ngClass","click"],[2,"margin","1px","border","0","border-bottom","1px dashed #ff2c2c"],["class","email-wrapper",3,"click",4,"ngIf"],[1,"email-wrapper",3,"click"],[1,"color-red","to-email-msg",3,"ngStyle"],["id","divcc",1,"mail-to-selecteduser",3,"click"],[2,"margin-left","0","border","0","background","transparent"],["type","text","autocomplete","cc-off","id","txtemailcc","formControlName","cc",1,"form-control",3,"keyup","keydown","mouseout","mousedown"],["mailToCCTextbox",""],["shortViewOfCC",""],["id","divbcc",1,"mail-to-selecteduser",3,"click"],["type","text","autocomplete","bcc-off","id","txtemailbcc","formControlName","bcc",1,"form-control",3,"keyup","keydown","mouseout","mousedown"],["mailToBCCTextbox",""],["shortViewOfBCC",""],["id","populated-email-list",1,"populated-email-list",3,"ngStyle"],[1,"flex-column-div"],["class","flex-tick",4,"ngIf"],[1,"flex-tick"],[1,"fa","fa-check"],[1,"color-red","duplicate-email-msg"],[1,"table","table-primary","table-bordered"],[1,"thead-primary"],[1,"tasklink"],["class","color-red",4,"ngIf"],[1,"pd-r-5","cursor",3,"click"],[1,"far","fa-edit","fa-1x"],[1,"color-red"],["colspan","7"],[3,"formID","requestID"],["data-toggle","modal",1,"btn","btn-sm","btn-outline-secondary","btn-uppercase","btnSubtask",2,"font-size","small","text-transform","none",3,"disabled","click"],[1,"activity"],["class","activity-log",4,"ngIf"],[1,"activity-log"],[1,"chat-group-divider"],[1,"chat-stage-wrapper"],[1,"media","pl-0","col-7"],[1,"avatar","avatar-sm","avatar-online"],["class","avatar-initial rounded-circle",4,"ngIf"],[1,"media-body"],[1,"feedback"],[1,"lightgray"],[1,"userfeedback",3,"innerHTML"],["class","feedback",4,"ngIf"],["class","activitystage",3,"tooltip","ngClass",4,"ngIf"],[1,"avatar-initial","rounded-circle"],[1,"btn-file","btn-file-activity",3,"click"],["name","file",1,"feather-file","mr-0"],[1,"activitystage",3,"tooltip","ngClass"],[1,"media","pl-0"],["class","ml-0 d-flex","style","flex-direction: column;",4,"ngIf"],["class","activitystage",3,"tooltip",4,"ngIf"],[1,"ml-0","d-flex",2,"flex-direction","column"],["class","d-flex",4,"ngIf"],[1,"mail-list"],[1,"btn-file",3,"click"],[1,"activitystage",3,"tooltip"],[1,"modal-header"],["id","modal-basic-title",1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],["autocomplete","false","appTheme","",3,"formGroup","ngSubmit"],[1,"modal-body"],[1,"col-sm-12"],[1,"form-group"],["for","requestacceptingagent",1,"tx-11","tx-medium","tx-spacing-1","mg-b-5","tx-color-03"],["aria-hidden","true",1,"tx-8","fa","fa-asterisk","tx-danger","ml-1",2,"vertical-align","super"],["type","text","formControlName","requestacceptingagent",1,"form-control",3,"ngClass"],["class","invali
1d-feedback",4,"ngIf"],[1,"col-sm-12","mb-3"],["for","riskfactor",1,"tx-11","tx-medium","tx-spacing-1","mg-b-5","tx-color-03"],["formControlName","riskfactor",1,"form-control",3,"ngClass"],["for","workflowselect",1,"tx-11","tx-medium","tx-spacing-1","mg-b-5","tx-color-03"],["formControlName","approver",1,"form-control",3,"ngClass"],["formControlName","country","autocomplete","false","typeaheadOptionField","name","placeholder","type and search country",1,"form-control",3,"typeahead","typeaheadScrollable","typeaheadOptionsInScrollableView","ngClass","typeaheadOnSelect"],["formControlName","state","autocomplete","new","typeaheadOptionField","name","placeholder","type and search state",1,"form-control",3,"typeahead","ngClass","typeaheadScrollable","typeaheadOptionsInScrollableView"],["type","text","autocomplete","false","formControlName","city",1,"form-control",3,"ngClass"],[1,"modal-footer"],["type","button",1,"btn","btn-link","tx-decoration-underline","m-0",3,"click"],["type","submit",1,"btn","btn-primary","tx-13","m-0"],[1,"invalid-feedback"],[3,"value"],[3,"value","selected"],["appTheme","",1,"modal-body","text-center"],["type","button",1,"btn","btn-xs","btn-primary","mr-2",3,"click"],["type","button",1,"btn","btn-xs","btn-secondary",3,"click"],["appTheme","",3,"formGroup","ngSubmit"],[1,"col-sm-10"],["for","customdays",1,"mb-0"],["type","number","min","1","max","90","formControlName","customdays","name","customdays",1,"form-control","mb-1",2,"width","80px",3,"input"],[1,"mt-2","mb-0"],["formControlName","editorReason",1,"quilleditorextenddays",3,"styles","modules","ngClass"],[1,"ml-auto","col-sm-2"],["type","submit",1,"btn","btn-xs","btn-primary","float-right","mb-2","mt-2"],[1,"col-sm-6"],[1,"form-group","mg-b-5"],["for","reason",1,"tx-13","tx-medium","tx-spacing-1","mg-b-5","tx-color-03"],["formControlName","reason",1,"form-control",3,"change"],["selected","","disabled","","value",""],["formControlName","editorComments",1,"quilleditorextenddays",3,"styles","modules"],["appTheme","",3,"ngSubmit"],["subTaskForm","ngForm"],["for","defaultapprover",1,"tx-10","tx-uppercase","tx-medium","tx-spacing-1","mg-b-5","tx-color-03"],["name","assignee","required","",1,"form-control",3,"ngModel","ngClass","ngModelChange"],["assignee","ngModel"],["for","subtaskname",1,"tx-10","tx-uppercase","tx-medium","tx-spacing-1","mg-b-5","tx-color-03"],["type","text","name","name","required","",1,"form-control",3,"ngModel","ngClass","ngModelChange"],["name","ngModel"],["for","subtaskdescription",1,"tx-10","tx-uppercase","tx-medium","tx-spacing-1","mg-b-5","tx-color-03"],["name","description","required","",1,"form-control",3,"ngModel","ngClass","ngModelChange"],["description","ngModel"],[1,"col-sm-12","ml-1","mb-3"],[1,"form-check","checkbox-wrapper"],[1,"mr-3","mt-0","pt-0"],["type","checkbox","id","issubtaskrequired","name","required",1,"form-check-input","m-0","ml-0","pr-3",3,"ngModel","ngModelChange"],["for","issubtaskrequired",1,"form-check-label","tx-10","tx-uppercase","tx-medium","tx-spacing-1","mg-b-5","tx-color-03","mb-0"],["name","deadline","type","text","autocomplete","off","bsDatepicker","","required","",1,"form-control",3,"ngModel","ngClass","maxDate","minDate","bsConfig","bsValue","ngModelChange","bsValueChange"],["deadline","ngModel","dp","bsDatepicker"],["name","reminder","autocomplete","off","bsDatepicker","","type","text",1,"form-control",3,"ngModel","maxDate","bsConfig","minDate","bsValue","ngModelChange","bsValueChange"],["reminder","ngModel","dp","bsDatepicker"],["type","submit",1,"btn","btn-primary","m-0"],[3,"value","selected",4,"ngIf"],["appTheme","",1,"modal-body","pb-0"],[1,"col-sm-10","form-group","divflex-column"],[1,"tx-10","tx-uppercase","tx-medium","tx-spacing-1","mg-b-5","tx-color-03"],[1,"tx-13","tx-medium","tx-spacing-1","mg-b-5","tx-color-03"],[1,"col-sm-10","form-group","divflex-column","mb-0"],["appTheme","","autocomplete","false",3,"formGroup","ngSubmit"],["for","taskresponse",1,"tx-10","tx-uppercase","tx-medium","tx-spacing-1","mg-b-5","tx-color-03"],["formControlName","taskresponse","required","",1,"form-control",3,"ngClass"],[1,"col-sm-12","pl-3","mb-2"],[1,"form-check","row","chkmark-complete"],["type","checkbox","formControlName","markcompleted","id","markcompleted","required","",1,"form-check-input"],["for","markcompleted",1,"form-check-label","tx-10","tx-uppercase","tx-color-03"],["class","is-invalid",4,"ngIf"],["class","tx-10 tx-uppercase tx-medium tx-spacing-1 mg-b-5 tx-color-03",4,"ngIf"],["type","file","multiple","","id","uploaddocument",1,"custom-file-input",3,"change"],["class","color-red tx-12 mt-2",4,"ngIf"],[1,"is-invalid"],["type","button",1,"btn","btn-link","p-0",3,"click"],["src","assets/imgs/attachment-clip.svg","height","16","width","16"],[1,"color-red","tx-12","mt-2"],[1,"col-sm-5","mr-0","float-right","flotingdiv"],["dismissOnTimeout","5000",3,"type","dismissible","onClosed",4,"ngIf"],["dismissOnTimeout","5000",3,"type","dismissible","onClosed"],[1,"modal-title"],["type","button","data-dismiss","modal","aria-label","Close",1,"close",3,"click"],[1,"font-weight-bold"],["type","text","formControlName","userIn
1put","name","userInput","required","",1,"form-control",3,"ngClass"],["class","invalid-feedback text-left",4,"ngIf"],[1,"mt-2","d-flex"],["class","btn btn-xs btn-primary btn-block",4,"ngIf"],[1,"invalid-feedback","text-left"],[1,"btn","btn-xs","btn-primary","btn-block"],["appTheme","",1,"modal-body"],["name","iframeFilepreview",2,"height","200px","width","300px"],["filePreview",""],["type","button",1,"btn","btn-xs","btn-primary",3,"click"],[1,"checkbox-wrapper"],["class","dup-list-wrapper",4,"ngIf"],[1,"dup-list-details"],[1,"ml-0","pl-3","mb-0"],["for","reason",1,"tx-10","tx-uppercase","tx-medium","tx-spacing-1","mg-b-5","tx-color-03"],[1,"dup-list-wrapper"],[1,"dupid-div"],["class","pl-1 pr-1 text-capitalize border-gray rounded text-primary",4,"ngIf"],["class","pl-1 pr-1 text-capitalize border-gray rounded text-warning",4,"ngIf"],["class","pl-1 pr-1 text-capitalize border-gray rounded text-success",4,"ngIf"],["class","pl-1 pr-1 text-capitalize border-gray rounded text-danger",4,"ngIf"],[1,"pl-1","pr-1","text-capitalize","border-gray","rounded","text-primary"],[1,"pl-1","pr-1","text-capitalize","border-gray","rounded","text-warning"],[1,"pl-1","pr-1","text-capitalize","border-gray","rounded","text-success"],[1,"pl-1","pr-1","text-capitalize","border-gray","rounded","text-danger"],["class","font-weight-bold txt-uppercase","style","display: flex; flex-direction: column;",4,"ngIf"],[1,"font-weight-bold","txt-uppercase",2,"display","flex","flex-direction","column"],[1,"text-uppercase"],[3,"ngStyle"]],template:function(s,o){if(1&s&&(e.TgZ(0,"div",0)(1,"div",1)(2,"nav",2)(3,"ol",3)(4,"li",4),e._uU(5," Privacy"),e.qZA(),e.TgZ(6,"li",4),e._uU(7," Privacy Rights"),e.qZA(),e.TgZ(8,"li",4)(9,"a",5),e.NdJ("click",function(){return o.backToDSARRequest()}),e._uU(10,"Privacy Rights Requests"),e.qZA()(),e.TgZ(11,"li",6),e._uU(12),e.qZA()()()(),e.TgZ(13,"div",7)(14,"div",8),e.YNc(15,nn,4,1,"div",9),e.TgZ(16,"div",10)(17,"div",11)(18,"span",12)(19,"h6",13),e._uU(20,"Request Details"),e.qZA(),e._uU(21," Current Status of Privacy Rights Request "),e.qZA(),e.TgZ(22,"div",14),e.YNc(23,sn,2,0,"button",15),e.YNc(24,on,2,0,"button",16),e.TgZ(25,"button",17),e.NdJ("click",function(){return o.onRefresh()}),e._UZ(26,"i",18),e._uU(27," Refresh"),e.qZA(),e.YNc(28,ln,5,0,"button",19),e.YNc(29,rn,2,0,"button",20),e.YNc(30,an,2,0,"button",20),e.TgZ(31,"button",21),e.NdJ("click",function(){return o.removeDSARRequest("DSAR Request detail")}),e._uU(32,"Delete"),e.qZA()()(),e.TgZ(33,"div",22)(34,"div",23)(35,"div",24)(36,"label",25),e._uU(37,"Request ID"),e.qZA(),e.YNc(38,cn,1,0,"ngx-skeleton-loader",26),e.TgZ(39,"p",13),e._uU(40),e.qZA()(),e.TgZ(41,"div",24)(42,"label",25),e._uU(43,"Request Types "),e.qZA(),e.YNc(44,un,1,0,"ngx-skeleton-loader",26),e.TgZ(45,"p",13),e._uU(46),e.qZA()(),e.TgZ(47,"div",24)(48,"label",25),e._uU(49,"Due in"),e.qZA(),e.YNc(50,pn,1,0,"ngx-skeleton-loader",26),e.YNc(51,dn,2,1,"p",27),e.YNc(52,_n,2,1,"p",27),e.qZA(),e.TgZ(53,"div",24)(54,"label",25),e._uU(55,"Date Opened "),e.qZA(),e.YNc(56,gn,1,0,"ngx-skeleton-loader",26),e.YNc(57,mn,3,4,"p",27),e.qZA(),e.TgZ(58,"div",24)(59,"label",25),e._uU(60,"Request Accepting Agent"),e.qZA(),e.YNc(61,hn,1,0,"ngx-skeleton-loader",26),e.TgZ(62,"p",13),e._uU(63),e.qZA()(),e.TgZ(64,"div",24)(65,"label",25),e._uU(66,"Workflow"),e.qZA(),e.YNc(67,fn,1,0,"ngx-skeleton-loader",26),e.TgZ(68,"p",13),e._uU(69),e.qZA()()(),e.TgZ(70,"div",28)(71,"div",24)(72,"label",25),e._uU(73,"Status"),e.qZA(),e.YNc(74,xn,1,0,"ngx-skeleton-loader",26),e.TgZ(75,"p",29),e._uU(76),e.qZA()(),e.TgZ(77,"div",24)(78,"label",25),e._uU(79,"Subject Type "),e.qZA(),e.YNc(80,Cn,1,0,"ngx-skeleton-loader",26),e.TgZ(81,"p",13),e._uU(82),e.qZA()(),e.TgZ(83,"div",24)(84,"label",25),e._uU(85,"Risk Factor "),e.qZA(),e.YNc(86,vn,1,0,"ngx-skeleton-loader",26),e.TgZ(87,"p",30),e._uU(88),e.qZA()(),e.TgZ(89,"div",24)(90,"label",25),e._uU(91,"Deadline "),e.qZA(),e.YNc(92,bn,1,0,"ngx-skeleton-loader",26),e.YNc(93,qn,3,4,"p",27),e.qZA(),e.TgZ(94,"div",24)(95,"label",25),e._uU(96,"Approver "),e.qZA(),e.YNc(97,Tn,1,0,"ngx-skeleton-loader",26),e.TgZ(98,"p",13),e._uU(99),e.qZA()(),e.TgZ(100,"div",24)(101,"label",25),e._uU(102,"Form"),e.qZA(),e.YNc(103,Zn,1,0,"ngx-skeleton-loader",26),e.TgZ(104,"p",13),e._uU(105),e.qZA()()(),e.TgZ(106,"div",31)(107,"div",32)(108,"label",33),e._uU(109,"Property"),e.qZA(),e.YNc(110,Dn,1,0,"ngx-skeleton-loader",26),e.YNc(111,yn,2,1,"p",34),e.qZA(),e.YNc(112,kn,1,0,"ngx-skeleton-loader",35),e.YNc(113,In,4,1,"div",36),e.YNc(114,Nn,8,6,"div",37),e.qZA(),e.YNc(115,jn,15,15,"div",38),e.TgZ(116,"div",39),e._UZ(117,"h4",40),e.TgZ(118,"div",41),e._UZ(119,"span",42),e.qZA()()()(),e.TgZ(120,"div",43)(121,"ul",44,45),e.NdJ("navChange",function(p){return o.onNavChange(p)}),e.TgZ(123,"li",46)(124,"a",47),e._uU(125,"Activity"),e.qZA(),e.YNc(126,Wn,23,8,"ng-template",48),e.qZA(),e.TgZ(127,"li",46)(128,"a",49),e.NdJ("click",function(){return o.onClickEmail()}),e._uU(129,"Email"),e.qZA(),e.YNc(130,wi,54,23,"ng-template",48),e.qZA(),e.TgZ(131,"li",46)(132,"a",47),e._uU(133,"Tasks"),e.qZA(),e.YNc(134,Ei,20,2,"ng-template",48),e.qZA(),e.TgZ(135,"li",50)(136,"a",47),e._uU(137,"Systems"),e.qZA(),e.YNc(138,Li,1,2,"ng-template",48),e.qZA()(),e.YNc(139,Ni,2,1,"button",51),e._UZ(140,"div",52),e.YNc(141,es,3,1,"div",53),e.YNc(142,cs,3,1,"div",53),e.qZA()()()(),e.YNc(143,ks,58,33,"ng-template",null,54,e.W1O),e.YNc(145,As,7,0,"ng-template",null,55,e.W1O),e.YNc(147,Ms,29,9,"ng-template",null,56,e.W1O),e.YNc(149,Es,32,7,"ng-template",null,57,e.W1O),e.YNc(151,Ws,62,35,"ng-template",null,58,e.W1O),e.YNc(153,io,61,18,"ng-template",null,59,e.W1O),e.YNc(155,oo,2,1,"div",60),e.YNc(156,ao,22,8,"ng-template",null,61,e.W1O),e.YNc(158,co,6,0,"ng-template",null,62,e.W1O),e.YNc(160,uo,5,0,"ng-template",null,63,e.W1O),e.YNc(162,Ao,37,9,"ng-template",null,64,e.W1O)),2&s){const r=e.MAs(122);e.xp6(12),e.Oqu(o.requestID),e.xp6(3),e.Q6J("ngIf",o.isClickOnRefreshbtn),e.xp6(8),e.Q6J("ngIf",o.duplicateRequest.length>0),e.xp6(1),e.Q6J("ngIf","Rejected"==o.currentWorkflowStage),e.xp6(4),e.Q6J("ngIf","Rejected"!==o.currentWorkflowStage),e.xp6(1),e.Q6J("ngIf",0!==o.selectedStages.length&&"Rejected"!==o.currentWorkflowStage),e.xp6(1),e.Q6J("ngIf",!o.isRequestCompleted&&"Rejected"!==o.currentWorkflowStage),e.xp6(8),e.Q6J("ngIf",!o.respCDID),e.xp6(2),e.Oqu(o.respCDID),e.xp6(4),e.Q6J("ngIf",!o.requestType),e.xp6(2),e.Oqu(o.requestType),e.xp6(4),e.Q6J("ngIf",o.isNumber(o.getDueIn(o.respCreatedAt,o.respDaysLeft))),e.xp6(1),e.Q6J("ngIf","3"!==o.requestStatus&&!o.isNumber(o.getDueIn(o.respCreatedAt,o.respDaysLeft))),e.xp6(1),e.Q6J("ngIf","3"==o.requestStatus),e.xp6(4),e.Q6J("ngIf",!o.respCreatedAt),e.xp6(1),e.Q6J("ngIf",o.respCreatedAt),e.xp6(4),e.Q6J("ngIf",!o.reqAcceptingagent&&o.skeletonCustomLoading),e.xp6(2),e.Oqu(o.reqAcceptingagent),e.xp6(4),e.Q6J("ngIf",!o.workflowName),e.xp6(2),e.Oqu(o.workflowName),e.xp6(5),e.Q6J("ngIf",!o.currentWorkflowStage),e.xp6(1),e.Q6J("ngClass",e.WLB(51,Oo,"Rejected"!==o.currentWorkflowStage,"Rejected"==o.currentWorkflowStage)),e.xp6(1),e.hij(" ",o.currentWorkflowStage," "),e.xp6(4),e.Q6J("ngIf",!o.subjectType),e.xp6(2),e.Oqu(o.subjectType),e.xp6(4),e.Q6J("ngIf",!o.riskFactorText),e.xp6(2),e.Oqu(o.riskFactorText),e.xp6(4),e.Q6J("ngIf",!o.respDaysLeft),e.xp6(1),e.Q6J("ngIf",o.respCreatedAt&&o.respDaysLeft),e.xp6(4),e.Q6J("ngIf",!o.respApprover),e.xp6(2),e.Oqu(o.respApprover),e.xp6(4),e.Q6J("ngIf",!o.formName),e.xp6(2),e.Oqu(o.formName),e.xp6(5),e.Q6J("ngIf",o.skeletonCustomLoading),e.xp6(1),e.Q6J("ngIf",!o.skeletonCustomLoading),e.xp6(1),e.Q6J("ngIf",o.skeletonCustomLoading),e.xp6(1),e.Q6J("ngForOf",o.customFieldObj),e.xp6(1),e.Q6J("ngIf",o.isAttachmentExist),e.xp6(1),e.Q6J("ngIf",0!==o.workflowStages.length),e.xp6(1),e.Q6J("ngStyle",o.stageContentStyle()),e.xp6(1),e.Q6J("innerHTML",o.showStageTitle,e.oJD),e.xp6(2),e.Q6J("innerHTML",o.showStageGuidanceText,e.oJD),e.xp6(4),e.Q6J("ngbNavItem",1),e.xp6(4),e.Q6J("ngbNavItem",2),e.xp6(4),e.Q6J("ngbNavItem",3),e.xp6(4),e.Q6J("ngbNavItem",4),e.xp6(4),e.Q6J("ngIf",o.isTaskTabOpen),e.xp6(1),e.Q6J("ngbNavOutlet",r),e.xp6(1),e.Q6J("ngIf",o.isActivityLogOpen),e.xp6(1),e.Q6J("ngIf",o.isEmailLogOpen),e.xp6(13),e.Q6J("ngIf",o.isOpen)}},dependencies:[x.mk,x.sg,x.O5,x.PC,d.uN,d.Pz,d.nv,d.Vx,d.tO,w.xr,Q.g6,$.u,ee.Np,ee.Y5,le.i9,re.wx,ae.Bp,ce.mh,u._Y,u.YN,u.Kr,u.Fj,u.wV,u.Wl,u.EJ,u.JJ,u.JL,u.Q7,u.Zs,u.qQ,u.Fd,u.On,u.F,u.sg,u.u,Y.jx,te.Lt,ue.E,Bt,x.uU,jt.y],styles:['@charset "UTF-8";.step-number[_ngcontent-%COMP%]{margin-right:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-family:-apple-system,BlinkMacSystemFont,Inter UI,Roboto,sans-serif;color:#8392a5;border:2px solid #8392a5;background-color:#fff;border-radius:100%;cursor:pointer}.shadowdiv[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li.nav-item[_ngcontent-%COMP%] > a.nav-link[_ngcontent-%COMP%]{padding:10px 0;margin:0;background-color:transparent}.shadowdiv[_ngcontent-%COMP%] > ul.nav-tabs[_ngcontent-%COMP%]{margin:0;padding:0}.nav-tabs[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{border:0}.activitytab[_ngcontent-%COMP%] .nav-tabs[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{display:flex;flex-direction:column}.activitytab[_ngcontent-%COMP%] .nav-tabs[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] + .nav-item[_ngcontent-%COMP%]{margin:0}.activitytab[_ngcontent-%COMP%] > .nav-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%]{border:0;border-bottom:2px solid #0168fa;box-sizing:content-box;z-index:0}.activitytab[_ngcontent-%COMP%] .nav-tabs[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:auto}.activitytab[_ngcontent-%COMP%]{position:relative}li.nav-item[_ngcontent-%COMP%]{margin:0}.activitytab[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%] > span.step-number[_ngcontent-%COMP%]{background-color:#0168fa;border:2px solid #0168fa;color:#fff}.shadowdiv[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li.nav-item[_ngcontent-%COMP%]:after{display:inline-block;content:"\\2192";font-size:33px;margin:5px 20px;line-height:33px;color:#ccc}.shadowdiv[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li.nav-item[_ngcontent-%COMP%]:last-child:after{content:""}ul.nav-tabs[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{text-transform:capitalize;margin:-7px 0 20px}.previousTabcolor[_ngcontent-%COMP%]{background-color:green;color:green;align-items:inherit;display:flex}.previousTabcolor[_ngcontent-%COMP%] > span.step-number[_ngcontent-%COMP%]{margin-right:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-family:-apple-system,BlinkMacSystemFont,Inter UI,Roboto,sans-serif;color:#8392a5}.completedStage[_ngcontent-%COMP%]{color:#fff;font-weight:500;align-items:inherit;display:flex}.completedStage[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{color:#3968fa!important;display:inline-flex;padding:0 10px;margin:10px 0}.completedStage[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span.step-number[_ngcontent-%COMP%]{background-color:#3968fa;color:#fff;border:0}.completedStage[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span.step-number.current[_ngcontent-%COMP%]{background-color:#0168fa;color:#fff}.completedStage[_ngcontent-%COMP%] > .active[_ngcontent-%COMP%]{background-color:green}.previousStage[_ngcontent-%COMP%]{background-color:#fff}.previousStage[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{color:green!important;display:inline-flex;padding:0 10px;margin:10px 0;line-height:30px}.previousStage[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span.step-number[_ngcontent-%COMP%]{background-color:green;color:#fff}.previousStage[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span.step-number.current[_ngcontent-%COMP%]{background-color:#00f!important}.previousStage[_ngcontent-%COMP%] > .active[_ngcontent-%COMP%]{background-color:green}.verify-request-content[_ngcontent-%COMP%] > ul.nav-tabs[_ngcontent-%COMP%] > li.nav-item[_ngcontent-%COMP%] > a.nav-link.active[_ngcontent-%COMP%]{border-bottom:1px solid #0168fa}.verify-request-content[_ngcontent-%COMP%] > ul.nav-tabs[_ngcontent-%COMP%] > li.nav-item[_ngcontent-%COMP%] > a.nav-link[_ngcontent-%COMP%]{background-color:transparent}.customdata[_ngcontent-%COMP%]{display:inline-block;float:left;margin:0 0 10px;width:17%}.divwrapper[_ngcontent-%COMP%]{overflow:hidden;padding:10px;margin:0 -10px;border-top:1px solid #ccc}.customdata[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:10px;margin:0;color:#8392a5;font-weight:400;text-transform:uppercase}.active[_ngcontent-%COMP%]{color:#00f}ul.nav-tabs[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{color:#596882;font-weight:500;display:inline-flex;padding:0;margin:10px 0;cursor:pointer;flex-direction:column;align-items:center}ul.nav-tabs[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:after{display:inline-block;content:"\\2192";font-size:33px;margin:0 10px;line-height:33px;font-weight:400;color:#ccc;position:relative;
1left:100px;right:auto;top:-85px}ul.nav-tabs[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child > div[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:after{content:""!important}.current[_ngcontent-%COMP%]{border:2px solid #0168fa;color:#596882;background-color:#0168fa}.currentText[_ngcontent-%COMP%]{color:#0168fa;text-transform:capitalize}.ql-editor[_ngcontent-%COMP%]{padding:5px!important}.activity[_ngcontent-%COMP%], .activity[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0}.activity[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style-type:none;display:inline-flex;flex-direction:column;margin:0;width:100%;align-items:center;justify-content:space-between}.activitystage[_ngcontent-%COMP%]{border:1px solid #bfbfbf;border-radius:30px;padding:2px 10px;background:#e7f3ff;height:auto;width:200px;text-align:center;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:1px solid #000000;pointer-events:stroke}.activity-log[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:inherit;width:100%;align-items:baseline;justify-items:baseline;padding:10px 10px 0;background:#f8f9fc}.activity-log[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;width:50%}.userfeedback[_ngcontent-%COMP%]{margin-left:0;max-width:664px;font-style:italic;font-size:13px} .userfeedback p{margin:0}.userfeedback[_ngcontent-%COMP%] > p.ql-align-justify[_ngcontent-%COMP%]{margin:0!important}.chat-stage-wrapper[_ngcontent-%COMP%]{display:flex;width:100%;align-items:flex-end;justify-content:space-between;padding:5px 10px}.media[_ngcontent-%COMP%]{max-width:865px}.margin-0[_ngcontent-%COMP%]{margin:0}.feedback[_ngcontent-%COMP%]{margin:0;width:100%!important}.stagediv[_ngcontent-%COMP%]{position:relative}.stagediv[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0}.stagediv[_ngcontent-%COMP%] ul.nav-tabs[_ngcontent-%COMP%]{border:0;display:flex}.flotingdiv[_ngcontent-%COMP%]{position:fixed;bottom:0;top:84%;right:0;overflow-x:hidden;overflow-y:auto;z-index:1}.chat-group-divider[_ngcontent-%COMP%]{width:100%;position:relative;display:flex;align-items:center;margin:10px 0;color:#8392a5;font-size:10px;font-family:-apple-system,BlinkMacSystemFont,Inter UI,Roboto,sans-serif;font-weight:500;letter-spacing:.5px;text-transform:uppercase}.chat-group-divider[_ngcontent-%COMP%]:before, .chat-group-divider[_ngcontent-%COMP%]:after{content:"";display:block;flex:1;height:1px;background-color:#e5e9f2}.media[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%]{margin-left:20px}.card.mt-2.activitytab[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{background:transparent}.userfeedback[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding-right:20px}.extenddays[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{margin:0!important;padding:0!important}.dropdown-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0}.dropdown-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:none}.aligncenter[_ngcontent-%COMP%]{align-items:center;display:flex;justify-content:space-evenly;margin:3px 0}.dropdown-menu[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > .dropdown-item[_ngcontent-%COMP%]:hover{background:#ccc!important}ul.ngx-pagination[_ngcontent-%COMP%]{margin:10px;float:right}.btnSubtask[_ngcontent-%COMP%]{position:absolute;right:10px;top:5px}.form-check-label[_ngcontent-%COMP%] .form-check-input[_ngcontent-%COMP%]{margin-top:0!important;width:16px;height:16px}.form-check-label[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-left:0;text-transform:uppercase}.form-check[_ngcontent-%COMP%] .is-invalid[_ngcontent-%COMP%]{color:red;font-size:11px;padding-left:5px!important}.status-text[_ngcontent-%COMP%]{text-transform:capitalize}.tasklink[_ngcontent-%COMP%]{font-weight:700;text-transform:capitalize}.tasklink[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3968fa;cursor:pointer;text-decoration:none;margin-left:3px}.tasklink[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}.color-red[_ngcontent-%COMP%]{color:red}.cursor[_ngcontent-%COMP%]{cursor:pointer}.divflex-column[_ngcontent-%COMP%]{display:flex;flex-direction:column}.file-upload-wrapper[_ngcontent-%COMP%]{position:relative;width:100%;height:60px}.file-upload-wrapper[_ngcontent-%COMP%]:after{content:attr(data-text);font-size:18px;position:absolute;top:0;left:0;background:#fff;padding:10px 15px;display:block;width:calc(100% - 40px);pointer-events:none;z-index:20;height:40px;line-height:40px;color:#999;border-radius:5px 10px 10px 5px;font-weight:300}.file-upload-wrapper[_ngcontent-%COMP%]:before{content:"Upload";position:absolute;top:0;right:0;display:inline-block;height:60px;background:#4daf7c;color:#fff;font-weight:700;z-index:25;font-size:16px;line-height:60px;padding:0 15px;text-transform:uppercase;pointer-events:none;border-radius:0 5px 5px 0}.file-upload-wrapper[_ngcontent-%COMP%]:hover:before{background:#3d8c63}.file-upload-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{opacity:0;position:absolute;inset:0;z-index:99;height:40px;margin:0;padding:0;display:block;cursor:pointer;width:100%}.downloadFile[_ngcontent-%COMP%]{position:absolute;right:0;display:inline-block}.feather-file[_ngcontent-%COMP%]{height:18px;width:18px;margin-right:10px}.lightgray[_ngcontent-%COMP%]{color:#8392a5}.custom-file-input[_ngcontent-%COMP%]{color:transparent;opacity:0;margin:8px 0;cursor:pointer}.custom-file-input[_ngcontent-%COMP%]::-webkit-file-upload-button{visibility:hidden}.custom-file-input[_ngcontent-%COMP%]:before{content:"Select some files";color:#fff;display:inline-block;background:#0168fa;border:1px solid #0062cc;border-radius:3px;padding:7px 8px;outline:none;white-space:nowrap;-webkit-user-select:none;user-select:none;cursor:pointer;font-size:10pt;z-index:-2!important}.custom-file-input[_ngcontent-%COMP%]:hover:before{border-color:#014ebb;background-color:#0153c7}.custom-file-input[_ngcontent-%COMP%]:active{outline:0}.custom-file-input[_ngcontent-%COMP%]:active:before{background:#0168fa}.email-attachment-wrapper[_ngcontent-%COMP%]{display:flex;float:right;
1align-items:flex-end;width:400px}.email-attachment-wrapper[_ngcontent-%COMP%] .input-group[_ngcontent-%COMP%]{margin:4px 10px}.email-attachment-wrapper[_ngcontent-%COMP%] .input-group[_ngcontent-%COMP%] .custom-file[_ngcontent-%COMP%] .custom-file-label[_ngcontent-%COMP%]{height:34px!important;border-radius:.35rem;border:1px solid #3968fa!important}.email-attachment-wrapper[_ngcontent-%COMP%] .input-group[_ngcontent-%COMP%] .custom-file[_ngcontent-%COMP%] .custom-file-label[_ngcontent-%COMP%]:after{background-color:#3968fa;height:33px!important;font-size:12px;font-weight:500;text-transform:uppercase;color:#fff}.email-attachment-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-weight:700}.emailspan[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:150px} .input-group>.custom-file{overflow:hidden} .theme-green .bs-datepicker-head{background-color:#0168fa!important} .theme-green .bs-datepicker-body table td.week span{color:#0168fa!important} bs-datepicker-container, bs-daterangepicker-container[_ngcontent-%COMP%]{z-index:999999!important}.email-lbl[_ngcontent-%COMP%]{width:110px;margin:0}.show[_ngcontent-%COMP%]{display:inline-flex}.showrows[_ngcontent-%COMP%]{display:flex}.hide[_ngcontent-%COMP%]{display:none}.badge-danger[_ngcontent-%COMP%]{cursor:pointer;text-transform:capitalize;font-size:11px;z-index:100}.feather-tick[_ngcontent-%COMP%]{height:16px;margin-right:5px;width:16px}.customdata[_ngcontent-%COMP%] > label[_ngcontent-%COMP%] > .badge-success[_ngcontent-%COMP%]{display:inline-flex;text-transform:capitalize;align-items:center;padding:0 5px 0 3px;border:1px solid #58b85b}.show[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{color:#00f!important}.divflex[_ngcontent-%COMP%]{display:flex;margin:20px 35px 10px;position:relative;overflow:hidden;min-height:70px;width:1200px}.add-min-height[_ngcontent-%COMP%]{min-height:20px}.customtab[_ngcontent-%COMP%]{flex-grow:1;width:100%;min-width:1000px;margin:0 auto}.customtab[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;transition:all .3s ease-in-out;display:inline-flex;align-items:stretch}.customtab[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline;margin:0 3px;flex:auto}.customtab[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{margin-left:0!important}.arrowbtn[_ngcontent-%COMP%]{height:30px;background:none;font-size:24px;border:0;outline:none;margin:2px 0 0;position:absolute;width:30px}.small-btn[_ngcontent-%COMP%]{border-radius:30px;height:26px;padding:4px 0;margin:4px 0 0 20px;width:26px}.tabTitleWrapper[_ngcontent-%COMP%]{font-size:14px;text-align:center;color:#666;display:flex;cursor:default;margin:0 3px;padding:0;min-width:220px;float:left;height:36px;position:relative;-webkit-user-select:none;user-select:none;transition:background-color .2s ease}.leftarrow[_ngcontent-%COMP%]{left:0;top:40px}.rightarrow[_ngcontent-%COMP%]{right:0;top:40px}.word-wrap[_ngcontent-%COMP%]{white-space:normal}.control-box[_ngcontent-%COMP%] .form-check-inline[_ngcontent-%COMP%]:not(:first-child){display:inline-block;position:relative}.tab-pane[_ngcontent-%COMP%] .form-check-inline[_ngcontent-%COMP%]:not(:first-child){display:inline-block;position:relative}.nav-group[_ngcontent-%COMP%] .form-check-inline[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]{margin:3px 5px 0 0}.nav-group[_ngcontent-%COMP%] .form-check-inline[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%], .nav-group[_ngcontent-%COMP%] .form-check-inline[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:3px 5px 0 0;opacity:0;display:none}.nav-group[_ngcontent-%COMP%] .form-check-inline[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:inline-block;background-color:#f5f5f5;padding:5px 10px;font-family:inherit;font-size:13px;font-weight:400;border:2px solid #ced4da;border-radius:4px}.nav-group[_ngcontent-%COMP%] .form-check-inline[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:hover{background-color:#f5f5f5;color:#0168fa;border-color:#0168fa;cursor:pointer}.nav-group[_ngcontent-%COMP%] .form-check-inline[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]:focus + label[_ngcontent-%COMP%], .nav-group[_ngcontent-%COMP%] .form-check-inline[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:focus + label[_ngcontent-%COMP%]{border:1px solid #0168fa}.nav-group[_ngcontent-%COMP%] .form-check-inline[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%], .nav-group[_ngcontent-%COMP%] .form-check-inline[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]{background-color:#4994fe;border-color:#0168fa;color:#fff}.nav-group[_ngcontent-%COMP%] .form-check-inline[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin-right:10px}.selected-stage-content[_ngcontent-%COMP%]{display:block;position:absolute;width:93%;left:45px;top:30px}.selected-title[_ngcontent-%COMP%]{font-size:15px;margin:0;padding:0;position:absolute;text-transform:CAPITALIZE;left:45px;top:0}.title-guidancetext-wrapper[_ngcontent-%COMP%]{position:relative;min-height:80px}.t2[_ngcontent-%COMP%]{background:violet}.hidebtns[_ngcontent-%COMP%]{visibility:hidden}.btn-file[_ngcontent-%COMP%]{background:#fff;font-size:13px;color:#00f;border-radius:20px;border:1px solid #ccc;padding:4px 20px;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:160px}.btn-file-activity[_ngcontent-%COMP%]{margin-left:130px}.btn-file[_ngcontent-%COMP%]:hover{text-decoration:underline}.btn-file[_ngcontent-%COMP%]:focus{outline:none}.rejectedstatus[_ngcontent-%COMP%]{color:#b10202;background:#fff2f2;border:1px solid #b10202}.width120[_ngcontent-%COMP%]{width:120px}.radiobtn-wrapper[_ngcontent-%COMP%]{justify-content:center;display:flex;margin:13px 10px;float:right}.radiobtn-wrapper[_ngcontent-%COMP%] > .form-check[_ngcontent-%COMP%] > input[type=radio][_ngcontent-%COMP%]{margin:0 5px 0 0;top:2px;position:relative}.radiobtn-wrapper[_ngcontent-%COMP%] .form-check[_ngcontent-%COMP%] .form-check-input[_ngcontent-%COMP%]{margin-top:.1rem}.radiobtn-wrapper[_ngcontent-%COMP%] .tooltip[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]{display:block}.email-template-dropdown[_ngcontent-%COMP%]{justify-content:flex-end;display:flex;align-items:center;flex-direction:row}.template-dp-position[_ngcontent-%COMP%]{position:absolute;right:9px;z-index:1;top:48px}.label-bold[_ngcontent-%COMP%]{font-weight:500!important}.checkbox-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;padding-left:0}.dup-list-wrapper[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;flex-direction:row;display:flex}.dup-list-wrapper[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0}.dup-list-wrapper[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;margin:0 0 -1px;padding:0;text-transform:uppercase;border:1px solid #ccc;width:330px;justify-content:space-between;display:flex;align-items:baseline;flex-direction:row;align-content:stretch}.dup-list-wrapper[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{cursor:pointer;padding:0 5px 0 6px;margin:0;width:100%;display:flex;justify-content:space-between;align-items:center}.dup-list-details[_ngcontent-%COMP%]{overflow-y:scroll;height:400px}.dup-list-details[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;list-style:none;padding:0;line-height:25px}.dupid-status[_ngcontent-%COMP%]{display:flex;border-bottom:1px solid #ccc;margin:-6px 0 12px;padding-left:3px;justify-content:space-between}.activelistid[_ngcontent-%COMP%]{background-color:#f9f9f9}.dupid-div[_ngcontent-%COMP%]{text-overflow:ellipsis!important;white-space:nowrap!important;cursor:pointer!important;width:215px;overflow:hidden!important;flex-direction:row;margin:0 20px -1px 0;z-index:1200;padding:8px 3px 8px 0;text-transform:uppercase;justify-items:center}.border-gray[_ngcontent-%COMP%]{border:1px solid #d8d8d8;background:#fff}.chkmark-complete[_ngcontent-%COMP%] > input[type=checkbox][_ngcontent-%COMP%]{padding:0}.wrapper-mailto[_ngcontent-%COMP%]{position:relative;border:1px solid #ccc;padding:10px 0 0;margin:0 4px 5px 0;border-radius:5px;min-height:40px}.cc-bcc-btn-wrapper[_ngcontent-%COMP%]{position:absolute;top:3px;right:0;z-index:120}.cc-bcc-btn-wrapper[_ngcontent-%COMP%] .btn-link[_ngcontent-%COMP%]:hover{text-decoration:underline}.wrapper-btn-close[_ngcontent-%COMP%]{position:absolute;right:-10px;top:-10px;border-radius:20px;background:#e5e5e5;border:1px solid #8b8b8b;color:#000;width:20px;height:20px;line-height:10px;padding:2px 4px;z-index:990}.mail-to-selecteduser[_ngcontent-%COMP%]{display:flex}.mail-to-selecteduser[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{align-items:center;padding:0 3px;display:flex;justify-content:center;margin-left:15px}.mail-to-selecteduser[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:none;margin:0 4px 10px;display:inline-flex;flex-wrap:wrap;padding:3px 10px;align-items:center;border:1px solid #ccc;border-radius:7px;
1display:grid;grid-template-columns:auto auto auto auto auto;grid-column-gap:4px;grid-row-gap:2px}.mail-to-selecteduser[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style-type:none;background:#f4f9ff;border:1px solid #bcd8ff;display:flex;justify-content:space-between;border-radius:10px}.width-30[_ngcontent-%COMP%]{width:30px;margin-right:10px}.mail-to-selecteduser[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border:0;border-radius:0;background:transparent;outline:none;padding:2px 3px}.mail-to-selecteduser[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{box-shadow:none;background:transparent}.mail-to-selecteduser[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{border:1px solid transparent;color:#6a6a6a;background:transparent;line-height:17px;font-size:17px;border-radius:10px}.mail-to-selecteduser[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{margin-left:0!important}.mailto-textbox[_ngcontent-%COMP%]{border:0;margin-bottom:2px;background:transparent}.mailto-textbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border:0;border-bottom:1px solid #000;outline:none;padding:0;height:30px;border-radius:0}.userlist-wrapper[_ngcontent-%COMP%]{position:absolute}.populated-email-list[_ngcontent-%COMP%]{width:400px;border:1px solid #ccc;margin-left:26px;left:0%;z-index:1;position:absolute;border-radius:5px;background:#fff}.populated-email-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:none}.populated-email-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:none;cursor:pointer;border-bottom:1px solid #ccc}.populated-email-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{border-radius:5px 5px 0 0;background-color:#f9f9f9}.populated-email-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;align-content:center;flex-direction:row;padding:0 10px}.populated-email-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .email-selected-state[_ngcontent-%COMP%]{color:#00f}.duplicate-email-msg[_ngcontent-%COMP%]{position:absolute;bottom:0;left:70px;font-size:12px;width:220px}.to-email-msg[_ngcontent-%COMP%]{position:absolute;bottom:15px;left:68px;font-size:12px;width:220px}.email-selected-state[_ngcontent-%COMP%]{color:#999;background:#ededed}.remove-list-border[_ngcontent-%COMP%]{border:0!important;margin:0!important;padding:0!important}.flex-column-div[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:flex-start;flex-wrap:wrap;flex-direction:column}.flex-tick[_ngcontent-%COMP%]{border:1px solid #dddddd;border-radius:20px;padding:2px 5px;line-height:20px;margin:7px 0;width:25px;background:#fff;text-align:center;background-color:#f5f5f5}.flex-tick[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{color:#878787}.showcontrols[_ngcontent-%COMP%]{visibility:visible}.hidecontrols[_ngcontent-%COMP%]{visibility:hidden}.hidecrossbtn[_ngcontent-%COMP%]{visibility:hidden;display:none}.email-wrapper[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;flex-direction:row}.email-wrapper[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{border:1px solid #d9d9d9;background:#f2f7ff;border-radius:5px;font-size:12px;margin:0 0 2px 5px}.email-to-sup[_ngcontent-%COMP%]{color:red}.capitalize-text[_ngcontent-%COMP%]{text-transform:capitalize}.spinner-border[_ngcontent-%COMP%]{border:2px solid currentColor;border-right-color:transparent}.loading-div[_ngcontent-%COMP%]{background-color:#b9b9b987;position:absolute;display:flex;justify-content:center;left:10px;z-index:10;min-height:100px;overflow:hidden;width:calc(100vw - 73px);font-weight:500;top:60px}.loading-circle[_ngcontent-%COMP%]{color:#040d26;display:flex;justify-content:center;align-items:center;padding:10px;height:46px;margin-top:50px}.mail-list[_ngcontent-%COMP%]{width:900px}@media (max-width: 768px){.activitytab[_ngcontent-%COMP%] .nav-tabs[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{padding:0 30px}}.tx-decoration-underline[_ngcontent-%COMP%]:hover{text-decoration:underline}.radiobtn-wrapperr[_ngcontent-%COMP%] input.tgl-radio-tab-child[_ngcontent-%COMP%]{position:absolute;opacity:1;z-index:1;visibility:hidden}.radiobtn-wrapperr[_ngcontent-%COMP%] input.tgl-radio-tab-child[_ngcontent-%COMP%] + label[_ngcontent-%COMP%]{cursor:pointer;float:left;border:1px solid #bcccda;border-bottom:none!important;margin-right:-1px;padding:.58em 1em;position:relative;border-radius:5px 5px 0 0}.radiobtn-wrapperr[_ngcontent-%COMP%] input.tgl-radio-tab-child[_ngcontent-%COMP%]{background-color:#d8d8d8}.radiobtn-wrapperr[_ngcontent-%COMP%] [type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]{background-color:#fff;z-index:1;border-top:4px solid #F7A620;padding:.48em 1em!important}.email-activity-dropdown[_ngcontent-%COMP%]{position:absolute;right:103px}.email-activity-dropdown[_ngcontent-%COMP%] .p-dropdown{width:277px!important}.email-activity-dropdown[_ngcontent-%COMP%] .p-dropdown-items-wrapper{width:278px!important;position:absolute!important;background-color:#fff!important;font-size:13px!important;border:1px solid #ccd4da!important;border-radius:5px!important;z-index:0!important}.email-activity-dropdown[_ngcontent-%COMP%] input.p-dropdown-filter{height:30px!important}.email-activity-dropdown[_ngcontent-%COMP%] .dropdown-p[_ngcontent-%COMP%]{max-width:100%!important;word-wrap:break-word!important;white-space:initial!important}.activity-dropdown[_ngcontent-%COMP%]{position:absolute;top:25px;right:109px;margin-top:13px}.activity-dropdown[_ngcontent-%COMP%] .p-dropdown{width:277px!important}.activity-dropdown[_ngcontent-%COMP%] .p-dropdown-items-wrapper{width:278px!important;position:absolute!important;background-color:#fff!important;font-size:13px!important;border:1px solid #ccd4da!important;border-radius:5px!important;z-index:0!important}.activity-dropdown[_ngcontent-%COMP%] input.p-dropdown-filter{height:30px!important}.activity-dropdown[_ngcontent-%COMP%] .dropdown-p[_ngcontent-%COMP%]{max-width:100%!important;word-wrap:break-word!important;white-space:initial!important}.hide-pre-email[_ngcontent-%COMP%]{display:none}']}),i})();var Mo=f(85493),So=f(31456),Ro=f(94284);const Io=[{path:"",component:wo,canActivate:[Mo.a1,So.p,Ro.g]}];let Eo=(()=>{const l=class{};let i=l;return l.\u0275fac=function(s){return new(s||l)},l.\u0275mod=e.oAB({type:l}),l.\u0275inj=e.cJS({imports:[T.Bz.forChild(Io),T.Bz]}),i})();var Lo=f(19119),No=f(67195),Uo=f(23501),Po=f(55466),Fo=f(91742);let Jo=(()=>{const l=class{};let i=l;return l.\u0275fac=function(s){return new(s||l)},l.\u0275mod=e.oAB({type:l}),l.\u0275inj=e.cJS({imports:[Lo.J,u.u5,u.UX,Eo,$.p.pick(No.kEt),G.U$,ne.hJ,ie.T,te.kW,Uo.O.forRoot({themes:[Po.W,Fo.$],active:D.N.theme})]}),i})()}}]);
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.