"use strict";(globalThis.webpackChunkacadlix=globalThis.webpackChunkacadlix||[]).push([["admin_quiz_front_dashboard_quiz_result_section_marks_obtained"],{"./src/front/dashboard/quiz/normalMode/result-components/MarksObtained.js":(e,s,a)=>{a.r(s),a.d(s,{default:()=>p}),a("react");const i=a.p+"images/icons8-correct-96.eab3cad7.png";var t=a("./node_modules/@mui/material/esm/Card/Card.js"),r=a("./node_modules/@mui/material/esm/Box/Box.js"),d=a("./node_modules/@mui/material/esm/Avatar/Avatar.js"),n=a("./node_modules/@mui/material/esm/Typography/Typography.js"),o=a("./node_modules/@mui/material/esm/Grid/Grid.js"),l=a("@wordpress/i18n"),u=a("./node_modules/prop-types/index.js"),c=a.n(u),m=a("react/jsx-runtime");const x=({getPoints:e,getTotalPoints:s})=>(0,m.jsx)(o.A,{size:{xs:6,sm:4},sx:{textAlign:"center"},children:(0,m.jsxs)(t.A,{sx:{padding:2},children:[(0,m.jsx)(r.A,{sx:{display:"flex",justifyContent:"center"},children:(0,m.jsx)(d.A,{src:i,className:"acadlix-quiz-result-avatar acadlix-quiz-result-avatar-marks-obtained"})}),(0,m.jsxs)(r.A,{children:[(0,m.jsxs)(n.A,{component:"div",variant:"h6",sx:{fontWeight:600},className:"acadlix-quiz-result-text acadlix-quiz-result-text-marks-obtained",children:[e()?.toFixed(2),"/",s()?.toFixed(2)]}),(0,m.jsx)(n.A,{component:"div",variant:"subtitle2",className:"acadlix-quiz-result-subtitle acadlix-quiz-result-subtitle-marks-obtained",children:(0,l.__)("Marks Obtained","acadlix")})]})]})}),p=x;x.propTypes={getPoints:c().func.isRequired,getTotalPoints:c().func.isRequired}}}]);