1"use strict";(self.webpackChunkquickmail=self.webpackChunkquickmail||[]).push([["app_javascript_angular-engine_projects_quickmail_app_app-quick-views_linkedin_linkedin_module_ts"],{38702:(Q,R,s)=>{s.d(R,{u:()=>w});var d=s(2615),c=s(73664),u=s(54336),L=s(83801),v=s(72200),g=s(48578),b=s(11534);const M=[[["","type",""]],[["ui-avatar","avatar",""]],[["","title",""]],[["span","identifier",""]],[["","debugInfo",""]],[["ui-dropdown","actions",""]],[["","tabs",""]],"*"],e=["[type]","ui-avatar[avatar]","[title]","span[identifier]","[debugInfo]","ui-dropdown[actions]","[tabs]","*"];function S(p,C){if(1&p){const _=c.RV6();c.j41(0,"ui-icon",14),c.bIt("click",function(){d.eBV(_);const r=c.XpG();return d.Njj(r.copy())}),c.k0s()}2&p&&(c.Aen("regular"),c.Y8G("name","copy"))}function m(p,C){1&p&&c.nrm(0,"ui-icon",15),2&p&&(c.Aen("light"),c.Y8G("name","check"))}function V(p,C){if(1&p){const _=c.RV6();c.j41(0,"ui-icon-button",16),c.bIt("click",function(){d.eBV(_);const r=c.XpG();return d.Njj(r.unPin())}),c.k0s()}2&p&&c.Y8G("icon","thumbtack")}function f(p,C){if(1&p){const _=c.RV6();c.j41(0,"ui-icon-button",12),c.bIt("click",function(){d.eBV(_);const r=c.XpG();return d.Njj(r.pin())}),c.k0s()}2&p&&c.Y8G("icon","thumbtack")("iconStyle","regular")}let w=(()=>{class p{quickViewService;clipboard;el;labelSize="md";showIdentifierCopy=!0;truncateIdentifier=!0;pinned$;identifier="";copied=!1;resetTimer=null;get isLabelSm(){return"sm"===this.labelSize}get isLabelMd(){return"md"===this.labelSize}get noIdentifier(){return!this.identifier}get noIdentifierTruncate(){return!this.truncateIdentifier}get canCopyIdentifier(){return this.showIdentifierCopy&&!!this.identifier}constructor(_,h,r){this.quickViewService=_,this.clipboard=h,this.el=r}ngOnInit(){this.pinned$=this.quickViewService.pinned$}ngAfterContentInit(){const _=this.el.nativeElement.querySelector("span[identifier]");_&&(this.identifier=_.innerText)}ngOnDestroy(){this.resetTimer&&clearTimeout(this.resetTimer)}close(){this.quickViewService.close()}pin(){this.quickViewService.pin()}unPin(){this.quickViewService.unPin()}copy(){this.clipboard.copy(this.identifier),this.copied=!0,this.resetTimer=setTimeout(()=>{this.copied=!1},1e3)}static \u0275fac=function(h){return new(h||p)(c.rXU(u.S),c.rXU(L.B0),c.rXU(c.aKT))};static \u0275cmp=c.VBU({type:p,selectors:[["ui-quick-view-child"]],hostVars:8,hostBindings:function(h,r){2&h&&c.AVh("label-sm",r.isLabelSm)("label-md",r.isLabelMd)("no-identifier",r.noIdentifier)("no-identifier-truncate",r.noIdentifierTruncate)},inputs:{labelSize:"labelSize",showIdentifierCopy:"showIdentifierCopy",truncateIdentifier:"truncateIdentifier"},standalone:!1,ngContentSelectors:e,decls:24,vars:10,consts:[[1,"quick-view-child__header"],[1,"quick-view-child__header-type"],[1,"quick-view-child__header-details"],[1,"quick-view-child__header-details__info"],[1,"quick-view-child__header-details__info__title"],[1,"quick-view-child__header-details__info__identifier"],[1,"quick-view-child__header-details__info__identifier__value"],[3,"name","style","click",4,"ngIf"],[3,"name","style",4,"ngIf"],[1,"quick-view-child__actions"],[3,"icon","click",4,"ngIf"],[3,"icon","iconStyle","click",4,"ngIf"],[3,"click","icon","iconStyle"],[1,"quick-view-child__body"],[3,"click","name"],[3,"name"],[3,"click","icon"]],template:function(h,r){1&h&&(c.NAR(M),c.j41(0,"div",0)(1,"div",1),c.SdG(2),c.k0s(),c.j41(3,"div",2),c.SdG(4,1),c.j41(5,"div",3)(6,"div",4),c.SdG(7,2),c.k0s(),c.j41(8,"div",5)(9,"div",6),c.SdG(10,3),c.k0s(),c.DNE(11,S,1,3,"ui-icon",7)(12,m,1,3,"ui-icon",8),c.k0s()()(),c.j41(13,"div",9),c.SdG(14,4),c.DNE(15,V,1,1,"ui-icon-button",10),c.nI1(16,"async"),c.DNE(17,f,1,2,"ui-icon-button",11),c.nI1(18,"async"),c.SdG(19,5),c.j41(20,"ui-icon-button",12),c.bIt("click",function(){return r.close()}),c.k0s()()(),c.SdG(21,6),c.j41(22,"div",13),c.SdG(23,7),c.k0s()),2&h&&(c.R7$(11),c.Y8G("ngIf",!r.copied&&r.canCopyIdentifier),c.R7$(),c.Y8G("ngIf",r.copied&&r.canCopyIdentifier),c.R7$(3),c.Y8G("ngIf",c.bMT(16,6,r.pinned$)),c.R7$(2),c.Y8G("ngIf",!c.bMT(18,8,r.pinned$)),c.R7$(3),c.Y8G("icon","times")("iconStyle","regular"))},dependencies:[v.bT,g.R,b.x,v.Jj],styles:["[_nghost-%COMP%]{position:relative;inset:0;z-index:100;display:block;width:100vw;max-width:32rem;flex:1 1 0%}.quick-view-child__header[_ngcontent-%COMP%]{position:sticky;left:0;right:0;top:0;z-index:20;display:flex;height:4rem;align-items:center;gap:.5rem;border-bottom-width:1px;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-right:1rem}.label-sm[_nghost-%COMP%] .quick-view-child__header-type[_ngcontent-%COMP%]{font-size:.5625rem}.label-md[_nghost-%COMP%] .quick-view-child__header-type[_ngcontent-%COMP%]{font-size:.75rem}.no-identifier[_nghost-%COMP%] .quick-view-child__header-details__info[_ngcontent-%COMP%]{display:flex;height:2.5rem;align-items:center}.no-identifier[_nghost-%COMP%] .quick-view-child__header-details__info__title[_ngcontent-%COMP%]{display:flex;height:2.5rem;align-items:center;justify-content:space-between;gap:.5rem;font-size:.9375rem;line-height:2.5rem}.no-identifier-truncate[_nghost-%COMP%] .quick-view-child__header-details__info__identifier__value[_ngcontent-%COMP%]{max-width:none;overflow:visible;white-space:nowrap}.quick-view-child__header-type[_ngcontent-%COMP%]{z-index:30;margin-left:-1.25rem;display:flex;height:1.5rem;width:4rem;max-width:4rem;--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));-webkit-user-select:none;user-select:none;align-items:center;justify-content:center;--tw-bg-opacity: 1;background-color:hsl(var(--twc-blue-800) / var(--twc-blue-800-opacity, var(--tw-bg-opacity)));font-weight:600;text-transform:uppercase;line-height:1;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.quick-view-child__header-details[_ngcontent-%COMP%]{margin-left:-1rem;display:flex;flex:1 1 0%;align-items:center;gap:.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.quick-view-child__header-details__info[_ngcontent-%COMP%]{display:flex;height:3rem;flex-direction:column;font-size:1.25rem;line-height:1.75rem}.quick-view-child__header-details__info__title[_ngcontent-%COMP%]{height:1.75rem;max-width:14rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9375rem;font-weight:600}.quick-view-child__header-details__info__identifier[_ngcontent-%COMP%]{display:flex;height:1rem;gap:.25rem;font-size:.75rem;font-weight:400;line-height:1rem;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.quick-view-child__header-details__info__identifier__value[_ngcontent-%COMP%]{width:fit-content;max-width:12rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quick-view-child__header-details__info__identifier[_ngcontent-%COMP%] ui-icon[_ngcontent-%COMP%]{height:1rem;width:1rem;cursor:pointer;border-radius:.375rem}.quick-view-child__header-details__info__identifier[_ngcontent-%COMP%] ui-icon[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.quick-view-child__actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.125rem;--tw-text-opacity: 1;color:rgb(105 107 143 / var(--tw-text-opacity, 1))}.quick-view-child__body[_ngcontent-%COMP%]{padding:.75rem 1.25rem 2.5rem}@media (max-height: 740px){.quick-view-child__body[_ngcontent-%COMP%]{padding-bottom:2.5rem}}"]})}return p})()},69985:(Q,R,s)=>{s.d(R,{E:()=>S});var d=s(11514),c=s(2615),u=s(73664),L=s(54336),v=s(72200);const g=["*"];function b(m,V){1&m&&u.eu8(0)}function M(m,V){if(1&m){const f=u.RV6();u.qex(0),u.j41(1,"div",2)(2,"div",3),u.bIt("click",function(){c.eBV(f);const p=u.XpG();return c.Njj(p.close())}),u.k0s(),u.j41(3,"div",4)(4,"div",5)(5,"div",6),u.DNE(6,b,1,0,"ng-container",7),u.k0s()()()(),u.bVm()}if(2&m){u.XpG();const f=u.sdS(3);u.R7$(2),u.Y8G("@fadeInOverlay",void 0),u.R7$(3),u.Y8G("@slideInPanel",void 0),u.R7$(),u.Y8G("ngTemplateOutlet",f)}}function e(m,V){1&m&&(u.j41(0,"div",8),u.SdG(1),u.k0s())}let S=(()=>{class m{quickViewService;pinned$;constructor(f){this.quickViewService=f}ngOnInit(){this.pinned$=this.quickViewService.pinned$}close(){this.quickViewService.close()}static \u0275fac=function(w){return new(w||m)(u.rXU(L.S))};static \u0275cmp=u.VBU({type:m,selectors:[["ui-quick-view"]],standalone:!1,ngContentSelectors:g,decls:4,vars:4,consts:[["contentTemplate",""],[4,"ngIf","ngIfElse"],[1,"quick-view"],[1,"quick-view__backdrop",3,"click"],[1,"overflow-hidden"],[1,"pointer-events-none","fixed","inset-y-0","right-0","flex","max-w-full","pl-10"],[1,"pointer-events-auto","w-screen","max-w-lg"],[4,"ngTemplateOutlet"],[1,"isolate","flex","h-full","w-screen","max-w-lg","flex-col","overflow-y-auto","bg-white"]],template:function(w,p){if(1&w&&(u.NAR(),u.DNE(0,M,7,3,"ng-container",1),u.nI1(1,"async"),u.DNE(2,e,2,0,"ng-template",null,0,u.C5r)),2&w){const C=u.sdS(3);u.Y8G("ngIf",!u.bMT(1,2,p.pinned$))("ngIfElse",C)}},dependencies:[v.bT,v.T3,v.Jj],styles:["[_nghost-%COMP%]{position:relative;z-index:70}.quick-view__backdrop[_ngcontent-%COMP%]{position:fixed;inset:0;--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1));--tw-bg-opacity: 35% }"],data:{animation:[(0,d.hZ)("fadeInOverlay",[(0,d.kY)("void => *",[(0,d.iF)({opacity:0}
1),(0,d.i0)("200ms ease-in-out",(0,d.iF)({opacity:1}))]),(0,d.kY)("* => void",[(0,d.iF)({opacity:1}),(0,d.i0)("200ms ease-in-out",(0,d.iF)({opacity:0}))])]),(0,d.hZ)("slideInPanel",[(0,d.kY)("void => *",[(0,d.iF)({transform:"translateX(100%)"}),(0,d.i0)("200ms ease-in-out",(0,d.iF)({transform:"translateX(0)"}))]),(0,d.kY)("* => void",[(0,d.iF)({transform:"translateX(0%)"}),(0,d.i0)("200ms ease-in-out",(0,d.iF)({transform:"translateX(100%)"}))])])]}})}return m})()},84461:(Q,R,s)=>{s.d(R,{QuickViewLinkedinModule:()=>He});var d=s(72200),c=s(84341),u=s(38132),L=s(89347),v=s(24072),g=s(96354),b=s(25558),M=s(21698),e=s(73664),S=s(10566),m=s(61990),V=s(76986);function f(t,l){if(1&t&&e.nrm(0,"ui-error",8),2&t){const i=e.XpG();e.Y8G("error",i.error)}}let w=(()=>{class t extends M.h{accountService;data;linkedinId=null;error=null;constructor(i,n,o){super(i,o),this.accountService=n,this.data=o}ngOnInit(){this.linkedinId=this.data.linkedinId}delete(i,n,o){this.error="",this.accountService.deleteLinkedins([this.linkedinId],a=>{n(),this.modalService.onSuccess()},a=>{this.error=a,o(a)})}static \u0275fac=function(n){return new(n||t)(e.rXU(S.B),e.rXU(v.D),e.rXU("data",8))};static \u0275cmp=e.VBU({type:t,selectors:[["modal-delete-linkedin"]],standalone:!1,features:[e.Vt3],decls:12,vars:3,consts:[["header",""],["body",""],[1,"flex","flex-col","gap-2"],[1,"text-sm"],[1,"text-sm","text-red-500"],["actions",""],[3,"title","onClick"],["error","",3,"error",4,"ngIf"],["error","",3,"error"]],template:function(n,o){1&n&&(e.j41(0,"ui-modal-child")(1,"div",0),e.EFF(2,"Delete LinkedIn account"),e.k0s(),e.j41(3,"div",1)(4,"div",2)(5,"div",3),e.EFF(6,"This action will remove this LinkedIn account from the workspace."),e.k0s(),e.j41(7,"div",4),e.EFF(8,"Note: Leads using this LinkedIn account will not be able to continue running their campaign. This action can not be undone"),e.k0s()()(),e.j41(9,"div",5),e.nrm(10,"ui-button",6),e.k0s(),e.DNE(11,f,1,1,"ui-error",7),e.k0s()),2&n&&(e.R7$(10),e.Y8G("title","Delete")("onClick",o.delete.bind(o)),e.R7$(),e.Y8G("ngIf",o.error))},dependencies:[d.bT,m.Q,M.h,V.c],encapsulation:2})}return t})();var p=s(25553);const C=p.Ay` 2 fragment LinkedinSharedSettings on Linkedin { 3 id 4 name 5 publicId 6 countryCode 7 countryName 8 accredited 9 paused 10 pausedReason 11 sharing 12 connectionRequestDailyLimit 13 profileVisitDailyLimit 14 messageDailyLimit 15 inmailDailyLimit 16 voiceMessageDailyLimit 17 throttle 18 throttleRange 19 defaultThrottle 20 connectionRequestQueueSize 21 profileVisitQueueSize 22 messageQueueSize 23 inmailQueueSize 24 voiceMessageQueueSize 25 lastActionAt 26 queueLockedFor 27 lastConnectionAt 28 lastMessageAt 29 connectionsCheckedAt 30 conversationsCheckedAt 31 autoCreateProspects 32 createLeadsFromProfileViewers 33 login 34 premiumAt 35 salesNavigatorAt 36 owner { 37 id 38 name 39 email 40 avatarUrl 41 } 42 campaigns { 43 id 44 name 45 live 46 } 47 addProspectToCampaign { 48 id 49 name 50 } 51 defaultIdealCustomerProfile { 52 id 53 name 54 } 55 idealCustomerProfiles { 56 id 57 name 58 } 59 } 60`,_={workspace:p.Ay` 61 query linkedin($scopeId: ID!, $linkedinId: ID!) { 62 account(accountId: $scopeId) { 63 id 64 plan 65 newUiAt 66 teamMembers { 67 id 68 name 69 email 70 avatarUrl 71 } 72 subscription { 73 id 74 canceledAt 75 cycle 76 name 77 quantity 78 status 79 } 80 linkedin(linkedinId: $linkedinId) { 81 ...LinkedinSharedSettings 82 } 83 } 84 } 85 ${C} 86 `,agency:p.Ay` 87 query appQuickViewEmailAgencyInbox($scopeId: ID!, $linkedinId: ID!) { 88 organization(orgId: $scopeId) { 89 id 90 linkedin(linkedinId: $linkedinId) { 91 ...LinkedinSharedSettings 92 account { 93 id 94 plan 95 newUiAt 96 teamMembers { 97 id 98 name 99 email 100 avatarUrl 101 } 102 subscription { 103 id 104 canceledAt 105 cycle 106 name 107 quantity 108 status 109 } 110 } 111 } 112 } 113 } 114 ${C} 115 `};var h=s(40227),r=s(2615),I=s(37589),j=s(66295),T=s(54336),G=s(44260),B=s(30450),F=s(94354),P=s(69766),O=s(52072),E=s(48578),Y=s(11534),z=s(69985),J=s(38702),N=s(57167),$=s(47362);function W(t,l){1&t&&e.nrm(0,"ui-icon",21),2&t&&e.Y8G("ngClass","text-[#0077b5]")("name","compass")("tooltip","LinkedIn Sales Navigator enabled")}function H(t,l){if(1&t&&(e.qex(0,22),e.nrm(1,"ui-debug-info",23),e.bVm()),2&t){const i=e.XpG().ngIf;e.R7$(),e.Y8G("id",i.id)("clipboardText","linkedin = Linkedin.find("+i.id+")")}}function K(t,l){if(1&t){const i=e.RV6();e.j41(0,"ui-icon-button",24),e.bIt("click",function(){const o=r.eBV(i).click;
115return r.Njj(o())}),e.k0s()}2&t&&e.Y8G("icon","ellipsis-v")}function Z(t,l){if(1&t){const i=e.RV6();e.j41(0,"ui-quick-view-child",2)(1,"span",3),e.EFF(2,"LinkedIn"),e.k0s(),e.nrm(3,"ui-avatar",4),e.j41(4,"span",5)(5,"div",6)(6,"div"),e.EFF(7),e.k0s(),e.DNE(8,W,1,3,"ui-icon",7),e.k0s()(),e.j41(9,"span",8),e.EFF(10),e.k0s(),e.DNE(11,H,2,2,"ng-container",9),e.nI1(12,"async"),e.j41(13,"ui-dropdown",10),e.DNE(14,K,1,1,"ng-template",11),e.j41(15,"ui-button",12),e.bIt("click",function(){r.eBV(i);const o=e.XpG();return r.Njj(o.openDeleteLinkedinModal())}),e.k0s()(),e.qex(16,13),e.j41(17,"div",14)(18,"div",15)(19,"button",16),e.nrm(20,"ui-icon",17),e.k0s(),e.j41(21,"button",18),e.nrm(22,"ui-icon",17),e.k0s(),e.j41(23,"button",19),e.nrm(24,"ui-icon",17),e.k0s(),e.j41(25,"button",20),e.nrm(26,"ui-icon",17),e.k0s()()(),e.bVm(),e.nrm(27,"router-outlet"),e.k0s()}if(2&t){const i=l.ngIf,n=e.XpG();e.Y8G("labelSize","sm"),e.R7$(3),e.Y8G("src",i.avatarUrl)("name",i.name)("pillIcon",i.login?"key":null)("pillStyle","secondary")("pillTooltipText",i.login?"Using 2FA":null)("icon","linkedin-in")("iconStyle","brand")("iconBackgroundStyle",i.premiumAt?"gold":"blue")("iconTooltip",i.premiumAt?"LinkedIn Premium account":null),e.R7$(4),e.JRh(i.name),e.R7$(),e.Y8G("ngIf",i.salesNavigatorAt),e.R7$(2),e.JRh(i.publicId),e.R7$(),e.Y8G("ngIf",e.bMT(12,31,n.workspaceService.debugMode)),e.R7$(2),e.Y8G("dropPosition","bottom-end")("dropSize","sm"),e.R7$(2),e.Aen("danger"),e.Y8G("title","Delete"),e.R7$(5),e.Aen("regular"),e.Y8G("name","cog"),e.R7$(2),e.Aen("regular"),e.Y8G("name","paper-plane"),e.R7$(2),e.Aen("regular"),e.Y8G("name","inbox-in"),e.R7$(2),e.Aen("regular"),e.Y8G("name","layer-group")}}function ee(t,l){1&t&&e.nrm(0,"ui-loading")}let ie=(()=>{class t{accountService;activatedRoute;apollo;modalService;quickViewService;workspaceService;agencyService;itemId;item$;scope;service;constructor(i,n,o,a,k,y,x){this.accountService=i,this.activatedRoute=n,this.apollo=o,this.modalService=a,this.quickViewService=k,this.workspaceService=y,this.agencyService=x}ngOnInit(){this.assignScopeAndService(),this.item$=this.activatedRoute.paramMap.pipe((0,g.T)(i=>this.itemId=i.get("pinnedId")),(0,b.n)(()=>this.getLinkedin()))}buildQuery(){return this.apollo.watchQuery({query:_[this.scope],fetchPolicy:"cache-and-network",notifyOnNetworkStatusChange:!1,variables:{scopeId:this.service.id.getValue(),linkedinId:this.itemId}})}getLinkedin(){return this.buildQuery().valueChanges.pipe((0,g.T)(({data:i})=>"workspace"==this.scope?JSON.parse(JSON.stringify(i.account.linkedin)):JSON.parse(JSON.stringify(i.organization.linkedin))))}openDeleteLinkedinModal(){this.modalService.show(w,{linkedinId:this.itemId},()=>{this.quickViewService.onSuccess(!0)})}assignScopeAndService(){switch(this.quickViewService.scope.next(this.activatedRoute.snapshot.params.agencyId?"agency":"workspace"),this.scope=this.quickViewService.scope.getValue(),this.scope){case"agency":this.service=this.agencyService;break;case"workspace":this.service=this.workspaceService;break;default:throw new Error("Invalid scope")}}static \u0275fac=function(n){return new(n||t)(e.rXU(v.D),e.rXU(I.nX),e.rXU(j.Ic),e.rXU(S.B),e.rXU(T.S),e.rXU(G.j),e.rXU(h.j))};static \u0275cmp=e.VBU({type:t,selectors:[["quick-view-linkedin-layout"]],standalone:!1,decls:5,vars:4,consts:[["loading",""],[3,"labelSize",4,"ngIf","ngIfElse"],[3,"labelSize"],["type",""],["avatar","",3,"src","name","pillIcon","pillStyle","pillTooltipText","icon","iconStyle","iconBackgroundStyle","iconTooltip"],["title",""],[1,"flex","items-center","gap-2"],[3,"ngClass","name","tooltip",4,"ngIf"],["identifier",""],["debugInfo","",4,"ngIf"],["actions","",3,"dropPosition","dropSize"],["dropdownButton",""],["dropdownItem","",3,"click","title"],["tabs",""],[1,"tabs"],[1,"tabs__nav"],["routerLinkActive","tabs__button--active","routerLink","general",1,"tabs__button"],[3,"name"],["routerLinkActive","tabs__button--active","routerLink","sending",1,"tabs__button"],["routerLinkActive","tabs__button--active","routerLink","receiving",1,"tabs__button"],["routerLinkActive","tabs__button--active","routerLink","campaigns",1,"tabs__button"],[3,"ngClass","name","tooltip"],["debugInfo",""],[3,"id","clipboardText"],[3,"click","icon"]],template:function(n,o){if(1&n&&(e.j41(0,"ui-quick-view"),e.DNE(1,Z,28,33,"ui-quick-view-child",1),e.nI1(2,"async"),e.DNE(3,ee,1,0,"ng-template",null,0,e.C5r),e.k0s()),2&n){const a=e.sdS(4);e.R7$(),e.Y8G("ngIf",e.bMT(2,2,o.item$))("ngIfElse",a)}},dependencies:[d.YU,d.bT,I.n3,u.Wk,u.wQ,B.f,m.Q,F.J,P.P,P.x,O.M,E.R,Y.x,z.E,J.u,N.d,$.K,d.Jj],styles:[".tabs[_ngcontent-%COMP%]{position:sticky;left:0;right:0;top:4rem;z-index:10;margin-top:-.75rem;display:flex;height:3rem;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.tabs__nav[_ngcontent-%COMP%]{margin-bottom:-1px;display:flex;flex:1 1 0%}.tabs__button[_ngcontent-%COMP%]{display:inline-flex;width:25%;flex:1 1 0%;align-items:center;justify-content:center;gap:.5rem;white-space:nowrap;border-bottom-width:2px;border-color:transparent;font-size:.9375rem;font-weight:500;--tw-text-opacity: 1;color:hsl(var(--twc-blue-dark) / var(--twc-blue-dark-opacity, var(--tw-text-opacity)));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.tabs__button[_ngcontent-%COMP%]:hover{--tw-border-opacity: 1;border-color:hsl(var(--twc-blue-200) / var(--twc-blue-200-opacity, var(--tw-border-opacity)))}.tabs__button[_ngcontent-%COMP%]:focus{outline:2px solid transparent;outline-offset:2px}.tabs__button[_ngcontent-%COMP%]:focus-visible{--tw-border-opacity: 1;border-color:hsl(var(--twc-blue-200) / var(--twc-blue-200-opacity, var(--tw-border-opacity)));outline:2px solid transparent;outline-offset:2px}.tabs__button.tabs__button--active[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:hsl(var(--twc-blue-500) / var(--twc-blue-500-opacity, var(--tw-border-opacity)));--tw-text-opacity: 1;color:hsl(var(--twc-blue-500) / var(--twc-blue-500-opacity, var(--tw-text-opacity)))}.tabs__button.tabs__button--active[_ngcontent-%COMP%]:hover{--tw-border-opacity: 1;border-color:hsl(var(--twc-blue-500) / var(--twc-blue-500-opacity, var(--tw-border-opacity)))}"]})}return t})();var ne=s(21413),te=s(40605),X=s(56977),oe=s(88141),D=s(52529),q=s(65450),U=s(24314),ae=s(16082);const ce=()=>({label:"Private (just for the owner)",value:0}),re=()=>({label:"Shared (others can use this email account in campaigns)",value:2}),se=(t,l)=>[t,l];function le(t,l){if(1&t){const i=e.RV6();e.j41(0,"ui-select",6),e.mxI("ngModelChange",function(o){r.eBV(i);const a=e.XpG().ngIf;return e.DH7(a.countryCode,o)||(a.countryCode=o),r.Njj(o)}),e.k0s()}if(2&t){const i=l.ngIf,n=e.XpG().ngIf,o=e.XpG();e.Y8G("label","Choose the country to connect to LinkedIn from"),e.R50("ngModel",n.countryCode),e.Y8G("key","country_code")("onChangeCallback",o.changeDetected.bind(o))("options",i)("help","Choose a country from which you would also use the account to make sure the requests look as natural as possible.")}}function de(t,l){if(1&t){const i=e.RV6();e.qex(0),e.j41(1,"ui-textarea",8),e.mxI("ngModelChange",function(o){r.eBV(i);const a=e.XpG().ngIf;return e.DH7(a.cookies,o)||(a.cookies=o),r.Njj(o)}),e.k0s(),e.j41(2,"div",9),e.EFF(3,"Use the Chrome extension"),e.j41(4,"a",10),e.EFF(5,"Copy Cookies"),e.k0s(),e.EFF(6,"while logged in to the LinkedIn account and paste them here. We use these cookies to authenticate requests to LinkedIn using this account."),e.k0s(),e.bVm()}if(2&t){const i=e.XpG().ngIf,n=e.XpG();e.R7$(),e.Y8G("label","Update cookies"),e.R50("ngModel",i.cookies),e.Y8G("key","cookies")("onChangeCallback",n.changeDetected.bind(n))("rows",5)("help","Paste the cookies here if you have updated them.")}}function ue(t,l){if(1&t){const i=e.RV6();e.j41(0,"form",null,0)(2,"div",1)(3,"ui-input",11),e.mxI("ngModelChange",function(o){r.eBV(i);const a=e.XpG().ngIf;return e.DH7(a.login,o)||(a.login=o),r.Njj(o)}),e.k0s(),e.j41(4,"ui-input",12),e.mxI("ngModelChange",function(o){r.eBV(i);const a=e.XpG().ngIf;return e.DH7(a.password,o)||(a.password=o),r.Njj(o)}),e.k0s(),e.j41(5,"ui-input",13),e.mxI("ngModelChange",function(o){r.eBV(i);const a=e.XpG().ngIf;return e.DH7(a.otpSeed,o)||(a.otpSeed=o),r.Njj(o)}),e.k0s()()()}if(2&t){const i=e.XpG().ngIf;e.R7$(3),e.R50("ngModel",i.login),e.Y8G("label","Login")("type","email")("disabled",!0),e.R7$(),e.R50("ngModel",i.password),e.Y8G("label","Password")("type","password")("disabled",!0),e.R7$(),e.R50("ngModel",i.otpSeed),e.Y8G("type","password")("label","2FA secret key")("disabled",!0)}}function pe(t,l){if(1&t){const i=e.RV6();e.qex(0),e.j41(1,"ui-select",5),e.mxI("ngModelChange",function(o){r.eBV(i);const a=e.XpG();return e.DH7(a.ownerId,o)||(a.ownerId=o),r.Njj(o)}),e.k0s(),e.j41(2,"ui-select",6),e.mxI("ngModelChange",function(o){const a=r.eBV(i).ngIf;return e.DH7(a.sharing,o)||(a.sharing=o),r.Njj(o)}),e.k0s(),e.j41(3,"div",2)(4,"h2",3),e.EFF(5,"Account details"),e.k0s()(),e.DNE(6,le,1,6,"ui-select",7),e.nI1(7,"async"),e.DNE(8,de,7,6,"ng-container",4)(9,ue,6,12,"form",4),e.bVm()}if(2&t){const i=l.ngIf,n=e.XpG();e.R7$(),e.Y8G("label","LinkedIn account owner"),e.R50("ngModel",n.ownerId),e.Y8G("key","owner_id")("disabled",0==i.sharing)("onChangeCallback",n.changeDetected.bind(n))("options",n.teamMembers)("help",0==i.sharing?"Set this LinkedIn account as shared first to be able to change owner.":""),e.R7$(),e.Y8G("label","Sharing settings"),e.R50("ngModel",i.sharing),e.Y8G("key","sharing")("onChangeCallback",n.changeDetected.bind(n))("options",e.l_i(20,se,e.lJ4(18,ce),e.lJ4(19,re)))("help","Note: Only owners can update this."),e.R7$(4),e.Y8G("ngIf",e.bMT(7,16,n.proxyCountries$)),e.R7$(2),e.Y8G("ngIf",!i.login),e.R7$(),e.Y8G("ngIf",i.login)}}let ge=(()=>{class t{activatedRoute;agencyService;apollo;linkedinService;quickViewService;workspaceService;itemId;item$;teamMembers;ownerId;countdown;proxyCountries$;workspaceId;scope;service;destroyed$=new ne.B;constructor(i,n,o,a,k,y){this.activatedRoute=i,this.agencyService=n,this.apollo=o,this.linkedinService=a,this.quickViewService=k,this.workspaceService=y}ngOnInit(){switch(this.scope=this.quickViewService.scope.getValue(),this.scope){case"agency":this.service=this.agencyService;break;case"workspace":this.service=this.workspaceService;break;default:throw new Error("Invalid scope")}this.item$=this.activatedRoute.paramMap.pipe((0,g.T)(i=>this.itemId=i.get("pinnedId")),(0,b.n)(()=>this.getLinkedin().pipe((0,g.T)(i=>i)))),this.proxyCountries$=this.linkedinService.getProxyCountries().pipe((0,g.T)(i=>i.map(n=>({label:n.name,value:n.code}))))}buildQuery(){return this.apollo.watchQuery({query:_[this.scope],fetchPolicy:"cache-and-network",notifyOnNetworkStatusChange:!1,variables:{scopeId:this.service.id.getValue(),linkedinId:this.itemId}})}getLinkedin(){return this.buildQuery().valueChanges.pipe((0,g.T)(({data:i})=>"workspace"==this.scope?(this.ownerId=i.account.linkedin.owner?.id||"",this.workspaceId=i.account.id,this.teamMembers=this.getTeamMembers(i.account),JSON.parse(JSON.stringify(i.account.linkedin))):(this.ownerId=i.organization.linkedin.owner?.id||"",this.workspaceId=i.organization.linkedin.account.id,this.teamMembers=this.getTeamMembers(i.organization.linkedin.account),JSON.parse(JSON.stringify(i.organization.linkedin)))))}changeDetected(i,n,o,a){this.linkedinService.setField([this.itemId],i,n.toString(),this.workspaceId,()=>{o()},k=>{a(k)})}updateCredentials(i,n,o){}getTeamMembers(i){return i?.teamMembers?.map(n=>({value:n.id.toString(),label:`${n.name} (${n.email})`}))}startSyncedCountdown(){this.updateCountdown(),(0,te.Y)(1e3).pipe((0,X.Q)(this.destroyed$),(0,oe.M)(()=>{this.countdown>1?this.countdown--:this.refresh2faOtp()})).subscribe()}updateCountdown(){const i=(new Date).getSeconds();this.countdown=30-i%30}refresh2faOtp(){this.buildQuery().valueChanges.pipe((0,X.Q)(this.destroyed$),(0,g.T)(({})=>{this.updateCountdown()})).subscribe()}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}static \u0275fac=function(n){return new(n||t)(e.rXU(I.nX),e.rXU(h.j),e.rXU(j.Ic),e.rXU(D.K),e.rXU(T.S),e.rXU(G.j))};static \u0275cmp=e.VBU({type:t,selectors:[["quick-view-linkedin-general"]],standalone:!1,decls:6,vars:3,consts:[["form","ngForm"],[1,"fields"],[1,"fields__header"],[1,"fields__title"],[4,"ngIf"],[3,"ngModelChange","label","ngModel","key","disabled","onChangeCallback","options","help"],[3,"ngModelChange","label","ngModel","key","onChangeCallback","options","help"],[3,"label","ngModel","key","onChangeCallback","options","help","ngModelChange",4,"ngIf"],[3,"ngModelChange","label","ngModel","key","onChangeCallback","rows","help"],[1,"text-sm"],["href","https://chrome.google.com/webstore/detail/copy-cookies/jcbpglbplpblnagieibnemmkiamekcdg","target","_blank","rel","noopener noreferrer",1,"link","pl-1","pr-1"],["required","","name","login",3,"ngModelChange","ngModel","label","type","disabled"],["required","","name","password",3,"ngModelChange","ngModel","label","type","disabled"],["required","","name","otpSeed",3,"ngModelChange","ngModel","type","label","disabled"]],template:function(n,o){1&n&&(e.j41(0,"div",1)(1,"div",2)(2,"h2",3),e.EFF(3,"General"),e.k0s()(),e.DNE(4,pe,10,23,"ng-container",4),e.nI1(5,"async"),e.k0s()),2&n&&(e.R7$(4),e.Y8G("ngIf",e.bMT(5,1,o.item$)))},dependencies:[d.bT,c.qT,c.BC,c.cb,c.YS,c.vS,c.cV,q.u,U.K,ae.W,d.Jj],styles:[".fields[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.fields__header[_ngcontent-%COMP%]{position:sticky;top:7rem;isolation:isolate;z-index:10;display:flex;align-items:center;justify-content:space-between;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-top:.75rem;padding-bottom:.75rem}.fields__title[_ngcontent-%COMP%]{font-size:1.125rem;line-height:1.75rem;font-weight:500;--tw-text-opacity: 1;color:hsl(var(--twc-blue-900) / var(--twc-blue-900-opacity, var(--tw-text-opacity)))}.fields__toggle[_ngcontent-%COMP%]{font-size:.8125rem;--tw-text-opacity: 1;color:hsl(var(--twc-blue-500) / var(--twc-blue-500-opacity, var(--tw-text-opacity)));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.fields__toggle[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:hsl(var(--twc-blue-400) / var(--twc-blue-400-opacity, var(--tw-text-opacity)))}.link[_ngcontent-%COMP%]{cursor:pointer;font-size:.8125rem;--tw-text-opacity: 1;color:hsl(var(--twc-blue-500) / var(--twc-blue-500-opacity, var(--tw-text-opacity)))}.link[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:hsl(var(--twc-blue-600) / var(--twc-blue-600-opacity, var(--tw-text-opacity)))}"]})}return t})();var A=s(35586);const me=(t,l)=>["/workspace",t,"campaigns",l,"dashboard"],_e=t=>["ideal-customer-profiles",t,"view"],he=t=>({pin:t}),ke=t=>({outlets:t}),fe=(t,l)=>["/workspace",t,l];function ve(t,l){if(1&t){const i=e.RV6();e.j41(0,"ui-select",17),e.mxI("ngModelChange",function(o){r.eBV(i);const a=e.XpG().ngIf;return e.DH7(a.addProspectToCampaign.id,o)||(a.addProspectToCampaign.id=o),r.Njj(o)}),e.k0s()}if(2&t){const i=e.XpG().ngIf,n=e.XpG();e.R50("ngModel",i.addProspectToCampaign.id),e.Y8G("label","Add new leads to this campaign")("key","add_prospect_to_campaign")("options",n.campaigns)("onChangeCallback",n.changeDetected.bind(n))}}function be(t,l){if(1&t&&(e.j41(0,
115"a",18),e.EFF(1,"View campaign"),e.k0s()),2&t){const i=e.XpG().ngIf,n=e.XpG();e.Y8G("routerLink",e.l_i(1,me,n.workspaceId,i.addProspectToCampaign.id))}}function we(t,l){if(1&t){const i=e.RV6();e.j41(0,"ui-select",19),e.mxI("ngModelChange",function(o){r.eBV(i);const a=e.XpG().ngIf;return e.DH7(a.defaultIdealCustomerProfile.id,o)||(a.defaultIdealCustomerProfile.id=o),r.Njj(o)}),e.k0s()}if(2&t){const i=e.XpG().ngIf,n=e.XpG();e.R50("ngModel",i.defaultIdealCustomerProfile.id),e.Y8G("label","Default ideal customer profile")("key","default_ideal_customer_profile_id")("options",n.icps)("onChangeCallback",n.changeDetected.bind(n))("help","The default ICP filter applied to leads imported using this LinkedIn account.")}}function ye(t,l){if(1&t&&(e.j41(0,"a",18),e.EFF(1,"View ICP"),e.k0s()),2&t){const i=e.XpG().ngIf,n=e.XpG();e.Y8G("routerLink",e.l_i(7,fe,n.workspaceId,e.eq3(5,ke,e.eq3(3,he,e.eq3(1,_e,i.defaultIdealCustomerProfile.id)))))}}function Ce(t,l){if(1&t&&(e.j41(0,"b"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&t){const i=e.XpG().ngIf;e.R7$(),e.JRh(e.i5U(2,1,i.connectionsCheckedAt,"medium"))}}function Ie(t,l){1&t&&(e.j41(0,"b"),e.EFF(1,"never"),e.k0s())}function xe(t,l){if(1&t&&(e.j41(0,"div",11)(1,"span"),e.EFF(2,"Latest connection was detected:"),e.k0s(),e.j41(3,"b"),e.EFF(4),e.nI1(5,"date"),e.k0s()()),2&t){const i=e.XpG().ngIf;e.R7$(4),e.JRh(e.i5U(5,1,i.lastConnectionAt,"medium"))}}function Me(t,l){1&t&&(e.j41(0,"b"),e.EFF(1,"never"),e.k0s())}function Se(t,l){if(1&t&&(e.j41(0,"div",20)(1,"span"),e.EFF(2,"Last LinkedIn conversations sync:"),e.k0s(),e.j41(3,"b"),e.EFF(4),e.nI1(5,"date"),e.k0s(),e.DNE(6,Me,2,0,"b",1),e.k0s()),2&t){const i=e.XpG().ngIf;e.R7$(4),e.JRh(e.i5U(5,2,i.conversationsCheckedAt,"medium")),e.R7$(2),e.Y8G("ngIf",!i.conversationsCheckedAt)}}function Ve(t,l){if(1&t&&(e.j41(0,"div",11)(1,"span"),e.EFF(2,"Latest message was detected:"),e.k0s(),e.j41(3,"b"),e.EFF(4),e.nI1(5,"date"),e.k0s()()),2&t){const i=e.XpG().ngIf;e.R7$(4),e.JRh(e.i5U(5,1,i.lastMessageAt,"medium"))}}function Re(t,l){if(1&t&&(e.j41(0,"div",10),e.EFF(1),e.k0s()),2&t){const i=e.XpG(2);e.R7$(),e.JRh(i.syncMessage)}}function Le(t,l){if(1&t){const i=e.RV6();e.qex(0),e.j41(1,"div",2)(2,"h2",3),e.EFF(3,"Receiving"),e.k0s()(),e.j41(4,"ui-checkbox",4),e.mxI("ngModelChange",function(o){const a=r.eBV(i).ngIf;return e.DH7(a.autoCreateProspects,o)||(a.autoCreateProspects=o),r.Njj(o)}),e.k0s(),e.j41(5,"ui-checkbox",5),e.mxI("ngModelChange",function(o){const a=r.eBV(i).ngIf;return e.DH7(a.createLeadsFromProfileViewers,o)||(a.createLeadsFromProfileViewers=o),r.Njj(o)}),e.k0s(),e.DNE(6,ve,1,5,"ui-select",6)(7,be,2,4,"a",7)(8,we,1,6,"ui-select",8)(9,ye,2,10,"a",7),e.j41(10,"div",2)(11,"h2",3),e.EFF(12,"Sync status"),e.k0s()(),e.j41(13,"div",9)(14,"div",10)(15,"div",11)(16,"span"),e.EFF(17,"Last LinkedIn connections sync:"),e.k0s(),e.DNE(18,Ce,3,4,"b",1)(19,Ie,2,0,"b",1),e.k0s(),e.DNE(20,xe,6,4,"div",12)(21,Se,7,5,"div",13)(22,Ve,6,4,"div",12),e.k0s()(),e.j41(23,"div",14),e.nrm(24,"ui-button",15),e.k0s(),e.DNE(25,Re,2,1,"div",16),e.bVm()}if(2&t){const i=l.ngIf,n=e.XpG();e.R7$(4),e.Y8G("label","Create leads from messages received"),e.R50("ngModel",i.autoCreateProspects),e.Y8G("key","auto_create_prospects")("onChangeCallback",n.changeDetected.bind(n))("help","Automatically create leads from messages received by this LinkedIn account."),e.R7$(),e.R50("ngModel",i.createLeadsFromProfileViewers),e.Y8G("onChangeCallback",n.changeDetected.bind(n))("key","create_leads_from_profile_viewers")("label","Create leads from profile viewers")("help",n.helpCreateLeadsFromProfileViewers),e.R7$(),e.Y8G("ngIf",n.campaigns&&i.createLeadsFromProfileViewers),e.R7$(),e.Y8G("ngIf",n.campaigns&&i.createLeadsFromProfileViewers&&n.selectedCampaignName(i)),e.R7$(),e.Y8G("ngIf",n.icps),e.R7$(),e.Y8G("ngIf",n.icps&&n.selectedIcpName(i)),e.R7$(9),e.Y8G("ngIf",i.connectionsCheckedAt),e.R7$(),e.Y8G("ngIf",!i.connectionsCheckedAt),e.R7$(),e.Y8G("ngIf",i.lastConnectionAt),e.R7$(),e.Y8G("ngIf",i.conversationsCheckedAt),e.R7$(),e.Y8G("ngIf",i.lastMessageAt),e.R7$(2),e.Y8G("title","Sync now")("onClick",n.syncNow.bind(n))("disabled","sleep"==n.plan),e.R7$(),e.Y8G("ngIf",n.syncMessage)}}let je=(()=>{class t{activatedRoute;agencyService;linkedinService;quickViewService;workspaceService;apollo;router;campaigns;icps;itemId;item$;plan;syncMessage;workspaceId;scope;service;helpCreateLeadsFromProfileViewers='If turned on, LinkedIn profile viewers will be imported daily. See: <a href="https://www.linkedin.com/analytics/profile-views" target="_blank">Who\'s viewed your profile</a> on LinkedIn.';constructor(i,n,o,a,k,y,x){this.activatedRoute=i,this.agencyService=n,this.linkedinService=o,this.quickViewService=a,this.workspaceService=k,this.apollo=y,this.router=x}ngOnInit(){switch(this.scope=this.quickViewService.scope.getValue(),this.scope){case"agency":this.service=this.agencyService;break;case"workspace":this.service=this.workspaceService;break;default:throw new Error("Invalid scope")}this.item$=this.activatedRoute.paramMap.pipe((0,g.T)(i=>this.itemId=i.get("pinnedId")),(0,b.n)(()=>this.getLinkedin().pipe((0,g.T)(i=>(i?.campaigns&&(this.campaigns=this.getCampaigns(i.campaigns)),i?.idealCustomerProfiles&&(this.icps=this.getIcps(i.idealCustomerProfiles)),i)))))}buildQuery(){return this.apollo.watchQuery({query:_[this.scope],fetchPolicy:"cache-and-network",notifyOnNetworkStatusChange:!1,variables:{scopeId:this.service.id.getValue(),linkedinId:this.itemId}})}getLinkedin(){return this.buildQuery().valueChanges.pipe((0,g.T)(({data:i})=>{let n;return"workspace"==this.scope?(this.workspaceId=i.account.id,n=JSON.parse(JSON.stringify(i.account.linkedin))):(this.workspaceId=i.organization.linkedin.account.id,n=JSON.parse(JSON.stringify(i.organization.linkedin))),n.addProspectToCampaign=n.addProspectToCampaign??{id:"0"},n.defaultIdealCustomerProfile=n.defaultIdealCustomerProfile??{id:"0"},n}))}getCampaigns(i){let n=i?.map(o=>({label:o.name,value:o.id}));return n?.unshift({label:"None. Don't add to any campaign after creation.",value:"
1150"}),n}getIcps(i){let n=i?.map(o=>({label:o.name,value:o.id}));return n?.unshift({label:"None. No default ICP for this LinkedIn account.",value:"0"}),n}changeDetected(i,n,o,a){this.linkedinService.setField([this.itemId],i,n.toString(),this.workspaceId,()=>{o()},k=>{a(k)})}selectedCampaignName(i){const n=i?.addProspectToCampaign?.id;return n&&"0"!==n?i?.campaigns?.find(a=>a.id===n)?.name??null:null}selectedIcpName(i){const n=i?.defaultIdealCustomerProfile?.id;return n&&"0"!==n?i?.idealCustomerProfiles?.find(a=>a.id===n)?.name??null:null}openCampaign(i,n){i.stopPropagation(),n&&"0"!==n&&this.workspaceId&&this.router.navigate(["/workspace",this.workspaceId,"campaigns",n,"dashboard"])}syncNow(i,n,o){this.syncMessage=null,this.linkedinService.syncNow(this.itemId,()=>{n(),this.syncMessage="Checking LinkedIn for updates. Refresh the page and check again in a while."},a=>o(a))}static \u0275fac=function(n){return new(n||t)(e.rXU(I.nX),e.rXU(h.j),e.rXU(D.K),e.rXU(T.S),e.rXU(G.j),e.rXU(j.Ic),e.rXU(I.Ix))};static \u0275cmp=e.VBU({type:t,selectors:[["quick-view-linkedin-receiving"]],standalone:!1,decls:3,vars:3,consts:[[1,"fields"],[4,"ngIf"],[1,"fields__header"],[1,"fields__title"],[3,"ngModelChange","label","ngModel","key","onChangeCallback","help"],[3,"ngModelChange","ngModel","onChangeCallback","key","label","help"],[3,"ngModel","label","key","options","onChangeCallback","ngModelChange",4,"ngIf"],["class","link",3,"routerLink",4,"ngIf"],[3,"ngModel","label","key","options","onChangeCallback","help","ngModelChange",4,"ngIf"],[1,"flex","flex-col","gap-4"],[1,"text-sm"],[1,"flex","items-center","gap-1"],["class","flex items-center gap-1",4,"ngIf"],["class","mt-4 flex items-center gap-1",4,"ngIf"],[1,"flex","justify-end"],[3,"title","onClick","disabled"],["class","text-sm",4,"ngIf"],[3,"ngModelChange","ngModel","label","key","options","onChangeCallback"],[1,"link",3,"routerLink"],[3,"ngModelChange","ngModel","label","key","options","onChangeCallback","help"],[1,"mt-4","flex","items-center","gap-1"]],template:function(n,o){1&n&&(e.j41(0,"div",0),e.DNE(1,Le,26,23,"ng-container",1),e.nI1(2,"async"),e.k0s()),2&n&&(e.R7$(),e.Y8G("ngIf",e.bMT(2,1,o.item$)))},dependencies:[d.bT,c.BC,c.vS,u.Wk,m.Q,A.X,U.K,d.Jj,d.vh],styles:[".fields[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.fields__header[_ngcontent-%COMP%]{position:sticky;top:7rem;isolation:isolate;z-index:10;display:flex;align-items:center;justify-content:space-between;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-top:.75rem;padding-bottom:.75rem}.fields__title[_ngcontent-%COMP%]{font-size:1.125rem;line-height:1.75rem;font-weight:500;--tw-text-opacity: 1;color:hsl(var(--twc-blue-900) / var(--twc-blue-900-opacity, var(--tw-text-opacity)))}.fields__toggle[_ngcontent-%COMP%]{font-size:.8125rem;--tw-text-opacity: 1;color:hsl(var(--twc-blue-500) / var(--twc-blue-500-opacity, var(--tw-text-opacity)));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.fields__toggle[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:hsl(var(--twc-blue-400) / var(--twc-blue-400-opacity, var(--tw-text-opacity)))}.link[_ngcontent-%COMP%]{margin-top:-.5rem;display:inline-flex;cursor:pointer;align-self:flex-end;font-size:.8125rem;--tw-text-opacity: 1;color:hsl(var(--twc-blue-500) / var(--twc-blue-500-opacity, var(--tw-text-opacity)))}.link[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:hsl(var(--twc-blue-600) / var(--twc-blue-600-opacity, var(--tw-text-opacity)))}"]})}return t})();function Te(t,l){1&t&&(e.j41(0,"div",10),e.EFF(1,"You need an active subscription to unpause this LinkedIn account."),e.k0s())}function Ge(t,l){if(1&t&&(e.j41(0,"b",14),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&t){const i=e.XpG().ngIf;e.R7$(),e.JRh(e.i5U(2,1,i.lastActionAt,"medium"))}}function Pe(t,l){1&t&&(e.j41(0,"b",14),e.EFF(1,"never"),e.k0s())}function De(t,l){if(1&t){const i=e.RV6();e.qex(0),e.j41(1,"ui-checkbox",5),e.mxI("ngModelChange",function(o){const a=r.eBV(i).ngIf;return e.DH7(a.paused,o)||(a.paused=o),r.Njj(o)}),e.k0s(),e.DNE(2,Te,2,0,"div",6),e.j41(3,"div",2)(4,"h2",3),e.EFF(5,"LinkedIn actions limit and throttling"),e.k0s()(),e.j41(6,"ui-input",7),e.mxI("ngModelChange",function(o){const a=r.eBV(i).ngIf;return e.DH7(a.connectionRequestDailyLimit,o)||(a.connectionRequestDailyLimit=o),r.Njj(o)}),e.k0s(),e.j41(7,"ui-input",7),e.mxI("ngModelChange",function(o){const a=r.eBV(i).ngIf;return e.DH7(a.profileVisitDailyLimit,o)||(a.profileVisitDailyLimit=o),r.Njj(o)}),e.k0s(),e.j41(8,"ui-input",7),e.mxI("ngModelChange",function(o){const a=r.eBV(i).ngIf;return e.DH7(a.messageDailyLimit,o)||(a.messageDailyLimit=o),r.Njj(o)}),e.k0s(),e.j41(9,"ui-input",7),e.mxI("ngModelChange",function(o){const a=r.eBV(i).ngIf;return e.DH7(a.inmailDailyLimit,o)||(a.inmailDailyLimit=o),r.Njj(o)}),e.k0s(),e.j41(10,"ui-input",7),e.mxI("ngModelChange",function(o){const a=r.eBV(i).ngIf;return e.DH7(a.voiceMessageDailyLimit,o)||(a.voiceMessageDailyLimit=o),r.Njj(o)}),e.k0s(),e.j41(11,"ui-input",8),e.nI1(12,"number"),e.mxI("ngModelChange",function(o){const a=r.eBV(i).ngIf;return e.DH7(a.throttle,o)||(a.throttle=o),r.Njj(o)}),e.k0s(),e.j41(13,"ui-input",7),e.mxI("ngModelChange",function(o){const a=r.eBV(i).ngIf;return e.DH7(a.throttleRange,o)||(a.throttleRange=o),r.Njj(o)}),e.k0s(),e.j41(14,"div",9)(15,"div",10),e.EFF(16,"Last time this LinkedIn account performed an action:\n"),e.DNE(17,Ge,3,4,"b",11)(18,Pe,2,0,"b",11),e.k0s(),e.j41(19,"div",10),e.EFF(20,"This LinkedIn account will be able to perform an action in:\n"),e.j41(21,"b"),e.EFF(22),e.nI1(23,"number"),e.k0s(),e.EFF(24,"\nsec"),e.k0s(),e.j41(25,"div",10),e.EFF(26,"Connection requests in LinkedIn action queue:\n"),e.j41(27,"b"),e.EFF(28),e.nI1(29,"number"),e.k0s()(),e.j41(30,"div",10),e.EFF(31,"Profile visits in LinkedIn action queue:\n"),e.j41(32,"b"),e.EFF(33),e.nI1(34,"number"),e.k0s()(),e.j41(35,"div",10),e.EFF(36,"Messages in LinkedIn action queue:\n"),e.j41(37,"b"),e.EFF(38),e.nI1(39,"number"),e.k0s()(),e.j41(40,"div",10),e.EFF(41,"Voice messages in LinkedIn action queue:\n"),e.j41(42,"b"),e.EFF(43),e.nI1(44,"number"),e.k0s()(),e.j41(45,"div",12),e.nrm(46,"ui-button",13),e.k0s()(),e.bVm()}if(2&t){const i=l.ngIf,n=e.XpG();e.R7$(),e.Y8G("label","Pause sending requests"),e.R50("ngModel",i.paused),e.Y8G("key","paused")("onChangeCallback",n.changeDetected.bind(n))("disabled",!n.linkedinCanUnpause)("help","Pausing will prevent requests to be sent from this LinkedIn account, but will not prevent requests to be added to the queue, so the queue of requests to send will grow."),e.R7$(),e.Y8G("ngIf",!n.linkedinCanUnpause),e.R7$(4),e.Y8G("label","Max number of connection requests"),e.R50("ngModel",i.connectionRequestDailyLimit),e.Y8G("key","connection_request_daily_limit")("onChangeCallback",n.changeDetected.bind(n))("help","Maximum number of connection requests that QuickMail should perform per day from this account. We advise you not to raise this limit above 12 per day to avoid getting your account restricted by LinkedIn."),e.R7$(),e.Y8G("label","Maximum number of profile visits"),e.R50("ngModel",i.profileVisitDailyLimit),e.Y8G("key","profile_visit_daily_limit")("onChangeCallback",n.changeDetected.bind(n))("help","Maximum number of profiles that QuickMail should visit per day from this account. We advise you not to raise this limit above 12 per day to avoid getting your account restricted by LinkedIn."),e.R7$(),e.Y8G("label","Maximum number of messages"),e.R50("ngModel",i.messageDailyLimit),e.Y8G("key","message_daily_limit")("onChangeCallback",n.changeDetected.bind(n))("help","Maximum number of messages that QuickMail should send per day from this account. We advise you not to raise this limit above 12 per day to avoid getting your account restricted by LinkedIn."),e.R7$(),e.Y8G("label","Maximum number of InMails"),e.R50("ngModel",i.inmailDailyLimit),e.Y8G("key","inmail_daily_limit")("onChangeCallback",n.changeDetected.bind(n))("help","Maximum number of InMails that QuickMail should send per day from this account. We advise you not to raise this limit above 12 per day to avoid getting your account restricted by LinkedIn."),e.R7$(),e.Y8G("label","Maximum number of voice messages"),e.R50("ngModel",i.voiceMessageDailyLimit),e.Y8G("key","voice_message_daily_limit")("onChangeCallback",n.changeDetected.bind(n))("help","Maximum number of voice messages that QuickMail should send per day from this account. We advise you not to raise this limit above 12 per day to avoid getting your account restricted by LinkedIn."),e.R7$(),e.Y8G("label","Minimum time delay between actions (in sec)")("placeholder","Using default time"),e.R50("ngModel",i.throttle),e.Y8G("key","throttle")("onChangeCallback",n.changeDetected.bind(n))("help","No value means that it's using the default time: "+e.bMT(12,53,i.defaultThrottle)+" seconds."),e.R7$(2),e.Y8G("label","Additional time variation (in sec)"),e.R50("ngModel",i.throttleRange),e.Y8G("key","throttle_range")("onChangeCallback",n.changeDetected.bind(n))("help","This setting will add a random number of seconds to the minimum delay."),e.R7$(4),e.Y8G("ngIf",i.lastActionAt),e.R7$(),e.Y8G("ngIf",!i.lastActionAt),e.R7$(4),e.JRh(e.bMT(23,55,n.remainingSeconds)),e.R7$(6),e.JRh(e.bMT(29,57,i.connectionRequestQueueSize)),e.R7$(5),e.JRh(e.bMT(34,59,i.profileVisitQueueSize)),e.R7$(5),e.JRh(e.bMT(39,61,i.messageQueueSize)),e.R7$(5),e.JRh(e.bMT(44,63,i.messageQueueSize)),e.R7$(3),e.Y8G("title","Process action queue now")("onClick",n.processLinkedinActionQueue.bind(n))("disabled","sleep"==n.plan)}}function Qe(t,l){1&t&&e.nrm(0,"ui-loading")}let Fe=(()=>{class t{accountService;activatedRoute;agencyService;apollo;linkedinService;quickViewService;workspaceService;itemId;item$;linkedinCanUnpause=!0;plan;remainingSeconds=0;timer=null;workspaceId;scope;service;constructor(i,n,o,a,k,y,x){this.accountService=i,this.activatedRoute=n,this.agencyService=o,this.apollo=a,this.linkedinService=k,this.quickViewService=y,this.workspaceService=x}ngOnInit(){switch(this.scope=this.quickViewService.scope.getValue(),this.scope){case"agency":this.service=this.agencyService;break;case"workspace":this.service=this.workspaceService;break;default:throw new Error("Invalid scope")}this.item$=this.activatedRoute.paramMap.pipe((0,g.T)(i=>this.itemId=i.get("pinnedId")),(0,b.n)(()=>this.getLinkedin().pipe((0,g.T)(i=>(this.remainingSeconds=i.queueLockedFor,this.timer=setInterval(()=>{this.remainingSeconds>0&&this.remainingSeconds--},1e3),i)))))}onNgDestroy(){this.timer&&clearInterval(this.timer)}buildQuery(){return this.apollo.watchQuery({query:_[this.scope],fetchPolicy:"cache-and-network",notifyOnNetworkStatusChange:!1,variables:{scopeId:this.service.id.getValue(),linkedinId:this.itemId}})}getLinkedin(){return this.buildQuery().valueChanges.pipe((0,g.T)(({data:i})=>{let n=null;return"workspace"==this.scope?(n=i.account.linkedin,this.workspaceId=i.account.id,this.plan=this.workspaceService.planName.getValue()):(n=i.organization.linkedin,this.workspaceId=n.account.id,this.plan=this.agencyService.planName.getValue()),("expired"==this.plan||"sleep"==this.plan)&&(this.linkedinCanUnpause=!1),JSON.parse(JSON.stringify(n))}))}changeDetected(i,n,o,a){this.linkedinService.setField([this.itemId],i,n.toString(),this.workspaceId,()=>{o()},k=>{a(k)})}processLinkedinActionQueue(i,n,o){this.accountService.processLinkedinActionQueue(this.itemId,()=>n(),a=>o(a))}static \u0275fac=function(n){return new(n||t)(e.rXU(v.D),e.rXU(I.nX),e.rXU(h.j),e.rXU(j.Ic),e.rXU(D.K),e.rXU(T.S),e.rXU(G.j))};static \u0275cmp=e.VBU({type:t,selectors:[["quick-view-linkedin-sending"]],standalone:!1,decls:8,vars:4,consts:[["loading",""],[1,"fields"],[1,"fields__header"],[1,"fields__title"],[4,"ngIf","ngIfElse"],[3,"ngModelChange","label","ngModel","key","onChangeCallback","disabled","help"],["class","text-sm",4,"ngIf"],[3,"ngModelChange","label","ngModel","key","onChangeCallback","help"],[3,"ngModelChange","label","placeholder","ngModel","key","onChangeCallback","help"],[1,"flex","flex-col","gap-3","pt-3"],[1,"text-sm"],["class","pl-1",4,"ngIf"],[1,"flex","justify-end"],[3,"title","onClick","disabled"],[1,"pl-1"]],template:function(n,o){if(1&n&&(e.j41(0,"div",1)(1,"div",2)(2,"h2",3),e.EFF(3,"Sending"),e.k0s()(),e.DNE(4,De,47,65,"ng-container",4),e.nI1(5,"async"),e.DNE(6,Qe,1,0,"ng-template",null,0,e.C5r),e.k0s()),2&n){const a=e.sdS(7);e.R7$(4),e.Y8G("ngIf",e.bMT(5,2,o.item$))("ngIfElse",a)}},dependencies:[d.bT,c.BC,c.vS,m.Q,A.X,q.u,$.K,d.Jj,d.QX,d.vh],styles:[".fields[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.fields__header[_ngcontent-%COMP%]{position:sticky;top:7rem;isolation:isolate;z-index:10;display:flex;align-items:center;justify-content:space-between;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-top:.75rem;padding-bottom:.75rem}.fields__title[_ngcontent-%COMP%]{font-size:1.125rem;line-height:1.75rem;font-weight:500;--tw-text-opacity: 1;color:hsl(var(--twc-blue-900) / var(--twc-blue-900-opacity, var(--tw-text-opacity)))}.fields__toggle[_ngcontent-%COMP%]{font-size:.8125rem;--tw-text-opacity: 1;color:hsl(var(--twc-blue-500) / var(--twc-blue-500-opacity, var(--tw-text-opacity)));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.fields__toggle[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:hsl(var(--twc-blue-400) / var(--twc-blue-400-opacity, var(--tw-text-opacity)))}"]})}return t})();var Oe=s(72001),Ee=s(9797);const Ye=t=>({"text-orange":t}),Ne=(t,l)=>["/workspace",t,"campaigns",l];function $e(t,l){1&t&&e.nrm(0,"ui-icon",17),2&t&&e.Y8G("name","pause-circle")}function Xe(t,l){if(1&t&&(e.j41(0,"div",18),e.nrm(1,"ui-debug-info",19),e.k0s()),2&t){const i=e.XpG().$implicit;e.R7$(),e.Y8G("id",i.id)("clipboardText","campaign = Campaign.find("+i.id+")")}}function qe(t,l){if(1&t){const i=e.RV6();e.j41(0,"ui-icon-button",20),e.bIt("click",function(){const o=r.eBV(i).click;
115return r.Njj(o())}),e.k0s()}}function Ue(t,l){if(1&t&&(e.qex(0),e.j41(1,"a",21),e.nrm(2,"ui-button",22),e.k0s(),e.bVm()),2&t){const i=e.XpG().$implicit,n=e.XpG(2);e.R7$(),e.Y8G("href",n.campaignUrl(n.workspaceId,i.id),e.B4B),e.R7$(),e.Y8G("title","View campaign")("icon","layer-group")}}function Ae(t,l){if(1&t&&(e.qex(0),e.j41(1,"a",23),e.nrm(2,"ui-button",22),e.k0s(),e.bVm()),2&t){const i=e.XpG().$implicit,n=e.XpG(2);e.R7$(),e.Y8G("routerLink",e.l_i(3,Ne,n.workspaceId,i.id)),e.R7$(),e.Y8G("title","View campaign")("icon","layer-group")}}function Be(t,l){if(1&t&&(e.j41(0,"div",8)(1,"div",9)(2,"div",10),e.EFF(3),e.k0s(),e.j41(4,"div",11),e.DNE(5,$e,1,1,"ui-icon",12),e.k0s(),e.DNE(6,Xe,2,2,"div",13),e.nI1(7,"async"),e.j41(8,"ui-dropdown",14),e.DNE(9,qe,1,0,"ng-template",15)(10,Ue,3,3,"ng-container",16)(11,Ae,3,6,"ng-container",16),e.k0s()()()),2&t){const i=l.$implicit,n=e.XpG(2);e.R7$(2),e.Y8G("ngClass",e.eq3(12,Ye,!i.live))("tooltip",i.live?"":"Campaign is paused"),e.R7$(),e.JRh(i.name),e.R7$(),e.Y8G("ngSwitch",i.live),e.R7$(),e.Y8G("ngIf",!i.live),e.R7$(),e.Y8G("ngIf",e.bMT(7,10,n.workspaceService.debugMode)),e.R7$(2),e.Y8G("dropPosition","bottom-end")("dropSize","sm"),e.R7$(2),e.Y8G("ngIf","agency"===n.scope),e.R7$(),e.Y8G("ngIf","workspace"===n.scope)}}function ze(t,l){if(1&t&&(e.j41(0,"div",6),e.DNE(1,Be,12,14,"div",7),e.k0s()),2&t){const i=l.ngIf;e.R7$(),e.Y8G("ngForOf",null==i?null:i.campaigns)}}const We=u.iI.forChild([{path:"",component:ie,children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:ge},{path:"sending",component:Fe},{path:"receiving",component:je},{path:"campaigns",component:(()=>{class t{workspaceService;agencyService;quickViewService;prospectService;activatedRoute;campaignService;apollo;workspaceId;newUiAt;itemId;item$;service=null;scope;constructor(i,n,o,a,k,y,x){this.workspaceService=i,this.agencyService=n,this.quickViewService=o,this.prospectService=a,this.activatedRoute=k,this.campaignService=y,this.apollo=x}ngOnInit(){switch(this.scope=this.quickViewService.scope.getValue(),this.scope){case"agency":this.service=this.agencyService;break;case"workspace":this.service=this.workspaceService;break;default:throw new Error("Invalid scope")}this.item$=this.activatedRoute.paramMap.pipe((0,g.T)(i=>this.itemId=i.get("pinnedId")),(0,b.n)(()=>this.getItem()))}buildQuery(){return this.apollo.watchQuery({query:_[this.scope],fetchPolicy:"cache-and-network",notifyOnNetworkStatusChange:!1,variables:{scopeId:this.service.id.getValue(),linkedinId:this.itemId}})}getItem(){return this.buildQuery().valueChanges.pipe((0,g.T)(({data:i})=>"workspace"===this.scope?(this.workspaceId=i.account.id,this.newUiAt=i.account.newUiAt,JSON.parse(JSON.stringify(i.account.linkedin))):(this.workspaceId=i.organization.linkedin.account.id,this.newUiAt=i.organization.linkedin.account.newUiAt,JSON.parse(JSON.stringify(i.organization.linkedin)))))}campaignUrl(i,n){return this.campaignService.campaignUrl(i,n,null!=this.newUiAt)}static \u0275fac=function(n){return new(n||t)(e.rXU(G.j),e.rXU(h.j),e.rXU(T.S),e.rXU(Oe.q),e.rXU(I.nX),e.rXU(Ee.O),e.rXU(j.Ic))};static \u0275cmp=e.VBU({type:t,selectors:[["quick-view-linkedin-campaigns"]],standalone:!1,decls:9,vars:8,consts:[[1,"fields"],[1,"fields__header"],[1,"fields__title"],["target","_blank","rel","noopener noreferrer",3,"href"],[3,"name","tooltip"],["class","flex flex-col gap-4",4,"ngIf"],[1,"flex","flex-col","gap-4"],["class","campaign",4,"ngFor","ngForOf"],[1,"campaign"],[1,"campaign__header"],[1,"campaign__header__name",3,"ngClass","tooltip"],[1,"flex-auto",3,"ngSwitch"],["class","text-orange",3,"name",4,"ngIf"],["class","flex",4,"ngIf"],[3,"dropPosition","dropSize"],["dropdownButton",""],[4,"ngIf"],[1,"text-orange",3,"name"],[1,"flex"],[3,"id","clipboardText"],[3,"click"],[3,"href"],["dropdownItem","",3,"title","icon"],[3,"routerLink"]],template:function(n,o){1&n&&(e.j41(0,"div",0)(1,"div",1)(2,"h2",2)(3,"h2"),e.EFF(4,"Campaigns"),e.k0s(),e.j41(5,"a",3),e.nrm(6,"ui-icon",4),e.k0s()()(),e.DNE(7,ze,2,1,"div",5),e.nI1(8,"async"),e.k0s()),2&n&&(e.R7$(5),e.Y8G("href","https://help.quickmail.com/campaigns/campaign-building-step-by-step/",e.B4B),e.R7$(),e.Aen("light"),e.Y8G("name","
115info-circle")("tooltip","Click to see the help article"),e.R7$(),e.Y8G("ngIf",e.bMT(8,6,o.item$)))},dependencies:[d.YU,d.Sq,d.bT,d.ux,u.Wk,m.Q,F.J,P.P,P.x,O.M,E.R,Y.x,N.d,d.Jj],styles:[".fields[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.fields__header[_ngcontent-%COMP%]{position:sticky;top:7rem;isolation:isolate;z-index:10;display:flex;align-items:center;justify-content:space-between;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-top:.75rem;padding-bottom:.75rem}.fields__title[_ngcontent-%COMP%]{display:flex;align-items:center;column-gap:.25rem;font-size:1.125rem;line-height:1.75rem;font-weight:500;--tw-text-opacity: 1;color:hsl(var(--twc-blue-900) / var(--twc-blue-900-opacity, var(--tw-text-opacity)))}.campaign-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.campaign[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));padding:1rem 1.25rem}.campaign__header[_ngcontent-%COMP%]{display:flex;height:1.5rem;cursor:default;align-items:center;gap:.25rem}.campaign__header__name[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-left:.25rem;font-weight:600}"]})}return t})()}]}]);let He=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=e.$C({type:t});static \u0275inj=r.G2t({imports:[d.MD,c.YN,u.iI,We,L.F]})}return t})()}}]);
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.