import{Hy as e,Zv as t,kp as n,lh as r,o as i,sn as a}from"./index-DDwwBb9e.js";import{t as o}from"./next-error-B29kz4JN.js";var s=e();function c(){let e=n(),c=typeof e.query.id==`string`?e.query.id:``,l=r.share.getShared.useQuery({id:c},{enabled:!!c});return l.error?(0,s.jsx)(t,{children:`Error loading shared item`}):l.isSuccess?!l.data||l.data.resourceType!==`TRACE`?(0,s.jsx)(o,{statusCode:404}):(0,s.jsx)(a,{publicPage:!0,children:(0,s.jsx)(i,{traceId:l.data.resourceId})}):null}export{c as default};
//# sourceMappingURL=_id_-CFW2M60b2.js.map