1(window.webpackJsonp=window.webpackJsonp||[]).push([[34],{w9b5:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o}));n("6kNP"),n("Ggvi"),n("YBKJ"),n("YbXK"),n("cFtU"),n("q8oJ");var a,o,i=n("iYmT"),l=(n("E5k/"),n("kD0k")),r=n.n(l),c=(n("sC2a"),n("v9g0"),n("ls82"),n("rzGZ"),n("Dq+y"),n("8npG"),n("q1tI")),s=n.n(c),u=n("tr08"),b=n("ofer"),d=n("hlFM"),p=n("Z3vd"),g=n("Spdj"),m=n("ZGBi"),O=n("VmPI"),f=n("eD//"),E=n("tVbE"),v=n("GGlz"),x=n("R/WZ"),j=n("TJpk"),h=n.n(j),y=n("LvDl"),I=n.n(y),S=n("iuhU"),N=n("ePBu"),C=n("tRbT"),T=n("3v4M"),L=n("YwZP"),_=n("gLBg"),A=n("n0ij"),R=n("sTNh"),w=n("sNO/"),D=n("yadI"),H=n("xa2Q"),P=n("6TrW"),B=n("hhGH"),U=n("BHxA"),k=n("+tNc"),F=n("1mgu"),Y=n("X5T0"),M=n("HKEu"),z=n("Ttpo"),G=n("f+3C"),Q=n("oOK7"),V=n("8XK0"),W=n("fye8"),K=n("agg9"),X=n("EqT9"),J=n("LXxN"),q=n("Uc6p"),Z=n("uw2s"),$=n("XWqb"),ee=n("pikl"),te=n("qKvR");function ne(){return(ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function ae(e,t,n,a,o,i,l){try{var r=e[i](l),c=r.value}catch(s){return void n(s)}r.done?t(c):Promise.resolve(c).then(a,o)}function oe(e){return function(){var t=this,n=arguments;return new Promise((function(a,o){var i=e.apply(t,n);function l(e){ae(i,a,o,l,r,"next",e)}function r(e){ae(i,a,o,l,r,"throw",e)}l(void 0)}))}}!function(e){e.Update="update",e.Unenroll="unenroll"}(a||(a={})),function(e){e.Self="self",e.Other="other",e.Public="public"}(o||(o={}));var ie=Object(x.a)((function(){return{applyingForBox:{border:"1px solid "+T.a.lightGray,backgroundColor:T.a.white,borderRadius:"16px",padding:"48px 0",width:"333px",textAlign:"center",fontSize:"18px",cursor:"pointer",fontFamily:"Untitled-Sans",transition:"all 0.2s"},selectedApplyingForBox:{background:T.a.riverBlue,boxShadow:"0px 3px 6px #0000004D",fontWeight:500},miniApplyingForBox:{padding:"12px"},formSection:{background:T.a.white+" 0% 0% no-repeat padding-box",borderRadius:"5px",padding:"30px 20px",margin:"10px 0"},sectionHeading:{fontFamily:"Forma-DJR-Display",fontWeight:"bold",fontSize:"24px",lineHeight:"28px",letterSpacing:"0.48px",color:T.a.lightCyan,marginBottom:"15px"},sectionInfo:{fontFamily:"Untitled-Sans",fontSize:"16px",lineHeight:"20px",color:T.a.lightCyan,display:"block",margin:"5px 0","&:last-child":{marginBottom:0}},highlighted:{textDecoration:"underline",fontWeight:"bold",color:T.a.sparkBlue,cursor:"pointer",fontSize:"inherit",lineHeight:"inherit"},button:{borderRadius:"5px",padding:"13px 57px",fontWeight:"bold",fontSize:"18px",fontFamily:"Untitled-Sans",display:"block","&:hover":{boxShadow:"none"}},listItem:{display:"list-item",padding:0,fontSize:"16px",lineHeight:"20px",fontFamily:"Untitled-Sans",margin:"8px 0"}}})),le={name:"dbtbg3",styles:"margin:32px 0;"},re={name:"1uk1gs8",styles:"margin:0;"},ce={name:"tkocob",styles:"margin:16px 0 30px 0;"},se={name:"1dnaxzp",styles:"display:flex;align-items:center;gap:5px;"},ue={name:"4g6ai3",styles:"cursor:pointer;"},be={name:"uewl2b",styles:"margin-bottom:20px;"},de={name:"tuk4we",styles:"margin:20px 0 30px 0;"},pe={name:"1xn3edc",styles:"margin-bottom:30px;"},ge={name:"164r41r",styles:"margin-top:8px;"},me={name:"1n2mv2k",styles:"display:flex;justify-content:center;align-items:center;"},Oe={name:"y8aj3r",styles:"padding:0;"},fe={name:"nvl1fp",styles:"display:flex;align-items:center;margin-left:0;"},Ee={name:"sz8jyt",styles:"& > div div{display:flex;flex-direction:row;gap:16px;}"},ve={name:"1542v1d",styles:"display:block;margin-top:8px;font-size: 0.8rem;"},xe={name:"ns7nnm",styles:"padding:20px 20px 0 20px;list-style-type:decimal;list-style:auto;"},je={name:"bp306l",styles:"margin:20px 0;"},he={name:"1dgabqy",styles:"display:flex;gap:32px;align-items:center;justify-content:flex-end;margin-top:24px;"};t.c=Object(v.a)()((function(e){var t,n;console.log("props",e);var l=Object(u.a)(),v=Object(w.a)().wrapWithLoader,x=Object(R.a)().setErrorNotification,j=Object(W.b)("6wxqSYOBj1ybyYgyRPeQOA"),y=j.content,ae=j.richText,ye=Object(c.useContext)(J.c).language,Ie=ie(),Se=Object(c.useState)(o.Self),Ne=Se[0],Ce=Se[1],Te=Object(c.useState)(Ne),Le=(Te[0],Te[1]),_e=Object(c.useState)(!1),Ae=_e[0],Re=_e[1],we=Object(c.useState)(!1),De=we[0],He=we[1],Pe=Object(c.useState)(void 0),Be=Pe[0],Ue=Pe[1],ke=Object(c.useState)(""),Fe=ke[0],Ye=ke[1],Me=Object(c.useState)(!1),ze=Me[0],Ge=Me[1],Qe=Object(c.useState)(void 0),Ve=Qe[0],We=Qe[1],Ke=Object(c.useState)(!1),Xe=Ke[0],Je=Ke[1],qe=Object(c.useState)((null==e?void 0:e.isShowform)||!1),Ze=qe[0],$e=qe[1],et=Object(c.useState)(null),tt=et[0],nt=et[1],at=Object(c.useState)(null),ot=at[0],it=at[1],lt=Object(c.useState)("Monthly"),rt=lt[0],ct=lt[1],st=Object(c.useState)(!0),ut=st[0],bt=st[1],dt=Object(c.useState)([]),pt=dt[0],gt=dt[1],mt=Object(V.a)(K.a,{variables:{params:{removeInactiveAccounts:!0}},fetchPolicy:"no-cache"}),Ot=mt.data,ft=mt.loading,Et=null==Ot?void 0:Ot.getAccountInfo,vt=Object(V.a)(K.d,{variables:{iqbdParams:{encryptedSaIds:null==Ve||null===(t=Ve.saDetails)||void 0===t?void 0:t.map((function(e){return null==e?void 0:e.encryptedSAId}))},params:{accountNumberList:[{accountNumber:null==Be?void 0:Be.accountNumber}]}},skip:!(Ve&&Be&&Be.accountType===A.g.Res),fetchPolicy:"no-cache"}),xt=vt.data,jt=vt.loading,ht=Object(D.a)(y,Ne),yt=ht.form,It=ht.unEnrollIqbd,St=ht.submitForm,Nt=Object(Z.a)({ignoreNoAccounts:!0}).encryptedPersonId,Ct=Object($.a)().customer;Object(c.useEffect)((function(){Be&&Be.accountType!==A.g.Res&&nt({type:Y.a.Ineligible,reason:A.J.CustNotRes})}),[Be]),Object(c.useEffect)((function(){xt&&($e(!0),gt([]),Tt())}
1),[xt]),Object(c.useEffect)((function(){var e;ft||!Et||yt.values.prefLanguage||yt.setValue("prefLanguage",I.a.capitalize((null==Et||null===(e=Et.prefLanguage)||void 0===e?void 0:e.toLowerCase())||"English"))}),[ft]);var Tt=function(){var e=oe(r.a.mark((function e(){var t,n,o,i,l,c,s,u,b,d,p,g,m,O;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l=null==xt?void 0:xt.getAccountDetails[0],c=null==l||null===(t=l.premiseInfo)||void 0===t?void 0:t.find((function(e){return(null==e?void 0:e.addressLine1)===(null==Ve?void 0:Ve.addressLine1)&&(null==e?void 0:e.addressLine2)===(null==Ve?void 0:Ve.addressLine2)&&(null==e?void 0:e.city)===(null==Ve?void 0:Ve.city)&&(null==e?void 0:e.county)===(null==Ve?void 0:Ve.county)&&(null==e?void 0:e.state)===(null==Ve?void 0:Ve.state)&&(null==e?void 0:e.postal)===(null==Ve?void 0:Ve.postal)&&(null==e?void 0:e.country)===(null==Ve?void 0:Ve.country)})),(null==l||null===(n=l.IQBDStatus)||void 0===n?void 0:n.isEnrolled)?l.IQBDStatus.isSameAccountEnrolled?(nt({type:Y.a.Enrolled,discount:null===(s=l.IQBDStatus.discountTier)||void 0===s?void 0:s.replace("PCT","%"),expirationDate:l.IQBDStatus.expirationDate&&Object(X.e)(new Date(l.IQBDStatus.expirationDate),ye,!0)}),$e(!1),gt([a.Update,a.Unenroll])):(nt({type:Y.a.EnrolledFromAnotherAccount}),$e(!1)):(null==l||null===(o=l.IQBDStatus)||void 0===o?void 0:o.isPendingReview)?(nt({type:Y.a.PendingReview}),$e(!1)):(null==l||null===(i=l.IQBDStatus)||void 0===i?void 0:i.isExpired)?nt({type:Y.a.Expired}):(Je(!0),(null==c||null===(u=c.IQBDEligibility)||void 0===u?void 0:u.eligibility)&&!(null===(b=c.IQBDEligibility.eligibility)||void 0===b?void 0:b.isEligible)?(O={type:Y.a.IneligibleFromPrevApplication,reason:null==c||null===(d=c.IQBDEligibility)||void 0===d||null===(p=d.eligibility)||void 0===p?void 0:p.reason},(null==c||null===(g=c.IQBDEligibility)||void 0===g||null===(m=g.eligibility)||void 0===m?void 0:m.reason)!==A.J.Overincome&&($e(!1),O.type=Y.a.Ineligible),nt(O)):nt(null),Je(!1));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Lt=function(e){Ce(e),$e(!0),yt.reset(),e===o.Other?(nt(null),gt([])):Tt()},_t=v(oe(r.a.mark((function e(){var t,n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,It({accountNumber:null==Be?void 0:Be.accountNumber,encryptedPersonId:null==Be?void 0:Be.encryptedPersonId,encryptedPremiseId:null==Ve?void 0:Ve.encryptedPremiseId,unEnrollReason:"Customer Unenrolled"});case 3:if(t=e.sent,null==(n=t.data)?void 0:n.IQBDUnenroll.isUnenrolled){e.next=8;break}return x(!0),e.abrupt("return");case 8:nt({type:Y.a.UnEnrolled}),$e(!1),window.scrollTo({top:0,behavior:"smooth"}),e.next=17;break;case 13:e.prev=13,e.t0=e.catch(0),console.log(e.t0),x(!0);case 17:case"end":return e.stop()}}),e,null,[[0,13]])})))),At=v(function(){var e=oe(r.a.mark((function e(t){var n,a,i,l,c,s,u,b;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!ze){e.next=5;break}$e(!1),nt({type:Y.a.Ineligible,reason:A.J.MultiPremise}),e.next=20;break;case 5:return e.prev=5,i=(null==Be||null===(n=Be.IQBDStatus)||void 0===n?void 0:n.isEnrolled)&&Ne===o.Self||(null==tt?void 0:tt.type)===Y.a.Success&&Ne===o.Self||(null==tt?void 0:tt.type)===Y.a.Enrolled&&Ne===o.Self?A.K.Update:A.K.Enroll,l=G.a.fromFormState(y,t,Ne===o.Self?(null==Be?void 0:Be.accountNumber)||"":t.accountNumber||"",Ne===o.Self?null==Ve?void 0:Ve.encryptedPremiseId:Fe,Ne===o.Self?null==Be?void 0:Be.encryptedPersonId:Nt,null==Be?void 0:Be.accountNumber,null==Ve?void 0:Ve.encryptedPremiseId),Le(Ne),e.next=11,St(Object.assign({},l,{action:i}));case 11:(null==(c=e.sent)||null===(a=c.data)||void 0===a?void 0:a.IQBDEnroll.isEnrolled)?($e(!1),nt({type:Y.a.Success,discount:null===(s=c.data.IQBDEnroll.discountPercentage)||void 0===s?void 0:s.replace("PCT","%")})):((null==c||null===(u=c.data)||void 0===u?void 0:u.IQBDEnroll.reason)!==A.J.Overincome?$e(!1):($e(!1),gt([])),nt({type:Y.a.Ineligible,reason:null==c||null===(b=c.data)||void 0===b?void 0:b.IQBDEnroll.reason})),window.scrollTo({top:0,behavior:"smooth"}),e.next=20;break;case 16:e.prev=16,e.t0=e.catch(5),console.log(e.t0),x(!0);case 20:case"end":return e.stop()}}),e,null,[[5,16]])})));return function(t){return e.apply(this,arguments)}}());return Object(te.b)(s.a.Fragment,null,(Xe||jt)&&Object(te.b)(M.a,{forceOpen:!0}),Object(te.b)("form",{onSubmit:yt.submit((function(e){return At(e)}))},Object(te.b)(h.a,null,Object(te.b)("title",null,y.get("IQBD_PAGE_TITLE"))),Object(te.b)(P.a,{leftColumn:Object(te.b)(ee.a,null)},Object(te.b)(C.a,{container:!0,direction:"column",spacing:2},Object(te.b)(C.a,{item:!0},Object(te.b)(b.a,{css:Object(i.a)({fontFamily:"Forma-DJR-Display",letterSpacing:"0.72px",color:T.a.lightCyan,fontSize:"36px",lineHeight:"36px",fontWeight:"bold"},"")},y.get("PAGE_TITLE"))),Object(te.b)(C.a,{container:!0,direction:"row",justify:"space-between",css:le},Object(te.b)(d.a,{className:Object(S.default)(Ie.applyingForBox,Ne===o.Self&&Ie.selectedApplyingForBox,Ne&&Ie.miniApplyingForBox),onClick:function(){return Lt(o.Self)}},y.get("APPLYING_FOR_YOURSELF")),Object(te.b)(d.a,{className:Object(S.default)(Ie.applyingForBox,Ne===o.Other&&Ie.selectedApplyingForBox,Ne&&Ie.miniApplyingForBox),onClick:function(){return Lt(o.Other)}},y.get("APPLYING_FOR_SOMEONE_ELSE"))),Ne===o.Self?ut?Object(te.b)(Q.a,{content:y,selectedAccount:Be,selectedPremise:Ve,onSelectAccount:function(e,t){var n;Ue(e),(null===(n=e.premiseInfo)||void 0===n?void 0:n.length)&&We(e.premiseInfo[0]),t&&bt(!1)},onSelectPremise:function(e){We(e)}}):Object(te.b)(C.a,{item:!0,css:Object(i.a)({margin:"16px 0 10px 0",padding:"12px 18px",border:"1px solid "+T.a.lightGray1,backgroundColor:T.a.white,borderRadius:"4px",display:"flex",justifyContent:"space-between",alignItems:"center"},"")},Object(te.b)(b.a,{css:Object(i.a)({fontSize:"13px",color:T.a.darkSlateBlue},"")},null==Be?void 0:Be.accountNumber,(null==Be?void 0:Be.description)?" - "+(null==Be?void 0:Be.description):null),Object(te.b)(b.a,{css:Object(i.a)({fontSize:"13px",color:T.a.darkSlateBlue},"")},null==Ve?void 0:Ve.addressLine1," ",null==Ve?void 0:Ve.addressLine2)):null,tt&&Object(te.b)(Y.b,ne({content:y},tt,{formTypeActionButtonTypes:pt,handleUpdate:function(){$e(!0)},handleUnEnroll:_t,onClickDone:function(){nt(null),$e(!0)},selectedTab:Ne})),((null==tt?void 0:tt.type)===Y.a.Success||!Ze&&xt&&0===pt.length||Be&&Be.accountType!==A.g.Res)&&Object(te.b)(p.a,{"data-testid":"iqbd-form-success",variant:"outlined",color:"primary",css:Object(i.a)({backgroundColor:T.a.buttonHoverPrimary,borderColor:T.a.buttonHoverPrimary,color:T.a.white,borderRadius:"30px",fontSize:"18px",minWidth:"130px",paddingLeft:"64px",paddingRight:"64px",margin:"0 auto 30px","&:hover":{backgroundColor:T.a.buttonHoverPrimary,borderColor:T.a.buttonHoverPrimary,color:T.a.white,boxShadow:"none"}},""),onClick:function(){return Object(L.navigate)(_.a.ACCOUNT)}},(null==tt?void 0:tt.type)===Y.a.Success?y.get("DONE"):y.get("BACK_TO_MY_ACCOUNT")),Ze&&Object(te.b)(s.a.Fragment,null,Object(te.b)(C.a,{item:!0,css:Object(i.a)({boxShadow:"0px 3px 6px #0000004D",borderRadius:"4px",backgroundColor:T.a.riverBlue,padding:"20px !important",display:"flex",flexDirection:"column"},"")},Object(te.b)(d.a,null,Object(te.b)(b.a,{css:Object(i.a)({font:"Untitled-Sans",color:T.a.lightCyan,fontSize:"18px",lineHeight:"20px",marginBottom:"20px"},"")},ae(y.get("FORM_DESCRIPTION")))),Ne===o.Self?Object(te.b)(d.a,{className:Ie.formSection},Object(te.b)(b.a,{className:Ie.sectionHeading},y.get("ACCOUNT_HOLDER_INFO")),Object(te.b)(b.a,{className:Ie.sectionInfo},null==Be?void 0:Be.mainCustomerName),Object(te.b)(b.a,{className:Ie.sectionInfo},y.get("ACCOUNT_NUMBER"),":"," ",null==Be?void 0:Be.accountNumber,(null==Be?void 0:Be.description)?" - "+(null==Be?void 0:Be.description):null),Object(te.b)(b.a,{className:Ie.sectionInfo},y.get("PRIMARY_ADDRESS"),":"," ",null==Ve?void 0:Ve.addressLine1," ",null==Ve?void 0:Ve.addressLine2)):Object(te.b)(d.a,{className:Ie.formSection},Object(te.b)(b.a,{className:Ie.sectionHeading},y.get("ACCOUNT_HOLDER_INFO")),Object(te.b)(b.a,{className:Ie.sectionInfo},null==Ct?void 0:Ct.personName),Object(te.b)(b.a,{className:Ie.sectionInfo},null==Ct?void 0:Ct.email)),Ne===o.Other?Object(te.b)(d.a,{className:Ie.formSection},Object(te.b)(q.a,{form:yt,setPremiseId:Ye,setIsmultiPremiseId:Ge})):null,Object(te.b)(d.a,{className:Ie.formSection},Object(te.b)(b.a,{className:Ie.sectionHeading},y.get("HOUSEHOLD_INCOME_INFO_HEADING")),Object(te.b)(b.a,{className:Ie.sectionInfo,css:re},y.get("HOUSEHOLD_INCOME_DESC")),Object(te.b)(b.a,{className:Ie.sectionInfo,css:ce},y.get("HOUSEHOLD_INCOME_UNSURE_TEXT_1")," ",Object(te.b)(b.a,{component:"span",className:Ie.highlighted,onClick:function(){return He(!0)}},y.get("HOUSEHOLD_INCOME_UNSURE_TEXT_2")),"."),Object(te.b)(d.a,{mb:"20px"},Object(te.b)(B.a,{title:y.get("HOUSEHOLD_SIZE_TITLE"),selectedValue:yt.values.houseHoldSize?yt.values.houseHoldSize.toString():"",placeholder:y.get("PLEASE_SELECT"),options:Array.from({length:15},(function(e,t){return t+1})),onChange:function(e){yt.setValue("houseHoldSize",e)}}),yt.errors.houseHoldSize&&Object(te.b)(g.a,{error:!0},yt.errors.houseHoldSize)),Object(te.b)(d.a,{mb:"10px",css:se},Object(te.b)(b.a,{css:Object(i.a)({fontSize:"16px",lineHeight:"20px",color:T.a.lightCyan,display:"block"},"")},ae(y.get("NEED_HELP_CALCULATING_INCOME"))),Object(te.b)(N.a,{css:ue,onClick:function(){return Re(!Ae)}})),Ae&&Object(te.b)(d.a,{css:Object(i.a)({background:T.a.cloudGrey,borderRadius:"5px",padding:"30px 27px",marginBottom:"16
1px"},"")},Object(te.b)(b.a,{className:Ie.sectionInfo,css:be},y.get("CALCULATE_INCOME_TEXT_1")),Object(te.b)(b.a,{className:Ie.sectionInfo,css:de},y.get("CALCULATE_INCOME_TEXT_6")),Object(te.b)(b.a,{className:Ie.sectionInfo},y.get("CALCULATE_INCOME_TEXT_7")," ",Object(te.b)(b.a,{component:"span",className:Ie.highlighted},y.get("ASSISTANCE_PHONE_NUMBER")),".")),Object(te.b)(C.a,{xs:12,container:!0,css:pe},Object(te.b)(b.a,{className:Ie.sectionInfo},y.get("AVG_GROSS_ANNUAL_INCOME")),Object(te.b)(C.a,{container:!0,item:!0,spacing:2,css:ge},Object(te.b)(C.a,{item:!0,xs:5,md:3},Object(te.b)(H.a,{css:Object(i.a)({margin:l.spacing(0,0,0,0),"& label":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",width:"90%",fontSize:"16px",transform:"translate(14px, 16px) scale(1)","&.MuiInputLabel-shrink":{overflow:"unset"}},"& input":{height:"48px",fontSize:"16px",padding:"0 14px"}},""),label:y.get("INCOME"),placeholder:"income",onChange:function(e){var t=Number(e.target.value);it(t);var n=null;n=rt===y.get("MONTHLY")?12*t:rt===y.get("WEEKLY")?52*t:rt===y.get("BIWEEKLY")?26*t:t,yt.setValue("annualIncome",n.toString())},error:!1})),Object(te.b)(C.a,{item:!0,xs:2,md:1,css:me},Object(te.b)(b.a,{className:Ie.sectionInfo},y.get("PER"))),Object(te.b)(C.a,{item:!0,xs:5,md:2},Object(te.b)(B.a,{isWidth:!1,selectedValue:rt,placeholder:y.get("PLEASE_SELECT"),options:[y.get("WEEKLY"),y.get("BIWEEKLY"),y.get("MONTHLY"),y.get("ANNUAL")],onChange:function(e){ct(e);var t=null;rt!==e&&(t=e===y.get("MONTHLY")?12*ot:e===y.get("WEEKLY")?52*ot:e===y.get("BIWEEKLY")?26*ot:ot),yt.setValue("annualIncome",t)}}))),yt.errors.annualIncome&&Object(te.b)(g.a,{error:!0},yt.errors.annualIncome),rt&&Object(te.b)(b.a,{style:{marginTop:"16px",fontWeight:500}},y.get("CALCULATED_INCOME")," = $",(Number(yt.values.annualIncome)||0).toLocaleString())),Object(te.b)(d.a,{mb:"30px",css:yt.errors.confirmAnnualIncome?{"&>div>p:first-child":{color:T.a.errorRed}}:{}},Object(te.b)(m.a,{control:Object(te.b)(O.a,{color:yt.values.confirmAnnualIncome?"primary":"default",size:"medium",css:Oe}),checked:Boolean(yt.values.confirmAnnualIncome),onChange:function(){return yt.setValue("confirmAnnualIncome",!yt.values.confirmAnnualIncome)},label:Object(te.b)(b.a,{css:Object(i.a)({fontSize:"16px",marginLeft:"8px",color:yt.errors.confirmAnnualIncome?T.a.errorRed:T.a.lightCyan},"")},y.get("CONFIRM_ANNUAL_INCOME")),css:fe})),Object(te.b)(d.a,{mb:"30px"},Object(te.b)(U.a,{title:y.get("FIXED_INCOME"),yesOptionTitle:y.get("REUSABLE_YES"),noOptionTitle:y.get("REUSABLE_NO"),selectedValue:yt.values.fixedIncome,onChange:function(e){yt.setValue("fixedIncome",e)}}),yt.errors.fixedIncome&&Object(te.b)(g.a,{error:!0},yt.errors.fixedIncome)),Object(te.b)(d.a,null,Object(te.b)(d.a,{mb:yt.values.ethinicity===y.get("OTHER")?"0px":"40px"},Object(te.b)(B.a,{title:y.get("ETHNICITY_TEXT"),selectedValue:yt.values.ethinicity,placeholder:y.get("PLEASE_SELECT"),options:[y.get("ETHNICITY_1"),y.get("ETHNICITY_2"),y.get("ETHNICITY_3"),y.get("ETHNICITY_4"),y.get("ETHNICITY_5"),y.get("ETHNICITY_6"),y.get("ETHNICITY_7"),y.get("ETHNICITY_8"),y.get("ETHNICITY_9"),y.get("OTHER"),y.get("PREFER_NOT_TO_RESPOND")],onChange:function(e){yt.setValue("ethinicity",e)}}),yt.errors.ethinicity&&Object(te.b)(g.a,{error:!0},yt.errors.ethinicity))),"Other"===yt.values.ethinicity&&Object(te.b)(d.a,{mb:"40px"},Object(te.b)(k.a,{name:y.get("OTHER_ETHNICITY"),label:y.get("OTHER_ETHNICITY"),value:yt.values.otherEthnicity,onChange:function(e){yt.setValue("otherEthnicity",e.target.value)},css:Object(i.a)({margin:l.spacing(2,0,0,0),width:"315px !important","& label":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",width:"90%",fontSize:"16px",transform:"translate(14px, 16px) scale(1)","&.MuiInputLabel-shrink":{overflow:"unset"}},"& input":{height:"48px",fontSize:"16px",padding:"0 14px"}},"")}),yt.errors.otherEthnicity&&Object(te.b)(g.a,{error:!0},yt.errors.otherEthnicity)),Object(te.b)(d.a,null,Object(te.b)(d.a,{mb:"40px"},Object(te.b)(B.a,{title:y.get("PREFERRED_CONTACT_LANGUAGE"),placeholder:y.get("PLEASE_SELECT"),selectedValue:yt.values.prefLanguage,options:Object.keys(z.a),onChange:function(e){yt.setValue("prefLanguage",e)}}),yt.errors.prefLanguage&&Object(te.b)(g.a,{error:!0},yt.errors.prefLanguage))),!(null==Be||null===(n=Be.isPaperlessBillEnrolled)||void 0===n?void 0:n.result)&&Ne===o.Self&&Ob
1ject(te.b)(d.a,{mb:"30px",css:Ee},Object(te.b)(U.a,{title:y.get("ENROLLED_IN_PAPERLESS"),yesOptionTitle:y.get("SWITCH_TO_PAPERLESS"),noOptionTitle:y.get("MAIL"),selectedValue:yt.values.paperless?y.get("REUSABLE_YES"):y.get("REUSABLE_NO"),onChange:function(e){yt.setValue("paperless",e===y.get("REUSABLE_YES"))}}),Object(te.b)(b.a,{component:"span",css:ve},y.get("PAPERLESS_DESC")),yt.errors.paperless&&Object(te.b)(g.a,{error:!0},yt.errors.paperless))),Object(te.b)(d.a,{className:Ie.formSection},Object(te.b)(b.a,{className:Ie.sectionHeading},y.get("DECLARATION")),Object(te.b)(f.a,{component:"ol",className:Ie.sectionInfo,css:xe},Object(te.b)(E.a,{component:"li",className:Ie.listItem},y.get("DECLARATION_TEXT_1")),Object(te.b)(E.a,{component:"li",className:Ie.listItem},y.get("DECLARATION_TEXT_2")),Object(te.b)(E.a,{component:"li",className:Ie.listItem},y.get("DECLARATION_TEXT_3"))),Object(te.b)(b.a,{className:Ie.sectionInfo,css:je},ae(y.get("ELECTRONIC_SIGNATURE_DECLARATION"))),Object(te.b)(b.a,{css:Object(i.a)({fontFamily:"Forma-DJR-Display",fontSize:"18px",lineHeight:"28px",fontWeight:"bold",letterSpacing:"0.36px",color:T.a.lightCyan},"")},y.get("ELECTRONIC_SIGNATURE")),Object(te.b)(k.a,{name:y.get("ENTER_FULL_NAME"),label:y.get("ENTER_FULL_NAME"),value:yt.values.signature,onChange:function(e){yt.setValue("signature",e.target.value)},css:Object(i.a)({margin:l.spacing(2,0,0,0),width:"315px !important","& label":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",width:"90%",fontSize:"16px",transform:"translate(14px, 16px) scale(1)","&.MuiInputLabel-shrink":{overflow:"unset"}},"& input":{height:"48px",fontSize:"16px",padding:"0 14px"}},"")}),yt.errors.signature&&Object(te.b)(g.a,{error:!0},yt.errors.signature))),Object(te.b)(d.a,{css:he},Object(te.b)(p.a,{variant:"outlined",color:"primary",className:Ie.button,onClick:function(){return Object(L.navigate)(_.a.ACCOUNT)}},y.get("REUSABLE_CANCEL")),Object(te.b)(p.a,{type:"submit",className:Ie.button,css:Object(i.a)({backgroundColor:T.a.buttonHoverPrimary,border:"1px solid "+T.a.buttonHoverPrimary,color:T.a.white,"&:hover":{backgroundColor:T.a.buttonHoverPrimary,borderColor:T.a.buttonHoverPrimary,color:T.a.white}},"")},(null==tt?void 0:tt.type)===Y.a.Enrolled||(null==tt?void 0:tt.type)===Y.a.Success?y.get("ENROLL"):y.get("SUBMIT"))))),Object(te.b)(F.a,{isOpen:De,content:y,handleClose:function(){return He(!1)}}))))}))}}]); 2//# sourceMappingURL=2b1db167-9771949f375eb475d58c.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.