PageSourceSearch

https://www.claylight.ai/assets/dashboard._draftId.inbox-HQG_XZ3L.js

js claylight.ai collected 2026-10-04 11:02:05 UTC 3,503 bytes, 3 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a10249-f373-7d62-ba69-80720272406f")}catch(e){}}();import{j as e,r as m}from"./client-AxuVkhAL.js";import{L as s,ah as a}from"./main-pp2cB3hQ.js";import{a0 as l}from"./index-DHffA32s.js";import{I as c,c as p,s as n}from"./userProvisioning-dX5nasKf.js";import{S as x}from"./SpaceMobileNav-CJN-ArCI.js";import{S as d}from"./SpaceInbox-NVDqHtD7.js";import{M as f}from"./elements-B2jyZUfD.js";import{t as u}from"./landingHandoff-Bb-2MOAU.js";import"./pendingReferral-02BlqOZi.js";import"./with-selector-hv9xC1B_.js";import"./index-CojVARcc.js";import"./planCatalog-Ctdq3bG6.js";import"./chosenPlan-DRUi9WjM.js";import"./createLucideIcon-mOtR8iqU.js";import"./clock-KrHyPvDc.js";import"./fbCookies-BuEZIGoK.js";import"./useInboxData-DGWYnbJW.js";import"./Chip-1ytWmj3c.js";import"./preprocessChatEmojis-03FTtS-d.js";import"./format-time-ago-DEragMKL.js";import"./message-square-D846dEHy.js";import"./file-text-DFK-rygr.js";import"./triangle-alert-Cn7uYCW4.js";import"./use_paginated_query-DQ-oMoNS.js";import"./Panel-cdC-RuiF.js";import"./remarkPlugins-DQ1cHU_o.js";import"./index-C1a36kDs.js";import"./Label-ZH64hOEl.js";import"./TabsBar-BPd7JRcK.js";import"./EmojiIcon-Bcu9nZph.js";import"./FilterChip-DDkecqzT.js";import"./lock-Bww7kSLO.js";const h={initial:{opacity:0,y:12},animate:{opacity:1,y:0}},b=[.16,1,.3,1];function g({draftId:t,itemId:o}){const r=c(p.spaces.queries.getDraft,{draftId:t});if(r===void 0)return e.jsx("main",{className:"text-muted-foreground flex min-h-0 min-w-0 flex-1 items-center justify-center text-sm",children:"Loading inbox..."});if(r===null)return e.jsxs("main",{className:"mx-auto flex max-w-md flex-col items-center gap-4 py-20 text-center",children:[e.jsx("h1",{className:"text-foreground text-xl font-semibold",children:"Inbox not found"}),e.jsx("p",{className:"text-muted-foreground text-sm",children:"This space may have been archived, or it isn't one of yours."}),e.jsx(s,{to:"/dashboard",children:e.jsxs(n,{variant:"subtle",children:[e.jsx(l,{className:"h-4 w-4"}),"Back to dashboard"]})})]});const i=r.portalId??null;return e.jsxs("main",{className:"flex min-h-0 w-full min-w-0 flex-1 flex-col gap-4 overflow-y-auto px-3 pb-3 lg:gap-5 lg:overflow-y-visible",children:[e.jsx(x,{draftId:t}),e.jsx(f,{...h,transition:{duration:.45,ease:b,delay:.06},className:"flex flex-col lg:min-h-0 lg:flex-1",children:i?e.jsx(d,{portalId:i,initialItemId:o},`${i}:${o??""}
1`):e.jsxs("div",{className:"border-border/40 bg-foreground/4 flex flex-1 flex-col items-center justify-center gap-3 rounded-2xl border px-6 py-16 text-center",children:[e.jsx("p",{className:"text-foreground/85 text-sm font-medium",children:"Nothing here yet"}),e.jsx("p",{className:"text-muted-foreground max-w-sm text-xs",children:"Publish your space to start receiving visitor chats and form submissions. They'll land in this inbox."}),e.jsx(s,{to:"/platform",search:{draft:t},children:e.jsx(n,{variant:"subtle",size:"sm",children:"Open editor to publish"})})]})})]})}function X(){const{draftId:t}=a.useParams(),{item:o}=a.useSearch();return m.useEffect(()=>{u("claylight_inbox_opened",{draft_id:t,inbox_scope:"space",source:"space_inbox"})},[t]),e.jsx(g,{draftId:t,itemId:o})}export{X as component};
2
3//# chunkId=01a10249-f373-7d62-ba69-80720272406f

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.