PageSourceSearch

https://cloudconnectexpo.com/assets/ExhibitorStandInfo-KHkJZfYO.js

js cloudconnectexpo.com collected 2026-10-08 05:23:35 UTC 5,431 bytes, 1 lines download raw bytes

1import{j as e}from"./vendor-ui-CUbs9U0i.js";import{J as p,E as l,d as f,z as g,G as N,e as j,L as b,V as t,Q as v,N as _,bN as c,P as y,F as I,s as w}from"./index-eXyKydxB.js";import{h as E,r as m}from"./vendor-react-DINOD1j6.js";import"./vendor-dnd-D5C-TQg0.js";import{u as T,c as C}from"./vendor-data-Cy3HWlIP.js";import"./vendor-editor-BGbvbWTS.js";import{f as F}from"./exhibitorSession-ldK5R2PO.js";import"./vendor-charts-CpvsTmnO.js";const B=()=>{const h=E(),{toast:i}=p(),{data:s,isLoading:x,error:r,refetch:S}=T({queryKey:["exhibitor-stand-info"],queryFn:async()=>{const a=sessionStorage.getItem("impersonation_token"),d=sessionStorage.getItem("impersonation_refresh");let n=w;a&&d&&(n=C("https://sqgyuupfudpeyacionsn.supabase.co","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InNxZ3l1dXBmdWRwZXlhY2lvbnNuIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzA3MzU0NTMsImV4cCI6MjA4NjMxMTQ1M30.Zq4ORx4LTdXVTpmT0cjvE3pOzZCpFXAXpbLQ5_UO0F8",{auth:{storage:{getItem:()=>null,setItem:()=>{},removeItem:()=>{}},persistSession:!1,autoRefreshToken:!0}}),await n.auth.setSession({access_token:a,refresh_token:d}));const{data:{session:o}}=await n.auth.getSession();if(!o)throw h("/exhibitor-portal/login"),new Error("Not authenticated");return await F(o.user.id,n,"id, name, booth_number, stand_type, booth_length, booth_width, open_sides, logo_url, user_id")||{_userId:o.user.id,_email:o.user.email}},refetchInterval:3e3,refetchOnWindowFocus:!0,refetchOnMount:!0});m.useEffect(()=>{},[s]),m.useEffect(()=>{r&&i({title:"Error",description:"Failed to load stand information. Please try again.",variant:"destructive"})},[r,i]);const u=[{id:"stand-info-title",component:e.jsx("section",{className:"py-12",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsx(l,{pageName:"exhibitor-stand-info",sectionName:"title",contentKey:"heading",defaultValue:"Booth Information",className:"text-4xl font-bold mb-4 text-foreground",as:"h1"}),e.jsx(l,{pageName:"exhibitor-stand-info",sectionName:"title",contentKey:"description",defaultValue:"Everything you need to know about your exhibition booth, including setup times, specifications, and requirements.",className:"text-lg text-muted-foreground max-w-3xl",as:"p"})]})})},{id:"stand-info-form",component:e.jsx("section",{className:"pb-12",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs(f,{children:[e.jsx(g,{children:e.jsx(N,{children:"Your Booth Details"})}),e.jsx(j,{className:"space-y-6",children:x?e.jsx("div",{className:"flex justify-center py-8",children:e.jsx(b,{className:"h-8 w-8 animate-spin text-primary"})}):s!=null&&s.id?e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsx(t,{className:"text-muted-foreground text-sm",children:"Booth Number"}),e.jsx("p",{className:"text-lg font-semibold mt-1",children:(s==null?void 0:s.booth_number)||"Not assigned"})]}),e.jsxs("div",{children:[e.jsx(t,{className:"text-muted-foreground text-sm",children:"Stand Type"}),e.jsx("p",{className:"text-lg font-semibold mt-1",children:(s==null?void 0:s.stand_type)||"Not specified"})]})]}),e.jsxs("div",{className:"grid grid-cols-3 gap-6",children:[e.jsxs("div",{children:[e.jsx(t,{className:"text-muted-foreground text-sm",children:"Length"}),e.jsx("p",{className:"text-lg font-semibold mt-1",children:s!=null&&s.booth_length?`${s.booth_length} ft`:"Not specified"})]}),e.jsxs("div",{children:[e.jsx(t,{className:"text-muted-foreground text-sm",children:"Width"}),e.jsx("p",{className:"text-lg font-semibold mt-1",children:s!=null&&s.booth_width?`${s.booth_width} ft`:"Not specified"})]}),e.jsxs("div",{children:[e.jsx(t,{className:"text-muted-foreground text-sm",children:"Open Sides"}),e.jsx("p",{className:"text-lg font-semibold mt-1",children:(s==null?void 0:s.open_sides)!==void 0?s.open_sides:"Not specified"})]})]}),(s==null?void 0:s.booth_length)&&(s==null?void 0:s.booth_width)&&e.jsxs("div",{className:"pt-4 border-t",children:[e.jsx(t,{className:"text-muted-foreground text-sm",children:"Total Area"}),e.jsxs("p",{className:"text-lg font-semibold mt-1",children:[(s.booth_length*s.booth_width).toFixed(2)," ft²"]})]})]}):e.jsxs("div",{className:"text-center py-8 text-muted-foreground",children:[e.jsx("p",{children:"No booth information available yet."}),e.jsx("p",{className:"text-sm mt-2",children:"Please contact the event organizers for your booth details."})]})})]})})})}];return e.jsxs(e.Fragment,{children:[e.jsx(v,{children:e.jsx("title",{children:"Booth Information | Exhibitor Portal"})}),e.jsxs("div",{className:"min-h-screen flex flex-col",children:[e.jsx(_,{}),e.jsx("main",{className:"flex-1 pt-page pb-12",children:e.jsx("div",{className:"container mx-auto px-6",children:e.jsxs("div",{className:"flex gap-8 mt-[60px]",children:[e.jsx("aside",{className:"w-64 flex-shrink-0 sticky top-24 h-fit hidden lg:block",children:e.jsx(c,{exhibitorName:s==null?void 0:s.name,standNumber:s==null?void 0:s.booth_number,logoUrl:s==null?void 0:s.logo_url,renderTrigger:!1,alwaysVisible:!0})}),e.jsx("div",{className:"lg:hidden fixed top-20 left-4 z-50",children:e.jsx(c,{exhibitorName:s==null?void 0:s.name,standNumber:s==null?void 0:s.booth_number,logoUrl:s==null?void 0:s.logo_url,renderTrigger:!0})}),e.jsx("div",{className:"flex-1 min-w-0",children:e.jsx(y,{pageName:"exhibitor-stand-info",sections:u})})]})})}),e.jsx(I,{})]})]})};export{B 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.