2211ce2213399bb6de79c3af97137786ec09c437
[dotfiles/.git] / .config / google-chrome / Default / Extensions / ghbmnnjooekpmoecnnnilnnbdlolhkhi / 1.31.0_0 / eventpage_bin_prod.js
1 /*
2
3  Copyright The Closure Library Authors.
4  SPDX-License-Identifier: Apache-2.0
5 */
6 'use strict';var m;function aa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}var ba="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};
7 function ca(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");}var da=ca(this);function n(a,b){if(b)a:{var c=da;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ba(c,a,{configurable:!0,writable:!0,value:b})}}
8 n("Symbol",function(a){function b(f){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return new c(d+(f||"")+"_"+e++,f)}function c(f,h){this.g=f;ba(this,"description",{configurable:!0,writable:!0,value:h})}if(a)return a;c.prototype.toString=function(){return this.g};var d="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",e=0;return b});
9 n("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=da[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ba(d.prototype,a,{configurable:!0,writable:!0,value:function(){return ea(aa(this))}})}return a});function ea(a){a={next:a};a[Symbol.iterator]=function(){return this};return a}
10 function q(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}}function fa(a){if(!(a instanceof Array)){a=q(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a}var ha="function"==typeof Object.create?Object.create:function(a){function b(){}b.prototype=a;return new b},ia;
11 if("function"==typeof Object.setPrototypeOf)ia=Object.setPrototypeOf;else{var ja;a:{var ka={a:!0},la={};try{la.__proto__=ka;ja=la.a;break a}catch(a){}ja=!1}ia=ja?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var ma=ia;
12 function r(a,b){a.prototype=ha(b.prototype);a.prototype.constructor=a;if(ma)ma(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}function t(a,b){return Object.prototype.hasOwnProperty.call(a,b)}
13 n("WeakMap",function(a){function b(k){this.g=(g+=Math.random()+1).toString();if(k){k=q(k);for(var l;!(l=k.next()).done;)l=l.value,this.set(l[0],l[1])}}function c(){}function d(k){var l=typeof k;return"object"===l&&null!==k||"function"===l}function e(k){if(!t(k,h)){var l=new c;ba(k,h,{value:l})}}function f(k){var l=Object[k];l&&(Object[k]=function(p){if(p instanceof c)return p;Object.isExtensible(p)&&e(p);return l(p)})}if(function(){if(!a||!Object.seal)return!1;try{var k=Object.seal({}),l=Object.seal({}),
14 p=new a([[k,2],[l,3]]);if(2!=p.get(k)||3!=p.get(l))return!1;p.delete(k);p.set(l,4);return!p.has(k)&&4==p.get(l)}catch(P){return!1}}())return a;var h="$jscomp_hidden_"+Math.random();f("freeze");f("preventExtensions");f("seal");var g=0;b.prototype.set=function(k,l){if(!d(k))throw Error("Invalid WeakMap key");e(k);if(!t(k,h))throw Error("WeakMap key fail: "+k);k[h][this.g]=l;return this};b.prototype.get=function(k){return d(k)&&t(k,h)?k[h][this.g]:void 0};b.prototype.has=function(k){return d(k)&&t(k,
15 h)&&t(k[h],this.g)};b.prototype.delete=function(k){return d(k)&&t(k,h)&&t(k[h],this.g)?delete k[h][this.g]:!1};return b});
16 n("Map",function(a){function b(){var g={};return g.previous=g.next=g.head=g}function c(g,k){var l=g.g;return ea(function(){if(l){for(;l.head!=g.g;)l=l.previous;for(;l.next!=l.head;)return l=l.next,{done:!1,value:k(l)};l=null}return{done:!0,value:void 0}})}function d(g,k){var l=k&&typeof k;"object"==l||"function"==l?f.has(k)?l=f.get(k):(l=""+ ++h,f.set(k,l)):l="p_"+k;var p=g.j[l];if(p&&t(g.j,l))for(g=0;g<p.length;g++){var P=p[g];if(k!==k&&P.key!==P.key||k===P.key)return{id:l,list:p,index:g,entry:P}}return{id:l,
17 list:p,index:-1,entry:void 0}}function e(g){this.j={};this.g=b();this.size=0;if(g){g=q(g);for(var k;!(k=g.next()).done;)k=k.value,this.set(k[0],k[1])}}if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var g=Object.seal({x:4}),k=new a(q([[g,"s"]]));if("s"!=k.get(g)||1!=k.size||k.get({x:4})||k.set({x:4},"t")!=k||2!=k.size)return!1;var l=k.entries(),p=l.next();if(p.done||p.value[0]!=g||"s"!=p.value[1])return!1;p=l.next();return p.done||4!=p.value[0].x||
18 "t"!=p.value[1]||!l.next().done?!1:!0}catch(P){return!1}}())return a;var f=new WeakMap;e.prototype.set=function(g,k){g=0===g?0:g;var l=d(this,g);l.list||(l.list=this.j[l.id]=[]);l.entry?l.entry.value=k:(l.entry={next:this.g,previous:this.g.previous,head:this.g,key:g,value:k},l.list.push(l.entry),this.g.previous.next=l.entry,this.g.previous=l.entry,this.size++);return this};e.prototype.delete=function(g){g=d(this,g);return g.entry&&g.list?(g.list.splice(g.index,1),g.list.length||delete this.j[g.id],
19 g.entry.previous.next=g.entry.next,g.entry.next.previous=g.entry.previous,g.entry.head=null,this.size--,!0):!1};e.prototype.clear=function(){this.j={};this.g=this.g.previous=b();this.size=0};e.prototype.has=function(g){return!!d(this,g).entry};e.prototype.get=function(g){return(g=d(this,g).entry)&&g.value};e.prototype.entries=function(){return c(this,function(g){return[g.key,g.value]})};e.prototype.keys=function(){return c(this,function(g){return g.key})};e.prototype.values=function(){return c(this,
20 function(g){return g.value})};e.prototype.forEach=function(g,k){for(var l=this.entries(),p;!(p=l.next()).done;)p=p.value,g.call(k,p[1],p[0],this)};e.prototype[Symbol.iterator]=e.prototype.entries;var h=0;return e});function na(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e}
21 n("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});n("Array.prototype.values",function(a){return a?a:function(){return na(this,function(b,c){return c})}});n("Array.prototype.keys",function(a){return a?a:function(){return na(this,function(b){return b})}});
22 n("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 f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});
23 n("String.prototype.includes",function(a){return a?a:function(b,c){if(null==this)throw new TypeError("The 'this' value for String.prototype.includes must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype.includes must not be a regular expression");return-1!==(this+"").indexOf(b,c||0)}});
24 n("Set",function(a){function b(c){this.g=new Map;if(c){c=q(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.g.size}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(q([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(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||
25 f.value[1]!=f.value[0]?!1:e.next().done}catch(h){return!1}}())return a;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]=
26 b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.g.forEach(function(f){return c.call(d,f,f,e)})};return b});n("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)t(b,d)&&c.push(b[d]);return c}});var oa=oa||{},u=this||self;function v(){}function pa(a){var b=typeof a;b="object"!=b?b:a?Array.isArray(a)?"array":b:"null";return"array"==b||"object"==b&&"number"==typeof a.length}function qa(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}
27 var ra="closure_uid_"+(1E9*Math.random()>>>0),sa=0;function ta(a,b,c){return a.call.apply(a.bind,arguments)}function ua(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)}}
28 function w(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?w=ta:w=ua;return w.apply(null,arguments)}function x(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)}}function va(a){(0,eval)(a)}
29 function y(a,b){function c(){}c.prototype=b.prototype;a.M=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Aa=function(d,e,f){for(var h=Array(arguments.length-2),g=2;g<arguments.length;g++)h[g-2]=arguments[g];return b.prototype[e].apply(d,h)}};function z(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,z);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));b&&(this.cause=b);this.g=!0}y(z,Error);z.prototype.name="CustomError";function wa(a,b){return Array.prototype.indexOf.call(a,b,void 0)}function xa(a,b,c){Array.prototype.forEach.call(a,b,c)}function ya(a,b){return Array.prototype.some.call(a,b,void 0)}function za(a){a:{var b=Aa;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]}function Ba(a,b){b=wa(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c}
30 function Ca(a){return Array.prototype.concat.apply([],arguments)};function Da(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Ea(a){var b={},c;for(c in a)b[c]=a[c];return b}var Fa="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Ga(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 f=0;f<Fa.length;f++)c=Fa[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var A;a:{var Ha=u.navigator;if(Ha){var Ia=Ha.userAgent;if(Ia){A=Ia;break a}}A=""};var Ja=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};function Ka(a){return Array.prototype.join.call(arguments,"")};function La(a,b,c){return Object.prototype.hasOwnProperty.call(a,b)?a[b]:a[b]=c(b)};var Ma="function"===typeof Uint8Array;function B(){}var Na;function C(a,b){a.g=null;Na&&(b||(b=Na),Na=null);var c=a.constructor.messageId,d=a.constructor.Ca;d=c||d;b||(b=d?[c]:[]);a.v=d?0:-1;a.j=b;a:{if(b=a.j.length)if(--b,c=a.j[b],!(null===c||"object"!=typeof c||Array.isArray(c)||Ma&&c instanceof Uint8Array)){a.o=b-a.v;a.l=c;break a}a.o=Number.MAX_VALUE}a.D={}}var Oa=[];function D(a,b){if(b<a.o){b+=a.v;var c=a.j[b];return c!==Oa?c:a.j[b]=[]}if(a.l)return c=a.l[b],c===Oa?a.l[b]=[]:c}
31 function E(a,b,c){if(b<a.o)a.j[b+a.v]=c;else{var d=a.o+a.v;a.j[d]||(a.l=a.j[d]={});a.l[b]=c}return a}function Pa(a,b,c){a.g||(a.g={});if(!a.g[c]){var d=D(a,c);d&&(a.g[c]=new b(d))}return a.g[c]}function Qa(a,b,c){a.g||(a.g={});var d=c?Ra(c):c;a.g[b]=c;E(a,b,d)}function Ra(a){if(a.g)for(var b in a.g){var c=a.g[b];if(Array.isArray(c))for(var d=0;d<c.length;d++);}return a.j}B.prototype.toString=function(){return Ra(this).toString()};function F(){}F.prototype.o=function(){return this.l||(Object.defineProperties(this,{l:{value:Sa=Sa+1|0,enumerable:!1}}),this.l)};F.prototype.toString=function(){var a=G(Ta(H(this.constructor)))+"@";var b=(this.o()>>>0).toString(16);return a+G(b)};F.prototype.C=["java.lang.Object",0];function Ua(){}r(Ua,F);Ua.prototype.j=function(a){this.g=a;Va(this,a)};function Wa(a){Xa(a.g)&&(Error.captureStackTrace?Error.captureStackTrace(I(a.g,Xa,Ya)):I(a.g,Xa,Ya).stack=Error().stack)}Ua.prototype.toString=function(){var a=Ta(H(this.constructor)),b=this.A;return null==b?a:G(a)+": "+G(b)};Ua.prototype.C=["java.lang.Throwable",0];function Va(a,b){if(b instanceof Object)try{b.za=a,Object.defineProperties(b,{cause:{get:function(){return a.D&&a.D.g}}})}catch(c){}};function Za(){}r(Za,Ua);Za.prototype.C=["java.lang.Exception",0];function J(){}r(J,Za);J.prototype.C=["java.lang.RuntimeException",0];function $a(){}r($a,F);$a.prototype.C=["java.lang.Number",0];function ab(){}r(ab,F);ab.prototype.C=["java.lang.Boolean",0];function bb(){}r(bb,J);bb.prototype.j=function(a){J.prototype.j.call(this,"__noinit__"===this.v?a:this.v)};bb.prototype.C=["java.lang.JsException",0];function cb(){}r(cb,bb);cb.prototype.C=["java.lang.NullPointerException",0];var Sa=0;function db(){}db.prototype.C=["<native function>",1];function eb(){}r(eb,F);eb.prototype.C=["<native object>",0];function fb(a){var b=typeof a;if("number"==b)return H(gb);if("boolean"==b)return H(ab);if("string"==b)return H(hb);if(Array.isArray(a))return(a=a.qa)?H(a.Da,a.Ba):H(F,1);if(a instanceof F)return H(a.constructor);if(a)return H("function"==b?db:eb);throw new TypeError("null.getClass");};function ib(){}r(ib,J);ib.prototype.C=["java.util.NoSuchElementException",0];function jb(){}r(jb,J);jb.prototype.C=["java.lang.ClassCastException",0];function gb(){}r(gb,$a);function kb(a){return"number"===typeof a}gb.prototype.C=["java.lang.Double",0];function I(a,b,c){if(null!=a&&!b(a))throw a=G(Ta(fb(a)))+" cannot be cast to "+G(Ta(H(c))),b=new jb,b.A=a,Wa(b),b.j(Error(b)),b.g;return a};function lb(a){if(null==a)throw a=new cb,Wa(a),a.v="__noinit__",a.j(new TypeError(a)),a.g;return a};function K(){}r(K,$a);K.prototype.o=function(){return 0};K.prototype.toString=function(){return"0"};function mb(a){return a instanceof K}K.prototype.C=["java.lang.Integer",0];function hb(){}r(hb,F);function G(a){return null==a?"null":a.toString()}function nb(a){return"string"===typeof a}hb.prototype.C=["java.lang.String",0];function ob(a,b){this.g=a;this.j=b}r(ob,F);function Ta(a){if(0!=a.j){var b=3==a.g.prototype.C[1]?a.g.prototype.C[2]:"L"+G(a.g.prototype.C[0])+";";a=a.j;for(var c="",d=0;d<a;d=d+1|0)c=G(c)+"[";return G(c)+G(b)}return a.g.prototype.C[0]}ob.prototype.toString=function(){return String(0==this.j&&1==this.g.prototype.C[1]?"interface ":0==this.j&&3==this.g.prototype.C[1]?"":"class ")+G(Ta(this))};ob.prototype.C=["java.lang.Class",0];
32 function H(a,b){var c=b||0;return La(a.prototype,"$$class/"+c,function(){return new ob(a,c)})};function Ya(){}function Xa(a){return a instanceof Error}Ya.prototype.C=["Error",0];function pb(){this.g=0}r(pb,F);pb.prototype.C=["com.google.gwt.corp.collections.AbstractJsArray$Iter",0];function qb(){this.g=0}r(qb,pb);qb.prototype.C=["com.google.gwt.corp.collections.JsArray$Iter",0];function rb(){}r(rb,F);rb.prototype.C=["com.google.gwt.corp.collections.JsArray$1",0];function sb(){}function tb(a){return a instanceof Object}sb.prototype.C=["Object",0];var ub={ra:"clientLog",ta:"docId",wa:"mobile-app-version",ya:"severity",ua:"isArrayPrototypeIntact",xa:"reportName",va:"locale",sa:"docId"};var vb;function wb(){}r(wb,F);wb.prototype.get=function(){if(null==this.g){var a=I(u._docs_flag_initialData,tb,sb);this.g=null!=a?a:I({},tb,sb)}return this.g};wb.prototype.C=["com.google.apps.docs.xplat.flag.FlagServiceHelper",0];function xb(a){this.g=new wb;if(null!=a){var b=Object.keys(a),c=new rb;c.g=b;b=new qb;c=c.g;b.g=-1;for(b.j=c;(b.g+1|0)<b.j.length;){c=b;if(!((c.g+1|0)<c.j.length))throw a=new ib,Wa(a),a.j(Error(a)),a.g;var d=c.g=c.g+1|0;d=c=I(c.j[d],nb,hb);var e=a[c];c=I(this.g.get(),tb,sb);mb(e)?(I(e,mb,K),c[d]=0):c[d]=null!=e?e:null}}}r(xb,F);xb.prototype.clear=function(){this.g=new wb};xb.prototype.get=function(a){return I(this.g.get(),tb,sb)[a]};
33 function yb(a){null==vb&&(vb=new xb(null));var b=vb;var c=I(b.g.get(),tb,sb);if(!(a in c))return"";a=b.get(a);return null==a?"":kb(a)&&(b=I(a,kb,gb),(Math.max(Math.min(lb(b),2147483647),-2147483648)|0)==(Math.max(Math.min(lb(b),2147483647),-2147483648)|0))?""+(Math.max(Math.min(lb(b),2147483647),-2147483648)|0):G(a)}xb.prototype.C=["com.google.apps.docs.xplat.flag.FlagServiceImpl",0];var zb=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function Ab(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 f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}}
34 function Bb(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]}function Cb(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)Cb(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+encodeURIComponent(String(b))))}function Db(a,b){var c=[];for(b=b||0;b<a.length;b+=2)Cb(a[b],a[b+1],c);return c.join("&")}
35 function Eb(a){var b=[],c;for(c in a)Cb(c,a[c],b);return b.join("&")}function Fb(a,b){var c=2==arguments.length?Db(arguments[1],0):Db(arguments,1);return Bb(a,c)};function Gb(a,b){this.g=a[u.Symbol.iterator]();this.j=b;this.l=0}Gb.prototype[Symbol.iterator]=function(){return this};Gb.prototype.next=function(){var a=this.g.next();return{value:a.done?void 0:this.j.call(void 0,a.value,this.l++),done:a.done}};function Hb(a,b){return new Gb(a,b)};var Ib="StopIteration"in u?u.StopIteration:{message:"StopIteration",stack:""};function Jb(){}Jb.prototype.next=function(){throw Ib;};Jb.prototype.R=function(){return this};function Kb(a){if(a instanceof L||a instanceof Lb||a instanceof M)return a;if("function"==typeof a.next)return new L(function(){return Mb(a)});if("function"==typeof a[Symbol.iterator])return new L(function(){return a[Symbol.iterator]()});if("function"==typeof a.R)return new L(function(){return Mb(a.R())});throw Error("Not an iterator or iterable.");}
36 function Mb(a){if(!(a instanceof Jb))return a;var b=!1;return{next:function(){for(var c;!b;)try{c=a.next();break}catch(d){if(d!==Ib)throw d;b=!0}return{value:c,done:b}}}}function L(a){this.g=a}L.prototype.R=function(){return new Lb(this.g())};L.prototype[Symbol.iterator]=function(){return new M(this.g())};L.prototype.j=function(){return new M(this.g())};function Lb(a){this.g=a}r(Lb,Jb);Lb.prototype.next=function(){var a=this.g.next();if(a.done)throw Ib;return a.value};
37 Lb.prototype[Symbol.iterator]=function(){return new M(this.g)};Lb.prototype.j=function(){return new M(this.g)};function M(a){L.call(this,function(){return a});this.l=a}r(M,L);M.prototype.next=function(){return this.l.next()};function Nb(a,b){this.j={};this.g=[];this.l=this.size=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a)if(a instanceof Nb)for(c=a.L(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])}m=Nb.prototype;m.J=function(){Ob(this);for(var a=[],b=0;b<this.g.length;b++)a.push(this.j[this.g[b]]);return a};m.L=function(){Ob(this);return this.g.concat()};
38 m.has=function(a){return Pb(this.j,a)};m.clear=function(){this.j={};this.l=this.size=this.g.length=0};m.remove=function(a){Pb(this.j,a)?(delete this.j[a],--this.size,this.l++,this.g.length>2*this.size&&Ob(this),a=!0):a=!1;return a};function Ob(a){if(a.size!=a.g.length){for(var b=0,c=0;b<a.g.length;){var d=a.g[b];Pb(a.j,d)&&(a.g[c++]=d);b++}a.g.length=c}if(a.size!=a.g.length){var e={};for(c=b=0;b<a.g.length;)d=a.g[b],Pb(e,d)||(a.g[c++]=d,e[d]=1),b++;a.g.length=c}}
39 m.get=function(a,b){return Pb(this.j,a)?this.j[a]:b};m.set=function(a,b){Pb(this.j,a)||(this.size+=1,this.g.push(a),this.l++);this.j[a]=b};m.forEach=function(a,b){for(var c=this.L(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};m.keys=function(){return Kb(this.R(!0)).j()};m.values=function(){return Kb(this.R(!1)).j()};m.entries=function(){var a=this;return Hb(this.keys(),function(b){return[b,a.get(b)]})};
40 m.R=function(a){Ob(this);var b=0,c=this.l,d=this,e=new Jb;e.next=function(){if(c!=d.l)throw Error("The map has changed since the iterator was created");if(b>=d.g.length)throw Ib;var f=d.g[b++];return a?f:d.j[f]};return e};function Pb(a,b){return Object.prototype.hasOwnProperty.call(a,b)};function Qb(a){if(a.J&&"function"==typeof a.J)return a.J();if("string"===typeof a)return a.split("");if(pa(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}b=[];c=0;for(d in a)b[c++]=a[d];return b}
41 function Rb(a,b){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,void 0);else if(pa(a)||"string"===typeof a)xa(a,b,void 0);else{if(a.L&&"function"==typeof a.L)var c=a.L();else if(a.J&&"function"==typeof a.J)c=void 0;else if(pa(a)||"string"===typeof a){c=[];for(var d=a.length,e=0;e<d;e++)c.push(e)}else for(e in c=[],d=0,a)c[d++]=e;d=Qb(a);e=d.length;for(var f=0;f<e;f++)b.call(void 0,d[f],c&&c[f],a)}};function Sb(a){this.v=this.A=this.l="";this.D=null;this.o=this.B="";this.g=!1;if(a instanceof Sb){this.g=a.g;Tb(this,a.l);this.A=a.A;this.v=a.v;Ub(this,a.D);Vb(this,a.B);var b=a.j;var c=new Wb;c.l=b.l;b.g&&(c.g=new Nb(b.g),c.j=b.j);Xb(this,c);this.o=a.o}else a&&(b=String(a).match(zb))?(this.g=!1,Tb(this,b[1]||"",!0),this.A=Yb(b[2]||""),this.v=Yb(b[3]||"",!0),Ub(this,b[4]),Vb(this,b[5]||"",!0),Xb(this,b[6]||"",!0),this.o=Yb(b[7]||"")):(this.g=!1,this.j=new Wb(null,this.g))}
42 Sb.prototype.toString=function(){var a=[],b=this.l;b&&a.push(Zb(b,$b,!0),":");var c=this.v;if(c||"file"==b)a.push("//"),(b=this.A)&&a.push(Zb(b,$b,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.D,null!=c&&a.push(":",String(c));if(c=this.B)this.v&&"/"!=c.charAt(0)&&a.push("/"),a.push(Zb(c,"/"==c.charAt(0)?ac:bc,!0));(c=this.j.toString())&&a.push("?",c);(c=this.o)&&a.push("#",Zb(c,cc));return a.join("")};
43 function Tb(a,b,c){a.l=c?Yb(b,!0):b;a.l&&(a.l=a.l.replace(/:$/,""));return a}function Ub(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.D=b}else a.D=null}function Vb(a,b,c){a.B=c?Yb(b,!0):b;return a}function Xb(a,b,c){b instanceof Wb?(a.j=b,dc(a.j,a.g)):(c||(b=Zb(b,ec)),a.j=new Wb(b,a.g))}function Yb(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}
44 function Zb(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,fc),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function fc(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var $b=/[#\/\?@]/g,bc=/[#\?:]/g,ac=/[#\?]/g,ec=/[#\?@]/g,cc=/#/g;function Wb(a,b){this.j=this.g=null;this.l=a||null;this.v=!!b}function N(a){a.g||(a.g=new Nb,a.j=0,a.l&&Ab(a.l,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))}m=Wb.prototype;
45 m.add=function(a,b){N(this);this.l=null;a=gc(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.j=this.j+1;return this};m.remove=function(a){N(this);a=gc(this,a);return this.g.has(a)?(this.l=null,this.j=this.j-this.g.get(a).length,this.g.remove(a)):!1};m.clear=function(){this.g=this.l=null;this.j=0};function hc(a,b){N(a);b=gc(a,b);return a.g.has(b)}m.forEach=function(a,b){N(this);this.g.forEach(function(c,d){xa(c,function(e){a.call(b,e,d,this)},this)},this)};
46 m.L=function(){N(this);for(var a=this.g.J(),b=this.g.L(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};m.J=function(a){N(this);var b=[];if("string"===typeof a)hc(this,a)&&(b=Ca(b,this.g.get(gc(this,a))));else{a=this.g.J();for(var c=0;c<a.length;c++)b=Ca(b,a[c])}return b};m.set=function(a,b){N(this);this.l=null;a=gc(this,a);hc(this,a)&&(this.j=this.j-this.g.get(a).length);this.g.set(a,[b]);this.j=this.j+1;return this};
47 m.get=function(a,b){if(!a)return b;a=this.J(a);return 0<a.length?String(a[0]):b};m.toString=function(){if(this.l)return this.l;if(!this.g)return"";for(var a=[],b=this.g.L(),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.J(d);for(var f=0;f<d.length;f++){var h=e;""!==d[f]&&(h+="="+encodeURIComponent(String(d[f])));a.push(h)}}return this.l=a.join("&")};function gc(a,b){b=String(b);a.v&&(b=b.toLowerCase());return b}
48 function dc(a,b){b&&!a.v&&(N(a),a.l=null,a.g.forEach(function(c,d){var e=d.toLowerCase();if(d!=e&&(this.remove(d),this.remove(e),0<c.length)){this.l=null;d=this.g;var f=d.set;e=gc(this,e);var h=c.length;if(0<h){for(var g=Array(h),k=0;k<h;k++)g[k]=c[k];h=g}else h=[];f.call(d,e,h);this.j=this.j+c.length}},a));a.v=b};function ic(a){a:{var b=["window","location","href"];var c=u;for(var d=0;d<b.length;d++)if(c=c[b[d]],null==c){c=null;break a}}null==a&&(a='Unknown Error of type "null/undefined"');if("string"===typeof a)return{message:a,name:"Unknown error",lineNumber:"Not available",fileName:c,stack:"Not available"};b=!1;try{var e=a.lineNumber||a.line||"Not available"}catch(h){e="Not available",b=!0}try{var f=a.fileName||a.filename||a.sourceURL||u.$googDebugFname||c}catch(h){f="Not available",b=!0}c=jc(a);if(!(!b&&
49 a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name))return b=a.message,null==b&&(b=a.constructor&&a.constructor instanceof Function?'Unknown Error of type "'+(a.constructor.name?a.constructor.name:kc(a.constructor))+'"':"Unknown Error of unknown type","function"===typeof a.toString&&Object.prototype.toString!==a.toString&&(b+=": "+a.toString())),{message:b,name:a.name||"UnknownError",lineNumber:e,fileName:f,stack:c||"Not available"};a.stack=c;return{message:a.message,name:a.name,lineNumber:a.lineNumber,
50 fileName:a.fileName,stack:a.stack}}function jc(a,b){b||(b={});b[lc(a)]=!0;var c=a.stack||"";(a=a.cause)&&!b[lc(a)]&&(c+="\nCaused by: ",a.stack&&0==a.stack.indexOf(a.toString())||(c+="string"===typeof a?a:a.message+"\n"),c+=jc(a,b));return c}function lc(a){var b="";"function"===typeof a.toString&&(b=""+a);return b+a.stack}
51 function mc(a,b){a instanceof Error||(a=Error(a),Error.captureStackTrace&&Error.captureStackTrace(a,mc));a.stack||(a.stack=nc(mc));if(b){for(var c=0;a["message"+c];)++c;a["message"+c]=String(b)}return a}function oc(a,b){a=mc(a);if(b)for(var c in b){var d=a,e=c,f=b[c];d.__closure__error__context__984382||(d.__closure__error__context__984382={});d.__closure__error__context__984382[e]=f}return a}
52 function nc(a){var b=Error();if(Error.captureStackTrace)Error.captureStackTrace(b,a||nc),b=String(b.stack);else{try{throw b;}catch(c){b=c}b=(b=b.stack)?String(b):null}b||(b=pc(a||arguments.callee.caller,[]));return b}
53 function pc(a,b){var c=[];if(0<=wa(b,a))c.push("[...circular reference...]");else if(a&&50>b.length){c.push(kc(a)+"(");for(var d=a.arguments,e=0;d&&e<d.length;e++){0<e&&c.push(", ");var f=d[e];switch(typeof f){case "object":f=f?"object":"null";break;case "string":break;case "number":f=String(f);break;case "boolean":f=f?"true":"false";break;case "function":f=(f=kc(f))?f:"[fn]";break;default:f=typeof f}40<f.length&&(f=f.substr(0,40)+"...");c.push(f)}b.push(a);c.push(")\n");try{c.push(pc(a.caller,b))}catch(h){c.push("[exception trying to get caller]\n")}}else a?
54 c.push("[...long stack...]"):c.push("[end]");return c.join("")}function kc(a){if(qc[a])return qc[a];a=String(a);if(!qc[a]){var b=/function\s+([^\(]+)/m.exec(a);qc[a]=b?b[1]:"[Anonymous]"}return qc[a]}var qc={};var rc=[],sc=[],tc=!1;function uc(a){rc[rc.length]=a;if(tc)for(var b=0;b<sc.length;b++)a(w(sc[b].g,sc[b]))};function vc(a){a&&"function"==typeof a.Y&&a.Y()};function wc(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];pa(d)?wc.apply(null,d):vc(d)}};function O(){this.v=this.v;this.D=this.D}O.prototype.v=!1;O.prototype.Y=function(){this.v||(this.v=!0,this.H())};function xc(a,b){a.v?b():(a.D||(a.D=[]),a.D.push(b))}O.prototype.H=function(){if(this.D)for(;this.D.length;)this.D.shift()()};function yc(a){O.call(this);this.j=a}y(yc,O);yc.prototype.g=function(a){return zc(this,a)};function Ac(a,b){a=Object.prototype.hasOwnProperty.call(a,ra)&&a[ra]||(a[ra]=++sa);return(b?"__wrapper_":"__protected_")+a+"__"}function zc(a,b){var c=Ac(a,!0);b[c]||((b[c]=Bc(a,b))[Ac(a,!1)]=b);return b[c]}
55 function Bc(a,b){function c(){if(a.v)return b.apply(this,arguments);try{return b.apply(this,arguments)}catch(e){var d=e;if(!(d&&"object"===typeof d&&"string"===typeof d.message&&0==d.message.indexOf("Error in protected function: ")||"string"===typeof d&&0==d.indexOf("Error in protected function: ")))throw a.j(d),new Cc(d);}}c[Ac(a,!1)]=b;return c}
56 function Dc(a,b){var c=u.window,d=c[b];c[b]=function(e,f){"string"===typeof e&&(e=x(va,e));arguments[0]=e=zc(a,e);if(d.apply)return d.apply(this,arguments);var h=e;if(2<arguments.length){var g=Array.prototype.slice.call(arguments,2);h=function(){e.apply(this,g)}}return d(h,f)};c[b][Ac(a,!1)]=d}yc.prototype.H=function(){var a=u.window;var b=a.setTimeout;b=b[Ac(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[Ac(this,!1)]||b;a.setInterval=b;yc.M.H.call(this)};
57 function Cc(a){z.call(this,"Error in protected function: "+(a&&a.message?String(a.message):String(a)));(a=(this.cause=a)&&a.stack)&&"string"===typeof a&&(this.stack=a)}y(Cc,z);function Q(a,b){this.type=a;this.g=this.target=b;this.defaultPrevented=!1}Q.prototype.j=function(){this.defaultPrevented=!0};var Ec=function(){if(!u.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{u.addEventListener("test",v,b),u.removeEventListener("test",v,b)}catch(c){}return a}();function Fc(a,b){Q.call(this,a?a.type:"");this.relatedTarget=this.g=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.l=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.g=b;b=a.relatedTarget;b||("mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement));
58 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.key=a.key||"";this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=
59 "string"===typeof a.pointerType?a.pointerType:Gc[a.pointerType]||"";this.state=a.state;this.l=a;a.defaultPrevented&&Fc.M.j.call(this)}}y(Fc,Q);var Gc={2:"touch",3:"pen",4:"mouse"};Fc.prototype.j=function(){Fc.M.j.call(this);var a=this.l;a.preventDefault?a.preventDefault():a.returnValue=!1};var Hc="closure_listenable_"+(1E6*Math.random()|0);var Ic=0;function Jc(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.W=e;this.key=++Ic;this.removed=this.V=!1}function Kc(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.W=null};function Lc(a){this.src=a;this.g={};this.j=0}Lc.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.g[f];a||(a=this.g[f]=[],this.j++);var h=Mc(a,b,d,e);-1<h?(b=a[h],c||(b.V=!1)):(b=new Jc(b,this.src,f,!!d,e),b.V=c,a.push(b));return b};Lc.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.g))return!1;var e=this.g[a];b=Mc(e,b,c,d);return-1<b?(Kc(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.g[a],this.j--),!0):!1};
60 function Nc(a,b){var c=b.type;c in a.g&&Ba(a.g[c],b)&&(Kc(b),0==a.g[c].length&&(delete a.g[c],a.j--))}Lc.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,Kc(d[e]);delete this.g[c];this.j--}return b};function Mc(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.removed&&f.listener==b&&f.capture==!!c&&f.W==d)return e}return-1};var Oc="closure_lm_"+(1E6*Math.random()|0),Pc={},Qc=0;function Rc(a,b,c,d,e){if(d&&d.once)return Sc(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)Rc(a,b[f],c,d,e);return null}c=Tc(c);return a&&a[Hc]?a.listen(b,c,qa(d)?!!d.capture:!!d,e):Uc(a,b,c,!1,d,e)}
61 function Uc(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var h=qa(e)?!!e.capture:!!e,g=Vc(a);g||(a[Oc]=g=new Lc(a));c=g.add(b,c,d,h,f);if(c.proxy)return c;d=Wc();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Ec||(e=h),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Xc(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");Qc++;return c}
62 function Wc(){function a(c){return b.call(a.src,a.listener,c)}var b=Yc;return a}function Sc(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)Sc(a,b[f],c,d,e);return null}c=Tc(c);return a&&a[Hc]?a.j.add(String(b),c,!0,qa(d)?!!d.capture:!!d,e):Uc(a,b,c,!0,d,e)}
63 function Zc(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)Zc(a,b[f],c,d,e);else(d=qa(d)?!!d.capture:!!d,c=Tc(c),a&&a[Hc])?a.j.remove(String(b),c,d,e):a&&(a=Vc(a))&&(b=a.g[b.toString()],a=-1,b&&(a=Mc(b,c,d,e)),(c=-1<a?b[a]:null)&&$c(c))}
64 function $c(a){if("number"!==typeof a&&a&&!a.removed){var b=a.src;if(b&&b[Hc])Nc(b.j,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Xc(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Qc--;(c=Vc(b))?(Nc(c,a),0==c.j&&(c.src=null,b[Oc]=null)):Kc(a)}}}function Xc(a){return a in Pc?Pc[a]:Pc[a]="on"+a}function Yc(a,b){if(a.removed)a=!0;else{b=new Fc(b,this);var c=a.listener,d=a.W||a.src;a.V&&$c(a);a=c.call(d,b)}return a}
65 function Vc(a){a=a[Oc];return a instanceof Lc?a:null}var ad="__closure_events_fn_"+(1E9*Math.random()>>>0);function Tc(a){if("function"===typeof a)return a;a[ad]||(a[ad]=function(b){return a.handleEvent(b)});return a[ad]}uc(function(a){Yc=a(Yc)});function R(){O.call(this);this.j=new Lc(this);this.da=this;this.X=null}y(R,O);R.prototype[Hc]=!0;R.prototype.removeEventListener=function(a,b,c,d){Zc(this,a,b,c,d)};
66 function S(a,b){var c=a.X;if(c){var d=[];for(var e=1;c;c=c.X)d.push(c),++e}a=a.da;c=b.type||b;"string"===typeof b?b=new Q(b,a):b instanceof Q?b.target=b.target||a:(e=b,b=new Q(c,a),Ga(b,e));e=!0;if(d)for(var f=d.length-1;0<=f;f--){var h=b.g=d[f];e=bd(h,c,!0,b)&&e}h=b.g=a;e=bd(h,c,!0,b)&&e;e=bd(h,c,!1,b)&&e;if(d)for(f=0;f<d.length;f++)h=b.g=d[f],e=bd(h,c,!1,b)&&e}R.prototype.H=function(){R.M.H.call(this);this.j&&this.j.removeAll(void 0);this.X=null};
67 R.prototype.listen=function(a,b,c,d){return this.j.add(String(a),b,!1,c,d)};function bd(a,b,c,d){b=a.j.g[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var h=b[f];if(h&&!h.removed&&h.capture==c){var g=h.listener,k=h.W||h.src;h.V&&Nc(a.j,h);e=!1!==g.call(k,d)&&e}}return e&&!d.defaultPrevented};function cd(a,b){this.name=a;this.value=b}cd.prototype.toString=function(){return this.name};var dd=new cd("SEVERE",1E3),ed=new cd("WARNING",900),fd=new cd("CONFIG",700);function gd(){this.clear()}var hd;function id(a){var b=jd(),c=b.g;if(c[0]){var d=b.j;b=b.l?d:-1;do b=(b+1)%0,a(c[b]);while(b!==d)}}gd.prototype.clear=function(){this.g=[];this.j=-1;this.l=!1};function jd(){hd||(hd=new gd);return hd};function kd(){}kd.prototype.g=null;function ld(a){var b;(b=a.g)||(b={},md(a)&&(b[0]=!0,b[1]=!0),b=a.g=b);return b};var nd;function od(){}y(od,kd);function pd(a){return(a=md(a))?new ActiveXObject(a):new XMLHttpRequest}function md(a){if(!a.j&&"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.j=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.j}nd=new od;function qd(a,b){this.v=a;this.l=b;this.j=0;this.g=null}qd.prototype.get=function(){if(0<this.j){this.j--;var a=this.g;this.g=a.next;a.next=null}else a=this.v();return a};function rd(a,b){a.l(b);100>a.j&&(a.j++,b.next=a.g,a.g=b)};function sd(){var a=document;var b="IFRAME";"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)};var td;
68 function ud(){var a=u.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&-1==A.indexOf("Presto")&&(a=function(){var e=sd();e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var h="callImmediate"+Math.random(),g="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=w(function(k){if(("*"==g||k.origin==g)&&k.data==h)this.port1.onmessage()},this);f.addEventListener("message",
69 e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(h,g)}}});if("undefined"!==typeof a&&-1==A.indexOf("Trident")&&-1==A.indexOf("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.$;c.$=null;e()}};return function(e){d.next={$:e};d=d.next;b.port2.postMessage(0)}}return function(e){u.setTimeout(e,0)}}function vd(a){return a}uc(function(a){vd=a});function wd(a){u.setTimeout(function(){throw a;},0)};function xd(){this.j=this.g=null}xd.prototype.add=function(a,b){var c=yd.get();c.set(a,b);this.j?this.j.next=c:this.g=c;this.j=c};xd.prototype.remove=function(){var a=null;this.g&&(a=this.g,this.g=this.g.next,this.g||(this.j=null),a.next=null);return a};var yd=new qd(function(){return new zd},function(a){return a.reset()});function zd(){this.next=this.g=this.j=null}zd.prototype.set=function(a,b){this.j=a;this.g=b;this.next=null};zd.prototype.reset=function(){this.next=this.g=this.j=null};function Ad(a,b){Bd||Cd();Dd||(Bd(),Dd=!0);Ed.add(a,b)}var Bd;function Cd(){if(u.Promise&&u.Promise.resolve){var a=u.Promise.resolve(void 0);Bd=function(){a.then(Fd)}}else Bd=function(){var b=Fd;b=vd(b);var c;!(c="function"!==typeof u.setImmediate)&&(c=u.Window&&u.Window.prototype)&&(c=-1==A.indexOf("Edge")&&u.Window.prototype.setImmediate==u.setImmediate);c?(td||(td=ud()),td(b)):u.setImmediate(b)}}var Dd=!1,Ed=new xd;
70 function Fd(){for(var a;a=Ed.remove();){try{a.j.call(a.g)}catch(b){wd(b)}rd(yd,a)}Dd=!1};function Gd(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function T(a){this.g=0;this.A=void 0;this.v=this.j=this.l=null;this.o=this.D=!1;if(a!=v)try{var b=this;a.call(void 0,function(c){U(b,2,c)},function(c){U(b,3,c)})}catch(c){U(this,3,c)}}function Hd(){this.next=this.l=this.j=this.o=this.g=null;this.v=!1}Hd.prototype.reset=function(){this.l=this.j=this.o=this.g=null;this.v=!1};var Id=new qd(function(){return new Hd},function(a){a.reset()});function Jd(a,b,c){var d=Id.get();d.o=a;d.j=b;d.l=c;return d}
71 function Kd(a){if(a instanceof T)return a;var b=new T(v);U(b,2,a);return b}function Ld(a,b,c){Md(a,b,c,null)||Ad(x(b,a))}function Nd(){var a=[Od(),Pd()];return new T(function(b,c){var d=a.length,e=[];if(d)for(var f=function(l,p){d--;e[l]=p;0==d&&b(e)},h=function(l){c(l)},g=0,k;g<a.length;g++)k=a[g],Ld(k,x(f,g),h);else b(e)})}function Qd(){var a,b=new T(function(c){a=c});return new Rd(b,a)}T.prototype.then=function(a,b,c){return Sd(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};
72 T.prototype.$goog_Thenable=!0;function Td(a,b){b=Jd(b,b,void 0);b.v=!0;Ud(a,b);return a}function Vd(a,b){return Sd(a,null,b,void 0)}T.prototype.cancel=function(a){if(0==this.g){var b=new Wd(a);Ad(function(){Xd(this,b)},this)}};function Xd(a,b){if(0==a.g)if(a.l){var c=a.l;if(c.j){for(var d=0,e=null,f=null,h=c.j;h&&(h.v||(d++,h.g==a&&(e=h),!(e&&1<d)));h=h.next)e||(f=h);e&&(0==c.g&&1==d?Xd(c,b):(f?(d=f,d.next==c.v&&(c.v=d),d.next=d.next.next):Yd(c),Zd(c,e,3,b)))}a.l=null}else U(a,3,b)}
73 function Ud(a,b){a.j||2!=a.g&&3!=a.g||ae(a);a.v?a.v.next=b:a.j=b;a.v=b}function Sd(a,b,c,d){var e=Jd(null,null,null);e.g=new T(function(f,h){e.o=b?function(g){try{var k=b.call(d,g);f(k)}catch(l){h(l)}}:f;e.j=c?function(g){try{var k=c.call(d,g);void 0===k&&g instanceof Wd?h(g):f(k)}catch(l){h(l)}}:h});e.g.l=a;Ud(a,e);return e.g}T.prototype.F=function(a){this.g=0;U(this,2,a)};T.prototype.G=function(a){this.g=0;U(this,3,a)};
74 function U(a,b,c){0==a.g&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.g=1,Md(c,a.F,a.G,a)||(a.A=c,a.g=b,a.l=null,ae(a),3!=b||c instanceof Wd||be(a,c)))}function Md(a,b,c,d){if(a instanceof T)return Ud(a,Jd(b||v,c||null,d)),!0;if(Gd(a))return a.then(b,c,d),!0;if(qa(a))try{var e=a.then;if("function"===typeof e)return ce(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1}
75 function ce(a,b,c,d,e){function f(k){g||(g=!0,d.call(e,k))}function h(k){g||(g=!0,c.call(e,k))}var g=!1;try{b.call(a,h,f)}catch(k){f(k)}}function ae(a){a.D||(a.D=!0,Ad(a.B,a))}function Yd(a){var b=null;a.j&&(b=a.j,a.j=b.next,b.next=null);a.j||(a.v=null);return b}T.prototype.B=function(){for(var a;a=Yd(this);)Zd(this,a,this.g,this.A);this.D=!1};
76 function Zd(a,b,c,d){if(3==c&&b.j&&!b.v)for(;a&&a.o;a=a.l)a.o=!1;if(b.g)b.g.l=null,de(b,c,d);else try{b.v?b.o.call(b.l):de(b,c,d)}catch(e){ee.call(null,e)}rd(Id,b)}function de(a,b,c){2==b?a.o.call(a.l,c):a.j&&a.j.call(a.l,c)}function be(a,b){a.o=!0;Ad(function(){a.o&&ee.call(null,b)})}var ee=wd;function Wd(a){z.call(this,a);this.g=!1}y(Wd,z);Wd.prototype.name="cancel";function Rd(a,b){this.promise=a;this.g=b};function fe(a,b,c){if("function"===typeof a)c&&(a=w(a,c));else if(a&&"function"==typeof a.handleEvent)a=w(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:u.setTimeout(a,b||0)};function V(a){R.call(this);this.headers=new Nb;this.G=a||null;this.l=!1;this.F=this.g=null;this.N="";this.o=this.K=this.A=this.I=!1;this.P=0;this.B=null;this.T="";this.S=this.U=!1}y(V,R);var ge=/^https?$/i,he=["POST","PUT"],ie=[];m=V.prototype;m.fa=function(){this.Y();Ba(ie,this)};
77 m.send=function(a,b,c,d){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.N+"; newUri="+a);b=b?b.toUpperCase():"GET";this.N=a;this.I=!1;this.l=!0;this.g=this.G?pd(this.G):pd(nd);this.F=this.G?ld(this.G):ld(nd);this.g.onreadystatechange=w(this.aa,this);try{this.K=!0,this.g.open(b,String(a),!0),this.K=!1}catch(f){je(this);return}a=c||"";var e=new Nb(this.headers);d&&Rb(d,function(f,h){e.set(h,f)});d=za(e.L());c=u.FormData&&a instanceof u.FormData;!(0<=wa(he,b))||
78 d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(f,h){this.g.setRequestHeader(h,f)},this);this.T&&(this.g.responseType=this.T);"withCredentials"in this.g&&this.g.withCredentials!==this.U&&(this.g.withCredentials=this.U);try{ke(this),0<this.P&&(this.S=!1,this.B=fe(this.ca,this.P,this)),this.A=!0,this.g.send(a),this.A=!1}catch(f){je(this)}};function Aa(a){return"content-type"==a.toLowerCase()}
79 m.ca=function(){"undefined"!=typeof oa&&this.g&&(S(this,"timeout"),this.abort(8))};function je(a){a.l=!1;a.g&&(a.o=!0,a.g.abort(),a.o=!1);le(a);me(a)}function le(a){a.I||(a.I=!0,S(a,"complete"),S(a,"error"))}m.abort=function(){this.g&&this.l&&(this.l=!1,this.o=!0,this.g.abort(),this.o=!1,S(this,"complete"),S(this,"abort"),me(this))};m.H=function(){this.g&&(this.l&&(this.l=!1,this.o=!0,this.g.abort(),this.o=!1),me(this,!0));V.M.H.call(this)};
80 m.aa=function(){this.v||(this.K||this.A||this.o?ne(this):this.Z())};m.Z=function(){ne(this)};function ne(a){if(a.l&&"undefined"!=typeof oa&&(!a.F[1]||4!=(a.g?a.g.readyState:0)||2!=oe(a)))if(a.A&&4==(a.g?a.g.readyState:0))fe(a.aa,0,a);else if(S(a,"readystatechange"),4==(a.g?a.g.readyState:0)){a.l=!1;try{pe(a)?(S(a,"complete"),S(a,"success")):le(a)}finally{me(a)}}}function me(a,b){if(a.g){ke(a);var c=a.g,d=a.F[0]?v:null;a.g=null;a.F=null;b||S(a,"ready");try{c.onreadystatechange=d}catch(e){}}}
81 function ke(a){a.g&&a.S&&(a.g.ontimeout=null);a.B&&(u.clearTimeout(a.B),a.B=null)}function pe(a){var b=oe(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=String(a.N).match(zb)[1]||null,!a&&u.self&&u.self.location&&(a=u.self.location.protocol,a=a.substr(0,a.length-1)),b=!ge.test(a?a.toLowerCase():"");c=b}return c}function oe(a){try{return 2<(a.g?a.g.readyState:0)?a.g.status:-1}catch(b){return-1}}
82 uc(function(a){V.prototype.Z=a(V.prototype.Z)});function qe(a,b,c){R.call(this);this.A=b||null;this.o={};this.B=re;this.G=a;if(!c){this.g=null;this.g=new yc(w(this.l,this));Dc(this.g,"setTimeout");Dc(this.g,"setInterval");a=this.g;b=u.window;c=["requestAnimationFrame","mozRequestAnimationFrame","webkitAnimationFrame","msRequestAnimationFrame"];for(var d=0;d<c.length;d++){var e=c[d];c[d]in b&&Dc(a,e)}a=this.g;tc=!0;b=w(a.g,a);for(c=0;c<rc.length;c++)rc[c](b);sc.push(a)}}y(qe,R);function se(a,b){Q.call(this,"a");this.error=a;this.l=b}y(se,Q);
83 function te(a,b){return new qe(a,b,void 0)}function re(a,b,c,d){if(d instanceof Map){var e={};d=q(d);for(var f=d.next();!f.done;f=d.next()){var h=q(f.value);f=h.next().value;h=h.next().value;e[f]=h}}else e=d;d=new V;ie.push(d);d.j.add("ready",d.fa,!0,void 0,void 0);d.send(a,b,c,e)}function ue(a,b){a.B=b}
84 qe.prototype.l=function(a,b){a=a.error||a;b=b?Ea(b):{};a instanceof Error&&Ga(b,a.__closure__error__context__984382||{});var c=ic(a);if(this.A)try{this.A(c,b)}catch(p){}var d=c.message.substring(0,1900);if(!(a instanceof z)||a.g){a=c.stack;try{var e=Fb(this.G,"script",c.fileName,"error",d,"line",c.lineNumber);a:{for(var f in this.o){var h=!1;break a}h=!0}if(!h){h=e;var g=Eb(this.o);e=Bb(h,g)}g={};g.trace=a;if(b)for(var k in b)g["context."+k]=b[k];var l=Eb(g);this.B(e,"POST",l,this.F)}catch(p){}}try{S(this,
85 new se(c,b))}catch(p){}};qe.prototype.H=function(){vc(this.g);qe.M.H.call(this)};function ve(){this.g=function(){var a=u.window;a.onbeforeunload=v;a.location.reload()}}ve.prototype.notify=function(){window.confirm("This error has been reported to Google and we'll look into it as soon as possible. Please reload this page to continue.")&&this.g()};function we(a){z.call(this,a)}r(we,z);function xe(a,b){var c=Array.prototype.slice.call(arguments),d=c.shift();if("undefined"==typeof d)throw Error("[goog.string.format] Template required");d.replace(/%([0\- \+]*)(\d+)?(\.(\d+))?([%sfdiu])/g,function(e,f,h,g,k,l,p,P){if("%"==l)return"%";var $d=c.shift();if("undefined"==typeof $d)throw Error("[goog.string.format] Not enough arguments");arguments[0]=$d;return ye[l].apply(null,arguments)})}
86 var ye={s:function(a,b,c){return isNaN(c)||""==c||a.length>=Number(c)?a:a=-1<b.indexOf("-",0)?a+Ja(" ",Number(c)-a.length):Ja(" ",Number(c)-a.length)+a},f:function(a,b,c,d,e){d=a.toString();isNaN(e)||""==e||(d=parseFloat(a).toFixed(e));var f=0>Number(a)?"-":0<=b.indexOf("+")?"+":0<=b.indexOf(" ")?" ":"";0<=Number(a)&&(d=f+d);if(isNaN(c)||d.length>=Number(c))return d;d=isNaN(e)?Math.abs(Number(a)).toString():Math.abs(Number(a)).toFixed(e);a=Number(c)-d.length-f.length;return d=0<=b.indexOf("-",0)?
87 f+d+Ja(" ",a):f+Ja(0<=b.indexOf("0",0)?"0":" ",a)+d},d:function(a,b,c,d,e,f,h,g){return ye.f(parseInt(a,10),b,c,d,0,f,h,g)}};ye.i=ye.d;ye.u=ye.d;function ze(){this.j=0;this.g=[]}m=ze.prototype;m.add=function(a){var b=this.g[this.j];this.g[this.j]=a;this.j=(this.j+1)%50;return b};m.get=function(a){a=Ae(this,a);return this.g[a]};m.set=function(a,b){a=Ae(this,a);this.g[a]=b};m.clear=function(){this.j=this.g.length=0};m.J=function(){for(var a=this.g.length,b=[],c=this.g.length-this.g.length;c<a;c++)b.push(this.get(c));return b};m.L=function(){for(var a=[],b=this.g.length,c=0;c<b;c++)a[c]=c;return a};
88 function Be(a){return 0==a.g.length?null:a.get(a.g.length-1)}function Ae(a,b){if(b>=a.g.length)throw Error("Out of bounds exception");return 50>a.g.length?b:(a.j+Number(b))%50};function Ce(a){this.l=a;this.j=Math.floor(a/50);this.g=new ze}Ce.prototype.get=function(a){return De(this,a,function(b,c){return b+c.g})};function De(a,b,c){b=b||Date.now();Ee(a,b);var d=0;b=a.j*(Math.floor(b/a.j)+1)-a.l;for(var e=a.g.g.length-1;0<=e;--e){var f=a.g.get(e);if(f.end<=b)break;d=c(d,f)}return d}function Ee(a,b){var c=Be(a.g);c&&(c=c.end-a.j,b<c&&(xe("Went backwards in time: now=%d, slotStart=%d.  Resetting state.",b,c),a.g.clear()))}function Fe(a){this.end=a}Fe.prototype.g=0;
89 Fe.prototype.min=Number.MAX_VALUE;Fe.prototype.max=Number.MIN_VALUE;function Ge(a,b,c){O.call(this);this.l=a;this.j=b;this.g=new Ce(1E3*c)}r(Ge,O);function He(a,b,c){O.call(this);this.g=a;this.l=b||0;this.j=c;this.o=w(this.ga,this)}y(He,O);m=He.prototype;m.O=0;m.H=function(){He.M.H.call(this);this.stop();delete this.g;delete this.j};m.start=function(a){this.stop();this.O=fe(this.o,void 0!==a?a:this.l)};m.stop=function(){0!=this.O&&u.clearTimeout(this.O);this.O=0};m.ga=function(){this.O=0;this.g&&this.g.call(this.j)};function W(a){O.call(this);this.j=a;this.g={}}y(W,O);var Ie=[];W.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(Ie[0]=b.toString()),b=Ie);for(var e=0;e<b.length;e++){var f=Rc(a,b[e],c||this.handleEvent,d||!1,this.j||this);if(!f)break;this.g[f.key]=f}return this};W.prototype.removeAll=function(){Da(this.g,function(a,b){this.g.hasOwnProperty(b)&&$c(a)},this);this.g={}};W.prototype.H=function(){W.M.H.call(this);this.removeAll()};
90 W.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};/*
91  Portions of this code are from MochiKit, received by
92  The Closure Authors under the MIT license. All other code is Copyright
93  2005-2009 The Closure Authors. All Rights Reserved.
94 */
95 function X(){this.o=[];this.v=this.l=!1;this.j=void 0;this.F=this.I=this.A=!1;this.D=0;this.g=null;this.B=0}X.prototype.cancel=function(a){if(this.l)this.j instanceof X&&this.j.cancel();else{if(this.g){var b=this.g;delete this.g;a?b.cancel(a):(b.B--,0>=b.B&&b.cancel())}this.F=!0;this.l||(a=new Je(this),Ke(this),Le(this,!1,a))}};X.prototype.G=function(a,b){this.A=!1;Le(this,a,b)};function Le(a,b,c){a.l=!0;a.j=c;a.v=!b;Me(a)}function Ke(a){if(a.l){if(!a.F)throw new Ne(a);a.F=!1}}
96 function Oe(a){throw a;}function Pe(a,b,c){return Qe(a,b,null,c)}function Re(a,b,c){Qe(a,b,function(d){var e=b.call(this,d);if(void 0===e)throw d;return e},c)}function Qe(a,b,c,d){a.o.push([b,c,d]);a.l&&Me(a);return a}X.prototype.then=function(a,b,c){var d,e,f=new T(function(h,g){e=h;d=g});Qe(this,e,function(h){h instanceof Je?f.cancel():d(h)});return f.then(a,b,c)};X.prototype.$goog_Thenable=!0;X.prototype.isError=function(a){return a instanceof Error};
97 function Se(a){return ya(a.o,function(b){return"function"===typeof b[1]})}
98 function Me(a){if(a.D&&a.l&&Se(a)){var b=a.D,c=Te[b];c&&(u.clearTimeout(c.g),delete Te[b]);a.D=0}a.g&&(a.g.B--,delete a.g);b=a.j;for(var d=c=!1;a.o.length&&!a.A;){var e=a.o.shift(),f=e[0],h=e[1];e=e[2];if(f=a.v?h:f)try{var g=f.call(e||null,b);void 0!==g&&(a.v=a.v&&(g==b||a.isError(g)),a.j=b=g);if(Gd(b)||"function"===typeof u.Promise&&b instanceof u.Promise)d=!0,a.A=!0}catch(k){b=k,a.v=!0,Se(a)||(c=!0)}}a.j=b;d&&(g=w(a.G,a,!0),d=w(a.G,a,!1),b instanceof X?(Qe(b,g,d),b.I=!0):b.then(g,d));c&&(b=new Ue(b),
99 Te[b.g]=b,a.D=b.g)}function Ve(a){var b=new X;Ke(b);Le(b,!0,a);return b}function Ne(){z.call(this)}y(Ne,z);Ne.prototype.message="Deferred has already fired";Ne.prototype.name="AlreadyCalledError";function Je(){z.call(this)}y(Je,z);Je.prototype.message="Deferred was canceled";Je.prototype.name="CanceledError";function Ue(a){this.g=u.setTimeout(w(this.l,this),0);this.j=a}Ue.prototype.l=function(){delete Te[this.g];Oe(this.j)};var Te={};function Y(a,b){O.call(this);this.g=a;this.l=new He(this.B,3E4,this);this.I=new Ge("errorsender",1,8);xc(this,x(vc,this.I));this.G=!1;this.A=null;this.F=new Set;this.o=new W(this);this.N=b||10;this.o.listen(this.g,"complete",this.K);this.o.listen(this.g,"ready",this.B)}r(Y,O);Y.prototype.send=function(a,b,c,d){var e=Pe(Pe(Ve(this.j.length),function(f){if(!(f>=this.N))return f={},f.u=a,f.m=b,f.c=c,f.h=d,this.enqueue(f)},this),this.B,this);Re(e,function(){this.F.delete(e)},this);this.F.add(e)};
100 Y.prototype.B=function(){return 0!=this.l.O||this.g.g||this.G?Ve():We(this)};
101 function We(a){return Pe(Ve(void 0!==a.j[0]?a.j[0]:null),function(b){if(!this.g.g&&0==this.l.O&&!this.G&&b){if(4E3<b.u.length)return Xe(this);try{var c=this.I;if(!((c.g.get()+1)/(c.g.l/1E3)<=c.j))throw new we(Ka("Query would cause ",c.l," to exceed ",c.j," qps."));var d=c.g,e=Date.now();Ee(d,e);var f=Be(d.g);if(!f||e>=f.end)f=new Fe(d.j*(Math.floor(e/d.j)+1)),d.g.add(f);f.g+=1;f.min=Math.min(1,f.min);f.max=Math.max(1,f.max);this.A=new X;this.g.send(b.u,b.m,b.c,b.h);return this.A}catch(h){if(h instanceof
102 we)this.G=!0;else throw oc(h,{"docs-origin-class":"docs.debug.ErrorSender"});}}},a)}Y.prototype.K=function(){var a=oe(this.g),b=this.A;pe(this.g)||400<=a&&500>=a?Pe(Xe(this),function(){Ke(b);Le(b,!0,void 0)}):(this.l.start(),Ke(b),Le(b,!0,void 0))};Y.prototype.H=function(){wc(this.o,this.l,this.g);this.F.clear();O.prototype.H.call(this)};function Ye(a,b){Y.call(this,a,b);this.j=[]}r(Ye,Y);Ye.prototype.enqueue=function(a){this.j.push(a);return Ve()};function Xe(a){a.j.shift();return Ve()}Ye.prototype.H=function(){delete this.j;Y.prototype.H.call(this)};function Ze(a,b){this.g=a;this.j=b}Ze.prototype.execute=function(a){this.g&&(this.g.call(this.j||null,a),this.g=this.j=null)};Ze.prototype.abort=function(){this.j=this.g=null};uc(function(a){Ze.prototype.execute=a(Ze.prototype.execute)});function $e(){for(var a in Array.prototype)return!1;return!0};function af(){this.g=Date.now()}var bf=null;af.prototype.set=function(a){this.g=a};af.prototype.reset=function(){this.set(Date.now())};af.prototype.get=function(){return this.g};function cf(a){this.v=a||"";bf||(bf=new af);this.o=bf}cf.prototype.g=!0;cf.prototype.j=!0;cf.prototype.l=!1;function Z(a){return 10>a?"0"+a:String(a)}function df(a){cf.call(this,a)}y(df,cf);
103 function ef(a,b){var c=[];c.push(a.v," ");if(a.j){var d=c.push,e=new Date(b.l());d.call(c,"[",Z(e.getFullYear()-2E3)+Z(e.getMonth()+1)+Z(e.getDate())+" "+Z(e.getHours())+":"+Z(e.getMinutes())+":"+Z(e.getSeconds())+"."+Z(Math.floor(e.getMilliseconds()/10)),"] ")}d=c.push;e=a.o.get();e=(b.l()-e)/1E3;var f=e.toFixed(3),h=0;if(1>e)h=2;else for(;100>e;)h++,e*=10;for(;0<h--;)f=" "+f;d.call(c,"[",f,"s] ");c.push("[",b.j(),"] ");c.push(b.getMessage());a.l&&(b=b.g())&&c.push("\n",b instanceof Error?b.message:
104 b.toString());a.g&&c.push("\n");return c.join("")};function ff(a){a=void 0===a?new gf:a;R.call(this);this.K={};this.g=null;this.o={};this.G=new W(this);this.ea=a.l;this.U=a.j;this.N=new ve;var b=new V;this.B=new Ye(b,void 0);xc(this,x(vc,this.B));b=a.g?a.g:yb("docs-sup")+yb("docs-jepp")+"/jserror";var c=yb("jobset");c&&(b=Fb(b,"jobset",c));if(hf)throw Error("ErrorReporter already installed.");hf=!0;this.g=te(b,w(this.na,this));this.g.F={};ue(this.g,w(this.pa,this));this.G.listen(this.g,"a",this.ha);ee=function(d){return jf(d,"promise rejection")};
105 Oe=function(d){jf(d,"deferred error")};this.I=a.v;this.A=!1;this.F=!0;this.l=!1;this.P=yb("docs-jern");this.T=a.D;this.S=a.o.concat(Object.values(ub))}r(ff,R);m=ff.prototype;m.info=function(a,b,c){this.l=void 0===c?!1:c;this.g&&this.g.l(a,kf("incident",b))};m.log=function(a,b,c){this.l=void 0===c?!1:c;this.g&&this.g.l(a,kf("incident",b))};
106 function jf(a,b){if(null!=a){if(a&&"object"===typeof a&&"error"===a.type){var c=a.error;a=JSON.stringify({error:c&&c.message?c.message:"Missing error cause.",stack:c&&c.stack?c.stack:"Missing error cause.",message:a.message,filename:a.filename,lineno:a.lineno,colno:a.colno,type:a.type});b=Error("Unhandled "+b+" with ErrorEvent: "+a)}else b="string"===typeof a?Error("Unhandled "+b+" with: "+a):null==a?Error("Unhandled "+b+' with "null/undefined"'):a;wd(b)}}
107 function lf(a,b,c){return function(d){for(var e=[],f=0;f<arguments.length;++f)e[f-0]=arguments[f];a:if(a.g){try{var h=b.apply(c,e);break a}catch(g){e=g;a.l=!1;if(!a.g)throw oc(e);a.g.l(e,kf("fatal",void 0))}h=void 0}else h=b.apply(c,e);return h}}function kf(a,b){b=b?Ea(b):{};b.severity=a;return b}m.ha=function(a){var b=a.l.severity;(b="fatal"==b||"postmortem"==b)&&!this.U&&(this.ea?this.N.notify(a):this.N.notify());S(this,new mf(b?"b":"c",a.error,a.l))};
108 m.na=function(a,b){var c=this.A;try{this.ba(a,b)}catch(e){throw c&&!this.I&&(this.F=!1),this.A=!0,b.provideLogDataError=e.message,b.severity||(b.severity="fatal"),oc(e);}finally{if(!this.T)for(var d in b)"number"===typeof b[d]||b[d]instanceof Number||"boolean"===typeof b[d]||b[d]instanceof Boolean||this.S.includes(d)||d in b&&delete b[d]}};
109 m.ba=function(a,b){for(var c in this.K)try{b[c]=this.K[c](a)}catch(h){}Ga(b,this.o);if(0<(jd(),0)){var d=new df,e="";id(function(h){e+=ef(d,h)});b.clientLog=e}c=b.severity||"fatal";this.P&&(b.reportName=this.P+"_"+c);b.isArrayPrototypeIntact=$e().toString();var f=a.stack||"";if(0==f.trim().length||"Not available"==f)b["stacklessError-reportingStack"]=nc(ff.prototype.ba),[a.message].concat(fa(Object.keys(b)),fa(Object.values(b))).some(function(h){return h.includes("<eye3")})||(b.eye3Hint="<eye3-stackless title='Stackless JS Error - "+
110 a.name+"'/>");this.A&&!this.I?(this.F=this.l,"fatal"==c?c="postmortem":"incident"==c&&(c="warningafterdeath")):"fatal"==c&&(this.A=!0);this.l=!1;b.severity=c};m.pa=function(a,b,c,d){this.F&&this.B.send(a,b,c,d)};m.H=function(){hf=!1;wc(this.G,this.g,this.B);R.prototype.H.call(this)};var hf=!1;function mf(a,b){Q.call(this,a);this.error=b}r(mf,Q);function gf(){this.j=this.l=!1;this.g=void 0;this.v=!1;this.D=!0;this.o=[]};function nf(){return of(chrome.storage.local,["offlineOptedIn"]).then(function(a){a=a.offlineOptedIn;switch(a){case void 0:return"unknown";case !0:return"opted_in";case !1:return"opted_out";default:throw Error("Cannot handle opt in value "+a);}})}function Od(){return of(chrome.storage.managed,["allowedDocsOfflineDomains"]).then(function(a){return a&&a.allowedDocsOfflineDomains?a.allowedDocsOfflineDomains:[]})}
111 function Pd(){return of(chrome.storage.managed,["autoEnabledDocsOfflineDomains"]).then(function(a){return a&&a.autoEnabledDocsOfflineDomains?a.autoEnabledDocsOfflineDomains:[]})}function of(a,b){return new T(function(c,d){a.get(b,function(e){chrome.runtime.lastError?d(chrome.runtime.lastError):c(e)})})}function pf(a){return new T(function(b,c){chrome.storage.local.set(a,function(){chrome.runtime.lastError?c(chrome.runtime.lastError):b()})})};function qf(a){C(this,a)}r(qf,B);function rf(a){C(this,a)}r(rf,B);rf.prototype.getMessage=function(){return D(this,1)};function sf(a){C(this,a)}r(sf,B);function tf(a){C(this,a)}r(tf,B);function uf(a){C(this,a)}r(uf,B);function vf(a){C(this,a)}r(vf,B);function wf(a){C(this,a)}r(wf,B);function xf(a){C(this,a)}r(xf,B);function yf(a){C(this,a)}r(yf,B);function zf(a,b){return E(a,1,b)};function Af(){w(this.l,this);this.g=new df;this.g.j=!1;this.g.l=!1;this.j=this.g.g=!1;this.v={}}function Bf(a){1!=a.j&&(a.j=!0)}Af.prototype.l=function(a){function b(f){if(f){if(f.value>=dd.value)return"error";if(f.value>=ed.value)return"warn";if(f.value>=fd.value)return"log"}return"debug"}if(!this.v[a.j()]){var c=ef(this.g,a),d=Cf;if(d){var e=b(a.v());Df(d,e,c,a.g())}}};var Cf=u.console;function Df(a,b,c,d){if(a[b])a[b](c,d||"");else a.log(c,d||"")};function Ef(){O.call(this);this.g=this.j=this.A=null;this.o=!1;this.F=Qd();this.B=!1;this.K=new Af;Bf(this.K);chrome.alarms.onAlarm.addListener(w(this.ja,this));chrome.runtime.onMessageExternal.addListener(w(this.ka,this));this.I=new W(this);xc(this,x(vc,this.I));this.I.listen(u,"message",this.la);this.l=0;this.G=.01>=1*Math.random();chrome.runtime.onConnectExternal.addListener(function(){});fe(this.oa,252E5,this)}r(Ef,O);m=Ef.prototype;
112 m.load=function(){var a=this;this.A="docs.google.com";var b=pf({docsDomain:this.A});return Vd(b.then(function(){var c=Vb(Ff(a),"/offline/jserror").toString(),d=new gf;d.l=!1;d.j=!0;d.g=c;c=new ff(d);c.o.sessionTypeName="offline-event-page";c.o.reportsNonFatalErrors=String(a.G);a.j=c;xc(a,x(vc,a.j));return lf(a.j,a.ia,a)()}),function(c){mc(c)})};function Gf(a,b){return Vb(Ff(a),"/offline/extension/frame").toString()+"?ouid="+(b?encodeURIComponent(String(b)):"")}
113 function Hf(a,b,c){a=Vb(Ff(a),"/offline/extension/report");a.j.set("v",c);a.j.set("optin",b);return a.toString()}m.oa=function(){chrome.alarms.create("open",{delayInMinutes:1});u.close()};function If(a){return new T(function(b){chrome.alarms.get("heartbeat",function(c){c||(chrome.alarms.create("heartbeat",{periodInMinutes:5}),Jf(a,"heartbeat"));b()})})}function Kf(){return new T(function(a){chrome.alarms.clear("heartbeat",function(){a()})})}
114 m.ia=function(){var a=this;return nf().then(function(b){var c=chrome.runtime.getManifest();c=c.version?c.version:"unknown";a.j.o.extensionVersion=c;a.j.o.optInStatus=String(b);Lf(a,String(b),c);switch(b){case "unknown":break;case "opted_in":Mf(a,null);break;case "opted_out":break;default:throw Error("Could not handle opt in status "+b);}})};
115 function Lf(a,b,c){a.G&&(b=Hf(a,b,c),u.fetch(new Request(b,{method:"post",mode:"cors"})).then(function(){}).catch(function(d){var e=a.j;d=mc(d);e.l=!1;e.g&&e.g.l(d,kf("warning",void 0))}))}function Nf(a){u.clearTimeout(a.l);a.g&&(a.B&&(a.F=Qd(),a.B=!1),a.o=!1,a.g.parentNode&&a.g.parentNode.removeChild(a.g),a.g=null)}
116 function Mf(a,b){var c=Gf(a,b);Nf(a);a.g=sd();a.g.id="extensionFrame";a.g.src=c;document.body.appendChild(a.g);a.o=!!b;a.l=fe(function(){Of(a,Error("Timed out waiting for frame connection."));u.close()},3E4)}m.la=function(a){var b=a.l;b&&b.data&&b.ports&&b.ports.length?(a=new vf(b.data),Pf(this,a,1<b.ports.length?b.ports[1]:void 0).then(function(c){b.ports[0].postMessage(Ra(c))})):Of(this,Error("Dropped invalid event."),{event:String(a)})};
117 m.ka=function(a,b,c){var d=this,e=new vf(a);Vd(Pf(this,e).then(function(f){c(Ra(f))}),function(f){if(f instanceof Error&&"Attempting to use a disconnected port object"==f.message)Of(d,Error("Failed to reply to request because listen port was disconnected."),{requestType:D(e,1)});else throw f;});return!0};function Pf(a,b,c){return Vd(Kd().then(a.ma.bind(a,b,c)),function(d){d=d instanceof Error?d:Error(d);var e=new yf,f=new rf;Qa(e,5,f);E(f,1,d.message);return e})}
118 m.ma=function(a,b){var c=this,d=zf(new yf,D(a,1));switch(D(a,1)){case 1:return pf({offlineOptedIn:!0}).then(function(){c.F.g(b);c.B=!0;u.clearTimeout(c.l);return d});case 2:return pf({offlineOptedIn:!0}).then(function(){c.g||Mf(c,null);return If(c)}).then(function(){return d});case 3:return(a=Pa(a,tf,3))&&D(a,1)?(a=D(a,1),Qf(this,a),Kd(d)):pf({offlineOptedIn:!1}).then(function(){return Kf()}).then(function(){Nf(c);return d});case 5:return Rf(Pa(a,uf,5)).then(function(e){Qa(d,4,e);return d});case 4:return a=
119 Pa(a,sf,4),Sf(this,a).then(function(e){Qa(d,3,e);return d})}throw Error("Dropped unknown message "+a);};function Rf(a){var b=D(a,1);return Nd().then(function(c){var d=c[0],e=c[1];c=new xf;e=0<=wa(e,b);E(c,1,0<=wa(d,b)||e);E(c,2,e);return c})}function Qf(a,b){a.o?Nf(a):Mf(a,b)}m.ja=function(a){Jf(this,a.name)};function Jf(a,b){var c=new sf;c=E(c,1,0);var d=new qf;b=E(d,1,b);Qa(c,2,b);Sf(a,c)}
120 function Sf(a,b){return a.F.promise.then(function(c){var d=new MessageChannel;return Td(new T(function(e){d.port1.onmessage=function(f){e(new wf(f.data))};c.postMessage(Ra(b),[d.port2])}),function(){d.port1.close()})})}m.H=function(){Nf(this);O.prototype.H.call(this)};function Of(a,b,c){c=void 0===c?{}:c;a.G&&(a=a.j,a.l=!1,a.g&&a.g.l(b,kf("warning",c)))}function Ff(a){return Tb(new Sb("//"+a.A),"https")};(new Ef).load();