import{ao as n,aQ as i,L as o}from"./app-k0jcl5PQ.js";import{P as u,S as l}from"./CssKhUy4.chunk.js";const d="interactives.pendingIndicator",g=o.encloseNamespace(d);function f(t){let e="d-flex align-items-center h-100";return e+=t.showLabel?" justify-content-between":" justify-content-center",t.className&&(e+=` ${t.className}`),e}function x(t){const{title:e,showLabel:a,tooltipClassName:r,showIndicator:c=!0}=t,s=()=>n.jsxs("div",{className:f(t),children:[!!a&&n.jsx("em",{children:g("pending")}),!!c&&n.jsx(u,{})]});return e?n.jsx(i,{title:e,spanHack:!0,spanHackClassName:r||"h-100 w-100 d-flex align-items-center",children:n.jsx(s,{})}):n.jsx(s,{})}function j(t,e){switch(t){case"score_desc":return[{id:e,desc:!0}];case"score_asc":return[{id:e,desc:!1}];default:return[]}}function p(t,e){return t==="marking_required"&&!e.awaitingMarking||t==="helping_hand"&&e.percentCorrect>=l.HIGH||t==="not_completed"&&!e.unanswered}export{x as P,j as g,p as s};
//# sourceMappingURL=B6Awc0tS.chunk.js.map
