1 2!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._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="610011e7-c811-5443-a0a3-b925261a651a")}catch(e){}}(); 3(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`7f5735535a998384777c33621ed8267244a7661b`}}catch{}})();import"./rolldown-runtime-DdaB3J1E.js";import{St as e,l as t,t as n}from"./jsx-runtime-DDP1fg5d.js";import{X as r,a as i,s as a}from"./button-DSsMHGBe.js";import{t as o}from"./badge-dbxg2XCM.js";e();var s=n();function c({variant:e,status:t,size:n,className:c,hover:l,...u}){let{t:d}=r(`common`),f=`muted`,p;switch(t){case`draft`:f=`warning`,p=`bg-warning`;break;case`published`:f=`success`,p=`bg-success`;break;case`archived`:f=`muted`,p=`bg-muted-foreground`;break;case`not_exist`:f=`destructive`,p=`bg-destructive`;break;default:a(t,`Unhandled status case: ${t}`)}return e===`dot-only`?(0,s.jsx)(`span`,{className:i(`inline-block h-2 w-2 rounded-full`,p,c),...u}):e===`dot`?(0,s.jsxs)(`div`,{className:i(`flex items-center gap-1`,c),...u,children:[(0,s.jsx)(`div`,{className:i(`h-2 w-2 rounded-full`,p)}),(0,s.jsx)(`span`,{className:i({"text-sm":n===`small`,"text-base":n===`normal`}),children:d(`components__status__${t}`)})]}):(0,s.jsx)(o,{variant:f,noHover:!l,className:c,...u,children:d(`components__status__${t}`)})}t({components__status__draft:`Brouillon`,components__status__published:`Publié`,components__status__archived:`Archivé`,components__status__not_exist:`Non créé`});export{c as t}; 4//# debugId=610011e7-c811-5443-a0a3-b925261a651a
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.