PageSourceSearch

https://app.wgi.ai/7185.b98cb2791228b15f.js

js wgi.ai collected 2026-10-05 14:49:49 UTC 22,210 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkvex=self.webpackChunkvex||[]).push([[7185],{49567:(N,F,l)=>{l.d(F,{JK:()=>y,M0:()=>u,hu:()=>b});var f=l(20199);function y(p){const s=p.trim().split(/\s+/).filter(Boolean);return 0===s.length?"?":1===s.length?s[0].slice(0,2).toUpperCase():`${s[0][0]}${s[s.length-1][0]}`.toUpperCase()}function u(p){const s=p.profileImageUrl?.trim();return s?(0,f.Gf)(s)??s:null}function b(p){return y(function h(p){return String(p.contactName||p.title||"Contact").trim()}(p))}},97185:(N,F,l)=>{l.d(F,{e:()=>me});var f=l(10467),h=l(54843),y=l(56387),u=l(62930),b=l(4977),p=l(60177),s=l(88834),d=l(34006),S=l(99213),e=l(17705);let $=(()=>{class i{constructor(t,o){this.data=t,this.dialogRef=o}addMore(){this.dialogRef.close("add-more")}viewPipeline(){this.dialogRef.close("view")}static{this.\u0275fac=function(o){return new(o||i)(e.rXU(d.Vh),e.rXU(d.CP))}}static{this.\u0275cmp=e.VBU({type:i,selectors:[["vex-pipeline-contact-added-dialog"]],standalone:!0,features:[e.aNF],decls:23,vars:3,consts:[["mat-dialog-title","",1,"flex","items-center"],[1,"headline","m-0","flex-auto"],["mat-icon-button","","type","button","aria-label","Close",1,"text-secondary",3,"click"],["svgIcon","mat:close"],[1,"pipeline-dialog-content"],[1,"flex","items-start","gap-3"],["color","primary","svgIcon","mat:check_circle",1,"flex-none","mt-0.5"],[1,"min-w-0"],[1,"body-1","m-0"],[1,"text-secondary","text-sm","mt-3","m-0"],["align","end"],["mat-stroked-button","","type","button",3,"click"],["mat-flat-button","","color","primary","type","button",3,"click"]],template:function(o,n){1&o&&(e.j41(0,"div",0)(1,"h2",1),e.EFF(2,"Contact added"),e.k0s(),e.j41(3,"button",2),e.bIt("click",function(){return n.addMore()}),e.nrm(4,"mat-icon",3),e.k0s()(),e.j41(5,"mat-dialog-content",4)(6,"div",5),e.nrm(7,"mat-icon",6),e.j41(8,"div",7)(9,"p",8)(10,"strong"),e.EFF(11),e.k0s(),e.EFF(12," was added to "),e.j41(13,"strong"),e.EFF(14),e.k0s(),e.EFF(15),e.k0s(),e.j41(16,"p",9),e.EFF(17," View the pipeline or add more contacts from your connections. "),e.k0s()()()(),e.j41(18,"mat-dialog-actions",10)(19,"button",11),e.bIt("click",function(){return n.addMore()}),e.EFF(20," Add more contacts "),e.k0s(),e.j41(21,"button",12),e.bIt("click",function(){return n.viewPipeline()}),e.EFF(22," View pipeline "),e.k0s()()),2&o&&(e.R7$(11),e.JRh(n.data.contactName),e.R7$(3),e.JRh(n.data.boardLabel),e.R7$(1),e.SpI(" (",n.data.stageLabel,"). "))},dependencies:[p.MD,d.hM,d.BI,d.Yi,d.E7,s.Hl,s.$z,s.iY,S.m_,S.An],styles:[".pipeline-dialog-content[_ngcontent-%COMP%]{min-width:min(100%,360px)}"]})}}return i})();var C=l(89417),v=l(32102),D=l(59042),j=l(9183),R=l(82798),I=l(95416),O=l(71910),Y=l(86520),A=l(49567),L=l(20199),E=l(24140),V=l(86600);function X(i,c){if(1&i&&(e.j41(0,"p",15),e.EFF(1),e.k0s()),2&i){const t=e.XpG();e.R7$(1),e.SpI(" ",t.connection.jobTitle," ")}}function U(i,c){if(1&i&&(e.j41(0,"p",15),e.EFF(1),e.k0s()),2&i){const t=e.XpG();e.R7$(1),e.SpI(" ",t.connection.company," ")}}function J(i,c){if(1&i&&(e.j41(0,"p",15),e.EFF(1),e.k0s()),2&i){const t=e.XpG();e.R7$(1),e.SpI(" ",t.connection.email," ")}}function K(i,c){1&i&&(e.j41(0,"h2",21),e.EFF(1," Create a pipeline to get started "),e.k0s())}function W(i,c){1&i&&(e.j41(0,"h2",22),e.EFF(1," Create new pipeline "),e.k0s())}function z(i,c){if(1&i){const t=e.RV6();e.j41(0,"div",16),e.DNE(1,K,2,0,"h2",17),e.DNE(2,W,2,0,"h2",18),e.j41(3,"mat-form-field",19)(4,"mat-label"),e.EFF(5,"Pipeline name"),e.k0s(),e.j41(6,"input",20),e.bIt("ngModelChange",function(n){e.eBV(t);const a=e.XpG();return e.Njj(a.newPipelineName=n)})("keydown.enter",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.canContinue&&n.continue())}),e.k0s(),e.j41(7,"mat-hint"),e.EFF(8,"Default stages will be created for the new pipeline."),e.k0s()()()}if(2&i){const t=e.XpG();e.R7$(1),e.Y8G("ngIf",!t.hasEditablePipelines&&!t.isLoading),e.R7$(1),e.Y8G("ngIf",t.hasEditablePipelines),e.R7$(4),e.Y8G("ngModel",t.newPipelineName)}}function H(i,c){1&i&&(e.j41(0,"h2",22),e.EFF(1," Select pipeline "),e.k0s())}function Z(i,c){1&i&&(e.j41(0,"p",27),e.EFF(1," You do not have any pipelines you can edit yet. Create a new pipeline to continue. "),e.k0s())}function Q(i,c){1&i&&(e.j41(0,"div",28),e.nrm(1,"mat-progress-spinner",29),e.k0s()),2&i&&(e.R7$(1),e.Y8G("diameter",40))}function q(i,c){1&i&&(e.qSk(),e.j41(0,"svg",40),e.nrm(1,"path",41),e.k0s())}function ee(i,c){1&i&&(e.j41(0,"span"),e.EFF(1," \xb7 Shared"),e.k0s())}function te(i,c){if(1&i){const t=e.RV6();e.j41(0,"div",32)(1,"div",33),e.bIt("click",function(){const a=e.eBV(t).$implicit,r=e.XpG(3);return e.Njj(r.selectRow(a))})("keydown.enter",function(){const a=e.eBV(t).$implicit,r=e.XpG(3);return e.Njj(r.selectRow(a))})("keydown.space",function(n){const r=e.eBV(t).$implicit;return e.XpG(3).selectRow(r),e.Njj(n.preventDefault())}),e.j41(2,"div",34),e.DNE(3,q,2,0,"svg",35),e.k0s(),e.j41(4,"div",36)(5,"p",37),e.EFF(6),e.k0s(),e.j41(7,"p",38),e.EFF(8),e.DNE(9,ee,2,0,"span",39),e.k0s()()()()}if(2&i){const t=c.$implicit,o=e.XpG(3);e.AVh("is-selected",o.isSelected(t)),e.R7$(3),e.Y8G("ngIf",o.isSelected(t)),e.R7$(3),e.JRh(t.board.label),e.R7$(2),e.Lme(" ",t.stageCount," stage",1===t.stageCount?"":"s"," "),e.R7$(1),e.Y8G("ngIf",t.isShared)}}function ne(i,c){if(1&i&&(e.j41(0,"div",30),e.DNE(1,te,10,7,"div",31),e.k0s()),2&i){const t=e.XpG(2);e.R7$(1),e.Y8G("ngForOf",t.editableRows)("ngForTrackBy",t.trackByBoardId)}}
1function ie(i,c){if(1&i&&(e.j41(0,"div",23),e.DNE(1,H,2,0,"h2",18),e.DNE(2,Z,2,0,"p",24),e.DNE(3,Q,2,1,"div",25),e.DNE(4,ne,2,2,"div",26),e.k0s()),2&i){const t=e.XpG();e.R7$(1),e.Y8G("ngIf",t.hasEditablePipelines),e.R7$(1),e.Y8G("ngIf",!t.isLoading&&!t.hasEditablePipelines),e.R7$(1),e.Y8G("ngIf",t.isLoading),e.R7$(1),e.Y8G("ngIf",t.hasEditablePipelines&&!t.isLoading)}}function oe(i,c){if(1&i&&(e.j41(0,"mat-option",45),e.EFF(1),e.k0s()),2&i){const t=c.$implicit;e.Y8G("value",t.id),e.R7$(1),e.SpI(" ",t.label," ")}}function ae(i,c){if(1&i){const t=e.RV6();e.j41(0,"mat-form-field",42)(1,"mat-label"),e.EFF(2,"Stage"),e.k0s(),e.j41(3,"mat-select",43),e.bIt("ngModelChange",function(n){e.eBV(t);const a=e.XpG();return e.Njj(a.selectedStageListId=n)}),e.DNE(4,oe,2,2,"mat-option",44),e.k0s(),e.j41(5,"mat-hint"),e.EFF(6,"Where the new card will be placed."),e.k0s()()}if(2&i){const t=e.XpG();e.R7$(3),e.Y8G("ngModel",t.selectedStageListId),e.R7$(1),e.Y8G("ngForOf",t.stageOptions)}}function le(i,c){if(1&i){const t=e.RV6();e.j41(0,"mat-dialog-actions",46)(1,"button",47),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onNewPipelineClick())}),e.nrm(2,"mat-icon",48),e.EFF(3," New pipeline "),e.k0s(),e.j41(4,"button",49),e.EFF(5,"Cancel"),e.k0s(),e.j41(6,"button",50),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.continue())}),e.EFF(7," Continue "),e.k0s()()}if(2&i){const t=e.XpG();e.R7$(6),e.Y8G("disabled",!t.canContinue)}}function ce(i,c){if(1&i){const t=e.RV6();e.j41(0,"button",54),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.onBackToPipelines())}),e.EFF(1," Back to pipelines "),e.k0s()}if(2&i){const t=e.XpG(2);e.Y8G("disabled",t.isCreating)}}function re(i,c){1&i&&e.nrm(0,"mat-spinner",55)}function se(i,c){if(1&i){const t=e.RV6();e.j41(0,"mat-dialog-actions",46),e.DNE(1,ce,2,1,"button",51),e.j41(2,"button",52),e.EFF(3," Cancel "),e.k0s(),e.j41(4,"button",50),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.continue())}),e.DNE(5,re,1,0,"mat-spinner",53),e.j41(6,"span"),e.EFF(7),e.k0s()()()}if(2&i){const t=e.XpG();e.R7$(1),e.Y8G("ngIf",t.hasEditablePipelines),e.R7$(1),e.Y8G("disabled",t.isCreating),e.R7$(2),e.Y8G("disabled",!t.canContinue),e.R7$(1),e.Y8G("ngIf",t.isCreating),e.R7$(2),e.JRh(t.continueLabel)}}let M=(()=>{class i{constructor(t,o,n,a,r){this.dialogRef=o,this.pipelineStore=n,this.snackBar=a,this.cd=r,this.rows=[],this.isLoading=!0,this.isCreating=!1,this.selectedBoardId=null,this.selectedStageListId=null,this.pickerMode="existing",this.newPipelineName="",this.createdBoard=null,this.trackByBoardId=(g,k)=>k.board.id,this.connection=t.connection;const m=String(t.suggestedNewPipelineName??"").trim()||String(t.connection.company??"").trim();m&&(this.newPipelineName=m),this.preferStageLabelMatch=String(t.preferStageLabelMatch??"").trim()||void 0}ngOnInit(){this.loadPipelines()}get editableRows(){return this.rows.filter(t=>t.canAdd)}get hasEditablePipelines(){return this.editableRows.length>0}get connectionAvatarUrl(){const t=String(this.connection.imageUrl??"").trim();return t?(0,L.Gf)(t)??t:null}get connectionInitials(){return(0,A.JK)(String(this.connection.name??"").trim())}get activeBoard(){return this.createdBoard?this.createdBoard:this.editableRows.find(o=>o.board.id===this.selectedBoardId)?.board??null}get stageOptions(){const t=this.activeBoard;return t?(0,u.M6)(t):[]}get showStagePicker(){return this.stageOptions.length>0&&!!this.activeBoard}get canContinue(){return!(this.isLoading||this.isCreating||("new"===this.pickerMode?this.createdBoard?!this.selectedStageListId:!this.newPipelineName.trim():!this.selectedBoardId||!this.selectedStageListId))}get continueLabel(){return"new"!==this.pickerMode||this.createdBoard?"Continue":"Create pipeline"}onNewPipelineClick(){this.pickerMode="new",this.selectedBoardId=null}onBackToPipelines(){this.pickerMode="existing",!this.selectedBoardId&&this.editableRows.length>0&&(this.selectedBoardId=this.editableRows[0].board.id)}selectRow(t){t.canAdd&&(this.selectedBoardId=t.board.id,this.syncStageSelection(t.board))}isSelected(t){return this.selectedBoardId===t.board.id}continue(){if("new"===this.pickerMode&&!this.createdBoard)return void this.createAndContinue();const t=this.activeBoard,o=this.resolveSelectedStageList(t);t&&o?this.dialogRef.close({board:t,list:o}):this.snackBar.open("Select a pipeline and stage to continue.","Close",{duration:3e3})}resolveSelectedStageList(t){if(!t)return null;const o=String(this.selectedStageListId??"").trim();if(o){const n=(0,u.M6)(t).find(a=>a.id===o);if(n)return n}return(0,u.oy)(t,this.preferStageLabelMatch)}syncStageSelection(t){const o=(0,u.oy)(t,this.preferStageLabelMatch);this.selectedStageListId=o.id}createAndContinue(){var t=this;return(0,f.A)(function*(){const o=t.newPipelineName.trim();if(o){t.isCreating=!0,t.cd.detectChanges();try{const n=yield t.pipelineStore.createPipeline(o);if(!n)return void t.snackBar.open("Failed to create pipeline. Try again.","Close",{duration:4e3,panelClass:["error-snackbar"]});t.createdBoard=n,t.syncStageSelection(n),t.cd.detectChanges()}catch(n){console.error("Error creating pipeline:",n),t.snackBar.open("Failed to create pipeline. Try again.","Close",{duration:4e3,panelClass:["error-snackbar"]})}finally{t.isCreating=!1,t.cd.detectChanges()}}else t.snackBar.open("Enter a name for the new pipeline.","Close",{duration:3e3})})()}loadPipelines(){var t=this;return(0,f.A)(function*(){t.isLoading=!0;try{yield t.pipelineStore.loadPipelines();const o=t.pipelineStore.boards.filter(n=>!n.isArchived);if(t.rows=o.map(n=>({board:n,canAdd:(0,Y.S1)(n),stageCount:n.children.filter(a=>
1"unassigned"!==a.label.trim().toLowerCase()).length,isShared:"shared"===n.ownership})),t.hasEditablePipelines)if(t.selectedBoardId){const n=t.editableRows.find(a=>a.board.id===t.selectedBoardId)?.board;n&&t.syncStageSelection(n)}else{const n=t.editableRows[0]?.board??null;t.selectedBoardId=n?.id??null,n&&t.syncStageSelection(n)}else t.pickerMode="new"}finally{t.isLoading=!1,t.cd.detectChanges()}})()}static{this.\u0275fac=function(o){return new(o||i)(e.rXU(d.Vh),e.rXU(d.CP),e.rXU(E.J),e.rXU(I.UG),e.rXU(e.gRc))}}static{this.\u0275cmp=e.VBU({type:i,selectors:[["vex-select-pipeline-dialog"]],standalone:!0,features:[e.aNF],decls:21,vars:12,consts:[["mat-dialog-title","",1,"flex","items-center"],[1,"headline","m-0","flex-auto"],["mat-dialog-close","","mat-icon-button","","type","button",1,"text-secondary"],["svgIcon","mat:close"],[1,"select-pipeline-content"],[1,"select-pipeline-hint","m-0","mb-3"],[1,"mb-2","flex","items-center","py-2","gap-2","bg-gray-50","rounded-lg","px-2"],["alt","",1,"select-pipeline-preview-avatar",3,"src","appImageFallback","fallbackText"],[1,"flex-auto","min-w-0"],[1,"font-semibold","text-gray-900","m-0"],["class","text-sm text-gray-600 m-0",4,"ngIf"],["class","select-pipeline-create",4,"ngIf"],["class","select-pipeline-body",4,"ngIf"],["class","flex-1 w-full mt-3",4,"ngIf"],["align","end","class","select-pipeline-actions",4,"ngIf"],[1,"text-sm","text-gray-600","m-0"],[1,"select-pipeline-create"],["class","mt-2 mb-4 subheading-2 font-medium m-0 select-none flex-none",4,"ngIf"],["class","mb-2 subheading-2 font-medium m-0 select-none flex-none",4,"ngIf"],[1,"flex-1","w-full"],["matInput","","maxlength","120","autocomplete","off",3,"ngModel","ngModelChange","keydown.enter"],[1,"mt-2","mb-4","subheading-2","font-medium","m-0","select-none","flex-none"],[1,"mb-2","subheading-2","font-medium","m-0","select-none","flex-none"],[1,"select-pipeline-body"],["class","select-pipeline-empty",4,"ngIf"],["class","pipeline-picker__loading",4,"ngIf"],["class","pipeline-picker",4,"ngIf"],[1,"select-pipeline-empty"],[1,"pipeline-picker__loading"],["mode","indeterminate","color","primary",3,"diameter"],[1,"pipeline-picker"],["class","pipeline-option",3,"is-selected",4,"ngFor","ngForOf","ngForTrackBy"],[1,"pipeline-option"],["role","button","tabindex","0",1,"pipeline-option__main",3,"click","keydown.enter","keydown.space"],[1,"pipeline-option__selector"],["xmlns","http://www.w3.org/2000/svg","width","20","height","20","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","class","pipeline-option__check",4,"ngIf"],[1,"pipeline-option__content"],[1,"pipeline-option__name","m-0"],[1,"pipeline-option__meta","m-0"],[4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","width","20","height","20","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round",1,"pipeline-option__check"],["d","M20 6 9 17l-5-5"],[1,"flex-1","w-full","mt-3"],[3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["align","end",1,"select-pipeline-actions"],["color","primary","mat-raised-button","","type","button",3,"click"],["matSuffix","","svgIcon","mat:add_circle"],["mat-stroked-button","","mat-dialog-close","","type","button"],["mat-flat-button","","color","primary","type","button",3,"disabled","click"],["mat-stroked-button","","type","button",3,"disabled","click",4,"ngIf"],["mat-stroked-button","","mat-dialog-close","","type","button",3,"disabled"],["class","select-pipeline-actions-spinner","diameter","18",4,"ngIf"],["mat-stroked-button","","type","button",3,"disabled","click"],["diameter","18",1,"select-pipeline-actions-spinner"]],template:function(o,n){1&o&&(e.j41(0,"div",0)(1,"h2",1),e.EFF(2,"Add to pipeline"),e.k0s(),e.j41(3,"button",2),e.nrm(4,"mat-icon",3),e.k0s()(),e.j41(5,"mat-dialog-content",4)(6,"p",5),e.EFF(7," Choose a pipeline and stage, then confirm contact details before adding. "),e.k0s(),e.j41(8,"div",6),e.nrm(9,"img",7),e.j41(10,"div",8)(11,"p",9),e.EFF(12),e.k0s(),e.DNE(13,X,2,1,"p",10),e.DNE(14,U,2,1,"p",10),e.DNE(15,J,2,1,"p",10),e.k0s()(),e.DNE(16,z,9,3,"div",11),e.DNE(17,ie,5,4,"div",12),e.DNE(18,ae,7,2,"mat-form-field",13),e.k0s(),e.DNE(19,le,8,1,"mat-dialog-actions",14),e.DNE(20,se,8,5,"mat-dialog-actions",14)),2&o&&(e.R7$(9),e.Y8G("src",n.connectionAvatarUrl,e.B4B)("appImageFallback",n.connectionAvatarUrl)("fallbackText",n.connectionInitials),e.R7$(3),e.JRh(n.connection.name),e.R7$(1),e.Y8G("ngIf",n.connection.jobTitle),e.R7$(1),e.Y8G("ngIf",n.connection.company),e.R7$(1),e.Y8G("ngIf",!n.connection.company&&n.connection.email),e.R7$(1),e.Y8G("ngIf","new"===n.pickerMode),e.R7$(1),e.Y8G("ngIf","existing"===n.pickerMode),e.R7$(1),e.Y8G("ngIf",n.showStagePicker),e.R7$(1),e.Y8G("ngIf","existing"===n.pickerMode),e.R7$(1),e.Y8G("ngIf","new"===n.pickerMode))},dependencies:[p.MD,p.Sq,p.bT,C.YN,C.me,C.BC,C.tU,C.vS,d.hM,d.tx,d.BI,d.Yi,d.E7,s.Hl,s.$z,s.iY,v.RG,v.rl,v.nJ,v.MV,v.yw,S.m_,S.An,D.fS,D.fg,j.D6,j.LG,R.Ve,R.VO,V.wT,I._T,O.$],styles:[".select-pipeline-content[_ngcontent-%COMP%]{min-width:min(100%,420p
1x)}.select-pipeline-hint[_ngcontent-%COMP%]{font-size:.8125rem;line-height:1.45;color:#6b7280}.select-pipeline-preview-avatar[_ngcontent-%COMP%]{width:44px;height:44px;min-width:44px;min-height:44px;border-radius:50%;object-fit:cover;flex-shrink:0;border:1px solid #e2e8f0}.select-pipeline-body[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-height:0}.select-pipeline-empty[_ngcontent-%COMP%]{margin:0;padding:16px;border-radius:10px;background:#fffbeb;border:1px solid #fde68a;font-size:14px;color:#92400e}.pipeline-picker__loading[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding:2rem 0;min-height:8rem}.pipeline-picker[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-height:6rem;border:1px solid #e5e7eb;border-radius:.625rem;overflow-x:hidden;overflow-y:auto;max-height:260px;scrollbar-gutter:stable;background:#fff;scrollbar-width:thin;scrollbar-color:rgba(84,144,142,.65) #f3f4f6}.pipeline-picker[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px}.pipeline-picker[_ngcontent-%COMP%]::-webkit-scrollbar-track{margin:6px 0;background:#f3f4f6;border-radius:9999px}.pipeline-picker[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#54908e73;border-radius:9999px;border:2px solid #f3f4f6}.pipeline-picker[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:#54908e}.pipeline-option[_ngcontent-%COMP%]{display:flex;align-items:stretch;border-bottom:1px solid #e5e7eb}.pipeline-option[_ngcontent-%COMP%]:last-child{border-bottom:none}.pipeline-option.is-selected[_ngcontent-%COMP%]   .pipeline-option__main[_ngcontent-%COMP%]{background:#f0fdf4}.pipeline-option__main[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;flex:1;min-width:0;padding:.75rem .875rem;cursor:pointer;transition:background-color .12s ease}.pipeline-option__main[_ngcontent-%COMP%]:hover{background:#f9fafb}.pipeline-option__selector[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:1.5rem;height:1.5rem;border:2px solid #d1d5db;border-radius:50%}.pipeline-option__check[_ngcontent-%COMP%]{color:#059669}.is-selected[_ngcontent-%COMP%]   .pipeline-option__selector[_ngcontent-%COMP%]{border-color:#059669;background:#ecfdf5}.pipeline-option__content[_ngcontent-%COMP%]{flex:1;min-width:0}.pipeline-option__name[_ngcontent-%COMP%]{font-size:.9375rem;font-weight:500;color:#111827;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pipeline-option__meta[_ngcontent-%COMP%]{margin-top:.25rem;font-size:.75rem;color:#6b7280}.select-pipeline-create[_ngcontent-%COMP%]{margin-top:4px}.select-pipeline-actions[_ngcontent-%COMP%]{flex-wrap:wrap;gap:.5rem;padding-top:8px}.select-pipeline-actions[_ngcontent-%COMP%]   button[mat-flat-button][_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:8px}.select-pipeline-actions-spinner[_ngcontent-%COMP%]{display:inline-block}.select-pipeline-actions-spinner[_ngcontent-%COMP%]     circle{stroke:currentColor}"]})}}return i})();var de=l(20030),pe=l(52168);let me=(()=>{class i{constructor(t,o,n,a,r){this.dialog=t,this.pipelineStore=o,this.cardSort=n,this.snackBar=a,this.router=r}openFromConnection(t,o){var n=this;return(0,f.A)(function*(){const a=String(t.name??"").trim();if(!a)return n.snackBar.open("Contact name is required.","Close",{duration:3e3}),!1;const r=String(t.company??"").trim(),m=n.dialog.open(M,{data:{connection:{...t,name:a},suggestedNewPipelineName:r||void 0},width:"min(480px, calc(100vw - 32px))",maxWidth:"100%",autoFocus:"first-tabbable",panelClass:"vex-dialog-glossy"}),g=yield(0,h._)(m.afterClosed());return!(!g?.board||!g.list)&&n.openAddContactDialog(g,t,o?.prefillExtras)})()}openFromPitchDeckEvaluation(t,o){var n=this;return(0,f.A)(function*(){const a=o??Promise.resolve(null),r=(0,b.lV)(t,null),m=String(r.name??"").trim(),g=String(r.company??"").trim();if(!g)return n.snackBar.open("Company name is required to add this evaluation to a pipeline.","Close",{duration:3500}),!1;const k=n.dialog.open(M,{data:{connection:{...r,name:m},suggestedNewPipelineName:g||void 0,preferStageLabelMatch:"deck"},width:"min(480px, calc(100vw - 32px))",maxWidth:"100%",autoFocus:"first-tabbable",panelClass:"vex-dialog-glossy"}),_=yield(0,h._)(k.afterClosed());if(!_?.board||!_.list)return!1;const P=yield a,B=(0,b.L0)(t,P),w=(0,b.lV)(B,P),G=String(w.name??"").trim()||m,x=(0,b.BZ)(B,P,{...w,name:G}
1),T=String(x?.company??w.company??"").trim();return n.openAddContactDialog(_,{...w,name:G},x,{allowConnectionSearch:!0,pitchDeckDetail:P,companyTeamSearch:T?{companyName:T,companySlug:x?.linkedCompanySlug??null,entityType:"investor"===x?.linkedCompanyEntityType?"investor":"limitedPartner"===x?.linkedCompanyEntityType?"limited-partner":"startup"}:void 0})})()}openAddContactDialog(t,o,n,a){var r=this;return(0,f.A)(function*(){const m={...(0,u.Io)(o),...n??{}},g=String(m.company??"").trim(),k=r.dialog.open(y.a,{data:{mode:"add",board:t.board,list:t.list,prefill:m,companyTeamSearch:a?.companyTeamSearch??(g?{companyName:g}:void 0),pitchDeckDetail:a?.pitchDeckDetail??null,hideConnectionSearch:a?.allowConnectionSearch?!!m.linkedUserId:null==n||!!m.linkedUserId},width:"min(560px, calc(100vw - 32px))",maxWidth:"100%",autoFocus:"first-tabbable",panelClass:"vex-dialog-glossy"}),_=yield(0,h._)(k.afterClosed());return!(!_||"object"!=typeof _||!("saved"in _)||(r.cardSort.applySortToBoard(t.board),yield r.promptAfterContactAdded(t,o.name),0))})()}promptAfterContactAdded(t,o){var n=this;return(0,f.A)(function*(){const a=n.dialog.open($,{data:{contactName:o,boardId:t.board.id,boardLabel:t.board.label,stageLabel:t.list.label},width:"min(440px, calc(100vw - 32px))",maxWidth:"100%",autoFocus:"first-tabbable",panelClass:"vex-dialog-glossy"});"view"===(yield(0,h._)(a.afterClosed()))&&(yield n.router.navigate(["/scrumboard",t.board.id]))})()}static{this.\u0275fac=function(o){return new(o||i)(e.KVO(d.bZ),e.KVO(E.J),e.KVO(de.m),e.KVO(I.UG),e.KVO(pe.Ix))}}static{this.\u0275prov=e.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}}return 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.