1"use strict";(self.webpackChunkoutrigger=self.webpackChunkoutrigger||[]).push([[464],{160:function(n,e,t){let i;function o(){i=_WF.utils.getLogger("header > layoutLoader > delayedNext",_WF.LOGLEVEL.GLOBAL),i("init");const n=document.querySelector(".quiz-wrap"),e=Number.parseInt(_WF.utils.getTestTreatmentSetting("quizlayout_ab","delayedNext",1))||5e3;!function(){const n="\n .quiz .quiz-wrap.waiting-for-ads {\n opacity: 50%;\n }\n\n .quiz-wrap.waiting-for-ads .quiz-info {\n display: none;\n }\n \n .quiz .quiz-wrap.waiting-for-ads .photo-controls {\n display: none;\n }\n \n .quiz .quiz-wrap.waiting-for-ads .answer.incorrect {\n background: #EBEBEB;\n }\n \n .quiz .quiz-wrap.waiting-for-ads .answer.correct {\n background: #EBEBEB;\n }\n\n .quiz .quiz-wrap:not(.waiting-for-ads) #quiz-loader-overlay {\n display: none;\n }\n \n .quiz .quiz-wrap.waiting-for-ads #quiz-loader-overlay {\n height: 101%;\n width: 102%;\n display: block;\n position: absolute;\n top: -1%;\n left: -1%;\n background-color: rgba(0,0,0,0.2);\n z-index: 99999;\n border-radius: 3px;\n opacity: 100%;\n }\n .quiz .quiz-wrap.waiting-for-ads #quiz-loader-overlay img#quiz-loader {\n width: 100px;\n top: 38%;\n left: calc(50% - 50px);\n position: absolute;\n }\n ";_WF.utils.createDynamicStyleSheet(n)}(),function(n){const e=document.createElement("div");e.id="quiz-loader-overlay";const t=document.createElement("img");t.id="quiz-loader",t.src="/wp-content/themes/_common/images/loading.svg",e.append(t),n.prepend(e)}(n),function(n,e){const t=document.getElementById("next-button").firstElementChild,o=t.innerText;_WF.once(_WF.EVENTS.QUIZATTEMPTED,(()=>{i("quiz attempted, adding loader"),n.classList.add("waiting-for-ads"),t.addEventListener("click",a);const r=t.innerText;t.innerText=o;const u=function(n,e,t){return()=>{n.classList.remove("waiting-for-ads"),e.removeEventListener("click",a),e.innerText=t}}(n,t,r);_WF.once(_WF.EVENTS.ALLDFPSLOTSRENDERED,u),setTimeout(u,e)}))}(n,e)}function a(n){n.preventDefault(),hm_scrollTo(0,0)}t.r(e),t.d(e,{default:function(){return o}})}}]);
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.