NewsBeat

An unnamed donor responds to global aid cuts with a record gift for the nonprofit Americares

Published

on

Neal Flanagan, right, a research scientist at Duke University, uses a tool to take a soil sample from a peatland as Curt Richardson, an ecology professor at Duke, observes Wednesday, May 6, 2026, in Belhaven, N.C. (AP Photo/Joshua A. Bickel)

2026-09-09T13:00:22Z

NEW YORK (AP) — A major American aid group is promising to deliver more medicines in high-need areas around the world after receiving its largest ever donation.

Americares, a nonprofit that supports thousands of health centers globally, announced a $50 million gift Wednesday from an unidentified Connecticut family. The contribution represents an unusual expansion at a time when the United States’ sudden aid cuts have hamstrung programs ranging from maternal and child health to HIV treatment and prevention.

Advertisement

“They definitely understood the moment and wanted to do more to respond to that,” Christine Squires, the president and CEO of Americares, said of the donor.

Individual philanthropists and charitable foundations have sought to plug some funding holes in the 18 months since President Donald Trump upended the U.S. Agency for International Development. A British billionaire funded nutritional peanut paste. Former USAID employees raised more than $125 million to buoy dozens of critical aid programs. The Gates Foundation narrowed its priorities.

freestar.queue.push(function () {
window.fsAdCount = window.fsAdCount + 1 || 0;
let customChannel=”/dynamic_” + fsAdCount;
let adList = document.querySelectorAll(“.fs-feed-ad”)
let thisAd = adList[fsAdCount];
let randId = Math.random().toString(36).slice(2);
thisAd.id = randId;
let thisPlacement = “apnews_story_feed_dynamic”;
freestar.newAdSlots({
placementName: thisPlacement,
slotId: randId
}, customChannel);
});

Global health of all USAID’s targets has received much of the attention from big donors, according to Susan Appe, a University at Albany associate professor of public administration and policy who has researched how nonprofits deal with the changing whims of donor countries. That’s reasonable, she said, considering “lives are on the line.” Jeff Bezos’ parents, for example, committed up to $500 million last March for UNICEF’s Child Nutrition Fund.

Advertisement

Experts agree that high-net-worth donors could never save every program lost by the billions of dollars cut from U.S. spending on global health. But there was an expectation that more philanthropists would step up to support the causes advanced by USAID.

“I think that a lot of philanthropy scholars like myself have been a bit disappointed with the lag of response,” Appe said. “It’s kind of, to some degree, business as usual.”

Advertisement

/* Desktop-first: fully collapse by default */
#ap-readmore-embed {
display: none;
margin: 0;
padding: 0;
height: 0;
min-height: 0;
overflow: hidden;
text-align: center;
position: relative;
z-index: 2;
}

/* Only show on mobile */
@media (max-width: 767px) {
#ap-readmore-embed {
display: block;
margin: 28px 0;
height: auto;
overflow: visible;
}
}

#ap-readmore-embed .ap-readmore-btn {
appearance: none;
-webkit-appearance: none;
border: 0;
background: #000;
color: #fff;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
padding: 14px 22px;
border-radius: 999px;
font-family: inherit, “AP Sans”, -apple-system, BlinkMacSystemFont, “Helvetica Neue”, Arial, sans-serif;
font-weight: 700;
font-size: 16px;
letter-spacing: 0.2px;
line-height: 1;
box-shadow: 0 10px 18px rgba(0,0,0,0.12);
transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
position: relative;
z-index: 3;
}

#ap-readmore-embed .ap-readmore-btn:hover {
transform: translateY(-1px);
box-shadow: 0 14px 22px rgba(0,0,0,0.16);
}

Advertisement

#ap-readmore-embed .ap-readmore-btn:active {
transform: translateY(0);
box-shadow: 0 10px 18px rgba(0,0,0,0.12);
opacity: 0.95;
}

#ap-readmore-embed .ap-readmore-btn:focus-visible {
outline: 3px solid rgba(228, 0, 43, 0.35);
outline-offset: 3px;
}

#ap-readmore-embed .ap-readmore-icon {
width: 10px;
height: 10px;
border-right: 2px solid currentColor;
border-bottom: 2px solid currentColor;
transform: rotate(45deg);
margin-top: -2px;
}

#ap-readmore-embed .ap-readmore-fade {
display: none;
height: 48px;
margin-top: -48px;
pointer-events: none;
background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}

Advertisement

(function () {
var APRM_EMBED_ID = “ap-readmore-embed”;
var APRM_MOBILE_MQ = “(max-width: 767px)”;

function APRM_onReady(fn) {
if (document.readyState === “loading”) {
document.addEventListener(“DOMContentLoaded”, fn);
} else {
fn();
}
}

APRM_onReady(function () {
var APRM_embedEl = document.getElementById(APRM_EMBED_ID);
if (!APRM_embedEl) return;

Advertisement

// 🚨 DESKTOP: remove entire module wrapper and bail early
if (!window.matchMedia(APRM_MOBILE_MQ).matches) {
var APRM_rootModule =
APRM_embedEl.closest(“.HTMLModuleEnhancement”) ||
APRM_embedEl.closest(“.HtmlModule”);

if (APRM_rootModule && APRM_rootModule.parentNode) {
APRM_rootModule.parentNode.removeChild(APRM_rootModule);
} else if (APRM_embedEl.parentNode) {
APRM_embedEl.parentNode.removeChild(APRM_embedEl);
}

return; // stop the rest of the script from running
}
});
})();

(function () {
var EMBED_ID = “ap-readmore-embed”;
var BTN_ID = “apReadMoreBtn”;
var FADE_ID = “apReadMoreFade”;
var STOP_SELECTOR = “.Page-below”;
var SIGN_IN_GATE_SELECTOR = “.sign-in-gate-content”;
var HIDDEN_ATTR = “data-ap-readmore-hidden”;
var MOBILE_MQ = “(max-width: 767px)”;

Advertisement

function ready(fn) {
if (document.readyState === “loading”) {
document.addEventListener(“DOMContentLoaded”, fn);
} else {
fn();
}
}

function isElementNode(n) {
return n && n.nodeType === 1;
}

function cancelEvent(e) {
if (!e) return;
if (typeof e.preventDefault === “function”) e.preventDefault();
if (typeof e.stopPropagation === “function”) e.stopPropagation();
if (typeof e.stopImmediatePropagation === “function”) e.stopImmediatePropagation();
e.cancelBubble = true;
e.returnValue = false;
}

function collapseDesktopEmbed(embed) {
if (!embed) return true;

Advertisement

if (!window.matchMedia(MOBILE_MQ).matches) {
var maybeWrappers = [
embed.parentElement,
embed.closest(“.html-embed”),
embed.closest(“[data-type=”htmlembed”]”),
embed.closest(“[class*=’embed’]”),
embed.closest(“[class*=’Embed’]”)
].filter(Boolean);

embed.style.display = “none”;
embed.style.margin = “0”;
embed.style.padding = “0”;
embed.style.height = “0”;
embed.style.minHeight = “0”;
embed.style.overflow = “hidden”;

maybeWrappers.forEach(function (el) {
el.style.margin = “0”;
el.style.padding = “0”;
el.style.height = “0”;
el.style.minHeight = “0”;
el.style.overflow = “hidden”;
});

if (embed.parentNode) {
embed.parentNode.removeChild(embed);
}

Advertisement

return true;
}

return false;
}

ready(function () {
var embed = document.getElementById(EMBED_ID);
var btn = document.getElementById(BTN_ID);
var fade = document.getElementById(FADE_ID);
if (!embed || !btn) return;

if (collapseDesktopEmbed(embed)) return;

Advertisement

var signInGate = document.querySelector(SIGN_IN_GATE_SELECTOR);
if (signInGate) {
embed.innerHTML = “”;
return;
}

// — Analytics: impression when embed enters viewport —
if (“IntersectionObserver” in window) {
var io = new IntersectionObserver(function (entries, observer) {
if (entries[0].isIntersecting) {
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({ event: “ap_readmore_impression” });
observer.disconnect();
}
}, { threshold: 0 });
io.observe(btn);
}

var stopEl = document.querySelector(STOP_SELECTOR);
if (!stopEl) return;

var rootCandidates = [
embed.closest(“.Page”),
embed.closest(“article”),
embed.closest(“main”),
document.body
].filter(Boolean);

Advertisement

var root = rootCandidates.find(function (c) {
return c.contains(stopEl);
}) || document.body;

var all = root.getElementsByTagName(“*”);
var hidden = [];

for (var i = 0; i < all.length; i++) {
var el = all[i];

if (embed.contains(el)) continue;
if (el === stopEl || stopEl.contains(el)) continue;

Advertisement

var tag = el.tagName ? el.tagName.toLowerCase() : "";
if (tag === "script" || tag === "style" || tag === "link" || tag === "meta") continue;

if (!(embed.compareDocumentPosition(el) & Node.DOCUMENT_POSITION_FOLLOWING)) continue;
if (!(el.compareDocumentPosition(stopEl) & Node.DOCUMENT_POSITION_FOLLOWING)) continue;
if (el.contains(embed) || el.contains(stopEl)) continue;

el.setAttribute(HIDDEN_ATTR, "1");
el.style.display = "none";
hidden.push(el);
}

if (!hidden.length) return;

Advertisement

fade.style.display = "block";

var revealed = false;
var suppressClick = false;

function reveal(e) {
cancelEvent(e);

if (revealed) return false;
revealed = true;

Advertisement

// — Analytics: click —
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({ event: "ap_readmore_click" });

hidden.forEach(function (el) {
if (!isElementNode(el)) return;
if (el.getAttribute(HIDDEN_ATTR) === "1") {
el.style.display = "";
el.removeAttribute(HIDDEN_ATTR);
}
});

btn.setAttribute("aria-expanded", "true");

if (embed.parentNode) {
embed.parentNode.removeChild(embed);
}

Advertisement

return false;
}

if (window.PointerEvent) {
btn.addEventListener("pointerup", function (e) {
suppressClick = true;
return reveal(e);
}, false);
}

btn.addEventListener("touchend", function (e) {
suppressClick = true;
return reveal(e);
}, false);

btn.addEventListener("click", function (e) {
if (suppressClick) {
suppressClick = false;
cancelEvent(e);
return false;
}
return reveal(e);
}, false);

Advertisement

btn.onclick = function (e) {
return reveal(e || window.event);
};
});
})();

Americares, which Squires said had received about 10% of its funding from the U.S. government before the aid cuts, certainly felt the impact. Among their efforts that lost support last year was a maternal care project in Tanzania. Colombian medical clinics serving Venezuelan migrants closed after private funders kept them afloat for several months. A planned five-year collaboration to build a more robust medical supply chain across Gaza had to be scrapped.

freestar.queue.push(function () {
window.fsAdCount = window.fsAdCount + 1 || 0;
let customChannel=”/dynamic_” + fsAdCount;
let adList = document.querySelectorAll(“.fs-feed-ad”)
let thisAd = adList[fsAdCount];
let randId = Math.random().toString(36).slice(2);
thisAd.id = randId;
let thisPlacement = “apnews_story_feed_dynamic”;
freestar.newAdSlots({
placementName: thisPlacement,
slotId: randId
}, customChannel);
});

Squires considers the group fortunate to have a robust-enough network that it now receives all of its funding from a mix of individual donors, corporations and private foundations. That’s important as the group responds to more than 20 emergencies including the Nepal floods and the Congo’s Ebola outbreak.

Advertisement

Sign up for Morning Wire:
Our flagship newsletter breaks down the biggest headlines of the day.

Advertisement


By checking this box, you agree to AP’s
Terms of Use
and acknowledge that AP may collect and use your data pursuant to our
Privacy Policy.

Advertisement

[data-ap-newsletter-embed-nlmw25] {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 16px;
width: 100%;
max-width: 720px;
min-width: 0;
padding: 16px 16px 16px 16px;
box-sizing: border-box;
border-radius: 8px;
border: 1px solid #E6E6E7;
background: #F2F2F2;
box-shadow: 0 4px 4px 4px rgba(102, 102, 102, 0.40);
font-family: “AP Var”, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
color: #000;
container-type: inline-size;
container-name: ap-nl-nlmw25;
margin-left: auto;
margin-right: auto;
align-self: center;
justify-self: center;
}

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-accent-nlmw25 {
width: 48px;
height: 6px;
}

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-title-nlmw25 {
align-self: stretch;
color: #000;
font-family: “AP Var”, system-ui, sans-serif;
font-size: 18px;
font-style: normal;
font-weight: 400;
line-height: 150%;
margin: 0;
}

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-title-nlmw25 strong {
font-weight: 700;
line-height: 130%;
}

Advertisement

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-form-nlmw25 {
margin: 0;
display: flex;
flex-direction: column;
gap: 16px;
width: 100%;
}

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-row-nlmw25 {
display: flex;
align-items: center;
gap: 12px;
width: 100%;
flex-wrap: nowrap;
}

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-input-nlmw25 {
width: 100%;
min-width: 0;
border: 1px solid #E6E6E7;
border-radius: 10px;
padding: 11px 12px;
font-size: 14px;
line-height: 1.2;
outline: none;
box-sizing: border-box;
background: #fff;
color: #000;
}

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-input-wrapper-nlmw25 {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 8px;
flex: 1 0 0;
}

Advertisement

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-input-nlmw25:focus {
border-color: rgba(0,0,0,.35);
box-shadow: 0 0 0 3px rgba(255, 50, 46, 0.18);
}

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-button-nlmw25 {
display: flex;
justify-content: center;
align-items: center;
height: 40px;
max-height: 40px;
padding: 8px 16px;
border-radius: 24px;
background: #191919;
color: #ffffff;
border: none;
font-size: 14px;
font-weight: 600;
line-height: 1;
cursor: pointer;
white-space: nowrap;
transition: background 150ms ease, transform 120ms ease;
flex: 0 0 auto;
}

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-button-nlmw25:hover {
background: #000000;
}

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-button-nlmw25:active {
transform: scale(0.98);
}

Advertisement

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-disclaimer-nlmw25 {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 8px;
align-self: stretch;
background: rgba(255, 255, 255, 0);
background-blend-mode: multiply;
margin: 0;
}

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-check-nlmw25 {
display: flex;
gap: 8px;
align-items: flex-start;
user-select: none;
cursor: pointer;
}

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-checkbox-nlmw25 {
margin-top: 2px;
width: 16px;
height: 16px;
accent-color: var(–ap-accent);
flex: 0 0 auto;
}

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-checktext-nlmw25 {
font-size: 12px;
line-height: 1.35;
color: var(–ap-muted);
}

Advertisement

[data-ap-newsletter-embed-nlmw25] a {
color: var(–ap-text);
text-decoration: underline;
text-underline-offset: 2px;
}

[data-ap-newsletter-embed-nlmw25] a:hover {
color: var(–ap-accent);
}

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-messages-nlmw25 {
margin: 0;
}

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-error-nlmw25:empty,
[data-ap-newsletter-embed-nlmw25] .ap-newsletter-help-nlmw25:empty {
display: none;
}

Advertisement

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-help-nlmw25 {
margin: 0;
}

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-messages-nlmw25:has(.ap-newsletter-error-nlmw25:empty):has(.ap-newsletter-help-nlmw25:empty) {
display: none;
}

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-error-nlmw25 {
margin: 0;
font-size: 12px;
line-height: 1.35;
color: var(–ap-error);
min-height: 1.2em;
}

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-help-nlmw25 {
margin: 6px 0 0;
font-size: 12px;
line-height: 1.35;
color: var(–ap-muted);
}

Advertisement

[data-ap-newsletter-embed-nlmw25].is-submitted-nlmw25 .ap-newsletter-input-nlmw25 {
background: rgba(0,0,0,.04);
border-color: rgba(0,0,0,.10);
color: rgba(0,0,0,.70);
cursor: default;
}

[data-ap-newsletter-embed-nlmw25].is-submitted-nlmw25 .ap-newsletter-button-nlmw25 {
display: none;
}

[data-ap-newsletter-embed-nlmw25].is-submitted-nlmw25 .ap-newsletter-disclaimer-nlmw25 {
display: none;
}

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-bot-field-nlmw25 {
position: absolute !important;
left: -9999px;
top: -9999px;
width: 1px;
height: 1px;
opacity: 0;
pointer-events: none;
}

Advertisement

[data-ap-newsletter-embed-nlmw25] .ap-sr-only-nlmw25 {
position: absolute !important;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0,0,0,0);
white-space: nowrap;
border: 0;
}

@container ap-nl-nlmw25 (max-width: 420px) {
[data-ap-newsletter-embed-nlmw25] {
max-width: 350px;
padding: 16px;
gap: 12px;
}

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-form-nlmw25 {
gap: 12px;
}

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-row-nlmw25 {
flex-direction: column;
align-items: stretch;
gap: 12px;
}

Advertisement

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-button-nlmw25 {
width: 100%;
}

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-input-wrapper-nlmw25,
[data-ap-newsletter-embed-nlmw25] .ap-newsletter-input-nlmw25 {
width: 100%;
}
}

@media (max-width: 420px) {
[data-ap-newsletter-embed-nlmw25] {
max-width: 350px;
padding: 16px;
gap: 12px;
}

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-form-nlmw25 {
gap: 12px;
}

Advertisement

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-row-nlmw25 {
flex-direction: column;
align-items: stretch;
gap: 12px;
}

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-button-nlmw25 {
width: 100%;
}

[data-ap-newsletter-embed-nlmw25] .ap-newsletter-input-wrapper-nlmw25,
[data-ap-newsletter-embed-nlmw25] .ap-newsletter-input-nlmw25 {
width: 100%;
}
}

const NL_DEFAULT_CONFIG_NLMW25 = {
apiUrl: ‘/api/newsletter/signup’,
defaultNewsletterList: [‘Morning Wire Subscribers’],
recaptchaSiteKey: ‘6Lf06WQrAAAAABB9Ms3Gru2SFLSxUYrLqP5YLDMn’,
recaptchaHeader: ‘X-ReCaptcha-Token’,

Advertisement

/*
UTM params to append to the page URL used as the request referrer.
This does NOT modify the subscription payload.
*/
referrerUtmParams: {
utm_source: ’embed’
},

messages: {
invalidEmail: ‘Please use a valid email address.’,
disclaimerRequired: ‘Please check disclaimer before proceeding.’,
invalidBoth: ‘Please provide a valid email address, and check disclaimer.’,
genericError: ‘Something went wrong. Please try again later.’,
botBlocked: ‘Please try again.’,
recaptchaLoadFail: ‘Failed to load reCAPTCHA. Please refresh the page and try again.’,
recaptchaRequired: ‘reCAPTCHA verification is required. Please ensure reCAPTCHA is loaded on this page.’,
recaptchaFailed: ‘reCAPTCHA verification failed. Please refresh the page and try again.’,
verificationFailed: ‘Verification failed. Please try again.’
}
};

(function (nlConfigNLMW25) {
const nlEmailRegexNLMW25 = /^[^s@]+@[^s@]+.[^s@]{2,}$/;
const nlRecaptchaCheckIntervalNLMW25 = 100;
const nlRecaptchaMaxAttemptsNLMW25 = 50;

function nlIsValidEmailNLMW25(email) {
return nlEmailRegexNLMW25.test(String(email || ”).trim());
}

Advertisement

function nlBuildReferrerUrlNLMW25(utmParams) {
try {
const url = new URL(window.location.href);

Object.entries(utmParams || {}).forEach(([key, value]) => {
if (value !== undefined && value !== null && value !== ”) {
url.searchParams.set(key, value);
}
});

return url.toString();
} catch (err) {
console.warn(‘Unable to build referrer URL with UTM params:’, err);
return window.location.href;
}
}

function nlLoadRecaptchaScriptNLMW25(siteKey, callback) {
if (typeof window.grecaptcha !== ‘undefined’) {
callback && callback();
return;
}

Advertisement

const existingScript = document.querySelector(‘script[src*=”recaptcha/api.js”]’);
if (existingScript) {
const checkInterval = setInterval(() => {
if (typeof window.grecaptcha !== ‘undefined’) {
clearInterval(checkInterval);
callback && callback();
}
}, nlRecaptchaCheckIntervalNLMW25);
return;
}

const script = document.createElement(‘script’);
script.src = `https://www.google.com/recaptcha/api.js?render=${encodeURIComponent(siteKey)}`;
script.async = true;
script.defer = true;
script.onload = () => callback && callback();
script.onerror = () => {
console.error(‘Failed to load reCAPTCHA script’);
callback && callback(false);
};
document.head.appendChild(script);
}

function nlWaitForRecaptchaNLMW25(callback, maxAttempts = nlRecaptchaMaxAttemptsNLMW25) {
let attempts = 0;

const checkRecaptcha = () => {
attempts++;
if (
typeof window.grecaptcha !== ‘undefined’ &&
typeof window.grecaptcha.execute === ‘function’
) {
callback(true);
} else if (attempts token && token.length > 0 ? token : null)
.catch(error => {
const errorMsg = error?.message || String(error);
if (
errorMsg.includes(‘No reCAPTCHA clients’) ||
errorMsg.includes(‘not initialized’) ||
errorMsg.includes(‘Invalid site key’)
) {
throw new Error(‘recaptcha_failed’);
}
throw error;
});
}

Advertisement

const nlEmbedsNLMW25 = document.querySelectorAll(‘[data-ap-newsletter-embed-nlmw25]’);

nlEmbedsNLMW25.forEach((rootNLMW25, idxNLMW25) => {
const formNLMW25 = rootNLMW25.querySelector(‘.ap-newsletter-form-nlmw25’);
const emailInputNLMW25 = rootNLMW25.querySelector(‘.ap-newsletter-input-nlmw25’);
const checkboxNLMW25 = rootNLMW25.querySelector(‘.ap-newsletter-checkbox-nlmw25’);
const errorElNLMW25 = rootNLMW25.querySelector(‘.ap-newsletter-error-nlmw25’);
const helpElNLMW25 = rootNLMW25.querySelector(‘.ap-newsletter-help-nlmw25’);
const botFieldNLMW25 = rootNLMW25.querySelector(‘.ap-newsletter-bot-field-nlmw25’);
const recaptchaDivNLMW25 = rootNLMW25.querySelector(‘.ap-newsletter-recaptcha-nlmw25’);

let nlIsSubmittingNLMW25 = false;

const newsletterListNLMW25 = nlConfigNLMW25.defaultNewsletterList;
const recaptchaSiteKeyNLMW25 = nlConfigNLMW25.recaptchaSiteKey;
const requestReferrerNLMW25 = nlBuildReferrerUrlNLMW25(nlConfigNLMW25.referrerUtmParams);

Advertisement

const emailIdNLMW25 = `nl-email-nlmw25-${idxNLMW25}`;
const helpIdNLMW25 = `nl-help-nlmw25-${idxNLMW25}`;
const errIdNLMW25 = `nl-error-nlmw25-${idxNLMW25}`;
const recaptchaIdNLMW25 = `recaptcha-nlmw25-${idxNLMW25}`;

emailInputNLMW25.id = emailIdNLMW25;
helpElNLMW25.id = helpIdNLMW25;
errorElNLMW25.id = errIdNLMW25;
if (recaptchaDivNLMW25) {
recaptchaDivNLMW25.id = recaptchaIdNLMW25;
if (recaptchaSiteKeyNLMW25) {
recaptchaDivNLMW25.setAttribute(‘data-sitekey’, recaptchaSiteKeyNLMW25);
}
}
emailInputNLMW25.setAttribute(‘aria-describedby’, `${helpIdNLMW25} ${errIdNLMW25}`);

const nlSetErrorNLMW25 = (msg) => {
errorElNLMW25.textContent = msg || ”;
errorElNLMW25.style.display = msg ? ‘block’ : ‘none’;
};

const nlHideErrorNLMW25 = () => nlSetErrorNLMW25(”);

Advertisement

const nlSetSubmittedNLMW25 = () => {
rootNLMW25.classList.add(‘is-submitted-nlmw25’);
emailInputNLMW25.value=”SUBMITTED”;
emailInputNLMW25.style.fontWeight=”bold”;
emailInputNLMW25.setAttribute(‘readonly’, ‘readonly’);
emailInputNLMW25.setAttribute(‘aria-invalid’, ‘false’);
nlHideErrorNLMW25();
};

const nlSubscribeNLMW25 = (tokenNLMW25) => {
if (nlIsSubmittingNLMW25) return;

if (botFieldNLMW25?.value) {
console.warn(‘Bot field filled –‘, botFieldNLMW25.value);
nlSetErrorNLMW25(nlConfigNLMW25.messages.botBlocked);
return;
}

const emailNLMW25 = String(emailInputNLMW25.value || ”).trim();
const emailOkNLMW25 = nlIsValidEmailNLMW25(emailNLMW25);
const disclaimerOkNLMW25 = checkboxNLMW25.checked;

Advertisement

if (!emailOkNLMW25 && !disclaimerOkNLMW25) {
nlSetErrorNLMW25(nlConfigNLMW25.messages.invalidBoth);
emailInputNLMW25.setAttribute(‘aria-invalid’, ‘true’);
emailInputNLMW25.focus();
return;
}

if (!emailOkNLMW25) {
nlSetErrorNLMW25(nlConfigNLMW25.messages.invalidEmail);
emailInputNLMW25.setAttribute(‘aria-invalid’, ‘true’);
emailInputNLMW25.focus();
return;
}

if (!disclaimerOkNLMW25) {
nlSetErrorNLMW25(nlConfigNLMW25.messages.disclaimerRequired);
checkboxNLMW25.focus();
return;
}

nlIsSubmittingNLMW25 = true;

Advertisement

const headersNLMW25 = { ‘Content-Type’: ‘application/json’ };
if (tokenNLMW25) {
headersNLMW25[nlConfigNLMW25.recaptchaHeader] = tokenNLMW25;
}

fetch(nlConfigNLMW25.apiUrl, {
method: ‘POST’,
headers: headersNLMW25,
body: JSON.stringify({
emailId: emailNLMW25,
newsLetterListToSubscribe: newsletterListNLMW25
}),

/*
This is the key change:
send the current page URL + UTM params as the referrer.
Example:
https://…/article/… ?utm_source=embed
*/
referrer: requestReferrerNLMW25,
referrerPolicy: ‘strict-origin-when-cross-origin’
})
.then(response =>
response.json()
.then(data => ({ status: response.status, data }))
.catch(() => ({ status: response.status, data: null }))
)
.then(result => {
nlIsSubmittingNLMW25 = false;

const hasVerificationErrorNLMW25 = result.data && (
result.data.message?.includes(‘Verification Failed’) ||
result.data.error?.includes(‘Verification Failed’)
);

Advertisement

if (hasVerificationErrorNLMW25) {
nlSetErrorNLMW25(nlConfigNLMW25.messages.verificationFailed);
return;
}

if (result.status === 200) {
if (typeof window.NLSignup === ‘function’) {
try { window.NLSignup(emailNLMW25); } catch (err) {}
}

window.dispatchEvent(new CustomEvent(‘nl:newsletterSignup:nlmw25’, {
detail: {
email: emailNLMW25,
source: ‘Morning Wire Embed’,
newsletters: newsletterListNLMW25,
referrer: requestReferrerNLMW25
}
}));

nlSetSubmittedNLMW25();
} else {
const errorMsgNLMW25 =
result.data?.message ||
result.data?.error ||
nlConfigNLMW25.messages.genericError;

Advertisement

nlSetErrorNLMW25(errorMsgNLMW25);
}
})
.catch(error => {
nlIsSubmittingNLMW25 = false;
console.error(‘Newsletter subscription error:’, error);
nlSetErrorNLMW25(nlConfigNLMW25.messages.genericError);
});
};

const nlAttemptRecaptchaNLMW25 = () => {
if (!recaptchaSiteKeyNLMW25) {
nlWaitForRecaptchaNLMW25(isAvailable => {
if (!isAvailable) {
nlSetErrorNLMW25(nlConfigNLMW25.messages.recaptchaRequired);
nlIsSubmittingNLMW25 = false;
return;
}

nlExecuteRecaptchaNLMW25()
.then(token => nlSubscribeNLMW25(token))
.catch(() => nlSubscribeNLMW25(null));
});
return;
}

nlLoadRecaptchaScriptNLMW25(recaptchaSiteKeyNLMW25, success => {
if (success === false) {
nlSetErrorNLMW25(nlConfigNLMW25.messages.recaptchaLoadFail);
nlIsSubmittingNLMW25 = false;
return;
}

Advertisement

nlWaitForRecaptchaNLMW25(isAvailable => {
if (!isAvailable) {
nlSetErrorNLMW25(nlConfigNLMW25.messages.recaptchaRequired);
nlIsSubmittingNLMW25 = false;
return;
}

const runExecuteNLMW25 = () => {
nlExecuteRecaptchaNLMW25()
.then(token => nlSubscribeNLMW25(token))
.catch(error => {
if (error?.message === ‘recaptcha_failed’) {
nlSetErrorNLMW25(nlConfigNLMW25.messages.recaptchaFailed);
nlIsSubmittingNLMW25 = false;
} else {
console.warn(‘reCAPTCHA error:’, error);
nlSubscribeNLMW25(null);
}
});
};

if (typeof window.grecaptcha.ready === ‘function’) {
window.grecaptcha.ready(runExecuteNLMW25);
} else {
runExecuteNLMW25();
}
});
});
};

formNLMW25.addEventListener(‘submit’, e => {
e.preventDefault();
if (rootNLMW25.classList.contains(‘is-submitted-nlmw25’) || nlIsSubmittingNLMW25) return;
nlHideErrorNLMW25();
nlAttemptRecaptchaNLMW25();
});

Advertisement

emailInputNLMW25.addEventListener(‘input’, () => {
nlHideErrorNLMW25();
emailInputNLMW25.setAttribute(‘aria-invalid’, ‘false’);
});

checkboxNLMW25.addEventListener(‘change’, nlHideErrorNLMW25);
});
})(NL_DEFAULT_CONFIG_NLMW25);

In this particular case, Squires said the donor’s family has been involved with Americares for 30 years. They’re “very savvy” in their understanding of global health, she said.

Half of the new gift will power its goal to help 100 million people access quality healthcare by 2030 “in a time when that need is increasing,” according to Squires. That work involves providing additional medical supplies to their network of more than 4,000 health centers. They will focus especially on countries in sub-Saharan Africa, the Middle East, North Africa, Asia and Latin America that lack funding and awareness. Americares also plans to increase support for U.S. health centers in states where they expect to see more residents without health insurance.

Advertisement

The other half will go toward Americares’ endowment, Squires said. She hopes the news of its record donation will inspire others. Investments of that size show “there are people who trust,” she said, in both Americares and the humanitarian sector overall.

freestar.queue.push(function () {
window.fsAdCount = window.fsAdCount + 1 || 0;
let customChannel=”/dynamic_” + fsAdCount;
let adList = document.querySelectorAll(“.fs-feed-ad”)
let thisAd = adList[fsAdCount];
let randId = Math.random().toString(36).slice(2);
thisAd.id = randId;
let thisPlacement = “apnews_story_feed_dynamic”;
freestar.newAdSlots({
placementName: thisPlacement,
slotId: randId
}, customChannel);
});

“It’s not only up to individuals,” she said. “However, individuals who have the means, who have the passion and can invest like this, will help to bring others along. So, I’m excited and hopeful that this will spark more giving across the board.”

___

Advertisement

Associated Press coverage of philanthropy and nonprofits receives support through the AP’s collaboration with The Conversation US, with funding from Lilly Endowment Inc. The AP is solely responsible for this content. For all of AP’s philanthropy coverage, visit https://apnews.com/hub/philanthropy.

JAMES POLLARD

Advertisement

Pollard covers philanthropy for The Associated Press with a focus on Gen Z’s giving habits and technology’s uses in charitable work. He is based in New York.


twitter

Advertisement


mailto

Source link

You must be logged in to post a comment Login

Leave a Reply

Cancel reply

Trending

Exit mobile version