.gitignore added
[dotfiles/.git] / .config / google-chrome / Default / Extensions / pkedcjkdefgpdelpbcmbmeomcjbeemfm / 9221.427.0.1_0 / common.js
1 /*
2
3  Copyright The Closure Library Authors.
4  SPDX-License-Identifier: Apache-2.0
5 */
6 'use strict';var k,aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},ba="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},ca=function(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");
7 },da=ca(this),fa=function(a,b){if(b)a:{var c=da;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ba(c,a,{configurable:!0,writable:!0,value:b})}};
8 fa("Symbol",function(a){if(a)return a;var b=function(e,f){this.g=e;ba(this,"description",{configurable:!0,writable:!0,value:f})};b.prototype.toString=function(){return this.g};var c=0,d=function(e){if(this instanceof d)throw new TypeError("Symbol is not a constructor");return new b("jscomp_symbol_"+(e||"")+"_"+c++,e)};return d});
9 fa("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=da[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ba(d.prototype,a,{configurable:!0,writable:!0,value:function(){return ha(aa(this))}})}return a});
10 var ha=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},l=function(a){return a.raw=a},ia=function(a,b){a.raw=b;return a},n=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}},q=function(a){if(!(a instanceof Array)){a=n(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a},ja="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ka;
11 if("function"==typeof Object.setPrototypeOf)ka=Object.setPrototypeOf;else{var la;a:{var ma={a:!0},na={};try{na.__proto__=ma;la=na.a;break a}catch(a){}la=!1}ka=la?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
12 var oa=ka,r=function(a,b){a.prototype=ja(b.prototype);a.prototype.constructor=a;if(oa)oa(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.Xb=b.prototype},pa=function(){this.C=!1;this.m=null;this.h=void 0;this.g=1;this.l=this.o=0;this.D=this.j=null},qa=function(a){if(a.C)throw new TypeError("Generator is already running");a.C=!0};pa.prototype.u=function(a){this.h=a};
13 var ra=function(a,b){a.j={rd:b,yq:!0};a.g=a.o||a.l};pa.prototype.return=function(a){this.j={return:a};this.g=this.l};var u=function(a,b,c){a.g=c;return{value:b}};pa.prototype.Ra=function(a){this.g=a};
14 var sa=function(a){a.g=0},ta=function(a,b,c){a.o=b;void 0!=c&&(a.l=c)},ua=function(a){a.o=0;a.l=9},va=function(a,b){a.g=b;a.o=0},wa=function(a){a.o=0;var b=a.j.rd;a.j=null;return b},xa=function(a){a.D=[a.j];a.o=0;a.l=0},ya=function(a){var b=a.D.splice(0)[0];(b=a.j=a.j||b)?b.yq?a.g=a.o||a.l:void 0!=b.Ra&&a.l<b.Ra?(a.g=b.Ra,a.j=null):a.g=a.l:a.g=0},za=function(a){this.g=new pa;this.h=a},Ca=function(a,b){qa(a.g);var c=a.g.m;if(c)return Aa(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},
15 b,a.g.return);a.g.return(b);return Ba(a)},Aa=function(a,b,c,d){try{var e=b.call(a.g.m,c);if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.g.C=!1,e;var f=e.value}catch(g){return a.g.m=null,ra(a.g,g),Ba(a)}a.g.m=null;d.call(a.g,f);return Ba(a)},Ba=function(a){for(;a.g.g;)try{var b=a.h(a.g);if(b)return a.g.C=!1,{value:b.value,done:!1}}catch(c){a.g.h=void 0,ra(a.g,c)}a.g.C=!1;if(a.g.j){b=a.g.j;a.g.j=null;if(b.yq)throw b.rd;return{value:b.return,
16 done:!0}}return{value:void 0,done:!0}},Da=function(a){this.next=function(b){qa(a.g);a.g.m?b=Aa(a,a.g.m.next,b,a.g.u):(a.g.u(b),b=Ba(a));return b};this.throw=function(b){qa(a.g);a.g.m?b=Aa(a,a.g.m["throw"],b,a.g.u):(ra(a.g,b),b=Ba(a));return b};this.return=function(b){return Ca(a,b)};this[Symbol.iterator]=function(){return this}},Ea=function(a,b){b=new Da(new za(b));oa&&a.prototype&&oa(b,a.prototype);return b},Fa=function(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,
17 e){function f(g){g.done?d(g.value):Promise.resolve(g.value).then(b,c).then(f,e)}f(a.next())})},Ga=function(a){return Fa(new Da(new za(a)))},Ha=Ha||{},Ia=this||self,Ja=function(a,b){a=a.split(".");b=b||Ia;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b},Ka=function(){},La=function(a){a.Rl=void 0;a.Eb=function(){return a.Rl?a.Rl:a.Rl=new a}},Ma=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"},Na=function(a){var b=Ma(a);return"array"==b||"object"==
18 b&&"number"==typeof a.length},Oa=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},Sa=function(a){return Object.prototype.hasOwnProperty.call(a,Qa)&&a[Qa]||(a[Qa]=++Ra)},Ta=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(Qa);try{delete a[Qa]}catch(b){}},Qa="closure_uid_"+(1E9*Math.random()>>>0),Ra=0,Ua=function(a,b,c){return a.call.apply(a.bind,arguments)},Va=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);
19 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)}},Wa=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?Wa=Ua:Wa=Va;return Wa.apply(null,arguments)},Xa=function(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)}},Ya=function(){return Date.now()},v=function(a,
20 b){a=a.split(".");var c=Ia;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b},Za=function(a,b){function c(){}c.prototype=b.prototype;a.Xb=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.GT=function(d,e,f){for(var g=Array(arguments.length-2),h=2;h<arguments.length;h++)g[h-2]=arguments[h];return b.prototype[e].apply(d,g)}},$a=function(a){return a};var chrome=chrome||window.chrome||{};chrome.cast=chrome.cast||{};chrome.cast.media=chrome.cast.media||{};var mojo={};var ab=function(){return Promise.reject(Error("Not implemented"))};var bb=function(a){this.g=a},fb=function(a){var b=cb.get(a);b||(b=new bb(a),cb.set(a,b));return b},jb=function(a){a.level>=hb&&ib.forEach(function(b){return b(a)})};k=bb.prototype;k.log=function(a,b,c){if(!(a<hb)){"function"==typeof b&&(b=b());b=b.replace(kb,"[Redacted URL]");b=b.replace(lb,"[Redacted domain/email]");b=b.replace(mb,function(e,f,g){return f+":<"+g.substr(-4)+">"});var d={K:this.g,level:a,time:Date.now(),message:b,rd:c};ib.forEach(function(e){return e(d)})}};
21 k.error=function(a,b){this.log(3,a,b)};k.L=function(a,b){this.log(2,a,b)};k.info=function(a,b){this.log(1,a,b)};k.va=function(a,b){this.log(0,a,b)};var ob=function(a){a=nb.indexOf(a);return-1==a?0:a},pb=function(a){return 600>=a?0:850>=a?1:950>=a?2:3},ib=[],cb=new Map,nb=["FINE","INFO","WARNING","SEVERE"],lb=/(([\w.+-]+@)|((www|m|mail|ftp)[.]))[\w.-]+[.][\w-]{2,4}/gi,kb=/(data:|https?:\/\/)\S+/gi,mb=/(dial|cast):<([a-zA-Z0-9]+)>/gi,hb=1;var qb=function(){var a=this;this.promise=new Promise(function(b,c){a.h=b;a.g=c})};qb.prototype.resolve=function(a){this.h(a)};qb.prototype.reject=function(a){this.g(a)};var rb=function(a){this.j=a;this.g=0;this.h=[]};rb.prototype.send=function(a,b,c,d){var e=void 0===d?{}:d;d=void 0===e.timeoutMillis?this.j:e.timeoutMillis;var f=void 0===e.tB?1:e.tB,g=void 0===e.headers?null:e.headers;e=void 0===e.responseType?"":e.responseType;a={pb:new qb,url:a,method:b,headers:g,responseType:e,body:c,timeoutMillis:d,fr:f};1>this.g?sb(this,a):this.h.push(a);return a.pb.promise};
22 var tb=function(a){if(0<a.h.length&&1>a.g){var b=a.h.shift();sb(a,b)}},sb=function(a,b){a.g++;b.fr--;ub(b).then(function(c){b.pb.resolve(c);a.g--;tb(a)},function(c){0==b.fr?b.pb.reject(c):a.h.push(b);a.g--;tb(a)})},ub=function(a){return new Promise(function(b,c){var d=new XMLHttpRequest;d.onreadystatechange=function(){d.readyState==XMLHttpRequest.DONE&&b(d)};d.timeout=a.timeoutMillis;d.ontimeout=function(){c(Error("Timed out"))};d.open(a.method,a.url,!0);null==a.headers?d.setRequestHeader("Content-Type",
23 "application/x-www-form-urlencoded;charset=utf-8"):a.headers.forEach(function(e){return d.setRequestHeader(e[0],e[1])});d.responseType=a.responseType;d.send(a.body)})};var wb=function(a,b,c){null==vb&&(vb=new rb(3E5));var d="https://crash.corp.google.com/samples?reportid=&q="+encodeURIComponent("UserComments='"+b+"'"),e="http://"+a+":8008/setup/send_log_report";vb.send(e,"POST",JSON.stringify({uuid:b}),{headers:[["Content-Type","application/json"]]}).then(function(f){200==f.status?c("ok",d):c("error","Unable to POST to "+e+", error = "+f.status)},function(f){c("error",String(f))});return d},Ab=function(a){var b=new xb;if("string"!==typeof a)return Promise.resolve(b);
24 null==zb&&(zb=new rb(3E3));return zb.send("http://"+a+":8008/setup/eureka_info","GET",void 0,{responseType:"text"}).then(function(c){c=JSON.parse(c.responseText);"cast_build_revision"in c?b.Bg=String(c.cast_build_revision):"build_version"in c&&(b.Bg=String(c.build_version));"connected"in c&&(b.h="true"==String(c.connected));"ethernet_connected"in c&&(b.g="true"==String(c.ethernet_connected));"has_update"in c&&(b.j="true"==String(c.has_update));"uptime"in c&&(c=Number(c.uptime),Number.isFinite(c)&&
25 (b.l=c))}).catch(function(c){fb("mr.DongleUtils").L("Unable to fetch/parse setup info.",c)}).then(function(){return b})},xb=function(){this.l=this.j=this.g=this.h=this.Bg=null},vb=null,zb=null;var Bb=function(a){this.g=a;this.h=Date.now()},Cb=function(a,b){null!=b&&(a+="_"+b);return a};Bb.prototype.end=function(a){var b=Date.now()-this.h;Db(Cb(this.g,a),b)};var Db=function(a,b){0>b&&(Eb.L("Timing analytics event with negative time"),b=0);1E4<b&&(b=1E4);try{chrome.metricsPrivate.recordTime(a,b)}catch(c){Eb.L("Failed to record time "+b+" in "+a)}},Eb=fb("mr.Timing"),Fb=function(a){Bb.call(this,a)};r(Fb,Bb);
26 Fb.prototype.end=function(a){var b=Date.now()-this.h;a=Cb(this.g,a);if(0>b)Gb.L("Timing analytics event with negative time");else{1E4>b&&(b=1E4);18E4<b&&(b=18E4);try{chrome.metricsPrivate.recordMediumTime(a,b)}catch(c){Gb.L("Failed to record time "+b+" in "+a)}}};var Gb=fb("mr.MediumTiming"),Hb=function(a){Bb.call(this,a)};r(Hb,Bb);
27 Hb.prototype.end=function(a){var b=Date.now()-this.h;a=Cb(this.g,a);if(0>b)Ib.L("Timing analytics event with negative time");else{18E4>b&&(b=18E4);36E5<b&&(b=36E5);try{chrome.metricsPrivate.recordLongTime(a,b)}catch(c){Ib.L("Failed to record time "+b+" in "+a)}}};
28 var Ib=fb("mr.LongTiming"),Jb=fb("mr.Analytics"),Kb=function(a){try{chrome.metricsPrivate.recordUserAction(a)}catch(b){Jb.L("Failed to record event "+a)}},Mb=function(a,b,c){var d,e=0,f;for(f in c)e++,c[f]==b&&(d=f);if(d){c={metricName:a,type:"histogram-linear",min:1,max:e,buckets:e+1};try{chrome.metricsPrivate.recordValue(c,b)}catch(g){Jb.L("Failed to record enum value "+d+" ("+b+") in "+a,g)}}else Jb.error("Unknown analytics value, "+b+" for histogram, "+a,Error())},Nb=0,Ob={UNKNOWN:Nb,yQ:1,ON_SINKS_REMOVED:2,
29 CM:3,BM:4,AM:5},Pb=null,Qb=function(a){null!=Pb&&(clearTimeout(Pb),Pb=null);Nb=a;Pb=setTimeout(function(){},250)};function Rb(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,Rb);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));b&&(this.cause=b);this.g=!0}Za(Rb,Error);Rb.prototype.name="CustomError";var Sb;var Tb=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");Rb.call(this,c+a[d])};Za(Tb,Rb);Tb.prototype.name="AssertionError";var Ub=function(a,b){throw new Tb("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));};function Vb(a){return a[a.length-1]}
30 var Wb=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},Xb=Array.prototype.lastIndexOf?function(a,b){return Array.prototype.lastIndexOf.call(a,b,a.length-1)}:function(a,b){var c=a.length-1;0>c&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.lastIndexOf(b,c);
31 for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},Yb=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};function Zb(a,b){for(var c="string"===typeof a?a.split(""):a,d=a.length-1;0<=d;--d)d in c&&b.call(void 0,c[d],d,a)}
32 var ac=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,g="string"===typeof a?a.split(""):a,h=0;h<d;h++)if(h in g){var m=g[h];b.call(c,m,h,a)&&(e[f++]=m)}return e},bc=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f="string"===typeof a?a.split(""):a,g=0;g<d;g++)g in f&&(e[g]=b.call(c,f[g],g,a));return e},cc=Array.prototype.reduce?function(a,b,c){return Array.prototype.reduce.call(a,
33 b,c)}:function(a,b,c){var d=c;Yb(a,function(e,f){d=b.call(void 0,d,e,f,a)});return d},dc=Array.prototype.some?function(a,b){return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;return!1},ec=Array.prototype.every?function(a,b,c){return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;
34 return!0};function fc(a,b){b=gc(a,b,void 0);return 0>b?null:"string"===typeof a?a.charAt(b):a[b]}function gc(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1}function hc(a,b){a:{for(var c="string"===typeof a?a.split(""):a,d=a.length-1;0<=d;d--)if(d in c&&b.call(void 0,c[d],d,a)){b=d;break a}b=-1}return 0>b?null:"string"===typeof a?a.charAt(b):a[b]}function ic(a,b){return 0<=Wb(a,b)}function jc(a){return 0==a.length}
35 function kc(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0}function lc(a,b){ic(a,b)||a.push(b)}function mc(a,b,c){var d;2==arguments.length||0>(d=Wb(a,c))?a.push(b):nc(a,d,0,b)}function oc(a,b){b=Wb(a,b);var c;(c=0<=b)&&pc(a,b);return c}function pc(a,b){return 1==Array.prototype.splice.call(a,b,1).length}function qc(a,b){b=gc(a,b,void 0);return 0<=b?(pc(a,b),!0):!1}function rc(a,b){var c=0;Zb(a,function(d,e){b.call(void 0,d,e,a)&&pc(a,e)&&c++})}
36 function sc(a){return Array.prototype.concat.apply([],arguments)}function tc(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 uc(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 g=0;g<f;g++)a[e+g]=d[g]}else a.push(d)}}function nc(a,b,c,d){Array.prototype.splice.apply(a,vc(arguments,1))}
37 function vc(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function wc(a,b){b=b||a;for(var c=0,d=0,e={};d<a.length;){var f=a[d++],g=Oa(f)?"o"+Sa(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(e,g)||(e[g]=!0,b[c++]=f)}b.length=c}function xc(a,b){return Ac(a,b,!0,void 0,void 0)}function Ac(a,b,c,d,e){for(var f=0,g=a.length,h;f<g;){var m=f+(g-f>>>1),p=void 0;c?p=b.call(e,a[m],m,a):p=b(d,a[m]);0<p?f=m+1:(g=m,h=!p)}return h?f:-f-1}
38 function Bc(a,b){a.sort(b||Cc)}function Dc(a,b){var c=Cc;Bc(a,function(d,e){return c(b(d),b(e))})}function Ec(a){Dc(a,function(b){return b.t})}function Fc(a,b,c){if(!Na(a)||!Na(b)||a.length!=b.length)return!1;var d=a.length;c=c||Gc;for(var e=0;e<d;e++)if(!c(a[e],b[e]))return!1;return!0}function Cc(a,b){return a>b?1:a<b?-1:0}function Gc(a,b){return a===b}function Hc(a,b){var c=Ic;b=Ac(c,b||Cc,!1,a);0>b&&nc(c,-(b+1),0,a)}
39 function Kc(a,b){var c={};Yb(a,function(d,e){c[b.call(void 0,d,e,a)]=d});return c}function Lc(a,b){return sc.apply([],bc(a,b,void 0))};var Mc=function(a,b){return 0==a.lastIndexOf(b,0)},Nc=function(a,b){return a.toLowerCase()==b.toLowerCase()},Oc=function(a){return/^[\s\xa0]*$/.test(a)},Pc=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},Qc=function(a,b){a=String(a).toLowerCase();b=String(b).toLowerCase();return a<b?-1:a==b?0:1},$c=function(a,b){if(b)a=a.replace(Rc,"&amp;").replace(Sc,"&lt;").replace(Vc,"&gt;").replace(Wc,"&quot;").replace(Xc,"&#39;").replace(Yc,"&#0;");
40 else{if(!Zc.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Rc,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(Sc,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(Vc,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(Wc,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(Xc,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Yc,"&#0;"))}return a},Rc=/&/g,Sc=/</g,Vc=/>/g,Wc=/"/g,Xc=/'/g,Yc=/\x00/g,Zc=/[\x00&<>"']/,bd=function(a,b){var c=0;a=Pc(String(a)).split(".");b=Pc(String(b)).split(".");for(var d=Math.max(a.length,b.length),
41 e=0;0==c&&e<d;e++){var f=a[e]||"",g=b[e]||"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];if(0==f[0].length&&0==g[0].length)break;c=ad(0==f[1].length?0:parseInt(f[1],10),0==g[1].length?0:parseInt(g[1],10))||ad(0==f[2].length,0==g[2].length)||ad(f[2],g[2]);f=f[3];g=g[3]}while(0==c)}return c},ad=function(a,b){return a<b?-1:a>b?1:0};var cd;a:{var dd=Ia.navigator;if(dd){var ed=dd.userAgent;if(ed){cd=ed;break a}}cd=""}var fd=function(a){return-1!=cd.indexOf(a)},gd=function(a){for(var b=/(\w[\w ]+)\/([^\s]+)\s*(?:\((.*?)\))?/g,c=[],d;d=b.exec(a);)c.push([d[1],d[2],d[3]||void 0]);return c};var hd=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},id=function(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c},jd=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},kd=function(a){var b=0,c;for(c in a)b++;return b},ld=function(a){for(var b in a)return b},nd=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},od=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},pd=function(a,b){return null!==a&&b in a},qd=function(a,b){for(var c in a)if(a[c]==
42 b)return!0;return!1},sd=function(a){for(var b in a)return!1;return!0},td=function(a){for(var b in a)delete a[b]},ud=function(a){var b={},c;for(c in a)b[c]=a[c];return b},vd=function(a){if(!a||"object"!==typeof a)return a;if("function"===typeof a.clone)return a.clone();var b=Array.isArray(a)?[]:"function"!==typeof ArrayBuffer||"function"!==typeof ArrayBuffer.isView||!ArrayBuffer.isView(a)||a instanceof DataView?{}:new a.constructor(a.length),c;for(c in a)b[c]=vd(a[c]);return b},wd=function(a){var b=
43 {},c;for(c in a)b[a[c]]=c;return b},xd="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),yd=function(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<xd.length;f++)c=xd[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}},zd=function(a){var b=arguments.length;if(1==b&&Array.isArray(arguments[0]))return zd.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c};var Ad=function(){return fd("Trident")||fd("MSIE")},Bd=function(){return fd("Firefox")||fd("FxiOS")},Cd=function(){return(fd("Chrome")||fd("CriOS"))&&!fd("Edge")},Ed=function(){function a(e){e=fc(e,d);return c[e]||""}var b=cd;if(Ad())return Dd(b);b=gd(b);var c={};Yb(b,function(e){c[e[0]]=e[1]});var d=Xa(pd,c);return fd("Opera")?a(["Version","Opera"]):fd("Edge")?a(["Edge"]):fd("Edg/")?a(["Edg"]):Cd()?a(["Chrome","CriOS","HeadlessChrome"]):(b=b[2])&&b[1]||""},Dd=function(a){var b=/rv: *([\d\.]*)/.exec(a);
44 if(b&&b[1])return b[1];b="";var c=/MSIE +([\d\.]+)/.exec(a);if(c&&c[1])if(a=/Trident\/(\d.\d)/.exec(a),"7.0"==c[1])if(a&&a[1])switch(a[1]){case "4.0":b="8.0";break;case "5.0":b="9.0";break;case "6.0":b="10.0";break;case "7.0":b="11.0"}else b="7.0";else b=c[1];return b};var Fd=function(a){return function(){return a}},Hd=function(){return!0},Id=function(){return null},Jd=function(a){return a},Kd=function(a){return function(){throw Error(a);}},Ld=function(a){var b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}},Md=function(a){return function(){return!a.apply(this,arguments)}};var Nd,Od=function(){if(void 0===Nd){var a=null,b=Ia.trustedTypes;if(b&&b.createPolicy){try{a=b.createPolicy("goog#html",{createHTML:$a,createScript:$a,createScriptURL:$a})}catch(c){Ia.console&&Ia.console.error(c.message)}Nd=a}else Nd=a}return Nd};var Rd=function(a,b){this.g=a===Pd&&b||"";this.h=Qd};Rd.prototype.fe=!0;Rd.prototype.Gd=function(){return this.g};Rd.prototype.toString=function(){return"Const{"+this.g+"}"};var Sd=function(a){if(a instanceof Rd&&a.constructor===Rd&&a.h===Qd)return a.g;Ub("expected object of type Const, got '"+a+"'");return"type_error:Const"},Qd={},Pd={};var Td={},Ud=function(a,b){this.g=b===Td?a:"";this.fe=!0};Ud.prototype.Gd=function(){return this.g.toString()};var Vd=function(a){if(a instanceof Ud&&a.constructor===Ud)return a.g;Ub("expected object of type SafeScript, got '"+a+"' of type "+Ma(a));return"type_error:SafeScript"};Ud.prototype.toString=function(){return this.g.toString()};var Wd=/[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]/,Xd=/^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]/,Yd=/^http:\/\/.*/,Zd=/\s+/,$d=/[\d\u06f0-\u06f9]/;var be=function(a,b){this.g=b===ae?a:""};k=be.prototype;k.fe=!0;k.Gd=function(){return this.g.toString()};k.Ql=!0;k.jk=function(){return 1};k.toString=function(){return this.g+""};
45 var ce=function(a){if(a instanceof be&&a.constructor===be)return a.g;Ub("expected object of type TrustedResourceUrl, got '"+a+"' of type "+Ma(a));return"type_error:TrustedResourceUrl"},ke=function(){var a={build:340797388},b=Sd(new Rd(Pd,"https://www.gstatic.com/hangouts_echo_detector/release/%{build}/echo_detector_v2_wasm.js"));if(!he.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(ie,function(d,e){if(!Object.prototype.hasOwnProperty.call(a,e))throw Error('Found marker, "'+
46 e+'", in format string, "'+b+'", but no valid label mapping found in args: '+JSON.stringify(a));d=a[e];return d instanceof Rd?Sd(d):encodeURIComponent(String(d))});return je(c)},ie=/%{(\w+)}/g,he=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,ae={},je=function(a){var b=Od();a=b?b.createScriptURL(a):a;return new be(a,ae)};var me=function(a,b){this.g=b===le?a:""};k=me.prototype;k.fe=!0;k.Gd=function(){return this.g.toString()};k.Ql=!0;k.jk=function(){return 1};k.toString=function(){return this.g.toString()};
47 var ne=function(a){if(a instanceof me&&a.constructor===me)return a.g;Ub("expected object of type SafeUrl, got '"+a+"' of type "+Ma(a));return"type_error:SafeUrl"},oe=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font\/\w+|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i,pe=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,qe=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,se=
48 function(a){if(!(a instanceof me))if(a="object"==typeof a&&a.fe?a.Gd():String(a),qe.test(a))a=new me(a,le);else{a=String(a);a=a.replace(/(%0A|%0D)/g,"");var b=a.match(pe);a=b&&oe.test(b[1])?new me(a,le):null}return a||re},le={},re=new me("about:invalid#zClosurez",le);var ue=function(a,b){this.g=b===te?a:""};ue.prototype.fe=!0;ue.prototype.Gd=function(){return this.g};ue.prototype.toString=function(){return this.g.toString()};
49 var ve=function(a){if(a instanceof ue&&a.constructor===ue)return a.g;Ub("expected object of type SafeStyle, got '"+a+"' of type "+Ma(a));return"type_error:SafeStyle"},te={},we=new ue("",te),ye=function(a){if(a instanceof me)return'url("'+ne(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';a=a instanceof Rd?Sd(a):xe(String(a));if(/[{;}]/.test(a))throw new Tb("Value does not allow [{;}], got: %s.",[a]);return a},xe=function(a){var b=a.replace(ze,"$1").replace(ze,"$1").replace(Ae,"url");if(Be.test(b)){if(Ce.test(a))return Ub("String value disallows comments, got: "+
50 a),"zClosurez";for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}if(!b||!c)return Ub("String value requires balanced quotes, got: "+a),"zClosurez";if(!De(a))return Ub("String value requires balanced square brackets and one identifier per pair of brackets, got: "+a),"zClosurez"}else return Ub("String value allows only [-,.\"'%_!# a-zA-Z0-9\\[\\]] and simple functions, got: "+a),"zClosurez";return Ee(a)},De=function(a){for(var b=!0,c=/^[-_a-zA-Z0-9]$/,d=0;d<a.length;d++){var e=
51 a.charAt(d);if("]"==e){if(b)return!1;b=!0}else if("["==e){if(!b)return!1;b=!1}else if(!b&&!c.test(e))return!1}return b},Be=/^[-,."'%_!# a-zA-Z0-9\[\]]+$/,Ae=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g,ze=/\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?)\([-+*/0-9a-z.%\[\], ]+\)/g,Ce=/\/\*/,Ee=function(a){return a.replace(Ae,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(g,
52 h,m){f=h;return m});b=se(d).Gd();return c+f+b+f+e})};var Fe={},Ge=function(a,b){this.g=b===Fe?a:"";this.fe=!0},Ie=function(a){var b="",c=function(d){Array.isArray(d)?Yb(d,c):b+=He(d)};Yb(arguments,c);return new Ge(b,Fe)};Ge.prototype.Gd=function(){return this.g};var He=function(a){if(a instanceof Ge&&a.constructor===Ge)return a.g;Ub("expected object of type SafeStyleSheet, got '"+a+"' of type "+Ma(a));return"type_error:SafeStyleSheet"};Ge.prototype.toString=function(){return this.g.toString()};var Je=new Ge("",Fe);var Le=function(a,b,c){this.g=c===Ke?a:"";this.Ch=b};k=Le.prototype;k.Ql=!0;k.jk=function(){return this.Ch};k.fe=!0;k.Gd=function(){return this.g.toString()};k.toString=function(){return this.g.toString()};
53 var Me=function(a){if(a instanceof Le&&a.constructor===Le)return a.g;Ub("expected object of type SafeHtml, got '"+a+"' of type "+Ma(a));return"type_error:SafeHtml"},Oe=function(a){if(a instanceof Le)return a;var b="object"==typeof a,c=null;b&&a.Ql&&(c=a.jk());return Ne($c(b&&a.fe?a.Gd():String(a)),c)},Ke={},Ne=function(a,b){var c=Od();a=c?c.createHTML(a):a;return new Le(a,b,Ke)},Pe=new Le(Ia.trustedTypes&&Ia.trustedTypes.emptyHTML||"",0,Ke);var Qe={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Re=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){if("undefined"===typeof document)return!1;var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);if(!a.firstChild)return!1;b=a.firstChild.firstChild;a.innerHTML=Me(Pe);return!b.parentElement}),Se=function(a,b){if(Re())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=Me(b)},Te=function(a,
54 b){if(a.tagName&&Qe[a.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+a.tagName+".");Se(a,b)},Ve=function(a,b){a:{try{var c=a&&a.ownerDocument,d=c&&(c.defaultView||c.parentWindow);d=d||Ia;if(d.Element&&d.Location){var e=d;break a}}catch(g){}e=null}if(e&&"undefined"!=typeof e.HTMLScriptElement&&(!a||!(a instanceof e.HTMLScriptElement)&&(a instanceof e.Location||a instanceof e.Element))){if(Oa(a))try{var f=a.constructor.displayName||a.constructor.name||
55 Object.prototype.toString.call(a)}catch(g){f="<object could not be stringified>"}else f=void 0===a?"undefined":null===a?"null":typeof a;Ub("Argument is not a %s (or a non-Element, non-Location mock); got: %s","HTMLScriptElement",f)}a.src=ce(b);(b=Ue(a.ownerDocument&&a.ownerDocument.defaultView))&&a.setAttribute("nonce",b)},Ue=function(a){if(a&&a!=Ia)return We(a.document);null===Xe&&(Xe=We(Ia.document));return Xe},Xe=null,Ye=/^[\w+/_-]+[=]{0,2}$/,We=function(a){return a.querySelector?(a=a.querySelector("script[nonce]"))&&
56 (a=a.nonce||a.getAttribute("nonce"))&&Ye.test(a)?a:"":""};var Ze=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},$e=function(a,b){a=String(a);var c=a.indexOf(".");-1==c&&(c=a.length);return Ze("0",Math.max(0,b-c))+a},af=function(a){return null==a?"":String(a)},bf=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Ya()).toString(36)},cf=function(a,b,c){a=a.split(b);for(var d=[];0<c&&a.length;)d.push(a.shift()),c--;a.length&&d.push(a.join(b));
57 return d};var df=function(){return fd("iPhone")&&!fd("iPod")&&!fd("iPad")},ef=function(){return df()||fd("iPad")||fd("iPod")},ff=function(){return fd("Macintosh")},gf=function(){return fd("CrOS")},hf=function(){var a=cd,b="";fd("Windows")?(b=/Windows (?:NT|Phone) ([0-9.]+)/,b=(a=b.exec(a))?a[1]:"0.0"):ef()?(b=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,b=(a=b.exec(a))&&a[1].replace(/_/g,".")):ff()?(b=/Mac OS X ([0-9_.]+)/,b=(a=b.exec(a))?a[1].replace(/_/g,"."):"10"):-1!=cd.toLowerCase().indexOf("kaios")?(b=/(?:KaiOS)\/(\S+)/i,
58 b=(a=b.exec(a))&&a[1]):fd("Android")?(b=/Android\s+([^\);]+)(\)|;)/,b=(a=b.exec(a))&&a[1]):gf()&&(b=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,b=(a=b.exec(a))&&a[1]);return b||""};var jf=function(a){jf[" "](a);return a};jf[" "]=Ka;var kf=function(a,b){try{return jf(a[b]),!0}catch(c){}return!1},lf=function(a,b,c,d){d=d?d(b):b;return Object.prototype.hasOwnProperty.call(a,d)?a[d]:a[d]=c(b)};var mf=function(){return Ia.navigator||null},nf=fd("Opera"),of=Ad(),pf=fd("Edge"),qf=fd("Gecko")&&!(-1!=cd.toLowerCase().indexOf("webkit")&&!fd("Edge"))&&!(fd("Trident")||fd("MSIE"))&&!fd("Edge"),rf=-1!=cd.toLowerCase().indexOf("webkit")&&!fd("Edge"),sf=rf&&fd("Mobile"),tf,wf=mf();tf=wf&&wf.platform||"";var xf=ff(),yf=fd("Windows"),zf=fd("Linux")||gf(),Af=fd("Android"),Bf=df(),Cf=fd("iPad"),Df=fd("iPod"),Ef=function(){var a=Ia.document;return a?a.documentMode:void 0},Ff;
59 a:{var Gf="",Hf=function(){var a=cd;if(qf)return/rv:([^\);]+)(\)|;)/.exec(a);if(pf)return/Edge\/([\d\.]+)/.exec(a);if(of)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(rf)return/WebKit\/(\S+)/.exec(a);if(nf)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Hf&&(Gf=Hf?Hf[1]:"");if(of){var If=Ef();if(null!=If&&If>parseFloat(Gf)){Ff=String(If);break a}}Ff=Gf}var Jf=Ff,Kf={},Lf=function(a){return lf(Kf,a,function(){return 0<=bd(Jf,a)})},Mf;
60 if(Ia.document&&of){var Nf=Ef();Mf=Nf?Nf:parseInt(Jf,10)||void 0}else Mf=void 0;var Of=Mf;try{(new self.OffscreenCanvas(0,0)).getContext("2d")}catch(a){}var Pf=!qf&&!of||of&&9<=Number(Of)||qf&&Lf("1.9.1");var Qf=function(a,b){return a+Math.random()*(b-a)};var Rf=function(a,b){this.width=a;this.height=b};Rf.prototype.clone=function(){return new Rf(this.width,this.height)};Rf.prototype.toString=function(){return"("+this.width+" x "+this.height+")"};var Sf=function(a){return a.width*a.height};k=Rf.prototype;k.aspectRatio=function(){return this.width/this.height};k.fc=function(){return!Sf(this)};k.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
61 k.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};k.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var Uf=function(a){return a?new Tf(9==a.nodeType?a:a.ownerDocument||a.document):Sb||(Sb=new Tf)},Wf=function(a,b){hd(b,function(c,d){c&&"object"==typeof c&&c.fe&&(c=c.Gd());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:Vf.hasOwnProperty(d)?a.setAttribute(Vf[d],c):Mc(d,"aria-")||Mc(d,"data-")?a.setAttribute(d,c):a[d]=c})},Vf={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",
62 role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"},Xf=function(a){a=a.document;a="CSS1Compat"==a.compatMode?a.documentElement:a.body;return new Rf(a.clientWidth,a.clientHeight)},Zf=function(a){return a?Yf(a):window},Yf=function(a){return a.parentWindow||a.defaultView},$f=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},ag=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},bg=function(a){return a&&
63 a.parentNode?a.parentNode.removeChild(a):null},cg=function(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else ag(a),a.appendChild((9==a.nodeType?a:a.ownerDocument||a.document).createTextNode(String(b)))},Tf=function(a){this.g=a||Ia.document||document};Tf.prototype.setProperties=Wf;var dg=function(a,b){return $f(a.g,b)};k=Tf.prototype;
64 k.appendChild=function(a,b){a.appendChild(b)};k.bu=bg;k.getChildren=function(a){return Pf&&void 0!=a.children?a.children:ac(a.childNodes,function(b){return 1==b.nodeType})};k.isElement=function(a){return Oa(a)&&1==a.nodeType};k.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};var fg=function(a){eg();return je(a)},eg=Ka;var gg=Bd(),hg=df()||fd("iPod"),ig=fd("iPad"),jg=fd("Android")&&!(Cd()||Bd()||fd("Opera")||fd("Silk")),kg=Cd(),lg=fd("Safari")&&!(Cd()||fd("Coast")||fd("Opera")||fd("Edge")||fd("Edg/")||fd("OPR")||Bd()||fd("Silk")||fd("Android"))&&!ef();var mg=function(a){if("undefined"==typeof a)return"undefined";if(null==a)return"NULL";var b=[],c;for(c in a)if("function"!==typeof a[c]){var d=c+" = ";try{d+=a[c]}catch(e){d+="*** "+e+" ***"}b.push(d)}return b.join("\n")},og=function(a){var b=[],c=[],d={},e=function(f,g){var h=g+"  ";try{if(void 0===f)b.push("undefined");else if(null===f)b.push("NULL");else if("string"===typeof f)b.push('"'+f.replace(/\n/g,"\n"+g)+'"');else if("function"===typeof f)b.push(String(f).replace(/\n/g,"\n"+g));else if(Oa(f)){f[Qa]||
65 c.push(f);var m=Sa(f);if(d[m])b.push("*** reference loop detected (id="+m+") ***");else{d[m]=!0;b.push("{");for(var p in f)"function"!==typeof f[p]&&(b.push("\n"),b.push(h),b.push(p+" = "),e(f[p],h));b.push("\n"+g+"}");delete d[m]}}else b.push(f)}catch(t){b.push("*** "+t+" ***")}};e(a,"");for(a=0;a<c.length;a++)Ta(c[a]);return b.join("")},wg=function(a){var b=Ja("window.location.href");null==a&&(a='Unknown Error of type "null/undefined"');if("string"===typeof a)return{message:a,name:"Unknown error",
66 lineNumber:"Not available",fileName:b,stack:"Not available"};var c=!1;try{var d=a.lineNumber||a.line||"Not available"}catch(f){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||Ia.$googDebugFname||b}catch(f){e="Not available",c=!0}b=pg(a);if(!(!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name))return c=a.message,null==c&&(c=a.constructor&&a.constructor instanceof Function?'Unknown Error of type "'+(a.constructor.name?a.constructor.name:vg(a.constructor))+'"':"Unknown Error of unknown type",
67 "function"===typeof a.toString&&Object.prototype.toString!==a.toString&&(c+=": "+a.toString())),{message:c,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:b||"Not available"};a.stack=b;return{message:a.message,name:a.name,lineNumber:a.lineNumber,fileName:a.fileName,stack:a.stack}},pg=function(a,b){b||(b={});b[xg(a)]=!0;var c=a.stack||"";(a=a.cause)&&!b[xg(a)]&&(c+="\nCaused by: ",a.stack&&0==a.stack.indexOf(a.toString())||(c+="string"===typeof a?a:a.message+"\n"),c+=pg(a,b));return c},xg=
68 function(a){var b="";"function"===typeof a.toString&&(b=""+a);return b+a.stack},yg=function(a,b){a instanceof Error||(a=Error(a),Error.captureStackTrace&&Error.captureStackTrace(a,yg));a.stack||(a.stack=zg(yg));if(b){for(var c=0;a["message"+c];)++c;a["message"+c]=String(b)}return a},Bg=function(a){var b=Ag(Bg);if(b)return b;b=[];for(var c=arguments.callee.caller,d=0;c&&(!a||d<a);){b.push(vg(c));b.push("()\n");try{c=c.caller}catch(e){b.push("[exception trying to get caller]\n");break}d++;if(50<=d){b.push("[...long stack...]");
69 break}}a&&d>=a?b.push("[...reached max depth limit...]"):b.push("[end]");return b.join("")},Ag=function(a){var b=Error();if(Error.captureStackTrace)return Error.captureStackTrace(b,a),String(b.stack);try{throw b;}catch(c){b=c}return(a=b.stack)?String(a):null},zg=function(a){var b;(b=Ag(a||zg))||(b=Cg(a||arguments.callee.caller,[]));return b},Cg=function(a,b){var c=[];if(ic(b,a))c.push("[...circular reference...]");else if(a&&50>b.length){c.push(vg(a)+"(");for(var d=a.arguments,e=0;d&&e<d.length;e++){0<
70 e&&c.push(", ");var f=d[e];switch(typeof f){case "object":f=f?"object":"null";break;case "string":break;case "number":f=String(f);break;case "boolean":f=f?"true":"false";break;case "function":f=(f=vg(f))?f:"[fn]";break;default:f=typeof f}40<f.length&&(f=f.substr(0,40)+"...");c.push(f)}b.push(a);c.push(")\n");try{c.push(Cg(a.caller,b))}catch(g){c.push("[exception trying to get caller]\n")}}else a?c.push("[...long stack...]"):c.push("[end]");return c.join("")},vg=function(a){if(Dg[a])return Dg[a];a=
71 String(a);if(!Dg[a]){var b=/function\s+([^\(]+)/m.exec(a);Dg[a]=b?b[1]:"[Anonymous]"}return Dg[a]},Dg={},Eg=Object.freeze||function(a){return a};var Fg=function(a,b){this.name=a;this.value=b};Fg.prototype.toString=function(){return this.name};var Gg=new Fg("OFF",Infinity),Hg=new Fg("SEVERE",1E3),Ig=new Fg("WARNING",900),Jg=new Fg("INFO",800),Kg=new Fg("CONFIG",700),Lg=new Fg("FINE",500),Mg=new Fg("FINER",400),Ng=new Fg("ALL",0),Og=function(){this.clear()},Pg;Og.prototype.clear=function(){};var Qg=function(a,b,c){this.g=null;this.reset(a||Gg,b,c,void 0,void 0)};
72 Qg.prototype.reset=function(a,b,c,d){this.m=d||Ya();this.h=a;this.l=b;this.j=c;this.g=null};Qg.prototype.getMessage=function(){return this.l};
73 var Rg=function(a,b){this.level=null;this.g=[];this.parent=(void 0===b?null:b)||null;this.h=[];this.K={getName:function(){return a}}},Sg=function(a){if(a.level)return a.level;if(a.parent)return Sg(a.parent);Ub("Root logger has no level set.");return Gg},Tg=function(a,b){for(;a;)a.g.forEach(function(c){c(b)}),a=a.parent},Ug=function(){this.entries={};var a=new Rg("");a.level=Kg;this.entries[""]=a},Vg,Wg=function(a,b,c){var d=a.entries[b];if(d)return void 0!==c&&(d.level=c),d;d=Wg(a,b.substr(0,b.lastIndexOf(".")));
74 var e=new Rg(b,d);a.entries[b]=e;d.h.push(e);void 0!==c&&(e.level=c);return e},Xg=function(){Vg||(Vg=new Ug);return Vg},Yg=function(a){return Wg(Xg(),a,void 0).K},Zg=function(a,b,c,d){var e;if(e=a)if(e=a&&b){e=b.value;var f=a?Sg(Wg(Xg(),a.getName())):Gg;e=e>=f.value}e&&(b=b||Gg,e=Wg(Xg(),a.getName()),"function"===typeof c&&(c=c()),Pg||(Pg=new Og),a=a.getName(),a=new Qg(b,c,a),d&&(a.g=d),Tg(e,a))},$g=function(a,b,c){a&&Zg(a,Hg,b,c)},ah=function(a,b,c){a&&Zg(a,Ig,b,c)},bh=function(a,b){a&&Zg(a,Jg,b,
75 void 0)},ch=function(a,b){a&&Zg(a,Lg,b,void 0)};var dh=function(a){this.g="number"==typeof a?0<a?1:0>a?-1:null:null==a?null:a?-1:1};var eh=function(a,b,c){this.source=a;this.type=b;this.message=c};var fh=function(a,b,c){this.u=a;this.j=b;this.C=c;this.m=0;this.l=!1;this.g=this.h=null};fh.prototype.start=function(){if(null!=this.g)throw Error("Cannot call Retry.start more than once.");this.g=new qb;this.o();return this.g.promise};fh.prototype.o=function(){var a=this;this.h=null;this.l||(this.m++,this.u().then(function(b){gh(a);a.g.resolve(b)},function(b){a.m>=a.C?(gh(a),a.g.reject(b)):(a.h=setTimeout(a.o.bind(a),a.j),a.j*=2)}))};
76 fh.prototype.abort=function(a){gh(this);this.g.reject(void 0===a?Error("abort"):a)};var gh=function(a){null!=a.h&&(clearTimeout(a.h),a.h=null);a.l=!0};