PageSourceSearch

https://www.hallettspoint.com/_nuxt/wYdtRZTw.js

js hallettspoint.com collected 2026-10-02 13:13:33 UTC 3,977 bytes, 1 lines download raw bytes

1import{_ as W}from"./CkUtnx-o.js";import{_ as A}from"./DbNWPXNU.js";import{_ as M,d as N,f as V,c as $}from"./TtBczL6c.js";import{m as c,x as Y,o as q,I as i,J as k,L as s,Q as b,u as n,V as v,R as z,$ as R,Y as S,Z as h,G as F,j as T,i as G}from"./Br7Dpjc1.js";const H=["src"],J={class:"flex flex-col justify-center items-center mx-10 text-center lg:mx-0 lg:col-start-4 lg:col-span-6"},L={key:1,class:"mt-9 text-sm intro lg:text-lg"},O={__name:"BlockCTA",props:{isSelfSchedulerBlock:{type:Boolean,default:!1},clipPathEffect:Boolean,opacityEffect:Boolean,scaleDownEffect:Boolean,paralaxEffect:Boolean,variant:String,title:String,intro:String,backgroundImage:String,button:Object,forceTitle:Boolean,sticky:{type:Boolean,default:!0},isWall:{type:Boolean,default:!1}},setup(e){const B=$(),w=c(()=>B.public.mriCalendar.enableSelfScheduler),t=e,_=c(()=>[t.sticky?"h-[200vh]":"h-[100lvh]",t.variant].filter(Boolean).join(" ")),D=c(()=>t.sticky?"lg:overflow-hidden":"overflow-hidden"),C=c(()=>t.sticky?"sticky top-0 left-0 overflow-hidden lg:relative lg:h-auto":""),E=c(()=>t.sticky?"relative lg:absolute lg:top-0":"absolute top-0");G("showModal");const{$gsap:o}=N(),r=T(null),l=T(null),x=T(null);let f,m,u,a,g,d;return Y(()=>{if(window.innerWidth<1024&&(t.clipPathEffect||t.opacityEffect||t.scaleDownEffect))if(a=o.timeline({scrollTrigger:{trigger:r.value,start:"top 0%",end:t.isWall?"75% 50%":"bottom 50%",scrub:.5,markers:!1}}),t.isWall){const y=document.querySelector(".img-wrapper-1"),p=y.querySelector("img");a.to(y,{scale:1.2}),a.to(p,{opacity:.2})}else a.fromTo(l.value,{opacity:1,scale:1},{opacity:.1,scale:1.2});else t.clipPathEffect&&(f=o.timeline({scrollTrigger:{trigger:r.value,start:"101px bottom",end:"50% center",scrub:.5,markers:!1}}),f.fromTo(r.value,{clipPath:"inset(0% 25%)"},{clipPath:"inset(0% 0%)"}),a=o.timeline({scrollTrigger:{trigger:r.value,start:"101px bottom",end:"50% center",scrub:.5,markers:!1}}),a.fromTo(l.value,{scale:2},{scale:1})),t.opacityEffect&&(u=o.timeline({scrollTrigger:{trigger:r.value,start:"50% bottom",end:"100% bottom",scrub:.5,markers:!1}}),u.fromTo(x.value,{opacity:0,scale:1.2},{opacity:1,scale:1}),m=o.timeline({scrollTrigger:{trigger:r.value,start:"90% bottom",end:"100% bottom",scrub:.5,markers:!1}}),m.fromTo(l.value,{filter:"grayscale(0%)"},{filter:"grayscale(100%)"})),t.scaleDownEffect&&(g=o.timeline({scrollTrigger:{trigger:l.value,start:"top bottom",end:"100% bottom",scrub:.5,markers:!1}}),g.fromTo(l.value,{scale:1.4},{scale:1})),t.paralaxEffect&&(d=o.timeline({scrollTrigger:{trigger:l.value,start:"20% bottom",end:"140% bottom",scrub:.5,markers:!1}}),d.fromTo(l.value,{transform:"translateY(-50%)"},{transform:"translateY(0%)"}))}),q(()=>{f&&f.kill(),a&&a.kill(),u&&u.kill(),m&&m.kill(),g&&g.kill(),d&&d.kill()}),(j,P)=>{const y=W,p=A,I=V;return i(),k("section",{ref_key:"block",ref:r,class:b(["block-cta relative will-change-[clipPath]",n(_)])},[s("div",{class:b(["lg:sticky lg:top-0 lg:h-[100lvh]",n(D)])},[s("picture",{class:b(["block lg:inline h-[100lvh]",n(C)])},[s("img",{src:e.backgroundImage,alt:"Hero CTA",class:"cta-image object-cover w-full h-full will-change-[filter,opacity,transform]",ref_key:"image",ref:l},null,8,H)],2),s("div",{class:b(["block-inside w-full flex flex-col justify-center items-center h-[100lvh] z-10 opacity-100 lg:grid lg:grid-cols-12 will-change-[opacity,transform]",n(E)]),ref_key:"opacity",ref:x},[s("div",J,[e.title?(i(),v(y,{key:0,level:2,forceTitle:e.forceTitle},{default:z(()=>[R(S(e.title),1)]),_:1},8,["forceTitle"])):h("",!0),e.intro?(i(),k("div",L,S(e.intro),1)):h("",!0),e.button?(i(),k(F,{key:2},[n(w)&&e.isSelfSchedulerBlock?(i(),v(p,{key:0,variant:e.button.variant,label:"Apply Now",isSelfScheduler:!0},null,8,["variant"])):(i(),v(I,{key:1,class:"mt-9",label:e.button.label,to:e.button.to,target:e.button.target,variant:e.button.variant},null,8,["label","to","target","variant"]))],64)):h("",!0)])],2)],2)],2)}}},X=M(O,[["__scopeId","data-v-5385f04a"]]);export{X 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.