PageSourceSearch

https://www.tombraider.com/_next/static/chunks/pages/news/[category]-61f0c6bffba1e729.js

js tombraider.com collected 2026-10-02 04:50:47 UTC 17,045 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1096],{13776:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var s=l(2183),a=l(36439),r=l(85414),n=l(95290),i=l(52464),c=l(11677),o=l.n(c);function d(e){var t;let{items:l,selected:c,onSelect:d=()=>{},placeholder:u="Options",error:h,variant:m,rounded:x=!1}=e,f=e=>e?"string"==typeof e?e:e.name:"",g=e=>{d("string"==typeof e?e:e.value)};return(0,s.jsxs)(r.Menu,{as:"div",className:"relative inline-block w-full grow text-left",children:[(0,s.jsx)("div",{children:(0,s.jsxs)(r.Menu.Button,{className:(0,i.cn)("flex w-full items-center border-2 bg-white/20 px-3 py-4 backdrop-blur duration-200 outline-none",h?"border-red-500/40 hover:border-red-500/70 focus:border-red-500/70":"dark"===m?"rounded-lg border-black/20 px-5 py-3 hover:border-black/40 focus:border-black/40":"border-gray-300/20 hover:border-white/50 focus:border-white","dark"===m?"text-black":"text-white",x&&"rounded-lg"),children:[c?"string"==typeof l[0]?c:null==(t=l.find(e=>e.value===c))?void 0:t.name:u,(0,s.jsx)("div",{className:"grow"}),(0,s.jsx)(n.A,{className:"".concat("dark"===m?"text-black":"text-yellow"," -mr-1 h-6 w-6"),"aria-hidden":"true",color:"#E9BC6C"})]})}),(0,s.jsx)(r.Transition,{as:a.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,s.jsx)(r.Menu.Items,{className:"absolute left-0 z-30 mt-2 max-h-60 w-full origin-top-right overflow-y-auto rounded-md bg-white shadow-lg ring-1 ring-black/5 focus:outline-none",children:(0,s.jsx)("div",{className:"py-1",children:l.map(e=>(0,s.jsx)(r.Menu.Item,{children:t=>{let{active:l}=t,a="string"!=typeof e?e.href:void 0,r=function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return t.filter(Boolean).join(" ")}(l?"bg-gray-100 text-gray-900":"text-gray-700","block px-4 py-2 text-sm");return a?(0,s.jsx)(o(),{scroll:!1,href:a,onClick:()=>g(e),className:r,children:f(e)}):(0,s.jsx)("button",{type:"button",onClick:()=>g(e),className:"w-full text-left ".concat(r),children:f(e)})}},"object"==typeof e?e.value:e))})})})]})}},16739:(e,t,l)=>{"use strict";l.a(e,async(e,s)=>{try{l.d(t,{A:()=>h});var a=l(2183),r=l(96006),n=l.n(r),i=l(11677),c=l.n(i),o=l(46956),d=l(92446),u=e([d]);function h(e){var t,l,s,r,i,u,h,m,x;let{item:f,onClick:g=()=>{}}=e;return(0,a.jsx)(c(),{onClick:g,href:"/news/".concat(null==(l=f.category)||null==(t=l.fields)?void 0:t.slug,"/").concat(f.slug),children:(0,a.jsxs)("article",{className:"group flex h-full grow flex-col bg-white shadow-lg duration-[0.3s] lg:bg-transparent lg:shadow-none lg:hover:bg-white lg:hover:shadow-lg",children:[(0,a.jsxs)("figure",{className:"relative w-full overflow-hidden",children:[(0,a.jsx)(n(),{alt:"".concat((null==(r=f.headerImage)||null==(s=r.fields)?void 0:s.description)||""),className:"aspect-[3/2] w-full object-cover transition-all duration-500 group-hover:scale-105",src:(0,d._c)(null==(h=f.headerImage)||null==(u=h.fields)||null==(i=u.file)?void 0:i.url),width:500,height:500}),(0,a.jsx)(n(),{alt:"blog card image gradient",fill:!0,className:"absolute top-0 left-0 h-full w-full object-cover",src:"/images/blog-card-image-gradient.svg"}),(0,a.jsx)(n(),{alt:"top left bracket",width:48,height:48,className:"absolute -top-4 -left-4 duration-200 group-hover:top-2 group-hover:left-2",src:"/images/top-left-bracket.svg"}),(0,a.jsx)(n(),{alt:"bottom right bracket",width:48,height:48,className:"absolute -right-4 -bottom-4 duration-200 group-hover:right-2 group-hover:bottom-2",src:"/images/bottom-right-bracket.svg"}),(0,a.jsx)("div",{className:"absolute bottom-0 left-0 bg-teal-500 px-5 pt-2 pb-1.5 text-center text-sm font-bold tracking-widest text-white uppercase",children:null==(x=f.category)||null==(m
1=x.fields)?void 0:m.name})]}),(0,a.jsxs)("div",{className:"relative flex min-h-[10rem] grow flex-col justify-between overflow-hidden py-5 pr-12 pl-5 duration-200",children:[(0,a.jsx)("h3",{className:"text-2xl font-bold",children:f.title.toString()}),(0,a.jsx)("p",{className:"mt-4 font-normal text-gray-500",children:(0,a.jsx)("time",{dateTime:f.publishDate,children:(0,o.Yq)(f.publishDate)})}),(0,a.jsx)(n(),{alt:"desktop compass",width:232,height:232,className:"absolute -right-16 -bottom-24 hidden opacity-0 duration-200 group-hover:-right-12 group-hover:-bottom-20 group-hover:opacity-50 lg:block",src:"/images/compass.webp"}),(0,a.jsx)(n(),{alt:"mobile compass",width:232,height:232,className:"absolute -right-12 -bottom-20 opacity-50 lg:hidden",src:"/images/compass.webp"})]})]})})}d=(u.then?(await u)():u)[0],s()}catch(e){s(e)}})},28872:(e,t,l)=>{"use strict";e.exports=l(94528)},41171:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var s=l(2183),a=l(11677),r=l.n(a),n=l(71429),i=l(2371),c=l(52464);function o(e){let{items:t,className:l}=e,a={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:t.map((e,t)=>({"@type":"ListItem",position:t+1,name:e.name,...e.href?{item:"".concat(i.W).concat(e.href)}:{}}))};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.A,{data:a}),(0,s.jsx)("nav",{"aria-label":"Breadcrumb",className:(0,c.cn)("text-sm",l),children:(0,s.jsx)("ol",{className:"flex flex-wrap items-center gap-x-2 gap-y-1",children:t.map((e,l)=>{let a=l===t.length-1;return(0,s.jsxs)("li",{className:"flex items-center gap-x-2",children:[e.href&&!a?(0,s.jsx)(r(),{href:e.href,className:"hover:underline",children:e.name}):(0,s.jsx)("span",{"aria-current":a?"page":void 0,children:e.name}),!a&&(0,s.jsx)("span",{"aria-hidden":"true",children:"/"})]},"".concat(e.name,"-").concat(l))})})})]})}},48415:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var s=l(2183),a=l(36439),r=l(11677),n=l.n(r),i=l(96006),c=l.n(i);function o(e){let{tabs:t,selectedSlug:l}=e,[r,n]=(0,a.useState)(0);return(0,a.useEffect)(()=>{l&&n(t.findIndex(e=>e.slug===l))},[l]),(0,s.jsx)("div",{className:"mb-8 inline-block text-center font-bold text-gray-400",children:(0,s.jsx)("ul",{className:"-mb-px flex flex-wrap border-b-2 border-teal-100 ",children:null==t?void 0:t.map((e,t)=>(0,s.jsx)(d,{onClick:()=>n(t),selected:r===t,tab:e,children:null==e?void 0:e.name},e.slug))})})}function d(e){let{children:t,selected:l,onClick:a,tab:r}=e;return(0,s.jsx)(n(),{scroll:!1,href:"/news/".concat(r.slug),children:(0,s.jsx)("li",{onClick:a,children:(0,s.jsxs)("div",{className:"relative inline-block rounded-t-lg border-transparent px-8 pb-2  pt-3 text-black duration-200 ".concat(l&&"border-teal-500 text-white"," ").concat(!l&&"hover:text-black/50"),children:[(0,s.jsx)(c(),{fill:!0,alt:"Selected tab background",src:"/images/fabric-button-texture_teal-1.jpg",className:"rounded-t-lg",sizes:"256px",style:{opacity:+!!l,transition:"all ease 0.3s"}}),(0,s.jsx)("div",{className:"relative z-10",children:t})]})})})}},59694:(e,t,l)=>{"use strict";l.d(t,{A:()=>x});var s=l(2183),a=l(36439),r=l(46956),n=l(11677),i=l.n(n),c=l(79176),o=l(94536),d=l(63308),u=l(96006),h=l.n(u);
1function m(e){let{count:t,selectedIndex:l,onChange:a}=e;return(0,s.jsxs)("div",{className:"relative flex flex-col gap-4",children:[(0,s.jsxs)("div",{className:"flex flex-shrink-0 gap-x-2",children:[(0,s.jsx)(h(),{width:48,height:48,alt:"Left arrow",src:"/images/arrow-button-left.svg",className:"cursor-pointer",onClick:()=>void a((l-1+t)%t)}),(0,s.jsx)(h(),{width:48,height:48,alt:"Right arrow",src:"/images/arrow-button-right.svg",className:"cursor-pointer",onClick:()=>void a((l+1)%t)})]}),(0,s.jsx)("div",{className:"flex flex-1 items-center gap-x-2",children:Array.from({length:t},(e,t)=>(0,s.jsx)("div",{onClick:()=>a(t),className:"hover:bg-teal-500 ".concat(t===l?"h-1.5 bg-teal-100":"h-1 bg-gray-400/50"," flex-1 cursor-pointer transition duration-200")},t))})]})}function x(e){let{articles:t}=e,[l,r]=(0,a.useState)(0),n=(0,a.useRef)(null),i=(0,a.useRef)(null),u=e=>{var l,s;let a=e%t.length;r(a),null==(l=n.current)||l.slideTo(a),null==(s=i.current)||s.slideTo(a)};return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(c.A,{className:"block pb-12 lg:py-32",children:(0,s.jsxs)("div",{className:"relative mx-auto max-w-6xl bg-white",children:[(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 flex items-end justify-end overflow-hidden lg:justify-center",children:(0,s.jsx)(h(),{src:"/images/compass.webp",alt:"",width:1096,height:1096,className:"pointer-events-none z-10 h-[320px] w-[320px] translate-x-1/3 translate-y-1/3 lg:-translate-x-1/3"})}),(0,s.jsxs)("div",{className:"relative flex min-h-[480px] flex-col-reverse lg:flex-row",children:[(0,s.jsxs)("div",{className:"relative flex flex-col p-4 lg:w-1/2 lg:p-12",children:[(0,s.jsx)("h1",{className:"mb-8 text-xl",children:"Featured News"}),(0,s.jsx)("div",{className:"h-full",children:(0,s.jsx)(o.RC,{modules:[d.xI,d._R],effect:"fade",fadeEffect:{crossFade:!0},className:"h-full",onSwiper:e=>n.current=e,onSlideChange:e=>u(e.activeIndex),children:t.map(e=>(0,s.jsx)(o.qr,{className:"!h-auto",children:(0,s.jsx)(f,{article:e})},e.slug))})}),(0,s.jsx)("div",{className:"mt-6",children:(0,s.jsx)(m,{count:t.length,selectedIndex:l,onChange:u})})]}),(0,s.jsx)("div",{className:"relative z-10 lg:w-1/2",children:(0,s.jsxs)(o.RC,{modules:[d.xI,d._R],effect:"fade",fadeEffect:{crossFade:!0},className:"relative h-full scale-105 !overflow-visible lg:scale-[115%]",onSwiper:e=>i.current=e,onSlideChange:e=>u(e.activeIndex),children:[(0,s.jsx)(h(),{className:"pointer-events-none absolute inset-0 z-30 rotate-2 object-contain",src:"/images/paper-stack.webp",alt:"A paper frame around the image",priority:!0,fill:!0,sizes:"(max-width: 1024px) 100vw, 50vw"}),t.map(e=>(0,s.jsx)(o.qr,{className:"!h-auto",children:(0,s.jsx)(g,{article:e})},e.slug))]})})]})]})})})}let f=e=>{var t;let{article:l}=e;return(0,s.jsxs)("article",{className:"flex h-full flex-col",children:[(0,s.jsx)(i(),{href:"/news/".concat(null==(t=l.category)?void 0:t.fields.slug,"/").concat(l.slug),className:"flex-1",children:(0,s.jsx)("h2",{className:"line-clamp-4 text-4xl",children:l.title})}),(0,s.jsx)("p",{className:"font-spline-sans-mono mt-6",children:(0,s.jsx)("time",{dateTime:l.publishDate,children:(0,r.Yq)(l.publishDate)})})]})},g=e=>{var t,l,a,r,n,c;let{article:o}=e;return(0,s.jsx)(i(),{href:"/news/".concat(null==(t=o.category)?void 0:t.fields.slug,"/").concat(o.slug),className:"relative block h-full w-full",children:(0,s.jsx)("div",{className:"relative flex h-full w-full rotate-2 items-center justify-center",children:(0,s.jsx)("div",{className:"relative z-30 aspect-[3/2] w-full",children:(0,s.jsx)("div",{className:"relative z-20 h-full w-full",children:(0,s.jsx)(h(),{src:"https://".concat(null!=(n=null==(a=o.headerImage)||null==(l=a.fields.file)?void 0:l.url)?n:""),alt:null!=(c=null==o||null==(r=o.headerImage)?void 0:r.fields.description)?c:"",fill:!0,priority:!0,sizes:"(max-width: 1024px) 100vw, 50vw",className:"relative z-20 object-cover pt-[6%] pr-[8%] pb-[5%] pl-[6%]"})})})})})}},64754:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/news/[category]",function(){return l(78296)}])},65955:(e,t,l)=>{"use strict";l.a(e,async(e,s)=>{try{l.d(t,{A:()=>b});var a=l(2183),r=l(16739),n=l(48415),i=l(31026),c=l(75894),o=l(95216),d=l(59694),u=l(13776),h=l(18652),m=l(36439),x=l(15711),f=l(13544),g=l(87531),p=l(41171),v=e([r,c,o]);function b(e){var t,l;let{articles:s,featuredArticles:v,categories:b,selectedSlug:j="",websiteSingleton:w,navItems:N,footerSocialLinks:y,surveys:k,signUpBanner:A}=e,S=(0,h.useRouter)(),C=(0,g.useSearchParams)(),[_,I]=(0,m.useState)(1),[E,z]=(0,m.useState)(void 0),T=(0,m.useRef)(null),[R,L]=(0,m.useState)(!1),F=(0,m.useMemo)(()=>s.slice(0,Math.min(s.length,9*_)),[_,S]);return(0,m.useEffect)(()=>{1===_?S.replace(S.asPath,void 0,{shallow:!0}):S.replace({query:{...S.query,page:_}},void 0,{shallow:!0})},[_]),(0,m.useEffect)(()=>
1{if(!R&&C){let e=C.get("page"),t=C.get("article");setTimeout(()=>L(!0),100),e&&I(parseInt(null!=e?e:"1")),t&&z(parseInt(null!=t?t:"0"))}},[C]),(0,m.useEffect)(()=>{var e;null==(e=T.current)||e.scrollIntoView({})},[E]),(0,a.jsxs)("div",{className:"bg-white pt-24 text-black lg:pt-0",children:[(0,a.jsx)(o.Ay,{surveys:k,navItems:N,signUpBanner:A}),(0,a.jsxs)("main",{className:"relative z-10",children:[(0,a.jsx)(d.A,{articles:v.slice(0,Math.min(20,v.length))}),(0,a.jsx)(f.A,{children:(0,a.jsxs)("div",{className:"px-4 pt-24 lg:px-16",children:[(0,a.jsx)(p.A,{className:"pt-8 text-black/70",items:[{name:"Home",href:"/"},{name:"News",href:"/news/all"},...j&&"all"!==j?[{name:null!=(l=null==(t=b.find(e=>e.slug===j))?void 0:t.name)?l:j,href:"/news/".concat(j)}]:[]]}),(0,a.jsx)("h2",{className:"pt-8 pb-16 text-5xl text-black sm:text-6xl",children:"Latest News"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"hidden lg:block",children:(0,a.jsx)(n.A,{selectedSlug:j,tabs:[{name:"View All",slug:"all",order:0},...b]})}),(0,a.jsx)("div",{className:"flex justify-center lg:hidden",children:(0,a.jsx)("div",{className:"shrink-0 grow",children:(0,a.jsx)(u.A,{variant:"dark",selected:j,placeholder:"View All",items:[{name:"View All",value:"all",href:"/news/all"},...b.map(e=>({name:e.name,value:e.slug,href:"/news/".concat(e.slug)}))]})})}),(0,a.jsx)("div",{className:"mx-auto grid gap-4 gap-y-16 pt-8 md:grid-cols-2 xl:grid-cols-3",children:null==F?void 0:F.map((e,t)=>(0,a.jsx)("div",{ref:t===E?T:null,children:(0,a.jsx)(r.A,{onClick:()=>{S.replace({query:{...S.query,article:t}},void 0,{shallow:!0})},item:e},e.slug)},t))})]}),9*_<s.length&&(0,a.jsx)("div",{className:"flex justify-center pt-16 pb-8",children:(0,a.jsx)(x.A,{onClick:()=>I(_+1),variant:"green",children:"Show More"})})]})})]}),(0,a.jsx)(i.A,{websiteSingleton:w}),(0,a.jsx)(c.A,{websiteSingleton:w,navItems:N,footerSocialLinks:y})]})}[r,c,o]=v.then?(await v)():v,s()}catch(e){s(e)}})},78296:(e,t,l)=>{"use strict";l.a(e,async(e,s)=>{try{l.r(t),l.d(t,{__N_SSG:()=>o,default:()=>d});var a=l(2183),r=l(14623),n=l.n(r),i=l(65955),c=e([i]);i=(c.then?(await c)():c)[0];var o=!0;function d(e){var t;let{articles:l,featuredArticles:s,categories:r,selectedSlug:c,websiteSingleton:o,navItems:d,footerSocialLinks:u,surveys:h,signUpBanner:m}=e,x="all"!==c?null==(t=r.find(e=>e.slug===c))?void 0:t.name:void 0,f=x?"Tomb Raider | ".concat(x," News"):"Tomb Raider | News",g=x?"The latest Tomb Raider ".concat(x.toLowerCase()," news — updates, announcements, and stories from across the world of Lara Croft."):"Browse all the latest Tomb Raider news. Stay up to date with game announcements, collaborations, cosplay guides, and Lara Croft updates from Crystal Dynamics.";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(n(),{children:[(0,a.jsx)("title",{children:f}),(0,a.jsx)("meta",{name:"description",content:g},"description"),(0,a.jsx)("meta",{property:"og:title",content:f},"og:title"),(0,a.jsx)("meta",{property:"og:description",content:g},"og:description"),(0,a.jsx)("meta",{name:"twitter:title",content:f},"twitter:title"),(0,a.jsx)("meta",{name:"twitter:description",content:g},"twitter:description")]}),(0,a.jsx)(i.A,{articles:l,featuredArticles:s,categories:r,selectedSlug:c,websiteSingleton:o,navItems:d,footerSocialLinks:u,surveys:h,signUpBanner:m})]})}s()}catch(e){s(e)}})},79176:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var s=l(2183),a=l(94734),r=l(52464),n=l(96006),i=l.n(n);function c(e){let{className:t,children:l,containerClasses:n,...c}=e;return(0,s.jsxs)("div",{className:"relative -z-10 h-full w-full overflow-visible ".concat(t),...c,children:[(0,s.jsx)(i(),{className:"pointer-events-none absolute left-0 top-0 object-cover",fill:!0,sizes:"100vw",fetchPriority:"high",alt:"Hardwood background",src:"/images/hero-texture_dark-wood(tinyfied).jpg",priority:!0}),(0,s.jsx)(a.A,{}),(0,s.jsx)("div",{className:(0,r.cn)("relative z-10 w-full",n),children:l})]})}},94528:(e,t,l)=>{"use strict";var s=l(36439),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=s.useSyncExternalStore,n=s.useRef,i=s.useEffect,c=s.useMemo,o=s.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,l,s,d){var u=n(null);if(null===u.current){var h={hasValue:!1,value:null};u.current=h}else h=u.current;var m=r(e,(u=c(function(){function e(e){if(!i){if(i=!0,r=e,e=s(e),void 0!==d&&h.hasValue){var t=h.value;if(d(t,e))return n=t}return n=e}if(t=n,a(r,e))return t;var l=s(e);return void 0!==d&&d(t,l)?(r=e,t):(r=e,n=l)}var r,n,i=!1,c=void 0===l?null:l;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,l,s,d]))[0],u[1]);return i(function(){h.hasValue=!0,h.value=m},[m]),o(m),m}},94734:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var s=l(2183),a=l(96006),r=l.n(a);function n(){return(0,s.jsx)("div",{className:"pointer-events-none absolute bottom-0 left-0 w-full translate-y-1/4",children:(0,s.jsx)(r(),{width:1920,height:483,className:"w-full object-cover object-top",alt:"Hardwood transition",src:"/images/hero-transition(tinyfied).webp"})})}}},e=>
1{e.O(0,[9950,1446,6006,1433,1329,1089,3492,7531,5216,2446,7137,636,6593,8792],()=>e(e.s=64754)),_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.