PageSourceSearch

https://qmservicesinc.com/src_components_enrollment-waiver_module_ts.b43874a73560094b.js

js qmservicesinc.com collected 2026-10-08 20:51:32 UTC 48,750 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkstudent_web=self.webpackChunkstudent_web||[]).push([["src_components_enrollment-waiver_module_ts"],{198:(Te,F,p)=>{p.r(F),p.d(F,{EnrollmentWaiverModule:()=>Ee});var e=p(4945),E=p(2476),N=p(5258),y=p(5981),P=p(6388),f=p(6777),v=p(467),a=p(6898);var k=p(5913),b=p(1811),m=p(6278),g=(()=>{return(i=g||(g={})).Label="Label",i.TextBox="TextBox",i.RadioButton="RadioButton",i.YesNo="YesNo",i.DropDown="DropDown",i.Image="Image",g;var i})(),U=p(1481),R=p(9609),w=p(5069),G=p(9252);function x(i,l){if(1&i&&(e.j41(0,"div")(1,"div",11),e.nrm(2,"h2",12),e.nI1(3,"sanitizeHtml"),e.nrm(4,"web-tooltip",13),e.k0s()()),2&i){const o=e.XpG(2).$implicit;e.R7$(2),e.Y8G("innerHTML",e.bMT(3,2,o.QuestionText),e.npT),e.R7$(2),e.Y8G("questionId",o.QuestionID)}}function A(i,l){if(1&i){const o=e.RV6();e.j41(0,"div")(1,"input",16),e.bIt("keypress",function(n){e.eBV(o);const r=e.XpG(3).$implicit,c=e.XpG(2);return e.Njj(c.onTextInputKeyPress(n,r))}),e.k0s(),e.nrm(2,"web-tooltip",17),e.k0s()}if(2&i){const o=e.XpG(3).$implicit,t=e.XpG(2);e.HbH("phone"===t.getMaskingClass(o)?"placeholderContent":""),e.R7$(1),e.ZvI("form-control ",t.getMaskingClass(o),""),e.Y8G("maxlength",t.getMaxLength(o))("formControlName",o.MapFieldName)("id",o.MapFieldName)("placeholder",o.QuestionText),e.R7$(1),e.Y8G("questionId",o.QuestionID)}}function Q(i,l){if(1&i&&e.nrm(0,"web-validation-message",18),2&i){const o=e.XpG(3).$implicit,t=e.XpG(2);e.Y8G("control",t.form.controls[o.MapFieldName])("message",o.validation?o.validation.ValidationMessage:t.requiredText)}}function B(i,l){if(1&i){const o=e.RV6();e.j41(0,"div")(1,"input",19),e.bIt("focusout",function(n){e.eBV(o);const r=e.XpG(4).$implicit,c=e.XpG(2);return e.Njj(c.dateFocusOut(n,r))})("ngModelChange",function(n){e.eBV(o);const r=e.XpG(4).$implicit,c=e.XpG(2);return e.Njj(c.dateChange(n,r))}),e.k0s(),e.nrm(2,"web-tooltip",17)(3,"web-validation-message",18),e.k0s()}if(2&i){const o=e.XpG(4).$implicit,t=e.XpG(2);e.R7$(1),e.Y8G("formControlName",o.MapFieldName)("placeholder",o.QuestionText)("maxlength",10),e.R7$(1),e.Y8G("questionId",o.QuestionID),e.R7$(1),e.Y8G("control",t.form.controls[o.MapFieldName])("message",t.requiredText)}}function $(i,l){if(1&i&&(e.j41(0,"div"),e.nrm(1,"input",20),e.k0s()),2&i){const o=e.XpG(4).$implicit;e.R7$(1),e.Y8G("formControlName",o.MapFieldName)("id",o.MapFieldName)}}function j(i,l){if(1&i&&(e.j41(0,"div"),e.DNE(1,B,4,6,"div",8),e.DNE(2,$,2,2,"div",8),e.k0s()),2&i){const o=e.XpG(3).$implicit;e.R7$(1),e.Y8G("ngIf",33!==o.QuestionID),e.R7$(1),e.Y8G("ngIf",33===o.QuestionID)}}function Y(i,l){if(1&i&&(e.j41(0,"div"),e.DNE(1,A,3,11,"div",14),e.DNE(2,Q,1,2,"web-validation-message",15),e.DNE(3,j,3,2,"div",8),e.k0s()),2&i){const o=e.XpG(2).$implicit;e.R7$(1),e.Y8G("ngIf","Date"!==o.QuestionValidation),e.R7$(1),e.Y8G("ngIf","Date"!==o.QuestionValidation&&(o.Required||o.validation)),e.R7$(1),e.Y8G("ngIf","Date"===o.QuestionValidation)}}function V(i,l){if(1&i&&(e.j41(0,"dd",25),e.EFF(1),e.k0s()),2&i){const o=e.XpG(3).$implicit;e.R7$(1),e.SpI(" ",o.QuestionText," ")}}function W(i,l){if(1&i&&(e.j41(0,"div",26),e.nrm(1,"input",27),e.j41(2,"label",28),e.EFF(3),e.k0s()()),2&i){const o=l.$implicit,t=e.XpG(3).$implicit;e.R7$(1),e.Y8G("name",t.MapFieldName)("value",o.AnswerCode)("formControlName",t.MapFieldName)("id",o.AnswerListID),e.R7$(1),e.FS9("for",o.AnswerListID),e.R7$(1),e.SpI("",o.AnswerListDescription," ")}}function L(i,l){if(1&i&&e.nrm(0,"web-validation-message",18),2&i){const o=e.XpG(3).$implicit,t=e.XpG(2);e.Y8G("control",t.form.controls[o.MapFieldName])("message",o.validation?o.validation.ValidationMessage:t.requiredText)}}function X(i,l){if(1&i&&(e.j41(0,"div")(1,"dl",21),e.DNE(2,V,2,1,"dd",22),e.j41(3,"dt",23),e.DNE(4,W,4,6,"div",24),e.DNE(5,L,1,2,"web-validation-message",15),e.k0s()()()),2&i){const o=e.XpG(2).$implicit,t=e.XpG(2);e.R7$(2),e.Y8G("ngIf",82!==o.QuestionID),e.R7$(2),e.Y8G("ngForOf",o.options)("ngForTrackBy",t.trackByOptionIndex),e.R7$(1),e.Y8G("ngIf",o.Required||o.validation)}}function q(i,l){if(1&i&&(e.nrm(0,"dd",31),e.nI1(1,"sanitizeHtml")),2&i){const o=e.XpG(3).$implicit;e.Y8G("innerHtml",e.bMT(1,1,o.QuestionText),e.npT)}}function K(i,l){if(1&i){const o=e.RV6();e.j41(0,"div",26)(1,"input",32),e.bIt("change",function(){const r=e.eBV(o).index,c=e.XpG(3).$implicit,s=e.XpG(2);return e.Njj(s.onInsStateClicked(c,r-1))}),e.k0s(),e.j41(2,"label",28),e.EFF(3),e.k0s()()}if(2&i){const o=l.$implicit,t=e.XpG(3).$implicit;e.R7$(1),e.Y8G("name",t.MapFieldName)("value",o.AnswerCode)("formControlName",t.MapFieldName)("id",o.AnswerListID+""+t.QuestionID),e.R7$(1),e.FS9("for",o.AnswerListID+""+t.QuestionID),e.R7$(1),e.SpI("",o.AnswerListDescription," ")}}function z(i,l){if(1&i&&e.nrm(0,"web-validation-message",18),2&i){const o=e.XpG(3).$implicit,t=e.XpG(2);e.Y8G("control",t.form.controls[o.MapFieldName])("message",o.validation?o.validation.ValidationMessage:t.requiredText)}}function J(i,l){if(1&i&&(e.j41(0,"div")(1,"dl",21),e.DNE(2,q,2,3,"dd",29),e.j41(3,"dt",30),e.DNE(4,K,4,6,"div",24),e.DNE(
15,z,1,2,"web-validation-message",15),e.k0s()()()),2&i){const o=e.XpG(2).$implicit,t=e.XpG(2);e.R7$(2),e.Y8G("ngIf",82!==o.QuestionID),e.R7$(2),e.Y8G("ngForOf",o.options)("ngForTrackBy",t.trackByOptionIndex),e.R7$(1),e.Y8G("ngIf",o.Required||o.validation)}}function Z(i,l){if(1&i&&(e.j41(0,"option",38),e.EFF(1),e.k0s()),2&i){const o=l.$implicit;e.Y8G("value",o.AnswerCode),e.R7$(1),e.SpI(" ",o.AnswerListDescription," ")}}function H(i,l){if(1&i&&e.nrm(0,"web-validation-message",18),2&i){const o=e.XpG(3).$implicit,t=e.XpG(2);e.Y8G("control",t.form.controls[o.MapFieldName])("message",o.validation?o.validation.ValidationMessage:t.requiredText)}}function ee(i,l){if(1&i){const o=e.RV6();e.j41(0,"div")(1,"div",33)(2,"select",34),e.bIt("change",function(){e.eBV(o);const n=e.XpG(2).$implicit,r=e.XpG(2);return e.Njj(r.onInsStateClicked(n,"insco"))}),e.j41(3,"option",35),e.EFF(4),e.k0s(),e.DNE(5,Z,2,2,"option",36),e.k0s(),e.nrm(6,"web-tooltip",37),e.k0s(),e.DNE(7,H,1,2,"web-validation-message",15),e.k0s()}if(2&i){const o=e.XpG(2).$implicit,t=e.XpG(2);e.R7$(2),e.Y8G("formControlName",o.MapFieldName),e.R7$(1),e.Y8G("ngValue",null),e.R7$(1),e.JRh(o.QuestionText),e.R7$(1),e.Y8G("ngForOf",o.options)("ngForTrackBy",t.trackByOptionIndex),e.R7$(1),e.Y8G("questionId",o.QuestionID),e.R7$(1),e.Y8G("ngIf",o.Required||o.validation)}}function te(i,l){if(1&i&&e.nrm(0,"web-validation-message",18),2&i){const o=e.XpG(3).$implicit,t=e.XpG(2);e.Y8G("control",t.form.controls[o.MapFieldName])("message",o.validation?o.validation.ValidationMessage:t.requiredText)}}function ne(i,l){if(1&i){const o=e.RV6();e.j41(0,"div")(1,"div",39)(2,"div",40)(3,"div",41)(4,"div",42)(5,"div",43)(6,"label",44),e.EFF(7,"Front of ID Card: "),e.k0s()(),e.j41(8,"div",45)(9,"button",46),e.bIt("click",function(){e.eBV(o);const n=e.sdS(12);return e.Njj(n.click())}),e.EFF(10),e.k0s(),e.j41(11,"input",47,48),e.bIt("change",function(n){e.eBV(o);const r=e.XpG(4);return e.Njj(r.onUploadFileFrontChange(n))}),e.k0s(),e.EFF(13," \xa0 "),e.j41(14,"button",49),e.bIt("click",function(){e.eBV(o);const n=e.XpG(4);return e.Njj(n.onUploadFileFront())}),e.EFF(15," Upload "),e.k0s()()()()()(),e.nrm(16,"br"),e.j41(17,"div",39)(18,"div",40)(19,"div",41)(20,"div",42)(21,"div",43)(22,"label",50),e.EFF(23,"Back of ID Card: "),e.k0s()(),e.j41(24,"div",45)(25,"button",46),e.bIt("click",function(){e.eBV(o);const n=e.sdS(28);return e.Njj(n.click())}),e.EFF(26),e.k0s(),e.j41(27,"input",51,52),e.bIt("change",function(n){e.eBV(o);const r=e.XpG(4);return e.Njj(r.onUploadFileBackChange(n))}),e.k0s(),e.EFF(29," \xa0 "),e.j41(30,"button",49),e.bIt("click",function(){e.eBV(o);const n=e.XpG(4);return e.Njj(n.onUploadFileBack())}),e.EFF(31," Upload "),e.k0s()()()()()(),e.DNE(32,te,1,2,"web-validation-message",15),e.k0s()}if(2&i){const o=e.XpG(2).$implicit,t=e.XpG(2);let n,r;e.R7$(9),e.Y8G("ngClass",t.frontIdCardUploaded||t.idCardFrontToUpload?"btn btn-light btn-lg":"btn btn-default btn-lg")("disabled",t.frontIdCardUploaded),e.R7$(1),e.SpI(" ",t.frontIdCardUploaded?"Upload complete!":null!==(n=null==t.idCardFrontToUpload?null:t.idCardFrontToUpload.name)&&void 0!==n?n:"Choose File"," "),e.R7$(4),e.Y8G("disabled",!t.idCardFrontToUpload||t.frontIdCardUploaded)("webLoading",t.isUploadingFront),e.R7$(11),e.Y8G("ngClass",t.backIdCardUploaded||t.idCardBackToUpload?"btn btn-light btn-lg":"btn btn-default btn-lg")("disabled",t.backIdCardUploaded),e.R7$(1),e.SpI(" ",t.backIdCardUploaded?"Upload complete!":null!==(r=null==t.idCardBackToUpload?null:t.idCardBackToUpload.name)&&void 0!==r?r:"Choose File"," "),e.R7$(4),e.Y8G("disabled",!t.idCardBackToUpload||t.backIdCardUploaded)("webLoading",t.isUploadingBack),e.R7$(2),e.Y8G("ngIf",o.Required||o.validation)}}function ie(i,l){if(1&i&&(e.qex(0),e.j41(1,"div",9),e.DNE(2,x,5,4,"div",10),e.DNE(3,Y,4,3,"div",10),e.DNE(4,X,6,4,"div",10),e.DNE(5,J,6,4,"div",10),e.DNE(6,ee,8,7,"div",10),e.DNE(7,ne,33,11,"div",10),e.k0s(),e.bVm()),2&i){const o=e.XpG().$implicit,t=e.XpG(2);e.R7$(1),e.Y8G("ngSwitch",o.QuestionControl),e.R7$(1),e.Y8G("ngSwitchCase",t.QuestionControl.Label),e.R7$(1),e.Y8G("ngSwitchCase",t.QuestionControl.TextBox),e.R7$(1),e.Y8G("ngSwitchCase",t.QuestionControl.RadioButton),e.R7$(1),e.Y8G("ngSwitchCase",t.QuestionControl.YesNo),e.R7$(1),e.Y8G("ngSwitchCase",t.QuestionControl.DropDown),e.R7$(1),e.Y8G("ngSwitchCase",t.QuestionControl.Image)}}function oe(i,l){if(1&i&&(e.j41(0,"div"),e.DNE(1,ie,8,7,"ng-container",8),e.k0s()),2&i){const o=l.$implicit,t=e.XpG().$implicit,n=e.XpG();e.ZvI("form-group ",n.getColumnClass(t.length),""),e.R7$(1),e.Y8G("ngIf",n.showInsuranceInfo||!(92===o.QuestionID||127===o.QuestionID||128===o.QuestionID||178===o.QuestionID||517===o.QuestionID||212===o.QuestionID||447===o.QuestionID))}}function re(i,l){if(1&i&&(e.j41(0,"div",6),e.DNE(1,oe,2,4,"div",7),e.k0s()),2&i){const o=l.$implicit,t=e.XpG();e.R7$(1),e.Y8G("ngForOf",o)("ngForTrackBy",t.trackByQuestionId)}}function ae(i,l){if(1&i){const o=e.RV6();e.j41(0,"button",53),e.bIt("click",function(){e.eBV(o);const n=e.XpG();return e.Njj(n.onBackButtonClicked())}),e.EFF(1," Back "),e.k0s()}}
1function se(i,l){if(1&i&&(e.j41(0,"button",54),e.EFF(1," Continue "),e.k0s()),2&i){const o=e.XpG();e.Y8G("webLoading",o.isSubmitting)}}const le=function(i){return[i]};function de(i,l){if(1&i&&(e.j41(0,"button",55),e.EFF(1," Enroll "),e.k0s()),2&i){const o=e.XpG();e.Y8G("routerLink",e.eq3(1,le,"/student-enrollment/"+o.slug))}}const ce=function(){return["/profile"]};function ue(i,l){1&i&&(e.j41(0,"button",55),e.EFF(1," Return to Profile "),e.k0s()),2&i&&e.Y8G("routerLink",e.lJ4(1,ce))}let M=(()=>{const l=class{constructor(t){this.notificationService=t,this.isSubmitting=!1,this.isUploadingFront=!1,this.isUploadingBack=!1,this.submitForm=new e.bkB,this.idCardFileUpload=new e.bkB,this.backClick=new e.bkB,this.showInsuranceInfo=!1,this.requiredText="Required",this.questionnaireAnswers=[],this.QuestionControl=g}get isWHMO(){return this.currentStep===a.op.WaiveHMO}get isWaiveCoverage(){return this.currentStep===a.op.WaiveMedicaid}get isWaiveInsuranceInfo1(){return this.currentStep===a.op.WaiveInsuranceInfo1}get medicaid3OOSDeniedORIncompleteTitle(){return this.currentStep===a.op.WaiveMedicaidOutOfState&&(this.dataObject.
1some(t=>"Denied Title"===t.QuestionShortName)||this.dataObject.some(t=>"Incomplete Title"===t.QuestionShortName))}get medicaid3OOSIncompleteTitle(){return this.currentStep===a.op.WaiveMedicaidOutOfState&&this.dataObject.some(t=>"Incomplete Title"===t.QuestionShortName)}onBackButtonClicked(){this.backClick.emit()}onUploadFileFrontChange({target:t}){!t.files||0===t.files.length||(this.idCardFrontToUpload=t.files[0])}onUploadFileFront(){if(!this.idCardFrontToUpload)return void this.notificationService.showError("Please select a file to upload.",2e3);const t=`.${this.idCardFrontToUpload.name.split(".").pop()}`;this.validateFileType(t)?(this.idCardFrontToUpload=new File([this.idCardFrontToUpload],`${this.student.StudID}_IDCardFront_Waiver_${this.getDateString()}${t}`),this.idCardFileUpload.emit({fileTitle:a.U5.FrontOfIdCard,files:[this.idCardFrontToUpload?this.idCardFrontToUpload:null],fileTypeID:5})):this.notificationService.showError("The uploaded type of file was not accepted. Please try a different file type.",2e3)}onUploadFileBackChange({target:t}){!t.files||0===t.files.length||(this.idCardBackToUpload=t.files[0])}onUploadFileBack(){if(!this.idCardBackToUpload)return void this.notificationService.showError("Please select a file to upload.",2e3);const t=`.${this.idCardBackToUpload.name.split(".").pop()}`;this.validateFileType(t)?(this.idCardBackToUpload=new File([this.idCardBackToUpload],`${this.student.StudID}_IDCardBack_Waiver_${this.getDateString()}${t}`),this.idCardFileUpload.emit({fileTitle:a.U5.BackOfIdCard,files:[this.idCardBackToUpload?this.idCardBackToUpload:null],fileTypeID:5})):this.notificationService.showError("The uploaded type of file was not accepted. Please try a different file type.",2e3)}getDateString(){const t=new Date,n=t.getMilliseconds().toString().padStart(3,"0");return(t.getMonth()>8?(t.getMonth()+1).toString():"0"+(t.getMonth()+1).toString())+(t.getDate()>9?t.getDate().toString():("0"+t.getDate()).toString())+t.getFullYear().toString()+(t.getHours()>9?t.getHours().toString():("0"+t.getHours()).toString())+(t.getMinutes()>9?t.getMinutes().toString():("0"+t.getMinutes()).toString())+(t.getSeconds()>9?t.getSeconds().toString():("0"+t.getSeconds()).toString())+n}validateFileType(t){return!a.cW.includes(t.toLocaleLowerCase())}trackByOuterIndex(t){return t}trackByQuestionId(t,n){return n.QuestionID}trackByOptionIndex(t){return t}onSubmit(){if(this.form.markAllAsTouched(),this.form.valid){for(const t of this.questionnaireAnswers)t.QuestionControl!==g.DropDown&&t.QuestionControl!==g.RadioButton&&t.QuestionControl!==g.YesNo?t.answerText=t.QuestionControl!==g.Image?this.form.controls[t.MapFieldName].value:this.idCardFrontToUpload?.name??"":t.answerCode=this.form.controls[t.MapFieldName].value;if(!(this.currentStep!==a.op.WaiveInsuranceInfo3||this.frontIdCardUploaded&&this.backIdCardUploaded))return void this.notificationService.showError("Please upload the front and back of your ID card to proceed.",2e3);this.submitForm.emit({form:this.form,model:this.questionnaireAnswers})}}ngOnInit(){this.formControls=new Map;const t={};this.objectProps=Object.keys(this.dataObject).map(c=>{const s=this.dataObject[c];if(s.QuestionControl===g.DropDown||s.QuestionControl===g.RadioButton||s.QuestionControl===g.TextBox||s.QuestionControl===g.YesNo||s.QuestionControl===g.Image){let d="";s.QuestionControl===g.DropDown&&(d=null);const u=globalThis.location.pathname.includes("student-enrollment");if(!u||27!==s.QuestionID&&28!==s.QuestionID&&29!==s.QuestionID&&30!==s.QuestionID&&32!==s.QuestionID&&33!==s.QuestionID&&34!==s.QuestionID&&35!==s.QuestionID){if(null!=this.student[s.MapFieldName]){if(d=this.student[s.MapFieldName],2===s.QuestionID&&(d="",s.Required=!this.studentGradeStatus?.International),"phone"===this.getMaskingClass(s)&&d){d=d.toString().split("-").join("");const _=d.substring(0,3),I=d.substring(3,6),S=d.substring(6,10);d=_,d+=""===I?"":`-${I}`,d+=""===S?"":`-${S}`}s.QuestionControl===g.YesNo&&(d=d||"0"==d?d.toString():"")}else if("tblStudentCoverageQuestions"==s.MapTableName){const _=s;if("tblStudentCoverageQuestions"==_.MapTableName){const I=this.studentCoverageQuestions?.find(S=>S.QuestionID===_.QuestionID);I&&(d=I.Answer||0===I.Answer?I.Answer.toString():"")}}}else try{30===s.QuestionID||35===s.QuestionID?d=this.college?.UnivID.CarrierID?this.college.UnivID.CarrierID.CarrierName:"":28===s.QuestionID||33===s.QuestionID?d=`${this.student.tblStudentCoverages[0].PolicyEffDate.toString().substring(0,10)} - ${this.student.tblStudentCoverages[0].PolicyExpDate.toString().substring(0,10)}`:27===s.QuestionID||32===s.QuestionID?d=this.college?.UnivID?.PolicyNumber??"":(29===s.QuestionID||34===s.QuestionID)&&(d=this.student.tblStudentCoverages[0].CoverageAmt)}catch{d=""}
1if(s.QuestionControl===g.TextBox&&"Date"===s.QuestionValidation)if(u)t[s.MapFieldName]=new m.MJ({value:d,disabled:s.ReadOnly});else{if(d){d=d.substring(0,10).replaceAll("-","");const I=d.substring(4,6),S=d.substring(6,8),De=d.substring(0,4);d=`${I}/${S}/${De}`}t[s.MapFieldName]=new m.MJ({value:d||null,disabled:s.ReadOnly},this.mapValidators(s.validation,s.Required,s.QuestionValidation))}else t[s.MapFieldName]=new m.MJ({value:d,disabled:s.ReadOnly},s.QuestionControl===g.Image?this.mapValidators(s.validation,s.QuestionValidation,s.MapFieldName):this.mapValidators(s.validation,s.Required,s.QuestionValidation,s.MapFieldName));if(534===s.QuestionID){const _=s;_.validation={ValidationMessage:"Annual deductible is required and must be a numeric value."},_.QuestionValidation="PlanDeductible",t[_.MapFieldName]=new m.MJ({value:d,disabled:_.ReadOnly},{validators:[m.k0.pattern("^[0-9]+$"),m.k0.required],updateOn:"blur"})}s.QuestionControl!==g.Label&&this.questionnaireAnswers.push(s)}return{key:s.UniversityQuestionnaireID,...s}}),this.questions=[];let n=[],r="";this.objectProps.forEach(c=>{const s=c.Sort.toString().split(".")[0];r!=s&&(n.length>0&&this.questions?.push(n),n=[],r=s),n.push(c)}),n.length>0&&this.questions.push(n),this.form=new m.gE(t),this.setDefaultRequiredValidation(t)}setDefaultRequiredValidation(t){const n=this.isWaiveCoverage||this.isWaiveInsuranceInfo1||this.isWHMO,r=this.getControlNamesForConditionalValidation();if(r?.dependentControlName&&r?.controlName){const c=this.objectProps?.find(s=>s.MapFieldName==r.dependentControlName);c&&n&&(this.formControls.set(r.controlName,t[r.controlName]),this.onInsStateClicked(c,this.student[c.MapFieldName]))}}onInsStateClicked(t,n){let r=n;const c=t.QuestionID;if("insco"===n&&(r=this.form.controls[t.MapFieldName].value),427===c||583===c||472===c){let d,u;427===c||583===c?(d=this.form.controls.InsState,u=d?.value):472===c&&(d=this.form.controls.HMO_State,u=d?.value),n?(d?.setValue(""===u?null:u),d?.enable()):(d?.setValue(""),d?.disable())}131===c&&r&&(this.showInsuranceInfo="1"===r);let s=this.getControlNamesForConditionalValidation();t&&s?.dependentControlName&&s?.controlName&&t.MapFieldName==s.dependentControlName&&this.formControls.get(s.controlName)&&((this.isWaiveCoverage||this.isWHMO)&&this.changeDependantRequiredValidationByName(s.controlName,-1!=r&&n),this.isWaiveInsuranceInfo1&&(this.changeDependantRequiredValidationByName(s.controlName,"1"!==r),s=this.getControlNamesForConditionalValidation(2),this.changeDependantRequiredValidationByName(s.controlName,"1"!==r)))}
1getControlNamesForConditionalValidation(t=-1){const n={dependentControlName:"",controlName:""};return this.isWaiveCoverage?(n.controlName="InsState",n.dependentControlName="InsStateSponsored"):this.isWaiveInsuranceInfo1?-1===t?(n.controlName="InsCoNotOnListName",n.dependentControlName="InsCo"):2===t&&(n.controlName="CompletedBy",n.dependentControlName="InsCo"):this.isWHMO&&(n.controlName="HMO_State",n.dependentControlName="HMO"),n}changeDependantRequiredValidationByName(t,n){const r=this.form.controls[t];r&&(r.setValidators(n?null:[m.k0.required]),r.updateValueAndValidity(),r.markAsTouched(),this.form.updateValueAndValidity())}getColumnClass(t){const n=Math.floor(12/t);return`col-md-${Math.max(n,1)}`}getMaskingClass(t){const n=t.QuestionValidation?t.QuestionValidation.trim().toLocaleLowerCase():"";return"phone"===n||"ssn"===n||"plandeductible"===n?n:""}getMaxLength(t){const n=t.QuestionValidation?t.QuestionValidation.trim().toLocaleLowerCase():"";return"phone"===n?12:"ssn"===n?11:t.FieldLength}onTextInputKeyPress(t,n){"SubMI"===n?.MapFieldName&&46===t.which&&t.preventDefault()}mapValidators(t,n,r,c=""){let s={};const d=[];return n&&(d.push(m.k0.required),s={validators:d}),t&&("Length"===t.ValidationRule?(d.push(m.k0.minLength(t.RegularExpression),m.k0.maxLength(t.RegularExpression)),s={validators:d,updateOn:"blur"}):"RegularExpression"===t.ValidationRule&&"Date"!==r&&(d.push(m.k0.pattern(t.RegularExpression)),s="SSN"===c?{validators:d,updateOn:"blur"}:{validators:d})),s}getDateRegex(t){if(!t)return a.p_;try{return new RegExp(t.RegularExpression)}catch{}return a.p_}getFormattedDate(t){const n=t.replaceAll(/\D/g,"").slice(0,8);return 8!==n.length?"":`${n.slice(0,2)}/${n.slice(2,4)}/${n.slice(4,8)}`}dateChange(t,n){const r=t.replaceAll(/\D/g,"").slice(0,8),c=[];r.length>0&&c.push(r.slice(0,2)),r.length>2&&c.push(r.slice(2,4)),r.length>4&&c.push(r.slice(4,8));const s=c.join("/");s!==t&&this.form.controls[n.MapFieldName].setValue(s,{emitEvent:!1}),8===r.length&&(this.getDateRegex(n.validation).test(s)?this.form.controls[n.MapFieldName].setErrors(null):this.form.controls[n.MapFieldName].setErrors({invalidDate:n.validation?.ValidationMessage||this.requiredText}))}dateFocusOut(t,n){const r=this.form.controls[n.MapFieldName].value||"";this.getDateRegex(n.validation).test(r)||this.form.controls[n.MapFieldName].setErrors({invalidDate:n.validation?.ValidationMessage||this.requiredText})}};let i=l;return l.\u0275fac=function(n){return new(n||l)(e.rXU(f.JE))},l.\u0275cmp=e.VBU({type:l,selectors:[["web-dynamic-form"]],inputs:{dataObject:"dataObject",student:"student",studentCoverageQuestions:"studentCoverageQuestions",studentGradeStatus:"studentGradeStatus",college:"college",currentStep:"currentStep",firstStep:"firstStep",slug:"slug",pageType:"pageType",frontIdCardUploaded:"frontIdCardUploaded",backIdCardUploaded:"backIdCardUploaded",isSubmitting:"isSubmitting",isUploadingFront:"isUploadingFront",isUploadingBack:"isUploadingBack"},outputs:{submitForm:"submitForm",idCardFileUpload:"idCardFileUpload",backClick:"backClick"},decls:7,vars:7,consts:[["novalidate","",3,"formGroup","ngSubmit"],["class","row",4,"ngFor","ngForOf","ngForTrackBy"],[1,"btnHolder","d-flex","justify-content-center"],["type","button","class","btn btn-default btn-lg",3,"click",4,"ngIf"],["class","btn btn-default btn-lg","type","submit",3,"webLoading",4,"ngIf"],["type","button","class","btn btn-default btn-lg",3,"routerLink",4,"ngIf"],[1,"row"],[3,"class",4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"d-inline-flex"],[1,"my-0",3,"innerHTML"],[1,"label",3,"questionId"],[3,"class",4,"ngIf"],[3,"control","message",4,"ngIf"],["type","text",3,"maxlength","formControlName","id","placeholder","keypress"],[1,"text-box",3,"questionId"],[3,"control","message"],["type","text","numberOnly","",1,"form-control",3,"formControlName","placeholder","maxlength","focusout","ngModelChange"],["type","text",1,"form-control",3,"formControlName","id"],[1,"row","mb-0"],["class","dynamic-form__question-label",4,"ngIf"],[1,"col-md-9"],["class","custom-control custom-radio custom-control-inline",4,"ngFor","ngForOf","ngForTrackBy"],[1,"dynamic-form__question-label"],[1,"custom-control","custom-radio","custom-control-inline"],["type","radio",1,"custom-control-input",3,"name","value","formControlName","id"],[1,"custom-control-label",3,"for"],["class","dynamic-form__question-label",3,"innerHtml",4,"ngIf"],[1,"col-md-12"],[1,"dynamic-form__question-label",3,"innerHtml"],["type","radio",1,"custom-control-input",3,"name","value","formControlName","id","change"],[1,"d-flex"],[1,"form-control",3,"formControlName","change"],[3,"ngValue"],[3,"value",4,"ngFor","ngForOf","ngForTrackBy"],[1,"drop-down",3,"questionId"],[3,"value"],[1,"rowGroup"],[1,"form-group","mb-0","row","align-items-center"],[1,"col-sm-12"],[1,"row","align-items-center"],[1,"col-sm-2"],["for","fileUploadFront",1,"contentSec"],[1,"col-sm-10","text-right"],["type","button",3,"ngClass","disabled","click"],["hidden","","id","fileUploadFront","type","file",3,"change"],["fileUploadFront",""],["type","button",1,"btn","btn-default","btn-lg",3,"disabled","webLoading","click"],["for","fileUploadBack"],["hidden","","id","fileUploadBack","type","file",3,"change"],["fileUploadBack",""],["type","button",1,"btn","btn-default","btn-lg",3,"click"],["type","submit",1,"btn","btn-default","btn-lg",3,"webLoading"],["type","button",1,"btn","btn-default","btn-lg",3,"routerLink"]],template:function(n,r){1&n&&(e.j41(0,"form",0),e.bIt("ngSubmit",function(){return r.onSubmit()}),e.DNE(1,re,2,2,"div",1),e.j41(2,"div",2),e.DNE(3,ae,2,0,"button",3),e.DNE(4,se,2,1,"button",4),e.DNE(
15,de,2,3,"button",5),e.DNE(6,ue,2,2,"button",5),e.k0s()()),2&n&&(e.Y8G("formGroup",r.form),e.R7$(1),e.Y8G("ngForOf",r.questions)("ngForTrackBy",r.trackByOuterIndex),e.R7$(2),e.Y8G("ngIf",r.currentStep!==r.firstStep&&!r.medicaid3OOSDeniedORIncompleteTitle),e.R7$(1),e.Y8G("ngIf",!r.medicaid3OOSDeniedORIncompleteTitle),e.R7$(1),e.Y8G("ngIf",r.medicaid3OOSDeniedORIncompleteTitle),e.R7$(1),e.Y8G("ngIf",r.medicaid3OOSDeniedORIncompleteTitle))},dependencies:[b.YU,b.Sq,b.bT,b.ux,b.e1,m.qT,m.xH,m.y7,m.me,m.wz,m.Fm,m.BC,m.cb,m.tU,m.j4,m.JD,E.Wk,U.K,R.b,w.A,G.b],styles:["web-dynamic-form[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin-top:0!important}.form-group[_ngcontent-%COMP%]{margin-bottom:30px}.dynamic-form__question-label[_ngcontent-%COMP%]{padding-left:15px}.btnHolder[_ngcontent-%COMP%]{gap:.75rem;flex-wrap:wrap}web-tooltip.text-box[_ngcontent-%COMP%]{position:absolute;margin:0;padding:0;right:25px;top:12.5px}web-tooltip.drop-down[_ngcontent-%COMP%], web-tooltip.label[_ngcontent-%COMP%]{align-self:center;margin-left:7.5px}"]}),i})();function me(i,l){if(1&i&&(e.j41(0,"div",11),e.nrm(1,"img",12),e.j41(2,"h4",13),e.EFF(3,"Student Enrollment"),e.k0s()()),2&i){const o=e.XpG();let t,n;e.R7$(1),e.FS9("alt",o.college.HeaderAltText),e.Y8G("src",o.imageSrc,e.B4B),e.BMQ("width",null!==(t=o.college.SummaryPageImageWidth)&&void 0!==t?t:"initial")("height",null!==(n=o.college.SummaryPageImageHeight)&&void 0!==n?n:"initial")}}function _e(i,l){if(1&i){const o=e.RV6();e.j41(0,"web-dynamic-form",14),e.bIt("submitForm",function(n){e.eBV(o);const r=e.XpG();return e.Njj(r.submit(n))})("backClick",function(){e.eBV(o);const n=e.XpG();return e.Njj(n.backClick())}),e.k0s()}if(2&i){const o=e.XpG();e.Y8G("dataObject",o.questionnaire)("student",o.student)("studentGradeStatus",o.studentGradeStatus)("college",o.college)("currentStep",o.currentStep)("firstStep",o.firstStep)("pageType","Enroll")("isSubmitting",o.isSubmitting)}}function pe(i,l){if(1&i){const o=e.RV6();e.j41(0,"dx-popup",15),e.bIt("visibleChange",function(n){e.eBV(o);const r=e.XpG();return e.Njj(r.showPPUFinancialAidPopup=n)}),e.j41(1,"dx-scroll-view",16)(2,"p"),e.EFF(3," You may be able to pay for Point Park's Student Health Insurance Plan (SHIP) using financial aid. To request this option, please contact "),e.j41(4,"a",17),e.EFF(5,"[email protected]"),e.k0s(),e.EFF(6,". "),e.nrm(7,"br")(8,"br"),e.EFF(9," If you do not request and receive approval to apply the cost to your student account, you'll receive a PayPal invoice for the annual cost of insurance for the PPU SHIP. You will be enrolled in the plan once we receive your payment. "),e.nrm(10,"br")(11,"br"),e.EFF(12," For questions about using this website or general questions about the SHIP, please call QM Services at 1-800-273-1715. "),e.k0s(),e.j41(13,"div",18)(14,"button",19),e.bIt("click",function(){e.eBV(o);const n=e.XpG();return e.Njj(n.handleFinancialAidPopupOkClick())}),e.EFF(15," OK "),e.k0s()()()()}if(2&i){const o=e.XpG();e.Y8G("visible",o.showPPUFinancialAidPopup)("dragEnabled",!1)("width",400)("height",450)}}let ge=(()=>{const l=class{get imageSrc(){return this.college?.imageUrl??"assets/img/noImage.png"}constructor(t,n,r,c,s,d){this.route=t,this.router=n,this.notificationService=r,this.configService=c,this.universityService=s,this.studentService=d,this.questionnaire=[],this.isSubmitting=!1}ngOnInit(){var t=this;return(0,v.A)(function*(){t.univSlug=t.route.snapshot.paramMap.get("UnivSlug")??"",yield t.getCollegeDetails(),yield t.getStudentDetails(),yield t.getStudentQuestionnaire(),yield t.getStudentGradeStatus(),t.firstStep=t.firstStep??t.currentStep,t.showPPUFinancialAidPopup="ELG"===t.studentGradeStatus.GradeStatusShort&&t.college.UnivID.UnivID===k.L.PPU})()}submit(t){var n=this;return(0,v.A)(function*(){const{form:r,model:c}=t;if(r.valid&&n.currentStep!==a.uK.summary){n.isSubmitting=!0;try{const{isError:s,message:d}=yield n.studentService.saveQuestionnaireStep(c);if(s)return void n.notificationService.showError(d,3);let u=!1;n.currentStep===a.uK.EnrollCreditPurchase&&(u=c.some(h=>h.QuestionID===n.configService.CreditPurchaseQuestionID)),yield n.getStudentQuestionnaire(n.getNextPage(n.currentStep,u))}finally{n.isSubmitting=!1}}})()}getCollegeDetails(){var t=this;return(0,v.A)(function*(){t.college=yield t.universityService.getBySlug(t.univSlug)})()}getStudentDetails(){var t=this;return(0,v.A)(function*(){const n=yield t.studentService.getStudentDetails(t.college.UnivID.UnivID);t.student=n.student})()}getStudentQuestionnaire(t=a.uK.EnrollPreStm,n=!1){var r=this;return(0,v.A)(function*(){if(r.questionnaire=[],r.currentStep=t,r.questionnaire=yield r.studentService.getStudentQuestionnaire(r.college.UnivID.UnivID,t,r.student.StudYear),!(r.questionnaire?.length>0)){if(r.currentStep===a.uK.summary)return yield r.studentService.saveEnrollWaiveStatus({StudID:r.student.StudID,status:1,isOnlyMarkStatus:!1,offset:(new Date).toString().match(/[+,-](\d{4})/g)}),void(yield r.router.navigate(["summary"]));yield r.getStudentQuestionnaire(n?r.getPreviousPage(t):r.getNextPage(t,!1))}})()}
1getStudentGradeStatus(){var t=this;return(0,v.A)(function*(){t.studentGradeStatus=yield t.studentService.getGradeStatus(t.student.GradeStatusID)})()}getPreviousPage(t){switch(t){case a.uK.EnrollPreQuestions:return a.uK.EnrollGeneralInfo;case a.uK.EnrollGeneralInfo:return a.uK.EnrollPreStm;case a.uK.EnrollAddress:return a.uK.EnrollPreQuestions;case a.uK.EnrollSchoolInfo:return a.uK.EnrollAddress;case a.uK.EnrollPostStm:return a.uK.EnrollSchoolInfo;case a.uK.EnrollPostQuestions:return a.uK.EnrollPostStm;case a.uK.EnrollCreditPurchase:return a.uK.EnrollPostQuestions;case a.uK.Order:case a.uK.EnrollEnd:return a.uK.EnrollCreditPurchase;default:return a.uK.EnrollPreStm}}backClick(){var t=this;return(0,v.A)(function*(){yield t.getStudentDetails(),yield t.getStudentQuestionnaire(t.getPreviousPage(t.currentStep),!0)})()}getNextPage(t,n){switch(t){case a.uK.EnrollGeneralInfo:return a.uK.EnrollPreQuestions;case a.uK.EnrollPreStm:return a.uK.EnrollGeneralInfo;case a.uK.EnrollPreQuestions:return a.uK.EnrollAddress;case a.uK.EnrollAddress:return a.uK.EnrollSchoolInfo;case a.uK.EnrollSchoolInfo:return a.uK.EnrollPostStm;case a.uK.EnrollPostStm:return a.uK.EnrollPostQuestions;case a.uK.EnrollPostQuestions:return a.uK.EnrollCreditPurchase;case a.uK.EnrollCreditPurchase:return n?a.uK.Order:a.uK.EnrollEnd;default:return a.uK.summary}}handleFinancialAidPopupOkClick(){this.showPPUFinancialAidPopup=!1}};let i=l;return l.\u0275fac=function(n){return new(n||l)(e.rXU(E.nX),e.rXU(E.Ix),e.rXU(f.JE),e.rXU(f.we),e.rXU(f.W8),e.rXU(f.b0))},l.\u0275cmp=e.VBU({type:l,selectors:[["web-student-enrollment"]],decls:12,vars:3,consts:[[1,"enrollmentContainer"],[1,"container"],[1,"enrollmentSec","contentSec"],["class","enrollLogoSec text-center",4,"ngIf"],[1,"enrollStepHolder"],["id","nav-tabContent",1,"tab-content"],["role","tabpanel","aria-labelledby","nav-contact-tab",1,"tab-pane","fade","show","active"],[1,"enrollmentFormSec"],[1,"enrollmentRowSec"],[3,"dataObject","student","studentGradeStatus","college","currentStep","firstStep","pageType","isSubmitting","submitForm","backClick",4,"ngIf"],["class","p-2 my-2",3,"visible","dragEnabled","width","height","visibleChange",4,"ngIf"],[1,"enrollLogoSec","text-center"],[3,"src","alt"],[1,"mb-5"],[3,"dataObject","student","studentGradeStatus","college","currentStep","firstStep","pageType","isSubmitting","submitForm","backClick"],[1,"p-2","my-2",3,"visible","dragEnabled","width","height","visibleChange"],["width","100%","height","100%"],["href","mailto:[email protected]"],[1,"text-center"],[1,"btn","btn-default",3,"click"]],template:function(n,r){1&n&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2),e.DNE(3,me,4,4,"div",3),e.j41(4,"div",4)(5,"nav")(6,"div",5)(7,"div",6)(8,"div",7)(9,"div",8),e.DNE(10,_e,1,8,"web-dynamic-form",9),e.k0s()()()()()()()()(),e.DNE(11,pe,16,4,"dx-popup",10)),2&n&&(e.R7$(3),e.Y8G("ngIf",r.college),e.R7$(7),e.Y8G("ngIf",r.questionnaire&&r.questionnaire.length>0),e.R7$(1),e.Y8G("ngIf",r.showPPUFinancialAidPopup))},dependencies:[b.bT,N.i,y.e,M],styles:['a[_ngcontent-%COMP%]{color:#629116}.enrollmentContainer[_ngcontent-%COMP%]   .enrollmentSec[_ngcontent-%COMP%]{padding:4em 0}.enrollmentContainer[_ngcontent-%COMP%]   .enrollmentSec[_ngcontent-%COMP%]   .enrollmentFormSec[_ngcontent-%COMP%]   .enrollmentRowSec[_ngcontent-%COMP%]{margin-bottom:1rem}.enrollmentContainer[_ngcontent-%COMP%]   .enrollmentSec[_ngcontent-%COMP%]   .enrollStepHolder[_ngcontent-%COMP%]   .tab-content[_ngcontent-%COMP%]{margin-bottom:4rem}.enrollmentContainer[_ngcontent-%COMP%]   .enrollmentSec[_ngcontent-%COMP%]   .enrollStepHolder[_ngcontent-%COMP%]   .nav-tabs[_ngcontent-%COMP%]{border-bottom:0;justify-content:space-evenly}.enrollmentContainer[_ngcontent-%COMP%]   .enrollmentSec[_ngcontent-%COMP%]   .enrollStepHolder[_ngcontent-%COMP%]   .nav-tabs[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]{margin:0;padding:0;text-transform:uppercase;width:16.6666666667%;border:0;text-align:center;position:relative;font-weight:700;font-size:11px}.enrollmentContainer[_ngcontent-%COMP%]   .enrollmentSec[_ngcontent-%COMP%]   .enrollStepHolder[_ngcontent-%COMP%]   .nav-tabs[_ngcontent-%COMP%]   .nav-item.active[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{background:#c9e39f}.enrollmentContainer[_ngcontent-%COMP%]   .enrollmentSec[_ngcontent-%COMP%]   .enrollStepHolder[_ngcontent-%COMP%]   .nav-tabs[_ngcontent-%COMP%]   .nav-item.active[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:before{display:none}.enrollmentContainer[_ngcontent-%COMP%]   .enrollmentSec[_ngcontent-%COMP%]   .enrollStepHolder[_ngcontent-%COMP%]   .nav-tabs[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:last-child:after{display:none}.enrollmentContainer[_ngcontent-%COMP%]   .enrollmentSec[_ngcontent-%COMP%]   .enrollStepHolder[_ngcontent-%COMP%]   .nav-tabs[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:after{content:"";width:100%;height:1px;position:absolute;background:#c9e39f;display:inline-block;left:50%;
1top:1.5rem}.enrollmentContainer[_ngcontent-%COMP%]   .enrollmentSec[_ngcontent-%COMP%]   .enrollStepHolder[_ngcontent-%COMP%]   .nav-tabs[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:table;width:3rem;height:3rem;border-radius:100%;margin:0 auto 15px;position:relative}.enrollmentContainer[_ngcontent-%COMP%]   .enrollmentSec[_ngcontent-%COMP%]   .enrollStepHolder[_ngcontent-%COMP%]   .nav-tabs[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:after{content:"";width:6px;height:6px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#629116;display:inline-block;border-radius:100%;z-index:2}.enrollmentContainer[_ngcontent-%COMP%]   .enrollmentSec[_ngcontent-%COMP%]   .enrollStepHolder[_ngcontent-%COMP%]   .nav-tabs[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:before{content:"";width:1rem;height:1rem;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;display:inline-block;z-index:1}']}),i})();var D=(()=>{return(i=D||(D={}))[i.CONTINUE=100]="CONTINUE",i[i.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",i[i.PROCESSING=102]="PROCESSING",i[i.OK=200]="OK",i[i.CREATED=201]="CREATED",i[i.ACCEPTED=202]="ACCEPTED",i[i.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",i[i.NO_CONTENT=204]="NO_CONTENT",i[i.RESET_CONTENT=205]="RESET_CONTENT",i[i.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",i[i.AMBIGUOUS=300]="AMBIGUOUS",i[i.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",i[i.FOUND=302]="FOUND",i[i.SEE_OTHER=303]="SEE_OTHER",i[i.NOT_MODIFIED=304]="NOT_MODIFIED",i[i.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",i[i.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",i[i.BAD_REQUEST=400]="BAD_REQUEST",i[i.UNAUTHORIZED=401]="UNAUTHORIZED",i[i.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",i[i.FORBIDDEN=403]="FORBIDDEN",i[i.NOT_FOUND=404]="NOT_FOUND",i[i.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",i[i.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",i[i.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",i[i.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",i[i.CONFLICT=409]="CONFLICT",i[i.GONE=410]="GONE",i[i.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",i[i.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",i[i.PAYLOAD_TOO_LARGE=413]="PAYLOAD_TOO_LARGE",i[i.URI_TOO_LONG=414]="URI_TOO_LONG",i[i.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",i[i.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",i[i.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",i[i.I_AM_A_TEAPOT=418]="I_AM_A_TEAPOT",i[i.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",i[i.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",i[i.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",i[i.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",i[i.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",i[i.BAD_GATEWAY=502]="BAD_GATEWAY",i[i.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",i[i.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",i[i.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",D;var i})();function fe(i,l){if(1&i&&(e.j41(0,"div",7),e.nrm(1,"img",8),e.j41(2,"h4",9),e.EFF(3,"Student Waiver"),e.k0s()()),2&i){const o=e.XpG();let t,n;e.R7$(1),e.FS9("alt",o.college.HeaderAltText),e.Y8G("src",o.imageSrc,e.B4B),e.BMQ("width",null!==(t=o.college.SummaryPageImageWidth)&&void 0!==t?t:"initial")("height",null!==(n=o.college.SummaryPageImageHeight)&&void 0!==n?n:"initial")}}function ve(i,l){if(1&i){const o=e.RV6();e.j41(0,"web-dynamic-form",10),e.bIt("submitForm",function(n){e.eBV(o);const r=e.XpG();return e.Njj(r.submit(n))})("idCardFileUpload",function(n){e.eBV(o);const r=e.XpG();return e.Njj(r.uploadedFile(n))})("backClick",function(){e.eBV(o);const n=e.XpG();return e.Njj(n.backClick())}),e.k0s()}if(2&i){const o=e.XpG();e.Y8G("dataObject",o.questionnaire)("student",o.student)("studentCoverageQuestions",o.studentCoverageQuestions)("college",o.college)("currentStep",o.currentStep)("slug",o.univSlug)("firstStep",o.firstStep)("pageType","Waive")("frontIdCardUploaded",o.frontIdCardUploaded)("backIdCardUploaded",o.backIdCardUploaded)("isSubmitting",o.isSubmitting)("isUploadingFront",o.isUploadingFront)("isUploadingBack",o.isUploadingBack)}}let he=(()=>{const l=class{constructor(t,n,r,c,s,d,u){this.route=t,this.router=n,this.notificationService=r,this.configService=c,this.dialogService=s,this.universityService=d,this.studentService=u,this.questionnaire=[],this.isSubmitting=!1,this.isUploadingFront=!1,this.isUploadingBack=!1}ngOnInit(){const{isValid:t}
1=this.route.snapshot.data;t&&(this.previousSteps=new Map,this.univSlug=this.route.snapshot.paramMap.get("UnivSlug")??"",this.getCollegeDetails().then(()=>this.getStudentDetails()).then(()=>this.getStudentQuestionnaire()).then(()=>{this.firstStep=this.firstStep??this.currentStep}).catch(()=>{this.notificationService.showError("An error occurred loading the waiver. Please refresh and try again.",5e3)}))}getCollegeDetails(){var t=this;return(0,v.A)(function*(){t.college=yield t.universityService.getBySlug(t.univSlug)})()}getStudentDetails(){var t=this;return(0,v.A)(function*(){const n=yield t.studentService.getStudentDetails(t.college.UnivID.UnivID);t.student=n.student,t.studentCoverageQuestions=n.studentCoverageQuestions,t.student.HMO=!0===t.student.HMO?-1:0})()}getStudentQuestionnaire(t=a.op.WaivePreStm){var n=this;return(0,v.A)(function*(){return t===a.op.WaiveEnd?(yield n.studentService.saveEnrollWaiveStatus({StudID:n.student.StudID,status:0,UnivState:n.college.UnivID.UnivState,isOnlyMarkStatus:!1,offset:(new Date).toString().match(/[+,-](\d{4})/g)}),void(yield n.router.navigate(["summary"]))):(n.questionnaire=[],n.currentStep=t,n.questionnaire=yield n.studentService.getStudentQuestionnaire(n.college.UnivID.UnivID,t,n.student.StudYear),n.questionnaire?.length>0?(n.questionnaire.filter(r=>"YesNo"===r.QuestionControl||"Image"===r.QuestionControl).forEach(r=>{r.MapFieldName||(r.MapFieldName=`customfield${String(r.QuestionID)}`)}),void(n.currentStep===a.op.WaiveMedicaidOutOfState&&(yield n.studentService.saveEnrollWaiveStatus({StudID:n.student.StudID,status:0,UnivState:n.college.UnivID.UnivState,isOnlyMarkStatus:!1,offset:(new Date).toString().match(/[+,-](\d{4})/g)})))):void(n.currentStep!==a.op.summary&&(yield n.getStudentQuestionnaire(n.getNextPage(t,!1)))))})()}backClick(){var t=this;return(0,v.A)(function*(){yield t.getStudentDetails(),yield t.getStudentQuestionnaire(t.previousSteps.get(t.currentStep))})()}getNextPage(t,n){switch(t){case a.op.WaivePreStm:return a.op.WaivePreQuestions;case a.op.WaivePreQuestions:return a.op.WaiveInsuranceInfo1;case a.op.WaiveInsuranceInfo1:return n?a.op.WaiveInsuranceInfo3:a.op.WaiveInsuranceInfo2;case a.op.WaiveInsuranceInfo2:return a.op.WaiveInsuranceInfo3;case a.op.WaiveInsuranceInfo3:return a.op.WaiveCoverage;case a.op.WaiveCoverage:return a.op.WaiveMedicaid;case a.op.WaiveMedicaid:return n?a.op.WaiveMedicaidOutOfState:a.op.WaiveHMO;case a.op.WaiveMedicaid2:return n?a.op.WaiveMedicaidOutOfState:a.op.WaivePrefundedEnroll;case a.op.WaiveMedicaidOutOfState:return n&&this.router.navigate([`student-enrollment/${this.univSlug}`]),a.op.WaiveEnd;case a.op.WaiveHMO:return a.op.WaivePrefundedEnroll;case a.op.WaivePrefund:return a.op.WaivePostStm;case a.op.WaiveHMO2:return a.op.WaiveEnd;case a.op.WaivePrefundedEnroll:return a.op.WaivePostStm;case a.op.WaivePreAuthorization:return a.op.WaivePreProvider;case a.op.WaivePreProvider:return a.op.WaivePostStm;case a.op.WaivePostStm:return a.op.WaivePostQuestions;case a.op.WaivePostQuestions:return a.op.WaiveEnd;default:return a.op.summary}}uploadedFile(t){var n=this;return(0,v.A)(function*(){if(!t.files||0===t.files.length)return;const{fileTitle:r,fileTypeID:c}=t,s=r===a.U5.FrontOfIdCard;s?n.isUploadingFront=!0:n.isUploadingBack=!0;try{return yield n.studentService.uploadFile(t.files[0].name,r,"waiver",c,n.student.StudID,t.files[0]),s?n.frontIdCardUploaded=!0:n.backIdCardUploaded=!0,n.notificationService.showSuccess("File uploaded successfully.",2e3)}finally{s?n.isUploadingFront=!1:n.isUploadingBack=!1}})()}submit(t){var n=this;return(0,v.A)(function*(){const{form:r,model:c}=t;if(r.valid&&n.currentStep!==a.op.summary){n.isSubmitting=!0;try{if(c.length>0){const u=yield n.studentService.saveQuestionnaireStep(t.model);if(u.status===D.INTERNAL_SERVER_ERROR)return void n.notificationService.showError(u.message)}let s=!1;switch(n.currentStep){case a.op.WaiveMedicaid:{const u=t.model.find(_=>_.QuestionID===n.configService.stateSponsoredMedicaidQuestionID);if("0"!=(u?u.answerCode:"0")){const _=t.model.find(S=>S.QuestionID===n.configService.stateSponsoredMedicaidStateSelectionQuestionID);(_?_.answerCode:"0")!=n.college.UnivID.UnivState&&(s=!0)}break}case a.op.WaiveMedicaid2:{const u=t.model.find(_=>_.QuestionID===n.configService.stateSponsoredMedicaidStateSelectionQuestionID);(u?u.answerCode:n.college.UnivID.UnivState)!=n.college.UnivID.UnivState&&(s=!0);break}case a.op.WaiveMedicaidOutOfState:{const u=t.model.find(_=>_.QuestionID===n.configService.medicaidOOSEnroll);if("0"!==(u?u.answerCode:"0"))return void n.router.navigate(["myinsurance"]);break}
1case a.op.WaiveHMO:s="0"!==t.model.find(h=>h.QuestionID===n.configService.HMOWaive).answerCode;break;case a.op.WaivePrefund:{const u=t.model.find(_=>_.QuestionID===n.configService.adequateInNetworkProvidersQuestionID).answerCode,h=t.model.find(_=>_.QuestionID===n.configService.highDeductibleQuestionID).answerCode;"0"!=u&&"0"==h||(s=!0);break}case a.op.WaiveInsuranceInfo1:{const u=c.find(h=>h.QuestionID===n.configService.InsuranceCoQuestionID).answerCode;""!=u&&"1"!=u&&(s=!0);break}}const d=n.currentStep;yield n.getStudentQuestionnaire(n.getNextPage(n.currentStep,s)),n.previousSteps.set(n.currentStep,d)}finally{n.isSubmitting=!1}}})()}get imageSrc(){return this.college?.imageUrl??"assets/img/noImage.png"}};let i=l;return l.\u0275fac=function(n){return new(n||l)(e.rXU(E.nX),e.rXU(E.Ix),e.rXU(f.JE),e.rXU(f.we),e.rXU(f.o3),e.rXU(f.W8),e.rXU(f.b0))},l.\u0275cmp=e.VBU({type:l,selectors:[["web-student-waiver"]],decls:7,vars:2,consts:[[1,"aboutContainer"],[1,"container"],[1,"aboutSection"],[1,"d-flex","justify-content-center"],[1,"contentSec","w-100"],["class","enrollLogoSec text-center",4,"ngIf"],[3,"dataObject","student","studentCoverageQuestions","college","currentStep","slug","firstStep","pageType","frontIdCardUploaded","backIdCardUploaded","isSubmitting","isUploadingFront","isUploadingBack","submitForm","idCardFileUpload","backClick",4,"ngIf"],[1,"enrollLogoSec","text-center"],[3,"src","alt"],[1,"mb-5"],[3,"dataObject","student","studentCoverageQuestions","college","currentStep","slug","firstStep","pageType","frontIdCardUploaded","backIdCardUploaded","isSubmitting","isUploadingFront","isUploadingBack","submitForm","idCardFileUpload","backClick"]],template:function(n,r){1&n&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),e.DNE(5,fe,4,4,"div",5),e.DNE(6,ve,1,13,"web-dynamic-form",6),e.k0s()()()()()),2&n&&(e.R7$(5),e.Y8G("ngIf",r.college),e.R7$(1),e.Y8G("ngIf",r.questionnaire&&r.questionnaire.length>0))},dependencies:[b.bT,M]}),i})();function Ce(i,l){if(1&i&&e.nrm(0,"div",10),2&i){const o=e.XpG();e.Y8G("innerHTML",o.confirmationHtml,e.npT)}}const Ie=function(){return["/profile"]};let be=(()=>{const l=class{get imageSrc(){return this.imageUrl??"assets/img/noImage.png"}constructor(t,n,r){this.httpService=t,this.dialogService=n,this.datepipe=r,this.imageSize={width:null,height:null}}ngOnInit(){this.httpService.get("student/student-summary").then(t=>{if(this.imageUrl=t.imageUrl,this.imageSize={width:t.imageWidth,height:t.imageHeight},this.displayConfirmation(t.confirmationHtml,t.participationDate),t.showDentalPortal)return this.dialogService.customDialog("Dental and Vision Insurance Options","Are you interested in learning about options for dental and vision insurance for the student and their whole family?",["Visit","No"]).then(n=>{"Visit"===n.buttonText&&globalThis.open("/options","_blank")})}).catch(()=>{this.dialogService.alert("An error occurred retrieving your summary information. Please try again\n        later; if the issue persists, please contact QM Services.","Error")})}displayConfirmation(t,n){n&&(t=t.replace("[RegistrationDateTime]",this.datepipe?.transform(n,"h:mm a, MMM d, y")??"")),this.confirmationHtml=t.replace("[UnivLogo]",`<div class="row d-flex justify-content-center">\n          <div>\n            <img\n              src=${this.imageSrc}\n              alt="University Image"\n              width="${this.imageSize.width??"initial"}"\n              height="${this.imageSize.height??"initial"}"\n            />\n          </div>\n        </div>\n        <br />`).replace("[QMSILogo]",'<div class="row">\n            <div id="right" style="margin-left:auto;margin-right:0">\n              <img src="assets/img/logo.png" alt="QM Services Inc. Image" style="max-height: 150px" />\n            </div>\n           </div>')}};let i=l;return l.\u0275fac=function(n){return new(n||l)(e.rXU(f.g$),e.rXU(f.o3),e.rXU(b.vh))},l.\u0275cmp=e.VBU({type:l,selectors:[["web-summary"]],decls:22,vars:3,consts:[[1,"aboutContainer"],[1,"container"],["id","header"],[1,"row","contentSec"],[3,"innerHTML",4,"ngIf"],[1,"row"],["
1id","left"],[1,"no-print"],["onclick","window.print();return false;",1,"btn","btn-default"],[1,"btn","btn-default",3,"routerLink"],[3,"innerHTML"]],template:function(n,r){1&n&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2),e.nrm(3,"br")(4,"br"),e.j41(5,"div",3),e.DNE(6,Ce,1,1,"div",4),e.k0s(),e.j41(7,"div",5)(8,"div",6),e.EFF(9," You may save or print this page for your records. An email confirmation has also been sent to you. "),e.k0s()(),e.nrm(10,"br",7),e.j41(11,"button",8),e.EFF(12," Print "),e.k0s(),e.EFF(13,"\xa0 "),e.j41(14,"button",9),e.EFF(15," Profile "),e.k0s(),e.nrm(16,"br")(17,"br")(18,"br")(19,"br")(20,"br")(21,"br"),e.k0s()()()),2&n&&(e.R7$(6),e.Y8G("ngIf",r.confirmationHtml),e.R7$(8),e.Y8G("routerLink",e.lJ4(2,Ie)))},dependencies:[b.bT,E.Wk],encapsulation:2}),i})();var Se=p(3174);const O=()=>(0,e.WQX)(P.q).canActivate();let Ee=(()=>{const l=class{};let i=l;return l.\u0275fac=function(n){return new(n||l)},l.\u0275mod=e.$C({type:l}),l.\u0275inj=e.G2t({imports:[Se.G,N.p,y.t,E.iI.forChild([{path:"student-enrollment/:UnivSlug",component:ge,resolve:{isValid:f.Bj},data:{title:"Enroll"},canActivate:[O]},{path:"student-waiver/:UnivSlug",component:he,resolve:{isValid:f.nK},data:{title:"Waive"},canActivate:[O]},{path:"summary",component:be,data:{title:"Summary"},canActivate:[O]}])]}),i})()}}]);

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.