PageSourceSearch

https://sriramsias.com/_next/static/chunks/pages/private/myProfile…/liveTestold-9bbf9c3540efd34a.js

js sriramsias.com collected 2026-10-02 17:53:35 UTC 33,859 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[810],{74392:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/private/myProfile/live-test/attempt_now/liveTestold",function(){return s(40429)}])},35829:function(e,t,s){"use strict";var n=s(85893),i=s(67294);t.Z=function(e){let{questions:t,onQuestionClick:s,masterList:a}=e;return t&&0!==t.length?(0,n.jsxs)("div",{className:"question_paper_view p-4",children:[(0,n.jsx)("h2",{className:"mb-4 question_view_title",children:"Question Paper"}),t.map(e=>{let t=a.findIndex(t=>t.id===e.id);return(0,n.jsxs)(i.Fragment,{children:[(0,n.jsxs)("div",{className:"question_paper_item py-1",style:{cursor:"pointer",padding:"2px 0"},onClick:()=>s(e.id),children:[(0,n.jsxs)("h4",{className:"mb-2",style:{fontWeight:"500",fontSize:"15px",marginBottom:"8px",color:"#333"},children:["Question ",t+1]}),(0,n.jsx)("div",{style:{fontSize:"14px",color:"#555",lineHeight:"1"},dangerouslySetInnerHTML:{__html:e.question}})]}),(0,n.jsx)("hr",{style:{margin:"8px 0",borderColor:"#c2bfbfff"}})]},e.id)})]}):(0,n.jsx)("div",{className:"p-4",children:"No questions available for this section."})}},96623:function(e,t,s){"use strict";var n=s(85893),i=s(67294);t.Z=e=>{let{isOpen:t,onClose:s,onSubmit:a,questionId:l,isSubmitting:r,options:o=[]}=e,[c,d]=(0,i.useState)(null),[m,u]=(0,i.useState)(""),[p,h]=(0,i.useState)("");return((0,i.useEffect)(()=>{t&&o.length>0?d(o[0]):t||(d(null),u(""),h(""))},[t,o]),t)?(0,n.jsx)("div",{className:"report-modal-backdrop",onClick:s,children:(0,n.jsxs)("div",{className:"report-modal-content",onClick:e=>e.stopPropagation(),children:[(0,n.jsxs)("div",{className:"report-modal-header",children:[(0,n.jsx)("h3",{children:"Report a Problem"}),(0,n.jsx)("button",{className:"close-btn",onClick:s,children:"\xd7"})]}),(0,n.jsx)("div",{className:"report-modal-body",children:(0,n.jsxs)("form",{onSubmit:e=>{if(e.preventDefault(),!c){h("Please select a reason for the report.");return}if(!m.trim()){h("Please explain your issue in the message box.");return}h(""),a({questionId:l,reasonId:c.id,reasonTitle:c.title,message:m})},children:[(0,n.jsx)("div",{className:"report-options",children:o.map(e=>(0,n.jsxs)("div",{className:"report-option",children:[(0,n.jsx)("input",{type:"radio",id:"option-".concat(e.id),name:"report_reason",value:e.id,checked:(null==c?void 0:c.id)===e.id,onChange:()=>{d(e),p&&h("")}}),(0,n.jsx)("label",{htmlFor:"option-".concat(e.id),children:e.title})]},e.id))}),(0,n.jsxs)("div",{className:"report-message",children:[(0,n.jsxs)("label",{htmlFor:"report-message-text",children:["Message ",(0,n.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,n.jsx)("textarea",{id:"report-message-text",value:m,onChange:e=>{u(e.target.value),p&&h("")},placeholder:"Explain your issue... (Required)",rows:"4"}),p&&(0,n.jsx)("p",{className:"report-error-text",style:{color:"red",fontSize:"12px"},children:p})]}),(0,n.jsx)("div",{className:"report-modal-footer",children:(0,n.jsx)("button",{type:"submit",className:"submit-report-btn",disabled:r,children:r?"Submitting...":"Submit"})})]})})]})}):null}},40429:function(e,t,s){"use strict";s.r(t);var n=s(85893),i=s(67294);s(25675);var a=s(45007),l=s(76921),r=s(76912),o=s(35829),c=s(96623),d=s(36342),m=s(70148),u=s(95050),p=s(74904);s(44440),t.default=function(e){var t;let{isdisplay:s,onOpenSubmitModal:h,closeTestRightQuestView:x}=e,_=(0,a.I0)(),[C,j]=(0,i.useState)("question"),[f,g]=(0,i.useState)(!1),[v,b]=(0,i.useState)(!1),[w,k]=(0,i.useState)(!1),[N,y]=(0,i.useState)(!1),{userReports:S,reportOptions:q,instructions:M,allQuestions:L,sections:F,userAnswers:I,currentQuestionIndex:T,currentSectionId:E,user_details:Z,availableLanguages:P,currentTopicId:B,selectedLanguageId:O,testStatus:A,timeSpentPerQuestion:K,sectionChangeBlocked:z,timeLeft:H,masterLanguageId:Q,attemptLimitReachedWarning:R,attemptLimitWarning:D,allowUserMove:V}=(0,a.v9)(e=>e.test),[U,W]=(0,i.useState)(!1),[J,X]=(0,i.useState)(0),[G,Y]=(0,i.useState)(!1),$=L[Q]||[];if(0===$.length||!F||0===F.length)return(0,n.jsx)("div",{style:{padding:"2rem",textAlign:"center",marginTop:"50px"},children:"Loading test..."});let ee=$[T],et=K[null==ee?void 0:ee.id]||0,es=ee?"1"!==O&&L[O]&&L[O].find(e=>e.config_id===ee.config_id)||ee:null;if(!es)return(0,n.jsx)("div",{style:{padding:"2rem",textAlign:"center",marginTop:"50px"},children:"Error: Could not find the current question. Please refresh."});let en=I[ee.id],ei=F.find(e=>e.subjectId===E),ea=ei?ei.topics:[],el=$.filter(e=>e.subject_id===E),er=el;if("1"!==O&&L[O]){let e=L[O];er=el.map(t=>{let s=e.find(e=>e.config_id===t.config_id);return s?{...s,id:t.id}:t})}let eo=new Set(el.map(e=>e.id)),ec=Object.values(I).filter(e=>eo.has(e.questionId));(0,i.useEffect)(()=>
1{if(z){y(!0),m.Am.warning("Switching Section is not allowed");let e=setTimeout(()=>{y(!1),_((0,l.Mh)())},1500);return()=>clearTimeout(e)}},[z,_]);let ed=e=>{_((0,l.WG)(e)),j("question")},em=e=>{_((0,l.iK)(e)),j("question")},eu=e=>{let t=$.findIndex(t=>t.id===e);-1!==t&&(_((0,l.s4)(t)),j("question"))},ep=()=>{X(0),j("instructions")};(0,i.useEffect)(()=>{"instructions"==C?Y(!0):Y(!1)});let eh=()=>{j("question_paper")},ex=()=>{_((0,l.h5)({questionId:ee.id}))};(0,i.useEffect)(()=>{"submitting"===A&&0==H&&eC()},[A]);let e_=()=>{let e=localStorage.getItem("test_attempt_data");if(e)try{let t=(0,d.p3)(),s=(0,d.pe)(e,t),n={test_id:s.test_id,course_id:s.course_id,first_attempt:s.first_attempt};_((0,l.kj)(n))}catch(e){console.error("Failed to decrypt test data for submission:",e)}else console.warn("No test attempt data found in localStorage. Cannot submit.")},eC=()=>{let e=localStorage.getItem("test_attempt_data");if(e)try{let t=(0,d.p3)(),s=(0,d.pe)(e,t),n={test_id:s.test_id,course_id:s.course_id,first_attempt:s.first_attempt};_((0,l.kj)(n))}catch(e){console.error("Failed to decrypt test data for submission:",e),alert("Could not submit test due to a data error. Please try again.")}else console.warn("No test attempt data found in localStorage. Cannot submit."),alert("Critical test information is missing. Cannot submit.")},ej=0,ef=0,eg=0,ev=0;ec.forEach(e=>{"answered"===e.status&&ej++,"not-answered"===e.status&&ef++,"review"===e.status&&eg++,"answered-review"===e.status&&ev++});let eb=el.length-(ej+ef+eg+ev),ew=(e,t)=>{var s,n;let i=null===(s=I[e])||void 0===s?void 0:s.status,a="quest_show_btn";switch(i){case"answered":a+=" attemped";break;case"not-answered":a+=" notattemped";break;case"review":a+=" marked";break;case"answered-review":a+=" markedAnswer";break;default:a+=" notVisit"}return(null===(n=$[T])||void 0===n?void 0:n.id)===e&&(a+=" current"),a},ek=()=>g(!0),eN=()=>g(!1),ey=async e=>{b(!0);try{await _((0,l.AJ)(e)).unwrap(),m.Am.success("Problem reported successfully!"),eN()}catch(e){alert(" ".concat(e))}finally{b(!1)}},eS=null===(t=S[ee.id])||void 0===t?void 0:t.reported;if((0,i.useEffect)(()=>{let e=e=>{e.preventDefault()};document.addEventListener("contextmenu",e),document.addEventListener("copy",e),document.addEventListener("cut",e);let t=e=>{("F12"===e.key||e.ctrlKey&&e.shiftKey&&("I"===e.key||"i"===e.key)||e.ctrlKey&&e.shiftKey&&("J"===e.key||"j"===e.key)||e.ctrlKey&&e.shiftKey&&("C"===e.key||"c"===e.key))&&e.preventDefault(),e.ctrlKey&&("U"===e.key||"u"===e.key)&&e.preventDefault(),(e.ctrlKey||e.metaKey)&&("c"===e.key||"C"===e.key||"x"===e.key||"X"===e.key)&&e.preventDefault(),("F5"===e.key||e.ctrlKey&&"r"===e.key||e.ctrlKey&&e.shiftKey&&"R"===e.key)&&e.preventDefault()};return document.addEventListener("keydown",t),()=>{document.removeEventListener("contextmenu",e),document.removeEventListener("copy",e),document.removeEventListener("cut",e),document.removeEventListener("keydown",t)}},[]),(0,i.useEffect)(()=>{let e=e=>e.preventDefault();return document.addEventListener("contextmenu",e),()=>{document.removeEventListener("contextmenu",e)}},[]),(0,i.useEffect)(()=>{if(D){let e="You can attempt only ".concat(D.limit," ").concat(D.type," questions.");m.Am.error(e),_((0,l.d2)())}},[D,_]),!s)return null;(0,i.useMemo)(()=>F&&$.length&&I?F.map(e=>{let t=$.filter(t=>t.subject_id===e.subjectId),s={attempted:0,unattempted:0,markedForReview:0,notVisited:0};return t.forEach(e=>{let t=I[e.id];switch(null==t?void 0:t.status){case"answered":case"answered-review":s.attempted++;break;case"not-answered":s.unattempted++;break;case"review":s.markedForReview++;break;default:s.notVisited++}}),{name:e.name,totalQuestions:t.length,attempted:s.attempted,unattempted:s.unattempted,markedForReview:s.markedForReview,notVisited:s.notVisited}}):[],[F,$,I]);let eq=(null==en?void 0:en.status)==="review"||(null==en?void 0:en.status)==="answered-review";return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(m.Ix,{position:"top-right",autoClose:1e3,hideProgressBar:!1,newestOnTop:!1,closeOnClick:!0,rtl:!1,pauseOnFocusLoss:!0,draggable:!0,pauseOnHover:!0,theme:"light"}),w&&(0,n.jsx)("div",{className:"modal-overlay-nextSection",children:(0,n.jsxs)("div",{className:"modal-box-nextSection",children:[(0,n.jsx)("div",{className:"modal-icon-nextSection",children:(0,n.jsx)("span",{children:"!"})}),(0,n.jsx)("p",{className:"modal-text-nextSection",children:"Do you want to switch the next section? After this, you will not be able to access the previous one."}),(0,n.jsxs)("div",{className:"modal-actions-nextSection",children:[(0,n.jsx)("button",{onClick:()=>{_((0,l.QI)()),k(!1)},className:"btn-primary-nextSection",children:"Yes"}),(0,n.jsx)("button",{onClick:()=>k(!1),className:"btn-secondary-nextSection",children:"Cancel"})]})]})}),(0,n.jsxs)("section",{className:"main_ObjectiveTest_generalInstru
1ction ".concat(U?"viewQuestionOnFullscreen":""),children:[(0,n.jsxs)("div",{className:"attempt_test_header_container d-flex align-items-center",children:[(0,n.jsx)("div",{className:"select_testhead_container",children:(0,n.jsx)("select",{name:"test_sections",id:"test_sections",value:E,onChange:e=>ed(e.target.value),children:F.map(e=>(0,n.jsx)("option",{value:e.subjectId,children:e.name},e.subjectId))})}),(0,n.jsx)("div",{className:"top_testheader_report_flag_btn",children:q&&q.length>0&&(0,n.jsx)("span",{className:"report_flag d-flex report_btn align-items-center gap-1 ".concat(eS?"reported":""),onClick:eS?void 0:ek,children:(0,n.jsxs)("svg",{width:"20",height:"18",viewBox:"0 0 20 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{clipPath:"url(#clip0_457_371)",children:[(0,n.jsx)("path",{d:"M20.0002 14.781C19.8669 15.1752 19.8335 15.6022 19.6335 15.9963C18.9669 17.3431 17.8669 18 16.3335 18.0328C13.5669 18.0328 10.7669 18.0328 8.00018 18.0328C6.53352 18.0328 5.10018 18.0328 3.63352 18.0328C2.50018 18.0328 1.53352 17.6387 0.800182 16.7518C-0.0998178 15.635 -0.299818 14.3869 0.333516 13.073C0.866849 11.989 1.53352 10.9708 2.13352 9.9197C3.70018 7.22627 5.26685 4.56569 6.83352 1.87226C7.40018 0.886854 8.23352 0.262767 9.36685 0.0656866C10.6669 -0.197087 12.1669 0.394154 12.8669 1.4781C13.6002 2.66058 14.3002 3.87591 15.0002 5.05839C16.4335 7.52189 17.8669 9.98539 19.3335 12.4489C19.6669 13.0073 19.9002 13.5657 19.9669 14.1898C20.0002 14.3869 20.0002 14.5839 20.0002 14.781ZM9.96685 16.4233C12.0669 16.4233 14.1669 16.4233 16.3002 16.4233C16.9002 16.4233 17.4335 16.2591 17.8335 15.8321C18.4669 15.1752 18.5335 14.2883 18.0669 13.4671C16.4002 10.6095 14.7002 7.71897 13.0335 4.86131C12.5669 4.07299 12.1002 3.25182 11.6002 2.4635C11.2002 1.83941 10.5669 1.57664 9.80018 1.64233C9.10018 1.70802 8.60018 2.10218 8.26685 2.69342C6.60018 5.51824 4.93352 8.34306 3.30018 11.2007C2.80018 12.0219 2.30018 12.8759 1.83352 13.7299C1.50018 14.354 1.56685 15.0109 1.96685 15.635C2.36685 16.2591 2.96685 16.489 3.70018 16.489C5.80018 16.4233 7.86685 16.4233 9.96685 16.4233Z",fill:"#fff"}),(0,n.jsx)("path",{d:"M11.0335 6.73359C10.9668 8.0803 10.8668 9.42702 10.8001 10.7737C10.8001 10.9708 10.8001 11.135 10.7668 11.3321C10.7001 11.6934 10.3668 11.9562 10.0001 11.9562C9.63346 11.9562 9.30012 11.6934 9.26679 11.3321C9.20012 10.8394 9.20013 10.3139 9.16679 9.82118C9.10013 8.80293 9.03346 7.75183 8.96679 6.73359C8.90012 5.87957 9.70012 5.25548 10.4335 5.6168C10.9001 5.84672 11.0668 6.24088 11.0335 6.73359Z",fill:"#fff"}),(0,n.jsx)("path",{d:"M10.0001 14.6825C9.43346 14.6825 8.9668 14.2226 8.9668 13.6971C8.9668 13.1387 9.43346 12.6788 10.0001 12.6788C10.5668 12.6788 11.0001 13.1387 11.0001 13.6971C11.0001 14.2226 10.5668 14.6825 10.0001 14.6825Z",fill:"#fff"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_457_371",children:(0,n.jsx)("rect",{width:"20",height:"18",fill:"white"})})})]})})}),ea.length>1&&(0,n.jsxs)("ul",{className:"test_select_tabs d-flex align-items-center",children:[ea.length>0?ea.map(e=>(0,n.jsx)("li",{children:(0,n.jsx)("button",{className:"testPapers_tabsButton ".concat(B===e.id?"active":""),onClick:()=>em(e.id),children:e.name})},e.id)):(0,n.jsx)("li",{children:(0,n.jsx)("button",{className:"testPapers_tabsButton active",disabled:!0,children:"All Questions"})}),console.log("test topic",ea)]}),(0,n.jsxs)("div",{className:"d-flex gap-2",children:["0"==V&&(0,n.jsx)("button",{type:"button",onClick:()=>k(!0),className:"sectionNextButton  px-2 py-1 rounded",children:"Switch Section"}),(0,n.jsx)("div",{className:"full_screen_icon mx-3 ms-auto",onClick:()=>{W(e=>!e)},children:U?(0,n.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{clipPath:"url(#clip0_457_274)",children:[(0,n.jsx)("path",{d:"M15.664 3.46707C15.664 4.17295 15.664 4.87884 15.664 5.58472C15.664 7.09732 16.8741 8.37463 18.3867 8.37463C19.8657 8.37463 21.3447 8.37463 22.8236 8.37463C23.5295 8.37463 24.0337 7.87043 24.0337 7.19816C24.0337 6.52589 23.5295 5.98808 22.79 5.98808C21.4455 5.98808 20.101 5.98808 18.7564 5.98808C18.0505 5.98808 18.0169 5.95447 18.0169 5.21497C18.0169 3.87043 18.0169 2.49228 18.0169 1.14774C18.0169 0.609928 17.6808 0.206568 17.1766 0.0384998C16.6724 -0.0959539 16.1346 0.0384998 15.8657 0.475474C15.7312 0.710769 15.664 0.979676 15.6304 1.24858C15.664 1.98808 15.664 2.72758 15.664 3.46707Z",fill:"#67676
17"}),(0,n.jsx)("path",{d:"M3.46197 8.37446C4.23508 8.37446 5.00819 8.40808 5.7813 8.37446C7.22668 8.30724 8.33592 7.09715 8.36954 5.65178C8.36954 4.17278 8.36954 2.69379 8.36954 1.2148C8.36954 0.374465 7.59643 -0.196963 6.82332 0.0383301C6.31912 0.206398 6.01659 0.643373 5.98298 1.2148C5.98298 2.55934 5.98298 3.87026 5.98298 5.2148C5.98298 5.9543 5.94937 5.98791 5.20987 5.98791C3.86533 5.98791 2.5208 5.98791 1.17626 5.98791C0.335922 5.98791 -0.235506 6.76102 0.0334019 7.56774C0.167856 8.03833 0.60483 8.34085 1.14265 8.37446C1.91575 8.37446 2.68886 8.37446 3.46197 8.37446Z",fill:"#676767"}),(0,n.jsx)("path",{d:"M8.40262 20.5027C8.40262 21.2758 8.40262 22.0825 8.40262 22.8556C8.40262 23.4606 7.93203 23.9312 7.3606 23.9985C6.75556 24.0993 6.21774 23.7296 6.04968 23.1581C6.01606 22.9901 6.01606 22.822 6.01606 22.6539C6.01606 21.3766 6.01606 20.1329 6.01606 18.8556C6.01606 18.7548 6.01606 18.6539 6.01606 18.5867C6.01606 18.1161 5.94884 18.0153 5.44463 18.0153C4.16732 18.0153 2.89001 18.0153 1.6127 18.0153C1.44463 18.0153 1.31018 18.0153 1.14211 18.0153C0.503458 17.9817 -0.000743866 17.4775 -0.000743866 16.8052C-0.000743866 16.1665 0.503458 15.6287 1.14211 15.6287C2.65472 15.6287 4.20094 15.5951 5.71354 15.6287C7.25976 15.6623 8.43623 16.9396 8.40262 18.4859C8.40262 19.1581 8.40262 19.8304 8.40262 20.5027Z",fill:"#676767"}),(0,n.jsx)("path",{d:"M20.4963 15.7648C21.2694 15.7648 22.0761 15.7648 22.8493 15.7648C23.4543 15.7648 23.9249 16.2354 23.9921 16.8068C24.0593 17.3783 23.6896 17.9497 23.1518 18.0842C22.9837 18.1178 22.8156 18.1178 22.6476 18.1178C21.3703 18.1178 20.1266 18.1178 18.8493 18.1178C18.782 18.1178 18.7148 18.1178 18.614 18.1178C18.0761 18.1178 18.0089 18.185 18.0089 18.7228C18.0089 20.101 18.0089 21.4791 18.0089 22.8573C18.0089 23.4287 17.7064 23.8657 17.2022 24.0337C16.4291 24.3026 15.6224 23.7312 15.6224 22.8909C15.6224 21.5127 15.6224 20.1346 15.6224 18.7564C15.6224 18.3867 15.656 17.9833 15.7568 17.6136C16.093 16.4707 17.2022 15.664 18.4123 15.664C19.0846 15.7648 19.7904 15.7648 20.4963 15.7648Z",fill:"#676767"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_457_274",children:(0,n.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]}):(0,n.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{clipPath:"url(#clip0_102_32)",children:[(0,n.jsx)("path",{d:"M0.000410322 4.90756C0.000410322 4.20168 0.000410322 3.4958 0.000410322 2.78992C0.000410322 1.27731 1.21049 0 2.7231 0C4.20209 0 5.68108 0 7.16007 0C7.86596 0 8.37016 0.504202 8.37016 1.17647C8.37016 1.84874 7.86596 2.38655 7.12646 2.38655C5.78192 2.38655 4.43739 2.38655 3.09285 2.38655C2.38697 2.38655 2.35335 2.42017 2.35335 3.15966C2.35335 4.5042 2.35335 5.88235 2.35335 7.22689C2.35335 7.76471 2.01722 8.16807 1.51302 8.33613C1.00881 8.47059 0.470999 8.33613 0.202091 7.89916C0.0676372 7.66387 0.000410322 7.39496 -0.0332031 7.12605C0.000410322 6.38655 0.000410322 5.64706 0.000410322 4.90756Z",fill:"#676767"}),(0,n.jsx)("path",{d:"M19.1265 9.55537e-07C19.8996 9.55537e-07 20.6727 -0.0336125 21.4459 9.55537e-07C22.8912 0.0672278 24.0005 1.27731 24.0341 2.72269C24.0341 4.20168 24.0341 5.68067 24.0341 7.15967C24.0341 8 23.261 8.57143 22.4879 8.33614C21.9837 8.16807 21.6811 7.73109 21.6475 7.15967C21.6475 5.81513 21.6475 4.5042 21.6475 3.15966C21.6475 2.42017 21.6139 2.38656 20.8744 2.38656C19.5299 2.38656 18.1853 2.38656 16.8408 2.38656C16.0005 2.38656 15.429 1.61345 15.698 0.806724C15.8324 0.336136 16.2694 0.0336144 16.8072 9.55537e-07C17.5803 9.55537e-07 18.3534 9.55537e-07 19.1265 9.55537e-07Z",fill:"#676767"}),(0,n.jsx)("path",{d:"M0.000702548 19.126C0.000702548 18.3529 0.000702548 17.5462 0.000702548 16.7731C0.000702548 16.1681 0.471291 15.6975 1.04272 15.6302C1.64776 15.5294 2.18558 15.8992 2.35364 16.4706C2.38726 16.6387 2.38726 16.8067 2.38726 16.9748C2.38726 18.2521 2.38726 19.4958 2.38726 20.7731C2.38726 20.8739 2.38726 20.9748 2.38726 21.042C2.38726 21.5126 2.45448 21.6134 2.95869 21.6134C4.236 21.6134 5.51331 21.6134 6.79062 21.6134C6.95869 21.6134 7.09314 21.6134 7.26121 21.6134C7.89986 21.6471 8.40406 22.1513 8.40406 22.8235C8.40406 23.4622 7.89986 24 7.26121 24C5.7486 24 4.20238 24.0336 2.68978 24C1.14356 23.9664 -0.0329109 22.6891 0.000702548 21.1429C0.000702548 20.4706 0.000702548 19.7983 0.000702548 19.126Z",fill:"#67676
17"}),(0,n.jsx)("path",{d:"M19.1267 24C18.3536 24 17.5469 24 16.7738 24C16.1687 24 15.6982 23.5294 15.6309 22.958C15.5637 22.3866 15.9335 21.8151 16.4713 21.6807C16.6393 21.6471 16.8074 21.6471 16.9755 21.6471C18.2528 21.6471 19.4965 21.6471 20.7738 21.6471C20.841 21.6471 20.9082 21.6471 21.0091 21.6471C21.5469 21.6471 21.6141 21.5798 21.6141 21.042C21.6141 19.6639 21.6141 18.2857 21.6141 16.9076C21.6141 16.3361 21.9166 15.8992 22.4208 15.7311C23.194 15.4622 24.0007 16.0336 24.0007 16.874C24.0007 18.2521 24.0007 19.6303 24.0007 21.0084C24.0007 21.3782 23.9671 21.7815 23.8662 22.1513C23.5301 23.2941 22.4208 24.1008 21.2108 24.1008C20.5385 24 19.8326 24 19.1267 24Z",fill:"#676767"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_102_32",children:(0,n.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]})})]})]}),(0,n.jsxs)("div",{className:"left_instruction_sideInfo position-relative live_test_attempt_page ".concat("instructions"===C?"instructions_activeSect":""," ").concat("question_paper"===C?"question_paper_activeSect":""," ").concat(ea.length>0?"mobile_view_margin":""),style:ea.length>0?{marginTop:"50px"}:{marginTop:"8px"},children:["instructions"===C&&(0,n.jsx)(r.Z,{instructionData1:M,viewStep:J,onGoBack:()=>j("question"),showBackButton:!0}),"question_paper"===C&&(0,n.jsx)(o.Z,{questions:er,onQuestionClick:e=>{let t=$.findIndex(t=>t.id===e);-1!==t&&(_((0,l.s4)(t)),j("question"))},masterList:$}),"question"===C&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"question_attempt_section",children:[es.paragraph_text&&(0,n.jsx)("div",{className:"paragraph_container",children:(0,n.jsx)("div",{className:"paragraph_content",dangerouslySetInnerHTML:{__html:es.paragraph_text}})}),(0,n.jsxs)("h2",{className:"question_number main_head",children:["Que. ",T+1]}),(0,n.jsx)("div",{style:{display:"flex",alignContent:"center"},children:(0,n.jsx)("h2",{className:"test_question",style:{fontSize:"17px"},dangerouslySetInnerHTML:{__html:es.question}})}),"1"===es.section_question_behaviour?(0,n.jsx)("label",{style:{color:"red",fontSize:"12px",marginLeft:"10px",marginTop:"10px",display:"block",fontFamily:"Montserrat",fontSize:"18px"},children:"(mandatory *)"}):(0,n.jsx)("label",{style:{color:"#6c757d",fontSize:"12px",marginLeft:"10px ",marginTop:"10px",display:"block",fontFamily:"Montserrat",fontSize:"18px"},children:"(optional *)"}),(0,n.jsx)("div",{className:"test_answer_section",children:(()=>{let e=es.question_type,t=ee.id;switch(e){case"MC":return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("label",{style:{color:"#1693FA",fontSize:"12px",marginBottom:"10px",display:"block",fontFamily:"Montserrat"},children:"This question may have multiple correct answers."}),["option_1","option_2","option_3","option_4","option_5"].map(e=>{if(es[e]){var s;return(0,n.jsxs)("div",{className:"answer_option",children:[(0,n.jsx)("input",{type:"checkbox",name:"answerOption_".concat(t),id:"".concat(t,"_").concat(e),checked:(null==en?void 0:null===(s=en.selectedOptions)||void 0===s?void 0:s.includes(e))||!1,onChange:()=>_((0,l.Tl)({questionId:t,selectedOption:e,questionType:"MC"}))}),(0,n.jsx)("label",{htmlFor:"".concat(t,"_").concat(e),className:"test_para_text",dangerouslySetInnerHTML:{__html:es[e]}})]},e)}return null})]});case"FIB":return(0,n.jsxs)("div",{className:"answer_option_fib",children:[(0,n.jsx)("label",{htmlFor:"fib_input_".concat(t),className:"test_para_text"}),(0,n.jsx)("input",{type:"text",id:"fib_input_".concat(t),className:"fib-input-field",value:(null==en?void 0:en.value)||"",onChange:e=>_((0,l.Tl)({questionId:t,selectedOption:e.target.value,questionType:"FIB"}))})]});case"TF":return["option_1","option_2"].map(e=>es[e]?(0,n.jsxs)("div",{className:"answer_option",children:[(0,n.jsx)("input",{type:"radio",name:"answerOption_".concat(t),id:"".concat(t,"_").concat(e),checked:(null==en?void 0:en.selectedOptionKey)===e,onChange:()=>_((0,l.Tl)({questionId:t,selectedOption:e,questionType:"TF"}))}),(0,n.jsx)("label",{htmlFor:"".concat(t,"_").concat(e),className:"test_para_text",dangerouslySetInnerHTML:{__html:es[e]}})]},e):null);default:return["option_1","option_2","option_3","option_4","option_5"].map(e=>es[e]?(0,n.jsxs)("div",{className:"answer_option",children:[(0,n.jsx)("input",{type:"radio",name:"answerOption_".concat(t),id:"".concat(t,"_").concat(e),checked:(null==en?void 0:en.selectedOptionKey)===e,onChange:()=>_((0,l.Tl)({questionId:t,selectedOption:e,questionType:"SC"}))}),(0,n.jsx)("label",{htmlFor:"".concat(t,"_").concat(e),className:"test_para_text",dangerouslySetInnerHTML:{__html:es[e]}})]},e):null)}})()}),(0,n.jsx)("button",{className:"quest_instruct_btn insmScreen mark_next_btn me-2 btn-light-blue",onClick:ex,children:eq?"Unmark from review":"Mark for Review"})]}),(0,n.jsxs)("div",{className:"test_mark_section d-flex align-items-center",children:[(0,n.jsxs)("div",{className:"quest_time",children:[(0,n.jsx)("span",{className:"time_icon",children:(0,n.jsxs)("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M8.50033 14C11.4458 14 13.8337 11.6122 13.8337 8.66668C13.8337 5.72116 11.4458 3.33334 8.50033 3.33334C5.55481 3.33334 3.16699 5.72116 3.16699 8.66668C3.16699 11.6122 5.55481 14 8.50033 14Z",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M10.5 1.33334H6.5M8.5 6.00001V8.66668V6.00001ZM12.5 4.66668L13.8333 3.33334L12.5 4.66668Z",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),(0,n.jsx)("span",{className:"time",children:(e=>{if(e<0&&(e=0),e>=3600){let t=Math.floor(e/3600),s=Math.floor(e%3600/60),n=e%60;return"".concat(String(t).padStart(2,"0"),":").concat(String(s).padStart(2,"0"),":").concat(String(n).padStart(2,"0"))}{let t=Math.floor(e/60),s=e%60;return"".concat(String(t).padStart(2,"0"),":").concat(String(s).padStart(2,"0"))}})(et)})]}),(0,n.jsx)("div",{className:"show_mark mb-3",children:(0,n.jsxs)("div",{className:"d-flex flex-column align-items-left ",children:[(0,n.jsx)("label",{style:{fontSize:"10px"},children:"Mark"}),(0,n.jsxs)("div",{className:"d-flex align-items-center gap-1",children:[(0,n.jsxs)("span",{className:"correct_mark",children:["+",es.po_marks]}),(0,n.jsxs)("span",{className:"wrong_mark",children:["-",es.neg_marks]})]})]})}),P&&P.length>1&&(0,n.jsx)("div",{className:"select_test_language",children:(0,n.jsx)("select",{name:"test_language",id:"test_language",value:O,onChange:e=>{_((0,l.om)(e.target.value))},children:P.map(e=>(0,n.jsx)("option",{value:e.id,children:e.name},e.id))})})]})]})]}),(0,n.jsxs)("div",{className:"right_instruction_sideInfo",children:[(0,n.jsxs)("div",{className:"user_image position-rlative",children:[(0,n.jsx)("img",{src:"/assets/images/profile.png",width:30,height:30,style:{height:"30px",width:"30px"},alt:"User Avatar"}),(0,n.jsx)("span",{className:"testUser_name",children:(null==Z?void 0:Z.name)||"Test User"}),(0,n.jsx)("span",{className:"close_testquest_btn ms-auto",onClick:x,children:(0,n.jsx)(p.QAE,{})})]}),(0,n.jsxs)("div",{className:"testQuestion_infoShow",children:[(0,n.jsxs)("div",{className:"question_attempt_informs d-flex align-items-center flex-wrap justify-content-between py-2 px-2",children:[(0,n.jsxs)("div",{className:"attemp_informs d-flex align-items-center gap-1",children:[(0,n.jsx)("span",{className:"attempt_box_text box attemped mb-0",children:ej}),(0,n.jsx)("span",{className:"attempt_box_text mb-0",children:"Attempted"})]}),(0,n.jsxs)("div",{className:"attemp_informs d-flex align-items-center gap-1",children:[(0,n.jsx)("span",{className:"attempt_box_text unattemped box mb-0",children:ef}),(0,n.jsx)("span",{className:"attempt_box_text mb-0",children:"Unattempted"})]}),(0,n.jsxs)("div",{className:"attemp_informs d-flex align-items-center position-relative gap-1",children:[(0,n.jsx)("span",{className:"star_for_markandattempt",children:(0,n.jsx)(u.QJe,{})}),(0,n.jsx)("span",{className:"attempt_box_text markedAnswer box mb-0",children:ev}),(0,n.jsx)("span",{className:"attempt_box_text mb-0",children:"Marked & Answered"})]}),(0,n.jsxs)("div",{className:"attemp_informs d-flex align-items-center gap-1",children:[(0,n.jsx)("span",{className:"attempt_box_text marked box mb-0",children:eg}),(0,n.jsx)("span",{className:"attempt_box_text mb-0",children:"Marked"})]}),(0,n.jsxs)("div",{className:"attemp_informs d-flex align-items-center gap-1",children:[(0,n.jsx)("span",{className:"attempt_box_text notVisit box mb-0",children:eb<0?0:eb}),(0,n.jsx)("span",{className:"attempt_box_text mb-0",children:"Not Visited"})]})]}),(0,n.jsxs)("div",{className:"test_quest_count_show border bg-white rounded mt-1 d-flex align-items-center justify-content-between mx-2 mb-2",children:[(0,n.jsx)("div",{className:"question_number_information p-2",children:el.map((e,t)=>{let s=$.findIndex(t=>t.id===e.id);return(0,n.jsxs)("button",{className:ew(e.id),onClick:()=>{eu(e.id),x()},style:{position:"relative"},children:[("quest_show_btn markedAnswer current"===ew(e.id)||"quest_show_btn markedAnswer"===ew(e.id))&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("span",{className:"star_for_markandattempt",style:{marginLeft:"14px",top:"-6px",height:"15px",width:"15px"}
1,children:(0,n.jsx)("svg",{stroke:"currentColor",fill:"currentColor",style:{height:"10px",width:"10px"},"stroke-width":"0",viewBox:"0 0 576 512",height:"1em",width:"1em",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z"})})})}),s+1]},e.id)})}),(0,n.jsxs)("div",{className:"question_infosect_btn mt-auto",children:[(0,n.jsx)("button",{className:"quest_instruct_btn",onClick:()=>{eh(),x()},children:"Question paper"}),(0,n.jsx)("button",{className:"quest_instruct_btn",onClick:()=>{ep(),x()},children:"Instructions"}),(0,n.jsx)("button",{className:"quest_submit_btn",onClick:()=>{h(e_)},children:"Submit"})]})]})]})]})]}),(0,n.jsxs)("div",{className:"main_testFooter_container live_test_footer_container d-flex align-items-center justify-content-between \n        ".concat(G?"instruction_view":"question_view"),children:[(0,n.jsx)("div",{className:"testFooter_btn testFooter_left_btn d-flex gap-2 align-items-center",children:"instructions"===C?(0,n.jsx)("button",{className:"quest_instruct_btn me-2 btn-light-grey",onClick:()=>{J>0?X(e=>e-1):j("question")},children:"← Back"}):"question"===C?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("button",{className:"quest_instruct_btn mark_next_btn me-2 btn-light-blue",onClick:ex,children:eq?"Unmark from review":"Mark for Review"}),(0,n.jsx)("button",{className:"quest_instruct_btn clear_response_btn danger me-2 btn-light-red",onClick:()=>{_((0,l.Dz)({questionId:ee.id}))},children:"Clear Response"}),q&&q.length>0&&(0,n.jsxs)("span",{className:"report_flag d-flex report_btn align-items-center gap-1 ".concat(eS?"reported":""),onClick:eS?void 0:ek,children:[(0,n.jsxs)("svg",{width:"20",height:"18",viewBox:"0 0 20 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{clipPath:"url(#clip0_457_371)",children:[(0,n.jsx)("path",{d:"M20.0002 14.781C19.8669 15.1752 19.8335 15.6022 19.6335 15.9963C18.9669 17.3431 17.8669 18 16.3335 18.0328C13.5669 18.0328 10.7669 18.0328 8.00018 18.0328C6.53352 18.0328 5.10018 18.0328 3.63352 18.0328C2.50018 18.0328 1.53352 17.6387 0.800182 16.7518C-0.0998178 15.635 -0.299818 14.3869 0.333516 13.073C0.866849 11.989 1.53352 10.9708 2.13352 9.9197C3.70018 7.22627 5.26685 4.56569 6.83352 1.87226C7.40018 0.886854 8.23352 0.262767 9.36685 0.0656866C10.6669 -0.197087 12.1669 0.394154 12.8669 1.4781C13.6002 2.66058 14.3002 3.87591 15.0002 5.05839C16.4335 7.52189 17.8669 9.98539 19.3335 12.4489C19.6669 13.0073 19.9002 13.5657 19.9669 14.1898C20.0002 14.3869 20.0002 14.5839 20.0002 14.781ZM9.96685 16.4233C12.0669 16.4233 14.1669 16.4233 16.3002 16.4233C16.9002 16.4233 17.4335 16.2591 17.8335 15.8321C18.4669 15.1752 18.5335 14.2883 18.0669 13.4671C16.4002 10.6095 14.7002 7.71897 13.0335 4.86131C12.5669 4.07299 12.1002 3.25182 11.6002 2.4635C11.2002 1.83941 10.5669 1.57664 9.80018 1.64233C9.10018 1.70802 8.60018 2.10218 8.26685 2.69342C6.60018 5.51824 4.93352 8.34306 3.30018 11.2007C2.80018 12.0219 2.30018 12.8759 1.83352 13.7299C1.50018 14.354 1.56685 15.0109 1.96685 15.635C2.36685 16.2591 2.96685 16.489 3.70018 16.489C5.80018 16.4233 7.86685 16.4233 9.96685 16.4233Z",fill:"#606060"}),(0,n.jsx)("path",{d:"M11.0335 6.73359C10.9668 8.0803 10.8668 9.42702 10.8001 10.7737C10.8001 10.9708 10.8001 11.135 10.7668 11.3321C10.7001 11.6934 10.3668 11.9562 10.0001 11.9562C9.63346 11.9562 9.30012 11.6934 9.26679 11.3321C9.20012 10.8394 9.20013 10.3139 9.16679 9.82118C9.10013 8.80293 9.03346 7.75183 8.96679 6.73359C8.90012 5.87957 9.70012 5.25548 10.4335 5.6168C10.9001 5.84672 11.0668 6.24088 11.0335 6.73359Z",fill:"#606060"}),(0,n.jsx)("path",{d:"M10.0001 14.6825C9.43346 14.6825 8.9668 14.2226 8.9668 13.6971C8.9668 13.1387 9.43346 12.6788 10.0001 12.6788C10.5668 12.6788 11.0001 13.1387 11.0001 13.6971C11.0001 14.2226 10.5668 14.6825 10.0001 14.6825Z",fill:"#606060"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_457_371",children:(0,n.jsx)("rect",{width:"20",height:"18",fill:"white"})})})]}),eS?"Reported":"Report"]})]}):(0,n.jsx)("button",{className:"quest_instruct_btn me-2 btn-light-grey",onClick:()=>j("question"),children:"← Back"})}),(0,n.jsx)("div",{className:"testFooter_btn testFooter_right_btn d-flex",children:"instructions"===C?(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("button",{className:"quest_submit_btn next-btn btn-primary",onClick:()=>X(e=>e+1),hidden:J>=1,children:["Next",(0,n.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M3.3335 8.00001H12.6668M12.6668 8.00001L8.00016 3.33334M12.6668 8.00001L8.00016 12.6667",stroke:"white",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})})]})}):"question_paper"===C?(0,n.jsx)("div",{}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("button",{className:"quest_instruct_btn prev-btn me-2 btn-light-blue",onClick:()=>{let e=T-1;e>=0&&_((0,l.s4)(e))},disabled:0===T||N,children:[(0,n.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M12.6665 8.00001H3.33317M3.33317 8.00001L7.99984 3.33334M3.33317 8.00001L7.99984 12.6667",stroke:"#1693FA",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})}),"Prev"]}),(0,n.jsxs)("button",{className:"quest_submit_btn next-btn btn-primary",onClick:()=>{let e=T+1;e<$.length&&_((0,l.s4)(e))},disabled:T>=$.length-1||N,children:["Next",(0,n.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M3.3335 8.00001H12.6668M12.6668 8.00001L8.00016 3.33334M12.6668 8.00001L8.00016 12.6667",stroke:"white",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})})]})]})})]}),(0,n.jsx)(c.Z,{isOpen:f,onClose:eN,onSubmit:ey,questionId:ee.id,isSubmitting:v,options:q})]})}},44440:function(){}},function(e){e.O(0,[4396,509,5675,4141,2888,9774,179],function(){return e(e.s=74392)}),_N_E=e.O()}]);

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.