PageSourceSearch

https://www.effectivealtruism.org/_next/static/chunks/pages/take-action-ef702acdc2e9577c.js

js effectivealtruism.org collected 2026-10-02 02:17:26 UTC 13,149 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9170],{64186:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/take-action",function(){return n(41457)}])},317:function(e,t,n){"use strict";var a=n(52322);n(2784);var i=n(45847),r=n.n(i);t.Z=e=>{let{formId:t,popup:n}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r(),{async:!0,src:"https://tally.so/widgets/embed.js"}),(0,a.jsx)(r(),{id:"tally-config-".concat(t),dangerouslySetInnerHTML:{__html:'\n            window.TallyConfig = {\n              "formId": window.innerWidth >= 800 ? "'.concat(t,'" : undefined,\n              "popup": ').concat(JSON.stringify(n),"\n            }\n          ")}})]})}},51977:function(e,t,n){"use strict";var a=n(52322);n(2784);var i=n(93544),r=n(83359),l=n(26569);let o=(0,i.W2)("CardGrid").withParams().create(e=>{let{theme:t,tripleBreakpoint:n,doubleBreakpoint:a,singleBreakpoint:i,noBorders:r,centered:l}=e;return{root:{containerType:"inline-size",width:"100%",maxWidth:"100%"},grid:{width:"min-content",maxWidth:"100%",overflow:"hidden",display:"grid",gap:r?32:48,rowGap:r?32:64,gridTemplateColumns:"repeat(4, min-content)",["@container (max-width: ".concat(n,"px)")]:{gridTemplateColumns:"repeat(3, min-content)"},["@container (max-width: ".concat(a,"px)")]:{gridTemplateColumns:"repeat(2, min-content)"},["@container (max-width: ".concat(i,"px)")]:{display:"flex",flexDirection:"column"},...l&&{marginLeft:"auto",marginRight:"auto"}},container:{maxWidth:"100%"},borders:{position:"relative","&::before, &::after":{content:"''",position:"absolute",backgroundColor:t.palette.ea.black,zIndex:1},"&::before":{inlineSize:"1px",blockSize:"100%",insetBlockStart:0,insetInlineStart:"-".concat(24,"px")},"&::after":{inlineSize:"100vw",maxWidth:"100%",blockSize:"1px",insetInlineStart:0,insetBlockStart:"-".concat(32,"px")}}}});t.Z=e=>{let{cards:t,layout:n="normal",noBorders:i,centered:s,gridClassName:c,className:d}=e,{classes:m,cx:p}=o({...r.$E[n],centered:s,noBorders:i});return(0,a.jsx)("div",{className:p(m.root,d),children:(0,a.jsx)("div",{className:p(m.grid,c),children:t.map(e=>(0,a.jsx)("div",{className:p(m.container,!i&&m.borders),children:(0,a.jsx)(l.Z,{card:e,layout:n})},e.fields.title))})})}},25562:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var a=n(52322);n(2784);var i=n(93544),r=n(97729),l=n.n(r),o=n(6958),s=n(39097),c=n.n(s),d=n(23846),m=n(21336);let p=(0,i.W2)("Breadcrumbs").create(e=>{let{theme:t}=e;return{root:{position:"absolute",display:"flex",gap:4,top:-58,left:0,[t.breakpoints.down("sm")]:{top:-36}},breadcrumb:{display:"flex",alignItems:"center",gap:4,textDecoration:"none",color:"inherit","&:not(:last-child)":{"& > *":{opacity:"50%"},"&:hover > *:first-child":{opacity:"100%"}}},chevron:{width:14,height:14,display:"inline",transform:"translateY(1px)"}}});var u=e=>{let{breadcrumbs:t}=e,{classes:n}=p();if(!(null==t?void 0:t.length))return null;let i={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:t.map((e,t)=>{let{label:n,href:a}=e;return{"@type":"ListItem",position:t+1,name:n,item:(0,m.hF)(a)}})};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l(),{children:(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(i)}})}),(0,a.jsx)("header",{className:n.root,children:t.map((e,i)=>{let{label:r,href:l}=e;return(0,a.jsxs)(c(),{href:l,className:n.breadcrumb,children:[(0,a.jsx)(d.Z,{style:"bodySmall",children:r}),i+1<t.length&&(0,a.jsx)(o.Z,{className:n.chevron})]},r)})})]})};let h=(0,i.W2)("Column").create(()=>({root:{position:"relative",margin:"0 auto",display:"flex",flexDirection:"column",maxWidth:"100%"},extraThin:{width:686},thin:{width:770},normal:{width:960},wide:{width:1160}}));var g=e=>{let{extraThin:t,thin:n,wide:i,breadcrumbs:r,className:l,children:o}=e,{classes:s,cx:c}=h();return(0,a.jsxs)("div",{className:c(s.root,s[t?"extraThin":n?"thin":i?"wide":"normal"],l),children:[r&&(0,a.jsx)(u,{breadcrumbs:r}),o]})}},26196:function(e,t,n){"use strict";n.d(t,{M:function(){return r}});var a=n(52322);n(2784);var i=n(317);let r=!0;t.Z=()=>!!r&&(0,a.jsx)(i.Z,{formId:"WOQkJP",popup:{width:420,hideTitle:!0,open:{trigger:"time",ms:2e4},showOnce:!0,autoClose:0}})},69590:function(e,t,n){"use strict";var a=n(52322);n(2784);var i=n(93544),r=n(77662),l=n(43900),o=n(23846),s=n(87612),c=n(25562),d=n(14862),m=n(16462),p=n(39097),u=n.n(p);let h=(0,i.W2)("NewsletterSection").create(e=>{let{theme:t}=e;return{eagRoot:{background:t.palette.eag.primary.lightest},blue:{background:t.palette.ea.blue},content:{display:"flex",flexDirection:"row",alignItems:"center",gap:48,[t.breakpoints.down("sm")]:{flexDirection:"column"}},info:{maxWidth:"calc(min(520px, 100%))",display:"flex",flexDirection:"column",alignItems:"stretch",justifyContent:"center",gap:32},eagHeading:{color:t.palette.eag.text.main,fontFamily:t.fonts.eag,fontStretch:"expanded",fontSize:30,fontWeight:700,lineHeight:"120%",letterSpacing:"0.8px",marginBottom:8},imageContainer:{display:"flex",flexBasis:"40%",width:220,height:220,minHeight:220,maxWidth:"90vw",[t.breakpoints.up(1080)]:{transform:"scale(1.4)"},[t.breakpoints.down("xs")]:{height:300,minHeight:300}},image:{minWidth:"100%",backgroundImage:"url('".concat(r.Hr,"')"),backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center"},archiveLink:{display:"inline-block",marginTop:-16,"& a":{color:t.palette.ea.black,"&:hover":{color:t.palette.ea.orangeDark}}}}});t.Z=e=>{let{title:t,location:n,eag:i,hideArchiveLink:p,blue:g,onSubmit:x,className:f}=e,b=i?d.Z:s.Z,k=i?m.Z:c.Z,{classes:w,cx:j}=h();return(0,a.jsx)(b,{className:j(i&&w.eagRoot,g&&w.blue,f),children:(0,a.jsx)(k,{children:(0,a.jsxs)("div",{className:w.content,children:[(0,a.jsxs)("div",{className:w.info,children:[t&&(0,a.jsx)(o.Z,{style:"title",children:t}
1),(0,a.jsxs)(o.Z,{style:t?"subtitle":"quote",className:j(i&&w.eagHeading),children:["Join ",r.bB," subscribers and sign up for the EA Newsletter, a monthly email with the"," ",(0,a.jsx)("strong",{children:"latest ideas and opportunities"})]}),(0,a.jsx)(l.Z,{location:n,eag:i,buttonTitle:"Sign up",onSubmit:x}),!p&&(0,a.jsx)(o.Z,{style:"bodySmall",className:w.archiveLink,children:(0,a.jsx)(u(),{href:"/ea-newsletter-archives",children:"View past editions"})})]}),(0,a.jsx)("div",{className:w.imageContainer,children:(0,a.jsx)("div",{className:w.image})})]})})})}},87612:function(e,t,n){"use strict";var a=n(52322);n(2784);let i=(0,n(93544).W2)("Section").create(e=>{let{theme:t}=e;return{root:{position:"relative",scrollMarginTop:t.dimensions.nav.height},padding:{padding:"110px 120px",[t.breakpoints.down("sm")]:{padding:"48px 24px"}},sand:{background:t.palette.ea.sand},blue:{background:t.palette.ea.blue},orange:{background:t.palette.ea.orangeDark},black:{background:t.palette.dark.black,color:t.palette.dark.white},blackToSand:{background:"linear-gradient(\n      to bottom,\n      ".concat(t.palette.dark.black," 0%,\n      ").concat(t.palette.dark.black," 50%,\n      ").concat(t.palette.ea.sand," 50%,\n      ").concat(t.palette.ea.sand," 100%\n    )")},overflowHidden:{overflow:"hidden"}}});t.Z=e=>{let{style:t="sand",noPadding:n,overflowHidden:r,id:l,className:o,children:s}=e,{classes:c,cx:d}=i();return(0,a.jsx)("section",{id:l,className:d(c.root,c[t],!n&&c.padding,r&&c.overflowHidden,o),children:s})}},75697:function(e,t,n){"use strict";var a=n(52322);n(2784);var i=n(93544),r=n(19496);let l=(0,i.W2)("SectionDivider").create(e=>{let{theme:t}=e;return{root:{width:"100%"},sand:{background:t.palette.ea.sand},blue:{background:t.palette.ea.blue},hr:{maxWidth:1240,margin:"0 auto",padding:"0 120px",[t.breakpoints.down("sm")]:{padding:"0 24px"}}}});t.Z=e=>{let{style:t="sand"}=e,{classes:n,cx:i}=l();return(0,a.jsx)("div",{className:i(n.root,"sand"===t&&n.sand,"blue"===t&&n.blue),children:(0,a.jsx)(r.Z,{className:n.hr})})}},24658:function(e,t,n){"use strict";var a=n(52322),i=n(2784),r=n(93544),l=n(23846);let o=(0,r.W2)("TabBar").create(e=>{let{theme:t}=e;return{root:{marginTop:48,paddingBottom:24,borderBottom:"1px solid ".concat(t.palette.ea.black)},container:{display:"flex",justifyContent:"space-between",gap:8,[t.breakpoints.down("md")]:{flexDirection:"column",marginTop:24}},item:{textDecoration:"none",color:t.palette.ea.black,"&:hover":{color:t.palette.ea.orangeDark}}}});t.Z=e=>{let{sections:t,className:n}=e,r=(0,i.useCallback)((e,t)=>{let n=document.getElementById(e);n&&(t.preventDefault(),n.scrollIntoView({behavior:"smooth"}))},[]),{classes:s,cx:c}=o();return(0,a.jsx)("nav",{className:s.root,children:(0,a.jsx)("div",{className:c(s.container,n),children:t.map(e=>(0,a.jsx)("a",{href:"#".concat(e.fields.slug),onClick:r.bind(null,e.fields.slug),className:s.item,children:(0,a.jsx)(l.Z,{style:"body",children:e.fields.title})},e.fields.slug))})})}},16462:function(e,t,n){"use strict";var a=n(52322);n(2784);let i=(0,n(93544).W2)("EAGColumn").create(()=>({root:{margin:"0 auto",display:"flex",flexDirection:"column"},centered:{alignItems:"center"},extraThin:{maxWidth:"calc(min(650px, 100%))",width:650},thin:{maxWidth:"calc(min(800px, 100%))",width:800},normal:{maxWidth:"calc(min(1100px, 100%))",width:1100},wide:{maxWidth:"calc(min(1600px, 100%))",width:1600},extraWide:{maxWidth:"calc(min(2000px, 100%))",width:2e3},gap:{gap:50}}));t.Z=e=>{let{centered:t,extraThin:n,thin:r,wide:l,extraWide:o,gap:s,className:c,children:d}=e,{classes:m,cx:p}=i();return(0,a.jsx)("div",{className:p(m.root,m[n?"extraThin":r?"thin":l?"wide":o?"extraWide":"normal"],t&&m.centered,s&&m.gap,c),children:d})}},14862:function(e,t,n){"use strict";var a=n(52322);n(2784);var i=n(93544),r=n(91035);let l=(0,i.W2)("EAGSection").create(e=>{let{theme:t}=e;return{padding:{padding:"100px 100px",[t.breakpoints.down("md")]:{padding:"100px 80px"},[t.breakpoints.down("sm")]:{padding:"60px 60px"},[t.breakpoints.down("xs")]:{padding:"50px 20px"}},plain:{background:t.palette.eag.text.inverse},lightest:{background:t.palette.eag.primary.lightest},light:{background:t.palette.eag.primary.light},medium:{background:t.palette.eag.primary.medium},dark:{background:t.palette.eag.primary.dark},summit:{background:t.palette.eag.summit},transparent:{},centered:{textAlign:"center"}}});t.Z=e=>{let{style:t="plain",centered:n,noPadding:i,id:o,className:s,children:c}=e,{revealedSectionClassName:d,ref:m}=(0,r.h)(),{classes:p,cx:u}=l();return(0,a.jsx)("section",{ref:m,id:o,className:u(d,p[t],n&&p.centered,!i&&p.padding,s),children:c})}},91035:function(e,t,n){"use strict";n.d(t,{h:function(){return s}});var a=n(2784);let i=e=>{let{onEnter:t,onExit:n,threshold:i=.8,maxTriggers:r=-1}=e,l=(0,a.useRef)(0),o=(0,a.useRef)(0),s=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=s.current;if(e){let a=new IntersectionObserver(e=>{let[{isIntersecting:a}]=e;a?(r<0||l.current<r)&&(l.current++,null==t||t()):(r<0||o.current<r)&&(o.current++,null==n||n())},{threshold:i});return a.observe(e),()=>a.unobserve(e)}},[s,t,n,i,r]),s};var r=n(93544);let l={transform:"translateY(20px) scale(0.90)",opacity:.5,filter:"brightness(60%)"},o=(0,r.W2)("useRevealedSection").create(()=>({root:{position:"relative",width:"100%",minWidth:"100%",maxWidth:"100%"},magnify:{"& > *":{transition:Object.keys(l).map(e=>"".concat(e," ease ").concat("0.7s")).join(", "),transformOrigin:"bottom center"}},magnifyHidden:{"& > *":{...l}}})),s=()=>{let[e,t]=(0,a.useState)(!1),n=(0,a.useCallback)(()=>t(!1),[]);(0,a.useEffect)(()=>{window.location.hash||t(!0)},[]);let r=i({onEnter:n,maxTriggers:1,threshold:0}),{classes:l,cx:s}=o();return{revealedSectionClassName:s(l.root,l.magnify,e&&l.magnifyHidden),ref:r}}},41457:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return b}});var a=n(52322),i=n(2784),r=n(93544),l=n(67199),o=n(59736),s=n(87612),c=n(23846),d=n(25562),m=n(24658),p=n(51977),u=n(96921),h=n(75697),g=n(69590),x=n(26196);let f=(0,r.W2)("TakeActionPage").create(()=>({header:{paddingBottom:"0 !important"},body:{marginTop:16,marginBottom:48}}));var b=!0;t.default=e=>{let{takeAction:t}=e,n=(0,l.oI)(t,l.AZ),{classes:r}=f(),[b,...k]=n;
1return(0,a.jsxs)(o.Z,{title:t.fields.title,description:t.fields.body,children:[(0,a.jsx)(x.Z,{}),(0,a.jsx)(s.Z,{className:r.header,children:(0,a.jsxs)(d.Z,{wide:!0,children:[(0,a.jsx)(c.Z,{style:"title",children:"Take action"}),(0,a.jsx)(m.Z,{sections:n})]})}),b&&(0,a.jsxs)(i.Fragment,{children:[(0,a.jsx)(s.Z,{id:b.fields.slug,children:(0,a.jsxs)(d.Z,{wide:!0,children:[(0,a.jsx)(c.Z,{style:"heading1",children:b.fields.title}),b.fields.body&&(0,a.jsx)(u.Z,{simpleHeadings:!0,className:r.body,children:b.fields.body}),(0,a.jsx)(p.Z,{cards:(0,l.oI)(b,l.F_),centered:!0})]})}),(0,a.jsx)(h.Z,{})]}),(0,a.jsx)(g.Z,{location:"take-action"}),(0,a.jsx)(h.Z,{}),k.map(e=>(0,a.jsxs)(i.Fragment,{children:[(0,a.jsx)(s.Z,{id:e.fields.slug,children:(0,a.jsxs)(d.Z,{wide:!0,children:[(0,a.jsx)(c.Z,{style:"heading1",children:e.fields.title}),e.fields.body&&(0,a.jsx)(u.Z,{simpleHeadings:!0,className:r.body,children:e.fields.body}),(0,a.jsx)(p.Z,{cards:(0,l.oI)(e,l.F_),centered:!0})]})}),(0,a.jsx)(h.Z,{})]},e.fields.slug))]})}}},function(e){e.O(0,[6856,742,651,9313,8910,6415,1667,2173,9902,2888,9774,179],function(){return e(e.s=64186)}),_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.