<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{1605:function(t,e,n){t.exports={}},1960:function(t,e,n){"use strict";n(20);var r=n(545),c={components:{CaretRight:n.n(r).a},props:{classes:{type:String,default:function(){return""},required:!1},breadcrumb:{type:Array,default:function(){return[]},required:!1}}},o=(n(2842),n(74)),component=Object(o.a)(c,(function(){var t=this,e=t._self._c;return t.breadcrumb?e("div",{staticClass:"breadcrumb",class:t.classes},[e("ul",t._l(t.breadcrumb,(function(n,i){return e("li",{key:i},[t.$route.fullPath===n.slug?e("span",[t._v("\n        "+t._s(n.name)+"\n      ")]):n.slug.length?e("nuxt-link",{attrs:{to:n.slug}},[t._v("\n        "+t._s(n.name)+"\n      ")]):t._e(),t._v(" "),n.slug.length?t._e():e("span",[t._v("\n        "+t._s(n.name)+"\n      ")]),t._v(" "),n.slug.length?e("CaretRight"):t._e()],1)})),0)]):t._e()}),[],!1,null,"4c902ce9",null);e.a=component.exports},2842:function(t,e,n){"use strict";n(1605)},4039:function(t,e,n){t.exports={}},4106:function(t,e,n){"use strict";n(35),n(21),n(20);var r=n(3),c=(n(14),{components:{Breadcrumb:n(1960).a},props:{deck:{type:Object,required:!0}},data:function(){return{warning:!1,tabs:[{href:"review",name:"Review"},{href:"study",name:"Study"},{href:"test",name:"Test"}]}},computed:{flashCardBreadcrumb:function(){return[{slug:"/flashcards/",name:"All Decks"},{slug:"",name:"".concat(this.deck.title)}]}},mounted:function(){var t=this;this.$root.$on("start-test",(function(){t.warning=!0}))},methods:{routeTest:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.$store.state.auth.user){e.next=4;break}t.$store.dispatch("modals/open",{name:"login-or-signup"}),e.next=9;break;case 4:return n=t.$route.path.includes("review"),e.next=7,t.$store.dispatch("modals/open",{name:"confirm",title:"Are you sure you want to start the test now?",customClass:"flashcards-modal",message:n?"You havenâ€™t reviewed all cards. Go over the whole deck for a chance of a higher score.":"You havenâ€™t rated all cards. Go back and complete the deck for a chance of a higher score.",confirm:"Start Test",confirmBtnClass:"btn-danger-light",reverseButtonsOrder:!0,cancel:"Go Back",cancelBtnClass:"btn-primary"});case 7:e.sent&amp;&amp;t.$router.push("/flashcards/".concat(t.deck.slug,"/test/"));case 9:case"end":return e.stop()}}),e)})))()}}}),o=(n(5370),n(74)),component=Object(o.a)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"deck-header"},[e("Breadcrumb",{staticClass:"flash-card-deck-breadcrumb",attrs:{breadcrumb:t.flashCardBreadcrumb}}),t._v(" "),e("div",{staticClass:"holder-info"},[e("h1",{staticClass:"title h2"},[t._v("\n      "+t._s(t.deck.title)+"\n    ")]),t._v(" "),e("div",{staticClass:"info"},[e("span",{staticClass:"author"},[t._v("Author: "),e("span",{staticClass:"bold"},[t._v(t._s(t.deck.author))])]),t._v(" "),e("span",{staticClass:"dot"}),t._v(" "),e("span",{staticClass:"cards"},[t._v("Cards: "),e("span",{staticClass:"bold"},[t._v(t._s(t.deck.cardCount))])])])]),t._v(" "),t.$route.path.includes("/results/")?t._e():e("div",{staticClass:"types-tabs row"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"tabs"},t._l(t.tabs,(function(n){return e("li",{key:n.name,class:{active:t.$route.name.includes(n.href)||t.$route.query[n.href]}},["study"===n.href||"review"===n.href?e("nuxt-link",{attrs:{to:"/flashcards/".concat(t.deck.slug,"/").concat(n.href,"/")}},[t._v("\n            "+t._s(n.name)+"\n          ")]):e("button",{staticClass:"btn-primary",class:{active:t.$route.path.includes(n.href)},on:{click:t.routeTest}},[t._v("\n            "+t._s(n.name)+"\n          ")])],1)})),0)])])],1)}),[],!1,null,"37d8dea0",null);e.a=component.exports},4112:function(t,e,n){"use strict";n(35),n(21),n(8),n(66),n(65),n(12),n(43),n(28);var r={props:{type:{type:String,required:!0},html:{type:String,required:!0},place:{type:String,required:!1,default:"exam"},deckTerms:Boolean},beforeUpdate:function(){var t=this;this.$nextTick((function(){t.loadGallery()}))},mounted:function(){var t=this;Array.from(document.getElementsByClassName("text-content")).forEach((function(t){["&amp;nbsp;","&lt;span&gt;&lt;/span&gt;"].includes(t.innerHTML)&amp;&amp;t.remove()})),this.$nextTick((function(){t.loadGallery(),window.MathJax&amp;&amp;(window.MathJax.Hub.Config({tex2jax:{inlineMath:[["$","$"],["\\(","\\)"]],processEscapes:!0},"HTML-CSS":{linebreaks:{automatic:!0,width:"container"}},SVG:{linebreaks:{width:"10000px"}},jax:["input/TeX","output/SVG"]}),window.MathJax.Hub.Queue(["Typeset",window.MathJax.Hub]))}))},methods:{loadGallery:function(){var t=this;document.querySelectorAll("p").forEach((function(p){(""===p.textContent.trim()&amp;&amp;!p.querySelector(".image-lightbox")||"&amp;nbsp;"===p.textContent)&amp;&amp;(p.style.display="none")})),this.$el.querySelectorAll(".image-lightbox").forEach((function(e){var image=e.querySelector("img"),n=image.src,r=image.dataset,c=n.replace(/resources\/blog\/thumb@[0-9]{2,4}_/,"resources/blog/").replace(/webp$/,r.ext);e.addEventListener("click",(function(e){e.preventDefault(),t.$store.dispatch("modals/open",{name:"gallery",images:[c],activeIdx:1})}))}))}}},c=(n(4638),n(74)),component=Object(c.a)(r,(function(){var t=this;return(0,t._self._c)("div",{class:[{"with-image":t.html.includes("&lt;img"),"deck-terms":t.deckTerms},"flashcard-".concat(t.type,"-content"),t.place],domProps:{innerHTML:t._s(t.html)}})}),[],!1,null,null,null);e.a=component.exports},4638:function(t,e,n){"use strict";n(4039)},4954:function(t,e,n){t.exports={}},5370:function(t,e,n){"use strict";n(4954)},545:function(t,e){t.exports={functional:!0,render(t,e){const{_c:n,_v:r,data:data,children:c=[]}=e,{class:o,staticClass:l,style:style,staticStyle:d,attrs:h={},...f}=data;return n("svg",{class:[o,l],style:[style,d],attrs:Object.assign({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h),...f},c.concat([n("path",{attrs:{d:"M10 13L5 8l5-5",stroke:"#545C69","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}})]))}}}}]);
//# sourceMappingURL=54fd006.js.map</pre></body></html>