43 lines
42 KiB
HTML
43 lines
42 KiB
HTML
<!-- HOSTED_HTML_UNIVERSAL_REWARD v48 --> <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1,user-scalable=no"> <meta charset="UTF-8"> <script type="text/javascript"> window.mraid = { EVENTS: { ASSETREADY: 'assetReady', ASSETREMOVED: 'assetRemoved', ASSETRETIRED: 'assetRetired', ERROR: 'error', INFO: 'info', READY: 'ready', HEADINGCHANGE: 'headingChange', KEYBOARDCHANGE: 'keyboardChange', LOCATIONCHANGE: 'locationChange', NETWORKCHANGE: 'networkChange', ORIENTATIONCHANGE: 'orientationChange', RESPONSE: 'response', SCREENCHANGE: 'screenChange', SHAKE: 'shake', SIZECHANGE: 'sizeChange', STATECHANGE: 'stateChange', TILTCHANGE: 'tiltChange', VIEWABLECHANGE: 'viewableChange' }, STATES: { UNKNOWN: 'unknown', DEFAULT: 'default', RESIZED: 'resized', EXPANDED: 'expanded', HIDDEN: 'hidden', LOADING: 'loading' }, listeners: {}, state: "loading", viewable: false, isClosed: 0, clickCooldown: false, getState: function() { return this.state; }, getVersion: function() { return "2.0"; }, getViewable: function() { return this.viewable; }, getPlacementType: function() { return "interstitial"; }, isViewable: function() { return this.viewable; }, useCustomClose: function(shouldUseCustomClose) { return false; }, supports: function(featureName) { return false; }, getExpandProperties: function() { return { width: window.innerWidth, height: window.innerHeight, useCustomClose: false }; }, setExpandProperties: function(newProperties) { }, getOrientationProperties: function() { return {}; }, setOrientationProperties: function(newProperties) { }, getScreenSize: function() { return this.getCurrentPosition(); }, getMaxSize: function() { return this.getCurrentPosition(); }, getDefaultPosition: function() { return this.getCurrentPosition(); }, getCurrentPosition: function() { return { x: 0, y: 0, width: window.innerWidth, height: window.innerHeight }; }, addEventListener: function (event, listener) { if (listener === undefined) return; this.listeners[event] = this.listeners[event] || []; var eventListeners = this.listeners[event]; for (var existing in eventListeners) { if (listener === existing) return; } eventListeners.push(listener); }, removeEventListener: function(event, listener) { if (this.listeners.hasOwnProperty(event)) { var eventListeners = this.listeners[event]; if (eventListeners) { var idx = eventListeners.indexOf(listener); if (idx !== -1) { eventListeners.splice(idx, 1); } } } }, resize: function() { }, expand: function() { }, open: function(targetUrl) { setTimeout(function() { if (window.mraid.clickCooldown) { return; } window.mraid.startClickCooldown(); /* NOTE: This will be legit URL for some MMPs */ var trackingUrl = "market://details?id=games.lightheart.mrautofire&referrer=adjust_external_click_id%3Dapplovin_dbd4c6fb89c98787a4c908da69c49fec5670f5bc"; var finalUrl = trackingUrl + "&n=" + encodeURIComponent(targetUrl); var platform = "android"; if ( "android" == platform || "fireos" == platform ) { setTimeout(function() { window.location.href = finalUrl; }, 50); } else { if ( trackingUrl.indexOf("http") === 0 ) { setTimeout(function () { var img = new Image(); img.src = finalUrl; }, 100); var aTag = document.createElement('a'); aTag.setAttribute('href', 'applovin://com.applovin.sdk/adservice/storekit'); aTag.innerHTML = 'empty'; aTag.click(); } else { setTimeout(function() { var img = new Image(); img.src = targetUrl; }, 100); var aTag = document.createElement('a'); aTag.setAttribute('href', trackingUrl); aTag.innerHTML = 'empty'; aTag.click(); } } }, 50); }, close: function() { this.isClosed = 1; window.mraid.startClickCooldown(); al_maybeSendAdClosePostback(); setTimeout(function(){ var platform = "android"; if ( "android" == platform || "fireos" == platform ) { window.location.href = "applovin://com.applovin.sdk/adservice/close_ad"; } else { var closeUrlType = "deeplink"; if ( "deeplink" == closeUrlType ) { window.location.href = "applovin://com.applovin.sdk/adservice/close_ad"; } else { var aTag = document.createElement('a'); aTag.setAttribute('href', 'applvn://close'); aTag.innerHTML = 'empty'; aTag.click(); } } }, 100); }, startClickCooldown: function() { if (!this.clickCooldown) { this.clickCooldown = true; setTimeout(function() { window.mraid.clickCooldown = false; }, 250); } }, fireEvent: function(type) { var eventListeners = this.listeners[type]; if (eventListeners) { var args = Array.prototype.slice.call(arguments); args.shift(); for (var i = 0; i < eventListeners.length; i++) { if (eventListeners[i]) { try { /* NOTE: try-catch MRAID calls as 3PPs may throw exceptions and break code execution */ eventListeners[i].apply(null, args); } catch (e) { console.log("Failed to execute event listener of type '" + type +"' with args: " + args); } } } } }, markReady: function() { this.state = this.STATES.DEFAULT; this.viewable = true; this.fireEvent( this.EVENTS.VIEWABLECHANGE, this.viewable ); this.fireEvent( this.EVENTS.READY ); }, markHidden: function() { this.state = this.STATES.HIDDEN; this.fireEvent( this.EVENTS.STATECHANGE, this.state ); this.viewable = false; this.fireEvent( this.EVENTS.VIEWABLECHANGE, this.viewable ); }, markResized: function() { this.state = this.STATES.RESIZED; this.fireEvent( this.EVENTS.STATECHANGE, this.state ); this.fireEvent( this.EVENTS.SIZECHANGE ); }, __noSuchMethod__ : function(id, args) { } }; var applovinMraid = window.mraid; let IS_WEB_UI_PREVIEW = parseInt(""); if (isNaN(IS_WEB_UI_PREVIEW)) { IS_WEB_UI_PREVIEW = true; } /* Skip Delay */ var totalCountdownSec = parseInt("30"); /* Close Delay */ var closeButtonDelay = parseInt("3"); if (isNaN(closeButtonDelay)) { closeButtonDelay = 3; } /* Whether or not to show faux ec immediately */ var showFauxEndcardImmediately; /* Tracking time to tap the endcard skip and close buttons */ var endcardSkipDisplayTime; var endcardSkipTapTime; var endcardCloseDisplayTime; var skipButtonClicksAd = ("" == "true"); var renderAdInfoButton = function() { var ALActiveAdInfoSettings = { adInfoClick: function() { window.open('applovin://com.applovin.sdk/adservice/load_url?load_type=external&n=https://dash.applovin.com/p/how-applovin-shows-you-ads'); }, bannerTitle: 'This advertisement was served by AppLovin.<br><br>If you are a consumer that downloads and uses an application which contains the AppLovin SDK or otherwise interacts with the services, we may collect certain device information to enhance your user experience, such as the following:</span> <ul style="color:rgba(255,255,255,0.7);padding-left:20px;margin-bottom:10px"> <li>Device make, model and operating system;</li> <li>Device properties related to screen size and orientation, audio volume and battery, device memory usage;</li> <li>Carrier;</li> <li>Operating system;</li> <li>Name and properties of mobile application through which a consumer interacts with the Services;</li> <li>Country, time zone and locale settings (country and preferred language);</li> <li>Network connection type and speed;</li> <li>IP Address;</li> <li>Internet browser user-agent used to access the Services; and</li> <li>Identifier for advertisers (IDFA).</li> </ul>', bannerSubtitle: 'Click to view more details »' }; function al_showAdInfoBanner() { console.log('show'); document.getElementById("al_bigAdInfo").style.display = "block"; } function al_hideAdInfoBanner() { console.log('hide'); document.getElementById("al_bigAdInfo").style.display = "none"; } var styles = '#al_bigAdInfo {-webkit-box-sizing:initial;box-sizing:initial; text-align:left !important;background:rgba(0,0,0,0.9);position:fixed;height:max-content;left:0;right:0;bottom:0;z-index:999990;font-family:sans-serif;color:#FFF;font-size:11px;padding:8px;display:none}'; styles += '#al_panel {background: url(https://img.applovin.com/1381250003_28x28.png) #000 no-repeat; background-size:12px 12px;background-position: 2px 2px;-webkit-border-radius:0 3px 0 0;border-radius:0 3px 0 0;height:15px;width:0;padding:3px 0 0 16px;overflow:hidden;opacity:.2}'; styles += '#al_adInfo {width:20px; height:15px; padding-top:5px; z-index:999990; box-sizing: content-box;position:absolute;bottom:0;left:0;z-index:999990; pointer-events: auto;}'; styles += '#al_closeAdInfo {position:absolute;top:0px;right:0px;background:url(https://pdn.applovin.com/closeOptOut.png) no-repeat center center;width:50px;height:50px;background-size:18px 18px; z-index:999999;}'; styles += '#al_adInfoClickArea {position:absolute; width:100%; height:100%; left:0; top:0; z-index:999990;}'; var css = document.createElement('style'); css.type = 'text/css'; if(css.styleSheet) css.styleSheet.cssText = styles; else css.appendChild(document.createTextNode(styles)); var optoutDiv = document.createElement("div"); optoutDiv.id = 'al_adInfo'; var optoutPanel = document.createElement("div"); optoutPanel.id = 'al_panel'; optoutPanel.onclick = al_showAdInfoBanner; var bigAdInfo = document.createElement("div"); bigAdInfo.id = 'al_bigAdInfo'; bigAdInfo.innerHTML = '<p style="display:block;margin-bottom:5px;color:rgba(255,255,255,0.7)">' + ALActiveAdInfoSettings.bannerTitle + '</p><strong>' + ALActiveAdInfoSettings.bannerSubtitle + '</strong></span>'; var adInfoClickArea = document.createElement("div"); adInfoClickArea.id = 'al_adInfoClickArea'; adInfoClickArea.onclick = ALActiveAdInfoSettings.adInfoClick; var closeButtonDiv = document.createElement("span"); closeButtonDiv.id = 'al_closeAdInfo'; closeButtonDiv.onclick = al_hideAdInfoBanner; bigAdInfo.appendChild(adInfoClickArea); bigAdInfo.appendChild(closeButtonDiv); optoutDiv.appendChild(bigAdInfo); optoutDiv.appendChild(optoutPanel); setTimeout(function() { document.getElementsByTagName("head")[0].appendChild(css); document.body.appendChild(optoutDiv); var adInfo = document.getElementById("al_adInfo"); adInfo.style.display = "none"; adInfo.style.display = "block"; adInfo.style.position = "fixed"; }, 250); }; function al_stopPropagation(event) { if (event) { event.stopPropagation(); event.preventDefault(); } } function al_clickAd(event) { window.mraid.open(); al_stopPropagation(event); } function al_closeAd(event) { window.mraid.close(); al_stopPropagation(event); } function al_maybeSendAdClosePostback() { var adClosePostback = "https://prod-a.applovin.com/adclose?clcode=4!v3!381843.1648727300!8hfG0EhnV_F5xhlP3m4cOMccPcaaizRXFJyVElWQoAj_ZhhdLPRUXSBhYGSHLLIB2HEQPgA5NXL12M1c03xlfVgv-5PaL0Fc6f48LepgbCvWgJFhxKLLxAS6VLchjFy4fcysdoo4B9n9HU0BtHYFamF3yooouy2QDWiLiBkPWRh8U3j3unhkTJc4LD_vZzzAwf2Sb94Pu51x6jkKt0WAlKFm3-MpbG4VWaCbHm_bnWCdxhGC2U07G_dVjbSAIibWBPD9k9BmUhhGWrggyVXo3_WcQT9SgB8wqtNxVfA_jR60XhhDav8wbaruZodqOb9Ha-BNd3VV6DKgWUy0bOjsPz2TqcyU048_xuRxY5AUWnmv607PJn6bocrwVpQVyM2SRloUMcDE35GMpK4k10zuWjwKM2b3Wa3otsms7WjYeA74Dir3_B1XCiDGbnJl-aQVOvXdSXxj-9bCnF6X6rBqfu8Z6TRo6xYTcAA8Ml3ILvFnrNZlHqkskONlrJs4qVvO7v5TPlEbjdVmjuhN8mLTshfqC5FiR5svtdX2DXrJNU5oKtt8prpo-2NSwU7BHAKySeEhelLTlgwOxGDBXA42sdBVnx_O3XfwXMb934TaupxEdkKczh-OJjBvH13nxiPM-0XWdgWlBNm0eurqXJvgORjruQz4rQiKwg9SxV5-hUBsKnCYuPRulgvxU7j0BT8hBNty-ULANIv6fASyb4WN8w628llk1Llz7HkvEivhoT8dCpJvUwn44nHkZ-6EoVBjEHQUVk-M48zgxDCu1uD0fyEQidZR0YVO-lo3BhAFczuzrFMH1HA9Y64EoREfGeswNeZB7dmBDakKHipspaZ6Z3kPwSRCq0sKjWKNp3p-vuFbiVSWEB5v3QlATNFilKQuYVLzL9QOTNUU61aSkaZXnRNjhlw2iCE9lPpRu9AgtjdSR-OVPcRyN9z5oAN7qQCJWodUkwvE3z8aTzBwK1p5PA**"; if (!adClosePostback || adClosePostback.indexOf("http") < 0) { return; } var adClosePostbackUrl = new URL(adClosePostback); var endcardSkippedTime = endcardSkipTapTime - endcardSkipDisplayTime; var endcardClosedTime = Date.now() - endcardCloseDisplayTime; adClosePostbackUrl.searchParams.append('es_ms', endcardSkippedTime.toString()); adClosePostbackUrl.searchParams.append('et_ms', endcardClosedTime.toString()); setTimeout(function() { var img = new Image(); img.src = adClosePostbackUrl.toString(); }, 50); }; function al_setButtonSizeAndPosition(button, buttonSizePx, buttonClickSizePx) { if (isNaN(buttonSizePx)) { buttonSizePx = 20; } if (isNaN(buttonClickSizePx) || buttonClickSizePx < buttonSizePx) { buttonClickSizePx = buttonSizePx; } var buttonCornerOffset = parseInt(""); if (isNaN(buttonCornerOffset)) { buttonCornerOffset = 12; } var buttonPadding = 0; var buttonClickSizeDiff = buttonClickSizePx - buttonSizePx; if (buttonClickSizeDiff > 0) { /* Set button padding to increase clickable area */ buttonPadding = buttonClickSizeDiff / 2; /* Modify offset to maintain button position */ buttonCornerOffset -= buttonPadding; } button.style.width = buttonSizePx + 'px'; button.style.height = buttonSizePx + 'px'; button.style.top = buttonCornerOffset + 'px'; button.style.right = buttonCornerOffset + 'px'; button.style.padding = buttonPadding + 'px'; } function al_maybeRenderEndcardCountdown() { if (isNaN(totalCountdownSec) || totalCountdownSec < 0) { return false; } var countdownValue = totalCountdownSec; window.al_close_button_state = "skip_pending"; var styles = '#al_countdownDiv {width:28px; height:28px; position:fixed; z-index:999990; display:flex; justify-content: center; align-items: center; bottom: 16px; left: 16px}'; styles += '#al_countdownSvg {width: 100%; height: 100%;}'; styles += '#al_countdownWhiteRing {stroke-linecap: round; stroke-width: 6%; stroke: #FFF; fill: none;}'; styles += '#al_countdownNumber {position: absolute; color: #FFF; font-size: 11px; font-family: Helvetica,Arial,sans-serif;}'; styles += '@keyframes countdown { from { stroke-dashoffset: 0px; } to { stroke-dashoffset: 285%; }}'; styles += '#al_skipButton {-webkit-box-sizing:initial; box-sizing:initial; position:fixed; z-index:999970; display:none; justify-content: center; align-items: center; pointer-events: auto;}'; styles += '#al_skipSvg {width: 100%; height: 100%;}'; styles += '.al_skipLine { stroke: #FFF; stroke-width: 7%; stroke-linecap: round; fill: none;}'; var css = document.createElement('style'); css.type = 'text/css'; if(css.styleSheet) css.styleSheet.cssText = styles; else css.appendChild(document.createTextNode(styles)); var countdownDiv = document.createElement("div"); countdownDiv.id = 'al_countdownDiv'; countdownDiv.innerHTML = "<svg id='al_countdownSvg' viewBox='0 0 100 100'> <circle r='40' cx='50' cy='50' style='fill:#0002'/> <path id='al_countdownWhiteRing' d='M 50 10 A 40 40 0 1 1 49 10'/> </svg> <span id='al_countdownNumber'></span>"; var skipButtonDiv = document.createElement("div"); skipButtonDiv.id = 'al_skipButton'; al_setButtonSizeAndPosition(skipButtonDiv, parseInt("25"), parseInt("")); skipButtonDiv.innerHTML = "<svg id='al_skipSvg' viewBox='0 0 100 100'> <circle r='50%' cx='50%' cy='50%' style='fill:#0003'/> <polyline class='al_skipLine' points='30,30 50,50 30,70'/> <polyline class='al_skipLine' points='55,30 75,50 55,70'/> </svg>"; skipButtonDiv.ontouchstart = al_showEndCard; skipButtonDiv.onmousedown = al_showEndCard; var drawCountdownArc = function(countdownArc, countdownValue) { var angle = (countdownValue / totalCountdownSec) * Math.PI * 2; var endx = 50 + Math.sin(angle) * 40; var endy = 50 - Math.cos(angle) * 40; var isLargeArc = angle > Math.PI ? 1 : 0; var path = 'M 50 10 A 40 40 0 ' + isLargeArc + ' 1 ' + endx + ' ' + endy; countdownArc.setAttribute("d", path); }; var attachInterval; var attachUiElements = function() { clearInterval(attachInterval); document.getElementsByTagName("head")[0].appendChild(css); document.body.appendChild(countdownDiv); document.body.appendChild(skipButtonDiv); var countdownNumber = document.getElementById("al_countdownNumber"); countdownNumber.innerHTML = countdownValue.toString(); var countdownArc = document.getElementById("al_countdownWhiteRing"); var countdownInterval = setInterval(function() { countdownValue -= 1; countdownNumber.innerHTML = countdownValue.toString(); drawCountdownArc(countdownArc, countdownValue); }, 1000); setTimeout(function() { countdownDiv.style.display = "none"; skipButtonDiv.style.display = "flex"; window.al_close_button_state = "skip_showing"; clearInterval(countdownInterval); endcardSkipDisplayTime = Date.now(); }, totalCountdownSec * 1000); }; attachInterval = setInterval(function() { /* Make sure document.body is not null before attaching UI elements. */ if (document.body) { attachUiElements(); } }, 250); al_renderEndCard(false); return true; } function al_renderEndCard(showAfterRender) { var styles = '#al_endCardDiv {width:100%; height:100%; position:fixed; z-index:999980; display:none; justify-content: center; align-items: center; background:rgba(32,32,32,0.95); top: 0; left: 0; right: 0; bottom: 0; pointer-events: auto;}'; styles += '#al_endCardContent {width: 100%; display:flex; justify-content: center; align-items: center; flex-direction: column; row-gap: 32px; opacity: 0; transition: opacity 0.5s;}'; styles += '#al_appIcon {width:100px; height:100px; border-radius:20px}'; styles += '#al_appTitle {width: 80%; margin: 0; color: #FFF; font-size: 28px; font-family: Helvetica,Arial,sans-serif; text-align: center; font-weight: 600;}'; styles += '#al_ctaButton {width:100px; height:50px; border-radius:25px; background-color: rgba(23, 126, 253, 1); display:flex; justify-content: center; align-items: center;}'; styles += '#al_ctaText {color: #FFF; font-size: 24px; font-family: Helvetica,Arial,sans-serif; margin: 0; font-weight: 600;}'; styles += '#al_closeButton {-webkit-box-sizing:initial; box-sizing:initial; position:absolute; z-index:999990; display:none; justify-content: center; align-items: center;}'; styles += '#al_closeSvg {width: 100%; height: 100%;}'; styles += '.al_closeLine { stroke: #FFF; stroke-width: 7%; stroke-linecap: round; fill: none;}'; var css = document.createElement('style'); css.type = 'text/css'; if(css.styleSheet) css.styleSheet.cssText = styles; else css.appendChild(document.createTextNode(styles)); var endCardDiv = document.createElement("div"); endCardDiv.id = 'al_endCardDiv'; endCardDiv.innerHTML = "<div id='al_endCardContent'> <img id='al_appIcon' src='https://img.applovin.com/1645716861915_300x300.png'> <span id='al_appTitle'>Mr Autofire</span> <div id='al_ctaButton'><span id='al_ctaText'>GET</span></div> </div>"; endCardDiv.ontouchstart = al_clickAd; endCardDiv.onmousedown = al_clickAd; var closeButtonDiv = document.createElement("div"); closeButtonDiv.id = 'al_closeButton'; al_setButtonSizeAndPosition(closeButtonDiv, parseInt("25"), parseInt("")); closeButtonDiv.innerHTML = "<svg id='al_closeSvg'> <circle r='50%' cx='50%' cy='50%' style='fill:#0003'/> <line class='al_closeLine' x1='32%' y1='32%' x2='68%' y2='68%'/> <line class='al_closeLine' x1='32%' y1='68%' x2='68%' y2='32%'/> </svg>"; closeButtonDiv.ontouchstart = al_closeAd; closeButtonDiv.onmousedown = al_closeAd; endCardDiv.appendChild(closeButtonDiv); var attachInterval; var attachUiElements = function() { clearInterval(attachInterval); document.getElementsByTagName("head")[0].appendChild(css); document.body.appendChild(endCardDiv); /* We're forced to show faux ec immediately */ if (showAfterRender) { al_showEndCard(); renderAdInfoButton(); } }; attachInterval = setInterval(function() { /* Make sure document.body is not null before attaching UI elements. */ if (document.body) { attachUiElements(); } }, 250); } function al_showEndCard(event) { al_stopPropagation(event); if (skipButtonClicksAd) { window.mraid.open(); } else { window.mraid.startClickCooldown(); } endcardSkipTapTime = Date.now(); var skipButton = document.getElementById("al_skipButton"); if (skipButton) { skipButton.style.display = "none"; } var endCardDiv = document.getElementById("al_endCardDiv"); endCardDiv.style.display = "flex"; var al_setEndcardHeight = function() { var endCardDiv = document.getElementById("al_endCardDiv"); endCardDiv.style.height = window.innerHeight + "px"; }; window.addEventListener('resize', al_setEndcardHeight); al_setEndcardHeight(); setTimeout(function() { var endCardContent = document.getElementById("al_endCardContent"); endCardContent.style.opacity = 1; }, 250); /* If `event` is null, we're directly invoking this method and is showing faux ec directly */ var closeButtonDelayToUse = closeButtonDelay; if (event == null) { /* Add what would've been the skip delay */ closeButtonDelayToUse += totalCountdownSec; } if (closeButtonDelayToUse >= 0) { window.al_close_button_state = "close_pending"; setTimeout(function() { var closeButtonDiv = document.getElementById("al_closeButton"); closeButtonDiv.style.display = "flex"; window.al_close_button_state = "close_showing"; endcardCloseDisplayTime = Date.now(); }, closeButtonDelayToUse * 1000); } } var attachMraidSizeListeners = function() { window.addEventListener("resize", function() { applovinMraid.markResized(); }); document.addEventListener('orientationchange', function () { applovinMraid.markResized(); }); }; window.al_renderHtml = function (htmlJson) { setTimeout(function () { window.al_onPoststitialShow = function() { try { if ( typeof al_IH3dadr !== 'undefined' ) { al_IH3dadr(); } } catch ( e ) { console.log(e); } try { if ( typeof on_applovin_ad_visible !== 'undefined' ) { on_applovin_ad_visible(); } } catch ( e ) { console.log(e); } }; if ( window.al_onPoststitialShowInvoked ) { window.al_onPoststitialShow(); } applovinMraid.markReady(); attachMraidSizeListeners(); if (!al_maybeRenderEndcardCountdown()) { startCountdown(); } if (window.al_close_button_state === undefined) { var sdkCloseDelay = parseInt("30"); if (!isNaN(sdkCloseDelay) && sdkCloseDelay >= 0 && sdkCloseDelay < 100) { window.al_close_button_state = "sdk_close_pending"; setTimeout(function() { window.al_close_button_state = "sdk_close_showing"; }, sdkCloseDelay * 1000); } } document.addEventListener('visibilitychange', function () { if ( !document.hidden ) { applovinMraid.markReady(); } else { applovinMraid.markHidden(); } }); renderAdInfoButton(); }, 100); document.open(); document.write(htmlJson.html); document.close(); }; window.al_onPoststitialShowInvoked = false; window.al_onPoststitialShow = function() { window.al_onPoststitialShowInvoked = true; /* By the time video is done and this is called, check whether or not we want to show faux ec immediately */ if (showFauxEndcardImmediately) { al_renderEndCard(true); } }; var loadHostedHtml = function() { const scriptSrc = 'https://res1.applovin.com/o96a05bd/fb31ea27a21daa8d93a25b82d0dc43b3c8db8bdf_v1_js_load.js'; /* If playable file is not cached - show faux endcard immediately */ if (scriptSrc.startsWith("https://") && !IS_WEB_UI_PREVIEW) { showFauxEndcardImmediately = true; } else { var script = document.createElement('script'); script.type = 'text/javascript'; script.src = scriptSrc; document.head.appendChild(script); } }; var startCountdown = function() { try { var count = 30; var closeArea = document.createElement('div'); closeArea.style = 'position:fixed; bottom:0; left:0; width:53px; height:53px; z-index:99999; font-family: "Helvetica","Arial","sans-serif"; font-weight:bold; color:#fff;'; var closeBtn = document.createElement('div'); closeBtn.style = 'position: absolute;left: 9px;bottom:9px;display: block;border-radius: 13px;width: 26px;height: 26px;'; var closeX = document.createElement('span'); closeX.style = 'text-align:center;margin-top: 5px;display: block;width: 25px;height: 25px;'; closeX.innerText = '30'; closeArea.appendChild(closeBtn); document.body.appendChild(closeArea); var countdownDelayTimer = setInterval(function() { count--; if (count > 0) { try { console.log("Close count down at " + count); var text = document.createTextNode(count); var node = document.createElement('span'); node.style = 'text-align:center;margin-top: 5px;display: block;width: 25px;height: 25px;'; node.appendChild(text); closeBtn.innerHTML = ""; closeBtn.appendChild(node); } catch (err) { console.log(err); } } else { console.log("Hiding countdown"); closeBtn.innerHTML = ""; clearInterval(countdownDelayTimer); } }, 1000); } catch (e){ console.log("Countdown error"); } }; if (document.readyState === 'complete') { loadHostedHtml() } else { document.addEventListener('DOMContentLoaded', loadHostedHtml) } </script> </head> <body> <script> var stbaaa=true; </script> <script>setTimeout(function() {var img = new Image();img.src = 'https://s2s.adjust.com/impression/9al968p?campaign=MrAutofire_Applovin_Android_T1_CPE_W2R30%20(22f7e4ddd61e723351bba690f1c71004)&adgroup=55a81440bf0e9e427356539f8fc8a6d7&creative=3PRewardedPlayable_MrAutofire_Playable056_Death_Perks_noSelection&idfa=4577015d-ec96-40ce-a688-25e5594e6275&country=de&gps_adid=4577015d-ec96-40ce-a688-25e5594e6275&campaign_id=22f7e4ddd61e723351bba690f1c71004&device_type=phone&publisher_id=55a81440bf0e9e427356539f8fc8a6d7&tracker_limit=100000&applovin_click_id=10751a12dc9f166bd9&external_tracker_ids=1&android_id_lower_sha1=ccfdabb55efc2445881ee1cf7a66c9a96531bdb6&s2s=1'}, 100);</script><script>setTimeout(function() {var img = new Image();img.src = 'https://prod-bid.applovin.com/1.0/event/imp?auction_price_encrypted=381843.1648727300582!qJvy70FXctXMdBFvHRPzQ_0m6Y1UtT0_rU8Pt1Vb_rw*&clcode=4!v3!381843.1648727300!8hfG0EhnV_F5xhlP3m4cOMccPcaaizRXFJyVElWQoAj_ZhhdLPRUXSBhYGSHLLIB2HEQPgA5NXL12M1c03xlfVgv-5PaL0Fc6f48LepgbCvWgJFhxKLLxAS6VLchjFy4fcysdoo4B9n9HU0BtHYFamF3yooouy2QDWiLiBkPWRh8U3j3unhkTJc4LD_vZzzAwf2Sb94Pu51x6jkKt0WAlKFm3-MpbG4VWaCbHm_bnWCdxhGC2U07G_dVjbSAIibWBPD9k9BmUhhGWrggyVXo3_WcQT9SgB8wqtNxVfA_jR60XhhDav8wbaruZodqOb9Ha-BNd3VV6DKgWUy0bOjsPz2TqcyU048_xuRxY5AUWnmv607PJn6bocrwVpQVyM2SRloUMcDE35GMpK4k10zuWjwKM2b3Wa3otsms7WjYeA74Dir3_B1XCiDGbnJl-aQVOvXdSXxj-9bCnF6X6rBqfu8Z6TRo6xYTcAA8Ml3ILvFnrNZlHqkskONlrJs4qVvO7v5TPlEbjdVmjuhN8mLTshfqC5FiR5svtdX2DXrJNU5oKtt8prpo-2NSwU7BHAKySeEhelLTlgwOxGDBXA42sdBVnx_O3XfwXMb934TaupxEdkKczh-OJjBvH13nxiPM-0XWdgWlBNm0eurqXJvgORjruQz4rQiKwg9SxV5-hUBsKnCYuPRulgvxU7j0BT8hBNty-ULANIv6fASyb4WN8w628llk1Llz7HkvEivhoT8dCpJvUwn44nHkZ-6EoVBjEHQUVk-M48zgxDCu1uD0fyEQidZR0YVO-lo3BhAFczuzrFMH1HA9Y64EoREfGeswNeZB7dmBDakKHipspaZ6Z3kPwSRCq0sKjWKNp3p-vuFbiVSWEB5v3QlATNFilKQuYVLzL9QOTNUU61aSkaZXnRNjhlw2iCE9lPpRu9AgtjdSR-OVPcRyN9z5oAN7qQCJWodUkwvE3z8aTzBwK1p5PA**&eventid=d8a73b7a3e313f44536e583866eea4ded48ce633'}, 100);</script><script>setTimeout(function() {var img = new Image();img.src = 'https://prod-a.applovin.com/imp?clcode=4!v3!381843.1648727300!8hfG0EhnV_F5xhlP3m4cOMccPcaaizRXFJyVElWQoAj_ZhhdLPRUXSBhYGSHLLIB2HEQPgA5NXL12M1c03xlfVgv-5PaL0Fc6f48LepgbCvWgJFhxKLLxAS6VLchjFy4fcysdoo4B9n9HU0BtHYFamF3yooouy2QDWiLiBkPWRh8U3j3unhkTJc4LD_vZzzAwf2Sb94Pu51x6jkKt0WAlKFm3-MpbG4VWaCbHm_bnWCdxhGC2U07G_dVjbSAIibWBPD9k9BmUhhGWrggyVXo3_WcQT9SgB8wqtNxVfA_jR60XhhDav8wbaruZodqOb9Ha-BNd3VV6DKgWUy0bOjsPz2TqcyU048_xuRxY5AUWnmv607PJn6bocrwVpQVyM2SRloUMcDE35GMpK4k10zuWjwKM2b3Wa3otsms7WjYeA74Dir3_B1XCiDGbnJl-aQVOvXdSXxj-9bCnF6X6rBqfu8Z6TRo6xYTcAA8Ml3ILvFnrNZlHqkskONlrJs4qVvO7v5TPlEbjdVmjuhN8mLTshfqC5FiR5svtdX2DXrJNU5oKtt8prpo-2NSwU7BHAKySeEhelLTlgwOxGDBXA42sdBVnx_O3XfwXMb934TaupxEdkKczh-OJjBvH13nxiPM-0XWdgWlBNm0eurqXJvgORjruQz4rQiKwg9SxV5-hUBsKnCYuPRulgvxU7j0BT8hBNty-ULANIv6fASyb4WN8w628llk1Llz7HkvEivhoT8dCpJvUwn44nHkZ-6EoVBjEHQUVk-M48zgxDCu1uD0fyEQidZR0YVO-lo3BhAFczuzrFMH1HA9Y64EoREfGeswNeZB7dmBDakKHipspaZ6Z3kPwSRCq0sKjWKNp3p-vuFbiVSWEB5v3QlATNFilKQuYVLzL9QOTNUU61aSkaZXnRNjhlw2iCE9lPpRu9AgtjdSR-OVPcRyN9z5oAN7qQCJWodUkwvE3z8aTzBwK1p5PA**'}, 100);</script> </body> </html> <script type='text/javascript'>
|
|
var al_isInteractionCooldown = 0;
|
|
function al_reportAdInteraction(e) {
|
|
if ( al_isInteractionCooldown ) {
|
|
return;
|
|
} else {
|
|
al_isInteractionCooldown = 1;
|
|
}
|
|
setTimeout(function(){
|
|
al_isInteractionCooldown = 0;
|
|
}, 1000 );
|
|
|
|
x = e.pageX;
|
|
y = e.pageY;
|
|
w = window.innerWidth;
|
|
h = window.innerHeight;
|
|
h_percent = (x/w).toFixed(4);
|
|
v_percent = (y/h).toFixed(4);
|
|
|
|
window.al_last_clk_event = {
|
|
'x': x,
|
|
'y': y,
|
|
'w': w,
|
|
'h': h,
|
|
'h_percent': h_percent,
|
|
'w_percent': v_percent,
|
|
};
|
|
|
|
var trackingUrl = "https://prod-a.applovin.com/interact?clcode=4!v3!381843.1648727300!8hfG0EhnV_F5xhlP3m4cOMccPcaaizRXFJyVElWQoAj_ZhhdLPRUXSBhYGSHLLIB2HEQPgA5NXL12M1c03xlfVgv-5PaL0Fc6f48LepgbCvWgJFhxKLLxAS6VLchjFy4fcysdoo4B9n9HU0BtHYFamF3yooouy2QDWiLiBkPWRh8U3j3unhkTJc4LD_vZzzAwf2Sb94Pu51x6jkKt0WAlKFm3-MpbG4VWaCbHm_bnWCdxhGC2U07G_dVjbSAIibWBPD9k9BmUhhGWrggyVXo3_WcQT9SgB8wqtNxVfA_jR60XhhDav8wbaruZodqOb9Ha-BNd3VV6DKgWUy0bOjsPz2TqcyU048_xuRxY5AUWnmv607PJn6bocrwVpQVyM2SRloUMcDE35GMpK4k10zuWjwKM2b3Wa3otsms7WjYeA74Dir3_B1XCiDGbnJl-aQVOvXdSXxj-9bCnF6X6rBqfu8Z6TRo6xYTcAA8Ml3ILvFnrNZlHqkskONlrJs4qVvO7v5TPlEbjdVmjuhN8mLTshfqC5FiR5svtdX2DXrJNU5oKtt8prpo-2NSwU7BHAKySeEhelLTlgwOxGDBXA42sdBVnx_O3XfwXMb934TaupxEdkKczh-OJjBvH13nxiPM-0XWdgWlBNm0eurqXJvgORjruQz4rQiKwg9SxV5-hUBsKnCYuPRulgvxU7j0BT8hBNty-ULANIv6fASyb4WN8w628llk1Llz7HkvEivhoT8dCpJvUwn44nHkZ-6EoVBjEHQUVk-M48zgxDCu1uD0fyEQidZR0YVO-lo3BhAFczuzrFMH1HA9Y64EoREfGeswNeZB7dmBDakKHipspaZ6Z3kPwSRCq0sKjWKNp3p-vuFbiVSWEB5v3QlATNFilKQuYVLzL9QOTNUU61aSkaZXnRNjhlw2iCE9lPpRu9AgtjdSR-OVPcRyN9z5oAN7qQCJWodUkwvE3z8aTzBwK1p5PA**" + "&h_p=" + h_percent + "&v_p=" + v_percent + "&x_s=" + (window.al_close_button_state || 'unknown');
|
|
var trackingFrame = document.createElement('iframe');
|
|
trackingFrame.style.display = 'none';
|
|
trackingFrame.src = trackingUrl;
|
|
document.body.appendChild(trackingFrame);
|
|
}
|
|
function al_attachInteractionListeners() {
|
|
document.addEventListener('pointerdown', al_reportAdInteraction, true);
|
|
document.addEventListener('touchstart', al_reportAdInteraction, true);
|
|
document.addEventListener('mousedown', al_reportAdInteraction, true);
|
|
}
|
|
setTimeout(al_attachInteractionListeners, 100);
|
|
setTimeout(al_attachInteractionListeners, 1000);
|
|
setTimeout(al_attachInteractionListeners, 5000);
|
|
</script> |