PageSourceSearch

https://www.virginexperiencedays.co.uk/_next/static/chunks/9734.f7f33c5f9125d756.js

js virginexperiencedays.co.uk collected 2026-10-03 19:14:35 UTC 8,202 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9734],{7353:(e,r,t)=>{t.r(r),t.d(r,{default:()=>g});var l=t(37876),a=t(76945),n=t(52303),d=t(37537),o=t(14232),s=t(8531),i=t(81634),f=t(32403),b=t(83568),x=t(20109),m=t(16407);let u=e=>{let{onSubmit:r,signupSource:t,priority:u,className:c,title:g="Sign up for all our latest & greatest",redTitle:h="exclusive deals.",note:p="By entering your email address you agree to receive emails from Virgin Experience Days about our latest experiences, news, and deals.",isRebrand:w,onChange:v}=e,{width:j}=(0,n.SO)(),[k,N]=(0,o.useState)(!1),[y,C]=(0,o.useState)(""),_=(w?a.v6:a.ve).production,z=j&&j>768?_.desktop:_.mobile,L=async e=>{e.preventDefault(),r({email:y},null!=t?t:"site"),N(!0)};return(0,l.jsx)("form",{onSubmit:L,children:(0,l.jsxs)("div",{className:(0,d.cn)("bg-background-page m-auto flex max-w-7xl flex-col-reverse","md:flex-row md:items-center md:justify-between md:overflow-hidden md:p-0","xl:h-[300px] xl:px-20 xl:py-10","rebrand:border rebrand:border-border-neutral rebrand:rounded-lg rebrand:overflow-hidden","rebrand:md:flex-col-reverse","rebrand:lg:flex-row rebrand:lg:items-stretch","rebrand:xl:h-[unset] rebrand:xl:px-0 rebrand:xl:py-0",c),"data-testid":"bf-newsletter",children:[(0,l.jsx)("div",{className:(0,d.cn)("max-w-[500px] m-auto md:text-center lg:ml-0 lg:text-left","rebrand:flex rebrand:flex-col rebrand:items-center rebrand:w-full rebrand:max-w-[unset] rebrand:px-4 rebrand:pb-4 rebrand:z-[1]","rebrand:lg:block rebrand:lg:px-20 rebrand:lg:py-10"),children:k?(0,l.jsxs)("div",{className:"flex min-h-[249px] flex-col items-center justify-center text-white md:min-h-[186px] rebrand:max-w-[500px]",children:[(0,l.jsx)(x.t,{className:"text-neutral-strong mb-4",size:"3",children:"Thanks for signing up!"}),(0,l.jsx)(b.a,{className:"text-neutral-faded",size:"small",children:"Look out for us in your inbox s
1oon"})]}):(0,l.jsxs)("div",{className:"rebrand:max-w-[500px] rebrand:lg:block",children:[(0,l.jsxs)(m.h,{className:"text-neutral-strong text-4xl !leading-tight -tracking-[0.02em] sm:text-4xl rebrand:font-bold",as:"h3",children:[g," ",(0,l.jsx)("span",{className:"text-brand",children:h})]}),(0,l.jsxs)("div",{className:"my-4 flex w-full flex-col items-center justify-center gap-4 md:flex-row md:gap-0",children:[(0,l.jsx)("input",{className:(0,d.cn)("font-main text-persistent-text-dark h-12 w-full appearance-none rounded-sm p-4 text-base leading-none","border-neutral-strong border","placeholder:text-neutral-faded","md:rounded-none md:rounded-l md:border-r-0 md:text-sm","rebrand:border-border-neutral","rebrand:rounded-md rebrand:md:rounded-none rebrand:md:rounded-l-md","dark:bg-transparent dark:text-neutral-strong"),onChange:e=>{C(e.target.value),null==v||v({email:y})},placeholder:"Your email address",type:"email",value:y}),(0,l.jsx)(i.$,{className:(0,d.cn)("h-[48px] shrink grow-0 basis-1/2 overflow-hidden text-ellipsis whitespace-nowrap rounded border-2 border-transparent p-4 text-base leading-[14px]","md:min-w-[164px] md:basis-2/5 md:rounded-bl-none md:rounded-tl-none md:text-sm md:leading-[14px]","rebrand:rounded-md rebrand:md:rounded-bl-none rebrand:md:rounded-tl-none"),fullWidth:!0,variant:"primary",onClick:L,type:"submit",children:"Sign Up"})]}),(0,l.jsx)(b.a,{className:"text-neutral-faded text-left md:text-center lg:text-left",size:"small",children:p})]})}),(0,l.jsxs)("div",{className:"w-full text-center md:hidden lg:block lg:max-w-[560px] rebrand:relative rebrand:md:block rebrand:aspect-[358/190] rebrand:lg:aspect-auto",children:[(0,l.jsx)(f._,{className:(0,d.cn)("relative h-full pt-4 md:pt-0","rebrand:absolute rebrand:inset-0 rebrand:w-full rebrand:pt-0","rebrand:image:w-full rebrand:image:h-full rebrand:image:object-cover"),src:z.src,alt:"newsletter image",width:z.width,height:z.height,priority:u,sizes:"(min-width: 992px) 560px, 100vw"}),(0,l.jsx)(s.e,{className:"text-background-page",fillerWidth:{desktop:23,tablet:20},isHorizontalOnMobile:!0})]})]})})};var c=t(57993);let g=e=>{let{context:r,slice:t}=e,{hide:n,isFaceted:d,isRebrand:o,onNewsletterSubmit:s}=r,{primary:i,position:f}=t,b=!!f&&f<=a.xX;return d||n?null:(0,l.jsx)(c.m,{children:(0,l.jsx)(u,{isRebrand:o,onSubmit:s,signupSource:null==i?void 0:i.sign_up_source,priority:b})})}},8531:(e,r,t)=>{t.d(r,{e:()=>o});var l=t(37876),a=t(37537);let n=()=>(0,l.jsx)("svg",{width:"206",height:"42",viewBox:"0 0 206 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M4.95099 41.4824C2.67103 41.4824 0.822748 39.6342 0.82272 37.3542L0.822296 2.00039C0.822282 0.791986 2.03553 -0.039754 3.16264 0.395969L102.379 38.7514C102.778 38.9057 103.221 38.9057 103.62 38.7514L202.836 0.395955C203.964 -0.0397648 205.177 0.791961 205.177 2.00036L205.177 37.3542C205.177 39.6341 203.328 41.4824 201.048 41.4824L4.95099 41.4824Z",fill:"currentColor"})}),d=()=>(0,l.jsx)("svg",{width:"38",height:"124",viewBox:"0 0 38 124",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M0 4.12827C0 1.84829 1.84829 0 4.12827 0H35.9988C37.3278 0 38.1547 1.44287 37.483 2.58957L3.18889 61.1305C2.87433 61.6675 2.87433 62.3325 3.18889 62.8695L37.483 121.41C38.1547 122.557 37.3278 124 35.9988 124H4.12827C1.84829 124 0 122.152 0 119.872V4.12827Z",fill:"currentColor"})}),o=e=>{var r,t,o;let{className:s,fillerWidth:i,isHorizontalOnMobile:f,...b}=e;return(0,l.jsxs)("div",{className:(0,a.cn)("absolute inset-0 hidden text-current z-0 pointer-events-none overflow-hidden rebrand:flex",f&&"flex-col-reverse lg:flex-row",s),"aria-hidden":"true",...b,children:[(0,l.jsx)("div",{className:(0,a.cn)("relative w-[var(--filler-w-mobile)] h-full bg-current","md:w-[var(--filler-w-tablet)]","lg:w-[var(--filler-w-desktop)] lg:h-full","before:absolute before:top-0 before:left-[-1px] before:w-0.5 before:h-full before:bg-current before:z-[-1]","after:absolute after:top-0 after:left-full after:w-0.5 after:h-full after:bg-current after:z-[-1]",f&&["w-full h-[var(--filler-w-mobile)] md:w-full md:h-[var(--filler-w-tablet)]","before:top-[-1px] before:left-0 before:w-full before:h-0.5 md:before:top-0 md:before:left-[-1px] md:before:w-0.5 md:before:h-full","after:top-full after:left-0 after:w-full after:h-0.5 md:after:top-0 md:after:left-full md:after:w-0.5 md:after:h-full"]),style:{"--filler-w-desktop":"".concat(null!=(r=null==i?void 0:i.desktop)?r:0,"px"),"--filler-w-mobile":"".concat(null!=(t=null==i?void 0:i.mobile)?t:0,"px"),"--filler-w-tablet":"".concat(null!=(o=null==i?void 0:i.tablet)?o:0,"px")}}),(0,l.jsx)("div",{className:(0,a.cn)("relative flex items-center w-full h-full","before:absolute before:top-[calc(-50%_-_2px)] before:left-[3.8px] before:w-1/2 before:h-full before:bg-current before:origin-bottom-right before:transform before:translate-x-[-100%] before:rotate-[30.4deg]","after:absolute after:top-[calc(50%_+_2px)] after:left-[3.8px] after:w-1/2 after:h-full after:bg-current after:origin-top-right after:transform after:translate-x-[-100%] after:rotate-[-30.4deg]",f&&"hidden lg:flex"),children:(0,l.jsx)(d,{})}),f&&(0,l.jsx)("div",{className:(0,a.cn)("relative hidden items-end justify-center w-full h-full","before:absolute before:bottom-[2.7px] before:left-[-2px] before:w-1/2 before:h-[150%] before:bg-current before:origin-bottom-right before:transform before:rotate-[-68.7deg]","after:absolute after:bottom-[2.7px] after:left-[calc(50%_+_2px)] after:w-1/2 after:h-[150%] after:bg-current after:origin-bottom-left after:transform after:rotate-[68.7deg]",f&&"flex lg:hidden"),children:(0,l.jsx)(n,{})})]})}},16407:(e,r,t)=>{t.d(r,{h:()=>o});
1var l=t(37876),a=t(61277),n=t(37537);let d=(0,a.F)("m-0 font-serif font-normal tracking-tight",{variants:{size:{1:"text-5xl sm:text-8xl",2:"text-4xl sm:text-6xl",3:"text-[2rem] sm:text-5xl",4:"text-3xl sm:text-4xl",5:"text-2xl",6:"text-xl"},leading:{none:"leading-none",base:"leading-base",snug:"leading-tight",normal:"leading-normal",relaxed:"leading-relaxed"}},defaultVariants:{size:"2",leading:"snug"}}),o=e=>{let{className:r,as:t,children:a,size:o="1",leading:s="snug",...i}=e,f=null!=t?t:"h".concat(o);return(0,l.jsx)(f,{"data-testid":"visual-heading",className:(0,n.cn)(d({size:o,leading:s}),r),...i,children:a})}}}]);

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.