1import{u as x,_ as b}from"./D-Mxjb-3.js";import{_ as k}from"./Go7awfsG.js";import{_ as v}from"./CQjVnV8k.js";import w from"./DvnaFmXA.js";import{d as I,a as t,e as a,f as s,h as m,w as u,c as l,q as n,F as B,y as C,b as D,g as N,t as c,R as S,v as $}from"./BgOPsrZ5.js";import{_ as j}from"./Cj-skPZg.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new o.Error().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="11d483f4-7218-440f-8d71-469705c647f7",o._sentryDebugIdIdentifier="sentry-dbid-11d483f4-7218-440f-8d71-469705c647f7")}catch{}})();const L={class:"flex flex-col"},V={class:"flex justify-between w-full mt-12 mb-6 md:my-8"},P={key:0,class:"flex mb-6 md:mb-8 md:justify-center"},q={class:"flex flex-wrap gap-6"},z={class:"font-medium text-5xl md:text-7xl tracking-[-2px] md:text-center md:leading-[1.2] leading-[1.2]"},E={class:"max-w-3xl mt-6 text-xl md:mx-auto md:text-center md:mt-8"},F={key:0},T={key:1,class:"mt-2"},J={key:0,class:"bg-white md:px-5"},R={class:"md:-mt-24 max-w-[1440px] mx-auto"},U={class:"aspect-w-21 aspect-h-10"},W=I({__name:"header",props:{title:{},coverImage:{},author:{default:""},share:{type:Boolean,default:!0},date:{default:""},collection:{default:null},categories:{default:null}},setup(o){const i=x({collection:o.collection});return(e,A)=>{const f=b,_=k,p=v,g=w,h=$,y=j;return t(),a("header",L,[s("div",{class:S(["bg-gray-500 pt-[60px] pb-12",[e.coverImage?"md:pb-64":"md:pb-20"]])},[m(h,{class:"flex flex-col justify-center text-gray-100"},{default:u(()=>[s("div",V,[e.collection?(t(),l(f,{key:0,collection:e.collection},null,8,["collection"])):(t(),l(_,{key:1,default:"/"})),e.share?(t(),l(p,{key:2,title:"Share this article"})):n("",!0)]),e.categories&&e.categories.length>0?(t(),a("div",P,[s("div",q,[(t(!0),a(B,null,C(e.categories,d=>(t(),l(g,{key:d.slug,onClick:()=>e.$router.push({path:D(i),query:{category:d.slug}})},{default:u(()=>[N(c(d.title),1)]),_:2},1032,["onClick"]))),128))])])):n("",!0),s("h1",z,c(e.title),1),s("div",E,[e.date?(t(),a("div",F,c(new Date(e.date).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})),1)):n("",!0),e.author?(t(),a("div",T,c(e.author),1)):n("",!0)])]),_:1})],2),e.coverImage?(t(),a("div",J,[s("div",R,[s("div",U,[m(y,{src:e.coverImage,alt:e.title||"",class:"md:rounded-3xl object-cover w-full",sizes:"xs:100vw sm:746px md:984px lg:1240px xl:1440px xxl:1440px",preload:""},null,8,["src","alt"])])])])):n("",!0)])}}});export{W as _}; 2//# sourceMappingURL=CrtDz_X2.js.map
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.