PageSourceSearch

https://sunshinecoastcouncil.netlify.app/_nuxt/Ce5CY_bl.js

js sunshinecoastcouncil.netlify.app collected 2026-10-03 11:28:18 UTC 2,946 bytes, 1 lines download raw bytes

1import{_ as S}from"./Dyp8uscp.js";import{d as H,H as c,q as C,aI as $,e as n,m as s,b as l,az as u,Q as z,i as m,f,a as y,aJ as I,P as j,_ as N,o as a,c as _,t as o,h as T,B as V,D,aT as P,j as E}from"./gtxPK6Ty.js";import O from"./BC5uKj6S.js";const q=V(D),J=["src"],L={class:"Hero__top"},Q={class:"Hero__main"},W={class:"Hero__content w-full py-is-1"},A={key:0,class:"is-personality-3 -mt-is-3"},F={key:1,class:"flex justify-between"},G={class:"is-display-1"},K={key:2,class:"is-display-3"},M={key:3,class:"is-display-5 max-w-prose font-light laptop:is-display-4 leading-[1.5em] laptop:font-light"},R=H({__name:"Hero",props:{heading:{},overline:{},subheading:{},summary:{},ratio:{default:"portrait"},images:{default:()=>[]},hasBackground:{type:Boolean,default:!1},credits:{default:()=>[]},videoSrc:{},showShare:{type:Boolean,default:!0}},setup(e){const d=e;c(()=>{switch(d.ratio){case"portrait":return"aspect-portrait";case"landscape":return"aspect-landscape";case"wide":return"aspect-wide";case"ultrawide":return"apsect-ultrawide";case"letterbox":return"aspect-letterbox"}return"aspect-portrait"});const p=c(()=>P(d?.videoSrc)),h=C(),{width:r,height:i}=$(h),v=c(()=>{const t=1.7777777777777777,g=r.value/i.value>t;return!r.value||!i.value?{width:"100%",height:"100%"}:g?{width:r.value,height:r.value/t}:{height:i.value,width:i.value*t,class:"translate-x-[-50%] translate-y-[-50%] left-1/2 top-1/2"}}),k=c(()=>{const t=d.images?.[0]?.src;return t?`background-image: url("${t}"); background-position: center center;`:""});return(t,g)=>{const w=S,x=q,b=O,B=N;return a(),n("div",{class:j(["Hero",{"is-hero-background-image bg-cover relative":e.hasBackground}]),style:I(e.hasBackground&&e.images?.length?m(k):""),ref_key:"el",ref:h},[e.videoSrc?(a(),n("iframe",z({key:0,class:"is-bg-video absolute inset-0 brightness-75",src:m(p),allow:"autoplay; fullscreen;",frameborder:"0"},m(v)),null,16,J)):s("",!0),l("div",L,[u(t.$slots,"top",{},void 0,!0)]),l("div",Q,[f(B,{class:"flex aspect-portrait flex-col items-start justify-center tablet:aspect-wide laptop:aspect-ultrawide desktop:aspect-ultrawide"},{default:y(()=>[u(t.$slots,"default",{},()=>[l("div",W,[e.overline?(a(),n("p",A,o(e.overline),1)):s("",!0),e.heading?(a(),n("div",F,[l("h1",G,o(e.heading),1),e.showShare?(a(),_(w,{key:0,heading:e.heading,summary:e.summary,"on-light":!e.hasBackground},null,8,["heading","summary","on-light"])):s("",!0)])):s("",!0),e.subheading?(a(),n("p",K,o(e.subheading),1)):s("",!0),e.summary?(a(),n("p",M,o(e.summary),1)):s("",!0),e.credits[0]?(a(),_(b,{key:4,class:"my-is-6 -ml-is-6 font-display text-size-8 font-light",href:e.credits[0].href,alt:e.credits[0].text},{start:y(()=>[f(x,{class:"mr-is-8",icon:"fal camera",fixedWidth:""}),T("Image Credits: "+o(e.credits[0].text),1)]),_:1},8,["href","alt"])):s("",!0)])],!0)]),_:3})]),u(t.$slots,"bottom",{},void 0,!0)],6)}}}),Z=Object.assign(E(R,[["__scopeId","data-v-8ed348e0"]]),{__name:"Hero"});export{Z 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.