1import{On as e,Zn as t,b as n,k as r,mt as i,qt as a,v as o,wt as s,xt as c,y as l}from"./runtime-core.esm-bundler-DPmoNEl9.js";import{n as u}from"./utils-DICGkfbo.js";import{t as d}from"./dist-C0S6jEGJ.js";var f={key:0,class:`mr-2 inline-flex size-[0.75em] *:size-full`},p={key:1,class:`ml-2 inline-flex size-[0.75em] *:size-full`},m=r({__name:`Headline`,props:{size:{default:`h2`},highlighted:{type:[Boolean,String],default:!1},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(r){let m=d(`not-prose min-w-0 flex flex-wrap items-center justify-start font-bold wrap-anywhere hyphens-auto text-balance whitespace-pre-line`,{variants:{size:{h1:`headline-h1 text-3xl uppercase tracking-[-0.6px] md:text-5xl md:tracking-[-1.28px] md:leading-[150%]`,h2:`headline-h2 text-2xl md:text-4xl`,h3:`headline-h3 text-xl md:text-3xl`,h4:`headline-h4 text-lg md:text-2xl`,h5:`headline-h5 text-base md:text-xl`,h6:`headline-h6 text-sm`},highlighted:{true:`box-decoration-clone supports-touch-callout:leading-[1.5] not-supports-touch-callout:leading-[1.25] uppercase bg-accent text-foreground-accent`,normalCase:`box-decoration-clone leading-[calc(1em_+_15px)] bg-accent text-foreground-accent`,false:`leading-tight`}},compoundVariants:[{size:`h1`,highlighted:[!0,`normalCase`],class:`px-3 md:px-4 inline leading-[150%] supports-touch-callout:leading-[150%] not-supports-touch-callout:leading-[150%]`},{size:`h2`,highlighted:[!0,`normalCase`],class:`px-2.5 md:px-3 inline`},{size:`h3`,highlighted:[!0,`normalCase`],class:`px-2 md:px-2.5 inline`},{size:`h4`,highlighted:[!0,`normalCase`],class:`px-1.5 md:px-2 inline`},{size:[`h5`,`h6`],highlighted:[!0,`normalCase`],class:`px-2 inline`}]});return(d,h)=>(i(),o(s(r.as??r.size),{class:t(e(u)(e(m)({highlighted:r.highlighted,size:r.size}),r.class))},{default:a(()=>[d.$slots.iconBefore?(i(),n(`span`,f,[c(d.$slots,`iconBefore`)])):l(``,!0),c(d.$slots,`default`),d.$slots.iconAfter?(i(),n(`span`,p,[c(d.$slots,`iconAfter`)])):l(``,!0)]),_:3},8,[`class`]))}});export{m as t};
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.