1import{a as H}from"./chunk-53DFMI4H.js";import"./chunk-UGRAQKCW.js";import{a as U,b as W}from"./chunk-LYR3GF7E.js";import"./chunk-SHMKMMN7.js";import"./chunk-6QAD46IL.js";import"./chunk-TIHEPFUO.js";import"./chunk-G32ENISF.js";import"./chunk-6BCRMTVV.js";import"./chunk-J52NGIRF.js";import"./chunk-A6JQYPVB.js";import"./chunk-ZCMQ4B5U.js";import"./chunk-MY66RCON.js";import"./chunk-4YEGU4S2.js";import{$e as N,Af as $,B as _,C as f,Dc as V,Hf as z,Ja as d,Jb as P,Kc as j,L as o,La as s,M as k,P as b,Q as v,R as g,V as M,aa as A,ba as D,ca as B,da as a,e as x,ea as r,fa as p,fk as L,ga as I,ka as y,la as c,lc as R,ma as l,nc as F,pb as E,qd as O,sf as q,td as G,va as m,wa as w,xa as S,y as C}from"./chunk-XSMR3WEO.js";import"./chunk-VT6LHVQK.js";var J=(()=>{class e{constructor(){this.buttonClicked=new k}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=v({type:e,selectors:[["app-add-event-button"]],inputs:{label:"label",inputId:"inputId"},outputs:{buttonClicked:"buttonClicked"},standalone:!1,decls:6,vars:2,consts:[["appearance","outlined","tabindex","0","role","button","aria-pressed","false",1,"mat-elevation-z2",3,"click","keyup.enter","keyup.space","id"],[1,"row","vertical-align-items-center"],[1,"content-right-spacing-sm"]],template:function(i,n){i&1&&(r(0,"mat-card",0),c("click",function(){return n.buttonClicked.emit()})("keyup.enter",function(){return n.buttonClicked.emit()})("keyup.space",function(){return n.buttonClicked.emit()}),r(1,"mat-card-content")(2,"div",1)(3,"mat-icon",2),m(4,"person_add"),p(),m(5),p()()()),i&2&&(a("id",n.inputId),o(5),S(" ",n.label," "))},dependencies:[R,F,j],styles:[".mat-mdc-card[_ngcontent-%COMP%]{border:2px solid #1565c0;color:#1565c0;margin-bottom:32px;max-width:600px;cursor:pointer}.mat-mdc-card[_ngcontent-%COMP%]:hover, .mat-card[_ngcontent-%COMP%]:focus{background-color:#f5f5f5}"]})}}return e})();function Y(e,h){if(e&1){let t=y();r(0,"div")(1,"app-add-event-button",4),d(2,"constants"),c("buttonClicked",function(){let n=_(t).$implicit,u=l(2);return f(u.launchDirectBillingParticipant(n))}),p()()}if(e&2){let t=h.$implicit,i=h.$index;o(),a("inputId","add_direct_bill_event_"+i)("label","Add "+t.name+" "+s(2,2,"event","createParticipant"))}}function Z(e,h){if(e&1){let t=y();r(0,"div",2)(1,"h1"),m(2),d(3,"constants"),p(),I(4,"alert",3),r(5,"app-add-event-button",4),c("buttonClicked",function(){_(t);let n=l();return f(n.launchAddEmployee())}),p(),r(6,"app-add-event-button",4),d(7,"constants"),d(8,"constants"),c("buttonClicked",function(){_(t);let n=l();return f(n.launchAddCOBRAParticipant())}),p(),r(9,"app-get-response-loading",5,0),d(11,"constants"),d(12,"constants"),D(13,Y,3,5,"div",null,A),p()()}if(e&2){let t=l();o(2),w(s(3,10,"dashboardMenu","coreComponents")),o(2),a("id",t.alertId),o(),a("inputId","add_new_hire")("label","Add New Hire"),o(),a("inputId","add_cobra_event")("label","Add "+s(7,13,"cobraTitle","participantCoverage")+" "+s(8,16,"event","createParticipant")),o(3),a("handleSuccess",t.onSuccess)("sendGetRequest",t.sendGetRequest)("loadingMessage",s(11,19,"detailsLoading","coverageTypes"))("errorTitle",s(12,22,"errorLoadingTitle","coverageTypes")),o(4),B(t.coverageTypes)}}var K=(()=>{class e{constructor(t,i){this.coverageTypesService=t,this.dialog=i,this.Claim=q,this.alertId=$.form.modalSuccessAlertId,this.sendGetRequest=()=>this.coverageTypesService.getCoverageTypes?this.coverageTypesService.getCoverageTypes():x([]),this.onSuccess=n=>{this.coverageTypes=n}}launchAddEmployee(){let t={disableClose:!0,autoFocus:!1,width:"850px"};this.dialog.open(H,t)}launchAddCOBRAParticipant(){let t={disableClose:!0,autoFocus:!1,panelClass:"max-dialog-container"};this.dialog.open(U,t)}launchDirectBillingParticipant(t){let i={disableClose:!0,autoFocus:!1,panelClass:"max-dialog-container",data:{coverageType:t}};this.dialog.open(W,i)}static{this.\u0275fac=function(i){return new(i||e)(b(N),b(V))}}static{this.\u0275cmp=v({type:e,selectors:[["app-employer-dashboard"]],standalone:!1,decls:1,vars:1,consts:[["responseComponent",""],["class","container-content-edit",4,"hasUserClaim"],[1,"container-content-edit"],[3,"id"],[3,"buttonClicked","inputId","label"],[3,"handleSuccess","sendGetRequest","loadingMessage","errorTitle"]],template:function(i,n){i&1&&M(0,Z,15,25,"div",1),i&2&&a("hasUserClaim",n.Claim.CreateAndDeleteCobraParticipants)},dependencies:[P,O,G,J,z],encapsulation:2})}}return e})();var ee=[{path:"",pathMatch:"full",component:K}],Q=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=g({type:e})}static{this.\u0275inj=C({imports:[E.forChild(ee),E]})}}return e})();var De=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=g({type:e})}static{this.\u0275inj=C({imports:[Q,L]})}}return e})();export{De as DashboardModule};
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.