1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-Dnnzb1aI.js","assets/index-DmTaR7CW.css"])))=>i.map(i=>d[i]); 2var Ve=Object.defineProperty;var Ye=(d,x,r)=>x in d?Ve(d,x,{enumerable:!0,configurable:!0,writable:!0,value:r}):d[x]=r;var ne=(d,x,r)=>Ye(d,typeof x!="symbol"?x+"":x,r);import{j as e,H as oe,s as W,r as l,D as ve,e as fe,f as Ee,g as _e,h as De,i as S,I as f,B as M,k as Le,J as E,_ as Ge,X as Je,z as he,K as xe,o as we,t as Ke,C as Me,m as Ze,L as ee,O as Te,a as Xe,b as Qe,P as et}from"./index-Dnnzb1aI.js";import{e as X}from"./eventsData-DSugmsmm.js";import{u as ye}from"./useEvents-CFmWQPvk.js";import{u as tt}from"./useMember--Xs2Ok_V.js";import{P as st}from"./PageHeader-D9qtLfti.js";import{T as q}from"./textarea-Cr3a_F6T.js";import{S as Ie,a as Pe,b as Oe,c as Ae,d as H}from"./select-CRx3hmVF.js";import{G as Fe}from"./globe-CFHc4hzP.js";import{C as qe}from"./calendar-days-CrNu3VMM.js";import{U as at}from"./users-DP-6EQSn.js";import{S as nt}from"./square-pen-Ca6qAo__.js";import{S as ke}from"./sparkles-ClNBeMyi.js";import{S as rt}from"./send-BL4l5Jbc.js";import{t as re}from"./useOutboundLinkTracking-cyNVRamz.js";import{E as pe}from"./external-link-DWaINlIh.js";import{p as ce,f as it}from"./parseEventDate-BAA7CPl7.js";import{B as Q}from"./badge-DcHBAqpr.js";import{A as ot,a as lt,b as dt,c as ct}from"./accordion-B0Oy1uIA.js";import{s as J,f as I}from"./format-D0wwTegc.js";import{s as ge,i as me,a as be,b as G}from"./isSameMonth-BCSUKN6T.js";import{C as We}from"./calendar-BR2ywlm6.js";import{S as K}from"./star-CSTI4rLW.js";import{C as $e}from"./clock-CmOb5rOG.js";import{M as ze}from"./map-pin-DjzxoQv6.js";import{generateEventSlug as B}from"./EventDetail-CxKN8MS4.js";import{e as mt}from"./endOfMonth-CoG5-XNs.js";import{e as ut}from"./eachDayOfInterval-DFS6BALO.js";import{t as ie}from"./constructFrom-rJN6zrQ_.js";import{m as Y}from"./proxy-CAoQVjO7.js";import{C as ht}from"./chevron-left-B6Q-vDbb.js";import{T as xt}from"./triangle-alert-gXLL9tR0.js";import{R as Ce}from"./refresh-cw-DIYH1GZY.js";import{H as pt}from"./house-BBtThz4K.js";import{C as He}from"./checkbox-Q1Y4ui2l.js";import{P as gt}from"./play-CWZWMRzS.js";import"./index-BdQq_4o_.js";import"./index-xDoB-QEF.js";import"./chevron-up-CzjTAqjM.js";import"./en-US-eq4KcnlW.js";import"./useEventAttendance-DWvMq6le.js";import"./index-DQ7hVu4i.js";const bt=({pageType:d,title:x,description:r,keywords:N,url:t,structuredData:p})=>{const C=(()=>{switch(d){case"digest":return{summary:"ALTALLO Weekly Digest: Curated capital markets insights, emerging manager spotlights, and industry analysis for fund managers and service providers.",keyPoints:["Weekly market insights and analysis","Emerging manager profiles and strategies","Service provider spotlights and evaluations","Capital markets trends and opportunities"]};case"perspectives":return{summary:"ALTALLO Perspectives: Deep-dive analysis and thought leadership on capital markets trends, regulatory changes, and investment strategies.",keyPoints:["Expert market analysis and commentary","Regulatory updates and implications","Investment strategy insights","Industry trend analysis"]};case"emvp":return{summary:"ALTALLO Emerging Manager Value Proposition: Resources, insights, and networking opportunities specifically designed for emerging fund managers.",keyPoints:["Emerging manager resources and tools","Capital raising strategies and guidance","Operational best practices","Networking and partnership opportunities"]};case"events":return{summary:"ALTALLO Events Hub: Discover capital markets events, secure event partnerships, and access event planning support for fund managers and service providers.",keyPoints:["Capital markets event discovery and listings","Media partnerships and promotional support","Event planning assistance powered by EventRock","Sponsorship opportunities for service providers","Networking events for investment firm professionals"]};default:return{summary:"ALTALLO: A curated professional community for institutional investment. Connecting hedge funds, private equity, venture capital firms and the service providers who support them through visibility, trust, and genuine engagement.",keyPoints:["Professional community for institutional investment","Curated service provider visibility","Industry insight, events, and peer network","Founded by Mel Sutton"]}}})();return e.jsxs(oe,{children:[e.jsx("meta",{name:"robots",content:"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1"}),e.jsx("meta",{name:"googlebot",content:"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1"}),e.jsx("meta",{name:"bingbot",content:"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1"}),e.jsx("meta",{name:"GPTBot",content:"index, follow"}),e.jsx("meta",{name:"ChatGPT-User",content:"index, follow"}),e.jsx("meta",{name:"Claude-Web",content:"index, follow"}),e.jsx("meta",{name:"PerplexityBot",content:"index, follow"}),e.jsx("meta",{name:"anthropic-ai",content:"index, follow"}),e.jsx("meta",{name:"cohere-ai",content:"index, follow"}),e.jsx("meta",{name:"article:section",content:"Finance"}),e.jsx("meta",{name:"article:tag",content:"Capital Markets, Fund Management, Financial Services, Investment"}),e.jsx("meta",{name:"news_keywords",content:N}),e.jsx("meta",{name:"category",content:"Professional Services, Financial Technology, Capital Markets"}),e.jsx("meta",{name:"audience",content:"Fund Managers, General Partners, Service Providers, Financial Professionals"}),e.jsx("meta",{name:"summary",content:C.summary}),e.jsx("meta",{name:"key-points",content:C.keyPoints.join("; ")}),e.jsx("meta",{name:"content-type",content:"Business Directory, Professional Network, Market Intelligence"}),e.jsx("meta",{name:"use-case",content:"Vendor Discovery, Professional Networking, Market Research, Fund Operations"}),e.jsx("meta",{property:"article:publisher",content:"ALTALLO"}),e.jsx("meta",{property:"article:author",content:"ALTALLO"}),e.jsx("meta",{name:"classification",content:"Financial Services, B2B Platform, Professional Network"}),p&&e.jsx("script",{type:"application/ld+json",children:JSON.stringify(p)})]})},je=async d=>{try{const{error:x}=await W.from("event_page_interactions").insert({interaction_type:d.interactionType,button_label:d.buttonLabel,event_title:d.eventTitle,event_host:d.eventHost,user_email:d.userEmail,user_name:d.userName,company_name:d.companyName,message:d.message,user_agent:navigator.userAgent});x&&console.error("Error tracking interaction:",x)}catch(x){console.error("Failed to track interaction:",x)}},vt=({isOpen:d,onClose:x})=>{const[r,N]=l.useState(!1),[t,p]=l.useState({organisationName:"",contactName:"",contactEmail:"",contactPhone:"",eventName:"",eventDate:"",eventLocation:"",partnershipType:"",eventDescription:"",audienceSize:"",additionalInfo:"",websiteUrl:""}),c=(s,y)=>{p(j=>({...j,[s]:y}))},C=async s=>{s.preventDefault(),N(!0);try{if(!t.organisationName||!t.contactName||!t.contactEmail||!t.partnershipType){E.error("Please fill in all required fields");return}const{data:{user:y}}=await W.auth.getUser(),j={organisation_name:t.organisationName,contact_name:t.contactName,contact_email:t.contactEmail,contact_phone:t.contactPhone||null,event_name:t.eventName||null,event_date:t.eventDate?new Date(t.eventDate).toISOString().split("T")[0]:null,event_location:t.eventLocation||null,partnership_type:t.partnershipType,event_description:t.eventDescription||null,audie
2nce_size:t.audienceSize?parseInt(t.audienceSize):null,additional_info:t.additionalInfo||null,website_url:t.websiteUrl||null,user_id:(y==null?void 0:y.id)||null,user_agent:navigator.userAgent,request_data:{submitted_from:"calendar_page",timestamp:new Date().toISOString()}},{error:L}=await W.from("media_partnership_requests").insert([j]);if(L){console.error("Submission error:",L),L.message.includes("Too many submissions")?E.error("Too many submissions. Please wait before trying again."):E.error("Something went wrong. Please try again.");return}await je({interactionType:"media_partnership",buttonLabel:"Media Partnership Application",userEmail:t.contactEmail,userName:t.contactName,companyName:t.organisationName,eventTitle:t.eventName||void 0,message:t.eventDescription||void 0}),E.success("Thank you! Your media partnership request has been submitted. We'll be in touch soon."),p({organisationName:"",contactName:"",contactEmail:"",contactPhone:"",eventName:"",eventDate:"",eventLocation:"",partnershipType:"",eventDescription:"",audienceSize:"",additionalInfo:"",websiteUrl:""}),x()}catch(y){console.error("Error submitting form:",y),E.error("Something went wrong. Please try again.")}finally{N(!1)}};return e.jsx(ve,{open:d,onOpenChange:x,children:e.jsxs(fe,{className:"max-w-2xl max-h-[90vh] overflow-y-auto",children:[e.jsxs(Ee,{children:[e.jsxs(_e,{className:"flex items-center gap-2",children:[e.jsx(Fe,{className:"h-5 w-5 text-green-600"}),"Media Partnership Application"]}),e.jsx(De,{children:"Partner with ALTALLO to reach our professional community and enhance your event's visibility."})]}),e.jsxs("form",{onSubmit:C,className:"space-y-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsx("h3",{className:"text-lg font-semibold text-slate-900 border-b pb-2",children:"Contact Information"}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(S,{htmlFor:"organisationName",className:"text-foreground font-medium",children:"Organisation Name *"}),e.jsx(f,{id:"organisationName",value:t.organisationName,onChange:s=>c("organisationName",s.target.value),placeholder:"Your organisation name",required:!0})]}),e.jsxs("div",{children:[e.jsx(S,{htmlFor:"contactName",className:"text-foreground font-medium",children:"Contact Name *"}),e.jsx(f,{id:"contactName",value:t.contactName,onChange:s=>c("contactName",s.target.value),placeholder:"Your full name",required:!0})]})]}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(S,{htmlFor:"contactEmail",className:"text-foreground font-medium",children:"Contact Email *"}),e.jsx(f,{id:"contactEmail",type:"email",value:t.contactEmail,onChange:s=>c("contactEmail",s.target.value),placeholder:"[email protected]",required:!0})]}),e.jsxs("div",{children:[e.jsx(S,{htmlFor:"contactPhone",className:"text-foreground font-medium",children:"Contact Phone"}),e.jsx(f,{id:"contactPhone",value:t.contactPhone,onChange:s=>c("contactPhone",s.target.value),placeholder:"+44 20 1234 5678"})]})]}),e.jsxs("div",{children:[e.jsx(S,{htmlFor:"websiteUrl",className:"text-foreground font-medium",children:"Website URL"}),e.jsx(f,{id:"websiteUrl",value:t.websiteUrl,onChange:s=>c("websiteUrl",s.target.value),placeholder:"https://yourorganisation.com"})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("h3",{className:"text-lg font-semibold text-slate-900 border-b pb-2 flex items-center gap-2",children:[e.jsx(qe,{className:"h-4 w-4"}),"Partnership Details"]}),e.jsxs("div",{children:[e.jsx(S,{htmlFor:"partnershipType",className:"text-foreground font-medium",children:"Partnership Type *"}),e.jsxs(Ie,{value:t.partnershipType,onValueChange:s=>c("partnershipType",s),children:[e.jsx(Pe,{children:e.jsx(Oe,{placeholder:"Select partnership type"})}),e.jsxs(Ae,{children:[e.jsx(H,{value:"media_partner",children:"Media Partner"}),e.jsx(H,{value:"sponsor",children:"Event Sponsor"}),e.jsx(H,{value:"content_partner",children:"Content Partner"}),e.jsx(H,{value:"community_partner",children:"Community Partner"}),e.jsx(H,{value:"other",children:"Other"})]})]})]}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(S,{htmlFor:"eventName",className:"text-foreground font-medium",children:"Event Name"}),e.jsx(f,{id:"eventName",value:t.eventName,onChange:s=>c("eventName",s.target.value),placeholder:"Name of your event"})]}),e.jsxs("div",{children:[e.jsx(S,{htmlFor:"eventDate",className:"text-foreground font-medium",children:"Event Date"}),e.jsx(f,{id:"eventDate",type:"date",value:t.eventDate,onChange:s=>c("eventDate",s.target.value)})]})]}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(S,{htmlFor:"eventLocation",className:"text-foreground font-medium",children:"Event Location"}),e.jsx(f,{id:"eventLocation",value:t.eventLocation,onChange:s=>c("eventLocation",s.target.value),placeholder:"City, Country or Virtual"})]}),e.jsxs("div",{children:[e.jsxs(S,{htmlFor:"audienceSize",className:"text-foreground font-medium flex items-center gap-1",children:[e.jsx(at,{className:"h-3 w-3"}),"Expected Audience Size"]}
2),e.jsx(f,{id:"audienceSize",type:"number",value:t.audienceSize,onChange:s=>c("audienceSize",s.target.value),placeholder:"Number of attendees"})]})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsx("h3",{className:"text-lg font-semibold text-slate-900 border-b pb-2",children:"Additional Information"}),e.jsxs("div",{children:[e.jsx(S,{htmlFor:"eventDescription",className:"text-foreground font-medium",children:"Event Description"}),e.jsx(q,{id:"eventDescription",value:t.eventDescription,onChange:s=>c("eventDescription",s.target.value),placeholder:"Brief description of your event, target audience, and key topics",rows:3})]}),e.jsxs("div",{children:[e.jsx(S,{htmlFor:"additionalInfo",className:"text-foreground font-medium",children:"Partnership Objectives & Additional Information"}),e.jsx(q,{id:"additionalInfo",value:t.additionalInfo,onChange:s=>c("additionalInfo",s.target.value),placeholder:"What are you hoping to achieve through this partnership? Any specific requirements or suggestions?",rows:3})]})]}),e.jsxs("div",{className:"flex justify-end gap-3 pt-4 border-t",children:[e.jsx(M,{type:"button",variant:"outline",onClick:x,children:"Cancel"}),e.jsx(M,{type:"submit",disabled:r,children:r?e.jsxs(e.Fragment,{children:[e.jsx(Le,{className:"h-4 w-4 mr-2 animate-spin"}),"Submitting..."]}):"Submit Application"})]})]})]})})},ft=({isOpen:d,onClose:x})=>{const[r,N]=l.useState(!1),[t,p]=l.useState({eventName:"",organiserName:"",organiserEmail:"",organiserPhone:"",organisationName:"",eventDate:"",eventLocation:"",eventWebsite:"",requestType:"",currentEventInfo:"",requestedChanges:"",additionalDetails:""}),c=(s,y)=>{p(j=>({...j,[s]:y}))},C=async s=>{s.preventDefault(),N(!0);try{if(!t.eventName||!t.organiserName||!t.organiserEmail||!t.organisationName||!t.requestType){E.error("Please fill in all required fields");return}const{data:{user:y}}=await W.auth.getUser(),j={event_name:t.eventName,organiser_name:t.organiserName,organiser_email:t.organiserEmail,organiser_phone:t.organiserPhone||null,organisation_name:t.organisationName,event_date:t.eventDate?new Date(t.eventDate).toISOString().split("T")[0]:null,event_location:t.eventLocation||null,event_website:t.eventWebsite||null,request_type:t.requestType,current_event_info:t.currentEventInfo||null,requested_changes:t.requestedChanges||null,additional_details:t.additionalDetails||null,user_id:(y==null?void 0:y.id)||null,user_agent:navigator.userAgent,request_data:{submitted_from:"calendar_page",timestamp:new Date().toISOString()}},{error:L}=await W.from("event_claim_requests").insert([j]);if(L){console.error("Submission error:",L),L.message.includes("Too many submissions")?E.error("Too many submissions. Please wait before trying again."):E.error("Something went wrong. Please try again.");return}Ge(async()=>{const{notifyAdminSubmission:o}=await import("./index-Dnnzb1aI.js").then(b=>b.bZ);return{notifyAdminSubmission:o}},__vite__mapDeps([0,1])).then(({notifyAdminSubmission:o})=>o("event_claim_request",j)),E.success("Thank you! Your event request has been submitted. We'll review and get back to you soon."),p({eventName:"",organiserName:"",organiserEmail:"",organiserPhone:"",organisationName:"",eventDate:"",eventLocation:"",eventWebsite:"",requestType:"",currentEventInfo:"",requestedChanges:"",additionalDetails:""}),x()}catch(y){console.error("Error submitting form:",y),E.error("Something went wrong. Please try again.")}finally{N(!1)}};return e.jsx(ve,{open:d,onOpenChange:x,children:e.jsxs(fe,{className:"max-w-2xl max-h-[90vh] overflow-y-auto",children:[e.jsxs(Ee,{children:[e.jsxs(_e,{className:"flex items-center gap-2",children:[e.jsx(nt,{className:"h-5 w-5 text-blue-600"}),"Claim or Update Event Information"]}),e.jsx(De,{children:"Help us improve our event listings by claiming your event or providing updates to existing information."})]}),e.jsxs("form",{onSubmit:C,className:"space-y-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsx("h3",{className:"text-lg font-semibold text-slate-900 border-b pb-2",children:"Contact Information"}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(S,{htmlFor:"organiserName",className:"text-foreground font-medium",children:"Organiser Name *"}),e.jsx(f,{id:"organiserName",value:t.organiserName,onChange:s=>c("organiserName",s.target.value),placeholder:"Your full name",required:!0})]}),e.jsxs("div",{children:[e.jsx(S,{htmlFor:"organiserEmail",className:"text-foreground font-medium",children:"Organiser Email *"}),e.jsx(f,{id:"organiserEmail",type:"email",value:t.organiserEmail,onChange:s=>c("organiserEmail",s.target.value),placeholder:"[email protected]",required:!0})]})]}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(S,{htmlFor:"organiserPhone",className:"text-foreground font-medium",children:"Contact Phone"}),e.jsx(f,{id:"organiserPhone",value:t.organiserPhone,onChange:s=>c("organiserPhone",s.target.value),placeholder:"+44 20 1234 5678"})]}),e.jsxs("div",{children:[e.jsx(S,{htmlFor:"organisationName",className:"text-foreground font-medium",children:"Organisation Name *"}),e.jsx(f,{id:"organisationName",value:t.organisationName,onChange:s=>c("organisationName",s.target.value),placeholder:"Your organisation name",required:!0})]})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("h3",{className:"text-lg font-semibold text-slate-900 border-b pb-2 flex items-center gap-2",children:[e.jsx(qe,{className:"h-4 w-4"}),"Event Information"]}),e.jsxs("div",{children:[e.jsx(S,{htmlFor:"requestType",className:"text-foreground font-medium",children:"Request Type *"}),e.jsxs(Ie,{value:t.requestType,onValueChange:s=>c("requestType",s),children:[e.jsx(Pe,{children:e.jsx(Oe,{placeholder:"What would you like to do?"})}),e.jsxs(Ae,{children:[e.jsx(H,{value:"claim",children:"Claim Event (I am the organiser)"}),e.jsx(H,{value:"update",children:"Update Event Information"}),e.jsx(H,{value:"correction",children:"Submit Correction"}),e.jsx(H,{value:"add",children:"Add New Event"})]})]})]}),e.jsxs("div",{children:[e.jsx(S,{htmlFor:"eventName",className:"text-foreground font-medium",children:"Event Name *"}),e.jsx(f,{id:"eventName",value:t.eventName,onChange:s=>c("eventName",s.target.value),placeholder:"Full name of the event",required:!0})]}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(S,{htmlFor:"eventDate",className:"text-foreground font-medium",children:"Event Date"}),e.jsx(f,{id:"eventDate",type:"date",value:t.eventDate,onChange:s=>c("eventDate",s.target.value)})]}),e.jsxs("div",{children:[e.jsx(S,{htmlFor:"eventLocation",className:"text-foreground font-medium",children:"Event Location"}),e.jsx(f,{id:"eventLocation",value:t.eventLocation,onChange:s=>c("eventLocation",s.target.value),placeholder:"City, Country or Virtual"})]})]}),e.jsxs("div",{children:[e.jsx(S,{htmlFor:"eventWebsite",className:"text-foreground font-medium",children:"Event Website"}),e.jsx(f,{id:"eventWebsite",value:t.eventWebsite,onChange:s=>c("eventWebsite",s.target.value),placeholder:"https://yourevent.com"})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsx("h3",{className:"text-lg font-semibold text-slate-900 border-b pb-2",children:"Request Details"}),e.jsxs("div",{children:[e.jsx(S,{htmlFor:"currentEventInfo",className:"text-foreground font-medium",children:"Current Event Information (if updating/correcting)"}),e.jsx(q,{id:"currentEventInfo",value:t.currentEventInfo,onChange:s=>c("currentEventInfo",s.target.value),placeholder:"Describe what information is currently listed that needs updating",rows:3})]}),e.jsxs("div",{children:[e.jsx(S,{htmlFor:"requestedChanges",className:"text-foreground font-medium",children:"Requested Changes or Corrections"}),e.jsx(q,{id:"requestedChanges",value:t.requestedChanges,onChange:s=>c("requestedChanges",s.target.value),placeholder:"Describe the specific changes you would like made",rows:3})]}),e.jsxs("div",{children:[e.jsx(S,{htmlFor:"additionalDetails",className:"text-foreground font-medium",children:"Additional Details"}),e.jsx(q,{id:"additionalDetails",value:t.additionalDetails,onChange:s=>c("additionalDetails",s.target.value),placeholder:"Any other information that would help us process your request",rows:3})]})]}),e.jsxs("div",{className:"flex justify-end gap-3 pt-4 border-t",children:[e.jsx(M,{t
2ype:"button",variant:"outline",onClick:x,children:"Cancel"}),e.jsx(M,{type:"submit",disabled:r,children:r?e.jsxs(e.Fragment,{children:[e.jsx(Le,{className:"h-4 w-4 mr-2 animate-spin"}),"Submitting..."]}):"Submit Request"})]})]})]})})},yt=({isOpen:d,onClose:x,inquiryType:r,title:N,subtitle:t})=>{const[p,c]=l.useState(""),[C,s]=l.useState(""),[y,j]=l.useState(!1),[L,o]=l.useState(!1),b=()=>{c(""),s(""),o(!1)},m=()=>{b(),x()},_=async D=>{if(D.preventDefault(),!p||!C){E.error("Please fill in all fields");return}if(C.length<10){E.error("Please provide more details (minimum 10 characters)");return}j(!0);try{const{data:{user:v}}=await W.auth.getUser(),{error:T}=await W.from("event_inquiries").insert([{email:p.toLowerCase().trim(),inquiry_message:C.trim(),inquiry_type:r,user_id:(v==null?void 0:v.id)||null,user_agent:navigator.userAgent}]);if(T){console.error("Submission error:",T),E.error(T.message||"There was an error submitting your inquiry. Please try again.");return}await je({interactionType:{event_planning:"event_planning",sponsor_acquisition:"sponsor_support",media_partnership:"media_partnership",vendor_opportunities:"general_inquiry"}[r],buttonLabel:N,userEmail:p,message:C}),o(!0),E.success("Thank you! We'll be in touch soon."),setTimeout(()=>{m()},2e3)}catch(v){console.error("Unexpected error:",v),E.error("An unexpected error occurred. Please try again.")}finally{j(!1)}};return e.jsx(ve,{open:d,onOpenChange:m,children:e.jsxs(fe,{className:"max-w-lg p-0 overflow-hidden border-0 bg-gradient-to-br from-background via-background to-primary/5",children:[e.jsx("button",{onClick:m,className:"absolute right-4 top-4 roun
2ded-full p-2 hover:bg-muted/80 transition-colors z-10","aria-label":"Close",children:e.jsx(Je,{className:"h-4 w-4"})}),L?e.jsxs("div",{className:"p-12 text-center space-y-4",children:[e.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 rounded-full bg-primary/10 mb-4",children:e.jsx(ke,{className:"h-8 w-8 text-primary"})}),e.jsx("h3",{className:"text-2xl font-bold",children:"Thank you!"}),e.jsx("p",{className:"text-muted-foreground",children:"We've received your inquiry and will be in touch soon."})]}):e.jsxs("div",{className:"p-8 space-y-6",children:[e.jsxs("div",{className:"space-y-2 text-center",children:[e.jsx("div",{className:"inline-flex items-center justify-center w-12 h-12 rounded-full bg-primary/10 mb-4",children:e.jsx(ke,{className:"h-6 w-6 text-primary"})}),e.jsx("h2",{className:"text-3xl font-bold tracking-tight",children:N}),e.jsx("p",{className:"text-muted-foreground text-lg",children:t})]}),e.jsxs("form",{onSubmit:_,className:"space-y-5",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx("label",{htmlFor:"email",className:"text-sm font-medium text-foreground",children:"Your email address"}),e.jsx(f,{id:"email",type:"email",value:p,onChange:D=>c(D.target.value),placeholder:"[email protected]",className:"h-12 text-base border-2 focus:border-primary transition-all",required:!0,disabled:y})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("label",{htmlFor:"message",className:"text-sm font-medium text-foreground",children:"What would you like to know?"}),e.jsx(q,{id:"message",value:C,onChange:D=>s(D.target.value),placeholder:"Tell us about your event, goals, timeline, or any specific questions you have...",className:"min-h-[140px] text-base border-2 focus:border-primary transition-all resize-none",required:!0,disabled:y}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:[C.length,"/2000 characters (minimum 10)"]})]}),e.jsx(M,{type:"submit",disabled:y,className:"w-full h-12 text-base font-medium group",size:"lg",children:y?"Sending...":e.jsxs(e.Fragment,{children:["Send Inquiry",e.jsx(rt,{className:"ml-2 h-4 w-4 group-hover:translate-x-1 transition-transform"})]})}),e.jsx("p",{className:"text-xs text-center text-muted-foreground",children:"We typically respond within 24 hours"})]})]})]})})},jt=[{title:"Event planning",description:"Full event management: venue, logistics, registration, and on-site support.",trackType:"event_planning",trackLabel:"Request Event Planning"},{title:"Sponsor acquisition",description:"Connect with service providers actively seeking sponsorship opportunities.",trackType:"sponsor_support",trackLabel:"Get Sponsor Support"},{title:"Media & marketing",description:"Amplify your event to our network of investment professionals.",trackType:"media_partnership",trackLabel:"Become a Media Partner"}],Nt=({onEventPlanningClick:d,onSponsorAcquisitionClick:x,onMediaPartnershipClick:r})=>{const N=[d,x,r];return e.jsx("section",{className:"py-16 border-t border-border/50",children:e.jsxs("div",{className:"max-w-4xl mx-auto",children:[e.jsxs("div",{className:"text-center mb-8",children:[e.jsx("h2",{className:"text-2xl font-semibold text-foreground mb-2",children:"Planning an event?"}),e.jsx("p",{className:"text-muted-foreground text-sm mb-4",children:"We help organisers with planning, sponsorship, and promotion across capital markets."}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:["Event services delivered in partnership with"," ",e.jsxs("a",{href:"https://www.eventrock.co.uk",target:"_blank",rel:"noopener noreferrer",onClick:()=>re("https://www.eventrock.co.uk","EventRock"),className:"font-semibold text-foreground hover:text-primary transition-colors inline-flex items-center gap-1",children:["EventRock",e.jsx(pe,{className:"w-3 h-3"})]})]})]}),e.jsx("div",{className:"grid md:grid-cols-3 gap-4",children:jt.map((t,p)=>e.jsxs("button",{onClick:()=>{je({interactionType:t.trackType,buttonLabel:t.trackLabel}),N[p]()},className:"text-left rounded-lg border border-border bg-card hover:border-primary/30 p-5 transition-all group",children:[e.jsx("h3",{className:"text-sm font-semibold text-foreground mb-1.5 group-hover:text-primary transition-colors",children:t.title}),e.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:t.description})]},t.title))})]})})};function wt(d){return ie(d).getDay()}function kt(d,x){const r=+ie(d),[N,t]=[+ie(x.start),+ie(x.end)].sort((p,c)=>p-c);return r>=N&&r<=t}const Ct=({events:d,currentDate:x,onEventClick:r,getLocationCity:N,getLocationBadgeColor:t,getEventTypeColor:p})=>{const c=J(new Date),C=ge(c),s=[...d].filter(b=>b.date!=null).filter(b=>{const m=ge(b.date);return me(m,C)||be(b.date,c)}).filter(b=>
2b.endDate?me(b.endDate,c):me(b.date,c)||be(b.date,c)).sort((b,m)=>b.date.getTime()-m.date.getTime()),y=s.reduce((b,m)=>{const _=I(m.date,"MMMM yyyy");return b[_]||(b[_]=[]),b[_].push(m),b},{}),j=Object.keys(y),L=I(c,"MMMM yyyy"),o=j.includes(L)?L:j[0];return j.length===0?e.jsxs("div",{className:"text-center py-12 text-slate-400",children:[e.jsx(We,{className:"w-12 h-12 mx-auto mb-4 opacity-50"}),e.jsx("p",{className:"text-lg",children:"No upcoming events scheduled."})]}):e.jsxs("div",{className:"pb-8",children:[e.jsx("div",{className:"mb-4 px-1",children:e.jsxs("p",{className:"text-sm text-slate-400",children:[s.length," upcoming event",s.length!==1?"s":""," across ",j.length," month",j.length!==1?"s":""]})}),e.jsx(ot,{type:"multiple",defaultValue:o?[o]:[],className:"space-y-3",children:j.map(b=>{const m=y[b],_=m.length,D=m.filter(v=>v.type==="member").length;return e.jsxs(lt,{value:b,className:"border border-slate-700 rounded-xl bg-slate-800/50 overflow-hidden",children:[e.jsx(dt,{className:"min-h-[56px] px-4 py-4 hover:no-underline hover:bg-slate-800 active:bg-slate-700 transition-colors touch-manipulation",children:e.jsxs("div",{className:"flex items-center justify-between w-full pr-2",children:[e.jsxs("div",{className:"flex flex-col items-start",children:[e.jsx("span",{className:"text-lg font-bold text-white",children:b}),e.jsxs("span",{className:"text-xs text-slate-400 mt-0.5",children:[_," event",_!==1?"s":"",D>0&&` ⢠${D} member`]})]}),e.jsx(Q,{variant:"secondary",className:"bg-slate-700 text-slate-300 text-sm px-3 py-1",children:_})]})}),e.jsx(ct,{className:"px-3 pb-4",children:e.jsx("div",{className:"space-y-4 pt-2",children:m.map(v=>{const T=N(v.location),F=T==="Virtual"?Fe:ze;return e.jsx(he,{className:"cursor-pointer bg-slate-800 border-slate-700 hover:border-slate-500 active:bg-slate-700/80 transition-all touch-manipulation",onClick:()=>r(v),children:e.jsxs(xe,{className:"p-4",children:[e.jsxs("div",{className:"flex items-start justify-between mb-3 gap-2",children:[e.jsx("div",{className:"flex items-center gap-1.5 flex-wrap",children:e.jsxs(Q,{className:we("text-xs py-1 px-2",p(v.type)),children:[v.type==="member"&&e.jsxs(e.Fragment,{children:[e.jsx(K,{className:"w-3 h-3 mr-1 fill-current"}),v.logo?"Member Hosted":"Member Co-hosted"]}),v.type==="media-partner"&&"Media Partner",v.type==="industry"&&"Industry",v.type==="conference"&&"Conference"]})}),e.jsxs("div",{className:"flex items-center gap-1.5 flex-shrink-0",children:[v.logo&&e.jsx("img",{src:v.logo,alt:`${v.host} logo`,className:"h-10 w-auto object-contain bg-white p-1.5 rounded-md",loading:"lazy",decoding:"async"}),v.coHostLogo&&e.jsx("img",{src:v.coHostLogo,alt:`${v.coHost} logo`,className:"h-10 w-auto object-contain bg-white p-1.5 rounded-md",loading:"lazy",decoding:"async"})]})]}),e.jsx("h4",{className:"font-bold text-white mb-3 leading-tight text-base",children:v.title}),e.jsxs("div",{className:"flex items-center gap-2 mb-2 text-sm text-slate-400",children:[e.jsx(Ke,{className:"w-4 h-4 flex-shrink-0"}),e.jsxs("span",{className:"font-medium",children:[v.host,v.coHost&&` & ${v.coHost}`]})]}),e.jsxs("div",{className:"flex items-center gap-2 mb-2 text-sm text-slate-300",children:[e.jsx($e,{className:"w-4 h-4 flex-shrink-0 text-slate-400"}),e.jsxs("span",{className:"font-medium",children:[v.endDate?`${I(v.date,"MMM d")} - ${I(v.endDate,"MMM d")}`:I(v.date,"EEE, MMM d"),v.time&&e.jsxs("span",{className:"text-slate-400",children:[" ⢠",v.time]})]})]}),e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(F,{className:"w-4 h-4 flex-shrink-0 text-slate-500"}),e.jsx(Q,{variant:"outline",className:we("text-xs font-medium py-1",t(v.location)),children:T})]}),e.jsxs(M,{size:"lg",className:"w-full min-h-[48px] bg-primary text-primary-foreground hover:bg-primary/90 active:bg-primary/80 touch-manipulation",onClick:g=>{g.stopPropagation(),r(v)},children:["View Details",e.jsx(Me,{className:"w-4 h-4 ml-2"})]})]})},v.id)})})})]},b)})})]})},St=()=>{const[d,x]=l.useState(new Date),[r,N]=l.useState(!1),[t,p]=l.useState("month"),c=Ze(),[C,s]=l.useState(new Set),{data:y=[]}=ye(),j=l.useMemo(()=>{const a=y.filter(i=>i.event_date&&!isNaN(ce(i.event_date).getTime())).map(i=>({id:i.id,title:i.title,host:i.host,date:ce(i.event_date),endDate:i.end_date?ce(i.end_date):void 0,time:it(i.time_from,i.time_to,i.timezone),location:i.location||void 0,description:i.description||void 0,fullDescription:i.full_description||void 0,link:i.link||void 0,type:i.event_type,logo:i.logo_url||void 0,featured:i.is_featured,slug:i.slug||B(i.title,i.host),hostDescription:i.host_description||void 0,topics:i.topics||void 0,speakers:i.speakers||void 0,agenda:i.agenda||void 0,coHost:i.co_host||void 0,coHostLogo:i.co_host_logo_url||void 0})),u=X.map(i=>
2({id:i.id,title:i.title,host:i.host,date:i.date,endDate:i.endDate,time:i.time,location:i.location,description:i.description,link:i.link,type:i.type,logo:i.logo,featured:i.featured,slug:B(i.title,i.host)})),n=new Set(a.map(i=>i.title.toLowerCase())),w=new Set(a.map(i=>String(i.id))),k=u.filter(i=>!w.has(String(i.id))&&!n.has(i.title.toLowerCase()));return[...a,...k]},[y]),L=l.useMemo(()=>j.filter(a=>a.type==="member"&&a.date>=new Date).sort((a,u)=>a.date.getTime()-u.date.getTime()),[j]),o=l.useMemo(()=>r?j.filter(a=>a.type==="member"):j,[r,j]),b=l.useMemo(()=>{const a=[];return o.filter(n=>n.date&&!isNaN(n.date.getTime())).sort((n,w)=>n.date.getTime()-w.date.getTime()).forEach(n=>{const w=I(n.date,"yyyy-MM");let k=a.find(i=>i.key===w);k||(k={key:w,label:I(n.date,"MMMM yyyy"),events:[]},a.push(k)),k.events.push(n)}),a},[o]),m=a=>{const u=document.getElementById(`cal-list-${a}`);u&&u.scrollIntoView({behavior:"smooth",block:"start"})},_=ge(d),D=mt(d),v=ut({start:_,end:D}),T=wt(_),F=Array(T).fill(null),g=()=>x(new Date(d.getFullYear(),d.getMonth()+1)),R=()=>x(new Date(d.getFullYear(),d.getMonth()-1)),$=a=>{try{const u=J(a);return o.filter(n=>{try{const w=J(n.date),k=n.endDate?J(n.endDate):w;return kt(u,{start:w,end:k})||G(u,w)||G(u,k)}catch{return!1}}).map(n=>{const w=J(n.date),k=n.endDate?J(n.endDate):w;let i="single";return n.endDate&&(G(u,w)&&G(u,k)?i="single":G(u,w)?i="start":G(u,k)?i="end":i="middle"),{event:n,position:i}})}catch(u){return console.error("Error in getEventsForDay:",u),[]}},U=a=>a?a.toLowerCase().includes("virtual")||a.toLowerCase().includes("online")||a.toLowerCase().includes("webinar")?"Virtual":a.split(",")[0].trim():"TBC",V=a=>{const u=U(a);return u==="Virtual"?"bg-emerald-500/20 text-emerald-400 border-emerald-500/30":u.toLowerCase().includes("london")?"bg-blue-500/20 text-blue-400 border-blue-500/30":u.toLowerCase().includes("new york")||u.toLowerCase().includes("nyc")?"bg-purple-500/20 text-purple-400 border-purple-500/30":"bg-slate-500/20 text-slate-400 border-slate-500/30"},Z=a=>{switch(a){case"member":return"bg-primary/20 text-primary border-primary/30";case"media-partner":return"bg-primary/10 text-primary border-primary/30";case"conference":return"bg-cyan-500/20 text-cyan-400 border-cyan-500/30";default:return"bg-slate-500/20 text-slate-400 border-slate-500/30"}};return e.jsx("section",{className:"mi-dark py-6 sm:py-8 bg-slate-900",children:e.jsxs("div",{className:"container mx-auto px-6 max-w-6xl",children:[e.jsxs(Y.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-6",children:[e.jsx("h2",{className:"text-2xl font-bold mb-1.5 text-white",children:"Events Calendar"}),e.jsx("p",{className:"text-sm text-slate-400 max-w-2xl mx-auto",children:"Browse 100+ capital markets events, including exclusive member events"})]}),L.length>0&&e.jsxs(Y.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"mb-6",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-6",children:[e.jsx(K,{className:"w-6 h-6 text-primary fill-primary"}),e.jsx("h3",{className:"text-2xl font-semibold text-white",children:"Member Hosted and Co-Hosted Events"})]}),e.jsx("div",{className:"relative max-h-[320px] overflow-y-auto pr-2 scrollbar-thin scrollbar-thumb-slate-600 scrollbar-track-transparent",children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4",children:L.map((a,u)=>e.jsx(Y.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1*u},children:e.jsx(he,{className:"h-full border-primary/30 bg-slate-800 hover:shadow-lg hover:shadow-primary/10 transition-all cursor-pointer group",onClick:()=>c(`/events/${a.slug||B(a.title,a.host)}`),children:e.jsxs(xe,{className:"p-4",children:[e.jsxs("div",{className:"flex items-start gap-3 mb-3",children:[e.jsxs("div",{className:"flex items-center gap-1.5 flex-shrink-0",children:[a.logo&&e.jsx("img",{src:a.logo,alt:`${a.host} logo`,className:"w-10 h-10 object-contain rounded bg-white p-1",loading:"lazy",decoding:"async",width:40,height:40}
2),a.coHostLogo&&e.jsx("img",{src:a.coHostLogo,alt:`${a.coHost} logo`,className:"w-10 h-10 object-contain rounded bg-white p-1",loading:"lazy",decoding:"async",width:40,height:40})]}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("div",{className:"flex items-center gap-2 mb-2 flex-wrap",children:e.jsxs(Q,{className:"bg-primary/20 text-primary border-primary/30",children:[e.jsx(K,{className:"w-3 h-3 mr-1 fill-primary"}),a.logo?"Member Hosted":"Member Co-hosted"]})}),e.jsx("h4",{className:"font-semibold text-sm line-clamp-2 group-hover:text-primary transition-colors text-white",children:a.title})]})]}),e.jsxs("div",{className:"space-y-2 text-xs text-slate-400",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(We,{className:"w-3 h-3"}),e.jsx("span",{children:I(a.date,"MMM d, yyyy")})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(ze,{className:"w-3 h-3"}),e.jsx("span",{className:"line-clamp-1",children:a.location})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx($e,{className:"w-3 h-3"}),e.jsx("span",{children:a.time})]})]}),e.jsxs("div",{className:"mt-3 pt-3 border-t border-slate-700",children:[e.jsxs("p",{className:"text-[10px] text-slate-500 mb-2",children:["Third-party event. Altallo is not responsible for event content or changes.",a.link&&e.jsxs(e.Fragment,{children:[" ","Source: ",e.jsx("a",{href:a.link,target:"_blank",rel:"noopener",className:"underline hover:text-slate-300 break-all",children:a.link})]})]}),e.jsxs("div",{className:"flex gap-2 items-center",children:[a.type==="member"&&a.slug&&e.jsxs(e.Fragment,{children:[e.jsx(M,{variant:"link",className:"p-0 h-auto text-xs font-semibold text-primary",asChild:!0,children:e.jsx(ee,{to:`/events/${a.slug}`,children:"View Details"})}),e.jsx("span",{className:"text-slate-600",children:"â¢"})]}),e.jsx(M,{variant:"link",className:"p-0 h-auto text-xs font-semibold group-hover:text-primary",asChild:!0,children:e.jsxs("a",{href:a.link,target:"_blank",rel:"noopener",onClick:()=>re(a.link,`Event: ${a.title}`),children:["View event",e.jsx(pe,{className:"w-3 h-3 ml-1"})]})}),a.source_url&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"text-slate-600",children:"â¢"}),e.jsx(M,{variant:"link",className:"p-0 h-auto text-xs text-slate-500 hover:text-slate-400",asChild:!0,children:e.jsx("a",{href:a.source_url,target:"_blank",rel:"noopener",onClick:()=>re(a.source_url,`Event Source: ${a.title}`),children:"Source"})})]})]})]})]})})},a.id))})})]}),e.jsx(Y.div,{initial:{opacity:0}
2,whileInView:{opacity:1},viewport:{once:!0},className:"flex justify-center mb-6",children:e.jsxs("div",{className:"inline-flex items-center gap-2 bg-ink rounded-lg p-1",children:[e.jsx(M,{type:"button",size:"sm",variant:r?"ghost":"default",onClick:()=>N(!1),className:r?"text-ink-muted hover:bg-ink-border hover:text-ink-foreground":"text-primary-foreground",children:"All Events"}),e.jsxs(M,{type:"button",size:"sm",variant:r?"default":"ghost",onClick:()=>N(!0),className:r?"text-primary-foreground":"text-ink-muted hover:bg-ink-border hover:text-ink-foreground",children:[e.jsx(K,{className:"w-3 h-3 fill-current"}),"Member Hosted/Co-hosted"]})]})}),e.jsxs(Y.div,{initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0},className:"flex flex-wrap items-center justify-center gap-3 md:gap-4 mb-6",children:[e.jsx("div",{role:"group","aria-label":"Calendar layout",className:"inline-flex items-center rounded-lg bg-ink p-1",children:["list","month"].map(a=>e.jsx(M,{type:"button",size:"sm",variant:t===a?"default":"ghost",onClick:()=>p(a),"aria-pressed":t===a,className:t===a?"px-4 text-primary-foreground":"px-4 text-ink-muted hover:bg-ink-border hover:text-ink-foreground",children:a==="list"?"List":"Month"},a))}),t==="month"?e.jsxs(e.Fragment,{children:[e.jsx(M,{variant:"outline",size:"icon",onClick:R,className:"hover:bg-primary/10",children:e.jsx(ht,{className:"h-4 w-4"})}),e.jsx("h3",{className:"text-xl md:text-2xl font-semibold min-w-[180px] md:min-w-[200px] text-center text-ink-foreground",children:I(d,"MMMM yyyy")}),e.jsx(M,{variant:"outline",size:"icon",onClick:g,className:"hover:bg-primary/10",children:e.jsx(Me,{className:"h-4 w-4"})})]}):b.length>1&&e.jsx("div",{className:"flex flex-wrap justify-center gap-1.5",children:b.map(a=>e.jsx("button",{onClick:()=>m(a.key),className:"px-2.5 py-1.5 rounded-md text-xs font-medium text-slate-400 hover:text-white hover:bg-slate-800 transition-colors",children:a.label},a.key))})]}),t==="list"&&e.jsx(Y.div,{initial:{opacity:0}
2,whileInView:{opacity:1},viewport:{once:!0},className:"md:hidden",children:e.jsx(Ct,{events:o,currentDate:d,onEventClick:a=>c(`/events/${a.slug||B(a.title,a.host)}`),getLocationCity:U,getLocationBadgeColor:V,getEventTypeColor:Z})}),t==="list"&&e.jsx("div",{className:"hidden md:block",children:b.map(a=>e.jsxs("div",{id:`cal-list-${a.key}`,className:"scroll-mt-24 mb-8",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[e.jsx("p",{className:"text-sm font-semibold uppercase tracking-wider text-slate-300",children:a.label}),e.jsx("div",{className:"h-px flex-1 bg-slate-700"}),e.jsx("span",{className:"text-xs text-slate-500",children:a.events.length})]}),e.jsx("div",{className:"divide-y divide-slate-700/60 border-t border-slate-700",children:a.events.map(u=>{const n=u.type==="member";return e.jsxs("div",{className:`flex items-center gap-4 py-3 px-3 cursor-pointer transition-colors hover:bg-slate-800/60 ${n?"border-l-2 border-l-primary":""}`,onClick:()=>c(`/events/${u.slug||B(u.title,u.host)}`),children:[e.jsxs("div",{className:`w-14 shrink-0 text-center rounded-md py-1.5 ${n?"bg-primary/20":"bg-slate-800"}`,children:[e.jsx("div",{className:`text-lg font-bold leading-none ${n?"text-primary":"text-slate-200"}`,children:I(u.date,"d")}),e.jsx("div",{className:"text-[10px] uppercase text-slate-400 mt-0.5",children:I(u.date,"MMM")})]}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[e.jsx("h4",{className:`text-sm font-semibold truncate ${n?"text-primary":"text-white"}`,children:u.title}),n&&e.jsxs(Q,{className:"bg-primary/20 text-primary border-primary/30 text-[10px]",children:[e.jsx(K,{className:"w-2.5 h-2.5 mr-1 fill-current"}),"Member"]})]}),e.jsxs("p",{className:"text-xs text-slate-400 mt-1 truncate",children:[u.host,u.location?` · ${u.location}`:"",u.time?` · ${u.time}`:""]})]}),u.link&&e.jsx(M,{variant:"link",className:"p-0 h-auto text-xs font-semibold text-slate-300 hover:text-primary shrink-0",asChild:!0,children:e.jsxs("a",{href:u.link,target:"_blank",rel:"noopener",onClick:w=>{w.stopPropagation(),re(u.link,`Event: ${u.title}`)},children:["Register",e.jsx(pe,{className:"w-3 h-3 ml-1"})]})})]},`${u.id}`)})})]},a.key))}),t==="month"&&e.jsx(Y.div,{initial:{opacity:0}
2,whileInView:{opacity:1},viewport:{once:!0},children:e.jsx(he,{className:"bg-slate-800 border-slate-700 overflow-x-auto",children:e.jsxs(xe,{className:"p-2 md:p-6 min-w-[640px] md:min-w-0",children:[e.jsx("div",{className:"grid grid-cols-7 gap-0 mb-2",children:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"].map(a=>e.jsx("div",{className:"text-center font-semibold text-slate-400 p-1 md:p-2 text-xs md:text-sm border-b border-slate-700",children:a},a))}),e.jsxs("div",{className:"grid grid-cols-7 gap-0",children:[F.map((a,u)=>e.jsx("div",{className:"min-h-[64px] md:min-h-[160px] p-1 md:p-2 border border-slate-700 bg-slate-900/30"},`empty-${u}`)),v.map((a,u)=>{const n=$(a),w=n.some(P=>P.event.type==="member"),k=I(a,"yyyy-MM-dd"),i=C.has(k),te=i?n:n.slice(0,5);return e.jsxs("div",{className:`min-h-[64px] md:min-h-[160px] p-1 md:p-2 border border-slate-700 transition-all ${be(a,d)?w?"bg-primary/5":"bg-slate-800":"bg-slate-900 text-slate-600"}`,children:[e.jsx("div",{className:`text-xs md:text-sm font-medium mb-1 md:mb-2 ${w?"text-primary font-semibold":"text-slate-300"}`,children:I(a,"d")}),e.jsx("div",{className:"flex flex-col gap-1",children:te.map(({event:P,position:O})=>{const z=P.type==="member",se={single:"rounded",start:"rounded-l rounded-r-none border-r-2 border-r-white/30",middle:"rounded-none border-r-2 border-r-white/30",end:"rounded-r rounded-l-none"},ae={single:"",start:"⸠",middle:"â ",end:"â "};return e.jsxs("div",{className:`text-[10px] leading-tight truncate flex items-center gap-1 cursor-pointer hover:brightness-110 transition-all p-1 md:py-1.5 md:px-2 shadow-sm ${se[O]} ${z?"bg-primary text-primary-foreground font-semibold":"bg-slate-300 text-slate-900 font-medium"}`,onClick:le=>{le.stopPropagation(),c(`/events/${P.slug||B(P.title,P.host)}`)},children:[z&&(O==="start"||O==="single")&&e.jsx(K,{className:"w-3 h-3 fill-current flex-shrink-0"}),e.jsxs("span",{className:"block truncate font-medium",children:[O!=="single"&&O!=="start"?ae[O]:"",P.title]})]},`${P.id}-${O}`)})}),n.length>5&&e.jsx("button",{className:"text-[10px] text-slate-400 hover:text-primary transition-colors mt-1",onClick:P=>{P.stopPropagation(),s(O=>{const z=new Set(O);return z.has(k)?z.delete(k):z.add(k),z})},children:i?"Show less":`+${n.length-5} more`})]},u)})]})]})})})]})})};class ue extends l.Component{constructor(){super(...arguments);ne(this,"state",{hasError:!1});ne(this,"handleRetry",()=>{this.setState({hasError:!1,error:void 0})});ne(this,"handleReload",()=>{window.location.reload()})}static getDerivedStateFromError(r){return{hasError:!0,error:r}}componentDidCatch(r,N){console.error("Uncaught error:",r,N)}render(){return this.state.hasError?this.props.fallback?this.props.fallback:e.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center px-4",children:e.jsx("div",{className:"max-w-md w-full text-center",children:e.jsxs("div",{className:"animate-fade-in",children:[e.jsx("div",{className:"w-16 h-16 bg-red-100 rounded-full flex items-center justify-center mx-auto mb-4",children:e.jsx(xt,{className:"w-8 h-8 text-red-600"})}),e.jsx("h1",{className:"text-2xl font-bold text-gray-900 mb-2",children:"Something went wrong"}),e.jsx("p",{className:"text-gray-600 mb-8 leading-relaxed",children:"We're sorry, but something unexpected happened. Please try again or go back to the homepage."}),!1,e.jsxs("div",{className:"space-y-3",children:[e.jsxs(M,{onClick:this.handleRetry,className:"w-full bg-primary hover:bg-primary/90 text-primary-foreground transform hover:scale-105 transition-all duration-200",children:[e.jsx(Ce,{className:"w-4 h-4 mr-2"}),"Try Again"]}),e.jsxs(M,{onClick:this.handleReload,variant:"outline",className:"w-full border-gray-300 hover:bg-gray-50 transform hover:scale-105 transition-all duration-200",children:[e.jsx(Ce,{className:"w-4 h-4 mr-2"}),"Reload Page"]}),e.jsx(M,{asChild:!0,variant:"ghost",className:"w-full text-gray-600 hover:text-primary transform hover:scale-105 transition-all duration-200",children:e.jsxs(ee,{to:"/",children:[e.jsx(pt,{className:"w-4 h-4 mr-2"}),"Back to Home"]})})]}),e.jsx("div",{className:"mt-8 p-4 bg-white/50 rounded-lg border border-gray-200",children:e.jsxs("p",{className:"text-sm text-gray-600",children:["If this problem persists, please",e.jsx("a",{href:"mailto:[email protected]?subject=Technical Issue&body=I encountered an error on the website.",className:"text-primary hover:text-primary/80 font-medium ml-1 transition-colors duration-200",children:"contact support"})]})})]})})}):this.props.children}}const Se="https://www.altallo.com",Et=()=>{const{data:d=[]}=ye(),x=l.useMemo(()=>{const t=new Date;t.setHours(0,0,0,0);const p=d.filter(s=>s.event_date).map(s=>({title:s.title,host:s.host,date:new Date(s.event_date),end:s.end_date?new Date(s.end_date):null,type:s.event_type,location:s.location||"Location to be confirmed",slug:s.slug||B(s.title,s.host)})),c=new Set(p.map(s=>s.title.toLowerCase())),C=X.filter(s=>s.date!=null&&!c.has(s.title.toLowerCase())).map(s=>({title:s.title,host:s.host,date:s.date,end:s.endDate??null,type:s.type,location:s.location||"Location to be confirmed",slug:B(s.title,s.host)}));return[...p,...C].filter(s=>(s.end||s.date)>=t).sort((s,y)=>s.date.getTime()-y.date.getTime())},[d]),r=l.useMemo(()=>{const t=x.slice(0,40);return t.length===0?null:{"@context":"https://schema.org","@type":"ItemList",name:"Upcoming alternative investment industry events",numberOfItems:t.length,itemListElement:t.map((p,c)=>({"@type":"ListItem",position:c+1,item:{"@type":"Event",name:p.title,startDate:p.date.toISOString(),endDate:(p.end||p.date).toISOString(),eventStatus:"https://schema.org/EventScheduled",eventAttendanceMode:p.location==="Virtual Webcast"||p.location==="Online"?"https://schema.org/OnlineEventAttendanceMode":"https://schema.org/OfflineEventAttendanceMode",location:p.location==="Virtual Webcast"||p.location==="Online"?{"@type":"VirtualLocation",url:`${Se}/events/${p.slug}`}:{"@type":"Place",name:p.location,address:p.location},organizer:{"@type":"Organization",name:p.host},url:`${Se}/events/${p.slug}`}}))}},[x]);if(x.length===0)return null;const N=t=>t.toLocaleDateString("en-GB",{day:"numeric",month:"short",year:"numeric"});return e.jsxs("section",{id:"all-events",className:"mt-16 scroll-mt-28",children:[r&&e.jsx(oe,{children:e.jsx("script",{type:"application/ld+json",children:JSON.stringify(r)})}),e.jsx("h2",{className:"text-2xl font-bold tracking-tight text-foreground",children:"Every upcoming event, A to Z by date"}),e.jsxs("p",{className:"mt-2.5 text-[15px] leading-relaxed text-muted-foreground max-w-2xl",children:[x.length," upcoming member briefings, webinars and industry conferences. Each entry has its own page with dates, location, host and agenda."]}),e.jsx("ul",{className:"mt-7 divide-y divide-border border-t border-border",children:x.map(t=>e.jsx("li",{className:"py-3",children:e.jsxs(ee,{to:`/events/${t.slug}`,className:"group flex flex-col sm:flex-row sm:items-baseline sm:gap-4",children:[e.jsx("span",{className:"text-[12px] tabular-nums text-muted-foreground sm:w-[110px] shrink-0",children:N(t.date)}),e.jsx("span",{className:"text-[14px] font-medium text-foreground group-hover:text-primary transition-colors",children:t.title}),e.jsxs("span",{className:"text-[12px] text-muted-foreground sm:ml-auto sm:text-right",children:[t.host," · ",t.location]})]})},`${t.slug}-${t.date.toISOString()}`))})]})},_t=[{value:"sponsor",label:"Sponsorship"},{value:"co_host",label:"Co-host"},{value:"host",label:"Host"},{value:"speak",label:"Speaking slots"},{value:"exhibit",label:"Exhibiting"},{value:"attend",label:"Delegate places"}],Dt=["Fund administration","Audit","Legal","Technology and data","Cybersecurity and IT","Compliance and regulatory","Prime brokerage","Custody","Marketing and IR","Outsourced trading","Human capital","Consulting"],Lt=["Under 50","50 to 150","150 to 400","400 to 1,000","Over 1,000"],Mt=()=>{const[d,x]=l.useState(""),[r,N]=l.useState(""),[t,p]=l.useState(""),[c,C]=l.useState(""),[s,y]=l.useState(""),[j,L]=l.useState(""),[o,b]=l.useState(""),[m,_]=l.useState(""),[D,v]=l.useState(""),[T,F]=l.useState(""),[g,R]=l.useState(""),[$,U]=l.useState([]),[V,Z]=l.useState([]),[a,u]=l.useState(""),[n,w]=l.useState(""),[k,i]=l.useState(""),[te,P]=l.useState(""),[O,z]=l.useState(!1),[se,ae]=l.useState(!1),[le,Be]=l.useState(!1),Ne=(h,A,de)=>A(h.includes(de)?h.filter(Ue=>Ue!==de):[...h,de]),Re=async h=>{if(h.preventDefault(),!d.trim()||!r.trim()||!s.trim()){E.error("Please add your name, work email and the event name");return}if($.length===0){E.error("Please choose what is available on the event");return}ae(!0);try{const{error:A}=await W.from("event_briefs").insert({organiser_name:d.trim().slice(0,120),organiser_email:r.toLowerCase().trim().slice(0,255),organiser_company:t.trim().slice(0,160)||null,organiser_role:c.trim().slice(0,160)||null,event_name:s.trim().slice(0,200),event_url:j.trim().slice(0,500)||null,city:o.trim().slice(0,120)||null,country:m.trim().slice(0,120)||null,event_date:D||null,audie
2nce:T.trim().slice(0,2e3)||null,attendance_band:g||null,formats_available:$,target_categories:V,inventory_notes:a.trim().slice(0,2e3)||null,brochure_url:n.trim().slice(0,500)||null,budget_guidance:k.trim().slice(0,300)||null,notes:te.trim().slice(0,2e3)||null,consent:O,user_agent:navigator.userAgent.slice(0,500),source:"events_page"});if(A)throw A;Be(!0),E.success("Thank you, your event brief is with us")}catch(A){console.error("Event brief submission failed",A),E.error("Something went wrong. Please try again.")}finally{ae(!1)}};return le?e.jsxs("div",{className:"border border-border bg-card rounded-lg p-8 text-center shadow-[0_1px_3px_rgba(0,0,0,0.06)]",children:[e.jsx("div",{className:"mx-auto mb-4 w-10 h-10 rounded-full bg-primary/10 flex items-center justify-center",children:e.jsx(Te,{className:"w-5 h-5 text-primary"})}),e.jsx("h3",{className:"text-lg font-semibold text-foreground mb-2",children:"Brief received"}),e.jsx("p",{className:"text-sm text-muted-foreground max-w-md mx-auto",children:"We will read it, map who in the network fits the room you are building, and come back to you with the names worth a conversation."})]}):e.jsx("div",{className:"border border-border bg-card rounded-lg p-6 md:p-8 shadow-[0_1px_3px_rgba(0,0,0,0.06)]",children:e.jsxs("form",{onSubmit:Re,className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-base font-semibold text-foreground mb-1",children:"Send us your event"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Give us the event and what is available. We come back with the fit."})]}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("label",{htmlFor:"eb-name",className:"block text-sm font-medium mb-1.5",children:"Your name"}),e.jsx(f,{id:"eb-name",value:d,onChange:h=>x(h.target.value),maxLength:120,required:!0})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"eb-email",className:"block text-sm font-medium mb-1.5",children:"Work email"}),e.jsx(f,{id:"eb-email",type:"email",value:r,onChange:h=>N(h.target.value),maxLength:255,required:!0})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"eb-company",className:"block text-sm font-medium mb-1.5",children:"Organisation"}),e.jsx(f,{id:"eb-company",value:t,onChange:h=>p(h.target.value),maxLength:160})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"eb-role",className:"block text-sm font-medium mb-1.5",children:"Your role"}),e.jsx(f,{id:"eb-role",value:c,onChange:h=>C(h.target.value),maxLength:160})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"eb-event",className:"block text-sm font-medium mb-1.5",children:"Event name"}),e.jsx(f,{id:"eb-event",value:s,onChange:h=>y(h.target.value),maxLength:200,required:!0})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"eb-url",className:"block text-sm font-medium mb-1.5",children:"Event website"}),e.jsx(f,{id:"eb-url",value:j,onChange:h=>L(h.target.value),maxLength:500,placeholder:"https://"})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"eb-city",className:"block text-sm font-medium mb-1.5",children:"City"}),e.jsx(f,{id:"eb-city",value:o,onChange:h=>b(h.target.value),maxLength:120})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"eb-country",className:"block text-sm font-medium mb-1.5",children:"Country"}),e.jsx(f,{id:"eb-country",value:m,onChange:h=>_(h.target.value),maxLength:120})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"eb-date",className:"block text-sm font-medium mb-1.5",children:"Date"}),e.jsx(f,{id:"eb-date",type:"date",value:D,onChange:h=>v(h.target.value)})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"eb-attendance",className:"block text-sm font-medium mb-1.5",children:"Expected attendance"}),e.jsxs("select",{id:"eb-attendance",value:g,onChange:h=>R(h.target.value),className:"w-full h-10 rounded-md border border-border bg-background px-3 text-sm text-foreground",children:[e.jsx("option",{value:"",children:"Not sure yet"}),Lt.map(h=>e.jsx("option",{value:h,children:h},h))]})]})]}),e.jsxs("div",{children:[e.jsx("span",{className:"block text-sm font-medium text-foreground mb-2",children:"What is available"}),e.jsx("div",{className:"flex flex-wrap gap-2",children:_t.map(h=>{const A=$.includes(h.value);return e.jsx("button",{type:"button",onClick:()=>Ne($,U,h.value),"aria-pressed":A,className:`px-3 py-1.5 rounded-md border text-sm transition-colors ${A?"border-primary bg-primary text-primary-foreground":"border-border bg-background text-foreground hover:bg-muted"}`,children:h.label},h.value)})})]}),e.jsxs("div",{children:[e.jsx("span",{className:"block text-sm font-medium text-foreground mb-2",children:"Who you want in the room"}),e.jsx("div",{className:"flex flex-wrap gap-2",children:Dt.map(h=>{const A=V.includes(h);return e.jsx("button",{type:"button",onClick:()=>Ne(V,Z,h),"aria-pressed":A,className:`px-3 py-1.5 rounded-md border text-sm transition-colors ${A?"border-primary bg-primary text-primary-foreground":"border-border bg-background text-foreground hover:bg-muted"}`,children:h},h)})})]}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("label",{htmlFor:"eb-brochure",className:"block text-sm font-medium mb-1.5",children:"Link to brochure or inventory"}),e.jsx(f,{id:"eb-brochure",value:n,onChange:h=>w(h.target.value),maxLength:500,placeholder:"https://"})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"eb-budget",className:"block text-sm font-medium mb-1.5",children:"Price guidance for packages"}),e.jsx(f,{id:"eb-budget",value:k,onChange:h=>i(h.target.value),maxLength:300,placeholder:"Ranges are fine"})]})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"eb-audience",className:"block text-sm font-medium mb-1.5",children:"Who attends"}),e.jsx(q,{id:"eb-audience",value:T,onChange:h=>F(h.target.value),maxLength:2e3,className:"min-h-[90px] resize-none",placeholder:"Types of firm, seniority, strategies, how the audience is sourced"})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"eb-inventory",className:"block text-sm font-medium mb-1.5",children:"What is on the table"}),e.jsx(q,{id:"eb-inventory",value:a,onChange:h=>u(h.target.value),maxLength:2e3,className:"min-h-[90px] resize-none",placeholder:"Packages, panel slots, exclusivity by category, dinners, side sessions"})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"eb-notes",className:"block text-sm font-medium mb-1.5",children:"Anything else"}),e.jsx(q,{id:"eb-notes",value:te,onChange:h=>P(h.target.value),maxLength:2e3,className:"min-h-[80px] resize-none"})]}),e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(He,{id:"eb-consent",checked:O,onCheckedChange:h=>z(h===!0),className:"mt-0.5"}),e.jsx("label",{htmlFor:"eb-consent",className:"text-sm text-muted-foreground",children:"You can share this event with members you judge to be a fit."})]}
2),e.jsx(M,{type:"submit",disabled:se,className:"w-full sm:w-auto",children:se?"Sending...":"Send the brief"})]})})},Tt=[{value:"attend",label:"Attend"},{value:"sponsor",label:"Sponsor"},{value:"co_host",label:"Co-host"},{value:"host",label:"Host"},{value:"speak",label:"Speak"},{value:"exhibit",label:"Exhibit"}],It=["Not sure yet","Under £5k","£5k to £15k","£15k to £50k","Over £50k"],Pt=()=>{const[d,x]=l.useState("organiser"),[r,N]=l.useState(""),[t,p]=l.useState(""),[c,C]=l.useState(""),[s,y]=l.useState(""),[j,L]=l.useState([]),[o,b]=l.useState(""),[m,_]=l.useState(""),[D,v]=l.useState(""),[T,F]=l.useState(""),[g,R]=l.useState(!1),[$,U]=l.useState(!1),[V,Z]=l.useState(!1),a=n=>L(w=>w.includes(n)?w.filter(k=>k!==n):[...w,n]),u=async n=>{var w;if(n.preventDefault(),!r.trim()||!t.trim()){E.error("Please add your name and work email");return}if(j.length===0){E.error("Please choose at least one type of interest");return}U(!0);try{const{data:k}=await W.auth.getUser(),{error:i}=await W.from("event_opportunity_interest").insert({full_name:r.trim().slice(0,120),email:t.toLowerCase().trim().slice(0,255),company:c.trim().slice(0,160)||null,job_title:s.trim().slice(0,160)||null,interest_types:j,event_interest:o.trim().slice(0,200)||null,city_interest:m.trim().slice(0,120)||null,budget_band:D||null,notes:T.trim().slice(0,2e3)||null,consent:g,user_id:((w=k==null?void 0:k.user)==null?void 0:w.id)??null,user_agent:navigator.userAgent.
2slice(0,500),source:"events_page"});if(i)throw i;Z(!0),E.success("Thank you, your interest is registered")}catch(k){console.error("Interest submission failed",k),E.error("Something went wrong. Please try again.")}finally{U(!1)}};return e.jsx("section",{id:"event-opportunities",className:"border-t border-border bg-background",children:e.jsxs("div",{className:"container mx-auto px-4 py-14 lg:py-20",children:[e.jsxs("div",{className:"max-w-3xl",children:[e.jsx("p",{className:"text-xs font-medium uppercase tracking-wider text-primary mb-3",children:"Event opportunities"}),e.jsx("h2",{className:"text-2xl md:text-3xl font-semibold text-foreground mb-4",children:"You bring the event. We find the fit."}),e.jsxs("div",{className:"space-y-4 text-[15px] leading-relaxed text-muted-foreground",children:[e.jsx("p",{children:"Send us the event and what is available, and we work out who in the network fits it: sponsors, co-hosts, speakers and exhibitors. You have one conversation with us instead of chasing twenty firms one at a time."}),e.jsx("p",{children:"We match on what we already know, the category a firm works in, the markets and cities they cover, the topics they are open to being approached about and the formats they have told us they want. Attendance terms vary by event, so we treat each one on its own basis."}),e.jsx("p",{children:"Nothing is committed by sending a brief or registering interest. Agreements are signed directly between the two parties, and we agree our fee privately with whoever engages us."})]})]}),e.jsx("div",{className:"mt-8 inline-flex rounded-md border border-border overflow-hidden",children:[{key:"organiser",label:"I have an event"},{key:"member",label:"I am a provider"}].map(n=>e.jsx("button",{type:"button",onClick:()=>x(n.key),"aria-pressed":d===n.key,className:`px-4 py-2 text-sm transition-colors ${d===n.key?"bg-primary text-primary-foreground":"bg-background text-foreground hover:bg-muted"}`,children:n.label},n.key))}),d==="organiser"?e.jsxs("div",{className:"mt-6 grid lg:grid-cols-5 gap-8",children:[e.jsx("div",{className:"lg:col-span-3",children:e.jsx(Mt,{})}),e.jsx("div",{className:"lg:col-span-2",children:e.jsxs("div",{className:"border border-border rounded-lg p-6",children:[e.jsx("h3",{className:"text-base font-semibold text-foreground mb-3",children:"What happens next"}),e.jsxs("ol",{className:"space-y-2.5 text-sm text-muted-foreground list-decimal pl-4",children:[e.jsx("li",{children:"We read the brief and check the audience against the room you want."}),e.jsx("li",{children:"We map the members who fit by category, market, city and the formats they are open to."}),e.jsx("li",{children:"We come back with the names worth a conversation and make the introductions you agree to."}),e.jsx("li",{children:"You contract directly with each firm. We are not in the middle of the money."})]})]})})]}):e.jsxs("div",{className:"mt-6 grid lg:grid-cols-5 gap-8",children:[e.jsx("div",{className:"lg:col-span-3",children:e.jsx("div",{className:"border border-border bg-card rounded-lg p-6 md:p-8 shadow-[0_1px_3px_rgba(0,0,0,0.06)]",children:V?e.jsxs("div",{className:"py-8 text-center",children:[e.jsx("div",{className:"mx-auto mb-4 w-10 h-10 rounded-full bg-primary/10 flex items-center justify-center",children:e.jsx(Te,{className:"w-5 h-5 text-primary"})}),e.jsx("h3",{className:"text-lg font-semibold text-foreground mb-2",children:"Interest registered"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"We have your preferences. You will hear from us when there is a relevant event."})]}):e.jsxs("form",{onSubmit:u,className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-base font-semibold text-foreground mb-1",children:"Register your interest"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Select everything that applies. You can change your mind later."})]}),e.jsxs("div",{children:[e.jsx("span",{className:"block text-sm font-medium text-foreground mb-2",children:"I am interested in"}),e.jsx("div",{className:"flex flex-wrap gap-2",children:Tt.map(n=>{const w=j.includes(n.value);return e.jsx("button",{type:"button",onClick:()=>a(n.value),"aria-pressed":w,className:`px-3 py-1.5 rounded-md border text-sm transition-colors ${w?"border-primary bg-primary text-primary-foreground":"border-border bg-background text-foreground hover:bg-muted"}`,children:n.label},n.value)})})]}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("label",{htmlFor:"eo-name",className:"block text-sm font-medium mb-1.5",children:"Full name"}),e.jsx(f,{id:"eo-name",value:r,onChange:n=>N(n.target.value),maxLength:120,required:!0})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"eo-email",className:"block text-sm font-medium mb-1.5",children:"Work email"}),e.jsx(f,{id:"eo-email",type:"email",value:t,onChange:n=>p(n.target.value),maxLength:255,required:!0})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"eo-company",className:"block text-sm font-medium mb-1.5",children:"Company"}),e.jsx(f,{id:"eo-company",value:c,onChange:n=>C(n.target.value),maxLength:160})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"eo-title",className:"block text-sm font-medium mb-1.5",children:"Job title"}),e.jsx(f,{id:"eo-title",value:s,onChange:n=>y(n.target.value),maxLength:160})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"eo-event",className:"block text-sm font-medium mb-1.5",children:"Event, if you have one in mind"}),e.jsx(f,{id:"eo-event",value:o,onChange:n=>b(n.target.value),maxLength:200})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"eo-city",className:"block text-sm font-medium mb-1.5",children:"Cities or regions"}),e.jsx(f,{id:"eo-city",value:m,onChange:n=>_(n.target.value),maxLength:120,placeholder:"London, New York"})]})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"eo-budget",className:"block text-sm font-medium mb-1.5",children:"Indicative budget per event"}),e.jsxs("select",{id:"eo-budget",value:D,onChange:n=>v(n.target.value),className:"w-full h-10 rounded-md border border-border bg-background px-3 text-sm text-foreground",children:[e.jsx("option",{value:"",children:"Prefer not to say"}),It.map(n=>e.jsx("option",{value:n,children:n},n))]})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"eo-notes",className:"block text-sm font-medium mb-1.5",children:"Anything else"}),e.jsx(q,{id:"eo-notes",value:T,onChange:n=>F(n.target.value),maxLength:2e3,className:"min-h-[100px] resize-none",placeholder:"Audience you want in the room, formats that work for you, dates to avoid"})]}),e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(He,{id:"eo-consent",checked:g,onCheckedChange:n=>R(n===!0),className:"mt-0.5"}),e.jsx("label",{htmlFor:"eo-consent",className:"text-sm text-muted-foreground",children:"Keep me on the list for future event opportunities."})]}
2),e.jsx(M,{type:"submit",disabled:$,className:"w-full sm:w-auto",children:$?"Sending...":"Register interest"})]})})}),e.jsx("div",{className:"lg:col-span-2",children:e.jsxs("div",{className:"border border-border rounded-lg p-6",children:[e.jsx("h3",{className:"text-base font-semibold text-foreground mb-3",children:"Why tell us"}),e.jsxs("ul",{className:"space-y-2.5 text-sm text-muted-foreground",children:[e.jsx("li",{children:"When an organiser sends us an event, we look at who has told us they want that kind of room."}),e.jsx("li",{children:"You hear about the ones that fit your category, your markets and your budget, not everything going."}),e.jsx("li",{children:"You deal with the organiser directly. We make the introduction and step back."}),e.jsx("li",{children:"Nothing is committed by registering interest, and you can change it."})]})]})})]}),e.jsxs("div",{className:"mt-12 grid md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"border border-border rounded-lg p-6",children:[e.jsx("h3",{className:"text-base font-semibold text-foreground mb-3",children:"How we work an event"}),e.jsxs("ul",{className:"space-y-2.5 text-sm text-muted-foreground",children:[e.jsx("li",{children:"An organiser sends the event, the audience, the formats and the pricing."}),e.jsx("li",{children:"We assess whether the audience is genuinely the one providers want in the room, and say so if it is not."}),e.jsx("li",{children:"We map member fit from what we already hold: category, markets and cities covered, topics they are open to, formats and budget they have registered."}),e.jsx("li",{children:"We put a shortlist of introductions to the organiser and only approach a member once they have agreed to hear about it."}),e.jsx("li",{children:"Both sides contract directly. We hold no funds and our fee is agreed privately with whoever engaged us."})]})]}),e.jsxs("div",{className:"border border-border rounded-lg p-6",children:[e.jsx("h3",{className:"text-base font-semibold text-foreground mb-3",children:"What we do not do"}),e.jsxs("ul",{className:"space-y-2.5 text-sm text-muted-foreground",children:[e.jsx("li",{children:"We do not ask an organiser to route relationships they already have through us, and we do not ask members to book exclusively through us."}),e.jsx("li",{children:"We do not publish a listings board of events with prices. Detail is shared in the introduction, not scraped from a page."}),e.jsx("li",{children:"We do not rate or rank events or firms, and we do not present a fee-paying relationship as an endorsement."}),e.jsx("li",{children:"We do not pass your details anywhere without you agreeing to the specific introduction."})]})]})]})]})})},Ot=({events:d})=>{const x=d.map(r=>({"@context":"https://schema.org","@type":"Event",name:r.name,description:r.description||`${r.name} hosted by ${r.organizer.name}`,startDate:r.startDate,endDate:r.endDate||r.startDate,eventStatus:`https://schema.org/${r.eventStatus||"EventScheduled"}`,eventAttendanceMode:`https://schema.org/${r.eventAttendanceMode||"OfflineEventAttendanceMode"}`,location:{"@type":"Place",name:r.location.name,address:r.location.address?{"@type":"PostalAddress",addressLocality:r.location.address}:void 0},organizer:{"@type":"Organization",name:r.organizer.name,url:r.organizer.url},url:r.url,image:r.image||"https://www.altallo.com/altallo-social-share.png"}));return e.jsx(oe,{children:x.map((r,N)=>e.jsx("script",{type:"application/ld+json",children:JSON.stringify(r)},N))})},ks=()=>{const{data:d}=tt(),[x,r]=l.useState(!1),[N,t]=l.useState(!1),[p,c]=l.useState({isOpen:!1,type:"event_planning",title:"",subtitle:""}),C=(o,b,m)=>c({isOpen:!0,type:o,title:b,subtitle:m});l.useEffect(()=>{const o=window.location.hash;if(o){const b=document.getElementById(o.slice(1));b&&setTimeout(()=>b.scrollIntoView({behavior:"smooth"}),100)}},[]),l.useMemo(()=>Array.from(new Set(X.filter(o=>o.type==="member").map(o=>o.host))),[]);const{data:s=[]}=ye();l.useMemo(()=>{const o=new Date;o.setHours(0,0,0,0);const b=s.map(g=>({title:g.title,host:g.host,date:g.event_date?new Date(g.event_date):null,end:g.end_date?new Date(g.end_date):null,type:g.event_type,country:g.country||void 0,location:g.location||void 0})),m=new Set(b.map(g=>g.title.toLowerCase())),_=X.filter(g=>g.date!=null&&!m.has(g.title.toLowerCase())).map(g=>({title:g.title,host:g.host,date:g.date,end:g.endDate??null,type:g.type,country:g.country,location:g.location})),D=[...b,..._].filter(g=>g.date&&(g.end||g.date)>=o),v=D.filter(g=>g.type==="member").sort((g,R)=>g.date.getTime()-R.date.getTime()),T=D.filter(g=>g.type==="industry"),F=new Set(T.map(g=>String(g.country||"").trim()).filter(g=>g&&g.toLowerCase()!=="virtual"));return{heroStats:{member:v.length,industry:T.length,regions:F.size},nextMemberEvent:v[0]||null}},[s]);const y=l.useMemo(()=>X.filter(o=>o.type==="member"&&o.featured&&o.date!==null).map(o=>
2({name:o.title,description:o.description,startDate:o.date.toISOString(),endDate:o.endDate?o.endDate.toISOString():o.date.toISOString(),location:{name:o.location,address:o.location!=="Virtual Webcast"&&o.location!=="Online"?o.location:void 0},organizer:{name:o.host,url:o.link},url:o.link,image:o.logo?`https://www.altallo.com${o.logo}`:void 0,eventStatus:"EventScheduled",eventAttendanceMode:o.location==="Virtual Webcast"||o.location==="Online"?"OnlineEventAttendanceMode":"OfflineEventAttendanceMode"})),[]),j=l.useMemo(()=>{const o=new Date;o.setHours(0,0,0,0);const b=s.filter(m=>m.event_date&&new Date(m.end_date||m.event_date)>=o).sort((m,_)=>new Date(m.event_date).getTime()-new Date(_.event_date).getTime()).slice(0,60);return b.length===0?null:{"@context":"https://schema.org","@type":"ItemList",name:"Upcoming events for investment managers and service providers",itemListOrder:"https://schema.org/ItemListOrderAscending",numberOfItems:b.length,itemListElement:b.map((m,_)=>{const D=/virtual|online|webinar|webcast/i.test(m.location||"");return{"@type":"ListItem",position:_+1,item:{"@type":"Event",name:m.title,startDate:m.event_date,...m.end_date?{endDate:m.end_date}:{},eventStatus:"https://schema.org/EventScheduled",eventAttendanceMode:D?"https://schema.org/OnlineEventAttendanceMode":"https://schema.org/OfflineEventAttendanceMode",...m.description?{description:m.description}:{},...m.host?{organizer:{"@type":"Organization",name:m.host}}:{},...m.link?{url:m.link}:{},location:D?{"@type":"VirtualLocation",url:m.link||"https://www.altallo.com/events"}:{"@type":"Place",name:m.location||m.country||"To be confirmed",address:{"@type":"PostalAddress",...m.location?{streetAddress:m.location}:{},...m.country?{addressCountry:m.country}:{}}}}}})}},[s]),L={"@context":"https://schema.org","@type":"WebPage",name:"Hedge Fund & Private Equity Events 2026: Conferences and Webinars",description:"Upcoming hedge fund, private equity and venture events: industry conferences by region plus member hosted briefings and webinars. Dates, hosts and locations, updated weekly.",url:"https://www.altallo.com/events",publisher:{"@type":"Organization",name:"Altallo",url:"https://www.altallo.com"}};return e.jsxs("div",{className:"min-h-screen",children:[e.jsxs(oe,{children:[e.jsx("title",{children:"Hedge Fund & Private Equity Events 2026: Conferences and Webinars | ALTALLO"}),e.jsx("meta",{name:"description",content:"Upcoming hedge fund, private equity and venture events: industry conferences by region plus member hosted briefings and webinars. Dates, hosts and locations, updated weekly."}),e.jsx("link",{rel:"canonical",href:"https://www.altallo.com/events"}),e.jsx("meta",{name:"referrer",content:"origin-when-cross-origin"}),e.jsx("meta",{property:"og:title",content:"Hedge Fund & Private Equity Events 2026: Conferences and Webinars"}),e.jsx("meta",{property:"og:description",content:"Upcoming hedge fund, private equity and venture events: industry conferences by region plus member hosted briefings and webinars. Dates, hosts and locations, updated weekly."}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("meta",{property:"og:url",content:"https://www.altallo.com/events"}),e.jsx("meta",{property:"og:image",content:"https://www.altallo.com/altallo-social-share.png"}),e.jsx("meta",{property:"og:site_name",content:"Altallo"}),e.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),e.jsx("meta",{name:"twitter:title",content:"Hedge Fund & Private Equity Events 2026: Conferences and Webinars"}),e.jsx("meta",{name:"twitter:image",content:"https://www.altallo.com/altallo-social-share.png"}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(L)}),j&&e.jsx("script",{type:"application/ld+json",children:JSON.stringify(j)}),e.jsx("meta",{name:"robots",content:"index, follow, max-snippet:-1, max-image-preview:large"}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"ALTALLO",item:"https://www.altallo.com"},{"@type":"ListItem",position:2,name:"Events",item:"https://www.altallo.com/events"}]})})]}),e.jsx(bt,{title:"Hedge Fund and Private Equity Events Calendar 2026",description:"Upcoming hedge fund, private equity and venture events:
2industry conferences by region plus member hosted briefings and webinars.",keywords:"capital markets events, hedge fund conferences, private equity networking",pageType:"events",url:"https://www.altallo.com/events"}),e.jsx(Ot,{events:y}),e.jsx(Xe,{}),e.jsxs("div",{className:"bg-background text-foreground",children:[d&&e.jsx("div",{className:"bg-primary/10 border-b border-primary/20",children:e.jsxs("div",{className:"container mx-auto px-6 py-3 flex items-center justify-between",children:[e.jsxs("p",{className:"text-sm text-muted-foreground",children:["Signed in as ",e.jsx("span",{className:"font-medium text-foreground",children:d.full_name}),d.company&&e.jsxs("span",{className:"text-muted-foreground",children:[" · ",d.company]})]}),e.jsx(ee,{to:"/marketplace/fund-dashboard",className:"text-sm font-medium text-primary hover:text-primary/80 transition-colors",children:"Go to Dashboard â"})]})}),e.jsxs("main",{className:"relative",children:[e.jsx(st,{label:"Events",title:"Events for investment managers and providers",sub:"Conferences, briefings and webinars in one calendar. Sign in to mark yourself going, and see which members are attending."}),e.jsxs("div",{className:"container mx-auto px-6 max-w-6xl",children:[e.jsx("div",{className:"pt-4 mb-2 flex justify-end",children:e.jsxs(ee,{to:"/insights?tab=resources#on-demand-webinars",className:"inline-flex min-h-11 w-full items-center justify-center gap-1.5 rounded-lg border border-border px-4 py-2 text-center text-sm font-medium text-muted-foreground transition-colors hover:bg-muted hover:text-foreground sm:min-h-0 sm:w-auto",children:[e.jsx(gt,{className:"w-3.5 h-3.5"}),"On-demand webinars in Resources"]})}),e.jsx(ue,{fallback:e.jsx("p",{className:"text-muted-foreground py-20 text-center",children:"Unable to load calendar. Please refresh."}),children:e.jsx(St,{})}),e.jsx(ue,{fallback:null,children:e.jsx(Et,{})}),e.jsxs("section",{className:"mt-12 rounded-2xl border border-border bg-muted/40 px-6 py-6 sm:px-8 flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-semibold text-foreground",children:"Organising one of these events?"}),e.jsx("p",{className:"mt-1 text-[13px] leading-relaxed text-muted-foreground max-w-xl",children:"Claim your event to fully customise the listing, add your branding and include more marketing collateral. Get in touch and we will set it up."})]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-x-5 gap-y-2 shrink-0",children:[e.jsx("button",{type:"button",onClick:()=>t(!0),className:"inline-flex items-center min-h-[44px] px-5 rounded-md bg-primary text-primary-foreground text-sm font-semibold hover:bg-primary/90 transition-colors",children:"Claim your event"}),e.jsx("a",{href:"mailto:[email protected]?subject=Claim%20my%20event%20on%20ALTALLO",className:"text-sm font-semibold text-foreground hover:text-primary transition-colors",children:"[email protected]"})]})]}),e.jsx("section",{id:"host-your-event",className:"mt-16 scroll-mt-28 rounded-2xl border border-border bg-card overflow-hidden",children:e.jsxs("div",{className:"p-6 sm:p-8",children:[e.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-[0.18em] text-primary",children:"For members"}),e.jsx("h2",{className:"mt-2 text-2xl font-bold tracking-tight text-foreground",children:"Host or co-host an event with ALTALLO members"}),e.jsx("p",{className:"mt-2.5 text-[15px] leading-relaxed text-muted-foreground max-w-2xl",children:"Member hosted events get the top of this page, not a row in a list. Send us the details and we will build the listing."}),e.jsx("div",{className:"mt-6 grid grid-cols-1 sm:grid-cols-3 gap-x-8",children:[{n:"01",t:"Showcase placement",d:"Full width card above the industry calendar, with your logo and co-host logo."},{n:"02",t:"Linked speakers",d:"Every speaker links to their professional profile, and your firm links to its marketplace page."},{n:"03",t:"Distribution",d:"Included in the calendar, the digest and search, with structured data so the event is indexable."}].map(o=>e.jsxs("div",{className:"py-3 border-t border-border",children:[e.jsx("span",{className:"text-[11px] font-semibold text-primary tabular-nums",children:o.n}),e.jsx("p",{className:"mt-1.5 text-sm font-semibold text-foreground",children:o.t}),e.jsx("p",{className:"mt-1 text-[13px] leading-relaxed text-muted-foreground",children:o.d})]},o.n))}),e.jsxs("div",{className:"mt-7 flex flex-wrap items-center gap-x-5 gap-y-3",children:[e.jsx("button",{type:"button",onClick:()=>C("event_planning","List your event on ALTALLO","Tell us about the event and we will build the listing"),className:"inline-flex items-center min-h-[44px] px-6 rounded-md bg-primary text-primary-foreground text-sm font-semibold hover:bg-primary/90 transition-colors",children:"Submit an event"}),e.jsx("a",{href:"mailto:[email protected]?subject=Event%20listing%20on%20ALTALLO",className:"text-sm font-semibold text-foreground hover:text-primary transition-colors",children:"Email [email protected]"})]})]})}),e.jsx("div",{className:"mt-16 -mx-4",children:e.jsx(ue,{fallback:null,children:e.jsx(Pt,{})})}),e.jsx(Nt,{onEventPlanningClick:()=>C("event_planning","Event Planning Inquiry","Tell us about your event needs"),onSponsorAcquisitionClick:()=>C("sponsor_acquisition","Sponsor Acquisition","Share your sponsorship goals"),onMediaPartnershipClick:()=>r(!0)})]})]}),e.jsx(Qe,{}),e.jsx(et,{}),e.jsx(vt,{isOpen:x,onClose:()=>r(!1)}),e.jsx(ft,{isOpen:N,onClose:()=>t(!1)}),e.jsx(yt,{isOpen:p.isOpen,onClose:()=>c(o=>({...o,isOpen:!1})),inquiryType:p.type,title:p.title,subtitle:p.subtitle})]})]})};export{ks 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.