Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try {
- s_f("sy139");
- var s_Nsb = function(a) {
- s_z(this, a, 0, -1, null, null)
- };
- s_p(s_Nsb, s_y);
- s_Nsb.prototype.Za = "mVjAjf";
- var s_Yr = function(a) {
- s_h.call(this, a.Ja);
- this.Wa = a.Na.gic;
- this.ka = a.service.Ke;
- this.root = this.Ia().el();
- this.popup = this.Ea("V68bde").el();
- this.Yy(this.popup);
- this.offsetY = this.offsetX = 0;
- this.Aa = s_d(this.reposition, this);
- s_F(window, "resize", this.Aa);
- this.wa = !1;
- this.Ba = this.Zs().hasAttribute("role");
- this.ska()
- };
- s_m(s_Yr, s_h);
- s_Yr.Ga = function() {
- return {
- Na: {
- gic: s_Nsb
- },
- service: {
- Ke: s_uj
- }
- }
- }
- ;
- s_ = s_Yr.prototype;
- s_.Kb = function() {
- this.SEa() && this.isVisible() ? this.ka.Ke(this.popup) : this.ka.Se(this.popup);
- s_jg(window, "resize", this.Aa);
- s_Xf(this.root, this.popup) || this.root.appendChild(this.popup);
- s_h.prototype.Kb.call(this)
- }
- ;
- s_.iHb = function(a, b, c) {
- if ((c = void 0 === c ? null : c) && s_ua(c) && 0 < c.nodeType && s_Xf(this.Zs(), c) || s_Mb(a, function(d) {
- return s_Xf(d, c)
- }))
- return !1;
- this.setVisible(!1);
- 2 == b && this.Zs().focus();
- return !0
- }
- ;
- s_.Zj = function(a) {
- var b = a.event;
- if (!b)
- return !1;
- b = b.which || b.keyCode;
- 40 != b && 38 != b || !this.getPopup().querySelector("g-menu") || this.CHa(a);
- return !1
- }
- ;
- s_.CHa = function(a) {
- var b = a.event || void 0;
- a.Ya.el().focus();
- a = a.data && a.data.nonDismissingElements || [];
- this.setVisible(!this.isVisible(), b, this.Zs().firstElementChild, a);
- b && b.preventDefault()
- }
- ;
- s_.reposition = function() {
- if (this.isVisible()) {
- var a = this.getPopup()
- , b = this.Zs()
- , c = new s_kf(this.offsetX,this.offsetY)
- , d = s_k(this.Wa, 1)
- , e = s_k(this.Wa, 2)
- , f = s_Osb(d)
- , g = s_Osb(e);
- if (s_A(this.Wa, 7)) {
- var h = s_rh(b).width;
- if (s_A(this.Wa, 9)) {
- s_oh(a, "");
- var k = s_rh(a).width;
- k > h && (h = k)
- }
- s_oh(a, h)
- }
- if (5 == d || 2 == d)
- d = s_rh(b),
- c.x += (f & 4 ? -1 : 1) * Math.floor(d.width / 2);
- if (5 == e || 2 == e)
- e = s_rh(a),
- c.x += (g & 4 ? 1 : -1) * Math.floor(e.width / 2);
- s_Xr(b, f, a, g, c);
- b = null;
- s_A(this.Wa, 3) && (b = s_zf(),
- b = new s_9g(0,b.width,b.height,0));
- if (f = b)
- b = parseInt(s_ah(a, "top"), 10),
- c = parseInt(s_ah(a, "left"), 10),
- g = s_lla(a).getBoundingClientRect(),
- f = new s_9g(f.top - g.top,f.right - g.left,f.bottom - g.top,f.left - g.left),
- g = s_rh(a),
- g.width <= f.$d() && (s_A(this.Wa, 5) || s_A(this.Wa, 3)) && (c = Math.max(c, f.left),
- c = Math.min(c, f.right - g.width)),
- g.height <= f.Qd() && (s_A(this.Wa, 6) || s_A(this.Wa, 3)) && (b = Math.max(b, f.top),
- b = Math.min(b, f.bottom - g.height)),
- s_eh(a, c, b)
- }
- }
- ;
- s_.isVisible = function() {
- return s_uh(this.getPopup())
- }
- ;
- s_.Ke = function() {
- this.isVisible() && this.ka.Ke(this.popup)
- }
- ;
- s_.setVisible = function(a, b, c, d) {
- var e = this;
- d = void 0 === d ? [] : d;
- var f = this.getPopup()
- , g = a != this.isVisible()
- , h = a ? s_Psb : s_Qsb;
- s_H(f, a);
- a && s_Xf(this.root, f) ? s_A(this.Wa, 8) || s_Wm().appendChild(f) : a || s_Xf(this.root, f) || this.root.appendChild(f);
- a && (this.trigger(s_Rsb, {
- popup: this
- }),
- this.reposition());
- g && (this.Ba && this.Zs().setAttribute("aria-expanded", a ? "true" : "false"),
- a ? (this.wa || (this.wa = !0,
- s_si(f, s_wpa),
- s_si(f, h)),
- this.SEa() ? this.ka.listen(this.popup, s_d(this.iHb, this, d), [].concat(s_qb(s_Ssb), [4]), !1, !0, !1, function() {
- e.setVisible(a, b, c, d)
- }, this.getData("bbena").Ra() || this.root.getAttribute("jsname")) : (f = s_A(this.Wa, 10) ? s_Tsb : s_Ssb,
- this.ka.listen(this.popup, s_d(this.iHb, this, d), f, !1, !0))) : this.ka.Se(this.popup),
- this.trigger(h, {
- triggerElement: c || null,
- wBa: 38 == (b ? b.which || b.keyCode : null) ? !0 : !1,
- vo: b
- }))
- }
- ;
- s_.Zs = function() {
- return this.Ea("oYxtQd").el()
- }
- ;
- s_.getPopup = function() {
- return this.popup
- }
- ;
- s_.lH = function(a, b) {
- this.offsetX = a;
- this.offsetY = b
- }
- ;
- var s_Osb = function(a) {
- var b = 8;
- switch (a) {
- case 2:
- case 1:
- b = 8;
- break;
- case 3:
- b = 12;
- break;
- case 5:
- case 4:
- b = 9;
- break;
- case 6:
- b = 13
- }
- return b
- };
- s_Yr.prototype.SEa = function() {
- var a = this.getData("bbena")
- , b = a.Ra("") || this.root.getAttribute("jsname");
- return !(!a.Tb() || !b)
- }
- ;
- s_Yr.prototype.ska = function() {
- var a = this;
- this.SEa() && this.ka.Ua(function() {
- a.setVisible(!0)
- }, this.getData("bbena").Ra() || this.root.getAttribute("jsname"))
- }
- ;
- s_O(s_Yr.prototype, "yhLvi", function() {
- return this.ska
- });
- s_O(s_Yr.prototype, "OOY56c", function() {
- return this.SEa
- });
- s_O(s_Yr.prototype, "pcAkKe", function() {
- return this.getPopup
- });
- s_O(s_Yr.prototype, "vBAC5", function() {
- return this.Zs
- });
- s_O(s_Yr.prototype, "IYtByb", function() {
- return this.Ke
- });
- s_O(s_Yr.prototype, "eO2Zfd", function() {
- return this.isVisible
- });
- s_O(s_Yr.prototype, "xKqF2c", function() {
- return this.reposition
- });
- s_O(s_Yr.prototype, "WFrRFb", function() {
- return this.CHa
- });
- s_O(s_Yr.prototype, "uYT2Vb", function() {
- return this.Zj
- });
- s_Q(s_Ej, s_Yr);
- var s_Ssb = [1, 2, 3]
- , s_Tsb = [1, 3]
- , s_Rsb = s_J("YraOve")
- , s_Psb = s_J("KyPa0e")
- , s_Qsb = s_J("wjOG7e")
- , s_Zr = s_J("A05xBd");
- s_g();
- } catch (e) {
- _DumpException(e)
- }
- try {
- s_f("NZI0Db");
- s_g();
- } catch (e) {
- _DumpException(e)
- }
- try {
- var s_$1b = function(a) {
- return ((a.getDay() + 6) % 7 - a.bma + 7) % 7
- }
- , s_a2b = function(a) {
- return s_XXb(a.getFullYear(), a.getMonth())
- }
- , s_b2b = function(a, b, c, d, e) {
- a = new Date(a,b,c);
- d = void 0 !== d ? d : 3;
- e = e || 0;
- b = ((a.getDay() + 6) % 7 - e + 7) % 7;
- return a.valueOf() + 864E5 * ((d - e + 7) % 7 - b)
- };
- s_f("syhn");
- /*
- Copyright The Closure Library Authors.
- SPDX-License-Identifier: Apache-2.0
- */
- var s_c2b = function() {}
- , s_ix = function(a) {
- if ("number" == typeof a) {
- var b = new s_c2b;
- b.Ca = 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(":", s_Rd(c, 2));
- c = d.join("")
- }
- b.Aa = 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 = s_d2b(a);
- b.Ba = [c, c];
- b.ka = {
- lAd: a,
- tjb: a
- };
- b.wa = [];
- return b
- }
- b = new s_c2b;
- b.Aa = a.id;
- b.Ca = -a.std_offset;
- b.Ba = a.names;
- b.ka = a.names_ext;
- b.wa = a.transitions;
- return b
- }
- , s_d2b = function(a) {
- var b = ["GMT"];
- b.push(0 >= a ? "+" : "-");
- a = Math.abs(a);
- b.push(s_Rd(Math.floor(a / 60) % 100, 2), ":", s_Rd(a % 60, 2));
- return b.join("")
- }
- , s_e2b = function(a, b) {
- b = Date.UTC(b.getUTCFullYear(), b.getUTCMonth(), b.getUTCDate(), b.getUTCHours(), b.getUTCMinutes()) / 36E5;
- for (var c = 0; c < a.wa.length && b >= a.wa[c]; )
- c += 2;
- return 0 == c ? 0 : a.wa[c - 1]
- }
- , s_f2b = function(a, b) {
- return a.Ca - s_e2b(a, b)
- }
- , s_g2b = function(a, b) {
- return 0 < s_e2b(a, b)
- };
- var s_jx = function(a, b) {
- this.wa = [];
- this.ka = b || s_Cw;
- "number" == typeof a ? s_h2b(this, a) : s_i2b(this, a)
- }
- , s_j2b = [/^'(?:[^']|'')*('|$)/, /^(?:G+|y+|Y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/, /^[^'GyYMkSEahKHcLQdmsvVwzZ]+/]
- , s_k2b = function(a) {
- return a.getHours ? a.getHours() : 0
- }
- , s_i2b = function(a, b) {
- for (s_l2b && (b = b.replace(/\u200f/g, "")); b; ) {
- for (var c = b, d = 0; d < s_j2b.length; ++d) {
- var e = b.match(s_j2b[d]);
- if (e) {
- var f = e[0];
- b = b.substring(f.length);
- 0 == d && ("''" == f ? f = "'" : (f = f.substring(1, "'" == e[1] ? f.length - 1 : f.length),
- f = f.replace(/''/g, "'")));
- a.wa.push({
- text: f,
- type: d
- });
- break
- }
- }
- if (c === b)
- throw Error("lf`" + b);
- }
- };
- s_jx.prototype.format = function(a, b) {
- if (!a)
- throw Error("mf");
- var c = b ? 6E4 * (a.getTimezoneOffset() - s_f2b(b, a)) : 0
- , d = c ? new Date(a.getTime() + c) : a
- , e = d;
- b && d.getTimezoneOffset() != a.getTimezoneOffset() && (e = 6E4 * (d.getTimezoneOffset() - a.getTimezoneOffset()),
- d = new Date(d.getTime() + e),
- c += 0 < c ? -864E5 : 864E5,
- e = new Date(a.getTime() + c));
- c = [];
- for (var f = 0; f < this.wa.length; ++f) {
- var g = this.wa[f].text;
- 1 == this.wa[f].type ? c.push(s_m2b(this, g, a, d, e, b)) : c.push(g)
- }
- return c.join("")
- }
- ;
- var s_h2b = function(a, b) {
- if (4 > b)
- var c = a.ka.S4[b];
- else if (8 > b)
- c = a.ka.H_[b - 4];
- else if (12 > b)
- c = a.ka.oOa[b - 8],
- c = c.replace("{1}", a.ka.S4[b - 8]),
- c = c.replace("{0}", a.ka.H_[b - 8]);
- else {
- s_h2b(a, 10);
- return
- }
- s_i2b(a, c)
- }
- , s_kx = function(a, b) {
- b = String(b);
- a = a.ka || s_Cw;
- if (void 0 !== a.qPa) {
- for (var c = [], d = 0; d < b.length; d++) {
- var e = b.charCodeAt(d);
- c.push(48 <= e && 57 >= e ? String.fromCharCode(a.qPa + e - 48) : b.charAt(d))
- }
- b = c.join("")
- }
- return b
- }
- , s_l2b = !1
- , s_n2b = function(a) {
- if (!(a.getHours && a.getSeconds && a.getMinutes))
- throw Error("nf");
- }
- , s_m2b = function(a, b, c, d, e, f) {
- var g = b.length;
- switch (b.charAt(0)) {
- case "G":
- return c = 0 < d.getFullYear() ? 1 : 0,
- 4 <= g ? a.ka.Pib[c] : a.ka.sOa[c];
- case "y":
- return c = d.getFullYear(),
- 0 > c && (c = -c),
- 2 == g && (c %= 100),
- s_kx(a, s_Rd(c, g));
- case "Y":
- return c = d.getMonth(),
- e = d.getDate(),
- c = s_b2b(d.getFullYear(), c, e, a.ka.fja, a.ka.ZQ),
- c = (new Date(c)).getFullYear(),
- 0 > c && (c = -c),
- 2 == g && (c %= 100),
- s_kx(a, s_Rd(c, g));
- case "M":
- a: switch (c = d.getMonth(),
- g) {
- case 5:
- g = a.ka.hjb[c];
- break a;
- case 4:
- g = a.ka.ija[c];
- break a;
- case 3:
- g = a.ka.vya[c];
- break a;
- default:
- g = s_kx(a, s_Rd(c + 1, g))
- }
- return g;
- case "k":
- return s_n2b(e),
- c = s_k2b(e) || 24,
- s_kx(a, s_Rd(c, g));
- case "S":
- return s_kx(a, (e.getMilliseconds() / 1E3).toFixed(Math.min(3, g)).substr(2) + (3 < g ? s_Rd(0, g - 3) : ""));
- case "E":
- return c = d.getDay(),
- 4 <= g ? a.ka.zya[c] : a.ka.wya[c];
- case "a":
- return s_n2b(e),
- g = s_k2b(e),
- a.ka.jOa[12 <= g && 24 > g ? 1 : 0];
- case "h":
- return s_n2b(e),
- c = s_k2b(e) % 12 || 12,
- s_kx(a, s_Rd(c, g));
- case "K":
- return s_n2b(e),
- c = s_k2b(e) % 12,
- s_kx(a, s_Rd(c, g));
- case "H":
- return s_n2b(e),
- c = s_k2b(e),
- s_kx(a, s_Rd(c, g));
- case "c":
- a: switch (c = d.getDay(),
- g) {
- case 5:
- g = a.ka.qba[c];
- break a;
- case 4:
- g = a.ka.sjb[c];
- break a;
- case 3:
- g = a.ka.XOa[c];
- break a;
- default:
- g = s_kx(a, s_Rd(c, 1))
- }
- return g;
- case "L":
- a: switch (c = d.getMonth(),
- g) {
- case 5:
- g = a.ka.rjb[c];
- break a;
- case 4:
- g = a.ka.Z4[c];
- break a;
- case 3:
- g = a.ka.WOa[c];
- break a;
- default:
- g = s_kx(a, s_Rd(c + 1, g))
- }
- return g;
- case "Q":
- return c = Math.floor(d.getMonth() / 3),
- 4 > g ? a.ka.VOa[c] : a.ka.SOa[c];
- case "d":
- return s_kx(a, s_Rd(d.getDate(), g));
- case "m":
- return s_n2b(e),
- s_kx(a, s_Rd(e.getMinutes(), g));
- case "s":
- return s_n2b(e),
- s_kx(a, s_Rd(e.getSeconds(), g));
- case "v":
- return g = f || s_ix(c.getTimezoneOffset()),
- g.Aa;
- case "V":
- return a = f || s_ix(c.getTimezoneOffset()),
- 2 >= g ? a.Aa : s_g2b(a, c) ? void 0 !== a.ka.i_b ? a.ka.i_b : a.ka.DST_GENERIC_LOCATION : void 0 !== a.ka.tjb ? a.ka.tjb : a.ka.STD_GENERIC_LOCATION;
- case "w":
- return c = e.getMonth(),
- d = e.getDate(),
- c = s_b2b(e.getFullYear(), c, d, a.ka.fja, a.ka.ZQ),
- c = Math.floor(Math.round((c - (new Date((new Date(c)).getFullYear(),0,1)).valueOf()) / 864E5) / 7) + 1,
- s_kx(a, s_Rd(c, g));
- case "z":
- return a = f || s_ix(c.getTimezoneOffset()),
- 4 > g ? a.Ba[s_g2b(a, c) ? 2 : 0] : a.Ba[s_g2b(a, c) ? 3 : 1];
- case "Z":
- return d = f || s_ix(c.getTimezoneOffset()),
- 4 > g ? (g = -s_f2b(d, c),
- a = [0 > g ? "-" : "+"],
- g = Math.abs(g),
- a.push(s_Rd(Math.floor(g / 60) % 100, 2), s_Rd(g % 60, 2)),
- g = a.join("")) : g = s_kx(a, s_d2b(s_f2b(d, c))),
- g;
- default:
- return ""
- }
- };
- s_g();
- } catch (e) {
- _DumpException(e)
- }
- try {
- s_f("syho");
- /*
- Copyright The Closure Library Authors.
- SPDX-License-Identifier: Apache-2.0
- */
- var s_lx = {
- tja: "y",
- Ijb: "y G",
- oPa: "MMM y",
- b5: "MMMM y",
- Jjb: "MM/y",
- F_: "MMM d",
- jja: "MMMM dd",
- mba: "M/d",
- kja: "MMMM d",
- lja: "MMM d, y",
- vK: "EEE, MMM d",
- kPa: "EEE, MMM d, y",
- pOa: "d",
- B0b: "MMM d, h:mm a zzzz"
- };
- s_lx = {
- tja: "y.",
- Ijb: "G y.",
- oPa: "y. MMM",
- b5: "y. MMMM",
- Jjb: "y. MM.",
- F_: "MMM d.",
- jja: "MMMM dd.",
- mba: "M. d.",
- kja: "MMMM d.",
- lja: "y. MMM d.",
- vK: "MMM d., EEE",
- kPa: "y. MMM d., EEE",
- pOa: "d",
- B0b: "MMM d. HH:mm zzzz"
- };
- s_g();
- } catch (e) {
- _DumpException(e)
- }
- try {
- s_f("syje");
- /*
- Copyright The Closure Library Authors.
- SPDX-License-Identifier: Apache-2.0
- */
- var s_0gc = new s_Ew(0,0,1)
- , s_1gc = new s_Ew(9999,11,31);
- s_g();
- } catch (e) {
- _DumpException(e)
- }
- try {
- s_f("syjf");
- /*
- Copyright The Closure Library Authors.
- SPDX-License-Identifier: Apache-2.0
- */
- var s_ir = function(a, b) {
- s_7g.call(this);
- a && this.attach(a, b)
- };
- s_p(s_ir, s_7g);
- s_ = s_ir.prototype;
- s_.Cb = null;
- s_.EFa = null;
- s_.o3a = null;
- s_.FFa = null;
- s_.oJ = -1;
- s_.YX = -1;
- s_.$Pa = !1;
- var s_Dqb = {
- 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
- }
- , s_Eqb = {
- 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
- }
- , s_Fqb = !s_je || s_pe("525")
- , s_Gqb = s_le && s_ie;
- s_ = s_ir.prototype;
- s_.Cnc = function(a) {
- (s_je || s_he) && (17 == this.oJ && !a.ctrlKey || 18 == this.oJ && !a.altKey || s_le && 91 == this.oJ && !a.metaKey) && this.Jx();
- -1 == this.oJ && (a.ctrlKey && 17 != a.keyCode ? this.oJ = 17 : a.altKey && 18 != a.keyCode ? this.oJ = 18 : a.metaKey && 91 != a.keyCode && (this.oJ = 91));
- s_Fqb && !s_Q2a(a.keyCode, this.oJ, a.shiftKey, a.ctrlKey, a.altKey, a.metaKey) ? this.handleEvent(a) : (this.YX = s_P2a(a.keyCode),
- s_Gqb && (this.$Pa = a.altKey))
- }
- ;
- s_.Jx = function() {
- this.YX = this.oJ = -1
- }
- ;
- s_.Ktc = function(a) {
- this.Jx();
- this.$Pa = a.altKey
- }
- ;
- s_.handleEvent = function(a) {
- var b = a.Zd
- , c = b.altKey;
- if (s_ge && "keypress" == a.type) {
- var d = this.YX;
- var e = 13 != d && 27 != d ? b.keyCode : 0
- } else
- (s_je || s_he) && "keypress" == a.type ? (d = this.YX,
- e = 0 <= b.charCode && 63232 > b.charCode && s_Tl(d) ? b.charCode : 0) : s_fe && !s_je ? (d = this.YX,
- e = s_Tl(d) ? b.keyCode : 0) : ("keypress" == a.type ? (s_Gqb && (c = this.$Pa),
- b.keyCode == b.charCode ? 32 > b.keyCode ? (d = b.keyCode,
- e = 0) : (d = this.YX,
- e = b.charCode) : (d = b.keyCode || this.YX,
- e = b.charCode || 0)) : (d = b.keyCode || this.YX,
- e = b.charCode || 0),
- s_le && 63 == e && 224 == d && (d = 191));
- var f = d = s_P2a(d);
- d ? 63232 <= d && d in s_Dqb ? f = s_Dqb[d] : 25 == d && a.shiftKey && (f = 9) : b.keyIdentifier && b.keyIdentifier in s_Eqb && (f = s_Eqb[b.keyIdentifier]);
- s_ie && s_Fqb && "keypress" == a.type && !s_Q2a(f, this.oJ, a.shiftKey, a.ctrlKey, c, a.metaKey) || (a = f == this.oJ,
- this.oJ = f,
- b = new s_Hqb(f,e,a,b),
- b.altKey = c,
- this.dispatchEvent(b))
- }
- ;
- s_.Ea = function() {
- return this.Cb
- }
- ;
- s_.attach = function(a, b) {
- this.FFa && this.detach();
- this.Cb = a;
- this.EFa = s_F(this.Cb, "keypress", this, b);
- this.o3a = s_F(this.Cb, "keydown", this.Cnc, b, this);
- this.FFa = s_F(this.Cb, "keyup", this.Ktc, b, this)
- }
- ;
- s_.detach = function() {
- this.EFa && (s_kg(this.EFa),
- s_kg(this.o3a),
- s_kg(this.FFa),
- this.FFa = this.o3a = this.EFa = null);
- this.Cb = null;
- this.YX = this.oJ = -1
- }
- ;
- s_.Rb = function() {
- s_ir.Nc.Rb.call(this);
- this.detach()
- }
- ;
- var s_Hqb = function(a, b, c, d) {
- s_fg.call(this, d);
- this.type = "key";
- this.keyCode = a;
- this.charCode = b;
- this.repeat = c
- };
- s_p(s_Hqb, s_fg);
- s_g();
- } catch (e) {
- _DumpException(e)
- }
- try {
- s_f("syjg");
- /*
- Copyright The Closure Library Authors.
- SPDX-License-Identifier: Apache-2.0
- */
- var s_jr = function() {};
- s_Ic(s_jr);
- s_jr.prototype.ka = 0;
- var s_Iqb = function(a) {
- return ":" + (a.ka++).toString(36)
- };
- s_g();
- } catch (e) {
- _DumpException(e)
- }
- try {
- s_f("syjh");
- /*
- Copyright The Closure Library Authors.
- SPDX-License-Identifier: Apache-2.0
- */
- var s_kr = function(a) {
- s_7g.call(this);
- this.Fd = a || s_rf();
- this.Mb = s_Jqb;
- this.yd = null;
- this.Lj = !1;
- this.Cb = null;
- this.Ka = void 0;
- this.Fa = this.Aa = this.jg = this.Bb = null;
- this.qf = !1
- };
- s_p(s_kr, s_7g);
- s_kr.prototype.uh = s_jr.Db();
- var s_Jqb = null;
- s_kr.prototype.getId = function() {
- return this.yd || (this.yd = s_Iqb(this.uh))
- }
- ;
- s_kr.prototype.Ea = function() {
- return this.Cb
- }
- ;
- s_kr.prototype.By = function(a) {
- return this.Cb ? this.Fd.By(a, this.Cb) : null
- }
- ;
- var s_lr = function(a) {
- a.Ka || (a.Ka = new s_7h(a));
- return a.Ka
- }
- , s_Kqb = function(a, b) {
- if (a == b)
- throw Error("dd");
- if (b && a.jg && a.yd && a.jg.PB(a.yd) && a.jg != b)
- throw Error("dd");
- a.jg = b;
- s_kr.Nc.S$.call(a, b)
- };
- s_ = s_kr.prototype;
- s_.getParent = function() {
- return this.jg
- }
- ;
- s_.S$ = function(a) {
- if (this.jg && this.jg != a)
- throw Error("ed");
- s_kr.Nc.S$.call(this, a)
- }
- ;
- s_.Ee = function() {
- return this.Fd
- }
- ;
- s_.Vm = function() {
- this.Cb = s_6f(this.Fd, "DIV")
- }
- ;
- s_.render = function(a) {
- s_Lqb(this, a)
- }
- ;
- var s_Lqb = function(a, b, c) {
- if (a.Lj)
- throw Error("fd");
- a.Cb || a.Vm();
- b ? b.insertBefore(a.Cb, c || null) : a.Fd.tf().body.appendChild(a.Cb);
- a.jg && !a.jg.Lj || a.ji()
- };
- s_ = s_kr.prototype;
- s_.Ag = function(a) {
- if (this.Lj)
- throw Error("fd");
- if (a && this.sna(a)) {
- this.qf = !0;
- var b = s_qf(a);
- this.Fd && this.Fd.tf() == b || (this.Fd = s_rf(a));
- this.Bp(a);
- this.ji()
- } else
- throw Error("gd");
- }
- ;
- s_.sna = function() {
- return !0
- }
- ;
- s_.Bp = function(a) {
- this.Cb = a
- }
- ;
- s_.ji = function() {
- this.Lj = !0;
- s_mr(this, function(a) {
- !a.Lj && a.Ea() && a.ji()
- })
- }
- ;
- s_.Qn = function() {
- s_mr(this, function(a) {
- a.Lj && a.Qn()
- });
- this.Ka && this.Ka.removeAll();
- this.Lj = !1
- }
- ;
- s_.Rb = function() {
- this.Lj && this.Qn();
- this.Ka && (this.Ka.dispose(),
- delete this.Ka);
- s_mr(this, function(a) {
- a.dispose()
- });
- !this.qf && this.Cb && s_Pf(this.Cb);
- this.jg = this.Bb = this.Cb = this.Fa = this.Aa = null;
- s_kr.Nc.Rb.call(this)
- }
- ;
- s_.Ep = function() {
- return this.Bb
- }
- ;
- s_.Kk = function(a, b) {
- this.rna(a, s_nr(this), b)
- }
- ;
- s_.rna = function(a, b, c) {
- if (a.Lj && (c || !this.Lj))
- throw Error("fd");
- if (0 > b || b > s_nr(this))
- throw Error("hd");
- this.Fa && this.Aa || (this.Fa = {},
- this.Aa = []);
- if (a.getParent() == this) {
- var d = a.getId();
- this.Fa[d] = a;
- s_oa(this.Aa, a)
- } else
- s_Xc(this.Fa, a.getId(), a);
- s_Kqb(a, this);
- s_la(this.Aa, a, b);
- a.Lj && this.Lj && a.getParent() == this ? (c = this.Ng(),
- (c.childNodes[b] || null) != a.Ea() && (a.Ea().parentElement == c && c.removeChild(a.Ea()),
- b = c.childNodes[b] || null,
- c.insertBefore(a.Ea(), b))) : c ? (this.Cb || this.Vm(),
- b = s_or(this, b + 1),
- s_Lqb(a, this.Ng(), b ? b.Cb : null)) : this.Lj && !a.Lj && a.Cb && a.Cb.parentNode && 1 == a.Cb.parentNode.nodeType && a.ji()
- }
- ;
- s_.Ng = function() {
- return this.Cb
- }
- ;
- var s_pr = function(a) {
- null == a.Mb && (a.Mb = s_wh(a.Lj ? a.Cb : a.Fd.tf().body));
- return a.Mb
- }
- , s_nr = function(a) {
- return a.Aa ? a.Aa.length : 0
- };
- s_kr.prototype.PB = function(a) {
- return this.Fa && a ? s_Yc(this.Fa, a) || null : null
- }
- ;
- var s_or = function(a, b) {
- return a.Aa ? a.Aa[b] || null : null
- }
- , s_mr = function(a, b, c) {
- a.Aa && s_a(a.Aa, b, c)
- };
- s_kr.prototype.removeChild = function(a, b) {
- if (a) {
- var c = "string" === typeof a ? a : a.getId();
- a = this.PB(c);
- c && a && (s_Wc(this.Fa, c),
- s_oa(this.Aa, a),
- b && (a.Qn(),
- a.Cb && s_Pf(a.Cb)),
- s_Kqb(a, null))
- }
- if (!a)
- throw Error("id");
- return a
- }
- ;
- var s_Mqb = function(a) {
- return a.removeChild(s_or(a, 0), !0)
- }
- , s_Nqb = function(a) {
- for (var b = []; a.Aa && 0 != a.Aa.length; )
- b.push(s_Mqb(a))
- };
- s_g();
- } catch (e) {
- _DumpException(e)
- }
- try {
- var s_2gc = function(a) {
- this.ka = a.getStartDate().clone();
- this.wa = Number(a.ka.Qe())
- };
- s_p(s_2gc, s_Jg);
- s_2gc.prototype.next = function() {
- if (Number(this.ka.Qe()) > this.wa)
- throw s_Ig;
- var a = this.ka.clone();
- this.ka.add(new s_Dw("d",1));
- return a
- }
- ;
- var s_3gc = function() {
- this.wa = s_0gc;
- this.ka = s_1gc
- };
- s_3gc.prototype.getStartDate = function() {
- return this.wa
- }
- ;
- s_3gc.prototype.contains = function(a) {
- return a.valueOf() >= this.wa.valueOf() && a.valueOf() <= this.ka.valueOf()
- }
- ;
- s_3gc.prototype.iterator = function() {
- return new s_2gc(this)
- }
- ;
- s_f("syji");
- /*
- Copyright The Closure Library Authors.
- SPDX-License-Identifier: Apache-2.0
- */
- var s_4gc = function(a, b) {
- this.ka = a;
- this.Fd = b || s_rf()
- };
- s_4gc.prototype.Ee = function() {
- return this.Fd
- }
- ;
- s_4gc.prototype.Da = function(a, b, c, d) {
- b ? (d = s_6f(this.Ee(), "TD"),
- d.colSpan = c ? 1 : 2,
- s_Ny(this, d, "\u00ab", this.ka + "-previousMonth"),
- a.appendChild(d),
- d = s_6f(this.Ee(), "TD"),
- d.colSpan = c ? 6 : 5,
- d.className = this.ka + "-monthyear",
- a.appendChild(d),
- d = s_6f(this.Ee(), "TD"),
- s_Ny(this, d, "\u00bb", this.ka + "-nextMonth"),
- a.appendChild(d)) : (c = s_6f(this.Ee(), "TD"),
- c.colSpan = 5,
- s_Ny(this, c, "\u00ab", this.ka + "-previousMonth"),
- s_Ny(this, c, "", this.ka + "-month"),
- s_Ny(this, c, "\u00bb", this.ka + "-nextMonth"),
- b = s_6f(this.Ee(), "TD"),
- b.colSpan = 3,
- s_Ny(this, b, "\u00ab", this.ka + "-previousYear"),
- s_Ny(this, b, "", this.ka + "-year"),
- s_Ny(this, b, "\u00bb", this.ka + "-nextYear"),
- d.indexOf("y") < d.indexOf("m") ? (a.appendChild(b),
- a.appendChild(c)) : (a.appendChild(c),
- a.appendChild(b)))
- }
- ;
- s_4gc.prototype.Aa = function(a, b) {
- var c = s_6f(this.Ee(), "TD");
- c.colSpan = b ? 2 : 3;
- c.className = this.ka + "-today-cont";
- s_Ny(this, c, "Ma", this.ka + "-today-btn");
- a.appendChild(c);
- c = s_6f(this.Ee(), "TD");
- c.colSpan = b ? 4 : 3;
- a.appendChild(c);
- c = s_6f(this.Ee(), "TD");
- c.colSpan = 2;
- c.className = this.ka + "-none-cont";
- s_Ny(this, c, "Egyik sem", this.ka + "-none-btn");
- a.appendChild(c)
- }
- ;
- var s_Ny = function(a, b, c, d) {
- var e = [a.ka + "-btn"];
- d && e.push(d);
- d = s_6f(a.Ee(), "BUTTON");
- d.className = e.join(" ");
- d.appendChild(s_Xha(a.Ee(), c));
- b.appendChild(d)
- };
- var s_Oy = function(a, b, c, d) {
- s_kr.call(this, c);
- this.Ba = b || s_Cw;
- this.Gc = this.Ba.XOa;
- this.Df = new s_jx("d",this.Ba);
- new s_jx("dd",this.Ba);
- this.Qg = new s_jx("w",this.Ba);
- this.Cg = new s_jx("d MMM",this.Ba);
- this.Qb = new s_jx(s_lx.tja || "y",this.Ba);
- this.Vf = new s_jx(s_lx.b5 || "MMMM y",this.Ba);
- this.Gd = d || new s_4gc(this.Kj(),this.Ee());
- this.wa = new s_Ew(a);
- this.wa.K6 = this.Ba.fja;
- this.wa.Tua(this.Ba.ZQ);
- this.ka = this.wa.clone();
- this.ka.setDate(1);
- this.rb = " ".split(" ");
- this.rb[this.Ba.lPa[0]] = this.Kj() + "-wkend-start";
- this.rb[this.Ba.lPa[1]] = this.Kj() + "-wkend-end";
- this.Sa = {};
- this.Oa = [];
- this.Zb = 0
- };
- s_p(s_Oy, s_kr);
- s_ = s_Oy.prototype;
- s_.aLa = !0;
- s_.Ohb = new s_3gc;
- s_.iLa = !0;
- s_.jLa = !0;
- s_.Rya = !0;
- s_.hLa = !0;
- s_.Geb = !1;
- s_.sAa = null;
- s_.LAa = null;
- s_.KAa = null;
- s_.JAa = null;
- s_.e7b = s_jr.Db();
- s_.Kj = function() {
- return "goog-date-picker"
- }
- ;
- var s_6gc = function(a) {
- a.Geb = !0;
- s_5gc(a);
- s_Py(a)
- }
- , s_8gc = function(a) {
- a.iLa = !1;
- s_5gc(a);
- s_7gc(a);
- s_Py(a)
- }
- , s_$gc = function(a, b) {
- a.Rya = b;
- a.Ib && s_9gc(a)
- }
- , s_9gc = function(a) {
- s_H(a.kb, a.hLa);
- s_H(a.Ib, a.Rya);
- s_H(a.jf, a.hLa || a.Rya)
- };
- s_ = s_Oy.prototype;
- s_.E$a = function() {
- this.ka.add(new s_Dw("m",-1));
- s_Py(this);
- s_ahc(this)
- }
- ;
- s_.x9 = function() {
- this.ka.add(new s_Dw("m",1));
- s_Py(this);
- s_ahc(this)
- }
- ;
- s_.y0c = function() {
- this.ka.add(new s_Dw("y",-1));
- s_Py(this);
- s_ahc(this)
- }
- ;
- s_.zMc = function() {
- this.ka.add(new s_Dw("y",1));
- s_Py(this);
- s_ahc(this)
- }
- ;
- s_.VPb = function() {
- this.setDate(new s_Ew)
- }
- ;
- s_.Rcb = function() {
- this.Rya && this.setDate(null)
- }
- ;
- s_.getDate = function() {
- return this.wa && this.wa.clone()
- }
- ;
- s_.setDate = function(a) {
- s_bhc(this, a, !0)
- }
- ;
- var s_bhc = function(a, b, c) {
- var d = b == a.wa || b && a.wa && b.getFullYear() == a.wa.getFullYear() && b.getMonth() == a.wa.getMonth()
- , e = b == a.wa || d && b.getDate() == a.wa.getDate();
- a.wa = b && new s_Ew(b);
- b && (a.ka.set(a.wa),
- a.ka.setFullYear(a.wa.getFullYear()),
- a.ka.setDate(1));
- s_Py(a);
- c && a.dispatchEvent(new s_chc("select",a,a.wa));
- e || a.dispatchEvent(new s_chc("change",a,a.wa));
- d || s_ahc(a)
- }
- , s_5gc = function(a) {
- if (a.LAa) {
- for (var b = a.LAa; b.firstChild; )
- b.removeChild(b.firstChild);
- a.Gd.Da(b, a.Geb, a.iLa, a.Ba.S4[0].toLowerCase());
- if (a.Geb) {
- s_Qy(a, b, a.Kj() + "-previousMonth", a.E$a);
- var c = s_E(a.Kj() + "-previousMonth", b);
- c && (s_bm(c, "hidden", !0),
- c.tabIndex = -1);
- s_Qy(a, b, a.Kj() + "-nextMonth", a.x9);
- if (c = s_E(a.Kj() + "-nextMonth", b))
- s_bm(c, "hidden", !0),
- c.tabIndex = -1;
- a.KAa = s_E(a.Kj() + "-monthyear", b)
- } else
- s_Qy(a, b, a.Kj() + "-previousMonth", a.E$a),
- s_Qy(a, b, a.Kj() + "-nextMonth", a.x9),
- s_Qy(a, b, a.Kj() + "-month", a.nbd),
- s_Qy(a, b, a.Kj() + "-previousYear", a.y0c),
- s_Qy(a, b, a.Kj() + "-nextYear", a.zMc),
- s_Qy(a, b, a.Kj() + "-year", a.fcd),
- a.La = s_E(a.Kj() + "-month", b),
- a.Xa = s_rf().By(a.Kj() + "-year", b)
- }
- }
- , s_Qy = function(a, b, c, d) {
- b = s_E(c, b);
- s_lr(a).listen(b, "click", function(e) {
- e.preventDefault();
- d.call(this, e)
- })
- }
- , s_7gc = function(a) {
- if (a.JAa) {
- var b = a.JAa;
- s_Lf(b);
- a.Gd.Aa(b, a.iLa);
- s_Qy(a, b, a.Kj() + "-today-btn", a.VPb);
- s_Qy(a, b, a.Kj() + "-none-btn", a.Rcb);
- a.kb = s_E(a.Kj() + "-today-btn", b);
- a.Ib = s_E(a.Kj() + "-none-btn", b);
- s_9gc(a)
- }
- };
- s_ = s_Oy.prototype;
- s_.Bp = function(a) {
- s_Oy.Nc.Bp.call(this, a);
- s_L(a, this.Kj());
- var b = this.Fd.Af("TABLE", {
- role: "presentation"
- })
- , c = this.Fd.Af("THEAD")
- , d = this.Fd.Af("TBODY", {
- role: "grid"
- })
- , e = this.Fd.Af("TFOOT");
- d.tabIndex = 0;
- this.Yd = d;
- this.jf = e;
- var f = this.Fd.Af("TR", {
- role: "row"
- });
- f.className = this.Kj() + "-head";
- this.LAa = f;
- s_5gc(this);
- c.appendChild(f);
- this.Ca = [];
- for (var g = 0; 7 > g; g++) {
- f = s_6f(this.Fd, "TR");
- this.Ca[g] = [];
- for (var h = 0; 8 > h; h++) {
- var k = s_6f(this.Fd, 0 == h || 0 == g ? "th" : "td");
- 0 != h && 0 != g || h == g ? 0 !== g && 0 !== h && (s_$l(k, "gridcell"),
- k.setAttribute("tabindex", "-1")) : (k.className = 0 == h ? this.Kj() + "-week" : this.Kj() + "-wday",
- s_$l(k, 0 == h ? "rowheader" : "columnheader"));
- f.appendChild(k);
- this.Ca[g][h] = k
- }
- d.appendChild(f)
- }
- f = s_6f(this.Fd, "TR");
- f.className = this.Kj() + "-foot";
- this.JAa = f;
- s_7gc(this);
- e.appendChild(f);
- b.cellSpacing = "0";
- b.cellPadding = "0";
- b.appendChild(c);
- b.appendChild(d);
- b.appendChild(e);
- a.appendChild(b);
- s_dhc(this);
- s_Py(this);
- a.tabIndex = 0
- }
- ;
- s_.Vm = function() {
- s_Oy.Nc.Vm.call(this);
- this.Bp(this.Ea())
- }
- ;
- s_.ji = function() {
- s_Oy.Nc.ji.call(this);
- var a = s_lr(this);
- a.listen(this.Yd, "click", this.nsc);
- a.listen(s_ehc(this, this.Ea()), "key", this.qsc)
- }
- ;
- s_.Qn = function() {
- s_Oy.Nc.Qn.call(this);
- this.Qa();
- for (var a in this.Sa)
- this.Sa[a].dispose();
- this.Sa = {}
- }
- ;
- s_.create = s_Oy.prototype.Ag;
- s_.Rb = function() {
- s_Oy.Nc.Rb.call(this);
- this.Ib = this.kb = this.Xa = this.KAa = this.La = this.JAa = this.LAa = this.jf = this.Yd = this.Ca = null
- }
- ;
- s_.nsc = function(a) {
- if ("TD" == a.target.tagName) {
- var b, c = -2, d = -2;
- for (b = a.target; b; b = b.previousSibling,
- c++)
- ;
- for (b = a.target.parentNode; b; b = b.previousSibling,
- d++)
- ;
- a = this.Oa[d][c];
- this.Ohb.contains(a) && this.setDate(a.clone())
- }
- }
- ;
- s_.qsc = function(a) {
- switch (a.keyCode) {
- case 33:
- a.preventDefault();
- var b = -1;
- break;
- case 34:
- a.preventDefault();
- b = 1;
- break;
- case 37:
- a.preventDefault();
- var c = -1;
- break;
- case 39:
- a.preventDefault();
- c = 1;
- break;
- case 38:
- a.preventDefault();
- c = -7;
- break;
- case 40:
- a.preventDefault();
- c = 7;
- break;
- case 36:
- a.preventDefault();
- this.VPb();
- break;
- case 46:
- a.preventDefault();
- this.Rcb();
- break;
- case 13:
- case 32:
- a.preventDefault(),
- s_bhc(this, this.wa, !0);
- default:
- return
- }
- this.wa ? (a = this.wa.clone(),
- a.add(new s_Dw(0,b,c))) : (a = this.ka.clone(),
- a.setDate(1));
- this.Ohb.contains(a) && (s_bhc(this, a, !1),
- this.$f.focus())
- }
- ;
- s_.nbd = function(a) {
- a.stopPropagation();
- a = [];
- for (var b = 0; 12 > b; b++)
- a.push(this.Ba.Z4[b]);
- s_fhc(this, this.La, a, this.xuc, this.Ba.Z4[this.ka.getMonth()])
- }
- ;
- s_.fcd = function(a) {
- a.stopPropagation();
- a = [];
- for (var b = this.ka.getFullYear(), c = this.ka.clone(), d = -5; 5 >= d; d++)
- c.setFullYear(b + d),
- a.push(this.Qb.format(c));
- s_fhc(this, this.Xa, a, this.Jyc, this.Qb.format(this.ka))
- }
- ;
- s_.xuc = function(a) {
- a = Number(a.getAttribute("itemIndex"));
- this.ka.setMonth(a);
- s_Py(this);
- this.La.focus && this.La.focus()
- }
- ;
- s_.Jyc = function(a) {
- 3 == a.firstChild.nodeType && (a = Number(a.getAttribute("itemIndex")),
- this.ka.setFullYear(this.ka.getFullYear() + a - 5),
- s_Py(this));
- this.Xa.focus()
- }
- ;
- var s_fhc = function(a, b, c, d, e) {
- a.Qa();
- var f = s_6f(a.Fd, "DIV");
- f.className = a.Kj() + "-menu";
- a.Ua = null;
- for (var g = s_6f(a.Fd, "UL"), h = 0; h < c.length; h++) {
- var k = a.Fd.Af("LI", null, c[h]);
- k.setAttribute("itemIndex", h);
- c[h] == e && (a.Ua = k);
- g.appendChild(k)
- }
- f.appendChild(g);
- f.style.left = b.offsetLeft + b.parentNode.offsetLeft + "px";
- f.style.top = b.offsetTop + "px";
- f.style.width = b.clientWidth + "px";
- a.La.parentNode.appendChild(f);
- a.Ma = f;
- a.Ua || (a.Ua = g.firstChild);
- a.Ua.className = a.Kj() + "-menu-selected";
- a.yc = d;
- b = s_lr(a);
- b.listen(a.Ma, "click", a.oe);
- b.listen(s_ehc(a, a.Ma), "key", a.Ne);
- b.listen(a.Fd.tf(), "click", a.Qa);
- f.tabIndex = 0;
- f.focus()
- };
- s_Oy.prototype.oe = function(a) {
- a.stopPropagation();
- this.Qa();
- this.yc && this.yc(a.target)
- }
- ;
- s_Oy.prototype.Ne = function(a) {
- a.stopPropagation();
- var b = this.Ua;
- switch (a.keyCode) {
- case 35:
- a.preventDefault();
- var c = b.parentNode.lastChild;
- break;
- case 36:
- a.preventDefault();
- c = b.parentNode.firstChild;
- break;
- case 38:
- a.preventDefault();
- c = b.previousSibling;
- break;
- case 40:
- a.preventDefault();
- c = b.nextSibling;
- break;
- case 13:
- case 9:
- case 0:
- a.preventDefault(),
- this.Qa(),
- this.yc(b)
- }
- c && c != b && (b.className = "",
- c.className = this.Kj() + "-menu-selected",
- this.Ua = c)
- }
- ;
- s_Oy.prototype.Qa = function() {
- if (this.Ma) {
- var a = s_lr(this);
- a.Se(this.Ma, "click", this.oe);
- a.Se(s_ehc(this, this.Ma), "key", this.Ne);
- a.Se(this.Fd.tf(), "click", this.Qa);
- s_Pf(this.Ma);
- delete this.Ma
- }
- }
- ;
- var s_Py = function(a) {
- if (a.Ea()) {
- var b = a.ka.clone();
- b.setDate(1);
- a.KAa && s_Yf(a.KAa, a.Vf.format(b));
- a.La && s_Yf(a.La, a.Ba.Z4[b.getMonth()]);
- a.Xa && s_Yf(a.Xa, a.Qb.format(b));
- var c = s_$1b(b);
- s_a2b(b);
- b.add(new s_Dw("m",-1));
- b.setDate(s_a2b(b) - (c - 1));
- c = new s_Dw("d",1);
- a.Oa = [];
- for (var d = 0; 6 > d; d++) {
- a.Oa[d] = [];
- for (var e = 0; 7 > e; e++) {
- a.Oa[d][e] = b.clone();
- var f = b.getFullYear();
- b.add(c);
- 0 == b.getMonth() && 1 == b.getDate() && f++;
- b.setFullYear(f)
- }
- }
- s_ghc(a)
- }
- }
- , s_ghc = function(a) {
- if (a.Ea()) {
- var b = a.ka.getMonth()
- , c = new s_Ew
- , d = c.getFullYear()
- , e = c.getMonth();
- c = c.getDate();
- for (var f = 6, g = 0; 6 > g; g++) {
- a.iLa ? (s_Yf(a.Ca[g + 1][0], a.Qg.format(a.Oa[g][0])),
- s_bi(a.Ca[g + 1][0], a.Kj() + "-week")) : (s_Yf(a.Ca[g + 1][0], ""),
- s_bi(a.Ca[g + 1][0], ""));
- for (var h = 0; 7 > h; h++) {
- var k = a.Oa[g][h]
- , l = a.Ca[g + 1][h + 1];
- l.id || (l.id = s_Iqb(a.e7b));
- s_$l(l, "gridcell");
- s_em(l, a.Cg.format(k));
- var m = [a.Kj() + "-date"];
- a.Ohb.contains(k) || m.push(a.Kj() + "-unavailable-date");
- k.getMonth() != b && m.push(a.Kj() + "-other-month");
- var n = (h + a.ka.b7() + 7) % 7;
- a.rb[n] && m.push(a.rb[n]);
- k.getDate() == c && k.getMonth() == e && k.getFullYear() == d && m.push(a.Kj() + "-today");
- a.wa && k.getDate() == a.wa.getDate() && k.getMonth() == a.wa.getMonth() && k.getFullYear() == a.wa.getFullYear() && (m.push(a.Kj() + "-selected"),
- a.$f = l);
- a.sAa && (n = a.sAa(k)) && m.push(n);
- k = a.Df.format(k);
- s_Yf(l, k);
- s_bi(l, m.join(" "))
- }
- 4 <= g && (h = a.Ca[g + 1][0].parentElement || a.Ca[g + 1][0].parentNode,
- l = a.Oa[g][0].getMonth() == b,
- s_H(h, l || a.aLa),
- l || (f = Math.min(f, g)))
- }
- b = (a.aLa ? 6 : f) + (a.jLa ? 1 : 0);
- a.Zb != b && (a.Zb < b && a.dispatchEvent("gridSizeIncrease"),
- a.Zb = b)
- }
- }
- , s_ahc = function(a) {
- var b = new s_chc("changeActiveMonth",a,a.ka.clone());
- a.dispatchEvent(b)
- }
- , s_dhc = function(a) {
- if (a.Ea()) {
- if (a.jLa)
- for (var b = 0; 7 > b; b++) {
- var c = a.Ca[0][b + 1]
- , d = (b + a.ka.b7() + 7) % 7;
- s_Yf(c, a.Gc[(d + 1) % 7])
- }
- s_H(a.Ca[0][0].parentElement || a.Ca[0][0].parentNode, a.jLa)
- }
- }
- , s_ehc = function(a, b) {
- var c = s_va(b);
- c in a.Sa || (a.Sa[c] = new s_ir(b));
- return a.Sa[c]
- }
- , s_chc = function(a, b, c) {
- s_cg.call(this, a, b);
- this.date = c
- };
- s_p(s_chc, s_cg);
- s_g();
- } catch (e) {
- _DumpException(e)
- }
- try {
- var s_Kbg = function(a) {
- return a.replace(/_/g, "_1").replace(/,/g, "_2").replace(/:/g, "_3")
- };
- s_f("sy10a");
- s_g();
- } catch (e) {
- _DumpException(e)
- }
- try {
- s_f("sy12t");
- /*
- Copyright The Closure Library Authors.
- SPDX-License-Identifier: Apache-2.0
- */
- var s_YO = function(a) {
- this.ka = [];
- this.wa = s_Cw;
- if ("number" == typeof a) {
- 11 < a && (a = 10);
- if (4 > a)
- var b = this.wa.S4[a];
- else
- 8 > a ? b = this.wa.H_[a - 4] : (b = this.wa.oOa[a - 8],
- b = b.replace("{1}", this.wa.S4[a - 8]),
- b = b.replace("{0}", this.wa.H_[a - 8]));
- s_kpg(this, b)
- } else
- s_kpg(this, a)
- }
- , s_kpg = function(a, b) {
- for (var c = !1, d = "", e = 0; e < b.length; e++) {
- var f = b.charAt(e);
- if (" " == f)
- for (0 < d.length && (a.ka.push({
- text: d,
- count: 0,
- sba: !1
- }),
- d = ""),
- a.ka.push({
- text: " ",
- count: 0,
- sba: !1
- }); e < b.length - 1 && " " == b.charAt(e + 1); )
- e++;
- else if (c)
- "'" == f ? e + 1 < b.length && "'" == b.charAt(e + 1) ? (d += "'",
- e++) : c = !1 : d += f;
- else if (0 <= "GyMdkHmsSEDahKzZvQL".indexOf(f)) {
- 0 < d.length && (a.ka.push({
- text: d,
- count: 0,
- sba: !1
- }),
- d = "");
- var g = b.charAt(e);
- for (var h = e + 1; h < b.length && b.charAt(h) == g; )
- h++;
- g = h - e;
- a.ka.push({
- text: f,
- count: g,
- sba: !1
- });
- e += g - 1
- } else
- "'" == f ? e + 1 < b.length && "'" == b.charAt(e + 1) ? (d += "'",
- e++) : c = !0 : d += f
- }
- 0 < d.length && a.ka.push({
- text: d,
- count: 0,
- sba: !1
- });
- b = !1;
- for (c = 0; c < a.ka.length; c++)
- s_lpg(a.ka[c]) ? !b && c + 1 < a.ka.length && s_lpg(a.ka[c + 1]) && (b = !0,
- a.ka[c].sba = !0) : b = !1
- };
- s_YO.prototype.parse = function(a, b, c) {
- return s_mpg(this, a, b, c || 0, !1)
- }
- ;
- var s_npg = function(a, b, c) {
- return s_mpg(a, b, c, 0, !0)
- }
- , s_mpg = function(a, b, c, d, e) {
- for (var f = new s_opg, g = [d], h = -1, k = 0, l = 0, m = 0; m < a.ka.length; m++)
- if (0 < a.ka[m].count)
- if (0 > h && a.ka[m].sba && (h = m,
- k = d,
- l = 0),
- 0 <= h) {
- var n = a.ka[m].count;
- if (m == h && (n -= l,
- l++,
- 0 == n))
- return 0;
- s_ppg(a, b, g, a.ka[m], n, f) || (m = h - 1,
- g[0] = k)
- } else {
- if (h = -1,
- !s_ppg(a, b, g, a.ka[m], 0, f))
- return 0
- }
- else {
- h = -1;
- if (" " == a.ka[m].text.charAt(0)) {
- if (n = g[0],
- s_qpg(b, g),
- g[0] > n)
- continue
- } else if (b.indexOf(a.ka[m].text, g[0]) == g[0]) {
- g[0] += a.ka[m].text.length;
- continue
- }
- return 0
- }
- a: {
- if (null == c)
- throw Error("Wh");
- void 0 != f.era && void 0 != f.year && 0 == f.era && 0 < f.year && (f.year = -(f.year - 1));
- void 0 != f.year && c.setFullYear(f.year);
- a = c.getDate();
- c.setDate(1);
- void 0 != f.month && c.setMonth(f.month);
- void 0 != f.day ? c.setDate(f.day) : (b = s_XXb(c.getFullYear(), c.getMonth()),
- c.setDate(a > b ? b : a));
- "function" === typeof c.setHours && (void 0 == f.hours && (f.hours = c.getHours()),
- void 0 != f.Ba && 0 < f.Ba && 12 > f.hours && (f.hours += 12),
- c.setHours(f.hours));
- "function" === typeof c.setMinutes && void 0 != f.minutes && c.setMinutes(f.minutes);
- "function" === typeof c.setSeconds && void 0 != f.ka && c.setSeconds(f.ka);
- "function" === typeof c.setMilliseconds && void 0 != f.wa && c.setMilliseconds(f.wa);
- if (e && (void 0 != f.year && f.year != c.getFullYear() || void 0 != f.month && f.month != c.getMonth() || void 0 != f.day && f.day != c.getDate() || 24 <= f.hours || 60 <= f.minutes || 60 <= f.ka || 1E3 <= f.wa))
- c = !1;
- else {
- void 0 != f.Aa && (e = c.getTimezoneOffset(),
- c.setTime(c.getTime() + 6E4 * (f.Aa - e)));
- f.Ca && (e = new Date,
- e.setFullYear(e.getFullYear() - 80),
- c.getTime() < e.getTime() && c.setFullYear(e.getFullYear() + 100));
- if (void 0 != f.nca)
- if (void 0 == f.day)
- f = (7 + f.nca - c.getDay()) % 7,
- 3 < f && (f -= 7),
- e = c.getMonth(),
- c.setDate(c.getDate() + f),
- c.getMonth() != e && c.setDate(c.getDate() + (0 < f ? -7 : 7));
- else if (f.nca != c.getDay()) {
- c = !1;
- break a
- }
- c = !0
- }
- }
- return c ? g[0] - d : 0
- }
- , s_lpg = function(a) {
- if (0 >= a.count)
- return !1;
- var b = "MydhHmsSDkK".indexOf(a.text.charAt(0));
- return 0 < b || 0 == b && 3 > a.count
- }
- , s_qpg = function(a, b) {
- (a = a.substring(b[0]).match(/^\s+/)) && (b[0] += a[0].length)
- }
- , s_ppg = function(a, b, c, d, e, f) {
- s_qpg(b, c);
- var g = c[0]
- , h = d.text.charAt(0)
- , k = -1;
- if (s_lpg(d))
- if (0 < e) {
- if (g + e > b.length)
- return !1;
- k = s_rpg(a, b.substring(0, g + e), c)
- } else
- k = s_rpg(a, b, c);
- switch (h) {
- case "G":
- return k = s_spg(b, c, a.wa.sOa),
- 0 <= k && (f.era = k),
- !0;
- case "M":
- case "L":
- a: {
- d = k;
- if (0 > d) {
- d = s_spg(b, c, a.wa.ija.concat(a.wa.Z4).concat(a.wa.vya).concat(a.wa.WOa));
- if (0 > d) {
- f = !1;
- break a
- }
- f.month = d % 12
- } else
- f.month = d - 1;
- f = !0
- }
- return f;
- case "E":
- return d = s_spg(b, c, a.wa.zya),
- 0 > d && (d = s_spg(b, c, a.wa.wya)),
- 0 > d ? f = !1 : (f.nca = d,
- f = !0),
- f;
- case "a":
- return k = s_spg(b, c, a.wa.jOa),
- 0 <= k && (f.Ba = k),
- !0;
- case "y":
- a: {
- if (0 > k) {
- var l = b.charAt(c[0]);
- if ("+" != l && "-" != l) {
- f = !1;
- break a
- }
- c[0]++;
- k = s_rpg(a, b, c);
- if (0 > k) {
- f = !1;
- break a
- }
- "-" == l && (k = -k)
- }
- l || 2 != c[0] - g || 2 != d.count ? f.year = k : (a = k,
- b = (new Date).getFullYear() - 80,
- c = b % 100,
- f.Ca = a == c,
- a += 100 * Math.floor(b / 100) + (a < c ? 100 : 0),
- f.year = a);
- f = !0
- }
- return f;
- case "Q":
- return 0 > k ? (d = s_spg(b, c, a.wa.SOa),
- 0 > d && (d = s_spg(b, c, a.wa.VOa)),
- 0 > d ? f = !1 : (f.month = 3 * d,
- f.day = 1,
- f = !0)) : f = !1,
- f;
- case "d":
- return 0 <= k && (f.day = k),
- !0;
- case "S":
- return a = c[0] - g,
- f.wa = 3 > a ? k * Math.pow(10, 3 - a) : Math.round(k / Math.pow(10, a - 3)),
- !0;
- case "h":
- 12 == k && (k = 0);
- case "K":
- case "H":
- case "k":
- return 0 <= k && (f.hours = k),
- !0;
- case "m":
- return 0 <= k && (f.minutes = k),
- !0;
- case "s":
- return 0 <= k && (f.ka = k),
- !0;
- case "z":
- case "Z":
- case "v":
- b.indexOf("GMT", c[0]) == c[0] && (c[0] += 3);
- a: if (c[0] >= b.length)
- f.Aa = 0,
- f = !0;
- else {
- d = 1;
- switch (b.charAt(c[0])) {
- case "-":
- d = -1;
- case "+":
- c[0]++
- }
- g = c[0];
- k = s_rpg(a, b, c);
- if (0 > k)
- f = !1;
- else {
- if (c[0] < b.length && ":" == b.charAt(c[0])) {
- l = 60 * k;
- c[0]++;
- k = s_rpg(a, b, c);
- if (0 > k) {
- f = !1;
- break a
- }
- l += k
- } else
- l = k,
- l = 24 > l && 2 >= c[0] - g ? 60 * l : l % 100 + l / 100 * 60;
- f.Aa = -(l * d);
- f = !0
- }
- }
- return f;
- default:
- return !1
- }
- }
- , s_rpg = function(a, b, c) {
- if (a.wa.qPa) {
- for (var d = [], e = c[0]; e < b.length; e++) {
- var f = b.charCodeAt(e) - a.wa.qPa;
- d.push(0 <= f && 9 >= f ? String.fromCharCode(f + 48) : b.charAt(e))
- }
- b = d.join("")
- } else
- b = b.substring(c[0]);
- a = b.match(/^\d+/);
- if (!a)
- return -1;
- c[0] += a[0].length;
- return parseInt(a[0], 10)
- }
- , s_spg = function(a, b, c) {
- var d = 0
- , e = -1;
- a = a.substring(b[0]).toLowerCase();
- for (var f = 0; f < c.length; f++) {
- var g = c[f].length;
- g > d && 0 == a.indexOf(c[f].toLowerCase()) && (e = f,
- d = g)
- }
- 0 <= e && (b[0] += d);
- return e
- }
- , s_opg = function() {};
- s_g();
- } catch (e) {
- _DumpException(e)
- }
- try {
- var s_tpg = function() {
- var a = {};
- a = (a.OouJcb = "cd_min",
- a.rzG2be = "cd_max",
- a);
- var b = s_e("HjtPBb");
- if (b)
- for (var c in a) {
- var d = s_e(c);
- b.value = b.value.replace(new RegExp("(" + a[c] + ":)([^,]*)"), "$1" + s_Kbg(d.value).replace(/^\s+|\s+$/g, ""))
- }
- }
- , s_upg = function(a, b) {
- a.sAa = b
- };
- s_f("Uuupec");
- var s_vpg = s_N("Uuupec");
- var s_wpg = s_TXb.S4[3]
- , s_ZO = function(a) {
- s_h.call(this, a.Ja);
- this.wa = this.Aa = this.Nb = this.ka = null;
- this.Ca = !0;
- this.Da = this.getData("m").Hb()
- };
- s_m(s_ZO, s_h);
- s_ZO.Ga = s_h.Ga;
- s_ZO.prototype.Kb = function() {
- this.kP();
- s_jg(window, "resize", this.Ba)
- }
- ;
- var s_xpg = function(a, b) {
- var c = new Date
- , d = new s_YO(s_wpg);
- b = s_ed(b.value);
- if (0 == b.length || s_npg(d, b, c) != b.length)
- a.wa.Rcb();
- else {
- a.Ca = !1;
- try {
- a.wa.setDate(c)
- } finally {
- a.Ca = !0
- }
- }
- }
- , s_ypg = function(a, b) {
- var c = s_E("qomYCd", a.Nb);
- s_fi(c, "KbfSHd", "OouJcb" != b.id);
- s_Cb(function() {
- s_L(c, "lRiKjb");
- s_Bb(function() {
- s_M(c, "lRiKjb")
- })
- }, 150)
- }
- , s_zpg = function() {
- var a = new Date(Date.now());
- a.setDate(28);
- var b, c = new Date(Date.now());
- return function(d) {
- if (!b)
- a: {
- var e = s_E("goog-date-picker-head");
- if (e && (e = s_vf("goog-date-picker-btn", e)) && 1 < e.length) {
- b = e[1];
- break a
- }
- b = null
- }
- b && s_fi(b, "suap3e", Number(a) <= Number(d));
- return Number(d) <= Number(c) ? null : "suap3e"
- }
- }
- , s_Bpg = function(a) {
- var b = s_Ff("DIV", "UfY8P");
- s_E("NwEGxd", a.Nb).appendChild(b);
- var c = new s_Oy;
- s_8gc(c);
- c.hLa = !1;
- c.kb && s_9gc(c);
- c.aLa = !0;
- s_Py(c);
- s_$gc(c, !0);
- c.Gc = c.Ba.qba;
- s_dhc(c);
- s_6gc(c);
- s_upg(c, s_zpg());
- c.Ag(b);
- a.wa = c;
- var d = s_E("Gwgzqd", a.Nb)
- , e = s_E("Ru1Ao", a.Nb);
- b = s_e("OouJcb");
- var f = s_e("rzG2be");
- s_F(c, "select", function() {
- var g = a.wa.getDate();
- if (a.Ca && g) {
- var h = new s_jx(s_wpg.replace(/yy/, "y"));
- a.ka.value = h.format(g);
- "OouJcb" == a.ka.id ? s_e("rzG2be").focus() : a.ka.focus()
- }
- });
- s_F(a.Nb, "keyup", function(g) {
- 27 == g.keyCode && a.kP()
- });
- s_F(d, "keydown", function(g) {
- 9 == g.keyCode && g.shiftKey && (g.preventDefault(),
- e.focus())
- });
- s_F(e, "keydown", function(g) {
- 9 != g.keyCode || g.shiftKey || (g.preventDefault(),
- d.focus())
- });
- s_F(e, "click", function() {
- for (var g = [s_e("OouJcb"), s_e("rzG2be")], h = new Date, k = new s_YO(s_wpg), l = new s_jx(s_wpg.replace(/yy/, "y")), m = 0; m < g.length; m++) {
- var n = g[m]
- , p = s_ed(n.value);
- 0 != p.length && s_npg(k, p, h) == p.length && (n.value = l.format(h))
- }
- });
- s_Apg(a, b);
- s_Apg(a, f);
- s_F(window, "resize", function() {
- return a.Ba()
- })
- };
- s_ZO.prototype.Ba = function() {
- if (this.Nb) {
- var a = this.Nb
- , b = Math.max(s_E("tmDYm", a).clientWidth, s_E("iWBKNe", a).clientWidth)
- , c = s_1q() ? "right" : "left"
- , d = s_E("J6UZg", a)
- , e = s_rh(document.body || document.documentElement)
- , f = s_rh(d)
- , g = f.width + b;
- g < e.width ? (d.style.width = g + "px",
- s_E("NwEGxd", a).style[c] = b + "px",
- s_M(d, "QIQ7Cc")) : (d.style.width = e.width + "px",
- s_E("NwEGxd", a).style[c] = "0",
- s_L(d, "QIQ7Cc"));
- this.Da ? (a = s_Us(0, !0),
- s_lh(d) + f.height <= a ? d.style.top = "" : d.style.top = Math.max(0, a - f.height) + "px") : d.style.top = "0"
- }
- }
- ;
- var s_Apg = function(a, b) {
- s_F(b, "keyup", function(c) {
- s_xpg(a, b);
- 27 == c.keyCode && a.kP()
- })
- };
- s_ZO.prototype.xS = function(a) {
- this.ka = a = a.Ya.el();
- s_ypg(this, a);
- s_xpg(this, a)
- }
- ;
- s_ZO.prototype.kP = function() {
- if (this.Aa) {
- var a = s_e("top_nav");
- a: {
- for (var b = this.Aa.parentElement; b && b != a; b = b.parentElement)
- if (b.hasAttribute("role")) {
- a = b;
- break a
- }
- a = null
- }
- a.focus();
- this.Aa = null
- }
- this.Nb && (this.Nb.style.display = "none",
- this.ka = null)
- }
- ;
- s_ZO.prototype.tad = function(a) {
- (a = a.Ya.el()) && s_Cpg(this, a)
- }
- ;
- var s_Cpg = function(a, b) {
- a.Aa = b;
- a.Nb || (b = s_E("n5Ug4b", b.parentElement),
- s_Jf(s_e("top_nav"), b),
- b.style.display = "block",
- a.Nb = b,
- s_ni(a.Nb, a.Ia().el()),
- s_Bpg(a));
- a.Nb.style.display = "block";
- a.Ba();
- var c = s_e("OouJcb");
- s_xpg(a, c);
- s_Bb(function() {
- c.focus()
- })
- };
- s_ZO.prototype.a3 = function() {
- s_tpg()
- }
- ;
- s_ZO.prototype.nwa = function() {
- s_tpg();
- s_e("T3kYXe").submit()
- }
- ;
- s_O(s_ZO.prototype, "hNEEAb", function() {
- return this.nwa
- });
- s_O(s_ZO.prototype, "zbvklb", function() {
- return this.a3
- });
- s_O(s_ZO.prototype, "EEGHee", function() {
- return this.tad
- });
- s_O(s_ZO.prototype, "xp3IKd", function() {
- return this.kP
- });
- s_O(s_ZO.prototype, "daRB0b", function() {
- return this.xS
- });
- s_Q(s_vpg, s_ZO);
- s_g();
- } catch (e) {
- _DumpException(e)
- }
- try {
- s_f("WVLMce");
- var s_tVh = s_N("WVLMce");
- var s_1Y = function(a) {
- s_h.call(this, a.Ja);
- this.Oa = s_TYa("INPUT", "iri", this.Ia().el());
- this.Qa = s_TYa("SPAN", "iri", this.Ia().el());
- this.Da = this.Ea("uQPRwe").Kc();
- this.Ca = this.Ea("ostUZ").Kc();
- this.Ba = this.Ea("IbE0S").Kc();
- this.Ma = this.Ea("iib5kc").Kc();
- this.Ka = this.Ea("a8amEf").Kc();
- this.Ha = this.Ea("z5C9Gb").Kc();
- this.wa = s_0f(this.Ia().el(), function(b) {
- return b && s_Vf(b) ? "1" === b.getAttribute("data-iu") : !1
- });
- this.La = [];
- this.Fa = this.Aa = 0;
- this.ka = {};
- this.Sa = this.getData("rc").Ra()
- };
- s_m(s_1Y, s_h);
- s_1Y.Ga = s_h.Ga;
- s_1Y.prototype.render = function() {
- s_H(this.Da, !1);
- s_H(this.Ca, !0);
- s_H(this.Ba, !0);
- s_H(this.Ka, !1);
- s_H(this.Ha, !1);
- s_L(this.wa, "ri_iur");
- var a = s_vf(this.Sa, this.wa);
- this.Aa = a.length;
- for (var b = 0; b < this.Aa; b++) {
- var c = a[b]
- , d = s_E("iri", c);
- d ? s_H(d, !0) : s_uVh(this, c, b, c.getAttribute("data-docid"))
- }
- }
- ;
- var s_uVh = function(a, b, c, d) {
- var e = a.Oa.cloneNode(!0);
- s_H(e, !0);
- e.id = "irl_bt_" + d;
- b.appendChild(e);
- var f = s_F(e, "click", function(g) {
- var h = a.Qa.cloneNode(!0);
- s_H(h, !0);
- var k = s_E("iri", b);
- k ? (s_vVh(a, k),
- s_Qf(h, k)) : b.appendChild(h);
- a.La[c] = !0;
- a.Fa++;
- a.done();
- s__a(s__a(s_Za(), "ct", "rep"), "cad", d).log();
- g.stopPropagation()
- });
- a.ka[e.id] = f
- }
- , s_wVh = function(a) {
- s_M(a.wa, "ri_iur");
- a = s_vf("iri", a.wa);
- for (var b = 0; b < a.length; b++)
- s_H(a[b], !1)
- }
- , s_vVh = function(a, b) {
- var c = a.ka[b.id];
- c && (s_kg(c),
- s_Wc(a.ka, b.id))
- };
- s_1Y.prototype.done = function() {
- s_wVh(this);
- this.Da.style.display = "none";
- this.Ca.style.display = "none";
- this.Ba.style.display = "none";
- this.Ma.style.display = "none";
- this.Ka.style.display = "";
- this.Aa != this.Fa && (this.Ha.style.display = "")
- }
- ;
- s_1Y.prototype.cancel = function() {
- s_wVh(this);
- this.Ca.style.display = "none";
- this.Ba.style.display = "none";
- this.Da.style.display = ""
- }
- ;
- s_1Y.prototype.Kb = function() {
- for (var a in this.ka)
- s_kg(this.ka[a]);
- s_Hea(this.ka);
- s_ja(this.La);
- this.Fa = this.Aa = 0
- }
- ;
- s_O(s_1Y.prototype, "IbE0S", function() {
- return this.cancel
- });
- s_O(s_1Y.prototype, "iib5kc", function() {
- return this.done
- });
- s_O(s_1Y.prototype, "rcuQ6b", function() {
- return this.render
- });
- s_Q(s_tVh, s_1Y);
- s_g();
- } catch (e) {
- _DumpException(e)
- }
- try {
- s_f("r36a9c");
- var s__Db = s_N("r36a9c");
- var s_0Db = function(a) {
- return null != a && 0 < a.getBoundingClientRect().width && 0 < a.getBoundingClientRect().height ? (a = window.getComputedStyle(a, null),
- "none" !== a.display && "hidden" !== a.visibility && "auto" === a.clip) : !1
- }
- , s_1Db = function(a) {
- s_h.call(this, a.Ja)
- };
- s_m(s_1Db, s_h);
- s_1Db.Ga = s_h.Ga;
- s_1Db.prototype.kxc = function() {
- var a = this.Ea("BKxS1e").el();
- s_S(a);
- a = this.VB().documentElement;
- var b = s_Ai(a).find(".ItQZPd").find('[role="heading"], h1, h2, h3').el();
- if (b)
- b.tabIndex = "-1",
- b.onblur = function(c) {
- return c.target.removeAttribute("tabIndex")
- }
- ,
- b.focus();
- else {
- a = s_Ai(a).find('[role="heading"], h1, h2, h3').filter(s_0Db).first();
- if (!s_Wk(a.el())) {
- if (null == a.Ld("aria-label") && null == a.Ld("aria-describedby")) {
- b = a.parent();
- if (s_0Db(b.el()) && "A" == b.el().tagName) {
- b.focus();
- return
- }
- b = a.children().filter(s_0Db);
- if (1 == b.size() && "A" == b.first().el().tagName) {
- b.first().focus();
- return
- }
- }
- a.el().tabIndex = "-1";
- a.el().onblur = function(c) {
- return c.target.removeAttribute("tabIndex")
- }
- }
- a.focus()
- }
- }
- ;
- s_O(s_1Db.prototype, "i3viod", function() {
- return this.kxc
- });
- s_Q(s__Db, s_1Db);
- s_g();
- } catch (e) {
- _DumpException(e)
- }
- // Google Inc.
Add Comment
Please, Sign In to add comment