[]
Page Not Found | Allure=r&&++i>=r&&(i=0,t=r-1),n[t%r]=s,t++},this.asArray=function(){var s=n.slice(i,Math.min(t,r)),u=n.slice(0,Math.max(t-r,0));return s.concat(u)},this.list=n}function t(n,t){for(var i=t,s=0;s -1; }; var appendScript = function (src) { var s = document.createElement(‘script’); s.src = src; s.async = true; document.body.appendChild(s); }; var callUserContext = function (verso) { if (!hasConsentedToPerformanceCookies()) return; if (hasScriptBeenInjected) return; var encodedReferrer = encodeURIComponent(document.referrer); var encodedLocation = encodeURIComponent(window.location.href); appendScript(‘/user-context’ + ‘?referrer=’ + encodedReferrer + ‘&verso=’ + verso + ‘&location=’ + encodedLocation); hasScriptBeenInjected = true; }; if (window.cnBus) { // without binding this empty function to the event, call to user-context is not being made for some unknown reason window.cnBus.on(‘onetrust.OneTrustGroupsUpdated’, function () {}); window.cnBus.on(‘onetrust.OneTrustGroupsUpdated’, function () { // wait till the CN_xid cookie is set before calling ‘callUserContext’ var THIRTY_SECONDS = 60; var HALF_SECOND = 500; var i = 0; var timer = setInterval(function () { i++; if (document.cookie && document.cookie.includes(‘CN_xid’)) { callUserContext(verso); clearInterval(timer); } if (i === THIRTY_SECONDS) clearInterval(timer); }, HALF_SECOND); }); } return { callUserContext, }; })(true)]]>