1import{j as e}from"./vendor-motion-JRxdQ2gb.js";import{a as o,W as x,K as p,aE as h,ak as u,Q as f}from"./vendor-icons-DYLGlVKU.js";import{L as m,a as S}from"./vendor-router-_oePQnHM.js";import{r as g}from"./vendor-react-BBEUt6Ny.js";import{p as E,s as C}from"./securityAudit-CUXla5lh.js";import{a as N}from"./vendor-query-Bsv8gmQQ.js";import{s as w,d as R,P,B as b}from"./index-CGyjz9h9.js";import{N as A}from"./Navbar-DRazNW-E.js";import{E as T}from"./EventRegistrationForm-C4BlzHEK.js";import{F as $}from"./Footer-C69fIdTd.js";import{P as D}from"./PagePager-CtnIhyGZ.js";import{P as O}from"./PageBreadcrumb-pPssO158.js";import{g as B,f as v,a as L}from"./recurring-experiences-CnNedNPn.js";import{k as _}from"./farm-hero-BV-yRV_t.js";import{s as z}from"./surfsynergy-pool-CajHQVP2.js";import{s as F}from"./surfsynergy-yoga-L2aON5-4.js";import{e as H}from"./experience-annual-summit-CvmT45_4.js";import{e as M}from"./experience-scottsdale-M_y3CRDJ.js";import{e as V}from"./experience-napa-retreat-QMoKdbtE.js";import"./vendor-supabase-BvmwovYO.js";import"./vendor-ui-RFkxiLdw.js";import"./vendor-charts-BrjiiE_d.js";import"./badge-aW2k5vzN.js";import"./TicketDialogProvider-BzDA6H9-.js";import"./input-BtkA_aG2.js";import"./textarea-DdUQ7hT3.js";import"./label-CkFHHTOJ.js";import"./select-CMjXeKBp.js";import"./feedback-client-DRFgzV4l.js";import"./zod-BhyUKxzh.js";import"./notify-founders-DOoaDVwC.js";import"./EventAvailabilityBadge-COISZRDD.js";import"./types-BOLNAExu.js";function I({tone:s="dark"}){const r=s==="dark";return e.jsx("section",{"aria-label":"Next step",className:r?"bg-charcoal":"bg-cream",children:e.jsxs("div",{className:"mx-auto max-w-6xl px-6 py-24 md:py-32",children:[e.jsx("p",{className:"text-[12px] font-bold uppercase tracking-[0.35em] text-terracotta",children:"Step one, then two doors"}),e.jsxs("h2",{className:`mt-4 font-display uppercase leading-[0.92] tracking-tight ${r?"text-cream":"text-charcoal"}`,style:{fontSize:"clamp(2.5rem, 7vw, 5rem)"},children:["Join free.",e.jsx("br",{}),"Then pick your room."]}),e.jsx("p",{className:`mt-6 max-w-2xl text-base md:text-lg leading-relaxed ${r?"text-cream/75":"text-charcoal/70"}`,children:"One seat per 4,600 residents. Joining costs nothing and takes about a minute. What happens after is the part that changes things."}),e.jsx("div",{className:"mt-10",children:e.jsxs(m,{to:"/apply",className:"inline-flex items-center gap-2 bg-terracotta px-8 py-4 text-xs font-bold uppercase tracking-[0.3em] text-charcoal transition-colors hover:bg-cream",children:["Join Extraordinary â free ",e.jsx(o,{className:"h-4 w-4"})]})}),e.jsxs("div",{className:"mt-14 grid gap-4 md:grid-cols-2",children:[e.jsxs(m,{to:"/mastermind",className:`group block border p-8 transition-colors ${r?"border-cream/20 hover:border-terracotta":"border-charcoal/20 hover:border-terracotta"}`,children:[e.jsx("p",{className:"text-[12px] font-bold uppercase tracking-[0.3em] text-terracotta",children:"The room"}),e.jsx("h3",{className:`mt-3 font-display text-3xl uppercase tracking-tight md:text-4xl ${r?"text-cream":"text-charcoal"}`,children:"The Mastermind"}),e.jsx("p",{className:`mt-4 text-sm leading-relaxed ${r?"text-cream/70":"text-charcoal/70"}`,children:"Peer to peer, four movements a year, no curriculum. This is where the uninstall actually happens."}),e.jsxs("span",{className:`mt-6 inline-flex items-center gap-2 text-xs font-bold uppercase tracking-[0.3em] ${r?"text-cream/80":"text-charcoal/80"} group-hover:text-terracotta`,children:["See the Mastermind ",e.jsx(o,{className:"h-4 w-4"})]})]}),e.jsxs(m,{to:"/cities",className:`group block border p-8 transition-colors ${r?"border-cream/20 hover:border-terracotta":"border-charcoal/20 hover:border-terracotta"}`,children:[e.jsx("p",{className:"text-[12px] font-bold uppercase tracking-[0.3em] text-terracotta",children:"The place"}),e.jsx("h3",{className:`mt-3 font-display text-3xl uppercase tracking-tight md:text-4xl ${r?"text-cream":"text-charcoal"}`,children:"Your city"}),e.jsx("p",{className:`mt-4 text-sm leading-relaxed ${r?"text-cream/70":"text-charcoal/70"}`,children:"Seats are allocated by place, and the interview happens in your own market. Find out how many are left where you live."}),e.jsxs("span",{className:`mt-6 inline-flex items-center gap-2 text-xs font-bold uppercase tracking-[0.3em] ${r?"text-cream/80":"text-charcoal/80"} group-hover:text-terracotta`,children:["Find your city ",e.jsx(o,{className:"h-4 w-4"})]})]})]})]})})}function q(s){return N({queryKey:["cms",s],queryFn:async()=>{const{data:r,error:n}=await w.from("cms_content").select("*").eq("page_key",s);if(n)throw n;return r??[]},staleTime:6e4})}function J(s,r){const{data:n}=q(s);return n?.find(c=>c.section_key===r)??null}function y({page:s,section:r,type:n="text",children:c}){const i=J(s,r);if(i?.metadata&&i.metadata.visible===!1)return null;if(i){if(n==="text"||n==="richtext"){const l=i.value||"",t=E.sanitize(l);return e.jsx("div",{dangerouslySetInnerHTML:{__html:C(l,t,{surface:"cms_block",page:s,section:r})}})}if(n==="image")return e.jsx("img",{src:i.value,alt:"",className:"w-full h-auto"})}return e.jsx(e.Fragment,{children:c})}const K=[{title:"Phoenix Leaders Dinner",tag:"Dinner",icon:h,date:"Saturday, August 15, 2026",endsOn:"2026-08-15",location:"Phoenix, Arizona",price:"$175",description:"An intimate evening where 20â30 extraordinary leaders gather for real conversation, curated connection, and unforgettable food at a private venue.",image:M,href:"/experiences/phoenix-dinner"},{title:"Extraordinary Austin Dinner",tag:"Dinner",icon:h,date:"Saturday, June 13, 2026",endsOn:"2026-06-13",location:"Kin Earth Sanctuary · Austin, TX",price:"$175",description:"An intimate evening at Kin Earth Sanctuary, hosted by Adrian Grenier, with 20â30 extraordinary leaders.",image:_,href:"/experiences/austin-dinner"},{title:"Extraordinary September Retreat",tag:"7-Day Retreat",icon:u,date:"September 19â26, 2026",endsOn:"2026-09-26",location:"Surf Synergy, Costa Rica",price:"Click to Book",de
1scription:"7 days of writing, surfing, yoga, fitness, health, and pura vida with Extraordinary members, Vitality Collective, Happy Life Labs, and friends of Aaron Bare.",image:F,href:"/experiences/extraordinary-september"},{title:"Extraordinary October Retreat",tag:"7-Day Retreat",icon:f,date:"October 31 â November 7, 2026",endsOn:"2026-11-07",location:"Surf Synergy, Costa Rica",price:"Click to Book",description:"7 days of writing, surfing, yoga, fitness, health, and pura vida with Extraordinary members, Vitality Collective, Happy Life Labs, and friends of Aaron Bare.",image:z,href:"/experiences/extraordinary-october"},{title:"Napa Valley Retreat",tag:"3-Day Retreat",icon:u,date:"November 6â8, 2026",endsOn:"2026-11-08",location:"Napa Valley, California",price:"$3,500",description:"Three days of deep conversation, world-class wine, and strategic thinking with a curated group of founders and executives in the heart of wine country.",image:V,href:"/experiences/napa-retreat"},{title:"Extraordinary Annual Summit",tag:"Annual Summit",icon:f,date:"December 11â12, 2026",endsOn:"2026-12-12",location:"Phoenix, Arizona",price:"Members Only",description:"The Founders Annual Summit, two days of strategic planning, keynote sessions, and exclusive networking for founding members of the Extraordinary Collaborative.",image:H,href:"/experiences/annual-summit"}],j=K.filter(s=>{const r=new Date;return r.setHours(0,0,0,0),new Date(`${s.endsOn}T23:59:59`)>=r}),U=B(),Ce=()=>{R();const s=S(),[r,n]=g.useState(null),{data:c}=N({queryKey:["experience-db-events"],queryFn:async()=>{const{data:t}=await w.from("spotlight_events").select("id, title, scheduled_at").in("title",j.map(a=>a.title)).gte("scheduled_at",new Date().toISOString());return t||[]}}),i=t=>c?.find(a=>a.title===t),l=t=>{const a=i(t.title);if(a)s(`/events/${a.id}`);else{const d=t.price.replace(/[^0-9]/g,"");n({id:t.title.toLowerCase().replace(/\s+/g,"-"),type:t.tag.toLowerCase(),title:t.title,location:t.location,date:t.date,recommendedPrice:d?parseInt(d):void 0})}};return g.useEffect(()=>{const t=window.location.hash.replace("#","");t&&setTimeout(()=>{const a=document.getElementById(t);if(a){const k=a.getBoundingClientRect().top+window.scrollY-96;window.scrollTo({top:k,behavior:"smooth"})}},300)},[]),e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(P,{title:"Experiences, Retreats, Dinners & Shows",description:"Join Extraordinary for immersive retreats at Surf Synergy in Costa Rica, intimate networking dinners, and monthly variety shows in Arizona.",path:"/experiences"}),e.jsx(A,{}),e.jsx(y,{page:"experiences",section:"hero",type:"richtext",label:"Hero",children:e.jsxs("section",{className:"relative min-h-[60vh] flex items-center overflow-hidden",children:[e.jsxs("div",{className:"absolute inset-0",children:[e.jsx("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,className:"w-full h-full object-cover grayscale opacity-30 scale-110",src:"/videos/hero-background.mov","aria-hidden":"true"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-charcoal/90 via-charcoal/75 to-charcoal/50"})]}),e.jsx("div",{className:"container mx-auto px-6 relative z-10 pt-20 pb-16",children:e.jsxs("div",{className:"max-w-3xl",children:[e.jsx(O,{items:[{label:"Experiences"}],variant:"dark"}),e.jsx("span",{className:"text-terracotta font-medium tracking-wider uppercase text-sm mb-4 block",children:"2026 Experiences"}),e.jsx("h1",{className:"font-serif text-5xl md:text-7xl text-cream mb-6 leading-tight",children:"Retreats, Dinners & Shows"}),e.jsx("p",{className:"text-xl text-cream/80 max-w-xl",children:"Some connections can only happen in person. These are the rooms where they happen."}),e.jsx("div",{className:"mt-6",children:e.jsxs(m,{to:"/recaps",className:"inline-flex items-center gap-2 border-2 border-cream/70 px-4 py-2 text-cream hover:bg-cream hover:text-foreground transition",children:["See past event recaps ",e.jsx(o,{className:"h-4 w-4"})]})})]})})]})}),e.jsx(y,{page:"experiences",section:"experience_cards",type:"richtext",label:"Experience Cards",children:e.jsx("section",{className:"py-24 bg-muted/30",children:e.jsx("div",{className:"container mx-auto px-6",children:e.jsx("div",{className:"grid md:grid-cols-2 gap-8 max-w-5xl mx-auto",children:j.map((t,a)=>{const d=i(t.title);return e.jsx("div",{className:"group block animate-fade-up",style:{animationDelay:`${a*.1}s`},children:e.jsxs("div",{className:"rounded-2xl overflow-hidden bg-card border border-border hover:border-terracotta/40 transition-all duration-300 hover:shadow-elevated h-full flex flex-col",children:[e.jsxs("div",{className:"relative aspect-[16/10] overflow-hidden cursor-pointer",onClick:()=>l(t),children:[e.jsx("img",{src:t.image,alt:t.title,className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"}),e.jsx("div",{className:"absolute top-4 left-4",children:e.jsx("span",{className:"bg-terracotta text-cream px-3 py-1 rounded-full text-xs font-semibold tracking-wide",children:t.tag})})]}),e.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[e.jsx("h3",{className:"font-serif text-2xl text-foreground mb-2 group-hover:text-terracotta transition-colors",children:t.title}),e.jsxs("div",{className:"space-y-1.5 text-sm text-muted-foreground mb-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(x,{className:"w-4 h-4 text-terracotta flex-shrink-0"}),e.jsx("span",{children:t.date})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(p,{className:"w-4 h-4 text-terracotta flex-shrink-0"}),e.jsx("span",{children:t.location})]})]}),e.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed mb-6 flex-1",children:t.description}),e.jsxs("div",{className:"flex items-center justify-between pt-4 border-t border-border",children:[e.jsx("span",{className:"font-serif text-xl text-foreground",children:t.price}),e.jsxs(b,{variant:"warm",size:"sm",onClick:()=>l(t),children:[d?"View & RSVP":"RSVP"," ",e.jsx(o,{className:"w-4 h-4 ml-1"})]})]})]})]})},t.title)})})})})}),e.jsx("section",{id:"recurring",className:"py-24 bg-background",children:e.jsxs("div",{className:"container mx-auto px-6 max-w-5xl",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("p",{className:"text-terracotta font-semibold tracking-[0.25em] uppercase text-xs mb-3",children:"Every Month, On Repeat"}),e.jsx("h2",{className:"font-serif text-3xl md:text-4xl text-foreground mb-3",children:"The Rooms That Keep Happening"}),e.jsx("p",{className:"text-muted-foreground max-w-xl mx-auto",children:"Show up once and you know everyone. Show up monthly and the city knows you."})]}),e.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:U.map(t=>e.jsxs("div",{className:"rounded-2xl border border-border bg-card p-6 flex flex-col hover:border-terracotta/40 transition-colors",children:[e.jsxs("div",{className:"flex items-center justify-between gap-3 mb-3",children:[e.jsx("span",{className:"bg-terracotta text-cream px-3 py-1 rounded-full text-xs font-semibold tracking-wide",children:t.tag}),e.jsx("span",{className:"text-sm text-muted-foreground",children:t.price})]}),e.jsx("h3",{className:"font-serif text-2xl text-foreground mb-2",children:t.title}),e.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:t.description}),e.jsxs("div",{className:"space-y-1.5 text-sm text-muted-foreground mb-4",children:[e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(x,{className:"w-4 h-4 text-terracotta flex-shrink-0 mt-0.5"}),e.jsxs("span",{children:[t.cadence," · ",t.time]})]}),e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(p,{className:"w-4 h-4 text-terracotta flex-shrink-0 mt-0.5"}),e.jsx("span",{children:t.location})]})]}),t.dates.length>0&&e.jsxs("div",{className:"mb-4",children:[e.jsx("p",{className:"text-xs uppercase tracking-[0.18em] text-muted-foreground mb-2",children:"Next dates"}),e.jsxs("div",{className:"flex flex-wrap gap-2",children:[e.jsx("span",{className:"border border-terracotta/50 text-terracotta rounded-full px-3 py-1 text-xs font-semibold",children:v(t.dates[0])}),t.dates.slice(1).map(a=>e.jsx("span",{className:"border border-border rounded-full px-3 py-1 text-xs text-muted-foreground",children:L(a)},a.toISOString()))]})]}),t.memberNote&&e.jsx("p",{className:"text-xs text-terracotta mb
1-4",children:t.memberNote}),e.jsxs("div",{className:"mt-auto flex flex-wrap items-center gap-3 pt-4 border-t border-border",children:[e.jsxs(b,{variant:"warm",size:"sm",onClick:()=>n({id:t.slug,type:t.tag.toLowerCase(),title:t.title,location:t.location,date:t.dates[0]?v(t.dates[0]):t.cadence}),children:["RSVP ",e.jsx(o,{className:"w-4 h-4 ml-1"})]}),t.externalUrl&&e.jsx("a",{href:t.externalUrl,target:"_blank",rel:"noopener noreferrer",className:"text-sm text-muted-foreground underline hover:text-terracotta transition-colors",children:"arizonaafterdark.com"})]})]},t.slug))})]})}),e.jsx(I,{tone:"dark"}),e.jsx(D,{}),e.jsx($,{}),e.jsx(T,{event:r,isOpen:!!r,onClose:()=>n(null)})]})};export{Ce 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.