1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[297],{85306:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/about-us/press-releases",function(){return t(13784)}])},56267:function(e,n){"use strict";n.Z={src:"/_next/static/media/logo-aflds.cde92933.svg",height:237,width:677}},71516:function(e,n,t){"use strict";var r=t(85893),s=t(67294),i=t(91045),a=t(55281),o=t(27239),c=t(57747),l=t(6089),u=t(89567),d=t(73594),p=t(80566),h=t(56267);n.Z=function(e){var n=e.title,t=e.location,f=e.date,g=e.content,m=e.views,x=(0,i.q)(),b=x.isOpen,v=x.onOpen,y=x.onClose;return(0,r.jsxs)(s.Fragment,{children:[(0,r.jsx)(p.Z,{name:n,date:f,location:t,onClick:function(e){e.preventDefault(),v()}}),(0,r.jsxs)(u.ZP,{location:t,isOpen:b,onClose:y,children:[(0,r.jsx)(u.fK,{title:n,date:f,views:m,shareButtons:!0,breadcrumbs:!0}),(0,r.jsxs)(a.K,{children:[(0,r.jsx)(o.M,{py:"24px",children:(0,r.jsx)(c.xu,{w:"auto",h:"auto",pos:"relative",as:"figure",children:(0,r.jsx)(l.E,{w:"auto",h:"auto",pos:"relative",objectFit:"cover",objectPosition:"center",loading:"lazy",src:h.Z.src,alt:"America's Frontline Doctors Logo"})})}),(0,r.jsx)(d.Z,{children:g})]}),(0,r.jsx)(u.cN,{text:"All Press Releases",location:"/about-us/press-releases"})]})]})}},10177:function(e,n,t){"use strict";t.d(n,{Z:function(){return f}});var r=t(41799),s=t(99534),i=t(85893),a=t(69396),o=t(78633),c=t(91045),l=t(14225),u=t(71293),d=function(e){var n=e.children,t=(0,s.Z)(e,["children"]),d=(0,c.q)(),p=d.isOpen,h=d.onOpen,f=d.onClose;return(0,i.jsxs)(l.z,(0,a.Z)((0,r.Z)({colorScheme:"transparent",width:{base:"full",md:"auto"},minHeight:"50px",alignItems:"center",justifyContent:"center",rounded:{base:"14px",md:"0"},p:0,pl:"16px",color:{base:"white",md:"gray.900"},cursor:"pointer",gap:{base:"8px",md:"18px"},bg:{base:"primary.500",md:"transparent"},onMouseOver:h,onMouseOut:f,_hover:{bg:{base:"gray.900",md:"secondary.500"},color:"white"}},t),{children:[(0,i.jsx)(u.x,{width:{md:"full"},fontSize:{base:"14px",md:"18px"},fontWeight:{base:"medium",md:"bold"},as:"span",children:n}),(0,i.jsx)(u.x,{w:{md:"60px"},h:{md:"50px"},display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,flexGrow:0,transition:"all 200ms ease",bgColor:{md:p?"gray.900":"primary.500"},color:"white",as:"span",children:(0,i.jsx)(o.lzl,{size:20,strokeWidth:.5})})]}))},p=function(e){var n=e.children,t=(0,s.Z)(e,["children"]);return(0,i.jsxs)(l.z,(0,a.Z)((0,r.Z)({w:"full",minH:"50px",alignItems:"center",rounded:{base:"14px",md:"0"},color:"white",cursor:"pointer",gap:{base:"8px",md:"18px"},bg:"primary.500",_hover:{bg:"gray.900"},_active:{bg:"gray.900"}},t),{children:[(0,i.jsx)(u.x,{as:"span",children:n}),(0,i.jsx)(u.x,{display:{base:"inline-flex",md:"none"},alignItems:"center",justifyContent:"center",transition:"all 200ms ease",color:"white",as:"span",children:(0,i.jsx)(o.lzl,{size:20,strokeWidth:.5})})]}))},h=function(e){var n=e.children,t=(0,s.Z)(e,["children"]),d=(0,c.q)(),p=d.isOpen,h=d.onOpen,f=d.onClose;return(0,i.jsxs)(l.z,(0,a.Z)((0,r.Z)({colorScheme:"transparent",minH:"50px",alignItems:"center",borderRadius:"0",p:"0",color:"gray.900",cursor:"pointer",gap:{base:"16px",md:"18px"},onMouseOver:h,onMouseOut:f},t),{children:[(0,i.jsx)(u.x,{fontSize:"18px",fontWeight:"bold",as:"span",children:n}),(0,i.jsx)(u.x,{w:{base:"50px",md:"60px"},h:"50px",flexShrink:0,flexGrow:0,display:"inline-flex",alignItems:"center",borderRadius:{base:"14px",md:"0"},justifyContent:"center",transition:"all 200ms ease",bgColor:p?"gray.900":"primary.500",color:"white",as:"span",children:(0,i.jsx)(o.lzl,{size:20,strokeWidth:.5})})]}))},f=function(e){var n=e.variant,t=void 0===n?"default":n,a=(0,s.Z)(e,["variant"]);return"rounded"===t?(0,i.jsx)(h,(0,r.Z)({},a)):"entire"===t?(0,i.jsx)(p,(0,r.Z)({},a)):(0,i.jsx)(d,(0,r.Z)({},a))}},95803:function(e,n,t){"use strict";var r=t(41799),s=t(69396),i=t(99534),a=t(85893),o=t(67294),c=t(22757),l=t(71293);n.Z=function(e){var n=e.title,t=e.highlight,u=e.breaking,d=e.direction,p=void 0===d?"right":d,h=(0,i.Z)(e,["title","highlight","breaking","direction"]);return(0,a.jsxs)(c.X,(0,s.Z)((0,r.Z)({color:"gray.900",fontSize:{base:"20px",md:"26px"}},h),{children:[t&&"left"===p?(0,a.jsxs)(o.Fragment,{children:[(0,a.jsx)(l.x,{display:"inline",color:"primary.500",as:"span",children:t}),u&&(0,a.jsx)("br",{})]}):null," ",n," ",t&&"right"===p?(0,a.jsxs)(o.Fragment,{children:[u&&(0,a.jsx)("br",{}),(0,a.jsx)(l.x,{display:"inline",color:"primary.500",as:"span",children:t})]}):null]}))}},80566:function(e,n,t){"use strict";t.d(n,{Z:function(){return g}});var r=t(85893),s=t(67294),i=t(27484),a=t.n(i),o=t(78633),c=t(57747),l=t(93717),u=t(6089),d=t(71293),p=t(95803),h="/_next/static/media/read-file-black.87480e90.svg",f="/_next/static/media/read-file-white.7527c2e4.svg",g=function(e){var n=e.name,t=e.date,i=e.location,g=e.external,m=e.onClick,x=(0,s.use
1State)(!1),b=x[0],v=x[1];return(0,r.jsxs)(c.xu,{w:"100%",maxW:"640px",display:"block",pos:"relative",children:[(0,r.jsx)(c.xu,{w:b?"5px":"0px",h:"100%",display:{base:"none",md:"block"},pos:"absolute",top:0,left:0,bg:"primary.500",transition:"all 200ms ease",zIndex:1}),(0,r.jsxs)(l.k,{w:"100%",h:"100%",minH:"110",align:"center",gap:"20px",border:"2px solid",borderColor:"gray.200",rounded:{base:"14px",md:"0"},pos:"relative",p:"20px",bg:"gray.50",transition:"all 200ms ease",_hover:{bg:"white",shadow:"common",borderColor:"transparent"},onMouseOver:function(){return v(!0)},onMouseLeave:function(){return v(!1)},onClick:m,as:"a",href:i,target:g?"_blank":"_self",children:[(0,r.jsx)(c.xu,{w:"44px",pos:"relative",as:"figure",children:(0,r.jsx)(u.E,{w:"100%",pos:"relative",src:b?h:f,alt:n})}),(0,r.jsxs)(l.k,{w:"100%",flexDir:"column",align:"flex-start",gap:"10px",children:[(0,r.jsx)(d.x,{color:{base:"gray.900",md:b?"primary.500":"gray.900"},fontSize:"14px",fontWeight:{base:"normal",md:b?"bold":"normal"},children:a()(t).format("MMM DD, YYYY")}),(0,r.jsx)(p.Z,{title:n,fontSize:"16px",noOfLines:2,as:"h4"})]}),(0,r.jsx)(c.xu,{flexShrink:0,flexGrow:0,color:{base:"gray.700",md:"primary.500"},children:(0,r.jsx)(o.lzl,{size:24,strokeWidth:.5})})]})]})}},13784:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return h}});var r=t(85893),s=t(79078),i=t(68519),a=t(71293),o=t(14225),c=t(59403),l=t(67294),u=t(71516),d=t(23119),p=t(64469),h=!0;n.default=function(e){var n,t=e.seo,h=e.pressReleases,f=(0,l.useRef)(null),g=(0,c.N)({queryKey:["press-releases","pages",p.k],queryFn:function(e){var n=e.pageParam,t=void 0===n?1:n;return(0,p.X)({page:t})},initialData:{pages:[h],pageParams:[1]},staleTime:0,refetchOnMount:"always",retry:2,getNextPageParam:function(e,n){return e.length===p.k?n.length+1:void 0}}),m=g.data,x=g.isError,b=g.isFetching,v=g.isFetchingNextPage,y=g.hasNextPage,j=g.fetchNextPage,w=g.refetch;(0,l.useEffect)((function(){if(y&&!b&&!x&&f.current&&"undefined"!==typeof IntersectionObserver){var e=new IntersectionObserver((function(n){n.some((function(e){return e.isIntersecting}))&&(e.disconnect(),j())}));return e.observe(f.current),function(){return e.disconnect()}}}),[y,b,x,j]);var P=(null!==(n=null===m||void 0===m?void 0:m.pages)&&void 0!==n?n:[h]).flat(),_=P.filter((function(e,n){return P.findIndex((function(n){return n.id===e.id}))===n}));return(0,r.jsx)(d.vA,{title:"Press Releases",seo:t,isNewLayout:!0,children:(0,r.jsxs)(s.r,{templateColumns:"repeat(12, 1fr)",columnGap:{md:"30px"},rowGap:"30px",children:[x&&(0,r.jsxs)(i.P,{colSpan:12,role:"alert",children:[(0,r.jsx)(a.x,{children:"Unable to update press releases. Please try again."}),(0,r.jsx)(o.z,{isLoading:b,onClick:function(){w()},children:"Try again"})]}),_.map((function(e){return(0,r.jsx)(i.P,{colSpan:{base:12,md:6,xl:4},children:(0,r.jsx)(u.Z,{title:e.title,date:e.publishedAt,views:e.views,content:e.content,location:"/about-us/press-releases/".concat(e.slug)})},e.id)})),0===P.length&&!x&&(0,r.jsx)(i.P,{colSpan:12,children:(0,r.jsx)(a.x,{children:"No press releases available."})}),y&&!x&&(0,r.jsx)(i.P,{colSpan:12,ref:f,textAlign:"center",children:(0,r.jsx)(o.z,{isLoading:v,isDisabled:b,onClick:function(){j()},children:"Load more"})})]})})}},77402:function(e,n,t){"use strict";var r=t(7015),s=t(88454),i=new r.f({ssrMode:!1,uri:"https://cms.aflds.dev/graphql",cache:new s.h({addTypename:!1}),defaultOptions:{watchQuery:{fetchPolicy:"no-cache",errorPolicy:"ignore"},query:{fetchPolicy:"no-cache",errorPolicy:"all"}}});n.Z=i},64469:function(e,n,t){"use strict";t.d(n,{k:function(){return f},X:function(){return m}});var r=t(47568),s=t(41799),i=t(69396),a=t(97582),o=t(7297),c=t(68806);function l(){var e=(0,o.Z)(["\n query getPressReleases($page: Int, $size: Int, $limit: Int, $sort: [String]) {\n pressReleases(\n pagination: { page: $page, pageSize: $size, limit: $limit }\n sort: $sort\n ) {\n data {\n id\n attributes {\n title\n slug\n content\n opengraphImage {\n data {\n id\n attributes {\n width\n height\n url\n }\n }\n }\n seoDescription\n createdAt\n updatedAt\n publishedAt\n }\n }\n }\n }\n"]);return l=function(){return e},e}function u(){var e=(0,o.Z)(["\n query getPressReleasesBySlug($slug: String) {\n pressReleases(filters: { slug: { eq: $slug } }) {\n data {\n id\n attributes {\n title\n slug\n content\n opengraphImage {\n data {\n id\n attributes {\n width\n height\n url\n }\n }\n }\n seoDescription\n createdAt\n updatedAt\n publishedAt\n }\n }\n }\n }\n"]);return u=function(){return e},e}var d=(0,c.Ps)(l()),p=((0,c.Ps)(u()),t(1604)),h=t(77402),f=15,g=p.z.object({pressReleases:p.z.object({data:p.z.array(p.z.object({id:p.z.string(),attributes:p.z.object({title:p.z.string(),slug:p.z.string(),content:p.z.string(),publishedAt:p.z.string().datetime({offset:!0})})}))})});function m(e){return x.apply(this,arguments)}function x(){return(x=(0,r.Z)((function(e){var n,t,r,o;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:return n=e.page,t=e.pageSize,r=void 0===t?f:t,[4,h.Z.query({query:d,variables:{page:n,size:r,sort:"publishedAt:desc"},fetchPolicy:"no-cache",errorPolicy:"none"})];case 1:return o=a.sent().data,[2,g.parse(o).pressReleases.data.map((function(e){return(0,i.Z)((0,s.Z)({id:e.id},e.attributes),{views:0})}
1))]}}))}))).apply(this,arguments)}},52183:function(e,n,t){"use strict";t.d(n,{W:function(){return s},w:function(){return i}});var r=t(55227),[s,i]=(0,r.k)({name:"BreadcrumbStylesContext",errorMessage:"useBreadcrumbStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Breadcrumb />\" "})},52718:function(e,n,t){"use strict";t.d(n,{a:function(){return p}});var r=t(52183),s=t(25432),i=t(92495),a=t(16554),o=t(77030),c=t(33179),l=t(22548),u=t(67294),d=t(85893),p=(0,a.G)((function(e,n){const t=(0,o.jC)("Breadcrumb",e),a=(0,c.Lr)(e),{children:p,spacing:h="0.5rem",separator:f="/",className:g,listProps:m,...x}=a,b=(0,i.W)(p),v=b.length,y=b.map(((e,n)=>(0,u.cloneElement)(e,{separator:f,spacing:h,isLastChild:v===n+1}))),j=(0,s.cx)("chakra-breadcrumb",g);return(0,d.jsx)(l.m.nav,{ref:n,"aria-label":"breadcrumb",className:j,__css:t.container,...x,children:(0,d.jsx)(r.W,{value:t,children:(0,d.jsx)(l.m.ol,{className:"chakra-breadcrumb__list",...m,__css:{display:"flex",alignItems:"center",...t.list},children:y})})})}));p.displayName="Breadcrumb"},25322:function(e,n,t){"use strict";t.d(n,{g:function(){return p}});var r=t(94236),s=t(52183),i=t(16554),a=t(22548),o=t(85893),c=(0,i.G)((function(e,n){const{spacing:t,...r}=e,i={mx:t,...(0,s.w)().separator};return(0,o.jsx)(a.m.span,{ref:n,role:"presentation",...r,__css:i})}));c.displayName="BreadcrumbSeparator";var l=t(92495),u=t(25432),d=t(67294),p=(0,i.G)((function(e,n){const{isCurrentPage:t,separator:i,isLastChild:p,spacing:h,children:f,className:g,...m}=e,x=(0,l.W)(f).map((e=>e.type===r.A?(0,d.cloneElement)(e,{isCurrentPage:t}):e.type===c?(0,d.cloneElement)(e,{spacing:h,children:e.props.children||i}):e)),b={display:"inline-flex",alignItems:"center",...(0,s.w)().item},v=(0,u.cx)("chakra-breadcrumb__list-item",g);return(0,o.jsxs)(a.m.li,{ref:n,className:v,...m,__css:b,children:[x,!p&&(0,o.jsx)(c,{spacing:h,children:i})]})}));p.displayName="BreadcrumbItem"},94236:function(e,n,t){"use strict";t.d(n,{A:function(){return c}});var r=t(52183),s=t(16554),i=t(22548),a=t(25432),o=t(85893),c=(0,s.G)((function(e,n){const{isCurrentPage:t,as:s,className:c,href:l,...u}=e,d=(0,r.w)(),p={ref:n,as:s,className:(0,a.cx)("chakra-breadcrumb__link",c),...u};return t?(0,o.jsx)(i.m.span,{"aria-current":"page",__css:d.link,...p}):(0,o.jsx)(i.m.a,{__css:d.link,href:l,...p})}));c.displayName="BreadcrumbLink"},27239:function(e,n,t){"use strict";t.d(n,{M:function(){return a}});var r=t(22548),s=t(16554),i=t(85893),a=(0,r.m)("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});a.displayName="Center";var o={horizontal:{insetStart:"50%",transform:"translateX(-50%)"},vertical:{top:"50%",transform:"translateY(-50%)"},both:{insetStart:"50%",top:"50%",transform:"translate(-50%, -50%)"}};(0,s.G)((function(e,n){const{axis:t="both",...s}=e;return(0,i.jsx)(r.m.div,{ref:n,__css:o[t],...s,position:"absolute"})}))},68519:function(e,n,t){"use strict";t.d(n,{P:function(){return l}});var r=t(16554),s=t(22548),i=t(87052),a=t(33951),o=t(85893);function c(e){return(0,a.XQ)(e,(e=>"auto"===e?"auto":`span ${e}/span ${e}`))}var l=(0,r.G)((function(e,n){const{area:t,colSpan:r,colStart:a,colEnd:l,rowEnd:u,rowSpan:d,rowStart:p,...h}=e,f=(0,i.o)({gridArea:t,gridColumn:c(r),gridRow:c(d),gridColumnStart:a,gridColumnEnd:l,gridRowStart:p,gridRowEnd:u});return(0,o.jsx)(s.m.div,{ref:n,__css:f,...h})}));l.displayName="GridItem"},40872:function(e,n,t){"use strict";function r(){return r=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},r.apply(this,arguments)}function s(){return r.apply(this,arguments)}t.d(n,{Z:function(){return s}})},59403:function(e,n,t){"use strict";t.d(n,{N:function(){return c}});var r=t(32161),s=t(52924),i=t(9499);class a extends s.z{constructor(e,n){super(e,n)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e,n){super.setOptions({...e,behavior:(0,i.Gm)()},n)}getOptimisticResult(e){return e.behavior=(0,i.Gm)(),super.getOptimisticResult(e)}fetchNextPage({pageParam:e,...n}={}
1){return this.fetch({...n,meta:{fetchMore:{direction:"forward",pageParam:e}}})}fetchPreviousPage({pageParam:e,...n}={}){return this.fetch({...n,meta:{fetchMore:{direction:"backward",pageParam:e}}})}createResult(e,n){var t,r,s,a,o,c;const{state:l}=e,u=super.createResult(e,n),{isFetching:d,isRefetching:p}=u,h=d&&"forward"===(null==(t=l.fetchMeta)||null==(r=t.fetchMore)?void 0:r.direction),f=d&&"backward"===(null==(s=l.fetchMeta)||null==(a=s.fetchMore)?void 0:a.direction);return{...u,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,i.Qy)(n,null==(o=l.data)?void 0:o.pages),hasPreviousPage:(0,i.ZF)(n,null==(c=l.data)?void 0:c.pages),isFetchingNextPage:h,isFetchingPreviousPage:f,isRefetching:p&&!h&&!f}}}var o=t(1476);function c(e,n,t){const s=(0,r._v)(e,n,t);return(0,o.r)(s,a)}}},function(e){e.O(0,[4838,4738,3365,3662,648,509,4321,594,4049,1769,9734,2718,7632,5293,3119,9393,1698,5096,9774,2888,179],(function(){return n=85306,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
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.