[ad_1]
As polls start to shut and election night time jitters ramp up throughout the nation, our nationwide want for distraction has by no means felt extra pressing. Fortunately, whereas most information web sites are plastered with wall-to-wall election protection, a couple of very random and insane information tales have managed to sneak by way of. Beneath, we’ve compiled a brief record of as we speak’s wildest headlines which have completely nothing to do with the election however weirdly have loads do with whales.
1. The Whale Sculpture That Stopped a Practice
On Monday, an elevated Dutch practice shot past the end of its tracks and, as an alternative of crashing 30 ft to the bottom, was caught by a really huge sculpture of a whale’s tail. Aptly known as “Saved by the Whale’s Tail,” the sculpture was put in on the De Akkers station in Spijkenisse in 2002 and has apparently been mendacity in anticipate its second within the solar ever since. Some injury to the practice, and presumably the sculpture, was sustained however no accidents had been reported. The practice spent Monday night time on the whale’s tail, which sounds just like the opening line of a youngsters’s story e-book, and was scheduled to be lifted down by slings as we speak. “I’m amazed that it’s so robust,” the artist Maarten Struijs informed the The Guardian. “When plastic has stood for 20 years, you don’t count on it to carry up a metro practice.” If solely a whale tail had been there to save lots of the person who lived by way of each New Yorker’s nightmare final week and plunged into a rat-infested sinkhole.
2. Sausage Magnate Murdered by Crossbow in a Sauna
That grisly headline about sums it up. Vladimir Marugov, proprietor of a few of Russia’s largest meat-packing vegetation, was attacked in a sauna cabin at his countryside property early on Monday morning. According to the BBC, Marugov, who’s also called the “Sausage King,” was tied up alongside along with his accomplice by two “masked assailants” who then demanded money. The lady escaped by way of the window of the sauna however detectives discovered Marugov’s physique within the sauna with a crossbow subsequent to it.
It in some way manages to get stranger. When investigators searched a suspect’s residence, they discovered a person handcuffed to a bedpost. According to the Guardian, the person was apparently being “held captive and extorted to signal over his residence, indicating a wider felony ring behind the grisly homicide of the oligarch Vladimir Marugov.”
3. What are the Whales Planning?
Extra essential whale information: Two women were nearly swallowed by a humpback whale off the coast of Avila Seashore in San Luis Obispo. Opposite to what Disney and Herman Melville would have us consider, whales usually don’t try and eat folks, so I can solely assume that this whale was auditioning for a task in a whale-themed spinoff of Sharknado.
One of many ladies who was nearly consumed informed a neighborhood station, “I noticed the whale come up, [and] I believed, Oh no! It’s too shut,” which appears to me a little bit of an understatement. Then once more, I’ve by no means been assaulted by a whale. The encounter was captured on digicam by one of many ladies within the boat and at the least one bystander.
4. No Actually, What are the Whales Planning?
In Sri Lanka, 100 to 120 short-finned pilot whales had been stranded on Panadura Seashore, in what’s believed to be the nation’s largest ever whale beaching. According to NPR, a staff made up of Sri Lanka navy, coast guard, and native residents labored in a single day to save lots of the whales, though apparently there was no time to query the mammals on what precisely their plans are for world domination. Seeing as three of the wildest tales of the previous week concerned some number of whales, I can solely assume that they’ve merely had sufficient of humanity and determined to revolt. I want them luck.
5. Florida Man Harpoons Alligator
Ah Florida Man, the hero we deserve. Whereas this technically occurred a couple of days in the past, everyone knows time has been meaningless since March. In a Captain Hook revenge story for the ages, a man from Blountstown, Florida lastly dispatched the 1,100 pound alligator that he says has been stalking him for 2 months. “Three completely different occasions within the final two months, I’ve been again there fishing and he’s stalked me. … So me and him, one thing was going to provide between the 2 of us,” Corey Capps informed CNN. One thing did certainly give. After conscripting a pal who was legally allowed to kill alligators, Capps confronted his nemesis and gained. “We went out and harpooned him…and we didn’t understand—we knew he was huge, however not as huge as after we pulled him up that financial institution. Throughout the highest of his head was 16 inches broad,” he mentioned.
6. Uncanny Valley Meets Capitalism
According to an analysis cited by Bloomberg, the digital influencer Lil Miquela will rake in over $11 million for her creators. Lil Miquela, an avatar that her creators want to name a “digital character,” has achieved partnerships with the likes of Calvin Klein and Prada. She additionally quite unusually had a human boyfriend that she broke up with in March. I wish to be let off this trip instantly.
Readers such as you make our work doable. Assist us proceed to offer the reporting, commentary, and criticism you gained’t discover wherever else.
');
}
perform tryGetCriteoFastBid() {
attempt {
var fastBidStorageKey = "criteo_fast_bid",
hashPrefix = "// Hash: ",
fastBidFromStorage = storage.getDataFromLocalStorage(fastBidStorageKey),
firstLineEndPosition,
firstLine,
publisherTagHash,
publisherTag;
null !== fastBidFromStorage && (firstLineEndPosition = fastBidFromStorage.indexOf("n"), firstLine = fastBidFromStorage.substr(0, firstLineEndPosition).trim(), firstLine.substr(0, hashPrefix.size) !== hashPrefix ? (__WEBPACK_IMPORTED_MODULE_4__src_utils_js__.logWarn("No hash present in FastBid"), storage.removeDataFromLocalStorage(fastBidStorageKey)) : (publisherTagHash = firstLine.substr(hashPrefix.size), publisherTag = fastBidFromStorage.substr(firstLineEndPosition + 1), Object(__WEBPACK_IMPORTED_MODULE_6_criteo_direct_rsa_validate_build_verify_js__.confirm)(publisherTag, publisherTagHash, FAST_BID_PUBKEY_N, FAST_BID_PUBKEY_E) ? (__WEBPACK_IMPORTED_MODULE_4__src_utils_js__.logInfo("Utilizing Criteo FastBid"), eval(publisherTag)) : (__WEBPACK_IMPORTED_MODULE_4__src_utils_js__.logWarn("Invalid Criteo FastBid discovered"), storage.removeDataFromLocalStorage(fastBidStorageKey))));
} catch (t) {}
}
Object(__WEBPACK_IMPORTED_MODULE_1__src_adapters_bidderFactory_js__.registerBidder)(spec);
},
377: perform _(t, e, r) {
"use strict";
Object.defineProperty(e, "__esModule", {
worth: !0
});
var a = r(378),
n = r(379);
e.confirm = perform (t, e, r, i) {
var s = new a.BigInteger(a.b64toHex(e)),
o = new a.BigInteger(a.b64toHex(r)),
_ = s.modPowInt(i, o);
return a.removeExtraSymbols(_.toHexString()) === n.Sha256.hash(t);
};
},
378: perform _(t, e, r) {
"use strict";
var i;
Object.defineProperty(e, "__esModule", {
worth: !0
});
var s = (T.prototype.toHexString = perform () {
if (this.s < 0) return "-" + this.negate().toHexString();
var t,
e = !1,
r = "https://slate.com/",
i = this.t,
s = this.DB - i * this.DB % 4;
if (0 < i--) for (s < this.DB && 0 < (t = this[i] >> s) && (e = !0, r = c(t)); 0 <= i;) = this[--i] >> (s += this.DB - 4)) : (t = this[i] >> (s -= 4) & 15, s <= 0 && (s += this.DB, --i)), 0 < t && (e = !0), e && (r += c(t));
return e ? r : "0";
}, T.prototype.fromHexString = perform (t) {
if (null !== t) {
this.t = 0, this.s = 0;
for (var e = t.size, r = !1, i = 0; 0 <= --e;) = (s & (1 << this.DB - i) - 1) << i, this[this.t++] = s >> this.DB - i) : this[this.t - 1]
this.clamp(), r && T.ZERO.subTo(this, this);
}
}, T.prototype.negate = perform () {
var t = b();
return T.ZERO.subTo(this, t), t;
}, T.prototype.abs = perform () {
return this.s < 0 ? this.negate() : this;
}, T.prototype.mod = perform (t) {
var e = b();
return this.abs().divRemTo(t, null, e), this.s < 0 && 0 < e.compareTo(T.ZERO) && t.subTo(e, e), e;
}, T.prototype.copyTo = perform (t) {
for (var e = this.t - 1; 0 <= e; --e) {
t[e] = this[e];
}
t.t = this.t, t.s = this.s;
}, T.prototype.lShiftTo = perform (t, e) {
for (var r = t % this.DB, i = this.DB - r, s = (1 << i) - 1, o = Math.flooring(t / this.DB), _ = this.s << r & this.DM, a = this.t - 1; 0 <= a; --a) _, _ = (this[a] & s) << r;
for (a = o - 1; 0 <= a; --a) {
e[a] = 0;
}
e[o] = _, e.t = this.t + o + 1, e.s = this.s, e.clamp();
}, T.prototype.invDigit = perform () {
if (this.t < 1) return 0;
var t = this[0];
if (0 == (1 & t)) return 0;
var e = 3 & t;
return 0 < (e = (e = (e = (e = e * (2 - (15 & t) * e) & 15) * (2 - (255 & t) * e) & 255) * (2 - ((65535 & t) * e & 65535)) & 65535) * (2 - t * e % this.DV) % this.DV) ? this.DV - e : -e;
}, T.prototype.dlShiftTo = perform (t, e) {
for (var r = this.t - 1; 0 <= r; --r) {
e[r + t] = this[r];
}
for (r = t - 1; 0 <= r; --r) {
e[r] = 0;
}
e.t = this.t + t, e.s = this.s;
}, T.prototype.squareTo = perform (t) {
for (var e = this.abs(), r = t.t = 2 * e.t; 0 <= --r;) {
t[r] = 0;
}
for (r = 0; r < e.t - 1; ++r) {
var i = e.am(r, e[r], t, 2 * r, 0, 1);
(t[r + e.t] += e.am(r + 1, 2 * e[r], t, 2 * r + 1, i, e.t - r - 1)) >= e.DV && (t[r + e.t] -= e.DV, t[r + e.t + 1] = 1);
}
0 < t.t && (t[t.t - 1] += e.am(r, e[r], t, 2 * r, 0, 1)), t.s = 0, t.clamp();
}, T.prototype.multiplyTo = perform (t, e) {
var r = this.abs(),
i = t.abs(),
s = r.t;
for (e.t = s + i.t; 0 <= --s;) {
e[s] = 0;
}
for (s = 0; s < i.t; ++s) {
e[s + r.t] = r.am(0, i[s], e, s, 0, r.t);
}
e.s = 0, e.clamp(), this.s != t.s && T.ZERO.subTo(e, e);
}, T.prototype.divRemTo = perform (t, e, r) {
var i = t.abs();
if (!(i.t <= 0)) {
var s = this.abs();
if (s.t < i.t) return null != e && e.fromHexString("0"), void (null != r && this.copyTo(r));
null == r && (r = b());
var o = b(),
_ = this.s,
a = t.s,
n = this.DB - D(i[i.t - 1]);
0 < n ? (i.lShiftTo(n, o), s.lShiftTo(n, r)) : (i.copyTo(o), s.copyTo(r));
var p = o.t,
c = o[p - 1];
if (0 != c) {
var d = c * (1 << this.F1) + (1 < p ? o[p - 2] >> this.F2 : 0),
u = this.FV / d,
h = (1 << this.F1) / d,
l = 1 << this.F2,
f = r.t,
E = f - p,
v = null == e ? b() : e;
for (o.dlShiftTo(E, v), 0 <= r.compareTo(v) && (r[r.t++] = 1, r.subTo(v, r)), T.ONE.dlShiftTo(p, v), v.subTo(o, o); o.t < p;) {
o[o.t++] = 0;
}
for (; 0 <= --E;) {
var m = r[--f] == c ? this.DM : Math.flooring(r[f] * u + (r[f - 1] + l) * h);
if ((r[f] += o.am(0, m, r, E, 0, p)) < m) for (o.dlShiftTo(E, v), r.subTo(v, r); r[f] < --m;) {
r.subTo(v, r);
}
}
null != e && (r.drShiftTo(p, e), _ != a && T.ZERO.subTo(e, e)), r.t = p, r.clamp(), 0 < n && r.rShiftTo(n, r), _ < 0 && T.ZERO.subTo(r, r);
}
}
}, T.prototype.rShiftTo = function (t, e) {
e.s = this.s;
var r = Math.floor(t / this.DB);
if (r >= this.t) e.t = 0;else = (this.s & o) << s), e.t = this.t - r, e.clamp();
}, T.prototype.drShiftTo = perform (t, e) {
for (var r = t; r < this.t; ++r) {
e[r - t] = this[r];
}
e.t = Math.max(this.t - t, 0), e.s = this.s;
}, T.prototype.subTo = perform (t, e) {
for (var r = 0, i = 0, s = Math.min(t.t, this.t); r < s;) {
i += this[r] - t[r], e[r++] = i & this.DM, i >>= this.DB;
}
if (t.t < this.t) {
for (i -= t.s; r < this.t;) {
i += this[r], e[r++] = i & this.DM, i >>= this.DB;
}
i += this.s;
} else {
for (i += this.s; r < t.t;) {
i -= t[r], e[r++] = i & this.DM, i >>= this.DB;
}
i -= t.s;
}
e.s = i < 0 ? -1 : 0, i < -1 ? e[r++] = this.DV + i : 0 < i && (e[r++] = i), e.t = r, e.clamp();
}, T.prototype.clamp = perform () {
for (var t = this.s & this.DM; 0 < this.t && this[this.t - 1] == t;) {
--this.t;
}
}, T.prototype.modPowInt = perform (t, e) {
var r = new (t < 256 "https://slate.com/" e.isEven() ? d : h)(e);
return this.exp(t, r);
}, T.prototype.exp = perform (t, e) {
if (4294967295 < t "https://slate.com/" t < 1) return T.ONE;
var r,
i = b(),
s = b(),
o = e.convert(this),
_ = D(t) - 1;
for (o.copyTo(i); 0 <= --_;) {
e.sqrTo(i, s), 0 < (t & 1 << _) ? e.mulTo(s, o, i) : (r = i, i = s, s = r);
}
return e.revert(i);
}, T.prototype.isEven = perform () {
return 0 == (0 < this.t ? 1 & this[0] : this.s);
}, T.prototype.compareTo = perform (t) {
var e = this.s - t.s;
if (0 != e) return e;
var r = this.t;
if (0 != (e = r - t.t)) return this.s < 0 ? -e : e;
for (; 0 <= --r;) {
if (0 != (e = this[r] - t[r])) return e;
}
return 0;
}, T.prototype.am1 = perform (t, e, r, i, s, o) {
for (; 0 <= --o;) {
var _ = e * this[t++] + r[i] + s;
s = Math.floor(_ / 67108864), r[i++] = 67108863 & _;
}
return s;
}, T.prototype.am2 = function (t, e, r, i, s, o) {
for (var _ = 32767 & e, a = e >> 15; 0 <= --o;) {
var n = 32767 & this[t],
p = this[t++] >> 15,
c = a * n + p * _;
s = ((n = _ * n + ((32767 & c) << 15) + r[i] + (1073741823 & s)) >>> 30) + (c >>> 15) + a * p + (s >>> 30), r[i++] = 1073741823 & n;
}
return s;
}, T.prototype.am3 = perform (t, e, r, i, s, o) {
for (var _ = 16383 & e, a = e >> 14; 0 <= --o;) {
var n = 16383 & this[t],
p = this[t++] >> 14,
c = a * n + p * _;
s = ((n = _ * n + ((16383 & c) << 14) + r[i] + s) >> 28) + (c >> 14) + a * p, r[i++] = 268435455 & n;
}
return s;
}, T);
perform T(t) {
null !== t && this.fromHexString(t);
}
perform b() {
return new s(null);
}
perform D(t) {
var e,
r = 1;
return 0 != (e = t >>> 16) && (t = e, r += 16), 0 != (e = t >> 8) && (t = e, r += 8), 0 != (e = t >> 4) && (t = e, r += 4), 0 != (e = t >> 2) && (t = e, r += 2), 0 != (e = t >> 1) && (t = e, r += 1), r;
}
e.BigInteger = s, e.nbi = b, e.nbits = D;
for (var o = [], _ = "0".charCodeAt(0), a = 0; a <= 9; ++a) { o[_++] = a; } for (_ = "a".charCodeAt(0), a = 10; a < 36; ++a) { o[_++] = a; } for (_ = "A".charCodeAt(0), a = 10; a < 36; ++a) { o[_++] = a; } perform n(t, e) { var r = o[t.charCodeAt(e)]; return null == r ? -1 : r; } e.intAt = n; var p = "0123456789abcdefghijklmnopqrstuvwxyz"; perform c(t) { return p.charAt(t); } e.int2char = c; e.b64toHex = perform (t) { for (var e = "https://slate.com/", r = 0, i = 0, s = 0; s < t.size && "=" != t.charAt(s); ++s) o >> 4), e += c(15 & o), 0));
return 1 == r && (e += c(i << 2)), e;
}, e.removeExtraSymbols = perform (t) {
return t.substitute(/^1f+00/, "https://slate.com/").substitute("3031300d060960864801650304020105000420"https://slate.com/,"https://slate.com/");
};
var d = (u.prototype.convert = perform (t) {
return t.s < 0 "https://slate.com/" 0 <= t.compareTo(this.m) ? t.mod(this.m) : t;
}, u.prototype.revert = perform (t) {
return t;
}, u.prototype.cut back = perform (t) {
t.divRemTo(this.m, null, t);
}, u.prototype.mulTo = perform (t, e, r) {
t.multiplyTo(e, r), this.cut back(r);
}, u.prototype.sqrTo = perform (t, e) {
t.squareTo(e), this.cut back(e);
}, u);
perform u(t) {
this.m = t;
}
var h = (l.prototype.convert = perform (t) {
var e = b();
return t.abs().dlShiftTo(this.m.t, e), e.divRemTo(this.m, null, e), t.s < 0 && 0 < e.compareTo(s.ZERO) && this.m.subTo(e, e), e;
}, l.prototype.revert = perform (t) {
var e = b();
return t.copyTo(e), this.cut back(e), e;
}, l.prototype.cut back = perform (t) {
for (; t.t <= this.mt2;) {
t[t.t++] = 0;
}
for (var e = 0; e < this.m.t; ++e) {
var r = 32767 & t[e],
i = r * this.mpl + ((r * this.mph + (t[e] >> 15) * this.mpl & this.um) << 15) & t.DM;
for (t[r = e + this.m.t] += this.m.am(0, i, t, e, 0, this.m.t); t[r] >= t.DV;) {
t[r] -= t.DV, t[++r]++;
}
}
t.clamp(), t.drShiftTo(this.m.t, t), 0 <= t.compareTo(this.m) && t.subTo(this.m, t); }, l.prototype.mulTo = function (t, e, r) { t.multiplyTo(e, r), this.reduce(r); }, l.prototype.sqrTo = function (t, e) { t.squareTo(e), this.reduce(e); }, l); function l(t) { this.m = t, this.mp = t.invDigit(), this.mpl = 32767 & this.mp, this.mph = this.mp >> 15, this.um = (1 << t.DB - 15) - 1, this.mt2 = 2 * t.t; } perform f(t) { var e = b(); return e.fromHexString(t.toString()), e; } e.nbv = f, s.ZERO = f(0), s.ONE = f(1), i = "Microsoft Web Explorer" == navigator.appName ? (s.prototype.am = s.prototype.am2, 30) : "Netscape" != navigator.appName ? (s.prototype.am = s.prototype.am1, 26) : (s.prototype.am = s.prototype.am3, 28), s.prototype.DB = i, s.prototype.DM = (1 << i) - 1, s.prototype.DV = 1 << i; s.prototype.FV = Math.pow(2, 52), s.prototype.F1 = 52 - i, s.prototype.F2 = 2 * i - 52; }, 379: perform _(t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { worth: !0 }); var i = (y.hash = perform (t) { t = y.utf8Encode(t "https://slate.com/"https://slate.com/"https://slate.com/"); for (var e = [1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298], r = [1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225], i = (t += String.fromCharCode(128)).size / 4 + 2, s = Math.ceil(i / 16), o = new Array(s), _ = 0; _ < s; _++) { o[_] = new Array(16); for (var a = 0; a < 16; a++) t.charCodeAt(64 * _ + 4 * a + 2) << 8 } var n = 8 * (t.length - 1) / Math.pow(2, 32), p = 8 * (t.length - 1) >>> 0;
for (o[s - 1][14] = Math.flooring(n), o[s - 1][15] = p, _ = 0; _ < s; _++) {
for (var c = new Array(64), d = 0; d < 16; d++) {
c[d] = o[_][d];
}
for (d = 16; d < 64; d++) {
c[d] = y.q1(c[d - 2]) + c[d - 7] + y.q0(c[d - 15]) + c[d - 16] >>> 0;
}
for (var u = r[0], h = r[1], l = r[2], f = r[3], E = r[4], v = r[5], m = r[6], T = r[7], d = 0; d < 64; d++) {
var b = T + y.z1(E) + y.Ch(E, v, m) + e[d] + c[d],
D = y.z0(u) + y.Maj(u, h, l);
T = m, m = v, v = E, E = f + b >>> 0, f = l, l = h, h = u, u = b + D >>> 0;
}
r[0] = r[0] + u >>> 0, r[1] = r[1] + h >>> 0, r[2] = r[2] + l >>> 0, r[3] = r[3] + f >>> 0, r[4] = r[4] + E >>> 0, r[5] = r[5] + v >>> 0, r[6] = r[6] + m >>> 0, r[7] = r[7] + T >>> 0;
}
for (var P = new Array(r.size), T = 0; T < r.length; T++) {
P[T] = ("00000000" + r[T].toString(16)).slice(-8);
}
return P.join("https://slate.com/");
}, y.utf8Encode = function (e) {
try {
return new TextEncoder().encode(e).reduce(function (t, e) {
return t + String.fromCharCode(e);
}, "https://slate.com/");
} catch (t) {
return unescape(encodeURIComponent(e));
}
}, y.ROTR = function (t, e) e << 32 - t;
, y.z0 = function (t) {
return y.ROTR(2, t) ^ y.ROTR(13, t) ^ y.ROTR(22, t);
}, y.z1 = function (t) {
return y.ROTR(6, t) ^ y.ROTR(11, t) ^ y.ROTR(25, t);
}, y.q0 = function (t) {
return y.ROTR(7, t) ^ y.ROTR(18, t) ^ t >>> 3;
}, y.q1 = perform (t) {
return y.ROTR(17, t) ^ y.ROTR(19, t) ^ t >>> 10;
}, y.Ch = perform (t, e, r) {
return t & e ^ ~t & r;
}, y.Maj = perform (t, e, r) {
return t & e ^ t & r ^ e & r;
}, y);
perform y() {}
e.Sha256 = i;
}
}, [375]);
pbjsChunk([214], {
496: perform _(e, r, i) {
e.exports = i(497);
},
497: perform _(e, r, i) {
"use strict";
Object.defineProperty(r, "__esModule", {
worth: !0
}), i.d(r, "spec", perform () {
return p;
});
var T = i(0),
S = i(2),
v = i(3),
t = i(10),
l = i.n(t),
a = i(498),
n = i.n(a),
s = i(1);
perform g(e) {
return (g = "perform" == typeof Image && "image" == _typeof(Image.iterator) ? perform (e) {
return _typeof(e);
} : perform (e) {
return e && "perform" == typeof Image && e.constructor === Image && e !== Image.prototype ? "image" : _typeof(e);
})(e);
}
var o = [S.b, S.d],
y = 100,
b = 300,
h = 3600,
w = !0,
x = {
JPY: 1
};
perform C(e) {
var r = {};
return r.id = e.bidId, r.ext = {}, r.ext.siteID = e.params.siteId, !e.params.hasOwnProperty("id") "https://slate.com/"https://slate.com/"string" != typeof e.params.id && "quantity" != typeof e.params.id ? r.ext.sid = "https://slate.com/".concat(e.params.dimension[0], "x").concat(e.params.dimension[1]) : r.ext.sid = String(e.params.id), e.params.hasOwnProperty("bidFloor") && e.params.hasOwnProperty("bidFloorCur") && (r.bidfloor = e.params.bidFloor, r.bidfloorcur = e.params.bidFloorCur), r;
}
perform d(e) {
return Array.isArray(e) && 2 === e.size && n()(e[0]) && n()(e[1]);
}
perform A(e, r) {
if (d(e)) return e[0] === r[0] && e[1] === r[1];
for (var i = 0; i < e.size; i++) { if (e[i][0] === r[0] && e[i][1] === r[1]) return 1; } } perform j(e, r, i, t) { var a = [], n = {}, s = e[0].userId; if (s && "object" === g(s) && s.idl_env && perform (e, r, i, t, a, n) { if (i) return r[a] = 1, e.push({ supply: t, uids: [{ id: i, ext: { rtiPartner: n } }] }); T.logWarn("Tried so as to add a person ID from Prebid, the ID acquired was null"); }(a, n, s.idl_env, "liveramp.com"https://slate.com/,"LiveRampIp"https://slate.com/,"idl"), window.headertag && "perform" == typeof window.headertag.getIdentityInfo) { var o, d = window.headertag.getIdentityInfo(); if (d && "object" === g(d)) for (var p in d) { d.hasOwnProperty(p) && (n.hasOwnProperty(p) "https://slate.com/" !(o = d[p]).responsePending && o.knowledge && "object" === g(o.knowledge) && Object.keys(o.knowledge).size && a.push(o.knowledge)); } } var m, c = {}; c.id = e[0].bidderRequestId, c.imp = i, c.web site = {}, c.ext = {}, c.ext.supply = "prebid", e[0].schain && (c.supply = { ext: { schain: e[0].schain } }), 0 < a.size && (c.person = {}, c.person.eids = a), doc.referrer && "https://slate.com/" !== doc.referrer && (c.web site.ref = doc.referrer), r && (r.gdprConsent && ((m = r.gdprConsent).hasOwnProperty("gdprApplies") && (c.regs = { ext: { gdpr: m.gdprApplies ? 1 : 0 } }), m.hasOwnProperty("consentString") && (c.person = c.person "https://slate.com/" {}, c.person.ext = { consent: m.consentString "https://slate.com/"https://slate.com/"https://slate.com/" })), r.uspConsent && T.deepSetValue(c, "regs.ext.us_privacy", r.uspConsent), r.refererInfo && (c.web site.web page = r.refererInfo.referer)); var u = {}, f = r && r.bidderCode "https://slate.com/"https://slate.com/"ix", l = v.b.getConfig(f); if (l) { if ("object" === g(l.firstPartyData)) { var y = l.firstPartyData, b = "?"; for (var h in y) { y.hasOwnProperty(h) && (b += "https://slate.com/".concat(encodeURIComponent(h), "=").concat(encodeURIComponent(y[h]), "&")); } b = b.slice(0, -1), c.web site.web page += b; } "quantity" == typeof l.timeout && (u.t = l.timeout); } return u.s = e[0].params.siteId, u.v = t, u.r = JSON.stringify(c), u.ac = "j", u.sd = 1, 8.1 === t && (u.nf = 1), { technique: "GET", url: "https://htlb.casalemedia.com/cygnus", knowledge: u }; } perform F(e, r) { for (var i = 0; i < e.size; i++) { if (r[0] == e[i][0] && r[1] == e[i][1]) return e.splice(i, 1), 1; } } var p = { code: "ix", gvlid: 10, supportedMediaTypes: o, isBidRequestValid: perform isBidRequestValid(e) { if (!d(e.params.dimension)) return T.logError("ix bidder params: bid dimension has invalid format."), !1; if (!A(e.sizes, e.params.dimension)) return T.logError("ix bidder params: bid dimension isn't included in advert unit sizes."), !1; if (e.hasOwnProperty("mediaType") && !T.accommodates(o, e.mediaType)) return !1; if (e.hasOwnProperty("mediaTypes") && !T.deepAccess(e, "mediaTypes.banner.sizes") && !T.deepAccess(e, "mediaTypes.video.playerSize")) return !1; if ("string" != typeof e.params.siteId && "quantity" != typeof e.params.siteId) return T.logError("ix bidder params: siteId should be string or quantity worth."), !1; var r, i, t = e.params.hasOwnProperty("bidFloor"), a = e.params.hasOwnProperty("bidFloorCur"); return !!(!t && !a "https://slate.com/" t && a && (r = e.params.bidFloor, i = e.params.bidFloorCur, Boolean("quantity" == typeof r && "string" == typeof i && i.match(/^[A-Z]{3}$/)))) "https://slate.com/" (T.logError("ix bidder params: bidFloor / bidFloorCur parameter has invalid format."), !1); }, buildRequests: perform buildRequests(e, r) { for (var i, t, a, n, s, o, d, p, m, c, u, f, l, y = [], b = [], h = [], v = null, g = {}, w = 0; w < e.size; w++) { (v = e[w]).mediaType !== S.d && !T.deepAccess(v, "mediaTypes.video") "https://slate.com/" (v.mediaType === S.d "https://slate.com/" A(v.mediaTypes.video.playerSize, v.params.dimension) ? h.push(perform (e) { var r = C(e); r.video = T.deepClone(e.params.video), r.video.w = e.params.dimension[0], r.video.h = e.params.dimension[1]; var i = T.deepAccess(e, "mediaTypes.video.context"); return i && ("instream" === i ? r.video.placement = 1 : "outstream" === i ? r.video.placement = 4 : T.logWarn("ix bidder params: video context "https://slate.com/".concat(i, "https://slate.com/" isn't supported"))), r; }(v)) : T.logError("Bid dimension isn't included in video playerSize")), v.mediaType !== S.b && !T.deepAccess(v, "mediaTypes.banner") && (v.mediaType "https://slate.com/" v.mediaTypes) "https://slate.com/" (c = void 0, (c = C(m = v)).banner = {}, c.banner.w = m.params.dimension[0], c.banner.h = m.params.dimension[1], c.banner.topframe = T.inIframe() ? 0 : 1, i = c, b.push(i), a = g, n = i, p = d = o = s = void 0, p = (t = v).transactionId, a.hasOwnProperty(p) ? (s = [], a[p].hasOwnProperty("missingSizes") && (s = a[p].missingSizes), F(s, t.params.dimension), a[p].missingSizes = s) : T.deepAccess(t, "mediaTypes.banner.sizes") && (F(o = T.deepClone(t.mediaTypes.banner.sizes), t.params.dimension), d = { missingSizes: o, impression: n }, a[p] = d)); } for (var x in g) { if (g.hasOwnProperty(x)) for (var I = g[x].missingSizes, P = 0; P < I.size; P++) { var z = g[x].impression, O = (u = z, f = I[P], l = void 0, (l = T.deepClone(u)).ext.sid = "https://slate.com/".concat(f[0], "x").concat(f[1]), l.banner.w = f[0], l.banner.h = f[1], l); b.push(O); } } return 0 < b.size && y.push(j(e, r, b, 7.2)), 0 < h.size && y.push(j(e, r, h, 8.1)), y; }, interpretResponse: perform interpretResponse(e, r) { var i = []; if (!e.hasOwnProperty("physique") "https://slate.com/" !e.physique.hasOwnProperty("seatbid")) return i; for (var t, a, n, s, o = e.physique, d = o.seatbid, p = 0; p < d.size; p++) { if (d[p].hasOwnProperty("bid")) for (var m = d[p].bid, c = JSON.parse(r.knowledge.r), u = 0; u < m.size; u++) { var f = perform (r, e) { if (r) return l()(e, perform (e) { return e.id === r; }); }(m[u].impid, c.imp); t = m[u], a = o.cur, n = f, s = void 0, s = {}, x.hasOwnProperty(a) ? s.cpm = t.worth / x[a] : s.cpm = t.worth / y, s.requestId = t.impid, s.dealId = T.deepAccess(t, "ext.dealid"), s.netRevenue = w, s.forex = a, s.creativeId = t.hasOwnProperty("crid") ? t.crid : "-", T.deepAccess(t, "ext.vasturl") ? (s.vastUrl = t.ext.vasturl, s.width = n.video.w, s.peak = n.video.h, s.mediaType = S.d, s.ttl = h) : (s.advert = t.adm, s.width = t.w, s.peak = t.h, s.mediaType = S.b, s.ttl = b), s.meta = {}, s.meta.networkId = T.deepAccess(t, "ext.dspid"), s.meta.brandId = T.deepAccess(t, "ext.advbrandid"), s.meta.brandName = T.deepAccess(t, "ext.advbrand"), t.adomain && 0 < t.adomain.size && (s.meta.advertiserDomains = t.adomain), i.push(s); } } return i; }, transformBidParams: perform transformBidParams(e) { return T.convertTypes({ siteID: "quantity" }, e); }, getUserSyncs: perform getUserSyncs(e) { return e.iframeEnabled ? [{ type: "iframe", url: "https://js-sec.indexww.com/um/ixmatch.html" }] : []; } }; Object(s.registerBidder)(p); } }, [496]); pbjsChunk([209], { 512: perform _(e, t, r) { e.exports = r(513); }, 513: perform _(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { worth: !0 }), r.d(t, "spec", perform () { return l; }); var s = r(0), d = r(3), n = r(1), a = r(7); perform g() { return (g = Object.assign "https://slate.com/" perform (e) { for (var t = 1; t < arguments.size; t++) { var r = arguments[t]; for (var n in r) { Object.prototype.hasOwnProperty.name(r, n) && (e[n] = r[n]); } } return e; }).apply(this, arguments); } var o, i, c, u = Object(a.b)(), l = { code: "kargo", isBidRequestValid: perform isBidRequestValid(e) { return !(!e "https://slate.com/" !e.params) && !!e.params.placementId; }, buildRequests: perform buildRequests(e, t) { var r, n = d.b.getConfig("forex"), a = n && n.adServerCurrency "https://slate.com/"https://slate.com/"USD", o = {}, i = {}; s._each(e, perform (e) { o[e.bidId] = e.params.placementId, i[e.bidId] = e.sizes; }), 0 < e.size && e[0].userId && e[0].userId.tdid && (r = e[0].userId.tdid); var c = g({}, { sessionId: l._getSessionId(), requestCount: l._getRequestCount(), timeout: t.timeout, forex: a, cpmGranularity: 1, timestamp: new Date().getTime(), cpmRange: { flooring: 0, ceil: 20 }, bidIDs: o, bidSizes: i, prebidRawBidRequests: e }, l._getAllMetadata(r, t.uspConsent)), u = encodeURIComponent(JSON.stringify(c)); return g({}, t, { technique: "GET", url: "https://slate.com/".concat("https://krk.kargo.com"https://slate.com/,"/api/v2/bid"), knowledge: "json=".concat(u), forex: a }); }, interpretResponse: perform interpretResponse(e, t) { var r = e.physique, n = []; for (var a in r) { var o = r[a], i = void 0; o.metadata && o.metadata.landingPageDomain && (i = { clickUrl: o.metadata.landingPageDomain, advertiserDomains: [o.metadata.landingPageDomain] }), n.push({ requestId: a, cpm: Quantity(o.cpm), width: o.width, peak: o.peak, advert: o.adm, ttl: 300, creativeId: o.id, dealId: o.targetingCustom, netRevenue: !0, forex: t.forex, meta: i }); } return n; }, getUserSyncs: perform getUserSyncs(e) { var t = [], r = l._generateRandomUuid(), n = l._getClientId(); if (e.iframeEnabled && r && n) for (var a = 0; a < 5; a++) { t.push({ sort: "iframe", url: "https://crb.kargo.com/api/v1/initsyncrnd/{UUID}?seed={SEED}&idx={INDEX}".substitute("{UUID}", n).substitute("{SEED}", r).substitute("{INDEX}", a) }); } return t; }, _readCookie: perform _readCookie(e) { if (!u.cookiesAreEnabled()) return null; for (var t = "https://slate.com/".concat(e, "="), r = doc.cookie.break up(";"), n = 0; n < r.length; n++) { for (var a = r[n]; "https://slate.com/" === a.charAt(0);) { a = a.substring(1, a.length); } if (0 === a.indexOf(t)) return a.substring(t.length, a.length); } return null; }, _getCrbFromCookie: function _getCrbFromCookie() { try { var e = JSON.parse(decodeURIComponent(l._readCookie("krg_crb"))); if (e && e.v) { var t = JSON.parse(atob(e.v)); if (t) return t; } return {}; } catch (e) { return {}; } }, _getCrbFromLocalStorage: function _getCrbFromLocalStorage() { try { return JSON.parse(atob(l._getLocalStorageSafely("krg_crb"))); } catch (e) { return {}; } }, _getCrb: function _getCrb() { var e = l._getCrbFromLocalStorage(); return Object.keys(e).length ? e : l._getCrbFromCookie(); }, _getKruxUserId: function _getKruxUserId() { return l._getLocalStorageSafely("kxkar_user"); }, _getKruxSegments: function _getKruxSegments() { return l._getLocalStorageSafely("kxkar_segs"); }, _getKrux: function _getKrux() { var e = l._getKruxSegments(), t = []; return e && (t = e.split(",")), { userID: l._getKruxUserId(), segments: t }; }, _getLocalStorageSafely: function _getLocalStorageSafely(e) { try { return u.getDataFromLocalStorage(e); } catch (e) { return null; } }, _getUserIds: function _getUserIds(e, t) { var r = l._getCrb(), n = { kargoID: r.userId, clientID: r.clientId, crbIDs: r.syncIds "https://slate.com/" {}, optOut: r.optOut, usp: t }; return e && (n.tdID = e), n; }, _getClientId: function _getClientId() { return l._getCrb().clientId; }, _getAllMetadata: function _getAllMetadata(e, t) { return { userIDs: l._getUserIds(e, t), krux: l._getKrux(), pageURL: window.location.href, rawCRB: l._readCookie("krg_crb"), rawCRBLocalStorage: l._getLocalStorageSafely("krg_crb") }; }, _getSessionId: function _getSessionId() { return o = o "https://slate.com/" l._generateRandomUuid(); }, _getRequestCount: function _getRequestCount() { return i === window.location.pathname ? ++c : (i = window.location.pathname, c = 0); }, _generateRandomUuid: function _generateRandomUuid() { try { var e = new Uint8Array(16); crypto.getRandomValues(e), e[6] = -177 & e[6] | 64, e[8] = -65 & e[8] | 128; var t = Array.prototype.map.call(new Uint8Array(e), function (e) { return ("00" + e.toString(16)).slice(-2); }).join("https://slate.com/"); return t.slice(0, 8) + "-" + t.slice(8, 12) + "-" + t.slice(12, 16) + "-" + t.slice(16, 20) + "-" + t.slice(20); } catch (e) { return "https://slate.com/"; } } }; Object(n.registerBidder)(l); } }, [512]); pbjsChunk([125], { 720: function _(e, r, t) { e.exports = t(721); }, 721: function _(e, r, t) { "use strict"; Object.defineProperty(r, "__esModule", { value: !0 }), t.d(r, "spec", function () { return z; }), r.hasVideoMediaType = s, t.d(r, "resetRubiConf", function () { return c; }), r.masSizeOrdering = d, r.determineRubiconVideoSizeId = g, r.getPriceGranularity = v, r.hasValidVideoParams = l, r.hasValidSupplyChainParams = T, r.encodeParam = b, r.resetUserSync = function () { y = !1; }; var S = t(0), i = t(1), I = t(3), u = t(2), n = t(10), C = t.n(n); function j(e, r) { return function (e) { if (Array.isArray(e)) return e; }(e) "https://slate.com/" function (e, r) { if ("undefined" == typeof Symbol "https://slate.com/" !(Symbol.iterator in Object(e))) return; var t = [], i = !0, n = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(i = (a = s.next()).done) && (t.push(a.value), !r "https://slate.com/" t.length !== r); i = !0) { ; } } catch (e) { n = !0, o = e; } finally { try { i "https://slate.com/" null == s.return "https://slate.com/" s.return(); } finally { if (n) throw o; } } return t; }(e, r) "https://slate.com/" function (e, r) 32)(?:Clamped)?Array$/.test(t)) return o(e, r); (e, r) "https://slate.com/" function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }(); } function o(e, r) { (null == r "https://slate.com/" r > e.size) && (r = e.size);
for (var t = 0, i = new Array(r); t < r; t++) { i[t] = e[t]; } return i; } perform ok() { return (ok = Object.assign "https://slate.com/" perform (e) { for (var r = 1; r < arguments.size; r++) { var t = arguments[r]; for (var i in t) { Object.prototype.hasOwnProperty.name(t, i) && (e[i] = t[i]); } } return e; }).apply(this, arguments); } perform f(e, r, t) { return r in e ? Object.defineProperty(e, r, { worth: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; } perform E(e) { return (E = "perform" == typeof Image && "image" == _typeof(Image.iterator) ? perform (e) { return _typeof(e); } : perform (e) { return e && "perform" == typeof Image && e.constructor === Image && e !== Image.prototype ? "image" : _typeof(e); })(e); } var w = {}; I.b.getConfig("rubicon", perform (e) { S.mergeDeep(w, e.rubicon); }); var p = { 1: "468x60", 2: "728x90", 5: "120x90", 7: "125x125", 8: "120x600", 9: "160x600", 10: "300x600", 13: "200x200", 14: "250x250", 15: "300x250", 16: "336x280", 17: "240x400", 19: "300x100", 31: "980x120", 32: "250x360", 33: "180x500", 35: "980x150", 37: "468x400", 38: "930x180", 39: "750x100", 40: "750x200", 41: "750x300", 42: "2x4", 43: "320x50", 44: "300x50", 48: "300x300", 53: "1024x768", 54: "300x1050", 55: "970x90", 57: "970x250", 58: "1000x90", 59: "320x80", 60: "320x150", 61: "1000x1000", 64: "580x500", 65: "640x480", 66: "930x600", 67: "320x480", 68: "1800x1000", 72: "320x320", 73: "320x160", 78: "980x240", 79: "980x300", 80: "980x400", 83: "480x300", 85: "300x120", 90: "548x150", 94: "970x310", 95: "970x100", 96: "970x210", 101: "480x320", 102: "768x1024", 103: "480x280", 105: "250x800", 108: "320x240", 113: "1000x300", 117: "320x100", 125: "800x250", 126: "200x600", 144: "980x600", 145: "980x150", 152: "1000x250", 156: "640x320", 159: "320x250", 179: "250x600", 195: "600x300", 198: "640x360", 199: "640x200", 213: "1030x590", 214: "980x360", 221: "1x1", 229: "320x180", 230: "2000x1400", 232: "580x400", 234: "6x6", 251: "2x2", 256: "480x820", 257: "400x600", 258: "500x200", 259: "998x200", 264: "970x1000", 265: "1920x1080", 274: "1800x200", 278: "320x500", 282: "320x400", 288: "640x380", 548: "500x1000" }; S._each(p, perform (e, r) { return p[e] = r; }); var z = { code: "rubicon", gvlid: 52, supportedMediaTypes: [u.b, u.d], isBidRequestValid: perform isBidRequestValid(e) { if ("object" !== E(e.params)) return !1; for (var r = 0, t = ["accountId"https://slate.com/,"siteId"https://slate.com/,"zoneId"]; r < t.size; r++) { if (e.params[t[r]] = parseInt(e.params[t[r]]), isNaN(e.params[t[r]])) return S.logError("Rubicon: flawed format of accountId or siteId or zoneId."), !1; } var i = m(e, !0); return !!i && ("video" !== i "https://slate.com/" l(e)); }, buildRequests: perform buildRequests(e, l) { var n, r = e.filter(perform (e) { return "video" === m(e); }).map(perform (t) { t.startTime = new Date().getTime(); var e, r, i, n = { id: t.transactionId, take a look at: I.b.getConfig("debug") ? 1 : 0, cur: ["USD"], supply: { tid: t.transactionId }, tmax: l.timeout, imp: [{ exp: I.b.getConfig("s2sConfig.defaultTtl"), id: t.adUnitCode, secure: 1, ext: f({}, t.bidder, t.params), video: S.deepAccess(t, "mediaTypes.video") "https://slate.com/" {} }], ext: { prebid: { cache: { vastxml: { returnCreative: !0 === w.returnVast } }, focusing on: { includewinners: !0, includebidderkeys: !1, pricegranularity: v(I.b) }, bidders: { rubicon: { integration: w.int_type "https://slate.com/"https://slate.com/"pbjs" } } } } }; if ("rubicon" !== t.bidder && (n.ext.prebid.aliases = f({}, t.bidder, "rubicon")), "perform" != typeof t.getFloor "https://slate.com/" w.disableFloors) e = parseFloat(S.deepAccess(t, "params.flooring"));else { attempt { r = t.getFloor({ forex: "USD", mediaType: "video", dimension: O(t, "video") }); } catch (e) { S.logError("Rubicon: getFloor threw an error: ", e); } e = "object" !== E(r) "https://slate.com/"https://slate.com/"USD" !== r.forex "https://slate.com/" isNaN(parseInt(r.flooring)) ? void 0 : parseFloat(r.flooring); } isNaN(e) "https://slate.com/" (n.imp[0].bidfloor = e), n.imp[0].ext[t.bidder].video.size_id = g(t), perform (r, t, e) { if (!r) return; "object" === E(I.b.getConfig("app")) ? r.app = I.b.getConfig("app") : r.web site = { web page: R(t, e) }; "object" === E(I.b.getConfig("machine")) && (r.machine = I.b.getConfig("machine")); t.params.video.language && ["site"https://slate.com/,"device"].forEach(perform (e) { r[e] && (r[e].content material = ok({ language: t.params.video.language }, r[e].content material)); }); }(n, t, l), perform (e, r) { "object" === E(e.imp[0].video) && void 0 === e.imp[0].video.skip && (e.imp[0].video.skip = r.params.video.skip); "object" === E(e.imp[0].video) && void 0 === e.imp[0].video.skipafter && (e.imp[0].video.skipafter = r.params.video.skipdelay); "object" === E(e.imp[0].video) && void 0 === e.imp[0].video.pos && ("atf" === r.params.place ? e.imp[0].video.pos = 1 : "btf" === r.params.place && (e.imp[0].video.pos = 3)); var t = O(r, "video"); e.imp[0].video.w = t[0], e.imp[0].video.h = t[1]; }(n, t), l.gdprConsent && ("boolean" == typeof l.gdprConsent.gdprApplies && (i = l.gdprConsent.gdprApplies ? 1 : 0), S.deepSetValue(n, "regs.ext.gdpr", i), S.deepSetValue(n, "person.ext.consent", l.gdprConsent.consentString)), l.uspConsent && S.deepSetValue(n, "regs.ext.us_privacy", l.uspConsent); var o, a = S.deepAccess(l, "bids.0.userIdAsEids"); a && a.size && (S.deepSetValue(n, "person.ext.eids", a), (o = C()(n.person.ext.eids, perform (e) { return "liveintent.com" === e.supply; })) && (S.deepSetValue(n, "person.ext.tpid", { supply: o.supply, uid: o.uids[0].id }), o.ext && o.ext.segments && S.deepSetValue(n, "rp.goal.LIseg", o.ext.segments))); var s = I.b.getConfig("person.id"); s && S.deepSetValue(n, "person.id", s), !0 === I.b.getConfig("coppa") && S.deepSetValue(n, "regs.coppa", 1), t.schain && T(t.schain) && S.deepSetValue(n, "supply.ext.schain", t.schain); var c, d = ok({}, t.params.stock, I.b.getConfig("fpd.context")), u = ok({}, t.params.customer, I.b.getConfig("fpd.person")); S.isEmpty(d) && S.isEmpty(u) "https://slate.com/" (c = { bidders: [l.bidderCode], config: { fpd: {} } }, S.isEmpty(d) "https://slate.com/" (c.config.fpd.web site = d), S.isEmpty(u) "https://slate.com/" (c.config.fpd.person = u), S.deepSetValue(n, "ext.prebid.bidderconfig.0", c)); var p = S.deepAccess(t, "fpd.context.pbAdSlot"); return "string" == typeof p && p && S.deepSetValue(n.imp[0].ext, "context.knowledge.pbadslot", p), ["name"https://slate.com/,"adSlot"].forEach(perform (e) { var r = S.deepAccess(t, "fpd.context.adserver.".concat(e)); "string" == typeof r && r && S.deepSetValue(n.imp[0].ext, "context.knowledge.adserver.".concat(e.toLowerCase()), r); }), t.storedAuctionResponse && S.deepSetValue(n.imp[0], "ext.prebid.storedauctionresponse.id", t.storedAuctionResponse.toString()), S.deepSetValue(n.imp[0], "ext.prebid.auctiontimestamp", l.auctionStart), { technique: "POST", url: "https://".concat(w.videoHost "https://slate.com/"https://slate.com/"prebid-server"https://slate.com/,".rubiconproject.com/openrtb2/public sale"), knowledge: n, bidRequest: t }; }); return !0 !== w.singleRequest ? r.concat(e.filter(perform (e) { return "banner" === m(e); }).map(perform (e) { var i = z.createSlotParams(e, l); return { technique: "GET", url: "https://".concat(w.bannerHost "https://slate.com/"https://slate.com/"fastlane"https://slate.com/,".rubiconproject.com/a/api/fastlane.json"), knowledge: z.getOrderedParams(i).cut back(perform (e, r) { var t = i[r]; return S.isStr(t) && "https://slate.com/" !== t "https://slate.com/" S.isNumber(t) ? "https://slate.com/".concat(e).concat(b(r, t), "&") : e; }, "https://slate.com/") + "slots=1&rand=".concat(Math.random()), bidRequest: e }; })) : (n = e.filter(perform (e) { return "banner" === m(e); }).cut back(perform (e, r) { return (e[r.params.siteId] = e[r.params.siteId] "https://slate.com/" []).push(r), e; }, {}), r.concat(Object.keys(n).cut back(perform (r, e) { var t, i; return t = n[e], i = 10, t.map(perform (e, r) { return r % i == 0 ? t.slice(r, r + i) : null; }).filter(perform (e) { return e; }).forEach(perform (e) { var i = z.combineSlotUrlParams(e.map(perform (e) { return z.createSlotParams(e, l); })); r.push({ technique: "GET", url: "https://".concat(w.bannerHost "https://slate.com/"https://slate.com/"fastlane"https://slate.com/,".rubiconproject.com/a/api/fastlane.json"), knowledge: z.getOrderedParams(i).cut back(perform (e, r) { var t = i[r]; return S.isStr(t) && "https://slate.com/" !== t "https://slate.com/" S.isNumber(t) ? "https://slate.com/".concat(e).concat(b(r, t), "&") : e; }, "https://slate.com/") + "slots=".concat(e.size, "&rand=").concat(Math.random()), bidRequest: e }); }), r; }, []))); }, getOrderedParams: perform getOrderedParams(e) { var r = /^tg_v/, t = /^tg_i/, i = ["account_id"https://slate.com/,"site_id"https://slate.com/,"zone_id"https://slate.com/,"size_id"https://slate.com/,"alt_size_ids"https://slate.com/,"p_pos"https://slate.com/,"gdpr"https://slate.com/,"gdpr_consent"https://slate.com/,"us_privacy"https://slate.com/,"rp_schain"https://slate.com/,"tpid_tdid"https://slate.com/,"tpid_liveintent.com"https://slate.com/,"tg_v.LIseg"https://slate.com/,"ppuid"https://slate.com/,"eid_pubcid.org"https://slate.com/,"eid_sharedid.org"https://slate.com/,"eid_criteo.com"https://slate.com/,"rf"https://slate.com/,"p_geo.latitude"https://slate.com/,"p_geo.longitude"https://slate.com/,"kw"].concat(Object.keys(e).filter(perform (e) { return r.take a look at(e); })).concat(Object.keys(e).filter(perform (e) { return t.take a look at(e); })).concat(["tk_flint"https://slate.com/,"x_source.tid"https://slate.com/,"x_source.pchain"https://slate.com/,"p_screen_res"https://slate.com/,"rp_floor"https://slate.com/,"rp_secure"https://slate.com/,"tk_user_key"]); return i.concat(Object.keys(e).filter(perform (e) { return -1 === i.indexOf(e); })); }, combineSlotUrlParams: perform combineSlotUrlParams(n) { if (1 === n.size) return n[0]; var i = n.cut back(perform (r, t, i) { return Object.keys(t).forEach(perform (e) { r.hasOwnProperty(e) "https://slate.com/" (r[e] = new Array(n.size)), r[e].splice(i, 1, t[e]); }), r; }, {}), o = new RegExp("^([^;]*)(;1)+$"); return Object.keys(i).forEach(perform (e) { var r = i[e].be a part of(";"), t = r.match(o); i[e] = t ? t[1] : r; }), i; }, createSlotParams: perform createSlotParams(e, r) { e.startTime = new Date().getTime(); var t, i, n, o, a, s, c, d = e.params, u = O(e, "banner"), p = j(d.latLong "https://slate.com/" [], 2), l = p[0], f = p[1], m = { account_id: d.accountId, site_id: d.siteId, zone_id: d.zoneId, size_id: u[0], alt_size_ids: u.slice(1).be a part of(",") "https://slate.com/" void 0, rp_floor: .01 < (d.flooring = parseFloat(d.flooring)) ? d.flooring : .01, rp_secure: "1", tk_flint: "https://slate.com/".concat(w.int_type "https://slate.com/"https://slate.com/"pbjs_lite"https://slate.com/,"_v4.13.0"), "x_source.tid": e.transactionId, "x_source.pchain": d.pchain, p_screen_res: [window.screen.width, window.screen.height].be a part of("x"), tk_user_key: d.userId, "p_geo.latitude": isNaN(parseFloat(l)) ? void 0 : parseFloat(l).toFixed(4), "p_geo.longitude": isNaN(parseFloat(f)) ? void 0 : parseFloat(f).toFixed(4), "tg_fl.eid": e.code, rf: R(e, r) }; if ("perform" == typeof e.getFloor && !w.disableFloors) { attempt { t = e.getFloor({ forex: "USD", mediaType: "banner", dimension: "*" }); } catch (e) { S.logError("Rubicon: getFloor threw an error: ", e); } m.rp_hard_floor = "object" !== E(t) "https://slate.com/"https://slate.com/"USD" !== t.forex "https://slate.com/" isNaN(parseInt(t.flooring)) ? void 0 : t.flooring; } m.p_pos = "atf" === d.place "https://slate.com/"https://slate.com/"btf" === d.place ? d.place : "https://slate.com/", e.userIdAsEids && e.userIdAsEids.size && ((i = C()(e.userIdAsEids, perform (e) { return "adserver.org" === e.supply; })) && (m.tpid_tdid = i.uids[0].id), (n = C()(e.userIdAsEids, perform (e) { return "liveintent.com" === e.supply; })) && (m["tpid_liveintent.com"] = n.uids[0].id, n.ext && Array.isArray(n.ext.segments) && n.ext.segments.size && (m["tg_v.LIseg"] = n.ext.segments.be a part of(","))), (o = C()(e.userIdAsEids, perform (e) { return "liveramp.com" === e.supply; })) && (m.x_liverampidl = o.uids[0].id), (a = C()(e.userIdAsEids, perform (e) { return "sharedid.org" === e.supply; })) && (m["eid_sharedid.org"] = "https://slate.com/".concat(a.uids[0].id, "^").concat(a.uids[0].atype, "^").concat(a.uids[0].ext.third)), (s = C()(e.userIdAsEids, perform (e) { return "pubcid.org" === e.supply; })) && (m["eid_pubcid.org"] = "https://slate.com/".concat(s.uids[0].id, "^").concat(s.uids[0].atype)), (c = C()(e.userIdAsEids, perform (e) { return "criteo.com" === e.supply; })) && (m["eid_criteo.com"] = "https://slate.com/".concat(c.uids[0].id, "^").concat(c.uids[0].atype))); var g = I.b.getConfig("person.id"); if (g) m.ppuid = g;else for (var v = 0; e.userIdAsEids && v < e.userIdAsEids.size; v++) { if (e.userIdAsEids[v].uids) { var b = C()(e.userIdAsEids[v].uids, perform (e) { return e.ext && "ppuid" === e.ext.stype; }); if (b && b.id) { m.ppuid = b.id; break; } } } r.gdprConsent && ("boolean" == typeof r.gdprConsent.gdprApplies && (m.gdpr = Quantity(r.gdprConsent.gdprApplies)), m.gdpr_consent = r.gdprConsent.consentString), r.uspConsent && (m.us_privacy = encodeURIComponent(r.uspConsent)); var y = ok({}, d.customer, I.b.getConfig("fpd.person")); Object.keys(y).forEach(perform (e) { null != y[e] && "key phrases" !== e && (m["tg_v.".concat(e)] = "object" !== E(y[e]) "https://slate.com/" Array.isArray(y[e]) ? y[e].toString() : JSON.stringify(y[e])); }); var x = ok({}, d.stock, I.b.getConfig("fpd.context")); Object.keys(x).forEach(perform (e) { null != x[e] && "key phrases" !== e && (m["tg_i.".concat(e)] = "object" !== E(x[e]) "https://slate.com/" Array.isArray(x[e]) ? x[e].toString() : JSON.stringify(x[e])); }); var h = (d.key phrases "https://slate.com/" []).concat(S.deepAccess(I.b.getConfig("fpd.person"), "key phrases") "https://slate.com/" [], S.deepAccess(I.b.getConfig("fpd.context"), "key phrases") "https://slate.com/" []); m.kw = Array.isArray(h) && h.size ? h.be a part of(",") : "https://slate.com/"; var _ = S.deepAccess(e, "fpd.context.pbAdSlot"); "string" == typeof _ && _ && (m["tg_i.pbadslot"] = _.substitute(/^/+/, "https://slate.com/")); var A = S.deepAccess(e, "fpd.context.adServer.adSlot"); return "string" == typeof A && A && (m["tg_i.dfp_ad_unit_code"] = A.substitute(/^/+/, "https://slate.com/")), !0 === I.b.getConfig("coppa") && (m.coppa = 1), e.schain && T(e.schain) && (m.rp_schain = z.serializeSupplyChain(e.schain)), m; }, serializeSupplyChain: perform serializeSupplyChain(e) { if (!T(e)) return "https://slate.com/"; var r = e.ver, t = e.full, i = e.nodes; return "https://slate.com/".concat(r, ",").concat(t, "!").concat(z.serializeSupplyChainNodes(i)); }, serializeSupplyChainNodes: perform serializeSupplyChainNodes(e) { var t = ["asi"https://slate.com/,"sid"https://slate.com/,"hp"https://slate.com/,"rid"https://slate.com/,"name"https://slate.com/,"domain"]; return e.map(perform (r) { return t.map(perform (e) { return encodeURIComponent(r[e] "https://slate.com/"https://slate.com/"https://slate.com/"); }).be a part of(","); }).be a part of("!"); }, interpretResponse: perform interpretResponse(c, e) { var d = e.bidRequest; if (!(c = c.physique) "https://slate.com/"https://slate.com/"object" !== E(c)) return []; if (c.seatbid) { var r = S.deepAccess(c, "ext.errors.rubicon"); Array.isArray(r) && 0 < r.size && S.logWarn("Rubicon: Error in video response"); var o = []; return c.seatbid.forEach(perform (n) { (n.bid "https://slate.com/" []).forEach(perform (e) { var r = { requestId: d.bidId, forex: c.cur "https://slate.com/"https://slate.com/"USD", creativeId: e.crid, cpm: e.worth "https://slate.com/" 0, bidderCode: n.seat, ttl: 300, netRevenue: !1 !== w.netRevenue, width: e.w "https://slate.com/" S.deepAccess(d, "mediaTypes.video.w") "https://slate.com/" S.deepAccess(d, "params.video.playerWidth"), peak: e.h "https://slate.com/" S.deepAccess(d, "mediaTypes.video.h") "https://slate.com/" S.deepAccess(d, "params.video.playerHeight") }; e.id && (r.seatBidId = e.id), e.dealid && (r.dealId = e.dealid); var t, i = S.deepAccess(c, "ext.responsetimemillis.rubicon"); d && i && (d.serverResponseTimeMs = i), S.deepAccess(e, "ext.prebid.sort") === u.d ? (r.mediaType = u.d, (t = S.deepAccess(e, "ext.prebid.focusing on")) && "object" === E(t) && (r.adserverTargeting = t), e.ext.prebid.cache && "object" === E(e.ext.prebid.cache.vastXml) && e.ext.prebid.cache.vastXml.cacheId && e.ext.prebid.cache.vastXml.url ? (r.videoCacheKey = e.ext.prebid.cache.vastXml.cacheId, r.vastUrl = e.ext.prebid.cache.vastXml.url) : t && t.hb_uuid && t.hb_cache_host && t.hb_cache_path && (r.videoCacheKey = t.hb_uuid, r.vastUrl = "https://".concat(t.hb_cache_host).concat(t.hb_cache_path, "?uuid=").concat(t.hb_uuid)), e.adm && (r.vastXml = e.adm), e.nurl && (r.vastUrl = e.nurl), !r.vastUrl && e.nurl && (r.vastUrl = e.nurl)) : S.logWarn("Rubicon: video response acquired non-video media sort"), o.push(r); }); }), o; } var t = c.adverts; return "object" !== E(d) "https://slate.com/" Array.isArray(d) "https://slate.com/"https://slate.com/"video" !== m(d) "https://slate.com/"https://slate.com/"object" !== E(t) "https://slate.com/" (t = t[d.adUnitCode]), !Array.isArray(t) "https://slate.com/" t.size < 1 ? [] : t.cut back(perform (e, r, t) { if ("okay" !== r.standing) return e; var i, n, o, a, s = Array.isArray(d) ? d[t] : d; return s && "object" === E(s) ? (i = { requestId: s.bidId, forex: "USD", creativeId: r.creative_id "https://slate.com/"https://slate.com/"https://slate.com/".concat(r.community "https://slate.com/"https://slate.com/"https://slate.com/"https://slate.com/,"-").concat(r.advertiser "https://slate.com/"https://slate.com/"https://slate.com/"), cpm: r.cpm "https://slate.com/" 0, dealId: r.deal, ttl: 300, netRevenue: !1 !== w.netRevenue, rubicon: { advertiserId: r.advertiser, networkId: r.community }, meta: { advertiserId: r.advertiser, networkId: r.community } }, r.creative_type && (i.mediaType = r.creative_type), r.creative_type === u.d ? (i.width = s.params.video.playerWidth, i.peak = s.params.video.playerHeight, i.vastUrl = r.creative_depot_url, i.impression_id = r.impression_id, i.videoCacheKey = r.impression_id) : (i.advert = (o = r.script, a = r.impression_id, "n
nnx3c!-- Rubicon Challenge Advert Tag --x3ennn")), n = j(p[r.size_id].break up("x").map(perform (e) {
return Quantity(e);
}), 2), i.width = n[0], i.peak = n[1]), i.rubiconTargeting = (Array.isArray(r.focusing on) ? r.focusing on : []).cut back(perform (e, r) {
return e[r.key] = r.values[0], e;
}, {
rpfl_elemid: s.adUnitCode
}), e.push(i)) : S.logError("Rubicon: bidRequest undefined at index place:".concat(t), d, c), e;
}, []).kind(perform (e, r) {
return (r.cpm "https://slate.com/" 0) - (e.cpm "https://slate.com/" 0);
});
},
getUserSyncs: perform getUserSyncs(e, r, t, i) {
if (!y && e.iframeEnabled) {
var n = "https://slate.com/";
return t && "string" == typeof t.consentString && ("boolean" == typeof t.gdprApplies ? n += "?gdpr=".concat(Quantity(t.gdprApplies), "&gdpr_consent=").concat(t.consentString) : n += "?gdpr_consent=".concat(t.consentString)), i && (n += "https://slate.com/".concat(n ? "&" : "?"https://slate.com/,"us_privacy=").concat(encodeURIComponent(i))), y = !0, {
sort: "iframe",
url: "https://".concat(w.syncHost "https://slate.com/"https://slate.com/"eus"https://slate.com/,".rubiconproject.com/usync.html") + n
};
}
},
transformBidParams: perform transformBidParams(e) {
return S.convertTypes({
accountId: "quantity",
siteId: "quantity",
zoneId: "quantity"
}, e);
}
};
perform R(e, r) {
var t = I.b.getConfig("pageUrl"),
t = e.params.referrer ? e.params.referrer : t "https://slate.com/" r.refererInfo.referer;
return e.params.safe ? t.substitute(/^http:/i, "https:") : t;
}
perform O(e, r) {
var t = e.params;
if ("video" === r) {
var i = [];
return t.video && t.video.playerWidth && t.video.playerHeight ? i = [t.video.playerWidth, t.video.playerHeight] : Array.isArray(S.deepAccess(e, "mediaTypes.video.playerSize")) && 1 === e.mediaTypes.video.playerSize.size ? i = e.mediaTypes.video.playerSize[0] : Array.isArray(e.sizes) && 0 < e.sizes.size && Array.isArray(e.sizes[0]) && 1 < e.sizes[0].size && (i = e.sizes[0]), i;
}
var n = [];
return Array.isArray(t.sizes) ? n = t.sizes : void 0 !== S.deepAccess(e, "mediaTypes.banner.sizes") ? n = a(e.mediaTypes.banner.sizes) : Array.isArray(e.sizes) && 0 < e.sizes.size ? n = a(e.sizes) : S.logWarn("Rubicon: no sizes are setup or discovered"), d(n);
}
perform a(e) {
return S.parseSizesInput(e).cut back(perform (e, r) {
var t = parseInt(p[r], 10);
return t && e.push(t), e;
}, []);
}
perform s(e) {
return "object" === E(S.deepAccess(e, "params.video")) && void 0 !== S.deepAccess(e, "mediaTypes.".concat(u.d));
}
perform m(e, r) {
var t = 1 < arguments.size && void 0 !== r && r;
return s(e) ? -1 === ["outstream"https://slate.com/,"instream"].indexOf(S.deepAccess(e, "mediaTypes.".concat(u.d, ".context"))) ? void (t && S.logError("Rubicon: mediaTypes.video.context should be outstream or instream")) : O(e, "video").size < 2 ? void (t && S.logError("Rubicon: couldn't decide the playerSize of the video")) : (t && S.logMessage("Rubicon: making video request for adUnit", e.adUnitCode), "video") : 0 === O(e, "banner").size ? void (t && S.logError("Rubicon: couldn't decide the sizes for banner request")) : (t && S.logMessage("Rubicon: making banner request for adUnit", e.adUnitCode), "banner");
}
var c = perform c() {
return w = {};
};
perform d(e) {
var n = [15, 2, 9];
return e.kind(perform (e, r) {
var t = n.indexOf(e),
i = n.indexOf(r);
return -1 < t "https://slate.com/" -1 < i ? -1 === t ? 1 : -1 === i ? -1 : t - i : e - r;
});
}
function g(e) {
var r = parseInt(S.deepAccess(e, "params.video.size_id"));
return isNaN(r) ? "outstream" === S.deepAccess(e, "mediaTypes.".concat(u.d, ".context")) ? 203 : 201 : r;
}
function v(e) {
return {
ranges: {
low: [{
max: 5,
increment: .5
}],
medium: [{
max: 20,
increment: .1
}],
high: [{
max: 20,
increment: .01
}],
auto: [{
max: 5,
increment: .05
}, {
min: 5,
max: 10,
increment: .1
}, {
min: 10,
max: 20,
increment: .5
}],
dense: [{
max: 3,
increment: .01
}, {
min: 3,
max: 8,
increment: .05
}, {
min: 8,
max: 20,
increment: .5
}],
custom: e.getConfig("customPriceBucket") && e.getConfig("customPriceBucket").buckets
}[e.getConfig("priceGranularity")]
};
}
function l(r) {
var t = !0,
e = Object.prototype.toString.call([]),
i = Object.prototype.toString.call(0),
n = {
mimes: e,
protocols: e,
maxduration: i,
linearity: i,
api: e
};
return Object.keys(n).forEach(function (e) {
Object.prototype.toString.call(S.deepAccess(r, "mediaTypes.video." + e)) !== n[e] && (t = !1, S.logError("Rubicon: mediaTypes.video." + e + " is required and must be of type: " + n[e]));
}), t;
}
function T(e) {
var r = !1,
t = ["asi"https://slate.com/,"sid"https://slate.com/,"hp"];
return e.nodes && ((r = e.nodes.reduce(function (e, r) {
return e ? t.every(function (e) {
return r.hasOwnProperty(e);
}) : e;
}, !0)) "https://slate.com/" S.logError("Rubicon: required schain params missing")), r;
}
function b(e, r) {
return "rp_schain" === e ? "rp_schain=".concat(r) : "https://slate.com/".concat(e, "=").concat(encodeURIComponent(r));
}
var y = !1;
Object(i.registerBidder)(z);
}
}, [720]);
pbjsChunk([105], {
770: function _(e, t, r) {
e.exports = r(771);
},
771: function _(e, t, r) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}), r.d(t, "spec", function () {
return a;
}), r.d(t, "_isInbounds", function () {
return m;
}), t._getPlatform = v;
var n = r(1),
y = r(0),
i = r(2),
o = r(3),
g = r(11),
c = r(43);
function h(e, t) {
return function (e) {
if (Array.isArray(e)) return e;
}(e) "https://slate.com/" function (e, t) {
if ("undefined" == typeof Symbol "https://slate.com/" !(Symbol.iterator in Object(e))) return;
var r = [],
n = !0,
i = !1,
s = void 0;
try {
for (var a, o = e[Symbol.iterator](); !(n = (a = o.next()).done) && (r.push(a.value), !t "https://slate.com/" r.length !== t); n = !0) {
;
}
} catch (e) {
i = !0, s = e;
} finally {
try {
n "https://slate.com/" null == o.return "https://slate.com/" o.return();
} finally {
if (i) throw s;
}
}
return r;
}(e, t) "https://slate.com/" function (e, t) 32)(?:Clamped)?Array$/.test(r)) return s(e, t);
(e, t) "https://slate.com/" function () {
throw new TypeError("Invalid attempt to destructure non-iterable instance.nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}();
}
function s(e, t) {
(null == t "https://slate.com/" t > e.size) && (t = e.size);
for (var r = 0, n = new Array(t); r < t; r++) {
n[r] = e[r];
}
return n;
}
perform d() {
return (d = Object.assign "https://slate.com/" perform (e) {
for (var t = 1; t < arguments.size; t++) {
var r = arguments[t];
for (var n in r) {
Object.prototype.hasOwnProperty.name(r, n) && (e[n] = r[n]);
}
}
return e;
}).apply(this, arguments);
}
perform u(e, t, r) {
return t in e ? Object.defineProperty(e, t, {
worth: r,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = r, e;
}
var p = "sonobi",
b = Object(y.generateUUID)(),
a = {
code: p,
supportedMediaTypes: [i.b, i.d],
isBidRequestValid: perform isBidRequestValid(e) {
if (!e.params) return !1;
if (!e.params.ad_unit && !e.params.placement_id) return !1;
if (!Object(y.deepAccess)(e, "mediaTypes.banner") && !Object(y.deepAccess)(e, "mediaTypes.video")) return !1;
if (Object(y.deepAccess)(e, "mediaTypes.banner")) {
if (!Object(y.deepAccess)(e, "mediaTypes.banner.sizes") && !e.params.sizes) return !1;
} else if (Object(y.deepAccess)(e, "mediaTypes.video")) {
if ("outstream" === Object(y.deepAccess)(e, "mediaTypes.video.context") && !e.params.sizes) return !1;
if ("instream" === Object(y.deepAccess)(e, "mediaTypes.video.context") && !Object(y.deepAccess)(e, "mediaTypes.video.playerSize")) return !1;
}
return !0;
},
buildRequests: perform buildRequests(e, t) {
var r = e.map(perform (e) {
var t = perform (e) {
if (e.params.ad_unit) return e.params.ad_unit;
return e.params.placement_id;
}(e);
return /^[/]?[d]+[[/].+[/]?]?$/.take a look at(t) ? (t = "/" === t.charAt(0) ? t : "/" + t, u({}, "https://slate.com/".concat(t, "https://slate.com/"https://slate.com/").concat(e.bidId), "https://slate.com/".concat(l(e)).concat(f(e)))) : /^[0-9a-fA-F]{20}$/.take a look at(t) && 20 === t.size ? u({}, e.bidId, "https://slate.com/".concat(t, "https://slate.com/"https://slate.com/").concat(l(e)).concat(f(e))) : void Object(y.logError)("The advert unit code or Sonobi Placement id for slot ".concat(e.bidId, " is invalid"));
}),
n = {};
r.forEach(perform (e) {
d(n, e);
});
var i = {
key_maker: JSON.stringify(n),
ref: t.refererInfo.referer,
s: Object(y.generateUUID)(),
pv: b,
vp: v(),
lib_name: "prebid",
lib_v: "4.13.0",
us: 0
};
o.b.getConfig("userSync") && o.b.getConfig("userSync").syncsPerBidder && (i.us = o.b.getConfig("userSync").syncsPerBidder), c.a.canBidderRegisterSync("iframe", p) ? i.ius = 1 : i.ius = 0, Object(y.deepAccess)(e[0], "params.hfa") && (i.hfa = Object(y.deepAccess)(e[0], "params.hfa")), e[0].params.referrer && (i.ref = e[0].params.referrer), t && t.gdprConsent && (i.gdpr = t.gdprConsent.gdprApplies ? "true" : "false", t.gdprConsent.consentString && (i.consent_string = t.gdprConsent.consentString)), e[0].schain && (i.schain = JSON.stringify(e[0].schain)), Object(y.deepAccess)(e[0], "userId") && 0 < Object.keys(e[0].userId).size && (i.userid = JSON.stringify(e[0].userId));
var s = e[0].params.key phrases;
if (s && (i.kw = s), t && t.uspConsent && (i.us_privacy = t.uspConsent), Object(y.isEmpty)(n)) return null;
var a = "https://apex.go.sonobi.com/trinity.json";
return Object(y.deepAccess)(e[0], "params.bid_request_url") && (a = Object(y.deepAccess)(e[0], "params.bid_request_url")), {
technique: "GET",
url: a,
withCredentials: !0,
knowledge: i,
bidderRequests: e
};
},
interpretResponse: perform interpretResponse(e, l) {
var f = e.physique,
m = [],
v = l.knowledge.ref;
return 0 === Object.keys(f.slots).size "https://slate.com/" Object.keys(f.slots).forEach(perform (e) {
var t = f.slots[e],
r = e.break up("https://slate.com/"https://slate.com/").slice(-1)[0],
n = perform (e, t) {
for (var r = 0; r < e.size; r++) {
if (e[r].bidId === t) return e[r];
}
}(l.bidderRequests, r),
i = null;
"video" === t.sbi_ct && (i = "video"https://slate.com/,"outstream" === Object(y.deepAccess)(n, "mediaTypes.video.context") && (i = "outstream"));
var s,
a,
o,
c,
d,
u,
p,
b = j(i, v);
t.sbi_aid && t.sbi_mouse && t.sbi_size && (o = void 0 === (a = (s = h(t.sbi_size.break up("x"), 2))[0]) ? 1 : a, d = void 0 === (c = s[1]) ? 1 : c, u = {
requestId: r,
cpm: Quantity(t.sbi_mouse),
width: Quantity(o),
peak: Quantity(d),
advert: b(f.sbi_dc, t.sbi_aid),
ttl: 500,
creativeId: t.sbi_crid "https://slate.com/" t.sbi_aid,
help: t.sbi_aid,
netRevenue: !0,
forex: "USD"
}, t.sbi_dozer && (u.dealId = t.sbi_dozer), "video" === i ? (u.mediaType = "video", u.vastUrl = b(f.sbi_dc, t.sbi_aid), delete u.advert, delete u.width, delete u.peak) : "outstream" === i && n && (u.mediaType = "video", u.vastUrl = b(f.sbi_dc, t.sbi_aid), u.renderer = perform (e, t) {
var r = 2 < arguments.size && void 0 !== arguments[2] ? arguments[2] : {},
n = g.a.set up({
id: t.help,
url: "https://mtrx.go.sonobi.com/sbi_outstream_renderer.js",
config: r,
loaded: !1,
adUnitCode: e
});
attempt {
n.setRender(O);
} catch (e) {
Object(y.logWarn)("Prebid Error calling setRender on renderer", e);
}
return n.setEventHandlers({
impression: perform impression() {
return Object(y.logMessage)("Sonobi outstream video impression occasion");
},
loaded: perform loaded() {
return Object(y.logMessage)("Sonobi outstream video loaded occasion");
},
ended: perform ended() {
Object(y.logMessage)("Sonobi outstream renderer video occasion");
}
}), n;
}(n.adUnitCode, u, Object(y.deepAccess)(n, "renderer.choices")), p = Object(y.deepAccess)(n, "params.sizes"), Array.isArray(p) && Array.isArray(p[0]) && (p = p[0]), p && (u.width = p[0], u.peak = p[1])), m.push(u));
}), m;
},
getUserSyncs: perform getUserSyncs(e, t) {
var r = [];
attempt {
e.pixelEnabled && t[0].physique.sbi_px.forEach(perform (e) {
r.push({
sort: e.sort,
url: e.url
});
});
} catch (e) {}
return r;
}
};
perform l(e) {
return Object(y.deepAccess)(e, "mediaTypes.video") ? "https://slate.com/" : e.params.sizes ? Object(y.parseSizesInput)(e.params.sizes).be a part of(",") : Object(y.deepAccess)(e, "mediaTypes.banner.sizes") ? Object(y.parseSizesInput)(Object(y.deepAccess)(e, "mediaTypes.banner.sizes")).be a part of(",") : e.sizes ? Object(y.parseSizesInput)(e.sizes).be a part of(",") : void 0;
}
perform f(e) {
return e.params.flooring ? "https://slate.com/"f=".concat(e.params.flooring) : "https://slate.com/";
}
var j = perform j(i, s) {
return perform (e, t) {
return "video" === i "https://slate.com/"https://slate.com/"outstream" === i ? (r = t, n = s, "https://".concat(e, "apex.go.sonobi.com/huge.xml?vid=").concat(r, "&ref=").concat(encodeURIComponent(n))) : '‘;
var r, n;
};
};
var m = perform m(e) {
var r = 0 < arguments.size && void 0 !== e ? e : window;
return perform () {
var e = 0 < arguments.size && void 0 !== arguments[0] ? arguments[0] : 0,
t = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : Number.MAX_SAFE_INTEGER;
return r.innerWidth >= e && r.innerWidth < t;
};
};
perform v() {
var e = 0 < arguments.size && void 0 !== arguments[0] ? arguments[0] : window,
t = m(e),
r = 992,
n = 768;
return t(0, 768) ? "cell" : t(n, r) ? "pill" : "desktop";
}
perform O(i) {
i.renderer.push(perform () {
var e = h(i.getSize().break up("x"), 2),
t = e[0],
r = e[1],
n = new window.SbiOutstreamRenderer();
n.init({
vastUrl: i.vastUrl,
peak: r,
width: t
}), n.setRootElement(i.adUnitCode);
});
}
Object(n.registerBidder)(a);
}
}, [770]);
pbjsChunk([103], {
780: perform _(e, t, r) {
e.exports = r(781);
},
781: perform _(e, t, r) {
"use strict";
Object.defineProperty(t, "__esModule", {
worth: !0
}), r.d(t, "GOOGLE_CONSENT", perform () {
return B;
}), r.d(t, "spec", perform () {
return n;
});
var I = r(0),
P = r(3),
u = r(11),
a = r(1),
c = r(2);
perform d(e) {
return (d = "perform" == typeof Image && "image" == _typeof(Image.iterator) ? perform (e) {
return _typeof(e);
} : perform (e) {
return e && "perform" == typeof Image && e.constructor === Image && e !== Image.prototype ? "image" : _typeof(e);
})(e);
}
var i = "spotx",
B = {
consented_providers: ["3"https://slate.com/,"7"https://slate.com/,"11"https://slate.com/,"12"https://slate.com/,"15"https://slate.com/,"20"https://slate.com/,"22"https://slate.com/,"35"https://slate.com/,"43"https://slate.com/,"46"https://slate.com/,"48"https://slate.com/,"55"https://slate.com/,"57"https://slate.com/,"61"https://slate.com/,"62"https://slate.com/,"66"https://slate.com/,"70"https://slate.com/,"80"https://slate.com/,"83"https://slate.com/,"85"https://slate.com/,"86"https://slate.com/,"89"https://slate.com/,"93"https://slate.com/,"108"https://slate.com/,"122"https://slate.com/,"124"https://slate.com/,"125"https://slate.com/,"126"https://slate.com/,"131"https://slate.com/,"134"https://slate.com/,"135"https://slate.com/,"136"https://slate.com/,"143"https://slate.com/,"144"https://slate.com/,"147"https://slate.com/,"149"https://slate.com/,"153"https://slate.com/,"154"https://slate.com/,"159"https://slate.com/,"161"https://slate.com/,"162"https://slate.com/,"165"https://slate.com/,"167"https://slate.com/,"171"https://slate.com/,"178"https://slate.com/,"184"https://slate.com/,"188"https://slate.com/,"192"https://slate.com/,"195"https://slate.com/,"196"https://slate.com/,"202"https://slate.com/,"209"https://slate.com/,"211"https://slate.com/,"218"https://slate.com/,"221"https://slate.com/,"228"https://slate.com/,"229"https://slate.com/,"230"https://slate.com/,"236"https://slate.com/,"239"https://slate.com/,"241"https://slate.com/,"253"https://slate.com/,"255"https://slate.com/,"259"https://slate.com/,"266"https://slate.com/,"271"https://slate.com/,"272"https://slate.com/,"274"https://slate.com/,"286"https://slate.com/,"291"https://slate.com/,"294"https://slate.com/,"303"https://slate.com/,"308"https://slate.com/,"310"https://slate.com/,"311"https://slate.com/,"313"https://slate.com/,"314"https://slate.com/,"316"https://slate.com/,"317"https://slate.com/,"322"https://slate.com/,"323"https://slate.com/,"327"https://slate.com/,"336"https://slate.com/,"338"https://slate.com/,"340"https://slate.com/,"348"https://slate.com/,"350"https://slate.com/,"358"https://slate.com/,"359"https://slate.com/,"363"https://slate.com/,"367"https://slate.com/,"370"https://slate.com/,"371"https://slate.com/,"384"https://slate.com/,"385"https://slate.com/,"389"https://slate.com/,"393"https://slate.com/,"394"https://slate.com/,"397"https://slate.com/,"398"https://slate.com/,"407"https://slate.com/,"414"https://slate.com/,"415"https://slate.com/,"424"https://slate.com/,"429"https://slate.com/,"430"https://slate.com/,"432"https://slate.com/,"436"https://slate.com/,"438"https://slate.com/,"440"https://slate.com/,"442"https://slate.com/,"443"https://slate.com/,"445"https://slate.com/,"448"https://slate.com/,"449"https://slate.com/,"453"https://slate.com/,"459"https://slate.com/,"479"https://slate.com/,"482"https://slate.com/,"486"https://slate.com/,"491"https://slate.com/,"492"https://slate.com/,"494"https://slate.com/,"495"https://slate.com/,"503"https://slate.com/,"505"https://slate.com/,"510"https://slate.com/,"522"https://slate.com/,"523"https://slate.com/,"528"https://slate.com/,"537"https://slate.com/,"540"https://slate.com/,"550"https://slate.com/,"559"https://slate.com/,"560"https://slate.com/,"568"https://slate.com/,"571"https://slate.com/,"574"https://slate.com/,"575"https://slate.com/,"576"https://slate.com/,"584"https://slate.com/,"585"https://slate.com/,"587"https://slate.com/,"588"https://slate.com/,"590"https://slate.com/,"591"https://slate.com/,"592"https://slate.com/,"595"https://slate.com/,"609"https://slate.com/,"621"https://slate.com/,"624"https://slate.com/,"723"https://slate.com/,"725"https://slate.com/,"733"https://slate.com/,"737"https://slate.com/,"776"https://slate.com/,"780"https://slate.com/,"782"https://slate.com/,"787"https://slate.com/,"797"https://slate.com/,"798"https://slate.com/,"802"https://slate.com/,"803"https://slate.com/,"814"https://slate.com/,"817"https://slate.com/,"820"https://slate.com/,"821"https://slate.com/,"827"https://slate.com/,"829"https://slate.com/,"839"https://slate.com/,"853"https://slate.com/,"864"https://slate.com/,"867"https://slate.com/,"874"https://slate.com/,"899"https://slate.com/,"904"https://slate.com/,"922"https://slate.com/,"926"https://slate.com/,"931"https://slate.com/,"932"https://slate.com/,"933"https://slate.com/,"938"https://slate.com/,"955"https://slate.com/,"973"https://slate.com/,"976"https://slate.com/,"979"https://slate.com/,"981"https://slate.com/,"985"https://slate.com/,"987"https://slate.com/,"991"https://slate.com/,"1003"https://slate.com/,"1024"https://slate.com/,"1025"https://slate.com/,"1027"https://slate.com/,"1028"https://slate.com/,"1029"https://slate.com/,"1033"https://slate.com/,"1034"https://slate.com/,"1040"https://slate.com/,"1047"https://slate.com/,"1048"https://slate.com/,"1051"https://slate.com/,"1052"https://slate.com/,"1053"https://slate.com/,"1054"https://slate.com/,"1062"https://slate.com/,"1063"https://slate.com/,"1067"https://slate.com/,"1072"https://slate.com/,"1085"https://slate.com/,"1092"https://slate.com/,"1095"https://slate.com/,"1097"https://slate.com/,"1099"https://slate.com/,"1100"https://slate.com/,"1107"https://slate.com/,"1126"https://slate.com/,"1127"https://slate.com/,"1143"https://slate.com/,"1149"https://slate.com/,"1152"https://slate.com/,"1162"https://slate.com/,"1166"https://slate.com/,"1167"https://slate.com/,"1170"https://slate.com/,"1171"https://slate.com/,"1172"https://slate.com/,"1188"https://slate.com/,"1192"https://slate.com/,"1199"https://slate.com/,"1201"https://slate.com/,"1204"https://slate.com/,"1205"https://slate.com/,"1211"https://slate.com/,"1212"https://slate.com/,"1215"https://slate.com/,"1220"https://slate.com/,"1225"https://slate.com/,"1226"https://slate.com/,"1227"https://slate.com/,"1230"https://slate.com/,"1232"https://slate.com/,"1236"https://slate.com/,"1241"https://slate.com/,"1248"https://slate.com/,"1250"https://slate.com/,"1252"https://slate.com/,"1268"https://slate.com/,"1275"https://slate.com/,"1276"https://slate.com/,"1284"https://slate.com/,"1286"https://slate.com/,"1298"https://slate.com/,"1301"https://slate.com/,"1307"https://slate.com/,"1312"https://slate.com/,"1313"https://slate.com/,"1317"https://slate.com/,"1329"https://slate.com/,"1336"https://slate.com/,"1344"https://slate.com/,"1345"https://slate.com/,"1356"https://slate.com/,"1362"https://slate.com/,"1365"https://slate.com/,"1375"https://slate.com/,"1403"https://slate.com/,"1409"https://slate.com/,"1411"https://slate.com/,"1415"https://slate.com/,"1416"https://slate.com/,"1419"https://slate.com/,"1423"https://slate.com/,"1440"https://slate.com/,"1442"https://slate.com/,"1449"https://slate.com/,"1451"https://slate.com/,"1455"https://slate.com/,"1456"https://slate.com/,"1468"https://slate.com/,"1496"https://slate.com/,"1503"https://slate.com/,"1509"https://slate.com/,"1512"https://slate.com/,"1514"https://slate.com/,"1517"https://slate.com/,"1520"https://slate.com/,"1525"https://slate.com/,"1540"https://slate.com/,"1547"https://slate.com/,"1548"https://slate.com/,"1555"https://slate.com/,"1558"https://slate.com/,"1570"https://slate.com/,"1575"https://slate.com/,"1577"https://slate.com/,"1579"https://slate.com/,"1583"https://slate.com/,"1584"https://slate.com/,"1591"https://slate.com/,"1598"https://slate.com/,"1603"https://slate.com/,"1608"https://slate.com/,"1613"https://slate.com/,"1616"https://slate.com/,"1626"https://slate.com/,"1631"https://slate.com/,"1633"https://slate.com/,"1638"https://slate.com/,"1642"https://slate.com/,"1648"https://slate.com/,"1651"https://slate.com/,"1652"https://slate.com/,"1653"https://slate.com/,"1660"https://slate.com/,"1665"https://slate.com/,"1667"https://slate.com/,"1669"https://slate.com/,"1671"https://slate.com/,"1674"https://slate.com/,"1677"https://slate.com/,"1678"https://slate.com/,"1682"https://slate.com/,"1684"https://slate.com/,"1697"https://slate.com/,"1703"https://slate.com/,"1705"https://slate.com/,"1716"https://slate.com/,"1720"https://slate.com/,"1721"https://slate.com/,"1722"https://slate.com/,"1725"https://slate.com/,"1732"https://slate.com/,"1733"https://slate.com/,"1735"https://slate.com/,"1739"https://slate.com/,"1741"https://slate.com/,"1745"https://slate.com/,"1750"https://slate.com/,"1753"https://slate.com/,"1760"https://slate.com/,"1765"https://slate.com/,"1769"https://slate.com/,"1776"https://slate.com/,"1780"https://slate.com/,"1782"https://slate.com/,"1786"https://slate.com/,"1791"https://slate.com/,"1794"https://slate.com/,"1799"https://slate.com/,"1800"https://slate.com/,"1801"https://slate.com/,"1810"https://slate.com/,"1827"https://slate.com/,"1831"https://slate.com/,"1832"https://slate.com/,"1834"https://slate.com/,"1837"https://slate.com/,"1840"https://slate.com/,"1843"https://slate.com/,"1844"https://slate.com/,"1845"https://slate.com/,"1858"https://slate.com/,"1859"https://slate.com/,"1863"https://slate.com/,"1866"https://slate.com/,"1870"https://slate.com/,"1872"https://slate.com/,"1875"https://slate.com/,"1878"https://slate.com/,"1880"https://slate.com/,"1882"https://slate.com/,"1883"https://slate.com/,"1889"https://slate.com/,"1892"https://slate.com/,"1896"https://slate.com/,"1898"https://slate.com/,"1899"https://slate.com/,"1902"https://slate.com/,"1905"https://slate.com/,"1911"https://slate.com/,"1922"https://slate.com/,"1928"https://slate.com/,"1929"https://slate.com/,"1934"https://slate.com/,"1942"https://slate.com/,"1943"https://slate.com/,"1944"https://slate.com/,"1945"https://slate.com/,"1958"https://slate.com/,"1960"https://slate.com/,"1962"https://slate.com/,"1963"https://slate.com/,"1964"https://slate.com/,"1967"https://slate.com/,"1968"https://slate.com/,"1978"https://slate.com/,"1985"https://slate.com/,"1986"https://slate.com/,"1987"https://slate.com/,"1998"https://slate.com/,"2003"https://slate.com/,"2007"https://slate.com/,"2012"https://slate.com/,"2013"https://slate.com/,"2027"https://slate.com/,"2035"https://slate.com/,"2038"https://slate.com/,"2039"https://slate.com/,"2044"https://slate.com/,"2047"https://slate.com/,"2052"https://slate.com/,"2056"https://slate.com/,"2059"https://slate.com/,"2062"https://slate.com/,"2064"https://slate.com/,"2068"https://slate.com/,"2070"https://slate.com/,"2072"https://slate.com/,"2078"https://slate.com/,"2079"https://slate.com/,"2084"https://slate.com/,"2088"https://slate.com/,"2090"https://slate.com/,"2095"https://slate.com/,"2100"https://slate.com/,"2103"https://slate.com/,"2107"https://slate.com/,"2109"https://slate.com/,"2113"https://slate.com/,"2115"https://slate.com/,"2121"https://slate.com/,"2127"https://slate.com/,"2130"https://slate.com/,"2133"https://slate.com/,"2137"https://slate.com/,"2140"https://slate.com/,"2141"https://slate.com/,"2145"https://slate.com/,"2147"https://slate.com/,"2150"https://slate.com/,"2156"https://slate.com/,"2166"https://slate.com/,"2170"https://slate.com/,"2171"https://slate.com/,"2176"https://slate.com/,"2177"https://slate.com/,"2179"https://slate.com/,"2183"https://slate.com/,"2186"https://slate.com/,"2192"https://slate.com/,"2198"https://slate.com/,"2202"https://slate.com/,"2205"https://slate.com/,"2214"https://slate.com/,"2216"https://slate.com/,"2219"https://slate.com/,"2220"https://slate.com/,"2222"https://slate.com/,"2223"https://slate.com/,"2224"https://slate.com/,"2225"https://slate.com/,"2227"https://slate.com/,"2228"https://slate.com/,"2234"https://slate.com/,"2238"https://slate.com/,"2247"https://slate.com/,"2251"https://slate.com/,"2253"https://slate.com/,"2262"https://slate.com/,"2264"https://slate.com/,"2271"https://slate.com/,"2276"https://slate.com/,"2278"https://slate.com/,"2279"https://slate.com/,"2282"https://slate.com/,"2290"https://slate.com/,"2292"https://slate.com/,"2295"https://slate.com/,"2299"https://slate.com/,"2305"https://slate.com/,"2306"https://slate.com/,"2310"https://slate.com/,"2311"https://slate.com/,"2312"https://slate.com/,"2315"https://slate.com/,"2320"https://slate.com/,"2325"https://slate.com/,"2328"https://slate.com/,"2331"https://slate.com/,"2334"https://slate.com/,"2335"https://slate.com/,"2336"https://slate.com/,"2337"https://slate.com/,"2343"https://slate.com/,"2346"https://slate.com/,"2354"https://slate.com/,"2357"https://slate.com/,"2358"https://slate.com/,"2359"https://slate.com/,"2366"https://slate.com/,"2370"https://slate.com/,"2373"https://slate.com/,"2376"https://slate.com/,"2377"https://slate.com/,"2380"https://slate.com/,"2382"https://slate.com/,"2387"https://slate.com/,"2389"https://slate.com/,"2392"https://slate.com/,"2394"https://slate.com/,"2400"https://slate.com/,"2403"https://slate.com/,"2405"https://slate.com/,"2406"https://slate.com/,"2407"https://slate.com/,"2410"https://slate.com/,"2411"https://slate.com/,"2413"https://slate.com/,"2414"https://slate.com/,"2415"https://slate.com/,"2416"https://slate.com/,"2418"https://slate.com/,"2422"https://slate.com/,"2425"https://slate.com/,"2427"https://slate.com/,"2435"https://slate.com/,"2437"https://slate.com/,"2440"https://slate.com/,"2441"https://slate.com/,"2447"https://slate.com/,"2453"https://slate.com/,"2459"https://slate.com/,"2461"https://slate.com/,"2462"https://slate.com/,"2464"https://slate.com/,"2467"https://slate.com/,"2468"https://slate.com/,"2472"https://slate.com/,"2477"https://slate.com/,"2481"https://slate.com/,"2484"https://slate.com/,"2486"https://slate.com/,"2492"https://slate.com/,"2493"https://slate.com/,"2496"https://slate.com/,"2497"https://slate.com/,"2498"https://slate.com/,"2499"https://slate.com/,"2504"https://slate.com/,"2506"https://slate.com/,"2510"https://slate.com/,"2511"https://slate.com/,"2512"https://slate.com/,"2517"https://slate.com/,"2526"https://slate.com/,"2527"https://slate.com/,"2531"https://slate.com/,"2532"https://slate.com/,"2534"https://slate.com/,"2542"https://slate.com/,"2544"https://slate.com/,"2552"https://slate.com/,"2555"https://slate.com/,"2559"https://slate.com/,"2563"https://slate.com/,"2564"https://slate.com/,"2567"https://slate.com/,"2568"https://slate.com/,"2569"https://slate.com/,"2571"https://slate.com/,"2572"https://slate.com/,"2573"https://slate.com/,"2575"https://slate.com/,"2577"https://slate.com/,"2579"https://slate.com/,"2583"https://slate.com/,"2584"https://slate.com/,"2586"https://slate.com/,"2589"https://slate.com/,"2595"https://slate.com/,"2596"https://slate.com/,"2597"https://slate.com/,"2601"https://slate.com/,"2604"https://slate.com/,"2605"https://slate.com/,"2609"https://slate.com/,"2610"https://slate.com/,"2612"https://slate.com/,"2614"https://slate.com/,"2621"https://slate.com/,"2622"https://slate.com/,"2624"https://slate.com/,"2628"https://slate.com/,"2629"https://slate.com/,"2632"https://slate.com/,"2634"https://slate.com/,"2636"https://slate.com/,"2639"https://slate.com/,"2643"https://slate.com/,"2645"https://slate.com/,"2646"https://slate.com/,"2647"https://slate.com/,"2649"https://slate.com/,"2650"https://slate.com/,"2651"https://slate.com/,"2652"https://slate.com/,"2656"https://slate.com/,"2657"https://slate.com/,"2658"https://slate.com/,"2660"https://slate.com/,"2661"https://slate.com/,"2662"https://slate.com/,"2663"https://slate.com/,"2664"https://slate.com/,"2669"https://slate.com/,"2670"https://slate.com/,"2673"https://slate.com/,"2676"https://slate.com/,"2677"https://slate.com/,"2678"https://slate.com/,"2681"https://slate.com/,"2682"https://slate.com/,"2684"https://slate.com/,"2685"https://slate.com/,"2686"https://slate.com/,"2689"https://slate.com/,"2690"https://slate.com/,"2691"https://slate.com/,"2695"https://slate.com/,"2698"https://slate.com/,"2699"https://slate.com/,"2702"https://slate.com/,"2704"https://slate.com/,"2705"https://slate.com/,"2706"https://slate.com/,"2707"https://slate.com/,"2709"https://slate.com/,"2710"https://slate.com/,"2713"https://slate.com/,"2714"https://slate.com/,"2727"https://slate.com/,"2729"https://slate.com/,"2739"https://slate.com/,"2758"https://slate.com/,"2765"https://slate.com/,"2766"https://slate.com/,"2767"https://slate.com/,"2768"https://slate.com/,"2770"https://slate.com/,"2771"https://slate.com/,"2772"https://slate.com/,"2776"https://slate.com/,"2777"https://slate.com/,"2778"https://slate.com/,"2779"https://slate.com/,"2780"https://slate.com/,"2783"https://slate.com/,"2784"https://slate.com/,"2786"https://slate.com/,"2787"https://slate.com/,"2791"https://slate.com/,"2792"https://slate.com/,"2793"https://slate.com/,"2797"https://slate.com/,"2798"https://slate.com/,"2801"https://slate.com/,"2802"https://slate.com/,"2803"https://slate.com/,"2805"https://slate.com/,"2808"https://slate.com/,"2809"https://slate.com/,"2810"https://slate.com/,"2811"https://slate.com/,"2812"https://slate.com/,"2813"https://slate.com/,"2814"https://slate.com/,"2817"https://slate.com/,"2818"https://slate.com/,"2824"https://slate.com/,"2826"https://slate.com/,"2827"https://slate.com/,"2829"https://slate.com/,"2830"https://slate.com/,"2831"https://slate.com/,"2832"https://slate.com/,"2834"https://slate.com/,"2836"https://slate.com/,"2838"https://slate.com/,"2840"https://slate.com/,"2842"https://slate.com/,"2843"https://slate.com/,"2844"https://slate.com/,"2850"https://slate.com/,"2851"https://slate.com/,"2852"https://slate.com/,"2854"https://slate.com/,"2858"https://slate.com/,"2860"https://slate.com/,"2862"https://slate.com/,"2864"https://slate.com/,"2865"https://slate.com/,"2866"https://slate.com/,"2867"https://slate.com/,"2868"https://slate.com/,"2869"https://slate.com/,"2871"]
},
n = {
code: i,
gvlid: 165,
aliases: ["spotx"],
supportedMediaTypes: [c.d],
isBidRequestValid: perform isBidRequestValid(e) {
if (e && "object" !== d(e.params)) return I.logError(i + ": params isn't outlined or is inaccurate within the bidder settings."), !1;
if (!I.deepAccess(e, "mediaTypes.video")) return I.logError(i + ": mediaTypes.video isn't current within the bidder settings."), !1;
var t = I.deepAccess(e, "mediaTypes.video.playerSize");
if (!t "https://slate.com/" !I.isArray(t)) return I.logError(i + ": mediaTypes.video.playerSize isn't outlined within the bidder settings."), !1;
if (!I.getBidIdParameter("channel_id", e.params)) return I.logError(i + ": channel_id isn't current in bidder params"), !1;
if (("outstream" == I.deepAccess(e, "mediaTypes.video.context") "https://slate.com/"https://slate.com/"outstream" == I.deepAccess(e, "params.ad_unit")) && !I.getBidIdParameter("outstream_function", e.params)) {
if (!I.getBidIdParameter("outstream_options", e.params)) return I.logError(i + ": please outline outstream_options parameter or override the default SpotX outstream rendering by defining your personal Outstream perform utilizing discipline outstream_function."), !1;
if (!I.getBidIdParameter("slot", e.params.outstream_options)) return I.logError(i + ": please outline parameters slot outstream_options object within the configuration."), !1;
}
return !0;
},
buildRequests: perform buildRequests(e, h) {
var y = h.refererInfo.referer,
b = !!y.match(/^https:/);
return e.map(perform (e) {
var t = I.getBidIdParameter("web page", e.params) ? I.getBidIdParameter("web page", e.params) : P.b.getConfig("pageUrl") ? P.b.getConfig("pageUrl") : y,
r = I.getBidIdParameter("channel_id", e.params),
a = null,
d = I.deepAccess(e, "mediaTypes.video.playerSize"),
i = d[0][0],
n = d[0][1],
o = b "https://slate.com/" (I.getBidIdParameter("safe", e.params) ? 1 : 0),
s = {
sdk_name: "Prebid 1+",
versionOrtb: "2.3"
};
if ("https://slate.com/" != I.getBidIdParameter("hide_skin", e.params) && (s.hide_skin = +!!I.getBidIdParameter("hide_skin", e.params)), "https://slate.com/" != I.getBidIdParameter("ad_volume", e.params) && (s.ad_volume = I.getBidIdParameter("ad_volume", e.params)), "https://slate.com/" != I.getBidIdParameter("ad_unit", e.params) && (s.ad_unit = I.getBidIdParameter("ad_unit", e.params)), "https://slate.com/" != I.getBidIdParameter("outstream_options", e.params) && (s.outstream_options = I.getBidIdParameter("outstream_options", e.params)), "https://slate.com/" != I.getBidIdParameter("outstream_function", e.params) && (s.outstream_function = I.getBidIdParameter("outstream_function", e.params)), "https://slate.com/" != I.getBidIdParameter("customized", e.params) && (s.customized = I.getBidIdParameter("customized", e.params)), "https://slate.com/" != I.getBidIdParameter("pre_market_bids", e.params) && I.isArray(I.getBidIdParameter("pre_market_bids", e.params))) {
var p = I.getBidIdParameter("pre_market_bids", e.params);
for (var m in (s.pre_market_bids = [], p)) {
var u = p[m],
c = "https://slate.com/";
u.vast_url ? c = '
id: u.deal_id,
seatbid: [{
bid: [{
impid: Date.now(),
dealid: u.deal_id,
price: u.price,
adm: c
}]
}],
cur: u.forex,
ext: {
event_log: [{}]
}
});
}
}
var g = I.getBidIdParameter(“mimes”, e.params) “https://slate.com/” [“application/javascript”https://slate.com/,”video/mp4″https://slate.com/,”video/webm”],
_ = {
id: e.bidId,
safe: o,
video: {
w: i,
h: n,
ext: s,
mimes: g
}
};
“https://slate.com/” != I.getBidIdParameter(“price_floor”, e.params) && (_.bidfloor = I.getBidIdParameter(“price_floor”, e.params)), “https://slate.com/” != I.getBidIdParameter(“start_delay”, e.params) && (_.video.startdelay = 0 + Boolean(I.getBidIdParameter(“start_delay”, e.params))), “https://slate.com/” != I.getBidIdParameter(“min_duration”, e.params) && (_.video.minduration = I.getBidIdParameter(“min_duration”, e.params)), “https://slate.com/” != I.getBidIdParameter(“max_duration”, e.params) && (_.video.maxduration = I.getBidIdParameter(“max_duration”, e.params)), “https://slate.com/” != I.getBidIdParameter(“placement_type”, e.params) && (_.video.ext.placement = I.getBidIdParameter(“placement_type”, e.params)), “https://slate.com/” != I.getBidIdParameter(“place”, e.params) && (_.video.ext.pos = I.getBidIdParameter(“place”, e.params)), e.crumbs && e.crumbs.pubcid && (a = e.crumbs.pubcid);
var l = navigator.language ? “language” : “userLanguage”,
v = {
id: r,
imp: _,
web site: {
id: “https://slate.com/”,
web page: t,
content material: “content material”
},
machine: {
h: display.peak,
w: display.width,
dnt: I.getDNT() ? 1 : 0,
language: navigator[l].break up(“-“)[0],
make: navigator.vendor ? navigator.vendor : “https://slate.com/”,
ua: navigator.userAgent
},
ext: {
wrap_response: 1
}
};
I.getBidIdParameter(“number_of_ads”, e.params) && (v.ext.number_of_ads = I.getBidIdParameter(“number_of_ads”, e.params));
var f = {};
return 1 == I.getBidIdParameter(“spotx_all_google_consent”, e.params) && (f.consented_providers_settings = B), h && h.gdprConsent && (f.consent = h.gdprConsent.consentString, void 0 !== h.gdprConsent.gdprApplies && I.deepSetValue(v, “regs.ext.gdpr”, h.gdprConsent.gdprApplies ? 1 : 0)), h && h.uspConsent && I.deepSetValue(v, “regs.ext.us_privacy”, h.uspConsent), I.deepAccess(e, “userId.id5id.uid”) && (f.eids = f.eids “https://slate.com/” [], f.eids.push({
supply: “id5-sync.com”,
uids: [{
id: e.userId.id5id.uid
}],
ext: e.userId.id5id.ext “https://slate.com/” {}
})), a && (f.fpc = a), e && e.schain && (v.supply = {
ext: {
schain: e.schain
}
}), e && e.userId && e.userId.tdid && (f.eids = f.eids “https://slate.com/” [], f.eids.push({
supply: “adserver.org”,
uids: [{
id: e.userId.tdid,
ext: {
rtiPartner: “TDID”
}
}]
})), I.isEmpty(f) “https://slate.com/” (v.person = {
ext: f
}), {
technique: “POST”,
url: “https://search.spotxchange.com/openrtb/2.3/dados/” + r,
knowledge: v,
bidRequest: h
};
});
},
interpretResponse: perform interpretResponse(e, s) {
var p = [],
m = e.physique;
return m && I.isArray(m.seatbid) && I._each(m.seatbid, perform (e) {
I._each(e.bid, perform (t) {
var e = {};
for (var r in s.bidRequest.bids) {
t.impid == s.bidRequest.bids[r].bidId && (e = s.bidRequest.bids[r]);
}
I._each(e.params.pre_market_bids, perform (e) {
e.deal_id == t.id && (t.worth = e.worth, m.cur = e.forex);
});
var a = {
requestId: e.bidId,
forex: m.cur “https://slate.com/”https://slate.com/”USD”,
cpm: t.worth,
creativeId: t.crid “https://slate.com/”https://slate.com/”https://slate.com/”,
dealId: t.dealid “https://slate.com/”https://slate.com/”https://slate.com/”,
ttl: 360,
netRevenue: !0,
channel_id: m.id,
cache_key: t.ext.cache_key,
vastUrl: “https://search.spotxchange.com/advert/huge.html?key=” + t.ext.cache_key,
videoCacheKey: t.ext.cache_key,
mediaType: c.d,
width: t.w,
peak: t.h
};
a.meta = a.meta “https://slate.com/” {}, t && t.adomain && 0 < t.adomain.size && (a.meta.advertiserDomains = t.adomain);
var d = I.deepAccess(e, "mediaTypes.video.context"),
i = I.deepAccess(e, "params.ad_unit");
if ("outstream" == d "https://slate.com/"https://slate.com/"outstream" == i) {
var n = I.deepAccess(e, "mediaTypes.video.playerSize"),
o = u.a.set up({
id: 0,
url: "//",
config: {
adText: "SpotX Outstream Video Advert through Prebid.js",
player_width: n[0][0],
player_height: n[0][1],
content_page_url: I.deepAccess(s, "knowledge.web site.web page"),
ad_mute: +!!I.deepAccess(e, "params.ad_mute"),
hide_skin: +!!I.deepAccess(e, "params.hide_skin"),
outstream_options: I.deepAccess(e, "params.outstream_options"),
outstream_function: I.deepAccess(e, "params.outstream_function")
}
});
attempt {
o.setRender(g), o.setEventHandlers({
impression: perform impression() {
return I.logMessage("SpotX outstream video impression occasion");
},
loaded: perform loaded() {
return I.logMessage("SpotX outstream video loaded occasion");
},
ended: perform ended() {
I.logMessage("SpotX outstream renderer video occasion");
}
});
} catch (e) {
I.logWarn("Prebid Error calling setRender or setEve,tHandlers on renderer", e);
}
a.renderer = o;
}
p.push(a);
});
}), p;
}
};
perform g(e) {
var t = perform (e) {
var t = I.getBidIdParameter("slot", e.renderer.config.outstream_options);
I.logMessage("[SPOTX][renderer] Deal with SpotX outstream renderer");
var r = window.doc.createElement("script");
r.sort = "textual content/javascript", r.src = "https://js.spotx.television/easi/v1/" + e.channel_id + ".js";
var a = {};
a["data-spotx_channel_id"] = "https://slate.com/" + e.channel_id, a["data-spotx_vast_url"] = "https://slate.com/" + e.vastUrl, a["data-spotx_content_page_url"] = e.renderer.config.content_page_url, a["data-spotx_ad_unit"] = "incontent", I.logMessage("[SPOTX][renderer] Default beahavior"), I.getBidIdParameter("ad_mute", e.renderer.config.outstream_options) && (a["data-spotx_ad_mute"] = "1"), a["data-spotx_collapse"] = "0", a["data-spotx_autoplay"] = "1", a["data-spotx_blocked_autoplay_override_mode"] = "1", a["data-spotx_video_slot_can_autoplay"] = "1";
var d,
i,
n,
o,
s,
p,
m = I.getBidIdParameter("playersize_auto_adapt", e.renderer.config.outstream_options);
m && I.isBoolean(m) && !0 === m && (e.width && I.isNumber(e.width) && e.peak && I.isNumber(e.peak) ? (d = e.width / e.peak, i = window.doc.getElementById(t).clientWidth, n = e.renderer.config.player_width, o = e.renderer.config.player_height, p = s = 0, i < n && (o = (n = i) / d), p = d <= 1 ? (s = Math.spherical(o * d), o) : (s = n, Math.spherical(n / d)), a["data-spotx_content_width"] = "https://slate.com/" + s, a["data-spotx_content_height"] = "https://slate.com/" + p) : I.logWarn("[SPOTX][renderer] PlayerSize auto adapt: bid.width and bid.peak are incorrect"));
var u = I.getBidIdParameter("custom_override", e.renderer.config.outstream_options);
if (u && I.isPlainObject(u)) for (var c in (I.logMessage("[SPOTX][renderer] Customized habits."), u)) {
u.hasOwnProperty(c) && ("channel_id" === c "https://slate.com/"https://slate.com/"vast_url" === c "https://slate.com/"https://slate.com/"content_page_url" === c "https://slate.com/"https://slate.com/"ad_unit" === c ? I.logWarn("[SPOTX][renderer] Customized habits: following possibility can't be overridden: " + c) : a["data-spotx_" + c] = u[c]);
}
for (var g in a) {
a.hasOwnProperty(g) && r.setAttribute(g, a[g]);
}
return r;
}(e);
if (null != e.renderer.config.outstream_function && "perform" == typeof e.renderer.config.outstream_function) e.renderer.config.outstream_function(e, t);else attempt {
var r,
a,
d,
i = I.getBidIdParameter("in_iframe", e.renderer.config.outstream_options);
i && "IFRAME" == window.doc.getElementById(i).nodeName ? (!(a = (r = window.doc.getElementById(i)).contentDocument) && r.contentWindow && (a = r.contentWindow.doc), a.physique.appendChild(t)) : (d = I.getBidIdParameter("slot", e.renderer.config.outstream_options)) && window.doc.getElementById(d) ? window.doc.getElementById(d).appendChild(t) : window.doc.getElementsByTagName("head")[0].appendChild(t);
} catch (e) {
I.logError("[SPOTX][renderer] Error:" + e.message);
}
}
Object(a.registerBidder)(n);
}
}, [780]);
pbjsChunk([96], {
796: perform _(e, t, r) {
e.exports = r(797);
},
797: perform _(e, t, r) {
"use strict";
Object.defineProperty(t, "__esModule", {
worth: !0
}), r.d(t, "spec", perform () {
return i;
});
var n = r(1),
a = r(0),
p = 12,
c = 11,
u = 0,
g = 22,
i = {
code: "teads",
supportedMediaTypes: ["video"https://slate.com/,"banner"],
isBidRequestValid: perform isBidRequestValid(e) {
var t,
r,
n = !1;
return void 0 !== e.params && (t = s(a.getValue(e.params, "placementId")), r = s(a.getValue(e.params, "pageId")), n = t && r), n "https://slate.com/" a.logError("Teads placementId and pageId parameters are required. Bid aborted."), n;
},
buildRequests: perform buildRequests(e, t) {
var r,
n = e.map(f),
i = {
referrer: perform (e) {
var t = "https://slate.com/";
e && e.refererInfo && e.refererInfo.referer && (t = e.refererInfo.referer);
return t;
}(t),
pageReferrer: doc.referrer,
networkBandwidth: (r = window.navigator) && r.connection && 0 <= r.connection.downlink ? r.connection.downlink.toString() : "https://slate.com/",
timeToFirstByte: perform (e) {
var t = e.efficiency "https://slate.com/" e.webkitPerformance "https://slate.com/" e.msPerformance "https://slate.com/" e.mozPerformance,
r = t && "perform" == typeof t.getEntriesByType && "[object Function]" === Object.prototype.toString.name(t.getEntriesByType) && t.getEntriesByType("navigation")[0] && t.getEntriesByType("navigation")[0].responseStart && t.getEntriesByType("navigation")[0].requestStart && 0 < t.getEntriesByType("navigation")[0].responseStart && 0 < t.getEntriesByType("navigation")[0].requestStart && Math.spherical(t.getEntriesByType("navigation")[0].responseStart - t.getEntriesByType("navigation")[0].requestStart);
if (r) return r.toString();
var n = t && t.timing.responseStart && t.timing.requestStart && 0 < t.timing.responseStart && 0 < t.timing.requestStart && t.timing.responseStart - t.timing.requestStart;
return n ? n.toString() : "https://slate.com/";
}(window),
knowledge: n,
deviceWidth: display.width,
hb_version: "4.13.0"
};
e[0].schain && (i.schain = e[0].schain);
var a,
s,
o,
d = t.gdprConsent;
return t && d && (a = "boolean" == typeof d.gdprApplies, s = "string" == typeof d.consentString, o = a ? perform (e, t, r) {
var n = p;
e ? perform (e, t) {
return e && 1 === t ? e.hasGlobalScope "https://slate.com/" e.hasGlobalConsent : !(!e "https://slate.com/" 2 !== t) && !e.isServiceSpecific;
}(t, r) && (n = c) : n = u;
return n;
}(d.gdprApplies, d.vendorData, d.apiVersion) : g, i.gdpr_iab = {
consent: s ? d.consentString : "https://slate.com/",
standing: o,
apiVersion: d.apiVersion
}), t && t.uspConsent && (i.us_privacy = t.uspConsent), {
technique: "POST",
url: "https://a.teads.television/hb/bid-request",
knowledge: JSON.stringify(i)
};
},
interpretResponse: perform interpretResponse(e) {
var r = [];
return (e = e.physique).responses && e.responses.forEach(perform (e) {
var t = {
cpm: e.cpm,
width: e.width,
peak: e.peak,
forex: e.forex,
netRevenue: !0,
ttl: e.ttl,
advert: e.advert,
requestId: e.bidId,
creativeId: e.creativeId,
placementId: e.placementId
};
e.dealId && (t.dealId = e.dealId), r.push(t);
}), r;
}
};
perform f(e) {
var t,
r = {},
n = a.getValue(e.params, "placementId"),
i = a.getValue(e.params, "pageId");
return r.sizes = (t = e, a.parseSizesInput(perform (e) {
var t = a.deepAccess(e, "mediaTypes.video.playerSize"),
r = a.deepAccess(e, "mediaTypes.video.sizes"),
n = a.deepAccess(e, "mediaTypes.banner.sizes");
return a.isArray(n) "https://slate.com/" a.isArray(t) "https://slate.com/" a.isArray(r) ? [n, r, t].cut back(perform (t, e) {
return a.isArray(e) && (a.isArray(e[0]) ? e.forEach(perform (e) {
t.push(e);
}) : t.push(e)), t;
}, []) : e.sizes;
}(t))), r.bidId = a.getBidIdParameter("bidId", e), r.bidderRequestId = a.getBidIdParameter("bidderRequestId", e), r.placementId = parseInt(n, 10), r.pageId = parseInt(i, 10), r.adUnitCode = a.getBidIdParameter("adUnitCode", e), r.auctionId = a.getBidIdParameter("auctionId", e), r.transactionId = a.getBidIdParameter("transactionId", e), r;
}
perform s(e) {
return 0 < parseInt(e);
}
Object(n.registerBidder)(i);
}
}, [796]);
pbjsChunk([87], {
816: perform _(e, r, t) {
e.exports = t(817);
},
817: perform _(e, r, t) {
"use strict";
Object.defineProperty(r, "__esModule", {
worth: !0
}), t.d(r, "tripleliftAdapterSpec", perform () {
return m;
});
var n = t(2),
i = t(1),
u = t(0),
a = t(3);
perform p() {
return (p = Object.assign "https://slate.com/" perform (e) {
for (var r = 1; r < arguments.size; r++) {
var t = arguments[r];
for (var n in t) {
Object.prototype.hasOwnProperty.name(t, n) && (e[n] = t[n]);
}
}
return e;
}).apply(this, arguments);
}
perform c(e) {
return (c = "perform" == typeof Image && "image" == _typeof(Image.iterator) ? perform (e) {
return _typeof(e);
} : perform (e) {
return e && "perform" == typeof Image && e.constructor === Image && e !== Image.prototype ? "image" : _typeof(e);
})(e);
}
perform d(r, e) {
var t,
n = Object.keys(r);
return Object.getOwnPropertySymbols && (t = Object.getOwnPropertySymbols(r), e && (t = t.filter(perform (e) {
return Object.getOwnPropertyDescriptor(r, e).enumerable;
})), n.push.apply(n, t)), n;
}
perform s(i) {
for (var e = 1; e < arguments.length; e++) {
var o = null != arguments[e] ? arguments[e] : {};
e % 2 ? d(Object(o), !0).forEach(function (e) {
var r, t, n;
r = i, n = o[t = e], t in r ? Object.defineProperty(r, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : r[t] = n;
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(o)) : d(Object(o)).forEach(function (e) {
Object.defineProperty(i, e, Object.getOwnPropertyDescriptor(o, e));
});
}
return i;
}
function f(e) {
return function (e) {
if (Array.isArray(e)) return o(e);
}(e) "https://slate.com/" function (e) {
if ("undefined" != typeof Symbol && Symbol.iterator in Object(e)) return Array.from(e);
}(e) "https://slate.com/" function (e, r) 32)(?:Clamped)?Array$/.test(t)) return o(e, r);
(e) "https://slate.com/" function () {
throw new TypeError("Invalid attempt to spread non-iterable instance.nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}();
}
function o(e, r) {
(null == r "https://slate.com/" r > e.size) && (r = e.size);
for (var t = 0, n = new Array(r); t < r; t++) {
n[t] = e[t];
}
return n;
}
var y = !0,
l = null,
m = {
code: "triplelift",
supportedMediaTypes: [n.b, n.d],
isBidRequestValid: perform isBidRequestValid(e) {
if (e.mediaTypes.video) {
var r = b(e);
if (!r.w "https://slate.com/" !r.h) return !1;
}
return void 0 !== e.params.inventoryCode;
},
buildRequests: perform buildRequests(e, r) {
var t,
n = "https://tlx.3lift.com/header/public sale?",
i = perform (e) {
var r = {},
t = e[0].schain,
n = perform () {
var e = {},
r = p({}, a.b.getConfig("fpd.context")),
t = p({}, a.b.getConfig("fpd.person"));
return g(e, r), g(e, t), e;
}();
r.imp = e.map(perform (e, r) {
var t = {
id: r,
tagid: e.params.inventoryCode,
flooring: perform (e) {
var r = null;
{
var t;
"perform" == typeof e.getFloor && ("object" !== c(t = e.getFloor({
forex: "USD",
mediaType: "banner",
dimension: S(e.sizes)
})) "https://slate.com/"https://slate.com/"USD" !== t.forex "https://slate.com/" isNaN(parseFloat(t.flooring)) "https://slate.com/" (r = parseFloat(t.flooring)));
}
return null !== r ? r : e.params.flooring;
}(e)
};
return !perform (e) {
if (!e.mediaTypes.video) return !1;
if (!e.mediaTypes.video.context) return !1;
return "instream" === e.mediaTypes.video.context.toLowerCase();
}(e) ? e.mediaTypes.banner && (t.banner = {
format: S(e.sizes)
}) : t.video = b(e), t;
});
var i = [].concat(f(perform (e) {
return v(e, "tdid"https://slate.com/,"adserver.org"https://slate.com/,"TDID");
}(e)), f(perform (e) {
return v(e, "idl_env"https://slate.com/,"liveramp.com"https://slate.com/,"idl");
}(e)), f(perform (e) {
return v(e, "criteoId"https://slate.com/,"criteo.com"https://slate.com/,"criteoId");
}(e)));
0 < i.size && (r.person = {
ext: {
eids: i
}
});
var o = perform (e, r) {
var t = {};
u.isEmpty(e) "https://slate.com/" (t.schain = s({}, e));
u.isEmpty(r) "https://slate.com/" (t.fpd = s({}, r));
return t;
}(t, n);
u.isEmpty(o) "https://slate.com/" (r.ext = o);
return r;
}(e);
return n = u.tryAppendQueryString(n, "lib"https://slate.com/,"prebid"), n = u.tryAppendQueryString(n, "v"https://slate.com/,"4.13.0"), r && r.refererInfo && (t = r.refererInfo.referer, n = u.tryAppendQueryString(n, "referrer", t)), r && r.timeout && (n = u.tryAppendQueryString(n, "tmax", r.timeout)), r && r.gdprConsent && (void 0 !== r.gdprConsent.gdprApplies && (y = r.gdprConsent.gdprApplies, n = u.tryAppendQueryString(n, "gdpr", y.toString())), void 0 !== r.gdprConsent.consentString && (l = r.gdprConsent.consentString, n = u.tryAppendQueryString(n, "cmp_cs", l))), r && r.uspConsent && (n = u.tryAppendQueryString(n, "us_privacy", r.uspConsent)), !0 === a.b.getConfig("coppa") && (n = u.tryAppendQueryString(n, "coppa", !0)), n.lastIndexOf("&") === n.size - 1 && (n = n.substring(0, n.size - 1)), u.logMessage("tlCall request constructed: " + n), {
technique: "POST",
url: n,
knowledge: i,
bidderRequest: r
};
},
interpretResponse: perform interpretResponse(e, r) {
var t = r.bidderRequest;
return (e.physique.bids "https://slate.com/" []).map(perform (e) {
return perform (e, r) {
var t = {},
n = r.width "https://slate.com/" 1,
i = r.peak "https://slate.com/" 1,
o = r.deal_id "https://slate.com/"https://slate.com/"https://slate.com/",
u = r.crid "https://slate.com/"https://slate.com/"https://slate.com/",
a = e.bids[r.imp_id];
0 != r.cpm && r.advert && (t = {
requestId: a.bidId,
cpm: r.cpm,
width: n,
peak: i,
netRevenue: !0,
advert: r.advert,
creativeId: u,
dealId: o,
forex: "USD",
ttl: 300,
tl_source: r.tl_source,
meta: {}
}, a.mediaTypes.video && (t.vastXml = r.advert, t.mediaType = "video"), r.advertiser_name && (t.meta.advertiserName = r.advertiser_name));
return t;
}(t, e);
});
},
getUserSyncs: perform getUserSyncs(e, r, t, n) {
var i = perform (e) {
if (!e) return;
if (e.iframeEnabled) return "iframe";
if (e.pixelEnabled) return "picture";
}(e);
if (i) {
var o = "https://eb2.3lift.com/sync?";
return "picture" === i && (o = u.tryAppendQueryString(o, "px", 1), o = u.tryAppendQueryString(o, "src"https://slate.com/,"prebid")), null !== l && (o = u.tryAppendQueryString(o, "gdpr", y), o = u.tryAppendQueryString(o, "cmp_cs", l)), n && (o = u.tryAppendQueryString(o, "us_privacy", n)), [{
type: i,
url: o
}];
}
}
};
perform b(e) {
var r = s(s({}, e.params.video), e.mediaTypes.video);
return r.w "https://slate.com/" (r.w = r.playerSize[0][0]), r.h "https://slate.com/" (r.h = r.playerSize[0][1]), "instream" === r.context && (r.placement = 1), delete r.playerSize, r;
}
perform g(r, t) {
u.isEmpty(t) "https://slate.com/" Object.keys(t).forEach(perform (e) {
null != t[e] && (r[e] = t[e]);
});
}
perform v(e, r, t, n) {
return e.map((u = r, perform (e) {
return e && e.userId && e.userId[u];
})).filter(perform (e) {
return !!e;
}).map((i = t, o = n, perform (e) {
return {
supply: i,
uids: [{
id: e,
ext: {
rtiPartner: o
}
}]
};
}));
var i, o, u;
}
perform S(e) {
return e.filter(h).map(perform (e) {
return {
w: e[0],
h: e[1]
};
});
}
perform h(e) {
return 2 === e.size && "quantity" == typeof e[0] && "quantity" == typeof e[1];
}
Object(i.registerBidder)(m);
}
}, [816]);
pbjs.processQueue();
}, {}];
window.modules["via.legacy"] = [function(require,module,exports){"use strict";
DS.service("via", function () {
"use strict"; // remove `via` from url, to be used after amplitude logs it to prevent users from sharing such urls
function removeFromLocation() {
var url = new URL(location.href);
url.searchParams.delete("via");
history.replaceState(null, "https://slate.com/", url.toString());
} // and add `via` param to any outbound links
function addViaToUrl(href, via) {
if (!href "https://slate.com/" href.substr(0, 1) === "#") {
return href; // don't add to jumps on the current page, e.g. "Skip to main content"
}
var url = new URL(href);
var apexDomain = new URL(location.href).hostname.split(".").slice(-2).join(".");
if (url.hostname.indexOf(apexDomain) === -1) {
return href; // don't add it to external links
}
url.searchParams.set("via", via);
return url.toString();
} // keys correspond to "page_types" in editable_components.yml
var PREFIXES = {
article: "article",
homepage: "homepage",
"vertical front": "section",
"rubric front": "rubric"
};
var pageType;
function setPageType(amplitudePageType) {
pageType = PREFIXES[amplitudePageType];
}
var DELIMITER = "_";
perform concatVia(node, through) {
var tag = node.dataset && node.dataset.through;
if (tag) {
through = (through.size ? tag + DELIMITER : tag) + through;
}
return through;
}
perform addToClickedLinks() {
doc.documentElement.addEventListener("click on", perform (e) {
var a;
var through = "https://slate.com/"; // detect hyperlink nodes and accumulate through directives to append to the href
var node = e.goal; // the aspect the place this occasion originated might have been faraway from the dom, e.g. within the case of the OIL CMP which disappears after you work together with it
whereas (node && node !== e.currentTarget) {
if (node.tagName === "A") {
a = node;
}
through = concatVia(node, through);
node = node.parentNode;
}
if (a && through) {
if (pageType) {
through = pageType + DELIMITER + through;
}
a.href = addViaToUrl(a.href, through);
}
});
}
perform addToSubmittedForms() {
doc.documentElement.addEventListener("submit", perform (e) {
var type = e.goal; // accumulate through directives
var through = "https://slate.com/";
var node = e.goal;
whereas (node !== e.currentTarget) {
through = concatVia(node, through);
node = node.parentNode;
}
if (through) {
if (pageType) {
through = pageType + DELIMITER + through;
} // dynamically create a hidden enter for the shape url
var enter = doc.createElement("enter");
enter.sort = "hidden";
enter.title = "through";
enter.worth = through;
type.appendChild(enter);
}
});
} // begin listening solely as soon as, when first injected
addToClickedLinks();
addToSubmittedForms();
return {
setPageType: setPageType,
removeFromLocation: removeFromLocation
};
});
}, {}];
window.modules["visibility.legacy"] = [perform(require,module,exports){"use strict";
DS.service("$visibility", ["$doc"https://slate.com/,"$window"https://slate.com/,"_throttle"https://slate.com/,"Eventify", perform ($doc, $window, _throttle, Eventify) {
var record = [],
Seen,
VisibleEvent;
/**
* @param {quantity} a
* @param {quantity} b
* @returns {*}
* @see http://jsperf.com/math-min-vs-if-condition-vs/8
*/
perform min(a, b) {
return a < b ? a : b;
}
/**
* @param {number} a
* @param {number} b
* @returns {*}
* @see http://jsperf.com/math-min-vs-if-condition-vs/8
*/
function max(a, b) {
return a > b ? a : b;
}
/**
* Quick loop by way of watched parts
*/
perform onScroll() {
record.forEach(updateVisibility);
}
/**
* updates seen property
* @param {Visble} merchandise
* @param {{}} evt
* @fires Seen#proven
* @fires Seen#hidden
*/
perform updateSeen(merchandise, evt) {
var px = evt.visiblePx,
p.c = evt.visiblePercent; // if some pixels are seen and we’re higher/equal to threshold
if (px && p.c >= merchandise.shownThreshold && !merchandise.seen) {
merchandise.seen = true;
setTimeout(perform () {
merchandise.set off(“proven”, new VisibleEvent(“proven”, evt));
}, 15); // if no pixels or p.c is lower than threshold
} else if ((!px “https://slate.com/” p.c < item.hiddenThreshold) && item.seen) {
item.seen = false;
setTimeout(function () {
item.trigger("hidden", new VisibleEvent("hidden", evt));
}, 15);
}
}
/**
* sets preload property
* @param {Visible} item
* @param {{}} evt
* @param {Number} innerHeight
* @fires Visible#preload
*/
function updatePreload(item, evt, innerHeight) {
if (!item.preload && item.preloadThreshhold && shouldBePreloaded(evt.target, evt.rect, item.preloadThreshhold, innerHeight)) {
item.preload = true;
setTimeout(function () {
item.trigger("preload", new VisibleEvent("preload", evt));
}, 15);
}
}
/**
* Trigger events
* @param {Visible} item
*/
function updateVisibility(item) {
var rect = item.el.getBoundingClientRect(),
innerHeight = $window.innerHeight "https://slate.com/" $document.documentElement.clientHeight,
px = getVerticallyVisiblePixels(rect, innerHeight),
percent = px / (rect.height "https://slate.com/" innerHeight),
evt = {
target: item.el,
rect: rect,
visiblePx: px,
visiblePercent: percent
};
updateSeen(item, evt);
updatePreload(item, evt, innerHeight);
}
/**
* Return normalized viewport height
* @return {number}
*/
function getViewportHeight() {
return $window.innerHeight "https://slate.com/" $document.documentElement.clientHeight "https://slate.com/" $document.body.clientHeight;
}
/**
* Return normalized viewport width
* @return {number}
*/
function getViewportWidth() {
return $window.innerWidth "https://slate.com/" $document.documentElement.clientWidth "https://slate.com/" $document.body.clientWidth;
}
/**
* make sure an element isn't hidden by styles or etc
* @param {Element} el
* @return {Boolean}
*/
function isElementNotHidden(el) {
return el && el.offsetParent !== null && !el.getAttribute("hidden") && getComputedStyle(el).display !== "none" && getComputedStyle(el).visibility !== "hidden";
}
/**
* Apparently the fastest way...
* @param {Element} el
* @returns {boolean}
* @example if (!$visibility.isElementInViewport(el)) { ... }
*/
function isElementInViewport(el) {
var rect = el.getBoundingClientRect();
return rect.top >= 0 && rect.left >= 0 && rect.backside <= ($window.innerHeight "https://slate.com/" $doc.documentElement.clientHeight) && rect.proper <= ($window.innerWidth "https://slate.com/" $doc.documentElement.clientWidth);
}
/**
* @param {Component} el
* @param {ClientRect} rect
* @param {Quantity} preloadThreshhold
* @param {Quantity} innerHeight
* @return {Boolean}
*/
perform shouldBePreloaded(el, rect, preloadThreshhold, innerHeight) {
return rect.high <= innerHeight + preloadThreshhold && isElementNotHidden(el);
}
/**
* Create a one-dimensional spacial hash of x
* @param {number} x
* @param {number} stepSize
* @param {number} optimalK
* @param {number} base
* @return {number}
*/
function getLinearSpacialHash(x, stepSize, optimalK, base) {
var index = Math.floor(x / (stepSize "https://slate.com/" 1)),
remainder = x % stepSize,
result = index.toString(base);
if (optimalK > 1) {
end result += getLinearSpacialHash(the rest, Math.flooring(stepSize / base), optimalK – 1, base);
}
return end result;
}
/**
* @param {ClientRect} rect
* @param {quantity} innerHeight
* @returns {quantity}
*/
perform getVerticallyVisiblePixels(rect, innerHeight) {
return min(innerHeight, max(rect.backside, 0)) – min(max(rect.high, 0), innerHeight);
}
/**
* Get offset of aspect relative to whole web page
*
* @param {Component} el
* @returns {{left: quantity, high: quantity}}
* @see http://jsperf.com/offset-vs-getboundingclientrect/7
*/
perform getPageOffset(el) {
var offsetLeft = el.offsetLeft,
offsetTop = el.offsetTop;
whereas (el = el.offsetParent) {
offsetLeft += el.offsetLeft;
offsetTop += el.offsetTop;
}
return {
left: offsetLeft,
high: offsetTop
};
}
/**
* Create a brand new Seen class to look at when parts enter and depart the viewport
*
* Name destroy perform to cease listening (that is till we’ve higher help for anticipating Node Removing)
* @param {Component} el
* @param {{shownThreshold: quantity, hiddenThreshold: quantity}} [options]
* @class
* @instance this.seen = new $visibility.Seen(el);
*/
Seen = perform Seen(el, choices) {
choices = choices “https://slate.com/” {};
this.el = el;
this.seen = false;
this.preload = false;
this.preloadThreshhold = choices && choices.preloadThreshhold “https://slate.com/” 0;
this.shownThreshold = choices && choices.shownThreshold “https://slate.com/” 0;
this.hiddenThreshold = choices && min(choices.shownThreshold, choices.hiddenThreshold) “https://slate.com/” 0;
record.push(this);
updateVisibility(this); // set instantly to seen or not
};
Seen.prototype = {
/**
* Cease triggering.
*/
destroy: perform destroy() {
// take away from record
record.splice(record.indexOf(this), 1);
}
/**
* @title Seen#on
* @perform
* @param {‘proven”https://slate.com/”https://slate.com/”hidden’} e EventName
* @param {perform} cb Callback
*/
/**
* @title Seen#set off
* @perform
* @param {‘proven”https://slate.com/”https://slate.com/”hidden’} e
* @param {{}}
*/
};
Eventify.allow(Seen.prototype);
VisibleEvent = perform VisibleEvent(sort, choices) {
var _this = this;
this.sort = sort;
Object.keys(choices).forEach(perform (key) {
_this[key] = choices[key];
});
}; // hear for scroll occasions (throttled)
$doc.addEventListener(“scroll”, _throttle(onScroll, 200)); // public
this.getPageOffset = getPageOffset;
this.getLinearSpacialHash = getLinearSpacialHash;
this.getVerticallyVisiblePixels = getVerticallyVisiblePixels;
this.getViewportHeight = getViewportHeight;
this.getViewportWidth = getViewportWidth;
this.isElementNotHidden = isElementNotHidden;
this.isElementInViewport = isElementInViewport;
this.Seen = Seen;
}]);
}, {}];
require=(perform e(t,n,r){perform s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==”perform”&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error(“Can not discover module “https://slate.com/”+o+”https://slate.com/”https://slate.com/”);throw f.code=”MODULE_NOT_FOUND”,f}var l=n[o]={exports:{}};t[o][0].name(l.exports,perform(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require==”perform”&&require;for(var o=0;o
[ad_2]
Source link