Created
March 14, 2020 08:57
-
-
Save debasishm89/7e1cb1167bb6fc553861431825afb3fe to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
/* | |
Copyright The Closure Library Authors. | |
SPDX-License-Identifier: Apache-2.0 | |
*/ | |
var f, ba = function(a) { | |
switch (aa(a)) { | |
case 4: | |
case 0: | |
case 1: | |
case 6: | |
case 8: | |
case 9: | |
return "item"; | |
case 5: | |
return "collection"; | |
default: | |
throw Error("R"); | |
} | |
}, | |
fa = function() { | |
var a = ca(da()).location.pathname.match(ea); | |
return a ? a[0] + "/" : "/webstore/" | |
}, | |
ha = function(a, b) { | |
var c = l(a, 62), | |
d = []; | |
c && d.push(c); | |
d.push(a.Z()); | |
b && d.push(b); | |
return d | |
}, | |
la = function(a, b) { | |
switch (a) { | |
case "item": | |
if (2 <= b.length && ia.test(b[1])) return b[1]; | |
if (ia.test(b[0])) return b[0]; | |
break; | |
case "collection": | |
return b[0] | |
} | |
return null | |
}, | |
na = function(a, b) { | |
switch (a) { | |
case "item": | |
if (2 > | |
b.length) break; | |
if (3 <= b.length) { | |
if (ma(a, b[2])) return b[2] | |
} else if (ma(a, b[1])) return b[1]; | |
break; | |
case "collection": | |
if (2 == b.length && ma(a, b[1])) return b[1] | |
} | |
return null | |
}, | |
ma = function(a, b) { | |
a: switch (a) { | |
case "item": | |
a = "overview details reviews related support internal".split(" "); | |
break a; | |
case "collection": | |
a = ["collection", "reviews"]; | |
break a; | |
default: | |
throw Error("R"); | |
} | |
return -1 != oa(a, b) | |
}, | |
pa = function(a, b) { | |
return "item" != a || 2 > b.length ? null : !b[0].match(ia) || b[1].match(ia) || ma(a, b[1]) ? null : b[1] | |
}, | |
ta = function(a) { | |
qa(ra("h-A-Ce-ze-Yf", | |
a), function(b) { | |
b.onload = sa(b) | |
}, a) | |
}, | |
sa = function(a) { | |
return function() { | |
(new ua(a, .2, { | |
opacity: 0 | |
}, { | |
opacity: 1 | |
}, [{ | |
Bb: "opacity", | |
duration: .2, | |
timing: "cubic-bezier(0.10,0.10,0.25,0.90)", | |
delay: 0 | |
}])).play() | |
} | |
}, | |
va = function(a) { | |
return a.replace(/\/default.jpg$/, "/hqdefault.jpg") | |
}, | |
wa = function(a) { | |
a = aa(a); | |
return 0 == a ? "Users of this extension have also used" : 1 == a ? "Users of this theme have also used" : "Users of this app have also used" | |
}, | |
xa = function() {}, | |
ya = function(a, b) { | |
for (; a.length > b;) a.pop() | |
}, | |
za = function(a) { | |
a = Array(a); | |
ya(a, 0); | |
return a | |
}, | |
Ba = function(a, b, c) { | |
(Aa[b] || Aa.__default)(a, b, c) | |
}, | |
Da = function(a, b, c) { | |
b = new Ca(b, c); | |
return a.__incrementalDOMData = b | |
}, | |
Fa = function(a, b) { | |
if (a.__incrementalDOMData) return a.__incrementalDOMData; | |
var c = 1 === a.nodeType ? a.localName : a.nodeName, | |
d = Ea; | |
d = 1 === a.nodeType && null != d ? a.getAttribute(d) : null; | |
b = Da(a, c, 1 === a.nodeType ? d || b : null); | |
if (1 === a.nodeType && (a = a.attributes, c = a.length)) { | |
d = b.g || (b.g = za(c)); | |
for (var e = 0, g = 0; e < c; e += 1, g += 2) { | |
var h = a[e], | |
k = h.value; | |
d[g] = h.name; | |
d[g + 1] = k | |
} | |
} | |
return b | |
}, | |
Ga = function(a, | |
b, c, d, e) { | |
return b == c && d == e | |
}, | |
Ka = function(a) { | |
for (var b = Ha, c = Ia ? Ia.nextSibling : Ha.firstChild; c !== a;) { | |
var d = c.nextSibling; | |
b.removeChild(c); | |
Ja.i.push(c); | |
c = d | |
} | |
}, | |
Oa = function(a, b) { | |
Ia = Ia ? Ia.nextSibling : Ha.firstChild; | |
var c; | |
a: { | |
if (c = Ia) { | |
do { | |
var d = c, | |
e = a, | |
g = b, | |
h = Fa(d, g); | |
if (La(d, e, h.i, g, h.key)) break a | |
} while (b && (c = c.nextSibling)) | |
} | |
c = null | |
} | |
c || ("#text" === a ? (a = Ma.createTextNode(""), Da(a, "#text", null)) : (c = Ma, d = Ha, "function" === typeof a ? c = new a : c = (d = "svg" === a ? "http://www.w3.org/2000/svg" : "math" === a ? "http://www.w3.org/1998/Math/MathML" : | |
null == d || "foreignObject" === Fa(d, void 0).i ? null : d.namespaceURI) ? c.createElementNS(d, a) : c.createElement(a), Da(c, a, b), a = c), Ja.g.push(a), c = a); | |
a = c; | |
if (a !== Ia) { | |
if (0 <= Na.indexOf(a)) | |
for (b = Ha, c = a.nextSibling, d = Ia; null !== d && d !== a;) e = d.nextSibling, b.insertBefore(d, c), d = e; | |
else Ha.insertBefore(a, Ia); | |
Ia = a | |
} | |
}, | |
Pa = function() { | |
Ka(null); | |
Ia = Ha; | |
Ha = Ha.parentNode; | |
return Ia | |
}, | |
Ta = function(a, b) { | |
b = void 0 === b ? {} : b; | |
var c = void 0 === b.matches ? Ga : b.matches; | |
return function(d, e, g) { | |
var h = Ja, | |
k = Ma, | |
m = Na, | |
p = Qa, | |
q = Ia, | |
t = Ha, | |
v = La; | |
Ma = d.ownerDocument; | |
Ja = new Ra; | |
La = c; | |
Qa = []; | |
Ia = null; | |
var w = Ha = d.parentNode, | |
J, G = Sa.call(d); | |
if ((J = 11 === G.nodeType || 9 === G.nodeType ? G.activeElement : null) && d.contains(J)) { | |
for (G = []; J !== w;) G.push(J), J = J.parentNode; | |
w = G | |
} else w = []; | |
Na = w; | |
try { | |
return a(d, e, g) | |
} finally { | |
Ma = k, Ja = h, La = v, Qa = p, Ia = q, Ha = t, Na = m | |
} | |
} | |
}, | |
Va = function(a, b, c) { | |
Ua.push(Ba); | |
Ua.push(a); | |
Ua.push(b); | |
Ua.push(c) | |
}, | |
Ya = function() { | |
var a = Ha, | |
b = Fa(a, void 0), | |
c = Qa; | |
b = b.g || (b.g = za(c.length)); | |
for (var d = !b.length, e = 0; e < c.length; e += 2) { | |
var g = c[e]; | |
if (d) b[e] = g; | |
else if (b[e] !== g) break; | |
var h = c[e + 1]; | |
if (d || b[e + 1] !== h) b[e + 1] = h, Va(a, g, h) | |
} | |
if (e < c.length || e < b.length) { | |
for (e = d = e; e < b.length; e += 2) Wa[b[e]] = b[e + 1]; | |
for (e = d; e < c.length; e += 2) d = c[e], g = c[e + 1], Wa[d] !== g && Va(a, d, g), b[e] = d, b[e + 1] = g, delete Wa[d]; | |
ya(b, c.length); | |
for (var k in Wa) Va(a, k, void 0), delete Wa[k] | |
} | |
a = Xa; | |
Xa = k = Ua.length; | |
for (b = a; b < k; b += 4)(0, Ua[b])(Ua[b + 1], Ua[b + 2], Ua[b + 3]); | |
Xa = a; | |
ya(Ua, a); | |
ya(c, 0) | |
}, | |
Za = function(a, b) { | |
for (var c = 1; c < arguments.length; ++c); | |
Oa("#text", null); | |
c = Ia; | |
var d = Fa(c, void 0); | |
if (d.text !== a) { | |
d = d.text = a; | |
for (var e = 1; e < arguments.length; e += | |
1) d = (0, arguments[e])(d); | |
c.data !== d && (c.data = d) | |
} | |
return c | |
}, | |
ab = function(a) { | |
var b = void 0 === b ? !0 : b; | |
var c = []; | |
String(a).replace($a, function(d, e, g, h, k) { | |
d = g || h || k || ""; | |
d = b ? n(d) : d; | |
c.push([e, d]); | |
return " " | |
}); | |
return c | |
}, | |
eb = function(a) { | |
var b = function() { | |
throw Error("X"); | |
}; | |
b.prototype = bb; | |
b.invoke = function(c) { | |
c = void 0 === c ? cb : c; | |
return a(c) | |
}; | |
b.toString = function(c) { | |
c = void 0 === c ? cb : c; | |
return db(a, c) | |
}; | |
b.getContent = b.toString; | |
b.ds = function() { | |
return r(a) | |
}; | |
b.$ = u; | |
b.vd = !0; | |
return b | |
}, | |
ib = function(a) { | |
var b = function() { | |
throw Error("X"); | |
}; | |
b.prototype = fb; | |
b.invoke = function(c) { | |
c = void 0 === c ? cb : c; | |
return a(c) | |
}; | |
b.toString = function() { | |
return gb(a) | |
}; | |
b.getContent = b.toString; | |
b.ds = function() { | |
return r(a) | |
}; | |
b.$ = hb; | |
b.vd = !0; | |
return b | |
}, | |
db = function(a, b) { | |
b = void 0 === b ? cb : b; | |
var c = document.createElement("div"); | |
jb(c, function() { | |
a(b) | |
}); | |
return c.innerHTML | |
}, | |
kb = function(a) { | |
return function() { | |
Oa("div", void 0); | |
Ha = Ia; | |
Ia = null; | |
a(cb); | |
Ya(); | |
Pa() | |
} | |
}, | |
gb = function(a) { | |
var b = document.createElement("div"); | |
lb(b, kb(a)); | |
a = []; | |
for (var c = 0; c < b.attributes.length; c++) "" === b.attributes[c].value ? | |
a.push(b.attributes[c].name) : a.push(b.attributes[c].name + "='" + x(b.attributes[c].value) + "'"); | |
return a.sort().join(" ") | |
}, | |
pb = function(a, b) { | |
if (b.vd && b.$ === hb) b.invoke(a); | |
else { | |
var c = ab(b.toString()); | |
b = mb(b, hb); | |
c = nb(c); | |
for (var d = c.next(); !d.done; d = c.next()) { | |
d = d.value; | |
var e = b ? d[0] : ob(d[0]); | |
"zSoyz" === e ? a.C(e, "") : a.C(String(e), String(d[1])) | |
} | |
} | |
}, | |
qb = function(a, b, c, d) { | |
var e = b.$; | |
e === u ? b(a, c, d) : e === hb ? (e = gb(function() { | |
b(cb, c, d) | |
}), a.text(e)) : (e = b(c, d), a.text(String(e))) | |
}, | |
z = function(a, b, c) { | |
if (b instanceof bb || c || | |
b instanceof rb) | |
if (b = b instanceof rb ? sb(b) : String(b), b.includes("<") || b.includes("&")) { | |
if ((c = a.open("html-blob")) && c.__innerHTML !== b) { | |
var d = y(b); | |
tb(c, vb(d)); | |
c.__innerHTML = b | |
} | |
a.mk(); | |
a.close() | |
} else a.text(b); | |
else b && b.vd ? b.invoke(a) : a.text(String(b)) | |
}, | |
r = function(a) { | |
if (!a) return !1; | |
if (a instanceof wb) return !!a.getContent(); | |
if (a.vd) { | |
var b = new xb; | |
a.invoke(b); | |
return b.g | |
} | |
return "object" !== typeof a ? !!String(a) : !0 | |
}, | |
Ib = function(a, b) { | |
var c = void 0 === b ? {} : b; | |
b = void 0 === c.td ? !1 : c.td; | |
var d = void 0 === c.$f ? !1 : c.$f; | |
c = void 0 === | |
c.cg ? !1 : c.cg; | |
if (a.get(yb).Fb) return [new zb(a), new Ab(a, 4), new Ab(a, 0), new Ab(a, 1), new Ab(a, 6), new Bb(a)]; | |
if (c) return [new Cb(a)]; | |
c = [new zb(a), new Ab(a, 4), new Ab(a, 0), new Ab(a, 1), new Ab(a, 6), new Db(a), new Eb(a), new Fb(a), new Bb(a)]; | |
d && c.push(new Cb(a)); | |
b && c.push(new Gb(a), new Hb(a)); | |
return c | |
}, | |
Lb = function(a, b, c) { | |
var d = void 0 === c ? {} : c; | |
c = void 0 === d.hc ? !1 : d.hc; | |
var e = void 0 === d.Jb ? !1 : d.Jb, | |
g = void 0 === d.isClickable ? !1 : d.isClickable; | |
d = Ib(a, { | |
td: void 0 === d.td ? !1 : d.td, | |
$f: void 0 === d.$f ? !1 : d.$f, | |
cg: void 0 === d.cg ? | |
!1 : d.cg | |
}).filter(function(p) { | |
return p.j(b) | |
}); | |
for (var h = nb(d), k = h.next(); !k.done; k = h.next()) | |
if (k = k.value, k.Jb = e, k.isClickable = g, c) k.Vd = !1; | |
else { | |
var m = Jb(a.get(Kb).ib); | |
k.Vd = k.Vd && k.ae !== m | |
} return d | |
}, | |
Mb = function(a) { | |
return a && a.vd && a.$ === hb || mb(a, hb) ? a : ob(a) | |
}, | |
Nb = function(a, b) { | |
return a && a.vd && a.$ === u ? y(a.toString(b)) : A(a) | |
}, | |
Ub = function(a) { | |
switch (a) { | |
case "WIDGET": | |
if (Ob(window.location.href, "ref") === window.location.origin) { | |
a = window.parent && window.parent.location; | |
var b; | |
if (b = a) a = a.href, b = a.length - 22, b = 0 <= b && | |
a.indexOf("/cros-widget-container", b) == b; | |
if (b) return Pb.Fa() | |
} | |
return Qb.Fa(); | |
case "DETAIL_ONLY": | |
return Rb.Fa(); | |
case "LAUNCHER_PROMO": | |
return Sb.Fa(); | |
case "TRANSFER_OWNERSHIP": | |
return Sb.Fa() | |
} | |
return Tb.Fa() | |
}, | |
Yb = function(a) { | |
var b = Vb(a).height; | |
if ((a = a.children[0]) && !(Vb(a).height <= b)) | |
for (var c = Wb(a), d = 0, e = c.length - 1, g = -1; d != e;) { | |
var h = Math.floor((d + e) / 2); | |
if (h == g) break; | |
g = h; | |
Xb(a, c.substring(0, g + 1) + "..."); | |
Vb(a).height <= b ? d = g : e = g | |
} | |
}, | |
Zb = function(a, b) { | |
if (a.closest) return a.closest(b); | |
for (a = a.parentElement; a && !a.msMatchesSelector(b);) a = | |
a.parentElement; | |
return a | |
}, | |
$b = function(a) { | |
if (a) { | |
var b = Zb(a, "[role=grid]").querySelector('[role=gridcell][tabindex="0"]'); | |
b !== a && (a.setAttribute("tabindex", "0"), a.focus(), b && b.setAttribute("tabindex", "-1")) | |
} | |
}, | |
bc = function(a) { | |
if (!(a.shiftKey || a.metaKey || a.altKey)) { | |
var b = a.currentTarget, | |
c = a.target, | |
d = Zb(c, "[role=row]"), | |
e = b.querySelectorAll("[role=row]"); | |
if (a.ctrlKey) switch (a.keyCode) { | |
case 35: | |
e = b.querySelectorAll("[role=gridcell]"); | |
$b(e[e.length - 1]); | |
break; | |
case 36: | |
$b(b.querySelector("[role=gridcell]")); | |
break; | |
default: | |
return | |
} else switch (b = d.querySelectorAll("[role=gridcell]"), c = ac(Zb(c, "[role=row]").querySelectorAll("[role=gridcell]")).concat().indexOf(c), d = ac(Zb(d, "[role=grid]").querySelectorAll("[role=row]")).concat().indexOf(d), a.keyCode) { | |
case 39: | |
$b(b[c + 1]); | |
break; | |
case 35: | |
case 34: | |
$b(b[b.length - 1]); | |
break; | |
case 37: | |
$b(b[c - 1]); | |
break; | |
case 36: | |
case 33: | |
$b(b[0]); | |
break; | |
case 38: | |
if (!e[d - 1]) return; | |
b = e[d - 1].querySelectorAll("[role=gridcell]"); | |
$b(b[c]); | |
break; | |
case 40: | |
if (!e[d + 1]) return; | |
b = e[d + 1].querySelectorAll("[role=gridcell]"); | |
$b(b[c]); | |
break; | |
default: | |
return | |
} | |
a.preventDefault(); | |
a.stopPropagation() | |
} | |
}, | |
cc = function(a) { | |
for (a = a.target; a; a = a.parentElement) { | |
if (a.matches ? a.matches("[role=gridcell]") : a.msMatchesSelector("[role=gridcell]")) { | |
$b(a); | |
break | |
} | |
var b = a.querySelectorAll("[role=gridcell]"); | |
1 === b.length && $b(b[0]); | |
if (1 < b.length) break | |
} | |
}, | |
dc = function(a) { | |
for (var b = nb(a.querySelectorAll("[role=gridcell]")), c = b.next(); !c.done; c = b.next()) c.value.setAttribute("tabindex", "-1"); | |
a.querySelector("[role=gridcell]") && a.querySelector("[role=gridcell]").setAttribute("tabindex", | |
"0"); | |
a.addEventListener("keydown", bc); | |
a.addEventListener("mousedown", cc) | |
}, | |
ec = function(a) { | |
switch (a) { | |
case null: | |
return "all"; | |
case 4: | |
return "apps"; | |
case 0: | |
return "extensions"; | |
case 1: | |
return "themes"; | |
case 6: | |
return "platform-apps"; | |
case 9: | |
return "sitelists"; | |
default: | |
return "unknown-" + a | |
} | |
}, | |
fc = function(a) { | |
return 4 == a || 6 == a | |
}, | |
gc = function(a, b) { | |
return 4 == a || 6 == a || b && 0 == a || 1 == a | |
}, | |
hc = function(a) { | |
switch (a) { | |
case 4: | |
return "apps"; | |
case 0: | |
return "extensions"; | |
case 1: | |
return "themes"; | |
case 6: | |
return "apps"; | |
case 9: | |
return "sitelists"; | |
default: | |
throw Error("Pa`" + | |
a); | |
} | |
}, | |
kc = function(a) { | |
var b = new ic(1); | |
return jc(b, a) | |
}, | |
pc = function(a) { | |
var b = "WEEKS_DAYS_MEDIUM_WITH_ROUNDED_SECONDS"; | |
b = void 0 === b ? "WEEKS_DAYS_MEDIUM_WITH_ROUNDED_SECONDS" : b; | |
a instanceof lc && (a = a.getSeconds()); | |
if ("number" !== typeof a || 0 > a) return ""; | |
var c = a = Math.trunc(a), | |
d = c % 60; | |
c = c / 60 | 0; | |
var e = c % 60; | |
c = c / 60 | 0; | |
var g = c % 24, | |
h = c; | |
c = c / 24 | 0; | |
var k = c % 7; | |
c = c / 7 | 0; | |
mc.includes(b); | |
var m = []; | |
if ("WEEKS_DAYS_MEDIUM_WITH_ROUNDED_SECONDS" === b || "MEDIUM_WITH_ROUNDED_SECONDS" === b) { | |
if (60 > a) return nc(new oc("{SECONDS, plural, =1 {1 sec} other {# sec}}"), { | |
SECONDS: a | |
}); | |
30 <= d && e++; | |
60 <= e && (g++, h++, e = 0) | |
} | |
0 !== c && "MEDIUM_WITH_ROUNDED_SECONDS" !== b && m.push(nc(new oc("WEEKS_DAYS_LONG" === b ? "{WEEKS, plural, =1 {1 week} other {# weeks}}" : "{WEEKS, plural, =1 {1 wk} other {# wks}}"), { | |
WEEKS: c | |
})); | |
0 !== k && "MEDIUM_WITH_ROUNDED_SECONDS" !== b && m.push(nc(new oc("{DAYS, plural, =1 {1 day} other {# days}}"), { | |
DAYS: k | |
})); | |
0 !== g && "MEDIUM_WITH_ROUNDED_SECONDS" !== b && m.push(nc(new oc("WEEKS_DAYS_LONG" === b ? "{HOURS, plural, =1 {1 hour} other {# hours}}" : "{HOURS, plural, =1 {1 hr} other {# hr}}"), { | |
HOURS: g | |
})); | |
0 !== h && "MEDIUM_WITH_ROUNDED_SECONDS" === b && m.push(nc(new oc("{HOURS, plural, =1 {1 hr} other {# hr}}"), { | |
HOURS: h | |
})); | |
0 !== e && m.push(nc(new oc("WEEKS_DAYS_LONG" === b ? "{MINUTES, plural, =1 {1 minute} other {# minutes}}" : "{MINUTES, plural, =1 {1 min} other {# min}}"), { | |
MINUTES: e | |
})); | |
0 !== d && "WEEKS_DAYS_LONG" === b && m.push(nc(new oc("{SECONDS, plural, =1 {1 second} other {# seconds}}"), { | |
SECONDS: d | |
})); | |
return 0 < m.length ? m.join(" ") : "N/A" | |
}, | |
qc = function(a, b, c) { | |
for (var d = [], e = [], g = 0, h = nb(a.children), k = h.next(); !k.done; k = | |
h.next()) k = k.value, "row" === k.getAttribute("role") ? (0 === g && (g = k.children.length), e.push.apply(e, ac(k.children)), d.push(k)) : e.push(k); | |
b = Math.max(Math.floor(b() / c), 1); | |
if (b !== g) { | |
for (; 0 !== e.length;) { | |
g = d.shift(); | |
c = !1; | |
g || (c = !0, g = document.createElement("div"), g.setAttribute("role", "row")); | |
for (h = 0; h < b && 0 !== e.length; h++) k = e.shift(), g.contains(k) || g.insertBefore(k, g.children[h]); | |
c && a.appendChild(g) | |
} | |
a = nb(d); | |
for (d = a.next(); !d.done; d = a.next()) d = d.value, "function" === typeof d.remove ? d.remove() : d.parentElement.removeChild(d) | |
} | |
}, | |
sc = function(a, b, c) { | |
a.setAttribute("role", "grid"); | |
for (var d = nb(a.querySelectorAll(".a-u")), e = d.next(); !e.done; e = d.next()) e.value.setAttribute("role", "gridcell"); | |
var g = new rc(qc, 100), | |
h = function() { | |
return g.Il(a, b, c) | |
}; | |
window.addEventListener("resize", h); | |
var k = new MutationObserver(function() { | |
a.parentElement || (k.disconnect(), window.removeEventListener("resize", h)) | |
}); | |
k.observe(a.parentElement, { | |
childList: !0 | |
}); | |
g.Il(a, b, c); | |
dc(a) | |
}, | |
vc = function(a, b, c) { | |
b = b || "S"; | |
a = (c || tc()) - (a || 0); | |
switch (b) { | |
case "S": | |
return a; | |
case "s": | |
return a / | |
1E3; | |
case "m": | |
return a / 6E4; | |
case "h": | |
return a / 36E5; | |
case "d": | |
return a / 864E5; | |
case "w": | |
return a / 6048E5 | |
} | |
return 0 | |
}, | |
yc = function() { | |
!wc && xc && (wc = xc()); | |
return wc | |
}, | |
zc = function(a) { | |
var b = 0; | |
return function() { | |
return b < a.length ? { | |
done: !1, | |
value: a[b++] | |
} : { | |
done: !0 | |
} | |
} | |
}, | |
nb = function(a) { | |
var b = "undefined" != typeof Symbol && Symbol.iterator && a[Symbol.iterator]; | |
return b ? b.call(a) : { | |
next: zc(a) | |
} | |
}, | |
ac = function(a) { | |
if (!(a instanceof Array)) { | |
a = nb(a); | |
for (var b, c = []; !(b = a.next()).done;) c.push(b.value); | |
a = c | |
} | |
return a | |
}, | |
Ac = "function" == typeof Object.create ? | |
Object.create : function(a) { | |
var b = function() {}; | |
b.prototype = a; | |
return new b | |
}, | |
Bc; | |
if ("function" == typeof Object.setPrototypeOf) Bc = Object.setPrototypeOf; | |
else { | |
var Cc; | |
a: { | |
var Dc = { | |
a: !0 | |
}, | |
Ec = {}; | |
try { | |
Ec.__proto__ = Dc; | |
Cc = Ec.a; | |
break a | |
} catch (a) {} | |
Cc = !1 | |
} | |
Bc = Cc ? function(a, b) { | |
a.__proto__ = b; | |
if (a.__proto__ !== b) throw new TypeError("a`" + a); | |
return a | |
} : null | |
} | |
var Fc = Bc, | |
B = function(a, b) { | |
a.prototype = Ac(b.prototype); | |
a.prototype.constructor = a; | |
if (Fc) Fc(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.M = b.prototype | |
}, | |
Gc = "function" == typeof Object.defineProperties ? Object.defineProperty : function(a, b, c) { | |
a != Array.prototype && a != Object.prototype && (a[b] = c.value) | |
}, | |
Hc = function(a) { | |
a = ["object" == typeof window && window, "object" == typeof self && self, "object" == typeof global && | |
global, a | |
]; | |
for (var b = 0; b < a.length; ++b) { | |
var c = a[b]; | |
if (c && c.Math == Math) return c | |
} | |
throw Error("b"); | |
}, | |
Ic = Hc(this), | |
Jc = function(a, b) { | |
if (b) { | |
var c = Ic; | |
a = a.split("."); | |
for (var d = 0; d < a.length - 1; d++) { | |
var e = a[d]; | |
e in c || (c[e] = {}); | |
c = c[e] | |
} | |
a = a[a.length - 1]; | |
d = c[a]; | |
b = b(d); | |
b != d && null != b && Gc(c, a, { | |
configurable: !0, | |
writable: !0, | |
value: b | |
}) | |
} | |
}; | |
Jc("Array.prototype.find", function(a) { | |
return a ? a : function(b, c) { | |
a: { | |
var d = this;d instanceof String && (d = String(d)); | |
for (var e = d.length, g = 0; g < e; g++) { | |
var h = d[g]; | |
if (b.call(c, h, g, d)) { | |
b = h; | |
break a | |
} | |
} | |
b = void 0 | |
} | |
return b | |
} | |
}); | |
var Kc = function(a, b, c) { | |
if (null == a) throw new TypeError("c`" + c); | |
if (b instanceof RegExp) throw new TypeError("d`" + c); | |
return a + "" | |
}; | |
Jc("String.prototype.startsWith", function(a) { | |
return a ? a : function(b, c) { | |
var d = Kc(this, b, "startsWith"), | |
e = d.length, | |
g = b.length; | |
c = Math.max(0, Math.min(c | 0, d.length)); | |
for (var h = 0; h < g && c < e;) | |
if (d[c++] != b[h++]) return !1; | |
return h >= g | |
} | |
}); | |
Jc("String.prototype.repeat", function(a) { | |
return a ? a : function(b) { | |
var c = Kc(this, null, "repeat"); | |
if (0 > b || 1342177279 < b) throw new RangeError("e"); | |
b |= 0; | |
for (var d = ""; b;) | |
if (b & 1 && (d += c), b >>>= 1) c += c; | |
return d | |
} | |
}); | |
var Lc = function() { | |
Lc = function() {}; | |
Ic.Symbol || (Ic.Symbol = Mc) | |
}, | |
Nc = function(a, b) { | |
this.g = a; | |
Gc(this, "description", { | |
configurable: !0, | |
writable: !0, | |
value: b | |
}) | |
}; | |
Nc.prototype.toString = function() { | |
return this.g | |
}; | |
var Mc = function() { | |
function a(c) { | |
if (this instanceof a) throw new TypeError("f"); | |
return new Nc("jscomp_symbol_" + (c || "") + "_" + b++, c) | |
} | |
var b = 0; | |
return a | |
}(), | |
Pc = function() { | |
Lc(); | |
var a = Ic.Symbol.iterator; | |
a || (a = Ic.Symbol.iterator = Ic.Symbol("Symbol.iterator")); | |
"function" != typeof Array.prototype[a] && Gc(Array.prototype, a, { | |
configurable: !0, | |
writable: !0, | |
value: function() { | |
return Oc(zc(this)) | |
} | |
}); | |
Pc = function() {} | |
}, | |
Oc = function(a) { | |
Pc(); | |
a = { | |
next: a | |
}; | |
a[Ic.Symbol.iterator] = function() { | |
return this | |
}; | |
return a | |
}, | |
Qc = function(a, b) { | |
Pc(); | |
a instanceof String && (a += ""); | |
var c = 0, | |
d = { | |
next: function() { | |
if (c < a.length) { | |
var e = c++; | |
return { | |
value: b(e, a[e]), | |
done: !1 | |
} | |
} | |
d.next = function() { | |
return { | |
done: !0, | |
value: void 0 | |
} | |
}; | |
return d.next() | |
} | |
}; | |
d[Symbol.iterator] = function() { | |
return d | |
}; | |
return d | |
}; | |
Jc("Array.from", function(a) { | |
return a ? a : function(b, c, d) { | |
c = null != c ? c : function(k) { | |
return k | |
}; | |
var e = [], | |
g = "undefined" != typeof Symbol && Symbol.iterator && b[Symbol.iterator]; | |
if ("function" == typeof g) { | |
b = g.call(b); | |
for (var h = 0; !(g = b.next()).done;) e.push(c.call(d, g.value, h++)) | |
} else | |
for (g = b.length, h = 0; h < g; h++) e.push(c.call(d, b[h], h)); | |
return e | |
} | |
}); | |
Jc("Object.is", function(a) { | |
return a ? a : function(b, c) { | |
return b === c ? 0 !== b || 1 / b === 1 / c : b !== b && c !== c | |
} | |
}); | |
Jc("Array.prototype.includes", function(a) { | |
return a ? a : function(b, c) { | |
var d = this; | |
d instanceof String && (d = String(d)); | |
var e = d.length; | |
c = c || 0; | |
for (0 > c && (c = Math.max(c + e, 0)); c < e; c++) { | |
var g = d[c]; | |
if (g === b || Object.is(g, b)) return !0 | |
} | |
return !1 | |
} | |
}); | |
Jc("String.prototype.includes", function(a) { | |
return a ? a : function(b, c) { | |
return -1 !== Kc(this, b, "includes").indexOf(b, c || 0) | |
} | |
}); | |
Jc("Promise", function(a) { | |
function b() { | |
this.g = null | |
} | |
function c(h) { | |
return h instanceof e ? h : new e(function(k) { | |
k(h) | |
}) | |
} | |
if (a) return a; | |
b.prototype.i = function(h) { | |
if (null == this.g) { | |
this.g = []; | |
var k = this; | |
this.h(function() { | |
k.w() | |
}) | |
} | |
this.g.push(h) | |
}; | |
var d = Ic.setTimeout; | |
b.prototype.h = function(h) { | |
d(h, 0) | |
}; | |
b.prototype.w = function() { | |
for (; this.g && this.g.length;) { | |
var h = this.g; | |
this.g = []; | |
for (var k = 0; k < h.length; ++k) { | |
var m = h[k]; | |
h[k] = null; | |
try { | |
m() | |
} catch (p) { | |
this.j(p) | |
} | |
} | |
} | |
this.g = null | |
}; | |
b.prototype.j = function(h) { | |
this.h(function() { | |
throw h; | |
}) | |
}; | |
var e = function(h) { | |
this.i = 0; | |
this.h = void 0; | |
this.g = []; | |
var k = this.j(); | |
try { | |
h(k.resolve, k.reject) | |
} catch (m) { | |
k.reject(m) | |
} | |
}; | |
e.prototype.j = function() { | |
function h(p) { | |
return function(q) { | |
m || (m = !0, p.call(k, q)) | |
} | |
} | |
var k = this, | |
m = !1; | |
return { | |
resolve: h(this.aa), | |
reject: h(this.w) | |
} | |
}; | |
e.prototype.aa = function(h) { | |
if (h === this) this.w(new TypeError("g")); | |
else if (h instanceof e) this.H(h); | |
else { | |
a: switch (typeof h) { | |
case "object": | |
var k = null != h; | |
break a; | |
case "function": | |
k = !0; | |
break a; | |
default: | |
k = !1 | |
} | |
k ? this.T(h) : this.o(h) | |
} | |
}; | |
e.prototype.T = function(h) { | |
var k = | |
void 0; | |
try { | |
k = h.then | |
} catch (m) { | |
this.w(m); | |
return | |
} | |
"function" == typeof k ? this.J(k, h) : this.o(h) | |
}; | |
e.prototype.w = function(h) { | |
this.u(2, h) | |
}; | |
e.prototype.o = function(h) { | |
this.u(1, h) | |
}; | |
e.prototype.u = function(h, k) { | |
if (0 != this.i) throw Error("h`" + h + "`" + k + "`" + this.i); | |
this.i = h; | |
this.h = k; | |
this.A() | |
}; | |
e.prototype.A = function() { | |
if (null != this.g) { | |
for (var h = 0; h < this.g.length; ++h) g.i(this.g[h]); | |
this.g = null | |
} | |
}; | |
var g = new b; | |
e.prototype.H = function(h) { | |
var k = this.j(); | |
h.Rg(k.resolve, k.reject) | |
}; | |
e.prototype.J = function(h, k) { | |
var m = this.j(); | |
try { | |
h.call(k, | |
m.resolve, m.reject) | |
} catch (p) { | |
m.reject(p) | |
} | |
}; | |
e.prototype.then = function(h, k) { | |
function m(v, w) { | |
return "function" == typeof v ? function(J) { | |
try { | |
p(v(J)) | |
} catch (G) { | |
q(G) | |
} | |
} : w | |
} | |
var p, q, t = new e(function(v, w) { | |
p = v; | |
q = w | |
}); | |
this.Rg(m(h, p), m(k, q)); | |
return t | |
}; | |
e.prototype.catch = function(h) { | |
return this.then(void 0, h) | |
}; | |
e.prototype.Rg = function(h, k) { | |
function m() { | |
switch (p.i) { | |
case 1: | |
h(p.h); | |
break; | |
case 2: | |
k(p.h); | |
break; | |
default: | |
throw Error("i`" + p.i); | |
} | |
} | |
var p = this; | |
null == this.g ? g.i(m) : this.g.push(m) | |
}; | |
e.resolve = c; | |
e.reject = function(h) { | |
return new e(function(k, | |
m) { | |
m(h) | |
}) | |
}; | |
e.race = function(h) { | |
return new e(function(k, m) { | |
for (var p = nb(h), q = p.next(); !q.done; q = p.next()) c(q.value).Rg(k, m) | |
}) | |
}; | |
e.all = function(h) { | |
var k = nb(h), | |
m = k.next(); | |
return m.done ? c([]) : new e(function(p, q) { | |
function t(J) { | |
return function(G) { | |
v[J] = G; | |
w--; | |
0 == w && p(v) | |
} | |
} | |
var v = [], | |
w = 0; | |
do v.push(void 0), w++, c(m.value).Rg(t(v.length - 1), q), m = k.next(); while (!m.done) | |
}) | |
}; | |
return e | |
}); | |
var Rc = function(a, b) { | |
return Object.prototype.hasOwnProperty.call(a, b) | |
}; | |
Jc("WeakMap", function(a) { | |
function b() {} | |
function c(m) { | |
var p = typeof m; | |
return "object" === p && null !== m || "function" === p | |
} | |
function d(m) { | |
if (!Rc(m, g)) { | |
var p = new b; | |
Gc(m, g, { | |
value: p | |
}) | |
} | |
} | |
function e(m) { | |
var p = Object[m]; | |
p && (Object[m] = function(q) { | |
if (q instanceof b) return q; | |
d(q); | |
return p(q) | |
}) | |
} | |
if (function() { | |
if (!a || !Object.seal) return !1; | |
try { | |
var m = Object.seal({}), | |
p = Object.seal({}), | |
q = new a([ | |
[m, 2], | |
[p, 3] | |
]); | |
if (2 != q.get(m) || 3 != q.get(p)) return !1; | |
q.delete(m); | |
q.set(p, 4); | |
return !q.has(m) && 4 == q.get(p) | |
} catch (t) { | |
return !1 | |
} | |
}()) return a; | |
var g = "$jscomp_hidden_" + Math.random(); | |
e("freeze"); | |
e("preventExtensions"); | |
e("seal"); | |
var h = 0, | |
k = function(m) { | |
this.g = (h += Math.random() + 1).toString(); | |
if (m) { | |
m = nb(m); | |
for (var p; !(p = m.next()).done;) p = p.value, this.set(p[0], p[1]) | |
} | |
}; | |
k.prototype.set = function(m, p) { | |
if (!c(m)) throw Error("j"); | |
d(m); | |
if (!Rc(m, g)) throw Error("k`" + m); | |
m[g][this.g] = p; | |
return this | |
}; | |
k.prototype.get = function(m) { | |
return c(m) && Rc(m, g) ? m[g][this.g] : void 0 | |
}; | |
k.prototype.has = function(m) { | |
return c(m) && Rc(m, g) && Rc(m[g], this.g) | |
}; | |
k.prototype.delete = function(m) { | |
return c(m) && | |
Rc(m, g) && Rc(m[g], this.g) ? delete m[g][this.g] : !1 | |
}; | |
return k | |
}); | |
Jc("Map", function(a) { | |
if (function() { | |
if (!a || "function" != typeof a || !a.prototype.entries || "function" != typeof Object.seal) return !1; | |
try { | |
var k = Object.seal({ | |
x: 4 | |
}), | |
m = new a(nb([ | |
[k, "s"] | |
])); | |
if ("s" != m.get(k) || 1 != m.size || m.get({ | |
x: 4 | |
}) || m.set({ | |
x: 4 | |
}, "t") != m || 2 != m.size) return !1; | |
var p = m.entries(), | |
q = p.next(); | |
if (q.done || q.value[0] != k || "s" != q.value[1]) return !1; | |
q = p.next(); | |
return q.done || 4 != q.value[0].x || "t" != q.value[1] || !p.next().done ? !1 : !0 | |
} catch (t) { | |
return !1 | |
} | |
}()) return a; | |
Pc(); | |
var b = new WeakMap, | |
c = function(k) { | |
this.i = {}; | |
this.g = | |
g(); | |
this.size = 0; | |
if (k) { | |
k = nb(k); | |
for (var m; !(m = k.next()).done;) m = m.value, this.set(m[0], m[1]) | |
} | |
}; | |
c.prototype.set = function(k, m) { | |
k = 0 === k ? 0 : k; | |
var p = d(this, k); | |
p.list || (p.list = this.i[p.id] = []); | |
p.entry ? p.entry.value = m : (p.entry = { | |
next: this.g, | |
previous: this.g.previous, | |
head: this.g, | |
key: k, | |
value: m | |
}, p.list.push(p.entry), this.g.previous.next = p.entry, this.g.previous = p.entry, this.size++); | |
return this | |
}; | |
c.prototype.delete = function(k) { | |
k = d(this, k); | |
return k.entry && k.list ? (k.list.splice(k.index, 1), k.list.length || delete this.i[k.id], | |
k.entry.previous.next = k.entry.next, k.entry.next.previous = k.entry.previous, k.entry.head = null, this.size--, !0) : !1 | |
}; | |
c.prototype.clear = function() { | |
this.i = {}; | |
this.g = this.g.previous = g(); | |
this.size = 0 | |
}; | |
c.prototype.has = function(k) { | |
return !!d(this, k).entry | |
}; | |
c.prototype.get = function(k) { | |
return (k = d(this, k).entry) && k.value | |
}; | |
c.prototype.entries = function() { | |
return e(this, function(k) { | |
return [k.key, k.value] | |
}) | |
}; | |
c.prototype.keys = function() { | |
return e(this, function(k) { | |
return k.key | |
}) | |
}; | |
c.prototype.values = function() { | |
return e(this, | |
function(k) { | |
return k.value | |
}) | |
}; | |
c.prototype.forEach = function(k, m) { | |
for (var p = this.entries(), q; !(q = p.next()).done;) q = q.value, k.call(m, q[1], q[0], this) | |
}; | |
c.prototype[Symbol.iterator] = c.prototype.entries; | |
var d = function(k, m) { | |
var p = m && typeof m; | |
"object" == p || "function" == p ? b.has(m) ? p = b.get(m) : (p = "" + ++h, b.set(m, p)) : p = "p_" + m; | |
var q = k.i[p]; | |
if (q && Rc(k.i, p)) | |
for (k = 0; k < q.length; k++) { | |
var t = q[k]; | |
if (m !== m && t.key !== t.key || m === t.key) return { | |
id: p, | |
list: q, | |
index: k, | |
entry: t | |
} | |
} | |
return { | |
id: p, | |
list: q, | |
index: -1, | |
entry: void 0 | |
} | |
}, | |
e = function(k, | |
m) { | |
var p = k.g; | |
return Oc(function() { | |
if (p) { | |
for (; p.head != k.g;) p = p.previous; | |
for (; p.next != p.head;) return p = p.next, { | |
done: !1, | |
value: m(p) | |
}; | |
p = null | |
} | |
return { | |
done: !0, | |
value: void 0 | |
} | |
}) | |
}, | |
g = function() { | |
var k = {}; | |
return k.previous = k.next = k.head = k | |
}, | |
h = 0; | |
return c | |
}); | |
Jc("Set", function(a) { | |
if (function() { | |
if (!a || "function" != typeof a || !a.prototype.entries || "function" != typeof Object.seal) return !1; | |
try { | |
var c = Object.seal({ | |
x: 4 | |
}), | |
d = new a(nb([c])); | |
if (!d.has(c) || 1 != d.size || d.add(c) != d || 1 != d.size || d.add({ | |
x: 4 | |
}) != d || 2 != d.size) return !1; | |
var e = d.entries(), | |
g = e.next(); | |
if (g.done || g.value[0] != c || g.value[1] != c) return !1; | |
g = e.next(); | |
return g.done || g.value[0] == c || 4 != g.value[0].x || g.value[1] != g.value[0] ? !1 : e.next().done | |
} catch (h) { | |
return !1 | |
} | |
}()) return a; | |
Pc(); | |
var b = function(c) { | |
this.g = new Map; | |
if (c) { | |
c = nb(c); | |
for (var d; !(d = c.next()).done;) this.add(d.value) | |
} | |
this.size = this.g.size | |
}; | |
b.prototype.add = function(c) { | |
c = 0 === c ? 0 : c; | |
this.g.set(c, c); | |
this.size = this.g.size; | |
return this | |
}; | |
b.prototype.delete = function(c) { | |
c = this.g.delete(c); | |
this.size = this.g.size; | |
return c | |
}; | |
b.prototype.clear = function() { | |
this.g.clear(); | |
this.size = 0 | |
}; | |
b.prototype.has = function(c) { | |
return this.g.has(c) | |
}; | |
b.prototype.entries = function() { | |
return this.g.entries() | |
}; | |
b.prototype.values = function() { | |
return this.g.values() | |
}; | |
b.prototype.keys = b.prototype.values; | |
b.prototype[Symbol.iterator] = b.prototype.values; | |
b.prototype.forEach = function(c, d) { | |
var e = this; | |
this.g.forEach(function(g) { | |
return c.call(d, g, g, e) | |
}) | |
}; | |
return b | |
}); | |
Jc("Array.prototype.keys", function(a) { | |
return a ? a : function() { | |
return Qc(this, function(b) { | |
return b | |
}) | |
} | |
}); | |
Jc("Math.trunc", function(a) { | |
return a ? a : function(b) { | |
b = Number(b); | |
if (isNaN(b) || Infinity === b || -Infinity === b || 0 === b) return b; | |
var c = Math.floor(Math.abs(b)); | |
return 0 > b ? -c : c | |
} | |
}); | |
var Sc = "function" == typeof Object.assign ? Object.assign : function(a, b) { | |
for (var c = 1; c < arguments.length; c++) { | |
var d = arguments[c]; | |
if (d) | |
for (var e in d) Rc(d, e) && (a[e] = d[e]) | |
} | |
return a | |
}; | |
Jc("Object.assign", function(a) { | |
return a || Sc | |
}); | |
var Tc = Tc || {}, | |
C = this || self, | |
Uc = function(a, b, c) { | |
a = a.split("."); | |
c = c || C; | |
a[0] in c || "undefined" == typeof c.execScript || c.execScript("var " + a[0]); | |
for (var d; a.length && (d = a.shift());) a.length || void 0 === b ? c[d] && c[d] !== Object.prototype[d] ? c = c[d] : c = c[d] = {} : c[d] = b | |
}, | |
Xc = function(a) { | |
if (a && a != C) return Vc(a.document); | |
null === Wc && (Wc = Vc(C.document)); | |
return Wc | |
}, | |
Yc = /^[\w+/_-]+[=]{0,2}$/, | |
Wc = null, | |
Vc = function(a) { | |
return (a = a.querySelector && a.querySelector("script[nonce]")) && (a = a.nonce || a.getAttribute("nonce")) && Yc.test(a) ? a : | |
"" | |
}, | |
Zc = function(a, b) { | |
a = a.split("."); | |
b = b || C; | |
for (var c = 0; c < a.length; c++) | |
if (b = b[a[c]], null == b) return null; | |
return b | |
}, | |
$c = function() {}, | |
ad = function(a) { | |
a.oj = void 0; | |
a.Fa = function() { | |
return a.oj ? a.oj : a.oj = new a | |
} | |
}, | |
bd = function(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 | |
}, | |
cd = function(a) { | |
return "array" == bd(a) | |
}, | |
dd = function(a) { | |
var b = bd(a); | |
return "array" == b || "object" == b && "number" == typeof a.length | |
}, | |
ed = function(a) { | |
return "function" == bd(a) | |
}, | |
fd = function(a) { | |
var b = typeof a; | |
return "object" == b && null != | |
a || "function" == b | |
}, | |
id = function(a) { | |
return Object.prototype.hasOwnProperty.call(a, gd) && a[gd] || (a[gd] = ++hd) | |
}, | |
gd = "closure_uid_" + (1E9 * Math.random() >>> 0), | |
hd = 0, | |
jd = function(a, b, c) { | |
return a.call.apply(a.bind, arguments) | |
}, | |
kd = function(a, b, c) { | |
if (!a) throw Error(); | |
if (2 < arguments.length) { | |
var d = Array.prototype.slice.call(arguments, 2); | |
return function() { | |
var e = Array.prototype.slice.call(arguments); | |
Array.prototype.unshift.apply(e, d); | |
return a.apply(b, e) | |
} | |
} | |
return function() { | |
return a.apply(b, arguments) | |
} | |
}, | |
D = function(a, b, c) { | |
Function.prototype.bind && | |
-1 != Function.prototype.bind.toString().indexOf("native code") ? D = jd : D = kd; | |
return D.apply(null, arguments) | |
}, | |
ld = function(a, b) { | |
var c = Array.prototype.slice.call(arguments, 1); | |
return function() { | |
var d = c.slice(); | |
d.push.apply(d, arguments); | |
return a.apply(this, d) | |
} | |
}, | |
tc = Date.now || function() { | |
return +new Date | |
}, | |
nd = function(a) { | |
if (C.execScript) C.execScript(a, "JavaScript"); | |
else if (C.eval) { | |
if (null == md) { | |
try { | |
C.eval("var _evalTest_ = 1;") | |
} catch (d) {} | |
if ("undefined" != typeof C._evalTest_) { | |
try { | |
delete C._evalTest_ | |
} catch (d) {} | |
md = !0 | |
} else md = !1 | |
} | |
if (md) C.eval(a); | |
else { | |
var b = C.document, | |
c = b.createElement("script"); | |
c.type = "text/javascript"; | |
c.defer = !1; | |
c.appendChild(b.createTextNode(a)); | |
b.head.appendChild(c); | |
b.head.removeChild(c) | |
} | |
} else throw Error("m"); | |
}, | |
md = null, | |
E = function(a, b) { | |
function c() {} | |
c.prototype = b.prototype; | |
a.M = b.prototype; | |
a.prototype = new c; | |
a.prototype.constructor = a | |
}; | |
var od = function(a) { | |
if (Error.captureStackTrace) Error.captureStackTrace(this, od); | |
else { | |
var b = Error().stack; | |
b && (this.stack = b) | |
} | |
a && (this.message = String(a)) | |
}; | |
E(od, Error); | |
od.prototype.name = "CustomError"; | |
var pd; | |
var qd = function(a, b) { | |
a = a.split("%s"); | |
for (var c = "", d = a.length - 1, e = 0; e < d; e++) c += a[e] + (e < b.length ? b[e] : "%s"); | |
od.call(this, c + a[d]) | |
}; | |
E(qd, od); | |
qd.prototype.name = "AssertionError"; | |
var oa = Array.prototype.indexOf ? function(a, b) { | |
return Array.prototype.indexOf.call(a, b, void 0) | |
} : function(a, b) { | |
if ("string" === typeof a) return "string" !== typeof b || 1 != b.length ? -1 : a.indexOf(b, 0); | |
for (var c = 0; c < a.length; c++) | |
if (c in a && a[c] === b) return c; | |
return -1 | |
}, | |
rd = Array.prototype.lastIndexOf ? function(a, b) { | |
return Array.prototype.lastIndexOf.call(a, b, a.length - 1) | |
} : function(a, b) { | |
var c = a.length - 1; | |
0 > c && (c = Math.max(0, a.length + c)); | |
if ("string" === typeof a) return "string" !== typeof b || 1 != b.length ? -1 : a.lastIndexOf(b, c); | |
for (; 0 <= c; c--) | |
if (c in a && a[c] === b) return c; | |
return -1 | |
}, | |
qa = Array.prototype.forEach ? function(a, b, c) { | |
Array.prototype.forEach.call(a, b, c) | |
} : function(a, b, c) { | |
for (var d = a.length, e = "string" === typeof a ? a.split("") : a, g = 0; g < d; g++) g in e && b.call(c, e[g], g, a) | |
}, | |
sd = function(a, b) { | |
for (var c = "string" === typeof a ? a.split("") : a, d = a.length - 1; 0 <= d; --d) d in c && b.call(void 0, c[d], d, a) | |
}, | |
td = Array.prototype.filter ? function(a, b, c) { | |
return Array.prototype.filter.call(a, b, c) | |
} : function(a, b, c) { | |
for (var d = a.length, e = [], g = 0, h = "string" === | |
typeof a ? a.split("") : a, k = 0; k < d; k++) | |
if (k in h) { | |
var m = h[k]; | |
b.call(c, m, k, a) && (e[g++] = m) | |
} return e | |
}, | |
ud = Array.prototype.map ? function(a, b, c) { | |
return Array.prototype.map.call(a, b, c) | |
} : function(a, b, c) { | |
for (var d = a.length, e = Array(d), g = "string" === typeof a ? a.split("") : a, h = 0; h < d; h++) h in g && (e[h] = b.call(c, g[h], h, a)); | |
return e | |
}, | |
vd = Array.prototype.some ? function(a, b) { | |
return Array.prototype.some.call(a, b, void 0) | |
} : function(a, b) { | |
for (var c = a.length, d = "string" === typeof a ? a.split("") : a, e = 0; e < c; e++) | |
if (e in d && b.call(void 0, | |
d[e], e, a)) return !0; | |
return !1 | |
}, | |
wd = Array.prototype.every ? function(a, b) { | |
return Array.prototype.every.call(a, b, void 0) | |
} : function(a, b) { | |
for (var c = a.length, d = "string" === typeof a ? a.split("") : a, e = 0; e < c; e++) | |
if (e in d && !b.call(void 0, d[e], e, a)) return !1; | |
return !0 | |
}, | |
xd = function(a, b) { | |
var c = 0; | |
qa(a, function(d, e, g) { | |
b.call(void 0, d, e, g) && ++c | |
}, void 0); | |
return c | |
}, | |
yd = function(a, b) { | |
a: { | |
for (var c = a.length, d = "string" === typeof 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 : "string" === | |
typeof a ? a.charAt(b) : a[b] | |
}, | |
zd = function(a, b) { | |
return 0 <= oa(a, b) | |
}, | |
Ad = function(a, b) { | |
zd(a, b) || a.push(b) | |
}, | |
Bd = function(a, b) { | |
b = oa(a, b); | |
var c; | |
(c = 0 <= b) && Array.prototype.splice.call(a, b, 1); | |
return c | |
}, | |
Cd = function(a) { | |
return Array.prototype.concat.apply([], arguments) | |
}, | |
Dd = function(a) { | |
var b = a.length; | |
if (0 < b) { | |
for (var c = Array(b), d = 0; d < b; d++) c[d] = a[d]; | |
return c | |
} | |
return [] | |
}, | |
Ed = function(a, b) { | |
for (var c = 1; c < arguments.length; c++) { | |
var d = arguments[c]; | |
if (dd(d)) { | |
var e = a.length || 0, | |
g = d.length || 0; | |
a.length = e + g; | |
for (var h = 0; h < g; h++) a[e + | |
h] = d[h] | |
} else a.push(d) | |
} | |
}, | |
Gd = function(a, b, c, d) { | |
Array.prototype.splice.apply(a, Fd(arguments, 1)) | |
}, | |
Fd = function(a, b, c) { | |
return 2 >= arguments.length ? Array.prototype.slice.call(a, b) : Array.prototype.slice.call(a, b, c) | |
}, | |
Hd = function(a, b) { | |
b = b || a; | |
for (var c = {}, d = 0, e = 0; e < a.length;) { | |
var g = a[e++]; | |
var h = g; | |
h = fd(h) ? "o" + id(h) : (typeof h).charAt(0) + h; | |
Object.prototype.hasOwnProperty.call(c, h) || (c[h] = !0, b[d++] = g) | |
} | |
b.length = d | |
}, | |
Jd = function(a, b) { | |
a.sort(b || Id) | |
}, | |
Ld = function(a, b, c) { | |
if (!dd(a) || !dd(b) || a.length != b.length) return !1; | |
var d = | |
a.length; | |
c = c || Kd; | |
for (var e = 0; e < d; e++) | |
if (!c(a[e], b[e])) return !1; | |
return !0 | |
}, | |
Id = function(a, b) { | |
return a > b ? 1 : a < b ? -1 : 0 | |
}, | |
Kd = function(a, b) { | |
return a === b | |
}; | |
var Md = function(a) { | |
return function() { | |
throw Error(a); | |
} | |
}, | |
Nd = function(a) { | |
var b = b || 0; | |
return function() { | |
return a.apply(this, Array.prototype.slice.call(arguments, 0, b)) | |
} | |
}, | |
Od = function(a, b) { | |
var c = function() {}; | |
c.prototype = a.prototype; | |
c = new c; | |
a.apply(c, Array.prototype.slice.call(arguments, 1)); | |
return c | |
}, | |
Pd = function(a) { | |
var b = !1, | |
c; | |
return function() { | |
b || (c = a(), b = !0); | |
return c | |
} | |
}; | |
var Qd = /<[^>]*>|&[^;]+;/g, | |
Rd = function(a, b) { | |
return b ? a.replace(Qd, "") : a | |
}, | |
Sd = /[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]/, | |
Td = /^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]/, | |
Ud = /^http:\/\/.*/, | |
aaa = /[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff][^\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]*$/, | |
Vd = /[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc][^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*$/, | |
Wd = /\s+/, | |
Xd = /[\d\u06f0-\u06f9]/, | |
Yd = function(a, b) { | |
var c = 0, | |
d = 0, | |
e = !1; | |
a = Rd(a, b).split(Wd); | |
for (b = 0; b < a.length; b++) { | |
var g = a[b]; | |
Td.test(Rd(g, void 0)) ? (c++, d++) : Ud.test(g) ? e = !0 : Sd.test(Rd(g, void 0)) ? d++ : Xd.test(g) && (e = !0) | |
} | |
return 0 == d ? e ? 1 : 0 : .4 < c / d ? -1 : 1 | |
}; | |
var Zd = function(a) { | |
return /^[\s\xa0]*$/.test(a) | |
}, | |
$d = String.prototype.trim ? function(a) { | |
return a.trim() | |
} : function(a) { | |
return /^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1] | |
}, | |
ae = function(a, b) { | |
a = String(a).toLowerCase(); | |
b = String(b).toLowerCase(); | |
return a < b ? -1 : a == b ? 0 : 1 | |
}, | |
ie = function(a, b) { | |
if (b) a = a.replace(be, "&").replace(ce, "<").replace(de, ">").replace(ee, """).replace(fe, "'").replace(ge, "�"); | |
else { | |
if (!he.test(a)) return a; - 1 != a.indexOf("&") && (a = a.replace(be, "&")); - 1 != a.indexOf("<") && (a = a.replace(ce, | |
"<")); - 1 != a.indexOf(">") && (a = a.replace(de, ">")); - 1 != a.indexOf('"') && (a = a.replace(ee, """)); - 1 != a.indexOf("'") && (a = a.replace(fe, "'")); - 1 != a.indexOf("\x00") && (a = a.replace(ge, "�")) | |
} | |
return a | |
}, | |
be = /&/g, | |
ce = /</g, | |
de = />/g, | |
ee = /"/g, | |
fe = /'/g, | |
ge = /\x00/g, | |
he = /[\x00&<>"']/, | |
ke = function(a, b) { | |
var c = 0; | |
a = $d(String(a)).split("."); | |
b = $d(String(b)).split("."); | |
for (var d = Math.max(a.length, b.length), e = 0; 0 == c && e < d; e++) { | |
var g = a[e] || "", | |
h = b[e] || ""; | |
do { | |
g = /(\d*)(\D*)(.*)/.exec(g) || ["", "", "", ""]; | |
h = /(\d*)(\D*)(.*)/.exec(h) || ["", "", "", ""]; | |
if (0 == g[0].length && 0 == h[0].length) break; | |
c = je(0 == g[1].length ? 0 : parseInt(g[1], 10), 0 == h[1].length ? 0 : parseInt(h[1], 10)) || je(0 == g[2].length, 0 == h[2].length) || je(g[2], h[2]); | |
g = g[3]; | |
h = h[3] | |
} while (0 == c) | |
} | |
return c | |
}, | |
je = function(a, b) { | |
return a < b ? -1 : a > b ? 1 : 0 | |
}; | |
var le; | |
a: { | |
var me = C.navigator; | |
if (me) { | |
var ne = me.userAgent; | |
if (ne) { | |
le = ne; | |
break a | |
} | |
} | |
le = "" | |
} | |
var oe = function(a) { | |
return -1 != le.indexOf(a) | |
}, | |
pe = function(a) { | |
for (var b = /(\w[\w ]+)\/([^\s]+)\s*(?:\((.*?)\))?/g, c = [], d; d = b.exec(a);) c.push([d[1], d[2], d[3] || void 0]); | |
return c | |
}; | |
var qe = function(a, b, c) { | |
for (var d in a) b.call(c, a[d], d, a) | |
}, | |
re = function(a, b) { | |
for (var c in a) | |
if (b.call(void 0, a[c], c, a)) return !0; | |
return !1 | |
}, | |
se = function(a) { | |
var b = [], | |
c = 0, | |
d; | |
for (d in a) b[c++] = a[d]; | |
return b | |
}, | |
te = function(a) { | |
var b = [], | |
c = 0, | |
d; | |
for (d in a) b[c++] = d; | |
return b | |
}, | |
ue = function(a, b) { | |
return null !== a && b in a | |
}, | |
we = function(a) { | |
var b = ve, | |
c; | |
for (c in b) | |
if (b[c] == a) return !0; | |
return !1 | |
}, | |
xe = function(a) { | |
for (var b in a) return !1; | |
return !0 | |
}, | |
ye = function(a, b) { | |
b in a && delete a[b] | |
}, | |
ze = function(a, b, c) { | |
if (null !== a && b in a) throw Error("n`" + | |
b); | |
a[b] = c | |
}, | |
Ae = function(a, b) { | |
return null !== a && b in a ? a[b] : void 0 | |
}, | |
Be = function(a) { | |
var b = {}, | |
c; | |
for (c in a) b[a[c]] = c; | |
return b | |
}, | |
Ce = "constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "), | |
De = function(a, b) { | |
for (var c, d, e = 1; e < arguments.length; e++) { | |
d = arguments[e]; | |
for (c in d) a[c] = d[c]; | |
for (var g = 0; g < Ce.length; g++) c = Ce[g], Object.prototype.hasOwnProperty.call(d, c) && (a[c] = d[c]) | |
} | |
}, | |
Ee = function(a) { | |
var b = arguments.length; | |
if (1 == b && Array.isArray(arguments[0])) return Ee.apply(null, | |
arguments[0]); | |
for (var c = {}, d = 0; d < b; d++) c[arguments[d]] = !0; | |
return c | |
}; | |
var Fe = function() { | |
return oe("Trident") || oe("MSIE") | |
}, | |
Ge = function() { | |
return oe("Firefox") || oe("FxiOS") | |
}, | |
Ie = function() { | |
return oe("Safari") && !(He() || oe("Coast") || oe("Opera") || oe("Edge") || oe("Edg/") || oe("OPR") || Ge() || oe("Silk") || oe("Android")) | |
}, | |
He = function() { | |
return (oe("Chrome") || oe("CriOS")) && !oe("Edge") | |
}, | |
Ke = function() { | |
function a(e) { | |
e = yd(e, d); | |
return c[e] || "" | |
} | |
var b = le; | |
if (Fe()) return Je(b); | |
b = pe(b); | |
var c = {}; | |
qa(b, function(e) { | |
c[e[0]] = e[1] | |
}); | |
var d = ld(ue, c); | |
return oe("Opera") ? a(["Version", "Opera"]) : oe("Edge") ? | |
a(["Edge"]) : oe("Edg/") ? a(["Edg"]) : He() ? a(["Chrome", "CriOS", "HeadlessChrome"]) : (b = b[2]) && b[1] || "" | |
}, | |
Le = function(a) { | |
return 0 <= ke(Ke(), a) | |
}, | |
Je = function(a) { | |
var b = /rv: *([\d\.]*)/.exec(a); | |
if (b && b[1]) return b[1]; | |
b = ""; | |
var c = /MSIE +([\d\.]+)/.exec(a); | |
if (c && c[1]) | |
if (a = /Trident\/(\d.\d)/.exec(a), "7.0" == c[1]) | |
if (a && a[1]) switch (a[1]) { | |
case "4.0": | |
b = "8.0"; | |
break; | |
case "5.0": | |
b = "9.0"; | |
break; | |
case "6.0": | |
b = "10.0"; | |
break; | |
case "7.0": | |
b = "11.0" | |
} else b = "7.0"; | |
else b = c[1]; | |
return b | |
}; | |
var Me = { | |
area: !0, | |
base: !0, | |
br: !0, | |
col: !0, | |
command: !0, | |
embed: !0, | |
hr: !0, | |
img: !0, | |
input: !0, | |
keygen: !0, | |
link: !0, | |
meta: !0, | |
param: !0, | |
source: !0, | |
track: !0, | |
wbr: !0 | |
}; | |
var Pe = function(a, b) { | |
this.g = a === Ne && b || ""; | |
this.i = Oe | |
}; | |
Pe.prototype.Fc = !0; | |
Pe.prototype.Vb = function() { | |
return this.g | |
}; | |
var Qe = function(a) { | |
return a instanceof Pe && a.constructor === Pe && a.i === Oe ? a.g : "type_error:Const" | |
}, | |
Re = function(a) { | |
return new Pe(Ne, a) | |
}, | |
Oe = {}, | |
Ne = {}, | |
Se = Re(""); | |
var Ue = function() { | |
this.g = ""; | |
this.i = Te | |
}; | |
Ue.prototype.Fc = !0; | |
var Te = {}; | |
Ue.prototype.Vb = function() { | |
return this.g.toString() | |
}; | |
var Ve = function(a) { | |
var b = new Ue; | |
b.g = a; | |
return b | |
}; | |
Ve(""); | |
var Ye = function(a, b) { | |
this.i = a === We && b || ""; | |
this.h = Xe | |
}; | |
Ye.prototype.Fc = !0; | |
Ye.prototype.Vb = function() { | |
return this.i.toString() | |
}; | |
Ye.prototype.mj = !0; | |
Ye.prototype.g = function() { | |
return 1 | |
}; | |
var $e = function(a) { | |
return Ze(a).toString() | |
}, | |
Ze = function(a) { | |
if (a instanceof Ye && a.constructor === Ye && a.h === Xe) return a.i; | |
bd(a); | |
return "type_error:TrustedResourceUrl" | |
}, | |
af = /^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/, | |
Xe = {}, | |
bf = function(a) { | |
return new Ye(We, a) | |
}, | |
cf = function(a, b, c) { | |
if (null == c) return b; | |
if ("string" === typeof c) return c ? a + encodeURIComponent(c) : ""; | |
for (var d in c) { | |
var e = c[d]; | |
e = Array.isArray(e) ? e : [e]; | |
for (var g = 0; g < e.length; g++) { | |
var h = e[g]; | |
null != h && (b || (b = a), b += (b.length > a.length ? "&" : "") + encodeURIComponent(d) + | |
"=" + encodeURIComponent(String(h))) | |
} | |
} | |
return b | |
}, | |
We = {}; | |
var ff = function(a, b) { | |
this.i = a === df && b || ""; | |
this.h = ef | |
}; | |
ff.prototype.Fc = !0; | |
ff.prototype.Vb = function() { | |
return this.i.toString() | |
}; | |
ff.prototype.mj = !0; | |
ff.prototype.g = function() { | |
return 1 | |
}; | |
var gf = function(a) { | |
if (a instanceof ff && a.constructor === ff && a.h === ef) return a.i; | |
bd(a); | |
return "type_error:SafeUrl" | |
}, | |
hf = /^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-wav|wav|webm)|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime))(?:;\w+=(?:\w+|"[\w;=]+"))*$/i, | |
jf = /^data:([^,]*);base64,[a-z0-9+\/]+=*$/i, | |
kf = /^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i, | |
lf = function(a) { | |
if (a instanceof ff) return a; | |
a = "object" == typeof a && a.Fc ? a.Vb() : | |
String(a); | |
kf.test(a) || (a = "about:invalid#zClosurez"); | |
return new ff(df, a) | |
}, | |
mf = function(a, b) { | |
if (a instanceof ff) return a; | |
a = "object" == typeof a && a.Fc ? a.Vb() : String(a); | |
if (b && /^data:/i.test(a)) { | |
b = a.replace(/(%0A|%0D)/g, ""); | |
var c = b.match(jf); | |
c = c && hf.test(c[1]); | |
b = new ff(df, c ? b : "about:invalid#zClosurez"); | |
if (b.Vb() == a) return b | |
} | |
kf.test(a) || (a = "about:invalid#zClosurez"); | |
return new ff(df, a) | |
}, | |
ef = {}, | |
df = {}; | |
var of = function() { | |
this.g = ""; | |
this.i = nf | |
}; of .prototype.Fc = !0; | |
var nf = {}, | |
sf = function(a) { | |
a = Qe(a); | |
return 0 === a.length ? pf : rf(a) | |
}; of .prototype.Vb = function() { | |
return this.g | |
}; | |
var tf = function(a) { | |
if (a instanceof of && a.constructor === of && a.i === nf) return a.g; | |
bd(a); | |
return "type_error:SafeStyle" | |
}, | |
rf = function(a) { | |
var b = new of ; | |
b.g = a; | |
return b | |
}, | |
pf = rf(""), | |
vf = function(a) { | |
var b = "", | |
c; | |
for (c in a) { | |
if (!/^[-_a-zA-Z0-9]+$/.test(c)) throw Error("p`" + c); | |
var d = a[c]; | |
null != d && (d = Array.isArray(d) ? ud(d, uf).join(" ") : uf(d), b += c + ":" + d + ";") | |
} | |
return b ? rf(b) : pf | |
}, | |
uf = function(a) { | |
if (a instanceof ff) return 'url("' + gf(a).replace(/</g, "%3c").replace(/[\\"]/g, "\\$&") + '")'; | |
if (a instanceof Pe) a = Qe(a); | |
else { | |
a = String(a); | |
var b = a.replace(wf, "$1").replace(wf, "$1").replace(xf, "url"); | |
if (yf.test(b)) { | |
if (b = !zf.test(a)) { | |
for (var c = b = !0, d = 0; d < a.length; d++) { | |
var e = a.charAt(d); | |
"'" == e && c ? b = !b : '"' == e && b && (c = !c) | |
} | |
b = b && c && Af(a) | |
} | |
a = b ? Bf(a) : "zClosurez" | |
} else a = "zClosurez" | |
} | |
if (/[{;}]/.test(a)) throw new qd("Value does not allow [{;}], got: %s.", [a]); | |
return a | |
}, | |
Af = function(a) { | |
for (var b = !0, c = /^[-_a-zA-Z0-9]$/, d = 0; d < a.length; d++) { | |
var e = a.charAt(d); | |
if ("]" == e) { | |
if (b) return !1; | |
b = !0 | |
} else if ("[" == e) { | |
if (!b) return !1; | |
b = !1 | |
} else if (!b && !c.test(e)) return !1 | |
} | |
return b | |
}, | |
yf = /^[-,."'%_!# a-zA-Z0-9\[\]]+$/, | |
xf = /\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g, | |
wf = /\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?)\([-+*/0-9a-z.%\[\], ]+\)/g, | |
zf = /\/\*/, | |
Bf = function(a) { | |
return a.replace(xf, function(b, c, d, e) { | |
var g = ""; | |
d = d.replace(/^(['"])(.*)\1$/, function(h, k, m) { | |
g = k; | |
return m | |
}); | |
b = lf(d).Vb(); | |
return c + g + b + g + e | |
}) | |
}, | |
Cf = function(a) { | |
var b = "", | |
c = function(d) { | |
Array.isArray(d) ? qa(d, | |
c) : b += tf(d) | |
}; | |
qa(arguments, c); | |
return b ? rf(b) : pf | |
}; | |
var Ef = function() { | |
this.g = ""; | |
this.i = Df | |
}; | |
Ef.prototype.Fc = !0; | |
var Df = {}; | |
Ef.prototype.Vb = function() { | |
return this.g | |
}; | |
var rb = function() { | |
this.h = ""; | |
this.j = Ff; | |
this.i = null | |
}; | |
rb.prototype.mj = !0; | |
rb.prototype.g = function() { | |
return this.i | |
}; | |
rb.prototype.Fc = !0; | |
rb.prototype.Vb = function() { | |
return this.h.toString() | |
}; | |
var sb = function(a) { | |
return Gf(a).toString() | |
}, | |
Gf = function(a) { | |
if (a instanceof rb && a.constructor === rb && a.j === Ff) return a.h; | |
bd(a); | |
return "type_error:SafeHtml" | |
}, | |
If = function(a) { | |
if (a instanceof rb) return a; | |
var b = "object" == typeof a, | |
c = null; | |
b && a.mj && (c = a.g()); | |
return Hf(ie(b && a.Fc ? a.Vb() : String(a)), c) | |
}, | |
Jf = /^[a-zA-Z0-9-]+$/, | |
Kf = { | |
action: !0, | |
cite: !0, | |
data: !0, | |
formaction: !0, | |
href: !0, | |
manifest: !0, | |
poster: !0, | |
src: !0 | |
}, | |
Lf = { | |
APPLET: !0, | |
BASE: !0, | |
EMBED: !0, | |
IFRAME: !0, | |
LINK: !0, | |
MATH: !0, | |
META: !0, | |
OBJECT: !0, | |
SCRIPT: !0, | |
STYLE: !0, | |
SVG: !0, | |
TEMPLATE: !0 | |
}, | |
Nf = function(a, b, c) { | |
var d = String(a); | |
if (!Jf.test(d)) throw Error("q"); | |
if (d.toUpperCase() in Lf) throw Error("q"); | |
return Mf(String(a), b, c) | |
}, | |
Pf = function(a) { | |
var b = If(Of), | |
c = b.g(), | |
d = [], | |
e = function(g) { | |
Array.isArray(g) ? qa(g, e) : (g = If(g), d.push(sb(g)), g = g.g(), 0 == c ? c = g : 0 != g && c != g && (c = null)) | |
}; | |
qa(a, e); | |
return Hf(d.join(sb(b)), c) | |
}, | |
Qf = function(a) { | |
return Pf(Array.prototype.slice.call(arguments)) | |
}, | |
Rf = function(a, b) { | |
var c = Qf(Fd(arguments, 1)); | |
c.i = a; | |
return c | |
}, | |
Ff = {}, | |
Hf = function(a, b) { | |
return Sf(a, b) | |
}, | |
Sf = function(a, b) { | |
var c = new rb; | |
c.h = a; | |
c.i = b; | |
return c | |
}, | |
Mf = function(a, b, c) { | |
var d = null, | |
e = ""; | |
if (b) | |
for (k in b) { | |
if (!Jf.test(k)) throw Error("q"); | |
var g = b[k]; | |
if (null != g) { | |
var h = k; | |
if (g instanceof Pe) g = Qe(g); | |
else if ("style" == h.toLowerCase()) { | |
if (!fd(g)) throw Error("q"); | |
g instanceof of || (g = vf(g)); | |
g = tf(g) | |
} else { | |
if (/^on/i.test(h)) throw Error("q"); | |
if (h.toLowerCase() in Kf) | |
if (g instanceof Ye) g = $e(g); | |
else if (g instanceof ff) g = gf(g); | |
else if ("string" === typeof g) g = lf(g).Vb(); | |
else throw Error("q"); | |
} | |
g.Fc && (g = g.Vb()); | |
h = h + '="' + ie(String(g)) + '"'; | |
e += " " + h | |
} | |
} | |
var k = | |
"<" + a + e; | |
null == c ? c = [] : Array.isArray(c) || (c = [c]); | |
!0 === Me[a.toLowerCase()] ? k += ">" : (d = Qf(c), k += ">" + sb(d) + "</" + a + ">", d = d.g()); | |
(a = b && b.dir) && (/^(ltr|rtl|auto)$/i.test(a) ? d = 0 : d = null); | |
return Sf(k, d) | |
}; | |
Sf("<!DOCTYPE html>", 0); | |
var Of = Sf("", 0); | |
Sf("<br>", 0); | |
var Tf = Pd(function() { | |
var a = document.createElement("div"), | |
b = document.createElement("div"); | |
b.appendChild(document.createElement("div")); | |
a.appendChild(b); | |
b = a.firstChild.firstChild; | |
a.innerHTML = Gf(Of); | |
return !b.parentElement | |
}), | |
tb = function(a, b) { | |
if (Tf()) | |
for (; a.lastChild;) a.removeChild(a.lastChild); | |
a.innerHTML = Gf(b) | |
}, | |
Uf = function(a, b) { | |
a.style.cssText = tf(b) | |
}, | |
Vf = function(a, b) { | |
b = b instanceof ff ? b : mf(b); | |
a.href = gf(b) | |
}, | |
Wf = function(a, b) { | |
a.src = $e(b) | |
}, | |
Xf = function(a, b) { | |
a.src = Ze(b); | |
(b = Xc()) && a.setAttribute("nonce", b) | |
}, | |
Yf = function(a, b) { | |
b instanceof Ue && b.constructor === Ue && b.i === Te ? b = b.g : (bd(b), b = "type_error:SafeScript"); | |
a.text = b; | |
(b = Xc()) && a.setAttribute("nonce", b) | |
}, | |
Zf = function(a, b) { | |
b = b instanceof ff ? b : mf(b); | |
a.href = gf(b) | |
}, | |
$f = function(a, b) { | |
b = b instanceof ff ? b : mf(b); | |
a.replace(gf(b)) | |
}, | |
ag = function(a, b, c, d) { | |
a = a instanceof ff ? a : mf(a); | |
return (b || C).open(gf(a), c ? Qe(c) : "", d, void 0) | |
}; | |
var bg = function(a) { | |
return a.replace(/[\t\r\n ]+/g, " ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g, "") | |
}, | |
cg = function(a) { | |
return encodeURIComponent(String(a)) | |
}, | |
dg = function(a) { | |
return decodeURIComponent(a.replace(/\+/g, " ")) | |
}, | |
eg = function(a) { | |
return a = ie(a, void 0) | |
}, | |
n = function(a) { | |
return -1 != a.indexOf("&") ? "document" in C ? fg(a) : gg(a) : a | |
}, | |
fg = function(a) { | |
var b = { | |
"&": "&", | |
"<": "<", | |
">": ">", | |
""": '"' | |
}; | |
var c = C.document.createElement("div"); | |
return a.replace(hg, function(d, e) { | |
var g = b[d]; | |
if (g) return g; | |
"#" == e.charAt(0) && | |
(e = Number("0" + e.substr(1)), isNaN(e) || (g = String.fromCharCode(e))); | |
g || (g = Sf(d + " ", null), tb(c, g), g = c.firstChild.nodeValue.slice(0, -1)); | |
return b[d] = g | |
}) | |
}, | |
gg = function(a) { | |
return a.replace(/&([^;]+);/g, function(b, c) { | |
switch (c) { | |
case "amp": | |
return "&"; | |
case "lt": | |
return "<"; | |
case "gt": | |
return ">"; | |
case "quot": | |
return '"'; | |
default: | |
return "#" != c.charAt(0) || (c = Number("0" + c.substr(1)), isNaN(c)) ? b : String.fromCharCode(c) | |
} | |
}) | |
}, | |
hg = /&([^;\s<&]+);?/g, | |
ig = String.prototype.repeat ? function(a, b) { | |
return a.repeat(b) | |
} : function(a, b) { | |
return Array(b + | |
1).join(a) | |
}, | |
jg = function(a, b) { | |
a = String(a); | |
var c = a.indexOf("."); - 1 == c && (c = a.length); | |
return ig("0", Math.max(0, b - c)) + a | |
}, | |
kg = function(a) { | |
return null == a ? "" : String(a) | |
}, | |
lg = function(a) { | |
return Array.prototype.join.call(arguments, "") | |
}, | |
mg = function(a) { | |
return String(a).replace(/\-([a-z])/g, function(b, c) { | |
return c.toUpperCase() | |
}) | |
}, | |
ng = function(a) { | |
return a.replace(/(^|[\s]+)([a-z])/g, function(b, c, d) { | |
return c + d.toUpperCase() | |
}) | |
}; | |
var og = function() { | |
return oe("iPhone") && !oe("iPod") && !oe("iPad") | |
}, | |
pg = function() { | |
return og() || oe("iPad") || oe("iPod") | |
}; | |
var qg = function(a) { | |
qg[" "](a); | |
return a | |
}; | |
qg[" "] = $c; | |
var rg = function(a, b) { | |
try { | |
return qg(a[b]), !0 | |
} catch (c) {} | |
return !1 | |
}, | |
tg = function(a, b) { | |
var c = sg; | |
return Object.prototype.hasOwnProperty.call(c, a) ? c[a] : c[a] = b(a) | |
}; | |
var ug = oe("Opera"), | |
F = Fe(), | |
vg = oe("Edge"), | |
wg = vg || F, | |
xg = oe("Gecko") && !(-1 != le.toLowerCase().indexOf("webkit") && !oe("Edge")) && !(oe("Trident") || oe("MSIE")) && !oe("Edge"), | |
yg = -1 != le.toLowerCase().indexOf("webkit") && !oe("Edge"), | |
zg = oe("Macintosh"), | |
Ag = oe("Windows"), | |
Bg = oe("Linux") || oe("CrOS"), | |
Cg = oe("Android"), | |
Dg = og(), | |
Eg = oe("iPad"), | |
Fg = oe("iPod"), | |
Gg = pg(), | |
Hg = function() { | |
var a = C.document; | |
return a ? a.documentMode : void 0 | |
}, | |
Ig; | |
a: { | |
var Jg = "", | |
Kg = function() { | |
var a = le; | |
if (xg) return /rv:([^\);]+)(\)|;)/.exec(a); | |
if (vg) return /Edge\/([\d\.]+)/.exec(a); | |
if (F) return /\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a); | |
if (yg) return /WebKit\/(\S+)/.exec(a); | |
if (ug) return /(?:Version)[ \/]?(\S+)/.exec(a) | |
}();Kg && (Jg = Kg ? Kg[1] : ""); | |
if (F) { | |
var Lg = Hg(); | |
if (null != Lg && Lg > parseFloat(Jg)) { | |
Ig = String(Lg); | |
break a | |
} | |
} | |
Ig = Jg | |
} | |
var Mg = Ig, | |
sg = {}, | |
Ng = function(a) { | |
return tg(a, function() { | |
return 0 <= ke(Mg, a) | |
}) | |
}, | |
Pg = function(a) { | |
return Number(Og) >= a | |
}, | |
Qg; | |
if (C.document && F) { | |
var Rg = Hg(); | |
Qg = Rg ? Rg : parseInt(Mg, 10) || void 0 | |
} else Qg = void 0; | |
var Og = Qg; | |
var Sg = Ge(), | |
Tg = og() || oe("iPod"), | |
Ug = oe("iPad"), | |
Vg = oe("Android") && !(He() || Ge() || oe("Opera") || oe("Silk")), | |
Wg = He(), | |
Xg = Ie() && !pg(); | |
var Yg = {}, | |
Zg = null, | |
$g = function(a) { | |
var b; | |
void 0 === b && (b = 0); | |
if (!Zg) { | |
Zg = {}; | |
for (var c = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""), d = ["+/=", "+/", "-_=", "-_.", "-_"], e = 0; 5 > e; e++) { | |
var g = c.concat(d[e].split("")); | |
Yg[e] = g; | |
for (var h = 0; h < g.length; h++) { | |
var k = g[h]; | |
void 0 === Zg[k] && (Zg[k] = h) | |
} | |
} | |
} | |
b = Yg[b]; | |
c = []; | |
for (d = 0; d < a.length; d += 3) { | |
var m = a[d], | |
p = (e = d + 1 < a.length) ? a[d + 1] : 0; | |
k = (g = d + 2 < a.length) ? a[d + 2] : 0; | |
h = m >> 2; | |
m = (m & 3) << 4 | p >> 4; | |
p = (p & 15) << 2 | k >> 6; | |
k &= 63; | |
g || (k = 64, e || (p = 64)); | |
c.push(b[h], b[m], b[p] || | |
"", b[k] || "") | |
} | |
return c.join("") | |
}; | |
var H = function() {}, | |
ah = "function" == typeof Uint8Array, | |
K = function(a, b, c, d, e) { | |
a.g = null; | |
b || (b = c ? [c] : []); | |
a.A = c ? String(c) : void 0; | |
a.j = 0 === c ? -1 : 0; | |
a.i = b; | |
a: { | |
if (b = a.i.length) | |
if (--b, c = a.i[b], !(null === c || "object" != typeof c || Array.isArray(c) || ah && c instanceof Uint8Array)) { | |
a.w = b - a.j; | |
a.h = c; | |
break a | |
} a.w = Number.MAX_VALUE | |
} | |
a.u = {}; | |
if (d) | |
for (b = 0; b < d.length; b++) c = d[b], c < a.w ? (c += a.j, a.i[c] = a.i[c] || bh) : (ch(a), a.h[c] = a.h[c] || bh); | |
if (e && e.length) | |
for (b = 0; b < e.length; b++) dh(a, e[b]) | |
}, | |
bh = [], | |
ch = function(a) { | |
var b = a.w + a.j; | |
a.i[b] || (a.h = | |
a.i[b] = {}) | |
}, | |
eh = function(a, b, c) { | |
for (var d = [], e = 0; e < a.length; e++) d[e] = b.call(a[e], c, a[e]); | |
return d | |
}, | |
l = function(a, b) { | |
if (b < a.w) { | |
b += a.j; | |
var c = a.i[b]; | |
return c === bh ? a.i[b] = [] : c | |
} | |
if (a.h) return c = a.h[b], c === bh ? a.h[b] = [] : c | |
}, | |
fh = function(a, b) { | |
a = l(a, b); | |
return null == a ? a : +a | |
}, | |
L = function(a, b) { | |
a = l(a, b); | |
return null == a ? a : !!a | |
}, | |
gh = function(a, b, c) { | |
a = l(a, b); | |
return null == a ? c : a | |
}, | |
hh = function(a, b, c) { | |
a = L(a, b); | |
return null == a ? c : a | |
}, | |
M = function(a, b, c) { | |
b < a.w ? a.i[b + a.j] = c : (ch(a), a.h[b] = c); | |
return a | |
}, | |
jh = function(a, b, c) { | |
ih(a, b, c, "") | |
}, | |
ih = | |
function(a, b, c, d) { | |
c !== d ? M(a, b, c) : b < a.w ? a.i[b + a.j] = null : (ch(a), delete a.h[b]); | |
return a | |
}, | |
lh = function(a, b, c) { | |
var d = dh(a, kh[0]); | |
d && d !== b && void 0 !== c && (a.g && d in a.g && (a.g[d] = void 0), M(a, d, void 0)); | |
M(a, b, c) | |
}, | |
dh = function(a, b) { | |
for (var c, d, e = 0; e < b.length; e++) { | |
var g = b[e], | |
h = l(a, g); | |
null != h && (c = g, d = h, M(a, g, void 0)) | |
} | |
return c ? (M(a, c, d), c) : 0 | |
}, | |
mh = function(a, b, c, d) { | |
a.g || (a.g = {}); | |
if (!a.g[c]) { | |
var e = l(a, c); | |
if (d || e) a.g[c] = new b(e) | |
} | |
return a.g[c] | |
}, | |
N = function(a, b, c) { | |
nh(a, b, c); | |
b = a.g[c]; | |
b == bh && (b = a.g[c] = []); | |
return b | |
}, | |
nh = function(a, | |
b, c) { | |
a.g || (a.g = {}); | |
if (!a.g[c]) { | |
for (var d = l(a, c), e = [], g = 0; g < d.length; g++) e[g] = new b(d[g]); | |
a.g[c] = e | |
} | |
}, | |
oh = function(a, b, c) { | |
a.g || (a.g = {}); | |
var d = c ? c.Mb() : c; | |
a.g[b] = c; | |
M(a, b, d) | |
}, | |
ph = function(a, b, c) { | |
a.g || (a.g = {}); | |
c = c || []; | |
for (var d = [], e = 0; e < c.length; e++) d[e] = c[e].Mb(); | |
a.g[b] = c; | |
M(a, b, d) | |
}, | |
qh = function(a) { | |
if (a.g) | |
for (var b in a.g) { | |
var c = a.g[b]; | |
if (cd(c)) | |
for (var d = 0; d < c.length; d++) c[d] && c[d].Mb(); | |
else c && c.Mb() | |
} | |
}; | |
H.prototype.Mb = function() { | |
qh(this); | |
return this.i | |
}; | |
H.prototype.o = ah ? function() { | |
var a = Uint8Array.prototype.toJSON; | |
Uint8Array.prototype.toJSON = function() { | |
return $g(this) | |
}; | |
try { | |
return JSON.stringify(this.i && this.Mb(), rh) | |
} finally { | |
Uint8Array.prototype.toJSON = a | |
} | |
} : function() { | |
return JSON.stringify(this.i && this.Mb(), rh) | |
}; | |
var rh = function(a, b) { | |
return "number" !== typeof b || !isNaN(b) && Infinity !== b && -Infinity !== b ? b : String(b) | |
}; | |
H.prototype.toString = function() { | |
qh(this); | |
return this.i.toString() | |
}; | |
var th = function(a, b) { | |
return a == b || !(!a || !b) && a instanceof b.constructor && sh(a.Mb(), b.Mb()) | |
}, | |
uh = function(a, b) { | |
a = a || {}; | |
b = b || {}; | |
var c = {}, | |
d; | |
for (d in a) c[d] = 0; | |
for (d in b) c[d] = 0; | |
for (d in c) | |
if (!sh(a[d], b[d])) return !1; | |
return !0 | |
}, | |
sh = function(a, b) { | |
if (a == b) return !0; | |
if (!fd(a) || !fd(b)) return "number" === typeof a && isNaN(a) || "number" === typeof b && isNaN(b) ? String(a) == String(b) : !1; | |
if (a.constructor != b.constructor) return !1; | |
if (ah && a.constructor === Uint8Array) { | |
if (a.length != b.length) return !1; | |
for (var c = 0; c < a.length; c++) | |
if (a[c] != | |
b[c]) return !1; | |
return !0 | |
} | |
if (a.constructor === Array) { | |
var d = void 0, | |
e = void 0, | |
g = Math.max(a.length, b.length); | |
for (c = 0; c < g; c++) { | |
var h = a[c], | |
k = b[c]; | |
h && h.constructor == Object && (d = h, h = void 0); | |
k && k.constructor == Object && (e = k, k = void 0); | |
if (!sh(h, k)) return !1 | |
} | |
return d || e ? (d = d || {}, e = e || {}, uh(d, e)) : !0 | |
} | |
if (a.constructor === Object) return uh(a, b); | |
throw Error("r"); | |
}, | |
wh = function(a) { | |
return new a.constructor(vh(a.Mb())) | |
}, | |
vh = function(a) { | |
if (Array.isArray(a)) { | |
for (var b = Array(a.length), c = 0; c < a.length; c++) { | |
var d = a[c]; | |
null != d && (b[c] = | |
"object" == typeof d ? vh(d) : d) | |
} | |
return b | |
} | |
if (ah && a instanceof Uint8Array) return new Uint8Array(a); | |
b = {}; | |
for (c in a) d = a[c], null != d && (b[c] = "object" == typeof d ? vh(d) : d); | |
return b | |
}; | |
var yh = function(a) { | |
K(this, a, "di", xh, null) | |
}; | |
E(yh, H); | |
var xh = [6, 7, 10, 11, 12]; | |
yh.messageId = "di"; | |
var zh = function(a) { | |
K(this, a, "e", null, null) | |
}; | |
E(zh, H); | |
zh.messageId = "e"; | |
var Ah = function(a) { | |
K(this, a, "f.ri", null, null) | |
}; | |
E(Ah, H); | |
Ah.messageId = "f.ri"; | |
var Bh = function(a) { | |
K(this, a, 0, null, kh) | |
}; | |
E(Bh, H); | |
var kh = [ | |
[2, 3] | |
]; | |
var Ch = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(Ch, H); | |
var Dh = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(Dh, H); | |
Dh.prototype.Z = function() { | |
return gh(this, 1, "") | |
}; | |
var Eh = function(a, b) { | |
jh(a, 1, b) | |
}; | |
var Fh = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(Fh, H); | |
var Gh = function(a) { | |
return hh(a, 1, !1) | |
}; | |
var Hh = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(Hh, H); | |
var Jh = function(a) { | |
K(this, a, "itemreviews", Ih, null) | |
}; | |
E(Jh, H); | |
var Lh = function(a) { | |
K(this, a, "review", Kh, null) | |
}; | |
E(Lh, H); | |
var Ih = [4]; | |
Jh.messageId = "itemreviews"; | |
Jh.prototype.Z = function() { | |
return gh(this, 1, "") | |
}; | |
var Mh = function(a) { | |
return mh(a, Ch, 3) | |
}, | |
Nh = function(a) { | |
return N(a, Lh, 4) | |
}, | |
Kh = [5], | |
Ph = function(a, b) { | |
var c, d = gh(b, 10, ""), | |
e; | |
if (e = c = mh(b, Dh, 1)) { | |
e = c; | |
var g = { | |
va: gh(e, 1, ""), | |
Jt: gh(e, 2, "") | |
}; | |
a && (g.K = e); | |
e = g | |
} | |
if (g = c = mh(b, Hh, 2)) { | |
g = c; | |
var h = { | |
bu: gh(g, 1, ""), | |
userName: gh(g, 2, ""), | |
ci: gh(g, 3, ""), | |
St: gh(g, 4, ""), | |
Vt: hh(g, 5, !1) | |
}; | |
a && (h.K = g); | |
g = h | |
} | |
h = gh(b, 3, 0); | |
var k = gh(b, 4, ""), | |
m = null == (c = l(b, 5)) ? void 0 : c, | |
p = gh(b, 6, 0), | |
q = gh(b, 7, 0), | |
t = gh(b, 8, ""), | |
v; | |
if (v = c = Oh(b)) { | |
v = gh(c, 1, ""); | |
var w = fh(c, 2); | |
var J = null == w ? 0 : w; | |
var G; | |
if (G = w = Mh(c)) { | |
G = hh(w, 1, !1); | |
var I = gh(w, 3, ""); | |
null != I && "string" !== typeof I && (ah && I instanceof Uint8Array ? I = $g(I) : (bd(I), I = null)); | |
G = { | |
vh: G, | |
ot: I | |
}; | |
a && (G.K = w) | |
} | |
v = { | |
va: v, | |
kt: J, | |
Rd: G, | |
ff: eh(Nh(c), Ph, a), | |
Fj: gh(c, 5, 0), | |
Zt: gh(c, 6, 0), | |
Et: hh(c, 7, !1) | |
}; | |
a && (v.K = c) | |
} | |
if (w = c = mh(b, Fh, 11)) w = { | |
It: hh(c, 1, !1), | |
wn: gh(c, 2, 0) | |
}, a && (w.K = c); | |
d = { | |
tt: d, | |
Kt: e, | |
wc: g, | |
tb: h, | |
comment: k, | |
Pt: m, | |
nl: p, | |
Fj: q, | |
af: t, | |
Be: v, | |
Ut: w | |
}; | |
a && (d.K = b); | |
return d | |
}; | |
Lh.messageId = "review"; | |
var Qh = function(a) { | |
return gh(a, 10, "") | |
}, | |
Rh = function(a, b) { | |
jh(a, 10, b) | |
}, | |
Sh = function(a, b) { | |
jh(a, 8, b) | |
}, | |
Oh = function(a) { | |
return mh(a, Jh, 9) | |
}; | |
var Th = function(a) { | |
K(this, a, "vote", null, null) | |
}; | |
E(Th, H); | |
Th.messageId = "vote"; | |
var lc = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(lc, H); | |
lc.prototype.getSeconds = function() { | |
return gh(this, 1, 0) | |
}; | |
lc.prototype.setSeconds = function(a) { | |
return ih(this, 1, a, 0) | |
}; | |
var Uh = function(a) { | |
K(this, a, "f.bo", null, null) | |
}; | |
E(Uh, H); | |
Uh.messageId = "f.bo"; | |
Uh.prototype.getValue = function() { | |
return L(this, 1) | |
}; | |
Uh.prototype.setValue = function(a) { | |
return M(this, 1, a) | |
}; | |
var Vh = function(a) { | |
K(this, a, "er", null, null) | |
}; | |
E(Vh, H); | |
Vh.messageId = "er"; | |
Vh.prototype.getData = function() { | |
return l(this, 4) | |
}; | |
var Wh = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(Wh, H); | |
var Xh = function(a, b) { | |
jh(a, 1, b) | |
}; | |
var Zh = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(Zh, H); | |
var $h = function(a, b) { | |
jh(a, 1, b) | |
}, | |
ai = function(a, b) { | |
jh(a, 2, b) | |
}; | |
var bi = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(bi, H); | |
var ci = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(ci, H); | |
var di = function(a, b) { | |
jh(a, 1, b) | |
}; | |
var fi = function(a) { | |
K(this, a, 0, ei, null) | |
}; | |
E(fi, H); | |
var ei = [5], | |
gi = function(a, b) { | |
jh(a, 1, b) | |
}; | |
var hi = function(a) { | |
K(this, a, "cwssupportissue", null, null) | |
}; | |
E(hi, H); | |
hi.messageId = "cwssupportissue"; | |
f = hi.prototype; | |
f.getId = function() { | |
return l(this, 1) | |
}; | |
f.getState = function() { | |
return l(this, 3) | |
}; | |
f.getTitle = function() { | |
return l(this, 5) | |
}; | |
f.setTitle = function(a) { | |
return M(this, 5, a) | |
}; | |
f.getCreationTime = function() { | |
return l(this, 12) | |
}; | |
f.Xi = function() { | |
return l(this, 13) | |
}; | |
f.ye = function() { | |
return mh(this, Hh, 16) | |
}; | |
f.yd = function() { | |
return mh(this, Fh, 17) | |
}; | |
var ii = function(a) { | |
K(this, a, "cwssupportreply", null, null) | |
}; | |
E(ii, H); | |
ii.messageId = "cwssupportreply"; | |
ii.prototype.getId = function() { | |
return l(this, 1) | |
}; | |
var ji = function(a, b) { | |
M(a, 2, b) | |
}; | |
ii.prototype.getCreationTime = function() { | |
return l(this, 6) | |
}; | |
ii.prototype.Xi = function() { | |
return l(this, 7) | |
}; | |
ii.prototype.ye = function() { | |
return mh(this, Hh, 11) | |
}; | |
ii.prototype.yd = function() { | |
return mh(this, Fh, 12) | |
}; | |
var li = function(a) { | |
K(this, a, "cwssupportsearchissuesresponse", ki, null) | |
}; | |
E(li, H); | |
var ki = [1]; | |
li.messageId = "cwssupportsearchissuesresponse"; | |
var mi = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(mi, H); | |
var ni = function(a, b) { | |
M(a, 2, b) | |
}; | |
mi.prototype.getState = function() { | |
return l(this, 4) | |
}; | |
var pi = function(a) { | |
K(this, a, 0, oi, null) | |
}; | |
E(pi, H); | |
var oi = [1], | |
qi = function(a, b) { | |
nh(a, mi, 1); | |
var c = a.g[1]; | |
c || (c = a.g[1] = []); | |
b = b ? b : new mi; | |
a = l(a, 1); | |
c.push(b); | |
a.push(b.Mb()) | |
}; | |
var si = function(a) { | |
K(this, a, "cwssupportsearchrepliesresponse", ri, null) | |
}; | |
E(si, H); | |
var ri = [1]; | |
si.messageId = "cwssupportsearchrepliesresponse"; | |
var ui = function(a) { | |
K(this, a, "cwssupportsearchrepliesbundle", ti, null) | |
}; | |
E(ui, H); | |
var ti = [1]; | |
ui.messageId = "cwssupportsearchrepliesbundle"; | |
var wi = function(a) { | |
K(this, a, "autocompleteresponse", vi, null) | |
}; | |
E(wi, H); | |
var vi = [2]; | |
wi.messageId = "autocompleteresponse"; | |
var xi = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(xi, H); | |
var zi = function(a) { | |
K(this, a, 0, yi, null) | |
}; | |
E(zi, H); | |
var yi = [1]; | |
var Ai = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(Ai, H); | |
Ai.prototype.getId = function() { | |
return l(this, 1) | |
}; | |
var Ci = function(a) { | |
K(this, a, 0, Bi, null) | |
}; | |
E(Ci, H); | |
var Ei = function(a) { | |
K(this, a, 0, Di, null) | |
}; | |
E(Ei, H); | |
var Fi = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(Fi, H); | |
var Bi = [8, 44, 69, 73], | |
Di = [1], | |
Gi = function(a) { | |
return N(a, Ci, 1) | |
}; | |
Fi.prototype.getId = function() { | |
return l(this, 1) | |
}; | |
Fi.prototype.getTitle = function() { | |
return l(this, 4) | |
}; | |
Fi.prototype.setTitle = function(a) { | |
return M(this, 4, a) | |
}; | |
Ci.prototype.Z = function() { | |
return l(this, 1) | |
}; | |
Ci.prototype.getTitle = function() { | |
return l(this, 2) | |
}; | |
Ci.prototype.setTitle = function(a) { | |
return M(this, 2, a) | |
}; | |
var Hi = function(a) { | |
return l(a, 5) | |
}, | |
Ii = function(a) { | |
return l(a, 7) | |
}, | |
aa = function(a) { | |
return l(a, 9) | |
}, | |
Ji = function(a) { | |
return l(a, 11) | |
}, | |
Ki = function(a) { | |
return l(a, 23) | |
}; | |
Ci.prototype.ua = function() { | |
return l(this, 24) | |
}; | |
var Li = function(a) { | |
return fh(a, 14) | |
}, | |
Mi = function(a) { | |
return l(a, 36) | |
}, | |
Ni = function(a) { | |
return l(a, 17) | |
}, | |
Oi = function(a) { | |
return gh(a, 22, 0) | |
}; | |
Ci.prototype.nd = function() { | |
return l(this, 46) | |
}; | |
var Pi = function(a) { | |
return l(a, 47) | |
}; | |
Ci.prototype.getContainer = function() { | |
return gh(this, 55, 0) | |
}; | |
var Qi = function(a) { | |
return mh(a, Ei, 63) | |
}, | |
Ri = function(a) { | |
return l(a, 70) | |
}, | |
Si = function(a) { | |
return L(a, 71) | |
}; | |
var Ui = function(a) { | |
K(this, a, 0, Ti, null) | |
}; | |
E(Ui, H); | |
var Ti = [19, 20, 21]; | |
Ui.prototype.getManifest = function() { | |
return l(this, 1) | |
}; | |
var Wi = function(a) { | |
K(this, a, 0, Vi, null) | |
}; | |
E(Wi, H); | |
var Xi = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(Xi, H); | |
var Vi = [12, 13, 14, 15, 53, 33, 34, 35, 43, 31, 32, 44, 45]; | |
Xi.prototype.getName = function() { | |
return l(this, 1) | |
}; | |
var Yi = function(a) { | |
return N(a, Xi, 45) | |
}; | |
var Zi = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(Zi, H); | |
var $i = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E($i, H); | |
var bj = function(a) { | |
K(this, a, 0, aj, null) | |
}; | |
E(bj, H); | |
var aj = [9, 12, 30, 33]; | |
bj.prototype.D = function() { | |
return mh(this, Ci, 1, 1) | |
}; | |
bj.prototype.ua = function() { | |
return l(this, 5) | |
}; | |
var cj = function(a) { | |
return l(a, 6) | |
}, | |
dj = function(a) { | |
return l(a, 7) | |
}, | |
ej = function(a) { | |
return l(a, 9) | |
}, | |
fj = function(a) { | |
return mh(a, Ui, 10) | |
}, | |
gj = function(a) { | |
return N(a, Ci, 12) | |
}, | |
hj = function(a) { | |
return l(a, 23) | |
}; | |
bj.prototype.setSize = function(a) { | |
return M(this, 26, a) | |
}; | |
var ij = function(a) { | |
return mh(a, $i, 36) | |
}; | |
var kj = function(a) { | |
K(this, a, 0, jj, null) | |
}; | |
E(kj, H); | |
var jj = [3]; | |
kj.prototype.Ib = function(a) { | |
oh(this, 1, a) | |
}; | |
var lj = function(a) { | |
K(this, a, "codenamepair", null, null) | |
}; | |
E(lj, H); | |
var mj = function(a, b) { | |
var c, d = { | |
code: null == (c = l(b, 1)) ? void 0 : c, | |
name: null == (c = l(b, 2)) ? void 0 : c | |
}; | |
a && (d.K = b); | |
return d | |
}; | |
lj.messageId = "codenamepair"; | |
lj.prototype.getName = function() { | |
return l(this, 2) | |
}; | |
var oj = function(a) { | |
K(this, a, "codenamepairlist", nj, null) | |
}; | |
E(oj, H); | |
var nj = [1], | |
pj = function(a, b) { | |
var c = { | |
Ug: eh(N(b, lj, 1), mj, a) | |
}; | |
a && (c.K = b); | |
return c | |
}; | |
oj.messageId = "codenamepairlist"; | |
var qj = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(qj, H); | |
var rj = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(rj, H); | |
rj.prototype.Z = function() { | |
return l(this, 2) | |
}; | |
var sj = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(sj, H); | |
var tj = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(tj, H); | |
tj.prototype.Z = function() { | |
return l(this, 1) | |
}; | |
var uj = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(uj, H); | |
uj.prototype.Z = function() { | |
return l(this, 2) | |
}; | |
var vj = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(vj, H); | |
vj.prototype.Z = function() { | |
return l(this, 2) | |
}; | |
vj.prototype.nd = function() { | |
return l(this, 14) | |
}; | |
var wj = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(wj, H); | |
var xj = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(xj, H); | |
xj.prototype.getContainer = function() { | |
return l(this, 8) | |
}; | |
var zj = function(a) { | |
K(this, a, 0, yj, null) | |
}; | |
E(zj, H); | |
var yj = [1]; | |
var Aj = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(Aj, H); | |
var Bj = function(a, b) { | |
var c, d = { | |
name: null == (c = l(b, 1)) ? void 0 : c, | |
Tk: null == (c = l(b, 2)) ? void 0 : c, | |
description: null == (c = l(b, 3)) ? void 0 : c | |
}; | |
a && (d.K = b); | |
return d | |
}; | |
Aj.prototype.getName = function() { | |
return l(this, 1) | |
}; | |
var Cj = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(Cj, H); | |
var Dj = function(a, b) { | |
var c, d = { | |
key: null == (c = l(b, 1)) ? void 0 : c, | |
value: null == (c = l(b, 2)) ? void 0 : c | |
}; | |
a && (d.K = b); | |
return d | |
}; | |
Cj.prototype.getValue = function() { | |
return l(this, 2) | |
}; | |
Cj.prototype.setValue = function(a) { | |
return M(this, 2, a) | |
}; | |
var Ej = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(Ej, H); | |
var Gj = function(a) { | |
K(this, a, "getitemdetailresponse", Fj, null) | |
}; | |
E(Gj, H); | |
var Fj = [2, 3, 4]; | |
Gj.messageId = "getitemdetailresponse"; | |
Gj.prototype.Ya = function() { | |
return mh(this, bj, 1, 1) | |
}; | |
var Ij = function(a) { | |
K(this, a, 0, Hj, null) | |
}; | |
E(Ij, H); | |
var Hj = [2], | |
Jj = function(a, b) { | |
ph(a, 2, b) | |
}, | |
Kj = function(a, b) { | |
M(a, 5, b) | |
}; | |
var Mj = function(a) { | |
K(this, a, "getitemsresponse", Lj, null) | |
}; | |
E(Mj, H); | |
var Lj = [1, 3, 7]; | |
Mj.messageId = "getitemsresponse"; | |
Mj.prototype.getToken = function() { | |
return l(this, 4) | |
}; | |
Mj.prototype.fd = function(a) { | |
M(this, 4, a) | |
}; | |
var Nj = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(Nj, H); | |
var Pj = function(a) { | |
K(this, a, "getloginstateresponse", Oj, null) | |
}; | |
E(Pj, H); | |
var Oj = [2]; | |
Pj.messageId = "getloginstateresponse"; | |
var Rj = function(a) { | |
K(this, a, 0, Qj, null) | |
}; | |
E(Rj, H); | |
var Qj = [4], | |
Tj = function(a, b) { | |
var c, d; | |
if (d = c = Sj(b)) { | |
d = c; | |
var e, g = { | |
Yt: null == (e = l(d, 1)) ? void 0 : e, | |
$t: null == (e = l(d, 2)) ? void 0 : e | |
}; | |
a && (g.K = d); | |
d = g | |
} | |
e = { | |
jt: d, | |
name: null == (c = l(b, 2)) ? void 0 : c, | |
Rt: null == (c = l(b, 3)) ? void 0 : c, | |
Ht: null == (c = l(b, 4)) ? void 0 : c | |
}; | |
a && (e.K = b); | |
return e | |
}, | |
Sj = function(a) { | |
return mh(a, Zi, 1, 1) | |
}; | |
Rj.prototype.getName = function() { | |
return l(this, 2) | |
}; | |
var Vj = function(a) { | |
K(this, a, "getmanagedaccountsinforesponse", Uj, null) | |
}; | |
E(Vj, H); | |
var Uj = [1]; | |
Vj.messageId = "getmanagedaccountsinforesponse"; | |
var Xj = function(a) { | |
K(this, a, "getuseritemsresponse", Wj, null) | |
}; | |
E(Xj, H); | |
var Wj = [1]; | |
Xj.messageId = "getuseritemsresponse"; | |
var Yj = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(Yj, H); | |
Yj.prototype.nb = function() { | |
return l(this, 2) | |
}; | |
var ak = function(a) { | |
K(this, a, 0, Zj, null) | |
}; | |
E(ak, H); | |
var Zj = [1]; | |
ak.prototype.Ib = function(a) { | |
M(this, 2, a) | |
}; | |
var bk = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(bk, H); | |
bk.prototype.Ib = function(a) { | |
M(this, 1, a) | |
}; | |
bk.prototype.nb = function() { | |
return l(this, 2) | |
}; | |
var ck = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(ck, H); | |
ck.prototype.getName = function() { | |
return l(this, 1) | |
}; | |
var dk = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(dk, H); | |
var fk = function(a) { | |
K(this, a, "initialmodeldata", ek, null) | |
}; | |
E(fk, H); | |
var ek = [10]; | |
fk.messageId = "initialmodeldata"; | |
fk.prototype.getContainer = function() { | |
return l(this, 17) | |
}; | |
var hk = function(a) { | |
K(this, a, "initialsessiondata", gk, null) | |
}; | |
E(hk, H); | |
var gk = [4, 5, 11, 21, 22, 27]; | |
hk.messageId = "initialsessiondata"; | |
hk.prototype.lf = function(a) { | |
M(this, 10, a) | |
}; | |
var ik = function(a) { | |
K(this, a, "initialdata", null, null) | |
}; | |
E(ik, H); | |
ik.messageId = "initialdata"; | |
var kk = function(a) { | |
K(this, a, "iteminsertresponse", jk, null) | |
}; | |
E(kk, H); | |
var jk = [1, 2]; | |
kk.messageId = "iteminsertresponse"; | |
var lk = function(a) { | |
K(this, a, "versionresponse", null, null) | |
}; | |
E(lk, H); | |
lk.messageId = "versionresponse"; | |
var nk = function(a) { | |
K(this, a, 0, mk, null) | |
}; | |
E(nk, H); | |
var mk = [2]; | |
var ok = function(a) { | |
K(this, a, "xhrerrorresponse", null, null) | |
}; | |
E(ok, H); | |
ok.messageId = "xhrerrorresponse"; | |
var pk = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(pk, H); | |
var sk = function(a) { | |
K(this, a, "botguardcreationresponse", qk, rk) | |
}; | |
E(sk, H); | |
var qk = [1], | |
rk = [ | |
[2, 3] | |
]; | |
sk.messageId = "botguardcreationresponse"; | |
sk.prototype.getUrl = function() { | |
return mh(this, dk, 2) | |
}; | |
var tk = function(a) { | |
K(this, a, "botguarddecoderesponse", null, null) | |
}; | |
E(tk, H); | |
tk.messageId = "botguarddecoderesponse"; | |
var uk = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(uk, H); | |
var vk = function(a) { | |
this.Qr = a; | |
this.To = [] | |
}; | |
vk.prototype.toString = function() { | |
return this.Qr | |
}; | |
vk.prototype.Bl = function() { | |
return this.To | |
}; | |
(function() { | |
function a(h) { | |
this.t = {}; | |
this.tick = function(k, m, p) { | |
this.t[k] = [void 0 != p ? p : (new Date).getTime(), m]; | |
if (void 0 == p) try { | |
window.console.timeStamp("CSI/" + k) | |
} catch (q) {} | |
}; | |
this.tick("start", null, h) | |
} | |
var b; | |
if (window.performance) var c = (b = window.performance.timing) && b.responseStart; | |
var d = 0 < c ? new a(c) : new a; | |
window.jstiming = { | |
Timer: a, | |
load: d | |
}; | |
if (b) { | |
var e = b.navigationStart; | |
0 < e && c >= e && (window.jstiming.srt = c - e) | |
} | |
if (b) { | |
var g = window.jstiming.load; | |
0 < e && c >= e && (g.tick("_wtsrt", void 0, e), g.tick("wtsrt_", "_wtsrt", | |
c), g.tick("tbsd_", "wtsrt_")) | |
} | |
try { | |
b = null, window.chrome && window.chrome.csi && (b = Math.floor(window.chrome.csi().pageT), g && 0 < e && (g.tick("_tbnd", void 0, window.chrome.csi().startE), g.tick("tbnd_", "_tbnd", e))), null == b && window.gtbExternal && (b = window.gtbExternal.pageT()), null == b && window.external && (b = window.external.pageT, g && 0 < e && (g.tick("_tbnd", void 0, window.external.startE), g.tick("tbnd_", "_tbnd", e))), b && (window.jstiming.pt = b) | |
} catch (h) {} | |
})(); | |
if (window.jstiming) { | |
window.jstiming.Sk = {}; | |
window.jstiming.Kr = 1; | |
var wk = function(a, b, c) { | |
var d = a.t[b], | |
e = a.t.start; | |
if (d && (e || c)) return d = a.t[b][0], void 0 != c ? e = c : e = e[0], Math.round(d - e) | |
}, | |
xk = function(a, b, c) { | |
var d = ""; | |
window.jstiming.srt && (d += "&srt=" + window.jstiming.srt, delete window.jstiming.srt); | |
window.jstiming.pt && (d += "&tbsrt=" + window.jstiming.pt, delete window.jstiming.pt); | |
try { | |
window.external && window.external.tran ? d += "&tran=" + window.external.tran : window.gtbExternal && window.gtbExternal.tran ? d += "&tran=" + | |
window.gtbExternal.tran() : window.chrome && window.chrome.csi && (d += "&tran=" + window.chrome.csi().tran) | |
} catch (t) {} | |
var e = window.chrome; | |
if (e && (e = e.loadTimes)) { | |
e().wasFetchedViaSpdy && (d += "&p=s"); | |
if (e().wasNpnNegotiated) { | |
d += "&npn=1"; | |
var g = e().npnNegotiatedProtocol; | |
g && (d += "&npnv=" + (encodeURIComponent || escape)(g)) | |
} | |
e().wasAlternateProtocolAvailable && (d += "&apa=1") | |
} | |
var h = a.t, | |
k = h.start; | |
e = []; | |
g = []; | |
for (var m in h) | |
if ("start" != m && 0 != m.indexOf("_")) { | |
var p = h[m][1]; | |
p ? h[p] && g.push(m + "." + wk(a, m, h[p][0])) : k && e.push(m + "." + | |
wk(a, m)) | |
} delete h.start; | |
if (b) | |
for (var q in b) d += "&" + q + "=" + b[q]; | |
(b = c) || (b = "https:" == document.location.protocol ? "https://csi.gstatic.com/csi" : "http://csi.gstatic.com/csi"); | |
return [b, "?v=3", "&s=" + (window.jstiming.sn || "_s") + "&action=", a.name, g.length ? "&it=" + g.join(",") : "", d, "&rt=", e.join(",")].join("") | |
}, | |
yk = function(a, b, c) { | |
a = xk(a, b, c); | |
if (!a) return ""; | |
b = new Image; | |
var d = window.jstiming.Kr++; | |
window.jstiming.Sk[d] = b; | |
b.onload = b.onerror = function() { | |
window.jstiming && delete window.jstiming.Sk[d] | |
}; | |
b.src = a; | |
b = null; | |
return a | |
}; | |
window.jstiming.report = function(a, b, c) { | |
var d = document.visibilityState, | |
e = "visibilitychange"; | |
d || (d = document.webkitVisibilityState, e = "webkitvisibilitychange"); | |
if ("prerender" == d) { | |
var g = !1, | |
h = function() { | |
if (!g) { | |
b ? b.prerender = "1" : b = { | |
prerender: "1" | |
}; | |
if ("prerender" == (document.visibilityState || document.webkitVisibilityState)) var k = !1; | |
else yk(a, b, c), k = !0; | |
k && (g = !0, document.removeEventListener(e, h, !1)) | |
} | |
}; | |
document.addEventListener(e, h, !1); | |
return "" | |
} | |
return yk(a, b, c) | |
} | |
}; | |
var zk = new vk("W6etob"), | |
Ak = new vk("M8OsEc"), | |
Kb = new vk("wMEnbc"), | |
yb = new vk("eakHue"), | |
Bk = new vk("Aw4Wlb"), | |
Ck = new vk("JBFCfc"), | |
Dk = new vk("CTPvlb"), | |
Ek = new vk("hfzTCb"), | |
Fk = new vk("Ywcpfd"), | |
Gk = new vk("mR00Ke"), | |
Hk = new vk("tLXEkb"), | |
Ik = new vk("uIoLDb"), | |
O = new vk("BOnJhd"), | |
Jk = new vk("O4Tvjc"), | |
Kk = new vk("JNVcFc"), | |
Lk = new vk("f1iCN"), | |
Mk = new vk("fLi5i"), | |
Nk = new vk("dOoMwf"); | |
var Ok = function() { | |
this.Db = this.Db; | |
this.pb = this.pb | |
}; | |
Ok.prototype.Db = !1; | |
Ok.prototype.ya = function() { | |
return this.Db | |
}; | |
Ok.prototype.dispose = function() { | |
this.Db || (this.Db = !0, this.V()) | |
}; | |
var Qk = function(a, b) { | |
b = ld(Pk, b); | |
a.Db ? b() : (a.pb || (a.pb = []), a.pb.push(b)) | |
}; | |
Ok.prototype.V = function() { | |
if (this.pb) | |
for (; this.pb.length;) this.pb.shift()() | |
}; | |
var Rk = function(a) { | |
return a && "function" == typeof a.ya ? a.ya() : !1 | |
}, | |
Pk = function(a) { | |
a && "function" == typeof a.dispose && a.dispose() | |
}, | |
Sk = function(a) { | |
for (var b = 0, c = arguments.length; b < c; ++b) { | |
var d = arguments[b]; | |
dd(d) ? Sk.apply(null, d) : Pk(d) | |
} | |
}; | |
var Uk = function(a) { | |
this.id = a | |
}; | |
Uk.prototype.toString = function() { | |
return this.id | |
}; | |
var Vk = function(a, b) { | |
this.type = a instanceof Uk ? String(a) : a; | |
this.currentTarget = this.target = b; | |
this.defaultPrevented = this.i = !1 | |
}; | |
Vk.prototype.stopPropagation = function() { | |
this.i = !0 | |
}; | |
Vk.prototype.preventDefault = function() { | |
this.defaultPrevented = !0 | |
}; | |
var Wk = function(a) { | |
a.stopPropagation() | |
}; | |
var Xk = [], | |
Yk = [], | |
Zk = !1, | |
$k = function(a) { | |
Xk[Xk.length] = a; | |
if (Zk) | |
for (var b = 0; b < Yk.length; b++) a(D(Yk[b].i, Yk[b])) | |
}, | |
al = function(a) { | |
Zk = !0; | |
for (var b = D(a.i, a), c = 0; c < Xk.length; c++) Xk[c](b); | |
Yk.push(a) | |
}; | |
var bl = function(a, b, c) { | |
c = c || C; | |
var d = c.onerror, | |
e = !!b; | |
yg && !Ng("535.3") && (e = !e); | |
c.onerror = function(g, h, k, m, p) { | |
d && d(g, h, k, m, p); | |
a({ | |
message: g, | |
fileName: h, | |
line: k, | |
lineNumber: k, | |
nt: m, | |
error: p | |
}); | |
return e | |
} | |
}, | |
dl = function(a) { | |
var b = Zc("window.location.href"); | |
null == a && (a = 'Unknown Error of type "null/undefined"'); | |
if ("string" === typeof a) return { | |
message: a, | |
name: "Unknown error", | |
lineNumber: "Not available", | |
fileName: b, | |
stack: "Not available" | |
}; | |
var c = !1; | |
try { | |
var d = a.lineNumber || a.line || "Not available" | |
} catch (g) { | |
d = "Not available", | |
c = !0 | |
} | |
try { | |
var e = a.fileName || a.filename || a.sourceURL || C.$googDebugFname || b | |
} catch (g) { | |
e = "Not available", c = !0 | |
} | |
return !c && a.lineNumber && a.fileName && a.stack && a.message && a.name ? a : (b = a.message, null == b && (b = a.constructor && a.constructor instanceof Function ? 'Unknown Error of type "' + (a.constructor.name ? a.constructor.name : cl(a.constructor)) + '"' : "Unknown Error of unknown type"), { | |
message: b, | |
name: a.name || "UnknownError", | |
lineNumber: d, | |
fileName: e, | |
stack: a.stack || "Not available" | |
}) | |
}, | |
el = function(a) { | |
var b = Error(); | |
if (Error.captureStackTrace) Error.captureStackTrace(b, | |
a || el), b = String(b.stack); | |
else { | |
try { | |
throw b; | |
} catch (c) { | |
b = c | |
} | |
b = (b = b.stack) ? String(b) : null | |
} | |
b || (b = fl(a || arguments.callee.caller, [])); | |
return b | |
}, | |
fl = function(a, b) { | |
var c = []; | |
if (zd(b, a)) c.push("[...circular reference...]"); | |
else if (a && 50 > b.length) { | |
c.push(cl(a) + "("); | |
for (var d = a.arguments, e = 0; d && e < d.length; e++) { | |
0 < e && c.push(", "); | |
var g = d[e]; | |
switch (typeof g) { | |
case "object": | |
g = g ? "object" : "null"; | |
break; | |
case "string": | |
break; | |
case "number": | |
g = String(g); | |
break; | |
case "boolean": | |
g = g ? "true" : "false"; | |
break; | |
case "function": | |
g = (g = cl(g)) ? | |
g : "[fn]"; | |
break; | |
default: | |
g = typeof g | |
} | |
40 < g.length && (g = g.substr(0, 40) + "..."); | |
c.push(g) | |
} | |
b.push(a); | |
c.push(")\n"); | |
try { | |
c.push(fl(a.caller, b)) | |
} catch (h) { | |
c.push("[exception trying to get caller]\n") | |
} | |
} else a ? c.push("[...long stack...]") : c.push("[end]"); | |
return c.join("") | |
}, | |
cl = function(a) { | |
if (gl[a]) return gl[a]; | |
a = String(a); | |
if (!gl[a]) { | |
var b = /function\s+([^\(]+)/m.exec(a); | |
gl[a] = b ? b[1] : "[Anonymous]" | |
} | |
return gl[a] | |
}, | |
gl = {}; | |
var hl = !F || Pg(9), | |
il = !F || Pg(9), | |
jl = F && !Ng("9"), | |
kl = "ontouchstart" in C || !!(C.document && document.documentElement && "ontouchstart" in document.documentElement) || !(!C.navigator || !C.navigator.maxTouchPoints && !C.navigator.msMaxTouchPoints), | |
ll = function() { | |
if (!C.addEventListener || !Object.defineProperty) return !1; | |
var a = !1, | |
b = Object.defineProperty({}, "passive", { | |
get: function() { | |
a = !0 | |
} | |
}); | |
try { | |
C.addEventListener("test", $c, b), C.removeEventListener("test", $c, b) | |
} catch (c) {} | |
return a | |
}(); | |
var ml = { | |
Ge: "mousedown", | |
He: "mouseup", | |
Cf: "mousecancel", | |
Ps: "mousemove", | |
Rs: "mouseover", | |
Qs: "mouseout", | |
Ns: "mouseenter", | |
Os: "mouseleave" | |
}; | |
var ol = function(a, b) { | |
Vk.call(this, a ? a.type : ""); | |
this.relatedTarget = this.currentTarget = this.target = null; | |
this.button = this.screenY = this.screenX = this.clientY = this.clientX = 0; | |
this.key = ""; | |
this.keyCode = 0; | |
this.metaKey = this.shiftKey = this.altKey = this.ctrlKey = !1; | |
this.state = null; | |
this.h = !1; | |
this.pointerId = 0; | |
this.pointerType = ""; | |
this.g = null; | |
if (a) { | |
var c = this.type = a.type, | |
d = a.changedTouches && a.changedTouches.length ? a.changedTouches[0] : null; | |
this.target = a.target || a.srcElement; | |
this.currentTarget = b; | |
(b = a.relatedTarget) ? xg && | |
(rg(b, "nodeName") || (b = null)): "mouseover" == c ? b = a.fromElement : "mouseout" == c && (b = a.toElement); | |
this.relatedTarget = b; | |
d ? (this.clientX = void 0 !== d.clientX ? d.clientX : d.pageX, this.clientY = void 0 !== d.clientY ? d.clientY : d.pageY, this.screenX = d.screenX || 0, this.screenY = d.screenY || 0) : (this.clientX = void 0 !== a.clientX ? a.clientX : a.pageX, this.clientY = void 0 !== a.clientY ? a.clientY : a.pageY, this.screenX = a.screenX || 0, this.screenY = a.screenY || 0); | |
this.button = a.button; | |
this.keyCode = a.keyCode || 0; | |
this.key = a.key || ""; | |
this.ctrlKey = | |
a.ctrlKey; | |
this.altKey = a.altKey; | |
this.shiftKey = a.shiftKey; | |
this.metaKey = a.metaKey; | |
this.h = zg ? a.metaKey : a.ctrlKey; | |
this.pointerId = a.pointerId || 0; | |
this.pointerType = "string" === typeof a.pointerType ? a.pointerType : nl[a.pointerType] || ""; | |
this.state = a.state; | |
this.g = a; | |
a.defaultPrevented && this.preventDefault() | |
} | |
}; | |
E(ol, Vk); | |
var pl = [1, 4, 2], | |
nl = { | |
2: "touch", | |
3: "pen", | |
4: "mouse" | |
}, | |
ql = function(a, b) { | |
return hl ? a.g.button == b : "click" == a.type ? 0 == b : !!(a.g.button & pl[b]) | |
}, | |
rl = function(a) { | |
return ql(a, 0) && !(yg && zg && a.ctrlKey) | |
}; | |
ol.prototype.stopPropagation = function() { | |
ol.M.stopPropagation.call(this); | |
this.g.stopPropagation ? this.g.stopPropagation() : this.g.cancelBubble = !0 | |
}; | |
ol.prototype.preventDefault = function() { | |
ol.M.preventDefault.call(this); | |
var a = this.g; | |
if (a.preventDefault) a.preventDefault(); | |
else if (a.returnValue = !1, jl) try { | |
if (a.ctrlKey || 112 <= a.keyCode && 123 >= a.keyCode) a.keyCode = -1 | |
} catch (b) {} | |
}; | |
var sl = "closure_listenable_" + (1E6 * Math.random() | 0), | |
tl = function(a) { | |
return !(!a || !a[sl]) | |
}, | |
ul = 0; | |
var vl = function(a, b, c, d, e) { | |
this.listener = a; | |
this.proxy = null; | |
this.src = b; | |
this.type = c; | |
this.capture = !!d; | |
this.oe = e; | |
this.key = ++ul; | |
this.removed = this.Qg = !1 | |
}, | |
wl = function(a) { | |
a.removed = !0; | |
a.listener = null; | |
a.proxy = null; | |
a.src = null; | |
a.oe = null | |
}; | |
var xl = function(a) { | |
this.src = a; | |
this.g = {}; | |
this.i = 0 | |
}; | |
xl.prototype.add = function(a, b, c, d, e) { | |
var g = a.toString(); | |
a = this.g[g]; | |
a || (a = this.g[g] = [], this.i++); | |
var h = yl(a, b, d, e); - 1 < h ? (b = a[h], c || (b.Qg = !1)) : (b = new vl(b, this.src, g, !!d, e), b.Qg = c, a.push(b)); | |
return b | |
}; | |
xl.prototype.remove = function(a, b, c, d) { | |
a = a.toString(); | |
if (!(a in this.g)) return !1; | |
var e = this.g[a]; | |
b = yl(e, b, c, d); | |
return -1 < b ? (wl(e[b]), Array.prototype.splice.call(e, b, 1), 0 == e.length && (delete this.g[a], this.i--), !0) : !1 | |
}; | |
var zl = function(a, b) { | |
var c = b.type; | |
c in a.g && Bd(a.g[c], b) && (wl(b), 0 == a.g[c].length && (delete a.g[c], a.i--)) | |
}; | |
xl.prototype.removeAll = function(a) { | |
a = a && a.toString(); | |
var b = 0, | |
c; | |
for (c in this.g) | |
if (!a || c == a) { | |
for (var d = this.g[c], e = 0; e < d.length; e++) ++b, wl(d[e]); | |
delete this.g[c]; | |
this.i-- | |
} return b | |
}; | |
xl.prototype.Uf = function(a, b, c, d) { | |
a = this.g[a.toString()]; | |
var e = -1; | |
a && (e = yl(a, b, c, d)); | |
return -1 < e ? a[e] : null | |
}; | |
xl.prototype.hasListener = function(a, b) { | |
var c = void 0 !== a, | |
d = c ? a.toString() : "", | |
e = void 0 !== b; | |
return re(this.g, function(g) { | |
for (var h = 0; h < g.length; ++h) | |
if (!(c && g[h].type != d || e && g[h].capture != b)) return !0; | |
return !1 | |
}) | |
}; | |
var yl = function(a, b, c, d) { | |
for (var e = 0; e < a.length; ++e) { | |
var g = a[e]; | |
if (!g.removed && g.listener == b && g.capture == !!c && g.oe == d) return e | |
} | |
return -1 | |
}; | |
var Al = "closure_lm_" + (1E6 * Math.random() | 0), | |
Bl = {}, | |
Cl = 0, | |
El = function(a, b, c, d, e) { | |
if (d && d.once) return Dl(a, b, c, d, e); | |
if (Array.isArray(b)) { | |
for (var g = 0; g < b.length; g++) El(a, b[g], c, d, e); | |
return null | |
} | |
c = Fl(c); | |
return tl(a) ? a.listen(b, c, fd(d) ? !!d.capture : !!d, e) : Gl(a, b, c, !1, d, e) | |
}, | |
Gl = function(a, b, c, d, e, g) { | |
if (!b) throw Error("s"); | |
var h = fd(e) ? !!e.capture : !!e, | |
k = Hl(a); | |
k || (a[Al] = k = new xl(a)); | |
c = k.add(b, c, d, h, g); | |
if (c.proxy) return c; | |
d = Il(); | |
c.proxy = d; | |
d.src = a; | |
d.listener = c; | |
if (a.addEventListener) ll || (e = h), void 0 === e && (e = !1), a.addEventListener(b.toString(), | |
d, e); | |
else if (a.attachEvent) a.attachEvent(Jl(b.toString()), d); | |
else if (a.addListener && a.removeListener) a.addListener(d); | |
else throw Error("t"); | |
Cl++; | |
return c | |
}, | |
Il = function() { | |
var a = Kl, | |
b = il ? function(c) { | |
return a.call(b.src, b.listener, c) | |
} : function(c) { | |
c = a.call(b.src, b.listener, c); | |
if (!c) return c | |
}; | |
return b | |
}, | |
Dl = function(a, b, c, d, e) { | |
if (Array.isArray(b)) { | |
for (var g = 0; g < b.length; g++) Dl(a, b[g], c, d, e); | |
return null | |
} | |
c = Fl(c); | |
return tl(a) ? a.Xa(b, c, fd(d) ? !!d.capture : !!d, e) : Gl(a, b, c, !0, d, e) | |
}, | |
Ll = function(a, b, c, d, e) { | |
if (Array.isArray(b)) | |
for (var g = | |
0; g < b.length; g++) Ll(a, b[g], c, d, e); | |
else d = fd(d) ? !!d.capture : !!d, c = Fl(c), tl(a) ? a.Aa(b, c, d, e) : a && (a = Hl(a)) && (b = a.Uf(b, c, d, e)) && Ml(b) | |
}, | |
Ml = function(a) { | |
if ("number" !== typeof a && a && !a.removed) { | |
var b = a.src; | |
if (tl(b)) zl(b.Wc, a); | |
else { | |
var c = a.type, | |
d = a.proxy; | |
b.removeEventListener ? b.removeEventListener(c, d, a.capture) : b.detachEvent ? b.detachEvent(Jl(c), d) : b.addListener && b.removeListener && b.removeListener(d); | |
Cl--; | |
(c = Hl(b)) ? (zl(c, a), 0 == c.i && (c.src = null, b[Al] = null)) : wl(a) | |
} | |
} | |
}, | |
Nl = function(a, b, c, d, e) { | |
c = Fl(c); | |
d = !!d; | |
return tl(a) ? | |
a.Uf(b, c, d, e) : a ? (a = Hl(a)) ? a.Uf(b, c, d, e) : null : null | |
}, | |
Jl = function(a) { | |
return a in Bl ? Bl[a] : Bl[a] = "on" + a | |
}, | |
Pl = function(a, b, c, d) { | |
var e = !0; | |
if (a = Hl(a)) | |
if (b = a.g[b.toString()]) | |
for (b = b.concat(), a = 0; a < b.length; a++) { | |
var g = b[a]; | |
g && g.capture == c && !g.removed && (g = Ol(g, d), e = e && !1 !== g) | |
} | |
return e | |
}, | |
Ol = function(a, b) { | |
var c = a.listener, | |
d = a.oe || a.src; | |
a.Qg && Ml(a); | |
return c.call(d, b) | |
}, | |
Ql = function(a, b) { | |
a.dispatchEvent(b) | |
}, | |
Kl = function(a, b) { | |
if (a.removed) return !0; | |
if (!il) { | |
var c = b || Zc("window.event"); | |
b = new ol(c, this); | |
var d = !0; | |
if (!(0 > | |
c.keyCode || void 0 != c.returnValue)) { | |
a: { | |
var e = !1; | |
if (0 == c.keyCode) try { | |
c.keyCode = -1; | |
break a | |
} catch (h) { | |
e = !0 | |
} | |
if (e || void 0 == c.returnValue) c.returnValue = !0 | |
} | |
c = []; | |
for (e = b.currentTarget; e; e = e.parentNode) c.push(e);a = a.type; | |
for (e = c.length - 1; !b.i && 0 <= e; e--) { | |
b.currentTarget = c[e]; | |
var g = Pl(c[e], a, !0, b); | |
d = d && g | |
} | |
for (e = 0; !b.i && e < c.length; e++) b.currentTarget = c[e], | |
g = Pl(c[e], a, !1, b), | |
d = d && g | |
} | |
return d | |
} | |
return Ol(a, new ol(b, this)) | |
}, | |
Hl = function(a) { | |
a = a[Al]; | |
return a instanceof xl ? a : null | |
}, | |
Rl = "__closure_events_fn_" + (1E9 * Math.random() >>> | |
0), | |
Fl = function(a) { | |
if (ed(a)) return a; | |
a[Rl] || (a[Rl] = function(b) { | |
return a.handleEvent(b) | |
}); | |
return a[Rl] | |
}; | |
$k(function(a) { | |
Kl = a(Kl) | |
}); | |
var Sl = function() { | |
Ok.call(this); | |
this.Wc = new xl(this); | |
this.Do = this; | |
this.Xj = null | |
}; | |
E(Sl, Ok); | |
Sl.prototype[sl] = !0; | |
f = Sl.prototype; | |
f.Oe = function() { | |
return this.Xj | |
}; | |
f.kf = function(a) { | |
this.Xj = a | |
}; | |
f.addEventListener = function(a, b, c, d) { | |
El(this, a, b, c, d) | |
}; | |
f.removeEventListener = function(a, b, c, d) { | |
Ll(this, a, b, c, d) | |
}; | |
f.dispatchEvent = function(a) { | |
var b, c = this.Oe(); | |
if (c) | |
for (b = []; c; c = c.Oe()) b.push(c); | |
c = this.Do; | |
var d = a.type || a; | |
if ("string" === typeof a) a = new Vk(a, c); | |
else if (a instanceof Vk) a.target = a.target || c; | |
else { | |
var e = a; | |
a = new Vk(d, c); | |
De(a, e) | |
} | |
e = !0; | |
if (b) | |
for (var g = b.length - 1; !a.i && 0 <= g; g--) { | |
var h = a.currentTarget = b[g]; | |
e = Tl(h, d, !0, a) && e | |
} | |
a.i || (h = a.currentTarget = c, e = Tl(h, d, !0, a) && e, a.i || (e = Tl(h, d, !1, a) && e)); | |
if (b) | |
for (g = 0; !a.i && g < b.length; g++) h = a.currentTarget = b[g], e = Tl(h, d, !1, a) && e; | |
return e | |
}; | |
f.V = function() { | |
Sl.M.V.call(this); | |
this.removeAllListeners(); | |
this.Xj = null | |
}; | |
f.listen = function(a, b, c, d) { | |
return this.Wc.add(String(a), b, !1, c, d) | |
}; | |
f.Xa = function(a, b, c, d) { | |
return this.Wc.add(String(a), b, !0, c, d) | |
}; | |
f.Aa = function(a, b, c, d) { | |
return this.Wc.remove(String(a), b, c, d) | |
}; | |
f.removeAllListeners = function(a) { | |
return this.Wc ? this.Wc.removeAll(a) : 0 | |
}; | |
var Tl = function(a, b, c, d) { | |
b = a.Wc.g[String(b)]; | |
if (!b) return !0; | |
b = b.concat(); | |
for (var e = !0, g = 0; g < b.length; ++g) { | |
var h = b[g]; | |
if (h && !h.removed && h.capture == c) { | |
var k = h.listener, | |
m = h.oe || h.src; | |
h.Qg && zl(a.Wc, h); | |
e = !1 !== k.call(m, d) && e | |
} | |
} | |
return e && !d.defaultPrevented | |
}; | |
Sl.prototype.Uf = function(a, b, c, d) { | |
return this.Wc.Uf(String(a), b, c, d) | |
}; | |
Sl.prototype.hasListener = function(a, b) { | |
return this.Wc.hasListener(void 0 !== a ? String(a) : void 0, b) | |
}; | |
var Ul = function(a, b) { | |
Sl.call(this); | |
this.ac = a.get(O); | |
this.g = b; | |
this.w = null | |
}; | |
B(Ul, Sl); | |
f = Ul.prototype; | |
f.bl = function() {}; | |
f.Oj = function() {}; | |
f.im = function() { | |
return !1 | |
}; | |
f.hg = function() { | |
return !1 | |
}; | |
f.Ya = function() { | |
return this.w | |
}; | |
var Vl = function(a, b, c) { | |
a.ac.Ya(a.g.Z(), function(d) { | |
d = d.Ya(); | |
a.w = d; | |
b() | |
}, c) | |
}; | |
Ul.prototype.Uk = function() { | |
return !1 | |
}; | |
Ul.prototype.Rl = function() {}; | |
Ul.prototype.Wk = function() { | |
return !1 | |
}; | |
Ul.prototype.nm = function() {}; | |
var Wl = function() { | |
this.g = null | |
}; | |
var Xl = function(a, b) { | |
this.h = a; | |
this.j = b; | |
this.i = 0; | |
this.g = null | |
}; | |
Xl.prototype.get = function() { | |
if (0 < this.i) { | |
this.i--; | |
var a = this.g; | |
this.g = a.next; | |
a.next = null | |
} else a = this.h(); | |
return a | |
}; | |
var Yl = function(a, b) { | |
a.j(b); | |
100 > a.i && (a.i++, b.next = a.g, a.g = b) | |
}; | |
var Zl = !F || Pg(9), | |
$l = !xg && !F || F && Pg(9) || xg && Ng("1.9.1"), | |
am = F && !Ng("9"), | |
bm = F || ug || yg; | |
var cm = function(a, b) { | |
this.x = void 0 !== a ? a : 0; | |
this.y = void 0 !== b ? b : 0 | |
}, | |
dm = function(a) { | |
return new cm(a.x, a.y) | |
}, | |
em = function(a, b) { | |
return new cm(a.x - b.x, a.y - b.y) | |
}; | |
cm.prototype.ceil = function() { | |
this.x = Math.ceil(this.x); | |
this.y = Math.ceil(this.y); | |
return this | |
}; | |
cm.prototype.floor = function() { | |
this.x = Math.floor(this.x); | |
this.y = Math.floor(this.y); | |
return this | |
}; | |
cm.prototype.round = function() { | |
this.x = Math.round(this.x); | |
this.y = Math.round(this.y); | |
return this | |
}; | |
var fm = function(a, b) { | |
this.width = a; | |
this.height = b | |
}, | |
gm = function(a, b) { | |
return a == b ? !0 : a && b ? a.width == b.width && a.height == b.height : !1 | |
}; | |
fm.prototype.aspectRatio = function() { | |
return this.width / this.height | |
}; | |
fm.prototype.ceil = function() { | |
this.width = Math.ceil(this.width); | |
this.height = Math.ceil(this.height); | |
return this | |
}; | |
fm.prototype.floor = function() { | |
this.width = Math.floor(this.width); | |
this.height = Math.floor(this.height); | |
return this | |
}; | |
fm.prototype.round = function() { | |
this.width = Math.round(this.width); | |
this.height = Math.round(this.height); | |
return this | |
}; | |
var da = function(a) { | |
return a ? new hm(im(a)) : pd || (pd = new hm) | |
}, | |
km = function(a) { | |
return jm(document, a) | |
}, | |
jm = function(a, b) { | |
return "string" === typeof b ? a.getElementById(b) : b | |
}, | |
ra = function(a, b) { | |
var c = b || document; | |
return c.querySelectorAll && c.querySelector ? c.querySelectorAll("." + a) : lm(document, "*", a, b) | |
}, | |
P = function(a, b) { | |
var c = b || document; | |
if (c.getElementsByClassName) a = c.getElementsByClassName(a)[0]; | |
else { | |
c = document; | |
var d = b || c; | |
a = d.querySelectorAll && d.querySelector && a ? d.querySelector(a ? "." + a : "") : lm(c, "*", a, b)[0] || null | |
} | |
return a || | |
null | |
}, | |
lm = function(a, b, c, d) { | |
a = d || a; | |
b = b && "*" != b ? String(b).toUpperCase() : ""; | |
if (a.querySelectorAll && a.querySelector && (b || c)) return a.querySelectorAll(b + (c ? "." + c : "")); | |
if (c && a.getElementsByClassName) { | |
a = a.getElementsByClassName(c); | |
if (b) { | |
d = {}; | |
for (var e = 0, g = 0, h; h = a[g]; g++) b == h.nodeName && (d[e++] = h); | |
d.length = e; | |
return d | |
} | |
return a | |
} | |
a = a.getElementsByTagName(b || "*"); | |
if (c) { | |
d = {}; | |
for (g = e = 0; h = a[g]; g++) b = h.className, "function" == typeof b.split && zd(b.split(/\s+/), c) && (d[e++] = h); | |
d.length = e; | |
return d | |
} | |
return a | |
}, | |
nm = function(a, | |
b) { | |
qe(b, function(c, d) { | |
c && "object" == typeof c && c.Fc && (c = c.Vb()); | |
"style" == d ? a.style.cssText = c : "class" == d ? a.className = c : "for" == d ? a.htmlFor = c : mm.hasOwnProperty(d) ? a.setAttribute(mm[d], c) : 0 == d.lastIndexOf("aria-", 0) || 0 == d.lastIndexOf("data-", 0) ? a.setAttribute(d, c) : a[d] = c | |
}) | |
}, | |
mm = { | |
cellpadding: "cellPadding", | |
cellspacing: "cellSpacing", | |
colspan: "colSpan", | |
frameborder: "frameBorder", | |
height: "height", | |
maxlength: "maxLength", | |
nonce: "nonce", | |
role: "role", | |
rowspan: "rowSpan", | |
type: "type", | |
usemap: "useMap", | |
valign: "vAlign", | |
width: "width" | |
}, | |
pm = function(a) { | |
a = a.document; | |
a = om(a) ? a.documentElement : a.body; | |
return new fm(a.clientWidth, a.clientHeight) | |
}, | |
qm = function(a) { | |
return a.scrollingElement ? a.scrollingElement : !yg && om(a) ? a.documentElement : a.body || a.documentElement | |
}, | |
rm = function(a) { | |
return a ? a.parentWindow || a.defaultView : window | |
}, | |
um = function(a, b) { | |
var c = String(b[0]), | |
d = b[1]; | |
if (!Zl && d && (d.name || d.type)) { | |
c = ["<", c]; | |
d.name && c.push(' name="', eg(d.name), '"'); | |
if (d.type) { | |
c.push(' type="', eg(d.type), '"'); | |
var e = {}; | |
De(e, d); | |
delete e.type; | |
d = e | |
} | |
c.push(">"); | |
c = c.join("") | |
} | |
c = | |
sm(a, c); | |
d && ("string" === typeof d ? c.className = d : Array.isArray(d) ? c.className = d.join(" ") : nm(c, d)); | |
2 < b.length && tm(a, c, b, 2); | |
return c | |
}, | |
tm = function(a, b, c, d) { | |
function e(h) { | |
h && b.appendChild("string" === typeof h ? a.createTextNode(h) : h) | |
} | |
for (; d < c.length; d++) { | |
var g = c[d]; | |
!dd(g) || fd(g) && 0 < g.nodeType ? e(g) : qa(vm(g) ? Dd(g) : g, e) | |
} | |
}, | |
wm = function(a) { | |
return sm(document, a) | |
}, | |
sm = function(a, b) { | |
b = String(b); | |
"application/xhtml+xml" === a.contentType && (b = b.toLowerCase()); | |
return a.createElement(b) | |
}, | |
om = function(a) { | |
return "CSS1Compat" == | |
a.compatMode | |
}, | |
xm = function(a, b) { | |
a.appendChild(b) | |
}, | |
ym = function(a, b) { | |
tm(im(a), a, arguments, 1) | |
}, | |
zm = function(a) { | |
for (var b; b = a.firstChild;) a.removeChild(b) | |
}, | |
Am = function(a, b) { | |
b.parentNode && b.parentNode.insertBefore(a, b) | |
}, | |
Bm = function(a, b) { | |
b.parentNode && b.parentNode.insertBefore(a, b.nextSibling) | |
}, | |
Cm = function(a, b) { | |
a.insertBefore(b, a.childNodes[0] || null) | |
}, | |
Dm = function(a) { | |
return a && a.parentNode ? a.parentNode.removeChild(a) : null | |
}, | |
Fm = function(a) { | |
return void 0 !== a.firstElementChild ? a.firstElementChild : Em(a.firstChild, | |
!0) | |
}, | |
Gm = function(a) { | |
return void 0 !== a.lastElementChild ? a.lastElementChild : Em(a.lastChild, !1) | |
}, | |
Hm = function(a) { | |
return void 0 !== a.nextElementSibling ? a.nextElementSibling : Em(a.nextSibling, !0) | |
}, | |
Em = function(a, b) { | |
for (; a && 1 != a.nodeType;) a = b ? a.nextSibling : a.previousSibling; | |
return a | |
}, | |
Im = function(a) { | |
return fd(a) && 1 == a.nodeType | |
}, | |
Jm = function(a, b) { | |
if (!a || !b) return !1; | |
if (a.contains && 1 == b.nodeType) return a == b || a.contains(b); | |
if ("undefined" != typeof a.compareDocumentPosition) return a == b || !!(a.compareDocumentPosition(b) & | |
16); | |
for (; b && a != b;) b = b.parentNode; | |
return b == a | |
}, | |
im = function(a) { | |
return 9 == a.nodeType ? a : a.ownerDocument || a.document | |
}, | |
Km = function(a) { | |
return a.contentDocument || a.contentWindow.document | |
}, | |
Xb = function(a, b) { | |
if ("textContent" in a) a.textContent = b; | |
else if (3 == a.nodeType) a.data = String(b); | |
else if (a.firstChild && 3 == a.firstChild.nodeType) { | |
for (; a.lastChild != a.firstChild;) a.removeChild(a.lastChild); | |
a.firstChild.data = String(b) | |
} else zm(a), a.appendChild(im(a).createTextNode(String(b))) | |
}, | |
Lm = { | |
SCRIPT: 1, | |
STYLE: 1, | |
HEAD: 1, | |
IFRAME: 1, | |
OBJECT: 1 | |
}, | |
Mm = { | |
IMG: " ", | |
BR: "\n" | |
}, | |
Nm = function(a, b) { | |
b ? a.tabIndex = 0 : (a.tabIndex = -1, a.removeAttribute("tabIndex")) | |
}, | |
Om = function(a) { | |
return F && !Ng("9") ? (a = a.getAttributeNode("tabindex"), null != a && a.specified) : a.hasAttribute("tabindex") | |
}, | |
Pm = function(a) { | |
a = a.tabIndex; | |
return "number" === typeof a && 0 <= a && 32768 > a | |
}, | |
Wb = function(a) { | |
if (am && null !== a && "innerText" in a) a = a.innerText.replace(/(\r\n|\r|\n)/g, "\n"); | |
else { | |
var b = []; | |
Qm(a, b, !0); | |
a = b.join("") | |
} | |
a = a.replace(/ \xAD /g, " ").replace(/\xAD/g, ""); | |
a = a.replace(/\u200B/g, ""); | |
am || (a = a.replace(/ +/g, " ")); | |
" " != a && (a = a.replace(/^\s*/, "")); | |
return a | |
}, | |
Rm = function(a) { | |
var b = []; | |
Qm(a, b, !1); | |
return b.join("") | |
}, | |
Qm = function(a, b, c) { | |
if (!(a.nodeName in Lm)) | |
if (3 == a.nodeType) c ? b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g, "")) : b.push(a.nodeValue); | |
else if (a.nodeName in Mm) b.push(Mm[a.nodeName]); | |
else | |
for (a = a.firstChild; a;) Qm(a, b, c), a = a.nextSibling | |
}, | |
vm = function(a) { | |
if (a && "number" == typeof a.length) { | |
if (fd(a)) return "function" == typeof a.item || "string" == typeof a.item; | |
if (ed(a)) return "function" == | |
typeof a.item | |
} | |
return !1 | |
}, | |
Tm = function(a, b, c, d) { | |
if (!b && !c) return null; | |
var e = b ? String(b).toUpperCase() : null; | |
return Sm(a, function(g) { | |
return (!e || g.nodeName == e) && (!c || "string" === typeof g.className && zd(g.className.split(/\s+/), c)) | |
}, d) | |
}, | |
Sm = function(a, b, c) { | |
for (var d = 0; a && (null == c || d <= c);) { | |
if (b(a)) return a; | |
a = a.parentNode; | |
d++ | |
} | |
return null | |
}, | |
Um = function(a) { | |
try { | |
var b = a && a.activeElement; | |
return b && b.nodeName ? b : null | |
} catch (c) { | |
return null | |
} | |
}, | |
Wm = function() { | |
var a = rm(); | |
return void 0 !== a.devicePixelRatio ? a.devicePixelRatio : | |
a.matchMedia ? Vm(3) || Vm(2) || Vm(1.5) || Vm(1) || .75 : 1 | |
}, | |
Vm = function(a) { | |
return rm().matchMedia("(min-resolution: " + a + "dppx),(min--moz-device-pixel-ratio: " + a + "),(min-resolution: " + 96 * a + "dpi)").matches ? a : 0 | |
}, | |
hm = function(a) { | |
this.g = a || C.document || document | |
}; | |
hm.prototype.s = function(a) { | |
return jm(this.g, a) | |
}; | |
hm.prototype.getElementsByTagName = function(a, b) { | |
return (b || this.g).getElementsByTagName(String(a)) | |
}; | |
var Xm = function(a, b, c) { | |
return P(b, c || a.g) | |
}; | |
hm.prototype.setProperties = nm; | |
var Ym = function(a) { | |
return pm(ca(a) || window) | |
}; | |
hm.prototype.S = function(a, b, c) { | |
return um(this.g, arguments) | |
}; | |
var Zm = function(a, b) { | |
return sm(a.g, b) | |
}, | |
ca = function(a) { | |
a = a.g; | |
return a.parentWindow || a.defaultView | |
}, | |
$m = function(a) { | |
var b = a.g; | |
a = qm(b); | |
b = b.parentWindow || b.defaultView; | |
return F && Ng("10") && b.pageYOffset != a.scrollTop ? new cm(a.scrollLeft, a.scrollTop) : new cm(b.pageXOffset || a.scrollLeft, b.pageYOffset || a.scrollTop) | |
}; | |
f = hm.prototype; | |
f.Jl = xm; | |
f.lp = Dm; | |
f.getChildren = function(a) { | |
return $l && void 0 != a.children ? a.children : td(a.childNodes, function(b) { | |
return 1 == b.nodeType | |
}) | |
}; | |
f.Dl = Fm; | |
f.Yp = Im; | |
var an = function(a) { | |
var b; | |
if (bm && !(F && Ng("9") && !Ng("10") && C.SVGElement && a instanceof C.SVGElement) && (b = a.parentElement)) return b; | |
b = a.parentNode; | |
return Im(b) ? b : null | |
}; | |
hm.prototype.contains = Jm; | |
hm.prototype.i = Xb; | |
var bn = function(a) { | |
C.setTimeout(function() { | |
throw a; | |
}, 0) | |
}, | |
cn, dn = function() { | |
var a = C.MessageChannel; | |
"undefined" === typeof a && "undefined" !== typeof window && window.postMessage && window.addEventListener && !oe("Presto") && (a = function() { | |
var e = wm("IFRAME"); | |
e.style.display = "none"; | |
Wf(e, bf(Qe(Se))); | |
document.documentElement.appendChild(e); | |
var g = e.contentWindow; | |
e = g.document; | |
e.open(); | |
e.write(Gf(Of)); | |
e.close(); | |
var h = "callImmediate" + Math.random(), | |
k = "file:" == g.location.protocol ? "*" : g.location.protocol + "//" + g.location.host; | |
e = D(function(m) { | |
if (("*" == k || m.origin == k) && m.data == h) this.port1.onmessage() | |
}, this); | |
g.addEventListener("message", e, !1); | |
this.port1 = {}; | |
this.port2 = { | |
postMessage: function() { | |
g.postMessage(h, k) | |
} | |
} | |
}); | |
if ("undefined" !== typeof a && !Fe()) { | |
var b = new a, | |
c = {}, | |
d = c; | |
b.port1.onmessage = function() { | |
if (void 0 !== c.next) { | |
c = c.next; | |
var e = c.Yk; | |
c.Yk = null; | |
e() | |
} | |
}; | |
return function(e) { | |
d.next = { | |
Yk: e | |
}; | |
d = d.next; | |
b.port2.postMessage(0) | |
} | |
} | |
return function(e) { | |
C.setTimeout(e, 0) | |
} | |
}, | |
en = function(a) { | |
return a | |
}; | |
$k(function(a) { | |
en = a | |
}); | |
var fn = function() { | |
this.i = this.g = null | |
}, | |
hn = new Xl(function() { | |
return new gn | |
}, function(a) { | |
a.reset() | |
}); | |
fn.prototype.add = function(a, b) { | |
var c = hn.get(); | |
c.set(a, b); | |
this.i ? this.i.next = c : this.g = c; | |
this.i = c | |
}; | |
fn.prototype.remove = function() { | |
var a = null; | |
this.g && (a = this.g, this.g = this.g.next, this.g || (this.i = null), a.next = null); | |
return a | |
}; | |
var gn = function() { | |
this.next = this.i = this.g = null | |
}; | |
gn.prototype.set = function(a, b) { | |
this.g = a; | |
this.i = b; | |
this.next = null | |
}; | |
gn.prototype.reset = function() { | |
this.next = this.i = this.g = null | |
}; | |
var nn = function(a, b) { | |
jn || kn(); | |
ln || (jn(), ln = !0); | |
mn.add(a, b) | |
}, | |
jn, kn = function() { | |
if (C.Promise && C.Promise.resolve) { | |
var a = C.Promise.resolve(void 0); | |
jn = function() { | |
a.then(on) | |
} | |
} else jn = function() { | |
var b = on; | |
b = en(b); | |
!ed(C.setImmediate) || C.Window && C.Window.prototype && !oe("Edge") && C.Window.prototype.setImmediate == C.setImmediate ? (cn || (cn = dn()), cn(b)) : C.setImmediate(b) | |
} | |
}, | |
ln = !1, | |
mn = new fn, | |
on = function() { | |
for (var a; a = mn.remove();) { | |
try { | |
a.g.call(a.i) | |
} catch (b) { | |
bn(b) | |
} | |
Yl(hn, a) | |
} | |
ln = !1 | |
}; | |
var pn = function(a) { | |
if (!a) return !1; | |
try { | |
return !!a.$goog_Thenable | |
} catch (b) { | |
return !1 | |
} | |
}; | |
var rn = function(a) { | |
this.g = 0; | |
this.u = void 0; | |
this.j = this.i = this.h = null; | |
this.w = this.o = !1; | |
if (a != $c) try { | |
var b = this; | |
a.call(void 0, function(c) { | |
qn(b, 2, c) | |
}, function(c) { | |
qn(b, 3, c) | |
}) | |
} catch (c) { | |
qn(this, 3, c) | |
} | |
}, | |
sn = function() { | |
this.next = this.h = this.i = this.j = this.g = null; | |
this.w = !1 | |
}; | |
sn.prototype.reset = function() { | |
this.h = this.i = this.j = this.g = null; | |
this.w = !1 | |
}; | |
var tn = new Xl(function() { | |
return new sn | |
}, function(a) { | |
a.reset() | |
}), | |
un = function(a, b, c) { | |
var d = tn.get(); | |
d.j = a; | |
d.i = b; | |
d.h = c; | |
return d | |
}, | |
vn = function(a) { | |
if (a instanceof rn) return a; | |
var b = new rn($c); | |
qn(b, 2, a); | |
return b | |
}, | |
xn = function(a, b, c) { | |
wn(a, b, c, null) || nn(ld(b, a)) | |
}, | |
yn = function(a) { | |
return new rn(function(b, c) { | |
var d = a.length, | |
e = []; | |
if (d) | |
for (var g = function(p, q) { | |
d--; | |
e[p] = q; | |
0 == d && b(e) | |
}, h = function(p) { | |
c(p) | |
}, k = 0, m; k < a.length; k++) m = a[k], xn(m, ld(g, k), h); | |
else b(e) | |
}) | |
}, | |
An = function() { | |
var a, b, c = new rn(function(d, e) { | |
a = d; | |
b = e | |
}); | |
return new zn(c, a, b) | |
}; | |
rn.prototype.then = function(a, b, c) { | |
return Bn(this, ed(a) ? a : null, ed(b) ? b : null, c) | |
}; | |
rn.prototype.$goog_Thenable = !0; | |
rn.prototype.cancel = function(a) { | |
if (0 == this.g) { | |
var b = new Cn(a); | |
nn(function() { | |
Dn(this, b) | |
}, this) | |
} | |
}; | |
var Dn = function(a, b) { | |
if (0 == a.g) | |
if (a.h) { | |
var c = a.h; | |
if (c.i) { | |
for (var d = 0, e = null, g = null, h = c.i; h && (h.w || (d++, h.g == a && (e = h), !(e && 1 < d))); h = h.next) e || (g = h); | |
e && (0 == c.g && 1 == d ? Dn(c, b) : (g ? (d = g, d.next == c.j && (c.j = d), d.next = d.next.next) : En(c), Fn(c, e, 3, b))) | |
} | |
a.h = null | |
} else qn(a, 3, b) | |
}, | |
Hn = function(a, b) { | |
a.i || 2 != a.g && 3 != a.g || Gn(a); | |
a.j ? a.j.next = b : a.i = b; | |
a.j = b | |
}, | |
Bn = function(a, b, c, d) { | |
var e = un(null, null, null); | |
e.g = new rn(function(g, h) { | |
e.j = b ? function(k) { | |
try { | |
var m = b.call(d, k); | |
g(m) | |
} catch (p) { | |
h(p) | |
} | |
} : g; | |
e.i = c ? function(k) { | |
try { | |
var m = c.call(d, | |
k); | |
void 0 === m && k instanceof Cn ? h(k) : g(m) | |
} catch (p) { | |
h(p) | |
} | |
} : h | |
}); | |
e.g.h = a; | |
Hn(a, e); | |
return e.g | |
}; | |
rn.prototype.T = function(a) { | |
this.g = 0; | |
qn(this, 2, a) | |
}; | |
rn.prototype.aa = function(a) { | |
this.g = 0; | |
qn(this, 3, a) | |
}; | |
var qn = function(a, b, c) { | |
0 == a.g && (a === c && (b = 3, c = new TypeError("u")), a.g = 1, wn(c, a.T, a.aa, a) || (a.u = c, a.g = b, a.h = null, Gn(a), 3 != b || c instanceof Cn || In(a, c))) | |
}, | |
wn = function(a, b, c, d) { | |
if (a instanceof rn) return Hn(a, un(b || $c, c || null, d)), !0; | |
if (pn(a)) return a.then(b, c, d), !0; | |
if (fd(a)) try { | |
var e = a.then; | |
if (ed(e)) return Jn(a, e, b, c, d), !0 | |
} catch (g) { | |
return c.call(d, g), !0 | |
} | |
return !1 | |
}, | |
Jn = function(a, b, c, d, e) { | |
var g = !1, | |
h = function(m) { | |
g || (g = !0, c.call(e, m)) | |
}, | |
k = function(m) { | |
g || (g = !0, d.call(e, m)) | |
}; | |
try { | |
b.call(a, h, k) | |
} catch (m) { | |
k(m) | |
} | |
}, | |
Gn = function(a) { | |
a.o || (a.o = !0, nn(a.A, a)) | |
}, | |
En = function(a) { | |
var b = null; | |
a.i && (b = a.i, a.i = b.next, b.next = null); | |
a.i || (a.j = null); | |
return b | |
}; | |
rn.prototype.A = function() { | |
for (var a; a = En(this);) Fn(this, a, this.g, this.u); | |
this.o = !1 | |
}; | |
var Fn = function(a, b, c, d) { | |
if (3 == c && b.i && !b.w) | |
for (; a && a.w; a = a.h) a.w = !1; | |
if (b.g) b.g.h = null, Kn(b, c, d); | |
else try { | |
b.w ? b.j.call(b.h) : Kn(b, c, d) | |
} catch (e) { | |
Ln.call(null, e) | |
} | |
Yl(tn, b) | |
}, | |
Kn = function(a, b, c) { | |
2 == b ? a.j.call(a.h, c) : a.i && a.i.call(a.h, c) | |
}, | |
In = function(a, b) { | |
a.w = !0; | |
nn(function() { | |
a.w && Ln.call(null, b) | |
}) | |
}, | |
Ln = bn, | |
Cn = function(a) { | |
od.call(this, a) | |
}; | |
E(Cn, od); | |
Cn.prototype.name = "cancel"; | |
var zn = function(a, b, c) { | |
this.g = a; | |
this.resolve = b; | |
this.reject = c | |
}; | |
var Mn = function(a, b) { | |
Sl.call(this); | |
this.i = a || 1; | |
this.g = b || C; | |
this.h = D(this.cs, this); | |
this.j = tc() | |
}; | |
E(Mn, Sl); | |
f = Mn.prototype; | |
f.enabled = !1; | |
f.Cc = null; | |
f.setInterval = function(a) { | |
this.i = a; | |
this.Cc && this.enabled ? (this.stop(), this.start()) : this.Cc && this.stop() | |
}; | |
f.cs = function() { | |
if (this.enabled) { | |
var a = tc() - this.j; | |
0 < a && a < .8 * this.i ? this.Cc = this.g.setTimeout(this.h, this.i - a) : (this.Cc && (this.g.clearTimeout(this.Cc), this.Cc = null), this.dispatchEvent("tick"), this.enabled && (this.stop(), this.start())) | |
} | |
}; | |
f.start = function() { | |
this.enabled = !0; | |
this.Cc || (this.Cc = this.g.setTimeout(this.h, this.i), this.j = tc()) | |
}; | |
f.stop = function() { | |
this.enabled = !1; | |
this.Cc && (this.g.clearTimeout(this.Cc), this.Cc = null) | |
}; | |
f.V = function() { | |
Mn.M.V.call(this); | |
this.stop(); | |
delete this.g | |
}; | |
var Nn = function(a, b, c) { | |
if (ed(a)) c && (a = D(a, c)); | |
else if (a && "function" == typeof a.handleEvent) a = D(a.handleEvent, a); | |
else throw Error("v"); | |
return 2147483647 < Number(b) ? -1 : C.setTimeout(a, b || 0) | |
}, | |
On = function(a) { | |
C.clearTimeout(a) | |
}; | |
var Pn = function(a, b, c) { | |
Ok.call(this); | |
this.g = a; | |
this.h = b || 0; | |
this.ga = c; | |
this.i = D(this.kp, this) | |
}; | |
E(Pn, Ok); | |
f = Pn.prototype; | |
f.Wf = 0; | |
f.V = function() { | |
Pn.M.V.call(this); | |
this.stop(); | |
delete this.g; | |
delete this.ga | |
}; | |
f.start = function(a) { | |
this.stop(); | |
this.Wf = Nn(this.i, void 0 !== a ? a : this.h) | |
}; | |
f.stop = function() { | |
this.Pe() && On(this.Wf); | |
this.Wf = 0 | |
}; | |
f.Pe = function() { | |
return 0 != this.Wf | |
}; | |
f.kp = function() { | |
this.Wf = 0; | |
this.g && this.g.call(this.ga) | |
}; | |
C._gaq = C._gaq || []; | |
var Rn = function(a) { | |
this.g = a; | |
this.i = []; | |
_gaq.push(["_gat._forceSSL"]); | |
_gaq.push(["_set", "hitCallback", D(this.h, this)]); | |
if (!Qn) { | |
Qn = !0; | |
a = wm("SCRIPT"); | |
a.type = "text/javascript"; | |
a.async = !0; | |
var b = bf(Qe(Re("https://ssl.google-analytics.com/ga.js"))); | |
Xf(a, b); | |
b = document.getElementsByTagName("script")[0]; | |
b.parentNode.insertBefore(a, b) | |
} | |
}; | |
Rn.prototype.h = function() { | |
for (; 0 < this.i.length;) try { | |
this.i.shift()() | |
} catch (a) {} | |
}; | |
var Sn = function() { | |
for (var a = 1; 5 >= a; ++a) _gaq.push(["_deleteCustomVar", a]) | |
}, | |
Xn = function(a, b) { | |
var c = a.g.get(Kk); | |
_gaq.push(["_setAccount", "UA-4436568-7"], ["_setCustomVar", 2, "cwslanguage", Vn(c)], ["_setCustomVar", 3, "cwscountry", l(c.j, 1)], ["_setCustomVar", 4, "touch_enabled", Wn(a.g.get(Mk)) ? "true" : "false", 1], ["_setCustomVar", 5, "v2", "true"], ["_trackPageview", b]); | |
Sn() | |
}, | |
Yn = function(a, b, c, d, e, g) { | |
_gaq.push(["_setAccount", "UA-4436568-7"], ["_trackEvent", b, c, d, e, g]) | |
}, | |
Zn = function(a, b, c) { | |
Xn(a, b); | |
c && (new Pn(function() { | |
Zf(window.location, | |
c) | |
}, 100)).start() | |
}, | |
$n = function(a, b, c, d) { | |
_gaq.push(["_setCustomVar", 1, "item_id", c]); | |
Zn(a, b, d) | |
}, | |
ao = function(a, b, c) { | |
_gaq.push(["_setAccount", "UA-4436568-7"], ["_setCustomVar", 1, "item_id", c], ["_trackSocial", a, "share", b]) | |
}, | |
bo = function(a, b, c, d) { | |
a = a.g.get(Kk); | |
_gaq.push(["_setAccount", d], ["_setCustomVar", 1, "item_id", c], ["_setCustomVar", 2, "cwslanguage", Vn(a)], ["_setCustomVar", 3, "cwscountry", l(a.j, 1)], ["_setCustomVar", 5, "v2", "true"], ["_trackPageview", b]); | |
Sn() | |
}, | |
co = function(a, b) { | |
var c = b.D(); | |
b = c.Z(); | |
var d = "/webstore/detail/" + | |
l(c, 29) + document.location.search; | |
$n(a, d, b); | |
if (c = l(c, 49)) a = a.g.get(Kk), _gaq.push(["_setAccount", c], ["_setCustomVar", 1, "item_id", b], ["_setCustomVar", 2, "cwslanguage", Vn(a)], ["_setCustomVar", 3, "cwscountry", l(a.j, 1)], ["_trackPageview", d]), Sn() | |
}, | |
Qn = !1; | |
var eo = function() { | |
Sl.call(this) | |
}; | |
B(eo, Sl); | |
var fo = function(a) { | |
Vk.call(this, "navigate"); | |
this.token = a | |
}; | |
E(fo, Vk); | |
var go = function(a, b) { | |
Sl.call(this); | |
this.g = a || window; | |
this.h = b || null; | |
this.j = null; | |
El(this.g, "popstate", this.i, !1, this); | |
El(this.g, "hashchange", this.i, !1, this) | |
}; | |
E(go, Sl); | |
var ho = function() { | |
var a = window; | |
return !(!a.history || !a.history.pushState) | |
}; | |
f = go.prototype; | |
f.bj = !1; | |
f.wf = !0; | |
f.ug = "/"; | |
f.setEnabled = function(a) { | |
a != this.bj && (this.bj = a) && this.dispatchEvent(new fo(this.getToken(), !1)) | |
}; | |
f.getToken = function() { | |
if (this.wf) var a = io(this); | |
else this.h ? (a = this.g.location, a = (a.pathname + a.search).substring(this.ug.length)) : a = this.g.location.pathname.substr(this.ug.length); | |
return a | |
}; | |
f.fd = function(a, b) { | |
a != this.getToken() && (this.g.history.pushState(null, b || this.g.document.title || "", jo(this, a)), this.dispatchEvent(new fo(a, !1))) | |
}; | |
f.fi = function(a, b) { | |
this.g.history.replaceState(null, b || this.g.document.title || "", jo(this, a)); | |
this.dispatchEvent(new fo(a, !1)) | |
}; | |
f.V = function() { | |
Ll(this.g, "popstate", this.i, !1, this); | |
this.wf && Ll(this.g, "hashchange", this.i, !1, this) | |
}; | |
var io = function(a) { | |
if (a.wf) { | |
a = a.g.location.href; | |
var b = a.indexOf("#"); | |
return 0 > b ? "" : a.substring(b + 1) | |
} | |
return null | |
}, | |
jo = function(a, b) { | |
return a.wf ? "#" + b : a.h ? a.h.createUrl(b, a.ug, a.g.location) : a.ug + b + a.g.location.search | |
}; | |
go.prototype.i = function(a) { | |
if (this.bj) { | |
var b = io(this); | |
if ("popstate" == a.type || b != this.j) this.j = b, this.dispatchEvent(new fo(this.getToken(), !0)) | |
} | |
}; | |
var ko = function(a, b, c, d, e, g, h) { | |
var k = ""; | |
a && (k += a + ":"); | |
c && (k += "//", b && (k += b + "@"), k += c, d && (k += ":" + d)); | |
e && (k += e); | |
g && (k += "?" + g); | |
h && (k += "#" + h); | |
return k | |
}, | |
lo = /^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/\\#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/, | |
mo = function(a) { | |
return a.match(lo) | |
}, | |
no = function(a) { | |
return a ? decodeURI(a) : a | |
}, | |
oo = function(a) { | |
a = mo(a); | |
return ko(a[1], a[2], a[3], a[4]) | |
}, | |
po = function(a, b) { | |
if (a) { | |
a = a.split("&"); | |
for (var c = 0; c < a.length; c++) { | |
var d = a[c].indexOf("="), | |
e = null; | |
if (0 <= | |
d) { | |
var g = a[c].substring(0, d); | |
e = a[c].substring(d + 1) | |
} else g = a[c]; | |
b(g, e ? dg(e) : "") | |
} | |
} | |
}, | |
qo = function(a, b) { | |
if (!b) return a; | |
var c = a.indexOf("#"); | |
0 > c && (c = a.length); | |
var d = a.indexOf("?"); | |
if (0 > d || d > c) { | |
d = c; | |
var e = "" | |
} else e = a.substring(d + 1, c); | |
a = [a.substr(0, d), e, a.substr(c)]; | |
c = a[1]; | |
a[1] = b ? c ? c + "&" + b : b : c; | |
return a[0] + (a[1] ? "?" + a[1] : "") + a[2] | |
}, | |
ro = function(a, b, c) { | |
if (Array.isArray(b)) | |
for (var d = 0; d < b.length; d++) ro(a, String(b[d]), c); | |
else null != b && c.push(a + ("" === b ? "" : "=" + cg(b))) | |
}, | |
so = function(a, b) { | |
var c = []; | |
for (b = b || 0; b < a.length; b += | |
2) ro(a[b], a[b + 1], c); | |
return c.join("&") | |
}, | |
to = function(a) { | |
var b = [], | |
c; | |
for (c in a) ro(c, a[c], b); | |
return b.join("&") | |
}, | |
uo = function(a, b) { | |
var c = 2 == arguments.length ? so(arguments[1], 0) : so(arguments, 1); | |
return qo(a, c) | |
}, | |
vo = function(a, b, c) { | |
c = null != c ? "=" + cg(c) : ""; | |
return qo(a, b + c) | |
}, | |
wo = function(a, b, c, d) { | |
for (var e = c.length; 0 <= (b = a.indexOf(c, b)) && b < d;) { | |
var g = a.charCodeAt(b - 1); | |
if (38 == g || 63 == g) | |
if (g = a.charCodeAt(b + e), !g || 61 == g || 38 == g || 35 == g) return b; | |
b += e + 1 | |
} | |
return -1 | |
}, | |
xo = /#|$/, | |
Ob = function(a, b) { | |
var c = a.search(xo), | |
d = wo(a, 0, b, | |
c); | |
if (0 > d) return null; | |
var e = a.indexOf("&", d); | |
if (0 > e || e > c) e = c; | |
d += b.length + 1; | |
return dg(a.substr(d, e - d)) | |
}, | |
yo = /[?&]($|#)/, | |
zo = function(a, b) { | |
for (var c = a.search(xo), d = 0, e, g = []; 0 <= (e = wo(a, d, b, c));) g.push(a.substring(d, e)), d = Math.min(a.indexOf("&", e) + 1 || c, c); | |
g.push(a.substr(d)); | |
return g.join("").replace(yo, "$1") | |
}; | |
var Ao = function() {}; | |
Ao.prototype.createUrl = function(a, b, c) { | |
return c.protocol + "//" + c.host + b + a | |
}; | |
var Bo = function(a, b) { | |
var c = mo(b)[5] || ""; | |
(b = mo(b)[6] || "") && (b = "?" + b); | |
return (c + b).substring(a.length) | |
}; | |
var Co = new vk("n73qwf"); | |
var Do = new vk("MpJwZc"); | |
var Eo = new vk("UUJqVe"); | |
var Fo = new vk("yRRtR"), | |
Go = new vk("byfTOb"), | |
Ho = new vk("LEikZe"); | |
var Io = function() { | |
return !(oe("iPad") || oe("Android") && !oe("Mobile") || oe("Silk")) && (oe("iPod") || oe("iPhone") || oe("Android") || oe("IEMobile")) | |
}; | |
var Jo = function(a) { | |
Ok.call(this); | |
this.ga = a; | |
this.j = {} | |
}; | |
E(Jo, Ok); | |
var Ko = []; | |
Jo.prototype.listen = function(a, b, c, d) { | |
return Lo(this, a, b, c, d) | |
}; | |
var Mo = function(a, b, c, d, e, g) { | |
Lo(a, b, c, d, e, g) | |
}, | |
Lo = function(a, b, c, d, e, g) { | |
Array.isArray(c) || (c && (Ko[0] = c.toString()), c = Ko); | |
for (var h = 0; h < c.length; h++) { | |
var k = El(b, c[h], d || a.handleEvent, e || !1, g || a.ga || a); | |
if (!k) break; | |
a.j[k.key] = k | |
} | |
return a | |
}; | |
Jo.prototype.Xa = function(a, b, c, d) { | |
return No(this, a, b, c, d) | |
}; | |
var Oo = function(a, b, c, d, e) { | |
No(a, b, c, d, !1, e) | |
}, | |
No = function(a, b, c, d, e, g) { | |
if (Array.isArray(c)) | |
for (var h = 0; h < c.length; h++) No(a, b, c[h], d, e, g); | |
else { | |
b = Dl(b, c, d || a.handleEvent, e, g || a.ga || a); | |
if (!b) return a; | |
a.j[b.key] = b | |
} | |
return a | |
}; | |
Jo.prototype.Aa = function(a, b, c, d, e) { | |
if (Array.isArray(b)) | |
for (var g = 0; g < b.length; g++) this.Aa(a, b[g], c, d, e); | |
else if (a = Nl(a, b, c || this.handleEvent, fd(d) ? !!d.capture : !!d, e || this.ga || this)) Ml(a), delete this.j[a.key]; | |
return this | |
}; | |
Jo.prototype.removeAll = function() { | |
qe(this.j, function(a, b) { | |
this.j.hasOwnProperty(b) && Ml(a) | |
}, this); | |
this.j = {} | |
}; | |
Jo.prototype.V = function() { | |
Jo.M.V.call(this); | |
this.removeAll() | |
}; | |
Jo.prototype.handleEvent = function() { | |
throw Error("w"); | |
}; | |
var Po = function(a, b) { | |
a = [a]; | |
for (var c = b.length - 1; 0 <= c; --c) a.push(typeof b[c], b[c]); | |
return a.join("\x0B") | |
}; | |
var Uo = function(a, b, c, d) { | |
Sl.call(this); | |
if (a && !b) throw Error("x"); | |
if (c) var e = c; | |
else { | |
e = "history_state" + Qo; | |
var g = Nf("input", { | |
type: "text", | |
name: e, | |
id: e, | |
style: Re("display:none") | |
}); | |
document.write(Gf(g)); | |
e = km(e) | |
} | |
this.A = e; | |
this.g = c ? rm(im(c)) : window; | |
this.aa = b; | |
F && !b && (this.aa = "https" == window.location.protocol ? bf(Qe(Re("https:///"))) : bf(Qe(Re('javascript:""')))); | |
this.i = new Mn(150); | |
Qk(this, this.i); | |
this.j = !a; | |
this.h = new Jo(this); | |
if (a || Ro) { | |
if (d) var h = d; | |
else { | |
a = "history_iframe" + Qo; | |
d = this.aa; | |
b = { | |
id: a, | |
style: Re("display:none"), | |
sandbox: void 0 | |
}; | |
d && $e(d); | |
c = {}; | |
c.src = d || null; | |
c.srcdoc = null; | |
d = { | |
sandbox: "" | |
}; | |
e = {}; | |
for (h in c) e[h] = c[h]; | |
for (h in d) e[h] = d[h]; | |
if (b) | |
for (h in b) { | |
g = h.toLowerCase(); | |
if (g in c) throw Error("q"); | |
g in d && delete e[g]; | |
e[h] = b[h] | |
} | |
h = Mf("iframe", e, void 0); | |
document.write(Gf(h)); | |
h = km(a) | |
} | |
this.T = h; | |
this.L = !0 | |
} | |
Ro && (this.h.listen(this.g, "load", this.Lm), this.J = this.Xg = !1); | |
this.j ? So(this, this.getToken(), !0) : To(this, this.A.value); | |
Qo++ | |
}; | |
E(Uo, Sl); | |
Uo.prototype.u = !1; | |
Uo.prototype.o = !1; | |
Uo.prototype.w = null; | |
var Vo = function(a, b) { | |
var c = b || Po; | |
return function() { | |
var d = this || C; | |
d = d.closure_memoize_cache_ || (d.closure_memoize_cache_ = {}); | |
var e = c(id(a), arguments); | |
return d.hasOwnProperty(e) ? d[e] : d[e] = a.apply(this, arguments) | |
} | |
}(function() { | |
return F ? Pg(8) : "onhashchange" in C | |
}), | |
Ro = F && !Pg(8); | |
f = Uo.prototype; | |
f.bf = null; | |
f.V = function() { | |
Uo.M.V.call(this); | |
this.h.dispose(); | |
this.setEnabled(!1) | |
}; | |
f.setEnabled = function(a) { | |
if (a != this.u) | |
if (Ro && !this.Xg) this.J = a; | |
else if (a) | |
if (ug ? this.h.listen(this.g.document, Wo, this.P) : xg && this.h.listen(this.g, "pageshow", this.wr), Vo() && this.j) this.h.listen(this.g, "hashchange", this.kr), this.u = !0, this.dispatchEvent(new fo(this.getToken(), !1)); | |
else { | |
if (!F || Io() || this.Xg) this.h.listen(this.i, "tick", D(this.H, this, !0)), this.u = !0, Ro || (this.w = this.getToken(), this.dispatchEvent(new fo(this.getToken(), !1))), this.i.start() | |
} | |
else this.u = !1, this.h.removeAll(), this.i.stop() | |
}; | |
f.Lm = function() { | |
this.Xg = !0; | |
this.A.value && To(this, this.A.value, !0); | |
this.setEnabled(this.J) | |
}; | |
f.wr = function(a) { | |
a.g.persisted && (this.setEnabled(!1), this.setEnabled(!0)) | |
}; | |
f.kr = function() { | |
var a = Xo(this.g); | |
a != this.w && Yo(this, a, !0) | |
}; | |
f.getToken = function() { | |
return null != this.bf ? this.bf : this.j ? Xo(this.g) : Zo(this) || "" | |
}; | |
f.fd = function(a, b) { | |
$o(this, a, !1, b) | |
}; | |
f.fi = function(a, b) { | |
$o(this, a, !0, b) | |
}; | |
var Xo = function(a) { | |
a = a.location.href; | |
var b = a.indexOf("#"); | |
return 0 > b ? "" : a.substring(b + 1) | |
}, | |
$o = function(a, b, c, d) { | |
a.getToken() != b && (a.j ? (So(a, b, c), Vo() || F && !Io() && To(a, b, c, d), a.u && a.H(!1)) : (To(a, b, c), a.bf = a.w = a.A.value = b, a.dispatchEvent(new fo(b, !1)))) | |
}, | |
So = function(a, b, c) { | |
a = a.g.location; | |
var d = a.href.split("#")[0], | |
e = -1 != a.href.indexOf("#"); | |
if (Ro || e || b) d += "#" + b; | |
d != a.href && (b = new ff(df, d), c ? $f(a, b) : Zf(a, b)) | |
}, | |
To = function(a, b, c, d) { | |
if (a.L || b != Zo(a)) | |
if (a.L = !1, b = cg(b), F) { | |
var e = Km(a.T); | |
e.open("text/html", c ? "replace" : | |
void 0); | |
c = Qf(Nf("title", {}, d || a.g.document.title), Nf("body", {}, b)); | |
e.write(Gf(c)); | |
e.close() | |
} else e = $e(a.aa) + "#" + b, (a = a.T.contentWindow) && (c ? $f(a.location, e) : Zf(a.location, e)) | |
}, | |
Zo = function(a) { | |
if (F) return a = Km(a.T), a.body ? dg(a.body.innerHTML) : null; | |
var b = a.T.contentWindow; | |
if (b) { | |
try { | |
var c = dg(Xo(b)) | |
} catch (d) { | |
return a.o || (1 != a.o && a.i.setInterval(1E4), a.o = !0), null | |
} | |
a.o && (0 != a.o && a.i.setInterval(150), a.o = !1); | |
return c || null | |
} | |
return null | |
}; | |
Uo.prototype.H = function(a) { | |
if (this.j) { | |
var b = Xo(this.g); | |
b != this.w && Yo(this, b, a) | |
} | |
if (!this.j || Ro) | |
if (b = Zo(this) || "", null == this.bf || b == this.bf) this.bf = null, b != this.w && Yo(this, b, a) | |
}; | |
var Yo = function(a, b, c) { | |
a.w = a.A.value = b; | |
a.j ? (Ro && To(a, b), So(a, b)) : To(a, b); | |
a.dispatchEvent(new fo(a.getToken(), c)) | |
}; | |
Uo.prototype.P = function() { | |
this.i.stop(); | |
this.i.start() | |
}; | |
var Wo = ["mousedown", "keydown", "mousemove"], | |
Qo = 0; | |
var ap = function(a, b, c, d) { | |
Sl.call(this); | |
c && ho() ? (a = this.g = new go(rm(im(a)), d), 0 != a.wf && (Ll(a.g, "hashchange", a.i, !1, a), a.wf = !1)) : this.g = new Uo(!1, void 0, a, b); | |
this.g.kf(this); | |
El(this, "navigate", this.Xr, !1, this) | |
}; | |
E(ap, Sl); | |
f = ap.prototype; | |
f.tj = !1; | |
f.setEnabled = function(a) { | |
this.g.setEnabled(a) | |
}; | |
f.Xr = function(a) { | |
a.token = a.token | |
}; | |
f.getToken = function() { | |
return this.g.getToken() | |
}; | |
f.fd = function(a, b) { | |
this.tj ? this.g.fd(a, b) : (this.i = a, this.h = b, this.j = !1) | |
}; | |
f.fi = function(a, b) { | |
this.tj ? this.g.fi(a, b) : (this.i = a, this.h = b, this.j = !0) | |
}; | |
f.V = function() { | |
ap.M.V.call(this); | |
this.g.dispose() | |
}; | |
var bp = function(a) { | |
Sl.call(this); | |
this.i = a; | |
a = this.g = new ap(km("hist_state"), km("hist_frame"), !0, new Ao); | |
a.g instanceof go && (a.g.ug = this.i); | |
a = this.g; | |
a.tj = !0; | |
void 0 != a.i && (a.j ? a.g.fi(a.i, a.h) : a.g.fd(a.i, a.h)); | |
!F || Vo() || a.g.Xg || ho() || a.g.Lm(); | |
this.g.kf(this) | |
}; | |
B(bp, eo); | |
bp.prototype.h = function() { | |
this.g.setEnabled(!0); | |
if (!ho()) { | |
var a = Bo(this.i, window.location.href); | |
this.g.fd(a) | |
} | |
}; | |
bp.prototype.fd = function(a) { | |
this.g.fd(a) | |
}; | |
var cp = function() {}; | |
cp.prototype.g = Yd; | |
var dp = function(a, b, c, d, e) { | |
return e && (0 > Number(c) * Number(1) || Vd.test(Rd(b, d))) ? "\u200e" : "" | |
}; | |
var ep = "StopIteration" in C ? C.StopIteration : { | |
message: "StopIteration", | |
stack: "" | |
}, | |
fp = function() {}; | |
fp.prototype.next = function() { | |
throw ep; | |
}; | |
fp.prototype.mc = function() { | |
return this | |
}; | |
var gp = function(a) { | |
if (a instanceof fp) return a; | |
if ("function" == typeof a.mc) return a.mc(!1); | |
if (dd(a)) { | |
var b = 0, | |
c = new fp; | |
c.next = function() { | |
for (;;) { | |
if (b >= a.length) throw ep; | |
if (b in a) return a[b++]; | |
b++ | |
} | |
}; | |
return c | |
} | |
throw Error("y"); | |
}, | |
hp = function(a, b) { | |
if (dd(a)) try { | |
qa(a, b, void 0) | |
} catch (c) { | |
if (c !== ep) throw c; | |
} else { | |
a = gp(a); | |
try { | |
for (;;) b.call(void 0, a.next(), void 0, a) | |
} catch (c) { | |
if (c !== ep) throw c; | |
} | |
} | |
}, | |
ip = function(a) { | |
if (dd(a)) return Dd(a); | |
a = gp(a); | |
var b = []; | |
hp(a, function(c) { | |
b.push(c) | |
}); | |
return b | |
}; | |
var jp = function(a, b) { | |
this.i = {}; | |
this.g = []; | |
this.j = this.h = 0; | |
var c = arguments.length; | |
if (1 < c) { | |
if (c % 2) throw Error("o"); | |
for (var d = 0; d < c; d += 2) this.set(arguments[d], arguments[d + 1]) | |
} else if (a) | |
if (a instanceof jp) | |
for (c = a.rb(), d = 0; d < c.length; d++) this.set(c[d], a.get(c[d])); | |
else | |
for (d in a) this.set(d, a[d]) | |
}; | |
jp.prototype.nb = function() { | |
return this.h | |
}; | |
jp.prototype.Wa = function() { | |
kp(this); | |
for (var a = [], b = 0; b < this.g.length; b++) a.push(this.i[this.g[b]]); | |
return a | |
}; | |
jp.prototype.rb = function() { | |
kp(this); | |
return this.g.concat() | |
}; | |
var mp = function(a, b) { | |
return lp(a.i, b) | |
}; | |
jp.prototype.clear = function() { | |
this.i = {}; | |
this.j = this.h = this.g.length = 0 | |
}; | |
jp.prototype.remove = function(a) { | |
return lp(this.i, a) ? (delete this.i[a], this.h--, this.j++, this.g.length > 2 * this.h && kp(this), !0) : !1 | |
}; | |
var kp = function(a) { | |
if (a.h != a.g.length) { | |
for (var b = 0, c = 0; b < a.g.length;) { | |
var d = a.g[b]; | |
lp(a.i, d) && (a.g[c++] = d); | |
b++ | |
} | |
a.g.length = c | |
} | |
if (a.h != a.g.length) { | |
var e = {}; | |
for (c = b = 0; b < a.g.length;) d = a.g[b], lp(e, d) || (a.g[c++] = d, e[d] = 1), b++; | |
a.g.length = c | |
} | |
}; | |
jp.prototype.get = function(a, b) { | |
return lp(this.i, a) ? this.i[a] : b | |
}; | |
jp.prototype.set = function(a, b) { | |
lp(this.i, a) || (this.h++, this.g.push(a), this.j++); | |
this.i[a] = b | |
}; | |
jp.prototype.forEach = function(a, b) { | |
for (var c = this.rb(), d = 0; d < c.length; d++) { | |
var e = c[d], | |
g = this.get(e); | |
a.call(b, g, e, this) | |
} | |
}; | |
jp.prototype.mc = function(a) { | |
kp(this); | |
var b = 0, | |
c = this.j, | |
d = this, | |
e = new fp; | |
e.next = function() { | |
if (c != d.j) throw Error("z"); | |
if (b >= d.g.length) throw ep; | |
var g = d.g[b++]; | |
return a ? g : d.i[g] | |
}; | |
return e | |
}; | |
var lp = function(a, b) { | |
return Object.prototype.hasOwnProperty.call(a, b) | |
}; | |
var np = function(a) { | |
if (a.Wa && "function" == typeof a.Wa) return a.Wa(); | |
if ("string" === typeof a) return a.split(""); | |
if (dd(a)) { | |
for (var b = [], c = a.length, d = 0; d < c; d++) b.push(a[d]); | |
return b | |
} | |
return se(a) | |
}, | |
op = function(a, b, c) { | |
if (a.forEach && "function" == typeof a.forEach) a.forEach(b, c); | |
else if (dd(a) || "string" === typeof a) qa(a, b, c); | |
else { | |
if (a.rb && "function" == typeof a.rb) var d = a.rb(); | |
else if (a.Wa && "function" == typeof a.Wa) d = void 0; | |
else if (dd(a) || "string" === typeof a) { | |
d = []; | |
for (var e = a.length, g = 0; g < e; g++) d.push(g) | |
} else d = te(a); | |
e = np(a); | |
g = e.length; | |
for (var h = 0; h < g; h++) b.call(c, e[h], d && d[h], a) | |
} | |
}; | |
var pp = function(a) { | |
this.h = this.A = this.j = ""; | |
this.u = null; | |
this.w = this.i = ""; | |
this.o = !1; | |
var b; | |
a instanceof pp ? (this.o = a.o, qp(this, a.j), this.A = a.A, this.h = a.h, rp(this, a.u), this.i = a.i, sp(this, tp(a.g)), this.w = a.w) : a && (b = mo(String(a))) ? (this.o = !1, qp(this, b[1] || "", !0), this.A = up(b[2] || ""), this.h = up(b[3] || "", !0), rp(this, b[4]), this.i = up(b[5] || "", !0), sp(this, b[6] || "", !0), this.w = up(b[7] || "")) : (this.o = !1, this.g = new vp(null, this.o)) | |
}; | |
pp.prototype.toString = function() { | |
var a = [], | |
b = this.j; | |
b && a.push(wp(b, xp, !0), ":"); | |
var c = this.h; | |
if (c || "file" == b) a.push("//"), (b = this.A) && a.push(wp(b, xp, !0), "@"), a.push(cg(c).replace(/%25([0-9a-fA-F]{2})/g, "%$1")), c = this.u, null != c && a.push(":", String(c)); | |
if (c = this.i) this.h && "/" != c.charAt(0) && a.push("/"), a.push(wp(c, "/" == c.charAt(0) ? yp : zp, !0)); | |
(c = this.g.toString()) && a.push("?", c); | |
(c = this.w) && a.push("#", wp(c, Ap)); | |
return a.join("") | |
}; | |
pp.prototype.resolve = function(a) { | |
var b = new pp(this), | |
c = !!a.j; | |
c ? qp(b, a.j) : c = !!a.A; | |
c ? b.A = a.A : c = !!a.h; | |
c ? b.h = a.h : c = null != a.u; | |
var d = a.i; | |
if (c) rp(b, a.u); | |
else if (c = !!a.i) { | |
if ("/" != d.charAt(0)) | |
if (this.h && !this.i) d = "/" + d; | |
else { | |
var e = b.i.lastIndexOf("/"); - 1 != e && (d = b.i.substr(0, e + 1) + d) | |
} e = d; | |
if (".." == e || "." == e) d = ""; | |
else if (-1 != e.indexOf("./") || -1 != e.indexOf("/.")) { | |
d = 0 == e.lastIndexOf("/", 0); | |
e = e.split("/"); | |
for (var g = [], h = 0; h < e.length;) { | |
var k = e[h++]; | |
"." == k ? d && h == e.length && g.push("") : ".." == k ? ((1 < g.length || 1 == g.length && | |
"" != g[0]) && g.pop(), d && h == e.length && g.push("")) : (g.push(k), d = !0) | |
} | |
d = g.join("/") | |
} else d = e | |
} | |
c ? b.i = d : c = "" !== a.g.toString(); | |
c ? sp(b, tp(a.g)) : c = !!a.w; | |
c && (b.w = a.w); | |
return b | |
}; | |
var qp = function(a, b, c) { | |
a.j = c ? up(b, !0) : b; | |
a.j && (a.j = a.j.replace(/:$/, "")) | |
}, | |
rp = function(a, b) { | |
if (b) { | |
b = Number(b); | |
if (isNaN(b) || 0 > b) throw Error("A`" + b); | |
a.u = b | |
} else a.u = null | |
}, | |
sp = function(a, b, c) { | |
b instanceof vp ? (a.g = b, Bp(a.g, a.o)) : (c || (b = wp(b, Cp)), a.g = new vp(b, a.o)) | |
}, | |
Dp = function(a) { | |
var b = Math.floor(2147483648 * Math.random()).toString(36) + Math.abs(Math.floor(2147483648 * Math.random()) ^ tc()).toString(36); | |
a.g.set("zx", b) | |
}, | |
up = function(a, b) { | |
return a ? b ? decodeURI(a.replace(/%25/g, "%2525")) : decodeURIComponent(a) : "" | |
}, | |
wp = function(a, b, c) { | |
return "string" === typeof a ? (a = encodeURI(a).replace(b, Ep), c && (a = a.replace(/%25([0-9a-fA-F]{2})/g, "%$1")), a) : null | |
}, | |
Ep = function(a) { | |
a = a.charCodeAt(0); | |
return "%" + (a >> 4 & 15).toString(16) + (a & 15).toString(16) | |
}, | |
xp = /[#\/\?@]/g, | |
zp = /[#\?:]/g, | |
yp = /[#\?]/g, | |
Cp = /[#\?@]/g, | |
Ap = /#/g, | |
vp = function(a, b) { | |
this.i = this.g = null; | |
this.h = a || null; | |
this.j = !!b | |
}, | |
Fp = function(a) { | |
a.g || (a.g = new jp, a.i = 0, a.h && po(a.h, function(b, c) { | |
a.add(dg(b), c) | |
})) | |
}; | |
vp.prototype.nb = function() { | |
Fp(this); | |
return this.i | |
}; | |
vp.prototype.add = function(a, b) { | |
Fp(this); | |
this.h = null; | |
a = Gp(this, a); | |
var c = this.g.get(a); | |
c || this.g.set(a, c = []); | |
c.push(b); | |
this.i += 1; | |
return this | |
}; | |
vp.prototype.remove = function(a) { | |
Fp(this); | |
a = Gp(this, a); | |
return mp(this.g, a) ? (this.h = null, this.i -= this.g.get(a).length, this.g.remove(a)) : !1 | |
}; | |
vp.prototype.clear = function() { | |
this.g = this.h = null; | |
this.i = 0 | |
}; | |
var Hp = function(a, b) { | |
Fp(a); | |
b = Gp(a, b); | |
return mp(a.g, b) | |
}; | |
f = vp.prototype; | |
f.forEach = function(a, b) { | |
Fp(this); | |
this.g.forEach(function(c, d) { | |
qa(c, function(e) { | |
a.call(b, e, d, this) | |
}, this) | |
}, this) | |
}; | |
f.rb = function() { | |
Fp(this); | |
for (var a = this.g.Wa(), b = this.g.rb(), c = [], d = 0; d < b.length; d++) | |
for (var e = a[d], g = 0; g < e.length; g++) c.push(b[d]); | |
return c | |
}; | |
f.Wa = function(a) { | |
Fp(this); | |
var b = []; | |
if ("string" === typeof a) Hp(this, a) && (b = Cd(b, this.g.get(Gp(this, a)))); | |
else { | |
a = this.g.Wa(); | |
for (var c = 0; c < a.length; c++) b = Cd(b, a[c]) | |
} | |
return b | |
}; | |
f.set = function(a, b) { | |
Fp(this); | |
this.h = null; | |
a = Gp(this, a); | |
Hp(this, a) && (this.i -= this.g.get(a).length); | |
this.g.set(a, [b]); | |
this.i += 1; | |
return this | |
}; | |
f.get = function(a, b) { | |
if (!a) return b; | |
a = this.Wa(a); | |
return 0 < a.length ? String(a[0]) : b | |
}; | |
var Ip = function(a, b, c) { | |
a.remove(b); | |
0 < c.length && (a.h = null, a.g.set(Gp(a, b), Dd(c)), a.i += c.length) | |
}; | |
vp.prototype.toString = function() { | |
if (this.h) return this.h; | |
if (!this.g) return ""; | |
for (var a = [], b = this.g.rb(), c = 0; c < b.length; c++) { | |
var d = b[c], | |
e = cg(d); | |
d = this.Wa(d); | |
for (var g = 0; g < d.length; g++) { | |
var h = e; | |
"" !== d[g] && (h += "=" + cg(d[g])); | |
a.push(h) | |
} | |
} | |
return this.h = a.join("&") | |
}; | |
var Jp = function(a, b) { | |
Fp(a); | |
a.g.forEach(function(c, d) { | |
zd(b, d) || this.remove(d) | |
}, a) | |
}, | |
tp = function(a) { | |
var b = new vp; | |
b.h = a.h; | |
a.g && (b.g = new jp(a.g), b.i = a.i); | |
return b | |
}, | |
Gp = function(a, b) { | |
b = String(b); | |
a.j && (b = b.toLowerCase()); | |
return b | |
}, | |
Bp = function(a, b) { | |
b && !a.j && (Fp(a), a.h = null, a.g.forEach(function(c, d) { | |
var e = d.toLowerCase(); | |
d != e && (this.remove(d), Ip(this, e, c)) | |
}, a)); | |
a.j = b | |
}; | |
var u = {}, | |
Kp = {}, | |
Lp = {}, | |
hb = {}, | |
Mp = {}, | |
wb = function() { | |
throw Error("C"); | |
}; | |
wb.prototype.Jf = null; | |
wb.prototype.getContent = function() { | |
return this.content | |
}; | |
wb.prototype.toString = function() { | |
return this.content | |
}; | |
var Np = function(a) { | |
if (a.$ !== u) throw Error("D"); | |
return Sf(a.toString(), a.Jf || null) | |
}, | |
bb = function() { | |
wb.call(this) | |
}; | |
E(bb, wb); | |
bb.prototype.$ = u; | |
var fb = function() { | |
wb.call(this) | |
}; | |
E(fb, wb); | |
fb.prototype.$ = hb; | |
fb.prototype.Jf = 1; | |
var mb = function(a, b) { | |
return null != a && a.$ === b | |
}; | |
var Op = function(a) { | |
if (null != a) switch (a.Jf) { | |
case 1: | |
return 1; | |
case -1: | |
return -1; | |
case 0: | |
return 0 | |
} | |
return null | |
}, | |
A = function(a) { | |
return mb(a, u) ? a : a instanceof rb ? y(sb(a), a.g()) : y(eg(String(String(a))), Op(a)) | |
}, | |
y = function(a) { | |
function b(c) { | |
this.content = c | |
} | |
b.prototype = a.prototype; | |
return function(c, d) { | |
c = new b(String(c)); | |
void 0 !== d && (c.Jf = d); | |
return c | |
} | |
}(bb), | |
Pp = function(a) { | |
function b(c) { | |
this.content = c | |
} | |
b.prototype = a.prototype; | |
return function(c) { | |
return new b(String(c)) | |
} | |
}(fb), | |
Qp = function(a, b) { | |
for (var c in b) c in a || (a[c] = | |
b[c]); | |
return a | |
}, | |
Rp = function(a, b) { | |
return a && b && a.vd && b.vd ? a.$ !== b.$ ? !1 : a.toString() === b.toString() : a instanceof wb && b instanceof wb ? a.$ != b.$ ? !1 : a.toString() == b.toString() : a == b | |
}, | |
Sp = function(a, b) { | |
b = Math.pow(10, b); | |
return Math.round(a * b) / b | |
}, | |
Tp = function(a) { | |
return a instanceof wb ? !!a.getContent() : !!a | |
}, | |
Up = {}, | |
Vp = {}, | |
Q = function(a, b, c) { | |
var d = "key_" + a + ":", | |
e = Up[d]; | |
if (void 0 === e || b > e) Up[d] = b, Vp[d] = c; | |
else if (b == e) throw Error("E`" + a + "`"); | |
}, | |
R = function(a, b) { | |
var c = Vp["key_" + a + ":"]; | |
if (c) return c; | |
if (b) return Wp; | |
throw Error("F`" + | |
a + "`"); | |
}, | |
Wp = function() { | |
return "" | |
}, | |
Xp = function(a) { | |
function b(c) { | |
this.content = c | |
} | |
b.prototype = a.prototype; | |
return function(c, d) { | |
c = String(c); | |
if (!c) return ""; | |
c = new b(c); | |
void 0 !== d && (c.Jf = d); | |
return c | |
} | |
}(bb), | |
Yp = function(a) { | |
function b(c) { | |
this.content = c | |
} | |
b.prototype = a.prototype; | |
return function(c) { | |
return (c = String(c)) ? new b(c) : "" | |
} | |
}(fb), | |
Zp = function(a) { | |
return a.replace(/<\//g, "<\\/").replace(/\]\]>/g, "]]\\>") | |
}, | |
x = function(a) { | |
return mb(a, u) ? $p(String(a.getContent()).replace(aq, "").replace(bq, "<")) : eg(String(a)) | |
}, | |
ob = | |
function(a) { | |
mb(a, hb) ? a = a.getContent().replace(/([^"'\s])$/, "$1 ") : (a = String(a), a = cq.test(a) ? a : "zSoyz"); | |
return a | |
}, | |
dq = /['()]/g, | |
eq = function(a) { | |
return "%" + a.charCodeAt(0).toString(16) | |
}, | |
fq = function(a) { | |
a = cg(String(a)); | |
dq.lastIndex = 0; | |
return dq.test(a) ? a.replace(dq, eq) : a | |
}, | |
S = function(a) { | |
mb(a, Kp) || mb(a, Lp) ? a = gq(a) : a instanceof ff ? a = gq(gf(a)) : a instanceof Ye ? a = gq($e(a)) : (a = String(a), a = hq.test(a) ? a.replace(iq, jq) : "about:invalid#zSoyz"); | |
return a | |
}, | |
lq = function(a) { | |
mb(a, Kp) || mb(a, Lp) ? a = gq(a) : a instanceof ff ? a = gq(gf(a)) : | |
a instanceof Ye ? a = gq($e(a)) : (a = String(a), a = kq.test(a) ? a.replace(iq, jq) : "about:invalid#zSoyz"); | |
return a | |
}, | |
nq = function(a) { | |
mb(a, Mp) ? a = Zp(a.getContent()) : null == a ? a = "" : a instanceof of ? a = Zp(tf(a)) : a instanceof Ef ? (a instanceof Ef && a.constructor === Ef && a.i === Df ? a = a.g : (bd(a), a = "type_error:SafeStyleSheet"), a = Zp(a)) : (a = String(a), a = mq.test(a) ? a : "zSoyz"); | |
return a | |
}, | |
oq = {}, | |
pq = function() { | |
return oq[1] || (oq[1] = new cp) | |
}, | |
qq = function(a) { | |
pq(); | |
var b = Op(a); | |
null == b && (b = Yd(a + "", null != a && a.$ === u)); | |
return Pp(1 != b ? -1 == b ? 'dir="rtl"' : | |
1 == b ? 'dir="ltr"' : "" : "") | |
}, | |
rq = function(a) { | |
var b = pq(), | |
c = Sf(String(a), null); | |
a = Op(a); | |
null == a && (a = b.g(sb(c), !0)); | |
var d = void 0; | |
d = d || void 0 == d; | |
var e, g = 0 != a && 1 != a; | |
g ? (g && (e = -1 == a ? "rtl" : "ltr"), e = Nf("span", { | |
dir: e | |
}, c)) : e = c; | |
c = sb(c); | |
e = Rf(0, e, dp(b, c, a, !0, d)); | |
return sb(e) | |
}, | |
sq = function(a) { | |
var b = pq(), | |
c = null != a && a.$ === u, | |
d = Op(a); | |
a += ""; | |
null == d && (d = b.g(a, c)); | |
var e = void 0; | |
e = e || void 0 == e; | |
var g = []; | |
0 != d && 1 != d ? (g.push(-1 == d ? "\u202b" : "\u202a"), g.push(a), g.push("\u202c")) : g.push(a); | |
g.push(dp(b, a, d, c, e)); | |
b = g.join(""); | |
return c ? | |
y(b, 1) : b | |
}, | |
tq = function(a, b) { | |
return b | |
}, | |
uq = { | |
"\x00": "�", | |
"\t": "	", | |
"\n": " ", | |
"\x0B": "", | |
"\f": "", | |
"\r": " ", | |
" ": " ", | |
'"': """, | |
"&": "&", | |
"'": "'", | |
"-": "-", | |
"/": "/", | |
"<": "<", | |
"=": "=", | |
">": ">", | |
"`": "`", | |
"\u0085": "…", | |
"\u00a0": " ", | |
"\u2028": "
", | |
"\u2029": "
" | |
}, | |
vq = function(a) { | |
return uq[a] | |
}, | |
wq = { | |
"\x00": "%00", | |
"\u0001": "%01", | |
"\u0002": "%02", | |
"\u0003": "%03", | |
"\u0004": "%04", | |
"\u0005": "%05", | |
"\u0006": "%06", | |
"\u0007": "%07", | |
"\b": "%08", | |
"\t": "%09", | |
"\n": "%0A", | |
"\x0B": "%0B", | |
"\f": "%0C", | |
"\r": "%0D", | |
"\u000e": "%0E", | |
"\u000f": "%0F", | |
"\u0010": "%10", | |
"\u0011": "%11", | |
"\u0012": "%12", | |
"\u0013": "%13", | |
"\u0014": "%14", | |
"\u0015": "%15", | |
"\u0016": "%16", | |
"\u0017": "%17", | |
"\u0018": "%18", | |
"\u0019": "%19", | |
"\u001a": "%1A", | |
"\u001b": "%1B", | |
"\u001c": "%1C", | |
"\u001d": "%1D", | |
"\u001e": "%1E", | |
"\u001f": "%1F", | |
" ": "%20", | |
'"': "%22", | |
"'": "%27", | |
"(": "%28", | |
")": "%29", | |
"<": "%3C", | |
">": "%3E", | |
"\\": "%5C", | |
"{": "%7B", | |
"}": "%7D", | |
"\u007f": "%7F", | |
"\u0085": "%C2%85", | |
"\u00a0": "%C2%A0", | |
"\u2028": "%E2%80%A8", | |
"\u2029": "%E2%80%A9", | |
"\uff01": "%EF%BC%81", | |
"\uff03": "%EF%BC%83", | |
"\uff04": "%EF%BC%84", | |
"\uff06": "%EF%BC%86", | |
"\uff07": "%EF%BC%87", | |
"\uff08": "%EF%BC%88", | |
"\uff09": "%EF%BC%89", | |
"\uff0a": "%EF%BC%8A", | |
"\uff0b": "%EF%BC%8B", | |
"\uff0c": "%EF%BC%8C", | |
"\uff0f": "%EF%BC%8F", | |
"\uff1a": "%EF%BC%9A", | |
"\uff1b": "%EF%BC%9B", | |
"\uff1d": "%EF%BC%9D", | |
"\uff1f": "%EF%BC%9F", | |
"\uff20": "%EF%BC%A0", | |
"\uff3b": "%EF%BC%BB", | |
"\uff3d": "%EF%BC%BD" | |
}, | |
jq = function(a) { | |
return wq[a] | |
}, | |
xq = /[\x00\x22\x27\x3c\x3e]/g, | |
yq = /[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g, | |
zq = /[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g, | |
iq = /[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g, | |
mq = /^(?!-*(?:expression|(?:moz-)?binding))(?:(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|(?:rgb|hsl)a?\([0-9.%,\u0020]+\)|-?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:[a-z]{1,4}|%)?|!important)(?:\s*[,\u0020]\s*|$))*$/i, | |
hq = /^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i, | |
kq = /^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i, | |
cq = /^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i, | |
$p = function(a) { | |
return String(a).replace(xq, vq) | |
}, | |
gq = function(a) { | |
return String(a).replace(iq, jq) | |
}, | |
aq = /<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g, | |
bq = /</g; | |
Q("a", 0, function(a) { | |
a = a.badge; | |
return y('<div class="' + x("G-x") + '"><div class="' + x("G-ka-Nb-Pb") + '"><div class="' + x("G-ka-Nb-Pb-id") + " " + x(a.Sc) + '"></div></div><div class="' + x("G-Pb") + '">' + A(a.summary) + "</div></div>") | |
}); | |
var Aq = function(a) { | |
a = a.badge; | |
var b = '<div class="' + x("G-ta-ka") + " " + x(a.Sc) + '"></div><div class="' + x("G-ta-D") + '">' + A(a.description) + " "; | |
a.Vd && (b += '<a href="' + x(S(a.ae)) + '" class="' + x("G-ta-y") + '">', b += "See all</a>"); | |
return y(b + "</div>") | |
}, | |
Bq = function(a, b) { | |
var c = a.Ra, | |
d = ""; | |
a = a.R; | |
for (var e = a.length, g = 0; g < e; g++) { | |
var h = a[g], | |
k = '<div class="' + x(c) + '">', | |
m = b; | |
h = y(Tp(h.Jb) && Tp(h.Vd) && Tp(h.isClickable) ? '<a href="' + x(S(h.ae)) + '" class="' + x("G-y") + '">' + R("a", !1)({ | |
badge: h | |
}, m) + "</a>" : R("a", !1)({ | |
badge: h | |
}, m)); | |
d += k + | |
h + "</div>" | |
} | |
return y(d) | |
}, | |
Cq = function(a) { | |
var b = a.Ra, | |
c = y; | |
b = "bb-Le-S-G" + (b ? " " + b : ""); | |
var d = ""; | |
a = a.R; | |
for (var e = a.length, g = 0; g < e; g++) { | |
var h = a[g], | |
k = '<div class="' + x(b) + '">'; | |
h = y(Tp(h.Jb) && Tp(h.Vd) && Tp(h.isClickable) ? '<a href="' + x(S(h.ae)) + '" class="' + x("G-y") + '"><div class="' + x(h.Sc) + '" aria-label="' + x(h.description) + '"></div></a>' : '<div class="' + x(h.Sc) + '" aria-label="' + x(h.description) + '"></div>'); | |
d += k + h + "</div>" | |
} | |
b = y(d); | |
return c(b) | |
}, | |
Dq = function(a, b, c) { | |
var d = a.Ra; | |
return y(Bq({ | |
R: a.R, | |
Ra: "bb-Wd-Zb-S-G" + (d ? | |
" " + d : "") | |
}, c || b)) | |
}; | |
var Eq = function(a) { | |
Sl.call(this); | |
this.g = a ? ca(a) : window; | |
this.j = 1.5 <= this.g.devicePixelRatio ? 2 : 1; | |
this.h = D(this.w, this); | |
this.i = this.g.matchMedia ? this.g.matchMedia("(min-resolution: 1.5dppx), (-webkit-min-device-pixel-ratio: 1.5)") : null | |
}; | |
E(Eq, Sl); | |
Eq.prototype.start = function() { | |
this.i && this.i.addListener(this.h) | |
}; | |
Eq.prototype.w = function() { | |
var a = 1.5 <= this.g.devicePixelRatio ? 2 : 1; | |
this.j != a && (this.j = a, this.dispatchEvent("a")) | |
}; | |
Eq.prototype.V = function() { | |
this.i && this.i.removeListener(this.h); | |
Eq.M.V.call(this) | |
}; | |
var Fq = function(a) { | |
Sl.call(this); | |
this.g = a || window; | |
this.h = El(this.g, "resize", this.j, !1, this); | |
this.i = pm(this.g || window) | |
}; | |
E(Fq, Sl); | |
Fq.prototype.V = function() { | |
Fq.M.V.call(this); | |
this.h && (Ml(this.h), this.h = null); | |
this.i = this.g = null | |
}; | |
Fq.prototype.j = function() { | |
var a = pm(this.g || window); | |
gm(a, this.i) || (this.i = a, this.dispatchEvent("resize")) | |
}; | |
var Gq = function(a, b) { | |
Ok.call(this); | |
this.w = a; | |
if (b) { | |
if (this.j) throw Error("G"); | |
this.j = b; | |
this.g = da(b); | |
this.i = new Fq(rm(b)); | |
this.i.kf(this.w.u); | |
this.h = new Eq(this.g); | |
this.h.start() | |
} | |
}; | |
E(Gq, Ok); | |
var Hq = function(a) { | |
return a.get(Co) | |
}; | |
Gq.prototype.V = function() { | |
this.g = this.j = null; | |
this.i && (this.i.dispose(), this.i = null); | |
Pk(this.h); | |
this.h = null | |
}; | |
var Jq = function(a, b, c, d) { | |
a = a(b || Iq, void 0, c); | |
d = Zm(d || da(), "DIV"); | |
a = vb(a); | |
tb(d, a); | |
1 == d.childNodes.length && (a = d.firstChild, 1 == a.nodeType && (d = a)); | |
return d | |
}, | |
vb = function(a) { | |
return fd(a) ? a instanceof wb ? Np(a) : If("zSoyz") : If(String(a)) | |
}, | |
Iq = {}; | |
var Kq = function(a, b) { | |
this.o = b || da(); | |
this.j = a || null | |
}, | |
Mq = function(a, b, c) { | |
b = Jq(b, c, Lq(a), a.o); | |
a.g(b, u); | |
return b | |
}, | |
Nq = function(a, b, c, d) { | |
var e = Lq(a); | |
c = vb(c(d || Iq, void 0, e)); | |
tb(b, c); | |
a.g(b, u) | |
}; | |
Kq.prototype.render = function(a, b) { | |
a = a(b || {}, Lq(this)); | |
this.g(null, a && a.$); | |
return String(a) | |
}; | |
var Oq = function(a, b, c) { | |
a = b(c || {}, Lq(a)); | |
return String(a) | |
}, | |
Pq = function(a, b, c) { | |
b = b(c || {}, Lq(a), Lq(a)); | |
a.g(null, b.$); | |
return b | |
}, | |
Qq = function(a, b, c) { | |
return Np(Pq(a, b, c)) | |
}; | |
Kq.prototype.g = $c; | |
var Lq = function(a) { | |
return a.j ? a.j.getData() : {} | |
}; | |
var Sq = function(a) { | |
Kq.call(this, this, a.get(Co).g); | |
this.h = a; | |
this.w = new Sl; | |
this.i = Rq(this.h, Eo) | |
}; | |
E(Sq, Kq); | |
var Tq = new Uk("b"); | |
Sq.prototype.getData = function() { | |
this.h.ya() || (this.i = Rq(this.h, Eo)); | |
return this.i ? Uq(this.i) : {} | |
}; | |
Sq.prototype.g = function(a, b) { | |
Sq.M.g.call(this, a, b); | |
this.w.dispatchEvent(new Vq(Tq, a, b)) | |
}; | |
var Vq = function(a, b) { | |
Vk.call(this, a, b) | |
}; | |
B(Vq, Vk); | |
var Wq = function() {}; | |
ad(Wq); | |
Wq.prototype.g = 0; | |
var Xq = function(a, b, c, d) { | |
this.top = a; | |
this.right = b; | |
this.bottom = c; | |
this.left = d | |
}; | |
Xq.prototype.contains = function(a) { | |
return this && a ? a instanceof Xq ? a.left >= this.left && a.right <= this.right && a.top >= this.top && a.bottom <= this.bottom : a.x >= this.left && a.x <= this.right && a.y >= this.top && a.y <= this.bottom : !1 | |
}; | |
var Yq = function(a, b) { | |
var c = b.x < a.left ? b.x - a.left : b.x > a.right ? b.x - a.right : 0; | |
a = b.y < a.top ? b.y - a.top : b.y > a.bottom ? b.y - a.bottom : 0; | |
return Math.sqrt(c * c + a * a) | |
}; | |
Xq.prototype.ceil = function() { | |
this.top = Math.ceil(this.top); | |
this.right = Math.ceil(this.right); | |
this.bottom = Math.ceil(this.bottom); | |
this.left = Math.ceil(this.left); | |
return this | |
}; | |
Xq.prototype.floor = function() { | |
this.top = Math.floor(this.top); | |
this.right = Math.floor(this.right); | |
this.bottom = Math.floor(this.bottom); | |
this.left = Math.floor(this.left); | |
return this | |
}; | |
Xq.prototype.round = function() { | |
this.top = Math.round(this.top); | |
this.right = Math.round(this.right); | |
this.bottom = Math.round(this.bottom); | |
this.left = Math.round(this.left); | |
return this | |
}; | |
var Zq = function(a, b, c, d) { | |
this.left = a; | |
this.top = b; | |
this.width = c; | |
this.height = d | |
}, | |
$q = function(a) { | |
return new Xq(a.top, a.left + a.width, a.top + a.height, a.left) | |
}, | |
ar = function(a) { | |
return new Zq(a.left, a.top, a.right - a.left, a.bottom - a.top) | |
}; | |
Zq.prototype.contains = function(a) { | |
return a instanceof cm ? a.x >= this.left && a.x <= this.left + this.width && a.y >= this.top && a.y <= this.top + this.height : this.left <= a.left && this.left + this.width >= a.left + a.width && this.top <= a.top && this.top + this.height >= a.top + a.height | |
}; | |
Zq.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 | |
}; | |
Zq.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 | |
}; | |
Zq.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 | |
}; | |
var cr = function(a, b, c) { | |
if ("string" === typeof b)(b = br(a, b)) && (a.style[b] = c); | |
else | |
for (var d in b) { | |
c = a; | |
var e = b[d], | |
g = br(c, d); | |
g && (c.style[g] = e) | |
} | |
}, | |
dr = {}, | |
br = function(a, b) { | |
var c = dr[b]; | |
if (!c) { | |
var d = mg(b); | |
c = d; | |
void 0 === a.style[d] && (d = (yg ? "Webkit" : xg ? "Moz" : F ? "ms" : ug ? "O" : null) + ng(d), void 0 !== a.style[d] && (c = d)); | |
dr[b] = c | |
} | |
return c | |
}, | |
er = function(a, b) { | |
var c = a.style[mg(b)]; | |
return "undefined" !== typeof c ? c : a.style[br(a, b)] || "" | |
}, | |
fr = function(a, b) { | |
var c = im(a); | |
return c.defaultView && c.defaultView.getComputedStyle && (a = c.defaultView.getComputedStyle(a, | |
null)) ? a[b] || a.getPropertyValue(b) || "" : "" | |
}, | |
gr = function(a, b) { | |
return fr(a, b) || (a.currentStyle ? a.currentStyle[b] : null) || a.style && a.style[b] | |
}, | |
ir = function(a, b, c) { | |
if (b instanceof cm) { | |
var d = b.x; | |
b = b.y | |
} else d = b, b = c; | |
a.style.left = hr(d, !1); | |
a.style.top = hr(b, !1) | |
}, | |
jr = function(a) { | |
a = a ? im(a) : document; | |
return !F || Pg(9) || om(da(a).g) ? a.documentElement : a.body | |
}, | |
kr = function(a) { | |
try { | |
var b = a.getBoundingClientRect() | |
} catch (c) { | |
return { | |
left: 0, | |
top: 0, | |
right: 0, | |
bottom: 0 | |
} | |
} | |
F && a.ownerDocument.body && (a = a.ownerDocument, b.left -= a.documentElement.clientLeft + | |
a.body.clientLeft, b.top -= a.documentElement.clientTop + a.body.clientTop); | |
return b | |
}, | |
lr = function(a) { | |
if (F && !Pg(8)) return a.offsetParent; | |
var b = im(a), | |
c = gr(a, "position"), | |
d = "fixed" == c || "absolute" == c; | |
for (a = a.parentNode; a && a != b; a = a.parentNode) | |
if (11 == a.nodeType && a.host && (a = a.host), c = gr(a, "position"), d = d && "static" == c && a != b.documentElement && a != b.body, !d && (a.scrollWidth > a.clientWidth || a.scrollHeight > a.clientHeight || "fixed" == c || "absolute" == c || "relative" == c)) return a; | |
return null | |
}, | |
nr = function(a) { | |
for (var b = new Xq(0, | |
Infinity, Infinity, 0), c = da(a), d = c.g.body, e = c.g.documentElement, g = qm(c.g); a = lr(a);) | |
if (!(F && 0 == a.clientWidth || yg && 0 == a.clientHeight && a == d) && a != d && a != e && "visible" != gr(a, "overflow")) { | |
var h = mr(a), | |
k = new cm(a.clientLeft, a.clientTop); | |
h.x += k.x; | |
h.y += k.y; | |
b.top = Math.max(b.top, h.y); | |
b.right = Math.min(b.right, h.x + a.clientWidth); | |
b.bottom = Math.min(b.bottom, h.y + a.clientHeight); | |
b.left = Math.max(b.left, h.x) | |
} d = g.scrollLeft; | |
g = g.scrollTop; | |
b.left = Math.max(b.left, d); | |
b.top = Math.max(b.top, g); | |
c = Ym(c); | |
b.right = Math.min(b.right, d + | |
c.width); | |
b.bottom = Math.min(b.bottom, g + c.height); | |
return 0 <= b.top && 0 <= b.left && b.bottom > b.top && b.right > b.left ? b : null | |
}, | |
mr = function(a) { | |
var b = im(a), | |
c = new cm(0, 0), | |
d = jr(b); | |
if (a == d) return c; | |
a = kr(a); | |
b = $m(da(b)); | |
c.x = a.left + b.x; | |
c.y = a.top + b.y; | |
return c | |
}, | |
pr = function(a) { | |
var b = document.body; | |
a = or(a); | |
b = or(b); | |
return new cm(a.x - b.x, a.y - b.y) | |
}, | |
qr = function(a) { | |
a = kr(a); | |
return new cm(a.left, a.top) | |
}, | |
or = function(a) { | |
if (1 == a.nodeType) return qr(a); | |
a = a.changedTouches ? a.changedTouches[0] : a; | |
return new cm(a.clientX, a.clientY) | |
}, | |
rr = function(a, | |
b, c) { | |
if (b instanceof fm) c = b.height, b = b.width; | |
else if (void 0 == c) throw Error("H"); | |
a.style.width = hr(b, !0); | |
a.style.height = hr(c, !0) | |
}, | |
hr = function(a, b) { | |
"number" == typeof a && (a = (b ? Math.round(a) : a) + "px"); | |
return a | |
}, | |
Vb = function(a) { | |
var b = sr; | |
if ("none" != gr(a, "display")) return b(a); | |
var c = a.style, | |
d = c.display, | |
e = c.visibility, | |
g = c.position; | |
c.visibility = "hidden"; | |
c.position = "absolute"; | |
c.display = "inline"; | |
a = b(a); | |
c.display = d; | |
c.position = g; | |
c.visibility = e; | |
return a | |
}, | |
sr = function(a) { | |
var b = a.offsetWidth, | |
c = a.offsetHeight, | |
d = yg && !b && | |
!c; | |
return (void 0 === b || d) && a.getBoundingClientRect ? (a = kr(a), new fm(a.right - a.left, a.bottom - a.top)) : new fm(b, c) | |
}, | |
tr = function(a) { | |
var b = mr(a); | |
a = Vb(a); | |
return new Zq(b.x, b.y, a.width, a.height) | |
}, | |
ur = function(a, b) { | |
a = a.style; | |
"opacity" in a ? a.opacity = b : "MozOpacity" in a ? a.MozOpacity = b : "filter" in a && (a.filter = "" === b ? "" : "alpha(opacity=" + 100 * Number(b) + ")") | |
}, | |
T = function(a, b) { | |
a.style.display = b ? "" : "none" | |
}, | |
vr = function(a) { | |
return "rtl" == gr(a, "direction") | |
}, | |
wr = xg ? "MozUserSelect" : yg || vg ? "WebkitUserSelect" : null, | |
xr = function(a, | |
b, c) { | |
c = c ? null : a.getElementsByTagName("*"); | |
if (wr) { | |
if (b = b ? "none" : "", a.style && (a.style[wr] = b), c) { | |
a = 0; | |
for (var d; d = c[a]; a++) d.style && (d.style[wr] = b) | |
} | |
} else if (F || ug) | |
if (b = b ? "on" : "", a.setAttribute("unselectable", b), c) | |
for (a = 0; d = c[a]; a++) d.setAttribute("unselectable", b) | |
}, | |
yr = function(a, b) { | |
if (/^\d+px?$/.test(b)) return parseInt(b, 10); | |
var c = a.style.left, | |
d = a.runtimeStyle.left; | |
a.runtimeStyle.left = a.currentStyle.left; | |
a.style.left = b; | |
b = a.style.pixelLeft; | |
a.style.left = c; | |
a.runtimeStyle.left = d; | |
return +b | |
}, | |
zr = function(a, b) { | |
return (b = | |
a.currentStyle ? a.currentStyle[b] : null) ? yr(a, b) : 0 | |
}, | |
Ar = { | |
thin: 2, | |
medium: 4, | |
thick: 6 | |
}, | |
Br = function(a, b) { | |
if ("none" == (a.currentStyle ? a.currentStyle[b + "Style"] : null)) return 0; | |
b = a.currentStyle ? a.currentStyle[b + "Width"] : null; | |
return b in Ar ? Ar[b] : yr(a, b) | |
}, | |
Cr = function(a) { | |
if (F && !Pg(9)) { | |
var b = Br(a, "borderLeft"), | |
c = Br(a, "borderRight"), | |
d = Br(a, "borderTop"); | |
a = Br(a, "borderBottom"); | |
return new Xq(d, c, a, b) | |
} | |
b = fr(a, "borderLeftWidth"); | |
c = fr(a, "borderRightWidth"); | |
d = fr(a, "borderTopWidth"); | |
a = fr(a, "borderBottomWidth"); | |
return new Xq(parseFloat(d), | |
parseFloat(c), parseFloat(a), parseFloat(b)) | |
}; | |
var Er = function(a) { | |
Sl.call(this); | |
this.g = a || da(); | |
this.xc = Dr; | |
this.Ja = null; | |
this.za = !1; | |
this.ba = null; | |
this.ma = void 0; | |
this.aa = this.w = this.T = this.cj = null; | |
this.lm = !1 | |
}; | |
E(Er, Sl); | |
Er.prototype.kq = Wq.Fa(); | |
var Dr = null, | |
Fr = function(a, b) { | |
switch (a) { | |
case 1: | |
return b ? "disable" : "enable"; | |
case 2: | |
return b ? "highlight" : "unhighlight"; | |
case 4: | |
return b ? "activate" : "deactivate"; | |
case 8: | |
return b ? "select" : "unselect"; | |
case 16: | |
return b ? "check" : "uncheck"; | |
case 32: | |
return b ? "focus" : "blur"; | |
case 64: | |
return b ? "open" : "close" | |
} | |
throw Error("I"); | |
}; | |
Er.prototype.getId = function() { | |
return this.Ja || (this.Ja = ":" + (this.kq.g++).toString(36)) | |
}; | |
var Gr = function(a, b) { | |
a.T && a.T.aa && (ye(a.T.aa, a.Ja), ze(a.T.aa, b, a)); | |
a.Ja = b | |
}; | |
Er.prototype.s = function() { | |
return this.ba | |
}; | |
var Hr = function(a, b) { | |
return a.ba ? ra(b, a.ba || a.g.g) : [] | |
}, | |
U = function(a, b) { | |
return a.ba ? Xm(a.g, b, a.ba) : null | |
}; | |
Er.prototype.B = function() { | |
this.ma || (this.ma = new Jo(this)); | |
return this.ma | |
}; | |
var Jr = function(a, b) { | |
if (a == b) throw Error("J"); | |
if (b && a.T && a.Ja && Ir(a.T, a.Ja) && a.T != b) throw Error("J"); | |
a.T = b; | |
Er.M.kf.call(a, b) | |
}; | |
Er.prototype.getParent = function() { | |
return this.T | |
}; | |
Er.prototype.kf = function(a) { | |
if (this.T && this.T != a) throw Error("K"); | |
Er.M.kf.call(this, a) | |
}; | |
Er.prototype.S = function() { | |
this.ba = Zm(this.g, "DIV") | |
}; | |
Er.prototype.render = function(a) { | |
Kr(this, a) | |
}; | |
var Kr = function(a, b, c) { | |
if (a.za) throw Error("L"); | |
a.ba || a.S(); | |
b ? b.insertBefore(a.ba, c || null) : a.g.g.body.appendChild(a.ba); | |
a.T && !a.T.za || a.O() | |
}, | |
Lr = function(a, b) { | |
if (a.za) throw Error("L"); | |
if (b && a.cb(b)) { | |
a.lm = !0; | |
var c = im(b); | |
a.g && a.g.g == c || (a.g = da(b)); | |
a.oa(b); | |
a.O() | |
} else throw Error("M"); | |
}; | |
f = Er.prototype; | |
f.cb = function() { | |
return !0 | |
}; | |
f.oa = function(a) { | |
this.ba = a | |
}; | |
f.O = function() { | |
this.za = !0; | |
Mr(this, function(a) { | |
!a.za && a.s() && a.O() | |
}) | |
}; | |
f.qa = function() { | |
Mr(this, function(a) { | |
a.za && a.qa() | |
}); | |
this.ma && this.ma.removeAll(); | |
this.za = !1 | |
}; | |
f.V = function() { | |
this.za && this.qa(); | |
this.ma && (this.ma.dispose(), delete this.ma); | |
Mr(this, function(a) { | |
a.dispose() | |
}); | |
!this.lm && this.ba && Dm(this.ba); | |
this.T = this.cj = this.ba = this.aa = this.w = null; | |
Er.M.V.call(this) | |
}; | |
f.sb = function() { | |
return this.cj | |
}; | |
f.ia = function(a, b) { | |
this.Ie(a, Nr(this), b) | |
}; | |
f.Ie = function(a, b, c) { | |
if (a.za && (c || !this.za)) throw Error("L"); | |
if (0 > b || b > Nr(this)) throw Error("N"); | |
this.aa && this.w || (this.aa = {}, this.w = []); | |
if (a.getParent() == this) { | |
var d = a.getId(); | |
this.aa[d] = a; | |
Bd(this.w, a) | |
} else ze(this.aa, a.getId(), a); | |
Jr(a, this); | |
Gd(this.w, b, 0, a); | |
a.za && this.za && a.getParent() == this ? (c = this.Dc(), b = c.childNodes[b] || null, b != a.s() && c.insertBefore(a.s(), b)) : c ? (this.ba || this.S(), b = Or(this, b + 1), Kr(a, this.Dc(), b ? b.ba : null)) : this.za && !a.za && a.ba && a.ba.parentNode && 1 == a.ba.parentNode.nodeType && a.O() | |
}; | |
f.Dc = function() { | |
return this.ba | |
}; | |
var Pr = function(a) { | |
null == a.xc && (a.xc = vr(a.za ? a.ba : a.g.g.body)); | |
return a.xc | |
}, | |
Nr = function(a) { | |
return a.w ? a.w.length : 0 | |
}, | |
Qr = function(a) { | |
var b = []; | |
Mr(a, function(c) { | |
b.push(c.getId()) | |
}); | |
return b | |
}, | |
Ir = function(a, b) { | |
return a.aa && b ? Ae(a.aa, b) || null : null | |
}, | |
Or = function(a, b) { | |
return a.w ? a.w[b] || null : null | |
}, | |
Mr = function(a, b, c) { | |
a.w && qa(a.w, b, c) | |
}, | |
Rr = function(a, b) { | |
return a.w && b ? oa(a.w, b) : -1 | |
}; | |
Er.prototype.removeChild = function(a, b) { | |
if (a) { | |
var c = "string" === typeof a ? a : a.getId(); | |
a = Ir(this, c); | |
c && a && (ye(this.aa, c), Bd(this.w, a), b && (a.qa(), a.ba && Dm(a.ba)), Jr(a, null)) | |
} | |
if (!a) throw Error("O"); | |
return a | |
}; | |
var Sr = function(a) { | |
Er.call(this, Hq(a).g); | |
this.v = a; | |
this.i = a.get(Do) | |
}; | |
B(Sr, Er); | |
f = Sr.prototype; | |
f.S = function() { | |
Er.prototype.S.call(this) | |
}; | |
f.oa = function(a) { | |
Er.prototype.oa.call(this, a) | |
}; | |
f.O = function() { | |
Er.prototype.O.call(this) | |
}; | |
f.qa = function() { | |
Er.prototype.qa.call(this) | |
}; | |
f.cb = function(a) { | |
return a.tagName === "DIV".toString() | |
}; | |
var Tr = function(a, b, c, d) { | |
a.ia(b, !1); | |
d = d || a.s(); | |
Lr(b, Xm(a.g, c, d)) | |
}, | |
Ur = function(a, b, c, d) { | |
d = d || a.s(); | |
c = ra(c, d || a.g.g); | |
for (d = 0; d < b.length; ++d) a.ia(b[d], !1), Lr(b[d], c[d]) | |
}, | |
Vr = function(a, b, c, d) { | |
a.ia(b, !1); | |
d = d || a.s(); | |
b.render(Xm(a.g, c, d)) | |
}; | |
var Yr = function(a) { | |
var b = []; | |
Wr(new Xr, a, b); | |
return b.join("") | |
}, | |
Xr = function() {}, | |
Wr = function(a, b, c) { | |
if (null == b) c.push("null"); | |
else { | |
if ("object" == typeof b) { | |
if (Array.isArray(b)) { | |
var d = b; | |
b = d.length; | |
c.push("["); | |
for (var e = "", g = 0; g < b; g++) c.push(e), Wr(a, d[g], c), e = ","; | |
c.push("]"); | |
return | |
} | |
if (b instanceof String || b instanceof Number || b instanceof Boolean) b = b.valueOf(); | |
else { | |
c.push("{"); | |
e = ""; | |
for (d in b) Object.prototype.hasOwnProperty.call(b, d) && (g = b[d], "function" != typeof g && (c.push(e), Zr(d, c), c.push(":"), Wr(a, g, c), | |
e = ",")); | |
c.push("}"); | |
return | |
} | |
} | |
switch (typeof b) { | |
case "string": | |
Zr(b, c); | |
break; | |
case "number": | |
c.push(isFinite(b) && !isNaN(b) ? String(b) : "null"); | |
break; | |
case "boolean": | |
c.push(String(b)); | |
break; | |
case "function": | |
c.push("null"); | |
break; | |
default: | |
throw Error("P`" + typeof b); | |
} | |
} | |
}, | |
$r = { | |
'"': '\\"', | |
"\\": "\\\\", | |
"/": "\\/", | |
"\b": "\\b", | |
"\f": "\\f", | |
"\n": "\\n", | |
"\r": "\\r", | |
"\t": "\\t", | |
"\x0B": "\\u000b" | |
}, | |
as = /\uffff/.test("\uffff") ? /[\\"\x00-\x1f\x7f-\uffff]/g : /[\\"\x00-\x1f\x7f-\xff]/g, | |
Zr = function(a, b) { | |
b.push('"', a.replace(as, function(c) { | |
var d = | |
$r[c]; | |
d || (d = "\\u" + (c.charCodeAt(0) | 65536).toString(16).substr(1), $r[c] = d); | |
return d | |
}), '"') | |
}; | |
var bs = function() { | |
var a = window; | |
if (!a.location) try { | |
Yr(a) | |
} catch (c) {} | |
var b = a.location && a.location.ancestorOrigins; | |
if (void 0 !== b) return b && b.length ? b[b.length - 1] == a.location.origin : !0; | |
try { | |
return void 0 !== a.top.location.href | |
} catch (c) { | |
return !1 | |
} | |
}; | |
var cs = {}, | |
ds = function() { | |
var a = {}; | |
a.location = document.location.toString(); | |
if (bs()) try { | |
a["top.location"] = top.location.toString() | |
} catch (c) { | |
a["top.location"] = "[external]" | |
} else a["top.location"] = "[external]"; | |
for (var b in cs) try { | |
a[b] = cs[b].call() | |
} catch (c) { | |
a[b] = "[error] " + c.message | |
} | |
return a | |
}; | |
var es = function(a) { | |
this.i = a; | |
this.g = {}; | |
for (var b = 0; b < a.length; b++) { | |
var c = a[b], | |
d = c.getName(); | |
c = l(c, 2); | |
this.g[d] = c | |
} | |
this.h = {} | |
}; | |
es.prototype.j = function() { | |
var a = td(this.i, function(b) { | |
return !!l(b, 2) && "off" != l(b, 2) | |
}); | |
Jd(a, function(b, c) { | |
return Id(b.getName(), c.getName()) | |
}); | |
a = ud(a, function(b) { | |
return b.getName() + ":" + l(b, 2) | |
}); | |
return lg(a) | |
}; | |
var V = function(a, b) { | |
return null != fs(a, b) | |
}, | |
fs = function(a, b) { | |
a.h[b] = !0; | |
return a.g[b] | |
}; | |
var gs = function() { | |
this.j = []; | |
this.i = null | |
}, | |
hs = function(a) { | |
return a.i ? hs(a.i) + 1 : 0 | |
}; | |
var is = function(a, b, c, d, e, g, h) { | |
d = void 0 === d ? 0 : d; | |
g = void 0 === g ? [] : g; | |
if (b && d) throw Error("Q"); | |
if (c && d) throw Error("Q"); | |
this.h = a; | |
this.i = d; | |
this.w = b; | |
this.j = c; | |
this.u = e; | |
this.g = g; | |
this.o = void 0 === h ? null : h | |
}, | |
js = function(a, b) { | |
return a.h == b.h && a.i == b.i && Dd(a.g).sort().toString() == Dd(b.g).sort().toString() && th(a.w, b.w) && th(a.j, b.j) | |
}, | |
ks = /^(ext|theme|app)/; | |
var ls = function(a) { | |
gs.call(this); | |
this.id = a.getId(); | |
this.displayName = l(a, 2); | |
this.g = l(a, 3); | |
this.h = l(a, 4); | |
this.eq = L(a, 5) || !1; | |
this.T = L(a, 6) || !1; | |
this.w = mh(a, zi, 7) || null; | |
this.u = L(a, 8) || !1; | |
this.A = L(a, 9) || !1; | |
var b; | |
a ? b = null == mh(a, zi, 7) && ks.test(a.getId()) : b = !1; | |
this.o = new is(b, null, null) | |
}; | |
B(ls, gs); | |
var ms = function(a) { | |
for (; a.i && a.i.i;) a = a.i; | |
return a | |
}, | |
ns = function(a, b) { | |
for (var c = [], d = 0; d < a.j.length; d++) | |
if (a.j[d] instanceof ls) { | |
var e = a.j[d], | |
g = e.id; | |
"collection/accessibility" == g || "collection/kiosk-apps" == g || "collection/chrome-dev-tools-extensions" == g || "collection/chromium-developer-tools" == g || e.A && V(b, "hcn") || c.push(e) | |
} return c | |
}, | |
os = function(a, b) { | |
a instanceof ls && b(a); | |
for (var c = 0; c < a.j.length; ++c) os(a.j[c], b) | |
}, | |
ps = function(a) { | |
var b = null; | |
os(a, function(c) { | |
c.T && (b = c) | |
}); | |
return b | |
}, | |
qs = function(a, b) { | |
var c = | |
null; | |
os(a, function(d) { | |
d.id === b && (c = d) | |
}); | |
return c || ps(a) | |
}, | |
rs = function(a, b) { | |
for (var c = 0; c < b.length; c++) { | |
var d = mh(b[c], Ai, 1); | |
d = d ? new ls(d) : new gs; | |
a.j.push(d); | |
d.i = a; | |
rs(d, N(b[c], kj, 3)) | |
} | |
}; | |
var ss = function(a, b) { | |
this.g = a; | |
this.i = b | |
}; | |
var ia = /^[a-p]{32}$/, | |
ea = /^(\/webstore(\/a\/[^\/]*)?)/; | |
var us = function(a, b, c, d) { | |
b = void 0 === b ? [] : b; | |
this.g = a; | |
this.i = b || []; | |
this.query = ts((void 0 === c ? null : c) || null); | |
this.h = d | |
}, | |
ts = function(a) { | |
var b = tp(vs); | |
a && qa(a.rb(), function(c) { | |
Ip(b, c, a.Wa(c)) | |
}); | |
return b | |
}, | |
ws = function(a, b) { | |
return a.nb() === b.nb() ? wd(a.rb(), function(c) { | |
var d = a.Wa(c); | |
c = b.Wa(c); | |
return Ld(d, c, function(e, g) { | |
return e == g | |
}) | |
}) : !1 | |
}, | |
xs = function(a, b) { | |
return a === b ? !0 : null != b && b instanceof us ? a.g === b.g && Ld(a.i, b.i) ? ws(a.query, b.query) : !1 : !1 | |
}, | |
ys = function(a) { | |
return null != a && ("detail" === a.g || "collection" === | |
a.g) | |
}, | |
zs = function(a) { | |
return null != a && "detail" === a.g | |
}, | |
As = function(a) { | |
switch (a) { | |
case "item": | |
return "detail"; | |
case "collection": | |
return "collection"; | |
default: | |
throw Error("R"); | |
} | |
}; | |
us.prototype.toString = function() { | |
return this.g + ":" + Bs(this) + ":" + this.query | |
}; | |
var Bs = function(a) { | |
return a.i.join("/") | |
}, | |
Ds = function(a, b) { | |
for (var c = Number(a.query.get("_sort", 0)), d = a.query.Wa("_feature"), e = [], g = 0; g < d.length; g++) { | |
var h = Cs[d[g]]; | |
void 0 !== h && e.push(h) | |
} | |
g = a.query.get("_wi", void 0); | |
h = a.query.Wa("_mt"); | |
d = null; | |
g && h && (d = new nk, M(d, 1, g), M(d, 2, h || [])); | |
h = a.query.get("_fe"); | |
var k = a.query.get("_fmt"); | |
g = null; | |
if (h || k) g = new Ej, h && M(g, 1, h), k && M(g, 2, k); | |
if (null != a.h && (h = a.h, null != h.Zm)) var m = h.Zm; | |
a = a.query.get("_category"); | |
return new is(b ? b.h : !1, d, g, c, m, e, a) | |
}, | |
Es = function(a) { | |
return "1" == | |
a.query.get("_asi") && "3" != a.query.get("source") | |
}, | |
Fs = function(a) { | |
return (a = a.query.get("_ind")) ? decodeURIComponent(a) : void 0 | |
}, | |
Jb = function(a) { | |
var b = new pp(ca(da()).location); | |
return ko(b.j, mo(b.toString())[2] || null, mo(b.toString())[3] || null, b.u, fa() + ud(Cd(a.g, a.i), cg).join("/"), encodeURI(up(a.query.toString())), null) | |
}, | |
Gs = function(a) { | |
var b = ud(Cd(a.g, a.i), cg).join("/"); | |
(a = encodeURI(up(a.query.toString()))) && (b += "?" + a); | |
return b | |
}, | |
Hs = function(a, b) { | |
var c = "none", | |
d = [], | |
e = null; | |
if (null != a) { | |
a = a.split("?", 2); | |
var g = | |
ud(a[0].split("/"), dg); | |
c = g[0]; | |
1 < g.length && (d = g.slice(1)); | |
1 < a.length && (a = a[1]) && (e = new vp(a), a = td(e.rb(), function(h) { | |
return 0 == h.indexOf("_") || "source" == h | |
}), Jp(e, a)) | |
} | |
return new us(c, d, e, b) | |
}, | |
Js = function(a) { | |
return Is(a.id) | |
}, | |
Is = function(a) { | |
return new us("category", a.split("/"), null, null) | |
}, | |
Ks = function(a, b) { | |
b = b ? b.g : void 0; | |
return new us(As(ba(a)), ha(a, b), null, null) | |
}, | |
Ms = function(a, b, c, d) { | |
b = new is(!1, null, null, void 0, void 0, c, b || void 0); | |
a = Ls(new us("search", [a]), b); | |
null != d && a.query.set("_ac", d); | |
return a | |
}, | |
Ns = function(a) { | |
return 5 == aa(a) ? Is("collection/" + a.Z()) : new us(As(ba(a)), ha(a)) | |
}, | |
Ls = function(a, b) { | |
var c = new vp; | |
0 == b.i || c.set("_sort", b.i); | |
for (var d = b.g, e = [], g = 0; g < d.length; g++) { | |
var h = Os[d[g]]; | |
void 0 !== h && e.push(h) | |
} | |
for (d = 0; d < e.length; d++) c.add("_feature", e[d]); | |
b.o && c.set("_category", b.o); | |
return new us(a.g, a.i, c, null) | |
}, | |
Ps = function() { | |
return new us("user", ["purchases"], null, null) | |
}, | |
Cs = { | |
android: 0, | |
google: 1, | |
offline: 4, | |
free: 5, | |
drive: 12, | |
"2stars": 6, | |
"3stars": 7, | |
"4stars": 8, | |
"5stars": 9, | |
chromeapp: 10, | |
website: 11 | |
}, | |
Os = Be(Cs), | |
vs = function() { | |
var a = ca(da()).location.search; | |
a && (a = a.substring(1)); | |
a = new vp(a); | |
var b = a.rb().filter(function(c) { | |
return !(0 == c.indexOf("_") || "source" == c) | |
}); | |
Jp(a, b); | |
return a | |
}(); | |
var Qs = function(a, b) { | |
this.i = a; | |
this.Ua = b; | |
this.constructor.Nk || (this.constructor.Nk = {}); | |
this.constructor.Nk[this.toString()] = this | |
}; | |
Qs.prototype.toString = function() { | |
this.g || (this.g = this.i.g + ":" + this.Ua); | |
return this.g | |
}; | |
var Rs = function(a, b) { | |
Qs.call(this, a, b) | |
}; | |
E(Rs, Qs); | |
var Ss = function(a) { | |
this.g = a | |
}, | |
Ts = new Ss("lib"); | |
/* | |
Portions of this code are from MochiKit, received by | |
The Closure Authors under the MIT license. All other code is Copyright | |
2005-2009 The Closure Authors. All Rights Reserved. | |
*/ | |
var Us = function(a, b) { | |
this.u = []; | |
this.pb = a; | |
this.P = b || null; | |
this.w = this.g = !1; | |
this.j = void 0; | |
this.J = this.Db = this.T = !1; | |
this.A = 0; | |
this.h = null; | |
this.o = 0 | |
}; | |
Us.prototype.cancel = function(a) { | |
if (this.g) this.j instanceof Us && this.j.cancel(); | |
else { | |
if (this.h) { | |
var b = this.h; | |
delete this.h; | |
a ? b.cancel(a) : (b.o--, 0 >= b.o && b.cancel()) | |
} | |
this.pb ? this.pb.call(this.P, this) : this.J = !0; | |
this.g || this.i(new Vs(this)) | |
} | |
}; | |
Us.prototype.L = function(a, b) { | |
this.T = !1; | |
Ws(this, a, b) | |
}; | |
var Ws = function(a, b, c) { | |
a.g = !0; | |
a.j = c; | |
a.w = !b; | |
Xs(a) | |
}, | |
Zs = function(a) { | |
if (a.g) { | |
if (!a.J) throw new Ys(a); | |
a.J = !1 | |
} | |
}; | |
Us.prototype.Ba = function(a) { | |
Zs(this); | |
Ws(this, !0, a) | |
}; | |
Us.prototype.i = function(a) { | |
Zs(this); | |
Ws(this, !1, a) | |
}; | |
var at = function(a, b, c) { | |
$s(a, b, null, c) | |
}, | |
$s = function(a, b, c, d) { | |
a.u.push([b, c, d]); | |
a.g && Xs(a) | |
}; | |
Us.prototype.then = function(a, b, c) { | |
var d, e, g = new rn(function(h, k) { | |
d = h; | |
e = k | |
}); | |
$s(this, d, function(h) { | |
h instanceof Vs ? g.cancel() : e(h) | |
}); | |
return g.then(a, b, c) | |
}; | |
Us.prototype.$goog_Thenable = !0; | |
var bt = function(a, b) { | |
b instanceof Us ? at(a, D(b.Ja, b)) : at(a, function() { | |
return b | |
}) | |
}; | |
Us.prototype.Ja = function(a) { | |
var b = new Us; | |
$s(this, b.Ba, b.i, b); | |
a && (b.h = this, this.o++); | |
return b | |
}; | |
var ct = function(a) { | |
return vd(a.u, function(b) { | |
return ed(b[1]) | |
}) | |
}, | |
Xs = function(a) { | |
if (a.A && a.g && ct(a)) { | |
var b = a.A, | |
c = dt[b]; | |
c && (C.clearTimeout(c.g), delete dt[b]); | |
a.A = 0 | |
} | |
a.h && (a.h.o--, delete a.h); | |
b = a.j; | |
for (var d = c = !1; a.u.length && !a.T;) { | |
var e = a.u.shift(), | |
g = e[0], | |
h = e[1]; | |
e = e[2]; | |
if (g = a.w ? h : g) try { | |
var k = g.call(e || a.P, b); | |
void 0 !== k && (a.w = a.w && (k == b || k instanceof Error), a.j = b = k); | |
if (pn(b) || "function" === typeof C.Promise && b instanceof C.Promise) d = !0, a.T = !0 | |
} catch (m) { | |
b = m, a.w = !0, ct(a) || (c = !0) | |
} | |
} | |
a.j = b; | |
d && (k = D(a.L, a, !0), d = | |
D(a.L, a, !1), b instanceof Us ? ($s(b, k, d), b.Db = !0) : b.then(k, d)); | |
c && (b = new et(b), dt[b.g] = b, a.A = b.g) | |
}, | |
Ys = function() { | |
od.call(this) | |
}; | |
E(Ys, od); | |
Ys.prototype.message = "Deferred has already fired"; | |
Ys.prototype.name = "AlreadyCalledError"; | |
var Vs = function() { | |
od.call(this) | |
}; | |
E(Vs, od); | |
Vs.prototype.message = "Deferred was canceled"; | |
Vs.prototype.name = "CanceledError"; | |
var et = function(a) { | |
this.g = C.setTimeout(D(this.h, this), 0); | |
this.i = a | |
}; | |
et.prototype.h = function() { | |
delete dt[this.g]; | |
throw this.i; | |
}; | |
var dt = {}; | |
var gt = function(a) { | |
Ok.call(this); | |
this.g = {}; | |
this.o = {}; | |
this.j = {}; | |
this.i = {}; | |
this.A = {}; | |
this.u = a ? a.u : new Sl; | |
this.aa = !a; | |
this.h = null; | |
a ? (this.h = a, this.j = a.j, this.i = a.i, this.o = a.o) : tc(); | |
a = ft(this); | |
this != a && (a.w ? a.w.push(this) : a.w = [this]) | |
}; | |
E(gt, Ok); | |
var ft = function(a) { | |
for (; a.h;) a = a.h; | |
return a | |
}, | |
ht = function(a, b) { | |
for (; a;) { | |
if (a == b) return !0; | |
a = a.h | |
} | |
return !1 | |
}; | |
gt.prototype.get = function(a) { | |
var b = Rq(this, a); | |
if (null == b) throw new it(a); | |
return b | |
}; | |
var jt = function(a, b) { | |
return !(!a.g[b] && !a.j[b]) | |
}, | |
Rq = function(a, b) { | |
for (var c = a; c; c = c.h) { | |
if (c.ya()) throw Error("S`" + b); | |
if (c.g[b]) return c.g[b][0]; | |
if (c.A[b]) break | |
} | |
if (c = a.j[b]) { | |
c = c(a); | |
if (null == c) throw Error("T`" + b); | |
a.registerService(b, c); | |
return c | |
} | |
return null | |
}; | |
gt.prototype.registerService = function(a, b, c) { | |
if (this.ya()) c || Pk(b); | |
else { | |
this.g[a] = [b, !c]; | |
c = kt(this, this, a); | |
for (var d = 0; d < c.length; d++) c[d].Ba(null); | |
delete this.o[a]; | |
return b | |
} | |
}; | |
gt.prototype.unregisterService = function(a) { | |
if (!this.g[a]) throw Error("U`" + a); | |
var b = this.g[a]; | |
delete this.g[a]; | |
b[1] && Pk(b[0]) | |
}; | |
var lt = function(a, b) { | |
if (a.v != b.v) { | |
if (ht(a.v, b.v)) return 1; | |
if (ht(b.v, a.v)) return -1 | |
} | |
return a.index < b.index ? -1 : a.index == b.index ? 0 : 1 | |
}, | |
kt = function(a, b, c) { | |
var d = [], | |
e = a.i[c]; | |
e && (sd(e, function(g) { | |
ht(g.v, b) && (d.push(g.d), Bd(e, g)) | |
}), 0 == e.length && delete a.i[c]); | |
return d | |
}, | |
mt = function(a, b) { | |
a.i && qe(a.i, function(c, d, e) { | |
sd(c, function(g) { | |
g.v == b && Bd(c, g) | |
}); | |
0 == c.length && delete e[d] | |
}) | |
}; | |
gt.prototype.V = function() { | |
if (ft(this) == this) { | |
var a = this.w; | |
if (a) | |
for (; a.length;) a[0].dispose() | |
} else { | |
a = ft(this).w; | |
for (var b = 0; b < a.length; b++) | |
if (a[b] == this) { | |
a.splice(b, 1); | |
break | |
} | |
} | |
for (var c in this.g) a = this.g[c], a[1] && a[0].dispose && a[0].dispose(); | |
this.g = null; | |
this.aa && this.u.dispose(); | |
mt(this, this); | |
this.i = null; | |
Pk(this.T); | |
this.A = this.T = null; | |
gt.M.V.call(this) | |
}; | |
var it = function(a) { | |
od.call(this); | |
this.id = a; | |
this.message = 'Service for "' + a + '" is not registered' | |
}; | |
E(it, od); | |
new Rs(new Ss("fva"), 1); | |
var nt = function() { | |
return y('<div class="' + x("f-rd") + " " + x("ta") + '"><div class="' + x("ta-x") + '"></div><div class="' + x("ta-Ee") + '"></div></div>') | |
}; | |
var pt = function(a) { | |
if (a.altKey && !a.ctrlKey || a.metaKey || 112 <= a.keyCode && 123 >= a.keyCode) return !1; | |
if (ot(a.keyCode)) return !0; | |
switch (a.keyCode) { | |
case 18: | |
case 20: | |
case 93: | |
case 17: | |
case 40: | |
case 35: | |
case 27: | |
case 36: | |
case 45: | |
case 37: | |
case 224: | |
case 91: | |
case 144: | |
case 12: | |
case 34: | |
case 33: | |
case 19: | |
case 255: | |
case 44: | |
case 39: | |
case 145: | |
case 16: | |
case 38: | |
case 252: | |
case 224: | |
case 92: | |
return !1; | |
case 0: | |
return !xg; | |
default: | |
return 166 > a.keyCode || 183 < a.keyCode | |
} | |
}, | |
rt = function(a, b, c, d, e, g) { | |
if (yg && !Ng("525")) return !0; | |
if (zg && e) return ot(a); | |
if (e && | |
!d) return !1; | |
if (!xg) { | |
"number" === typeof b && (b = qt(b)); | |
var h = 17 == b || 18 == b || zg && 91 == b; | |
if ((!c || zg) && h || zg && 16 == b && (d || g)) return !1 | |
} | |
if ((yg || vg) && d && c) switch (a) { | |
case 220: | |
case 219: | |
case 221: | |
case 192: | |
case 186: | |
case 189: | |
case 187: | |
case 188: | |
case 190: | |
case 191: | |
case 192: | |
case 222: | |
return !1 | |
} | |
if (F && d && b == a) return !1; | |
switch (a) { | |
case 13: | |
return xg ? g || e ? !1 : !(c && d) : !0; | |
case 27: | |
return !(yg || vg || xg) | |
} | |
return xg && (d || e || g) ? !1 : ot(a) | |
}, | |
ot = function(a) { | |
if (48 <= a && 57 >= a || 96 <= a && 106 >= a || 65 <= a && 90 >= a || (yg || vg) && 0 == a) return !0; | |
switch (a) { | |
case 32: | |
case 43: | |
case 63: | |
case 64: | |
case 107: | |
case 109: | |
case 110: | |
case 111: | |
case 186: | |
case 59: | |
case 189: | |
case 187: | |
case 61: | |
case 188: | |
case 190: | |
case 191: | |
case 192: | |
case 222: | |
case 219: | |
case 220: | |
case 221: | |
case 163: | |
case 58: | |
return !0; | |
case 173: | |
return xg; | |
default: | |
return !1 | |
} | |
}, | |
qt = function(a) { | |
if (xg) a = st(a); | |
else if (zg && yg) switch (a) { | |
case 93: | |
a = 91 | |
} | |
return a | |
}, | |
st = function(a) { | |
switch (a) { | |
case 61: | |
return 187; | |
case 59: | |
return 186; | |
case 173: | |
return 189; | |
case 224: | |
return 91; | |
case 0: | |
return 224; | |
default: | |
return a | |
} | |
}; | |
var tt = function(a, b) { | |
Sl.call(this); | |
this.ga = new Jo(this); | |
this.fk(a || null); | |
b && (this.Ua = b) | |
}; | |
E(tt, Sl); | |
f = tt.prototype; | |
f.ba = null; | |
f.Qk = null; | |
f.Se = !1; | |
f.Ej = -1; | |
f.Ua = "toggle_display"; | |
f.s = function() { | |
return this.ba | |
}; | |
f.fk = function(a) { | |
if (this.Se) throw Error("V"); | |
this.ba = a | |
}; | |
f.B = function() { | |
return this.ga | |
}; | |
f.isVisible = function() { | |
return this.Se | |
}; | |
f.ja = function(a) { | |
this.L && this.L.stop(); | |
this.J && this.J.stop(); | |
if (a) { | |
if (!this.Se && this.Tj()) { | |
if (!this.ba) throw Error("W"); | |
this.rh(); | |
a = im(this.ba); | |
this.ga.listen(a, "mousedown", this.Mm, !0); | |
if (F) { | |
try { | |
var b = a.activeElement | |
} catch (d) {} | |
for (; b && "IFRAME" == b.nodeName;) { | |
try { | |
var c = Km(b) | |
} catch (d) { | |
break | |
} | |
a = c; | |
b = a.activeElement | |
} | |
this.ga.listen(a, "mousedown", this.Mm, !0); | |
this.ga.listen(a, "deactivate", this.Km) | |
} else this.ga.listen(a, "blur", this.Km); | |
"toggle_display" == this.Ua ? (this.ba.style.visibility = "visible", T(this.ba, | |
!0)) : "move_offscreen" == this.Ua && this.rh(); | |
this.Se = !0; | |
this.Ej = tc(); | |
this.L ? (Dl(this.L, "end", this.$h, !1, this), this.L.play()) : this.$h() | |
} | |
} else ut(this) | |
}; | |
f.rh = $c; | |
var ut = function(a, b) { | |
a.Se && a.dispatchEvent({ | |
type: "beforehide", | |
target: b | |
}) && (a.ga && a.ga.removeAll(), a.Se = !1, tc(), a.J ? (Dl(a.J, "end", ld(a.gl, b), !1, a), a.J.play()) : a.gl(b)) | |
}; | |
f = tt.prototype; | |
f.gl = function(a) { | |
"toggle_display" == this.Ua ? this.Wp() : "move_offscreen" == this.Ua && (this.ba.style.top = "-10000px"); | |
this.rg(a) | |
}; | |
f.Wp = function() { | |
this.ba.style.visibility = "hidden"; | |
T(this.ba, !1) | |
}; | |
f.Tj = function() { | |
return this.dispatchEvent("beforeshow") | |
}; | |
f.$h = function() { | |
this.dispatchEvent("show") | |
}; | |
f.rg = function(a) { | |
this.dispatchEvent({ | |
type: "hide", | |
target: a | |
}) | |
}; | |
f.Mm = function(a) { | |
a = a.target; | |
Jm(this.ba, a) || vt(this, a) || 150 > tc() - this.Ej || ut(this, a) | |
}; | |
f.Km = function(a) { | |
var b = im(this.ba); | |
if ("undefined" != typeof document.activeElement) { | |
if (a = b.activeElement, !a || Jm(this.ba, a) || "BODY" == a.tagName || vt(this, a)) return | |
} else if (a.target != b) return; | |
150 > tc() - this.Ej || ut(this) | |
}; | |
var vt = function(a, b) { | |
return vd(a.Qk || [], function(c) { | |
return b === c || Jm(c, b) | |
}) | |
}; | |
tt.prototype.V = function() { | |
tt.M.V.call(this); | |
this.ga.dispose(); | |
Pk(this.L); | |
Pk(this.J); | |
delete this.ba; | |
delete this.ga; | |
delete this.Qk | |
}; | |
var wt = function() {}; | |
wt.prototype.g = function() {}; | |
var xt = function() { | |
if (Ag) { | |
var a = /Windows NT ([0-9.]+)/; | |
return (a = a.exec(le)) ? a[1] : "0" | |
} | |
return zg ? (a = /10[_.][0-9_.]+/, (a = a.exec(le)) ? a[0].replace(/_/g, ".") : "10") : Cg ? (a = /Android\s+([^\);]+)(\)|;)/, (a = a.exec(le)) ? a[1] : "") : Dg || Eg || Fg ? (a = /(?:iPhone|CPU)\s+OS\s+(\S+)/, (a = a.exec(le)) ? a[1].replace(/_/g, ".") : "") : "" | |
}(); | |
var yt = function(a) { | |
return (a = a.exec(le)) ? a[1] : "" | |
}, | |
zt = function() { | |
if (Sg) return yt(/Firefox\/([0-9.]+)/); | |
if (F || vg || ug) return Mg; | |
if (Wg) return pg() ? yt(/CriOS\/([0-9.]+)/) : yt(/Chrome\/([0-9.]+)/); | |
if (Xg && !pg()) return yt(/Version\/([0-9.]+)/); | |
if (Tg || Ug) { | |
var a = /Version\/(\S+).*Mobile\/(\S+)/.exec(le); | |
if (a) return a[1] + "." + a[2] | |
} else if (Vg) return (a = yt(/Android\s+([0-9.]+)/)) ? a : yt(/Version\/([0-9.]+)/); | |
return "" | |
}(), | |
At = function(a) { | |
return 0 <= ke(zt, a) | |
}; | |
var Et = function(a, b, c, d, e, g, h, k, m) { | |
var p = Bt(c), | |
q = tr(a), | |
t = nr(a); | |
if (t) { | |
var v = ar(t); | |
t = Math.max(q.left, v.left); | |
var w = Math.min(q.left + q.width, v.left + v.width); | |
if (t <= w) { | |
var J = Math.max(q.top, v.top); | |
v = Math.min(q.top + q.height, v.top + v.height); | |
J <= v && (q.left = t, q.top = J, q.width = w - t, q.height = v - J) | |
} | |
} | |
t = da(a); | |
J = da(c); | |
if (t.g != J.g) { | |
w = t.g.body; | |
J = ca(J); | |
v = new cm(0, 0); | |
var G = rm(im(w)); | |
if (rg(G, "parent")) { | |
var I = w; | |
do { | |
var ja = G == J ? mr(I) : qr(I); | |
v.x += ja.x; | |
v.y += ja.y | |
} while (G && G != J && G != G.parent && (I = G.frameElement) && (G = G.parent)) | |
} | |
w = em(v, | |
mr(w)); | |
!F || Pg(9) || om(t.g) || (w = em(w, $m(t))); | |
q.left += w.x; | |
q.top += w.y | |
} | |
a = Ct(a, b); | |
b = q.left; | |
a & 4 ? b += q.width : a & 2 && (b += q.width / 2); | |
q = new cm(b, q.top + (a & 1 ? q.height : 0)); | |
q = em(q, p); | |
e && (q.x += (a & 4 ? -1 : 1) * e.x, q.y += (a & 1 ? -1 : 1) * e.y); | |
if (h) | |
if (m) var Y = m; | |
else if (Y = nr(c)) Y.top -= p.y, Y.right -= p.x, Y.bottom -= p.y, Y.left -= p.x; | |
return Dt(q, c, d, g, Y, h, k) | |
}, | |
Bt = function(a) { | |
if (a = a.offsetParent) { | |
var b = "HTML" == a.tagName || "BODY" == a.tagName; | |
if (!b || "static" != gr(a, "position")) { | |
var c = mr(a); | |
if (!b) { | |
b = vr(a); | |
var d; | |
if (d = b) { | |
d = Xg && At(10); | |
var e = Gg && 0 <= | |
ke(xt, 10); | |
d = xg || d || e | |
} | |
b = d ? -a.scrollLeft : !b || wg && Ng("8") || "visible" == gr(a, "overflowX") ? a.scrollLeft : a.scrollWidth - a.clientWidth - a.scrollLeft; | |
c = em(c, new cm(b, a.scrollTop)) | |
} | |
} | |
} | |
return c || new cm | |
}, | |
Dt = function(a, b, c, d, e, g, h) { | |
a = dm(a); | |
var k = Ct(b, c); | |
c = Vb(b); | |
h = h ? new fm(h.width, h.height) : new fm(c.width, c.height); | |
a = dm(a); | |
h = new fm(h.width, h.height); | |
var m = 0; | |
if (d || 0 != k) k & 4 ? a.x -= h.width + (d ? d.right : 0) : k & 2 ? a.x -= h.width / 2 : d && (a.x += d.left), k & 1 ? a.y -= h.height + (d ? d.bottom : 0) : d && (a.y += d.top); | |
if (g) { | |
if (e) { | |
d = a; | |
k = h; | |
m = 0; | |
65 == (g & | |
65) && (d.x < e.left || d.x >= e.right) && (g &= -2); | |
132 == (g & 132) && (d.y < e.top || d.y >= e.bottom) && (g &= -5); | |
d.x < e.left && g & 1 && (d.x = e.left, m |= 1); | |
if (g & 16) { | |
var p = d.x; | |
d.x < e.left && (d.x = e.left, m |= 4); | |
d.x + k.width > e.right && (k.width = Math.min(e.right - d.x, p + k.width - e.left), k.width = Math.max(k.width, 0), m |= 4) | |
} | |
d.x + k.width > e.right && g & 1 && (d.x = Math.max(e.right - k.width, e.left), m |= 1); | |
g & 2 && (m |= (d.x < e.left ? 16 : 0) | (d.x + k.width > e.right ? 32 : 0)); | |
d.y < e.top && g & 4 && (d.y = e.top, m |= 2); | |
g & 32 && (p = d.y, d.y < e.top && (d.y = e.top, m |= 8), d.y + k.height > e.bottom && (k.height = | |
Math.min(e.bottom - d.y, p + k.height - e.top), k.height = Math.max(k.height, 0), m |= 8)); | |
d.y + k.height > e.bottom && g & 4 && (d.y = Math.max(e.bottom - k.height, e.top), m |= 2); | |
g & 8 && (m |= (d.y < e.top ? 64 : 0) | (d.y + k.height > e.bottom ? 128 : 0)); | |
e = m | |
} else e = 256; | |
m = e | |
} | |
g = new Zq(0, 0, 0, 0); | |
g.left = a.x; | |
g.top = a.y; | |
g.width = h.width; | |
g.height = h.height; | |
e = m; | |
if (e & 496) return e; | |
ir(b, new cm(g.left, g.top)); | |
h = new fm(g.width, g.height); | |
gm(c, h) || (c = h, a = om(da(im(b)).g), !F || Ng("10") || a && Ng("8") ? (b = b.style, xg ? b.MozBoxSizing = "border-box" : yg ? b.WebkitBoxSizing = "border-box" : | |
b.boxSizing = "border-box", b.width = Math.max(c.width, 0) + "px", b.height = Math.max(c.height, 0) + "px") : (h = b.style, a ? (F ? (a = zr(b, "paddingLeft"), g = zr(b, "paddingRight"), d = zr(b, "paddingTop"), k = zr(b, "paddingBottom"), a = new Xq(d, g, k, a)) : (a = fr(b, "paddingLeft"), g = fr(b, "paddingRight"), d = fr(b, "paddingTop"), k = fr(b, "paddingBottom"), a = new Xq(parseFloat(d), parseFloat(g), parseFloat(k), parseFloat(a))), b = Cr(b), h.pixelWidth = c.width - b.left - a.left - a.right - b.right, h.pixelHeight = c.height - b.top - a.top - a.bottom - b.bottom) : (h.pixelWidth = | |
c.width, h.pixelHeight = c.height))); | |
return e | |
}, | |
Ct = function(a, b) { | |
return (b & 8 && vr(a) ? b ^ 4 : b) & -9 | |
}; | |
var Ft = function(a, b) { | |
this.ea = b || void 0; | |
tt.call(this, a) | |
}; | |
E(Ft, tt); | |
Ft.prototype.rh = function() { | |
if (this.ea) { | |
var a = !this.isVisible() && "move_offscreen" != this.Ua, | |
b = this.s(); | |
a && (b.style.visibility = "hidden", T(b, !0)); | |
this.ea.g(b, 8, this.sm); | |
a && T(b, !1) | |
} | |
}; | |
var Gt = function(a) { | |
Sl.call(this); | |
this.ba = a; | |
a = F ? "focusout" : "blur"; | |
this.g = El(this.ba, F ? "focusin" : "focus", this, !F); | |
this.i = El(this.ba, a, this, !F) | |
}; | |
E(Gt, Sl); | |
Gt.prototype.handleEvent = function(a) { | |
var b = new ol(a.g); | |
b.type = "focusin" == a.type || "focus" == a.type ? "focusin" : "focusout"; | |
this.dispatchEvent(b) | |
}; | |
Gt.prototype.V = function() { | |
Gt.M.V.call(this); | |
Ml(this.g); | |
Ml(this.i); | |
delete this.ba | |
}; | |
var Ht = function(a, b, c) { | |
this.i = a; | |
this.j = b; | |
this.A = c | |
}; | |
E(Ht, wt); | |
Ht.prototype.g = function(a, b, c) { | |
Et(this.i, this.j, a, b, void 0, c, this.A) | |
}; | |
var It = function(a, b) { | |
this.i = a instanceof cm ? a : new cm(a, b) | |
}; | |
E(It, wt); | |
It.prototype.g = function(a, b, c, d) { | |
Et(jr(a), 0, a, b, this.i, c, null, d) | |
}; | |
var Jt = function() { | |
this.g = new jp | |
}, | |
Kt = function(a) { | |
var b = typeof a; | |
return "object" == b && a || "function" == b ? "o" + id(a) : b.charAt(0) + a | |
}; | |
Jt.prototype.nb = function() { | |
return this.g.nb() | |
}; | |
Jt.prototype.add = function(a) { | |
this.g.set(Kt(a), a) | |
}; | |
var Lt = function(a, b) { | |
b = np(b); | |
for (var c = b.length, d = 0; d < c; d++) a.add(b[d]) | |
}; | |
f = Jt.prototype; | |
f.removeAll = function(a) { | |
a = np(a); | |
for (var b = a.length, c = 0; c < b; c++) this.remove(a[c]) | |
}; | |
f.remove = function(a) { | |
return this.g.remove(Kt(a)) | |
}; | |
f.clear = function() { | |
this.g.clear() | |
}; | |
f.contains = function(a) { | |
return mp(this.g, Kt(a)) | |
}; | |
f.Wa = function() { | |
return this.g.Wa() | |
}; | |
f.mc = function() { | |
return this.g.mc(!1) | |
}; | |
var Nt = function(a, b, c) { | |
this.h = c || (a ? da(km(a)) : da()); | |
Ft.call(this, this.h.S("DIV", { | |
style: "position:absolute;display:none;" | |
})); | |
this.w = new cm(1, 1); | |
this.T = new Jt; | |
this.o = null; | |
a && Mt(this, a); | |
null != b && this.hj(b) | |
}; | |
E(Nt, Ft); | |
var Ot = []; | |
Nt.prototype.g = null; | |
Nt.prototype.className = "ga-ta"; | |
var Mt = function(a, b) { | |
b = km(b); | |
a.T.add(b); | |
El(b, "mouseover", a.qd, !1, a); | |
El(b, "mouseout", a.U, !1, a); | |
El(b, "mousemove", a.aa, !1, a); | |
El(b, "focus", a.ha, !1, a); | |
El(b, "blur", a.U, !1, a) | |
}; | |
f = Nt.prototype; | |
f.Vi = function() { | |
return 0 | |
}; | |
f.hj = function(a) { | |
Xb(this.s(), a) | |
}; | |
f.ji = function(a) { | |
var b = this.s(); | |
b && tb(b, a) | |
}; | |
f.fk = function(a) { | |
var b = this.s(); | |
b && Dm(b); | |
Nt.M.fk.call(this, a); | |
a ? (b = this.h.g.body, b.insertBefore(a, b.lastChild), Pk(this.o), this.o = new Gt(this.s()), Qk(this, this.o), El(this.o, "focusin", this.A, void 0, this), El(this.o, "focusout", this.P, void 0, this)) : (Pk(this.o), this.o = null) | |
}; | |
f.getState = function() { | |
return this.j ? this.isVisible() ? 4 : 1 : this.H ? 3 : this.isVisible() ? 2 : 0 | |
}; | |
f.Ah = function(a) { | |
if (!this.isVisible()) return !1; | |
var b = mr(this.s()), | |
c = Vb(this.s()); | |
return b.x <= a.x && a.x <= b.x + c.width && b.y <= a.y && a.y <= b.y + c.height | |
}; | |
f.Tj = function() { | |
if (!tt.prototype.Tj.call(this)) return !1; | |
if (this.i) | |
for (var a, b = 0; a = Ot[b]; b++) Jm(a.s(), this.i) || a.ja(!1); | |
Ad(Ot, this); | |
a = this.s(); | |
a.className = this.className; | |
this.A(); | |
El(a, "mouseover", this.fa, !1, this); | |
El(a, "mouseout", this.na, !1, this); | |
Pt(this); | |
return !0 | |
}; | |
f.rg = function() { | |
Bd(Ot, this); | |
for (var a = this.s(), b, c = 0; b = Ot[c]; c++) b.i && Jm(a, b.i) && b.ja(!1); | |
this.ta && this.ta.P(); | |
Ll(a, "mouseover", this.fa, !1, this); | |
Ll(a, "mouseout", this.na, !1, this); | |
this.i = void 0; | |
0 == this.getState() && (this.Ja = !1); | |
tt.prototype.rg.call(this) | |
}; | |
f.wm = function(a, b) { | |
this.i == a && this.T.contains(this.i) && (this.Ja || !this.Ea ? (this.ja(!1), this.isVisible() || (this.i = a, this.ea = b || this.da(0) || void 0, this.isVisible() && this.rh(), this.ja(!0))) : this.i = void 0); | |
this.j = void 0 | |
}; | |
f.um = function(a) { | |
this.H = void 0; | |
if (a == this.i) { | |
a = this.h; | |
var b = Um(a.g); | |
a = b && this.s() && a.contains(this.s(), b); | |
null != this.g && (this.g == this.s() || this.T.contains(this.g)) || a || this.u && this.u.g || this.ja(!1) | |
} | |
}; | |
var Qt = function(a, b) { | |
var c = $m(a.h); | |
a.w.x = b.clientX + c.x; | |
a.w.y = b.clientY + c.y | |
}; | |
Nt.prototype.qd = function(a) { | |
var b = Rt(this, a.target); | |
this.g = b; | |
this.A(); | |
b != this.i && (this.i = b, this.j || (this.j = Nn(D(this.wm, this, b, void 0), 500)), St(this), Qt(this, a)) | |
}; | |
var Rt = function(a, b) { | |
try { | |
for (; b && !a.T.contains(b);) b = b.parentNode; | |
return b | |
} catch (c) { | |
return null | |
} | |
}; | |
Nt.prototype.aa = function(a) { | |
Qt(this, a); | |
this.Ja = !0 | |
}; | |
Nt.prototype.ha = function(a) { | |
this.g = a = Rt(this, a.target); | |
this.Ja = !0; | |
if (this.i != a) { | |
this.i = a; | |
var b = this.da(1); | |
this.A(); | |
this.j || (this.j = Nn(D(this.wm, this, a, b), 500)); | |
St(this) | |
} | |
}; | |
Nt.prototype.da = function(a) { | |
return 0 == a ? new Tt(dm(this.w)) : new Ut(this.g) | |
}; | |
var St = function(a) { | |
if (a.i) | |
for (var b, c = 0; b = Ot[c]; c++) Jm(b.s(), a.i) && (b.u = a, a.ta = b) | |
}; | |
Nt.prototype.U = function(a) { | |
var b = Rt(this, a.target), | |
c = Rt(this, a.relatedTarget); | |
b != c && (b == this.g && (this.g = null), Pt(this), this.Ja = !1, !this.isVisible() || a.relatedTarget && Jm(this.s(), a.relatedTarget) ? this.i = void 0 : this.P()) | |
}; | |
Nt.prototype.fa = function() { | |
var a = this.s(); | |
this.g != a && (this.A(), this.g = a) | |
}; | |
Nt.prototype.na = function(a) { | |
var b = this.s(); | |
this.g != b || a.relatedTarget && Jm(b, a.relatedTarget) || (this.g = null, this.P()) | |
}; | |
var Pt = function(a) { | |
a.j && (On(a.j), a.j = void 0) | |
}; | |
Nt.prototype.P = function() { | |
2 == this.getState() && (this.H = Nn(D(this.um, this, this.i), this.Vi())) | |
}; | |
Nt.prototype.A = function() { | |
this.H && (On(this.H), this.H = void 0) | |
}; | |
Nt.prototype.V = function() { | |
var a; | |
this.ja(!1); | |
Pt(this); | |
for (var b = this.T.Wa(), c = 0; a = b[c]; c++) Ll(a, "mouseover", this.qd, !1, this), Ll(a, "mouseout", this.U, !1, this), Ll(a, "mousemove", this.aa, !1, this), Ll(a, "focus", this.ha, !1, this), Ll(a, "blur", this.U, !1, this); | |
this.T.clear(); | |
this.s() && Dm(this.s()); | |
this.g = null; | |
delete this.h; | |
Nt.M.V.call(this) | |
}; | |
var Tt = function(a, b) { | |
It.call(this, a, b) | |
}; | |
E(Tt, It); | |
Tt.prototype.g = function(a, b, c) { | |
b = jr(a); | |
b = nr(b); | |
c = c ? new Xq(c.top + 10, c.right, c.bottom, c.left + 10) : new Xq(10, 0, 0, 10); | |
Dt(this.i, a, 8, c, b, 9) & 496 && Dt(this.i, a, 8, c, b, 5) | |
}; | |
var Ut = function(a) { | |
Ht.call(this, a, 5) | |
}; | |
E(Ut, Ht); | |
Ut.prototype.g = function(a, b, c) { | |
var d = new cm(10, 0); | |
Et(this.i, this.j, a, b, d, c, 9) & 496 && Et(this.i, 4, a, 1, d, c, 5) | |
}; | |
var Vt = function(a, b, c) { | |
Nt.call(this, a, b, c) | |
}; | |
E(Vt, Nt); | |
f = Vt.prototype; | |
f.Ki = !1; | |
f.Ig = !1; | |
f.$h = function() { | |
Vt.M.$h.call(this); | |
this.ma = $q(tr(this.s())); | |
this.i && (this.ca = $q(tr(this.i))); | |
this.Ig = this.Ki; | |
El(this.h.g, "mousemove", this.aa, !1, this) | |
}; | |
f.rg = function() { | |
Ll(this.h.g, "mousemove", this.aa, !1, this); | |
this.ca = this.ma = null; | |
this.Ig = !1; | |
Vt.M.rg.call(this) | |
}; | |
f.Ah = function(a) { | |
if (this.X) { | |
var b = mr(this.s()), | |
c = Vb(this.s()); | |
return b.x - this.X.left <= a.x && a.x <= b.x + c.width + this.X.right && b.y - this.X.top <= a.y && a.y <= b.y + c.height + this.X.bottom | |
} | |
return Vt.M.Ah.call(this, a) | |
}; | |
var Wt = function(a, b) { | |
if (a.ca && a.ca.contains(b) || a.Ah(b)) return !0; | |
a = a.u; | |
return !!a && a.Ah(b) | |
}; | |
Vt.prototype.um = function(a) { | |
this.H = void 0; | |
a != this.i || Wt(this, this.w) || this.g || this.u && this.u.g || xg && 0 == this.w.x && 0 == this.w.y || this.ja(!1) | |
}; | |
Vt.prototype.aa = function(a) { | |
var b = this.isVisible(); | |
if (this.ma) { | |
var c = $m(this.h); | |
c = new cm(a.clientX + c.x, a.clientY + c.y); | |
Wt(this, c) ? b = !1 : this.Ig && (b = Yq(this.ma, c) >= Yq(this.ma, this.w)) | |
} | |
if (b) { | |
if (this.P(), this.g = null, b = this.u) b.g = null | |
} else 3 == this.getState() && this.A(); | |
Vt.M.aa.call(this, a) | |
}; | |
Vt.prototype.fa = function() { | |
this.g != this.s() && (this.Ig = !1, this.g = this.s()) | |
}; | |
Vt.prototype.Vi = function() { | |
return this.Ig ? 100 : Vt.M.Vi.call(this) | |
}; | |
var Xt = function(a) { | |
return "string" == typeof a.className ? a.className : a.getAttribute && a.getAttribute("class") || "" | |
}, | |
Yt = function(a) { | |
return a.classList ? a.classList : Xt(a).match(/\S+/g) || [] | |
}, | |
Zt = function(a, b) { | |
"string" == typeof a.className ? a.className = b : a.setAttribute && a.setAttribute("class", b) | |
}, | |
$t = function(a, b) { | |
return a.classList ? a.classList.contains(b) : zd(Yt(a), b) | |
}, | |
W = function(a, b) { | |
if (a.classList) a.classList.add(b); | |
else if (!$t(a, b)) { | |
var c = Xt(a); | |
Zt(a, c + (0 < c.length ? " " + b : b)) | |
} | |
}, | |
au = function(a, b) { | |
if (a.classList) qa(b, | |
function(e) { | |
W(a, e) | |
}); | |
else { | |
var c = {}; | |
qa(Yt(a), function(e) { | |
c[e] = !0 | |
}); | |
qa(b, function(e) { | |
c[e] = !0 | |
}); | |
b = ""; | |
for (var d in c) b += 0 < b.length ? " " + d : d; | |
Zt(a, b) | |
} | |
}, | |
bu = function(a, b) { | |
a.classList ? a.classList.remove(b) : $t(a, b) && Zt(a, td(Yt(a), function(c) { | |
return c != b | |
}).join(" ")) | |
}, | |
cu = function(a, b) { | |
a.classList ? qa(b, function(c) { | |
bu(a, c) | |
}) : Zt(a, td(Yt(a), function(c) { | |
return !zd(b, c) | |
}).join(" ")) | |
}, | |
X = function(a, b, c) { | |
c ? W(a, b) : bu(a, b) | |
}, | |
du = function(a) { | |
var b = !$t(a, "Pa"); | |
X(a, "Pa", b) | |
}; | |
var eu = function(a, b, c) { | |
var d = Hq(a).g; | |
Nt.call(this, b, void 0, d); | |
Nq(a.get(Do), this.s(), nt); | |
this.wa = Xm(this.h, "ta-x", this.s()); | |
this.xa = Xm(this.h, "ta-Ee", this.s()); | |
c && this.hj(c) | |
}; | |
B(eu, Vt); | |
var fu = function(a, b) { | |
var c = a.h.lp(a.s()); | |
a.h.Jl(b, c) | |
}; | |
eu.prototype.hide = function() { | |
this.ja(!1); | |
Pt(this) | |
}; | |
eu.prototype.hj = function(a) { | |
this.h.i(this.wa, a) | |
}; | |
eu.prototype.ji = function(a) { | |
tb(this.wa, a) | |
}; | |
eu.prototype.da = function() { | |
return new gu(this.g, this.xa) | |
}; | |
var gu = function(a, b) { | |
this.i = a; | |
this.h = b | |
}; | |
B(gu, wt); | |
gu.prototype.g = function(a, b, c, d) { | |
if (this.i) { | |
b = Vb(this.i).width; | |
var e = Vb(a).width; | |
e = new cm((b - e) / 2, 0); | |
var g = P("ta", a); | |
bu(g, "ta-kd-vg"); | |
bu(g, "ta-kd-xg"); | |
Et(this.i, 1, a, 0, e, c, 9, d) & 496 ? (Et(this.i, 0, a, 1, e, c, 5, d), W(g, "ta-kd-vg")) : W(g, "ta-kd-xg"); | |
c = Vb(this.h).width; | |
a = mr(this.i).x - mr(a).x + b / 2 - c / 2; | |
ir(this.h, a) | |
} | |
}; | |
var hu = function(a, b, c, d, e, g, h, k) { | |
d = void 0 === d ? "" : d; | |
e = void 0 === e ? "" : e; | |
k = void 0 === k ? !0 : k; | |
Sr.call(this, a); | |
this.Sc = b; | |
this.Rk = c; | |
this.summary = d; | |
this.description = e; | |
this.ae = null; | |
g ? this.ae = Jb(Is("collection/" + g)) : h && (this.ae = Jb(Is(h))); | |
b = a.get(yb); | |
this.Vd = k && !(b.g && L(b.g, 6)); | |
a.get(zk); | |
this.isClickable = this.Jb = !1 | |
}; | |
B(hu, Sr); | |
f = hu.prototype; | |
f.O = function() { | |
Sr.prototype.O.call(this); | |
iu(this, "Shown", !0); | |
if (this.Jb) { | |
this.h = new eu(this.v); | |
this.h.className = "G-ta"; | |
this.h.ji(Qq(this.i, Aq, { | |
badge: this | |
})); | |
this.h.Ki = !0; | |
var a = P(this.Sc, this.s()); | |
Mt(this.h, a); | |
(a = P("G-Pb", this.s())) && Mt(this.h, a); | |
this.B().listen(this.s(), "click", this.Zq); | |
this.B().listen(this.h, "show", this.Uq); | |
this.Vd && this.B().listen(P("G-ta-y", this.h.s()), "click", this.Cr) | |
} | |
}; | |
f.Zq = function() { | |
this.h.hide(); | |
iu(this, "Click") | |
}; | |
f.Uq = function() { | |
iu(this, "TooltipShown") | |
}; | |
f.Cr = function() { | |
iu(this, "TooltipLinkClick") | |
}; | |
f.Yc = function() { | |
return "Other" | |
}; | |
var iu = function(a, b, c) { | |
if (jt(a.v, Kb)) { | |
var d = a.v.get(Kb).ib; | |
Yn(0, "Badge_" + a.Yc(), b, d.g, void 0, c) | |
} | |
}; | |
hu.prototype.V = function() { | |
Sr.prototype.V.call(this); | |
this.h && this.h.dispose() | |
}; | |
var ju = function() { | |
Sl.call(this); | |
this.g = 0; | |
this.endTime = this.w = null | |
}; | |
E(ju, Sl); | |
ju.prototype.sc = function() { | |
this.h("begin") | |
}; | |
ju.prototype.kc = function() { | |
this.h("end") | |
}; | |
var ku = function(a) { | |
a.h("finish") | |
}; | |
ju.prototype.onStop = function() { | |
this.h("stop") | |
}; | |
ju.prototype.h = function(a) { | |
this.dispatchEvent(a) | |
}; | |
var mu = function(a, b) { | |
Array.isArray(b) || (b = [b]); | |
b = ud(b, function(c) { | |
return "string" === typeof c ? c : c.Bb + " " + c.duration + "s " + c.timing + " " + c.delay + "s" | |
}); | |
lu(a, b.join(",")) | |
}, | |
nu = Pd(function() { | |
if (F) return Ng("10.0"); | |
var a = wm("DIV"), | |
b = yg ? "-webkit" : xg ? "-moz" : F ? "-ms" : ug ? "-o" : null, | |
c = { | |
transition: "opacity 1s linear" | |
}; | |
b && (c[b + "-transition"] = "opacity 1s linear"); | |
b = Nf("div", { | |
style: c | |
}); | |
tb(a, b); | |
return "" != er(a.firstChild, "transition") | |
}), | |
lu = function(a, b) { | |
cr(a, "transition", b) | |
}; | |
var ua = function(a, b, c, d, e) { | |
ju.call(this); | |
this.ba = a; | |
this.o = b; | |
this.A = c; | |
this.i = d; | |
this.u = Array.isArray(e) ? e : [e] | |
}; | |
E(ua, ju); | |
f = ua.prototype; | |
f.play = function() { | |
if (1 == this.g) return !1; | |
this.sc(); | |
this.h("play"); | |
this.w = tc(); | |
this.g = 1; | |
if (nu()) return cr(this.ba, this.A), this.j = Nn(this.Hr, void 0, this), !0; | |
this.qk(!1); | |
return !1 | |
}; | |
f.Hr = function() { | |
Vb(this.ba); | |
mu(this.ba, this.u); | |
cr(this.ba, this.i); | |
this.j = Nn(D(this.qk, this, !1), 1E3 * this.o) | |
}; | |
f.stop = function() { | |
1 == this.g && this.qk(!0) | |
}; | |
f.qk = function(a) { | |
lu(this.ba, ""); | |
On(this.j); | |
cr(this.ba, this.i); | |
this.endTime = tc(); | |
this.g = 0; | |
if (a) this.onStop(); | |
else ku(this); | |
this.kc() | |
}; | |
f.V = function() { | |
this.stop(); | |
ua.M.V.call(this) | |
}; | |
f.pause = function() {}; | |
var ou = { | |
zs: "by_google", | |
Bs: "drive_apps", | |
Us: "offline_enabled", | |
Ws: "restricted", | |
bt: "webintent_apps", | |
Ts: "new_packaged_apps", | |
Gs: "file_handlers", | |
ws: "arc_apps" | |
}, | |
pu = new Xq(3, 0, 3, 0); | |
var Ab = function(a, b) { | |
switch (b) { | |
case 4: | |
case 6: | |
var c = "by_google"; | |
break; | |
case 0: | |
var d = "ext/15-by-google"; | |
break; | |
case 1: | |
d = "theme/15-by-google" | |
} | |
hu.call(this, a, "G-ua-Ag-ka", "by_google", "By Google", "This item was developed by Google.", c, d, !0); | |
this.o = b | |
}; | |
B(Ab, hu); | |
Ab.prototype.j = function(a) { | |
return !!L(a, 57) && aa(a) === this.o | |
}; | |
Ab.prototype.Yc = function() { | |
return "ByGoogle" | |
}; | |
var Db = function(a) { | |
hu.call(this, a, "G-t-ka", "collection", "Collection", "This is a collection of items.", void 0, void 0, !1) | |
}; | |
B(Db, hu); | |
Db.prototype.j = function(a) { | |
return 5 === aa(a) | |
}; | |
Db.prototype.Yc = function() { | |
return "Collection" | |
}; | |
var Cb = function(a) { | |
hu.call(this, a, "G-zg-ka", "compatible", "Compatible with your device", "This item is compatible with your device", void 0, void 0, !1) | |
}; | |
B(Cb, hu); | |
Cb.prototype.j = function(a) { | |
return V(this.v.get(Ek), "scm") && !qu(this.v.get(Jk), a) && ru(this.v.get(Mk)) ? !0 : !1 | |
}; | |
Cb.prototype.Yc = function() { | |
return "Compatible" | |
}; | |
var Eb = function(a) { | |
hu.call(this, a, "G-pe-ia-ka", "drive_app", "Works with Google Drive", "This app works with Google Drive.", "drive_apps") | |
}; | |
B(Eb, hu); | |
Eb.prototype.j = function(a) { | |
return 1 === a.getContainer() | |
}; | |
Eb.prototype.Yc = function() { | |
return "DriveApp" | |
}; | |
var Gb = function(a) { | |
hu.call(this, a, "G-od-ka", "extension") | |
}; | |
B(Gb, hu); | |
Gb.prototype.j = function(a) { | |
return 0 === aa(a) | |
}; | |
Gb.prototype.Yc = function() { | |
return "Extension" | |
}; | |
var zb = function(a) { | |
hu.call(this, a, "G-Bg-x-ka", "mature_content", "Mature content", "This item contains mature content.", void 0, void 0, !1) | |
}; | |
B(zb, hu); | |
zb.prototype.j = function(a) { | |
return !!L(a, 58) | |
}; | |
zb.prototype.Yc = function() { | |
return "MatureContent" | |
}; | |
var Fb = function(a) { | |
hu.call(this, a, "G-te-Sd-ka", "offline_enabled", su(), "This app can be used even when there is no connection to the Internet.", "offline_enabled") | |
}; | |
B(Fb, hu); | |
Fb.prototype.j = function(a) { | |
return !!L(a, 54) | |
}; | |
Fb.prototype.Yc = function() { | |
return "OfflineEnabled" | |
}; | |
var su = function() { | |
return "Runs Offline" | |
}; | |
var Bb = function(a) { | |
hu.call(this, a, "G-ue-ia-ka", "restricted", "Restricted", "This item is restricted to your domain.", "restricted") | |
}; | |
B(Bb, hu); | |
Bb.prototype.j = function(a) { | |
return !L(a, 61) | |
}; | |
Bb.prototype.Yc = function() { | |
return "Restricted" | |
}; | |
/* | |
Copyright 2018 The Incremental DOM Authors. All Rights Reserved. | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software | |
distributed under the License is distributed on an "AS-IS" BASIS, | |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
See the License for the specific language governing permissions and | |
limitations under the License. | |
*/ | |
var Ea = "key"; | |
var tu = Object.prototype.hasOwnProperty; | |
xa.prototype = Object.create(null); | |
var Aa = new xa; | |
Aa.__default = function(a, b, c) { | |
var d = typeof c; | |
"object" === d || "function" === d ? a[b] = c : null == c ? a.removeAttribute(b) : (d = 0 === b.lastIndexOf("xml:", 0) ? "http://www.w3.org/XML/1998/namespace" : 0 === b.lastIndexOf("xlink:", 0) ? "http://www.w3.org/1999/xlink" : null) ? a.setAttributeNS(d, b, String(c)) : a.setAttribute(b, String(c)) | |
}; | |
Aa.style = function(a, b, c) { | |
a = a.style; | |
if ("string" === typeof c) a.cssText = c; | |
else { | |
a.cssText = ""; | |
for (var d in c) | |
if (tu.call(c, d)) { | |
b = d; | |
var e = c[d]; | |
0 <= b.indexOf("-") ? a.setProperty(b, e) : a[b] = e | |
} | |
} | |
}; | |
var Ra = function() { | |
this.g = []; | |
this.i = [] | |
}; | |
var Sa = "undefined" !== typeof Node && Node.prototype.getRootNode || function() { | |
for (var a = this, b = a; a;) b = a, a = a.parentNode; | |
return b | |
}; | |
var Ca = function(a, b) { | |
this.g = null; | |
this.h = !1; | |
this.i = a; | |
this.key = b; | |
this.text = void 0 | |
}; | |
var Ja = null, | |
Ia = null, | |
Ha = null, | |
Ma = null, | |
Na = [], | |
La = Ga, | |
Qa = []; | |
var Ua = [], | |
Xa = 0; | |
var Wa = new xa; | |
var uu = new xa; | |
var vu = { | |
matches: function(a, b, c, d, e) { | |
return b === c && ("string" === typeof d && "string" === typeof e ? d.startsWith(e) || e.startsWith(d) : d == e) | |
} | |
}, | |
wu = {}, | |
jb = function(a) { | |
return Ta(function(b, c, d) { | |
Ha = Ia = b; | |
Ia = null; | |
c(d); | |
Ka(null); | |
Ia = Ha; | |
Ha = Ha.parentNode; | |
return b | |
}, a) | |
}(vu), | |
lb = function(a) { | |
return Ta(function(b, c, d) { | |
var e = { | |
nextSibling: b | |
}; | |
Ia = e; | |
c(d); | |
Ha && Ka(b.nextSibling); | |
return e === Ia ? null : Ia | |
}, a) | |
}(vu), | |
xu = function() { | |
this.g = [] | |
}; | |
f = xu.prototype; | |
f.open = function(a, b) { | |
Oa(a, this.Yi(void 0 === b ? "" : b)); | |
Ha = Ia; | |
Ia = null; | |
return Ha | |
}; | |
f.la = function(a, b) { | |
return b === wu ? (a.mk(), a.close(), !0) : !1 | |
}; | |
f.G = function(a) { | |
var b = this.Ti(); | |
this.g[this.g.length - 1] = this.Yi(a); | |
return b | |
}; | |
f.Yi = function(a) { | |
var b = String(a); | |
return "" + b.length + (null == a ? "_" : "number" === typeof a ? "#" : ":") + b + this.Ti() | |
}; | |
f.F = function(a) { | |
this.g[this.g.length - 1] = a | |
}; | |
f.Ti = function() { | |
return this.g[this.g.length - 1] || "" | |
}; | |
f.close = function() { | |
return Pa() | |
}; | |
f.text = function(a) { | |
return Za(a) | |
}; | |
f.C = function(a, b) { | |
var c = Qa; | |
c.push(a); | |
c.push(b) | |
}; | |
f.mk = function() { | |
Ia = Ha.lastChild | |
}; | |
f.l = function() { | |
Ya() | |
}; | |
f.m = function(a) { | |
var b = Ha; | |
var c = Fa(b, void 0); | |
if (!c.h && (c.h = !0, a && a.length)) { | |
var d = c.g; | |
if (d && d.length) { | |
for (d = 0; d < a.length; d += 2) uu[a[d]] = d + 1; | |
c = c.g || (c.g = za(0)); | |
for (var e = d = 0; e < c.length; e += 2) { | |
var g = c[e], | |
h = c[e + 1], | |
k = uu[g]; | |
k ? a[k] === h && delete uu[g] : (c[d] = g, c[d + 1] = h, d += 2) | |
} | |
ya(c, d); | |
for (var m in uu) Ba(b, m, a[uu[m]]), delete uu[m] | |
} else | |
for (m = 0; m < a.length; m += 2) Ba(b, a[m], a[m + 1]) | |
} | |
}; | |
var xb = function() { | |
this.g = !1 | |
}; | |
f = xb.prototype; | |
f.G = function() { | |
return "" | |
}; | |
f.Yi = function() { | |
return "" | |
}; | |
f.F = function() {}; | |
f.Ti = function() { | |
return "" | |
}; | |
f.open = function() { | |
this.g = !0 | |
}; | |
f.la = function() { | |
return this.g = !0 | |
}; | |
f.close = function() { | |
this.g = !0 | |
}; | |
f.text = function() { | |
this.g = !0 | |
}; | |
f.C = function() { | |
this.g = !0 | |
}; | |
f.l = function() { | |
this.g = !0 | |
}; | |
f.m = function() { | |
this.g = !0 | |
}; | |
f.mk = function() { | |
this.g = !0 | |
}; | |
f.key = function() {}; | |
var $a = /([^\t\n\f\r />=]+)[\t\n\f\r ]*(?:=[\t\n\f\r ]*(?:"([^"]*)"?|'([^']*)'?|([^\t\n\f\r >]*)))?/g; | |
var cb = new xu; | |
Aa.checked = function(a, b, c) { | |
null == c ? (a.removeAttribute("checked"), a.checked = !1) : (a.setAttribute("checked", c), a.checked = !(!1 === c || "false" === c)) | |
}; | |
Aa.value = function(a, b, c) { | |
null == c ? (a.removeAttribute("value"), a.value = "") : (a.setAttribute("value", c), a.value = c) | |
}; | |
Ea = "soy-server-key"; | |
var Bu = function(a, b) { | |
b = b.badge; | |
a.open("div", "tPCKLc"); | |
a.m(yu || (yu = ["class", "G-x"])); | |
a.l(); | |
a.open("div", "JjyPLb"); | |
a.m(zu || (zu = ["class", "G-ka-Nb-Pb"])); | |
a.l(); | |
a.open("div", "o4x3qb"); | |
a.C("class", "G-ka-Nb-Pb-id " + b.Sc); | |
a.l(); | |
a.close(); | |
a.close(); | |
a.open("div", "CB0e9e"); | |
a.m(Au || (Au = ["class", "G-Pb"])); | |
a.l(); | |
z(a, b.summary); | |
a.close(); | |
a.close() | |
}; | |
Q("b", 0, Bu); | |
Bu.$ = u; | |
var yu, zu, Au, Cu, Du = function(a, b) { | |
var c = b.R; | |
b = b.Ra; | |
var d = a.G("VyFope"); | |
b = "bb-Le-S-G" + (r(b) ? " " + b : ""); | |
for (var e = c.length, g = 0; g < e; g++) { | |
var h = c[g]; | |
a.open("div", "L4wzAc"); | |
a.C("class", "" + b); | |
a.l(); | |
var k = a.G("aVq8Pb"), | |
m = a; | |
r(h.Jb) && r(h.Vd) && r(h.isClickable) ? (m.open("a", "mbWH0e"), m.C("href", S(h.ae)), m.m(Cu || (Cu = ["class", "G-y"])), m.l(), m.open("div", "Znz9Me"), m.C("class", "" + h.Sc), m.C("aria-label", "" + h.description), m.l(), m.close()) : (m.open("div", "RHTgTd"), m.C("class", "" + h.Sc), m.C("aria-label", "" + h.description), | |
m.l()); | |
m.close(); | |
a.F(k); | |
a.close() | |
} | |
a.F(d) | |
}; | |
var Hb = function(a) { | |
hu.call(this, a, "G-yc-ka", "theme") | |
}; | |
B(Hb, hu); | |
Hb.prototype.j = function(a) { | |
return 1 === aa(a) | |
}; | |
Hb.prototype.Yc = function() { | |
return "Theme" | |
}; | |
var Eu = function() { | |
Ok.call(this) | |
}; | |
E(Eu, Ok); | |
var Hu = function(a) { | |
var b = Fu; | |
b.i = a; | |
Gu(b) | |
}, | |
Ju = function(a, b) { | |
var c = Fu; | |
if (c.h) { | |
a = "Potentially sensitive message stripped for security reasons."; | |
var d = Error("Y"); | |
d.columnNumber = b.columnNumber; | |
d.lineNumber = b.lineNumber; | |
d.name = b.name; | |
d.fileName = b.fileName; | |
if (He() && Le(28) || Ge() && Le(14)) d.stack = b.stack; | |
b = d | |
} | |
c.ya() || b instanceof Vs || (c.i ? Iu(c.i, b, a) : c.g && 10 > c.g.length && c.g.push([a, b])) | |
}, | |
Gu = function(a) { | |
a.g && (qa(a.g, function(b) { | |
Iu(this.i, b[1], b[0]) | |
}, a), a.g = null) | |
}, | |
Fu = new Eu, | |
Ku = function(a) { | |
Ju(null, a) | |
}; | |
var Lu = function(a) { | |
this.g = a; | |
this.h = {}; | |
this.i = [] | |
}, | |
Iu = function(a, b, c) { | |
var d = ds(); | |
c && (d.message = c); | |
a: { | |
c = el();d["call-stack"] = c;b = b instanceof Error ? b : b || ""; | |
for (c = 0; c < a.i.length; c++) | |
if (!1 === a.i[c](b, d)) break a;c = ""; | |
if (b) { | |
c = b.message || "unknown"; | |
for (var e = 0, g = 0; g < c.length; ++g) e = 31 * e + c.charCodeAt(g) >>> 0; | |
c = e | |
} | |
e = ""; | |
for (h in d) e = e + h + ":" + d[h] + ":"; | |
var h = c + "::" + e;c = a.h[h];c || (c = { | |
time: 0, | |
count: 0 | |
}, a.h[h] = c);1E4 > tc() - c.time ? (c.count++, 1 == c.count && (d = ds(), d.message = "Throttling: " + h, a.g.i(b, d))) : (c.count && (d["dropped-instances"] = | |
c.count), c.time = tc(), c.count = 0, a.g.i(b, d)) | |
} | |
}; | |
var Mu = function(a) { | |
Ok.call(this); | |
this.j = a; | |
this.h = !0; | |
this.g = !1 | |
}; | |
E(Mu, Ok); | |
Mu.prototype.i = function(a) { | |
return Nu(this, a) | |
}; | |
var Ou = function(a, b) { | |
return (b ? "__wrapper_" : "__protected_") + id(a) + "__" | |
}, | |
Nu = function(a, b) { | |
var c = Ou(a, !0); | |
b[c] || ((b[c] = Pu(a, b))[Ou(a, !1)] = b); | |
return b[c] | |
}, | |
Pu = function(a, b) { | |
var c = function() { | |
if (a.ya()) return b.apply(this, arguments); | |
try { | |
return b.apply(this, arguments) | |
} catch (d) { | |
Qu(a, d) | |
} finally {} | |
}; | |
c[Ou(a, !1)] = b; | |
return c | |
}, | |
Qu = function(a, b) { | |
if (!(b && "object" === typeof b && "string" === typeof b.message && 0 == b.message.indexOf("Error in protected function: ") || "string" === typeof b && 0 == b.indexOf("Error in protected function: "))) { | |
a.j(b); | |
if (!a.h) throw a.g && ("object" === typeof b && b && "string" === typeof b.message ? b.message = "Error in protected function: " + b.message : b = "Error in protected function: " + b), b; | |
throw new Ru(b); | |
} | |
}, | |
Su = function(a) { | |
"onunhandledrejection" in C && (C.onunhandledrejection = function(b) { | |
Qu(a, b && b.reason ? b.reason : Error("Z")) | |
}) | |
}, | |
Uu = function(a) { | |
for (var b = Zc("window"), c = ["requestAnimationFrame", "mozRequestAnimationFrame", "webkitAnimationFrame", "msRequestAnimationFrame"], d = 0; d < c.length; d++) { | |
var e = c[d]; | |
c[d] in b && Tu(a, e) | |
} | |
}, | |
Tu = function(a, | |
b) { | |
var c = Zc("window"), | |
d = c[b]; | |
c[b] = function(e, g) { | |
"string" === typeof e && (e = ld(nd, e)); | |
arguments[0] = e = Nu(a, e); | |
if (d.apply) return d.apply(this, arguments); | |
var h = e; | |
if (2 < arguments.length) { | |
var k = Array.prototype.slice.call(arguments, 2); | |
h = function() { | |
e.apply(this, k) | |
} | |
} | |
return d(h, g) | |
}; | |
c[b][Ou(a, !1)] = d | |
}; | |
Mu.prototype.V = function() { | |
var a = Zc("window"); | |
var b = a.setTimeout; | |
b = b[Ou(this, !1)] || b; | |
a.setTimeout = b; | |
b = a.setInterval; | |
b = b[Ou(this, !1)] || b; | |
a.setInterval = b; | |
Mu.M.V.call(this) | |
}; | |
var Ru = function(a) { | |
od.call(this, "Error in protected function: " + (a && a.message ? String(a.message) : String(a))); | |
(a = a && a.stack) && "string" === typeof a && (this.stack = a) | |
}; | |
E(Ru, od); | |
var Vu = function() {}; | |
Vu.prototype.g = null; | |
Vu.prototype.getOptions = function() { | |
var a; | |
(a = this.g) || (a = {}, Wu(this) && (a[0] = !0, a[1] = !0), a = this.g = a); | |
return a | |
}; | |
var Xu, Yu = function() {}; | |
E(Yu, Vu); | |
var Zu = function(a) { | |
return (a = Wu(a)) ? new ActiveXObject(a) : new XMLHttpRequest | |
}, | |
Wu = function(a) { | |
if (!a.i && "undefined" == typeof XMLHttpRequest && "undefined" != typeof ActiveXObject) { | |
for (var b = ["MSXML2.XMLHTTP.6.0", "MSXML2.XMLHTTP.3.0", "MSXML2.XMLHTTP", "Microsoft.XMLHTTP"], c = 0; c < b.length; c++) { | |
var d = b[c]; | |
try { | |
return new ActiveXObject(d), a.i = d | |
} catch (e) {} | |
} | |
throw Error("$"); | |
} | |
return a.i | |
}; | |
Xu = new Yu; | |
var $u = function(a) { | |
Sl.call(this); | |
this.headers = new jp; | |
this.A = a || null; | |
this.i = !1; | |
this.u = this.g = null; | |
this.J = ""; | |
this.j = 0; | |
this.h = this.H = this.w = this.T = !1; | |
this.P = 0; | |
this.o = null; | |
this.aa = ""; | |
this.ma = this.X = !1 | |
}; | |
E($u, Sl); | |
var av = /^https?$/i, | |
bv = ["POST", "PUT"], | |
cv = []; | |
$u.prototype.Ja = function() { | |
this.dispose(); | |
Bd(cv, this) | |
}; | |
$u.prototype.send = function(a, b, c, d) { | |
if (this.g) throw Error("aa`" + this.J + "`" + a); | |
b = b ? b.toUpperCase() : "GET"; | |
this.J = a; | |
this.j = 0; | |
this.T = !1; | |
this.i = !0; | |
this.g = this.A ? Zu(this.A) : Zu(Xu); | |
this.u = this.A ? this.A.getOptions() : Xu.getOptions(); | |
this.g.onreadystatechange = D(this.U, this); | |
try { | |
this.H = !0, this.g.open(b, String(a), !0), this.H = !1 | |
} catch (g) { | |
dv(this); | |
return | |
} | |
a = c || ""; | |
var e = new jp(this.headers); | |
d && op(d, function(g, h) { | |
e.set(h, g) | |
}); | |
d = yd(e.rb(), ev); | |
c = C.FormData && a instanceof C.FormData; | |
!zd(bv, b) || d || c || e.set("Content-Type", | |
"application/x-www-form-urlencoded;charset=utf-8"); | |
e.forEach(function(g, h) { | |
this.g.setRequestHeader(h, g) | |
}, this); | |
this.aa && (this.g.responseType = this.aa); | |
"withCredentials" in this.g && this.g.withCredentials !== this.X && (this.g.withCredentials = this.X); | |
try { | |
fv(this), 0 < this.P && ((this.ma = gv(this.g)) ? (this.g.timeout = this.P, this.g.ontimeout = D(this.Hg, this)) : this.o = Nn(this.Hg, this.P, this)), this.w = !0, this.g.send(a), this.w = !1 | |
} catch (g) { | |
dv(this) | |
} | |
}; | |
var gv = function(a) { | |
return F && Ng(9) && "number" === typeof a.timeout && void 0 !== a.ontimeout | |
}, | |
ev = function(a) { | |
return "content-type" == a.toLowerCase() | |
}; | |
$u.prototype.Hg = function() { | |
"undefined" != typeof Tc && this.g && (this.j = 8, this.dispatchEvent("timeout"), this.abort(8)) | |
}; | |
var dv = function(a) { | |
a.i = !1; | |
a.g && (a.h = !0, a.g.abort(), a.h = !1); | |
a.j = 5; | |
hv(a); | |
iv(a) | |
}, | |
hv = function(a) { | |
a.T || (a.T = !0, a.dispatchEvent("complete"), a.dispatchEvent("error")) | |
}; | |
$u.prototype.abort = function(a) { | |
this.g && this.i && (this.i = !1, this.h = !0, this.g.abort(), this.h = !1, this.j = a || 7, this.dispatchEvent("complete"), this.dispatchEvent("abort"), iv(this)) | |
}; | |
$u.prototype.V = function() { | |
this.g && (this.i && (this.i = !1, this.h = !0, this.g.abort(), this.h = !1), iv(this, !0)); | |
$u.M.V.call(this) | |
}; | |
$u.prototype.U = function() { | |
this.ya() || (this.H || this.w || this.h ? jv(this) : this.L()) | |
}; | |
$u.prototype.L = function() { | |
jv(this) | |
}; | |
var jv = function(a) { | |
if (a.i && "undefined" != typeof Tc && (!a.u[1] || 4 != (a.g ? a.g.readyState : 0) || 2 != kv(a))) | |
if (a.w && 4 == (a.g ? a.g.readyState : 0)) Nn(a.U, 0, a); | |
else if (a.dispatchEvent("readystatechange"), 4 == (a.g ? a.g.readyState : 0)) { | |
a.i = !1; | |
try { | |
lv(a) ? (a.dispatchEvent("complete"), a.dispatchEvent("success")) : (a.j = 6, hv(a)) | |
} finally { | |
iv(a) | |
} | |
} | |
}, | |
iv = function(a, b) { | |
if (a.g) { | |
fv(a); | |
var c = a.g, | |
d = a.u[0] ? $c : null; | |
a.g = null; | |
a.u = null; | |
b || a.dispatchEvent("ready"); | |
try { | |
c.onreadystatechange = d | |
} catch (e) {} | |
} | |
}, | |
fv = function(a) { | |
a.g && a.ma && (a.g.ontimeout = | |
null); | |
a.o && (On(a.o), a.o = null) | |
}, | |
lv = function(a) { | |
var b = kv(a); | |
a: switch (b) { | |
case 200: | |
case 201: | |
case 202: | |
case 204: | |
case 206: | |
case 304: | |
case 1223: | |
var c = !0; | |
break a; | |
default: | |
c = !1 | |
} | |
if (!c) { | |
if (b = 0 === b) a = mo(String(a.J))[1] || null, !a && C.self && C.self.location && (a = C.self.location.protocol, a = a.substr(0, a.length - 1)), b = !av.test(a ? a.toLowerCase() : ""); | |
c = b | |
} | |
return c | |
}, | |
kv = function(a) { | |
try { | |
return 2 < (a.g ? a.g.readyState : 0) ? a.g.status : -1 | |
} catch (b) { | |
return -1 | |
} | |
}, | |
mv = function(a) { | |
try { | |
return a.g ? a.g.responseText : "" | |
} catch (b) { | |
return "" | |
} | |
}; | |
$u.prototype.getResponse = function() { | |
try { | |
if (!this.g) return null; | |
if ("response" in this.g) return this.g.response; | |
switch (this.aa) { | |
case "": | |
case "text": | |
return this.g.responseText; | |
case "arraybuffer": | |
if ("mozResponseArrayBuffer" in this.g) return this.g.mozResponseArrayBuffer | |
} | |
return null | |
} catch (a) { | |
return null | |
} | |
}; | |
$k(function(a) { | |
$u.prototype.L = a($u.prototype.L) | |
}); | |
var ov = function(a, b, c) { | |
Sl.call(this); | |
this.j = b || null; | |
this.h = {}; | |
this.o = nv; | |
this.w = a; | |
c || (this.g = null, F && !Ng("10") ? bl(D(this.i, this), !1, null) : (this.g = new Mu(D(this.i, this)), Tu(this.g, "setTimeout"), Tu(this.g, "setInterval"), Uu(this.g), al(this.g))) | |
}; | |
E(ov, Sl); | |
var pv = function(a) { | |
Vk.call(this, "g"); | |
this.error = a | |
}; | |
E(pv, Vk); | |
var nv = function(a, b, c, d) { | |
var e = new $u; | |
cv.push(e); | |
e.Xa("ready", e.Ja); | |
e.send(a, b, c, d) | |
}; | |
ov.prototype.i = function(a, b) { | |
a = a.error || a; | |
if (b) { | |
var c = {}; | |
for (d in b) c[d] = b[d]; | |
b = c | |
} else b = {}; | |
a instanceof Error && De(b, a.__closure__error__context__984382 || {}); | |
a = dl(a); | |
if (this.j) try { | |
this.j(a, b) | |
} catch (t) {} | |
c = a.message.substring(0, 1900); | |
var d = a.fileName; | |
var e = a.lineNumber, | |
g = a.stack; | |
try { | |
var h = uo(this.w, "script", d, "error", c, "line", e); | |
if (!xe(this.h)) { | |
var k = h, | |
m = to(this.h); | |
h = qo(k, m) | |
} | |
m = {}; | |
m.trace = g; | |
if (b) | |
for (var p in b) m["context." + p] = b[p]; | |
var q = to(m); | |
this.o(h, "POST", q, this.u) | |
} catch (t) { | |
lg("Error occurred in sending an error report.\n\n", | |
"script:", d, "\n", "line:", e, "\n", "error:", c, "\n", "trace:", g) | |
} | |
try { | |
this.dispatchEvent(new pv(a, b)) | |
} catch (t) {} | |
}; | |
ov.prototype.V = function() { | |
Pk(this.g); | |
ov.M.V.call(this) | |
}; | |
var qv = function(a, b) { | |
-1 != b.message.indexOf("Error in protected function: ") || (b.error && b.error.stack ? Ju(null, b.error) : a || Ju(null, b)) | |
}, | |
rv = function() {}; | |
rv.prototype.g = null; | |
rv.prototype.i = null; | |
var sv = new rv; | |
var uv = function(a, b, c, d) { | |
if (!(ed(b) || b && "function" == typeof b.handleEvent)) throw Error("v"); | |
a = D(tv, null, a, b, d); | |
return C.setTimeout(a, c || 0) | |
}, | |
tv = function(a, b, c) { | |
ed(b) ? Rk(c) || b.call(c) : b && "function" == typeof b.handleEvent && (Rk(b) || b.handleEvent.call(b)) | |
}; | |
var vv = function(a, b) { | |
this.i = a; | |
this.ga = b; | |
if (!c) { | |
var c = new pp("//www.google.com/images/cleardot.gif"); | |
Dp(c) | |
} | |
this.h = c | |
}; | |
f = vv.prototype; | |
f.Ll = 1E4; | |
f.gf = !1; | |
f.Ci = 0; | |
f.kh = null; | |
f.Yj = null; | |
f.setTimeout = function(a) { | |
this.Ll = a | |
}; | |
f.start = function() { | |
if (this.gf) throw Error("ba"); | |
this.gf = !0; | |
this.Ci = 0; | |
wv(this) | |
}; | |
f.stop = function() { | |
xv(this); | |
this.gf = !1 | |
}; | |
var wv = function(a) { | |
a.Ci++; | |
if (null !== navigator && "onLine" in navigator && !navigator.onLine) Nn(D(a.sg, a, !1), 0); | |
else { | |
a.g = new Image; | |
a.g.onload = D(a.nr, a); | |
a.g.onerror = D(a.mr, a); | |
a.g.onabort = D(a.lr, a); | |
a.kh = Nn(a.pr, a.Ll, a); | |
var b = a.g; | |
a = String(a.h); | |
a = a instanceof ff ? a : mf(a, /^data:image\//i.test(a)); | |
b.src = gf(a) | |
} | |
}; | |
f = vv.prototype; | |
f.nr = function() { | |
this.sg(!0) | |
}; | |
f.mr = function() { | |
this.sg(!1) | |
}; | |
f.lr = function() { | |
this.sg(!1) | |
}; | |
f.pr = function() { | |
this.sg(!1) | |
}; | |
f.sg = function(a) { | |
xv(this); | |
a ? (this.gf = !1, this.i.call(this.ga, !0)) : 0 >= this.Ci ? wv(this) : (this.gf = !1, this.i.call(this.ga, !1)) | |
}; | |
var xv = function(a) { | |
a.g && (a.g.onload = null, a.g.onerror = null, a.g.onabort = null, a.g = null); | |
a.kh && (On(a.kh), a.kh = null); | |
a.Yj && (On(a.Yj), a.Yj = null) | |
}; | |
var yv = function() { | |
Sl.call(this); | |
this.g = new vv(this.o, this); | |
this.h = 51E3 + Math.round(18E3 * Math.random()) | |
}; | |
E(yv, Sl); | |
yv.prototype.i = 0; | |
yv.prototype.j = !0; | |
yv.prototype.o = function(a) { | |
this.i = tc(); | |
this.w(a) | |
}; | |
yv.prototype.w = function(a) { | |
this.j = a; | |
this.dispatchEvent("h") | |
}; | |
var zv = function() { | |
this.g = new yv | |
}, | |
Av = function(a) { | |
var b = new zv; | |
a.registerService(Go, b) | |
}; | |
var Bv = function(a, b) { | |
Qs.call(this, a, b) | |
}; | |
E(Bv, Qs); | |
var Cv = function(a) { | |
a && (l(a, 1), l(a, 2), l(a, 3), l(a, 4), l(a, 13)) | |
}, | |
Dv = new Cv; | |
var Hv = function(a, b) { | |
if (this.j = a) a = this.j.Pf, Ev(this), this.Of = a; | |
b && (this.ga = b); | |
tc(); | |
this.Ub = new pp; | |
this.i = "POST"; | |
this.P = Fv++; | |
Gv || (b = new Date, Gv = 3600 * b.getHours() + 60 * b.getMinutes() + b.getSeconds()); | |
this.aa = 1 + Gv + 1E5 * this.P; | |
this.T = new jp | |
}, | |
Gv; | |
new Bv(Ts, "f_req"); | |
var Fv = 0; | |
f = Hv.prototype; | |
f.fm = !0; | |
f.xm = ""; | |
f.Qi = -1; | |
f.ln = -1; | |
f.eh = -1; | |
f.Cj = -1; | |
f.Ym = Dv; | |
f.fh = -1; | |
f.dl = -1; | |
f.Qf = 0; | |
f.Of = "BEST_EFFORT"; | |
var Ev = function(a) { | |
if (a.A) throw Error("da"); | |
}; | |
Hv.prototype.lf = function(a) { | |
this.T.set("X-Framework-Xsrf-Token", a) | |
}; | |
var Iv = function(a, b) { | |
Ev(a); | |
if (b && a.h) throw Error("ea"); | |
a.fm = b | |
}; | |
Hv.prototype.L = function() { | |
this.Of = "FAIL"; | |
this.j.abort(this, 101) | |
}; | |
var Jv = function(a, b) { | |
Ev(a); | |
a.xm = b | |
}; | |
f = Hv.prototype; | |
f.getMessage = function() { | |
return this.xm | |
}; | |
f.send = function() { | |
if (this.A) throw Error("ha"); | |
this.ln = tc(); | |
if (!this.aa) { | |
var a = "ga`" + this.getUrl(), | |
b = Error("fa`" + this.getUrl()); | |
Ju(a, b) | |
} | |
Kv(this, "_reqid", this.aa); | |
this.j.send(this); | |
this.A = !0; | |
0 <= this.Qi && (this.o = uv("ia", this.L, this.Qi, this)) | |
}; | |
f.abort = function() { | |
if (!this.A) throw Error("ja"); | |
this.H || (this.Of = "FAIL", this.j.abort(this)) | |
}; | |
f.B = function() { | |
return this.ga | |
}; | |
f.getData = function(a) { | |
return this.J ? this.J[a] : null | |
}; | |
var Lv = function(a) { | |
return !!a.ga && !("function" == typeof a.ga.ya && a.ga.ya()) | |
}, | |
Mv = function(a) { | |
a.H = !0; | |
a.dl = tc(); | |
a.o && (C.clearTimeout(a.o), a.o = null); | |
Lv(a) && (a.Ni && a.ga.Nd && a.ga.Nd(a), a.ga.me && a.ga.me(a)) | |
}; | |
Hv.prototype.getUrl = function() { | |
return String(new pp(this.Ub)) | |
}; | |
var Nv = function(a, b) { | |
a.Ub.i = b | |
}, | |
Kv = function(a, b, c) { | |
a = a.Ub; | |
Array.isArray(c) || (c = [String(c)]); | |
Ip(a.g, b, c) | |
}, | |
Pv = function(a, b) { | |
Ov(a, "f.req", b.o()) | |
}, | |
Ov = function(a, b, c) { | |
a.w || (a.w = new vp); | |
cd(c) || (c = [String(c)]); | |
zd(bv, a.i) || (a.i = "POST"); | |
Ip(a.w, b, c) | |
}, | |
Qv = function(a, b) { | |
if (b instanceof vp) { | |
var c = b.rb(); | |
Hd(c); | |
for (var d = 0; d < c.length; d++) { | |
var e = c[d], | |
g = b.Wa(e); | |
Kv(a, e, g) | |
} | |
} else op(b, function(h, k) { | |
Kv(this, k, h) | |
}, a) | |
}; | |
var Rv = function(a, b, c, d) { | |
Vk.call(this, (d ? "data_b:" : "data:") + b); | |
this.request = a; | |
this.data = c | |
}; | |
E(Rv, Vk); | |
var Tv = function() { | |
this.h = []; | |
Sv(this, 1E3) | |
}; | |
f = Tv.prototype; | |
f.Wj = 0; | |
f.Vh = -1; | |
f.qg = 0; | |
f.ze = 0; | |
f.Ad = 0; | |
f.Vq = 0; | |
f.Gm = 0; | |
var Sv = function(a, b) { | |
b = Math.min(3E5, Math.max(b, 1E3)); | |
a.Gm = Math.round(.85 * b) + Math.round(.3 * b * Math.random()) | |
}; | |
Tv.prototype.ih = function() { | |
return this.qg | |
}; | |
Tv.prototype.Ai = function() { | |
return this.qg == this.Vh | |
}; | |
Tv.prototype.reset = function() { | |
this.j = this.i = null | |
}; | |
var Uv = function(a, b, c, d) { | |
this.zd = a; | |
this.g = b; | |
(void 0 === b || 0 >= b) && Ju(null, Error("ka`" + b + "`" + (a && a.Ub.i))); | |
this.h = 1 == c; | |
this.i = d | |
}, | |
Vv = function(a) { | |
if (a.h) a = !1; | |
else { | |
var b; | |
if (b = !!a.zd) a: switch (b = a.zd, b.Of) { | |
case "RETRY": | |
b = !0; | |
break a; | |
case "FAIL": | |
b = !1; | |
break a; | |
case "BEST_EFFORT": | |
b = a.i || a.zd.Qf; | |
b = 500 <= a.g && 3 > b ? !0 : !1; | |
break a; | |
default: | |
throw Error("la`" + b.Of); | |
} | |
a = b | |
} | |
return a | |
}; | |
Uv.prototype.toString = function() { | |
return String(this.g) | |
}; | |
var Wv = function(a, b) { | |
Vk.call(this, a); | |
b && (this.zd = b) | |
}; | |
E(Wv, Vk); | |
var Xv = function() { | |
od.call(this); | |
this.message = "Retryable Server Error" | |
}; | |
E(Xv, od); | |
var Yv = function() {}, | |
aw = function(a) { | |
var b = a.Ke, | |
c = function(m) { | |
c.M.constructor.call(this, m); | |
var p = this.Vc.length; | |
this.g = []; | |
for (var q = 0; q < p; ++q) this.Vc[q].rt || (this.g[q] = new this.Vc[q](m)) | |
}; | |
E(c, b); | |
for (var d = []; a && a !== Object;) { | |
if (b = a.Ke) { | |
b.Vc && (Ed(d, b.Vc), Hd(d)); | |
var e = b.prototype, | |
g; | |
for (g in e) | |
if (e.hasOwnProperty(g) && ed(e[g]) && e[g] !== b) { | |
var h = !!e[g].lt, | |
k = Zv(g, e, d, h); | |
(h = $v(g, e, k, h)) && (c.prototype[g] = h) | |
} | |
} | |
a = a === Object ? Object : Object.getPrototypeOf ? Object.getPrototypeOf(a.prototype).constructor || Object : a.M && | |
a.M.constructor || Object | |
} | |
c.prototype.Vc = d; | |
return c | |
}, | |
Zv = function(a, b, c, d) { | |
for (var e = [], g = 0; g < c.length && (c[g].prototype[a] === b[a] || (e.push(g), !d)); ++g); | |
return e | |
}, | |
$v = function(a, b, c, d) { | |
var e; | |
c.length ? d ? e = function(g) { | |
var h = this.g[c[0]]; | |
return h ? h[a].apply(this.g[c[0]], arguments) : this.Vc[c[0]].prototype[a].apply(this, arguments) | |
} : b[a].Ko ? e = function(g) { | |
a: { | |
var h = Array.prototype.slice.call(arguments, 0); | |
for (var k = 0; k < c.length; ++k) { | |
var m = this.g[c[k]]; | |
if (m = m ? m[a].apply(m, h) : this.Vc[c[k]].prototype[a].apply(this, | |
h)) { | |
h = m; | |
break a | |
} | |
} | |
h = !1 | |
} | |
return h | |
} : b[a].Jo ? e = function(g) { | |
a: { | |
var h = Array.prototype.slice.call(arguments, 0); | |
for (var k = 0; k < c.length; ++k) { | |
var m = this.g[c[k]]; | |
m = m ? m[a].apply(m, h) : this.Vc[c[k]].prototype[a].apply(this, h); | |
if (null != m) { | |
h = m; | |
break a | |
} | |
} | |
h = void 0 | |
} | |
return h | |
} : b[a].Hm ? e = function(g) { | |
for (var h = Array.prototype.slice.call(arguments, 0), k = 0; k < c.length; ++k) { | |
var m = this.g[c[k]]; | |
m ? m[a].apply(m, h) : this.Vc[c[k]].prototype[a].apply(this, h) | |
} | |
} : e = function(g) { | |
for (var h = Array.prototype.slice.call(arguments, 0), k = [], m = 0; m < | |
c.length; ++m) { | |
var p = this.g[c[m]]; | |
k.push(p ? p[a].apply(p, h) : this.Vc[c[m]].prototype[a].apply(this, h)) | |
} | |
return k | |
} : d || b[a].Ko || b[a].Jo || b[a].Hm ? e = null : e = bw; | |
return e | |
}, | |
bw = function() { | |
return [] | |
}; | |
Yv.prototype.w = function(a) { | |
if (this.g) | |
for (var b = 0; b < this.g.length; ++b) | |
if (this.g[b] instanceof a) return this.g[b]; | |
return null | |
}; | |
var cw = function(a) { | |
return this.wl.w(a) | |
}; | |
var dw = function(a) { | |
this.transport = a | |
}; | |
E(dw, Yv); | |
dw.prototype.i = function() {}; | |
dw.prototype.i.Hm = !0; | |
var ew = function() { | |
Ok.call(this); | |
if (!this.wl) { | |
for (var a = this.constructor; a && !a.Ke;) a = a.M && a.M.constructor; | |
a.Ke.vl || (a.Ke.vl = aw(a)); | |
this.wl = new a.Ke.vl(this); | |
this.w || (this.w = cw) | |
} | |
}; | |
E(ew, Ok); | |
dw.M || E(dw, Yv); | |
ew.Ke = dw; | |
f = ew.prototype; | |
f.qe = !1; | |
f.B = function() { | |
return this.ga | |
}; | |
f.fn = function() { | |
return 0 | |
}; | |
f.qn = function(a) { | |
this.ga.Og(a); | |
this.i = a | |
}; | |
f.abort = function() { | |
throw Error("l"); | |
}; | |
var fw = function(a, b) { | |
switch (a) { | |
case 1: | |
case 3: | |
return 8; | |
case 4: | |
return NaN; | |
case 7: | |
return 100; | |
case 6: | |
return b || 7; | |
case 8: | |
return 101; | |
case 5: | |
return 9; | |
default: | |
return 102 | |
} | |
}; | |
ew.prototype.lf = function(a, b) { | |
this.h = a; | |
this.u = b | |
}; | |
var gw = function() { | |
this.g = []; | |
this.i = [] | |
}, | |
hw = function(a) { | |
0 == a.g.length && (a.g = a.i, a.g.reverse(), a.i = []) | |
}; | |
f = gw.prototype; | |
f.enqueue = function(a) { | |
this.i.push(a) | |
}; | |
f.nb = function() { | |
return this.g.length + this.i.length | |
}; | |
f.clear = function() { | |
this.g = []; | |
this.i = [] | |
}; | |
f.contains = function(a) { | |
return zd(this.g, a) || zd(this.i, a) | |
}; | |
f.remove = function(a) { | |
var b = this.g; | |
var c = rd(b, a); | |
0 <= c ? (Array.prototype.splice.call(b, c, 1), b = !0) : b = !1; | |
return b || Bd(this.i, a) | |
}; | |
f.Wa = function() { | |
for (var a = [], b = this.g.length - 1; 0 <= b; --b) a.push(this.g[b]); | |
var c = this.i.length; | |
for (b = 0; b < c; ++b) a.push(this.i[b]); | |
return a | |
}; | |
var iw = function() { | |
Sl.call(this); | |
this.j = new gw; | |
this.w = new jp; | |
this.g = []; | |
this.i = []; | |
this.Ee = []; | |
this.o = new Jo(this); | |
new jp; | |
this.u = !0 | |
}; | |
E(iw, Sl); | |
f = iw.prototype; | |
f.sd = null; | |
f.bh = "READY"; | |
f.jg = 1; | |
f.Pf = "BEST_EFFORT"; | |
f.dispose = function() { | |
for (var a = 0; a < this.i.length; a++) { | |
var b = this.i[a].g; | |
b.Ad && (C.clearTimeout(b.Ad), b.Ad = 0) | |
} | |
this.ya() || (iw.M.dispose.call(this), this.j.clear(), this.sd && (C.clearTimeout(this.sd), this.sd = null)); | |
for (a = 0; a < this.Ee.length; a++) this.Ee[a].dispose(); | |
this.i.length = this.g.length = 0; | |
this.o.dispose() | |
}; | |
var jw = function(a, b) { | |
var c = {}; | |
c.hs = D(a.ks, a); | |
c.Yh = D(a.Yh, a); | |
c.Zh = D(a.Zh, a); | |
c.Ft = D(a.H, a); | |
c.sh = D(a.aa, a); | |
c.Ai = D(a.Eo, a); | |
c.Dt = D(a.fp, a); | |
c.ih = D(a.gp, a); | |
c.Qt = D(a.xg, a); | |
c.Og = D(a.Og, a); | |
b.ga = c; | |
a.Ee.push(b) | |
}; | |
iw.prototype.send = function(a) { | |
this.ya() ? kw(this, a, 107) : (this.dispatchEvent(new Wv("j", a)), this.j.enqueue(a), lw(this)) | |
}; | |
iw.prototype.getState = function() { | |
return this.bh | |
}; | |
iw.prototype.abort = function(a, b) { | |
mw(this, a, b) | |
}; | |
var mw = function(a, b, c) { | |
b.getUrl(); | |
c = "number" === typeof c ? c : 100; | |
zd(a.g, b) ? (b.g.Wj = c, (a = b.g) && a.i && a.i.abort(a.Wj)) : a.j.remove(b) && kw(a, b, c) | |
}, | |
pw = function(a, b) { | |
var c = null, | |
d = {}, | |
e = td(a.Ee, function(p) { | |
var q = id(p); | |
d[q] = p.fn(b); | |
return !!d[q] | |
}); | |
Jd(e, D(a.A, null, d, a.Ee)); | |
for (var g = 0, h = 0, k = e.length; g < k && !c; g++) { | |
var m = e[g]; | |
if (!m.qe) { | |
c = m; | |
break | |
} | |
m = d[id(m)]; | |
if (g == k - 1 || m > d[id(e[g + 1])]) | |
for (; !c && h <= g;) | |
if (c = e[h++], nw(a, c) < a.jg) | |
if (c = ow(c)) jw(a, c); | |
else { | |
if (1 == m) throw Error("ma"); | |
} | |
else throw Error("na"); | |
} | |
return c | |
}; | |
iw.prototype.A = function(a, b, c, d) { | |
var e = id(c), | |
g = id(d); | |
return a[e] < a[g] ? 1 : a[e] > a[g] ? -1 : c.qe && !d.qe ? 1 : !c.qe && d.qe ? -1 : oa(b, d) - oa(b, c) | |
}; | |
var nw = function(a, b) { | |
var c = 0; | |
b = b.constructor; | |
a = a.Ee; | |
for (var d = 0, e = a.length; d < e; d++) a[d].constructor === b && c++; | |
return c | |
}; | |
iw.prototype.Og = function(a) { | |
if (0 != this.w.h) | |
for (var b = this.w.rb(), c = 0; c < b.length; c++) { | |
var d = b[c], | |
e = this.w.get(d); | |
Kv(a, d, e); | |
this.w.remove(d) | |
} | |
}; | |
var qw = function(a, b) { | |
switch (b) { | |
case "ACTIVE": | |
case "WAITING_FOR_RETRY": | |
case "RETRY_TIMER": | |
if (0 == a.g.length) throw Error("pa`" + b); | |
} | |
if (b != a.bh && (a.bh = b, a.dispatchEvent(new Wv("i")), a.T)) a.T.onStateChanged() | |
}, | |
lw = function(a) { | |
if (a.u && ("READY" == a.bh || 1 !== a.jg)) { | |
var b = a.j; | |
hw(b); | |
b = b.g; | |
if ((b = b[b.length - 1]) && a.g.length < a.jg) { | |
var c = a.j; | |
hw(c); | |
c.g.pop(); | |
b.g = new Tv; | |
a.g.push(b); | |
rw(a, b) | |
} | |
} | |
}, | |
rw = function(a, b) { | |
b.getUrl(); | |
var c = b.g; | |
c.qg = 0; | |
c.Vh = -1; | |
c = tc(); - 1 == b.eh && (b.eh = c); | |
b.Cj = c; | |
b.Qf++; | |
try { | |
qw(a, "ACTIVE"); | |
try { | |
b.getUrl(); | |
var d = b.g; | |
d.Wj = 0; | |
var e = d.i; | |
if (!e) { | |
e = pw(a, b); | |
if (!e) throw Error("oa`" + b); | |
e.qe = !0; | |
d.i = e | |
} | |
d.g = null; | |
e.qn(b); | |
a.sd || (a.sd = uv("ua", a.Nm, 3E4, a)) | |
} catch (g) { | |
throw g; | |
} | |
} catch (g) { | |
throw g; | |
} | |
}; | |
iw.prototype.aa = function(a, b) { | |
this.sh(a, b) | |
}; | |
iw.prototype.sh = function(a, b) { | |
for (var c = a.g, d = 0; d < b.length; d++) { | |
var e = b[d]; | |
c.qg++; | |
var g = e[0]; | |
"f.ri" !== g && c.h.push(e); | |
1 == c.ih() && sw(a); | |
"f.ri" == g ? tw(this, a, e) : "di" == g ? uw(a, e) : "e" == g && (vw(a, new zh(e)), this.xg(a)) | |
} | |
}; | |
iw.prototype.H = function(a, b) { | |
var c = a.g; | |
c.qg++; | |
var d = b[0]; | |
c.ze && (C.clearTimeout(c.ze), c.ze = 0); | |
"f.ri" !== d && c.h.push(b); | |
1 == c.ih() && sw(a); | |
"f.ri" == d ? tw(this, a, b) : "di" == d ? uw(a, b) : "e" == d ? (vw(a, new zh(b)), this.xg(a)) : (b = uv("ua", ld(this.xg, a), 50, this), a.g.ze = b) | |
}; | |
var sw = function(a) { | |
try { | |
a.fh = tc() | |
} catch (b) { | |
Ju("qa", b), a.g.g = b | |
} | |
}, | |
tw = function(a, b, c) { | |
(c = l(new Ah(c), 1)) && a.J && c != a.J && (b.g.g = Error(106)) | |
}, | |
uw = function(a, b) { | |
try { | |
var c = new yh(b), | |
d = new Cv(c); | |
a.Ym = d | |
} catch (e) { | |
Ju("ra", e), a.g.g = e | |
} | |
}, | |
vw = function(a, b) { | |
var c = l(b, 1); | |
a.g.Vh = c; | |
0 < l(b, 4) && l(b, 4) | |
}; | |
f = iw.prototype; | |
f.xg = function(a) { | |
var b = a.g; | |
b.ze && (C.clearTimeout(b.ze), b.ze = 0); | |
var c = b.h; | |
if (c.length && (b.h = [], b = a ? a.g : null, !b || !b.g)) try { | |
for (var d = 0; d < c.length; d++) { | |
var e = c[d], | |
g = e[0]; | |
this.dispatchEvent(new Rv(a, g, e, !0)) | |
} | |
a && Lv(a) && a.ga.Lp && a.ga.Lp(a, c); | |
this.dispatchEvent(new Rv(a, "aa", c)); | |
for (d = 0; d < c.length; d++) { | |
e = c[d]; | |
g = e[0]; | |
if (a) | |
if ("er" == g) { | |
var h = new Vh(e), | |
k = l(h, 5); | |
if (500 <= k && 700 > k) { | |
var m = new Uv(a, k, !1, a.Qf); | |
if (Vv(m)) { | |
b.j = m; | |
var p = new Xv; | |
b.g = p; | |
break | |
} | |
} | |
var q = a; | |
q.$g = h; | |
Lv(q) && q.ga.Nd && q.ga.Nd(q) | |
} else Lv(a) && a.ga.ne && | |
a.ga.ne(a, g, e); | |
this.dispatchEvent(new Rv(a, g, e)) | |
} | |
} catch (t) { | |
Ju("sa", t), b && (b.g = t) | |
} | |
}; | |
f.Eo = function(a) { | |
return a.g.Ai() | |
}; | |
f.gp = function(a) { | |
return a.g.ih() | |
}; | |
f.fp = function(a) { | |
return a.g.Vh | |
}; | |
f.Zh = function(a) { | |
var b = a.g, | |
c = b.g; | |
if (c || !b.Ai()) { | |
var d; | |
c ? c instanceof Xv ? d = b.j : d = new Uv(a, 106 == c.message ? 106 : 12, !0) : (d = new Uv(a, 103, !1, a.Qf), this.L && Kv(a, "nrt", a.Qf)); | |
ww(this, a, d); | |
return !1 | |
} | |
a.getUrl(); | |
a.Ni = !1; | |
a.Qi = -1; | |
Mv(a); | |
this.dispatchEvent(new Wv("k", a)); | |
Bd(this.i, a); | |
qw(this, "WAITING_FOR_READY"); | |
return !0 | |
}; | |
f.Yh = function(a, b) { | |
this.xg(a); | |
ww(this, a, b) | |
}; | |
var ww = function(a, b, c) { | |
b.getUrl(); | |
b.g.j = c; | |
b.fh = -1; | |
b.Ym = Dv; | |
Vv(c) ? (Ad(a.i, b), b.g.Ad = -1, b = "WAITING_FOR_RETRY") : (Vv(c), Bd(a.i, b), kw(a, b, c), b = "WAITING_FOR_READY"); | |
qw(a, b) | |
}; | |
f = iw.prototype; | |
f.ks = function(a) { | |
var b = yd(this.g, function(c) { | |
return c.g.i == a | |
}); | |
zd(this.i, b) || (a.qe = !1, b.g.reset(), Bd(this.g, b)); | |
this.sd && (C.clearTimeout(this.sd), this.sd = null); | |
qa(this.i, this.tq, this); | |
this.g.length < this.jg && (qw(this, "READY"), lw(this)) | |
}; | |
f.tq = function(a) { | |
var b = a.g; | |
if (-1 == b.Ad) { | |
var c = a.Ub.g.get("f.retries"); | |
Qv(a, { | |
"f.retries": (c ? Number(c) : 0) + 1 | |
}); | |
c = b.Gm; | |
var d = tc() + c; | |
b.Vq = d; | |
a = uv("ua", D(this.rr, this, a), c); | |
b.Ad = a; | |
Sv(b, 2 * c); | |
qw(this, "RETRY_TIMER") | |
} | |
}; | |
f.rr = function(a) { | |
var b = a.g; | |
b.Ad && (C.clearTimeout(b.Ad), b.Ad = 0); | |
rw(this, a) | |
}; | |
f.Nm = function() { | |
this.sd = uv("ua", this.Nm, 3E4, this); | |
this.al() | |
}; | |
f.al = function() { | |
if (0 != this.g.length && this.h) | |
for (var a = 0, b = this.g.length; a < b; a++) { | |
var c = this.g[a], | |
d = tc(), | |
e = c.Cj; | |
if (-1 < e && 6E4 < d - e) | |
if (d = this.h, e = tc(), e - d.i > d.h ? (d.g.gf || (null !== navigator && "onLine" in navigator && !navigator.onLine ? (d.i = e - d.h + 1E3, uv("ca", D(d.w, d, !1), 0)) : (e = new pp("//www.google.com/images/cleardot.gif"), Dp(e), d.g.h = e, d.g.start())), d = !0) : d = !1, d) break; | |
else this.h.j || mw(this, c, 1) | |
} | |
}; | |
f.disable = function() { | |
this.u = !1 | |
}; | |
var kw = function(a, b, c) { | |
"number" === typeof c && (c = new Uv(b, c)); | |
a.dispatchEvent(new Wv("l", b, c)); | |
b.Ni = !0; | |
Mv(b) | |
}; | |
var xw = function(a, b) { | |
b || (b = {}); | |
var c = window; | |
var d = a instanceof ff ? a : lf("undefined" != typeof a.href ? a.href : String(a)); | |
a = b.target || a.target; | |
var e = []; | |
for (g in b) switch (g) { | |
case "width": | |
case "height": | |
case "top": | |
case "left": | |
e.push(g + "=" + b[g]); | |
break; | |
case "target": | |
case "noopener": | |
case "noreferrer": | |
break; | |
default: | |
e.push(g + "=" + (b[g] ? 1 : 0)) | |
} | |
var g = e.join(","); | |
if (pg() && c.navigator && c.navigator.standalone && a && "_self" != a) g = wm("A"), Vf(g, d), g.setAttribute("target", a), b.noreferrer && g.setAttribute("rel", "noreferrer"), | |
b = document.createEvent("MouseEvent"), b.initMouseEvent("click", !0, !0, c, 1), g.dispatchEvent(b); | |
else if (b.noreferrer) { | |
if (c = c.open("", a, g), b = gf(d), c && (wg && -1 != b.indexOf(";") && (b = "'" + b.replace(/'/g, "%27") + "'"), c.opener = null, b = '<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url=' + eg(b) + '">', b = Sf(b, null), c = c.document)) c.write(Gf(b)), c.close() | |
} else(c = c.open(gf(d), a, g)) && b.noopener && (c.opener = null) | |
}; | |
var Aw = function(a) { | |
for (var b = [], c = yw, d = a.elements, e, g = 0; e = d.item(g); g++) | |
if (e.form == a && !e.disabled && "FIELDSET" != e.tagName) { | |
var h = e.name; | |
switch (e.type.toLowerCase()) { | |
case "file": | |
case "submit": | |
case "reset": | |
case "button": | |
break; | |
case "select-multiple": | |
e = zw(e); | |
if (null != e) | |
for (var k, m = 0; k = e[m]; m++) c(b, h, k); | |
break; | |
default: | |
k = zw(e), null != k && c(b, h, k) | |
} | |
} d = a.getElementsByTagName("INPUT"); | |
for (g = 0; e = d[g]; g++) e.form == a && "image" == e.type.toLowerCase() && (h = e.name, c(b, h, e.value), c(b, h + ".x", "0"), c(b, h + ".y", "0")); | |
return b.join("&") | |
}, | |
yw = function(a, b, c) { | |
a.push(encodeURIComponent(b) + "=" + encodeURIComponent(c)) | |
}, | |
zw = function(a) { | |
var b = a.type; | |
if ("string" === typeof b) switch (b.toLowerCase()) { | |
case "checkbox": | |
case "radio": | |
return a.checked ? a.value : null; | |
case "select-one": | |
return b = a.selectedIndex, 0 <= b ? a.options[b].value : null; | |
case "select-multiple": | |
b = []; | |
for (var c, d = 0; c = a.options[d]; d++) c.selected && b.push(c.value); | |
return b.length ? b : null | |
} | |
return null != a.value ? a.value : null | |
}; | |
var Bw = function(a, b) { | |
null != a && this.Ol.apply(this, arguments) | |
}; | |
f = Bw.prototype; | |
f.ge = ""; | |
f.set = function(a) { | |
this.ge = "" + a | |
}; | |
f.Ol = function(a, b, c) { | |
this.ge += String(a); | |
if (null != b) | |
for (var d = 1; d < arguments.length; d++) this.ge += arguments[d]; | |
return this | |
}; | |
f.clear = function() { | |
this.ge = "" | |
}; | |
f.toString = function() { | |
return this.ge | |
}; | |
var Cw = function(a) { | |
ew.call(this); | |
this.g = new $u; | |
this.A = a; | |
this.j = null; | |
this.g.headers.set("X-Same-Domain", "1"); | |
El(this.g, "complete", this.$l, !1, this); | |
El(this.g, "ready", this.am, !1, this) | |
}; | |
E(Cw, ew); | |
var Dw = /var gmail_error\s*=\s*(\d+)/m, | |
Ew = /var rc\s*=\s*(\d+)/m, | |
Fw = /(?:Additional details|Detailed Technical Info)[\s\S]*<pre[^>]*>([\s\S]*)<\/pre>/i; | |
f = Cw.prototype; | |
f.V = function() { | |
Ll(this.g, "complete", this.$l, !1, this); | |
Ll(this.g, "ready", this.am, !1, this); | |
this.g.dispose(); | |
this.g = null; | |
Cw.M.V.call(this) | |
}; | |
f.qn = function(a) { | |
this.ga.Og(a); | |
this.i = a; | |
Kv(a, "rt", this.A); | |
var b = a.T, | |
c = null != a.w || null != a.h; | |
if (!a.U || c) { | |
if (this.h && (c = this.u.call(null), void 0 !== c)) { | |
var d = a.h; | |
if (d) { | |
var e = d.elements[this.h]; | |
e || (e = d.ownerDocument.createElement("input"), e.setAttribute("name", this.h), e.setAttribute("hidden", !0), d.appendChild(e)); | |
e.value = c | |
} else Ov(a, this.h, c) | |
} | |
this.g.send(a.getUrl(), a.i, Gw(a), b) | |
} else this.g.send(a.getUrl(), a.i, null, b) | |
}; | |
f.abort = function(a) { | |
this.j = a; | |
this.g.abort(7) | |
}; | |
f.$l = function(a) { | |
a = a.target; | |
this.i.ma = kv(a); | |
if (lv(a)) { | |
if (0 < mv(a).length || 204 == kv(a)) { | |
a: { | |
var b = mv(a);b = b.substring(b.indexOf("\n"));a = this.i; | |
try { | |
var c = window.JSON.parse(b) | |
} catch (d) { | |
c = new Uv(a, 10); | |
this.B().Yh(a, c); | |
break a | |
} | |
cd(c) && this.B().sh(a, c[0]);this.B().Zh(a) | |
} | |
return | |
} | |
this.j = 104 | |
} | |
this.o(a) | |
}; | |
f.am = function() { | |
this.B().hs(this) | |
}; | |
var Gw = function(a) { | |
var b = a.w; | |
if (b) { | |
var c = new Bw; | |
b.forEach(function(d, e) { | |
c.Ol(cg(e), "=", cg(d), "&") | |
}); | |
return c.toString() | |
} | |
return a.h ? Aw(a.h) : "" | |
}; | |
Cw.prototype.o = function(a) { | |
var b = this.j; | |
this.j = 0; | |
var c = kv(a), | |
d = a.j; | |
Fw.exec(mv(a)); | |
if (b) var e = b; | |
else 6 == d && (e = mv(a), e = (a = e.match(Dw)) ? 700 + parseInt(a[1], 10) : (a = e.match(Ew)) ? Number("6" + a[1]) : null); | |
e || (e = fw(d, c)); | |
c = this.i; | |
d = new Uv(c, e, void 0, void 0); | |
this.B().Yh(c, d) | |
}; | |
var Hw = function() { | |
Cw.call(this, "j") | |
}; | |
E(Hw, Cw); | |
Hw.prototype.fn = function(a) { | |
var b = a.h, | |
c; | |
if (c = b) a: { | |
b = b.elements; | |
for (var d = 0; c = b[d]; d++) | |
if (!c.disabled && c.type && "file" == c.type.toLowerCase()) { | |
c = !0; | |
break a | |
} c = !1 | |
} | |
return c ? 0 : a.fm && !a.X ? .9 : .5 | |
}; | |
var ow = function(a) { | |
var b = new Hw; | |
b.lf(a.h, a.u); | |
return b | |
}; | |
Hw.prototype.o = function(a) { | |
var b = mv(a); | |
b = b.substring(b.indexOf("\n")); | |
try { | |
var c = window.JSON.parse(b) | |
} catch (d) {} | |
cd(c) ? (a = this.i, this.B().sh(a, c[0]), this.B().Zh(a)) : Hw.M.o.call(this, a) | |
}; | |
var Iw = function(a, b, c, d) { | |
Sl.call(this); | |
this.g = b || null; | |
this.i = c || null; | |
this.j = d || null; | |
this.w = null | |
}; | |
E(Iw, Sl); | |
var Jw = function(a) { | |
var b = new Iw(a, void 0, void 0, void 0); | |
a.registerService(Ho, b); | |
return b | |
}; | |
Iw.prototype.sendRequest = function(a) { | |
this.w || (this.w = a); | |
return a.g() | |
}; | |
Iw.prototype.V = function() { | |
Pk(this.g); | |
Pk(this.i); | |
Pk(this.j); | |
Iw.M.V.call(this) | |
}; | |
Iw.prototype.initialize = function(a) { | |
a = a.get(Go).g; | |
var b = new iw; | |
b.h = a; | |
b.h && b.o.listen(b.h, "h", b.al); | |
jw(b, new Hw); | |
this.g = b; | |
a = new iw; | |
jw(a, new Hw); | |
this.i = a; | |
this.j = null; | |
this.h && (this.g.Pf = this.h, this.i.Pf = this.h) | |
}; | |
Iw.prototype.lf = function(a, b) { | |
function c(d) { | |
d && qa(d.Ee.concat(), function(e) { | |
e.lf(a, b) | |
}) | |
} | |
c(this.g); | |
c(this.i) | |
}; | |
(function() { | |
Fu.g = []; | |
var a = new ov("/webstore/jserror", void 0, !0); | |
a = new Lu(a); | |
sv.i = a; | |
Hu(a); | |
var b = null; | |
a = function(c) { | |
C.$googDebugFname && c && c.message && !c.fileName && (c.message += " in " + C.$googDebugFname); | |
b ? c && c.message && (c.message += " [Possibly caused by: " + b + "]") : b = String(c); | |
Ju(null, c) | |
}; | |
Uc("_DumpException", a, void 0); | |
Uc("_B_err", a, void 0); | |
qa([C].concat([]), ld(bl, ld(qv, !0), !0)); | |
He() && Le(28) || Ge() && Le(14) || Fe() && Le(11) || Ie() && Le(10); | |
if (!F || Ng(10)) a = new Mu(Ku), a.h = !0, a.g = !0, Uu(a), Tu(a, "setTimeout"), Tu(a, "setInterval"), | |
Su(a), al(a), sv.g = a; | |
return sv | |
})(); | |
var Kw = function(a) { | |
Sl.call(this); | |
this.v = a | |
}; | |
B(Kw, Sl); | |
var Lw = function(a, b) { | |
Av(a.v); | |
var c = Jw(a.v); | |
c.h = "BEST_EFFORT"; | |
c.g && (c.g.Pf = "BEST_EFFORT"); | |
c.i && (c.i.Pf = "BEST_EFFORT"); | |
c.initialize(a.v); | |
c.lf("t", function() { | |
return b || void 0 | |
}); | |
c.i && (c.i.jg = 3) | |
}; | |
var Qw = function(a, b) { | |
var c = b || {}; | |
b = c.document || document; | |
var d = $e(a), | |
e = wm("SCRIPT"), | |
g = { | |
an: e, | |
Hg: void 0 | |
}, | |
h = new Us(Mw, g), | |
k = null, | |
m = null != c.timeout ? c.timeout : 5E3; | |
0 < m && (k = window.setTimeout(function() { | |
Nw(e, !0); | |
h.i(new Ow(1, "Timeout reached for loading script " + d)) | |
}, m), g.Hg = k); | |
e.onload = e.onreadystatechange = function() { | |
e.readyState && "loaded" != e.readyState && "complete" != e.readyState || (Nw(e, c.mt || !1, k), h.Ba(null)) | |
}; | |
e.onerror = function() { | |
Nw(e, !0, k); | |
h.i(new Ow(0, "Error while loading script " + d)) | |
}; | |
g = c.attributes || {}; | |
De(g, { | |
type: "text/javascript", | |
charset: "UTF-8" | |
}); | |
nm(e, g); | |
Xf(e, a); | |
Pw(b).appendChild(e); | |
return h | |
}, | |
Pw = function(a) { | |
var b; | |
return (b = (a || document).getElementsByTagName("HEAD")) && 0 != b.length ? b[0] : a.documentElement | |
}, | |
Mw = function() { | |
if (this && this.an) { | |
var a = this.an; | |
a && "SCRIPT" == a.tagName && Nw(a, !0, this.Hg) | |
} | |
}, | |
Nw = function(a, b, c) { | |
null != c && C.clearTimeout(c); | |
a.onload = $c; | |
a.onerror = $c; | |
a.onreadystatechange = $c; | |
b && window.setTimeout(function() { | |
Dm(a) | |
}, 0) | |
}, | |
Ow = function(a, b) { | |
var c = "Jsloader error (code #" + a + ")"; | |
b && (c += ": " + | |
b); | |
od.call(this, c); | |
this.code = a | |
}; | |
E(Ow, od); | |
var Rw = function() { | |
this.g = null | |
}, | |
Tw = function(a, b) { | |
var c = An(); | |
if (b) { | |
var d = b.getUrl(), | |
e = mh(b, pk, 3), | |
g = l(b, 1); | |
d ? Qw(bf(l(d, 4) || ""), { | |
timeout: 6E4 | |
}).then(function() { | |
Sw(a, g); | |
c.resolve() | |
}) : e && (b = wm("SCRIPT"), Yf(b, Ve(l(e, 6) || "")), C.document.head.appendChild(b), Sw(a, g), c.resolve()) | |
} | |
return c.g | |
}, | |
Sw = function(a, b) { | |
C.botguard && C.botguard.bg && (a.g = new C.botguard.bg(b[0], function() {})) | |
}, | |
Uw = function(a, b) { | |
return a.g ? new Promise(function(c) { | |
return a.g.invoke(c, !0, b) | |
}) : null | |
}; | |
var Vw = function(a, b) { | |
Sl.call(this); | |
this.ba = a; | |
a = Im(this.ba) ? this.ba : this.ba ? this.ba.body : null; | |
this.j = !!a && vr(a); | |
this.g = El(this.ba, xg ? "DOMMouseScroll" : "mousewheel", this, b) | |
}; | |
E(Vw, Sl); | |
Vw.prototype.handleEvent = function(a) { | |
var b = 0, | |
c = 0, | |
d = a.g; | |
"mousewheel" == d.type ? (a = Ww(-d.wheelDelta), void 0 !== d.wheelDeltaX ? (b = Ww(-d.wheelDeltaX), c = Ww(-d.wheelDeltaY)) : c = a) : (a = d.detail, 100 < a ? a = 3 : -100 > a && (a = -3), void 0 !== d.axis && d.axis === d.HORIZONTAL_AXIS ? b = a : c = a); | |
"number" === typeof this.i && (b = Math.min(Math.max(b, -this.i), this.i)); | |
"number" === typeof this.h && (c = Math.min(Math.max(c, -this.h), this.h)); | |
this.j && (b = -b); | |
b = new Xw(a, d, b, c); | |
this.dispatchEvent(b) | |
}; | |
var Ww = function(a) { | |
return yg && (zg || Bg) && 0 != a % 40 ? a : a / 40 | |
}; | |
Vw.prototype.V = function() { | |
Vw.M.V.call(this); | |
Ml(this.g); | |
this.g = null | |
}; | |
var Xw = function(a, b, c, d) { | |
ol.call(this, b); | |
this.type = "mousewheel"; | |
this.detail = a; | |
this.deltaX = c; | |
this.deltaY = d | |
}; | |
E(Xw, ol); | |
var Yw = function(a) { | |
this.g = 4; | |
this.o = a; | |
this.i = Hq(this.o).g; | |
this.j = null; | |
this.w = this.h = 0 | |
}, | |
Zw = function(a) { | |
return Xm(a.i, "h-F-f-k") | |
}, | |
$w = function(a, b, c) { | |
var d = a.o.get(Mk), | |
e = wm("DIV"); | |
e.style.cssText = "overflow:auto;position:absolute;top:0;width:100px;height:100px"; | |
var g = wm("DIV"); | |
rr(g, "200px", "200px"); | |
e.appendChild(g); | |
document.body.appendChild(e); | |
g = e.offsetWidth - e.clientWidth; | |
Dm(e); | |
d = Hq(d.u).g; | |
d = F && vr(d.g.body) ? "padding-left" : "padding-right"; | |
b ? (c && (0 === a.w && W(a.i.g.body, "lvxIP"), a.w++), 0 === a.h && (c = {}, c[d] = | |
g + "px", c.overflow = "hidden", cr(a.i.g.body, c), W(a.i.g.body, "Pj"), c = Zw(a), null != c && (cr(c, "display", "block"), a.j = new Vw(c), El(a.j, "mousewheel", Wk, !0))), a.h++) : (a.h--, 0 === a.h && (b = {}, b[d] = "", b.overflow = "", cr(a.i.g.body, b), bu(a.i.g.body, "Pj"), b = Zw(a), null != b && (Uf(b, pf), a.j.dispose(), a.j = null)), c && (a.w--, 0 === a.w && bu(a.i.g.body, "lvxIP"))); | |
Xm(a.i, "F-k") && Zw(a) && (0 < a.h ? (Xm(a.i, "F-k").setAttribute("aria-hidden", "true"), Zw(a).removeAttribute("aria-hidden")) : (Xm(a.i, "F-k").removeAttribute("aria-hidden"), Zw(a).setAttribute("aria-hidden", | |
"true"))) | |
}; | |
var bx = function(a) { | |
K(this, a, 0, ax, null) | |
}; | |
E(bx, H); | |
var cx = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(cx, H); | |
var ex = function(a) { | |
K(this, a, 0, dx, null) | |
}; | |
E(ex, H); | |
var fx = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(fx, H); | |
var hx = function(a) { | |
K(this, a, 0, gx, null) | |
}; | |
E(hx, H); | |
var ax = [5, 7, 16, 18, 37, 39]; | |
cx.prototype.Z = function() { | |
return l(this, 1) | |
}; | |
var dx = [2], | |
gx = [2], | |
jx = function(a) { | |
K(this, a, 0, ix, null) | |
}; | |
E(jx, H); | |
var kx = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(kx, H); | |
var ix = [1]; | |
kx.prototype.Xc = function() { | |
return l(this, 2) | |
}; | |
kx.prototype.getUrl = function() { | |
return l(this, 4) | |
}; | |
kx.prototype.Bd = function(a) { | |
M(this, 5, a) | |
}; | |
kx.prototype.setEnabled = function(a) { | |
return M(this, 6, a) | |
}; | |
var lx = function() {}; | |
var Qb = function() { | |
this.xa = this.vf = !1; | |
this.Ja = !0; | |
this.Ea = this.Ka = this.U = this.w = this.Sb = this.mb = !1; | |
this.Fb = !0; | |
this.Oa = !1; | |
this.cc = "topbar"; | |
this.X = !1; | |
this.u = !0; | |
this.ea = this.Ac = this.bb = !1; | |
this.ca = this.i = !0; | |
this.Db = this.A = !1; | |
this.g = null; | |
this.fb = !1; | |
this.da = [0, 1, 2, 3, 4, 6, 10, 11]; | |
this.o = this.aa = !0; | |
this.ab = !1; | |
this.P = this.Cg = this.pb = this.Tb = this.xf = this.J = this.H = this.T = !0; | |
this.ma = !1; | |
this.pd = !0; | |
this.L = !1; | |
this.wa = 2; | |
this.La = !0; | |
this.na = this.ha = !1; | |
this.Rf = !0; | |
this.ta = this.xc = this.j = this.h = this.fa = !1 | |
}; | |
B(Qb, lx); | |
f = Qb.prototype; | |
f.Ef = function(a) { | |
var b = this.g ? !!hh(this.g, 23, !0) : !0; | |
return 4 <= a && b | |
}; | |
f.jk = function() { | |
return !!this.g && !!hh(this.g, 21, !1) | |
}; | |
f.dm = function() { | |
return this.g ? !!hh(this.g, 38, !1) : !1 | |
}; | |
f.gn = function() { | |
return this.g ? hh(this.g, 40, !1) : !1 | |
}; | |
f.zl = function() { | |
return this.g ? hh(this.g, 41, !1) : !1 | |
}; | |
f.Cl = function() { | |
return this.g ? l(this.g, 39) : [] | |
}; | |
ad(Qb); | |
var Rb = function() { | |
Qb.call(this); | |
this.vf = !0; | |
this.ca = this.o = this.i = this.Ja = !1; | |
this.A = !0; | |
this.J = this.H = this.T = !1; | |
this.L = !0; | |
this.j = this.h = !1 | |
}; | |
B(Rb, Qb); | |
ad(Rb); | |
var Sb = function() { | |
Rb.call(this); | |
this.xf = this.A = !1; | |
this.h = !0; | |
this.j = !1 | |
}; | |
B(Sb, Rb); | |
ad(Sb); | |
var nx = function(a, b, c) { | |
this.h = a.get(yb); | |
this.w = c || "0.0.0.0"; | |
this.o = b || !1; | |
this.u = a; | |
this.i = (a = Xm(Hq(a).g, "sh-rj-tj-Sh")) ? 9 == mr(a).x : !1; | |
this.j = null; | |
this.g = !1; | |
mx(this) | |
}, | |
ox = function(a) { | |
var b = a.match(/Chrome\/([\d]+)\.([\d]+)\.([\d]+)\.([\d]+)/); | |
b || (b = a.match(/^([\d]+)\.([\d]+)\.([\d]+)\.([\d]+)$/)); | |
b || (b = a.match(/^([\d]+)\.([\d]+)\.([\d]+)$/)); | |
b || (b = a.match(/^([\d]+)\.([\d]+)$/)); | |
b || (b = a.match(/^([\d]+)$/)); | |
if (b) { | |
for (; 5 > b.length;) b.push("0"); | |
return ud(Fd(b, 1, 5), function(c) { | |
return parseInt(c, 10) | |
}) | |
} | |
return null | |
}, | |
qx = function(a) { | |
var b = le; | |
return b ? px(b, a) : !1 | |
}, | |
px = function(a, b) { | |
a = ox($d(a)); | |
b = ox($d(b)); | |
if (a && b) { | |
a: { | |
for (var c = Id, d = Math.min(a.length, b.length), e = 0; e < d; e++) { | |
var g = c(a[e], b[e]); | |
if (0 != g) { | |
a = g; | |
break a | |
} | |
} | |
a = Id(a.length, b.length) | |
} | |
a = 0 <= a | |
} | |
else a = !1; | |
return a | |
}, | |
rx = function() { | |
return !(F && !Ng(9)) | |
}, | |
tx = function(a) { | |
return a.o || ru() && sx() && qx(a.w) | |
}, | |
ru = function() { | |
return null != window.chrome && null != chrome.management && null != chrome.management.onInstalled && null != chrome.management.getAll && null != chrome.management.uninstall && null != | |
chrome.management.launchApp | |
}, | |
sx = function() { | |
return null != window.chrome && null != chrome.webstorePrivate && null != chrome.webstorePrivate.beginInstallWithManifest3 && null != chrome.webstorePrivate.completeInstall | |
}, | |
ux = function() { | |
return null != window.chrome && null != chrome.webstorePrivate && null != chrome.webstorePrivate.getBrowserLogin | |
}, | |
vx = function() { | |
return -1 != (le || "").indexOf("CrOS") | |
}, | |
Wn = function() { | |
return kl | |
}; | |
nx.prototype.getBrowserLogin = function(a) { | |
ux() ? chrome.webstorePrivate.getBrowserLogin(function(b) { | |
b && b.login ? a(b.login.toLowerCase()) : a(null) | |
}) : a(null) | |
}; | |
var wx = function() { | |
return null != window.chrome && null != chrome.webstorePrivate && null != chrome.webstorePrivate.getIsLauncherEnabled | |
}, | |
xx = function() { | |
return null != window.chrome && null != chrome.webstorePrivate && null != chrome.webstorePrivate.getEphemeralAppsEnabled && null != chrome.webstorePrivate.launchEphemeralApp | |
}; | |
nx.prototype.getEphemeralAppsEnabled = function(a) { | |
var b = this; | |
xx() ? null != this.j ? a(this.j) : chrome.webstorePrivate.getEphemeralAppsEnabled(function(c) { | |
yx() ? a(!1) : (b.j = c, a(c)) | |
}) : a(!1) | |
}; | |
var zx = function() { | |
return !!le.match(/(x86_32|i[3-6]86|amd32)/) | |
}, | |
yx = function() { | |
return window.chrome && (chrome.extension && chrome.extension.lastError && chrome.extension.lastError.message || chrome.runtime && chrome.runtime.lastError && chrome.runtime.lastError.message) || null | |
}, | |
mx = function(a) { | |
window.chrome && chrome.webstorePrivate && chrome.webstorePrivate.isInIncognitoMode ? chrome.webstorePrivate.isInIncognitoMode(function(b) { | |
a.g = b | |
}) : a.g = !1 | |
}; | |
var Ax = function(a, b) { | |
this.type = a; | |
b.get(Mk) | |
}; | |
Ax.prototype.gm = function() { | |
return !0 | |
}; | |
Ax.prototype.g = function() {}; | |
var Bx = function(a) { | |
Ax.call(this, 5, a) | |
}; | |
B(Bx, Ax); | |
Bx.prototype.xd = function() { | |
return vx() | |
}; | |
Bx.prototype.getName = function() { | |
return "This app runs only on Chrome OS" | |
}; | |
var Pb = function() { | |
Qb.call(this); | |
this.Cg = this.pb = !1; | |
this.h = !0; | |
this.j = !1 | |
}; | |
B(Pb, Qb); | |
ad(Pb); | |
var Tb = function() { | |
this.xa = this.vf = !0; | |
this.Ja = !1; | |
this.Ea = this.Ka = this.U = this.w = this.Sb = this.mb = !0; | |
this.Fb = !1; | |
this.Oa = !0; | |
this.cc = "leftbar"; | |
this.X = !0; | |
this.u = !1; | |
this.ea = this.Ac = this.bb = !0; | |
this.A = this.ca = this.i = !1; | |
this.Db = !0; | |
this.g = null; | |
this.fb = !0; | |
this.da = null; | |
this.aa = !1; | |
this.ab = this.o = !0; | |
this.Tb = this.xf = this.J = this.H = this.T = !1; | |
this.Cg = this.pb = !0; | |
this.L = this.pd = this.ma = this.P = !1; | |
this.wa = 0; | |
this.La = !1; | |
this.na = this.ha = !0; | |
this.Rf = !1; | |
this.ta = this.xc = this.j = this.h = this.fa = !0 | |
}; | |
B(Tb, lx); | |
f = Tb.prototype; | |
f.Ef = function() { | |
return !1 | |
}; | |
f.jk = function() { | |
return !0 | |
}; | |
f.dm = function() { | |
return !1 | |
}; | |
f.gn = function() { | |
return !1 | |
}; | |
f.zl = function() { | |
return !1 | |
}; | |
f.Cl = function() { | |
return [] | |
}; | |
ad(Tb); | |
var Cx = function(a) { | |
this.u = Hq(a).g; | |
this.i = !1; | |
this.g = this.h = null; | |
this.w = !1; | |
if (a = km("csi_service_name")) this.w = !0, window.jstiming.sn = a.textContent, window.jstiming.getNavTiming(window.jstiming.load), window.jstiming.report(window.jstiming.load) | |
}; | |
Cx.prototype.report = function(a, b) { | |
this.w && (b && window.jstiming.getNavTiming(a.g), window.jstiming.report(a.g)) | |
}; | |
var Fx = function(a, b, c, d, e) { | |
a.j && Dx(a.j, b, c, e); | |
d && (b = new Ex, b.g.tick(d, void 0, c), a.report(b)) | |
}, | |
Gx = function(a) { | |
a = ca(a.u); | |
return null != a.performance && null != a.performance.timing ? a.performance.timing : null | |
}, | |
Hx = function(a) { | |
if (a = Gx(a)) | |
if (a = a.navigationStart) return a; | |
return null | |
}, | |
Ix = function(a) { | |
var b = tc(); | |
if (a.h) { | |
Fx(a, 200, b - a.h); | |
if (!a.i && !a.g) { | |
a.i = !0; | |
var c = Hx(a); | |
c && Fx(a, 201, b - c) | |
} | |
a.h = null | |
} | |
}; | |
Cx.prototype.o = function() { | |
var a = Gx(this); | |
if (a) { | |
var b = a.navigationStart, | |
c = a.responseEnd, | |
d = a.domContentLoadedEventEnd, | |
e = a.loadEventStart; | |
a = a.loadEventEnd; | |
d && c && Fx(this, 139, d - c); | |
e && c && Fx(this, 140, e - c); | |
a && e && Fx(this, 141, a - e); | |
a && b && Fx(this, 130, a - b) | |
} | |
}; | |
var Ex = function() { | |
this.g = new window.jstiming.Timer | |
}; | |
var Jx = function(a) { | |
Ax.call(this, 1, a) | |
}, | |
Kx; | |
B(Jx, Ax); | |
Jx.prototype.g = function() { | |
Kx = !1; | |
for (var a = P("sh-bl-Gl-Sh"), b = !1, c = ["WebkitPerspective", "perspectiveProperty", "MozPerspective", "OPerspective", "msPerspective"], d = 0; d < c.length; ++d) | |
if (null != a.style[c[d]]) { | |
b = !0; | |
break | |
} b && (Kx = 9 == mr(a).x) | |
}; | |
Jx.prototype.xd = function() { | |
void 0 === Kx && this.g(); | |
return Kx | |
}; | |
Jx.prototype.getName = function() { | |
return "This app uses CSS 3D transformations" | |
}; | |
var Xx = function(a, b) { | |
var c = b.I && (b.I.K || b.I); | |
b = b.Ic; | |
a.la(a, a.open("span", "Ft6EKe")) || (a.l(), a.open("meta", "wsr93c"), a.C("content", Lx({ | |
I: c | |
})), a.m(Mx || (Mx = ["itemprop", "name"])), a.l(), a.close(), b && (a.open("meta", "laNDdc"), a.C("content", "" + b), a.m(Nx || (Nx = ["itemprop", "url"])), a.l(), a.close()), l(c.D(), 26) && (a.open("meta", "ZhyhMe"), a.C("content", "" + l(c.D(), 26)), a.m(Ox || (Ox = ["itemprop", "image"])), a.l(), a.close()), a.open("meta", "tcscr"), a.C("content", "" + dj(c)), a.m(Px || (Px = ["itemprop", "version"])), a.l(), a.close(), | |
a.open("link", "qbb8W"), a.C("href", S(l(c, 22))), a.m(Qx || (Qx = ["itemprop", "applicationCategory"])), a.l(), a.close(), L(c.D(), 27) || (a.open("span", "cgywtd"), a.m(Rx || (Rx = "itemprop offers itemscope itemtype http://schema.org/Offer".split(" "))), a.l(), a.open("meta", "IedEk"), a.m(Sx || (Sx = ["itemprop", "price", "content", "0"])), a.l(), a.close(), a.open("meta", "HOXd2d"), a.m(Tx || (Tx = ["itemprop", "priceCurrency", "content", "USD"])), a.l(), a.close(), a.open("link", "DLMy5c"), a.m(Ux || (Ux = ["itemprop", "availability", "href", "http://schema.org/InStock"])), | |
a.l(), a.close(), a.close()), Rp(c.D().ua(), "0") || (a.open("meta", "pUDMMe"), a.C("content", "UserDownloads:" + c.D().ua()), a.m(Vx || (Vx = ["itemprop", "interactionCount"])), a.l(), a.close()), a.open("meta", "v5rnnc"), a.m(Wx || (Wx = ["itemprop", "operatingSystem", "content", "Chrome"])), a.l(), a.close(), a.close()) | |
}, | |
Mx, Nx, Ox, Px, Qx, Rx, Sx, Tx, Ux, Vx, Wx, Lx = function(a) { | |
a = a.I && (a.I.K || a.I); | |
var b = "", | |
c = a.D().getTitle(); | |
switch (a.D().getContainer()) { | |
case 5: | |
b += c + " - G Suite Marketplace"; | |
break; | |
case 4: | |
b += c + " - Google Docs add-on"; | |
break; | |
case 3: | |
b += c + " - Google Sheets add-on"; | |
break; | |
case 8: | |
b += c + " - Google Forms add-on"; | |
break; | |
case 9: | |
b += c + " - Google Slides add-on"; | |
break; | |
default: | |
b += c | |
} | |
return b | |
}; | |
var Yx = function(a) { | |
var b = a.I && (a.I.K || a.I); | |
a = a.Ic; | |
var c = y, | |
d = b && (b.K || b), | |
e = "", | |
g = d.D().getTitle(); | |
switch (d.D().getContainer()) { | |
case 5: | |
e += g + " - G Suite Marketplace"; | |
break; | |
case 4: | |
e += g + " - Google Docs add-on"; | |
break; | |
case 3: | |
e += g + " - Google Sheets add-on"; | |
break; | |
case 8: | |
e += g + " - Google Forms add-on"; | |
break; | |
case 9: | |
e += g + " - Google Slides add-on"; | |
break; | |
default: | |
e += g | |
} | |
return c('<span><meta itemprop="name" content="' + x(e) + '"/>' + (a ? '<meta itemprop="url" content="' + x(a) + '"/>' : "") + (l(b.D(), 26) ? '<meta itemprop="image" content="' + | |
x(l(b.D(), 26)) + '"/>' : "") + '<meta itemprop="version" content="' + x(dj(b)) + '"/><link itemprop="applicationCategory" href="' + x(S(l(b, 22))) + '"/>' + (L(b.D(), 27) ? "" : '<span itemprop="offers" itemscope itemtype="http://schema.org/Offer"><meta itemprop="price" content="0"/><meta itemprop="priceCurrency" content="USD"/><link itemprop="availability" href="http://schema.org/InStock"/></span>') + (Rp(b.D().ua(), "0") ? "" : '<meta itemprop="interactionCount" content="UserDownloads:' + x(b.D().ua()) + '"/>') + '<meta itemprop="operatingSystem" content="Chrome"/></span>') | |
}; | |
var Zx = function() { | |
this.i = ""; | |
this.h = "Reload"; | |
this.j = this.g = !0 | |
}; | |
var ay = function(a) { | |
this.h = Hq(a).g; | |
this.i = a.get(O); | |
this.g = []; | |
$x(this) | |
}, | |
$x = function(a) { | |
var b = new Mn(3E3); | |
El(b, "tick", function() { | |
by(this) | |
}, !1, a); | |
b.start() | |
}, | |
by = function(a, b) { | |
if (0 < a.g.length && 1E4 > a.g.length) { | |
var c = new zj; | |
ph(c, 1, a.g); | |
cy(a.i, c, b); | |
a.g = [] | |
} | |
}, | |
ey = function(a, b) { | |
var c = location.href, | |
d = new sj; | |
M(d, 1, b); | |
b = dy(a, c); | |
oh(b, 3, d); | |
a.g.push(b) | |
}, | |
Dx = function(a, b, c, d) { | |
if (V(fy(a.i), "ctm")) { | |
var e = new wj; | |
M(e, 1, b); | |
c = Math.min(c, 2147483647); | |
c = Math.max(c, -2147483648); | |
M(e, 2, c); | |
d && M(e, 3, d); | |
b = dy(a, ca(a.h).location.toString()); | |
oh(b, 5, e); | |
a.g.push(b) | |
} | |
}, | |
dy = function(a, b) { | |
var c = new xj; | |
M(c, 1, b); | |
a = a.i.getContainer(); | |
M(c, 8, a); | |
return c | |
}; | |
var jy = function(a) { | |
var b = {}; | |
b = b.pa; | |
a.la(a, a.open("div", "wbvGye")) || (a.C("class", "g-s" + (b ? " " + b : "")), a.l(), a.open("svg", "mGaPpe"), a.m(gy || (gy = "class;g-s-OAU7Vd;viewBox;4 4 16 16;width;100%;height;100%".split(";"))), a.l(), a.open("path", "e3guJf"), a.m(hy || (hy = ["d", "M15.41,16.59L10.83,12l4.58-4.59L14,6l-6,6l6,6L15.41,16.59z"])), a.l(), a.close(), a.open("path", "yLZ7ae"), a.m(iy || (iy = ["fill", "none", "d", "M0,0h24v24H0V0z"])), a.l(), a.close(), a.close(), a.close()) | |
}, | |
gy, hy, iy; | |
var ky = function(a) { | |
a = a || {}; | |
a = a.pa; | |
return y('<div class="' + x("g-s") + (a ? " " + x(a) : "") + '"><svg class="' + x("g-s-OAU7Vd") + '" viewBox="4 4 16 16" width="100%" height="100%"><path d="M15.41,16.59L10.83,12l4.58-4.59L14,6l-6,6l6,6L15.41,16.59z"/><path fill="none" d="M0,0h24v24H0V0z"/></svg></div>') | |
}; | |
var ly = function(a) { | |
this.g = a.get(Mk).i; | |
a.get(Mk); | |
a = ug && Ng("11.10"); | |
this.i = Wg && !pg() || a | |
}, | |
my = function(a, b) { | |
return b && b.match(/.*=s\d+-h\d+.*/) && a.i && !b.match(/-rw$/) ? b + "-rw" : b | |
}, | |
oy = function(a, b) { | |
if (b && b && b.match(/.*=s\d+-h\d+.*/)) { | |
for (c in ny) | |
if (-1 != b.indexOf(c)) { | |
a.g && (b = b.replace(c, ny[c])); | |
break | |
} var c = b | |
} else c = b; | |
return my(a, c) | |
}, | |
ny = { | |
"=s700-h280": "=s1400-h560", | |
"=s220-h140": "=s440-h280", | |
"=s141-h90": "=s282-h180", | |
"=s460-h340": "=s920-h680", | |
"=s640-h400": "=s1280-h800", | |
"=s50-h50": "=s100-h100", | |
"=s26-h26": "=s52-h52", | |
"=s700-h140": "=s1400-h280" | |
}; | |
var py = function(a) { | |
Ax.call(this, 8, a) | |
}; | |
B(py, Ax); | |
py.prototype.xd = function(a) { | |
return 0 === qy(a).length | |
}; | |
var qy = function(a) { | |
for (var b = [], c = 0; c < N(a, Fi, 73).length; c++) { | |
var d = N(a, Fi, 73)[c]; | |
L(d, 3) && L(d, 6) && L(d, 8) || b.push(d) | |
} | |
return b | |
}; | |
py.prototype.getName = function(a) { | |
var b = !0, | |
c = !1, | |
d = "0"; | |
a = qy(a); | |
for (var e = 0; e < a.length; e++) { | |
var g = a[e]; | |
if (L(g, 3) && L(g, 6)) L(g, 8) || (c = !0, g = l(g, 7) || "0", px(g, d) && (d = g)); | |
else { | |
b = !1; | |
break | |
} | |
} | |
a = ""; | |
b ? c && (a = "Chrome of version at least " + (d + " is required")) : a = "There is one required component missing."; | |
return a | |
}; | |
var ry = function(a) { | |
this.i = a; | |
this.g = 0 | |
}, | |
sy = function(a, b, c, d) { | |
a.i.Rh(a, Math.max(b, 0), c, d) | |
}, | |
ty = function(a) { | |
return a.i.Qj(a) | |
}; | |
var uy = function(a) { | |
Ax.call(this, 4, a) | |
}, | |
vy; | |
B(uy, Ax); | |
uy.prototype.g = function() { | |
vy = !vx() && navigator.javaEnabled() && !!wy() | |
}; | |
uy.prototype.xd = function() { | |
void 0 === vy && this.g(); | |
return vy | |
}; | |
uy.prototype.gm = function() { | |
return vx() | |
}; | |
uy.prototype.getName = function() { | |
return "Java plugin is required by this app" | |
}; | |
var wy = function() { | |
if (F) { | |
if (xy("1.7.0")) return "1.7.0"; | |
if (xy("1.6.0")) return "1.6.0"; | |
if (xy("1.5.0")) return "1.5.0"; | |
if (xy("1.4.2")) return "1.4.2" | |
} else if (xg || ug || yg) { | |
var a; | |
a: { | |
for (a = 0; a < navigator.mimeTypes.length; ++a) { | |
var b = navigator.mimeTypes[a].type.match(/^application\/x-java-applet;jpi-version=(.*)$/); | |
if (null != b) { | |
a = b[1]; | |
break a | |
} | |
} | |
a = null | |
} | |
if (null != a) return a; | |
if (yy("1.7")) return "1.7.0"; | |
if (yy("1.6")) return "1.6.0"; | |
if (yy("1.5")) return "1.5.0"; | |
if (yy("1.4.2")) return "1.4.2"; | |
if (yg) { | |
if (zy("1.7.0")) return "1.7.0"; | |
if (zy("1.6")) return "1.6.0"; | |
if (zy("1.5")) return "1.5.0"; | |
if (zy("1.4.2")) return "1.4.2" | |
} | |
} | |
return null | |
}, | |
xy = function(a) { | |
if (!window.ActiveXObject) return !1; | |
try { | |
return null != new ActiveXObject("JavaWebStart.isInstalled." + a + ".0") | |
} catch (b) { | |
return !1 | |
} | |
}, | |
yy = function(a) { | |
if (!navigator.mimeTypes) return !1; | |
for (var b = /^application\/x-java-applet\x3Bversion=(1\.8|1\.7|1\.6|1\.5|1\.4\.2)$/, c = 0; c < navigator.mimeTypes.length; ++c) { | |
var d = navigator.mimeTypes[c].type.match(b); | |
if (null != d && 0 <= ke(d[1], a)) return !0 | |
} | |
return !1 | |
}, | |
zy = function(a) { | |
if (!navigator.plugins || | |
!navigator.plugins.length) return !1; | |
for (var b = 0; b < navigator.plugins.length; ++b) { | |
var c = navigator.plugins[b].description; | |
if (-1 != c.search(/^Java Switchable Plug-in (Cocoa)/)) { | |
if (0 <= ke("1.5.0", a)) return !0 | |
} else if (-1 != c.search(/^Java/) && Ag && 0 <= ke("1.5.0", a)) return !0 | |
} | |
return ke("1.5.0", a) ? !0 : !1 | |
}; | |
var Ay = function(a) { | |
Ax.call(this, 2, a) | |
}; | |
B(Ay, Ax); | |
Ay.prototype.xd = function(a) { | |
return (a = l(a, 59)) ? !Wg || qx(a) : !0 | |
}; | |
Ay.prototype.getName = function(a) { | |
return "Chrome of version at least " + (l(a, 59) + " is required") | |
}; | |
var By = function(a, b) { | |
Hv.call(this, a, b); | |
this.u = !1 | |
}; | |
B(By, Hv); | |
var Dy = function(a) { | |
this.h = a || null; | |
this.i = new jp; | |
this.g = new Cy("", void 0); | |
this.g.next = this.g.g = this.g | |
}, | |
Fy = function(a, b) { | |
if (b = a.i.get(b)) b.remove(), Ey(a, b); | |
return b | |
}; | |
f = Dy.prototype; | |
f.get = function(a, b) { | |
return (a = Fy(this, a)) ? a.value : b | |
}; | |
f.set = function(a, b) { | |
var c = Fy(this, a); | |
c ? c.value = b : (c = new Cy(a, b), this.i.set(a, c), Ey(this, c)) | |
}; | |
f.pop = function() { | |
var a = this.g.g; | |
this.g != a && (a.remove(), this.i.remove(a.key)); | |
return a.value | |
}; | |
f.remove = function(a) { | |
return (a = this.i.get(a)) ? (a.remove(), this.i.remove(a.key), !0) : !1 | |
}; | |
f.nb = function() { | |
return this.i.nb() | |
}; | |
f.rb = function() { | |
return Gy(this, function(a, b) { | |
return b | |
}) | |
}; | |
f.Wa = function() { | |
return Gy(this, function(a) { | |
return a | |
}) | |
}; | |
f.contains = function(a) { | |
return Hy(this, function(b) { | |
return b == a | |
}) | |
}; | |
f.clear = function() { | |
Iy(this, 0) | |
}; | |
f.forEach = function(a, b) { | |
for (var c = this.g.next; c != this.g; c = c.next) a.call(b, c.value, c.key, this) | |
}; | |
var Gy = function(a, b) { | |
for (var c = [], d = a.g.next; d != a.g; d = d.next) c.push(b.call(void 0, d.value, d.key, a)); | |
return c | |
}, | |
Hy = function(a, b) { | |
for (var c = a.g.next; c != a.g; c = c.next) | |
if (b.call(void 0, c.value, c.key, a)) return !0; | |
return !1 | |
}; | |
Dy.prototype.every = function(a, b) { | |
for (var c = this.g.next; c != this.g; c = c.next) | |
if (!a.call(b, c.value, c.key, this)) return !1; | |
return !0 | |
}; | |
var Ey = function(a, b) { | |
b.next = a.g.next; | |
b.g = a.g; | |
a.g.next = b; | |
b.next.g = b; | |
null != a.h && Iy(a, a.h) | |
}, | |
Iy = function(a, b) { | |
for (; a.nb() > b;) { | |
var c = a, | |
d = a.g.g; | |
d.remove(); | |
c.i.remove(d.key) | |
} | |
}, | |
Cy = function(a, b) { | |
this.key = a; | |
this.value = b | |
}; | |
Cy.prototype.remove = function() { | |
this.g.next = this.next; | |
this.next.g = this.g; | |
delete this.g; | |
delete this.next | |
}; | |
var Jy = function(a) { | |
this.g = {}; | |
this.i = a | |
}, | |
Ly = function(a) { | |
var b = Ky(); | |
ye(a.g, b) | |
}; | |
Jy.prototype.send = function(a, b, c, d) { | |
var e = this.i.get(Dk); | |
Dx(e, 51, 1); | |
d && Dx(e, d, 1); | |
d = (new pp(a.Ub)).i; | |
var g = this.g[d]; | |
g || (g = new Dy(100), this.g[d] = g); | |
var h = g.get(b), | |
k = !1; | |
d = a.B(); | |
if (null == h) { | |
c = {}; | |
c.ne = d.ne; | |
c.Nd = d.Nd; | |
c.me = d.me; | |
var m = new My; | |
m.kd.push(new Ny(c, a)); | |
g.set(b, m); | |
d.ne = function(p, q, t) { | |
m.dk.push(new Oy(q, t)); | |
for (p = 0; p < m.kd.length; p++) Nn(ld(function(v) { | |
v.ga.ne(v.zd, q, t) | |
}, m.kd[p])) | |
}; | |
d.Nd = function() { | |
for (var p = 0; p < m.kd.length; p++) Nn(ld(function(q) { | |
q.ga.Nd(q.zd) | |
}, m.kd[p])); | |
g.remove(b); | |
k = !0 | |
}; | |
d.me = function() { | |
for (var p = | |
0; p < m.kd.length; p++) { | |
var q = m.kd[p]; | |
0 == p || k || (q.zd.u = !0); | |
Nn(ld(function(t) { | |
t.ga.me(t.zd) | |
}, q)) | |
} | |
m.kd = []; | |
m.hm = !0 | |
}; | |
a.send() | |
} else { | |
Dx(e, 50, 1); | |
c && Dx(e, c, 1); | |
for (c = 0; c < h.dk.length; c++) Nn(ld(function(p) { | |
a.B().ne(a, p.Ua, p.Ho) | |
}, h.dk[c])); | |
h.hm ? Nn(function() { | |
a.u = !0; | |
a.B().me(a) | |
}) : h.kd.push(new Ny(d, a)) | |
} | |
}; | |
var Oy = function(a, b) { | |
this.Ua = a; | |
this.Ho = b | |
}, | |
Ny = function(a, b) { | |
this.ga = a; | |
this.zd = b | |
}, | |
My = function() { | |
this.kd = []; | |
this.dk = []; | |
this.hm = !1 | |
}; | |
var Py = function(a) { | |
this.ea = a; | |
this.g = this.ea.get(Hk); | |
this.fa = l(this.g, 20); | |
this.ma = L(this.g, 6); | |
this.pb = L(this.g, 7); | |
this.P = hh(this.g, 26, !1); | |
this.X = L(this.g, 17); | |
this.U = L(this.g, 31) || !1; | |
this.da = L(this.g, 32) || !1; | |
this.u = mh(this.g, lj, 1, 1); | |
this.w = l(this.g, 3); | |
this.j = mh(this.g, lj, 2, 1); | |
this.i = l(this.g, 9); | |
this.A = l(this.g, 12); | |
this.H = l(this.g, 18); | |
this.aa = l(this.g, 19); | |
this.J = l(this.g, 13); | |
this.L = l(this.g, 24); | |
this.o = l(this.g, 16); | |
this.ca = L(this.g, 25) || !1; | |
this.T = l(this.g, 8); | |
this.ha = L(this.g, 15) || !1; | |
this.h = Hq(a).g; | |
this.Ja = | |
hh(this.g, 29, !1); | |
this.Db = L(this.g, 30) || !1 | |
}, | |
Vn = function(a) { | |
return l(a.u, 1) | |
}; | |
f = Py.prototype; | |
f.fg = function() { | |
return this.ma | |
}; | |
f.Va = function() { | |
return this.pb | |
}; | |
f.Xe = function() { | |
return this.P | |
}; | |
f.Eh = function() { | |
return this.X | |
}; | |
f.Ze = function() { | |
return this.U | |
}; | |
f.$e = function() { | |
return this.da | |
}; | |
f.Fh = function() { | |
return this.ca | |
}; | |
var Qy = function(a, b, c) { | |
a = uo(a.aa, "continue", b || ca(a.h).location, "service", "chromewebstore", "sarp", "1"); | |
c && (a = vo(a, "Email", c)); | |
return a | |
}, | |
Ry = function(a, b, c) { | |
b = new pp(b || ca(a.h).location); | |
Hp(b.g, "source") || b.g.add("source", 5); | |
a = uo(a.A, "continue", b.toString(), "service", "chromiumsync", "sarp", "1"); | |
c && (a = vo(a, "Email", c)); | |
return a | |
}; | |
Py.prototype.vj = function() { | |
return this.Ja | |
}; | |
Py.prototype.se = function() { | |
return this.Db | |
}; | |
var Sy = { | |
Pa: By | |
}, | |
Uy = function(a) { | |
Sl.call(this); | |
this.h = a; | |
a.get(zk); | |
this.g = a.get(Kk); | |
Ty(this.g.i ? "loggedIn" : "notLoggedIn", !0); | |
this.j = this.h.get(Gk); | |
this.J = mh(this.j, bk, 14); | |
this.ta = this.g.fa; | |
this.fa = mh(this.j, kj, 1, 1); | |
var b = new gs; | |
rs(b, N(this.fa, kj, 3)); | |
this.o = b; | |
this.aa = ps(this.o); | |
this.H = {}; | |
this.na = !1; | |
this.xc = new Set([]); | |
this.xa = new Jt; | |
this.X = new Jt; | |
b = new Cj; | |
M(b, 1, "hl"); | |
b.setValue(Vn(this.g)); | |
var c = new Cj; | |
M(c, 1, "gl"); | |
c.setValue(l(this.g.j, 1)); | |
b = [b, c]; | |
this.Ja = N(this.g.g, Cj, 21); | |
Ed(this.Ja, b); | |
this.ca = N(this.g.g, | |
Cj, 22); | |
Ed(this.ca, b); | |
this.ma = new Dy(50); | |
this.P = new Jy(a); | |
this.ea = Hq(a).g; | |
this.i = this.h.get(Ho); | |
this.w = null; | |
this.wa = null != Ob(ca(this.ea).location.href, "public_share"); | |
this.L = a.get(Bk); | |
L(this.j, 12); | |
l(this.j, 11); | |
this.T = l(this.j, 18); | |
this.da = new ly(this.h); | |
this.ha = []; | |
this.U = new Jt; | |
this.A = a.get(yb) | |
}; | |
B(Uy, Sl); | |
var Ty = function(a, b) { | |
Yn(0, "Model", a, void 0, void 0, b) | |
}, | |
Ky = function() { | |
return fa() + "ajax/managed-accounts-info" | |
}; | |
f = Uy.prototype; | |
f.fg = function() { | |
return this.g.fg() | |
}; | |
f.Eh = function() { | |
return this.g.Eh() | |
}; | |
f.Va = function() { | |
return this.g.Va() | |
}; | |
f.Xe = function() { | |
return this.g.Xe() | |
}; | |
f.se = function() { | |
return this.g.se() | |
}; | |
var Wy = function(a) { | |
return Vy.has(Vn(a.g).toLowerCase()) ? Vn(a.g) : a.g.w | |
}, | |
Xy = function(a) { | |
return a.g.i | |
}; | |
Uy.prototype.Fh = function() { | |
return this.g.Fh() | |
}; | |
var fy = function(a) { | |
return a.h.get(Ek) | |
}, | |
Yy = function(a, b, c, d) { | |
a = a.g; | |
b = uo(a.A, "continue", b || ca(a.h).location, "service", "chromewebstore", "sarp", "1"); | |
c && (b = vo(b, "Email", c)); | |
d && (b = vo(b, "authuser", d)); | |
return b | |
}; | |
Uy.prototype.Ze = function() { | |
return this.g.Ze() | |
}; | |
Uy.prototype.$e = function() { | |
return this.g.$e() | |
}; | |
var az = function(a, b) { | |
Zy(a, function(c) { | |
b && b(N(c, Rj, 1)) | |
}) | |
}, | |
bz = function(a, b) { | |
Zy(a, function(c) { | |
b && b(l(c, 2)) | |
}) | |
}, | |
Zy = function(a, b) { | |
if (V(fy(a), "rma")) { | |
var c = new Sy.Pa(a.i.g, cz(a, function(e, g, h) { | |
"getmanagedaccountsinforesponse" == g && (e = new Vj(h), b && b(e)) | |
}, function() { | |
b && b(new Vj) | |
}, !1)); | |
dz(a, c); | |
c.i = "POST"; | |
Nv(c, Ky()); | |
var d = tp(c.Ub.g); | |
d.remove("mce"); | |
a.P.send(c, d.toString(), 58, 59) | |
} else b && b(new Vj) | |
}; | |
Uy.prototype.u = function() { | |
return L(this.j, 7) | |
}; | |
var ez = function(a, b) { | |
ru(a.h.get(Mk)) ? chrome.management.getAll(function(c) { | |
a.H = {}; | |
for (var d = 0; d < c.length; d++) { | |
var e = c[d]; | |
a.H[e.id] = e | |
} | |
chrome.management.onInstalled.addListener(D(a.La, a)); | |
chrome.management.onUninstalled.addListener(D(a.Oa, a)); | |
chrome.management.onEnabled.addListener(D(a.Ea, a)); | |
chrome.management.onDisabled.addListener(D(a.Ea, a)); | |
b && b() | |
}) : b && b() | |
}, | |
gz = function(a, b) { | |
a.na = !0; | |
b.forEach(function(c) { | |
fz(a, c.Z(), !0, !0) | |
}) | |
}; | |
Uy.prototype.isInstalled = function(a) { | |
return ue(this.H, a) | |
}; | |
var fz = function(a, b, c, d, e) { | |
c ? a.H[b] = e || b : (ye(a.H, b), hz(a, b)); | |
d || a.dispatchEvent(new iz(a, b)) | |
}, | |
hz = function(a, b) { | |
if (a = a.A.g) { | |
var c = []; | |
Ed(c, N(a, cx, 18)); | |
qa(N(a, cx, 18), function(d) { | |
d.Z() == b && Bd(c, d) | |
}); | |
ph(a, 18, c) | |
} | |
}, | |
jz = function(a, b) { | |
return (a = Ae(a.H, b)) && 0 == a.enabled ? "permissions_increase" == a.disabledReason ? "disabled_permissions" : "disabled_other" : "not_disabled" | |
}; | |
Uy.prototype.La = function(a) { | |
fz(this, a.id, !0, !1, a) | |
}; | |
Uy.prototype.Ea = function(a) { | |
fz(this, a.id, !0, !0, a) | |
}; | |
Uy.prototype.Oa = function(a) { | |
fz(this, a, !1) | |
}; | |
var lz = function(a, b) { | |
a.X.clear(); | |
Lt(a.X, kz(b)) | |
}, | |
kz = function(a) { | |
return a.map(function(b) { | |
return b.Z() | |
}) | |
}, | |
dz = function(a, b) { | |
for (var c = 0; c < a.Ja.length; c++) { | |
var d = a.Ja[c]; | |
Kv(b, l(d, 1), d.getValue()) | |
} | |
Kv(b, "pv", a.ta); | |
Ov(b, "login", a.g.i ? a.g.i : ""); | |
c = fy(a); | |
d = []; | |
for (var e in c.h) d.push(e); | |
0 < d.length && Kv(b, "mce", d.join(",")); | |
null != a.A.g && L(a.A.g, 15) && Kv(b, "hdpa", "true") | |
}, | |
mz = function(a, b) { | |
for (var c = ca(a.ea).location.href, d = 0; d < a.ca.length; d++) { | |
var e = a.ca[d], | |
g = l(e, 1); | |
(e = e.getValue()) && Ob(c, g) && (b = vo(zo(b, g), g, e)) | |
} | |
return b | |
}, | |
pz = function(a, b, c, d, e, g, h, k, m, p, q, t, v, w, J, G, I) { | |
q = void 0 === q ? !1 : q; | |
q = a.A.jk() && q; | |
g = g ? g.id : null; | |
if (a.J) { | |
var ja = a.J; | |
a.J = null; | |
if (l(ja, 1) == g && ja.nb() >= b && L(ja, 3) == q && l(ja, 4) == h && !p && !k && !m) { | |
b = mh(ja, Mj, 6, 1); | |
nz(a, b); | |
d(b); | |
return | |
} | |
} | |
d = new Sy.Pa(a.i.g, oz(a, d, e)); | |
dz(a, d); | |
Nv(d, fa() + "ajax/item"); | |
Kv(d, "count", b); | |
c && Kv(d, "token", c); | |
q && Kv(d, "marquee", q.toString()); | |
g && Kv(d, "category", g); | |
p && Kv(d, "searchTerm", p); | |
k && (Kv(d, "webIntent", l(k, 1)), Kv(d, "mimeTypes", l(k, 2))); | |
m && (l(m, 1) && Kv(d, "fileExtension", l(m, 1)), l(m, 2) && Kv(d, | |
"fileMimeType", l(m, 2))); | |
null !== h && Kv(d, "sortBy", h); | |
a.T && Kv(d, "container", a.T); | |
null != t && Kv(d, "itemIds", t); | |
if (null != v) { | |
h = []; | |
for (k = 0; k < v.length; k++) h[k] = v[k].toString(); | |
Kv(d, "features", h) | |
} | |
null != w && Kv(d, "bluetoothUuid", w); | |
J && Kv(d, "fileSystemProvider", "true"); | |
G && I && (Kv(d, "printerProviderVendorId", G), Kv(d, "printerProviderProductId", I)); | |
null != a.A.g && (v = mh(a.A.g, hx, 19), null != v && (Kv(d, "clientCurationId", l(v, 1)), Kv(d, "curationStates", l(v, 2)))); | |
Jv(d, "Loading " + b + " with token" + c); | |
b = tp(d.Ub.g); | |
b.remove("mce"); | |
a.P.send(d, b.toString(), 52, 53) | |
}, | |
qz = function(a, b, c, d) { | |
pz(a, b.length, void 0, function(e) { | |
c(N(e, Ci, 1)) | |
}, d, a.aa, 0, null, null, void 0, void 0, b) | |
}, | |
rz = function(a, b, c, d, e) { | |
if (a.J) { | |
var g = a.J; | |
a.J = null; | |
var h = mh(g, ak, 5); | |
if (h && l(h, 2) == l(b, 2)) { | |
b = mh(g, Mj, 6, 1); | |
nz(a, b); | |
d(b); | |
return | |
} | |
} | |
d = new Sy.Pa(a.i.g, oz(a, d, e)); | |
dz(a, d); | |
Nv(d, fa() + "ajax/item"); | |
Pv(d, b); | |
var k = []; | |
qa(N(b, Yj, 1), function(m) { | |
k.push([l(m, 1), m.nb(), l(m, 3), (!!hh(m, 4, !0)).toString()].join(":")) | |
}); | |
Kv(d, "requestedCounts", k.join()); | |
c && Kv(d, "token", c); | |
(e = l(b, 2)) && Kv(d, | |
"category", e); | |
Jv(d, "Loading " + b.toString() + " with token" + c); | |
b = tp(d.Ub.g); | |
b.remove("mce"); | |
a.P.send(d, b.toString(), 54, 55) | |
}, | |
tz = function(a, b, c, d, e, g, h) { | |
var k = new Sy.Pa(a.i.g, cz(a, function(q, t, v) { | |
"f.mt" == t ? e && e() : "iteminsertresponse" == t && (Ly(a.P), t = new kk(v), q = N(t, Zi, 1), t = N(t, Zi, 2), q = sz(d, q), t = sz(d, t), qa(q, function(w) { | |
var J = l(w, 4); | |
Ad(J, b); | |
M(w, 4, J || []) | |
}, a), 0 < t.length && 0 < q.length ? h && h(q, t) : 0 < q.length ? e && e() : 0 < t.length && g && g()) | |
}, function() { | |
g && g() | |
}, !1)); | |
dz(a, k); | |
var m = [], | |
p = []; | |
qa(d, function(q) { | |
var t = Sj(q); | |
if (l(t, | |
1) && l(t, 2)) throw g && g(), Error("xa`" + q.getName()); | |
if (l(t, 1)) m.push(l(t, 1)); | |
else if (l(t, 2)) p.push(l(t, 2)); | |
else throw g && g(), Error("ya`" + q.getName()); | |
}, a); | |
0 < m.length ? Kv(k, "ppid", Yr(m)) : 0 < p.length && Kv(k, "ouid", Yr(p)); | |
c && Kv(k, "lav", c); | |
k.i = "POST"; | |
Nv(k, [fa() + "ajax/remote-install", b].join("/")); | |
k.send() | |
}, | |
sz = function(a, b) { | |
return td(a, function(c) { | |
return !!yd(b, function(d) { | |
var e = Sj(c), | |
g = !!l(d, 2), | |
h = !!l(e, 2); | |
return g && h ? l(d, 2) == l(e, 2) : g || h ? !1 : l(d, 1) == l(e, 1) | |
}) | |
}) | |
}, | |
uz = function(a, b, c, d, e) { | |
var g = new Sy.Pa(a.i.g, cz(a, | |
function(h, k) { | |
"f.mt" === k && c && c() | |
}, | |
function() { | |
d && d() | |
}, !1)); | |
dz(a, g); | |
Iv(g, !0); | |
Nv(g, [fa() + "ajax/buy", "provision_freemium", b].join("/")); | |
e && Kv(g, "install_metadata", e.o()); | |
Jv(g, "Sending buy action."); | |
g.send() | |
}; | |
Uy.prototype.uninstall = function(a, b, c) { | |
var d = this; | |
null != this.A.g && L(this.A.g, 13) ? (fz(this, a, !1), b()) : this.Ya(a, function(e) { | |
e = e.Ya().D(); | |
vz(d, e, function() { | |
fz(d, a, !1); | |
b() | |
}, c) | |
}, function() { | |
c && c(Error("za")) | |
}) | |
}; | |
var vz = function(a, b, c, d) { | |
var e = [fa() + "ajax/uninstall", b.Z()].join("/"); | |
wz(a, b, "uninstall", e, c, d) | |
}, | |
wz = function(a, b, c, d, e, g) { | |
var h = a.j.getContainer(); | |
if (h && b.getContainer() != h) { | |
a = Error("Aa`" + b.Z()); | |
if (g) { | |
g(a); | |
return | |
} | |
throw a; | |
} | |
b = new Sy.Pa(a.i.g, cz(a, function(k, m) { | |
"f.mt" == m && e && e() | |
}, function() { | |
g && g(Error("Ba`" + c)) | |
}, !1)); | |
dz(a, b); | |
Iv(b, !0); | |
Nv(b, d); | |
Jv(b, "Sending " + c + " action."); | |
b.send() | |
}, | |
cy = function(a, b, c) { | |
var d = new Sy.Pa(a.i.g, cz(a, function() {}, function() {}, !1)); | |
dz(a, d); | |
c ? Iv(d, !1) : Iv(d, !0); | |
Nv(d, fa() + "ajax/eventlog"); | |
Pv(d, b); | |
Jv(d, "Sending event log."); | |
d.send() | |
}, | |
xz = function(a, b, c, d) { | |
d = new Sy.Pa(a.i.g, cz(a, function(e, g) { | |
"f.mt" === g && c() | |
}, d, !0)); | |
dz(a, d); | |
Kv(d, "id", b); | |
Nv(d, fa() + "ajax/transfer-web-app-ownership"); | |
d.send() | |
}, | |
yz = function(a, b, c, d) { | |
d = new Sy.Pa(a.i.g, cz(a, function(e, g) { | |
"f.mt" == g && c() | |
}, d, !0)); | |
dz(a, d); | |
Kv(d, "id", b); | |
Nv(d, fa() + "ajax/unpublish-web-app"); | |
d.send() | |
}, | |
zz = function(a, b, c, d) { | |
c = new Sy.Pa(a.i.g, cz(a, function(e, g, h) { | |
"autocompleteresponse" == g && (e = new wi(h), b(e)) | |
}, c, !1)); | |
dz(a, c); | |
Nv(c, fa() + "search/autocomplete"); | |
Kv(c, "q", d); | |
d = tp(c.Ub.g); | |
d.remove("mce"); | |
a.P.send(c, d.toString(), 56, 57) | |
}, | |
Az = function(a, b, c) { | |
var d = new Sy.Pa(a.i.i, cz(a, function(e, g, h) { | |
"cwssupportsearchissuesresponse" === g && (e = new li(h), c(e)) | |
}, function() {}, !0)); | |
dz(a, d); | |
Nv(d, fa() + "issues/get"); | |
Pv(d, b); | |
d.send() | |
}, | |
Bz = function(a, b, c) { | |
var d = new Sy.Pa(a.i.i, cz(a, function(e, g, h) { | |
"cwssupportsearchrepliesbundle" === g && (e = new ui(h), c(e)) | |
}, function() {}, !0)); | |
dz(a, d); | |
d.i = "POST"; | |
Nv(d, fa() + "issues/get_replies_bundle"); | |
Pv(d, b); | |
d.send() | |
}, | |
Cz = function(a, b, c, d) { | |
d = new Sy.Pa(a.i.i, | |
cz(a, function(e, g, h) { | |
"itemreviews" === g && (e = new Jh(h), c(e)) | |
}, d, !0)); | |
dz(a, d); | |
Nv(d, fa() + "reviews/get"); | |
Pv(d, b); | |
d.send() | |
}, | |
Dz = function(a, b, c) { | |
var d = new Sy.Pa(a.i.i, cz(a, function(e, g, h) { | |
"itemreviews" === g && (e = new Jh(h), c(e)) | |
}, function() {}, !0)); | |
dz(a, d); | |
d.i = "POST"; | |
Nv(d, fa() + "reviews/get_replies_bundle"); | |
Pv(d, b); | |
d.send() | |
}, | |
Ez = function(a, b, c, d) { | |
d = new Sy.Pa(a.i.i, cz(a, function(e, g, h) { | |
"itemreviews" === g && (e = new Jh(h), c(e)) | |
}, d, !0)); | |
dz(a, d); | |
Nv(d, fa() + "reviews/get_replies"); | |
Pv(d, b); | |
d.send() | |
}, | |
Gz = function(a, b, c, d) { | |
c = | |
Fz(a, c, d); | |
dz(a, c); | |
Nv(c, fa() + "reviews/report"); | |
Pv(c, b); | |
c.send() | |
}, | |
Hz = function(a, b, c) { | |
c = Fz(a, c, function() {}); | |
dz(a, c); | |
Nv(c, fa() + "issues/report"); | |
Pv(c, b); | |
c.send() | |
}, | |
Iz = function(a, b, c, d) { | |
d = new Sy.Pa(a.i.g, cz(a, function(e, g, h) { | |
"review" === g && (e = new Lh(h), c(e)) | |
}, d, !0)); | |
dz(a, d); | |
Nv(d, fa() + "reviews/write"); | |
Pv(d, b); | |
d.send() | |
}, | |
Jz = function(a, b, c, d) { | |
d = new Sy.Pa(a.i.g, cz(a, function(e, g, h) { | |
"review" === g && (e = new Lh(h), c(e)) | |
}, d, !0)); | |
dz(a, d); | |
Nv(d, fa() + "reviews/write_reply"); | |
Pv(d, b); | |
d.send() | |
}, | |
Kz = function(a, b, c, d) { | |
c = Fz(a, | |
c, d); | |
dz(a, c); | |
Nv(c, fa() + "reviews/delete"); | |
Pv(c, b); | |
c.send() | |
}, | |
Lz = function(a, b, c) { | |
c = Fz(a, c, function() {}); | |
dz(a, c); | |
Nv(c, fa() + "issues/delete"); | |
Pv(c, b); | |
c.send() | |
}, | |
Mz = function(a, b, c, d) { | |
d = new Sy.Pa(a.i.g, cz(a, function(e, g, h) { | |
"cwssupportissue" === g && (e = new hi(h), c(e)) | |
}, d, !0)); | |
dz(a, d); | |
Nv(d, fa() + "issues/write"); | |
Pv(d, b); | |
d.send() | |
}, | |
Nz = function(a, b, c, d) { | |
d = new Sy.Pa(a.i.g, cz(a, function(e, g, h) { | |
"cwssupportreply" === g && (e = new ii(h), c(e)) | |
}, d, !0)); | |
dz(a, d); | |
Nv(d, fa() + "issues/write_reply"); | |
Pv(d, b); | |
d.send() | |
}, | |
Oz = function(a, b, c) { | |
c = | |
new Sy.Pa(a.i.i, cz(a, function(d, e, g) { | |
"botguardcreationresponse" === e && (d = new sk(g), b(d)) | |
}, c, !0)); | |
dz(a, c); | |
Nv(c, fa() + "reviews/botguard/create"); | |
c.send() | |
}, | |
Pz = function(a, b, c, d) { | |
d = new Sy.Pa(a.i.i, cz(a, function(e, g, h) { | |
"botguarddecoderesponse" === g && (e = new tk(h), c(e)) | |
}, d, !0)); | |
dz(a, d); | |
Nv(d, fa() + "reviews/botguard/decode"); | |
Pv(d, b); | |
d.send() | |
}, | |
Fz = function(a, b, c) { | |
return new Sy.Pa(a.i.g, cz(a, function(d, e, g) { | |
"f.bo" === e && (d = new Uh(g), b(d.getValue())) | |
}, c, !0)) | |
}, | |
Qz = function(a, b) { | |
if (ru(a.h.get(Mk)) || a.na) a = a.isInstalled(b.Z()), | |
M(b, 15, a) | |
}, | |
Uz = function(a, b) { | |
var c = qs(a.o, l(b, 10)); | |
if (a.A.pd) | |
for (; null !== c && null !== c.i && null !== c.i.i;) c = c.i; | |
M(b, 10, c.id); | |
M(b, 11, c.displayName); | |
c == a.aa && aa(b); | |
Rz(a.h.get(Ik), b).Uh(); | |
if (a.wa) { | |
c = a.wa; | |
var d = l(a.j, 15), | |
e = ha(b); | |
switch (aa(b)) { | |
case 5: | |
e = fa() + "category/collection/" + b.Z(); | |
break; | |
default: | |
e = fa() + "detail/" + ud(e, cg).join("/") | |
} | |
c ? c = ko("https", null, "chrome.google.com", null, e) : d ? (c = d.split(":", 2), c = ko("https", null, c[0], c[1], e)) : (c = window.location.href, c = ko(mo(c)[1] || null, null, mo(c)[3] || null, Number(mo(c)[4] || | |
null) || null, e)); | |
M(b, 38, c) | |
} | |
l(b, 6) && N(b, Ci, 8) && (c = new Ci, d = l(b, 6), M(c, 18, d), M(c, 17, 3), M(c, 25, 340), N(b, Ci, 8).unshift(c)); | |
c = Jb(Ns(b)); | |
M(b, 47, c); | |
Qz(a, b); | |
L(b, 16) && (Uq(a.h.get(Eo)).Af = fs(fy(a), "aui")); | |
c = a.da; | |
l(b, 77) && c.g ? (d = my(c, l(b, 77)), M(b, 5, d)) : (d = oy(c, Hi(b)), M(b, 5, d)); | |
d = oy(c, l(b, 66)); | |
M(b, 66, d); | |
d = oy(c, l(b, 6)); | |
M(b, 6, d); | |
l(b, 78) && c.g ? (d = my(c, l(b, 78)), M(b, 4, d)) : (d = oy(c, l(b, 4)), M(b, 4, d)); | |
d = oy(c, l(b, 18)); | |
M(b, 18, d); | |
for (d = 0; d < N(b, Ci, 8).length; d++) { | |
e = N(b, Ci, 8)[d]; | |
var g = oy(c, l(e, 18)); | |
M(e, 18, g) | |
} | |
d = a.h.get(Jk); | |
5 == | |
aa(b) && (c = Qi(b), d = Sz(d, Gi(Qi(b))), ph(c, 1, d), Tz(a, Gi(Qi(b)))) | |
}, | |
Tz = function(a, b) { | |
for (var c = 0; c < b.length; c++) Uz(a, b[c]) | |
}, | |
nz = function(a, b) { | |
Tz(a, N(b, Ci, 1)); | |
N(b, Ci, 3) && 0 < N(b, Ci, 3).length && Tz(a, N(b, Ci, 3)); | |
var c = N(b, Ij, 7); | |
if (c) | |
for (var d = 0; d < c.length; d++) Tz(a, N(c[d], Ci, 2)); | |
if (b = mh(b, qj, 5)) a = oy(a.da, l(b, 1)), M(b, 1, a) | |
}, | |
Vz = function(a, b, c) { | |
c = void 0 === c ? !0 : c; | |
b = Sz(a.h.get(Jk), b); | |
c && (b = td(b, function(d) { | |
return !this.isInstalled(d.Z()) | |
}, a)); | |
return b | |
}, | |
Xz = function(a, b, c) { | |
return function(d) { | |
var e = null; | |
d.$g && d.$g.getData() && | |
(e = l(new ok(d.$g.getData()), 1)); | |
d = function(h) { | |
h ? window.location.reload(!0) : b() | |
}; | |
switch (e) { | |
case 1: | |
c ? (e = new Zx, e.g = !1, Wz(a.h.get(Ck), "There is an updated version of the Chrome Web Store. Please reload the page to continue.", e, d) && Ty("protocolVersionMismatchDialog")) : b(); | |
break; | |
case 2: | |
e = a.h.get(Ck); | |
var g = new Zx; | |
g.g = !1; | |
Wz(e, "Your login state has changed outside of the Chrome Web Store. Please reload the page to continue.", g, d) && Ty("loginStateChangedDialog"); | |
break; | |
default: | |
b() | |
} | |
} | |
}, | |
Yz = function(a, b) { | |
return function(c, | |
d, e) { | |
"versionresponse" === d ? (c = new lk(e), a.ta = l(c, 1)) : b(c, d, e) | |
} | |
}, | |
cz = function(a, b, c, d) { | |
return { | |
ne: Yz(a, b), | |
me: function(e) { | |
if (!e.u && (new pp(e.Ub)).i != fa() + "ajax/eventlog") | |
if (e.Ni || 0 > e.fh) Fx(a.L, 108, 1); | |
else if (e.$g) Fx(a.L, 109, 1); | |
else { | |
var g = (new pp(e.Ub)).i.replace(fa() + "ajax/", ""), | |
h = g + "?" + e.Ub.g.toString(); | |
Fx(a.L, 101, e.fh - e.eh, "ajax-fdat-" + g, h); | |
Fx(a.L, 102, e.dl - e.Cj, "ajax-compl-" + g, h); | |
Fx(a.L, 100, e.eh - e.ln) | |
} | |
}, | |
Nd: Xz(a, c, d) | |
} | |
}, | |
oz = function(a, b, c) { | |
return cz(a, function(d, e, g) { | |
"getitemsresponse" == e && (d = new Mj(g), | |
nz(a, d), b(d)) | |
}, c, !0) | |
}, | |
Zz = function(a, b, c, d) { | |
return cz(a, function(e, g, h) { | |
"getuseritemsresponse" == g && (e = new Xj(h), Tz(a, N(e, Ci, 1)), lz(a, N(e, Ci, 1)), g = td(N(e, Ci, 1), function(k) { | |
return b == (L(k, 15) || !1) | |
}), ph(e, 1, g), a.xa.clear(), Lt(a.xa, kz(g)), c(N(e, Ci, 1))) | |
}, d, !0) | |
}, | |
$z = function(a, b, c) { | |
return cz(a, function(d, e, g) { | |
if ("getitemdetailresponse" == e) { | |
e = new Gj(g); | |
g = e.Ya(); | |
Uz(a, g.D()); | |
for (var h = a.da, k = 0; k < gj(g).length; k++) { | |
var m = gj(g)[k], | |
p = oy(h, l(m, 18)); | |
M(m, 18, p) | |
} | |
Tz(a, N(e, Ci, 2)); | |
Tz(a, N(e, Ci, 3)); | |
Tz(a, N(e, Ci, 4)); | |
g = a.h.get(Jk); | |
h = Sz(g, N(e, Ci, 2)); | |
ph(e, 2, h); | |
h = Sz(g, N(e, Ci, 3)); | |
ph(e, 3, h); | |
g = Sz(g, N(e, Ci, 4)); | |
ph(e, 4, g); | |
d = d.Ub.g.get("id"); | |
a.ma.set(d, e); | |
a.ma.nb(); | |
b(e) | |
} | |
}, c, !0) | |
}; | |
Uy.prototype.Ya = function(a, b, c, d) { | |
Ty("getItemDetail", !0); | |
var e = this.ma.get(a); | |
e ? (Ty("getItemDetailCacheHit", !0), Qz(this, e.Ya().D()), b(e)) : (b = new Sy.Pa(this.i.g, $z(this, b, c)), dz(this, b), ia.test(a) ? Nv(b, fa() + "ajax/detail") : Nv(b, fa() + "ajax/collection-detail"), Kv(b, "id", a), d && Kv(b, "event", d), this.T && Kv(b, "container", this.T), Jv(b, "Getting item for id " + a), b.send()) | |
}; | |
var aA = function(a, b) { | |
a.Ya(b, function(c) { | |
(c = c.Ya()) && (c = gj(c)) && 0 < c.length && (c = c[0], 2 == Ni(c) ? (c = l(c, 19), c = va(c)) : c = l(c, 18), (new Image).src = c) | |
}, function() {}) | |
}, | |
bA = function(a) { | |
var b = null; | |
os(a.o, function(c) { | |
"for_your_domain" == c.g && (b = c) | |
}); | |
return b | |
}, | |
cA = function(a) { | |
return cz(a, function(b, c, d) { | |
"getloginstateresponse" == c && (b = new Pj(d), Ld(a.ha, N(b, Nj, 2), function(e, g) { | |
return l(e, 1) == l(g, 1) | |
}) || (a.ha = N(b, Nj, 2), Ql(a, new Vk("login_state_change", a)))) | |
}, function() {}, !1) | |
}; | |
Uy.prototype.Ka = function() { | |
var a = new Sy.Pa(this.i.g, cA(this)); | |
dz(this, a); | |
Nv(a, fa() + "ajax/login-state"); | |
Jv(a, "Getting login state"); | |
a.send(); | |
Nn(this.Ka, 12E4, this) | |
}; | |
var dA = function(a) { | |
var b = oo(Yy(a)); | |
a = a.ea.g.referrer; | |
if (!a) return !1; | |
a = oo(a); | |
return b == a | |
}, | |
eA = function(a, b) { | |
a.U.add(b) | |
}, | |
fA = function(a, b) { | |
return a.U.contains(b) | |
}; | |
Uy.prototype.getContainer = function() { | |
return this.j.getContainer() | |
}; | |
Uy.prototype.vj = function() { | |
return this.g.vj() | |
}; | |
var gA = function(a, b) { | |
null != window.chrome && null != chrome.webstorePrivate && null != chrome.webstorePrivate.getReferrerChain && chrome.webstorePrivate.getReferrerChain(function(c) { | |
var d = new Sy.Pa(a.i.g, cz(a, function() {}, function() {}, !1)); | |
dz(a, d); | |
Iv(d, !0); | |
Nv(d, [fa() + "ajax/logreferrerchain", b].join("/")); | |
Ov(d, "referrer_chain", c); | |
Jv(d, "Sending referrer chain log."); | |
d.send() | |
}) | |
}, | |
Vy = new Set(["zh-cn", "zh-tw", "pt-br", "pt-pt"]), | |
iz = function(a, b) { | |
Vk.call(this, "installed_status_change", a); | |
this.va = b | |
}; | |
B(iz, Vk); | |
var hA = function(a, b) { | |
Vk.call(this, "item_install_ended", a); | |
this.va = b | |
}; | |
B(hA, Vk); | |
var iA = function(a) { | |
Ax.call(this, 6, a) | |
}; | |
B(iA, Ax); | |
iA.prototype.xd = function(a) { | |
if (!zx() && !le.match(/(x86_64|amd64)/) && !le.match(/armv[0-9]*/)) return !0; | |
a = l(a, 69); | |
if (0 == a.length) return !0; | |
for (var b = 0; b < a.length; ++b) { | |
var c = !1; | |
switch (a[b]) { | |
case 0: | |
c = zx(); | |
break; | |
case 1: | |
c = !!le.match(/(x86_64|amd64)/); | |
break; | |
case 2: | |
c = !!le.match(/armv[0-9]*/) | |
} | |
if (c) return !0 | |
} | |
return !1 | |
}; | |
iA.prototype.getName = function() { | |
return "This is a native app incompatible with your CPU architecture" | |
}; | |
var jA = function(a) { | |
Ax.call(this, 3, a) | |
}; | |
B(jA, Ax); | |
jA.prototype.xd = function() { | |
return !vx() && !(Ag && 0 <= ke(xt, "6.2")) | |
}; | |
jA.prototype.getName = function() { | |
return "NPAPI plugin is required by this app" | |
}; | |
var kA = function(a) { | |
Ax.call(this, 7, a) | |
}; | |
B(kA, Ax); | |
kA.prototype.xd = function() { | |
return Ag || zg | |
}; | |
kA.prototype.getName = function() { | |
return "Unity plugin is missing" | |
}; | |
var lA = function(a) { | |
Ax.call(this, 0, a) | |
}, | |
mA; | |
B(lA, Ax); | |
lA.prototype.g = function() { | |
mA = !1; | |
var a = wm("CANVAS"); | |
if (ue(a, "getContext") && ed(a.getContext)) | |
for (var b = "experimental-webgl webgl moz-webgl opera-3d webkit-3d ms-3d 3d".split(" "), c = 0; c < b.length; ++c) try { | |
if (null != a.getContext(b[c])) { | |
mA = !0; | |
break | |
} | |
} catch (d) {} | |
}; | |
lA.prototype.xd = function() { | |
void 0 === mA && this.g(); | |
return mA | |
}; | |
lA.prototype.getName = function() { | |
return "This app uses 3D graphics and needs WebGL" | |
}; | |
var nA = function(a) { | |
this.g = new jp; | |
for (var b = 0; b < a.length; ++b) this.g.set(a[b].type, a[b]) | |
}, | |
oA = function(a) { | |
hp(a.g.mc(!1), function(b) { | |
b.g() | |
}) | |
}, | |
pA = function(a, b, c) { | |
for (var d = [], e = l(b, 44), g = 0; g < e.length; ++g) | |
if (mp(a.g, e[g])) { | |
var h = a.g.get(e[g]); | |
h.xd(b) || h.gm() != c || d.push(h) | |
} return d | |
}, | |
qA = function(a, b, c) { | |
a = pA(a, b, c); | |
c = []; | |
for (var d = 0; d < a.length; ++d) c.push(a[d].getName(b)); | |
return c | |
}, | |
qu = function(a, b) { | |
return 0 != pA(a, b, !0).length | |
}, | |
rA = function(a, b) { | |
return 0 == pA(a, b, !0).length && 0 == pA(a, b, !1).length | |
}, | |
Sz = function(a, | |
b) { | |
return td(b, function(c) { | |
return rA(this, c) | |
}, a) | |
}, | |
sA = function(a) { | |
if (!tx(a.get(Mk))) return new nA([]); | |
var b = [new Ay(a), new lA(a), new jA(a), new uy(a), new Bx(a), new kA(a), new py(a)], | |
c = a.get(Ek); | |
V(c, "c3d") && b.push(new Jx(a)); | |
V(c, "ncr") && b.push(new iA(a)); | |
return new nA(b) | |
}; | |
var tA = function(a, b) { | |
Ok.call(this); | |
this.ga = a; | |
this.g = new Jo(this); | |
Qk(this, this.g); | |
this.h = b.g | |
}; | |
B(tA, Ok); | |
tA.prototype.install = function() { | |
this.g.listen(this.h.g.body, ["click", "keypress"], this.i) | |
}; | |
tA.prototype.uninstall = function() { | |
this.g.Aa(this.h.g.body, ["click", "keypress"], this.i) | |
}; | |
tA.prototype.i = function(a) { | |
if ("click" == a.type || 13 == a.keyCode) { | |
var b = a.target, | |
c = Tm(b, "A"); | |
!c || $t(c, "h-Td-vb-re-y") || this.ga.Yf(c, b, a) || (a.preventDefault(), a.stopPropagation()) | |
} | |
}; | |
var xA = function(a, b) { | |
a = "production_config" == a ? uA : vA; | |
var c = $e(a), | |
d = wA.get(c); | |
d || (d = Qw(a, { | |
attributes: { | |
"data-payments-main": "true" | |
} | |
}), wA.set(c, d)); | |
b && $s(d, b, b, void 0) | |
}, | |
zA = function(a, b, c) { | |
var d = payments.business.integration.mashupMode.popup("buyFlowDivId"); | |
d.usingPopupStyle(payments.business.integration.PopupStyle.WINDOW_CONSTRAINED); | |
d = payments.business.integration.bootstrap.asMashupMode(d); | |
d.usingGaiaIndex(Number(Ob(window.location.href, "authuser")) || 0).usingDefaultActivityStatusChangeHandler().usingBaseZIndex(1201).usingStyle(yA()); | |
d = d.inStandaloneContext(payments.business.integration.standaloneContextAuthId.forGaia()).buyFlow(function(e) { | |
e.hasOwnProperty("error") ? b() : a() | |
}); | |
d.withEncryptedParameters(c); | |
d.load(void 0, b) | |
}, | |
yA = function() { | |
return "pc=#FF0000;ac=#0000FF" | |
}, | |
uA = bf(Qe(Re("https://payments.google.com/payments/v4/js/integrator.js"))), | |
vA = bf(Qe(Re("https://sandbox.google.com/payments/v4/js/integrator.js"))), | |
wA = new jp; | |
var AA = function(a, b, c) { | |
window.removeEventListener ? a.removeEventListener(b, c, !1) : a.detachEvent("on" + b, c) | |
}, | |
BA = function(a, b, c) { | |
AA(a, b, c); | |
window.addEventListener ? a.addEventListener(b, c, !1) : a.attachEvent("on" + b, c) | |
}; | |
var CA = null, | |
DA = function() { | |
a: { | |
if (!CA && "undefined" == typeof XMLHttpRequest && "undefined" != typeof ActiveXObject) | |
for (var a = ["MSXML2.XMLHTTP.6.0", "MSXML2.XMLHTTP.3.0", "MSXML2.XMLHTTP", "Microsoft.XMLHTTP"], b = 0; b < a.length; b++) { | |
var c = a[b]; | |
try { | |
new ActiveXObject(c); | |
var d = CA = c; | |
break a | |
} catch (e) {} | |
} | |
d = CA | |
} | |
return d ? new ActiveXObject(d) : new XMLHttpRequest | |
}; | |
var FA = function(a) { | |
EA(); | |
return bf(a) | |
}, | |
EA = $c; | |
var GA = "//www.google.com/apps/reviews/js/components/modules/", | |
HA = !1, | |
IA = function(a, b, c, d, e, g, h) { | |
"POST" == b && HA && (c += "&logResponse=1"); | |
var k = DA(); | |
k.open(b, a, !0); | |
k.onreadystatechange = function() { | |
4 == k.readyState && (e && e(k.status, k.responseText), 200 != k.status || g || eval(k.responseText)) | |
}; | |
h && k.setRequestHeader("Content-Type", h); | |
k.send(c) | |
}, | |
LA = function(a, b) { | |
var c = JA, | |
d = a.componentClass, | |
e = function(m) { | |
a.onMouseOverFlag = !0; | |
if (void 0 !== d.loaded) return !1; | |
d.loadSpec = { | |
event: m, | |
instance: a | |
}; | |
var p = void 0; | |
b && (p = a.options.hl, | |
void 0 === p && (p = "en")); | |
m = KA(a.options); | |
d.loaded = !1; | |
var q = wm("SCRIPT"); | |
q.type = "text/javascript"; | |
m = GA + d.type.toLowerCase() + "/" + m + "/"; | |
m = p ? m + (p.toLowerCase() + "_no_ajax_on_load.js") : m + "en.js"; | |
Xf(q, FA(m)); | |
document.getElementsByTagName("body")[0].appendChild(q); | |
return !1 | |
}, | |
g = a.element; | |
if ((!a.getWidgetParentDiv(g.parentNode) || !g.getAttribute(!0)) && a.modular && !0 !== a.loaded) | |
if ("true" == a["no-lazy-load"]) e(null); | |
else { | |
for (var h = 0; h < g.childNodes.length; ++h) { | |
var k = g.childNodes.item(h); | |
1 == k.nodeType && (c(k, "mouseover", | |
e, a), c(k, "mouseout", function() { | |
a.onMouseOverFlag = !1 | |
}, a)) | |
} | |
g = g.getElementsByTagName("A"); | |
for (h = 0; k = g[h]; ++h) "none" != k.style.display && c(k, "focus", e, a) | |
} | |
}, | |
KA = function(a) { | |
return "/reviews/components/modules/" == GA ? "v1" : void 0 !== a.version ? a.version : a.latestVersion | |
}, | |
PA = function(a, b, c, d, e) { | |
if (a.length) { | |
var g = ["{"], | |
h = a[0].options, | |
k = h.appId; | |
k && g.push('"appId":' + k + ","); | |
(k = KA(h)) && g.push('"version":"' + k + '",'); | |
e && g.push('"reqId":"' + encodeURIComponent(e) + '",'); | |
(e = h.hl) && g.push('"hl":"' + e + '",'); | |
var m = !0; | |
k = !0; | |
e = 0; | |
for (var p; p = | |
a[e]; ++e) void 0 === p.decorate ? m = !1 : k = !1; | |
m = !m && !k; | |
k && g.push('"js":true,'); | |
g.push('"specs":['); | |
var q = {}; | |
k = {}; | |
for (e = 0; p = a[e]; ++e) { | |
var t = !1; | |
if (m && void 0 === p.decorate) { | |
var v = p.type; | |
void 0 === q[v] && (q[v] = 1, t = !0) | |
} | |
v = void 0; | |
p = p.element; | |
var w = g, | |
J = k; | |
var G = t; | |
t = !!c; | |
var I = b; | |
0 < e && w.push(","); | |
w.push("{"); | |
G && w.push('"js":true,'); | |
G = MA(p, "g:", w, J, !1); | |
t && MA(p, "gw:", w, J, G); | |
for (v in I) w.push(',"'), w.push(encodeURIComponent(v)), w.push('":"'), w.push(encodeURIComponent(NA(I[v]))), w.push('"'); | |
w.push("}") | |
} | |
g.push("]"); | |
a = {}; | |
b = []; | |
m = []; | |
e = 0; | |
for (var ja in k) | |
if (1 < k[ja]) { | |
for (; k[e];) e++; | |
a[ja] = e; | |
b.push('"' + e + '"'); | |
m.push('"' + ja + '"'); | |
e++ | |
} for (e = 0; e < g.length; ++e) 0 == g[e].indexOf("zzReserved__") && (ja = g[e].substring(12), g[e] = '"' + (void 0 !== a[ja] ? a[ja] : ja) + '"'); | |
g.push(',"internedKeys":[' + b.join(",") + "]"); | |
g.push(',"internedValues":[' + m.join(",") + "]}"); | |
ja = "/reviews/components"; | |
h = h.authuser; | |
void 0 !== h && (a = "authuser=" + h, ja += "?" + a, g.push("&" + a)); - 1 != window.location.search.search(/[?&]returnZipitRequest=1/) && g.push("&returnZipitRequest=1"); | |
g = "req=" + g.join(""); | |
c ? OA(g, h, d) : IA(ja, "POST", g, 5E3, d) | |
} | |
}, | |
OA = function(a, b, c) { | |
var d = "", | |
e = "/reviews/json/token"; | |
void 0 != b && (d = "authuser=" + b, e += "?" + d); | |
IA(e, "POST", d, 5E3, function(g, h) { | |
200 != g ? c && c(g, h) : h && "{" == h.charAt(0) && (g = eval("(" + h + ")").channelHeader.token, h = "/reviews/components", void 0 != b && (h += "?authuser=" + b), IA(h, "POST", a + "&token=" + g, 5E3, c)) | |
}, !0) | |
}, | |
NA = function(a) { | |
a || (a = ""); | |
a = a.replace(/\\/g, "\\\\"); | |
return a = a.replace(/"/g, '\\"') | |
}, | |
MA = function(a, b, c, d, e) { | |
for (var g = b.length, h = 0, k; k = a.attributes[h]; ++h) 0 == | |
k.name.indexOf(b) && (e ? c.push(",") : e = !0, c.push('"'), c.push(encodeURIComponent(k.name.substr(g))), c.push('":'), k = encodeURIComponent(NA(k.value)), d[k] ? d[k]++ : d[k] = 1, c.push("zzReserved__" + k)); | |
return e | |
}, | |
QA = function(a, b, c) { | |
if (a = a.options.eventCallback) b.type = c, a(b) | |
}, | |
RA = function(a, b) { | |
IA("/reviews/json/search", "POST", a, 5E3, b, !0) | |
}; | |
(function() { | |
eval('\n(function(){function b(c){this.t={};this.tick=function(h,k,f){this.t[h]=[void 0!=f?f:(new Date).getTime(),k];if(void 0==f)try{window.console.timeStamp("CSI/"+h)}catch(g){}};this.tick("start",null,c)}var a;if(window.performance)var e=(a=window.performance.timing)&&a.responseStart;var d=0<e?new b(e):new b;window.annotations={Timer:b,load:d};a&&(a=a.navigationStart,0<a&&e>=a&&(window.annotations.srt=e-a))})();if(window.annotations){window.annotations.a={};window.annotations.b=1;var m=function(b,a,e){var d=b.t[a],c=b.t.start;if(d&&(c||e))return d=b.t[a][0],c=void 0!=e?e:c[0],Math.round(d-c)},p=function(b,a,e){var d="";window.annotations.srt&&(d+="&srt="+window.annotations.srt,delete window.annotations.srt);var c=b.t,h=c.start,k=[],f=[],g;for(g in c)if("start"!=g&&0!=g.indexOf("_")){var l=c[g][1];l?c[l]&&f.push(g+"."+m(b,g,c[l][0])):h&&k.push(g+"."+m(b,g))}delete c.start;if(a)for(var n in a)d+="&"+n+"="+a[n];(a=e)||(a="https:"==document.location.protocol?"https://csi.gstatic.com/csi":"http://csi.gstatic.com/csi");return[a,"?v=3","&s="+(window.annotations.sn||"zfe")+"&action=",b.name,f.length?"&it="+f.join(","):"",d,"&rt=",k.join(",")].join("")},q=function(b,a,e){b=p(b,a,e);if(!b)return"";a=new Image;var d=window.annotations.b++;window.annotations.a[d]=a;a.onload=a.onerror=function(){window.annotations&&delete window.annotations.a[d]};a.src=b;a=null;return b};window.annotations.report=function(b,a,e){var d=document.visibilityState,c="visibilitychange";d||(d=document.webkitVisibilityState,c="webkitvisibilitychange");if("prerender"==d){var h=!1,k=function(){if(!h){a?a.prerender="1":a={prerender:"1"};if("prerender"==(document.visibilityState||document.webkitVisibilityState))var f=!1;else q(b,a,e),f=!0;f&&(h=!0,document.removeEventListener(c,k,!1))}};document.addEventListener(c,k,!1);return""}return q(b,a,e)}};\n') | |
})(); | |
var SA = function(a, b) { | |
for (var c in b) a[c] = b[c] | |
}, | |
TA = function(a, b) { | |
var c = function(d) { | |
d && SA(this, d) | |
}; | |
c.prototype = a; | |
return new c(b) | |
}; | |
var UA = {}, | |
VA = {}, | |
WA = {}, | |
XA = {}, | |
YA = {}, | |
ZA = {}, | |
$A = 0, | |
bB = function(a) { | |
return aB(this, a) | |
}, | |
cB = function(a) { | |
return VA[a] | |
}, | |
dB = function(a) { | |
a = a.hashCode(a); | |
void 0 === WA[a] && (WA[a] = {}); | |
return WA[a] | |
}, | |
eB = function(a, b) { | |
var c = dB(a), | |
d = c.eventMap; | |
d || (d = c.eventMap = {}); | |
d.changed || (c.eventMap.changed = []); | |
c = {}; | |
c.callback = b; | |
c.object = a; | |
d.changed.push(c) | |
}, | |
fB = function(a, b) { | |
if (a = dB(a).eventMap) | |
if (a = a.changed) | |
for (var c = 0, d; d = a[c]; ++c) { | |
var e = d.object; | |
d = d.callback; | |
void 0 !== e ? d.call(e, b) : d(b) | |
} | |
}, | |
aB = function(a, b) { | |
var c = UA[b]; | |
void 0 === c && | |
(c = {}, c.type = b, c.object = a, c.instances = [], c = TA(a, c), UA[b] = c); | |
return c | |
}, | |
gB = function(a) { | |
var b = a.entity; | |
return b ? "entity:" + b : "url:" + a.url + ";groups:" + a.groups | |
}, | |
hB = function(a) { | |
if (a) { | |
var b = a.componentClass, | |
c = a.id, | |
d = a.eventSpecs; | |
if (d) { | |
for (var e = 0, g; g = d[e]; ++e) AA(g[0], g[1], g[2]); | |
a.eventSpecs = [] | |
} | |
if (d = dB(a).eventMap) | |
if (e = d.changed) { | |
g = []; | |
for (var h = 0, k; k = e[h]; ++h) k.object !== a && g.push(k); | |
d.changed = g | |
} delete VA[c]; | |
a = b.instances; | |
for (b = 0; d = a[b]; ++b) | |
if (d.id === c) { | |
a.splice(b, 1); | |
break | |
} | |
} | |
}, | |
iB = function() { | |
for (var a in VA) { | |
var b = | |
VA[a], | |
c; | |
if (c = b.element) { | |
for (; c.parentNode;) c = c.parentNode; | |
c = 9 == c.nodeType | |
} else c = !1; | |
c || hB(b) | |
} | |
}, | |
kB = function(a, b, c) { | |
c && XA[c].tick("daetlb", "dai"); | |
b = b || {}; | |
this.isAuthenticated = b.isAuthenticated; | |
if (this.requestorProfile) | |
for (var d in b.requestorProfile) this.requestorProfile[d] = b.requestorProfile[d]; | |
else this.requestorProfile = b.requestorProfile; | |
if (c) { | |
d = YA[c]; | |
for (var e = 0; e < d.length; ++e) { | |
var g = d[e][1], | |
h = d[e][2]; | |
d[e][0].instances.push(g); | |
VA[h] = g | |
} | |
delete YA[c] | |
} | |
iB(); | |
for (var k in a) | |
if (e = a[k], d = VA[k]) { | |
if (g = e.classProps) h = | |
UA[d.type], SA(h, g), delete e.classProps; | |
g = e.augmentor; | |
void 0 !== g && (g(), delete e.augmentor); | |
if (g = e.callback) g(), delete e.callback; | |
SA(d, e); | |
g = void 0; | |
h = { | |
url: !0 | |
}; | |
d = d.element; | |
for (g in e) h[g] && d.setAttribute("g:" + g, e[g]) | |
} b.latestVersion && (this.options.latestVersion = b.latestVersion); | |
if (0 !== b.decorateAll) { | |
for (k in a) a.hasOwnProperty(k) && (d = VA[k]) && void 0 !== d.decorate && d.decorate(); | |
for (k in VA) d = VA[k], LA(d); | |
for (var m in UA) h = bB(m), jB.call(h, JA) | |
} | |
c && (a = XA[c], a.tick("dabtle", "_bda"), a.tick("lfi", "daetlb"), (c = b.rpTime) && | |
a.tick("rpt", "_startTime", c), window.annotations.report(a)); | |
(a = this.options.onLoadFinishedCallback) && a() | |
}, | |
lB = function(a) { | |
for (var b = {}, c = 0, d; d = a.attributes[c]; ++c) { | |
var e = d.name.indexOf("g:"); | |
0 == e ? b[d.name.substr(2)] = d.value : (e = d.name.indexOf("ga:"), 0 == e && (b[d.name.substr(3)] = d.value)) | |
} | |
return b | |
}, | |
mB = function(a, b, c, d) { | |
if (null === b.attributes.getNamedItem("g:type")) return null; | |
for (var e = b, g = e; e.parentNode;) | |
if (e = e.parentNode, null != e.attributes && null !== e.attributes.getNamedItem("g:type")) { | |
for (var h = {}, k = 0, | |
m, p; m = g.attributes[k]; ++k) p = m.name.indexOf("g:"), 0 == p && (h[m.name] = !0); | |
var q = { | |
"g:id": !0 | |
}; | |
for (k = 0; m = e.attributes[k]; ++k) p = m.name.indexOf("g:"), 0 != p || q[m.name] || h[m.name] || g.setAttribute(m.name, m.value); | |
break | |
} e = lB(b); | |
if (e.id) return null; | |
g = e.type; | |
delete e.type; | |
a = aB(a, g); | |
g = ++$A + ""; | |
b.setAttribute("g:id", g); | |
e = TA(a, e); | |
e.id = g; | |
e.componentClass = a; | |
e.element = b; | |
e.eventSpecs = []; | |
e.hashCode = gB; | |
d ? (a.instances.push(e), VA[g] = e) : YA[c].push([a, e, g]); | |
return e | |
}, | |
nB = function(a, b, c) { | |
var d = (new Date).getTime() + "-" + Math.random(); | |
YA[d] = []; | |
var e = new window.annotations.Timer; | |
XA[d] = e; | |
e.name = "decorateWidgets"; | |
e.tick("_bda"); | |
a = a || {}; | |
SA(this.options, a); | |
e.tick("_startTime", null, 0); | |
var g = b || document.body; | |
b = []; | |
for (var h = g.getElementsByTagName("DIV"), k = 0, m; m = h[k]; k++) m = mB(this, m, d, c), null != m && b.push(m); | |
"DIV" === g.tagName && (m = mB(this, g, d, c), null != m && b.push(m)); | |
for (var p in a) a.hasOwnProperty && !a.hasOwnProperty(p) || -1 === p.search("Callback$") || (this[p] = a[p]); | |
a.serveFromLocal && (GA = "/reviews/components/modules/"); | |
a.logResponse && (HA = !0); | |
if (c) { | |
iB(); | |
for (var q in VA) d = VA[q], void 0 !== d.decorate && d.decorate(), LA(d, c); | |
for (var t in UA) c = bB(t), jB.call(c, JA) | |
} else PA(b, void 0, void 0, void 0, d); | |
e.tick("dai", "_bda"); | |
return b.length | |
}, | |
oB = function(a) { | |
if (null != a.attributes.getNamedItem("g:type")) { | |
var b = lB(a).id; | |
void 0 != b && (hB(VA[b]), a.removeAttribute("g:id")) | |
} | |
}, | |
pB = function(a) { | |
for (var b = a.getElementsByTagName("DIV"), c = 0, d; d = b[c]; c++) oB(d); | |
"DIV" == a.tagName && oB(a) | |
}, | |
jB = function(a) { | |
for (var b = this.instances, c = 0, d; d = b[c++];) { | |
var e = d.initInstance; | |
e && !d.initInstanceCalled && | |
(d.initInstanceCalled = !0, e(d, a)) | |
} | |
}, | |
JA = function(a, b, c, d) { | |
function e(g) { | |
c(g) | |
} | |
BA(a, b, e); | |
d.eventSpecs.push([a, b, e]) | |
}, | |
qB = function(a) { | |
for (; a && ("DIV" != a.tagName || !a.getAttribute || !a.getAttribute("g:type"));) a = a.parentNode; | |
return a | |
}; | |
var rB = window.google = window.google || {}, | |
sB = rB.annotations2 = rB.annotations2 || {}, | |
tB; | |
if (!(tB = sB.component)) { | |
var uB = { | |
type: "Component" | |
}; | |
uB.load = kB; | |
uB.decorateAll = nB; | |
uB.deleteAll = pB; | |
uB.getClass = bB; | |
uB.getInstance = cB; | |
uB.getWidgetParentDiv = qB; | |
uB.initModule = jB; | |
uB.bind = JA; | |
uB.unbind = AA; | |
uB.send = IA; | |
uB.sendComponentsRequest = PA; | |
uB.sendSearchRequest = RA; | |
uB.runCustomerCallback = QA; | |
uB.defineProperties = SA; | |
uB.options = ZA; | |
uB.hashCode = gB; | |
uB.dataChanged = fB; | |
uB.addDataChangedCallback = eB; | |
tB = uB | |
} | |
var vB = tB; | |
sB.component = vB; | |
var wB = "Remove your rating;Hated it;Disliked it;It was okay;Liked it;Loved it".split(";"); | |
var xB = function(a, b, c, d) { | |
for (var e = 0, g; g = a.childNodes[e]; ++e) | |
if (1 == g.nodeType) { | |
var h = g.attributes && g.attributes.getNamedItem(b); | |
if (h && (h.value == c || "*" == c) || d && (g = xB(g, b, c, d), null != g)) return g | |
} return null | |
}; | |
var yB = function(a) { | |
this.g = a.get(Kk); | |
a.get(zk); | |
this.i = {}; | |
this.i.appId = 94; | |
a = Vn(this.g); | |
this.i.hl = 0 == a.indexOf("zh") ? a : this.g.w; | |
this.i.serveFromLocal = this.g.ha; | |
this.g.o && (this.i.authuser = this.g.o); | |
this.h = {}; | |
this.j = {} | |
}, | |
zB = function(a, b) { | |
var c = {}; | |
De(c, a.i); | |
De(c, a.j); | |
vB.decorateAll(c, b, !1) | |
}, | |
BB = function(a, b, c) { | |
a.h.onRatingWriteCallback || (a.h.onRatingWriteCallback = {}); | |
a.h.onRatingWriteCallback[b] = c; | |
a.j.onRatingWriteCallback = AB(a.h.onRatingWriteCallback) | |
}, | |
AB = function(a) { | |
return D(function(b, c, d, e) { | |
var g = d.element.getAttribute("webstore-source"); | |
ed(this[g]) && this[g].apply(null, arguments) | |
}, a) | |
}, | |
CB = function(a, b) { | |
Array.from(ra("pd-Ye-Qa", a)).forEach(function(c) { | |
c.setAttribute("webstore-source", b) | |
}) | |
}; | |
yB.prototype.deleteAll = function(a) { | |
vB.deleteAll(a) | |
}; | |
var DB = function(a) { | |
a = lm(document, "div", "rsw-stars", a); | |
for (var b = 0; b < a.length; b++) { | |
var c = a[b], | |
d = c.getAttribute("g:rating_override") || "0"; | |
d = Number(d); | |
for (var e = [], g = [], h = c.childNodes, k = 0; k < h.length; k++) { | |
var m = h[k]; | |
"DIV" == m.tagName ? e.push(m) : g.push(m) | |
} | |
h = Math.floor(d); | |
k = d - h; | |
.66 < k && (h += 1); | |
if (.33 > k || .66 < k) k = 0; | |
for (m = 0; m < h;) e[m++].className = "rsw-starred"; | |
k && (e[m++].className = "rsw-half-starred"); | |
for (; 5 > m;) e[m++].className = "rsw-unstarred"; | |
for (e = 0; e < g.length; e++) c.appendChild(g[e]); | |
if (1 <= d) { | |
g = d.toFixed(2); | |
e = | |
g.length - 1; | |
if ("0" == g.charAt(e)) { | |
for (; | |
"0" == g.charAt(e);) e--; | |
"." == g.charAt(e) && e--; | |
g = g.substring(0, e + 1) | |
} | |
d = "Average rating: " + (g + (" stars (" + (wB[Math.round(d)] + ")"))) | |
} else d = ""; | |
c.title = d | |
} | |
}; | |
var EB = function(a) { | |
Sl.call(this); | |
this.h = a; | |
a = D(this.o, this); | |
this.h.o = a; | |
this.i = new Us; | |
this.j = new jp; | |
this.g = new jp | |
}; | |
E(EB, Sl); | |
EB.prototype.w = 0; | |
EB.prototype.connect = function() { | |
this.h.connect(D(this.i.Ba, this.i)); | |
at(this.i, D(this.dispatchEvent, this, "m")) | |
}; | |
EB.prototype.call = function(a, b, c, d) { | |
at(this.i, function() { | |
var e = { | |
data: b, | |
messageId: this.w | |
}; | |
this.j.set(this.w, { | |
$k: c, | |
Zk: d | |
}); | |
this.w++; | |
this.h.send(a, e) | |
}, this) | |
}; | |
var FB = function(a, b, c, d) { | |
at(a.i, function() { | |
this.h.send("_response", { | |
data: b, | |
messageId: c, | |
result: d | |
}) | |
}, a) | |
}; | |
EB.prototype.o = function(a, b) { | |
if ("string" === typeof b) try { | |
var c = JSON.parse(b) || {} | |
} catch (d) { | |
return | |
} else c = b; | |
"_response" == a ? (a = c, b = this.j.get(a.messageId), this.j.remove(a.messageId), (c = a.result) && ed(b.$k) && b.$k(a.data), !c && ed(b.Zk) && b.Zk(Error(a.data.message))) : GB(this, a, c) | |
}; | |
var GB = function(a, b, c) { | |
if (b = a.g.get(b)) { | |
var d = D(function(e) { | |
FB(this, e || {}, c.messageId, !0) | |
}, a); | |
a = D(function(e) { | |
var g = {}; | |
g.message = e && e.message || ""; | |
FB(this, g, c.messageId, !1) | |
}, a); | |
try { | |
b(c.data, d, a) | |
} catch (e) { | |
a(e) | |
} | |
} | |
}; | |
var HB = function() { | |
Ok.call(this); | |
this.u = {} | |
}; | |
E(HB, Ok); | |
HB.prototype.connect = function(a) { | |
a && a() | |
}; | |
HB.prototype.Kd = function() { | |
return !0 | |
}; | |
HB.prototype.registerService = function(a, b, c) { | |
this.u[a] = { | |
Ba: b, | |
Im: !!c | |
} | |
}; | |
HB.prototype.getService = function(a, b) { | |
var c = this.u[a]; | |
return c ? c : this.o ? { | |
Ba: ld(this.o, a), | |
Im: fd(b) | |
} : null | |
}; | |
var IB = function(a, b) { | |
if (b && "string" === typeof a) try { | |
return JSON.parse(a) | |
} catch (c) { | |
return null | |
} else if (!b && "string" !== typeof a) return Yr(a); | |
return a | |
}; | |
HB.prototype.V = function() { | |
HB.M.V.call(this); | |
delete this.u; | |
delete this.o | |
}; | |
var JB = { | |
1: "NativeMessagingTransport", | |
2: "IframePollingTransport", | |
3: "DirectTransport" | |
}, | |
KB = ["pu", "lru", "pru", "lpu", "ppu"], | |
LB = {}, | |
NB = function() { | |
for (var a = 10, b = MB, c = b.length, d = ""; 0 < a--;) d += b.charAt(Math.floor(Math.random() * c)); | |
return d | |
}, | |
MB = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; | |
var OB = function(a) { | |
Ok.call(this); | |
this.u = a || da() | |
}; | |
E(OB, Ok); | |
OB.prototype.sk = 0; | |
OB.prototype.getName = function() { | |
return JB[String(this.sk)] || "" | |
}; | |
var RB = function(a, b) { | |
OB.call(this, b); | |
this.g = a; | |
this.aa = new Jo(this); | |
Qk(this, this.aa); | |
this.o = new Mn(100, ca(this.u)); | |
Qk(this, this.o); | |
this.j = new Us; | |
this.w = new Us; | |
this.i = new Us; | |
this.T = NB(); | |
this.A = null; | |
this.h = {}; | |
this.J = this.g.name; | |
PB(this.g, this.g.name + "_" + QB(this.g)); | |
this.H = !1; | |
bt(this.i, this.j); | |
bt(this.i, this.w); | |
at(this.i, this.mp, this); | |
this.i.Ba(!0); | |
this.aa.listen(this.o, "tick", this.Ml) | |
}; | |
E(RB, OB); | |
var SB = {}, | |
VB = function(a) { | |
var b = new TB(a.channelName, a.service, a.payload); | |
a = b.g; | |
var c = b.service; | |
b = b.payload; | |
var d = LB[a]; | |
if (d) return d.h(c, b), !0; | |
d = UB(b)[0]; | |
for (var e in LB) { | |
var g = LB[e]; | |
if (1 == QB(g) && !g.Kd() && "tp" == c && "SETUP" == d) return PB(g, a), g.h(c, b), !0 | |
} | |
return !1 | |
}; | |
f = RB.prototype; | |
f.sk = 3; | |
f.rn = function(a) { | |
a = UB(a); | |
var b = a[1]; | |
switch (a[0]) { | |
case "SETUP_ACK": | |
this.j.g || this.j.Ba(!0); | |
break; | |
case "SETUP": | |
this.send("tp", "SETUP_ACK"), this.w.g || this.w.Ba(!0), null != this.A && this.A != b && this.send("tp", "SETUP," + this.T), this.A = b | |
} | |
}; | |
f.connect = function() { | |
var a = ca(this.u); | |
if (a) { | |
var b = id(a); | |
0 == (SB[b] || 0) && null == Zc("crosswindowmessaging.channel", a) && Uc("crosswindowmessaging.channel", VB, a); | |
SB[b]++; | |
this.H = !0; | |
this.Ml() | |
} | |
}; | |
f.Ml = function() { | |
this.g.Kd() ? this.o.stop() : (this.o.start(), this.send("tp", "SETUP," + this.T)) | |
}; | |
f.send = function(a, b) { | |
this.g.tc && (a = new TB(this.J + "_" + (0 == QB(this.g) ? 1 : 0), a, b), this.g.g.directSyncMode ? this.yl(a) : this.h[id(a)] = Nn(D(this.yl, this, a), 0)) | |
}; | |
f.yl = function(a) { | |
var b = id(a); | |
this.h[b] && delete this.h[b]; | |
try { | |
var c = Zc("crosswindowmessaging.channel", this.g.tc) | |
} catch (d) { | |
return | |
} | |
if (null !== c) try { | |
c({ | |
channelName: a.g, | |
service: a.service, | |
payload: a.payload | |
}) | |
} catch (d) {} | |
}; | |
f.mp = function() { | |
WB(this.g, 0) | |
}; | |
f.V = function() { | |
if (this.H) { | |
var a = ca(this.u), | |
b = id(a); | |
1 == --SB[b] && Uc("crosswindowmessaging.channel", null, a) | |
} | |
this.h && (qe(this.h, function(c) { | |
On(c) | |
}), this.h = null); | |
this.j && (this.j.cancel(), delete this.j); | |
this.w && (this.w.cancel(), delete this.w); | |
this.i && (this.i.cancel(), delete this.i); | |
RB.M.V.call(this) | |
}; | |
var UB = function(a) { | |
a = a.split(","); | |
a[1] = a[1] || null; | |
return a | |
}, | |
TB = function(a, b, c) { | |
this.g = a; | |
this.service = b; | |
this.payload = c | |
}; | |
var XB = function(a, b, c, d, e) { | |
OB.call(this, c); | |
this.w = a; | |
this.o = e || 2; | |
this.ma = b || "*"; | |
this.H = new Jo(this); | |
this.A = new Mn(100, ca(this.u)); | |
this.J = !!d; | |
this.h = new Us; | |
this.j = new Us; | |
this.i = new Us; | |
this.P = NB(); | |
this.aa = null; | |
this.J ? 1 == QB(this.w) ? bt(this.i, this.h) : bt(this.i, this.j) : (bt(this.i, this.h), 2 == this.o && bt(this.i, this.j)); | |
at(this.i, this.np, this); | |
this.i.Ba(!0); | |
this.H.listen(this.A, "tick", this.Nl) | |
}; | |
E(XB, OB); | |
XB.prototype.g = null; | |
XB.prototype.L = !1; | |
XB.prototype.sk = 1; | |
var YB = {}; | |
XB.prototype.T = 0; | |
var aC = function(a) { | |
var b = a.g.data; | |
if ("string" !== typeof b) return !1; | |
var c = b.indexOf("|"), | |
d = b.indexOf(":"); | |
if (-1 == c || -1 == d) return !1; | |
var e = b.substring(0, c); | |
c = b.substring(c + 1, d); | |
b = b.substring(d + 1); | |
if (d = LB[e]) return d.h(c, b, a.g.origin), !0; | |
d = ZB(b)[0]; | |
for (var g in LB) { | |
var h = LB[g]; | |
if (1 == QB(h) && !h.Kd() && "tp" == c && ("SETUP" == d || "SETUP_NTPV2" == d) && $B(h, a.g.origin)) return PB(h, e), h.h(c, b), !0 | |
} | |
return !1 | |
}; | |
XB.prototype.rn = function(a) { | |
var b = ZB(a); | |
a = b[1]; | |
switch (b[0]) { | |
case "SETUP_ACK": | |
bC(this, 1); | |
this.h.g || this.h.Ba(!0); | |
break; | |
case "SETUP_ACK_NTPV2": | |
2 == this.o && (bC(this, 2), this.h.g || this.h.Ba(!0)); | |
break; | |
case "SETUP": | |
bC(this, 1); | |
cC(this, 1); | |
break; | |
case "SETUP_NTPV2": | |
2 == this.o && (b = this.g, bC(this, 2), cC(this, 2), 1 != b && null == this.aa || this.aa == a || dC(this), this.aa = a) | |
} | |
}; | |
var dC = function(a) { | |
2 != a.o || null != a.g && 2 != a.g || a.send("tp", "SETUP_NTPV2," + a.P); | |
null != a.g && 1 != a.g || a.send("tp", "SETUP") | |
}, | |
cC = function(a, b) { | |
if (2 != a.o || null != a.g && 2 != a.g || 2 != b) { | |
if (null != a.g && 1 != a.g || 1 != b) return; | |
a.send("tp", "SETUP_ACK") | |
} else a.send("tp", "SETUP_ACK_NTPV2"); | |
a.j.g || a.j.Ba(!0) | |
}, | |
bC = function(a, b) { | |
b > a.g && (a.g = b); | |
1 == a.g && (a.j.g || a.J || a.j.Ba(!0), a.aa = null) | |
}; | |
f = XB.prototype; | |
f.connect = function() { | |
var a = ca(this.u), | |
b = id(a), | |
c = YB[b]; | |
"number" !== typeof c && (c = 0); | |
0 == c && El(a.postMessage ? a : a.document, "message", aC, !1, XB); | |
YB[b] = c + 1; | |
this.L = !0; | |
this.Nl() | |
}; | |
f.Nl = function() { | |
var a = 0 == QB(this.w); | |
this.J && a || this.w.Kd() || this.ya() ? this.A.stop() : (this.A.start(), dC(this)) | |
}; | |
f.send = function(a, b) { | |
var c = this.w.tc; | |
c && (this.send = function(d, e) { | |
var g = this, | |
h = this.w.name; | |
this.T = Nn(function() { | |
g.T = 0; | |
try { | |
var k = c.postMessage ? c : c.document; | |
k.postMessage && k.postMessage(h + "|" + d + ":" + e, g.ma) | |
} catch (m) {} | |
}, 0) | |
}, this.send(a, b)) | |
}; | |
f.np = function() { | |
WB(this.w, 1 == this.o || 1 == this.g ? 200 : void 0) | |
}; | |
f.V = function() { | |
if (this.L) { | |
var a = ca(this.u), | |
b = id(a), | |
c = YB[b]; | |
YB[b] = c - 1; | |
1 == c && Ll(a.postMessage ? a : a.document, "message", aC, !1, XB) | |
} | |
this.T && (On(this.T), this.T = 0); | |
Pk(this.H); | |
delete this.H; | |
Pk(this.A); | |
delete this.A; | |
this.h.cancel(); | |
delete this.h; | |
this.j.cancel(); | |
delete this.j; | |
this.i.cancel(); | |
delete this.i; | |
delete this.send; | |
XB.M.V.call(this) | |
}; | |
var ZB = function(a) { | |
a = a.split(","); | |
a[1] = a[1] || null; | |
return a | |
}; | |
var fC = function(a, b) { | |
HB.call(this); | |
for (var c = 0, d; d = KB[c]; c++) | |
if (d in a && !/^https?:\/\//.test(a[d])) throw Error("Ca`" + a[d] + "`" + d); | |
this.g = a; | |
this.name = this.g.cn || NB(); | |
this.i = b || da(); | |
this.j = []; | |
this.A = new Jo(this); | |
a.lpu = a.lpu || oo(ca(this.i).location.href) + "/robots.txt"; | |
a.ppu = a.ppu || oo(a.pu || "") + "/robots.txt"; | |
LB[this.name] = this; | |
Nl(window, "unload", eC) || Dl(window, "unload", eC) | |
}; | |
E(fC, HB); | |
var gC = /^%*tp$/, | |
hC = /^%+tp$/; | |
f = fC.prototype; | |
f.Id = null; | |
f.we = null; | |
f.$c = null; | |
f.Qe = 1; | |
f.Kd = function() { | |
return 2 == this.Qe | |
}; | |
f.tc = null; | |
f.yh = null; | |
f.connect = function(a) { | |
this.w = a || $c; | |
3 == this.Qe && (this.Qe = 1); | |
this.we ? at(this.we, this.fl) : this.fl() | |
}; | |
f.fl = function() { | |
this.we = null; | |
this.g.ifrid && (this.yh = this.i.s(this.g.ifrid)); | |
if (this.yh) { | |
var a = this.yh.contentWindow; | |
a || (a = window.frames[this.g.ifrid]); | |
this.tc = a | |
} | |
if (!this.tc) { | |
if (window == window.top) throw Error("Ea"); | |
this.tc = window.parent | |
} | |
if (!this.$c) { | |
this.g.tp || (this.g.tp = ed(document.postMessage) || ed(window.postMessage) || F && window.postMessage ? 1 : 0); | |
if (ed(this.g.tp)) this.$c = new this.g.tp(this, this.i); | |
else switch (this.g.tp) { | |
case 1: | |
this.$c = new XB(this, this.g.ph, this.i, !!this.g.osh, this.g.nativeProtocolVersion || | |
2); | |
break; | |
case 3: | |
if (a = this.tc) try { | |
a = window.document.domain == this.tc.document.domain | |
} catch (b) { | |
a = !1 | |
} | |
a && (this.$c = new RB(this, this.i)) | |
} | |
if (!this.$c) throw Error("Da"); | |
} | |
for (this.$c.connect(); 0 < this.j.length;) this.j.shift()() | |
}; | |
f.close = function() { | |
this.we && (this.we.cancel(), this.we = null); | |
this.j.length = 0; | |
this.A.removeAll(); | |
this.Qe = 3; | |
Pk(this.$c); | |
this.w = this.$c = null; | |
Pk(this.Id); | |
this.Id = null | |
}; | |
var WB = function(a, b) { | |
a.Kd() || a.Id && a.Id.Pe() || (a.Qe = 2, Pk(a.Id), void 0 !== b ? (a.Id = new Pn(a.w, b), a.Id.start()) : (a.Id = null, a.w())) | |
}; | |
fC.prototype.send = function(a, b) { | |
if (this.Kd()) { | |
try { | |
var c = !!this.tc && !this.tc.closed | |
} catch (d) { | |
c = !1 | |
} | |
c ? (fd(b) && (b = Yr(b)), this.$c.send(iC(a), b)) : this.close() | |
} | |
}; | |
fC.prototype.h = function(a, b, c) { | |
this.we ? this.j.push(D(this.h, this, a, b, c)) : $B(this, c) && !this.ya() && 3 != this.Qe && (a && "tp" != a ? this.Kd() && (a = a.replace(/%[0-9a-f]{2}/gi, decodeURIComponent), a = hC.test(a) ? a.substring(1) : a, a = this.getService(a, b)) && (b = IB(b, a.Im), null != b && a.Ba(b)) : this.$c.rn(b)) | |
}; | |
var iC = function(a) { | |
gC.test(a) && (a = "%" + a); | |
return a.replace(/[%:|]/g, encodeURIComponent) | |
}, | |
QB = function(a) { | |
var b = a.g.role; | |
return "number" === typeof b ? b : window.parent == a.tc ? 1 : 0 | |
}, | |
PB = function(a, b) { | |
delete LB[a.name]; | |
a.name = b; | |
LB[b] = a | |
}, | |
$B = function(a, b) { | |
var c = a.g.ph; | |
return Zd(kg(b)) || Zd(kg(c)) || b == a.g.ph | |
}; | |
fC.prototype.V = function() { | |
this.close(); | |
this.yh = this.tc = null; | |
delete LB[this.name]; | |
Pk(this.A); | |
delete this.A; | |
fC.M.V.call(this) | |
}; | |
var eC = function() { | |
for (var a in LB) Pk(LB[a]) | |
}; | |
var jC = function(a, b) { | |
b = b || {}; | |
b = b.N; | |
a.open("div", "q9gpOe"); | |
a.C("class", "Sf-Kd me Sf-Kd-Bi" + (b ? " " + b : "")); | |
a.l(); | |
a.close() | |
}; | |
Q("c", 0, jC); | |
jC.$ = u; | |
var kC = new vk("k9OOWd"), | |
lC = new vk("bbH5Pb"), | |
mC = new vk("tFfTdd"), | |
nC = new vk("R2tLXc"), | |
oC = new vk("jBu5Wc"), | |
pC = new vk("Vt8DK"), | |
qC = new vk("RGIY0e"), | |
rC = new vk("PdDBx"), | |
sC = new vk("NLCqUd"), | |
tC = new vk("Nf4Buc"), | |
uC = new vk("UTqEnb"), | |
vC = new vk("DQwHO"), | |
wC = new vk("a3qwDc"), | |
xC = new vk("aPfjJd"), | |
yC = new vk("vPlUgb"), | |
zC = new vk("RljHS"); | |
var Z = function(a) { | |
Sr.call(this, a); | |
this.configuration = a.get(yb); | |
this.nj = !1 | |
}; | |
B(Z, Sr); | |
var AC = function(a, b, c, d, e) { | |
d = void 0 === d ? 100 : d; | |
e = void 0 === e ? !0 : e; | |
return D(function() { | |
if (!this.nj) { | |
var g = this.nj = !0, | |
h = !1, | |
k = tc(), | |
m = new Mn(10), | |
p = function(J) { | |
J.relatedTarget && Jm(b, J.relatedTarget) || (g = !1) | |
}, | |
q = function() { | |
h = !0; | |
e && (k = tc()) | |
}, | |
t = D(function() { | |
this.B().Aa(b, "mouseout", p); | |
this.B().Aa(b, "mousemove", q); | |
this.B().Aa(m, "tick", w) | |
}, this), | |
v = D(function() { | |
m.dispose(); | |
this.nj = !1; | |
t() | |
}, this), | |
w = function() { | |
g ? e && !h || tc() - k <= d || (v(), c()) : v() | |
}; | |
this.B().listen(b, "mouseout", p); | |
this.B().listen(b, "mousemove", q); | |
this.B().listen(m, | |
"tick", w); | |
m.start() | |
} | |
}, a) | |
}; | |
Z.prototype.eb = function() {}; | |
var BC = function(a) { | |
Z.call(this, a); | |
this.h = 0 | |
}; | |
B(BC, Z); | |
var DC = function(a, b, c) { | |
a.h = c ? a.h | b : a.h & ~b; | |
a.s() && (a.h ? CC(a) : (ur(a.s(), 0), T(a.s(), !1))) | |
}, | |
CC = function(a) { | |
T(a.s(), !0); | |
setTimeout(function() { | |
ur(a.s(), 1) | |
}, 0) | |
}; | |
BC.prototype.cb = function() { | |
return !0 | |
}; | |
BC.prototype.oa = function(a) { | |
Z.prototype.oa.call(this, a); | |
this.h ? CC(this) : (ur(this.s(), 0), T(this.s(), !1)) | |
}; | |
Q("d", 0, function(a) { | |
a = a || {}; | |
a = a.N; | |
return y('<div class="' + x("Sf-Kd") + " " + x("me") + " " + x("Sf-Kd-Bi") + (a ? " " + x(a) : "") + '"></div>') | |
}); | |
var EC = function(a, b) { | |
a = a.item && (a.item.K || a.item); | |
b = b.Kk; | |
return l(a, 53) && r(b) ? "" + l(a, 53) : "" | |
}; | |
var FC = function(a, b) { | |
a = a.item && (a.item.K || a.item); | |
b = b.Kk; | |
return l(a, 53) && Tp(b) ? "" + l(a, 53) : "" | |
}; | |
var GC = function(a, b, c) { | |
Ok.call(this); | |
this.g = null; | |
this.j = !1; | |
this.w = a; | |
this.ga = c; | |
this.i = b || window; | |
this.h = D(this.ip, this) | |
}; | |
E(GC, Ok); | |
f = GC.prototype; | |
f.start = function() { | |
this.stop(); | |
this.j = !1; | |
var a = HC(this), | |
b = IC(this); | |
a && !b && this.i.mozRequestAnimationFrame ? (this.g = El(this.i, "MozBeforePaint", this.h), this.i.mozRequestAnimationFrame(null), this.j = !0) : this.g = a && b ? a.call(this.i, this.h) : this.i.setTimeout(Nd(this.h), 20) | |
}; | |
f.stop = function() { | |
if (this.Pe()) { | |
var a = HC(this), | |
b = IC(this); | |
a && !b && this.i.mozRequestAnimationFrame ? Ml(this.g) : a && b ? b.call(this.i, this.g) : this.i.clearTimeout(this.g) | |
} | |
this.g = null | |
}; | |
f.Pe = function() { | |
return null != this.g | |
}; | |
f.ip = function() { | |
this.j && this.g && Ml(this.g); | |
this.g = null; | |
this.w.call(this.ga, tc()) | |
}; | |
f.V = function() { | |
this.stop(); | |
GC.M.V.call(this) | |
}; | |
var HC = function(a) { | |
a = a.i; | |
return a.requestAnimationFrame || a.webkitRequestAnimationFrame || a.mozRequestAnimationFrame || a.oRequestAnimationFrame || a.msRequestAnimationFrame || null | |
}, | |
IC = function(a) { | |
a = a.i; | |
return a.cancelAnimationFrame || a.cancelRequestAnimationFrame || a.webkitCancelRequestAnimationFrame || a.mozCancelRequestAnimationFrame || a.oCancelRequestAnimationFrame || a.msCancelRequestAnimationFrame || null | |
}; | |
var JC = {}, | |
KC = null, | |
LC = null, | |
NC = function(a) { | |
var b = id(a); | |
b in JC || (JC[b] = a); | |
MC() | |
}, | |
OC = function(a) { | |
a = id(a); | |
delete JC[a]; | |
xe(JC) && LC && LC.stop() | |
}, | |
PC = function() { | |
var a = window, | |
b = LC && LC.Pe(); | |
Pk(LC); | |
LC = null; | |
KC = a; | |
b && MC() | |
}, | |
MC = function() { | |
LC || (KC ? LC = new GC(function(b) { | |
QC(b) | |
}, KC) : LC = new Pn(function() { | |
QC(tc()) | |
}, 20)); | |
var a = LC; | |
a.Pe() || a.start() | |
}, | |
QC = function(a) { | |
qe(JC, function(b) { | |
b.Jm(a) | |
}); | |
xe(JC) || MC() | |
}; | |
var RC = function(a, b) { | |
var c = this; | |
this.g = 0; | |
Dl(a, "play", function() { | |
NC(c); | |
c.start = tc() | |
}); | |
Dl(a, "end", function() { | |
OC(c); | |
c.end = c.end || tc(); | |
b(Math.round(1E3 * c.g / (c.end - c.start))) | |
}) | |
}; | |
RC.prototype.Jm = function(a) { | |
0 == this.g && (this.start = a); | |
this.end = a; | |
this.g++ | |
}; | |
var SC = function(a, b, c) { | |
(b.get(Kk).fg() || .25 > Math.random()) && new RC(a, function(d) { | |
Dx(b.get(Dk), c, d) | |
}) | |
}; | |
var TC = function(a, b) { | |
Ok.call(this); | |
this.Ua = b; | |
this.oe = new Jo(this); | |
Qk(this, this.oe); | |
this.i = Hq(a).g | |
}; | |
B(TC, Ok); | |
var VC = function(a, b) { | |
var c = UC(a); | |
new RC(c, function(d) { | |
b && b(a.Ua, d); | |
a.dispose() | |
}); | |
c.play() | |
}; | |
var WC = function() { | |
this.g = [] | |
}; | |
WC.prototype.getData = function() { | |
return this.g | |
}; | |
var XC = function(a, b) { | |
b && (b = b.split("|"), 2 == b.length && "1" == b[0] && b[1] && (b = b[1].split(","), b.every(function(c) { | |
return null != c && !isNaN(c) | |
}) && (a.g = b.slice(0, 5).map(Number)))) | |
}; | |
var YC = function() {}; | |
var ZC = function() {}; | |
E(ZC, YC); | |
ZC.prototype.nb = function() { | |
var a = 0; | |
hp(this.mc(!0), function() { | |
a++ | |
}); | |
return a | |
}; | |
ZC.prototype.clear = function() { | |
var a = ip(this.mc(!0)), | |
b = this; | |
qa(a, function(c) { | |
b.remove(c) | |
}) | |
}; | |
var $C = function(a) { | |
this.g = a | |
}; | |
E($C, ZC); | |
f = $C.prototype; | |
f.isAvailable = function() { | |
if (!this.g) return !1; | |
try { | |
return this.g.setItem("__sak", "1"), this.g.removeItem("__sak"), !0 | |
} catch (a) { | |
return !1 | |
} | |
}; | |
f.set = function(a, b) { | |
try { | |
this.g.setItem(a, b) | |
} catch (c) { | |
if (0 == this.g.length) throw "Storage mechanism: Storage disabled"; | |
throw "Storage mechanism: Quota exceeded"; | |
} | |
}; | |
f.get = function(a) { | |
a = this.g.getItem(a); | |
if ("string" !== typeof a && null !== a) throw "Storage mechanism: Invalid value was encountered"; | |
return a | |
}; | |
f.remove = function(a) { | |
this.g.removeItem(a) | |
}; | |
f.nb = function() { | |
return this.g.length | |
}; | |
f.mc = function(a) { | |
var b = 0, | |
c = this.g, | |
d = new fp; | |
d.next = function() { | |
if (b >= c.length) throw ep; | |
var e = c.key(b++); | |
if (a) return e; | |
e = c.getItem(e); | |
if ("string" !== typeof e) throw "Storage mechanism: Invalid value was encountered"; | |
return e | |
}; | |
return d | |
}; | |
f.clear = function() { | |
this.g.clear() | |
}; | |
f.key = function(a) { | |
return this.g.key(a) | |
}; | |
var aD = function() { | |
var a = null; | |
try { | |
a = window.localStorage || null | |
} catch (b) {} | |
this.g = a | |
}; | |
E(aD, $C); | |
var cD = function(a, b) { | |
this.i = a; | |
this.g = null; | |
if (F && !Pg(9)) { | |
bD || (bD = new jp); | |
this.g = bD.get(a); | |
this.g || (b ? this.g = document.getElementById(b) : (this.g = document.createElement("userdata"), this.g.addBehavior("#default#userData"), document.body.appendChild(this.g)), bD.set(a, this.g)); | |
try { | |
this.g.load(this.i) | |
} catch (c) { | |
this.g = null | |
} | |
} | |
}; | |
E(cD, ZC); | |
var dD = { | |
".": ".2E", | |
"!": ".21", | |
"~": ".7E", | |
"*": ".2A", | |
"'": ".27", | |
"(": ".28", | |
")": ".29", | |
"%": "." | |
}, | |
bD = null, | |
eD = function(a) { | |
return "_" + encodeURIComponent(a).replace(/[.!~*'()%]/g, function(b) { | |
return dD[b] | |
}) | |
}; | |
f = cD.prototype; | |
f.isAvailable = function() { | |
return !!this.g | |
}; | |
f.set = function(a, b) { | |
this.g.setAttribute(eD(a), b); | |
fD(this) | |
}; | |
f.get = function(a) { | |
a = this.g.getAttribute(eD(a)); | |
if ("string" !== typeof a && null !== a) throw "Storage mechanism: Invalid value was encountered"; | |
return a | |
}; | |
f.remove = function(a) { | |
this.g.removeAttribute(eD(a)); | |
fD(this) | |
}; | |
f.nb = function() { | |
return gD(this).attributes.length | |
}; | |
f.mc = function(a) { | |
var b = 0, | |
c = gD(this).attributes, | |
d = new fp; | |
d.next = function() { | |
if (b >= c.length) throw ep; | |
var e = c[b++]; | |
if (a) return decodeURIComponent(e.nodeName.replace(/\./g, "%")).substr(1); | |
e = e.nodeValue; | |
if ("string" !== typeof e) throw "Storage mechanism: Invalid value was encountered"; | |
return e | |
}; | |
return d | |
}; | |
f.clear = function() { | |
for (var a = gD(this), b = a.attributes.length; 0 < b; b--) a.removeAttribute(a.attributes[b - 1].nodeName); | |
fD(this) | |
}; | |
var fD = function(a) { | |
try { | |
a.g.save(a.i) | |
} catch (b) { | |
throw "Storage mechanism: Quota exceeded"; | |
} | |
}, | |
gD = function(a) { | |
return a.g.XMLDocument.documentElement | |
}; | |
var hD = function(a, b) { | |
this.i = a; | |
this.g = b + "::" | |
}; | |
E(hD, ZC); | |
hD.prototype.set = function(a, b) { | |
this.i.set(this.g + a, b) | |
}; | |
hD.prototype.get = function(a) { | |
return this.i.get(this.g + a) | |
}; | |
hD.prototype.remove = function(a) { | |
this.i.remove(this.g + a) | |
}; | |
hD.prototype.mc = function(a) { | |
var b = this.i.mc(!0), | |
c = this, | |
d = new fp; | |
d.next = function() { | |
for (var e = b.next(); e.substr(0, c.g.length) != c.g;) e = b.next(); | |
return a ? e.substr(c.g.length) : c.i.get(e) | |
}; | |
return d | |
}; | |
var iD = function() { | |
var a = new aD; | |
(a = a.isAvailable() ? new hD(a, "webstore.benchmark") : null) || (a = new cD("webstore.benchmark"), a = a.isAvailable() ? a : null); | |
this.i = a; | |
this.g = null | |
}, | |
jD = function(a) { | |
if (!a.g) { | |
var b = null; | |
a.i && (b = a.i.get("results")); | |
a.g = new WC; | |
XC(a.g, b) | |
} | |
return a.g | |
}; | |
var kD = function(a, b, c, d) { | |
ju.call(this); | |
if (!Array.isArray(a) || !Array.isArray(b)) throw Error("Fa"); | |
if (a.length != b.length) throw Error("Ga"); | |
this.j = a; | |
this.T = b; | |
this.duration = c; | |
this.A = d; | |
this.coords = []; | |
this.progress = 0 | |
}; | |
E(kD, ju); | |
f = kD.prototype; | |
f.getDuration = function() { | |
return this.duration | |
}; | |
f.play = function(a) { | |
if (a || 0 == this.g) this.progress = 0, this.coords = this.j; | |
else if (1 == this.g) return !1; | |
OC(this); | |
this.w = a = tc(); - 1 == this.g && (this.w -= this.duration * this.progress); | |
this.endTime = this.w + this.duration; | |
this.progress || this.sc(); | |
this.h("play"); - 1 == this.g && this.h("resume"); | |
this.g = 1; | |
NC(this); | |
lD(this, a); | |
return !0 | |
}; | |
f.stop = function(a) { | |
OC(this); | |
this.g = 0; | |
a && (this.progress = 1); | |
mD(this, this.progress); | |
this.onStop(); | |
this.kc() | |
}; | |
f.pause = function() { | |
1 == this.g && (OC(this), this.g = -1, this.h("pause")) | |
}; | |
f.V = function() { | |
0 == this.g || this.stop(!1); | |
this.h("destroy"); | |
kD.M.V.call(this) | |
}; | |
f.destroy = function() { | |
this.dispose() | |
}; | |
f.Jm = function(a) { | |
lD(this, a) | |
}; | |
var lD = function(a, b) { | |
b < a.w && (a.endTime = b + a.endTime - a.w, a.w = b); | |
a.progress = (b - a.w) / (a.endTime - a.w); | |
1 < a.progress && (a.progress = 1); | |
mD(a, a.progress); | |
1 == a.progress ? (a.g = 0, OC(a), ku(a), a.kc()) : 1 == a.g && a.u() | |
}, | |
mD = function(a, b) { | |
ed(a.A) && (b = a.A(b)); | |
a.coords = Array(a.j.length); | |
for (var c = 0; c < a.j.length; c++) a.coords[c] = (a.T[c] - a.j[c]) * b + a.j[c] | |
}; | |
kD.prototype.u = function() { | |
this.h("animate") | |
}; | |
kD.prototype.h = function(a) { | |
this.dispatchEvent(new nD(a, this)) | |
}; | |
var nD = function(a, b) { | |
Vk.call(this, a); | |
this.coords = b.coords; | |
this.x = b.coords[0]; | |
this.y = b.coords[1]; | |
this.duration = b.duration; | |
this.progress = b.progress; | |
this.state = b.g | |
}; | |
E(nD, Vk); | |
var oD = function() { | |
ju.call(this); | |
this.i = [] | |
}; | |
E(oD, ju); | |
oD.prototype.add = function(a) { | |
zd(this.i, a) || (this.i.push(a), El(a, "finish", this.o, !1, this)) | |
}; | |
oD.prototype.remove = function(a) { | |
Bd(this.i, a) && Ll(a, "finish", this.o, !1, this) | |
}; | |
oD.prototype.V = function() { | |
qa(this.i, function(a) { | |
a.dispose() | |
}); | |
this.i.length = 0; | |
oD.M.V.call(this) | |
}; | |
var pD = function() { | |
oD.call(this); | |
this.j = 0 | |
}; | |
E(pD, oD); | |
pD.prototype.play = function(a) { | |
if (0 == this.i.length) return !1; | |
if (a || 0 == this.g) this.j = 0, this.sc(); | |
else if (1 == this.g) return !1; | |
this.h("play"); - 1 == this.g && this.h("resume"); | |
var b = -1 == this.g && !a; | |
this.w = tc(); | |
this.endTime = null; | |
this.g = 1; | |
qa(this.i, function(c) { | |
b && -1 != c.g || c.play(a) | |
}); | |
return !0 | |
}; | |
pD.prototype.pause = function() { | |
1 == this.g && (qa(this.i, function(a) { | |
1 == a.g && a.pause() | |
}), this.g = -1, this.h("pause")) | |
}; | |
pD.prototype.stop = function(a) { | |
qa(this.i, function(b) { | |
0 == b.g || b.stop(a) | |
}); | |
this.g = 0; | |
this.endTime = tc(); | |
this.onStop(); | |
this.kc() | |
}; | |
pD.prototype.o = function() { | |
this.j++; | |
this.j == this.i.length && (this.endTime = tc(), this.g = 0, ku(this), this.kc()) | |
}; | |
var qD = function() { | |
oD.call(this); | |
this.j = 0 | |
}; | |
E(qD, oD); | |
qD.prototype.play = function(a) { | |
if (0 == this.i.length) return !1; | |
if (a || 0 == this.g) this.j < this.i.length && 0 != this.i[this.j].g && this.i[this.j].stop(!1), this.j = 0, this.sc(); | |
else if (1 == this.g) return !1; | |
this.h("play"); - 1 == this.g && this.h("resume"); | |
this.w = tc(); | |
this.endTime = null; | |
this.g = 1; | |
this.i[this.j].play(a); | |
return !0 | |
}; | |
qD.prototype.pause = function() { | |
1 == this.g && (this.i[this.j].pause(), this.g = -1, this.h("pause")) | |
}; | |
qD.prototype.stop = function(a) { | |
this.g = 0; | |
this.endTime = tc(); | |
if (a) | |
for (a = this.j; a < this.i.length; ++a) { | |
var b = this.i[a]; | |
0 == b.g && b.play(); | |
0 == b.g || b.stop(!0) | |
} else this.j < this.i.length && this.i[this.j].stop(!1); | |
this.onStop(); | |
this.kc() | |
}; | |
qD.prototype.o = function() { | |
1 == this.g && (this.j++, this.j < this.i.length ? this.i[this.j].play() : (this.endTime = tc(), this.g = 0, ku(this), this.kc())) | |
}; | |
var rD = function(a) { | |
TC.call(this, a, 1); | |
this.g = null | |
}; | |
B(rD, TC); | |
var UC = function(a) { | |
var b = sf(Re("display: inline; float: left; width: 20px; height: 20px; margin: 0; padding: 0;")), | |
c = [vf({ | |
"background-color": "black" | |
}), vf({ | |
"background-color": "yellow" | |
}), vf({ | |
"background-color": "blue" | |
}), vf({ | |
"background-color": "green" | |
}), vf({ | |
"background-color": "red" | |
})], | |
d = c.length; | |
a.g = new pD; | |
var e = wm("DIV"); | |
Uf(e, sf(Re("position: absolute; z-index: -1000;margin: 10px 20px 0 20px; width: 360px;"))); | |
for (var g = 0, h = 0; 180 > h; h++) { | |
var k = wm("DIV"); | |
Uf(k, Cf(b, c[h % d])); | |
e.appendChild(k); | |
k = new ua(k, | |
.2 + g, { | |
opacity: 0, | |
"-webkit-transform": "translate3d(5px, 5px, 0) scale3d(1.5, 1.5, 1)" | |
}, { | |
opacity: 1, | |
"-webkit-transform": "translate3d(0, 0, 0) scale3d(1, 1, 1)" | |
}, [{ | |
Bb: "all", | |
duration: .2, | |
timing: "ease-in-out", | |
delay: g | |
}]); | |
a.g.add(k); | |
g += .001 | |
} | |
c = wm("DIV"); | |
Uf(c, sf(Re("position: absolute; left: 40px; top: 40px;width: 40px; height: 40px; background-color: pink;"))); | |
e.appendChild(c); | |
b = new ua(c, .2, { | |
"-webkit-transform": "translate3d(0, 0, 0) scale3d(1, 1, 1)" | |
}, { | |
"-webkit-transform": "translate3d(40px, 40px, 0) scale3d(3, 3, 1)" | |
}, { | |
Bb: "all", | |
duration: .2, | |
timing: "ease-in-out", | |
delay: 0 | |
}); | |
c = new ua(c, .2, { | |
"-webkit-transform": "translate3d(50px, 50px, 0) scale3d(3, 3, 1)" | |
}, { | |
"-webkit-transform": "translate3d(0, 0, 0) scale3d(1, 1, 1)" | |
}, { | |
Bb: "all", | |
duration: .2, | |
timing: "ease-in-out", | |
delay: 0 | |
}); | |
d = new qD; | |
d.add(b); | |
d.add(c); | |
a.g.add(d); | |
a.oe.Xa(a.g, "end", function() { | |
Dm(e) | |
}); | |
Cm(Xm(a.i, "F-ia-k"), e); | |
return a.g | |
}; | |
rD.prototype.V = function() { | |
TC.prototype.V.call(this); | |
this.g && this.g.dispose() | |
}; | |
var sD = { | |
Nn: rD | |
}, | |
tD = function(a) { | |
Ok.call(this); | |
this.w = a; | |
this.o = a.get(Ek); | |
a.get(Mk); | |
this.j = a.get(Dk); | |
this.g = 0; | |
this.i = new iD; | |
this.h = a.get(yb) | |
}; | |
B(tD, Ok); | |
var uD = function(a) { | |
return Wg && (a.h.aa || 0 != a.g) || V(a.o, "igb") | |
}, | |
xD = function(a, b) { | |
var c = 0, | |
d, e = !1, | |
g = new vD, | |
h = 3, | |
k = function() { | |
var p = a.i, | |
q = c, | |
t = jD(p); | |
t.g.unshift(q); | |
t.g = t.g.slice(0, 5); | |
p.i && p.i.set("results", ["1", jD(p).g.join(",")].join("|")); | |
p = Math.max.apply(Math, jD(a.i).getData()); | |
p >= wD.get(2) ? a.g = 2 : p >= wD.get(1) ? a.g = 1 : a.g = 0; | |
0 != a.g && Dx(a.j, 10, 1); | |
Dx(a.j, d, c); | |
b && b(c); | |
g.dispose() | |
}, | |
m = function() { | |
0 === h || e ? k() : g.g && document[g.g] ? Nn(m, 5E3) : (g.reset(), VC(new sD.Nn(a.w), function(p, q) { | |
g.g && document[g.g] || 0 !== g.h || (h--, | |
d = p, c = q > c ? q : c, e = q >= wD.get(1)); | |
Nn(m) | |
})) | |
}; | |
m() | |
}, | |
yD = function(a, b) { | |
Wg && !a.h.aa && Nn(function() { | |
xD(a, b) | |
}, 0) | |
}, | |
zD = function() { | |
var a = new kD([0], [16E3], 15E3), | |
b = 0; | |
El(a, "animate", function(c) { | |
window.scrollTo(0, c.x); | |
b++ | |
}); | |
Dl(a, "end", function() { | |
alert("cwstimedemo: " + b / 15 + " fps") | |
}); | |
a.play() | |
}, | |
wD = new Map([ | |
[1, 20], | |
[2, 40] | |
]), | |
vD = function() { | |
Ok.call(this); | |
this.i = this.g = null; | |
var a = document; | |
void 0 !== a.hidden ? (this.g = "hidden", this.i = "visibilitychange") : void 0 !== a.webkitHidden ? (this.g = "webkitHidden", this.i = "webkitvisibilitychange") : | |
void 0 !== a.mozHidden ? (this.g = "mozHidden", this.i = "mozvisibilitychange") : void 0 !== a.msHidden && (this.g = "msHidden", this.i = "msvisibilitychange"); | |
this.h = 0; | |
this.ga = new Jo(this); | |
Qk(this, this.ga); | |
this.i && Lo(this.ga, a, this.i, this.j, !1, this) | |
}; | |
B(vD, Ok); | |
vD.prototype.j = function() { | |
this.h++ | |
}; | |
vD.prototype.reset = function() { | |
this.h = 0 | |
}; | |
Uc("webstore.timeDemo", function() { | |
zD() | |
}, void 0); | |
var AD = function() { | |
this.g = []; | |
this.i = !0; | |
this.h = [] | |
}; | |
f = AD.prototype; | |
f.hh = function() { | |
return [] | |
}; | |
f.Sh = function() { | |
return 0 | |
}; | |
f.Em = function() { | |
return this.g | |
}; | |
f.Pj = function() { | |
return null | |
}; | |
f.Rh = function(a, b, c, d, e) { | |
a = D(this.Fl, this, a, b, c, d || $c, e || !1); | |
this.h.push(a); | |
1 == this.h.length && BD(this, !1) | |
}; | |
f.Fl = function(a, b, c, d, e) { | |
var g = this, | |
h = a.g, | |
k = this.g.length; | |
k - h >= b || !this.i ? (e = this.g.slice(h, Math.min(k, h + b)), a.g = h + e.length, c(e), BD(this)) : this.Gj(Math.max(b, 15), function(m, p) { | |
g.i = !!p; | |
m.forEach(function(v, w) { | |
var J = g.Qh(v.Z()); - 1 != J && (v = Error("Ha`" + v.Z() + "`" + w + "`" + m.length + "`" + v.nd() + "`" + J + "`" + g.g.length + "`" + g.g[J].nd() + "`" + g.ng()), Ju(null, v)) | |
}); | |
g.g = g.g.concat(m); | |
var q = g.g.length, | |
t = null; | |
if (q - h >= b) t = g.g.slice(h, h + b); | |
else { | |
if (p) { | |
g.Fl(a, b, c, d, !1); | |
return | |
} | |
t = g.g.slice(h, q) | |
} | |
a.g = h + t.length; | |
c(t); | |
BD(g) | |
}, function() { | |
d && | |
d(); | |
BD(g) | |
}, e) | |
}; | |
var BD = function(a, b) { | |
(void 0 === b || b) && a.h.shift(); | |
0 < a.h.length && Nn(a.h[0]) | |
}; | |
AD.prototype.Qj = function(a) { | |
return a.g < this.g.length || this.i | |
}; | |
AD.prototype.Qh = function(a) { | |
for (var b = 0; b < this.g.length; b++) | |
if (this.g[b].Z() == a) return b; | |
return -1 | |
}; | |
AD.prototype.ic = function() { | |
return new ry(this) | |
}; | |
AD.prototype.ng = function() { | |
return "AsynchronousItemStream()" | |
}; | |
var CD = function(a, b, c, d, e, g, h, k, m, p, q, t, v) { | |
g = void 0 === g ? !1 : g; | |
m = void 0 === m ? [] : m; | |
q = void 0 === q ? !1 : q; | |
AD.call(this); | |
this.$d = b; | |
this.o = a; | |
this.T = this.o.get(O); | |
this.A = {}; | |
this.H = h; | |
this.j = []; | |
this.ca = c; | |
this.L = g; | |
this.pb = d; | |
this.X = e; | |
this.w = 0; | |
this.aa = this.o.get(Jk); | |
this.u = null; | |
this.ma = k; | |
this.U = m; | |
this.J = p; | |
this.P = q; | |
this.Ja = t; | |
this.Db = v | |
}; | |
B(CD, AD); | |
f = CD.prototype; | |
f.hh = function() { | |
return this.j | |
}; | |
f.Sh = function() { | |
return this.w | |
}; | |
f.Pj = function() { | |
return this.u | |
}; | |
f.Gj = function(a, b, c, d) { | |
var e = this; | |
pz(this.T, Math.floor(1.05 * a), this.H, function(g) { | |
e.j && 0 != e.j.length || (e.j = Sz(e.aa, N(g, Ci, 3))); | |
e.u = mh(g, qj, 5); | |
var h = l(g, 6); | |
h && 0 != h && 0 == e.w && (e.w = h); | |
if (h = g.getToken()) e.H = h; | |
var k = N(g, Ci, 1); | |
h = []; | |
for (var m = 0; m < k.length; m++) { | |
var p = k[m], | |
q = p.Z(); | |
ue(e.A, q) || (e.A[q] = null, h.push(p)) | |
} | |
h = Sz(e.aa, h); | |
if (e.L) { | |
k = []; | |
for (m = 0; m < h.length; m++) p = h[m], q = p.Z(), e.T.isInstalled(q) || k.push(p); | |
h = k | |
} | |
if (e.$d && "popular" == e.$d.g) { | |
k = []; | |
for (m = 0; m < h.length; m++) p = h[m], "0" != p.ua() && k.push(p); | |
h = k | |
} | |
b(h, L(g, | |
2)) | |
}, c, this.$d, this.ca, this.pb, this.X, void 0, d, this.ma, this.U, this.J, this.P, this.Ja, this.Db) | |
}; | |
f.ng = function() { | |
return "CategoryItemStream(" + (this.$d ? this.$d.id : "null") + ")" | |
}; | |
var DD = function(a, b, c) { | |
b = c || b; | |
a = a || {}; | |
var d = a.Y, | |
e = a.Gd, | |
g = a.Hd, | |
h = a.Ha, | |
k = a.Eb, | |
m = a.nc, | |
p = a.title, | |
q = a.value, | |
t = a.Fi; | |
c = a.Te; | |
var v = y; | |
d = '<div role="button" class="' + x("dd-Va") + (k ? " " + x(k) : "") + (m ? " " + x(m) : "") + (d ? " " + x(d) : "") + (t ? " " + x(t) : "") + '"' + (p ? ' title="' + x(p) + '"' : "") + (t ? ' id="' + x(t) + '"' : "") + (q ? ' value="' + x(q) + '"' : "") + (h ? ' aria-label="' + x(h) + '"' : "") + ">"; | |
Tp(e) || Tp(g) || Tp(h) ? (h = a || {}, a = h.Gd, e = h.Hd, g = h.Ha, h = h.Ei, a = y('<div class="' + x("g-c-Hf") + '"><div class="' + x("g-c-x") + (e ? " " + x("g-c-Nb-s") : "") + '">' + (Tp(a) || | |
Tp(e) ? R("e", !1)({ | |
Gd: a, | |
Hd: e, | |
Ha: g | |
}, b) : "") + (g ? '<div class="' + x("g-c-R") + " " + (h ? x(h) : "") + ' webstore-test-button-label"' + (h ? ' id="' + x(h) + '"' : "") + ">" + A(g) + "</div>" : "") + "</div></div>")) : a = ""; | |
return v(d + a + (c ? '<div class="' + x("g-c-aa") + '" aria-hidden="true"><div class="' + x("g-c-aa-s") + '"></div></div>' : "") + "</div>") | |
}; | |
Q("e", 0, function(a) { | |
a = a || {}; | |
var b = a.Gd; | |
a = a.Ha; | |
return y('<div class="' + x("g-c-s") + (b ? " " + x(b) : "") + (a ? " " + x("g-c-s-L-Si") : "") + '"></div>') | |
}); | |
var ED = function(a, b) { | |
return y(DD({ | |
Y: a.N, | |
Ha: a.Ha, | |
Eb: "g-c-wb", | |
nc: "g-Hg-ua-Kb-c-za" | |
}, b)) | |
}, | |
FD = function(a) { | |
var b = { | |
N: "f-c-Fb" | |
}; | |
b = b || {}; | |
a = "" + DD({ | |
Y: b.N, | |
Ha: "Close", | |
Eb: "g-c-Ya", | |
nc: "g-Hg-ua-Kb-c-za" | |
}, a); | |
return y(a) | |
}, | |
GD = function(a, b) { | |
return y(DD({ | |
Y: a.N, | |
Ha: a.label, | |
Eb: "g-c-wb", | |
nc: "g-ag-ua-Kb-c-za" | |
}, b)) | |
}, | |
HD = function(a, b) { | |
return y(DD({ | |
Y: a.N, | |
Ha: a.Ha, | |
Eb: "g-c-wb", | |
nc: "g-pi-ua-Kb-c-za" | |
}, b)) | |
}; | |
var ID; | |
var JD = function(a, b) { | |
b ? a.setAttribute("role", b) : a.removeAttribute("role") | |
}, | |
KD = function(a, b, c) { | |
Array.isArray(c) && (c = c.join(" ")); | |
var d = "aria-" + b; | |
"" === c || void 0 == c ? (ID || (ID = { | |
atomic: !1, | |
autocomplete: "none", | |
dropeffect: "none", | |
haspopup: !1, | |
live: "off", | |
multiline: !1, | |
multiselectable: !1, | |
orientation: "vertical", | |
readonly: !1, | |
relevant: "additions text", | |
required: !1, | |
sort: "none", | |
busy: !1, | |
disabled: !1, | |
hidden: !1, | |
invalid: "false" | |
}), c = ID, b in c ? a.setAttribute(d, c[b]) : a.removeAttribute(d)) : a.setAttribute(d, c) | |
}, | |
LD = function(a, b) { | |
a = | |
a.getAttribute("aria-" + b); | |
return null == a || void 0 == a ? "" : String(a) | |
}, | |
MD = function(a, b) { | |
var c = ""; | |
b && (c = b.id); | |
KD(a, "activedescendant", c) | |
}; | |
var ND = function() {}, | |
OD; | |
ad(ND); | |
var PD = { | |
button: "pressed", | |
checkbox: "checked", | |
menuitem: "selected", | |
menuitemcheckbox: "checked", | |
menuitemradio: "checked", | |
radio: "checked", | |
tab: "selected", | |
treeitem: "selected" | |
}; | |
ND.prototype.je = function() {}; | |
ND.prototype.S = function(a) { | |
return a.g.S("DIV", QD(this, a).join(" "), a.getContent()) | |
}; | |
ND.prototype.Wb = function(a) { | |
return a | |
}; | |
var SD = function(a, b, c) { | |
if (a = a.s ? a.s() : a) { | |
var d = [b]; | |
F && !Ng("7") && (d = RD(Yt(a), b), d.push(b)); | |
(c ? au : cu)(a, d) | |
} | |
}; | |
ND.prototype.cb = function() { | |
return !0 | |
}; | |
ND.prototype.gb = function(a, b) { | |
b.id && Gr(a, b.id); | |
var c = this.Wb(b); | |
c && c.firstChild ? TD(a, c.firstChild.nextSibling ? Dd(c.childNodes) : c.firstChild) : a.Re = null; | |
var d = 0, | |
e = this.Ga(), | |
g = this.Ga(), | |
h = !1, | |
k = !1, | |
m = !1, | |
p = Dd(Yt(b)); | |
qa(p, function(t) { | |
h || t != e ? k || t != g ? d |= this.j(t) : k = !0 : (h = !0, g == e && (k = !0)); | |
1 == this.j(t) && Om(c) && Pm(c) && Nm(c, !1) | |
}, this); | |
a.Md = d; | |
h || (p.push(e), g == e && (k = !0)); | |
k || p.push(g); | |
(a = a.Pi) && p.push.apply(p, a); | |
if (F && !Ng("7")) { | |
var q = RD(p); | |
0 < q.length && (p.push.apply(p, q), m = !0) | |
} | |
h && k && !a && !m || Zt(b, p.join(" ")); | |
return b | |
}; | |
ND.prototype.mh = function(a) { | |
Pr(a) && this.Ql(a.s(), !0); | |
a.isEnabled() && this.Xf(a, a.isVisible()) | |
}; | |
var UD = function(a, b, c) { | |
if (a = c || a.je()) c = b.getAttribute("role") || null, a != c && JD(b, a) | |
}, | |
XD = function(a, b, c) { | |
b.isVisible() || KD(c, "hidden", !b.isVisible()); | |
b.isEnabled() || a.Oc(c, 1, !b.isEnabled()); | |
VD(b, 8) && a.Oc(c, 8, b.isSelected()); | |
VD(b, 16) && a.Oc(c, 16, b.Yb()); | |
VD(b, 64) && a.Oc(c, 64, WD(b, 64)) | |
}; | |
f = ND.prototype; | |
f.fj = function(a, b) { | |
xr(a, !b, !F && !ug) | |
}; | |
f.Ql = function(a, b) { | |
SD(a, this.Ga() + "-rtl", b) | |
}; | |
f.Pl = function(a) { | |
var b; | |
return VD(a, 32) && (b = a.s()) ? Om(b) && Pm(b) : !1 | |
}; | |
f.Xf = function(a, b) { | |
var c; | |
if (VD(a, 32) && (c = a.s())) { | |
if (!b && WD(a, 32)) { | |
try { | |
c.blur() | |
} catch (d) {} | |
WD(a, 32) && a.nh(null) | |
}(Om(c) && Pm(c)) != b && Nm(c, b) | |
} | |
}; | |
f.ja = function(a, b) { | |
T(a, b); | |
a && KD(a, "hidden", !b) | |
}; | |
f.gj = function(a, b, c) { | |
var d = a.s(); | |
if (d) { | |
var e = this.i(b); | |
e && SD(a, e, c); | |
this.Oc(d, b, c) | |
} | |
}; | |
f.Oc = function(a, b, c) { | |
OD || (OD = { | |
1: "disabled", | |
8: "selected", | |
16: "checked", | |
64: "expanded" | |
}); | |
b = OD[b]; | |
var d = a.getAttribute("role") || null; | |
d && (d = PD[d] || b, b = "checked" == b || "selected" == b ? d : b); | |
b && KD(a, b, c) | |
}; | |
f.setContent = function(a, b) { | |
var c = this.Wb(a); | |
c && (zm(c), b && ("string" === typeof b ? Xb(c, b) : (a = function(d) { | |
if (d) { | |
var e = im(c); | |
c.appendChild("string" === typeof d ? e.createTextNode(d) : d) | |
} | |
}, Array.isArray(b) ? qa(b, a) : !dd(b) || "nodeType" in b ? a(b) : qa(Dd(b), a)))) | |
}; | |
f.Ga = function() { | |
return "ga-Bb" | |
}; | |
var QD = function(a, b) { | |
var c = a.Ga(), | |
d = [c], | |
e = a.Ga(); | |
e != c && d.push(e); | |
c = b.getState(); | |
for (e = []; c;) { | |
var g = c & -c; | |
e.push(a.i(g)); | |
c &= ~g | |
} | |
d.push.apply(d, e); | |
(a = b.Pi) && d.push.apply(d, a); | |
F && !Ng("7") && d.push.apply(d, RD(d)); | |
return d | |
}, | |
RD = function(a, b) { | |
var c = []; | |
b && (a = Cd(a, [b])); | |
qa([], function(d) { | |
!wd(d, ld(zd, a)) || b && !zd(d, b) || c.push(d.join("_")) | |
}); | |
return c | |
}; | |
ND.prototype.i = function(a) { | |
this.h || YD(this); | |
return this.h[a] | |
}; | |
ND.prototype.j = function(a) { | |
this.w || (this.h || YD(this), this.w = Be(this.h)); | |
a = parseInt(this.w[a], 10); | |
return isNaN(a) ? 0 : a | |
}; | |
var YD = function(a) { | |
var b = a.Ga(); | |
a.h = { | |
1: b + "-oa", | |
2: b + "-l", | |
4: b + "-Bd", | |
8: b + "-Fa", | |
16: b + "-of", | |
32: b + "-Xc", | |
64: b + "-Yc" | |
} | |
}; | |
var ZD = function() {}; | |
E(ZD, ND); | |
ad(ZD); | |
f = ZD.prototype; | |
f.je = function() { | |
return "button" | |
}; | |
f.Oc = function(a, b, c) { | |
switch (b) { | |
case 8: | |
case 16: | |
KD(a, "pressed", c); | |
break; | |
default: | |
case 64: | |
case 1: | |
ZD.M.Oc.call(this, a, b, c) | |
} | |
}; | |
f.S = function(a) { | |
var b = ZD.M.S.call(this, a); | |
this.Cd(b, a.Zc()); | |
var c = a.getValue(); | |
c && this.setValue(b, c); | |
VD(a, 16) && this.Oc(b, 16, a.Yb()); | |
return b | |
}; | |
f.gb = function(a, b) { | |
b = ZD.M.gb.call(this, a, b); | |
var c = this.getValue(b); | |
a.Ea = c; | |
a.ki(this.Zc(b)); | |
VD(a, 16) && this.Oc(b, 16, a.Yb()); | |
return b | |
}; | |
f.getValue = $c; | |
f.setValue = $c; | |
f.Zc = function(a) { | |
return a.title | |
}; | |
f.Cd = function(a, b) { | |
a && (b ? a.title = b : a.removeAttribute("title")) | |
}; | |
f.Ga = function() { | |
return "ga-c" | |
}; | |
var aE = function(a, b) { | |
if (!a) throw Error("Ia`" + a); | |
if (!ed(b)) throw Error("Ja`" + b); | |
$D[a] = b | |
}, | |
bE = {}, | |
$D = {}; | |
var dE = function(a, b) { | |
Sl.call(this); | |
a && cE(this, a, b) | |
}; | |
E(dE, Sl); | |
f = dE.prototype; | |
f.ba = null; | |
f.Hh = null; | |
f.Aj = null; | |
f.Ih = null; | |
f.Zb = -1; | |
f.cd = -1; | |
f.Bi = !1; | |
var eE = { | |
3: 13, | |
12: 144, | |
63232: 38, | |
63233: 40, | |
63234: 37, | |
63235: 39, | |
63236: 112, | |
63237: 113, | |
63238: 114, | |
63239: 115, | |
63240: 116, | |
63241: 117, | |
63242: 118, | |
63243: 119, | |
63244: 120, | |
63245: 121, | |
63246: 122, | |
63247: 123, | |
63248: 44, | |
63272: 46, | |
63273: 36, | |
63275: 35, | |
63276: 33, | |
63277: 34, | |
63289: 144, | |
63302: 45 | |
}, | |
fE = { | |
Up: 38, | |
Down: 40, | |
Left: 37, | |
Right: 39, | |
Enter: 13, | |
F1: 112, | |
F2: 113, | |
F3: 114, | |
F4: 115, | |
F5: 116, | |
F6: 117, | |
F7: 118, | |
F8: 119, | |
F9: 120, | |
F10: 121, | |
F11: 122, | |
F12: 123, | |
"U+007F": 46, | |
Home: 36, | |
End: 35, | |
PageUp: 33, | |
PageDown: 34, | |
Insert: 45 | |
}, | |
gE = !yg || Ng("525"), | |
hE = zg && xg; | |
dE.prototype.g = function(a) { | |
if (yg || vg) | |
if (17 == this.Zb && !a.ctrlKey || 18 == this.Zb && !a.altKey || zg && 91 == this.Zb && !a.metaKey) this.cd = this.Zb = -1; - 1 == this.Zb && (a.ctrlKey && 17 != a.keyCode ? this.Zb = 17 : a.altKey && 18 != a.keyCode ? this.Zb = 18 : a.metaKey && 91 != a.keyCode && (this.Zb = 91)); | |
gE && !rt(a.keyCode, this.Zb, a.shiftKey, a.ctrlKey, a.altKey, a.metaKey) ? this.handleEvent(a) : (this.cd = qt(a.keyCode), hE && (this.Bi = a.altKey)) | |
}; | |
dE.prototype.i = function(a) { | |
this.cd = this.Zb = -1; | |
this.Bi = a.altKey | |
}; | |
dE.prototype.handleEvent = function(a) { | |
var b = a.g, | |
c = b.altKey; | |
if (F && "keypress" == a.type) { | |
var d = this.cd; | |
var e = 13 != d && 27 != d ? b.keyCode : 0 | |
} else(yg || vg) && "keypress" == a.type ? (d = this.cd, e = 0 <= b.charCode && 63232 > b.charCode && ot(d) ? b.charCode : 0) : ug && !yg ? (d = this.cd, e = ot(d) ? b.keyCode : 0) : ("keypress" == a.type ? (hE && (c = this.Bi), b.keyCode == b.charCode ? 32 > b.keyCode ? (d = b.keyCode, e = 0) : (d = this.cd, e = b.charCode) : (d = b.keyCode || this.cd, e = b.charCode || 0)) : (d = b.keyCode || this.cd, e = b.charCode || 0), zg && 63 == e && 224 == d && (d = 191)); | |
var g = d = qt(d); | |
d ? 63232 <= d && d in eE ? g = eE[d] : 25 == d && a.shiftKey && (g = 9) : b.keyIdentifier && b.keyIdentifier in fE && (g = fE[b.keyIdentifier]); | |
xg && gE && "keypress" == a.type && !rt(g, this.Zb, a.shiftKey, a.ctrlKey, c, a.metaKey) || (a = g == this.Zb, this.Zb = g, b = new iE(g, e, a, b), b.altKey = c, this.dispatchEvent(b)) | |
}; | |
dE.prototype.s = function() { | |
return this.ba | |
}; | |
var cE = function(a, b, c) { | |
a.Ih && jE(a); | |
a.ba = b; | |
a.Hh = El(a.ba, "keypress", a, c); | |
a.Aj = El(a.ba, "keydown", a.g, c, a); | |
a.Ih = El(a.ba, "keyup", a.i, c, a) | |
}, | |
jE = function(a) { | |
a.Hh && (Ml(a.Hh), Ml(a.Aj), Ml(a.Ih), a.Hh = null, a.Aj = null, a.Ih = null); | |
a.ba = null; | |
a.Zb = -1; | |
a.cd = -1 | |
}; | |
dE.prototype.V = function() { | |
dE.M.V.call(this); | |
jE(this) | |
}; | |
var iE = function(a, b, c, d) { | |
ol.call(this, d); | |
this.type = "key"; | |
this.keyCode = a; | |
this.repeat = c | |
}; | |
E(iE, ol); | |
var kE = function(a, b, c) { | |
Er.call(this, c); | |
if (!b) { | |
for (b = this.constructor; b;) { | |
var d = id(b); | |
if (d = bE[d]) break; | |
b = (b = Object.getPrototypeOf(b.prototype)) && b.constructor | |
} | |
b = d ? ed(d.Fa) ? d.Fa() : new d : null | |
} | |
this.h = b; | |
this.Re = void 0 !== a ? a : null | |
}; | |
E(kE, Er); | |
f = kE.prototype; | |
f.Re = null; | |
f.Md = 0; | |
f.Fg = 39; | |
f.If = 255; | |
f.Ce = 0; | |
f.oh = !0; | |
f.Pi = null; | |
f.uh = !0; | |
f.ai = null; | |
var mE = function(a, b) { | |
a.za && b != a.uh && lE(a, b); | |
a.uh = b | |
}; | |
f = kE.prototype; | |
f.Bc = function() { | |
return this.h | |
}; | |
f.S = function() { | |
var a = this.h.S(this); | |
this.ba = a; | |
UD(this.h, a, this.Vf()); | |
this.h.fj(a, !1); | |
this.isVisible() || this.h.ja(a, !1) | |
}; | |
f.Vf = function() { | |
return this.ai | |
}; | |
f.Dc = function() { | |
return this.h.Wb(this.s()) | |
}; | |
f.cb = function(a) { | |
return this.h.cb(a) | |
}; | |
f.oa = function(a) { | |
this.ba = a = this.h.gb(this, a); | |
UD(this.h, a, this.Vf()); | |
this.h.fj(a, !1); | |
this.oh = "none" != a.style.display | |
}; | |
f.O = function() { | |
kE.M.O.call(this); | |
XD(this.h, this, this.ba); | |
this.h.mh(this); | |
if (this.Fg & -2 && (this.uh && lE(this, !0), VD(this, 32))) { | |
var a = this.s(); | |
if (a) { | |
var b = this.A || (this.A = new dE); | |
cE(b, a); | |
this.B().listen(b, "key", this.Xb).listen(a, "focus", this.sp).listen(a, "blur", this.nh) | |
} | |
} | |
}; | |
var lE = function(a, b) { | |
var c = a.B(), | |
d = a.s(); | |
b ? (c.listen(d, ml.Ge, a.ke).listen(d, [ml.He, ml.Cf], a.rd).listen(d, "mouseover", a.qd).listen(d, "mouseout", a.da), a.J != $c && c.listen(d, "contextmenu", a.J), F && (Ng(9) || c.listen(d, "dblclick", a.Tl), a.L || (a.L = new nE(a), Qk(a, a.L)))) : (c.Aa(d, ml.Ge, a.ke).Aa(d, [ml.He, ml.Cf], a.rd).Aa(d, "mouseover", a.qd).Aa(d, "mouseout", a.da), a.J != $c && c.Aa(d, "contextmenu", a.J), F && (Ng(9) || c.Aa(d, "dblclick", a.Tl), Pk(a.L), a.L = null)) | |
}; | |
kE.prototype.qa = function() { | |
kE.M.qa.call(this); | |
this.A && jE(this.A); | |
this.isVisible() && this.isEnabled() && this.h.Xf(this, !1) | |
}; | |
kE.prototype.V = function() { | |
kE.M.V.call(this); | |
this.A && (this.A.dispose(), delete this.A); | |
delete this.h; | |
this.L = this.Pi = this.Re = null | |
}; | |
kE.prototype.getContent = function() { | |
return this.Re | |
}; | |
kE.prototype.setContent = function(a) { | |
this.h.setContent(this.s(), a); | |
this.Re = a | |
}; | |
var TD = function(a, b) { | |
a.Re = b | |
}; | |
f = kE.prototype; | |
f.Xc = function() { | |
var a = this.getContent(); | |
if (!a) return ""; | |
a = "string" === typeof a ? a : Array.isArray(a) ? ud(a, Rm).join("") : Wb(a); | |
return bg(a) | |
}; | |
f.isVisible = function() { | |
return this.oh | |
}; | |
f.ja = function(a, b) { | |
return b || this.oh != a && this.dispatchEvent(a ? "show" : "hide") ? ((b = this.s()) && this.h.ja(b, a), this.isEnabled() && this.h.Xf(this, a), this.oh = a, !0) : !1 | |
}; | |
f.isEnabled = function() { | |
return !WD(this, 1) | |
}; | |
f.setEnabled = function(a) { | |
var b = this.getParent(); | |
b && "function" == typeof b.isEnabled && !b.isEnabled() || !oE(this, 1, !a) || (a || (pE(this, !1), this.Cb(!1)), this.isVisible() && this.h.Xf(this, a), qE(this, 1, !a, !0)) | |
}; | |
f.Cb = function(a) { | |
oE(this, 2, a) && qE(this, 2, a) | |
}; | |
var pE = function(a, b) { | |
oE(a, 4, b) && qE(a, 4, b) | |
}; | |
f = kE.prototype; | |
f.isSelected = function() { | |
return WD(this, 8) | |
}; | |
f.Kc = function(a) { | |
oE(this, 8, a) && qE(this, 8, a) | |
}; | |
f.Yb = function() { | |
return WD(this, 16) | |
}; | |
f.Bd = function(a) { | |
oE(this, 16, a) && qE(this, 16, a) | |
}; | |
f.jf = function(a) { | |
oE(this, 32, a) && qE(this, 32, a) | |
}; | |
f.Ma = function(a) { | |
oE(this, 64, a) && qE(this, 64, a) | |
}; | |
f.getState = function() { | |
return this.Md | |
}; | |
var WD = function(a, b) { | |
return !!(a.Md & b) | |
}, | |
qE = function(a, b, c, d) { | |
d || 1 != b ? VD(a, b) && c != WD(a, b) && (a.h.gj(a, b, c), a.Md = c ? a.Md | b : a.Md & ~b) : a.setEnabled(!c) | |
}, | |
VD = function(a, b) { | |
return !!(a.Fg & b) | |
}; | |
kE.prototype.kb = function(a, b) { | |
if (this.za && WD(this, a) && !b) throw Error("L"); | |
!b && WD(this, a) && qE(this, a, !1); | |
this.Fg = b ? this.Fg | a : this.Fg & ~a | |
}; | |
var rE = function(a, b) { | |
return !!(a.If & b) && VD(a, b) | |
}, | |
oE = function(a, b, c) { | |
return VD(a, b) && WD(a, b) != c && (!(a.Ce & b) || a.dispatchEvent(Fr(b, c))) && !a.ya() | |
}; | |
kE.prototype.qd = function(a) { | |
!sE(a, this.s()) && this.dispatchEvent("enter") && this.isEnabled() && rE(this, 2) && this.Cb(!0) | |
}; | |
kE.prototype.da = function(a) { | |
!sE(a, this.s()) && this.dispatchEvent("leave") && (rE(this, 4) && pE(this, !1), rE(this, 2) && this.Cb(!1)) | |
}; | |
kE.prototype.J = $c; | |
var sE = function(a, b) { | |
return !!a.relatedTarget && Jm(b, a.relatedTarget) | |
}; | |
f = kE.prototype; | |
f.ke = function(a) { | |
this.isEnabled() && (rE(this, 2) && this.Cb(!0), rl(a) && (rE(this, 4) && pE(this, !0), this.h && this.h.Pl(this) && this.s().focus())); | |
rl(a) && a.preventDefault() | |
}; | |
f.rd = function(a) { | |
this.isEnabled() && (rE(this, 2) && this.Cb(!0), WD(this, 4) && this.Ob(a) && rE(this, 4) && pE(this, !1)) | |
}; | |
f.Tl = function(a) { | |
this.isEnabled() && this.Ob(a) | |
}; | |
f.Ob = function(a) { | |
rE(this, 16) && this.Bd(!this.Yb()); | |
rE(this, 8) && this.Kc(!0); | |
rE(this, 64) && this.Ma(!WD(this, 64)); | |
var b = new Vk("action", this); | |
a && (b.altKey = a.altKey, b.ctrlKey = a.ctrlKey, b.metaKey = a.metaKey, b.shiftKey = a.shiftKey, b.h = a.h); | |
return this.dispatchEvent(b) | |
}; | |
f.sp = function() { | |
rE(this, 32) && this.jf(!0) | |
}; | |
f.nh = function() { | |
rE(this, 4) && pE(this, !1); | |
rE(this, 32) && this.jf(!1) | |
}; | |
f.Xb = function(a) { | |
return this.isVisible() && this.isEnabled() && this.Ec(a) ? (a.preventDefault(), a.stopPropagation(), !0) : !1 | |
}; | |
f.Ec = function(a) { | |
return 13 == a.keyCode && this.Ob(a) | |
}; | |
if (!ed(kE)) throw Error("Ka`" + kE); | |
if (!ed(ND)) throw Error("La`" + ND); | |
var tE = id(kE); | |
bE[tE] = ND; | |
aE("ga-Bb", function() { | |
return new kE(null) | |
}); | |
var nE = function(a) { | |
Ok.call(this); | |
this.i = a; | |
this.g = !1; | |
this.ga = new Jo(this); | |
Qk(this, this.ga); | |
a = this.i.ba; | |
this.ga.listen(a, ml.Ge, this.j).listen(a, ml.He, this.w).listen(a, "click", this.h) | |
}; | |
E(nE, Ok); | |
var uE = !F || Pg(9); | |
nE.prototype.j = function() { | |
this.g = !1 | |
}; | |
nE.prototype.w = function() { | |
this.g = !0 | |
}; | |
var vE = function(a, b) { | |
if (!uE) return a.button = 0, a.type = b, a; | |
var c = document.createEvent("MouseEvents"); | |
c.initMouseEvent(b, a.bubbles, a.cancelable, a.view || null, a.detail, a.screenX, a.screenY, a.clientX, a.clientY, a.ctrlKey, a.altKey, a.shiftKey, a.metaKey, 0, a.relatedTarget || null); | |
return c | |
}; | |
nE.prototype.h = function(a) { | |
if (this.g) this.g = !1; | |
else { | |
var b = a.g, | |
c = b.button, | |
d = b.type, | |
e = vE(b, "mousedown"); | |
this.i.ke(new ol(e, a.currentTarget)); | |
e = vE(b, "mouseup"); | |
this.i.rd(new ol(e, a.currentTarget)); | |
uE || (b.button = c, b.type = d) | |
} | |
}; | |
nE.prototype.V = function() { | |
this.i = null; | |
nE.M.V.call(this) | |
}; | |
var wE = function() {}; | |
E(wE, ZD); | |
ad(wE); | |
f = wE.prototype; | |
f.je = function() {}; | |
f.S = function(a) { | |
mE(a, !1); | |
a.If &= -256; | |
a.kb(32, !1); | |
return a.g.S("BUTTON", { | |
"class": QD(this, a).join(" "), | |
disabled: !a.isEnabled(), | |
title: a.Zc() || "", | |
value: a.getValue() || "" | |
}, a.Xc() || "") | |
}; | |
f.cb = function(a) { | |
return "BUTTON" == a.tagName || "INPUT" == a.tagName && ("button" == a.type || "submit" == a.type || "reset" == a.type) | |
}; | |
f.gb = function(a, b) { | |
mE(a, !1); | |
a.If &= -256; | |
a.kb(32, !1); | |
if (b.disabled) { | |
var c = this.i(1); | |
W(b, c) | |
} | |
return wE.M.gb.call(this, a, b) | |
}; | |
f.mh = function(a) { | |
a.B().listen(a.s(), "click", a.Ob) | |
}; | |
f.fj = $c; | |
f.Ql = $c; | |
f.Pl = function(a) { | |
return a.isEnabled() | |
}; | |
f.Xf = $c; | |
f.gj = function(a, b, c) { | |
wE.M.gj.call(this, a, b, c); | |
(a = a.s()) && 1 == b && (a.disabled = c) | |
}; | |
f.getValue = function(a) { | |
return a.value | |
}; | |
f.setValue = function(a, b) { | |
a && (a.value = b) | |
}; | |
f.Oc = $c; | |
var xE = function(a, b, c) { | |
kE.call(this, a, b || wE.Fa(), c) | |
}; | |
E(xE, kE); | |
f = xE.prototype; | |
f.getValue = function() { | |
return this.Ea | |
}; | |
f.setValue = function(a) { | |
this.Ea = a; | |
this.Bc().setValue(this.s(), a) | |
}; | |
f.Zc = function() { | |
return this.wa | |
}; | |
f.Cd = function(a) { | |
this.wa = a; | |
this.Bc().Cd(this.s(), a) | |
}; | |
f.ki = function(a) { | |
this.wa = a | |
}; | |
f.V = function() { | |
xE.M.V.call(this); | |
delete this.Ea; | |
delete this.wa | |
}; | |
f.O = function() { | |
xE.M.O.call(this); | |
if (VD(this, 32)) { | |
var a = this.s(); | |
a && this.B().listen(a, "keyup", this.Ec) | |
} | |
}; | |
f.Ec = function(a) { | |
return 13 == a.keyCode && "key" == a.type || 32 == a.keyCode && "keyup" == a.type ? this.Ob(a) : 32 == a.keyCode | |
}; | |
aE("ga-c", function() { | |
return new xE(null) | |
}); | |
var zE = function(a, b, c, d, e, g, h, k, m, p, q) { | |
a = void 0 === a ? null : a; | |
b = void 0 === b ? "" : b; | |
c = void 0 === c ? "g-c-wb" : c; | |
d = void 0 === d ? "small" : d; | |
e = void 0 === e ? "g-vf-ua-Uc-c-za" : e; | |
g = void 0 === g ? "g-vf-ua-Uc-c-za" : g; | |
h = void 0 === h ? !0 : h; | |
k = void 0 === k ? null : k; | |
p = void 0 === p ? !0 : p; | |
q = void 0 === q ? !1 : q; | |
xE.call(this, null, yE.Fa(), m); | |
this.bb = c; | |
this.U = d; | |
this.ta = e; | |
this.xa = g; | |
this.Oa = a; | |
this.H = b; | |
this.X = h; | |
this.u = k; | |
this.Ka = p; | |
this.fb = q | |
}; | |
B(zE, xE); | |
var AE = function(a) { | |
return "large" === a.U ? a.ta : a.xa | |
}; | |
zE.prototype.isClickable = function() { | |
return this.X | |
}; | |
var BE = function(a, b) { | |
a.X = b; | |
a.setEnabled(a.X) | |
}; | |
zE.prototype.Te = function() { | |
return this.fb | |
}; | |
zE.prototype.jf = function(a) { | |
xE.prototype.jf.call(this, a); | |
this.s() && X(this.s(), "g-c-Sc-ci", !1) | |
}; | |
zE.prototype.O = function() { | |
var a = this; | |
xE.prototype.O.call(this); | |
this.X || this.setEnabled(!1); | |
this.B().listen(this.s(), ["mousedown", "click", "mouseup"], function() { | |
a.s() && X(a.s(), "g-c-Sc-ci", !0) | |
}); | |
Nn(function() { | |
var b = U(a, "g-c-R"), | |
c = a.s(); | |
null != b && null != c && b.clientWidth < b.scrollWidth && (c.title = a.H) | |
}) | |
}; | |
zE.prototype.La = function() { | |
return { | |
Eb: this.bb, | |
nc: AE(this), | |
Gd: this.Oa, | |
Ha: this.H, | |
Fi: this.u ? this.u + "-btn" : null, | |
Ei: this.u ? this.u + "-text" : null, | |
Y: this.Ka ? "g-c-Oc-td-jb-oa" : null, | |
Te: this.Te() | |
} | |
}; | |
var DE = function(a, b, c, d, e, g, h) { | |
a = CE(a, void 0, h); | |
return new zE(a.icon, a.label, a.style, b, c, d, a.i, e, g, a.g) | |
}, | |
EE = function(a, b, c, d, e) { | |
this.icon = e; | |
this.style = a; | |
this.label = b; | |
this.i = c; | |
this.g = d | |
}, | |
CE = function(a, b, c) { | |
var d = !0, | |
e = !0; | |
switch (a) { | |
case 0: | |
var g = "g-c-Ya-vk-s"; | |
c = "Free"; | |
b = "g-c-wb"; | |
break; | |
case 17: | |
g = "g-c-Ya-vk-s"; | |
c = "Add to Chrome"; | |
b = "g-c-wb"; | |
break; | |
case 25: | |
g = "g-c-Ya-vk-s"; | |
c = "Add to Chrome"; | |
b = "g-c-nl"; | |
break; | |
case 22: | |
c = "Add to Chrome"; | |
b = "g-c-Ya"; | |
break; | |
case 1: | |
g = "g-c-Ya-H-ef-Ie-s"; | |
b = "g-c-Fd"; | |
c = c ? "Buy for " + c : "Add to Chrome"; | |
break; | |
case 2: | |
g = "g-c-Ya-vi-s"; | |
c = "Add to Chrome"; | |
b = "g-c-wb"; | |
break; | |
case 18: | |
g = "g-c-Ya-vi-s"; | |
c = "Add to Chrome"; | |
b = "g-c-wb"; | |
break; | |
case 3: | |
c = "Added to Chrome"; | |
b = "g-c-Lc"; | |
e = d = !1; | |
break; | |
case 24: | |
c = "Remove from Chrome"; | |
b = "g-c-Lc"; | |
e = !1; | |
break; | |
case 5: | |
g = "g-c-Ya-vk-s"; | |
c = "Installing..."; | |
b = "g-c-wb"; | |
e = !1; | |
break; | |
case 6: | |
c = "Checking..."; | |
b = b || "g-c-Fd"; | |
e = d = !1; | |
break; | |
case 7: | |
g = "g-c-Ya-H-ef-Ie-s"; | |
c = "Launch app"; | |
b = "g-c-Lc"; | |
break; | |
case 20: | |
g = "g-c-Ya-H-ef-Ie-s"; | |
c = "Launch"; | |
b = "g-c-wb"; | |
e = !1; | |
break; | |
case 21: | |
c = "Visit Website"; | |
b = "g-c-wb"; | |
break; | |
case 16: | |
c = "Manage"; | |
b = "g-c-Lc"; | |
break; | |
case 13: | |
g = "g-c-Ya-Zc-s"; | |
c = "Rate it"; | |
b = "g-c-Lc"; | |
break; | |
case 8: | |
c = "Available on Chrome"; | |
b = "g-c-wb"; | |
break; | |
case 9: | |
g = "g-c-wb-H-ef-p-s"; | |
c = "Sign in to add"; | |
b = "g-c-Ya"; | |
break; | |
case 10: | |
g = "g-c-Ya-vk-s"; | |
c = "Try now"; | |
b = "g-c-wb"; | |
break; | |
case 11: | |
b = "g-c-Ya"; | |
d = !1; | |
break; | |
case 12: | |
c = "Cancel purchase"; | |
b = "g-c-wb"; | |
break; | |
case 23: | |
c = "View collection"; | |
b = "g-c-wb"; | |
break; | |
case 15: | |
g = "g-c-Bc-s"; | |
c = "Back"; | |
b = "g-c-Ya"; | |
break; | |
case 19: | |
g = "g-c-gc-s"; | |
c = "Not compatible"; | |
b = "g-c-sc"; | |
e = d = !1; | |
break; | |
default: | |
throw Error("Ma"); | |
} | |
return new EE(b, c, d, e, g) | |
}, | |
yE = function() {}; | |
B(yE, ZD); | |
yE.prototype.Ga = function() { | |
return "g-c" | |
}; | |
yE.prototype.S = function(a) { | |
var b = a.g; | |
b = Jq(DD, a.La(), void 0, b); | |
this.gb(a, b); | |
return b | |
}; | |
yE.prototype.setValue = function(a, b) { | |
Xb(P("g-c-R", a), b) | |
}; | |
ad(yE); | |
var FE = function(a, b) { | |
this.h = b; | |
this.g = a.get(O); | |
this.j = a.get(Kb); | |
this.w = a.get(yb); | |
this.o = a.get(Ck); | |
this.i = ca(Hq(a).g) | |
}, | |
HE = function(a, b) { | |
var c = "You just signed into the Chrome Web Store with " + (Xy(a.g) + (", but you signed into Chrome with " + (b + (". To install this app, you need to sign into the Chrome Web Store with " + (b + "."))))), | |
d = GE(a), | |
e = Qy(a.g.g, d, b); | |
b = D(function(g) { | |
g && Zf(this.i.location, e) | |
}, a); | |
d = new Zx; | |
d.h = "Switch Accounts"; | |
Wz(a.o, c, d, b) | |
}, | |
GE = function(a) { | |
if (a.w.Ka) { | |
var b = new pp(Jb(Ns(a.h))); | |
if (a = a.j.te) a = | |
encodeURIComponent(Gs(a)), b.g.set("_ind", a); | |
b.g.set("_asi", 1); | |
return b.toString() | |
} | |
}, | |
IE = function(a) { | |
return a.toLowerCase().replace(/@googlemail[.]com$/, "@gmail.com").replace(/([.])(?=.*@)/g, "") | |
}; | |
var JE = function() { | |
return y('<div class="' + x("kgeH9b") + '" aria-live="polite"></div>') | |
}, | |
KE = function(a) { | |
var b = a.query; | |
cd(a.km); | |
a = a.km; | |
var c = '<div class="' + x("zsZFFd") + '" role="listbox" id="store-search-suggestions"'; | |
0 == a.length && (c = c + ' aria-label="' + $p("No suggestions available"), c += '"'); | |
c += ">"; | |
for (var d = a.length, e = 0; e < d; e++) { | |
var g = a[e]; | |
c += '<div class="' + x("UgujC") + '" role="option" aria-label="' + x(b) + x(g) + '">' + A(b) + '<span class="' + x("tLwJNe") + '">' + A(g) + "</span></div>" | |
} | |
return y(c + "</div>") | |
}; | |
var LE = function(a, b) { | |
Er.call(this, b); | |
this.i = a || "" | |
}, | |
ME; | |
E(LE, Er); | |
LE.prototype.j = null; | |
var NE = function() { | |
null == ME && (ME = "placeholder" in wm("INPUT")); | |
return ME | |
}; | |
f = LE.prototype; | |
f.Zf = !1; | |
f.S = function() { | |
this.ba = this.g.S("INPUT", { | |
type: "text" | |
}) | |
}; | |
f.oa = function(a) { | |
LE.M.oa.call(this, a); | |
this.i || (this.i = a.getAttribute("label") || ""); | |
Um(im(a)) == a && (this.Zf = !0, a = this.s(), bu(a, "R-lc-R")); | |
NE() && (this.s().placeholder = this.i); | |
a = this.s(); | |
KD(a, "label", this.i) | |
}; | |
f.O = function() { | |
LE.M.O.call(this); | |
var a = new Jo(this); | |
a.listen(this.s(), "focus", this.jj); | |
a.listen(this.s(), "blur", this.vp); | |
if (NE()) this.h = a; | |
else { | |
xg && a.listen(this.s(), ["keypress", "keydown", "keyup"], this.zp); | |
var b = im(this.s()); | |
a.listen(rm(b), "load", this.Sp); | |
this.h = a; | |
OE(this) | |
} | |
PE(this); | |
this.s().h = this | |
}; | |
f.qa = function() { | |
LE.M.qa.call(this); | |
this.h && (this.h.dispose(), this.h = null); | |
this.s().h = null | |
}; | |
var OE = function(a) { | |
!a.H && a.h && a.s().form && (a.h.listen(a.s().form, "submit", a.Ap), a.H = !0) | |
}; | |
f = LE.prototype; | |
f.V = function() { | |
LE.M.V.call(this); | |
this.h && (this.h.dispose(), this.h = null) | |
}; | |
f.jj = function() { | |
this.Zf = !0; | |
var a = this.s(); | |
bu(a, "R-lc-R"); | |
if (!NE() && !QE(this) && !this.o) { | |
var b = this; | |
a = function() { | |
b.s() && (b.s().value = "") | |
}; | |
F ? Nn(a, 10) : a() | |
} | |
}; | |
f.vp = function() { | |
NE() || (this.h.Aa(this.s(), "click", this.jj), this.j = null); | |
this.Zf = !1; | |
PE(this) | |
}; | |
f.zp = function(a) { | |
27 == a.keyCode && ("keydown" == a.type ? this.j = this.s().value : "keypress" == a.type ? this.s().value = this.j : "keyup" == a.type && (this.j = null), a.preventDefault()) | |
}; | |
f.Ap = function() { | |
QE(this) || (this.s().value = "", Nn(this.up, 10, this)) | |
}; | |
f.up = function() { | |
QE(this) || (this.s().value = this.i) | |
}; | |
f.Sp = function() { | |
PE(this) | |
}; | |
var QE = function(a) { | |
return !!a.s() && "" != a.s().value && a.s().value != a.i | |
}; | |
LE.prototype.clear = function() { | |
this.s().value = ""; | |
null != this.j && (this.j = "") | |
}; | |
LE.prototype.reset = function() { | |
QE(this) && (this.clear(), PE(this)) | |
}; | |
LE.prototype.setValue = function(a) { | |
null != this.j && (this.j = a); | |
this.s().value = a; | |
PE(this) | |
}; | |
LE.prototype.getValue = function() { | |
return null != this.j ? this.j : QE(this) ? this.s().value : "" | |
}; | |
var PE = function(a) { | |
var b = a.s(); | |
NE() ? a.s().placeholder != a.i && (a.s().placeholder = a.i) : OE(a); | |
KD(b, "label", a.i); | |
QE(a) ? (b = a.s(), bu(b, "R-lc-R")) : (a.o || a.Zf || (b = a.s(), W(b, "R-lc-R")), NE() || Nn(a.u, 10, a)) | |
}; | |
LE.prototype.setEnabled = function(a) { | |
this.s().disabled = !a; | |
var b = this.s(); | |
X(b, "R-lc-R-oa", !a) | |
}; | |
LE.prototype.isEnabled = function() { | |
return !this.s().disabled | |
}; | |
LE.prototype.A = function() { | |
this.o = !1 | |
}; | |
LE.prototype.u = function() { | |
!this.s() || QE(this) || this.Zf || (this.s().value = this.i) | |
}; | |
var RE = function(a, b) { | |
Er.call(this); | |
this.i = a; | |
this.j = this.h = null; | |
this.A = b.get(O); | |
this.o = this.u = !1 | |
}; | |
B(RE, Er); | |
f = RE.prototype; | |
f.S = function() { | |
Er.prototype.S.call(this); | |
this.ba = Jq(JE); | |
var a = this.i.s(); | |
a.setAttribute("aria-autocomplete", "both"); | |
a.setAttribute("aria-owns", "store-search-suggestions") | |
}; | |
f.O = function() { | |
var a = this; | |
Er.prototype.O.call(this); | |
this.B().listen(this.s(), "click", function() { | |
SE(a); | |
a.dispatchEvent(new Vk("n")) | |
}); | |
this.B().listen(this.i.s(), "keydown", function(b) { | |
38 === b.keyCode && b.preventDefault() | |
}); | |
this.B().listen(this.i.s(), "keyup", this.H); | |
this.B().listen(this.i.s(), "focus", this.Qm); | |
this.B().listen(this.i.s(), "blur", this.Pm); | |
this.j = new Mn(200); | |
Qk(this, this.j); | |
this.B().listen(this.j, "tick", function() { | |
a.j.stop(); | |
a.o || SE(a) | |
}); | |
this.B().listen(this.s(), "mouseenter", function() { | |
a.o = !0; | |
a.j.stop() | |
}); | |
this.B().listen(this.s(), "mouseleave", function() { | |
a.o = !1 | |
}); | |
this.B().listen(document, "mouseup", function() { | |
a.j.start() | |
}) | |
}; | |
f.V = function() { | |
var a = this.s(); | |
a && Dm(a); | |
Er.prototype.V.call(this) | |
}; | |
f.Qm = function() { | |
this.o = !0; | |
TE(this) | |
}; | |
f.Pm = function() { | |
this.o = !1 | |
}; | |
var VE = function(a) { | |
Array.from(ra("UgujC", a.g.g)).forEach(function(b) { | |
a.B().listen(b, "mouseover", function(c) { | |
c = c.currentTarget; | |
a.j.stop(); | |
null != c && UE(a, c) | |
}) | |
}); | |
Array.from(ra("UgujC", a.g.g)).forEach(function(b) { | |
a.B().listen(b, "click", function() { | |
a.i.setValue(Wb(a.h)) | |
}) | |
}) | |
}, | |
SE = function(a) { | |
zm(a.s()); | |
a.i.s().removeAttribute("aria-activedescendant"); | |
a.i.s().setAttribute("aria-expanded", "false"); | |
a.u = !1 | |
}, | |
UE = function(a, b) { | |
null != b && (bu(a.h, "KKjvXb"), a.h.removeAttribute("id"), a.h.removeAttribute("aria-selected"), | |
W(b, "KKjvXb"), b.setAttribute("id", "selected-search-option"), b.setAttribute("aria-selected", "true"), a.i.s().setAttribute("aria-activedescendant", "selected-search-option"), a.h = b) | |
}, | |
TE = function(a) { | |
var b = a.i.getValue().toLowerCase(); | |
null == b || Zd(b) ? WE(a) : zz(a.A, function(c) { | |
l(c, 1) === b && (c = l(c, 2), c = XE(c, b), zm(a.s()), c = Jq(KE, { | |
query: b, | |
km: c | |
}), a.s().appendChild(c), VE(a), a.h = Gm(Fm(a.s())), a.i.s().setAttribute("aria-expanded", "true"), a.u = !0) | |
}, function() {}, b) | |
}, | |
XE = function(a, b) { | |
return a.filter(function(c) { | |
return 0 == | |
ae(b, c.substr(0, b.length)) | |
}).slice(0, 7).map(function(c) { | |
return c.toLowerCase().replace(b.toLowerCase(), "") | |
}) | |
}; | |
RE.prototype.H = function(a) { | |
var b = a.keyCode; | |
switch (b) { | |
case 13: | |
case 27: | |
SE(this); | |
break; | |
case 33: | |
case 34: | |
break; | |
case 38: | |
case 40: | |
this.u && (this.j.stop(), a = null, 38 === b ? (b = this.h, a = void 0 !== b.previousElementSibling ? b.previousElementSibling : Em(b.previousSibling, !1), null === a && (a = Gm(Fm(this.s())))) : 40 === b && (a = Hm(this.h), null === a && (a = Fm(Fm(this.s())))), UE(this, a), this.i.setValue(Wb(this.h))); | |
break; | |
default: | |
pt(a) && TE(this) | |
} | |
}; | |
var WE = function(a) { | |
a.h = null; | |
SE(a) | |
}; | |
var YE = function(a, b, c) { | |
b = c || b; | |
a = a.Nr; | |
b = '<div class="' + x("g-na-k") + '"><div class="' + x("g-na-ib-k") + '">' + R("f", !0)(null, b) + '<input class="' + x("h-n-j-Qc-lc") + '" id="searchbox-input" type="text" value="" maxlength="' + x(a) + '" autocomplete="off"/><div class="' + x("na-Fc") + '" role="status"></div><button class="' + x("n-j-Qc-tg") + '" aria-label="'; | |
b += $p("Clear the search box"); | |
return y(b + '"></button></div></div>') | |
}, | |
ZE = function(a) { | |
var b = ""; | |
a = a.Or; | |
switch (fd(a) ? a.toString() : a) { | |
case "searching": | |
b += "Searching..."; | |
break; | |
case "results": | |
b += "Showing results in main region"; | |
break; | |
case "no-results": | |
b += "No results" | |
} | |
return b | |
}; | |
var aF = function(a) { | |
a = void 0 === a ? null : a; | |
Vk.call(this, $E); | |
this.g = a | |
}; | |
B(aF, Vk); | |
var $E = new Uk("o"); | |
var bF = function(a) { | |
Z.call(this, a); | |
this.u = this.h = null; | |
this.J = a.get(O); | |
this.o = fy(this.J); | |
this.H = a; | |
this.A = null == fa().match("/webstore/a/google.com") && V(this.o, "ac"); | |
this.j = null | |
}; | |
B(bF, Z); | |
bF.prototype.clear = function() { | |
this.h.clear(); | |
this.Jg() | |
}; | |
var cF = function(a, b) { | |
U(a, "na-Fc").innerText = Oq(a.i, ZE, { | |
Or: b | |
}) | |
}; | |
f = bF.prototype; | |
f.Tm = function(a) { | |
var b = null; | |
fd(a) && (a = a.aq, "string" === typeof a && "f" != a && (b = a)); | |
this.dispatchEvent(new aF(b)) | |
}; | |
f.S = function() { | |
Z.prototype.S.call(this); | |
this.ba = Mq(this.i, YE, { | |
Nr: 300 | |
}); | |
this.h = new LE; | |
Tr(this, this.h, "h-n-j-Qc-lc"); | |
V(this.o, "mac") && (this.j = new RE(this.h, this.H), Qk(this, this.j), this.ia(this.j, !0)) | |
}; | |
f.O = function() { | |
Z.prototype.O.call(this); | |
var a = D(function() { | |
var b = new dE(this.h.s()); | |
this.B().listen(b, "key", this.sr) | |
}, this); | |
V(this.o, "mac") ? (a(), this.B().listen(this.j, "n", this.Tm)) : (a(), this.B().listen(this.g.g, "keydown", this.gr, !0)); | |
this.u = U(this, "n-j-Qc-tg"); | |
Mo(this.B(), this.u, "click", function() { | |
this.h.reset(); | |
var b = this.h, | |
c = QE(b); | |
b.o = !0; | |
b.s().focus(); | |
c || NE() || (b.s().value = b.i); | |
b.s().select(); | |
NE() || (b.h && b.h.Xa(b.s(), "click", b.jj), Nn(b.A, 10, b)); | |
this.Jg() | |
}, !0, this); | |
Mo(this.B(), this.h.s(), "input", | |
this.Jg, !1, this); | |
this.Jg() | |
}; | |
f.gr = function(a) { | |
if (!this.h.getValue() || !this.A) { | |
var b = this.h.s(); | |
if (Um(this.g.g) == b) switch (a.keyCode) { | |
case 38: | |
case 40: | |
case 33: | |
case 34: | |
a.stopPropagation(), W(b, "n-j-na-ib-Pk-Uk"), b.blur(), Nn(function() { | |
b.focus(); | |
bu(b, "n-j-na-ib-Pk-Uk") | |
}) | |
} | |
} | |
}; | |
f.sr = function(a) { | |
13 == a.keyCode && this.Tm() | |
}; | |
f.Jg = function() { | |
T(this.u, 0 < this.h.getValue().length) | |
}; | |
var ve = { | |
xs: "apps", | |
EXTENSION: "extensions", | |
Zs: "themes", | |
Vs: "platform_apps", | |
Hs: "app/3-games", | |
Xs: "sitelists" | |
}, | |
dF = function(a) { | |
switch (a) { | |
case "application": | |
return "apps"; | |
case "extension": | |
return "extensions"; | |
case "theme": | |
return "themes"; | |
case "game": | |
return "app/3-games"; | |
case "sitelist": | |
return "sitelists"; | |
default: | |
throw Error("Na`" + a); | |
} | |
}, | |
eF = function(a) { | |
switch (a) { | |
case null: | |
return "Search the store"; | |
case "apps": | |
case "platform_apps": | |
return "Search Apps"; | |
case "extensions": | |
return "Search Extensions"; | |
case "themes": | |
return "Search Themes"; | |
case "app/3-games": | |
return "Search Games"; | |
case "sitelists": | |
return "Search Site Lists for Kids"; | |
default: | |
return "Search" | |
} | |
}, | |
fF = function(a) { | |
switch (a) { | |
case null: | |
return null; | |
case "apps": | |
case "platform_apps": | |
return "application"; | |
case "extensions": | |
return "extension"; | |
case "themes": | |
return "theme"; | |
case "for_your_domain": | |
return null; | |
case "app/3-games": | |
return "game"; | |
case "sitelists": | |
return "sitelist"; | |
default: | |
throw Error("Oa`" + a); | |
} | |
}; | |
var gF = new Map([ | |
["overview", new ss("overview", "h-e-f-C-b-x")], | |
["reviews", new ss("reviews", "h-e-f-z-b-x")], | |
["support", new ss("support", "h-e-f-v-b-x")], | |
["related", new ss("related", "h-e-f-ja-b-x")], | |
["internal", new ss("internal", "h-e-f-ya-b-x")] | |
]), | |
hF = new Map([ | |
["h-e-f-C-b-x", new ss("overview", "h-e-f-C-b-x")], | |
["h-e-f-z-b-x", new ss("reviews", "h-e-f-z-b-x")], | |
["h-e-f-v-b-x", new ss("support", "h-e-f-v-b-x")], | |
["h-e-f-ja-b-x", new ss("related", "h-e-f-ja-b-x")], | |
["h-e-f-ya-b-x", new ss("internal", "h-e-f-ya-b-x")] | |
]); | |
var iF = function(a) { | |
var b = a.name, | |
c = a.Zp; | |
a = '<img aria-hidden="true" src="' + x(lq(a.image)) + '" class="' + x("Cc-hc-ra-c-M-u-s") + '"><div class="' + x("Cc-hc-ra-c-M-u-Wb") + '">'; | |
c ? a += A(b) : (b = "For " + A(b), a += b); | |
return y(a + "</div>") | |
}, | |
jF = function(a) { | |
return y("<div>" + iF(a) + "</div>") | |
}, | |
kF = function(a) { | |
a = '<div class="' + x("Cc-hc-ra-c-oa") + '">' + iF(a) + '<div class="' + x("Cc-hc-ra-c-M-u-Mb-Dg") + '">'; | |
return y(a + "Adding</div></div>") | |
}, | |
lF = function(a) { | |
a = '<div class="' + x("Cc-hc-ra-c-oa") + '">' + iF(a) + '<div class="' + x("Cc-hc-ra-c-M-u-Mb-Dg") + | |
'">'; | |
return y(a + "Failed to Add</div></div>") | |
}, | |
mF = function(a) { | |
a = '<div class="' + x("Cc-hc-ra-c-oa") + '">' + iF(a) + '<div class="' + x("Cc-hc-ra-c-M-u-Dd-Dg") + '">'; | |
return y(a + "Added</div></div>") | |
}; | |
var nF = function() { | |
this.g = [] | |
}; | |
E(nF, ND); | |
ad(nF); | |
var oF = function(a, b) { | |
var c = a.g[b]; | |
if (!c) { | |
switch (b) { | |
case 0: | |
c = a.Ga() + "-Ud"; | |
break; | |
case 1: | |
c = a.Ga() + "-Sb"; | |
break; | |
case 2: | |
c = a.Ga() + "-x" | |
} | |
a.g[b] = c | |
} | |
return c | |
}; | |
f = nF.prototype; | |
f.je = function() { | |
return "menuitem" | |
}; | |
f.S = function(a) { | |
var b = a.g.S("DIV", QD(this, a).join(" "), pF(this, a.getContent(), a.g)); | |
qF(this, a, b, VD(a, 8) || VD(a, 16)); | |
return b | |
}; | |
f.Wb = function(a) { | |
return a && a.firstChild | |
}; | |
f.gb = function(a, b) { | |
var c = Fm(b), | |
d = oF(this, 2); | |
c && $t(c, d) || b.appendChild(pF(this, b.childNodes, a.g)); | |
$t(b, "ga-ab") && (a.hf(!0), this.hf(a, b, !0)); | |
return nF.M.gb.call(this, a, b) | |
}; | |
f.setContent = function(a, b) { | |
var c = this.Wb(a), | |
d = rF(this, a) ? c.firstChild : null; | |
nF.M.setContent.call(this, a, b); | |
d && !rF(this, a) && c.insertBefore(d, c.firstChild || null) | |
}; | |
var pF = function(a, b, c) { | |
a = oF(a, 2); | |
return c.S("DIV", a, b) | |
}; | |
nF.prototype.ik = function(a, b, c) { | |
a && b && qF(this, a, b, c) | |
}; | |
nF.prototype.hf = function(a, b, c) { | |
a && b && qF(this, a, b, c) | |
}; | |
var rF = function(a, b) { | |
return (b = a.Wb(b)) ? (b = b.firstChild, a = oF(a, 1), !!b && Im(b) && $t(b, a)) : !1 | |
}, | |
qF = function(a, b, c, d) { | |
UD(a, c, b.Vf()); | |
XD(a, b, c); | |
d != rF(a, c) && (X(c, "ga-ab", d), c = a.Wb(c), d ? (a = oF(a, 1), c.insertBefore(b.g.S("DIV", a), c.firstChild || null)) : c.removeChild(c.firstChild)) | |
}; | |
nF.prototype.i = function(a) { | |
switch (a) { | |
case 2: | |
return oF(this, 0); | |
case 16: | |
case 8: | |
return "ga-ab-Fa"; | |
default: | |
return nF.M.i.call(this, a) | |
} | |
}; | |
nF.prototype.j = function(a) { | |
var b = oF(this, 0); | |
switch (a) { | |
case "ga-ab-Fa": | |
return 16; | |
case b: | |
return 2; | |
default: | |
return nF.M.j.call(this, a) | |
} | |
}; | |
nF.prototype.Ga = function() { | |
return "ga-ma" | |
}; | |
var sF = function() { | |
this.g = [] | |
}; | |
B(sF, nF); | |
sF.prototype.Ga = function() { | |
return "g-ma" | |
}; | |
ad(sF); | |
var tF = function(a) { | |
this.i = a | |
}; | |
ad(tF); | |
var uF = function(a, b) { | |
a && (a.tabIndex = b ? 0 : -1) | |
}; | |
tF.prototype.S = function(a) { | |
return a.g.S("DIV", this.h(a).join(" ")) | |
}; | |
tF.prototype.j = function(a) { | |
return a | |
}; | |
tF.prototype.cb = function(a) { | |
return "DIV" == a.tagName | |
}; | |
var wF = function(a, b, c) { | |
c.id && Gr(b, c.id); | |
var d = a.ad(), | |
e = !1, | |
g = Yt(c); | |
g && qa(g, function(h) { | |
h == d ? e = !0 : h && this.w(b, h, d) | |
}, a); | |
e || W(c, d); | |
vF(a, b, a.j(c)); | |
return c | |
}; | |
tF.prototype.w = function(a, b, c) { | |
b == c + "-oa" ? a.setEnabled(!1) : b == c + "-Ae" ? xF(a, "horizontal") : b == c + "-Zb" && xF(a, "vertical") | |
}; | |
var vF = function(a, b, c) { | |
if (c) | |
for (var d = c.firstChild, e; d && d.parentNode == c;) { | |
e = d.nextSibling; | |
if (1 == d.nodeType) { | |
var g = a.Ui(d); | |
g && (g.ba = d, b.isEnabled() || g.setEnabled(!1), b.ia(g), Lr(g, d)) | |
} else d.nodeValue && "" != $d(d.nodeValue) || c.removeChild(d); | |
d = e | |
} | |
}; | |
tF.prototype.Ui = function(a) { | |
a: { | |
a = Yt(a); | |
for (var b = 0, c = a.length; b < c; b++) { | |
var d = a[b]; | |
if (d = d in $D ? $D[d]() : null) { | |
a = d; | |
break a | |
} | |
} | |
a = null | |
} | |
return a | |
}; | |
tF.prototype.dj = function(a) { | |
a = a.s(); | |
xr(a, !0, xg); | |
F && (a.hideFocus = !0); | |
var b = this.i; | |
b && JD(a, b) | |
}; | |
tF.prototype.ad = function() { | |
return "ga-k" | |
}; | |
tF.prototype.h = function(a) { | |
var b = this.ad(), | |
c = [b, "horizontal" == a.Qd ? b + "-Ae" : b + "-Zb"]; | |
a.isEnabled() || c.push(b + "-oa"); | |
return c | |
}; | |
var yF = function() {}; | |
E(yF, ND); | |
ad(yF); | |
yF.prototype.S = function(a) { | |
return a.g.S("DIV", this.Ga()) | |
}; | |
yF.prototype.gb = function(a, b) { | |
b.id && Gr(a, b.id); | |
if ("HR" == b.tagName) { | |
var c = b; | |
b = this.S(a); | |
Am(b, c); | |
Dm(c) | |
} else W(b, this.Ga()); | |
return b | |
}; | |
yF.prototype.setContent = function() {}; | |
yF.prototype.Ga = function() { | |
return "ga-zh" | |
}; | |
var zF = function(a, b) { | |
kE.call(this, null, a || yF.Fa(), b); | |
this.kb(1, !1); | |
this.kb(2, !1); | |
this.kb(4, !1); | |
this.kb(32, !1); | |
this.Md = 1 | |
}; | |
E(zF, kE); | |
zF.prototype.O = function() { | |
zF.M.O.call(this); | |
var a = this.s(); | |
JD(a, "separator") | |
}; | |
aE("ga-zh", function() { | |
return new zF | |
}); | |
var AF = function(a) { | |
this.i = a || "menu" | |
}; | |
E(AF, tF); | |
ad(AF); | |
f = AF.prototype; | |
f.cb = function(a) { | |
return "UL" == a.tagName || AF.M.cb.call(this, a) | |
}; | |
f.Ui = function(a) { | |
return "HR" == a.tagName ? new zF : AF.M.Ui.call(this, a) | |
}; | |
f.Tc = function(a, b) { | |
return Jm(a.s(), b) | |
}; | |
f.ad = function() { | |
return "ga-M" | |
}; | |
f.dj = function(a) { | |
AF.M.dj.call(this, a); | |
a = a.s(); | |
KD(a, "haspopup", "true") | |
}; | |
var BF = function() { | |
AF.call(this) | |
}; | |
B(BF, AF); | |
BF.prototype.ad = function() { | |
return "g-M" | |
}; | |
var CF = function(a, b, c) { | |
Er.call(this, c); | |
this.Ld = b || tF.Fa(); | |
this.Qd = a || "vertical" | |
}; | |
E(CF, Er); | |
f = CF.prototype; | |
f.Bj = null; | |
f.ie = null; | |
f.Ld = null; | |
f.Qd = null; | |
f.od = !0; | |
f.he = !0; | |
f.Ne = !0; | |
f.hb = -1; | |
f.jb = null; | |
f.Gc = !1; | |
f.ld = null; | |
var DF = function(a) { | |
return a.Bj || a.s() | |
}; | |
f = CF.prototype; | |
f.Bc = function() { | |
return this.Ld | |
}; | |
f.S = function() { | |
this.ba = this.Ld.S(this) | |
}; | |
f.Dc = function() { | |
return this.Ld.j(this.s()) | |
}; | |
f.cb = function(a) { | |
return this.Ld.cb(a) | |
}; | |
f.oa = function(a) { | |
this.ba = wF(this.Ld, this, a); | |
"none" == a.style.display && (this.od = !1) | |
}; | |
f.O = function() { | |
CF.M.O.call(this); | |
Mr(this, function(b) { | |
b.za && EF(this, b) | |
}, this); | |
var a = this.s(); | |
this.Ld.dj(this); | |
this.ja(this.od, !0); | |
this.B().listen(this, "enter", this.ij).listen(this, "highlight", this.pp).listen(this, "unhighlight", this.rp).listen(this, "open", this.Kp).listen(this, "close", this.op).listen(a, ml.Ge, this.qp).listen(im(a), [ml.He, ml.Cf], this.yp).listen(a, [ml.Ge, ml.He, ml.Cf, "mouseover", "mouseout", "contextmenu"], this.wp); | |
this.Ne && FF(this, !0) | |
}; | |
var FF = function(a, b) { | |
var c = a.B(), | |
d = DF(a); | |
b ? c.listen(d, "focus", a.ej).listen(d, "blur", a.lh).listen(a.ie || (a.ie = new dE(DF(a))), "key", a.Xb) : c.Aa(d, "focus", a.ej).Aa(d, "blur", a.lh).Aa(a.ie || (a.ie = new dE(DF(a))), "key", a.Xb) | |
}; | |
f = CF.prototype; | |
f.qa = function() { | |
this.Jc(-1); | |
this.jb && this.jb.Ma(!1); | |
this.Gc = !1; | |
CF.M.qa.call(this) | |
}; | |
f.V = function() { | |
CF.M.V.call(this); | |
this.ie && (this.ie.dispose(), this.ie = null); | |
this.Ld = this.jb = this.ld = this.Bj = null | |
}; | |
f.ij = function() { | |
return !0 | |
}; | |
f.pp = function(a) { | |
var b = Rr(this, a.target); | |
if (-1 < b && b != this.hb) { | |
var c = GF(this); | |
c && c.Cb(!1); | |
this.hb = b; | |
c = GF(this); | |
this.Gc && pE(c, !0); | |
this.jb && c != this.jb && (VD(c, 64) ? c.Ma(!0) : this.jb.Ma(!1)) | |
} | |
b = this.s(); | |
null != a.target.s() && KD(b, "activedescendant", a.target.s().id) | |
}; | |
f.rp = function(a) { | |
a.target == GF(this) && (this.hb = -1); | |
this.s().removeAttribute("aria-activedescendant") | |
}; | |
f.Kp = function(a) { | |
(a = a.target) && a != this.jb && a.getParent() == this && (this.jb && this.jb.Ma(!1), this.jb = a) | |
}; | |
f.op = function(a) { | |
a.target == this.jb && (this.jb = null); | |
var b = this.s(), | |
c = a.target.s(); | |
b && WD(a.target, 2) && c && MD(b, c) | |
}; | |
f.qp = function(a) { | |
this.he && (this.Gc = !0); | |
var b = DF(this); | |
b && Om(b) && Pm(b) ? b.focus() : a.preventDefault() | |
}; | |
f.yp = function() { | |
this.Gc = !1 | |
}; | |
f.wp = function(a) { | |
a: { | |
var b = a.target; | |
if (this.ld) | |
for (var c = this.s(); b && b !== c;) { | |
var d = b.id; | |
if (d in this.ld) { | |
b = this.ld[d]; | |
break a | |
} | |
b = b.parentNode | |
} | |
b = null | |
} | |
if (b) switch (a.type) { | |
case ml.Ge: | |
b.ke(a); | |
break; | |
case ml.He: | |
case ml.Cf: | |
b.rd(a); | |
break; | |
case "mouseover": | |
b.qd(a); | |
break; | |
case "mouseout": | |
b.da(a); | |
break; | |
case "contextmenu": | |
b.J(a) | |
} | |
}; | |
f.ej = function() {}; | |
f.lh = function() { | |
this.Jc(-1); | |
this.Gc = !1; | |
this.jb && this.jb.Ma(!1) | |
}; | |
f.Xb = function(a) { | |
return this.isEnabled() && this.isVisible() && (0 != Nr(this) || this.Bj) && this.Ec(a) ? (a.preventDefault(), a.stopPropagation(), !0) : !1 | |
}; | |
f.Ec = function(a) { | |
var b = GF(this); | |
if (b && "function" == typeof b.Xb && b.Xb(a) || this.jb && this.jb != b && "function" == typeof this.jb.Xb && this.jb.Xb(a)) return !0; | |
if (a.shiftKey || a.ctrlKey || a.metaKey || a.altKey) return !1; | |
switch (a.keyCode) { | |
case 27: | |
if (this.Ne) DF(this).blur(); | |
else return !1; | |
break; | |
case 36: | |
HF(this); | |
break; | |
case 35: | |
IF(this); | |
break; | |
case 38: | |
if ("vertical" == this.Qd) JF(this); | |
else return !1; | |
break; | |
case 37: | |
if ("horizontal" == this.Qd) Pr(this) ? KF(this) : JF(this); | |
else return !1; | |
break; | |
case 40: | |
if ("vertical" == this.Qd) KF(this); | |
else return !1; | |
break; | |
case 39: | |
if ("horizontal" == this.Qd) Pr(this) ? JF(this) : KF(this); | |
else return !1; | |
break; | |
default: | |
return !1 | |
} | |
return !0 | |
}; | |
var EF = function(a, b) { | |
var c = b.s(); | |
c = c.id || (c.id = b.getId()); | |
a.ld || (a.ld = {}); | |
a.ld[c] = b | |
}; | |
CF.prototype.ia = function(a, b) { | |
CF.M.ia.call(this, a, b) | |
}; | |
CF.prototype.Ie = function(a, b, c) { | |
a.Ce |= 2; | |
a.Ce |= 64; | |
a.kb(32, !1); | |
mE(a, !1); | |
var d = a.getParent() == this ? Rr(this, a) : -1; | |
CF.M.Ie.call(this, a, b, c); | |
a.za && this.za && EF(this, a); | |
a = d; - 1 == a && (a = Nr(this)); | |
a == this.hb ? this.hb = Math.min(Nr(this) - 1, b) : a > this.hb && b <= this.hb ? this.hb++ : a < this.hb && b > this.hb && this.hb-- | |
}; | |
CF.prototype.removeChild = function(a, b) { | |
if (a = "string" === typeof a ? Ir(this, a) : a) { | |
var c = Rr(this, a); - 1 != c && (c == this.hb ? (a.Cb(!1), this.hb = -1) : c < this.hb && this.hb--); | |
(c = a.s()) && c.id && this.ld && ye(this.ld, c.id) | |
} | |
a = CF.M.removeChild.call(this, a, b); | |
mE(a, !0); | |
return a | |
}; | |
var xF = function(a, b) { | |
if (a.s()) throw Error("L"); | |
a.Qd = b | |
}; | |
CF.prototype.isVisible = function() { | |
return this.od | |
}; | |
CF.prototype.ja = function(a, b) { | |
if (b || this.od != a && this.dispatchEvent(a ? "show" : "hide")) { | |
this.od = a; | |
var c = this.s(); | |
c && (T(c, a), this.Ne && uF(DF(this), this.he && this.od), b || this.dispatchEvent(this.od ? "aftershow" : "afterhide")); | |
return !0 | |
} | |
return !1 | |
}; | |
CF.prototype.isEnabled = function() { | |
return this.he | |
}; | |
CF.prototype.setEnabled = function(a) { | |
this.he != a && this.dispatchEvent(a ? "enable" : "disable") && (a ? (this.he = !0, Mr(this, function(b) { | |
b.xn ? delete b.xn : b.setEnabled(!0) | |
})) : (Mr(this, function(b) { | |
b.isEnabled() ? b.setEnabled(!1) : b.xn = !0 | |
}), this.Gc = this.he = !1), this.Ne && uF(DF(this), a && this.od)) | |
}; | |
var LF = function(a, b) { | |
b != a.Ne && a.za && FF(a, b); | |
a.Ne = b; | |
a.he && a.od && uF(DF(a), b) | |
}; | |
CF.prototype.Jc = function(a) { | |
(a = Or(this, a)) ? a.Cb(!0): -1 < this.hb && GF(this).Cb(!1) | |
}; | |
CF.prototype.Cb = function(a) { | |
this.Jc(Rr(this, a)) | |
}; | |
var GF = function(a) { | |
return Or(a, a.hb) | |
}, | |
HF = function(a) { | |
MF(a, function(b, c) { | |
return (b + 1) % c | |
}, Nr(a) - 1) | |
}, | |
IF = function(a) { | |
MF(a, function(b, c) { | |
b--; | |
return 0 > b ? c - 1 : b | |
}, 0) | |
}, | |
KF = function(a) { | |
MF(a, function(b, c) { | |
return (b + 1) % c | |
}, a.hb) | |
}, | |
JF = function(a) { | |
MF(a, function(b, c) { | |
b--; | |
return 0 > b ? c - 1 : b | |
}, a.hb) | |
}, | |
MF = function(a, b, c) { | |
c = 0 > c ? Rr(a, a.jb) : c; | |
var d = Nr(a); | |
c = b.call(a, c, d); | |
for (var e = 0; e <= d;) { | |
var g = Or(a, c); | |
if (g && a.Vk(g)) { | |
a.gk(c); | |
break | |
} | |
e++; | |
c = b.call(a, c, d) | |
} | |
}; | |
CF.prototype.Vk = function(a) { | |
return a.isVisible() && a.isEnabled() && VD(a, 2) | |
}; | |
CF.prototype.gk = function(a) { | |
this.Jc(a) | |
}; | |
var NF = function() {}; | |
E(NF, ND); | |
ad(NF); | |
NF.prototype.Ga = function() { | |
return "ga-ul" | |
}; | |
var OF = function(a, b, c) { | |
kE.call(this, a, c || NF.Fa(), b); | |
this.kb(1, !1); | |
this.kb(2, !1); | |
this.kb(4, !1); | |
this.kb(32, !1); | |
this.Md = 1 | |
}; | |
E(OF, kE); | |
aE("ga-ul", function() { | |
return new OF(null) | |
}); | |
var PF = function(a, b, c, d) { | |
kE.call(this, a, d || nF.Fa(), c); | |
this.setValue(b) | |
}; | |
E(PF, kE); | |
f = PF.prototype; | |
f.getValue = function() { | |
var a = this.sb(); | |
return null != a ? a : this.Xc() | |
}; | |
f.setValue = function(a) { | |
this.cj = a | |
}; | |
f.kb = function(a, b) { | |
PF.M.kb.call(this, a, b); | |
switch (a) { | |
case 8: | |
this.Yb() && !b && this.Bd(!1); | |
(a = this.s()) && this.Bc().ik(this, a, b); | |
break; | |
case 16: | |
(a = this.s()) && this.Bc().hf(this, a, b) | |
} | |
}; | |
f.ik = function(a) { | |
this.kb(8, a) | |
}; | |
f.hf = function(a) { | |
this.kb(16, a) | |
}; | |
f.Xc = function() { | |
var a = this.getContent(); | |
return Array.isArray(a) ? (a = ud(a, function(b) { | |
return Im(b) && ($t(b, "ga-ma-cj") || $t(b, "ga-ma-wl-xc")) ? "" : Rm(b) | |
}).join(""), bg(a)) : PF.M.Xc.call(this) | |
}; | |
f.rd = function(a) { | |
var b = this.getParent(); | |
if (b) { | |
var c = b.j; | |
b.j = null; | |
if (b = c && "number" === typeof a.clientX) b = new cm(a.clientX, a.clientY), b = c == b ? !0 : c && b ? c.x == b.x && c.y == b.y : !1; | |
if (b) return | |
} | |
PF.M.rd.call(this, a) | |
}; | |
f.Ec = function(a) { | |
return a.keyCode == this.Jj && this.Ob(a) ? !0 : PF.M.Ec.call(this, a) | |
}; | |
f.bp = function() { | |
return this.Jj | |
}; | |
aE("ga-ma", function() { | |
return new PF(null) | |
}); | |
PF.prototype.Vf = function() { | |
return VD(this, 16) ? "menuitemcheckbox" : VD(this, 8) ? "menuitemradio" : PF.M.Vf.call(this) | |
}; | |
PF.prototype.getParent = function() { | |
return kE.prototype.getParent.call(this) | |
}; | |
PF.prototype.Oe = function() { | |
return kE.prototype.Oe.call(this) | |
}; | |
var QF = function(a) { | |
zF.call(this, yF.Fa(), a) | |
}; | |
E(QF, zF); | |
aE("ga-zh", function() { | |
return new zF | |
}); | |
var RF = function(a, b) { | |
CF.call(this, "vertical", b || AF.Fa(), a); | |
LF(this, !1) | |
}; | |
E(RF, CF); | |
f = RF.prototype; | |
f.Df = !0; | |
f.Tc = function(a) { | |
if (this.Bc().Tc(this, a)) return !0; | |
for (var b = 0, c = Nr(this); b < c; b++) { | |
var d = Or(this, b); | |
if ("function" == typeof d.Tc && d.Tc(a)) return !0 | |
} | |
return !1 | |
}; | |
f.ja = function(a, b, c) { | |
(b = RF.M.ja.call(this, a, b)) && a && this.za && this.Df && DF(this).focus(); | |
a && c && "number" === typeof c.clientX ? this.j = new cm(c.clientX, c.clientY) : this.j = null; | |
return b | |
}; | |
f.ij = function(a) { | |
this.Df && DF(this).focus(); | |
return RF.M.ij.call(this, a) | |
}; | |
f.Vk = function(a) { | |
return a.isEnabled() && a.isVisible() && VD(a, 2) | |
}; | |
f.oa = function(a) { | |
for (var b = this.Bc(), c = lm(this.g.g, "DIV", b.ad() + "-x", a), d = c.length, e = 0; e < d; e++) vF(b, this, c[e]); | |
RF.M.oa.call(this, a) | |
}; | |
f.Ec = function(a) { | |
var b = RF.M.Ec.call(this, a); | |
b || Mr(this, function(c) { | |
!b && c.bp && c.Jj == a.keyCode && (this.isEnabled() && this.Cb(c), b = c.Xb(a)) | |
}, this); | |
return b | |
}; | |
f.Jc = function(a) { | |
RF.M.Jc.call(this, a); | |
if (a = Or(this, a)) { | |
var b = a.s(); | |
a = this.s() || qm(document); | |
var c = a || qm(document); | |
var d = mr(b), | |
e = mr(c), | |
g = Cr(c); | |
if (c == qm(document)) { | |
var h = d.x - c.scrollLeft; | |
d = d.y - c.scrollTop; | |
F && !Pg(10) && (h += g.left, d += g.top) | |
} else h = d.x - e.x - g.left, d = d.y - e.y - g.top; | |
b = sr(b); | |
g = c.clientHeight - b.height; | |
e = c.scrollLeft; | |
var k = c.scrollTop; | |
e += Math.min(h, Math.max(h - (c.clientWidth - b.width), 0)); | |
k += Math.min(d, Math.max(d - g, 0)); | |
c = new cm(e, k); | |
a.scrollLeft = c.x; | |
a.scrollTop = c.y | |
} | |
}; | |
var SF = function(a, b, c, d) { | |
Ht.call(this, a, b); | |
this.w = c ? 5 : 0; | |
this.o = d || void 0 | |
}; | |
E(SF, Ht); | |
SF.prototype.u = function() { | |
return this.w | |
}; | |
SF.prototype.h = function(a) { | |
this.w = a | |
}; | |
SF.prototype.g = function(a, b, c, d) { | |
var e = Et(this.i, this.j, a, b, null, c, 10, d, this.o); | |
if (e & 496) { | |
var g = TF(e, this.j); | |
b = TF(e, b); | |
e = Et(this.i, g, a, b, null, c, 10, d, this.o); | |
e & 496 && (g = TF(e, g), b = TF(e, b), Et(this.i, g, a, b, null, c, this.w, d, this.o)) | |
} | |
}; | |
var TF = function(a, b) { | |
a & 48 && (b ^= 4); | |
a & 192 && (b ^= 1); | |
return b | |
}; | |
var UF = function(a, b, c, d) { | |
SF.call(this, a, b, c || d); | |
(c || d) && this.h(65 | (d ? 32 : 132)) | |
}; | |
E(UF, SF); | |
var VF = function(a, b) { | |
this.i = a instanceof cm ? a : new cm(a, b) | |
}; | |
E(VF, wt); | |
VF.prototype.g = function(a, b, c, d) { | |
var e = im(a); | |
var g = e.body; | |
e = e.documentElement; | |
e = new cm(g.scrollLeft || e.scrollLeft, g.scrollTop || e.scrollTop); | |
g = this.i.x + e.x; | |
e = this.i.y + e.y; | |
var h = Bt(a); | |
g -= h.x; | |
e -= h.y; | |
Dt(new cm(g, e), a, b, c, null, null, d) | |
}; | |
var WF = function(a, b) { | |
VF.call(this, a, b) | |
}; | |
E(WF, VF); | |
WF.prototype.j = 0; | |
WF.prototype.h = function(a) { | |
this.j = a | |
}; | |
WF.prototype.g = function(a, b, c, d) { | |
var e = jr(a); | |
e = nr(e); | |
var g = qm(da(a).g); | |
g = new cm(this.i.x + g.scrollLeft, this.i.y + g.scrollTop); | |
var h = b, | |
k = Dt(g, a, h, c, e, 10, d); | |
if (0 != (k & 496)) { | |
if (k & 16 || k & 32) h ^= 4; | |
if (k & 64 || k & 128) h ^= 1; | |
k = Dt(g, a, h, c, e, 10, d); | |
0 != (k & 496) && Dt(g, a, b, c, e, this.j, d) | |
} | |
}; | |
var XF = function(a, b) { | |
RF.call(this, a, b); | |
this.Df = !0; | |
LF(this, !0); | |
this.ja(!1, !0); | |
this.i = new jp | |
}; | |
E(XF, RF); | |
XF.prototype.h = !1; | |
XF.prototype.u = 0; | |
XF.prototype.oa = function(a) { | |
XF.M.oa.call(this, a); | |
(a = a.getAttribute("for") || a.htmlFor) && YF(this, this.g.s(a), 1) | |
}; | |
XF.prototype.O = function() { | |
XF.M.O.call(this); | |
this.i.forEach(this.o, this); | |
var a = this.B(); | |
a.listen(this, "action", this.J); | |
a.listen(this.g.g, "mousedown", this.L, !0) | |
}; | |
var YF = function(a, b, c, d, e, g) { | |
b && mp(a.i, id(b)) || (b ? (c = { | |
ba: b, | |
pn: c, | |
uq: d, | |
Oi: e ? "contextmenu" : "mousedown", | |
sm: g | |
}, a.i.set(id(b), c)) : c = null, a.za && a.o(c), b = ld(a.P, b), a.s() && a.B().listen(a.s(), "keydown", b)) | |
}; | |
XF.prototype.P = function(a, b) { | |
if (27 == b.keyCode) a.focus(); | |
else if (a = Or(this, this.hb)) { | |
a = a.s(); | |
var c = new ol(b.g, a); | |
c.target = a; | |
if (32 == b.keyCode || 13 == b.keyCode) tl(a) ? Tl(a, "keydown", !1, c) : Pl(a, "keydown", !1, c); | |
32 == b.keyCode && this.hide() | |
} | |
}; | |
XF.prototype.o = function(a) { | |
this.B().listen(a.ba, a.Oi, this.H); | |
"contextmenu" != a.Oi && this.B().listen(a.ba, "keydown", this.U) | |
}; | |
var $F = function(a, b, c, d) { | |
var e = a.isVisible(); | |
ZF(a) && a.h ? a.hide() : a.dispatchEvent("beforeshow") && (c = "undefined" != typeof c ? c : 8, e || (a.s().style.visibility = "hidden"), T(a.s(), !0), b.g(a.s(), c, d), e || (a.s().style.visibility = "visible"), a.Jc(-1), a.ja(!0)) | |
}; | |
XF.prototype.hide = function() { | |
this.isVisible() && (this.ja(!1), this.isVisible() || (this.u = tc())) | |
}; | |
var ZF = function(a) { | |
return a.isVisible() || aG(a) | |
}, | |
aG = function(a) { | |
return 150 > tc() - a.u | |
}; | |
XF.prototype.J = function() { | |
this.hide() | |
}; | |
XF.prototype.H = function(a) { | |
bG(this, a) | |
}; | |
XF.prototype.U = function(a) { | |
32 != a.keyCode && 13 != a.keyCode && 40 != a.keyCode || bG(this, a); | |
40 == a.keyCode && HF(this) | |
}; | |
var bG = function(a, b) { | |
for (var c = a.i.rb(), d = 0; d < c.length; d++) { | |
var e = a.i.get(c[d]); | |
if (e.ba == b.currentTarget) { | |
c = void 0 !== e.pn ? new SF(e.ba, e.pn, !0) : new WF(b.clientX, b.clientY); | |
c.h && c.h(5); | |
$F(a, c, e.uq, e.sm); | |
b.preventDefault(); | |
b.stopPropagation(); | |
break | |
} | |
} | |
}; | |
XF.prototype.L = function(a) { | |
this.isVisible() && !this.Tc(a.target) && this.hide() | |
}; | |
XF.prototype.lh = function(a) { | |
XF.M.lh.call(this, a); | |
this.hide() | |
}; | |
XF.prototype.V = function() { | |
XF.M.V.call(this); | |
this.i && (this.i.clear(), delete this.i) | |
}; | |
var cG = function(a, b) { | |
XF.call(this, a, b) | |
}; | |
B(cG, XF); | |
var fG = function(a, b, c, d) { | |
var e = dG, | |
g = eG, | |
h = g, | |
k = Vb(a), | |
m = c, | |
p = .25, | |
q = .25; | |
if (b) { | |
h = .25 * g; | |
m = Vb(b); | |
var t = or(b); | |
p = P("U-d-l", b); | |
b = m; | |
p && (p = Vb(p), p.height > m.height && p.width > m.width && (b = p)); | |
p = q = b.height / k.height; | |
m = new cm(t.x + .5 * m.width, t.y + .5 * m.height); | |
c = new cm(c.x + k.width / 2, c.y + k.height / 2); | |
m.y -= 11 | |
} | |
k = new pD; | |
c = new ua(a, g, { | |
"-webkit-transform": "translate3d(" + (m.x - c.x) + "px, " + (m.y - c.y) + "px, 0) scale3d(" + p + ", " + q + ", 1)" | |
}, { | |
"-webkit-transform": "" | |
}, [{ | |
Bb: "-webkit-transform", | |
duration: g, | |
timing: e, | |
delay: 0 | |
}]); | |
h = new ua(Fm(a), | |
h, { | |
opacity: 0 | |
}, { | |
opacity: "" | |
}, [{ | |
Bb: "opacity", | |
duration: h, | |
timing: e, | |
delay: 0 | |
}]); | |
W(a, "f-xf-f-Cj"); | |
Dl(c, "end", function() { | |
bu(a, "f-xf-f-Cj") | |
}); | |
k.add(c); | |
k.add(h); | |
d && k.add(new ua(d, g, { | |
"background-color": "rgba(255, 255, 255, 0.0)" | |
}, { | |
"background-color": "rgba(255, 255, 255, 0.55)" | |
}, [{ | |
Bb: "all", | |
duration: g - .02, | |
timing: e, | |
delay: .02 | |
}])); | |
return k | |
}, | |
dG = "cubic-bezier(0.1,0.8,0.6,1.0)", | |
eG = .4; | |
var gG = function(a) { | |
Z.call(this, a); | |
this.J = null; | |
this.H = this.v.get(Lk); | |
this.Ka = null; | |
this.ca = !1; | |
this.u = null; | |
this.bb = this.fb = !0 | |
}; | |
B(gG, Z); | |
f = gG.prototype; | |
f.S = function() { | |
Z.prototype.S.call(this); | |
var a = this.s(); | |
this.gg() && W(a, "sf-f"); | |
W(a, "f-rd") | |
}; | |
f.gg = function() { | |
return !0 | |
}; | |
f.Mh = function() { | |
return null | |
}; | |
f.O = function() { | |
Z.prototype.O.call(this); | |
T(this.s(), !1); | |
Nm(this.s(), !0); | |
JD(this.s(), "dialog"); | |
$w(this.H, !0, this.gg()); | |
this.u || (this.u = Zm(this.g, "SPAN"), T(this.u, !1), Nm(this.u, !0), this.u.style.position = "absolute"); | |
Bm(this.u, this.s()); | |
this.Ka = new Gt(this.g.g); | |
this.B().listen(this.Ka, "focusin", this.jr); | |
if (this.Ff()) { | |
var a = Zw(this.H); | |
null != a && this.B().listen(a, "click", this.Yq); | |
(a = U(this, "f-kb-c")) && this.B().listen(a, "click", this.Hc) | |
} | |
this.B().listen(ca(this.g), "resize", this.ve); | |
this.fb && (a = this.Mh()) && | |
(document.title = a) | |
}; | |
f.qa = function() { | |
this.ca && this.ja(!1); | |
Pk(this.Ka); | |
Z.prototype.qa.call(this); | |
Dm(this.u); | |
$w(this.H, !1, this.gg()) | |
}; | |
f.V = function() { | |
Z.prototype.V.call(this) | |
}; | |
var hG = function(a) { | |
var b = rm(a.g.g) || window; | |
a = Vb(a.s()); | |
b = pm(b || window); | |
return new cm(Math.round(Math.max(b.width / 2 - a.width / 2, 0)), Math.round(Math.max(b.height / 2 - a.height / 2, 0))) | |
}; | |
f = gG.prototype; | |
f.ve = function() { | |
if (this.en()) { | |
var a = rm(this.g.g) || window, | |
b = Vb(this.s()), | |
c = pm(a || window); | |
a = Math.max(0, c.width / 2 - b.width / 2); | |
b = Math.max(0, c.height / 2 - b.height / 2); | |
ir(this.s(), a, b); | |
ir(this.u, a, b) | |
} | |
}; | |
f.en = function() { | |
return !0 | |
}; | |
f.jr = function(a) { | |
a.target == this.u && Nn(this.cf, 0, this) | |
}; | |
f.cf = function() { | |
try { | |
F && this.g.g.body.focus(), this.s().focus() | |
} catch (a) {} | |
}; | |
f.ja = function(a) { | |
if (a != this.ca) { | |
if (!this.za) { | |
var b = this.v.get(Lk); | |
this.render(Zw(b)) | |
} | |
a ? (this.ve(), T(this.s(), !0), T(this.u, !0), this.ca = !0, this.B().listen(this.s(), "keydown", this.Nh), this.B().listen(this.s(), "keypress", this.Nh)) : (this.J && X(this.J, "f-mn", !1), T(this.s(), !1), T(this.u, !1), this.ca = !1, this.B().Aa(this.s(), "keydown", this.Nh), this.B().Aa(this.s(), "keypress", this.Nh), this.dispatchEvent("dismiss"), this.dispose()) | |
} | |
}; | |
f.Nh = function(a) { | |
var b = !1, | |
c = !1, | |
d = a.target; | |
"keydown" == a.type && (this.Ff() && 27 == a.keyCode ? b = !0 : 9 == a.keyCode && a.shiftKey && d == this.s() && (c = !0)); | |
if (b || c) a.stopPropagation(), a.preventDefault(); | |
b && this.Hc() | |
}; | |
f.Hc = function() { | |
this.dispatchEvent("onClose"); | |
this.bb && this.ja(!1) | |
}; | |
f.Yq = function(a) { | |
a.target === Zw(this.H) && this.Hc() | |
}; | |
f.Ff = function() { | |
return !0 | |
}; | |
f.isVisible = function() { | |
return this.ca | |
}; | |
var iG = function(a, b, c) { | |
b = Tm(b, null, "a-d", void 0) || Tm(b, null, "i-da", void 0); | |
a.J = b; | |
a.J && X(a.J, "f-mn", !0); | |
b = a.s(); | |
if (a.xh(c)) b = fG(b, a.J, hG(a), Zw(a.H)); | |
else { | |
a = Zw(a.H); | |
c = dG; | |
var d = eG, | |
e = new pD; | |
e.add(new ua(b, d, { | |
opacity: 0 | |
}, { | |
opacity: "" | |
}, { | |
Bb: "opacity", | |
duration: d, | |
timing: c, | |
delay: 0 | |
})); | |
a && e.add(new ua(a, d, { | |
"background-color": "rgba(255, 255, 255, 0.0)" | |
}, { | |
"background-color": "white" | |
}, { | |
Bb: "all", | |
duration: d, | |
timing: c, | |
delay: 0 | |
})); | |
b = e | |
} | |
return b | |
}; | |
gG.prototype.xh = function(a) { | |
var b = this.v.get(Kk).Va(), | |
c = fs(fy(this.v.get(O)), "dda"); | |
return b && "zoom" == c || 2 == a && !(b && "fade" == c) | |
}; | |
var jG = function(a) { | |
var b = a.s(), | |
c = Zw(a.H); | |
if (a.v.get(Kk).Va()) { | |
var d = new vp(window.location.search.substring(1)); | |
var e = d.get("dialogHideAnimationTiming"); | |
d = parseInt(d.get("dialogHideAnimationDuration"), 10) | |
} | |
e = e || dG; | |
d = d / 1E3 || .15; | |
a = [{ | |
Bb: "opacity", | |
duration: d, | |
timing: e, | |
delay: 0 | |
}]; | |
var g = new pD; | |
g.add(new ua(b, d, {}, { | |
opacity: 0 | |
}, a)); | |
c && g.add(new ua(c, d, {}, { | |
"background-color": "rgba(255, 255, 255, 0.0)" | |
}, [{ | |
Bb: "all", | |
duration: d, | |
timing: e, | |
delay: 0 | |
}])); | |
return g | |
}; | |
var kG = function(a) { | |
a = a || {}; | |
a = a.N; | |
return y('<div class="' + x("f-kb-c") + (a ? " " + x(a) : "") + '"><div class="' + x("f-kb-tg") + '"></div></div>') | |
}; | |
var mG = function(a, b, c) { | |
b = c || b; | |
c = a.ei; | |
var d = a.Qc, | |
e = a.Lo; | |
a = y; | |
c = '<div class="' + x("le-f") + '">' + (e ? '<div class="' + x("le-f-w") + " " + x("f-w") + '">' + lG() + '<h3 class="' + x("le-f-w-wi") + '">' + A(e) + "</h3></div>" : lG()) + '<div class="' + x("f-x") + " " + x("le-f-x") + '"><div class="' + x("le-f-db") + '">' + A(c) + '</div><div class="' + x("f-Jb") + " " + x("le-f-Jb") + '">' + ED({ | |
N: "f-c-zb", | |
Ha: d | |
}, b); | |
d = d = { | |
N: "f-c-Fb" | |
}; | |
b = "" + DD({ | |
Y: d.N, | |
Ha: "Cancel", | |
Eb: "g-c-Ya", | |
nc: "g-Hg-ua-Kb-c-za" | |
}, b); | |
b = y(b); | |
return a(c + b + "</div></div></div>") | |
}, | |
lG = function() { | |
return y(kG({ | |
N: "h-le-f-kb-c" | |
})) | |
}; | |
var nG = function(a, b, c, d) { | |
gG.call(this, a); | |
this.ei = b; | |
this.h = d || new Zx; | |
this.o = c | |
}; | |
B(nG, gG); | |
nG.prototype.S = function() { | |
gG.prototype.S.call(this); | |
Nq(this.i, this.s(), mG, { | |
ei: this.ei, | |
Lo: this.h.i, | |
Qc: this.h.h | |
}) | |
}; | |
nG.prototype.O = function() { | |
gG.prototype.O.call(this); | |
var a = U(this, "f-c-zb"); | |
a && (this.h.j ? (a = new zE, Tr(this, a, "f-c-zb"), this.B().listen(a, "action", this.P)) : T(a, !1)); | |
if (a = U(this, "f-c-Fb")) this.h.g ? (a = new zE, Tr(this, a, "f-c-Fb"), this.B().listen(a, "action", this.Hc)) : T(a, !1) | |
}; | |
nG.prototype.P = function() { | |
this.dispatchEvent("onClose"); | |
this.ja(!1); | |
this.o(!0) | |
}; | |
nG.prototype.Hc = function() { | |
gG.prototype.Hc.call(this); | |
this.o(!1) | |
}; | |
var tG = function(a, b, c, d, e, g, h, k) { | |
e = void 0 === e ? "small" : e; | |
g = void 0 === g ? "g-c-wb" : g; | |
h = void 0 === h ? null : h; | |
k = void 0 === k ? !1 : k; | |
var m, p = "g-c-nb" == g || "g-c-Ya" == g; | |
k ? m = p ? void 0 : "g-c-Ya-vk-s" : m = p ? "g-c-Kg-th-mb-s" : "g-c-Ya-th-mb-s"; | |
p = Hq(a).g; | |
var q = k ? "Add for" : void 0; | |
c = c.filter(function(w) { | |
return 9 != aa(b) || l(Sj(w), 2) ? !0 : !1 | |
}); | |
var t = 0 < c.length, | |
v = L(b, 61) || !1; | |
zE.call(this, m, q, g, e, k ? "g-eg-ua-Uc-c-za" : "g-Uc-ua-Uc-c-za", k ? "g-eg-ua-Kb-c-za" : "g-Kb-ua-Kb-c-za", t && v, void 0, p, void 0, k && t); | |
this.v = a; | |
this.j = b; | |
this.ha = c; | |
e = oG(a, this.j, | |
this.ha); | |
if (!e) throw Error("Qa"); | |
a = a.get(Ek); | |
this.ea = e && V(a, "ria"); | |
this.Tb = d; | |
this.kb(64, !0); | |
this.na = new Map; | |
this.Fb = h; | |
this.ab = []; | |
this.mb = !!k; | |
this.P = pG("https://ssl.gstatic.com/chrome/webstore/images/ic_supervisor_account_grey600_2x_web_24dp.png", "All Supervised Users", qG(this)); | |
this.fa = pG("https://ssl.gstatic.com/chrome/webstore/images/ic_account_child_grey600_2x_web_24dp.png", "All the Kids", rG(this)); | |
this.i = sG(this); | |
this.ca = null | |
}; | |
B(tG, zE); | |
tG.prototype.dispose = function() { | |
zE.prototype.dispose.call(this); | |
this.ca && this.ca.ja(!1) | |
}; | |
var sG = function(a) { | |
var b = new cG(a.g, new BF); | |
a.ha.forEach(function(c) { | |
if (c.getName() && (9 !== aa(a.j) || l(Sj(c), 2))) { | |
var d = new PF(Jq(jF, { | |
image: uG(c), | |
name: c.getName(), | |
Zp: a.mb | |
}), c, null, sF.Fa()); | |
a.na.set(Sj(c), d); | |
b.ia(d, !0); | |
a.ab.push(d); | |
l(c, 4).includes(a.j.Z()) && vG(a, "installed", c) | |
} | |
}); | |
a.ea && (b.ia(a.fa, !0), b.ia(a.P, !0), wG(a)); | |
return b | |
}, | |
pG = function(a, b, c) { | |
return new PF(Jq(jF, { | |
image: a, | |
name: b | |
}), c, null, sF.Fa()) | |
}, | |
qG = function(a) { | |
return a.ha.filter(function(b) { | |
return null != l(Sj(b), 1) | |
}) | |
}, | |
rG = function(a) { | |
return a.ha.filter(function(b) { | |
return null != | |
l(Sj(b), 2) | |
}) | |
}, | |
xG = function(a, b) { | |
return b.filter(function(c) { | |
return l(c, 4).includes(a.j.Z()) | |
}).length === b.length | |
}, | |
wG = function(a) { | |
var b = qG(a); | |
a.P.ja(a.ea && !xG(a, b) && 0 < b.length); | |
b = rG(a); | |
a.fa.ja(a.ea && !xG(a, b) && 0 < b.length) | |
}, | |
vG = function(a, b, c) { | |
var d = Sj(c); | |
a.na.has(d) && a.na.get(d).setContent(yG(b, { | |
image: uG(c), | |
name: c.getName() | |
})) | |
}, | |
zG = function(a, b, c) { | |
b.forEach(function(d) { | |
vG(a, c, d) | |
}) | |
}, | |
uG = function(a) { | |
return (a = l(a, 3)) ? a + "=s46" : "//ssl.gstatic.com/s2/profiles/images/silhouette46.png" | |
}, | |
yG = function(a, b) { | |
switch (a) { | |
case "installed": | |
a = | |
Jq(mF, b); | |
break; | |
case "being_installed": | |
a = Jq(kF, b); | |
break; | |
case "install_failed": | |
a = Jq(lF, b); | |
break; | |
case "not_installed": | |
a = Jq(jF, b); | |
break; | |
default: | |
throw Jq(jF, b), Error("Ra"); | |
} | |
return a | |
}; | |
f = tG.prototype; | |
f.S = function() { | |
zE.prototype.S.call(this); | |
W(this.s(), "g-U-c-Ph-Lh"); | |
this.i.render(this.Fb || this.g.g.body); | |
W(this.i.s(), "Cc-hc-ra-c"); | |
this.ea && (W(this.fa.s(), "g-ma-g6xTNd"), W(this.P.s(), "g-ma-qk8fab")); | |
this.H || this.s().setAttribute("aria-label", "Install For...") | |
}; | |
f.V = function() { | |
this.i && (this.i.dispose(), this.i = null); | |
zE.prototype.V.call(this) | |
}; | |
f.O = function() { | |
var a = this; | |
zE.prototype.O.call(this); | |
this.ab.forEach(function(b) { | |
a.B().listen(b, "action", a.Hp) | |
}); | |
this.B().listen(this.P, "action", this.Ul); | |
this.B().listen(this.fa, "action", this.Ul); | |
this.B().listen(this.i, "hide", this.Sb); | |
this.B().listen(this.s(), "click", function(b) { | |
b.preventDefault(); | |
b.stopPropagation() | |
}) | |
}; | |
f.Hp = function(a) { | |
a = a.target.sb(); | |
l(a, 4).includes(this.j.Z()) || AG(this, [a]) | |
}; | |
f.Ul = function(a) { | |
var b = this, | |
c = a.target; | |
a = c.sb(); | |
c = c == this.P ? "All Supervised Users" : "All the Kids"; | |
a = a.filter(function(d) { | |
return !l(d, 4).includes(b.j.Z()) | |
}); | |
AG(this, a, c) | |
}; | |
var AG = function(a, b, c) { | |
0 != b.length && (zG(a, b, "being_installed"), a.Tb(b, function() { | |
zG(a, b, "installed"); | |
BG(a, !0, b, c); | |
wG(a) | |
}, function(d) { | |
d ? d = "not_installed" : (d = "install_failed", BG(a, !1, b, c)); | |
zG(a, b, d); | |
wG(a) | |
}, function(d, e) { | |
zG(a, d, "installed"); | |
zG(a, e, "install_failed"); | |
BG(a, !1, b, c, e); | |
wG(a) | |
}, c)) | |
}, | |
BG = function(a, b, c, d, e) { | |
var g = new Zx; | |
g.j = !0; | |
var h = !b && e; | |
if (0 === c.length) throw Error("Sa"); | |
if (1 < c.length && !d) throw Error("Ta"); | |
if (h && null != e && 0 === e.length) throw Error("Ua"); | |
var k = h ? e.map(function(p) { | |
return p.getName() | |
}).join(", ") || | |
"" : d ? d : c.map(function(p) { | |
return p.getName() | |
}).join(", "); | |
if (b) e = a.j.getTitle() + (" has been added to Chrome for " + (k + ".")), g.h = "Done", g.g = !1, g.i = "Installation Succeeded", c = $c; | |
else { | |
b = "A problem occurred while adding " + (a.j.getTitle() + (" to Chrome for " + (k + "."))); | |
g.h = "Retry"; | |
g.i = "Installation Failed"; | |
g.g = !0; | |
var m = h ? e : c; | |
c = function(p) { | |
m = m || []; | |
p ? AG(a, m, d) : zG(a, m, "install_failed") | |
}; | |
e = b | |
} | |
a.ca = new nG(a.v, e, c, g); | |
a.ca.ja(!0) | |
}; | |
tG.prototype.Sb = function() { | |
this.Ma(!1); | |
this.s().focus() | |
}; | |
tG.prototype.Ma = function(a) { | |
zE.prototype.Ma.call(this, a); | |
WD(this, 64) == a && (a ? $F(this.i, new UF(this.s(), 5, !1, !0), 4, pu, this.s()) : (pE(this, !1), this.i.Gc = !1)) | |
}; | |
tG.prototype.Ob = function(a) { | |
WD(this, 4) && !WD(this, 64) && aG(this.i) ? this.jf(!1) : this.Ma(!WD(this, 64), a); | |
return !0 | |
}; | |
var oG = function(a, b, c) { | |
var d = a.get(Ek); | |
a = a.get(yb); | |
b = 9 == aa(b); | |
var e = V(d, "rma"); | |
d = V(d, "rae"); | |
return e && a.fa ? b || d && 0 < c.length : !1 | |
}; | |
var CG = function(a, b) { | |
gG.call(this, a); | |
this.h = b; | |
this.j = this.v.get(O) | |
}; | |
B(CG, gG); | |
CG.prototype.S = function() { | |
gG.prototype.S.call(this); | |
var a = { | |
Po: "Remove '" + (this.h.getTitle() + "' from Your Extensions & Apps?"), | |
Qc: "OK" | |
}, | |
b = this.s(), | |
c = a || Iq; | |
a = c.Po; | |
c = c.Qc; | |
a = y('<div class="' + x("UxjYOe-bJU95-f") + '">' + kG({ | |
N: "h-UxjYOe-bJU95-kb-c" | |
}) + '<div class="' + x("f-w") + " " + x("UxjYOe-bJU95-f-w") + '"><h4>' + A(a) + '</h4></div><div class="' + x("f-x") + " " + x("UxjYOe-bJU95-f-x") + '"><div class="' + x("f-Jb") + " " + x("UxjYOe-bJU95-f-Jb") + '">' + FD(void 0) + ED({ | |
N: "f-c-zb", | |
Ha: c | |
}, void 0) + "</div></div></div>"); | |
a = vb(a); | |
tb(b, | |
a) | |
}; | |
CG.prototype.O = function() { | |
gG.prototype.O.call(this); | |
var a = new zE; | |
Tr(this, a, "f-c-zb"); | |
this.B().listen(a, "action", this.o); | |
a = new zE; | |
Tr(this, a, "f-c-Fb"); | |
this.B().listen(a, "action", this.Hc) | |
}; | |
CG.prototype.o = function() { | |
var a = this.j, | |
b = this.h, | |
c = [fa() + "ajax/remove-license", b.Z()].join("/"); | |
wz(a, b, "remove license", c, void 0, void 0); | |
a.X.remove(b.Z()); | |
a.xc.add(b.Z()); | |
this.ja(!1); | |
DG(this.v.get(Kb)) | |
}; | |
var EG = function(a, b, c) { | |
c = void 0 === c ? "g-c-wb" : c; | |
var d = Hq(a).g; | |
zE.call(this, "g-c-AZ4Tub-s", "", c, "small", "g-Uc-ua-Uc-c-za", "g-Kb-ua-Kb-c-za", void 0, void 0, d); | |
this.v = a; | |
this.j = b; | |
this.i = null | |
}; | |
B(EG, zE); | |
EG.prototype.S = function() { | |
zE.prototype.S.call(this); | |
W(this.s(), "g-U-c-Ph-Lh"); | |
this.H || this.s().setAttribute("aria-label", "Remove License") | |
}; | |
EG.prototype.O = function() { | |
zE.prototype.O.call(this); | |
this.B().listen(this.s(), "click", function(a) { | |
a.preventDefault(); | |
a.stopPropagation() | |
}); | |
this.B().listen(this.s(), "click", this.P) | |
}; | |
EG.prototype.P = function() { | |
var a = new CG(this.v, this.j); | |
this.i && this.i.ja(!1); | |
this.i = a; | |
a.ja(!0) | |
}; | |
var FG = function(a, b, c) { | |
b = c || b; | |
c = a.jq; | |
a = a.url; | |
var d = '<div class="' + x("Nc-f") + '"><div class="' + x("f-w") + " " + x("Nc-f-w") + '">' + kG({ | |
N: "h-Nc-f-kb-c" | |
}) + "<h3>" + A("Link to share") + '</h3></div><div class="' + x("f-x") + " " + x("Nc-f-x") + '"><div class="' + x("Nc-f-db") + '">'; | |
c = "Copy this link to share " + (A(c) + " with other people."); | |
c = d + c; | |
a = '</div><input type="text" class="' + x("Nc-f-mf-ib") + " " + x("Bj-Mj") + '" value="' + x(a) + '" readonly="readonly"/><div class="' + x("f-Jb") + " " + x("Nc-f-c") + '">'; | |
d = c + (a + ED({ | |
N: "f-c-zb", | |
Ha: "Close" | |
}, | |
b) + "</div></div></div>"); | |
return y(d) | |
}; | |
var GG = function(a, b, c) { | |
var d = new Zx; | |
d.g = !1; | |
d.h = ""; | |
nG.call(this, a, "", $c, d); | |
this.L = b; | |
this.A = c; | |
this.j = null | |
}; | |
B(GG, nG); | |
GG.prototype.S = function() { | |
nG.prototype.S.call(this); | |
Nq(this.i, this.s(), FG, { | |
url: this.L, | |
jq: this.A | |
}); | |
this.j = U(this, "Nc-f-mf-ib") | |
}; | |
GG.prototype.O = function() { | |
nG.prototype.O.call(this); | |
this.B().listen(this.j, "click", function(a) { | |
rl(a) && this.j.select() | |
}); | |
Nn(function() { | |
this.j.select(); | |
this.j.focus() | |
}, 0, this) | |
}; | |
var HG = function(a) { | |
var b = a.name; | |
return y('<div><img aria-hidden="true" src="' + x(lq(a.image)) + '" class="' + x("xa-c-M-u-s") + '">' + A(b) + "</div>") | |
}, | |
IG = function(a) { | |
var b = a.Qo; | |
a = a.name; | |
return y('<div><span class="' + x("xa-c-M-u-s") + " " + x(b) + '"></span>' + A(a) + "</div>") | |
}; | |
var LG = function(a, b, c, d, e, g, h, k) { | |
e = void 0 === e ? null : e; | |
var m = "g-c-Ya" == d ? "g-c-wb-xa-s" : "g-c-Ya-xa-s", | |
p = Hq(a).g; | |
zE.call(this, m, h, d || "g-c-wb", c || "small", g || "g-Uc-ua-Uc-c-za", g || "g-Kb-ua-Kb-c-za", void 0, void 0, p); | |
this.v = a; | |
if (!JG(a, b)) throw Error("Qa"); | |
this.kb(64, !0); | |
this.fa = e; | |
this.i = b; | |
a.get(zk); | |
this.ha = k || !1; | |
this.j = KG(this); | |
this.ea = a.get(Kk).o || 0 | |
}; | |
B(LG, zE); | |
var KG = function(a) { | |
for (var b = new cG(a.g, a.kl()), c = N(a.v.get(O).j, ck, 10), d = 0; d < c.length; d++) { | |
var e = c[d]; | |
b.ia(new PF(Jq(HG, { | |
image: l(e, 7) || l(e, 2), | |
name: e.getName() | |
}), D(function(g) { | |
var h = l(g, 6); | |
ao(h, l(this.i, 38) || "", this.i.Z()); | |
h = MG(this, l(g, 6)); | |
h = l(g, 5).replace(/\{\$url\}/gi, h); | |
NG(this, h, l(g, 3), l(g, 4)) | |
}, a, e), a.g, new sF), !0) | |
} | |
c = 1 < Wm() ? "https://ssl.gstatic.com/chrome/webstore/images/share_gm_hdpi.png" : "https://ssl.gstatic.com/chrome/webstore/images/share_gm.png"; | |
b.ia(new PF(Jq(HG, { | |
image: c, | |
name: "Gmail" | |
}), | |
a.P, a.g, new sF), !0); | |
L(a.i, 68) && b.ia(new PF(Jq(IG, { | |
Qo: "xa-c-M-u-Nc-s", | |
name: "Link" | |
}), a.ca, a.g, new sF), !0); | |
return b | |
}; | |
f = LG.prototype; | |
f.kl = function() { | |
return new BF | |
}; | |
f.S = function() { | |
zE.prototype.S.call(this); | |
W(this.s(), "g-U-c-Ph-Lh"); | |
this.j.render(this.fa || this.g.g.body); | |
W(this.j.s(), "xa-c"); | |
this.H || this.s().setAttribute("aria-label", "Share") | |
}; | |
f.V = function() { | |
this.j && (this.j.dispose(), this.j = null); | |
zE.prototype.V.call(this) | |
}; | |
f.O = function() { | |
zE.prototype.O.call(this); | |
this.B().listen(this.j, "action", this.Lq); | |
this.B().listen(this.j, "hide", this.Mq); | |
this.B().listen(this.s(), "click", function(a) { | |
a.preventDefault(); | |
a.stopPropagation() | |
}) | |
}; | |
f.Lq = function(a) { | |
a.target.sb().apply(this) | |
}; | |
f.Mq = function() { | |
this.Ma(!1); | |
this.s().focus() | |
}; | |
var NG = function(a, b, c, d) { | |
var e = a.g.g.body, | |
g = window.screenLeft || window.screenX || 0; | |
a = window.screenTop || window.screenY || 0; | |
var h = window.outerWidth || e && e.clientWidth || 0, | |
k = window.outerHeight || e && e.clientHeight || 0; | |
e = screen.availWidth || c; | |
var m = screen.availHeight || d, | |
p = screen.availLeft || 0, | |
q = screen.availTop || 0, | |
t = screen.width || c, | |
v = screen.height || d; | |
c = Math.min(c, e, t); | |
d = Math.min(d, v, m); | |
h && k ? (g += (h - c) / 2, a += (k - d) / 2) : (g = p + (t - c) / 2, a = q + (v - d) / 2); | |
g = Math.min(g, p + e - c, p + t - c); | |
g = Math.max(g, 0, p); | |
a = Math.min(a, q + m - d, q + v - d); | |
a = | |
Math.max(a, 0, q); | |
xw(b, { | |
target: "_blank", | |
toolbar: !1, | |
"location:": !window.opera, | |
directories: !1, | |
status: !1, | |
menubar: !1, | |
scrollbars: !0, | |
resizable: !0, | |
copyhistory: !1, | |
width: Math.round(c), | |
height: Math.round(d), | |
top: Math.round(a), | |
left: Math.round(g) | |
}) | |
}, | |
MG = function(a, b) { | |
return uo(l(a.i, 38) || fa(), "utm_source", b) | |
}; | |
LG.prototype.Ma = function(a) { | |
zE.prototype.Ma.call(this, a); | |
WD(this, 64) == a && (a ? $F(this.j, new UF(this.s(), 5, !0), 4, pu, this.s()) : (pE(this, !1), this.j.Gc = !1)) | |
}; | |
LG.prototype.Ob = function() { | |
WD(this, 4) && !WD(this, 64) && aG(this.j) ? this.jf(!1) : this.Ma(!WD(this, 64)); | |
return !0 | |
}; | |
LG.prototype.P = function() { | |
ao("gmail", l(this.i, 38) || "", this.i.Z()); | |
var a = 'Check out "' + (this.i.getTitle() + '" in the Chrome Web Store'), | |
b = 'Check out "' + (this.i.getTitle() + '"'), | |
c = 'Check out "' + (this.i.getTitle() + ('": ' + MG(this, "gmail"))); | |
a = cg(L(this.i, 68) ? b : a); | |
c = cg(c); | |
this.ha ? xw("mailto:?subject=" + a + "&body=" + c, { | |
target: "_blank" | |
}) : NG(this, "https://mail.google.com/mail/u/" + this.ea + "/?view=cm&tf=1&fs=1&su=" + a + "&body=" + c, 870, 764) | |
}; | |
LG.prototype.ca = function() { | |
var a = MG(this, "permalink"), | |
b = this.i.getTitle(); | |
(new GG(this.v, a, b)).ja(!0) | |
}; | |
var JG = function(a, b) { | |
var c = a.get(yb); | |
return c.pb ? V(a.get(Ek), "shr") && (!!L(b, 61) || c.Tb) : !1 | |
}; | |
var OG = function() {}; | |
B(OG, yF); | |
OG.prototype.Ga = function() { | |
return "g-zh" | |
}; | |
var PG = function(a, b, c, d) { | |
d = void 0 === d ? null : d; | |
Z.call(this, a); | |
this.o = b; | |
this.u = a.get(yC); | |
this.A = d; | |
this.L = c; | |
this.h = null; | |
this.j = !1 | |
}; | |
B(PG, Z); | |
var RG = function(a) { | |
a.j = !0; | |
QG(a.u, a.o, D(function(b) { | |
if (b) { | |
this.h && this.h.dispose(); | |
var c = new XF(this.g, new BF); | |
b = N(b, kx, 1); | |
for (var d = 0; d < b.length; d++) { | |
var e = b[d]; | |
if (hh(e, 1, !1)) { | |
e = new QF(this.g); | |
var g = new OG; | |
if (e.za) throw Error("L"); | |
e.s() && (e.ba = null); | |
e.h = g; | |
c.ia(e, !0) | |
} else g = new PF(e.Xc(), e, this.g, new sF), hh(e, 5, !1) && (g.hf(!0), g.Bd(!0)), g.setEnabled(hh(e, 6, !0)), c.ia(g, !0) | |
} | |
c.h = !1; | |
this.h = c; | |
Qk(this, this.h); | |
this.h.render(this.A || this.g.g.body); | |
this.B().listen(this.h, "action", this.H); | |
this.B().listen(this.h, | |
"hide", this.J); | |
W(this.h.s(), "Ji-M"); | |
$F(this.h, new UF(this.L, 1, !0), 0, pu) | |
} else this.j = !1 | |
}, a)) | |
}; | |
PG.prototype.H = function(a) { | |
a = a.target.sb(); | |
var b = l(a, 3); | |
if (b) { | |
var c = this.u, | |
d = {}; | |
d.itemId = this.o; | |
d.manageMenuEventKey = b; | |
c.g.call("onManageMenuEvent", d) | |
}(a = a.getUrl()) && xw(a, { | |
target: "_blank" | |
}) | |
}; | |
PG.prototype.J = function() { | |
this.j = !1; | |
this.dispatchEvent("hide") | |
}; | |
var SG = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(SG, H); | |
SG.prototype.nd = function() { | |
return gh(this, 1, "origin") | |
}; | |
var TG = function(a) { | |
K(this, a, 0, null, null) | |
}; | |
E(TG, H); | |
var UG = function(a, b) { | |
M(a, 1, b) | |
}; | |
TG.prototype.getValue = function() { | |
return l(this, 2) | |
}; | |
TG.prototype.setValue = function(a) { | |
return M(this, 2, a) | |
}; | |
var WG = function(a) { | |
K(this, a, 0, VG, null) | |
}; | |
E(WG, H); | |
var VG = [1], | |
XG = function(a, b) { | |
ph(a, 1, b) | |
}; | |
var ZG = function(a, b, c, d, e, g, h, k) { | |
g = void 0 === g ? !1 : g; | |
h = void 0 === h ? null : h; | |
k = void 0 === k ? !1 : k; | |
Z.call(this, a); | |
this.xa = h; | |
this.h = b; | |
this.Ka = c; | |
this.P = this.v.get(Ck); | |
this.A = this.v.get(O); | |
this.La = this.v.get(Mk); | |
this.ta = (this.Oa = g) || YG(this); | |
this.j = Rz(a.get(Ik), this.h); | |
this.na = new Jo(this); | |
this.Fb = this.v.get(mC); | |
this.J = this.v.get(zk); | |
this.wa = "uninitialize"; | |
this.U = this.L = this.X = this.ca = this.fa = this.ha = this.H = null; | |
this.u = d; | |
this.o = e; | |
this.pd = this.v.get(Jk); | |
this.mb = "g-c-wb"; | |
this.fb = a.get(Kb); | |
this.da = a.get(Ek); | |
this.Ac = | |
k; | |
this.Ea = new FE(a, b); | |
this.ea = [] | |
}; | |
B(ZG, Z); | |
ZG.prototype.O = function() { | |
var a = this; | |
Z.prototype.O.call(this); | |
fA(this.A, this.h.Z()) ? ($G(this, "installing"), this.B().listen(this.A, "item_install_ended", function(b) { | |
b.va === a.h.Z() && $G(a, aH(a)) | |
})) : $G(this, aH(this)) | |
}; | |
var bH = function(a) { | |
"installing" != a.wa && (Qz(a.A, a.h), $G(a, aH(a))) | |
}, | |
aH = function(a) { | |
var b = aa(a.h); | |
if (!a.j.re()) return "notSupported"; | |
if (5 == b) return "viewCollection"; | |
if (L(a.h, 15)) return a.configuration.g && L(a.configuration.g, 12) ? "widgetManageMenu" : "your_apps" != a.u && "detail" != a.u && "detail-only" != a.u && a.configuration.Cg ? "rate" : fc(aa(a.h)) && a.configuration.fb ? ("disabled_other" == jz(a.A, a.h.Z()) && (a.ta = !0), "launch") : "installed"; | |
if (L(a.h, 28)) return "trial"; | |
if (!L(a.h, 27)) return Xy(a.A) || a.j.hg() ? 1 == aa(a.h) ? "chooseTheme" : | |
"free" : "signIn"; | |
if (l(a.h, 31)) return "buy"; | |
throw Error("Va"); | |
}, | |
$G = function(a, b) { | |
a.B().removeAll(); | |
a.za && (a.H && (a.removeChild(a.H), a.H.dispose()), a.ha && (a.removeChild(a.ha), a.ha.dispose()), a.fa && (a.removeChild(a.fa), a.fa.dispose()), a.ca && (a.removeChild(a.ca), a.ca.dispose(), a.ca = null), a.X && (a.removeChild(a.X), a.X.dispose(), a.X = null), a.L && (a.removeChild(a.L), a.L.dispose(), a.L = null), a.U && (a.removeChild(a.U), a.U.dispose(), a.U = null), a.ta = a.Oa || YG(a) || a.configuration.xc && a.La.g && !cH.has(b), az(a.A, function(c) { | |
a.ea = | |
c; | |
dH(a, b) | |
})); | |
a.wa = b | |
}, | |
eH = function(a) { | |
var b = aa(a.h); | |
if (4 != b && 6 != b && 0 != b && 9 != b || "detail" != a.u) return !1; | |
b = null != window.chrome && null != chrome.dashboardPrivate && null != chrome.dashboardPrivate.showPermissionPromptForDelegatedInstall; | |
return !!Xy(a.A) && !L(a.h, 27) && b | |
}, | |
dH = function(a, b) { | |
var c = oG(a.v, a.h, a.ea) && eH(a), | |
d = JG(a.v, a.h) && !a.Ac && (!fH(a, b) || "your_apps" == a.u) && gH(a, c), | |
e = null, | |
g = null, | |
h = !0; | |
switch (b) { | |
case "free": | |
if (hH(a)) { | |
if (0 < a.ea.length) { | |
fH(a, b) ? (e = CE(22), d = !1) : e = CE(17); | |
var k = function(p) { | |
a.dispatchEvent(p) | |
} | |
} else e = | |
CE(11), e.style = "g-c-nb", g = CE(17), k = null; | |
h = !1 | |
} else fH(a, b) && iH(a) && L(a.h, 74) ? (e = CE(21), k = function() { | |
a.bb() | |
}) : (e = fH(a, b) && !iH(a) ? CE(22) : CE(17), e.label = a.j.ee(), k = function(p) { | |
jH(a, function() { | |
p.preventDefault(); | |
p.stopPropagation(); | |
kH(a) | |
}, !0) | |
}); | |
break; | |
case "buy": | |
e = lH(a); | |
k = function(p) { | |
jH(a, function() { | |
mH(a, p) | |
}, !1) | |
}; | |
break; | |
case "chooseTheme": | |
e = CE(2); | |
e.label = a.j.ee(); | |
k = function(p) { | |
jH(a, function() { | |
p.preventDefault(); | |
p.stopPropagation(); | |
kH(a) | |
}, !0) | |
}; | |
break; | |
case "installed": | |
V(a.da, "uid") && a.j.im() ? (e = CE(24), e.label = | |
"Remove from Chrome", k = function() { | |
a.o && nH(a.o, 16); | |
$n(a.J, "/track_buy_intent/uninstall/" + l(a.h, 29), a.h.Z()); | |
$n(a.J, "/track_uninstall/" + a.u + "/" + l(a.h, 29), a.h.Z()); | |
a.j.uninstall() | |
}) : (e = CE(3), e.label = a.j.mg(), k = function(p) { | |
a.dispatchEvent(p) | |
}); | |
break; | |
case "installing": | |
e = CE(6, a.mb); | |
k = function(p) { | |
a.dispatchEvent(p) | |
}; | |
break; | |
case "launch": | |
e = CE(7); | |
fH(a, b) && (e.label = "Visit Website", e.icon = void 0); | |
k = function(p) { | |
p.preventDefault(); | |
p.stopPropagation(); | |
a.o && (p = a.o, oH(p, 5), nH(p, 5), pH(p, 5)); | |
p = a.h.Z(); | |
var q = l(a.h, 29); | |
a.j.launchApp(); | |
$n(a.J, "/track_launch/" + a.u + "/" + q + "/launch", p, void 0); | |
a.dispatchEvent("launch") | |
}; | |
break; | |
case "widgetManageMenu": | |
e = CE(16); | |
null != l(a.h, 75) && (e.label = l(a.h, 75)); | |
k = function(p) { | |
p.preventDefault(); | |
p.stopPropagation(); | |
p = a.X; | |
p.j || p.h && ZF(p.h) || RG(p) | |
}; | |
break; | |
case "notSupported": | |
e = CE(8); | |
k = function(p) { | |
p.preventDefault(); | |
p.stopPropagation(); | |
$n(a.J, "/track_availableonchrome/" + a.u + "/" + l(a.h, 29), a.h.Z(), void 0); | |
p = Vn(a.v.get(O).g); | |
xw("https://www.google.com/chrome?brand=GGRF&utm_campaign=ww&utm_source=ww-cws-tile&utm_medium=et&hl=" + | |
p, { | |
target: "_blank" | |
}) | |
}; | |
break; | |
case "rate": | |
e = CE(13); | |
k = function(p) { | |
p.preventDefault(); | |
p.stopPropagation(); | |
p = gF.get("reviews") || null; | |
p = Ks(a.h, p); | |
qH(a.fb, p) | |
}; | |
break; | |
case "signIn": | |
e = CE(17, void 0, a.h); | |
e.label = a.j.Zi(); | |
k = function(p) { | |
rH(a, p) | |
}; | |
break; | |
case "trial": | |
e = CE(10); | |
k = function(p) { | |
mH(a, p) | |
}; | |
break; | |
case "viewCollection": | |
e = CE(23); | |
k = function(p) { | |
a.dispatchEvent(p) | |
}; | |
break; | |
default: | |
throw Error("Wa"); | |
} | |
g || (g = a.ab(e)); | |
a.mb = e.style; | |
if (h && (a.H = sH(a, e), a.ta && BE(a.H, !1), a.ia(a.H, !0), a.B().listen(a.H.s(), "click", k), a.B().listen(a.H.s(), | |
"keypress", | |
function(p) { | |
13 != p.keyCode && 32 != p.keyCode || k(p) | |
}), !a.j.Wk() || "free" != b && "installing" != b || "detail-only" != a.u && "detail" != a.u || a.La.getEphemeralAppsEnabled(function(p) { | |
if (p) | |
if (p = CE(20), a.L = sH(a, p), a.Ie(a.L, Rr(a, a.H) + 1, !0), W(a.L.s(), "g-c-Ph-Lh"), fA(a.A, a.h.Z())) BE(a.L, !1), a.L.setEnabled(!1); | |
else { | |
p = a.B(); | |
var q = a.L.s(); | |
Lo(p, q, "click", a.Sb, !1, a) | |
} | |
}), "widgetManageMenu" == b)) { | |
h = a.h.Z(); | |
var m = a.H.s(); | |
a.X = new PG(a.v, h, m, a.xa); | |
a.ia(a.X, !1); | |
a.B().listen(a.X, "hide", a.Tb) | |
} | |
c && (a.ca = new tG(a.v, a.h, a.ea, function(p, | |
q, t, v, w) { | |
tH(a, p, q, t, v, w) | |
}, a.Ka, e.style, a.xa, hH(a)), a.ia(a.ca, !0)); | |
V(a.da, "nma") && iH(a) && (!L(a.h, 27) || L(a.h, 27) && l(a.h, 30)) && (a.fa = new EG(a.v, a.h, g.style), a.ia(a.fa, !0)); | |
!iH(a) && d && (a.ha = new LG(a.v, a.h, a.Ka, g.style, a.xa), a.ia(a.ha, !0)); | |
fH(a, b) && "launch" != b && !iH(a) && uH(a) | |
}; | |
ZG.prototype.ab = function(a) { | |
return a | |
}; | |
var iH = function(a) { | |
return (a = ca(a.g).location.pathname) ? a.includes("/library") : !1 | |
}, | |
fH = function(a, b) { | |
return a.configuration.na ? "free" != b && "installing" != b && "launch" != b || "detail" != a.u && "your_apps" != a.u ? !1 : (b = hH(a) && "" != l(a.h, 83), (!!L(a.h, 74) || b) && V(a.da, "vwb")) : !1 | |
}, | |
gH = function(a, b) { | |
return b ? hH(a) && 0 == a.ea.length : !0 | |
}, | |
uH = function(a) { | |
var b = CE(21); | |
a.U = sH(a, b); | |
a.ia(a.U, !0); | |
W(a.U.s(), "g-c-Ph-Lh"); | |
b = a.B(); | |
var c = a.U.s(); | |
Lo(b, c, "click", a.bb, !1, a) | |
}, | |
sH = function(a, b) { | |
return new zE(b.icon, b.label, b.style, a.Ka, "g-eg-ua-Uc-c-za", | |
"g-eg-ua-Kb-c-za", b.i, void 0, void 0, b.g) | |
}, | |
lH = function(a) { | |
var b = l(a.h, 31); | |
return L(a.h, 60) ? CE(1, void 0, b) : CE(11, void 0, b) | |
}, | |
mH = function(a, b) { | |
b.preventDefault(); | |
b.stopPropagation(); | |
a.o && (b = a.o, oH(b, 7), nH(b, 10), pH(b, 7)); | |
$n(a.J, "/track_buy_intent/" + a.u + "/" + l(a.h, 29), a.h.Z()); | |
a.j.Uk() ? a.j.Rl() : (b = Ks(a.h), b.query.set("_asi", "1"), b.h = a, qH(a.fb, b)) | |
}; | |
ZG.prototype.getState = function() { | |
return this.wa | |
}; | |
var kH = function(a) { | |
$G(a, "installing"); | |
eA(a.A, a.h.Z()); | |
var b = a.h.Z(); | |
vH(a); | |
Vl(a.j, function() { | |
a.j.beginInstall(function(c, d) { | |
wH(a, c, d) | |
}, mp(a.A.ma.i, b)) || ($G(a, aH(a)), xH(a.Fb, a.h, a.s())) | |
}, function() { | |
Wz(a.P, "There was a problem adding the item to Chrome. Please refresh the page and try again."); | |
$G(a, aH(a)) | |
}) | |
}, | |
vH = function(a) { | |
a.na.listen(a.A, "installed_status_change", function(b) { | |
var c = a.h.Z(), | |
d = l(a.h, 29), | |
e = b.va; | |
a.j.g.Z() === e && (a.o && yH(a.o), e = l(a.h, 10), $n(a.J, "/track_buyflow_result/install/success/" + (e ? | |
e + "/" : "") + d, b.va), (e = l(a.h, 49)) && bo(a.J, "/track_install/" + a.u + "/" + d, b.va, e), b = a.A, b.U.remove(c) && b.dispatchEvent(new hA(b, c)), a.na.removeAll(), a.za && ($G(a, aH(a)), a.dispatchEvent("install"))) | |
}) | |
}, | |
zH = function(a, b, c, d, e, g) { | |
"" == g ? a.j.bl(b, c, function() { | |
d && d(!1) | |
}, e) : "user_cancelled" == g ? d && d(!0) : d && d(!1) | |
}, | |
tH = function(a, b, c, d, e, g) { | |
if (1 > b.length || !b[0]) throw Error("Xa"); | |
if (!g && 1 < b.length) throw Error("Ya"); | |
var h = g || b[0].getName() || ""; | |
Vl(a.j, function() { | |
a.j.di(h, function(k) { | |
zH(a, b, c, d, e, k) | |
}) | |
}, function() { | |
d && d(!1) | |
}) | |
}, | |
CH = function(a, b, c) { | |
if (c) var d = c.g; | |
c = yx(); | |
switch (b) { | |
case "user_cancelled": | |
AH(a, !0, "user_cancelled"); | |
$G(a, aH(a)); | |
break; | |
case "eula_declined": | |
AH(a, !0, "eula_declined"); | |
$G(a, aH(a)); | |
break; | |
case "sync_mismatch": | |
AH(a, !1, "sync_mismatch"); | |
HE(a.Ea, d); | |
$G(a, aH(a)); | |
break; | |
case "not_signed_in_chrome_sync": | |
AH(a, !1, "not_signed_in_chrome_sync"); | |
Yn(0, "webstore.MiniBuyFlow", "sendToChromeSignIn", void 0, 1); | |
a = a.Ea; | |
(b = GE(a)) && (b = vo(zo(b, "source"), "source", "5")); | |
Zf(a.i.location, Ry(a.g.g, b, Xy(a.g) || void 0)); | |
break; | |
case "not_signed_in_webstore": | |
AH(a, | |
!1, "not_signed_in_webstore"); | |
BH(a, d); | |
break; | |
case "user_rejected_chrome_signin": | |
AH(a, !0, "user_rejected_chrome_signin"); | |
$G(a, aH(a)); | |
break; | |
case "signin_failed": | |
AH(a, !0, "signin_failed"); | |
Wz(a.P, "You need to be signed into Chrome to add this app."); | |
$G(a, aH(a)); | |
break; | |
case "blocked_by_policy": | |
AH(a, !0, "blocked_by_policy"); | |
b = new Zx; | |
b.j = !1; | |
b.i = "Ooops"; | |
Wz(a.P, c || "Installation of the app is not allowed by policy", b); | |
$G(a, aH(a)); | |
break; | |
case "blocked_for_child_account": | |
AH(a, !0, "blocked_for_child_account"); | |
b = new Zx; | |
b.j = !1; | |
b.i = "Can't add extension"; | |
Wz(a.P, "This type of account can't currently install extensions or themes from the Chrome Web Store", b); | |
$G(a, aH(a)); | |
break; | |
case "already_installed": | |
AH(a, !0, "already_installed"); | |
Wz(a.P, "This item is already being downloaded and added into Chrome."); | |
$G(a, aH(a)); | |
break; | |
case "delegated_to_container": | |
$G(a, aH(a)); | |
break; | |
case "manifest_error": | |
AH(a, !0, "failure", b); | |
Wz(a.P, "There was a problem with the download. Please contact the developer or try again later.", void 0, void 0, c); | |
$G(a, aH(a)); | |
break; | |
default: | |
AH(a, !0, "failure", b), Wz(a.P, "There was a problem adding the item to Chrome. Please refresh the page and try again.", void 0, void 0, c), $G(a, aH(a)) | |
} | |
}, | |
wH = function(a, b, c) { | |
var d = a.h.Z(); | |
if ("" === b) { | |
b = V(a.da, "pet"); | |
if (gc(aa(a.h), b) && null != Xy(a.A)) { | |
c = null; | |
if (a.o && DH(a.o)) { | |
c = DH(a.o); | |
var e = new SG; | |
b = new TG; | |
UG(b, e.nd()); | |
b.setValue(c.toString()); | |
c = new WG; | |
XG(c, [b]) | |
} | |
uz(a.A, d, function() { | |
a.j.Oj(!0) | |
}, function() { | |
a.j.Oj(!1) | |
}, c) | |
} | |
a.j.completeInstall(function() { | |
var g = yx(); | |
g && (a.na.removeAll(), AH(a, | |
!0, "failure", g), Wz(a.P, g), $G(a, aH(a))) | |
}) | |
} else CH(a, b, c), a.na.removeAll(); | |
a.dispatchEvent("close") | |
}; | |
ZG.prototype.Sb = function(a) { | |
var b = this; | |
a.preventDefault(); | |
a.stopPropagation(); | |
this.j.nm(function(c) { | |
switch (c) { | |
case "install_in_progress": | |
Wz(b.P, "This item is already being downloaded and added into Chrome."); | |
break; | |
case "install_error": | |
case "unknown_error": | |
case "invalid_id": | |
Wz(b.P, "There was a problem launching the app. Please refresh the page and try again.") | |
} | |
}) | |
}; | |
ZG.prototype.bb = function() { | |
var a = hH(this) ? l(this.h, 83) : l(this.h, 56); | |
xw(a, { | |
target: "_blank" | |
}); | |
$n(this.J, "/track_visit_website/" + this.u + "/" + l(this.h, 29), this.h.Z(), void 0); | |
this.o && nH(this.o, 15) | |
}; | |
var rH = function(a, b) { | |
b.preventDefault(); | |
b.stopPropagation(); | |
EH(a); | |
a.La.getBrowserLogin(function(c) { | |
BH(a, c) | |
}) | |
}, | |
BH = function(a, b) { | |
Yn(0, "webstore.MiniBuyFlow", "sendToSignIn", void 0, 1); | |
a = a.Ea; | |
var c = GE(a); | |
Zf(a.i.location, Yy(a.g, c, b || void 0)) | |
}; | |
ZG.prototype.Tb = function() { | |
this.H.s().focus() | |
}; | |
var EH = function(a) { | |
a.o && FH(a.o); | |
$n(a.J, "/track_buy_intent/install/" + l(a.h, 29), a.h.Z()); | |
$n(a.J, "/track_install/" + a.u + "/" + l(a.h, 29), a.h.Z()) | |
}, | |
AH = function(a, b, c, d) { | |
var e = "/track_buyflow_result/install/" + encodeURIComponent(c) + "/" + (d ? encodeURIComponent(d) + "/" : "") + a.u + "/" + l(a.h, 29); | |
$n(a.J, e, a.h.Z()); | |
a.o && (b ? GH(a.o, 2, c, d) : GH(a.o, 3, c, d)); | |
b = a.A; | |
a = a.h.Z(); | |
b.U.remove(a) && b.dispatchEvent(new hA(b, a)) | |
}, | |
jH = function(a, b, c) { | |
c && EH(a); | |
c = qA(a.pd, a.h, !1); | |
0 < c.length ? (a = a.v.get(mC), b = new HH(a.i, c, b), IH(a, b, !1)) : b() | |
}, | |
hH = | |
function(a) { | |
var b = aa(a.h); | |
return V(a.da, "esl") && 9 == b | |
}, | |
YG = function(a) { | |
return "boadgeojelhgndaghljhdicfkmllpafd" === a.h.Z() | |
}, | |
cH = new Set(["rate", "signIn", "viewCollection"]); | |
var JH = function(a) { | |
var b = a.attributes, | |
c = a.height, | |
d = a.width, | |
e = a.alt, | |
g = a.sa, | |
h = a.eg, | |
k = a.rj, | |
m = ""; | |
a.zb ? (m += '<div class="' + x("A-Ce-ze-k") + (g ? " " + x(g) : "") + '"' + (Tp(c) || Tp(d) ? ' style="' + (d ? "width=" + x(nq(d)) + "px; " : "") + (c ? "height=" + x(nq(c)) + "px;" : "") + '"' : "") + ">", e = (e ? 'alt="' + x(e) + '" aria-label="' + x(e) + '"' : 'aria-hidden="true"') + ' class="' + x("h-A-Ce-ze-Yf") + " " + x("A-Ce-ze-Yf") + (h ? " " + x(h) : "") + '" ' + ob(b) + (d ? ' width="' + x(d) + 'px"' : "") + (c ? ' height="' + x(c) + 'px"' : ""), e = Yp(e), m += (k ? "<iframe " + ob(e) + "></iframe>" : "<img " + | |
ob(e) + ">") + "</div>") : (a = ob(b) + ' class="' + (g ? x(g) : "") + (h ? " " + x(h) : "") + '" style="' + (d ? " width:" + x(nq(d)) + "px;" : "") + (c ? " height:" + x(nq(c)) + "px;" : "") + '"', a = Yp(a), m += k ? "<iframe " + ob(a) + "></iframe>" : "<img" + (e ? ' alt="' + x(e) + '" aria-label="' + x(e) + '"' : ' aria-hidden="true"') + " " + ob(a) + ">"); | |
return y(m) | |
}; | |
var KH = function(a) { | |
var b = a.item && (a.item.K || a.item), | |
c = a.N, | |
d = a.height, | |
e = a.width, | |
g = a.attributes; | |
a = '<div class="' + x("s-wa") + (c ? " " + x(c) : "") + '">'; | |
if (0 == aa(b)) a += '<div class="' + x("od-s-wa") + '">', a += JH({ | |
sa: c, | |
attributes: Yp(g ? ob(g) : 'src="' + x(S(l(b, 4))) + '"'), | |
alt: "Extension", | |
width: e ? "" + e : "26", | |
height: d ? "" + d : "26" | |
}), a += "</div>"; | |
else if (1 == aa(b)) a += '<div class="' + x("yc-s-wa") + '">', a += JH({ | |
sa: c, | |
attributes: Yp('src="' + x(S(l(b, 4))) + '"'), | |
alt: "Theme", | |
width: 26, | |
height: 26 | |
}), a += "</div>"; | |
else if (5 == aa(b)) a += '<div class="' + | |
x("t-a-s") + '"></div>'; | |
else { | |
a += '<div class="' + x("ia-s-wa") + '">'; | |
d = ""; | |
switch (b.getContainer()) { | |
case 3: | |
case 4: | |
case 8: | |
case 9: | |
d += "Add-on"; | |
break; | |
default: | |
d += "Application" | |
} | |
a += JH({ | |
sa: c, | |
attributes: Yp('src="' + x(S(l(b, 4))) + '"'), | |
alt: d, | |
width: 50, | |
height: 50 | |
}); | |
a += "</div>" | |
} | |
return y(a + "</div>") | |
}, | |
LH = function(a, b, c) { | |
b = c || b; | |
c = a.item && (a.item.K || a.item); | |
var d = a.Sr; | |
a = a.N; | |
var e = b.zf, | |
g = b.Af; | |
b = b.Bf; | |
b = '<div class="' + x("h-a-d-Ea-if") + (a ? " " + x(a) : "") + (L(c, 15) || !L(c, 16) || Rp(g, e) || Rp(g, b) ? " " + x("Pa") : "") + '"><div class="' + x("a-d-Ea") + | |
" " + x("a-d-Ea-if") + '"><div class="' + x("a-d-Ea-R") + '">'; | |
b = b + 'Ad</div></div></div><div class="' + (x("h-a-d-Ea-Dd") + (a ? " " + x(a) : "") + (L(c, 15) ? "" : " " + x("Pa")) + '"><div class="' + x("a-d-Ea") + " " + x("a-d-Ea-Dd") + '">'); | |
d || (b += '<div class="' + x("a-d-Ea-R") + '">', b += "Added</div>"); | |
b += "</div>" + (d ? '<div class="' + x("a-d-Ea-Dd-dg") + " " + x("Aa") + '"></div>' : "") + "</div>"; | |
return y(b) | |
}, | |
MH = function(a) { | |
a = a.item && (a.item.K || a.item); | |
return L(a, 16) && !L(a, 15) ? "a-d-if" : "" | |
}; | |
var OH = function(a, b) { | |
cd(a.ra); | |
var c = a.ra; | |
var d = a.Hb, | |
e = a.Da, | |
g = a.Ca, | |
h = a.wb, | |
k = a.ub, | |
m = a.Wd, | |
p = a.Xd, | |
q = a.Y, | |
t = a.dc, | |
v = a.Ab, | |
w = a.$a, | |
J = a.Na, | |
G = a.Hf, | |
I = b.Ck; | |
a = '<div class="' + x("i-k") + " " + x("Aa") + (q ? " " + x(q) : "") + '"><div class="' + x("i-Bb-k") + '">' + (t ? '<div class="' + x("i-n-H-k") + (q ? " " + x(q) : "") + '"><div class="' + x("i-n-H") + " " + x("Aa") + (q ? " " + x(q) : "") + '"></div><div class="' + x("i-n-H") + " " + x("Aa") + " " + x("i-H-OAU7Vd") + (q ? " " + x(q) : "") + '">' + ky(null, b) + "</div></div>" : "") + '<div class="' + x("i-F-Rb-k") + " " + x("Aa") + (q ? " " + x(q) : | |
"") + '"><div class="' + x("i-F-Rb") + " " + x("Aa") + (q ? " " + x(q) : "") + '">'; | |
d = Math.min(c.length, d); | |
1 < c.length ? (I = v ? I ? "" + -h * (v + d - 1) : "" + -h * v : I ? "" + -h * d : "" + -h, h = v ? "" + (d + 2 * v) * h : "" + (d + 2) * h, a += '<div class="' + x("i-Wg") + " " + x("Aa") + (q ? " " + x(q) : "") + '" style="-webkit-transform: translate3d(' + x(nq(I)) + "px, 0, 0); -ms-transform: translate3d(" + x(nq(I)) + "px, 0, 0); transform: translate3d(" + x(nq(I)) + "px, 0, 0); width: " + x(nq(h)) + 'px;">') : a += '<div class="' + x("i-Wg") + " " + x("Aa") + (q ? " " + x(q) : "") + '">'; | |
if (1 < c.length) | |
if (v) | |
for (h = | |
Math.max(0, Math.ceil(v)), I = 0; I < h; I++) { | |
var ja = I; | |
a += NH({ | |
Ta: c[d - (v - ja)], | |
Mc: d - (v - ja), | |
Y: q, | |
ud: !0, | |
value: ja, | |
$a: w, | |
Da: e, | |
Ca: g | |
}) | |
} else a += NH({ | |
Ta: c[d - 1], | |
Mc: d - 1, | |
Y: q, | |
ud: !0, | |
value: 0, | |
$a: w, | |
Da: e, | |
Ca: g | |
}); | |
d = Math.max(0, Math.ceil(d)); | |
for (h = 0; h < d; h++) I = h, a += NH({ | |
Ta: c[I], | |
Mc: I, | |
Y: q, | |
value: v ? "" + (I + v) : "" + (I + 1), | |
$a: w, | |
qj: 0 == I, | |
Da: e, | |
Ca: g, | |
Na: J, | |
Di: Rp(G, I) | |
}); | |
if (1 < c.length) | |
if (v) | |
for (G = Math.max(0, Math.ceil(v)), d = 0; d < G; d++) h = d, a += NH({ | |
Ta: c[h], | |
Mc: h, | |
Y: q, | |
ud: !0, | |
value: v + c.length + h, | |
$a: w, | |
Da: e, | |
Ca: g | |
}); | |
else a += NH({ | |
Ta: c[0], | |
Mc: 0, | |
Y: q, | |
ud: !0, | |
value: c.length, | |
$a: w, | |
Da: e, | |
Ca: g | |
}); | |
e = a; | |
b = "</div></div></div>" + (t ? '<div class="' + x("i-p-H-k") + (q ? " " + x(q) : "") + '"><div class="' + x("i-p-H") + " " + x("Aa") + (q ? " " + x(q) : "") + '"></div><div class="' + x("i-p-H") + " " + x("Aa") + " " + x("i-H-OAU7Vd") + (q ? " " + x(q) : "") + '">' + ky(null, b) + "</div></div>" : "") + "</div>"; | |
if (k) { | |
cd(c); | |
k = '<div class="' + x("i-Xa-K") + " " + x("Aa") + (q ? " " + x(q) : "") + '">'; | |
t = Math.max(0, Math.ceil(Math.min(c.length, 6))); | |
for (g = 0; g < t; g++) v = g, k += (1 != c.length ? '<div value="' + x(v + 1) + '" class="' + x("i-Xa-U-S") + " " + x("i-Xa") + " " + x("Aa") + | |
(q ? " " + x(q) : "") + '"><div class="' + x("i-Xa-U-S-ti") + '"></div></div>' : "") + '<div value="' + x(v + 1) + '" class="' + x("i-Xa") + " " + x("i-Xa-fd-S") + " " + x("Aa") + (q ? " " + x(q) : "") + '"><div class="' + x("i-Xa-A-k") + (q ? " " + x(q) : "") + '">' + (1 == Ni(c[v]) ? JH({ | |
sa: Xp(" " + A("Aa") + (q ? " " + A(q) : "")), | |
eg: "i-Xa-A Aa i-da-Xa-A-Be-za", | |
attributes: Yp('src="' + x(S(l(c[v], 19))) + '"'), | |
width: p, | |
height: m, | |
alt: "", | |
zb: J | |
}) : JH({ | |
sa: "i-Xa-A Aa i-da-Xa-A-Vf-za" + (q ? " " + q : ""), | |
attributes: Yp('src="' + x(S(l(c[v], 19))) + '"'), | |
alt: "", | |
width: p, | |
height: m, | |
zb: J | |
})) + (2 == Ni(c[v]) ? | |
'<div class="' + x("i-Xa-A-ng") + " " + x("Aa") + (q ? " " + x(q) : "") + '"></div>' : "") + "</div></div>"; | |
c = y(k + "</div>") | |
} else c = ""; | |
return y(e + (b + c + "</div>")) | |
}, | |
NH = function(a) { | |
var b = a.Ta && (a.Ta.K || a.Ta), | |
c = a.Y, | |
d = a.ud, | |
e = a.value, | |
g = a.$a, | |
h = a.qj, | |
k = a.Da, | |
m = a.Ca, | |
p = a.Mc, | |
q = a.Na; | |
a = a.Di; | |
d = '<div class="' + x("i-da") + " " + x("Xd") + " " + x("Aa") + (h ? " " + x("i-da-zf") : "") + (d ? " " + x("i-da-Tj") : "") + (c ? " " + x(c) : "") + '"' + (e || Rp(e, 0) ? ' value="' + x(e) + '"' : "") + (p || Rp(p, 0) ? ' slideIndex="' + x(p) + '"' : "") + ">"; | |
1 == Ni(b) || 3 == Ni(b) ? (g ? (g = l(b, 25), k = '<a class="' + | |
x("i-da-y") + " " + x("Aa") + (c ? " " + x(c) : "") + '" href="' + x(S(Pi(b))) + '" aria-label="' + x(b.getTitle()) + '"><div class="' + x("h-a-d-Ea-k") + '"></div>' + PH({ | |
Ta: b, | |
Y: c, | |
Da: k, | |
Ca: null != g ? g : m, | |
Na: q | |
}) + "</a>") : (g = l(b, 25), k = PH({ | |
Ta: b, | |
Y: c, | |
Da: k, | |
Ca: null != g ? g : m, | |
Na: q | |
})), d += '<div class="' + x("i-da-lg") + (c ? " " + x(c) : "") + '">' + k + "</div>") : 2 == Ni(b) && (d += '<div class="' + x("i-da-lg") + (c ? " " + x(c) : "") + '">', b = (a ? 'src="' + x(S(l(b, 21))) + '"' : 'src="' + x(S(l(b, 20))) + '"') + ' title="', b += $p("YouTube iframe"), d += JH({ | |
rj: !0, | |
sa: "Aa" + (c ? " " + c : ""), | |
eg: "i-da-Pd", | |
attributes: Yp(b + '"'), | |
width: k, | |
height: m, | |
zb: q | |
}), d += "</div>"); | |
return y(d + "</div>") | |
}, | |
PH = function(a) { | |
var b = a.Ta && (a.Ta.K || a.Ta), | |
c = a.Y, | |
d = a.Da, | |
e = a.Ca; | |
a = a.Na; | |
var g; | |
3 == Ni(b) ? g = JH({ | |
sa: "i-da-A Aa i-da-A-Vf-za" + (c ? " " + c : ""), | |
attributes: Yp('src="' + x(S(l(b, 18))) + '"'), | |
alt: "", | |
width: d, | |
height: e, | |
zb: a | |
}) : 1 == Ni(b) ? g = JH({ | |
sa: "i-da-A Aa i-da-A-Be-za" + (c ? " " + c : ""), | |
attributes: Yp('class="' + x("i-da-A") + " " + x("Aa") + " " + x("i-da-A-Be-za") + (c ? " " + x(c) : "") + '" src="' + x(S(l(b, 18))) + '"'), | |
alt: "", | |
width: d, | |
height: e, | |
zb: a | |
}) : g = ""; | |
return y(g) | |
}; | |
var QH = function(a, b) { | |
return y(R("g", !1)(a, b)) | |
}; | |
Q("g", 0, function(a) { | |
var b = a.Pd; | |
a = a.Za; | |
b = 'offered by <a target="_blank" class="' + (x("e-f-y") + '" href="' + x(S(b)) + '" rel="nofollow">' + (rq(A(a)) + "</a>")); | |
return y(b) | |
}); | |
var RH = function(a, b) { | |
return y(R("h", !1)(a, b)) | |
}; | |
Q("h", 0, function(a) { | |
a = "offered by " + rq(A(a.author)); | |
return y(a) | |
}); | |
var SH = function(a, b) { | |
return y(R("i", !1)(a, b)) | |
}; | |
Q("i", 0, function(a) { | |
a = "offered by " + rq(A(a.Za)); | |
return y(a) | |
}); | |
var TH = { | |
uk: { | |
1E3: { | |
other: "0K" | |
}, | |
1E4: { | |
other: "00K" | |
}, | |
1E5: { | |
other: "000K" | |
}, | |
1E6: { | |
other: "0M" | |
}, | |
1E7: { | |
other: "00M" | |
}, | |
1E8: { | |
other: "000M" | |
}, | |
1E9: { | |
other: "0B" | |
}, | |
1E10: { | |
other: "00B" | |
}, | |
1E11: { | |
other: "000B" | |
}, | |
1E12: { | |
other: "0T" | |
}, | |
1E13: { | |
other: "00T" | |
}, | |
1E14: { | |
other: "000T" | |
} | |
}, | |
Cn: { | |
1E3: { | |
other: "0 thousand" | |
}, | |
1E4: { | |
other: "00 thousand" | |
}, | |
1E5: { | |
other: "000 thousand" | |
}, | |
1E6: { | |
other: "0 million" | |
}, | |
1E7: { | |
other: "00 million" | |
}, | |
1E8: { | |
other: "000 million" | |
}, | |
1E9: { | |
other: "0 billion" | |
}, | |
1E10: { | |
other: "00 billion" | |
}, | |
1E11: { | |
other: "000 billion" | |
}, | |
1E12: { | |
other: "0 trillion" | |
}, | |
1E13: { | |
other: "00 trillion" | |
}, | |
1E14: { | |
other: "000 trillion" | |
} | |
} | |
}, | |
UH = TH; | |
UH = TH; | |
var VH = { | |
AED: [2, "dh", "\u062f.\u0625."], | |
ALL: [0, "Lek", "Lek"], | |
AUD: [2, "$", "AU$"], | |
BDT: [2, "\u09f3", "Tk"], | |
BGN: [2, "lev", "lev"], | |
BRL: [2, "R$", "R$"], | |
CAD: [2, "$", "C$"], | |
CDF: [2, "FrCD", "CDF"], | |
CHF: [2, "CHF", "CHF"], | |
CLP: [0, "$", "CL$"], | |
CNY: [2, "\u00a5", "RMB\u00a5"], | |
COP: [32, "$", "COL$"], | |
CRC: [0, "\u20a1", "CR\u20a1"], | |
CZK: [50, "K\u010d", "K\u010d"], | |
DKK: [50, "kr.", "kr."], | |
DOP: [2, "RD$", "RD$"], | |
EGP: [2, "\u00a3", "LE"], | |
ETB: [2, "Birr", "Birr"], | |
EUR: [2, "\u20ac", "\u20ac"], | |
GBP: [2, "\u00a3", "GB\u00a3"], | |
HKD: [2, "$", "HK$"], | |
HRK: [2, "kn", "kn"], | |
HUF: [34, | |
"Ft", "Ft" | |
], | |
IDR: [0, "Rp", "Rp"], | |
ILS: [34, "\u20aa", "IL\u20aa"], | |
INR: [2, "\u20b9", "Rs"], | |
IRR: [0, "Rial", "IRR"], | |
ISK: [0, "kr", "kr"], | |
JMD: [2, "$", "JA$"], | |
JPY: [0, "\u00a5", "JP\u00a5"], | |
KRW: [0, "\u20a9", "KR\u20a9"], | |
LKR: [2, "Rs", "SLRs"], | |
LTL: [2, "Lt", "Lt"], | |
MNT: [0, "\u20ae", "MN\u20ae"], | |
MVR: [2, "Rf", "MVR"], | |
MXN: [2, "$", "Mex$"], | |
MYR: [2, "RM", "RM"], | |
NOK: [50, "kr", "NOkr"], | |
PAB: [2, "B/.", "B/."], | |
PEN: [2, "S/.", "S/."], | |
PHP: [2, "\u20b1", "PHP"], | |
PKR: [0, "Rs", "PKRs."], | |
PLN: [50, "z\u0142", "z\u0142"], | |
RON: [2, "RON", "RON"], | |
RSD: [0, "din", "RSD"], | |
RUB: [50, "\u20bd", | |
"RUB" | |
], | |
SAR: [2, "Rial", "Rial"], | |
SEK: [50, "kr", "kr"], | |
SGD: [2, "$", "S$"], | |
THB: [2, "\u0e3f", "THB"], | |
TRY: [2, "\u20ba", "TRY"], | |
TWD: [2, "NT$", "NT$"], | |
TZS: [0, "TSh", "TSh"], | |
UAH: [2, "\u0433\u0440\u043d.", "UAH"], | |
USD: [2, "$", "US$"], | |
UYU: [2, "$", "$U"], | |
VND: [48, "\u20ab", "VN\u20ab"], | |
YER: [0, "Rial", "Rial"], | |
ZAR: [2, "R", "ZAR"] | |
}; | |
var WH = { | |
DECIMAL_SEP: ".", | |
GROUP_SEP: ",", | |
Gk: "%", | |
zi: "0", | |
fo: "+", | |
Ek: "-", | |
yk: "E", | |
Hk: "\u2030", | |
wi: "\u221e", | |
bo: "NaN", | |
DECIMAL_PATTERN: "#,##0.###", | |
jo: "#E0", | |
eo: "#,##0%", | |
Dn: "\u00a4#,##0.00", | |
vi: "USD" | |
}, | |
XH = WH; | |
XH = WH; | |
var ic = function(a) { | |
this.H = 40; | |
this.i = 1; | |
this.P = 0; | |
this.h = 3; | |
this.L = this.j = 0; | |
this.X = !1; | |
this.J = this.A = ""; | |
this.w = XH.Ek; | |
this.T = ""; | |
this.g = 1; | |
this.u = !1; | |
this.o = []; | |
this.ma = this.U = !1; | |
this.aa = 0; | |
if ("number" == typeof a) switch (a) { | |
case 1: | |
YH(this, XH.DECIMAL_PATTERN); | |
break; | |
case 2: | |
YH(this, XH.jo); | |
break; | |
case 3: | |
YH(this, XH.eo); | |
break; | |
case 4: | |
a = XH.Dn; | |
var b = ["0"], | |
c = VH[XH.vi]; | |
if (c) { | |
c = c[0] & 7; | |
if (0 < c) { | |
b.push("."); | |
for (var d = 0; d < c; d++) b.push("0") | |
} | |
a = a.replace(/0.00/g, b.join("")) | |
} | |
YH(this, a); | |
break; | |
case 5: | |
ZH(this, 1); | |
break; | |
case 6: | |
ZH(this, | |
2); | |
break; | |
default: | |
throw Error("bb"); | |
} else YH(this, a) | |
}, | |
YH = function(a, b) { | |
var c = [0]; | |
a.A = $H(a, b, c); | |
for (var d = c[0], e = -1, g = 0, h = 0, k = 0, m = -1, p = b.length, q = !0; c[0] < p && q; c[0]++) switch (b.charAt(c[0])) { | |
case "#": | |
0 < h ? k++ : g++; | |
0 <= m && 0 > e && m++; | |
break; | |
case "0": | |
if (0 < k) throw Error("hb`" + b); | |
h++; | |
0 <= m && 0 > e && m++; | |
break; | |
case ",": | |
0 < m && a.o.push(m); | |
m = 0; | |
break; | |
case ".": | |
if (0 <= e) throw Error("ib`" + b); | |
e = g + h + k; | |
break; | |
case "E": | |
if (a.ma) throw Error("jb`" + b); | |
a.ma = !0; | |
a.L = 0; | |
c[0] + 1 < p && "+" == b.charAt(c[0] + 1) && (c[0]++, a.X = !0); | |
for (; c[0] + 1 < p && "0" == b.charAt(c[0] + | |
1);) c[0]++, a.L++; | |
if (1 > g + h || 1 > a.L) throw Error("kb`" + b); | |
q = !1; | |
break; | |
default: | |
c[0]--, q = !1 | |
} | |
0 == h && 0 < g && 0 <= e && (h = e, 0 == h && h++, k = g - h, g = h - 1, h = 1); | |
if (0 > e && 0 < k || 0 <= e && (e < g || e > g + h) || 0 == m) throw Error("lb`" + b); | |
k = g + h + k; | |
a.h = 0 <= e ? k - e : 0; | |
0 <= e && (a.j = g + h - e, 0 > a.j && (a.j = 0)); | |
a.i = (0 <= e ? e : k) - g; | |
a.ma && (a.H = g + a.i, 0 == a.h && 0 == a.i && (a.i = 1)); | |
a.o.push(Math.max(0, m)); | |
a.U = 0 == e || e == k; | |
d = c[0] - d; | |
a.J = $H(a, b, c); | |
c[0] < b.length && ";" == b.charAt(c[0]) ? (c[0]++, 1 != a.g && (a.u = !0), a.w = $H(a, b, c), c[0] += d, a.T = $H(a, b, c)) : (a.w += a.A, a.T += a.J) | |
}, | |
ZH = function(a, | |
b) { | |
a.aa = b; | |
YH(a, XH.DECIMAL_PATTERN); | |
a.j = 0; | |
a.h = 2; | |
if (0 < a.j) throw Error("$a"); | |
a.P = 2 | |
}; | |
ic.prototype.parse = function(a, b) { | |
b = b || [0]; | |
if (0 != this.aa) throw Error("cb"); | |
a = a.replace(/ |\u202f/g, "\u00a0"); | |
var c = a.indexOf(this.A, b[0]) == b[0], | |
d = a.indexOf(this.w, b[0]) == b[0]; | |
c && d && (this.A.length > this.w.length ? d = !1 : this.A.length < this.w.length && (c = !1)); | |
c ? b[0] += this.A.length : d && (b[0] += this.w.length); | |
if (a.indexOf(XH.wi, b[0]) == b[0]) { | |
b[0] += XH.wi.length; | |
var e = Infinity | |
} else { | |
e = a; | |
var g = !1, | |
h = !1, | |
k = !1, | |
m = -1, | |
p = 1, | |
q = XH.DECIMAL_SEP, | |
t = XH.GROUP_SEP, | |
v = XH.yk; | |
if (0 != this.aa) throw Error("db"); | |
t = t.replace(/\u202f/g, "\u00a0"); | |
for (var w = ""; b[0] < e.length; b[0]++) { | |
var J = e.charAt(b[0]), | |
G = aI(J); | |
if (0 <= G && 9 >= G) w += G, k = !0; | |
else if (J == q.charAt(0)) { | |
if (g || h) break; | |
w += "."; | |
g = !0 | |
} else if (J == t.charAt(0) && ("\u00a0" != t.charAt(0) || b[0] + 1 < e.length && 0 <= aI(e.charAt(b[0] + 1)))) { | |
if (g || h) break | |
} else if (J == v.charAt(0)) { | |
if (h) break; | |
w += "E"; | |
h = !0; | |
m = b[0] | |
} else if ("+" == J || "-" == J) { | |
if (k && m != b[0] - 1) break; | |
w += J | |
} else if (1 == this.g && J == XH.Gk.charAt(0)) { | |
if (1 != p) break; | |
p = 100; | |
if (k) { | |
b[0]++; | |
break | |
} | |
} else if (1 == this.g && J == XH.Hk.charAt(0)) { | |
if (1 != p) break; | |
p = 1E3; | |
if (k) { | |
b[0]++; | |
break | |
} | |
} else break | |
} | |
1 != | |
this.g && (p = this.g); | |
e = parseFloat(w) / p | |
} | |
if (c) { | |
if (a.indexOf(this.J, b[0]) != b[0]) return NaN; | |
b[0] += this.J.length | |
} else if (d) { | |
if (a.indexOf(this.T, b[0]) != b[0]) return NaN; | |
b[0] += this.T.length | |
} | |
return d ? -e : e | |
}; | |
var jc = function(a, b) { | |
if (isNaN(b)) return XH.bo; | |
var c = []; | |
var d = b; | |
if (0 == a.aa) d = bI; | |
else { | |
d = Math.abs(d); | |
var e = cI(a, 1 >= d ? 0 : dI(d)).Mi; | |
d = cI(a, e + dI(eI(a, fI(d, -e)).em)) | |
} | |
b = fI(b, -d.Mi); | |
c.push(d.prefix); | |
e = 0 > b || 0 == b && 0 > 1 / b; | |
c.push(e ? a.w : a.A); | |
if (isFinite(b)) | |
if (b = b * (e ? -1 : 1) * a.g, a.ma) | |
if (0 == b) gI(a, b, a.i, c), hI(a, 0, c); | |
else { | |
var g = Math.floor(Math.log(b) / Math.log(10) + 2E-15); | |
b = fI(b, -g); | |
var h = a.i; | |
1 < a.H && a.H > a.i ? (h = g % a.H, 0 > h && (h = a.H + h), b = fI(b, h), g -= h, h = 1) : 1 > a.i ? (g++, b = fI(b, -1)) : (g -= a.i - 1, b = fI(b, a.i - 1)); | |
gI(a, b, h, c); | |
hI(a, g, c) | |
} | |
else gI(a, | |
b, a.i, c); | |
else c.push(XH.wi); | |
c.push(e ? a.T : a.J); | |
c.push(d.mn); | |
return c.join("") | |
}, | |
eI = function(a, b) { | |
var c = fI(b, a.h); | |
0 < a.P && (c = iI(c, a.P, a.h)); | |
c = Math.round(c); | |
isFinite(c) ? (b = Math.floor(fI(c, -a.h)), a = Math.floor(c - fI(b, a.h))) : a = 0; | |
return { | |
em: b, | |
$o: a | |
} | |
}, | |
gI = function(a, b, c, d) { | |
if (a.j > a.h) throw Error("eb"); | |
d || (d = []); | |
b = eI(a, b); | |
var e = b.em, | |
g = b.$o, | |
h = 0 < a.j || 0 < g || !1; | |
b = a.j; | |
h && (b = a.j); | |
for (var k = "", m = e; 1E20 < m;) k = "0" + k, m = Math.round(fI(m, -1)); | |
k = m + k; | |
var p = XH.DECIMAL_SEP; | |
m = XH.zi.charCodeAt(0); | |
var q = k.length, | |
t = 0; | |
if (0 < e || 0 < c) { | |
for (e = | |
q; e < c; e++) d.push(String.fromCharCode(m)); | |
if (2 <= a.o.length) | |
for (c = 1; c < a.o.length; c++) t += a.o[c]; | |
c = q - t; | |
if (0 < c) { | |
e = a.o; | |
t = q = 0; | |
for (var v, w = XH.GROUP_SEP, J = k.length, G = 0; G < J; G++) | |
if (d.push(String.fromCharCode(m + Number(k.charAt(G)))), 1 < J - G) | |
if (v = e[t], G < c) { | |
var I = c - G; | |
(1 === v || 0 < v && 1 === I % v) && d.push(w) | |
} else t < e.length && (G === c ? t += 1 : v === G - c - q + 1 && (d.push(w), q += v, t += 1)) | |
} else { | |
c = k; | |
k = a.o; | |
e = XH.GROUP_SEP; | |
v = c.length; | |
w = []; | |
for (q = k.length - 1; 0 <= q && 0 < v; q--) { | |
t = k[q]; | |
for (J = 0; J < t && 0 <= v - J - 1; J++) w.push(String.fromCharCode(m + Number(c.charAt(v - | |
J - 1)))); | |
v -= t; | |
0 < v && w.push(e) | |
} | |
d.push.apply(d, w.reverse()) | |
} | |
} else h || d.push(String.fromCharCode(m)); | |
(a.U || h) && d.push(p); | |
g = String(g); | |
h = g.split("e+"); | |
2 == h.length && (g = String(iI(parseFloat(h[0]), a.P, 1)), g = g.replace(".", ""), g += ig("0", parseInt(h[1], 10) - g.length + 1)); | |
a.h + 1 > g.length && (g = "1" + ig("0", a.h - g.length) + g); | |
for (a = g.length; | |
"0" == g.charAt(a - 1) && a > b + 1;) a--; | |
for (e = 1; e < a; e++) d.push(String.fromCharCode(m + Number(g.charAt(e)))) | |
}, | |
hI = function(a, b, c) { | |
c.push(XH.yk); | |
0 > b ? (b = -b, c.push(XH.Ek)) : a.X && c.push(XH.fo); | |
b = "" + b; | |
for (var d = XH.zi, e = b.length; e < a.L; e++) c.push(d); | |
c.push(b) | |
}, | |
aI = function(a) { | |
a = a.charCodeAt(0); | |
if (48 <= a && 58 > a) return a - 48; | |
var b = XH.zi.charCodeAt(0); | |
return b <= a && a < b + 10 ? a - b : -1 | |
}, | |
$H = function(a, b, c) { | |
for (var d = "", e = !1, g = b.length; c[0] < g; c[0]++) { | |
var h = b.charAt(c[0]); | |
if ("'" == h) c[0] + 1 < g && "'" == b.charAt(c[0] + 1) ? (c[0]++, d += "'") : e = !e; | |
else if (e) d += h; | |
else switch (h) { | |
case "#": | |
case "0": | |
case ",": | |
case ".": | |
case ";": | |
return d; | |
case "\u00a4": | |
c[0] + 1 < g && "\u00a4" == b.charAt(c[0] + 1) ? (c[0]++, d += XH.vi) : (h = XH.vi, d += h in VH ? VH[h][1] : | |
h); | |
break; | |
case "%": | |
if (!a.u && 1 != a.g) throw Error("fb"); | |
if (a.u && 100 != a.g) throw Error("gb"); | |
a.g = 100; | |
a.u = !1; | |
d += XH.Gk; | |
break; | |
case "\u2030": | |
if (!a.u && 1 != a.g) throw Error("fb"); | |
if (a.u && 1E3 != a.g) throw Error("gb"); | |
a.g = 1E3; | |
a.u = !1; | |
d += XH.Hk; | |
break; | |
default: | |
d += h | |
} | |
} | |
return d | |
}, | |
bI = { | |
prefix: "", | |
mn: "", | |
Mi: 0 | |
}, | |
cI = function(a, b) { | |
a = 1 == a.aa ? UH.uk : UH.Cn; | |
null == a && (a = UH.uk); | |
if (3 > b) return bI; | |
b = Math.min(14, b); | |
var c = a[fI(1, b)]; | |
for (--b; !c && 3 <= b;) c = a[fI(1, b)], b--; | |
if (!c) return bI; | |
a = c.other; | |
return a && "0" != a ? (a = /([^0]*)(0+)(.*)/.exec(a)) ? { | |
prefix: a[1], | |
mn: a[3], | |
Mi: b + 1 - (a[2].length - 1) | |
} : bI : bI | |
}, | |
dI = function(a) { | |
if (!isFinite(a)) return 0 < a ? a : 0; | |
for (var b = 0; 1 <= (a /= 10);) b++; | |
return b | |
}, | |
fI = function(a, b) { | |
if (!a || !isFinite(a) || 0 == b) return a; | |
a = String(a).split("e"); | |
return parseFloat(a[0] + "e" + (parseInt(a[1] || 0, 10) + b)) | |
}, | |
jI = function(a, b) { | |
return a && isFinite(a) ? fI(Math.round(fI(a, b)), -b) : a | |
}, | |
iI = function(a, b, c) { | |
if (!a) return a; | |
b = b - dI(a) - 1; | |
return b < -c ? jI(a, -c) : jI(a, b) | |
}; | |
var kI = function(a) { | |
return 1 == a % 10 && 11 != a % 100 ? "one" : 2 == a % 10 && 12 != a % 100 ? "two" : 3 == a % 10 && 13 != a % 100 ? "few" : "other" | |
}, | |
lI = kI; | |
lI = kI; | |
var mI = function(a, b) { | |
if (void 0 === b) { | |
b = a + ""; | |
var c = b.indexOf("."); | |
b = Math.min(-1 == c ? 0 : b.length - c - 1, 3) | |
} | |
return 1 == (a | 0) && 0 == b ? "one" : "other" | |
}, | |
nI = mI; | |
nI = mI; | |
var oc = function(a) { | |
this.j = a; | |
this.i = this.g = this.w = null; | |
a = XH; | |
var b = UH; | |
if (oI !== a || pI !== b) oI = a, pI = b, qI = new ic(1); | |
this.o = qI | |
}, | |
oI = null, | |
pI = null, | |
qI = null, | |
rI = /'([{}#].*?)'/g, | |
sI = /''/g, | |
nc = function(a, b) { | |
return tI(a, b, !1) | |
}, | |
uI = function(a, b) { | |
return tI(a, b, !0) | |
}, | |
tI = function(a, b, c) { | |
if (a.j) { | |
a.w = []; | |
var d = vI(a, a.j); | |
a.i = wI(a, d); | |
a.j = null | |
} | |
if (!a.i || 0 == a.i.length) return ""; | |
a.g = Dd(a.w); | |
d = []; | |
xI(a, a.i, b, c, d); | |
for (b = d.join(""); 0 < a.g.length;) b = b.replace(a.h(a.g), a.g.pop()); | |
return b | |
}, | |
xI = function(a, b, c, d, e) { | |
for (var g = 0; g < b.length; g++) switch (b[g].type) { | |
case 4: | |
e.push(b[g].value); | |
break; | |
case 3: | |
var h = b[g].value, | |
k = a, | |
m = e, | |
p = c[h]; | |
void 0 === p ? m.push("Undefined parameter - " + h) : (k.g.push(p), m.push(k.h(k.g))); | |
break; | |
case 2: | |
h = b[g].value; | |
k = a; | |
m = c; | |
p = d; | |
var q = e, | |
t = h.Pg; | |
void 0 === m[t] ? q.push("Undefined parameter - " + t) : (t = h[m[t]], void 0 === t && (t = h.other), xI(k, t, m, p, q)); | |
break; | |
case 0: | |
h = b[g].value; | |
yI(a, h, c, nI, d, e); | |
break; | |
case 1: | |
h = b[g].value, yI(a, h, c, lI, d, e) | |
} | |
}, | |
yI = function(a, b, c, d, e, g) { | |
var h = b.Pg, | |
k = b.Pk, | |
m = +c[h]; | |
isNaN(m) ? g.push("Undefined or invalid parameter - " + h) : (k = m - k, h = b[c[h]], void 0 === h && (d = d(Math.abs(k)), | |
h = b[d], void 0 === h && (h = b.other)), b = [], xI(a, h, c, e, b), c = b.join(""), e ? g.push(c) : (a = jc(a.o, k), g.push(c.replace(/#/g, a)))) | |
}, | |
vI = function(a, b) { | |
var c = a.w, | |
d = D(a.h, a); | |
b = b.replace(sI, function() { | |
c.push("'"); | |
return d(c) | |
}); | |
return b = b.replace(rI, function(e, g) { | |
c.push(g); | |
return d(c) | |
}) | |
}, | |
zI = function(a) { | |
var b = 0, | |
c = [], | |
d = [], | |
e = /[{}]/g; | |
e.lastIndex = 0; | |
for (var g; g = e.exec(a);) { | |
var h = g.index; | |
"}" == g[0] ? (c.pop(), 0 == c.length && (g = { | |
type: 1 | |
}, g.value = a.substring(b, h), d.push(g), b = h + 1)) : (0 == c.length && (b = a.substring(b, h), "" != b && d.push({ | |
type: 0, | |
value: b | |
}), b = h + 1), c.push("{")) | |
} | |
b = a.substring(b); | |
"" != b && d.push({ | |
type: 0, | |
value: b | |
}); | |
return d | |
}, | |
AI = /^\s*(\w+)\s*,\s*plural\s*,(?:\s*offset:(\d+))?/, | |
BI = /^\s*(\w+)\s*,\s*selectordinal\s*,/, | |
CI = /^\s*(\w+)\s*,\s*select\s*,/, | |
wI = function(a, b) { | |
var c = []; | |
b = zI(b); | |
for (var d = 0; d < b.length; d++) { | |
var e = {}; | |
if (0 == b[d].type) e.type = 4, e.value = b[d].value; | |
else if (1 == b[d].type) { | |
var g = b[d].value; | |
switch (AI.test(g) ? 0 : BI.test(g) ? 1 : CI.test(g) ? 2 : /^\s*\w+\s*/.test(g) ? 3 : 5) { | |
case 2: | |
e.type = 2; | |
e.value = DI(a, b[d].value); | |
break; | |
case 0: | |
e.type = 0; | |
e.value = EI(a, b[d].value); | |
break; | |
case 1: | |
e.type = 1; | |
e.value = FI(a, b[d].value); | |
break; | |
case 3: | |
e.type = 3, e.value = b[d].value | |
} | |
} | |
c.push(e) | |
} | |
return c | |
}, | |
DI = function(a, b) { | |
var c = ""; | |
b = b.replace(CI, function(k, m) { | |
c = m; | |
return "" | |
}); | |
var d = {}; | |
d.Pg = c; | |
b = zI(b); | |
for (var e = 0; e < b.length;) { | |
var g = b[e].value; | |
e++; | |
var h; | |
1 == b[e].type && (h = wI(a, b[e].value)); | |
d[g.replace(/\s/g, "")] = h; | |
e++ | |
} | |
return d | |
}, | |
EI = function(a, b) { | |
var c = "", | |
d = 0; | |
b = b.replace(AI, function(m, p, q) { | |
c = p; | |
q && (d = parseInt(q, 10)); | |
return "" | |
}); | |
var e = {}; | |
e.Pg = c; | |
e.Pk = d; | |
b = zI(b); | |
for (var g = 0; g < b.length;) { | |
var h = | |
b[g].value; | |
g++; | |
var k; | |
1 == b[g].type && (k = wI(a, b[g].value)); | |
e[h.replace(/\s*(?:=)?(\w+)\s*/, "$1")] = k; | |
g++ | |
} | |
return e | |
}, | |
FI = function(a, b) { | |
var c = ""; | |
b = b.replace(BI, function(k, m) { | |
c = m; | |
return "" | |
}); | |
var d = {}; | |
d.Pg = c; | |
d.Pk = 0; | |
b = zI(b); | |
for (var e = 0; e < b.length;) { | |
var g = b[e].value; | |
e++; | |
if (1 == b[e].type) var h = wI(a, b[e].value); | |
d[g.replace(/\s*(?:=)?(\w+)\s*/, "$1")] = h; | |
e++ | |
} | |
return d | |
}; | |
oc.prototype.h = function(a) { | |
return "\ufddf_" + (a.length - 1).toString(10) + "_" | |
}; | |
var GI = function() { | |
return y('<div class="' + x("rsw-unstarred") + '" xmlns:ga="http://www.w3.org/1999/xhtml"></div><div class="' + x("rsw-unstarred") + '"></div><div class="' + x("rsw-unstarred") + '"></div><div class="' + x("rsw-unstarred") + '"></div><div class="' + x("rsw-unstarred") + '"></div>') | |
}, | |
II = function(a) { | |
var b = a.ka && (a.ka.K || a.ka); | |
a = a.N; | |
return y('<div class="' + x("rsw-stars") + (a ? " " + x(a) : "") + '" g:type="AverageStarRating" g:url="' + x(S(l(b, 12))) + '" g:groups="chrome_webstore" g:rating_override="' + x(fh(b, 13)) + | |
'">' + GI() + '<span class="' + x("q-N-nd") + '" aria-label="' + x(HI({ | |
ka: b | |
})) + '">(' + A(Ki(b)) + ")</span></div>") | |
}, | |
HI = function(a) { | |
var b = a.ka && (a.ka.K || a.ka); | |
a = ""; | |
if (Ki(b)) { | |
var c = "Average rating " + (Sp(fh(b, 13), 1) + " out of 5."); | |
a = a + c + " " | |
} | |
b = uI(new oc("{NUMBER_OF_STAR_RATINGS_1,plural,=0{ No user rated this item.}=1{ One user rated this item.}other{ {NUMBER_OF_STAR_RATINGS_2} users rated this item.}}"), { | |
NUMBER_OF_STAR_RATINGS_1: Ki(b), | |
NUMBER_OF_STAR_RATINGS_2: kc(Ki(b)) | |
}); | |
return a + b | |
}, | |
JI = function(a) { | |
var b = a.Sg; | |
a = a.cm; | |
return y('<table><tr><td><div class="' + x("rsw-picker") + " " + x("pd-Ye-Qa") + '" g:type="RatingPicker" g:url="' + x(S(b)) + '" g:groups="chrome_webstore" ga:nocancelicon="false" ga:unlockwhenrated="true"><span class="' + x("rsw-picker-message") + (a ? " " + x("Pa") : "") + '"></span><div class="' + x("rsw-picker-stars") + '"><a tabindex="0" class="' + x("rsw-picker-slider") + '" aria-valuenow="1" aria-valuemax="5" aria-valuemin="1" role="slider" aria-label="Provide a rating" aria-valuetext="poor"></a>' + GI() + '<a class="' + x("rsw-picker-remove") + | |
'" style="display:none"></a></div></div></td></tr></table>') | |
}; | |
var KI = function(a) { | |
a = a || {}; | |
a = a.N; | |
return y('<div class="' + x("a") + (a ? " " + x(a) : "") + '"><div class="' + x("h-a-S") + '"></div><div class="' + x("h-a-jd") + " " + x("a-jd") + " " + x("Pa") + '"><div class="' + x("h-a-jd-me-Ng") + " " + x("a-jd-me-Ng") + '"></div></div></div>') | |
}, | |
LI = function(a, b, c) { | |
b = c || b; | |
return y(R("j", !1)(a, b)) | |
}; | |
Q("j", 0, function(a) { | |
var b = a.Wg, | |
c = a.Lh; | |
return y((a.ni ? MI() + NI() : "") + '<div class="' + x("h-a-x") + '"></div><div' + (b ? ' class="' + x("a-Hd-mb-Og-Ia") + '"' : "") + '><div class="' + x("h-a-Hd-mb") + " " + x("a-Hd-mb") + '">' + A(c) + '</div><div class="' + x("h-a-Kd") + " " + x("a-Hd-mb") + '"><div class="' + x("Sf-Kd") + '"></div></div></div>') | |
}); | |
var NI = function() { | |
var a = '<div class="' + x("h-wHEfpf-Qb-b-Qe") + '"><div class="' + x("h-wHEfpf-Qb-Dd-b-x") + '"></div><div class="' + x("h-wHEfpf-Qb-Y80K8c-b-x") + " " + x("Pa") + '"><div class="' + x("wHEfpf-Qb-Y80K8c-nDcAnd") + " " + x("a-d-zc") + '"><div>'; | |
a = a + 'Not on this device.</div></div><div class="' + (x("h-wHEfpf-Qb-Y80K8c-b-x-Nb-ha") + '"></div></div></div>'); | |
return y(a) | |
}, | |
MI = function() { | |
var a = '<div class="' + x("wHEfpf-Qb-b-j") + " " + x("g-b-j") + " " + x("g-b-j-O") + '"><div class="' + x("h-wHEfpf-Qb-Dd-b") + " " + x("wHEfpf-Qb-b") + | |
" " + x("g-b") + " " + x("g-b-Fa") + '" tabContent="' + x("h-wHEfpf-Qb-Dd-b-x") + '"><div class="' + x("wHEfpf-Qb-b-L-k") + '"><div class="' + x("wHEfpf-Qb-b-L") + '">'; | |
a = a + 'Installed</div></div></div><div class="' + (x("h-wHEfpf-Qb-Y80K8c-b") + " " + x("wHEfpf-Qb-b") + " " + x("g-b") + '" tabContent="' + x("h-wHEfpf-Qb-Y80K8c-b-x") + '"><div class="' + x("wHEfpf-Qb-b-L-k") + '"><div class="' + x("wHEfpf-Qb-b-L") + '">'); | |
a = a + 'Library</div></div></div><div class="' + (x("h-wHEfpf-Qb") + '"><div class="' + x("wHEfpf-Qb-k") + '"><div class="' + x("h-wHEfpf-Qb-k-Jc") + | |
" " + x("wHEfpf-Qb-k-Jc") + " " + x("Pa") + '"></div></div></div></div><div class="' + x("g-b-j-Sc") + '"></div>'); | |
return y(a) | |
}, | |
PI = function(a, b, c) { | |
b = c || b; | |
c = a.item && (a.item.K || a.item); | |
var d = a.left, | |
e = a.N, | |
g = a.g; | |
null == a.R || cd(a.R); | |
a = a.R; | |
return y('<div class="' + x("a-d") + " webstore-test-wall-tile " + x("a-d-zc") + (d ? " " + x("a-V-d-n") : " " + x("a-V-d-p")) + " " + x("Xd") + '"' + (Li(c) ? ' index="' + x(Li(c)) + '"' : "") + (d ? ' type="BL"' : ' type="BR"') + '><a class="' + x("a-u") + '" href="' + x(S(Pi(c))) + '" tabindex="' + (g ? x(g) : "0") + '"><div class="' + | |
x("a-V-d") + (e ? " " + x(e) : "") + " " + x(MH({ | |
item: c | |
})) + '"><div class="' + x("a-V-d-cb-O") + '"></div><div class="' + x("a-d-Ec") + '"><div class="' + x("h-a-d-Ea-k") + '"></div>' + JH({ | |
sa: "a-V-d-A", | |
attributes: Yp('src="' + (l(c, 6) ? x(S(l(c, 6))) : "") + '"'), | |
width: 460, | |
height: 340 | |
}) + (a && 0 < a.length ? '<div class="' + x("a-V-d-bb") + '">' + Cq({ | |
R: a, | |
Ra: "h-a-V-d-G" | |
}) + "</div>" : "") + '<div class="' + x("a-V-d-Mb") + '"><div class="' + x("a-V-d-w") + '">' + A(c.getTitle()) + '</div><div class="' + x("a-V-d-va") + '">' + OI({ | |
item: c, | |
R: null | |
}, b) + "</div></div></div></div></a></div>") | |
}, | |
QI = function(a) { | |
a = a.item && (a.item.K || a.item); | |
var b = y, | |
c = '<div class="' + x("a-d") + " webstore-test-wall-tile " + x("a-d-zc") + " " + x("a-z-d-k") + " " + x("Xd") + '"' + (Li(a) ? ' index="' + x(Li(a)) + '"' : "") + ' type="R"><div class="' + x("a-z-d") + " " + x("a-d-Ec") + " " + x(MH({ | |
item: a | |
})) + '">'; | |
var d = a && (a.K || a); | |
d = y('<a class="' + x("a-u") + '" href="' + x(S(Pi(d))) + '" tabindex="0"><div class="' + x("a-d-cb-O") + '"></div><div class="' + x("a-d-Ec") + '"><div class="' + x("h-a-d-Ea-k") + '"></div><img class="' + x("a-P-d-A") + " " + x("h-a-d-A") + " " + x("a-Fg-d-A") + | |
'" src="' + (Hi(d) ? x(lq(Hi(d))) : "") + '"><div class="' + x("a-P-d-Mb") + '"><div class="' + x("a-P-d-w") + '">' + A(d.getTitle()) + "</div></div></div></a>"); | |
return b(c + d + '<div class="' + x("a-z-N-B") + '"><div class="' + x("h-a-d-N-B") + " " + x("a-d-N-B") + '"><div class="' + x("Ca-Ta") + " " + x("z-d-B") + '">' + JI({ | |
Sg: l(a, 12), | |
cm: !0 | |
}) + "</div></div></div></div></div>") | |
}, | |
RI = function(a, b, c) { | |
b = c || b; | |
c = a.item && (a.item.K || a.item); | |
var d = a.N, | |
e = a.g, | |
g = a.xe; | |
null == a.R || cd(a.R); | |
var h = a.R; | |
var k = a.pf; | |
a = a.qf; | |
return y('<div class="' + x("a-d") + " webstore-test-wall-tile " + | |
x("a-d-zc") + " " + x("a-P-d-k") + " " + x("Xd") + '"' + (Li(c) ? ' index="' + x(Li(c)) + '"' : "") + ' type="M" title="' + x(FC({ | |
item: c | |
}, b)) + '"><a class="' + x("a-u") + '" href="' + x(S(Pi(c))) + '" tabindex="' + (e ? x(e) : "0") + '">' + R("k", !1)({ | |
item: c, | |
N: d, | |
Kg: !0, | |
R: h, | |
xe: g, | |
pf: k, | |
qf: a | |
}, b) + "</a></div>") | |
}; | |
Q("k", 0, function(a, b, c) { | |
b = c || b; | |
c = a.item && (a.item.K || a.item); | |
var d = a.N, | |
e = a.Kg, | |
g = a.xe; | |
null == a.R || cd(a.R); | |
var h = a.R; | |
var k = a.pf; | |
a = a.qf; | |
h = g ? '<div class="' + x("a-d-ud-k") + " " + x("a-P-d-ud") + '"></div>' : h && 0 < h.length ? '<div class="' + x("a-P-d-bb") + '">' + Cq({ | |
R: h, | |
Ra: "h-a-P-d-G" | |
}) + "</div>" : ""; | |
return y('<div class="' + x("a-P-d") + " " + x(MH({ | |
item: c | |
})) + (d ? " " + x(d) : "") + '"><div class="' + x("a-P-d-cb-O") + '"></div><div class="' + x("a-d-Ec") + '"><div class="' + x("h-a-d-Ea-k") + '"></div>' + (e ? JH({ | |
sa: "a-P-d-A", | |
attributes: Yp('src="' + | |
(Hi(c) ? x(S(Hi(c))) : "") + '"') | |
}) : '<img class="' + x("a-P-d-A") + '" src="' + (Hi(c) ? x(lq(Hi(c))) : "") + '">') + '<div class="' + x("a-d-l-L") + '">' + A(Ii(c)) + "</div>" + (k ? '<div class="' + x("a-d-Ci-sk") + '" title="Dogfood"></div>' : "") + '<div class="' + x("a-P-d-Mb") + '"><div class="' + x("a-P-d-w") + '">' + A(c.getTitle()) + '</div><div class="' + x("a-P-d-va") + '">' + OI({ | |
item: c, | |
fc: g | |
}, b) + "</div></div>" + h + "</div>" + (a ? '<div class="' + x("C-b-i-Ld-ng") + '"></div>' : "") + KH({ | |
item: c, | |
N: "Pa" | |
}) + "</div>") | |
}); | |
var TI = function(a, b, c) { | |
b = c || b; | |
c = a.item && (a.item.K || a.item); | |
var d = a.N, | |
e = a.g; | |
null == a.R || cd(a.R); | |
a = a.R; | |
return y('<div class="' + x("a-d") + " webstore-test-wall-tile " + x("a-d-zc") + " " + x("a-t-P-d-k") + " " + x("Xd") + '"' + (Li(c) ? ' index="' + x(Li(c)) + '"' : "") + ' type="M"><a class="' + x("a-u") + '" href="' + x(S(Pi(c))) + '" tabindex="' + (e ? x(e) : "0") + '">' + SI({ | |
item: c, | |
N: d, | |
R: a | |
}, b) + "</a></div>") | |
}, | |
SI = function(a, b) { | |
var c = a.item && (a.item.K || a.item), | |
d = a.N; | |
null == a.R || cd(a.R); | |
a = a.R; | |
return y('<div class="' + x("a-t-P-d") + " " + x(MH({ | |
item: c | |
})) + | |
(d ? " " + x(d) : "") + '"><div class="' + x("a-d-cb-O") + '"></div><div class="' + x("a-d-Ec") + '">' + UI({ | |
yj: Gi(Qi(c)) | |
}) + '<div class="' + x("a-t-P-d-Mb") + '"><div class="' + x("a-t-P-d-w") + '">' + A(c.getTitle()) + '</div><div class="' + x("a-t-P-d-va") + '">' + OI({ | |
item: c, | |
R: null | |
}, b) + "</div>" + (a && 0 < a.length ? '<div class="' + x("a-t-P-d-bb") + '">' + Cq({ | |
R: a, | |
Ra: "h-a-t-P-d-G" | |
}) + "</div>" : "") + "</div></div></div>") | |
}, | |
UI = function(a) { | |
cd(a.yj); | |
a = a.yj; | |
var b = '<div class="' + x("a-t-P-d-A") + '"><div class="' + x("a-t-P-d-A-k") + '">'; | |
if (a) | |
for (var c = a.length, | |
d = 0; 12 > d; d++) { | |
var e = d; | |
b += '<div class="' + x("a-t-P-d-A-u") + '">' + JH({ | |
attributes: Yp('src="' + x(S(Hi(a[0 == c % 3 ? (e + Math.floor(e / c)) % c : e % c]))) + '"'), | |
width: 121, | |
height: 77 | |
}) + "</div>" | |
} | |
return y(b + "</div></div>") | |
}, | |
WI = function(a, b, c) { | |
b = c || b; | |
c = a.item && (a.item.K || a.item); | |
var d = a.N; | |
a = a.g; | |
return y('<div class="' + x("a-d") + " webstore-test-wall-tile " + x("a-d-zc") + " " + x("Xd") + '"' + (Li(c) ? ' index="' + x(Li(c)) + '"' : "") + ' type="T"><a class="' + x("a-u") + '" href="' + x(S(Pi(c))) + '" tabindex="' + (a ? x(a) : "0") + '">' + VI({ | |
item: c, | |
N: d | |
}, b) + "</a></div>") | |
}, | |
VI = function(a, b) { | |
var c = a.item && (a.item.K || a.item), | |
d = a.N, | |
e = a.fc; | |
null == a.R || cd(a.R); | |
a = a.R; | |
return y('<div class="' + x("a-Sa-d") + " " + x(MH({ | |
item: c | |
})) + (d ? " " + x(d) : "") + '"><div class="' + x("a-d-cb-O") + '"></div><div class="' + x("a-d-Ec") + '"><div class="' + x("h-a-d-Ea-k") + '"></div>' + KH({ | |
item: c, | |
N: "a-Sa-d-A" | |
}) + '<div class="' + x("a-Sa-d-w-va-k") + '"><div class="' + x("a-Sa-d-w") + '">' + A(c.getTitle()) + '</div><div class="' + x("a-Sa-d-va") + '">' + OI({ | |
item: c, | |
fc: e, | |
R: a | |
}, b) + "</div></div></div></div>") | |
}, | |
YI = function(a, b, c) { | |
b = c || b; | |
c = a.item && (a.item.K || a.item); | |
var d = a.N; | |
a = a.g; | |
return y('<div class="' + x("a-d") + " webstore-test-wall-tile " + x("a-d-zc") + " " + x("a-U-d-k") + " " + x("Xd") + '"' + (Li(c) ? ' index="' + x(Li(c)) + '"' : "") + ' type="S"><a class="' + x("a-u") + '" href="' + x(S(Pi(c))) + '" tabindex="' + (a ? x(a) : "0") + '">' + XI({ | |
item: c, | |
N: d | |
}, b) + "</a></div>") | |
}, | |
XI = function(a, b) { | |
var c = a.item && (a.item.K || a.item), | |
d = a.N, | |
e = a.xl, | |
g = a.fc; | |
null == a.R || cd(a.R); | |
a = a.R; | |
return y('<div class="' + x("a-U-d") + " " + x(MH({ | |
item: c | |
})) + (d ? " " + x(d) : "") + '"><div class="' + x("a-U-d-cb-O") + | |
'"></div><div class="' + x("a-d-Ec") + '">' + (e ? "" : '<div class="' + x("h-a-d-Ea-k") + '"></div>') + KH({ | |
item: c, | |
N: "a-U-d-A" | |
}) + '<div class="' + x("a-U-d-w-va-k") + '"><div class="' + x("a-U-d-w") + '"><span title="' + x(c.getTitle()) + '">' + A(c.getTitle()) + '</span></div><div class="' + x("a-U-d-va") + '">' + OI({ | |
item: c, | |
fc: g, | |
R: a | |
}, b) + "</div></div></div></div>") | |
}, | |
ZI = function(a) { | |
a = A(a.lb) + " users"; | |
return y(a) | |
}, | |
OI = function(a, b, c) { | |
b = c || b; | |
null == a.R || cd(a.R); | |
return y(R("l", !1)(a, b)) | |
}; | |
Q("l", 0, function(a, b, c) { | |
b = c || b; | |
c = a.item && (a.item.K || a.item); | |
var d = a.fc, | |
e = a.ui; | |
null == a.R || cd(a.R); | |
a = a.R; | |
var g = b.zf, | |
h = b.Af, | |
k = b.Bf; | |
b = ""; | |
var m = Si(c) || 0 == Ki(c); | |
a && 0 < a.length ? b += '<div class="' + x("a-d-va-bb") + '">' + Cq({ | |
R: a, | |
Ra: "h-a-d-va-G" | |
}) + "</div>" : d && !m ? b += II({ | |
ka: c, | |
N: "a-d-N" + (e ? " " + e : "") | |
}) : d || (0 != Oi(c) || Rp(c.ua(), "0") ? 12 == Oi(c) ? b += $I({ | |
item: c | |
}) : 2 == Oi(c) || 3 == Oi(c) || 4 == Oi(c) || 13 == Oi(c) ? b += "Featured" : 5 == Oi(c) ? (c = Rp(h, g) || Rp(h, k), b += c ? '<span class="' + x("ej-L-Mf") + '">' : "", b = b + "Advertisement" + (c ? "</span>" : "")) : | |
m ? Rp(c.ua(), "0") || (b += ZI({ | |
lb: c.ua() | |
})) : b += II({ | |
ka: c, | |
N: "a-d-N" + (e ? " " + e : "") | |
}) : b += ZI({ | |
lb: c.ua() | |
})); | |
return y(b) | |
}); | |
var $I = function(a) { | |
a = a.item && (a.item.K || a.item); | |
var b = ""; | |
2 == l(a, 52) ? (b += '<div class="' + x("tc-Mg") + '"><div class="' + x("tc-Wc-cf") + '"></div><div class="' + x("tc-Wc-lf") + '"></div><div class="' + x("tc-Wc-lf") + '"></div></div> ', b += "Trending: Warm ") : 3 == l(a, 52) ? (b += '<div class="' + x("tc-Mg") + '"><div class="' + x("tc-Wc-cf") + '"></div><div class="' + x("tc-Wc-cf") + '"></div><div class="' + x("tc-Wc-lf") + '"></div></div> ', b += "Trending: Hot") : 4 == l(a, 52) ? (b += '<div class="' + x("tc-Mg") + '"><div class="' + x("tc-Wc-cf") + '"></div><div class="' + | |
x("tc-Wc-cf") + '"></div><div class="' + x("tc-Wc-cf") + '"></div></div> ', b += "Trending: On fire ") : b += '<div class="' + x("tc-Mg") + '"><div class="' + x("tc-Wc-lf") + '"></div><div class="' + x("tc-Wc-lf") + '"></div><div class="' + x("tc-Wc-lf") + '"></div></div>'; | |
return y(b) | |
}, | |
aJ = function(a, b, c) { | |
b = c || b; | |
cd(a.ra); | |
a = a.ra; | |
return y('<div class="' + x("a-La") + " " + x("a-d-zc") + '">' + R("m", !1)({ | |
ra: a | |
}, b) + "</div>") | |
}; | |
Q("m", 0, function(a, b, c) { | |
b = c || b; | |
cd(a.ra); | |
return y(OH({ | |
ra: a.ra, | |
Hb: 5, | |
Da: 700, | |
Ca: 280, | |
wb: 710, | |
ub: !1, | |
Y: "a-La-i webstore-test-wall-marquee-slideshow", | |
dc: !0, | |
Ab: 2, | |
$a: !0 | |
}, b)) | |
}); | |
var bJ = function(a) { | |
var b = a.No, | |
c = a.Gi, | |
d = a.backgroundColor, | |
e = a.rk, | |
g = a.textShadow; | |
a = a.backgroundImage; | |
d = '<div class="' + x("a-t-k") + '"><div class="' + x("a-t-o") + " " + x("a-d-zc") + '"><div class="' + x("a-t-o-Ec") + '" style="background-color: ' + x(nq(d)) + "; color:" + x(nq(e)) + '"><div class="' + x("a-t-o-k") + " "; | |
switch (g) { | |
case 1: | |
d += x("a-t-o-ve-O-vc"); | |
break; | |
case 2: | |
d += x("a-t-o-ve-Kc-mj"); | |
break; | |
case 3: | |
d += x("a-t-o-ve-Gf") | |
} | |
d += '"><img src="' + x(lq(a)) + '" class="' + x("a-t-o-A") + '" alt=""><div class="' + x("a-t-o-ea") + '"><div class="' + | |
x("a-t-o-ea-yf") + '"><div class="' + x("a-t-o-ea-Wb") + '"><h2 class="' + x("a-t-o-ea-Wb-L") + '">' + rq(A(b)) + '</h2></div><div class="' + x("a-t-o-ea-Oa") + '"><h3 class="' + x("a-t-o-ea-Oa-L") + '">' + rq(A(c)) + "</h3></div></div></div></div></div></div></div>"; | |
return y(d) | |
}, | |
cJ = function(a) { | |
var b = a.imageUrl; | |
a = a.url; | |
b = '<div class="' + x("a-Tb-ea-o") + " " + x("a-d-zc") + '"><div class="' + x("a-Qb-Tb-ea-o-pa") + '"><img src="' + x(lq(b)) + '" class="' + x("a-Qb-Tb-ea-o-A") + '"><div class="' + x("a-Qb-Tb-ea-o-L") + '"><div class="' + x("a-Qb-Tb-ea-o-w") + | |
'">'; | |
b = b + 'A new breed of Chrome apps</div><div class="' + (x("a-Qb-Tb-ea-o-va") + '">'); | |
b = b + 'The Chrome Web Store now has apps that you can run right on your desktop!</div><a href="' + (x(S(a)) + '" class="' + x("a-Qb-Tb-ea-o-c") + '">'); | |
return y(b + "Browse now</a></div></div></div>") | |
}, | |
dJ = function(a) { | |
a = a.imageUrl; | |
a = '<div class="' + x("a-Tb-ea-o") + " " + x("a-d-zc") + '"><div class="' + x("a-Ej3HKd-Tb-ea-o-Ec") + '"><div class="' + x("a-Ej3HKd-Tb-ea-o-pa") + '"><img src="' + x(lq(a)) + '" class="' + x("a-Ej3HKd-Tb-ea-o-A") + '"><div class="' + | |
x("a-Ej3HKd-Tb-ea-o-L") + '"><div class="' + x("a-Ej3HKd-Tb-ea-o-w") + '">'; | |
a = a + 'Site lists for Kids</div><div class="' + (x("a-Ej3HKd-Tb-ea-o-va") + '">'); | |
return y(a + "Set up your kid's browser with the sites they love.</div></div></div></div></div>") | |
}, | |
eJ = function(a, b, c) { | |
b = c || b; | |
c = a.bd; | |
var d = a.Fo, | |
e = a.count, | |
g = a.Ue; | |
a = a.Sa; | |
var h = ""; | |
4 == c ? h = a ? h + "Websites" : h + "Apps" : 0 == c ? h += "Extensions" : 1 == c ? h += "Themes" : 6 == c ? h += "Apps" : 9 == c && (h += "Site Lists for Kids"); | |
b = "" + R("n", !1)({ | |
Ag: h, | |
og: "" + R("o", !1)({ | |
bd: c, | |
count: e, | |
Ue: g, | |
Sa: a | |
}, b), | |
pg: d, | |
N: "a-na-ld-K-o" | |
}, b); | |
return y(b) | |
}; | |
Q("o", 0, function(a) { | |
var b = a.bd, | |
c = a.count, | |
d = a.Sa, | |
e = ""; | |
a.Ue ? 4 == b ? e = d ? e + "More Website Results" : e + "More App Results" : 0 == b ? e += "More Extension Results" : 1 == b ? e += "More Theme Results" : 6 == b ? e += "More App Results" : 9 == b && (e += "More Site List Results") : 4 == b ? e = d ? e + ("" + c + (" of " + (c + " Website Results"))) : e + ("" + c + (" of " + (c + " App Results"))) : 0 == b ? e += "" + c + (" of " + (c + " Extension Results")) : 1 == b ? e += "" + c + (" of " + (c + " Theme Results")) : 6 == b ? e += "" + c + (" of " + (c + " App Results")) : 9 == b && (e += "" + c + (" of " + (c + " Site List Results"))); | |
return e | |
}); | |
var fJ = function(a, b, c) { | |
b = c || b; | |
c = a.title; | |
var d = a.qs; | |
a = a.subtitle; | |
var e = ""; | |
d && (e += "View all"); | |
b = "" + R("n", !1)({ | |
Ag: c, | |
og: e, | |
pg: d, | |
N: "a-hn-K-o", | |
hi: a | |
}, b); | |
return y(b) | |
}; | |
Q("n", 0, function(a) { | |
var b = a.Ag, | |
c = a.og, | |
d = a.pg, | |
e = a.N; | |
a = a.hi; | |
return y('<div class="' + x("a-K-o") + " " + x("a-d-zc") + (e ? " " + x(e) : "") + '">' + (d ? '<a href="' + x(S(d)) + '" class="' + x("a-K-o-y") + " " + x("a-d-zc") + (e ? " " + x(e) : "") + '">' : "") + '<div class="' + x("a-K-o-Oa") + '"><div class="' + x("a-K-o-w") + '">' + A(b) + "</div>" + (a ? '<div class="' + x("a-K-o-va") + '">' + A(a) + "</div>" : "") + "</div>" + (c ? '<div class="' + x("a-K-o-mb-ld") + '">' + A(c) + "</div>" : "") + '<div class="' + x("Od") + '"></div>' + (d ? "</a>" : "") + "</div>") | |
}); | |
var gJ = function(a, b, c) { | |
b = c || b; | |
c = a.query; | |
var d = a.dh, | |
e = a.gi, | |
g = a.Tf; | |
a = a.Sf; | |
return y(R("p", !1)({ | |
query: c, | |
dh: d, | |
gi: e, | |
Tf: g, | |
Sf: a | |
}, b)) | |
}; | |
Q("p", 0, function(a) { | |
var b = a.query, | |
c = a.dh, | |
d = a.gi, | |
e = a.Tf, | |
g = a.Sf; | |
a = '<div tabindex="0" class="' + x("a-eb-na-ld") + " " + x("a-d-zc") + '">'; | |
c ? (b = 'Your filtered search for <span class="' + (x("a-eb-na-ld-zk") + '">"' + (A(b) + '"</span> did not match any items.')), a += b) : (b = 'Your search for <span class="' + (x("a-eb-na-ld-zk") + '">"' + (A(b) + '"</span> did not match any items.')), a += b); | |
e && (a += " Please note you can only search for items that are visible to external users."); | |
a += '<div class="' + x("a-eb-na-ld-Xg") + '">'; | |
a += | |
"Suggestions:<ul>"; | |
e && (a += "<li>", e = 'Look in the "<a href="' + (x(S(e)) + '">' + (A(g) + '</a>" category.')), a = a + e + "</li>"); | |
a += "<li>Make sure all words are spelled correctly.</li><li>Try different keywords.</li><li>Try more general keywords.</li>"; | |
c && (a += '<li><a href="' + x(S(d)) + '" class="' + x("a-eb-na-ld-Ug-hg") + '">', a += "Reset all filters</a></li>"); | |
return y(a + "</ul></div></div>") | |
}); | |
var hJ = function() { | |
var a = '<div class="' + x("a-eb-ld-Xj") + " " + x("a-d-zc") + '">'; | |
return y(a + "No results found.</div>") | |
}, | |
iJ = function() { | |
var a = '<div class="' + x("a-eb-ji-ha") + " " + x("a-d-zc") + '"><div>'; | |
return y(a + "You haven't added any extensions or apps to Chrome yet.</div></div>") | |
}, | |
jJ = function() { | |
var a = '<div class="' + x("a-eb-ji-ha") + " " + x("a-d-zc") + '"><div>'; | |
return y(a + "You don't have any extensions or apps in your library.</div></div>") | |
}, | |
kJ = function(a) { | |
a = a.Sj; | |
return y('<div class="' + x("a-eb-ld-Xj") + " " + x("a-d-zc") + | |
'"><div>' + A(a) + "</div></div>") | |
}, | |
lJ = function(a, b, c) { | |
b = c || b; | |
null == a.R || cd(a.R); | |
return y(R("q", !1)(a, b)) | |
}; | |
Q("q", 0, function(a, b, c) { | |
b = c || b; | |
c = a.item && (a.item.K || a.item); | |
null == a.R || cd(a.R); | |
a = a.R; | |
var d = '<div class="' + x("a-d-na") + " " + x("a-d") + " webstore-test-wall-tile " + x("a-d-zc") + " " + x("Xd") + '"' + (Li(c) ? ' index="' + x(Li(c)) + '"' : "") + ' type="W"><a class="' + x("h-Ja-d-Ac") + " " + x("a-u") + '" href="' + x(S(Pi(c))) + '"' + (Li(c) ? ' index="' + x(Li(c)) + '"' : "") + " type='W' title=\"" + x(FC({ | |
item: c | |
}, b)) + '"><div class="' + x("a-d-cb-O") + '"></div><div class="' + x("h-a-d-Ea-k") + '"></div><div class="' + x("a-na-d") + '"><div class="' + x("a-na-d-B1neQd-cb") + | |
'"><div class="' + x("a-na-d-K-A-w") + '"><div class="' + x("a-na-d-K-A") + '">' + (l(c, 66) ? JH({ | |
sa: "a-na-d-A", | |
attributes: Yp('src="' + x(S(l(c, 66))) + '"'), | |
width: 141, | |
height: 90 | |
}) : JH({ | |
sa: "a-na-d-s", | |
attributes: Yp('src="' + x(S(l(c, 4))) + '"'), | |
width: 50, | |
height: 50 | |
})) + '</div><div class="' + x("a-na-d-K-w") + '"><div class="' + x("a-na-d-w") + '">' + A(c.getTitle()) + '</div><div class="' + x("a-na-d-va") + '"><span class="' + x("a-na-d-oc") + '">'; | |
Ri(c) && (d += '<span class="' + x("a-jb-qc-db-wa") + '"><span class="' + x("a-yb-w-ie") + '"></span><span class="' + | |
x("qc-gb") + '"></span><span class="' + x("a-jb-qc-db") + '">', d = d + 'available for Android</span><span class="' + (x("a-jb-qc-c") + '">'), d += "Get it »</span></span>"); | |
var e; | |
l(c, 82) && Mi(c) && L(c, 35) ? e = SH({ | |
Za: Mi(c) | |
}, b) : L(c, 80) ? e = SH({ | |
Za: l(c, 56) | |
}, b) : e = '<div class="' + x("oc") + '">' + A(l(c, 3)) + "</div>"; | |
d += e + '</span></div><div class="' + x("a-na-d-Oa") + '">' + A(Ii(c)) + '</div></div></div><div class="' + x("Od") + '"></div><div class="' + x("a-na-d-K-ea") + '"><div class="' + x("h-d-Ra-c") + " " + x("d-Ra-c") + '"></div><div class="' + | |
x("a-na-d-ea") + '">' + A(Ji(c)) + "</div>" + (Si(c) || 0 == Ki(c) ? "" : II({ | |
ka: c | |
})) + '<div class="' + x("Od") + '"></div>' + (a && 0 < a.length ? '<div class="' + x("a-na-d-bb") + '">' + Cq({ | |
R: a, | |
Ra: Xp("" + A("h-a-Ja-d-G")) | |
}) + "</div>" : "") + '</div></div><div class="' + x("a-na-d-cb") + '"></div></div></a></div>'; | |
return y(d) | |
}); | |
var mJ = function(a, b, c) { | |
b = c || b; | |
null == a.R || cd(a.R); | |
return y(R("r", !1)(a, b)) | |
}; | |
Q("r", 0, function(a, b, c) { | |
b = c || b; | |
var d = a.item && (a.item.K || a.item); | |
null == a.R || cd(a.R); | |
c = y; | |
b = '<div class="' + x("a-d-Ja") + " " + x("a-d") + " webstore-test-wall-tile " + x("a-d-zc") + " " + x("Xd") + '"' + (Li(d) ? ' index="' + x(Li(d)) + '"' : "") + ' type="D"><a class="' + x("h-Ja-d-Ac") + " " + x("a-u") + '" href="' + x(S(Pi(d))) + '"' + (Li(d) ? ' index="' + x(Li(d)) + '"' : "") + " type='D' title=\"" + x(FC({ | |
item: d | |
}, b)) + '"><div class="' + x("a-d-cb-O") + '"></div><div class="' + x("h-a-d-Ea-k") + '"></div><table class="' + x("a-Ja-d") + '"><tr><td class="' + x("a-Ja-d-K-A") + | |
'">' + KH({ | |
item: d | |
}) + "</td>"; | |
d = a.item && (a.item.K || a.item); | |
null == a.R || cd(a.R); | |
a = a.R; | |
a = y('<td class="' + x("a-Ja-d-K-w") + '"><div class="' + x("a-Ja-d-w") + '">' + A(d.getTitle()) + '</div><div class="' + x("a-Ja-d-Oa") + '"><div class="' + x("a-Ja-d-ea") + '">' + A(Ji(d)) + "</div>" + (a && 0 < a.length ? '<div class="' + x("a-Ja-d-bb") + '">' + Cq({ | |
R: a, | |
Ra: "h-a-Nj-Ja-d-G" | |
}) + "</div>" : "") + '</div></td><td class="' + x("a-Ja-d-K-N") + '">' + (Si(d) ? "" : '<div class="' + x("h-a-d-N-B") + " " + x("a-d-N-B") + '">' + JI({ | |
Sg: l(d, 12) | |
}) + "</div>") + "</td>"); | |
return c(b + | |
a + '<td class="' + x("a-Ja-d-K-Ra") + '"><div class="' + x("h-d-Ra-c") + " " + x("d-Ra-c") + '"></div></td></tr></table></a></div>') | |
}); | |
var nJ = function(a, b, c) { | |
b = c || b; | |
var d = a.item && (a.item.K || a.item); | |
null == a.R || cd(a.R); | |
a = a.R; | |
c = y; | |
var e = '<div class="' + x("h-l-Jd-x-De") + '"></div><div class="' + x("h-l-d-x") + " " + x("V-d-l") + '"><a class="' + x("a-u") + " " + x("h-l-Ac") + '" href="' + x(S(Pi(d))) + '" index="' + x(Li(d)) + '" title="' + x(FC({ | |
item: d | |
}, b)) + '"><div class="' + x("a-V-d") + " " + x(MH({ | |
item: d | |
})) + '"><div class="' + x("a-d-cb-O") + '"></div><div class="' + x("h-V-d-l-Ea-k") + '"></div>' + JH({ | |
sa: "a-V-d-A", | |
attributes: Yp('src="' + (l(d, 6) ? x(S(l(d, 6))) : "") + '"'), | |
width: 460, | |
height: 340 | |
}); | |
var g = b; | |
var h = d && (d.K || d); | |
g = y(0 < N(h, Ci, 8).length ? OH({ | |
ra: N(h, Ci, 8), | |
Da: 460, | |
Ca: 288, | |
wb: 460, | |
ub: !1, | |
Y: "V-d-l-i", | |
dc: !0, | |
Hb: 5 | |
}, g) : ""); | |
b = e + g + '<div class="' + x("a-V-d-Mb") + '"><div class="' + x("a-V-d-w") + '">' + A(d.getTitle()) + '</div><div class="' + x("a-V-d-va") + '">' + OI({ | |
item: d, | |
R: null | |
}, b) + "</div>"; | |
d = d && (d.K || d); | |
d = y('<div class="' + x("d-l-e") + " " + x("me") + (1 == aa(d) ? " " + x("V-d-l-yc") : "") + '">' + (1 == aa(d) ? KH({ | |
item: d, | |
N: "V-d-l-yc-s" | |
}) : '<div class="' + x("d-l-pa") + '">' + A(Ii(d)) + "</div>") + '<div class="' + x("h-d-l-Ra-c") + | |
" " + x("d-l-Ra-c") + '"></div></div>'); | |
return c(b + d + "</div>" + (a && 0 < a.length ? '<div class="' + x("a-V-d-bb") + '">' + Cq({ | |
R: a | |
}) + "</div>" : "") + "</div></a></div>") | |
}; | |
var oJ = { | |
aliceblue: "#f0f8ff", | |
antiquewhite: "#faebd7", | |
aqua: "#00ffff", | |
aquamarine: "#7fffd4", | |
azure: "#f0ffff", | |
beige: "#f5f5dc", | |
bisque: "#ffe4c4", | |
black: "#000000", | |
blanchedalmond: "#ffebcd", | |
blue: "#0000ff", | |
blueviolet: "#8a2be2", | |
brown: "#a52a2a", | |
burlywood: "#deb887", | |
cadetblue: "#5f9ea0", | |
chartreuse: "#7fff00", | |
chocolate: "#d2691e", | |
coral: "#ff7f50", | |
cornflowerblue: "#6495ed", | |
cornsilk: "#fff8dc", | |
crimson: "#dc143c", | |
cyan: "#00ffff", | |
darkblue: "#00008b", | |
darkcyan: "#008b8b", | |
darkgoldenrod: "#b8860b", | |
darkgray: "#a9a9a9", | |
darkgreen: "#006400", | |
darkgrey: "#a9a9a9", | |
darkkhaki: "#bdb76b", | |
darkmagenta: "#8b008b", | |
darkolivegreen: "#556b2f", | |
darkorange: "#ff8c00", | |
darkorchid: "#9932cc", | |
darkred: "#8b0000", | |
darksalmon: "#e9967a", | |
darkseagreen: "#8fbc8f", | |
darkslateblue: "#483d8b", | |
darkslategray: "#2f4f4f", | |
darkslategrey: "#2f4f4f", | |
darkturquoise: "#00ced1", | |
darkviolet: "#9400d3", | |
deeppink: "#ff1493", | |
deepskyblue: "#00bfff", | |
dimgray: "#696969", | |
dimgrey: "#696969", | |
dodgerblue: "#1e90ff", | |
firebrick: "#b22222", | |
floralwhite: "#fffaf0", | |
forestgreen: "#228b22", | |
fuchsia: "#ff00ff", | |
gainsboro: "#dcdcdc", | |
ghostwhite: "#f8f8ff", | |
gold: "#ffd700", | |
goldenrod: "#daa520", | |
gray: "#808080", | |
green: "#008000", | |
greenyellow: "#adff2f", | |
grey: "#808080", | |
honeydew: "#f0fff0", | |
hotpink: "#ff69b4", | |
indianred: "#cd5c5c", | |
indigo: "#4b0082", | |
ivory: "#fffff0", | |
khaki: "#f0e68c", | |
lavender: "#e6e6fa", | |
lavenderblush: "#fff0f5", | |
lawngreen: "#7cfc00", | |
lemonchiffon: "#fffacd", | |
lightblue: "#add8e6", | |
lightcoral: "#f08080", | |
lightcyan: "#e0ffff", | |
lightgoldenrodyellow: "#fafad2", | |
lightgray: "#d3d3d3", | |
lightgreen: "#90ee90", | |
lightgrey: "#d3d3d3", | |
lightpink: "#ffb6c1", | |
lightsalmon: "#ffa07a", | |
lightseagreen: "#20b2aa", | |
lightskyblue: "#87cefa", | |
lightslategray: "#778899", | |
lightslategrey: "#778899", | |
lightsteelblue: "#b0c4de", | |
lightyellow: "#ffffe0", | |
lime: "#00ff00", | |
limegreen: "#32cd32", | |
linen: "#faf0e6", | |
magenta: "#ff00ff", | |
maroon: "#800000", | |
mediumaquamarine: "#66cdaa", | |
mediumblue: "#0000cd", | |
mediumorchid: "#ba55d3", | |
mediumpurple: "#9370db", | |
mediumseagreen: "#3cb371", | |
mediumslateblue: "#7b68ee", | |
mediumspringgreen: "#00fa9a", | |
mediumturquoise: "#48d1cc", | |
mediumvioletred: "#c71585", | |
midnightblue: "#191970", | |
mintcream: "#f5fffa", | |
mistyrose: "#ffe4e1", | |
moccasin: "#ffe4b5", | |
navajowhite: "#ffdead", | |
navy: "#000080", | |
oldlace: "#fdf5e6", | |
olive: "#808000", | |
olivedrab: "#6b8e23", | |
orange: "#ffa500", | |
orangered: "#ff4500", | |
orchid: "#da70d6", | |
palegoldenrod: "#eee8aa", | |
palegreen: "#98fb98", | |
paleturquoise: "#afeeee", | |
palevioletred: "#db7093", | |
papayawhip: "#ffefd5", | |
peachpuff: "#ffdab9", | |
peru: "#cd853f", | |
pink: "#ffc0cb", | |
plum: "#dda0dd", | |
powderblue: "#b0e0e6", | |
purple: "#800080", | |
red: "#ff0000", | |
rosybrown: "#bc8f8f", | |
royalblue: "#4169e1", | |
saddlebrown: "#8b4513", | |
salmon: "#fa8072", | |
sandybrown: "#f4a460", | |
seagreen: "#2e8b57", | |
seashell: "#fff5ee", | |
sienna: "#a0522d", | |
silver: "#c0c0c0", | |
skyblue: "#87ceeb", | |
slateblue: "#6a5acd", | |
slategray: "#708090", | |
slategrey: "#708090", | |
snow: "#fffafa", | |
springgreen: "#00ff7f", | |
steelblue: "#4682b4", | |
tan: "#d2b48c", | |
teal: "#008080", | |
thistle: "#d8bfd8", | |
tomato: "#ff6347", | |
turquoise: "#40e0d0", | |
violet: "#ee82ee", | |
wheat: "#f5deb3", | |
white: "#ffffff", | |
whitesmoke: "#f5f5f5", | |
yellow: "#ffff00", | |
yellowgreen: "#9acd32" | |
}; | |
var sJ = function(a) { | |
var b = {}; | |
a = String(a); | |
var c = "#" == a.charAt(0) ? a : "#" + a; | |
if (pJ.test(c)) return b.lj = qJ(c), b.type = "hex", b; | |
a: { | |
var d = a.match(rJ); | |
if (d) { | |
c = Number(d[1]); | |
var e = Number(d[2]); | |
d = Number(d[3]); | |
if (0 <= c && 255 >= c && 0 <= e && 255 >= e && 0 <= d && 255 >= d) { | |
c = [c, e, d]; | |
break a | |
} | |
} | |
c = [] | |
} | |
if (c.length) { | |
a = c[0]; | |
e = c[1]; | |
c = c[2]; | |
a = Number(a); | |
e = Number(e); | |
c = Number(c); | |
if (a != (a & 255) || e != (e & 255) || c != (c & 255)) throw Error("ob`" + a + "`" + e + "`" + c); | |
c |= a << 16 | e << 8; | |
a = 16 > a ? "#" + (16777216 | c).toString(16).substr(1) : "#" + c.toString(16); | |
b.lj = a; | |
b.type = "rgb"; | |
return b | |
} | |
if (oJ && (c = oJ[a.toLowerCase()])) return b.lj = c, b.type = "named", b; | |
throw Error("mb`" + a); | |
}, | |
tJ = /#(.)(.)(.)/, | |
qJ = function(a) { | |
if (!pJ.test(a)) throw Error("nb`" + a); | |
4 == a.length && (a = a.replace(tJ, "#$1$1$2$2$3$3")); | |
return a.toLowerCase() | |
}, | |
pJ = /^#(?:[0-9a-f]{3}){1,2}$/i, | |
rJ = /^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i; | |
var uJ = function(a, b, c, d, e) { | |
kD.call(this, b, c, d, e); | |
this.i = a | |
}; | |
E(uJ, kD); | |
uJ.prototype.Fe = $c; | |
uJ.prototype.u = function() { | |
this.Fe(); | |
uJ.M.u.call(this) | |
}; | |
uJ.prototype.kc = function() { | |
this.Fe(); | |
uJ.M.kc.call(this) | |
}; | |
uJ.prototype.sc = function() { | |
this.Fe(); | |
uJ.M.sc.call(this) | |
}; | |
var vJ = function(a, b, c, d, e) { | |
if (2 != b.length || 2 != c.length) throw Error("pb"); | |
uJ.call(this, a, b, c, d, e) | |
}; | |
E(vJ, uJ); | |
vJ.prototype.Fe = function() { | |
this.i.style.left = Math.round(this.coords[0]) + "px"; | |
this.i.style.top = Math.round(this.coords[1]) + "px" | |
}; | |
var wJ = function(a, b, c, d) { | |
vJ.call(this, a, [a.offsetLeft, a.offsetTop], b, c, d) | |
}; | |
E(wJ, vJ); | |
wJ.prototype.sc = function() { | |
this.j = [this.i.offsetLeft, this.i.offsetTop]; | |
wJ.M.sc.call(this) | |
}; | |
var xJ = function(a, b, c, d, e) { | |
uJ.call(this, a, [b], [c], d, e) | |
}; | |
E(xJ, uJ); | |
xJ.prototype.Fe = function() { | |
this.i.style.height = Math.round(this.coords[0]) + "px" | |
}; | |
var yJ = function(a, b, c, d, e) { | |
"number" === typeof b && (b = [b]); | |
"number" === typeof c && (c = [c]); | |
uJ.call(this, a, b, c, d, e); | |
if (1 != b.length || 1 != c.length) throw Error("qb"); | |
this.o = -1 | |
}; | |
E(yJ, uJ); | |
var zJ = 1 / 1024; | |
f = yJ.prototype; | |
f.Fe = function() { | |
var a = this.coords[0]; | |
Math.abs(a - this.o) >= zJ && (ur(this.i, a), this.o = a) | |
}; | |
f.sc = function() { | |
this.o = -1; | |
yJ.M.sc.call(this) | |
}; | |
f.kc = function() { | |
this.o = -1; | |
yJ.M.kc.call(this) | |
}; | |
f.show = function() { | |
this.i.style.display = "" | |
}; | |
f.hide = function() { | |
this.i.style.display = "none" | |
}; | |
var AJ = function(a, b, c) { | |
yJ.call(this, a, 1, 0, b, c) | |
}; | |
E(AJ, yJ); | |
var BJ = function(a, b, c) { | |
yJ.call(this, a, 0, 1, b, c) | |
}; | |
E(BJ, yJ); | |
var CJ = function(a, b, c) { | |
yJ.call(this, a, 1, 0, b, c) | |
}; | |
E(CJ, yJ); | |
CJ.prototype.sc = function() { | |
this.show(); | |
CJ.M.sc.call(this) | |
}; | |
CJ.prototype.kc = function() { | |
this.hide(); | |
CJ.M.kc.call(this) | |
}; | |
var DJ = function(a, b, c, d, e) { | |
if (3 != b.length || 3 != c.length) throw Error("rb"); | |
uJ.call(this, a, b, c, d, e) | |
}; | |
E(DJ, uJ); | |
DJ.prototype.Fe = function() { | |
for (var a = [], b = 0; b < this.coords.length; b++) a[b] = Math.round(this.coords[b]); | |
a = "rgb(" + a.join(",") + ")"; | |
this.i.style.backgroundColor = a | |
}; | |
var EJ = function(a, b) { | |
b = void 0 === b ? null : b; | |
Z.call(this, a); | |
a.get(Nk); | |
this.ea = b; | |
this.J = this.j = this.u = this.L = this.H = this.h = null | |
}; | |
B(EJ, Z); | |
EJ.prototype.D = function() { | |
return this.H | |
}; | |
EJ.prototype.cb = function(a) { | |
return null != a && "DIV" == a.tagName && null != a.ka | |
}; | |
var FJ = function(a, b) { | |
AC(a, P("h-l-d-x", b) || b, function() { | |
b.i || Lr(a, b) | |
})() | |
}, | |
GJ = function(a) { | |
return P("h-l-Jd-x-De", a) | |
}; | |
EJ.prototype.Mj = function() { | |
return this.L.j | |
}; | |
EJ.prototype.oa = function(a) { | |
Z.prototype.oa.call(this, a); | |
this.L = a.g; | |
this.H = a.ka; | |
this.h = this.ce(); | |
W(this.h, "l-x-k"); | |
DB(this.h); | |
a.appendChild(this.h); | |
if (this.J = this.Mj()) { | |
var b = this.J; | |
oH(b, 2); | |
pH(b, 2) | |
} | |
b = GJ(a); | |
if (P("h-d-l-Ra-c", this.h) && this.ca()) { | |
var c = this.L ? this.L.L : this.ea; | |
"search" == this.v.get(Kb).ib.g && (c = "search"); | |
c || (c = "hover"); | |
this.u = new ZG(this.v, HJ(this), "small", c, this.J, void 0, b, !0); | |
Tr(this, this.u, "h-d-l-Ra-c", this.h) | |
} | |
a.i = !0 | |
}; | |
EJ.prototype.ca = function() { | |
if (!this.H) throw Error("sb"); | |
return !0 | |
}; | |
var HJ = function(a) { | |
if (a.H) return a.H; | |
throw Error("tb"); | |
}; | |
EJ.prototype.O = function() { | |
var a = this; | |
Z.prototype.O.call(this); | |
this.B().listen(this.s(), "mouseout", this.X); | |
var b = P("h-l-d-x", this.s()) || this.s(); | |
this.B().listen(b, "click", function() { | |
a.s().i && IJ(a, 800) | |
}); | |
this.u && this.B().listen(this.u, "close", this.X); | |
aA(this.v.get(O), HJ(this).Z()) | |
}; | |
var JJ = function(a) { | |
a.j = a.de(); | |
a.B().Xa(a.j, "begin", function() { | |
a.B().listen(a.s(), "mouseup", a.da) | |
}); | |
a.B().Xa(a.j, "end", function() { | |
a.B().Aa(a.s(), "mouseup", a.da) | |
}); | |
a.j.play() | |
}; | |
EJ.prototype.da = function(a) { | |
var b = P("h-l-Ac", this.h); | |
b && rl(a) && this.Yf(b, a); | |
IJ(this, 800) | |
}; | |
EJ.prototype.X = function(a) { | |
var b = this.s(); | |
a.relatedTarget && Jm(b, a.relatedTarget) || IJ(this) | |
}; | |
var IJ = function(a, b) { | |
a.ya() || (a.s().i = !1, a.j && (a.j.stop(), a.j.dispose()), a.j = a.be(), a.B().Xa(a.j, "end", function() { | |
a.dispose() | |
}), b ? Nn(function() { | |
a.j.play() | |
}, b) : a.j.play()) | |
}, | |
LJ = function(a, b, c, d) { | |
var e = KJ; | |
a.add(new AJ(b, d, KJ)); | |
a.add(new BJ(c, d, e)) | |
}; | |
EJ.prototype.qa = function() { | |
Z.prototype.qa.call(this); | |
var a = U(this, "l-x-k"); | |
a && Dm(a); | |
this.u && (this.u.dispose(), this.u = null); | |
this.j && this.j.dispose(); | |
this.B().removeAll(); | |
this.s().i = !1 | |
}; | |
EJ.prototype.Yf = function(a, b) { | |
this.v.get(Kb).Yf(a, this.h, b) | |
}; | |
var MJ = function(a) { | |
Z.call(this, a); | |
a.get(zk); | |
this.j = !1; | |
this.o = void 0; | |
this.h = null | |
}; | |
B(MJ, Z); | |
MJ.prototype.cb = function(a) { | |
return "IFRAME" == a.tagName | |
}; | |
MJ.prototype.O = function() { | |
Z.prototype.O.call(this); | |
var a = this.v.get(zC); | |
a = a.g ? a.g : a.g = NJ(); | |
at(a, D(this.u, this)) | |
}; | |
MJ.prototype.qa = function() { | |
Z.prototype.qa.call(this); | |
this.h && (this.h.destroy(), this.h = null) | |
}; | |
MJ.prototype.u = function() { | |
this.ya() || (this.h = new YT.Player(this.s()), this.h.addEventListener("onStateChange", D(this.A, this))) | |
}; | |
var PJ = function(a, b) { | |
try { | |
var c = a.h.getVideoData().video_id, | |
d = OJ.exec(ca(a.g).location.href || ""); | |
var e = d ? d[1] : null; | |
c && e && Yn(0, "Video", b, e + "/" + c, 1) | |
} catch (g) {} | |
}; | |
MJ.prototype.A = function(a) { | |
switch (a.data) { | |
case YT.PlayerState.PLAYING: | |
this.j || (PJ(this, "play"), this.j = !0); | |
QJ(this, "play"); | |
break; | |
case YT.PlayerState.BUFFERING: | |
QJ(this, "play"); | |
break; | |
case YT.PlayerState.ENDED: | |
PJ(this, "end"), QJ(this, "end") | |
} | |
}; | |
var QJ = function(a, b) { | |
if (a.o != b) switch (a.o = b, b) { | |
case "play": | |
a.dispatchEvent("play"); | |
break; | |
case "end": | |
a.dispatchEvent("end"); | |
break; | |
default: | |
throw Error("ub`" + b); | |
} | |
}, | |
OJ = /.*([a-p]{32}).*/; | |
var SJ = function(a, b, c) { | |
Sl.call(this); | |
this.target = a; | |
this.handle = b || a; | |
this.T = c || new Zq(NaN, NaN, NaN, NaN); | |
this.h = im(a); | |
this.g = new Jo(this); | |
Qk(this, this.g); | |
this.deltaY = this.deltaX = this.aa = this.pk = this.screenY = this.screenX = this.clientY = this.clientX = 0; | |
this.w = !0; | |
this.i = !1; | |
this.o = 0; | |
El(this.handle, ["touchstart", "mousedown"], this.kn, !1, this); | |
this.j = RJ | |
}; | |
E(SJ, Sl); | |
var RJ = C.document && C.document.documentElement && !!C.document.documentElement.setCapture && !!C.document.releaseCapture; | |
f = SJ.prototype; | |
f.B = function() { | |
return this.g | |
}; | |
f.setEnabled = function(a) { | |
this.w = a | |
}; | |
f.V = function() { | |
SJ.M.V.call(this); | |
Ll(this.handle, ["touchstart", "mousedown"], this.kn, !1, this); | |
this.g.removeAll(); | |
this.j && this.h.releaseCapture(); | |
this.handle = this.target = null | |
}; | |
f.kn = function(a) { | |
var b = "mousedown" == a.type; | |
if (!this.w || this.i || b && !rl(a)) this.dispatchEvent("earlycancel"); | |
else { | |
if (0 == this.o) | |
if (this.dispatchEvent(new TJ("start", this, a.clientX, a.clientY, a))) this.i = !0, b && a.preventDefault(); | |
else return; | |
else b && a.preventDefault(); | |
b = this.h; | |
var c = b.documentElement, | |
d = !this.j; | |
this.g.listen(b, ["touchmove", "mousemove"], this.Jp, { | |
capture: d, | |
passive: !1 | |
}); | |
this.g.listen(b, ["touchend", "mouseup"], this.Nf, d); | |
this.j ? (c.setCapture(!1), this.g.listen(c, "losecapture", this.Nf)) : this.g.listen(rm(b), | |
"blur", this.Nf); | |
this.J && this.g.listen(this.J, "scroll", this.H, d); | |
this.clientX = this.pk = a.clientX; | |
this.clientY = this.aa = a.clientY; | |
this.screenX = a.screenX; | |
this.screenY = a.screenY; | |
this.deltaX = this.target.offsetLeft; | |
this.deltaY = this.target.offsetTop; | |
this.u = $m(da(this.h)) | |
} | |
}; | |
f.Nf = function(a, b) { | |
this.g.removeAll(); | |
this.j && this.h.releaseCapture(); | |
this.i ? (this.i = !1, this.dispatchEvent(new TJ("end", this, a.clientX, a.clientY, a, UJ(this, this.deltaX), VJ(this, this.deltaY), b || "touchcancel" == a.type))) : this.dispatchEvent("earlycancel") | |
}; | |
f.Jp = function(a) { | |
if (this.w) { | |
var b = a.clientX - this.clientX, | |
c = a.clientY - this.clientY; | |
this.clientX = a.clientX; | |
this.clientY = a.clientY; | |
this.screenX = a.screenX; | |
this.screenY = a.screenY; | |
if (!this.i) { | |
var d = this.pk - this.clientX, | |
e = this.aa - this.clientY; | |
if (d * d + e * e > this.o) | |
if (this.dispatchEvent(new TJ("start", this, a.clientX, a.clientY, a))) this.i = !0; | |
else { | |
this.ya() || this.Nf(a); | |
return | |
} | |
} | |
c = WJ(this, b, c); | |
b = c.x; | |
c = c.y; | |
this.i && this.dispatchEvent(new TJ("beforedrag", this, a.clientX, a.clientY, a, b, c)) && (XJ(this, a, b, c), a.preventDefault()) | |
} | |
}; | |
var WJ = function(a, b, c) { | |
var d = $m(da(a.h)); | |
b += d.x - a.u.x; | |
c += d.y - a.u.y; | |
a.u = d; | |
a.deltaX += b; | |
a.deltaY += c; | |
return new cm(UJ(a, a.deltaX), VJ(a, a.deltaY)) | |
}; | |
SJ.prototype.H = function(a) { | |
var b = WJ(this, 0, 0); | |
a.clientX = this.clientX; | |
a.clientY = this.clientY; | |
XJ(this, a, b.x, b.y) | |
}; | |
var XJ = function(a, b, c, d) { | |
a.A(c, d); | |
a.dispatchEvent(new TJ("drag", a, b.clientX, b.clientY, b, c, d)) | |
}, | |
UJ = function(a, b) { | |
var c = a.T; | |
a = isNaN(c.left) ? null : c.left; | |
c = isNaN(c.width) ? 0 : c.width; | |
return Math.min(null != a ? a + c : Infinity, Math.max(null != a ? a : -Infinity, b)) | |
}, | |
VJ = function(a, b) { | |
var c = a.T; | |
a = isNaN(c.top) ? null : c.top; | |
c = isNaN(c.height) ? 0 : c.height; | |
return Math.min(null != a ? a + c : Infinity, Math.max(null != a ? a : -Infinity, b)) | |
}; | |
SJ.prototype.A = function(a, b) { | |
this.target.style.left = a + "px"; | |
this.target.style.top = b + "px" | |
}; | |
var TJ = function(a, b, c, d, e, g, h) { | |
Vk.call(this, a); | |
this.clientX = c; | |
this.clientY = d; | |
this.g = e; | |
this.left = void 0 !== g ? g : b.deltaX; | |
this.top = void 0 !== h ? h : b.deltaY; | |
this.j = b | |
}; | |
E(TJ, Vk); | |
var YJ = Pd(function() { | |
return !F || At(9) | |
}), | |
ZJ = Pd(function() { | |
return yg || vg || xg && At(10) || F && At(10) | |
}), | |
aK = function(a, b) { | |
YJ() && (b = ZJ() ? "translate3d(" + b + "px,0px,0px)" : "translate(" + b + "px,0px)", cr(a, $J(), b)) | |
}, | |
$J = Pd(function() { | |
return F && 9 == Og ? "-ms-transform" : "transform" | |
}); | |
var bK = { | |
Ao: MJ | |
}, | |
cK = function(a, b, c, d, e) { | |
Z.call(this, a); | |
a.get(zk); | |
this.j = b; | |
this.ca = null != d ? d : !0; | |
this.A = new Mn(6E3); | |
Qk(this, this.A); | |
this.u = c || 400; | |
this.L = null != e ? e : !0; | |
this.P = !1; | |
this.H = this.j / 3; | |
this.U = 1 | |
}; | |
B(cK, Z); | |
cK.prototype.O = function() { | |
Z.prototype.O.call(this); | |
var a = Hr(this, "i-da"); | |
this.ed = a.length; | |
this.Wh = Hr(this, "i-da-Tj").length; | |
this.gh = this.Wh / 2; | |
this.Jh = this.ed - this.Wh / 2 - 1; | |
this.rf = U(this, "i-Wg"); | |
1 < this.ed ? this.Rb = this.Wh / 2 : 1 == this.ed && (this.Rb = 0); | |
var b = U(this, "i-F-Rb"); | |
this.B().listen(b, "mouseover", this.gd); | |
this.B().listen(b, "mouseout", this.Nc); | |
for (b = 0; b < this.ed; b++) | |
if (null != P("i-da-Pd", a[b])) { | |
var c = new bK.Ao(this.v); | |
Tr(this, c, "i-da-Pd", a[b]); | |
this.B().listen(c, "play", function() { | |
this.P = !0; | |
this.gd() | |
}); | |
this.B().listen(c, "end", function() { | |
this.P = !1; | |
this.Nc() | |
}) | |
} 1 == this.U ? dK(this, 1) : eK(this, this.U, 0); | |
fK(this); | |
qa(Hr(this, "i-Xa"), function(d) { | |
this.B().listen(d, "mouseover", this.zr); | |
this.B().listen(d, "mouseout", this.yr) | |
}, this); | |
if (a = U(this, "i-n-H-k")) this.B().listen(a, "click", function(d) { | |
d.preventDefault(); | |
d.stopPropagation(); | |
Pr(this) ? this.Th() : this.$j() | |
}), this.B().listen(a, "mouseover", this.gd), this.B().listen(a, "mouseout", this.Nc); | |
if (a = U(this, "i-p-H-k")) this.B().listen(a, "click", function(d) { | |
d.preventDefault(); | |
d.stopPropagation(); | |
Pr(this) ? this.$j() : this.Th() | |
}), this.B().listen(a, "mouseover", this.gd), this.B().listen(a, "mouseout", this.Nc); | |
qa(Hr(this, "i-da"), function(d) { | |
var e = this; | |
this.B().listen(d, "click", this.Rm); | |
this.B().listen(d, "touchend", this.La); | |
this.B().listen(d, "focusin", function() { | |
e.gd() | |
}); | |
this.B().listen(d, "focusout", function() { | |
e.Nc() | |
}) | |
}, this); | |
this.B().listen(this.A, "tick", this.Nq); | |
this.L && this.Nc() | |
}; | |
cK.prototype.qa = function() { | |
Z.prototype.qa.call(this); | |
this.gd(); | |
Sk(this.zc) | |
}; | |
cK.prototype.V = function() { | |
this.rc && (this.rc.dispose(), this.rc = null); | |
Z.prototype.V.call(this) | |
}; | |
var fK = function(a) { | |
1 >= a.ed || (a.zc = new SJ(a.rf, U(a, "i-F-Rb")), a.zc.o = Math.pow(10, 2), a.zc.A = D(function(b) { | |
aK(this.zc.target, this.Yg + b) | |
}, a), a.B().listen(a.zc, "start", a.wa), a.B().listen(a.zc, "beforedrag", a.ea), a.B().listen(a.zc, "drag", a.na), a.B().listen(a.zc, "end", a.ha), a.B().listen(a.zc, "earlycancel", a.fa), a.B().listen(a.zc.handle, ["touchstart", "mousedown"], function() { | |
this.zh && (this.rc.stop(), this.Yg = gK(this)) | |
})) | |
}; | |
cK.prototype.wa = function(a) { | |
this.gd(); | |
hK(this, a) || (this.Ye = !0); | |
a && a.g && Yn(0, "Slideshow", "Drag", a.g.type || "touchmove"); | |
this.Yg = gK(this) | |
}; | |
cK.prototype.ea = function(a) { | |
hK(this, a) ? a.preventDefault() : this.Ye = !0 | |
}; | |
var hK = function(a, b) { | |
return -1E4 == b.g.screenX && -1E4 == b.g.screenY && 100 < Math.abs(b.clientX - a.wg) | |
}; | |
cK.prototype.na = function(a) { | |
ar(a.target.handle.getBoundingClientRect()).contains(new cm(a.clientX, a.clientY)) || a.j.Nf(a.g, !0); | |
var b = tc(); | |
null !== this.wg && null !== this.bi && (this.Me = (a.clientX - this.wg) / (b - this.bi)); | |
this.wg = a.clientX; | |
this.bi = b | |
}; | |
cK.prototype.ha = function(a) { | |
if (a && !this.ya()) { | |
a = a.clientX - a.target.pk; | |
var b = 0 < a ? Math.floor(a / this.j) : Math.ceil(a / this.j); | |
a %= this.j; | |
a > this.H ? b++ : a < -this.H && b--; | |
.5 < this.Me && a <= this.H ? b++ : -.5 > this.Me && a >= -this.H && b--; | |
Pr(this) && (b *= -1); | |
eK(this, this.Rb - b); | |
this.L && this.Nc() | |
} | |
}; | |
cK.prototype.fa = function(a) { | |
a && !this.ya() && (eK(this, this.Rb), this.L && this.Nc()) | |
}; | |
cK.prototype.La = function(a) { | |
if (!this.Ye && a.defaultPrevented) { | |
var b = a.currentTarget.getElementsByTagName("A"); | |
b && 0 < b.length ? iK(b[0]) : (a = Tm(a.currentTarget, "A")) && iK(a) | |
} | |
}; | |
var iK = function(a) { | |
if (document.createEvent) { | |
var b = document.createEvent("MouseEvents"); | |
b.initMouseEvent && (b.initMouseEvent("click", !0, !0, document.defaultView, 1, 0, 0, 0, 0, !1, !1, !1, !1, 0, null), a.dispatchEvent(b)) | |
} | |
}; | |
f = cK.prototype; | |
f.Rm = function(a) { | |
var b = a.currentTarget.getAttribute("value"); | |
b && this.Rb != parseInt(b, 10) && !this.Ye && (eK(this, parseInt(b, 10)), a.preventDefault()); | |
this.Ye && (a.preventDefault(), a.stopPropagation()) | |
}; | |
f.yr = function() { | |
this.Ji = null; | |
this.Nc() | |
}; | |
f.zr = function(a) { | |
var b = a.currentTarget; | |
this.Ji = b; | |
Nn(function() { | |
if (b == this.Ji) { | |
var c = b.getAttribute("value"); | |
eK(this, parseInt(c, 10)) | |
} | |
}, 100, this); | |
this.gd() | |
}; | |
f.Nq = function() { | |
this.ya() || this.Th() | |
}; | |
f.cb = function(a) { | |
return "DIV" == a.tagName | |
}; | |
var jK = function(a, b, c) { | |
var d = Math.abs(b - gK(a)), | |
e = a.u * Math.min(.5 * (d / U(a, "i-F-Rb").offsetWidth + 1), 1); | |
c = "cubic-bezier(0.42, " + Math.min(.42 * (Math.abs(c) / (d / e) || 0), 1) + ", 0.58, 1)"; | |
d = er(a.rf, "transform"); | |
return new ua(a.rf, e / 1E3, { | |
transform: d | |
}, { | |
transform: "translate3d(" + b + "px, 0, 0)" | |
}, { | |
Bb: "transform", | |
duration: e / 1E3, | |
timing: c, | |
delay: 0 | |
}) | |
}, | |
kK = function(a, b, c) { | |
var d = a.u; | |
a.u = c; | |
b = jK(a, b, a.Me); | |
a.u = d; | |
return b | |
}, | |
eK = function(a, b, c) { | |
if (!(2 > a.ed || b > a.ed || 0 > b) && a.Xk()) { | |
var d = lK(a, b); | |
if (b < a.gh) { | |
var e = Math.abs(b - a.gh) - 1; | |
e = | |
a.Jh - e; | |
var g = lK(a, e) | |
} else b > a.Jh ? (e = Math.abs(b - a.Jh) - 1, e = a.gh + e, g = lK(a, e)) : (g = d, e = b); | |
if (d != gK(a) && (a.ca && (a.Dj = e), !a.zh)) { | |
a.zh = !0; | |
a.Rb = e; | |
a.rc = void 0 !== c ? kK(a, d, c) : jK(a, d, a.Me); | |
qa(Hr(a, "i-da-zf"), function(k) { | |
bu(k, "i-da-zf") | |
}); | |
c = Hr(a, "i-da"); | |
var h = c[a.Rb]; | |
h && W(h, "i-da-zf"); | |
a.Rb != b && (h = c[b]) && W(h, "i-da-zf"); | |
a.B().Xa(a.rc, "begin", D(a.Ka, a, e)); | |
a.B().Xa(a.rc, "end", D(a.tg, a, g - d, c, b)); | |
a.B().Xa(a.rc, "finish", function() { | |
this.Ye = !1 | |
}); | |
a.rc.play() | |
} | |
} | |
}; | |
cK.prototype.tg = function(a, b, c) { | |
this.ya() || (a = gK(this) + a, aK(this.rf, a), this.Rb != c && (b = b[c]) && bu(b, "i-da-zf"), this.rc && (this.rc.dispose(), this.rc = null), this.zh = !1, this.Me = 0, this.bi = this.wg = null, this.Yg = 0, this.ca && this.Dj != this.Rb && eK(this, this.Dj)) | |
}; | |
var lK = function(a, b) { | |
return Pr(a) ? -(a.j * (a.ed - 1 - b)) : -(a.j * b) | |
}, | |
gK = function(a) { | |
a = er(a.rf, "transform"); | |
return parseInt(a.match(/translate3d\((.*)px/)[1], 10) | |
}; | |
cK.prototype.Ka = function(a) { | |
dK(this, a) | |
}; | |
var dK = function(a, b) { | |
qa(Hr(a, "i-Xa-Fa"), function(c) { | |
bu(c, "i-Xa-Fa") | |
}); | |
a = Hr(a, "i-Xa"); | |
0 < a.length && qa(a, function(c) { | |
var d = c.getAttribute("value"); | |
d && b == parseInt(d, 10) && W(c, "i-Xa-Fa") | |
}) | |
}; | |
f = cK.prototype; | |
f.Th = function() { | |
eK(this, this.Rb + 1) | |
}; | |
f.$j = function() { | |
eK(this, this.Rb - 1) | |
}; | |
f.Nc = function() { | |
1 >= this.ed || this.P || this.A.start() | |
}; | |
f.gd = function() { | |
this.A.stop() | |
}; | |
f.Xk = function() { | |
return !0 | |
}; | |
f.Rb = 0; | |
f.Dj = 0; | |
f.ed = 0; | |
f.Wh = 0; | |
f.gh = 0; | |
f.Jh = 0; | |
f.rf = null; | |
f.rc = null; | |
f.zh = !1; | |
f.zc = null; | |
f.wg = null; | |
f.bi = null; | |
f.Me = 0; | |
f.Ye = !1; | |
f.Yg = 0; | |
f.Ji = null; | |
var mK = function(a, b, c) { | |
c = void 0 === c ? null : c; | |
Z.call(this, a); | |
this.h = b; | |
this.u = c | |
}; | |
B(mK, Z); | |
mK.prototype.S = function() { | |
Z.prototype.S.call(this); | |
this.ba = Mq(this.i, LH, { | |
item: this.h, | |
Sr: this.configuration.La, | |
N: this.u | |
}) | |
}; | |
mK.prototype.O = function() { | |
Z.prototype.O.call(this); | |
this.A = U(this, "h-a-d-Ea-if"); | |
if ((this.j = U(this, "h-a-d-Ea-Dd")) && jt(this.v, Ik)) { | |
var a = Rz(this.v.get(Ik), this.h).mg(); | |
this.j.setAttribute("aria-label", a) | |
} | |
Nn(this.o, 0, this) | |
}; | |
var nK = function(a) { | |
var b = L(a.h, 15), | |
c = !b && L(a.h, 16); | |
X(a.A, "Pa", !c); | |
X(a.j, "Pa", !b); | |
a.o() | |
}; | |
mK.prototype.o = function() { | |
qa(Hr(this, "a-d-Ea-R"), function(a) { | |
44 < a.clientWidth && W(a, "a-d-Ea-nj-R") | |
}, this) | |
}; | |
var oK = function(a) { | |
return Math.pow(a, 3) | |
}, | |
pK = function(a) { | |
return 1 - Math.pow(1 - a, 3) | |
}, | |
KJ = function(a) { | |
return 3 * a * a - 2 * a * a * a | |
}; | |
var qK = function(a) { | |
EJ.call(this, a); | |
this.o = null; | |
this.A = 0; | |
this.U = null | |
}; | |
B(qK, EJ); | |
qK.prototype.ce = function() { | |
var a = this.D(), | |
b = Lb(this.v, a, { | |
td: !0, | |
hc: !1 | |
}); | |
b = Mq(this.i, nJ, { | |
item: a, | |
R: b | |
}); | |
var c = new mK(this.v, a, "a-V-d-A-Ea"); | |
Vr(this, c, "h-V-d-l-Ea-k", b); | |
this.P = P("a-V-d-va", b); | |
c = Lb(this.v, a, { | |
hc: !1, | |
Jb: !0 | |
}); | |
if (0 < c.length) { | |
this.o = Mq(this.i, OI, { | |
item: a, | |
R: c | |
}); | |
W(this.o, "a-V-d-va"); | |
ur(this.o, 0); | |
Bm(this.o, this.P); | |
Ur(this, c, "h-a-d-va-G", this.o); | |
a = GJ(b); | |
for (var d = 0; d < c.length; ++d) fu(c[d].h, a) | |
} | |
return b | |
}; | |
qK.prototype.O = function() { | |
EJ.prototype.O.call(this); | |
var a = N(this.D(), Ci, 8); | |
a && (this.A = a.length, 1 < this.A && (this.U = new cK(this.v, 460, void 0, !1), Tr(this, this.U, "i-k"))); | |
JJ(this) | |
}; | |
var rK = function(a) { | |
var b = new pD, | |
c = P("i-k", a.h); | |
0 < a.A && b.add(new BJ(c, 200, KJ)); | |
1 < a.A && (c = new pD, c.add(new wJ(P("i-n-H-k", a.h), [0, 121], 200, KJ)), c.add(new wJ(P("i-p-H-k", a.h), [437, 121], 200, KJ)), b.add(c)); | |
return b | |
}, | |
sK = function(a) { | |
var b = new pD, | |
c = P("a-V-d-Mb", a.h); | |
b.add(new wJ(c, [0, 297], 200, pK)); | |
b.add(new xJ(c, 49, 103, 200, pK)); | |
(c = P("h-V-d-l-U-s", a.h)) && b.add(new AJ(c, 200, KJ)); | |
b.add(new BJ(P("d-l-e", a.h), 200, KJ)); | |
(c = P("a-V-d-bb", a.h)) && b.add(new AJ(c, 200, KJ)); | |
a.o && LJ(b, a.P, a.o, 200); | |
return b | |
}; | |
qK.prototype.de = function() { | |
var a = new qD; | |
a.add(sK(this)); | |
null != P("i-k", this.h) && a.add(rK(this)); | |
return a | |
}; | |
var tK = function(a) { | |
var b = new pD, | |
c = P("i-k", a.h); | |
if (1 < a.A) { | |
var d = new pD; | |
d.add(new wJ(P("i-n-H-k", a.h), [-23, 121], 75, KJ)); | |
d.add(new wJ(P("i-p-H-k", a.h), [460, 121], 75, KJ)); | |
b.add(d) | |
} | |
0 < a.A && b.add(new AJ(c, 75, KJ)); | |
return b | |
}, | |
uK = function(a) { | |
var b = new pD, | |
c = P("a-V-d-Mb", a.h); | |
b.add(new wJ(c, [0, 350], 100, KJ)); | |
b.add(new xJ(c, 103, 49, 100, KJ)); | |
(c = P("h-V-d-l-U-s", a.h)) && b.add(new BJ(c, 100, KJ)); | |
b.add(new AJ(P("d-l-e", a.h), 200, KJ)); | |
(c = P("a-V-d-bb", a.h)) && b.add(new BJ(c, 100, KJ)); | |
a.o && LJ(b, a.o, a.P, 100); | |
return b | |
}; | |
qK.prototype.be = function() { | |
var a = new qD; | |
null != P("i-k", this.h) && a.add(tK(this)); | |
a.add(uK(this)); | |
return a | |
}; | |
var vK = function(a, b, c) { | |
b = c || b; | |
c = a.item && (a.item.K || a.item); | |
cd(a.ra); | |
var d = a.ra; | |
null == a.R || cd(a.R); | |
a = a.R; | |
return y('<div class="' + x("h-l-Jd-x-De") + " " + x("Jd-x-De-Ja") + '"></div><div class="' + x("h-l-d-x") + " " + x("t-d-l") + '"><div class="' + x("t-d-l-x") + " " + x(MH({ | |
item: c | |
})) + '"><a class="' + x("a-u") + " " + x("h-l-Ac") + '" href="' + x(S(Pi(c))) + '" index="' + x(Li(c)) + '" title="' + x(FC({ | |
item: c | |
}, b)) + '">' + SI({ | |
item: c, | |
R: a | |
}, b) + "</a>" + OH({ | |
ra: d, | |
Hb: d.length, | |
Da: 240, | |
Ca: 140, | |
wb: 240, | |
ub: !1, | |
Y: "t-d-l-i", | |
dc: !0, | |
Ab: 1, | |
$a: !1 | |
}, b) + '<a class="' + | |
x("a-u") + '" href="' + x(S(Pi(c))) + '" index="' + x(Li(c)) + '" title="' + x(FC({ | |
item: c | |
}, b)) + '"><div class="' + x("a-t-d-l-o") + '"><div class="' + x("a-t-d-l-o-w") + '">' + A(c.getTitle()) + '</div><div class="' + x("a-t-d-l-o-va") + '">' + OI({ | |
item: c, | |
R: null | |
}, b) + "</div>" + (a && 0 < a.length ? '<div class="' + x("a-t-P-d-bb") + '">' + Cq({ | |
R: a, | |
Ra: "h-a-t-P-d-l-G" | |
}) + "</div>" : "") + "</div></a></div></div>") | |
}, | |
wK = function(a, b, c) { | |
b = c || b; | |
a = a.item && (a.item.K || a.item); | |
b = '<a class="' + x("a-u") + '" href="' + x(S(Pi(a))) + '" index="' + x(Li(a)) + '" title="' + x(FC({ | |
item: a | |
}, | |
b)) + '">' + UI({ | |
yj: Gi(Qi(a)) | |
}) + '<div class="' + x("t-d-l-e") + '"><div class="' + x("a-t-d-l-Mb") + '"><div class="' + x("a-t-d-l-Mb-w") + '">'; | |
b = b + 'Items in this collection</div><div class="' + (x("a-t-d-l-Mb-va") + '">'); | |
c = Math.min(3, Gi(Qi(a)).length); | |
c = Math.max(0, Math.ceil(c)); | |
for (var d = 0; d < c; d++) { | |
var e = d; | |
b += '<div class="' + x("a-t-d-l-Mb-u") + '">' + A(e + 1) + ". " + A(Gi(Qi(a))[e].getTitle()) + "</div>" | |
} | |
b += '</div><div class="' + x("a-t-d-l-Mb-Oa") + '">' + A(Ii(a)) + '</div><div class="' + x("h-d-l-Ra-c") + " " + x("d-l-Ra-c") + '"></div></div></div></a>'; | |
return y(b) | |
}, | |
xK = function(a, b, c) { | |
b = c || b; | |
a = a.item && (a.item.K || a.item); | |
return y('<a class="' + x("a-u") + '" href="' + x(S(Pi(a))) + '" index="' + x(Li(a)) + '" title="' + x(FC({ | |
item: a | |
}, b)) + '"><div class="' + x("a-P-d-A") + '"><img src="' + x(lq(Hi(a))) + '"></div><div class="' + x("t-d-l-e") + '">' + XI({ | |
item: a, | |
xl: !0 | |
}, b) + '<div class="' + x("d-l-e") + '"><div class="' + x("d-l-pa") + '">' + A(Ii(a)) + '</div><div class="' + x("h-d-l-Ra-c") + " " + x("d-l-Ra-c") + '"></div></div></div></a>') | |
}; | |
var yK = function(a) { | |
EJ.call(this, a); | |
this.A = 0; | |
this.o = this.P = null | |
}; | |
B(yK, EJ); | |
yK.prototype.ce = function() { | |
var a = this.D(); | |
this.o = Gi(Qi(a)).slice(0); | |
this.o.unshift(a); | |
this.A = this.o.length; | |
var b = Lb(this.v, a, { | |
hc: !1, | |
Jb: !0 | |
}); | |
a = Mq(this.i, vK, { | |
item: a, | |
ra: this.o, | |
R: b | |
}); | |
Ur(this, b, "h-a-t-P-d-l-G", a); | |
this.P = GJ(a); | |
for (var c = 0; c < b.length; ++c) fu(b[c].h, this.P); | |
return a | |
}; | |
yK.prototype.oa = function(a) { | |
EJ.prototype.oa.call(this, a); | |
a = new cK(this.v, 240, 300, !1, !1); | |
Tr(this, a, "i-k"); | |
a = Hr(this, "i-da"); | |
for (var b = 0; b < a.length; b++) { | |
var c = parseInt(a[b].getAttribute("slideIndex"), 10), | |
d = Mq(this.i, 0 == c ? wK : xK, { | |
item: this.o[c] | |
}); | |
a[b].appendChild(d); | |
c = new ZG(this.v, this.o[c], "small", "collection_hover", this.Mj(), void 0, this.P); | |
Tr(this, c, "h-d-l-Ra-c", d) | |
} | |
}; | |
yK.prototype.O = function() { | |
EJ.prototype.O.call(this); | |
JJ(this); | |
var a = U(this, "h-l-d-x"); | |
a && Yb(P("a-U-d-w", a)) | |
}; | |
var zK = function(a) { | |
var b = new pD; | |
b.add(new wJ(P("i-n-H-k", a.h), [0, 90], 200, KJ)); | |
b.add(new wJ(P("i-p-H-k", a.h), [217, 90], 200, KJ)); | |
return b | |
}; | |
yK.prototype.de = function() { | |
var a = new qD, | |
b = P("t-d-l", this.h), | |
c = P("t-d-l-x", this.h), | |
d = P("i-k", this.h), | |
e = new pD; | |
e.add(new wJ(b, [-1, -100], 200, KJ)); | |
e.add(new xJ(b, 199, 399, 200, KJ)); | |
e.add(new wJ(c, [0, 0], 200, KJ)); | |
e.add(new BJ(d, 200, KJ)); | |
a.add(e); | |
1 < this.A && a.add(zK(this)); | |
return a | |
}; | |
var AK = function(a) { | |
var b = new pD; | |
b.add(new wJ(P("i-n-H-k", a.h), [-23, 90], 75, KJ)); | |
b.add(new wJ(P("i-p-H-k", a.h), [240, 90], 75, KJ)); | |
return b | |
}; | |
yK.prototype.be = function() { | |
var a = new qD; | |
1 < this.A && a.add(AK(this)); | |
var b = P("t-d-l", this.h), | |
c = P("t-d-l-x", this.h), | |
d = P("i-k", this.h), | |
e = new pD; | |
e.add(new wJ(b, [-1, -1], 75, KJ)); | |
e.add(new xJ(b, 399, 199, 75, KJ)); | |
e.add(new wJ(c, [0, -40], 75, KJ)); | |
e.add(new AJ(d, 75, KJ)); | |
a.add(e); | |
return a | |
}; | |
var BK = function(a, b) { | |
this.o = Rq(a, O); | |
this.g = b; | |
this.h = !1; | |
this.i = null | |
}, | |
CK = function(a) { | |
var b = a.g, | |
c = a.g.s(), | |
d = D(a.A, a); | |
b.B().listen(c, "mouseover", AC(b, c, d)); | |
b = P("a-u", a.g.s()); | |
c = a.g; | |
d = D(a.A, a); | |
a = D(a.u, a); | |
c.B().listen(b, "focus", d); | |
c.B().listen(b, "blur", a) | |
}; | |
BK.prototype.A = function() { | |
if (!this.h) { | |
this.h = !0; | |
this.o && aA(this.o, this.g.D().Z()); | |
var a = this.g.j; | |
a && (oH(a, 2), pH(a, 2)); | |
this.i && this.i.dispose(); | |
this.i = this.w(); | |
this.i.play(); | |
El(this.g.s(), "mouseout", this.T, !1, this) | |
} | |
}; | |
BK.prototype.T = function(a) { | |
a.relatedTarget && Jm(this.g.s(), a.relatedTarget) || this.u() | |
}; | |
BK.prototype.u = function() { | |
this.h && (this.h = !1, Ll(this.g.s(), "mouseout", this.T, !1, this), this.i && this.i.dispose(), this.i = this.j(), this.i.play()) | |
}; | |
var DK = function(a, b) { | |
BK.call(this, a, b) | |
}; | |
B(DK, BK); | |
var EK = function(a, b) { | |
var c = a.g.s(), | |
d = Xm(a.g.g, "a-d-l-L", c), | |
e = Number, | |
g = d.style, | |
h = ""; | |
"opacity" in g ? h = g.opacity : "MozOpacity" in g ? h = g.MozOpacity : "filter" in g && (g = g.filter.match(/alpha\(opacity=([\d.]+)\)/)) && (h = String(g[1] / 100)); | |
e = e("" == h ? h : Number(h)); | |
a = Xm(a.g.g, "a-d-Ec", c); | |
c = sJ(gr(a, "backgroundColor")).lj; | |
c = qJ(c); | |
c = parseInt(c.substr(1), 16); | |
c = [c >> 16, c >> 8 & 255, c & 255]; | |
h = new pD; | |
h.add(new yJ(d, e, b.textOpacity, b.Gf)); | |
h.add(new DJ(a, c, b.bgColor, b.Gf)); | |
return h | |
}; | |
DK.prototype.w = function() { | |
return EK(this, FK) | |
}; | |
DK.prototype.j = function() { | |
return EK(this, GK) | |
}; | |
var GK = { | |
textOpacity: 0, | |
bgColor: [248, 248, 248], | |
Gf: 250 | |
}, | |
FK = { | |
textOpacity: 1, | |
bgColor: [230, 230, 230], | |
Gf: 100 | |
}; | |
var HK = function(a, b, c) { | |
this.J = a; | |
this.j = a.get(Dk); | |
this.g = b; | |
this.T = c; | |
this.L = Hq(a).g; | |
this.h = ca(this.L).location.toString(); | |
this.i = this.aa = this.A = this.u = this.w = this.o = null | |
}, | |
nH = function(a, b) { | |
if ("detailPage" == a.T) { | |
var c = new tj, | |
d = a.g.Z(); | |
M(c, 1, d); | |
M(c, 2, b); | |
l(a.g, 50) && (b = l(a.g, 50), M(c, 3, b)); | |
b = a.j; | |
a = dy(b, a.h); | |
oh(a, 4, c); | |
b.g.push(a) | |
} | |
}, | |
oH = function(a, b) { | |
if ("wall" == a.T) { | |
var c = new vj; | |
M(c, 1, b); | |
b = a.g.Z(); | |
M(c, 2, b); | |
b = Li(a.g); | |
M(c, 11, b); | |
b = Oi(a.g); | |
M(c, 13, b); | |
b = a.g.nd(); | |
M(c, 14, b); | |
b = l(a.g, 52); | |
M(c, 16, b); | |
b = l(a.g, 39); | |
M(c, 3, b); | |
a.o && M(c, 8, a.o); | |
a.w && M(c, 9, a.w); | |
a.A && M(c, 12, a.A); | |
a.u && M(c, 10, a.u); | |
a.i && M(c, 18, a.i); | |
(b = IK()) && M(c, 5, b); | |
l(a.g, 50) && (b = l(a.g, 50), M(c, 15, b)); | |
b = Hq(a.J).g; | |
M(c, 17, $m(b).y); | |
b = a.j; | |
a = dy(b, a.h); | |
oh(a, 2, c); | |
b.g.push(a) | |
} | |
}, | |
pH = function(a, b) { | |
if ("marquee" == a.T) { | |
var c = new uj; | |
M(c, 1, b); | |
b = a.g.Z(); | |
M(c, 2, b); | |
a.aa && M(c, 4, a.aa); | |
a.i && M(c, 6, a.i); | |
(b = IK()) && M(c, 5, b); | |
b = a.j; | |
a = dy(b, a.h); | |
oh(a, 6, c); | |
b.g.push(a) | |
} | |
}, | |
GH = function(a, b, c, d) { | |
var e = new rj, | |
g = a.g.Z(); | |
M(e, 2, g); | |
M(e, 1, b); | |
c && M(e, 3, c); | |
d && M(e, 4, d); | |
b = a.j; | |
a = dy(b, a.h); | |
oh(a, 7, e); | |
b.g.push(a) | |
}, | |
IK = function() { | |
var a = P("F-ia-k"); | |
return a ? $t(a, "S-pb-qa") ? 2 : 1 : null | |
}, | |
DH = function(a) { | |
return a.g ? a.g.nd() : null | |
}, | |
JK = function(a) { | |
oH(a, 1); | |
pH(a, 1) | |
}; | |
HK.prototype.H = function() { | |
oH(this, 3); | |
pH(this, 3) | |
}; | |
var FH = function(a) { | |
oH(a, 4); | |
nH(a, 4); | |
pH(a, 4); | |
GH(a, 0) | |
}, | |
yH = function(a) { | |
oH(a, 6); | |
nH(a, 9); | |
pH(a, 6); | |
GH(a, 1) | |
}; | |
var KK = function(a, b, c) { | |
b = c || b; | |
var d = a.item && (a.item.K || a.item); | |
null == a.R || cd(a.R); | |
var e = a.R; | |
a = y; | |
c = '<div class="' + x("h-l-Jd-x-De") + '"></div><div class="' + x("h-l-d-x") + " " + x("P-d-l") + '"><div class="' + x("h-P-d-qg-qf") + " " + x("P-d-qg-qf") + " " + x("kd-zj") + '"><a class="' + x("a-u") + " " + x("h-l-Ac") + '" href="' + x(S(Pi(d))) + '" index="' + x(Li(d)) + '" type="M" title="' + x(FC({ | |
item: d | |
}, b)) + '">' + R("k", !1)({ | |
item: d, | |
Kg: !1 | |
}, b); | |
d = d && (d.K || d); | |
null == e || cd(e); | |
b = y(XI({ | |
item: d, | |
N: "d-l-o", | |
fc: !0, | |
xl: !0, | |
R: e | |
}, b) + '<div class="' + x("d-l-e") + | |
'"><div class="' + x("d-l-pa") + '">' + A(Ii(d)) + '</div><div class="' + x("h-d-l-Ra-c") + " " + x("d-l-Ra-c") + '"></div></div>'); | |
return a(c + b + "</a></div></div>") | |
}; | |
var LK = function(a) { | |
EJ.call(this, a) | |
}; | |
B(LK, EJ); | |
LK.prototype.O = function() { | |
EJ.prototype.O.call(this); | |
JJ(this); | |
var a = U(this, "h-l-d-x"); | |
a && Yb(P("a-U-d-w", a)) | |
}; | |
LK.prototype.ce = function() { | |
var a = this.D(); | |
var b = Lb(this.v, a, { | |
hc: !1, | |
Jb: !0 | |
}); | |
a = Mq(this.i, KK, { | |
item: a, | |
R: b | |
}); | |
Ur(this, b, "h-a-d-va-G", a); | |
for (var c = GJ(a), d = 0; d < b.length; ++d) fu(b[d].h, c); | |
return a | |
}; | |
LK.prototype.de = function() { | |
return new wJ(P("h-P-d-qg-qf", this.h), [0, -200], 350, pK) | |
}; | |
LK.prototype.be = function() { | |
return new wJ(P("h-P-d-qg-qf", this.h), [0, 0], 100, oK) | |
}; | |
var MK = function(a) { | |
a = a.Ij; | |
var b = '<div class="' + x("h-c-we-ta") + '"><div class="' + x("g-c-we-A") + '"><div class="' + x("g-Hi-gc-s") + '"></div></div><div class="' + x("g-c-we-L") + '">'; | |
b += "This application is not supported on this computer. Installation has been disabled. The following problems are detected:"; | |
for (var c = a.length, d = 0; d < c; d++) b += "<li>" + A(a[d]) + "</li>"; | |
return y(b + "</div></div>") | |
}; | |
var NK = function(a, b, c) { | |
Z.call(this, a); | |
this.j = qA(a.get(Jk), b, !0); | |
this.o = DE(19, c, "g-eg-ua-Uc-c-za", "g-eg-ua-Kb-c-za", void 0, void 0, this.j); | |
this.h = new eu(this.v); | |
Qk(this, this.h); | |
a.get(zk) | |
}; | |
B(NK, Z); | |
NK.prototype.S = function() { | |
Z.prototype.S.call(this); | |
this.ia(this.o, !0); | |
this.h.className = "h-c-we-ta"; | |
this.h.ji(Qq(this.i, MK, { | |
Ij: this.j | |
})); | |
this.h.Ki = !0; | |
Mt(this.h, this.s()); | |
this.B().listen(this.h, "show", this.u); | |
OK(this, "ButtonShown", !0) | |
}; | |
var OK = function(a, b, c) { | |
jt(a.v, Kb) && (a = a.v.get(Kb).ib, Yn(0, "NotSupportedButton", b, a.g, void 0, c)) | |
}; | |
NK.prototype.u = function() { | |
OK(this, "TooltipShown") | |
}; | |
var PK = function(a, b) { | |
BK.call(this, a, b) | |
}; | |
B(PK, BK); | |
var QK = function(a, b, c) { | |
a = P("C-b-i-Ld-ng", a.g.s()); | |
var d = new pD; | |
d.add(new ua(a, .25, b, c, "all 250ms")); | |
return d | |
}; | |
PK.prototype.w = function() { | |
return QK(this, { | |
"-webkit-filter": "grayscale(100%)", | |
filter: "grayscale(100%)" | |
}, { | |
"-webkit-filter": "grayscale(0)", | |
filter: "grayscale(0)" | |
}) | |
}; | |
PK.prototype.j = function() { | |
return QK(this, { | |
"-webkit-filter": "grayscale(0)", | |
filter: "grayscale(0)" | |
}, { | |
"-webkit-filter": "grayscale(100%)", | |
filter: "grayscale(100%)" | |
}) | |
}; | |
var RK = function(a, b, c) { | |
b = c || b; | |
a = a.item && (a.item.K || a.item); | |
return y('<div class="' + x("h-l-Jd-x-De") + '"></div><div class="' + x("h-l-d-x") + " " + x("U-d-l") + '"><a class="' + x("a-u") + " " + x("h-l-Ac") + '" href="' + x(S(Pi(a))) + '" index="' + x(Li(a)) + '" type="S" title="' + x(FC({ | |
item: a | |
}, b)) + '">' + XI({ | |
item: a, | |
N: "d-l-o" | |
}, b) + '<div class="' + x("d-l-e") + " " + x("me") + '"><div class="' + x("d-l-pa") + '">' + A(Ii(a)) + '</div><div class="' + x("h-d-l-Ra-c") + " " + x("d-l-Ra-c") + '"></div></div></a></div>') | |
}; | |
var SK = function(a) { | |
EJ.call(this, a); | |
this.o = null | |
}; | |
B(SK, EJ); | |
SK.prototype.O = function() { | |
EJ.prototype.O.call(this); | |
JJ(this); | |
var a = U(this, "h-l-d-x"); | |
a && Yb(P("a-U-d-w", a)) | |
}; | |
SK.prototype.ce = function() { | |
var a = this.D(), | |
b = Lb(this.v, a, { | |
td: !0, | |
hc: !1 | |
}); | |
b = Mq(this.i, RK, { | |
item: a, | |
R: b | |
}); | |
this.A = P("a-U-d-va", b); | |
var c = Lb(this.v, a, { | |
hc: !1, | |
Jb: !0 | |
}); | |
if (0 < c.length) { | |
this.o = Mq(this.i, OI, { | |
item: a, | |
R: c | |
}); | |
W(this.o, "a-U-d-va"); | |
ur(this.o, 0); | |
Bm(this.o, this.A); | |
Ur(this, c, "h-a-d-va-G", this.o); | |
a = GJ(b); | |
for (var d = 0; d < c.length; ++d) fu(c[d].h, a) | |
} | |
return b | |
}; | |
var TK = function(a) { | |
return P("h-l-d-x", a.h) | |
}; | |
SK.prototype.de = function() { | |
var a = new pD; | |
this.configuration.g && L(this.configuration.g, 6) || a.add(new wJ(TK(this), UK, 250, pK)); | |
a.add(new xJ(TK(this), VK, WK, 250, pK)); | |
var b = P("d-l-e", this.h); | |
rx(this.v.get(Mk)) ? a.add(new BJ(b, 250, pK)) : ur(b, 1); | |
this.o && LJ(a, this.A, this.o, 250); | |
return a | |
}; | |
SK.prototype.be = function() { | |
var a = new pD; | |
rx(this.v.get(Mk)) && a.add(new AJ(P("d-l-e", this.h), 100, oK)); | |
a.add(new wJ(TK(this), XK, 100, oK)); | |
var b = Vb(TK(this)); | |
a.add(new xJ(TK(this), b.height, VK, 100, oK)); | |
this.o && LJ(a, this.o, this.A, 100); | |
return a | |
}; | |
var WK = 199, | |
VK = 99, | |
UK = [-1, -50], | |
XK = [-1, -1]; | |
var YK = function(a, b, c) { | |
b = c || b; | |
a = a.item && (a.item.K || a.item); | |
return y('<div class="' + x("h-l-Jd-x-De") + '"></div><div class="' + x("h-l-d-x") + " " + x("Sa-d-l") + '"><a class="' + x("a-u") + " " + x("h-l-Ac") + '" href="' + x(S(Pi(a))) + '" index="' + x(Li(a)) + '" type="S" title="' + x(FC({ | |
item: a | |
}, b)) + '">' + VI({ | |
item: a, | |
N: "d-l-o" | |
}, b) + '<div class="' + x("d-l-e") + " " + x("me") + '"><div class="' + x("d-l-pa") + '">' + A(Ii(a)) + '</div><div class="' + x("h-d-l-Ra-c") + " " + x("d-l-Ra-c") + '"></div></div></a></div>') | |
}; | |
var ZK = function(a) { | |
EJ.call(this, a); | |
this.o = null | |
}; | |
B(ZK, EJ); | |
ZK.prototype.O = function() { | |
EJ.prototype.O.call(this); | |
JJ(this) | |
}; | |
ZK.prototype.ce = function() { | |
var a = this.D(), | |
b = Lb(this.v, a, { | |
td: !0, | |
hc: !1 | |
}); | |
b = Mq(this.i, YK, { | |
item: a, | |
R: b | |
}); | |
this.A = P("a-Sa-d-va", b); | |
var c = Lb(this.v, a, { | |
hc: !1 | |
}); | |
0 < c.length && (this.o = Mq(this.i, OI, { | |
item: a, | |
R: c | |
}), W(this.o, "a-Sa-d-va"), ur(this.o, 0), Bm(this.o, this.A)); | |
return b | |
}; | |
var $K = function(a) { | |
return P("h-l-d-x", a.h) | |
}; | |
ZK.prototype.de = function() { | |
var a = new pD; | |
a.add(new wJ($K(this), aL, 250, pK)); | |
a.add(new xJ($K(this), bL, cL, 250, pK)); | |
var b = P("d-l-e", this.h); | |
rx(this.v.get(Mk)) ? a.add(new BJ(b, 250, pK)) : ur(b, 1); | |
this.o && LJ(a, this.A, this.o, 250); | |
return a | |
}; | |
ZK.prototype.be = function() { | |
var a = new pD; | |
rx(this.v.get(Mk)) && a.add(new AJ(P("d-l-e", this.h), 100, oK)); | |
a.add(new wJ($K(this), dL, 100, oK)); | |
var b = Vb($K(this)); | |
a.add(new xJ($K(this), b.height, bL, 100, oK)); | |
this.o && LJ(a, this.o, this.A, 100); | |
return a | |
}; | |
var cL = 170, | |
bL = 71, | |
aL = [-1, -101], | |
dL = [-1, -1]; | |
var eL = function(a) { | |
return y(A(a.label)) | |
}; | |
var fL = function(a, b) { | |
Z.call(this, a); | |
this.h = a.get(Ek); | |
this.j = b | |
}; | |
B(fL, Z); | |
fL.prototype.xe = function() { | |
return V(this.h, "pot") && this.configuration.h | |
}; | |
fL.prototype.S = function() { | |
this.ba = Mq(this.i, eL, { | |
label: l(this.j, 76) || "" | |
}); | |
X(this.s(), "a-d-ud-nb", !1) | |
}; | |
fL.prototype.O = function() { | |
Z.prototype.O.call(this) | |
}; | |
var gL = function(a) { | |
EJ.call(this, a) | |
}; | |
B(gL, EJ); | |
gL.prototype.ca = function() { | |
return !1 | |
}; | |
gL.prototype.ce = function() { | |
return wm("DIV") | |
}; | |
gL.prototype.de = function() { | |
return new kD([0, 0], [0, 0], 0) | |
}; | |
gL.prototype.be = function() { | |
return new kD([0, 0], [0, 0], 0) | |
}; | |
var hL = function(a, b, c, d, e) { | |
Z.call(this, a); | |
this.H = this.sb(); | |
var g = new HK(this.v, c, "wall"); | |
g.o = d; | |
this.j = g; | |
this.Ua = b; | |
this.h = c; | |
this.P = a.get(Nk); | |
this.o = null; | |
this.L = e; | |
this.A = null; | |
this.ca = rA(a.get(Jk), this.h); | |
this.U = this.X = null; | |
a.get(zk); | |
this.da = a.get(Jk); | |
this.J = this.u = null | |
}; | |
B(hL, Z); | |
hL.prototype.D = function() { | |
return this.h | |
}; | |
var iL = function(a, b) { | |
5 == aa(a.h) ? M(a.h, 39, b + "_collection") : M(a.h, 39, b) | |
}; | |
f = hL.prototype; | |
f.Rq = function(a, b, c) { | |
(a = c.rating) && Yn(0, "Zipit", "Rate", "ReviewsSection", a, !1) | |
}; | |
f.S = function() { | |
Z.prototype.S.call(this); | |
iL(this, this.Ua); | |
switch (this.Ua) { | |
case "BL": | |
case "BR": | |
var a = Lb(this.v, this.h, { | |
td: !0, | |
hc: !1 | |
}); | |
var b = Mq(this.i, PI, { | |
item: this.h, | |
left: "BL" == this.Ua, | |
N: "", | |
R: a | |
}); | |
b.ka = this.h; | |
b.g = this; | |
this.ba = b; | |
Ur(this, a, "h-a-V-d-G", b); | |
this.o = new mK(this.v, this.h, "a-V-d-A-Ea"); | |
Vr(this, this.o, "h-a-d-Ea-k", b); | |
this.B().listen(this.s(), "mouseover", D(this.ar, this, b)); | |
break; | |
case "R": | |
b = Mq(this.i, QI, { | |
item: this.h | |
}); | |
b.ka = this.h; | |
b.g = this; | |
this.ba = b; | |
this.o = new mK(this.v, this.h, "a-P-d-A-Ea"); | |
Vr(this, | |
this.o, "h-a-d-Ea-k", b); | |
BB(this.P, "ReviewsSection", D(this.Rq, this)); | |
CB(b, "ReviewsSection"); | |
zB(this.P, b); | |
break; | |
case "M": | |
a = Lb(this.v, this.h, { | |
td: !0, | |
hc: !1 | |
}); | |
if (5 == aa(this.h)) b = Mq(this.i, TI, { | |
item: this.h, | |
N: "", | |
R: a | |
}), b.ka = this.h, b.g = this, this.ba = b, Ur(this, a, "h-a-t-P-d-G", b), this.B().listen(this.s(), "mouseover", D(this.fr, this, b)); | |
else { | |
var c = V(this.v.get(Ek), "pot") && this.configuration.h; | |
b = Mq(this.i, RI, { | |
item: this.h, | |
N: "", | |
R: a, | |
xe: c, | |
pf: L(this.h, 80), | |
qf: null != l(this.h, 81) | |
}); | |
b.ka = this.h; | |
b.g = this; | |
this.ba = b; | |
this.o = new mK(this.v, | |
this.h, "a-P-d-A-Ea"); | |
Vr(this, this.o, "h-a-d-Ea-k", b); | |
this.sl(c, b, a); | |
c ? (this.configuration.j && V(this.v.get(Ek), "evt") && null != l(this.h, 81) ? this.J = new PK(this.v, this) : this.J = new DK(this.v, this), CK(this.J)) : this.B().listen(this.s(), "mouseover", D(this.qr, this, b)) | |
} | |
break; | |
case "S": | |
b = Mq(this.i, YI, { | |
item: this.h, | |
N: "" | |
}); | |
b.ka = this.h; | |
b.g = this; | |
this.ba = b; | |
P("h-a-d-Ea-k", b) && (this.o = new mK(this.v, this.h, "a-U-d-A-Ea"), Vr(this, this.o, "h-a-d-Ea-k", b)); | |
this.B().listen(this.s(), "mouseover", D(this.xr, this, b)); | |
break; | |
case "T": | |
b = | |
Mq(this.i, WI, { | |
item: this.h, | |
N: "" | |
}); | |
b.ka = this.h; | |
b.g = this; | |
this.ba = b; | |
this.o = new mK(this.v, this.h, "a-Sa-d-A-Ea"); | |
Vr(this, this.o, "h-a-d-Ea-k", b); | |
this.B().listen(this.s(), "mouseover", D(this.Br, this, b)); | |
break; | |
case "W": | |
a = Lb(this.v, this.h, { | |
hc: !1, | |
Jb: !0 | |
}); | |
b = Mq(this.i, lJ, { | |
item: this.h, | |
R: a | |
}); | |
b.ka = this.h; | |
b.g = this; | |
this.ba = b; | |
Ur(this, a, "h-a-Ja-d-G", b); | |
this.o = new mK(this.v, this.h, "a-Ja-d-A-Ea"); | |
Vr(this, this.o, "h-a-d-Ea-k", b); | |
this.B().listen(this.s(), "mouseover", D(this.Vj, this, b)); | |
(a = U(this, "a-jb-qc-c")) && Mo(this.B(), | |
a, "click", | |
function(d) { | |
ag(Ri(this.h) || ""); | |
Yn(0, "OnAndroidButton", "Click", "Wall"); | |
d.preventDefault(); | |
d.stopPropagation() | |
}, !0, this); | |
break; | |
case "D": | |
b = this.il(); | |
break; | |
default: | |
throw Error("vb"); | |
} | |
this.j && this.B().listen(b, "mouseup", D(this.j.H, this.j)); | |
(b = U(this, "rsw-picker")) && this.B().listen(b, "click", function(d) { | |
d.preventDefault(); | |
d.stopPropagation() | |
}); | |
DB(this.s()); | |
W(this.s(), "dd"); | |
this.X && (this.s().style.width = this.X); | |
this.U && (this.s().style.height = this.U); | |
if (this.H && this.H.Va() && (new vp(window.location.search.substring(1))).get("colorAppTypes")) { | |
b = | |
null; | |
switch (aa(this.h)) { | |
case 4: | |
b = "u-Qa-Dj"; | |
break; | |
case 6: | |
b = "u-Qa-uk-ia" | |
} | |
b && W(this.s(), b) | |
} | |
}; | |
f.il = function() { | |
var a = Lb(this.v, this.h, { | |
hc: !1, | |
Jb: !0 | |
}), | |
b = Mq(this.i, mJ, { | |
item: this.h, | |
R: a | |
}); | |
b.ka = this.h; | |
b.g = this; | |
this.ba = b; | |
Ur(this, a, "h-a-Nj-Ja-d-G", b); | |
this.o = new mK(this.v, this.h, "a-Ja-d-A-Ea"); | |
Vr(this, this.o, "h-a-d-Ea-k", b); | |
this.B().listen(this.s(), "mouseover", D(this.Vj, this, b)); | |
return b | |
}; | |
f.sl = function(a, b, c) { | |
a ? (this.u = new fL(this.v, this.h), Vr(this, this.u, "a-d-ud-k", b)) : Ur(this, c, "h-a-P-d-G", b) | |
}; | |
f.O = function() { | |
Z.prototype.O.call(this); | |
if (("W" == this.Ua || "D" == this.Ua) && P("h-d-Ra-c", this.s())) | |
if (qu(this.da, this.h)) { | |
var a = new NK(this.v, this.h, "small"); | |
Vr(this, a, "h-d-Ra-c") | |
} else this.A = new ZG(this.v, this.h, "small", this.L, this.j, !this.ca, null, this.Dm()), Tr(this, this.A, "h-d-Ra-c"); | |
"M" == this.Ua && this.u && Nn(D(function() { | |
var b = U(this, "rsw-stars"), | |
c = this.u.s(); | |
if (b && c) { | |
b = tr(b); | |
var d = tr(c); | |
b.left <= d.left + d.width && d.left <= b.left + b.width && b.top <= d.top + d.height && d.top <= b.top + b.height && T(c, !1) | |
} | |
}, this)) | |
}; | |
f.Dm = function() { | |
var a = !!this.configuration.g && hh(this.configuration.g, 33, !1); | |
return "W" == this.Ua || a | |
}; | |
f.qa = function() { | |
Z.prototype.qa.call(this) | |
}; | |
var jL = function(a) { | |
a.H && Qz(a.H, a.h); | |
a.o && nK(a.o); | |
a.A && bH(a.A); | |
a.u && X(a.u.s(), "a-d-ud-nb", !1) | |
}, | |
kL = function(a, b) { | |
a.j && (a.j.A = b) | |
}; | |
f = hL.prototype; | |
f.sb = function() { | |
return this.v.get(O) | |
}; | |
f.ar = function(a) { | |
FJ(new qK(this.v), a) | |
}; | |
f.fr = function(a) { | |
FJ(new yK(this.v), a) | |
}; | |
f.qr = function(a) { | |
FJ(new LK(this.v), a) | |
}; | |
f.xr = function(a) { | |
FJ(new SK(this.v), a) | |
}; | |
f.Br = function(a) { | |
FJ(new ZK(this.v), a) | |
}; | |
f.Vj = function(a) { | |
FJ(new gL(this.v), a) | |
}; | |
var lL = function(a) { | |
this.g = a; | |
a.get(Mk) | |
}; | |
lL.prototype.render = function(a, b, c, d, e) { | |
var g = { | |
success: !1, | |
zj: a, | |
zg: [] | |
}, | |
h = Math.min(a.length, b.length + d), | |
k = a.slice(0, h), | |
m = b.length; | |
if (a.length < b.length) { | |
b = b.slice(0, a.length); | |
for (var p = 0; p < b.length; p++) | |
if ("BL" == b[p].t || "BR" == b[p].t) return g | |
} | |
var q = []; | |
p = []; | |
for (var t = 0; t < b.length; t++) { | |
if (0 > b[t].W || void 0 != q[b[t].W] || b[t].W >= m) throw Error("wb"); | |
if (b[t].W >= b.length) return g; | |
q[b[t].W] = t | |
} | |
for (m = 0; m < q.length; m++) { | |
a: { | |
t = c + m; | |
for (var v = b[q[m]].t, w = d, J = 0; J < k.length; J++) { | |
var G = k[J]; | |
if (Math.abs(t - Li(G)) > w) break; | |
var I = | |
5 == aa(G) && !(F && !Ng(9)); | |
if (("M" != v || Hi(G) || I) && ("BL" != v && "BR" != v || l(G, 6))) { | |
t = J; | |
break a | |
} | |
} | |
t = -1 | |
} | |
if (-1 == t) return g;p[q[m]] = k[t];k.splice(t, 1) | |
} | |
c = []; | |
for (d = 0; d < b.length; d++) { | |
g = b[d].t; | |
switch (g) { | |
case "W": | |
q = "search"; | |
break; | |
case "D": | |
q = "your_apps"; | |
break; | |
default: | |
q = "wall" | |
} | |
g = new hL(this.g, g, p[d], e, q); | |
c.push(g) | |
} | |
a = k.concat(a.slice(h, a.length)); | |
for (e = 0; e < b.length; e++); | |
return { | |
success: !0, | |
zj: a, | |
zg: c | |
} | |
}; | |
var oL = function(a, b, c) { | |
this.i = b; | |
this.u = a; | |
this.A = new mL((c || new nL("SMALL")).layout); | |
this.g = []; | |
this.j = []; | |
this.o = this.h = this.T = 0; | |
this.w = !1 | |
}, | |
pL = function(a) { | |
return 0 < a.g.length || ty(a.i) | |
}, | |
tL = function(a, b, c) { | |
var d = qL(a, a.o - a.h, a.A.layout); | |
rL(a, d, D(function() { | |
for (var e = !1, g = !1; this.h < this.o && pL(this);) { | |
var h = sL(this, this.A, !0); | |
if (2 == h) { | |
e = !0; | |
break | |
} else if (1 == h) { | |
g = !0; | |
break | |
} | |
} | |
e ? tL(this, b, c) : b(this.j, g) | |
}, a), c) | |
}, | |
rL = function(a, b, c, d) { | |
a.g.length >= b || !ty(a.i) ? c() : sy(a.i, b, D(function(e) { | |
for (var g = 0; g < e.length; g++) { | |
var h = | |
this.T++; | |
M(e[g], 14, h) | |
} | |
this.g = this.g.concat(e); | |
c() | |
}, a), d) | |
}, | |
sL = function(a, b, c) { | |
var d = 4 == a.u.get(Lk).g, | |
e = null; | |
switch (b.layout) { | |
case "PREFER_BIG": | |
d = d ? uL : vL; | |
e = "PREFER_MEDIUM"; | |
break; | |
case "PREFER_MEDIUM": | |
d = d ? wL : xL; | |
e = "SMALL"; | |
break; | |
case "SMALL": | |
d = d ? yL : zL; | |
break; | |
case "WIDE": | |
d = AL; | |
break; | |
case "DETAILED_WIDE": | |
d = BL; | |
break; | |
default: | |
throw Error("y"); | |
} | |
if (c) { | |
c = d; | |
if (a.g.length >= c.g.length + 12 || !ty(a.i)) { | |
d = !1; | |
var g = (new lL(a.u)).render(a.g, c.g, a.T - a.g.length, c.j ? Number.POSITIVE_INFINITY : 12, c.h); | |
if (g.success) { | |
a.g = g.zj; | |
a.j = | |
a.j.concat(g.zg); | |
var h = a.i.i.Sh(); | |
if (h) | |
for (var k = 0; k < g.zg.length; k++) | |
if (Li(g.zg[k].h) == h) { | |
d = !0; | |
break | |
} a.h += c.i; | |
a = d ? 1 : 0 | |
} else a = 3 | |
} else a = 2; | |
if (3 == a) { | |
if (!e) throw Error("xb"); | |
b.layout = e | |
} | |
return a | |
} | |
return d | |
}, | |
qL = function(a, b, c) { | |
if (b == Number.POSITIVE_INFINITY) return Number.POSITIVE_INFINITY; | |
var d = 0, | |
e = 0; | |
for (c = new mL(c); d < b;) { | |
var g = sL(a, c, !1); | |
d += g.i; | |
e += g.g.length | |
} | |
return e + 12 | |
}, | |
CL = function(a, b, c, d) { | |
if (a.w) throw Error("yb"); | |
a.w = !0; | |
a.o = b; | |
a.h = 0; | |
a.j = []; | |
tL(a, D(function(e, g) { | |
this.w = !1; | |
c(e, g) | |
}, a), D(function() { | |
this.w = !1; | |
d() | |
}, a)) | |
}, | |
nL = function(a) { | |
this.layout = a | |
}, | |
mL = function(a) { | |
this.layout = a | |
}, | |
DL = function(a, b, c, d, e) { | |
this.w = a; | |
this.g = b; | |
this.i = c; | |
this.h = d; | |
this.j = void 0 === e ? !1 : e | |
}; | |
DL.prototype.getName = function() { | |
return this.w | |
}; | |
var uL = new DL("Big", [{ | |
t: "BL", | |
W: 0 | |
}, { | |
t: "M", | |
W: 2 | |
}, { | |
t: "M", | |
W: 3 | |
}, { | |
t: "M", | |
W: 4 | |
}, { | |
t: "M", | |
W: 5 | |
}, { | |
t: "M", | |
W: 6 | |
}, { | |
t: "M", | |
W: 7 | |
}, { | |
t: "M", | |
W: 8 | |
}, { | |
t: "M", | |
W: 9 | |
}, { | |
t: "M", | |
W: 10 | |
}, { | |
t: "M", | |
W: 11 | |
}, { | |
t: "BR", | |
W: 1 | |
}, { | |
t: "M", | |
W: 12 | |
}, { | |
t: "M", | |
W: 13 | |
}], 10, 1), | |
vL = new DL("Big (3 Column)", [{ | |
t: "BL", | |
W: 0 | |
}, { | |
t: "M", | |
W: 2 | |
}, { | |
t: "M", | |
W: 3 | |
}, { | |
t: "M", | |
W: 4 | |
}, { | |
t: "M", | |
W: 5 | |
}, { | |
t: "M", | |
W: 6 | |
}, { | |
t: "M", | |
W: 7 | |
}, { | |
t: "BR", | |
W: 1 | |
}, { | |
t: "M", | |
W: 8 | |
}, { | |
t: "M", | |
W: 9 | |
}, { | |
t: "M", | |
W: 10 | |
}, { | |
t: "M", | |
W: 11 | |
}], 12, 1), | |
wL = new DL("Medium", [{ | |
t: "M", | |
W: 0 | |
}, { | |
t: "M", | |
W: 1 | |
}, { | |
t: "M", | |
W: 2 | |
}, { | |
t: "M", | |
W: 3 | |
}], 2, 2), | |
xL = new DL("Medium (3 Column)", [{ | |
t: "M", | |
W: 0 | |
}, | |
{ | |
t: "M", | |
W: 1 | |
}, { | |
t: "M", | |
W: 2 | |
} | |
], 2, 2), | |
yL = new DL("Small", [{ | |
t: "S", | |
W: 0 | |
}, { | |
t: "S", | |
W: 1 | |
}, { | |
t: "S", | |
W: 2 | |
}, { | |
t: "S", | |
W: 3 | |
}], 1, 3, !0), | |
zL = new DL("Small (3 Column)", [{ | |
t: "S", | |
W: 0 | |
}, { | |
t: "S", | |
W: 1 | |
}, { | |
t: "S", | |
W: 2 | |
}], 1, 3, !0), | |
AL = new DL("Search", [{ | |
t: "W", | |
W: 0 | |
}], 1, 6, !0), | |
BL = new DL("Detail Wide", [{ | |
t: "D", | |
W: 0 | |
}, { | |
t: "D", | |
W: 1 | |
}, { | |
t: "D", | |
W: 2 | |
}, { | |
t: "D", | |
W: 3 | |
}, { | |
t: "D", | |
W: 4 | |
}, { | |
t: "D", | |
W: 5 | |
}, { | |
t: "D", | |
W: 6 | |
}, { | |
t: "D", | |
W: 7 | |
}, { | |
t: "D", | |
W: 8 | |
}, { | |
t: "D", | |
W: 9 | |
}, { | |
t: "D", | |
W: 10 | |
}, { | |
t: "D", | |
W: 11 | |
}], 12, 7, !0); | |
var EL = 0, | |
FL = function(a, b) { | |
b = void 0 === b ? null : b; | |
Z.call(this, a); | |
this.L = !1; | |
this.P = 1; | |
this.na = -1; | |
this.o = b; | |
this.ta = []; | |
this.u = []; | |
this.ea = []; | |
this.wa = {}; | |
this.A = {}; | |
this.ha = new jp; | |
this.X = this.Ea = this.lq = 0; | |
this.v.get(Mk); | |
this.Sb = Wg; | |
this.Tb = !1; | |
this.Ka = 0; | |
this.Fb = a.get(Bk); | |
this.Ac = this.v.get(Ek); | |
jt(a, tC) && cF(a.get(tC), "") | |
}; | |
B(FL, Z); | |
var GL = function(a, b, c, d) { | |
a.Fb.h = tc(); | |
a.L = !0; | |
a.uc(D(function(e, g) { | |
this.ta = e; | |
this.na = g ? this.P : -1; | |
this.L = !1; | |
b() | |
}, a), D(function() { | |
this.L = !1; | |
c() | |
}, a), d) | |
}; | |
f = FL.prototype; | |
f.uc = function(a, b) { | |
this.o ? CL(this.o, this.Jd(), a, b) : a([], !1) | |
}; | |
f.Gl = function() { | |
return "See More" | |
}; | |
f.Jd = function() { | |
return Math.max(6, Math.ceil(Ym(this.g).height / 100)) | |
}; | |
f.lg = function() { | |
var a = this.o; | |
return !!a && pL(a) | |
}; | |
f.S = function() { | |
this.ba = Mq(this.i, LI, { | |
ni: HL(this), | |
Wg: Wg, | |
Lh: this.Gl() | |
}) | |
}; | |
f.cb = function() { | |
return !1 | |
}; | |
f.O = function() { | |
Z.prototype.O.call(this); | |
this.Ve(this.ta); | |
this.Tb || this.dispatchEvent("p"); | |
this.ta = []; | |
this.B().listen(U(this, "h-a-Hd-mb"), "click", D(function() { | |
this.na = -1; | |
IL(this, !0, !1) | |
}, this)); | |
this.B().listen(window, "scroll", this.fb); | |
this.B().listen(window, "resize", this.fb); | |
JL(this); | |
IL(this); | |
Ix(this.Fb) | |
}; | |
f.V = function() { | |
Z.prototype.V.call(this); | |
this.ha.clear(); | |
this.ea = []; | |
this.u = []; | |
KL(this); | |
this.wa = {} | |
}; | |
var ML = function(a) { | |
for (var b = a.j(), c = 0; c < b.length; c++) a.ia(b[c], !0), LL(a, b[c].s()); | |
b = a.fa(); | |
a.g.Jl(a.Dc(), b); | |
LL(a, b) | |
}; | |
FL.prototype.fa = function() { | |
return Mq(this.i, hJ) | |
}; | |
FL.prototype.Ve = function(a) { | |
0 != a.length || this.lg() ? NL(this, a, this.j(), !0) : ML(this) | |
}; | |
FL.prototype.j = function() { | |
return [] | |
}; | |
FL.prototype.Dc = function() { | |
return U(this, "h-a-x") | |
}; | |
var KL = function(a) { | |
for (var b in a.A) a.A[b].stop(!0), a.A[b].dispose(); | |
a.A = {} | |
}, | |
NL = function(a, b, c, d) { | |
d = void 0 === d ? !1 : d; | |
if (c) | |
for (var e = 0; e < c.length; e++) a.ia(c[e], !0); | |
if (0 == b.length) { | |
if (c) | |
for (b = 0; b < c.length; b++) LL(a, c[b].s()) | |
} else { | |
var g = jt(a.v, Lk) && 3 === a.v.get(Lk).g ? 3 : 4, | |
h = 0; | |
e = document.createElement("div"); | |
var k = new Er; | |
Lr(k, e); | |
k.s().setAttribute("role", "grid"); | |
if (c && c[0] && c[0].s().querySelector("[role=heading]")) { | |
var m = c[0].s().querySelector("[role=heading]"), | |
p = "wallLayout_header_" + EL++; | |
m.id = p; | |
k.s().setAttribute("aria-labeledby", | |
p) | |
} | |
p = new Er; | |
k.ia(p, !0); | |
p.s().setAttribute("role", "row"); | |
var q = []; | |
m = a.u.length; | |
for (var t = {}, v = 0; v < b.length; t = { | |
hd: t.hd | |
}, v++) { | |
var w = b[v]; | |
h >= g && (h = 0, p = new Er, k.ia(p, !0), p.s().setAttribute("role", "row")); | |
h++; | |
p.ia(w, !0); | |
w.s().querySelector("a").setAttribute("role", "gridcell"); | |
var J = w.D().Z(), | |
G = a.ha.get(J, []); | |
G.push(w); | |
1 < G.length && (t.hd = "Detected " + G.length + " duplicates at " + ca(a.g).location.href + "\n", qa(G, function(I) { | |
return function(ja, Y) { | |
ja = ja.D(); | |
I.hd += Y + "-id: " + ja.Z() + "\n"; | |
I.hd += Y + "-stream-position: " + | |
Li(ja) + "\n"; | |
I.hd += Y + "-selection-origin: " + ja.nd() + "\n" | |
} | |
}(t), a), Ju(null, Error(t.hd))); | |
q.push(w); | |
a.ha.set(J, G); | |
w.j && (w.j.u = v); | |
w.j && (w.j.w = m); | |
kL(w, a.lq++) | |
} | |
a.Sb && (e.style.visibility = "hidden"); | |
dc(k.s()); | |
a.ia(k); | |
a.u.push(e); | |
a.ea.push(q); | |
OL(a); | |
if (uD(a.v.get(lC))) { | |
g = new pD; | |
h = 0; | |
if (c) | |
for (k = 0; k < c.length; k++) p = PL(a, c[k].s()), q = QL(p), g.add(RL(a, p, q[0], h)), h += q[1]; | |
for (c = 0; c < b.length; c++) | |
for (k = SL(a, b[c]), p = 0; p < k.length; p++) q = k[p], t = QL(q), g.add(RL(a, q, t[0], h)), h += t[1]; | |
d && (a.dispatchEvent("q"), a.Tb = !0, a.B().Xa(g, | |
"end", D(function() { | |
this.dispatchEvent("p") | |
}, a))); | |
a.A[m.toString()] = g; | |
SC(g, a.v, 2); | |
a.B().Xa(g, "end", D(a.Uj, a, e, b)); | |
g.play() | |
} else a.Uj(e, b); | |
TL(a) | |
} | |
}; | |
FL.prototype.Uj = function() {}; | |
var RL = function(a, b, c, d) { | |
d = void 0 === d ? 0 : d; | |
c = new ua(b, c + d, { | |
opacity: 0 | |
}, { | |
opacity: 1 | |
}, [{ | |
Bb: "opacity", | |
duration: c, | |
timing: "ease-out", | |
delay: d | |
}]); | |
a.B().Xa(c, "end", D(function() { | |
Uf(this, pf) | |
}, b)); | |
return c | |
}, | |
SL = function(a, b) { | |
var c = b.s(); | |
b = []; | |
if ($t(c, "a-d-zc")) b.push(c); | |
else | |
for (a = ra("a-d-zc", c || a.g.g), c = 0; c < a.length; c++) b.push(a[c]); | |
return b | |
}, | |
PL = function(a, b) { | |
return $t(b, "a-d-zc") ? b : Xm(a.g, "a-d-zc", b) | |
}, | |
QL = function(a) { | |
var b = a.offsetHeight; | |
return [.0015 * b, b * a.offsetWidth * UL] | |
}, | |
LL = function(a, b) { | |
uD(a.v.get(lC)) && (b = PL(a, | |
b), RL(a, b, QL(b)[0]).play()) | |
}; | |
FL.prototype.xa = function() { | |
return !1 | |
}; | |
var HL = function(a) { | |
return a.xa() && a.configuration.ta && V(a.Ac, "nma") | |
}, | |
OL = function(a) { | |
if (0 != a.u.length && a.Sb) { | |
var b = D(function(t) { | |
t = this.u[t]; | |
var v = mr(t).y; | |
return v + t.clientHeight <= c ? -1 : v >= d ? 1 : 0 | |
}, a), | |
c = $m(a.g).y, | |
d = c + Ym(a.g).height; | |
c -= 100; | |
d += 100; | |
for (var e = 0, g = a.u.length - 1, h = {}; e <= g;) { | |
var k = Math.floor((e + g) / 2), | |
m = b(k); | |
if (0 > m) e = k + 1; | |
else if (0 < m) g = k - 1; | |
else { | |
for (e = k - 1; 0 <= e && !b(e); e--) h[e] = !0; | |
for (; k < a.u.length && !b(k); k++) h[k] = !0; | |
break | |
} | |
} | |
for (var p in a.wa) h[p] || (a.u[Number(p)].style.visibility = "hidden", a.A[p] && | |
(a.A[p].stop(!0), a.A[p].dispose(), delete a.A[p])); | |
for (var q in h) a.wa[q] || (a.u[Number(q)].style.visibility = "visible"); | |
a.wa = h | |
} | |
}; | |
FL.prototype.fb = function() { | |
IL(this, !0); | |
OL(this); | |
TL(this) | |
}; | |
var WL = function(a) { | |
VL(a, !0); | |
a.P++; | |
a.bb(D(function() { | |
VL(this, !1); | |
IL(this) | |
}, a), D(function() { | |
this.ya() || VL(this, !1) | |
}, a)) | |
}; | |
FL.prototype.bb = function(a, b) { | |
CL(this.o, 40, D(function(c, d) { | |
this.ya() || (NL(this, c), this.na = d ? this.P : -1, a()) | |
}, this), b) | |
}; | |
var IL = function(a, b, c) { | |
if (void 0 === b ? 0 : b) a.Ka = 0; | |
else if (a.Ka++, 5 < a.Ka) return; | |
(void 0 !== c && !c || Wg || 0 != a.P % 4) && a.P != a.na && (!a.lg() || a.L ? b = !1 : (b = $m(a.g).y + Ym(a.g).height, b = 4E3 <= a.Dc().offsetHeight - b ? !1 : !0), b && WL(a)) | |
}, | |
VL = function(a, b) { | |
a.L = b; | |
JL(a) | |
}, | |
JL = function(a) { | |
var b = U(a, "h-a-Kd"), | |
c = U(a, "h-a-Hd-mb"); | |
1 == a.L ? (T(b, !0), T(c, !1)) : (T(b, !1), b = a.lg(), T(c, b), X(a.s(), "a-eb-mb-x", !b)) | |
}; | |
FL.prototype.U = function(a) { | |
a = this.ha.get(a, []); | |
for (var b = 0; b < a.length; b++) jL(a[b]) | |
}; | |
var TL = function(a) { | |
if (!a.v.get(xC).u) | |
for (var b = $m(a.g).y + Ym(a.g).height; a.Ea < a.ea.length;) { | |
for (var c = a.ea[a.Ea]; a.X < c.length;) { | |
var d = c[a.X], | |
e = d.s(), | |
g = U(d, "a-d"); | |
g = g ? Vb(g).height : 0; | |
if (!(null == e ? 0 : mr(e).y + g <= b)) return; | |
JK(d.j); | |
a.X++ | |
} | |
a.Ea++; | |
a.X = 0 | |
} | |
}, | |
UL = .04 / 192E3; | |
var XL = { | |
jd: CD | |
}, | |
YL = function(a, b) { | |
FL.call(this, a); | |
this.h = b | |
}; | |
B(YL, FL); | |
YL.prototype.uc = function(a, b, c) { | |
var d = new XL.jd(this.v, null, 1, null, null, !0, void 0, void 0, void 0, this.h); | |
this.v.get(O).w = d; | |
this.o = new oL(this.v, d.ic(), new nL("WIDE")); | |
FL.prototype.uc.call(this, a, b, c) | |
}; | |
var ZL = function(a) { | |
this.i = a || new is(!1, null, null) | |
}; | |
f = ZL.prototype; | |
f.df = function() { | |
return null | |
}; | |
f.Ph = function() { | |
return "Chrome Web Store" | |
}; | |
f.Ii = function() { | |
throw Error("zb"); | |
}; | |
f.Cm = function() { | |
return null | |
}; | |
f.Wi = function() { | |
return 0 | |
}; | |
f.Ch = function() { | |
return !1 | |
}; | |
var $L = function(a) { | |
ZL.call(this); | |
this.g = new Set(a) | |
}; | |
B($L, ZL); | |
$L.prototype.dd = function(a) { | |
return new YL(a, Array.from(this.g)) | |
}; | |
$L.prototype.Od = function(a) { | |
if (a instanceof $L) a: { | |
var b = this.g;a = a.g; | |
if (b.size !== a.size) a = !1; | |
else { | |
b = nb(b); | |
for (var c = b.next(); !c.done; c = b.next()) | |
if (!a.has(c.value)) { | |
a = !1; | |
break a | |
} a = !0 | |
} | |
} | |
else a = !1; | |
return a | |
}; | |
var aM = function(a, b, c) { | |
Z.call(this, a); | |
this.h = b; | |
this.j = c | |
}; | |
B(aM, Z); | |
var bM = function(a, b) { | |
aM.call(this, a, b, !1) | |
}; | |
B(bM, aM); | |
bM.prototype.S = function() { | |
aM.prototype.S.call(this); | |
var a = this.v.get(Mk).i; | |
a = "https://ssl.gstatic.com/chrome/webstore/images/" + (4 === this.v.get(Lk).g ? a ? "educational_header_icon_laptop568.png" : "educational_header_icon_laptop284.png" : a ? "educational_header_icon_laptop376.png" : "educational_header_icon_laptop188.png"); | |
var b = mz(this.v.get(O), "/webstore/category/collection/for_your_desktop"); | |
Nq(this.i, this.s(), cJ, { | |
imageUrl: a, | |
url: b | |
}); | |
a = this.h; | |
b = new aD; | |
if (b.isAvailable()) { | |
var c = "webstore-educational-header-views-" + | |
a.g, | |
d = parseInt(b.get(c), 10); | |
d = isNaN(d) ? 1 : d + 1; | |
b.set(c, d.toString()); | |
cM(a, "showing"); | |
5 <= d && cM(a, "max_views_reached") | |
} | |
}; | |
bM.prototype.O = function() { | |
aM.prototype.O.call(this); | |
this.B().listen(U(this, "a-Qb-Tb-ea-o-c"), "click", this.o) | |
}; | |
bM.prototype.o = function() { | |
var a = this.h, | |
b = new aD; | |
b.isAvailable() && (b.set("webstore-educational-header-isdismissed-" + a.g, "1"), cM(a, "dismissed")); | |
a = new qD; | |
a.add(new ua(this.s(), .25, { | |
opacity: 1 | |
}, { | |
opacity: 0 | |
}, { | |
Bb: "opacity", | |
duration: .25, | |
timing: "ease-in", | |
delay: 0 | |
})); | |
a.add(new ua(this.s(), .15, { | |
height: "400px" | |
}, { | |
height: "0" | |
}, [{ | |
Bb: "all", | |
duration: .15, | |
timing: "ease-out", | |
delay: 0 | |
}])); | |
a.play() | |
}; | |
var dM = function(a, b) { | |
aM.call(this, a, b, !0) | |
}; | |
B(dM, aM); | |
dM.prototype.S = function() { | |
aM.prototype.S.call(this); | |
var a = "https://ssl.gstatic.com/chrome/webstore/images/" + (this.v.get(Mk).i ? "educational_header_unicorn_x2.png" : "educational_header_unicorn.png"); | |
Nq(this.i, this.s(), dJ, { | |
imageUrl: a | |
}) | |
}; | |
dM.prototype.O = function() { | |
aM.prototype.O.call(this) | |
}; | |
var eM = function(a, b) { | |
this.i = a; | |
this.g = b; | |
a.get(zk); | |
this.h = a.get(Ek) | |
}, | |
cM = function(a, b) { | |
Yn(0, "webstore.CategoryEducationalHeader", a.g, b, void 0, !0) | |
}, | |
fM = function(a) { | |
if (!a.i.get(yb).ab) return null; | |
switch (a.g) { | |
case "apps": | |
if (!V(a.h, "aph")) return null; | |
var b = new bM(a.i, a); | |
break; | |
case "sitelists": | |
b = new dM(a.i, a); | |
break; | |
default: | |
return null | |
} | |
var c; | |
if (c = b) | |
if (b.j) c = !1; | |
else { | |
var d = new aD; | |
d.isAvailable() ? (c = parseInt(d.get("webstore-educational-header-views-" + a.g), 10), d = !!d.get("webstore-educational-header-isdismissed-" + | |
a.g), c = 5 <= c || d) : c = !1 | |
} return c ? (cM(a, "hidden"), null) : b | |
}; | |
var gM = function(a, b, c) { | |
Z.call(this, a); | |
this.j = b; | |
this.h = c | |
}; | |
B(gM, Z); | |
gM.prototype.S = function() { | |
Z.prototype.S.call(this); | |
Nq(this.i, this.s(), bJ, { | |
No: this.j.displayName, | |
Gi: this.h.Gi, | |
backgroundColor: this.h.backgroundColor, | |
rk: this.h.rk, | |
textShadow: this.h.textShadow, | |
backgroundImage: this.h.backgroundImage | |
}) | |
}; | |
var hM = function(a, b, c, d, e) { | |
this.Gi = a; | |
this.backgroundColor = b; | |
this.rk = c; | |
this.backgroundImage = e; | |
this.textShadow = d | |
}, | |
jM = function(a, b) { | |
if (b.get(yb).Oa) { | |
if (!iM) { | |
b = b.get(Mk); | |
var c = {}; | |
c.recommended = new hM("Apps we think you will like", "#ffffff", "#000000", 2, "https://ssl.gstatic.com/chrome/webstore/images/" + (b.i ? "collection_header_recommended1400.png" : "collection_header_recommended700.png")); | |
c.drive_apps = new hM("Discover apps that work with Google Drive.", "#d5dfec", "#098f52", 2, "https://ssl.gstatic.com/chrome/webstore/images/" + | |
(b.i ? "collection_header_drive_apps1400.jpg" : "collection_header_drive_apps700.jpg")); | |
c.offline_enabled = new hM("Use these apps even without an Internet connection.", "#88a6b7", "#eaebec", 2, "https://ssl.gstatic.com/chrome/webstore/images/collection_header_offline_enabled700.jpg"); | |
iM = c | |
} | |
a = iM[a] | |
} else a = null; | |
return a | |
}, | |
iM = null; | |
var kM = function(a, b, c) { | |
b = c || b; | |
a = a.item && (a.item.K || a.item); | |
return y('<div class="' + x("h-l-Jd-x-De") + '"></div><a class="' + x("h-l-Ac") + '" href="' + x(S(Pi(a))) + '" title="' + x(FC({ | |
item: a | |
}, b)) + '"><div class="' + x("h-l-d-x") + " " + x("h-La-qg-qf") + " " + x("La-l") + '"><div class="' + x("La-l-u-x") + '">' + R("s", !1)({ | |
item: a | |
}, b) + '<div class="' + x("La-l-u-L-x") + '"><div class="' + x("l-w") + '">' + A(a.getTitle()) + '</div><div class="' + x("l-va") + '">' + OI({ | |
item: a, | |
fc: 5 != aa(a), | |
ui: "La-nc" | |
}, b) + '</div><div class="' + x("l-pa") + '">' + A(Ii(a)) + | |
'</div></div></div><div class="' + x("h-d-l-Ra-c") + " " + x("d-l-Ra-c") + '"></div></div></a>') | |
}; | |
Q("s", 0, function(a) { | |
return y(KH({ | |
item: a.item && (a.item.K || a.item), | |
N: "l-A" | |
})) | |
}); | |
var lM = function(a, b) { | |
EJ.call(this, a, "marquee"); | |
this.o = b | |
}; | |
B(lM, EJ); | |
f = lM.prototype; | |
f.ce = function() { | |
var a = this.D(); | |
return Mq(this.i, kM, { | |
item: a | |
}) | |
}; | |
f.O = function() { | |
EJ.prototype.O.call(this); | |
JJ(this) | |
}; | |
f.de = function() { | |
var a = U(this, "h-La-qg-qf"); | |
return a ? new wJ(a, [0, mM], 350, pK) : new kD([0, 0], [0, 0], 0) | |
}; | |
f.be = function() { | |
var a = U(this, "h-La-qg-qf"); | |
return a ? new wJ(a, [0, nM], 100, oK) : new kD([0, 0], [0, 0], 0) | |
}; | |
f.Mj = function() { | |
return this.o | |
}; | |
var mM = 180, | |
nM = 280; | |
var pM = function(a, b) { | |
cK.call(this, a, oM, 525, !1); | |
this.ta = this.v.get(Lk); | |
this.h = b; | |
this.J = Array(this.h.length); | |
for (a = 0; a < this.J.length; a++) this.J[a] = !1; | |
this.o = Array(this.h.length); | |
for (a = 0; a < this.h.length; a++) { | |
b = this.o; | |
var c = a, | |
d = a, | |
e = new HK(this.v, this.h[a], "marquee"); | |
e.aa = d; | |
b[c] = e | |
} | |
this.da = []; | |
this.X = 0 | |
}; | |
B(pM, cK); | |
pM.prototype.S = function() { | |
cK.prototype.S.call(this); | |
Nq(this.i, this.s(), aJ, { | |
ra: this.h | |
}); | |
for (var a = Hr(this, "i-da"), b = 0; b < a.length; b++) { | |
var c = a[b].getAttribute("slideIndex"); | |
c && (a[b].ka = this.h[parseInt(c, 10)]); | |
c = null == c ? null : this.o[Number(c)]; | |
this.B().listen(a[b], "mouseover", D(this.Ea, this, a[b], c)); | |
c && this.B().listen(a[b], "mouseup", D(c.H, c)); | |
Xm(this.g, "h-a-d-Ea-k", a[b]) && (c = new mK(this.v, a[b].ka, "a-La-A-Ea"), Vr(this, c, "h-a-d-Ea-k", a[b]), this.da.push(c)) | |
} | |
}; | |
pM.prototype.O = function() { | |
cK.prototype.O.call(this); | |
var a = this.s(), | |
b = mr(a).y; | |
a = Vb(a).height; | |
this.X = b + a; | |
b = U(this, "i-k"); | |
b.setAttribute("role", "grid"); | |
a = U(this, "i-F-Rb-k"); | |
a.setAttribute("role", "row"); | |
a = nb(a.querySelectorAll("a")); | |
for (var c = a.next(); !c.done; c = a.next()) c.value.setAttribute("role", "gridcell"); | |
dc(b); | |
b = this.v.get(O); | |
this.B().listen(b, "installed_status_change", this.xa); | |
qM(this, 0); | |
rM(this, 1) | |
}; | |
var rM = function(a, b) { | |
var c = Hr(a, "i-da"); | |
(a = a.s().querySelector('[role=gridcell][tabindex="0"]')) && a.setAttribute("tabindex", "-1"); | |
c[b] && c[b].querySelector("a") && c[b].querySelector("a").setAttribute("tabindex", "0") | |
}; | |
pM.prototype.Xk = function() { | |
return !(0 < this.ta.h) && $m(this.g).y < this.X | |
}; | |
var qM = function(a, b) { | |
a.o[b] && !a.J[b] && (JK(a.o[b]), a.J[b] = !0) | |
}; | |
pM.prototype.tg = function(a, b, c) { | |
cK.prototype.tg.call(this, a, b, c); | |
$m(this.g).y < this.X && qM(this, parseInt(b[c].getAttribute("slideIndex"), 10)); | |
rM(this, c) | |
}; | |
var sM = function(a, b) { | |
a.o.forEach(function(c) { | |
c && (c.i = b) | |
}) | |
}; | |
pM.prototype.Ea = function(a, b) { | |
FJ(new lM(this.v, b), a) | |
}; | |
pM.prototype.xa = function() { | |
var a = this.v.get(O); | |
this.h.forEach(function(b) { | |
Qz(a, b) | |
}); | |
this.da.forEach(function(b) { | |
nK(b) | |
}) | |
}; | |
var oM = 710; | |
var tM = { | |
jd: CD | |
}, | |
uM = function(a, b, c, d, e) { | |
FL.call(this, a); | |
this.Oa = a.get(O); | |
this.H = b; | |
this.ca = c; | |
this.La = d; | |
this.J = e | |
}; | |
B(uM, FL); | |
uM.prototype.uc = function(a, b, c) { | |
var d = this, | |
e = new tM.jd(this.v, this.H, this.J.i, this.J.w, this.J.j, this.configuration.ea && "popular" !== this.H.g && "trending" !== this.H.g && "packaged_apps" !== this.H.g && "for_your_domain" !== this.H.g && "collection" !== this.H.h && 0 === this.J.i, this.J.u, void 0, this.J.g); | |
c || (this.Oa.w = e); | |
var g = new oL(this.v, e.ic(), new nL(this.La)); | |
this.o = g; | |
var h = this.Jd(); | |
c = qL(g, h, this.La); | |
e.Rh(e.ic(), c, function() { | |
d.da = e.hh(); | |
var k = e.Pj(); | |
k && (d.ca = new hM(l(k, 4), l(k, 3), l(k, 2), l(k, 5), l(k, 1))); | |
CL(g, h, a, | |
b) | |
}, b, !0) | |
}; | |
uM.prototype.j = function() { | |
if (null != this.ca) return [new gM(this.v, this.H, this.ca)]; | |
var a = [], | |
b = fM(new eM(this.v, this.H.id)); | |
b && a.push(b); | |
this.da && 3 <= this.da.length && (this.h = new pM(this.v, this.da), a.push(this.h)); | |
return a | |
}; | |
var vM = function(a) { | |
var b = Hm(a.h.s()), | |
c = a.h.s().parentNode; | |
a.removeChild(a.h); | |
a.h.dispose(); | |
a.h = new pM(a.v, a.da); | |
a.Ie(a.h, 0); | |
b ? Kr(a.h, b.parentNode, b) : a.h.render(c) | |
}; | |
uM.prototype.U = function(a) { | |
FL.prototype.U.call(this, a); | |
if (this.h) { | |
var b = this.h.h.find(function(c) { | |
return c.Z() === a | |
}); | |
b && (Qz(this.Oa, b), vM(this)) | |
} | |
}; | |
uM.prototype.h = null; | |
var wM = function(a, b, c, d) { | |
uM.call(this, a, b, null, c, d) | |
}; | |
B(wM, uM); | |
wM.prototype.Ve = function(a) { | |
var b; | |
0 < a.length && (b = a[0].D()) && (b = b.nd(), this.ca = b = 36 === b ? new hM("Based on your browsing activity.", "#ffc400", "#994100", 2, "http://lh3.googleusercontent.com/GLpyoJZaZCJwBbmWo9BRFvOxGBMCw9XAoBgN60rUvrM62d0GyHFHWdBjLVw_GDoV0T-9sYe6GD4") : 37 === b ? new hM("Based on your interests.", "#ffc400", "#994100", 2, "http://lh3.googleusercontent.com/GLpyoJZaZCJwBbmWo9BRFvOxGBMCw9XAoBgN60rUvrM62d0GyHFHWdBjLVw_GDoV0T-9sYe6GD4") : new hM("Extensions you might like.", "#ffc400", "#994100", 2, "http://lh3.googleusercontent.com/GLpyoJZaZCJwBbmWo9BRFvOxGBMCw9XAoBgN60rUvrM62d0GyHFHWdBjLVw_GDoV0T-9sYe6GD4")); | |
uM.prototype.Ve.call(this, a) | |
}; | |
var xM = function(a, b, c) { | |
AD.call(this); | |
this.j = a; | |
null != b && (this.g = b); | |
null != c && (this.i = !!c) | |
}; | |
B(xM, AD); | |
xM.prototype.Gj = function(a, b, c) { | |
var d = this.j; | |
a = D(d.ap, d, Math.floor(1.05 * a), b, c); | |
d.w.push(a); | |
yM(d) | |
}; | |
var zM = function(a, b, c) { | |
a.g = b; | |
null != c && (a.i = !!c) | |
}; | |
xM.prototype.ng = function() { | |
return "InfiniteSectionItemStream(" + this.j.o + ")" | |
}; | |
var AM = function(a, b, c) { | |
var d = this; | |
this.u = a; | |
this.h = this.u.get(O); | |
this.o = b; | |
this.j = void 0; | |
this.g = new jp; | |
c && qa(N(c, xi, 1), function(e) { | |
d.g.set(l(e, 1), !!hh(e, 5, !0)) | |
}); | |
this.w = []; | |
this.i = !1 | |
}, | |
BM = function(a, b, c, d) { | |
b = D(a.hp, a, b, c, d); | |
a.w.push(b); | |
yM(a) | |
}, | |
yM = function(a) { | |
0 < a.w.length && !a.i && (a.i = !0, Nn(a.w.shift())) | |
}; | |
f = AM.prototype; | |
f.hp = function(a, b, c) { | |
rz(this.h, a, this.j, D(this.Dp, this, b), D(this.Bm, this, c)) | |
}; | |
f.Dp = function(a, b) { | |
var c = b.getToken(); | |
c && (this.j = c); | |
c = N(b, Ij, 7); | |
null != c ? qa(c, function(g) { | |
var h = l(g, 1); | |
h = !mp(this.g, h) || this.g.get(h); | |
h = Vz(this.h, N(g, Ci, 2), h); | |
Jj(g, h) | |
}, this) : c = []; | |
var d = N(b, Ci, 1); | |
if (null != d && 0 < d.length) { | |
var e = new Ij; | |
M(e, 1, "infiniteWall"); | |
Jj(e, Vz(this.h, d)); | |
Kj(e, L(b, 2)); | |
c.push(e) | |
} | |
a(c); | |
this.i = !1; | |
yM(this) | |
}; | |
f.Bm = function(a) { | |
a && a(); | |
this.i = !1; | |
yM(this) | |
}; | |
f.ap = function(a, b, c) { | |
var d = new Yj; | |
M(d, 2, a); | |
M(d, 1, "infiniteWall"); | |
M(d, 3, 0); | |
a = !mp(this.g, "infiniteWall") || this.g.get("infiniteWall"); | |
M(d, 4, a); | |
a = new ak; | |
a.Ib(this.o); | |
ph(a, 1, [d]); | |
rz(this.h, a, this.j, D(this.Cp, this, b), D(this.Bm, this, c)) | |
}; | |
f.Cp = function(a, b) { | |
var c = b.getToken(); | |
c && (this.j = c); | |
c = N(b, Ci, 1); | |
var d = []; | |
null != c && (d = Vz(this.h, c)); | |
a(d, L(b, 2)); | |
this.i = !1; | |
yM(this) | |
}; | |
var CM = function(a, b, c, d, e, g) { | |
this.Ua = a; | |
this.i = b; | |
this.j = c; | |
this.g = d; | |
this.h = e; | |
this.w = g | |
}; | |
var EM = function(a, b, c, d) { | |
if (a.j) throw Error("yb"); | |
a.j = !0; | |
DM(a, b, D(function(e) { | |
this.j = !1; | |
c(e) | |
}, a), D(function() { | |
this.j = !1; | |
d() | |
}, a)) | |
}, | |
FM = function(a) { | |
return a.i < a.h.length | |
}, | |
DM = function(a, b, c, d) { | |
b = GM(a, b); | |
BM(a.H, b, D(function(e) { | |
var g = []; | |
qa(e, function(h) { | |
var k = l(h, 1); | |
h = HM(this, h); | |
this.g.get(zk); | |
h ? (g.push(h), Yn(0, this.u, "SectionShown", k, void 0, !0)) : Yn(0, this.u, "SectionDropped", k, void 0, !0); | |
k = this.L.get(k); | |
k >= this.i && (this.i = k + 1) | |
}, this); | |
c(g) | |
}, a), d) | |
}, | |
GM = function(a, b) { | |
for (var c = 0, d = []; c < b && FM(a);) { | |
var e = a.h[a.i], | |
g = 0; | |
if ("infiniteWall" == l(e, 1)) { | |
var h = b - c; | |
a.ma = h; | |
var k = qL(a.J, h, a.A) | |
} else k = IM(a, l(e, 3), a.o), h = k.i, k = k.g.length + 3, g = l(e, 3); | |
c += h; | |
h = new Yj; | |
var m = l(e, 1); | |
M(h, 1, m); | |
M(h, 2, k); | |
M(h, 3, g); | |
e = hh(e, 5, !0); | |
M(h, 4, e); | |
d.push(h); | |
a.i++ | |
} | |
b = new ak; | |
ph(b, 1, d); | |
b.Ib(a.U); | |
return b | |
}, | |
HM = function(a, b) { | |
var c = l(b, 1), | |
d = N(b, Ci, 2), | |
e = a.P.get(c); | |
if ("infiniteWall" == c) return zM(a.T, d, L(b, 5)), new CM(c, [], null, void 0, a.J); | |
if (10 == e) return 3 <= d.length ? (a = new pM(a.g, d), new CM(c, [], l(b, 4), a)) : null; | |
if (null == e) throw Error("Ab`" + c); | |
qa(d, function(g, | |
h) { | |
M(g, 14, h) | |
}); | |
return JM(a, b, e) | |
}, | |
JM = function(a, b, c) { | |
var d = IM(a, c, a.o), | |
e = new lL(a.g); | |
if (N(b, Ci, 2).length >= d.g.length && (d = e.render(N(b, Ci, 2), d.g, 0, 3, d.h), d.success)) return qa(d.zj, function(g) { | |
g = new HK(this.g, g, "wall"); | |
var h = l(b, 1); | |
g.i = h; | |
oH(g, 8) | |
}, a), 2 == c && (a.w = !a.w), new CM(l(b, 1), d.zg, l(b, 4), void 0, void 0, a.aa.get(l(b, 1))); | |
a: switch (c) { | |
case 2: | |
c = 1; | |
break a; | |
case 1: | |
c = 0; | |
break a; | |
case 0: | |
case 10: | |
case 3: | |
c = null; | |
break a; | |
default: | |
throw Error("Bb`" + c); | |
} | |
return null != c ? JM(a, b, c) : null | |
}, | |
IM = function(a, b, c) { | |
c = 4 == c; | |
switch (b) { | |
case 10: | |
return KM; | |
case 2: | |
return a.w ? c ? LM : MM : c ? NM : OM; | |
case 1: | |
return c ? PM : QM; | |
case 3: | |
return c ? RM : SM; | |
case 0: | |
return c ? TM : UM; | |
default: | |
throw Error("Cb`" + b); | |
} | |
}, | |
OM = new DL("Big left section block (3 col)", [{ | |
t: "BL", | |
W: 0 | |
}, { | |
t: "M", | |
W: 1 | |
}, { | |
t: "M", | |
W: 2 | |
}, { | |
t: "M", | |
W: 3 | |
}, { | |
t: "M", | |
W: 4 | |
}, { | |
t: "M", | |
W: 5 | |
}], 6, 1), | |
MM = new DL("Big right section block (3 col)", [{ | |
t: "M", | |
W: 0 | |
}, { | |
t: "BR", | |
W: 1 | |
}, { | |
t: "M", | |
W: 2 | |
}, { | |
t: "M", | |
W: 3 | |
}, { | |
t: "M", | |
W: 4 | |
}, { | |
t: "M", | |
W: 5 | |
}], 6, 1), | |
QM = new DL("Medium section block (3 col)", [{ | |
t: "M", | |
W: 0 | |
}, { | |
t: "M", | |
W: 1 | |
}, { | |
t: "M", | |
W: 2 | |
}, { | |
t: "M", | |
W: 3 | |
}, { | |
t: "M", | |
W: 4 | |
}, { | |
t: "M", | |
W: 5 | |
}], 4, 1), | |
SM = | |
new DL("Reviews section block (3 col)", [{ | |
t: "R", | |
W: 0 | |
}, { | |
t: "R", | |
W: 1 | |
}, { | |
t: "R", | |
W: 2 | |
}], 2, 1), | |
UM = new DL("Small section block (3 col)", [{ | |
t: "M", | |
W: 0 | |
}, { | |
t: "M", | |
W: 1 | |
}, { | |
t: "M", | |
W: 2 | |
}], 2, 1), | |
NM = new DL("Big left section block", [{ | |
t: "BL", | |
W: 0 | |
}, { | |
t: "M", | |
W: 1 | |
}, { | |
t: "M", | |
W: 2 | |
}, { | |
t: "M", | |
W: 3 | |
}, { | |
t: "M", | |
W: 4 | |
}], 4, 1), | |
LM = new DL("Big right section block", [{ | |
t: "M", | |
W: 0 | |
}, { | |
t: "M", | |
W: 1 | |
}, { | |
t: "BR", | |
W: 2 | |
}, { | |
t: "M", | |
W: 3 | |
}, { | |
t: "M", | |
W: 4 | |
}], 4, 1), | |
PM = new DL("Medium section block", [{ | |
t: "M", | |
W: 0 | |
}, { | |
t: "M", | |
W: 1 | |
}, { | |
t: "M", | |
W: 2 | |
}, { | |
t: "M", | |
W: 3 | |
}, { | |
t: "M", | |
W: 4 | |
}, { | |
t: "M", | |
W: 5 | |
}, { | |
t: "M", | |
W: 6 | |
}, { | |
t: "M", | |
W: 7 | |
}], | |
4, 1), | |
RM = new DL("Reviews section block", [{ | |
t: "R", | |
W: 0 | |
}, { | |
t: "R", | |
W: 1 | |
}, { | |
t: "R", | |
W: 2 | |
}, { | |
t: "R", | |
W: 3 | |
}], 2, 1), | |
TM = new DL("Small section block", [{ | |
t: "M", | |
W: 0 | |
}, { | |
t: "M", | |
W: 1 | |
}, { | |
t: "M", | |
W: 2 | |
}, { | |
t: "M", | |
W: 3 | |
}], 2, 1), | |
KM = new DL("Marquee section block", [{ | |
t: "M", | |
W: 0 | |
}, { | |
t: "M", | |
W: 1 | |
}, { | |
t: "M", | |
W: 2 | |
}, { | |
t: "M", | |
W: 3 | |
}], 2, 1); | |
var VM = function(a, b, c) { | |
Z.call(this, a); | |
this.u = l(b, 2); | |
this.h = l(b, 4); | |
this.o = l(b, 8); | |
this.j = null != c ? c : null; | |
a.get(zk); | |
this.A = a.get(Kb) | |
}; | |
B(VM, Z); | |
VM.prototype.S = function() { | |
Z.prototype.S.call(this); | |
var a = null; | |
this.h && (a = Jb(Is(this.h))); | |
a = { | |
title: this.u, | |
qs: a | |
}; | |
this.o && (a.subtitle = this.o); | |
Nq(this.i, this.s(), fJ, a) | |
}; | |
VM.prototype.O = function() { | |
Z.prototype.O.call(this); | |
this.h && this.B().listen(U(this, "a-K-o-y"), "click", this.H) | |
}; | |
VM.prototype.H = function(a) { | |
Yn(0, "webstore.StructuredWallLayout", "view_all_click", this.h, void 0, !1); | |
null != this.j && (qH(this.A, new us("category", this.h.split("/"), null, { | |
Zm: this.j | |
}), !0), a.preventDefault(), a.stopPropagation()) | |
}; | |
var WM = function(a) { | |
this.g = a | |
}; | |
WM.prototype.hh = function() { | |
return [] | |
}; | |
WM.prototype.Sh = function() { | |
return 0 | |
}; | |
WM.prototype.Pj = function() { | |
return null | |
}; | |
WM.prototype.Rh = function(a, b, c) { | |
this.Qj(a) ? (b = this.g.slice(a.g, Math.min(this.g.length, a.g + b)), a.g += b.length, c(b)) : c([]) | |
}; | |
var XM = function(a, b) { | |
a.g = a.g.concat(b) | |
}; | |
f = WM.prototype; | |
f.Qj = function(a) { | |
return a.g < this.g.length | |
}; | |
f.Qh = function(a) { | |
for (var b = 0; b < this.g.length; b++) | |
if (this.g[b].Z() == a) return b; | |
return -1 | |
}; | |
f.Em = function() { | |
return this.g | |
}; | |
f.ic = function() { | |
return new ry(this) | |
}; | |
f.ng = function() { | |
return "SynchronousItemStream()" | |
}; | |
var YM = { | |
vo: function(a, b, c, d, e) { | |
this.g = a; | |
this.h = N(c, xi, 1); | |
this.P = new jp; | |
qa(this.h, function(g) { | |
this.P.set(l(g, 1), l(g, 3)) | |
}, this); | |
this.L = new jp; | |
qa(this.h, function(g, h) { | |
this.L.set(l(g, 1), h) | |
}, this); | |
this.aa = new jp; | |
qa(this.h, function(g) { | |
l(g, 6) && this.aa.set(l(g, 1), l(g, 6) || "") | |
}, this); | |
this.U = d; | |
this.u = e; | |
this.o = this.g.get(Lk).g; | |
this.H = b; | |
this.T = new xM(this.H); | |
this.A = a.get(yb).Ef(this.o) ? "PREFER_BIG" : "PREFER_MEDIUM"; | |
this.J = new oL(this.g, this.T.ic(), new nL(this.A)); | |
this.ma = 0; | |
this.j = !1; | |
this.i = 0; | |
this.w = !1 | |
} | |
}, | |
ZM = function(a, | |
b, c) { | |
FL.call(this, a); | |
this.xh = a.get(O); | |
a.get(zk); | |
this.Oa = b; | |
this.ca = c; | |
this.La = new jp; | |
qa(N(this.Oa, xi, 1), function(d) { | |
this.La.set(l(d, 1), d) | |
}, this); | |
this.pd = new AM(this.v, this.ca, this.Oa); | |
this.J = new YM.vo(this.v, this.pd, this.Oa, this.ca, "webstore.StructuredWallLayout"); | |
this.mb = !1; | |
this.H = []; | |
this.da = new WM([]) | |
}; | |
B(ZM, FL); | |
ZM.prototype.uc = function(a, b) { | |
this.xh.w = this.da; | |
EM(this.J, this.Jd(), D(function(c) { | |
this.H = c; | |
a([], !1) | |
}, this), b) | |
}; | |
ZM.prototype.Ve = function() { | |
var a = this.j(); | |
a && a.length && NL(this, [], this.j()); | |
$M(this, this.H, $c); | |
Yn(0, "webstore.StructuredWallLayout", "wall_shown", void 0, void 0, !0) | |
}; | |
ZM.prototype.j = function() { | |
var a = [], | |
b = fM(new eM(this.v, this.ca)); | |
b && a.push(b); | |
return a | |
}; | |
ZM.prototype.bb = function(a, b) { | |
FM(this.J) ? EM(this.J, 40, D(function(c) { | |
this.ya() || $M(this, c, a) | |
}, this), b) : null != this.h && pL(this.h) ? aN(this, a, b) : a() | |
}; | |
var $M = function(a, b, c) { | |
for (var d = {}, e = 0; e < b.length; d = { | |
Nb: d.Nb | |
}, e++) { | |
d.Nb = b[e]; | |
var g = a.La.get(d.Nb.Ua); | |
null != g && (null != d.Nb.g ? (sM(d.Nb.g, d.Nb.Ua), NL(a, [], a.ab(d.Nb, g)), XM(a.da, d.Nb.g.h)) : null != d.Nb.h ? a.h = d.Nb.h : (qa(d.Nb.i, function(h) { | |
return function(k) { | |
var m = h.Nb; | |
m = m.w || m.Ua; | |
k.j && (k.j.i = m) | |
} | |
}(d)), g = new VM(a.v, g, d.Nb.j), NL(a, d.Nb.i, [g]), bN(a, d.Nb.i))) | |
} | |
c() | |
}; | |
ZM.prototype.ab = function(a, b) { | |
return [new VM(this.v, b, a.j), a.g] | |
}; | |
var aN = function(a, b, c) { | |
CL(a.h, 40, D(function(d) { | |
if (!this.ya()) { | |
qa(d, function(h) { | |
h.j && (h.j.i = "infiniteWall") | |
}); | |
if (this.mb) NL(this, d); | |
else { | |
var e = this.La.get("infiniteWall"), | |
g = []; | |
if (1 != this.H.length || "infiniteWall" != this.H[0].Ua) g = [new VM(this.v, e)]; | |
NL(this, d, g); | |
this.mb = !0 | |
} | |
bN(this, d); | |
b() | |
} | |
}, a), c) | |
}; | |
ZM.prototype.lg = function() { | |
return FM(this.J) || null != this.h && pL(this.h) | |
}; | |
var bN = function(a, b) { | |
b = ud(b, function(c) { | |
return c.D() | |
}, a); | |
XM(a.da, b) | |
}; | |
var cN = function(a, b) { | |
ZL.call(this, b); | |
this.g = a | |
}; | |
B(cN, ZL); | |
f = cN.prototype; | |
f.dd = function(a) { | |
if (this.g.w && 0 === this.i.g.length) return new ZM(a, this.g.w, this.g.id); | |
if ("recommended_extensions" === this.g.g) return new wM(a, this.g, "PREFER_MEDIUM", this.i); | |
var b = "recommended_extensions" === this.g.g || "collection" === this.g.h ? jM(this.g.g, a) : null; | |
var c = a.get(yb); | |
var d = a.get(Lk).g; | |
c = "collection/accessibility" === this.g.id ? "WIDE" : "popular" !== this.g.g && "trending" !== this.g.g && "themes" !== this.g.g && c.Ef(d) ? "PREFER_BIG" : "PREFER_MEDIUM"; | |
return new uM(a, this.g, b, c, this.i) | |
}; | |
f.df = function() { | |
return this.g | |
}; | |
f.Od = function(a) { | |
return null != a && a instanceof cN ? this.g.id === a.g.id && js(this.i, a.i) : !1 | |
}; | |
f.Ph = function() { | |
return "Chrome Web Store - " + this.g.displayName | |
}; | |
f.Ii = function(a) { | |
return new cN(this.df(), a) | |
}; | |
f.Ch = function() { | |
return !dN.has(this.g.id) | |
}; | |
var dN = new Set(["from_your_circles", "recommended_for_you"]); | |
var eN = function(a, b, c, d) { | |
ZL.call(this, d); | |
this.h = a; | |
this.j = b; | |
this.w = c; | |
d = "collection/" + a; | |
var e = new Ai; | |
M(e, 1, d); | |
a: switch (a) { | |
case "drive_apps": | |
var g = "Google Drive apps"; | |
break a; | |
case "offline_enabled": | |
g = "Offline apps"; | |
break a; | |
default: | |
g = "" | |
} | |
M(e, 2, g); | |
M(e, 3, a); | |
M(e, 4, "collection"); | |
this.g = new ls(e); | |
this.o = qs(c, d) || b | |
}; | |
B(eN, ZL); | |
f = eN.prototype; | |
f.dd = function(a) { | |
var b = a.get(yb), | |
c = jM(this.h, a) || null, | |
d = a.get(Lk).g; | |
b = "file_handlers" == this.h ? "WIDE" : b.Ef(d) ? "PREFER_BIG" : "PREFER_MEDIUM"; | |
return new uM(a, this.g, c, b, this.i) | |
}; | |
f.df = function() { | |
return this.o | |
}; | |
f.Od = function(a) { | |
return null != a && a instanceof eN && a.g.id == this.g.id && js(a.i, this.i) | |
}; | |
f.Ii = function(a) { | |
return new eN(this.h, this.j, this.w, a) | |
}; | |
f.Ch = function() { | |
return !0 | |
}; | |
var fN = function() { | |
return y('<span class="' + x("g-aa-ca-c") + '"><span class="' + x("g-aa-ca-w") + '"></span><span class="' + x("U-H") + '"></span></span>') | |
}, | |
gN = function(a) { | |
var b = a.content; | |
a = a.Tp; | |
return y('<div class="' + x("g-aa-ca-ma-x-L-qi-H") + '"><div class="' + x("g-aa-ca-ma-x-L") + '">' + A(b) + '</div><div class="' + x("g-aa-ca-ma-x-H") + '">' + (a ? '<div class="' + x("g-aa-ca-ma-x-H-A") + '"></div>' : "") + "</div></div>") | |
}; | |
var hN = function() {}; | |
E(hN, ZD); | |
ad(hN); | |
f = hN.prototype; | |
f.S = function(a) { | |
var b = QD(this, a); | |
b = a.g.S("DIV", "ga-dd-Va " + b.join(" "), this.Kf(a.getContent(), a.g)); | |
this.Cd(b, a.Zc()); | |
return b | |
}; | |
f.je = function() { | |
return "button" | |
}; | |
f.Wb = function(a) { | |
return a && a.firstChild && a.firstChild.firstChild | |
}; | |
f.Kf = function(a, b) { | |
return b.S("DIV", "ga-dd-Va " + (this.Ga() + "-qk-ib"), b.S("DIV", "ga-dd-Va " + (this.Ga() + "-dh-ib"), a)) | |
}; | |
f.cb = function(a) { | |
return "DIV" == a.tagName | |
}; | |
f.gb = function(a, b) { | |
iN(b, !0); | |
iN(b, !1); | |
a: { | |
var c = a.g.Dl(b); | |
var d = this.Ga() + "-qk-ib"; | |
if (c && $t(c, d) && (c = a.g.Dl(c), d = this.Ga() + "-dh-ib", c && $t(c, d))) { | |
c = !0; | |
break a | |
} | |
c = !1 | |
} | |
c || b.appendChild(this.Kf(b.childNodes, a.g)); | |
au(b, ["ga-dd-Va", this.Ga()]); | |
return hN.M.gb.call(this, a, b) | |
}; | |
f.Ga = function() { | |
return "goog-custom-button" | |
}; | |
var iN = function(a, b) { | |
if (a) | |
for (var c = b ? a.firstChild : a.lastChild, d; c && c.parentNode == a;) { | |
d = b ? c.nextSibling : c.previousSibling; | |
if (3 == c.nodeType) { | |
var e = c.nodeValue; | |
if ("" == $d(e)) a.removeChild(c); | |
else { | |
c.nodeValue = b ? e.replace(/^[\s\xa0]+/, "") : e.replace(/[\s\xa0]+$/, ""); | |
break | |
} | |
} else break; | |
c = d | |
} | |
}; | |
var jN = function() {}; | |
E(jN, hN); | |
ad(jN); | |
jN.prototype.Wb = function(a) { | |
return jN.M.Wb.call(this, a && a.firstChild) | |
}; | |
jN.prototype.gb = function(a, b) { | |
var c = lm(document, "*", "ga-M", b)[0]; | |
if (c) { | |
T(c, !1); | |
im(c).body.appendChild(c); | |
var d = new RF; | |
Lr(d, c); | |
a.le(d) | |
} | |
return jN.M.gb.call(this, a, b) | |
}; | |
jN.prototype.Kf = function(a, b) { | |
return jN.M.Kf.call(this, [b.S("DIV", "ga-dd-Va " + (this.Ga() + "-wi"), a), b.S("DIV", "ga-dd-Va " + (this.Ga() + "-aa"), "\u00a0")], b) | |
}; | |
jN.prototype.Ga = function() { | |
return "ga-M-c" | |
}; | |
var kN = function() { | |
this.g = [] | |
}; | |
E(kN, nF); | |
ad(kN); | |
kN.prototype.S = function(a) { | |
var b = kN.M.S.call(this, a); | |
W(b, "ga-wd"); | |
lN(this, a, b); | |
return b | |
}; | |
kN.prototype.gb = function(a, b) { | |
b = kN.M.gb.call(this, a, b); | |
W(b, "ga-wd"); | |
lN(this, a, b); | |
var c = lm(document, "DIV", "ga-M", b); | |
if (c.length) { | |
var d = new RF(a.g); | |
c = c[0]; | |
T(c, !1); | |
a.g.g.body.appendChild(c); | |
Lr(d, c); | |
mN(a, d) | |
} | |
return b | |
}; | |
kN.prototype.setContent = function(a, b) { | |
var c = this.Wb(a), | |
d = c && c.lastChild; | |
kN.M.setContent.call(this, a, b); | |
d && c.lastChild != d && $t(d, "ga-wd-H") && c.appendChild(d) | |
}; | |
kN.prototype.mh = function(a) { | |
kN.M.mh.call(this, a); | |
var b = a.Dc(), | |
c = lm(a.g.g, "SPAN", "ga-wd-H", b)[0]; | |
nN(a, c); | |
c != b.lastChild && b.appendChild(c); | |
a = a.s(); | |
KD(a, "haspopup", "true") | |
}; | |
var lN = function(a, b, c) { | |
var d = b.g.S("SPAN"); | |
d.className = "ga-wd-H"; | |
nN(b, d); | |
a.Wb(c).appendChild(d) | |
}, | |
nN = function(a, b) { | |
Pr(a) ? (W(b, "ga-wd-H-Ma"), Xb(b, "\u25c4")) : (bu(b, "ga-wd-H-Ma"), Xb(b, "\u25ba")) | |
}; | |
var oN = function(a, b, c, d) { | |
PF.call(this, a, b, c, d || kN.Fa()) | |
}; | |
E(oN, PF); | |
f = oN.prototype; | |
f.Mf = null; | |
f.lk = null; | |
f.Hj = !1; | |
f.ob = null; | |
f.ah = !1; | |
f.O = function() { | |
oN.M.O.call(this); | |
this.B().listen(this.getParent(), "hide", this.Om); | |
this.ob && pN(this, this.ob, !0) | |
}; | |
f.qa = function() { | |
this.B().Aa(this.getParent(), "hide", this.Om); | |
this.ob && (pN(this, this.ob, !1), this.ah || (this.ob.qa(), Dm(this.ob.s()))); | |
oN.M.qa.call(this) | |
}; | |
f.V = function() { | |
this.ob && !this.ah && this.ob.dispose(); | |
this.ob = null; | |
oN.M.V.call(this) | |
}; | |
f.Cb = function(a) { | |
oN.M.Cb.call(this, a); | |
a || (this.Mf && On(this.Mf), this.Mf = Nn(this.md, 218, this)) | |
}; | |
f.oi = function() { | |
var a = this.getParent(); | |
a && GF(a) == this && (qN(this, !0), rN(this)) | |
}; | |
f.md = function() { | |
var a = this.ob; | |
a && a.getParent() == this && (qN(this, !1), Mr(a, function(b) { | |
"function" == typeof b.md && b.md() | |
})) | |
}; | |
var sN = function(a) { | |
a.Mf && On(a.Mf); | |
a.lk && On(a.lk) | |
}; | |
oN.prototype.ja = function(a, b) { | |
(a = oN.M.ja.call(this, a, b)) && !this.isVisible() && this.md(); | |
return a | |
}; | |
var rN = function(a) { | |
Mr(a.getParent(), function(b) { | |
b != this && "function" == typeof b.md && (b.md(), sN(b)) | |
}, a) | |
}; | |
f = oN.prototype; | |
f.Xb = function(a) { | |
var b = a.keyCode, | |
c = Pr(this) ? 37 : 39, | |
d = Pr(this) ? 39 : 37; | |
if (!this.Hj) { | |
if (!this.isEnabled() || b != c && 13 != b && b != this.Jj) return !1; | |
this.oi(); | |
HF(tN(this)); | |
sN(this) | |
} else if (!tN(this).Xb(a)) | |
if (b == d) this.md(); | |
else return !1; | |
a.preventDefault(); | |
return !0 | |
}; | |
f.er = function() { | |
this.ob.getParent() == this && (sN(this), this.Oe().Cb(this), rN(this)) | |
}; | |
f.Om = function(a) { | |
a.target == this.Oe() && (this.md(), sN(this)) | |
}; | |
f.qd = function(a) { | |
this.isEnabled() && (sN(this), this.lk = Nn(this.oi, 218, this)); | |
oN.M.qd.call(this, a) | |
}; | |
f.Ob = function(a) { | |
sN(this); | |
if (VD(this, 8) || VD(this, 16)) return oN.M.Ob.call(this, a); | |
this.oi(); | |
return !0 | |
}; | |
var qN = function(a, b) { | |
!b && tN(a) && tN(a).Jc(-1); | |
a.dispatchEvent(Fr(64, b)); | |
var c = tN(a); | |
b != a.Hj && X(a.s(), "ga-wd-Yc", b); | |
if (b != c.isVisible() && (b && (c.za || c.render(), c.Jc(-1)), c.ja(b), b)) { | |
c = new SF(a.s(), 12, !1); | |
var d = tN(a), | |
e = d.s(); | |
d.isVisible() || (e.style.visibility = "hidden", T(e, !0)); | |
c.g(e, 8); | |
d.isVisible() || (T(e, !1), e.style.visibility = "visible") | |
} | |
a.Hj = b | |
}, | |
pN = function(a, b, c) { | |
var d = a.B(); | |
(c ? d.listen : d.Aa).call(d, b, "enter", a.er) | |
}, | |
tN = function(a) { | |
a.ob ? a.ah && a.ob.getParent() != a && Jr(a.ob, a) : mN(a, new RF(a.g)); | |
a.ob.s() || | |
a.ob.S(); | |
return a.ob | |
}, | |
mN = function(a, b) { | |
var c = a.ob; | |
b != c && (c && (a.md(), a.za && pN(a, c, !1)), a.ob = b, a.ah = !1, b && (Jr(b, a), b.ja(!1, !0), b.Df = !1, LF(b, !1), a.za && pN(a, b, !0))) | |
}; | |
oN.prototype.Tc = function(a) { | |
return tN(this).Tc(a) | |
}; | |
aE("ga-wd", function() { | |
return new oN(null) | |
}); | |
var uN = function(a, b, c, d, e) { | |
xE.call(this, a, c || jN.Fa(), d); | |
this.kb(64, !0); | |
this.j = new UF(null, 9); | |
b && this.le(b); | |
this.u = new Mn(500); | |
!Tg && !Ug || Ng("533.17.9") || (this.Dh = !0); | |
this.xa = e || AF.Fa() | |
}; | |
E(uN, xE); | |
f = uN.prototype; | |
f.Dh = !1; | |
f.Xm = !1; | |
f.O = function() { | |
uN.M.O.call(this); | |
vN(this, !0); | |
this.i && wN(this, this.i, !0); | |
KD(this.ba, "haspopup", !!this.i) | |
}; | |
f.qa = function() { | |
uN.M.qa.call(this); | |
vN(this, !1); | |
if (this.i) { | |
this.Ma(!1); | |
this.i.qa(); | |
wN(this, this.i, !1); | |
var a = this.i.s(); | |
a && Dm(a) | |
} | |
}; | |
f.V = function() { | |
uN.M.V.call(this); | |
this.i && (this.i.dispose(), delete this.i); | |
delete this.Ka; | |
this.u.dispose() | |
}; | |
f.ke = function(a) { | |
uN.M.ke.call(this, a); | |
WD(this, 4) && (this.Ma(!WD(this, 64), a), this.i && (this.i.Gc = WD(this, 64))) | |
}; | |
f.rd = function(a) { | |
uN.M.rd.call(this, a); | |
this.i && !WD(this, 4) && (this.i.Gc = !1) | |
}; | |
f.Ob = function() { | |
pE(this, !1); | |
return !0 | |
}; | |
f.xp = function(a) { | |
this.i && this.i.isVisible() && !this.Tc(a.target) && this.Ma(!1) | |
}; | |
f.Tc = function(a) { | |
return a && Jm(this.s(), a) || this.i && this.i.Tc(a) || !1 | |
}; | |
f.Ec = function(a) { | |
if (32 == a.keyCode) { | |
if (a.preventDefault(), "keyup" != a.type) return !0 | |
} else if ("key" != a.type) return !1; | |
if (this.i && this.i.isVisible()) { | |
var b = 13 == a.keyCode || 32 == a.keyCode, | |
c = this.i.Xb(a); | |
return c && this.i && this.i.jb instanceof oN || 27 != a.keyCode && !b ? c : (this.Ma(!1), !0) | |
} | |
return 40 == a.keyCode || 38 == a.keyCode || 32 == a.keyCode || 13 == a.keyCode ? (this.Ma(!0, a), !0) : !1 | |
}; | |
f.kj = function() { | |
this.Ma(!1) | |
}; | |
f.Gp = function() { | |
WD(this, 4) || this.Ma(!1) | |
}; | |
f.nh = function(a) { | |
this.Dh || this.Ma(!1); | |
uN.M.nh.call(this, a) | |
}; | |
var xN = function(a) { | |
a.i || a.le(new RF(a.g, a.xa)); | |
return a.i || null | |
}; | |
uN.prototype.le = function(a) { | |
var b = this.i; | |
if (a != b && (b && (this.Ma(!1), this.za && wN(this, b, !1), delete this.i), this.za && KD(this.ba, "haspopup", !!a), a)) { | |
this.i = a; | |
Jr(a, this); | |
a.ja(!1); | |
var c = this.Dh; | |
(a.Df = c) && LF(a, !0); | |
this.za && wN(this, a, !0) | |
} | |
return b | |
}; | |
uN.prototype.qh = function(a) { | |
xN(this).ia(a, !0) | |
}; | |
var yN = function(a, b) { | |
return a.i ? Or(a.i, b) : null | |
}, | |
zN = function(a) { | |
return a.i ? Nr(a.i) : 0 | |
}; | |
uN.prototype.ja = function(a, b) { | |
(a = uN.M.ja.call(this, a, b)) && !this.isVisible() && this.Ma(!1); | |
return a | |
}; | |
uN.prototype.setEnabled = function(a) { | |
uN.M.setEnabled.call(this, a); | |
this.isEnabled() || this.Ma(!1) | |
}; | |
uN.prototype.Ma = function(a, b) { | |
uN.M.Ma.call(this, a); | |
if (this.i && WD(this, 64) == a) { | |
if (a) { | |
if (!this.i.za) | |
if (this.Xm) { | |
var c = Hm(this.s()); | |
c ? Kr(this.i, c.parentNode, c) : this.i.render(this.s().parentNode) | |
} else this.i.render(); | |
this.P = nr(this.s()); | |
this.ca = tr(this.s()); | |
AN(this); | |
!b || 40 != b.keyCode && 38 != b.keyCode ? this.i.Jc(-1) : HF(this.i) | |
} else { | |
pE(this, !1); | |
this.i.Gc = !1; | |
if (c = this.s()) KD(c, "activedescendant", ""), KD(c, "owns", ""); | |
null != this.H && (this.H = void 0, (c = this.i.s()) && rr(c, "", "")) | |
} | |
this.i.ja(a, !1, b); | |
this.ya() || (b = this.B(), | |
c = a ? b.listen : b.Aa, c.call(b, this.g.g, "mousedown", this.xp, !0), this.Dh && c.call(b, this.i, "blur", this.Gp), c.call(b, this.u, "tick", this.na), a ? this.u.start() : this.u.stop()) | |
} | |
this.i && this.i.s() && this.i.ba.removeAttribute("aria-hidden") | |
}; | |
var AN = function(a) { | |
if (a.i.za) { | |
var b = a.Ka || a.s(), | |
c = a.j; | |
a.j.i = b; | |
b = a.i.s(); | |
a.i.isVisible() || (b.style.visibility = "hidden", T(b, !0)); | |
!a.H && a.j.u && a.j.w & 32 && (a.H = Vb(b)); | |
c.g(b, c.j ^ 1, null, a.H); | |
a.i.isVisible() || (T(b, !1), b.style.visibility = "visible") | |
} | |
}; | |
uN.prototype.na = function() { | |
var a = tr(this.s()), | |
b = nr(this.s()); | |
var c = this.ca; | |
(c = !(c == a || c && a && c.left == a.left && c.width == a.width && c.top == a.top && c.height == a.height)) || (c = this.P, c = !(c == b || c && b && c.top == b.top && c.right == b.right && c.bottom == b.bottom && c.left == b.left)); | |
if (c) { | |
if (c = this.i.za && b && this.P) c = this.P, c = b.right - b.left < c.right - c.left; | |
c && (c = this.i.s(), this.i.isVisible() || (c.style.visibility = "hidden", T(c, !0)), ir(c, new cm(0, 0))); | |
this.ca = a; | |
this.P = b; | |
AN(this) | |
} | |
}; | |
var wN = function(a, b, c) { | |
var d = a.B(); | |
c = c ? d.listen : d.Aa; | |
c.call(d, b, "action", a.kj); | |
c.call(d, b, "close", a.ea); | |
c.call(d, b, "highlight", a.fa); | |
c.call(d, b, "unhighlight", a.ha) | |
}, | |
vN = function(a, b) { | |
var c = a.B(); | |
(b ? c.listen : c.Aa).call(c, a.s(), "keydown", a.ta) | |
}; | |
uN.prototype.fa = function(a) { | |
(a = a.target.s()) && BN(this, a) | |
}; | |
uN.prototype.ta = function(a) { | |
VD(this, 32) && this.s() && this.i && this.i.isVisible() && a.stopPropagation() | |
}; | |
uN.prototype.ha = function() { | |
if (!GF(this.i)) { | |
var a = this.s(); | |
KD(a, "activedescendant", ""); | |
KD(a, "owns", "") | |
} | |
}; | |
uN.prototype.ea = function(a) { | |
if (WD(this, 64) && a.target instanceof PF) { | |
a = a.target; | |
var b = a.s(); | |
a.isVisible() && WD(a, 2) && null != b && BN(this, b) | |
} | |
}; | |
var BN = function(a, b) { | |
a = a.s(); | |
var c = LD(b, "activedescendant"); | |
b = im(b).getElementById(c) || b; | |
b.id || (c = Wq.Fa(), b.id = ":" + (c.g++).toString(36)); | |
MD(a, b); | |
KD(a, "owns", b.id) | |
}; | |
aE("ga-M-c", function() { | |
return new uN(null) | |
}); | |
var DN = function(a) { | |
Sl.call(this); | |
this.g = []; | |
CN(this, a) | |
}; | |
E(DN, Sl); | |
DN.prototype.i = null; | |
var CN = function(a, b) { | |
b && (qa(b, function(c) { | |
EN(c, !1) | |
}, a), Ed(a.g, b)) | |
}, | |
FN = function(a, b, c) { | |
b && (EN(b, !1), Gd(a.g, c, 0, b)) | |
}, | |
GN = function(a) { | |
var b = a.i; | |
return b ? oa(a.g, b) : -1 | |
}; | |
DN.prototype.clear = function() { | |
var a = this.g; | |
if (!Array.isArray(a)) | |
for (var b = a.length - 1; 0 <= b; b--) delete a[b]; | |
a.length = 0; | |
this.i = null | |
}; | |
DN.prototype.V = function() { | |
DN.M.V.call(this); | |
delete this.g; | |
this.i = null | |
}; | |
var EN = function(a, b) { | |
a && "function" == typeof a.Kc && a.Kc(b) | |
}; | |
var HN = function(a, b, c, d, e) { | |
uN.call(this, a, b, c, d, e || new AF("listbox")); | |
this.U = this.getContent(); | |
this.X = null; | |
this.ai = "listbox" | |
}; | |
E(HN, uN); | |
f = HN.prototype; | |
f.Qa = null; | |
f.O = function() { | |
HN.M.O.call(this); | |
IN(this); | |
JN(this) | |
}; | |
f.oa = function(a) { | |
HN.M.oa.call(this, a); | |
(a = this.Xc()) ? (this.U = a, IN(this)) : KN(this) || LN(this, 0) | |
}; | |
f.V = function() { | |
HN.M.V.call(this); | |
this.Qa && (this.Qa.dispose(), this.Qa = null); | |
this.U = null | |
}; | |
f.kj = function(a) { | |
MN(this, a.target); | |
HN.M.kj.call(this, a); | |
a.stopPropagation(); | |
this.dispatchEvent("action") | |
}; | |
f.Mp = function() { | |
var a = KN(this); | |
HN.M.setValue.call(this, a && a.getValue()); | |
IN(this) | |
}; | |
f.le = function(a) { | |
var b = HN.M.le.call(this, a); | |
a != b && (this.Qa && this.Qa.clear(), a && (this.Qa ? Mr(a, function(c) { | |
NN(c); | |
var d = this.Qa; | |
FN(d, c, d.g.length) | |
}, this) : ON(this, a))); | |
return b | |
}; | |
f.qh = function(a) { | |
NN(a); | |
HN.M.qh.call(this, a); | |
if (this.Qa) { | |
var b = this.Qa; | |
FN(b, a, b.g.length) | |
} else ON(this, xN(this)); | |
PN(this) | |
}; | |
var MN = function(a, b) { | |
if (a.Qa) { | |
var c = KN(a), | |
d = a.Qa; | |
b != d.i && (EN(d.i, !1), d.i = b, EN(b, !0)); | |
d.dispatchEvent("select"); | |
b != c && a.dispatchEvent("change") | |
} | |
}, | |
LN = function(a, b) { | |
a.Qa && MN(a, a.Qa.g[b] || null) | |
}; | |
HN.prototype.setValue = function(a) { | |
if (null != a && this.Qa) | |
for (var b = 0, c; c = this.Qa.g[b] || null; b++) | |
if (c && "function" == typeof c.getValue && c.getValue() == a) { | |
MN(this, c); | |
return | |
} MN(this, null) | |
}; | |
HN.prototype.getValue = function() { | |
var a = KN(this); | |
return a ? a.getValue() : null | |
}; | |
var KN = function(a) { | |
return a.Qa ? a.Qa.i : null | |
}, | |
ON = function(a, b) { | |
a.Qa = new DN; | |
b && Mr(b, function(c) { | |
NN(c); | |
var d = this.Qa; | |
FN(d, c, d.g.length) | |
}, a); | |
JN(a) | |
}, | |
JN = function(a) { | |
a.Qa && a.B().listen(a.Qa, "select", a.Mp) | |
}, | |
IN = function(a) { | |
var b = KN(a); | |
a.setContent(b ? b.Xc() : a.U); | |
var c = a.Bc().Wb(a.s()); | |
c && a.g.Yp(c) && (null == a.X && (a.X = LD(c, "label")), b = (b = b ? b.s() : null) ? LD(b, "label") : a.X, KD(c, "label", b), PN(a)) | |
}, | |
PN = function(a) { | |
var b = a.Bc(); | |
if (b && (b = b.Wb(a.s()))) { | |
var c = a.ba; | |
b.id || (b.id = ":" + (Wq.Fa().g++).toString(36)); | |
JD(b, "option"); | |
KD(b, "selected", !0); | |
KD(c, "activedescendant", b.id); | |
a.Qa && (c = Dd(a.Qa.g), KD(b, "setsize", QN(c)), a = GN(a.Qa), KD(b, "posinset", 0 <= a ? QN(Fd(c, 0, a + 1)) : 0)) | |
} | |
}, | |
QN = function(a) { | |
return xd(a, function(b) { | |
return b instanceof PF | |
}) | |
}, | |
NN = function(a) { | |
a.ai = a instanceof PF ? "option" : "separator" | |
}; | |
HN.prototype.Ma = function(a, b) { | |
HN.M.Ma.call(this, a, b); | |
WD(this, 64) ? xN(this).Jc(this.Qa ? GN(this.Qa) : -1) : PN(this) | |
}; | |
aE("ga-ca", function() { | |
return new HN(null) | |
}); | |
var UN = function() { | |
HN.call(this, void 0, void 0, RN.Fa(), void 0, SN.Fa()); | |
this.le(new TN); | |
this.Xm = !0; | |
this.ai = "button"; | |
this.j.h && this.j.h(33) | |
}; | |
B(UN, HN); | |
UN.prototype.O = function() { | |
HN.prototype.O.call(this); | |
var a = this.s(); | |
this.B().listen(a, "keyup", function() { | |
W(a, "g-aa-ca-jg-Xc") | |
}); | |
this.B().listen(a, "mousedown", function() { | |
bu(a, "g-aa-ca-jg-Xc") | |
}) | |
}; | |
var ZN = function(a, b, c, d) { | |
var e = d && 0 < d.length; | |
b = Jq(gN, { | |
content: b, | |
Tp: e | |
}); | |
if (e) { | |
var g = new VN(b, c, null, WN.Fa()); | |
mN(g, new TN); | |
g.ik(!0); | |
g.hf(!1); | |
d.forEach(function(h) { | |
h = new XN(g, h.content, h.ac, null, YN.Fa()); | |
tN(g).ia(h, !0); | |
var k = a.Qa; | |
FN(k, h, k.g.length) | |
}); | |
a.qh(g) | |
} else c = new PF(b, c, null, WN.Fa()), a.qh(c) | |
}; | |
UN.prototype.Ma = function(a, b) { | |
HN.prototype.Ma.call(this, a, b); | |
WD(this, 64) && (a = KN(this), a instanceof XN && (a = a.i), xN(this).Cb(a)) | |
}; | |
UN.prototype.clear = function() { | |
xN(this).dispose(); | |
this.le(new TN) | |
}; | |
var RN = function() {}; | |
B(RN, hN); | |
RN.prototype.Ga = function() { | |
return "g-aa-ca" | |
}; | |
RN.prototype.cb = function(a) { | |
return null != a && a.tagName === "SPAN".toString() | |
}; | |
RN.prototype.Kf = function(a, b) { | |
return Jq(fN, {}, void 0, b) | |
}; | |
ad(RN); | |
var SN = function() { | |
AF.call(this, "listbox") | |
}; | |
B(SN, AF); | |
SN.prototype.ad = function() { | |
return "g-aa-ca-M" | |
}; | |
ad(SN); | |
var WN = function() { | |
this.g = [] | |
}; | |
B(WN, nF); | |
WN.prototype.Ga = function() { | |
return "g-aa-ca-ma" | |
}; | |
ad(WN); | |
var YN = function() { | |
this.g = [] | |
}; | |
B(YN, nF); | |
YN.prototype.Ga = function() { | |
return "g-aa-ca-Qh" | |
}; | |
ad(YN); | |
var TN = function() { | |
RF.call(this, void 0, SN.Fa()) | |
}; | |
B(TN, RF); | |
TN.prototype.O = function() { | |
RF.prototype.O.call(this); | |
this.B().listen(this.s(), ["touchmove", "touchstart"], this.i) | |
}; | |
TN.prototype.i = function(a) { | |
var b = "touchmove" === a.type; | |
b && a.preventDefault(); | |
Mr(this, function(c) { | |
tr(c.s()).contains(pr(a)) && (c.Cb(!0), b && c instanceof VN && c.oi()) | |
}) | |
}; | |
var XN = function(a, b, c, d, e) { | |
PF.call(this, b, c, d, e); | |
this.i = a | |
}; | |
B(XN, PF); | |
var VN = function(a, b, c, d) { | |
oN.call(this, a, b, c, d) | |
}; | |
B(VN, oN); | |
VN.prototype.Xb = function(a) { | |
return oN.prototype.Xb.call(this, a) ? !0 : 13 === a.keyCode && this.Ob(a) | |
}; | |
var $N = function(a) { | |
Z.call(this, a); | |
a = new UN; | |
ZN(a, "All", []); | |
ZN(a, "Runs Offline", [4]); | |
ZN(a, "By Google", [1]); | |
ZN(a, "Free", [5]); | |
ZN(a, "Available for Android", [0]); | |
ZN(a, "Works with Google Drive", [12]); | |
LN(a, 0); | |
this.h = a | |
}; | |
B($N, Z); | |
$N.prototype.oa = function(a) { | |
Z.prototype.oa.call(this, a); | |
Tr(this, this.h, "h-hd-aa") | |
}; | |
$N.prototype.O = function() { | |
Z.prototype.O.call(this); | |
this.B().listen(this.h, "action", this.j) | |
}; | |
$N.prototype.j = function() { | |
this.dispatchEvent("r") | |
}; | |
var aO = { | |
jd: CD | |
}, | |
bO = function(a) { | |
FL.call(this, a) | |
}; | |
B(bO, FL); | |
bO.prototype.uc = function(a, b, c) { | |
var d = new aO.jd(this.v, null, 1, null, null, !0, void 0, void 0, void 0, void 0, !0); | |
this.v.get(O).w = d; | |
this.o = new oL(this.v, d.ic(), new nL("WIDE")); | |
FL.prototype.uc.call(this, a, b, c) | |
}; | |
var cO = function() { | |
ZL.call(this) | |
}; | |
B(cO, ZL); | |
cO.prototype.dd = function(a) { | |
return new bO(a) | |
}; | |
cO.prototype.Od = function(a) { | |
return !!a && this.constructor === a.constructor | |
}; | |
var dO = { | |
jd: CD | |
}, | |
eO = function(a, b) { | |
FL.call(this, a); | |
this.ca = a.get(O); | |
this.J = b; | |
this.h = null | |
}; | |
B(eO, FL); | |
eO.prototype.uc = function(a, b, c) { | |
var d = this, | |
e = new dO.jd(this.v, null, 0, null, null, !1, void 0, this.J); | |
this.ca.w = e; | |
var g = this.v.get(yb), | |
h = this.v.get(Lk).g; | |
h = g.Ef(h) ? "PREFER_BIG" : "PREFER_MEDIUM"; | |
var k = new oL(this.v, e.ic(), new nL(h)); | |
this.o = k; | |
g.jk() ? e.Rh(e.ic(), this.Jd(), function() { | |
d.H = e.hh(); | |
CL(k, d.Jd(), a, b) | |
}, b, !0) : FL.prototype.uc.call(this, a, b, c) | |
}; | |
eO.prototype.Jd = function() { | |
return this.J.length | |
}; | |
eO.prototype.j = function() { | |
return this.H && 3 <= this.H.length ? (this.h = new pM(this.v, this.H), [this.h]) : FL.prototype.j.call(this) | |
}; | |
var fO = function(a) { | |
var b = Hm(a.h.s()), | |
c = a.h.s().parentNode; | |
a.removeChild(a.h); | |
a.h.dispose(); | |
a.h = new pM(a.v, a.H); | |
a.Ie(a.h, 0); | |
b ? Kr(a.h, b.parentNode, b) : a.h.render(c) | |
}; | |
eO.prototype.U = function(a) { | |
FL.prototype.U.call(this, a); | |
if (this.h) { | |
var b = this.h.h.find(function(c) { | |
return c.Z() === a | |
}); | |
b && (Qz(this.ca, b), fO(this)) | |
} | |
}; | |
var gO = function(a) { | |
ZL.call(this); | |
this.g = new Set(a) | |
}; | |
B(gO, ZL); | |
gO.prototype.dd = function(a) { | |
return new eO(a, Array.from(this.g)) | |
}; | |
gO.prototype.Od = function(a) { | |
if (a instanceof gO) a: { | |
var b = this.g;a = a.g; | |
if (b.size !== a.size) a = !1; | |
else { | |
b = nb(b); | |
for (var c = b.next(); !c.done; c = b.next()) | |
if (!a.has(c.value)) { | |
a = !1; | |
break a | |
} a = !0 | |
} | |
} | |
else a = !1; | |
return a | |
}; | |
var hO = function(a) { | |
var b = a.af, | |
c = a.gq, | |
d = a.hq, | |
e = a.fq, | |
g = a.xj; | |
a = '<div class="' + x("rb-He-Ke") + '"><h1>'; | |
g ? (g = A(g) + " has been added to the new Chrome <nobr>App Launcher</nobr>", a += g) : a += "Chrome Apps have a new home"; | |
a += '</h1><p class="' + x("rb-He-Ke-va") + '">'; | |
a += "The Chrome App Launcher allows you to launch your favorite apps right from the desktop."; | |
e && (a += '<br>Search your computer for "Chrome App Launcher" and pin it to your system\'s launcher or panel for easy access.'); | |
c = d ? "win_8" : c ? "osx" : "win_xp"; | |
a += | |
'</p><iframe class="' + x("rb-He-Ke-xf") + '" alt="App Launcher" src="https://ssl.gstatic.com/chrome/webstore/launcher_thankyou/' + c + '.html"></iframe><p class="' + x("rb-He-Ke-Kc-L") + '">'; | |
b = 'Have questions? You can find more information in the <a href="https://support.google.com/chrome_webstore/answer/3060053?p=cws_app_launcher&rd=1&hl=' + (fq(b) + '">Chrome help center</a>.'); | |
return y(a + b + "</p></div>") | |
}; | |
var mO = function(a, b) { | |
if (V(a.i.get(Ek), "hls") && wx()) { | |
a.h = b.i[0]; | |
var c = function(g) { | |
g ? iO(a) : null != b.query.get("source") ? jO(a) : kO(a) | |
}, | |
d = function(g) { | |
a.w = g.Ya(); | |
chrome.webstorePrivate.getIsLauncherEnabled(c) | |
}, | |
e = function() { | |
Zf(ca(a.g).location, Jb(a.A.i)) | |
}; | |
lO(a) ? a.j.Ya(a.h, d, e) : chrome.webstorePrivate.getIsLauncherEnabled(c) | |
} else Zf(ca(a.g).location, Jb(a.A.i)) | |
}, | |
lO = function(a) { | |
if (!a.h) return !1; | |
if (!a.o.isAvailable()) return !0; | |
var b = "webstore-launcher-promo-handler-" + a.h, | |
c = parseInt(a.o.get(b), 10); | |
a.o.remove(b); | |
return 5E3 > (new Date).getTime() - c | |
}, | |
kO = function(a) { | |
a.i.get(Mk).getBrowserLogin(function(b) { | |
Zn(a.u, (b ? "/track_launcher_promo/user_signed_in/" : "/track_launcher_promo/user_not_signed_in/") + "promo_shown/"); | |
nO(a.i.get(mC), function(c) { | |
var d = !!b; | |
Zn(a.u, (d ? "/track_launcher_promo/user_signed_in/" : "/track_launcher_promo/user_not_signed_in/") + (c ? "promo_accepted/" : "promo_declined/")); | |
c ? d || a.T ? jO(a) : (c = new pp(ca(a.g).location.href), c.g.set("source", "5"), Zf(ca(a.g).location, Ry(a.j.g, c.toString(), Xy(a.j) || void 0))) : | |
ca(a.g).history.back() | |
}, !b && !a.T) | |
}) | |
}, | |
jO = function(a) { | |
Yn(0, "LauncherEnabled", "fromLauncherPromo"); | |
chrome.webstorePrivate.enableAppLauncher(); | |
iO(a) | |
}, | |
iO = function(a) { | |
var b = Xm(a.g, "h-rb-He-Ke-k"); | |
Nq(a.i.get(Do), b, hO, { | |
af: a.j.g.w, | |
gq: zg, | |
hq: Ag && 0 <= ke(xt, "6.1"), | |
fq: Bg, | |
xj: a.w && a.w.D().getTitle() | |
}) | |
}; | |
var oO = { | |
jd: CD | |
}, | |
pO = function(a, b, c) { | |
FL.call(this, a); | |
this.H = b; | |
this.h = c | |
}; | |
B(pO, FL); | |
pO.prototype.uc = function(a, b, c) { | |
var d = new oO.jd(this.v, null, 1, null, null, !0, void 0, void 0, void 0, void 0, void 0, this.H, this.h); | |
this.v.get(O).w = d; | |
this.o = new oL(this.v, d.ic(), new nL("WIDE")); | |
FL.prototype.uc.call(this, a, b, c) | |
}; | |
var qO = function(a, b) { | |
ZL.call(this); | |
this.h = a; | |
this.g = b | |
}; | |
B(qO, ZL); | |
qO.prototype.dd = function(a) { | |
return new pO(a, this.h, this.g) | |
}; | |
qO.prototype.Od = function(a) { | |
return a instanceof qO ? this.h === a.h && this.g === a.g : !1 | |
}; | |
var rO = function(a, b, c, d) { | |
AD.call(this); | |
this.query = b; | |
this.T = a.get(O); | |
this.o = {}; | |
this.u = void 0; | |
this.w = 0; | |
this.j = c; | |
this.A = d; | |
this.aa = a.get(Jk) | |
}; | |
B(rO, AD); | |
rO.prototype.Sh = function() { | |
return this.w | |
}; | |
rO.prototype.Gj = function(a, b, c, d) { | |
var e = this; | |
pz(this.T, a, this.u, function(g) { | |
var h = l(g, 6); | |
h && 0 != h && 0 == e.w && (e.w = h); | |
if (h = g.getToken()) e.u = h; | |
h = N(g, Ci, 1); | |
for (var k = [], m = 0; m < h.length; m++) { | |
var p = h[m], | |
q = p.Z(); | |
ue(e.o, q) || (e.o[q] = null, k.push(p)) | |
} | |
k = Sz(e.aa, k); | |
b(k, L(g, 2)) | |
}, c, this.j, 0, null, null, this.query, d, void 0, this.A, void 0, !1, void 0, void 0) | |
}; | |
rO.prototype.ng = function() { | |
return "SearchItemStream(" + this.query + ", " + (this.j ? this.j.id : "null") + ")" | |
}; | |
var sO = function(a, b, c, d, e, g) { | |
Z.call(this, a); | |
this.A = b; | |
this.h = c; | |
this.u = g; | |
this.o = d; | |
this.j = e; | |
a.get(zk) | |
}; | |
B(sO, Z); | |
sO.prototype.S = function() { | |
Z.prototype.S.call(this); | |
var a = null; | |
null != this.h && (a = hc(this.h), a = qs(this.v.get(O).o, a)); | |
a = Ms(this.A, a && a.id, this.u); | |
Nq(this.i, this.s(), eJ, { | |
bd: this.h, | |
Fo: Jb(a), | |
count: this.o, | |
Ue: this.j, | |
Sa: !1 | |
}) | |
}; | |
sO.prototype.O = function() { | |
Z.prototype.O.call(this); | |
this.j && this.B().listen(U(this, "a-K-o-y"), "click", this.H) | |
}; | |
sO.prototype.H = function() { | |
Yn(0, "webstore.SearchWallLayout", "show_all_click", ec(this.h), void 0, !1) | |
}; | |
var tO = { | |
io: oL | |
}, | |
uO = function(a, b, c, d) { | |
var e = new nL("WIDE"), | |
g = new rO(a, b, c, d); | |
a.get(O).w = g; | |
FL.call(this, a, new tO.io(a, g.ic(), e)); | |
this.H = b; | |
this.ca = c && fF(ms(c).id); | |
this.da = c; | |
this.J = d; | |
this.h = bA(a.get(O)); | |
jt(a, tC) && cF(a.get(tC), "searching") | |
}; | |
B(uO, FL); | |
uO.prototype.fa = function() { | |
if (this.configuration.g) { | |
var a = l(this.configuration.g, 35); | |
if (null != a) return Mq(this.i, kJ, { | |
Sj: a | |
}) | |
} | |
a = this.h ? Jb(Js(this.h)) : null; | |
var b = this.h ? this.h.displayName : null; | |
if (!this.configuration.Db) return Mq(this.i, gJ, { | |
query: this.H, | |
Tf: a, | |
Sf: b | |
}); | |
var c = Ms(this.H, null, []); | |
return Mq(this.i, gJ, { | |
query: this.H, | |
dh: null != this.da || 0 < this.J.length, | |
gi: Jb(c), | |
Tf: a, | |
Sf: b | |
}) | |
}; | |
uO.prototype.Gl = function() { | |
return "See other results" | |
}; | |
uO.prototype.Jd = function() { | |
return null == this.ca ? 100 : FL.prototype.Jd.call(this) | |
}; | |
uO.prototype.Ve = function(a) { | |
if (0 != a.length || this.lg()) | |
if (jt(this.v, tC) && cF(this.v.get(tC), "results"), null == this.ca && this.configuration.Db) { | |
NL(this, [], this.j(), !1); | |
for (var b = 0; b < a.length;) { | |
var c = aa(a[b].D()); | |
if (9 != c || this.v.get(O).Ze()) { | |
for (var d = fc(c), e = [], g = !1; b < a.length && vO(c, d, aa(a[b].D()));) 3 > e.length ? e.push(a[b]) : g = !0, b++; | |
NL(this, e, [new sO(this.v, this.H, c, e.length, g, this.J)], b == a.length) | |
} else b++ | |
} | |
} else NL(this, a, this.j(), !0); | |
else ML(this), jt(this.v, tC) && cF(this.v.get(tC), "no-results") | |
}; | |
var vO = function(a, b, c) { | |
return b && fc(c) || c == a | |
}; | |
var wO = function(a, b, c) { | |
ZL.call(this, new is(!1, null, null, void 0, void 0, c)); | |
this.g = a; | |
this.h = b | |
}; | |
B(wO, ZL); | |
f = wO.prototype; | |
f.Cm = function() { | |
return this.g | |
}; | |
f.df = function() { | |
return this.h | |
}; | |
f.dd = function(a) { | |
return new uO(a, this.g, this.h, this.i.g) | |
}; | |
f.Od = function(a) { | |
return a instanceof wO ? this.g === a.g && this.h === a.h && js(this.i, a.i) : !1 | |
}; | |
f.Ph = function() { | |
return "Chrome Web Store - " + this.g | |
}; | |
f.Wi = function() { | |
return 1 | |
}; | |
f.Ch = function() { | |
return !0 | |
}; | |
var xO = function() {}; | |
E(xO, ND); | |
ad(xO); | |
xO.prototype.S = function(a) { | |
var b = a.g.S("SPAN", QD(this, a).join(" ")); | |
yO(this, b, a.o); | |
return b | |
}; | |
xO.prototype.gb = function(a, b) { | |
b = xO.M.gb.call(this, a, b); | |
var c = Yt(b), | |
d = !1; | |
zd(c, zO(this, null)) ? d = null : zd(c, zO(this, !0)) ? d = !0 : zd(c, zO(this, !1)) && (d = !1); | |
a.o = d; | |
KD(b, "checked", null == d ? "mixed" : 1 == d ? "true" : "false"); | |
return b | |
}; | |
xO.prototype.je = function() { | |
return "checkbox" | |
}; | |
var yO = function(a, b, c) { | |
if (b) { | |
var d = zO(a, c); | |
$t(b, d) || (qe(AO, function(e) { | |
e = zO(this, e); | |
X(b, e, e == d) | |
}, a), KD(b, "checked", null == c ? "mixed" : 1 == c ? "true" : "false")) | |
} | |
}; | |
xO.prototype.Ga = function() { | |
return "ga-Sb" | |
}; | |
var zO = function(a, b) { | |
a = a.Ga(); | |
if (1 == b) return a + "-of"; | |
if (0 == b) return a + "-Sk"; | |
if (null == b) return a + "-Tk"; | |
throw Error("Db`" + b); | |
}; | |
var BO = function(a, b, c) { | |
c = c || xO.Fa(); | |
kE.call(this, null, c, b); | |
this.o = void 0 !== a ? a : !1 | |
}; | |
E(BO, kE); | |
var AO = { | |
As: !0, | |
$s: !1, | |
at: null | |
}; | |
BO.prototype.i = null; | |
BO.prototype.Yb = function() { | |
return 1 == this.o | |
}; | |
BO.prototype.Bd = function(a) { | |
a != this.o && (this.o = a, yO(this.Bc(), this.s(), this.o)) | |
}; | |
var CO = function(a, b) { | |
if (a.za) { | |
var c = WD(a, 32); | |
a.qa(); | |
a.i = b; | |
a.O(); | |
c && a.ba.focus() | |
} else a.i = b | |
}; | |
BO.prototype.O = function() { | |
BO.M.O.call(this); | |
if (this.uh) { | |
var a = this.B(); | |
this.i && a.listen(this.i, "click", this.j).listen(this.i, "mouseover", this.qd).listen(this.i, "mouseout", this.da).listen(this.i, "mousedown", this.ke).listen(this.i, "mouseup", this.rd); | |
a.listen(this.s(), "click", this.j) | |
} | |
a = this.ba; | |
if (this.i && a != this.i && Zd(LD(a, "label"))) { | |
if (!this.i.id) { | |
var b = this.i; | |
var c = this.getId() + ".lbl"; | |
b.id = c | |
} | |
KD(a, "labelledby", this.i.id) | |
} | |
}; | |
BO.prototype.j = function(a) { | |
a.stopPropagation(); | |
var b = this.o ? "uncheck" : "check"; | |
this.isEnabled() && !a.target.href && this.dispatchEvent(b) && (a.preventDefault(), this.Bd(this.o ? !1 : !0), this.dispatchEvent("change")) | |
}; | |
BO.prototype.Ec = function(a) { | |
32 == a.keyCode && (this.Ob(a), this.j(a)); | |
return !1 | |
}; | |
aE("ga-Sb", function() { | |
return new BO | |
}); | |
var DO = function(a, b) { | |
Z.call(this, a); | |
this.u = a.get(Ck); | |
this.j = Hq(a).g; | |
this.o = a.get(O); | |
this.A = b; | |
this.h = null | |
}; | |
B(DO, Z); | |
f = DO.prototype; | |
f.oa = function() { | |
var a = Xm(this.j, "h-Rd-Qd-wf-c"); | |
a && (this.h = new zE, this.ia(this.h), Lr(this.h, a), this.B().listen(this.h, "action", this.gs, !1)); | |
if ((a = Xm(this.j, "h-Rd-Qd-Ui-Sb")) && this.h) { | |
var b = new BO; | |
this.ia(b); | |
Lr(b, a); | |
BE(this.h, !1); | |
CO(b, an(a)); | |
this.B().listen(b, "change", function() { | |
BE(this.h, b.Yb()) | |
}, !1) | |
} | |
if (a = Xm(this.j, "h-Rd-Qd-on-c")) { | |
var c = new zE; | |
this.ia(c); | |
Lr(c, a); | |
Mo(this.B(), c, "action", this.ns, !1, this) | |
} | |
}; | |
f.gs = function() { | |
xz(this.o, this.A, D(this.Dr, this), D(this.Er, this)) | |
}; | |
f.Dr = function() { | |
$f(ca(this.j).location, l(this.o.g.g, 14) || "") | |
}; | |
f.Er = function() { | |
var a = new Zx; | |
a.g = !1; | |
Wz(this.u, "Failed to claim ownership. Please reload the page and try again", a, D(function() { | |
ca(this.j).location.reload(!0) | |
}, this)) | |
}; | |
f.ns = function() { | |
yz(this.o, this.A, D(this.Fr, this), D(this.Gr, this)) | |
}; | |
f.Fr = function() { | |
var a = new Zx; | |
a.h = "Return to Chrome Web Store"; | |
a.g = !1; | |
a = new nG(this.v, "Your website will be removed soon. It may take a few minutes.", D(function() { | |
$f(ca(this.j).location, fa()) | |
}, this), a); | |
this.ia(a); | |
a.ja(!0) | |
}; | |
f.Gr = function() { | |
var a = new Zx; | |
a.g = !1; | |
Wz(this.u, "Failed to remove the website. Please reload the page and try again", a, D(function() { | |
ca(this.j).location.reload(!0) | |
}, this)) | |
}; | |
var EO = function() { | |
this.i = "tablist" | |
}; | |
E(EO, tF); | |
ad(EO); | |
EO.prototype.ad = function() { | |
return "ga-b-j" | |
}; | |
EO.prototype.w = function(a, b, c) { | |
this.o || (this.g || FO(this), this.o = Be(this.g)); | |
var d = this.o[b]; | |
d ? (xF(a, GO(d)), a.A = d) : EO.M.w.call(this, a, b, c) | |
}; | |
EO.prototype.h = function(a) { | |
var b = EO.M.h.call(this, a); | |
this.g || FO(this); | |
b.push(this.g[a.A]); | |
return b | |
}; | |
var FO = function(a) { | |
var b = a.ad(); | |
a.g = { | |
top: b + "-O", | |
bottom: b + "-Kc", | |
start: b + "-Ue", | |
end: b + "-Cf" | |
} | |
}; | |
var HO = function() { | |
EO.call(this) | |
}; | |
B(HO, EO); | |
HO.prototype.ad = function() { | |
return "g-b-j" | |
}; | |
var IO = function() { | |
ZL.call(this) | |
}; | |
B(IO, ZL); | |
IO.prototype.Od = function(a) { | |
return a && this.constructor == a.constructor ? !0 : !1 | |
}; | |
IO.prototype.Ph = function() { | |
return "Chrome Web Store - My Extensions & Apps" | |
}; | |
var JO = function() {}; | |
E(JO, ND); | |
ad(JO); | |
f = JO.prototype; | |
f.Ga = function() { | |
return "ga-b" | |
}; | |
f.je = function() { | |
return "tab" | |
}; | |
f.S = function(a) { | |
var b = JO.M.S.call(this, a); | |
(a = a.Zc()) && this.Cd(b, a); | |
return b | |
}; | |
f.gb = function(a, b) { | |
b = JO.M.gb.call(this, a, b); | |
var c = this.Zc(b); | |
c && a.ki(c); | |
a.isSelected() && (c = a.getParent()) && ed(c.Ud) && (qE(a, 8, !1), c.Ud(a)); | |
return b | |
}; | |
f.Zc = function(a) { | |
return a.title || "" | |
}; | |
f.Cd = function(a, b) { | |
a && (a.title = b || "") | |
}; | |
var KO = function(a, b, c) { | |
kE.call(this, a, b || JO.Fa(), c); | |
this.kb(8, !0); | |
this.Ce |= 9 | |
}; | |
E(KO, kE); | |
KO.prototype.Zc = function() { | |
return this.i | |
}; | |
KO.prototype.Cd = function(a) { | |
this.Bc().Cd(this.s(), a); | |
this.ki(a) | |
}; | |
KO.prototype.ki = function(a) { | |
this.i = a | |
}; | |
aE("ga-b", function() { | |
return new KO(null) | |
}); | |
var MO = function(a, b, c) { | |
a = a || "top"; | |
xF(this, GO(a)); | |
this.A = a; | |
CF.call(this, this.Qd, b || EO.Fa(), c); | |
LO(this) | |
}; | |
E(MO, CF); | |
f = MO.prototype; | |
f.vc = null; | |
f.O = function() { | |
MO.M.O.call(this); | |
LO(this) | |
}; | |
f.V = function() { | |
MO.M.V.call(this); | |
this.vc = null | |
}; | |
f.removeChild = function(a, b) { | |
NO(this, a); | |
return MO.M.removeChild.call(this, a, b) | |
}; | |
f.gk = function(a) { | |
MO.M.gk.call(this, a); | |
this.Ud(Or(this, a)) | |
}; | |
f.Ud = function(a) { | |
a ? a.Kc(!0) : this.vc && this.vc.Kc(!1) | |
}; | |
var NO = function(a, b) { | |
if (b && b == a.vc) { | |
for (var c = Rr(a, b), d = c - 1; b = Or(a, d); d--) { | |
var e = b; | |
if (e.isVisible() && e.isEnabled()) { | |
a.Ud(b); | |
return | |
} | |
} | |
for (c += 1; b = Or(a, c); c++) | |
if (d = b, d.isVisible() && d.isEnabled()) { | |
a.Ud(b); | |
return | |
} a.Ud(null) | |
} | |
}; | |
f = MO.prototype; | |
f.Qp = function(a) { | |
this.vc && this.vc != a.target && this.vc.Kc(!1); | |
this.vc = a.target | |
}; | |
f.Rp = function(a) { | |
a.target == this.vc && (this.vc = null) | |
}; | |
f.Op = function(a) { | |
NO(this, a.target) | |
}; | |
f.Pp = function(a) { | |
NO(this, a.target) | |
}; | |
f.ej = function() { | |
GF(this) || this.Cb(this.vc || Or(this, 0)) | |
}; | |
var LO = function(a) { | |
a.B().listen(a, "select", a.Qp).listen(a, "unselect", a.Rp).listen(a, "disable", a.Op).listen(a, "hide", a.Pp) | |
}, | |
GO = function(a) { | |
return "start" == a || "end" == a ? "vertical" : "horizontal" | |
}; | |
aE("ga-b-j", function() { | |
return new MO | |
}); | |
var OO = function(a, b, c, d, e, g) { | |
Us.call(this, e, g); | |
this.H = a; | |
this.aa = []; | |
this.ma = !!b; | |
this.da = !!c; | |
this.ca = !!d; | |
for (b = this.X = 0; b < a.length; b++) $s(a[b], D(this.U, this, b, !0), D(this.U, this, b, !1)); | |
0 != a.length || this.ma || this.Ba(this.aa) | |
}; | |
E(OO, Us); | |
OO.prototype.U = function(a, b, c) { | |
this.X++; | |
this.aa[a] = [b, c]; | |
this.g || (this.ma && b ? this.Ba([a, c]) : this.da && !b ? this.i(c) : this.X == this.H.length && this.Ba(this.aa)); | |
this.ca && !b && (c = null); | |
return c | |
}; | |
OO.prototype.i = function(a) { | |
OO.M.i.call(this, a); | |
for (a = 0; a < this.H.length; a++) this.H[a].cancel() | |
}; | |
var PO = function(a) { | |
FL.call(this, a); | |
this.h = a.get(O); | |
this.ca = a.get(Nk); | |
this.J = new jp; | |
this.H = new MO("top", new HO); | |
BB(this.ca, "YourAppsTile", D(this.Pq, this)) | |
}; | |
B(PO, FL); | |
f = PO.prototype; | |
f.Ri = function() { | |
return new OO([]) | |
}; | |
f.uc = function(a, b) { | |
var c = this.Ri(); | |
at(c, D(function(d) { | |
for (var e = 0; e < d.length; ++e) | |
if (d[e][0]) | |
for (var g = d[e][1], h = 0; h < g.length; ++h) { | |
var k = g[h], | |
m = k.Z(); | |
this.h.xc.has(m) || mp(this.J, k.Z()) || this.J.set(k.Z(), k) | |
} else { | |
b(); | |
return | |
} | |
a([], !1) | |
}, this)); | |
$s(c, null, b, void 0) | |
}; | |
f.Ve = function() { | |
var a = this.J.Wa(); | |
Jd(a, function(c, d) { | |
return ae(c.getTitle(), d.getTitle()) | |
}); | |
a = new WM(a); | |
this.h.w = a; | |
a = new oL(this.v, a.ic(), new nL("DETAILED_WIDE")); | |
var b = []; | |
CL(a, 100, D(function(c) { | |
b = c | |
}, this), D(function() {}, this)); | |
0 == b.length ? ML(this) : (NL(this, b, [], !0), this.o = a) | |
}; | |
f.Pq = function(a, b, c) { | |
(a = c.rating || 0) && Yn(0, "Zipit", "Rate", "YourAppsTile", a, !1) | |
}; | |
f.Uj = function(a, b) { | |
CB(a, "YourAppsTile"); | |
zB(this.ca, a); | |
for (a = 0; a < b.length; a++) b[a].eb() | |
}; | |
f.qa = function() { | |
FL.prototype.qa.call(this); | |
this.ca.deleteAll(this.s()) | |
}; | |
f.O = function() { | |
FL.prototype.O.call(this); | |
if (HL(this)) { | |
Tr(this, this.H, "wHEfpf-Qb-b-j"); | |
var a = this.B(); | |
Lo(a, this.H, "select", this.Qq, !1, this); | |
if (this.v.get(xC).getDescriptor() && (a = this.v.get(xC).getDescriptor(), a instanceof IO)) { | |
a = QO.get(a.g()); | |
this.da = !0; | |
for (var b = 0; b < Nr(this.H); b++) { | |
var c = Or(this.H, b); | |
if (c.s().getAttribute("tabContent") == a) { | |
this.H.Ud(c); | |
break | |
} | |
} | |
this.da = !1 | |
} | |
RO(this) | |
} | |
}; | |
f.Qq = function(a) { | |
a = a.target.s().getAttribute("tabContent"); | |
if (this.da) { | |
var b = SO.keys(); | |
qa(Array.from(b), D(function(c) { | |
(c = U(this, c)) && W(c, "Pa") | |
}, this)); | |
bu(U(this, a), "Pa") | |
} else "h-wHEfpf-Qb-Dd-b-x" == a ? Zf(ca(this.g).location, mz(this.h, TO)) : Zf(ca(this.g).location, mz(this.h, UO)) | |
}; | |
var RO = function(a) { | |
var b = Hr(a, "g-U-c-Ph-Lh"); | |
a = td(Hr(a, "g-c"), function(e) { | |
return !zd(b, e) | |
}); | |
for (var c = 0, d = a.length; c < d; c++) W(a[c], "wHEfpf-Qb-vb-qhovE-qn-c") | |
}, | |
TO = "/webstore/user/purchases", | |
UO = "/webstore/user/library", | |
SO = new Map; | |
SO.set("h-wHEfpf-Qb-Dd-b-x", new ss("Installed", "h-wHEfpf-Qb-Dd-b-x")); | |
SO.set("h-wHEfpf-Qb-Y80K8c-b-x", new ss("Library", "h-wHEfpf-Qb-Y80K8c-b-x")); | |
var QO = new Map; | |
QO.set("Installed", "h-wHEfpf-Qb-Dd-b-x"); | |
QO.set("Library", "h-wHEfpf-Qb-Y80K8c-b-x"); | |
var VO = function(a) { | |
PO.call(this, a) | |
}; | |
B(VO, PO); | |
VO.prototype.Ri = function() { | |
var a = new Us; | |
if (this.configuration.g && L(this.configuration.g, 13)) a.Ba([]); | |
else { | |
var b = this.h, | |
c = D(a.Ba, a), | |
d = D(a.i, a); | |
c = new Sy.Pa(b.i.g, Zz(b, !0, c, d)); | |
dz(b, c); | |
b.T && Kv(c, "container", b.T); | |
Nv(c, fa() + "ajax/user-items"); | |
c.send() | |
} | |
b = new Us; | |
c = this.h; | |
d = D(b.Ba, b); | |
var e = D(b.i, b); | |
qz(c, te(c.H), d, e); | |
return new OO([a, b]) | |
}; | |
VO.prototype.Dc = function() { | |
return HL(this) ? U(this, "h-wHEfpf-Qb-Dd-b-x") : U(this, "h-a-x") | |
}; | |
VO.prototype.fa = function() { | |
if (this.configuration.g) { | |
var a = l(this.configuration.g, 34); | |
if (null != a) return Mq(this.i, kJ, { | |
Sj: a | |
}) | |
} | |
return Mq(this.i, iJ) | |
}; | |
VO.prototype.xa = function() { | |
return !0 | |
}; | |
var WO = function() { | |
ZL.call(this) | |
}; | |
B(WO, IO); | |
WO.prototype.dd = function(a) { | |
return new VO(a) | |
}; | |
WO.prototype.g = function() { | |
return "Installed" | |
}; | |
var XO = function(a) { | |
PO.call(this, a) | |
}; | |
B(XO, PO); | |
XO.prototype.Ri = function() { | |
var a = new Us; | |
if (this.configuration.g && L(this.configuration.g, 13)) a.Ba([]); | |
else { | |
var b = this.h, | |
c = D(a.Ba, a), | |
d = D(a.i, a); | |
c = new Sy.Pa(b.i.g, Zz(b, !1, c, d)); | |
dz(b, c); | |
b.T && Kv(c, "container", b.T); | |
Nv(c, fa() + "ajax/user-items"); | |
c.send() | |
} | |
return new OO([a]) | |
}; | |
XO.prototype.Dc = function() { | |
return U(this, "h-wHEfpf-Qb-Y80K8c-b-x-Nb-ha") | |
}; | |
XO.prototype.fa = function() { | |
if (this.configuration.g) { | |
var a = l(this.configuration.g, 34); | |
if (null != a) return Mq(this.i, kJ, { | |
Sj: a | |
}) | |
} | |
return Mq(this.i, jJ) | |
}; | |
XO.prototype.xa = function() { | |
return !0 | |
}; | |
var YO = function() { | |
ZL.call(this) | |
}; | |
B(YO, IO); | |
YO.prototype.dd = function(a) { | |
return new XO(a) | |
}; | |
YO.prototype.g = function() { | |
return "Library" | |
}; | |
var ZO = { | |
Wn: function(a) { | |
this.i = a; | |
this.u = a.get(zk); | |
this.j = a.get(O); | |
this.g = Hq(a).g; | |
this.A = a.get(Kb); | |
a.get(Mk); | |
this.o = new aD; | |
this.T = V(a.get(Ek), "rer"); | |
this.w = this.h = null | |
} | |
}, | |
$O = function(a) { | |
this.g = a; | |
this.u = a.get(Fk); | |
this.H = a.get(Dk); | |
El(this.u, "navigate", this.L, !1, this); | |
this.ib = new us("none"); | |
this.te = null; | |
this.T = Hq(this.g).g; | |
this.j = new Map; | |
this.h = a.get(yb); | |
this.o = "apps" | |
}, | |
DG = function(a) { | |
var b = a.g.get(xC); | |
aP(b, b.h); | |
b.j && bP(b, b.j, !0); | |
if (a.h.u) { | |
b = a.ib; | |
var c = a.g.get(mC); | |
c && cP(c); | |
qH(a, b, !0) | |
} | |
}, | |
dP = function(a, b) { | |
a = | |
a.j.get(Bs(b)); | |
null != a && (a = a.Ii(Ds(b, a.i))); | |
return void 0 === a ? null : a | |
}, | |
fP = function(a, b) { | |
if (!xs(a.ib, b)) switch (b.g) { | |
case "category": | |
b = dP(a, b), null != b && eP(a.g.get(xC), b) | |
} | |
}, | |
qH = function(a, b, c, d) { | |
var e = a.h.g; | |
e && hh(e, 20, !1) && zs(b) ? gP(a.g.get(yC), b) : hP(a, b, c, d) | |
}, | |
hP = function(a, b, c, d) { | |
if (c || !xs(a.ib, b)) { | |
d || ey(a.H, Jb(b)); | |
if (a.h.o) { | |
var e = a.g.get(tC); | |
ys(b) ? e.h.s().blur() : a.te || e.h.s().focus() | |
} | |
a.h.Cl().forEach(function(k) { | |
Cs[k] && b.query.add("_feature", k) | |
}); | |
e = a.g.get(mC); | |
ys(b) || cP(e); | |
var g = a.g.get(O), | |
h = a.g.get(Ek); | |
switch (b.g) { | |
case "collection": | |
case "detail": | |
c = iP; | |
a: switch (b.g) { | |
case "detail": | |
h = "item"; | |
break a; | |
case "collection": | |
h = "collection"; | |
break a; | |
default: | |
throw Error("R"); | |
} | |
c(e, h, b.i, b.h, Es(b) && dA(g)); | |
jP(a.g.get(xC), !0); | |
(c = Fs(b)) ? qH(a, Hs(c), void 0, !0): !a.te && a.h.o && ((c = a.j.get(Bs(a.i))) && kP(a, c), a.te = a.i); | |
break; | |
case "category": | |
e = Bs(b); | |
we(e) && (a.o = e); | |
e = dP(a, b); | |
if (null != e) kP(a, e, c); | |
else { | |
qH(a, a.i); | |
return | |
} | |
break; | |
case "search": | |
if (Bs(b)) c = Ds(b).o, e = null, c && (e = qs(a.g.get(O).o, c)), c = new wO(b.i[0], e, Ds(b).g), kP(a, c, !1); | |
else { | |
qH(a, a.i); | |
return | |
} | |
break; | |
case "user": | |
if (!g.g.i) { | |
Zf(ca(a.T).location, Yy(g, Jb(b))); | |
return | |
} | |
if (xs(Ps(), b)) kP(a, new WO, c); | |
else if (V(h, "nma") && xs(new us("user", ["library"], null, null), b)) kP(a, new YO, c); | |
else { | |
qH(a, a.i); | |
return | |
} | |
break; | |
case "launcher": | |
mO(new ZO.Wn(a.g), b); | |
break; | |
case "transfer-ownership": | |
Lr(new DO(a.g, b.i[0]), P("h-Rd-Qd-k")); | |
break; | |
case "item-list": | |
if (a.h.T) kP(a, new gO(b.i)); | |
else { | |
qH(a, a.i); | |
return | |
} | |
break; | |
case "bluetooth-device": | |
kP(a, new $L(b.i)); | |
break; | |
case "file-system-provider": | |
kP(a, new cO); | |
break; | |
case "printer-provider": | |
kP(a, new qO(b.i[0], b.i[1])); | |
break; | |
default: | |
qH(a, a.i); | |
return | |
} | |
a.ib = b; | |
ys(b) || (a.te = b, d || jP(a.g.get(xC), !1)); | |
c = fa() + Gs(b); | |
Xn(a.g.get(zk), c); | |
d || a.u.fd(Gs(a.ib)) | |
} | |
}; | |
$O.prototype.pop = function() { | |
this.te && qH(this, this.te) | |
}; | |
var kP = function(a, b, c) { | |
jt(a.g, pC) && lP(a.g.get(pC), b.Wi()); | |
var d = a.g.get(Ek), | |
e = a.g.get(vC), | |
g = b.i; | |
e.update(!V(d, "fcf") && !V(d, "rlb") && g.h, g.i); | |
a: { | |
e = a.g.get(oC); | |
for (var h = g.g, k = zN(e.h), m = 0; m < k; m++) { | |
var p = yN(e.h, m); | |
if (Ld(Dd(h).sort(), Dd(p.sb()).sort())) { | |
LN(e.h, m); | |
break a | |
} | |
} | |
LN(e.h, 0) | |
} | |
a.setTitle(b); | |
bP(a.g.get(xC), b, c); | |
c = a.g.get(rC); | |
e = b.df(); | |
h = a.g.get(wC); | |
if (d = V(d, "fcf") && !V(d, "rlb") && a.h.bb && null != e && !("themes" == e.id || 0 == e.id.indexOf("theme/") || "recommended_for_you" == e.id)) { | |
a: { | |
d = se(ou); | |
for (k = 0; k < d.length; k++) | |
if ("collection/" + | |
d[k] == e.id) { | |
d = !0; | |
break a | |
} d = !1 | |
} | |
d = !d | |
} | |
T(U(h, "h-O-j-hd-M"), d && 0 == b.Wi()); | |
c.Ib(e); | |
d = a.g.get(tC); | |
(c = b.Cm()) ? (d.h.setValue(c), d.Jg()) : d.clear(); | |
c = a.g.get(O); | |
e = mP(a); | |
a: { | |
switch (c.getContainer()) { | |
case 4: | |
case 3: | |
case 8: | |
case 9: | |
c = "Search add-ons"; | |
break a | |
} | |
c = eF(e && ms(e).id) | |
} | |
d = d.h; | |
e = d.s(); | |
NE() ? (e && (e.placeholder = c), d.i = c) : QE(d) || (e && (e.value = ""), d.i = c, d.u()); | |
e && KD(e, "label", d.i); | |
jt(a.g, nC) && (a = a.g.get(nC), a.Ib(b.df()), nP(a, g.g)) | |
}; | |
$O.prototype.setTitle = function(a) { | |
document.title = a.Ph() | |
}; | |
var oP = function(a, b) { | |
os(b, function(g) { | |
var h = new cN(g, g.o); | |
g = Js(g); | |
a.j.set(Bs(g), h) | |
}); | |
for (var c = se(ou), d = 0; d < c.length; ++d) { | |
var e = new eN(c[d], a.w, b, a.w.o); | |
a.j.set(Bs(Js(e.g)), e) | |
} | |
}; | |
$O.prototype.start = function() { | |
var a = this.g.get(O); | |
this.w = a.aa; | |
this.i = Js(this.w); | |
oP(this, a.o); | |
this.u.h(); | |
jt(this.g, nC) && El(this.g.get(nC), "s", this.aa, !1, this); | |
var b = this.g.get(tC); | |
b && El(b, $E, this.A, !1, this); | |
El(this.g.get(oC), "r", this.J, !1, this); | |
az(a) | |
}; | |
$O.prototype.L = function(a) { | |
a = Hs(a.token); | |
qH(this, a) | |
}; | |
$O.prototype.aa = function() { | |
if ("search" === this.ib.g) this.g.get(tC).h.getValue().trim() && this.A(null); | |
else { | |
var a = this.g.get(nC); | |
pP(this, qP(a)) | |
} | |
}; | |
var mP = function(a) { | |
return a.h.P ? qs(a.g.get(O).o, "apps") : "search" === a.ib.g && jt(a.g, nC) ? a.g.get(nC).h : a.h.ma && null != a.o ? qs(a.g.get(O).o, a.o) : null | |
}; | |
$O.prototype.A = function(a) { | |
var b = void 0; | |
"search" === this.ib.g && jt(this.g, nC) && (b = qP(this.g.get(nC))); | |
var c = this.g.get(tC), | |
d = mP(this); | |
a = Ms(c.h.getValue(), d && d.id, b, a ? a.g : null); | |
qH(this, a) | |
}; | |
$O.prototype.J = function() { | |
var a = this.g.get(oC); | |
pP(this, a.h.getValue()) | |
}; | |
var pP = function(a, b) { | |
var c = Ds(a.ib); | |
qH(a, Ls(a.ib, new is(c.h, c.w, c.j, c.i, c.u, b))) | |
}, | |
rP = function(a, b) { | |
a = Bo(fa(), a); | |
return Hs(a, b) | |
}; | |
$O.prototype.Yf = function(a, b, c) { | |
var d = a.href; | |
a = a.target; | |
var e = mo(ca(this.T).location.href), | |
g = mo(d); | |
e = e[3] == g[3] && e[1] == g[1] && e[4] == g[4] && 0 == no(mo(d)[5] || null).indexOf(fa()); | |
if ("_blank" == a || c && (ql(c, 1) || c.shiftKey || c.h)) return e && this.h.J && "_blank" != a ? !1 : !0; | |
if (e) b = rP(d, b), qH(this, b); | |
else return !0; | |
return !1 | |
}; | |
var sP = function(a, b, c) { | |
b = c || b; | |
c = a.Wo; | |
var d = a.Qc, | |
e = a.Mo; | |
a = a.Vo; | |
e = '<div class="' + x("Db-f") + '"><div class="' + x("f-w") + " " + x("Db-f-w") + '">' + kG({ | |
N: "h-Db-f-kb-c" | |
}) + "<h3>" + A(e) + '</h3></div><div class="' + x("f-x") + " " + x("Db-f-x") + '"><div class="' + x("Db-f-db") + '">' + A(c) + "</div>"; | |
a && (e += '<span class="' + x("Db-f-Db-W-c") + " " + x("Db-f-Vd-W") + '">', e = e + 'Show details</span><span class="' + (x("Db-f-Db-W-c") + " " + x("Db-f-ZYIfFd-W") + " " + x("Pa") + '">'), e = e + 'Hide details</span><p class="' + (x("Db-f-Db-W") + " " + x("Pa") + '">' + | |
A(a) + "</p>")); | |
Rp(c, "NETWORK_FAILED") && (e += '<div><a href="https://support.google.com/chrome/?p=network_failed">Learn more</a></div>'); | |
e += '<div class="' + x("f-Jb") + " " + x("Db-f-Jb") + '">' + R("t", !1)({ | |
Qc: d | |
}, b) + "</div></div></div>"; | |
return y(e) | |
}; | |
Q("t", 0, function(a, b, c) { | |
b = c || b; | |
return y(ED({ | |
N: "f-c-zb", | |
Ha: a.Qc | |
}, b) + FD(b)) | |
}); | |
var tP = function(a, b, c, d, e) { | |
e = void 0 === e ? null : e; | |
d = d || function(g) { | |
g && window.location.reload(!0) | |
}; | |
c || (c = new Zx, c.i = "An error has occurred"); | |
nG.call(this, a, b, d, c); | |
this.j = e | |
}; | |
B(tP, nG); | |
tP.prototype.O = function() { | |
var a = this; | |
nG.prototype.O.call(this); | |
var b = U(this, "Db-f-Vd-W"); | |
b && this.B().listen(b, "click", function() { | |
uP(a) | |
}); | |
(b = U(this, "Db-f-ZYIfFd-W")) && this.B().listen(b, "click", function() { | |
uP(a) | |
}) | |
}; | |
tP.prototype.S = function() { | |
nG.prototype.S.call(this); | |
var a = { | |
Wo: this.ei, | |
Qc: this.h.h, | |
Mo: this.h.i, | |
Vo: this.j | |
}; | |
Nq(this.i, this.s(), sP, a) | |
}; | |
var uP = function(a) { | |
var b = U(a, "Db-f-Vd-W"), | |
c = U(a, "Db-f-ZYIfFd-W"); | |
du(U(a, "Db-f-Db-W")); | |
du(b); | |
du(c) | |
}; | |
var vP = function(a) { | |
this.i = a; | |
this.g = null | |
}, | |
Wz = function(a, b, c, d, e) { | |
if (a.g) return !1; | |
a.g = new tP(a.i, b, c, d, e); | |
a.g.ja(!0); | |
El(a.g, "dismiss", function() { | |
a.g = null | |
}); | |
return !0 | |
}; | |
var wP = function(a) { | |
var b = a.I && (a.I.K || a.I); | |
null == a.ck || cd(a.ck); | |
a = a.ck; | |
b = '<div class="' + x("e-f-b-x") + " " + x("t-b") + '"><div class="' + x("t-b-ha-cb-n") + '"></div><div class="' + x("t-b-ha-cb-p") + '"></div><div class="' + x("t-b-ha-cb-O") + '"></div><div class="' + x("t-b-ha") + " " + x("Ka-Ia-j") + '"><div class="' + x("t-b-p-j") + '"><div class="' + x("t-b-p-j-w") + '">' + A(b.D().getTitle()) + '</div><div class="' + x("t-b-p-j-Oa") + '">' + A(Ii(b.D())) + "</div>"; | |
if (a && 0 < a.length) { | |
b += '<div class="' + x("D-K-xc") + '"></div><div class="' + | |
x("t-b-p-j-mb") + '">'; | |
b = b + 'More collections:</div><div class="' + (x("t-b-p-j-Zl-fb") + '">'); | |
for (var c = a.length, d = 0; d < c; d++) { | |
var e = a[d]; | |
b += '<a class="' + x("t-b-t-y") + '" href="' + x(S(l(e, 12))) + '">' + A(e.getTitle()) + "</a>" | |
} | |
b += "</div>" | |
} | |
b += '</div><div class="' + x("h-t-b-ha") + " " + x("t-b-ha-k") + '"></div></div><div class="' + x("t-b-ha-cb-Kc") + '"></div></div>'; | |
return y(b) | |
}; | |
var xP = function(a, b, c) { | |
b = c || b; | |
c = a.I && (a.I.K || a.I); | |
var d = a.Ic; | |
a = y; | |
d = '<div class="' + x("e-f") + '">' + Yx({ | |
I: c, | |
Ic: d | |
}) + kG({ | |
N: "h-e-f-kb-c" | |
}) + '<div class="' + x("e-f-o") + '">'; | |
var e = c && (c.K || c); | |
e = y('<div class="' + x("KHRcsd") + '"></div><div class="' + x("Q2MYwd") + '"><h1 class="' + x("GYXoZe") + '">' + A(e.D().getTitle()) + '</h1></div><div class="' + x("h-e-f-Ra-c") + " " + x("e-f-oh-Md-zb-k") + '"></div>'); | |
d = d + e + '</div><div class="' + x("e-f-pa") + '">'; | |
e = '<div class="' + x("e-f-b-j") + " " + x("g-b-j") + " " + x("g-b-j-O") + '"><div class="' + | |
x("h-e-f-t-b") + " " + x("e-f-b") + " " + x("g-b") + " " + x("g-b-Fa") + '" tabContent="' + x("h-e-f-t-b-x") + '"><div class="' + x("e-f-b-L-k") + '"><div class="' + x("e-f-b-L") + '">'; | |
e = e + 'Collection</div></div></div><div class="' + (x("h-e-f-z-b") + " " + x("e-f-b") + " " + x("g-b") + '" tabContent="' + x("h-e-f-z-b-x") + '"><div class="' + x("e-f-b-L-k") + '"><div class="' + x("e-f-b-L") + '">'); | |
e = e + 'Reviews</div></div></div><div class="' + (x("h-e-f-b-Ni") + " " + x("e-f-b") + '"></div></div><div class="' + x("g-b-j-Sc") + '"></div>'); | |
e = y(e); | |
d += e; | |
c = c && | |
(c.K || c); | |
b = y('<div class="' + x("h-e-f-b-Qe") + '"><div class="' + x("h-e-f-t-b-x") + '">' + wP({ | |
I: c | |
}, b) + '</div><div class="' + x("h-e-f-z-b-x") + " " + x("Pa") + '"></div></div>'); | |
return a(d + b + '</div><div class="' + x("e-f-Ib-n") + '"></div><div class="' + x("e-f-Ib-p") + '"></div></div>') | |
}; | |
var yP = function(a, b, c) { | |
c = void 0 === c ? [] : c; | |
Z.call(this, a); | |
this.h = b; | |
this.o = c; | |
this.j = new Map | |
}; | |
B(yP, Z); | |
yP.prototype.oa = function(a) { | |
Z.prototype.oa.call(this, a); | |
Nq(this.i, a, wP, { | |
I: this.h, | |
ck: this.o | |
}); | |
a = Gi(Qi(this.h.D())); | |
for (var b = U(this, "h-t-b-ha"), c = 0; c < a.length; ++c) | |
if (Hi(a[c])) { | |
var d = new hL(this.v, "M", a[c], 2, "collection_detail"); | |
this.ia(d); | |
d.render(b); | |
this.j.set(a[c].Z(), d) | |
} | |
}; | |
var zP = function() { | |
return y('<div class="' + x("Yb") + '"></div>') | |
}, | |
AP = function(a) { | |
a = a || {}; | |
a = a.Fm; | |
return y(a ? A(a) : "") | |
}; | |
var BP = function(a, b, c, d) { | |
d = void 0 === d ? !1 : d; | |
Z.call(this, a); | |
this.j = d; | |
this.u = b; | |
this.o = c | |
}; | |
B(BP, Z); | |
BP.prototype.S = function() { | |
Z.prototype.S.call(this); | |
var a = Mq(this.i, zP); | |
Nq(this.i, a, this.u, this.o); | |
this.ba = a | |
}; | |
BP.prototype.O = function() { | |
Z.prototype.O.call(this); | |
var a = Xm(this.g, "Yb-kb-c", this.s()), | |
b = Xm(this.g, "Yb-xi", this.s()); | |
this.j && a && b && (b = this.B(), Lo(b, a, "click", this.h, !1, this)) | |
}; | |
BP.prototype.h = function() { | |
this.dispose() | |
}; | |
var CP = function(a) { | |
Z.call(this, a) | |
}; | |
B(CP, Z); | |
var EP = function(a, b, c, d, e) { | |
b = new BP(a.v, b, c, d); | |
var g = Qr(a); | |
a.ia(b, !0); | |
e && Nn(function() { | |
DP(this, g) | |
}, e, a) | |
}, | |
DP = function(a, b) { | |
if (dd(b)) | |
for (; a.w && 0 != a.w.length;) { | |
for (var c = Or(a, Nr(a) - 1), d = 0; d < b.length; d++) | |
if (c.getId() == b[d]) return; | |
a.removeChild(c, !0) | |
} | |
}; | |
var FP = function(a, b, c) { | |
c = void 0 === c ? !1 : c; | |
gG.call(this, a); | |
this.va = b; | |
this.pd = !c; | |
this.j = a.get(O); | |
this.Sb = a.get(qC); | |
this.Oa = null; | |
this.Fb = a.get(Bk); | |
this.A = new Ex; | |
this.P = new MO("top", new HO); | |
this.fa = "center"; | |
this.mb = a.get(Kb) | |
}; | |
B(FP, gG); | |
var GP = function(a, b) { | |
return a.aj().get(b) || null | |
}, | |
HP = function(a, b, c) { | |
if (a.ya()) c(); | |
else { | |
var d = a.j.w.ic(), | |
e = d.i.Qh(a.va); | |
0 > e ? (a.o = new HK(a.v, a.h.D(), "detailPage"), b()) : (d.g = e, sy(d, 1, function(g) { | |
var h = a.h.D(); | |
0 < g.length && (h = g[0]); | |
a.o = new HK(a.v, h, "detailPage"); | |
b() | |
}, c)) | |
} | |
}; | |
FP.prototype.D = function() { | |
return this.h.D() | |
}; | |
FP.prototype.Mh = function() { | |
return this.h.D().getTitle() + " - Chrome Web Store" | |
}; | |
FP.prototype.O = function() { | |
gG.prototype.O.call(this); | |
this.A.g.tick("startEnterDocument", void 0, void 0); | |
Tr(this, this.P, "e-f-b-j"); | |
var a = this.B(); | |
Lo(a, this.P, "select", this.zq, !1, this); | |
this.pd && this.Bg(); | |
co(this.v.get(zk), this.h); | |
nH(this.o, 7) | |
}; | |
var IP = function(a) { | |
a.Oa && DP(a.Sb, a.Oa) | |
}; | |
FP.prototype.Bg = function() { | |
this.Oa = Qr(this.Sb) | |
}; | |
var KP = function(a) { | |
JP(a, a.El()) | |
}, | |
JP = function(a, b) { | |
a.Tb = !0; | |
for (var c = 0; c < Nr(a.P); c++) { | |
var d = Or(a.P, c); | |
if (d.s().getAttribute("tabContent") === b.i) { | |
a.P.Ud(d); | |
a.Vm(b.g); | |
break | |
} | |
} | |
a.Tb = !1 | |
}; | |
f = FP.prototype; | |
f.zq = function(a) { | |
a = a.target.s().getAttribute("tabContent"); | |
if (this.Tb || this.Zj()) { | |
var b = this.$i().keys(); | |
b = nb(b); | |
for (var c = b.next(); !c.done; c = b.next())(c = U(this, c.value)) && c.classList.add("Pa"); | |
bu(U(this, a), "Pa") | |
} else b = this.P, a = 0 == Rr(b, b.vc) ? null : this.$i().get(a) || null, qH(this.mb, Ks(this.h.D(), a)) | |
}; | |
f.Zj = function() { | |
return !1 | |
}; | |
f.qa = function() { | |
gG.prototype.qa.call(this); | |
this.pd && IP(this) | |
}; | |
f.Z = function() { | |
return this.va | |
}; | |
f.ve = function() { | |
if ("center" == this.fa) gG.prototype.ve.call(this); | |
else { | |
var a = LP(this, this.fa); | |
ir(this.s(), a.x, a.y); | |
ir(this.u, a.x, a.y) | |
} | |
}; | |
var LP = function(a, b) { | |
if ("center" == b) return hG(a); | |
var c = rm(a.g.g) || window; | |
a = Vb(a.s()); | |
c = pm(c || window); | |
return new cm(Math.round("left" == b ? -a.width - 10 : c.width + 10), Math.round(Math.max(c.height / 2 - a.height / 2, 0))) | |
}; | |
var MP = function(a, b, c) { | |
b = c || b; | |
a = a || {}; | |
return y(R("u", !1)(a, b)) | |
}; | |
Q("u", 0, function(a, b, c) { | |
b = c || b; | |
a = a || {}; | |
var d = a.lc, | |
e = a.Zg, | |
g = a.xb; | |
c = y; | |
d = '<div class="' + x("ba-bc-Xb") + '"><div class="' + x("ba-ji-A") + (g ? " " + x("ba-ua-Se-Xb") : " " + x("ba-ua-zl-Xb")) + '">' + (d ? NP(a, b) : "") + '</div><div class="' + x("ba-bc-Xb-K") + '"><div class="' + x("ba-pa") + '">' + (d ? OP(a, b) : "") + '</div><div class="' + x("ba-bc-Xb-cd") + '">' + PP(a); | |
e ? (g = a || {}, g = g.xb, g = '<a tabindex="0" class="' + x("z-b-ob-y") + (g ? " " + x("Pa") : "") + '">', g = y(g + "Reply</a>")) : g = ""; | |
d += g; | |
g = a || {}; | |
g = g.xb; | |
g = '<a class="' + x("ba-Eb-xe-ba") + (g ? " " + x("Pa") : | |
"") + '">'; | |
g = y(g + "Delete</a>"); | |
d += g; | |
a = a || {}; | |
a = a.xb; | |
a = '<div class="' + x("Da-ub") + (a ? " " + x("Pa") : "") + '"> | <a tabindex="0" class="' + x("Aa") + " " + x("Da-ub-y") + '">'; | |
a = y(a + "Mark as spam or abuse</a></div>"); | |
a = d + a + "</div>"; | |
if (e) { | |
e = {}; | |
e = e.Be; | |
d = '<div class="' + x("yb-ba-Eb-k") + '"><div class="' + x("Fg-b-ob-k") + " " + x("Pa") + '">'; | |
d += '<textarea class="' + x("Fg-b-ob-Gc") + '" rows="5" maxlength="4096" aria-label="' + x("Write your reply") + '" placeholder="' + x("Write your reply") + '"></textarea><div class="' + x("Od") + '"></div><div class="' + | |
x("Fg-b-ob-Jb-k") + '"><input type="button" value="'; | |
d += $p("Cancel"); | |
d += '" class="' + x("g-c") + " " + x("g-c-Ya") + " " + x("Aa") + " " + x("Fg-b-ob-Fb-c") + '"> <input type="button" value="'; | |
d += $p("Post"); | |
d += '" class="' + x("g-c") + " " + x("g-c-wb") + " " + x("Aa") + " " + x("Fg-b-ob-qd-c") + '"></div></div></div><div class="' + x("Od") + '"></div><div class="' + x("Fg-b-ob-fb") + '">'; | |
if (e) { | |
g = e.ff; | |
for (var h = g.length, k = 0; k < h; k++) d += MP({ | |
lc: g[k] | |
}, b) | |
} | |
d += '</div><div class="' + x("Fg-b-mb-Fk") + " " + (e && e.Rd && e.Rd.vh ? "" : x("Pa")) + '"><a>'; | |
b = y(d + | |
"Load more replies</a></div>") | |
} else b = ""; | |
return c(a + b + "</div></div>") | |
}); | |
var NP = function(a) { | |
a = a.lc; | |
return y(a ? '<img src="' + (Tp(a.wc) && Tp(a.wc.ci) ? x(lq(a.wc.ci)) : "https://www.gstatic.com/s2/contacts/images/NoPicture.gif") + '" class="' + x("Lg-ee-A-O-xb") + '" alt=""/>' : "") | |
}, | |
OP = function(a) { | |
a = a.lc; | |
var b = '<span class="' + x("comment-thread-displayname") + '" dir="auto">'; | |
b = Tp(a.wc) && Tp(a.wc.userName) ? b + A(a.wc.userName) : b + "A Google User"; | |
b += '</span><span class="' + x("ba-Eb-Nf") + '">'; | |
if (a.Kh) { | |
var c = "Modified " + A(a.Kh); | |
b += c | |
} else b += A(a.ml); | |
b += "</span>"; | |
if (0 < a.tb) { | |
b += '<div class="' + x("ba-Eb-N") + | |
'"><div class="' + x("rsw-stars") + '" aria-label="'; | |
c = uI(new oc("{RATING_1,plural,=1{1 star}other{{RATING_2} stars}}"), { | |
RATING_1: a.tb, | |
RATING_2: x(a.tb) | |
}); | |
b += $p(c); | |
c = c = { | |
tb: a.tb | |
}; | |
c = c.tb; | |
for (var d = "", e = 0; 5 > e; e++) { | |
var g = e; | |
d += '<div class="' + (c > g + .75 ? x("rsw-starred") : c > g + .25 ? x("rsw-half-starred") : x("rsw-unstarred")) + '" aria-hidden="true"></div>' | |
} | |
c = y(d); | |
b += '">' + c + "</div></div>" | |
} | |
b += '<br><div class="' + x("ba-Eb-ba") + '" dir="auto">' + A(a.comment) + "</div>"; | |
return y(b) | |
}, | |
PP = function(a) { | |
a = a || {}; | |
var b = a.xb; | |
a = a.wn; | |
b = '<div class="' + | |
x("bd-Ob") + " " + x("Aa") + (b ? " " + x("Pa") : "") + '"><div class="' + x("bd-Ob-L") + " " + x("dd") + '">'; | |
b += "Was this review helpful?</div>"; | |
window.console.log("Vote status: " + A(a)); | |
b += '<label class="' + x("voting-editor-button") + " " + x("XzMRXd-sn") + '"><input class="' + x("XzMRXd-sn-lc") + " " + x("XzMRXd-lc") + '" type="radio"' + (a ? " checked" : "") + ">"; | |
b = b + 'Yes</label><label class="' + (x("voting-editor-button") + " " + x("XzMRXd-eb") + '"><input class="' + x("XzMRXd-eb-lc") + " " + x("XzMRXd-lc") + '" type="radio"' + (Rp(a, !1) ? " checked" : "") + | |
">"); | |
return y(b + "No</label></div>") | |
}; | |
var QP = { | |
Ln: ["BC", "AD"], | |
Kn: ["Before Christ", "Anno Domini"], | |
co: "JFMAMJJASOND".split(""), | |
qo: "JFMAMJJASOND".split(""), | |
Yn: "January February March April May June July August September October November December".split(" "), | |
po: "January February March April May June July August September October November December".split(" "), | |
ko: "Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "), | |
so: "Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "), | |
yo: "Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), | |
uo: "Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), | |
mo: "Sun Mon Tue Wed Thu Fri Sat".split(" "), | |
to: "Sun Mon Tue Wed Thu Fri Sat".split(" "), | |
Ss: "SMTWTFS".split(""), | |
ro: "SMTWTFS".split(""), | |
lo: ["Q1", "Q2", "Q3", "Q4"], | |
ho: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"], | |
yn: ["AM", "PM"], | |
wk: ["EEEE, MMMM d, y", "MMMM d, y", "MMM d, y", "M/d/yy"], | |
Mk: ["h:mm:ss a zzzz", "h:mm:ss a z", "h:mm:ss a", "h:mm a"], | |
En: ["{1} 'at' {0}", "{1} 'at' {0}", "{1}, {0}", "{1}, {0}"], | |
zk: 6, | |
dt: [5, 6], | |
Ak: 5 | |
}, | |
RP = QP; | |
RP = QP; | |
var SP = function() {}, | |
UP = function(a) { | |
if ("number" == typeof a) { | |
var b = new SP; | |
b.h = a; | |
var c = a; | |
if (0 == c) c = "Etc/GMT"; | |
else { | |
var d = ["Etc/GMT", 0 > c ? "-" : "+"]; | |
c = Math.abs(c); | |
d.push(Math.floor(c / 60) % 100); | |
c %= 60; | |
0 != c && d.push(":", jg(c, 2)); | |
c = d.join("") | |
} | |
b.j = c; | |
c = a; | |
0 == c ? c = "UTC" : (d = ["UTC", 0 > c ? "+" : "-"], c = Math.abs(c), d.push(Math.floor(c / 60) % 100), c %= 60, 0 != c && d.push(":", c), c = d.join("")); | |
a = TP(a); | |
b.w = [c, c]; | |
b.g = { | |
Ys: a, | |
Lk: a | |
}; | |
b.i = []; | |
return b | |
} | |
b = new SP; | |
b.j = a.id; | |
b.h = -a.std_offset; | |
b.w = a.names; | |
b.g = a.names_ext; | |
b.i = a.transitions; | |
return b | |
}, | |
TP = | |
function(a) { | |
var b = ["GMT"]; | |
b.push(0 >= a ? "+" : "-"); | |
a = Math.abs(a); | |
b.push(jg(Math.floor(a / 60) % 100, 2), ":", jg(a % 60, 2)); | |
return b.join("") | |
}, | |
VP = function(a, b) { | |
b = Date.UTC(b.getUTCFullYear(), b.getUTCMonth(), b.getUTCDate(), b.getUTCHours(), b.getUTCMinutes()) / 36E5; | |
for (var c = 0; c < a.i.length && b >= a.i[c];) c += 2; | |
return 0 == c ? 0 : a.i[c - 1] | |
}; | |
var WP = /^(\d{4})(?:(?:-?(\d{2})(?:-?(\d{2}))?)|(?:-?(\d{3}))|(?:-?W(\d{2})(?:-?([1-7]))?))?$/, | |
XP = /^(\d{2})(?::?(\d{2})(?::?(\d{2})(\.\d+)?)?)?$/, | |
YP = /Z|(?:([-+])(\d{2})(?::?(\d{2}))?)$/, | |
ZP = function(a, b) { | |
b = b || new Date(tc()); | |
var c; | |
if (c = a.getDate() == b.getDate()) | |
if (b = b || new Date(tc()), c = a.getMonth() == b.getMonth()) b = b || new Date(tc()), c = a.getFullYear() == b.getFullYear(); | |
return c | |
}, | |
$P = function(a, b, c, d, e) { | |
a = new Date(a, b, c); | |
e = e || 0; | |
return a.valueOf() + 864E5 * (((void 0 !== d ? d : 3) - e + 7) % 7 - ((a.getDay() + 6) % 7 - e + 7) % 7) | |
}, | |
aQ = function(a) { | |
this.j = this.o = 0; | |
this.g = a; | |
this.w = this.h = this.i = 0 | |
}; | |
aQ.prototype.add = function(a) { | |
this.o += a.o; | |
this.j += a.j; | |
this.g += a.g; | |
this.i += a.i; | |
this.h += a.h; | |
this.w += a.w | |
}; | |
var dQ = function(a, b, c) { | |
"number" === typeof a ? (this.g = bQ(a, b || 0, c || 1), cQ(this, c || 1)) : fd(a) ? (this.g = bQ(a.getFullYear(), a.getMonth(), a.getDate()), cQ(this, a.getDate())) : (this.g = new Date(tc()), a = this.g.getDate(), this.g.setHours(0), this.g.setMinutes(0), this.g.setSeconds(0), this.g.setMilliseconds(0), cQ(this, a)) | |
}, | |
bQ = function(a, b, c) { | |
b = new Date(a, b, c); | |
0 <= a && 100 > a && b.setFullYear(b.getFullYear() - 1900); | |
return b | |
}; | |
f = dQ.prototype; | |
f.getFullYear = function() { | |
return this.g.getFullYear() | |
}; | |
f.getYear = function() { | |
return this.getFullYear() | |
}; | |
f.getMonth = function() { | |
return this.g.getMonth() | |
}; | |
f.getDate = function() { | |
return this.g.getDate() | |
}; | |
f.getTime = function() { | |
return this.g.getTime() | |
}; | |
f.getDay = function() { | |
return this.g.getDay() | |
}; | |
f.getUTCFullYear = function() { | |
return this.g.getUTCFullYear() | |
}; | |
f.getUTCMonth = function() { | |
return this.g.getUTCMonth() | |
}; | |
f.getUTCDate = function() { | |
return this.g.getUTCDate() | |
}; | |
f.getUTCDay = function() { | |
return this.g.getDay() | |
}; | |
f.getUTCHours = function() { | |
return this.g.getUTCHours() | |
}; | |
f.getUTCMinutes = function() { | |
return this.g.getUTCMinutes() | |
}; | |
f.getTimezoneOffset = function() { | |
return this.g.getTimezoneOffset() | |
}; | |
f.set = function(a) { | |
this.g = new Date(a.getFullYear(), a.getMonth(), a.getDate()) | |
}; | |
f.setFullYear = function(a) { | |
this.g.setFullYear(a) | |
}; | |
f.setYear = function(a) { | |
this.setFullYear(a) | |
}; | |
f.setMonth = function(a) { | |
this.g.setMonth(a) | |
}; | |
f.setDate = function(a) { | |
this.g.setDate(a) | |
}; | |
f.setTime = function(a) { | |
this.g.setTime(a) | |
}; | |
f.setUTCFullYear = function(a) { | |
this.g.setUTCFullYear(a) | |
}; | |
f.setUTCMonth = function(a) { | |
this.g.setUTCMonth(a) | |
}; | |
f.setUTCDate = function(a) { | |
this.g.setUTCDate(a) | |
}; | |
f.add = function(a) { | |
if (a.o || a.j) { | |
var b = this.getMonth() + a.j + 12 * a.o, | |
c = this.getYear() + Math.floor(b / 12); | |
b %= 12; | |
0 > b && (b += 12); | |
a: { | |
switch (b) { | |
case 1: | |
var d = 0 != c % 4 || 0 == c % 100 && 0 != c % 400 ? 28 : 29; | |
break a; | |
case 5: | |
case 8: | |
case 10: | |
case 3: | |
d = 30; | |
break a | |
} | |
d = 31 | |
} | |
d = Math.min(d, this.getDate()); | |
this.setDate(1); | |
this.setFullYear(c); | |
this.setMonth(b); | |
this.setDate(d) | |
} | |
a.g && (a = new Date((new Date(this.getYear(), this.getMonth(), this.getDate(), 12)).getTime() + 864E5 * a.g), this.setDate(1), this.setFullYear(a.getFullYear()), this.setMonth(a.getMonth()), | |
this.setDate(a.getDate()), cQ(this, a.getDate())) | |
}; | |
f.jh = function(a) { | |
return [this.getFullYear(), jg(this.getMonth() + 1, 2), jg(this.getDate(), 2)].join(a ? "-" : "") | |
}; | |
f.toString = function() { | |
return this.jh() | |
}; | |
var cQ = function(a, b) { | |
a.getDate() != b && a.g.setUTCHours(a.g.getUTCHours() + (a.getDate() < b ? 1 : -1)) | |
}; | |
dQ.prototype.valueOf = function() { | |
return this.g.valueOf() | |
}; | |
var eQ = function(a, b, c, d, e, g, h) { | |
this.g = "number" === typeof a ? new Date(a, b || 0, c || 1, d || 0, e || 0, g || 0, h || 0) : new Date(a && a.getTime ? a.getTime() : tc()) | |
}; | |
E(eQ, dQ); | |
f = eQ.prototype; | |
f.getHours = function() { | |
return this.g.getHours() | |
}; | |
f.getMinutes = function() { | |
return this.g.getMinutes() | |
}; | |
f.getSeconds = function() { | |
return this.g.getSeconds() | |
}; | |
f.getMilliseconds = function() { | |
return this.g.getMilliseconds() | |
}; | |
f.getUTCDay = function() { | |
return this.g.getUTCDay() | |
}; | |
f.getUTCHours = function() { | |
return this.g.getUTCHours() | |
}; | |
f.getUTCMinutes = function() { | |
return this.g.getUTCMinutes() | |
}; | |
f.getUTCSeconds = function() { | |
return this.g.getUTCSeconds() | |
}; | |
f.getUTCMilliseconds = function() { | |
return this.g.getUTCMilliseconds() | |
}; | |
f.setHours = function(a) { | |
this.g.setHours(a) | |
}; | |
f.setMinutes = function(a) { | |
this.g.setMinutes(a) | |
}; | |
f.setSeconds = function(a) { | |
this.g.setSeconds(a) | |
}; | |
f.setMilliseconds = function(a) { | |
this.g.setMilliseconds(a) | |
}; | |
f.setUTCHours = function(a) { | |
this.g.setUTCHours(a) | |
}; | |
f.setUTCMinutes = function(a) { | |
this.g.setUTCMinutes(a) | |
}; | |
f.setUTCSeconds = function(a) { | |
this.g.setUTCSeconds(a) | |
}; | |
f.setUTCMilliseconds = function(a) { | |
this.g.setUTCMilliseconds(a) | |
}; | |
f.add = function(a) { | |
dQ.prototype.add.call(this, a); | |
a.i && this.setUTCHours(this.g.getUTCHours() + a.i); | |
a.h && this.setUTCMinutes(this.g.getUTCMinutes() + a.h); | |
a.w && this.setUTCSeconds(this.g.getUTCSeconds() + a.w) | |
}; | |
f.jh = function(a) { | |
var b = dQ.prototype.jh.call(this, a); | |
return a ? b + "T" + jg(this.getHours(), 2) + ":" + jg(this.getMinutes(), 2) + ":" + jg(this.getSeconds(), 2) : b + "T" + jg(this.getHours(), 2) + jg(this.getMinutes(), 2) + jg(this.getSeconds(), 2) | |
}; | |
f.toString = function() { | |
return this.jh() | |
}; | |
var hQ = function(a) { | |
this.i = []; | |
this.g = RP; | |
"number" == typeof a ? fQ(this, a) : gQ(this, a) | |
}, | |
iQ = [/^'(?:[^']|'')*('|$)/, /^(?:G+|y+|Y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/, /^[^'GyYMkSEahKHcLQdmsvVwzZ]+/], | |
jQ = function(a) { | |
return a.getHours ? a.getHours() : 0 | |
}, | |
gQ = function(a, b) { | |
for (kQ && (b = b.replace(/\u200f/g, "")); b;) { | |
for (var c = b, d = 0; d < iQ.length; ++d) { | |
var e = b.match(iQ[d]); | |
if (e) { | |
var g = e[0]; | |
b = b.substring(g.length); | |
0 == d && ("''" == g ? g = "'" : (g = g.substring(1, "'" == e[1] ? g.length - 1 : g.length), g = g.replace(/''/g, "'"))); | |
a.i.push({ | |
text: g, | |
type: d | |
}); | |
break | |
} | |
} | |
if (c === b) throw Error("Eb`" + b); | |
} | |
}, | |
mQ = function(a, b, c) { | |
if (!b) throw Error("Fb"); | |
var d = c ? 6E4 * (b.getTimezoneOffset() - (c.h - VP(c, b))) : 0, | |
e = d ? new Date(b.getTime() + d) : b, | |
g = e; | |
c && e.getTimezoneOffset() != b.getTimezoneOffset() && (e = new Date(e.getTime() + 6E4 * (e.getTimezoneOffset() - b.getTimezoneOffset())), g = new Date(b.getTime() + (d + (0 < d ? -864E5 : 864E5)))); | |
d = []; | |
for (var h = 0; h < a.i.length; ++h) { | |
var k = a.i[h].text; | |
1 == a.i[h].type ? d.push(lQ(a, k, b, e, g, c)) : d.push(k) | |
} | |
return d.join("") | |
}, | |
fQ = function(a, | |
b) { | |
if (4 > b) var c = a.g.wk[b]; | |
else if (8 > b) c = a.g.Mk[b - 4]; | |
else if (12 > b) c = a.g.En[b - 8], c = c.replace("{1}", a.g.wk[b - 8]), c = c.replace("{0}", a.g.Mk[b - 8]); | |
else { | |
fQ(a, 10); | |
return | |
} | |
gQ(a, c) | |
}, | |
oQ = function(a, b) { | |
return nQ(b, a.g) | |
}, | |
kQ = !1, | |
nQ = function(a, b) { | |
a = String(a); | |
b = b || RP; | |
if (void 0 === b.Bo) return a; | |
for (var c = [], d = 0; d < a.length; d++) { | |
var e = a.charCodeAt(d); | |
c.push(48 <= e && 57 >= e ? String.fromCharCode(b.Bo + e - 48) : a.charAt(d)) | |
} | |
return c.join("") | |
}, | |
pQ = function(a) { | |
if (!(a.getHours && a.getSeconds && a.getMinutes)) throw Error("Gb"); | |
}, | |
lQ = function(a, | |
b, c, d, e, g) { | |
var h = b.length; | |
switch (b.charAt(0)) { | |
case "G": | |
return c = 0 < d.getFullYear() ? 1 : 0, 4 <= h ? a.g.Kn[c] : a.g.Ln[c]; | |
case "y": | |
return c = d.getFullYear(), 0 > c && (c = -c), 2 == h && (c %= 100), oQ(a, jg(c, h)); | |
case "Y": | |
return c = (new Date($P(d.getFullYear(), d.getMonth(), d.getDate(), a.g.Ak, a.g.zk))).getFullYear(), 0 > c && (c = -c), 2 == h && (c %= 100), oQ(a, jg(c, h)); | |
case "M": | |
a: switch (c = d.getMonth(), h) { | |
case 5: | |
h = a.g.co[c]; | |
break a; | |
case 4: | |
h = a.g.Yn[c]; | |
break a; | |
case 3: | |
h = a.g.ko[c]; | |
break a; | |
default: | |
h = oQ(a, jg(c + 1, h)) | |
} | |
return h; | |
case "k": | |
return pQ(e), | |
oQ(a, jg(jQ(e) || 24, h)); | |
case "S": | |
return oQ(a, (e.getMilliseconds() / 1E3).toFixed(Math.min(3, h)).substr(2) + (3 < h ? jg(0, h - 3) : "")); | |
case "E": | |
return c = d.getDay(), 4 <= h ? a.g.yo[c] : a.g.mo[c]; | |
case "a": | |
return pQ(e), h = jQ(e), a.g.yn[12 <= h && 24 > h ? 1 : 0]; | |
case "h": | |
return pQ(e), oQ(a, jg(jQ(e) % 12 || 12, h)); | |
case "K": | |
return pQ(e), oQ(a, jg(jQ(e) % 12, h)); | |
case "H": | |
return pQ(e), oQ(a, jg(jQ(e), h)); | |
case "c": | |
a: switch (c = d.getDay(), h) { | |
case 5: | |
h = a.g.ro[c]; | |
break a; | |
case 4: | |
h = a.g.uo[c]; | |
break a; | |
case 3: | |
h = a.g.to[c]; | |
break a; | |
default: | |
h = oQ(a, jg(c, 1)) | |
} | |
return h; | |
case "L": | |
a: switch (c = d.getMonth(), h) { | |
case 5: | |
h = a.g.qo[c]; | |
break a; | |
case 4: | |
h = a.g.po[c]; | |
break a; | |
case 3: | |
h = a.g.so[c]; | |
break a; | |
default: | |
h = oQ(a, jg(c + 1, h)) | |
} | |
return h; | |
case "Q": | |
return c = Math.floor(d.getMonth() / 3), 4 > h ? a.g.lo[c] : a.g.ho[c]; | |
case "d": | |
return oQ(a, jg(d.getDate(), h)); | |
case "m": | |
return pQ(e), oQ(a, jg(e.getMinutes(), h)); | |
case "s": | |
return pQ(e), oQ(a, jg(e.getSeconds(), h)); | |
case "v": | |
return h = g || UP(c.getTimezoneOffset()), h.j; | |
case "V": | |
return a = g || UP(c.getTimezoneOffset()), 2 >= h ? a.j : 0 < VP(a, c) ? void 0 !== a.g.Gn ? a.g.Gn : a.g.DST_GENERIC_LOCATION : | |
void 0 !== a.g.Lk ? a.g.Lk : a.g.STD_GENERIC_LOCATION; | |
case "w": | |
return c = $P(e.getFullYear(), e.getMonth(), e.getDate(), a.g.Ak, a.g.zk), oQ(a, jg(Math.floor(Math.round((c - (new Date((new Date(c)).getFullYear(), 0, 1)).valueOf()) / 864E5) / 7) + 1, h)); | |
case "z": | |
return a = g || UP(c.getTimezoneOffset()), 4 > h ? a.w[0 < VP(a, c) ? 2 : 0] : a.w[0 < VP(a, c) ? 3 : 1]; | |
case "Z": | |
return b = g || UP(c.getTimezoneOffset()), 4 > h ? (h = -(b.h - VP(b, c)), a = [0 > h ? "-" : "+"], h = Math.abs(h), a.push(jg(Math.floor(h / 60) % 100, 2), jg(h % 60, 2)), h = a.join("")) : h = oQ(a, TP(b.h - VP(b, c))), | |
h; | |
default: | |
return "" | |
} | |
}; | |
var qQ = function(a, b) { | |
Z.call(this, a); | |
this.j = a.get(O); | |
this.H = b; | |
this.u = 0 == this.H.lastIndexOf("http://", 0); | |
this.h = null; | |
this.A = ""; | |
this.o = null | |
}; | |
B(qQ, Z); | |
qQ.prototype.S = function() { | |
var a = this; | |
Z.prototype.S.call(this); | |
var b = this.j.se() || this.j.$e(); | |
Nq(this.i, this.s(), MP, { | |
Zg: this.u && !b | |
}); | |
this.u && (b || ((b = U(this, "z-b-ob-y")) && rQ(this, b, function() { | |
sQ(a) && (X(U(a, "Fg-b-ob-k"), "Pa", !1), U(a, "Fg-b-ob-Gc").focus()) | |
}), this.B().listen(U(this, "Fg-b-ob-qd-c"), "click", D(this.ca, this)), this.B().listen(U(this, "Fg-b-ob-Fb-c"), "click", function() { | |
X(U(a, "Fg-b-ob-k"), "Pa", !0) | |
})), (b = U(this, "mb-Fk-c")) && rQ(this, b, D(this.U, this))); | |
(b = U(this, "XzMRXd-sn-lc")) && this.B().listen(b, | |
"change", | |
function() { | |
sQ(a) && tQ(a, !0) | |
}); | |
(b = U(this, "XzMRXd-eb-lc")) && this.B().listen(b, "change", function() { | |
sQ(a) && tQ(a, !1) | |
}); | |
(b = U(this, "Da-ub-y")) && rQ(this, b, function() { | |
sQ(a) && uQ(a) | |
}); | |
(b = U(this, "ba-Eb-xe-ba")) && rQ(this, b, function() { | |
sQ(a) && vQ(a) | |
}) | |
}; | |
var xQ = function(a, b) { | |
a.h = b; | |
var c = U(a, "Fg-b-ob-fb"); | |
c && (zm(c), X(U(a, "Fg-b-ob-k"), "Pa", !0), U(a, "Fg-b-ob-Gc").value = ""); | |
if (a.h) { | |
c = wQ(a, a.h); | |
X(a.s(), "Pa", !1); | |
a.A = Oh(b) && Mh(Oh(b)) ? gh(Mh(Oh(b)), 3, "") : ""; | |
Nq(a.i, U(a, "ba-ji-A"), NP, { | |
lc: c | |
}); | |
Nq(a.i, U(a, "ba-pa"), OP, { | |
lc: c | |
}); | |
null != l(b, 9) && Nh(Oh(b)).length && a.J(Oh(b) || new Jh); | |
if (null != l(b, 11) && (c = mh(b, Fh, 11))) { | |
X(U(a, "ba-ji-A"), "ba-ua-Se-Xb", Gh(c)); | |
X(U(a, "ba-ji-A"), "ba-ua-zl-Xb", !Gh(c)); | |
X(U(a, "bd-Ob"), "Pa", Gh(c)); | |
X(U(a, "Da-ub"), "Pa", Gh(c)); | |
X(U(a, "ba-Eb-xe-ba"), "Pa", | |
a.u || !Gh(c)); | |
c = gh(c, 2, 0); | |
U(a, "XzMRXd-sn-lc").checked = 1 === c; | |
U(a, "XzMRXd-eb-lc").checked = 2 === c; | |
var d = U(a, "XzMRXd-eb"); | |
X(U(a, "XzMRXd-sn"), "bd-Ob-Bd", 1 === c); | |
X(d, "bd-Ob-Bd", 2 === c) | |
} | |
b = "vote_" + Qh(b); | |
c = U(a, "XzMRXd-eb-lc"); | |
U(a, "XzMRXd-sn-lc").setAttribute("name", b); | |
c.setAttribute("name", b) | |
} else X(a.s(), "Pa", !0) | |
}, | |
rQ = function(a, b, c) { | |
a.B().listen(b, "click", c); | |
a.B().listen(b, "keydown", function(d) { | |
d.altKey || d.ctrlKey || d.metaKey || d.shiftKey || 32 !== d.keyCode && 13 !== d.keyCode || c() | |
}) | |
}; | |
qQ.prototype.ca = function() { | |
if (this.h) { | |
var a = $d(U(this, "Fg-b-ob-Gc").value); | |
if (a) { | |
var b = new Lh; | |
Rh(b, Qh(this.h)); | |
jh(b, 4, a); | |
Sh(b, Wy(this.j)); | |
Jz(this.j, b, D(this.X, this), function() {}) | |
} | |
} | |
}; | |
qQ.prototype.X = function(a) { | |
var b = new qQ(this.v, Qh(this.h)), | |
c = Fm(U(this, "Fg-b-ob-fb")); | |
c ? Kr(b, c.parentNode, c) : b.render(U(this, "Fg-b-ob-fb")); | |
xQ(b, a); | |
X(U(this, "Fg-b-ob-k"), "Pa", !0); | |
U(this, "Fg-b-ob-Gc").value = "" | |
}; | |
qQ.prototype.U = function() { | |
var a = this; | |
if (this.h) { | |
X(U(this, "Fg-b-mb-Fk"), "Pa", !0); | |
var b = new Bh; | |
lh(b, 3, this.A); | |
ih(b, 1, 10, 0); | |
var c = new ci; | |
di(c, Qh(this.h)); | |
oh(c, 3, b); | |
Ez(this.j, c, D(this.J, this), function() { | |
X(U(a, "Fg-b-mb-Fk"), "Pa", !1) | |
}) | |
} | |
}; | |
qQ.prototype.J = function(a) { | |
if (this.u) { | |
var b = U(this, "Fg-b-mb-Fk"); | |
b && X(b, "Pa", !(Mh(a) && hh(Mh(a), 1, !1))); | |
this.A = Mh(a) ? gh(Mh(a), 3, "") : ""; | |
a = Nh(a); | |
for (b = 0; b < a.length; ++b) { | |
var c = a[b], | |
d = new qQ(this.v, Qh(this.h)); | |
d.render(U(this, "Fg-b-ob-fb")); | |
xQ(d, c) | |
} | |
} | |
}; | |
var tQ = function(a, b) { | |
if (a.h) { | |
var c = new Th, | |
d = Qh(a.h); | |
jh(c, 1, d); | |
ih(c, 2, b, !1); | |
d = a.j; | |
var e = D(a.da, a, b), | |
g = D(a.P, a); | |
e = Fz(d, e, g); | |
dz(d, e); | |
Nv(e, fa() + "reviews/write_vote"); | |
Pv(e, c); | |
e.send(); | |
c = U(a, "XzMRXd-eb"); | |
X(U(a, "XzMRXd-sn"), "bd-Ob-Bd", b); | |
X(c, "bd-Ob-Bd", !b) | |
} | |
}; | |
qQ.prototype.da = function(a, b) { | |
b ? this.o = a : this.P() | |
}; | |
qQ.prototype.P = function() { | |
U(this, "XzMRXd-sn-lc").checked = !0 === this.o; | |
U(this, "XzMRXd-eb-lc").checked = !1 === this.o; | |
X(U(this, "XzMRXd-sn"), "bd-Ob-Bd", !0 === this.o); | |
X(U(this, "XzMRXd-eb"), "bd-Ob-Bd", !1 === this.o) | |
}; | |
var uQ = function(a) { | |
if (a.h) { | |
var b = new Wh; | |
Xh(b, Qh(a.h)); | |
jh(b, 2, a.H); | |
Gz(a.j, b, D(a.L, a), function() {}) | |
} | |
}, | |
vQ = function(a) { | |
if (a.h) { | |
var b = new Zh; | |
$h(b, Qh(a.h)); | |
ai(b, a.H); | |
Kz(a.j, b, D(a.L, a), function() {}) | |
} | |
}; | |
qQ.prototype.L = function(a) { | |
a && (new CJ(this.s(), 536)).play() | |
}; | |
var wQ = function(a, b) { | |
var c = Ph(void 0, b); | |
c.Fj != c.nl ? c.Kh = yQ(c.Fj) : c.ml = yQ(c.nl); | |
if (c.Be) | |
for (var d = 0; d < c.Be.ff.length; ++d) c.Be.ff[d] = wQ(a, Nh(Oh(b))[d]); | |
return c | |
}, | |
sQ = function(a) { | |
a.j.g.i || $f(window.location, Qy(a.j.g, window.location.url, void 0)); | |
return !!a.j.g.i | |
}, | |
zQ = new hQ(2), | |
yQ = function(a) { | |
var b = tc() - a; | |
if (2E3 > b) return "1 second ago"; | |
if (6E4 > b) return nQ(Math.floor(b / 1E3)) + " seconds ago"; | |
if (12E4 > b) return "1 minute ago"; | |
if (36E5 > b) return nQ(Math.floor(b / 6E4)) + " minutes ago"; | |
if (72E5 > b) return "1 hour ago"; | |
if (864E5 > | |
b) return nQ(Math.floor(b / 36E5)) + " hours ago"; | |
if (1728E5 > b) return "1 day ago"; | |
if (6048E5 > b) return nQ(Math.floor(b / 864E5)) + " days ago"; | |
b = new dQ; | |
b.setTime(a); | |
return mQ(zQ, b) | |
}; | |
var BQ = function(a, b, c) { | |
b = c || b; | |
a = '<div class="' + x("N-B-k") + '"><div class="' + x("pd-Ye-Qa") + '"><a class="' + x("Kf-Mc-y") + " " + x("g-c") + " " + x("g-c-Ya") + '" style="display:none;">'; | |
a += "Sign in to rate"; | |
b = '</a><div class="' + x("Pa") + " " + x("rsw-rating-label") + '"></div><div class="' + x("rsw-picker") + " " + x("pd-Ye-Qa") + '"><span class="' + x("rsw-picker-message") + '">' + A(AQ(null, b)) + '</span><div class="' + x("rsw-picker-stars") + '" id="reviews-star-rating"><a tabindex="0" class="' + x("rsw-picker-slider") + '" aria-valuenow="1" aria-valuemax="5" aria-valuemin="1" role="slider" aria-label="Provide a rating" aria-valuetext="' + | |
x(AQ(null, b)) + '"></a>' + GI() + '<a class="' + x("rsw-picker-remove") + '"></a></div></div><div class="' + x("ba-Ob") + " " + x("qh") + '"><div class="' + x("ba-ib-k") + " " + x("Pa") + '"><textarea tabindex="0" class="' + x("Ka-Ia-j-nb") + " " + x("Ka-Ia-j-Te") + " " + x("comment-box-textarea-default") + " " + x("ba-Ob-L-Rb") + '" rows="3" placeholder="' + x("Write a review (optional)") + '" aria-label="' + x("Write a review (optional)") + '" id="reviews-comment-box"></textarea>' + R("v", !1)(null, b) + "</div>" + R("w", !1)(null, b); | |
c = '<div class="' + x("nh-j") + | |
" " + x("Pa") + '"><div class="' + x("nh-j-db") + '">'; | |
c = c + 'Your review has been deleted.</div><input tabindex="0" class="' + (x("g-c") + " " + x("g-c-wb") + " " + x("g-c-Oc-td-jb-oa") + " " + x("N-B-c") + " " + x("N-B-ii-c") + " " + x("Aa") + ' " type="button" role="button" aria-label="'); | |
c += $p("Undo delete review"); | |
c = c + '" value="' + $p("Undo"); | |
c += '"><input tabindex="0" class="' + x("g-c") + " " + x("g-c-Ya") + " " + x("g-c-Oc-td-jb-oa") + " " + x("N-B-c") + " " + x("N-B-Xh-c") + " " + x("Aa") + ' " type="button" role="button" aria-label="'; | |
c += $p("Confirm delete review"); | |
c = c + '" value="' + $p("OK"); | |
c = y(c + '"></div>'); | |
return y(a + (b + c + "</div></div></div>")) | |
}; | |
Q("v", 0, function() { | |
var a = '<div><input tabindex="0" class="' + x("g-c") + " " + x("g-c-Lc") + " " + x("g-c-Oc-td-jb-oa") + " " + x("N-B-c") + " " + x("rating-picker-publish-button") + '" type="button" role="button" aria-label="'; | |
a += $p("Publish your review"); | |
a = a + '" id="reviews-publish-button" value="' + $p("Publish"); | |
a += '"/><input tabindex="0" class="' + x("g-c") + " " + x("g-c-Ya") + " " + x("g-c-Oc-td-jb-oa") + " " + x("N-B-c") + " " + x("N-B-Fb-c") + '" type="button" role="button" aria-label="'; | |
a += $p("Cancel your review"); | |
a = a + '" value="' + | |
$p("Cancel"); | |
a += '"/></div><div class="' + x("N-B-Db") + " " + x("Pa") + '">'; | |
return y(a + "An error occurred while publishing your review. Please try again later.</div>") | |
}); | |
Q("w", 0, function() { | |
var a = '<div class="' + x("N-B-Q") + " " + x("Pa") + '"><div class="' + x("ba-iQd6Fc-L") + '"></div><input tabindex="0" class="' + x("g-c") + " " + x("g-c-sc") + " " + x("g-c-Oc-td-jb-oa") + " " + x("N-B-c") + " " + x("N-B-xe-c") + " " + x("Aa") + ' " type="button" role="button" aria-label="'; | |
a += $p("Delete your review"); | |
a = a + '" value="' + $p("Delete"); | |
a += '"><input tabindex="0" class="' + x("g-c") + " " + x("g-c-wb") + " " + x("g-c-Oc-td-jb-oa") + " " + x("N-B-c") + " " + x("N-B-Q-c") + " " + x("Aa") + ' " type="button" role="button" aria-label="'; | |
a += $p("Edit your review"); | |
a = a + '" value="' + $p("Edit"); | |
return y(a + '"></div>') | |
}); | |
var AQ = function() { | |
return "Rate it..." | |
}, | |
DQ = function(a, b, c) { | |
return "Your rating: " + CQ(a, c || b) | |
}, | |
CQ = function(a) { | |
var b = ""; | |
a = a.tb; | |
switch (fd(a) ? a.toString() : a) { | |
case 5: | |
b += "Loved it"; | |
break; | |
case 4: | |
b += "Liked it"; | |
break; | |
case 3: | |
b += "It was okay"; | |
break; | |
case 2: | |
b += "Disliked it"; | |
break; | |
default: | |
b += "Hated it" | |
} | |
return b | |
}; | |
var EQ = function(a, b) { | |
Z.call(this, a); | |
this.L = b; | |
this.H = a.get(O); | |
this.j = null; | |
this.h = 0; | |
this.u = this.A = null; | |
this.o = ""; | |
this.U = a.get(Ek); | |
this.P = a.get(Ak); | |
this.J = null | |
}; | |
B(EQ, Z); | |
EQ.prototype.S = function() { | |
var a = this; | |
Z.prototype.S.call(this); | |
Nq(this.i, this.s(), BQ, {}); | |
var b = U(this, "rsw-picker-stars"); | |
this.B().listen(b, "mouseout", D(this.Rc, this, null)); | |
this.A = b.querySelector("[role=slider]"); | |
this.B().listen(this.A, "keydown", function(d) { | |
a: { | |
if (!(d.altKey || d.ctrlKey || d.metaKey || d.shiftKey)) { | |
switch (d.keyCode) { | |
case 37: | |
case 40: | |
a.h = Math.max(1, a.h - 1); | |
a.Rc(a.h); | |
break; | |
case 39: | |
case 38: | |
a.h = Math.min(5, a.h + 1); | |
a.Rc(a.h); | |
break; | |
case 35: | |
case 33: | |
a.h = 5; | |
a.Rc(a.h); | |
break; | |
case 36: | |
case 34: | |
a.h = 1; | |
a.Rc(a.h); | |
break; | |
case 13: | |
case 32: | |
a.De("ba-ib-k"); | |
break; | |
default: | |
d = void 0; | |
break a | |
} | |
d.preventDefault(); | |
d.stopPropagation() | |
} | |
d = void 0 | |
} | |
return d | |
}); | |
this.B().listen(this.A, "focusin", function() { | |
return b.classList.add("q-B-Wj") | |
}); | |
this.B().listen(this.A, "focusout", function() { | |
b.classList.remove("q-B-Wj"); | |
a.Rc(0) | |
}); | |
this.u = b.getElementsByTagName("div"); | |
for (var c = { | |
Dd: 0 | |
}; c.Dd < this.u.length; c = { | |
Dd: c.Dd | |
}, ++c.Dd) this.B().listen(this.u[c.Dd], "mouseover", D(this.Rc, this, c.Dd + 1)), this.B().listen(this.u[c.Dd], "click", function(d) { | |
return function() { | |
if ("ba-ib-k" === | |
a.o || "" === a.o) a.h = d.Dd + 1, a.De("ba-ib-k") | |
} | |
}(c)); | |
c = U(this, "rating-picker-publish-button"); | |
this.B().listen(c, "click", D(this.us, this)); | |
this.B().listen(U(this, "N-B-Fb-c"), "click", D(this.$m, this, !1)); | |
this.B().listen(U(this, "N-B-Q-c"), "click", D(this.De, this, "ba-ib-k")); | |
this.B().listen(U(this, "N-B-xe-c"), "click", D(this.De, this, "nh-j")); | |
this.B().listen(U(this, "N-B-Xh-c"), "click", D(this.Gq, this)); | |
this.B().listen(U(this, "N-B-ii-c"), "click", D(this.De, this, "ba-ib-k")) | |
}; | |
EQ.prototype.O = function() { | |
var a = this; | |
Z.prototype.O.call(this); | |
V(this.U, "bgi") && Oz(this.H, function(b) { | |
a.J = Tw(a.P, b) | |
}, function() {}) | |
}; | |
var GQ = function(a, b) { | |
b || (b = new Lh); | |
a.j = wh(b); | |
a.h = b ? gh(b, 3, 0) : 0; | |
a.Rc(0); | |
(b = U(a, "N-B-Db")) && X(b, "Pa", !0); | |
if (b = U(a, "comment-box-textarea-default")) b.value = gh(a.j, 4, ""); | |
FQ(a, gh(a.j, 4, "")); | |
0 != a.h && a.De("N-B-Q") | |
}; | |
f = EQ.prototype; | |
f.us = function() { | |
var a = this; | |
if (this.h) { | |
var b = $d(U(this, "comment-box-textarea-default").value), | |
c = l(this.L.D(), 12); | |
if (c) { | |
var d = new Lh; | |
Rh(d, c); | |
jh(d, 4, b); | |
ih(d, 3, this.h, 0); | |
c = new Dh; | |
Eh(c, this.L.D().Z()); | |
oh(d, 1, c); | |
Sh(d, Wy(this.H)); | |
V(this.U, "bgi") && this.J && this.J.then(function() { | |
var e = {}, | |
g = U(a, "rsw-picker-stars").id; | |
e[U(a, "comment-box-textarea-default").id] = b; | |
e[g] = a.h; | |
Uw(a.P, e).then(function(h) { | |
var k = new uk; | |
M(k, 1, h); | |
oh(k, 2, d); | |
Pz(a.H, k, function() {}, function() {}) | |
}) | |
}); | |
Iz(this.H, d, D(this.Hq, this), D(this.Am, this)) | |
} | |
} | |
}; | |
f.Hq = function(a) { | |
gh(a, 3, 0) ? (GQ(this, a), this.dispatchEvent("aftereditreview")) : this.Am() | |
}; | |
f.Am = function() { | |
X(U(this, "N-B-Db"), "Pa", !1) | |
}; | |
f.Rc = function(a) { | |
if ("nh-j" !== this.o && "N-B-Q" !== this.o) { | |
var b = U(this, "rsw-picker-message"); | |
if (b) { | |
if (a) var c = CQ; | |
else(a = this.h) ? c = DQ : c = AQ; | |
Nq(this.i, b, c, { | |
tb: a | |
}); | |
b = Oq(this.i, a ? CQ : AQ, { | |
tb: a | |
}); | |
this.A.setAttribute("aria-valuetext", b); | |
this.A.setAttribute("aria-valuenow", String(a)); | |
if (b = U(this, "rsw-picker-stars")) this.u = b.getElementsByTagName("div"); | |
for (b = 0; b < this.u.length; ++b) this.u[b].className = a > b ? "rsw-starred" : "rsw-unstarred" | |
} | |
} | |
}; | |
f.De = function(a) { | |
if (a === this.o) "ba-ib-k" === a && U(this, "comment-box-textarea-default").focus(); | |
else { | |
this.o && X(U(this, this.o), "Pa", !0); | |
a ? (this.o || X(U(this, "ba-Ob"), "qh", !1), X(U(this, a), "Pa", !1)) : X(U(this, "ba-Ob"), "qh", !0); | |
var b = "nh-j" === a; | |
("nh-j" === this.o || b) && X(U(this, "rsw-picker"), "Pa", b); | |
"N-B-Q" === a ? this.dispatchEvent("showmyreviewtext") : this.dispatchEvent("showratetext"); | |
"ba-ib-k" === a && U(this, "comment-box-textarea-default").focus(); | |
this.o = a | |
} | |
}; | |
f.Gq = function() { | |
var a = this, | |
b = new Zh; | |
$h(b, Qh(this.j)); | |
ai(b, l(this.L.D(), 12) || ""); | |
Kz(this.H, b, function(c) { | |
c && a.$m(!0) | |
}, function() {}) | |
}; | |
f.$m = function(a) { | |
a && (this.j = null, this.h = 0, this.dispatchEvent("aftereditreview")); | |
this.h = this.j ? gh(this.j, 3, 0) : 0; | |
a = this.j ? gh(this.j, 4, "") : ""; | |
U(this, "comment-box-textarea-default").value = a; | |
this.Rc(this.h); | |
FQ(this, a); | |
X(U(this, "N-B-Db"), "Pa", !0); | |
this.De(this.h ? "N-B-Q" : ""); | |
this.Rc(0) | |
}; | |
var FQ = function(a, b) { | |
if (a = U(a, "ba-iQd6Fc-L")) a.textContent = b | |
}; | |
var HQ = function(a) { | |
var b = a.label, | |
c = a.N; | |
return y('<span role="button" aria-label="' + x(a.qb) + '" class="' + x(c) + " " + x("Aa") + '">' + A(b) + "</span>") | |
}; | |
var IQ = function(a, b, c) { | |
b = c || b; | |
c = a.Lb; | |
var d = a.Kb, | |
e = a.I && (a.I.K || a.I), | |
g = a.Sa; | |
a = a.Gb; | |
return y('<div class="' + x("z-J") + '">' + R("x", !1)({ | |
Lb: c, | |
Kb: d, | |
I: e, | |
Sa: g, | |
Gb: a | |
}, b) + "</div>") | |
}; | |
Q("x", 0, function(a, b, c) { | |
b = c || b; | |
return y(JQ({ | |
Lb: a.Lb, | |
Kb: a.Kb, | |
I: a.I && (a.I.K || a.I), | |
Sa: a.Sa, | |
Gb: a.Gb | |
}, b) + KQ(b)) | |
}); | |
var JQ = function(a, b) { | |
var c = a.Lb, | |
d = a.Kb, | |
e = a.I && (a.I.K || a.I), | |
g = a.Sa, | |
h = a.Gb, | |
k = b.vk; | |
a = y; | |
k = '<div class="' + x("z-J-Q") + '"' + (k.Cg ? "" : ' style="display:none;"') + ">"; | |
e = e && (e.K || e); | |
var m = '<div class="' + x("z-J-Q-hb") + " " + x("Ca-Ta") + '"><div class="' + x("z-J-w-k") + '"><h2 class="' + x("z-J-w") + '" tabindex="-1"><span class="' + x("h-z-J-hb-L") + '">'; | |
var p = e && (e.K || e); | |
var q = ""; | |
switch (p.D().getContainer()) { | |
case 3: | |
case 4: | |
case 8: | |
case 9: | |
q += "Rate this add-on"; | |
break; | |
default: | |
switch (aa(p.D())) { | |
case 4: | |
case 6: | |
q = g && 4 == aa(p.D()) ? q + | |
"Rate this website" : q + "Rate this application"; | |
break; | |
case 0: | |
q += "Rate this extension"; | |
break; | |
case 1: | |
q += "Rate this theme"; | |
break; | |
case 5: | |
q += "Rate this collection" | |
} | |
} | |
p = y(q); | |
b = m + p + '</span><span class="' + x("h-z-J-mk-L") + " " + x("Pa") + '">' + R("y", !1)(null, b) + '</span></h2></div><div class="' + x("z-J-Q-Ta") + '">'; | |
if (c) { | |
c = b; | |
d = '<div class="' + x("z-J-Q-hb-Dd") + " " + x("Pa") + '"></div><div class="' + x("z-J-Q-hb-zd-Dd") + '">'; | |
b = e && (e.K || e); | |
e = ""; | |
if (h) e += "Your Google Account is not authorized to submit ratings or reviews"; | |
else switch (b.D().getContainer()) { | |
case 3: | |
case 4: | |
case 8: | |
case 9: | |
e += | |
"Add this add-on to submit a review"; | |
break; | |
default: | |
switch (aa(b.D())) { | |
case 4: | |
case 6: | |
e = g && 4 == aa(b.D()) ? e + "Add this website to Chrome to submit a review" : e + "Install this application to submit a review"; | |
break; | |
case 0: | |
e += "Add this extension to Chrome to submit a review"; | |
break; | |
case 1: | |
e += "Add this theme to Chrome to submit a review" | |
} | |
} | |
b = c + (d + LQ({ | |
message: e | |
}) + "</div>") | |
} else g = '<a class="' + x("h-Td-vb-re-y") + '" href="' + x(S(d)) + '" target="_parent">Sign in</a> to rate', b += LQ({ | |
message: Xp(g) | |
}); | |
b += '</div><div class="' + | |
x("Od") + '"></div></div>'; | |
g = y(b); | |
return a(k + g + "</div>") | |
}; | |
Q("y", 0, function() { | |
return y("My Review") | |
}); | |
var KQ = function(a) { | |
var b = y, | |
c = '<div class="' + x("z-J-F") + '"><div class="' + x("Hc-o") + '">' + R("z", !1)(null, a) + '<span class="' + x("z-Ha-j") + '"><span class="' + x("h-z-Ba-ca") + '"></span><span class="' + x("z-ec-Ha") + '">' + R("A", !1)(null, a) + '</span></span></div><div class="' + x("z-J-F-Hc") + " " + x("Ka-Ia-j") + '">'; | |
var d = '<div class="' + x("h-ba-Eb") + " " + x("ba-Eb") + " " + x("pd-Ye-Qa") + " " + x("Pa") + '"><div class="' + x("ba-fb") + '"></div><div class="' + x("ah-cd") + '"><div class="' + x("ah-mg-jd") + '"></div><div class="' + x("ah-mg-j") + | |
'"><a class="' + x("Aa") + " " + x("dc-tf") + '">« '; | |
d = d + 'Prev</a><span class="' + (x("dc-db") + '"></span><a class="' + x("Aa") + " " + x("dc-se") + '">'); | |
d = d + 'Next »</a></div><div style="clear:both"></div></div></div><div class="' + (x("ah-eb-Hc") + " " + x("Pa") + '">'); | |
d = y(d + "No Comments</div>"); | |
return b(c + d + "</div></div>" + R("B", !0)(null, a)) | |
}; | |
Q("z", 0, function() { | |
var a = '<h2 class="' + x("dd") + " " + x("z-J-w") + '" tabindex="-1">'; | |
return y(a + "User Reviews</h2>") | |
}); | |
Q("A", 0, function(a, b, c) { | |
b = c || b; | |
a = "" + HQ({ | |
label: "Helpful", | |
qb: "Show helpful first", | |
N: "h-z-ec-Ha-wh z-Ha" | |
}, b); | |
a += HQ({ | |
label: "Recent", | |
qb: "Show recent first", | |
N: "h-z-ec-Ha-Dk z-Ha" | |
}, b); | |
return y(a) | |
}); | |
var MQ = function(a) { | |
a = a || {}; | |
var b = a.nq, | |
c = a.Lr; | |
a = A(a.Yo) + (" - " + (A(b) + (" of " + A(c)))); | |
return y(a) | |
}, | |
LQ = function(a) { | |
a = a.message; | |
return y('<div class="' + x("Zc-nc-oa") + '"><div class="' + x("rsw-stars") + '">' + GI() + '</div><div class="' + x("Zc-nc-db") + '">' + A(a) + "</div></div>") | |
}; | |
var NQ = function(a, b, c) { | |
xE.call(this, a, b || hN.Fa(), c); | |
this.kb(16, !0) | |
}; | |
E(NQ, xE); | |
aE("ga-Ha-c", function() { | |
return new NQ(null) | |
}); | |
var PQ = function() { | |
NQ.call(this, null, OQ.Fa()) | |
}; | |
B(PQ, NQ); | |
PQ.prototype.Ob = function(a) { | |
if (rE(this, 16) && !this.Yb()) { | |
this.Bd(!0); | |
var b = new Vk("action", this); | |
if (a) | |
for (var c = ["altKey", "ctrlKey", "metaKey", "shiftKey", "platformModifierKey"], d, e = 0; d = c[e]; e++) b[d] = a[d]; | |
return this.dispatchEvent(b) | |
} | |
return !1 | |
}; | |
PQ.prototype.O = function() { | |
NQ.prototype.O.call(this); | |
var a = this.s(); | |
this.B().listen(a, "keyup", ld(W, a, "g-c-Ha-jg-Xc")); | |
this.B().listen(a, "mousedown", ld(bu, a, "g-c-Ha-jg-Xc")) | |
}; | |
var QQ = function(a, b, c, d) { | |
var e = b; | |
b.Bd(!0); | |
for (b = { | |
yf: 0 | |
}; b.yf < c.length; b = { | |
yf: b.yf | |
}, b.yf++)(function(g) { | |
return function() { | |
var h = c[g.yf]; | |
a.listen(h, "action", function() { | |
e.Bd(!1); | |
e = h; | |
d && d() | |
}) | |
} | |
})(b)() | |
}, | |
OQ = function() {}; | |
B(OQ, ZD); | |
OQ.prototype.Ga = function() { | |
return "g-c-Ha" | |
}; | |
OQ.prototype.S = function(a) { | |
var b = Jq(HQ, { | |
label: a.Xc() | |
}); | |
this.gb(a, b); | |
var c = a.Zc(); | |
c && this.Cd(b, c); | |
(c = a.getValue()) && this.setValue(b, c); | |
VD(a, 16) && this.Oc(b, 16, a.Yb()); | |
return b | |
}; | |
ad(OQ); | |
var RQ = function(a, b, c, d) { | |
Z.call(this, a); | |
this.u = b; | |
this.U = this.J = this.h = 0; | |
this.X = ""; | |
this.H = new Bh; | |
this.wa = c; | |
this.xa = a.get(Nk); | |
this.j = a.get(O); | |
this.ca = fy(this.j); | |
c = new UN; | |
ZN(c, this.j.g.u.getName(), Wy(this.j)); | |
ZN(c, "All languages", null); | |
LN(c, 0); | |
this.A = c; | |
this.ll(); | |
this.Ea = d; | |
a.get(zk); | |
this.L = new EQ(a, b); | |
this.o = null; | |
this.da = [] | |
}; | |
B(RQ, Z); | |
RQ.prototype.ll = function() { | |
this.ea = new PQ; | |
this.fa = new PQ | |
}; | |
RQ.prototype.na = function(a) { | |
var b = U(this, "h-z-J-mk-L"); | |
X(U(this, "h-z-J-hb-L"), "Pa", !a); | |
X(b, "Pa", a) | |
}; | |
var SQ = function(a, b) { | |
var c; | |
if (c = !a.j.se() && !a.j.$e()) b || (b = a.u.D(), b = a.j.X.contains(b.Z())), c = b || 5 == aa(a.u.D()) || L(a.u.D(), 74) && V(a.ca, "arh") && a.configuration.ha; | |
b = !!c; | |
c = U(a, "z-J-Q-hb-Dd"); | |
a = U(a, "z-J-Q-hb-zd-Dd"); | |
c && a && (X(c, "Pa", !b), X(a, "Pa", b)) | |
}, | |
TQ = function(a) { | |
var b = new Bh; | |
ih(b, 1, 1, 0); | |
var c = new fi; | |
gi(c, l(a.u.D(), 12) || ""); | |
oh(c, 3, b); | |
l(c, 5).push(1); | |
Cz(a.j, c, D(a.ta, a), D(a.ha, a)) | |
}; | |
RQ.prototype.ta = function(a) { | |
0 < Nh(a).length ? this.o = Nh(a)[0] : this.o = null; | |
GQ(this.L, this.o); | |
UQ(this, "initial_other_user_reviews") | |
}; | |
var VQ = function(a) { | |
var b = new Bh, | |
c = An(); | |
ih(b, 1, 3, 0); | |
var d = new ci; | |
di(d, Qh(a.o)); | |
oh(d, 3, b); | |
Ez(a.j, d, D(function(e) { | |
0 < Nh(e).length && oh(a.o, 9, e); | |
c.resolve() | |
}, a), function() { | |
c.resolve() | |
}); | |
return c.g | |
}, | |
UQ = function(a, b) { | |
a.dispatchEvent("beforerefreshcomments"); | |
var c = a.Hl(), | |
d = KN(a.A) ? KN(a.A).sb() : null; | |
switch (b) { | |
case "language_change": | |
Yn(0, "ReviewsPanel", "CommentLanguage", null === d ? "all" : d, void 0, !1); | |
break; | |
case "sort_order_change": | |
Yn(0, "ReviewsPanel", "CommentSortOrder", c, void 0, !1) | |
} | |
if ("comments_change" != b && "initial_other_user_reviews" != | |
b || "user_review_change" == b && 25 >= a.h) a.J = 0, a.h = 0, a.X = "", lh(a.H, 2, 0); | |
var e = null; | |
0 == a.h && a.o ? (ih(a.H, 1, 24, 0), e = VQ(a)) : ih(a.H, 1, 25, 0); | |
var g = new fi; | |
gi(g, l(a.u.D(), 12) || ""); | |
d && jh(g, 2, d); | |
oh(g, 3, a.H); | |
ih(g, 4, "date" == c ? 2 : 1, 0); | |
l(g, 5).push(2); | |
"initial_other_user_reviews" == b && ih(g, 6, !0, !1); | |
Cz(a.j, g, function(h) { | |
WQ(a, h); | |
XQ(a, h, function(k) { | |
e ? e.then(function() { | |
WQ(a, k) | |
}) : WQ(a, k); | |
a.vn() | |
}) | |
}, D(a.ha, a)); | |
(b = U(a, "h-ba-Eb")) && X(b, "Pa", !0) | |
}; | |
RQ.prototype.Hl = function() { | |
return this.fa.Yb() ? "date" : V(this.ca, "qso") ? "cws_qscore" : "quality" | |
}; | |
var XQ = function(a, b, c) { | |
var d = new bi; | |
oh(d, 1, b); | |
b = KN(a.A).sb(); | |
jh(d, 2, b); | |
b = new Bh; | |
ih(b, 1, 3, 0); | |
oh(d, 3, b); | |
Dz(a.j, d, function(e) { | |
c(e) | |
}) | |
}, | |
WQ = function(a, b) { | |
a.J && Yn(0, "ReviewsPanel", "Pagination"); | |
Nh(b) && (Mh(b) && (a.X = hh(Mh(b), 1, !1) ? gh(Mh(b), 3, "") : ""), a.J = Nh(b).length, a.U = gh(b, 6, 0) + (a.o ? 1 : 0)); | |
var c = 0 === a.h && a.o; | |
c && xQ(a.da[0], a.o); | |
for (var d = 0; 25 > (c ? d + 1 : d); ++d) xQ(a.da[c ? d + 1 : d], a.J > d ? Nh(b)[d] : null); | |
if (c = U(a, "h-ba-Eb")) c.parentNode && (c.parentNode.scrollTop = 0), X(c, "Pa", 0 === a.U); | |
(c = U(a, "ah-eb-Hc")) && X(c, "Pa", 0 < a.U); | |
if (hh(b, 7, !1)) | |
for (b = 0; b < Nr(xN(a.A)); b++) | |
if ("All languages" == Or(xN(a.A), b).Xc()) { | |
LN(a.A, b); | |
break | |
} YQ(a) | |
}; | |
RQ.prototype.vn = function() {}; | |
RQ.prototype.ha = function() { | |
var a = U(this, "h-ba-Eb"); | |
a && (T(a, !0), a.parentNode.scrollTop = 0); | |
this.J && (null != l(this.H, 3) ? this.h -= this.J : this.h += 25); | |
YQ(this) | |
}; | |
var YQ = function(a) { | |
var b = U(a, "dc-tf"); | |
b && T(b, 25 <= a.h + 1); | |
(b = U(a, "dc-db")) && Nq(a.i, b, MQ, { | |
Yo: jc(ZQ, a.h + 1 + (a.o && 0 != a.h ? 1 : 0)), | |
nq: jc(ZQ, a.h + a.J + (a.o ? 1 : 0)), | |
Lr: jc(ZQ, a.U) | |
}); | |
(b = U(a, "dc-se")) && T(b, "" != a.X) | |
}; | |
f = RQ.prototype; | |
f.ep = function() { | |
this.h += this.J; | |
lh(this.H, 3, this.X); | |
UQ(this, "comments_change") | |
}; | |
f.Iq = function() { | |
this.h -= 25; | |
0 > this.h && (this.h = 0); | |
lh(this.H, 2, this.h); | |
UQ(this, "comments_change") | |
}; | |
f.S = function() { | |
var a = this; | |
Z.prototype.S.call(this); | |
var b = (b = this.configuration.g) && l(b, 31) ? l(b, 31) : Jb(Ks(this.u.D(), this.Ea)); | |
b = Yy(this.j, b); | |
var c = this.j.se() || this.j.$e(); | |
this.ba = Mq(this.i, IQ, { | |
Lb: !!this.j.g.i, | |
Kb: b, | |
I: this.u, | |
Sa: !1, | |
Gb: c | |
}); | |
Tr(this, this.A, "h-z-Ba-ca"); | |
this.ul(); | |
this.om(); | |
CB(this.s(), this.wa); | |
b = U(this, "ba-fb"); | |
for (c = 0; 25 > c; ++c) { | |
var d = new qQ(this.v, l(this.u.D(), 12) || ""); | |
d.render(b); | |
this.da.push(d) | |
} | |
ih(this.H, 1, 25, 0); | |
TQ(this); | |
this.B().listen(U(this, "dc-tf"), "click", D(this.Iq, this)); | |
this.B().listen(U(this, | |
"dc-se"), "click", D(this.ep, this)); | |
Vr(this, this.L, "z-J-Q-hb-Dd"); | |
this.B().listen(this.L, "aftereditreview", D(function() { | |
var e = a.L; | |
if ((e = e.j ? wh(e.j) : null) && a.o) { | |
var g = Oh(a.o); | |
oh(e, 9, g) | |
} | |
a.o = e; | |
UQ(a, "user_review_change") | |
}, this)); | |
this.B().listen(this.L, "showratetext", D(this.na, this, !0)); | |
this.B().listen(this.L, "showmyreviewtext", D(this.na, this, !1)) | |
}; | |
f.ul = function() { | |
Tr(this, this.ea, "h-z-ec-Ha-wh"); | |
Tr(this, this.fa, "h-z-ec-Ha-Dk") | |
}; | |
f.om = function() {}; | |
f.eb = function() { | |
var a = this; | |
this.rm(); | |
this.B().listen(this.A, "action", function() { | |
return UQ(a, "language_change") | |
}); | |
this.j.g.i && SQ(this, !!L(this.u.D(), 15)) | |
}; | |
f.rm = function() { | |
var a = this; | |
QQ(this.B(), this.ea, [this.ea, this.fa], function() { | |
return UQ(a, "sort_order_change") | |
}) | |
}; | |
f.qa = function() { | |
Z.prototype.qa.call(this); | |
this.xa.deleteAll(this.s()) | |
}; | |
var ZQ = new ic(""); | |
var $Q = function() { | |
return y('<div class="' + x("h-z-b") + " " + x("z-b") + " " + x("e-f-b-x") + '"></div>') | |
}; | |
var aR = function(a, b, c) { | |
Z.call(this, a); | |
this.h = new RQ(a, b, "ReviewsTab", c) | |
}; | |
B(aR, Z); | |
aR.prototype.S = function() { | |
Z.prototype.S.call(this); | |
Nq(this.i, this.s(), $Q, {}); | |
Vr(this, this.h, "h-z-b") | |
}; | |
aR.prototype.eb = function() { | |
this.h.eb() | |
}; | |
var bR = function(a, b) { | |
FP.call(this, a, b, !0); | |
this.X = this.U = this.L = null | |
}; | |
B(bR, FP); | |
f = bR.prototype; | |
f.aj = function() { | |
return cR | |
}; | |
f.$i = function() { | |
return dR | |
}; | |
f.El = function() { | |
return this.aj().get("collection") | |
}; | |
f.Lj = function(a, b, c) { | |
var d = this; | |
this.A.g.tick("startPrepare", void 0, void 0); | |
this.j.Ya(this.va, function(e) { | |
d.A.g.tick("returnFromGetItemDetailForCollections", void 0, void 0); | |
d.h = e.Ya(); | |
d.L = new yP(d.v, d.h); | |
d.U = new aR(d.v, d.h, GP(d, "reviews"), null); | |
HP(d, b, c) | |
}, c, a) | |
}; | |
f.S = function() { | |
FP.prototype.S.call(this); | |
var a = { | |
I: this.h, | |
Yd: l(this.j.g.g, 10) || null, | |
Va: this.j.Va() | |
}; | |
Nq(this.i, this.s(), xP, a) | |
}; | |
f.eb = function() { | |
this.A.g.tick("onAnimateInCompleted", void 0, void 0); | |
FP.prototype.eb.call(this); | |
this.B().listen(this.j, "installed_status_change", this.xq); | |
this.L.eb(); | |
this.U.eb(); | |
this.Fb.report(this.A) | |
}; | |
f.O = function() { | |
FP.prototype.O.call(this); | |
this.L && Tr(this, this.L, "h-e-f-t-b-x"); | |
this.U && Vr(this, this.U, "h-e-f-z-b-x"); | |
var a = this.h.D(); | |
!this.Kj() && JG(this.v, a) && (a = new LG(this.v, a, void 0, void 0, void 0, "g-xj-ua-Kb-c-za", "Share"), Vr(this, a, "h-t-e-f-xa-c")); | |
this.X = new ZG(this.v, this.h.D(), "large", "collection_detail", this.o, !1, null, this.Kj()); | |
Tr(this, this.X, "h-e-f-Ra-c") | |
}; | |
f.Kj = function() { | |
return !1 | |
}; | |
f.xq = function(a) { | |
(a = this.L.j.get(a.va)) && jL(a) | |
}; | |
f.Vm = function(a) { | |
switch (a) { | |
case "collection": | |
nH(this.o, 12); | |
break; | |
case "reviews": | |
nH(this.o, 3) | |
} | |
}; | |
f.ym = function() {}; | |
var cR = new Map([ | |
["collection", new ss("collection", "h-e-f-t-b-x")], | |
["reviews", new ss("reviews", "h-e-f-z-b-x")] | |
]), | |
dR = new Map([ | |
["h-e-f-t-b-x", new ss("collection", "h-e-f-t-b-x")], | |
["h-e-f-z-b-x", new ss("reviews", "h-e-f-z-b-x")] | |
]); | |
var fR = function(a, b, c, d) { | |
this.h = a; | |
this.aa = b; | |
this.T = c; | |
this.A = d; | |
this.g = ""; | |
this.j = this.o = !1; | |
this.i = null; | |
this.u = this.w = !1; | |
eR(this) | |
}, | |
iR = function(a) { | |
if (!a.j && !a.g) { | |
a.j = !0; | |
a.i && (window.clearTimeout(a.i), a.i = null); | |
var b = new XMLHttpRequest; | |
b.onreadystatechange = function() { | |
if (4 == b.readyState) { | |
a.j = !1; | |
a.i && (window.clearTimeout(a.i), a.i = null); | |
var d = new gR(0, !0); | |
200 != b.status ? a.h(d) : (a.g = b.responseText, a.g && "fail" != a.g ? hR(a) : (a.g = "", a.h(d))) | |
} | |
}; | |
b.open("POST", a.T); | |
b.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); | |
var c = "t=" + encodeURIComponent(a.aa); | |
b.send(c); | |
a.i = window.setTimeout(function() { | |
b.abort(); | |
a.h(new gR(0)) | |
}, 1E4) | |
} | |
}, | |
eR = function(a) { | |
a.w || xA(a.A, function() { | |
null != payments && null != payments.business ? a.w = !0 : a.u = !0; | |
a.o && (a.o = !1, hR(a)) | |
}) | |
}, | |
hR = function(a) { | |
a.u ? a.h(new gR(0, !0)) : a.w ? zA(function() { | |
a.g = ""; | |
a.h(new gR((new Date).getTime())) | |
}, function() { | |
a.h(new gR(0)) | |
}, a.g) : a.o = !0 | |
}, | |
gR = function(a, b) { | |
this.g = a; | |
this.i = void 0 === b ? !1 : b | |
}; | |
var oR = function(a, b, c, d, e, g, h, k, m, p, q, t, v, w, J, G, I, ja, Y, ka, uc, ub, qf, Tn, Un, $9, a$, b$, c$, d$, e$, f$) { | |
Sl.call(this); | |
var Yh = this; | |
this.v = a; | |
this.Fb = b; | |
this.va = c; | |
this.fb = d; | |
this.xj = e; | |
this.mb = g; | |
this.wa = h; | |
this.i = k; | |
this.fa = m; | |
this.status = p; | |
this.w = q; | |
this.X = null; | |
this.H = t; | |
this.A = v; | |
this.u = uc; | |
this.isInstalled = !1; | |
this.bd = ub; | |
this.na = "theme" === this.bd; | |
this.ma = "application" === this.bd || "platform_app" === this.bd; | |
this.ha = qf; | |
this.wd = Tn; | |
this.bc = a$; | |
this.h = b$; | |
this.Ac = c$; | |
this.g = d$; | |
this.Oa = e$; | |
this.U = f$; | |
this.Ea = this.v.get(zk); | |
this.ea = | |
w; | |
a = /#?(purchase_time=[0-9]+)$/; | |
location.hash && (a = a.exec(location.hash)) && (location.hash = location.hash.replace(a[0], ""), w = 0 > w.indexOf("?") ? w + "?" : w + "&", w += a[1]); | |
this.da = w; | |
this.ta = J; | |
this.La = G; | |
this.xc = I; | |
this.Yd = ja; | |
this.Ka = Y; | |
this.aa = 75; | |
this.ca = 1E4; | |
this.Ja = 75; | |
this.o = this.J = this.T = this.L = null; | |
this.j = !1; | |
"new" !== this.u || Zc("chrome.webstorePrivate.beginInstallWithManifest3") && Zc("chrome.webstorePrivate.completeInstall") || (this.u = "none"); | |
"new" !== this.u && "none" !== this.u && (this.u = "none"); | |
this.bb = Un; | |
this.ab = ka; | |
this.Tb = new fR(function($y) { | |
jR(Yh); | |
if (0 < $y.g) { | |
var Tk = Yh.ea; | |
Tk = 0 > Tk.indexOf("?") ? Tk + "?" : Tk + "&"; | |
Tk += "purchase_time=" + $y.g; | |
Yh.da = Tk; | |
Yh.status = "UNKNOWN" | |
} else kR(Yh, "failure", "buy_error"); | |
$y.i ? lR(Yh, "general_error") : mR(Yh) | |
}, this.Yd, this.ab, this.bb); | |
this.xa = $9; | |
this.P = !1; | |
this.Sb = this.v.get(Ck); | |
this.v.get(Mk); | |
setTimeout(function() { | |
nR(Yh) | |
}, 50) | |
}; | |
B(oR, Sl); | |
var pR = function(a, b) { | |
a = { | |
response: "redirect", | |
x: cg(["id=" + a, "uc", "lang=" + navigator.language].join("&")) | |
}; | |
He() && (a.prod = "chrome", a.prodversion = Ke()); | |
b = $e(b); | |
b = af.exec(b); | |
var c = b[3] || ""; | |
return bf(b[1] + cf("?", b[2] || "", a) + cf("#", c, void 0)) | |
}, | |
sR = function(a, b) { | |
var c; | |
if (c = P("cx" + a.bc + "-" + qR.Ng + "-text", a.U)) Xb(c, a.Fb[b]), rR(a, qR.Ng) | |
}, | |
tR = function(a) { | |
return km(a.bc + "detail-pay-msg-anchor") | |
}, | |
rR = function(a, b) { | |
if (a = P("cx" + a.bc + "-" + b + "-btn", a.U)) a.style.display = "" | |
}, | |
uR = function(a, b) { | |
if (a = P("cx" + a.bc + "-" + b + "-btn", a.U)) a.style.display = | |
"none" | |
}, | |
jR = function(a) { | |
for (var b = nb(Object.keys(qR)), c = b.next(); !c.done; c = b.next()) uR(a, qR[c.value]) | |
}, | |
wR = function(a, b) { | |
if (Zc("chrome.webstorePrivate.beginInstallWithManifest3")) { | |
var c = { | |
id: a.va, | |
manifest: a.fb, | |
localizedName: a.xj, | |
locale: a.mb | |
}; | |
a.wa && (c.iconUrl = a.wa); | |
return function() { | |
vR(a, c, b) | |
} | |
} | |
return function() {} | |
}, | |
vR = function(a, b, c) { | |
a.P = !1; | |
var d = a.v.get(Ek); | |
a.v.get(Mk); | |
var e = Ob(location.href, "authuser"); | |
e && (b.authuser = e); | |
V(d, "hls") && wx() ? chrome.webstorePrivate.getIsLauncherEnabled(function(g) { | |
g || (b.enableLauncher = !0, a.P = !0); | |
chrome.webstorePrivate.beginInstallWithManifest3(b, function(h) { | |
xR(a, c, h) | |
}) | |
}) : chrome.webstorePrivate.beginInstallWithManifest3(b, function(g) { | |
xR(a, c, g) | |
}) | |
}, | |
xR = function(a, b, c) { | |
null == c || "" !== c && "already_installed" !== c ? "user_cancelled" === c ? kR(a, "user_cancelled") : "eula_declined" === c ? kR(a, "eula_declined") : "sync_mismatch" === c ? kR(a, "sync_mismatch") : "not_signed_in_chrome_sync" === c ? kR(a, "not_signed_in_chrome_sync") : "not_signed_in_webstore" === c ? kR(a, "not_signed_in_webstore") : "user_rejected_chrome_signin" === | |
c ? kR(a, "user_rejected_chrome_signin") : "signin_failed" === c ? kR(a, "signin_failed") : mR(a) : b() | |
}, | |
mR = function(a) { | |
if (a.w && "none" !== a.w && "WAIT" !== a.status) { | |
if (a.w !== a.X) { | |
a.X = a.w; | |
var b = tR(a); | |
b && zm(b); | |
lR(a, a.w); | |
uR(a, qR.Ng) | |
} | |
a.w = null | |
} | |
"UNKNOWN" === a.status ? (a.J = setTimeout(function() { | |
sR(a, "CHECKING_PURCHASE_STATUS") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment