PageSourceSearch

https://gui.dockstore.org/2.17.0-9fcf03e/799.a78feed910e8ad29.js

js dockstore.org collected 2026-09-24 09:10:28 UTC 13,946 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdockstore_ui2=self.webpackChunkdockstore_ui2||[]).push([[799],{38799:(Ot,P,n)=>{n.d(P,{X:()=>Tt});var y=n(6898),W=n(990),$=n(35879),C=n(94943),U=n(67400),x=n(26135),A=n(10528),B=n(83236),j=n(25080),_=n(49714),S=n(68712),F=n(58728),l=n(7605),c=n(95006),L=n(16864),G=n(88683),K=n(50737),X=n(44828),V=n(49539),Y=n(72117),N=n(38555),Q=n(63567),z=n(37016),H=n(18352),J=n(13881),Z=n(84395),T=n(12681),h=n(25596),q=n(35906),tt=n(59115),m=n(14823),p=n(90882),E=n(60177),M=n(4816),f=n(88834),et=n(42152),nt=n(23616),d=n(15848),u=n(36471),t=n(54438),ot=n(48587),st=n(75351),rt=n(25787);function it(s,i){1&s&&(t.j41(0,"mat-chip",15),t.EFF(1,"PREVIEW"),t.k0s())}function at(s,i){if(1&s){const e=t.RV6();t.j41(0,"button",26),t.nI1(1,"async"),t.nI1(2,"async"),t.nI1(3,"async"),t.bIt("click",function(){t.eBV(e);const r=t.XpG(2);return t.Njj(r.addToExistingWorkflows())}),t.EFF(4),t.nI1(5,"async"),t.nI1(6,"titlecase"),t.k0s()}if(2&s){const e=t.XpG(2);t.Mz_("matTooltip","Discover ",t.bMT(1,4,e.entryType$),"s added by others using your linked source control accounts"),t.Y8G("disabled",t.bMT(2,6,e.isRefreshing$)||null===t.bMT(3,8,e.user$)),t.R7$(4),t.SpI(" Discover ",t.bMT(6,12,t.bMT(5,10,e.entryType$)),"s ")}}function _t(s,i){if(1&s&&(t.j41(0,"p"),t.EFF(1),t.nI1(2,"async"),t.k0s()),2&s){const e=t.XpG(2);t.R7$(),t.SpI("You have not registered any ",t.bMT(2,1,e.entryType$),"s")}}function lt(s,i){if(1&s&&(t.j41(0,"p"),t.EFF(1),t.nI1(2,"async"),t.k0s()),2&s){const e=t.XpG(3);t.R7$(),t.SpI("You have no ",t.bMT(2,1,e.entryType$),"s shared with you")}}function ct(s,i){if(1&s&&(t.qex(0),t.j41(1,"div",27)(2,"h3"),t.EFF(3,"Shared with me"),t.k0s()(),t.DNE(4,lt,3,3,"p",23),t.nI1(5,"async"),t.nrm(6,"app-workflow-sidebar-accordion",28),t.nI1(7,"async"),t.bVm()),2&s){const e=t.XpG(2);t.R7$(4),t.Y8G("ngIf",!1===t.bMT(5,3,e.hasGroupSharedEntriesObject$)),t.R7$(2),t.Y8G("openOneAtATime",e.oneAtATime)("groupEntriesObject",t.bMT(7,5,e.groupSharedEntriesObject$))}}function pt(s,i){if(1&s){const e=t.RV6();t.j41(0,"mat-sidenav",16,0),t.mxI("openedChange",function(r){t.eBV(e);const a=t.XpG();return t.DH7(a.showSidebar,r)||(a.showSidebar=r),t.Njj(r)}),t.j41(2,"div",17)(3,"div",18)(4,"div",19),t.nI1(5,"async"),t.j41(6,"button",20),t.nI1(7,"async"),t.nI1(8,"async"),t.bIt("click",function(){t.eBV(e);const r=t.XpG();return t.Njj(r.showRegisterEntryModal())}),t.nrm(9,"img",21),t.EFF(10),t.nI1(11,"titlecase"),t.k0s(),t.DNE(12,at,7,14,"button",22),t.k0s(),t.DNE(13,_t,3,3,"p",23),t.nI1(14,"async"),t.nrm(15,"app-workflow-sidebar-accordion",24),t.nI1(16,"async"),t.nI1(17,"async"),t.nrm(18,"br"),t.j41(19,"small"),t.EFF(20,"Don't see an organization? "),t.j41(21,"a",25),t.EFF(22,"Configure"),t.k0s(),t.EFF(23," your authorized organizations."),t.k0s(),t.DNE(24,ct,8,7,"ng-container",23),t.k0s()()()}if(2&s){const e=t.XpG();t.R50("opened",e.showSidebar),t.R7$(4),t.Y8G("matTooltip",t.bMT(5,18,e.hasSourceControlToken$)?"":"Requires source control token"),t.R7$(2),t.Mz_("matTooltip","Register ",t.bMT(7,20,e.entryType$),""),t.Y8G("disabled",t.bMT(8,22,e.isRefreshing$)),t.BMQ("data-cy","register-"+e.entryType+"-button"),t.R7$(3),t.Mz_("alt","Register a ",e.entryType,""),t.R7$(),t.SpI(" Register a ",t.bMT(11,24,e.entryType)," "),t.R7$(2),t.Y8G("ngIf",e.entryType===e.EntryType.BioWorkflow||e.entryType===e.EntryType.Notebook),t.R7$(),t.Y8G("ngIf",!1===t.bMT(14,26,e.hasGroupEntriesObject$)),t.R7$(2),t.Y8G("openOneAtATime",e.oneAtATime)("groupEntriesObject",t.bMT(16,28,e.groupEntriesObject$))("refreshMessage",t.bMT(17,30,e.isRefreshing$))("pageEntryType",e.entryType),t.R7$(6),t.Mz_("href","https://github.com/settings/connections/applications/",e.Dockstore.GITHUB_CLIENT_ID,"",t.B4B),t.R7$(3),t.Y8G("ngIf",e.entryType!==e.EntryType.Service&&e.entryType!==e.EntryType.Notebook)}}function dt(s,i){1&s&&(t.j41(0,"span"),t.EFF(1,", do one of the following"),t.k0s())}function yt(s,i){if(1&s&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"async"),t.k0s()),2&s){const e=t.XpG(2);t.R7$(),t.SpI("to manually add a ",t.bMT(2,1,e.entryType$)," using the registration wizard.")}}function ht(s,i){if(1&s&&(t.EFF(0),t.nI1(1,"async")),2&s){const e=t.XpG(2);t.SpI("and follow the GitHub apps web interface to create ",t.bMT(1,1,e.entryType$),"s from your GitHub repositories.")}}function Et(s,i){if(1&s){const e=t.RV6();t.j41(0,"span")(1,"li"),t.EFF(2),t.nI1(3,"async"),t.k0s(),t.j41(4,"button",33),t.nI1(5,"async"),t.nI1(6,"async"),t.nI1(7,"async"),t.bIt("click",function(){t.eBV(e);const r=t.XpG(2);return t.Njj(r.addToExistingWorkflows())}),t.EFF(8),t.nI1(9,"async"),t.nI1(10,"titlecase"),t.k0s()()}if(2&s){const e=t.XpG(2);t.R7$(2),t.SpI(" If there are already ",t.bMT(3,5,e.entryType$),"s on Dockstore added by other users that you have access to, press the button below. "),t.R7$(2),t.Mz_("matTooltip","Discover ",t.bMT(5,7,e.entryType$),"s added by others using your linked source control accounts"),t.Y8G("disabled",t.bMT(6,9,e.isRefreshing$)||t.bMT(7,11,e.noUser$)),t.R7$(4),t.SpI(" Discover Existing Dockstore ",t.bMT(10,15,t.bMT(9,13,e.entryType$)),"s ")}}function ft(s,i){if(1&s){const e=t.RV6();t.j41(0,"div",34)(1,"button",35),t.bIt("click",function(){t.eBV(e);const r=t.XpG(2);return t.Njj(r.link())}),t.nrm(2,"fa-icon",36),t.EFF(3," You do not have a linked GitHub token, click here to link a GitHub token "),t.k0s()()}if(2&s){const e=t.XpG(2);t.R7$(2),t.Y8G("icon",e.faGithub)}}function ut(s,i){if(1&s){const e=t.RV6();t.j41(0,"div",2)(1,"div",4)(2,"mat-card",29)(3,"mat-card-content")(4,"p")(5,"mat-icon"),t.EFF(6,"info"),t.k0s(),t.EFF(7),t.nI1(8,"async"),t.nI1(9,"async"),t.DNE(10,dt,2,0,"span",23),t.EFF(11,": "),t.k0s(),t.j41(12,"ul")(13,"li"),t.EFF(14),t.nI1(15,"async"),t.nI1(16,"titlecase"),t.DNE(17,yt,3,3,"span",30)(18,ht,2,3,"ng-template",null,1,t.C5r),t.k0s(),t.j41(20,"button",31),t.nI1(21,"async"),t.bIt("click",function(){t.eBV(e);const r=t.XpG();return t.Njj(r.showRegisterEntryModal())}),t.EFF(22),t.nI1(23,"async"),t.nI1(24,"titlecase"),t.k0s(),t.DNE(25,Et,11,17,"span",23),t.k0s(),t.DNE(26,ft,4,1,"div",32),t.k0s()()()()}if(2&s){const e=t.sdS(19),o=t.XpG();t.R7$(7),t.Lme(" There are currently no ",t.bMT(8,10,o.entryType$),"s registered under this account. To add your first ",t.bMT(9,12,o.entryType$),""),t.R7$(3),t.Y8G("ngIf",o.entryType===o.EntryType.BioWorkflow),t.R7$(4),t.SpI(" Press the 'Register a ",t.bMT(16,16,t.bMT(15,14,o.entryType$)),"' button "),t.R7$(3),t.Y8G("ngIf",o.entryType===o.EntryType.BioWorkflow)("ngIfElse",e),t.R7$(3),t.Y8G("disabled",t.bMT(21,18,o.isRefreshing$)),t.R7$(2),t.SpI(" Register a ",t.bMT(24,22,t.bMT(23,20,o.entryType$))," "),t.R7$(3),t.Y8G("ngIf",o.entryType===o.EntryType.BioWorkflow||o.entryType===o.EntryType.Notebook),t.R7$(),t.Y8G("ngIf",!o.hasGitHubToken)}}let Tt=(()=>{class s extends X.h{constructor(e,o,r,a,g,mt,b,Mt,gt,bt,v,I,vt,It,k,O,D,kt,w,R){super(k,b,g,e,I,v,D,O,o,w,r,R),this.configuration=e,this.activatedRoute=o,this.userQuery=r,this.workflowService=a,this.authService=g,this.dialog=mt,this.accountsService=b,this.userService=Mt,this.router=gt,this.registerWorkflowModalService=bt,this.urlResolverService=v,this.tokenQuery=I,this.workflowQuery=vt,this.alertQuery=It,this.tokenService=k,this.sessionService=O,this.sessionQuery=D,this.myWorkflowsService=kt,this.myEntriesQuery=w,this.myEntriesStateService=R,this.Dockstore=J.v,this.faGithub=W.Vz1,this.EntryType=$.$,this.pageName="/my-workflows",this.showSidebar=!0,this.entryType=this.sessionQuery.getValue().entryType,this.entryType$=this.sessionQuery.entryType$.pipe((0,S.t)(1)),this.user=this.userQuery.getValue().user,this.user$=this.userQuery.user$,this.noUser$=this.userQuery.noUser$}ngOnInit(){this.myWorkflowsService.clearPartialState(),this.tokenService.getGitHubOrganizations(),this.isRefreshing$=this.alertQuery.showInfo$,this.workflow$=this.workflowQuery.selectActive(),this.router.events.pipe((0,F.p)(e=>e instanceof y.wF),(0,l.Q)(this.ngUnsubscribe)).subscribe(()=>{this.selectEntry(this.myWorkflowsService.recomputeWhatEntryToSelect([...this.workflows||[],...this.sharedWorkflows||[]]))}),this.hasSourceControlToken$=this.tokenQuery.hasSourceControlToken$,this.commonMyEntriesOn
1Init(),this.workflowQuery.workflow$.pipe((0,l.Q)(this.ngUnsubscribe)).subscribe(e=>this.workflow=e),this.getMyEntries(),(0,_.zV)([this.workflowService.workflows$,this.workflowService.sharedWorkflows$]).pipe((0,l.Q)(this.ngUnsubscribe)).subscribe(([e,o])=>{e&&o&&(this.workflows=e,this.sharedWorkflows=o)},()=>{console.error("Something has gone horribly wrong with sharedWorkflows$ and/or workflows$")}),this.groupEntriesObject$=(0,_.zV)([this.workflowService.workflows$,this.workflowQuery.selectActive(),this.tokenQuery.gitHubOrganizations$]).pipe((0,c.T)(([e,o,r])=>this.myWorkflowsService.convertEntriesToOrgEntryObject(e,o,r))),this.groupSharedEntriesObject$=(0,_.zV)([this.workflowService.sharedWorkflows$,this.workflowQuery.selectActive()]).pipe((0,c.T)(([e,o])=>this.myWorkflowsService.convertEntriesToOrgEntryObject(e,o))),this.hasGroupEntriesObject$=this.groupEntriesObject$.pipe((0,c.T)(e=>e&&e.some(o=>o.unpublished.length||o.published.length||o.archived.length))),this.hasGroupSharedEntriesObject$=this.groupSharedEntriesObject$.pipe((0,c.T)(e=>e&&0!==e.length))}getMyEntries(){(0,_.zV)([this.userQuery.user$,this.sessionQuery.entryType$]).pipe((0,l.Q)(this.ngUnsubscribe)).subscribe(([e,o])=>{e&&o&&this.myWorkflowsService.getMyEntries(e.id,o)})}selectEntry(e){this.myWorkflowsService.selectEntry(e,this.entryType)}setRegisterEntryModalInfo(e){this.registerWorkflowModalService.setWorkflowRepository(e)}showRegisterEntryModal(){this.myWorkflowsService.registerEntry(this.entryType)}addToExistingWorkflows(){this.user&&this.userService.addUserToWorkflows(this.user.id,this.entryType)}toggleSidebar(){this.showSidebar=!this.showSidebar}static{this.\u0275fac=function(o){return new(o||s)(t.rXU(ot.V),t.rXU(y.nX),t.rXU(Q.a),t.rXU(N.D),t.rXU(G.uR),t.rXU(st.bZ),t.rXU(L.u),t.rXU(j.D),t.rXU(y.Ix),t.rXU(z.V),t.rXU(rt.r),t.rXU(V._),t.rXU(Y._),t.rXU(K.r),t.rXU(B.B),t.rXU(U.Q),t.rXU(C.X),t.rXU(H.O),t.rXU(x.H),t.rXU(A.z))}}static{this.\u0275cmp=t.VBU({type:s,selectors:[["app-my-workflow"]],standalone:!0,features:[t.Vt3,t.aNF],decls:25,vars:19,consts:[["sidenav",""],["githubAppsRegistration",""],["fxLayout",""],["fxLayout","column","fxFlex",""],["fxFlex",""],["fxLayout","","fxLayoutAlign","start center"],["mat-icon-button","",3,"click"],[1,"ml-2"],["class","preview-bubble",4,"ngIf"],[1,"container-fluid","sidebar-set-height"],["fxLayout","","autosize","",1,"sidebar-set-height"],["fxFlex","18","fxFlex.lt-md","calc(100vw - 11rem)","class","container-fluid p-0","mode","side",3,"opened","openedChange",4,"ngIf"],["fxFlex","",1,"sidebar-set-height","pl-3"],["fxLayout","",4,"ngIf"],[3,"isWorkflowPublic","user"],[1,"preview-bubble"],["fxFlex","18","fxFlex.lt-md","calc(100vw - 11rem)","mode","side",1,"container-fluid","p-0",3,"openedChange","opened"],["id","parent"],["id","child"],["matTooltipPosition","after",1,"clearfix","sidebar-header","w-100",3,"matTooltip"],["mat-stroked-button","","matTooltipPosition","after",1,"private-btn","ml-3","mb-3",3,"click","matTooltip","disabled"],["src","https://gui.dockstore.org/2.17.0-9fcf03e/assets/svg/icons-plus.svg",1,"pr-2","pb-1",3,"alt"],["mat-stroked-button","","class","private-btn ml-3 mb-3","matTooltipPosition","after","id","addToExistingWorkflows","data-cy","addToExistingWorkflows",3,"disabled","matTooltip","click",4,"ngIf"],[4,"ngIf"],[3,"openOneAtATime","groupEntriesObject","refreshMessage","pageEntryType"],["target","_blank","rel","noopener noreferrer",3,"href"],["mat-stroked-button","","matTooltipPosition","after","id","addToExistingWorkflows","data-cy","addToExistingWorkflows",1,"private-btn","ml-3","mb-3",3,"click","disabled","matTooltip"],[1,"clearfix"],[3,"openOneAtATime","groupEntriesObject"],["appearance","outlined","role","alert",1,"alert","alert-info"],[4,"ngIf","ngIfElse"],["mat-raised-button","","type","button",1,"accent-1-dark",3,"click","disabled"],["class","mt-3",4,"ngIf"],["mat-raised-button","","type","button",1,"accent-1-dark",3,"click","disabled","matTooltip"],[1,"mt-3"],["mat-raised-button","",3,"click"],[3,"icon"]],template:function(o,r){1&o&&(t.j41(0,"div",2)(1,"div"),t.nrm(2,"app-my-sidebar"),t.k0s(),t.j41(3,"div",3)(4,"app-header",4)(5,"div",5)(6,"button",6),t.bIt("click",function(){return r.toggleSidebar()}),t.j41(7,"mat-icon"),t.EFF(8),t.k0s()(),t.j41(9,"span"),t.EFF(10),t.nI1(11,"async"),t.nI1(12,"titlecase"),t.k0s(),t.j41(13,"mat-chip-set",7),t.DNE(14,it,2,0,"mat-chip",8),t.k0s()()(),t.j41(15,"div",9)(16,"mat-sidenav-container",10),t.DNE(17,pt,25,32,"mat-sidenav",11),t.nI1(18,"async"),t.j41(19,"mat-sidenav-content",12),t.DNE(20,ut,27,24,"div",13),t.nI1(21,"async"),t.nI1(22,"async"),t.nI1(23,"async"),t.nrm(24,"app-workflow",14),t.k0s()()()()()),2&o&&(t.R
17$(8),t.SpI("chevron_",r.showSidebar?"left":"right",""),t.R7$(2),t.JRh(t.bMT(12,9,t.bMT(11,7,r.myEntryPageTitle$))),t.R7$(4),t.Y8G("ngIf",r.entryType===r.EntryType.Service),t.R7$(3),t.Y8G("ngIf",!1===t.bMT(18,11,r.refreshingMyEntries$)),t.R7$(3),t.Y8G("ngIf",!1===t.bMT(21,13,r.isRefreshing$)&&!1===t.bMT(22,15,r.hasGroupEntriesObject$)&&!1===t.bMT(23,17,r.hasGroupSharedEntriesObject$)),t.R7$(4),t.Y8G("isWorkflowPublic",!1)("user",r.user))},dependencies:[d.w2,d.DJ,d.sA,d.UI,nt.A,et.l,f.Hl,f.$z,f.iY,M.m_,M.An,E.bT,p.vg,p.LG,p.US,p.El,m.uc,m.oV,tt.Cn,q.a,h.Hu,h.RN,h.m2,T.dX,T.aY,Z.b,E.Jj,E.PV,u.YN,u.Jl,u.Jo],styles:[".sidebar-header[_ngcontent-%COMP%]{border-bottom:1px solid #b3b6be}#parent[_ngcontent-%COMP%]{height:100%;overflow:hidden;padding-right:.75rem}#child[_ngcontent-%COMP%]{width:100%;height:100%;overflow-y:scroll;box-sizing:content-box;-ms-overflow-style:none;scrollbar-width:none}[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}mat-sidenav[_ngcontent-%COMP%]{min-width:28rem;border-right:.1rem solid #dfe0e2;box-shadow:1px 2px 1px #0000001a}div[fxLayout=column][_ngcontent-%COMP%]{overflow-x:hidden}"]})}}return s})()}}]);

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.