1import{K as e,Y as t,c as n}from"./useStore-BwpjyEn-.js";import{o as r}from"./client-C33heO-E.js";import{n as i,r as a}from"./createMiddleware-CUmlKyvO.js";import{a as o,n as s,o as c}from"./page-shell-GmwYxHW-.js";import{t as l}from"./useServerFn-CLs7XVOr.js";import{t as u}from"./useQuery-2So71po-.js";import{t as ee}from"./useSuspenseQuery-DrmWk0Js.js";import{_ as d,g as f,i as p,w as te,x as ne}from"./index-CFuSW7TZ.js";import{t as m}from"./external-link-omPsXDPp.js";import{t as re}from"./play-D4YDkDuK.js";import{t as h}from"./star-YeRZzHLm.js";import{r as g,t as _}from"./videos-CpQPxGHE.js";import{a as v,i as y,n as b,o as x,r as S,t as C}from"./dialog-D1drgc5S.js";import{t as w}from"./coach-directory-DE-NyIT8.js";import{n as T,t as E}from"./animation.mp4.asset-CzKh5Twz.js";var D=o(`heart`,[[`path`,{d:`M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5`,key:`mvr1a0`}]]),O=t(e(),1),k=i({method:`GET`}).handler(a(`9a51c8e9f37e0cfb9a6a86a0d40a4079b09b7b94264aaafcf3f03df436fcbb7e`)),A={rating:5,count:251,reviews:[],placeUrl:`https://g.page/r/CaoXM0Ow_BIWEAE`};function j(e=`Swim Smooth Perth`){let t=l(k),{data:n,isPending:r}=u({queryKey:[`google-reviews`,e],queryFn:()=>t({data:{query:e}}),staleTime:1e3*60*60*6,gcTime:1e3*60*60*24,placeholderData:A,retry:1});return{...n??A,isLoading:r}}var M=n();function N({slides:e,intervalMs:t=8e3}){let[n,r]=(0,O.useState)(0);return(0,O.useEffect)(()=>{let n=setInterval(()=>r(t=>(t+1)%e.length),t);return()=>clearInterval(n)},[e.length,t]),(0,M.jsxs)(`section`,{className:`relative h-screen min-h-[640px] w-full overflow-hidden bg-aquatic-deep`,children:[e.map((e,t)=>(0,M.jsxs)(`div`,{className:`absolute inset-0 transition-opacity duration-[1400ms] ease-out ${t===n?`opacity-100`:`opacity-0`}`,"aria-hidden":t!==n,children:[(0,M.jsx)(`img`,{src:e.image,alt:e.alt,style:{objectPosition:e.focus??`center`,transform:`scale(${(e.zoom??1)*(t===n?1.05:1)})`},className:`absolute inset-0 h-full w-full object-cover transition-transform ease-out ${t===n?`duration-[9000ms]`:`duration-[1400ms]`}`}),e.overlay===`light`?(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-aquatic-deep/80 via-aquatic-deep/15 to-transparent`}),(0,M.jsx)(`div`,{className:`absolute inset-x-0 bottom-0 h-1/2 bg-gradient-to-t from-aquatic-deep/85 via-aquatic-deep/25 to-transparent`})]}):(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-aquatic-deep via-aquatic-deep/40 to-aquatic-deep/30`}),(0,M.jsx)(`div`,{className:`absolute inset-x-0 bottom-0 h-2/3 bg-gradient-to-t from-aquatic-deep/90 via-aquatic-deep/40 to-transparent`})]})]},t)),(0,M.jsxs)(`div`,{className:`relative z-10 flex h-full flex-col justify-end px-6 pb-28 md:px-12 md:pb-24 max-w-[1600px] mx-auto`,children:[(0,M.jsx)(`div`,{className:`min-h-[170px] md:min-h-[190px]`,children:e.map((e,t)=>(0,M.jsxs)(`div`,{className:`transition-all duration-1000 ${t===n?`opacity-100 translate-y-0 relative`:`opacity-0 translate-y-4 absolute pointer-events-none`}`,children:[(0,M.jsxs)(`div`,{className:`font-mono text-brand-cyan text-[11px] uppercase tracking-[0.25em] mb-3`,children:[`[ `,e.eyebrow,` ]`]}),(0,M.jsx)(`h1`,{className:`font-display font-bold uppercase leading-[0.9] text-balance text-3xl sm:text-4xl md:text-5xl lg:text-6xl max-w-4xl`,children:e.title}),e.sub&&(0,M.jsx)(`p`,{className:`mt-4 max-w-xl text-sm md:text-base text-spray/85`,children:e.sub})]},t))}),(0,M.jsx)(`div`,{className:`mt-10 flex items-center justify-center gap-3`,children:e.map((e,t)=>(0,M.jsx)(`button`,{onClick:()=>r(t),"aria-label":`Show slide ${t+1}`,className:`h-1.5 rounded-full transition-all duration-500 ${t===n?`w-10 bg-brand-cyan`:`w-4 bg-white/25 hover:bg-white/50`}`},t))})]}),(0,M.jsx)(`div`,{className:`absolute bottom-6 left-6 md:bottom-8 md:left-8 z-20 hidden sm:block`,children:(0,M.jsx)(ie,{})})]})}function ie(){let{rating:e,count:t,reviews:n,placeUrl:r,isLoading:i}=j(),a=e.toFixed(1),o=n.slice(0,12);return(0,M.jsxs)(C,{children:[(0,M.jsx)(x,{asChild:!0,children:(0,M.jsx)(`button`,{type:`button`,className:`group text-left`,"aria-label":`See top Google reviews`,children:(0,M.jsxs)(`div`,{className:`bg-white/95 text-aquatic-deep rounded-2xl px-4 py-3 shadow-xl backdrop-blur transition-transform group-hover:-translate-y-0.5`,children:[(0,M.jsx)(`div`,{className:`text-[10px] uppercase tracking-widest font-semibold text-aquatic-deep/70`,children:`Why swimmers trust us`}),(0,M.jsxs)(`div`,{className:`mt-1 flex items-center gap-2`,children:[(0,M.jsx)(`span`,{className:`font-display font-bold text-lg`,children:a}),(0,M.jsx)(`span`,{className:`text-brand-cyan text-sm`,children:`â
â
â
â
â
`}),(0,M.jsxs)(`span`,{className:`text-[11px] text-aquatic-deep/60`,children:[t,` review`,t
1===1?``:`s`]})]})]})})}),(0,M.jsxs)(b,{className:`max-w-2xl bg-aquatic-surface border-white/10 text-spray max-h-[85vh] overflow-y-auto`,children:[(0,M.jsxs)(y,{children:[(0,M.jsxs)(`div`,{className:`flex items-center gap-3 mb-2`,children:[(0,M.jsx)(`div`,{className:`w-10 h-10 rounded-full bg-white flex items-center justify-center shadow-md`,children:(0,M.jsxs)(`svg`,{viewBox:`0 0 48 48`,className:`w-6 h-6`,"aria-hidden":!0,children:[(0,M.jsx)(`path`,{fill:`#EA4335`,d:`M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z`}),(0,M.jsx)(`path`,{fill:`#4285F4`,d:`M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z`}),(0,M.jsx)(`path`,{fill:`#FBBC05`,d:`M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z`}),(0,M.jsx)(`path`,{fill:`#34A853`,d:`M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z`})]})}),(0,M.jsxs)(`div`,{children:[(0,M.jsx)(v,{className:`font-display uppercase text-2xl leading-tight`,children:`What swimmers say`}),(0,M.jsx)(S,{className:`text-spray/60 text-sm`,children:`Google-verified reviews of Swim Smooth Perth`})]})]}),(0,M.jsxs)(`div`,{className:`flex items-center gap-3 pt-2 pb-1`,children:[(0,M.jsx)(`span`,{className:`font-display font-bold text-4xl text-spray`,children:a}),(0,M.jsxs)(`div`,{children:[(0,M.jsx)(`div`,{className:`flex text-brand-cyan text-lg leading-none`,children:`â
â
â
â
â
`}),(0,M.jsxs)(`div`,{className:`text-xs text-spray/60 mt-1`,children:[`Based on `,t,` Google review`,t===1?``:`s`]})]})]})]}),o.length===0?(0,M.jsx)(`div`,{className:`py-8 text-center text-sm text-spray/60`,children:i?`Loading the latest reviews from Googleâ¦`:`Reviews are loading slowly right now â read them all on Google below.`}):(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)(`p`,{className:`text-xs text-spray/50 mt-2`,children:[`Google shows the `,o.length,` most recent reviews here â all`,` `,t,` are on our Google profile.`]}),(0,M.jsx)(`ul`,{className:`space-y-4 mt-2`,children:o.map((e,t)=>(0,M.jsxs)(`li`,{className:`rounded-xl bg-aquatic-deep/50 border border-white/5 p-4`,children:[(0,M.jsxs)(`div`,{className:`flex items-center gap-3 mb-2`,children:[e.authorPhoto?(0,M.jsx)(`img`,{src:e.authorPhoto,alt:``,loading:`lazy`,referrerPolicy:`no-referrer`,className:`w-9 h-9 rounded-full object-cover`}):(0,M.jsx)(`div`,{className:`w-9 h-9 rounded-full bg-brand-cyan/20 text-brand-cyan flex items-center justify-center font-bold`,children:e.author.charAt(0)}),(0,M.jsxs)(`div`,{className:`flex-1 min-w-0`,children:[(0,M.jsx)(`div`,{className:`text-sm font-semibold text-spray truncate`,children:e.author}),(0,M.jsxs)(`div`,{className:`flex items-center gap-2 text-xs text-spray/50`,children:[(0,M.jsx)(`span`,{className:`flex text-brand-cyan`,children:Array.from({length:Math.round(e.rating)}).map((e,t)=>(0,M.jsx)(h,{className:`h-3 w-3 fill-current`},t))}),e.relativeTime&&(0,M.jsxs)(`span`,{children:[`· `,e.relativeTime]})]})]})]}),(0,M.jsx)(`p`,{className:`text-sm text-spray/80 leading-relaxed whitespace-pre-line line-clamp-6`,children:e.text})]},t))})]}),(0,M.jsxs)(`div`,{className:`mt-4 flex flex-col sm:flex-row gap-2`,children:[(0,M.jsxs)(`a`,{href:r??`https://g.page/r/CaoXM0Ow_BIWEAE`,target:`_blank`,rel:`noopener`,className:`flex-1 inline-flex items-center justify-center gap-2 bg-brand-cyan text-aquatic-mist px-5 py-3 rounded-full text-[11px] font-bold uppercase tracking-widest hover:bg-brand-cyan-glow transition-colors`,children:[`Read all reviews on Google `,(0,M.jsx)(m,{className:`h-3.5 w-3.5`})]}),(0,M.jsx)(`a`,{href:`https://g.page/r/CaoXM0Ow_BIWEAE/review`,target:`_blank`,rel:`noopener`,className:`flex-1 inline-flex items-center justify-center gap-2 border border-brand-cyan/40 text-brand-cyan px-5 py-3 rounded-full text-[11px] font-bold uppercase tracking-widest hover:bg-brand-cyan/10 transition-colors`,children:`Leave your own review`})]})]})]})}function P(){let e=_[0],t=c();return(0,M.jsx)(`section`,{className:`lg:col-span-12 relative overflow-hidden rounded-3xl border border-brand-cyan/20 bg-gradient-to-br from-aquatic-mist via-aquatic-surface to-aquatic-deep animate-reveal`,children:(0,M.jsxs)(`div`,{className:`grid gap-8 md:grid-cols-2 items-center p-6 md:p-10`,children:[(0,M.jsxs)(`div`,{className:`relative`,children:[(0,M.jsx)(`div`,{className:`rounded-[22px] border-[10px] border-white/10 bg-black shadow-2xl`,children:(0,M.jsx)(g,{vimeoId:e.vimeoId,title:`The Catch Masterclass â Trailer`})}),(0,M.jsx)(`div`,{className:`mx-auto h-3 w-24 rounded-b-2xl bg-white/10 md:w-32`})]}),(0,M.jsxs)(`div`,{className:`text-white`,children:[(0,M.jsx)(`div`,{className:`font-mono text-brand-cyan text-[10px] uppercase tracking-widest mb-3`,children:`[ New â The 5-Day Catch Challenge ]`}),(0,M.jsxs)(`h2`,{className:`font-display font-bold text-3xl md:text-5xl uppercase leading-[0.95] mb-4`,children:[`Take 5 seconds off your\xA0`,(0,M.jsx)(`span`,{className:`text-brand-cyan`,children:`100\xA0m`}),` in 5 days.`]}),(0,M.jsxs)(`p`,{className:`text-sm md:text-base text-spray/85 leading-relaxed mb-6 max-w-xl`,children:[`The original Catch Masterclass â over 2 hours of Paul Newsome's step-by-step video coaching, plus training sessions to lock the feel in. Plenty of people have tried to copy this over the years, but nothing beats the original. Yours for a one-off`,` `,(0,M.jsx)(`span`,{className:`font-bold text-white`,children:`$10`}),`.`]}),(0,M.jsxs)(`ul`,{className:`grid grid-cols-2 gap-y-2 text-xs md:text-sm mb-8 text-spray/80`,children:[(0,M.jsx)(`li`,{children:`â 5 core video sessions`}),(0,M.jsx)(`li`,{children:`â Full run-through with a real swimmer`}),(0,M.jsx)(`li`,{children:`â Downloadable session sheets (PDF)`}),(0,M.jsx)(`li`,{children:`â 30-day money-back guarantee`})]}),(0,M.jsx)(`div`,{className:`flex flex-wrap items-center gap-4`,children:t===`yes`?(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(r,{to:`/catch/watch`,className:`inline-flex items-center gap-2 rounded-full bg-brand-cyan px-7 py-4 text-xs md:text-sm font-bold uppercase tracking-widest text-aquatic-mist hover:scale-105 transition-transform`,children:`Go to your Masterclass â`}),(0,M.jsx)(`span`,{className:`text-[11px] uppercase tracking-widest text-brand-cyan/80`,children:`You're in â pick up where you left off`})]}):(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(r,{to:`/catch`,className:`inline-flex items-center gap-2 rounded-full bg-brand-cyan px-7 py-4 text-xs md:text-sm font-bold uppercase tracking-widest text-aquatic-mist hover:scale-105 transition-transform`,children:`Yes â I want to swim faster â`}),(0,M.jsx)(`span`,{className:`text-[11px] uppercase tracking-widest text-spray/60`,children:`Instant access · Watch on any device`})]})})]})]})})}var F=`https://apps.apple.com/sa/app/mr-smooth-pro/id824204887`;function I(){let e=T(),t=(0,O.useRef)(null),[n,i]=(0,O.useState)(!1);return(0,O.useEffect)(()=>{let e=t.current;if(!e)return;let n=()=>{let t=e.play();t&&typeof t.then==`function`&&t.then(()=>i(!1)).catch(()=>i(!0))},r=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting&&n()},{threshold:.25}
1);return r.observe(e),n(),()=>r.disconnect()},[]),(0,M.jsx)(`section`,{className:`lg:col-span-12 relative overflow-hidden rounded-3xl border border-brand-cyan/20 bg-gradient-to-br from-aquatic-deep via-aquatic-surface to-aquatic-mist animate-reveal`,children:(0,M.jsxs)(`div`,{className:`grid gap-8 md:grid-cols-2 items-center p-6 md:p-10`,children:[(0,M.jsxs)(`div`,{className:`relative order-2`,children:[(0,M.jsxs)(`div`,{className:`relative rounded-[22px] border-[10px] border-white/10 bg-black shadow-2xl overflow-hidden`,children:[(0,M.jsx)(`video`,{ref:t,src:E.url,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:`auto`,className:`w-full h-auto block`}),n&&(0,M.jsx)(`button`,{type:`button`,onClick:()=>{let e=t.current;e&&e.play().then(()=>i(!1)).catch(()=>i(!0))},"aria-label":`Play Mr Smooth animation`,className:`absolute inset-0 flex items-center justify-center bg-black/40 backdrop-blur-[1px]`,children:(0,M.jsx)(`span`,{className:`flex h-16 w-16 items-center justify-center rounded-full bg-brand-cyan text-aquatic-mist shadow-2xl`,children:(0,M.jsx)(re,{className:`h-7 w-7 fill-current`})})})]}),(0,M.jsx)(`div`,{className:`mx-auto h-3 w-24 rounded-b-2xl bg-white/10 md:w-32`})]}),(0,M.jsxs)(`div`,{className:`text-white order-1`,children:[(0,M.jsx)(`div`,{className:`font-mono text-brand-cyan text-[10px] uppercase tracking-widest mb-3`,children:`[ Mr Smooth & Miss Swinger · Since 2004 ]`}),(0,M.jsxs)(`h2`,{className:`font-display font-bold text-3xl md:text-5xl uppercase leading-[0.95] mb-4`,children:[`The world's most`,(0,M.jsx)(`br`,{}),(0,M.jsx)(`span`,{className:`text-brand-cyan`,children:`watched stroke.`})]}),(0,M.jsxs)(`p`,{className:`text-sm md:text-base text-spray/85 leading-relaxed mb-6 max-w-xl`,children:[`Study Mr Smooth & Miss Swinger from any angle, at any speed. Two distinct freestyle styles that have shaped how the world coaches the front crawl for over two decades. On your desktop for a one-off `,(0,M.jsx)(`span`,{className:`font-bold text-white`,children:`$9.99`}),`, or grab the iOS edition from Apple.`]}),(0,M.jsxs)(`div`,{className:`flex flex-wrap items-center gap-3 mb-4`,children:[e===`yes`?(0,M.jsx)(r,{to:`/mr-smooth/downloads`,className:`inline-flex items-center gap-2 rounded-full bg-brand-cyan px-6 py-3 text-xs md:text-sm font-bold uppercase tracking-widest text-aquatic-mist hover:scale-105 transition-transform`,children:`Get your installers â`}):(0,M.jsx)(r,{to:`/mr-smooth`,className:`inline-flex items-center gap-2 rounded-full bg-brand-cyan px-6 py-3 text-xs md:text-sm font-bold uppercase tracking-widest text-aquatic-mist hover:scale-105 transition-transform`,children:`Buy for Mac / Windows · $9.99 â`}),(0,M.jsx)(`a`,{href:F,target:`_blank`,rel:`noopener noreferrer`,className:`inline-flex items-center gap-2 rounded-full border border-white/20 bg-white/5 px-6 py-3 text-xs md:text-sm font-bold uppercase tracking-widest text-white hover:bg-white/10 transition-colors`,children:`Get on the App Store â`})]}),(0,M.jsx)(`div`,{className:`text-[11px] uppercase tracking-widest text-spray/60`,children:e===`yes`?`You're in â pick up where you left off`:`Secure Stripe checkout · Apple handles iOS billing`})]})]})})}function L(){return(0,M.jsx)(`section`,{className:`px-6 py-20 md:py-28`,children:(0,M.jsx)(`div`,{className:`max-w-6xl mx-auto rounded-[32px] border border-white/10 bg-aquatic-surface/70 p-8 md:p-14`,children:(0,M.jsxs)(`div`,{className:`grid lg:grid-cols-2 gap-12 items-center`,children:[(0,M.jsxs)(`div`,{children:[(0,M.jsx)(`div`,{className:`font-mono text-brand-cyan text-[10px] uppercase tracking-widest mb-4`,children:`[ Swim Types · The Swim Smooth framework ]`}),(0,M.jsxs)(`h2`,{className:`font-display font-bold text-4xl md:text-6xl uppercase leading-[0.88] mb-6 text-balance`,children:[`You're not an`,(0,M.jsx)(`br`,{}),(0,M.jsx)(`span`,{className:`text-brand-cyan`,children:`average swimmer.`})]}),(0,M.jsx)(`p`,{className:`text-lg text-spray/75 leading-relaxed mb-4`,children:`So why follow average advice? Swim Types is what makes Swim Smooth genuinely different â six recognisable freestyle profiles, each with its own faults, strengths and fix list. Identify yours and the guesswork disappears.`}),(0,M.jsx)(`p`,{className:`text-spray/60 leading-relaxed mb-8`,children:`Take the original questionnaire free, then download the revamped guide for your type â $9.99 each.`}),(0,M.jsxs)(`div`,{className:`flex flex-wrap gap-3`,children:[(0,M.jsx)(r,{to:`/swim-types`,className:`inline-flex items-center justify-center rounded-full bg-brand-cyan px-7 py-4 text-xs font-bold uppercase tracking-widest text-aquatic-mist hover:scale-[1.02] transition-transform`,children:`Explore Swim Types â`}),(0,M.jsx)(r,{to:`/swim-types`,hash:`questionnaire`,className:`inline-flex items-center justify-center rounded-full border border-white/20 px-7 py-4 text-xs font-bold uppercase tracking-widest text-spray/80 hover:border-brand-cyan hover:text-brand-cyan transition-colors`,children:`Take the free quiz`})]})]}),(0,M.jsx)(`ul`,{className:`grid sm:grid-cols-2 gap-3`,children:p.map(e=>(0,M.jsxs)(`li`,{className:`rounded-2xl border border-white/10 bg-aquatic-deep/60 p-5`,children:[(0,M.jsx)(`div`,{className:`font-display font-bold text-lg uppercase leading-none mb-2`,children:e.name}),(0,M.jsx)(`div`,{className:`text-xs text-spray/60 leading-relaxed`,children:e.tagline})]},e.key))})]})})})}var R=`https://aiweyvlueelzcdidzrgm.supabase.co`,z=`eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImFpd2V5dmx1ZWVsemNkaWR6cmdtIiwicm9sZSI6ImFub24iLCJpYXQiOjE3Njc5MzQ3NzcsImV4cCI6MjA4MzUxMDc3N30.trxnYZvc6P9jbQ3Vz-7tVsIsXYOBoOq65uUpWDWK8sk`,B=`d5ebe73b-ccb8-4d2a-8004-eb92d185887d`,V=`https://g.page/r/CaoXM0Ow_BIWEAE/review`,H=`Swimmers absolutely love the incredible, personalised insights they gain â feeling immediate improvements and leaving with renewed enthusiasm for the water. Coaches are praised for pinpointing specific stroke issues and providing clear, actionable advice that makes a real difference.`;async function U(){let e=await fetch(`${R}/rest/v1/google_review_cache?coach_id=eq.${B}&select=author_name,rating,text,relative_time,profile_photo_url&order=publish_time.desc`,{headers:{apikey:z}});return e.ok?await e.json():[]}function W(){let[e,t]=(0,O.useState)(null);return(0,O.useEffect)(()=>{let e=!1;return U().then(n=>{e||t(n)}).catch(()=>{e||t([])}),()=>{e=!0}},[]),{reviews:e,count:e?.length??0,average:e&&e.length?e.reduce((e,t)=>
1e+(t.rating||0),0)/e.length:null}}function G({limit:e=4,className:t}){let{reviews:n}=W();return!n||!n.length?null:(0,M.jsxs)(`section`,{className:`relative overflow-hidden rounded-3xl border border-brand-cyan/20 bg-aquatic-mist p-8 md:p-12 ${t??``}`,children:[(0,M.jsxs)(`div`,{className:`text-center mb-10`,children:[(0,M.jsx)(`p`,{className:`font-mono text-brand-cyan text-[10px] uppercase tracking-widest mb-3`,children:`[ Loved by local swimmers ]`}),(0,M.jsx)(`h2`,{className:`font-display font-bold text-3xl md:text-4xl uppercase text-white leading-[0.95] mb-4`,children:`What our swimmers say`}),(0,M.jsxs)(`div`,{className:`flex items-center justify-center gap-1 text-brand-cyan`,children:[Array.from({length:5}).map((e,t)=>(0,M.jsx)(h,{className:`h-5 w-5 fill-current`},t)),(0,M.jsx)(`span`,{className:`ml-2 text-xs text-white/60 uppercase tracking-widest`,children:`From Google Reviews · Swim Smooth Perth`})]})]}),(0,M.jsxs)(`div`,{className:`rounded-2xl border border-brand-cyan/20 bg-black/30 p-6 mb-8 max-w-3xl mx-auto`,children:[(0,M.jsxs)(`div`,{className:`flex items-center gap-2 mb-2 text-brand-cyan`,children:[(0,M.jsx)(D,{className:`h-4 w-4 fill-brand-pink text-brand-pink`}),(0,M.jsx)(`span`,{className:`text-[10px] font-bold tracking-widest uppercase`,children:`What swimmers love`})]}),(0,M.jsx)(`p`,{className:`text-sm md:text-base text-white/85 leading-relaxed`,children:H})]}),(0,M.jsx)(`div`,{className:`grid gap-4 md:grid-cols-2`,children:n.slice(0,e).map((e,t)=>(0,M.jsxs)(`div`,{className:`rounded-2xl border border-white/10 bg-black/20 p-5`,children:[(0,M.jsxs)(`div`,{className:`flex items-center gap-3 mb-3`,children:[e.profile_photo_url?(0,M.jsx)(`img`,{src:e.profile_photo_url,alt:``,loading:`lazy`,className:`w-10 h-10 rounded-full object-cover`}):(0,M.jsx)(`div`,{className:`w-10 h-10 rounded-full bg-brand-cyan text-aquatic-deep flex items-center justify-center font-semibold`,children:e.author_name.charAt(0)}),(0,M.jsxs)(`div`,{children:[(0,M.jsx)(`p`,{className:`font-semibold text-white text-sm`,children:e.author_name}),(0,M.jsxs)(`div`,{className:`flex items-center gap-1 text-brand-cyan`,children:[Array.from({length:e.rating}).map((e,t)=>(0,M.jsx)(h,{className:`h-3.5 w-3.5 fill-current`},t)),(0,M.jsx)(`span`,{className:`ml-1 text-[11px] text-white/50`,children:e.relative_time})]})]})]}),e.text&&(0,M.jsxs)(`p`,{className:`text-sm text-white/75 leading-relaxed line-clamp-5`,children:[`â`,e.text,`â`]})]},t))}),(0,M.jsx)(`div`,{className:`text-center mt-8`,children:(0,M.jsxs)(`a`,{href:V,target:`_blank`,rel:`noreferrer`,className:`inline-flex items-center gap-2 text-sm font-medium text-brand-cyan hover:text-white transition-colors`,children:[`Leave a Google review `,(0,M.jsx)(m,{className:`h-3.5 w-3.5`})]})})]})}var K={version:1,asset_id:`b4248ebd-f899-459a-a96a-db08302cf607`,project_id:`7e045632-22c6-4b00-b07c-0e0cd9b5c9be`,url:`/__l5e/assets-v1/b4248ebd-f899-459a-a96a-db08302cf607/paul-newsome.jpg`,r2_key:`a/v1/7e045632-22c6-4b00-b07c-0e0cd9b5c9be/b4248ebd-f899-459a-a96a-db08302cf607/paul-newsome.jpg`,original_filename:`paul-newsome.jpg`,size:477135,content_type:`image/jpeg`,created_at:`2026-07-20T10:00:12Z`},q={version:1,asset_id:`00f3ec25-1eb3-446d-9943-fd26b0333bda`,project_id:`7e045632-22c6-4b00-b07c-0e0cd9b5c9be`,url:`/__l5e/assets-v1/00f3ec25-1eb3-446d-9943-fd26b0333bda/world-triathlon.png`,r2_key:`a/v1/7e045632-22c6-4b00-b07c-0e0cd9b5c9be/00f3ec25-1eb3-446d-9943-fd26b0333bda/world-triathlon.png`,original_filename:`world-triathlon.png`,size:89285,content_type:`image/png`,created_at:`2026-07-21T05:42:17Z`},J={version:1,asset_id:`5e3b668b-eebc-49d8-93e9-b900d9ea8287`,project_id:`7e045632-22c6-4b00-b07c-0e0cd9b5c9be`,url:`/__l5e/assets-v1/5e3b668b-eebc-49d8-93e9-b900d9ea8287/british-triathlon.png`,r2_key:`a/v1/7e045632-22c6-4b00-b07c-0e0cd9b5c9be/5e3b668b-eebc-49d8-93e9-b900d9ea8287/british-triathlon.png`,original_filename:`british-triathlon.png`,size:50252,content_type:`image/png`,created_at:`2026-07-21T05:42:19Z`},Y={version:1,asset_id:`1de85a4f-7eb7-42ca-8726-70eb8a531ba0`,project_id:`7e045632-22c6-4b00-b07c-0e0cd9b5c9be`,url:`/__l5e/assets-v1/1de85a4f-7eb7-42ca-8726-70eb8a531ba0/swimming-england.png`,r2_key:`a/v1/7e045632-22c6-4b00-b07c-0e0cd9b5c9be/1de85a4f-7eb7-42ca-8726-70eb8a531ba0/swimming-england.png`,original_filename:`swimming-england.png`,size:74149,content_type:`image/png`,created_at:`2026-07-21T05:42:21Z`},ae=[{image:f.hero,alt:`A Swim Smooth swimmer in open water at sunrise`,eyebrow:`The Swim Smooth Method`,overlay:`light`,title:(0,M.jsxs)(M.Fragment,{children:[`Coach the Swimmer,`,(0,M.jsx)(`br`,{}),(0,M.jsx)(`span`,{className:`text-brand-cyan`,children:`not the Stroke.`})]}),sub:`The world's most trusted freestyle system â proven in 119 countries since 2004.`},{image:ne.url,alt:`A Swim Smooth squad gathered poolside with hands raised`,eyebrow:`Local Squads`,focus:`center 45%`,title:(0,M.jsxs)(M.Fragment,{children:[`A lane full`,(0,M.jsx)(`br`,{}),(0,M.jsx)(`span`,{className:`text-brand-cyan`,children:`OF SWIMMING MATES.`})]}),sub:`Coached sessions, real people, and steady progress â every week, in y
1our city.`},{image:f.video,alt:`Swim Smooth 1-to-1 video analysis`,eyebrow:`Video Analysis`,title:(0,M.jsxs)(M.Fragment,{children:[`See your stroke.`,(0,M.jsx)(`br`,{}),(0,M.jsx)(`span`,{className:`text-brand-cyan`,children:`Change it for good.`})]}),sub:`One-to-one above and below the water with your certified Swim Smooth coach.`},{image:f.perth,alt:`Swim Smooth camp in Perth`,eyebrow:`Camps & Experiences`,title:(0,M.jsxs)(M.Fragment,{children:[`It Works. It's Fun.`,(0,M.jsx)(`br`,{}),(0,M.jsx)(`span`,{className:`text-brand-cyan`,children:`It's For Everyone.`})]}),sub:`Whatever your level or starting point â we'll get you on track to your best swimming self.`},{image:f.guruPool,alt:`The Swim Smooth GURU app poolside`,eyebrow:`GURU â Your Coach in Your Pocket`,title:(0,M.jsxs)(M.Fragment,{children:[`Personalised sets.`,(0,M.jsx)(`br`,{}),(0,M.jsx)(`span`,{className:`text-brand-cyan`,children:`Every single swim.`})]}),sub:`No one does individualisation better than Swim Smooth â we literally wrote that playbook with our world-first Swim Types system.`}];function oe(){return(0,M.jsxs)(s,{children:[(0,M.jsx)(N,{slides:ae,intervalMs:8e3}),(0,M.jsx)(`main`,{className:`pt-12 pb-12 px-6 max-w-[1600px] mx-auto`,children:(0,M.jsxs)(`div`,{className:`grid grid-cols-1 lg:grid-cols-12 gap-4`,children:[(0,M.jsx)(`div`,{className:`lg:col-span-12 animate-reveal`,children:(0,M.jsx)(w,{collapsible:!0})}),(0,M.jsxs)(`div`,{className:`lg:col-span-12 relative overflow-hidden rounded-3xl border border-white/5 animate-reveal h-[340px] md:h-[420px]`,children:[(0,M.jsxs)(r,{to:`/coaches`,className:`absolute inset-0 group`,"aria-label":`Meet our coaches`,children:[(0,M.jsx)(`img`,{src:f.team,alt:`Swim Smooth coaches and swimmers together`,loading:`lazy`,width:1920,height:500,className:`absolute inset-0 w-full h-full object-cover group-hover:scale-105 transition-transform duration-1000`}),(0,M.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-aquatic-deep via-aquatic-deep/20 to-transparent`})]}),(0,M.jsxs)(`div`,{className:`pointer-events-none absolute bottom-0 left-0 right-0 p-8 md:p-12 flex flex-wrap items-end justify-between gap-6`,children:[(0,M.jsxs)(`div`,{children:[(0,M.jsx)(`div`,{className:`font-mono text-brand-cyan text-[10px] uppercase tracking-widest mb-3`,children:`[ One Global Family ]`}),(0,M.jsxs)(`h2`,{className:`font-display font-bold text-4xl md:text-6xl uppercase leading-[0.9]`,children:[`119 countries.`,(0,M.jsx)(`br`,{}),`One community.`]})]}),(0,M.jsxs)(`div`,{className:`pointer-events-auto relative z-10 flex gap-6 md:gap-10 items-end`,children:[(0,M.jsx)(Z,{to:`/coaches`,value:`40+`,label:`CERTIFIED COACHES`,ariaLabel:`Browse all Certified Coaches`}),(0,M.jsx)(Z,{to:`/blog`,value:`85k`,label:`Weekly swimmers`,ariaLabel:`Subscribe to the Swim Smooth blog`}),(0,M.jsx)(Z,{to:`/about`,value:`20 yrs`,label:`Since 2004`,ariaLabel:`About Swim Smooth`})]})]})]}),(0,M.jsx)(P,{}),(0,M.jsx)(I,{}),(0,M.jsx)(`div`,{className:`lg:col-span-12`,children:(0,M.jsx)(L,{})}),(0,M.jsx)(`div`,{className:`lg:col-span-12`,children:(0,M.jsx)(G,{})}),(0,M.jsx)(X,{to:`/services#squads`,image:f.squads,alt:`Swim Smooth squad session`,eyebrow:`Group`,title:`Local Squads`,delay:450}),(0,M.jsx)(X,{to:`/services#video-analysis`,image:f.video,alt:`Swim Smooth 1-to-1 video analysis`,eyebrow:`1-to-1`,title:`Video Analysis`,delay:550}),(0,M.jsx)(X,{to:`/camps`,image:f.perth,alt:`Swim Smooth camp in Perth`,eyebrow:`Multi-day`,title:`Camps & Experiences`,delay:650}),(0,M.jsxs)(`div`,{className:`lg:col-span-12 animate-reveal mt-2`,children:[(0,M.jsx)(`div`,{className:`font-mono text-brand-cyan text-[10px] uppercase tracking-widest mb-3`,children:`[ Whoever You Are ]`}),(0,M.jsx)(`h2`,{className:`font-display font-bold text-3xl md:text-5xl uppercase leading-[0.95] mb-6`,children:`Every kind of swimmer.`}),(0,M.jsxs)(`div`,{className:`grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-3`,children:[(0,M.jsx)(Q,{n:`01`,label:`Triathlon`}),(0,M.jsx)(Q,{n:`02`,label:`Open Water`}),(0,M.jsx)(Q,{n:`03`,label:`Laps / Fitness`}),(0,M.jsx)(Q,{n:`04`,label:`Learn to Swim`}),(0,M.jsx)(Q,{n:`05`,label:`60+ Swimmers`}),(0,M.jsx)(Q,{n:`06`,label:`Swim:Run`})]})]}),(0,M.jsx)(ue,{}),(0,M.jsxs)(`section`,{className:`lg:col-span-12 grid lg:grid-cols-12 gap-4 animate-reveal`,children:[(0,M.jsxs)(`div`,{className:`lg:col-span-7 relative rounded-3xl overflow-hidden bg-aquatic-surface min-h-[520px]`,children:[(0,M.jsx)(`img`,{src:K.url,alt:`Paul Newsome, Founder and Head Coach of Swim Smooth`,width:1280,height:853,className:`absolute inset-0 w-full h-full object-cover object-[center_20%]`}),(0,M.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-aquatic-deep via-aquatic-deep/40 to-transparent`}),(0,M.jsxs)(`div`,{className:`absolute bottom-8 left-8 right-8`,children:[(0,M.jsx)(`div`,{className:`font-mono text-brand-cyan text-[10px] uppercase tracking-widest mb-2`,children:`[ Meet the Founder ]`}),(0,M.jsx)(`h2`,{className:`font-display font-bold text-4xl md:text-6xl uppercase leading-[0.9]`,children:`Paul Newsome`}),(0,M.jsx)(`p`,{className:`text-sm text-spray/80 mt-1`,children:`Head Coach · Swim Smooth · Perth, since 2004`})]})]}),(0,M.jsxs)(`div`,{className:`lg:col-span-5 grid gap-4`,children:[(0,M.jsx)($,{quote:`Detailed, practical, and a solid plan to take away. It was a real privilege â thank you Paul!`,name:`Nat`,location:`Perth · Google Review`}),(0,M.jsx)($,{quote:`Paul's insight showed me exactly what to work on. Technique already felt better by the end.`,name:`Fergus Brown`,location:`Google Review`})]})]}),(0,M.jsxs)(r,{to:`/become-a-coach`,className:`lg:col-span-8 relative overflow-hidden rounded-3xl border border-white/5 hover:border-brand-cyan/40 transition-colors min-h-[320px] animate-reveal group`,children:[(0,M.jsx)(`img`,{src:f.becomeCoach,alt:`SwimCoachHQâ¢`,loading:`lazy`,width:900,height:700,className:`absolute inset-0 w-full h-full object-cover opacity-45 group-hover:scale-105 transition-transform duration-1000`}),(0,M.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-r from-aquatic-deep via-aquatic-deep/60 to-transparent`}),(0,M.jsxs)(`div`,{className:`relative p-8 md:p-12 max-w-xl`,children:[(0,M.jsx)(`div`,{className:`font-mono text-brand-cyan text-[10px] uppercase tracking-widest mb-3`,children:`[ Coach With Us ]`}),(0,M.jsxs)(`h3`,{className:`font-display font-bold text-3xl md:text-5xl uppercase leading-[0.9] mb-4`,children:[`Turn swimming`,(0,M.jsx)(`br`,{}
1),`into your life's work.`]}),(0,M.jsx)(`span`,{className:`inline-flex items-center gap-2 text-xs uppercase tracking-widest font-bold text-brand-cyan group-hover:translate-x-1 transition-transform`,children:`Explore Certification â`})]})]}),(0,M.jsxs)(r,{to:`/guru`,className:`lg:col-span-4 relative overflow-hidden bg-aquatic-mist p-8 rounded-3xl flex flex-col justify-between group animate-reveal min-h-[320px] text-white border border-brand-cyan/20`,children:[(0,M.jsxs)(`div`,{className:`relative z-10`,children:[(0,M.jsx)(`div`,{className:`font-mono text-brand-cyan text-[10px] uppercase tracking-widest mb-3`,children:`[ GURU App ]`}),(0,M.jsxs)(`h3`,{className:`font-display font-bold text-3xl uppercase leading-[0.95] mb-2`,children:[`Your coach,`,(0,M.jsx)(`br`,{}),`in your pocket.`]}),(0,M.jsx)(`p`,{className:`text-[11px] uppercase tracking-widest text-brand-cyan mt-3`,children:`7-day free trial`})]}),(0,M.jsx)(`img`,{src:f.guruDevices,alt:``,width:600,height:400,className:`absolute -bottom-6 -right-6 w-[75%] opacity-75 group-hover:scale-105 transition-transform duration-700`}),(0,M.jsx)(`div`,{className:`relative z-10 mt-6 flex items-end justify-end`,children:(0,M.jsx)(`span`,{className:`bg-brand-cyan text-aquatic-mist p-3 rounded-full group-hover:translate-x-2 transition-transform`,children:`â`})})]}),(0,M.jsxs)(`section`,{className:`lg:col-span-12 py-10 border-y border-white/10 animate-reveal`,children:[(0,M.jsx)(`div`,{className:`text-center font-mono text-brand-cyan text-[10px] uppercase tracking-widest mb-8`,children:`[ Officially Endorsed in 119 Countries ]`}),(0,M.jsxs)(`div`,{className:`flex flex-wrap justify-center items-center gap-x-12 md:gap-x-20 gap-y-8`,children:[(0,M.jsx)(`img`,{src:q.url,alt:`World Triathlon â Official Partner of Swim Smooth`,className:`h-12 md:h-16 w-auto object-contain brightness-0 invert opacity-90 hover:opacity-100 transition-opacity`,loading:`lazy`}),(0,M.jsx)(`img`,{src:J.url,alt:`British Triathlon â Official Swim Coaching Partner of Swim Smooth`,className:`h-14 md:h-20 w-auto object-contain brightness-0 invert opacity-90 hover:opacity-100 transition-opacity`,loading:`lazy`}),(0,M.jsx)(`img`,{src:Y.url,alt:`Swimming England â Recognised Provider`,className:`h-12 md:h-16 w-auto object-contain brightness-0 invert opacity-90 hover:opacity-100 transition-opacity`,loading:`lazy`}),(0,M.jsx)(`span`,{className:`font-display font-bold text-xl md:text-2xl uppercase tracking-wide text-brand-cyan`,children:`Since 2004`})]})]}),(0,M.jsx)(`section`,{className:`lg:col-span-12 animate-reveal`,children:(0,M.jsxs)(`article`,{className:`relative overflow-hidden bg-gradient-to-br from-aquatic-mist via-aquatic-surface to-aquatic-deep border border-brand-cyan/20 rounded-3xl p-8 md:p-14`,children:[(0,M.jsx)(`div`,{className:`absolute -top-6 -left-2 font-display font-bold text-[12rem] md:text-[16rem] leading-none text-brand-cyan/10 select-none pointer-events-none`,children:`â`}),(0,M.jsxs)(`div`,{className:`relative`,children:[(0,M.jsx)(`div`,{className:`font-mono text-brand-cyan text-[10px] uppercase tracking-widest mb-4`,children:`[ WORLD TRIATHLON · GLOBAL EDUCATION PARTNER ]`}),(0,M.jsx)(`blockquote`,{className:`font-display text-2xl md:text-4xl lg:text-5xl leading-[1.1] uppercase mb-6 max-w-4xl`,children:`We are really proud to modernize our coach education processes through access to Swim Smooth's patented technology.`}),(0,M.jsxs)(`div`,{className:`flex items-center gap-4 border-t border-white/10 pt-5`,children:[(0,M.jsx)(`div`,{className:`w-12 h-12 rounded-full bg-brand-cyan/20 border border-brand-cyan/40 grid place-items-center font-display font-bold text-brand-cyan`,children:`MC`}),(0,M.jsxs)(`div`,{children:[(0,M.jsx)(`div`,{className:`font-bold uppercase text-sm`,children:`Marisol Casado`}),(0,M.jsx)(`div`,{className:`text-xs font-mono text-spray/60 uppercase tracking-widest`,children:`President, World Triathlon · IOC Member`})]})]})]})]})})]})})]})}function X({to:e,image:t,alt:n,eyebrow:i,title:a,delay:o}){return(0,M.jsxs)(r,{to:e,className:`lg:col-span-4 relative overflow-hidden rounded-3xl border border-white/5 hover:border-brand-cyan/40 transition-colors animate-reveal group aspect-[4/5] md:aspect-[4/3]`,style:{animationDelay:`${o}ms`},children:[(0,M.jsx)(`img`,{src:t,alt:n,loading:`lazy`,width:800,height:800,className:`absolute inset-0 w-full h-full object-cover group-hover:scale-105 transition-transform duration-700`}),(0,M.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-aquatic-deep via-aquatic-deep/20 to-transparent`}),(0,M.jsxs)(`div`,{className:`absolute bottom-0 left-0 right-0 p-6`,children:[(0,M.jsxs)(`div`,{className:`font-mono text-brand-cyan text-[10px] uppercase tracking-widest mb-1`,children:[`[ `,i,` ]`]}),(0,M.jsx)(`h4`,{className:`font-display font-bold text-2xl md:text-3xl uppercase leading-none`,children:a})]})]})}function se(e,t){if(!e)return`Dates TBA`;let n=new Date(e),r=n.toLocaleDateString(`en-GB`,{month:`short`,year:`numeric`}).toUpperCase();if(!t)return r;let i=new Date(t);return n.getMonth()===i.getMonth()&&n.getFullYear()===i.getFullYear()?r:`${n.toLocaleDateString(`en-GB`,{month:`short`}).toUpperCase()} â ${i.toLocaleDateString(`en-GB`,{month:`short`,year:`numeric`}).toUpperCase()}`}function ce(e){switch(e){case`sold_out`:return`Sold out`;case`waitlist`:return`Waitlist`;case`closed`:return`Closed`;case`open`:return`Book now`;default:return null}}function le({camp:e}){let t=ce(e.booking_status),n=e.price_display??(e.price_amount==null?null:new Intl.NumberFormat(`en-GB`,{style:`currency`,currency:e.price_currency??`GBP`,maximumFractionDigits:0}).format(e.price_amount));return(0,M.jsxs)(`div`,{className:`relative w-[15rem] shrink-0 overflow-hidden rounded-2xl border border-white/10 bg-aquatic-deep/60 backdrop-blur-sm group/card`,children:[e.cover_image_url?(0,M.jsx)(`img`,{src:e.cover_image_url,alt:e.title,loading:`lazy`,className:`h-24 w-full object-cover opacity-80 group-hover/card:opacity-100 transition-opacity`}):(0,M.jsx)(`div`,{className:`h-24 w-full bg-gradient-to-br from-aquatic-surface to-aquatic-deep`}),(0,M.jsxs)(`div`,{className:`p-3`,children:[(0,M.jsxs)(`div`,{className:`flex items-center justify-between gap-2 mb-1`,children:[(0,M.jsx)(`span`,{className:`font-mono text-brand-cyan text-[10px] uppercase tracking-widest`,children:se(e.date_from,e.date_to)}),n&&(0,M.jsx)(`span`,{className:`font-mono text-[10px] text-spray/80`,children:n})]}),(0,M.jsx)(`div`,{className:`font-bold uppercase text-xs leading-tight line-clamp-2 min-h-[2.2rem]`,children:e.title}),e.location&&(0,M.jsx)(`div`,{className:`text-[10px] text-spray/60 mt-1 truncate`,children:e.location}),t&&(0,M.jsx)(`div`,{className:`mt-2 inline-block text-[9px] uppercase tracking-widest px-2 py-0.5 rounded-full font-bold`,style:e.booking_status===`sold_out`||e.booking_status===`closed`?{background:`#e755ff`,color:`#0F1215`,border:`1px solid #e755ff`,boxShadow:`0 4px 12px rgba(231,85,255,0.45)`}:{background:`rgba(120,223,255,0.18)`,color:`#78dfff`,border:`1px solid rgba(120,223,255,0.45)`},children:t})]})]})}function ue(){let{data:e}=ee(d),t=e.filter(e=>!e.date_from||new Date(e.date_from)>=new Date(new Date().toDateString())).slice(0,6);return(0,M.jsxs)(r,{to:`/camps`,className:`lg:col-span-12 relative min-h-[22rem] rounded-3xl overflow-hidden animate-reveal group block`,children:[(0,M.jsx)(`img`,{src:te.url,alt:`Swim Smooth camp group in Montenegro`,loading:`lazy`,width:1920,height:800,className:`absolute inset-0 w-full h-full object-cover group-hover:scale-105 transition-transform duration-1000`}),(0,M.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-r from-aquatic-deep via-aquatic-deep/70 to-aquatic-deep/30`}),(0,M.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-aquatic-deep via-aquatic-deep/20 to-transparent`}),(0,M.jsxs)(`div`,{className:`relative z-10 flex flex-col gap-8 p-6 md:p-10 lg:p-12`,children:[(0,M.jsxs)(`div`,{className:`max-w-2xl`,children:[(0,M.jsx)(`div`,{className:`font-mono text-brand-cyan text-[10px] uppercase tracking-widest mb-3`,children:`[ Camps & Experiences ]`}),(0,M.jsxs)(`h2`,{className:`font-display font-bold text-3xl md:text-5xl uppercase leading-[0.95] mb-3`,children:[`Your best swimming`,(0,M.jsx)(`br`,{}),(0,M.jsx)(`span`,{className:`text-brand-cyan`,children:`holiday yet.`})]}),(0,M.jsx)(`p`,{className:`text-sm md:text-base text-spray/80 max-w-lg`,children:`Train where the world's best do â from Perth to Mallorca, Club La Santa to Montenegro. Certified Coaches, real camps, unforgettable weeks.`})]}),t.length>0?(0,M.jsxs)(`div`,{className:`flex gap-3 overflow-x-auto pb-2 -mx-1 px-1 snap-x`,children:[t.map(e=>(0,M.jsx)(`div`,{className:`snap-start`,children:(0,M.jsx)(le,{camp:e})},e.id)),(0,M.jsx)(`div`,{className:`shrink-0 flex items-center justify-center w-[10rem] rounded-2xl border border-brand-cyan/40 bg-brand-cyan/10 text-brand-cyan font-mono text-xs uppercase tracking-widest px-4 group-hover:bg-brand-cyan/20 transition-colors`,children:`See all camps â`})]}):(0,M.jsx)(`div`,{className:`inline-flex items-center gap-3 text-brand-cyan font-mono text-xs uppercase tracking-widest`,children:`Browse the camps directory â`})]})]})}function Z({to:e,value:t,label:n,ariaLabel:i}){return(0,M.jsxs)(r,{to:e,"aria-label":i,className:`bg-white/5 hover:bg-white/10 border border-white/10 hover:border-brand-cyan/50 rounded-2xl px-3 py-4 text-center backdrop-blur-sm transition-colors block min-w-[6rem]`,children:[(0,M.jsx)(`div`,{className:`font-display font-bold text-2xl text-brand-cyan leading-none mb-1`,children:t}),(0,M.jsx)(`div`,{className:`text-[10px] uppercase tracking-widest text-spray/70`,children:n})]})}function Q({n:e,label:t}){return(0,M.jsxs)(r,{to:`/coaches`,className:`bg-aquatic-surface border border-white/5 hover:border-brand-cyan/40 rounded-2xl p-5 transition-colors group`,children:[(0,M.jsxs)(`div`,{className:`font-mono text-brand-cyan text-[10px] mb-2`,children:[`[ `,e,` ]`]}),(0,M.jsx)(`div`,{className:`font-display font-bold text-lg uppercase leading-none`,children:t})]})}function $({quote:e,name:t,location:n}){return(0,M.jsxs)(`div`,{className:`bg-aquatic-surface border border-white/5 rounded-3xl p-8 flex flex-col justify-between`,children:[(0,M.jsx)(`div`,{className:`flex gap-1 mb-4`,children:Array.from({length:5}).map((e,t)=>(0,M.jsx)(`span`,{className:`size-3 rounded-full bg-brand-cyan`},t))}),(0,M.jsxs)(`p`,{className:`text-sm text-spray/85 italic leading-relaxed mb-4`,children:[`"`,e,`"`]}),(0,M.jsxs)(`div`,{children:[(0,M.jsx)(`div`,{className:`text-xs font-bold`,children:t}),(0,M.jsx)(`div`,{className:`text-[10px] uppercase tracking-widest text-spray/50`,children:n})]})]})}export{oe as component};
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.