Skip to content

Instantly share code, notes, and snippets.

@pganti
Created March 9, 2019 00:35
Show Gist options
  • Save pganti/8ac4a21347b598d3ed0c2ab85dac29e2 to your computer and use it in GitHub Desktop.
Save pganti/8ac4a21347b598d3ed0c2ab85dac29e2 to your computer and use it in GitHub Desktop.
google rum for ads
(function() {
var aa =
"function" == typeof Object.create
? Object.create
: function(a) {
function b() {}
b.prototype = a;
return new b();
},
ba;
if ("function" == typeof Object.setPrototypeOf) ba = Object.setPrototypeOf;
else {
var ca;
a: {
var da = { T: !0 },
ea = {};
try {
ea.__proto__ = da;
ca = ea.T;
break a;
} catch (a) {}
ca = !1;
}
ba = ca
? function(a, b) {
a.__proto__ = b;
if (a.__proto__ !== b) throw new TypeError(a + " is not extensible");
return a;
}
: null;
}
var fa = ba;
function ha(a, b) {
a.prototype = aa(b.prototype);
a.prototype.constructor = a;
if (fa) fa(a, b);
else
for (var c in b)
if ("prototype" != c)
if (Object.defineProperties) {
var d = Object.getOwnPropertyDescriptor(b, c);
d && Object.defineProperty(a, c, d);
} else a[c] = b[c];
a.Y = b.prototype;
}
var h = this;
function l(a) {
return "string" == typeof a;
}
function ia(a) {
return "number" == typeof a;
}
var ja = /^[\w+/_-]+[=]{0,2}$/,
ka = null;
function ma(a) {
var b = typeof a;
if ("object" == b)
if (a) {
if (a instanceof Array) return "array";
if (a instanceof Object) return b;
var c = Object.prototype.toString.call(a);
if ("[object Window]" == c) return "object";
if (
"[object Array]" == c ||
("number" == typeof a.length &&
"undefined" != typeof a.splice &&
"undefined" != typeof a.propertyIsEnumerable &&
!a.propertyIsEnumerable("splice"))
)
return "array";
if (
"[object Function]" == c ||
("undefined" != typeof a.call &&
"undefined" != typeof a.propertyIsEnumerable &&
!a.propertyIsEnumerable("call"))
)
return "function";
} else return "null";
else if ("function" == b && "undefined" == typeof a.call) return "object";
return b;
}
function p(a, b) {
function c() {}
c.prototype = b.prototype;
a.Y = b.prototype;
a.prototype = new c();
a.prototype.constructor = a;
a.$ = function(a, c, f) {
for (
var d = Array(arguments.length - 2), e = 2;
e < arguments.length;
e++
)
d[e - 2] = arguments[e];
return b.prototype[c].apply(a, d);
};
}
var na = document,
oa = window;
var pa;
function q(a, b) {
for (var c = a.length, d = l(a) ? a.split("") : a, e = 0; e < c; e++)
e in d && b.call(void 0, d[e], e, a);
}
function qa(a, b) {
for (
var c = a.length, d = [], e = 0, f = l(a) ? a.split("") : a, g = 0;
g < c;
g++
)
if (g in f) {
var k = f[g];
b.call(void 0, k, g, a) && (d[e++] = k);
}
return d;
}
function ra(a, b) {
for (
var c = a.length, d = Array(c), e = l(a) ? a.split("") : a, f = 0;
f < c;
f++
)
f in e && (d[f] = b.call(void 0, e[f], f, a));
return d;
}
function sa(a, b, c) {
var d = c;
q(a, function(c, f) {
d = b.call(void 0, d, c, f, a);
});
return d;
}
function ta(a, b) {
a: {
for (var c = a.length, d = l(a) ? a.split("") : a, e = 0; e < c; e++)
if (e in d && b.call(void 0, d[e], e, a)) {
b = e;
break a;
}
b = -1;
}
return 0 > b ? null : l(a) ? a.charAt(b) : a[b];
}
function ua(a, b) {
for (var c = 1; c < arguments.length; c++) {
var d = arguments[c],
e = ma(d);
if ("array" == e || ("object" == e && "number" == typeof d.length)) {
e = a.length || 0;
var f = d.length || 0;
a.length = e + f;
for (var g = 0; g < f; g++) a[e + g] = d[g];
} else a.push(d);
}
}
function va(a, b) {
a.sort(b || wa);
}
function wa(a, b) {
return a > b ? 1 : a < b ? -1 : 0;
}
function ya(a) {
return /^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1];
}
function za(a, b) {
return a < b ? -1 : a > b ? 1 : 0;
}
var r;
a: {
var Aa = h.navigator;
if (Aa) {
var Ba = Aa.userAgent;
if (Ba) {
r = Ba;
break a;
}
}
r = "";
}
function t(a) {
return -1 != r.indexOf(a);
}
function Ca(a, b) {
for (var c in a) if (b.call(void 0, a[c], c, a)) return c;
}
function Da(a) {
Da[" "](a);
return a;
}
Da[" "] = function() {};
function Ea(a, b) {
var c = Fa;
return Object.prototype.hasOwnProperty.call(c, a) ? c[a] : (c[a] = b(a));
}
var Ga = t("Opera"),
u = t("Trident") || t("MSIE"),
Ha = t("Edge"),
Ia =
t("Gecko") &&
!(-1 != r.toLowerCase().indexOf("webkit") && !t("Edge")) &&
!(t("Trident") || t("MSIE")) &&
!t("Edge"),
Ja = -1 != r.toLowerCase().indexOf("webkit") && !t("Edge");
function Ka() {
var a = h.document;
return a ? a.documentMode : void 0;
}
var La;
a: {
var Ma = "",
Na = (function() {
var a = r;
if (Ia) return /rv:([^\);]+)(\)|;)/.exec(a);
if (Ha) return /Edge\/([\d\.]+)/.exec(a);
if (u) return /\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);
if (Ja) return /WebKit\/(\S+)/.exec(a);
if (Ga) return /(?:Version)[ \/]?(\S+)/.exec(a);
})();
Na && (Ma = Na ? Na[1] : "");
if (u) {
var Oa = Ka();
if (null != Oa && Oa > parseFloat(Ma)) {
La = String(Oa);
break a;
}
}
La = Ma;
}
var Pa = La,
Fa = {};
function Qa(a) {
return Ea(a, function() {
for (
var b = 0,
c = ya(String(Pa)).split("."),
d = ya(String(a)).split("."),
e = Math.max(c.length, d.length),
f = 0;
0 == b && f < e;
f++
) {
var g = c[f] || "",
k = d[f] || "";
do {
g = /(\d*)(\D*)(.*)/.exec(g) || ["", "", "", ""];
k = /(\d*)(\D*)(.*)/.exec(k) || ["", "", "", ""];
if (0 == g[0].length && 0 == k[0].length) break;
b =
za(
0 == g[1].length ? 0 : parseInt(g[1], 10),
0 == k[1].length ? 0 : parseInt(k[1], 10)
) ||
za(0 == g[2].length, 0 == k[2].length) ||
za(g[2], k[2]);
g = g[3];
k = k[3];
} while (0 == b);
}
return 0 <= b;
});
}
var Ra;
var Sa = h.document;
Ra =
Sa && u
? Ka() || ("CSS1Compat" == Sa.compatMode ? parseInt(Pa, 10) : 5)
: void 0;
var Ta =
t("Safari") &&
!(
((t("Chrome") || t("CriOS")) && !t("Edge")) ||
t("Coast") ||
t("Opera") ||
t("Edge") ||
t("Firefox") ||
t("FxiOS") ||
t("Silk") ||
t("Android")
) &&
!((t("iPhone") && !t("iPod") && !t("iPad")) || t("iPad") || t("iPod"));
var Ua = null,
Va = null,
Wa = null,
Xa = Ia || (Ja && !Ta) || Ga || (!Ta && !u && "function" == typeof h.atob);
function Ya(a) {
Za();
for (var b = Wa, c = [], d = 0; d < a.length; d += 3) {
var e = a[d],
f = d + 1 < a.length,
g = f ? a[d + 1] : 0,
k = d + 2 < a.length,
m = k ? a[d + 2] : 0,
n = e >> 2;
e = ((e & 3) << 4) | (g >> 4);
g = ((g & 15) << 2) | (m >> 6);
m &= 63;
k || ((m = 64), f || (g = 64));
c.push(b[n], b[e], b[g], b[m]);
}
return c.join("");
}
function $a(a) {
if (Xa) return h.atob(a);
var b = "";
ab(a, function(a) {
b += String.fromCharCode(a);
});
return b;
}
function ab(a, b) {
function c(b) {
for (; d < a.length; ) {
var c = a.charAt(d++),
e = Va[c];
if (null != e) return e;
if (!/^[\s\xa0]*$/.test(c))
throw Error("Unknown base64 encoding at char: " + c);
}
return b;
}
Za();
for (var d = 0; ; ) {
var e = c(-1),
f = c(0),
g = c(64),
k = c(64);
if (64 === k && -1 === e) break;
b((e << 2) | (f >> 4));
64 != g &&
(b(((f << 4) & 240) | (g >> 2)), 64 != k && b(((g << 6) & 192) | k));
}
}
function Za() {
if (!Ua) {
Ua = {};
Va = {};
Wa = {};
for (var a = 0; 65 > a; a++)
(Ua[
a
] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(
a
)),
(Va[Ua[a]] = a),
(Wa[
a
] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(
a
)),
62 <= a &&
(Va[
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(
a
)
] = a);
}
}
var bb = 0,
cb = 0;
function db() {
this.a = [];
}
db.prototype.length = function() {
return this.a.length;
};
function eb(a) {
var b = a.a;
a.a = [];
return b;
}
function w(a, b) {
for (; 127 < b; ) a.a.push((b & 127) | 128), (b >>>= 7);
a.a.push(b);
}
function fb() {
this.c = [];
this.b = 0;
this.a = new db();
}
function gb(a, b) {
w(a.a, 8 * b + 2);
b = eb(a.a);
a.c.push(b);
a.b += b.length;
b.push(a.b);
return b;
}
function hb(a, b) {
var c = b.pop();
for (c = a.b + a.a.length() - c; 127 < c; )
b.push((c & 127) | 128), (c >>>= 7), a.b++;
b.push(c);
a.b++;
}
function ib(a) {
for (
var b = new Uint8Array(a.b + a.a.length()),
c = a.c,
d = c.length,
e = 0,
f = 0;
f < d;
f++
) {
var g = c[f];
b.set(g, e);
e += g.length;
}
c = eb(a.a);
b.set(c, e);
a.c = [b];
return b;
}
function x(a, b, c) {
if (null != c && null != c) {
w(a.a, 8 * b);
a = a.a;
var d = c;
c = 0 > d;
d = Math.abs(d);
b = d >>> 0;
d = Math.floor((d - b) / 4294967296);
d >>>= 0;
c &&
((d = ~d >>> 0),
(b = (~b >>> 0) + 1),
4294967295 < b && ((b = 0), d++, 4294967295 < d && (d = 0)));
bb = b;
cb = d;
c = bb;
for (b = cb; 0 < b || 127 < c; )
a.a.push((c & 127) | 128),
(c = ((c >>> 7) | (b << 25)) >>> 0),
(b >>>= 7);
a.a.push(c);
}
}
function y(a, b, c) {
if (null != c)
if ((w(a.a, 8 * b), (a = a.a), 0 <= c)) w(a, c);
else {
for (b = 0; 9 > b; b++) a.a.push((c & 127) | 128), (c >>= 7);
a.a.push(1);
}
}
function jb(a, b, c) {
if (null != c) {
b = gb(a, b);
for (var d = a.a, e = 0; e < c.length; e++) {
var f = c.charCodeAt(e);
if (128 > f) d.a.push(f);
else if (2048 > f) d.a.push((f >> 6) | 192), d.a.push((f & 63) | 128);
else if (65536 > f)
if (55296 <= f && 56319 >= f && e + 1 < c.length) {
var g = c.charCodeAt(e + 1);
56320 <= g &&
57343 >= g &&
((f = 1024 * (f - 55296) + g - 56320 + 65536),
d.a.push((f >> 18) | 240),
d.a.push(((f >> 12) & 63) | 128),
d.a.push(((f >> 6) & 63) | 128),
d.a.push((f & 63) | 128),
e++);
} else
d.a.push((f >> 12) | 224),
d.a.push(((f >> 6) & 63) | 128),
d.a.push((f & 63) | 128);
}
hb(a, b);
}
}
function kb(a, b, c, d) {
if (null != c)
for (var e = 0; e < c.length; e++) {
var f = gb(a, b);
d(c[e], a);
hb(a, f);
}
}
function z() {}
var lb = "function" == typeof Uint8Array;
function A(a, b, c, d) {
a.a = null;
b || (b = []);
a.i = void 0;
a.c = -1;
a.h = b;
a: {
if ((b = a.h.length)) {
--b;
var e = a.h[b];
if (
!(
null === e ||
"object" != typeof e ||
"array" == ma(e) ||
(lb && e instanceof Uint8Array)
)
) {
a.f = b - a.c;
a.b = e;
break a;
}
}
a.f = Number.MAX_VALUE;
}
a.g = {};
if (c)
for (b = 0; b < c.length; b++)
(e = c[b]),
e < a.f
? ((e += a.c), (a.h[e] = a.h[e] || mb))
: (pb(a), (a.b[e] = a.b[e] || mb));
if (d && d.length) for (b = 0; b < d.length; b++) qb(a, d[b]);
}
var mb = [];
function pb(a) {
var b = a.f + a.c;
a.h[b] || (a.b = a.h[b] = {});
}
function B(a, b) {
if (b < a.f) {
b += a.c;
var c = a.h[b];
return c === mb ? (a.h[b] = []) : c;
}
if (a.b) return (c = a.b[b]), c === mb ? (a.b[b] = []) : c;
}
function C(a, b, c) {
a = B(a, b);
return null == a ? c : a;
}
function D(a, b) {
a = B(a, b);
a = null == a ? a : !!a;
return null == a ? !1 : a;
}
function E(a, b, c) {
b < a.f ? (a.h[b + a.c] = c) : (pb(a), (a.b[b] = c));
}
function F(a, b, c) {
G(a, b, c, 0);
}
function G(a, b, c, d) {
c !== d ? E(a, b, c) : (a.h[b + a.c] = null);
}
function qb(a, b) {
for (var c, d, e = 0; e < b.length; e++) {
var f = b[e],
g = B(a, f);
null != g && ((c = f), (d = g), E(a, f, void 0));
}
return c ? (E(a, c, d), c) : 0;
}
function rb(a, b, c) {
a.a || (a.a = {});
if (!a.a[c]) {
var d = B(a, c);
d && (a.a[c] = new b(d));
}
return a.a[c];
}
function sb(a, b, c) {
tb(a, b, c);
b = a.a[c];
b == mb && (b = a.a[c] = []);
return b;
}
function tb(a, b, c) {
a.a || (a.a = {});
if (!a.a[c]) {
for (var d = B(a, c), e = [], f = 0; f < d.length; f++)
e[f] = new b(d[f]);
a.a[c] = e;
}
}
function ub(a, b, c) {
a.a || (a.a = {});
var d = c ? c.h : c;
a.a[b] = c;
E(a, b, d);
}
function vb(a, b) {
var c = wb[0];
a.a || (a.a = {});
var d = b ? b.h : b;
a.a[5] = b;
(b = qb(a, c)) &&
5 !== b &&
void 0 !== d &&
(a.a && b in a.a && (a.a[b] = void 0), E(a, b, void 0));
E(a, 5, d);
}
function xb(a, b, c, d) {
tb(a, d, b);
var e = a.a[b];
e || (e = a.a[b] = []);
c = c ? c : new d();
a = B(a, b);
e.push(c);
a.push(c.h);
}
z.prototype.toString = function() {
return this.h.toString();
};
function yb(a) {
var b = !1,
c;
return function() {
b || ((c = a()), (b = !0));
return c;
};
}
function zb(a) {
function b() {
d = h.setTimeout(c, 1e3);
a.apply(void 0, f);
}
function c() {
d = 0;
e && ((e = !1), b());
}
var d = 0,
e = !1,
f = [];
return function(a) {
f = arguments;
d ? (e = !0) : b();
};
}
var Ab = u || Ga || Ja;
function Bb() {
this.a = "";
this.b = Cb;
}
var Cb = {};
function H(a, b) {
this.a = void 0 !== a ? a : 0;
this.b = void 0 !== b ? b : 0;
}
H.prototype.ceil = function() {
this.a = Math.ceil(this.a);
this.b = Math.ceil(this.b);
return this;
};
H.prototype.floor = function() {
this.a = Math.floor(this.a);
this.b = Math.floor(this.b);
return this;
};
H.prototype.round = function() {
this.a = Math.round(this.a);
this.b = Math.round(this.b);
return this;
};
function I(a, b) {
this.width = a;
this.height = b;
}
I.prototype.aspectRatio = function() {
return this.width / this.height;
};
I.prototype.ceil = function() {
this.width = Math.ceil(this.width);
this.height = Math.ceil(this.height);
return this;
};
I.prototype.floor = function() {
this.width = Math.floor(this.width);
this.height = Math.floor(this.height);
return this;
};
I.prototype.round = function() {
this.width = Math.round(this.width);
this.height = Math.round(this.height);
return this;
};
function Db(a, b) {
for (; a && 1 != a.nodeType; ) a = b ? a.nextSibling : a.previousSibling;
return a;
}
function Eb(a) {
var b;
if (
Ab &&
!(
u &&
Qa("9") &&
!Qa("10") &&
h.SVGElement &&
a instanceof h.SVGElement
) &&
(b = a.parentElement)
)
return b;
b = a.parentNode;
a = typeof b;
return (("object" == a && null != b) || "function" == a) && 1 == b.nodeType
? b
: null;
}
function Fb(a) {
return 9 == a.nodeType ? a : a.ownerDocument || a.document;
}
function Gb(a) {
var b = Hb;
a && (a = a.parentNode);
for (var c = 0; a && 6 >= c; ) {
if (b(a)) return a;
a = a.parentNode;
c++;
}
return null;
}
function Ib(a) {
this.a = a || h.document || document;
}
function Jb(a) {
try {
var b;
if ((b = !!a && null != a.location.href))
a: {
try {
Da(a.foo);
b = !0;
break a;
} catch (c) {}
b = !1;
}
return b;
} catch (c) {
return !1;
}
}
function J(a, b) {
if (a)
for (var c in a)
Object.prototype.hasOwnProperty.call(a, c) &&
b.call(void 0, a[c], c, a);
}
function Kb(a, b) {
return Ca(a, function(c, d) {
return Object.prototype.hasOwnProperty.call(a, d) && b(c, d);
});
}
function Lb(a) {
var b = a.length;
if (0 == b) return 0;
for (var c = 305419896, d = 0; d < b; d++)
c ^= ((c << 5) + (c >> 2) + a.charCodeAt(d)) & 4294967295;
return 0 < c ? c : 4294967296 + c;
}
function Mb(a) {
a = a && a.toString && a.toString();
return l(a) && -1 != a.indexOf("[native code]");
}
var Nb = yb(function() {
var a = !1;
try {
var b = Object.defineProperty({}, "passive", {
get: function() {
a = !0;
}
});
h.addEventListener("test", null, b);
} catch (c) {}
return a;
});
function Ob(a) {
return a ? (a.passive && Nb() ? a : a.capture || !1) : !1;
}
function K(a, b, c, d) {
a.addEventListener && a.addEventListener(b, c, Ob(d));
}
function Pb(a, b, c) {
a.removeEventListener && a.removeEventListener(b, c, Ob(void 0));
}
function Qb(a, b) {
a.google_image_requests || (a.google_image_requests = []);
var c = a.document.createElement("img");
c.src = b;
a.google_image_requests.push(c);
}
function Rb(a, b, c, d) {
this.left = a;
this.top = b;
this.width = c;
this.height = d;
}
Rb.prototype.ceil = function() {
this.left = Math.ceil(this.left);
this.top = Math.ceil(this.top);
this.width = Math.ceil(this.width);
this.height = Math.ceil(this.height);
return this;
};
Rb.prototype.floor = function() {
this.left = Math.floor(this.left);
this.top = Math.floor(this.top);
this.width = Math.floor(this.width);
this.height = Math.floor(this.height);
return this;
};
Rb.prototype.round = function() {
this.left = Math.round(this.left);
this.top = Math.round(this.top);
this.width = Math.round(this.width);
this.height = Math.round(this.height);
return this;
};
function Sb(a) {
try {
var b = a.getBoundingClientRect();
} catch (c) {
return { left: 0, top: 0, right: 0, bottom: 0 };
}
u &&
a.ownerDocument.body &&
((a = a.ownerDocument),
(b.left -= a.documentElement.clientLeft + a.body.clientLeft),
(b.top -= a.documentElement.clientTop + a.body.clientTop));
return b;
}
function Tb(a) {
var b = a.offsetWidth,
c = a.offsetHeight,
d = Ja && !b && !c;
return (void 0 === b || d) && a.getBoundingClientRect
? ((a = Sb(a)), new I(a.right - a.left, a.bottom - a.top))
: new I(b, c);
}
var Ub;
a: {
var L = void 0;
L = void 0 === L ? h : L;
var N = L.context || L.AMP_CONTEXT_DATA;
if (!N)
try {
N = L.parent.context || L.parent.AMP_CONTEXT_DATA;
} catch (a) {}
try {
if (N && N.pageViewId && N.canonicalUrl) {
Ub = N;
break a;
}
} catch (a) {}
Ub = null;
}
var Vb = !!Ub && h != h.top;
var Wb = !!window.google_async_iframe_id,
O = (Wb && window.parent) || window;
function Xb(a) {
return !(!a || !a.id) && 0 === a.id.indexOf("aswift_");
}
function Yb(a, b, c) {
c = void 0 === c ? {} : c;
this.error = a;
this.context = b.context;
this.line = b.line || -1;
this.msg = b.message || "";
this.file = b.file || "";
this.id = b.id || "jserror";
this.meta = c;
}
var Zb = /^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;
function $b(a) {
return a ? decodeURI(a) : a;
}
function ac(a) {
if ((a = /[-\w]+\.[-\w]+$/.exec(a))) {
a = a[0].toLowerCase();
for (var b = 0, c = 0; c < a.length; ++c)
b = (31 * b + a.charCodeAt(c)) >>> 0;
switch (b) {
case 1967261364:
return 0;
case 3147493546:
return 1;
case 1567346461:
return 2;
case 2183041838:
return 3;
case 763236279:
return 4;
case 1342279801:
return 5;
case 526831769:
return 6;
case 352806002:
return 7;
case 2755048925:
return 8;
case 3306848407:
return 9;
case 2207000920:
return 10;
case 484037040:
return 11;
case 3506871055:
return 12;
case 672143848:
return 13;
case 2528751226:
return 14;
case 2744854768:
return 15;
case 3703278665:
return 16;
case 2014749173:
return 17;
case 133063824:
return 18;
case 2749334602:
return 19;
case 3131239845:
return 20;
case 2074086763:
return 21;
case 795772493:
return 22;
case 290857819:
return 23;
case 3035947606:
return 24;
case 2983138003:
return 25;
case 2197138676:
return 26;
case 4216016165:
return 27;
case 239803524:
return 28;
case 975993579:
return 29;
case 1794940339:
return 30;
case 1314429186:
return 31;
case 1643618937:
return 32;
case 497159982:
return 33;
}
}
return -1;
}
var bc = /^https?:\/\/(\w|-)+\.cdn\.ampproject\.(net|org)(\?|\/|$)/;
function cc(a, b) {
this.a = a;
this.b = b;
}
function dc(a, b) {
this.url = a;
this.J = !!b;
this.depth = ia(void 0) ? void 0 : null;
}
function ec() {
this.c = "&";
this.f = !1;
this.b = {};
this.g = 0;
this.a = [];
}
function fc(a, b) {
var c = {};
c[a] = b;
return [c];
}
function gc(a, b, c, d, e) {
var f = [];
J(a, function(a, k) {
(a = hc(a, b, c, d, e)) && f.push(k + "=" + a);
});
return f.join(b);
}
function hc(a, b, c, d, e) {
if (null == a) return "";
b = b || "&";
c = c || ",$";
"string" == typeof c && (c = c.split(""));
if (a instanceof Array) {
if (((d = d || 0), d < c.length)) {
for (var f = [], g = 0; g < a.length; g++)
f.push(hc(a[g], b, c, d + 1, e));
return f.join(c[d]);
}
} else if ("object" == typeof a)
return (
(e = e || 0), 2 > e ? encodeURIComponent(gc(a, b, c, d, e + 1)) : "..."
);
return encodeURIComponent(String(a));
}
function P(a, b, c, d) {
a.a.push(b);
a.b[b] = fc(c, d);
}
function ic(a, b, c) {
b = b + "//pagead2.googlesyndication.com" + c;
var d = jc(a) - c.length;
if (0 > d) return "";
a.a.sort(function(a, b) {
return a - b;
});
c = null;
for (var e = "", f = 0; f < a.a.length; f++)
for (var g = a.a[f], k = a.b[g], m = 0; m < k.length; m++) {
if (!d) {
c = null == c ? g : c;
break;
}
var n = gc(k[m], a.c, ",$");
if (n) {
n = e + n;
if (d >= n.length) {
d -= n.length;
b += n;
e = a.c;
break;
} else
a.f &&
((e = d),
n[e - 1] == a.c && --e,
(b += n.substr(0, e)),
(e = a.c),
(d = 0));
c = null == c ? g : c;
}
}
a = "";
null != c && (a = e + "trn=" + c);
return b + a;
}
function jc(a) {
var b = 1,
c;
for (c in a.b) b = c.length > b ? c.length : b;
return 3997 - b - a.c.length - 1;
}
function kc(a, b, c, d) {
if (Math.random() < (d || 0.01))
try {
if (c instanceof ec) var e = c;
else
(e = new ec()),
J(c, function(a, b) {
var c = e,
d = c.g++;
a = fc(b, a);
c.a.push(d);
c.b[d] = a;
});
var f = ic(e, a.a, "/pagead/gen_204?id=" + b + "&");
f && Qb(h, f);
} catch (g) {}
}
var lc = null;
function mc() {
var a = h.performance;
return a && a.now && a.timing
? Math.floor(a.now() + a.timing.navigationStart)
: +new Date();
}
function Q() {
var a = void 0 === a ? h : a;
return (a = a.performance) && a.now ? a.now() : null;
}
function nc(a, b, c, d, e) {
this.label = a;
this.type = b;
this.value = c;
this.duration = void 0 === d ? 0 : d;
this.uniqueId = this.label + "_" + this.type + "_" + Math.random();
this.slotId = e;
}
var R = h.performance,
oc = !!(R && R.mark && R.measure && R.clearMarks),
pc = yb(function() {
var a;
if ((a = oc)) {
var b;
if (null === lc) {
lc = "";
try {
a = "";
try {
a = h.top.location.hash;
} catch (c) {
a = h.location.hash;
}
a && (lc = (b = a.match(/\bdeid=([\d,]+)/)) ? b[1] : "");
} catch (c) {}
}
b = lc;
a = !!b.indexOf && 0 <= b.indexOf("1337");
}
return a;
});
function S(a, b) {
this.g = [];
this.a = b || h;
var c = null;
b &&
((b.google_js_reporting_queue = b.google_js_reporting_queue || []),
(this.g = b.google_js_reporting_queue),
(c = b.google_measure_js_timing));
this.b = pc() || (null != c ? c : Math.random() < a);
}
S.prototype.s = function() {
this.b = !1;
this.g != this.a.google_js_reporting_queue &&
(pc() && q(this.g, qc), (this.g.length = 0));
};
S.prototype.u = function(a) {
this.b && this.g.push(a);
};
function qc(a) {
a &&
R &&
pc() &&
(R.clearMarks("goog_" + a.uniqueId + "_start"),
R.clearMarks("goog_" + a.uniqueId + "_end"));
}
function T(a, b, c, d, e, f) {
a.b && a.u(new nc(b, c, d, void 0 === e ? 0 : e, f));
}
S.prototype.start = function(a, b) {
if (!this.b) return null;
var c = Q() || mc();
a = new nc(a, b, c);
b = "goog_" + a.uniqueId + "_start";
R && pc() && R.mark(b);
return a;
};
function rc(a, b) {
if (a.b && ia(b.value)) {
var c = Q() || mc();
b.duration = c - b.value;
c = "goog_" + b.uniqueId + "_end";
R && pc() && R.mark(c);
a.u(b);
}
}
function sc(a, b) {
var c = 243;
if (a.b) {
c = String(c);
c = a.start(c, 3);
try {
b();
} catch (d) {
throw (qc(c), d);
}
rc(a, c);
} else b();
}
function tc() {
var a = uc;
this.f = vc;
this.i = this.a;
this.b = void 0 === a ? null : a;
}
tc.prototype.c = function(a, b, c, d) {
try {
if (this.b && this.b.b) {
var e = this.b.start(a.toString(), 3);
var f = b();
rc(this.b, e);
} else f = b();
} catch (g) {
b = !0;
try {
qc(e),
(b = (d || this.i).call(
this,
a,
new wc(xc(g), g.fileName, g.lineNumber),
void 0,
c
));
} catch (k) {
this.a(217, k);
}
if (!b) throw g;
}
return f;
};
tc.prototype.g = function(a, b, c, d) {
var e = this;
return function(f) {
for (var g = [], k = 0; k < arguments.length; ++k) g[k] = arguments[k];
return e.c(
a,
function() {
return b.apply(c, g);
},
d
);
};
};
tc.prototype.a = function(a, b, c, d, e) {
e = e || "jserror";
try {
var f = new ec();
f.f = !0;
P(f, 1, "context", a);
(b.error && b.meta && b.id) ||
(b = new wc(xc(b), b.fileName, b.lineNumber));
b.msg && P(f, 2, "msg", b.msg.substring(0, 512));
b.file && P(f, 3, "file", b.file);
0 < b.line && P(f, 4, "line", b.line);
var g = b.meta || {};
if (d)
try {
d(g);
} catch (nb) {}
b = [g];
f.a.push(5);
f.b[5] = b;
d = h;
b = [];
g = null;
do {
var k = d;
if (Jb(k)) {
var m = k.location.href;
g = (k.document && k.document.referrer) || null;
} else (m = g), (g = null);
b.push(new dc(m || ""));
try {
d = k.parent;
} catch (nb) {
d = null;
}
} while (d && k != d);
m = 0;
for (var n = b.length - 1; m <= n; ++m) b[m].depth = n - m;
k = h;
if (
k.location &&
k.location.ancestorOrigins &&
k.location.ancestorOrigins.length == b.length - 1
)
for (n = 1; n < b.length; ++n) {
var v = b[n];
v.url ||
((v.url = k.location.ancestorOrigins[n - 1] || ""), (v.J = !0));
}
var xa = new dc(h.location.href, !1);
k = null;
var ob = b.length - 1;
for (v = ob; 0 <= v; --v) {
var M = b[v];
!k && bc.test(M.url) && (k = M);
if (M.url && !M.J) {
xa = M;
break;
}
}
M = null;
var xd = b.length && b[ob].url;
0 != xa.depth && xd && (M = b[ob]);
var la = new cc(xa, M);
la.b && P(f, 6, "top", la.b.url || "");
P(f, 7, "url", la.a.url || "");
kc(this.f, e, f, c);
} catch (nb) {
try {
kc(
this.f,
e,
{ context: "ecmserr", rctx: a, msg: xc(nb), url: la && la.a.url },
c
);
} catch (ve) {}
}
return !0;
};
function xc(a) {
var b = a.toString();
a.name && -1 == b.indexOf(a.name) && (b += ": " + a.name);
a.message && -1 == b.indexOf(a.message) && (b += ": " + a.message);
if (a.stack) {
a = a.stack;
var c = b;
try {
-1 == a.indexOf(c) && (a = c + "\n" + a);
for (var d; a != d; )
(d = a),
(a = a.replace(/((https?:\/..*\/)[^\/:]*:\d+(?:.|\n)*)\2/, "$1"));
b = a.replace(/\n */g, "\n");
} catch (e) {
b = c;
}
}
return b;
}
function wc(a, b, c) {
Yb.call(this, Error(a), {
message: a,
file: void 0 === b ? "" : b,
line: void 0 === c ? -1 : c
});
}
ha(wc, Yb);
function yc() {}
yc.prototype.a = function(a, b, c, d, e) {
if (Math.random() > (void 0 === c ? 0.01 : c)) return !1;
(b.error && b.meta && b.id) ||
(b = new Yb(b, { context: a, id: void 0 === e ? "jserror" : e }));
d && ((b.meta = {}), d && d(b.meta));
h.google_js_errors = h.google_js_errors || [];
h.google_js_errors.push(b);
if (!h.error_rep_loaded) {
b = h.document;
a = b.createElement("script");
c = new Bb();
c.a =
h.location.protocol +
"//pagead2.googlesyndication.com/pagead/js/err_rep.js";
a.src =
c instanceof Bb && c.constructor === Bb && c.b === Cb
? c.a
: "type_error:TrustedResourceUrl";
if (null === ka)
b: {
c = h.document;
if (
(c = c.querySelector && c.querySelector("script[nonce]")) &&
(c = c.nonce || c.getAttribute("nonce")) &&
ja.test(c)
) {
ka = c;
break b;
}
ka = "";
}
(c = ka) && a.setAttribute("nonce", c);
(b = b.getElementsByTagName("script")[0]) &&
b.parentNode &&
b.parentNode.insertBefore(a, b);
h.error_rep_loaded = !0;
}
return !1;
};
yc.prototype.c = function(a, b, c, d) {
d = void 0 === d ? this.a : d;
try {
var e = b();
} catch (f) {
if (!d.call(this, a, f, 0.01, c, "jserror")) throw f;
}
return e;
};
yc.prototype.g = function(a, b, c, d) {
var e = this;
return function(f) {
for (var g = [], k = 0; k < arguments.length; ++k) g[k] = arguments[k];
return e.c(
a,
function() {
return b.apply(c, g);
},
d
);
};
};
var vc, zc, Ac;
if (Wb && !Jb(O)) {
var Bc = "." + na.domain;
try {
for (; 2 < Bc.split(".").length && !Jb(O); )
(na.domain = Bc = Bc.substr(Bc.indexOf(".") + 1)), (O = window.parent);
} catch (a) {}
Jb(O) || (O = window);
}
Ac = O;
var uc = new S(1, Ac);
vc = new function() {
var a = void 0 === a ? oa : a;
this.a = "http:" === a.location.protocol ? "http:" : "https:";
}();
zc = new tc();
"complete" == Ac.document.readyState
? Ac.google_measure_js_timing || uc.s()
: uc.b &&
K(Ac, "load", function() {
Ac.google_measure_js_timing || uc.s();
});
function Cc(a, b) {
return zc.g(a, b, void 0, void 0);
}
function Dc() {
return (h.google_lt_queue = h.google_lt_queue || []);
}
function Ec(a) {
A(this, a, null, null);
}
p(Ec, z);
function Fc(a) {
A(this, a, Gc, null);
}
p(Fc, z);
function U(a) {
A(this, a, null, wb);
}
p(U, z);
function Hc(a) {
A(this, a, Ic, null);
}
p(Hc, z);
function Jc(a, b) {
var c = C(a, 1, 0);
0 !== c && y(b, 1, c);
c = C(a, 2, 0);
0 !== c && y(b, 2, c);
c = C(a, 3, "");
0 < c.length && jb(b, 3, c);
c = C(a, 4, "");
0 < c.length && jb(b, 4, c);
c = C(a, 5, "");
0 < c.length && jb(b, 5, c);
if ((c = D(a, 6)))
(a = c), null != a && (w(b.a, 48), b.a.a.push(a ? 1 : 0));
}
var Gc = [2],
wb = [[5]];
function Kc(a, b) {
var c = C(a, 1, "");
0 < c.length && jb(b, 1, c);
c = C(a, 2, 0);
0 !== c && y(b, 2, c);
c = C(a, 3, 0);
0 !== c && x(b, 3, c);
c = C(a, 4, 0);
0 !== c && x(b, 4, c);
c = rb(a, Fc, 5);
if (null != c && ((a = c), null != a)) {
c = gb(b, 5);
var d = C(a, 1, 0);
0 !== d && y(b, 1, d);
d = sb(a, Ec, 2);
0 < d.length && kb(b, 2, d, Jc);
hb(b, c);
}
}
var Ic = [1];
function Lc(a) {
var b;
a.visibilityState
? (b = "visibilitychange")
: a.mozVisibilityState
? (b = "mozvisibilitychange")
: a.webkitVisibilityState && (b = "webkitvisibilitychange");
return b;
}
function Mc(a) {
A(this, a, Nc, null);
}
p(Mc, z);
function Oc(a) {
A(this, a, null, null);
}
p(Oc, z);
var Nc = [1];
function Pc(a, b, c) {
J(b, function(b, e) {
(!b && 0 !== b) ||
c[e] ||
((a +=
"&" + encodeURIComponent(e) + "=" + encodeURIComponent(String(b))),
(c[e] = !0));
});
return a;
}
function Qc(a, b, c, d, e, f, g, k) {
f = void 0 === f ? Infinity : f;
g = void 0 === g ? !1 : g;
S.call(this, a, k);
var m = this;
this.v = 0;
this.K = f;
this.N = b;
this.L = c;
this.M = d;
this.O = e;
this.F = !(
"csi.gstatic.com" !== this.L ||
!this.a.navigator ||
!this.a.navigator.sendBeacon
);
this.i = {};
(this.a.performance && this.a.performance.now) || V(this, "dat", 1);
this.a.navigator &&
this.a.navigator.deviceMemory &&
V(this, "dmc", this.a.navigator.deviceMemory);
this.P = !g;
this.C = function() {
m.a.setTimeout(function() {
return W(m);
}, 1100);
};
this.B = [];
this.G = function() {
Rc(m, 1);
};
this.D = function() {
Rc(m, 2);
};
this.R = zb(function() {
W(m);
});
this.S = function() {
var a = m.a.document;
(null != a.hidden
? a.hidden
: null != a.mozHidden
? a.mozHidden
: null != a.webkitHidden && a.webkitHidden) && m.R();
};
this.A = this.a.setTimeout(function() {
return W(m);
}, 5e3);
this.c = {};
this.f = b.length + c.length + d.length + e.length + 3;
this.o = 0;
q(this.g, function(a) {
Sc(m, "met." + a.type, Tc(a), !0, "~");
});
V(
this,
"puid",
(this.v + 1).toString(36) + "~" + (+new Date()).toString(36)
);
Uc(this);
}
ha(Qc, S);
function Tc(a) {
var b = Math.round(a.duration);
return (
a.label +
(null != a.slotId ? "_" + a.slotId : "") +
("." + (ia(a.value) ? Math.round(a.value).toString(36) : a.value)) +
(0 < b ? "_" + b.toString(36) : "")
);
}
function Vc(a, b) {
a.B.push(b);
}
function Uc(a) {
"complete" === a.a.document.readyState
? a.a.setTimeout(function() {
return W(a);
}, 0)
: K(a.a, "load", a.C);
var b = Lc(a.a.document);
"undefined" !== typeof b && K(a.a, b, a.S);
K(a.a, "unload", a.G);
K(a.a, "pagehide", a.D);
}
function V(a, b, c) {
c = String(c);
a.f =
null != a.i[b]
? a.f + (c.length - a.i[b].length)
: a.f + (b.length + c.length + 2);
a.i[b] = c;
}
function Wc(a) {
null != a.i.uet && ((a.f -= a.i.uet.length + 5), delete a.i.uet);
}
function Xc(a, b) {
Sc(a, "ec", b, !1);
}
function Sc(a, b, c, d, e) {
e = void 0 === e ? "" : e;
var f =
null == a.c[b]
? b.length + c.length + 2
: d
? c.length + e.length
: c.length - a.c[b].length;
8e3 < a.f + a.o + f && (W(a), (f = b.length + c.length + 2));
a.c[b] = d && null != a.c[b] ? a.c[b] + (e + c) : c;
a.o += f;
6e3 <= a.f + a.o && W(a);
}
function W(a) {
if (a.b && a.P) {
try {
a.o && (Yc(a, a.c), a.v === a.K && a.s());
} catch (b) {
new yc().a(358, b);
}
a.c = {};
a.o = 0;
a.g.length = 0;
a.a.clearTimeout(a.A);
a.A = 0;
}
}
function Yc(a, b) {
a.v++;
var c = a.N + "//" + a.L + a.M + a.O,
d = {};
c = Pc(c, a.i, d);
c = Pc(c, b, d);
a.a.google_timing_params &&
((c = Pc(c, a.a.google_timing_params, d)),
(a.a.google_timing_params = void 0));
b = c;
c = !1;
try {
c = a.F && a.a.navigator && a.a.navigator.sendBeacon(b, null);
} catch (e) {
a.F = !1;
}
c || Qb(a.a, b);
V(a, "puid", (a.v + 1).toString(36) + "~" + (+new Date()).toString(36));
}
function Zc(a, b, c, d, e) {
Sc(a, "met." + b, c, void 0 === d ? !1 : d, void 0 === e ? "~" : e);
}
function $c(a, b) {
var c = "" + a;
J(b, function(a, b) {
null != a && (c += "." + b + "_" + a);
});
return c;
}
function ad(a, b, c) {
c = $c(b, c);
var d = {};
b = ((d["met." + b] = c), d);
Yc(a, b);
}
Qc.prototype.u = function(a) {
this.b &&
this.v < this.K &&
(S.prototype.u.call(this, a), Sc(this, "met." + a.type, Tc(a), !0, "~"));
};
Qc.prototype.s = function() {
S.prototype.s.call(this);
this.a.clearTimeout(this.A);
this.o = this.A = 0;
this.c = {};
Pb(this.a, "load", this.C);
Pb(this.a, "unload", this.G);
Pb(this.a, "pagehide", this.D);
};
function Rc(a, b) {
V(a, "uet", b);
q(a.B, function(a) {
try {
a();
} catch (d) {}
});
W(a);
Wc(a);
}
var bd = {
self: 1,
"same-origin-ancestor": 2,
"same-origin-descendant": 3,
"same-origin": 4,
"cross-origin-ancestor": 5,
"cross-origin-descendant": 6,
"cross-origin-unreachable": 7,
"multiple-contexts": 8
},
cd = { script: 1, layout: 2 },
dd = { iframe: 1, embed: 2, object: 3 };
function ed(a) {
var b = new Fc();
G(b, 1, bd[a.name], 0);
q(a.attribution, function(a) {
var c = new Ec();
G(c, 1, cd[a.name], 0);
G(c, 2, dd[a.containerType], 0);
l(a.containerId) &&
G(c, 6, 0 == a.containerId.lastIndexOf("google_ads_iframe", 0), !1);
xb(b, 2, c, Ec);
});
return b;
}
function fd(a, b) {
var c = new fb();
b = sb(b, U, 1);
0 < b.length && kb(c, 1, b, Kc);
c = ib(c);
c = Ya(c).replace(/\.+$/, "");
b = {};
ad(a, 6, ((b[1] = c), b));
}
function gd(a) {
if (h.PerformanceLongTaskTiming && h.PerformanceObserver) {
var b = 0;
new h.PerformanceObserver(
Cc(246, function(c, d) {
var e = new Hc();
q(c.getEntries(), function(a) {
var b = new U();
F(b, 3, Math.round(a.startTime));
F(b, 4, Math.round(a.duration));
a = ed(a);
vb(b, a);
xb(e, 1, b, U);
});
fd(a, e);
10 <= ++b && d.disconnect();
})
).observe({ entryTypes: ["longtask"] });
}
}
function hd(a) {
function b() {
var b = new Hc();
q(Dc(), function(a) {
var c = new U();
F(c, 3, Math.round(a.startTime));
F(c, 4, Math.round(a.duration));
a = ed(a);
vb(c, a);
xb(b, 1, c, U);
});
sb(b, U, 1).length && fd(a, b);
}
var c = 0,
d = h.setInterval(function() {
if (12 <= ++c) {
h.clearInterval(d);
var a = h.google_ltobserver;
a && (a.disconnect(), delete h.google_ltobserver);
h.google_lt_queue && delete h.google_lt_queue;
Pb(h, "beforeunload", b);
}
b();
Dc().length = 0;
}, 5e3);
K(h, "beforeunload", b);
}
function id(a) {
A(this, a, null, null);
}
p(id, z);
function jd(a) {
A(this, a, kd, null);
}
p(jd, z);
function ld(a) {
A(this, a, null, null);
}
p(ld, z);
var kd = [15];
function md(a) {
return (
Math.round(a.position).toString(36) +
"." +
Math.round(a.timestamp).toString(36)
);
}
function nd(a) {
var b = this;
this.c = -1;
this.f = -Infinity;
this.a = [];
this.b = a;
this.g = 0;
this.i = Cc(456, function() {
return od(b);
});
this.o = function() {
return pd(b);
};
}
nd.prototype.install = function() {
h.performance &&
(od(this), K(h, "scroll", this.i, { passive: !0 }), Vc(this.b, this.o));
};
function od(a) {
var b = h.pageYOffset || 0,
c = Q() || 0;
if (100 < Math.abs(b - a.c) || 200 < c - a.f)
if (
((a.c = b),
(a.f = c),
400 <= a.a.push({ position: b, timestamp: c }) && (pd(a), 8 <= a.g))
) {
Pb(h, "scroll", a.i);
b = a.b.B;
a = a.o;
a: if (l(b)) a = l(a) && 1 == a.length ? b.indexOf(a, 0) : -1;
else {
for (c = 0; c < b.length; c++)
if (c in b && b[c] === a) {
a = c;
break a;
}
a = -1;
}
0 <= a && Array.prototype.splice.call(b, a, 1);
}
}
function pd(a) {
a.a.length && (Zc(a.b, 12, ra(a.a, md).join("~")), (a.a = []), a.g++);
}
function qd(a, b) {
var c = navigator.getBattery && navigator.getBattery();
c && c.then
? c.then(function(c) {
var d = c.level,
f = c.charging;
setTimeout(function() {
b((100 * d) | 0, (100 * c.level) | 0, f || c.charging);
}, a);
})
: b();
}
var rd = /^.+\.((googlesyndication|googletagservices)\.com|doubleclick\.net)$/,
sd = /^(aswift_\d+|google_ads_iframe_.+)$/,
td = /^div-gpt-ad-.+$/,
ud = ["ZGl2LnRhYm9vbGE=", "ZGl2Lk9VVEJSQUlO"];
function vd(a) {
if (!a) return "";
var b = Math.floor(Math.random() * a.length);
return (
b.toString(36) +
encodeURIComponent(a.charAt(b)) +
"." +
Lb(a).toString(36)
);
}
function wd(a) {
return (a = $b(ya(a).match(Zb)[3] || null)) ? a.toLowerCase() : "";
}
function yd(a) {
return 10 <= a.offsetWidth && 10 <= a.offsetHeight;
}
function Hb(a) {
return a && 1 == a.nodeType && "DIV" == a.nodeName
? td.test(a.id) || a.hasAttribute("data-google-query-id")
: !1;
}
function zd(a) {
var b = [];
if (!a.body) return b;
var c = a.body;
a = c.getElementsByTagName("script");
for (var d = a.length, e = 0; e < d; e++) {
var f = a[e],
g = f.src;
g &&
(f =
(void 0 !== f.nextElementSibling
? f.nextElementSibling
: Db(f.nextSibling, !0)) || Eb(f)) &&
"DIV" == f.nodeName &&
yd(f) &&
(g = wd(g)) &&
!rd.test(g) &&
b.push(new Ad(f, g));
}
if (!c.querySelectorAll) return b;
q(ud, function(a) {
for (var d = c.querySelectorAll($a(a)), e = d.length, f = 0; f < e; f++) {
var g = d[f];
yd(g) && b.push(new Ad(g, a));
}
});
return b;
}
function Ad(a, b, c) {
var d = Fb(a);
var e = new H(0, 0);
var f = d ? Fb(d) : document;
f =
!u ||
9 <= Number(Ra) ||
"CSS1Compat" == (f ? new Ib(Fb(f)) : pa || (pa = new Ib())).a.compatMode
? f.documentElement
: f.body;
if (a != f) {
f = Sb(a);
var g = (d ? new Ib(Fb(d)) : pa || (pa = new Ib())).a;
d = g.scrollingElement
? g.scrollingElement
: Ja || "CSS1Compat" != g.compatMode
? g.body || g.documentElement
: g.documentElement;
g = g.parentWindow || g.defaultView;
d =
u && Qa("10") && g.pageYOffset != d.scrollTop
? new H(d.scrollLeft, d.scrollTop)
: new H(g.pageXOffset || d.scrollLeft, g.pageYOffset || d.scrollTop);
e.a = f.left + d.a;
e.b = f.top + d.b;
}
b: {
f = Fb(a);
if (
f.defaultView &&
f.defaultView.getComputedStyle &&
(f = f.defaultView.getComputedStyle(a, null))
) {
f = f.display || f.getPropertyValue("display") || "";
break b;
}
f = "";
}
f || (f = a.currentStyle ? a.currentStyle.display : null);
if ("none" != (f || (a.style && a.style.display))) a = Tb(a);
else {
f = a.style;
d = f.display;
g = f.visibility;
var k = f.position;
f.visibility = "hidden";
f.position = "absolute";
f.display = "inline";
a = Tb(a);
f.display = d;
f.position = k;
f.visibility = g;
}
e = new Rb(e.a, e.b, a.width, a.height);
this.id = b;
this.a = c || null;
this.top = e.top;
this.left = e.left;
this.width = e.width;
this.height = e.height;
}
function Bd() {
var a = Jb(h.top) ? h.top : null;
if (!a) return null;
var b = a.document;
a = zd(b);
var c = [];
ua(c, b.getElementsByTagName("iframe"));
for (b = 0; b < Math.min(c.length, 50); b++) {
var d = c[b],
e = d.src ? ya(d.src) : "",
f = d.id || d.name || "";
if (!sd.test(f))
try {
var g = d.contentDocument || d.contentWindow.document;
if (e && "about:blank" != d.src)
ua(a, zd(g)), ua(c, g.getElementsByTagName("iframe"));
else {
var k = null,
m =
void 0 !== d.previousElementSibling
? d.previousElementSibling
: Db(d.previousSibling, !1);
if (m && "SCRIPT" == m.nodeName && m.src) {
var n = wd(m.src);
k = rd.test(n) ? null : n;
}
((k = k || f) || !Gb(d)) && yd(d) && a.push(new Ad(d, k));
}
} catch (xa) {
(k = wd(e)),
(e =
(e = $b(e.match(Zb)[5] || null)) && "/" == e.charAt(0)
? e.split("/", 2)[1]
: ""),
yd(d) && !rd.test(k) && a.push(new Ad(d, k || f, e));
}
}
va(a, function(a, b) {
return a.top != b.top ? a.top - b.top : a.left - b.left;
});
var v = null;
return qa(a, function(a) {
if (
null != v &&
a.top + a.height <= v.top + v.height &&
a.left + a.width <= v.left + v.width
)
return !1;
v = a;
return !0;
});
}
var Cd = !1;
function Dd(a, b) {
var c = h;
if (!Cd) {
Cd = !0;
var d =
c.requestAnimationFrame ||
c.webkitRequestAnimationFrame ||
c.msRequestAnimationFrame ||
c.mozRequestAnimationFrame ||
c.oRequestAnimationFrame;
if (Mb(d)) {
var e,
f,
g,
k,
m = c.requestIdleCallback;
m &&
(k = function(a) {
f = a.timeRemaining();
g = 0;
});
var n = function(c) {
Cd &&
(a.push(c - e),
(e = c),
m && (b.push(f || 0), g || ((f = 0), (g = m(k)))),
d(n));
};
d(function(a) {
e = a;
m && (g = m(k));
d(n);
});
}
}
}
function Ed() {
if (!h.performance || !h.performance.getEntriesByType) return null;
var a = h.performance.getEntriesByType("paint");
if (!a.length) return null;
var b = 0,
c = 0;
q(a, function(a) {
switch (a.name) {
case "first-paint":
b = a.startTime;
break;
case "first-contentful-paint":
c = a.startTime;
}
});
return { I: b, H: c };
}
var X = {},
Y = {},
Z = {},
Fd = {},
Gd = {},
Hd = {},
Id = {},
Jd = {},
Kd = {},
Ld = [
{
m: /^https?:\/\/((tpc|pagead2)\.googlesyndication\.com|static\.googleadsserving\.cn)\/pagead\//,
l: ((X[1] = /adsbygoogle\.js/),
(X[2] = /show_ads\.js/),
(X[3] = /show_ads_impl\.js/),
(X[21] = /js\/r\d+\/r\d+\/osd\.js/),
(X[22] = /\/osd\.js/),
(X[7] = /activeview\/osd_listener\.js/),
(X[8] = /lidar\.js/),
(X[10] = /client\/ext\/m_js_controller\.js/),
(X[4] = /imgad\?id=/),
(X[9] = /js\/r\d+\/r\d+\/abg.js/),
(X[24] = /js\/r\d+\/r\d+\/rum\.js/),
(X[25] = /js\/rum\.js/),
(X[30] = /m_window_focus_non_hydra.js/),
(X[33] = /\/pagead\/adview\?ai=/),
X),
j: 28
},
{
m: /^https?:\/\/(tpc|pagead2)\.googlesyndication\.com\//,
l: ((Y[4] = /pageadimg(\/imgad)?\?id=/),
(Y[23] = /(daca_images\/)?simgad\/\d+/),
(Y[29] = /icore_images\/\d+/),
(Y[11] = /pub-config\/r\d+\/ca-pub-\d+\.js/),
(Y[16] = /\/safeframe\/\d+-\d+-\d+\/html\/container\.html/),
(Y[17] = /\/safeframe\/\d+-\d+-\d+\/js\/ext\.js/),
(Y[31] = /\/sadbundle\//),
(Y[32] = /(\/pcs)?\/activeview\?(xai|avi)=/),
Y),
j: 39
},
{
m: /^https?:\/\/\w+\.g\.doubleclick\.net/,
l: ((Z[14] = /\/gpt\/pubads_impl_\d+\.js/),
(Z[43] = /\/gpt\/pubads_impl_core_\d+\.js/),
(Z[44] = /\/gpt\/pubads_impl_rendering_\d+\.js/),
(Z[15] = /\/gampad\/ads\?/),
(Z[34] = /\/pcs\/view\?xai=/),
(Z[36] = /^https?:\/\/cm\.g\./),
(Z[5] = /pagead\/ads\?/),
(Z[12] = /pagead\/html\/.*\/zrt_lookup\.html/),
(Z[33] = /\/pagead\/adview\?ai=/),
Z),
j: 40
},
{
m: /^https?:\/\/www\.googletagservices\.com/,
l: ((Fd[13] = /\/tag\/js\/gpt\.js/),
(Fd[37] = /\/dcmads\.js/),
(Fd[38] = /\/dcm\/impl_v\d+\.js/),
Fd),
j: 42
},
{
m: /^https?:\/\/fonts\.googleapis\.com\/css/,
l: ((Gd[18] = /[?&]family=/), Gd),
j: 27
},
{
m: /^https?:\/\/fonts\.gstatic\.com/,
l: ((Hd[19] = /\/s\//), (Hd[20] = /\/l\//), Hd),
j: 27
},
{
m: /^https:\/\/[\w.]+.2mdn.net/,
l: ((Id[31] = /\/sadbundle\//), Id),
j: 41
},
{
m: /^https:\/\/adservice\.google\.(com?\.)?[a-z]{2,3}/,
l: ((Jd[46] = /\/adsid\/integrator\.json/),
(Jd[47] = /\/adsid\/integrator\.js/),
(Jd[48] = /\/adsid\/integrator\.sync\.js/),
Jd),
j: 45
},
{
m: /^https?:\/\/cdn\.ampproject\.org/,
l: ((Kd[49] = /\/rtv\/\d{15,20}\/amp4ads-host-v0\.js\b/),
(Kd[50] = /\.org\/amp4ads-host-v0\.js\b/),
Kd),
j: 51
},
{ m: /./, l: {}, j: 27 }
],
Md = {},
Nd = [
{
m: /^https?:\/\//,
l: ((Md[26] = function(a) {
return (
Vb &&
!/^https:\/\/d-\d+\.ampproject\.net\/\d+\/frame\.html$/.test(a)
);
}),
Md),
j: 27
}
];
function Od(a) {
switch (a) {
case "beacon":
return 1;
case "css":
return 2;
case "fetch":
return 4;
case "iframe":
return 5;
case "img":
return 6;
case "link":
return 7;
case "navigation":
return 8;
case "object":
return 9;
case "script":
return 10;
case "subdocument":
return 11;
case "svg":
return 12;
case "xmlhttprequest":
return 13;
default:
return 0;
}
}
var Pd = { woff: 1, woff2: 2, eot: 3, ttf: 4 },
Qd = /^https?:\/\/[^/?#]*\b(google(adservices|tag(manager|services)|apis|usercontent|syndication)?|doubleclick|gstatic|2mdn|cdn.ampproject)\./;
function Rd(a, b, c, d, e, f) {
var g = new Oc();
G(g, 1, a, 0);
G(g, 3, b, 0);
G(g, 2, e, 0);
F(g, 4, Math.round(c.startTime));
F(g, 7, Math.round(c.duration));
e = c.name;
try {
if (f) {
var k = e.indexOf("?");
if (-1 == k || 125 < k) k = 125;
var m = e.indexOf("#");
-1 != m && m < k && (k = m);
F(g, 24, Lb(e.substr(0, k)));
}
} catch (n) {}
if (1 != b && 26 != a) return g;
F(g, 5, Math.round(c.fetchStart));
F(g, 6, Math.round(c.responseEnd));
a: {
b = c.name;
f = C(g, 1, 0);
a = new Mc();
switch (f) {
case 18:
if ((b = b.match(/[?&]family=([^&]+)/)))
(b = h.decodeURIComponent(b[1]).split("|")), E(a, 1, b || []);
break;
case 19:
if ((b = b.match(/\/s\/(\w+)\/v(\d+)\/[^.\/]+\.(\w+)$/)))
(f = h.parseInt(b[2], 10)),
F(a, 2, f),
G(a, 3, Pd[b[3]] || 0, 0),
(b = b[1]),
B(a, 1).push(b);
break;
case 20:
if ((f = b.match(/[?&]skey=([^&]+)/))) (f = f[1]), B(a, 1).push(f);
if ((b = b.match(/[?&]v=v(\d+)/)))
(b = h.parseInt(b[1], 10)), F(a, 2, b);
break;
default:
break a;
}
ub(g, 21, a);
}
if (!c.responseStart) return g;
G(g, 22, !0, !1);
c.domainLookupStart != c.domainLookupEnd &&
(F(g, 8, Math.round(c.domainLookupStart)),
F(g, 9, Math.round(c.domainLookupEnd)));
c.connectStart != c.connectEnd &&
(F(g, 10, Math.round(c.connectStart)),
F(g, 11, Math.round(c.connectEnd)),
c.secureConnectionStart && F(g, 12, Math.round(c.secureConnectionStart)));
F(g, 13, Math.round(c.requestStart));
F(g, 14, Math.round(c.responseStart));
void 0 !== c.transferSize &&
(F(g, 15, c.transferSize),
F(g, 17, c.decodedBodySize || 0),
F(g, 16, c.encodedBodySize || 0),
0 < c.transferSize
? G(g, 23, c.transferSize > (c.encodedBodySize || 0) ? 3 : 2, 0)
: G(g, 23, 1, 0));
c.redirectStart &&
(F(g, 18, Math.round(c.redirectStart)),
F(g, 19, Math.round(c.redirectEnd)));
d && window.performance.timing && F(g, 20, d);
return g;
}
var Sd = {},
Td = ((Sd[1] = !0), (Sd[4] = !0), (Sd[13] = !0), Sd);
function Ud(a, b, c) {
var d = Qd.test(a) ? 1 : 0,
e = 1 != d,
f = ta(e ? Nd : Ld, function(b) {
return b.m.test(a);
});
if (!f) return null;
f =
Kb(f.l, function(b) {
return "function" == ma(b) ? b(a) : b.test(a);
}) || f.j;
return !f || (e && 2 != b && Td[c]) ? null : { U: d, id: parseInt(f, 10) };
}
function Vd(a, b, c, d, e, f) {
var g = Od(a.initiatorType);
(d = Ud((void 0 === f ? "" : f) || a.name, d, g)) &&
b.push(Rd(d.id, d.U, a, c, g, e));
}
function Wd(a, b, c) {
if (!a.performance || !a.performance.getEntriesByType) return [];
var d = a.performance.getEntriesByType("resource"),
e = 0;
a.performance.timing &&
a != h &&
null != h.performance &&
null != h.performance.timing &&
(e =
a.performance.timing.navigationStart -
h.performance.timing.navigationStart);
var f = [];
q(d, function(a) {
return Vd(a, f, e, b, c);
});
d = a.performance.getEntriesByType("navigation");
1 == d.length && Vd(d[0], f, e, b, c, a.location ? a.location.href : "");
return f;
}
function Xd(a, b, c, d) {
b = Wd(b, c, d);
b = ra(b, function(a) {
var b = new fb();
var c = C(a, 1, 0);
0 !== c && y(b, 1, c);
c = C(a, 2, 0);
0 !== c && y(b, 2, c);
c = C(a, 3, 0);
0 !== c && y(b, 3, c);
c = C(a, 4, 0);
0 !== c && x(b, 4, c);
c = C(a, 5, 0);
0 !== c && x(b, 5, c);
c = C(a, 6, 0);
0 !== c && x(b, 6, c);
c = C(a, 7, 0);
0 !== c && x(b, 7, c);
c = C(a, 8, 0);
0 !== c && x(b, 8, c);
c = C(a, 9, 0);
0 !== c && x(b, 9, c);
c = C(a, 10, 0);
0 !== c && x(b, 10, c);
c = C(a, 11, 0);
0 !== c && x(b, 11, c);
c = C(a, 12, 0);
0 !== c && x(b, 12, c);
c = C(a, 13, 0);
0 !== c && x(b, 13, c);
c = C(a, 14, 0);
0 !== c && x(b, 14, c);
c = C(a, 15, 0);
0 !== c && x(b, 15, c);
c = C(a, 16, 0);
0 !== c && x(b, 16, c);
c = C(a, 17, 0);
0 !== c && x(b, 17, c);
c = C(a, 18, 0);
0 !== c && x(b, 18, c);
c = C(a, 19, 0);
0 !== c && x(b, 19, c);
c = C(a, 20, 0);
0 !== c && x(b, 20, c);
c = rb(a, Mc, 21);
if (null != c && null != c) {
var d = gb(b, 21);
var e = B(c, 1);
if (0 < e.length && null != e)
for (var n = 0; n < e.length; n++) jb(b, 1, e[n]);
e = C(c, 2, 0);
0 !== e && x(b, 2, e);
e = C(c, 3, 0);
0 !== e && y(b, 3, e);
hb(b, d);
}
(c = D(a, 22)) && null != c && (w(b.a, 176), b.a.a.push(c ? 1 : 0));
c = C(a, 23, 0);
0 !== c && y(b, 23, c);
c = C(a, 24, 0);
0 !== c && x(b, 24, c);
a = ib(b);
return Ya(a).replace(/\.+$/, "");
}).join("~");
Zc(a, 7, b, !0);
}
function Yd() {
var a = h;
if (!a.performance || !a.performance.getEntriesByType) return null;
var b = a.performance.getEntriesByType("resource");
a = b.length;
b = sa(
b,
function(a, b) {
return a + (b.transferSize || 0);
},
0
);
return { X: a, Z: b };
}
function Zd(a) {
return sa(
a.performance && a.performance.getEntriesByType
? a.performance.getEntriesByType("resource")
: [],
function(a, c) {
a: {
switch (Od(c.initiatorType)) {
case 10:
case 13:
case 4:
break;
default:
var b = !1;
break a;
}
b = (b = $b(c.name.match(Zb)[3] || null))
? b
? 0 <= ac(b)
: !1
: !1;
}
b &&
((a.startTime = Math.min(a.w ? a.startTime : Infinity, c.startTime)),
(a.endTime = Math.max(a.endTime, c.startTime + c.duration)),
a.w++);
return a;
},
{ w: 0, startTime: 0, endTime: 0 }
);
}
function $d() {
return (h._google_rum_ns_ = h._google_rum_ns_ || {});
}
function ae() {
if (!h._google_rum_ns_) return !1;
var a = $d();
return !(!a.raf || !a.ric);
}
function be() {
var a = $d();
a.raf = a.raf || [];
a.ric = a.ric || [];
return { V: a.raf, W: a.ric };
}
function ce(a) {
A(this, a, null, null);
}
p(ce, z);
var de = window == window.top ? 32 : 16,
ee = {
unloadEventStart: 2,
unloadEventEnd: 3,
redirectStart: 4,
redirectEnd: 5,
fetchStart: 6,
domainLookupStart: 7,
domainLookupEnd: 8,
connectStart: 9,
connectEnd: 10,
secureConnectionStart: 11,
requestStart: 12,
responseStart: 13,
responseEnd: 14,
domLoading: 15,
domInteractive: 16,
domContentLoadedEventStart: 17,
domContentLoadedEventEnd: 18,
domComplete: 19,
loadEventStart: 20,
loadEventEnd: 21
};
function fe(a) {
return (a = rb(a, id, 1)) ? C(a, 2, 0) : 0;
}
function ge(a) {
var b = rb(a, jd, 2);
b || ((b = new jd()), ub(a, 2, b));
2 == fe(a) && ((a = b), G(a, 7, !0, !1), G(a, 9, !0, !1), G(a, 10, !0, !1));
return b;
}
function he(a, b) {
2 !== C(b, 2, 0) || h.google_chp || V(a, "chm", 1);
C(b, 1, 0) && V(a, "c", C(b, 1, 0));
C(b, 5, "") && V(a, "e", C(b, 5, ""));
V(a, "ctx", C(b, 2, 0));
V(a, "gqid", C(b, 3, ""));
V(a, "qqid", C(b, 4, ""));
}
function ie(a) {
var b = new ld(h.google_rum_config || null),
c = ge(b),
d = B(c, 15),
e = rb(b, id, 1) || new id();
d.length && G(e, 5, d.join(), "");
he(a, e);
if ((d = h.google_js_reporting_queue))
(e = function(b) {
a.u(b);
qc(b);
}),
(d.push = e),
q(d, e),
(d.length = 0);
D(c, 11) || D(c, 12) ? hd(a) : D(c, 9) && 0.1 > Math.random() && gd(a);
1 == fe(b) && je(a);
Vc(a, function() {
var b = Q();
b && T(a, "24", 1, b, 0, void 0);
});
h == h.top && D(c, 14) && new nd(a).install();
ke(a, c, fe(b));
}
function ke(a, b, c) {
var d = Cc(113, function() {
D(b, 10) && le(a);
me(a);
ne(a, b, c);
});
"complete" != h.document.readyState
? K(h, "load", function() {
h.setTimeout(d, 0);
})
: d();
}
function me(a) {
var b = h.google_rum_values;
h.google_rum_values = void 0;
if (b && !(0 > b.dt)) {
var c = h.performance && h.performance.timing;
if (c) {
var d = b.dt - c.navigationStart;
J(b, function(b, c) {
if (-1 != b && ia(b)) {
switch (c) {
case "dt":
b = d;
break;
case "bdt":
b = d - b;
break;
default:
b = d + b;
}
T(a, c, 4, b);
}
});
}
}
}
function ne(a, b, c) {
D(b, 1) && oe(a);
D(b, 2) && 0 < C(b, 3, 0) && pe(a, C(b, 3, 0));
D(b, 7) && qe(a, b, c);
D(b, 8) &&
0.1 > Math.random() &&
sc(a, function() {
return re(a);
});
}
function se(a) {
var b = Zd(h);
b.w &&
(T(a, "19", 2, b.w),
T(a, "17", 2, b.startTime),
T(a, "18", 2, b.endTime));
}
function qe(a, b, c) {
Xd(a, h, c, D(b, 13));
var d = qa(h.document.getElementsByTagName("iframe"), Xb);
q(d, function(d) {
if ((d = d.contentWindow))
try {
Xd(a, d, c, D(b, 13));
} catch (f) {}
});
1 == c && se(a);
if ((d = Yd())) T(a, "15", 2, d.X), T(a, "16", 2, d.Z);
}
function te(a, b, c) {
if (b.length || c.length) {
var d = {};
d = ((d[3] = Q().toString(36)), d);
b.length &&
(d[1] = ra(b, function(a) {
a = Math.min(Math.max(a, 0), 4095);
return (
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_."[
a >> 6
] +
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_."[
a & 63
]
);
}).join(""));
c.length &&
(d[2] = ra(c, function(a) {
return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_."[
Math.min(Math.max(a, 0), 63) | 0
];
}).join(""));
Zc(a, 5, $c(5, d), !0, ".");
}
}
function ue(a) {
if (ae()) {
var b = be(),
c = b.V,
d = b.W,
e = Cc(400, function() {
c.length || d.length
? (te(a, c, d),
(c.length = 0),
(d.length = 0),
h.setTimeout(e, 1e4))
: ((c.push = function() {
return 0;
}),
(d.push = function() {
return 0;
}));
});
h.setTimeout(e, 1e4);
}
}
function oe(a) {
var b = [],
c = [];
Dd(b, c);
h.setTimeout(
Cc(400, function() {
Cd = !1;
te(a, b, c);
}),
1e4
);
}
function pe(a, b) {
qd(b, function(c, d, e) {
if (null != c && null != d && null != e) {
var f = {};
f[1] = b;
f[2] = c;
f[3] = d;
f[4] = e;
ad(a, 8, f);
}
});
}
function le(a) {
var b = h.performance && h.performance.timing;
if (b) {
var c = b.navigationStart;
0 < c &&
(T(a, "1", 1, c),
J(ee, function(d, f) {
f = b[f];
0 < f && T(a, String(d), 1, f - c);
}));
var d = Ed();
d && (d.I && T(a, "22", 1, d.I), d.H && T(a, "23", 1, d.H));
}
}
function re(a) {
var b = Bd();
b &&
(10 < b.length && (b.length = 10),
Xc(
a,
ra(b, function(a) {
return (
vd(a.id) +
(a.a ? "_" + vd(a.a) : "") +
"_" +
Math.floor(a.top).toString(36) +
"_" +
Math.floor(a.left).toString(36) +
"_" +
Math.floor(a.width).toString(36) +
"_" +
Math.floor(a.height).toString(36)
);
}).join("~")
));
}
function je(a) {
var b = Lc(h.document);
b &&
K(h, b, function() {
var b = Q();
if (b) {
var d = h.document;
var e =
{ visible: 1, hidden: 2, prerender: 3, preview: 4, unloaded: 5 }[
d.visibilityState ||
d.webkitVisibilityState ||
d.mozVisibilityState ||
""
] || 0;
if (1 == e || 2 == e)
(d = new ce()),
F(d, 1, Math.round(b)),
G(d, 2, e, 0),
(b = new fb()),
(e = C(d, 1, 0)),
0 !== e && x(b, 1, e),
(e = C(d, 2, 0)),
0 !== e && y(b, 2, e),
(d = ib(b)),
(d = Ya(d).replace(/\.+$/, "")),
T(a, "1", 11, d);
}
});
}
zc.c(
112,
function() {
var a = new Qc(
1,
"https:",
"csi.gstatic.com",
"/csi?v=2&s=pagead&action=",
"csi_pagead",
de
);
a.b = !0;
ie(a);
ue(a);
},
void 0,
void 0
);
}.call(this));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment