����JFIF��x�x����'403WebShell
403Webshell
Server IP : 66.29.137.217  /  Your IP : 3.145.45.170
Web Server : LiteSpeed
System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : gltevjme ( 1095)
PHP Version : 7.0.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/gltevjme/cbt.gltechlimited.com/public/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/gltevjme/cbt.gltechlimited.com/public/js/2810.js
(self.webpackChunk=self.webpackChunk||[]).push([[2810],{99342:(t,e,s)=>{"use strict";s.d(e,{Z:()=>a});var r=s(23645),n=s.n(r)()((function(t){return t[1]}));n.push([t.id,".q-chip[data-v-3e836949]{height:40px;width:40px}.q-chip-sno[data-v-3e836949]{height:30px;width:40px}.q-chip-status[data-v-3e836949]{height:10px;width:40px}",""]);const a=n},46700:(t,e,s)=>{var r={"./af":42786,"./af.js":42786,"./ar":30867,"./ar-dz":14130,"./ar-dz.js":14130,"./ar-kw":96135,"./ar-kw.js":96135,"./ar-ly":56440,"./ar-ly.js":56440,"./ar-ma":47702,"./ar-ma.js":47702,"./ar-sa":16040,"./ar-sa.js":16040,"./ar-tn":37100,"./ar-tn.js":37100,"./ar.js":30867,"./az":31083,"./az.js":31083,"./be":9808,"./be.js":9808,"./bg":68338,"./bg.js":68338,"./bm":67438,"./bm.js":67438,"./bn":8905,"./bn-bd":76225,"./bn-bd.js":76225,"./bn.js":8905,"./bo":11560,"./bo.js":11560,"./br":1278,"./br.js":1278,"./bs":80622,"./bs.js":80622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":50877,"./cv.js":50877,"./cy":47373,"./cy.js":47373,"./da":24780,"./da.js":24780,"./de":59740,"./de-at":60217,"./de-at.js":60217,"./de-ch":60894,"./de-ch.js":60894,"./de.js":59740,"./dv":5300,"./dv.js":5300,"./el":50837,"./el.js":50837,"./en-au":78348,"./en-au.js":78348,"./en-ca":77925,"./en-ca.js":77925,"./en-gb":22243,"./en-gb.js":22243,"./en-ie":46436,"./en-ie.js":46436,"./en-il":47207,"./en-il.js":47207,"./en-in":44175,"./en-in.js":44175,"./en-nz":76319,"./en-nz.js":76319,"./en-sg":31662,"./en-sg.js":31662,"./eo":92915,"./eo.js":92915,"./es":55655,"./es-do":55251,"./es-do.js":55251,"./es-mx":96112,"./es-mx.js":96112,"./es-us":71146,"./es-us.js":71146,"./es.js":55655,"./et":5603,"./et.js":5603,"./eu":77763,"./eu.js":77763,"./fa":76959,"./fa.js":76959,"./fi":11897,"./fi.js":11897,"./fil":42549,"./fil.js":42549,"./fo":94694,"./fo.js":94694,"./fr":94470,"./fr-ca":63049,"./fr-ca.js":63049,"./fr-ch":52330,"./fr-ch.js":52330,"./fr.js":94470,"./fy":5044,"./fy.js":5044,"./ga":29295,"./ga.js":29295,"./gd":2101,"./gd.js":2101,"./gl":38794,"./gl.js":38794,"./gom-deva":27884,"./gom-deva.js":27884,"./gom-latn":23168,"./gom-latn.js":23168,"./gu":95349,"./gu.js":95349,"./he":24206,"./he.js":24206,"./hi":30094,"./hi.js":30094,"./hr":30316,"./hr.js":30316,"./hu":22138,"./hu.js":22138,"./hy-am":11423,"./hy-am.js":11423,"./id":29218,"./id.js":29218,"./is":90135,"./is.js":90135,"./it":90626,"./it-ch":10150,"./it-ch.js":10150,"./it.js":90626,"./ja":39183,"./ja.js":39183,"./jv":24286,"./jv.js":24286,"./ka":12105,"./ka.js":12105,"./kk":47772,"./kk.js":47772,"./km":18758,"./km.js":18758,"./kn":79282,"./kn.js":79282,"./ko":33730,"./ko.js":33730,"./ku":1408,"./ku.js":1408,"./ky":33291,"./ky.js":33291,"./lb":36841,"./lb.js":36841,"./lo":55466,"./lo.js":55466,"./lt":57010,"./lt.js":57010,"./lv":37595,"./lv.js":37595,"./me":39861,"./me.js":39861,"./mi":35493,"./mi.js":35493,"./mk":95966,"./mk.js":95966,"./ml":87341,"./ml.js":87341,"./mn":5115,"./mn.js":5115,"./mr":10370,"./mr.js":10370,"./ms":9847,"./ms-my":41237,"./ms-my.js":41237,"./ms.js":9847,"./mt":72126,"./mt.js":72126,"./my":56165,"./my.js":56165,"./nb":64924,"./nb.js":64924,"./ne":16744,"./ne.js":16744,"./nl":93901,"./nl-be":59814,"./nl-be.js":59814,"./nl.js":93901,"./nn":83877,"./nn.js":83877,"./oc-lnc":92135,"./oc-lnc.js":92135,"./pa-in":15858,"./pa-in.js":15858,"./pl":64495,"./pl.js":64495,"./pt":89520,"./pt-br":57971,"./pt-br.js":57971,"./pt.js":89520,"./ro":96459,"./ro.js":96459,"./ru":21793,"./ru.js":21793,"./sd":40950,"./sd.js":40950,"./se":10490,"./se.js":10490,"./si":90124,"./si.js":90124,"./sk":64249,"./sk.js":64249,"./sl":14985,"./sl.js":14985,"./sq":51104,"./sq.js":51104,"./sr":49131,"./sr-cyrl":79915,"./sr-cyrl.js":79915,"./sr.js":49131,"./ss":85893,"./ss.js":85893,"./sv":98760,"./sv.js":98760,"./sw":91172,"./sw.js":91172,"./ta":27333,"./ta.js":27333,"./te":23110,"./te.js":23110,"./tet":52095,"./tet.js":52095,"./tg":27321,"./tg.js":27321,"./th":9041,"./th.js":9041,"./tk":19005,"./tk.js":19005,"./tl-ph":75768,"./tl-ph.js":75768,"./tlh":89444,"./tlh.js":89444,"./tr":72397,"./tr.js":72397,"./tzl":28254,"./tzl.js":28254,"./tzm":51106,"./tzm-latn":30699,"./tzm-latn.js":30699,"./tzm.js":51106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":67691,"./uk.js":67691,"./ur":13795,"./ur.js":13795,"./uz":6791,"./uz-latn":60588,"./uz-latn.js":60588,"./uz.js":6791,"./vi":65666,"./vi.js":65666,"./x-pseudo":14378,"./x-pseudo.js":14378,"./yo":75805,"./yo.js":75805,"./zh-cn":83839,"./zh-cn.js":83839,"./zh-hk":55726,"./zh-hk.js":55726,"./zh-mo":99807,"./zh-mo.js":99807,"./zh-tw":74152,"./zh-tw.js":74152};function n(t){var e=a(t);return s(e)}function a(t){if(!s.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}n.keys=function(){return Object.keys(r)},n.resolve=a,t.exports=n,n.id=46700},51473:(t,e,s)=>{"use strict";s.d(e,{Z:()=>i});var r=s(17757),n=s.n(r);const a={extends:s(56663).$I,props:{chartData:{type:Object,default:null},elementText:{type:String,default:""}},mounted:function(){n().pluginService.register({beforeDraw:function(t){if(t.config.options.elements.center){var e=t.chart.ctx,s=t.config.options.elements.center,r=s.fontStyle||"Arial",n=s.text,a=s.color||"#000",i=s.maxFontSize||75,o=(s.sidePadding||20)/100*(2*t.innerRadius);e.font="30px "+r;var l=e.measureText(n).width,c=2*t.innerRadius-o,d=c/l,u=Math.floor(30*d),p=2*t.innerRadius,v=Math.min(u,p,i),h=s.minFontSize,m=s.lineHeight||25,f=!1;void 0===h&&(h=20),h&&v<h&&(v=h,f=!0),e.textAlign="center",e.textBaseline="middle";var g=(t.chartArea.left+t.chartArea.right)/2,_=(t.chartArea.top+t.chartArea.bottom)/2;if(e.font=v+"px "+r,e.fillStyle=a,!f)return void e.fillText(n,g,_);for(var w=n.split(" "),x="",b=[],y=0;y<w.length;y++){var C=x+w[y]+" ";e.measureText(C).width>c&&y>0?(b.push(x),x=w[y]+" "):x=C}_-=b.length/2*m;for(var k=0;k<b.length;k++)e.fillText(b[k],g,_),_+=m;e.fillText(x,g,_)}}}),this.renderChart(this.chartData,{responsive:!0,cutoutPercentage:90,legend:{display:!1},elements:{center:{text:this.elementText,color:"#495057",fontStyle:"Inter",sidePadding:20,minFontSize:12,newFontSize:12,lineHeight:25}}})}};const i=(0,s(51900).Z)(a,undefined,undefined,!1,null,null,null).exports},97618:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(51900).Z)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 50 50"}},[s("g",{attrs:{id:"Icon",transform:"translate(13 344)"}},[s("g",{attrs:{id:"circle",transform:"translate(-29 -361.14)"}},[s("circle",{attrs:{id:"bg_circle",cx:"25",cy:"25",r:"25",transform:"translate(16 17.14)",fill:"#25c16f"}}),t._v(" "),s("path",{attrs:{id:"white_ring",d:"M20,0A19.969,19.969,0,0,1,37.151,30.248c-.712,1.229-2.946,1.654-4.181,2.926-1.2,1.235-1.426,3.291-3.258,4.338A20.011,20.011,0,1,1,20,0Z",transform:"translate(21 22.14)",fill:"#fff"}}),t._v(" "),s("circle",{attrs:{id:"green_ring",cx:"15",cy:"15",r:"15",transform:"translate(26 27.14)",fill:"#25c16f"}})]),t._v(" "),s("g",{attrs:{id:"cursor",transform:"matrix(1, -0.017, 0.017, 1, 10.797, -319.593)"}},[s("path",{attrs:{id:"right",d:"M10.286,23.465a.687.687,0,0,1-.63-.413L.057.962a.687.687,0,0,1,.9-.9l22.09,9.6a.687.687,0,0,1-.073,1.288L16.249,13A4.885,4.885,0,0,0,13,16.249l-2.058,6.73a.687.687,0,0,1-.619.485Z",transform:"translate(0 0)",fill:"#fff"}}),t._v(" "),s("path",{attrs:{id:"left",d:"M27.244,9.657,5.154.058A.688.688,0,0,0,4.394.2h0L18.412,14.221A4.887,4.887,0,0,1,20.441,13l6.73-2.058a.687.687,0,0,0,.073-1.288Z",transform:"translate(-4.192 -0.001)",fill:"#fff"}})])])])}),[],!1,null,null,null).exports},8012:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={methods:{goBack:function(){window.history.back()}}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("button",{staticClass:"text-gray-400 flex ltr:flex-row rtl:flex-row-reverse items-center ltr:mr-4 rtl:ml-4 focus:outline-none",on:{click:t.goBack}},[s("svg",{staticClass:"w-6 h-6 rtl:flip",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10 19l-7-7m0 0l7-7m-7 7h18"}})]),t._v(" "),t._t("default")],2)}),[],!1,null,null,null).exports},60651:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={data:function(){return{show:!0}},computed:{style:function(){var t;return(null===(t=this.$page.props.jetstream.flash)||void 0===t?void 0:t.bannerStyle)||"success"},message:function(){var t;return(null===(t=this.$page.props.jetstream.flash)||void 0===t?void 0:t.banner)||""}}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[t.show&&t.message?s("div",{class:{"bg-indigo-500":"success"==t.style,"bg-red-700":"danger"==t.style}},[s("div",{staticClass:"max-w-screen-xl mx-auto py-2 px-3 sm:px-6 lg:px-8"},[s("div",{staticClass:"flex items-center justify-between flex-wrap"},[s("div",{staticClass:"w-0 flex-1 flex items-center min-w-0"},[s("span",{staticClass:"flex p-2 rounded-md",class:{"bg-indigo-600":"success"==t.style,"bg-red-600":"danger"==t.style}},["success"==t.style?s("svg",{staticClass:"h-5 w-5 text-white",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}})]):t._e(),t._v(" "),"danger"==t.style?s("svg",{staticClass:"h-5 w-5 text-white",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}})]):t._e()]),t._v(" "),s("p",{staticClass:"ml-3 font-medium text-white truncate"},[t._v("\n                        "+t._s(t.message)+"\n                    ")])]),t._v(" "),s("div",{staticClass:"flex-shrink-0 sm:ml-3"},[s("button",{staticClass:"-mr-1 flex p-2 rounded-md focus:outline-none sm:-mr-2 transition ease-in-out duration-150",class:{"hover:bg-indigo-600 focus:bg-indigo-600":"success"==t.style,"hover:bg-red-600 focus:bg-red-600":"danger"==t.style},attrs:{type:"button","aria-label":"Dismiss"},on:{click:function(e){e.preventDefault(),t.show=!1}}},[s("svg",{staticClass:"h-5 w-5 text-white",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"}})])])])])])]):t._e()])}),[],!1,null,null,null).exports},75521:(t,e,s)=>{"use strict";s.d(e,{Z:()=>l});const r={name:"QuestionChip",props:{sno:Number|String,status:{type:String,default:""},isActive:{type:Boolean,default:!1}},computed:{statusClasses:function(){switch(this.status){case"success":return"bg-green-400";case"warning":return"bg-purple-400";case"caution":return"bg-yellow-400";case"danger":return"bg-red-400";default:return"bg-gray-400"}},chipClasses:function(){return this.isActive?"bg-gray-100":""},textClasses:function(){return this.isActive?"text-gray-800":"text-gray-400"},borderClasses:function(){switch(this.status){case"success":return"border-green-400";case"warning":return"border-purple-400";case"caution":return"border-yellow-400";case"danger":return"border-red-400";default:return"border-gray-400"}}}};var n=s(93379),a=s.n(n),i=s(99342),o={insert:"head",singleton:!1};a()(i.Z,o);i.Z.locals;const l=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"q-chip relative text-sm flex flex-col items-center justify-between border border-b-0 rounded-sm",class:[t.chipClasses,t.borderClasses]},[s("span",{staticClass:"q-chip-sno flex justify-center items-center",class:[t.textClasses]},[t._v(t._s(t.sno))]),t._v(" "),s("span",{staticClass:"q-chip-status overflow-hidden text-white absolute bottom-0 h-3 rounded-bl-sm rounded-br-sm",class:[t.statusClasses,t.borderClasses]})])}),[],!1,null,"3e836949",null).exports},15236:(t,e,s)=>{"use strict";s.d(e,{Z:()=>o});var r=s(30281),n=s(60118),a=s(72522);const i={name:"PracticeQuestionCard",components:{AudioAttachment:r.Z,VideoAttachment:n.Z,ComprehensionAttachment:a.Z},props:{question:Object,sno:Number,totalQuestions:Number,attachmentType:String,attachment:[String,Object]},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const o=(0,s(51900).Z)(i,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"border rounded border-gray-200 bg-gray-50 p-6 shadow-sm"},[s("div",{staticClass:"flex gap-2 mb-4"},[s("span",{staticClass:"text-sm font-semibold"},[t._v("Q"+t._s(t.sno)+" of "+t._s(t.totalQuestions))]),t._v(" "),s("span",{staticClass:"text-sm"},[t._v("|")]),t._v(" "),s("span",{staticClass:"text-sm text-gray-600 uppercase"},[t._v(t._s(t.question.skill))])]),t._v(" "),null!=t.attachmentType?s("div",{staticClass:"mb-4"},["audio"===t.attachmentType?s("div",[s("audio-attachment",{attrs:{reference:"player_"+t.question.code,options:t.attachment}})],1):t._e(),t._v(" "),"video"===t.attachmentType?s("div",[s("video-attachment",{attrs:{reference:"player_"+t.question.code,options:t.attachment}})],1):t._e(),t._v(" "),"comprehension"===t.attachmentType?s("div",[s("comprehension-attachment",{attrs:{passage:t.attachment}})],1):t._e()]):t._e(),t._v(" "),s("div",{staticClass:"q-data question",domProps:{innerHTML:t._s(t.question.question)}})])}),[],!1,null,null,null).exports},47554:(t,e,s)=>{"use strict";s.d(e,{Z:()=>i});var r=s(75521),n=s(28006);const a={name:"PracticeQuestionChip",components:{QuestionChip:r.Z},directives:{tooltip:n.default},props:{sno:Number,active:Boolean,is_correct:Boolean,status:String},computed:{questionStatus:function(){return"answered"===this.status?this.is_correct?"Correct Answer":"Wrong Answer":"Not Answered"},chipStatus:function(){return"answered"===this.status?this.is_correct?"success":"danger":"default"}}};const i=(0,s(51900).Z)(a,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{directives:[{name:"tooltip",rawName:"v-tooltip.top",value:t.questionStatus,expression:"questionStatus",modifiers:{top:!0}}],staticClass:"w-full overflow-hidden rounded-sm cursor-pointer"},[s("question-chip",{attrs:{sno:t.sno,status:t.chipStatus,"is-active":t.active}})],1)}),[],!1,null,null,null).exports},26778:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={name:"PracticeSolutionCard",components:{VideoAttachment:s(60118).Z},props:{question:Object},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"q-data rounded bg-yellow-50 border border-yellow-200 p-6"},[s("h4",{staticClass:"font-semibold text-gray-600 mb-4 uppercase"},[t._v(t._s(t.__("Solution")))]),t._v(" "),t.question.solution_video?s("div",[s("video-attachment",{attrs:{reference:"player_"+t.question.code,options:t.question.solution_video,"show-message":!1}})],1):t._e(),t._v(" "),s("div",{domProps:{innerHTML:t._s(t.question.solution)}})])}),[],!1,null,null,null).exports},16446:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={props:{align:{default:"right"},width:{default:"48"},contentClasses:{default:function(){return["py-1","bg-white"]}}},data:function(){return{open:!1}},created:function(){var t=this,e=function(e){t.open&&27===e.keyCode&&(t.open=!1)};this.$once("hook:destroyed",(function(){document.removeEventListener("keydown",e)})),document.addEventListener("keydown",e)},computed:{widthClass:function(){return{48:"w-48"}[this.width.toString()]},alignmentClasses:function(){return"left"===this.align?"origin-top-left left-0":"right"===this.align?"rtl:origin-top-left rtl:left-0 ltr:origin-top-right ltr:right-0":"origin-top"}}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"relative"},[s("div",{on:{click:function(e){t.open=!t.open}}},[t._t("trigger")],2),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"fixed inset-0 z-40",on:{click:function(e){t.open=!1}}}),t._v(" "),s("transition",{attrs:{"enter-active-class":"transition ease-out duration-200","enter-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"absolute z-50 mt-2 shadow rounded",class:[t.widthClass,t.alignmentClasses],staticStyle:{display:"none"},on:{click:function(e){t.open=!1}}},[s("div",{staticClass:"rounded-sm ring-1 ring-black ring-opacity-5",class:t.contentClasses},[t._t("content")],2)])])],1)}),[],!1,null,null,null).exports},93210:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={props:["href","as"]};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",["button"===t.as?s("button",{staticClass:"block text-sm w-full px-4 py-2 leading-5 text-gray-700 ltr:text-left rtl:text-right hover:bg-gray-100 focus:outline-none focus:bg-gray-100 transition duration-150 ease-in-out",attrs:{type:"submit"}},[t._t("default")],2):s("inertia-link",{staticClass:"text-sm block px-4 py-2 leading-5 text-gray-700 hover:bg-gray-100 ltr:text-left rtl:text-right focus:outline-none focus:bg-gray-100 transition duration-150 ease-in-out",attrs:{href:t.href}},[t._t("default")],2)],1)}),[],!1,null,null,null).exports},57850:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={props:["href","active"],computed:{classes:function(){return this.active?"inline-flex items-center px-1 pt-1 border-b-2 border-indigo-400 font-medium leading-5 text-gray-900 focus:outline-none focus:border-indigo-700 transition duration-150 ease-in-out":"inline-flex items-center px-1 pt-1 border-b-2 border-transparent font-medium leading-5 text-gray-500 hover:text-gray-700 hover:border-gray-300 focus:outline-none focus:text-gray-700 focus:border-gray-300 transition duration-150 ease-in-out"}}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("inertia-link",{class:t.classes,attrs:{href:t.href}},[t._t("default")],2)}),[],!1,null,null,null).exports},30281:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={name:"AudioAttachment",components:{VuePlyr:s(15859).Z},props:{reference:String,options:Object},data:function(){return{plyrOptions:{speed:{selected:1,options:[1]}}}}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"audio-options z-40"},[s("div",{staticClass:"font-mono px-2 py-1 inline-block text-gray-600 rounded text-sm mb-2"},[t._v("\n        Listen to the audio and answer the question\n    ")]),t._v(" "),"mp3"===t.options.audio_type?s("div",[s("vue-plyr",{ref:t.reference,attrs:{options:t.plyrOptions}},[s("audio",{attrs:{controls:"",crossorigin:""}},[s("source",{attrs:{src:t.options.link,type:"audio/mp3"}})])])],1):t._e(),t._v(" "),"ogg"===t.options.audio_type?s("div",[s("vue-plyr",{ref:t.reference,attrs:{options:t.plyrOptions}},[s("audio",{attrs:{controls:"",crossorigin:""}},[s("source",{attrs:{src:t.options.link,type:"audio/ogg"}})])])],1):t._e()])}),[],!1,null,null,null).exports},72522:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={name:"ComprehensionAttachment",components:{PerfectScrollbar:s(44943).PerfectScrollbar},props:{passage:String},data:function(){return{scrollbarOptions:{suppressScrollX:!0}}}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"audio-options"},[s("div",{staticClass:"font-mono px-2 py-1 inline-block text-gray-600 rounded text-sm mb-2"},[t._v("\n        Read the passage and answer the question\n    ")]),t._v(" "),s("perfect-scrollbar",{ref:"comScroll",staticStyle:{"max-height":"24rem"},attrs:{options:t.scrollbarOptions}},[s("div",{domProps:{innerHTML:t._s(t.passage)}})])],1)}),[],!1,null,null,null).exports},60118:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={name:"VideoAttachment",components:{VuePlyr:s(15859).Z},props:{reference:String,options:Object,showMessage:{type:Boolean,default:!0}},data:function(){return{plyrOptions:{controls:["play-large","play","progress","current-time","mute","volume","captions","settings","airplay","fullscreen"],speed:{selected:1,options:[.5,1,1.25]}}}},computed:{getVideoLink:function(){return"youtube"===this.options.video_type?"https://www.youtube.com/embed/"+this.options.link+"?amp;iv_load_policy=3&amp;modestbranding=1&amp;playsinline=1&amp;showinfo=0&amp;rel=0&amp;enablejsapi=1":"vimeo"===this.options.video_type?"https://player.vimeo.com/video/"+this.options.link+"?loop=false&amp;byline=false&amp;portrait=false&amp;title=false&amp;speed=true&amp;transparent=0&amp;gesture=media":""}}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"audio-options"},[t.showMessage?s("div",{staticClass:"font-mono px-2 py-1 inline-block text-gray-600 rounded text-sm mb-2"},[t._v("\n        Watch the video and answer the question\n    ")]):t._e(),t._v(" "),"mp4"===t.options.video_type?s("div",[s("vue-plyr",{ref:t.reference,attrs:{options:t.plyrOptions}},[s("video",{attrs:{src:t.options.link}},[s("source",{attrs:{src:t.options.link,type:"video/mp4"}})])])],1):t._e(),t._v(" "),"youtube"===t.options.video_type?s("div",[s("vue-plyr",{ref:t.reference,attrs:{options:t.plyrOptions}},[s("div",{staticClass:"plyr__video-embed"},[s("iframe",{attrs:{src:t.getVideoLink,allowfullscreen:"",allowtransparency:"",allow:"autoplay"}})])])],1):t._e(),t._v(" "),"vimeo"===t.options.video_type?s("div",[s("vue-plyr",{ref:t.reference},[s("div",{staticClass:"plyr__video-embed"},[s("iframe",{attrs:{src:t.getVideoLink}})])])],1):t._e()])}),[],!1,null,null,null).exports},47058:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={name:"FIBSolution",props:{parentQid:[Number,String],parentOptions:[String,Array,Number],parentAnswer:[String,Array,Number],correctAnswer:[String,Array,Number],isCorrect:Boolean,status:String},data:function(){return{question_id:this.parentQid,options:this.parentOptions,answer:this.parentAnswer}},methods:{labelClass:function(t){return"answered"===this.status?this.answer[t].toLowerCase()===this.correctAnswer[t].toLowerCase()?"q-input correct":"q-input wrong":"q-input"}},computed:{answerText:function(){var t=this.correctAnswer.map((function(t,e){return e+1+". "+t})).join(", ");return this.__("Correct answers for the blanks are")+" "+t}},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"q-inputs"},[t._l(t.options,(function(e,r){return s("div",{key:"blank_"+r},[s("div",{staticClass:"mb-2",class:t.labelClass(r)},[s("div",{staticClass:"i-id"},[s("label",{attrs:{for:t.question_id+"ans_"+(e-1)}},[t._v(t._s(e))])]),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.answer[e-1],expression:"answer[blank-1]"}],attrs:{id:t.question_id+"ans_"+(e-1),placeholder:"Type your answer for blank "+e,disabled:"disabled"},domProps:{value:t.answer[e-1]},on:{input:function(s){s.target.composing||t.$set(t.answer,e-1,s.target.value)}}})])])})),t._v(" "),s("div",{staticClass:"flex gap-2 border border-green-200 bg-green-50 items-center rounded p-4 mt-6"},[s("svg",{staticClass:"w-6 h-6 text-green-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}})]),t._v(" "),s("h4",{staticClass:"text-gray-600",domProps:{innerHTML:t._s(t.answerText)}})])],2)}),[],!1,null,null,null).exports},8392:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={name:"MMASolution",props:{parentQid:[Number,String],parentOptions:Array,parentAnswer:[String,Array,Number],correctAnswer:[String,Array,Number],isCorrect:Boolean,status:String},data:function(){return{question_id:this.parentQid,options:this.parentOptions,answer:this.parentAnswer}},methods:{labelClass:function(t){return"answered"===this.status&&-1!==this.answer.indexOf(t+1)?-1!==this.correctAnswer.indexOf(t+1)?"correct":"wrong":""}},computed:{answerText:function(){var t=this.correctAnswer.sort().join(", ");return this.__("Correct answers are Options")+" "+t}},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"q-radio"},[s("div",{staticClass:"q-options"},t._l(t.options,(function(e,r){return s("div",{key:e,staticClass:"q-option"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.answer,expression:"answer"}],attrs:{type:"checkbox",id:"q_"+t.question_id+"_option_"+r,disabled:"disabled"},domProps:{value:r+1,checked:Array.isArray(t.answer)?t._i(t.answer,r+1)>-1:t.answer},on:{change:function(e){var s=t.answer,n=e.target,a=!!n.checked;if(Array.isArray(s)){var i=r+1,o=t._i(s,i);n.checked?o<0&&(t.answer=s.concat([i])):o>-1&&(t.answer=s.slice(0,o).concat(s.slice(o+1)))}else t.answer=a}}}),t._v(" "),s("label",{class:t.labelClass(r),attrs:{for:"q_"+t.question_id+"_option_"+r}},[s("span",{staticClass:"o-id squared"},[s("strong",[t._v(t._s(r+1))])]),t._v(" "),s("span",{staticClass:"o-text",domProps:{innerHTML:t._s(e)}})])])})),0),t._v(" "),s("div",{staticClass:"flex gap-2 border border-green-200 bg-green-50 items-center rounded p-4 mt-6"},[s("svg",{staticClass:"w-6 h-6 text-green-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}})]),t._v(" "),s("h4",{staticClass:"text-gray-600",domProps:{innerHTML:t._s(t.answerText)}})])])}),[],!1,null,null,null).exports},62921:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={name:"MSASolution",props:{parentQid:[Number,String],parentOptions:Array,parentAnswer:[String,Array,Number],correctAnswer:[String,Array,Number],isCorrect:Boolean,status:String},data:function(){return{question_id:this.parentQid,options:this.parentOptions,answer:this.parentAnswer}},methods:{labelClass:function(t){if("answered"===this.status){if(this.isCorrect&&this.answer===t+1)return"correct";if(!this.isCorrect&&this.answer===t+1)return"wrong"}return""}},computed:{answerText:function(){return this.__("Correct answer is Option")+" "+this.correctAnswer}},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"q-radio"},[s("div",{staticClass:"q-options"},t._l(t.options,(function(e,r){return s("div",{key:e,staticClass:"q-option"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.answer,expression:"answer"}],attrs:{type:"radio",id:t.question_id+"_option_"+r,disabled:"disabled"},domProps:{value:r+1,checked:t._q(t.answer,r+1)},on:{change:function(e){t.answer=r+1}}}),t._v(" "),s("label",{class:t.labelClass(r),attrs:{for:t.question_id+"_option_"+r}},[s("span",{staticClass:"o-id"},[s("strong",[t._v(t._s(r+1))])]),t._v(" "),s("span",{staticClass:"o-text",domProps:{innerHTML:t._s(e)}})])])})),0),t._v(" "),s("div",{staticClass:"flex gap-2 border border-green-200 bg-green-50 items-center rounded p-4 mt-6"},[s("svg",{staticClass:"w-6 h-6 text-green-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}})]),t._v(" "),s("h4",{staticClass:" text-gray-600",domProps:{innerHTML:t._s(t.answerText)}})])])}),[],!1,null,null,null).exports},32426:(t,e,s)=>{"use strict";s.d(e,{Z:()=>a});var r=s(9980);const n={name:"MTFSolution",components:{draggable:s.n(r)()},props:{parentQid:[Number,String],parentOptions:[Array,Object],parentAnswer:[Array,Object],correctAnswer:[String,Array,Number],isCorrect:Boolean,status:String},data:function(){return{question_id:this.parentQid,options:this.parentOptions.matches,answer:"answered"===this.status?this.parentAnswer:this.parentOptions.pairs}},methods:{labelClass:function(t){return"answered"===this.status?this.answer[t].id===this.correctAnswer[t]?"correct":"wrong":""}},computed:{answerText:function(){var t=this,e=[];this.correctAnswer.forEach((function(s,r){var n=t.answer.find((function(t){return t.id===s}));e.push(r+1+" - "+n.code)}));var s=e.join(", ");return this.__("Correct answers are")+" "+s}},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const a=(0,s(51900).Z)(n,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"q-radio"},[s("div",{staticClass:"flex flex-col sm:flex-row gap-2 q-options"},[s("div",{staticClass:"w-full flex flex-col justify-between"},t._l(t.options,(function(e,r){return s("div",{key:e.id,staticClass:"q-option h-full"},[s("label",{staticClass:"h-full",attrs:{for:t.question_id+"_option_"+r}},[s("span",{staticClass:"o-id"},[s("strong",[t._v(t._s(r+1))])]),t._v(" "),s("span",{staticClass:"o-text",domProps:{innerHTML:t._s(e.value)}})])])})),0),t._v(" "),s("div",{staticClass:"w-full"},[s("draggable",{attrs:{group:"options",sort:!1},model:{value:t.answer,callback:function(e){t.answer=e},expression:"answer"}},[s("transition-group",{staticClass:"w-full flex flex-col justify-between",attrs:{name:"flip-list",tag:"div"}},t._l(t.answer,(function(e,r){return s("div",{key:e.id,staticClass:"q-option h-full"},[s("label",{staticClass:"h-full",class:t.labelClass(r),attrs:{for:t.question_id+"_pair_"+r}},[s("span",{staticClass:"o-id match"},[s("strong",[t._v(t._s(r+1))]),t._v(" - "),s("strong",[t._v(t._s(e.code))])]),t._v(" "),s("span",{staticClass:"o-text",domProps:{innerHTML:t._s(e.value)}})])])})),0)],1)],1)]),t._v(" "),s("div",{staticClass:"flex gap-2 border border-green-200 bg-green-50 items-center rounded p-4 mt-6"},[s("svg",{staticClass:"w-6 h-6 text-green-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}})]),t._v(" "),s("h4",{staticClass:"text-sm text-gray-600",domProps:{innerHTML:t._s(t.answerText)}})])])}),[],!1,null,null,null).exports},75986:(t,e,s)=>{"use strict";s.d(e,{Z:()=>a});var r=s(9980);const n={name:"ORDSolution",components:{draggable:s.n(r)()},props:{parentQid:[Number,String],parentOptions:Array,parentAnswer:[String,Array,Number],correctAnswer:[String,Array,Number],isCorrect:Boolean,status:String},data:function(){return{question_id:this.parentQid,options:this.parentOptions,answer:"answered"===this.status?this.parentAnswer:this.parentOptions}},methods:{labelClass:function(t){return"answered"===this.status?this.answer[t].id===this.correctAnswer[t]?"correct":"wrong":""}},computed:{answerText:function(){var t=this,e=[];this.correctAnswer.forEach((function(s,r){var n=t.answer.find((function(t){return t.id===s}));e.push(r+1+" - "+n.code)}));var s=e.join(", ");return this.__("Correct answers are")+" "+s}},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const a=(0,s(51900).Z)(n,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"q-radio"},[s("div",{staticClass:"q-options"},[s("draggable",{attrs:{sort:!1,group:"options"},model:{value:t.answer,callback:function(e){t.answer=e},expression:"answer"}},t._l(t.answer,(function(e,r){return s("div",{key:e.id,staticClass:"q-option"},[s("label",{class:t.labelClass(r),attrs:{for:t.question_id+"_option_"+r}},[s("span",{staticClass:"o-id match"},[s("strong",[t._v(t._s(r+1))]),t._v(" - "),s("strong",[t._v(t._s(e.code))])]),t._v(" "),s("span",{staticClass:"o-text",domProps:{innerHTML:t._s(e.value)}})])])})),0)],1),t._v(" "),s("div",{staticClass:"flex gap-2 border border-green-200 bg-green-50 items-center rounded p-4 mt-6"},[s("svg",{staticClass:"w-6 h-6 text-green-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}})]),t._v(" "),s("h4",{staticClass:"text-sm text-gray-600",domProps:{innerHTML:t._s(t.answerText)}})])])}),[],!1,null,null,null).exports},88364:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={name:"SAQSolution",props:{parentQid:[Number,String],parentOptions:[String,Array,Number],parentAnswer:[String,Array,Number],correctAnswer:[String,Array,Number],isCorrect:Boolean,status:String},data:function(){return{question_id:this.parentQid,options:this.parentOptions,answer:this.parentAnswer}},methods:{labelClass:function(){return"answered"===this.status?this.isCorrect?"q-input correct":"q-input wrong":"q-input"}},computed:{answerText:function(){var t=this.correctAnswer.sort().join(", ");return this.__("Acceptable answers are")+" "+t}},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"q-inputs"},[s("div",{class:t.labelClass()},[s("div",{staticClass:"i-id"},[s("label",{attrs:{for:t.question_id}},[t._v("A")])]),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.answer,expression:"answer"}],attrs:{id:t.question_id,placeholder:"Type your answer",disabled:"disabled"},domProps:{value:t.answer},on:{input:function(e){e.target.composing||(t.answer=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"flex gap-2 border border-green-200 bg-green-50 items-center rounded p-4 mt-6"},[s("svg",{staticClass:"w-6 h-6 text-green-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}})]),t._v(" "),s("h4",{staticClass:" text-gray-600",domProps:{innerHTML:t._s(t.answerText)}})])])}),[],!1,null,null,null).exports},37760:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={props:["active","href","as"],computed:{classes:function(){return this.active?"block pl-3 pr-4 py-2 border-l-4 border-indigo-400 text-base font-medium text-indigo-700 bg-indigo-50 focus:outline-none focus:text-indigo-800 focus:bg-indigo-100 focus:border-indigo-700 transition duration-150 ease-in-out":"block pl-3 pr-4 py-2 border-l-4 border-transparent text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300 focus:outline-none focus:text-gray-800 focus:bg-gray-50 focus:border-gray-300 transition duration-150 ease-in-out"}}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",["button"==t.as?s("button",{staticClass:"w-full text-left",class:t.classes},[t._t("default")],2):s("inertia-link",{class:t.classes,attrs:{href:t.href}},[t._t("default")],2)],1)}),[],!1,null,null,null).exports},78589:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={name:"RewardBadge",props:{points:{type:[Number,String],default:0},textColor:{type:String,default:"text-gray-400"},iconSize:{type:String,default:"w-7 h-7"}}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"flex group gap-2 items-center"},[s("svg",{staticClass:"transition duration-300 ease-in-out transform group-hover:scale-110",class:t.iconSize,attrs:{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"300px",height:"300px",viewBox:"0 0 300 300","enable-background":"new 0 0 300 300","xml:space":"preserve"}},[s("g",[s("ellipse",{attrs:{fill:"#FFC843",cx:"149.833",cy:"149.501",rx:"147.833",ry:"146.166"}}),s("ellipse",{attrs:{fill:"#D38700",cx:"150",cy:"150.168",rx:"113.667",ry:"113.833"}}),t._v(" "),s("polygon",{attrs:{fill:"#FFC843",points:"192.716,211.945 151.021,190.203 109.476,212.222 117.27,165.852 83.489,133.142 129.999,126.226\n                                        150.667,83.991 171.618,126.086 218.172,132.693 184.611,165.626"}})])]),t._v(" "),s("span",{staticClass:"font-semibold ",class:t.textColor},[t._v(t._s(t.points)+" XP")])])}),[],!1,null,null,null).exports},89808:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={name:"NavigationQuestionCardShimmer",components:{Skeleton:s(80247).default}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"w-full overflow-hidden dark_question_card rounded cursor-pointer"},[s("div",{staticClass:"hover:bg-gray-600 text-gray-400 hover:text-gray-200 rounded p-4"},[s("div",{staticClass:"flex items-start gap-4 opacity-25"},[s("Skeleton",{staticClass:"bg-gray-700",attrs:{width:"1rem",height:"10px"}}),t._v(" "),s("div",{staticClass:"w-full"},[s("Skeleton",{staticClass:"w-full mb-2",attrs:{height:"10px"}}),t._v(" "),s("Skeleton",{staticClass:"w-full mb-2",attrs:{height:"10px"}}),t._v(" "),s("Skeleton",{staticClass:"w-full",attrs:{height:"10px"}})],1)],1)])])}),[],!1,null,null,null).exports},75004:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={name:"PracticeQuestionShimmer",components:{Skeleton:s(80247).default}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"mb-6"},[s("Skeleton",{staticClass:"mb-2",attrs:{width:"10rem"}}),t._v(" "),s("Skeleton",{attrs:{height:"2rem"}})],1)}),[],!1,null,null,null).exports},91455:(t,e,s)=>{"use strict";s.d(e,{Z:()=>g});var r=s(97618),n=s(60651),a=s(16446),i=s(93210),o=s(57850),l=s(37760),c=s(50298),d=s(78589),u=s(15366);const p={name:"SideBarNav",props:{isMobile:Boolean}};var v=s(51900);const h=(0,v.Z)(p,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("nav",{staticClass:"relative px-4 space-y-3",class:{"flex-1 bg-primary":!t.isMobile}},[s("div",{staticClass:"bg-gray-100 bg-opacity-10 rounded-md py-3 px-4"},[s("h4",{staticClass:"text-white text-base font-semibold"},[t._v(t._s(t.$page.props.currentCategory?t.$page.props.currentCategory.name:t.__("No Syllabus Selected")))]),t._v(" "),s("inertia-link",{staticClass:"text-secondary underline text-sm",attrs:{href:t.route("change_syllabus")}},[t._v("\n            "+t._s(t.$page.props.currentCategory?t.__("Change Syllabus"):t.__("Choose Syllabus"))+"\n        ")])],1),t._v(" "),s("inertia-link",{staticClass:"group rounded-md md py-3 px-4 flex items-center text-base font-semibold",class:["user_dashboard"===t.route().current()?"bg-secondary text-white":"text-white hover:bg-secondary hover:text-white"],attrs:{href:t.route("user_dashboard")}},[s("svg",{staticClass:"group-hover:text-white ltr:mr-3 rtl:ml-3 flex-shrink-0 h-6 w-6",class:["user_dashboard"===t.route().current()?"text-white":"text-secondary"],attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"}},[s("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),s("path",{attrs:{d:"M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z"}})]),t._v("\n        "+t._s(t.__("Dashboard"))+"\n    ")]),t._v(" "),s("inertia-link",{staticClass:"group rounded-md py-3 px-4 flex items-center text-base font-semibold",class:["learn_practice"===t.route().current()?"bg-secondary text-white":"text-white hover:bg-secondary hover:text-white"],attrs:{href:t.route("learn_practice")}},[s("svg",{staticClass:"group-hover:text-white ltr:mr-3 rtl:ml-3 flex-shrink-0 h-6 w-6",class:["learn_practice"===t.route().current()?"text-white":"text-secondary"],attrs:{xmlns:"http://www.w3.org/2000/svg","enable-background":"new 0 0 24 24",viewBox:"0 0 24 24",fill:"currentColor"}},[s("g",[s("path",{attrs:{d:"M0,0h24v24H0V0z",fill:"none"}})]),s("g",[s("path",{attrs:{d:"M5,20V4h2v7l2.5-1.5L12,11V4h5v7.08c0.33-0.05,0.66-0.08,1-0.08s0.67,0.03,1,0.08V4c0-1.1-0.9-2-2-2H5C3.9,2,3,2.9,3,4v16 c0,1.1,0.9,2,2,2h7.26c-0.42-0.6-0.75-1.28-0.97-2H5z M18,13c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5S20.76,13,18,13z M16.75,20.5v-5l4,2.5L16.75,20.5z"}})])]),t._v("\n        "+t._s(t.__("Learn & Practice"))+"\n    ")]),t._v(" "),s("inertia-link",{staticClass:"group rounded-md py-3 px-4 flex items-center text-base font-semibold",class:["exam_dashboard"===t.route().current()?"bg-secondary text-white":"text-white hover:bg-secondary hover:text-white"],attrs:{href:t.route("exam_dashboard")}},[s("svg",{staticClass:"group-hover:text-white ltr:mr-3 rtl:ml-3 flex-shrink-0 h-6 w-6",class:["exam_dashboard"===t.route().current()?"text-white":"text-secondary"],attrs:{xmlns:"http://www.w3.org/2000/svg","enable-background":"new 0 0 24 24",viewBox:"0 0 24 24",fill:"currentColor"}},[s("path",{attrs:{d:"M10 11H18V9H10ZM10 14H14V12H10ZM10 8H18V6H10ZM8 18Q7.175 18 6.588 17.413Q6 16.825 6 16V4Q6 3.175 6.588 2.587Q7.175 2 8 2H20Q20.825 2 21.413 2.587Q22 3.175 22 4V16Q22 16.825 21.413 17.413Q20.825 18 20 18ZM8 16H20Q20 16 20 16Q20 16 20 16V4Q20 4 20 4Q20 4 20 4H8Q8 4 8 4Q8 4 8 4V16Q8 16 8 16Q8 16 8 16ZM8 4Q8 4 8 4Q8 4 8 4V16Q8 16 8 16Q8 16 8 16Q8 16 8 16Q8 16 8 16V4Q8 4 8 4Q8 4 8 4ZM4 22Q3.175 22 2.588 21.413Q2 20.825 2 20V6H4V20Q4 20 4 20Q4 20 4 20H18V22Z"}})]),t._v("\n        "+t._s(t.__("Exams"))+"\n    ")]),t._v(" "),s("inertia-link",{staticClass:"group rounded-md py-3 px-4 flex items-center text-base font-semibold",class:["quiz_dashboard"===t.route().current()?"bg-secondary text-white":"text-white hover:bg-secondary hover:text-white"],attrs:{href:t.route("quiz_dashboard")}},[s("svg",{staticClass:"group-hover:text-white ltr:mr-3 rtl:ml-3 flex-shrink-0 h-6 w-6",class:["quiz_dashboard"===t.route().current()?"text-white":"text-secondary"],attrs:{xmlns:"http://www.w3.org/2000/svg","enable-background":"new 0 0 24 24",viewBox:"0 0 24 24",fill:"currentColor"}},[s("g",[s("path",{attrs:{d:"M0,0h24v24H0V0z",fill:"none"}})]),s("g",[s("path",{attrs:{d:"M4,6H2v14c0,1.1,0.9,2,2,2h14v-2H4V6z M20,2H8C6.9,2,6,2.9,6,4v12c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2V4 C22,2.9,21.1,2,20,2z M20,16H8V4h12V16z M13.51,10.16c0.41-0.73,1.18-1.16,1.63-1.8c0.48-0.68,0.21-1.94-1.14-1.94 c-0.88,0-1.32,0.67-1.5,1.23l-1.37-0.57C11.51,5.96,12.52,5,13.99,5c1.23,0,2.08,0.56,2.51,1.26c0.37,0.6,0.58,1.73,0.01,2.57 c-0.63,0.93-1.23,1.21-1.56,1.81c-0.13,0.24-0.18,0.4-0.18,1.18h-1.52C13.26,11.41,13.19,10.74,13.51,10.16z M12.95,13.95 c0-0.59,0.47-1.04,1.05-1.04c0.59,0,1.04,0.45,1.04,1.04c0,0.58-0.44,1.05-1.04,1.05C13.42,15,12.95,14.53,12.95,13.95z"}})])]),t._v("\n        "+t._s(t.__("Quizzes"))+"\n    ")]),t._v(" "),s("inertia-link",{staticClass:"group rounded-md py-3 px-4 flex items-center text-base font-semibold",class:["my_progress"===t.route().current()?"bg-secondary text-white":"text-white hover:bg-secondary hover:text-white"],attrs:{href:t.route("my_progress")}},[s("svg",{staticClass:"group-hover:text-white ltr:mr-3 rtl:ml-3 flex-shrink-0 h-6 w-6",class:["my_progress"===t.route().current()?"text-white":"text-secondary"],attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"}},[s("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),s("path",{attrs:{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM7 10h2v7H7zm4-3h2v10h-2zm4 6h2v4h-2z"}})]),t._v("\n        "+t._s(t.__("My Progress"))+"\n    ")])],1)}),[],!1,null,null,null).exports;var m=s(44943);const f={components:{ArcApplicationMark:r.Z,ArcBanner:n.Z,ArcDropdown:a.Z,ArcDropdownLink:i.Z,ArcNavLink:o.Z,ArcResponsiveNavLink:l.Z,Toast:c.default,Message:u.default,RewardsBadge:d.Z,SideBarNav:h,PerfectScrollbar:m.PerfectScrollbar},props:{canLogin:Boolean,canRegister:Boolean},data:function(){return{showingNavigationDropdown:!1,sidebar:!1,scrollbarOptions:{swipeEasing:!0,suppressScrollX:!0,maxScrollbarLength:100}}},methods:{switchToTeam:function(t){this.$inertia.put(route("current-team.update"),{team_id:t.id},{preserveState:!1})},toggleMenu:function(t){var e=document.getElementById("menu");t?e.classList.remove("hidden"):e.classList.add("hidden")},logout:function(){this.$inertia.post(route("logout"))}}};const g=(0,v.Z)(f,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"h-screen overflow-hidden flex bg-gray-100",on:{keydown:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"window",void 0,e.key,void 0)&&t._k(e.keyCode,"escape",void 0,e.key,void 0))return null;t.sidebar=!1}}},[s("arc-banner"),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.sidebar,expression:"sidebar"}],ref:"dialog",staticClass:"fixed inset-0 z-40 flex md:hidden",attrs:{"aria-modal":"true"}},[s("transition",{attrs:{"enter-class":"transition-opacity ease-linear duration-300","enter-active-class":"opacity-0","enter-to-class":"opacity-100","leave-class":"transition-opacity ease-linear duration-300","leave-active-class":"opacity-100","leave-to-class":"opacity-0"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.sidebar,expression:"sidebar"}],staticClass:"fixed inset-0 bg-gray-600 bg-opacity-75",attrs:{"aria-hidden":"true"},on:{click:function(e){t.sidebar=!1}}})]),t._v(" "),s("transition",{attrs:{"enter-class":"transition ease-in-out duration-300 transform","enter-active-class":"-translate-x-full","enter-to-class":"translate-x-0","leave-class":"transition ease-in-out duration-300 transform","leave-active-class":"translate-x-0","leave-to-class":"-translate-x-full"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.sidebar,expression:"sidebar"}],staticClass:"relative max-w-xs w-full bg-primary pt-5 pb-4 flex-1 flex flex-col"},[s("transition",{attrs:{"enter-class":"ease-in-out duration-300","enter-active-class":"opacity-0","enter-to-class":"opacity-100","leave-class":"ease-in-out duration-300","leave-active-class":"opacity-100","leave-to-class":"opacity-0"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.sidebar,expression:"sidebar"}],staticClass:"absolute top-0 right-0 -mr-12 pt-2"},[s("button",{staticClass:"ml-1 flex items-center justify-center h-10 w-10 rounded-full focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white",attrs:{type:"button"},on:{click:function(e){t.sidebar=!1}}},[s("span",{staticClass:"sr-only"},[t._v(t._s(t.__("Close sidebar")))]),t._v(" "),s("svg",{staticClass:"h-6 w-6 text-white",attrs:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"}})])])])]),t._v(" "),s("div",{staticClass:"flex-shrink-0 px-4 pb-4 border-b border-gray-100 border-opacity-10 flex items-center"},[s("a",{attrs:{href:t.route("welcome")}},[s("img",{staticClass:"h-8 w-auto",attrs:{src:t.$page.props.assetUrl+t.$page.props.general.white_logo_path,alt:t.$page.props.general.app_name}})])]),t._v(" "),s("div",{staticClass:"mt-4 flex-1 h-0 overflow-y-auto"},[s("side-bar-nav",{attrs:{"is-mobile":!0}})],1)],1)]),t._v(" "),s("div",{staticClass:"flex-shrink-0 w-14"})],1),t._v(" "),s("div",{staticClass:"hidden bg-primary md:flex md:flex-shrink-0"},[s("div",{staticClass:"w-72 flex flex-col"},[s("div",{staticClass:"border-r border-gray-200 pb-4 flex flex-col flex-grow overflow-y-auto"},[s("div",{staticClass:"flex-shrink-0 h-16 px-6 border-b border-gray-100 border-opacity-10 flex items-center"},[s("a",{attrs:{href:t.route("welcome")}},[s("img",{staticClass:"h-8 w-auto",attrs:{src:t.$page.props.assetUrl+t.$page.props.general.white_logo_path,alt:t.$page.props.general.app_name}})])]),t._v(" "),s("div",{staticClass:"flex-grow mt-4 flex flex-col"},[s("side-bar-nav",{attrs:{"is-mobile":!1}})],1)])])]),t._v(" "),s("div",{staticClass:"flex-1 w-full mx-auto w-0 flex flex-col md:px-0"},[s("div",{staticClass:"relative z-20 flex-shrink-0 flex h-16 bg-white sm:border-b border-gray-200 lg:border-none"},[s("button",{staticClass:"border-b border-r border-gray-200 px-4 text-gray-500 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500 md:hidden",attrs:{type:"button"},on:{click:function(e){t.sidebar=!0}}},[s("span",{staticClass:"sr-only"},[t._v(t._s(t.__("Open sidebar")))]),t._v(" "),s("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6h16M4 12h16M4 18h7"}})])]),t._v(" "),s("div",{staticClass:"flex-1 max-w-5xl mx-auto border-b border-gray-200 flex justify-between px-4 md:px-0"},[s("div",{staticClass:"flex-1 flex"},[s("form",{staticClass:"w-full flex md:ml-0",attrs:{action:"#",method:"GET"}},[s("label",{staticClass:"sr-only",attrs:{for:"search-field"}},[t._v(t._s(t.__("Search")))]),t._v(" "),s("div",{staticClass:"relative w-full text-gray-400 focus-within:text-gray-600"},[s("div",{staticClass:"pointer-events-none absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center"},[s("svg",{staticClass:"h-5 w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z","clip-rule":"evenodd"}})])]),t._v(" "),s("input",{staticClass:"block h-full w-full border-transparent py-2 ltr:pl-8 rtl:pr-8 ltr:pr-3 rtl:pl-3 text-gray-900 placeholder-gray-500 focus:outline-none focus:placeholder-gray-400 focus:ring-0 focus:border-transparent sm:text-sm",attrs:{id:"search-field",placeholder:"Search",type:"search",name:"search"}})])])]),t._v(" "),s("div",{staticClass:"ltr:ml-4 rtl:mr-4 flex items-center md:ltr:ml-6 md:rtl:mr-6"},[s("rewards-badge",{attrs:{"text-color":"text-primary",points:t.$page.props.user.wallet_balance}}),t._v(" "),s("button",{staticClass:"ltr:ml-3 rtl:mr-3 bg-white p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",attrs:{type:"button"}},[s("span",{staticClass:"sr-only"},[t._v(t._s(t.__("View notifications")))]),t._v(" "),s("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9"}})])]),t._v(" "),s("div",{staticClass:"ltr:ml-3 rtl:mr-3 relative"},[s("arc-dropdown",{attrs:{align:"right",width:"48"},scopedSlots:t._u([{key:"trigger",fn:function(){return[t.$page.props.jetstream.managesProfilePhotos?s("button",{staticClass:"flex border-2 border-transparent rounded-full focus:outline-none focus:border-gray-300 transition duration-150 ease-in-out"},[s("img",{staticClass:"h-8 w-8 rounded-full object-cover",attrs:{src:t.$page.props.user.profile_photo_url,alt:t.$page.props.user.first_name}})]):s("span",{staticClass:"inline-flex rounded-md"},[s("button",{staticClass:"inline-flex items-center px-3 py-2 border border-transparent leading-4 font-medium rounded-md text-gray-500 bg-white hover:text-gray-700 focus:outline-none transition ease-in-out duration-150",attrs:{type:"button"}},[t._v("\n                                                                "+t._s(t.$page.props.user.first_name)+"\n\n                                                                "),s("svg",{staticClass:"ml-2 -mr-0.5 h-4 w-4",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd"}})])])])]},proxy:!0},{key:"content",fn:function(){return[s("div",{staticClass:"block px-4 py-2 text-xs text-gray-400"},[t._v("\n                                    "+t._s(t.$page.props.user.first_name)+" "+t._s(t.$page.props.user.last_name)+"\n                                ")]),t._v(" "),s("arc-dropdown-link",{attrs:{href:t.route("profile.show")}},[t._v("\n                                    "+t._s(t.__("Profile"))+"\n                                ")]),t._v(" "),s("arc-dropdown-link",{attrs:{href:t.route("user_subscriptions")}},[t._v("\n                                    "+t._s(t.__("My Subscriptions"))+"\n                                ")]),t._v(" "),s("arc-dropdown-link",{attrs:{href:t.route("user_payments")}},[t._v("\n                                    "+t._s(t.__("My Payments"))+"\n                                ")]),t._v(" "),t.$page.props.jetstream.hasApiFeatures?s("arc-dropdown-link",{attrs:{href:t.route("api-tokens.index")}},[t._v("\n                                    "+t._s(t.__("API Tokens"))+"\n                                ")]):t._e(),t._v(" "),s("div",{staticClass:"border-t border-gray-100"}),t._v(" "),s("form",{attrs:{method:"post",action:t.route("logout")}},[s("input",{attrs:{type:"hidden",name:"_token"},domProps:{value:t.$page.props.csrf_token}}),t._v(" "),s("arc-dropdown-link",{attrs:{as:"button"}},[t._v("\n                                        "+t._s(t.__("Logout"))+"\n                                    ")])],1)]},proxy:!0}])})],1)],1)])]),t._v(" "),s("div",{staticClass:"bg-white z-10 shadow"},[s("div",{staticClass:"max-w-5xl mx-auto"},[s("div",{staticClass:"py-4"},[s("div",{staticClass:"px-4 sm:px-6 md:px-0"},[s("div",{staticClass:"flex flex-col md:flex-row items-start md:items-center justify-between"},[s("div",[t._t("header")],2),t._v(" "),t.$slots.actions?s("div",{staticClass:"sm:mb-0 sm:mt-0"},[t._t("actions")],2):t._e()])])])])]),t._v(" "),s("perfect-scrollbar",{ref:"scroll",staticClass:"flex-1 relative h-full z-0 overflow-hidden focus:outline-none",attrs:{options:t.scrollbarOptions}},[s("main",{staticClass:"max-w-5xl mx-auto"},[s("div",{staticClass:"px-4 sm:px-6 md:px-0"},[s("Message",{directives:[{name:"show",rawName:"v-show",value:t.$page.props.successMessage,expression:"$page.props.successMessage"}],attrs:{severity:"success",closable:!1}},[t._v("\n                        "+t._s(t.$page.props.successMessage)+"\n                    ")]),t._v(" "),t.$page.props.errorMessage?s("Message",{attrs:{severity:"error",closable:!1}},[t._v("\n                        "+t._s(t.$page.props.errorMessage)+"\n                    ")]):t._e(),t._v(" "),t._t("default")],2)])]),t._v(" "),s("Toast",{attrs:{position:"top-right"}}),t._v(" "),s("portal-target",{attrs:{name:"modal",multiple:""}})],1)],1)}),[],!1,null,null,null).exports},91020:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>w});var r=s(91455),n=s(51473),a=s(78589),i=s(15236),o=s(47554),l=s(89808),c=s(75004),d=s(26778),u=s(88364),p=s(47058),v=s(75986),h=s(32426),m=s(62921),f=s(8392),g=s(8012);const _={components:{AppLayout:r.Z,DoughnutChart:n.Z,RewardsBadge:a.Z,PracticeQuestionCard:i.Z,PracticeQuestionChip:o.Z,NavigationQuestionCardShimmer:l.Z,PracticeQuestionShimmer:c.Z,PracticeSolutionCard:d.Z,SAQSolution:u.Z,FIBSolution:p.Z,ORDSolution:v.Z,MTFSolution:h.Z,MSASolution:m.Z,MMASolution:f.Z,BackButton:g.Z},props:{practiceSet:Object,session:Object,analytics:Object,allowRewards:Boolean},data:function(){return{loading:!1,questions:[],current_question:0,statusChartData:{labels:["Correct","Wrong","Unanswered"],datasets:[{label:"Status",data:[this.analytics.correct_answered_questions,this.analytics.wrong_answered_questions,this.analytics.unanswered_questions],backgroundColor:["rgb(52, 211, 153)","rgb(248, 113, 113)","rgb(156, 163, 175)"],hoverOffset:4}]},timeSpentChartData:{labels:["Correct","Wrong","Other"],datasets:[{label:"Time Spent",data:[this.analytics.time_taken_for_correct_answered.seconds,this.analytics.time_taken_for_wrong_answered.seconds,this.analytics.time_taken_for_other.seconds],backgroundColor:["rgb(52, 211, 153)","rgb(248, 113, 113)","rgb(156, 163, 175)"],hoverOffset:4}]}}},methods:{jumpToQuestion:function(t){this.current_question=t},fetchQuestions:function(){var t=this;t.loading=!0,axios.get(route("fetch_practice_set_solutions",{practiceSet:this.practiceSet.slug,session:this.session.code})).then((function(e){var s=e.data;t.questions=s.questions})).catch((function(e){t.loading=!1})).then((function(){t.loading=!1}))}},metaInfo:function(){return{title:this.title}},computed:{title:function(){return this.practiceSet.title+" "+this.__("Analysis")+" - "+this.$page.props.general.app_name},totalAnswered:function(){return this.analytics.answered_questions+"/"+this.analytics.total_questions+" Answered"},totalTimeSpent:function(){return this.analytics.total_time_taken.detailed_readable+" Spent"}},mounted:function(){"completed"===this.session.status&&this.fetchQuestions()}};const w=(0,s(51900).Z)(_,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("app-layout",{scopedSlots:t._u([{key:"header",fn:function(){return[s("div",{staticClass:"flex items-center"},[s("back-button"),t._v(" "),s("h1",{staticClass:"app-heading"},[t._v(t._s(t.practiceSet.title)+" "+t._s(t.__("Analysis")))])],1)]},proxy:!0},{key:"actions",fn:function(){return["completed"!==t.session.status?s("inertia-link",{attrs:{href:t.route("go_to_practice",{practiceSet:t.practiceSet.slug,session:t.session.code})}},[s("span",{staticClass:"qt-btn qt-btn-sm qt-btn-success"},[t._v(t._s(t.__("Resume Practice")))])]):t._e()]},proxy:!0}])},[t._v(" "),t._v(" "),s("div",{staticClass:"py-8"},[s("div",{staticClass:"w-full flex flex-col justify-center items-center"},[t.practiceSet.allow_rewards&&"completed"!==t.session.status?s("div",{staticClass:"w-full font-mono px-4 py-2 border border-green-200 bg-green-100 text-green-600 rounded text-sm mb-4"},[t._v("\n                "+t._s(t.__("finish_points_message"))+"\n            ")]):t._e(),t._v(" "),s("div",{staticClass:"w-full card mb-6"},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"flex gap-4 justify-between border-b border-gray-100 items-center h-16 px-4 py-4"},[s("div",{staticClass:"flex items-center gap-2"},[s("svg",{staticClass:"w-7 h-7",attrs:{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"300px",height:"300px",viewBox:"0 0 300 300","enable-background":"new 0 0 300 300","xml:space":"preserve"}},[s("g",[s("ellipse",{attrs:{fill:"#FFC843",cx:"149.833",cy:"149.501",rx:"147.833",ry:"146.166"}}),s("ellipse",{attrs:{fill:"#D38700",cx:"150",cy:"150.168",rx:"113.667",ry:"113.833"}}),t._v(" "),s("polygon",{attrs:{fill:"#FFC843",points:"192.716,211.945 151.021,190.203 109.476,212.222 117.27,165.852 83.489,133.142 129.999,126.226\n                                                                                150.667,83.991 171.618,126.086 218.172,132.693 184.611,165.626"}})])]),t._v(" "),"completed"===t.session.status&&t.allowRewards?s("h4",{staticClass:"font-semibold text-sm"},[t._v(t._s(t.__("Points Earned")))]):s("h4",{staticClass:"font-semibold text-sm"},[t._v(t._s(t.__("Score")))])]),t._v(" "),s("div",{staticClass:"text-sm"},[t._v(t._s(t.session.total_points_earned)+" XP")])]),t._v(" "),s("div",{staticClass:"flex gap-4 justify-between border-b border-gray-100 items-center h-16 px-4 py-4"},[s("div",{staticClass:"flex items-center gap-2"},[s("img",{staticClass:"w-7 h-7",attrs:{src:t.$page.props.appUrl+"images/darts.png",alt:"Accuracy"}}),t._v(" "),s("h4",{staticClass:"font-semibold text-sm"},[t._v(t._s(t.__("Accuracy")))])]),t._v(" "),s("div",{staticClass:"text-sm"},[t._v(t._s(t.analytics.accuracy)+"%")])]),t._v(" "),s("div",{staticClass:"grid grid-cols-1 sm:grid-cols-2 gap-4 border-b border-gray-100 justify-center items-center px-4 py-4"},[s("div",{staticClass:"flex gap-4 sm:justify-center items-center"},[s("div",{staticClass:"w-28"},[s("doughnut-chart",{key:"status",attrs:{id:"status","chart-data":t.statusChartData,"element-text":t.totalAnswered}})],1),t._v(" "),s("div",{staticClass:"flex flex-col gap-2 justify-center"},[s("div",{staticClass:"flex gap-2 items-center text-xs"},[s("svg",{staticClass:"w-5 h-5 text-green-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}})]),t._v("\n                                    "+t._s(t.analytics.correct_answered_questions)+" "+t._s(t.__("Correct"))+"\n                                ")]),t._v(" "),s("div",{staticClass:"flex gap-2 items-center text-xs"},[s("svg",{staticClass:"w-5 h-5 text-red-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z"}})]),t._v("\n                                    "+t._s(t.analytics.wrong_answered_questions)+" "+t._s(t.__("Wrong"))+"\n                                ")]),t._v(" "),s("div",{staticClass:"flex gap-2 items-center text-xs"},[s("svg",{staticClass:"w-5 h-5 text-gray-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 12H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z"}})]),t._v("\n                                    "+t._s(t.analytics.unanswered_questions)+" "+t._s(t.__("Unanswered"))+"\n                                ")])])]),t._v(" "),s("div",{staticClass:"flex gap-4 sm:justify-center items-center"},[s("div",{staticClass:"w-28"},[s("doughnut-chart",{key:"time_spent",attrs:{id:"time_spent","chart-data":t.timeSpentChartData,"element-text":t.totalTimeSpent}})],1),t._v(" "),s("div",{staticClass:"flex flex-col gap-2 justify-center"},[s("div",{staticClass:"flex gap-2 items-center text-xs"},[s("svg",{staticClass:"w-5 h-5 text-green-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}})]),t._v("\n                                    "+t._s(t.analytics.time_taken_for_correct_answered.detailed_readable)+" "+t._s(t.__("Correct"))+"\n                                ")]),t._v(" "),s("div",{staticClass:"flex gap-2 items-center text-xs"},[s("svg",{staticClass:"w-5 h-5 text-red-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z"}})]),t._v("\n                                    "+t._s(t.analytics.time_taken_for_wrong_answered.detailed_readable)+" "+t._s(t.__("Wrong"))+"\n                                ")]),t._v(" "),s("div",{staticClass:"flex gap-2 items-center text-xs"},[s("svg",{staticClass:"w-5 h-5 text-gray-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 12H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z"}})]),t._v("\n                                    "+t._s(t.analytics.time_taken_for_other.detailed_readable)+" "+t._s(t.__("Other"))+"\n                                ")])])])]),t._v(" "),s("div",{staticClass:"flex gap-4 justify-between items-center h-16 px-4 py-4"},[s("div",{staticClass:"flex items-center gap-2"},[s("img",{staticClass:"w-7 h-7",attrs:{src:t.$page.props.appUrl+"images/clock.png",alt:"Speed"}}),t._v(" "),s("h4",{staticClass:"font-semibold text-sm"},[t._v(t._s(t.__("Avg. Speed")))])]),t._v(" "),s("div",{staticClass:"text-sm"},[t._v(t._s(t.analytics.speed)+" que/hr")])])])])]),t._v(" "),"completed"===t.session.status?s("div",[s("h2",{staticClass:"text-lg font-semibold leading-tight text-gray-800 mb-6"},[t._v(t._s(t.__("Solutions")))]),t._v(" "),s("div",{staticClass:"w-full card"},[s("div",{staticClass:"w-full card-body lg:flex flex-wrap"},[s("div",{staticClass:"py-4 lg:w-1/3 w-full md:ltr:pr-6 md:rtl:pl-6"},[t.loading?s("ul",[s("li",[s("NavigationQuestionCardShimmer")],1),t._v(" "),s("li",[s("NavigationQuestionCardShimmer")],1),t._v(" "),s("li",[s("NavigationQuestionCardShimmer")],1),t._v(" "),s("li",[s("NavigationQuestionCardShimmer")],1)]):s("ul",{staticClass:"my-6 flex flex-wrap justify-center items-center gap-2"},t._l(t.questions,(function(e,r){return s("li",{key:e.code,on:{click:function(e){return t.jumpToQuestion(r)}}},[s("practice-question-chip",{attrs:{sno:r+1,is_correct:e.is_correct,status:e.status,active:t.current_question===r}})],1)})),0)]),t._v(" "),s("div",{staticClass:"py-4 lg:w-2/3 w-full md:ltr:pl-6 md:rtl:pr-6 sm:ltr:border-l sm:rtl:border-r border-gray-200"},[t.loading?s("div",{staticClass:"w-full sm:w-2/3"},[s("div",{staticClass:"card card-body"},[s("PracticeQuestionShimmer",{staticClass:"w-full"})],1)]):s("div",t._l(t.questions,(function(e,r){return s("div",{key:e.id},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.current_question===r,expression:"current_question === index"}],attrs:{id:e.code}},[s("div",{staticClass:"flex justify-between items-center mb-6"},[s("div",{staticClass:"font-mono px-2 py-1 inline-block bg-qt-option text-white rounded text-sm mb-2"},[t._v("\n                                            "+t._s(t.__("Time Spent"))+": "+t._s(e.time_taken.detailed_readable)+"\n                                        ")]),t._v(" "),"answered"===e.status?s("div",{staticClass:"font-mono px-2 py-1 inline-block text-white rounded text-sm mb-2",class:e.is_correct?"bg-green-400":"bg-red-400"},[e.is_correct?s("span",[t._v("+"+t._s(e.points_earned)+" "+t._s(t.__("Points")))]):t._e(),t._v(" "),e.is_correct?t._e():s("span",[t._v(t._s(t.__("No Points")))])]):s("div",{staticClass:"font-mono px-2 py-1 inline-block bg-gray-100 text-gray-600 rounded text-sm mb-2"},[t._v("\n                                            "+t._s(t.__("Not Answered"))+"\n                                        ")])]),t._v(" "),s("practice-question-card",{key:e.card,attrs:{question:e,sno:r+1,"total-questions":t.practiceSet.total_questions}}),t._v(" "),"MSA"===e.questionType||"TOF"===e.questionType?s("div",{staticClass:"mt-4"},[s("MSASolution",{key:e.code,attrs:{"parent-qid":e.code,"is-correct":e.is_correct,status:e.status,"parent-options":e.options,"parent-answer":e.user_answer,"correct-answer":e.ca}})],1):t._e(),t._v(" "),"MMA"===e.questionType?s("div",{staticClass:"mt-4"},[s("MMASolution",{key:e.code,attrs:{"parent-qid":e.code,"is-correct":e.is_correct,status:e.status,"parent-options":e.options,"parent-answer":e.user_answer,"correct-answer":e.ca}})],1):t._e(),t._v(" "),"MTF"===e.questionType?s("div",{staticClass:"mt-4"},[s("MTFSolution",{key:e.code,attrs:{parentQid:e.code,"is-correct":e.is_correct,status:e.status,"parent-options":e.options,"parent-answer":e.user_answer,"correct-answer":e.ca}})],1):t._e(),t._v(" "),"ORD"===e.questionType?s("div",{staticClass:"mt-4"},[s("ORDSolution",{key:e.code,attrs:{parentQid:e.code,"is-correct":e.is_correct,status:e.status,"parent-options":e.options,"parent-answer":e.user_answer,"correct-answer":e.ca}})],1):t._e(),t._v(" "),"FIB"===e.questionType?s("div",{staticClass:"mt-4"},[s("FIBSolution",{key:e.code,attrs:{parentQid:e.code,"is-correct":e.is_correct,status:e.status,"parent-options":e.options,"parent-answer":e.user_answer,"correct-answer":e.ca}})],1):t._e(),t._v(" "),"SAQ"===e.questionType?s("div",{staticClass:"mt-4"},[s("SAQSolution",{key:e.code,attrs:{parentQid:e.code,"is-correct":e.is_correct,status:e.status,"parent-options":e.options,"parent-answer":e.user_answer,"correct-answer":e.ca}})],1):t._e(),t._v(" "),s("div",{staticClass:"mt-4"},[s("practice-solution-card",{attrs:{question:e}})],1)],1)])})),0)])])])]):t._e()])])}),[],!1,null,null,null).exports}}]);

Youez - 2016 - github.com/yon3zu
LinuXploit