1(function(){({initialize:function(){this.initializeHsslCheck()},debug:function(){let e=!1;return typeof DFM_AD_MODS_DEBUG<`u`&&(e=!0),e},checkForBangPremiumOffer:function(){let e,t,n=window.blueConicClient.profile.getProfile();this.debug()&&console.log(`DEBUG: blueconic profile = `+n);let r=[`bang_accept_premium_offer`,`bang_accept_premium_offer_date`];this.debug()&&console.log(`DEBUG: blueconic premium offer properties = `+r),n.loadValues(r,this,function(){if(e=n.getValue(`bang_accept_premium_offer`),t=n.getValue(`bang_accept_premium_offer_date`),e===`yes`&&t.length>0){let e=new Date(t);new Date-e>7200*60*1e3==0?localStorage.setItem(`hhsl`,`access`):localStorage.removeItem(`hhsl`)}})},initializeHsslCheck:function(){this.debug()&&console.log(`DEBUG: initializeHsslCheck success`);let e=!1,t=this,n;typeof DFM_AD_MODS_LEVEL<`u`&&(n=parseInt(DFM_AD_MODS_LEVEL[0])),this.debug()&&console.log(`DEBUG: hhslFromOptions `+n),document.addEventListener(`onLoginSuccess`,function(n){e=!0,t.debug()&&console.log(`DEBUG: onLoginSuccess is true`)}),window.blueConicClient!==void 0&&window.blueConicClient.event!==void 0&&window.blueConicClient.event.subscribe!==void 0?(t.debug()&&console.log(`DEBUG: blueconic detected and not undefined; running checkForBangPremiumOffer`),t.checkForBangPremiumOffer()):(t.debug()&&console.log(`DEBUG: blueconic not loaded, adding event listener`),window.addEventListener(`onBlueConicLoaded`,function(){t.checkForBangPremiumOffer()},!1)),document.addEventListener(`onHasAccess`,function(r){t.debug()&&console.log(`DEBUG: onHasAccess event listener hit`);let i=[];n!==void 0&&i.push(n),t.debug()&&console.log(`DEBUG: hhsl level is `+i);let a,o=r.detail.MG2AccountData.DigitalAccess.Subscription.HouseHoldSubscriptionLevel;t.debug()&&console.log(`DEBUG: hhsl level is `+o),a=!!(o!==void 0&&i.includes(o)),t.debug()&&console.log(`DEBUG: hhslAccess `+a),!0===a?(localStorage.setItem(`hhsl`,`access`),t.debug()&&console.log(`DEBUG: setting localStorage item for hhsl`)):(localStorage.removeItem(`hhsl`),t.debug()&&console.log(`DEBUG: removing localStorage item for hhsl`)),e&&!0===a&&window.location.reload()})}}).initialize()})();
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.