1import{_ as se}from"./Dczh5TN4.js";import{_ as ae}from"./C3C-A3Zu.js";import{d as oe,g as s,_ as re,i as ie,q as le,h as ne,C as L}from"./BnowyiiT.js";import{u as de,a as me,b as pe,c as ce,d as ue,_ as _e}from"./Bh1tyPu7.js";import{_ as fe}from"./BPQNzZIK.js";import{_ as N,s as w}from"./B2YqjWf_.js";import{u as ge}from"./CpoSBJ3u.js";import{r as R}from"./cPmTOTnM.js";import{u as he}from"./Dmq4J0nM.js";import{ab as M,a5 as g,a3 as r,c as be,a2 as i,a6 as a,ak as xe,C as e,a7 as V,X as o,u as x,a8 as d,ac as v,aj as h,W as ye,ai as we,z as c,j as ve}from"./DGxlnW41.js";import"./Cj1uASeN.js";import"./SxxlrK1N.js";import"./pggHmpmL.js";import"./nLQdF57q.js";import"./CwpJWcVn.js";import"./_CHoJ0K5.js";import"./CbAtIVSG.js";import"./BirJEn2g.js";import"./CkMOyL3W.js";import"./p1QsUf6f.js";const Ce={key:0,class:"full-absolute"},Ue={class:"series-hero__image-wrapper full-absolute"},ke={class:"d-md-flex"},Fe={class:"series-header__info col-md-6 d-flex flex-column mb-2 mb-md-0"},Se={key:2,class:"series-header__authors d-flex flex-wrap mt-2 mt-md-2-5 mt-xl-3 mb-2 mb-md-0"},He={class:"author-image-wrapper mr-0-75"},qe={class:"author-info"},Ie={class:"p4 p4-md p4-xl bold text-uppercase author-name"},Pe={class:"p7 p7-md p7-xl author-title opacity-0-6 mt-0-25 d-block"},ze={key:0,class:"series-header__featured col-md-6 pl-md-3 pl-xl-5 mt-md-0"},Ae={__name:"NewsSeriesPage",async setup(De){let n,y;const{slug:j,contentType:B}=de(),{page:l}=([n,y]=M(()=>ce(j,B)),n=await n,y(),n),k=ve(!1),$=()=>{k.value=!0},E=s(l,"title"),W=s(l,"seriesEyebrowHeader"),K=s(l,"subHeading"),b=s(l,"seriesDescription"),F=s(l,"seriesAuthors")||[],S=s(l,"seriesThemeColor"),C=s(l,"headerImage"),{featuredArticle:u,remainingArticles:H}=([n,y]=M(()=>ge(l)),n=await n,y(),n),T={0:{h:720,w:768,q:78,fit:"fill"},768:{h:960,w:1440,q:80,fit:"fill"},1200:{h:1080,w:1920,q:82,fit:"fill"},1920:{h:1240,w:2200,q:82,fit:"fill"}},X=c(()=>S?S.toLowerCase():null),G=c(()=>{const t=X.value;return!t||!L[t]?{}:{"--seriesColor":L[t]}}),q=c(()=>typeof b=="string"?w(b).trim():Array.isArray(b)?b.map(R).join(` 2`).trim():R(b).trim()),I=c(()=>w(K)),J=c(()=>w(s(u,"title"))),P=c(()=>w(s(u,"subHeading"))),z=c(()=>s(u,"date")),O=he(()=>be(z));return me(!0),pe(l),(t,_)=>{const Q=se,U=ae,m=ie,A=ne,D=ue,Y=fe,Z=_e,ee=re;return i(),g(ee,{isMobile:!t.$device.isDesktop,class:"news-series-page"},{default:r(()=>[a("div",{class:"news-series-page",style:xe(e(G))},[a("div",{class:V(["series-hero",{"series-hero--has-image":e(C)}])},[o(Q,{title:e(E),eyebrow:e(W)},null,8,["title","eyebrow"]),e(C)?(i(),x("div",Ce,[a("div",Ue,[o(U,{onLoad:$,class:V(["series-hero__bg full-absolute fade-in",{"is-loaded":e(k)}]),image:e(C),imageSizes:T,loading:"eager","fetch-priority":"high",fill:""},null,8,["class","image"]),_[0]||(_[0]=a("div",{class:"series-hero__nav-gradient full-absolute"},null,-1)),_[1]||(_[1]=a("div",{class:"series-hero__heading-gradient full-absolute"},null,-1))])])):d("",!0)],2),o(D,{class:"series-header px-1 px-md-0-875 px-xl-2-25 pt-4 pt-md-5 pt-xl-6 pb-3 pb-md-3 pb-xl-5"},{default:r(({addToTimeline:p})=>[a("div",ke,[a("div",Fe,[e(I)?(i(),g(m,{key:0,onUpdated:p,preset:"fadeUp",tag:"h2",class:"gc12 gc14-md gc13-xl bold text-uppercase mb-1 mb-md-1 mb-xl-1-5 series-header__subheading"},{default:r(()=>[v(h(e(I)),1)]),_:1},8,["onUpdated"])):d("",!0),e(q)?(i(),g(m,{key:1,onUpdated:p,preset:"fadeUp",to:{delay:.1},tag:"p",class:"p4 pb-2 p6-md p6-xl series-header__description"},{default:r(()=>[v(h(e(q)),1)]),_:1},8,["onUpdated"])):d("",!0),e(F).length?(i(),x("div",Se,[(i(!0),x(ye,null,we(e(F),(f,te)=>(i(),x("div",{key:("getCmsId"in t?t.getCmsId:e(le))(f),class:"series-header__author mr-2 d-flex align-items-center"},[o(m,{onUpdated:p,preset:"fadeUp",to:{delay:.15+te*.05},class:"d-flex align-items-center"},{default:r(()=>[o(A,{to:("useResolveUrl"in t?t.useResolveUrl:e(N))(f),class:"author-link d-flex align-items-center"},{default:r(()=>[a("div",He,[o(U,{image:("getCmsField"in t?t.getCmsField:e(s))(f,"landscapePhoto")||("getCmsField"in t?t.getCmsField:e(s))(f,"portraitPhoto"),proportion:2/3,imageSizes:{0:{h:180,w:270,q:80,fit:"fill"}},class:"author-image"},null,8,["image"])]),a("div",qe,[a("span",Ie,h(("getCmsField"in t?t.getCmsField:e(s))(f,"fullName")),1),a("span",Pe,h(("getCmsField"in t?t.getCmsField:e(s))(f,"jobTitle")),1)])]),_:2},1032,["to"])]),_:2},1032,["onUpdated","to"])]))),128))])):d("",!0)]),e(u)?(i(),x("div",ze,[o(A,{to:("useResolveUrl"in t?t.useResolveUrl:e(N))(e(u)),class:"featured-link d-flex flex-column"},{default:r(()=>
2[o(m,{onUpdated:p,preset:"fadeUp",to:{delay:.15},class:"overflow-hidden"},{default:r(()=>[o(U,{proportion:{xs:.6,md:.6,xl:.6},loading:"eager","fetch-priority":"high",image:("getCmsField"in t?t.getCmsField:e(s))(e(u),"featuredImage"),imageSizes:{0:{h:300,w:400,q:80,fit:"fill"},768:{h:300,w:450,q:80,fit:"fill"},1200:{h:450,w:650,q:80,fit:"fill"},1920:{h:500,w:700,q:80,fit:"fill"}},class:"w-100 featured-image"},null,8,["image"])]),_:1},8,["onUpdated"]),o(m,{onUpdated:p,preset:"fadeUp",to:{delay:.25},tag:"h3",class:"gc14 gc16-1-md gc15-xl bold text-uppercase mt-0-75 mt-md-1 mt-xl-1-5 featured-title"},{default:r(()=>[v(h(e(J)),1)]),_:1},8,["onUpdated"]),e(P)?(i(),g(m,{key:0,onUpdated:p,preset:"fadeUp",to:{delay:.3},tag:"p",class:"p4 p5-md p4-1-xl mt-0-5 mt-md-0-75 mt-xl-1 featured-subtitle"},{default:r(()=>[v(h(e(P)),1)]),_:1},8,["onUpdated"])):d("",!0),e(z)?(i(),g(m,{key:1,onUpdated:p,preset:"fadeUp",to:{delay:.35},tag:"p",class:"p4 p8-md p9-1-xl mt-0-5 mt-md-0-75 mt-xl-1",innerHTML:e(O)},null,8,["onUpdated","innerHTML"])):d("",!0)]),_:2},1032,["to"])])):d("",!0)])]),_:1}),e(H).length?(i(),g(D,{key:0},{default:r(()=>[o(Y,{items:e(H),columns:3,"base-delay":.15,"stagger-delay":.06},null,8,["items"])]),_:1})):d("",!0),_[2]||(_[2]=a("div",{class:"px-1 px-md-0-875 px-xl-2-25"},[a("div",{class:"news-series-page__bottom-border",style:{height:"10px",background:"black",width:"100%"}})],-1)),o(Z,{style:{"margin-top":"20vh"}})],4)]),_:1},8,["isMobile"])}}},tt=oe(Ae,[["__scopeId","data-v-078ba478"]]);export{tt 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.