PageSourceSearch

https://www.scientificamerican.com/static/entry/archive.CxmFd1TG.js

js scientificamerican.com collected 2026-09-24 07:35:05 UTC 4,098 bytes, 1 lines download raw bytes

1import{j as o}from"../chunks/vendor-react-DdEP1kCQ.js";import{D as L}from"../chunks/DefaultLayout-B4mESSua.js";import{E as I}from"../chunks/ExploreTopics-DUwxXsdl.js";import{P as b}from"../chunks/Pagination-BjdpEnH_.js";import{I as C}from"../chunks/chunk-Cgl-0otj.js";import{A as v}from"../chunks/ArticleList-Dn4VcJYx.js";import{I as F}from"../chunks/ArticleDisplay-DMJ7E5Cl.js";import{d as f}from"../chunks/core-Bpuic6mr.js";import{L as N}from"../chunks/Header-tkY3LBrW.js";import"../chunks/Header-DuP3RNUx.js";import"../chunks/sciam-B_IQ-Vo8.js";import"../chunks/sciam-CvuG93yt.js";import"../chunks/vendor-shared-ShLQKC4n.js";import"../chunks/chunk-C6dy8-dY.js";import"../chunks/getBestArticleId-9I1mHE39.js";import"../chunks/index-Ccd0bj6u.js";import"../chunks/images-rIYVm8bk.js";import"../chunks/Kicker-VPFVTJnN.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="da0e9803-7ac9-4438-9240-c7fca761d9ff",e._sentryDebugIdIdentifier="sentry-dbid-da0e9803-7ac9-4438-9240-c7fca761d9ff")}catch{}})();const w="collectionHeroWrap-alkd7",A="collectionHeroTxt-OMS9G",D="collectionHeroTxtFullWidth-02fnm",E="collectionHeroImgWrap-O1czE",M="collectionHeroImg-mRWwV",P="title-lBsmx",O="titleFullWidth-R6BJJ",S="dek-oMLYT",R="dekFullWidth-3mOQm",z="imageCredit-gL0GD",B="sponsorLogosContainer-0t3TM",K="sponsorLogo-qdlcA",G="sponsorTxt-prliB",J="collectionHeroCta-68xeS",t={collectionHeroWrap:w,collectionHeroTxt:A,collectionHeroTxtFullWidth:D,collectionHeroImgWrap:E,collectionHeroImg:M,title:P,titleFullWidth:O,dek:S,dekFullWidth:R,imageCredit:z,sponsorLogosContainer:B,sponsorLogo:K,sponsorTxt:G,collectionHeroCta:J},q=({link:e,text:l})=>o.jsx("a",{className:t.collectionHeroCta,"data-click-position":"custom-media-download",href:e,children:l}),Q=({clickTrackKey:e,logos:l})=>o.jsx("div",{className:t.sponsorLogosContainer,children:l.map(r=>{const{alt_text:i,contentful_id:d,image_url:n,url:s}=r;return o.jsx("a",{href:s,rel:"nofollow","data-click-position":e,className:t.sponsorLogo,children:o.jsx("img",{alt:i,src:n})},d)})});function V({hero:e={}}){let{clickTrackKey:l=null,cta_button_link:r=null,cta_button_text:i=null,dek:d,image_alt_text:n,image_url:s,image_credit:c,sponsor_logos:p=[],sponsor_label:m,sponsor_disclaimer:u,title:x}=e;const g=r&&i;return p.length,o.jsxs("div",{className:t.collectionHeroWrap,children:[o.jsxs("div",{className:f(t.collectionHeroTxt,!s&&t.collectionHeroTxtFullWidth),children:[o.jsx("h1",{className:f(t.title,!s&&t.titleFullWidth),children:x}),o.jsx("div",{className:f(t.dek,!s&&t.dekFullWidth),dangerouslySetInnerHTML:{__html:d}}),m&&o.jsx("div",{className:t.sponsorTxt,children:m}),o.jsx(Q,{clickTrackKey:l,logos:p}),u&&o.jsx("div",{className:t.sponsorTxt,dangerouslySetInnerHTML:{__html:u}}),g?o.jsx(q,{link:r,text:i}):null]}),s?o.jsxs("div",{className:t.collectionHeroImgWrap,children:[o.jsx(F,{className:t.collectionHeroImg,image:s,lazyload:!0,layout:"hero",imageAltText:n}),c?o.jsx("div",{className:t.imageCredit,dangerouslySetInnerHTML:{__html:c}}):null]}):null]})}function fo({pagination:e={},results:l=[],layout:r="",filters:{primary:i="",active:d={}}={},archiveInfo:n={},archiveHierarchy:s=[],hero:c={},categoryFilterTitle:p="Filter by Topic",isSponsored:m=!1,hasDisplayAds:u=!0,hasNativeAds:x=!0}){const g=r==="filter"&&d[i]||n,{label:Y,slug:h,description:$,advertiser:H}=g,k=n?.slug!=="latest";function j(a){return Object.keys(a).length===0}const T=s?.children?.map(a=>({url:a.url,label:a.name||a.title,clickTrackParam:a.slug}))||[],y=m&&H?`Posted for ${H}`:"",_=h!=="games",W=h==="games";return o.jsxs(L,{persistentHeaderTitle:y,children:[j(c)&&o.jsx(N,{...g}),!j(c)&&o.jsxs(o.Fragment,{children:[o.jsx(V,{hero:c}),o.jsx(C,{})]}),T.length>0&&o.jsx(I,{links:T,buttonTitle:p,clickTrackKey:"category-page-filter-",isCentered:!0}),o.jsx(v,{results:l,lazyLoadAfter:3,ads:u,native:x,isSponsored:m,isArchive:k,showKicker:_,showDescription:W}),o.jsx(b,{pagination:e})]})}export{fo as default};

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.