import{m as y,u as G,j as e,S as b,X as v,a3 as g,eo as q,b as u,C as re,a5 as le,a6 as ie,a4 as E,d_ as U,l as ne,f as oe,ca as ce,t as de,R as me,ej as xe,T as pe,U as he,V as ue,a as be,g as ge,ep as D,r as o,M as ye,I as z,a8 as N,a9 as w,aa as k,ab as C,eq as fe,e4 as je,e5 as ve,Y as R,da as Ne,ar as W,e6 as we,er as ke,ac as M,es as Ce,W as Se,z as Te,s as _e,ai as Pe}from"./index-BUHDA7zi.js";import{U as $}from"./users-rhuh-zqt.js";import{E as Z}from"./eye-DDX-pMe_.js";import{P as K}from"./package-B3hs1WHn.js";import{s as ze}from"./scrollToPackages-DnBYcALr.js";/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Me=y("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ee=y("FileCheck",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Fe=y("Hourglass",[["path",{d:"M5 22h14",key:"ehvnwv"}],["path",{d:"M5 2h14",key:"pdyrp9"}],["path",{d:"M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22",key:"1d314k"}],["path",{d:"M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2",key:"1vvvr6"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Oe=y("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ie=y("UserCog",[["circle",{cx:"18",cy:"15",r:"3",key:"gjjjvw"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M10 15H6a4 4 0 0 0-4 4v2",key:"1nfge6"}],["path",{d:"m21.7 16.4-.9-.3",key:"12j9ji"}],["path",{d:"m15.2 13.9-.9-.3",key:"1fdjdi"}],["path",{d:"m16.6 18.7.3-.9",key:"heedtr"}],["path",{d:"m19.1 12.2.3-.9",key:"1af3ki"}],["path",{d:"m19.6 18.7-.4-1",key:"1x9vze"}],["path",{d:"m16.8 12.3-.4-1",key:"vqeiwj"}],["path",{d:"m14.3 16.6 1-.4",key:"1qlj63"}],["path",{d:"m20.7 13.8 1-.4",key:"1v5t8k"}]]),A="/assets/us-vs-them-left-BZ9V7KSN.webp",Be=1,Ve="03b80209-82ea-4985-a4e9-62b33929fbee",qe="769efedf-e2e2-4ea1-a85d-ce0b1f00227a",De="/__l5e/assets-v1/03b80209-82ea-4985-a4e9-62b33929fbee/spartacus-coach-right.jpg",Re="a/v1/769efedf-e2e2-4ea1-a85d-ce0b1f00227a/03b80209-82ea-4985-a4e9-62b33929fbee/spartacus-coach-right.jpg",We="spartacus-coach-right.jpg",Ae=384312,He="image/jpeg",Le="2026-07-12T11:34:19Z",H={version:Be,asset_id:Ve,project_id:qe,url:De,r2_key:Re,original_filename:We,size:Ae,content_type:He,created_at:Le},Ge=[{icon:$,label:"Who runs it",them:"Whoever's free",us:"Spartacus-certified coaches only"},{icon:Z,label:"Before you book",them:"No idea who's turning up",us:"See our coaches, reviews & ratings"},{icon:re,label:"Standard",them:"Hit or miss",us:"Five-star. Every city. Every time"},{icon:le,label:"Hosting",them:"Turn up and watch",us:"High-energy, fully hosted"},{icon:ie,label:"On the day",them:"Reactive. Disorganised. Flat",us:"Prepared. Professional. Ready to entertain"},{icon:E,label:"Game modes",them:"Same games on repeat",us:"Original modes you won't find anywhere else"},{icon:K,label:"Equipment",them:"Varies by city. Some of it years old",us:"Top-grade zorbs. Every city. Every time"},{icon:Fe,label:"Dead time",them:"Long gaps. Standing around waiting",us:"Non-stop action from start to finish"},{icon:U,label:"Booking",them:"Fill in a form. Wait for an email",us:"Instant. Confirmed immediately"}],Ue=[{icon:K,label:"Who delivers it",them:"Often passed to another operator",us:"Delivered by Spartacus. Every time"},{icon:$,label:"Who runs your session",them:"Freelancers booked per job — quality left to chance",us:"Our own coaches — recruited, trained and managed by us"},{icon:Z,label:"Before you book",them:"No idea who's turning up",us:"See our coaches and read their reviews"},{icon:Me,label:"Paying",them:"One person pays and chases everyone",us:"Individual payments — everyone pays their own. Exclusive to Spartacus"},{icon:ne,label:"Securing the date",them:"£50+ upfront before anyone's committed",us:"Just pay for your own place"},{icon:U,label:"Booking",them:"Send an email, wait for a reply",us:"Live availability, book instantly online"},{icon:Ee,label:"Waivers",them:"Paper forms on arrival",us:"Signed online before you play"},{icon:Ie,label:"Group organiser",them:"Endless messages, payments and chasing",us:"One portal — payments, waivers and details in one place"},{icon:E,label:"Equipment",them:"Varies operator to operator, often years old",us:"Pro-grade kit, every city every time"},{icon:oe,label:"Reviews",them:"One Google listing, one location",us:"14 Google listings, 3,000+ five-star reviews — more than the rest combined"},{icon:ce,label:"Every city",them:"Unrelated operators, different standards",us:"One team, one standard — in every city"}];function ss({cityName:r,bookingUrl:i,citySlug:l,hideCta:t=!1}){const{openEnquiryModal:c,openQuickDate:d}=G(),m=l==="liverpool"?Ue:Ge;return e.jsxs("section",{className:"relative py-20 overflow-hidden border-y border-[#222b22]",style:{backgroundColor:"#111411"},children:[e.jsx("div",{className:"absolute inset-0 opacity-[0.03] pointer-events-none",style:{backgroundImage:"linear-gradient(hsl(var(--primary)) 1px, transparent 1px), linear-gradient(90deg, hsl(var(--primary)) 1px, transparent 1px)",backgroundSize:"40px 40px"}}),e.jsxs("div",{className:"absolute inset-0 pointer-events-none",children:[e.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-[700px] h-[700px] bg-primary/[0.06] rounded-full blur-[140px]"}),e.jsx("div",{className:"absolute bottom-0 right-0 w-[400px] h-[400px] bg-primary/[0.04] rounded-full blur-[100px]"})]}),e.jsxs("div",{className:"container mx-auto max-w-5xl px-4 relative z-10",children:[e.jsx(b,{children:e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("p",{className:"text-xs uppercase tracking-[0.4em] text-primary font-bold mb-4 font-display",children:"Why Spartacus?"}),e.jsxs("h2",{className:"font-display text-4xl md:text-6xl font-bold italic text-white uppercase leading-[0.9] tracking-tight mb-6",children:["See the difference",e.jsx("br",{}),e.jsx("span",{className:"text-primary",children:"before"})," you book."]}),e.jsxs("p",{className:"text-white/60 text-lg md:text-xl max-w-xl mx-auto",children:["The same high standard."," ",e.jsx("br",{className:"md:hidden"}),"The same experience."," ",e.jsx("br",{className:"md:hidden"}),"Every city. Every time."]})]})}),e.jsx(b,{children:e.jsxs("div",{className:"rounded-sm overflow-hidden mb-16 ring-1 ring-white/10",children:[e.jsxs("div",{className:"md:hidden grid grid-cols-2",children:[e.jsxs("div",{className:"relative overflow-hidden",children:[e.jsx("img",{src:A,alt:"Typical bubble football provider on phone",className:"w-full h-[300px] object-cover object-center",loading:"lazy"}),e.jsx("div",{className:"absolute inset-0 bg-black/35"}),e.jsx("div",{className:"absolute bottom-3 left-3 z-10",children:e.jsxs("div",{className:"flex items-center gap-1.5 bg-red-950/80 backdrop-blur-sm border border-red-500/20 rounded-sm px-2.5 py-1.5",children:[e.jsx(v,{className:"h-3.5 w-3.5 text-red-400 flex-shrink-0"}),e.jsx("span",{className:"font-display text-[11px] font-bold text-red-300 uppercase tracking-wide",children:l==="liverpool"?"Typical provider":"Others"})]})})]}),e.jsxs("div",{className:"relative overflow-hidden",children:[e.jsx("img",{src:H.url,alt:"Spartacus high-energy coach",className:"w-full h-[300px] object-cover object-center",loading:"lazy"}),e.jsx("div",{className:"absolute inset-0 bg-primary/10"}),e.jsx("div",{className:"absolute bottom-3 right-3 z-10",children:e.jsxs("div",{className:"flex items-center gap-1.5 bg-primary/90 backdrop-blur-sm border border-primary rounded-sm px-2.5 py-1.5",children:[e.jsx(g,{className:"h-3.5 w-3.5 text-primary-foreground flex-shrink-0"}),e.jsx("span",{className:"font-display text-[11px] font-bold text-primary-foreground uppercase tracking-wide",children:"Spartacus"})]})})]})]}),e.jsxs("div",{className:"relative hidden md:grid grid-cols-2",children:[e.jsxs("div",{className:"relative overflow-hidden",children:[e.jsx("img",{src:A,alt:"Typical bubble football provider on phone",className:"w-full h-[450px] object-cover object-center",loading:"lazy"}),e.jsx("div",{className:"absolute inset-0 bg-black/40"}),e.jsx("div",{className:"absolute bottom-5 left-5 z-10",children:e.jsxs("div",{className:"flex items-center gap-1.5 bg-red-950/80 backdrop-blur-sm border border-red-500/20 rounded-sm px-2.5 py-1.5",children:[e.jsx(v,{className:"h-3.5 w-3.5 text-red-400 flex-shrink-0"}),e.jsx("span",{className:"font-display text-xs font-bold text-red-300 uppercase tracking-wide",children:l==="liverpool"?"Typical provider":"Others"})]})})]}),e.jsxs("div",{className:"relative overflow-hidden",children:[e.jsx("img",{src:H.url,alt:"Spartacus high-energy coach",className:"w-full h-[450px] object-cover object-[center_20%]",loading:"lazy"}),e.jsx("div",{className:"absolute inset-0 bg-primary/10"}),e.jsx("div",{className:"absolute bottom-5 right-5 z-10",children:e.jsxs("div",{className:"flex items-center gap-1.5 bg-primary/90 backdrop-blur-sm border border-primary rounded-sm px-2.5 py-1.5",children:[e.jsx(g,{className:"h-3.5 w-3.5 text-primary-foreground flex-shrink-0"}),e.jsx("span",{className:"font-display text-xs font-bold text-primary-foreground uppercase tracking-wide",children:"Spartacus"})]})})]})]})]})}),e.jsx(b,{children:e.jsxs("div",{className:"mb-16",children:[e.jsx("div",{className:"hidden md:block overflow-hidden rounded-sm border border-white/10 bg-white/[0.02]",children:e.jsxs("table",{className:"w-full",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"border-b border-white/10 bg-white/[0.03]",children:[e.jsx("th",{className:"text-left py-4 px-6 font-display text-xs font-bold uppercase tracking-wider text-white/50",children:"Feature"}),e.jsx("th",{className:"py-4 px-6 text-center font-display text-xs font-bold uppercase tracking-wider text-red-400/80 bg-red-500/[0.05]",children:e.jsxs("span",{className:"flex items-center justify-center gap-2",children:[e.jsx(v,{className:"h-3.5 w-3.5 text-red-400"}),l==="liverpool"?"Typical provider":"Others"]})}),e.jsx("th",{className:"py-4 px-6 text-center font-display text-xs font-bold uppercase tracking-wider text-primary bg-primary/10",children:e.jsxs("span",{className:"flex items-center justify-center gap-2",children:[e.jsx(g,{className:"h-3.5 w-3.5 text-primary"}),"Spartacus"]})})]})}),e.jsx("tbody",{children:m.map((a,n)=>e.jsxs(q.tr,{initial:{opacity:0,x:-10},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:n*.05},className:"border-b border-white/5 group",children:[e.jsx("td",{className:"py-4 px-6",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(a.icon,{className:"h-4 w-4 text-primary/50"}),e.jsx("span",{className:"text-sm text-white/80 font-medium",children:a.label})]})}),e.jsx("td",{className:"py-4 px-6 text-center text-sm text-red-300/50 bg-red-500/[0.02] group-hover:bg-red-500/[0.04] transition-colors",children:a.them}),e.jsx("td",{className:"py-4 px-6 text-center text-sm text-white font-medium bg-primary/[0.07] group-hover:bg-primary/[0.12] transition-colors",children:a.us})]},a.label))})]})}),e.jsx("div",{className:"md:hidden space-y-3",children:m.map((a,n)=>e.jsxs(q.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.05},className:"border border-white/10 rounded-sm overflow-hidden bg-white/[0.02]",children:[e.jsx("div",{className:"px-4 py-3 border-b border-white/5 bg-white/[0.03]",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(a.icon,{className:"h-4 w-4 text-primary/60"}),e.jsx("span",{className:"text-sm font-bold text-white uppercase tracking-wide font-display",children:a.label})]})}),e.jsxs("div",{className:"grid grid-cols-2 divide-x divide-white/5",children:[e.jsxs("div",{className:"px-4 py-3 bg-red-500/[0.03]",children:[e.jsxs("div",{className:"flex items-center gap-1.5 mb-1",children:[e.jsx(v,{className:"h-3 w-3 text-red-400 flex-shrink-0"}),e.jsx("span",{className:"text-[10px] uppercase tracking-wider text-red-400/60 font-bold",children:l==="liverpool"?"Typical provider":"Others"})]}),e.jsx("p",{className:"text-xs text-white/40",children:a.them})]}),e.jsxs("div",{className:"px-4 py-3 bg-primary/[0.08]",children:[e.jsxs("div",{className:"flex items-center gap-1.5 mb-1",children:[e.jsx(g,{className:"h-3 w-3 text-primary flex-shrink-0"}),e.jsx("span",{className:"text-[10px] uppercase tracking-wider text-primary font-bold",children:"Spartacus"})]}),e.jsx("p",{className:"text-xs text-white/90 font-medium",children:a.us})]})]})]},a.label))})]})}),!t&&e.jsx(b,{children:e.jsxs("div",{className:"text-center rounded-sm p-8 md:p-12 bg-gradient-to-br from-primary/10 via-primary/5 to-transparent border border-primary/20",children:[e.jsxs("h3",{className:"font-display text-5xl md:text-7xl font-bold italic text-white uppercase tracking-tight leading-[0.9] mb-3",children:["Book with confidence.",e.jsx("br",{}),e.jsx("span",{className:"text-primary",children:"Not hope."})]}),e.jsx("p",{className:"text-white/50 mb-8 max-w-md mx-auto",children:"Same five-star session — whatever the city, whatever the occasion."}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 justify-center",children:[i?e.jsx(u,{asChild:!0,size:"lg",className:"bg-primary text-primary-foreground hover:brightness-110 w-full sm:w-auto sm:min-w-[220px]",children:e.jsx("a",{href:i,target:"_blank",rel:"noopener noreferrer",children:"Book Now"})}):e.jsx(u,{size:"lg",className:"bg-primary text-primary-foreground hover:brightness-110 w-full sm:w-auto sm:min-w-[220px]",onClick:()=>c({skipCategorySelection:!0}),children:"Book Now"}),e.jsx(u,{size:"lg",variant:"outline",className:"border-white/30 text-white hover:bg-white/10 w-full sm:w-auto sm:min-w-[220px]",onClick:()=>d({source:"us-vs-them"}),children:"Check a date"})]})]})})]})]})}function as(){const{data:r,isLoading:i}=de("coach_transparency_explainer");if(i||!r||!r.is_enabled)return null;const l=t=>t.split(`

`).map((d,m)=>{if(d.includes(`
–`)||d.startsWith("–")){const a=d.split(`
`),n=a[0].startsWith("–")?null:a[0],S=a.filter(x=>x.startsWith("–"));return e.jsxs("div",{className:"space-y-1",children:[n&&e.jsx("p",{children:n}),e.jsx("ul",{className:"space-y-1 pl-4",children:S.map((x,f)=>e.jsx("li",{children:x},f))})]},m)}return e.jsx("p",{children:d},m)});return e.jsxs(me,{children:[e.jsx(xe,{asChild:!0,children:e.jsxs("button",{className:"inline-flex items-center gap-1.5 text-sm text-primary-foreground/70 hover:text-primary-foreground transition-colors underline-offset-2 hover:underline",children:[e.jsx(Oe,{className:"w-3.5 h-3.5"}),"Why do we show our coaches?"]})}),e.jsxs(pe,{className:"sm:max-w-md bg-white text-black",children:[e.jsx(he,{children:e.jsx(ue,{className:"text-xl font-semibold text-black",children:r.title})}),e.jsxs("div",{className:"space-y-4 text-black/90 leading-relaxed",children:[l(r.body),r.footnote&&e.jsx("p",{className:"text-sm text-black/60 pt-2",children:r.footnote})]})]})]})}const L=[{number:1,title:"The Cup Draw",subtitle:null,description:"Teams announced. Rivalries ignite."},{number:2,title:"The Opening Games",subtitle:null,description:e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"text-primary",children:"In the bubbles:"})," Roosters, Last Man Standing and more."]})},{number:3,title:"Bubble Football Knockouts",subtitle:null,description:"The main event. It's all led to this."},{number:4,title:"The Switch-Up",subtitle:null,description:e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"text-primary",children:"Bubbles off."})," A football-themed classic. This one absolutely goes off."]})},{number:5,title:"The Winners Announced",subtitle:null,description:"Champions crowned. Losers start blaming the ref."},{number:6,title:"The Roll of Honour",subtitle:null,description:e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"text-primary",children:"Awards ceremony."})," Honouring heroes. Exposing bottlers."]})}];function ts({bookingUrl:r,imageOverride:i,showJourney:l=!1}={}){const{openEnquiryModal:t}=G(),{data:c}=be("spartacus-cup-intro"),d=ge(c,D),m=i||d.image||D;return e.jsxs("section",{className:"relative overflow-hidden",children:[e.jsxs("div",{className:"relative min-h-[60vh] md:min-h-[440px] flex items-start overflow-hidden",children:[e.jsx("img",{src:m,alt:"Bubble football players colliding during a Spartacus Cup match",className:"absolute inset-0 w-full h-full object-cover",loading:"lazy"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-foreground/40 via-foreground/30 to-foreground/60"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-foreground/75 via-foreground/35 to-transparent"}),e.jsx("div",{className:"absolute inset-0 bg-foreground/15"}),e.jsx("div",{className:"absolute inset-x-0 bottom-0 h-12 md:h-14 bg-gradient-to-t from-foreground via-foreground/60 to-transparent pointer-events-none"}),e.jsx("div",{className:"relative z-10 w-full pt-14 pb-28 md:pt-20 md:pb-32 px-4",children:e.jsx("div",{className:"container mx-auto max-w-5xl",children:e.jsxs(b,{children:[e.jsxs("div",{className:"inline-flex items-center gap-2 bg-primary/15 border border-primary/30 rounded-sm px-4 py-2 mb-6",children:[e.jsx(E,{className:"w-4 h-4 text-primary"}),e.jsx("span",{className:"text-xs font-bold uppercase tracking-[0.2em] text-primary",children:"The Spartacus Cup"})]}),e.jsxs("h2",{className:"font-display text-4xl md:text-6xl font-bold italic text-white uppercase tracking-tight leading-[0.9] max-w-3xl mb-6 drop-shadow-[0_3px_12px_rgba(0,0,0,0.85)]",children:["Think You've Played",e.jsx("br",{}),"Bubble Football?",e.jsx("br",{}),e.jsx("span",{className:"text-primary",children:"Not Like This."})]}),e.jsx("p",{className:"text-white/85 text-base md:text-lg max-w-xl mb-6 drop-shadow-[0_2px_8px_rgba(0,0,0,0.85)]",children:"Our flagship 90-minute experience. Big hits, big drama, last-minute winners."}),e.jsx("div",{className:"inline-flex items-center gap-2 bg-white/10 border border-white/20 rounded-sm px-4 py-2 text-white/80 text-sm font-medium",children:"from £37.50pp · min 10"})]})})})]}),l&&e.jsx("div",{className:"relative px-4 py-16 md:py-20",children:e.jsxs("div",{className:"container mx-auto max-w-3xl relative z-10",children:[e.jsxs("h2",{className:"font-display text-4xl md:text-6xl font-black italic uppercase tracking-tight leading-[1] text-white text-center mb-10 md:mb-12",children:["The Road to ",e.jsx("span",{className:"text-primary",children:"Cup Glory"})]}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute left-5 md:left-6 top-0 bottom-0 w-px bg-primary/30"}),e.jsx("div",{className:"space-y-0",children:L.map((a,n)=>e.jsx(b,{delay:n*.06,children:e.jsxs("div",{className:"relative flex items-start gap-5 md:gap-7 py-5 md:py-6 group cursor-default transition-colors hover:bg-white/[0.03] px-2 -mx-2 rounded-sm",children:[e.jsx("div",{className:"relative z-10 flex-shrink-0 w-10 h-10 md:w-12 md:h-12 bg-primary text-primary-foreground font-display text-lg md:text-xl font-black flex items-center justify-center transition-shadow group-hover:shadow-[0_0_20px_hsl(var(--primary)/0.4)]",children:a.number}),e.jsxs("div",{className:"flex-1 pt-1 md:pt-1.5",children:[e.jsx("h3",{className:"font-display text-lg md:text-xl font-bold text-white uppercase tracking-tight leading-tight",children:a.title}),a.subtitle&&e.jsx("p",{className:"text-primary text-xs md:text-sm font-semibold mt-1",children:a.subtitle}),e.jsx("p",{className:"text-white/50 text-sm md:text-base mt-1",children:a.description})]}),n<L.length-1&&e.jsx("div",{className:"absolute bottom-0 left-14 md:left-[4.5rem] right-0 h-px bg-white/[0.06]"})]})},a.number))})]}),e.jsx(b,{delay:.4,children:e.jsx("div",{className:"text-center mt-14 md:mt-16",children:e.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-3",children:[r?e.jsx("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:"w-full sm:w-auto",children:e.jsx(u,{size:"lg",className:"font-bold w-full sm:w-auto sm:min-w-[220px]",children:"Book Now"})}):e.jsx(u,{size:"lg",className:"font-bold w-full sm:w-auto sm:min-w-[220px]",onClick:()=>t({skipCategorySelection:!0}),children:"Book Now"}),e.jsx(u,{size:"lg",variant:"outline",className:"border-white/30 text-white hover:bg-white/10 font-bold w-full sm:w-auto sm:min-w-[220px]",onClick:ze,children:"View Packages"})]})})})]})})]})}function rs({citySlug:r="",cityName:i}={}){const[l,t]=o.useState(""),[c,d]=o.useState(""),[m,a]=o.useState(""),[n,S]=o.useState(r),[x,f]=o.useState(),[Y,T]=o.useState(!1),[F,J]=o.useState(""),[O,Q]=o.useState(""),[j,X]=o.useState(""),[I,ee]=o.useState(""),[_,B]=o.useState(!1),[se,ae]=o.useState(!1),V=l.trim().length>=2&&/.+@.+\..+/.test(c)&&!!j,te=async()=>{B(!0);try{const{error:s}=await _e.from("booking_enquiries").insert({name:l.trim(),group_type:j,group_size:O||"n/a",package:"unspecified",preferred_date:x?W(x,"yyyy-MM-dd"):null,preferred_time:F||null,email:c.trim(),phone:m.trim()||"n/a",city_slug:n,notes:I.trim()||"Footer form — no message.",source:`FOOTER FORM @ ${typeof window<"u"?window.location.pathname:"/"}`});if(s)throw s;ae(!0)}catch{Pe.error("Something went wrong. Please try again.")}finally{B(!1)}};return e.jsxs("section",{className:"bg-[#0d0d0d] text-background py-16 md:py-20 px-4 border-t border-background/10 relative",children:[e.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-28 h-0.5 bg-primary shadow-[0_0_14px_rgba(139,196,61,0.5)]"}),e.jsxs("div",{className:"container mx-auto max-w-4xl",children:[e.jsxs("div",{className:"text-center mb-10",children:[e.jsxs("p",{className:"inline-flex items-center gap-2 text-xs uppercase tracking-widest font-bold text-primary mb-3",children:[e.jsx(ye,{className:"w-4 h-4"}),"No pressure"]}),e.jsxs("h2",{className:"font-display text-3xl md:text-5xl font-black italic uppercase tracking-tight leading-[1] mb-4 text-white",children:["Not ready to book? ",e.jsx("br",{}),e.jsx("span",{className:"text-primary",children:"Got a question?"})]}),e.jsx("p",{className:"text-background/70 max-w-xl mx-auto",children:"Check a date, ask about group sizes, or anything else — a real person replies. No hard sell."})]}),e.jsx("div",{className:"max-w-2xl mx-auto bg-background/5 border border-background/10 rounded-sm p-6 md:p-8",children:se?e.jsxs("div",{className:"text-center py-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-full bg-primary flex items-center justify-center mx-auto mb-3",children:e.jsx(g,{className:"w-6 h-6 text-primary-foreground",strokeWidth:3})}),e.jsxs("h3",{className:"font-display text-2xl md:text-3xl font-black italic uppercase text-white mb-2",children:[l.trim().split(/\s+/)[0],", ",e.jsx("span",{className:"text-primary",children:"message received."})]}),e.jsx("p",{className:"text-[#9a9a9a]",children:"A real person will get back to you shortly."})]}):e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[e.jsx(h,{label:"Full name",children:e.jsx(z,{value:l,onChange:s=>t(s.target.value),className:p})}),e.jsx(h,{label:"Email",children:e.jsx(z,{type:"email",value:c,onChange:s=>d(s.target.value),className:p})}),e.jsx(h,{label:"Phone",children:e.jsx(z,{type:"tel",value:m,onChange:s=>a(s.target.value),className:p})}),e.jsx(h,{label:"City",children:e.jsxs(N,{value:n,onValueChange:S,children:[e.jsx(w,{className:p,children:e.jsx(k,{})}),e.jsx(C,{children:e.jsx(fe,{valueKey:"slug"})})]})}),e.jsx(h,{label:"Preferred date",children:e.jsxs(je,{open:Y,onOpenChange:T,children:[e.jsx(ve,{asChild:!0,children:e.jsxs(u,{variant:"outline",className:R(p,"justify-start font-normal hover:bg-background/10 hover:text-background",!x&&"text-background/50"),children:[e.jsx(Ne,{className:"mr-2 h-4 w-4"}),x?W(x,"PPP"):"Pick a date"]})}),e.jsx(we,{className:"w-auto p-0",align:"start",children:e.jsx(ke,{mode:"single",selected:x,onSelect:s=>{s&&(f(s),T(!1))},onDayClick:(s,P)=>{P!=null&&P.disabled||(f(s),T(!1))},initialFocus:!0,className:R("p-3 pointer-events-auto")})})]})}),e.jsx(h,{label:"Preferred start time",children:e.jsxs(N,{value:F,onValueChange:J,children:[e.jsx(w,{className:p,children:e.jsx(k,{placeholder:"Pick a time"})}),e.jsx(C,{children:Ze.map(s=>e.jsx(M,{value:s.value,children:s.label},s.value))})]})}),e.jsxs("div",{className:"md:col-span-2 grid md:grid-cols-2 gap-4",children:[e.jsx(h,{label:"Group size",children:e.jsxs(N,{value:O,onValueChange:Q,children:[e.jsx(w,{className:p,children:e.jsx(k,{placeholder:"Select group size"})}),e.jsx(C,{children:$e.map(s=>e.jsx(M,{value:s,children:s},s))})]})}),e.jsx(h,{label:"Event type",children:e.jsxs(N,{value:j,onValueChange:X,children:[e.jsx(w,{className:p,children:e.jsx(k,{placeholder:"What's the occasion?"})}),e.jsx(C,{children:Ce.map(s=>e.jsx(M,{value:s.id,children:s.label},s.id))})]})})]}),e.jsx("div",{className:"md:col-span-2",children:e.jsx(h,{label:"Message (optional)",children:e.jsx(Se,{value:I,onChange:s=>ee(s.target.value),placeholder:"Anything else? (group type, add-ons, questions)",rows:3,className:p})})})]}),e.jsx(u,{size:"lg",className:"w-full mt-6",disabled:!V||_,onClick:te,children:_?"Sending…":"Send enquiry"}),!V&&!_&&e.jsx("p",{className:"text-center text-background/70 text-sm mt-3",children:Ke(l,c,j)}),e.jsx("p",{className:"text-center text-background/50 text-sm mt-3",children:"No booking commitment — just a real reply."})]})})]})]})}const p="bg-background/5 border-background/20 text-background placeholder:text-background/40",$e=Array.from({length:17},(r,i)=>String(i+8)).concat("24+"),Ze=[{value:"10:00",label:"10:00 AM"},{value:"11:00",label:"11:00 AM"},{value:"12:00",label:"12:00 PM"},{value:"13:00",label:"1:00 PM"},{value:"14:00",label:"2:00 PM"},{value:"15:00",label:"3:00 PM"},{value:"16:00",label:"4:00 PM"},{value:"17:00",label:"5:00 PM"},{value:"18:00",label:"6:00 PM"},{value:"19:00",label:"7:00 PM"},{value:"20:00",label:"8:00 PM"}];function Ke(r,i,l){const t=[];if(r.trim().length<2&&t.push("your name"),/.+@.+\..+/.test(i)||t.push("email"),l||t.push("event type"),t.length===0)return"";if(t.length===1)return`Add ${t[0]} to send`;if(t.length===2)return`Add ${t.join(" and ")} to send`;const c=t.pop();return`Add ${t.join(", ")} and ${c} to send`}function h({label:r,children:i}){return e.jsxs("div",{children:[e.jsx(Te,{className:"text-background/80 uppercase text-xs tracking-widest font-bold",children:r}),e.jsx("div",{className:"mt-1.5",children:i})]})}export{as as C,ss as U,ts as a,rs as b};