PageSourceSearch

https://www.causes.com/_next/static/chunks/1182-a9aa41f3c7f3b1a4.js

js causes.com collected 2026-09-24 08:36:11 UTC 21,657 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1182],{38233:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(57683),i=n(12691);let s=(0,r.Ay)("div")(function(e){return e.theme,{paddingBottom:"55px",position:"relative",marginTop:"".concat(i.Ce,"px"),".accountPageWrapper":{display:"flex",justifyContent:"center",padding:"0px 5px","@media (max-width:621px)":{padding:0},minHeight:"992px"},".resetPasswordWrapper":{maxWidth:"1028px",position:"relative",margin:"auto",padding:"18px 5px 0px 5px"},".resetPasswordText":{display:"inline-block",paddingRight:"24px"}}})},50694:(e,t,n)=>{n.d(t,{A:()=>f}),n(14232);var r=n(34711),i=n(39548),s=n(81490),a=n(65484),o=n(96743),l=n(48230),c=n.n(l),d=n(89099),p=n(44128),x=n(57683),u=n(45793),m=(0,x.Ay)("div")(function(e){var t=e.theme;return{".backgroundTop":{position:"absolute",width:"100%",height:"254px",backgroundColor:t.palette.primary.main},".backgroundBottom":{position:"absolute",width:"100%",top:"254px",height:"calc(100% - 254px)",backgroundColor:"#E5E5E5"},".navCardWrapper":{display:"flex",justifyContent:"center",padding:"32px 5px 24px 5px","@media (max-width:621px)":{padding:0}},".navCard":{zIndex:1,width:"100%",maxWidth:"1028px",padding:"32px 2px 0px 4px",borderRadius:"8px",boxShadow:"none","@media (max-width:621px)":{zIndex:2,padding:0,borderRadius:0,boxShadow:"0px 4px 5px rgba(0, 0, 0, 0.14), 0px 1px 10px rgba(0, 0, 0, 0.12), 0px 2px 4px ".concat(u.A2)},".titleText":{fontWeight:700,fontSize:"23px",paddingLeft:"15px",paddingBottom:"5px"},".lifetimeText":{fontWeight:700,display:"inline-block",paddingRight:"12px"},".lifetimeAmount":{color:t.palette.primary.main,display:"inline-block",marginRight:"20px"},".linkText":{"&:hover":{cursor:"pointer",filter:"brightness(0.6)",boxShadow:"inset 0 0 100px 100px rgba(255, 255, 255, 0.1)"},padding:"10px 15px",marginRight:"15px",textDecoration:"none",fontSize:"20px",width:"auto",display:"inline-grid","@media (max-width:621px)":{padding:"10px 0px 6px 0px",marginRight:"0px",fontSize:"14px",fontWeight:600,width:"100%"},"@media (max-width:830px)":{marginRight:"5px"}}}}}),h=n(37876);let f=function(e){var t=e.user,n=(0,d.useRouter)().route,l=(0,r.A)("(max-width:621px)"),x=(0,i.A)(),u=function(e){var t,r=l?x.palette.primary.main:"#000000";return{color:n===e?r:(null==x||null==(t=x.palette)||null==(t=t.grey)?void 0:t[800])||"#00000099",fontWeight:n===e?700:400,borderBottomStyle:n===e?"solid":"none"}},f=null==t?void 0:t.getUser,g=(null==f?void 0:f.lifetimeDonations)/100||0,A=(null==g?void 0:g.toFixed(2))||"0.00";return t?(0,h.jsxs)(m,{children:[(0,h.jsx)("div",{className:"backgroundTop"}),(0,h.jsx)("div",{className:"backgroundBottom"}),(0,h.jsx)("div",{className:"navCardWrapper",children:(0,h.jsxs)(o.A,{raised:!0,className:"navCard",children:[!l&&(0,h.jsxs)(s.A,{container:!0,justifyContent:"space-between",children:[(0,h.jsx)(s.A,{children:(0,h.jsx)(a.A,{className:"titleText",children:"My Account"})}),(0,h.jsxs)(s.A,{children:[(0,h.jsx)(a.A,{className:"lifetimeText",children:"Lifetime Donations"}),(0,h.jsxs)(a.A,{className:"lifetimeAmount",children:["$",A]})]})]}),(0,h.jsx)(s.A,{container:!0,textAlign:l?"center":"left",children:[{text:"Profile",href:(0,p.FX)(t),sx:u("/users/[username]")},{text:"".concat(l?"":"Personal ","Info"),href:p.WR,sx:u(p.WR)},{text:"Settings",href:p.Xf,sx:u(p.Xf)},{text:"".concat(l?"":"My ","Donations"),href:p.fv,sx:u(p.fv)},{text:"Tax Doc",href:p.Ri,sx:u(p.Ri)}].map(function(e){return(0,h.jsx)(s.A,{size:{xs:l?2.2:"auto"},children:(0,h.jsx)(c(),{href:e.href,children:(0,h.jsx)(a.A,{className:"linkText",sx:e.sx,children:e.text})})},e.text)})})]})})]}):(0,h.jsx)(h.Fragment,{})}},66651:(e,t,n)=>{n.d(t,{A:()=>es});var r=n(63857),i=n(27925),s=n(43081),a=n.n(s),o=n(14232),l=n(41802),c=n(61350),d=n(27220),p=n(82782),x=n(81490),u=n(52189),m=n(12524),h=n(65484),f=n(87560),g=n(94555),A=n(42969),j=n(71090),y=n(42118),b=n(22054),v=n(37363),w=n(39548),N=n(34711),C=n(25778),T=n(44254),P=n(14780),O=n(3412),S=n(21911),z=n(52833),k=n(65401),B=n(95417),I=n(88992),D=n(91408),W=n(57683),R=n(96709),E=(0,W.Ay)(R.A)({".contentContainer":{padding:"30px 40px 30px 40px !important"},".formContents":{maxWidth:"705px",margin:"auto"},".fieldGrid":{paddingBottom:"24px",input:{paddingTop:"10px",paddingBottom:"10px"}},".fieldLabelText":{fontSize:"12px"},".iconButton":{position:"absolute",right:8,top:8},".dialogTitle":{padding:"28px 42px 0px 42px"},".titleText":{fontWeight:700,fontSize:"24px"},".disclaimerText":{marginBottom:"20px"},".saveButtonGrid":{marginTop:"20px"}
1,".errorAlert":{marginBottom:"16px"}}),F=n(37876);function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach(function(t){(0,A.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var _=D.Ik().shape({oldPassword:D.Yj().required("Current password is required"),newPassword:D.Yj().required("New password is required").min(8,"Password must be at least 8 characters").max(50,"Must be 50 characters or less").matches(/(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[-+_!@#$%^&*.,?])/,"Password must contain at least one uppercase, one lowercase, one digit, and one symbol."),confirmNewPassword:D.Yj().required("Please confirm your new password").oneOf([D.KR("newPassword")],"Passwords do not match")});let M=function(e){var t,n,i,s,l=e.open,c=e.handleClose,d=(0,g.S)().setLoadingSpinner,p=(0,o.useState)(!1),m=p[0],f=p[1],A=(0,o.useState)(!1),D=A[0],W=A[1],R=(0,o.useState)(null),L=R[0],M=R[1],U=(0,I.mN)({resolver:(0,j.t)(_)}),Z=U.register,q=U.formState.errors,X=U.handleSubmit,J=U.reset,Y=function(){J(),M(null),f(!1),W(!1),c()},$=(t=(0,r.A)(a().mark(function e(t){var n;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return M(null),d(!0),e.prev=2,e.next=5,B.N.currentAuthenticatedUser();case 5:return n=e.sent,e.next=8,B.N.changePassword(n,t.oldPassword,t.newPassword);case 8:J(),f(!1),W(!1),c(),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(2),"NotAuthorizedException"===e.t0.code?M("Current password is incorrect. Please try again."):"LimitExceededException"===e.t0.code?M("Too many attempts. Please try again later."):M(e.t0.message||"An error occurred. Please try again.");case 17:return e.prev=17,d(!1),e.finish(17);case 20:case"end":return e.stop()}},e,null,[[2,14,17,20]])})),function(e){return t.apply(this,arguments)}),H=(0,w.A)(),K=(0,N.A)(H.breakpoints.down("sm")),V=(0,g.S)().isMobileApp,Q=function(e,t){return(0,F.jsx)(C.A,{position:"end",children:(0,F.jsx)(T.A,{onClick:t,edge:"end","aria-label":"toggle password visibility",children:e?(0,F.jsx)(v.A,{}):(0,F.jsx)(b.A,{})})})};return(0,F.jsxs)(E,{onClose:Y,open:l,fullScreen:K,sx:V?{marginTop:"50px"}:{},children:[(0,F.jsxs)(P.A,{className:"dialogTitle",children:[(0,F.jsx)(h.A,{className:"titleText",children:"Change Password"}),(0,F.jsx)(h.A,{className:"disclaimerText",children:"Choose a strong password for your account."}),(0,F.jsx)(T.A,{className:"iconButton","aria-label":"close",onClick:Y,children:(0,F.jsx)(y.A,{})}),(0,F.jsx)(O.A,{})]}),(0,F.jsx)(S.A,{className:"contentContainer",children:(0,F.jsxs)("form",{id:"changePassword",className:"formContents",children:[(0,F.jsxs)(x.A,{container:!0,children:[L&&(0,F.jsx)(x.A,{size:12,className:"errorAlert",children:(0,F.jsx)(z.A,{severity:"error",children:L})}),(0,F.jsxs)(x.A,{size:12,className:"fieldGrid",children:[(0,F.jsx)(h.A,{className:"fieldLabelText",children:"Current Password"}),(0,F.jsx)(k.A,G({fullWidth:!0,variant:"outlined",type:m?"text":"password",error:!!q.oldPassword,helperText:null==(n=q.oldPassword)?void 0:n.message,InputProps:{endAdornment:Q(m,function(){return f(function(e){return!e})})}},Z("oldPassword")))]}),(0,F.jsxs)(x.A,{size:12,className:"fieldGrid",children:[(0,F.jsx)(h.A,{className:"fieldLabelText",children:"New Password"}),(0,F.jsx)(k.A,G({fullWidth:!0,variant:"outlined",type:D?"text":"password",error:!!q.newPassword,helperText:null==(i=q.newPassword)?void 0:i.message,InputProps:{endAdornment:Q(D,function(){return W(function(e){return!e})})}},Z("newPassword")))]}),(0,F.jsxs)(x.A,{size:12,className:"fieldGrid",children:[(0,F.jsx)(h.A,{className:"fieldLabelText",children:"Confirm New Password"}),(0,F.jsx)(k.A,G({fullWidth:!0,variant:"outlined",type:D?"text":"password",error:!!q.confirmNewPassword,helperText:null==(s=q.confirmNewPassword)?void 0:s.message,InputProps:{endAdornment:Q(D,function(){return W(function(e){return!e})})}},Z("confirmNewPassword")))]})]}),(0,F.jsxs)(x.A,{container:!0,direction:"row-reverse",children:[(0,F.jsx)(x.A,{className:"saveButtonGrid",children:(0,F.jsx)(u.A,{variant:"contained",color:"primary",size:"large",onClick:X($),children:"Save"})}),(0,F.jsx)(x.A,{className:"saveButtonGrid",children:(0,F.jsx)(u.A,{variant:"outlined",color:"primary",size:"large",onClick:Y,style:{marginRight:"20px"},children:"Cancel"})})]})]})})]})};var U=n(59860),Z=n(79762),q=n(41842),X=n(97304),J=n(85674),Y=n(91847),$=n(60696),H=n(84091),K=(0,W.Ay)(R.A)({".contentContainer":{padding:"30px 40px 30px 40px !important"},".formContents":{maxWidth:"705px",margin:"auto"},".mappedFieldGrid":{paddingBottom:"24px",input:{paddingTop:"10px",paddingBottom:"10px"}},".fieldLabelText":{fontSize:"12px"},".stateFormControl":{minWidth:"120px",margin:0},".countryFormControl":{width:"100%",margin:0},".countryField":{paddingRight:"0"},".phoneField":{marginTop:"24px"},".stateZip":{paddingBottom:"24px",input:{paddingTop:"10px",paddingBottom:"10px"}},".stateZip.stateField":{paddingRight:"12.5px","@media (max-width:599px)":{paddingRight:"12px"}},".stateZip.zipField":{paddingLeft:"12.5px","@media (max-width:599px)":{paddingLeft:"12px"}},".stateMenuItem":{div:{paddingTop:"10px",paddingBottom:"10px"}},".countryMenuItem":{div:{paddingTop:"10px",paddingBottom:"10px"}},".dividerGrid":{paddingTop:"24px",paddingBottom:"20px"},".cashOutCheckbox":{paddingLeft:"0px"},".cashOutText":{display:"inline-block",verticalAlign:"middle"},".iconButton":{position:"absolute",right:8,top:8},".dialogTitle":{padding:"28px 42px 0px 42px"},".titleText":{fontWeight:700,fontSize:"24px"},".disclaimerText":{marginBottom:"20px"},".saveButtonGrid":{marginTop:"20px"}}),V=["onChange"];function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?Q(Object(n),!0).forEach(function(t){(0,A.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}let et=function(e){var t,n=e.open,i=e.handleClose,s=e.email,l=e.streetAddress,c=e.city,d=e.state,p=e.zipCode,m=e.county,f=e.congressionalDistrict,A=e.country,j=e.phone,b=e.cashOut,v=e.userID,C=(0,g.S)(),z=C.setLoadingSpinner,D=C.fetchUserInfo,W=(0,I.mN)(ee({},Y.A)),R=W.register,E=W.formState.errors,L=W.handleSubmit,G=W.setValue,_=W.trigger,M=W.control,Q=["Email","Street Address","City","County","Phone"],et=function(){G("email",s),G("streetAddress",l),G("city",c),G("state",d),G("zipCode",p),G("county",m),G("country",A),G("phone",j),G("cashOut",b)};function en(){return(en=(0,r.A)(a().mark(function e(t){var n,i,s,o;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=JSON.stringify({formatted:"".concat(t.streetAddress,", ").concat(t.city,", ").concat(t.state," ").concat(t.zipCode).concat(t.country?", ".concat(t.country):""),street_address:t.streetAddress,locality:t.city,region:t.state,postal_code:t.zipCode,country:t.country}),i={email:t.email,address:n},e.next=4,B.N.currentAuthenticatedUser();case 4:return s=e.sent,o={email:t.email,cashOut:t.cashOut,address:null},(t.streetAddress||t.city||t.state||t.zipCode||t.county||t.country||t.phone)&&(o.address={street:t.streetAddress||"",city:t.city||"",state:t.state||"",zip:t.zipCode||"",country:t.country||"",county:t.county||"",location:null,congressionalDistrict:f,phone:t.phone||""}),e.next=9,B.N.updateUserAttributes(s,i).then(function(){(0,H.Gjm)(v,o).then((0,r.A)(a().mark(function e(){return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,D(v);case 2:case"end":return e.stop()}},e)})))});case 9:case"end":return e.stop()}},e)}))).apply(this,arguments)}(0,o.useEffect)(function(){et()},[s,l,c,d,p,m,A,j,b]);var er=(t=(0,r.A)(a().mark(function e(t){return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return z(!0),e.next=3,function(e){return en.apply(this,arguments)}(t);case 3:z(!1),i();case 5:case"end":return e.stop()}},e)})),function(e){return t.apply(this,arguments)}),ei=function(){et(),i(),_()},es=function(e,t){var n=e.split(" ")[0].toLowerCase(),r=e.split(" ");r[0]=n;var i=r.join(""),s=E[i]?E[i]:{message:""},a=R(i),o=a.onChange,l=(0,U.A)(a,V);return(0,F.jsxs)(x.A,{size:12,className:"mappedFieldGrid",children:[(0,F.jsx)(h.A,{className:"fieldLabelText",children:e}),(0,F.jsx)(k.A,ee({fullWidth:!0,disabled:["Email"].includes(e),variant:"outlined",id:i,error:!!(s&&s.message),helperText:s?s.message:null,onChange:o},l))]},t)},ea=(0,w.A)(),eo=(0,N.A)(ea.breakpoints.down("sm")),el=(0,g.S)().isMobileApp;return(0,F.jsx)(F.Fragment,{children:(0,F.jsxs)(K,{onClose:ei,open:n,fullScreen:eo,sx:el?{marginTop:"50px"}:{},children:[(0,F.jsxs)(P.A,{className:"dialogTitle",children:[(0,F.jsx)(h.A,{className:"titleText",children:"Edit Private Info"}),(0,F.jsx)(h.A,{className:"disclaimerText",children:"Only you can see this information."}),(0,F.jsx)(T.A,{className:"iconButton","aria-label":"close",onClick:ei,children:(0,F.jsx)(y.A,{})}),(0,F.jsx)(O.A,{})]}),(0,F.jsx)(S.A,{className:"contentContainer",children:(0,F.jsxs)("form",{id:"personalInfoEdit",className:"formContents",children:[(0,F.jsxs)(x.A,{container:!0,children:[Q.map(function(e,t){return"Phone"!==e?es(e,t):null}),(0,F.jsxs)(x.A,{size:6,className:"stateZip stateField",children:[(0,F.jsx)(h.A,{className:"fieldLabelText",children:"State"}),(0,F.jsx)(Z.A,{className:"stateFormControl",children:(0,F.jsx)(I.xI,{control:M,name:"state",render:function(e){var t=e.field;return(0,F.jsx)(q.A,{onChange:function(e){return t.onChange(e.target.value)},value:t.value,className:"stateMenuItem",children:$.xP.map(function(e){return(0,F.jsx)(X.A,{value:e.code,children:e.code},e.code)})})}})})]}),(0,F.jsxs)(x.A,{size:6,className:"stateZip zipField",children:[(0,F.jsx)(h.A,{className:"fieldLabelText",children:"Zip Code"}),(0,F.jsx)(k.A,ee({fullWidth:!0,variant:"outlined",id:"zipCode",error:!!E.zipCode,helperText:E.zipCode?E.zipCode.message:null},R("zipCode")))]}),(0,F.jsxs)(x.A,{size:12,className:"countryField",children:[(0,F.jsx)(h.A,{className:"fieldLabelText",children:"Country"}),(0,F.jsx)(Z.A,{className:"countryFormControl",children:(0,F.jsx)(I.xI,{control:M,name:"country",render:function(e){var t=e.field;return(0,F.jsx)(q.A,{onChange:function(e){return t.onChange(e.target.value)},value:t.value,className:"countryMenuItem",children:$.Xr.map(function(e,t){return(0,F.jsx)(X.A,{value:e.country,children:e.country},t)})})}})})]}),(0,F.jsx)(x.A,{size:12,className:"phoneField",children:Q.map(function(e,t){return"Phone"===e?es(e,t):null})}),(0,F.jsx)(x.A,{size:12,className:"",children:"The congressional district cannot currently be changed."}),(0,F.jsx)(x.A,{size:12,className:"dividerGrid",children:(0,F.jsx)(O.A,{})}),(0,F.jsxs)(x.A,{size:12,children:[(0,F.jsx)(I.xI,{name:"cashOut",control:M,render:function(e){var t=e.field;return(0,F.jsx)(J.A,ee(ee({},t),{},{checked:t.value,onChange:function(e){return t.onChange(e.target.checked)}}))}}),(0,F.jsx)(h.A,{className:"cashOutText",children:"Show me cash-out when available"})]})]}),(0,F.jsxs)(x.A,{container:!0,direction:"row-reverse",children:[(0,F.jsx)(x.A,{className:"saveButtonGrid",children:(0,F.jsx)(u.A,{variant:"contained",color:"primary",size:"large",onClick:L(er),children:"Save"})}),(0,F.jsx)(x.A,{className:"saveButtonGrid",children:(0,F.jsx)(u.A,{variant:"outlined",color:"primary",size:"large",onClick:ei,style:{marginRight:"20px"},children:"Cancel"})})]})]})})]})})};var en=n(96743),er=(0,W.Ay)(en.A)(function(e){var t=e.theme;return{zIndex:1,padding:"32px",width:"100%",maxWidth:"1028px",borderRadius:"8px","@media (max-width:621px)":{borderRadius:0},".titleGrid":{justifyContent:"right"},".subtitleIcon":{display:"inline-block",color:t.palette.primary.main,verticalAlign:"top",marginRight:"9px"},".infoBox":{display:"inline-block"},".infoBoxNotifications":{display:"inline-block",marginBottom:"30px"},".subtitleText":{fontSize:"20px",fontWeight:700,marginBottom:"16
1px",display:"inline-block"},".infoText":{fontSize:"18px",color:t.palette.grey[800]},".addressItem":{padding:"30px 0px"},".cashoutItem":{padding:"30px 0px"}}}),ei=n(12619);let es=function(){var e,t,n,s=(0,g.S)().user,A=null==(t=(0,f.J)().user)?void 0:t.attributes,j=null!=A&&A.sub?A.sub:"",y=null!=A&&A.address?JSON.parse(A.address):"",b=null!=A&&A.email?A.email:"",v=y.street_address?y.street_address:"",w=y.locality?y.locality:"",N=y.region?y.region:"",C=y.postal_code?y.postal_code:"",T=(null==s||null==(n=s.getUser)?void 0:n.cashOut)||!1,P=o.useState(!1),O=(0,i.A)(P,2),S=O[0],z=O[1],k=o.useState(!1),B=(0,i.A)(k,2),I=B[0],D=B[1],W=o.useState(b),R=(0,i.A)(W,2),E=R[0],L=R[1],G=o.useState(v),_=(0,i.A)(G,2),U=_[0],Z=_[1],q=o.useState(w),X=(0,i.A)(q,2),J=X[0],Y=X[1],$=o.useState(N),H=(0,i.A)($,2),K=H[0],V=H[1],Q=o.useState(C),ee=(0,i.A)(Q,2),en=ee[0],es=ee[1],ea=o.useState(""),eo=(0,i.A)(ea,2),el=eo[0],ec=eo[1],ed=o.useState(null),ep=(0,i.A)(ed,2),ex=ep[0],eu=ep[1],em=o.useState(""),eh=(0,i.A)(em,2),ef=eh[0],eg=eh[1],eA=o.useState(""),ej=(0,i.A)(eA,2),ey=ej[0],eb=ej[1],ev=o.useState(T),ew=(0,i.A)(ev,2),eN=ew[0],eC=ew[1],eT=(e=(0,r.A)(a().mark(function e(){var t,n;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:L(b),(n=null==s||null==(t=s.getUser)?void 0:t.address)&&(n.street||n.city||n.state||n.zip||n.phone)?(Z(n.street),Y(n.city||""),V(n.state||""),es(n.zip||""),ec(n.county||""),eu(void 0!==n.congressionalDistrict?n.congressionalDistrict:null),eg(n.country||""),eb(n.phone||"")):(Z(v),Y(w),V(N),es(C),eC(T));case 3:case"end":return e.stop()}},e)})),function(){return e.apply(this,arguments)});return(0,o.useEffect)(function(){eT()},[A,s]),(0,F.jsxs)(er,{children:[(0,F.jsx)(x.A,{container:!0,className:"titleGrid",children:(0,F.jsx)(x.A,{children:(0,F.jsx)(u.A,{variant:"contained",color:"primary",disabled:!A||!s,onClick:function(){z(!0)},children:"Edit"})})}),(0,F.jsxs)(x.A,{container:!0,direction:"column",children:[(0,F.jsxs)(x.A,{children:[(0,F.jsx)(l.A,{className:"subtitleIcon"}),(0,F.jsxs)(m.A,{className:"infoBox",children:[(0,F.jsx)(h.A,{className:"subtitleText",children:"Email"}),A?(0,F.jsx)(h.A,{className:"infoText",children:E}):(0,F.jsx)(ei.A,{})]})]}),(0,F.jsxs)(x.A,{className:"addressItem",children:[(0,F.jsx)(d.A,{className:"subtitleIcon"}),(0,F.jsxs)(m.A,{className:"infoBox",children:[(0,F.jsx)(h.A,{className:"subtitleText",children:"Mailing Address"}),A?(0,F.jsxs)(F.Fragment,{children:[!(U||J||K||en)&&(0,F.jsx)(h.A,{className:"infoText",children:"No address provided"}),(0,F.jsx)(h.A,{className:"infoText",children:U}),(0,F.jsxs)(h.A,{className:"infoText",children:[J?"".concat(J,","):""," ",K," ",en]}),(0,F.jsx)(h.A,{className:"infoText",children:ef})]}):(0,F.jsx)(ei.A,{})]})]}),(0,F.jsxs)(x.A,{children:[(0,F.jsx)(p.A,{className:"subtitleIcon"}),(0,F.jsxs)(m.A,{className:"infoBox",children:[(0,F.jsx)(h.A,{className:"subtitleText",children:"Phone"}),A?(0,F.jsx)(h.A,{className:"infoText",children:ey||"No phone number provided"}):(0,F.jsx)(ei.A,{})]})]}),(0,F.jsx)(x.A,{className:"addressItem",children:(0,F.jsxs)(m.A,{className:"infoBox",children:[(0,F.jsx)(c.A,{className:"subtitleIcon"}),(0,F.jsx)(h.A,{className:"subtitleText",children:"Other Information"}),A?(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(h.A,{className:"infoText",children:["County: ",el||"no county information available"]}),(0,F.jsxs)(h.A,{className:"infoText",children:["Congressional District: ",ex||"no district information available"]})]}):(0,F.jsx)(ei.A,{})]})}),(0,F.jsx)(x.A,{style:{marginTop:"24px"},children:(0,F.jsx)(u.A,{variant:"outlined",color:"primary",disabled:!A,onClick:function(){return D(!0)},children:"Change Password"})})]}),(0,F.jsx)(M,{open:I,handleClose:function(){return D(!1)}}),(0,F.jsx)(et,{open:S,handleClose:function(){z(!1)},email:E,streetAddress:U,city:J,state:K,zipCode:en,county:el,congressionalDistrict:ex,country:ef,phone:ey,cashOut:eN,userID:j})]})}},91847:(e,t,n)=>{n.d(t,{A:()=>d});var r=n(42969),i=n(71090),s=n(91408),a=n(62796);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?o(Object(n),!0).forEach(function(t){(0,r.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var c=s.Ik().shape(l(l(l(l(l({},a.au),a.uT),a.nt),a.RS),a.IT));let d={resolver:(0,i.t)(c)}}}]);

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.