(function(w, d) {
  try {
    d = w.top.document || d; w = w.top.document ? w.top : w;
  } catch (e) {}
  var ttag = function() {
    d.querySelector(".tead-inread-placeholder").setAttribute("style", "display: block !important; min-height: 326px !important; height: auto !important;");
d.querySelector(".tead-inread-placeholder").id = "teads-slot-1";
    var tt_slots = d.querySelectorAll(".content_body_wrapper > p");
function tt_slotCreate(a, b) {
    if (tt_slots.length > a) {
        var tt_slot = d.createElement("div");
        tt_slot.id = b;
        tt_slot.className = "tead-inread-placeholder";
        tt_slot.setAttribute("style", "display: block !important; min-height: 326px !important; height: auto !important;");
        console.log("tt_slot");
        tt_slots[a - 1].nextElementSibling.parentNode.insertBefore(tt_slot, tt_slots[a - 1].nextElementSibling);
    }
}
tt_slotCreate(4, "teads-slot-2");
    tt_slotCreate(7, "teads-slot-3");
    w.teads.page(150758).placement(164959, {slider: {allow_corner_position: false, allow_top_position: false}, "css":"padding: 10px 0; margin: 0px auto; max-width: 550px;","callbacks":{"adAvailable":function () {console.log('Teads - Ad');
w.Hubvisor('teads:on-inread-ad');}},"format":"inread","slot":{"insertInside":true,"btf":false,"selector":"#teads-slot-1","minimum":1}}).passback(function passback() {w.Hubvisor('teads:on-inread-no-ad');
console.log("PB HBV");}).serve();
    w.teads.page(150758).placement(164979, {slider: {allow_corner_position: false, allow_top_position: false}, "css":"padding: 10px 0; margin: 0px auto; max-width: 550px;","callbacks":{"adAvailable":function () {console.log('Teads - Ad - Slot2');
w.Hubvisor('teads:on-inread2-ad');}},"format":"inread","slot":{"insertInside":true,"btf":false,"filter":function filter(slot) {if(slots.length < 5){return false;}},"selector":"#teads-slot-2","minimum":1}}).passback(function passback() {console.log('Teads - No Ad - Slot2');
w.Hubvisor('teads:on-inread2-no-ad');}).serve();
    w.teads.page(150758).placement(255448, {slider: {allow_corner_position: false, allow_top_position: false}, "css":"padding: 10px 0; margin: 0px auto; max-width: 550px;","callbacks":{"adAvailable":function () {console.log('Teads - Ad - Slot3');
w.Hubvisor('teads:on-inread3-ad');}},"format":"inread","slot":{"insertInside":true,"btf":false,"selector":"#teads-slot-3","minimum":1}}).passback(function passback() {console.log('Teads - No Ad - Slot3');
w.Hubvisor('teads:on-inread3-no-ad');}).serve();
  };
  if (w.teads && w.teads.page) { ttag(); }
  else if (!w.teadsscript) {
    var s = document.createElement('script');
    s.src = 'https://static.teads.tv/static/master/media/format/v3/teads-format.min.js';
    s.async = true; s.onload = ttag; w.teadsscript = d.getElementsByTagName('head')[0].appendChild(s);
  } else {
    w.teadsscript.addEventListener('load', ttag);
  }
})(window, document);