Why Washington, D.C., and Oregon should vote yes on psychedelics.

Posted by:

[ad_1]

Woman wearing a sleeping mask, with a psychedelic landscape in the background.
Photo illustration by Slate. Photos by GeorgeRudy/iStock/Getty Images Plus and Veronika Demenko/iStock/Getty Images Plus.

This November, voters in five states will decide whether to make marijuana (recreational, medicinal, or both) legal—a process that has become fairly familiar in recent years. But other voters will be considering three more innovative ballot initiatives—involving psychedelic drugs.

Oregon residents will vote on Measures 109 and 110. District of Columbia voters will consider Initiative 81. Each measure takes a different approach and has strengths and weaknesses. But voters should approve them because their benefits outweigh the risks.

Psychedelics are a diverse group of substances. Many occur naturally in plants, animals, and fungi. Some have been used by indigenous cultures for millennia. Others were synthesized in 20th century pharmaceutical labs. They share an ability to alter human perception and cognition—shifting how people see the world, themselves, and those around them. This quality makes them useful for treating mental illness, which is often characterized by inflexible thought patterns.

Among the psychedelics, psilocybin is likely the safest. One literature review ranked it the least addictive and lethal drug of 20 substances studied. Instead of causing dependence, research increasingly suggests it may help people overcome addictions, depression, and anxiety disorders. The safety of other psychedelics is less well defined. For instance, a West African shrub called iboga is touted for its potential to curb addictions. However, concerns have been raised regarding its safety. That does not mean ibogaine should never be used. Instead, it means the risk-benefit analysis is different for ibogaine versus psilocybin.

Because of their therapeutic promise, the Food and Drug Administration designated two psychedelics “breakthrough therapies” for mental illness. Psilocybin received this distinction in 2018 for treating major depressive disorder and in 2019 for addressing treatment-resistant depression. MDMA earned breakthrough status in 2017 for treating post-traumatic stress disorder. These developments are meaningful because existing treatments for depression and PTSD are often ineffective. In addition, various psychedelics may benefit people with alcoholism, tobacco addiction, obsessive-compulsive disorder, and end-of-life anxiety and depression.

But despite their potential, most psychedelics are illegal. The Drug Enforcement Administration categorizes them as Schedule I controlled substances, which it claims have no accepted medical use and a high potential for abuse.

In the 1950s and 1960s, psychiatrists studied psychedelics as therapeutic aids. This period, called the “psychopharmacology revolution,” shifted the focus of psychiatry from psychoanalysis to drug therapy. But then came the war on drugs. In 1970, Congress passed the Controlled Substances Act, and three years later, Nixon established the DEA to enforce it. He put the country’s top law enforcement official, the U.S. attorney general, in charge of the agency and its policies. Nixon’s actions had terrible consequences. For 50 years, the war on drugs ripped families apart, destroyed lives, and devastated communities of color. It also set the field of psychiatry back half a century. Since then, psychiatry has advanced more slowly than other medical fields. Drug therapies haven’t evolved much, and many who try them receive little or no benefit. (It may surprise you to learn that electroconvulsive therapy, introduced in 1913, is still commonly used for treatment-resistant depression.)

Mental health professionals are not to blame. The brain is a complex organ with 86 billion neurons, and our understanding of the biological basis for mental illness is primitive compared with that for other conditions. But given our ignorance and the lack of truly effective therapies, removing psychedelics from active research, and ultimately from the clinician’s toolbox, was a mistake.

Critics argue cities and states should wait for FDA approval, but here are several problems with this approach: The DEA limits who can conduct research on psychedelics and how much can be produced each year. In 2020, no more than 30 grams of psilocybin can be made in the entire country. (Depending on the dosage used in a study, and on a person’s weight, 30 grams might equal 750 to 1,500 doses.) In addition to reducing availability, the restricted supply increases the cost of research. In 1999, the Multidisciplinary Association for Psychedelic Studies, a nonprofit scientific organization, obtained a quote from a DEA-licensed lab to synthesize 1 gram of MDMA for $10,000.

Inflated prices further restrict access for scientists, reduce the impact of charitable contributions to organizations like MAPS, and slow the pace of research. COVID-19 is causing further delays by disrupting clinical trials. Meanwhile, according to the Centers for Disease Control and Prevention, the pandemic is increasing national rates of mental illness, suicide, and substance use.

Frustrated with DEA restrictions, four U.S. cities have now decriminalized psychedelics, meaning they will not spend money and other resources on prosecuting people for personal use. Denver acted first, decriminalizing the use and possession of psilocybin-producing mushrooms in 2019. Oakland, California, followed with a more expansive approach, adding other natural psychedelics to the list and decriminalizing cultivation, purchasing, transporting, and distributing. In 2020, Santa Cruz, California, became the third city to decriminalize psilocybin and the second to decriminalize other psychedelics. In September, Ann Arbor, Michigan, followed suit.

D.C.’s Initiative 81 is similar to the measures passed in Oakland, Santa Cruz, and Ann Arbor. It decriminalizes plants and fungi containing ibogaine, mescaline, dimethyltryptamine, psilocybin, and a related compound called psilocyn. Oregon’s Measure 110 takes the broadest approach by decriminalizing all drugs including psychedelics and substances associated with addiction such as heroin, cocaine, and methamphetamines. Oregon partially decriminalized these drugs in 2017, reducing violations from felonies to misdemeanors. Measure 110 removes criminal penalties and replaces them with a $100 fine, which can be avoided by undergoing a health assessment at an addiction recovery center. (While it may be alarming to see cocaine and methamphetamine on the list of decriminalized drugs, there is evidence that this approach works. Portugal’s 2001 decriminalization efforts were successful, lowering consumption of most drug categories. Penalizing drug use by imprisoning people is ineffective, and its harmful effects ripple through families and communities.)

Oregon’s Measure 109 is the most innovative. Like Denver, it focuses on psilocybin. However, instead of taking a hands-off approach, leaving people to obtain and use psilocybin on their own, Measure 109 creates a regulated industry for psilocybin therapy. It will not allow Oregonians to grow psilocybin-producing mushrooms or purchase them in stores. Instead, trained facilitators licensed by the Oregon Health Authority will administer psilocybin-assisted therapy in supportive, controlled settings. If Measure 109 passes, there will be a two-year planning phase in which a governor-appointed committee will design the system and set licensing requirements. According to the measure, the board will include physicians, scientists, and public health experts who will act on the latest scientific evidence.

This would be an important change. Many people currently obtain psychedelics such as ayahuasca from strangers or self-appointed medicine men. There have been reports of sexual abuse. Consuming adulterated or contaminated substances is a concern, and some have died after traveling to foreign countries to participate in unregulated psychedelic retreats. By comparison, the ballot measures under consideration allow people to produce their own substances or, in the case of Oregon’s Measure 109, to obtain them under professional supervision from a system designed and overseen by medical and public health professionals.

Even if psychedelics provide less medical benefit than current evidence suggests, individuals and society may benefit from their availability. Those who receive psychedelics during clinical trials often rank the experience among the most meaningful of their lives. Psychedelics may enhance insight, empathy, and creativity in ways that fall outside the scope of medical care. On Oct. 28, a panel at Harvard Law School’s Petrie-Flom Center will discuss the potential for psychedelics to improve America’s future. It will discuss their role in addressing political polarization, climate change, and violence. There are also issues of equity and justice.

The upcoming votes on psychedelics arrive at a time when law enforcement—and the disparate impact that drug regulation has on marginalized communities—faces intense public scrutiny. But Congress has been slow to act, perpetuating harms inflicted by the drug war on minorities and people with mental health conditions. In 2020, voters in D.C. and Oregon can create meaningful change.

Future Tense
is a partnership of
Slate,
New America, and
Arizona State University
that examines emerging technologies, public policy, and society.

var r = n(14), o = n(56).find, i = n(51), a = n(60), c = "find", u = !0, s = a(c); c in [] && Array(1)[c](function () { u = !1; }), r({ target: "Array", proto: !0, forced: u || !s }, { find: function find(e, t) { return o(this, e, 1 < arguments.length ? t : void 0); } }), i(c); }, function (e, t, n) { var r = n(27), o = n(108), i = n(46), a = n(47), c = n(55), u = n(24), s = n(74), d = Object.getOwnPropertyDescriptor; t.f = r ? d : function (e, t) { if (e = a(e), t = c(t, !0), s) try { return d(e, t); } catch (e) {} if (u(e, t)) return i(!o.f.call(e, t), e[t]); }; }, function (e, t, n) { "use strict"; var r = {}.propertyIsEnumerable, o = Object.getOwnPropertyDescriptor, i = o && !r.call({ 1: 2 }, 1); t.f = i ? function (e) { var t = o(this, e); return !!t && t.enumerable; } : r; }, function (e, t, n) { function r(e, t) { var n = c[a(e)]; return n == s || n != u && ("function" == typeof t ? o(t) : !!t); } var o = n(28), i = /#|.prototype./, a = r.normalize = function (e) { return String(e).replace(i, ".").toLowerCase(); }, c = r.data = {}, u = r.NATIVE = "N", s = r.POLYFILL = "P"; e.exports = r; }, function (e, t, n) { var r = n(23), o = n(111), i = n(19)("species"); e.exports = function (e, t) { var n; return o(e) && ("function" == typeof (n = e.constructor) && (n === Array || o(n.prototype)) || r(n) && null === (n = n[i])) && (n = void 0), new (void 0 === n ? Array : n)(0 === t ? 0 : t); }; }, function (e, t, n) { var r = n(48); e.exports = Array.isArray || function (e) { return "Array" == r(e); }; }, function (e, t, n) { var r = n(22), o = n(29); e.exports = function (t, n) { try { o(r, t, n); } catch (e) { r[t] = n; } return n; }; }, function (e, t, n) { var r = n(78); e.exports = r && !Symbol.sham && "symbol" == _typeof(Symbol.iterator); }, function (e, t, n) { n(115); var r = n(52); e.exports = r("Array"https://slate.com/,"includes"); }, function (e, t, n) { "use strict"; var r = n(14), o = n(79).includes, i = n(51); r({ target: "Array", proto: !0, forced: !n(60)("indexOf", { ACCESSORS: !0, 1: 0 }) }, { includes: function includes(e, t) { return o(this, e, 1 < arguments.length ? t : void 0); } }), i("includes"); }, function (e, t, n) { var r = n(58), o = Math.max, i = Math.min; e.exports = function (e, t) { var n = r(e); return n < 0 ? o(n + t, 0) : i(n, t); }; }, function (e, t, n) { n(118), n(135), n(90), n(137); var r = n(42); e.exports = r.Set; }, function (e, t, n) { "use strict"; var r = n(119), o = n(124); e.exports = r("Set", function (t) { return function (e) { return t(this, arguments.length ? e : void 0); }; }, o); }, function (e, t, n) { "use strict"; var f = n(14), l = n(22), p = n(81), g = n(28), y = n(29), b = n(17), v = n(84), h = n(23), m = n(64), S = n(31).f, A = n(56).forEach, E = n(27), r = n(54), O = r.set, I = r.getterFor; e.exports = function (n, e, t) { var r, a, o = -1 !== n.indexOf("Map"), c = -1 !== n.indexOf("Weak"), i = o ? "set" : "add", u = l[n], s = u && u.prototype, d = {}; return E && "function" == typeof u && (c || s.forEach && !g(function () { new u().entries().next(); })) ? (r = e(function (e, t) { O(v(e, r, n), { type: n, collection: new u() }), null != t && b(t, e[i], e, o); }), a = I(n), A(["add"https://slate.com/,"clear"https://slate.com/,"delete"https://slate.com/,"forEach"https://slate.com/,"get"https://slate.com/,"has"https://slate.com/,"set"https://slate.com/,"keys"https://slate.com/,"values"https://slate.com/,"entries"], function (o) { var i = "add" == o || "set" == o; o in s && (!c || "clear" != o) && y(r.prototype, o, function (e, t) { var n = a(this).collection; if (!i && c && !h(e)) return "get" == o && void 0; var r = n[o](0 === e ? 0 : e, t); return i ? this : r; }); }), c || S(r.prototype, "size", { configurable: !0, get: function get() { return a(this).collection.size; } })) : (r = t.getConstructor(e, n, o, i), p.REQUIRED = !0), m(r, n, !1, !0), d[n] = r, f({ global: !0, forced: !0 }, d), c || t.setStrong(r, n, o), r; }; }, function (e, t, n) { var r = n(28); e.exports = !r(function () { return Object.isExtensible(Object.preventExtensions({})); }); }, function (e, t, n) { "use strict"; var r = n(63), o = n(62); e.exports = r ? {}.toString : function () { return "[object " + o(this) + "]"; }; }, function (e, t, n) { var r = n(22), o = n(123), i = r.WeakMap; e.exports = "function" == typeof i && /native code/.test(o(i)); }, function (e, t, n) { var r = n(77), o = Function.toString; "function" != typeof r.inspectSource && (r.inspectSource = function (e) { return o.call(e); }), e.exports = r.inspectSource; }, function (e, t, n) { "use strict"; var s = n(31).f, d = n(85), f = n(129), l = n(21), p = n(84), g = n(17), a = n(66), c = n(134), y = n(27), b = n(81).fastKey, r = n(54), v = r.set, h = r.getterFor; e.exports = { getConstructor: function getConstructor(e, n, r, o) { function i(e, t, n) { var r, o, i = c(e), a = u(e, t); return a ? a.value = n : (i.last = a = { index: o = b(t, !0), key: t, value: n, previous: r = i.last, next: void 0, removed: !1 }, i.first || (i.first = a), r && (r.next = a), y ? i.size++ : e.size++, "F" !== o && (i.index[o] = a)), e; } var a = e(function (e, t) { p(e, a, n), v(e, { type: n, index: d(null), first: void 0, last: void 0, size: 0 }), y || (e.size = 0), null != t && g(t, e[o], e, r); }), c = h(n), u = function u(e, t) { var n, r = c(e), o = b(t); if ("F" !== o) return r.index[o]; for (n = r.first; n; n = n.next) { if (n.key == t) return n; } }; return f(a.prototype, { clear: function clear() { for (var e = c(this), t = e.index, n = e.first; n;) { n.removed = !0, n.previous && (n.previous = n.previous.next = void 0), delete t[n.index], n = n.next; } e.first = e.last = void 0, y ? e.size = 0 : this.size = 0; }, delete: function _delete(e) { var t, n, r = c(this), o = u(this, e); return o && (t = o.next, n = o.previous, delete r.index[o.index], o.removed = !0, n && (n.next = t), t && (t.previous = n), r.first == o && (r.first = t), r.last == o && (r.last = n), y ? r.size-- : this.size--), !!o; }, forEach: function forEach(e, t) { for (var n, r = c(this), o = l(e, 1 < arguments.length ? t : void 0, 3); n = n ? n.next : r.first;) { for (o(n.value, n.key, this); n && n.removed;) { n = n.previous; } } }, has: function has(e) { return !!u(this, e); } }), f(a.prototype, r ? { get: function get(e) { var t = u(this, e); return t && t.value; }, set: function set(e, t) { return i(this, 0 === e ? 0 : e, t); } } : { add: function add(e) { return i(this, e = 0 === e ? 0 : e, e); } }), y && s(a.prototype, "size", { get: function get() { return c(this).size; } }), a; }, setStrong: function setStrong(e, t, n) { var r = t + " Iterator", o = h(t), i = h(r); a(e, t, function (e, t) { v(this, { type: r, target: e, state: o(e), kind: t, last: void 0 }); }, function () { for (var e = i(this), t = e.kind, n = e.last; n && n.removed;) { n = n.previous; } return e.target && (e.last = n = n ? n.next : e.state.first) ? "keys" == t ? { value: n.key, done: !1 } : "values" == t ? { value: n.value, done: !1 } : { value: [n.key, n.value], done: !1 } : { value: e.target = void 0, done: !0 }; }, n ? "entries" : "values", !n, !0), c(t); } }; }, function (e, t, n) { var r = n(27), a = n(31), c = n(15), u = n(126); e.exports = r ? Object.defineProperties : function (e, t) { c(e); for (var n, r = u(t), o = r.length, i = 0; i < o;) { a.f(e, n = r[i++], t[n]); } return e; }; }, function (e, t, n) { var r = n(127), o = n(86); e.exports = Object.keys || function (e) { return r(e, o); }; }, function (e, t, n) { var a = n(24), c = n(47), u = n(79).indexOf, s = n(53); e.exports = function (e, t) { var n, r = c(e), o = 0, i = []; for (n in r) { !a(s, n) && a(r, n) && i.push(n); } for (; t.length > o;) { a(r, n = t[o++]) && (~u(i, n) || i.push(n)); }

return i; }; }, function (e, t, n) { var r = n(25); e.exports = r("document"https://slate.com/,"documentElement"); }, function (e, t, n) { var o = n(87);

e.exports = function (e, t, n) { for (var r in t) { n && n.unsafe && e[r] ? e[r] = t[r] : o(e, r, t[r], n); }

return e; }; }, function (e, t, n) { "use strict";

function o() { return this; }

var i = n(88).IteratorPrototype, a = n(85), c = n(46), u = n(64), s = n(36);

e.exports = function (e, t, n) { var r = t + " Iterator"; return e.prototype = a(i, { next: c(1, n) }), u(e, r, !1, !0), s[r] = o, e; }; }, function (e, t, n) { var r = n(28); e.exports = !r(function () { function e() {}

return e.prototype.constructor = null, Object.getPrototypeOf(new e()) !== e.prototype; }); }, function (e, t, n) { var o = n(15), i = n(133); e.exports = Object.setPrototypeOf || ("__proto__" in {} ? function () { var n, r = !1, e = {};

try { (n = Object.getOwnPropertyDescriptor(Object.prototype, "__proto__").set).call(e, []), r = e instanceof Array; } catch (e) {}

return function (e, t) { return o(e), i(t), r ? n.call(e, t) : e.__proto__ = t, e; }; }() : void 0); }, function (e, t, n) { var r = n(23);

e.exports = function (e) { if (!r(e) && null !== e) throw TypeError("Can't set " + String(e) + " as a prototype"); return e; }; }, function (e, t, n) { "use strict";

var r = n(25), o = n(31), i = n(19), a = n(27), c = i("species");

e.exports = function (e) { var t = r(e), n = o.f; a && t && !t[c] && n(t, c, { configurable: !0, get: function get() { return this; } }); }; }, function (e, t) {}, function (e, t, n) { function r(c) { return function (e, t) { var n, r, o = String(s(e)), i = u(t), a = o.length; return i < 0 || a <= i ? c ? "" : void 0 : (n = o.charCodeAt(i)) < 55296 || 56319 < n || i + 1 === a || (r = o.charCodeAt(i + 1)) < 56320 || 57343 < r ? c ? o.charAt(i) : n : c ? o.slice(i, i + 2) : r - 56320 + (n - 55296 << 10) + 65536; }; } var u = n(58), s = n(49); e.exports = { codeAt: r(!1), charAt: r(!0) }; }, function (e, t, n) { n(138); var r = n(139), o = n(22), i = n(62), a = n(29), c = n(36), u = n(19)("toStringTag"); for (var s in r) { var d = o[s], f = d && d.prototype; f && i(f) !== u && a(f, u, s), c[s] = c.Array; } }, function (e, t, n) { "use strict"; var r = n(47), o = n(51), i = n(36), a = n(54), c = n(66), u = "Array Iterator", s = a.set, d = a.getterFor(u); e.exports = c(Array, "Array", function (e, t) { s(this, { type: u, target: r(e), index: 0, kind: t }); }, function () { var e = d(this), t = e.target, n = e.kind, r = e.index++; return !t || r >= t.length ? { value: e.target = void 0, done: !0 } : "keys" == n ? { value: r, done: !1 } : "values" == n ? { value: t[r], done: !1 } : { value: [r, t[r]], done: !1 }; }, "values"), i.Arguments = i.Array, o("keys"), o("values"), o("entries"); }, function (e, t) { e.exports = { CSSRuleList: 0, CSSStyleDeclaration: 0, CSSValueList: 0, ClientRectList: 0, DOMRectList: 0, DOMStringList: 0, DOMTokenList: 1, DataTransferItemList: 0, FileList: 0, HTMLAllCollection: 0, HTMLCollection: 0, HTMLFormElement: 0, HTMLSelectElement: 0, MediaList: 0, MimeTypeArray: 0, NamedNodeMap: 0, NodeList: 1, PaintRequestList: 0, Plugin: 0, PluginArray: 0, SVGLengthList: 0, SVGNumberList: 0, SVGPathSegList: 0, SVGPointList: 0, SVGStringList: 0, SVGTransformList: 0, SourceBufferList: 0, StyleSheetList: 0, TextTrackCueList: 0, TextTrackList: 0, TouchList: 0 }; }, function (e, t, n) { n(14)({ target: "Set", stat: !0 }, { from: n(141) }); }, function (e, t, n) { "use strict";

var s = n(18), d = n(21), f = n(17);

e.exports = function (e, t, n) { var r, o, i, a, c = arguments.length, u = 1 < c ? t : void 0; return s(this), (r = void 0 !== u) && s(u), null == e ? new this() : (o = [], r ? (i = 0, a = d(u, 2 < c ? n : void 0, 2), f(e, function (e) { o.push(a(e, i++)); })) : f(e, o.push, o), new this(o)); }; }, function (e, t, n) { n(14)({ target: "Set", stat: !0 }, { of: n(143) }); }, function (e, t, n) { "use strict"; e.exports = function () { for (var e = arguments.length, t = new Array(e); e--;) { t[e] = arguments[e]; } return new this(t); }; }, function (e, t, n) { "use strict"; var r = n(14), o = n(16), i = n(145); r({ target: "Set", proto: !0, real: !0, forced: o }, { addAll: function addAll() { return i.apply(this, arguments); } }); }, function (e, t, n) { "use strict"; var o = n(15), i = n(18); e.exports = function () { for (var e = o(this), t = i(e.add), n = 0, r = arguments.length; n < r; n++) { t.call(e, arguments[n]); } return e; }; }, function (e, t, n) { "use strict"; var r = n(14), o = n(16), i = n(147); r({ target: "Set", proto: !0, real: !0, forced: o }, { deleteAll: function deleteAll() { return i.apply(this, arguments); } }); }, function (e, t, n) { "use strict"; var a = n(15), c = n(18); e.exports = function () { for (var e, t = a(this), n = c(t.delete), r = !0, o = 0, i = arguments.length; o < i; o++) { e = n.call(t, arguments[o]), r = r && e; } return !!r; }; }, function (e, t, n) { "use strict"; var r = n(14), o = n(16), i = n(15), a = n(21), c = n(34), u = n(17); r({ target: "Set", proto: !0, real: !0, forced: o }, { every: function every(e, t) { var n = i(this), r = c(n), o = a(e, 1 < arguments.length ? t : void 0, 3); return !u(r, function (e) { if (!o(e, e, n)) return u.stop(); }, void 0, !1, !0).stopped; } }); }, function (e, t, n) { "use strict"; var r = n(14), o = n(16), i = n(25), a = n(15), c = n(18), u = n(37), s = n(17); r({ target: "Set", proto: !0, real: !0, forced: o }, { difference: function difference(e) { var t = a(this), n = new (u(t, i("Set")))(t), r = c(n.delete); return s(e, function (e) { r.call(n, e); }), n; } }); }, function (e, t, n) { "use strict"; var r = n(14), o = n(16), c = n(25), u = n(15), s = n(18), d = n(21), f = n(37), l = n(34), p = n(17); r({ target: "Set", proto: !0, real: !0, forced: o }, { filter: function filter(e, t) { var n = u(this), r = l(n), o = d(e, 1 < arguments.length ? t : void 0, 3), i = new (f(n, c("Set")))(), a = s(i.add); return p(r, function (e) { o(e, e, n) && a.call(i, e); }, void 0, !1, !0), i; } }); }, function (e, t, n) { "use strict"; var r = n(14), o = n(16), i = n(15), a = n(21), c = n(34), u = n(17); r({ target: "Set", proto: !0, real: !0, forced: o }, { find: function find(e, t) { var n = i(this), r = c(n), o = a(e, 1 < arguments.length ? t : void 0, 3); return u(r, function (e) { if (o(e, e, n)) return u.stop(e); }, void 0, !1, !0).result; } }); }, function (e, t, n) { "use strict"; var r = n(14), o = n(16), i = n(25), a = n(15), c = n(18), u = n(37), s = n(17); r({ target: "Set", proto: !0, real: !0, forced: o }, { intersection: function intersection(e) { var t = a(this), n = new (u(t, i("Set")))(), r = c(t.has), o = c(n.add); return s(e, function (e) { r.call(t, e) && o.call(n, e); }), n; } }); }, function (e, t, n) { "use strict"; var r = n(14), o = n(16), i = n(15), a = n(18), c = n(17); r({ target: "Set", proto: !0, real: !0, forced: o }, { isDisjointFrom: function isDisjointFrom(e) { var t = i(this), n = a(t.has); return !c(e, function (e) { if (!0 === n.call(t, e)) return c.stop(); }).stopped; } }); }, function (e, t, n) { "use strict"; var r = n(14), o = n(16), i = n(25), a = n(15), c = n(18), u = n(91), s = n(17); r({ target: "Set", proto: !0, real: !0, forced: o }, { isSubsetOf: function isSubsetOf(e) { var t = u(this), n = a(e), r = n.has; return "function" != typeof r && (n = new (i("Set"))(e), r = c(n.has)), !s(t, function (e) { if (!1 === r.call(n, e)) return s.stop(); }, void 0, !1, !0).stopped; } }); }, function (e, t, n) { "use strict"; var r = n(14), o = n(16), i = n(15), a = n(18), c = n(17); r({ target: "Set", proto: !0, real: !0, forced: o }, { isSupersetOf: function isSupersetOf(e) { var t = i(this), n = a(t.has); return !c(e, function (e) { if (!1 === n.call(t, e)) return c.stop(); }).stopped; } }); }, function (e, t, n) { "use strict"; var r = n(14), o = n(16), i = n(15), a = n(34), c = n(17); r({ target: "Set", proto: !0, real: !0, forced: o }, { join: function join(e) { var t = i(this), n = a(t), r = void 0 === e ? "," : String(e), o = []; return c(n, o.push, o, !1, !0), o.join(r); } }); }, function (e, t, n) { "use strict"; var r = n(14), o = n(16), c = n(25), u = n(15), s = n(18), d = n(21), f = n(37), l = n(34), p = n(17); r({ target: "Set", proto: !0, real: !0, forced: o }, { map: function map(e, t) { var n = u(this), r = l(n), o = d(e, 1 < arguments.length ? t : void 0, 3), i = new (f(n, c("Set")))(), a = s(i.add); return p(r, function (e) { a.call(i, o(e, e, n)); }, void 0, !1, !0), i; } }); }, function (e, t, n) { "use strict"; var r = n(14), o = n(16), a = n(15), c = n(18), u = n(34), s = n(17); r({ target: "Set", proto: !0, real: !0, forced: o }, { reduce: function reduce(t, e) { var n = a(this), r = u(n), o = arguments.length < 2, i = o ? void 0 : e; if (c(t), s(r, function (e) { i = o ? (o = !1, e) : t(i, e, e, n); }, void 0, !1, !0), o) throw TypeError("Reduce of empty set with no initial value"); return i; } }); }, function (e, t, n) { "use strict"; var r = n(14), o = n(16), i = n(15), a = n(21), c = n(34), u = n(17); r({ target: "Set", proto: !0, real: !0, forced: o }, { some: function some(e, t) { var n = i(this), r = c(n), o = a(e, 1 < arguments.length ? t : void 0, 3); return u(r, function (e) { if (o(e, e, n)) return u.stop(); }, void 0, !1, !0).stopped; } }); }, function (e, t, n) { "use strict"; var r = n(14), o = n(16), i = n(25), a = n(15), c = n(18), u = n(37), s = n(17); r({ target: "Set", proto: !0, real: !0, forced: o }, { symmetricDifference: function symmetricDifference(e) { var t = a(this), n = new (u(t, i("Set")))(t), r = c(n.delete), o = c(n.add); return s(e, function (e) { r.call(n, e) || o.call(n, e); }), n; } }); }, function (e, t, n) { "use strict"; var r = n(14), o = n(16), i = n(25), a = n(15), c = n(18), u = n(37), s = n(17); r({ target: "Set", proto: !0, real: !0, forced: o }, { union: function union(e) { var t = a(this), n = new (u(t, i("Set")))(t); return s(e, c(n.add), n), n; } }); }, function (e, t, n) { n(90), n(163); var r = n(42); e.exports = r.Array.from; }, function (e, t, n) { var r = n(14), o = n(164); r({ target: "Array", stat: !0, forced: !n(166)(function (e) { Array.from(e); }) }, { from: o }); }, function (e, t, n) { "use strict"; var b = n(21), v = n(57), h = n(83), m = n(82), S = n(50), A = n(165), E = n(61); e.exports = function (e, t, n) { var r, o, i, a, c, u, s = v(e), d = "function" == typeof this ? this : Array, f = arguments.length, l = 1 < f ? t : void 0, p = void 0 !== l, g = E(s), y = 0; if (p && (l = b(l, 2 < f ? n : void 0, 2)), null == g || d == Array && m(g)) for (o = new d(r = S(s.length)); y < r; y++) { u = p ? l(s[y], y) : s[y], A(o, y, u); } else for (c = (a = g.call(s)).next, o = new d(); !(i = c.call(a)).done; y++) { u = p ? h(a, l, [i.value, y], !0) : i.value, A(o, y, u); } return o.length = y, o; }; }, function (e, t, n) { "use strict"; var o = n(55), i = n(31), a = n(46); e.exports = function (e, t, n) { var r = o(t); r in e ? i.f(e, r, a(0, n)) : e[r] = n; }; }, function (e, t, n) { var o = n(19)("iterator"), i = !1; try { var r = 0, a = { next: function next() { return { done: !!r++ }; }, return: function _return() { i = !0; } }; a[o] = function () { return this; }, Array.from(a, function () { throw 2; }); } catch (e) {} e.exports = function (e, t) { if (!t && !i) return !1; var n = !1; try { var r = {}; r[o] = function () { return { next: function next() { return { done: n = !0 }; } }; }, e(r); } catch (e) {} return n; }; }, function (e, t) { e.exports = function e(t) { var n = Array.isArray(t) ? [] : {}; for (var r in t) { var o = t[r]; n[r] = o && "object" == _typeof(o) ? e(o) : o; } return n; }; }, function (e, t, n) { var f = n(93), l = n(170), o = n(171), p = n(177), g = n(179), y = n(181), b = Date.prototype.getTime; function v(e, t, n) { var r = n || {}; return !(r.strict ? !o(e, t) : e !== t) || (!e || !t || "object" != _typeof(e) && "object" != _typeof(t) ? r.strict ? o(e, t) : e == t : function (e, t, n) { var r, o; if (_typeof(e) != _typeof(t)) return !1; if (h(e) || h(t)) return !1; if (e.prototype !== t.prototype) return !1; if (l(e) !== l(t)) return !1; var i = p(e), a = p(t); if (i !== a) return !1; if (i || a) return e.source === t.source && g(e) === g(t); if (y(e) && y(t)) return b.call(e) === b.call(t); var c = m(e), u = m(t); if (c !== u) return !1; if (c || u) { if (e.length !== t.length) return !1; for (r = 0; r < e.length; r++) { if (e[r] !== t[r]) return !1; } return !0; } if (_typeof(e) != _typeof(t)) return !1; try { var s = f(e), d = f(t); } catch (e) { return !1; } if (s.length !== d.length) return !1; for (s.sort(), d.sort(), r = s.length - 1; 0 <= r; r--) { if (s[r] != d[r]) return !1; } for (r = s.length - 1; 0 <= r; r--) { if (o = s[r], !v(e[o], t[o], n)) return !1; } return !0; }(e, t, r)); } function h(e) { return null == e; } function m(e) { return !(!e || "object" != _typeof(e) || "number" != typeof e.length) && "function" == typeof e.copy && "function" == typeof e.slice && !(0 < e.length && "number" != typeof e[0]); } e.exports = v; }, function (e, t, n) { "use strict"; var l, p, g, r, y, b, v, h, o, m, i; Object.keys || (l = Object.prototype.hasOwnProperty, p = Object.prototype.toString, g = n(94), r = Object.prototype.propertyIsEnumerable, y = !r.call({ toString: null }, "toString"), b = r.call(function () {}, "prototype"), v = ["toString"https://slate.com/,"toLocaleString"https://slate.com/,"valueOf"https://slate.com/,"hasOwnProperty"https://slate.com/,"isPrototypeOf"https://slate.com/,"propertyIsEnumerable"https://slate.com/,"constructor"], h = function h(e) { var t = e.constructor; return t && t.prototype === e; }, o = { $applicationCache: !0, $console: !0, $external: !0, $frame: !0, $frameElement: !0, $frames: !0, $innerHeight: !0, $innerWidth: !0, $onmozfullscreenchange: !0, $onmozfullscreenerror: !0, $outerHeight: !0, $outerWidth: !0, $pageXOffset: !0, $pageYOffset: !0, $parent: !0, $scrollLeft: !0, $scrollTop: !0, $scrollX: !0, $scrollY: !0, $self: !0, $webkitIndexedDB: !0, $webkitStorageInfo: !0, $window: !0 }, m = function () { if ("undefined" == typeof window) return !1; for (var e in window) { try { if (!o["$" + e] && l.call(window, e) && null !== window[e] && "object" == _typeof(window[e])) try { h(window[e]); } catch (e) { return !0; } } catch (e) { return !0; } } return !1; }(), i = function i(e) { var t = null !== e && "object" == _typeof(e), n = "[object Function]" === p.call(e), r = g(e), o = t && "[object String]" === p.call(e), i = []; if (!t && !n && !r) throw new TypeError("Object.keys called on a non-object"); var a = b && n; if (o && 0 < e.length && !l.call(e, 0)) for (var c = 0; c < e.length; ++c) { i.push(String(c)); } if (r && 0 < e.length) for (var u = 0; u < e.length; ++u) { i.push(String(u)); } else for (var s in e) { a && "prototype" === s || !l.call(e, s) || i.push(String(s)); } if (y) for (var d = function (e) { if ("undefined" == typeof window || !m) return h(e); try { return h(e); } catch (e) { return !1; } }(e), f = 0; f < v.length; ++f) { d && "constructor" === v[f] || !l.call(e, v[f]) || i.push(v[f]); } return i; }), e.exports = i; }, function (e, t, n) { "use strict"; function r(e) { return !(i && e && "object" == _typeof(e) && Symbol.toStringTag in e) && "[object Arguments]" === a.call(e); } function o(e) { return !!r(e) || null !== e && "object" == _typeof(e) && "number" == typeof e.length && 0 <= e.length && "[object Array]" !== a.call(e) && "[object Function]" === a.call(e.callee); } var i = "function" == typeof Symbol && "symbol" == _typeof(Symbol.toStringTag), a = Object.prototype.toString, c = function () { return r(arguments); }(); r.isLegacyArguments = o, e.exports = c ? r : o; }, function (e, t, n) { "use strict"; var r = n(43), o = n(95), i = n(96), a = n(97), c = n(176), u = o(a(), Object); r(u, { getPolyfill: a, implementation: i, shim: c }), e.exports = u; }, function (e, t, n) { "use strict"; var u = Array.prototype.slice, s = Object.prototype.toString; e.exports = function (t) { var n = this; if ("function" != typeof n || "[object Function]" !== s.call(n)) throw new TypeError("Function.prototype.bind called on incompatible " + n); for (var r, e, o = u.call(arguments, 1), i = Math.max(0, n.length - o.length), a = [], c = 0; c < i; c++) { a.push("$" + c); } return r = Function("binder"https://slate.com/,"return function (" + a.join(",") + "){ return binder.apply(this,arguments); }")(function () { if (this instanceof r) { var e = n.apply(this, o.concat(u.call(arguments))); return Object(e) === e ? e : this; } return n.apply(t, o.concat(u.call(arguments))); }), n.prototype && ((e = function e() {}).prototype = n.prototype, r.prototype = new e(), e.prototype = null), r; }; }, function (e, t, n) { "use strict"; var r, c = TypeError, u = Object.getOwnPropertyDescriptor; if (u) try { u({}, ""); } catch (e) { u = null; } function o() { throw new c(); } var i = u ? function () { try { return o; } catch (e) { try { return u(arguments, "callee").get; } catch (e) { return o; } } }() : o, a = n(174)(), s = Object.getPrototypeOf || function (e) { return e.__proto__; }, d = r, f = "undefined" == typeof Uint8Array ? r : s(Uint8Array), l = { "%Array%": Array, "%ArrayBuffer%": "undefined" == typeof ArrayBuffer ? r : ArrayBuffer, "%ArrayBufferPrototype%": "undefined" == typeof ArrayBuffer ? r : ArrayBuffer.prototype, "%ArrayIteratorPrototype%": a ? s([][Symbol.iterator]()) : r, "%ArrayPrototype%": Array.prototype, "%ArrayProto_entries%": Array.prototype.entries, "%ArrayProto_forEach%": Array.prototype.forEach, "%ArrayProto_keys%": Array.prototype.keys, "%ArrayProto_values%": Array.prototype.values, "%AsyncFromSyncIteratorPrototype%": r, "%AsyncFunction%": void 0, "%AsyncFunctionPrototype%": r, "%AsyncGenerator%": r, "%AsyncGeneratorFunction%": void 0, "%AsyncGeneratorPrototype%": r, "%AsyncIteratorPrototype%": d && a && Symbol.asyncIterator ? d[Symbol.asyncIterator]() : r, "%Atomics%": "undefined" == typeof Atomics ? r : Atomics, "%Boolean%": Boolean, "%BooleanPrototype%": Boolean.prototype, "%DataView%": "undefined" == typeof DataView ? r : DataView, "%DataViewPrototype%": "undefined" == typeof DataView ? r : DataView.prototype, "%Date%": Date, "%DatePrototype%": Date.prototype, "%decodeURI%": decodeURI, "%decodeURIComponent%": decodeURIComponent, "%encodeURI%": encodeURI, "%encodeURIComponent%": encodeURIComponent, "%Error%": Error, "%ErrorPrototype%": Error.prototype, "%eval%": eval, "%EvalError%": EvalError, "%EvalErrorPrototype%": EvalError.prototype, "%Float32Array%": "undefined" == typeof Float32Array ? r : Float32Array, "%Float32ArrayPrototype%": "undefined" == typeof Float32Array ? r : Float32Array.prototype, "%Float64Array%": "undefined" == typeof Float64Array ? r : Float64Array, "%Float64ArrayPrototype%": "undefined" == typeof Float64Array ? r : Float64Array.prototype, "%Function%": Function, "%FunctionPrototype%": Function.prototype, "%Generator%": r, "%GeneratorFunction%": void 0, "%GeneratorPrototype%": r, "%Int8Array%": "undefined" == typeof Int8Array ? r : Int8Array, "%Int8ArrayPrototype%": "undefined" == typeof Int8Array ? r : Int8Array.prototype, "%Int16Array%": "undefined" == typeof Int16Array ? r : Int16Array, "%Int16ArrayPrototype%": "undefined" == typeof Int16Array ? r : Int8Array.prototype, "%Int32Array%": "undefined" == typeof Int32Array ? r : Int32Array, "%Int32ArrayPrototype%": "undefined" == typeof Int32Array ? r : Int32Array.prototype, "%isFinite%": isFinite, "%isNaN%": isNaN, "%IteratorPrototype%": a ? s(s([][Symbol.iterator]())) : r, "%JSON%": "object" == (typeof JSON === "undefined" ? "undefined" : _typeof(JSON)) ? JSON : r, "%JSONParse%": "object" == (typeof JSON === "undefined" ? "undefined" : _typeof(JSON)) ? JSON.parse : r, "%Map%": "undefined" == typeof Map ? r : Map, "%MapIteratorPrototype%": "undefined" != typeof Map && a ? s(new Map()[Symbol.iterator]()) : r, "%MapPrototype%": "undefined" == typeof Map ? r : Map.prototype, "%Math%": Math, "%Number%": Number, "%NumberPrototype%": Number.prototype, "%Object%": Object, "%ObjectPrototype%": Object.prototype, "%ObjProto_toString%": Object.prototype.toString, "%ObjProto_valueOf%": Object.prototype.valueOf, "%parseFloat%": parseFloat, "%parseInt%": parseInt, "%Promise%": "undefined" == typeof Promise ? r : Promise, "%PromisePrototype%": "undefined" == typeof Promise ? r : Promise.prototype, "%PromiseProto_then%": "undefined" == typeof Promise ? r : Promise.prototype.then, "%Promise_all%": "undefined" == typeof Promise ? r : Promise.all, "%Promise_reject%": "undefined" == typeof Promise ? r : Promise.reject, "%Promise_resolve%": "undefined" == typeof Promise ? r : Promise.resolve, "%Proxy%": "undefined" == typeof Proxy ? r : Proxy, "%RangeError%": RangeError, "%RangeErrorPrototype%": RangeError.prototype, "%ReferenceError%": ReferenceError, "%ReferenceErrorPrototype%": ReferenceError.prototype, "%Reflect%": "undefined" == typeof Reflect ? r : Reflect, "%RegExp%": RegExp, "%RegExpPrototype%": RegExp.prototype, "%Set%": "undefined" == typeof Set ? r : Set, "%SetIteratorPrototype%": "undefined" != typeof Set && a ? s(new Set()[Symbol.iterator]()) : r, "%SetPrototype%": "undefined" == typeof Set ? r : Set.prototype, "%SharedArrayBuffer%": "undefined" == typeof SharedArrayBuffer ? r : SharedArrayBuffer, "%SharedArrayBufferPrototype%": "undefined" == typeof SharedArrayBuffer ? r : SharedArrayBuffer.prototype, "%String%": String, "%StringIteratorPrototype%": a ? s(""[Symbol.iterator]()) : r, "%StringPrototype%": String.prototype, "%Symbol%": a ? Symbol : r, "%SymbolPrototype%": a ? Symbol.prototype : r, "%SyntaxError%": SyntaxError, "%SyntaxErrorPrototype%": SyntaxError.prototype, "%ThrowTypeError%": i, "%TypedArray%": f, "%TypedArrayPrototype%": f ? f.prototype : r, "%TypeError%": c, "%TypeErrorPrototype%": c.prototype, "%Uint8Array%": "undefined" == typeof Uint8Array ? r : Uint8Array, "%Uint8ArrayPrototype%": "undefined" == typeof Uint8Array ? r : Uint8Array.prototype, "%Uint8ClampedArray%": "undefined" == typeof Uint8ClampedArray ? r : Uint8ClampedArray, "%Uint8ClampedArrayPrototype%": "undefined" == typeof Uint8ClampedArray ? r : Uint8ClampedArray.prototype, "%Uint16Array%": "undefined" == typeof Uint16Array ? r : Uint16Array, "%Uint16ArrayPrototype%": "undefined" == typeof Uint16Array ? r : Uint16Array.prototype, "%Uint32Array%": "undefined" == typeof Uint32Array ? r : Uint32Array, "%Uint32ArrayPrototype%": "undefined" == typeof Uint32Array ? r : Uint32Array.prototype, "%URIError%": URIError, "%URIErrorPrototype%": URIError.prototype, "%WeakMap%": "undefined" == typeof WeakMap ? r : WeakMap, "%WeakMapPrototype%": "undefined" == typeof WeakMap ? r : WeakMap.prototype, "%WeakSet%": "undefined" == typeof WeakSet ? r : WeakSet, "%WeakSetPrototype%": "undefined" == typeof WeakSet ? r : WeakSet.prototype }, p = n(67).call(Function.call, String.prototype.replace), g = /[^%.[]]+|[(?:(-?d+(?:.d+)?)|(["'])((?:(?!2)[^\]|\.)*?)2)]|(?=(?:.|[])(?:.|[]|%$))/g, y = /\(\)?/g; e.exports = function (e, t) { if ("string" != typeof e || 0 === e.length) throw new TypeError("intrinsic name must be a non-empty string"); if (1 < arguments.length && "boolean" != typeof t) throw new TypeError('"allowMissing" argument must be a boolean'); for (var o, n = (o = [], p(e, g, function (e, t, n, r) { o[o.length] = n ? p(r, y, "$1") : t || e; }), o), r = function (e, t) { if (!(e in l)) throw new SyntaxError("intrinsic " + e + " does not exist!"); if (void 0 === l[e] && !t) throw new c("intrinsic " + e + " exists, but is not available. Please file an issue!"); return l[e]; }("%" + (0 < n.length ? n[0] : "") + "%", t), i = 1; i < n.length; i += 1) { if (null != r) if (u && i + 1 >= n.length) { var a = u(r, n[i]); if (!(t || n[i] in r)) throw new c("base intrinsic for " + e + " exists, but the property is not available."); r = a ? a.get || a.value : r[n[i]]; } else r = r[n[i]]; }

return r; }; }, function (r, e, o) { "use strict";

(function (e) { var t = e.Symbol, n = o(175);

r.exports = function () { return "function" == typeof t && "function" == typeof Symbol && "symbol" == _typeof(t("foo")) && "symbol" == _typeof(Symbol("bar")) && n(); }; }).call(e, o(33)); }, function (e, t, n) { "use strict";

e.exports = function () { if ("function" != typeof Symbol || "function" != typeof Object.getOwnPropertySymbols) return !1; if ("symbol" == _typeof(Symbol.iterator)) return !0; var e = {}, t = Symbol("test"), n = Object(t); if ("string" == typeof t) return !1; if ("[object Symbol]" !== Object.prototype.toString.call(t)) return !1; if ("[object Symbol]" !== Object.prototype.toString.call(n)) return !1;

for (t in (e[t] = 42, e)) { return !1; }

if ("function" == typeof Object.keys && 0 !== Object.keys(e).length) return !1; if ("function" == typeof Object.getOwnPropertyNames && 0 !== Object.getOwnPropertyNames(e).length) return !1; var r = Object.getOwnPropertySymbols(e); if (1 !== r.length || r[0] !== t) return !1; if (!Object.prototype.propertyIsEnumerable.call(e, t)) return !1;

if ("function" == typeof Object.getOwnPropertyDescriptor) { var o = Object.getOwnPropertyDescriptor(e, t); if (42 !== o.value || !0 !== o.enumerable) return !1; }

return !0; }; }, function (e, t, n) { "use strict";

var r = n(97), o = n(43);

e.exports = function () { var e = r(); return o(Object, { is: e }, { is: function is() { return Object.is !== e; } }), e; }; }, function (e, t, n) { "use strict";

var r = n(178), o = RegExp.prototype.exec, i = Object.getOwnPropertyDescriptor, a = Object.prototype.toString, c = "function" == typeof Symbol && "symbol" == _typeof(Symbol.toStringTag);

e.exports = function (e) { if (!e || "object" != _typeof(e)) return !1; if (!c) return "[object RegExp]" === a.call(e); var t = i(e, "lastIndex"); return !(!t || !r(t, "value")) && function (e) { try { var t = e.lastIndex; return e.lastIndex = 0, o.call(e), !0; } catch (e) { return !1; } finally { e.lastIndex = t; } }(e); }; }, function (e, t, n) { "use strict";

var r = n(67); e.exports = r.call(Function.call, Object.prototype.hasOwnProperty); }, function (e, t, n) { "use strict";

var r = n(43), o = n(95), i = n(98), a = n(99), c = n(180), u = o(i); r(u, { getPolyfill: a, implementation: i, shim: c }), e.exports = u; }, function (e, t, n) { "use strict";

var r = n(43).supportsDescriptors, o = n(99), i = Object.getOwnPropertyDescriptor, a = Object.defineProperty, c = TypeError, u = Object.getPrototypeOf, s = /a/;

e.exports = function () { if (!r || !u) throw new c("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors"); var e = o(), t = u(s), n = i(t, "flags"); return n && n.get === e || a(t, "flags", { configurable: !0, enumerable: !1, get: e }), e; }; }, function (e, t, n) { "use strict";

var r = Date.prototype.getDay, o = Object.prototype.toString, i = "function" == typeof Symbol && "symbol" == _typeof(Symbol.toStringTag);

e.exports = function (e) { return "object" == _typeof(e) && null !== e && (i ? function (e) { try { return r.call(e), !0; } catch (e) { return !1; } }(e) : "[object Date]" === o.call(e)); }; }, function (e, t, n) { "use strict";

t.a = function (e, t, n, r, o) { for (t = t.split ? t.split(".") : t, r = 0; r < t.length; r++) { e = e ? e[t[r]] : o; } return e === o ? n : e; }; }, function (e, t, n) { "use strict"; t.a = function (e, t, n) { t.split && (t = t.split(".")); for (var r, o = 0, i = t.length, a = e; o < i; ++o) { r = a[t[o]], a = a[t[o]] = o === i - 1 ? n : null != r ? r : !~t[o + 1].indexOf(".") && -1 < +t[o + 1] ? [] : {}; } }; }, function (e, t) { h.SYNC = 1, h.ASYNC = 2, h.QUEUE = 4; var g = "fun-hooks"; var n = Object.freeze({ useProxy: !0, ready: 0 }), y = new WeakMap(), r = "2,1,0" === [1].reduce(function (e, t, n) { return [e, t, n]; }, 2).toString() ? Array.prototype.reduce : function (e, t) { var n, r = Object(this), o = r.length >>> 0, i = 0; if (t) n = t;else { for (; i < o && !(i in r);) { i++; } n = r[i++]; } for (; i < o;) { i in r && (n = e(n, r[i], i, r)), i++; } return n; }; function b(e, t) { return Array.prototype.slice.call(e, t); } var v = Object.assign || function (e) { return r.call(b(arguments, 1), function (t, n) { return n && Object.keys(n).forEach(function (e) { t[e] = n[e]; }), t; }, e); }; function h(u) { var s, e = {}, d = []; function t(e, t) { return "function" == typeof e ? f.call(null, "sync", e, t) : "string" == typeof e && "function" == typeof t ? f.apply(null, arguments) : "object" == _typeof(e) ? function (i, e, a) { var t = !0; void 0 === e && (e = Object.getOwnPropertyNames(i), t = !1); var c = {}, n = ["constructor"]; for (; (e = e.filter(function (e) { return !("function" != typeof i[e] || -1 !== n.indexOf(e) || e.match(/^_/)); })).forEach(function (e) { var t, n = e.split(":"), r = n[0], o = n[1] || "sync"; c[r] || (t = i[r], c[r] = i[r] = f(o, t, a ? [a, r] : void 0)); }), i = Object.getPrototypeOf(i), t && i;) { ; } return c; }.apply(null, arguments) : void 0; } function l(i) { var a = Array.isArray(i) ? i : i.split("."); return r.call(a, function (t, n, e) { var r = t[n], o = !1; return r || (e === a.length - 1 ? (s || d.push(function () { o || console.warn(g + ": referenced '" + i + "' but it was never created"); }), t[n] = p(function (e) { t[n] = e, o = !0; })) : t[n] = {}); }, e); } function p(r) { var i = [], a = [], c = function c() {}, e = { before: function before(e, t) { return n.call(this, i, "before", e, t); }, after: function after(e, t) { return n.call(this, a, "after", e, t); }, getHooks: function getHooks(n) { var e = i.concat(a); "object" == _typeof(n) && (e = e.filter(function (t) { return Object.keys(n).every(function (e) { return t[e] === n[e]; }); })); try { v(e, { remove: function remove() { return e.forEach(function (e) { e.remove(); }), this; } }); } catch (e) { console.error("error adding `remove` to array, did you modify Array.prototype?"); } return e; }, removeAll: function removeAll() { return this.getHooks().remove(); } }, t = { install: function install(e, t, n) { this.type = e, (c = n)(i, a), r && r(t); } }; return y.set(e.after, t), e; function n(t, e, n, r) { var o = { hook: n, type: e, priority: r || 10, remove: function remove() { var e = t.indexOf(o); -1 !== e && (t.splice(e, 1), c(i, a)); } }; return t.push(o), t.sort(function (e, t) { return t.priority - e.priority; }), c(i, a), this; } } function f(f, e, t) { var n = e.after && y.get(e.after); if (n) { if (n.type !== f) throw g + ": recreated hookable with different type"; return e; } var r, o, i = t ? l(t) : p(), a = { get: function get(e, t) { return i[t] || Reflect.get.apply(Reflect, arguments); } }; return s || d.push(c), u.useProxy && "function" == typeof Proxy && Proxy.revocable ? o = new Proxy(e, a) : v(o = function o() { return a.apply ? a.apply(e, this, b(arguments)) : e.apply(this, arguments); }, i), y.get(o.after).install(f, o, function (e, t) { var s, d = []; r = e.length || t.length ? (e.forEach(n), s = d.push(void 0) - 1, t.forEach(n), function (n, r, e) { var o, i = 0, a = "async" === f && "function" == typeof e[e.length - 1] && e.pop(); function c(e) { "sync" === f ? o = e : a && a.apply(null, arguments); } function u(e) { if (d[i]) { var t = b(arguments); return u.bail = c, t.unshift(u), d[i++].apply(r, t); } "sync" === f ? o = e : a && a.apply(null, arguments); } return d[s] = function () { var e = b(arguments, 1); "async" === f && a && (delete u.bail, e.push(u)); var t = n.apply(r, e); "sync" === f && u(t); }, u.apply(null, e), o; }) : void 0; function n(e) { d.push(e.hook); } c(); }), o; function c() { !s && ("sync" !== f || u.ready & h.SYNC) && ("async" !== f || u.ready & h.ASYNC) ? "sync" !== f && u.ready & h.QUEUE ? a.apply = function () { var e = arguments; d.push(function () { o.apply(e[1], e[2]); }); } : a.apply = function () { throw g + ": hooked function not ready"; } : a.apply = r; } } return (u = v({}, n, u)).ready ? t.ready = function () { s = !0, function (e) { for (var t; t = e.shift();) { t(); } }(d); } : s = !0, t.get = l, t; } e.exports = h; },,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, function (e, t, n) { n(239); var r = n(52); e.exports = r("Array"https://slate.com/,"findIndex"); }, function (e, t, n) { "use strict"; var r = n(14), o = n(56).findIndex, i = n(51), a = n(60), c = "findIndex", u = !0, s = a(c); c in [] && Array(1)[c](function () { u = !1; }), r({ target: "Array", proto: !0, forced: u || !s }, { findIndex: function findIndex(e, t) { return o(this, e, 1 < arguments.length ? t : void 0); } }), i(c); },,,,,,, function (e, t, n) { "use strict"; t.a = function () { window.addEventListener("message", c, !1); }; var r = n(8), g = n.n(r), y = n(35), o = n(5), b = (n.n(o), n(0)), v = n(26), i = n(11), h = n.n(i), m = n(10), a = n(12), S = n.n(a), A = o.EVENTS.BID_WON; function c(e) { var t, n, r, o, i, a, c, u, s, d = e.message ? "message" : "data", f = {}; try { f = JSON.parse(e[d]); } catch (e) { return; } if (f && f.adId) { var l = h()(v.a.getBidsReceived(), function (e) { return e.adId === f.adId; }); if (l && "Prebid Request" === f.message && (n = e, r = (t = l).adId, o = t.ad, i = t.adUrl, a = t.width, c = t.height, u = t.renderer, s = t.cpm, Object(m.c)(u) ? Object(m.b)(u, t) : r && (function (e) { var i = e.adId, a = e.adUnitCode, r = e.width, o = e.height; function c(e) { var t, n, r = (t = i, n = a, window.googletag ? function (n) { return h()(window.googletag.pubads().getSlots(), function (t) { return h()(t.getTargetingKeys(), function (e) { return S()(t.getTargeting(e), n); }); }).getSlotElementId(); }(t) : window.apntag ? function (e) { var t = window.apntag.getTag(e); return t && t.targetId; }(n) : n), o = document.getElementById(r); return o && o.querySelector(e); } ["div"https://slate.com/,"iframe"].forEach(function (e) { var t, n = c(e + ':not([style*="display: none"])'); n ? ((t = n.style).width = r + "px", t.height = o + "px") : Object(b.logWarn)("Unable to locate matching page element for adUnitCode ".concat(a, ". Can't resize it to ad's dimensions. Please review setup.")); }); }(t), n.source.postMessage(JSON.stringify({ message: "Prebid Response", ad: Object(b.replaceAuctionPrice)(o, s), adUrl: Object(b.replaceAuctionPrice)(i, s), adId: r, width: a, height: c }), n.origin)), v.a.addWinningBid(l), g.a.emit(A, l)), l && "Prebid Native" === f.message) { if ("assetRequest" === f.action) { var p = Object(y.c)(f, l); return void e.source.postMessage(JSON.stringify(p), e.origin); } if ("click" === Object(y.b)(f, l)) return; v.a.addWinningBid(l), g.a.emit(A, l); } } } }, function (e, t, n) { "use strict"; t.a = function (e) { var t; try { e = e || window.sessionStorage, t = JSON.parse(e.getItem(u)); } catch (e) {} t && p(t, !0); }; var r, o, i = n(3), a = n(0), c = n(40), u = "pbjs:debugging"; function s(e) { Object(a.logMessage)("DEBUG: " + e); } function d(e) { Object(a.logWarn)("DEBUG: " + e); } function f(e) { r = function (e, t, n) { if (y(this.bidders, n.bidderCode)) return void d("bidder '".concat(n.bidderCode, "' excluded from auction by bidder overrides")); Array.isArray(this.bids) && this.bids.forEach(function (e) { g(e, n.bidderCode, t) || b(e, n, "bidder"); }); e(t, n); }.bind(e), c.c.before(r, 5), o = function (e, t) { var r = this, n = t.filter(function (e) { return !y(r.bidders, e.bidderCode) || (d("bidRequest '".concat(e.bidderCode, "' excluded from auction by bidder overrides")), !1); }); Array.isArray(r.bidRequests) && n.forEach(function (n) { r.bidRequests.forEach(function (t) { n.bids.forEach(function (e) { g(t, n.bidderCode, e.adUnitCode) || b(t, e, "bidRequest"); }); }); }); e(n); }.bind(e), c.e.before(o, 5); } function l() { c.c.getHooks({ hook: r }).remove(), c.e.getHooks({ hook: o }).remove(); } function p(e, t) { var n = 1 < arguments.length && void 0 !== t && t; i.b.setConfig({ debug: !0 }), l(), f(e), s("bidder overrides enabled".concat(n ? " from session" : "")); } function g(e, t, n) { return e.bidder && e.bidder !== t || !(!e.adUnitCode || e.adUnitCode === n); } function y(e, t) { return Array.isArray(e) && -1 === e.indexOf(t); } function b(n, e, r) { return Object.keys(n).filter(function (e) { return -1 === ["adUnitCode"https://slate.com/,"bidder"].indexOf(e); }).reduce(function (e, t) { return s("bidder overrides changed '".concat(e.adUnitCode, "/").concat(e.bidderCode, "' ").concat(r, ".").concat(t, " from '").concat(e[t], ".js' to '").concat(n[t], "'")), e[t] = n[t], e; }, e); } function v(e) { if (e.enabled) { try { window.sessionStorage.setItem(u, JSON.stringify(e)); } catch (e) {} p(e); } else { l(), s("bidder overrides disabled"); try { window.sessionStorage.removeItem(u); } catch (e) {} } } i.b.getConfig("debugging", function (e) { return v(e.debugging); }); },,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, function (e, t, n) { var r = n(361); e.exports = r; }, function (e, t, n) { n(362); var r = n(52); e.exports = r("String"https://slate.com/,"includes"); }, function (e, t, n) { "use strict"; var r = n(14), o = n(363), i = n(49); r({ target: "String", proto: !0, forced: !n(365)("includes") }, { includes: function includes(e, t) { return !!~String(i(this)).indexOf(o(e), 1 < arguments.length ? t : void 0); } }); }, function (e, t, n) { var r = n(364); e.exports = function (e) { if (r(e)) throw TypeError("The method doesn't accept regular expressions"); return e; }; }, function (e, t, n) { var r = n(23), o = n(48), i = n(19)("match"); e.exports = function (e) { var t; return r(e) && (void 0 !== (t = e[i]) ? !!t : "RegExp" == o(e)); }; }, function (e, t, n) { var r = n(19)("match"); e.exports = function (t) { var n = /./; try { "/./"[t](n); } catch (e) { try { return n[r] = !1, "/./"[t](n); } catch (e) {} } return !1; }; },,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, function (e, t, n) { var r = n(484); e.exports = r; }, function (e, t, n) { n(485); var r = n(42); e.exports = r.Number.isInteger; }, function (e, t, n) { n(14)({ target: "Number", stat: !0 }, { isInteger: n(486) }); }, function (e, t, n) { var r = n(23), o = Math.floor; e.exports = function (e) { return !r(e) && isFinite(e) && o(e) === e; }; },,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, function (e, t, n) { e.exports = n(70); }]); pbjsChunk([276], { 276: function _(n, e, t) { n.exports = t(277); }, 277: function _(n, e, t) { "use strict"; function i(n) { return (i = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (n) { return _typeof(n); } : function (n) { return n && "function" == typeof Symbol && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : _typeof(n); })(n); } Object.defineProperty(e, "__esModule", { value: !0 }); var a = t(8), u = t(0), o = t(5), l = t(7).default, s = o.EVENTS.BID_REQUESTED, c = o.EVENTS.BID_TIMEOUT, d = o.EVENTS.BID_RESPONSE, r = o.EVENTS.BID_WON, f = [], p = null, b = !0, y = 0, v = !0, g = ["bidder"https://slate.com/,"bidderCode"https://slate.com/,"size"https://slate.com/,"cpm"https://slate.com/,"statusMessage"https://slate.com/,"timeToRespond"https://slate.com/,"adUnitCode"], m = {}; function E() { if (b && "object" === i(window[p]) && "function" == typeof window[p].getInstance && "object" === i(window.slateAmplitudeQueue) && window.slateAmplitudeQueue.initCalled) { for (var n = 0; n < f.length; n++) { f[n].call(); } f.push = function (n) { n.call(); }, b = !1; } u.logMessage("event count sent to Amplitude: " + y); } function w(e) { var t = {}; return g.forEach(function (n) { n in e && (t[n] = e[n]); }), t; } function T(e) { e && e.bidderCode && f.push(function () { var n = w(e); y++, window[p].logEvent("Prebid.js Requests", n); }), E(); } function h(e) { e && e.bidderCode && f.push(function () { var n; 0 < e.cpm && (n = w(e), y++, window[p].logEvent("Prebid.js Bids", n)); }), E(); } function S(n) { f.push(function () { u._each(n, function (n) { var e = w(n); y++, window[p].logEvent("Prebid.js Timeouts", e); }); }), E(); } function j(e) { f.push(function () { var n = w(e); y++, window[p].logEvent("Prebid.js Wins", n); }), E(); } m.enableAnalytics = function (n) { var e = n.provider, t = n.options; p = e || "amplitude", v = void 0 === t || void 0 === t.sampling || Math.random() < parseFloat(t.sampling), t && void 0 !== t.global && (p = t.global); var o; v ? (o = a.getEvents(), u._each(o, function (n) { var e; "object" === i(n) && (e = n.args, n.eventType === s ? T(e) : n.eventType === d ? h(e) : n.eventType === c ? S(e) : n.eventType === r && j(e)); }), a.on(s, function (n) { T(n); }), a.on(d, function (n) { h(n); }), a.on(c, function (n) { S(n); }), a.on(r, function (n) { j(n); })) : u.logMessage("Prebid.js amplitude analytics disabled by sampling"), this.enableAnalytics = function () { return u.logMessage("Analytics adapter already enabled, unnecessary call to `enableAnalytics`."); }; }, l.registerAnalyticsAdapter({ adapter: m, code: "amplitude" }), e.default = m; } }, [276]); pbjsChunk([272], { 288: function _(e, r, t) { e.exports = t(289); }, 289: function _(e, r, t) { "use strict"; Object.defineProperty(r, "__esModule", { value: !0 }), t.d(r, "spec", function () { return O; }); var f = t(10), _ = t(0), I = t(3), g = t(1), y = t(2), p = t(26), a = t(11), k = t.n(a), n = t(12), x = t.n(n), v = t(38), i = t(9); function s(e) { return (s = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (e) { return _typeof(e); } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : _typeof(e); })(e); } function b() { return (b = Object.assign || function (e) { for (var r = 1; r < arguments.length; r++) { var t = arguments[r]; for (var a in t) { Object.prototype.hasOwnProperty.call(t, a) && (e[a] = t[a]); } } return e; }).apply(this, arguments); } function A(e) { return function (e) { if (Array.isArray(e)) return o(e); }(e) || function (e) { if ("undefined" != typeof Symbol && Symbol.iterator in Object(e)) return Array.from(e); }(e) || function (e, r) { if (!e) return; if ("string" == typeof e) return o(e, r); var t = Object.prototype.toString.call(e).slice(8, -1); "Object" === t && e.constructor && (t = e.constructor.name); if ("Map" === t || "Set" === t) return Array.from(e); if ("Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return o(e, r); }(e) || 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 || r > e.length) && (r = e.length);

for (var t = 0, a = new Array(r); t < r; t++) { a[t] = e[t]; } return a; } var d = "appnexus", C = "https://ib.adnxs.com/ut/v3/prebid", u = ["id"https://slate.com/,"mimes"https://slate.com/,"minduration"https://slate.com/,"maxduration"https://slate.com/,"startdelay"https://slate.com/,"skippable"https://slate.com/,"playback_method"https://slate.com/,"frameworks"], S = ["age"https://slate.com/,"externalUid"https://slate.com/,"segments"https://slate.com/,"gender"https://slate.com/,"dnt"https://slate.com/,"language"], w = ["geo"https://slate.com/,"device_id"], T = ["enabled"https://slate.com/,"dongle"https://slate.com/,"member_id"https://slate.com/,"debug_timeout"], c = { body: "description", body2: "desc2", cta: "ctatext", image: { serverName: "main_image", requiredParams: { required: !0 } }, icon: { serverName: "icon", requiredParams: { required: !0 } }, sponsoredBy: "sponsored_by", privacyLink: "privacy_link", salePrice: "saleprice", displayUrl: "displayurl" }, l = "

)/gm, "t").replace(/(

|

)/gm, "n").replace(/^
/gm, "").replace(/(
n|
)/gm, "n").replace(/

(.*)

/gm, "nn===== $1 =====nn").replace(/(.*)/gm, "nn*** $1 ***nn").replace(/(<([^>]+)>)/gim, ""), _.logMessage("https://console.appnexus.com/docs/understanding-the-debug-auction"), _.logMessage(t)), o; var a = "in response for ".concat(s.bidderCode, " adapter"); return e && e.error && (a += ": ".concat(e.error)), _.logError(a), o; }, getMappingFileInfo: function getMappingFileInfo() { return { url: "https://acdn.adnxs.com/prebid/appnexus-mapping/mappings.json", refreshInDays: 2 }; }, getUserSyncs: function getUserSyncs(e) { if (e.iframeEnabled) return [{ type: "iframe", url: "https://acdn.adnxs.com/ib/static/usersync/v3/async_usersync.html" }]; }, transformBidParams: function transformBidParams(t, e) { return t = _.convertTypes({ member: "string", invCode: "string", placementId: "number", keywords: _.transformBidderParamKeywords, publisherId: "number" }, t), e && (t.use_pmt_rule = "boolean" == typeof t.usePaymentRule && t.usePaymentRule, t.usePaymentRule && delete t.usePaymentRule, R(t.keywords) && t.keywords.forEach(j), Object.keys(t).forEach(function (e) { var r = _.convertCamelToUnderscore(e);

r !== e && (t[r] = t[e], delete t[e]); })), t; }, onBidWon: function onBidWon(e) { e.native && function (e) { var r = function (e) { var r; if (_.isStr(e) && P(e)) r = e;else if (_.isArray(e)) for (var t = 0; t < e.length; t++) { var a = e[t]; P(a) && (r = a); } return r; }(e.native.javascriptTrackers); if (r) for (var t = "pbjs_adid=" + e.adId + ";pbjs_auc=" + e.adUnitCode, a = function (e) { var r = e.indexOf('src="') + 5, t = e.indexOf('"', r); return e.substring(r, t); }(r), n = a.replace("dom_id=%native_dom_id%", t), i = document.getElementsByTagName("iframe"), s = !1, o = 0; o < i.length && !s; o++) { var d = i[o]; try { var p = d.contentDocument || d.contentWindow.document; if (p) for (var u = p.getElementsByTagName("script"), c = 0; c < u.length && !s; c++) { var l = u[c]; l.getAttribute("data-src") == a && (l.setAttribute("src", n), l.setAttribute("data-src"https://slate.com/,""), l.removeAttribute && l.removeAttribute("data-src"), s = !0); } } catch (e) { if (!(e instanceof DOMException && "SecurityError" === e.name)) throw e; } } }(e); } }; function R(e) { return _.isArray(e) && 0 < e.length; } function j(e) { R(e.value) && "" === e.value[0] && delete e.value; } function P(e) { var r = e.match(m), t = null != r && 1 <= r.length, a = e.match(h), n = null != a && 1 <= a.length; return e.startsWith(l) && n && t; } function U(r) { var e, t, n, i, a = {}; a.sizes = N(r.sizes), a.primary_size = a.sizes[0], a.ad_types = [], a.uuid = r.bidId, r.params.placementId ? a.id = parseInt(r.params.placementId, 10) : a.code = r.params.invCode, a.allow_smaller_sizes = r.params.allowSmallerSizes || !1, a.use_pmt_rule = r.params.usePaymentRule || !1, a.prebid = !0, a.disable_psa = !0, r.params.reserve && (a.reserve = r.params.reserve), r.params.position && (a.position = { above: 1, below: 2 }[r.params.position] || 0), r.params.trafficSourceCode && (a.traffic_source_code = r.params.trafficSourceCode), r.params.privateSizes && (a.private_sizes = N(r.params.privateSizes)), r.params.supplyType && (a.supply_type = r.params.supplyType), r.params.pubClick && (a.pubclick = r.params.pubClick), r.params.extInvCode && (a.ext_inv_code = r.params.extInvCode), r.params.publisherId && (a.publisher_id = parseInt(r.params.publisherId, 10)), r.params.externalImpId && (a.external_imp_id = r.params.externalImpId), _.isEmpty(r.params.keywords) || (0 < (e = _.transformBidderParamKeywords(r.params.keywords)).length && e.forEach(j), a.keywords = e), r.mediaType !== y.c && !_.deepAccess(r, "mediaTypes.".concat(y.c)) || (a.ad_types.push(y.c), 0 === a.sizes.length && (a.sizes = N([1, 1])), r.nativeParams && (n = r.nativeParams, i = {}, Object.keys(n).forEach(function (e) { var r, t = c[e] && c[e].serverName || c[e] || e, a = c[e] && c[e].requiredParams; i[t] = b({}, a, n[e]), t !== c.image.serverName && t !== c.icon.serverName || !i[t].sizes || (r = i[t].sizes, (_.isArrayOfNums(r) || _.isArray(r) && 0 < r.length && r.every(function (e) { return _.isArrayOfNums(e); })) && (i[t].sizes = N(i[t].sizes))), t === c.privacyLink && (i.privacy_supported = !0); }), t = i, a[y.c] = { layouts: [t] })); var s = _.deepAccess(r, "mediaTypes.".concat(y.d)), o = _.deepAccess(r, "mediaTypes.video.context"); a.hb_source = s && "adpod" === o ? 7 : 1, r.mediaType !== y.d && !s || a.ad_types.push(y.d), (r.mediaType === y.d || s && "outstream" !== o) && (a.require_asset_url = !0), r.params.video && (a.video = {}, Object.keys(r.params.video).filter(function (e) { return x()(u, e); }).forEach(function (e) { return a.video[e] = r.params.video[e]; })), r.renderer && (a.video = b({}, a.video, { custom_renderer_present: !0 })); var d = k()(p.a.getAdUnits(), function (e) { return r.transactionId === e.transactionId; }); return d && d.mediaTypes && d.mediaTypes.banner && a.ad_types.push(y.b), 0 === a.ad_types.length && delete a.ad_types, a; } function N(e) { var r = [], t = {}; if (_.isArray(e) && 2 === e.length && !_.isArray(e[0])) t.width = parseInt(e[0], 10), t.height = parseInt(e[1], 10), r.push(t);else if ("object" === s(e)) for (var a = 0; a < e.length; a++) { var n = e[a]; (t = {}).width = parseInt(n[0], 10), t.height = parseInt(n[1], 10), r.push(t); } return r; } function q(e) { return !!e.params.user; } function M(e) { return !!parseInt(e.params.member, 10); } function z(e) { if (e.params) return !!e.params.app; } function B(e) { return e.params && e.params.app ? !!e.params.app.id : !!e.params.app; } function D(e) { return !!e.debug; } function V(e) { return e.mediaTypes && e.mediaTypes.video && e.mediaTypes.video.context === y.a; } function J(e, r, t) { _.isEmpty(e.video) && (e.video = {}), e.video[r] = t; } function W(e) { var r, t; r = e.adUnitCode, (t = document.getElementById(r).querySelectorAll("div[id^='google_ads']"))[0] && t[0].style.setProperty("display"https://slate.com/,"none"), e.renderer.push(function () { window.ANOutstreamVideo.renderAd({ tagId: e.adResponse.tag_id, sizes: [e.getSize().split("x")], targetId: e.adUnitCode, uuid: e.adResponse.uuid, adResponse: e.adResponse, rendererOptions: e.renderer.getConfig() }, function (e, r, t) { e.renderer.handleVideoEvent({ id: r, eventName: t }); }.bind(null, e)); }); } Object(g.registerBidder)(O); } }, [288]); pbjsChunk([239], { 358: function _(n, t, e) { n.exports = e(359); }, 359: function _(n, t, e) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), e.d(t, "userCMP", function () { return l; }), e.d(t, "consentTimeout", function () { return u; }), e.d(t, "allowAuction", function () { return p; }), e.d(t, "gdprScope", function () { return g; }), e.d(t, "staticConsentData", function () { return m; }), t.requestBidsHook = M, t.resetConsentData = function () { C = void 0, l = void 0, w = 0, a.gdprDataHandler.setConsentData(null); }, t.setConsentConfig = _; var d = e(0), o = e(3), a = e(7), i = e(12), s = e.n(i), r = e(360), f = e.n(r); function c(n) { return (c = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (n) { return _typeof(n); } : function (n) { return n && "function" == typeof Symbol && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : _typeof(n); })(n); } var l, u, p, g, m, C, b = "iab", v = 1e4, y = !0, w = 0, D = !1, k = { iab: function iab(o, e, s) { function n(n, t) { d.logInfo("Received a response from CMP", n), t ? ("tcloaded" === n.eventStatus || "useractioncomplete" === n.eventStatus || "cmpuishown" === n.eventStatus && n.tcString && !0 === n.purposeOneTreatment) && o(n, s) : e("CMP unable to register callback function. Please check CMP setup.", s); } var t = function () { var t = {}; function e() { t.getConsentData && t.getVendorConsents && (d.logInfo("Received all requested responses from CMP", t), o(t, s)); } return { consentDataCallback: function consentDataCallback(n) { t.getConsentData = n, e(); }, vendorConsentsCallback: function vendorConsentsCallback(n) { t.getVendorConsents = n, e(); } }; }(), u = {}, a = function () { for (var n, t, e = window; !n;) { try { if ("function" == typeof e.__tcfapi || "function" == typeof e.__cmp) { t = "function" == typeof e.__tcfapi ? (w = 2, e.__tcfapi) : (w = 1, e.__cmp), n = e; break; } } catch (n) {} try { if (e.frames.__tcfapiLocator) { w = 2, n = e; break; } } catch (n) {} try { if (e.frames.__cmpLocator) { w = 1, n = e; break; } } catch (n) {} if (e === window.top) break; e = e.parent; } return { cmpFrame: n, cmpFunction: t }; }(), i = a.cmpFrame, r = a.cmpFunction; if (!i) return e("CMP not found.", s); d.isFn(r) ? (d.logInfo("Detected CMP API is directly accessible, calling it now..."), 1 === w ? (r("getConsentData", null, t.consentDataCallback), r("getVendorConsents", null, t.vendorConsentsCallback)) : 2 === w && r("addEventListener", w, n)) : 1 === w && window.$sf && window.$sf.ext && "function" == typeof window.$sf.ext.cmp ? (d.logInfo("Detected Prebid.js is encased in a SafeFrame and CMP is registered, calling it now..."), c("getConsentData", t.consentDataCallback), c("getVendorConsents", t.vendorConsentsCallback)) : (d.logInfo("Detected CMP is outside the current iframe where Prebid.js is located, calling it now..."), 1 === w ? (l("getConsentData", i, t.consentDataCallback), l("getVendorConsents", i, t.vendorConsentsCallback)) : 2 === w && l("addEventListener", i, n)); function c(o, a) { var n, t = s.adUnits, e = 1, i = 1; Array.isArray(t) && 0 < t.length && (e = (n = d.getAdUnitSizes(t[0]))[0][0], i = n[0][1]), window.$sf.ext.register(e, i, function (n, t) { var e; "cmpReturn" === n && (e = "getConsentData" === o ? t.vendorConsentData : t.vendorConsents, a(e)); }), window.$sf.ext.cmp(o); } function l(n, l, t) { var d = 2 === w ? "__tcfapi" : "__cmp"; window[d] = function (n, t, e) { var o, a, i, s = Math.random() + "", r = "".concat(d, "Call"), c = (i = { command: n, parameter: t, callId: s }, (a = r) in (o = {}) ? Object.defineProperty(o, a, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : o[a] = i, o); 1 !== w && (c[r].version = w), u[s] = e, l.postMessage(c, "*"); }, window.addEventListener("message", function (n) { var t = "".concat(d, "Return"), e = "string" == typeof n.data && f()(n.data, t) ? JSON.parse(n.data) : n.data; { var o; e[t] && e[t].callId && (o = e[t], void 0 !== u[o.callId] && u[o.callId](o.returnValue, o.success)); } }, !1), window[d](n, null, t); } }, static: function _static(n, t, e) { n(m, e); } }; function M(n, t) { var e = { context: this, args: [t], nextFn: n, adUnits: t.adUnits || pbjs.adUnits, bidsBackHandler: t.bidsBackHandler, haveExited: !1, timer: null }; return C ? (d.logInfo("User consent information already known. Pulling internally stored information..."), A(null, e)) : s()(Object.keys(k), l) ? (k[l].call(this, h, P, e), void (e.haveExited || (0 === u ? h(void 0, e) : e.timer = setTimeout(function (n) { P("CMP workflow exceeded timeout threshold.", n); }.bind(null, e), u)))) : (d.logWarn("CMP framework (".concat(l, ") is not a supported framework. Aborting consentManagement module and resuming auction.")), e.nextFn.apply(e.context, e.args)); } function h(e, n) { "static" === l && 2 === (w = e.getConsentData ? 1 : e.getTCData ? 2 : 0) && (e = e.getTCData); var t = 1 === w ? function (n) { var t = n && n.getConsentData && n.getConsentData.gdprApplies; return !("boolean" == typeof t && (!0 !== t || d.isStr(n.getConsentData.consentData) && d.isPlainObject(n.getVendorConsents) && 1 < Object.keys(n.getVendorConsents).length)); } : 2 === w ? function () { var n = e && "boolean" == typeof e.gdprApplies ? e.gdprApplies : g, t = e && e.tcString; return !("boolean" == typeof n && (!0 !== n || d.isStr(t))); } : null; d.isFn(t) ? t(e) ? P("CMP returned unexpected value during lookup process.", n, e) : (clearTimeout(n.timer), S(e), A(null, n)) : P("Unable to derive CMP version to process data. Consent object does not conform to TCF v1 or v2 specs.", n, e); } function P(n, t, e) { clearTimeout(t.timer), p && S(void 0), A(n, t, e); } function S(n) { (C = 1 === w ? { consentString: n ? n.getConsentData.consentData : void 0, vendorData: n ? n.getVendorConsents : void 0, gdprApplies: n ? n.getConsentData.gdprApplies : g } : { consentString: n ? n.tcString : void 0, vendorData: n || void 0, gdprApplies: n && "boolean" == typeof n.gdprApplies ? n.gdprApplies : g }).apiVersion = w, a.gdprDataHandler.setConsentData(C); } function A(n, t, e) { var o, a, i; !1 === t.haveExited && (t.haveExited = !0, o = t.context, a = t.args, i = t.nextFn, n ? p ? (d.logWarn(n + " Resuming auction without consent data as per consentManagement config.", e), i.apply(o, a)) : (d.logError(n + " Canceling auction as per consentManagement config.", e), "function" == typeof t.bidsBackHandler ? t.bidsBackHandler() : d.logError("Error executing bidsBackHandler")) : i.apply(o, a)); } function _(n) { (n = n.gdpr || n.usp ? n.gdpr : n) && "object" === c(n) ? (d.isStr(n.cmpApi) ? l = n.cmpApi : (l = b, d.logInfo("consentManagement config did not specify cmp. Using system default setting (".concat(b, ")."))), d.isNumber(n.timeout) ? u = n.timeout : (u = v, d.logInfo("consentManagement config did not specify timeout. Using system default setting (".concat(v, ")."))), "boolean" == typeof n.allowAuctionWithoutConsent ? p = n.allowAuctionWithoutConsent : (p = y, d.logInfo("consentManagement config did not specify allowAuctionWithoutConsent. Using system default setting (".concat(y, ")."))), g = !0 === n.defaultGdprScope, d.logInfo("consentManagement module has been activated..."), "static" === l && (d.isPlainObject(n.consentData) ? (m = n.consentData, u = 0) : d.logError("consentManagement config with cmpApi: 'static' did not specify consentData. No consents will be available to adapters.")), D || pbjs.requestBids.before(M, 50), D = !0) : d.logWarn("consentManagement config not defined, exiting consent manager"); } o.b.getConfig("consentManagement", function (n) { return _(n.consentManagement); }); } }, [358]); pbjsChunk([238], { 366: function _(n, t, e) { n.exports = e(367); }, 367: function _(n, t, e) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), e.d(t, "consentAPI", function () { return c; }), e.d(t, "consentTimeout", function () { return r; }), e.d(t, "staticConsentData", function () { return u; }), t.requestBidsHook = m, t.resetConsentData = function () { l = void 0, c = void 0, o.uspDataHandler.setConsentData(null); }, t.setConsentConfig = P; var s = e(0), a = e(3), o = e(7); function i(n) { return (i = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (n) { return _typeof(n); } : function (n) { return n && "function" == typeof Symbol && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : _typeof(n); })(n); } var c, r, u, l, d = "iab", p = 50, f = !1, g = { iab: function iab(a, o, i) { var t, e = function () { var e = {}; return { consentDataCallback: function consentDataCallback(n, t) { t && n.uspString && (e.usPrivacy = n.uspString), e.usPrivacy ? a(e, i) : o("Unable to get USP consent string.", i); } }; }(), s = {}; try { window.__uspapi("getUSPData", 1, e.consentDataCallback); } catch (n) { for (var c = window; !t;) { try { c.frames.__uspapiLocator && (t = c); } catch (n) {} if (c === window.top) break; c = c.parent; } if (!t) return o("USP CMP not found.", i); !function (n, i, e) { function a(n) { var t = n && n.data && n.data.__uspapiReturn; t && t.callId && void 0 !== s[t.callId] && (s[t.callId](t.returnValue, t.success), delete s[t.callId]); } window.__uspapi = function (n, t, e) { var a = Math.random() + "", o = { __uspapiCall: { command: n, version: t, callId: a } }; s[a] = e, i.postMessage(o, "*"); }, window.addEventListener("message", a, !1), window.__uspapi(n, 1, function (n, t) { window.removeEventListener("message", a, !1), e(n, t); }); }("getUSPData", t, e.consentDataCallback); } }, static: function _static(n, t, e) { n(u, e); } }; function m(n, t) { var e = { context: this, args: [t], nextFn: n, adUnits: t.adUnits || pbjs.adUnits, bidsBackHandler: t.bidsBackHandler, haveExited: !1, timer: null }; return l ? y(null, e) : g[c] ? (g[c].call(this, v, b, e), void (e.haveExited || (0 === r ? v(void 0, e) : e.timer = setTimeout(function (n) { b("USPAPI workflow exceeded timeout threshold.", n); }.bind(null, e), r)))) : (s.logWarn("USP framework (".concat(c, ") is not a supported framework. Aborting consentManagement module and resuming auction.")), e.nextFn.apply(e.context, e.args)); } function v(n, t) { var e; !n || !n.usPrivacy ? b("USPAPI returned unexpected value during lookup process.", t, n) : (clearTimeout(t.timer), (e = n) && e.usPrivacy && (l = e.usPrivacy, o.uspDataHandler.setConsentData(l)), y(null, t)); } function b(n, t, e) { clearTimeout(t.timer), y(n, t, e); } function y(n, t, e) { var a, o, i; !1 === t.haveExited && (t.haveExited = !0, a = t.context, o = t.args, i = t.nextFn, n && s.logWarn(n + " Resuming auction without consent data as per consentManagement config.", e), i.apply(a, o)); } function P(n) { (n = n.usp) && "object" === i(n) ? (s.isStr(n.cmpApi) ? c = n.cmpApi : (c = d, s.logInfo("consentManagement.usp config did not specify cmpApi. Using system default setting (".concat(d, ")."))), s.isNumber(n.timeout) ? r = n.timeout : (r = p, s.logInfo("consentManagement.usp config did not specify timeout. Using system default setting (".concat(p, ")."))), s.logInfo("USPAPI consentManagement module has been activated..."), "static" === c && (s.isPlainObject(n.consentData) && s.isPlainObject(n.consentData.getUSPData) ? (n.consentData.getUSPData.uspString && (u = { usPrivacy: n.consentData.getUSPData.uspString }), r = 0) : s.logError("consentManagement config with cmpApi: 'static' did not specify consentData. No consents will be available to adapters.")), f || pbjs.requestBids.before(m, 50), f = !0) : s.logWarn("consentManagement.usp config not defined, exiting usp consent manager"); } a.b.getConfig("consentManagement", function (n) { return P(n.consentManagement); }); } }, [366]); pbjsChunk([0], { 380: function _(t, e, r) { t.exports = r(381); }, 381: function _(t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), r.d(e, "ADAPTER_VERSION", function () { return c; }), r.d(e, "PROFILE_ID_PUBLISHERTAG", function () { return v; }), r.d(e, "spec", function () { return s; }), e.tryGetCriteoFastBid = x; var a = r(39), i = r(1), d = r(3), h = r(2), f = r(0), o = r(11), l = r.n(o), p = r(382), n = (r.n(p), r(9)); function u() { return (u = Object.assign || function (t) { for (var e = 1; e < arguments.length; e++) { var r = arguments[e]; for (var i in r) { Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]); } } return t; }).apply(this, arguments); } var c = 31, m = "criteo", v = 185, y = Object(n.b)(91), b = 65537, g = "ztQYwCE5BU7T9CDM5he6rKoabstXRmkzx54zFPZkWbK530dwtLBDeaWBMxHBUT55CYyboR/EZ4efghPi3CoNGfGWezpjko9P6p2EwGArtHEeS4slhu/SpSIFMjG6fdrpRoNuIAMhq1Z+Pr/+HOd1pThFKeGFr2/NhtAg+TXAzaU=", s = { code: m, gvlid: 91, supportedMediaTypes: [h.b, h.d, h.c], isBidRequestValid: function isBidRequestValid(t) { return !(!t || !t.params || !t.params.zoneId && !t.params.networkId) && !(R(t) && !function (e) { var r = !0; if (["mimes"https://slate.com/,"playerSize"https://slate.com/,"maxduration"https://slate.com/,"protocols"https://slate.com/,"api"].forEach(function (t) { void 0 === f.deepAccess(e, "mediaTypes.video." + t) && (r = !1, f.logError("Criteo Bid Adapter: mediaTypes.video." + t + " is required")); }), ["skip"https://slate.com/,"placement"https://slate.com/,"playbackmethod"].forEach(function (t) { void 0 === f.deepAccess(e, "params.video." + t) && (r = !1, f.logError("Criteo Bid Adapter: params.video." + t + " is required")); }), r) { if ("instream" == e.mediaTypes.video.context && 1 === e.params.video.placement) return !0; if ("outstream" == e.mediaTypes.video.context && 1 !== e.params.video.placement) return !0; } return !1; }(t)); }, buildRequests: function buildRequests(t, e) { var r, i, o, n, s; if (u(e, { publisherExt: d.b.getConfig("fpd.context"), userExt: d.b.getConfig("fpd.user"), ceh: d.b.getConfig("criteo.ceh") }), T() || (window.Criteo = window.Criteo || {}, window.Criteo.usePrebidEvents = !1, x(), setTimeout(function () { Object(a.a)("https://static.criteo.net/js/ld/publishertag.prebid.js", m); }, e.timeout)), s = T() ? (r = new Criteo.PubTag.Adapters.Prebid(v, c, t, e, "3.23.0"), i = d.b.getConfig("enableSendAllBids"), r.setEnableSendAllBids && "function" == typeof r.setEnableSendAllBids && "boolean" == typeof i && r.setEnableSendAllBids(i), n = r.buildCdbUrl(), r.buildCdbRequest()) : (n = function (t) { var e = "https://bidder.criteo.com/cdb"; e += "?profileId=207", e += "&av=" + String(c), e += "&wv=" + encodeURIComponent("3.23.0"), e += "&cb=" + String(Math.floor(99999999999 * Math.random())), t.amp && (e += "&im=1"); t.debug && (e += "&debug=1"); t.noLog && (e += "&nolog=1"); return e; }(o = function (t, e) { var r = ""; e && e.refererInfo && (r = e.refererInfo.referer); var i = f.parseUrl(r).search, o = { url: r, debug: "1" === i.pbt_debug, noLog: "1" === i.pbt_nolog, amp: !1 }; return t.forEach(function (t) { "amp" === t.params.integrationMode && (o.amp = !0); }), o; }(t, e)), function (t, e, r) { var o, i = { publisher: { url: t.url, ext: r.publisherExt }, slots: e.map(function (t) { o = t.params.networkId || o; var e, r, i = { impid: t.adUnitCode, transactionid: t.transactionId, auctionId: t.auctionId }; return t.params.zoneId && (i.zoneid = t.params.zoneId), t.fpd && t.fpd.context && (i.ext = t.fpd.context), t.params.ext && (i.ext = u({}, i.ext, t.params.ext)), t.params.publisherSubId && (i.publishersubid = t.params.publisherSubId), t.params.nativeCallback || f.deepAccess(t, "mediaTypes.".concat(h.c)) ? (i.native = !0, (e = t).nativeParams && (e.nativeParams.image && !0 !== e.nativeParams.image.sendId || e.nativeParams.icon && !0 !== e.nativeParams.icon.sendId || e.nativeParams.clickUrl && !0 !== e.nativeParams.clickUrl.sendId || e.nativeParams.displayUrl && !0 !== e.nativeParams.displayUrl.sendId || e.nativeParams.privacyLink && !0 !== e.nativeParams.privacyLink.sendId || e.nativeParams.privacyIcon && !0 !== e.nativeParams.privacyIcon.sendId) && f.logWarn("Criteo: all native assets containing URL should be sent as placeholders with sendId(icon, image, clickUrl, displayUrl, privacyLink, privacyIcon)"), i.sizes = A(C(t), I)) : i.sizes = A(C(t), S), R(t) && ((r = { playersizes: A(f.deepAccess(t, "mediaTypes.video.playerSize"), S), mimes: t.mediaTypes.video.mimes, protocols: t.mediaTypes.video.protocols, maxduration: t.mediaTypes.video.maxduration, api: t.mediaTypes.video.api }).skip = t.params.video.skip, r.placement = t.params.video.placement, r.minduration = t.params.video.minduration, r.playbackmethod = t.params.video.playbackmethod, r.startdelay = t.params.video.startdelay, i.video = r), i; }) }; o && (i.publisher.networkid = o); i.user = { ext: r.userExt }, r && r.ceh && (i.user.ceh = r.ceh); r && r.gdprConsent && (i.gdprConsent = {}, void 0 !== r.gdprConsent.gdprApplies && (i.gdprConsent.gdprApplies = !!r.gdprConsent.gdprApplies), i.gdprConsent.version = r.gdprConsent.apiVersion, void 0 !== r.gdprConsent.consentString && (i.gdprConsent.consentData = r.gdprConsent.consentString)); r && r.uspConsent && (i.user.uspIab = r.uspConsent); return i; }(o, t, e))) return { method: "POST", url: n, data: s, bidRequests: t }; }, interpretResponse: function interpretResponse(t, u) { var e = t.body || t; if (T()) { var r = Criteo.PubTag.Adapters.Prebid.GetAdapter(u); if (r) return r.interpretResponse(e, u); } var c = []; return e && e.slots && f.isArray(e.slots) && e.slots.forEach(function (e) { var t, r, i, o, n, s = l()(u.bidRequests, function (t) { return t.adUnitCode === e.impid && (!t.params.zoneId || parseInt(t.params.zoneId) === e.zoneid); }), a = s.bidId, p = { requestId: a, adId: e.bidId || f.getUniqueIdentifierStr(), cpm: e.cpm, currency: e.currency, netRevenue: !0, ttl: e.ttl || 60, creativeId: a, width: e.width, height: e.height, dealId: e.dealCode }; if (e.native) { if (s.params.nativeCallback) p.ad = (r = a, i = e.native, o = s.params.nativeCallback, n = "criteo_prebid_native_slots", window[n] = window[n] || {}, window[n][r] = { callback: o, payload: i }, 'n'));else {
if (!0 === d.b.getConfig("enableSendAllBids")) return;
p.native = {
title: (t = e.native).products[0].title,
body: t.products[0].description,
sponsoredBy: t.advertiser.description,
icon: t.advertiser.logo,
image: t.products[0].image,
clickUrl: t.products[0].click_url,
privacyLink: t.privacy.optout_click_url,
privacyIcon: t.privacy.optout_image_url,
cta: t.products[0].call_to_action,
price: t.products[0].price,
impressionTrackers: t.impression_pixels.map(function (t) {
return t.url;
})
}, p.mediaType = h.c;
}
} else e.video ? (p.vastUrl = e.displayurl, p.mediaType = h.d) : p.ad = e.creative;
c.push(p);
}), c;
},
onTimeout: function onTimeout(t) {
T() && Criteo.PubTag.Adapters.Prebid.GetAdapter(t.auctionId).handleBidTimeout();
},
onBidWon: function onBidWon(t) {
T() && Criteo.PubTag.Adapters.Prebid.GetAdapter(t.auctionId).handleBidWon(t);
},
onSetTargeting: function onSetTargeting(t) {
T() && Criteo.PubTag.Adapters.Prebid.GetAdapter(t.auctionId).handleSetTargeting(t);
}
};

function T() {
return "undefined" != typeof Criteo && Criteo.PubTag && Criteo.PubTag.Adapters && Criteo.PubTag.Adapters.Prebid;
}

function C(t) {
return f.deepAccess(t, "mediaTypes.banner.sizes") || t.sizes;
}

function A(t, e) {
return Array.isArray(t[0]) ? t.map(function (t) {
return e(t);
}) : [e(t)];
}

function S(t) {
return t[0] + "x" + t[1];
}

function I(t) {
return void 0 === t[0] && void 0 === t[1] ? "2x2" : t[0] + "x" + t[1];
}

function R(t) {
return void 0 !== f.deepAccess(t, "params.video") && void 0 !== f.deepAccess(t, "mediaTypes.video");
}

function x() {
try {
var t,
e,
r,
i,
o,
n = "criteo_fast_bid",
s = "// Hash: ",
a = y.getDataFromLocalStorage(n);
null !== a && (t = a.indexOf("n"), (e = a.substr(0, t).trim()).substr(0, s.length) !== s ? (f.logWarn("No hash found in FastBid"), y.removeDataFromLocalStorage(n)) : (r = e.substr(s.length), i = a.substr(t + 1), Object(p.verify)(i, r, g, b) ? (f.logInfo("Using Criteo FastBid"), (o = document.createElement("script")).type = "text/javascript", o.text = i, f.insertElement(o)) : (f.logWarn("Invalid Criteo FastBid found"), y.removeDataFromLocalStorage(n))));
} catch (t) {}
}

Object(i.registerBidder)(s);
},
382: function _(t, e, r) {
"use strict";

Object.defineProperty(e, "__esModule", {
value: !0
});
var a = r(383),
p = r(384);

e.verify = function (t, e, r, i) {
var o = new a.BigInteger(a.b64toHex(e)),
n = new a.BigInteger(a.b64toHex(r)),
s = o.modPowInt(i, n);
return a.removeExtraSymbols(s.toHexString()) === p.Sha256.hash(t);
};
},
383: function _(t, e, r) {
"use strict";

var i;
Object.defineProperty(e, "__esModule", {
value: !0
});
var o = (g.prototype.toHexString = function () {
if (this.s < 0) return "-" + this.negate().toHexString(); var t, e = !1, r = "", i = this.t, o = this.DB - i * this.DB % 4; if (0 < i--) for (o < this.DB && 0 < (t = this[i] >> o) && (e = !0, r = c(t)); 0 <= i;) { o < 4 ? (t = (this[i] & (1 << o) - 1) << 4 - o, t |= this[--i] >> (o += this.DB - 4)) : (t = this[i] >> (o -= 4) & 15, o <= 0 && (o += this.DB, --i)), 0 < t && (e = !0), e && (r += c(t)); } return e ? r : "0"; }, g.prototype.fromHexString = function (t) { if (null !== t) { this.t = 0, this.s = 0; for (var e = t.length, r = !1, i = 0; 0 <= --e;) { var o = p(t, e); o < 0 ? "-" == t.charAt(e) && (r = !0) : (r = !1, 0 == i ? this[this.t++] = o : i + 4 > this.DB ? (this[this.t - 1] |= (o & (1 << this.DB - i) - 1) << i, this[this.t++] = o >> this.DB - i) : this[this.t - 1] |= o << i, (i += 4) >= this.DB && (i -= this.DB));
}

this.clamp(), r && g.ZERO.subTo(this, this);
}
}, g.prototype.negate = function () {
var t = T();
return g.ZERO.subTo(this, t), t;
}, g.prototype.abs = function () {
return this.s < 0 ? this.negate() : this; }, g.prototype.mod = function (t) { var e = T(); return this.abs().divRemTo(t, null, e), this.s < 0 && 0 < e.compareTo(g.ZERO) && t.subTo(e, e), e; }, g.prototype.copyTo = function (t) { for (var e = this.t - 1; 0 <= e; --e) { t[e] = this[e]; } t.t = this.t, t.s = this.s; }, g.prototype.lShiftTo = function (t, e) { for (var r = t % this.DB, i = this.DB - r, o = (1 << i) - 1, n = Math.floor(t / this.DB), s = this.s << r & this.DM, a = this.t - 1; 0 <= a; --a) { e[a + n + 1] = this[a] >> i | s, s = (this[a] & o) << r; } for (a = n - 1; 0 <= a; --a) { e[a] = 0; } e[n] = s, e.t = this.t + n + 1, e.s = this.s, e.clamp(); }, g.prototype.invDigit = function () { 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; }, g.prototype.dlShiftTo = function (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; }, g.prototype.squareTo = function (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(); }, g.prototype.multiplyTo = function (t, e) { var r = this.abs(), i = t.abs(), o = r.t; for (e.t = o + i.t; 0 <= --o;) { e[o] = 0; } for (o = 0; o < i.t; ++o) { e[o + r.t] = r.am(0, i[o], e, o, 0, r.t); } e.s = 0, e.clamp(), this.s != t.s && g.ZERO.subTo(e, e); }, g.prototype.divRemTo = function (t, e, r) { var i = t.abs(); if (!(i.t <= 0)) { var o = this.abs(); if (o.t < i.t) return null != e && e.fromHexString("0"), void (null != r && this.copyTo(r)); null == r && (r = T()); var n = T(), s = this.s, a = t.s, p = this.DB - C(i[i.t - 1]); 0 < p ? (i.lShiftTo(p, n), o.lShiftTo(p, r)) : (i.copyTo(n), o.copyTo(r)); var u = n.t, c = n[u - 1]; if (0 != c) { var d = c * (1 << this.F1) + (1 < u ? n[u - 2] >> this.F2 : 0),
h = this.FV / d,
f = (1 << this.F1) / d, l = 1 << this.F2, m = r.t, v = m - u, y = null == e ? T() : e; for (n.dlShiftTo(v, y), 0 <= r.compareTo(y) && (r[r.t++] = 1, r.subTo(y, r)), g.ONE.dlShiftTo(u, y), y.subTo(n, n); n.t < u;) { n[n.t++] = 0; } for (; 0 <= --v;) { var b = r[--m] == c ? this.DM : Math.floor(r[m] * h + (r[m - 1] + l) * f); if ((r[m] += n.am(0, b, r, v, 0, u)) < b) for (n.dlShiftTo(v, y), r.subTo(y, r); r[m] < --b;) { r.subTo(y, r); } } null != e && (r.drShiftTo(u, e), s != a && g.ZERO.subTo(e, e)), r.t = u, r.clamp(), 0 < p && r.rShiftTo(p, r), s < 0 && g.ZERO.subTo(r, r); } } }, g.prototype.rShiftTo = function (t, e) { e.s = this.s; var r = Math.floor(t / this.DB); if (r >= this.t) e.t = 0;else {
var i = t % this.DB,
o = this.DB - i,
n = (1 << i) - 1; e[0] = this[r] >> i;

for (var s = r + 1; s < this.t; ++s) { e[s - r - 1] |= (this[s] & n) << o, e[s - r] = this[s] >> i;
}

0 < i && (e[this.t - r - 1] |= (this.s & n) << o), e.t = this.t - r, e.clamp(); } }, g.prototype.drShiftTo = function (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; }, g.prototype.subTo = function (t, e) { for (var r = 0, i = 0, o = Math.min(t.t, this.t); r < o;) { 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(); }, g.prototype.clamp = function () { for (var t = this.s & this.DM; 0 < this.t && this[this.t - 1] == t;) { --this.t; } }, g.prototype.modPowInt = function (t, e) { var r = new (t < 256 || e.isEven() ? d : f)(e); return this.exp(t, r); }, g.prototype.exp = function (t, e) { if (4294967295 < t || t < 1) return g.ONE; var r, i = T(), o = T(), n = e.convert(this), s = C(t) - 1; for (n.copyTo(i); 0 <= --s;) { e.sqrTo(i, o), 0 < (t & 1 << s) ? e.mulTo(o, n, i) : (r = i, i = o, o = r); } return e.revert(i); }, g.prototype.isEven = function () { return 0 == (0 < this.t ? 1 & this[0] : this.s); }, g.prototype.compareTo = function (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; }, g.prototype.am1 = function (t, e, r, i, o, n) { for (; 0 <= --n;) { var s = e * this[t++] + r[i] + o; o = Math.floor(s / 67108864), r[i++] = 67108863 & s; } return o; }, g.prototype.am2 = function (t, e, r, i, o, n) { for (var s = 32767 & e, a = e >> 15; 0 <= --n;) { var p = 32767 & this[t], u = this[t++] >> 15,
c = a * p + u * s;
o = ((p = s * p + ((32767 & c) << 15) + r[i] + (1073741823 & o)) >>> 30) + (c >>> 15) + a * u + (o >>> 30), r[i++] = 1073741823 & p;
}

return o;
}, g.prototype.am3 = function (t, e, r, i, o, n) {
for (var s = 16383 & e, a = e >> 14; 0 <= --n;) { var p = 16383 & this[t], u = this[t++] >> 14,
c = a * p + u * s;
o = ((p = s * p + ((16383 & c) << 14) + r[i] + o) >> 28) + (c >> 14) + a * u, r[i++] = 268435455 & p;
}

return o;
}, g);

function g(t) {
null !== t && this.fromHexString(t);
}

function T() {
return new o(null);
}

function C(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 = o, e.nbi = T, e.nbits = C;

for (var n = [], s = "0".charCodeAt(0), a = 0; a <= 9; ++a) { n[s++] = a; } for (s = "a".charCodeAt(0), a = 10; a < 36; ++a) { n[s++] = a; } for (s = "A".charCodeAt(0), a = 10; a < 36; ++a) { n[s++] = a; } function p(t, e) { var r = n[t.charCodeAt(e)]; return null == r ? -1 : r; } e.intAt = p; var u = "0123456789abcdefghijklmnopqrstuvwxyz"; function c(t) { return u.charAt(t); } e.int2char = c; e.b64toHex = function (t) { for (var e = "", r = 0, i = 0, o = 0; o < t.length && "=" != t.charAt(o); ++o) { var n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(t.charAt(o)); n < 0 || (r = 0 == r ? (e += c(n >> 2), i = 3 & n, 1) : 1 == r ? (e += c(i << 2 | n >> 4), i = 15 & n, 2) : 2 == r ? (e += c(i), e += c(n >> 2), i = 3 & n, 3) : (e += c(i << 2 | n >> 4), e += c(15 & n), 0));
}

return 1 == r && (e += c(i << 2)), e; }, e.removeExtraSymbols = function (t) { return t.replace(/^1f+00/, "").replace("3031300d060960864801650304020105000420"https://slate.com/,""); }; var d = (h.prototype.convert = function (t) { return t.s < 0 || 0 <= t.compareTo(this.m) ? t.mod(this.m) : t; }, h.prototype.revert = function (t) { return t; }, h.prototype.reduce = function (t) { t.divRemTo(this.m, null, t); }, h.prototype.mulTo = function (t, e, r) { t.multiplyTo(e, r), this.reduce(r); }, h.prototype.sqrTo = function (t, e) { t.squareTo(e), this.reduce(e); }, h); function h(t) { this.m = t; } var f = (l.prototype.convert = function (t) { var e = T(); return t.abs().dlShiftTo(this.m.t, e), e.divRemTo(this.m, null, e), t.s < 0 && 0 < e.compareTo(o.ZERO) && this.m.subTo(e, e), e; }, l.prototype.revert = function (t) { var e = T(); return t.copyTo(e), this.reduce(e), e; }, l.prototype.reduce = function (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; } function m(t) { var e = T(); return e.fromHexString(t.toString()), e; } e.nbv = m, o.ZERO = m(0), o.ONE = m(1), i = "Microsoft Internet Explorer" == navigator.appName ? (o.prototype.am = o.prototype.am2, 30) : "Netscape" != navigator.appName ? (o.prototype.am = o.prototype.am1, 26) : (o.prototype.am = o.prototype.am3, 28), o.prototype.DB = i, o.prototype.DM = (1 << i) - 1, o.prototype.DV = 1 << i; o.prototype.FV = Math.pow(2, 52), o.prototype.F1 = 52 - i, o.prototype.F2 = 2 * i - 52; }, 384: function _(t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }); var i = (S.hash = function (t) { t = S.utf8Encode(t || ""); 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)).length / 4 + 2, o = Math.ceil(i / 16), n = new Array(o), s = 0; s < o; s++) { n[s] = new Array(16); for (var a = 0; a < 16; a++) { n[s][a] = t.charCodeAt(64 * s + 4 * a) << 24 | t.charCodeAt(64 * s + 4 * a + 1) << 16 | t.charCodeAt(64 * s + 4 * a + 2) << 8 | t.charCodeAt(64 * s + 4 * a + 3) << 0; } } var p = 8 * (t.length - 1) / Math.pow(2, 32), u = 8 * (t.length - 1) >>> 0;

for (n[o - 1][14] = Math.floor(p), n[o - 1][15] = u, s = 0; s < o; s++) { for (var c = new Array(64), d = 0; d < 16; d++) { c[d] = n[s][d]; } for (d = 16; d < 64; d++) { c[d] = S.q1(c[d - 2]) + c[d - 7] + S.q0(c[d - 15]) + c[d - 16] >>> 0;
}

for (var h = r[0], f = r[1], l = r[2], m = r[3], v = r[4], y = r[5], b = r[6], g = r[7], d = 0; d < 64; d++) { var T = g + S.z1(v) + S.Ch(v, y, b) + e[d] + c[d], C = S.z0(h) + S.Maj(h, f, l); g = b, b = y, y = v, v = m + T >>> 0, m = l, l = f, f = h, h = T + C >>> 0;
}

r[0] = r[0] + h >>> 0, r[1] = r[1] + f >>> 0, r[2] = r[2] + l >>> 0, r[3] = r[3] + m >>> 0, r[4] = r[4] + v >>> 0, r[5] = r[5] + y >>> 0, r[6] = r[6] + b >>> 0, r[7] = r[7] + g >>> 0;
}

for (var A = new Array(r.length), g = 0; g < r.length; g++) { A[g] = ("00000000" + r[g].toString(16)).slice(-8); } return A.join(""); }, S.utf8Encode = function (e) { try { return new TextEncoder().encode(e).reduce(function (t, e) { return t + String.fromCharCode(e); }, ""); } catch (t) { return unescape(encodeURIComponent(e)); } }, S.ROTR = function (t, e) { return e >>> t | e << 32 - t; }, S.z0 = function (t) { return S.ROTR(2, t) ^ S.ROTR(13, t) ^ S.ROTR(22, t); }, S.z1 = function (t) { return S.ROTR(6, t) ^ S.ROTR(11, t) ^ S.ROTR(25, t); }, S.q0 = function (t) { return S.ROTR(7, t) ^ S.ROTR(18, t) ^ t >>> 3;
}, S.q1 = function (t) {
return S.ROTR(17, t) ^ S.ROTR(19, t) ^ t >>> 10;
}, S.Ch = function (t, e, r) {
return t & e ^ ~t & r;
}, S.Maj = function (t, e, r) {
return t & e ^ t & r ^ e & r;
}, S);

function S() {}

e.Sha256 = i;
}
}, [380]);
pbjsChunk([187], {
481: function _(e, r, t) {
e.exports = t(482);
},
482: function _(e, r, t) {
"use strict";

Object.defineProperty(r, "__esModule", {
value: !0
}), t.d(r, "spec", function () {
return m;
});
var b = t(0),
y = t(2),
h = t(3),
i = t(11),
l = t.n(i),
a = t(483),
n = t.n(a),
s = t(1);

function v(e) {
return (v = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (e) {
return _typeof(e);
} : function (e) {
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : _typeof(e);
})(e);
}

var o = [y.b, y.d],
g = 100,
w = 300,
x = 3600,
I = !0,
P = {
JPY: 1
};

function p(e) {
var r = {};
return r.id = e.bidId, r.ext = {}, r.ext.siteID = e.params.siteId, !e.params.hasOwnProperty("id") || "string" != typeof e.params.id && "number" != typeof e.params.id ? r.ext.sid = "".concat(e.params.size[0], "x").concat(e.params.size[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;
}

function d(e) {
return Array.isArray(e) && 2 === e.length && n()(e[0]) && n()(e[1]);
}

function c(e, r) {
if (d(e)) return e[0] === r[0] && e[1] === r[1];

for (var t = 0; t < e.length; t++) { if (e[t][0] === r[0] && e[t][1] === r[1]) return 1; } } function u(e, r, t, i) { var a = []; if (window.headertag && "function" == typeof window.headertag.getIdentityInfo) { var n, s = window.headertag.getIdentityInfo(); if (s && "object" === v(s)) for (var o in s) { !s.hasOwnProperty(o) || !(n = s[o]).responsePending && n.data && "object" === v(n.data) && Object.keys(n.data).length && a.push(n.data); } } var d, p = {}; p.id = e[0].bidderRequestId, p.imp = t, p.site = {}, p.ext = {}, p.ext.source = "prebid", e[0].schain && (p.source = { ext: { schain: e[0].schain } }), 0 < a.length && (p.user = {}, p.user.eids = a), document.referrer && "" !== document.referrer && (p.site.ref = document.referrer), r && (r.gdprConsent && ((d = r.gdprConsent).hasOwnProperty("gdprApplies") && (p.regs = { ext: { gdpr: d.gdprApplies ? 1 : 0 } }), d.hasOwnProperty("consentString") && (p.user = p.user || {}, p.user.ext = { consent: d.consentString || "" })), r.uspConsent && b.deepSetValue(p, "regs.ext.us_privacy", r.uspConsent), r.refererInfo && (p.site.page = r.refererInfo.referer)); var c = {}, u = r && r.bidderCode || "ix", m = h.b.getConfig(u); if (m) { if ("object" === v(m.firstPartyData)) { var f = m.firstPartyData, y = "?"; for (var l in f) { f.hasOwnProperty(l) && (y += "".concat(encodeURIComponent(l), "=").concat(encodeURIComponent(f[l]), "&")); } y = y.slice(0, -1), p.site.page += y; } "number" == typeof m.timeout && (c.t = m.timeout); } return c.s = e[0].params.siteId, c.v = i, c.r = JSON.stringify(p), c.ac = "j", c.sd = 1, 8.1 === i && (c.nf = 1), { method: "GET", url: "https://as-sec.casalemedia.com/cygnus", data: c }; } var m = { code: "ix", gvlid: 10, supportedMediaTypes: o, isBidRequestValid: function isBidRequestValid(e) { if (!d(e.params.size)) return b.logError("ix bidder params: bid size has invalid format."), !1; if (!c(e.sizes, e.params.size)) return b.logError("ix bidder params: bid size is not included in ad unit sizes."), !1; if (e.hasOwnProperty("mediaType") && !b.contains(o, e.mediaType)) return !1; if (e.hasOwnProperty("mediaTypes") && !b.deepAccess(e, "mediaTypes.banner.sizes") && !b.deepAccess(e, "mediaTypes.video.playerSize")) return !1; if ("string" != typeof e.params.siteId && "number" != typeof e.params.siteId) return b.logError("ix bidder params: siteId must be string or number value."), !1; var r, t, i = e.params.hasOwnProperty("bidFloor"), a = e.params.hasOwnProperty("bidFloorCur"); return !!(!i && !a || i && a && (r = e.params.bidFloor, t = e.params.bidFloorCur, Boolean("number" == typeof r && "string" == typeof t && t.match(/^[A-Z]{3}$/)))) || (b.logError("ix bidder params: bidFloor / bidFloorCur parameter has invalid format."), !1); }, buildRequests: function buildRequests(e, r) { for (var t, i, a = [], n = [], s = [], o = null, d = 0; d < e.length; d++) { (o = e[d]).mediaType !== y.d && !b.deepAccess(o, "mediaTypes.video") || (o.mediaType === y.d || c(o.mediaTypes.video.playerSize, o.params.size) ? s.push(function (e) { var r = p(e); r.video = b.deepClone(e.params.video), r.video.w = e.params.size[0], r.video.h = e.params.size[1]; var t = b.deepAccess(e, "mediaTypes.video.context"); return t && ("instream" === t ? r.video.placement = 1 : "outstream" === t ? r.video.placement = 4 : b.logWarn("ix bidder params: video context '".concat(t, "' is not supported"))), r; }(o)) : b.logError("Bid size is not included in video playerSize")), o.mediaType !== y.b && !b.deepAccess(o, "mediaTypes.banner") && (o.mediaType || o.mediaTypes) || n.push((i = void 0, (i = p(t = o)).banner = {}, i.banner.w = t.params.size[0], i.banner.h = t.params.size[1], i.banner.topframe = b.inIframe() ? 0 : 1, i)); } return 0 < n.length && a.push(u(e, r, n, 7.2)), 0 < s.length && a.push(u(e, r, s, 8.1)), a; }, interpretResponse: function interpretResponse(e, r) { var t = []; if (!e.hasOwnProperty("body") || !e.body.hasOwnProperty("seatbid")) return t; for (var i, a, n, s, o = e.body, d = o.seatbid, p = 0; p < d.length; p++) { if (d[p].hasOwnProperty("bid")) for (var c = d[p].bid, u = JSON.parse(r.data.r), m = 0; m < c.length; m++) { var f = function (r, e) { if (r) return l()(e, function (e) { return e.id === r; }); }(c[m].impid, u.imp); i = c[m], a = o.cur, n = f, s = void 0, s = {}, P.hasOwnProperty(a) ? s.cpm = i.price / P[a] : s.cpm = i.price / g, s.requestId = i.impid, s.dealId = b.deepAccess(i, "ext.dealid"), s.netRevenue = I, s.currency = a, s.creativeId = i.hasOwnProperty("crid") ? i.crid : "-", b.deepAccess(i, "ext.vasturl") ? (s.vastUrl = i.ext.vasturl, s.width = n.video.w, s.height = n.video.h, s.mediaType = y.d, s.ttl = x) : (s.ad = i.adm, s.width = i.w, s.height = i.h, s.mediaType = y.b, s.ttl = w), s.meta = {}, s.meta.networkId = b.deepAccess(i, "ext.dspid"), s.meta.brandId = b.deepAccess(i, "ext.advbrandid"), s.meta.brandName = b.deepAccess(i, "ext.advbrand"), t.push(s); } } return t; }, transformBidParams: function transformBidParams(e) { return b.convertTypes({ siteID: "number" }, e); }, getUserSyncs: function getUserSyncs(e) { return e.iframeEnabled ? [{ type: "iframe", url: "https://js-sec.indexww.com/um/ixmatch.html" }] : []; } }; Object(s.registerBidder)(m); } }, [481]); pbjsChunk([184], { 493: function _(e, t, r) { e.exports = r(494); }, 494: function _(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), r.d(t, "spec", function () { return l; }); var s = r(0), d = r(3), n = r(1), a = r(9); function g() { return (g = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t]; for (var n in r) { Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]); } } return e; }).apply(this, arguments); } var o, i, c, u = Object(a.b)(), l = { code: "kargo", isBidRequestValid: function isBidRequestValid(e) { return !(!e || !e.params) && !!e.params.placementId; }, buildRequests: function buildRequests(e, t) { var r, n = d.b.getConfig("currency"), a = n && n.adServerCurrency || "USD", o = {}, i = {}; s._each(e, function (e) { o[e.bidId] = e.params.placementId, i[e.bidId] = e.sizes; }), 0 < e.length && e[0].userId && e[0].userId.tdid && (r = e[0].userId.tdid); var c = g({}, { sessionId: l._getSessionId(), requestCount: l._getRequestCount(), timeout: t.timeout, currency: a, cpmGranularity: 1, timestamp: new Date().getTime(), cpmRange: { floor: 0, ceil: 20 }, bidIDs: o, bidSizes: i, prebidRawBidRequests: e }, l._getAllMetadata(r, t.uspConsent)), u = encodeURIComponent(JSON.stringify(c)); return g({}, t, { method: "GET", url: "".concat("https://krk.kargo.com"https://slate.com/,"/api/v2/bid"), data: "json=".concat(u), currency: a }); }, interpretResponse: function interpretResponse(e, t) { var r = e.body, n = []; for (var a in r) { var o = r[a], i = void 0; o.metadata && o.metadata.landingPageDomain && (i = { clickUrl: o.metadata.landingPageDomain }), n.push({ requestId: a, cpm: Number(o.cpm), width: o.width, height: o.height, ad: o.adm, ttl: 300, creativeId: o.id, dealId: o.targetingCustom, netRevenue: !0, currency: t.currency, meta: i }); } return n; }, getUserSyncs: function getUserSyncs(e) { var t = [], r = l._generateRandomUuid(), n = l._getClientId(); if (e.iframeEnabled && r && n) for (var a = 0; a < 5; a++) { t.push({ type: "iframe", url: "https://crb.kargo.com/api/v1/initsyncrnd/{UUID}?seed={SEED}&idx={INDEX}".replace("{UUID}", n).replace("{SEED}", r).replace("{INDEX}", a) }); } return t; }, _readCookie: function _readCookie(e) { if (!u.cookiesAreEnabled()) return null; for (var t = "".concat(e, "="), r = document.cookie.split(";"), n = 0; n < r.length; n++) { for (var a = r[n]; " " === 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 || {}, 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 || 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(""); return t.slice(0, 8) + "-" + t.slice(8, 12) + "-" + t.slice(12, 16) + "-" + t.slice(16, 20) + "-" + t.slice(20); } catch (e) { return ""; } } }; Object(n.registerBidder)(l); } }, [493]); pbjsChunk([110], { 677: function _(e, r, t) { e.exports = t(678); }, 678: function _(e, r, t) { "use strict"; Object.defineProperty(r, "__esModule", { value: !0 }), t.d(r, "FASTLANE_ENDPOINT", function () { return o; }), t.d(r, "VIDEO_ENDPOINT", function () { return l; }), t.d(r, "SYNC_ENDPOINT", function () { return a; }), t.d(r, "spec", function () { return h; }), r.hasVideoMediaType = c, r.masSizeOrdering = S, r.determineRubiconVideoSizeId = C, r.getPriceGranularity = j, r.hasValidVideoParams = k, r.hasValidSupplyChainParams = T, r.encodeParam = w, r.resetUserSync = function () { R = !1; }; var g = t(0), i = t(1), b = t(3), u = t(2); function v(e, r) { return function (e) { if (Array.isArray(e)) return e; }(e) || function (e, r) { if ("undefined" == typeof Symbol || !(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 || t.length !== r); i = !0) { ; } } catch (e) { n = !0, o = e; } finally { try { i || null == s.return || s.return(); } finally { if (n) throw o; } } return t; }(e, r) || function (e, r) { if (!e) return; if ("string" == typeof e) return n(e, r); var t = Object.prototype.toString.call(e).slice(8, -1); "Object" === t && e.constructor && (t = e.constructor.name); if ("Map" === t || "Set" === t) return Array.from(e); if ("Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return n(e, r); }(e, r) || 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 n(e, r) { (null == r || r > e.length) && (r = e.length);

for (var t = 0, i = new Array(r); t < r; t++) { i[t] = e[t]; } return i; } function y() { return (y = Object.assign || function (e) { for (var r = 1; r < arguments.length; r++) { var t = arguments[r]; for (var i in t) { Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]); } } return e; }).apply(this, arguments); } function p(e, r, t) { return r in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; } function x(e) { return (x = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (e) { return _typeof(e); } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : _typeof(e); })(e); } var o = "https://fastlane.rubiconproject.com/a/api/fastlane.json", l = "https://prebid-server.rubiconproject.com/openrtb2/auction", a = "https://eus.rubiconproject.com/usync.html", d = { FASTLANE: { id: "dt.id", keyv: "dt.keyv", pref: "dt.pref" }, PREBID_SERVER: { id: "id", keyv: "keyv" } }, f = { 1: "468x60", 2: "728x90", 5: "120x90", 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" }; g._each(f, function (e, r) { return f[e] = r; }); var h = { code: "rubicon", gvlid: 52, supportedMediaTypes: [u.b, u.d], isBidRequestValid: function isBidRequestValid(e) { if ("object" !== x(e.params)) return !1; for (var r = 0, t = ["accountId"https://slate.com/,"siteId"https://slate.com/,"zoneId"]; r < t.length; r++) { if (e.params[t[r]] = parseInt(e.params[t[r]]), isNaN(e.params[t[r]])) return g.logError("Rubicon: wrong format of accountId or siteId or zoneId."), !1; } var i = m(e, !0); return !!i && ("video" !== i || k(e)); }, buildRequests: function buildRequests(e, u) { var n, r = e.filter(function (e) { return "video" === m(e); }).map(function (e) { e.startTime = new Date().getTime(); var r, t, i = { id: e.transactionId, test: b.b.getConfig("debug") ? 1 : 0, cur: ["USD"], source: { tid: e.transactionId }, tmax: b.b.getConfig("TTL") || 1e3, imp: [{ exp: 300, id: e.adUnitCode, secure: 1, ext: p({}, e.bidder, e.params), video: g.deepAccess(e, "mediaTypes.video") || {} }], ext: { prebid: { cache: { vastxml: { returnCreative: !1 } }, targeting: { includewinners: !0, includebidderkeys: !1, pricegranularity: j(b.b) }, bidders: { rubicon: { integration: b.b.getConfig("rubicon.int_type") || "pbjs" } } } } }; "rubicon" !== e.bidder && (i.ext.prebid.aliases = p({}, e.bidder, "rubicon")), t = "function" != typeof e.getFloor || b.b.getConfig("rubicon.disableFloors") ? parseFloat(g.deepAccess(e, "params.floor")) : "object" !== x(r = e.getFloor({ currency: "USD", mediaType: "video", size: A(e, "video") })) || "USD" !== r.currency || isNaN(parseInt(r.floor)) ? void 0 : parseFloat(r.floor), isNaN(t) || (i.imp[0].bidfloor = t), i.imp[0].ext[e.bidder].video.size_id = C(e), function (r, t, e) { if (!r) return; "object" === x(b.b.getConfig("app")) ? r.app = b.b.getConfig("app") : r.site = { page: I(t, e) }; "object" === x(b.b.getConfig("device")) && (r.device = b.b.getConfig("device")); t.params.video.language && ["site"https://slate.com/,"device"].forEach(function (e) { r[e] && (r[e].content = y({ language: t.params.video.language }, r[e].content)); }); }(i, e, u), function (e, r) { "object" === x(e.imp[0].video) && void 0 === e.imp[0].video.skip && (e.imp[0].video.skip = r.params.video.skip); "object" === x(e.imp[0].video) && void 0 === e.imp[0].video.skipafter && (e.imp[0].video.skipafter = r.params.video.skipdelay); "object" === x(e.imp[0].video) && void 0 === e.imp[0].video.pos && ("atf" === r.params.position ? e.imp[0].video.pos = 1 : "btf" === r.params.position && (e.imp[0].video.pos = 3)); var t = A(r, "video"); e.imp[0].video.w = t[0], e.imp[0].video.h = t[1]; }(i, e); var n, o = _(e, "PREBID_SERVER"); o && g.deepSetValue(i, "user.ext.digitrust", o), u.gdprConsent && ("boolean" == typeof u.gdprConsent.gdprApplies && (n = u.gdprConsent.gdprApplies ? 1 : 0), g.deepSetValue(i, "regs.ext.gdpr", n), g.deepSetValue(i, "user.ext.consent", u.gdprConsent.consentString)), u.uspConsent && g.deepSetValue(i, "regs.ext.us_privacy", u.uspConsent), e.userId && "object" === x(e.userId) && (e.userId.tdid || e.userId.pubcid || e.userId.lipb || e.userId.idl_env) && (g.deepSetValue(i, "user.ext.eids", []), e.userId.tdid && i.user.ext.eids.push({ source: "adserver.org", uids: [{ id: e.userId.tdid, ext: { rtiPartner: "TDID" } }] }), e.userId.pubcid && i.user.ext.eids.push({ source: "pubcommon", uids: [{ id: e.userId.pubcid }] }), e.userId.lipb && e.userId.lipb.lipbid && (i.user.ext.eids.push({ source: "liveintent.com", uids: [{ id: e.userId.lipb.lipbid }] }), i.user.ext.tpid = { source: "liveintent.com", uid: e.userId.lipb.lipbid }, Array.isArray(e.userId.lipb.segments) && e.userId.lipb.segments.length && g.deepSetValue(i, "rp.target.LIseg", e.userId.lipb.segments)), e.userId.idl_env && i.user.ext.eids.push({ source: "liveramp.com", uids: [{ id: e.userId.idl_env }] })), !0 === b.b.getConfig("coppa") && g.deepSetValue(i, "regs.coppa", 1), e.schain && T(e.schain) && g.deepSetValue(i, "source.ext.schain", e.schain); var a, s = y({}, e.params.inventory, b.b.getConfig("fpd.context")), d = y({}, e.params.visitor, b.b.getConfig("fpd.user")); g.isEmpty(s) && g.isEmpty(d) || (a = { bidders: [u.bidderCode], config: { fpd: {} } }, g.isEmpty(s) || (a.config.fpd.site = s), g.isEmpty(d) || (a.config.fpd.user = d), g.deepSetValue(i, "ext.prebid.bidderconfig.0", a)); var c = g.deepAccess(e, "fpd.context.pbAdSlot"); return "string" == typeof c && c && g.deepSetValue(i.imp[0].ext, "context.data.adslot", c), e.storedAuctionResponse && g.deepSetValue(i.imp[0], "ext.prebid.storedauctionresponse.id", e.storedAuctionResponse.toString()), g.deepSetValue(i.imp[0], "ext.prebid.auctiontimestamp", u.auctionStart), { method: "POST", url: l, data: i, bidRequest: e }; }); return !0 !== b.b.getConfig("rubicon.singleRequest") ? r.concat(e.filter(function (e) { return "banner" === m(e); }).map(function (e) { var i = h.createSlotParams(e, u); return { method: "GET", url: o, data: h.getOrderedParams(i).reduce(function (e, r) { var t = i[r]; return g.isStr(t) && "" !== t || g.isNumber(t) ? "".concat(e).concat(w(r, t), "&") : e; }, "") + "slots=1&rand=".concat(Math.random()), bidRequest: e }; })) : (n = e.filter(function (e) { return "banner" === m(e); }).reduce(function (e, r) { return (e[r.params.siteId] = e[r.params.siteId] || []).push(r), e; }, {}), r.concat(Object.keys(n).reduce(function (r, e) { var t, i; return t = n[e], i = 10, t.map(function (e, r) { return r % i == 0 ? t.slice(r, r + i) : null; }).filter(function (e) { return e; }).forEach(function (e) { var i = h.combineSlotUrlParams(e.map(function (e) { return h.createSlotParams(e, u); })); r.push({ method: "GET", url: o, data: h.getOrderedParams(i).reduce(function (e, r) { var t = i[r]; return g.isStr(t) && "" !== t || g.isNumber(t) ? "".concat(e).concat(w(r, t), "&") : e; }, "") + "slots=".concat(e.length, "&rand=").concat(Math.random()), bidRequest: e }); }), r; }, []))); }, getOrderedParams: function 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/,"dt.id"https://slate.com/,"dt.keyv"https://slate.com/,"dt.pref"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(function (e) { return r.test(e); })).concat(Object.keys(e).filter(function (e) { return t.test(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(function (e) { return -1 === i.indexOf(e); })); }, combineSlotUrlParams: function combineSlotUrlParams(n) { if (1 === n.length) return n[0]; var i = n.reduce(function (r, t, i) { return Object.keys(t).forEach(function (e) { r.hasOwnProperty(e) || (r[e] = new Array(n.length)), r[e].splice(i, 1, t[e]); }), r; }, {}), o = new RegExp("^([^;]*)(;\1)+$"); return Object.keys(i).forEach(function (e) { var r = i[e].join(";"), t = r.match(o); i[e] = t ? t[1] : r; }), i; }, createSlotParams: function createSlotParams(e, r) { e.startTime = new Date().getTime(); var t, i = e.params, n = A(e, "banner"), o = v(i.latLong || [], 2), a = o[0], s = o[1], d = b.b.getConfig("rubicon.int_type"), c = { account_id: i.accountId, site_id: i.siteId, zone_id: i.zoneId, size_id: n[0], alt_size_ids: n.slice(1).join(",") || void 0, rp_floor: .01 < (i.floor = parseFloat(i.floor)) ? i.floor : .01, rp_secure: "1", tk_flint: "".concat(d || "pbjs_lite"https://slate.com/,"_v3.23.0"), "x_source.tid": e.transactionId, "x_source.pchain": i.pchain, p_screen_res: [window.screen.width, window.screen.height].join("x"), tk_user_key: i.userId, "p_geo.latitude": isNaN(parseFloat(a)) ? void 0 : parseFloat(a).toFixed(4), "p_geo.longitude": isNaN(parseFloat(s)) ? void 0 : parseFloat(s).toFixed(4), "tg_fl.eid": e.code, rf: I(e, r) }; "function" != typeof e.getFloor || b.b.getConfig("rubicon.disableFloors") || (t = e.getFloor({ currency: "USD", mediaType: "banner", size: "*" }), c.rp_hard_floor = "object" !== x(t) || "USD" !== t.currency || isNaN(parseInt(t.floor)) ? void 0 : t.floor), c.p_pos = "atf" === i.position || "btf" === i.position ? i.position : "", e.userId && (e.userId.tdid && (c.tpid_tdid = e.userId.tdid), e.userId.lipb && e.userId.lipb.lipbid && (c["tpid_liveintent.com"] = e.userId.lipb.lipbid, Array.isArray(e.userId.lipb.segments) && e.userId.lipb.segments.length && (c["tg_v.LIseg"] = e.userId.lipb.segments.join(","))), e.userId.idl_env && (c["tpid_liveramp.com"] = e.userId.idl_env)), r.gdprConsent && ("boolean" == typeof r.gdprConsent.gdprApplies && (c.gdpr = Number(r.gdprConsent.gdprApplies)), c.gdpr_consent = r.gdprConsent.consentString), r.uspConsent && (c.us_privacy = encodeURIComponent(r.uspConsent)); var u = y({}, i.visitor, b.b.getConfig("fpd.user")); Object.keys(u).forEach(function (e) { null != u[e] && "keywords" !== e && (c["tg_v.".concat(e)] = "object" !== x(u[e]) || Array.isArray(u[e]) ? u[e].toString() : JSON.stringify(u[e])); }); var p = y({}, i.inventory, b.b.getConfig("fpd.context")); Object.keys(p).forEach(function (e) { null != p[e] && "keywords" !== e && (c["tg_i.".concat(e)] = "object" !== x(p[e]) || Array.isArray(p[e]) ? p[e].toString() : JSON.stringify(p[e])); }); var l = (i.keywords || []).concat(g.deepAccess(b.b.getConfig("fpd.user"), "keywords") || [], g.deepAccess(b.b.getConfig("fpd.context"), "keywords") || []); c.kw = Array.isArray(l) && l.length ? l.join(",") : ""; var f = g.deepAccess(e, "fpd.context.pbAdSlot"); "string" == typeof f && f && (c["tg_i.dfp_ad_unit_code"] = f.replace(/^/+/, "")); var m = _(e, "FASTLANE"); return y(c, m), !0 === b.b.getConfig("coppa") && (c.coppa = 1), e.schain && T(e.schain) && (c.rp_schain = h.serializeSupplyChain(e.schain)), c; }, serializeSupplyChain: function serializeSupplyChain(e) { if (!T(e)) return ""; var r = e.ver, t = e.complete, i = e.nodes; return "".concat(r, ",").concat(t, "!").concat(h.serializeSupplyChainNodes(i)); }, serializeSupplyChainNodes: function 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(function (r) { return t.map(function (e) { return encodeURIComponent(r[e] || ""); }).join(","); }).join("!"); }, interpretResponse: function interpretResponse(d, e) { var c = e.bidRequest; if (!(d = d.body) || "object" !== x(d)) return []; if (d.seatbid) { var r = g.deepAccess(d, "ext.errors.rubicon"); Array.isArray(r) && 0 < r.length && g.logWarn("Rubicon: Error in video response"); var o = []; return d.seatbid.forEach(function (n) { (n.bid || []).forEach(function (e) { var r = { requestId: c.bidId, currency: d.cur || "USD", creativeId: e.crid, cpm: e.price || 0, bidderCode: n.seat, ttl: 300, netRevenue: !1 !== b.b.getConfig("rubicon.netRevenue"), width: e.w || g.deepAccess(c, "mediaTypes.video.w") || g.deepAccess(c, "params.video.playerWidth"), height: e.h || g.deepAccess(c, "mediaTypes.video.h") || g.deepAccess(c, "params.video.playerHeight") }; e.id && (r.seatBidId = e.id), e.dealid && (r.dealId = e.dealid); var t, i = g.deepAccess(d, "ext.responsetimemillis.rubicon"); c && i && (c.serverResponseTimeMs = i), g.deepAccess(e, "ext.prebid.type") === u.d ? (r.mediaType = u.d, (t = g.deepAccess(e, "ext.prebid.targeting")) && "object" === x(t) && (r.adserverTargeting = t), e.ext.prebid.cache && "object" === x(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)) : g.logWarn("Rubicon: video response received non-video media type"), o.push(r); }); }), o; } var t = d.ads; return "object" !== x(c) || Array.isArray(c) || "video" !== m(c) || "object" !== x(t) || (t = t[c.adUnitCode]), !Array.isArray(t) || t.length < 1 ? [] : t.reduce(function (e, r, t) { if ("ok" !== r.status) return e; var i, n, o, a, s = Array.isArray(c) ? c[t] : c; return s && "object" === x(s) ? (i = { requestId: s.bidId, currency: "USD", creativeId: r.creative_id || "".concat(r.network || ""https://slate.com/,"-").concat(r.advertiser || ""), cpm: r.cpm || 0, dealId: r.deal, ttl: 300, netRevenue: !1 !== b.b.getConfig("rubicon.netRevenue"), rubicon: { advertiserId: r.advertiser, networkId: r.network }, meta: { advertiserId: r.advertiser, networkId: r.network } }, r.creative_type && (i.mediaType = r.creative_type), r.creative_type === u.d ? (i.width = s.params.video.playerWidth, i.height = s.params.video.playerHeight, i.vastUrl = r.creative_depot_url, i.impression_id = r.impression_id, i.videoCacheKey = r.impression_id) : (i.ad = (o = r.script, a = r.impression_id, "n

nnx3c!-- Rubicon Project Ad Tag --x3en
nn

nn")), n = v(f[r.size_id].split("x").map(function (e) {
return Number(e);
}), 2), i.width = n[0], i.height = n[1]), i.rubiconTargeting = (Array.isArray(r.targeting) ? r.targeting : []).reduce(function (e, r) {
return e[r.key] = r.values[0], e;
}, {
rpfl_elemid: s.adUnitCode
}), e.push(i)) : g.logError("Rubicon: bidRequest undefined at index position:".concat(t), c, d), e;
}, []).sort(function (e, r) {
return (r.cpm || 0) - (e.cpm || 0);
});
},
getUserSyncs: function getUserSyncs(e, r, t, i) {
if (!R && e.iframeEnabled) {
var n = "";
return t && "string" == typeof t.consentString && ("boolean" == typeof t.gdprApplies ? n += "?gdpr=".concat(Number(t.gdprApplies), "&gdpr_consent=").concat(t.consentString) : n += "?gdpr_consent=".concat(t.consentString)), i && (n += "".concat(n ? "&" : "?"https://slate.com/,"us_privacy=").concat(encodeURIComponent(i))), R = !0, {
type: "iframe",
url: a + n
};
}
},
transformBidParams: function transformBidParams(e) {
return g.convertTypes({
accountId: "number",
siteId: "number",
zoneId: "number"
}, e);
}
};

function _(e, r) {
var t,
i = 0 < arguments.length && void 0 !== e ? e : {}, n = 1 < arguments.length ? r : void 0; if (!n || !d[n]) return null; var o = d[n]; var a = function () { var e = g.deepAccess(i, "userId.digitrustid.data"); if (e) return e; var r = window.DigiTrust && (b.b.getConfig("digiTrustId") || window.DigiTrust.getUser({ member: "T9QSFKPDN9" })); return r && r.success && r.identity || null; }(); if (!a || a.privacy && a.privacy.optout) return null; var s = (p(t = {}, o.id, a.id), p(t, o.keyv, a.keyv), t); return o.pref && (s[o.pref] = 0), s; } function I(e, r) { var t = b.b.getConfig("pageUrl"), t = e.params.referrer ? e.params.referrer : t || r.refererInfo.referer; return e.params.secure ? t.replace(/^http:/i, "https:") : t; } function A(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(g.deepAccess(e, "mediaTypes.video.playerSize")) && 1 === e.mediaTypes.video.playerSize.length ? i = e.mediaTypes.video.playerSize[0] : Array.isArray(e.sizes) && 0 < e.sizes.length && Array.isArray(e.sizes[0]) && 1 < e.sizes[0].length && (i = e.sizes[0]), i; } var n = []; return Array.isArray(t.sizes) ? n = t.sizes : void 0 !== g.deepAccess(e, "mediaTypes.banner.sizes") ? n = s(e.mediaTypes.banner.sizes) : Array.isArray(e.sizes) && 0 < e.sizes.length ? n = s(e.sizes) : g.logWarn("Rubicon: no sizes are setup or found"), S(n); } function s(e) { return g.parseSizesInput(e).reduce(function (e, r) { var t = parseInt(f[r], 10); return t && e.push(t), e; }, []); } function c(e) { return "object" === x(g.deepAccess(e, "params.video")) && void 0 !== g.deepAccess(e, "mediaTypes.".concat(u.d)); } function m(e, r) { var t = 1 < arguments.length && void 0 !== r && r; return c(e) ? -1 === ["outstream"https://slate.com/,"instream"].indexOf(g.deepAccess(e, "mediaTypes.".concat(u.d, ".context"))) ? void (t && g.logError("Rubicon: mediaTypes.video.context must be outstream or instream")) : A(e, "video").length < 2 ? void (t && g.logError("Rubicon: could not determine the playerSize of the video")) : (t && g.logMessage("Rubicon: making video request for adUnit", e.adUnitCode), "video") : 0 === A(e, "banner").length ? void (t && g.logError("Rubicon: could not determine the sizes for banner request")) : (t && g.logMessage("Rubicon: making banner request for adUnit", e.adUnitCode), "banner"); } function S(e) { var n = [15, 2, 9]; return e.sort(function (e, r) { var t = n.indexOf(e), i = n.indexOf(r); return -1 < t || -1 < i ? -1 === t ? 1 : -1 === i ? -1 : t - i : e - r; }); } function C(e) { var r = parseInt(g.deepAccess(e, "params.video.size_id")); return isNaN(r) ? "outstream" === g.deepAccess(e, "mediaTypes.".concat(u.d, ".context")) ? 203 : 201 : r; } function j(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 k(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(g.deepAccess(r, "mediaTypes.video." + e)) !== n[e] && (t = !1, g.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[e]; }) : e; }, !0)) || g.logError("Rubicon: required schain params missing")), r; } function w(e, r) { return "rp_schain" === e ? "rp_schain=".concat(r) : "".concat(e, "=").concat(encodeURIComponent(r)); } var R = !1; Object(i.registerBidder)(h); } }, [677]); pbjsChunk([93], { 719: function _(e, t, r) { e.exports = r(720); }, 720: function _(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), r.d(t, "spec", function () { return o; }), r.d(t, "_isInbounds", function () { return a; }), t._getPlatform = v; var n = r(1), y = r(0), i = r(2), c = r(3), g = r(10), d = r(44); function h(e, t) { return function (e) { if (Array.isArray(e)) return e; }(e) || function (e, t) { if ("undefined" == typeof Symbol || !(Symbol.iterator in Object(e))) return; var r = [], n = !0, i = !1, s = void 0; try { for (var o, a = e[Symbol.iterator](); !(n = (o = a.next()).done) && (r.push(o.value), !t || r.length !== t); n = !0) { ; } } catch (e) { i = !0, s = e; } finally { try { n || null == a.return || a.return(); } finally { if (i) throw s; } } return r; }(e, t) || function (e, t) { if (!e) return; if ("string" == typeof e) return s(e, t); var r = Object.prototype.toString.call(e).slice(8, -1); "Object" === r && e.constructor && (r = e.constructor.name); if ("Map" === r || "Set" === r) return Array.from(e); if ("Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return s(e, t); }(e, t) || 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 || t > e.length) && (t = e.length);

for (var r = 0, n = new Array(t); r < t; r++) { n[r] = e[r]; } return n; } function u() { return (u = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t]; for (var n in r) { Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]); } } return e; }).apply(this, arguments); } function p(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e; } var b = "sonobi", l = Object(y.generateUUID)(), o = { code: b, supportedMediaTypes: [i.b, i.d], isBidRequestValid: function 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: function buildRequests(e, t) { var r = e.map(function (e) { var t = function (e) { if (e.params.ad_unit) return e.params.ad_unit; return e.params.placement_id; }(e); return /^[/]?[d]+[[/].+[/]?]?$/.test(t) ? (t = "/" === t.charAt(0) ? t : "/" + t, p({}, "".concat(t, "|").concat(e.bidId), "".concat(f(e)).concat(m(e)))) : /^[0-9a-fA-F]{20}$/.test(t) && 20 === t.length ? p({}, e.bidId, "".concat(t, "|").concat(f(e)).concat(m(e))) : void Object(y.logError)("The ad unit code or Sonobi Placement id for slot ".concat(e.bidId, " is invalid")); }), n = {}; r.forEach(function (e) { u(n, e); }); var i = { key_maker: JSON.stringify(n), ref: t.refererInfo.referer, s: Object(y.generateUUID)(), pv: l, vp: v(), lib_name: "prebid", lib_v: "3.23.0", us: 0 }; c.b.getConfig("userSync") && c.b.getConfig("userSync").syncsPerBidder && (i.us = c.b.getConfig("userSync").syncsPerBidder), d.a.canBidderRegisterSync("iframe", b) ? 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)); var s = function (t) { var e = function () { var e = window.DigiTrust && (c.b.getConfig("digiTrustId") || window.DigiTrust.getUser({ member: t })); return e && e.success && e.identity || null; }(); if (!e || e.privacy && e.privacy.optout) return null; return e; }("fhnS5drwmH"); s && (i.digid = s.id, i.digkeyv = s.keyv), e[0].schain && (i.schain = JSON.stringify(e[0].schain)), Object(y.deepAccess)(e[0], "userId") && 0 < Object.keys(e[0].userId).length && (i.userid = JSON.stringify(e[0].userId)); var o = e[0].params.keywords; if (o && (i.kw = o), 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")), { method: "GET", url: a, withCredentials: !0, data: i, bidderRequests: e }; }, interpretResponse: function interpretResponse(e, l) { var f = e.body, m = [], v = l.data.ref; return 0 === Object.keys(f.slots).length || Object.keys(f.slots).forEach(function (e) { var t = f.slots[e], r = e.split("|").slice(-1)[0], n = function (e, t) { for (var r = 0; r < e.length; 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, o, a, c, d, u, p, b = j(i, v); t.sbi_aid && t.sbi_mouse && t.sbi_size && (a = void 0 === (o = (s = h(t.sbi_size.split("x"), 2))[0]) ? 1 : o, d = void 0 === (c = s[1]) ? 1 : c, u = { requestId: r, cpm: Number(t.sbi_mouse), width: Number(a), height: Number(d), ad: b(f.sbi_dc, t.sbi_aid), ttl: 500, creativeId: t.sbi_crid || t.sbi_aid, aid: t.sbi_aid, netRevenue: !0, currency: "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.ad, delete u.width, delete u.height) : "outstream" === i && n && (u.mediaType = "video", u.vastUrl = b(f.sbi_dc, t.sbi_aid), u.renderer = function (e, t) { var r = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {}, n = g.a.install({ id: t.aid, url: "https://mtrx.go.sonobi.com/sbi_outstream_renderer.js", config: r, loaded: !1, adUnitCode: e }); try { n.setRender(O); } catch (e) { Object(y.logWarn)("Prebid Error calling setRender on renderer", e); } return n.setEventHandlers({ impression: function impression() { return Object(y.logMessage)("Sonobi outstream video impression event"); }, loaded: function loaded() { return Object(y.logMessage)("Sonobi outstream video loaded event"); }, ended: function ended() { Object(y.logMessage)("Sonobi outstream renderer video event"); } }), n; }(n.adUnitCode, u, Object(y.deepAccess)(n, "renderer.options")), p = Object(y.deepAccess)(n, "params.sizes"), Array.isArray(p) && Array.isArray(p[0]) && (p = p[0]), p && (u.width = p[0], u.height = p[1])), m.push(u)); }), m; }, getUserSyncs: function getUserSyncs(e, t) { var r = []; try { e.pixelEnabled && t[0].body.sbi_px.forEach(function (e) { r.push({ type: e.type, url: e.url }); }); } catch (e) {} return r; } }; function f(e) { return Object(y.deepAccess)(e, "mediaTypes.video") ? "" : e.params.sizes ? Object(y.parseSizesInput)(e.params.sizes).join(",") : Object(y.deepAccess)(e, "mediaTypes.banner.sizes") ? Object(y.parseSizesInput)(Object(y.deepAccess)(e, "mediaTypes.banner.sizes")).join(",") : e.sizes ? Object(y.parseSizesInput)(e.sizes).join(",") : void 0; } function m(e) { return e.params.floor ? "|f=".concat(e.params.floor) : ""; } var j = function j(i, s) { return function (e, t) { return "video" === i || "outstream" === i ? (r = t, n = s, "https://".concat(e, "apex.go.sonobi.com/vast.xml?vid=").concat(r, "&ref=").concat(encodeURIComponent(n))) : '‘;
var r, n;
};
};

var a = function a(e) {
var r = 0 < arguments.length && void 0 !== e ? e : window; return function () { var e = 0 < arguments.length && 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; }; }; function v() { var e = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : window, t = a(e), r = 992, n = 768; return t(0, 768) ? "mobile" : t(n, r) ? "tablet" : "desktop"; } function O(i) { i.renderer.push(function () { var e = h(i.getSize().split("x"), 2), t = e[0], r = e[1], n = new window.SbiOutstreamRenderer(); n.init({ vastUrl: i.vastUrl, height: r, width: t }), n.setRootElement(i.adUnitCode); }); } Object(n.registerBidder)(o); } }, [719]); pbjsChunk([85], { 741: function _(e, r, t) { e.exports = t(742); }, 742: function _(e, r, t) { "use strict"; Object.defineProperty(r, "__esModule", { value: !0 }), t.d(r, "spec", function () { return n; }); var a = t(1), d = t(0), p = 12, o = 11, c = 0, u = 22, n = { code: "teads", supportedMediaTypes: ["video"https://slate.com/,"banner"], isBidRequestValid: function isBidRequestValid(e) { var r, t, a = !1; return void 0 !== e.params && (r = i(d.getValue(e.params, "placementId")), t = i(d.getValue(e.params, "pageId")), a = r && t), a || d.logError("Teads placementId and pageId parameters are required. Bid aborted."), a; }, buildRequests: function buildRequests(e, r) { var t = e.map(I), a = { referrer: function (e) { var r = ""; e && e.refererInfo && e.refererInfo.referer && (r = e.refererInfo.referer); return r; }(r), data: t, deviceWidth: screen.width, hb_version: "3.23.0" }; e[0].schain && (a.schain = e[0].schain); var n, d, i, s = r.gdprConsent; return r && s && (n = "boolean" == typeof s.gdprApplies, d = "string" == typeof s.consentString, i = n ? function (e, r, t) { var a = p; e ? function (e, r) { return e && 1 === r ? e.hasGlobalScope || e.hasGlobalConsent : !(!e || 2 !== r) && !e.isServiceSpecific; }(r, t) && (a = o) : a = c; return a; }(s.gdprApplies, s.vendorData, s.apiVersion) : u, a.gdpr_iab = { consent: d ? s.consentString : "", status: i, apiVersion: s.apiVersion }), r && r.uspConsent && (a.us_privacy = r.uspConsent), { method: "POST", url: "https://a.teads.tv/hb/bid-request", data: JSON.stringify(a) }; }, interpretResponse: function interpretResponse(e) { var t = []; return (e = e.body).responses && e.responses.forEach(function (e) { var r = { cpm: e.cpm, width: e.width, height: e.height, currency: e.currency, netRevenue: !0, ttl: e.ttl, ad: e.ad, requestId: e.bidId, creativeId: e.creativeId, placementId: e.placementId }; e.dealId && (r.dealId = e.dealId), t.push(r); }), t; } }; function I(e) { var r, t = {}, a = d.getValue(e.params, "placementId"), n = d.getValue(e.params, "pageId"); return t.sizes = (r = e, d.parseSizesInput(function (e) { var r = d.deepAccess(e, "mediaTypes.video.playerSize"), t = d.deepAccess(e, "mediaTypes.video.sizes"), a = d.deepAccess(e, "mediaTypes.banner.sizes"); return d.isArray(a) || d.isArray(r) || d.isArray(t) ? [a, t, r].reduce(function (r, e) { return d.isArray(e) && (d.isArray(e[0]) ? e.forEach(function (e) { r.push(e); }) : r.push(e)), r; }, []) : e.sizes; }(r))), t.bidId = d.getBidIdParameter("bidId", e), t.bidderRequestId = d.getBidIdParameter("bidderRequestId", e), t.placementId = parseInt(a, 10), t.pageId = parseInt(n, 10), t.adUnitCode = d.getBidIdParameter("adUnitCode", e), t.auctionId = d.getBidIdParameter("auctionId", e), t.transactionId = d.getBidIdParameter("transactionId", e), t; } function i(e) { return 0 < parseInt(e); } Object(a.registerBidder)(n); } }, [741]); pbjsChunk([76], { 761: function _(r, e, t) { r.exports = t(762); }, 762: function _(r, e, t) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), t.d(e, "tripleliftAdapterSpec", function () { return s; }); var n = t(2), i = t(1), o = t(0), u = t(3); function p(r) { return function (r) { if (Array.isArray(r)) return d(r); }(r) || function (r) { if ("undefined" != typeof Symbol && Symbol.iterator in Object(r)) return Array.from(r); }(r) || function (r, e) { if (!r) return; if ("string" == typeof r) return d(r, e); var t = Object.prototype.toString.call(r).slice(8, -1); "Object" === t && r.constructor && (t = r.constructor.name); if ("Map" === t || "Set" === t) return Array.from(r); if ("Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return d(r, e); }(r) || 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 d(r, e) { (null == e || e > r.length) && (e = r.length);

for (var t = 0, n = new Array(e); t < e; t++) { n[t] = r[t]; } return n; } var a = !0, c = null, s = { code: "triplelift", supportedMediaTypes: [n.b], isBidRequestValid: function isBidRequestValid(r) { return void 0 !== r.params.inventoryCode; }, buildRequests: function buildRequests(r, e) { var t, n = "https://tlx.3lift.com/header/auction?", i = function (r) { var e = {}, t = r[0].schain; e.imp = r.map(function (r, e) { return { id: e, tagid: r.params.inventoryCode, floor: r.params.floor, banner: { format: r.sizes.filter(l).map(function (r) { return { w: r[0], h: r[1] }; }) } }; }); var n = [].concat(p(function (r) { return f(r, "tdid"https://slate.com/,"adserver.org"https://slate.com/,"TDID"); }(r)), p(function (r) { return f(r, "idl_env"https://slate.com/,"liveramp.com"https://slate.com/,"idl"); }(r)), p(function (r) { return f(r, "criteoId"https://slate.com/,"criteo.com"https://slate.com/,"criteoId"); }(r))); 0 < n.length && (e.user = { ext: { eids: n } }); t && (e.ext = { schain: t }); return e; }(r); return n = o.tryAppendQueryString(n, "lib"https://slate.com/,"prebid"), n = o.tryAppendQueryString(n, "v"https://slate.com/,"3.23.0"), e && e.refererInfo && (t = e.refererInfo.referer, n = o.tryAppendQueryString(n, "referrer", t)), e && e.timeout && (n = o.tryAppendQueryString(n, "tmax", e.timeout)), e && e.gdprConsent && (void 0 !== e.gdprConsent.gdprApplies && (a = e.gdprConsent.gdprApplies, n = o.tryAppendQueryString(n, "gdpr", a.toString())), void 0 !== e.gdprConsent.consentString && (c = e.gdprConsent.consentString, n = o.tryAppendQueryString(n, "cmp_cs", c))), e && e.uspConsent && (n = o.tryAppendQueryString(n, "us_privacy", e.uspConsent)), !0 === u.b.getConfig("coppa") && (n = o.tryAppendQueryString(n, "coppa", !0)), n.lastIndexOf("&") === n.length - 1 && (n = n.substring(0, n.length - 1)), o.logMessage("tlCall request built: " + n), { method: "POST", url: n, data: i, bidderRequest: e }; }, interpretResponse: function interpretResponse(r, e) { var t = e.bidderRequest; return (r.body.bids || []).map(function (r) { return function (r, e) { var t = {}, n = e.width || 1, i = e.height || 1, u = e.deal_id || "", o = e.crid || ""; 0 != e.cpm && e.ad && (t = { requestId: r.bids[e.imp_id].bidId, cpm: e.cpm, width: n, height: i, netRevenue: !0, ad: e.ad, creativeId: o, dealId: u, currency: "USD", ttl: 300, tl_source: e.tl_source }); return t; }(t, r); }); }, getUserSyncs: function getUserSyncs(r, e, t, n) { var i = function (r) { if (!r) return; if (r.iframeEnabled) return "iframe"; if (r.pixelEnabled) return "image"; }(r); if (i) { var u = "https://eb2.3lift.com/sync?"; return "image" === i && (u = o.tryAppendQueryString(u, "px", 1), u = o.tryAppendQueryString(u, "src"https://slate.com/,"prebid")), null !== c && (u = o.tryAppendQueryString(u, "gdpr", a), u = o.tryAppendQueryString(u, "cmp_cs", c)), n && (u = o.tryAppendQueryString(u, "us_privacy", n)), [{ type: i, url: u }]; } } }; function f(r, e, t, n) { return r.map((o = e, function (r) { return r && r.userId && r.userId[o]; })).filter(function (r) { return !!r; }).map((i = t, u = n, function (r) { return { source: i, uids: [{ id: r, ext: { rtiPartner: u } }] }; })); var i, u, o; } function l(r) { return 2 === r.length && "number" == typeof r[0] && "number" == typeof r[1]; } Object(i.registerBidder)(s); } }, [761]); pbjsChunk([75], { 763: function _(e, r, t) { e.exports = t(764); }, 764: function _(e, r, t) { "use strict"; Object.defineProperty(r, "__esModule", { value: !0 }), t.d(r, "spec", function () { return v; }); var m = t(0), s = t(1), o = t(10), c = t(2), f = "Bid from response has no auid parameter - ", l = "Bid from response has no adm parameter - ", p = "Array of bid objects is empty", g = "Can't find in requested bids the bid with auid - ", u = "Seatbid array from response has empty item", y = "Response is empty", b = "Response has empty seatbid array", h = "Seatbid from response has no array of bid objects - ", v = { code: "trustx", supportedMediaTypes: [c.b, c.d], isBidRequestValid: function isBidRequestValid(e) { return !!e.params.uid; }, buildRequests: function buildRequests(e, r) { var a, o, p = [], u = {}, c = {}, f = {}, l = "net"; (e || []).forEach(function (e) { "gross" === e.params.priceType && (l = "gross"), o = e.bidderRequestId; var r = e.params.uid, t = e.adUnitCode; p.push(r); var s, n = m.parseSizesInput(e.sizes); a || m.isEmpty(e.params.keywords) || (0 < (s = m.transformBidderParamKeywords(e.params.keywords)).length && s.forEach(E), a = s), c[r] || (c[r] = {}); var d = c[r]; d[t] ? d[t].bids.push(e) : d[t] = { adUnitCode: t, bids: [e], parents: [] }; var i = d[t]; n.forEach(function (e) { f[e] = !0, u[r] || (u[r] = {}), u[r][e] ? u[r][e].push(i) : u[r][e] = [i], i.parents.push({ parent: u[r], key: e, uid: r }); }); }); var t = { pt: l, auids: p.join(","), sizes: m.getKeys(f).join(","), r: o, wrapperType: "Prebid_js", wrapperVersion: "3.23.0" }; return a && (t.keywords = JSON.stringify(a)), r && (r.refererInfo && r.refererInfo.referer && (t.u = r.refererInfo.referer), r.timeout && (t.wtimeout = r.timeout), r.gdprConsent && (r.gdprConsent.consentString && (t.gdpr_consent = r.gdprConsent.consentString), t.gdpr_applies = "boolean" == typeof r.gdprConsent.gdprApplies ? Number(r.gdprConsent.gdprApplies) : 1), r.uspConsent && (t.us_privacy = r.uspConsent)), { method: "GET", url: "https://sofia.trustx.org/hb", data: m.parseQueryStringParameters(t).replace(/&$/, ""), bidsMap: u }; }, interpretResponse: function interpretResponse(e, r, t) { var s = 2 < arguments.length && void 0 !== t ? t : o.a; e = e && e.body; var n, d = [], i = r.bidsMap, a = r.data.pt; return e ? e.seatbid && !e.seatbid.length && (n = b) : n = y, !n && e.seatbid && e.seatbid.forEach(function (e) { !function (e, d, r, t, s) { if (!e) return; var n; e.auid || (n = f + JSON.stringify(e)); { var i, a, o, p, u; e.adm ? (i = d[e.auid]) ? (a = "".concat(e.w, "x").concat(e.h), i[a] && (o = i[a][0], p = o.bids.shift(), u = { requestId: p.bidId, bidderCode: v.code, cpm: e.price, width: e.w, height: e.h, creativeId: e.auid, currency: "USD", netRevenue: "gross" !== r, ttl: 360, dealId: e.dealid }, "video" === e.content_type ? (u.vastXml = e.adm, u.mediaType = c.d, u.adResponse = { content: u.vastXml }, p.renderer || p.mediaTypes && p.mediaTypes.video && "outstream" !== p.mediaTypes.video.context || (u.renderer = function (e, r) { var t = r.install({ id: e.id, url: e.url, loaded: !1 }); try { t.setRender(w); } catch (e) { m.logWarn("Prebid Error calling setRender on renderer", e); } return t; }({ id: p.bidId, url: "https://acdn.adnxs.com/video/outstream/ANOutstreamVideo.js" }, s))) : (u.ad = e.adm, u.mediaType = c.b), t.push(u), o.bids.length || o.parents.forEach(function (e) { var r = e.parent, t = e.key, s = e.uid, n = r[t].indexOf(o); -1 < n && r[t].splice(n, 1), r[t].length || (delete r[t], m.getKeys(r).length || delete d[s]); }))) : n = g + e.auid : n = l + JSON.stringify(e); } n && m.logError(n); }(function (e) { e ? e.bid ? e.bid[0] || m.logError(p) : m.logError(h + JSON.stringify(e)) : m.logError(u); return e && e.bid && e.bid[0]; }(e), i, a, d, s); }), n && m.logError(n), d; }, getUserSyncs: function getUserSyncs(e) { if (e.pixelEnabled) return [{ type: "image", url: "https://sofia.trustx.org/push_sync" }]; } }; function E(e) { var r; r = e.value, m.isArray(r) && 0 < r.length && "" === e.value[0] && delete e.value; } function w(e) { e.renderer.push(function () { window.ANOutstreamVideo.renderAd({ targetId: e.adUnitCode, adResponse: e.adResponse }); }); } Object(s.registerBidder)(v); } }, [763]); 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, "", url.toString()); } // and add `via` param to any outbound links function addViaToUrl(href, via) { if (!href || 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 = "_"; function concatVia(node, via) { var tag = node.dataset && node.dataset.via; if (tag) { via = (via.length ? tag + DELIMITER : tag) + via; } return via; } function addToClickedLinks() { document.documentElement.addEventListener("click", function (e) { var a; var via = ""; // detect link nodes and collect via directives to append to the href var node = e.target; // the element where this event originated may have been removed from the dom, e.g. in the case of the OIL CMP which disappears after you interact with it while (node && node !== e.currentTarget) { if (node.tagName === "A") { a = node; } via = concatVia(node, via); node = node.parentNode; } if (a && via) { if (pageType) { via = pageType + DELIMITER + via; } a.href = addViaToUrl(a.href, via); } }); } function addToSubmittedForms() { document.documentElement.addEventListener("submit", function (e) { var form = e.target; // collect via directives var via = ""; var node = e.target; while (node !== e.currentTarget) { via = concatVia(node, via); node = node.parentNode; } if (via) { if (pageType) { via = pageType + DELIMITER + via; } // dynamically create a hidden input for the form url var input = document.createElement("input"); input.type = "hidden"; input.name = "via"; input.value = via; form.appendChild(input); } }); } // start listening only once, when first injected addToClickedLinks(); addToSubmittedForms(); return { setPageType: setPageType, removeFromLocation: removeFromLocation }; }); }, {}]; window.modules["visibility.legacy"] = [function(require,module,exports){"use strict"; DS.service("$visibility", ["$document"https://slate.com/,"$window"https://slate.com/,"_throttle"https://slate.com/,"Eventify", function ($document, $window, _throttle, Eventify) { var list = [], Visible, VisibleEvent; /** * @param {number} a * @param {number} b * @returns {*} * @see http://jsperf.com/math-min-vs-if-condition-vs/8 */ function 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;
}
/**
* Fast loop through watched elements
*/

function onScroll() {
list.forEach(updateVisibility);
}
/**
* updates seen property
* @param {Visble} item
* @param {{}} evt
* @fires Visible#shown
* @fires Visible#hidden
*/

function updateSeen(item, evt) {
var px = evt.visiblePx,
percent = evt.visiblePercent; // if some pixels are visible and we’re greater/equal to threshold

if (px && percent >= item.shownThreshold && !item.seen) {
item.seen = true;
setTimeout(function () {
item.trigger(“shown”, new VisibleEvent(“shown”, evt));
}, 15); // if no pixels or percent is less than threshold
} else if ((!px || percent < 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 || $document.documentElement.clientHeight, px = getVerticallyVisiblePixels(rect, innerHeight), percent = px / (rect.height || 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 || $document.documentElement.clientHeight || $document.body.clientHeight; } /** * Return normalized viewport width * @return {number} */ function getViewportWidth() { return $window.innerWidth || $document.documentElement.clientWidth || $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.bottom <= ($window.innerHeight || $document.documentElement.clientHeight) && rect.right <= ($window.innerWidth || $document.documentElement.clientWidth); } /** * @param {Element} el * @param {ClientRect} rect * @param {Number} preloadThreshhold * @param {Number} innerHeight * @return {Boolean} */ function shouldBePreloaded(el, rect, preloadThreshhold, innerHeight) { return rect.top <= 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 || 1)), remainder = x % stepSize, result = index.toString(base); if (optimalK > 1) {
result += getLinearSpacialHash(remainder, Math.floor(stepSize / base), optimalK – 1, base);
}

return result;
}
/**
* @param {ClientRect} rect
* @param {number} innerHeight
* @returns {number}
*/

function getVerticallyVisiblePixels(rect, innerHeight) {
return min(innerHeight, max(rect.bottom, 0)) – min(max(rect.top, 0), innerHeight);
}
/**
* Get offset of element relative to entire page
*
* @param {Element} el
* @returns {{left: number, top: number}}
* @see http://jsperf.com/offset-vs-getboundingclientrect/7
*/

function getPageOffset(el) {
var offsetLeft = el.offsetLeft,
offsetTop = el.offsetTop;

while (el = el.offsetParent) {
offsetLeft += el.offsetLeft;
offsetTop += el.offsetTop;
}

return {
left: offsetLeft,
top: offsetTop
};
}
/**
* Create a new Visible class to observe when elements enter and leave the viewport
*
* Call destroy function to stop listening (this is until we have better support for watching for Node Removal)
* @param {Element} el
* @param {{shownThreshold: number, hiddenThreshold: number}} [options]
* @class
* @example this.visible = new $visibility.Visible(el);
*/

Visible = function Visible(el, options) {
options = options || {};
this.el = el;
this.seen = false;
this.preload = false;
this.preloadThreshhold = options && options.preloadThreshhold || 0;
this.shownThreshold = options && options.shownThreshold || 0;
this.hiddenThreshold = options && min(options.shownThreshold, options.hiddenThreshold) || 0;
list.push(this);
updateVisibility(this); // set immediately to visible or not
};

Visible.prototype = {
/**
* Stop triggering.
*/
destroy: function destroy() {
// remove from list
list.splice(list.indexOf(this), 1);
}
/**
* @name Visible#on
* @function
* @param {‘shown’|’hidden’} e EventName
* @param {function} cb Callback
*/

/**
* @name Visible#trigger
* @function
* @param {‘shown’|’hidden’} e
* @param {{}}
*/

};
Eventify.enable(Visible.prototype);

VisibleEvent = function VisibleEvent(type, options) {
var _this = this;

this.type = type;
Object.keys(options).forEach(function (key) {
_this[key] = options[key];
});
}; // listen for scroll events (throttled)

$document.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.Visible = Visible;
}]);
}, {}];
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==”function”&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error(“Cannot find module ‘”+o+”‘”);throw f.code=”MODULE_NOT_FOUND”,f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(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==”function”&&require;for(var o=0;o

[ad_2]

Source link

0
UA-77446339-1