1import{r as m,j as e}from"./index-Cb0uFkxi.js";import{H as E,F}from"./Footer-17KnCj-2.js";import{S as C}from"./Seo-CIpCEP-3.js";import{s as N}from"./client-3Rgyq3FX.js";import{u as T,T as t,F as u,e as R,G as k,a as f,b as l}from"./primitives-nDFDtlAG.js";import"./button-BXT4L8KI.js";import"./ResponsiveImage-D5MpvFHD.js";import"./siteNavigation-xQOaOE9I.js";import"./index-DSefd6az.js";import"./tslib.es6-CmEaCU22.js";import"./chevron-down-CNHxCdIc.js";import"./sheet-CL-fb0Ux.js";import"./index-DAxeAWUx.js";import"./input-CyLPhXcX.js";const B=new Date("2026-10-26T23:59:59-06:00"),$=()=>{const{isMobile:s}=T(),h=new Date>B,[r,b]=m.useState({confirmationNumber:"",currentEmail:"",newName:"",newEmail:"",newCompany:"",newJobTitle:""}),[n,x]=m.useState({}),[d,g]=m.useState(!1),[y,c]=m.useState(""),[w,j]=m.useState(!1),o=i=>a=>{b(p=>({...p,[i]:a.target.value})),x(p=>({...p,[i]:""})),c("")},S=()=>{const i={};return r.confirmationNumber.trim()||(i.confirmationNumber="Required"),r.currentEmail.trim()||(i.currentEmail="Required"),r.newName.trim()||(i.newName="Required"),r.newEmail.trim()||(i.newEmail
1="Required"),r.newCompany.trim()||(i.newCompany="Required"),r.newJobTitle.trim()||(i.newJobTitle="Required"),r.newEmail&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(r.newEmail)&&(i.newEmail="Invalid email address"),r.currentEmail&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(r.currentEmail)&&(i.currentEmail="Invalid email address"),x(i),Object.keys(i).length===0},v=async()=>{if(S()){g(!0),c("");try{const{data:i,error:a}=await N.functions.invoke("submit-name-transfer",{body:{confirmationNumber:r.confirmationNumber.trim().toUpperCase(),currentEmail:r.currentEmail.trim().toLowerCase(),newName:r.newName.trim(),newEmail:r.newEmail.trim().toLowerCase(),newCompany:r.newCompany.trim(),newJobTitle:r.newJobTitle.trim()}});a||i!=null&&i.error?c((i==null?void 0:i.error)??(a==null?void 0:a.message)??"Unable to submit. Please try again."):j(!0)}catch{c("Something went wrong. Please try again.")}finally{g(!1)}}};return e.jsxs("div",{style:{background:t.bg,minHeight:"100vh",fontFamily:t.body,color:t.white},children:[e.jsx(C,{title:"Transfer a Ticket | Future Summit 2026",description:"Change the name on a Future Summit 2026 ticket. Enter your confirmation number and the new attendee's details.",path:"/transfer",noIndex:!0}),e.jsx(E,{}),e.jsxs("div",{style:{maxWidth:"560px",margin:"0 auto",padding:s?"0 16px":"0 24px",boxSizing:"border-box",width:"100%"},children:[e.jsxs("div",{style:{textAlign:"center",padding:s?"100px 0 32px":"120px 0 40px"},children:[e.jsxs("div",{style:{fontFamily:t.body,fontSize:"11px",letterSpacing:"0.18em",textTransform:"uppercase",color:t.gray,fontWeight:500,marginBottom:"16px"},children:["November 9â10, 2026 ·"," ",e.jsx("a",{href:"https://www.visitcalgary.com/business/venue/offsite-venues/contemporary-calgary",target:"_blank",rel:"noopener noreferrer",style:{color:t.gold,textDecoration:"none",borderBottom:"1px solid rgba(217,190,129,0.35)"},children:"Contemporary Calgary"}),", AB"]}),e.jsxs("h1",{style:{fontFamily:t.heading,fontSize:s?"28px":"38px",fontWeight:400,color:t.white,margin:"0 0 16px",lineHeight:1.1,letterSpacing:"0.04em"},children:["TRANSFER YOUR ",e.jsx("span",{style:{color:t.gold},children:"PASS"})]}),e.jsx("p",{style:{fontFamily:t.body,color:t.gray,fontSize:s?"14px":"15px",maxWidth:"420px",margin:"0 auto",lineHeight:1.7,fontWeight:300},children:"Can't make it? Transfer your ticket to a colleague free of charge. We'll review your request within 2 business days."})]}),h?e.jsx(u,{delay:0,children:e.jsxs("div",{style:{background:"rgba(217,190,129,0.06)",border:"1px solid rgba(217,190,129,0.25)",borderRadius:"10px",padding:"20px",marginBottom:"32px",textAlign:"center"},children:[e.jsx("div",{style:{fontFamily:t.heading,fontSize:"13px",color:t.gold,letterSpacing:"0.08em",marginBottom:"6px"},children:"TRANSFER WINDOW CLOSED"}),e.jsxs("div",{style:{fontFamily:t.body,fontSize:"13px",color:t.gray,fontWeight:300},children:["Name transfers were available until October 26, 2026. For assistance, contact"," ",e.jsx("a",{href:"mailto:[email protected]",style:{color:t.gold,textDecoration:"none"},children:"[email protected]"}),"."]})]})}):w?e.jsxs(u,{delay:0,children:[e.jsxs(R,{style:{marginBottom:"40px",textAlign:"center"},children:[e.jsx("div",{style:{width:"48px",height:"48px",borderRadius:"50%",background:"rgba(217,190,129,0.10)",border:"1px solid rgba(217,190,129,0.3)",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 16px",fontSize:"20px",color:t.gold},children:"â"}),e.jsx("div",{style:{fontFamily:t.heading,fontSize:"22px",color:t.white,marginBottom:"8px",letterSpacing:"0.04em"},children:"REQUEST SUBMITTED"}),e.jsxs("div",{style:{fontFamily:t.body,fontSize:"13px",color:t.gray,fontWeight:300,lineHeight:1.7},children:["We've received your transfer request and sent a confirmation to ",e.jsx("strong",{style:{color:t.grayLight},children:r.currentEmail}),". We'll review it within 2 business days and notify both you and the new ticket holder."]})]}),e.jsx("div",{style:{textAlign:"center",paddingBottom:"48px"},children:e.jsxs("div",{style:{fontFamily:t.body,fontSize:"13px",color:t.gray,fontWeight:300},children:["Questions?"," ",e.jsx("a",{href:"mailto:[email protected]",style:{color:t.gold,textDecoration:"none"},children:"[email protected]"})]})})]}):e.jsxs(u,{delay:100,children:[e.jsx("div",{style:{textAlign:"center",marginBottom:"24px"},children:e.jsx("span",{style:{display:"inline-block",fontFamily:t.body,fontSize:"12px",color:t.gold,border:`1px solid ${t.goldBorder}`,borderRadius:"4px",padding:"4px 12px",letterSpacing:"0.06em"},children:"Free until October 26, 2026"})}
1),e.jsxs(k,{style:{padding:s?"20px":"28px",marginBottom:"16px"},children:[e.jsx(f,{children:"Current Ticket"}),e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px",marginBottom:"24px"},children:[e.jsx(l,{label:"Confirmation Number",placeholder:"FS-XXXXXX-01",value:r.confirmationNumber,onChange:o("confirmationNumber"),required:!0,error:n.confirmationNumber}),e.jsx(l,{label:"Your Email (on the ticket)",placeholder:"[email protected]",type:"email",value:r.currentEmail,onChange:o("currentEmail"),required:!0,error:n.currentEmail})]}),e.jsx("div",{style:{height:"1px",background:t.borderSubtle,margin:"0 0 24px"}}),e.jsx(f,{children:"New Ticket Holder Details"}),e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[e.jsx(l,{label:"Full Name",placeholder:"Jane Smith",value:r.newName,onChange:o("newName"),required:!0,error:n.newName}),e.jsx(l,{label:"Email",placeholder:"[email protected]",type:"email",value:r.newEmail,onChange:o("newEmail"),required:!0,error:n.newEmail}),e.jsx(l,{label:"Company",placeholder:"Acme Corp",value:r.newCompany,onChange:o("newCompany"),required:!0,error:n.newCompany}),e.jsx(l,{label:"Job Title",placeholder:"VP of Engineering",value:r.newJobTitle,onChange:o("newJobTitle"),required:!0,error:n.newJobTitle})]})]}),y&&e.jsx("div",{style:{fontFamily:t.body,fontSize:"13px",color:t.gold,marginBottom:"12px",textAlign:"center",padding:"12px",background:"rgba(217,190,129,0.06)",border:"1px solid rgba(217,190,129,0.2)",borderRadius:"6px"},children:y}),e.jsx("button",{onClick:v,disabled:d,style:{width:"100%",padding:"14px 28px",borderRadius:"6px",background:d?"rgba(217,190,129,0.5)":t.gold,color:t.bg,border:"none",fontFamily:t.body,fontSize:"13px",fontWeight:600,letterSpacing:"0.06em",textTransform:"uppercase",cursor:d?"not-allowed":"pointer",marginBottom:"32px"},children:d?"Submittingâ¦":"Submit Transfer Request"}),e.jsx("div",{style:{textAlign:"center",paddingBottom:"48px",fontFamily:t.body,fontSize:"12px",color:t.gray,fontWeight:300,lineHeight:1.7},children:"We verify your details before processing. Both you and the new ticket holder will receive an email once the transfer is approved."})]})]}),e.jsx(F,{})]})};export{$ 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.