Files
quiz-test/chunk-PCQ5ZI2S.js
2025-12-29 22:23:30 +02:00

2 lines
26 KiB
JavaScript

import{a as X,b as Z}from"./chunk-YTKR22CH.js";import"./chunk-GIRDLTGV.js";import"./chunk-P3ICZX4Q.js";import{a as tt}from"./chunk-L5RFXRXA.js";import"./chunk-66PBOFKL.js";import"./chunk-NYYADJNO.js";import"./chunk-7XDVX5KB.js";import{a as U,b as H}from"./chunk-CTXOKINH.js";import{a as K}from"./chunk-B4CGVF35.js";import{b as J}from"./chunk-NIBVQDYD.js";import"./chunk-LLJSP5R2.js";import"./chunk-HMKN2VB2.js";import"./chunk-M5XZ5N2D.js";import{b as W,g as G}from"./chunk-TAS7XC6E.js";import"./chunk-3GOV5KJM.js";import"./chunk-EGL4ZKWQ.js";import"./chunk-GPI43RSU.js";import{a as R,c as D,f as V,i as A}from"./chunk-6NRCTHHS.js";import{b as I}from"./chunk-RC3JXGN6.js";import{a as j,b as Y}from"./chunk-N6VRXIQE.js";import"./chunk-GWD5A44H.js";import"./chunk-52JZ5I3Y.js";import{Aa as L,j as Q,u as E,ua as F,w as T,wa as N,ya as $,za as B}from"./chunk-COFYR5MX.js";import{Db as u,Eb as _,Ec as p,Hb as k,Ib as S,Jb as h,Kb as n,Lb as o,Mb as w,Tb as v,U as f,Xb as C,Za as a,Zb as d,da as x,i as y,ia as m,ja as g,jc as M,lc as i,mc as O,nc as l,ob as q,ta as P,vc as z}from"./chunk-2MUIW2M6.js";var nt=()=>[5,10,20,50],ot=(c,e)=>e.id;function it(c,e){c&1&&(n(0,"div",1),w(1,"mat-spinner",3),n(2,"p"),i(3,"Loading review..."),o()())}function rt(c,e){if(c&1){let t=v();n(0,"button",51),C("click",function(){m(t);let s=d().$implicit,b=d(2);return g(b.toggleBookmark(s.id))}),n(1,"mat-icon"),i(2),o()()}if(c&2){let t=d().$implicit,r=d(2);M("bookmarked",r.isBookmarked(t.id)),h("matTooltip",r.isBookmarked(t.id)?"Remove bookmark":"Bookmark question"),a(2),l(" ",r.isBookmarked(t.id)?"bookmark":"bookmark_border"," ")}}function at(c,e){c&1&&(n(0,"mat-icon",46),i(1,"close"),o())}function ct(c,e){c&1&&(n(0,"mat-icon",47),i(1,"check"),o())}function st(c,e){if(c&1&&(n(0,"div",48)(1,"div",44),i(2,"Correct Answer:"),o(),n(3,"div",52),i(4),n(5,"mat-icon",47),i(6,"check"),o()()()),c&2){let t=d().$implicit,r=d(2);a(4),l(" ",r.formatAnswer(t.correctAnswer)," ")}}function dt(c,e){if(c&1&&(n(0,"div",49)(1,"div",53)(2,"mat-icon"),i(3,"lightbulb"),o(),n(4,"span"),i(5,"Explanation"),o()(),n(6,"p",54),i(7),o()()),c&2){let t=d().$implicit;a(7),O(t.explanation)}}function lt(c,e){if(c&1&&(n(0,"div",50)(1,"mat-icon"),i(2,"schedule"),o(),n(3,"span"),i(4),o()()),c&2){let t=d().$implicit;a(4),l("Time spent: ",t.timeSpent,"s")}}function mt(c,e){if(c&1&&(n(0,"mat-card",32)(1,"mat-card-header")(2,"div",33)(3,"div",34)(4,"span",35),i(5),o(),n(6,"mat-icon",36),i(7),o()(),n(8,"div",37)(9,"mat-chip",38),i(10),o(),n(11,"span",39),i(12),o()(),u(13,rt,3,4,"button",40),o()(),n(14,"mat-card-content")(15,"div",41),i(16),o(),w(17,"mat-divider"),n(18,"div",42)(19,"div",43)(20,"div",44),i(21,"Your Answer:"),o(),n(22,"div",45),i(23),u(24,at,2,0,"mat-icon",46)(25,ct,2,0,"mat-icon",47),o()(),u(26,st,7,1,"div",48),o(),u(27,dt,8,1,"div",49),u(28,lt,5,1,"div",50),o()()),c&2){let t=e.$implicit,r=e.$index,s=d(2);M("incorrect",!t.isCorrect),a(3),M("correct",t.isCorrect),a(2),O(s.pageIndex()*s.pageSize()+r+1),a(2),l(" ",t.isCorrect?"check_circle":"cancel"," "),a(3),l(" ",s.getQuestionTypeText(t.questionType)," "),a(2),l("",t.points," pts"),a(),_(s.isAuthenticated()?13:-1),a(3),O(t.questionText),a(6),M("incorrect",!t.isCorrect),a(),l(" ",s.formatAnswer(t.userAnswer??"")||"Not answered"," "),a(),_(t.isCorrect?25:24),a(2),_(t.isCorrect?-1:26),a(),_(t.explanation?27:-1),a(),_(t.timeSpent?28:-1)}}function gt(c,e){c&1&&(n(0,"div",27)(1,"mat-icon"),i(2,"info"),o(),n(3,"p"),i(4,"No questions match the selected filter"),o()())}function ut(c,e){if(c&1){let t=v();n(0,"mat-paginator",55),C("page",function(s){m(t);let b=d(2);return g(b.onPageChange(s))}),o()}if(c&2){let t=d(2);h("length",t.totalQuestions())("pageSize",t.pageSize())("pageIndex",t.pageIndex())("pageSizeOptions",z(4,nt))}}function _t(c,e){if(c&1){let t=v();n(0,"div",2)(1,"div",4)(2,"button",5),C("click",function(){m(t);let s=d();return g(s.backToResults())}),n(3,"mat-icon"),i(4,"arrow_back"),o()(),n(5,"div",6)(6,"h1",7),i(7,"Quiz Review"),o(),n(8,"p",8),i(9,"Review your answers and learn from mistakes"),o()()(),n(10,"div",9)(11,"mat-card",10)(12,"mat-card-content")(13,"div",11)(14,"mat-icon"),i(15,"quiz"),o()(),n(16,"div",12)(17,"div",13),i(18),o(),n(19,"div",14),i(20,"Total Questions"),o()()()(),n(21,"mat-card",15)(22,"mat-card-content")(23,"div",16)(24,"mat-icon"),i(25,"check_circle"),o()(),n(26,"div",12)(27,"div",13),i(28),o(),n(29,"div",14),i(30,"Correct"),o()()()(),n(31,"mat-card",17)(32,"mat-card-content")(33,"div",18)(34,"mat-icon"),i(35,"cancel"),o()(),n(36,"div",12)(37,"div",13),i(38),o(),n(39,"div",14),i(40,"Incorrect"),o()()()(),n(41,"mat-card",19)(42,"mat-card-content")(43,"div",20)(44,"mat-icon"),i(45,"emoji_events"),o()(),n(46,"div",12)(47,"div",13),i(48),o(),n(49,"div",14),i(50,"Score"),o()()()()(),n(51,"div",21)(52,"button",22),C("click",function(){m(t);let s=d();return g(s.setFilter("all"))}),n(53,"mat-icon"),i(54,"list"),o(),i(55),o(),n(56,"button",23),C("click",function(){m(t);let s=d();return g(s.setFilter("correct"))}),n(57,"mat-icon"),i(58,"check_circle"),o(),i(59),o(),n(60,"button",24),C("click",function(){m(t);let s=d();return g(s.setFilter("incorrect"))}),n(61,"mat-icon"),i(62,"cancel"),o(),i(63),o()(),n(64,"div",25),k(65,mt,29,17,"mat-card",26,ot),u(67,gt,5,0,"div",27),o(),u(68,ut,1,5,"mat-paginator",28),n(69,"div",29)(70,"button",30),C("click",function(){m(t);let s=d();return g(s.backToResults())}),n(71,"mat-icon"),i(72,"arrow_back"),o(),i(73," Back to Results "),o(),n(74,"button",31),C("click",function(){m(t);let s=d();return g(s.retakeQuiz())}),n(75,"mat-icon"),i(76,"refresh"),o(),i(77," Retake Quiz "),o(),n(78,"button",30),C("click",function(){m(t);let s=d();return g(s.goToDashboard())}),n(79,"mat-icon"),i(80,"dashboard"),o(),i(81," Dashboard "),o()()()}if(c&2){let t=d();a(18),O(t.allQuestions().length),a(10),O(t.correctCount()),a(10),O(t.incorrectCount());let r=t.results().summary.score.total>0?t.results().summary.score.earned/t.results().summary.score.total*100:0;a(10),l("",r,"%"),a(4),M("active",t.filterType()==="all"),a(3),l(" All Questions (",t.allQuestions().length,") "),a(),M("active",t.filterType()==="correct"),a(3),l(" Correct (",t.correctCount(),") "),a(),M("active",t.filterType()==="incorrect"),a(3),l(" Incorrect (",t.incorrectCount(),") "),a(2),S(t.paginatedQuestions()),a(2),_(t.paginatedQuestions().length===0?67:-1),a(),_(t.totalQuestions()>t.pageSize()?68:-1)}}var et=class c{route=x(E);router=x(T);quizService=x(tt);storageService=x(I);destroy$=new y;sessionId=P("");results=this.quizService.quizResults;isLoading=P(!0);pageSize=P(10);pageIndex=P(0);filterType=P("all");allQuestions=p(()=>{let e=this.results();return e&&"questions"in e&&Array.isArray(e.questions)?e.questions:[]});filteredQuestions=p(()=>{let e=this.allQuestions(),t=this.filterType();return t==="all"?e:t==="correct"?e.filter(r=>r.isCorrect):t==="incorrect"?e.filter(r=>!r.isCorrect):e});paginatedQuestions=p(()=>{let e=this.filteredQuestions(),t=this.pageIndex()*this.pageSize(),r=t+this.pageSize();return e.slice(t,r)});totalQuestions=p(()=>this.filteredQuestions().length);correctCount=p(()=>this.allQuestions().filter(e=>e.isCorrect).length);incorrectCount=p(()=>this.allQuestions().filter(e=>!e.isCorrect).length);sessionInfo=p(()=>{let e=this.results();return e&&"session"in e?e.session:null});isAuthenticated=p(()=>this.storageService.isAuthenticated());bookmarkedQuestions=P(new Set);ngOnInit(){this.route.params.pipe(f(this.destroy$)).subscribe(e=>{let t=e.sessionId;t?(this.sessionId.set(t),this.route.queryParams.pipe(f(this.destroy$)).subscribe(r=>{r.filter==="incorrect"&&this.filterType.set("incorrect"),this.loadReview()})):this.router.navigate(["/dashboard"])})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}loadReview(){if(this.isLoading.set(!0),this.results()&&this.results().questions){this.isLoading.set(!1);return}this.quizService.reviewQuiz(this.sessionId()).pipe(f(this.destroy$)).subscribe({next:()=>{this.isLoading.set(!1)},error:()=>{this.isLoading.set(!1),this.router.navigate(["/dashboard"])}})}onPageChange(e){this.pageIndex.set(e.pageIndex),this.pageSize.set(e.pageSize),window.scrollTo({top:0,behavior:"smooth"})}setFilter(e){this.filterType.set(e),this.pageIndex.set(0)}toggleBookmark(e){if(!this.isAuthenticated()){this.router.navigate(["/login"],{queryParams:{returnUrl:this.router.url}});return}let t=this.bookmarkedQuestions(),r=new Set(t);r.has(e)?(r.delete(e),console.log("Remove bookmark:",e)):(r.add(e),console.log("Add bookmark:",e)),this.bookmarkedQuestions.set(r)}isBookmarked(e){return this.bookmarkedQuestions().has(e)}getQuestionTypeText(e){switch(e){case"multiple":return"Multiple Choice";case"trueFalse":return"True/False";case"written":return"Written";default:return e}}formatAnswer(e){return Array.isArray(e)?e.join(", "):e}backToResults(){this.router.navigate(["/quiz",this.sessionId(),"results"])}retakeQuiz(){this.router.navigate(["/quiz/setup"])}goToDashboard(){this.quizService.clearSession(),this.router.navigate(["/dashboard"])}static \u0275fac=function(t){return new(t||c)};static \u0275cmp=q({type:c,selectors:[["app-quiz-review"]],decls:3,vars:2,consts:[[1,"quiz-review-container"],[1,"loading-container"],[1,"review-content"],["diameter","50"],[1,"review-header"],["mat-icon-button","",1,"back-btn",3,"click"],[1,"header-content"],[1,"review-title"],[1,"review-subtitle"],[1,"summary-cards"],[1,"summary-card"],[1,"card-icon","total"],[1,"card-info"],[1,"card-value"],[1,"card-label"],[1,"summary-card","correct"],[1,"card-icon","success"],[1,"summary-card","incorrect"],[1,"card-icon","error"],[1,"summary-card","score"],[1,"card-icon","primary"],[1,"filter-tabs"],["mat-stroked-button","",3,"click"],["mat-stroked-button","",1,"correct-tab",3,"click"],["mat-stroked-button","",1,"incorrect-tab",3,"click"],[1,"questions-list"],[1,"question-card",3,"incorrect"],[1,"empty-state"],["showFirstLastButtons","",3,"length","pageSize","pageIndex","pageSizeOptions"],[1,"action-buttons"],["mat-raised-button","",1,"action-btn",3,"click"],["mat-raised-button","","color","primary",1,"action-btn",3,"click"],[1,"question-card"],[1,"question-header-content"],[1,"question-number-badge"],[1,"number"],[1,"status-icon"],[1,"question-meta"],[1,"type-chip"],[1,"points-badge"],["mat-icon-button","",1,"bookmark-btn",3,"bookmarked","matTooltip"],[1,"question-text"],[1,"answer-section"],[1,"answer-row"],[1,"answer-label"],[1,"answer-value"],[1,"answer-icon","error"],[1,"answer-icon","success"],[1,"answer-row","correct-answer"],[1,"explanation-section"],[1,"time-spent"],["mat-icon-button","",1,"bookmark-btn",3,"click","matTooltip"],[1,"answer-value","correct"],[1,"explanation-header"],[1,"explanation-text"],["showFirstLastButtons","",3,"page","length","pageSize","pageIndex","pageSizeOptions"]],template:function(t,r){t&1&&(n(0,"div",0),u(1,it,4,0,"div",1),u(2,_t,82,15,"div",2),o()),t&2&&(a(),_(r.isLoading()?1:-1),a(),_(!r.isLoading()&&r.results()?2:-1))},dependencies:[Q,A,R,D,V,$,N,F,L,B,G,W,H,U,Y,j,K,J,Z,X],styles:[".quiz-review-container[_ngcontent-%COMP%]{max-width:1200px;margin:0 auto;padding:2rem;min-height:calc(100vh - 64px)}@media (max-width: 768px){.quiz-review-container[_ngcontent-%COMP%]{padding:1rem}}.loading-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:1rem}.loading-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--text-secondary);font-size:1rem}.review-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2rem;animation:_ngcontent-%COMP%_fadeIn .5s ease-in-out}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.review-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem;padding-bottom:1rem;border-bottom:2px solid var(--border-color)}.review-header[_ngcontent-%COMP%] .back-btn[_ngcontent-%COMP%]{flex-shrink:0}.review-header[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%]{flex:1}.review-header[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%] .review-title[_ngcontent-%COMP%]{margin:0;font-size:2rem;font-weight:700;color:var(--text-primary)}@media (max-width: 768px){.review-header[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%] .review-title[_ngcontent-%COMP%]{font-size:1.5rem}}.review-header[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%] .review-subtitle[_ngcontent-%COMP%]{margin:.25rem 0 0;font-size:1rem;color:var(--text-secondary)}.summary-cards[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}@media (max-width: 1024px){.summary-cards[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 480px){.summary-cards[_ngcontent-%COMP%]{grid-template-columns:1fr}}.summary-cards[_ngcontent-%COMP%] .summary-card[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_slideUp .5s ease-out both}.summary-cards[_ngcontent-%COMP%] .summary-card[_ngcontent-%COMP%]:nth-child(1){animation-delay:.1s}.summary-cards[_ngcontent-%COMP%] .summary-card[_ngcontent-%COMP%]:nth-child(2){animation-delay:.2s}.summary-cards[_ngcontent-%COMP%] .summary-card[_ngcontent-%COMP%]:nth-child(3){animation-delay:.3s}.summary-cards[_ngcontent-%COMP%] .summary-card[_ngcontent-%COMP%]:nth-child(4){animation-delay:.4s}.summary-cards[_ngcontent-%COMP%] .summary-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem;padding:1.5rem}.summary-cards[_ngcontent-%COMP%] .summary-card[_ngcontent-%COMP%] .card-icon[_ngcontent-%COMP%]{width:50px;height:50px;border-radius:12px;display:flex;align-items:center;justify-content:center}.summary-cards[_ngcontent-%COMP%] .summary-card[_ngcontent-%COMP%] .card-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:28px;width:28px;height:28px;color:#fff}.summary-cards[_ngcontent-%COMP%] .summary-card[_ngcontent-%COMP%] .card-icon.total[_ngcontent-%COMP%]{background:linear-gradient(135deg,#6366f1,#8b5cf6)}.summary-cards[_ngcontent-%COMP%] .summary-card[_ngcontent-%COMP%] .card-icon.success[_ngcontent-%COMP%]{background:linear-gradient(135deg,#4caf50,#8bc34a)}.summary-cards[_ngcontent-%COMP%] .summary-card[_ngcontent-%COMP%] .card-icon.error[_ngcontent-%COMP%]{background:linear-gradient(135deg,#f44336,#e91e63)}.summary-cards[_ngcontent-%COMP%] .summary-card[_ngcontent-%COMP%] .card-icon.primary[_ngcontent-%COMP%]{background:linear-gradient(135deg,#2196f3,#03a9f4)}.summary-cards[_ngcontent-%COMP%] .summary-card[_ngcontent-%COMP%] .card-info[_ngcontent-%COMP%]{flex:1}.summary-cards[_ngcontent-%COMP%] .summary-card[_ngcontent-%COMP%] .card-info[_ngcontent-%COMP%] .card-value[_ngcontent-%COMP%]{font-size:2rem;font-weight:700;color:var(--text-primary);line-height:1}.summary-cards[_ngcontent-%COMP%] .summary-card[_ngcontent-%COMP%] .card-info[_ngcontent-%COMP%] .card-label[_ngcontent-%COMP%]{font-size:.875rem;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px;margin-top:.25rem}@keyframes _ngcontent-%COMP%_slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.filter-tabs[_ngcontent-%COMP%]{display:flex;gap:.75rem;flex-wrap:wrap}.filter-tabs[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;font-weight:600;transition:all .3s ease}.filter-tabs[_ngcontent-%COMP%] button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:20px;width:20px;height:20px}.filter-tabs[_ngcontent-%COMP%] button.active[_ngcontent-%COMP%]{background-color:var(--primary-color);color:#fff;border-color:var(--primary-color)}.filter-tabs[_ngcontent-%COMP%] button.active[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#fff}.filter-tabs[_ngcontent-%COMP%] button.correct-tab.active[_ngcontent-%COMP%]{background-color:#4caf50;border-color:#4caf50}.filter-tabs[_ngcontent-%COMP%] button.incorrect-tab.active[_ngcontent-%COMP%]{background-color:#f44336;border-color:#f44336}.questions-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%]{transition:all .3s ease}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%]:hover{box-shadow:0 4px 12px #00000026}.questions-list[_ngcontent-%COMP%] .question-card.incorrect[_ngcontent-%COMP%]{border-left:4px solid #f44336}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%]{padding:1.5rem 1.5rem 1rem;border-bottom:1px solid var(--border-color)}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] .question-header-content[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem;width:100%}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] .question-header-content[_ngcontent-%COMP%] .question-number-badge[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:8px;background-color:var(--bg-tertiary);font-weight:700}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] .question-header-content[_ngcontent-%COMP%] .question-number-badge.correct[_ngcontent-%COMP%]{background-color:#4caf501a;color:#4caf50}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] .question-header-content[_ngcontent-%COMP%] .question-number-badge.correct[_ngcontent-%COMP%] .status-icon[_ngcontent-%COMP%]{color:#4caf50}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] .question-header-content[_ngcontent-%COMP%] .question-number-badge[_ngcontent-%COMP%]:not(.correct){background-color:#f443361a;color:#f44336}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] .question-header-content[_ngcontent-%COMP%] .question-number-badge[_ngcontent-%COMP%]:not(.correct) .status-icon[_ngcontent-%COMP%]{color:#f44336}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] .question-header-content[_ngcontent-%COMP%] .question-number-badge[_ngcontent-%COMP%] .number[_ngcontent-%COMP%]{font-size:1.25rem}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] .question-header-content[_ngcontent-%COMP%] .question-number-badge[_ngcontent-%COMP%] .status-icon[_ngcontent-%COMP%]{font-size:20px;width:20px;height:20px}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] .question-header-content[_ngcontent-%COMP%] .question-meta[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;flex:1}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] .question-header-content[_ngcontent-%COMP%] .question-meta[_ngcontent-%COMP%] .type-chip[_ngcontent-%COMP%]{font-size:.75rem;height:28px}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] .question-header-content[_ngcontent-%COMP%] .question-meta[_ngcontent-%COMP%] .points-badge[_ngcontent-%COMP%]{padding:.25rem .75rem;border-radius:12px;background-color:var(--primary-color);color:#fff;font-size:.875rem;font-weight:600}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] .question-header-content[_ngcontent-%COMP%] .bookmark-btn[_ngcontent-%COMP%]{margin-left:auto;transition:transform .2s ease}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] .question-header-content[_ngcontent-%COMP%] .bookmark-btn[_ngcontent-%COMP%]:hover{transform:scale(1.1)}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] .question-header-content[_ngcontent-%COMP%] .bookmark-btn.bookmarked[_ngcontent-%COMP%]{color:#ffc107}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] .question-header-content[_ngcontent-%COMP%] .bookmark-btn.bookmarked[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_bookmarkPop .3s ease-out}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{padding:1.5rem}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] .question-text[_ngcontent-%COMP%]{font-size:1.125rem;font-weight:500;color:var(--text-primary);line-height:1.6;margin-bottom:1.5rem}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] mat-divider[_ngcontent-%COMP%]{margin:1.5rem 0}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] .answer-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] .answer-section[_ngcontent-%COMP%] .answer-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem;padding:1rem;border-radius:8px;background-color:var(--bg-secondary)}@media (max-width: 768px){.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] .answer-section[_ngcontent-%COMP%] .answer-row[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start}}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] .answer-section[_ngcontent-%COMP%] .answer-row.correct-answer[_ngcontent-%COMP%]{background-color:#4caf501a;border:2px solid rgba(76,175,80,.3)}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] .answer-section[_ngcontent-%COMP%] .answer-row[_ngcontent-%COMP%] .answer-label[_ngcontent-%COMP%]{font-weight:600;color:var(--text-secondary);min-width:130px;font-size:.9375rem}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] .answer-section[_ngcontent-%COMP%] .answer-row[_ngcontent-%COMP%] .answer-value[_ngcontent-%COMP%]{flex:1;font-size:1rem;color:var(--text-primary);display:flex;align-items:center;gap:.5rem;font-weight:500}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] .answer-section[_ngcontent-%COMP%] .answer-row[_ngcontent-%COMP%] .answer-value.incorrect[_ngcontent-%COMP%]{color:#f44336}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] .answer-section[_ngcontent-%COMP%] .answer-row[_ngcontent-%COMP%] .answer-value.correct[_ngcontent-%COMP%]{color:#4caf50}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] .answer-section[_ngcontent-%COMP%] .answer-row[_ngcontent-%COMP%] .answer-value[_ngcontent-%COMP%] .answer-icon[_ngcontent-%COMP%]{font-size:20px;width:20px;height:20px}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] .answer-section[_ngcontent-%COMP%] .answer-row[_ngcontent-%COMP%] .answer-value[_ngcontent-%COMP%] .answer-icon.success[_ngcontent-%COMP%]{color:#4caf50}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] .answer-section[_ngcontent-%COMP%] .answer-row[_ngcontent-%COMP%] .answer-value[_ngcontent-%COMP%] .answer-icon.error[_ngcontent-%COMP%]{color:#f44336}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] .explanation-section[_ngcontent-%COMP%]{margin-top:1.5rem;padding:1.25rem;background:linear-gradient(135deg,rgba(var(--primary-rgb),.05),rgba(var(--accent-rgb),.05));border-radius:8px;border-left:4px solid var(--primary-color)}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] .explanation-section[_ngcontent-%COMP%] .explanation-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;font-weight:600;color:var(--primary-color);margin-bottom:.75rem}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] .explanation-section[_ngcontent-%COMP%] .explanation-header[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:20px;width:20px;height:20px}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] .explanation-section[_ngcontent-%COMP%] .explanation-text[_ngcontent-%COMP%]{margin:0;font-size:.9375rem;color:var(--text-secondary);line-height:1.6}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] .time-spent[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;margin-top:1rem;font-size:.875rem;color:var(--text-secondary)}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] .time-spent[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px}@keyframes _ngcontent-%COMP%_bookmarkPop{0%{transform:scale(1)}50%{transform:scale(1.3)}to{transform:scale(1)}}.empty-state[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;text-align:center}.empty-state[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:64px;width:64px;height:64px;color:var(--text-secondary);opacity:.5;margin-bottom:1rem}.empty-state[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:1.125rem;color:var(--text-secondary);margin:0}mat-paginator[_ngcontent-%COMP%]{margin-top:1rem;background-color:transparent}.action-buttons[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap;padding-top:1rem;border-top:2px solid var(--border-color)}.action-buttons[_ngcontent-%COMP%] .action-btn[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;padding:.75rem 2rem;font-size:1rem;font-weight:600}.action-buttons[_ngcontent-%COMP%] .action-btn[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:20px;width:20px;height:20px}@media (max-width: 768px){.action-buttons[_ngcontent-%COMP%] .action-btn[_ngcontent-%COMP%]{width:100%;justify-content:center}}@media (prefers-color-scheme: dark){.answer-row[_ngcontent-%COMP%]{background-color:#ffffff0d}.answer-row.correct-answer[_ngcontent-%COMP%]{background-color:#4caf5026}.explanation-section[_ngcontent-%COMP%]{background:linear-gradient(135deg,rgba(var(--primary-rgb),.1),rgba(var(--accent-rgb),.1))}}"]})};export{et as QuizReviewComponent};