My favorites | Sign in
Project Home Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions

Issue 95 attachment: cb-gapi-loaded_0.js (107 KB)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
/* JS */ gapi.loaded_0(function(_){var window=this;
var pe;_.m=function(a){throw a;};_.p=void 0;_.r=!0;_.s=null;_.u=!1;_.aa=function(){return function(a){return a}};_.x=function(){return function(){}};_.ba=function(a){return function(c){this[a]=c}};_.y=function(a){return function(){return this[a]}};_.ca=function(a){return function(){return a}};_.C=function(a,c,f){a=a.split(".");f=f||_.D;a[0]in f||!f.execScript||f.execScript("var "+a[0]);for(var g;a.length&&(g=a.shift());)a.length||c===_.p?f=f[g]?f[g]:f[g]={}:f[g]=c};
_.da=function(a){var c=typeof a;if("object"==c)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return c;var f=Object.prototype.toString.call(a);if("[object Window]"==f)return"object";if("[object Array]"==f||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==f||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==c&&"undefined"==typeof a.call)return"object";return c};_.kf=function(a){return a!==_.p};_.ea=function(a){return"array"==(0,_.da)(a)};_.re=function(a){var c=(0,_.da)(a);return"array"==c||"object"==c&&"number"==typeof a.length};_.fa=function(a){return"string"==typeof a};_.oe=function(a){return a[_.oa]||(a[_.oa]=++pe)};var ia=function(a,c,f){return a.call.apply(a.bind,arguments)};
var la=function(a,c,f){a||(0,_.m)(Error());if(2<arguments.length){var g=Array.prototype.slice.call(arguments,2);return function(){var f=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(f,g);return a.apply(c,f)}}return function(){return a.apply(c,arguments)}};_.H=function(a,c,f){_.H=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ia:la;return _.H.apply(_.s,arguments)};
_.ma=function(a,c){var f=Array.prototype.slice.call(arguments,1);return function(){var c=Array.prototype.slice.call(arguments);c.unshift.apply(c,f);return a.apply(this,c)}};_.J=function(a,c){function f(){}f.prototype=c.prototype;a.T=c.prototype;a.prototype=new f;a.prototype.constructor=a};var _DumpException=function(a){(0,_.m)(a)};_.na=_.na||{};_.D=this;_.oa="closure_uid_"+(1E9*Math.random()>>>0);pe=0;_.pa=Date.now||function(){return+new Date}; Function.prototype.bind=Function.prototype.bind||function(a,c){if(1<arguments.length){var f=Array.prototype.slice.call(arguments,1);f.unshift(this,a);return _.H.apply(_.s,f)}return(0,_.H)(this,a)};
_.Kh=window.gapi||{};_.ra=window.gadgets||{};_.L=window.osapi=window.osapi||{};_.google=window.google||{};
window.___jsl=window.___jsl||{};
(window.___jsl.cd=window.___jsl.cd||[]).push({gwidget:{parsetags:"explicit"},appsapi:{plus_one_service:"/plus/v1"},client:{jsonpOverride:_.u},poshare:{hangoutContactPickerServer:"https://plus.google.com"},gappsutil:{required_scopes:["https://www.googleapis.com/auth/plus.me","https://www.googleapis.com/auth/plus.people.recommended"],display_on_page_ready:_.u},appsutil:{required_scopes:["https://www.googleapis.com/auth/plus.me","https://www.googleapis.com/auth/plus.people.recommended"],display_on_page_ready:_.u},
"oauth-flow":{authUrl:"https://accounts.google.com/o/oauth2/auth",proxyUrl:"https://accounts.google.com/o/oauth2/postmessageRelay",redirectUri:"postmessage"},iframes:{sharebox:{params:{json:"&"},url:":socialhost:/:session_prefix:_/sharebox/dialog"},plus:{url:":socialhost:/u/:session_index:/_/pages/badge"},":socialhost:":"https://apis.google.com",card:{params:{s:"#",userid:"&"},url:":socialhost:/:session_prefix:_/hovercard/internalcard"},":signuphost:":"https://plus.google.com",plusone:{url:":socialhost:/:session_prefix:_/+1/fastbutton"},
plus_share:{url:":socialhost:/:session_prefix:_/+1/sharebutton?plusShare=true"},plus_circle:{url:":socialhost:/:session_prefix:_/widget/plus/circle"},configurator:{url:":socialhost:/:session_prefix:_/plusbuttonconfigurator"},appcirclepicker:{url:":socialhost:/:session_prefix:_/widget/render/appcirclepicker"},":source:":"1p"},poclient:{update_session:"google.updateSessionCallback"},"googleapis.config":{methods:{"chili.people.list":_.r,"pos.plusones.list":_.r,"pos.plusones.get":_.r,"chili.people.get":_.r,
"pos.plusones.insert":_.r,"chili.activities.list":_.r,"pos.plusones.delete":_.r,"chili.activities.get":_.r,"chili.activities.search":_.r,"pos.plusones.getSignupState":_.r},requestCache:{enabled:_.r},versions:{chili:"v1",pos:"v1"},rpc:"/rpc",root:"https://www.googleapis.com","root-1p":"https://clients6.google.com",sessionCache:{enabled:_.r},transport:{isProxyShared:_.r},xd3:"/static/proxy.html",developerKey:"AIzaSyCKSbrvQasunBoV16zDH9R33D88CeLr9gQ",auth:{useInterimAuth:_.u}},report:{apis:["iframes\\..*", "gadgets\\..*"],rate:1E-4}});

window.___jsl=window.___jsl||{};(window.___jsl.cd=window.___jsl.cd||[]).push({gwidget:{parsetags:"onload"},iframes:{":source:":"3p"}});
_.N=function(a,c,f){return a[c]=a[c]||f};_.Za=function(a){return"function"===typeof a};_.gb=function(a){return String(a).replace(hb,"&amp;").replace(ib,"&lt;").replace(jb,"&gt;").replace(kb,"&quot;").replace(lb,"&#39;")};_.O=function(){var a;if((a=Object.create)&&_.ta.test(a))a=a(_.s);else{a={};for(var c in a)a[c]=_.p}return a};_.Qa=function(a,c){return Object.prototype.hasOwnProperty.call(a,c)};_.Ra=function(a,c){a=a||{};for(var f in a)(0,_.Qa)(a,f)&&(c[f]=a[f])};
_.fb=function(a,c){a||(0,_.m)(Error(c||""))};_.Ua=function(a,c,f){var g=RegExp("([#].*&|[#])"+c+"=([^&#]*)","g");c=RegExp("([?#].*&|[?#])"+c+"=([^&#]*)","g");if(a=a&&(g.exec(a)||c.exec(a)))try{f=(0,window.decodeURIComponent)(a[2])}catch(h){}return f};_.bb=function(a){a=a.match(cb);var c=(0,_.O)();c.yc=a[1];c.mb=a[3]?[a[3]]:[];c.Vf=a[5]?[a[5]]:[];return c};_.Hb=function(a){a=a?a.split("&"):[];for(var c=[],f=0;f<a.length;f++){var g=a[f].split("=",2);c.push([(0,window.decodeURIComponent)(g[0]),(0,window.decodeURIComponent)(g[1])])}return c};
_.ab=function(a){return a.yc+(0<a.mb.length?"?"+a.mb.join("&"):"")+(0<a.Vf.length?"#"+a.Vf.join("&"):"")};var $a=function(a,c){var f=[];if(a)for(var g in a)if((0,_.Qa)(a,g)&&a[g]!=_.s){var h=c?c(a[g]):a[g];f.push((0,window.encodeURIComponent)(g)+"="+(0,window.encodeURIComponent)(h))}return f};_.db=function(a,c,f,g){a=(0,_.bb)(a);a.mb.push.apply(a.mb,$a(c,g));a.Vf.push.apply(a.Vf,$a(f,g));return(0,_.ab)(a)};
_.ua=function(a,c){var f="";2E3<c.length&&(f=c.substring(2E3),c=c.substring(0,2E3));var g=a.createElement("div"),h=a.createElement("a");h.href=c;g.appendChild(h);g.innerHTML=g.innerHTML;c=String(g.firstChild.href);g.parentNode&&g.parentNode.removeChild(g);return c+f};_.Yb=function(a){return aB.test(a)};_.Va=function(a,c,f){Sa(a,c,f,"add","at")};_.wc=function(a,c,f){Sa(a,c,f,"remove","de")};
var Sa=function(a,c,f,g,h){if(a[g+"EventListener"])a[g+"EventListener"](c,f,_.u);else if(a[h+"tachEvent"])a[h+"tachEvent"]("on"+c,f)};_.eb=function(a){for(;a.firstChild;)a.removeChild(a.firstChild)};_.Lc=function(a){return _.wa.dpo?_.wa.h:(0,_.Ua)(a,"jsh",_.wa.h)};_.ge=function(a){return(0,_.Ua)(a,"_bsh",_.wa.bsh)};_.me=function(){return _.wa.onl};_.mf=function(a){_.wa.onl=a};_.Dh=function(){return!!_.wa.oa};var ya=function(a){var c=window.___jsl=window.___jsl||{};c[a]=c[a]||[];return c[a]};
var za=function(a){var c=window.___jsl=window.___jsl||{};c.cfg=!a&&c.cfg||{};return c.cfg};var Aa=function(a){return"object"===typeof a&&/\[native code\]/.test(a.push)};var Ba=function(a,c){if(c)for(var f in c)c.hasOwnProperty(f)&&(a[f]&&c[f]&&"object"===typeof a[f]&&"object"===typeof c[f]&&!Aa(a[f])&&!Aa(c[f])?Ba(a[f],c[f]):c[f]&&"object"===typeof c[f]?(a[f]=Aa(c[f])?[]:{},Ba(a[f],c[f])):a[f]=c[f])};
var Da=function(a){if(a&&!/^\s+$/.test(a)){for(;0==a.charCodeAt(a.length-1);)a=a.substring(0,a.length-1);var c;try{c=window.JSON.parse(a)}catch(f){}if("object"===typeof c)return c;try{c=(new Function("return ("+a+"\n)"))()}catch(g){}if("object"===typeof c)return c;try{c=(new Function("return ({"+a+"\n})"))()}catch(h){}return"object"===typeof c?c:{}}};
var Ea=function(a){za(_.r);var c=window.___gcfg,f=ya("cu");if(c&&c!==window.___gu){var g={};Ba(g,c);f.push(g);window.___gu=c}var c=ya("cu"),h=window.document.scripts||window.document.getElementsByTagName("script")||[],g=[],l=[];l.push.apply(l,ya("us"));for(var n=0;n<h.length;++n)for(var q=h[n],t=0;t<l.length;++t)q.src&&0==q.src.indexOf(l[t])&&g.push(q);0==g.length&&(0<h.length&&h[h.length-1].src)&&g.push(h[h.length-1]);for(h=0;h<g.length;++h)g[h].getAttribute("gapi_processed")||(g[h].setAttribute("gapi_processed",
_.r),(l=g[h])?(n=l.nodeType,l=3==n||4==n?l.nodeValue:l.textContent||l.innerText||l.innerHTML||""):l=_.p,(l=Da(l))&&c.push(l));a&&(g={},Ba(g,a),f.push(g));g=ya("cd");a=0;for(c=g.length;a<c;++a)Ba(za(),g[a]);g=ya("ci");a=0;for(c=g.length;a<c;++a)Ba(za(),g[a]);a=0;for(c=f.length;a<c;++a)Ba(za(),f[a])};_.P=function(a,c){if(!a)return za();for(var f=a.split("/"),g=za(),h=0,l=f.length;g&&"object"===typeof g&&h<l;++h)g=g[f[h]];return h===f.length&&g!==_.p?g:c};
_.Fa=function(a,c){var f=a;if("string"===typeof a){for(var g=f={},h=a.split("/"),l=0,n=h.length;l<n-1;++l)var q={},g=g[h[l]]=q;g[h[l]]=c}Ea(f)};var Ga=function(){var a=window.__GOOGLEAPIS;a&&(a.googleapis&&!a["googleapis.config"]&&(a["googleapis.config"]=a.googleapis),(0,_.N)(_.wa,"ci",[]).push(a),window.__GOOGLEAPIS=_.p)};_.Q=function(a,c){c="function"==typeof _.Ha&&(0,_.Ha)(a,c)||c;(0,_.C)(a,c,_.p)};
var lb;var kb;var jb;var ib;var hb;_.Ia=window;_.Ja=window.document;_.sb=_.Ia.location;_.ta=/\[native code\]/;hb=/&/g;ib=/</g;jb=/>/g;kb=/"/g;lb=/'/g;_.Yi=(0,_.N)(_.Ia,"gapi",{});var cb=/^([^?#]*)(\?([^#]*))?(\#(.*))?$/,aB=/^https?:\/\/[^\/%\\?#\s]+\/[^\s]*$/i;_.wa=(0,_.N)(_.Ia,"___jsl",(0,_.O)());(0,_.N)(_.wa,"I",0);(0,_.N)(_.wa,"hel",10);Ga&&Ga();Ea();(0,_.Q)("gapi.config.get",_.P);(0,_.Q)("gapi.config.update",_.Fa);
_.jd=function(a){return!!a&&"object"===typeof a&&_.ta.test(a.push)};_.vi=function(a,c,f){if(a){(0,_.fb)((0,_.jd)(a),"arrayForEach was called with a non array value");for(var g=0;g<a.length;g++)c.call(f,a[g],g)}};_.DC=function(a,c,f){if(a)if((0,_.jd)(a))(0,_.vi)(a,c,f);else{(0,_.fb)("object"===typeof a,"objectForEach was called with a non object value");f=f||a;for(var g in a)(0,_.Qa)(a,g)&&a[g]!==_.p&&c.call(f,a[g],g)}};
var fj=function(a){a=a.sort();for(var c=[],f=_.p,g=0;g<a.length;g++){var h=a[g];h!=f&&c.push(h);f=h}return c};var zm=function(){var a=[],c=_.wa.H;c&&(0,_.DC)(c,function(c){a.push.apply(a,c.L)});return fj(a)};_.wd=function(a){if(_.ta.test(Object.keys))return Object.keys(a);var c=[],f;for(f in a)(0,_.Qa)(a,f)&&c.push(f);return c};
var La=function(a){if(Tm===_.p){var c=(0,_.P)("report")||{},f=c.rate,g=Math.random();if(Tm="number"===typeof f&&f>g)Um["rate."+f+"-"+g]=_.r,on=c.timeout||1E3,wn=c.host||"https://plus.google.com",An=c.path||"/_/widget/report",Bn=c.apis||[]}if(!Tm)return _.u;if(Bn)for(c=0;c<Bn.length;c++)if(RegExp("^"+Bn[c]+"$").test(a))return _.r;return _.u};var Ma=function(a){delete Na[a]};
var Cn=function(){Dn&&(_.Ia.clearTimeout(Dn),Dn=0);Dn=_.Ia.setTimeout(function(){var a;a=window.document.location.href;var c=(0,_.wd)(Um).join(":");a=[wn,An,"?api=",(0,window.encodeURIComponent)(c),"&url=",(0,window.encodeURIComponent)(a),"&loaded=",(0,window.encodeURIComponent)(zm().join(":"))].join("");Um=(0,_.O)();var c=new window.Image,f=Pa++;Na[f]=c;c.onload=c.onerror=(0,_.ma)(Ma,f);c.src=a;Dn=0},on)}; _.Ha=function(a,c){var f=c;(0,_.Za)(c)&&La(a)&&(f=function(f){Un[a]||(Um[a]=_.r,Un[a]=_.r,Cn());return c.apply(this,arguments)});return f};var Tm,wn,An,on,Dn,Bn,Na={},Pa=0,Un=(0,_.O)(),Um=(0,_.O)();


_.R=_.R||{};
_.R=_.R||{};
(function(){function a(a,c){return String.fromCharCode(c)}var c={0:_.u,10:_.r,13:_.r,34:_.r,39:_.r,60:_.r,62:_.r,92:_.r,8232:_.r,8233:_.r,65282:_.r,65287:_.r,65308:_.r,65310:_.r,65340:_.r};_.R.escape=function(a,c){if(a){if("string"===typeof a)return _.R.Qf(a);if("Array"===typeof a)for(var h=0,l=a.length;h<l;++h)a[h]=_.R.escape(a[h]);else if("object"===typeof a&&c){h={};for(l in a)a.hasOwnProperty(l)&&(h[_.R.Qf(l)]=_.R.escape(a[l],_.r));return h}}return a};_.R.Qf=function(a){if(!a)return a;for(var g= [],h,l,n=0,q=a.length;n<q;++n)h=a.charCodeAt(n),l=c[h],l===_.r?g.push("&#",h,";"):l!==_.u&&g.push(a.charAt(n));return g.join("")};_.R.su=function(c){return c?c.replace(/&#([0-9]+);/g,a):c}})();

_.R=_.R||{};
(function(){function a(c){var f="";if(3==c.nodeType||4==c.nodeType)f=c.nodeValue;else if(c.innerText)f=c.innerText;else if(c.innerHTML)f=c.innerHTML;else if(c.firstChild){f=[];for(c=c.firstChild;c;c=c.nextSibling)f.push(a(c));f=f.join("")}return f}_.R.createElement=function(a){var f;if(!window.document.body||window.document.body.namespaceURI)try{f=window.document.createElementNS("http://www.w3.org/1999/xhtml",a)}catch(g){}return f||window.document.createElement(a)};_.R.Fh=function(a){var f=_.R.createElement("iframe");
try{var g=["<","iframe"],h=a||{},l;for(l in h)h.hasOwnProperty(l)&&(g.push(" "),g.push(l),g.push('="'),g.push(_.R.Qf(h[l])),g.push('"'));g.push("></");g.push("iframe");g.push(">");var n=_.R.createElement(g.join(""));n&&(!f||n.tagName==f.tagName&&n.namespaceURI==f.namespaceURI)&&(f=n)}catch(q){}g=f;a=a||{};for(var t in a)a.hasOwnProperty(t)&&(g[t]=a[t]);return f};_.R.Jk=function(){if(window.document.body)return window.document.body;try{var a=window.document.getElementsByTagNameNS("http://www.w3.org/1999/xhtml", "body");if(a&&1==a.length)return a[0]}catch(f){}return window.document.documentElement||window.document};_.R.Qt=function(c){return a(c)}})();

if(window.JSON&&window.JSON.parse&&window.JSON.stringify)_.Kb={parse:function(a){try{return window.JSON.parse(a)}catch(c){return _.u}},stringify:window.JSON.stringify};window.JSON&&window.JSON.parse&&window.JSON.stringify||(_.Kb=function(){function a(f){var g,h,l;g=/[\"\\\x00-\x1f\x7f-\x9f]/g;switch(typeof f){case "string":return g.test(f)?'"'+f.replace(g,function(a){var f=c[a];if(f)return f;f=a.charCodeAt();return"\\u00"+Math.floor(f/16).toString(16)+(f%16).toString(16)})+'"':'"'+f+'"';case "number":return(0,window.isFinite)(f)?String(f):"null";case "boolean":case "null":return String(f);case "object":if(!f)return"null";g=[];if("number"===typeof f.length&&!f.propertyIsEnumerable("length")){l=
f.length;for(h=0;h<l;h+=1)g.push(a(f[h])||"null");return"["+g.join(",")+"]"}for(h in f)!/___$/.test(h)&&f.hasOwnProperty(h)&&"string"===typeof h&&(l=a(f[h]))&&g.push(a(h)+":"+l);return"{"+g.join(",")+"}"}return""}var c={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return{stringify:a,parse:function(a){return/^[\],:{}\s]*$/.test(a.replace(/\\["\\\/b-u]/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g, ""))?eval("("+a+")"):_.u}}}());
_.Kb.Ck=function(a){var c={};if(a===_.s||a===_.p)return c;for(var f in a)if(a.hasOwnProperty(f)){var g=a[f];_.s!==g&&_.p!==g&&(c[f]="string"===typeof g?g:_.Kb.stringify(g))}return c};(0,_.Q)("gadgets.json.flatten",_.Kb.Ck);(0,_.Q)("gadgets.json.parse",_.Kb.parse);(0,_.Q)("gadgets.json.stringify",_.Kb.stringify);(0,_.Q)("gadgets.json.flatten",_.Kb.Ck);(0,_.Q)("gadgets.json.parse",_.Kb.parse);(0,_.Q)("gadgets.json.stringify",_.Kb.stringify);

_.Mb=function(){function a(a){c(1,a)}function c(a,c){if(!(a<f)&&g)if(2===a&&g.warn)g.warn(c);else if(3===a&&g.error)try{g.error(c)}catch(n){}else g.log&&g.log(c)}_.Lb=function(a){c(2,a)};_.sa=function(a){c(3,a)};_.Fc=(0,_.x)();a.INFO=1;a.WARNING=2;a.NONE=4;var f=1,g=window.console?window.console:window.opera?window.opera.postError:_.p;return a}();

_.R=_.R||{};(function(){var a=[];_.R.du=function(c){a.push(c)};_.R.ku=function(){for(var c=0,f=a.length;c<f;++c)a[c]()}})();
_.Nb=function(a){for(var c=0;c<this.length;c++)if(this[c]===a)return c;return-1};_.R=_.R||{};
(function(){var a=_.s;_.R.fg=function(c){var f="undefined"===typeof c;if(a!==_.s&&f)return a;var g={};c=c||window.location.href;var h=c.indexOf("?"),l=c.indexOf("#");c=(-1===l?c.substr(h+1):[c.substr(h+1,l-h-1),"&",c.substr(l+1)].join("")).split("&");for(var h=window.decodeURIComponent?window.decodeURIComponent:window.unescape,l=0,n=c.length;l<n;++l){var q=c[l].indexOf("=");if(-1!==q){var t=c[l].substring(0,q),q=c[l].substring(q+1),q=q.replace(/\+/g," ");try{g[t]=h(q)}catch(v){}}}f&&(a=g);return g}; _.R.fg()})();
(0,_.Q)("gadgets.util.getUrlParameters",_.R.fg);
_.kd=function(a){Kd&&Kd.log&&Kd.log(a)};_.ke=function(){};var Kd=window.console;
_.Pb=function(){var a=window.gadgets&&window.gadgets.config&&window.gadgets.config.get;a&&(0,_.Fa)(a());return{Q:function(a,f,g){g&&g((0,_.P)())},get:function(a){return(0,_.P)(a)},update:function(a,f){f&&(0,_.m)("Config replacement is not supported");(0,_.Fa)(a)},ld:(0,_.x)()}}();
(0,_.Q)("gadgets.config.register",_.Pb.Q);(0,_.Q)("gadgets.config.get",_.Pb.get);(0,_.Q)("gadgets.config.init",_.Pb.ld);(0,_.Q)("gadgets.config.update",_.Pb.update);
_.Ub=function(a){if("complete"===_.Ja.readyState)a();else{var c=_.u,f=function(){if(!c)return c=_.r,a.apply(this,arguments)};_.Ia.addEventListener?(_.Ia.addEventListener("load",f,_.u),_.Ia.addEventListener("DOMContentLoaded",f,_.u)):_.Ia.attachEvent&&(_.Ia.attachEvent("onreadystatechange",function(){"complete"===_.Ja.readyState&&f.apply(this,arguments)}),_.Ia.attachEvent("onload",f))}};_.cc=function(a,c){var f=(0,_.N)(_.wa,"watt",(0,_.O)());(0,_.N)(f,a,c)};_.vd=function(a,c){if("complete"!==_.Ja.readyState)try{a()}catch(f){}(0,_.Ub)(c)}; var Qb=Qb||{};Qb.Km=_.s;Qb.bm=_.s;Qb.pg=_.s;Qb.frameElement=_.s;
Qb=Qb||{};
Qb.Lj||(Qb.Lj=function(){function a(a,c,f){"undefined"!=typeof window.addEventListener?window.addEventListener(a,c,f):"undefined"!=typeof window.attachEvent&&window.attachEvent("on"+a,c);"message"===a&&(window.___jsl=window.___jsl||{},a=window.___jsl,a.RPMQ=a.RPMQ||[],a.RPMQ.push(c))}function c(a){var c=_.Kb.parse(a.data);if(c&&c.f){(0,_.Fc)("gadgets.rpc.receive("+window.name+"): "+a.data);var g=_.T.$d(c.f);h&&("undefined"!==typeof a.origin?a.origin!==g:a.domain!==/^.+:\/\/([^:]+).*/.exec(g)[1])?(0,_.sa)("Invalid rpc message origin. "+
g+" vs "+(a.origin||"")):f(c,a.origin)}}var f,g,h=_.r;return{Kk:(0,_.ca)("wpm"),B:(0,_.ca)(_.r),ld:function(l,n){_.Pb.Q("rpc",_.s,function(a){"true"===String((a&&a.rpc||{}).disableForceSecure)&&(h=_.u)});f=l;g=n;a("message",c,_.u);g("..",_.r);return _.r},sf:function(a){g(a,_.r);return _.r},call:function(a,c,f){var g=_.T.$d(a),h=_.T.dk(a);g?window.setTimeout(function(){var a=_.Kb.stringify(f);(0,_.Fc)("gadgets.rpc.send("+window.name+"): "+a);h.postMessage(a,g)},0):".."!=a&&(0,_.sa)("No relay set (used as window.postMessage targetOrigin), cannot send cross-domain message"); return _.r}}}());
Qb=Qb||{};
Qb.Uf||(Qb.Uf=function(){function a(a,c){function f(){a.apply({},arguments)}rw[c]=rw[c]||f;return ja+"."+c}function c(){if(z===_.s&&window.document.body&&v){var a=v+"?cb="+Math.random()+"&origin="+Ca+"&jsl=1",f=window.document.createElement("div");f.style.height="1px";f.style.width="1px";a='<object height="1" width="1" id="'+t+'" type="application/x-shockwave-flash"><param name="allowScriptAccess" value="always"></param><param name="movie" value="'+a+'"></param><embed type="application/x-shockwave-flash" allowScriptAccess="always" src="'+a+
'" height="1" width="1"></embed></object>';window.document.body.appendChild(f);f.innerHTML=a;z=f.firstChild}++K;E!==_.s&&(z!==_.s||50<=K)?window.clearTimeout(E):E=window.setTimeout(c,100)}function f(){S[".."]||(q(".."),U++,50<=U&&ka!==_.s?(window.clearTimeout(ka),ka=_.s):ka=window.setTimeout(f,100))}function g(){if(z!==_.s&&z.setup)for(;0<I.length;){var a=I.shift(),c=a.Qs;z.setup(a.ve,".."===c?_.T.lh:c,".."===c?"INNER":"OUTER")}E!==_.s&&window.clearTimeout(E);E=_.s}function h(){S[".."]||ka!==_.s||
(ka=window.setTimeout(f,100))}function l(a,c,f){c=_.T.$d(a);var g=_.T.Wd(a);z["sendMessage_"+(".."===a?_.T.lh:a)+"_"+g+"_"+(".."===a?"INNER":"OUTER")].call(z,_.Kb.stringify(f),c);return _.r}function n(a,c){var f=_.Kb.parse(a),g=f._scr;g?(F(g,_.r),S[g]=_.r,".."!==g&&q(g,_.r)):window.setTimeout(function(){A(f,c)},0)}function q(a,c){var f=_.T.lh,g={};g._scr=c?"..":f;g._pnt=f;l(a,f,g)}var t="___xpcswf",v=_.s,w=_.u,A=_.s,F=_.s,z=_.s,I=[],E=_.s,K=0,U=0,ka=_.s,S={},Ca=window.location.protocol+"//"+window.location.host,
ja,rw=function(){window.___jsl=window.___jsl||{};var a=window.___jsl._fm={};ja="___jsl._fm";return a}();_.Pb.Q("rpc",_.s,function(a){w&&(v=a&&a.rpc&&a.rpc.commSwf||"//xpc.googleusercontent.com/gadgets/xpc.swf")});a(g,"ready");a(h,"setupDone");a(n,"receiveMessage");return{Kk:(0,_.ca)("flash"),B:(0,_.ca)(_.r),ld:function(a,c){A=a;F=c;return w=_.r},sf:function(a,f){I.push({ve:f,Qs:a});z===_.s&&E===_.s&&(E=window.setTimeout(c,100));return _.r},call:l,Vo:n,G:g,ha:h}}());
if(window.gadgets&&window.gadgets.rpc)"undefined"!=typeof _.T&&_.T||(_.T=window.gadgets.rpc,_.T.Ca=_.T.config,_.T.Q=_.T.register,_.T.Jd=_.T.unregister,_.T.Am=_.T.registerDefault,_.T.aB=_.T.unregisterDefault,_.T.Fk=_.T.forceParentVerifiable,_.T.call=_.T.call,_.T.Rk=_.T.getRelayUrl,_.T.Xg=_.T.setRelayUrl,_.T.Wg=_.T.setAuthToken,_.T.tf=_.T.setupReceiver,_.T.Wd=_.T.getAuthToken,_.T.mj=_.T.removeReceiver,_.T.Qk=_.T.getRelayChannel,_.T.ym=_.T.receive,_.T.zm=_.T.receiveSameDomain,_.T.Pq=_.T.getOrigin,_.T.$d=
_.T.getTargetOrigin,_.T.dk=_.T._getTargetWin,_.T.Uo=_.T._parseSiblingId);else{_.T=function(){function a(){}function c(a,c){if(!Ya[a]){var f=fc;c||(f=te);Ya[a]=f;for(var g=If[a]||[],h=0;h<g.length;++h){var l=g[h];l.t=S[a];f.call(a,l.f,l)}If[a]=[]}}function f(){function a(){Go=_.r}Ho||("undefined"!=typeof window.addEventListener?window.addEventListener("unload",a,_.u):"undefined"!=typeof window.attachEvent&&window.attachEvent("onunload",a),Ho=_.r)}function g(c,g,h,l,n){S[g]&&S[g]===h||((0,_.sa)("Invalid gadgets.rpc token. "+
S[g]+" vs "+h),a(g,2));n.onunload=function(){rw[g]&&!Go&&(a(g,1),_.T.mj(g))};f();l=_.Kb.parse((0,window.decodeURIComponent)(l))}function h(f,g){if(f&&"string"===typeof f.s&&"string"===typeof f.f&&f.a instanceof Array)if(S[f.f]&&S[f.f]!==f.t&&((0,_.sa)("Invalid gadgets.rpc token. "+S[f.f]+" vs "+f.t),a(f.f,2)),"__ack"===f.s)window.setTimeout(function(){c(f.f,_.r)},0);else{f.c&&(f.callback=function(a){_.T.call(f.f,(f.g?"legacy__":"")+"__cb",_.s,f.c,a)});if(g){var h=l(g);f.origin=g;var n=f.r,q;try{q=
l(n)}catch(t){}n&&q==h||(n=g);f.referer=n}h=(K[f.s]||K[""]).apply(f,f.a);f.c&&"undefined"!==typeof h&&_.T.call(f.f,"__cb",_.s,f.c,h)}}function l(a){if(!a)return"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);-1==a.indexOf("://")&&(a=window.location.protocol+"//"+a);var c=a.substring(a.indexOf("://")+3),f=c.indexOf("/");-1!=f&&(c=c.substring(0,f));a=a.substring(0,a.indexOf("://"));"http"!==a&&("https"!==a&&"chrome-extension"!==a)&&(0,_.m)(Error("Pa"));
var f="",g=c.indexOf(":");if(-1!=g){var h=c.substring(g+1),c=c.substring(0,g);if("http"===a&&"80"!==h||"https"===a&&"443"!==h)f=":"+h}return a+"://"+c+f}function n(a){if("/"==a.charAt(0)){var c=a.indexOf("|");return{id:0<c?a.substring(1,c):a.substring(1),origin:0<c?a.substring(c+1):_.s}}return _.s}function q(a){if("undefined"===typeof a||".."===a)return window.parent;var c=n(a);if(c)return window.top.frames[c.id];a=String(a);return(c=window.frames[a])?c:(c=window.document.getElementById(a))&&c.contentWindow?
c.contentWindow:_.s}function t(a,c){if(rw[a]!==_.r){"undefined"===typeof rw[a]&&(rw[a]=0);var f=q(a);".."!==a&&f==_.s||fc.sf(a,c)!==_.r?rw[a]!==_.r&&10>rw[a]++?window.setTimeout(function(){t(a,c)},500):(Ya[a]=te,rw[a]=_.r):rw[a]=_.r}}function v(a){(a=U[a])&&"/"===a.substring(0,1)&&(a="/"===a.substring(1,2)?window.document.location.protocol+a:window.document.location.protocol+"//"+window.document.location.host+a);return a}function w(a,c,f){c&&!/http(s)?:\/\/.+/.test(c)&&(0==c.indexOf("//")?c=window.location.protocol+
c:"/"==c.charAt(0)?c=window.location.protocol+"//"+window.location.host+c:-1==c.indexOf("://")&&(c=window.location.protocol+"//"+c));U[a]=c;"undefined"!==typeof f&&(ka[a]=!!f)}function A(a,c){c=c||"";S[a]=String(c);t(a,c)}function F(a){a=(a.passReferrer||"").split(":",2);wh=a[0]||"none";nk=a[1]||"origin"}function z(a){"true"===String(a.useLegacyProtocol)&&(fc=Qb.pg||te,fc.ld(h,c))}function I(a,c){function f(g){g=g&&g.rpc||{};F(g);var h=g.parentRelayUrl||"",h=l(Ta.parent||c)+h;w("..",h,"true"===String(g.useLegacyProtocol));
z(g);A("..",a)}!Ta.parent&&c?f({}):_.Pb.Q("rpc",_.s,f)}function E(a,c,f){if(".."===a)I(f||Ta.rpctoken||Ta.ifpctok||"",c);else t:{var g=_.s;if("/"!=a.charAt(0)){if(!_.R)break t;(g=window.document.getElementById(a))||(0,_.m)(Error("h`"+a))}g=g&&g.src;c=c||_.T.Pq(g);w(a,c);c=_.R.fg(g);A(a,f||c.rpctoken)}}var K={},U={},ka={},S={},Ca=0,ja={},rw={},Ta={},Ya={},If={},wh=_.s,nk=_.s,Yw=window.top!==window.self,ok=window.name,pk=window.console,Io=pk&&pk.log&&function(a){pk.log(a)}||(0,_.x)(),te=function(){function a(c){return function(){Io(c+
": call ignored")}}return{getCode:(0,_.ca)("noop"),isParentVerifiable:(0,_.ca)(_.r),init:a("init"),setup:a("setup"),call:a("call")}}();_.R&&(Ta=_.R.fg());var Go=_.u,Ho=_.u,fc=function(){if("flash"==Ta.rpctx)return Qb.Uf;if("rmr"==Ta.rpctx)return Qb.Km;var a="function"===typeof window.postMessage?Qb.Lj:"object"===typeof window.postMessage?Qb.Lj:window.ActiveXObject?Qb.Uf?Qb.Uf:Qb.bm?Qb.bm:Qb.pg:0<window.navigator.userAgent.indexOf("WebKit")?Qb.Km:"Gecko"===window.navigator.product?Qb.frameElement:
Qb.pg;a||(a=te);return a}();K[""]=function(){Io("Unknown RPC service: "+this.s)};K.__cb=function(a,c){var f=ja[a];f&&(delete ja[a],f.call(this,c))};return{Ca:function(c){"function"===typeof c.Mm&&(a=c.Mm)},Q:function(a,c){"__cb"!==a&&"__ack"!==a||(0,_.m)(Error("i"));""===a&&(0,_.m)(Error("j"));K[a]=c},Jd:function(a){"__cb"!==a&&"__ack"!==a||(0,_.m)(Error("k"));""===a&&(0,_.m)(Error("l"));delete K[a]},Am:function(a){K[""]=a},aB:function(){delete K[""]},Fk:(0,_.x)(),call:function(a,c,f,g){a=a||"..";
var h="..";".."===a?h=ok:"/"==a.charAt(0)&&(h=_.T.Pq(window.location.href),h="/"+ok+(h?"|"+h:""));++Ca;f&&(ja[Ca]=f);var l={s:c,f:h,c:f?Ca:0,a:Array.prototype.slice.call(arguments,3),t:S[a],l:!!ka[a]},q;t:if("bidir"===wh||"c2p"===wh&&".."===a||"p2c"===wh&&".."!==a){q=window.location.href;var t="?";if("query"===nk)t="#";else if("hash"===nk)break t;t=q.lastIndexOf(t);t=-1===t?q.length:t;q=q.substring(0,t)}else q=_.s;q&&(l.r=q);if(".."===a||n(a)!=_.s||window.document.getElementById(a))(q=Ya[a])||n(a)===
_.s||(q=fc),0===c.indexOf("legacy__")&&(q=fc,l.s=c.substring(8),l.c=l.c?l.c:Ca),l.g=_.r,l.r=h,q?(ka[a]&&(q=Qb.pg),q.call(a,h,l)===_.u&&(Ya[a]=te,fc.call(a,h,l))):If[a]?If[a].push(l):If[a]=[l]},Rk:v,Xg:w,Wg:A,tf:E,Wd:function(a){return S[a]},mj:function(a){delete U[a];delete ka[a];delete S[a];delete rw[a];delete Ya[a]},Qk:function(){return fc.Kk()},ym:function(a,c){4<a.length?fc.Vo(a,h):g.apply(_.s,a.concat(c))},zm:function(a){a.a=Array.prototype.slice.call(a.a);window.setTimeout(function(){h(a)},
0)},Pq:l,$d:function(a){var c=_.s,c=v(a);c||(c=(c=n(a))?c.origin:".."==a?Ta.parent:window.document.getElementById(a).src);return l(c)},ld:function(){fc.ld(h,c)===_.u&&(fc=te);Yw?E(".."):_.Pb.Q("rpc",_.s,function(a){a=a.rpc||{};F(a);z(a)})},dk:q,Uo:n,B:"__ack",lh:ok||"..",M:0,ha:1,G:2}}();_.T.ld()};
_.T.Ca({Mm:function(a){(0,_.m)(Error("m`"+a))}});_.Fc=_.ke;(0,_.Q)("gadgets.rpc.config",_.T.Ca);(0,_.Q)("gadgets.rpc.register",_.T.Q);(0,_.Q)("gadgets.rpc.unregister",_.T.Jd);(0,_.Q)("gadgets.rpc.registerDefault",_.T.Am);(0,_.Q)("gadgets.rpc.unregisterDefault",_.T.aB);(0,_.Q)("gadgets.rpc.forceParentVerifiable",_.T.Fk);(0,_.Q)("gadgets.rpc.call",_.T.call);(0,_.Q)("gadgets.rpc.getRelayUrl",_.T.Rk);(0,_.Q)("gadgets.rpc.setRelayUrl",_.T.Xg);(0,_.Q)("gadgets.rpc.setAuthToken",_.T.Wg);(0,_.Q)("gadgets.rpc.setupReceiver",_.T.tf);
(0,_.Q)("gadgets.rpc.getAuthToken",_.T.Wd);(0,_.Q)("gadgets.rpc.removeReceiver",_.T.mj);(0,_.Q)("gadgets.rpc.getRelayChannel",_.T.Qk);(0,_.Q)("gadgets.rpc.receive",_.T.ym);(0,_.Q)("gadgets.rpc.receiveSameDomain",_.T.zm);(0,_.Q)("gadgets.rpc.getOrigin",_.T.Pq);(0,_.Q)("gadgets.rpc.getTargetOrigin",_.T.$d);


_.Rb=window.gapi&&window.gapi.util||{};
_.Rb=_.Rb||{};_.Rb.xh=function(){var a={Nj:"bsh",Uj:"h"};window.___jsl=window.___jsl||{};return{B:function(){return window.___jsl[a.Nj]},Ok:function(){return window.___jsl[a.Uj]},pj:function(c){window.___jsl[a.Nj]=c},ys:function(c){window.___jsl[a.Uj]=c}}}();

_.Pj=window.oauth2||{};_.Qj=window.auth_firstparty||{};
_.Vj=function(a,c){this.B=a;var f=c||{};this.M=f.Fr;this.G=f.domain;this.ha=f.path;this.qa=f.wD};_.dk=function(a){this.B=a};_.fk=function(a){this.B=a;this.G=window.sessionStorage};var LC=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,MC=/^[A-Z_][A-Z0-9_]{0,63}$/;_.Vj.prototype.Hd=function(){for(var a=this.B+"=",c=window.document.cookie.split(/;\s*/),f=0;f<c.length;++f){var g=c[f];if(0==g.indexOf(a))return g.substr(a.length)}};
_.Vj.prototype.write=function(a,c){MC.test(this.B)||(0,_.m)("Invalid cookie name");LC.test(a)||(0,_.m)("Invalid cookie value");var f=this.B+"="+a;this.G&&(f+=";domain="+this.G);this.ha&&(f+=";path="+this.ha);var g="number"===typeof c?c:this.M;if(0<=g){var h=new Date;h.setSeconds(h.getSeconds()+g);f+=";expires="+h.toUTCString()}this.qa&&(f+=";secure");window.document.cookie=f};_.Vj.prototype.clear=function(){this.write("",0)}; _.Vj.iterate=function(a){for(var c=window.document.cookie.split(/;\s*/),f=0;f<c.length;++f){var g=c[f].split("="),h=g.shift();a(h,g.join("="))}};
var Ok={};_.dk.prototype.Hd=function(){if(Ok.hasOwnProperty(this.B))return Ok[this.B]};_.dk.prototype.write=function(a){Ok[this.B]=a};_.dk.prototype.clear=function(){delete Ok[this.B]};_.dk.iterate=function(a){for(var c in Ok)Ok.hasOwnProperty(c)&&a(c,Ok[c])};
_.fk.prototype.Hd=function(){return this.G.getItem(this.B)};_.fk.prototype.write=function(a){this.G.setItem(this.B,a)};_.fk.prototype.clear=function(){this.G.removeItem(this.B)};_.fk.iterate=function(a){for(var c=0,f=window.sessionStorage.length;c<f;++c){var g=window.sessionStorage.key(c);a(g,window.sessionStorage[g])}};
for(var Ap=0;64>Ap;++Ap);
_.co=function(a){var c=(0,_.P)("googleapis.config/sessionIndex");c==_.s&&(c=window.__X_GOOG_AUTHUSER);if(c==_.s){var f=window.google;f&&(c=f.authuser)}c==_.s&&(a=a||window.location.href,c=(0,_.Ua)(a,"authuser")||_.s,c==_.s&&(c=(c=a.match(jo))?c[1]:_.s));return c==_.s?_.s:String(c)};_.ep=function(a){var c=(0,_.P)("googleapis.config/sessionDelegate");c==_.s&&(c=(a=(a||window.location.href).match(hp))?a[1]:_.s);return c==_.s?_.s:String(c)}; _.up=function(a,c){var f=(0,_.co)(a)||c,g=(0,_.ep)(a),h="";f&&(h+="u/"+f+"/");g&&(h+="b/"+g+"/");return h||_.s};
var jo=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?\#]*)?\/u\/(\d)\//,hp=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?\#]*)?\/b\/(\d{10,})\//;
_.Xb=function(a,c,f){a=String(a);if(((0,_.Ua)(a,"authuser")||_.s)!=_.s||((0,_.Ua)(a,"hd")||_.s)!=_.s)return a;c=(0,_.co)(c);if(f){var g=a,h=g.match(/^((https?:)?\/\/[^\/?#]*)?(\/[^\/?#]+)\/[0-9]+([\/][^?#]*)([?#].*)?$/);if(h&&h[0]){var l=h[1],n=h[4],q=h[5];h[3]=="/"+f&&(g=(l||"")+(n||"/")+(q||""))}if((h=g.match(/^(((https?:)?\/\/[^\/?#]*)([\/][^?#]*)?|([\/][^?#]*))([?#].*)?$/))&&h[0])return l=h[2],a=h[4]||h[5],q=h[6],c!=_.s&&(g=(l||"")+"/"+f+"/"+(0,window.encodeURIComponent)(c)+(a||"/")+(q||"")),
g}f=c==_.s?(0,window.encodeURIComponent)("authuser")+"=0":c.match(/^([-a-z0-9]+[.])+[-a-z0-9]+$/)?[(0,window.encodeURIComponent)("authuser")+"=",(0,window.encodeURIComponent)(String(c)),"&"+(0,window.encodeURIComponent)("hd")+"=",(0,window.encodeURIComponent)(c)].join(""):["authuser=",(0,window.encodeURIComponent)(c)].join("");a=a.split("#");c=a[0].indexOf("?");0>c?a[0]=[a[0],"?",f].join(""):(g=[a[0]],c<a[0].length-1&&g.push("&"),g.push(f),a[0]=g.join(""));return g=a.join("#")};_.google.ko=_.Xb; _.google.mr=_.co;_.google.VN=_.ep;_.google.WN=_.up;

var wb=function(){};var xb=function(){this.B=[];this.M=[];this.Ka=[];this.ha=[];this.ha[0]=128;for(var a=1;64>a;++a)this.ha[a]=0;this.reset()};
var yb=function(a,c,f){f||(f=0);var g=a.Ka;if((0,_.fa)(c))for(var h=0;16>h;h++)g[h]=c.charCodeAt(f)<<24|c.charCodeAt(f+1)<<16|c.charCodeAt(f+2)<<8|c.charCodeAt(f+3),f+=4;else for(h=0;16>h;h++)g[h]=c[f]<<24|c[f+1]<<16|c[f+2]<<8|c[f+3],f+=4;for(h=16;80>h;h++){var l=g[h-3]^g[h-8]^g[h-14]^g[h-16];g[h]=(l<<1|l>>>31)&4294967295}c=a.B[0];f=a.B[1];for(var n=a.B[2],q=a.B[3],t=a.B[4],v,h=0;80>h;h++)40>h?20>h?(l=q^f&(n^q),v=1518500249):(l=f^n^q,v=1859775393):60>h?(l=f&n|q&(f|n),v=2400959708):(l=f^n^q,v=3395469782), l=(c<<5|c>>>27)+l+t+v+g[h]&4294967295,t=q,q=n,n=(f<<30|f>>>2)&4294967295,f=c,c=l;a.B[0]=a.B[0]+c&4294967295;a.B[1]=a.B[1]+f&4294967295;a.B[2]=a.B[2]+n&4294967295;a.B[3]=a.B[3]+q&4294967295;a.B[4]=a.B[4]+t&4294967295};_.Wp=function(){this.B=new xb};
(0,_.J)(xb,wb);xb.prototype.reset=function(){this.B[0]=1732584193;this.B[1]=4023233417;this.B[2]=2562383102;this.B[3]=271733878;this.B[4]=3285377520;this.qa=this.G=0};xb.prototype.update=function(a,c){(0,_.kf)(c)||(c=a.length);for(var f=c-64,g=0,h=this.M,l=this.G;g<c;){if(0==l)for(;g<=f;)yb(this,a,g),g+=64;if((0,_.fa)(a))for(;g<c;){if(h[l]=a.charCodeAt(g),++l,++g,64==l){yb(this,h);l=0;break}}else for(;g<c;)if(h[l]=a[g],++l,++g,64==l){yb(this,h);l=0;break}}this.G=l;this.qa+=c};
xb.prototype.xk=function(){var a=[],c=8*this.qa;56>this.G?this.update(this.ha,56-this.G):this.update(this.ha,64-(this.G-56));for(var f=63;56<=f;f--)this.M[f]=c&255,c/=256;yb(this,this.M);for(f=c=0;5>f;f++)for(var g=24;0<=g;g-=8)a[c]=this.B[f]>>g&255,++c;return a};
_.k=_.Wp.prototype;_.k.reset=function(){this.B.reset()};_.k.wG=function(a){this.B.update(a)};_.k.BE=function(){return this.B.xk()};_.k.CD=function(a){a=(0,window.unescape)((0,window.encodeURIComponent)(a));for(var c=[],f=0,g=a.length;f<g;++f)c.push(a.charCodeAt(f));this.wG(c)};_.k.Of=function(){for(var a=this.BE(),c="",f=0;f<a.length;f++)c+="0123456789ABCDEF".charAt(Math.floor(a[f]/16))+"0123456789ABCDEF".charAt(a[f]%16);return c};

_.tq=function(a){var c=a.substr(1),f="",g=window.location.hostname;if(""!==c){f=(0,window.parseInt)(c,10);if((0,window.isNaN)(f))return _.s;c=g.split(".");if(c.length<f-1)return _.s;c.length==f-1&&(g="."+g)}else g="";return{Gb:"S"==a.charAt(0),domain:g,Ke:f}};
_.uq=function(a){if(0!==a.indexOf("GCSC"))return _.s;var c={uf:_.u};a=a.substr(4);if(!a)return c;var f=a.charAt(0);a=a.substr(1);var g=a.lastIndexOf("_");if(-1==g)return c;var h=(0,_.tq)(a.substr(g+1));if(h==_.s)return c;a=a.substring(0,g);if("_"!==a.charAt(0))return c;g="E"===f&&h.Gb;return!g&&("U"!==f||h.Gb)||g&&!_.Gt?c:{uf:_.r,Gb:g,ep:a.substr(1),domain:h.domain,Ke:h.Ke}};_.Pn=function(a){this.G=a;this.B=_.s};_.vv=function(a){return a?{domain:a.domain,path:"/",wD:a.Gb}:_.s};
_.Zj=function(a,c){var f="";if(!a)return f;var g=c||"&",h;for(h in a)if({}.hasOwnProperty.call(a,h)){var l;l=a[h];if(l!=_.s){var n=[(0,window.encodeURIComponent)(h),"="];if(l instanceof Array){for(var q=[],t=0;t<l.length;t++)q.push((0,window.encodeURIComponent)(l[t]));n.push(q.join("+"))}else n.push((0,window.encodeURIComponent)(l));l=n.join("")}else l="";l&&(f&&(f+=g),f+=l)}return f};_.Gt="https:"===window.location.protocol;_.Lv=_.Gt||"http:"===window.location.protocol?_.Vj:_.dk;
var lw;_.Dv=(0,_.O)();_.Fv=(0,_.O)();_.Mv=(0,_.O)();lw="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window".split(" ");_.Pn.prototype.write=function(a){var c=(0,_.O)(),f=(0,_.O)(),g;for(g in a)Object.prototype.hasOwnProperty.call(a,g)&&(f[g]=a[g],c[g]=a[g]);g=0;for(var h=lw.length;g<h;++g)delete f[lw[g]];a=String(a.authuser||0);g=(0,_.O)();g[a]=_.R.fg("#"+(0,_.Zj)(f));this.G.write(_.Kb.stringify(g));this.B=c};_.Pn.prototype.Hd=(0,_.y)("B"); _.Pn.prototype.clear=function(){this.G.clear();this.B=(0,_.O)()};_.fk.iterate(function(a){var c=(0,_.uq)(a);c&&c.uf&&(_.Dv[a]=new _.Pn(new _.fk(a,(0,_.vv)(c))))});_.Lv.iterate(function(a){_.Dv[a]&&(_.Fv[a]=new _.Lv(a,(0,_.vv)((0,_.uq)(a))))});

_.Rb.Pq=function(a){if(!a)return"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^\w*:\/\//.test(a)||(a=window.location.href);var c=a.substring(a.indexOf("://")+3),f=c.indexOf("/");-1!=f&&(c=c.substring(0,f));a=a.substring(0,a.indexOf("://"));"http"!==a&&("https"!==a&&"chrome-extension"!==a)&&(0,_.m)(Error("Pa"));var f="",g=c.indexOf(":");if(-1!=g){var h=c.substring(g+1),c=c.substring(0,g);if("http"===a&&"80"!==h||"https"===a&&"443"!==h)f=":"+ h}return a+"://"+c+f};

_.Xj=window.googleapis&&window.googleapis.server||{};
_.Yj=function(){var a=/\s*;\s*/;return{get:function(c,f){for(var g=c+"=",h=(window.document.cookie||"").split(a),l=0,n;n=h[l];++l)if(0==n.indexOf(g))return n.substr(g.length);return f}}}();
_.Tb=function(){function a(){h[0]=1732584193;h[1]=4023233417;h[2]=2562383102;h[3]=271733878;h[4]=3285377520;w=v=0}function c(a){for(var c=n,f=0;64>f;f+=4)c[f/4]=a[f]<<24|a[f+1]<<16|a[f+2]<<8|a[f+3];for(f=16;80>f;f++)c[f]=((c[f-3]^c[f-8]^c[f-14]^c[f-16])<<1|(c[f-3]^c[f-8]^c[f-14]^c[f-16])>>>31)&4294967295;a=h[0];for(var g=h[1],l=h[2],q=h[3],t=h[4],v,w,f=0;80>f;f++)40>f?20>f?(v=q^g&(l^q),w=1518500249):(v=g^l^q,w=1859775393):60>f?(v=g&l|q&(g|l),w=2400959708):(v=g^l^q,w=3395469782),v=((a<<5|a>>>27)&4294967295)+
v+t+w+c[f]&4294967295,t=q,q=l,l=(g<<30|g>>>2)&4294967295,g=a,a=v;h[0]=h[0]+a&4294967295;h[1]=h[1]+g&4294967295;h[2]=h[2]+l&4294967295;h[3]=h[3]+q&4294967295;h[4]=h[4]+t&4294967295}function f(a,f){if("string"===typeof a){a=(0,window.unescape)((0,window.encodeURIComponent)(a));for(var g=[],h=0,n=a.length;h<n;++h)g.push(a.charCodeAt(h));a=g}f||(f=a.length);g=0;if(0==v)for(;g+64<f;)c(a.slice(g,g+64)),g+=64,w+=64;for(;g<f;)if(l[v++]=a[g++],w++,64==v)for(v=0,c(l);g+64<f;)c(a.slice(g,g+64)),g+=64,w+=64}
function g(){var a=[],g=8*w;56>v?f(q,56-v):f(q,64-(v-56));for(var n=63;56<=n;n--)l[n]=g&255,g>>>=8;c(l);for(n=g=0;5>n;n++)for(var t=24;0<=t;t-=8)a[g++]=h[n]>>t&255;return a}for(var h=[],l=[],n=[],q=[128],t=1;64>t;++t)q[t]=0;var v,w;a();return{reset:a,update:f,xk:g,Of:function(){for(var a=g(),c="",f=0;f<a.length;f++)c+="0123456789ABCDEF".charAt(Math.floor(a[f]/16))+"0123456789ABCDEF".charAt(a[f]%16);return c}}};

_.Qj=function(){function a(){var a=window.__OVERRIDE_SID;a==_.s&&(a=_.Yj.get("SID"));return!!a}return{Nq:function(a){var f={SAPISIDHASH:_.r,APISIDHASH:_.r};return a&&(a.OriginToken||a.Authorization&&f[String(a.Authorization).split(" ")[0]])?_.r:_.u},er:a,bq:function(){var c=_.s;a()&&(c=window.__PVT,c==_.s&&(c=_.Yj.get("BEAT")));return c},Qe:function(){var c=_.Rb.Pq(String(window.location.href));if(a()){var f=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:"),g=f?"SAPISID":"APISID",h=f?window.__SAPISID: window.__APISID;h==_.s&&(h=_.Yj.get(g));if(h)return f=f?"SAPISIDHASH":"APISIDHASH",g=(0,_.Tb)(),g.reset(),g.update([h,c].join(" ")),f+" "+g.Of().toLowerCase()}return _.s}}}();

_.R=_.R||{};_.R.Ee=function(a,c,f,g){"undefined"!=typeof a.addEventListener?a.addEventListener(c,f,g):"undefined"!=typeof a.attachEvent?a.attachEvent("on"+c,f):(0,_.Lb)("cannot attachBrowserEvent: "+c)};_.R.Vr=function(a,c,f,g){a.removeEventListener?a.removeEventListener(c,f,g):a.detachEvent?a.detachEvent("on"+c,f):(0,_.Lb)("cannot removeBrowserEvent: "+c)};

_.Vb=function(){function a(c){c=c||window.event;var f=c.screenX+c.clientX<<16,f=f+(c.screenY+c.clientY),f=f*((new Date).getTime()%1E6);n=n*f%q;0<g&&++h==g&&_.R.Vr(window,"mousemove",a,_.u)}function c(a){var c=(0,_.Tb)();c.update(a);return c.Of()}var f=window.crypto;if(f&&"function"==typeof f.getRandomValues)return function(){var a=new window.Uint32Array(1);f.getRandomValues(a);return Number("0."+a[0])};var g=(0,_.P)("random/maxObserveMousemove");g==_.s&&(g=-1);var h=0,l=Math.random(),n=1,q=1E6*(window.screen.width*
window.screen.width+window.screen.height);0!=g&&_.R.Ee(window,"mousemove",a,_.u);var t=c(window.document.cookie+"|"+window.document.location+"|"+(new Date).getTime()+"|"+l);return function(){var a=n,a=a+(0,window.parseInt)(t.substr(0,20),16);t=c(t);return a/(q+Math.pow(16,20))}}();
(0,_.Q)("shindig.random",_.Vb);
_.ne=2147483648*Math.random()|0;
_.Vg=function(a){var c=typeof a;return"object"==c&&a!=_.s||"function"==c};_.Eu=function(a){return"function"==(0,_.da)(a)};_.qe=function(a){return"number"==typeof a};
var Ru;var yn;var Qu;var Ze;var Ye;var Xe;var We;var Ve;var Ie;var Je;var Ke;var Le;var Me;_.Ge=function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};_.Fu=function(a,c){return-1!=a.indexOf(c)};
_.He=function(a,c){if(c)return a.replace(Ie,"&amp;").replace(Je,"&lt;").replace(Ke,"&gt;").replace(Le,"&quot;");if(!Me.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Ie,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(Je,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(Ke,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(Le,"&quot;"));return a};_.Ku=function(a,c){return 0==a.lastIndexOf(c,0)};_.Ne=function(){return _.D.navigator?_.D.navigator.userAgent:_.s};var Oe=function(){return _.D.navigator};
var Pe=function(){var a=_.D.document;return a?a.documentMode:_.p};
_.Lu=function(a){var c;if(!(c=Zk[a])){c=0;for(var f=(0,_.Ge)(String(Se)).split("."),g=(0,_.Ge)(String(a)).split("."),h=Math.max(f.length,g.length),l=0;0==c&&l<h;l++){var n=f[l]||"",q=g[l]||"",t=RegExp("(\\d*)(\\D*)","g"),v=RegExp("(\\d*)(\\D*)","g");do{var w=t.exec(n)||["","",""],A=v.exec(q)||["","",""];if(0==w[0].length&&0==A[0].length)break;c=((0==w[1].length?0:(0,window.parseInt)(w[1],10))<(0==A[1].length?0:(0,window.parseInt)(A[1],10))?-1:(0==w[1].length?0:(0,window.parseInt)(w[1],10))>(0==A[1].length?
0:(0,window.parseInt)(A[1],10))?1:0)||((0==w[2].length)<(0==A[2].length)?-1:(0==w[2].length)>(0==A[2].length)?1:0)||(w[2]<A[2]?-1:w[2]>A[2]?1:0)}while(0==c)}c=Zk[a]=0<=c}return c};_.Te=function(a){return _.W&&Ue>=a};Me=/[&<>\"]/;Le=/\"/g;Ke=/>/g;Je=/</g;Ie=/&/g;Ze=Ye=Xe=We=Ve=_.u;var Nu;if(Nu=(0,_.Ne)()){var Pu=Oe();Ve=(0,_.Ku)(Nu,"Opera");We=!Ve&&((0,_.Fu)(Nu,"MSIE")||(0,_.Fu)(Nu,"Trident"));Ye=(Xe=!Ve&&(0,_.Fu)(Nu,"WebKit"))&&(0,_.Fu)(Nu,"Mobile");Ze=!Ve&&!Xe&&!We&&"Gecko"==Pu.product}_.cf=Ve;
_.W=We;_.df=Ze;_.ef=Xe;_.ff=Ye;Qu=Oe();yn=Qu&&Qu.platform||"";_.$e=(0,_.Fu)(yn,"Mac");_.Eh=(0,_.Fu)(yn,"Win");_.tk=(0,_.Fu)(yn,"Linux");_.zn=!!Oe()&&(0,_.Fu)(Oe().appVersion||"","X11");
t:{var Su="",Tu;if(_.cf&&_.D.opera)var Uu=_.D.opera.version,Su="function"==typeof Uu?Uu():Uu;else if(_.df?Tu=/rv\:([^\);]+)(\)|;)/:_.W?Tu=/\b(?:MSIE|rv)\s+([^\);]+)(\)|;)/:_.ef&&(Tu=/WebKit\/(\S+)/),Tu)var Vu=Tu.exec((0,_.Ne)()),Su=Vu?Vu[1]:"";if(_.W){var Wu=Pe();if(Wu>(0,window.parseFloat)(Su)){Ru=String(Wu);break t}}Ru=Su}var Se=Ru,Zk={},Xu=_.D.document,Ue=Xu&&_.W?Pe()||("CSS1Compat"==Xu.compatMode?(0,window.parseInt)(Se,10):5):_.p;

_.Ti=function(a){return Array.prototype.join.call(arguments,"")};_.jr=function(a,c){var f=a.length-c.length;return 0<=f&&a.indexOf(c,f)==f};_.Ui=function(a,c,f,g,h,l,n){var q="";a&&(q+=a+":");f&&(q+="//",c&&(q+=c+"@"),q+=f,g&&(q+=":"+g));h&&(q+=h);l&&(q+="?"+l);n&&(q+="#"+n);return q};_.Vi=function(a){if(Wi){Wi=_.u;var c=_.D.location;if(c){var f=c.href;f&&(f=(f=(0,_.Vi)(f)[3]||_.s)&&(0,window.decodeURIComponent)(f))&&f!=c.hostname&&(Wi=_.r,(0,_.m)(Error()))}}return a.match(Xi)};
_.Zi=function(a){if(a[1]){var c=a[0],f=c.indexOf("#");0<=f&&(a.push(c.substr(f)),a[0]=c=c.substr(0,f));f=c.indexOf("?");0>f?a[1]="?":f==c.length-1&&(a[1]=_.p)}return a.join("")};_.$i=function(a,c,f){if((0,_.ea)(c))for(var g=0;g<c.length;g++)(0,_.$i)(a,String(c[g]),f);else c!=_.s&&f.push("&",a,""===c?"":"=",(0,window.encodeURIComponent)(String(c)))};_.aj=function(a,c){for(var f in c)(0,_.$i)(f,c[f],a);return a};
_.Yu=function(a,c){(0,_.jr)(a,"/")&&(a=a.substr(0,a.length-1));(0,_.Ku)(c,"/")&&(c=c.substr(1));return(0,_.Ti)(a,"/",c)};var Xi=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$"),Wi=_.ef;

var Ak;var Iv;_.st=function(a){if(!a)return _.s;"single_host_origin"!==a&&(a=_.T.Pq(a));var c=window.location.hostname,f=c,g=_.Gt;if("single_host_origin"!==a){f=a.split("://");if(2==f.length)g="https"===f.shift();else return(0,_.kd)("WARNING invalid cookie_policy: "+a),_.s;f=f[0]}if(-1!==f.indexOf(":"))f=c="";else{if(f!==c){a="."+f;if(c.lastIndexOf(a)!==c.length-a.length)return(0,_.kd)("Invalid cookie_policy domain: "+f),_.s;f=a}c=f.split(".").length-1}return{domain:f,Gb:g,Ke:c}};
_.Zu=function(a){a=a.toUpperCase();for(var c=0,f=Iv.length;c<f;++c){var g=a.split(Iv[c]);2==g.length&&""===g[1]&&(a=g[0])}a=a.replace(/-/g,"_").toUpperCase();40<a.length&&(c=new _.Wp,c.CD(a),a=c.Of().toUpperCase());return a};var OC=function(a){if(!a)return _.s;var c=a.client_id;if(!c)return _.s;c=(0,_.Zu)(c);a=(0,_.st)(a.cookie_policy);return a?!_.Gt&&a.Gb?((0,_.kd)("WARNING: https cookie_policy set for http domain"),_.s):["GCSC",a.Gb?"E":"U","_",c,"_",a.Gb?"S":"H",a.Ke].join(""):_.s};
_.Ev=function(a,c){var f=c?_.Fv:_.Dv,g=c?_.Lv:_.fk,h=a&&OC(a),l=!!h;a&&!a.g_user_cookie_policy&&(g=_.dk,h="token");if(!h)if(!c&&_.Jv)h=_.Jv;else return _.s;var n=f[h];if(!n){n=(0,_.uq)(h);if(!("token"===h||n&&n.uf))return _.s;n=new g(h,(0,_.vv)(n));c||(n=new _.Pn(n))}f[h]=n;return{Kc:n,key:h,Fj:l}};_.Cv=function(a){var c=_.Dv[a];c||(c=new _.Pn(new _.dk(a)),_.Dv[a]=c);return{Kc:c,key:a}};_.Fn=function(){return Math.floor((new Date).getTime()/1E3)};
_.Hx=function(a,c,f){a=a&&"token"!==a?(0,_.Cv)(a):(0,_.Ev)();if(!a)return _.s;if(f){f=a.Kc;(0,_.O)();var g=f.G.Hd();f=_.s;try{f=_.Kb.parse(g)}catch(h){}f==_.u&&(f=_.s);g=(0,_.co)()||"0";g=String(g);f=f&&f[g]}else f=a.Kc.Hd();f&&(f.expires_at&&(0,_.Fn)()>f.expires_at)&&(a.Kc.clear(),f=_.s);f&&(f.error&&!c)&&(f=_.s);return f};
var zk=function(a,c){var f=_.R.Fh({id:a,name:a});f.style.width="1px";f.style.height="1px";f.style.position="absolute";f.style.top="-100px";var g;if(window.navigator){g=window.navigator.userAgent||"";var h=window.navigator.product||"";g=0!=g.indexOf("Opera")&&-1==g.indexOf("WebKit")&&"Gecko"==h&&0<g.indexOf("rv:1.")}else g=_.u;f.src=g?"about:blank":c;window.document.body.appendChild(f);g&&(f.src=c);return f};Iv=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];_.Jv=_.s;Ak={};
_.Bk=function(){function a(a,c,f,g){for(var h=0;h<z.length;h++){var l=z[h];window.setTimeout(function(){l(a,c,f,g)},1)}}function c(a,c,f,g){var h=q("proxy");if(f||!h)var h=q("root"),l=q("root-1p")||h,n=q("xd3"),h=(f||String(c?l:h))+n;(c=_.R.fg().jsh||_.Rb.xh.Ok())&&(h+=(0<=h.indexOf("?")?"&":"?")+"jsh="+(0,window.encodeURIComponent)(c));q("push")&&(h+=(0<=h.indexOf("?")?"&":"?")+"p=1");h+="#parent="+(0,window.encodeURIComponent)(g!=_.s?String(g):_.Rb.Pq(window.document.location.href));return h+="&rpctoken="+
a}function f(c,f,g,n){var q=h(g,n),t=zk(q,f);_.T.Q("ready:"+c,function(){_.T.Jd("ready:"+c);if(!A[q]){A[q]=_.r;var f=F[q];F[q]=[];for(var h=0,t=f.length;h<t;++h){var v=f[h];l(v.qf,v.$r,v.Ga)}a("ready",(new Date).getTime(),g,n||_.s)}});_.T.tf(q,f);w[q]=t}function g(g,h){var l=String(2147483647*(0,_.Vb)()|0),n=c(l,g,h);a("loading",(new Date).getTime(),g,h||_.s);(0,_.Ub)(function(){f(l,n,g,h)})}function h(a,f){var g=c("",a,f,""),h=v[g];h||(h=(0,_.Tb)(),h.update(g),h=h.Of().toLowerCase(),h+=Math.random(),
v[g]=h);return"apiproxy"+h}function l(a,c,f){function l(a){a&&(q=a.root||q,t=_.Qj.Nq(a.headers))}var q=_.s,t=_.u;if("makeRequest"===a||"listen"===a)l(c);else if("makeHttpRequests"===a&&c){for(var v=(0,_.P)("client/jsonpOverride"),z=0,rw=c.length;z<rw;++z){var Ta=c[z];Ta&&(Ta=Ta.params,l(Ta),v&&n(Ta,f))}if(v)return}v=h(t,q);w[v]||g(t,q);A[v]?_.T.call(v,a,function(c){var g=_.Kb.parse(c);if("makeRequest"==a&&g){for(var h={},l=0;l<g.length;l++)h[g[l].id]=g[l];f(h,c)}else f(g,c)},c):(F[v]||(F[v]=[]),F[v].push({qf:a,
$r:c,Ga:f}))}function n(a,c){"GET"!=a.httpMethod&&(0,_.m)("JSONP supports GET methods only.");var f="jpcb"+String(2147483647*(0,_.Vb)()|0),g=window.document.createElement("script"),h=window.document.getElementsByTagName("head")[0];window[f]=function(a){c(a);try{delete window[f]}catch(l){window[f]=_.p}window.setTimeout(function(){h.removeChild(g)},1)};var l=a.root||q("root"),n=a.urlParams;n.callback=f;l=(0,_.Yu)(l,a.url);n=(0,_.Zi)((0,_.aj)([l],n));g.setAttribute("id",f);g.setAttribute("src",n);g.setAttribute("charset",
"utf-8");h.appendChild(g)}function q(a){return(0,_.P)("googleapis.config/"+a)}var t=window.location?String(window.location.href):_.s,v={},w={},A={},F={},z=[];return{Md:function(a,c){var f=a||{},g;window.location!=_.s?t=g=String(window.location.href):g=t;g=_.Rb.Pq(g);f["X-Origin"]=g;g=f.Authorization;var h=f.OriginToken;if(g==_.s&&h==_.s){if(g==_.s){var l;_.Pj&&Ak&&(l=(0,_.Hx)(_.p,_.p));l&&l.access_token&&(g=String(l.token_type||"Bearer")+" "+l.access_token)}g==_.s&&(q("auth/useFirstPartyAuth")&&_.Qj.er())&&
(l=f["X-Goog-AuthUser"],l==_.s&&(l=_.google.mr(c)||"0"),(g=_.Qj.Qe())&&(f["X-Goog-AuthUser"]=l));g?f.Authorization=g:q("auth/useOriginToken")!==_.u&&(h=_.Qj.bq())&&(f.OriginToken=h)}return f},Xo:function(a){z.push(a)},B:n,Wr:function(a){for(var c=0;c<z.length;c++)if(z[c]==a){z.splice(c,1);break}},Dd:l}}();

var jz=function(a){this.ha=a;this.B={};this.G={};a=(0,_.H)(this.M,this);(0,_.Va)(_.Ia,"message",a);(0,_.N)(_.wa,"RPMQ",[]).push(a);_.Ia!=_.Ia.parent&&CC(this,_.Ia.parent,"{h:'"+(0,window.escape)(_.Ia.name)+"'}","*")};var lz=function(a,c){var f=_.s;0===c.indexOf("{h:'")&&c.indexOf("'}")===c.length-2&&(f=(0,window.unescape)(c.substring(4,c.length-2)));return f};var kz=function(a,c){var f=_.Kb.parse(c);return f!==_.s&&"object"===typeof f&&!!f.g};
var CC=function(a,c,f,g){a=kz(a,f)?"":"!_";(0,_.ke)("gapi.rpc.send("+Qz+"): "+(!f||512>=f.length?f:f.substr(0,512)+"... ("+f.length+" bytes)"));c.postMessage(a+f,g)};var mz=function(){};
var nz=function(a){var c=_.Ia;"/"==a.charAt(0)&&(a=a.substring(1),c=_.Ia.top);for(a=a.split("/");a.length;){var f;f=a.shift();"{"==f.charAt(0)&&"}"==f.charAt(f.length-1)&&(f=f.substring(1,f.length-1));if(".."===f)c=c==c.parent?c.opener:c.parent;else if(".."!==f&&c.frames[f])c=c.frames[f],"postMessage"in c||(0,_.m)("Not a window");else return _.s}return c};var oz=function(a){return(a=pz[a])&&a.ve};
var qz=function(a){if(a.f in{})return _.u;var c=a.t,f=pz[a.r];a=a.origin;return f&&(f.ve===c||!f.ve&&!c)&&(a===f.origin||"*"===f.origin)};var rz=function(a){var c=a.id.split("/"),f=c[c.length-1],g=a.origin;return function(a){var c=a.origin;return a.f==f&&(g==c||"*"==g)}};_.sz=function(a,c,f){a=tz(a);uz[a.name]={Ip:c,lf:a.lf,Us:f||qz};vz()};_.wz=function(a){delete uz[tz(a).name]};var xz=function(a,c){var f=yz["_"+a];f&&f[1](this)&&f[0].call(this,c)};
var zz=function(a){var c=a.c;if(!c)return mz;var f=a.r,g=a.g?"legacy__":"";return function(){var a=[].slice.call(arguments,0);a.unshift(f,g+"__cb",_.s,c);_.Az.apply(_.s,a)}};var Bz=function(a){Cz=a};var Dz=function(a){Ez[a]||(Ez[a]=_.Ia.setTimeout(function(){Ez[a]=_.u;Fz(a)},0))};var Fz=function(a){var c=pz[a];if(c&&c.Tb){var f=c.kj;for(c.kj=[];f.length;)Gz.send(a,_.Kb.stringify(f.shift()),c.origin)}};var tz=function(a){return 0===a.indexOf("legacy__")?{name:a.substring(8),lf:_.r}:{name:a,lf:_.u}};
var vz=function(){for(var a=(0,_.P)("rpc/residenceSec")||60,c=(new Date).getTime()/1E3,f=0,g;g=Hz[f];++f){var h=g.qf;if(!h||0<a&&c-g.timestamp>a)Hz.splice(f,1),--f;else{var l=h.s,n=uz[l]||uz["*"];if(n)if(Hz.splice(f,1),--f,h.origin=g.origin,g=zz(h),h.callback=g,n.Us(h)){if("__cb"!==l&&!!n.lf!=!!h.g)break;h=n.Ip.apply(h,h.a);h!==_.p&&g(h)}else(0,_.ke)("gapi.rpc.rejected("+Qz+"): "+l)}}};var Iz=function(a,c,f){Hz.push({qf:a,origin:c,timestamp:(new Date).getTime()/1E3});f||vz()};
var Jz=function(a,c){var f=_.Kb.parse(a);Iz(f,c,_.u)};var Kz=function(a){for(;a.length;)Iz(a.shift(),this.origin,_.r);vz()};var Lz=function(a){var c=_.u;a=a.split("|");var f=a[0];0<=f.indexOf("/")&&(c=_.r);return{id:f,origin:a[1]||"*",Ki:c}};
_.Mz=function(a,c,f,g){var h=Lz(a);g&&(_.Ia.frames[h.id]=g);a=h.id;if(!pz.hasOwnProperty(a)){f=f||_.s;g=h.origin;if(".."===a)g=_.Rb.Pq(Oz),f=f||Pz;else if(!h.Ki){var l=_.Ja.getElementById(a);l&&(l=l.src,g=_.Rb.Pq(l),f=f||Nz(l).rpctoken)}"*"===h.origin&&g||(g=h.origin);pz[a]={ve:f,kj:[],origin:g,hs:c,xm:function(){var c=a;pz[c].Tb=1;Fz(c)}};Gz.sf(a,pz[a].xm)}return pz[a].xm};
_.Az=function(a,c,f,g){a=a||"..";(0,_.Mz)(a);a=a.split("|",1)[0];var h=[].slice.call(arguments,3),l=c,n=f,q=Qz,t=Pz,v=pz[a],w=q,A=Lz(a);if(v&&".."!==a){if(A.Ki){if(!(w=pz[a].hs)){for(var w=_.s,w=Cz?Cz.substring(1).split("/"):[Qz],t=w.length-1,F=_.Ia.parent;F!==_.Ia.top;){var z=F.parent;if(!t--){for(var I=_.s,E=z.frames.length,K=0;K<E;++K)z.frames[K]==F&&(I=K);w.unshift("{"+I+"}")}F=z}w="/"+w.join("/")}}else w=q="..";t=v.ve}v=l;n&&A?(F=qz,A.Ki&&(F=rz(A)),yz["_"+ ++Rz]=[n,F],A=Rz):A=_.s;h={s:v,f:q,
r:w,t:t,c:A,a:h};l=tz(l);h.s=l.name;h.g=l.lf;pz[a].kj.push(h);Dz(a)};jz.prototype.M=function(a){var c=String(a.data);(0,_.ke)("gapi.rpc.receive("+Qz+"): "+(!c||512>=c.length?c:c.substr(0,512)+"... ("+c.length+" bytes)"));var f=0!==c.indexOf("!_");f||(c=c.substring(2));var g=kz(this,c);if(!f&&!g){if(!g&&(f=lz(this,c))){if(this.B[f])this.B[f]();else this.G[f]=1;return}var h=a.origin,l=this.ha.zp;_.Ia.setTimeout(function(){l(c,h)},0)}}; jz.prototype.sf=function(a,c){".."===a||this.G[a]?(c(),delete this.G[a]):this.B[a]=c};jz.prototype.send=function(a,c,f){(a=this.ha.kq(a))&&CC(this,a,c,f)};
var Rz=0,Hz=[],pz={},uz={},Nz=_.R.fg,Sz=Nz(),Pz=Sz.rpctoken,Oz=Sz.parent||_.Ja.referrer,Qz=(_.Ia!==_.Ia.top||_.Ia.opener)&&_.Ia.name||"..",Cz=_.s,Ez={},Gz={send:mz,sf:mz},yz={};if("function"===typeof _.Ia.postMessage||"object"===typeof _.Ia.postMessage)Gz=new jz({zp:Jz,kq:nz,B:Qz,$f:oz,G:Bz}),(0,_.sz)("__cb",xz,(0,_.ca)(_.r)),(0,_.sz)("_processBatch",Kz,(0,_.ca)(_.r)),(0,_.Mz)("..");

_.Ob=_.Ob||{};_.Ob.Xk=function(){var a=0,c=0;window.self.innerHeight?(a=window.self.innerWidth,c=window.self.innerHeight):window.document.documentElement&&window.document.documentElement.clientHeight?(a=window.document.documentElement.clientWidth,c=window.document.documentElement.clientHeight):window.document.body&&(a=window.document.body.clientWidth,c=window.document.body.clientHeight);return{width:a,height:c}};

_.Ob=_.Ob||{};
(function(){function a(a,f){window.getComputedStyle(a,"").getPropertyValue(f).match(/^([0-9]+)/);return(0,window.parseInt)(RegExp.$1,10)}_.Ob.Zi=function(){var c=_.Ob.Xk().height,f=window.document.body,g=window.document.documentElement;if("CSS1Compat"===window.document.compatMode&&g.scrollHeight)return g.scrollHeight!==c?g.scrollHeight:g.offsetHeight;if(0<=window.navigator.userAgent.indexOf("AppleWebKit")){c=0;for(f=[window.document.body];0<f.length;){var h=f.shift(),g=h.childNodes;if("undefined"!==
typeof h.style){var l=h.style.overflowY;l||(l=(l=window.document.defaultView.getComputedStyle(h,_.s))?l.overflowY:_.s);if("visible"!=l&&"inherit"!=l&&(l=h.style.height,l||(l=(l=window.document.defaultView.getComputedStyle(h,_.s))?l.height:""),0<l.length&&"auto"!=l))continue}for(h=0;h<g.length;h++){l=g[h];if("undefined"!==typeof l.offsetTop&&"undefined"!==typeof l.offsetHeight)var n=l.offsetTop+l.offsetHeight+a(l,"margin-bottom"),c=Math.max(c,n);f.push(l)}}return c+a(window.document.body,"border-bottom")+ a(window.document.body,"margin-bottom")+a(window.document.body,"padding-bottom")}if(f&&g)return h=g.scrollHeight,l=g.offsetHeight,g.clientHeight!==l&&(h=f.scrollHeight,l=f.offsetHeight),h>c?h>l?h:l:h<l?h:l}})();

var mb=function(){var a=(0,_.me)();if(!a){a=(0,_.O)();(0,_.mf)(a);var c=(0,_.O)();a.e=function(a){var g=c[a];g&&(delete c[a],g())};a.a=function(a,g){c[a]=g};a.r=function(a){delete c[a]}}return a};var nb=function(a,c){var f=c.onload;return(0,_.Za)(f)?(mb().a(a,f),f):_.s};var ob=function(a){(0,_.fb)(/^\w+$/.test(a),"Unsupported id - "+a);mb();return'onload="window.___jsl.onl.e(&#34;'+a+'&#34;)"'};var pb=function(a){mb().r(a)};
_.wq=function(a,c){var f,g=0;do f=c.id||["I",ub++,"_",(new Date).getTime()].join("");while(a.getElementById(f)&&5>++g);(0,_.fb)(5>g,"Error creating iframe id");return f};
_.qa=function(a,c,f,g){var h={},l={};(0,_.Ra)(g.queryParams||{},h);(0,_.Ra)(g.fragmentParams||{},l);var n=g.pfname,q=(0,_.O)();q.id=f;q.parent=a.location.protocol+"//"+a.location.host;f=(0,_.Ua)(a.location.href,"parent");n=n||"";!n&&f&&(n=(0,_.Ua)(a.location.href,"id",""),f=(0,_.Ua)(a.location.href,"pfname",""),n=n?f+"/"+n:"");q.pfname=n;(0,_.Ra)(q,l);(q=(0,_.Ua)(c,"rpctoken")||h.rpctoken||l.rpctoken)||(q=l.rpctoken=g.rpctoken||String(Math.round(1E8*(0,_.yq)())));g.rpctoken=q;q=a.location.href;a=
(0,_.O)();(n=(0,_.ge)(q))&&(a._bsh=n);(q=(0,_.Lc)(q))&&(a.jsh=q);g.hintInFragment?(0,_.Ra)(a,l):(0,_.Ra)(a,h);return(0,_.db)(c,h,l,g.paramsSerializer)};var hc=function(a){(0,_.fb)(!a||(0,_.Yb)(a),"Illegal url for new iframe - "+a)};
var er=function(a,c,f,g,h){hc(f.src);var l,n=nb(g,f),q=n?ob(g):"";try{l=a.createElement('<iframe frameborder="'+(0,_.gb)(String(f.frameborder))+'" scrolling="'+(0,_.gb)(String(f.scrolling))+'" '+q+' name="'+(0,_.gb)(String(f.name))+'"/>')}catch(t){l=a.createElement("iframe"),n&&(l.onload=function(){l.onload=_.s;n.call(this)},pb(g))}for(var v in f)a=f[v],"style"===v&&"object"===typeof a?(0,_.Ra)(a,l.style):rb[v]||l.setAttribute(v,String(a));(v=h&&h.beforeNode||_.s)||h&&h.dontclear||(0,_.eb)(c);c.insertBefore(l,
v);l=v?v.previousSibling:c.lastChild;f.allowtransparency&&(l.allowTransparency=_.r);return l};var jc=function(a,c){if(!kc||(0,_.P)("oauth-flow/authAware")){var f=(0,_.co)()||"0",g=(0,_.ep)(),h=(0,_.up)(_.p,f),l=(0,_.P)("oauth-flow/authAware")?"isLoggedIn":"googleapis.config/signedIn";(l=(0,_.P)(l)===_.u?"_/im/":"")&&(h="");kc={socialhost:(0,_.P)("iframes/:socialhost:"),session_index:f,session_delegate:g,session_prefix:h,im_prefix:l}}return kc[c]||""};
_.mc=function(a){return(0,_.ua)(_.Ja,a.replace(nc,jc))};
_.tb=function(a,c,f){var g=f||{};f=g.attributes||{};(0,_.fb)(!g.allowPost||!f.onload,"onload is not supported by post iframe");var h=f=a;_.zd.test(f)&&(h=(0,_.P)("iframes/"+h.substring(1)+"/url"),(0,_.fb)(!!h,"Unknown iframe url config for - "+f));a=(0,_.mc)(h);f=c.ownerDocument||_.Ja;h=(0,_.wq)(f,g);a=(0,_.qa)(f,a,h,g);var l=(0,_.O)();(0,_.Ra)(_.vb,l);(0,_.Ra)(g.attributes,l);l.name=l.id=h;l.src=a;g.eurl=a;if((g||{}).allowPost&&2E3<a.length){var n=(0,_.bb)(a);l.src="";l["data-postorigin"]=a;a=er(f,
c,l,h);var q;if(-1!=window.navigator.userAgent.indexOf("WebKit")){q=a.contentWindow.document;q.open();var l=q.createElement("div"),t={},v=h+"_inner";t.name=v;t.src="";t.style="display:none";er(f,l,t,v,g)}g=(0,_.Hb)(n.mb[0]);n.mb=[];l=(0,_.ab)(n);n=f.createElement("form");n.action=l;n.method="POST";n.target=h;n.style.display="none";for(h=0;h<g.length;h++)l=f.createElement("input"),l.type="hidden",l.name=g[h][0],l.value=g[h][1],n.appendChild(l);c.appendChild(n);n.submit();n.parentNode.removeChild(n); q&&q.close();c=a}else c=er(f,c,l,h,g);return c};var kc;
var ub;var rb;_.vb={allowtransparency:"true",frameborder:"0",hspace:"0",marginheight:"0",marginwidth:"0",scrolling:"no",style:"",tabindex:"0",vspace:"0",width:"100%"};rb={allowtransparency:_.r,onload:_.r};ub=0;var nc;_.zd=/^:[\w]+$/;nc=/:([a-zA-Z_]+):/g;
_.yq=function(){var a;Jb?(a=new _.Ia.Uint32Array(1),Ib.getRandomValues(a),a=Number("0."+a[0])):(a=Ab,a+=(0,window.parseInt)(Gb.substr(0,20),16),Gb=Eb(Gb),a=a/(Bb+Math.pow(16,20)));return a};var zb=function(a){a=a||_.Ia.event;var c=a.screenX+a.clientX<<16,c=c+(a.screenY+a.clientY),c=c*((new Date).getTime()%1E6);Ab=Ab*c%Bb;0<Cb&&++Db==Cb&&(0,_.wc)(_.Ia,"mousemove",zb)};var Eb=function(a){var c=new _.Wp;c.CD(a);return c.Of()};var Ib=_.Ia.crypto,Jb=_.u,Cb=0,Db=0,Ab=1,Bb=0,Gb="",Jb=!!Ib&&"function"==typeof Ib.getRandomValues; Jb||(Bb=1E6*(window.screen.width*window.screen.width+window.screen.height),Gb=Eb(_.Ja.cookie+"|"+_.Ja.location+"|"+(new Date).getTime()+"|"+Math.random()),Cb=(0,_.P)("random/maxObserveMousemove")||0,0!=Cb&&(0,_.Va)(_.Ia,"mousemove",zb));


_.Tz=function(){this.Rd=this.Kf=_.s;this.Gh=_.u};_.Tz.prototype.lc=function(a){if(this.Kf){var c=this.Kf;a instanceof _.Tz?a.Ed(c):c(a);this.Kf=_.s}else this.Rd=a,this.Gh=_.r};_.Tz.prototype.Ed=function(a){this.Kf=a;if(this.Gh){var c=this.Rd;c instanceof _.Tz?c.Ed(a):a(c);this.Gh=_.u;this.Rd=_.s}};

var Xz;var Zz;_.Uz=function(a){return a.Db===a.getContext().Db};_.Vz=function(){return _.r};_.AD=function(a){for(var c=(0,_.O)(),f=0;f<a.length;f++)c[a[f]]=_.r;return function(a){return!!c[a.Db]}};
var Wz=function(a,c){var f=Xz[a];return function(a){if(!c.Ma()&&((0,_.fb)(this.origin===c.Db,"Wrong origin "+this.origin+" != "+c.Db),f&&0<f.length))for(var h=[],l=this.callback,n=f.length,q=0;q<f.length;q++){var t=f[q].call(c,a,c),v=(0,_.ma)(function(a,f){h[a]=f;0===--n&&(c.Ma()||l(h))},q);t&&t instanceof _.Tz?t.Ed(v):v(t)}}};_.Yz=function(a,c,f){(0,_.fb)("_default"!=a,"Cannot update default api");Zz[a]={map:c,filter:f}};
_.$z=function(a,c,f){(0,_.fb)("_default"!=a,"Cannot update default api");(0,_.N)(Zz,a,{map:{},filter:_.Uz}).map[c]=f};_.aA=function(a,c){(0,_.N)(Zz,"_default",{map:{},filter:_.Vz}).map[a]=c;(0,_.DC)(_.Sm.B,function(f){f.Q(a,c,_.Vz)})};_.lr=function(){return _.Sm};
_.bA=function(a){a=a||{};this.Px=_.u;this.xu=(0,_.O)();this.B=(0,_.O)();this.M=a._window||_.Ia;this.ha=this.M.location.href;this.vg=(this.$e=this.M.document.referrer||(0,_.Ua)(this.ha,"parent",""))?(0,_.Ua)(this.ha,"pfname",""):"";this.Pt=(this.Ka=this.$e?(0,_.Ua)(this.ha,"id",""):"")?this.vg+"/"+this.Ka:"";this.Db=_.Rb.Pq(this.ha);if(this.Ka){var c={};c.rpcAddr=a._parentRpcAddr||"..";c.retAddr=a._parentRetAddr||this.Ka;c.origin=_.Rb.Pq((0,_.Ua)(this.ha,"parent",this.ha));c.frameName=this.vg;this.G=
this.Pe(c)}else this.G=_.s};var cA=function(a,c,f){var g=c.canvasUrl;if(!g)return f;(0,_.fb)(!c.allowPost,"Post is not supported when using canvas url");var h=c.url;(0,_.fb)(h&&_.Rb.Pq(h)===a.Db&&_.Rb.Pq(g)===a.Db,"Wrong origin for canvas or hidden url "+g);c.url=g;c.waitForOnload=_.r;delete c.canvasUrl;var l=a.M.document;return function(a){var c=a.Aa(),g=c.location.hash,g=(0,_.ua)(l,h)+(/#/.test(h)?g.replace(/^#/,"&"):g);c.location.replace(g);f&&f(a)}};
var dA=function(a,c,f){var g=c.relayOpen;if(g){var h=a.G;g instanceof _.$?(h=g,c.relayOpen=0):0<g&&(c.relayOpen=g-1);if(h){delete c.openerIframe;(0,_.fb)(!!h.RF,"Relaying iframe open is disabled");if(g=c.style)if(g=_.eA[g])c.context=a,g(c),c.context=_.p;h.RF(c,f);return _.r}}return _.u};
var fA=function(a,c,f){var g=c.style;if(g)if((0,_.fb)(!!_.gA,"Defer style is disabled, when requesting style "+g),_.hA[g])a.zt(c);else return iA(g,function(){(0,_.fb)(!!_.hA[g],"Fail to load style - "+g);a.open(c,f)}),_.r;return _.u};_.$=function(a,c,f,g){this.Px=_.u;this.Ph=a;this.Nc=c;this.Pt=f;this.zd=g;this.re=g.retAddr;this.Db=g.origin;this.QJ=g.iframeEl;this.sG=g.where;this.nz=[];this.Ce("_default");if((0,_.Qa)(g,"apis"))for(a=g.apis||[],c=0;c<a.length;c++)this.Ce(a[c]);this.Ph.B[f]=this};
_.jA=function(a,c,f,g){a.send(c,f,g,_.Vz)};_.gA=function(a){return _.hA[a]};var iA=function(a,c){_.Yi.load("gapi.iframes.style."+a,c)};var mr=function(a){"number"===typeof a&&(a=String(a)+"px");return a};var lA=function(a,c){function f(a){if(a&&h){var f;c.Ga&&c.pn&&(f=function(){c.Ga(_.r)});c.um&&c.um.call(g,c.Ya);c.sender?c.sender(c.Ya,f):(0,_.jA)(h,c.message,c.Ya,f);c.Ga&&!c.pn&&c.Ga(_.r)}else c.Ga&&c.Ga(_.u)}var g=a,h=g.G,l=_.r;c.filter&&(l=c.filter.call(c.qg,c.Ya));l instanceof _.Tz?l.Ed(f):f(l)}; _.mA=function(a,c){var f={};if(c)for(var g in c)(0,_.Qa)(c,g)&&((0,_.Qa)(nA,g)&&oA.test(c[g]))&&(f[g]=c[g]);return f};
var nr=/^[\w\.\-]*$/;_.k=_.bA.prototype;_.k.Ma=(0,_.y)("Px");_.k.gb=function(){if(!this.Ma()){for(var a=0;a<this.B.length;a++)this.B[a].gb();this.Px=_.r}};_.k.Tp=(0,_.y)("Pt");_.k.Aa=(0,_.y)("M");_.k.sj=function(a,c){this.xu[a]=c};_.k.$h=function(a){return this.xu[a]};
_.k.Pe=function(a){(0,_.fb)(!this.Ma(),"Cannot attach iframe in disposed context");a.rpcAddr||(a.rpcAddr=a.id);a.retAddr||(a.retAddr="..");a.origin||(a.origin=_.Rb.Pq(a.url));a.frameName||(a.frameName=a.id?this.Pt+"/"+a.id:"");var c=a.frameName;if(this.B[c])return this.B[c];var f=a.rpcAddr,g=f;(0,_.Qa)(a,"origin")&&(g=f+"|"+a.origin);var h=a.retAddr,l=a.rpctoken;l||(l=(l=a.iframeEl)&&(l.getAttribute("data-postorigin")||l.src)||a.url,l=(0,_.Ua)(l,"rpctoken"));a._rpcReadyFn=(0,_.Mz)(g,h,l,a._popupWindow);
g=((window.gadgets||{}).rpc||{}).setAuthToken;l&&g&&g(f,l);var n=new _.$(this,f,c,a),q=a.messageHandlersFilter;(0,_.DC)(a.messageHandlers,function(a,c){n.Q(c,a,q)});a.setRpcReady&&n.vj();(0,_.jA)(n,"_g_rpcReady");return n};_.k.jD=function(a){delete a.frameName;var c=a.id;!c||nr.test(c)&&!this.Aa().document.getElementById(c)||((0,_.kd)("Ignoring requested iframe ID - "+c),delete a.id)};
_.k.cj=function(a){(0,_.fb)(!this.Ma(),"Cannot open iframe in disposed context");this.zt&&this.zt(a);var c=a.frameName;if(c&&this.B[c])return this.B[c];this.jD(a);var f=a.url;(0,_.fb)(f,"No url for new iframe");(a.queryParams=a.queryParams||{}).usegapi="1";a.pfname=this.Pt;if(a.openAsWindow){var g;g=this.Aa();var h=g.document,c=(0,_.wq)(h,a),f=(0,_.qa)(h,f,c,a);a.eurl=f;h=a.openAsWindow;"string"!==typeof h&&(h=_.p);f="javascript:window.location.replace("+_.Ia.JSON.stringify(f.replace(/#/,"\\x23"))+
")";g=g.open(f,c,h);g={id:c,dd:g};c=g.id;a._popupWindow=g.dd;(0,_.fb)(!!g.dd,"Open popup window failed")}else{var l=a.where;(0,_.fb)(!!l,"No location for new iframe");l=(0,_.tb)(f,l,a);a.iframeEl=l;c=l.getAttribute("id")}a.rpcAddr=a.id=c;a.origin=_.Rb.Pq(a.eurl);this.te&&this.te(a,l);l=this.Pe(a);l.oD&&l.oD(l,a);if("function"===typeof a.onCreate)a.onCreate(l);a.disableRelayOpen||l.Ce("_open");return l};
_.k.open=function(a,c){(0,_.fb)(!this.Ma(),"Cannot open iframe in disposed context");var f=cA(this,a,c),g=a.url;g&&!_.zd.test(g)&&(a.url=(0,_.ua)(this.M.document,g));if(!(dA(this,a,f)||fA(this,a,f)||dA(this,a,f))){var h,g=function(){f&&f(h)};a.waitForOnload&&((0,_.N)(a,"attributes",{}).onload=g);h=this.cj(a);a.waitForOnload||g()}};_.k.cq=(0,_.y)("G");_.k=_.$.prototype;_.k.Ma=(0,_.y)("Px");
_.k.gb=function(){if(!this.Ma()){for(var a=0;a<this.nz.length;a++)this.Jd(this.nz[a]);delete _.Sm.B[this.Tp()];this.Px=_.r}};_.k.getContext=(0,_.y)("Ph");_.k.Tp=(0,_.y)("Pt");_.k.Id=(0,_.y)("QJ");_.k.V=(0,_.y)("sG");_.k.qc=(0,_.ba)("sG");_.k.vj=function(){this.zd._rpcReadyFn()};_.k.Vm=function(a,c){this.zd[a]=c};_.k.Zf=function(a){return this.zd[a]};_.k.va=(0,_.y)("zd");_.k.Hh=function(){return this.zd.id};_.k.Pq=(0,_.y)("Db");
_.k.Q=function(a,c,f){(0,_.fb)(!this.Ma(),"Cannot register handler on disposed iframe "+a);(0,_.fb)((f||_.Uz)(this),"Rejecting untrusted message "+a);f=this.Pt+":"+this.Ph.Pt+":"+a;1==(0,_.N)(Xz,f,[]).push(c)&&(this.nz.push(a),(0,_.sz)(f,Wz(f,this)))};_.k.Jd=function(a,c){var f=this.Pt+":"+this.Ph.Pt+":"+a,g=Xz[f];if(g){if(c){var h=_.Nb.call(g,c);0<=h&&g.splice(h,1)}else g.splice(0,g.length);0==g.length&&(h=_.Nb.call(this.nz,a),0<=h&&this.nz.splice(h,1),(0,_.wz)(f))}};_.k.fq=(0,_.y)("nz");
_.k.Ce=function(a){this.NB=this.NB||[];if(!(0<=_.Nb.call(this.NB,a))){this.NB.push(a);a=Zz[a]||{map:{}};for(var c in a.map)(0,_.Qa)(a.map,c)&&this.Q(c,a.map[c],a.filter)}};_.k.send=function(a,c,f,g){(0,_.fb)(!this.Ma(),"Cannot send message to disposed iframe - "+a);(0,_.fb)((g||_.Uz)(this),"Wrong target for message "+a);(0,_.Az)(this.Nc,this.Ph.Pt+":"+this.Pt+":"+a,f,c)};_.k.GK=(0,_.aa)();_.k.FK=function(a,c){(0,_.jA)(this,"_g_ping",c,a)};Xz=(0,_.O)();Zz=(0,_.O)();_.Sm=new _.bA; (0,_.aA)("_g_rpcReady",_.$.prototype.vj);(0,_.aA)("_g_discover",_.$.prototype.fq);(0,_.aA)("_g_ping",_.$.prototype.GK);
_.hA=(0,_.O)();_.eA=(0,_.O)();_.bA.prototype.zt=function(a){var c=a.style;if(c){delete a.style;var f=_.hA[c];(0,_.fb)(f,"No such style: "+c);a.context=this;f(a);a.context=_.p}};var nA={height:_.r,width:_.r},oA=/^(?!-*(?:expression|(?:moz-)?binding))(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|-?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:[a-z]{1,2}|%)?|!important|)$/i;_.$.prototype.Aa=function(){if(!(0,_.Uz)(this))return _.s;var a=this.zd._popupWindow;if(a)return a;for(var c=this.Nc.split("/"),a=this.getContext().Aa(),f=0;f<c.length&&a;f++)var g=c[f],a=".."===g?a==a.parent?a.opener:a.parent:a.frames[g];return a};
_.bA.prototype.Ld=function(a,c,f){lA(this,{sender:function(a,c){var f=_.Sm.G;(0,_.DC)(_.Sm.B,function(a){a!==f&&(0,_.jA)(a,"_g_wasClosed")});(0,_.jA)(f,"_g_closeMe",a,c);(0,_.jA)(f,"_g_wasClosed")},message:"_g_closeMe",Ya:a,Ga:c,qg:f,filter:this.$h("onCloseSelfFilter")})};_.bA.prototype.po=function(a,c,f){a=a||{};lA(this,{message:"_g_restyleMe",Ya:a,Ga:c,qg:f,filter:this.$h("onRestyleSelfFilter"),pn:_.r,um:this.Mh})};_.bA.prototype.Mh=function(a){"auto"===a.height&&(a.height=_.Ob.Zi())};_.k=_.$.prototype;
_.k.close=function(a,c){(0,_.jA)(this,"_g_close",a,c)};_.k.sD=function(a,c){(0,_.jA)(this,"_g_restyle",a,c)};_.k.ds=function(a,c){(0,_.jA)(this,"_g_restyleDone",a,c)};_.k.qp=function(a){var c=new _.Tz;this.getContext().Ld(a,function(a){c.lc(a)},this);return c};_.k.tD=function(a){var c=new _.Tz;this.getContext().po(a,function(a){c.lc(a)},this);return c};
_.k.fs=function(a){var c=this.Zf("onRestyle");c&&c.call(this,a);a=(0,_.mA)(this,a);(c=this.Id())&&(a&&"object"===typeof a)&&((0,_.Qa)(a,"height")&&(a.height=mr(a.height)),(0,_.Qa)(a,"width")&&(a.width=mr(a.width)),(0,_.Ra)(a,c.style))};_.k.rp=function(a){var c=this.Zf("onClose");c&&c.call(this,a);(a=this.zd._popupWindow)?a.close():(a=this.Id())&&a.parentNode&&a.parentNode.removeChild(a);if(a=this.zd.controller)c={},c.frameName=this.Tp(),(0,_.jA)(a,"_g_disposeControl",c)};
_.bA.prototype.kk=function(a){this.sj("onCloseSelfFilter",a)};_.bA.prototype.yr=function(a){this.sj("onRestyleSelfFilter",a)};_.$.prototype.LK=function(a,c){this.Q("_g_wasRestyled",a,c)};_.$.prototype.gD=function(a,c){this.Q("_g_wasClosed",a,c)};_.$.prototype.OL=function(){this.getContext().Aa().setTimeout((0,_.H)(function(){this.gb()},this),0)};(0,_.aA)("_g_close",_.$.prototype.qp);(0,_.aA)("_g_closeMe",_.$.prototype.rp);(0,_.aA)("_g_restyle",_.$.prototype.tD);(0,_.aA)("_g_restyleMe",_.$.prototype.fs); (0,_.aA)("_g_wasClosed",_.$.prototype.OL);

var ZA=function(a,c,f){var g=a.Nc,h=c.re;f.rpcAddr=a.re+"/"+c.Nc;f.retAddr=h+"/"+g;f.frameName=c.Tp();f.origin=c.Db};var dB=function(a){a.ye||(a.ye=(0,_.O)(),a.Kh=(0,_.O)())};var eB=function(a,c,f,g){g=g||[];for(var h=0;h<g.length;h++){var l=g[h];if(l&&c&&c&&l.filter.call(a,c)){for(var n=0;n<l.hk.length;n++)c.Ce(l.hk[n]);l.Tc&&l.Tc(c,f);g[h]!==l&&h--}}};
var fB=/^https?:\/\/[^\/%\\?#\s]+$/i,bB={longdesc:_.r,name:_.r,src:_.r,frameborder:_.r,marginwidth:_.r,marginheight:_.r,scrolling:_.r,align:_.r,height:_.r,width:_.r,id:_.r,"class":_.r,title:_.r,tabindex:_.r,hspace:_.r,vspace:_.r,allowtransparency:_.r};
_.bA.prototype.Ei=function(a,c){var f=c||{},g=a.setRpcReady,h=a.iframe,l=f.iframe,n=a.rpctoken;if(l){var q={};ZA(h,l,q);q.rpctoken=n;q.role=a.role;q.data=a.data;q.setRpcReady=g;var t={};ZA(l,h,t);t.rpctoken=n;t.role=f.role;t.data=f.data;t.setRpcReady=1;(0,_.jA)(h,"_g_connect",q,function(){g||(0,_.jA)(l,"_g_connect",t)});g&&(0,_.jA)(l,"_g_connect",t)}else f={selfConnect:1},f.role=a.role,f.data=a.data,(0,_.jA)(h,"_g_connect",f)};_.k=_.$.prototype;
_.k.oI=function(a){var c;a=a||{};a.selfConnect||(0,_.fb)(fB.test(a.origin),"Illegal origin for connected iframe - "+a.origin);if(a.selfConnect)c=this;else{var f={};f.rpctoken=a.rpctoken;f.rpcAddr=a.rpcAddr;f.retAddr=a.retAddr;f.origin=a.origin;c=f.frameName=a.frameName;var g=f.setRpcReady=a.setRpcReady;c=this.Ph.B[c];c?g&&(c.vj(),(0,_.jA)(c,"_g_rpcReady")):c=this.Ph.Pe(f)}f=this.Ph;g=a.role||"";a=a.data;dB(f);g=g||"";(0,_.N)(f.ye,g,[]).push({qg:c.Tp(),data:a});eB(f,c,a,f.Kh[g])};
_.k.oD=function(a,c){c._relayedDepth||(0,_.jA)(a,"_g_connect",{role:"_opener",selfConnect:1})};
_.k.RF=function(a,c){var f=this,g=a.messageHandlers,h=a.messageHandlersFilter,l=a.onClose;a.messageHandlers=_.s;a.messageHandlersFilter=_.s;a.onClose=_.s;(0,_.jA)(this,"_g_open",a,function(n){var q=n[0],t=q.frameName;n={};var v=f.re,w=q.retAddr;n.rpcAddr=f.Nc+"/"+q.rpcAddr;n.retAddr=w+"/"+v;n.frameName=t;n.origin=q.origin;n.apis=q.apis;n.rpctoken=a.rpctoken;n.messageHandlers=g;n.messageHandlersFilter=h;n.onClose=l;(q=f.Ph.B[t])||(q=f.Ph.Pe(n));c&&c(q)})};
_.k.jD=function(a){(0,_.fb)(!a.url||(0,_.Yb)(a.url),"Illegal url for new iframe - "+a.url);var c=a.attributes||{},f={},g;for(g in c)(0,_.Qa)(c,g)&&(0,_.Qa)(bB,g)&&(f[g]=c[g]);(0,_.Qa)(c,"style")&&(c=c.style,"object"===typeof c&&(f.style=(0,_.mA)(this,c)));a.attributes=f};
_.k.AK=function(a){a=a||{};this.jD(a);var c=a._relayedDepth||0;a._relayedDepth=c+1;a.openerIframe=this;var f=new _.Tz,g=a.rpctoken;delete a.rpctoken;this.Ph.open(a,(0,_.H)(function(a){var l=a.zd.apis,n={};ZA(a,this,n);0==c&&(n.role="_opener");n.setRpcReady=1;n.rpctoken=g;(0,_.jA)(a,"_g_connect",n);n={};n.apis=l;n.rpcAddr=a.Nc;n.retAddr=a.re;n.frameName=a.Tp();n.origin=a.Db;f.lc(n)},this));return f};
_.bA.prototype.wc=function(a,c,f,g){dB(this);f=f||[];a=a||"";c={filter:g||_.Uz,Tc:c,hk:f};(0,_.N)(this.Kh,a,[]).push(c);a=this.ye[a]||[];for(g=0;g<a.length;g++)eB(this,this.B[a[g].qg],a[g].data,[c])};_.bA.prototype.kg=function(a,c){var f=(0,_.N)(this.Kh,a,[]);if(c)for(var g=0,h=_.u;!h&&g<f.length;g++)f[g].Tc===c&&(h=_.r,f.splice(g,1));else f.splice(0,f.length)};_.bA.prototype.qa=function(a,c,f){function g(c){h.kg("_opener",g);a&&a.call(this,c)}var h=this;this.wc("_opener",g,c,f)};
_.$.prototype.VK=function(a){this.getContext().qa(function(c){c.send("_g_wasRestyled",a)},_.s,_.Vz)};var gB=_.Sm.G;gB&&gB.Q("_g_restyleDone",_.$.prototype.VK,_.Vz);(0,_.aA)("_g_connect",_.$.prototype.oI);var hB={};hB._g_open=_.$.prototype.AK;(0,_.Yz)("_open",hB,_.Vz);
(0,_.$z)("gapi.load","_g_gapi.load",function(a){var c=new _.Tz;_.Yi.load(a.features||"",function(){c.lc()});return c});_.bA.prototype.te=function(a,c){var f=a.controller;if(f){(0,_.fb)(f.Db===a.origin,"Wrong controller origin "+this.Db+" !== "+a.origin);var g=a.rpcAddr;a.rpcAddr=f.Nc;a.retAddr=f.re;var h={};h.rpcAddr=g;h.controllerData=a.controllerData;(0,_.Va)(c,"load",function(){f.send("_g_control",h)})}};
_.$.prototype.qI=function(a){for(var c=a.rpcAddr,f=(this.Nc+"/"+c).split("/"),g=this.Ph.M,h;(h=f.shift())&&g;)g=".."==h?g.parent:g.frames[h];(0,_.fb)(!!g,"Bad rpc address "+c);a._window=g;a._parentRpcAddr=this.Nc;a._parentRetAddr=this.re;c=new _.bA(a);this.oK&&this.oK(c,a.controllerData);this.XB=this.XB||[];this.XB.push([c,a.controllerData])};
_.$.prototype.vI=function(a){a=a.frameName;for(var c=this.XB||[],f=0;f<c.length;f++)if(c[f].Pt===a){a=c.splice(f,1)[0];a.gb();this.pK&&this.pK(a);return}(0,_.fb)(_.u,"Unknown contolled iframe to dispose - "+a)};(0,_.$z)("control","_g_control",_.$.prototype.qI);(0,_.$z)("control","_g_disposeControl",_.$.prototype.vI);

_.Pb.ft=function(a){var c=[];if(1<arguments.length)for(var f=0,g;g=arguments[f];++f)c.push(g);else c=a;return function(a){for(var f=0;c[f];++f)if(a===c[f])return _.r;return _.u}};_.Pb.Dt=function(a){return function(c){return a.test(c)}};_.Pb.Sn=function(a){return"undefined"!==typeof a};_.Pb.yt=function(a){return"string"===typeof a&&0<a.length};_.Pb.WL=function(a){return"boolean"===typeof a};_.Pb.rt=function(a){return function(c){for(var f in a)if(a.hasOwnProperty(f)&&!(0,a[f])(c[f]))return _.u;return _.r}};

_.R=_.R||{};_.R.Dg=function(a,c,f){for(var g=[],h=2,l=arguments.length;h<l;++h)g.push(arguments[h]);return function(){for(var f=g.slice(),h=0,l=arguments.length;h<l;++h)f.push(arguments[h]);return c.apply(a,f)}};_.R.nf=function(a){var c,f,g={};for(c=0;f=a[c];++c)g[f]=f;return g};

_.R=_.R||{};(function(){function a(a){c=a["core.util"]||{}}var c={},f={};_.Pb&&_.Pb.Q("core.util",_.s,a);_.R.Nt=function(a){return"undefined"===typeof c[a]?_.s:c[a]};_.R.hasFeature=function(a){return"undefined"!==typeof c[a]};_.R.Rt=function(){return f}})();

var yk;_.ow=function(){_.mw="oauth2relay"+String(2147483647*(0,_.Vb)()|0);_.uk.proxy=_.mw};yk={};_.uk={};(0,_.ow)();var as=(0,_.P)("oauth-flow/client_id");_.uk.client_id=as;var et=_.uk,ht;var zt=(0,_.P)("oauth-flow/redirectUri");if(zt)ht=zt.replace(/[#][\s\S]*/,"");else{var $t=_.Rb.Pq(window.location.href);ht=[(0,_.P)("oauth-flow/callbackUrl"),"?x_origin=",(0,window.encodeURIComponent)($t)].join("")}et.redirect_uri=ht;_.uk.origin=_.Rb.Pq(window.location.href);_.uk.response_type="token";
var __OAUTH2_URI=yk.kt,__OAUTH2_RELAY_URI=yk.jt,__OAUTH2_CALLBACK_URI=yk.LD,__OAUTH2_REDIRECT_URI=yk.ND,__OAUTH2_PROXY_URI=yk.MD;
var nw;var hk;var xk;var kk;var jk;var qk;var ev;_.Wj=function(a,c){return(0,_.Hx)(a,c)};var $u=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};var av=function(a){a=a.split(":");return{wE:a[0].split("=")[1],lL:$u(a[1]),jO:$u(a[2]),MN:$u(a[3])}};
var bv=function(a){var c,f=_.s;_.Lv.iterate(function(a,g){if(0===a.indexOf("G_AUTHUSER_")){var h=(0,_.tq)(a.substring(11));if(!c||h.Gb&&!c.Gb||h.Gb==c.Gb&&h.Ke>c.Ke)c=h,f=g}});var g=a&&(0,_.Zu)(a);if(f!==_.s){var h;_.Lv.iterate(function(a,f){var l=(0,_.uq)(a);l&&l.uf&&(g&&l.ep!=g||l.Gb==c.Gb&&l.Ke==c.Ke&&(h=f))});if(h){var l=av(h);a=l&&l.lL[Number(f)];l=l&&l.wE;if(a)return{kA:f,BO:a,wE:l}}}return _.s};var cv=function(a){return"true"===String(a.immediate)};
var ak=function(a){var c=a===_.r,f=(0,_.Hx)(_.p,_.p);_.bk&&window.setTimeout(function(){(0,_.bk)(c,f)},0)};
var pw=function(a,c){var f=_.s;a&&c&&(f=c.client_id=c.client_id||a.client_id,c.scope=c.scope||a.scope,c.g_user_cookie_policy=a.cookie_policy,c.cookie_policy=c.cookie_policy||a.cookie_policy,c.response_type=c.response_type||a.response_type);if(c){c.issued_at||(c.issued_at=String((0,_.Fn)()));var g=(0,window.parseInt)(c.expires_in,10)||86400;c.error&&(g=(0,_.P)("oauth-flow/errorMaxAge")||86400);c.expires_in=String(g);c.expires_at||(c.expires_at=String((0,_.Fn)()+g));a&&cv(a)||(c["g-oauth-window"]=(qk||
{}).popup);c._aa||(c.error||bv(f)!=_.s||!cv(a))||(c._aa="1")}return c};
var dv=function(a){if((0,_.P)("oauth-flow/toastCfg")&&!(0,_.P)("isSignedOut")&&0<=(" "+(a.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login ")){var c=(0,_.P)("oauth-flow/toast/position");if("1"===a._aa&&(a._aa="0",!ev)){ev=_.r;var f=window.document.createElement("div");"top"!==c&&(c="bottom");f.style.cssText="position:fixed;"+c+":20px;width:100%;z-index:1000;display:none;";var g=window.document.createElement("div");g.style.cssText="float:left;position:relative;left:50%;";f.appendChild(g);
c=window.document.createElement("div");c.style.cssText="float:left;position:relative;left:-50%";g.appendChild(c);g=window;try{for(;g.parent!=g&&g.parent.document;)g=g.parent}catch(h){}g=g.document.body;try{g.insertBefore(f,g.firstChild)}catch(l){}_.Sm.cj({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:c,onRestyle:function(){f.style.display=""}}).gD(function(){f.parentNode.removeChild(f)},_.Vz)}}};
_.ck=function(a,c){var f,g;"string"==typeof a?(f=c,g=a):(f=a,g="token");if(f){var h=(0,_.Ev)(f,_.r);if(h){var l;if((l=f)&&l.session_state){var n=[],q=[],t=[],v=(0,window.parseInt)(l.authuser,10)||0;n[v]=l.session_state;q[v]=l.issued_at;t[v]=l.expires_at;l=["C="+l.client_id,"S="+n.join("|"),"I="+q.join("|"),"X="+t.join("|")].join(":")}else l=_.s;l&&h.Kc.write(l);"token"==g&&(h=(0,_.st)(f.g_user_cookie_policy),!h||h.Gb&&!_.Gt?h=_.s:(l="G_AUTHUSER_"+(_.Gt&&h.Gb?"S":"H")+h.Ke,n=_.Mv[l],n||(n=new _.Lv(l,
(0,_.vv)(h)),_.Mv[l]=n),h=n),h&&(f.session_state&&!f.error)&&h.write(f.authuser||"0"))}}if(g="token"!==g?(0,_.Cv)(g):(0,_.Ev)(f))if(f){if(g.Kc.write(f),!_.Jv||g.Fj&&"token"!==_.Jv)_.Jv=g.key}else g.Kc.clear(),_.Jv=_.s;ak(_.r)};
var lk=function(a,c){var f=c&&c.key||"token";a=pw(c&&c.params,a);dv(a);(0,_.ck)(f,a);a=(0,_.Hx)(f,_.p);if(c){(f=c.iframe)&&f.parentNode.removeChild(f);var f=c.popup,g=c.after_redirect;if(f&&"keep_open"!=g)try{f.close()}catch(h){}c.timeout&&(window.clearTimeout(c.timeout),c.timeout=_.s);c.callback&&(c.callback(a),c.callback=_.s)}};var wk=function(a,c){return a!=_.s?(0,_.ea)(a)?[].concat(a).concat(c):[a].concat(c):[].concat(c)};
var ik=function(){var a=hk;if(a!==_.s){hk=_.s;for(var c=0,f=a.length;c<f;c++)a[c]()}};var ek=function(a){var c=_.mw;return function(f){if(this.f==c&&this.t==_.T.Wd(this.f)&&this.origin==_.T.$d(this.f))return a.apply(this,arguments)}};
var rk=function(a,c){var f=a||{},g;for(g in _.uk)(0,_.kf)(f[g])||(f[g]=_.uk[g]);_.vk!=_.s&&0<_.vk.length&&(f.scope=wk(f.scope,_.vk),f.state=wk(f.state,_.vk));a=f;f=(0,_.P)("googleapis/overrideClientId");f!=_.s&&(a.client_id=f);if(!a.redirect_uri||"postmessage"===a.redirect_uri){f=a;g=a.state||"";g=String(g);var h="";if({}.hasOwnProperty.call(xk,g))h=xk[g];else{for(var l=2147483647*(0,_.Vb)()|0;;){h=String(l);if(!{}.hasOwnProperty.call(jk,h))break;l+=(0,_.Vb)()}jk[h]=g;xk[g]=h}f.state=h+"|"+(0,_.Vb)();
kk[a.state]=c}f=a.authorize_uri||(0,_.P)("oauth-flow/authUrl");delete a.authorize_uri;f+=0<f.indexOf("?")?"&":"?";f+=(0,_.Zj)(a);return f=(0,_.Xb)(f)};
_.gk=function(a){if(hk===_.s)a&&a();else{a&&hk.push(a);a=_.mw;var c=window.document.getElementById(a),f=(new Date).getTime();if(c){if(nw&&6E4>f-nw)return;c.parentNode.removeChild(c);if(/Firefox/.test(window.navigator.userAgent))try{window.frames[a]=_.p}catch(g){}(0,_.ow)();a=_.mw}nw=f;var h=String(2147483647*(0,_.Vb)()|0);_.T.Q("oauth2relayReady:"+h,ek(function(){_.T.Jd("oauth2relayReady:"+h);ik()}));_.T.Q("oauth2relayReady",ek(function(){ik()}));c=ek(function(a){var c=_.R.fg;a=c(a);var f=c=a.state,
f=f.replace(/\|.*$/,"");a.state={}.hasOwnProperty.call(jk,f)?jk[f]:_.s;a.state!=_.s&&(f=kk[c],delete kk[c],lk(a,f))});_.T.Q("oauth2callback:"+h,c);_.T.Q("oauth2callback",c);var c=[(0,_.P)("oauth-flow/proxyUrl")||(0,_.P)("oauth-flow/relayUrl"),"?parent=",(0,window.encodeURIComponent)(_.Rb.Pq(window.location.href)),"#rpctoken=",h,"&forcesecure=1"].join(""),f=_.R.Jk(),l=_.R.Fh({name:a,id:a});l.src=c;l.style.width="1px";l.style.height="1px";l.style.position="absolute";l.style.left="-100px";f.appendChild(l);
_.T.tf(a)}};var Ix=function(a,c){for(var f=a.split(" "),g=c.split(" "),h=(0,_.O)(),l=0,n=g.length;l<n;++l)g[l]&&(h[g[l]]=1);l=0;for(n=f.length;l<n;++l)if(f[l]&&!h[f[l]])return _.u;return _.r};var Jx=function(a){if(!a)return _.s;var c,f,g=(0,_.Zu)(a);_.fk.iterate(function(a){var l=(0,_.uq)(a);l&&l.uf&&(l.ep===g&&(!c||l.Gb&&!c.Gb||l.Gb==c.Gb&&l.Ke>c.Ke))&&(c=l,f=a)});return f};
var Vx=function(a){var c=_.R.Jk(),f=_.R.Fh();f.src=a.uri;f.style.width="1px";f.style.height="1px";f.style.position="absolute";f.style.left="-100px";a.timeout=window.setTimeout(function(){f.parentNode&&f.parentNode.removeChild(f)},3E5);c.appendChild(f)};var mk=function(a,c){if(qk){var f=qk.popup,g=qk.after_redirect;if(f&&"keep_open"!=g)try{f.close()}catch(h){}}f=qk={};"key"in a&&(f.key=a.key,delete a.key);qk.params=a;qk.callback=function(f){(c||(0,_.x)())(pw(a,f))};f.uri=rk(a,f);return f};
_.rA=function(a,c){(0,_.gk)(function(){_.T.call(_.mw,"check_session_state",function(a){c.call(_.s,a)},a.session_state,a.client_id)})};var fz=function(a){a=_.R.fg("#"+(0,_.Zj)(a));if(!cv(a))return _.s;var c=a.key||Jx(a.client_id);return(c=(0,_.Hx)(c,_.r,_.r))&&c.client_id===a.client_id&&Ix(a.scope,c.scope)&&Ix(a.response_type,c.response_type)?c:_.s};
var qA=function(a,c){var f=_.R.fg();a.Vt=f.lang||f.hl;var g=mk(a,c);a.after_redirect&&(g.after_redirect=a.after_redirect);if(a.scope!=_.s){var h=function(){(0,_.gk)(function(){if(g.popup)g.popup.focus();else if(cv(a))Vx(g);else{var c=Math.min((0,_.P)("oauth-flow/authWindowWidth",650),window.screen.width-20),f=Math.min((0,_.P)("oauth-flow/authWindowHeight",600),window.screen.height-30);qk.popup=window.open(g.uri,"_blank",["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no",
"width="+c,"height="+f,"top="+(window.screen.height-f)/2,"left="+(window.screen.width-c)/2].join())}})},l=fz(a);!(0,_.P)("oauth-flow/disableOpt")&&l?(0,_.rA)(l,function(a){a?lk(l,qk):h()}):h()}else lk(_.s,qk)};
_.sk=function(a,c){var f=a||{},g=c||(0,_.x)();if((0,_.P)("oauth-flow/disableOpt")||(0,_.P)("isLoggedIn")||!cv(f))qA(f,g);else{var h=(0,_.O)();h.client_id=f.client_id;h.session_state=_.s;(0,_.rA)(h,function(a){a?(a=(0,_.O)(),a.error="immediate_failed_user_logged_out",g(pw(f,a))):((0,_.Fa)("isLoggedIn",_.r),qA(f,g))})}};
_.Ck=function(a,c,f){return function(c,h){var l=_.s;if((0,_.ea)(c))for(var n=0;n<c.length;n++){if(401===c[n].status){l=c[n];break}}else 401===c.status&&(l=c);if(l!==_.s){var q;t:{for(var t in l.headers)if("www-authenticate"==t.toLowerCase()){q=l.headers[t];break}if(q!=_.s&&(l=q.indexOf("allowed-scopes="),0<=l&&(l+=15,q=q.substring(l+1,q.length-1)))){q=[q.split(",").pop()];break t}q=[]}q&&Dk(q,a,f)}f(c,h)}};
var Dk=function(a,c,f){var g=(0,_.ea)(c)?c:[c];(0,_.sk)({scope:a,immediate:_.r},function(a){if(a&&!a.error&&(a=a.access_token)){a="Bearer "+a;for(var c=0;c<g.length;c++)g[c].headers||(g[c].headers={}),g[c].headers.Authorization=a;_.Bk.Dd("makeHttpRequests",g,f)}})};ev=_.u;jk={};kk={};xk={};hk=[];nw=0;

_.Ek={Ff:_.sk,eI:_.rA,Qe:_.Qj.Qe,$f:_.Wj,Wk:function(a,c){(0,_.gk)(function(){var f=_.mw,g=_.Qj.Qe()||"",h=_.s,l=_.s;g&&(l=g.split(" "),2==l.length&&(h=l[1]));h?_.T.call(f,"get_versioninfo",function(c){a(c)},h,c):a()})},ld:_.gk,Ym:_.ck};(0,_.Q)("gapi.auth.authorize",_.Ek.Ff);(0,_.Q)("gapi.auth.checkSessionState",_.Ek.eI);(0,_.Q)("gapi.auth.getAuthHeaderValueForFirstParty",_.Ek.Qe);(0,_.Q)("gapi.auth.getToken",_.Ek.$f);(0,_.Q)("gapi.auth.getVersionInfo",_.Ek.Wk);(0,_.Q)("gapi.auth.init",_.Ek.ld);(0,_.Q)("gapi.auth.setToken",_.Ek.Ym);


var ___;_.Yl=window.tamings___||[];_.Zl=window.caja___;___=window.___;
var $l=function(a,c,f){this.method=a;this.transport=c;this.rpc=f};
_.L.Ui=function(){function a(a){var c={method:a.request.method,id:a.key};a.request.rpc&&(c.params=a.request.rpc);return c}var c={},f=[];c.execute=function(c){function h(a){a.error&&(l.error=a.error);for(var h=0;h<f.length;h++){var n=f[h].key,t=a[n];t&&(l[n]=t.error?t:t.data||t.result)}q--;0===q&&c(l)}for(var l={},n={},q=0,t=[],v=0;v<f.length;v++){var w=f[v].request.transport;n[w.name]||(t.push(w),q++);n[w.name]=n[w.name]||[];n[w.name].push(a(f[v]))}for(v=0;v<t.length;v++)t[v].execute(n[t[v].name], h);0==q&&window.setTimeout(function(){c(l)},0)};c.add=function(a,h){h&&a&&f.push({key:a,request:h});return c};return c};
_.L.qh=function(a,c){if("newBatch"!==a){for(var f=a.split("."),g=window.osapi,h=0;h<f.length-1;h++)g[f[h]]=g[f[h]]||{},g=g[f[h]];var l=f[f.length-1];g[l]?(g.__dupwarn||(0,_.Lb)("Skipping duplicate osapi method definition "+a+" on transport "+c.name+"; others may exist, but suppressing warnings"),g.__dupwarn=_.r):(g[l]=function(f){f=f||{};f.userId=f.userId||"@viewer";f.groupId=f.groupId||"@self";return new $l(a,c,f)},"undefined"!==typeof _.Yl&&_.Yl.push(function(){_.Zl.markTameAsFunction(g[l],a)}))}};
$l.prototype.execute=function(a){var c="undefined"!==typeof _.Zl&&_.Zl.getUseless&&_.Zl.getUseless(),f=c?_.Zl.getUseless():this,g=c?_.Zl.untame(a):a;a=_.L.Ui();a.add(this.method,this);a.execute(function(a){a.error?g.call(f,a.error):g.call(f,a[f.method])})};

var am=function(a,c){for(var f=a.split("."),g=c||window,h;h=f.shift();)if(g[h]!=_.s)g=g[h];else return _.s;return g};var bm=function(a,c,f){a=a.split(".");f=f||window;a[0]in f||!f.execScript||f.execScript("var "+a[0]);for(var g;a.length&&(g=a.shift());)a.length||c===_.p?f=f[g]?f[g]:f[g]={}:f[g]=c};
var cm=function(a,c){_.L.qh(a,{name:"googleapis",execute:dm,root:c});var f=am(a,window.osapi);bm(a,f);if(0!=a.indexOf("googleapis.")){var g=a.substring(a.indexOf(".")+1),h=g.lastIndexOf(".delete");-1!=h&&h+7==g.length&&(g=g.replace(".delete",".remove"));bm("googleapis."+g,f)}};_.em=function(a){for(var c in a)a.hasOwnProperty(c)&&(fm[c]=a[c])};_.gm=function(a){hm("key",a)};var hm=function(a,c){c==_.s?im(a):(_.jm=_.jm||{},_.jm[a]=c)};var im=function(a){_.jm&&delete _.jm[a]};
var km=function(a){a=a||{};if(window.navigator){for(var c=["appVersion","platform","userAgent"],f=[],g=0;g<c.length;g++)window.navigator[c[g]]&&f.push((0,window.encodeURIComponent)(c[g])+"="+(0,window.encodeURIComponent)(window.navigator[c[g]]));a["X-ClientDetails"]=f.join("&")}return a};
var lm=function(a,c){for(var f=0;f<mm.length;f++)window.setTimeout(function(c){return function(){c(a)}}(mm[f]),1);return function(){var a=arguments;c.apply(_.s,a);for(var f=0;f<nm.length;f++)window.setTimeout(function(c){return function(){c.apply(_.s,a)}}(nm[f]),1)}};var om=function(a){a.applicationName=pm;a.clientVersion="1.0.0-alpha";_.jm&&(a.urlParams=_.jm,_.jm.key&&(a.developerKey=_.jm.key))};
var dm=function(a,c){for(var f=this.root||_.s,g=0;g<a.length;g++){var h=a[g],l=h.method.substring(0,h.method.indexOf("."));h.jsonrpc="2.0";h.key=h.id;f=h.root||f;(l=fm[l]||"v1")&&!h.apiVersion&&(h.apiVersion=l)}g={};g=_.Bk.Md(g);g=km(g);f={requests:a,headers:g,root:f};om(f);g=lm(a,c);_.Bk.Dd("makeRequest",f,g)};var qm=function(a){mm.push(a)};var rm=function(a){nm.push(a)};var sm=function(a){for(var c=0;c<mm.length;c++)if(mm[c]==a){mm.splice(c,1);break}};
var tm=function(a){for(var c=0;c<nm.length;c++)if(nm[c]==a){nm.splice(c,1);break}};var um=function(a,c){for(var f=0,g=a.length;f<g;f++){var h=a[f];h.key=h.id;var l=h.params.headers||{},l=_.Bk.Md(l),l=km(l);h.params.headers=l;om(h.params)}f=lm(a,c);_.Bk.Dd("makeHttpRequests",a,f)};
var vm=function(){var a=_.R.fg(),c={debug:"googleapis.config/debug"},f;for(f in c)a[f]&&(0,_.Fa)(c[f],"true"==a[f]);for(var g in(0,_.P)("googleapis.config/methods"))cm(g);(0,_.P)("googleapis.config/versions")&&(0,_.em)((0,_.P)("googleapis.config/versions"));(0,_.P)("googleapis.config/developerKey")&&(0,_.gm)((0,_.P)("googleapis.config/developerKey"));_.L.qh("googleapis.newHttpRequest",{name:"googleapis",execute:um});bm("googleapis.newHttpRequest",am("googleapis.newHttpRequest",window.osapi))}; var wm=function(){this.G={};this.B=_.L.Ui()};
var nm;var mm;var fm;var pm;pm=_.s;fm={};mm=[];nm=[];vm();wm.prototype.add=function(a,c,f){this.G[a]=f;this.B.add(a,c);return this};wm.prototype.execute=function(a){var c=this;this.B.execute(function(f){var g={},h=_.u,l;for(l in f)if(f.hasOwnProperty(l)){var n=f[l],q=c.G[l];q?q(n):(g[l]=n,h=_.r)}h&&a&&a(g)})};
(0,_.Q)("googleapis.ApiClient.register",cm);(0,_.Q)("googleapis.ApiClient.setVersions",_.em);(0,_.Q)("googleapis.ApiClient.setDeveloperKey",_.gm);(0,_.Q)("googleapis.ApiClient.setUrlParameter",hm);(0,_.Q)("googleapis.ApiClient.removeUrlParameter",im);(0,_.Q)("googleapis.ApiClient.addExecuteListener",qm);(0,_.Q)("googleapis.ApiClient.addResponseListener",rm);(0,_.Q)("googleapis.ApiClient.removeExecuteListener",sm);(0,_.Q)("googleapis.ApiClient.removeResponseListener",tm);
(0,_.Q)("googleapis.ApiClient.init",vm);(0,_.Q)("googleapis.Batch",wm);(0,_.Q)("googleapis.Batch.prototype.add",wm.prototype.add);(0,_.Q)("googleapis.Batch.prototype.execute",wm.prototype.execute);(0,_.Q)("googleapis.init",function(){vm()});(0,_.Q)("googleapis.newBatch",function(){return new wm});
(0,_.Q)("googleapis.newRequest",function(a,c,f){c=c||{};var g={name:"googleapis",execute:dm,root:f},h=_.L.Ui(),l=this;f={};f.method=a;f.transport=g;f.rpc=c;f.execute=function(f){h.add(a,{method:a,rpc:c,transport:g});h.execute(function(c){c.error?f.call(l,c.error):f.call(l,c[a])})};return f});(0,_.Q)("googleapis.register",function(a,c){cm(a,c)});(0,_.Q)("googleapis.setUrlParameter",function(a,c){hm(a,c)});(0,_.Q)("googleapis.removeUrlParameter",function(a){im(a)});
(0,_.Q)("googleapis.setDeveloperKey",function(a){(0,_.gm)(a)});(0,_.Q)("googleapis.setApplicationName",function(a){pm=a});(0,_.Q)("googleapis.setVersions",function(a){(0,_.em)(a)});(0,_.Q)("googleapis.addExecuteListener",function(a){qm(a)});(0,_.Q)("googleapis.removeExecuteListener",function(a){sm(a)});(0,_.Q)("googleapis.addResponseListener",function(a){rm(a)});(0,_.Q)("googleapis.removeResponseListener",function(a){tm(a)});(0,_.Q)("googleapis.addTransportInitListener",function(a){_.Bk.Xo(a)}); (0,_.Q)("googleapis.removeTransportInitListener",function(a){_.Bk.Wr(a)});

_.gh=function(){};_.ue=function(a,c,f){t:{for(var g=a.length,h=(0,_.fa)(a)?a.split(""):a,l=0;l<g;l++)if(l in h&&c.call(f,h[l],l,a)){c=l;break t}c=-1}return 0>c?_.s:(0,_.fa)(a)?a.charAt(c):a[c]};_.ve=function(a,c){return 0<=(0,_.we)(a,c)};_.xe=function(a,c){var f=(0,_.we)(a,c),g;(g=0<=f)&&_.ye.splice.call(a,f,1);return g};_.ze=function(a){var c=a.length;if(0<c){for(var f=Array(c),g=0;g<c;g++)f[g]=a[g];return f}return[]};
_.Ae=function(a,c,f){return 2>=arguments.length?_.ye.slice.call(a,c):_.ye.slice.call(a,c,f)};_.ye=Array.prototype;_.we=_.ye.indexOf?function(a,c,f){return _.ye.indexOf.call(a,c,f)}:function(a,c,f){f=f==_.s?0:0>f?Math.max(0,a.length+f):f;if((0,_.fa)(a))return(0,_.fa)(c)&&1==c.length?a.indexOf(c,f):-1;for(;f<a.length;f++)if(f in a&&a[f]===c)return f;return-1};
_.Be=_.ye.forEach?function(a,c,f){_.ye.forEach.call(a,c,f)}:function(a,c,f){for(var g=a.length,h=(0,_.fa)(a)?a.split(""):a,l=0;l<g;l++)l in h&&c.call(f,h[l],l,a)};_.Ce=_.ye.filter?function(a,c,f){return _.ye.filter.call(a,c,f)}:function(a,c,f){for(var g=a.length,h=[],l=0,n=(0,_.fa)(a)?a.split(""):a,q=0;q<g;q++)if(q in n){var t=n[q];c.call(f,t,q,a)&&(h[l++]=t)}return h};
_.De=_.ye.map?function(a,c,f){return _.ye.map.call(a,c,f)}:function(a,c,f){for(var g=a.length,h=Array(g),l=(0,_.fa)(a)?a.split(""):a,n=0;n<g;n++)n in l&&(h[n]=c.call(f,l[n],n,a));return h};_.Ee=_.ye.some?function(a,c,f){return _.ye.some.call(a,c,f)}:function(a,c,f){for(var g=a.length,h=(0,_.fa)(a)?a.split(""):a,l=0;l<g;l++)if(l in h&&c.call(f,h[l],l,a))return _.r;return _.u}; _.Fe=_.ye.every?function(a,c,f){return _.ye.every.call(a,c,f)}:function(a,c,f){for(var g=a.length,h=(0,_.fa)(a)?a.split(""):a,l=0;l<g;l++)if(l in h&&!c.call(f,h[l],l,a))return _.u;return _.r};

_.qf=function(a,c,f){for(var g in a)c.call(f,a[g],g,a)};_.fv=function(a){var c=0,f;for(f in a)c++;return c};_.hi=function(a,c){for(var f in a)if(a[f]==c)return _.r;return _.u};_.Og=function(a){for(var c in a)return _.u;return _.r};_.rf=function(a){var c={},f;for(f in a)c[f]=a[f];return c};_.sf=function(a,c){for(var f,g,h=1;h<arguments.length;h++){g=arguments[h];for(f in g)a[f]=g[f];for(var l=0;l<tf.length;l++)f=tf[l],Object.prototype.hasOwnProperty.call(g,f)&&(a[f]=g[f])}};var tf="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");

var Tn=function(){};var Wn=function(){};_.Xn=function(a){return(a=(0,_.Vn)(a))?new window.ActiveXObject(a):new window.XMLHttpRequest};_.Vn=function(a){if(!a.G&&"undefined"==typeof window.XMLHttpRequest&&"undefined"!=typeof window.ActiveXObject){for(var c=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],f=0;f<c.length;f++){var g=c[f];try{return new window.ActiveXObject(g),a.G=g}catch(h){}}(0,_.m)(Error("I"))}return a.G};Tn.prototype.B=_.s;
(0,_.J)(Wn,Tn);_.fo=new Wn;
var XC;var WC;var UC=function(a,c){var f=a.length;if(f!=c.length)return _.u;for(var g=0;g<f;++g){var h=a.charCodeAt(g),l=c.charCodeAt(g);65<=h&&90>=h&&(h+=32);65<=l&&90>=l&&(l+=32);if(h!=l)return _.u}return _.r};
_.gu=function(a){a=String(a||"").split("\x00").join("");for(var c=[],f=0,g=a.length;f<g;++f){var h=a.charAt(f),l=a.charCodeAt(f);if(55296<=l&&56319>=l&&f+1<g){var n=a.charAt(f+1),q=a.charCodeAt(f+1);56320<=q&&57343>=q&&(h+=n,l=65536+(l-55296<<10)+(q-56320),++f)}if(!(0<=l&&1114109>=l)||55296<=l&&57343>=l||64976<=l&&65007>=l||65534==(l&65534))l=65533,h=String.fromCharCode(l);n=!(32<=l&&126>=l)||" "==h||":"==h||"\\"==h;"%"==h&&(f+2>=g?n=_.r:(q=16*(0,window.parseInt)(a.charAt(f+1),16)+(0,window.parseInt)(a.charAt(f+
2),16),0<=q&&255>=q?(l=q,h=0==l?"":"%"+(256+q).toString(16).toUpperCase().substr(1),f+=2):n=_.r));n&&(h=(0,window.encodeURIComponent)(h),1>=h.length&&(0<=l&&127>=l?h="%"+(256+l).toString(16).toUpperCase().substr(1):(l=65533,h=(0,window.encodeURIComponent)(String.fromCharCode(l)))));c.push(h)}a=c.join("");a=a.split("#")[0];a=a.split("?");c=a[0].split("/");h=[];f=0;for(g=c.length;f<g;++f)l=c[f],n=l.split("%2E").join("."),n=n.split((0,window.encodeURIComponent)("\uff0e")).join("."),"."==n?f+1==g&&h.push(""):
".."==n?(0<h.length&&h.pop(),f+1==g&&h.push("")):h.push(l);a[0]=h.join("/");for(a=a.join("?");a&&"/"==a.charAt(0);)a=a.substr(1);return a="/"+a};var VC=function(a){if(!(0,_.re)(a))return _.s;for(var c={},f=0;f<a.length;f++)c[a[f]]=a[f];return c};
_.Bu=function(a,c){for(var f=0,g=c.length;f<g;++f)if(!(32<=c.charCodeAt(f)&&126>=c.charCodeAt(f)))return _.u;WC===_.s&&(f=(0,_.P)("googleapis/headers/request"),WC=VC(f));if(WC!=_.s)return WC.hasOwnProperty(a);for(var h in _.du)if(_.du.hasOwnProperty(h)&&_.du[h]==a)return _.r;return _.u};
_.Au=function(a){if(XC===_.s){var c=(0,_.P)("googleapis/headers/response");XC=VC(c)}if(XC!=_.s){if(XC.hasOwnProperty(a))return _.r;for(var f in XC)if(XC.hasOwnProperty(f)&&UC(f,a))return _.r;return _.u}for(f in _.wu)if(_.wu.hasOwnProperty(f)&&UC(_.wu[f],a))return _.r;return _.u};WC=_.s;XC=_.s;
_.du={Mj:"Authorization",Kd:"Content-Type",nt:"If-Match",ot:"If-Modified-Since",qt:"If-None-Match",Ae:"OriginToken",ak:"X-ClientDetails",It:"X-Goog-AuthUser",So:"X-Goog-Encode-Response-If-Executable",Jt:"X-HTTP-Method-Override",mh:"X-JavaScript-User-Agent",nh:"X-Origin",ph:"X-Referer"};_.wu={Cn:"Cache-Control",Hn:"Content-Disposition",Kd:"Content-Type",Mn:"Date",Qn:"ETag",Rn:"Expires",bo:"Last-Modified",eo:"Location",Go:"Server",bk:"X-Goog-Safety-Content-Type",ck:"X-Goog-Safety-Encoding",Qo:"WWW-Authenticate"};

var xm=function(a,c){var f="/discovery/v1/apis/";return f+=(0,window.encodeURIComponent)(a)+"/"+(0,window.encodeURIComponent)(c)+"/rpc?fields=methods%2f*%2fid&pp=0"};var Pw=function(a,c){var f="/discovery/v1/apis/";return f+=(0,window.encodeURIComponent)(a)+"/"+(0,window.encodeURIComponent)(c)+"/rest?fields=servicePath%2Cresources%2Cparameters&pp=0"};
var ym=function(a){if(a){for(var c=[],f=0;f<Qw.length;f++){var g=window.navigator[Qw[f]];g&&c.push((0,window.encodeURIComponent)(Qw[f])+"="+(0,window.encodeURIComponent)(g))}a["X-ClientDetails"]=c.join("&")}};var Am=function(){var a=(0,_.P)("client/name","google-api-javascript-client");return a in Bm?a:"google-api-javascript-client"};var Cm=function(){return(0,_.P)("client/version","1.1.0-beta")};
var Rw=function(a,c,f,g){a&&c||(0,_.m)("Missing required parameters.");var h=f||(0,_.x)();Dm({path:xm(a,c),callback:function(f){if(f.error)h(f);else{var n={};n[a]=c;Hm(n);for(var q in f)if(f.hasOwnProperty(q)&&"methods"==q){var n=f[q],t;for(t in n)n.hasOwnProperty(t)&&Fm(t,g)}h.call(_.s)}},root:g})};
var Sw=function(a,c,f,g){a&&c||(0,_.m)("Missing required parameters.");var h=f||(0,_.x)();Dm({path:Pw(a,c),callback:function(f){function n(a){var c=a.servicePath,f=a.resources||[],h=Tw(a.parameters);(0,_.DC)(f,function(a){(0,_.DC)(a.methods,function(a){Uw(c,a,h,g)})})}if(f.error)h(f);else{var q={};q[a]=c;Hm(q);n(f);h.call()}},root:g&&g.root})};var Dm=function(a){var c;"object"==typeof a&&(c=a.callback,delete a.callback);a=new Em(a);if(c)a.execute(c);else return a};
var Fm=function(a,c){var f=(0,_.P)("client/rms");"migrated"==f||"complete"==f?Vw(a,c):Ww(a,c)};
var Vw=function(a,c){function f(a,c,f){var g;a.hasOwnProperty(c)?(g=a[c],delete a[c]):f&&(0,_.m)("Missing required parameters.");return g}c=(0,_.rf)(c);var g=f(c,"servicePath",_.r),h=f(c,"restPath",_.r),l=f(c,"httpMethod",_.r),n=f(c,"parameters"),q=f(c,"parameterName");g&&h&&l||(0,_.m)("Missing required parameters.");h={id:a,path:h,parameters:n,httpMethod:l,request:{parameterName:q}};(0,_.Og)(c)&&(c=_.p);Uw(g,h,{path:{},mb:{}},c)};
var Ww=function(a,c){a||(0,_.m)("Missing required parameters");for(var f=a.split("."),g=window.gapi.client,h=0;h<f.length-1;h++){var l=f[h];g[l]=g[l]||{};g=g[l]}f=f[f.length-1];g[f]||(c=c||{},g[f]=function(f){var g;g="string"==typeof c?c:c.root;f&&f.root&&(g=f.root);return new Gm({method:a,apiVersion:c.apiVersion,rpcParams:f,transport:{name:"googleapis",root:g}})})};
var Uw=function(a,c,f,g){a&&c&&c.id&&c.path&&c.httpMethod||(0,_.m)("Missing required parameters");var h=c.id.split("."),l=window.gapi.client,n;for(n=0;n<h.length-1;n++){var q=h[n];l[q]=l[q]||{};l=l[q]}h=h[n];if(!l[h]){g&&g.hasOwnProperty("root")&&(l.ROOT_=g.root);g=Tw(c.parameters);f.path&&(0,_.sf)(g.path,f.path);var t=g.path;f.mb&&(0,_.sf)(g.mb,f.mb);var v=g.mb;l[h]=function(f,g){f=(0,_.rf)(f);(0,_.Ku)(a,"/")||(a="/"+a);var h=(0,_.Yu)(a,Xw(c.path,t,f)),n={};(0,_.DC)(v,function(a,c){c in f?(n[c]=
f[c],delete f[c]):a&&(0,_.m)("Required query parameter "+c+" is missing.")});var q=f.root;delete f.root;var E=(c.request||{}).parameterName||"";!E&&(1==(0,_.fv)(f)&&f.hasOwnProperty("resource"))&&(E="resource");var K;E?(K=g||f[E],delete f[E]):((0,_.Og)(f)&&(f=_.p),K=g==_.s?f:g);return new Dm({path:h,method:c.httpMethod,params:n,body:K,root:q||l.ROOT_})}}};
var Xw=function(a,c,f){(0,_.DC)(c,function(c,h){f.hasOwnProperty(h)?(a=a.replace("{"+h+"}",String(f[h])),delete f[h]):c&&(0,_.m)("Required path parameter "+h+" is missing.")});return a};var Tw=function(a){var c={},f={};(0,_.DC)(a,function(a,h){var l=a.hasOwnProperty("required")&&a.required;"path"==a.location?c[h]=l:"query"==a.location&&(f[h]=l)});return{path:c,mb:f}};var Zw=function(a){return new $w(a)};
var Hm=function(a){(0,_.em)(a);for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(Im[c]=a[c])};var ax=function(a,c,f){var g=(0,_.P)("client/rms");(0,_.ve)(c,g)?(0,_.kd)(a+" is deprecated."):(0,_.ve)(f,g)&&(0,_.m)(a+" is discontinued.")};var $w=function(a){this.B=[];this.G=a||_.s;this.M=!!a;this.ha=_.s};var bx=function(a,c){return(0,_.H)(function(a,g){this.RB(a,g,c)},a)};var cx=function(a,c){a&&c&&(0,_.Qa)(a,c=c.toLowerCase())||(0,_.m)("Unable to retrieve header.");return a[c]};
var dx=function(a,c){function f(a,c){(0,_.DC)(a,function(a,f){c.push(f+": "+a)})}var g=[],h=a.B;f({"Content-Type":"application/http","Content-Transfer-Encoding":"binary","Content-ID":"<"+c+">"},g);g.push("");var l=(0,_.Zi)((0,_.aj)([h.path],h.params));g.push(h.method+" "+l);f(h.headers,g);g.push("");h.body&&g.push(h.body);return g.join("\r\n")};
var ex=function(a){function c(a){var c=0;(0,_.DC)(a,function(){c++});return c}if(!a)return _.s;a=a.split("\r\n");for(var f=0,g={headers:{},body:""};f<a.length&&""==a[f];)f++;g.outerHeaders=fx(a,f);var f=f+(c(g.outerHeaders)+1),h=a[f++].split(" ");g.status=h[1];g.statusText=h[2];g.headers=fx(a,f);f+=c(g.headers)+1;for(h=[];f<a.length;f++)h.push(a[f]);g.body=h.join("\r\n");return g};
var fx=function(a,c){for(var f=(0,_.O)(),g=c;g<a.length&&a[g];){var h=a[g].split(": "),l=(0,_.Ge)(h[0].toLowerCase()),h=(0,_.Ge)(h[1]);f[l]=h;g++}return f};var Em=function(a){(!a||"object"!=typeof a&&"string"!=typeof a)&&(0,_.m)("Invalid request parameters");a="string"==typeof a?{path:a}:a;a.path||(0,_.m)('Missing required parameter: "path"');this.B={path:a.path,method:a.method||"GET",params:a.params||{},headers:a.headers||{},body:a.body,root:a.root}};
var Jm=function(a,c){var f=c.headers,g=f["Content-Type"];c.body&&!g&&(g="application/json",f["Content-Type"]=g);"application/json"==g&&(c.params.alt="json");c.key=c.id;f=_.Bk.Md(f);ym(f);(f=_.jm.key)&&!c.params.key&&(c.params.key=f)};var Km=function(a,c){var f=a.B,g={};g.key=c;var h={};h.id=f.id;h.key=f.key;h.url=f.path;h.httpMethod=f.method;h.body=f.body;h.headers=f.headers;h.urlParams=f.params;h.root=f.root;h.clientName=Am();h.clientVersion=Cm();g.params=h;return g};
var Lm=function(){this.B=[];this.ha=this.G=_.s};var Mm=function(a,c){return function(f,g){a.RB(f,g,c)}};var Gm=function(a){a&&"object"==typeof a||(0,_.m)("Missing rpc parameters");a.method||(0,_.m)("Missing rpc method");this.B=a};var Nm=function(a){return(a=a.B.transport)?a.root||_.s:_.s};
var Om=function(a,c){return function(f,g){var h;if(f)if(f.error)h=f.error,h.error==_.s&&(h.error=(0,_.rf)(f.error));else{if(h=f.result||f.data,(0,_.Vg)(h)&&h.result==_.s&&(h.result=(0,_.rf)(f.result||f.data)),(0,_.Vg)(h)&&h._subscription&&a.G){var l=h._subscription,n=a.G,q=Nm(a);Pm[++Qm]=n;_.T.Q("_invalidate",Rm);_.Bk.Dd("listen",{root:q,headers:_.Bk.Md(),callback:Qm,subscription:l})}}else h=_.u;c(h,g)}};var Rm=function(a){var c=Pm[a.Ga];c&&c(a.mu,a.data)};
var gx=function(a,c){(0,_.P)("client/cors")&&hx(a,c)||_.Bk.Dd("makeHttpRequests",[a],c)};
var hx=function(a,c){var f=(0,_.Xn)(_.fo);if(!f||!f.hasOwnProperty("withCredentials"))return _.u;var g=a.params||(0,_.O)(),h=g.headers||{},l=g.httpMethod||"GET",n=String(g.url||""),q=g.body||_.s,t=g.applicationName||_.s,v=g.clientName||_.s,w=g.clientVersion||_.s,n=ix(n,g.urlParams||_.s);h[_.du.mh]=jx(t,v,w);delete h[_.du.nh];delete h[_.du.ph];q&&(0,_.Vg)(q)&&(q=_.Kb.stringify(q));f.open(l,n);f.onload=function(){var a=f.responseText;var g=f.getAllResponseHeaders(),h={};if(g)for(var g=g.split("\r\n"),
l=0;l<g.length;l++){var n=g[l],q=n.indexOf(": ");if(0<q){var t=n.substring(0,q),n=n.substring(q+2);(0,_.Au)(t,n)&&(h[t]=n)}}c({body:a,headers:h,status:f.status,statusText:f.statusText})};f.onerror=function(){c({body:{error:{code:-1,message:"A network error occurred and the request could not be completed."}},headers:_.p,status:_.p,statusText:_.p})};h=mx(h);(0,_.DC)(h,function(a,c){f.setRequestHeader(c,a)});f.send(q?q:_.s);return _.r};
var ix=function(a,c){var f=(0,_.Vi)(a),g,h,l=(0,_.gu)(f[5]),n=f[6],q=f[7];h=f[1]&&f[3]?f:(0,_.Vi)((0,_.P)("googleapis.config/root"));f=h[1];g=h[3];h=h[4];var t=(0,_.P)("googleapis.config/xd3")||"";18<=t.length&&"/static/proxy.html"==t.substring(t.length-18)&&(t=t.substring(0,t.length-18));t||(t="/");var v=(0,_.gu)(t);t!=v&&(0,_.m)(Error("ga"));"/"!=t.charAt(t.length-1)&&(t+="/");l=(0,_.Yu)(l,t);(0,_.jr)(l,"/")&&(l=l.substring(0,l.length-1));a=(0,_.Ui)(f,_.s,g,h,l,n,q);return(0,_.Zi)((0,_.aj)([a],
c))};var jx=function(a,c,f){f=f||"0.1";c=c||"google-api-javascript-client";var g=[];a&&(g.push(a),g.push(" "));g.push(c);f&&(g.push("/"),g.push(f));return g.join("")};var mx=function(a){(0,_.DC)(a,function(c,f){(0,_.Bu)(f,c)?(0,_.ea)(c)&&(a[f]=c.join(", ")):delete a[f]});return a};var Qw=["appVersion","platform","userAgent"],Bm={"google-api-javascript-client":_.r,"google-api-gwt-client":_.r},Im={};(0,_.gm)(_.s);
(0,_.Q)("gapi.client.load",function(a,c,f,g){var h=(0,_.P)("client/rms");"migrated"==h||"complete"==h?Sw(a,c,f,{root:g}):Rw(a,c,f,g)});(0,_.Q)("gapi.client.newBatch",function(a){var c=(0,_.P)("client/rms");return"migrated"==c||"complete"==c?Zw(a):new Lm});(0,_.Q)("gapi.client.newRpcBatch",function(){ax("gapi.client.newRpcBatch",["rpcDeprecated","migrated"],["complete"]);return new Lm});(0,_.Q)("gapi.client.newHttpBatch",Zw);(0,_.Q)("gapi.client.register",Fm);(0,_.Q)("gapi.client.request",Dm);
(0,_.Q)("gapi.client.rpcRequest",function(a,c,f){ax("gapi.client.rpcRequest",["rpcDeprecated","migrated"],["complete"]);a||(0,_.m)("Missing required parameter method.");return new Gm({method:a,apiVersion:c,rpcParams:f,transport:{name:"googleapis",root:f&&f.root||""}})});(0,_.Q)("gapi.client.setApiKey",_.gm);(0,_.Q)("gapi.client.setApiVersions",Hm);
var nx=/<response-(.*)>/,ox=/^application\/http(;.*$|$)/;
$w.prototype.add=function(a,c){c=c||{};var f=(0,_.O)(),g=Object.prototype.hasOwnProperty;if(a)f.OK=a;else{var h="";g.call(c,"id")&&(h='with ID "'+c.id+'" ');(0,_.m)("Batch entry "+h+"is missing a request method")}h=a.B.root;this.M||(h&&(this.G&&h!=this.G)&&(0,_.m)('The "root" provided in this request is not consistent with that of existing requests in the batch.'),this.G=h||this.G);h=(0,_.H)(function(a){for(var c=0;c<this.B.length;c++)if(this.B[c].id==a)return _.r;return _.u},this);if(g.call(c,"id"))g=
c.id,h(g)&&(0,_.m)('Batch ID "'+g+'" already in use, please use another.'),f.id=g;else{do f.id=String(2147483647*(0,_.Vb)()|0);while(h(f.id))}f.Ga=c.callback;this.B.push(f)};
$w.prototype.execute=function(a){a=bx(this,a);var c="batch"+String(2147483647*(0,_.Vb)()|0)+String(2147483647*(0,_.Vb)()|0);this.ha="--"+c;for(var c={path:"/batch",headers:{"Content-Type":"multipart/mixed; boundary="+c},method:"POST"},f=this.B,g=this.ha,h=[],l=0;l<f.length;l++)h.push(dx(f[l].OK,f[l].id));c.body=[g,h.join("\r\n"+g+"\r\n"),g+"--"].join("\r\n")+"\r\n";c.root=this.G;Dm(c).execute(a)};
$w.prototype.RB=function(a,c,f){if(c&&!a){var g=_.Kb.parse(c);g&&(a=g.gapiRequest?g.gapiRequest.data:g)}if(a&&a.headers){var g=(0,_.O)(),h;for(h in a.headers)g[h.toLowerCase()]=a.headers[h];a.headers=g}0!=cx(a.headers,"Content-Type").indexOf("multipart/mixed")&&(0,_.m)("The response's Content-Type is not multipart/mixed.");if(200<=a.status&&299>=a.status){var l="--"+cx(a.headers,"Content-Type").split("boundary=")[1];l||(0,_.m)("Boundary not indicated in response.");h=a.body;h=(0,_.Ge)(h);(0,_.jr)(h,
"--")&&(h=h.substring(0,h.length-2));l=h.split(l);h=(0,_.O)();for(a=0;a<l.length;a++)if(l[a]){var n=ex(l[a]),g=(0,_.O)(),q=cx(n.outerHeaders,"Content-Type"),q=ox.exec(q);q==_.s&&(0,_.m)("Unexpected Content-Type");q=cx(n.outerHeaders,"Content-Id");q=nx.exec(q);q==_.s&&(0,_.m)("Unable to recognize Content-Id.");g.id=q[1];n=_.Kb.parse(n.body);g.result=n;h[g.id]=g}l=h;for(h=0;h<this.B.length;h++)a=this.B[h],a.Ga&&a.Ga(l[a.id]||_.u,_.Kb.stringify(l[a.id]))}f&&f(l,c)};
Em.prototype.execute=function(a){Jm(this,this.B);var c=_.s;this.B.headers.Authorization||(c=(0,_.Hx)(_.p,_.p),c=(c&&c.state||"").split(/\w+/)||_.s);var f=(0,_.Ck)(this.B,c,function(c,f){var l=c instanceof Array?c[0]:c,n;if(204!=l.status&&l.body)try{n=_.Kb.parse(l.body)}catch(q){}(0,_.P)("client/jsonpOverride")&&(n=l);a(n,f)}),c=Km(this,"gapiRequest");gx(c,function(a,c){var l=a;a.gapiRequest&&(l=a.gapiRequest);l&&l.data&&(l=l.data);f(l,c)})};
Lm.prototype.add=function(a,c){c=c||{};var f={},g=Object.prototype.hasOwnProperty;if(a)f.qf=a;else{var h="";g.call(c,"id")&&(h='with ID "'+c.id+'" ');(0,_.m)("Batch entry "+h+"is missing a request method")}if(g.call(c,"id")){g=c.id;for(h=0;h<this.B.length;h++)this.B[h].id==g&&(0,_.m)('Batch ID "'+g+'" already in use, please use another.');f.id=g}else{do f.id=String(2147483647*(0,_.Vb)()|0);while(g.call(this.B,f.id))}f.Ga=c.callback;this.B.push(f)};
Lm.prototype.execute=function(a){this.G=[];for(var c,f,g=0;g<this.B.length;g++){c=this.B[g];var h=f=c.qf,l=h.B.method;c={jsonrpc:"2.0",id:c.id,method:l};var n=h.B.rpcParams;n&&(c.params=n);l=l.substring(0,l.indexOf("."));c.apiVersion=h.B.apiVersion||Im[l]||"v1";this.G.push(c);this.ha=Nm(f)||this.ha}f={};f=_.Bk.Md(f);ym(f);f={requests:this.G,headers:f,root:this.ha,clientName:Am(),clientVersion:Cm(),urlParams:{key:_.jm.key}};_.Bk.Dd("makeRequest",f,Mm(this,a))}; Lm.prototype.RB=function(a,c,f){for(var g=0;g<this.B.length;g++){var h=this.B[g];h.Ga&&h.Ga(a[h.id]||_.u,c)}f&&f(a,c)};
Gm.prototype.execute=function(a){var c=new Lm;c.add(this,{id:"gapiRpc",callback:Om(this,a)});c.execute()};var Pm={},Qm=0;
});

// Copyright 2002-2013 Google Inc.
Powered by Google Project Hosting