PageSourceSearch

https://www.causes.com/_next/static/chunks/pages/discover-8ba9757d5d2df75d.js

js causes.com collected 2026-09-24 08:34:55 UTC 24,519 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[781],{12628:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(82893),r=n(37876);let o=(0,i.A)((0,r.jsx)("path",{d:"M7 11v2h10v-2zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"RemoveCircleOutline")},16194:(e,t,n)=>{"use strict";n.d(t,{A:()=>z});var i=n(42969),r=n(59860),o=n(14232),a=n(59017),s=n(42118),l=n(12628),d=n(96743),c=n(44254),p=n(28778),h=n(12524);n(48230),n(44128);var x=n(45793),g=n(95608),u=n(39386),m=n(42952),f=n(75621),v=n(57683),j=(0,v.Ay)(c.A)({fontSize:"10px",width:"18px",height:"18px"});(0,v.Ay)(f.A)({fontSize:"16px",fontWeight:"bold"});var y=n(37876);let A=function(e){var t=e.clicked,n=e.alreadyAdded,i=void 0!==n&&n,r=e.handleClick;return(0,y.jsx)(j,{onClick:void 0===r?function(){}:r,sx:{color:"#353494"},size:"large",disabled:i,children:void 0!==t&&t||i?(0,y.jsx)(u.A,{}):(0,y.jsx)(m.A,{})})};var b=(0,v.Ay)("div")(function(e){var t=e.theme;return{".cardContent":{display:"flex",height:"100px"},".cardTextArea":{flexGrow:1,width:"300px",paddingLeft:10,paddingTop:5,paddingBottom:5,overflow:"hidden",display:"flex",flexDirection:"column",justifyContent:"space-between"},".cardTitle":{color:"#000000",padding:"0",paddingRight:"2px",margin:"0",whiteSpace:"nowrap",textOverflow:"ellipsis",display:"block",fontSize:"1.15em",overflow:"hidden",textAlign:"left"},".cardTitleAlone":{color:"#000000",padding:"0",paddingRight:"2px",margin:"0",whiteSpace:"nowrap",textOverflow:"ellipsis",display:"block",fontSize:"1.2em",overflow:"hidden",textAlign:"left"},".cardStatus":{marginBottom:"10px",fontSize:"12px"},".cardLearnMore":{marginBottom:10,color:x.iV,textDecoration:"none"},".plusButtonContainer":{display:"flex",flexDirection:"column",justifyContent:"flex-end",marginRight:10,marginBottom:10},".chatbotButton":{color:t.palette.primary.light,fontSize:"10px",width:"18px",height:"18px"},".buttonsContainer":{display:"flex",columnGap:"5px"},".cardTitleLink":{all:"inherit",cursor:"pointer",textDecoration:"none",padding:0}}}),C=["id","imgSrc","imgTitle","imgHeight","cardTitle","description","plusButton","populated","addSelectedOrganization","addToFavorites","removeFromFavorites","deleteButton","handleDialogOpen","index","featured","featuredEINs","removeTempCause","addTempCause","cityLocation","stateLocation","chatbot","handleButtonClick","added","status"];function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach(function(t){(0,i.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}let z=function(e){var t=e.id,n=e.imgSrc,i=void 0===n?"":n,u=e.imgTitle,m=e.imgHeight,f=e.cardTitle,v=void 0===f?"":f,j=e.description,w=void 0===j?"":j,z=e.plusButton,O=e.populated,T=e.addSelectedOrganization,I=e.addToFavorites,N=e.removeFromFavorites,k=e.deleteButton,F=e.handleDialogOpen,D=e.index,B=e.featured,W=e.featuredEINs,G=void 0===W?{}:W,P=e.removeTempCause,_=void 0===P?function(){}:P,E=e.addTempCause,L=void 0===E?function(){}:E,M=e.cityLocation,R=e.stateLocation,H=e.chatbot,U=e.handleButtonClick,X=void 0===U?function(){}:U,K=e.added,q=e.status,V=void 0===q?"deductible":q,Y=(0,r.A)(e,C),J=(0,o.useState)(!1),$=J[0],Q=J[1];return(0,y.jsxs)(d.A,S(S({sx:{height:"248px",minWidth:"300px",marginRight:"6.5px",marginLeft:"6.5px",border:"none",cursor:"pointer"}},Y),{},{children:[void 0!==k&&k&&(0,y.jsx)(c.A,{onClick:function(){F&&void 0!==D&&F(D)},sx:{position:"absolute",top:"3px",right:"3px",width:"27px",height:"27px",padding:0,backgroundColor:"#FFFFFF"},children:(0,y.jsx)(s.A,{sx:{width:"22px",height:"22px",color:"#000000"}})}),(0,y.jsx)(p.A,{sx:{height:m||"150px",width:"auto",objectFit:"contain",backgroundColor:x.X1,maxWidth:"100%",margin:"auto"},image:i,component:"img",title:u||"Default Title"}),(0,y.jsx)(b,{children:(0,y.jsxs)("div",{className:"cardContent",children:[(0,y.jsxs)("div",{className:"cardTextArea",children:[!1,(0,y.jsx)("div",{className:"cardTitleAlone",children:v}),"deductible"!==V?(0,y.jsxs)("div",{className:"cardStatus",children:["IRS status: ",V]}):null,M&&R?(0,y.jsx)("div",{className:"cardLearnMore",children:"".concat(M,", ").concat(R)}):(0,y.jsx)(y.Fragment,{})]}),(void 0===z||z)&&(0,y.jsx)("div",{className:"plusButtonContainer",children:void 0!==B&&B?(0,y.jsx)(A,{clicked:G[t]||$,alreadyAdded:G[t],handleClick:function(e){Q(!$),$?_(t):L({EIN:t,image:i||"",name:v||"",city:M,state:R,__typename:"BatchGetOrgsResponse"}),e.stopPropagation()}}):(0,y.jsxs)(h.A,{sx:{display:"flex",columnGap:"5px"},className:"buttonsContainer",children:[void 0!==H&&H&&(0,y.jsx)(c.A,{className:"chatbotButton",onClick:function(e){X({EIN:t,name:v,description:w,image:i,city:M||"",state:R||"",status:V}),e.stopPropagation()},size:"large",children:void 0!==K&&K?(0,y.jsx)(l.A,{}):(0,y.jsx)(a.A,{})}),(0,y.jsx)(g.A,{clicked:O,handleClick:function(e){Q(!$),I&&N&&(O?N(t):I(t)),T(),e.stopPropagation()}})]})})]})})]}))}},29492:(e,t,n)=>{"use strict";n.d(t,{A:()=>
1o});var i=n(82893),r=n(37876);let o=(0,i.A)((0,r.jsx)("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"InfoOutlined")},35353:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Q});var i=n(42969),r=n(14232),o=n(92412),a=n(46456),s=n(34711),l=n(65484),d=n(81490),c=n(94461),p=n(52189),h=n(96709),x=n(21911),g=n(89099),u=n(41535),m=n(69924),f=n(54033),v=n(12619),j=n(42118),y=n(69813),A=n(44254),b=n(57683),C=(0,b.Ay)(h.A)(function(){return{".closeIcon":{position:"absolute",right:"5px",top:"5px"},".dialogMessage":{margin:"10px"}}}),w=n(37876);let S=function(e){var t=e.dialogTitle,n=e.message,i=e.open,r=e.onClose;return(0,w.jsx)(C,{"aria-labelledby":" dialog-content",open:i,fullWidth:!0,maxWidth:"sm",onClose:r,children:(0,w.jsxs)(y.A,{children:[(0,w.jsx)(A.A,{className:"closeIcon",onClick:r,children:(0,w.jsx)(j.A,{})}),(0,w.jsxs)(d.A,{container:!0,direction:"column",children:[(0,w.jsx)(d.A,{children:t}),(0,w.jsx)(d.A,{size:12,className:"dialogMessage",children:n})]})]})})};var z=n(62679),O=n(31866),T=n(44128),I=n(12691),N=(0,b.Ay)(l.A)(function(e){return{fontWeight:"bold",margin:"10px",color:e.theme.palette.primary.main,".dialogSubText":{margin:"10px 5px 10px 5px"}}}),k=(0,b.Ay)("div")(function(e){return e.theme,{".dialogSubText":{margin:"15px 5px 10px 5px"}}}),F=(0,b.Ay)("div")(function(e){var t=e.theme;return{".dashboardContainer":{marginTop:"".concat(50+I.Ce,"px")},".inlineSearchElements":{display:"inline-block",verticalAlign:"top",marginTop:"15px"},".createGridDialogTitle":{fontWeight:"bold",margin:"10px",color:t.palette.primary.main},".headerContainer":{display:"flex",justifyContent:"center",textAlign:"center",marginTop:"30px",marginBottom:"30px",minHeight:"250px"},".searchGrid":{display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center","@media screen and (max-width: 600px)":{marginBottom:"45px"}},".gridItemTitle":{width:"80%"},".searchBarOnly":(0,i.A)({width:"80%",display:"flex",alignItems:"center",flexDirection:"column"},t.breakpoints.down("sm"),{width:"100%"}),".callToAction":(0,i.A)({width:"80%",fontWeight:700},t.breakpoints.down("sm"),{fontSize:"1.3rem",fontWeight:900,width:"100%"}),".callToActionSub":(0,i.A)({width:"80%",marginTop:"10px"},t.breakpoints.down("sm"),{fontSize:"0.9rem",fontWeight:900,width:"100%"}),".searchBarContainer":(0,i.A)({marginTop:"20px",width:"80%",justifyContent:"center"},t.breakpoints.down("sm"),{width:"100%"}),".orContainer":{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column","@media screen and (max-width: 599px)":{display:"none"}},".orLine":{width:"2px",backgroundColor:"grey",height:"80px",marginTop:"20px"},".orText":{marginTop:"20px"},".pluginGrid":{display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center","@media screen and (max-width: 600px)":{backgroundColor:t.palette.grey[200],paddingTop:"40px",paddingBottom:"40px",borderRadius:"5px"}},".pluginButton":{marginTop:"20px",height:"40px",width:"200px","@media screen and (max-width: 600px)":{width:"70%",marginTop:"30px"}},".typoStyle":{color:t.palette.grey[800],marginTop:"40px"},".wideScreenOnly":(0,i.A)({},t.breakpoints.down("md"),{display:"none"}),".smallScreenOnly":(0,i.A)({margin:"0px 0px 25px 0px"},t.breakpoints.up("sm"),{display:"none"}),".dashboardSectionHeader":(0,i.A)({},t.breakpoints.down("sm"),{fontSize:"1.2rem"}),".currentGridCardGallery":{display:"flex",marginTop:"10px",width:"100%",overflowX:"scroll",padding:20,paddingLeft:10,backgroundColor:"#fff",alignItems:"center",minHeight:"150px"},".selectedOrgsCardGallery":{display:"flex",marginTop:"10px",width:"100%",overflowX:"scroll",padding:20,paddingLeft:10,backgroundColor:t.palette.grey[200],alignItems:"center",minHeight:"150px"},".cardGallery":{display:"flex",minHeight:"200px",marginTop:"10px",width:"100%",overflowX:"scroll",alignItems:"center",padding:20,paddingLeft:0,backgroundColor:t.palette.grey[100],border:"solid 1px ".concat(t.palette.grey[200])},".gridContainer":{marginRight:"12px",marginLeft:"12px",alignItems:"center",display:"flex",flexDirection:"column",minWidth:"unset"},".gridTitle":{marginBottom:"-15px",textAlign:"center",fontWeight:"bold",color:t.palette.primary.main},".featuredOrganizationsContainer":{marginTop:"100px"},".optionalCarouselContainer":(0,i.A)({marginTop:"25px"},t.breakpoints.down("sm"),{display:"none"}),".checkIcon":{top:"-8px",left:"-8px",zIndex:1,position:"absolute",backgroundColor:t.palette.primary.light,color:"white",borderRadius:"100%","&:hover":{cursor:"pointer"}},".minusIcon":{top:"-8px",left:"-8px",zIndex:1,padding:"1px",position:"absolute",backgroundColor:"white",color:"#9e9e9e","&:hover":{backgroundColor:"#9e9e9e"}},".selectedCardContainer":{position:"relative",marginRight:"3px"},".addACharityText":{color:t.palette.grey[600]},".orgGalleryInfoIcon":{paddingLeft:"1rem",color:t.palette.primary.light},".hideShowMyGravvy":{cursor:"pointer"},".myGravvyDivider":{borderBottomWidth:2}}}),D=n(29492),B=n(35344);let W=(0,n(82893).A)((0,w.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m5 11H7v-2h10z"}),"RemoveCircleOutlined");var G=n(3412),P=(0,b.Ay)(x.A)(function(e){var t=e.theme;return{".orGalleryInfoContainer":{padding:"10px 10px 10px 10px",margin:"0px 0px 75px 0px"},".orgGalleryInfoIcon":{color:t.palette.primary.light,fontSize:"2.5rem"},".orgGalleryInfoHeader":{fontWeight:900,fontSize:"1.25em"},".arrowInfoText":{color:t.palette.grey[600],fontWeight:300,fontSize:"1.25em"},".removeInfoText":{color:t.palette.grey[600],fontWeight:300,fontSize:"1.25em"},".arrowIcon":{color:t.palette.primary.dark},".removeIcon":{color:t.palette.grey[600],fontSize:"1.25rem"}}});let _=function(e){var t=e.closeDialog;return(0,w.jsx)(P,{children:(0,w.jsx)("div",{className:"orGalleryInfoContainer",children:(0,w.jsxs)(d.A,{container:!0,direction:"column",spacing:1,children:[(0,w.jsxs)(d.A,{size:12,children:[" ",(0,w.jsxs)(l.A,{align:"right",children:[" ",(0,w.jsxs)(A.A,{onClick:t,children:[" ",(0,w.jsx)(j.A,{})]})]})]}),(0,w.jsx)(d.A,{size:12,children:(0,w.jsxs)(l.A,{align:"center",children:[" ",(0,w.jsx)(D.A,{className:"orgGalleryInfoIcon"})]})}),(0,w.jsx)(d.A,{size:12,children:(0,w.jsxs)(l.A,{align:"center",className:"orgGalleryInfoHeader",children:["Organizations added to your ",O.KM," will be displayed here."]})}),(0,w.jsxs)(d.A,{size:12,children:[" ",(0,w.jsx)(G.A,{variant:"fullWidth"})]}),(0,w.jsxs)(d.A,{size:12,children:[" ",(0,w.jsxs)(d.A,{container:!0,children:[" ",(0,w.jsx)(d.A,{size:1,children:(0,w.jsx)(B.A,{className:"arrowIcon"})}),(0,w.jsx)(d.A,{size:11,children:(0,w.jsxs)(l.A,{className:"arrowInfoText",children:["Use the drop down arrow to view what is currently in your ",O.KM,"."]})})]})]}),(0,w.jsxs)(d.A,{size:12,children:[" ",(0,w.jsxs)(d.A,{container:!0,children:[(0,w.jsxs)(d.A,{size:1,children:[" ",(0,w.jsx)(W,{className:"removeIcon"})]}),(0,w.jsxs)(d.A,{size:11,children:[" ",(0,w.jsxs)(l.A,{className:"removeInfoText",children:["Only organizations that have no allocations can be removed from this page. To edit all organizations, visit your ",O.KM," or select ",(0,w.jsxs)("i",{children:["Manage My ",O.
1KM]}),"."]})]})]})]})]})})})};var E=n(94555),L=n(16194),M=n(10948),R=n(48458),H=n(61350),U=n(48230),X=n.n(U),K=(0,b.Ay)("div")(function(e){var t=e.theme;return{".root":{},".dialogContentWrapper":(0,i.A)({width:"365px",padding:"10px 10px 0px 10px"},t.breakpoints.down("sm"),{width:"auto",padding:"0px 0px 0px 0px"}),".gridItemPadding":{padding:"0px",paddingTop:"15px"},".iconContainer":{paddingRight:"10px"},".icon":(0,i.A)({fontSize:"2rem",color:"#fff",backgroundColor:"rgb(25, 118, 210)",borderRadius:100},t.breakpoints.down("sm"),{fontSize:"1.8rem"}),".header":(0,i.A)({fontWeight:500,fontSize:"1.5rem"},t.breakpoints.down("sm"),{fontSize:"1.3rem"}),".paragraph":(0,i.A)({fontSize:"1.1rem",fontWeight:500,color:"grey"},t.breakpoints.down("sm"),{fontSize:".8rem"}),".dialogContent":(0,i.A)({},t.breakpoints.down("sm"),{height:"100%"}),".demoButton":{backgroundColor:t.palette.primary.main,color:"white"}}});let q=function(e){var t=e.open,n=e.onClose;return(0,w.jsx)(w.Fragment,{children:(0,w.jsx)(h.A,{"aria-labelledby":"dialog-content",open:t,onClose:n,children:(0,w.jsx)(y.A,{children:(0,w.jsx)(K,{children:(0,w.jsx)("div",{className:"dialogContentWrapper",children:(0,w.jsxs)(d.A,{container:!0,direction:"column",spacing:2,children:[(0,w.jsxs)(d.A,{container:!0,size:12,justifyContent:"center",className:"gridItemPadding",children:[(0,w.jsx)(d.A,{children:(0,w.jsxs)("span",{className:"iconContainer",children:[" ",(0,w.jsx)(H.A,{className:"icon"})]})}),(0,w.jsxs)(d.A,{children:[" ",(0,w.jsx)(l.A,{gutterBottom:!0,align:"center",className:"header",children:"Unable to Remove"})]})]}),(0,w.jsx)(d.A,{size:12,className:"gridItemPadding",children:(0,w.jsxs)(l.A,{align:"center",component:"p",className:"paragraph",children:["You are currently donating to this charity. To manage charities, visit your ",O.KM,"."]})}),(0,w.jsxs)(d.A,{container:!0,size:12,justifyContent:"space-evenly",className:"gridItemPadding",children:[(0,w.jsxs)("div",{children:[" ",(0,w.jsx)(p.A,{variant:"text",size:"large",onClick:n,children:"Okay"})]}),(0,w.jsxs)("div",{children:[" ",(0,w.jsx)(X(),{href:"/".concat(T.m7),children:(0,w.jsxs)(p.A,{variant:"text",color:"primary",size:"large",children:["Manage My ",O.$i]})})]})]})]})})})})})})};var V=n(84091),Y=n(8257);function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach(function(t){(0,i.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}let Q=function(){var e=(0,r.useState)(!1),t=e[0],n=e[1],i=(0,r.useState)(!1),j=i[0],y=i[1],A=(0,r.useState)(),b=A[0],C=A[1],T=(0,r.useState)(!1),I=T[0],D=T[1],B=(0,r.useState)(!1),W=B[0],G=B[1],P=(0,r.useState)([]),H=P[0],U=P[1],X=(0,r.useState)(""),K=X[0],J=X[1],Q=(0,r.useState)([]),Z=Q[0],ee=Q[1],et=(0,r.useState)([]),en=et[0],ei=et[1],er=(0,r.useState)(!1),eo=er[0],ea=er[1],es=(0,E.S)(),el=es.favoriteOrgs,ed=es.setFavoriteOrgs,ec=es.isMobileApp,ep=(0,r.useState)([]),eh=ep[0],ex=ep[1],eg=(0,s.A)("(max-width:".concat("671px",")")),eu=(0,r.useState)(""),em=eu[0],ef=eu[1],ev=(0,r.useState)(!1),ej=ev[0],ey=ev[1],eA=eh.length;em&&(eA=(eA||0)+1),eA=eA||null;var eb=(0,g.useRouter)(),eC=(0,Y.M3)(),ew=(0,Y.F6)();(0,r.useEffect)(function(){(0,V.uLX)().then(function(e){ei(e.filter(function(e){return e.isActive}))}),(0,V.ubg)(null,"user").then(function(e){ee(e.results.filter(function(e){return e.isActive}))}),ew&&(0,V.eMN)(ew,U)},[ew,eC]),(0,r.useEffect)(function(){eb.isReady&&eb.query.createGrid&&ea(!0)},[eb.isReady,eb.query]);var eS=function(e,t,i){C({description:e.description,image:e.image,name:t,EIN:i,__typename:"Organization",createdAt:"",updatedAt:"",_version:e._version,_lastChangedAt:0,imageFlagFreq:e.imageFlagFreq,imageFlagUsers:e.imageFlagUsers,city:e.city,state:e.state,status:e.status}),n(!0)},ez=function(e){var t=e.gtLinks;return e.grids.map(function(e){var n=e.gridName||"",i=e.id||"",r=e.ownerId||"",o=e.description||"",a=t.find(function(e){return e.gridId===i}),s=(null==a?void 0:a.gridIndex)||0;return(0,w.jsx)(d.A,{className:"gridContainer",children:(0,w.jsx)(u.A,{gridName:n,gridID:i,ownerID:r,description:o,link:"/gt/".concat(r,"/").concat(s),target:"_gt",grid:$($({},e),{},{id:e.id||"",gridInfo:e.gridInfo||[],ownerId:e.ownerId||"",createdAt:e.createdAt||"",__typename:"Grid",ownerIsUser:!1,updatedAt:"",_version:0,_lastChangedAt:0})})},i)})},eO=function(){n(!1),y(!1),D(!1)},eT=function(e){var t=e?Z:en,n=1!==t.length;return t.length>0?t.map(function(t){return(0,w.jsxs)("div",{style:{margin:"35px 0 25px 0"},children:[n&&(0,w.jsx)(l.A,{variant:"h6",component:"h3",color:"primary",className:"dashboardSectionHeader",children:t.name}),(0,w.jsx)("div",{className:"cardGallery",style:{justifyContent:"start"},children:e?ez(t):t.orgs.map(function(e){var t=e.name,n=e.EIN;return(0,w.jsx)(L.A,{id:n,imgSrc:e.image||"",imgTitle:t,cardTitle:t,cityLocation:e.city,stateLocation:e.state,plusButton:!0,addSelectedOrganization:function(){},addToFavorites:function(){(0,Y._J)(ew,n,H,G,el,ed)},removeFromFavorites:function(){(0,Y.WD)(ew,n,el,ed)},populated:el&&Object.prototype.hasOwnProperty.call(el,n),onClick:function(){return eS(e,t,n
1)},status:e.status||"deductible"},n)})})]},t.id)}):(0,w.jsx)("div",{className:"cardGallery",style:{justifyContent:"center"},children:(0,w.jsx)(v.A,{withWedge:!1})})},eI=function(){return(0,w.jsx)(f.A,{asDialog:!1,smWidth:eg,city:em,categories:eh,setFiltersOpen:ey,router:eb,orgCount:0,setCity:ef,filterCount:eA,setCategories:ex,holdSearchUpdate:!0})};return(0,w.jsxs)(F,{children:[(0,w.jsx)(S,{dialogTitle:(0,w.jsx)(function(){return(0,w.jsxs)(N,{gutterBottom:!0,align:"center",variant:"h5",className:"createGridDialogTitle",children:["Create Your First ",O.$i," Grid!"]})},{}),open:eo,onClose:function(){return ea(!1)},message:(0,w.jsx)(function(){return(0,w.jsxs)(k,{children:[(0,w.jsxs)(l.A,{className:"dialogSubText",children:["Use the search bar on this page to search for causes to add to your grid."," "]}),(0,w.jsxs)(l.A,{className:"dialogSubText",children:["First, click the ",(0,w.jsx)(o.A,{})," icon to add them to your list of favorites, then add them to your grid from that list!"," "]})]})},{})}),(0,w.jsxs)(x.A,{className:"dashboardContainer",children:[(0,w.jsx)(d.A,{container:!0,className:"headerContainer",style:{minHeight:"auto"},children:(0,w.jsx)(w.Fragment,{children:(0,w.jsxs)("div",{className:"searchBarOnly",children:[(0,w.jsx)(l.A,{variant:"h5",component:"h2",className:"callToAction",children:"Give and Expand Your Impact"}),(0,w.jsx)(l.A,{className:"callToActionSub",children:"Discover Organizations Working on Your Causes"}),(0,w.jsxs)("div",{className:"searchBarContainer",children:[(0,w.jsx)("div",{className:"inlineSearchElements",style:{marginTop:"21px",minWidth:"350px",verticalAlign:"top"},children:(0,w.jsx)(m.A,{router:eb,placeHolder:"Search by Name, EIN, or Filters",setSearchString:J,searchString:K,city:em,categories:eh})}),(0,w.jsx)("div",{className:"inlineSearchElements",children:(0,w.jsx)(d.A,{container:!0,order:4*!!eg,size:{xs:!eg&&6},sx:{justifyContent:eg?"center":"right",margin:eg?"15px auto 24px":"5px 0 32px 0",width:eg?"200px":"105px",maxWidth:"100% !important",marginLeft:"20px"},children:(0,w.jsx)(c.A,{badgeContent:eA,color:"primary",children:(0,w.jsx)(p.A,{startIcon:(0,w.jsx)(a.A,{sx:{margin:eg?"auto !important":"4px"}}),variant:"contained",color:"primary",sx:{width:eg?"200px":"105px"},onClick:function(){ey(!ej)},children:"Filters"})})})}),(0,w.jsx)(d.A,{size:{xs:12},children:ej&&(eg?(0,w.jsx)(h.A,{open:ej,fullScreen:!0,sx:ec?{marginTop:"50px"}:{},children:eI()}):eI())})]})]})})}),(0,w.jsxs)("div",{className:"featuredOrganizationsContainer",children:[(0,w.jsxs)(d.A,{container:!0,justifyContent:"space-between",children:[(0,w.jsx)(l.A,{variant:"h5",component:"h3",color:"primary",className:"dashboardSectionHeader",children:(0,w.jsx)("b",{children:"Featured Charities and Nonprofits"})}),(0,w.jsx)(l.A,{align:"right",children:(0,w.jsx)(p.A,{color:"primary",sx:{display:"none"},children:"View All"})})]}),eT(!1)]}),(0,w.jsxs)("div",{className:"featuredOrganizationsContainer",children:[(0,w.jsx)(d.A,{container:!0,justifyContent:"space-between",children:(0,w.jsx)(l.A,{variant:"h5",component:"h3",color:"primary",className:"dashboardSectionHeader",children:(0,w.jsxs)("b",{children:["Featured Cause-Driven ",O.KM,"s"]})})}),eT(!0)]}),(0,w.jsx)(R.A,{open:t,onClose:eO,children:(0,w.jsx)(M.A,{title:(null==b?void 0:b.name)||"",bodyText:(null==b?void 0:b.description)||"",image:(null==b?void 0:b.image)||"",closeDialog:eO,id:(null==b?void 0:b.EIN)||"",signedIn:!!ew,populated:el&&Object.prototype.hasOwnProperty.call(el,(null==b?void 0:b.EIN)||""),addToFavorites:function(){(0,Y._J)(ew,(null==b?void 0:b.EIN)||"",H,G,el,ed)},city:(null==b?void 0:b.city)||"",state:(null==b?void 0:b.state)||"",status:(null==b?void 0:b.status)||"deductible"})}),(0,w.jsx)(R.A,{open:I,onClose:eO,children:(0,w.jsx)("div",{children:(0,w.jsx)(_,{closeDialog:eO})})}),(0,w.jsx)(q,{open:j,onClose:eO}
1),(0,w.jsx)(z.A,{open:W,setDialogOpen:G})]})]})}},39386:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(82893),r=n(37876);let o=(0,i.A)((0,r.jsx)("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star")},40540:(e,t,n)=>{"use strict";n.d(t,{A:()=>p}),n(14232);var i=n(57683),r=n(60696),o=n(99809),a=n(76554),s=n(37876),l=(0,r.E2)(a.A.palette.primary.main),d="rgb(".concat(null==l?void 0:l.r,",").concat(null==l?void 0:l.g," , ").concat(null==l?void 0:l.b,",0.75)"),c=(0,i.Ay)("div")(function(e){return e.theme,{color:"white",height:"100%",width:"100%",position:"absolute",backgroundColor:d,zIndex:2,textAlign:"center",fontSize:"2rem",justifyContent:"center",alignItems:"center",display:"flex"}});let p=function(e){var t=e.allocationValid.validAllocationAmount?"No more than ".concat(o.p_," organizations can have non-zero donation allocations."):"Allocations must equal 100%.";return(0,s.jsxs)(c,{children:[" ",t," "]})}},42952:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(82893),r=n(37876);let o=(0,i.A)((0,r.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarBorder")},59017:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(82893),r=n(37876);let o=(0,i.A)((0,r.jsx)("path",{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"AddCircleOutline")},61350:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(82893),r=n(37876);let o=(0,i.A)((0,r.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info")},63278:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/discover",function(){return n(35353)}])},75621:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(82893),r=n(37876);let o=(0,i.A)((0,r.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add")},95608:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var i=n(55462),r=n(92412),o=n(75621),a=n(57683),s=n(44254),l=(0,a.Ay)(s.A)(function(e){return{color:e.theme.palette.secondary.light,fontSize:"10px",width:"18px",height:"18px"}});(0,a.Ay)(o.A)(function(e){return e.theme,{fontSize:"16px",fontWeight:"bold"}});var d=n(37876);let c=function(e){var t=e.clicked,n=e.handleClick;return(0,d.jsx)(l,{onClick:void 0===n?function(){}:n,size:"large",children:void 0!==t&&t?(0,d.jsx)(i.A,{}):(0,d.jsx)(r.A,{})})}}},e=>{e.O(0,[186,4370,6090,2940,8797,1535,4033,636,6593,8792],()=>e(e.s=63278)),_N_E=e.O()}]);

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.