Brak opisu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.js 54KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. (function() {/*
  2. Copyright The Closure Library Authors.
  3. SPDX-License-Identifier: Apache-2.0
  4. */
  5. var n;function aa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}function q(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}}var ba="function"==typeof Object.create?Object.create:function(a){function b(){}b.prototype=a;return new b},ca="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};
  6. function da(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");}var t=da(this);function u(a,b){if(b)a:{var c=t;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ca(c,a,{configurable:!0,writable:!0,value:b})}}var ea;
  7. if("function"==typeof Object.setPrototypeOf)ea=Object.setPrototypeOf;else{var fa;a:{var ha={a:!0},ia={};try{ia.__proto__=ha;fa=ia.a;break a}catch(a){}fa=!1}ea=fa?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var ja=ea;
  8. u("Symbol",function(a){function b(f){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return new c(d+(f||"")+"_"+e++,f)}function c(f,h){this.g=f;ca(this,"description",{configurable:!0,writable:!0,value:h})}if(a)return a;c.prototype.toString=function(){return this.g};var d="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",e=0;return b});
  9. u("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=t[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ca(d.prototype,a,{configurable:!0,writable:!0,value:function(){return ka(aa(this))}})}return a});function ka(a){a={next:a};a[Symbol.iterator]=function(){return this};return a}
  10. u("Promise",function(a){function b(h){this.g=0;this.i=void 0;this.h=[];this.o=!1;var k=this.j();try{h(k.resolve,k.reject)}catch(l){k.reject(l)}}function c(){this.g=null}function d(h){return h instanceof b?h:new b(function(k){k(h)})}if(a)return a;c.prototype.h=function(h){if(null==this.g){this.g=[];var k=this;this.i(function(){k.l()})}this.g.push(h)};var e=t.setTimeout;c.prototype.i=function(h){e(h,0)};c.prototype.l=function(){for(;this.g&&this.g.length;){var h=this.g;this.g=[];for(var k=0;k<h.length;++k){var l=
  11. h[k];h[k]=null;try{l()}catch(m){this.j(m)}}}this.g=null};c.prototype.j=function(h){this.i(function(){throw h;})};b.prototype.j=function(){function h(m){return function(p){l||(l=!0,m.call(k,p))}}var k=this,l=!1;return{resolve:h(this.B),reject:h(this.l)}};b.prototype.B=function(h){if(h===this)this.l(new TypeError("A Promise cannot resolve to itself"));else if(h instanceof b)this.D(h);else{a:switch(typeof h){case "object":var k=null!=h;break a;case "function":k=!0;break a;default:k=!1}k?this.A(h):this.m(h)}};
  12. b.prototype.A=function(h){var k=void 0;try{k=h.then}catch(l){this.l(l);return}"function"==typeof k?this.F(k,h):this.m(h)};b.prototype.l=function(h){this.s(2,h)};b.prototype.m=function(h){this.s(1,h)};b.prototype.s=function(h,k){if(0!=this.g)throw Error("Cannot settle("+h+", "+k+"): Promise already settled in state"+this.g);this.g=h;this.i=k;2===this.g&&this.C();this.u()};b.prototype.C=function(){var h=this;e(function(){if(h.v()){var k=t.console;"undefined"!==typeof k&&k.error(h.i)}},1)};b.prototype.v=
  13. function(){if(this.o)return!1;var h=t.CustomEvent,k=t.Event,l=t.dispatchEvent;if("undefined"===typeof l)return!0;"function"===typeof h?h=new h("unhandledrejection",{cancelable:!0}):"function"===typeof k?h=new k("unhandledrejection",{cancelable:!0}):(h=t.document.createEvent("CustomEvent"),h.initCustomEvent("unhandledrejection",!1,!0,h));h.promise=this;h.reason=this.i;return l(h)};b.prototype.u=function(){if(null!=this.h){for(var h=0;h<this.h.length;++h)f.h(this.h[h]);this.h=null}};var f=new c;b.prototype.D=
  14. function(h){var k=this.j();h.ha(k.resolve,k.reject)};b.prototype.F=function(h,k){var l=this.j();try{h.call(k,l.resolve,l.reject)}catch(m){l.reject(m)}};b.prototype.then=function(h,k){function l(C,F){return"function"==typeof C?function(M){try{m(C(M))}catch(T){p(T)}}:F}var m,p,r=new b(function(C,F){m=C;p=F});this.ha(l(h,m),l(k,p));return r};b.prototype.catch=function(h){return this.then(void 0,h)};b.prototype.ha=function(h,k){function l(){switch(m.g){case 1:h(m.i);break;case 2:k(m.i);break;default:throw Error("Unexpected state: "+
  15. m.g);}}var m=this;null==this.h?f.h(l):this.h.push(l);this.o=!0};b.resolve=d;b.reject=function(h){return new b(function(k,l){l(h)})};b.race=function(h){return new b(function(k,l){for(var m=q(h),p=m.next();!p.done;p=m.next())d(p.value).ha(k,l)})};b.all=function(h){var k=q(h),l=k.next();return l.done?d([]):new b(function(m,p){function r(M){return function(T){C[M]=T;F--;0==F&&m(C)}}var C=[],F=0;do C.push(void 0),F++,d(l.value).ha(r(C.length-1),p),l=k.next();while(!l.done)})};return b});
  16. function la(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e}u("Array.prototype.values",function(a){return a?a:function(){return la(this,function(b,c){return c})}});u("Array.prototype.keys",function(a){return a?a:function(){return la(this,function(b){return b})}});function v(a,b){return Object.prototype.hasOwnProperty.call(a,b)}
  17. u("WeakMap",function(a){function b(l){this.g=(k+=Math.random()+1).toString();if(l){l=q(l);for(var m;!(m=l.next()).done;)m=m.value,this.set(m[0],m[1])}}function c(){}function d(l){var m=typeof l;return"object"===m&&null!==l||"function"===m}function e(l){if(!v(l,h)){var m=new c;ca(l,h,{value:m})}}function f(l){var m=Object[l];m&&(Object[l]=function(p){if(p instanceof c)return p;Object.isExtensible(p)&&e(p);return m(p)})}if(function(){if(!a||!Object.seal)return!1;try{var l=Object.seal({}),m=Object.seal({}),
  18. p=new a([[l,2],[m,3]]);if(2!=p.get(l)||3!=p.get(m))return!1;p.delete(l);p.set(m,4);return!p.has(l)&&4==p.get(m)}catch(r){return!1}}())return a;var h="$jscomp_hidden_"+Math.random();f("freeze");f("preventExtensions");f("seal");var k=0;b.prototype.set=function(l,m){if(!d(l))throw Error("Invalid WeakMap key");e(l);if(!v(l,h))throw Error("WeakMap key fail: "+l);l[h][this.g]=m;return this};b.prototype.get=function(l){return d(l)&&v(l,h)?l[h][this.g]:void 0};b.prototype.has=function(l){return d(l)&&v(l,
  19. h)&&v(l[h],this.g)};b.prototype.delete=function(l){return d(l)&&v(l,h)&&v(l[h],this.g)?delete l[h][this.g]:!1};return b});
  20. u("Map",function(a){function b(){var k={};return k.T=k.next=k.head=k}function c(k,l){var m=k.g;return ka(function(){if(m){for(;m.head!=k.g;)m=m.T;for(;m.next!=m.head;)return m=m.next,{done:!1,value:l(m)};m=null}return{done:!0,value:void 0}})}function d(k,l){var m=l&&typeof l;"object"==m||"function"==m?f.has(l)?m=f.get(l):(m=""+ ++h,f.set(l,m)):m="p_"+l;var p=k.h[m];if(p&&v(k.h,m))for(k=0;k<p.length;k++){var r=p[k];if(l!==l&&r.key!==r.key||l===r.key)return{id:m,list:p,index:k,I:r}}return{id:m,list:p,
  21. index:-1,I:void 0}}function e(k){this.h={};this.g=b();this.size=0;if(k){k=q(k);for(var l;!(l=k.next()).done;)l=l.value,this.set(l[0],l[1])}}if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var k=Object.seal({x:4}),l=new a(q([[k,"s"]]));if("s"!=l.get(k)||1!=l.size||l.get({x:4})||l.set({x:4},"t")!=l||2!=l.size)return!1;var m=l.entries(),p=m.next();if(p.done||p.value[0]!=k||"s"!=p.value[1])return!1;p=m.next();return p.done||4!=p.value[0].x||
  22. "t"!=p.value[1]||!m.next().done?!1:!0}catch(r){return!1}}())return a;var f=new WeakMap;e.prototype.set=function(k,l){k=0===k?0:k;var m=d(this,k);m.list||(m.list=this.h[m.id]=[]);m.I?m.I.value=l:(m.I={next:this.g,T:this.g.T,head:this.g,key:k,value:l},m.list.push(m.I),this.g.T.next=m.I,this.g.T=m.I,this.size++);return this};e.prototype.delete=function(k){k=d(this,k);return k.I&&k.list?(k.list.splice(k.index,1),k.list.length||delete this.h[k.id],k.I.T.next=k.I.next,k.I.next.T=k.I.T,k.I.head=null,this.size--,
  23. !0):!1};e.prototype.clear=function(){this.h={};this.g=this.g.T=b();this.size=0};e.prototype.has=function(k){return!!d(this,k).I};e.prototype.get=function(k){return(k=d(this,k).I)&&k.value};e.prototype.entries=function(){return c(this,function(k){return[k.key,k.value]})};e.prototype.keys=function(){return c(this,function(k){return k.key})};e.prototype.values=function(){return c(this,function(k){return k.value})};e.prototype.forEach=function(k,l){for(var m=this.entries(),p;!(p=m.next()).done;)p=p.value,
  24. k.call(l,p[1],p[0],this)};e.prototype[Symbol.iterator]=e.prototype.entries;var h=0;return e});u("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,f=0;f<e;f++){var h=d[f];if(b.call(c,h,f,d)){b=h;break a}}b=void 0}return b}});u("Array.prototype.entries",function(a){return a?a:function(){return la(this,function(b,c){return[b,c]})}});
  25. u("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(k){return k};var e=[],f="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof f){b=f.call(b);for(var h=0;!(f=b.next()).done;)e.push(c.call(d,f.value,h++))}else for(f=b.length,h=0;h<f;h++)e.push(c.call(d,b[h],h));return e}});
  26. u("Set",function(a){function b(c){this.g=new Map;if(c){c=q(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.g.size}if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(q([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||
  27. f.value[1]!=f.value[0]?!1:e.next().done}catch(h){return!1}}())return a;b.prototype.add=function(c){c=0===c?0:c;this.g.set(c,c);this.size=this.g.size;return this};b.prototype.delete=function(c){c=this.g.delete(c);this.size=this.g.size;return c};b.prototype.clear=function(){this.g.clear();this.size=0};b.prototype.has=function(c){return this.g.has(c)};b.prototype.entries=function(){return this.g.entries()};b.prototype.values=function(){return this.g.values()};b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]=
  28. b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.g.forEach(function(f){return c.call(d,f,f,e)})};return b});var goog=goog||{},w=this||self;function ma(){}function na(a){var b=typeof a;b="object"!=b?b:a?Array.isArray(a)?"array":b:"null";return"array"==b||"object"==b&&"number"==typeof a.length}function x(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function oa(a){return Object.prototype.hasOwnProperty.call(a,pa)&&a[pa]||(a[pa]=++qa)}
  29. var pa="closure_uid_"+(1E9*Math.random()>>>0),qa=0;function ra(a,b,c){return a.call.apply(a.bind,arguments)}function sa(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}}
  30. function y(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?y=ra:y=sa;return y.apply(null,arguments)}function ta(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}}
  31. function z(a,b){function c(){}c.prototype=b.prototype;a.X=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Zb=function(d,e,f){for(var h=Array(arguments.length-2),k=2;k<arguments.length;k++)h[k-2]=arguments[k];return b.prototype[e].apply(d,h)}};function A(){0!=ua&&(va[oa(this)]=this);this.s=this.s;this.o=this.o}var ua=0,va={};A.prototype.s=!1;A.prototype.qa=function(){if(!this.s&&(this.s=!0,this.N(),0!=ua)){var a=oa(this);if(0!=ua&&this.o&&0<this.o.length)throw Error(this+" did not empty its onDisposeCallbacks queue. This probably means it overrode dispose() or disposeInternal() without calling the superclass' method.");delete va[a]}};A.prototype.N=function(){if(this.o)for(;this.o.length;)this.o.shift()()};var wa=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};function xa(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[]}
  32. function ya(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(na(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var h=0;h<f;h++)a[e+h]=d[h]}else a.push(d)}};function B(a,b){this.type=a;this.g=this.target=b;this.defaultPrevented=!1}B.prototype.h=function(){this.defaultPrevented=!0};var za=function(){if(!w.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{w.addEventListener("test",ma,b),w.removeEventListener("test",ma,b)}catch(c){}return a}();function Aa(a){return/^[\s\xa0]*$/.test(a)}var Ba=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};function Ca(a,b){return a<b?-1:a>b?1:0};function Da(){var a=w.navigator;return a&&(a=a.userAgent)?a:""}function D(a){return-1!=Da().indexOf(a)};function Ea(a){Ea[" "](a);return a}Ea[" "]=ma;function Fa(a){var b=Ga;return Object.prototype.hasOwnProperty.call(b,9)?b[9]:b[9]=a(9)};var Ha=D("Opera"),E=D("Trident")||D("MSIE"),Ia=D("Edge"),Ja=Ia||E,Ka=D("Gecko")&&!(-1!=Da().toLowerCase().indexOf("webkit")&&!D("Edge"))&&!(D("Trident")||D("MSIE"))&&!D("Edge"),La=-1!=Da().toLowerCase().indexOf("webkit")&&!D("Edge");function Ma(){var a=w.document;return a?a.documentMode:void 0}var Na;
  33. a:{var Oa="",Pa=function(){var a=Da();if(Ka)return/rv:([^\);]+)(\)|;)/.exec(a);if(Ia)return/Edge\/([\d\.]+)/.exec(a);if(E)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(La)return/WebKit\/(\S+)/.exec(a);if(Ha)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Pa&&(Oa=Pa?Pa[1]:"");if(E){var Qa=Ma();if(null!=Qa&&Qa>parseFloat(Oa)){Na=String(Qa);break a}}Na=Oa}var Ga={};
  34. function Ra(){return Fa(function(){for(var a=0,b=Ba(String(Na)).split("."),c=Ba("9").split("."),d=Math.max(b.length,c.length),e=0;0==a&&e<d;e++){var f=b[e]||"",h=c[e]||"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(0==f[0].length&&0==h[0].length)break;a=Ca(0==f[1].length?0:parseInt(f[1],10),0==h[1].length?0:parseInt(h[1],10))||Ca(0==f[2].length,0==h[2].length)||Ca(f[2],h[2]);f=f[3];h=h[3]}while(0==a)}return 0<=a})}var Sa;
  35. if(w.document&&E){var Ta=Ma();Sa=Ta?Ta:parseInt(Na,10)||void 0}else Sa=void 0;var Ua=Sa;function G(a,b){B.call(this,a?a.type:"");this.relatedTarget=this.g=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.i=null;if(a){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.g=b;if(b=a.relatedTarget){if(Ka){a:{try{Ea(b.nodeName);var e=!0;break a}catch(f){}e=
  36. !1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.key=a.key||"";this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=
  37. a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Va[a.pointerType]||"";this.state=a.state;this.i=a;a.defaultPrevented&&G.X.h.call(this)}}z(G,B);var Va={2:"touch",3:"pen",4:"mouse"};G.prototype.h=function(){G.X.h.call(this);var a=this.i;a.preventDefault?a.preventDefault():a.returnValue=!1};var Wa="closure_listenable_"+(1E6*Math.random()|0);var Xa=0;function Ya(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.ka=e;this.key=++Xa;this.da=this.ga=!1}function Za(a){a.da=!0;a.listener=null;a.proxy=null;a.src=null;a.ka=null};function $a(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function ab(a){var b={},c;for(c in a)b[c]=a[c];return b}var bb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function cb(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<bb.length;f++)c=bb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};function db(a){this.src=a;this.g={};this.h=0}db.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.g[f];a||(a=this.g[f]=[],this.h++);var h=eb(a,b,d,e);-1<h?(b=a[h],c||(b.ga=!1)):(b=new Ya(b,this.src,f,!!d,e),b.ga=c,a.push(b));return b};function fb(a,b){var c=b.type;if(c in a.g){var d=a.g[c],e=wa(d,b),f;(f=0<=e)&&Array.prototype.splice.call(d,e,1);f&&(Za(b),0==a.g[c].length&&(delete a.g[c],a.h--))}}
  38. function eb(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.da&&f.listener==b&&f.capture==!!c&&f.ka==d)return e}return-1};var gb="closure_lm_"+(1E6*Math.random()|0),hb={},ib=0;function jb(a,b,c,d,e){if(d&&d.once)return kb(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)jb(a,b[f],c,d,e);return null}c=lb(c);return a&&a[Wa]?a.O(b,c,x(d)?!!d.capture:!!d,e):mb(a,b,c,!1,d,e)}
  39. function mb(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var h=x(e)?!!e.capture:!!e,k=nb(a);k||(a[gb]=k=new db(a));c=k.add(b,c,d,h,f);if(c.proxy)return c;d=ob();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)za||(e=h),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(pb(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");ib++;return c}
  40. function ob(){function a(c){return b.call(a.src,a.listener,c)}var b=qb;return a}function kb(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)kb(a,b[f],c,d,e);return null}c=lb(c);return a&&a[Wa]?a.P(b,c,x(d)?!!d.capture:!!d,e):mb(a,b,c,!0,d,e)}
  41. function rb(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)rb(a,b[f],c,d,e);else(d=x(d)?!!d.capture:!!d,c=lb(c),a&&a[Wa])?(a=a.i,b=String(b).toString(),b in a.g&&(f=a.g[b],c=eb(f,c,d,e),-1<c&&(Za(f[c]),Array.prototype.splice.call(f,c,1),0==f.length&&(delete a.g[b],a.h--)))):a&&(a=nb(a))&&(b=a.g[b.toString()],a=-1,b&&(a=eb(b,c,d,e)),(c=-1<a?b[a]:null)&&sb(c))}
  42. function sb(a){if("number"!==typeof a&&a&&!a.da){var b=a.src;if(b&&b[Wa])fb(b.i,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(pb(c),d):b.addListener&&b.removeListener&&b.removeListener(d);ib--;(c=nb(b))?(fb(c,a),0==c.h&&(c.src=null,b[gb]=null)):Za(a)}}}function pb(a){return a in hb?hb[a]:hb[a]="on"+a}function qb(a,b){if(a.da)a=!0;else{b=new G(b,this);var c=a.listener,d=a.ka||a.src;a.ga&&sb(a);a=c.call(d,b)}return a}
  43. function nb(a){a=a[gb];return a instanceof db?a:null}var tb="__closure_events_fn_"+(1E9*Math.random()>>>0);function lb(a){if("function"===typeof a)return a;a[tb]||(a[tb]=function(b){return a.handleEvent(b)});return a[tb]};function H(){A.call(this);this.i=new db(this);this.R=this;this.J=null}z(H,A);H.prototype[Wa]=!0;H.prototype.removeEventListener=function(a,b,c,d){rb(this,a,b,c,d)};
  44. function I(a,b){var c,d=a.J;if(d)for(c=[];d;d=d.J)c.push(d);a=a.R;d=b.type||b;if("string"===typeof b)b=new B(b,a);else if(b instanceof B)b.target=b.target||a;else{var e=b;b=new B(d,a);cb(b,e)}e=!0;if(c)for(var f=c.length-1;0<=f;f--){var h=b.g=c[f];e=ub(h,d,!0,b)&&e}h=b.g=a;e=ub(h,d,!0,b)&&e;e=ub(h,d,!1,b)&&e;if(c)for(f=0;f<c.length;f++)h=b.g=c[f],e=ub(h,d,!1,b)&&e}
  45. H.prototype.N=function(){H.X.N.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,Za(d[e]);delete a.g[c];a.h--}}this.J=null};H.prototype.O=function(a,b,c,d){return this.i.add(String(a),b,!1,c,d)};H.prototype.P=function(a,b,c,d){return this.i.add(String(a),b,!0,c,d)};
  46. function ub(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 h=b[f];if(h&&!h.da&&h.capture==c){var k=h.listener,l=h.ka||h.src;h.ga&&fb(a.i,h);e=!1!==k.call(l,d)&&e}}return e&&!d.defaultPrevented};var vb=w.JSON.stringify;function wb(a,b){this.i=a;this.j=b;this.h=0;this.g=null}wb.prototype.get=function(){if(0<this.h){this.h--;var a=this.g;this.g=a.next;a.next=null}else a=this.i();return a};function xb(){this.h=this.g=null}xb.prototype.add=function(a,b){var c=yb.get();c.set(a,b);this.h?this.h.next=c:this.g=c;this.h=c};function zb(){var a=Ab,b=null;a.g&&(b=a.g,a.g=a.g.next,a.g||(a.h=null),b.next=null);return b}var yb=new wb(function(){return new Bb},function(a){return a.reset()});function Bb(){this.next=this.g=this.h=null}Bb.prototype.set=function(a,b){this.h=a;this.g=b;this.next=null};Bb.prototype.reset=function(){this.next=this.g=this.h=null};function Cb(a){w.setTimeout(function(){throw a;},0)};function Db(a,b){Eb||Fb();Gb||(Eb(),Gb=!0);Ab.add(a,b)}var Eb;function Fb(){var a=w.Promise.resolve(void 0);Eb=function(){a.then(Hb)}}var Gb=!1,Ab=new xb;function Hb(){for(var a;a=zb();){try{a.h.call(a.g)}catch(c){Cb(c)}var b=yb;b.j(a);100>b.h&&(b.h++,a.next=b.g,b.g=a)}Gb=!1};function Ib(a,b){H.call(this);this.h=a||1;this.g=b||w;this.j=y(this.ob,this);this.l=Date.now()}z(Ib,H);n=Ib.prototype;n.ea=!1;n.S=null;n.ob=function(){if(this.ea){var a=Date.now()-this.l;0<a&&a<.8*this.h?this.S=this.g.setTimeout(this.j,this.h-a):(this.S&&(this.g.clearTimeout(this.S),this.S=null),I(this,"tick"),this.ea&&(Jb(this),this.start()))}};n.start=function(){this.ea=!0;this.S||(this.S=this.g.setTimeout(this.j,this.h),this.l=Date.now())};
  47. function Jb(a){a.ea=!1;a.S&&(a.g.clearTimeout(a.S),a.S=null)}n.N=function(){Ib.X.N.call(this);Jb(this);delete this.g};function Kb(a,b,c){if("function"===typeof a)c&&(a=y(a,c));else if(a&&"function"==typeof a.handleEvent)a=y(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:w.setTimeout(a,b||0)};function J(a,b,c){A.call(this);this.m=null!=c?a.bind(c):a;this.j=b;this.h=null;this.i=!1;this.g=null}J.prototype=ba(A.prototype);J.prototype.constructor=J;if(ja)ja(J,A);else for(var Lb in A)if("prototype"!=Lb)if(Object.defineProperties){var Mb=Object.getOwnPropertyDescriptor(A,Lb);Mb&&Object.defineProperty(J,Lb,Mb)}else J[Lb]=A[Lb];J.X=A.prototype;J.prototype.l=function(a){this.h=arguments;this.g?this.i=!0:Nb(this)};
  48. J.prototype.N=function(){A.prototype.N.call(this);this.g&&(w.clearTimeout(this.g),this.g=null,this.i=!1,this.h=null)};function Nb(a){a.g=Kb(function(){a.g=null;a.i&&(a.i=!1,Nb(a))},a.j);var b=a.h;a.h=null;a.m.apply(null,b)};function Ob(a){A.call(this);this.h=a;this.g={}}z(Ob,A);var Pb=[];function Qb(a,b,c,d){Array.isArray(c)||(c&&(Pb[0]=c.toString()),c=Pb);for(var e=0;e<c.length;e++){var f=jb(b,c[e],d||a.handleEvent,!1,a.h||a);if(!f)break;a.g[f.key]=f}}function Rb(a){$a(a.g,function(b,c){this.g.hasOwnProperty(c)&&sb(b)},a);a.g={}}Ob.prototype.N=function(){Ob.X.N.call(this);Rb(this)};Ob.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function Sb(){this.g=!0}Sb.prototype.Da=function(){this.g=!1};function Tb(a,b,c,d,e,f){a.info(function(){if(a.g)if(f){var h="";for(var k=f.split("&"),l=0;l<k.length;l++){var m=k[l].split("=");if(1<m.length){var p=m[0];m=m[1];var r=p.split("_");h=2<=r.length&&"type"==r[1]?h+(p+"="+m+"&"):h+(p+"=redacted&")}}}else h=null;else h=f;return"XMLHTTP REQ ("+d+") [attempt "+e+"]: "+b+"\n"+c+"\n"+h})}
  49. function Ub(a,b,c,d,e,f,h){a.info(function(){return"XMLHTTP RESP ("+d+") [ attempt "+e+"]: "+b+"\n"+c+"\n"+f+" "+h})}function K(a,b,c,d){a.info(function(){return"XMLHTTP TEXT ("+b+"): "+Vb(a,c)+(d?" "+d:"")})}function Wb(a,b){a.info(function(){return"TIMEOUT: "+b})}Sb.prototype.info=function(){};
  50. function Vb(a,b){if(!a.g)return b;if(!b)return null;try{var c=JSON.parse(b);if(c)for(a=0;a<c.length;a++)if(Array.isArray(c[a])){var d=c[a];if(!(2>d.length)){var e=d[1];if(Array.isArray(e)&&!(1>e.length)){var f=e[0];if("noop"!=f&&"stop"!=f&&"close"!=f)for(var h=1;h<e.length;h++)e[h]=""}}}return vb(c)}catch(k){return b}};var L={},Xb=null;function Yb(){return Xb=Xb||new H}L.Sa="serverreachability";function Zb(a){B.call(this,L.Sa,a)}z(Zb,B);function $b(a){var b=Yb();I(b,new Zb(b,a))}L.STAT_EVENT="statevent";function ac(a,b){B.call(this,L.STAT_EVENT,a);this.stat=b}z(ac,B);function N(a){var b=Yb();I(b,new ac(b,a))}L.Ta="timingevent";function bc(a,b){B.call(this,L.Ta,a);this.size=b}z(bc,B);
  51. function cc(a,b){if("function"!==typeof a)throw Error("Fn must not be null and must be a function");return w.setTimeout(function(){a()},b)};var dc={NO_ERROR:0,pb:1,Cb:2,Bb:3,wb:4,Ab:5,Db:6,Pa:7,TIMEOUT:8,Gb:9};var ec={ub:"complete",Qb:"success",Qa:"error",Pa:"abort",Ib:"ready",Jb:"readystatechange",TIMEOUT:"timeout",Eb:"incrementaldata",Hb:"progress",xb:"downloadprogress",Yb:"uploadprogress"};function fc(){}fc.prototype.h=null;function gc(a){return a.h||(a.h=a.i())};function hc(){}var ic={OPEN:"a",tb:"b",Qa:"c",Fb:"d"};function jc(){B.call(this,"d")}z(jc,B);function kc(){B.call(this,"c")}z(kc,B);var lc;function mc(){}z(mc,fc);mc.prototype.g=function(){return new XMLHttpRequest};mc.prototype.i=function(){return{}};lc=new mc;function nc(a,b,c,d){this.l=a;this.j=b;this.m=c;this.W=d||1;this.U=new Ob(this);this.P=oc;a=Ja?125:void 0;this.V=new Ib(a);this.H=null;this.i=!1;this.s=this.A=this.v=this.L=this.F=this.Y=this.B=null;this.D=[];this.g=null;this.C=0;this.o=this.u=null;this.$=-1;this.J=!1;this.O=0;this.M=null;this.ba=this.K=this.aa=this.R=!1;this.h=new pc}function pc(){this.i=null;this.g="";this.h=!1}var oc=45E3,qc={},rc={};n=nc.prototype;n.setTimeout=function(a){this.P=a};
  52. function sc(a,b,c){a.L=1;a.v=tc(O(b));a.s=c;a.R=!0;uc(a,null)}function uc(a,b){a.F=Date.now();vc(a);a.A=O(a.v);var c=a.A,d=a.W;Array.isArray(d)||(d=[String(d)]);wc(c.i,"t",d);a.C=0;c=a.l.H;a.h=new pc;a.g=xc(a.l,c?b:null,!a.s);0<a.O&&(a.M=new J(y(a.Oa,a,a.g),a.O));Qb(a.U,a.g,"readystatechange",a.lb);b=a.H?ab(a.H):{};a.s?(a.u||(a.u="POST"),b["Content-Type"]="application/x-www-form-urlencoded",a.g.fa(a.A,a.u,a.s,b)):(a.u="GET",a.g.fa(a.A,a.u,null,b));$b(1);Tb(a.j,a.u,a.A,a.m,a.W,a.s)}
  53. n.lb=function(a){a=a.target;var b=this.M;b&&3==P(a)?b.l():this.Oa(a)};
  54. n.Oa=function(a){try{if(a==this.g)a:{var b=P(this.g),c=this.g.Ha(),d=this.g.ca();if(!(3>b)&&(3!=b||Ja||this.g&&(this.h.h||this.g.ia()||yc(this.g)))){this.J||4!=b||7==c||(8==c||0>=d?$b(3):$b(2));zc(this);var e=this.g.ca();this.$=e;b:if(Ac(this)){var f=yc(this.g);a="";var h=f.length,k=4==P(this.g);if(!this.h.i){if("undefined"===typeof TextDecoder){Q(this);Bc(this);var l="";break b}this.h.i=new w.TextDecoder}for(c=0;c<h;c++)this.h.h=!0,a+=this.h.i.decode(f[c],{stream:k&&c==h-1});f.splice(0,h);this.h.g+=
  55. a;this.C=0;l=this.h.g}else l=this.g.ia();this.i=200==e;Ub(this.j,this.u,this.A,this.m,this.W,b,e);if(this.i){if(this.aa&&!this.K){b:{if(this.g){var m,p=this.g;if((m=p.g?p.g.getResponseHeader("X-HTTP-Initial-Response"):null)&&!Aa(m)){var r=m;break b}}r=null}if(e=r)K(this.j,this.m,e,"Initial handshake response via X-HTTP-Initial-Response"),this.K=!0,Cc(this,e);else{this.i=!1;this.o=3;N(12);Q(this);Bc(this);break a}}this.R?(Dc(this,b,l),Ja&&this.i&&3==b&&(Qb(this.U,this.V,"tick",this.kb),this.V.start())):
  56. (K(this.j,this.m,l,null),Cc(this,l));4==b&&Q(this);this.i&&!this.J&&(4==b?Ec(this.l,this):(this.i=!1,vc(this)))}else 400==e&&0<l.indexOf("Unknown SID")?(this.o=3,N(12)):(this.o=0,N(13)),Q(this),Bc(this)}}}catch(C){}finally{}};function Ac(a){return a.g?"GET"==a.u&&2!=a.L&&a.l.Ga:!1}
  57. function Dc(a,b,c){for(var d=!0,e;!a.J&&a.C<c.length;)if(e=Gc(a,c),e==rc){4==b&&(a.o=4,N(14),d=!1);K(a.j,a.m,null,"[Incomplete Response]");break}else if(e==qc){a.o=4;N(15);K(a.j,a.m,c,"[Invalid Chunk]");d=!1;break}else K(a.j,a.m,e,null),Cc(a,e);Ac(a)&&e!=rc&&e!=qc&&(a.h.g="",a.C=0);4!=b||0!=c.length||a.h.h||(a.o=1,N(16),d=!1);a.i=a.i&&d;d?0<c.length&&!a.ba&&(a.ba=!0,b=a.l,b.g==a&&b.ba&&!b.L&&(b.j.info("Great, no buffering proxy detected. Bytes received: "+c.length),Hc(b),b.L=!0,N(11))):(K(a.j,a.m,
  58. c,"[Invalid Chunked Response]"),Q(a),Bc(a))}n.kb=function(){if(this.g){var a=P(this.g),b=this.g.ia();this.C<b.length&&(zc(this),Dc(this,a,b),this.i&&4!=a&&vc(this))}};function Gc(a,b){var c=a.C,d=b.indexOf("\n",c);if(-1==d)return rc;c=Number(b.substring(c,d));if(isNaN(c))return qc;d+=1;if(d+c>b.length)return rc;b=b.substr(d,c);a.C=d+c;return b}n.cancel=function(){this.J=!0;Q(this)};function vc(a){a.Y=Date.now()+a.P;Ic(a,a.P)}
  59. function Ic(a,b){if(null!=a.B)throw Error("WatchDog timer not null");a.B=cc(y(a.jb,a),b)}function zc(a){a.B&&(w.clearTimeout(a.B),a.B=null)}n.jb=function(){this.B=null;var a=Date.now();0<=a-this.Y?(Wb(this.j,this.A),2!=this.L&&($b(3),N(17)),Q(this),this.o=2,Bc(this)):Ic(this,this.Y-a)};function Bc(a){0==a.l.G||a.J||Ec(a.l,a)}function Q(a){zc(a);var b=a.M;b&&"function"==typeof b.qa&&b.qa();a.M=null;Jb(a.V);Rb(a.U);a.g&&(b=a.g,a.g=null,b.abort(),b.qa())}
  60. function Cc(a,b){try{var c=a.l;if(0!=c.G&&(c.g==a||Jc(c.h,a)))if(!a.K&&Jc(c.h,a)&&3==c.G){try{var d=c.Ia.g.parse(b)}catch(Fc){d=null}if(Array.isArray(d)&&3==d.length){var e=d;if(0==e[0])a:{if(!c.u){if(c.g)if(c.g.F+3E3<a.F)Kc(c),Lc(c);else break a;Mc(c);N(18)}}else c.Ea=e[1],0<c.Ea-c.V&&37500>e[2]&&c.M&&0==c.A&&!c.v&&(c.v=cc(y(c.gb,c),6E3));if(1>=Nc(c.h)&&c.ma){try{c.ma()}catch(Fc){}c.ma=void 0}}else R(c,11)}else if((a.K||c.g==a)&&Kc(c),!Aa(b))for(e=c.Ia.g.parse(b),b=0;b<e.length;b++){var f=e[b];c.V=
  61. f[0];f=f[1];if(2==c.G)if("c"==f[0]){c.J=f[1];c.na=f[2];var h=f[3];null!=h&&(c.pa=h,c.j.info("VER="+c.pa));var k=f[4];null!=k&&(c.Fa=k,c.j.info("SVER="+c.Fa));var l=f[5];null!=l&&"number"===typeof l&&0<l&&(d=1.5*l,c.K=d,c.j.info("backChannelRequestTimeoutMs_="+d));d=c;var m=a.g;if(m){var p=m.g?m.g.getResponseHeader("X-Client-Wire-Protocol"):null;if(p){var r=d.h;r.g||-1==p.indexOf("spdy")&&-1==p.indexOf("quic")&&-1==p.indexOf("h2")||(r.j=r.l,r.g=new Set,r.h&&(Oc(r,r.h),r.h=null))}if(d.D){var C=m.g?
  62. m.g.getResponseHeader("X-HTTP-Session-Id"):null;C&&(d.Ca=C,S(d.F,d.D,C))}}c.G=3;c.l&&c.l.Aa();c.ba&&(c.R=Date.now()-a.F,c.j.info("Handshake RTT: "+c.R+"ms"));d=c;var F=a;d.va=Pc(d,d.H?d.na:null,d.Y);if(F.K){Qc(d.h,F);var M=F,T=d.K;T&&M.setTimeout(T);M.B&&(zc(M),vc(M));d.g=F}else Rc(d);0<c.i.length&&Sc(c)}else"stop"!=f[0]&&"close"!=f[0]||R(c,7);else 3==c.G&&("stop"==f[0]||"close"==f[0]?"stop"==f[0]?R(c,7):Tc(c):"noop"!=f[0]&&c.l&&c.l.za(f),c.A=0)}$b(4)}catch(Fc){}};function Uc(a){if(a.Z&&"function"==typeof a.Z)return a.Z();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(na(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}b=[];c=0;for(d in a)b[c++]=a[d];return b}
  63. function Vc(a){if(a.ra&&"function"==typeof a.ra)return a.ra();if(!a.Z||"function"!=typeof a.Z){if("undefined"!==typeof Map&&a instanceof Map)return Array.from(a.keys());if(!("undefined"!==typeof Set&&a instanceof Set)){if(na(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}b=[];c=0;for(var d in a)b[c++]=d;return b}}}
  64. function Wc(a,b){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,void 0);else if(na(a)||"string"===typeof a)Array.prototype.forEach.call(a,b,void 0);else for(var c=Vc(a),d=Uc(a),e=d.length,f=0;f<e;f++)b.call(void 0,d[f],c&&c[f],a)};var Xc=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function Yc(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};function U(a,b){this.g=this.s=this.j="";this.o=null;this.m=this.h="";this.l=!1;var c;a instanceof U?(this.l=void 0!==b?b:a.l,Zc(this,a.j),this.s=a.s,this.g=a.g,$c(this,a.o),this.h=a.h,ad(this,bd(a.i)),this.m=a.m):a&&(c=String(a).match(Xc))?(this.l=!!b,Zc(this,c[1]||"",!0),this.s=cd(c[2]||""),this.g=cd(c[3]||"",!0),$c(this,c[4]),this.h=cd(c[5]||"",!0),ad(this,c[6]||"",!0),this.m=cd(c[7]||"")):(this.l=!!b,this.i=new dd(null,this.l))}
  65. U.prototype.toString=function(){var a=[],b=this.j;b&&a.push(ed(b,fd,!0),":");var c=this.g;if(c||"file"==b)a.push("//"),(b=this.s)&&a.push(ed(b,fd,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.o,null!=c&&a.push(":",String(c));if(c=this.h)this.g&&"/"!=c.charAt(0)&&a.push("/"),a.push(ed(c,"/"==c.charAt(0)?gd:hd,!0));(c=this.i.toString())&&a.push("?",c);(c=this.m)&&a.push("#",ed(c,id));return a.join("")};
  66. U.prototype.resolve=function(a){var b=O(this),c=!!a.j;c?Zc(b,a.j):c=!!a.s;c?b.s=a.s:c=!!a.g;c?b.g=a.g:c=null!=a.o;var d=a.h;if(c)$c(b,a.o);else if(c=!!a.h){if("/"!=d.charAt(0))if(this.g&&!this.h)d="/"+d;else{var e=b.h.lastIndexOf("/");-1!=e&&(d=b.h.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=0==e.lastIndexOf("/",0);e=e.split("/");for(var f=[],h=0;h<e.length;){var k=e[h++];"."==k?d&&h==e.length&&f.push(""):".."==k?((1<f.length||1==f.length&&""!=
  67. f[0])&&f.pop(),d&&h==e.length&&f.push("")):(f.push(k),d=!0)}d=f.join("/")}else d=e}c?b.h=d:c=""!==a.i.toString();c?ad(b,bd(a.i)):c=!!a.m;c&&(b.m=a.m);return b};function O(a){return new U(a)}function Zc(a,b,c){a.j=c?cd(b,!0):b;a.j&&(a.j=a.j.replace(/:$/,""))}function $c(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.o=b}else a.o=null}function ad(a,b,c){b instanceof dd?(a.i=b,jd(a.i,a.l)):(c||(b=ed(b,kd)),a.i=new dd(b,a.l))}function S(a,b,c){a.i.set(b,c)}
  68. function tc(a){S(a,"zx",Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36));return a}function cd(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function ed(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,ld),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function ld(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}
  69. var fd=/[#\/\?@]/g,hd=/[#\?:]/g,gd=/[#\?]/g,kd=/[#\?@]/g,id=/#/g;function dd(a,b){this.h=this.g=null;this.i=a||null;this.j=!!b}function V(a){a.g||(a.g=new Map,a.h=0,a.i&&Yc(a.i,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))}n=dd.prototype;n.add=function(a,b){V(this);this.i=null;a=W(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.h+=1;return this};function md(a,b){V(a);b=W(a,b);a.g.has(b)&&(a.i=null,a.h-=a.g.get(b).length,a.g.delete(b))}
  70. function nd(a,b){V(a);b=W(a,b);return a.g.has(b)}n.forEach=function(a,b){V(this);this.g.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};n.ra=function(){V(this);for(var a=Array.from(this.g.values()),b=Array.from(this.g.keys()),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
  71. n.Z=function(a){V(this);var b=[];if("string"===typeof a)nd(this,a)&&(b=b.concat(this.g.get(W(this,a))));else{a=Array.from(this.g.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};n.set=function(a,b){V(this);this.i=null;a=W(this,a);nd(this,a)&&(this.h-=this.g.get(a).length);this.g.set(a,[b]);this.h+=1;return this};n.get=function(a,b){if(!a)return b;a=this.Z(a);return 0<a.length?String(a[0]):b};function wc(a,b,c){md(a,b);0<c.length&&(a.i=null,a.g.set(W(a,b),xa(c)),a.h+=c.length)}
  72. n.toString=function(){if(this.i)return this.i;if(!this.g)return"";for(var a=[],b=Array.from(this.g.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.Z(d);for(var f=0;f<d.length;f++){var h=e;""!==d[f]&&(h+="="+encodeURIComponent(String(d[f])));a.push(h)}}return this.i=a.join("&")};function bd(a){var b=new dd;b.i=a.i;a.g&&(b.g=new Map(a.g),b.h=a.h);return b}function W(a,b){b=String(b);a.j&&(b=b.toLowerCase());return b}
  73. function jd(a,b){b&&!a.j&&(V(a),a.i=null,a.g.forEach(function(c,d){var e=d.toLowerCase();d!=e&&(md(this,d),wc(this,e,c))},a));a.j=b};function od(a,b){this.h=a;this.g=b};function pd(a){this.l=a||qd;w.PerformanceNavigationTiming?(a=w.performance.getEntriesByType("navigation"),a=0<a.length&&("hq"==a[0].nextHopProtocol||"h2"==a[0].nextHopProtocol)):a=!!(w.g&&w.g.Ja&&w.g.Ja()&&w.g.Ja().cc);this.j=a?this.l:1;this.g=null;1<this.j&&(this.g=new Set);this.h=null;this.i=[]}var qd=10;function rd(a){return a.h?!0:a.g?a.g.size>=a.j:!1}function Nc(a){return a.h?1:a.g?a.g.size:0}function Jc(a,b){return a.h?a.h==b:a.g?a.g.has(b):!1}function Oc(a,b){a.g?a.g.add(b):a.h=b}
  74. function Qc(a,b){a.h&&a.h==b?a.h=null:a.g&&a.g.has(b)&&a.g.delete(b)}pd.prototype.cancel=function(){this.i=sd(this);if(this.h)this.h.cancel(),this.h=null;else if(this.g&&0!==this.g.size){for(var a=q(this.g.values()),b=a.next();!b.done;b=a.next())b.value.cancel();this.g.clear()}};function sd(a){if(null!=a.h)return a.i.concat(a.h.D);if(null!=a.g&&0!==a.g.size){var b=a.i;a=q(a.g.values());for(var c=a.next();!c.done;c=a.next())b=b.concat(c.value.D);return b}return xa(a.i)};function td(){}td.prototype.stringify=function(a){return w.JSON.stringify(a,void 0)};td.prototype.parse=function(a){return w.JSON.parse(a,void 0)};function ud(){this.g=new td}function vd(a,b,c){var d=c||"";try{Wc(a,function(e,f){var h=e;x(e)&&(h=vb(e));b.push(d+f+"="+encodeURIComponent(h))})}catch(e){throw b.push(d+"type="+encodeURIComponent("_badmap")),e;}};function wd(a,b){var c=new Sb;if(w.Image){var d=new Image;d.onload=ta(xd,c,d,"TestLoadImage: loaded",!0,b);d.onerror=ta(xd,c,d,"TestLoadImage: error",!1,b);d.onabort=ta(xd,c,d,"TestLoadImage: abort",!1,b);d.ontimeout=ta(xd,c,d,"TestLoadImage: timeout",!1,b);w.setTimeout(function(){if(d.ontimeout)d.ontimeout()},1E4);d.src=a}else b(!1)}function xd(a,b,c,d,e){try{b.onload=null,b.onerror=null,b.onabort=null,b.ontimeout=null,e(d)}catch(f){}};function yd(a){this.l=a.dc||null;this.j=a.mb||!1}z(yd,fc);yd.prototype.g=function(){return new zd(this.l,this.j)};yd.prototype.i=function(a){return function(){return a}}({});function zd(a,b){H.call(this);this.D=a;this.u=b;this.m=void 0;this.readyState=Ad;this.status=0;this.responseType=this.responseText=this.response=this.statusText="";this.onreadystatechange=null;this.v=new Headers;this.h=null;this.C="GET";this.B="";this.g=!1;this.A=this.j=this.l=null}z(zd,H);var Ad=0;n=zd.prototype;
  75. n.open=function(a,b){if(this.readyState!=Ad)throw this.abort(),Error("Error reopening a connection");this.C=a;this.B=b;this.readyState=1;Bd(this)};n.send=function(a){if(1!=this.readyState)throw this.abort(),Error("need to call open() first. ");this.g=!0;var b={headers:this.v,method:this.C,credentials:this.m,cache:void 0};a&&(b.body=a);(this.D||w).fetch(new Request(this.B,b)).then(this.Za.bind(this),this.ja.bind(this))};
  76. n.abort=function(){this.response=this.responseText="";this.v=new Headers;this.status=0;this.j&&this.j.cancel("Request was aborted.").catch(function(){});1<=this.readyState&&this.g&&4!=this.readyState&&(this.g=!1,Cd(this));this.readyState=Ad};
  77. n.Za=function(a){if(this.g&&(this.l=a,this.h||(this.status=this.l.status,this.statusText=this.l.statusText,this.h=a.headers,this.readyState=2,Bd(this)),this.g&&(this.readyState=3,Bd(this),this.g)))if("arraybuffer"===this.responseType)a.arrayBuffer().then(this.Xa.bind(this),this.ja.bind(this));else if("undefined"!==typeof w.ReadableStream&&"body"in a){this.j=a.body.getReader();if(this.u){if(this.responseType)throw Error('responseType must be empty for "streamBinaryChunks" mode responses.');this.response=
  78. []}else this.response=this.responseText="",this.A=new TextDecoder;Dd(this)}else a.text().then(this.Ya.bind(this),this.ja.bind(this))};function Dd(a){a.j.read().then(a.Wa.bind(a)).catch(a.ja.bind(a))}n.Wa=function(a){if(this.g){if(this.u&&a.value)this.response.push(a.value);else if(!this.u){var b=a.value?a.value:new Uint8Array(0);if(b=this.A.decode(b,{stream:!a.done}))this.response=this.responseText+=b}a.done?Cd(this):Bd(this);3==this.readyState&&Dd(this)}};
  79. n.Ya=function(a){this.g&&(this.response=this.responseText=a,Cd(this))};n.Xa=function(a){this.g&&(this.response=a,Cd(this))};n.ja=function(){this.g&&Cd(this)};function Cd(a){a.readyState=4;a.l=null;a.j=null;a.A=null;Bd(a)}n.setRequestHeader=function(a,b){this.v.append(a,b)};n.getResponseHeader=function(a){return this.h?this.h.get(a.toLowerCase())||"":""};
  80. n.getAllResponseHeaders=function(){if(!this.h)return"";for(var a=[],b=this.h.entries(),c=b.next();!c.done;)c=c.value,a.push(c[0]+": "+c[1]),c=b.next();return a.join("\r\n")};function Bd(a){a.onreadystatechange&&a.onreadystatechange.call(a)}Object.defineProperty(zd.prototype,"withCredentials",{get:function(){return"include"===this.m},set:function(a){this.m=a?"include":"same-origin"}});var Ed=w.JSON.parse;function X(a){H.call(this);this.headers=new Map;this.u=a||null;this.h=!1;this.C=this.g=null;this.H="";this.m=0;this.j="";this.l=this.F=this.v=this.D=!1;this.B=0;this.A=null;this.K=Fd;this.L=this.M=!1}z(X,H);var Fd="",Gd=/^https?$/i,Hd=["POST","PUT"];n=X.prototype;n.Na=function(a){this.M=a};
  81. n.fa=function(a,b,c,d){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.H+"; newUri="+a);b=b?b.toUpperCase():"GET";this.H=a;this.j="";this.m=0;this.D=!1;this.h=!0;this.g=this.u?this.u.g():lc.g();this.C=this.u?gc(this.u):gc(lc);this.g.onreadystatechange=y(this.Ka,this);try{this.F=!0,this.g.open(b,String(a),!0),this.F=!1}catch(h){Id(this,h);return}a=c||"";c=new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if("function"===
  82. typeof d.keys&&"function"===typeof d.get){e=q(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("Unknown input type for opt_headers: "+String(d));d=Array.from(c.keys()).find(function(h){return"content-type"==h.toLowerCase()});e=w.FormData&&a instanceof w.FormData;!(0<=wa(Hd,b))||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=q(c);for(d=b.next();!d.done;d=b.next())c=q(d.value),d=c.next().value,c=c.next().value,this.g.setRequestHeader(d,
  83. c);this.K&&(this.g.responseType=this.K);"withCredentials"in this.g&&this.g.withCredentials!==this.M&&(this.g.withCredentials=this.M);try{Jd(this),0<this.B&&((this.L=Kd(this.g))?(this.g.timeout=this.B,this.g.ontimeout=y(this.ta,this)):this.A=Kb(this.ta,this.B,this)),this.v=!0,this.g.send(a),this.v=!1}catch(h){Id(this,h)}};function Kd(a){return E&&Ra()&&"number"===typeof a.timeout&&void 0!==a.ontimeout}
  84. n.ta=function(){"undefined"!=typeof goog&&this.g&&(this.j="Timed out after "+this.B+"ms, aborting",this.m=8,I(this,"timeout"),this.abort(8))};function Id(a,b){a.h=!1;a.g&&(a.l=!0,a.g.abort(),a.l=!1);a.j=b;a.m=5;Ld(a);Md(a)}function Ld(a){a.D||(a.D=!0,I(a,"complete"),I(a,"error"))}n.abort=function(a){this.g&&this.h&&(this.h=!1,this.l=!0,this.g.abort(),this.l=!1,this.m=a||7,I(this,"complete"),I(this,"abort"),Md(this))};
  85. n.N=function(){this.g&&(this.h&&(this.h=!1,this.l=!0,this.g.abort(),this.l=!1),Md(this,!0));X.X.N.call(this)};n.Ka=function(){this.s||(this.F||this.v||this.l?Nd(this):this.ib())};n.ib=function(){Nd(this)};
  86. function Nd(a){if(a.h&&"undefined"!=typeof goog&&(!a.C[1]||4!=P(a)||2!=a.ca()))if(a.v&&4==P(a))Kb(a.Ka,0,a);else if(I(a,"readystatechange"),4==P(a)){a.h=!1;try{var b=a.ca();a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}var d;if(!(d=c)){var e;if(e=0===b){var f=String(a.H).match(Xc)[1]||null;if(!f&&w.self&&w.self.location){var h=w.self.location.protocol;f=h.substr(0,h.length-1)}e=!Gd.test(f?f.toLowerCase():"")}d=e}if(d)I(a,"complete"),I(a,
  87. "success");else{a.m=6;try{var k=2<P(a)?a.g.statusText:""}catch(l){k=""}a.j=k+" ["+a.ca()+"]";Ld(a)}}finally{Md(a)}}}function Md(a,b){if(a.g){Jd(a);var c=a.g,d=a.C[0]?ma:null;a.g=null;a.C=null;b||I(a,"ready");try{c.onreadystatechange=d}catch(e){}}}function Jd(a){a.g&&a.L&&(a.g.ontimeout=null);a.A&&(w.clearTimeout(a.A),a.A=null)}function P(a){return a.g?a.g.readyState:0}n.ca=function(){try{return 2<P(this)?this.g.status:-1}catch(a){return-1}};n.ia=function(){try{return this.g?this.g.responseText:""}catch(a){return""}};
  88. n.Va=function(a){if(this.g){var b=this.g.responseText;a&&0==b.indexOf(a)&&(b=b.substring(a.length));return Ed(b)}};function yc(a){try{if(!a.g)return null;if("response"in a.g)return a.g.response;switch(a.K){case Fd:case "text":return a.g.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.g)return a.g.mozResponseArrayBuffer}return null}catch(b){return null}}n.Ha=function(){return this.m};n.Ra=function(){return"string"===typeof this.j?this.j:String(this.j)};function Od(a){var b="";$a(a,function(c,d){b+=d;b+=":";b+=c;b+="\r\n"});return b}function Pd(a,b,c){a:{for(d in c){var d=!1;break a}d=!0}d||(c=Od(c),"string"===typeof a?(encodeURIComponent(String(b)),null!=c&&encodeURIComponent(String(c))):S(a,b,c))};function Qd(a,b,c){return c&&c.internalChannelParams?c.internalChannelParams[a]||b:b}
  89. function Rd(a){this.Fa=0;this.i=[];this.j=new Sb;this.na=this.va=this.F=this.Y=this.g=this.Ca=this.D=this.la=this.o=this.U=this.s=null;this.eb=this.W=0;this.bb=Qd("failFast",!1,a);this.M=this.v=this.u=this.m=this.l=null;this.$=!0;this.sa=this.Ea=this.V=-1;this.aa=this.A=this.C=0;this.$a=Qd("baseRetryDelayMs",5E3,a);this.fb=Qd("retryDelaySeedMs",1E4,a);this.cb=Qd("forwardChannelMaxRetries",2,a);this.wa=Qd("forwardChannelRequestTimeoutMs",2E4,a);this.ua=a&&a.xmlHttpFactory||void 0;this.Ga=a&&a.bc||
  90. !1;this.K=void 0;this.H=a&&a.supportsCrossDomainXhr||!1;this.J="";this.h=new pd(a&&a.concurrentRequestLimit);this.Ia=new ud;this.P=a&&a.fastHandshake||!1;this.O=a&&a.encodeInitMessageHeaders||!1;this.P&&this.O&&(this.O=!1);this.ab=a&&a.$b||!1;a&&a.Da&&this.j.Da();a&&a.forceLongPolling&&(this.$=!1);this.ba=!this.P&&this.$&&a&&a.detectBufferingProxy||!1;this.ma=void 0;this.R=0;this.L=!1;this.oa=this.B=null}n=Rd.prototype;n.pa=8;n.G=1;
  91. function Tc(a){Sd(a);if(3==a.G){var b=a.W++,c=O(a.F);S(c,"SID",a.J);S(c,"RID",b);S(c,"TYPE","terminate");Td(a,c);b=new nc(a,a.j,b,void 0);b.L=2;b.v=tc(O(c));c=!1;w.navigator&&w.navigator.sendBeacon&&(c=w.navigator.sendBeacon(b.v.toString(),""));!c&&w.Image&&((new Image).src=b.v,c=!0);c||(b.g=xc(b.l,null),b.g.fa(b.v));b.F=Date.now();vc(b)}Ud(a)}function Lc(a){a.g&&(Hc(a),a.g.cancel(),a.g=null)}
  92. function Sd(a){Lc(a);a.u&&(w.clearTimeout(a.u),a.u=null);Kc(a);a.h.cancel();a.m&&("number"===typeof a.m&&w.clearTimeout(a.m),a.m=null)}function Sc(a){rd(a.h)||a.m||(a.m=!0,Db(a.Ma,a),a.C=0)}function Vd(a,b){if(Nc(a.h)>=a.h.j-(a.m?1:0))return!1;if(a.m)return a.i=b.D.concat(a.i),!0;if(1==a.G||2==a.G||a.C>=(a.bb?0:a.cb))return!1;a.m=cc(y(a.Ma,a,b),Wd(a,a.C));a.C++;return!0}
  93. n.Ma=function(a){if(this.m)if(this.m=null,1==this.G){if(!a){this.W=Math.floor(1E5*Math.random());a=this.W++;var b=new nc(this,this.j,a,void 0),c=this.s;this.U&&(c?(c=ab(c),cb(c,this.U)):c=this.U);null!==this.o||this.O||(b.H=c,c=null);var d;if(this.P)a:{for(var e=d=0;e<this.i.length;e++){b:{var f=this.i[e];if("__data__"in f.g&&(f=f.g.__data__,"string"===typeof f)){f=f.length;break b}f=void 0}if(void 0===f)break;d+=f;if(4096<d){d=e;break a}if(4096===d||e===this.i.length-1){d=e+1;break a}}d=1E3}else d=
  94. 1E3;d=Xd(this,b,d);e=O(this.F);S(e,"RID",a);S(e,"CVER",22);this.D&&S(e,"X-HTTP-Session-Id",this.D);Td(this,e);c&&(this.O?d="headers="+encodeURIComponent(String(Od(c)))+"&"+d:this.o&&Pd(e,this.o,c));Oc(this.h,b);this.ab&&S(e,"TYPE","init");this.P?(S(e,"$req",d),S(e,"SID","null"),b.aa=!0,sc(b,e,null)):sc(b,e,d);this.G=2}}else 3==this.G&&(a?Yd(this,a):0==this.i.length||rd(this.h)||Yd(this))};
  95. function Yd(a,b){var c;b?c=b.m:c=a.W++;var d=O(a.F);S(d,"SID",a.J);S(d,"RID",c);S(d,"AID",a.V);Td(a,d);a.o&&a.s&&Pd(d,a.o,a.s);c=new nc(a,a.j,c,a.C+1);null===a.o&&(c.H=a.s);b&&(a.i=b.D.concat(a.i));b=Xd(a,c,1E3);c.setTimeout(Math.round(.5*a.wa)+Math.round(.5*a.wa*Math.random()));Oc(a.h,c);sc(c,d,b)}function Td(a,b){a.la&&$a(a.la,function(c,d){S(b,d,c)});a.l&&Wc({},function(c,d){S(b,d,c)})}
  96. function Xd(a,b,c){c=Math.min(a.i.length,c);var d=a.l?y(a.l.Ua,a.l,a):null;a:for(var e=a.i,f=-1;;){var h=["count="+c];-1==f?0<c?(f=e[0].h,h.push("ofs="+f)):f=0:h.push("ofs="+f);for(var k=!0,l=0;l<c;l++){var m=e[l].h,p=e[l].g;m-=f;if(0>m)f=Math.max(0,e[l].h-100),k=!1;else try{vd(p,h,"req"+m+"_")}catch(r){d&&d(p)}}if(k){d=h.join("&");break a}}a=a.i.splice(0,c);b.D=a;return d}function Rc(a){a.g||a.u||(a.aa=1,Db(a.La,a),a.A=0)}
  97. function Mc(a){if(a.g||a.u||3<=a.A)return!1;a.aa++;a.u=cc(y(a.La,a),Wd(a,a.A));a.A++;return!0}n.La=function(){this.u=null;Zd(this);if(this.ba&&!(this.L||null==this.g||0>=this.R)){var a=2*this.R;this.j.info("BP detection timer enabled: "+a);this.B=cc(y(this.hb,this),a)}};n.hb=function(){this.B&&(this.B=null,this.j.info("BP detection timeout reached."),this.j.info("Buffering proxy detected and switch to long-polling!"),this.M=!1,this.L=!0,N(10),Lc(this),Zd(this))};
  98. function Hc(a){null!=a.B&&(w.clearTimeout(a.B),a.B=null)}function Zd(a){a.g=new nc(a,a.j,"rpc",a.aa);null===a.o&&(a.g.H=a.s);a.g.O=0;var b=O(a.va);S(b,"RID","rpc");S(b,"SID",a.J);S(b,"CI",a.M?"0":"1");S(b,"AID",a.V);S(b,"TYPE","xmlhttp");Td(a,b);a.o&&a.s&&Pd(b,a.o,a.s);a.K&&a.g.setTimeout(a.K);var c=a.g;a=a.na;c.L=1;c.v=tc(O(b));c.s=null;c.R=!0;uc(c,a)}n.gb=function(){null!=this.v&&(this.v=null,Lc(this),Mc(this),N(19))};function Kc(a){null!=a.v&&(w.clearTimeout(a.v),a.v=null)}
  99. function Ec(a,b){var c=null;if(a.g==b){Kc(a);Hc(a);a.g=null;var d=2}else if(Jc(a.h,b))c=b.D,Qc(a.h,b),d=1;else return;if(0!=a.G)if(a.sa=b.$,b.i)if(1==d){c=b.s?b.s.length:0;b=Date.now()-b.F;var e=a.C;d=Yb();I(d,new bc(d,c,b,e));Sc(a)}else Rc(a);else if(e=b.o,3==e||0==e&&0<a.sa||!(1==d&&Vd(a,b)||2==d&&Mc(a)))switch(c&&0<c.length&&(b=a.h,b.i=b.i.concat(c)),e){case 1:R(a,5);break;case 4:R(a,10);break;case 3:R(a,6);break;default:R(a,2)}}
  100. function Wd(a,b){var c=a.$a+Math.floor(Math.random()*a.fb);a.l||(c*=2);return c*b}function R(a,b){a.j.info("Error code "+b);if(2==b){var c=null;a.l&&(c=null);var d=y(a.nb,a);c||(c=new U("//www.google.com/images/cleardot.gif"),w.location&&"http"==w.location.protocol||Zc(c,"https"),tc(c));wd(c.toString(),d)}else N(2);a.G=0;a.l&&a.l.ya(b);Ud(a);Sd(a)}n.nb=function(a){a?(this.j.info("Successfully pinged google.com"),N(2)):(this.j.info("Failed to ping google.com"),N(1))};
  101. function Ud(a){a.G=0;a.oa=[];if(a.l){var b=sd(a.h);if(0!=b.length||0!=a.i.length)ya(a.oa,b),ya(a.oa,a.i),a.h.i.length=0,xa(a.i),a.i.length=0;a.l.xa()}}function Pc(a,b,c){var d=c instanceof U?O(c):new U(c,void 0);if(""!=d.g)b&&(d.g=b+"."+d.g),$c(d,d.o);else{var e=w.location;d=e.protocol;b=b?b+"."+e.hostname:e.hostname;e=+e.port;var f=new U(null,void 0);d&&Zc(f,d);b&&(f.g=b);e&&$c(f,e);c&&(f.h=c);d=f}c=a.D;b=a.Ca;c&&b&&S(d,c,b);S(d,"VER",a.pa);Td(a,d);return d}
  102. function xc(a,b,c){if(b&&!a.H)throw Error("Can't create secondary domain capable XhrIo object.");b=c&&a.Ga&&!a.ua?new X(new yd({mb:!0})):new X(a.ua);b.Na(a.H);return b}function $d(){}n=$d.prototype;n.Aa=function(){};n.za=function(){};n.ya=function(){};n.xa=function(){};n.Ua=function(){};function ae(){if(E&&!(10<=Number(Ua)))throw Error("Environmental error: no available transport.");}ae.prototype.g=function(a,b){return new Y(a,b)};
  103. function Y(a,b){H.call(this);this.g=new Rd(b);this.l=a;this.h=b&&b.messageUrlParams||null;a=b&&b.messageHeaders||null;b&&b.clientProtocolHeaderRequired&&(a?a["X-Client-Protocol"]="webchannel":a={"X-Client-Protocol":"webchannel"});this.g.s=a;a=b&&b.initMessageHeaders||null;b&&b.messageContentType&&(a?a["X-WebChannel-Content-Type"]=b.messageContentType:a={"X-WebChannel-Content-Type":b.messageContentType});b&&b.Ba&&(a?a["X-WebChannel-Client-Profile"]=b.Ba:a={"X-WebChannel-Client-Profile":b.Ba});this.g.U=
  104. a;(a=b&&b.ac)&&!Aa(a)&&(this.g.o=a);this.A=b&&b.supportsCrossDomainXhr||!1;this.v=b&&b.sendRawJson||!1;(b=b&&b.httpSessionIdParam)&&!Aa(b)&&(this.g.D=b,a=this.h,null!==a&&b in a&&(a=this.h,b in a&&delete a[b]));this.j=new Z(this)}z(Y,H);Y.prototype.m=function(){this.g.l=this.j;this.A&&(this.g.H=!0);var a=this.g,b=this.l,c=this.h||void 0;N(0);a.Y=b;a.la=c||{};a.M=a.$;a.F=Pc(a,null,a.Y);Sc(a)};Y.prototype.close=function(){Tc(this.g)};
  105. Y.prototype.u=function(a){var b=this.g;if("string"===typeof a){var c={};c.__data__=a;a=c}else this.v&&(c={},c.__data__=vb(a),a=c);b.i.push(new od(b.eb++,a));3==b.G&&Sc(b)};Y.prototype.N=function(){this.g.l=null;delete this.j;Tc(this.g);delete this.g;Y.X.N.call(this)};function be(a){jc.call(this);var b=a.__sm__;if(b){a:{for(var c in b){a=c;break a}a=void 0}if(this.i=a)a=this.i,b=null!==b&&a in b?b[a]:void 0;this.data=b}else this.data=a}z(be,jc);function ce(){kc.call(this);this.status=1}z(ce,kc);
  106. function Z(a){this.g=a}z(Z,$d);Z.prototype.Aa=function(){I(this.g,"a")};Z.prototype.za=function(a){I(this.g,new be(a))};Z.prototype.ya=function(a){I(this.g,new ce(a))};Z.prototype.xa=function(){I(this.g,"b")};/*
  107. Copyright 2017 Google LLC
  108. Licensed under the Apache License, Version 2.0 (the "License");
  109. you may not use this file except in compliance with the License.
  110. You may obtain a copy of the License at
  111. http://www.apache.org/licenses/LICENSE-2.0
  112. Unless required by applicable law or agreed to in writing, software
  113. distributed under the License is distributed on an "AS IS" BASIS,
  114. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  115. See the License for the specific language governing permissions and
  116. limitations under the License.
  117. */
  118. ae.prototype.createWebChannel=ae.prototype.g;Y.prototype.send=Y.prototype.u;Y.prototype.open=Y.prototype.m;Y.prototype.close=Y.prototype.close;dc.NO_ERROR=0;dc.TIMEOUT=8;dc.HTTP_ERROR=6;ec.COMPLETE="complete";hc.EventType=ic;ic.OPEN="a";ic.CLOSE="b";ic.ERROR="c";ic.MESSAGE="d";H.prototype.listen=H.prototype.O;X.prototype.listenOnce=X.prototype.P;X.prototype.getLastError=X.prototype.Ra;X.prototype.getLastErrorCode=X.prototype.Ha;X.prototype.getStatus=X.prototype.ca;X.prototype.getResponseJson=X.prototype.Va;
  119. X.prototype.getResponseText=X.prototype.ia;X.prototype.send=X.prototype.fa;X.prototype.setWithCredentials=X.prototype.Na;module.exports.createWebChannelTransport=function(){return new ae};module.exports.getStatEventTarget=function(){return Yb()};module.exports.ErrorCode=dc;module.exports.EventType=ec;module.exports.Event=L;module.exports.Stat={vb:0,yb:1,zb:2,Sb:3,Xb:4,Ub:5,Vb:6,Tb:7,Rb:8,Wb:9,PROXY:10,NOPROXY:11,Pb:12,Lb:13,Mb:14,Kb:15,Nb:16,Ob:17,rb:18,qb:19,sb:20};
  120. module.exports.FetchXmlHttpFactory=yd;module.exports.WebChannel=hc;module.exports.XhrIo=X;}).apply(typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : {});
  121. //# sourceMappingURL=index.js.map