1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6086],{8114:(e,t,r)=>{r.d(t,{n:()=>i});var a=r(52200);let i=e=>{let{children:t,className:r="",dark:i=!1,id:n}=e;return(0,a.jsx)("section",{id:n,className:"\n py-12 md:py-20 lg:py-24\n ".concat(i?"bg-surface-900 text-white":"bg-white text-gray-900","\n ").concat(r,"\n overflow-x-hidden\n "),children:(0,a.jsx)("div",{className:"container mx-auto px-4 md:px-6 lg:px-8 max-w-7xl",children:t})})}},8969:(e,t,r)=>{r.d(t,{AnimatedElement:()=>n,f:()=>s});var a=r(52200),i=r(71290);let n=e=>{let{children:t,className:r="",delay:n=0}=e;return(0,a.jsx)(i.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.3,delay:n,ease:[.25,.1,.25,1]},viewport:{once:!0,margin:"-50px"},className:r,children:t})},s=e=>{let{children:t,className:r=""}=e;return(0,a.jsx)("div",{className:r,children:t})}},14790:(e,t,r)=>{r.r(t),r.d(t,{default:()=>y});var a=r(52200),i=r(8969),n=r(8114),s=r(80388),l=r(18365),o=r(94186),c=r(30402),d=r(25173),m=r(85459);let x=[{title:"Board-Specific Content",description:"MCQs aligned with both Punjab and Sindh board syllabi",icon:l.A},{title:"Topic-Based Filtering",description:"Practice questions by specific chapter and topic",icon:o.A},{title:"Comprehensive Coverage",description:"All subjects: Mathematics, Biology, Chemistry, Physics",icon:c.A},{title:"Verified Quality",description:"Every question reviewed for accuracy and relevance",icon:d.A}],u={physics:{id:"physics-demo",subject:"Physics",chapter:"Dynamics",topic:"Simple Harmonic Motion",question:"A 2 kg mass attached to a spring oscillates with simple harmonic motion. The position of the mass is given by $x(t) = 0.3 \\cos(4\\pi t)$ where $x$ is in meters and $t$ is in seconds. What is the maximum kinetic energy of the mass?",options:[{id:1,text:"$2.4\\pi^2 \\text{ J}$",isCorrect:!1},{id:2,text:"$4.8\\pi^2 \\text{ J}$",isCorrect:!0},{id:3,text:"$9.6\\pi^2 \\text{ J}$",isCorrect:!1},{id:4,text:"$1.2\\pi^2 \\text{ J}$",isCorrect:!1}],explanation:"For a mass in SHM given by $x(t) = A\\cos(\\omega t)$, the velocity is $v(t) = -A\\omega\\sin(\\omega t)$. The maximum speed occurs when $\\sin(\\omega t) = 1$, giving $v_{max} = A\\omega$. Here, $A = 0.3 \\text{ m}$ and $\\omega = 4\\pi \\text{ rad/s}$, so $v_{max} = 0.3 \\times 4\\pi = 1.2\\pi \\text{ m/s}$. The maximum kinetic energy is $K_{max} = \\frac{1}{2}mv_{max}^2 = \\frac{1}{2} \\times 2 \\times (1.2\\pi)^2 = 4.8\\pi^2 \\text{ J}$."},chemistry:{id:"chemistry-demo",subject:"Chemistry",chapter:"Periodic Table",topic:"Acid-Base Chemistry",question:"Calculate the pH of a buffer solution prepared by mixing 0.15 mol of acetic acid (CH$_3$COOH) and 0.10 mol of sodium acetate (CH$_3$COONa) in a 500 mL solution. The $K_a$ of acetic acid is $1.8 \\times 10^{-5}$.",options:[{id:1,text:"pH = 4.74",isCorrect:!1},{id:2,text:"pH = 4.56",isCorrect:!0},{id:3,text:"pH = 5.74",isCorrect:!1},{id:4,text:"pH = 3.74",isCorrect:!1}],explanation:"Using the Henderson-Hasselbalch equation: $\\text{pH} = \\text{p}K_a + \\log\\frac{[\\text{base}]}{[\\text{acid}]}$. First, find $\\text{p}K_a = -\\log(1.8 \\times 10^{-5}) = 4.74$. The concentrations are $[\\text{acid}] = \\frac{0.15\\text{ mol}}{0.5\\text{ L}} = 0.3\\text{ M}$ and $[\\text{base}] = \\frac{0.10\\text{ mol}}{0.5\\text{ L}} = 0.2\\text{ M}$. So, $\\text{pH} = 4.74 + \\log\\frac{0.2}{0.3} = 4.74 + \\log(0.667) = 4.74 + (-0.176) = 4.56$."},biology:{id:"biology-demo",subject:"Biology",chapter:"Genetics",topic:"Mendelian Genetics",question:"A man with blood type A marries a woman with blood type B. They have a child with blood type O. What are the genotypes of the parents?",options:[{id:1,text:"Father: $I^A I^A$, Mother: $I^B I^B$",isCorrect:!1},{id:2,text:"Father: $I^A I^A$, Mother: $I^B i$",isCorrect:!1},{id:3,text:"Father: $I^A i$, Mother: $I^B i$",isCorrect:!0},{id:4,text:"Father: $I^A I^B$, Mother: $I^B I^B$",isCorrect:!1}],explanation:"Blood type is determined by multiple alleles: $I^A$, $I^B$, and $i$. Both $I^A$ and $I^B$ are dominant over $i$, while $I^A$ and $I^B$ show codominance. For a child to have type O blood (genotype $ii$), both parents must carry the recessive $i$ allele. Since the father has type A blood, his genotype must be $I^A i$ (not $I^A I^A$, which wouldn't provide an $i$ allele). Similarly, the mother with type B blood must have genotype $I^B i$. When both parents contribute their recessive $i$ alleles, the child inherits genotype $ii$ (type O)."},mathematics:{id:"mathematics-demo",subject:"Mathematics",chapter:"Calculus",topic:"Integration Techniques",question:"Evaluate the indefinite integral: $\\int \\frac{x^2}{\\sqrt{1-x^2}} dx$",options:[{id:1,text:"$-\\sqrt{1-x^2} - \\frac{x\\sqrt{1-x^2}}{2} + C$",isCorrect:!1},{id:2,text:"$-\\sqrt{1-x^2} + \\sin^{-1}x + C$",isCorrect:!1},{id:3,text:"$-x\\sqrt{1-x^2} - \\sin^{-1}x + C$",isCorrect:!1},{id:4,text:"$-\\frac{x\\sqrt{1-x^2}}{2} - \\frac{\\sin^{-1}x}{2} + C$",isCorrect:!0}],explanation:"Using substitution, let $u = 1-x^2$, then $du = -2x\\,dx$, which gives $x\\,dx = -\\frac{du}{2}$. The integral becomes: $\\int \\frac{x^2}{\\sqrt{1-x^2}}\\,dx = \\int \\frac{x \\cdot x}{\\sqrt{u}}\\,dx = \\int \\frac{x(1-u)}{\\sqrt{u}}\\,dx = \\int \\frac{x-xu}{\\sqrt{u}}\\,dx$. For the first term, $\\int \\frac{x}{\\sqrt{u}}\\,dx = \\int \\frac{x}{\\sqrt{1-x^2}}\\,dx = -\\sin^{-1}x + C_1$. For the second term, $\\int \\frac{xu}{\\sqrt{u}}\\,dx = \\int \\frac{x \\cdot u}{\\sqrt{u}}\\,dx = \\int x\\sqrt{u}\\,dx = \\int x\\sqrt{1-x^2}\\,dx$. Using integration by parts, this equals $-\\frac{x\\sqrt{1-x^2}}{2} + C_2$. Combining these results and adjusting the constants: $\\int \\frac{x^2}{\\sqrt{1-x^2}}\\,dx = -\\frac{\\sin^{-1}x}{2} - \\frac{x\\sqrt{1-x^2}}{2} + C$."}},p=()=>{var e;
1let[t,r]=(0,s.useState)("physics"),[l,o]=(0,s.useState)(u.physics),[c,d]=(0,s.useState)(null),[p,h]=(0,s.useState)(!1),g=e=>{r(e),o(u[e]),d(null),h(!1)};return(0,a.jsx)(n.n,{className:"py-24 bg-primary-50/50",id:"mcq-bank",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-16 items-center",children:[(0,a.jsx)(i.f,{className:"order-2 lg:order-1",children:(0,a.jsx)("div",{className:"relative rounded-2xl overflow-hidden shadow-xl border border-gray-200 bg-white",children:(0,a.jsxs)("div",{className:"p-2",children:[(0,a.jsxs)("div",{className:"h-10 flex items-center px-4 bg-gray-100 dark:bg-primary-900/90 rounded-t-lg",children:[(0,a.jsxs)("div",{className:"flex space-x-2 absolute left-4",children:[(0,a.jsx)("div",{className:"w-3 h-3 rounded-full bg-red-500"}),(0,a.jsx)("div",{className:"w-3 h-3 rounded-full bg-yellow-500"}),(0,a.jsx)("div",{className:"w-3 h-3 rounded-full bg-green-500"})]}),(0,a.jsx)("div",{className:"w-full text-center text-sm text-gray-700 dark:text-gray-100 font-medium",children:"Parhako MCQ Bank"})]}),(0,a.jsxs)("div",{className:"mt-2 p-4 bg-white rounded-b-lg border border-gray-100 shadow-sm",children:[(0,a.jsxs)("div",{className:"mb-6 flex flex-wrap gap-2",children:[(0,a.jsx)("div",{className:"px-3 py-1 rounded-full text-sm font-medium cursor-pointer transition-colors ".concat("physics"===t?"bg-primary-100 text-primary-700":"bg-gray-100 text-gray-700"),onClick:()=>g("physics"),children:"Physics"}),(0,a.jsx)("div",{className:"px-3 py-1 rounded-full text-sm font-medium cursor-pointer transition-colors ".concat("chemistry"===t?"bg-primary-100 text-primary-700":"bg-gray-100 text-gray-700"),onClick:()=>g("chemistry"),children:"Chemistry"}),(0,a.jsx)("div",{className:"px-3 py-1 rounded-full text-sm font-medium cursor-pointer transition-colors ".concat("biology"===t?"bg-primary-100 text-primary-700":"bg-gray-100 text-gray-700"),onClick:()=>g("biology"),children:"Biology"}),(0,a.jsx)("div",{className:"px-3 py-1 rounded-full text-sm font-medium cursor-pointer transition-colors ".concat("mathematics"===t?"bg-primary-100 text-primary-700":"bg-gray-100 text-gray-700"),onClick:()=>g("mathematics"),children:"Mathematics"})]}),(0,a.jsx)(m.y,{questionNumber:1,question:l.question,options:l.options.map(e=>({...e,isSelected:c===e.id})),explanation:p?l.explanation:void 0,status:null===c?"unattempted":(null==(e=l.options.find(e=>e.id===c))?void 0:e.isCorrect)?"correct":"incorrect",subjectName:"".concat(l.subject," - ").concat(l.chapter," - ").concat(l.topic),showExplanation:p,className:"border-0 pb-0",onOptionClick:e=>{null===c&&(d(e),h(!0))},interactive:!0})]})]})})}),(0,a.jsx)("div",{className:"order-1 lg:order-2 space-y-8",children:(0,a.jsxs)(i.f,{children:[(0,a.jsx)("span",{className:"inline-block px-4 py-2 bg-primary-100 rounded-full text-primary-700 font-medium mb-4",children:"20,000+ Practice Questions"}),(0,a.jsx)("h2",{className:"text-3xl md:text-4xl font-display font-bold text-gray-900 dark:text-gray-200 mb-6",children:"Master Every Topic with Our MCQ Bank"}),(0,a.jsx)("p",{className:"text-gray-600 dark:text-gray-300 text-lg leading-relaxed mb-6",children:"Our comprehensive question bank breaks down each subject into chapters and specific topics, matching both Punjab and Sindh board syllabi. Practice exactly what you need to improve on."}),(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 mt-8",children:x.map((e,t)=>(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("div",{className:"w-10 h-10 rounded-lg bg-primary-100 dark:bg-primary-700 flex-shrink-0 flex items-center justify-center text-primary-700",children:(0,a.jsx)(e.icon,{className:"w-5 h-5"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"font-bold text-gray-900 dark:text-gray-200",children:e.title}),(0,a.jsx)("p",{className:"text-gray-600 dark:text-gray-300 text-sm",children:e.description})]})]},t))}),(0,a.jsx)("div",{className:"mt-8 pt-8 border-t border-gray-200",children:(0,a.jsxs)("div",{className:"flex items-center gap-2 text-primary-700 font-medium",children:[(0,a.jsx)("span",{children:"Available subjects:"}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)("span",{className:"px-2 py-1 bg-primary-50 dark:bg-primary-700 rounded text-xs",children:"Physics"}),(0,a.jsx)("span",{className:"px-2 py-1 bg-primary-50 dark:bg-primary-700 rounded text-xs",children:"Chemistry"}),(0,a.jsx)("span",{className:"px-2 py-1 bg-primary-50 dark:bg-primary-700 rounded text-xs",children:"Biology"}),(0,a.jsx)("span",{className:"px-2 py-1 bg-primary-50 dark:bg-primary-700 rounded text-xs",children:"Mathematics"}),(0,a.jsx)("span",{className:"px-2 py-1 bg-primary-50 dark:bg-primary-700 rounded text-xs",children:"English"}),(0,a.jsx)("span",{className:"px-2 py-1 bg-primary-50 dark:bg-primary-700 rounded text-xs",children:"IQ"})]})]})})]})})]})})};var h=r(9935),g=r(35358);function y(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(p,{}),(0,a.jsx)(g.StudyMaterialsSection,{}),(0,a.jsx)(h.InteractiveStudyPlanningSection,{})]})}},18365:(e,t,r)=>{r.d(t,{A:()=>i});var a=r(80388);let i=a.forwardRef(function(e,t){let{title:r,titleId:i,...n}=e;return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},n),r?a.createElement("title",{id:i},r):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75"}))})},24743:(e,t,r)=>{r.d(t,{A:()=>m});var a=r(52200),i=r(80388);let n=!1,s=!1,l=null,o=[],c=null;function d(){var e;if(0===o.length||!(null==(e=window.MathJax)?void 0:e.typeset))return;let t=[...o];o=[],c=null;try{window.MathJax.typeset(t)}catch(e){}}
1let m=(0,i.memo)(function(e){let{content:t,display:r=!1,className:m="",immediate:x=!1}=e,u=(0,i.useRef)(null),p=(0,i.useRef)(!1),[h,g]=(0,i.useState)(x);(0,i.useEffect)(()=>{if(x||!u.current)return;let e=new IntersectionObserver(t=>{let[r]=t;r.isIntersecting&&(g(!0),e.disconnect())},{rootMargin:x?"0px":"200px"});return e.observe(u.current),()=>e.disconnect()},[x]);let y=(0,i.useCallback)(()=>{if(!u.current||!t||p.current)return;p.current=!0;let e=t.replace(/</g,"<").replace(/>/g,">").replace(/\n/g,"<br>");u.current.innerHTML=e,function(e){var t;if(e){if(s&&(null==(t=window.MathJax)?void 0:t.typeset)){if(0===o.length&&!c){try{window.MathJax.typeset([e])}catch(e){}return}o.push(e),c&&clearTimeout(c),c=setTimeout(d,50);return}(l||(l=new Promise(e=>{if(n)return void e();if(window.MathJax||(window.MathJax={tex:{inlineMath:[["$","$"],["\\(","\\)"]],displayMath:[["$$","$$"],["\\[","\\]"]],processEscapes:!0,packages:["base","ams","noerrors","noundefined","boldsymbol"]},options:{skipHtmlTags:["script","noscript","style","textarea","pre","code"]}}),n=!0,document.getElementById("mathjax-script")){var t;s=!!(null==(t=window.MathJax)?void 0:t.typeset),e()}else{let t=document.createElement("script");t.id="mathjax-script",t.src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js",t.async=!0,t.onload=()=>{s=!0,e()},t.onerror=t=>{s=!1,e()},setTimeout(()=>{s||e()},1e3),document.head.appendChild(t)}}))).then(()=>{var t;if(null==(t=window.MathJax)?void 0:t.typeset)try{window.MathJax.typeset([e])}catch(e){}})}}(u.current)},[t]);return(0,i.useEffect)(()=>{if(h)if(x)y();else if("requestIdleCallback"in window){let e=requestIdleCallback(y);return()=>cancelIdleCallback(e)}else{let e=setTimeout(y,0);return()=>clearTimeout(e)}},[h,y,x]),(0,i.useEffect)(()=>{p.current=!1},[t]),(0,a.jsx)("div",{ref:u,className:"latex-renderer ".concat(m),style:{display:"block",width:"100%",whiteSpace:"normal",overflowWrap:"break-word",minHeight:h?"auto":"1.5em",boxSizing:"border-box"},children:!h&&!x&&(0,a.jsx)("div",{className:"animate-pulse bg-gray-200 dark:bg-gray-700 rounded h-5 w-full"})})})},30383:(e,t,r)=>{r.d(t,{A:()=>i});var a=r(80388);let i=a.forwardRef(function(e,t){let{title:r,titleId:i,...n}=e;return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},n),r?a.createElement("title",{id:i},r):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))})},30402:(e,t,r)=>{r.d(t,{A:()=>i});var a=r(80388);let i=a.forwardRef(function(e,t){let{title:r,titleId:i,...n}=e;return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},n),r?a.createElement("title",{id:i},r):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.429 9.75 2.25 12l4.179 2.25m0-4.5 5.571 3 5.571-3m-11.142 0L2.25 7.5 12 2.25l9.75 5.25-4.179 2.25m0 0L21.75 12l-4.179 2.25m0 0 4.179 2.25L12 21.75 2.25 16.5l4.179-2.25m11.142 0-5.571 3-5.571-3"}))})},43484:(e,t,r)=>{r.d(t,{A:()=>i});var a=r(80388);let i=a.forwardRef(function(e,t){let{title:r,titleId:i,...n}=e;return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},n),r?a.createElement("title",{id:i},r):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.26 10.147a60.438 60.438 0 0 0-.491 6.347A48.62 48.62 0 0 1 12 20.904a48.62 48.62 0 0 1 8.232-4.41 60.46 60.46 0 0 0-.491-6.347m-15.482 0a50.636 50.636 0 0 0-2.658-.813A59.906 59.906 0 0 1 12 3.493a59.903 59.903 0 0 1 10.399 5.84c-.896.248-1.783.52-2.658.814m-15.482 0A50.717 50.717 0 0 1 12 13.489a50.702 50.702 0 0 1 7.74-3.342M6.75 15a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm0 0v-3.675A55.378 55.378 0 0 1 12 8.443m-7.007 11.55A5.981 5.981 0 0 0 6.75 15.75v-1.5"}))})},71822:(e,t,r)=>{r.d(t,{A:()=>i});var a=r(80388);let i=a.forwardRef(function(e,t){let{title:r,titleId:i,...n}=e;return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},n),r?a.createElement("title",{id:i},r):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 18v-5.25m0 0a6.01 6.01 0 0 0 1.5-.189m-1.5.189a6.01 6.01 0 0 1-1.5-.189m3.75 7.478a12.06 12.06 0 0 1-4.5 0m3.75 2.383a14.406 14.406 0 0 1-3 0M14.25 18v-.192c0-.983.658-1.823 1.508-2.316a7.5 7.5 0 1 0-7.517 0c.85.493 1.509 1.333 1.509 2.316V18"}))})},83597:(e,t,r)=>
1{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return i}});let a=r(80388);function i(e,t){let r=(0,a.useRef)(null),i=(0,a.useRef)(null);return(0,a.useCallback)(a=>{if(null===a){let e=r.current;e&&(r.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(r.current=n(e,a)),t&&(i.current=n(t,a))},[e,t])}function n(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},84572:(e,t,r)=>{r.d(t,{A:()=>i});var a=r(80388);let i=a.forwardRef(function(e,t){let{title:r,titleId:i,...n}=e;return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},n),r?a.createElement("title",{id:i},r):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6.042A8.967 8.967 0 0 0 6 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 0 1 6 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 0 1 6-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0 0 18 18a8.967 8.967 0 0 0-6 2.292m0-14.25v14.25"}))})},85459:(e,t,r)=>{r.d(t,{y:()=>o});var a=r(52200),i=r(80388),n=r(88568),s=r(24743),l=r(50913);let o=(0,i.memo)(e=>{let{questionNumber:t,question:r,figures:i,questionLatex:o,options:c,explanation:d,explanationLatex:m,status:x,subjectName:u,timeTaken:p,showExplanation:h=!0,className:g="",onOptionClick:y,interactive:f=!1,lazyLoad:b=!1}=e;return(0,a.jsxs)("div",{className:"".concat(g),style:{contain:"layout style"},children:[(0,a.jsxs)("div",{className:"flex justify-between items-start mb-2",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("span",{className:"font-medium",children:["Question ",t]}),u&&(0,a.jsxs)("span",{className:"text-sm text-gray-600 dark:text-gray-400 ml-2",children:["(",u,")"]})]}),(0,a.jsx)("div",{className:"flex items-center gap-2",children:(0,a.jsx)(n.Badge,{variant:(e=>{switch(e){case"correct":return"success";case"incorrect":return"danger";default:return"secondary"}})(x),children:(e=>{switch(e){case"correct":return"Correct";case"incorrect":return"Incorrect";default:return"Unattempted"}})(x)})})]}),(0,a.jsxs)("div",{className:"mb-4",children:[(0,a.jsx)(s.A,{content:r,immediate:!b}),o&&(0,a.jsx)("div",{className:"mt-2 p-2 bg-surface-100 rounded",children:(0,a.jsx)(s.A,{content:o,display:!0,immediate:!b})}),null==i?void 0:i.map(e=>(0,a.jsx)(l.default,{width:450,height:450,src:e.url,alt:e.caption||"Reference Image",className:"w-full max-w-xl h-auto my-4 mx-auto rounded-lg shadow-md"},e.id))]}),(0,a.jsx)("div",{className:"space-y-2",children:c.map((e,t)=>(0,a.jsx)("div",{onClick:()=>f&&y&&"unattempted"===x&&y(e.id),className:"p-2 rounded mcq-option ".concat(e.isCorrect?"bg-green-50 dark:bg-green-500/60 border border-green-500":e.isSelected&&!e.isCorrect?"bg-red-50 dark:bg-red-500/60 border border-red-500":"bg-surface-100"," ").concat(f&&"unattempted"===x?"cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800":""),children:(0,a.jsx)(s.A,{content:e.text,immediate:!b})},e.id))}),h&&d&&(0,a.jsxs)("div",{className:"mt-4",children:[(0,a.jsx)("p",{className:"text-md font-medium text-gray-700 dark:text-gray-100 mb-2",children:"Explanation:"}),(0,a.jsx)("div",{className:"text-sm text-gray-600 dark:text-gray-200",children:(0,a.jsx)(s.A,{content:d||"",immediate:!b})}),m&&(0,a.jsx)("div",{className:"mt-2 p-2 bg-surface-100 rounded text-sm",children:(0,a.jsx)(s.A,{content:m,display:!0,immediate:!b})})]})]})});o.displayName="MCQResultItem"},88568:(e,t,r)=>{r.d(t,{Badge:()=>i});var a=r(52200);function i(e){let{children:t,variant:r="default",size:i="md",className:n="",style:s}=e;return(0,a.jsx)("span",{className:"\n inline-flex items-center font-medium rounded-full\n transition-colors duration-150\n ".concat({primary:"bg-primary-100 text-primary-700 dark:bg-primary-900 dark:text-primary-300",success:"bg-green-100 text-green-700 dark:bg-green-900 dark:text-green-300",warning:"bg-orange-100 text-orange-700 dark:bg-orange-900 dark:text-orange-300",danger:"bg-red-100 text-red-700 dark:bg-red-900 dark:text-red-300",default:"bg-surface-100 text-light dark:bg-surface-700 dark:text-light",info:"bg-blue-100 text-blue-700 dark:bg-blue-900 dark:text-blue-300",secondary:"bg-secondary-100 text-secondary-700 dark:bg-secondary-900 dark:text-secondary-300"}[r],"\n ").concat({sm:"px-2 py-0.5 text-xs",md:"px-2.5 py-1 text-sm"}[i],"\n ").concat(n,"\n "),style:s,children:t})}},89942:(e,t,r)=>{r.d(t,{A:()=>i});var a=r(80388);let i=a.forwardRef(function(e,t){let{title:r,titleId:i,...n}=e;return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},n),r?a.createElement("title",{id:i},r):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"}))})},94186:(e,t,r)=>{r.d(t,{A:()=>i});var a=r(80388);let i=a.forwardRef(function(e,t){let{title:r,titleId:i,...n}=e;return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},n),r?a.createElement("title",{id:i},r):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))})}}]);
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.