1(function(){try{var h=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};h.SENTRY_RELEASE={id:"e6326255770e926cd5b55cb799fad7fe7b07ebef"};var u=(new h.Error).stack;u&&(h._sentryDebugIds=h._sentryDebugIds||{},h._sentryDebugIds[u]="1985d31a-ae73-4140-8381-7582896cea6b",h._sentryDebugIdIdentifier="sentry-dbid-1985d31a-ae73-4140-8381-7582896cea6b")}catch{}})(),(self.webpackChunk_innosabi_client=self.webpackChunk_innosabi_client||[]).push([[5388],{29218(h,u,i){i.d(u,{P:()=>p});var p=function(o){return o.Classic="classic",o.Sectioned="sectioned",o}(p||{})},45388(h,u,i){i.d(u,{SbirSttrDetailComponent:()=>c});var p=i(93683),o=i(85240),r=i(86763),d=i(49074),f=i(85913),P=i(34487),b=i(53856),D=i(11439),I=i(29218),R=i(65898),v=i(53642),g=i(86924),T=i(84473),A=i(47286),S=i(94115),O=i(63037),j=i(57130),C=i(63193),L=i(94047),W=i(5286),U=i(46359),B=i(1126),M=i(50465),F=i(7288),y=i(58531),e=i(12481);const N=()=>({exact:!0});function $(a,t){if(1&a&&(e.j41(0,"p",4),e.EFF(1),e.k0s()),2&a){const n=e.XpG();e.R7$(),e.JRh(n.heroHeaderText())}}function k(a,t){if(1&a&&(e.j41(0,"inn-status-badge"),e.EFF(1),e.k0s()),2&a){const n=t.$implicit;e.R7$(),e.JRh(n)}}function K(a,t){if(1&a&&(e.j41(0,"div",13)(1,"span",18),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.j41(4,"span",19),e.EFF(5),e.nI1(6,"date"),e.k0s()()),2&a){let n;const s=e.XpG();e.R7$(2),e.JRh(e.bMT(3,2,"Open Date")),e.R7$(3),e.JRh(e.i5U(6,4,null==(n=s.project())||null==n.release?null:n.release.proposalOpenDate,"MM/dd/yyyy"))}}function Q(a,t){if(1&a&&(e.j41(0,"div",13)(1,"span",18),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.j41(4,"span",19),e.EFF(5),e.nI1(6,"date"),e.k0s()()),2&a){let n;const s=e.XpG();e.R7$(2),e.JRh(e.bMT(3,2,"Close Date")),e.R7$(3),e.JRh(e.i5U(6,4,null==(n=s.project())||null==n.release?null:n.release.proposalCloseDate,"MM/dd/yyyy"))}}function w(a,t){1&a&&(e.j41(0,"li",16)(1,"a",20),e.EFF(2),e.nI1(3,"transloco"),e.k0s()()),2&a&&(e.R7$(2),e.JRh(e.bMT(3,1,"Running Phases")))}function H(a,t){if(1&a&&(e.j41(0,"span",22),e.EFF(1),e.k0s()),2&a){const n=e.XpG(2);e.R7$(),e.JRh(n.publishedQuestionCount())}}function V(a,t){if(1&a&&(e.j41(0,"li",16)(1,"a",21),e.EFF(2),e.nI1(3,"transloco"),e.nVh(4,H,2,1,"span",22),e.k0s()()),2&a){const n=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,2,"Q&A")," "),e.R7$(2),e.vxM(n.publishedQuestionCount()>0?4:-1)}}class c{static{this.PHASE_I_NAME="Phase I"}static{this.PHASE_II_NAME="Phase II"}static{this.SUBMISSION_PHASE_NAMES=[c.PHASE_I_NAME,c.PHASE_II_NAME]}constructor(){this.ButtonTheme=B.S,this.Icons=A.FI,this.ThumbnailResizeStrategy=M.wG,this.windowService=(0,o.WQX)(g.s7),this.projectService=(0,o.WQX)(g.TR),this.sbirProjectService=(0,o.WQX)(y.k),this.userService=(0,o.WQX)(g.DL),this.authService=(0,o.WQX)(g.uR),this.transloco=(0,o.WQX)(b.JO),this.store=(0,o.WQX)(D.il),this.destroyRef=(0,o.WQX)(o.abz),this.project=(0,o.vPA)(this.projectService.currentProject),this.isLoggedIn=(0,d.ot)(this.userService.isUserLoggedIn(),{initialValue:!1}),this.enhancedFormBuilder=(0,d.ot)(this.store.select((0,j.G7)(W.m.EnhancedFormBuilder))),this.isFollowed=(0,r.EW)(()=>!!this.project()?.isFollowedByCurrentUser),this.isActive=(0,r.EW)(()=>this.project()?.isActive()??!1),this.phases=(0,d.ot)(this.sbirProjectService.getPhases(),{initialValue:{active:[],all:[]}}),this.runningPhases=(0,r.EW)(()=>this.phases().active.filter(t=>t.phaseType!==v.S6.Qa)),this.hasRunningPhases=(0,r.EW)(()=>this.runningPhases().length>0),this.submitProposalLink=(0,r.EW)(()=>{const t=this.project(),n=t?.relativeUrl,s=this.runningPhases();if(!this.enhancedFormBuilder()||!n||0===s.length)return null;if(s.length>1)return[n,"running-phases"];const l=s[0],m=(0,T.g)(l.form,t?.form,t?.projectType?.form);return I.P.Sectioned===m?.structureMode?[n,"submit-proposal",l.id]:null}),this.hasQaPhase=(0,r.EW)(()=>this.phases().all.some(t=>t.phaseType===v.S6.Qa)),this.phaseIAvailable=(0,r.EW)(()=>this.hasPhaseNamed(c.PHASE_I_NAME)),this.directToPhaseIIAvailable=(0,r.EW)(()=>this.hasPhaseNamed(c.PHASE_II_NAME)),this.submissionPhases=(0,r.EW)(()=>this.phases().all.filter(t=>!!t.name&&c.SUBMISSION_PHASE_NAMES.includes(t.name))),this.hasRunningSubmissionPhase=(0,r.EW)(()=>this.phases().active.some(t=>!!t.name&&c.SUBMISSION_PHASE_NAMES.includes(t.name))),this.activeLang=(0,d.ot)(this.transloco.langChanges$.pipe((0,O.Z)(this.transloco.getActiveLang())),{initialValue:this.transloco.getActiveLang()}),this.derivedStatus=(0,r.EW)(()=>
1{if(this.activeLang(),!this.isActive())return;if(this.hasRunningSubmissionPhase())return this.transloco.translate("Open");const t=this.submissionPhases();return t.length>0&&t.every(s=>!!s.endDate&&s.endDate.getTime()<Date.now())?this.transloco.translate("Closed"):this.transloco.translate("Pre-Release")}),this.publishedQuestionCount=(0,d.ot)(this.sbirProjectService.getPublishedQuestionCount(),{initialValue:0}),this.heroHeaderText=(0,r.EW)(()=>{const t=this.project();if(!t)return"";const n=`${this.transloco.translate("Topic")} ${t.referenceId??t.id}`,s=t.release;return s?[n,s.solicitation?.title?`${this.transloco.translate("Solicitation")} ${s.solicitation.title}`:"",`${this.transloco.translate("Release")} ${s.releaseNumber}`].filter(E=>E.length>0).join(" \xb7 "):n}),this.sections=(0,d.ot)((0,o.WQX)(F.Y).getSections(),{initialValue:[]}),this.pills=(0,r.EW)(()=>{this.activeLang();const t=this.project()?.organization?.name,n=this.project()?.release?.solicitation?.programType;return[t,n,this.isActive()&&this.phaseIAvailable()?this.transloco.translate("Phase I"):void 0,this.isActive()&&this.directToPhaseIIAvailable()?this.transloco.translate("Direct to Phase II"):void 0,this.derivedStatus(),...this.sections().filter(_=>_.placement===R.H.Pills).flatMap(_=>_.fields).map(_=>_.value)].filter(_=>!!_&&_.length>0)}),this.sbirProjectService.getTopic().pipe((0,d.pQ)(this.destroyRef)).subscribe(t=>{const n=this.project();t&&n&&this.project.set(new v.MM({...n,...t}))})}exportPdf(){const t=this.project();t&&this.windowService.open("/document/export-sbir-sttr?project="+t.id,"_blank")}toggleFollow(){const t=this.project();t&&(this.isLoggedIn()?(t.isFollowedByCurrentUser&&t.bookmarkOfCurrentUser?this.projectService.unfollow(t.id,t.bookmarkOfCurrentUser):this.projectService.follow(t.id)).pipe((0,d.pQ)(this.destroyRef)).subscribe(s=>{this.project.set(new v.MM({...this.project(),...s}))}):this.authService.redirectToLoginPage())}hasPhaseNamed(t){return this.phases().all.some(n=>n.name===t)}static{this.\u0275fac=function(n){return new(n||c)}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["fe-sbir-sttr-detail"]],decls:37,vars:34,consts:[[1,"sbir-sttr"],[1,"ss-hero"],[1,"ss-hero__overlay"],[1,"ss-hero__content"],[1,"ss-hero__meta"],[1,"ss-hero__title"],[1,"ss-hero__tags"],[1,"ss-hero__actions"],[3,"theme","disabled","routerLink"],[3,"name"],[3,"click","keydown.enter","theme","color","ariaLabel"],[1,"ss-meta"],[1,"ss-meta__inner"],[1,"ss-meta__item"],[1,"ss-tabs"],[1,"ss-tabs__list"],[1,"ss-tabs__item"],["routerLink",".","routerLinkActive","is-active",3,"routerLinkActiveOptions"],[1,"ss-meta__label"],[1,"ss-meta__value"],["routerLink","running-phases","routerLinkActive","is-active"],["routerLink","qa-phase","routerLinkActive","is-active"],[1,"ss-tabs__badge"]],template:function(n,s){if(1&n&&(e.j41(0,"div",0)(1,"header",1),e.nI1(2,"thumbnailUrl"),e.nrm(3,"div",2),e.j41(4,"fe-container")(5,"div",3),e.nVh(6,$,2,1,"p",4),e.j41(7,"h1",5),e.EFF(8),e.k0s(),e.j41(9,"div",6),e.Z7z(10,k,2,1,"inn-status-badge",null,e.Vm6),e.k0s(),e.j41(12,"div",7)(13,"inn-button",8),e.EFF(14),e.nI1(15,"transloco"),e.nrm(16,"inn-icon",9),e.k0s(),e.j41(17,"inn-button",10),e.nI1(18,"transloco"),e.bIt("click",function(){return s.toggleFollow()})("keydown.enter",function(){return s.toggleFollow()}),e.nrm(19,"inn-icon",9),e.EFF(20),e.nI1(21,"transloco"),e.k0s()()()()(),e.j41(22,"section",11)(23,"fe-container")(24,"div",12),e.nVh(25,K,7,7,"div",13),e.nVh(26,Q,7,7,"div",13),e.k0s()()(),e.j41(27,"nav",14)(28,"fe-container")(29,"ul",15)(30,"li",16)(31,"a",17),e.EFF(32),e.nI1(33,"transloco"),e.k0s()(),e.nVh(34,w,4,3,"li",16),e.nVh(35,V,5,4,"li",16),e.k0s()()(),e.nrm(36,"router-outlet"),e.k0s()),2&n){let l,m,E,_;e.R7$(),e.xc7("background-image",null!=(l=s.project())&&l.teaser?"url("+e.ii3(2,20,null==(l=s.project())?null:l.teaser,s.ThumbnailResizeStrategy.Crop,1920,600)+")":null),e.R7$(5),e.vxM(s.heroHeaderText()?6:-1),e.R7$(2),e.JRh(null==(m=s.project())?null:m.name),e.R7$(2),e.Dyx(s.pills()),e.R7$(3),e.Y8G("theme",s.ButtonTheme.Primary)("disabled",!s.isActive()||!s.submitProposalLink())("routerLink",s.submitProposalLink()),e.R7$(),e.SpI(" ",e.bMT(15,25,"Submit Proposal")," "),e.R7$(2),e.Y8G("name",s.Icons.arrowRight),e.R7$(),e.Y8G("theme",s.ButtonTheme.Outline)("color",s.ButtonTheme.White)("ariaLabel",e.bMT(18,27,s.isFollowed()?"Unfollow":"Follow")),e.R7$(2),e.Y8G("name",s.Icons.star),e.R7$(),e.SpI(" ",e.bMT(21,29,s.isFollowed()?"Following":"Follow")," "),e.R7$(5),e.vxM(null!=(E=s.project())&&null!=E.release&&E.release.proposalOpenDate?25:-1),e.R7$(),e.vxM(null!=(_=s.project())&&null!=_.release&&_.release.proposalCloseDate?26:-1),e.R7$(5),e.Y8G("routerLinkActiveOptions",e.lJ4(33,N)),e.R7$(),e.JRh(e.bMT(33,31,"Overview")),e.R7$(2),e.vxM(s.hasRunningPhases()?34:-1),e.R7$(),e.vxM(s.hasQaPhase()?35:-1)}},dependencies:[f.n3,P.Wk,P.wQ,C.H,L.v,U.Q,S.R,p.vh,b.Kj,M.kN],encapsulation:2,changeDetection:0})}}},5286(h,u,i){i.d(u,{m:()=>p});var p=function(o){return o.SubmissionFileUpload="submission_form.use_file_upload",o.EnhancedNumberFormElement="form_element.use_enhanced_number",o.EnhancedFormBuilder="form_builder.use_enhanced",o.PhoneInputFormElement="form_element.use_phone_input",o.SuggestionGovernance="suggestion.use_governance",o}(p||{})}}]); 2//# sourceMappingURL=5388.3bc61eac97efd387.chunk.js.map
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.