PageSourceSearch

https://www.coterieseniorliving.com/_nuxt/DclhOMJZ.js

js coterieseniorliving.com collected 2026-09-29 14:24:50 UTC 5,328 bytes, 1 lines download raw bytes

1import H from"./BQLoaLsa.js";import{_ as B}from"./BdMn5CsR.js";import G from"./CgcJoydG.js";import R from"./CwCvJ9JX.js";import"./BrBZ7VUh.js";import"./C7PZNhkZ.js";import"./BZxaaLCE.js";import"./BADoot-0.js";import P from"./BDYYVNrq.js";import{u as j}from"./BE6AkpVx.js";import{e as A}from"./CSSxz1HG.js";import{d as F,e as _,w as N,q as $,v as E,u as t,c as s,b as I,f as c,i as r,p as i,l,g as u,t as m,j as f}from"./CvG0wzej.js";import"./Cga8d3Ty.js";import"./CUzCvIsG.js";import"./DlKykd6e.js";const M={class:"grid-item grid-item--is-6-desktop"},O={key:2},z=["srcset"],D=["srcset"],V=["alt","src"],U={class:"grid-item my-auto grid-item--is-6-desktop"},q=["href","target","rel"],K=["action"],J={key:0,for:"content-hub-hero-search",class:"content-hub-hero__label copy copy--is-xxsmall"},Q={class:"content-hub-hero__form-input-container grid spacing spacing--is-mt-xsmall"},W={key:0,type:"submit",class:"content-hub-hero__form-submit button grid-item grid-item--is-2 button--is-utility"},X={key:1,class:"grid-item grid-item--is-2"},Y={type:"submit",class:"button content-hub-hero__form-submit--coterie"},Z=F({__name:"ContentHubHero",props:{...R,pageMeta:{type:Object,default:()=>({})},title:{type:String,default:""},titleTag:{type:String,default:"h2"},styleLevel:{type:String,default:"2"},copy:{type:String,default:""},image:{type:Object,default:()=>({source:"",alt:""})},mobileImage:{type:Object,default:()=>({source:"",alt:""})},ctaText:{type:String,default:""},ctaLink:{type:String,default:""},ctaRoles:{type:Array,default:()=>[]},newTab:{type:Boolean,default:!1},hasSearchBar:{type:Boolean,default:!1},searchLabel:{type:String,default:""},searchPlaceholder:{type:String,default:""},searchCtaText:{type:String,default:""},searchLocation:{type:String,default:""},isFlipped:{type:Boolean,default:!1},category:{type:String,default:""}},setup(e){const g=j(),o=e,n=A().public.PACKAGE_NAME,b=I(n==="asl"),C=s(()=>o.newTab?"_blank":"_self"),x=s(()=>o.newTab?"noopener noreferrer":void 0),a=s(()=>o.category!==""?o.category:o.pageMeta.category?o.pageMeta.category:"default"),y=s(()=>o.mobileImage?.source===""?o.image:o.mobileImage),k=s(()=>a.value==="default"?"has-background-content-hub--default":g.contentHubBackgroundClassGenerator(a.value,b.value)),v=s(()=>g.contentHubTextClassGenerator(a.value)),L=s(()=>{const h=a.value==="default"||n==="coterie"?"content-hub-hero__title--is-desktop":"",d=a.value==="default"&&b?v.value:"";return`content-hub-hero__title ${h} ${d}`}),S=s(()=>{if(a.value!=="default"&&(!o.ctaRoles||o.ctaRoles.length===0))return g.contentHubCtaClassGenerator(a.value);if(o.ctaRoles&&o.ctaRoles.length>0){const h=[];for(let d=0;d<o.ctaRoles.length;d++)h.push(`button--is-${o.ctaRoles[d]}`);return h}return b.value?"button--is-utility":"button--is-secondary"});return(h,d)=>{const p=H,T=B,w=G;return c(),_(w,$(E({...o,className:`content-hub-hero ${t(k)}`})),{default:N(()=>[r("div",{class:i(["grid content-hub-hero__container",{"grid--is-flipped":!e.isFlipped}])},[r("div",M,[t(a)==="default"||t(n)==="coterie"?(c(),_(p,{key:0,text:e.title,tag:e.titleTag,styleLevel:e.styleLevel,extraClass:"content-hub-hero__title content-hub-hero__title--is-mobile"},null,8,["text","tag","styleLevel"])):l("",!0),t(n)==="coterie"?(c(),u("p",{key:1,class:i(["content-hub-hero__copy","copy","privacy-copy","content-hub-hero__copy--is-mobile",{"content-hub-hero__copy--category":t(a)!=="default"}])},m(e.copy),3)):l("",!0),e.image.source?(c(),u("picture",O,[r("source",{srcset:e.image.source+"?tr=w-1000,f-webp",media:"(min-width: 992px)"},null,8,z),r("source",{srcset:t(y).source+"?tr=w-1000,f-webp",media:"(min-width: 576px)"},null,8,D),r("img",{alt:t(y).alt,class:i(["image-copy-block__image","content-hub-hero__image",{radius:t(n)!=="coterie"}]),src:t(y).source+"?tr=w-535,f-webp",width:"1000",height:"563"},null,10,V)])):l("",!0)]),r("div",U,[r("div",{class:i(["content-hub-hero__content-container",{"content-hub-hero__container--is-flipped":e.isFlipped},{"content-hub-hero__container--category":t(a)!=="default"}])},[f(p,{text:e.title,tag:e.titleTag,styleLevel:e.styleLevel,extraClass:t(L)},null,8,["text","tag","styleLevel","extraClass"]),r("p",{class:i(["content-hub-hero__copy","copy",{"content-hub-hero__copy--category":t(a)!=="default"},t(n)==="coterie"?"privacy-copy content-hub-hero__copy--is-desktop":""])},m(e.copy),3),e.ctaLink?(c(),u("a",{key:0,class:i(["button content-hub-hero__button",t(S)]),href:e.ctaLink,target:t(C),rel:t(x)},m(e.ctaText),11,q)):l("",!0),!e.ctaLink&&e.hasSearchBar?(c(),u("form",{key:1,class:i(["content-hub-hero__form","form"]),action:e.searchLocation,method:"GET",target:"_blank"},[e.searchLabel?(c(),u("label",J,m(e.searchLabel),1)):l("",!0),r("div",Q,[f(t(P),{icon:t(n)!=="coterie"?"magnifyingGlass":"",name:"search_term",placeholder:e.searchPlaceholder,class:i(["grid-item",t(n)==="coterie"?"grid-item--is-10":e.searchCtaText?"grid-item--is-9":"grid-item--is-12"])},null,8,["icon","placeholder","class"]),e.searchCtaText&&t(n)!=="coterie"?(c(),u("button",W,m(e.searchCtaText),1)):e.searchCtaText&&t(n)==="coterie"?(c(),u("div",X,[r("button",Y,[f(T,{icon:"magnifyingGlass",iconSize:"large",iconColor:"dark",extraClass:"content-hub-hero__form-submit-icon"})])])):l("",!0)])],8,K)):l("",!0)],2)])],2)]),_:1},16)}}}),ye=Object.assign(Z,{__name:"ContentHubHero"});export{ye 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.