1import{_ as k}from"./C2jdUwP1.js";import{r as h,o as L,i as y,a,c as n,l as M,b as r,n as c,d as u,F as T,e as H,f as x,u as s,Y as o,_ as B}from"./D45j2dTh.js";const C=["innerHTML"],z=["innerHTML"],w=["innerHTML"],F={key:3,class:"buttons"},N=["innerHTML"],$={__name:"FullBleed",props:{fullbleed:Object,buttons:Array},setup(e){const m=e,f=h(!0);L(()=>{setTimeout(function(){f.value=!1},2e3)});function g(d){let l=!0;return d.replace(/<br ?\/?>/g,"").split(" ").forEach(i=>{i.length>11&&(l=!1)}),l}const b=y(()=>{var l,i;return(((i=(l=m.fullbleed)==null?void 0:l.image)==null?void 0:i.caption)||"").replace(/<div class="fullbleed-landing default">\s*<div class="caption">\s*<\/div>\s*<\/div>/gi,"").replace(/<div class="text wrap">\s*<\/div>/gi,"").trim()});return(d,l)=>{const i=k;return a(),n("div",{class:c(["fullbleed-landing",{fill:s(f)}])},[M(i,{src:e.fullbleed.image&&e.fullbleed.image.url,alt:e.fullbleed.image&&e.fullbleed.image.alt||e.fullbleed.title,sizes:"100vw",wrap:!0},null,8,["src","alt"]),l[0]||(l[0]=r("div",{class:"dummy-header"},null,-1)),l[1]||(l[1]=r("span",{class:"flx-g-1"},null,-1)),e.fullbleed.title?(a(),n("h1",{key:0,innerHTML:e.fullbleed.title.replace(/\r\n/g,"<br/>").replace(/<br ?\/?><br ?\/?>/g,"<br/>"),class:c({small:e.fullbleed.title.length>=22&&e.fullbleed.title.length<35||!g(e.fullbleed.title),"x-small":e.fullbleed.title.length>35})},null,10,C)):u("",!0),e.fullbleed.subtitle?(a(),n("h2",{key:1,class:c(["subtitle",{small:e.fullbleed.subtitle.length>70}]),innerHTML:e.fullbleed.subtitle},null,10,z)):u("",!0),e.fullbleed.date||e.fullbleed.venue?(a(),n("h2",{key:2,innerHTML:(e.fullbleed.date&&e.fullbleed.date.replace(/ ?(â|â|â|-) ?/g," â ")||"")+(e.fullbleed.date&&e.fullbleed.venue&&"<br />"||"")+(e.fullbleed.location||e.fullbleed.venue||"").replace(/michael r. |sidney /gi,"")},null,8,w)):u("",!0),e.buttons&&e.buttons.length?(a(),n("div",F,[(a(!0),n(T,null,H(e.buttons,(t,v)=>(a(),x(B,{key:v,size:"medium",colour:t.colour||"pink",to:t.to&&s(o)(t.to)||t.link&&t.link.url&&s(o)(t.link.url),target:t.link&&t.link.target,label:t.label.toUpperCase()},null,8,["colour","to","target","label"]))),128))])):u("",!0),l[2]||(l[2]=r("span",{class:"flx-g-1 btm"},null,-1)),s(b)?(a(),n("div",{key:4,class:"caption",innerHTML:s(b)},null,8,N)):u("",!0)],2)}}};export{$ as _};
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.