PageSourceSearch

https://app.mpowerfinancing.com/assets/index-OWFKj7dN.js

js mpowerfinancing.com collected 2026-09-24 20:52:04 UTC 3,705 bytes, 2 lines download raw bytes

1import{r as n,j as s}from"./index-Bd4jFswG.js";import{u as b,C as P,i as U,G as i,e as E,d as v,S as B,m as k,l as C}from"./ui.es-Cg0F-lM5.js";import{z as o}from"./index-CAzNPGFk.js";import{E as L,a as O}from"./common-C_8jkX4q.js";import{s as G}from"./stepperData-n5F8idlY.js";import{u as I}from"./useLoaderActionData-BClSnrKp.js";import{c as M}from"./clientValidation-B-VpovC8.js";import{i as F}from"./common-jynpvEF_.js";import{h as R}from"./handleProgressBar-CRYBUtwz.js";import{s as _}from"./scrollToError-DLp526R3.js";import{u as z,a as W,b as q}from"./index-CBbPfAgL.js";import{a as V}from"./components-BTmg3ErY.js";import{F as Y}from"./index-DnRH55ZI.js";import"./_commonjsHelpers-BosuxZz1.js";import"./dayjs.min-DnLU8EWa.js";import"./dashboard-O2JJL0uQ.js";import"./router-PiR6N9ym.js";import"./single-fetch-CQRnmu8J.js";const K=o.object({employmentStatus:o.string({required_error:"Please select an option."}),preferredName:o.string().optional(),isUSGradAPP:o.string().optional(),isLightSpeedUser:o.string().optional(),isNewUserInLightSpeedFlow:o.string().optional(),requiredUSEmploymentData:o.string().optional(),borrowerStepProgress:o.string().optional()});function le(){var c,f,h,g,x,S,j,y,T;const u=z(),a=W(),r=I(),[e,d]=n.useState(r),p=q(),m=b("(max-width: 767px)"),w=p.state==="submitting"||p.state==="loading"&&!!p.formAction,N=()=>{const t=r==null?void 0:r.fields;return F(t==null?void 0:t.programStartDate)?"/education":t!=null&&t.requiredUSEmploymentData?"/education/type":t!=null&&t.hasWaived?"/education/test":"/education/score"};n.useEffect(()=>{if(r!=null&&r.redirectTo)try{const t={skipEmploymentTillOffer:!!(r!=null&&r.redirectToOffer)};R(t),u(r==null?void 0:r.redirectTo)}catch{}},[r==null?void 0:r.redirectTo]),n.useEffect(()=>{d(r)},[r.dataType]);const l=V();return n.useEffect(()=>{l&&_(l)},[l]),s.jsxs(s.Fragment,{children:[s.jsx(P,{size:"lg",pt:30,children:s.jsx(U,{currentLocation:a==null?void 0:a.pathname,steps:G,isNewUser:(c=r==null?void 0:r.fields)==null?void 0:c.isNewUser})}),s.jsx(P,{className:"mainContainer",size:"lg",children:s.jsxs(Y,{method:"post",onChange:M(K,e,d),children:[s.jsxs(i,{children:[s.jsxs(i.Col,{span:{sm:12,md:3},children:[s.jsxs(E,{order:m?4:3,variant:"blue",fontWeight:"400",children:["Okay,"," ",s.jsx("span",{style:{textTransform:"capitalize",wordWrap:"break-word"},children:(f=e==null?void 0:e.fields)==null?void 0:f.preferredName})," ","now let's review"," "]}),s.jsx(E,{order:m?4:3,variant:"yellow",fontWeight:"700",children:"your employment history."})]}),s.jsx(i.Col,{span:{sm:12,md:9},className:"desktopRightContainer",children:s.jsxs(i,{children:[s.jsx(i.Col,{span:{sm:12},children:s.jsx(v,{id:"employmentStatus",style:{paddingTop:"1.75rem"},error:e==null?void 0:e.errors,defaultValue:(h=e==null?void 0:e.fields)==null?void 0:h.employmentStatus,options:m?L:O})}),s.jsx("input",{type:"hidden",name:"preferredName",id:"preferredName",value:(g=e==null?void 0:e.fields)==null?void 0:g.preferredName}),s.jsx("input",{type:"hidden",name:"borrowerStepProgress",id:"borrowerStepProgress",value:(x=e==null?void 0:e.fields)==null?void 0:x.borrowerStepProgress}),s.jsx("input",{type:"hidden",name:"isUSGradAPP",id:"isUSGradAPP",value:(S=e==null?void 0:e.fields)==null?void 0:S.isUSGradAPP})]})})]}),s.jsx(B,{h:40}),s.jsx(k,{error:r==null?void 0:r.sfError}),s.jsx(C,{backButtonId:"back",id:"next",oppId:(y=(j=e==null?void 0:e.fields)==null?void 0:j.oppId)==null?void 0:y.oppID,pageData:(T=e==null?void 0:e.fields)==null?void 0:T.pageData,outlineButtonOnClick:()=>u(N()),showOutlineButton:!0,showFilledButton:!0,uppercase:!0,filledButtonText:"next",loading:w,footerBack:!0})]})})]})}export{le as default};
2//# sourceMappingURL=index-OWFKj7dN.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.