(function(){'use strict';for(var k,aa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw new TypeError("ES3 does not support getters and setters.");a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},l="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,ba=["String","prototype","repeat"],ca=0;ca<ba.length-1;ca++){var da=ba[ca];da in l||(l[da]={});l=l[da]}
var ea=ba[ba.length-1],fa=l[ea],ga=fa?fa:function(a){var b;if(null==this)throw new TypeError("The 'this' value for String.prototype.repeat must not be null or undefined");b=this+"";if(0>a||1342177279<a)throw new RangeError("Invalid count value");a|=0;for(var c="";a;)if(a&1&&(c+=b),a>>>=1)b+=b;return c};ga!=fa&&null!=ga&&aa(l,ea,{configurable:!0,writable:!0,value:ga});var ha=ha||{},p=this;function q(a,b){a=a.split(".");b=b||p;for(var c;c=a.shift();)if(null!=b[c])b=b[c];else return null;return b}
function r(){}function t(){throw Error("unimplemented abstract method");}
function u(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function v(a){var b=u(a);return"array"==b||"object"==b&&"number"==typeof a.length}function w(a){return"string"==typeof a}function x(a){return"number"==typeof a}function y(a){return"function"==u(a)}function ia(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}var ja="closure_uid_"+(1E9*Math.random()>>>0),ka=0;function la(a,b,c){return a.call.apply(a.bind,arguments)}
function ma(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}}function z(a,b,c){z=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?la:ma;return z.apply(null,arguments)}
function na(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}}var oa=Date.now||function(){return+new Date};
function pa(a){if(p.execScript)p.execScript(a,"JavaScript");else if(p.eval){if(null==qa)if(p.eval("var _evalTest_ = 1;"),"undefined"!=typeof p._evalTest_){try{delete p._evalTest_}catch(d){}qa=!0}else qa=!1;if(qa)p.eval(a);else{var b=p.document,c=b.createElement("SCRIPT");c.type="text/javascript";c.defer=!1;c.appendChild(b.createTextNode(a));b.body.appendChild(c);b.body.removeChild(c)}}else throw Error("goog.globalEval not available");}var qa=null;
function ra(a,b){a=a.split(".");var c=p;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]?c=c[d]:c=c[d]={}:c[d]=b}function A(a,b){function c(){}c.prototype=b.prototype;a.I=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Ca=function(a,c,f){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];return b.prototype[c].apply(a,d)}};function B(a){if(Error.captureStackTrace)Error.captureStackTrace(this,B);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))}A(B,Error);B.prototype.name="CustomError";var sa=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};function ta(a){if(!ua.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(va,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(wa,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(xa,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(ya,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(za,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Aa,"&#0;"));return a}var va=/&/g,wa=/</g,xa=/>/g,ya=/"/g,za=/'/g,Aa=/\x00/g,ua=/[\x00&<>"']/;
function Ba(a,b){return a<b?-1:a>b?1:0};var Ca=Array.prototype.indexOf?function(a,b,c){return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(w(a))return w(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Ga=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=w(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},Ha=Array.prototype.some?function(a,b,c){return Array.prototype.some.call(a,
b,c)}:function(a,b,c){for(var d=a.length,e=w(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;return!1};function Ia(a){var b;a:{b=Ja;for(var c=a.length,d=w(a)?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){b=e;break a}b=-1}return 0>b?null:w(a)?a.charAt(b):a[b]}function Ka(a,b){b=Ca(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c}function La(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]};function Ma(a,b){for(var c in a)b.call(void 0,a[c],c,a)}function Na(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function Oa(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function Pa(a){var b={},c;for(c in a)b[c]=a[c];return b}var Qa="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
function Ra(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Qa.length;f++)c=Qa[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var C;a:{var Sa=p.navigator;if(Sa){var Ta=Sa.userAgent;if(Ta){C=Ta;break a}}C=""}function D(a){return-1!=C.indexOf(a)};function Ua(){this.g="";this.h=Va}var Va={};function Wa(a){Wa[" "](a);return a}Wa[" "]=r;function Xa(a,b){var c=Ya;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var Za=D("Opera"),E=D("Trident")||D("MSIE"),$a=D("Edge"),F=D("Gecko")&&!(-1!=C.toLowerCase().indexOf("webkit")&&!D("Edge"))&&!(D("Trident")||D("MSIE"))&&!D("Edge"),ab=-1!=C.toLowerCase().indexOf("webkit")&&!D("Edge");function bb(){var a=p.document;return a?a.documentMode:void 0}var cb;
a:{var db="",eb=function(){var a=C;if(F)return/rv\:([^\);]+)(\)|;)/.exec(a);if($a)return/Edge\/([\d\.]+)/.exec(a);if(E)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(ab)return/WebKit\/(\S+)/.exec(a);if(Za)return/(?:Version)[ \/]?(\S+)/.exec(a)}();eb&&(db=eb?eb[1]:"");if(E){var fb=bb();if(null!=fb&&fb>parseFloat(db)){cb=String(fb);break a}}cb=db}var gb=cb,Ya={};
function G(a){return Xa(a,function(){for(var b=0,c=sa(String(gb)).split("."),d=sa(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var g=c[f]||"",h=d[f]||"";do{g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(0==g[0].length&&0==h[0].length)break;b=Ba(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||Ba(0==g[2].length,0==h[2].length)||Ba(g[2],h[2]);g=g[3];h=h[3]}while(0==b)}return 0<=b})}var hb;var ib=p.document;
hb=ib&&E?bb()||("CSS1Compat"==ib.compatMode?parseInt(gb,10):5):void 0;var jb=!E||9<=Number(hb);!F&&!E||E&&9<=Number(hb)||F&&G("1.9.1");E&&G("9");function kb(a,b){Ma(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:lb.hasOwnProperty(d)?a.setAttribute(lb[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})}var lb={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};
function mb(a){return a?a.parentWindow||a.defaultView:window}function nb(a,b,c){var d=arguments,e=document,f=String(d[0]),g=d[1];if(!jb&&g&&(g.name||g.type)){f=["<",f];g.name&&f.push(' name="',ta(g.name),'"');if(g.type){f.push(' type="',ta(g.type),'"');var h={};Ra(h,g);delete h.type;g=h}f.push(">");f=f.join("")}f=e.createElement(f);g&&(w(g)?f.className=g:"array"==u(g)?f.className=g.join(" "):kb(f,g));2<d.length&&ob(e,f,d);return f}
function ob(a,b,c){function d(c){c&&b.appendChild(w(c)?a.createTextNode(c):c)}for(var e=2;e<c.length;e++){var f=c[e];!v(f)||ia(f)&&0<f.nodeType?d(f):Ga(pb(f)?La(f):f,d)}}function pb(a){if(a&&"number"==typeof a.length){if(ia(a))return"function"==typeof a.item||"string"==typeof a.item;if(y(a))return"function"==typeof a.item}return!1};var qb=/^[\w+/]+[=]{0,2}$/;ra("userfeedback.api.startFeedback",function(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||p,e=d.document,f;f=(f=(f=(d||p).document.querySelector("script[nonce]"))&&f.getAttribute("nonce"))&&qb.test(f)?f:void 0;f&&(a.nonce=f);if("help"==a.flow){var g=q("document.location.href",d);!a.helpCenterContext&&g&&(a.helpCenterContext=g.substring(0,1200));g=!0;if(b&&JSON&&JSON.stringify){var h=JSON.stringify(b);(g=1200>=h.length)&&(a.psdJson=h)}g||(b={invalidPsd:!0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=
b;c=a.serverUri||"//www.google.com/tools/feedback";if(g=d.GOOGLE_FEEDBACK_START)g.apply(d,b);else{var d=c+"/load.js?",m;for(m in a)b=a[m],null!=b&&!ia(b)&&(d+=encodeURIComponent(m)+"="+encodeURIComponent(b)+"&");a=e.createElement("script");f&&a.setAttribute("nonce",f);a.src=d;e.body.appendChild(a)}});var H="StopIteration"in p?p.StopIteration:{message:"StopIteration",stack:""};function I(){}I.prototype.next=function(){throw H;};I.prototype.C=function(){return this};function rb(a){if(a instanceof I)return a;if("function"==typeof a.C)return a.C(!1);if(v(a)){var b=0,c=new I;c.next=function(){for(;;){if(b>=a.length)throw H;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");}
function sb(a,b){if(v(a))try{Ga(a,b,void 0)}catch(c){if(c!==H)throw c;}else{a=rb(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==H)throw c;}}};function tb(a,b){this.h={};this.g=[];this.j=this.i=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a){a instanceof tb?(c=a.D(),d=a.F()):(c=Oa(a),d=Na(a));for(var e=0;e<c.length;e++)this.set(c[e],d[e])}}k=tb.prototype;k.F=function(){ub(this);for(var a=[],b=0;b<this.g.length;b++)a.push(this.h[this.g[b]]);return a};k.D=function(){ub(this);return this.g.concat()};
k.clear=function(){this.h={};this.j=this.i=this.g.length=0};function ub(a){if(a.i!=a.g.length){for(var b=0,c=0;b<a.g.length;){var d=a.g[b];Object.prototype.hasOwnProperty.call(a.h,d)&&(a.g[c++]=d);b++}a.g.length=c}if(a.i!=a.g.length){for(var e={},c=b=0;b<a.g.length;)d=a.g[b],Object.prototype.hasOwnProperty.call(e,d)||(a.g[c++]=d,e[d]=1),b++;a.g.length=c}}k.get=function(a,b){return Object.prototype.hasOwnProperty.call(this.h,a)?this.h[a]:b};
k.set=function(a,b){Object.prototype.hasOwnProperty.call(this.h,a)||(this.i++,this.g.push(a),this.j++);this.h[a]=b};k.forEach=function(a,b){for(var c=this.D(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};k.C=function(a){ub(this);var b=0,c=this.j,d=this,e=new I;e.next=function(){if(c!=d.j)throw Error("The map has changed since the iterator was created");if(b>=d.g.length)throw H;var e=d.g[b++];return a?e:d.h[e]};return e};function vb(a){if(a.F&&"function"==typeof a.F)return a.F();if(w(a))return a.split("");if(v(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Na(a)}
function wb(a,b){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,void 0);else if(v(a)||w(a))Ga(a,b,void 0);else{var c;if(a.D&&"function"==typeof a.D)c=a.D();else if(a.F&&"function"==typeof a.F)c=void 0;else if(v(a)||w(a)){c=[];for(var d=a.length,e=0;e<d;e++)c.push(e)}else c=Oa(a);for(var d=vb(a),e=d.length,f=0;f<e;f++)b.call(void 0,d[f],c&&c[f],a)}};function xb(a){var b=p.onerror,c=!1;ab&&!G("535.3")&&(c=!c);p.onerror=function(d,e,f,g,h){b&&b(d,e,f,g,h);a({message:d,fileName:e,sa:f,Fa:g,error:h});return c}};function yb(){this.g=oa()}new yb;yb.prototype.set=function(a){this.g=a};yb.prototype.reset=function(){this.set(oa())};yb.prototype.get=function(){return this.g};function zb(a){return/^\s*$/.test(a)?!1:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,""))}function Ab(a){a=String(a);if(zb(a))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);}function Bb(a){var b=[];Cb(new Db,a,b);return b.join("")}function Db(){}
function Cb(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if("array"==u(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),Cb(a,d[f],c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");e="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(f=b[d],"function"!=typeof f&&(c.push(e),Eb(d,c),c.push(":"),Cb(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":Eb(b,c);break;case "number":c.push(isFinite(b)&&
!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}}var Fb={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Gb=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;
function Eb(a,b){b.push('"',a.replace(Gb,function(a){var b=Fb[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),Fb[a]=b);return b}),'"')};function Hb(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};function J(){}J.prototype.i=null;J.prototype.g=t;function Ib(a){return a.i||(a.i=a.h())}J.prototype.h=t;var Jb;function Kb(){}A(Kb,J);Kb.prototype.g=function(){var a=Lb(this);return a?new ActiveXObject(a):new XMLHttpRequest};Kb.prototype.h=function(){var a={};Lb(this)&&(a[0]=!0,a[1]=!0);return a};
function Lb(a){if(!a.j&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.j=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.j}Jb=new Kb;function Mb(a,b,c){this.j=c;this.i=a;this.l=b;this.h=0;this.g=null}Mb.prototype.get=function(){var a;0<this.h?(this.h--,a=this.g,this.g=a.next,a.next=null):a=this.i();return a};function Nb(a,b){a.l(b);a.h<a.j&&(a.h++,b.next=a.g,a.g=b)};var Ob=[],Pb=[],Qb=!1;function Rb(a){Ob[Ob.length]=a;if(Qb)for(var b=0;b<Pb.length;b++)a(z(Pb[b].g,Pb[b]))};function Sb(a){p.setTimeout(function(){throw a;},0)}var Tb;
function Ub(){var a=p.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!D("Presto")&&(a=function(){var a=document.createElement("IFRAME");a.style.display="none";a.src="";document.documentElement.appendChild(a);var b=a.contentWindow,a=b.document;a.open();a.write("");a.close();var c="callImmediate"+Math.random(),d="file:"==b.location.protocol?"*":b.location.protocol+"//"+b.location.host,a=z(function(a){if(("*"==d||a.origin==d)&&a.data==
c)this.port1.onmessage()},this);b.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,d)}}});if("undefined"!==typeof a&&!D("Trident")&&!D("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var a=c.W;c.W=null;a()}};return function(a){d.next={W:a};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(a){var b=document.createElement("SCRIPT");
b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};document.documentElement.appendChild(b)}:function(a){p.setTimeout(a,0)}}function Vb(a){return a}Rb(function(a){Vb=a});var Xb=new Mb(function(){return new Wb},function(a){a.reset()},100);function Yb(){var a=Zb,b=null;a.g&&(b=a.g,a.g=a.g.next,a.g||(a.h=null),b.next=null);return b}function Wb(){this.next=this.h=this.g=null}Wb.prototype.set=function(a,b){this.g=a;this.h=b;this.next=null};Wb.prototype.reset=function(){this.next=this.h=this.g=null};function $b(a,b){ac||bc();cc||(ac(),cc=!0);var c=Zb,d=Xb.get();d.set(a,b);c.h?c.h.next=d:c.g=d;c.h=d}var ac;function bc(){var a=p.Promise;if(-1!=String(a).indexOf("[native code]")){var b=a.resolve(void 0);ac=function(){b.then(dc)}}else ac=function(){var a=dc,a=Vb(a);!y(p.setImmediate)||p.Window&&p.Window.prototype&&!D("Edge")&&p.Window.prototype.setImmediate==p.setImmediate?(Tb||(Tb=Ub()),Tb(a)):p.setImmediate(a)}}var cc=!1,Zb=new function(){this.h=this.g=null};
function dc(){for(var a;a=Yb();){try{a.g.call(a.h)}catch(b){Sb(b)}Nb(Xb,a)}cc=!1};function ec(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0}function fc(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function K(a,b){this.g=0;this.u=void 0;this.j=this.h=this.i=null;this.l=this.m=!1;if(a!=r)try{var c=this;a.call(b,function(a){L(c,2,a)},function(a){L(c,3,a)})}catch(d){L(this,3,d)}}function gc(){this.next=this.i=this.h=this.j=this.g=null;this.l=!1}gc.prototype.reset=function(){this.i=this.h=this.j=this.g=null;this.l=!1};var hc=new Mb(function(){return new gc},function(a){a.reset()},100);function ic(a,b,c){var d=hc.get();d.j=a;d.h=b;d.i=c;return d}
function M(a){if(a instanceof K)return a;var b=new K(r);L(b,2,a);return b}K.prototype.then=function(a,b,c){return jc(this,y(a)?a:null,y(b)?b:null,c)};ec(K);function N(a,b){jc(a,null,b,void 0)}K.prototype.cancel=function(a){0==this.g&&$b(function(){var b=new O(a);kc(this,b)},this)};
function kc(a,b){if(0==a.g)if(a.i){var c=a.i;if(c.h){for(var d=0,e=null,f=null,g=c.h;g&&(g.l||(d++,g.g==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(0==c.g&&1==d?kc(c,b):(f?(d=f,d.next==c.j&&(c.j=d),d.next=d.next.next):lc(c),mc(c,e,3,b)))}a.i=null}else L(a,3,b)}function nc(a,b){a.h||2!=a.g&&3!=a.g||oc(a);a.j?a.j.next=b:a.h=b;a.j=b}
function jc(a,b,c,d){var e=ic(null,null,null);e.g=new K(function(a,g){e.j=b?function(c){try{var e=b.call(d,c);a(e)}catch(n){g(n)}}:a;e.h=c?function(b){try{var e=c.call(d,b);void 0===e&&b instanceof O?g(b):a(e)}catch(n){g(n)}}:g});e.g.i=a;nc(a,e);return e.g}K.prototype.s=function(a){this.g=0;L(this,2,a)};K.prototype.v=function(a){this.g=0;L(this,3,a)};
function L(a,b,c){if(0==a.g){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.g=1;var d;a:{var e=c,f=a.s,g=a.v;if(e instanceof K)nc(e,ic(f||r,g||null,a)),d=!0;else if(fc(e))e.then(f,g,a),d=!0;else{if(ia(e))try{var h=e.then;if(y(h)){pc(e,h,f,g,a);d=!0;break a}}catch(m){g.call(a,m);d=!0;break a}d=!1}}d||(a.u=c,a.g=b,a.i=null,oc(a),3!=b||c instanceof O||qc(a,c))}}
function pc(a,b,c,d,e){function f(a){h||(h=!0,d.call(e,a))}function g(a){h||(h=!0,c.call(e,a))}var h=!1;try{b.call(a,g,f)}catch(m){f(m)}}function oc(a){a.m||(a.m=!0,$b(a.o,a))}function lc(a){var b=null;a.h&&(b=a.h,a.h=b.next,b.next=null);a.h||(a.j=null);return b}K.prototype.o=function(){for(var a;a=lc(this);)mc(this,a,this.g,this.u);this.m=!1};
function mc(a,b,c,d){if(3==c&&b.h&&!b.l)for(;a&&a.l;a=a.i)a.l=!1;if(b.g)b.g.i=null,rc(b,c,d);else try{b.l?b.j.call(b.i):rc(b,c,d)}catch(e){sc.call(null,e)}Nb(hc,b)}function rc(a,b,c){2==b?a.j.call(a.i,c):a.h&&a.h.call(a.i,c)}function qc(a,b){a.l=!0;$b(function(){a.l&&sc.call(null,b)})}var sc=Sb;function O(a){B.call(this,a)}A(O,B);O.prototype.name="cancel";var tc=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function uc(a){a=a.match(tc)[1]||null;!a&&p.self&&p.self.location&&(a=p.self.location.protocol,a=a.substr(0,a.length-1));return a?a.toLowerCase():""}function vc(a){if(a[1]){var b=a[0],c=b.indexOf("#");0<=c&&(a.push(b.substr(c)),a[0]=b=b.substr(0,c));c=b.indexOf("?");0>c?a[1]="?":c==b.length-1&&(a[1]=void 0)}return a.join("")}
function wc(a,b,c){if("array"==u(b))for(var d=0;d<b.length;d++)wc(a,String(b[d]),c);else null!=b&&c.push("&",a,""===b?"":"=",encodeURIComponent(String(b)))}function xc(a,b,c){for(c=c||0;c<b.length;c+=2)wc(b[c],b[c+1],a);return a}function yc(a,b){for(var c in b)wc(c,b[c],a);return a}function zc(a,b){return vc(2==arguments.length?xc([a],arguments[1],0):xc([a],arguments,1))};function Ac(a){var b={ca:7E3,ea:new Bc};return Cc(a,b).then(function(a){var c=a.responseText;b&&b.ya&&(a=b.ya,0==c.lastIndexOf(a,0)&&(c=c.substring(a.length)));return Ab(c)})}
function Cc(a,b){return new K(function(c,d){var e=b||{},f,g=e.ea?e.ea.g():Jb.g();try{g.open("GET",a,!0)}catch(n){d(new P("Error opening XHR: "+n.message,a))}g.onreadystatechange=function(){if(4==g.readyState){p.clearTimeout(f);var b;!(b=Hb(g.status))&&(b=0===g.status)&&(b=uc(a),b=!("http"==b||"https"==b||""==b));b?c(g):d(new Dc(g.status,a))}};g.onerror=function(){d(new P("Network error",a))};if(e.headers)for(var h in e.headers){var m=e.headers[h];null!=m&&g.setRequestHeader(h,m)}e.withCredentials&&
(g.withCredentials=e.withCredentials);e.responseType&&(g.responseType=e.responseType);e.ta&&g.overrideMimeType(e.ta);0<e.ca&&(f=p.setTimeout(function(){g.onreadystatechange=r;g.abort();d(new Ec(a))},e.ca));try{g.send(null)}catch(n){g.onreadystatechange=r,p.clearTimeout(f),d(new P("Error sending XHR: "+n.message,a))}})}function P(a,b){B.call(this,a+", url="+b)}A(P,B);P.prototype.name="XhrError";function Dc(a,b){P.call(this,"Request Failed, status="+a,b);this.status=a}A(Dc,P);Dc.prototype.name="XhrHttpError";
function Ec(a){P.call(this,"Request timed out",a)}A(Ec,P);Ec.prototype.name="XhrTimeoutError";function Bc(){}A(Bc,J);Bc.prototype.g=function(){var a=new XMLHttpRequest;if("withCredentials"in a)return a;if("undefined"!=typeof XDomainRequest)return new Fc;throw Error("Unsupported browser");};Bc.prototype.h=function(){return{}};
function Fc(){this.g=new XDomainRequest;this.readyState=0;this.onreadystatechange=null;this.responseText="";this.status=-1;this.statusText=this.responseXML=null;this.g.onload=z(this.pa,this);this.g.onerror=z(this.X,this);this.g.onprogress=z(this.qa,this);this.g.ontimeout=z(this.ra,this)}k=Fc.prototype;k.open=function(a,b,c){if(null!=c&&!c)throw Error("Only async requests are supported.");this.g.open(a,b)};
k.send=function(a){if(a)if("string"==typeof a)this.g.send(a);else throw Error("Only string data is supported");else this.g.send()};k.abort=function(){this.g.abort()};k.setRequestHeader=function(){};k.pa=function(){this.status=200;this.responseText=this.g.responseText;Gc(this,4)};k.X=function(){this.status=500;this.responseText="";Gc(this,4)};k.ra=function(){this.X()};k.qa=function(){this.status=200;Gc(this,1)};function Gc(a,b){a.readyState=b;if(a.onreadystatechange)a.onreadystatechange()};/*
 Portions of this code are from MochiKit, received by
 The Closure Authors under the MIT license. All other code is Copyright
 2005-2009 The Closure Authors. All Rights Reserved.
*/
function Q(a,b){this.l=[];this.A=a;this.B=b||null;this.j=this.g=!1;this.i=void 0;this.s=this.H=this.u=!1;this.m=0;this.h=null;this.o=0}Q.prototype.cancel=function(a){if(this.g)this.i instanceof Q&&this.i.cancel();else{if(this.h){var b=this.h;delete this.h;a?b.cancel(a):(b.o--,0>=b.o&&b.cancel())}this.A?this.A.call(this.B,this):this.s=!0;this.g||(a=new Hc,Ic(this),Jc(this,!1,a))}};Q.prototype.v=function(a,b){this.u=!1;Jc(this,a,b)};function Jc(a,b,c){a.g=!0;a.i=c;a.j=!b;Kc(a)}
function Ic(a){if(a.g){if(!a.s)throw new Lc;a.s=!1}}Q.prototype.callback=function(a){Ic(this);Jc(this,!0,a)};function Mc(a,b,c){a.l.push([b,c,void 0]);a.g&&Kc(a)}Q.prototype.then=function(a,b,c){var d,e,f=new K(function(a,b){d=a;e=b});Mc(this,d,function(a){a instanceof Hc?f.cancel():e(a)});return f.then(a,b,c)};ec(Q);function Nc(a){return Ha(a.l,function(a){return y(a[1])})}
function Kc(a){if(a.m&&a.g&&Nc(a)){var b=a.m,c=Oc[b];c&&(p.clearTimeout(c.g),delete Oc[b]);a.m=0}a.h&&(a.h.o--,delete a.h);for(var b=a.i,d=c=!1;a.l.length&&!a.u;){var e=a.l.shift(),f=e[0],g=e[1],e=e[2];if(f=a.j?g:f)try{var h=f.call(e||a.B,b);void 0!==h&&(a.j=a.j&&(h==b||h instanceof Error),a.i=b=h);if(fc(b)||"function"===typeof p.Promise&&b instanceof p.Promise)d=!0,a.u=!0}catch(m){b=m,a.j=!0,Nc(a)||(c=!0)}}a.i=b;d&&(h=z(a.v,a,!0),d=z(a.v,a,!1),b instanceof Q?(Mc(b,h,d),b.H=!0):b.then(h,d));c&&(b=
new Pc(b),Oc[b.g]=b,a.m=b.g)}function Lc(){B.call(this)}A(Lc,B);Lc.prototype.message="Deferred has already fired";Lc.prototype.name="AlreadyCalledError";function Hc(){B.call(this)}A(Hc,B);Hc.prototype.message="Deferred was canceled";Hc.prototype.name="CanceledError";function Pc(a){this.g=p.setTimeout(z(this.i,this),0);this.h=a}Pc.prototype.i=function(){delete Oc[this.g];throw this.h;};var Oc={};function Qc(a,b){var c=new Ua;c.g=a;return Rc(c,b)}
function Rc(a,b){var c=b||{};b=c.document||document;var d;a instanceof Ua&&a.constructor===Ua&&a.h===Va?d=a.g:(u(a),d="type_error:TrustedResourceUrl");var e=document.createElement("SCRIPT");a={$:e,J:void 0};var f=new Q(Sc,a),g=null,h=null!=c.timeout?c.timeout:5E3;0<h&&(g=window.setTimeout(function(){Uc(e,!0);var a=new Vc(1,"Timeout reached for loading script "+d);Ic(f);Jc(f,!1,a)},h),a.J=g);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(Uc(e,
c.Ea||!1,g),f.callback(null))};e.onerror=function(){Uc(e,!0,g);var a=new Vc(0,"Error while loading script "+d);Ic(f);Jc(f,!1,a)};a=c.attributes||{};Ra(a,{type:"text/javascript",charset:"UTF-8",src:d});kb(e,a);Wc(b).appendChild(e);return f}function Wc(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!=b.length?b[0]:a.documentElement}function Sc(){if(this&&this.$){var a=this.$;a&&"SCRIPT"==a.tagName&&Uc(a,!0,this.J)}}
function Uc(a,b,c){null!=c&&p.clearTimeout(c);a.onload=r;a.onerror=r;a.onreadystatechange=r;b&&window.setTimeout(function(){a&&a.parentNode&&a.parentNode.removeChild(a)},0)}function Vc(a,b){a="Jsloader error (code #"+a+")";b&&(a+=": "+b);B.call(this,a)}A(Vc,B);function Xc(a){a=a||{};this.operatorDeferredUrl=a.operatorDeferredUrl;this.alphaTestMode=a.alphaTestMode||!1;this.stagingMode=a.stagingMode||!1;this.rosterId=a.rosterId||"talk_roster";this.feedbackId=a.feedbackId||74772;this.moleVersion=a.moleVersion||void 0;this.moleUrl=a.moleUrl||"https://support.google.com/inapp/chat_mole_frame";this.gstaticBaseUrl=a.gstaticBaseUrl||void 0;this.operatorDeferredBaseUrl=a.operatorDeferredBaseUrl||void 0;this.isRtl=a.isRtl||void 0;this.forceLeftMoles=a.forceLeftMoles||
void 0;this.helpCenterName=a.helpCenterName||null;this.localeName=a.localeName||null;this.document=a.document||document;this.source=a.source||void 0;this.entityId=a.entityId||void 0;this.authUser=a.authUser||void 0;this.apiKey=a.apiKey||void 0};function R(){this.l=this.l;this.u=this.u}R.prototype.l=!1;R.prototype.R=function(){this.l||(this.l=!0,this.w())};R.prototype.w=function(){if(this.u)for(;this.u.length;)this.u.shift()()};function S(a,b){this.type=a;this.g=this.h=b;this.Z=!0}S.prototype.i=function(){this.Z=!1};var Yc=!E||9<=Number(hb),Zc=E&&!G("9");!ab||G("528");F&&G("1.9b")||E&&G("8")||Za&&G("9.5")||ab&&G("528");F&&!G("8")||E&&G("9");function T(a,b){S.call(this,a?a.type:"");this.j=this.g=this.h=null;a&&this.init(a,b)}A(T,S);T.prototype.init=function(a,b){this.type=a.type;this.h=a.target||a.srcElement;this.g=b;if((b=a.relatedTarget)&&F)try{Wa(b.nodeName)}catch(c){}this.j=a;a.defaultPrevented&&this.i()};T.prototype.i=function(){T.I.i.call(this);var a=this.j;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Zc)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var $c="closure_listenable_"+(1E6*Math.random()|0),ad=0;function bd(a,b,c){this.listener=a;this.g=null;this.src=b;this.type=c;this.P=!1;this.K=void 0;this.key=++ad;this.G=this.O=!1}function cd(a){a.G=!0;a.listener=null;a.g=null;a.src=null;a.K=null};function dd(a){this.src=a;this.g={};this.h=0}function ed(a,b){var c=b.type;c in a.g&&Ka(a.g[c],b)&&(cd(b),0==a.g[c].length&&(delete a.g[c],a.h--))}function fd(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.G&&f.listener==b&&0==!!c&&f.K==d)return e}return-1};var gd="closure_lm_"+(1E6*Math.random()|0),hd={},id=0;function jd(a,b,c,d,e){if("array"==u(b))for(var f=0;f<b.length;f++)jd(a,b[f],c,d,e);else(c=kd(c),a&&a[$c])?(a=a.i,b=String(b).toString(),b in a.g&&(f=a.g[b],c=fd(f,c,d,e),-1<c&&(cd(f[c]),Array.prototype.splice.call(f,c,1),0==f.length&&(delete a.g[b],a.h--)))):a&&(a=ld(a))&&(b=a.g[b.toString()],a=-1,b&&(a=fd(b,c,!!d,e)),(c=-1<a?b[a]:null)&&md(c))}
function md(a){if(!x(a)&&a&&!a.G){var b=a.src;if(b&&b[$c])ed(b.i,a);else{var c=a.type,d=a.g;b.removeEventListener?b.removeEventListener(c,d,a.P):b.detachEvent&&b.detachEvent(c in hd?hd[c]:hd[c]="on"+c,d);id--;(c=ld(b))?(ed(c,a),0==c.h&&(c.src=null,b[gd]=null)):cd(a)}}}function nd(a,b,c,d){var e=!0;if(a=ld(a))if(b=a.g[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.P==c&&!f.G&&(f=od(f,d),e=e&&!1!==f)}return e}
function od(a,b){var c=a.listener,d=a.K||a.src;a.O&&md(a);return c.call(d,b)}
function pd(a,b){if(a.G)return!0;if(!Yc){var c=b||q("window.event");b=new T(c,this);var d=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var e=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(g){e=!0}if(e||void 0==c.returnValue)c.returnValue=!0}c=[];for(e=b.g;e;e=e.parentNode)c.push(e);a=a.type;for(e=c.length-1;0<=e;e--){b.g=c[e];var f=nd(c[e],a,!0,b),d=d&&f}for(e=0;e<c.length;e++)b.g=c[e],f=nd(c[e],a,!1,b),d=d&&f}return d}return od(a,new T(b,this))}
function ld(a){a=a[gd];return a instanceof dd?a:null}var qd="__closure_events_fn_"+(1E9*Math.random()>>>0);function kd(a){if(y(a))return a;a[qd]||(a[qd]=function(b){return a.handleEvent(b)});return a[qd]}Rb(function(a){pd=a(pd)});function U(){R.call(this);this.i=new dd(this);this.ja=this;this.L=null}A(U,R);U.prototype[$c]=!0;U.prototype.removeEventListener=function(a,b,c,d){jd(this,a,b,c,d)};
function V(a,b){var c,d=a.L;if(d){c=[];for(var e=1;d;d=d.L)c.push(d),++e}a=a.ja;d=b.type||b;w(b)?b=new S(b,a):b instanceof S?b.h=b.h||a:(e=b,b=new S(d,a),Ra(b,e));var e=!0,f;if(c)for(var g=c.length-1;0<=g;g--)f=b.g=c[g],e=rd(f,d,!0,b)&&e;f=b.g=a;e=rd(f,d,!0,b)&&e;e=rd(f,d,!1,b)&&e;if(c)for(g=0;g<c.length;g++)f=b.g=c[g],e=rd(f,d,!1,b)&&e}
U.prototype.w=function(){U.I.w.call(this);if(this.i){var a=this.i,b=0,c;for(c in a.g){for(var d=a.g[c],e=0;e<d.length;e++)++b,cd(d[e]);delete a.g[c];a.h--}}this.L=null};function rd(a,b,c,d){b=a.i.g[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var g=b[f];if(g&&!g.G&&g.P==c){var h=g.listener,m=g.K||g.src;g.O&&ed(a.i,g);e=!1!==h.call(m,d)&&e}}return e&&0!=d.Z};function sd(a,b,c){if(y(a))c&&(a=z(a,c));else if(a&&"function"==typeof a.handleEvent)a=z(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:p.setTimeout(a,b||0)};function td(){}var ud,vd,wd;ud=new td;vd=new td;wd=new td;function xd(){this.g=wd;this.i=this.window=this.h=void 0};var W={fa:"AIzaSyB5V4SIBGmrqREm7kf2fBJgPcBMCdUrLzE",za:"https://test-realtimesupport-googleapis.sandbox.google.com",Ba:"https://staging-realtimesupport-googleapis.sandbox.google.com",Aa:"https://realtimesupport.clients6.google.com",ga:"d",ia:"s",ha:"p",ka:"true",Ha:function(a){return null!=a&&a.toLowerCase()==W.ka.toLowerCase()},Da:function(a,b){var c=new xd;c.g=b?W.na(a):W.oa(a);c.window=mb(a.document);c.h=a.apiKey;c.i=a.authUser;return c},oa:function(){return new td},na:function(a){return a.alphaTestMode?
ud:a.stagingMode?vd:wd},Ga:function(a){return a.alphaTestMode?W.ga:a.stagingMode?W.ia:W.ha}};ra("chatsupport.ConfigUtils",W);function yd(a){this.g=a instanceof Xc?a:new Xc(a);this.g=zd(this.g);this.h=Ad(this);this.g.moleVersion||this.h.then(function(a){this.g.moleVersion=a.cbfVersion},function(){},this);this.h.then(this.i,function(){},this)}function Bd(){return q("cs.operatorDeferredInstance")}function Cd(){var a=q("cs.operatorDeferredPromise");return a instanceof K?a:null!=a?M(a):null}function Dd(a){ra("cs.operatorDeferredPromise",a)}function Ed(){}
function zd(a){a=Pa(a);a.document=a.document||document;null!=a.localeName&&(a.localeName=a.localeName.replace(/_/g,"-"));a.localeName=a.localeName&&0<=Ca(Fd,a.localeName)?a.localeName:"en";a.helpCenterName=a.helpCenterName||"chatsupport";a.apiKey=a.apiKey||W.fa;return a}
function Ad(a){return Ac(a.g.alphaTestMode?"//ssl.gstatic.com/support/realtime/operatorParamsDev":a.g.stagingMode?"//ssl.gstatic.com/support/realtime/operatorParamsStaging":"//ssl.gstatic.com/support/realtime/operatorParams").then(function(a){if(!a)throw Error("operatorParams is null");return a},function(a){throw a;})}
function Gd(a){var b=Cd();if(b)return b;if(b=Bd())return a=M(b),Dd(a),a;a=Hd(a).then(function(a){var b={document:this.g.document};this.g.operatorDeferredUrl=a;return Qc(a,b).then(function(){return p.cs.OperatorDeferred.getInstance(this.g)},null,this)},null,a);Dd(a);return a}yd.prototype.i=function(a){(new RegExp(a.eagerLoadHostnamePattern,a.eagerLoadHostnameFlags)).test(this.g.document.location.hostname)&&N(Gd(this),na(Ed,"Error retrieving OperatorDeferred"))};
function Hd(a){return a.g.operatorDeferredUrl?M(a.g.operatorDeferredUrl):a.g.operatorDeferredBaseUrl?(a=a.g.operatorDeferredBaseUrl+"/"+a.g.moleVersion+"/operatordeferred_bin_base__"+a.g.localeName.replace(/-/g,"_").toLowerCase()+".js",M(a)):a.h.then(z(function(a){return"https://ssl.gstatic.com/support/realtime/operator/"+a.cbfVersion+"/operatordeferred_bin_base__"+this.g.localeName.replace(/-/g,"_").toLowerCase()+".js"},a),function(){})}
function Id(a,b){return Gd(a).then(na(function(a,b){b.registerAvailabilityCallbacks(a)},b))}function Jd(a){return Gd(a).then(function(a){a.getAvailabilities()})}function Kd(a,b,c){b=na(function(a,b,c,g,h){return h.requestSupport(a,b,c,g)},b,c,void 0,!0);return(c=Bd())?(a=b(c),M(a)):Gd(a).then(b)}var Fd="ar ar-XB bg ca cs da de el en en-AU en-GB en-XA en-XC es es-419 et fa fi fil fr hi hr hu id it iw ja ko lt lv ms nl no pl pt-PT pt-BR ro ru sk sl sr sv th tr uk vi zh-CN zh-TW zh-HK".split(" ");function X(a){U.call(this);this.headers=new tb;this.v=a||null;this.h=!1;this.s=this.g=null;this.H="";this.j=this.A=this.m=this.B=!1;this.M=0;this.o=null;this.U="";this.N=this.V=!1}A(X,U);var Ld=/^https?$/i,Md=["POST","PUT"],Nd=[];k=X.prototype;k.la=function(){this.R();Ka(Nd,this)};
function Od(a,b,c,d,e){if(a.g)throw Error("[goog.net.XhrIo] Object is active with another request="+a.H+"; newUri="+b);c=c?c.toUpperCase():"GET";a.H=b;a.B=!1;a.h=!0;a.g=a.v?a.v.g():Jb.g();a.s=a.v?Ib(a.v):Ib(Jb);a.g.onreadystatechange=z(a.Y,a);try{a.A=!0,a.g.open(c,String(b),!0),a.A=!1}catch(g){Pd(a);return}b=d||"";var f=new tb(a.headers);e&&wb(e,function(a,b){f.set(b,a)});e=Ia(f.D());d=p.FormData&&b instanceof p.FormData;!(0<=Ca(Md,c))||e||d||f.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");
f.forEach(function(a,b){this.g.setRequestHeader(b,a)},a);a.U&&(a.g.responseType=a.U);"withCredentials"in a.g&&a.g.withCredentials!==a.V&&(a.g.withCredentials=a.V);try{Qd(a),0<a.M&&(a.N=Rd(a.g),a.N?(a.g.timeout=a.M,a.g.ontimeout=z(a.J,a)):a.o=sd(a.J,a.M,a)),a.m=!0,a.g.send(b),a.m=!1}catch(g){Pd(a)}}function Rd(a){return E&&G(9)&&x(a.timeout)&&void 0!==a.ontimeout}function Ja(a){return"content-type"==a.toLowerCase()}k.J=function(){"undefined"!=typeof ha&&this.g&&(V(this,"timeout"),this.abort(8))};
function Pd(a){a.h=!1;a.g&&(a.j=!0,a.g.abort(),a.j=!1);Sd(a);Td(a)}function Sd(a){a.B||(a.B=!0,V(a,"complete"),V(a,"error"))}k.abort=function(){this.g&&this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1,V(this,"complete"),V(this,"abort"),Td(this))};k.w=function(){this.g&&(this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1),Td(this,!0));X.I.w.call(this)};k.Y=function(){this.l||(this.A||this.m||this.j?Ud(this):this.T())};k.T=function(){Ud(this)};
function Ud(a){if(a.h&&"undefined"!=typeof ha&&(!a.s[1]||4!=(a.g?a.g.readyState:0)||2!=Vd(a)))if(a.m&&4==(a.g?a.g.readyState:0))sd(a.Y,0,a);else if(V(a,"readystatechange"),4==(a.g?a.g.readyState:0)){a.h=!1;try{var b=Vd(a),c;if(!(c=Hb(b))){var d;if(d=0===b){var e=uc(String(a.H));d=!Ld.test(e)}c=d}c?(V(a,"complete"),V(a,"success")):Sd(a)}finally{Td(a)}}}function Td(a,b){if(a.g){Qd(a);var c=a.g,d=a.s[0]?r:null;a.g=null;a.s=null;b||V(a,"ready");try{c.onreadystatechange=d}catch(e){}}}
function Qd(a){a.g&&a.N&&(a.g.ontimeout=null);x(a.o)&&(p.clearTimeout(a.o),a.o=null)}function Vd(a){try{return 2<(a.g?a.g.readyState:0)?a.g.status:-1}catch(b){return-1}}Rb(function(a){X.prototype.T=a(X.prototype.T)});function Wd(a){R.call(this);this.h=a}A(Wd,R);Wd.prototype.g=function(a){return Xd(this,a)};function Y(a,b){return(b?"__wrapper_":"__protected_")+(a[ja]||(a[ja]=++ka))+"__"}function Xd(a,b){var c=Y(a,!0);b[c]||((b[c]=Yd(a,b))[Y(a,!1)]=b);return b[c]}
function Yd(a,b){function c(){if(a.l)return b.apply(this,arguments);try{return b.apply(this,arguments)}catch(d){if(!(d&&"object"===typeof d&&d.message&&0==d.message.indexOf("Error in protected function: ")||"string"===typeof d&&0==d.indexOf("Error in protected function: ")))throw a.h(d),new Zd(d);}finally{}}c[Y(a,!1)]=b;return c}
function $d(a,b){var c=q("window"),d=c[b];c[b]=function(b,c){w(b)&&(b=na(pa,b));b=Xd(a,b);if(d.apply)return d.apply(this,arguments);var e=b;if(2<arguments.length)var f=Array.prototype.slice.call(arguments,2),e=function(){b.apply(this,f)};return d(e,c)};c[b][Y(a,!1)]=d}Wd.prototype.w=function(){var a=q("window"),b;b=a.setTimeout;b=b[Y(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[Y(this,!1)]||b;a.setInterval=b;Wd.I.w.call(this)};
function Zd(a){B.call(this,"Error in protected function: "+(a&&a.message?String(a.message):String(a)));(a=a&&a.stack)&&w(a)&&(this.stack=a)}A(Zd,B);function ae(a,b,c){U.call(this);this.m=b||null;this.j={};this.s=be;this.o=a;if(!c)if(this.g=null,E&&!G("10"))xb(z(this.h,this));else{this.g=new Wd(z(this.h,this));$d(this.g,"setTimeout");$d(this.g,"setInterval");a=this.g;b=q("window");c=["requestAnimationFrame","mozRequestAnimationFrame","webkitAnimationFrame","msRequestAnimationFrame"];for(var d=0;d<c.length;d++){var e=c[d];c[d]in b&&$d(a,e)}a=this.g;Qb=!0;b=z(a.g,a);for(c=0;c<Ob.length;c++)Ob[c](b);Pb.push(a)}}A(ae,U);
function ce(a){S.call(this,"a");this.error=a}A(ce,S);function be(a,b,c,d){var e=new X;Nd.push(e);var f=e.i,g=e.la,h="ready".toString(),m=f.g[h];m||(m=f.g[h]=[],f.h++);-1<fd(m,g,void 0,void 0)||(f=new bd(g,f.src,h),f.O=!0,m.push(f));Od(e,a,b,c,d)}
ae.prototype.h=function(a,b){var c=q("window.location.href");if(w(a))a={message:a,name:"Unknown error",lineNumber:"Not available",fileName:c,stack:"Not available"};else{var d,e,f=!1;try{d=a.lineNumber||a.sa||"Not available"}catch(Da){d="Not available",f=!0}try{e=a.fileName||a.filename||a.sourceURL||p.$googDebugFname||c}catch(Da){e="Not available",f=!0}a=!f&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name?a:{message:a.message||"Not available",name:a.name||"UnknownError",lineNumber:d,fileName:e,
stack:a.stack||"Not available"}}b=b?Pa(b):{};if(this.m)try{this.m(a,b)}catch(Da){}d=a.message.substring(0,1900);c=a.stack;try{var g=zc(this.o,"script",a.fileName,"error",d,"line",a.lineNumber),h;a:{var m=this.j,n;for(n in m){h=!1;break a}h=!0}h||(g=vc(yc([g],this.j)));h={};h.trace=c;if(b)for(var Ea in b)h["context."+Ea]=b[Ea];var Fa,Tc=yc([],h);Tc[0]="";Fa=Tc.join("");x(null)&&(Fa=Fa.substring(0,null));this.s(g,"POST",Fa,this.v)}catch(Da){}try{V(this,new ce(a))}catch(Da){}};
ae.prototype.w=function(){var a=this.g;a&&"function"==typeof a.R&&a.R();ae.I.w.call(this)};function Z(a,b,c,d,e,f,g){e=new ae(e||"//www.google.com/tools/feedback/jserror",void 0,!0);this.i=z(e.h,e);this.s=a;this.B=c||"en";this.v=b||!1;this.A=!!d;this.o=f;this.h=this.g=null;this.u=g}function de(a,b,c){if(null!=b&&null!=c){var d={};d[b]=c;N(Id(a.j,d),a.i)}}k=Z.prototype;k.aa=function(a){this.g=a;de(this,this.g,this.l)};k.ba=function(a){this.h=a;de(this,this.h,this.m)};k.wa=function(a){this.l=a;de(this,this.g,this.l)};k.xa=function(a){this.m=a;de(this,this.h,this.m)};
k.ua=function(a){null!=this.g&&N(Kd(this.j,this.g,a),this.i)};k.va=function(a){null!=this.h&&N(Kd(this.j,this.h,a),this.i)};k.da=function(){null==this.g&&null==this.h||N(Jd(this.j),this.i)};Z.prototype.setChatPool=Z.prototype.aa;Z.prototype.setHangoutPool=Z.prototype.ba;Z.prototype.setChatCallback=Z.prototype.wa;Z.prototype.setHangoutCallback=Z.prototype.xa;Z.prototype.requestChatSupport=Z.prototype.ua;Z.prototype.requestHangoutSupport=Z.prototype.va;Z.prototype.getAvailabilities=Z.prototype.da;function ee(){}ee.prototype.set=t;ee.prototype.get=t;ee.prototype.S=t;function fe(){}A(fe,ee);fe.prototype.C=t;fe.prototype.clear=function(){sb(this.C(!0),z(function(a){this.S(a)},this))};function ge(a){this.g=a}A(ge,fe);k=ge.prototype;k.set=function(a,b){try{this.g.setItem(a,b)}catch(c){if(0==this.g.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};k.get=function(a){a=this.g.getItem(a);if(!w(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};k.S=function(a){this.g.removeItem(a)};
k.C=function(a){var b=0,c=this.g,d=new I;d.next=function(){if(b>=c.length)throw H;var d=c.key(b++);if(a)return d;d=c.getItem(d);if(!w(d))throw"Storage mechanism: Invalid value was encountered";return d};return d};k.clear=function(){this.g.clear()};k.key=function(a){return this.g.key(a)};function he(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.g=a}A(he,ge);function ie(){this.g=new he}A(ie,R);ie.prototype.clear=function(){this.g.S("GOOGLE_HELP_SESSION_STATE")};function je(a,b){var c=a.serverUri||"//www.gstatic.com/feedback";p.GOOGLE_HELP_SESSION_ARGUMENTS=arguments;var d=window.document,e=d.createElement("script");e.src=c+"/session_load.js";d.body.appendChild(e)}ra("userfeedback.api.help.resumeOpenHelpSession",je);(function(a,b){var c=a.helpCenterPath,d=a.locale,e=a.authuser,f=a.escalationJSONString,g=!!a.useStagingServer,h=a.apiKey,m;m=document.body;var n;a:{n=9==m.nodeType?m:m.ownerDocument||m.document;if(n.defaultView&&n.defaultView.getComputedStyle&&(n=n.defaultView.getComputedStyle(m,null))){n=n.direction||n.getPropertyValue("direction")||"";break a}n=""}n||(n=m.currentStyle?m.currentStyle.direction:null);m="rtl"==(n||m.style&&m.style.direction);n=mb();if(null==n||null==n.top||null==n.top.document||mb().top.GOOGLE_HELP_CHAT_SUPPORT)c=
null;else{c=new Z(c,m,d,g,void 0,e,h);mb().top.GOOGLE_HELP_CHAT_SUPPORT=c;d={helpCenterName:c.s,localeName:c.B,source:1,rosterId:"roster-for-Google-Help",isRtl:c.v,alphaTestMode:!1,stagingMode:c.A,timeoutMs:2E4,authUser:c.o,apiKey:c.u};e=nb("DIV",{id:"roster-for-Google-Help",style:"display: none"});window.top.document.body.appendChild(e);try{c.j=new yd(d)}catch(Ea){c.i(Ea)}}d=new ie;f&&(d.clear(),f={ma:JSON.parse(f).ma},f.sessionTimestamp=(new Date).getTime(),d.g.set("GOOGLE_HELP_SESSION_STATE",Bb(f)));
if(f=d.g.get("GOOGLE_HELP_SESSION_STATE")){if(f=Ab(f),e=(new Date).getTime(),g=f.sessionTimestamp,!g||!x(g)||e>g+6E4)d.clear(),f=null}else f=null;d=(f||{}).escalationOptions;c&&d&&(f=d.hangout||{},(d=(d.chat||{}).chat_pool_id)&&c.aa(d),(f=f.hangout_pool_id)&&c.ba(f),c.da());je(a,b)}).apply(p,p.GOOGLE_HELP_CHAT_ARGUMENTS);}).call(this);
