import{g4 as t,ao as e,a_ as o,ap as c,L as l}from"./app-k0jcl5PQ.js";import{E as m}from"./U4M4wGTR.chunk.js";import{V as h}from"./CKctgafI.chunk.js";import{A as g}from"./BgZMo0y9.chunk.js";import{E as p}from"./DIZMv7tu.chunk.js";const f={[t.Archived]:{svg:g,svgColorClassName:"text-secondary",actionName:"Archive",statusName:"Archived"},[t.Draft]:{svg:m,svgColorClassName:"",actionName:"Draft",statusName:"Draft"},[t.Published]:{svg:h,svgColorClassName:"text-success",actionName:"Publish",statusName:"Published"}},b="_badge_1fgi1_1",u="_draftLight_1fgi1_5",v="_draftDark_1fgi1_10",_="_published_1fgi1_15",N="_archived_1fgi1_20",r={badge:b,draftLight:u,draftDark:v,published:_,archived:N};function x(a){let s=`rounded-pill d-flex align-items-center ps-2 py-1 fw-semibold ms-2 ${r.badge}`;switch(a.status){case t.Published:s+=` ${r.published}`;break;case t.Archived:s+=` ${r.archived}`;break;case t.Draft:s+=` ${a.darkMode?r.draftDark:r.draftLight}`;break}return a.wrapperClassName&&(s+=` ${a.wrapperClassName}`),s}function y(a){const{statusName:s,svg:d}=f[a.status];return e.jsxs("div",{className:x(a),children:[e.jsx(o,{svg:d}),e.jsx("div",{children:s})]})}const k="_stickyWrapper_190fb_1",j="_channelBanner_190fb_8",C="_badgeWrapper_190fb_14",D="_badge_190fb_14",i={stickyWrapper:k,channelBanner:j,badgeWrapper:C,badge:D},w="shared.classificationPreviewBanner",n=l.encloseNamespace(w),W={company:n("companyTitle"),topic:n("topicTitle"),channel:n("channelTitle")},P={company:i.stickyWrapper,topic:i.stickyWrapper,channel:i.channelBanner};function L(a){return e.jsxs("div",{className:c("py-2 d-flex justify-content-space-between bg-dark text-white mx-2 rounded",P[a.type]),children:[e.jsx("div",{className:c("position-absolute d-flex",i.badgeWrapper),children:e.jsx(y,{status:a.status,wrapperClassName:i.badge,darkMode:!0})}),e.jsx("div",{className:"flex-grow-1",children:e.jsxs("h1",{className:"text-center my-3 h5",children:[e.jsx(p,{emoji:"👀"}),W[a.type]]})})]})}export{L as P};
//# sourceMappingURL=D_5WAzua.chunk.js.map
