1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[1767],{1767:(t,e,o)=>{function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function n(t,e){for(var o=0;o<e.length;o++){var i=e[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,r(i.key),i)}}function r(t){var e=function(t){if("object"!=i(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var o=e.call(t,"string");if("object"!=i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==i(e)?e:e+""}o.d(e,{default:()=>l});var l=function(){return t=function t(e){var o=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.btns=this.el.querySelectorAll(".jo-module-quiz__answer-item"),this.solution=this.el.querySelector(".jo-module-quiz__solution"),this.solutionLabel=this.el.querySelector(".jo-module-quiz__solution-content-title"),this.onClick=this.onClick.bind(this),this.btns.forEach(function(t){t.addEventListener("click",o.onClick)})},e=[{key:"onClick",value:function(t){t.preventDefault(),t.target.classList.add("jo-module-quiz__answer-item--clicked");var e=t.target.getAttribute("data-answer");this.el.setAttribute("data-answer",e),"bad"===e&&(this.el.querySelector('.jo-module-quiz__answer-item[data-answer="good"]').classList.add("jo-module-quiz__answer-item--shown"),this.solutionLabel.innerHTML="Dommage !")}}],e&&n(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e}()}}]);
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.