import{t as e}from"./jsx-runtime-CiQ1k8xo.js";import{o as t}from"./lib-MoKmYgcO.js";var n=e();function r(e){return e===`ready`?null:(0,n.jsx)(`div`,{className:`flex h-full items-center justify-center px-6 text-center text-sm text-token-text-tertiary`,children:e===`loading`?(0,n.jsx)(`span`,{className:`loading-shimmer-pure-text font-medium`,children:(0,n.jsx)(t,{id:`artifactTab.previewLoading`,defaultMessage:`Preparing preview…`,description:`Loading state shown while the artifact preview is loading`})}):(0,n.jsx)(t,{id:`artifactTab.previewError`,defaultMessage:`Couldn’t load this preview`,description:`Error state shown when an artifact preview fails to load`})})}export{r as t};
//# sourceMappingURL=artifact-preview-status-DssB6yyW.js.map