1import{_ as H}from"./BzWNxv-b.js";import{_ as z}from"./CxtiJFgH.js";import{_ as F}from"./CMecvKsf.js";import{_ as N}from"./Cw1LXcVY.js";import{_ as T}from"./c0PfaIy1.js";import{d as v,m as V,o as a,c,a as i,i as n,l as d,n as k,b as r,w as j,e as D,t as I,g as E}from"./COzKHnrT.js";import{_ as G}from"./BDSlkBkr.js";import{u as M}from"./Xy522Bsz.js";import{j as R}from"./BMHZHkeR.js";import"./C7cO1fAj.js";import"./CmOy6t_e.js";import"./D6z6_x88.js";import"./C-lk1clh.js";const W={class:"card-third relative block max-h-fit origin-center duration-300 lg:hover:scale-[101%]"},Y={class:"absolute bottom-0 p-4"},q={class:"absolute right-0 top-0 z-10 mr-4 mt-3"},J=v({__name:"HighlightShortCard",props:{data:{}},setup(l){const e=[{width:614,height:1092,breakpoint:"xs"},{width:370,height:658,breakpoint:"md"}],t=l,s=V(),m=M(),w=()=>{const o=s.value.getBoundingClientRect();m.setShortDimensions(o.left-window.innerWidth/2+"px",o.top-window.innerHeight/2+"px",o.width+"px",o.height+"px"),m.setCurrentShort(R(t.data))};return(o,P)=>{var p,_,h,g,u,f,b;const x=H,y=z,S=F,$=N,C=T,A=E,B=G;return a(),c("section",W,[i("div",{ref_key:"card",ref:s,class:"relative block aspect-[9/16] h-full cursor-pointer overflow-hidden rounded-md",onClick:w},[(_=(p=t.data.image)==null?void 0:p.image)!=null&&_.id?(a(),n(x,{key:0,data:t.data.image,"focal-point":1,renditions:e},null,8,["data"])):(a(),n(y,{key:1,"source-id":t.data.youtube_short_id,size:"large",class:"absolute top-0 aspect-[9/16] overflow-hidden",cover:!0},null,8,["source-id"])),t.data.animated_gif?(a(),n(S,{key:2,class:"absolute top-0 aspect-[9/16] overflow-hidden",animated_gif:t.data.animated_gif},null,8,["animated_gif"])):d("",!0),i("div",Y,[i("div",{class:k([{hidden:!((g=(h=t.data.image)==null?void 0:h.image)!=null&&g.id)},"mb-4"])},[t.data.belongs_to[0]?(a(),n($,{key:0,title:(u=t.data.belongs_to[0].item)==null?void 0:u.title,size:"small",inverted:!1},null,8,["title"])):d("",!0)],2),r(C,{data:t.data},null,8,["data"]),r(A,{variant:"h3",element:"h2",class:k({hidden:!((b=(f=t.data.image)==null?void 0:f.image)!=null&&b.id)})},{default:j(()=>[D(I(t.data.title),1)]),_:1},8,["class"])])],512),i("div",q,[r(B,{page:{...t.data,collection:"short_page"}},null,8,["page"])])])}}}),K={class:"mb-16 block bg-app-grey--gondola lg:mb-24","data-component":"blocks/HighlightShortBlock"},L={key:0,class:"container px-5 py-12"},O={class:"flex justify-center"},dt=v({__name:"HighlightShortBlock",props:{data:{}},setup(l){return(e,t)=>{const s=J;return a(),c("div",K,[e.data.highlight&&e.data.highlight.status==="published"?(a(),c("section",L,[i("div",O,[r(s,{data:e.data.highlight},null,8,["data"])])])):d("",!0)])}}});export{dt 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.