(function(URL, TYPE, ISMOBILE, LANG, WLLOGO, LOGOBKG, HOMEPAGEURL, FREQUENCY, PHRASES, IS_PREVIEW, AUTOCLOSE, POSTITIAL_NAME, OLDPOSTITIAL, PREVIEW_TYPE, WRAPPER_MODIFIERS){ URL = URL || '#'; HOMEPAGEURL = HOMEPAGEURL || '#'; TYPE = TYPE || 'full'; WLLOGO = WLLOGO || false; LOGOBKG = LOGOBKG || false; FREQUENCY = FREQUENCY || 24*60*60*1000; PHRASES = PHRASES || { 'continue': 'Continue to %_site_%', 'close': 'Close ad' }; ISMOBILE = ISMOBILE || PREVIEW_TYPE === 'mobile' || PREVIEW_TYPE === 'tablet' || false; IS_PREVIEW = IS_PREVIEW || false; PREVIEW_TYPE = PREVIEW_TYPE || false; AUTOCLOSE = parseInt(AUTOCLOSE, 10) > 30 ? 30 : parseInt(AUTOCLOSE, 10) || 0; POSTITIAL_NAME = POSTITIAL_NAME || ''; OLDPOSTITIAL = true; var cn = 'bcpsttl_' + TYPE; var el; var frameEl; var wlLogoStyle = ''; var wlLogoImg = ''; var wlBkgStyle = ''; var userDevice = 'desktop'; var mobileInterval; var close_footer; var autocloseTimeout = 0; let mainClasses = 'bcpsttl_name_' + POSTITIAL_NAME; let timerLeftBlock = ''; let timerSecondsLeft; let animatedTimer = (TYPE === 'full' && !ISMOBILE); var popunderShow = false; var isEmbedChat = POSTITIAL_NAME === 'embed_chat'; let route = null; if (WLLOGO) { wlLogoImg = 'background-image: url(' + WLLOGO + ');'; } if (LOGOBKG) { wlBkgStyle = 'background-color: ' + LOGOBKG + ';'; } if (WLLOGO || LOGOBKG) { wlLogoStyle = 'style="' + wlLogoImg + ' ' + wlBkgStyle + '"' } if (ISMOBILE) { userDevice = 'mobile'; close_footer = (isEmbedChat ? '' : '') + '' + '' + '' + PHRASES['continue'].replace('%_site_%', location.hostname).replace('%s%', '>') + '' + '' + '' + ''; } else { close_footer = '' + '' + '' + PHRASES['continue'].replace('%_site_%', location.hostname).replace('%s%', '>') + '' + '' + '' + ''; } if (PREVIEW_TYPE) { mainClasses += ' bcpsttl_preview_type_' + PREVIEW_TYPE } if (!IS_PREVIEW) { document.addEventListener('DOMContentLoaded', init); } else { init(); } function init() { if (!IS_PREVIEW && getC(cn)) { return; } if (AUTOCLOSE > 0) { if (animatedTimer) { timerLeftBlock = '
' + '
' + '' + '' + '' + ''; } else { timerLeftBlock = '
'; } } var burgerMenu = ''; if (isEmbedChat && ISMOBILE) { WRAPPER_MODIFIERS += ' __bcpsttl_header_primary'; burgerMenu = ''; } el = document.createElement('div'); el.id = 'bcpsttl_main'; el.className = mainClasses; el.style.display = 'none'; var wrapper = isEmbedChat ? '
' + '
' + '
' : '
'; el.innerHTML = '' + wrapper + '' + '' + '' + timerLeftBlock + '' + '' + '' + PHRASES['close'] + '' + '' + '' + close_footer; document.body.appendChild(el); frameEl = document.getElementById('bcpsttl_iframe'); if (!IS_PREVIEW) { document.addEventListener('click', onClick, false); } else { show(); } window.addEventListener('message', onReceiveMessage); // css variable, for mobile chrome var vh = window.innerHeight * 0.01; document.body.style.setProperty('--vh', vh+'px'); window.addEventListener('resize', resizeHandler, false); } function onClick(e) { var link = isLink(e.target); if (!getC(cn) && link && !popunderShow) { e.preventDefault(); e.stopImmediatePropagation(); show(); popunderShow = true; var href = link.getAttribute('href'); if (href) { route = href; } } } function onContinueClick(e) { if (e) { e.preventDefault(); if (!IS_PREVIEW && !PREVIEW_TYPE) { // need for preview mobile version e.stopImmediatePropagation(); } } const closeBtn = document.getElementById(cn + '_close'); if (closeBtn) { closeBtn.click(e); } } function onCloseClick(e) { clearTimeout(timerSecondsLeft); clearTimeout(autocloseTimeout); if (!el) { return; } if (e) { e.preventDefault(); if (!IS_PREVIEW && !PREVIEW_TYPE) { // need for preview mobile version e.stopImmediatePropagation(); } } el.style.display = 'none'; if (route) { return window.location.assign(route); } detachHandlers(); if (animatedTimer) { const svgCircleInner = document.getElementsByClassName('svg_circle_inner')[0]; // svgCircleInner.classList not in IE if (Boolean(svgCircleInner) && svgCircleInner.classList) { svgCircleInner.classList.remove('svg_circle_active'); } } frameEl.contentWindow.postMessage({show: false}, '*'); } function attachHandlers() { document.getElementById(cn + '_continue').addEventListener('click', onContinueClick, false); document.getElementById(cn + '_close').addEventListener('click', onCloseClick, false); resizeHandler(); if (ISMOBILE) { mobileInterval = setInterval(function () { onResize(); }, 500); } document.addEventListener('touchmove', blockTouchMove, { passive: false }); } function detachHandlers() { document.getElementById(cn + '_continue').removeEventListener('click', onContinueClick, false); document.getElementById(cn + '_close').removeEventListener('click', onCloseClick, false); clearInterval(mobileInterval); document.removeEventListener('touchmove', blockTouchMove); popunderShow = false; route = null; } function blockTouchMove(e) { // IOS bg scroll fix e.preventDefault(); return false; } function resizeHandler() { onResize(); } function onResize() { var vh = window.innerHeight * 0.01; document.body.style.setProperty('--vh', vh+'px'); fitTextFontSize('.bcpsttl_footer_holder', document.getElementById('bcpsttl_main'), {recheckInterval: 1000}); var width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; var height = window.innerHeight|| document.documentElement.clientHeight|| document.body.clientHeight; var isLandscape = width > height; function gcd (a, b) { return (b == 0) ? a : gcd (b, a%b); } var divisor = gcd (width, height); var ratio = (width/divisor)/(height/divisor); var queryRatio = 1.333; // 4/3 if (ISMOBILE) { if (isEmbedChat) { setClass(isLandscape ? 'bcpsttl_mobile bcpsttl_land' : 'bcpsttl_mobile bcpsttl_port'); } else { setClass(isLandscape ? 'bcpsttl_land' : 'bcpsttl_port'); } } else { if (TYPE === 'full') { if (height <= 600 || width <= 800) { setClass(width <= 500 ? 'desktop_small __min' : 'desktop_small'); } else { setClass('empty'); } } else { if (isLandscape) { setClass(height <= 750 && ratio >= queryRatio ? 'bcpsttl_land' : 'empty'); } else { setClass(width <= 750 && ratio <= queryRatio ? 'bcpsttl_port' : 'empty'); } } } if (isEmbedChat) { var wrpPrototyp = document.getElementById('bcpsttl_wrp_prototype'); if (Boolean(wrpPrototyp) && Boolean(frameEl.contentWindow)) { var maxHeight = wrpPrototyp.offsetHeight; frameEl.contentWindow.postMessage({outerHeight: maxHeight}, '*'); document.getElementById('js-iframe-wrp').style.height = maxHeight + 'px'; } } } function setClass(className) { className = (className || '') + ' ' + userDevice; if (!frameEl || !frameEl.contentWindow) { return; } if (LANG === 'ar' || LANG === 'il') { className = className + ' ' + 'bcpsttl_rtl'; } el.className = className + ' ' + mainClasses; frameEl.contentWindow.postMessage({className: className}, '*'); } function show() { if (!el) { return; } if (!IS_PREVIEW) { setC(cn, 1, FREQUENCY); } el.style.display = ''; attachHandlers(); if (AUTOCLOSE > 0) { autocloseTimeout = window.setTimeout(onCloseClick, AUTOCLOSE * 1000); if (animatedTimer) { const svgCircleInner = document.getElementsByClassName('svg_circle_inner')[0]; //condition for ie, without svg animation if (svgCircleInner.classList) { svgCircleInner.classList.add('svg_circle_active'); } else { document.getElementById('svg_circle').style.display = "none"; document.getElementsByClassName('timer_simple_holder')[0].style.display = "inline-block"; } svgCircleInner.setAttribute('style', 'transition-duration:' + AUTOCLOSE + 's;'); } closeTimer(AUTOCLOSE+1); } } function isLink(el) { var p = null; if (!!el && el !== document.body) { try { p = el.tagName.toLowerCase() === 'a' && el.hasAttribute('href') ? el : isLink(el.parentNode); } catch (e) { } } return p; } function setC(n, v, t) { var e = new Date(); e.setTime(e.getTime() + t); document.cookie = n + '=' + v + '; path=/; expires=' + e.toGMTString(); } function getC(n) { var cs = ('' + document.cookie).split('; '); for (var i = 0; i < cs.length; i++) { var cookie = cs[i].split('='); if (cookie[0] === n) return cookie[1]; } return null; } function onReceiveMessage(e) { if (!e || !e.data) { return; } if (e.data.getClass) { onResize(); return; } var height = e.data.gridHeight; if (isEmbedChat && !ISMOBILE) { height = height || e.data.wrapperHeight; } var jsIframeWrp = document.getElementById('js-iframe-wrp'); if (isEmbedChat && height) { document.querySelector('.bcpsttl_wrp').style.height = (height + 15) + 'px'; } if (jsIframeWrp) { jsIframeWrp.style.height = height ? height + 1 + 'px' : ''; } } function isFit(el, options = {}) { const freeHeight = el.dataset['freeHeight']; return ((options && options.ignoreWidth) || el.scrollWidth <= el.offsetWidth) && (freeHeight || (options && options.ignoreHeight) || el.scrollHeight <= el.offsetHeight); } function fitTextFontSize (selector, parent, options) { const parentElement = parent || document.body; const priority = options && options.important ? 'important' : ''; function dichotomy (min, max, el) { if (max - min < 1) { el.style.setProperty('font-size', min + 'px', priority); return min; } else { const mid = (max + min) / 2; el.style.setProperty('font-size', mid + 'px', priority); if (isFit(el, options)) { return dichotomy(mid, max, el); } else { return dichotomy(min, mid, el); } } } function worker() { let commonMinFS = Infinity; const elements = typeof selector === 'string' ? parentElement.querySelectorAll(selector) : [selector]; Array.prototype.map.call(elements, (el) => { el.style.fontSize = ''; const fsize = parseInt(window.getComputedStyle(el)['font-size'], 10); commonMinFS = Math.min(commonMinFS, isFit(el, options) ? fsize : dichotomy(1, fsize, el)); }); if (options && options.syncSize) { Array.prototype.map.call(elements, (el) => { el.style.setProperty('font-size', commonMinFS + 'px', priority); }); } } if (options && options.recheckInterval) { const recheckTimer = setInterval(worker, 100); setTimeout(() => clearInterval(recheckTimer), options.recheckInterval); } worker(); } function closeTimer(defaultTimer) { const timersHolder = document.getElementsByClassName('js_timer'); const mainTimer = document.getElementById('js_main_timer'); let i = defaultTimer; let timerNum = document.createTextNode(i); if (mainTimer.childNodes.length) { mainTimer.replaceChild(timerNum, mainTimer.childNodes[0]); } else { mainTimer.appendChild(timerNum); } setTimeout(function run() { if (i <= 1) { timerNum.textContent = 1; return } i--; timerNum.textContent = i; for (n = 0; n < timersHolder.length; n++) { timersHolder[n].innerHTML = timerNum.textContent; } timerSecondsLeft = setTimeout(run, 1000); }, 0); } var outerStyles = "#bcpsttl_main { position: fixed; z-index: 9999999; top: 0; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.75); text-align: center; box-sizing: unset;}#bcpsttl_main:before { height: 100%; display: inline-block; vertical-align: middle; content: '';}#bcpsttl_main * { margin: 0; padding: 0; border: 0; background: none; font-size: 14px; line-height: 14px; outline: none; box-sizing: unset;}#bcpsttl_main *:before,#bcpsttl_main *:after { box-sizing: content-box;}#bcpsttl_main .bcpsttl_wrp { max-width: 74.063vw; max-height: 82vh; position: relative; width: calc(82vh * 1.6232); display: inline-block; white-space: normal; vertical-align: middle;}#bcpsttl_main .bcpsttl_wrp:before { content: ''; display: block; padding-top: 61.604%;}#bcpsttl_main .bcpsttl_iframe { width: 100%; height: 100%; position: absolute; top: 0; z-index: 2; left: 0;}#bcpsttl_main .bcpsttl_top_block { position: absolute; top: -6vh; right: -4vw; height: 30px;}#bcpsttl_main .bcpsttl_cls_holder { position: relative; display: inline-block; text-decoration: none; padding: 0 15px; height: 30px; min-width: 100px; box-sizing: border-box; background-color: rgba(255, 255, 255, 0.2); border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);}#bcpsttl_main .bcpsttl_footer { text-align: center; width: 100%; margin-top: 4.5vh; position: absolute; left: 0;}#bcpsttl_main .bcpsttl_footer_text { font-family: 'Open Sans', Arial, sans-serif; font-weight: 700; color: #fff; text-transform: uppercase; text-decoration: none;}#bcpsttl_main .bcpsttl_footer_text .bcpsttl_footer_text_inner { vertical-align: middle; font-size: 18px;}#bcpsttl_main .bcpsttl_footer_text .icon_arrow { background-image: url('https://i.bngpst.com/postitial/assets/images/outer_arrow.svg'); background-repeat: no-repeat; display: inline-block; height: 8px; width: 5px; vertical-align: middle; margin-left: 7px;}#bcpsttl_main .bcpsttl_cls_cross { background-image: url('https://i.bngpst.com/postitial/assets/images/outer_close.svg'); background-repeat: no-repeat; display: inline-block; height: 9px; width: 9px; margin-right: 5px; opacity: 0.63; position: relative;}#bcpsttl_main .bcpsttl_cls_txt { font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; font-weight: 700; color: #fff; line-height: 30px; opacity: 0.63;}#bcpsttl_main .bcpsttl_logo { position: absolute; background-image: url('https://i.bngpst.com/postitial/assets/images/outer_logo.svg'); background-repeat: no-repeat; background-position: center; background-color: #8d0028;}#bcpsttl_main #svg_circle { width: 26px; height: 30px; /* 4px for outer block*/ display: inline-block; vertical-align: top; margin: 0 13px;}#bcpsttl_main .svg_circle_text { fill: #cdcdcd; font-size: 12px; font-weight: 600; font-family: 'Open Sans', Arial, sans-serif;}#bcpsttl_main .svg_circle_inner { stroke-dasharray: 76; stroke-dashoffset: 0; transition-property: stroke-dashoffset; transition-timing-function: linear;}#bcpsttl_main .svg_circle_inner.svg_circle_active { stroke-dashoffset: 76;}#bcpsttl_main #js_main_timer { display: none;}#bcpsttl_main .timer_simple_holder { display: none; margin: 0 13px; vertical-align: top;}#bcpsttl_main .timer_simple { display: inline-block; vertical-align: top; margin: 0 5px; line-height: 30px; color: #cdcdcd; font-size: 12px; font-weight: 600; font-family: 'Open Sans', Arial, sans-serif;}#bcpsttl_main .timer_simple_icon { display: inline-block; width: 16px; height: 30px; vertical-align: top; background: no-repeat url('https://i.bngpst.com/postitial/assets/images/timer.svg') center center;}/*@media (max-width: 750px) and (max-aspect-ratio: 4/3)*/#bcpsttl_main.bcpsttl_port .bcpsttl_wrp.bcpsttl_light { width: 100%; max-width: calc(94vw - 3.12vw - 25px); /* 3.12vw padding area, 25 empty space*/ top: 3vh; max-height: 72vh; max-height: calc((var(--vh, 1vh) * 75) - 25px);}#bcpsttl_main.bcpsttl_port .bcpsttl_wrp.bcpsttl_light:before { padding-top: 113.412%;}#bcpsttl_main.bcpsttl_port .bcpsttl_wrp.bcpsttl_light:after { content: ''; position: absolute; top: -3.12vw; left: -3.12vw; width: 100%; height: 100%; padding: 3.12vw; background: rgba(141, 0, 40, 0.6); border: 1px solid #8d0028; opacity: 0.5; z-index: 1; border-radius: 6px;}#bcpsttl_main.bcpsttl_port .bcpsttl_light .bcpsttl_logo { border-radius: 8px; top: -16vh; top: calc(var(--vh, 1vh) * -16); left: -3.12vw; height: 9vh; height: calc(var(--vh, 1vh) * 9); width: 28vh; width: calc(var(--vh, 1vh) * 28); background-size: 20vh; background-size: calc(var(--vh, 1vh) * 20);}#bcpsttl_main.bcpsttl_port .bcpsttl_light .bcpsttl_top_block { top: -16vh; top: calc(var(--vh, 1vh) * -16); right: -3.12vw; height: 5.5vh; height: calc(var(--vh, 1vh) * 5.5);}#bcpsttl_main.bcpsttl_port .bcpsttl_light .bcps_timer_icon { height: 5.5vh; height: calc(var(--vh, 1vh) * 5.5);}#bcpsttl_main.bcpsttl_port .bcpsttl_light .bcps_timer { height: 5.5vh; height: calc(var(--vh, 1vh) * 5.5);}#bcpsttl_main.bcpsttl_port .bcpsttl_light .bcps_timer_num { line-height: 5.5vh; line-height: calc(var(--vh, 1vh) * 5.5);}#bcpsttl_main.bcpsttl_port .bcpsttl_light .bcpsttl_cls_holder { padding: 0; width: 5.5vh; width: calc(var(--vh, 1vh) * 5.5); height: 5.5vh; height: calc(var(--vh, 1vh) * 5.5); min-width: 0; border-radius: 8px; box-shadow: inset 0 0 0 2px rgba(201,19,70, 0.3); background-color: rgba(141, 0, 40, 0.4);}#bcpsttl_main.bcpsttl_port .bcpsttl_light .bcpsttl_cls_txt { display: none;}#bcpsttl_main.bcpsttl_port .bcpsttl_light .bcpsttl_cls_cross { width: 2vh; width: calc(var(--vh, 1vh) * 2); height: 2vh; height: calc(var(--vh, 1vh) * 2); opacity: 1; margin: 1.8vh; margin: calc(var(--vh, 1vh) * 1.8);}#bcpsttl_main.bcpsttl_port .bcpsttl_light .bcpsttl_footer,#bcpsttl_main.bcpsttl_port .bcpsttl_light + .bcpsttl_footer { display: none;}/*@media (max-height: 750px) and (min-aspect-ratio: 4/3) {*/#bcpsttl_main.bcpsttl_land .bcpsttl_light .bcpsttl_logo { display: none;}#bcpsttl_main.bcpsttl_land .bcpsttl_wrp.bcpsttl_light { height: auto; max-height: calc((var(--vh, 1vh) * 95.528) - 25px); width: calc(((var(--vh, 1vh) * 95.528) - 25px) * 1.777777); max-width: 95.36vw;}#bcpsttl_main.bcpsttl_land .bcpsttl_wrp.bcpsttl_light:before { padding-top: 56.25%;}#bcpsttl_main.bcpsttl_land .bcpsttl_wrp.bcpsttl_light:after { content: ''; position: absolute; top: -1.49925vw; left: -1.49925vw; width: 100%; height: 100%; padding: 1.49925vw; background: rgba(141, 0, 40, 0.6); border: 1px solid #8d0028; opacity: 0.5; z-index: 1; border-radius: 6px;}#bcpsttl_main.bcpsttl_land .bcpsttl_light .bcpsttl_top_block { height: 9.614vh; top: 30px; right: 30px; z-index: 3;}#bcpsttl_main.bcpsttl_land .bcpsttl_light .bcps_timer { padding: 0 5px; border-radius: 6px; background: rgba(0,0,0, 0.4);}#bcpsttl_main.bcpsttl_land .bcpsttl_light .bcps_timer_num { line-height: 9.614vh; font-size: 4vh;}#bcpsttl_main.bcpsttl_land .bcpsttl_light .bcps_timer_icon { width: 3vh; height: 9.614vh; background-size: 3vh;}#bcpsttl_main.bcpsttl_land .bcpsttl_light .bcps_timer { height: 9.614vh;}#bcpsttl_main.bcpsttl_land .bcpsttl_light .bcpsttl_cls_holder { padding: 0; width: 9.614vh; height: 9.614vh; min-width: 0; border-radius: 8px; box-shadow: inset 0 0 0 2px rgba(201,19,70, 0.3); background-color: rgba(141, 0, 40, 0.4); z-index: 3;}#bcpsttl_main.bcpsttl_land .bcpsttl_light .bcpsttl_cls_txt { display: none;}#bcpsttl_main.bcpsttl_land .bcpsttl_light .bcpsttl_cls_cross { width: 3.8vh; height: 3.8vh; margin: 3vh; opacity: 1;}#bcpsttl_main.bcpsttl_land .bcpsttl_light .bcpsttl_footer { display: none;}#bcpsttl_main .bcpsttl_wrp.bcpsttl_light { width: calc(66.667vh * 1.777777);}#bcpsttl_main .bcpsttl_wrp.bcpsttl_light:before { padding-top: 56.25%;}#bcpsttl_main .bcpsttl_wrp.bcpsttl_light:after { content: ''; position: absolute; top: -0.7vw; left: -0.7vw; width: 100%; height: 100%; padding: 0.7vw; background: rgba(141, 0, 40, 0.6); border: 1px solid #8d0028; opacity: 0.5; z-index: 1; border-radius: 6px;}#bcpsttl_main .bcpsttl_light .bcpsttl_footer { margin-top: 1.5vw;}#bcpsttl_main .bcpsttl_light .bcpsttl_top_block { top: calc(-40px - 1vw); right: calc(-40px - 1vw); height: 40px;}#bcpsttl_main .bcpsttl_light .bcpsttl_cls_holder { padding: 0; width: 40px; height: 40px; min-width: 0; border-radius: 8px; box-shadow: inset 0 0 0 2px rgba(201,19,70, 0.3); background-color: rgba(141, 0, 40, 0.4);}#bcpsttl_main .bcpsttl_light .bcpsttl_cls_txt { display: none;}#bcpsttl_main .bcpsttl_light .bcpsttl_cls_cross { width: 15px; height: 15px; opacity: 1; margin: 13px;}#bcpsttl_main .bcpsttl_light .bcps_timer_icon { display: inline-block; width: 16px; height: 40px; vertical-align: top; background: no-repeat url('https://i.bngpst.com/postitial/assets/images/timer.svg') center center;}#bcpsttl_main .bcpsttl_light .bcps_timer_num { display: inline-block; vertical-align: top; margin: 0 5px; font-weight: 600; line-height: 40px;}#bcpsttl_main .bcpsttl_light .bcps_timer { display: inline-block; vertical-align: top; margin-right: 10px; height: 30px; color: #b6b6b6; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;}#bcpsttl_main.desktop.desktop_small .bcpsttl_wrp { max-width: calc(100% - 74px); /* 45px each side */ max-height: calc(100% - 90px); /* 45px each side */ width: 100%; height: 100%;}#bcpsttl_main.desktop.desktop_small .bcpsttl_footer { bottom: -30px; margin-top: auto;}#bcpsttl_main.desktop.desktop_small .bcpsttl_top_block { top: -38px; right: 8px;}#bcpsttl_main.desktop.desktop_small .bcpsttl_logo { display: none;}#bcpsttl_main.desktop.desktop_small.__min .bcpsttl_wrp { max-width: 94vw; max-height: calc(100vh - 98px); /* 30px close btn + 48px top\bottom space + 20 bottom text*/}#bcpsttl_main.desktop.desktop_small.__min .bcpsttl_wrp:before { padding-top: 113.412%;}#bcpsttl_main.desktop.desktop_small.__min .bcpsttl_footer_holder { width: 90%; left: 5%; right: 5%; height: 20px; position: absolute;}#bcpsttl_main.desktop.desktop_small.__min .bcpsttl_full .bcpsttl_footer { bottom: -10px;}#bcpsttl_main.desktop.desktop_small.__min .bcpsttl_full .bcpsttl_footer .bcpsttl_footer_text_inner,#bcpsttl_main.desktop.desktop_small.__min .bcpsttl_full .bcpsttl_footer_text .icon_arrow { font-size: inherit; line-height: inherit;}#bcpsttl_main.mobile .bcpsttl_full .bcpsttl_top_block { top: 0; right: 0; height: initial;}#bcpsttl_main.mobile .bcpsttl_full .bcps_timer { position: relative; top: 2vh; top: calc((var(--vh, 1vh) * 2)); display: inline-block; height: 6vh; height: calc((var(--vh, 1vh) * 6)); padding: 0 10px; vertical-align: top; color: #b6b6b6; font-family: 'Open Sans', Arial, sans-serif; font-size: 2vh; font-size: calc((var(--vh, 1vh) * 2)); line-height: 6vh; line-height: calc((var(--vh, 1vh) * 6)); background-color: #66011d; border-radius: 6px;}#bcpsttl_main.mobile .bcpsttl_full .bcps_timer_icon { display: inline-block; width: 2.5vh; width: 2.5vh; height: 6vh; height: 6vh; vertical-align: top; background: no-repeat url('https://i.bngpst.com/postitial/assets/images/timer.svg') center center; background-size: contain;}#bcpsttl_main.mobile .bcpsttl_full .bcps_timer_num { display: inline-block; vertical-align: top; margin-right: 5px; margin-top: 0.3vh; margin-top: calc((var(--vh, 1vh) * 0.3)); font-size: 2.2vh; font-size: calc((var(--vh, 1vh) * 2.2)); line-height: 6vh; line-height: calc((var(--vh, 1vh) * 6)); font-weight: 600;}#bcpsttl_main.mobile .bcpsttl_full .bcpsttl_footer.__mobile { display: block;}#bcpsttl_main.mobile .bcpsttl_full.bcpsttl_wrp { position: absolute; top: 0; left: 0; overflow-y: scroll; -webkit-overflow-scrolling: touch; max-width: 100%; max-height: calc(100% - 10vh); max-height: calc(100% - var(--vh, 1vh) * 10); //min-height: 100%; /* Safari mobile scroll fix */ height: 100%; width: 100%;}#bcpsttl_main.mobile .bcpsttl_full .bcpsttl_iframe { height: inherit; margin-top: 10vh; margin-top: calc(var(--vh, 1vh) * 10);}#bcpsttl_main.mobile .bcpsttl_full + .bcpsttl_footer { position: fixed; z-index: 1000; box-sizing: border-box; height: 10vh; height: calc(var(--vh, 1vh) * 10); bottom: -1px; /* iPad fix */ margin-top: 0; padding: 5px 0;}#bcpsttl_main.mobile .bcpsttl_full .bcpsttl_footer .bcpsttl_footer_text_inner { font-size: 14px;}#bcpsttl_main.mobile .bcpsttl_full .bcpsttl_logo { width: 100%; height: 10vh; height: calc(var(--vh, 1vh) * 10); top: 0; left: 0; background-position: 5vw center; background-size: 25vh; background-size: calc(var(--vh, 1vh) * 25);}#bcpsttl_main.mobile .bcpsttl_full .bcpsttl_cls_holder { background: url('https://i.bngpst.com/postitial/assets/images/full_mobile_close2.svg') center center no-repeat; box-shadow: none; border-radius: 0; height: 10vh; height: calc(var(--vh, 1vh) * 10); width: 10vh; width: calc(var(--vh, 1vh) * 10); background-size: 4vh; background-size: calc(var(--vh, 1vh) * 4); padding: 0;}#bcpsttl_main.mobile .bcpsttl_full .bcpsttl_cls_txt,#bcpsttl_main.mobile .bcpsttl_full .bcpsttl_cls_cross { display: none;}#bcpsttl_main.mobile.bcpsttl_land .bcpsttl_full .bcps_timer { height: 8vh; height: calc((var(--vh, 1vh) * 8)); top: 1vh; top: calc((var(--vh, 1vh) * 1)); margin-right: 1vw;}#bcpsttl_main.mobile.bcpsttl_land .bcpsttl_full .bcps_timer_icon { width: 5vh; width: calc((var(--vh, 1vh) * 5)); height: 8vh; height: calc((var(--vh, 1vh) * 8)); background-size: contain;}#bcpsttl_main.mobile.bcpsttl_land .bcpsttl_full .bcps_timer_num { line-height: 8vh; line-height: calc((var(--vh, 1vh) * 8)); font-size: 4vh; font-size: calc((var(--vh, 1vh) * 4)); margin-top: 1px;}#bcpsttl_main.mobile .bcpsttl_footer.__mobile .bcpsttl_footer_holder { display: block; height: calc(100% - 10px); width: 90%; font-size: 30px; margin: 0 auto; position: absolute; left: 5%; right: 5%; line-height: calc(10vh - 10px); line-height: calc(var(--vh, 1vh) * 10 - 10px);}#bcpsttl_main.mobile .bcpsttl_footer.__mobile .bcpsttl_footer_text_inner { font-size: inherit; line-height: inherit;}#bcpsttl_main.mobile .bcpsttl_footer.__mobile .bcpsttl_footer_text .icon_arrow { background-position: left center; background-size: contain; max-width: 14px; height: 0.6em; width: 0.6em; font-size: inherit;}#bcpsttl_main.bcpsttl_rtl .bcpsttl_footer { direction: rtl;}#bcpsttl_main.bcpsttl_rtl .bcpsttl_footer_text .icon_arrow { margin-left: 0; margin-right: 7px; background-image: url('https://i.bngpst.com/postitial/assets/images/outer_arrow_ar.svg');}#bcpsttl_main.bcpsttl_rtl .bcpsttl_cls_holder { direction: rtl;}#bcpsttl_main.bcpsttl_rtl .bcpsttl_full .bcpsttl_cls_cross { margin-left: 5px; margin-right: 0;}/* iPad mobile footer size fix */@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) { #bcpsttl_main.mobile .bcpsttl_full.bcpsttl_wrp { max-height: calc(100% - 10vh); } #bcpsttl_main.mobile .bcpsttl_full + .bcpsttl_footer { height: 10vh; } #bcpsttl_main.mobile .bcpsttl_footer.__mobile .bcpsttl_footer_holder { line-height: calc(10vh - 10px); }}" var headStyle = document.createElement('style'); headStyle.setAttribute("type", "text/css"); headStyle.innerHTML = outerStyles; document.getElementsByTagName("head")[0].appendChild(headStyle); })( '//bngpst.com/promo.php?c=258727&type=postitial&p%5Bname%5D=standard&p%5Bnon_adult%5D=0&p%5Bfrequency%5D=43200&p%5Bautoclose%5D=10&p%5Bframe%5D=1', 'full', '', 'en', 'https://i.bngprm.com/wl/000/001/319/982a23dd8367be795ad99efcb17a36b0.jpg', '#0f0e0e', 'https://bongacams.com/track?c=258727&ps=postitial&csurl=https://nakedlivesex.com/', 43200 * 1000, { 'continue': 'Continue to %_site_%', 'close': 'Close ad' }, '', '10', 'standard', '1', '', '' );