1import{d as S}from"./chunk-PNH4G6TM.js";import{a as m}from"./chunk-VS2XX4GB.js";import{ja as i}from"./chunk-C55TKV2F.js";import{g as s}from"./chunk-BKJYAXEP.js";import{Ab as u,Bb as C,Ib as v,Qa as p,Wa as f,_ as d,bb as h,ca as r,pb as a}from"./chunk-BBHRWD7Y.js";import{j as l}from"./chunk-NH6WU2X2.js";var E=(()=>{class e{constructor(o){this.modalCtrl=o,this.isReady=!1}ngOnInit(){setTimeout(()=>{this.isReady=!0})}ionModalDidPresent(){alert("run always")}onSubmitClicked(o){this.modalCtrl.dismiss(null,null,"enrollment-wizard")}static{this.\u0275fac=function(n){return new(n||e)(f(i))}}static{this.\u0275cmp=h({type:e,selectors:[["enrollment-wizard-modal"]],inputs:{modalTitle:"modalTitle"},standalone:!1,decls:2,vars:2,consts:[[3,"headerTitle"],[3,"onSubmit","isModal"]],template:function(n,c){n&1&&(u(0,"ion-ahs-modal",0)(1,"nx-ahs-enrollment-wizard",1),v("onSubmit",function(T){return c.onSubmitClicked(T)}),C()()),n&2&&(a("headerTitle",c.modalTitle),p(),a("isModal",!0))},encapsulation:2})}}return e})();var k=(()=>{class EnrollmentService{constructor(e,t,o){this.ahsTranslationService=e,this.appCoreService=t,this.modalCtrl=o}loadClientConfig(){return this.clientConfig=this.appCoreService?.clientConfig?.myEnrollment,this.clientConfig}getNewEnrollmentWizardModal(){return l(this,null,function*(){let e=this.ahsTranslationService.translate.instant("PLANCHANGE_TITLE"),t={component:E,cssClass:"ion-ahs-modal",componentProps:{modalTitle:e},backdropDismiss:!1,id:"enrollment-wizard"};return yield this.modalCtrl.create(t)})}openProviderSearchModal(e){return l(this,null,function*(){let t=yield this.modalCtrl.create({component:S,componentProps:e,cssClass:"ion-ahs-modal",backdropDismiss:!1,id:"provider-search"});return yield t.present(),t.onWillDismiss()})}atLeastOneEligibleParticipant(accountPeople,eligibilityFilter){return accountPeople?.filter(eval(eligibilityFilter))?.length>0}static{this.\u0275fac=function(t){return new(t||EnrollmentService)(r(s),r(m),r(i))}}static{this.\u0275prov=d({token:EnrollmentService,factory:EnrollmentService.\u0275fac,providedIn:"root"})}}return EnrollmentService})();export{E as a,k as b};
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.