PageSourceSearch

https://www.givingwhatwecan.org/_next/static/chunks/pages/about-us/members-7c4c7290ea7d4ec9.js

js givingwhatwecan.org collected 2026-09-24 08:38:28 UTC 17,270 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="71d4f69a-d728-4884-a1e3-3eec5cdeb16a",e._sentryDebugIdIdentifier="sentry-dbid-71d4f69a-d728-4884-a1e3-3eec5cdeb16a")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5654],{97078:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/about-us/members",function(){return n(55813)}])},61890:function(e,t,n){"use strict";var a=n(52322),r=n(35547),i=n(68231);n(2784),t.Z=e=>{let{verticalPadding:t=3,...n}=e;return(0,a.jsx)(r.Z,{paddingTop:t,paddingBottom:t,...n,children:(0,a.jsx)(i.Z,{})})}},87639:function(e,t,n){"use strict";var a=n(52322),r=n(47803),i=n(94879),l=n(53934),s=n(1481),o=n(66292),c=n(53410),d=n(12524),u=n.n(d);function p(e){if("string"!=typeof e.id||"number"!=typeof e.id)throw Error("Default row key uses the id property, which must be a string or number. Either add an id property to your table data, or supply a keyRowsBy property");return e.id}n(2784);let m=(0,r.Z)(e=>({root:{"&.remove-horizontal-gutters":{"& > tbody > tr > td:first-of-type, & > thead > tr > th:first-of-type":{paddingLeft:0},"& > tbody > tr > td:last-of-type, & > thead > tr > th:last-of-type":{paddingRight:0}}},clickableRow:{cursor:"pointer","&:hover":{backgroundColor:e.palette.grey[200]}}}));t.Z=function(e){let t=m(),{tableData:n,columns:r,keyRowsBy:d,showHeaders:h=!0,classes:g,className:x,horizontalGutters:f=!1,onRowClick:v,...y}=e;if(!n||0===n.length)return null;let j="string"==typeof d?e=>{let t=e[d];if("string"!=typeof t&&"number"!=typeof t)throw Error("Key property must be a string or number");return t}:"function"==typeof d?d:p;return(0,a.jsxs)(i.Z,{className:u()(t.root,x,{"remove-horizontal-gutters":!f}),...y,children:[h&&(0,a.jsx)(l.Z,{children:(0,a.jsx)(s.Z,{children:r.map((e,t)=>{let{key:n,header:r,className:i,headerClassName:l}=e;return(0,a.jsx)(o.Z,{className:u()(null==g?void 0:g.header,"header-".concat(n.toString()),i,l),children:r},"".concat(n.toString(),"-").concat(t))})})}),(0,a.jsx)(c.Z,{className:null==g?void 0:g.body,children:n.map(e=>(0,a.jsx)(s.Z,{onClick:v?()=>v(e):void 0,className:u()({[t.clickableRow]:!!v}),children:r.map((t,n)=>{let{key:r,format:i,className:l,cellClassName:s}=t,c="function"==typeof i?i(e):e[r];return(0,a.jsx)(o.Z,{className:u()("cell-".concat(r.toString()),l,s),children:c},"".concat(r.toString(),"-").concat(n))})},j(e)))})]})}},62277:function(e,t,n){"use strict";n.d(t,{p:function(){return d}});var a=n(52322),r=n(27616),i=n(39097),l=n.n(i),s=n(2784),o=n(52520),c=n(95227);function d(e){var t;let{article:n}=e,i=null===(t=(0,o.H6)(n.publishedDate))||void 0===t?void 0:t.toLocaleDateString("en-UK",{year:"numeric",month:"long",day:"numeric"}),d=n.authors,u=n.path||"/blog";return(0,a.jsxs)(l(),{href:u,className:"bg-white flex flex-col cursor-pointer",children:[(0,a.jsx)("div",{className:"grid h-52 lg:h-64 w-full bg-grey-light overflow-hidden relative",children:n.image&&(0,a.jsx)(c.d,{crop:{aspectRatio:2.6},Image:n.image,alt:n.title||"Article preview",sizes:"(max-width: 768px) 100vw, 50vw",className:"w-full h-full object-cover overflow-hidden"})}),(0,a.jsxs)("div",{className:"flex-1 p-8 flex flex-col",children:[(0,a.jsxs)("p",{className:"text-grey-mid font-light",children:[i," by"," ",(0,a.jsx)("span",{className:"font-bold",children:d&&d.map((e,t)=>(0,a.jsxs)(s.Fragment,{children:[t>0&&", ",e.name]},e._id))})]}),(0,a.jsx)("h3",{className:"pt-2 pb-6 text-xl flex-1",children:n.title}),(0,a.jsxs)("span",{className:"nodecoration text-red-primary font-bold",children:["Continue reading ",(0,a.jsx)(r.Z,{className:"h-5 inline"})]})]})]})}},86869:function(e,t,n){"use strict";n.d(t,{e:function(){return m},y:function(){return h}});var a=n(52322),r=n(2784),i=n(47004),l=n(29903),s=n(61296);let o={...l.S,maxAge:1209600},c=(0,r.createContext)({campaign:void 0,setCampaign:e=>void 0,resetCampaign:()=>void 0});c.displayName="CampaignsContext";let{Provider:d}=c,u=e=>{let{data_sharing_disabled:t,...n}=e||{};return e?{ds_disabled:e.data_sharing_disabled,...n}:void 0},p=e=>{let{ds_disabled:t,...n}=e||{};return e?{data_sharing_disabled:t,...n}:void 0},m=e=>{let{children:t}=e,[n,l,c]=(0,i.Z)([s.kG]),m=(0,r.useCallback)(e=>{let t=u(e);l(s.kG,t,o)},[l]),h=(0,r.useCallback)(()=>{c(s.kG,o)},[c]),g=p(n[s.kG]);return(0,a.jsx)(d,{value:{campaign:g,setCampaign:m,resetCampaign:h},children:t})},h=()=>(0,r.useContext)(c)},61296:function(e,t,n){"use strict";n.d(t,{kG:function(){return a},kv:function(){return i}});let a="@gwwc/campaigns",r=["campaign_organiser","campaign_category","campaign_name","url_campaign_name","data_sharing_disabled"],i=(e,t)=>void 0===e&&void 0===t||!!e&&!!t&&r.every(n=>e[n]===t[n])},81330:function(e,t,n){"use strict";n.d(t,{Z:function(){return W}});var a=n(52322),r=n(47803),i=n(94466),l=n(31630),s=n(94086),o=n(54178),c=n(11059),d=n(46730),u=n(12475),p=n(74087),m=n(63001),h=n(96846),g=n(41248),x=n(54545),f=n(40306),v=n(12524),y=n.n(v),j=n(5632),b=n(2784),w=n(74834),N=n(61890),k=n(54189),_=n(64669),Z=n(87922),C=n(41008),z=n(38347),F=n(87639),A=n(14116),B=n(2286);let S=(0,r.Z)(e=>({organizationName:{whiteSpace:"nowrap",textOverflow:"ellipsis",maxWidth:"60vw",display:"inline-block",overflowX:"hidden"}}));var E=e=>{let{Allocation:t,onUpdate:n,showHeaders:r=!0}=e,[i]=(0,B.L0)(),l=S();if(!i)return null;function s(e){return null==i?void 0:i.find(t=>t.slug===e.organization)}return(0,a.jsx)(F.Z,{columns:[{key:"organization",header:"Fund / Organization",format(e){let t=s(e);return t?(0,a.jsxs)("span",{className:y()(l.organizationName,"!text-primary"),children:[t.name,t.program&&(0,a.jsxs)("span",{children:[" (",t.program,")"]})]}):(0,a.jsx)("em",{children:"Unknown organization"})}},{key:"remove",header:null,className:"right",format(e){let r=s(e);return r?(0,a.jsxs)(p.Z,{size:"small",onClick:()=>{n((0,A.br)(r,t))},className:"!text-primary",children:["Remove ",(0,a.jsx)(z.Z,{})]}):null}}],tableData:t.filter(e=>!e.isExtra),keyRowsBy:"organization",showHeaders:r,size:"small"})};let T=(0,r.Z)(e=>({drawer:{"& .MuiDrawer-paper":{borderTop:"2px solid ".concat(e.palette.grey[600]),background:e.palette.primary.light,overflowY:"visible"}},baseWrapper:{paddingBottom:e.spacing(4)},panelTitleWrapper:{display:"flex",alignItems:"center","& span:first-of-type":{marginRight:e.spacing(1)}},showHideButtonWrapper:{position:"relative"},showHideButton:{position:"absolute",top:-15,height:30,width:30,right:"50%",left:"50%",marginLeft:-15,fontSize:"1.2em",textAlign:"center",color:"#CCC",background:"#FFF",borderRadius:"50%",border:"2px s
1olid ".concat(e.palette.grey[400]),outline:"none !important","&:hover":{background:"#FFF"},"& .MuiSvgIcon-root":{transition:"transform 0.3s ease"},"&.expanded":{"& .MuiSvgIcon-root":{transform:"rotate(180deg)"}}},removeAllButtonWrapper:{display:"flex",justifyContent:"flex-end"},removeAllButton:{},allocationWrapper:{marginTop:e.spacing(3)},allocationListWrapper:{overflow:"hidden",height:e=>{let{expanded:t,allocationLength:n}=e;return t?43*n:0},transition:"height 0.2s ease"},nextActionButton:{backgroundColor:e.palette.primary.main,color:"#FFF",boxShadow:"none","&:hover":{background:e.palette.primary.main,opacity:"90%",boxShadow:"none"}}}));var W=e=>{let{Allocation:t,onUpdate:n}=e,r=(0,_.G)("sm","down")?1:3,[v,z]=(0,b.useState)(t.length<=r),F=T({expanded:v,allocationLength:t.length}),A=(0,w.useSwipeable)({onSwipedUp:function(){z(!0)},onSwipedDown:function(){z(!1)},preventDefaultTouchmoveEvent:!0}),B=(0,k.D)(t.length),{resetFundraiser:S}=(0,Z.H)(),W=(0,j.useRouter)();(0,b.useEffect)(()=>{z(t.length<=r)},[r]),(0,b.useEffect)(()=>{t.length>r&&B<=r?z(!1):(t.length<=r&&B>r||!t.length)&&z(!0)},[t.length,r,B]);let D=1===t.filter(e=>!e.isExtra).length,R=D?"/donate/payment":"/donate/allocation",I=(0,b.useCallback)(async()=>{await S(),W.push(R)},[R,S,W]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(i.ZP,{variant:"persistent",open:t.length>0,anchor:"bottom",className:F.drawer,elevation:4,children:(0,a.jsxs)("div",{className:y()(F.baseWrapper,"!bg-subtle !text-primary"),...A,children:[(0,a.jsx)(l.Z,{in:!!t.length,children:(0,a.jsx)("div",{className:F.showHideButtonWrapper,children:(0,a.jsx)(s.Z,{onClick:()=>z(!v),className:y()(F.showHideButton,{expanded:v}),children:(0,a.jsx)(x.Z,{})})})}),(0,a.jsx)(o.Z,{fixed:!0,className:F.allocationWrapper,children:(0,a.jsxs)(c.Z,{container:!0,spacing:3,children:[(0,a.jsxs)(c.Z,{item:!0,xs:12,md:9,children:[(0,a.jsxs)(c.Z,{container:!0,children:[(0,a.jsxs)(c.Z,{item:!0,xs:v?8:12,className:F.panelTitleWrapper,children:[(0,a.jsx)(d.Z,{variant:"h6",component:"span",className:"!text-primary",children:v?"Your current selection":(0,a.jsxs)(a.Fragment,{children:[t.length," Fund",t.length>1&&"s"," ","/ Organisation",t.length>1&&"s"," selected"," ",t.length>=C.ae&&"(max reached)"]})}),!v&&(0,a.jsx)("div",{className:"hidden material-sm:block",children:(0,a.jsx)(d.Z,{variant:"body2",component:"span",children:(0,a.jsx)(u.Z,{component:"button",onClick:()=>z(!0),children:"(show all)"})})})]}),(0,a.jsx)(c.Z,{item:!0,xs:v?4:1,className:F.removeAllButtonWrapper,children:v&&t.length>1&&(0,a.jsxs)(p.Z,{onClick:function(){n([])},className:y()(F.removeAllButton,"!text-primary"),size:"small",children:["Remove all ",(0,a.jsx)(g.Z,{})]})})]}),t.length?(0,a.jsxs)("div",{className:F.allocationListWrapper,children:[(0,a.jsx)(N.Z,{verticalPadding:1,paddingBottom:0}),(0,a.jsx)(E,{Allocation:t,onUpdate:n,showHeaders:!1})]}):(0,a.jsx)(d.Z,{variant:"body2",className:"!text-primary",children:(0,a.jsx)("em",{children:"Funds / Organisations you select will show up here"})})]}),(0,a.jsx)(c.Z,{item:!0,xs:12,md:3,children:(0,a.jsxs)(p.Z,{fullWidth:!0,disabled:!t.length,className:y()(F.nextActionButton,"!font-normal"),variant:"contained",color:"primary",onClick:I,children:[D?(0,a.jsxs)(a.Fragment,{children:["Make a donation ",(0,a.jsx)(h.Z,{})," "]}):(0,a.jsxs)(a.Fragment,{children:["Allocate donation ",(0,a.jsx)(f.Z,{})," "]}),(0,a.jsx)(m.Z,{})]})})]})})]})})})}},87922:function(e,t,n){"use strict";n.d(t,{L:function(){return u},H:function(){return p}});var a=n(52322),r=n(2784),i=n(47004),l=n(29903);let s="@gwwc/fundraiser",o=(0,r.createContext)({fundraiser:void 0,setFundraiser:e=>void 0,resetFundraiser:()=>void 0});o.displayName="FundraiserContext";let{Provider:c}=o,d={...l.S,maxAge:86400},u=e=>{let{children:t}=e,[n,l,o]=(0,i.Z)([s]),u=(0,r.useCallback)(e=>{l(s,e,d)},[l]),p=(0,r.useCallback)(()=>{o(s,d)},[o]),m=n[s];return(0,a.jsx)(c,{value:{fundraiser:m,setFundraiser:u,resetFundraiser:p},children:t})},p=()=>(0,r.useContext)(o)},26927:function(e,t,n){"use strict";n.d(t,{V:function(){return A}});var a=n(52322),r=n(2784),i=n(1124),l=n(17661),s=n(83632),o=n(50256),c=n(86319),d=n(14932),u=n(1221),p=n(39245),m=n(8186),h=n(80192),g=n(55710),x=n(18756),f=n(52057),v=n(95227),y=n(41008),j=n(60971),b=n(2286),w=n(9319);let N=e=>{let{page:t,organization:n,size:r,className:i}=e;return(0,a.jsx)(s.X,{chipType:(null==n?void 0:n.type)===j.vw.NonProfit?"circle":"diamond",className:i,size:r,icon:e=>{let{className:n}=e;return t.logo?(0,a.jsx)(v.d,{Image:t.logo,alt:t.title,sizes:"(max-width: 1280px) 96px, 160px",className:(0,m.A)("overflow-hidden",n)}):(0,a.jsx)(a.Fragment,{})}})}
1,k=e=>{var t;let{page:n}=e,[s]=(0,b.L0)(),m=(0,r.useMemo)(()=>(0,h.t)(s,[n]),[s,n]),v=null==m?void 0:m.find(e=>e.slug===n.parfitSlug),{setAllocation:k,Allocation:_}=(0,g.K)(),Z=v&&(0,y.yo)({allocation:_,organization:v}),C=(null==_?void 0:_.length)>=y.ae,z=(0,p.zR)(n.causeArea)&&n.causeArea,F=(0,p.zR)(n.cause)&&n.cause,A=(0,p.F_)(n.usEVRestrictions)&&n.usEVRestrictions,B=n.showCharityNotice&&n.charityNoticeText?n.charityNoticeText:void 0,S=(0,p.Wk)(n),E=null===(t=n.pageBuilder)||void 0===t?void 0:t.filter(e=>!(null==S?void 0:S.map(e=>e._key).includes(e._key))),T=B?function(e,t){let n=null==e?void 0:e.find(e=>"article"===e._type);if(!e||!(null==n?void 0:n.body))return e;let a=[...n.body,...t],r={...n,body:a};return e.map(e=>e._key===n._key?r:e)}(E,B):E,W=v?v.type===j.vw.NonProfit?"Charity":"Fund":"",D="recommended"===n.rating?"Recommended ".concat(W):W;return(0,a.jsxs)(a.Fragment,{children:[v&&(0,a.jsx)(w.hg,{data:{"@context":"https://schema.org",...(0,w.hW)({organization:v})}}),(0,a.jsxs)(x.I9,{cols:1,mdCols:1,className:"container mx-auto mt-12 lg:mt-14 lg:gap-y-0",children:[n.logo&&(0,a.jsx)("div",{className:"lg:col-span-2 lg:lg:pt-10",children:n.logo&&v&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(N,{size:"medium",className:"xl:hidden",page:n,organization:v}),(0,a.jsx)(N,{size:"large",className:"hidden xl:block",page:n,organization:v})]})}),(0,a.jsxs)("div",{className:"lg:col-span-7",children:[(0,a.jsx)(o.a,{className:"inline-block text-red-primary uppercase text-base lg:mb-4",children:D}),(0,a.jsx)(c.X,{size:"h1",children:null==v?void 0:v.name}),(0,a.jsx)(c.X,{size:"h2",children:null==v?void 0:v.program}),n.purpose&&(0,a.jsx)(f.l,{className:"mt-4",subtitle:!0,component:"div",blocks:n.purpose}),A&&(0,a.jsx)(f.l,{className:"mt-4",subtitle:!0,component:"div",blocks:A})]}),(0,a.jsxs)("div",{className:"lg:pt-10 lg:col-span-3 flex lg:flex-col space-x-4 lg:space-x-0 lg:space-y-4",children:[v?(0,a.jsx)(d.z,{level:Z?"cart":"primary",size:"large",onClick:()=>(0,y.S1)({allocation:_,organization:v,onAllocationChange:k}),className:"w-fit flex-1 lg:w-full",disabled:(!Z||!C)&&C,children:"Donate"}):n.donationUrl?(0,a.jsx)(d.z,{level:"primary",size:"large",href:n.donationUrl,newTab:!0,className:"w-fit lg:w-full",children:"Donate"}):null,n.website&&(0,a.jsxs)(d.z,{level:"secondary",size:"large",href:n.website,className:"w-fit lg:w-full",title:"Website",newTab:!0,children:[(0,a.jsx)(l.Z,{className:"inline w-4 h-4"})," ",(0,a.jsx)("span",{className:"hidden md:inline",children:"Website"})]})]}),(0,a.jsxs)("div",{className:"lg:col-start-3 lg:col-span-7 flex flex-wrap justify-start items-start",children:[z&&(0,a.jsx)(u.V,{className:"m-1",href:z.path,children:z.title}),F&&(0,a.jsx)(u.V,{className:"m-1",href:F.path,children:F.title})]})]}),(0,a.jsx)(i.q,{page:{...n,pageBuilder:T}})]})};var _=n(51942),Z=n(89258),C=n(85164),z=n(25288);let F=e=>{var t;let{page:n}=e,r=(0,p.HJ)(n.causeArea)&&n.causeArea,l=(0,p.Wk)(n),s=null===(t=n.pageBuilder)||void 0===t?void 0:t.filter(e=>!(null==l?void 0:l.map(e=>e._key).includes(e._key)));return(0,a.jsxs)(a.Fragment,{children:[l&&(0,a.jsx)(i.q,{page:{...n,pageBuilder:l}}),r&&(0,a.jsxs)(C.$,{className:"text-center",children:[(0,a.jsxs)(_.uT,{children:["Cause Area:"," ",(0,a.jsx)(Z.r,{href:r.path||"#",children:r.title})]}),(0,a.jsx)(z.s,{})]}),(0,a.jsx)(i.q,{page:{...n,pageBuilder:s}})]})},A=e=>{let{page:t}=e;switch(t._type){case"charity":return(0,a.jsx)(k,{page:t});case"report":return(0,a.jsx)(F,{page:t});default:return(0,a.jsx)(i.q,{page:t})}}},77577:function(e,t,n){"use strict";n.d(t,{BA:function(){return d},FP:function(){return u}});var a=n(52322);n(2784);var r=n(98530),i=n(81330),l=n(55710),s=n(40137),o=n(26927),c=n(48659);let d=e=>e&&(0,r.t)(e).width(1200).height(630).url(),u=e=>{let{page:t,breadcrumbs:n,additionalContent:d}=e,{setAllocation:u,Allocation:p}=(0,l.K)();return(0,a.jsxs)(s.T,{breadcrumbs:n&&n.length>1?n:void 0,head:{title:t.metaTitle||t.title,description:t.metaDescription,imageUrl:t.metaOpenGraphImage&&(0,r.t)(t.metaOpenGraphImage).width(1200).height(630).url(),noindex:t.excludeFromIndex},children:[(0,a.jsx)(c.g,{page:t}),(0,a.jsx)(o.V,{page:t}),d,(0,a.jsx)(i.Z,{Allocation:p,onUpdate:u})]})}},48659:function(e,t,n){"use strict";n.d(t,{g:function(){return l}});var a=n(2784),r=n(86869),i=n(61296);let l=e=>{var t;let{page:n,campaign:l}=e,{campaign:s,setCampaign:o}=(0,r.y)(),c=null==n?void 0:null===(t=n.events)||void 0===t?void 0:t.find(e=>
1"campaignEventTracking"==e._type);return(0,a.useEffect)(()=>{let e=null!=l?l:c?{campaign_organiser:c.campaignOrganiser,campaign_category:c.campaignCategory,campaign_name:c.campaignName,data_sharing_disabled:c.dataSharingDisabled}:void 0;if(!e)return;let t={...s,...e};(0,i.kv)(t,s)||o(t)},[c,s,l,o]),null}},54189:function(e,t,n){"use strict";n.d(t,{D:function(){return r}});var a=n(2784);function r(e){let t=(0,a.useRef)(e);return(0,a.useEffect)(()=>{t.current=e},[e]),t.current}},25288:function(e,t,n){"use strict";n.d(t,{s:function(){return a.s}}),n(62277);var a=n(72189)},27616:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});let a=(0,n(29228).Z)("move-right",[["path",{d:"M18 8L22 12L18 16",key:"1r0oui"}],["path",{d:"M2 12H22",key:"1m8cig"}]])},55813:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return c}});var a=n(52322);n(2784);var r=n(40137),i=n(10826),l=n(26927),s=n(77577);let o=e=>{let{membersPage:t}=e;return(0,a.jsx)(r.T,{head:{title:t.metaTitle,description:t.metaDescription,imageUrl:(0,s.BA)(t.metaOpenGraphImage),noindex:t.excludeFromIndex},breadcrumbs:[{_id:"about-us",path:"/about-us",title:"About us"},{_id:"members",path:"/about-us/members",title:"Our community"}],children:(0,a.jsx)(l.V,{page:t})})};o.getLayout=i.Z;var c=!0;t.default=o}},function(e){e.O(0,[8569,6577,2579,6034,6398,1854,1736,5886,202,2299,6479,5203,313,1814,5865,1187,9593,9462,1059,9394,504,7991,5150,5748,3685,8075,9754,7801,6197,7289,739,826,1780,6131,1124,2888,9774,179],function(){return e(e.s=97078)}),_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.