1import{a as st,b as ti}from"./chunk-GUOYPD66.js";import{$ as xt,$b as tt,D as he,Db as ke,E as ge,F as yt,Fb as Fe,Hc as $e,Ic as Ue,If as at,Ja as Ae,Jb as Z,K as ve,Kd as rt,M as K,Mb as Re,Mc as it,Md as ze,N as Q,Na as Ee,Nc as ot,Nd as qe,P as ye,Q as xe,V as Ce,Vd as We,Wd as Xe,Xb as j,Yb as Oe,Yd as Ke,Zd as Qe,_b as Ve,aa as _e,ac as bt,bc as et,cc as Pt,cd as je,dd as Ne,ed as Be,fd as nt,ga as Ct,gb as I,ie as Je,jb as J,k as gt,m as vt,o as _,of as Ye,pa as Se,pf as Ze,rb as Y,sa as _t,sb as Te,t as ue,ta as be,ua as St,va as Pe,wd as Ge,x as fe,xd as He,za as we}from"./chunk-PQRMWWJU.js";import{$b as ut,Ab as v,Ac as ae,Bc as U,Cb as y,Cc as se,Da as Xt,Fb as z,Gb as q,Hb as m,Hc as d,Ib as a,Ic as h,Jb as s,Jc as ft,Kb as x,M as Ht,Mc as ht,N as zt,Na as Kt,Ob as te,Pb as ee,Qb as ie,Qd as ce,Rb as oe,Rd as me,Sa as Qt,Tb as W,Td as de,Vb as p,Wa as Jt,Wb as X,Wd as Me,Xb as $,Xd as De,Yd as Ie,Zb as ne,Zd as Le,_b as dt,ab as n,dd as le,eb as Yt,fa as G,gb as A,ic as c,id as R,jc as S,kb as C,kc as D,lb as E,md as O,o as Nt,oa as b,od as pe,p as Bt,pa as w,qb as H,rc as T,sa as u,sc as k,ta as f,tc as F,v as P,w as Gt,ya as qt,yb as M,yc as re,za as Wt,zb as Zt}from"./chunk-4F6QVQ3R.js";import{a as Ut,b as jt,j as mt}from"./chunk-BJTZK3ZY.js";function si(t,r){if(t&1&&x(0,"elm-icon",0),t&2){let e=p();m("icon",e.icon)}}function li(t,r){if(t&1&&(a(0,"h1",1),c(1),s()),t&2){let e=p();n(),S(e.title)}}function pi(t,r){if(t&1&&(a(0,"p",2),c(1),s()),t&2){let e=p();n(),S(e.message)}}var wt=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=C({type:t,selectors:[["elm-empty-state"]],hostAttrs:[1,"elm-empty-state"],inputs:{icon:"icon",message:"message",title:"title"},standalone:!1,decls:3,vars:3,consts:[[1,"elm-size-icon-empty-state","elm-color-icon-standard","elm-spacing-l",3,"icon"],[1,"elm-display-2","elm-fg-5","elm-spacing-xs"],[1,"elm-body-1","elm-fg-5","elm-no-margin"]],template:function(i,o){i&1&&(v(0,si,1,1,"elm-icon",0),v(1,li,2,1,"h1",1),v(2,pi,2,1,"p",2)),i&2&&(y(o.icon?0:-1),n(),y(o.title?1:-1),n(),y(o.message?2:-1))},dependencies:[it],styles:[`[_nghost-%COMP%]{display:block;width:100%;padding-top:40px;padding-bottom:32px;text-align:center}[_nghost-%COMP%] elm-icon[_ngcontent-%COMP%]{height:80px;width:80px;fill:#00000042} 2/*# sourceMappingURL=elm-empty-state.component-CXBN3DYX.css.map */`],changeDetection:0})}}return t})();var At=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=E({type:t})}static{this.\u0275inj=w({imports:[O,ot]})}}return t})();var mi=[[["elm-progress-spinner-track"]],"*"],di=["elm-progress-spinner-track","*"],V=(()=>{class t{constructor(){this.bufferValue=100,this.color="primary",this.mode="determinate",this.size="medium"}set diameter(e){this._diameter=e}get diameter(){if(this._diameter)return this._diameter;switch(this.size){case"small":return 32;case"large":return 64;case"x-large":return 128}return 44}set strokeWidth(e){this._strokeWidth=e}get strokeWidth(){if(this._strokeWidth)return this._strokeWidth;switch(this.size){case"small":return 1;case"large":return 4;case"x-large":return 6}return 2}get percentage(){return this.value?Math.round(this.value/this.bufferValue*100):0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=C({type:t,selectors:[["elm-progress-spinner"]],inputs:{value:"value",ariaLabel:"ariaLabel",bufferValue:"bufferValue",color:"color",mode:"mode",size:"size",diameter:"diameter",strokeWidth:"strokeWidth"},standalone:!1,ngContentSelectors:di,decls:5,vars:6,consts:[[3,"value","color","mode","diameter","strokeWidth"],[1,"progress-content"]],template:function(i,o){i&1&&(X(mi),$(0),x(1,"mat-progress-spinner",0),a(2,"div",1)(3,"div"),$(4,1),s()()),i&2&&(n(),m("value",o.percentage)("color",o.color)("mode",o.mode)("diameter",o.diameter)("strokeWidth",o.strokeWidth),M("aria-label",o.ariaLabel||null))},dependencies:[$e],styles:[`[_nghost-%COMP%]{display:inline-block;box-sizing:border-box;position:relative;border-radius:50%;vertical-align:middle}[_nghost-%COMP%] .progress-content[_ngcontent-%COMP%]{position:absolute;display:flex;flex:0 0 100%;justify-content:center;top:0;left:0;width:100%;height:100%}[_nghost-%COMP%] .progress-content[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{align-self:center}.color-grey[_nghost-%COMP%] .mat-mdc-progress-spinner circle{stroke:#9e9e9e}
2.color-green[_nghost-%COMP%] .mat-mdc-progress-spinner circle{stroke:#72b32c}.color-yellow[_nghost-%COMP%] .mat-mdc-progress-spinner circle{stroke:#c5b636}.color-red[_nghost-%COMP%] .mat-mdc-progress-spinner circle{stroke:#f44336} 3/*# sourceMappingURL=elm-progress-spinner.component-TM6PK2FH.css.map */`],changeDetection:0})}}return t})();var Et=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=E({type:t})}static{this.\u0275inj=w({imports:[O,Ue]})}}return t})();var lt=class{constructor(r){this.payload=r,this.type="[Media] Play Video"}},pt=class{constructor(r){this.payload=r,this.type="[Media] Open Image"}};var N=(()=>{class t{constructor(e){this.store=e}playVideo(e){this.store.dispatch(new lt(e))}openImage(e){this.store.dispatch(new pt(e))}static{this.\u0275fac=function(i){return new(i||t)(u(Se))}}static{this.\u0275prov=b({token:t,factory:t.\u0275fac})}}return t})();var Mt=(()=>{class t{constructor(e,i,o){this.actions$=e,this.video=i,this.dialog=o,this.playVideo$=_t(()=>this.actions$.pipe(St("[Media] Play Video"),xt,G(l=>this.video.getVideoIframe(l)),G(l=>this.openMediaDialog({videoEmbedCode:l}))),{dispatch:!1}),this.openImage$=_t(()=>this.actions$.pipe(St("[Media] Open Image"),xt,G(l=>this.openMediaDialog({imageUrl:l}))),{dispatch:!1})}openMediaDialog(e){return this.dialog.open(Fe,{data:e,panelClass:["elm-pg-dialog-pane","elm-pg-media-dialog-pane"]}).afterClosed()}static{this.\u0275fac=function(i){return new(i||t)(u(be),u(Z),u(ke))}}static{this.\u0275prov=b({token:t,factory:t.\u0275fac})}}return t})();var Dt=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=E({type:t})}static{this.\u0275inj=w({providers:[N,Z],imports:[Pe.forFeature([Mt]),tt]})}}return t})();var vi=["elm-app-application-list-item",""],yi=t=>({date:t}),xi=(t,r)=>({name:t,percent:r});function Ci(t,r){if(t&1&&(a(0,"p",3)(1,"em"),c(2),d(3,"elmFromDateToNow"),d(4,"transloco"),s()()),t&2){let e=p();n(2),D(" ",ft(4,3,"applicationListItem.lastLoggedIn",U(6,yi,h(3,1,e.application.last_login)))," ")}}function _i(t,r){if(t&1&&(a(0,"elm-progress-spinner",5),d(1,"transloco"),c(2),s()),t&2){let e=p();m("value",e.progress)("ariaLabel",ft(1,3,"applicationListItem.completionProgress",se(6,xi,e.application.name,e.progress))),n(2),D("",e.progress,"%")}}function Si(t,r){if(t&1&&x(0,"elm-app-status-chip",11),t&2){let e=p(2);m("value",e.status)}}function bi(t,r){if(t&1&&(a(0,"elm-chip",12),d(1,"elmDecisionColor"),c(2),s()),t&2){let e=p(2);m("bgColor",h(1,2,e.status)),n(2),D(" ",e.statusDecisionLabel," ")}}function Pi(t,r){if(t&1&&v(0,Si,1,1,"elm-app-status-chip",11)(1,bi,3,4,"elm-chip",12),t&2){let e,i=p();y((e=i.showCustomerStatusText)===!1?0:e===!0?1:-1)}}var wi={[_.ApplicationStatusType.NotSubmitted]:"notSubmitted",[_.ApplicationStatusType.Submitted]:"submitted",[_.ApplicationStatusType.Admitted]:"admitted",[_.ApplicationStatusType.InReview]:"inReview",[_.ApplicationStatusType.InProgress]:"inReview",[_.ApplicationStatusType.ToReview]:"toBeReviewed",[_.ApplicationStatusType.ConditionalOffer]:"conditionalOffer",[_.ApplicationStatusType.Denied]:"denied",[_.ApplicationStatusType.Waitlisted]:"waitlisted",[_.ApplicationStatusType.Withdrawn]:"withdrawn",[_.ApplicationStatusType.Deferred]:"deferred"},It=(()=>{class t{constructor(){this.api451Client=f(Ce),this.transloco=f(Me),this.dateToNow=f(j),this.customersThatWantDecisionStatusText=new Set(["dis"]),this.showCustomerStatusText=this.customersThatWantDecisionStatusText.has(this.api451Client.subdom)}set application(e){this._application=e,this.status=qe(e),this.progress=Math.round(Ct(this.application,"progress","numericProgress")),this.progress===100&&this.status===_.ApplicationStatusType.NotSubmitted?this.statusDecisionLabel="Not Submitted":e.decision_status.decision_made_at?this.statusDecisionLabel=e.decision_status.status_properties?.name:this.statusDecisionLabel="In Review",this.progress=Math.round(Ct(this.application,"progress","numericProgress")),this.showProgress=this.application.decision_status.slug===_.ApplicationStatusType.NotSubmitted&&this.progress<100,this.subtitle=[this.application.term.name,this.application.major.name].filter(
3Boolean).join(" - "),this.ariaLabel=this.buildAriaLabel(e)}get application(){return this._application}buildAriaLabel(e){let i=this.subtitle?`, ${this.subtitle}`:"",o=e.last_login?`, ${this.transloco.translate("applicationListItem.lastLoggedIn",{date:this.dateToNow.transform(e.last_login)})}`:"";return this.transloco.translate("applicationListItem.cardAriaLabel",{name:e.name,subtitlePart:i,lastLoginPart:o,status:this.getStatusAriaLabel(e)})}getStatusAriaLabel(e){if(this.showProgress)return this.transloco.translate("applicationListItem.completionProgress",{name:e.name,percent:this.progress});if(this.showCustomerStatusText)return this.statusDecisionLabel;let i=wi[this.status];return i?this.transloco.translate(`appStatusChip.${i}`):this.status}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=C({type:t,selectors:[["button","elm-app-application-list-item",""],["a","elm-app-application-list-item",""]],hostAttrs:["role","button",1,"elm-application-list-item"],hostVars:1,hostBindings:function(i,o){i&2&&M("aria-label",o.ariaLabel)},inputs:{application:"application"},standalone:!1,features:[re([j])],attrs:vi,decls:18,vars:8,consts:[["aria-hidden","true","fxFlex","","fxLayout","row","fxLayoutAlign","start center",1,"elm-application-list-item-info","elm-text-left"],["alt","","aria-hidden","true",3,"icon"],[1,"elm-application-list-item-title","elm-spacing-2xs"],[1,"elm-no-margin"],["aria-hidden","true",1,"elm-application-list-item-status"],[3,"value","ariaLabel"],["aria-hidden","true",1,"elm-application-list-item-divider"],["aria-hidden","true",1,"elm-application-list-item-open"],[1,"elm-app451-btn","elm-dynamic-bg-primary"],[1,"elm-app451-btn-label-s"],["icon","arrow-right-8","aria-hidden","true",1,"elm-color-icon-white","elm-size-icon-s","elm-no-vertical-align-fix"],[3,"value"],[3,"bgColor"]],template:function(i,o){i&1&&(a(0,"div",0),x(1,"elm-icon",1),a(2,"div")(3,"span",2),c(4),s(),a(5,"p",3),c(6),s(),v(7,Ci,5,8,"p",3),s()(),a(8,"div",4),v(9,_i,3,9,"elm-progress-spinner",5)(10,Pi,2,1),s(),x(11,"div",6),a(12,"div",7)(13,"span",8)(14,"span",9),c(15),d(16,"transloco"),s(),x(17,"elm-icon",10),s()()),i&2&&(n(),m("icon",o.application.icon),n(3),S(o.application.name),n(2),S(o.subtitle),n(),y(o.application.last_login?7:-1),n(2),y(o.showProgress?9:10),n(6),S(h(16,6,"applicationListItem.open")))},dependencies:[ye,Q,K,V,it,We,Xe,Ie,j,Oe],styles:[`@charset "UTF-8";[_nghost-%COMP%]:focus-visible{outline:3px solid #0066cc;outline-offset:2px}[_nghost-%COMP%]:focus:not(:focus-visible){outline:none;box-shadow:none}[_nghost-%COMP%]{background-color:#e8e8e8;border-radius:4px;display:flex;padding:16px 24px;border:none;width:100%;align-items:center}[_nghost-%COMP%]:hover{cursor:pointer;background-color:#dcdcdc}[_nghost-%COMP%]:focus{background-color:#dcdcdc}[_nghost-%COMP%] .elm-application-list-item-info[_ngcontent-%COMP%] .elm-application-list-item-title[_ngcontent-%COMP%]{display:block;color:#424242;font-size:1em;font-weight:600}[_nghost-%COMP%] .elm-application-list-item-info[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#424242;font-size:.6875em}[_nghost-%COMP%] .elm-application-list-item-info[_ngcontent-%COMP%] elm-icon[_ngcontent-%COMP%]{margin-right:16px}[_nghost-%COMP%] .elm-application-list-item-status[_ngcontent-%COMP%]{align-self:center;flex:0 0 auto;margin-left:16px}[_nghost-%COMP%] .elm-application-list-item-status[_ngcontent-%COMP%] elm-progress-spinner[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.875rem;top:-.0625rem;position:relative}[_nghost-%COMP%] .elm-application-list-item-status[_ngcontent-%COMP%] elm-progress-spinner[_ngcontent-%COMP%] svg circle{stroke:#72b32c}[_nghost-%COMP%] .elm-application-list-item-divider[_ngcontent-%COMP%]{width:1px;align-self:stretch;background:var(--bolt-color-gray-divider);margin:0 12px;flex-shrink:0}[_nghost-%COMP%] .elm-application-list-item-open[_ngcontent-%COMP%]{flex-shrink:0;align-self:center}[_nghost-%COMP%] .elm-application-list-item-open[_ngcontent-%COMP%] .elm-app451-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center} 4/*# sourceMappingURL=application-list-item.component-EBKSN2KO.css.map */`],changeDetection:0})}}return t})();var Ei=["*"],Lt=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=C({type:t,selectors:[["elm-app-application-list"]],inputs:{labelledById:"labelledById"},standalone:!1,ngContentSelectors:Ei,decls:2,vars:2,consts:[[1,"elm-app-application-list-ul"]],template:function(i,o){i&1&&(X(),a(0,"div",0),$(1),s()),i&2&&M("aria-labelledby",o.labelledById||null)("role",o.labelledById?"group":null)},styles:[`[_nghost-%COMP%]{display:block;max-height:300px;overflow-y:auto;padding:4px}
4[_nghost-%COMP%] .elm-app-application-list-ul[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;margin:0;padding:0}[_nghost-%COMP%]::-webkit-scrollbar{-webkit-appearance:none;background-color:transparent;width:8px;height:8px}[_nghost-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:#0000008a} 5/*# sourceMappingURL=application-list.component-JKTEPDAB.css.map */`],changeDetection:0})}}return t})();var ct=(()=>{class t{constructor(e,i){this.documentRef=i,this.renderer=e.createRenderer(i.head,{id:"font-service",encapsulation:Jt.None,styles:[],data:{}})}loadFonts(e){e&&e.forEach(i=>this.loadFontFamily(i.family,i.variants))}removeFonts(e){e.forEach(i=>this.removeLink(i.family,i.variants))}getFonts(e=ue.FontSort.Alpha){let i=`${ge}?key=${he}&sort=${e}`,o=fetch(i).then(l=>l.json());return Nt(o)}loadFontFamily(e,i){let o=yt(e,i);this.documentRef.head.querySelectorAll(`link[href='${o}']`).length||this.addLink(o)}addLink(e){let i=this.renderer.createElement("link");i.rel="stylesheet",i.href=e,this.renderer.appendChild(this.documentRef.head,i)}removeLink(e,i){let o=yt(e,i),l=this.documentRef.head.querySelector(`link[href='${o}']`);l&&this.renderer.removeChild(this.documentRef.head,l)}static{this.\u0275fac=function(i){return new(i||t)(u(Yt),u(gt))}}static{this.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Li=mt(vt());var Yn=new RegExp("[0-9]{5,}","i");var Ti=mt(vt());var Tt=new RegExp(/^(https?|ftp):\/\/[^\s/$.?#{}].[^\s{}]*$/,"g");var ki=new RegExp(/^https:\/\/[^\s/$.?#{}].[^\s{}]*$/,"g");var Fi=/(http(s)?:\/\/)?(m\.|www\.)?/,Ri=/(youtu\.be\/|youtube\.com\/(?:embed\/|v\/|shorts\/|watch\?v=|watch\?.+&v=))((\w|-){11})(\?\S*)?/,Oi=/vimeo\.com\/(?:\w+\/\w+\/video\/|album\/\w+\/video\/|channels\/\w+\/|groups\/\w+\/videos\/)?\d+/,or=new RegExp(`^${Fi.source}(${Ri.source}|${Oi.source})$`,"ig");function Hi(t){return t&&t.charAt(0)==="#"}var zi=new RegExp(Tt,"");function qi(t){return zi.test(t)}var Wi=/.*\.forms\..*/;function Xi(t){return Wi.test(t)}var kt=(()=>{class t extends J{constructor(){super(...arguments),this.router=f(ce),this.proxy=f(et),this.isBrowser=pe(f(Qt)),this.document=f(Xt),this.location=f(le)}click(e){if(Hi(e.href))this._handleFragment(e.href);else if(qi(e.href)){let i=decodeURIComponent(e.href);this.isBrowser&&window.open(i,"_blank")}else Xi(e.href)&&this.proxy.handleOpenFormDialogClick(e.href)}_handleFragment(e){let i=e.substring(1);if((this.document.defaultView?.location.hash.substring(1)??"")!==i){let l=this.router.createUrlTree([],{fragment:i,queryParamsHandling:"preserve"});this.location.go(this.router.serializeUrl(l))}this.scrollToFragment(i)}static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=Kt(t)))(o||t)}})()}static{this.\u0275prov=b({token:t,factory:t.\u0275fac})}}return t})();var B=(()=>{class t{constructor(e,i){this.userApplications=e,this.progress=i,this.list$=this.getList(),this.loading$=this.userApplications.loading$,this.loaded$=this.userApplications.loaded$}getList(){return Gt([this.userApplications.userApplications$,this.progress.entities$]).pipe(Ht(0),P(([e,i])=>e.map(o=>{let l=i[o.progress];return jt(Ut({},o),{progress:l})})))}static{this.\u0275fac=function(i){return new(i||t)(u(ze),u(Je))}}static{this.\u0275prov=b({token:t,factory:t.\u0275fac})}}return t})();var ii=mt(vt());var Rt=(()=>{class t extends et{selectComponent(e){return this.site.components$.pipe(we,P(i=>(0,ii.find)(i,o=>o.pageGuid===e)))}selectSocialNetworks(){return this.site.socialMediaNetworks$}selectSocialFeedPosts(){return null}loadMoreFeeds(){}selectIsSubmitting(e){return Bt(!1)}paymentDone(e){}action(e,i){switch(e){case Pt.SIGN_IN:this.accountService.openSignInDialogAction();break;case Pt.START_APPLICATION:this.startApplication.openStartApplicationDialog();break}}playVideo(e){this.mediaService.playVideo(e)}openImage(e){this.mediaService.openImage(e)}startThread(e){let i=fe();i.Shell451?.BoltDiscovery&&e.length&&i.Shell451.BoltDiscovery.ask(e)}constructor(e,i,o,l){super(),this.mediaService=e,this.accountService=i,this.startApplication=o,this.site=l}static{this.\u0275fac=function(i){return new(i||t)(u(N),u(I),u(at),u(nt))}}static{this.\u0275prov=b({token:t,factory:t.\u0275fac})}}return t})();var Ji=t=>({firstName:t}),Yi=()=>[],Zi=t=>["dashboard",t];function to(t,r){if(t&1&&(a(0,"p",2),c(1),s()),t&2){let e=p(3).$implicit;n(),D(" ",e("yourApplications")," ")}}function eo(t,r){if(t&1&&x(0,"button",4),t&2){let e=r.$implicit;m("application",e)("routerLink",U(2,Zi,e.registration_id))}}function io(t,r){t&1&&(a(0,"p",5),c(1),s()),t&2&&(n(),S(r))}function oo(t,r){if(t&1){let e=oe();a(0,"p",6),c(1),s(),a(2,"button",7),W("click",function(){qt(e);let o=p(4);return Wt(o.onStartApplication())}),a(3,"span",8),c(4),s()()}if(t&2){let e=p(3).$implicit;n(),S(e("startNewApplication")),n(3),S(e("startNewApplicationBtn"))}}function no(t,r){if(t&1&&(a(0,"h1",1),c(1),s(),v(2,to,2,1,"p",2),a(3,"elm-app-application-list",3),z(4,eo,1,4,"button",4,Zt().trackByApplication,!0),s(),v(6,io,2,1,"p",5),v(7,oo,5,2)),t&2){let e;p();let i=F(3),o=F(5),l=F(7),L=F(9),ni=p().$implicit,ri=p();n(),S(ni("welcomeBack",U(5,Ji,i))),n(),y(o?2:-1),n(),m("labelledById",o?"current-apps-heading":null),n(),q(l??ae(7,Yi)),n(2),y((e=L)?6:-1,e),n(),y(ri.row.elements.startApplicationAfterLogin!==!1?7:-1)}}function ro(t,r){if(t&1&&(a(0,"elm-progress-spinner",9)(1,"p",11),c(2),s()()),t&2){let e=p(3).$implicit;m("ariaLabel",e("loadingApplications")),n(2),S(e("loading"))}}function ao(t,r){if(t&1&&x(0,"elm-empty-state",10),t&2){let e=p(3).$implicit;m("title",e("error.title"))("message",e("error.message"))}}function so(t,r){if(t&1&&v(0,ro,3,2,"elm-progress-spinner",9)(1,ao,1,2,"elm-empty-state",10),t&2){p();let e=F(11);y(e?0:1)}}function lo(t,r){if(t&1&&(a(0,"elm-app-action-card"),T(1),d(2,"async"),T(3),d(4,"async"),T(5),d(6,"async"),T(7),d(8,"async"),T(9),d(10,"async"),T(11),d(12,"async"),v(13,no,8,8)(14,so,2,1),s()),t&2){let e=p(2),i=h(2,1,e.loaded$);n(3),k(h(4,3,e.firstName$)),n(2),k(h(6,6,e.hasApplications$)),n(2),k(h(8,9,e.list$)),n(2),k(h(10,12,e.applicationRegistrationErrorMessage$)),n(2),k(h(12,15,e.loading$)),n(2),y(i?13:14)}}function po(t,r){if(t&1&&(te(0),v(1,lo,15,18,"elm-app-action-card"),ee()),t&2){let e=p();n(),y(e.row.elements.applicationsPanel!==!1?1:-1)}}var Ot=(()=>{class t{constructor(e,i,o,l){this.startApplication=e,this.applicationList=i,this.userData=o,this.accountService=l,this.loading$=this.applicationList.loading$,this.loaded$=this.applicationList.loaded$,this.list$=this.applicationList.list$.pipe(P(L=>mo(L))),this.hasApplications$=this.list$.pipe(P(L=>L.length>0)),this.firstName$=this.userData.userPropertiesFromData$.pipe(P(L=>L.first_name)),this.applicationRegistrationErrorMessage$=this.accountService.applicationRegistrationErrorMessage$}trackByApplication(e,i){return i.guid}onStartApplication(){this.startApplication.openStartApplicationDialog()}static{this.\u0275fac=function(i){return new(i||t)(A(at),A(B),A(rt),A(I))}}static{this.\u0275cmp=C({type:t,selectors:[["elm-app-applications-panel"]],inputs:{row:"row"},standalone:!1,decls:1,vars:1,consts:[[4,"transloco","translocoRead"],[1,"elm-app-action-title","elm-spacing-m"],["id","current-apps-heading",1,"elm-app451-body-1","elm-spacing-l","current-applications"],[1,"elm-spacing-l",3,"labelledById"],["type","button","elm-app-application-list-item","",3,"application","routerLink"],[1,"elm-fg
5-warn"],[1,"elm-app451-body-1","elm-spacing-l"],["type","button",1,"elm-app451-btn-wide-xl","elm-dynamic-bg-primary",3,"click"],["ngClass.xs","elm-app451-btn-label-l","ngClass.gt-xs","elm-app451-btn-label-xl"],["mode","indeterminate","size","x-large",3,"ariaLabel"],["icon","report-problem-triangle",3,"title","message"],[1,"elm-app451-body-1","elm-no-margin"]],template:function(i,o){i&1&&H(0,po,2,1,"ng-container",0),i&2&&m("translocoRead","applicationsPanel")},dependencies:[me,De,ve,wt,V,Ge,st,It,Lt,R],styles:[`[_nghost-%COMP%] .elm-app-action-title[_ngcontent-%COMP%]{font-family:Source Sans Pro,sans-serif;font-weight:400;margin:0 0 1rem;color:#424242}@media(min-width:320px){[_nghost-%COMP%] .elm-app-action-title[_ngcontent-%COMP%]{font-size:1.25rem;line-height:150%}}@media(min-width:1024px){[_nghost-%COMP%] .elm-app-action-title[_ngcontent-%COMP%]{font-size:1.5rem;line-height:129%}}[_nghost-%COMP%] .elm-app-action-title[_ngcontent-%COMP%]{font-size:24px;font-weight:700}[_nghost-%COMP%] .current-applications[_ngcontent-%COMP%]{font-weight:700}[_nghost-%COMP%] .elm-fg-warn[_ngcontent-%COMP%]{margin-bottom:10px} 6/*# sourceMappingURL=applications-panel.component-UKQB7CHE.css.map */`],changeDetection:0})}}return t})(),co=(t,r)=>Ee(t.registered_at,r.registered_at),mo=_e(co);var Vt=(()=>{class t{constructor(e,i){this.accountService=e,this.userData=i,this.userData$=this.userData.userPropertiesFromData$}logout(){this.accountService.logout()}static{this.\u0275fac=function(i){return new(i||t)(A(I),A(rt))}}static{this.\u0275cmp=C({type:t,selectors:[["elm-app-application-header"]],standalone:!1,decls:5,vars:5,consts:[["fxFlex","1 1 auto","fxLayoutAlign","end center"],[1,"elm-app451-btn","elm-dynamic-bg-primary",3,"logout"]],template:function(i,o){i&1&&(a(0,"div",0)(1,"elm-app-user-actions",1),W("logout",function(){return o.logout()}),c(2),d(3,"async"),d(4,"elmUserShortName"),s()()),i&2&&(n(2),D(" ",h(4,3,h(3,1,o.userData$))," "))},dependencies:[Q,K,Ye,R,Re],styles:[`[_nghost-%COMP%]{flex:1} 7/*# sourceMappingURL=application-header.component-7O4C4KFC.css.map */`],changeDetection:0})}}return t})();var ho=["headerTmpl"],go=["panelTmpl"],vo=(t,r)=>r.pageGuid;function yo(t,r){if(t&1&&(a(0,"div"),ie(1,3),s()),t&2){let e=r.$implicit,i=e.anchor?e.anchor.substring(1):null;M("id",i)("name",i),n(),m("type",e.type)("rowId",e.pageGuid)}}function xo(t,r){t&1&&x(0,"elm-app-application-header")}function Co(t,r){if(t&1&&x(0,"elm-app-applications-panel",4),t&2){let e=r.$implicit;m("row",e)}}var $t=(()=>{class t{constructor(){this.site=f(nt),this.accountService=f(I),this.layoutProxy=f(bt),this.platform=f(Ae),this.fontService=f(ct),this.fontExtractor=f(Y),this.components$=this.site.components$}ngOnInit(){this.layoutProxy.headerTplRef=this.headerTmpl,this.layoutProxy.mainTplRef=this.panelTmpl,this.layoutProxy.showTemplates$=this.accountService.isAuthorized$,this.platform.isBrowser&&this.components$.pipe(zt(1),P(e=>this.fontExtractor.extract(e,Be))).subscribe(e=>this.fontService.loadFonts(e))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=C({type:t,selectors:[["elm-app-home"]],viewQuery:function(i,o){if(i&1&&ne(ho,7)(go,7),i&2){let l;dt(l=ut())&&(o.headerTmpl=l.first),dt(l=ut())&&(o.panelTmpl=l.first)}},standalone:!1,decls:8,vars:2,consts:[["headerTmpl",""],["panelTmpl",""],["id","main-content","role","main"],["elmEditorRow","",3,"type","rowId"],[3,"row"]],template:function(i,o){i&1&&(a(0,"main",2),z(1,yo,2,4,"div",null,vo),d(3,"async"),s(),H(4,xo,1,0,"ng-template",null,0,ht)(6,Co,1,1,"ng-template",null,1,ht)),i&2&&(n(),q(h(3,0,o.components$)))},dependencies:[st,je,Ot,Vt,R],encapsulation:2,changeDetection:0})}}return t})();var _o=[{path:"",component:$t}],Ps=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=E({type:t})}static{this.\u0275inj=w({providers:[{provide:J,useClass:kt},B,Y],imports:[O,de.forChild(_o),Le,xe,Dt,At,Et,ot,Ke,He,Qe,Ze,ti.forRoot({smooth:!0}),Ve,Te.staticMode(),tt.forRoot(),Ne.withProxy(Rt)]})}}return t})();export{Ps as HomeModule,_o as routes};
8//# sourceMappingURL=chunk-RQ7ICB4E.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.