PageSourceSearch

https://atlasarena.surge.sh/_next/static/chunks/pages/resources-798ecf4e38f64136.js

js atlasarena.surge.sh collected 2026-10-03 14:56:09 UTC 9,466 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[584],{569:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/resources",function(){return r(4090)}])},7094:function(e,t,r){"use strict";r.d(t,{Z:function(){return x}});var n=r(5893);r(7294);var l=r(7747),i=r(3717),o=r(4e3),s=r(9754),a=r(9605),c=r(2757),h=r(2883),d=r(3804),u={p:e=>{let{children:t}=e;return(0,n.jsx)(o.x,{variant:"secondary-text",lineHeight:"tall",fontSize:"lg",color:"gray.700",textAlign:"start",mx:0,children:t})},h1:e=>{let{children:t}=e;return(0,n.jsx)(c.X,{as:"h1",variant:"secondary-heading",fontSize:"2xl",lineHeight:"taller",py:4,children:t})},h2:e=>{let{children:t}=e;return(0,n.jsx)(c.X,{as:"h2",variant:"secondary-heading",fontSize:"xl",lineHeight:"taller",py:3,children:t})},h3:e=>{let{children:t}=e;return(0,n.jsx)(c.X,{as:"h3",fontSize:"lg",fontWeight:"bold",lineHeight:"taller",py:3,children:t})},h4:e=>{let{children:t}=e;return(0,n.jsx)(c.X,{as:"h4",fontSize:"md",fontWeight:"semibold",lineHeight:"taller",py:2,children:t})},h5:e=>{let{children:t}=e;return(0,n.jsx)(c.X,{as:"h5",fontSize:"sm",fontWeight:"medium",lineHeight:"tall",py:2,children:t})},h6:e=>{let{children:t}=e;return(0,n.jsx)(c.X,{as:"h6",fontSize:"xs",fontWeight:"medium",lineHeight:"tall",py:2,children:t})},a:e=>{let{href:t,children:r}=e;return(0,n.jsx)(h.r,{href:t,textDecoration:"none",lineHeight:"tall",rel:"noopener noreferrer",_hover:{color:"blue.700"},children:r})},i:e=>{let{children:t}=e;return(0,n.jsx)(o.x,{as:"i",fontStyle:"italic",lineHeight:"tall",children:t})},b:e=>{let{children:t}=e;return(0,n.jsx)(o.x,{as:"b",fontWeight:"bold",lineHeight:"tall",children:t})},ul:e=>{let{children:t}=e;return(0,n.jsx)(d.QI,{pl:4,children:t})},ol:e=>{let{children:t}=e;return(0,n.jsx)(d.GS,{pl:4,children:t})},li:e=>{let{children:t}=e;return(0,n.jsx)(d.HC,{children:(0,n.jsx)(o.x,{variant:"secondary-text",lineHeight:"tall",children:t})})}},x=e=>{let{kicker:t="",title:r="",sub_title:c="",contentHtml:h=null}=e,d=h&&(0,n.jsx)(l.xu,{py:0,px:0,maxW:{xs:null,md:"70ch"},children:(0,n.jsx)(s.U,{components:(0,a.Z)(u),children:h,skipHtml:!1})}),x=t&&""!==t&&(0,n.jsx)(i.k,{py:3,justifyContent:"center",children:(0,n.jsx)(o.x,{fontSize:{base:"xs",md:"sm"},fontWeight:"semibold",color:"blue.900",textTransform:"uppercase",letterSpacing:"wider",textAlign:"center",borderBottom:2,borderBottomColor:"blue.800",borderStyle:"solid",children:t})}),m=c&&""!==c&&(0,n.jsx)(o.x,{fontSize:{base:"sm",md:"md"},fontWeight:600,color:"blue.900",lineHeight:"shorter",letterSpacing:"wider",textAlign:"start",textTransform:"uppercase",children:c});return(0,n.jsxs)(l.xu,{p:1,mx:"auto",children:[x,(0,n.jsxs)(l.xu,{py:{base:2,md:4},children:[(0,n.jsx)(o.x,{fontSize:["3xl","4xl","5xl","6xl"],fontWeight:600,color:"blue.900",lineHeight:"shorter",letterSpacing:"wider",textAlign:"start",textTransform:"uppercase",sx:{"&::first-letter":{textDecoration:"underline",textUnderlineOffset:"16px"}},mb:4,children:r}),m]}),d]})}},3347:function(e,t,r){"use strict";var n=r(5893),l=r(4e3),i=r(2757),o=r(2883),s=r(6101),a=r(5523),c=r(3804),h=r(991),d=r(9840),u=r(5161),x=r(5115),m=r(510),f=r(4693),p=r(4698),g=r(9429),j=r(7747);t.Z={p:e=>{let{children:t}=e;return(0,n.jsx)(l.x,{variant:"secondary-text",fontSize:"md",lineHeight:"tall",py:2,children:t})},h1:e=>{let{children:t}=e;return(0,n.jsx)(i.X,{as:"h1",fontSize:"2xl",lineHeight:"taller",py:4,children:t})},h2:e=>{let{children:t}=e;return(0,n.jsx)(i.X,{as:"h2",variant:"secondary-heading",fontSize:"xl",lineHeight:"taller",py:3,children:t})},h3:e=>{let{children:t}=e;return(0,n.jsx)(i.X,{as:"h3",fontSize:"lg",fontWeight:"bold",lineHeight:"taller",py:3,children:t})},h4:e=>{let{children:t}=e;return(0,n.jsx)(i.X,{as:"h4",fontSize:"md",fontWeight:"semibold",lineHeight:"taller",py:2,children:t})},h5:e=>{let{children:t}=e;return(0,n.jsx)(i.X,{as:"h5",fontSize:"sm",fontWeight:"medium",lineHeight:"tall",py:2,children:t})},h6:e=>{let{children:t}=e;return(0,n.jsx)(i.X,{as:"h6",fontSize:"xs",fontWeight:"medium",lineHeight:"tall",py:2,children:t})},a:e=>{let{href:t,children:r}=e,l=t.startsWith("http");return(0,n.jsx)(o.r,{href:l?t:"/".concat(t),color:"blue.500",textDecoration:"underline",fontWeight:"bold",lineHeight:"tall",target:l?"_blank":"_self",rel:"noopener noreferrer",_hover:{color:"blue.700"},children:r})},code:e=>{let{children:t}=e;return t.includes("\n")?(0,n.jsx)(s.E,{colorScheme:"purple",width:"100%",p:4,borderRadius:"md",whiteSpace:"pre-wrap",children:t}):(0,n.jsx)(s.E,{colorScheme:"gray",p:1,borderRadius:"md",bg:"gray.100",children:t})},blockquote:e=>{let{children:t}=e;return(0,n.jsx)(a.Blockquote,{bg:"gray.100",borderLeft:"4px solid",borderColor:"gray.400",p:4,m:4,borderRadius:"md",children:t})},i:e=>{let{children:t}=e;return(0,n.jsx)(l.x,{as:"i",fontStyle:"italic",lineHeight:"tall",children:t})},b:e=>{let{children:t}=e;return(0,n.jsx)(l.x,{as:"b",fontWeight:"bold",lineHeight:"tall",children:t})},ul:e=>{let{children:t}=e;return(0,n.jsx)(c.QI,{pl:4,children:t})},ol:e=>{let{children:t}=e;return(0,n.jsx)(c.GS,{pl:4,children:t})},li:e=>{let{children:t}=e;return(0,n.jsx)(c.HC,{children:(0,n.jsx)(l.x,{variant:"secondary-text",lineHeight:"tall",children:t})})},table:e=>(0,n.jsx)(h.i,{variant:"simple",my:4,width:"100%",textAlign:"left",children:e.children}),thead:e=>(0,n.jsx)(d.h,{bg:(0,u.ff)("gray.200","gray.600"),children:e.children}),tbody:e=>(0,n.jsx)(x.p,{children:e.children}),tr:e=>(0,n.jsx)(m.Tr,{children:e.children}),th:e=>(0,n.jsx)(f.Th,{fontWeight:"bold",borderColor:(0,u.ff)("gray.300","gray.600"),children:e.children}),td:e=>(0,n.jsx)(p.Td,{borderColor:(0,u.ff)("gray.300","gray.600"),children:e.children}),iframe:e=>(0,n.jsx)(g.o,{maxW:"100%",ratio:16/9,children:(0,n.jsx)(j.xu,{as:"iframe",src:e.src,title:e.title||"iframe content",allowFullScreen:!0,...e})})}},4090:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return b},default:function(){return S}});var n=r(5893),l=r(7294),i=r(7747),o=r(5281),s=(0,r(6554).G)((e,t)=>(0,n.jsx)(o.K,{align:"center",...e,direction:"column",ref:t}));s.displayName="VStack";var a=r(4e3),c=r(3717),h=r(2883),d=r(2338),u=r(1163),x=r(9754),m=r(9605),f=r(3347),p=r(2549),g=r(7094),j=r(3662);let y=e=>{let{navigationItems:t,handleNavigation:r,selectedItem:l}=e;return t?(0,n.jsx)(i.xu,{w:{xs:"100%",md:"20%"},pt:{xs:0,md:10},pr:{xs:0,md:4},borderRight:{xs:"none",md:"1px solid"},borderColor:{xs:null,md:"gray.200"},overflowY:"auto",children:(0,n.jsx)(s,{align:"start",spacing:4,children:t.filter(e=>e.items&&e.items.length).map(e=>(0,n.jsxs)(i.xu,{w:"full",children:[(0,n.jsx)(a.x,{fontWeight:"bold",fontSize:"sm",color:"gray.600",mb:2,children:e.name.toUpperCase()}),(0,n.jsx)(c.k,{flexDirection:"column",gap:2,children:e.items.map(e=>(0,n.jsx)(h.r,{onClick:()=>r(e),fontWeight:l===e?"bold":"normal",color:l===e?"blue.800":"gray.500",children:e},e))})]},e.name))})}):null};var b=!0,S=e=>{let{mdData:t,pageData:r}=e,o=(0,u.useRouter)(),{item:s}=o.query,[a,h]=(0,l.useState)(s||null);(0,l.useEffect)(()=>{s&&h(s.toLowerCase().replace(" ","_"))},[s,t]);let b=[{name:"virus resources",items:(0,j.fS)(t.filter(e=>"virus"==e.layout),"name").map(e=>e.name)}
1,{name:"reservoir species",items:(0,j.fS)(t.filter(e=>"specie"==e.layout),"name").map(e=>e.name)},{name:"publications",items:(0,j.fS)(t.filter(e=>"publications"==e.layout),"name").map(e=>e.name)}];a||h((b[0].items[0]||"").toLowerCase().replace(" ","_"));let S={contentHtml:""};try{(S=t.filter(e=>(e.name||"").toLowerCase().replace(" ","_")==a)[0])||(S={contentHtml:""})}catch(e){console.error(e,a)}return(0,n.jsxs)(d.W,{maxW:"container.lg",p:4,children:[(0,n.jsx)(i.xu,{my:4,children:(0,n.jsx)(g.Z,{...r})}),(0,n.jsxs)(c.k,{flexDir:{xs:"column",md:"row"},gap:{xs:0,md:4},children:[(0,n.jsx)(y,{navigationItems:b,handleNavigation:e=>{let t=(e||"").toLowerCase().replace(" ","_");h(t),o.push("/resources?item=".concat(t),void 0,{shallow:!0})},selectedItem:a}),(0,n.jsx)(i.xu,{flex:"1",p:{xs:0,md:4},children:(0,n.jsx)(x.U,{components:(0,m.Z)(f.Z),rehypePlugins:[p.Z],children:S.contentHtml,skipHtml:!1})})]})]})}},3662:function(e,t,r){"use strict";r.d(t,{Bn:function(){return s},N2:function(){return l},OZ:function(){return i},fS:function(){return o}});var n=r(2513);let l=(e,t)=>t&&0!==Object.keys(t).length?e.filter(e=>{try{if(!t.virus||t.virus!==n.MG&&e.virus!==t.virus||!t.species&&!Array.isArray(t.species)||!t.species.includes(e.species)||t.time_frame&&Array.isArray(t.time_frame)&&t.time_frame.length&&!t.time_frame.includes(e.time_frame)||t.model&&e.model!==t.model)return!1;return!0}catch(e){return console.error(e),!1}}):[],i=(e,t,r)=>{let n=new Set;return e.filter(e=>{let l="".concat(e[t],"-").concat(e[r]);return!n.has(l)&&(n.add(l),!0)})},o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"title";return e&&e.length?(e.sort((e,r)=>e[t].localeCompare(r[t])),e):[]},s=e=>{let t=n.Pk[e];return e||(t=[...n.Pk.default]),["interpolate",["linear"],["raster-value"],0,t[0],.25,t[1],.5,t[2],.75,t[3],1,t[4]]}},2338:function(e,t,r){"use strict";r.d(t,{W:function(){return c}});var n=r(6554),l=r(3179),i=r(7603),o=r(6914),s=r(5432),a=r(5893),c=(0,n.G)(function(e,t){let{className:r,centerContent:n,...c}=(0,l.Lr)(e),h=(0,i.mq)("Container",e);return(0,a.jsx)(o.m.div,{ref:t,className:(0,s.cx)("chakra-container",r),...c,__css:{...h,...n&&{display:"flex",flexDirection:"column",alignItems:"center"}}})});c.displayName="Container"}},function(e){e.O(0,[433,897,888,774,179],function(){return e(e.s=569)}),_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.