PageSourceSearch

https://chemicalriskexpo.com/assets/ExhibitorContacts-BPCQ8n73.js

js chemicalriskexpo.com collected 2026-09-29 03:47:09 UTC 3,337 bytes, 1 lines download raw bytes

1import{j as e}from"./vendor-ui-RLVjjRbR.js";import{E as m,H as g,N,cc as d,P as b,F as j,s as I}from"./index-c2K-vwfN.js";import{u as S,h as E,r as o}from"./vendor-react-BjT3qoi-.js";import"./vendor-dnd-goOuDNTF.js";import"./vendor-editor-Qa771eO-.js";import{C as y}from"./ContactsManager-A9eql1e0.js";import{c as _}from"./vendor-data-BroOEKFd.js";import"./vendor-charts-BX1bV7np.js";const z=()=>{const n=S(),[x]=E(),t=x.get("modal")==="true",[s,h]=o.useState({}),[p,u]=o.useState(!0);o.useEffect(()=>{(async()=>{const i=sessionStorage.getItem("impersonation_token"),r=sessionStorage.getItem("impersonation_refresh");let a=I;i&&r&&(a=_("https://hkfrrdbiwxftkdtfpwlf.supabase.co","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImhrZnJyZGJpd3hmdGtkdGZwd2xmIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzE1ODcyNDcsImV4cCI6MjA4NzE2MzI0N30.D5-g_r-Q3Atwjy4xBwDHK5ihumlh6MGcXK7Hqti5PQY",{auth:{storage:{getItem:()=>null,setItem:()=>{},removeItem:()=>{}},persistSession:!1,autoRefreshToken:!1}}),await a.auth.setSession({access_token:i,refresh_token:r}));const{data:{session:c}}=await a.auth.getSession();if(!c){n("/exhibitor-portal/login");return}const{data:l}=await a.from("exhibitors").select("id, name, booth_number, logo_url").eq("user_id",c.user.id).maybeSingle();l&&h(l),u(!1)})()},[n]);const f=[{id:"contacts-title",component:e.jsx("section",{className:"py-12",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsx(m,{pageName:"exhibitor-contacts",sectionName:"title",contentKey:"heading",defaultValue:"Manage Contacts",className:"text-4xl font-bold mb-4 text-foreground",as:"h1"}),e.jsx(m,{pageName:"exhibitor-contacts",sectionName:"title",contentKey:"description",defaultValue:"Manage your team contacts and key personnel for the exhibition.",className:"text-base md:text-lg text-muted-foreground w-full",as:"p"})]})})},{id:"contacts-manager",component:e.jsx("section",{className:"pb-12",children:e.jsx("div",{className:"container mx-auto px-4",children:p?e.jsx("div",{className:"flex justify-center py-8",children:e.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary"})}):s.id?e.jsx(y,{exhibitorId:s.id}):e.jsx("div",{className:"text-center py-8 text-muted-foreground",children:e.jsx("p",{children:"No exhibitor profile found. Please contact support."})})})})}];return e.jsxs(e.Fragment,{children:[e.jsx(g,{children:e.jsx("title",{children:"Manage Contacts | Exhibitor Portal"})}),e.jsxs("div",{className:"min-h-screen flex flex-col",children:[!t&&e.jsx(N,{}),e.jsx("main",{className:`flex-1 pb-12 ${t?"pt-6":"pt-page"}`,children:e.jsx("div",{className:"container mx-auto px-6",children:e.jsxs("div",{className:t?"":"flex gap-8 mt-[60px]",children:[!t&&e.jsx("aside",{className:"w-64 flex-shrink-0 sticky top-24 h-fit hidden lg:block",children:e.jsx(d,{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})}),!t&&e.jsx("div",{className:"lg:hidden fixed top-20 left-4 z-50",children:e.jsx(d,{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(b,{pageName:"exhibitor-contacts",sections:f})})]})})}),!t&&e.jsx(j,{})]})]})};export{z 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.