PageSourceSearch

https://www.drivingtest.gr/js/chunks/exam-index.js?id=ee8704abd3b8301d841b

js drivingtest.gr collected 2026-10-02 01:03:07 UTC 50,039 bytes, 2 lines download raw bytes

1(self.webpackChunk=self.webpackChunk||[]).push([[995],{715:(n,t,e)=>{"use strict";e.d(t,{Z:()=>a});var i=e(4015),s=e.n(i),o=e(3645),r=e.n(o)()(s());r.push([n.id,".exam .question-header[data-v-4a0f8f3e]{display:flex}.exam .question-header h3[data-v-4a0f8f3e]{color:#f4ca59;font-weight:700;display:inline-block}.exam .question-header .controls[data-v-4a0f8f3e]{text-align:center}@media (min-width:576px){.exam .question-header .controls[data-v-4a0f8f3e]{text-align:right}}.exam .question-header .controls button[data-v-4a0f8f3e]{background-color:transparent;border:0}.exam .question-header .controls button[data-v-4a0f8f3e]:hover{background-color:#f4ca59}.exam .question-header .controls button[data-v-4a0f8f3e]:focus{box-shadow:none}.exam .question-header hr[data-v-4a0f8f3e]{margin-top:0;margin-bottom:.5rem}.exam .question-header .user-messages[data-v-4a0f8f3e]{font-size:11px;height:35px}.exam .question .question-title[data-v-4a0f8f3e]{font-size:20px;line-height:1.6;min-height:100px;margin-bottom:0}.exam .question .image[data-v-4a0f8f3e]{max-width:100%}.exam .question .answers[data-v-4a0f8f3e]{margin-top:20px}.exam .question .answers .answers-list[data-v-4a0f8f3e]{margin-top:10px;list-style-type:none;padding:0}.exam .question .answers .answers-list li[data-v-4a0f8f3e]{position:relative;padding:10px 5px;margin-bottom:10px;color:#5e6d83;font-size:16px;border-bottom:1px dotted transparent}.exam .question .answers .answers-list li.no-answer[data-v-4a0f8f3e]{border-bottom:1px dotted #5e6d83}.exam .question .answers .answers-list li.no-answer[data-v-4a0f8f3e]:hover{cursor:pointer;border-bottom:1px solid #f4ca59;color:#f4ca59}.exam .question .answers .answers-list li.no-answer:hover .list-type[data-v-4a0f8f3e]{color:#f4ca59}.exam .question .answers .answers-list li.is_correct[data-v-4a0f8f3e]{background-color:#228b22;border:1px dotted #000;color:#fff}.exam .question .answers .answers-list li.is_correct .list-type[data-v-4a0f8f3e]{color:#fff}.exam .question .answers .answers-list li.is_error[data-v-4a0f8f3e]{background-color:#8b0c01;border:1px dotted #000;color:#fff}.exam .question .answers .answers-list li.is_error .list-type[data-v-4a0f8f3e]{color:#fff}.exam .question .answers .answers-list li .list-type[data-v-4a0f8f3e]{position:absolute;top:14px;left:5px;color:#718096}.exam .question .answers .answers-list li .answer-text[data-v-4a0f8f3e]{margin-left:25px}.exam .question .answers .answers-list li .icon-correct[data-v-4a0f8f3e]{color:#228b22}.exam .question .question-tip.showing-not .card[data-v-4a0f8f3e]{border-bottom:0}.exam .question .question-tip.showing-not .card-body[data-v-4a0f8f3e]{padding:0;min-height:0;display:none}.exam .question .question-tip .card[data-v-4a0f8f3e]{border:1px solid #f4ca59}.exam .question .question-tip .card .card-header[data-v-4a0f8f3e]{cursor:pointer;padding:10px;background-color:#f4ca59}.exam .question .question-tip .card .card-header .title[data-v-4a0f8f3e]{color:#fff;margin-bottom:0}.exam .question .question-tip .card .card-body[data-v-4a0f8f3e]{padding:10px}.exam .progress-info[data-v-4a0f8f3e]{text-align:right;font-size:12px;color:#718096}.exam .countdown[data-v-4a0f8f3e]{font-size:20px;color:grey}.exam .questions-status ul[data-v-4a0f8f3e]{padding:0;list-style-type:none}.exam .questions-status ul li[data-v-4a0f8f3e]{display:inline-block;border:1px solid #5e6d83;width:50.01px;height:30px;cursor:pointer;line-height:30px;font-size:12px;text-align:center;margin-right:5px;margin-top:5px}.exam .questions-status ul li[data-v-4a0f8f3e]:first-child{margin-left:0}.exam .questions-status ul li[data-v-4a0f8f3e]:last-child{margin-right:0}.exam .questions-status ul li.is_selected[data-v-4a0f8f3e]{color:#f4ca59}.exam .questions-status ul li.answered[data-v-4a0f8f3e]{background-color:#9d9d9d;color:#fff;cursor:auto}.exam .questions-status ul li.answered.correct[data-v-4a0f8f3e]{background-color:#228b22}.exam .questions-status ul li.answered.incorrect[data-v-4a0f8f3e]{background-color:#8b0c01}.exam .intro .subtitle[data-v-4a0f8f3e]{font-weight:700;font-size:18px;background-color:#003049;padding:15px;border-radius:10px;display:inline-block}.exam .intro .button-go[data-v-4a0f8f3e]{border:1px solid #f4ca59;border-radius:100%;width:120px;height:120px;margin:0 auto;text-align:center;vertical-align:middle;font-weight:700;padding-top:35px}.exam .intro .button-go span[data-v-4a0f8f3e]{font-size:18px}.exam .intro .button-go[data-v-4a0f8f3e]:hover{background-color:#f4ca59;color:#fff;border:1px solid #000;cursor:pointer}","",{version:3,sources:["webpack://./resources/sass/_exam.scss","webpack://./resources/js/components/pages/exam/Index.vue","webpack://./resources/sass/_variables.scss","webpack://./node_modules/bootstrap/scss/mixins/_breakpoints.scss"],names:[],mappings:"AAKA,wCAGI,YCNJ,CDGA,2CAMM,aEUQ,CFTR,eAAiB,CACjB,oBCLN,CDHA,kDAYM,iBCLN,CEgDI,yBHvDJ,kDAeQ,gBCHN,CACF,CDbA,yDAmBQ,4BAA6B,CAC7B,QCFR,CDlBA,+DAuBU,wBCDV,CDtBA,+DA2BU,eCDV,CD1BA,2CAkCM,YAAe,CACf,mBCJN,CD/BA,uDAuCM,cAAe,CACf,WCJN,CDpCA,iDA+CM,cAAe,CACf,eAAgB,CAChB,gBAAiB,CACjB,eCPN,CD3CA,wCAsDM,cCPN,CD/CA,0CA0DM,eCPN,CDnDA,wDA6DQ,eAAgB,CAChB,oBAAqB,CACrB,SCNR,CDzDA,2DAkEU,iBAAkB,CAClB,gBAA0B,CAC1B,kBAAmB,CACnB,aAAc,CACd,cAAe,CACf,oCCLV,CDlEA,qEA0EY,gCCJZ,CDtEA,2EA6Ec,cAAe,CACf,+BE9DA,CF+DA,aCHd,CD5EA,sFAkFgB,aCFhB,CDhFA,sEAwFY,wBErEuB,CFsEvB,sBAAwB,CACxB,UCJZ,CDtFA,iFA6Fc,UCH
1d,CD1FA,oEAmGY,wBE/EyB,CFgFzB,sBAAwB,CACxB,UCLZ,CDhGA,+EAwGc,UCJd,CDpGA,sEA8GY,iBAAkB,CAClB,QAAQ,CACR,QAAQ,CACR,aCNZ,CD3GA,wEAqHY,gBCNZ,CD/GA,yEAyHY,aCNZ,CDnHA,iEAqIU,eCdV,CDvHA,sEAwIU,SAAY,CACZ,YAAe,CACf,YCbV,CD7HA,qDA+IQ,wBCdR,CDjIA,kEAkJU,cAAe,CACf,YAAa,CACb,wBCbV,CDvIA,yEAuJY,UAAY,CACZ,eCZZ,CD5IA,gEA4JU,YCZV,CDhJA,sCAmKI,gBAAiB,CACjB,cAAe,CACf,aCfJ,CDtJA,kCAyKI,cAAe,CACf,UCfJ,CD3JA,4CA+KM,SAAY,CACZ,oBChBN,CDhKA,+CAmLQ,oBAAqB,CACrB,wBAAyB,CACzB,aAAc,CACd,WAAY,CACZ,cAAe,CAEf,gBAAiB,CACjB,cAAe,CACf,iBAAkB,CAClB,gBAAiB,CACjB,cCfR,CD9KA,2DAgMU,aCdV,CDlLA,0DAoMU,cCdV,CDtLA,2DAwMU,aCdV,CD1LA,wDA4MU,wBAAyB,CACzB,UAAY,CACZ,WCdV,CDhMA,gEAiNY,wBCbZ,CDpMA,kEAqNY,wBCbZ,CDxMA,wCAgOQ,eAAiB,CACjB,cAAe,CACf,wBAAyB,CACzB,YAAa,CACb,kBAAmB,CACnB,oBCpBR,CDjNA,yCAyOM,wBEzNQ,CF0NR,kBAAmB,CACnB,WAAY,CACZ,YAAa,CACb,aAAc,CACd,iBAAkB,CAClB,qBAAsB,CACtB,eAAiB,CACjB,gBCpBN,CD7NA,8CAoPQ,cCnBR,CDjOA,+CAwPQ,wBExOM,CFyON,UAAY,CACZ,qBAAuB,CACvB,cCnBR",sourcesContent:["@import 'variables';\n@import '~bootstrap/scss/functions';\n@import '~bootstrap/scss/variables';\n@import '~bootstrap/scss/mixins/breakpoints';\n\n.exam {\n\n  .question-header {\n    display: flex;\n\n    h3 {\n      color: $gold;\n      font-weight: bold;\n      display: inline-block;\n    }\n\n    .controls {\n      text-align: center;\n\n      @include media-breakpoint-between(sm, xl) {\n        text-align: right;\n      }\n\n      button {\n        background-color: transparent;\n        border: 0px;\n\n        &:hover {\n          background-color: $primary;\n        }\n\n        &:focus {\n          box-shadow: none;\n        }\n      }\n\n    }\n\n    hr {\n      margin-top: 0px;\n      margin-bottom: 0.5rem;\n    }\n\n    .user-messages {\n      font-size: 11px;\n      height: 35px;\n    }\n\n  }\n\n  .question {\n    .question-title {\n      font-size: 20px;\n      line-height: 1.6;\n      min-height: 100px;\n      margin-bottom: 0px;\n    }\n\n    .image {\n      max-width: 100%;\n    }\n\n    .answers {\n      margin-top: 20px;\n\n      .answers-list {\n        margin-top: 10px;\n        list-style-type: none;\n        padding: 0px;\n\n        li {\n          position: relative;\n          padding: 10px 5px 10px 5px;\n          margin-bottom: 10px;\n          color: #5e6d83;\n          font-size: 16px;\n          border-bottom: 1px dotted transparent;\n\n          &.no-answer {\n            border-bottom: 1px dotted #5e6d83;\n\n            &:hover {\n              cursor: pointer;\n              border-bottom: 1px solid $primary;\n              color: $primary;\n\n              .list-type {\n                color: $primary;\n              }\n            }\n          }\n\n          &.is_correct {\n            background-color: $color_exam_answer_correct;\n            border: 1px dotted black;\n            color: white;\n\n            .list-type {\n              color: white;\n            }\n\n          }\n\n          &.is_error {\n            background-color: $color_exam_answer_incorrect;\n            border: 1px dotted black;\n            color: white;\n\n            .list-type {\n              color: white;\n            }\n\n          }\n\n          .list-type {\n            position: absolute;\n            top:14px;\n            left:5px;\n            color: #718096;\n          }\n\n          .answer-text {\n            margin-left: 25px;\n          }\n\n          .icon-correct {\n            color: $color_exam_answer_correct;\n          }\n\n        }\n\n      }\n    }\n\n    .question-tip {\n\n      &.showing-not {\n        .card {\n          border-bottom: 0px;\n        }\n        .card-body {\n          padding: 0px;\n          min-height: 0px;\n          display: none;\n        }\n      }\n\n      .card {\n        border: 1px solid $primary;\n\n        .card-header {\n          cursor: pointer;\n          padding: 10px;\n          background-color: $primary;\n\n          .title {\n            color: white;\n            margin-bottom: 0px;\n          }\n        }\n        .card-body {\n          padding: 10px;\n        }\n      }\n    }\n  }\n\n  .progress-info {\n    text-align: right;\n    font-size: 12px;\n    color: #718096;\n  }\n\n  .countdown {\n    font-size: 20px;\n    color: gray;\n  }\n\n  .questions-status {\n    ul {\n      padding: 0px;\n      list-style-type: none;\n\n      li {\n        display: inline-block;\n        border: 1px solid #5e6d83;\n        width: 50.01px;\n        height: 30px;\n        cursor: pointer;\n        text-align: center;\n        line-height: 30px;\n        font-size: 12px;\n        text-align: center;\n        margin-right: 5px;\n        margin-top: 5px;\n\n        &:first-child {\n          margin-left: 0px;\n        }\n\n        &:last-child {\n          margin-right: 0px;\n        }\n\n        &.is_selected {\n          color: $primary;\n        }\n\n        &.answered {\n          background-color: #9d9d9d;\n          color: white;\n          cursor: initial;\n\n          &.correct {\n            background-color: $color_exam_answer_correct;\n          }\n\n          &.incorrect {\n            background-color: $color_exam_answer_incorrect;\n          }\n\n        }\n\n      }\n    }\n  }\n\n  .intro {\n    .subtitle {\n        font-weight: bold;\n        font-size: 18px;\n        background-color: #003049;\n        padding: 15px;\n        border-radius: 10px;\n        display: inline-block;\n    }\n\n    .button-go {\n      border: 1px solid $primary;\n      border-radius: 100%;\n      width: 120px;\n      height: 120px;\n      margin: 0 auto;\n      text-align: center;\n      vertical-align: middle;\n      font-weight: bold;\n      padding-top: 35px;\n\n      span {\n        font-size: 18px;\n      }\n\n      &:hover {\n        background-color: $primary;\n        color: white;\n        border: 1px solid black;\n        cursor: pointer;\n      }\n    }\n\n  }\n\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n@import '~@/_exam.scss';\n","// Body\n$body-bg: #ffffff;\n\n// Typography\n$font-family-sans-serif: 'Comfortaa', 'Comfortaa-Fallback';\n$font-size-base: 0.9rem;\n$line-height-base: 1.6;\n\n// Colors\n$blue: #3490dc;\n$indigo: #6574cd;\n$purple: #9561e2;\n$pink: #f66d9b;\n$red: #e3342f;\n$orange: #f6993f;\n$yellow: #ffed4a;\n$green: #38c172;\n$teal: #4dc0b5;\n$cyan: #6cb2eb;
1\n\n// Colors Theme\n$gold: #f4ca59;\n\n// Exam\n$color_exam_answer_correct: #228b22;\n$color_exam_answer_incorrect: #8b0c01;\n\n$primary: $gold;\n$enable-rounded: false;\n$grid-gutter-width:15px;\n",'// Breakpoint viewport sizes and media queries.\n//\n// Breakpoints are defined as a map of (name: minimum width), order from small to large:\n//\n//    (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)\n//\n// The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default.\n\n// Name of the next breakpoint, or null for the last breakpoint.\n//\n//    >> breakpoint-next(sm)\n//    md\n//    >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n//    md\n//    >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))\n//    md\n@function breakpoint-next($name, $breakpoints: $grid-breakpoints, $breakpoint-names: map-keys($breakpoints)) {\n  $n: index($breakpoint-names, $name);\n  @return if($n != null and $n < length($breakpoint-names), nth($breakpoint-names, $n + 1), null);\n}\n\n// Minimum breakpoint width. Null for the smallest (first) breakpoint.\n//\n//    >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n//    576px\n@function breakpoint-min($name, $breakpoints: $grid-breakpoints) {\n  $min: map-get($breakpoints, $name);\n  @return if($min != 0, $min, null);\n}\n\n// Maximum breakpoint width. Null for the largest (last) breakpoint.\n// The maximum value is calculated as the minimum of the next one less 0.02px\n// to work around the limitations of `min-` and `max-` prefixes and viewports with fractional widths.\n// See https://www.w3.org/TR/mediaqueries-4/#mq-min-max\n// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\n// See https://bugs.webkit.org/show_bug.cgi?id=178261\n//\n//    >> breakpoint-max(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n//    767.98px\n@function breakpoint-max($name, $breakpoints: $grid-breakpoints) {\n  $next: breakpoint-next($name, $breakpoints);\n  @return if($next, breakpoint-min($next, $breakpoints) - .02, null);\n}\n\n// Returns a blank string if smallest breakpoint, otherwise returns the name with a dash in front.\n// Useful for making responsive utilities.\n//\n//    >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n//    ""  (Returns a blank string)\n//    >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n//    "-sm"\n@function breakpoint-infix($name, $breakpoints: $grid-breakpoints) {\n  @return if(breakpoint-min($name, $breakpoints) == null, "", "-#{$name}");\n}\n\n// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.\n// Makes the @content apply to the given breakpoint and wider.\n@mixin media-breakpoint-up($name, $breakpoints: $grid-breakpoints) {\n  $min: breakpoint-min($name, $breakpoints);\n  @if $min {\n    @media (min-width: $min) {\n      @content;\n    }\n  } @else {\n    @content;\n  }\n}\n\n// Media of at most the maximum breakpoint width. No query for the largest breakpoint.\n// Makes the @content apply to the given breakpoint and narrower.\n@mixin media-breakpoint-down($name, $breakpoints: $grid-breakpoints) {\n  $max: breakpoint-max($name, $breakpoints);\n  @if $max {\n    @media (max-width: $max) {\n      @content;\n    }\n  } @else {\n    @content;\n  }\n}\n\n// Media that spans multiple breakpoint widths.\n// Makes the @content apply between the min and max breakpoints\n@mixin media-breakpoint-between($lower, $upper, $breakpoints: $grid-breakpoints) {\n  $min: breakpoint-min($lower, $breakpoints);\n  $max: breakpoint-max($upper, $breakpoints);\n\n  @if $min != null and $max != null {\n    @media (min-width: $min) and (max-width: $max) {\n      @content;\n    }\n  } @else if $max == null {\n    @include media-breakpoint-up($lower, $breakpoints) {\n      @content;\n    }\n  } @else if $min == null {\n    @include media-breakpoint-down($upper, $breakpoints) {\n      @content;\n    }\n  }\n}\n\n// Media between the breakpoint\'s minimum and maximum widths.\n// No minimum for the smallest breakpoint, and no maximum for the largest one.\n// Makes the @content apply only to the given breakpoint, not viewports any wider or narrower.\n@mixin media-breakpoint-only($name, $breakpoints: $grid-breakpoints) {\n  $min: breakpoint-min($name, $breakpoints);\n  $max: breakpoint-max($name, $breakpoints);\n\n  @if $min != null and $max != null {\n    @media (min-width: $min) and (max-width: $max) {\n      @content;\n    }\n  } @else if $max == null {\n    @include media-breakpoint-up($name, $breakpoints) {\n      @content;\n    }\n  } @else if $min == null {\n    @include media-breakpoint-down($name, $breakpoints) {\n      @content;\n    }\n  }\n}\n'],sourceRoot:""}]);const a=r},9338:(n,t,e)=>{"use strict";e.d(t,{Z:()=>a});var i=e(4015),s=e.n(i),o=e(3645),r=e.n(o)()(s());r.push([n.id,"","",{version:3,sources:[],names:[],mappings:"",sourceRoot:""}]);const a=r},1803:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>f});var i=e(629),s=e(486),o=e.n(s);function r(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,i)}return e}function a(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};
1t%2?r(Object(e),!0).forEach((function(t){u(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):r(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}function u(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}Vue.use(o());const l={components:{QuestionEdit:Vue.component("question-edit",e(5941).Z),ExamMessages:Vue.component("exam-messages",e(4452).Z)},props:{exam_type_id:{type:[Number,String],default:0},chapter_id:{type:[Number,String],default:0}},data:function(){return{exam:{},questions:[],question_difficulties:[],question_index:0,answer_loader:!1,answers_map_showing:!1,exam_id_prev:null,tips_showing:{}}},created:function(){var n=this;0==this.types.length&&this.doExamGetTypes();var t=this.$cookies.get(this.getCookieNameForExam());_.isEmpty(t)||alertify.confirm(this.__("exam/exam.restart_notice"),(function(){n.exam_id_prev=t.id,n.get().then((function(){n.doNext()}))}))},mounted:function(){},computed:a(a({},(0,i.Se)({global:"global",types:"exam/types",user:"user",userIsLoggedIn:"userIsLoggedIn"})),{},{type:function(){return _.find(this.types,["id",parseInt(this.exam_type_id)])},questionsComputed:function(){var n=this;return _.map(this.questions,(function(t){return t.question.is_answered=!_.isNull(t.answer_id_user),t.question.__classes=_.isNull(t.answer_id_user)?["no-answer"]:["answered"],t.question.answers=_.map(t.question.answers,(function(e){return e.__icon="circle",e.__classes=[],n.isModeTest||_.isNull(t.answer_id_user)||e.id!=t.answer_id_user||(e.__icon=e.is_correct?"check-circle":"x-circle",e.__classes.push(e.is_correct?"is_correct":"is_error")),e})),t.question.difficulty=null,_.isNull(t.question.difficulty_id)||(t.question.difficulty=_.find(n.question_difficulties,["id",t.question.difficulty_id])),t}))},questionCurrent:function(){return _.get(this.questionsComputed,this.question_index)},questionsLeft:function(){return _.filter(this.questionsComputed,(function(n){return!n.question.is_answered}))},endAt:function(){return moment().add(this.exam.duration_max,"minutes")},isModeTest:function(){return 0==this.chapter_id},chapterTitle:function(){return this.isModeTest?null:this.$route.params.chapter_title}}),methods:a(a({},(0,i.nv)({doExamGetTypes:"exam/getTypes"})),{},{get:function(){var n=this;if(!(this.exam_type_id<=0))return this.question_index=0,this.$http.post(APPDATA.urls.api.exam.get,{id:this.exam_id_prev,exam_type_id:this.exam_type_id,chapter_id:this.isModeTest?null:this.chapter_id}).then((function(t){t.data.status&&(n.exam=t.data.data.exam,n.questions=t.data.data.questions,n.question_difficulties=t.data.data.question_difficulties,n.$cookies.set(n.getCookieNameForExam(),{id:n.exam.id},n.exam.duration_max+"m",null,null,!0,"Lax"))}),(function(n){}))},doAnswer:function(n){var t=this;if(_.isNull(this.questionCurrent.answer_id_user)){this.answer_loader=!0;var e=moment().format("YYYY-MM-DD HH:mm:ss.SSS");this.$http.post(APPDATA.urls.api.exam.answer.add,{exam_id:this.exam.id,question_id:this.questionCurrent.question.id,answer_id:n.id,answered_at:e}).then((function(i){t.answer_loader=!1,i.data.status?(t.questions=_.map(t.questions,(function(i){return i.question.id==t.questionCurrent.question.id&&(i.is_correct=n.is_correct,i.answer_id_user=n.id,i.answered_at=e),i})),t.exam.finished_at=_.get(i.data.data,"finished_at",null),t.$forceUpdate(),t.checkIfFinished()||t.isModeTest&&t.doNext(),t.isModeTest||t.$set(t.tips_showing,t.questionCurrent.question.id,!0)):alert(i.data.message)}),(function(n){}))}},doNext:function(){if(this.isModeTest){var n=this.question_index+1;n>=this.questions.length&&(n=0);var t=_.findIndex(this.questions,(function(t,e){return _.isNull(t.answer_id_user)&&e>=n}));-1==t&&(n=0,t=_.findIndex(this.questions,(function(t,e){return _.isNull(t.answer_id_user)&&e>=n}))),this.question_index=t}else{var e=this.question_index+1;e<this.questions.length?this.question_index=e:this.question_index=_.findIndex(this.questions,(function(n){return _.isNull(n.answer_id_user)}))}},doPrev:function(){if(this.isModeTest){var n=this.question_index-1;n<0&&(n=this.questions.length-1);var t=_.findLastIndex(this.questions,(function(t,e){return _.isNull(t.answer_id_user)&&e<=n}));-1==t&&(n=this.questions.length-1,t=_.findLastIndex(this.questions,(function(t,e){return _.isNull(t.answer_id_user)&&e<=n}))),this.question_index=t}else{var e=this.question_index-1;e>=0&&(this.question_index=e)}},doStop:function(){var n=this;alertify.confirm(this.__("exam/exam.stop_notice"),(function(){var t=moment().format("YYYY-MM-DD HH:mm:ss.SSS");n.$http.post(APPDATA.urls.api.exam.stop,{id:n.exam.id,stopped_at:t}).then((function(e){n.exam.stopped_at=t,n.onFinished()}))}),(function(){}))},checkIfFinished:function(){return 0==this.questionsLeft.length&&this.onFinished()},onFinished:function(){return this.$cookies.set(this.getCookieNameForExam(),""),this.$router.push({name:"exam_result",params:{id:this.exam.id,exam:this.exam,questions:this.questions,question_difficulties:this.question_difficulties}}),!0},onTimeEnd:function(n){var t=this,e=moment().format("YYYY-MM-DD HH:mm:ss.SSS");this.$http.post(APPDATA.urls.api.exam.stop,{id:this.exam.id,stopped_at:e}).then((function(n){t.exam.stopped_at=e,t.onFinished()}))},getCookieNameForExam:function(){var n=this.$cookies.get("user_uuid");return _.isEmpty(n)&&(n=1),this.userIsLoggedIn&&(n=this.md5(this.user.email)),"exam_"+n}})};var c=e(3379),d=e.n(c),p=e(715),m={insert:"head",singleton:!1};d()(p.Z,m);p.Z.locals;const f=(0,e(1900).Z)(l,(function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("b-container",{staticClass:"exam",attrs:{fluid:"lg"}},[n._.isEmpty(n._.get(n.exam,"id"))?[e("b-row",{staticClass:"intro"},[e("b-col",{staticStyle:{"text-align":"center"},attrs:{cols:"12"}},[e("h1",{staticStyle:{"margin-bottom":"10px","font-size":"21px"}},[n._v(n._s(n.__("exam/exam.intro.subtitle"))+" "+n._s(n._.get(n.type,"reference_to.title")))]),n._v(" "),e("h2",{staticClass:"text-primary subtitle"},[n._v(n._s(n.__("exam/exam.intro.title")))]),n._v(" "),e("br"),n._v(" "),e("img",{staticClass:"image-main",staticStyle:{width:"80px","aspect-ratio":"1/1"},attrs:{src:n._.get(n.type,"reference_to.image_url"),alt:n._.get(n.type,"reference_to.title")}}),n._v(" "),e("p",[n._v(n._s(n.__("exam/exam.intro.text")))])]),n._v(" "),e("b-col",{staticStyle:{"margin-top":"20px"},attrs:{cols:"12"}},[e("div",{staticClass:"button-go",on:{click:n.get}},[e("span",[n._v(n._s(n.__("exam/exam.intro.btn_go")))]),e("br"),e("b-icon",{attrs:{"font-scale":"2",icon:"play"}})],1)])],1)]:[e("b-row",[e("b-col",{attrs:{sm:"12",md:"3",lg:"2",xl:"2","order-md":"1"}},[e("div",{staticStyle:{"text-align":"center"}},[n.questions.length>
10?e("b-progress",{attrs:{max:n.questions.length,precision:2,striped:!0,"show-progress":"",variant:"success",height:"20px"}},[e("b-progress-bar",{attrs:{value:n.questions.length-n.questionsLeft.length,label:((n.questions.length-n.questionsLeft.length)/n.questions.length*100).toFixed(2)+"%"}})],1):n._e(),n._v(" "),e("div",{staticClass:"progress-info"},[n._v(n._s(n.questions.length-n.questionsLeft.length)+" / "+n._s(n.questions.length))]),n._v(" "),e("b-row",[e("b-col",{attrs:{cols:"6",sm:"6",md:"12",lg:"12",xl:"12"}},[n.isModeTest?e("b-icon",{attrs:{icon:"stopwatch"}}):n._e(),n._v(" "),n.isModeTest?e("vue-countdown-timer",{staticClass:"countdown",attrs:{"start-time":n.moment().format("YYYY-MM-DD 00:00:00"),"end-time":n.endAt.unix(),"end-text":":("},on:{end_callback:function(t){return n.onTimeEnd(t)}},scopedSlots:n._u([{key:"countdown",fn:function(t){return[e("span",[n._v(n._s(t.props.hours))]),e("i",[n._v(n._s(t.props.hourTxt))]),n._v(" "),e("span",[n._v(n._s(t.props.minutes))]),e("i",[n._v(n._s(t.props.minutesTxt))]),n._v(" "),e("span",[n._v(n._s(t.props.seconds))])]}}],null,!1,693674248)}):n._e()],1),n._v(" "),e("b-col",{attrs:{cols:"6",sm:"6",md:"12",lg:"12",xl:"12"}},[e("b-button",{attrs:{variant:"outline-danger"},on:{click:n.doStop}},[e("b-icon",{attrs:{icon:"stop-fill"}}),n._v(" "+n._s(n.__("exam/exam.stop_label")))],1)],1),n._v(" "),e("b-col",{attrs:{cols:"12"}},[e("hr")])],1)],1)]),n._v(" "),e("b-col",{attrs:{sm:"12",md:"9",lg:"10",xl:"10","order-md":"0"}},[e("b-row",{staticClass:"question-header"},[e("b-col",{attrs:{cols:"12",sm:"4",md:"5",lg:"7",xl:"7"}},[e("img",{staticStyle:{width:"35px"},attrs:{src:n._.get(n.type,"reference_to.image_url"),alt:n._.get(n.type,"reference_to.title")}}),n._v(" "),e("h3",{staticClass:"text-primary"},[n._v(n._s(n.__("exam/exam.question_label"))+" "+n._s(n.question_index+1))]),n._v(" "),n._.isEmpty(n._.get(n.exam,"chapter.title"))?n._e():e("b-badge",{attrs:{variant:"light"}},[n._v(n._s(n.__("exam/exam.chapter.top_label"))+" > "+n._s(n._.get(n.exam,"chapter.title"))+" "+n._s(n._.get(n.questionCurrent,"question.external_index")))]),n._v(" "),e("b-icon",{directives:[{name:"show",rawName:"v-show",value:!1&n.answer_loader,expression:"answer_loader & false"}],staticStyle:{display:"inline-block"},attrs:{icon:"circle-fill",animation:"throb"}})],1),n._v(" "),e("b-col",{staticClass:"controls",attrs:{cols:"12",sm:"8",md:"7",lg:"5",xl:"5"}},[e("b-button",{attrs:{variant:"primary"},on:{click:n.doPrev}},[e("b-icon",{attrs:{icon:"caret-left"}}),n._v(" "),e("span",[n._v(n._s(n.__("exam/exam.prev_label")))])],1),n._v(" "),e("b-button",{attrs:{variant:"primary"},on:{click:n.doNext}},[e("span",[n._v(n._s(n.__("exam/exam.next_label")))]),n._v(" "),e("b-icon",{attrs:{icon:"caret-right"}})],1)],1),n._v(" "),e("b-col",{attrs:{cols:"12"}},[e("hr")]),n._v(" "),e("exam-messages",{staticClass:"col-12",attrs:{question:n.questionCurrent}})],1),n._v(" "),e("b-row",{staticClass:"question"},[e("b-col",{attrs:{sm:"12",md:"9",lg:"9",xl:"9"}},[n._.isNull(n._.get(n.questionCurrent,"question.difficulty",null))?n._e():e("b-badge",{class:["difficulty-"+n._.get(n.questionCurrent,"question.difficulty.id",0)],attrs:{variant:"light"}},[n._v("\n                            "+n._s(n.__("exam/exam.difficulty_label"))+" "+n._s(n._.get(n.questionCurrent,"question.difficulty.title",null))+"\n                        ")]),n._v(" "),e("h1",{staticClass:"question-title"},[n._v(n._s(n._.get(n.questionCurrent,"question.title")))])],1),n._v(" "),e("b-col",{staticClass:"justify-content-center",staticStyle:{"text-align":"center"},attrs:{sm:"12",md:"3",lg:"3",xl:"3"}},[n._.isEmpty(n._.get(n.questionCurrent,"question.image_url"))?n._e():e("img",{staticClass:"image",attrs:{src:n._.get(n.questionCurrent,"question.image_url")}})]),n._v(" "),e("b-col",{staticClass:"answers",attrs:{cols:"12"}},[e("ul",{staticClass:"answers-list"},n._l(n._.get(n.questionCurrent,"question.answers"),(function(t){return e("li",{key:t.id,class:[t.__classes,n.questionCurrent.question.__classes],on:{click:function(e){return n.doAnswer(t)},mouseover:function(e){t.__icon=n._.isNull(n.questionCurrent.answer_id_user)&&"circle"==t.__icon?"circle-fill":t.__icon,n.$forceUpdate()},mouseleave:function(e){t.__icon=n._.isNull(n.questionCurrent.answer_id_user)&&"circle-fill"==t.__icon?"circle":t.__icon,n.$forceUpdate()}}},[e("b-icon",{staticClass:"list-type",attrs:{icon:t.__icon}}),n._v(" "),e("div",{staticClass:"answer-text"},[n._v(n._s(t.title)+" "),!n._.isNull(n.questionCurrent.answer_id_user)&&n.questionCurrent.answer_id_user!=t.id&&t.is_correct?e("b-icon",{staticClass:"icon-correct",attrs:{icon:"check2"}}):n._e()],1)],1)})),0)]),n._v(" "),n.isModeTest||n._.isNull(n._.get(n.questionCurrent,"question.tip",null))?n._e():e("b-col",{staticClass:"question-tip mt-2 mb-4",class:{"showing-not":0==n._.get(n.tips_showing,n.questionCurrent.question_id,!1)},attrs:{cols:"12"}},[e("b-card",{scopedSlots:n._u([{key:"header",fn:function(){return[e("h5",{staticClass:"title",attrs:{id:"tip"},on:{click:function(t){n.$set(n.tips_showing,n.questionCurrent.question_id,!n._.get(n.tips_showing,n.questionCurrent.question_id,!1))}}},[e("b-icon",{attrs:{icon:"exclamation-diamond"}}),n._v(" "+n._s(n.__("exam/exam.tip_label"))+" "),e("b-icon",{attrs:{icon:n._.get(n.tips_showing,n.questionCurrent.question_id,!1)?"arrow-up-short":"arrow-down-short"}})],1)]},proxy:!0}],null,!1,438918906)},[n._v(" "),e("b-card-body",[e("b-card-text",[e("div",{domProps:{innerHTML:n._s(n._.get(n.questionCurrent,"question.tip.text",""))}}
1)])],1)],1)],1),n._v(" "),e("b-col",{staticClass:"questions-status",attrs:{cols:"12"}},[e("b-button",{staticStyle:{"font-size":"12px"},attrs:{variant:"outline-secondary"},on:{click:function(t){n.answers_map_showing=!n.answers_map_showing}}},[n._v(n._s(n.__("exam/exam.q_map_label"))+" "),e("b-icon",{attrs:{icon:n.answers_map_showing?"arrow-up-short":"arrow-down-short"}})],1),n._v(" "),n.answers_map_showing?e("ul",n._l(n.questionsComputed,(function(t,i){return e("li",{key:t.id+(t.is_correct?"Y":"N"),class:n._.get(t.question,"__classes",[]).concat(n.isModeTest?[]:[t.is_correct?"correct":"incorrect"]).concat([i==n.question_index?"is_selected":""]),on:{click:function(e){n.question_index=n._.isNull(t.answer_id_user)?i:n.question_index}}},[n._v(n._s(i+1))])})),0):n._e()],1)],1),n._v(" "),n.global.ads.lignou_esthetics_bottom?e("b-row",{staticClass:"ads mt-4"},[e("b-col",{attrs:{cols:"12"}},[e("a",{attrs:{href:"https://www.lignouesthetics.gr/promo?code=drivingtest6&utm_source=drivingtest&utm_medium=exam"}},[e("img",{attrs:{width:"100%",src:"https://www.lignouesthetics.gr/wp-content/uploads/2025/11/lignou-esthetics-banner-wide-promo-6.gif",alt:"Lignou Esthetics - Προσφορά για νέους πελάτες!"}})])])],1):n._e(),n._v(" "),n.global.ads.linkwise_exam_bottom?e("b-row",{staticClass:"ads mt-4"},[e("b-col",{attrs:{cols:"12"}},[e("p",[e("a",{attrs:{href:"https://go.linkwi.se/z/12865-3/CD17534/?"}},[n._v("Κλείσε Ακτοπλοϊκά Εισιτήρια! -  Η μηχανή αναζήτησής μας συγκρίνει γρήγορα τιμές, διαδρομές, εταιρείες. Κλείσε τώρα ακτοπλοϊκά εισιτήρια για ένα ιδανικό ταξίδι με πλοίο!")])])])],1):n._e(),n._v(" "),n.can("question.edit")?e("question-edit",{staticClass:"mt-4",attrs:{question:n.questionCurrent,"question-difficulties":n.question_difficulties}}):n._e()],1)],1)]],2)}),[],!1,null,"4a0f8f3e",null).exports},4452:(n,t,e)=>{"use strict";e.d(t,{Z:()=>u});var i=e(629);function s(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,i)}return e}function o(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?s(Object(e),!0).forEach((function(t){r(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):s(Object(e)).forEac
1h((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}function r(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}const a={props:{question:{type:[Object],default:function(){return{}}}},data:function(){return{message:null,message_index:0,timeout:null}},created:function(){},mounted:function(){this.randomAds()},computed:o(o({},(0,i.Se)({global:"global"})),{},{messages:function(){var n=[];if(!_.isEmpty(this.question)&&_.get(this.question,"question.user_counts.correct_percentage")>0){var t="✅&nbsp;το "+_.get(this.question,"question.user_counts.correct_percentage")+"% απαντούν σωστά στην παρακάτω ερώτηση!&nbsp;✅";n.push(t)}if(this.global.ads.linkwise_exam_message){var e='🧖‍♀️&nbsp;Βαθύς καθαρισμός προσώπου με ατμό με Έκπτωση 6 ευρώ! <a href="https://www.lignouesthetics.gr/promo?code=drivingtest6&utm_source=drivingtest&utm_medium=messages" target="_blank">εδώ!</a>';n.push(e),e='👁️✨&nbsp;Έκπτωση 6 ευρώ για Lash Extension! Πάρε κωδικό <a href="https://www.lignouesthetics.gr/promo?code=drivingtest6&utm_source=drivingtest&utm_medium=messages" target="_blank">εδώ!</a>',n.push(e),e='⛴️&nbsp;Κλείσε Ακτοπλοϊκά Εισιτήρια σε 1\' <a href="https://go.linkwi.se/z/12865-3/CD17534/?" target="_blank">εδώ!</a>',n.push(e)}return n}}),watch:{question:{handler:function(n,t){this.message_index=-1,this.randomAds()},deep:!0,immediate:!0}},methods:{randomAds:function(){var n=this,t=this.message_index+1;t>=0&&t<this.messages.length?this.message_index++:this.message_index=0,this.message=this.messages[this.message_index],clearTimeout(this.timeout),this.timeout=setTimeout((function(){n.randomAds()}),6e3)}}};const u=(0,e(1900).Z)(a,(function(){var n=this,t=n.$createElement,e=n._self._c||t;return n._.isEmpty(n.message)?n._e():e("div",{staticClass:"user-messages"},[e("div",{domProps:{innerHTML:n._s(n.message)}})])}),[],!1,null,null,null).exports},5941:(n,t,e)=>{"use strict";e.d(t,{Z:()=>p});var i=e(629);function s(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,i)}return e}function o(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?s(Object(e),!0).forEach((function(t){r(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):s(Object(e)).forEac
1h((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}function r(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}const a={components:{},props:{question:{type:[Object],default:function(){return{}}},questionDifficulties:{type:[Array],default:function(){return[]}}},data:function(){return{difficulty_id:null,tip_text:{el:null,en:null}}},created:function(){},mounted:function(){},watch:{question:{deep:!0,immediate:!0,handler:function(){this.doGet()}}},computed:o(o({},(0,i.Se)({language:"language/selected"})),{},{questionDifficultySelectedTitle:function(){if(!_.isEmpty(this.questionDifficulties)){var n=_.find(this.questionDifficulties,["id",this.difficulty_id]);if(null!=n)return n.title}return"no set"}}),methods:o(o({},(0,i.nv)({})),{},{doSave:function(){this.$http.post(APPDATA.urls.api.question.edit,{question_id:this.question.question.id,difficulty_id:this.difficulty_id,tip_text:this.tip_text}).then((function(n){n.data.status,alertify.alert(n.data.message)}),(function(n){}))},doGet:function(){var n=this;this.$http.post(APPDATA.urls.api.question_tip.get,{question_id:this.question.question.id}).then((function(t){t.data.status?(n.difficulty_id=_.get(t.data.data,"question.difficulty_id",null),n.tip_text.el=_.get(t.data.data,"question.tip.text.el",null),n.tip_text.en=_.get(t.data.data,"question.tip.text.en",null)):alertify.alert(t.data.message)}),(function(n){}))}})};var u=e(3379),l=e.n(u),c=e(9338),d={insert:"head",singleton:!1};l()(c.Z,d);c.Z.locals;const p=(0,e(1900).Z)(a,(function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("b-row",{staticClass:"question-edit"},[e("b-col",{attrs:{cols:"12"}},[e("h2",[n._v("Question ID: "+n._s(n._.get(n.question,"question.id","-"))+" Edit")])]),n._v(" "),e("b-col",{attrs:{cols:"12"}},[e("h5",[n._v("Difficulty")]),n._v(" "),e("b-dropdown",{attrs:{text:n.questionDifficultySelectedTitle}},[e("b-dropdown-item",{on:{click:function(t){n.difficulty_id=null}}},[n._v("not set")]),n._v(" "),n._l(n.questionDifficulties,(function(t){return e("b-dropdown-item",{key:t.id,on:{click:function(e){n.difficulty_id=t.id}}},[n._v("\n                "+n._s(t.title)+" "),t.id==n.difficulty_id?e("b-icon",{attrs:{icon:"check"}}):n._e()],1)}))],2),n._v(" "),e("h5",{staticClass:"mt-2"},[n._v("Tip")]),n._v(" "),e("b-form-textarea",{staticClass:"mb-2",attrs:{placeholder:"Enter tip el...",rows:"3","max-rows":"6"},model:{value:n.tip_text.el,callback:function(t){n.$set(n.tip_text,"el",t)},expression:"tip_text.el"}}),n._v(" "),e("b-form-textarea",{attrs:{placeholder:"Enter tip en...",rows:"3","max-rows":"6"},model:{value:n.tip_text.en,callback:function(t){n.$set(n.tip_text,"en",t)},expression:"tip_text.en"}}),n._v(" "),e("b-button",{staticClass:"mt-2",attrs:{type:"button",variant:"primary"},on:{click:n.doSave}},[n._v("Save")])],1)],1)}),[],!1,null,"53579ef2",null).exports},486:n=>{window,n.exports=function(n){var t={};function e(i){if(t[i])return t[i].exports;var s=t[i]={i,l:!1,exports:{}};return n[i].call(s.exports,s,s.exports,e),s.l=!0,s.exports}return e.m=n,e.c=t,e.d=function(n,t,i){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:i})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var i=Object.create(null);if(e.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var s in n)e.d(i,s,function(t){return n[t]}.bind(null,s));return i},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="",e(e.s=1)}([function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(n,t){for(var e=[],i={},s=0;s<t.length;s++){var o=t[s],r=o[0],a={id:n+":"+s,css:o[1],media:o[2],sourceMap:o[3]};i[r]?i[r].parts.push(a):e.push(i[r]={id:r,parts:[a]})}return e}},function(n,t,e){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var i=function(n){return n&&n.__esModule?n:{default:n}}(e(6)),s={install:function(n,t){n.component("VueCountdownTimer",{mixins:[i.default],props:{startLabel:{type:String,default:""},endLabel:{type:String,default:""},labelPosition:{type:String,default:"begin"},interval:{type:Number,default:function(){return 1e3}},leadingZero:{type:Boolean,default:function(){return!0}},showZero:{type:Boolean,default:function(){return!0}},startTime:{type:Number|String},endTime:{type:Number|String},endText:{type:String,default:function(){return"Event ended!"}},dayTxt:{type:null|String,default:function(){return":"}},hourTxt:{type:null|String,default:function(){return":"}},minutesTxt:{type:null|String,default:function(){return":"}},secondsTxt:{type:String,default:function(){return":"}},secondsFixed:{type:Boolean,default:function(){return!1}}},data:function(){return{tips:!0,current:"",count:0,counting:!1,showDay:!0,showHour:!0,showMinute:!0}},computed:{days:function(){return this.preprocess(Math.floor(this.count/864e5))},hours:function(){var n=Math.floor(this.count%864e5/36e5);return this.dayTxt||(n+=24*Math.floor(this.count/864e5)),this.preprocess(n)},minutes:function(){var n=Math.floor(this.count%36e5/6e4);if(!this.hourTxt){var t=Math.floor(this.count/864e5);n+=60*Math.floor(this.count%864e5/36e5),this.dayTxt||(n+=24*t*60)}return this.preprocess(n)},seconds:function(){var n=this.interval,t=this.count%6e4/1e3;return this.minutesTxt||(t+=60*Math.floor(this.count%36e5/6e4),this.hourTxt||(t+=60*Math.floor(this.count%864e5/36e5)*60,this.dayTxt||(t+=24*Math.floor(this.count/864e5)*60*60))),n<10?this.preprocess(parseFloat(t.toFixed(3))):n>=10&&n<100?this.preprocess(parseFloat(t.toFixed(2))):n>=100&&n<1e3?this.preprocess(parseFloat(t.toFixed(1))):this.preprocess(Math.floor(t))},status:function(){return this.current>this.getTime(this.endTime)?0:this.current<this.getTime(this.startTime)?1:this.current>=this.getTime(this.startTime)&&this.current<this.getTime(this.endTime)?2:void 0}},methods:{init:function(){var n=this;this.dayTxt||(this.showDay=!1),this.hourTxt||(this.showHour=!1),this.minutesTxt||(this.showMinute=!1),this.stop(),this.$set(this,"current",(new Date).getTime());var t=this.getTime(this.startTime)-this.current,e=this.getTime(this.endTime)-this.current,i=this.status;if(0===i)return this.count=0,void this.end_message();1===i&&(this.$set(this,"tips",!0),this.count=Math.max(0,t)),2===i&&(this.$set(this,"tips",!1),this.$emit("start_callback",i),this.count=Math.max(0,e)),0!==this.count?this.$nextTick((function(){n.start()})):this.end_message()},start:function(){this.counting||(this.counting=!0,this.next())},next:function(){this.timeout=setTimeout(this.step.bind(this),this.interval)},step:function(){this.counting&&(this.count>this.interval?(this.showZero||(0===Number(this.days)&&(this.showDay=!1),this.showDay||0!==Number(this.hours)||(this.showHour=!1),this.showHour||0!==Number(this.minutes)||(this.showMinute=!1)),this.count-=this.interval,this.next()):(this.count=0,this.init()))},stop:function(){this.counting=!1,clearTimeout(this.timeout),this.timeout=void 0},start_message:function(){this.$set(this,"tips",!1),this.$emit("start_callback",this.status)},end_message:function(){this.currentTime<=0||this.currentTime<this.getTime(this.endTime)||this.$emit("end_callback",this.status)},getTime:function(n){return"number"==typeof n&&10===n.toString().length&&(n*=1e3),String(n).match(/[\d]+-[\d]+-[\d]+/g)&&(n=n.replace(/-/g,"/")),new Date(n).getTime()},preprocess:function(n){return this.leadingZero&&n<10?"0"+n:n},update:function(){if(this.counting){this.$set(this,"current",(new Date).getTime());var n=this.getTime(this.startTime)-this.current,t=this.getTime(this.endTime)-this.current,e=this.status;if(0===e)return this.count=0,this.stop(),void this.end_message();1===e&&(this.$set(this,"tips",!0),this.count=Math.max(0,n)),2===e&&(this.$set(this,"tips",!1),this.$emit("start_callback",this.status),this.count=Math.max(0,t))}}},watch:{startTime:function(){this.init()},endTime:function(){this.init()}},created:function(){this.init()},mounted:function(){window.addEventListener("focus",this.onFocus=this.update.bind(this))},beforeDestroy:function(){window.removeEventListener("focus",this.onFocus),clearTimeout(this.timeout)}})}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(s),t.default=s},function(n,t,e){var i=e(3);"string"==typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals),(0,e(5).default)("3f71a86a",i,!0,{})},function(n,t,e){(n.exports=e(4)(!1)).push([n.i,"",""])},function(n,t,e){"use strict";n.exports=function(n){var t=[];return t.toString=function(){return this.map((function(t){var e=function(n,t){var e=n[1]||"",i=n[3];if(!i)return e;if(t&&"function"==typeof btoa){var s=function(n){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"}(i),o=i.sources.map((function(n){return"/*# sourceURL="+i.sourceRoot+n+" */"}));return[e].concat(o).concat([s]).join("\n")}return[e].join("\n")}(t,n);return t[2]?"@media "+t[2]+"{"+e+"}":e})).join("")},t.i=function(n,e){"string"==typeof n&&(n=[[null,n,""]]);for(var i={},s=0;s<this.length;s++){var o=this[s][0];"number"==typeof o&&(i[o]=!0)}for(s=0;s<n.length;s++){var r=n[s];"number"==typeof r[0]&&i[r[0]]||(e&&!r[2]?r[2]=e:e&&(r[2]="("+r[2]+") and ("+e+")"),t.push(r))}},t}},function(n,t,e){"use strict";e.r(t),e.d(t,"default",(function(){return h}));var i=e(0),s=e.n(i),o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r={},a=o&&(document.head||document.getElementsByTagName("head")[0]),u=null,l=0,c=!1,d=function(){},p=null,m="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(n,t,e,i){c=e,p=i||{};var o=s()(n,t);return _(o),function(t){for(var e=[],i=0;i<o.length;i++){var a=o[i];(u=r[a.id]).refs--,e.push(u)}for(t?_(o=s()(n,t)):o=[],i=0;i<e.length;i++){var u;if(0===(u=e[i]).refs){for(var l=0;l<u.parts.length;l++)u.parts[l]();delete r[u.id]}}}}function _(n){for(var t=0;t<n.length;t++){var e=n[t],i=r[e.id];if(i){i.refs++;for(var s=0;s<i.parts.length;s++)i.parts[s](e.parts[s]);for(;s<e.parts.length;s++)i.parts.push(b(e.parts[s]));i.parts.length>e.parts.length&&(i.parts.length=e.parts.length)}else{var o=[];for(s=0;s<e.parts.length;s++)o.push(b(e.parts[s]));r[e.id]={id:e.id,refs:1,parts:o}}}}function x(){var n=document.createElement("style");return n.type="text/css",a.appendChild(n),n}function b(n){var t,e,i=document.querySelector("style["+m+'~="'+n.id+'"]');if(i){if(c)return d;i.parentNode.removeChild(i)}if(f){var s=l++;i=u||(u=x()),t=v.bind(null,i,s,!1),e=v.bind(null,i,s,!0)}else i=x(),t=function(n,t){var e=t.css,i=t.media,s=t.sourceMap;if(i&&n.setAttribute("media",i),p.ssrId&&n.setAttribute(m,t.id),s&&(e+="\n/*# sourceURL="+s.sources[0]+" */",e+="\n
1/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(s))))+" */"),n.styleSheet)n.styleSheet.cssText=e;else{for(;n.firstChild;)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(e))}}.bind(null,i),e=function(){i.parentNode.removeChild(i)};return t(n),function(i){if(i){if(i.css===n.css&&i.media===n.media&&i.sourceMap===n.sourceMap)return;t(n=i)}else e()}}var g=function(){var n=[];return function(t,e){return n[t]=e,n.filter(Boolean).join("\n")}}();function v(n,t,e,i){var s=e?"":i.css;if(n.styleSheet)n.styleSheet.cssText=g(t,s);else{var o=document.createTextNode(s),r=n.childNodes;r[t]&&n.removeChild(r[t]),r.length?n.insertBefore(o,r[t]):n.appendChild(o)}}},function(n,t,e){"use strict";e.r(t);var i=function(n,t,e,i,s,o,r,a){var u=typeof(n=n||{}).default;"object"!==u&&"function"!==u||(n=n.default);var l,c="function"==typeof n?n.options:n;if(t&&(c.render=t,c.staticRenderFns=e,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId=o),r?(l=function(n){(n=n||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(n=__VUE_SSR_CONTEXT__),s&&s.call(this,n),n&&n._registeredComponents&&n._registeredComponents.add(r)},c._ssrRegister=l):s&&(l=a?function(){s.call(this,this.$root.$options.shadowRoot)}:s),l)if(c.functional){c._injectStyles=l;var d=c.render;c.render=function(n,t){return l.call(t),d(n,t)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:n,options:c}}(null,(function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",[n.status>0?n._t("start-label",[""!==n.startLabel&&n.tips&&"begin"===n.labelPosition?e("span",[n._v(n._s(n.startLabel)+":")]):n._e(),n._v(" "),""===n.endLabel||n.tips||"begin"!==n.labelPosition?n._e():e("span",[n._v(n._s(n.endLabel)+":")])],{props:{tips:n.tips,startLabel:n.startLabel,endLabel:n.endLabel,labelPosition:n.labelPosition}}):n._e(),n._v(" "),n.status>0?n._t("countdown",[n.showDay?e("span",[n._v(n._s(n.days))]):n._e(),n._v(" "),n.showDay?e("i",[n._v(n._s(n.dayTxt))]):n._e(),n._v(" "),n.showHour?e("span",[n._v(n._s(n.hours))]):n._e(),n._v(" "),n.showHour?e("i",[n._v(n._s(n.hourTxt))]):n._e(),n._v(" "),n.showMinute?e("span",[n._v(n._s(n.minutes))]):n._e(),n._v(" "),n.showMinute?e("i",[n._v(n._s(n.minutesTxt))]):n._e(),n._v(" "),e("span",[n._v(n._s(n.seconds))]),n._v(" "),n.secondsTxt?e("i",[n._v(n._s(n.secondsTxt))]):n._e()],{props:{status:n.status,days:n.days,hours:n.hours,minutes:n.minutes,seconds:n.seconds,dayTxt:n.dayTxt,hourTxt:n.hourTxt,minutesTxt:n.minutesTxt,secondsTxt:n.secondsTxt,showDay:n.showDay,showHour:n.showHour,showMinute:n.showMinute}}):n._e(),n._v(" "),n.status>0?n._t("end-label",[""!==n.startLabel&&n.tips&&"end"===n.labelPosition?e("span",[n._v(n._s(n.startLabel)+":")]):n._e(),n._v(" "),""===n.endLabel||n.tips||"end"!==n.labelPosition?n._e():e("span",[n._v(n._s(n.endLabel)+":")])],{props:{tips:n.tips,startLabel:n.startLabel,endLabel:n.endLabel,labelPosition:n.labelPosition}}):n._e(),n._v(" "),n.status<=0?n._t("end-text",[n._v("\n    "+n._s(n.endText)+"\n  ")],{props:{endText:n.endText}}):n._e()],2)}),[],!1,(function(n){e(2)}),"data-v-7c035809",null);t.default=i.exports}])}}]);
2//# sourceMappingURL=exam-index.js.map?id=ee8704abd3b8301d841b

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.