window.googletag = window.googletag || {cmd: []}; var priceRules = {"plusmob.com_Web_Content_1":{"DE-RelacionamentoBTN-FB":180,"BR-RelacionamentoBTN-FB":25,"BREU-RelacionamentoBTN-FB":85,"FREU-RelacionamentoBTN-FB":150,"NL-RelacionamentoBTN-FB":120,"ENRU-RelacionamentoBTN-FB":200,"RU-RelacionamentoBTN-FB":50,"CS-RelacionamentoBTN-FB":200,"IT-RelacionamentoBTN2-FB":80,"NL-RelacionamentoBTN2-FB":140,"ENAU-RelacionamentoBTN2-FB":160,"BR-RelacionamentoBTN2-FB":20,"ARM-filmeseriesBTN-FB":8,"ENCA-filmeseriesBTN-FB":75,"TRM-filmeseriesBTN-FB":35,"ESARG-filmeseriesBTN-FB":15,"FRCN-filmeseriesBTN-FB":120,"HIOM-filmeseriesBTN-FB":60,"ENNZ-filmeseriesBTN-FB":150,"AREU-filmeseriesBTN-FB":170,"ARKU-filmeseriesBTN-FB":80,"AROM-filmeseriesBTN-FB":60,"ZHHK-filmeseriesBTN-FB":70,"ESCB-filmeseriesBTN-FB":10,"ESCH-filmeseriesBTN-FB":20,"ESEU-filmeseriesBTN-FB":65,"ENOM-filmeseriesBTN-FB":75,"ENRU-filmeseriesBTN-FB":150,"ENAF-filmeseriesBTN-FB":35,"RO-filmeseriesBTN-FB":70,"RU-filmeseriesBTN-FB":30,"AREU-FutebolBTN-FB":120,"BREU-FutebolBTN-FB":45,"ESCB-FutebolBTN-FB":50,"FRMD-FutebolBTN-FB":25,"ARM-FutebolBTN-FB":20,"ARM-RelacionamentoBTN3-FB":15,"AROM-RelacionamentoBTN3-FB":75,"DE-RelacionamentoBTN3-FB":200,"BR-RelacionamentoBTN3-FB":25,"ESM-RelacionamentoBTN3-FB":60,"ESARG-RelacionamentoBTN3-FB":25,"ESCB-RelacionamentoBTN3-FB":20,"ESCH-RelacionamentoBTN3-FB":150,"ESEU-RelacionamentoBTN3-FB":160,"FRCN-RelacionamentoBTN3-FB":225,"FREU-RelacionamentoBTN3-FB":170,"ENAU-RelacionamentoBTN3-FB":275,"ENCA-RelacionamentoBTN3-FB":140,"ENRU-RelacionamentoBTN3-FB":190,"SRO-RelacionamentoBTN3-FB":275,"RU-RelacionamentoBTN3-FB":225,"LT-RelacionamentoBTN-FB":120,"ARKU-RelacionamentoBTN3-FB":70,"ESMX-RelacionamentoBTN3-FB":40,"ENOM-RelacionamentoBTN3-FB":55,"AREU-GravidezBTN-FB":375,"ARKU-GravidezBTN-FB":200,"ESM-GravidezBTN-FB":70,"ESCH-GravidezBTN-FB":75,"FREU-GravidezBTN-FB":150,"ENAU-GravidezBTN-FB":425,"ENRU-GravidezBTN-FB":425,"ENAF-GravidezBTN-FB":85,"RUEU-GravidezBTN-FB":120,"RU-GravidezBTN-FB":35,"ARM-GravidezBTN-FB":20,"ARIS-GravidezBTN-FB":160,"ESARG-GravidezBTN-FB":50,"ESCB-GravidezBTN-FB":50,"ESMX-GravidezBTN-FB":45,"FRMD-GravidezBTN-FB":35,"EL-GravidezBTN-FB":70,"ENOM-GravidezBTN-FB":250,"RO-GravidezBTN-FB":120,"TRM-GravidezBTN-FB":60,"SV-RelacionamentoBTN-FB":80},"plusmob.com_Top_Anchor":{"DE-RelacionamentoBTN-FB":130,"BR-RelacionamentoBTN-FB":35,"BREU-RelacionamentoBTN-FB":120,"BG-RelacionamentoBTN-FB":1,"FREU-RelacionamentoBTN-FB":100,"NL-RelacionamentoBTN-FB":100,"ENRU-RelacionamentoBTN-FB":100,"RU-RelacionamentoBTN-FB":45,"CS-RelacionamentoBTN-FB":100,"IT-RelacionamentoBTN2-FB":100,"NL-RelacionamentoBTN2-FB":140,"ENAU-RelacionamentoBTN2-FB":200,"BR-RelacionamentoBTN2-FB":35,"ARM-filmeseriesBTN-FB":5,"ENCA-filmeseriesBTN-FB":70,"TRM-filmeseriesBTN-FB":15,"ESARG-filmeseriesBTN-FB":8,"FRCN-filmeseriesBTN-FB":100,"HIOM-filmeseriesBTN-FB":75,"ENNZ-filmeseriesBTN-FB":150,"AREU-filmeseriesBTN-FB":60,"ARKU-filmeseriesBTN-FB":60,"AROM-filmeseriesBTN-FB":35,"ZHHK-filmeseriesBTN-FB":75,"ESCB-filmeseriesBTN-FB":10,"ESCH-filmeseriesBTN-FB":20,"ESEU-filmeseriesBTN-FB":20,"ENOM-filmeseriesBTN-FB":50,"ENRU-filmeseriesBTN-FB":100,"ENAF-filmeseriesBTN-FB":20,"RO-filmeseriesBTN-FB":60,"RU-filmeseriesBTN-FB":20,"AREU-FutebolBTN-FB":170,"BREU-FutebolBTN-FB":100,"ESCB-FutebolBTN-FB":45,"FRMD-FutebolBTN-FB":40,"ARM-FutebolBTN-FB":15,"ARM-RelacionamentoBTN3-FB":10,"AROM-RelacionamentoBTN3-FB":60,"DE-RelacionamentoBTN3-FB":120,"BR-RelacionamentoBTN3-FB":35,"ESM-RelacionamentoBTN3-FB":35,"ESARG-RelacionamentoBTN3-FB":20,"ESCB-RelacionamentoBTN3-FB":30,"ESCH-RelacionamentoBTN3-FB":75,"ESEU-RelacionamentoBTN3-FB":75,"FRCN-RelacionamentoBTN3-FB":90,"FREU-RelacionamentoBTN3-FB":120,"ENAU-RelacionamentoBTN3-FB":140,"ENCA-RelacionamentoBTN3-FB":70,"ENRU-RelacionamentoBTN3-FB":95,"SRO-RelacionamentoBTN3-FB":275,"RU-RelacionamentoBTN3-FB":70,"LT-RelacionamentoBTN-FB":140,"ARKU-RelacionamentoBTN3-FB":50,"ESMX-RelacionamentoBTN3-FB":40,"ENOM-RelacionamentoBTN3-FB":90,"AREU-GravidezBTN-FB":120,"ARKU-GravidezBTN-FB":40,"BN-GravidezBTN-FB":10,"ESM-GravidezBTN-FB":10,"ESCH-GravidezBTN-FB":20,"FREU-GravidezBTN-FB":55,"ENAU-GravidezBTN-FB":100,"ENRU-GravidezBTN-FB":95,"ENAF-GravidezBTN-FB":45,"RUEU-GravidezBTN-FB":35,"RU-GravidezBTN-FB":10,"ARM-GravidezBTN-FB":10,"ARIS-GravidezBTN-FB":20,"AROM-GravidezBTN-FB":85,"ESARG-GravidezBTN-FB":15,"ESCB-GravidezBTN-FB":20,"ESMX-GravidezBTN-FB":20,"FRMD-GravidezBTN-FB":25,"EL-GravidezBTN-FB":10,"ENOM-GravidezBTN-FB":75,"RO-GravidezBTN-FB":60,"TRM-GravidezBTN-FB":20,"SV-RelacionamentoBTN-FB":95},"plusmob.com_m_Fixed":{"DE-RelacionamentoBTN-FB":50,"BR-RelacionamentoBTN-FB":8,"BREU-RelacionamentoBTN-FB":45,"FREU-RelacionamentoBTN-FB":35,"NL-RelacionamentoBTN-FB":45,"ENRU-RelacionamentoBTN-FB":35,"RU-RelacionamentoBTN-FB":15,"CS-RelacionamentoBTN-FB":35,"IT-RelacionamentoBTN2-FB":30,"NL-RelacionamentoBTN2-FB":65,"ENAU-RelacionamentoBTN2-FB":35,"BR-RelacionamentoBTN2-FB":8,"ARM-filmeseriesBTN-FB":1,"ENCA-filmeseriesBTN-FB":15,"TRM-filmeseriesBTN-FB":9,"ESARG-filmeseriesBTN-FB":2,"FRCN-filmeseriesBTN-FB":45,"HIOM-filmeseriesBTN-FB":15,"ENNZ-filmeseriesBTN-FB":60,"AREU-filmeseriesBTN-FB":30,"ARKU-filmeseriesBTN-FB":10,"AROM-filmeseriesBTN-FB":10,"ZHHK-filmeseriesBTN-FB":30,"ESCB-filmeseriesBTN-FB":3,"ESCH-filmeseriesBTN-FB":8,"ESEU-filmeseriesBTN-FB":15,"ENOM-filmeseriesBTN-FB":15,"ENRU-filmeseriesBTN-FB":40,"ENAF-filmeseriesBTN-FB":10,"RO-filmeseriesBTN-FB":35,"RU-filmeseriesBTN-FB":10,"AREU-FutebolBTN-FB":55,"BREU-FutebolBTN-FB":35,"ESCB-FutebolBTN-FB":30,"FRMD-FutebolBTN-FB":15,"ARM-FutebolBTN-FB":7,"ARM-RelacionamentoBTN3-FB":2,"AROM-RelacionamentoBTN3-FB":10,"DE-RelacionamentoBTN3-FB":65,"BR-RelacionamentoBTN3-FB":8,"ESM-RelacionamentoBTN3-FB":10,"ESARG-RelacionamentoBTN3-FB":8,"ESCB-RelacionamentoBTN3-FB":7,"ESCH-RelacionamentoBTN3-FB":35,"ESEU-RelacionamentoBTN3-FB":35,"FRCN-RelacionamentoBTN3-FB":45,"FREU-RelacionamentoBTN3-FB":40,"ENAU-RelacionamentoBTN3-FB":55,"ENCA-RelacionamentoBTN3-FB":20,"ENRU-RelacionamentoBTN3-FB":30,"SRO-RelacionamentoBTN3-FB":65,"RU-RelacionamentoBTN3-FB":40,"LT-RelacionamentoBTN-FB":60,"ARKU-RelacionamentoBTN3-FB":8,"ESMX-RelacionamentoBTN3-FB":9,"ENOM-RelacionamentoBTN3-FB":10,"AREU-GravidezBTN-FB":45,"ARKU-GravidezBTN-FB":15,"ESM-GravidezBTN-FB":10,"ESCH-GravidezBTN-FB":15,"FREU-GravidezBTN-FB":25,"ENAU-GravidezBTN-FB":40,"ENRU-GravidezBTN-FB":45,"ENAF-GravidezBTN-FB":20,"RUEU-GravidezBTN-FB":15,"RU-GravidezBTN-FB":5,"ARM-GravidezBTN-FB":5,"ARIS-GravidezBTN-FB":20,"AROM-GravidezBTN-FB":9,"ESARG-GravidezBTN-FB":9,"ESCB-GravidezBTN-FB":10,"ESMX-GravidezBTN-FB":10,"FRMD-GravidezBTN-FB":10,"EL-GravidezBTN-FB":15,"ENOM-GravidezBTN-FB":60,"RO-GravidezBTN-FB":20,"TRM-GravidezBTN-FB":10,"SV-RelacionamentoBTN-FB":30}}; var urlParams = new URLSearchParams(window.location.search); var src = urlParams.get('src'); function listenAdClicks() { let isAdsArea = false; let ad_link = ''; function detectAdsArea(e) { const iframe = e.target.closest('iframe'); if (iframe) { isAdsArea = true; ad_link = iframe.getAttribute('src'); } else { isAdsArea = false; ad_link = ''; } } document.addEventListener('mouseover', detectAdsArea); document.addEventListener('touchmove', detectAdsArea, { passive: true }); window.addEventListener('blur', function () { if(isAdsArea) { fbq('track', 'ViewContent'); } }); } googletag.cmd.push(function() { googletag.pubads().addEventListener('slotVisibilityChanged', function(event) { const visibility = event.inViewPercentage; if (visibility > 0) { listenAdClicks(); } }); }); googletag.cmd.push(function() { googletag.pubads().addEventListener('slotVisibilityChanged', function(event) { const slotPath = event.slot.getAdUnitPath(); const visibility = event.inViewPercentage; if (slotPath.includes('interstitial') && visibility >= 1) { fbq('track', 'ViewContent'); } }); }); function startContent1Script() { try { var priceRule = 4; if (priceRules['plusmob.com_Web_Content_1']) { if (priceRules['plusmob.com_Web_Content_1'][src]) { priceRule = priceRules['plusmob.com_Web_Content_1'][src]; } } let adSlot; let hasTriedRebid = false; googletag.cmd.push(function() { adSlot = googletag.defineSlot('/22013536576/plusmob.com/plusmob.com_web_content_1', [[336, 280], [300, 250], [250, 250], 'fluid'], 'div-gpt-ad-1715818371803-0'); adSlot.setTargeting("floor_price", [`r_${priceRule}`]); adSlot.addService(googletag.pubads()); googletag.pubads().addEventListener('slotRenderEnded', function(event) { if (event.slot.getSlotElementId() === 'div-gpt-ad-1715818371803-0') { if (event.isEmpty && !hasTriedRebid) { hasTriedRebid = true; googletag.destroySlots([adSlot]); setTimeout(() => { adSlot = googletag.defineSlot('/22013536576/plusmob.com/plusmob.com_web_content_1_rebid', [[336, 280], [300, 250], [250, 250], 'fluid'], 'div-gpt-ad-1715818371803-0').addService(googletag.pubads()); googletag.display('div-gpt-ad-1715818371803-0'); googletag.pubads().refresh([adSlot]); }, 150); } } }); googletag.enableServices(); googletag.display('div-gpt-ad-1715818371803-0'); }); } catch (error) { console.error('Error in startContent1Script:', error); } } startContent1Script(); function startTopAnchorScript() { try { var priceRule = 4; if (priceRules['plusmob.com_Top_Anchor']) { if (priceRules['plusmob.com_Top_Anchor'][src]) { priceRule = priceRules['plusmob.com_Top_Anchor'][src]; } } let anchorSlot; let hasTriedRebid = false; googletag.cmd.push(function() { anchorSlot = googletag.defineOutOfPageSlot('/22013536576/plusmob.com/plusmob.com_top_anchor', googletag.enums.OutOfPageFormat.TOP_ANCHOR); anchorSlot.setTargeting("floor_price", [`r_${priceRule}`]); anchorSlot.addService(googletag.pubads()); googletag.pubads().addEventListener('slotRenderEnded', function(event) { if (event.slot.getSlotElementId() === anchorSlot.getSlotElementId()) { if (event.isEmpty && !hasTriedRebid) { hasTriedRebid = true; googletag.destroySlots([anchorSlot]); setTimeout(() => { anchorSlot = googletag.defineOutOfPageSlot('/22013536576/plusmob.com/plusmob.com_top_anchor_rebid', googletag.enums.OutOfPageFormat.TOP_ANCHOR).addService(googletag.pubads()); googletag.display(anchorSlot.getSlotElementId()); googletag.pubads().refresh([anchorSlot]); }, 150); } } }); googletag.enableServices(); googletag.display(anchorSlot.getSlotElementId()); }); } catch (error) { console.error('Error in startTopAnchorScript:', error); } } startTopAnchorScript(); function startMFixedScript() { try { var priceRule = 4; if (priceRules['plusmob.com_m_Fixed']) { if (priceRules['plusmob.com_m_Fixed'][src]) { priceRule = priceRules['plusmob.com_m_Fixed'][src]; } } let mfixedSlot; let hasTriedRebid = false; googletag.cmd.push(function() { mfixedSlot = googletag.defineSlot('/22013536576/plusmob.com/plusmob.com_m_fixed', [[300, 50], [320, 50]], 'div-gpt-ad-1686178920381-0'); mfixedSlot.setTargeting("floor_price", [`r_${priceRule}`]); mfixedSlot.addService(googletag.pubads()); googletag.pubads().addEventListener('slotRenderEnded', function(event) { if (event.slot.getSlotElementId() === mfixedSlot.getSlotElementId()) { if (event.isEmpty && !hasTriedRebid) { hasTriedRebid = true; googletag.destroySlots([mfixedSlot]); setTimeout(() => { mfixedSlot = googletag.defineSlot('/22013536576/plusmob.com/plusmob.com_m_fixed_rebid', [[300, 50], [320, 50]], 'div-gpt-ad-1686178920381-0').addService(googletag.pubads()); googletag.display(mfixedSlot.getSlotElementId()); googletag.pubads().refresh([mfixedSlot]); }, 150); } } }); googletag.enableServices(); googletag.display(mfixedSlot.getSlotElementId()); }); } catch (error) { console.error('Error in startMFixedScript:', error); } } setTimeout(startMFixedScript, 150);